body{font-size:1rem}.office-shell{max-width:1420px;margin:auto;padding:26px clamp(15px,4vw,65px) 52px}
.office-top{border-bottom:1px solid #d7ded4;padding:12px clamp(15px,4vw,65px);background:#153f42;color:#ecf0e8;display:flex;align-items:center;gap:14px}
.office-top .brandmark{height:36px;width:36px;border-radius:7px}.office-top strong{font:500 22px Georgia}.office-top .env{font-size:13px;margin-left:5px;color:#e6c893}.office-user{margin-left:auto;font-size:14px}.office-top button{color:#fff;border:1px solid #88a59d;border-radius:6px;padding:6px 12px}
.login-grid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(280px,1fr);max-width:916px;margin:clamp(40px,9vh,115px) auto 0;border:1px solid #d4dfd5;border-radius:15px;overflow:hidden;background:white}
.login-brand{position:relative;padding:38px 36px;background:#163e43;color:#eff5eb;display:flex;flex-direction:column;min-height:405px}.login-brand .wordmark{font-size:43px}.login-brand h2{font:400 38px/1.1 Georgia;margin:35px 0 13px;letter-spacing:-1px}.login-brand p{color:#d2e2d8;max-width:31ch}.login-brand canvas{width:100%;height:150px;margin-top:auto}.form-area{padding:35px 32px}.form-area h1,.office-heading h1{font:400 clamp(30px,3vw,44px)/1.15 Georgia;letter-spacing:-1.2px}.form-area>p,.office-heading p,.action-help{color:#596e64;font-size:14px;margin:6px 0 18px}.formfield{font-size:14px}.form-area form{display:grid;gap:12px}.form-area .btn{font-size:15px}.text-btn{display:block;color:#265d51;font-weight:500;text-decoration:underline;text-underline-offset:3px;padding:8px 0;margin-top:9px}.office-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:6px 0 15px}.queue-empty{padding:24px 16px;color:#576f61}.queue-item.selected{border-inline-start:2px solid #2b604c}.detail-tabs{overflow-x:auto}.detail-tabs button{white-space:nowrap}.review-subtitle{margin-top:3px}.face-claim{padding:12px 0;border-top:1px solid #e2e7df}.face-claim b,.face-claim small{display:block}.face-claim small,.login-help{color:#5b6d61}.face-claim button{margin-top:8px}.doc-view{display:block;max-width:100%;max-height:58vh;margin:10px auto;object-fit:contain}.pdf-view{width:100%;height:55vh;border:1px solid #ced8d0}.file-dialog{width:min(760px,calc(100vw - 24px))}.dialog-body form{display:grid;gap:12px}.pager{display:flex;justify-content:space-between;padding:6px 12px}.office-warning{color:#923a29;min-height:1.4em;overflow-wrap:anywhere}.notice{padding:12px;background:#f0f5e9;border-radius:6px;color:#31533d;margin:8px 0}.office-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.office-facts dd{margin:0;overflow-wrap:anywhere}.office-facts dt{font-size:13px;color:#617468}#office-message:not(:empty){position:fixed;bottom:20px;left:50%;transform:translateX(-50%);padding:12px 20px;border-radius:8px;background:#214936;color:white;z-index:8;max-width:90%}.file-row .file-affordance{min-width:30px}.decision-zone p{font-size:14px}.office-wait{padding:50px;text-align:center;color:#596e64}
@media(max-width:720px){.login-grid{grid-template-columns:1fr;max-width:450px;margin-top:12px}.login-brand{min-height:unset;padding:23px}.login-brand canvas{display:none}.login-brand h2{margin:10px 0 5px;font-size:26px}.login-brand .wordmark{font-size:26px}.form-area{padding:23px}.office-top{flex-wrap:wrap;gap:7px}.office-user{font-size:12px}.office-top strong{font-size:18px}.office-shell{padding-top:13px}.office-facts{grid-template-columns:1fr}.review-queue .queue-cards{flex-wrap:nowrap}.office-top .env{font-size:12px}.office-heading h1{font-size:29px}}

.office-shell:has(.dept-layout){max-width:none;margin:0;padding:0}
.dept-layout{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:calc(100vh - 68px)}
.dept-sidebar{background:#113b40;color:#fff;padding:30px 14px;display:flex;flex-direction:column;align-items:stretch;gap:6px}
.dept-sidebar strong{padding:0 12px 20px;font-size:18px}
.office-nav{font:inherit;border:none;color:white;background:transparent;text-align:left;padding:12px;border-radius:8px;cursor:pointer}
.office-nav.active{background:#edbc62;color:#213c39}.office-nav:hover{box-shadow:inset 0 0 0 1px #a5bdb9}
.dept-main{min-width:0;padding:clamp(16px,3vw,40px)}.pan-detail,.pan-search{padding:22px;max-width:640px;background:white;border-radius:12px}
.pan-detail form{margin-bottom:20px}.pan-search .formfield,.pan-detail .formfield{margin-bottom:14px}
@media(max-width:700px){.dept-layout{display:block}.dept-sidebar{flex-direction:row;overflow:auto;padding:8px}.dept-sidebar strong{display:none}.office-nav{white-space:nowrap}}

/* Verification-specific layout, using the shared office type and colours. */
.office-theme .dept-layout { grid-template-columns: var(--office-side-width) minmax(0,1fr); min-height: 100vh; }
.office-theme .dept-workspace { min-width: 0; }
.office-theme .dept-sidebar { background: var(--office-rail); padding: 0 10px 18px; gap: 5px; }
.office-theme .dept-sidebar .office-brand { margin-bottom: clamp(16px,2vw,32px); }
.office-theme .office-nav:hover { box-shadow: none; }
.office-theme .office-top {
  min-height: 58px; padding: 9px clamp(16px,2vw,32px);
  background: var(--office-canvas); color: var(--office-ink); border-bottom: 1px solid var(--office-line);
}
.office-theme .office-top .env { color: #684a0c; background: #f6e8c6; border-radius: 12px; padding: 2px 9px; font-weight: 600; }
.office-theme .office-user { color: var(--office-ink); font-size: .9375rem; font-weight: 600; overflow-wrap: anywhere; }
.office-theme .sign-out { border-color: #bd9690; color: #853f34; background: #fffdf8; font-size: .875rem; }
.office-theme .dept-main { padding: clamp(18px,2vw,32px) clamp(16px,1.6vw,26px); }
.office-theme .office-heading { align-items: center; margin: 0 0 clamp(16px,1.65vw,26px); }
.office-theme :is(.form-area h1,.office-heading h1) { font: 700 var(--office-title)/1.12 var(--office-font); color: var(--office-ink); letter-spacing: -.035em; }
.office-theme :is(.form-area > p,.office-heading p,.action-help,.queue-empty,.office-facts dt,.queue-ref,.queue-city) { color: var(--office-muted); }
.office-theme .office-heading p { font-size: 1rem; margin: 5px 0 0; }
.office-theme .office-warning:empty { display: none; }
.office-theme :is(.login-grid,.review-queue,.review-detail,.pan-search,.pan-detail,.file-dialog) { border: 1px solid var(--office-line); background: white; }
.office-theme .login-brand { background: var(--office-rail); }
.office-theme .login-brand .wordmark { font-family: Georgia,serif; color: #ebca8a; }
.office-theme .login-brand h2 { font-family: var(--office-font); font-weight: 650; color: white; }
.office-theme .queue-heading { margin-bottom: 12px; }
.office-theme .dossier { background: var(--office-heading); }
.office-theme .dossier h2 { font: 680 clamp(24px,2.25vw,36px)/1.15 var(--office-font); }
.office-theme :is(.review-subtitle h3,.decision-zone h3,.dialoghead h2,.pan-detail h2) { font: 650 var(--office-section)/1.2 var(--office-font); color: var(--office-ink); }
.office-theme .review-queue .queue-item { color: var(--office-text); }
.office-theme .queue-item strong { font-size: 1rem; font-weight: 650; color: var(--office-ink); }
.office-theme .queue-item.selected { background: #eaf1ec; box-shadow: inset 3px 0 #03524d; border-inline-start: 0; }
.office-theme .filter-select { background: #fffdfa; border-color: var(--office-line); color: var(--office-text); }
.office-theme :is(.filter-select select,.formfield,.file-titles b,.detail-tabs button,.office-facts dd) { font-size: .9375rem; }
.office-theme :is(.formfield input,.formfield select,.formfield textarea) { color: var(--office-text); border-color: var(--office-line); background: #fffdfa; }
.office-theme :is(.queue-ref,.queue-city,.file-titles small,.file-meta small,.file-affordance,.office-facts dt) { font-size: .8125rem; }
.office-theme .file-titles b, .office-theme .detail-tabs button.on { color: var(--office-ink); font-weight: 650; }
.office-theme .detail-tabs button.on:after { background: #03524d; }
.office-theme .decision-zone { background: #fcf8ed; }
.office-theme .s-new { background: #ffe399; color: #674500; }
.office-theme .text-btn { color: #174b47; }
@media(max-width:700px) {
  .office-theme .dept-layout { display: block; }
  .office-theme .dept-sidebar { flex-direction: row; padding: 6px 8px; overflow-x: auto; }
  .office-theme .dept-sidebar .office-brand { display: none; }
  .office-theme .dept-sidebar .office-navitem { width: auto; flex: none; min-height: 44px; font-size: .9375rem; padding: 8px 11px; gap: 7px; }
  .office-theme .office-navitem svg { width: 19px; height: 19px; }
  .office-theme .office-top { gap: 8px; padding: 8px 12px; }
  .office-theme .office-user { font-size: .8125rem; }
  .office-theme .office-top .office-department { font-size: 1.25rem; border: 0; padding: 0; }
  .office-theme :is(.formfield input,.formfield select,.filter-select select) { font-size: 1rem; }
  .office-theme .office-heading h1 { font-size: clamp(28px,6.4vw,36px); }
}
.office-theme .detail-tabs { overflow-y: hidden; }
.office-theme .detail-tabs button.on:after { bottom: 0; }
.office-theme .detail-tabs button:focus-visible { outline-offset: -3px; }
