/* EasyGoldShop GoldRentalRequest item-upload design, scoped for EasyHR person forms. */
.ehr-person-section{width:100%;max-width:none}
.ehr-person-layout>.fi-fo-component-ctn{display:grid!important;grid-template-columns:208px minmax(0,1fr)!important;gap:28px!important;align-items:center}
.ehr-person-photo{min-width:0;padding-right:24px;border-right:1px solid #e2eaf0}
.ehr-person-details{min-width:0}
.ehr-person-photo>.fi-fo-component-ctn{gap:8px}
.ehr-person-photo .fi-fo-placeholder{color:#8494a1;font-size:11px;line-height:1.7}
.ehr-person-section .fi-section-header{padding:18px 22px;border-bottom:1px solid #e2eaf0;background:#f9fcfe;border-radius:17px 17px 0 0}
.ehr-person-section .fi-section-header-heading{font-size:15px;font-weight:750;color:#26465e}
.ehr-person-section .fi-section-header-description{font-size:12px;color:#7890a2}
.ehr-person-section .fi-section-content{padding:24px}
.ehr-person-section .fi-input-wrp{min-height:44px;border:1px solid #c9dce9;border-radius:10px;background:#f9fcfe;box-shadow:0 2px 7px #094d7b09}
.ehr-person-section .fi-input-wrp:focus-within{border-color:#75b8df;background:#fff;box-shadow:0 0 0 3px #1f91cf17}
.ehr-person-section .fi-input-wrp-prefix{align-self:stretch;color:#859aa9;background:#edf6fb;border-right:1px solid #d6e5ee;border-radius:9px 0 0 9px;padding-inline:12px}
.ehr-person-section .fi-fo-field-wrp-label{color:#324b60;font-size:13px;font-weight:650}
.ehr-item-upload .fi-fo-file-upload{height:var(--ehr-upload-height,176px);overflow:hidden;border:1px dashed #c6d5df;border-radius:8px;background:#fff;transition:border-color .16s,box-shadow .16s}
.ehr-item-upload .fi-fo-file-upload:focus-within{outline:3px solid #1f91cf33;outline-offset:3px;border-color:#147db9}
.ehr-item-upload .fi-fo-file-upload>div:first-child{width:100%;height:var(--ehr-upload-height,176px)}
.ehr-item-upload .filepond--root,.ehr-item-upload .filepond--drop-label{min-height:var(--ehr-upload-height,176px)!important;height:100%!important;margin:0}
.ehr-item-upload .filepond--panel-root{background:transparent}
.ehr-item-upload .filepond--drop-label{color:#3e647d;font-size:11px;font-weight:650}
.ehr-item-upload .filepond--drop-label label{position:absolute;inset:0;display:block;width:auto;height:auto;min-height:0;margin:0;padding:0!important;cursor:pointer;font-size:0!important}
.ehr-item-upload .filepond--drop-label label::before{position:absolute;top:50%;left:50%;width:29px;height:29px;background:#5c8ca9;content:'';transform:translate(-50%,-50%);transition:transform .16s,background-color .16s;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='8.5' cy='9' r='1.5'/%3E%3Cpath d='m4 17 4.5-4.5 3 3 2-2 6.5 6.5M17 6v5M14.5 8.5h5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='8.5' cy='9' r='1.5'/%3E%3Cpath d='m4 17 4.5-4.5 3 3 2-2 6.5 6.5M17 6v5M14.5 8.5h5'/%3E%3C/svg%3E") center/contain no-repeat}
.ehr-item-upload .filepond--drop-label:hover label::before{background:#147db9;transform:translate(-50%,-50%) scale(1.08)}
.ehr-item-upload :is(.filepond--action-revert-item-processing,.filepond--action-remove-item){top:4px!important;right:4px!important;bottom:auto!important;left:auto!important}
.ehr-item-upload :is(.filepond--list-scroller,.filepond--list,.filepond--item,.filepond--file-wrapper,.filepond--file,.filepond--image-preview-wrapper,.filepond--image-preview){width:100%!important;height:100%!important}
.ehr-item-upload .filepond--file{padding:0;border-radius:7px}
.ehr-item-upload :is(.filepond--image-preview-wrapper,.filepond--image-preview){inset:0;border-radius:7px}
.ehr-item-upload .filepond--image-preview{background:#fff}
.ehr-item-upload .filepond--image-preview-overlay{display:none!important}
.ehr-item-upload .filepond--image-preview canvas{min-width:100%!important;min-height:100%!important}
.ehr-item-upload .filepond--item:is([data-filepond-item-state="idle"],[data-filepond-item-state="processing-complete"]) :is(.filepond--file-info,.filepond--file-status,.filepond--processing-complete-indicator,.filepond--image-preview-overlay){display:none!important}
.ehr-item-upload .filepond--item:not([data-filepond-item-state="idle"]):not([data-filepond-item-state="processing-complete"]) :is(.filepond--file-info,.filepond--file-status){padding:8px;color:#fff;background:#153650dd}
.ehr-item-upload .fi-fo-field-wrp-helper-text{color:#8494a1;font-size:11px;line-height:1.6}
.ehr-item-upload .fi-icon-btn{width:28px;height:28px;border:1px solid #c9dbe7;border-radius:7px;color:#1677b4;background:#f3f8fb}
.ehr-item-upload .fi-icon-btn:hover{border-color:#8fbeda;color:#075f9c;background:#eaf5fb}
.ehr-person-image-preview{display:grid;min-height:240px;max-height:65vh;place-items:center;overflow:hidden;border:1px solid #d7e7f2;border-radius:16px;background:repeating-conic-gradient(#f1f7fb 0% 25%,#fff 0% 50%) 0 0/24px 24px}
.ehr-person-image-preview img{display:block;width:100%;max-height:65vh;object-fit:contain}
html.dark .ehr-person-section .fi-section-header{border-color:#2b435c;background:#122337}
html.dark .ehr-person-section .fi-section-header-heading{color:#e7eff7}
html.dark .ehr-person-section .fi-section-header-description,html.dark .ehr-person-photo .fi-fo-placeholder{color:#a8bfd3}
html.dark .ehr-person-photo{border-color:#2b435c}
html.dark .ehr-person-section .fi-input-wrp{border-color:#2b435c;background:#0a192b}
html.dark .ehr-person-section .fi-input-wrp:focus-within{border-color:#5c9ac4;background:#0a192b}
html.dark .ehr-person-section .fi-input-wrp-prefix{color:#a8bfd3;background:#182a3f;border-color:#2b435c}
html.dark .ehr-person-section .fi-fo-field-wrp-label{color:#cad9e9}
html.dark .ehr-item-upload .fi-fo-file-upload{border-color:#3d5772;background:#0a192b}
html.dark .ehr-item-upload .filepond--drop-label label::before{background:#8db9d6}
html.dark .ehr-item-upload .fi-fo-field-wrp-helper-text{color:#a8bfd3}
html.dark .ehr-item-upload .fi-icon-btn{border-color:#3d5772;color:#9bd5f7;background:#182a3f}
html.dark .ehr-person-image-preview{border-color:#2b435c;background:repeating-conic-gradient(#0a192b 0% 25%,#0f1d2f 0% 50%) 0 0/24px 24px}
@media(max-width:767px){.ehr-person-layout>.fi-fo-component-ctn{grid-template-columns:minmax(0,1fr)!important;gap:22px!important}.ehr-person-photo{width:100%;padding:0 0 20px;border-right:0;border-bottom:1px solid #e2eaf0}.ehr-person-photo>.fi-fo-component-ctn{max-width:208px}.ehr-item-upload{max-width:208px}.ehr-person-section .fi-section-content{padding:18px}.ehr-person-section .fi-section-header{padding:16px 18px}.ehr-person-section .fi-input-wrp-prefix{padding-inline:10px}}
@media(prefers-reduced-motion:reduce){.ehr-item-upload .fi-fo-file-upload,.ehr-item-upload .filepond--drop-label label::before{transition:none}}

/* Shared upload surface and preparation feedback for every MediaUpload field. */
.ehr-media-upload{width:100%;min-height:120px;padding:8px;overflow:hidden;border:1px dashed #c6d5df;border-radius:8px;background:#fff}
.ehr-media-upload .filepond--root{width:100%;margin:0}
.ehr-media-upload>div:first-child{position:relative}
.ehr-media-upload>div:first-child:not(:has(.filepond--root)){min-height:102px}
.ehr-media-upload>div:first-child>input[type="file"]{position:absolute;width:1px;height:1px;opacity:0;visibility:hidden;pointer-events:none}
.ehr-media-upload .filepond--panel-root{background:transparent}
.ehr-media-upload:focus-within{outline:3px solid #1f91cf33;outline-offset:3px;border-color:#147db9}
.ehr-item-upload .ehr-media-upload{padding:0}
.ehr-upload-feedback{display:grid;gap:4px;margin-top:8px;padding:9px 10px;border:1px solid #dce9f1;border-radius:8px;background:#f5fafe;color:#5b7b92;font-size:11px;line-height:1.65;overflow-wrap:anywhere}
.ehr-upload-feedback__caption{font-weight:650;color:#357495}
.ehr-upload-feedback__detail:empty{display:none}
.ehr-upload-feedback[data-state="compressing"] .ehr-upload-feedback__detail,.ehr-upload-feedback[data-state="queued"] .ehr-upload-feedback__detail{color:#0870b5}
.ehr-upload-feedback[data-state="ready"] .ehr-upload-feedback__detail{color:#247c69}
.ehr-upload-feedback[data-state="error"]{border-color:#e8b4b4;background:#fff7f7;color:#a83737}
html.dark .ehr-media-upload{border-color:#3d5772;background:#0a192b}
html.dark .ehr-upload-feedback{border-color:#2b435c;background:#122337;color:#a8bfd3}
html.dark .ehr-upload-feedback__caption{color:#91c8e9}
html.dark .ehr-upload-feedback[data-state="ready"] .ehr-upload-feedback__detail{color:#91d9bf}
html.dark .ehr-upload-feedback[data-state="error"]{border-color:#7b414d;background:#34202a;color:#ffc0c0}

/* Feedback stays inside Livewire's wire:ignore root so upload-state updates cannot remove it. */
.ehr-item-upload .ehr-media-upload{height:auto;min-height:0;overflow:visible;border:0;background:transparent}
.ehr-item-upload .ehr-media-upload>div:first-child{position:relative;height:var(--ehr-upload-height,176px);overflow:hidden;border:1px dashed #c6d5df;border-radius:8px;background:#fff}
.ehr-media-upload>div:first-child:not(:has(.filepond--root))::before{position:absolute;top:50%;left:50%;width:29px;height:29px;background:#5c8ca9;content:'';transform:translate(-50%,-50%);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='8.5' cy='9' r='1.5'/%3E%3Cpath d='m4 17 4.5-4.5 3 3 2-2 6.5 6.5M17 6v5M14.5 8.5h5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='8.5' cy='9' r='1.5'/%3E%3Cpath d='m4 17 4.5-4.5 3 3 2-2 6.5 6.5M17 6v5M14.5 8.5h5'/%3E%3C/svg%3E") center/contain no-repeat}
.ehr-item-upload .ehr-media-upload:focus-within{outline:none}
.ehr-item-upload .ehr-media-upload:focus-within>div:first-child{outline:3px solid #1f91cf33;outline-offset:3px;border-color:#147db9}
html.dark .ehr-item-upload .ehr-media-upload>div:first-child{border-color:#3d5772;background:#0a192b}
html.dark .ehr-media-upload>div:first-child:not(:has(.filepond--root))::before{background:#8db9d6}

/* Compact account dialogs share the form language without full-page spacing. */
.ehr-account-modal{max-height:calc(100dvh - 48px);overflow:hidden;border-radius:20px}
.ehr-account-modal>.fi-modal-header{flex-shrink:0;padding:18px 20px 16px}
.ehr-account-modal>.fi-modal-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 20px}
.ehr-account-modal>.fi-modal-footer{flex-shrink:0;padding:14px 20px}
.ehr-account-modal .fi-fo-component-ctn{row-gap:16px}
.ehr-account-modal .ehr-person-section .fi-section-content{padding:16px}
.ehr-account-modal .ehr-person-section>.fi-section-header{min-height:54px;padding:10px 14px}
.ehr-account-modal .ehr-person-layout>.fi-fo-component-ctn{grid-template-columns:144px minmax(0,1fr)!important;gap:20px!important;align-items:start}
.ehr-account-modal .ehr-person-photo{padding-right:16px}
.ehr-account-modal .ehr-person-photo>.fi-fo-component-ctn{gap:6px}
.ehr-account-modal .ehr-item-upload .ehr-media-upload>div:first-child{height:128px}
.ehr-account-modal .ehr-upload-feedback{padding:6px 8px;font-size:10px;line-height:1.5}
.ehr-account-modal .ehr-account-pin{box-shadow:none;border-radius:12px}
.ehr-account-modal .ehr-account-pin>.fi-section-header{min-height:44px;padding:8px 12px;border-radius:11px;background:transparent}
.ehr-account-modal .ehr-account-pin .fi-section-header-icon{width:26px;height:26px;padding:5px;border-radius:7px}
.ehr-account-modal .ehr-account-pin .fi-section-header-heading{font-size:12px}
.ehr-account-modal .ehr-account-pin .fi-section-content{padding:12px}
@media(max-width:639px){
 .ehr-account-modal{max-height:calc(100dvh - 32px);border-radius:16px}
 .ehr-account-modal>.fi-modal-header{padding:16px 14px 12px}
 .ehr-account-modal>.fi-modal-content{padding:12px}
 .ehr-account-modal>.fi-modal-footer{padding:12px 14px}
 .ehr-account-modal .ehr-person-section .fi-section-content{padding:12px}
 .ehr-account-modal .ehr-person-layout>.fi-fo-component-ctn{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 .ehr-account-modal .ehr-person-photo{width:100%;padding:0 0 12px;border-right:0}
 .ehr-account-modal .ehr-person-photo>.fi-fo-component-ctn{max-width:144px}
 .ehr-account-modal .ehr-item-upload{max-width:144px}
}
@media(min-width:640px) and (max-width:767px){
 .ehr-account-modal .ehr-person-photo{width:auto;border-bottom:0;border-right:1px solid #e2eaf0;padding:0 16px 0 0}
 html.dark .ehr-account-modal .ehr-person-photo{border-color:#2b435c}
}

@media(prefers-reduced-motion:reduce){.ehr-account-modal{transition-duration:0s!important;animation:none!important}}

/* Override full-page box rules by specificity, including when boxes.css loads later. */
.fi-main .ehr-account-modal .fi-section.ehr-person-section:not(.fi-aside)>.fi-section-header{min-height:52px;padding:8px 14px}
.fi-main .ehr-account-modal .ehr-person-section .fi-section-content{padding:14px}
.fi-main .ehr-account-modal .fi-section.ehr-account-pin:not(.fi-aside){border-radius:12px;box-shadow:none}
.fi-main .ehr-account-modal .fi-section.ehr-account-pin:not(.fi-aside)>.fi-section-header{min-height:40px;padding:7px 12px;border-radius:11px;background:transparent}
@media(max-width:639px){.fi-main .ehr-account-modal .ehr-person-section .fi-section-content{padding:12px}}

/* Two native Wizard steps keep account dialogs focused and compact. */
.ehr-account-modal .ehr-account-wizard{min-width:0}
.ehr-account-modal .ehr-account-wizard>.fi-fo-wizard-header{grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #dce7f0;border-radius:14px;background:linear-gradient(180deg,#eef4f9,#f4f7fa);box-shadow:none;overflow:hidden}
.ehr-account-modal .fi-fo-wizard-header-step{min-width:0;border-top:0}
.ehr-account-modal .fi-fo-wizard-header-step button{min-width:0;gap:10px;padding:12px;align-items:center}
.ehr-account-modal .fi-fo-wizard-header-step-label{font-size:12px;line-height:1.6;text-align:start;white-space:normal}
.ehr-account-modal .fi-fo-wizard-header-step-description{font-size:10px;white-space:normal}
.ehr-account-modal .ehr-account-wizard>div:last-child{position:sticky;bottom:-16px;z-index:10;margin-top:14px;padding:12px 0 0;border-top:1px solid #dce7f0;background:#fff}
.ehr-wizard-secondary-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
html.dark .ehr-account-modal .ehr-account-wizard>.fi-fo-wizard-header{border-color:#2b435c;background:linear-gradient(180deg,#162b41,#122337)}
html.dark .ehr-account-modal .ehr-account-wizard>div:last-child{border-color:#2b435c;background:#0f1d2f}
@media(max-width:639px){
 .ehr-account-modal .fi-fo-wizard-header-step button{gap:7px;padding:10px 8px}
 .ehr-account-modal .fi-fo-wizard-header-step-description{display:none}
 .ehr-account-modal .ehr-account-wizard>div:last-child{bottom:-12px;gap:8px;flex-wrap:wrap}
 .ehr-account-modal .fi-fo-wizard-header-step svg{width:18px;height:18px}
}

/* Quiet Wizard form: neutral fields, one surface, no repeated icon rails. */
.ehr-account-modal .ehr-account-wizard .ehr-item-upload{--ehr-upload-height:128px;max-width:128px}
.ehr-account-modal .ehr-account-wizard .ehr-person-photo{width:128px;padding:0;border:0}
.ehr-account-modal .ehr-account-wizard .ehr-person-photo>.fi-fo-component-ctn{max-width:128px}
.fi-main .ehr-account-modal .ehr-account-wizard .fi-section.ehr-person-section:not(.fi-aside){border:0;border-radius:0;background:transparent;box-shadow:none;--tw-ring-color:transparent}
.fi-main .ehr-account-modal .ehr-account-wizard .ehr-person-section>.fi-section-content-ctn>.fi-section-content{padding:12px 0}
.fi-main .ehr-account-modal .ehr-account-wizard .ehr-person-section .fi-input-wrp{border-color:#dce3eb;border-radius:9px;background:#fafbfd;box-shadow:none}
.fi-main .ehr-account-modal .ehr-account-wizard .ehr-person-section .fi-input-wrp:focus-within{border-color:#75b8df;background:#fff;box-shadow:0 0 0 3px #1f91cf17}
.ehr-account-modal .ehr-account-wizard .fi-fo-field-wrp-label{font-weight:500;color:#475569}
.ehr-account-modal .ehr-account-wizard .ehr-item-upload .fi-icon-btn{border:0;background:transparent;box-shadow:none}
.ehr-account-modal .ehr-account-wizard .ehr-upload-feedback{border:0;padding:0;background:transparent;font-size:10px;line-height:1.6}
.ehr-account-modal .ehr-account-wizard .ehr-upload-feedback:not([data-state]),.ehr-account-modal .ehr-account-wizard .ehr-upload-feedback__caption{display:none}
.ehr-account-modal .ehr-account-wizard .ehr-upload-feedback[data-state="error"]{padding:7px;border:1px solid #e8b4b4;border-radius:8px;background:#fff7f7}
html.dark .fi-main .ehr-account-modal .ehr-account-wizard .ehr-person-section .fi-input-wrp{border-color:#2b435c;background:#0a192b}
html.dark .fi-main .ehr-account-modal .ehr-account-wizard .ehr-person-section .fi-input-wrp:focus-within{border-color:#5c9ac4;background:#0a192b}
html.dark .ehr-account-modal .ehr-account-wizard .fi-fo-field-wrp-label{color:#cad9e9}
html.dark .ehr-account-modal .ehr-account-wizard .ehr-upload-feedback[data-state="error"]{border-color:#7b414d;background:#34202a}

/* BusinessUnit User Wizard: a clear account header, three steps and quiet fields. */
.ehr-bu-user-modal{--bu-surface:#fff;--bu-raised:#f5f9fd;--bu-ink:#173b56;--bu-muted:#668096;--bu-line:#d8e5ef;--bu-active:#edf6ff;--bu-active-line:#98bedc;--bu-input:#fbfdff;border:1px solid var(--bu-line);border-radius:20px;color:var(--bu-ink);background:var(--bu-surface);box-shadow:0 22px 70px #10385526}
html.dark .ehr-bu-user-modal{--bu-surface:#0f1d2f;--bu-raised:#152a40;--bu-ink:#e7eff7;--bu-muted:#a8bfd3;--bu-line:#2b435c;--bu-active:#173551;--bu-active-line:#427797;--bu-input:#0b192b}
.ehr-bu-user-modal>.fi-modal-header{align-items:center;gap:14px;padding:20px 24px;border-bottom:1px solid var(--bu-line);background:linear-gradient(110deg,var(--bu-active),var(--bu-surface));border-radius:19px 19px 0 0}
.ehr-bu-user-modal>.fi-modal-header>div:has(.fi-modal-icon){flex:0 0 44px;margin:0}
.ehr-bu-user-modal>.fi-modal-header>div:has(>.fi-modal-icon){display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:13px;background:linear-gradient(145deg,#1078bc,#084e87);box-shadow:0 6px 14px #0c5da326}
.ehr-bu-user-modal .fi-modal-icon{width:23px;height:23px;color:#fff}
.ehr-bu-user-modal>.fi-modal-header>div:last-child{min-width:0;padding-inline-end:32px}
.ehr-bu-user-modal .fi-modal-heading{font-size:17px;line-height:1.5;font-weight:750;color:var(--bu-ink);letter-spacing:-.01em}
.ehr-bu-user-modal .fi-modal-description{margin-top:3px;font-size:12px;line-height:1.7;color:var(--bu-muted);overflow-wrap:anywhere}
.ehr-bu-user-modal .fi-modal-close-btn{min-width:44px;min-height:44px;color:var(--bu-muted);border-radius:11px}
.ehr-bu-user-modal>.fi-modal-content{padding:20px 24px;background:var(--bu-surface)}
.ehr-bu-user-modal .ehr-account-wizard>.fi-fo-wizard-header{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.ehr-bu-user-modal .ehr-account-wizard .fi-fo-wizard-header-step{border:1px solid var(--bu-line);border-radius:12px;background:var(--bu-surface);min-width:0;transition:border-color .18s,background-color .18s}
.ehr-bu-user-modal .ehr-account-wizard .fi-fo-wizard-header-step.fi-active{border-color:var(--bu-active-line);background:var(--bu-active)}
.ehr-bu-user-modal .ehr-account-wizard .fi-fo-wizard-header-step-button{gap:11px;padding:12px;min-height:68px;width:100%;border-radius:11px}
.ehr-bu-user-modal .ehr-account-wizard .fi-fo-wizard-header-step-button:focus-visible{outline:3px solid #3b99d680;outline-offset:2px}
.ehr-bu-user-modal .ehr-account-wizard .fi-fo-wizard-header-step-icon-ctn{width:32px;height:32px;border:0;border-radius:10px;background:var(--bu-raised);color:var(--bu-muted)}
.ehr-bu-user-modal .ehr-account-wizard .fi-active .fi-fo-wizard-header-step-icon-ctn{background:#0c5da3;color:#fff;box-shadow:0 3px 8px #0c5da322}
.ehr-bu-user-modal .ehr-account-wizard .fi-completed .fi-fo-wizard-header-step-icon-ctn{background:#138563;color:#fff}
.ehr-bu-user-modal .ehr-account-wizard .fi-fo-wizard-header-step-indicator{color:inherit;font-size:12px;font-weight:750}
.ehr-bu-user-modal .ehr-account-wizard .fi-fo-wizard-header-step-label{color:var(--bu-ink);font-size:13px;font-weight:700;line-height:1.5}
.ehr-bu-user-modal .ehr-account-wizard .fi-fo-wizard-header-step-description{display:block;font-size:10px;color:var(--bu-muted);line-height:1.6;margin-top:1px}
.ehr-bu-user-modal .ehr-account-wizard .fi-fo-wizard-header-step-separator{display:none}
.ehr-bu-user-modal .ehr-account-wizard .fi-fo-wizard-header-step-icon{width:18px;height:18px}
.ehr-bu-user-modal .ehr-person-layout>.fi-fo-component-ctn{grid-template-columns:128px minmax(0,1fr)!important;gap:24px!important;align-items:start}
.ehr-bu-user-modal .ehr-account-wizard .fi-fo-component-ctn{row-gap:18px}
.ehr-bu-user-modal .ehr-account-wizard .ehr-person-photo{padding:0;border:0;width:128px}
.ehr-bu-user-modal .ehr-person-photo .ehr-item-upload>div>div:first-child{min-height:24px;gap:4px}
.ehr-bu-user-modal .ehr-person-photo .fi-fo-field-wrp-label{flex-shrink:0;white-space:nowrap}
.ehr-bu-user-modal .ehr-person-photo .fi-fo-field-wrp-hint{flex-shrink:0}
.ehr-bu-user-modal .ehr-person-photo .fi-fo-field-wrp-helper-text{font-size:10px;line-height:1.7;color:var(--bu-muted)}
.ehr-bu-user-modal .ehr-person-photo .fi-icon-btn{min-width:44px;min-height:44px;margin:-10px -8px -10px 0}
.ehr-bu-user-modal .ehr-item-upload .ehr-media-upload>div:first-child{border-color:var(--bu-active-line);border-radius:12px;background:var(--bu-raised)}
.ehr-bu-user-modal .ehr-item-upload .filepond--drop-label label::before{background:#327dad}
.fi-main .ehr-bu-user-modal .ehr-account-wizard .ehr-person-section .fi-input-wrp{min-height:44px;border-color:var(--bu-line);border-radius:10px;background:var(--bu-input);box-shadow:none;transition:border-color .18s,box-shadow .18s}
.fi-main .ehr-bu-user-modal .ehr-account-wizard .ehr-person-section .fi-input-wrp:focus-within{border-color:#4f9cd0;box-shadow:0 0 0 3px #2e8ac71a;background:var(--bu-surface)}
.ehr-bu-user-modal .ehr-account-wizard .fi-fo-field-wrp-label{font-size:12px;font-weight:650;color:var(--bu-ink)}
.ehr-bu-user-modal .ehr-account-wizard .fi-fo-field-wrp-label>span{font-size:inherit;font-weight:inherit;line-height:24px;color:inherit}
.ehr-bu-user-modal .ehr-account-wizard .fi-fo-field-wrp-helper-text{color:var(--bu-muted);font-size:11px;line-height:1.6}
.ehr-bu-user-modal .ehr-account-wizard>div:last-child{bottom:-20px;margin-top:18px;padding:14px 0 4px;border-color:var(--bu-line);background:var(--bu-surface)}
.ehr-bu-user-modal .ehr-account-wizard>div:last-child .fi-btn{min-height:44px;border-radius:10px;padding-inline:18px;font-size:13px;font-weight:650}
.ehr-bu-user-modal .ehr-account-wizard>div:last-child .fi-btn.fi-color-primary{min-width:108px;background:linear-gradient(135deg,#0c5da3,#0a76ba);box-shadow:0 4px 10px #0c5da31a}
@media(max-width:639px){.ehr-bu-user-modal>.fi-modal-header{padding:16px;gap:11px}.ehr-bu-user-modal .fi-modal-heading{font-size:15px}.ehr-bu-user-modal .fi-modal-description{font-size:11px}.ehr-bu-user-modal>.fi-modal-content{padding:16px}.ehr-bu-user-modal .ehr-account-wizard>.fi-fo-wizard-header{gap:8px}.ehr-bu-user-modal .ehr-account-wizard .fi-fo-wizard-header-step-button{padding:10px 8px;gap:8px;min-height:62px}.ehr-bu-user-modal .ehr-account-wizard .fi-fo-wizard-header-step-label{font-size:11px}.ehr-bu-user-modal .ehr-account-wizard .fi-fo-wizard-header-step-description{font-size:9px}.ehr-bu-user-modal .ehr-person-layout>.fi-fo-component-ctn{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}.ehr-bu-user-modal .ehr-account-wizard .ehr-person-photo{justify-self:center}.ehr-bu-user-modal .ehr-account-wizard>div:last-child{bottom:-16px;padding-bottom:0}.ehr-bu-user-modal .ehr-account-wizard>div:last-child .fi-btn{font-size:12px;padding-inline:13px}}
@media(max-width:359px){.ehr-bu-user-modal .ehr-account-wizard .fi-fo-wizard-header-step-description{display:none}.ehr-bu-user-modal .ehr-account-wizard .fi-fo-wizard-header-step-icon-ctn{width:28px;height:28px}.ehr-bu-user-modal .ehr-account-wizard .fi-fo-wizard-header-step-button{gap:6px;padding-inline:7px}}
@media(prefers-reduced-motion:reduce){.ehr-bu-user-modal .fi-fo-wizard-header-step,.ehr-bu-user-modal .fi-input-wrp{transition:none!important}}

/* Optional KYC and supporting files share the private upload foundation. */
.fi-main .ehr-bu-user-modal .fi-section.ehr-evidence-section{min-width:0;border:1px solid var(--bu-line);border-radius:12px;background:var(--bu-surface);box-shadow:none}
.fi-main .ehr-bu-user-modal .fi-section.ehr-evidence-section>.fi-section-header{padding:12px;border-radius:11px 11px 0 0;background:var(--bu-raised);border-bottom:1px solid var(--bu-line)}
.fi-main .ehr-bu-user-modal .ehr-evidence-section .fi-section-content{padding:12px}
.ehr-bu-user-modal .ehr-evidence-section .fi-section-header-heading{font-size:13px;color:var(--bu-ink)}
.ehr-bu-user-modal .ehr-evidence-section .fi-section-header-description{font-size:10px;color:var(--bu-muted)}
.ehr-bu-user-modal .ehr-evidence-section .ehr-media-upload{min-height:160px;border-color:var(--bu-active-line);border-radius:10px;background:var(--bu-raised)}
.ehr-bu-user-modal .ehr-evidence-section .filepond--drop-label{min-height:142px;color:var(--bu-muted);font-size:12px}
.ehr-bu-user-modal .ehr-evidence-section .fi-fo-field-wrp-helper-text{font-size:10px;line-height:1.7}
@media(max-width:639px){.ehr-bu-user-modal .ehr-account-wizard .fi-fo-wizard-header-step-button{flex-direction:column;gap:5px;padding:8px 4px}.ehr-bu-user-modal .ehr-account-wizard .fi-fo-wizard-header-step-label{text-align:center;font-size:10px}.ehr-bu-user-modal .ehr-account-wizard .fi-fo-wizard-header-step-description{display:none}}

/* Keep Wizard actions outside the scrolling fields, including after upload feedback. */
.ehr-bu-user-modal>.fi-modal-content{min-height:0;padding:0;overflow:hidden}
.ehr-bu-user-modal>.fi-modal-content>.fi-fo-component-ctn,
.ehr-bu-user-modal>.fi-modal-content>.fi-fo-component-ctn>div:has(>.ehr-account-wizard){display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0;gap:0}
.ehr-bu-user-modal .ehr-account-wizard{position:relative;display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0}
.ehr-bu-user-modal .ehr-account-wizard>.fi-fo-wizard-header{flex-shrink:0;margin:20px 24px 0}
.ehr-bu-user-modal .ehr-account-wizard>.fi-fo-wizard-step.fi-active{flex:1 1 auto;min-width:0;min-height:0;margin:0;padding:20px 24px;overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:12px;scrollbar-gutter:stable}
.ehr-bu-user-modal .ehr-account-wizard>div:last-child{position:static;flex-shrink:0;bottom:auto;z-index:auto;margin:0;padding:14px 24px 20px;border-top:1px solid var(--bu-line);background:var(--bu-surface)}
.fi-main .ehr-bu-user-modal .ehr-account-wizard .ehr-person-section>.fi-section-content-ctn>.fi-section-content{padding-block:0}
@media(max-width:639px){
 .ehr-bu-user-modal>.fi-modal-content{padding:0}
 .ehr-bu-user-modal .ehr-account-wizard>.fi-fo-wizard-header{margin:16px 16px 0}
 .ehr-bu-user-modal .ehr-account-wizard>.fi-fo-wizard-step.fi-active{padding:16px}
 .ehr-bu-user-modal .ehr-account-wizard>div:last-child{bottom:auto;margin:0;padding:12px 16px 16px}
}

/* Photo-style evidence picker: compact thumbnails instead of full green previews. */
.ehr-bu-user-modal .ehr-evidence-upload .ehr-media-upload{min-height:128px;padding:4px;border-color:var(--bu-active-line);border-radius:12px;background:var(--bu-surface)}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--drop-label{min-height:112px;color:var(--bu-muted)}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--drop-label label{display:grid;justify-items:center;align-content:center;gap:8px;padding:12px!important;font-size:12px}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--drop-label label::before{content:'';width:28px;height:28px;background:#327dad;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='8.5' cy='9' r='1.5'/%3E%3Cpath d='m4 17 4.5-4.5 3 3 2-2 6.5 6.5M17 6v5M14.5 8.5h5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='8.5' cy='9' r='1.5'/%3E%3Cpath d='m4 17 4.5-4.5 3 3 2-2 6.5 6.5M17 6v5M14.5 8.5h5'/%3E%3C/svg%3E") center/contain no-repeat}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--label-action{color:#0c5da3;font-weight:650;text-decoration:none}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--item{width:calc(33.333333% - 8px);margin:4px;border-radius:9px;overflow:hidden;isolation:isolate}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--item-panel{background:var(--bu-raised)!important;border:1px solid var(--bu-line);border-radius:9px}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--file{padding:0;color:var(--bu-ink);border-radius:9px}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--file-info{position:absolute;inset:auto 0 0;max-width:none;margin:0;padding:4px 6px;background:var(--bu-surface);color:var(--bu-ink);transform:none!important;opacity:.96!important}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--file-info-main{display:block;max-width:100%;font-size:10px;line-height:15px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--file-info-sub{font-size:9px;line-height:12px;color:var(--bu-muted);opacity:1}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--file-status{position:absolute;inset:4px 4px auto;padding:3px;border-radius:5px;background:var(--bu-surface);color:var(--bu-ink);font-size:9px}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--file-action-button{display:grid;place-items:center;width:44px;height:44px;box-shadow:none;color:var(--bu-ink);background:transparent}
.ehr-bu-user-modal .ehr-evidence-upload :is(.filepond--action-remove-item,.filepond--action-revert-item-processing){inset:0 0 auto auto;transform:none!important}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--file-action-button::after{z-index:0;pointer-events:none;inset:10px;border-radius:7px;background:var(--bu-surface);opacity:.92}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--file-action-button svg{position:relative;z-index:1;width:16px;height:16px}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--item:is([data-filepond-item-state="idle"],[data-filepond-item-state="processing-complete"]) :is(.filepond--file-status,.filepond--processing-complete-indicator,.filepond--image-preview-overlay){display:none}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--file:not(:has(.filepond--image-preview-wrapper))::before{content:'PDF';position:absolute;inset:18% 0 auto;text-align:center;font-size:14px;font-weight:750;letter-spacing:.06em;color:#317da7}
.ehr-bu-user-modal .ehr-evidence-upload .fi-fo-field-wrp-hint .fi-btn{min-height:44px;padding:4px 8px;font-size:11px;border-radius:8px}
.ehr-bu-user-modal .ehr-evidence-upload .ehr-upload-feedback[data-state="ready"]{font-size:10px;color:var(--bu-muted)}
html.dark .ehr-bu-user-modal .ehr-evidence-upload .filepond--label-action{color:#91c8e9}
@media(max-width:359px){.ehr-bu-user-modal .ehr-evidence-upload .filepond--item{width:calc(50% - 8px)}}

.ehr-camera-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;overflow:auto;border:1px solid var(--bu-line,#d8e5ef);border-radius:18px;background:var(--bu-surface,#fff);color:var(--bu-ink,#173b56);box-shadow:0 24px 80px #08132240}
.ehr-camera-dialog::backdrop{background:#08132299}
.ehr-camera-dialog__heading{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--bu-line,#d8e5ef);font-size:15px;font-weight:700}
.ehr-camera-dialog__close{width:44px;height:44px;border:0;border-radius:9px;background:transparent;color:inherit;font-size:24px;cursor:pointer}
.ehr-camera-dialog video{display:block;width:100%;max-height:50dvh;object-fit:contain;background:#081322}
.ehr-camera-dialog__status{margin:0;padding:12px 18px;font-size:12px;color:var(--bu-muted,#668096)}
.ehr-camera-dialog__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding:14px 18px}
.ehr-camera-dialog__actions button{min-height:44px;padding:9px 16px;border:1px solid var(--bu-line,#d8e5ef);border-radius:10px;font-size:13px;font-weight:650;background:var(--bu-surface,#fff);color:inherit;cursor:pointer}
.ehr-camera-dialog__actions [data-capture]{background:#0c5da3;border-color:#0c5da3;color:#fff}
.ehr-camera-dialog button:disabled{opacity:.45;cursor:default}

/* Completed size summaries must not stretch the compact account popup. */
.ehr-bu-user-modal .ehr-account-wizard .ehr-upload-feedback:is([data-state="ready"],[data-state="idle"]){display:none}

/* Evidence actions sit above a fixed file-only shelf. */
.ehr-bu-user-modal .ehr-evidence-upload .fi-fo-field-wrp-hint{width:100%;min-width:0}
.ehr-bu-user-modal .ehr-evidence-upload .fi-fo-field-wrp-hint-action{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0;gap:8px}
.ehr-bu-user-modal .ehr-evidence-upload .fi-fo-field-wrp-hint-action>.fi-btn{width:100%;min-width:0;min-height:44px;justify-content:center;gap:6px;padding-inline:6px;border:1px solid var(--bu-line);box-shadow:none;color:var(--bu-ink);background:var(--bu-surface)}
.ehr-bu-user-modal .ehr-evidence-upload .fi-fo-field-wrp-hint-action>.fi-btn[data-ehr-upload-files]{color:#0c5da3;border-color:var(--bu-active-line);background:var(--bu-active)}
.ehr-bu-user-modal .ehr-evidence-upload .fi-fo-field-wrp-hint-action .fi-btn-icon{width:16px;height:16px}
html.dark .ehr-bu-user-modal .ehr-evidence-upload .fi-fo-field-wrp-hint-action>.fi-btn[data-ehr-upload-files]{color:#91c8e9}
.ehr-bu-user-modal .ehr-evidence-upload .ehr-media-upload{height:auto;min-height:128px;padding:4px;overflow:visible}
.ehr-bu-user-modal .ehr-evidence-upload .ehr-media-upload>div:first-child{width:100%;height:118px;min-height:118px;overflow:hidden}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--root{height:118px!important;min-height:118px!important;margin:0}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--drop-label{display:none!important;min-height:0!important;height:0!important}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--list-scroller{inset:0;margin:0!important;height:118px!important;max-height:118px!important;transform:none!important;overflow-y:auto}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--item{width:calc(33.333333% - 8px)}
.ehr-bu-user-modal .ehr-evidence-upload .filepond--root:not(:has(.filepond--item))::after{content:'No files yet';position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;color:var(--bu-muted);font-size:11px}
.ehr-bu-user-modal .ehr-evidence-upload .ehr-media-upload>div:first-child:not(:has(.filepond--root))::before{content:'No files yet';width:auto;height:auto;background:none;-webkit-mask:none;mask:none;color:var(--bu-muted);font-size:11px}
.ehr-bu-user-modal .ehr-evidence-upload .ehr-upload-feedback[data-state="error"]{margin:8px 0 0;padding:6px;color:#b44545;font-size:10px}
