body:has(.customer-form){background:#f3f5f3;color:#243a32;font-family:system-ui,sans-serif}main:has(.customer-form){width:100%;margin:0;padding:24px 16px 40px;min-width:0}.customer-form{width:100%;max-width:600px;margin:auto;font-size:16px;line-height:1.5}.form-brand{font-size:12px;letter-spacing:2px;font-weight:700;color:#546c5e}.customer-form h1{font:700 28px/1.25 system-ui;margin:8px 0 20px}.customer-form h2{font:700 21px system-ui}.customer-form .demo-notice{border:1px solid #e8c27b;background:#fff7e5;border-radius:10px;padding:12px;font-size:14px}.form-intro{font-size:14px}.customer-form form{display:grid;gap:18px}.customer-form fieldset{min-width:0;margin:0;padding:16px;background:white;border:1px solid #d6dfd9;border-radius:12px}.customer-form legend{font-weight:700;padding:0 6px;font-size:17px}.customer-form legend span{display:inline-grid;place-items:center;width:26px;height:26px;background:#235343;border-radius:50%;color:white;margin-right:6px;font-size:14px}.customer-form label{display:block;font-weight:600;font-size:15px;margin:14px 0 4px}.customer-form input,.customer-form textarea{width:100%;min-width:0;max-width:100%;min-height:48px;font:400 16px/1.4 system-ui;color:#243a32;background:white;padding:12px;border:1px solid #8c9e92;border-radius:7px;margin-top:5px;box-sizing:border-box}.customer-form input[readonly]{background:#edf0ed;color:#5c6a61}.customer-form small{font-size:13px;color:#53665b;font-weight:400;overflow-wrap:anywhere}.customer-form .optional{display:inline;margin-left:5px}.customer-form .form-pair{display:grid;grid-template-columns:minmax(0,1fr);gap:0}.customer-form input[type=file]{font-size:14px;padding:10px;width:100%;overflow:hidden}.customer-form input::file-selector-button{font:inherit;padding:8px;border:1px solid #9faea4;border-radius:5px;background:#eef4f0;color:#243a32;margin-right:8px}.customer-form .demo-check{display:flex;align-items:flex-start;gap:12px;padding:8px;margin:0}.customer-form input[type=checkbox]{flex:0 0 24px;width:24px;height:24px;min-height:24px;margin:0;accent-color:#235343}.customer-form .form-submit{width:100%;min-height:52px;margin:0;font-size:17px;font-weight:700;border-radius:8px}.customer-form .form-submit:disabled{opacity:.65;cursor:wait}.form-footnote{font-size:12px;text-align:center;color:#53665b;margin:0}.customer-form [role=alert]{border:1px solid #be5454;background:#fff0f0;color:#8d2020;border-radius:8px;margin:12px 0;overflow-wrap:anywhere}.customer-form [hidden]{display:none!important}.customer-form .form-success{background:#e8f5ec;border:1px solid #91b89e;border-radius:10px;padding:18px;margin-bottom:20px}.customer-form .id-crop{margin-top:10px;border-radius:8px;min-width:0}.customer-form .id-crop canvas{width:auto;max-width:100%;height:auto}.customer-form :focus-visible{outline:3px solid #b17816;outline-offset:2px}@media(max-width:400px){main:has(.customer-form){padding:18px 12px 28px}.customer-form fieldset{padding:12px}.customer-form .form-pair{grid-template-columns:1fr;gap:0}}

/* Keep native mobile date controls the same size as ordinary text fields. */
.customer-form input:not([type=file]):not([type=checkbox]):not([type=hidden]):not([type=range]){display:block;height:48px;min-height:48px;max-height:48px;min-inline-size:0;}
.customer-form input[type=date]{appearance:none;-webkit-appearance:none;text-align:left;}
.customer-form input[type=date]::-webkit-date-and-time-value{min-height:0;text-align:left;}
.customer-form input[type=date]::-webkit-datetime-edit{padding:0;}

.camera-open{display:block;margin-top:14px;min-height:48px;width:100%;border-radius:7px}
.identity-camera{box-sizing:border-box;width:min(96vw,640px);max-height:94dvh;overflow:auto;border:0;border-radius:12px;padding:16px;background:#fff;color:#243a32;font:16px/1.4 system-ui}
.identity-camera::backdrop{background:rgba(0,0,0,.75)}
.identity-camera .camera-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.identity-camera h2{font:700 20px system-ui;margin:0}
.identity-camera button{min-height:44px;padding:10px 14px;font:600 16px system-ui;border-radius:7px;cursor:pointer}.identity-camera [hidden]{display:none!important}
.identity-camera .camera-stage{position:relative;background:#17231d;min-height:120px;line-height:0}.identity-camera video,.identity-camera img{display:block;width:100%;height:auto;max-height:62dvh;object-fit:contain}.identity-camera .camera-stage canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.identity-camera progress{display:block;width:100%;height:12px;margin:10px 0;accent-color:#19864b}.identity-camera .camera-actions{display:flex;flex-wrap:wrap;gap:10px}.identity-camera .camera-note{font-size:13px}.identity-camera [data-camera-hint]{min-height:44px}

.customer-form .camera-done{border:0!important;background:#e8f5ec;padding:8px 12px!important;color:#216139}.customer-form .camera-done small{color:#216139;font-weight:600}.customer-form .photo-choice{margin:8px 0 18px;font-size:14px}.customer-form .photo-choice summary{cursor:pointer;color:#53665b}

.identity-camera[open]{display:flex;flex-direction:column;gap:10px;max-height:94dvh}
.identity-camera .camera-stage{min-height:0;flex:1 1 auto;overflow:hidden}
.identity-camera video,.identity-camera img{max-height:50dvh}
.identity-camera [data-camera-hint]{margin:0;min-height:0;font-size:15px}
.identity-camera .camera-actions{position:sticky;bottom:0;flex:0 0 auto;background:white;padding:10px 0 max(8px,env(safe-area-inset-bottom));z-index:2}
.identity-camera [data-camera-shoot],.identity-camera [data-camera-next]{width:100%;min-height:58px;background:#185c43;color:white;border:0;font-size:20px;font-weight:700}
.identity-camera [data-camera-shoot]:disabled{opacity:.55}

.customer-form select{width:100%;min-height:48px;padding:10px;font:16px system-ui;border:1px solid #8c9e92;border-radius:7px;background:white;color:#243a32}.customer-form .form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.form-business{padding:16px;border:1px solid #d6dfd9;border-radius:12px;background:white;font-size:13px;overflow-wrap:anywhere}.form-business p{margin:8px 0}

.customer-form .form-privacy-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:#185c43;text-decoration:underline;text-underline-offset:3px}
