:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#233d35;background:#f7f9f6;line-height:1.5;font-synthesis:none;--green:#3f7468;--forest:#203f38;--border:#dce5df;--muted:#64756c}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}header{display:flex;align-items:center;gap:20px;padding:18px max(24px,calc((100vw - 1320px)/2));background:#fff;border-bottom:1px solid var(--border)}header a{font-size:21px;font-weight:750;text-decoration:none;color:var(--forest)}header span{font-size:14px;color:var(--muted)}header button{margin-left:auto}main{max-width:1360px;margin:28px auto;padding:0 24px}.workspace-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:32px}.sidebar{background:var(--forest);color:#fff;border-radius:22px;padding:24px 16px;align-self:start;position:sticky;top:24px}.sidebar .eyebrow,.sidebar .muted{color:#c0d2c8;padding:0 12px}.sidebar nav{display:grid;gap:5px}.sidebar button{background:transparent;color:#dbe8e0;border-color:transparent;text-align:left;font-size:15px;padding:12px}.sidebar button:hover{background:#36584c}.sidebar button[aria-pressed=true]{background:#d5e59b;color:#263d29}.workspace-content{min-width:0}.heading{background:#e6f0ea;border-radius:24px;padding:26px 30px;margin-bottom:24px}h1{font-size:clamp(28px,4vw,38px);line-height:1.15;margin:4px 0 0;letter-spacing:-.02em}h2{font-size:23px;line-height:1.25;margin:0 0 12px}h3{font-size:18px;line-height:1.35;margin:0 0 12px}p{margin:8px 0 18px}.eyebrow{font-size:12px;font-weight:700;color:var(--muted);margin-bottom:7px}.muted{color:var(--muted);font-size:14px}.panel{background:#fff;border:1px solid var(--border);border-radius:20px;padding:28px;margin-bottom:22px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:12px}.panel-heading h2{margin:0}.narrow{max-width:520px;margin:40px auto}.badge{display:inline-flex;background:#edf3ed;color:#3d6149;border-radius:20px;font-size:13px;font-weight:650;padding:5px 10px}.next-step .badge{margin-bottom:16px}.next-step p{max-width:680px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--border);border-radius:18px;background:#fff;margin-bottom:12px}.metrics>div{padding:22px;border-right:1px solid var(--border)}.metrics>div:last-child{border:0}.metrics span{display:block;font-size:13px;color:var(--muted)}.metrics strong{display:block;font-size:30px;margin-top:6px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:650;margin-bottom:20px}input,textarea,select{font:inherit;color:inherit;width:100%;padding:12px 13px;border:1px solid #a9bdb1;border-radius:9px;background:#fff;min-height:46px}textarea{resize:vertical;min-height:110px}input[type=checkbox]{width:20px;min-height:20px;margin:0;accent-color:var(--green)}input:focus-visible,textarea:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #769fc4;outline-offset:3px}button,.button{font:inherit;font-size:15px;font-weight:650;display:inline-block;text-align:center;background:var(--green);color:#fff;border:1px solid var(--green);border-radius:10px;padding:11px 18px;cursor:pointer;text-decoration:none;min-height:46px}button:hover,.button:hover{background:#315d52}.secondary,.tabs button{color:#355d4f;background:#f7faf5;border-color:#adbfaf}.secondary:hover,.tabs button:hover{background:#eaf1e6}button:disabled{cursor:not-allowed;opacity:.55}.text-button{color:#315f4b;border:0;background:transparent;padding:10px 0;text-decoration:underline}.text-button:hover{background:transparent;color:#163823}.actions,.tabs{display:flex;flex-wrap:wrap;gap:10px}.tabs{margin:18px 0}.tabs button[aria-pressed=true]{background:#e5edc9;border-color:#9faf72}.error{color:#a22d25}.notice{border-left:4px solid #b39031;background:#fffae9;padding:12px 16px;border-radius:6px}[role=status]:empty,#auth-error:empty{display:none}dl{margin:0}dl>div{padding:12px 0;border-bottom:1px solid var(--border);display:grid;grid-template-columns:minmax(120px,30%) 1fr;gap:15px}dt{font-weight:650}dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}footer{padding:28px 20px;text-align:center;color:var(--muted);font-size:13px}.password-toggle{align-self:flex-start;min-height:44px;padding:4px 0;font-size:14px}.request-card{border-top:1px solid var(--border);padding:24px 0;overflow-wrap:anywhere}.request-card:last-child{padding-bottom:0}.request-card p{margin:6px 0;font-size:14px}.request-card .actions{margin-top:16px}details{border-top:1px solid var(--border);padding:16px 0}details.panel{padding:22px 28px}summary{cursor:pointer;font-weight:650;min-height:32px}details p{margin-top:14px}fieldset{border:0;padding:0;margin:0 0 26px;min-width:0}legend{font-size:19px;font-weight:700;border-bottom:1px solid var(--border);width:100%;padding-bottom:12px;margin-bottom:20px}.field-hint{font-size:12px;font-weight:400;color:var(--muted)}.check-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.check-options label{flex-direction:row;align-items:center;font-weight:400;margin:0}.form-actions{border-top:1px solid var(--border);padding-top:20px}.file-row{display:flex;align-items:center;gap:16px;padding:16px 0;border-top:1px solid var(--border);overflow-wrap:anywhere}.file-row img{width:80px;height:100px;object-fit:cover;border-radius:8px}.file-row .file-info{flex:1;min-width:0}.support-entry{border-top:1px solid var(--border);padding:18px 0;white-space:pre-wrap}.empty-state{padding:26px 0;color:var(--muted)}.meeting-form{margin-top:18px;padding-top:18px;border-top:1px solid var(--border)}@media(max-width:1000px){.workspace-layout{grid-template-columns:195px minmax(0,1fr);gap:20px}.sidebar{padding:20px 10px}.sidebar button{font-size:14px}.metrics>div{padding:16px}.panel{padding:24px}.check-options{grid-template-columns:1fr}}@media(max-width:760px){header{flex-wrap:wrap;gap:8px 14px;padding:14px 18px}header a{font-size:18px}header span{display:none}main{padding:0 14px;margin-top:16px}.workspace-layout{display:block}.sidebar{position:static;border-radius:16px;padding:10px;margin-bottom:18px}.sidebar>.eyebrow,.sidebar>.muted{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:4px;padding-bottom:3px}.sidebar button{white-space:nowrap;flex-shrink:0;padding:10px 13px}.heading{padding:22px;border-radius:20px;margin-bottom:18px}.panel{padding:20px 18px;border-radius:16px;margin-bottom:18px}.grid{grid-template-columns:1fr}.metrics{grid-template-columns:1fr 1fr}.metrics>div:nth-child(2){border-right:0}.metrics>div:nth-child(-n+2){border-bottom:1px solid var(--border)}.metrics strong{font-size:26px}h2{font-size:21px}dl>div{grid-template-columns:1fr;gap:4px}.form-actions{flex-direction:column}.form-actions>*{width:100%}.file-row{flex-wrap:wrap}.panel-heading{align-items:flex-start}.request-card .actions>*{flex:1 1 150px}}

