.nav-group>summary{cursor:pointer;list-style:none}.nav-group>summary::after{content:"›";margin-left:auto}.nav-group[open]>summary::after{content:"⌄"}.nav-group>summary:focus-visible{outline:2px solid var(--action-focus);outline-offset:-2px}.model-more>summary{cursor:pointer;padding:12px 0;font-weight:600}

.document-slots{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.document-slots input[type=file]{max-width:100%}.document-row summary{cursor:pointer;padding:12px 0;font-weight:600}.employee-profile{max-width:1200px}.employee-profile .model-photo-grid img{max-width:100%;max-height:260px;object-fit:contain}.start-block-reason{font-size:12px;white-space:normal;max-width:190px}.document-slots h2{font-size:16px}

/* Shared bounded photo cards; grid tracks may shrink below their min-content width. */
.document-slots { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:16px; min-width:0; max-width:100%; }
.document-slots .photo-slot { min-width:0; max-width:100%; padding:18px; margin:0; }
.photo-slot h2 { overflow-wrap:anywhere; min-height:2.5em; margin:0 0 16px; }
.photo-slot { display:flex; flex-direction:column; box-sizing:border-box; }
.photo-slot > form { margin-top:auto; width:100%; }
.photo-slot label { display:block; overflow-wrap:anywhere; }
.photo-slot .row-actions > * { min-width:0; max-width:100%; }
.photo-slot input::file-selector-button { max-width:100%; white-space:normal; }
.photo-slot figure { min-width:0; margin:0 0 18px; }
.photo-slot form { min-width:0; max-width:100%; }
.photo-slot input[type=file] { display:block; box-sizing:border-box; min-width:0; width:100%; max-width:100%; margin:10px 0; }
.slot-preview { display:block; width:100%; max-width:100%; height:180px; object-fit:contain; }
.slot-filename { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; margin:8px 0; }
.photo-slot .row-actions { display:flex; flex-wrap:wrap; gap:8px; }
.photo-slot .button { max-width:100%; white-space:normal; overflow-wrap:anywhere; }

.photo-stage{position:relative}.photo-download{position:absolute;right:10px;bottom:10px;z-index:2}.photo-download:focus-visible{outline:2px solid currentColor;outline-offset:3px}.account-secret{overflow-wrap:anywhere}.profile-actions{margin-bottom:16px}

.entity-search{position:relative}.entity-suggestions{position:absolute;z-index:20;top:100%;left:0;min-width:100%;max-height:240px;overflow:auto;background:var(--panel,#292f40);border:1px solid #626c83;border-radius:4px;box-shadow:0 5px 12px #0005}.entity-suggestions [role=option]{padding:8px 12px;cursor:pointer;color:#eef1f8;white-space:nowrap}.entity-suggestions [role=option]:hover,.entity-suggestions [aria-selected=true]{background:#425574}
