/* Shared visual language with the candidate profile: warm canvas, quiet cards, Arial typography. */
.candidate-header{position:relative;top:auto;height:auto}
.candidate-header-inner{min-height:108px;height:auto;padding:12px 0;gap:20px}
.candidate-header .candidate-brand img{width:190px;height:84px;max-height:84px}
.candidate-profile-body .profile-page{padding-top:32px}
.candidate-profile-body .profile-photo-panel,.candidate-profile-body .profile-draft-panel{padding:24px;border:1px solid #d9c8af;border-radius:18px;background:#fff;box-shadow:0 9px 26px #16263b0b}
.candidate-profile-body .profile-photo-panel{align-items:flex-start;gap:22px}
.candidate-profile-body .profile-photo-panel h2{margin:0 0 12px;font-size:23px}
.candidate-profile-body .profile-photo-panel p,.candidate-profile-body .profile-draft-panel p{color:var(--muted);font-size:14px;line-height:1.65;margin:10px 0 16px}
.candidate-profile-body .profile-photo-panel small{font-size:12px;line-height:1.6;color:var(--muted)}
.candidate-profile-body .profile-photo-panel input[type=file]{width:100%;padding:10px;border:1px solid var(--line);border-radius:10px;background:#faf8f5;font:inherit;font-size:13px}
.candidate-profile-body .profile-photo-panel input::file-selector-button{padding:9px 12px;margin-right:12px;border:1px solid #dfc9a8;border-radius:8px;background:#f3eadc;color:#79572c;font-weight:600;cursor:pointer}
.candidate-profile-body .profile-photo-panel [hidden],.candidate-profile-body .profile-draft-panel [hidden]{display:none!important}
.candidate-profile-body .profile-draft-panel>strong{display:block;font-size:18px}
.candidate-profile-body .profile-draft-panel .inline-actions{gap:10px}
.candidate-profile-body .profile-draft-panel button{padding:12px 16px;min-height:44px;border-radius:10px;font-family:inherit}
.candidate-profile-body .profile-draft-panel [data-draft-status]{margin:14px 0 0}
.shared-reference-panel{min-width:0}
.shared-reference-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0 0;padding:18px;background:#faf8f5;border:1px solid var(--line);border-radius:12px}
.shared-reference-fields>div{min-width:0}
.shared-reference-fields dt{color:#79572c;font-size:12px;font-weight:700;margin-bottom:6px}
.shared-reference-fields dd{margin:0;font-size:14px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}
@media(max-width:760px){.candidate-profile-body .candidate-header-inner{gap:10px;min-height:0}.candidate-profile-body .candidate-header .candidate-brand img{width:150px;height:66px}.candidate-profile-body .candidate-header nav{flex-wrap:wrap;overflow:visible}.candidate-profile-body .profile-title{align-items:flex-start;flex-wrap:wrap;gap:12px}.candidate-profile-body .profile-photo-panel,.candidate-profile-body .profile-draft-panel{padding:18px}.candidate-profile-body .profile-photo-panel>div{flex-basis:100%}.shared-reference-fields{grid-template-columns:1fr}}
/* Platform pages reuse the profile palette without changing existing workflows. */
.platform-page{font-family:Arial,Helvetica,sans-serif;color:var(--ink);min-width:0}
.content-panel,.platform-page>.panel{padding:24px;margin-bottom:22px;min-width:0;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 10px 30px #202d3d05}
.content-panel>h2{margin:0 0 16px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.next-work-content{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px}
.next-work-details{display:flex;flex-wrap:wrap;gap:18px 40px;margin:0;min-width:0}
.next-work-details dt{font-size:12px;font-weight:600;color:var(--muted);margin-bottom:7px}
.next-work-details dd{margin:0;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.next-work-content>.secondary-button{max-width:100%;white-space:normal;text-align:center}
.admin-body .candidate-header-actions>a.primary-button{display:flex;align-items:center;justify-content:center;height:auto;min-height:46px;padding:12px 16px;line-height:1.4}
.content-empty{padding:24px;margin:0;color:var(--muted);font-size:14px;line-height:1.6;text-align:center;background:#faf8f5;border:1px dashed var(--line);border-radius:12px}
@media(max-width:760px){.content-panel{padding:18px;margin-bottom:16px}.next-work-content{align-items:stretch;flex-direction:column}.next-work-content>.secondary-button{width:100%}.next-work-details{gap:18px}.next-work-details>div{flex:1 1 160px}}
.platform-page .page-header p{max-width:850px}
.platform-page .panel>h2{margin:0 0 16px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.platform-page .panel>p{margin:0 0 18px;color:var(--muted);font-size:14px;line-height:1.7}
.platform-page .panel>p:last-child{margin-bottom:0}
.platform-page .platform-filter{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:16px}
.platform-page .platform-filter label{display:grid;gap:8px;min-width:0;font-size:13px;font-weight:600}
.platform-page .platform-filter select{width:100%;height:46px;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font:inherit;background:#fff}
.platform-page .platform-primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 18px;border:1px solid var(--gold);border-radius:10px;background:var(--gold);color:#fff;font:700 14px Arial,Helvetica,sans-serif;cursor:pointer}
.platform-page .platform-primary:hover{filter:brightness(.93)}
.platform-page .table-scroll{max-width:100%;border:1px solid var(--line);border-radius:14px;overflow:auto}
.platform-page table{min-width:660px}
.platform-page table th{background:#f8f6f2;color:#746552;padding:14px 16px;font-size:11px;letter-spacing:.04em}
.platform-page table td{padding:16px;font-size:13px;line-height:1.6;overflow-wrap:anywhere;max-width:380px}
.platform-page table td a{color:#79572c;font-weight:600;text-decoration:none}
.platform-page table td a:hover{text-decoration:underline}
.platform-page table td small{font-size:12px;line-height:1.5;margin-top:6px}
.platform-page table ul{margin:0;padding-left:18px;min-width:150px}
.platform-page table li+li{margin-top:8px}
.platform-page .platform-list-item{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:18px;margin-bottom:12px;border:1px solid var(--line);border-radius:14px;background:#faf8f5}
.platform-page .platform-list-item:last-child{margin-bottom:0}
.platform-page .platform-list-item>p{flex-basis:100%;margin:0;color:var(--muted);font-size:14px}
.platform-page .platform-list-item>a:not(.secondary-button){color:#79572c;font-size:13px;font-weight:600}
.platform-page .platform-selection{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;max-height:360px;overflow:auto;padding:2px;margin-bottom:20px}
.platform-page .platform-selection label{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid var(--line);border-radius:10px;background:#faf8f5;font-size:14px;cursor:pointer}
.platform-page .platform-selection label:has(input:checked){background:#f3eadc;border-color:var(--gold)}
.platform-page .platform-selection input{width:18px;height:18px;flex-shrink:0;accent-color:var(--gold)}
.platform-page .platform-status{display:inline-flex;padding:5px 10px;border-radius:999px;background:#f3eadc;color:#79572c;font-size:12px;font-weight:700}
.platform-page .platform-status[data-status=SENT]{background:#e9f7f1;color:#087258}
.platform-page .platform-status[data-status=FAILED]{background:#fff0ed;color:#a23d30}
.platform-page .platform-status[data-status=CANCELLED]{background:#f0f1f2;color:#606974}
.platform-page .mail-countdown{display:block;min-width:110px;color:#79572c;font-size:13px;font-variant-numeric:tabular-nums}
.platform-page .mail-countdown.is-due{color:#087258}
.platform-page .mail-queue-actions{display:grid;gap:8px;min-width:112px}
.platform-page .mail-queue-actions form{margin:0}
.platform-page .mail-queue-actions .platform-primary{width:100%;white-space:nowrap}
.platform-page :is(a,button,select,input,.table-scroll):focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.platform-page.profile-page{width:min(1180px,calc(100% - 32px));margin:36px auto}
@media(max-width:760px){.platform-page>.panel{padding:18px;margin-bottom:16px}.platform-page .platform-filter{grid-template-columns:1fr}.platform-page .platform-primary{width:100%}.platform-page .platform-selection{grid-template-columns:1fr}.platform-page .page-header>.secondary-button{width:100%}.platform-page .platform-list-item{padding:14px}.platform-page.profile-page{margin:24px auto}}
body.admin-body{font-family:Arial,Helvetica,sans-serif;background:var(--soft);color:var(--ink);--admin-navy:var(--ink);--admin-border:var(--line);--admin-muted:var(--muted)}
.admin-body .admin-main{background:var(--soft);padding-top:46px}
.admin-body .admin-sidebar{background:#fff;color:var(--ink);border-right:1px solid var(--line);box-shadow:4px 0 24px #202d3d05}
.admin-body .admin-sidebar{padding-top:0}
.admin-body .admin-brand{border-bottom:1px solid var(--line);padding:0;justify-content:center;flex-shrink:0}
.admin-body .admin-brand img{display:block;width:200px;height:200px;object-fit:contain;padding:0;margin:0}
.admin-body .admin-sidebar nav{margin-top:4px}
.admin-body .admin-sidebar nav a{color:#46505c;font-size:14px;font-weight:600;padding:12px 14px}
.admin-body .admin-sidebar nav a:hover,.admin-body .admin-sidebar nav a:focus-visible{background:#f5f2ed;border-color:var(--line);color:var(--ink);transform:none}
.admin-body .admin-sidebar nav a.is-active{color:#785525;background:#f3eadc;border-color:#dfc9a8}
.admin-body .admin-sidebar .nav-section{color:#947044;font-size:10px;letter-spacing:.12em;line-height:1.6}
.admin-body .admin-user{background:#f8f6f2;border:1px solid var(--line);border-radius:16px;color:var(--ink)}
.admin-body .admin-user strong{color:var(--ink)}
.admin-body .admin-user small{color:var(--muted)}
.admin-body .admin-user form button{color:#79572c}
.admin-body .admin-sidebar-close{color:var(--ink)}
.admin-body .page-header{margin-bottom:30px;gap:20px;flex-wrap:wrap}
.admin-body .page-header h1{font-size:clamp(32px,3.4vw,52px);letter-spacing:-.035em;line-height:1.12;color:var(--ink)}
.admin-body .page-header p{font-size:15px;line-height:1.65;color:var(--muted)}
.admin-body h2{letter-spacing:-.02em;line-height:1.3}
.admin-body .panel,.admin-body .project-card,.admin-body .metric-grid article{border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 30px #202d3d05;background:#fff}
.admin-body .panel h2{font-size:23px;margin-top:0}
.admin-body .form-panel,.admin-body .detail-section{padding:24px}
.admin-body .stack-form{align-content:start;align-items:start;grid-auto-rows:auto}
.admin-body .stack-form label,.admin-body .admin-form label,.admin-body .filter-bar label{font-size:13px;font-weight:600;line-height:1.5}
.admin-body input,.admin-body select,.admin-body textarea,.admin-body button{font-family:inherit}
.admin-body .stack-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.admin-body .stack-form select,.admin-body .admin-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.admin-body .admin-form select{height:46px;min-height:46px;font-size:14px;font-weight:400;border-radius:10px;border-color:var(--line)}
.admin-body .stack-form textarea,.admin-body .admin-form textarea{font-size:14px;font-weight:400;line-height:1.6;border-radius:10px;border-color:var(--line)}
.admin-body :is(input,select,textarea):focus-visible{outline:2px solid #b88c50;outline-offset:2px}
.admin-body :is(a,button,summary):focus-visible{outline:2px solid #b88c50;outline-offset:3px}
.admin-body .stack-form>button{height:auto;min-height:44px;padding:12px 18px;align-self:start;border-radius:10px;font-size:14px;font-weight:700}
.admin-body .secondary-button,.admin-body .button-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 16px;text-decoration:none;font-size:13px;font-weight:600;border-radius:10px}
.admin-body .form-help,.admin-body .muted{line-height:1.6}
.admin-body .operation-grid{align-items:start}
.admin-body .operation-grid>.stack-form{height:auto;align-self:start;gap:14px}
.admin-body table th{background:#f8f6f2;color:#746552;letter-spacing:.04em;font-size:11px}
.admin-body table td{font-size:13px;line-height:1.5;padding-top:18px;padding-bottom:18px}
.admin-body .kanban-column{background:#ebe7e0;border-radius:16px}
.admin-body .kanban-card{border-radius:13px;border-color:var(--line);box-shadow:0 4px 12px #202d3d05}
.admin-body .kanban-stage-actions{display:grid;gap:7px;margin-top:12px}
.admin-body .kanban-stage-actions a{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px;background:#f6f0e7;border:1px solid #dfc9a8;border-radius:9px;font-weight:600}
.admin-body .kanban-stage-actions a span{color:#785525;font-size:12px}
.admin-body .kanban-stage-actions a:hover{background:#eadbc4}
.admin-body .kanban-process-mail-form{margin:0}
.admin-body .kanban-process-mail-form button,.admin-body .kanban-process-mail-status{display:flex;width:100%;min-height:40px;align-items:center;justify-content:center;gap:6px;padding:10px 12px;border:1px solid #cfa76e;border-radius:9px;background:#b88c50;color:#fff;font:700 12px Arial,Helvetica,sans-serif;text-align:center;text-decoration:none;cursor:pointer}
.admin-body .kanban-process-mail-form button:hover{background:#a77d43}
.admin-body .kanban-process-mail-form button:focus-visible,.admin-body .kanban-process-mail-status:focus-visible{outline:2px solid #8d632d;outline-offset:2px}
.admin-body .kanban-process-mail-status{flex-direction:column;cursor:pointer}
.admin-body .kanban-process-mail-status small{margin:0;color:inherit;font-size:10px;font-weight:500}
.admin-body .kanban-process-mail-status.is-sent{border-color:#86d9a7;background:#ecfdf3;color:#166534}
.admin-body .kanban-process-mail-status.is-pending{border-color:#dfc9a8;background:#fff7e8;color:#79572c}
.admin-body .kanban-process-mail-status.is-failed{border-color:#f3aaaa;background:#fff2f2;color:#a91d2a}
.admin-body .video-section-anchor{grid-column:1/-1;font-size:13px;padding:4px 0}
.admin-body :is(form,section,div)[id]{scroll-margin-top:30px}
.admin-body :is(form,section,div):target{outline:3px solid #b88c50;outline-offset:5px}
.admin-body .library-layout{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(0,1.3fr);gap:22px;align-items:start}
.admin-body .library-list{display:grid;gap:14px}
.admin-body .library-list article{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:20px;border:1px solid var(--line);border-radius:14px;background:#fff}
.admin-body .library-list h3{margin:0 0 8px;font-size:17px}
.admin-body .library-list p{margin:0 0 6px;color:var(--muted);font-size:14px}
.admin-body .library-list small{color:var(--muted);line-height:1.5}
.admin-body .library-list details{width:100%;border-top:1px solid var(--line);padding-top:12px;font-size:14px;line-height:1.7}
.admin-body .library-list summary{cursor:pointer;color:#79572c;font-weight:600}
@media(max-width:1000px){.admin-body .library-layout{grid-template-columns:1fr}}
.admin-body .recipient-results{max-height:260px;overflow:auto;margin-top:7px;padding:7px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 10px 28px #202d3d12}
.admin-body .recipient-results[hidden],.admin-body [data-field-options][hidden]{display:none}
.admin-body .recipient-results button{display:grid;gap:5px;width:100%;height:auto;padding:12px;text-align:left;color:var(--ink);background:#fff;border:0;border-radius:8px}
.admin-body .recipient-results button:hover,.admin-body .recipient-results button:focus{background:#f3eadc}
.admin-body .recipient-results button[hidden]{display:none}
.admin-body .recipient-results small{color:var(--muted);font-weight:400}
.admin-body .assessment-candidate-option{display:flex;align-items:center;gap:9px}
.admin-body .assessment-candidate-option input{width:18px;height:18px;min-height:18px}
.admin-body [data-builder-field]{display:grid;gap:12px;padding:16px;margin:0 0 14px;border:1px solid var(--line);border-radius:12px}
.admin-body [data-builder-field] legend{font-weight:700;color:#79572c}
.admin-body [data-builder-field] button{background:#f3eadc;color:#79572c}
.admin-body.kanban-expanded .kanban-board{gap:6px}
.admin-body.kanban-expanded .kanban-column{min-width:0;width:auto;padding:7px;overflow-wrap:anywhere}
.admin-body.kanban-expanded .kanban-column.is-empty{padding:6px}
.admin-body.kanban-expanded .kanban-column.is-empty>header{flex-direction:column-reverse;gap:14px}
.admin-body.kanban-expanded .kanban-column.is-empty h2{writing-mode:vertical-rl;min-height:130px;text-align:left;white-space:normal}
.admin-body.kanban-expanded .kanban-column.is-empty .kanban-column-cards{min-height:180px}
.admin-body.kanban-expanded .kanban-column.is-empty.is-drag-over{background:#f1dbb7;outline:2px solid var(--gold);outline-offset:-2px}
.admin-body.kanban-expanded .kanban-column.is-empty.is-drag-over .kanban-column-cards:after{content:"↓";min-height:60px;font-size:22px}
.kanban-fixed-scroll{position:fixed;bottom:0;height:24px;overflow-x:scroll;overflow-y:hidden;z-index:40;background:#e8e1d7;border-top:1px solid #c9b89e;scrollbar-color:#ad8551 #ece5da;box-shadow:0 -4px 15px #202d3d12}
.kanban-fixed-scroll>div{height:1px}
.has-kanban .admin-main{padding-bottom:55px!important}
.admin-body .notice.notice-success,.admin-body .notice.success{background:#ecfdf3;border:1px solid #86d9a7;color:#166534;font-weight:700}
.admin-body .notice.notice-error{background:#fff2f2;border:1px solid #f3aaaa;color:#a91d2a}
@media(max-width:760px){.admin-body .admin-main{padding:76px 16px 36px}.admin-body .form-panel,.admin-body .detail-section{padding:19px}.admin-body .page-header h1{font-size:32px}}
.admin-body .interview-sticky-header{position:sticky;top:0;z-index:35;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 16px;margin-bottom:20px;box-shadow:0 5px 18px #202d3d12}
.admin-body .interview-sticky-header .page-header{margin:0 0 10px;padding-left:112px;gap:12px;align-items:center;flex-wrap:nowrap;min-height:44px}
.admin-body .interview-sticky-header .candidate-photo{position:absolute;left:16px;top:12px;width:100px;height:100px;min-width:100px;object-fit:cover;border-radius:16px}
.admin-body .interview-sticky-header .page-header>div{min-width:0;flex:1}
.admin-body .interview-sticky-header h1{font-size:24px;margin:0}
.admin-body .interview-sticky-header .page-header p{margin:3px 0;font-size:12px}
.interview-section-nav{display:flex;flex-wrap:wrap;gap:6px;overflow:visible;margin-left:112px;padding:3px 0 4px;min-height:46px}
.interview-section-nav a{flex:0 1 auto;white-space:normal;max-width:100%;padding:7px 10px;border:1px solid #d5c5af;border-radius:8px;color:#674619;background:#faf7f2;font-size:12px;font-weight:700;text-decoration:none}
.interview-section-nav a:hover,.interview-section-nav a:focus-visible,.interview-section-nav a[aria-current]{background:#ede2d1;border-color:#a98045}
@media(max-width:760px){.admin-body .interview-sticky-header{top:60px;padding:9px}.admin-body .interview-sticky-header .page-header{flex-direction:row}.admin-body .interview-sticky-header h1{font-size:18px}.interview-sticky-header .page-header>.secondary-button{font-size:11px;padding:6px}.interview-sticky-header .eyebrow{display:none}}
@media(max-width:760px){.admin-body .interview-sticky-header .candidate-photo{width:64px;height:64px;min-width:64px;left:9px;top:9px}.admin-body .interview-sticky-header .page-header{padding-left:76px}.interview-section-nav{margin-left:76px;gap:4px}.interview-section-nav a{padding:5px 7px;font-size:11px}}
.admin-body .candidate-sticky-header{position:sticky;top:0;z-index:35;display:grid;grid-template-columns:100px minmax(0,1fr) auto;align-items:center;gap:16px;padding:12px 16px;margin-bottom:20px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 5px 18px #202d3d12}
.admin-body .candidate-sticky-header .candidate-photo{width:100px;height:100px;min-width:100px;object-fit:cover;border-radius:16px}
.admin-body .candidate-sticky-header h1{font-size:24px;margin:0;overflow-wrap:anywhere}
.admin-body .candidate-sticky-header p{font-size:13px;margin:5px 0 0}
.candidate-header-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.candidate-header-actions>a,.candidate-header-actions button{display:block;width:100%;text-align:center;text-decoration:none}
.candidate-header-actions form{margin:0}
@media(max-width:760px){.admin-body .candidate-sticky-header{top:60px;grid-template-columns:64px minmax(0,1fr);gap:10px;padding:9px}.admin-body .candidate-sticky-header .candidate-photo{width:64px;height:64px;min-width:64px}.admin-body .candidate-sticky-header h1{font-size:18px}.candidate-sticky-header .candidate-header-actions{grid-column:2;align-items:stretch}.candidate-sticky-header .candidate-header-actions>a,.candidate-sticky-header .candidate-header-actions button{font-size:11px;padding:6px 9px}}