/* Cabinet navigation follows the public site's search panel. */
.workspace-layout{display:block}.sidebar{position:static;width:100%;margin-bottom:28px;padding:24px;border-radius:24px}.specialist-identity{display:flex;align-items:center;gap:16px;margin-bottom:22px}.avatar{width:72px;height:72px;flex:0 0 72px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#d5e59b;color:#203f38;font-size:25px;font-weight:700}.avatar img{width:100%;height:100%;object-fit:cover}.avatar [hidden]{display:none}.specialist-identity p{margin:3px 0}#specialist-name{font-size:22px;font-weight:650}#application-number{color:#d1dfd8}.sidebar nav{display:flex;gap:8px;flex-wrap:wrap}.sidebar nav button{width:auto;white-space:nowrap;text-align:center}.workspace-content{min-width:0}.request-analytics summary{font-size:18px;font-weight:650}.request-analytics .metrics{margin-top:18px}#activity-chart svg{display:block;width:100%;height:auto}.notification-card{padding:22px 0;border-bottom:1px solid #dce5df}.notification-card:last-child{border-bottom:0}.notification-card h3{margin:0 0 6px}.notification-card time{font-size:14px;color:#586c64}.notification-card p{white-space:pre-wrap;overflow-wrap:anywhere}.sidebar button:focus-visible{outline:3px solid #fff;outline-offset:3px}@media(max-width:760px){.sidebar{padding:18px;border-radius:20px}.sidebar nav{flex-wrap:wrap;overflow:visible}.sidebar nav button{font-size:14px;padding:11px 13px}.specialist-identity{gap:12px}.avatar{width:58px;height:58px;flex-basis:58px}#specialist-name{font-size:19px}}

.workspace-content>.heading{background:transparent;padding:0;margin:0 0 20px}.workspace-content>.heading>.eyebrow{display:none}.workspace-content>.heading h1{font-size:28px}.profile-overview{display:grid;grid-template-columns:1.2fr 1fr;gap:18px}.profile-overview>.panel{margin-bottom:20px}.profile-overview h2{font-size:21px}.profile-overview p{font-size:15px}@media(max-width:760px){.profile-overview{display:block}.workspace-content>.heading h1{font-size:25px}}

.file-row{flex-wrap:wrap;align-items:flex-start}.file-row .media-preview{display:block;width:min(100%,460px);height:auto;max-height:640px;object-fit:contain;object-position:top left;border-radius:12px;background:#f2f5f1}.file-row .document-preview{display:block;width:100%;height:560px;border:1px solid #dce5df;border-radius:12px}.file-row .file-info{flex:1 1 220px;min-width:0}.file-row .media-preview[hidden]{display:none}@media(max-width:760px){.file-row .media-preview{width:100%;max-height:none}.file-row .document-preview{height:440px}}

/* Clear inline guidance and media groups in the existing cabinet palette. */
.field-hint{display:block;font-size:14px;font-weight:400;color:var(--muted);margin:5px 0 10px;line-height:1.45}.field-error{display:block;color:#a62e25;font-size:14px;font-weight:500;margin-top:6px}[aria-invalid=true]{border-color:#b83a30!important;outline:2px solid #b83a3022}.profile-field{scroll-margin-top:30px}.media-group+.media-group{border-top:1px solid var(--border);margin-top:32px;padding-top:26px}.photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}.media-panel .file-row{display:flex;flex-direction:column;align-items:stretch;gap:12px;border:1px solid var(--border);border-radius:16px;padding:16px;margin:12px 0;background:#fff;min-width:0}.media-panel .media-preview{display:block;width:100%;height:260px;max-height:none;object-fit:contain;background:#f4f6f2;border-radius:10px}.media-panel .document-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:18px}.media-panel .document-preview{width:100%;height:420px;border:1px solid var(--border);border-radius:10px}.media-panel .file-info{min-width:0;overflow-wrap:anywhere}.media-panel .file-info button{margin:6px 8px 6px 0}.upload-area{background:#f0f5ee;border:1px dashed #91ad9d;border-radius:16px;padding:20px;margin-top:18px}.upload-area label{margin:0 0 14px}.upload-area input{background:white}.file-info label{margin-top:18px}.media-panel .file-row p{font-size:14px;color:var(--muted)}@media(max-width:600px){.photo-grid{grid-template-columns:1fr}.media-panel .document-grid{grid-template-columns:1fr}.upload-area{padding:14px}.media-panel .file-row{padding:12px}}

/* Comfortable reading width and a consistent rhythm for the questionnaire. */
main{max-width:1360px}
#profile-panels{width:100%;max-width:none;margin:0}
#profile-editor{display:grid;gap:36px}
#profile-editor fieldset{margin:0;display:grid;gap:24px}
#profile-editor legend{font-size:21px;margin-bottom:24px;padding-bottom:14px}
#profile-editor .profile-field{display:flex;flex-direction:column;gap:8px;margin:0;min-width:0;font-size:15px;font-weight:650}
#profile-editor .field-hint{margin:0;font-size:14px;font-weight:400}
#profile-editor input,#profile-editor textarea,#profile-editor select,.media-panel input,.media-panel select{font-size:16px;font-weight:400;line-height:1.5}
#profile-editor textarea{min-height:120px}
#profile-editor .check-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px}
#profile-editor .check-options label{min-height:44px;gap:10px;align-items:flex-start;padding:10px 0;font-size:15px;line-height:1.5}
#profile-editor .check-options label span{min-width:0;overflow-wrap:anywhere}
#profile-editor .check-options a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
#profile-editor .check-options input{flex:0 0 20px;margin-top:2px}
#profile-editor .profile-field>span:last-child:not(.field-error):not(.field-hint){font-size:14px;font-weight:400;color:var(--muted)}
#profile-form .form-actions{margin-top:28px;padding-top:24px;gap:12px}
.media-panel .file-info{flex:0 1 auto}
.media-panel .photo-grid,.media-panel .document-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px;align-items:start}
.media-panel .file-row{margin:0}
.media-panel .media-preview{object-position:center}
.media-panel .file-info label{gap:8px;margin-top:24px;margin-bottom:0}
.media-panel .file-info .field-hint{margin:0}
.media-panel .file-info p{margin-bottom:12px}
.media-group>p{max-width:65ch;margin-bottom:22px}
@media(max-width:600px){
 main{padding-inline:12px}
 #profile-panels .panel{padding:22px 16px}
 #profile-editor{gap:30px}
 #profile-editor fieldset{gap:24px}
 #profile-editor legend{font-size:20px;margin-bottom:20px}
 #profile-editor .check-options{grid-template-columns:1fr;gap:4px}
 .media-panel .photo-grid,.media-panel .document-grid{grid-template-columns:1fr}
 .media-panel input[type=file]{min-width:0;max-width:100%;font-size:14px}
 .sidebar nav button{white-space:normal;flex:1 1 130px}
 .specialist-identity{min-width:0}
 #specialist-name{overflow-wrap:anywhere}
}

.profile-final-actions{margin-top:28px;padding-top:24px;border-top:1px solid var(--border)}
.profile-final-actions .form-actions{border-top:0;padding-top:8px;gap:12px}

/* Shared media dimensions: a single document must not stretch across the page. */
.media-panel .document-preview{height:260px}
.workspace-content>.heading{width:100%}

/* Before publication, intake is guidance, not a second competing card. */
#profile-panels.intake-unavailable .profile-overview{grid-template-columns:minmax(0,1fr);gap:0}
#profile-panels.intake-unavailable .profile-overview>.next-step{margin-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:0}
#profile-panels.intake-unavailable .profile-overview>section.panel{padding-top:0;border-top:0;border-top-left-radius:0;border-top-right-radius:0}
#profile-panels.intake-unavailable .profile-overview>section.panel .panel-heading{display:none}
#profile-panels.intake-unavailable #availability-status{margin:0;color:var(--muted);font-size:14px}

/* Section editor: one working surface, all original controls retained. */
main{max-width:1360px;margin-top:24px}
.sidebar{padding:18px 22px;border-radius:18px;margin-bottom:26px}
.specialist-identity{margin-bottom:14px;gap:12px}
.avatar{width:48px;height:48px;flex-basis:48px;font-size:18px}
#specialist-name{font-size:18px}.specialist-identity .eyebrow{display:none}
#application-number{font-size:12px}.sidebar nav{gap:6px}
.sidebar nav button{font-size:14px;padding:10px 14px;min-height:44px}
.workspace-content>.heading h1{font-size:32px;letter-spacing:-.035em}
.profile-overview .panel{padding:22px 24px;border-radius:16px}
.profile-overview .next-step .badge{margin-bottom:10px}
.profile-overview p{margin-bottom:12px}.profile-overview h2{font-size:20px}
.profile-summary{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 20px;font-size:14px}
.profile-summary p{margin:0;color:var(--muted)}
.moderator-note{margin:0 0 24px;padding:20px 24px;border:1px solid #e8c88d;border-radius:14px;background:#fff7e7}
.moderator-note h2{font-size:17px;margin-bottom:8px}
#review-reason{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 10px}
.moderator-note .muted{margin:0}
.profile-editor-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;align-items:start}
#profile-section-nav{position:sticky;top:20px;padding:18px 12px;background:#eef3ef;border-radius:14px}
#profile-section-nav>.eyebrow,#profile-section-nav>.muted{padding:0 10px}
#profile-section-nav>.muted{font-size:12px;margin:18px 0 0}
#profile-section-buttons{display:grid;gap:6px}
#profile-section-buttons button{display:flex;align-items:center;gap:10px;text-align:left;font-size:14px;line-height:1.4;background:transparent;border:0;color:var(--forest);padding:12px 10px;width:100%;font-weight:550}
#profile-section-buttons button:hover{background:#e0e9df}
#profile-section-buttons button[aria-pressed=true]{background:#d5e59b;font-weight:750}
.section-number{font-size:12px;min-width:17px;color:#4b665b}
.profile-section-content{min-width:0}
#profile-fields-panel,.media-panel{padding:28px;border-radius:16px;margin:0}
#profile-editor{gap:28px}
#profile-editor fieldset{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px;scroll-margin-top:24px}
#profile-editor legend{font-size:23px;letter-spacing:-.025em;border-bottom:0;margin-bottom:22px;padding-bottom:0}
#profile-editor .profile-field{font-size:14px;gap:7px}
#profile-editor .field-hint{font-size:13px;line-height:1.45;font-weight:400}
#profile-editor .field-wide{grid-column:1/-1}
#profile-editor textarea{min-height:100px;max-height:420px}
#profile-editor input,#profile-editor select,#profile-editor textarea{border-color:#c5d4ca;border-radius:8px;padding:11px 12px}
.field-required{font-size:11px;font-weight:500;color:#6b756c}
#profile-editor .check-options{gap:6px 18px}
#profile-editor .check-options label{background:#f5f8f3;padding:10px 12px;border-radius:8px;font-size:14px}
#editor-contacts{border-top:1px solid var(--border);padding-top:24px}
#editor-contacts legend{font-size:18px}
.section-paging{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:18px 0 24px}
#profile-section-next{margin-left:auto}
.profile-final-actions{position:sticky;bottom:0;z-index:5;background:#fff;border:1px solid #dce5df;border-radius:14px;padding:16px 20px;margin-top:16px;box-shadow:0 -6px 24px #203f380a;display:flex;align-items:center;flex-wrap:wrap;gap:6px 20px}
.profile-final-actions>.muted{flex:1 1 100%;font-size:12px;margin:0;max-width:100ch}
#draft-state{flex:1 1 240px;font-size:13px;margin:0}
#profile-message{flex:1 1 100%;font-size:14px;margin:4px 0;order:3;max-height:120px;overflow:auto}
#profile-message:empty{display:none}
.profile-final-actions .form-actions{margin:0;padding:8px 0 0;border:0;gap:10px}
#profile-panels>details{margin-top:24px}
.media-panel .photo-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}
.media-panel .document-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:18px}
.media-panel .media-preview,.media-panel .document-preview{height:210px}
.media-panel .photo-grid .media-preview{object-fit:cover}
.media-panel .file-row{padding:12px;border-radius:12px;gap:10px}
.media-panel .file-info strong{font-size:13px;font-weight:550}
.media-panel .file-info p{font-size:12px;margin:6px 0}
.media-panel .file-info button{font-size:13px;padding:8px 10px}
.media-panel .file-info label{font-size:14px;margin-top:16px}
.media-panel .field-hint{font-size:12px}
.upload-area{padding:18px;border-radius:12px}
#profile-panels [data-editor-section]{scroll-margin-top:24px;scroll-margin-bottom:180px}
@media(max-width:900px){
 .profile-editor-layout{grid-template-columns:190px minmax(0,1fr);gap:16px}
 #profile-fields-panel,.media-panel{padding:22px}
 #profile-editor fieldset{column-gap:16px}
 .profile-final-actions{padding:12px 16px}
}
@media(max-width:700px){
 .sidebar{padding:16px;margin-bottom:22px}
 .sidebar nav{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}
 .sidebar nav button{flex:0 0 auto;white-space:nowrap;font-size:13px}
 .workspace-content>.heading h1{font-size:27px}
 .profile-editor-layout{display:block}
 #profile-section-nav{position:static;padding:10px;margin-bottom:16px}
 #profile-section-nav>.eyebrow,#profile-section-nav>.muted:last-child{display:none}
 #profile-section-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 #profile-section-buttons button{font-size:13px;padding:10px 8px;min-height:48px;gap:7px}
 #profile-section-position{margin-top:10px!important}
 #profile-fields-panel,.media-panel{padding:22px 16px}
 #profile-editor fieldset{grid-template-columns:1fr;gap:22px}
 #profile-editor .check-options{grid-template-columns:1fr}
 #profile-editor legend{font-size:21px}
 .profile-final-actions{gap:6px;padding:12px;border-radius:12px 12px 0 0;bottom:0}
 .profile-final-actions>.muted{display:none}
 #draft-state{font-size:12px;flex-basis:100%}
 .profile-final-actions .form-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}
 .profile-final-actions .form-actions button{font-size:13px;padding:10px 8px;min-height:48px}
 #reload-profile{grid-column:1/-1}
 .section-paging button{font-size:13px}
 #profile-panels [data-editor-section]{scroll-margin-top:12px}
 .media-panel .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .media-panel .photo-grid .media-preview{height:160px}
 .media-panel .document-grid{grid-template-columns:1fr}
 .profile-overview .panel{padding:20px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Keep the actual editor in view above the fold. */
@media(min-width:1001px){
 header{padding-top:12px;padding-bottom:12px}
 .sidebar{display:flex;align-items:center;gap:24px;padding:14px 18px;margin-bottom:20px}
 .specialist-identity{margin:0;flex:0 1 230px;min-width:170px}
 .sidebar nav{flex:1;gap:2px;justify-content:flex-end}
 .sidebar nav button{padding:10px;font-size:13px}
 #specialist-name{font-size:16px}
}
.profile-overview .next-step{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 20px}
.profile-overview .next-step .badge{display:none}
.profile-overview .next-step h2{margin:0;font-size:18px}
.profile-overview .next-step p{grid-column:1;font-size:14px;margin:0;max-width:90ch}
.profile-overview .next-step #next-action{grid-column:2;grid-row:1/3;align-self:center;font-size:13px}
.profile-overview .next-step #public-profile-link{grid-column:1;font-size:13px;justify-self:start}
.profile-overview .panel{padding:16px 20px}
#profile-panels.intake-unavailable .profile-overview>section.panel{padding-top:0;padding-bottom:14px}
.profile-summary{margin:12px 0;font-size:13px}
.moderator-note{padding:14px 18px;margin-bottom:18px}
.moderator-note h2{font-size:15px;margin-bottom:5px}
.moderator-note p{font-size:14px}
.moderator-note>.muted{display:none}
.profile-final-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 20px}
.profile-final-actions>.muted{grid-column:1;grid-row:2;font-size:11px}
.publication-consent-check{grid-column:1;grid-row:3;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px;max-width:100ch;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.publication-consent-check input{margin-top:3px}
.publication-consent-check a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
#draft-state{grid-column:1;grid-row:1}
.profile-final-actions .form-actions{grid-column:2;grid-row:1/4;padding:0}
#profile-message{grid-column:1/-1;grid-row:4}
@media(max-width:700px){
 .profile-overview .next-step{grid-template-columns:1fr}
 .profile-overview .next-step #next-action{grid-column:1;grid-row:auto;justify-self:start}
 .profile-final-actions{display:block}
 .publication-consent-check{display:grid;margin:10px 0}
 .profile-final-actions .form-actions{margin-top:8px}
 #draft-state{margin:0}
 .profile-overview .panel{padding:16px}
}
@media(min-width:1001px){
 .profile-context{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 18px;align-items:start}
 .profile-context .profile-overview{grid-column:1;grid-row:1;display:block}
 .profile-context .moderator-note{grid-column:2;grid-row:1;margin:0}
 .profile-context .profile-summary{grid-column:1/-1;grid-row:2;margin:10px 0 18px}
 .profile-context:not(:has(.moderator-note:not([hidden]))){grid-template-columns:1fr}
 .profile-context:not(:has(.moderator-note:not([hidden]))) .profile-overview{display:grid}
 .profile-context .next-step{column-gap:12px}
 .profile-context .next-step #next-action{max-width:160px}
 .profile-context .profile-overview>.panel{margin-bottom:0}
}
/* Selected media layout: library and one contextual editor. */
.media-workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.85fr);gap:28px;align-items:start}
#media-library{min-width:0}.media-block-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.media-block-heading h3{margin:0}.media-block-heading form{margin:0}.media-block-heading button{white-space:nowrap}
#photos-block,#documents-block{padding:0;border:0;background:none}#documents-block{margin-top:32px}
#photo-files{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#document-files,#unused-file-list{display:grid;grid-template-columns:1fr;gap:10px}
.media-item{background:white;color:var(--ink,#213e35);border:1px solid #d5e1da;border-radius:14px;padding:10px;text-align:left;min-width:0;width:100%;font-weight:400;overflow:hidden}
.media-item[aria-pressed=true]{border:2px solid #39766a;background:#f0f6f2;padding:9px;box-shadow:0 0 0 2px #39766a12}
.media-item-info{display:grid;gap:5px;min-width:0;max-width:100%}.media-item-info strong{font-size:14px;min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word}.media-item-info>span{font-size:12px;color:#62766e;min-width:0;max-width:100%;overflow-wrap:anywhere}
.photo-item .file-preview{aspect-ratio:1;height:auto;margin:0 0 10px;display:flex;align-items:center;justify-content:center;background:#edf2ee;border-radius:9px;overflow:hidden}
.photo-item .file-preview img{width:100%;height:100%;object-fit:cover;max-height:none}
.document-item{display:flex;gap:14px;align-items:center}.document-item .file-preview{width:58px;height:72px;flex:0 0 58px;margin:0;background:#edf2ee;display:flex;align-items:center;justify-content:center;border-radius:6px;overflow:hidden}.document-item .file-preview img{width:100%;height:100%;object-fit:contain}
#media-inspector{background:#f5f8f4;border:1px solid #d5e1da;border-radius:18px;padding:22px;display:grid;gap:16px;min-width:0;max-width:100%;overflow:hidden}#media-inspector h3,#media-inspector p{margin:0;min-width:0;max-width:100%;overflow-wrap:anywhere}#media-inspector label{margin:0;display:grid;gap:7px;font-size:14px;min-width:0;max-width:100%}#media-inspector input,#media-inspector select{min-width:0;max-width:100%;width:100%}#media-inspector .file-preview{margin:0;background:white;border-radius:10px;overflow:hidden;display:flex;justify-content:center;align-items:center;min-height:120px;min-width:0;max-width:100%}#media-inspector .file-preview img{display:block;width:100%;height:220px;object-fit:contain}#media-inspector iframe{width:100%;height:300px;border:0}#media-inspector button{width:100%}.media-remove{background:none!important;color:#966052!important;border:0!important;font-size:14px;padding:10px!important}
#unused-files{margin-top:24px}#unused-files summary{cursor:pointer;color:#62766e;margin-bottom:12px}#media-undo{padding:12px;background:#eef5ee;border-radius:10px}#media-undo button{background:none;color:#2b6658;border:0;text-decoration:underline}
@media(max-width:1050px){.media-workspace{grid-template-columns:minmax(0,1fr)}#media-inspector{margin-top:8px}#photo-files{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.media-block-heading{align-items:flex-start;flex-wrap:wrap;gap:12px}.media-block-heading button{padding:10px 14px;font-size:14px}#photo-files{grid-template-columns:repeat(2,minmax(0,1fr))}#media-inspector{padding:16px}.media-item-info strong{font-size:13px}}

#media-inspector{grid-column:1/-1}.media-workspace>#media-inspector{grid-column:auto}

.section-missing{margin-left:auto;background:#f5e7cf;color:#6c4f20;border-radius:20px;min-width:22px;padding:2px 6px;font-size:12px;text-align:center}#document-count{font-size:13px;color:#65796e;white-space:nowrap}#media-recovery{padding:14px;background:#f3f6ef;border-radius:12px;margin-top:16px}#media-recovery .actions{flex-wrap:wrap}#profile-message:empty{display:none}#media-inspector input[readonly]{background:#edf0ec}
#profile-section-buttons button>span:nth-child(2){min-width:0;overflow-wrap:anywhere}
#profile-section-buttons .section-missing{flex-shrink:0}
@media(max-width:560px){#draft-state{font-size:12px}#profile-message{font-size:13px;line-height:1.35}}

.document-item .file-preview canvas{width:100%;height:100%;object-fit:contain}#media-inspector .file-preview canvas{display:block;width:100%;height:220px;object-fit:contain}

.work-feature-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}
.work-feature-fields label{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0}
.work-feature-fields input::placeholder{color:#75817b;opacity:1}
.field-destination{display:block;margin:8px 0;color:#246952;font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.profile-publication-guide{padding:16px 18px;margin:0 0 20px;border-radius:14px;background:#edf5f0;color:#365f50;font-size:14px;line-height:1.6}

.photo-framing{min-width:0;margin:20px 0;padding:20px;border:1px solid #dce7e2;border-radius:16px;background:#f3f8f5}.photo-framing legend{font-weight:700;padding:0 8px;font-size:18px}.photo-framing>label{display:flex;align-items:center;gap:8px}.photo-framing input[type=checkbox]{width:22px;height:22px}.photo-frame-controls{display:grid;gap:12px;margin:16px 0}.photo-frame-controls label{display:grid;grid-template-columns:1fr auto;gap:8px}.photo-frame-controls input{grid-column:1/-1;width:100%;min-width:0;accent-color:#327d65}.photo-frame-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.photo-frame-previews figure{margin:0;min-width:0}.photo-frame-preview{display:block;width:100%;height:auto;border-radius:12px;background:#e8efeb}.photo-frame-previews figcaption{font-size:12px;margin-top:8px;line-height:1.4}#specialist-photo-frame{width:100%;height:100%;object-fit:cover}.photo-framing>p{font-size:14px;line-height:1.5}.photo-framing button{max-width:100%;white-space:normal}@media(max-width:600px){.photo-framing{padding:14px}.photo-frame-previews{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-frame-previews figure:last-child{grid-column:1/-1;max-width:240px;margin:auto}.photo-framing legend{font-size:16px}}

#media-inspector .photo-framing>label{display:flex;flex-direction:row;align-items:center;gap:10px;margin:12px 0}#media-inspector .photo-framing input[type=checkbox]{width:22px;height:22px;flex:0 0 22px}
