/* Selected U2 design: compact crest, navy header, white navigation and work area. */
:root{--navy:#0b2946;--navy-dark:#0b2946;--teal:#386b25;--teal-light:#edf4e9;--ink:#173249;--muted:#607282;--line:#dce4e9;--border:#dce4e9;--bg:#f4f6f7;--brand-gold:#cfac65;--shadow:none;--portal-header-height:78px}
body{font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--ink)}
.proper-brand{display:flex;align-items:center;gap:13px;flex-shrink:0;color:#fff}
.proper-emblem{position:relative;display:block;width:65px;height:76px;overflow:hidden;mix-blend-mode:screen;flex-shrink:0}
.proper-emblem img{position:absolute;display:block;width:185px;height:185px;max-width:none;left:-60px;top:-26px}
.proper-wordmark{display:flex;flex-direction:column;line-height:1.12;flex-shrink:0}
.proper-wordmark b{font-size:28px;letter-spacing:.08em;font-weight:700;color:#fff}
.proper-wordmark span{font-size:10px;letter-spacing:.15em;font-weight:600;color:#c6d4de;margin-top:5px}
.proper-wordmark small{font-size:10px;letter-spacing:.25em;color:var(--brand-gold);margin-top:6px}
.portal-brand .proper-emblem{width:36px;height:42px}.portal-brand .proper-emblem img{width:102px;height:102px;left:-33px;top:-14px}
.portal-brand .proper-wordmark b{font-size:22px}.portal-brand .proper-wordmark span{font-size:9px;color:#fff;letter-spacing:.12em}
.shell{min-height:100vh}.sidebar{inset:var(--portal-header-height) auto 0 0;width:210px;padding:30px 18px 24px;background:#fff;color:var(--ink);border-right:1px solid var(--line)}
.workspace-label{color:var(--muted);font-size:10px;letter-spacing:.1em;padding:0 10px 14px}.navigation{gap:5px}
.nav-button{color:var(--muted);border-radius:6px;padding:12px 10px;font-size:13px;gap:10px}.nav-button:hover{background:#f4f6f7;color:var(--ink)}
.nav-button.active{color:var(--ink);background:#f0f3f5;box-shadow:none;font-weight:600}.nav-button .count{background:var(--teal-light);color:var(--teal)}
.sidebar-foot{color:var(--muted);border-color:var(--line);padding:20px 10px 0}.sidebar-foot strong{color:var(--ink);font-weight:600}.sidebar-foot .environment{color:var(--teal)}
.main-shell{width:calc(100% - 210px);margin-left:210px}.topbar{position:fixed;inset:0 0 auto 0;z-index:30;height:var(--portal-header-height);padding:0 30px;background:var(--navy);border-bottom:1px solid #254159;color:#fff;gap:20px}
.topbar-left{color:#fff;font-weight:400;min-width:0}.topbar-controls{gap:12px;margin-left:auto}.topbar .language-group{padding:0;background:transparent}
.topbar .language-group button{color:#c6d4de;background:transparent;padding:6px 8px;box-shadow:none;border-radius:5px;font-size:12px}
.topbar .language-group button.selected{color:#fff;background:#ffffff14}.topbar .role-select{background:transparent;border-color:#ffffff38;color:#fff;padding:7px 9px;max-width:240px;font-size:12px}
.topbar .role-select option{color:var(--ink);background:#fff}.topbar .button{background:transparent;color:#fff;border-color:#ffffff38;box-shadow:none}.topbar .button:hover{background:#ffffff12}
.topbar .avatar{background:#ffffff15;color:#fff}.topbar-controls .account-pill{color:#fff;background:transparent}
.content{max-width:1480px;margin:auto;padding:calc(var(--portal-header-height) + 36px) 32px 40px}
h1{font-size:30px;line-height:1.2;font-weight:500;letter-spacing:-.6px}.page-heading{margin-bottom:26px}.page-heading p{font-size:14px;color:var(--muted);line-height:1.6}
.page-heading .eyebrow{font-size:10px;font-weight:600;letter-spacing:.12em}.page-heading .button{align-self:center}
.card,.metric{border-color:var(--line);border-radius:10px;box-shadow:none;background:#fff}.card-heading{padding:20px 22px}.card-heading h2{font-size:17px;font-weight:600}
.card-body{padding:22px}.card-heading p{font-size:12px;line-height:1.5}.metrics{gap:18px}.metric{padding:23px 22px}.metric-top{font-size:13px}.metric-bottom{font-size:11px;line-height:1.5}.metric-number{font-weight:600}
.dashboard-columns{align-items:start}
.button{font-size:13px;font-weight:600;min-height:42px;border-radius:7px;padding:11px 16px;box-shadow:none}.button.primary{background:var(--teal);border-color:var(--teal);box-shadow:none}
.button.primary:hover{background:#2c571c;border-color:#2c571c}.button.compact{font-size:12px;min-height:34px;padding:7px 11px}.text-button{font-weight:600;font-size:12px}
th{font-size:11px;letter-spacing:.025em;background:#fafbfc;padding:15px 20px}td{font-size:13px;padding:19px 20px}.candidate-sub{font-size:11px;margin-top:4px}.candidate-name{font-size:14px}.status{font-size:11px;padding:5px 8px;font-weight:600}
.status.good,.status.pass{background:var(--teal-light);color:#386322}.status.neutral{background:#eef2f5;color:var(--muted)}.status.attention{background:#fff6e4;color:#815e17}
.form-field input,.form-field select,.form-field textarea{border-color:var(--line);border-radius:7px;background:#fff;min-height:44px}.form-field label{font-size:13px;color:var(--ink)}
.dossier-form input,.dossier-form select,.dossier-form textarea{border-color:var(--line);border-radius:7px;background:#fff}.iform-question h3{font-size:16px;font-weight:600;line-height:1.55}
.slot-upload,.iform-upload-zone{background:#fafbfc;border-color:#c9d3da;border-radius:8px}.document-row,.slot-file{border-color:var(--line)}
.candidate-section-nav{border-top:0;border-bottom:1px solid var(--line);background:#fff}.candidate-section-nav .button{box-shadow:none}
.iform-review-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff7e8;border-left:3px solid var(--brand-gold);padding:12px 14px;border-radius:7px;margin:14px 0;color:#765b24;font-size:13px}
.iform-import-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}.iform-import-summary span{font-size:12px;padding:5px 9px;border-radius:6px;background:var(--teal-light);color:var(--teal)}
.iform-source-location{display:block;font-size:11px;color:var(--muted);margin-top:5px}.iform-source-conflicts{border:1px solid #e6cb97;background:#fffbf4;padding:12px;border-radius:8px;margin:12px 0}
.notice{background:#f0f5f0;border-color:#dce7d7;color:#3d5c37}.notice.warning{background:#fff7e8;border-color:#ebddb9;color:#765b24}
.button:focus-visible,.text-button:focus-visible,a:focus-visible{outline:3px solid var(--brand-gold);outline-offset:3px}.p-save-dock{box-shadow:0 -2px 12px #0b294607;border-color:var(--line)}
.auth-shell{display:grid;grid-template-columns:minmax(0,43%) minmax(0,57%);background:#fff;min-height:100vh}
.auth-brand-panel{position:relative;background:var(--navy);padding:54px 48px 45px;border:0;display:flex;flex-direction:column;justify-content:flex-start;min-width:0}
.auth-brand-panel:before,.auth-brand-panel:after{display:none}
.auth-brand-panel .proper-brand{margin:0;justify-content:flex-start;width:auto;height:auto;border:0;border-radius:0;background:transparent}
.auth-welcome{margin:86px 0 64px;max-width:360px}.auth-welcome h2{font-size:40px;font-weight:600;line-height:1.15;letter-spacing:-1px;margin:0 0 22px;color:#fff}
.auth-welcome p{font-size:16px;line-height:1.7;color:#c6d4de;max-width:295px}.auth-line{position:absolute;bottom:48px;left:48px;width:40px;height:3px;background:var(--brand-gold);border-radius:0;margin:0}
.auth-brand-foot{display:none}.auth-main{background:#fff}.auth-header{height:96px;padding:0 42px}.auth-header .language-group{background:none}.auth-header .language-group button{font-size:12px;padding:6px 8px;box-shadow:none}
.auth-form-area{width:100%;max-width:480px;padding:20px 36px 55px;justify-content:center;margin:auto}.auth-card{border:0;border-radius:0;box-shadow:none;padding:0;background:#fff}
.auth-tabs{gap:24px;margin-bottom:34px;border-color:var(--line)}.auth-tabs button{font-size:13px;padding-bottom:12px;color:var(--muted)}.auth-tabs button.selected{border-color:var(--teal);color:var(--ink)}
.auth-card h1{font-size:28px;font-weight:500;line-height:1.25;margin:0 0 12px}.auth-subtitle{font-size:14px;color:var(--muted);line-height:1.6;margin-bottom:30px}
.auth-card .form-field{margin-bottom:20px}.auth-card label{font-size:13px;font-weight:600;color:var(--ink);margin-bottom:4px}.auth-card input{background:#fff;min-height:46px;border-color:var(--line);font-size:14px;padding:12px}
.auth-card .auth-remember{font-size:12px;font-weight:400;margin:18px 0}.auth-remember input{min-height:0;padding:0;accent-color:var(--teal)}.auth-password-tools{margin:0 0 20px}.auth-password-tools .text-button{color:var(--muted);font-size:12px;font-weight:400}
.auth-submit{margin-top:7px;min-height:48px;font-size:14px}.auth-test-note{font-size:11px;line-height:1.7;color:var(--muted);margin-top:28px;text-align:left}
.auth-account-type{background:var(--bg);border-color:var(--line);border-radius:7px}.auth-pending-mark{background:var(--teal-light);color:var(--teal)}
@media(min-width:1500px){.auth-brand-panel{padding:60px 70px}.auth-line{left:70px;bottom:60px}.auth-welcome h2{font-size:46px}.auth-form-area{max-width:500px}.content{padding-left:44px;padding-right:44px}}
@media(max-width:1050px){.sidebar{width:185px;padding-left:13px;padding-right:13px}.main-shell{margin-left:185px;width:calc(100% - 185px)}.content{padding-left:24px;padding-right:24px}.topbar{padding:0 24px;gap:14px}.auth-brand-panel{padding:40px 28px}.auth-line{left:28px}.auth-welcome h2{font-size:34px}.auth-welcome{margin-top:70px}.auth-form-area{padding-left:30px;padding-right:30px}}
@media(max-width:850px){.auth-shell{grid-template-columns:minmax(0,38%) minmax(0,62%)}.auth-brand-panel .proper-brand{gap:9px}.auth-brand-panel .proper-emblem{width:48px;height:56px}.auth-brand-panel .proper-emblem img{width:137px;height:137px;left:-44px;top:-19px}.auth-brand-panel .proper-wordmark b{font-size:23px}.auth-brand-panel .proper-wordmark span,.auth-brand-panel .proper-wordmark small{font-size:8px}.auth-welcome h2{font-size:30px}.auth-welcome p{font-size:14px}.auth-header{padding:0 28px}}
@media(max-width:740px){:root{--portal-header-height:128px}.shell{display:block}.sidebar{position:static;width:100%;padding:12px 18px 0;margin-top:var(--portal-header-height);background:#fff;border-right:0;border-bottom:1px solid var(--line)}.workspace-label,.sidebar-foot{display:none}.navigation{display:flex;gap:5px;overflow:auto;padding-bottom:10px}.nav-button{padding:10px;white-space:nowrap;flex-shrink:0;font-size:12px}.nav-button .icon{width:16px;height:16px}.main-shell{margin:0;width:100%}.topbar{height:var(--portal-header-height);padding:15px 18px;align-content:center;gap:13px;flex-wrap:wrap}.topbar-left{flex:1}.topbar-controls{width:100%;gap:8px;justify-content:flex-end}.topbar .role-select{max-width:155px}.topbar .avatar{display:none}.content{padding:26px 18px 35px}.portal-brand .proper-wordmark b{font-size:21px}.metrics{gap:10px}.metric{padding:18px 16px}h1{font-size:26px}.page-heading{margin-bottom:22px}.card-heading,.card-body{padding:18px}.iform-review-notice{align-items:flex-start;flex-direction:column}.footer-note{font-size:10px}.table-scroll th,.table-scroll td{padding:15px}
 .p-save-dock{left:0}.auth-welcome h2{font-size:30px}}
@media(max-width:600px){.auth-shell{display:flex;flex-direction:column}.auth-brand-panel{padding:24px;min-height:auto}.auth-brand-panel .proper-brand{gap:11px}.auth-brand-panel .proper-emblem{width:48px;height:56px}.auth-brand-panel .proper-wordmark b{font-size:25px}.auth-welcome,.auth-line{display:none}.auth-header{height:66px;padding:0 24px}.auth-form-area{max-width:460px;padding:8px 26px 40px;justify-content:flex-start}.auth-card{padding:0}.auth-card h1{font-size:26px}.auth-tabs{margin-bottom:25px}.auth-test-note{margin-top:25px}}
@media(max-width:380px){.topbar{padding-left:14px;padding-right:14px}.topbar-controls{gap:6px}.topbar .role-select{max-width:138px}.topbar .language-group button{padding:5px 6px}.content{padding-left:14px;padding-right:14px}.auth-form-area{padding-left:22px;padding-right:22px}}

/* Candidate photos, optional documents and recoverable profile removal. */
.g-person-identity{display:flex;align-items:center;gap:16px;min-width:0}.g-profile-actions{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}.g-person .card-heading{flex-wrap:wrap;gap:16px}.additional-documents{margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}img.candidate-avatar,.pro-photo,.candidate-summary-photo img{object-fit:contain;background:#fff}.button.danger{background:#fff;color:#a33131;border:1px solid #debdbd}.button.danger:hover{background:#fff3f3}.g-person h2{overflow-wrap:anywhere}@media(max-width:640px){.pro-candidate-header{flex-wrap:wrap}.g-profile-actions{margin-left:0}.g-person-identity{width:100%}}

/* A visible control next to the password also works in compact mobile forms. */
.auth-password-field{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap}
.auth-password-field input{flex:1 1 160px;min-width:0;width:auto}
.auth-password-field .auth-password-toggle{flex:0 1 auto;white-space:normal;min-height:44px;padding:10px 14px;color:var(--ink);background:#f5f7f8;border:1px solid var(--border)}
.agency-detail-heading{align-items:flex-start;flex-direction:column;gap:12px}
