.dossier-profile{display:flex;align-items:center;gap:24px}.client-photo,.photo-placeholder{width:112px;height:128px;object-fit:cover;border-radius:12px;border:1px solid var(--line);flex-shrink:0}.photo-placeholder{display:grid;place-items:center;background:var(--surface-alt);color:var(--muted)}.document-preview{display:block;max-width:100%;max-height:600px;margin:0 auto 24px;object-fit:contain;border-radius:8px}.document-checklist{display:grid;gap:14px;margin:20px 0;padding:18px;border:1px solid var(--line);border-radius:10px}.document-checklist small{display:block;margin-left:22px}.verification-history{padding-left:24px}.verification-history li{padding:0 0 18px 8px;border-left:1px solid var(--line)}.verification-history strong{font-size:.85rem}.verification-history p{margin:8px 0}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.user-access{padding:18px 0;border-bottom:1px solid var(--line)}.user-access summary{cursor:pointer;font-weight:600}.user-access form{margin-top:18px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stats h2{font-size:1.8rem}.stats p{margin:0}.card input[type=file]{max-width:100%;padding:16px;background:var(--surface-alt)}@media(max-width:640px){.dossier-profile{align-items:flex-start;flex-direction:column}.stats{grid-template-columns:1fr}.document-preview{max-height:400px}.document-checklist{padding:12px}}
/* Preserve the native hidden state of the programmatic camera picker. */
input[type=file][hidden]{display:none!important}
.document-review-column{width:125px;text-align:center;white-space:nowrap}
.document-review-mark{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:.76rem;font-weight:600;color:var(--muted)}
.document-review-symbol{display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;border-radius:50%;background:var(--surface-alt);border:1px solid var(--line)}
.document-review-symbol .ui-icon{width:17px;height:17px;stroke-width:2.4}
.document-review-mark.accepted{color:var(--green)}
.document-review-mark.accepted .document-review-symbol{background:color-mix(in srgb,var(--green) 12%,var(--surface));border-color:color-mix(in srgb,var(--green) 25%,var(--line))}
.document-review-mark.rejected{color:var(--red)}
.document-review-mark.rejected .document-review-symbol{background:color-mix(in srgb,var(--red) 9%,var(--surface));border-color:color-mix(in srgb,var(--red) 25%,var(--line))}
.document-review-mark.history{font-weight:400}
@media(max-width:640px){.document-review-column{width:96px}.document-review-mark{flex-direction:column;gap:4px;font-size:.7rem}}

/* Spacious dossier and readable document actions. */
.flow-shell.dossier-wide{width:100%;max-width:none;min-width:0}
.dossier-wide .table-wrap td:first-child{overflow-wrap:anywhere;white-space:normal}
.document-actions>div{display:grid;gap:8px;padding:10px 0}
.confirme-studio .document-actions .action-menu-trigger{min-height:44px;font-size:14px;padding:10px 16px}
.confirme-studio .document-actions .action-menu-panel{width:250px}
.confirme-studio .document-actions .action-menu-panel>a{font-size:14px;min-height:44px;padding:12px 14px}

/* Responsive staff form text: compact on phones, up to 14.75% larger on wide screens. */
@media screen{
 .confirme-studio main{
  --form-text:clamp(.765rem,calc(.3825rem + .765vw),1.1475rem);
  --form-label:clamp(.669375rem,calc(.3346875rem + .669375vw),1.0040625rem);
  --form-help:clamp(.61965rem,calc(.309825rem + .61965vw),.929475rem);
  --form-step:clamp(.6215625rem,calc(.31078125rem + .6215625vw),.93234375rem);
 }
 .confirme-studio main form{font-size:var(--form-text);line-height:1.5}
 .confirme-studio main form label{font-size:var(--form-label);line-height:1.4}
 .confirme-studio main form :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){font-size:var(--form-text);line-height:1.4;min-height:44px;height:auto;padding:10px 12px;max-width:100%}
 .confirme-studio main form :is(input[type=checkbox],input[type=radio]){width:20px;height:20px;flex-shrink:0}
 .confirme-studio main form :is(small,.hint){font-size:var(--form-help);line-height:1.5}
 .confirme-studio main form :is(button,.button){font-size:var(--form-label);line-height:1.4;min-height:44px;height:auto;white-space:normal}
 .confirme-studio main .flow-shell{font-size:var(--form-text);line-height:1.5}
 .confirme-studio main .flow-shell :is(small,.hint){font-size:var(--form-help)}
 .confirme-studio main .flow-shell h2{font-size:clamp(.95625rem,calc(.765rem + .3825vw),1.1475rem)}
 .confirme-studio main .flow-shell table{font-size:var(--form-label)}
 .confirme-studio main .flow-shell :is(td,th){white-space:normal;overflow-wrap:anywhere}
 .confirme-studio main .flow-shell .button{font-size:var(--form-label);line-height:1.4;min-height:44px}
 .confirme-studio main .flow-shell .document-review-mark{font-size:var(--form-step);white-space:normal}
 .confirme-studio main .flow-shell .document-actions .action-menu-panel{width:clamp(250px,24vw,320px)}
 .confirme-studio main .flow-shell .document-actions .action-menu-panel>a{font-size:var(--form-label);min-height:44px;line-height:1.4}
 .confirme-studio main .flow-shell .flow-steps :is(a,.flow-step){font-size:var(--form-step);overflow-wrap:anywhere}
 .confirme-studio main .flow-shell .flow-steps b{font-size:var(--form-step);width:32px;height:32px;flex-basis:32px}
}
@media screen and (max-width:700px){
 .confirme-studio main form .form-grid{grid-template-columns:minmax(0,1fr)}
}

/* Keep review status labels intact beside their icons. */
.confirme-studio main .flow-shell .document-review-column{width:1%;min-width:160px;white-space:nowrap;overflow-wrap:normal}
.confirme-studio main .flow-shell .document-review-mark{flex-direction:row;flex-wrap:nowrap;gap:8px;white-space:nowrap;overflow-wrap:normal}
.confirme-studio main .flow-shell .document-review-mark>span{flex-shrink:0;white-space:nowrap}
