
.first-id-example figure { margin: 1rem 0; }
.first-id-example img { display: block; max-width: 100%; height: auto; border: 1px solid #BDDBED; border-radius: .5rem; }
.first-id-example figcaption { margin-top: .5rem; font-size: .9rem; }
:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  color: #0D1930;
  background: #EDF8FF;
  line-height: 1.5;
  --navy: #071E5B;
  --deep-blue: #063B9A;
  --action-blue: #0878F9;
  --connect-cyan: #06CFF2;
  --support-teal: #09D9C2;
  --ice: #EDF8FF;
  --ink: #0D1930;
  --slate: #405570;
}
* { box-sizing: border-box; }
body { margin: 0; background: linear-gradient(180deg, #EDF8FF 0, #fff 420px); }
.environment-banner { margin: 0; background: #071E5B; color: #fff; text-align: center; padding: 9px 16px; font-size: .82rem; }
.topbar, main { width: min(1200px, calc(100% - 32px)); margin: auto; }
.topbar { display: flex; gap: 18px; align-items: center; padding: 30px 0 20px; }
.topbar p { margin: .15rem 0; color: #405570; }
.business-name { font-size: clamp(1.45rem, 4vw, 2.25rem); line-height: 1.15; color: #0D1930 !important; font-weight: 700; margin: .1rem 0; }
.brand { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 15px; display: block; text-decoration: none; box-shadow: 0 4px 12px rgb(7 30 91 / 16%); overflow: hidden; }
.brand img { display: block; width: 100%; height: 100%; object-fit: contain; }
.role { margin-left: auto; border-radius: 999px; padding: 7px 12px; background: #fff; border: 1px solid #b8ddef; color: #071E5B; font-size: .78rem; font-weight: 700; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .71rem !important; font-weight: 700; color: #063B9A !important; }
nav { display: flex; gap: 8px; overflow: auto; padding: 4px 0 20px; }
nav a, .button-link, .file-button { color: #071E5B; background: #fff; border: 1px solid #9fc4df; border-radius: 9px; padding: 9px 12px; text-decoration: none; white-space: nowrap; cursor: pointer; font-weight: 700; }
nav a[aria-current="page"] { background: #071E5B; color: #fff; border-color: #071E5B; box-shadow: inset 0 -3px 0 #06CFF2; }
section { background: #fff; border: 1px solid #cfe7f4; border-radius: 18px; padding: 24px; margin-bottom: 18px; box-shadow: 0 12px 34px rgb(7 30 91 / 7%); }
h1, h2, h3, .page-title, button, .button-link, .file-button { font-weight: 700; }
h1, .page-title { font-size: clamp(1.9rem, 5vw, 3.1rem); line-height: 1.08; margin: .2rem 0 1rem; }
h2 { margin: .2rem 0 .4rem; line-height: 1.2; }
h3 { margin: 0; }
.lead { font-size: 1.1rem; color: #405570; }
.section-heading, .worker-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.section-heading p { margin: .25rem 0; }
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 18px; }
.stats article { border: 1px solid #cfe7f4; border-radius: 13px; padding: 16px; background: #f8fcff; }
.stats span { display: block; color: #405570; font-size: .78rem; }
.stats strong { display: block; color: #071E5B; font-size: 1.8rem; }
.healthy, .warning, .status-chip { border-radius: 999px; padding: 7px 11px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.healthy, .status-active { background: #d7f8f1; color: #075b50; }
.warning, .status-unconfirmed, .status-expired, .status-suspended { background: #fff2c7; color: #695000; }
.status-not_issued { background: #EDF8FF; color: #405570; }
.status-revoked, .status-replaced { background: #fde9e8; color: #7a211d; }
.status-withdrawn { background: #fde9e8; color: #7a211d; }
.notice { min-height: 1.5em; margin: 0 0 8px; font-weight: 700; }
.alert-panel { border-color: #e4bd55; background: #fffaf0; }
.alert-panel h2 { font-size: 1.15rem; }
.alert-panel ul { margin: .5rem 0 0; padding-left: 1.25rem; }
.setup-panel { background: linear-gradient(145deg, #fff, #EDF8FF); }
.setup-panel.compact .checklist { grid-template-columns: repeat(3, 1fr); }
.progress-ring { width: 72px; height: 72px; border-radius: 50%; background: #EDF8FF; border: 5px solid #09D9C2; display: grid; place-items: center; color: #071E5B; }
.progress { display: block; width: 100%; height: 8px; border: 0; background: #dbeaf3; border-radius: 99px; overflow: hidden; margin: 18px 0; appearance: none; }
.progress::-webkit-progress-bar { background: #dbeaf3; }
.progress::-webkit-progress-value { background: #0878F9; }
.progress::-moz-progress-bar { background: #0878F9; }
.checklist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.checklist li { display: flex; align-items: center; gap: 10px; border: 1px solid #cfe7f4; border-radius: 10px; padding: 10px; }
.checklist li > span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #EDF8FF; }
.checklist .complete > span { background: #09D9C2; color: #0D1930; }
.checklist div { display: grid; flex: 1; }
.checklist small { color: #405570; }
.checklist a { font-size: .82rem; }
.primary-link { background: #063B9A; color: #fff; border-color: #063B9A; display: inline-flex; }
.filters, .actions, .card-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.filters { margin: 18px 0 8px; }
.filters label { min-width: min(100%, 170px); flex: 1; }
.filter-summary { color: #405570; margin: 8px 0 14px; }
.staff-filters .filter-summary { flex:1 0 100%; margin:0; padding:10px 12px; border-radius:9px; background:#EDF8FF; }
.staff-counts { grid-column:1 / -1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.staff-counts article { min-width:0; padding:14px; border:1px solid #cfe7f4; border-radius:12px; background:#f8fcff; }
.staff-counts span, .staff-counts small { display:block; color:#405570; }
.staff-counts span { font-size:.76rem; font-weight:700; }
.staff-counts strong { display:block; margin:2px 0; color:#071E5B; font-size:1.65rem; }
.staff-counts small { font-size:.72rem; }
.staff-authority, .staff-directory-note { grid-column:1 / -1; margin:0; padding:12px 14px; border-radius:10px; background:#f8fcff; }
.staff-directory-note { border-left:4px solid #06CFF2; }
.workers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.workers > * { min-width:0; }
.worker { border: 1px solid #cfe7f4; border-radius: 14px; padding: 18px; }
.worker > summary { cursor: pointer; list-style: none; }
.worker > summary::-webkit-details-marker { display: none; }
.worker > summary::after { content: "View details"; color: #063B9A; font-size: .78rem; font-weight: 800; }
.worker[open] > summary::after { content: "Hide details"; }
.worker-detail { border-top: 1px solid #d9eaf4; margin-top: 14px; padding-top: 4px; }
.worker-access-email { min-width: min(100%, 220px); }
.form-span { grid-column: 1 / -1; }
.avatar { width: 64px; height: 76px; object-fit: cover; border-radius: 10px; background: #EDF8FF; display: grid; place-items: center; color: #071E5B; font-weight: 700; }
.placeholder { border: 1px dashed #7ba9c9; }
.worker-head > div:nth-child(2) { flex: 1; min-width:0; overflow-wrap:anywhere; }
.worker-head p { margin: 3px 0; color: #405570; }
.worker-meta, section dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0; }
.worker-meta > div, section dl > div { min-width: 0; }
dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: #405570; }
dd { margin: 3px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.field, .filters label { display: grid; gap: 5px; font-size: .78rem; color: #405570; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
[data-staff-access-form] > * { min-width: 0; }
[data-staff-access-form] select { min-width: 0; width: 100%; }
input, textarea, select { font: inherit; color: #0D1930; background: #fff; border: 1px solid #7598b5; border-radius: 8px; padding: 10px; max-width: 100%; min-height: 44px; }
textarea { min-height: 82px; resize: vertical; }
button { font: inherit; font-weight: 700; min-height: 44px; border: 1px solid #88a9c2; color: #071E5B; background: #fff; border-radius: 9px; padding: 9px 13px; cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
.primary { background: #063B9A; color: #fff; border-color: #063B9A; }
.danger { color: #8a241e; border-color: #bd827e; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.company-logo { display: block; max-width: 180px; max-height: 76px; object-fit: contain; margin: 14px 0; }
.logo-placeholder { width: 180px; height: 76px; border: 1px dashed #7ba9c9; border-radius: 10px; display: grid; place-items: center; color: #405570; margin: 14px 0; }
.metric { font-size: 1.2rem; font-weight: 700; }
.warning-box { padding: 12px; background: #fff2c7; border-radius: 9px; }
.help, .boundary { color: #405570; font-size: .82rem; }
.audit { list-style: none; padding: 0; }
.audit li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid #d9eaf4; }
.audit span { color: #405570; }
.business-console[data-business-page="settings"] .audit li { flex-wrap:wrap; }
.business-console[data-business-page="settings"] .audit li > div { min-width:0; max-width:100%; overflow-wrap:anywhere; }
.business-console[data-business-page="settings"] .audit li > div > span { display:block; }
.audit li.audit-wide { display:block; }
.audit-wide details > summary { min-height:44px; cursor:pointer; color:#071E5B; }
.table-scroll { max-width:100%; overflow-x:auto; margin-top:12px; }
.table-scroll table { width:100%; min-width:780px; border-collapse:collapse; font-size:.78rem; }
.table-scroll th, .table-scroll td { padding:9px; border:1px solid #d9eaf4; text-align:left; vertical-align:top; }
.table-scroll th { color:#071E5B; background:#EDF8FF; }
.boundary { padding: 8px 4px 40px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 18px; }
.empty { padding: 18px; background: #EDF8FF; border-radius: 10px; color: #405570; }
.professional-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 720px; }
.professional-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.professional-card { border: 1px solid #cfe7f4; border-radius: 14px; padding: 18px; background: #f8fcff; }
.professional-heading { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: start; gap: 12px; margin-bottom: 14px; }
.professional-heading img, .issuer-fallback { width: 52px; height: 52px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid #cfe7f4; }
.issuer-fallback { display: grid; place-items: center; color: #071E5B; font-size: 1.1rem; font-weight: 800; }
.professional-heading h3, .professional-heading p { margin: 0 0 4px; }
.holder-label { color: #063B9A; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.professional-card section { box-shadow: none; }
.professional-create { border-top: 1px solid #cfe7f4; padding-top: 16px; margin-top: 18px; }
.professional-create summary { color: #071E5B; font-weight: 700; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.logo-library-panel { margin: 18px 0; padding: 18px; border: 1px solid #9fd5e8; border-radius: 16px; background: #f1fbfe; }
.logo-library-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; margin-top: 14px; }
.logo-library-card { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-width: 0; padding: 12px; border: 1px solid #cfe7f4; border-radius: 12px; background: #fff; }
.logo-library-preview, .logo-library-preview img, .logo-library-preview .issuer-fallback { width: 52px; height: 52px; }
.logo-library-preview img { object-fit: contain; border: 1px solid #cfe7f4; border-radius: 10px; background: #fff; }
.logo-library-card strong, .logo-library-card span { display: block; overflow-wrap: anywhere; }
.logo-library-card span { margin-top: 3px; color: #405570; font-size: .76rem; }
.logo-policy { border: 1px solid #9fd5e8; border-radius: 12px; margin-top: 14px; padding: 14px; background: #fff; }
.logo-policy summary { color: #071E5B; font-weight: 700; cursor: pointer; min-height: 40px; display: flex; align-items: center; }
.issuer-logo-preview { width: 96px; height: 72px; object-fit: contain; border: 1px solid #cfe7f4; border-radius: 12px; padding: 8px; background: #fff; }
.logo-steps { margin: 12px 0; padding: 12px 12px 12px 34px; border-radius: 10px; background: #edf8ff; color: #203551; }
.logo-steps li { padding: 3px 0; }
.logo-policy button:disabled { cursor: not-allowed; opacity: .62; }
.logo-preview-frame { min-height:96px; display:flex; align-items:center; gap:14px; margin:12px 0; padding:12px; border:1px dashed #9fc4df; border-radius:12px; background:#f8fcff; }
.logo-preview-frame p { margin:0; color:#405570; }
.logo-rights-details { margin:12px 0; padding:10px 12px; border:1px solid #cfe7f4; border-radius:10px; }
.logo-rights-details summary { cursor:pointer; color:#071E5B; font-weight:700; min-height:34px; }
.display-policy, .card-appearance { grid-column: 1 / -1; border: 1px solid #b9dced; border-radius: 16px; padding: 16px; background: #f8fcff; }
.display-policy > summary { cursor: pointer; color: #071E5B; font-weight: 800; min-height: 44px; }
.worker-display-row { padding: 14px 0; border-top: 1px solid #cfe7f4; }
.branding-editor { display: grid; grid-template-columns: minmax(260px,1fr) minmax(250px,.9fr); gap: 22px; align-items: start; }
.card-preview { --preview-primary:#063B9A; --preview-secondary:#071E5B; --preview-header:#071E5B; --preview-card:#FFFFFF; --preview-accent:#06CFF2; overflow:hidden; border:2px solid var(--preview-accent); border-radius:18px; background:var(--preview-card); color:#0D1930; box-shadow:0 12px 30px rgb(7 30 91 / 12%); }
.card-preview header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px; background:var(--preview-header); color:#fff; }
.card-preview > div { display:flex; gap:14px; align-items:center; padding:20px; }
.card-preview p { margin:0; }
.card-preview p span { display:inline-block; margin-top:8px; padding:4px 8px; border-radius:999px; color:#fff; background:var(--preview-primary); }
.preview-photo { width:76px; height:92px; flex:0 0 auto; border-radius:12px; background:linear-gradient(135deg,#cfe7f4,#fff); border:1px solid var(--preview-secondary); }
.card-preview footer { padding:10px 18px; border-top:4px solid var(--preview-accent); color:var(--preview-secondary); font-weight:800; }
input[type="color"] { min-height:48px; padding:4px; }
@media (max-width: 760px) { .branding-editor { grid-template-columns:1fr; } }
@media (max-width: 760px) { .logo-library-card { grid-template-columns: 52px minmax(0, 1fr); } .logo-library-card .button-link { grid-column: 1 / -1; text-align: center; } }
.professional-form { padding-top: 12px; }
.advanced-fields { grid-column:1 / -1; margin:8px 0; padding:12px; border:1px solid #cfe7f4; border-radius:12px; background:#f8fcff; }
.advanced-fields > summary { min-height:44px; display:flex; align-items:center; cursor:pointer; color:#071E5B; font-weight:800; }
.checkboxes { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.checkboxes label { display: flex; align-items: center; gap: 7px; }
.checkboxes input { min-height: auto; width: 18px; height: 18px; }
.checkboxes > input + span { flex: 1 1 220px; min-width: 0; }
.evidence-list { list-style: none; margin: 10px 0; padding: 0; }
.evidence-list li { display: grid; grid-template-columns:minmax(240px,.8fr) minmax(320px,1.2fr) auto; align-items: end; gap: 14px; border-top: 1px solid #d9eaf4; padding: 16px 0; }
.evidence-list li > div { display: grid; gap: 2px; min-width: 0; }
.evidence-list a { overflow-wrap: anywhere; }
.evidence-list span { color: #405570; font-size: .72rem; text-transform: capitalize; }
.evidence-file { grid-template-columns:56px minmax(0,1fr); align-items:center; gap:12px !important; }
.evidence-file > div { display:grid; gap:6px; min-width:0; }
.evidence-thumbnail { width:56px; height:68px; display:grid; place-items:center; border:1px solid #9fc4df; border-radius:8px; background:#EDF8FF; color:#071E5B !important; font-weight:800; }
.evidence-panel { margin-top: 14px; padding: 12px; border: 1px solid #cfe7f4; border-radius: 10px; background: #fff; }
.evidence-panel h4 { margin: 0; color: #071E5B; }
.certificate-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.public-card-images { margin-top:14px; padding:14px; border:1px solid #9fd5e8; border-radius:12px; background:#fff; }
.public-card-images h4, .public-card-images h5 { margin:0 0 6px; color:#071E5B; }
.card-image-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.card-image-grid article { min-width:0; padding:12px; border:1px solid #cfe7f4; border-radius:10px; background:#f8fcff; }
.card-image-grid img, .card-image-placeholder { width:100%; aspect-ratio:1.58 / 1; object-fit:contain; border:1px solid #cfe7f4; border-radius:8px; background:#fff; }
.card-image-placeholder { display:grid; place-items:center; color:#405570; }
.card-image-grid .file-button, .card-image-grid button { margin-top:8px; }
.evidence-review { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; padding:10px; border:1px solid #cfe7f4; border-radius:9px; background:#f8fcff; }
.evidence-review label { display: grid; gap: 4px; color: var(--muted); font-size: .78rem; }
.evidence-review select { min-width: 132px; }
.evidence-review .help { flex:1 0 100%; margin:2px 0 0; }
.worker-accreditations { border-top: 1px solid #d9eaf4; margin-top: 18px; padding-top: 12px; }
.worker-accreditations > summary, .activity-panel > summary { display: flex; justify-content: space-between; gap: 16px; color: #071E5B; font-weight: 800; }
.worker-accreditations[open] > summary, .activity-panel[open] > summary { margin-bottom: 14px; }
.worker-accreditations .professional-list { grid-template-columns: 1fr; }
.summary-count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: #EDF8FF; color: #063B9A; font-size: .78rem; }
.activity-panel > summary strong { display: block; font-size: 1.35rem; margin-top: 3px; }
.activity-panel > summary .eyebrow { display: block; }
.app-shell { width:min(1440px,calc(100% - 32px)); margin:auto; display:grid; grid-template-columns:280px minmax(0,1fr); gap:22px; align-items:start; }
.section-heading { flex-wrap:wrap; }
.section-heading > div { min-width:0; }
@media (min-width:561px) { .section-heading > div { flex:1 1 240px; } }
.section-heading > .button-link { max-width:100%; white-space:normal; overflow-wrap:anywhere; }
.dashboard-main { width:100%; min-width:0; }
.business-console .dashboard-main::before { content: attr(data-page-title); display:block; margin:0 0 14px; color:#071E5B; font-size:clamp(1.5rem,3vw,2.15rem); font-weight:800; line-height:1.15; }
.business-console .dashboard-main > section { display:none; }
.business-console[data-business-page="overview"] #overview,
.business-console[data-business-page="overview"] #expiry,
.business-console[data-business-page="overview"] #getting-started,
.business-console[data-business-page="billing"] #billing,
.business-console[data-business-page="staff"] #staff,
.business-console[data-business-page="qualifications"] #individual,
.business-console[data-business-page="company-accreditations"] #professional,
.business-console[data-business-page="documents"] #documents,
.business-console[data-business-page="sharing-packs"] #packs,
.business-console[data-business-page="activity"] #audit,
.business-console[data-business-page="billing"] #audit,
.business-console[data-business-page="settings"] #settings,
.business-console[data-business-page="settings"] #administrators,
.business-console[data-business-page="settings"] #account-security { display:block; }
.business-console[data-business-page="activity"] #audit > details { display:block; }
.business-console[data-business-page="billing"] #billing { display:block; }
.setup-checklist { margin:22px 0; padding:16px 20px; border:1px solid #cfe7f4; border-radius:14px; background:#f8fcff; }
.setup-checklist > summary { min-height:44px; display:flex; align-items:center; color:#071E5B; font-size:1.05rem; font-weight:800; cursor:pointer; }
.setup-checklist[open] > summary { margin-bottom:14px; }
.setup-checklist #getting-started { display:block; }
.business-console[data-business-page="staff"][data-selected-worker] .worker:not([data-selected]) { display:none; }
.setup-steps { list-style:none; padding:0; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.setup-steps li { min-width:0; padding:14px; border:1px solid #cfe7f4; border-radius:12px; background:#fff; }
.setup-steps details > summary { display:flex; flex-wrap:wrap; align-items:center; gap:8px; min-height:44px; cursor:pointer; color:#071E5B; }
.setup-steps details > summary::after { content:"Show details"; margin-left:auto; color:#063B9A; font-size:.78rem; font-weight:700; }
.setup-steps details[open] > summary::after { content:"Hide details"; }
.setup-steps a, .setup-steps span { display:block; overflow-wrap:anywhere; }
.setup-steps a { color:#063B9A; font-weight:800; }
.setup-steps span { margin-top:6px; color:#405570; font-size:.8rem; }
.setup-steps .setup-state { display:inline-flex; width:max-content; margin:0 0 9px; padding:3px 8px; border-radius:999px; background:#fff3cd; color:#664d03; font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.setup-steps .complete .setup-state { background:#d1f5e7; color:#075b3c; }
.servicem8-setup .security-note { margin-top:14px; padding:13px 15px; border-left:4px solid #06CFF2; border-radius:8px; background:#EDF8FF; color:#17324d; }
.side-nav { position:sticky; top:16px; display:grid; gap:5px; padding:14px; max-height:calc(100vh - 32px); overflow-x:hidden; overflow-y:auto; border:1px solid #cfe7f4; border-radius:16px; background:#fff; box-shadow:0 12px 34px rgb(7 30 91 / 7%); }
.desktop-business-nav { display:grid; gap:5px; }
.mobile-business-nav { display:none; }
.mobile-business-nav > summary { min-height:44px; padding:11px 14px; border:1px solid #9fc4df; border-radius:9px; color:#071E5B; background:#fff; cursor:pointer; font-weight:800; list-style:none; }
.mobile-business-nav > summary::-webkit-details-marker { display:none; }
.mobile-business-nav > summary::after { content:"Show menu"; float:right; color:#063B9A; font-size:.82rem; }
.mobile-business-nav[open] > summary::after { content:"Hide menu"; }
.mobile-business-nav-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; padding-top:8px; }
.side-nav a { width:100%; min-width:0; border-color:transparent; background:transparent; white-space:normal; overflow-wrap:anywhere; }
.side-nav a:hover { background:#EDF8FF; border-color:#cfe7f4; }
.side-nav a[aria-current="page"] { background:#071E5B; border-color:#071E5B; color:#fff; }
.owner-staff-link { max-width:100%; margin:10px 0 0; padding:10px 12px; border:1px solid #cfe7f4; border-radius:9px; background:#EDF8FF; color:#17324d; font-size:.92rem; line-height:1.45; overflow-wrap:anywhere; }
.dashboard-overview { display:grid; grid-template-columns:minmax(0,1fr) minmax(360px,1.2fr); gap:18px; align-items:center; }
.dashboard-overview h2 { font-size:clamp(1.65rem,4vw,2.4rem); }
.dashboard-overview .stats { grid-template-columns:repeat(4,minmax(0,1fr)); margin:0; }
.dashboard-overview .quick-actions, .dashboard-overview > .help, .dashboard-overview .pending-review-summary { grid-column:1 / -1; }
.pending-review-summary { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 16px; border:1px solid #9ed8f0; border-radius:12px; background:#EDF8FF; }
.pending-review-summary > div { min-width:0; }
.pending-review-summary .eyebrow { margin:0 0 3px; }
.pending-review-summary strong { display:block; }
.quick-actions { display:flex; flex-wrap:wrap; gap:9px; }
.quick-actions .button-link { min-width:0; max-width:100%; white-space:normal; overflow-wrap:anywhere; }
.access-state { display:inline-flex; margin-top:4px; color:#405570; font-size:.76rem; font-weight:700; }
.assignment-panel { margin:14px 0; padding:14px; border:1px solid #cfe7f4; border-radius:12px; background:#fff; }
.assignment-panel h4 { margin:0 0 4px; }
.picker-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:12px 0; }
.picker-grid label { display:flex; gap:8px; align-items:flex-start; padding:10px; border:1px solid #cfe7f4; border-radius:9px; background:#f8fcff; }
.picker-grid input { min-height:auto; width:18px; height:18px; flex:0 0 auto; }
.worker-picker { max-width:440px; margin:14px 0; }
.logo-search { max-width:520px; margin:16px 0; }
.document-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:14px 0; }
.document-card { position:relative; border:1px solid #cfe7f4; border-radius:14px; padding:18px; background:#f8fcff; }
.document-card > .status-chip { position:absolute; top:16px; right:16px; }
.document-card h3 { padding-right:90px; }
.welcome { padding: clamp(24px, 5vw, 48px); background: linear-gradient(135deg, #071E5B, #063B9A); color: #fff; border-color: #063B9A; }
.welcome::after { content: ""; display: block; width: 84px; height: 5px; margin-top: 24px; border-radius: 999px; background: linear-gradient(90deg, #06CFF2, #09D9C2); }
.welcome .eyebrow, .welcome p { color: #EDF8FF !important; }
.claim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.claim-grid article { background: rgb(255 255 255 / 10%); border: 1px solid rgb(255 255 255 / 24%); padding: 18px; border-radius: 13px; }
.claim-grid p { margin-bottom: 0; }
.journey { display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.step-number { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #071E5B; color: #fff; border: 3px solid #06CFF2; font-weight: 700; }
.onboarding-workers { list-style: none; padding: 0; }
.onboarding-workers li, .test-list article { display: flex; align-items: center; gap: 12px; border-top: 1px solid #d9eaf4; padding: 12px 0; }
.onboarding-workers li > div, .test-list article > div { display: grid; flex: 1; }
.onboarding-workers span, .test-list span { color: #405570; }
.finish-box { margin-top: 20px; padding: 18px; border-radius: 12px; background: #fff5d6; }
.finish-box.ready { background: #d7f8f1; }
.breadcrumbs { display: flex; gap: 8px; color: #405570; }
.worker-profile { display: flex; align-items: center; gap: 22px; }
.portrait-large { width: 132px; height: 154px; object-fit: cover; border-radius: 14px; background: #EDF8FF; display: grid; place-items: center; font-size: 1.5rem; font-weight: 700; }
.detail-actions { align-items: end; }
.detail-actions .field { min-width: 200px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .file-button:focus-within { outline: 3px solid #0878F9; outline-offset: 3px; }
[hidden] { display: none !important; }
@media (max-width: 1080px) { .app-shell { grid-template-columns:1fr; } .side-nav { position:static; display:block; max-height:none; overflow:visible; padding:8px; } .desktop-business-nav { display:none; } .mobile-business-nav { display:block; } .mobile-business-nav-links a { text-align:center; } .dashboard-overview { grid-template-columns:1fr; } .dashboard-overview .stats { grid-template-columns:repeat(2,minmax(120px,1fr)); overflow:visible; } }
@media (max-width: 980px) { .stats { grid-template-columns: repeat(3, 1fr); } .workers { grid-template-columns: minmax(0,1fr); } .setup-panel.compact .checklist { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) { .setup-steps { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) { .two-column, .form-grid, .claim-grid, .professional-list, .document-grid, .picker-grid, .staff-counts { grid-template-columns: 1fr; } .worker-meta, section dl { grid-template-columns: repeat(2, 1fr); } .checklist, .setup-panel.compact .checklist { grid-template-columns: 1fr; } .professional-heading { grid-template-columns: 44px minmax(0, 1fr); } .professional-heading > .status-chip { grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 760px) { .card-image-grid { grid-template-columns:1fr; } }
@media (max-width: 840px) { .evidence-list li { grid-template-columns:1fr; align-items:stretch; } }
@media (max-width: 560px) { html, body { max-width:100%; overflow-x:hidden; } .topbar { display:grid; grid-template-columns:44px minmax(0,1fr); align-items:start; } .topbar > div { min-width:0; } .brand { width: 44px; height: 44px; flex-basis: 44px; } .role { grid-column:2; justify-self:start; margin:0; } .business-name { overflow-wrap:anywhere; } .section-heading, .worker-head, .audit li, .worker-profile { align-items: flex-start; } .section-heading, .worker-profile { flex-direction: column; } .status-chip { flex: 0 0 auto; } .worker-meta, section dl { grid-template-columns: 1fr; } .stats, .dashboard-overview .stats { grid-template-columns: 1fr 1fr; overflow:visible; } section { padding: 18px; } .professional-card, .professional-card > *, .professional-heading > * { min-width:0; max-width:100%; } .professional-card { padding:14px; overflow-wrap:anywhere; } .topbar, main, .app-shell { width: min(100% - 20px, 1200px); } .side-nav { margin:0 -4px; border-radius:12px; } .mobile-business-nav-links a { padding:9px 8px; } .journey { grid-template-columns: 1fr; } .step-number { width: 34px; height: 34px; } .onboarding-workers li, .test-list article { align-items: flex-start; flex-wrap: wrap; } .onboarding-workers li > div, .test-list article > div { min-width: calc(100% - 90px); } .actions > *, .certificate-actions > *, .file-button { max-width:100%; overflow-wrap:anywhere; white-space:normal; } }
@media (max-width: 560px) { .setup-steps { grid-template-columns:1fr; } }
@media (max-width: 560px) { .pending-review-summary { align-items:flex-start; flex-direction:column; } .pending-review-summary .button-link { max-width:100%; white-space:normal; } }
@media (max-width: 560px) { .topbar > div:only-child { grid-column:1 / -1; } .worker-head { display:grid; grid-template-columns:48px minmax(0,1fr); gap:8px 12px; } .worker-head .avatar { width:48px; height:60px; grid-row:1 / span 3; } .worker-head > .status-chip, .worker > summary::after { grid-column:2; justify-self:start; } }
@media (max-width: 380px) { .stats, .dashboard-overview .stats { grid-template-columns:1fr; } .worker { padding:14px; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

.account-page .topbar { display:block; }
.account-page .topbar > div { min-width:0; width:100%; }
.account-page .actions { display:flex; flex-wrap:wrap; align-items:flex-start; gap:.75rem; margin:1rem 0; }
.account-page .button-link, .account-page button { max-width:100%; white-space:normal; overflow-wrap:anywhere; }
.account-page p[role="status"] { overflow-wrap:anywhere; }
