/* Civis design, the default, for the client and agency portals and the enquiry pages. A layer over
   portal.css and site.css: Legacy loads neither this file nor civis-ui.css and is unchanged.
   Light, precise and calm: Inter throughout, white panels with 1px borders on a cool grey canvas, small status
   pills, one navy primary button. The brand colour arrives as --cv-brand (Settings > Company); gold is a signal
   (dots, small accents), never a large fill. */
:root{
  --cv-c-text:#0E1117; --cv-c-text-2:#5A6170; --cv-c-text-3:#6B7280;
  --cv-c-line:#E6E8EC; --cv-c-border:#D5D9E0; --cv-c-canvas:#F7F8FA; --cv-c-surface:#FFFFFF; --cv-c-surface-2:#FBFBFC; --cv-c-hover:#F3F4F6;
  --cv-c-navy-50:#EEF2FA; --cv-c-gold-700:#8A6A1F;
  --cv-r-ctl:8px;
}

/* ---------------------------------------------------------------------------------------------------------------
   Tokens on the page body. The theme's values on :root reach the page (8.8.1): the text face follows the theme's body
   font, and font sizes and corners are read where they are used, with the design's own values as fallbacks. */
html body.cv-civis{
  --x-ground:#FBFBFC; --x-canvas:#F7F8FA; --x-surface:#FFFFFF; --x-raised:#F3F4F6; --x-line:#E6E8EC; --x-line-soft:#EEF0F3; --x-strong:#D5D9E0;
  --x-text:#0E1117; --x-text-2:#3A404C; --x-muted:#5A6170; --x-faint:#6B7280;
  --x-primary:var(--cv-brand,#0F1F3D); --x-primary-hover:var(--cv-brand-700,#0A1730); --x-on-primary:var(--cv-on-brand,#FFFFFF);
  --x-gold:var(--cv-accent,#D4B062); --x-gold-text:#8A6A1F;
  --x-ok:#1F8A5B; --x-warn:#C08A1E; --x-bad:#E5484D; --x-info:#6E9BFF;
  --x-font:var(--cv-font,Inter,"Segoe UI",system-ui,-apple-system,Arial,sans-serif);
  --x-ring:0 0 0 3px color-mix(in srgb,var(--cv-brand,#0F1F3D) 22%,transparent);
  --cv-ink:var(--x-text); --cv-ink-2:var(--x-muted); --cv-muted:var(--x-faint); --cv-line:var(--x-line); --cv-bg:var(--x-canvas); --cv-card:#fff;
  --st-line:var(--x-line); --st-line-strong:var(--x-strong); --st-bg:var(--x-canvas); --st-surface-2:var(--x-ground); --st-r-card:12px; --st-r-ctl:8px; --st-shadow:none;
  --cv-c-text:var(--x-text); --cv-c-text-2:var(--x-muted); --cv-c-text-3:var(--x-faint); --cv-c-line:var(--x-line); --cv-c-border:var(--x-strong);
  --cv-ok:var(--x-ok); --cv-warn:#9A6B0F; --cv-bad:#C4282E;
  --cv-font-heading:var(--x-font);
  margin:0; background:var(--x-canvas); color:var(--x-text); font:400 var(--cv-fs-base,14px)/var(--cv-lh-base,1.55) var(--x-font); font-feature-settings:"cv11","ss01"; -webkit-font-smoothing:antialiased;
}
html body.cv-civis a{color:var(--x-primary)}
html body.cv-civis a:hover{color:var(--x-text)}
html body.cv-civis :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid var(--x-primary);outline-offset:2px;box-shadow:none}
html body.cv-civis .cv-skip{background:var(--x-primary);color:#fff;border-radius:8px}

/* Type */
html body.cv-civis :is(h1,h2,h3,h4){font-family:var(--x-font);font-weight:600;color:var(--x-text);letter-spacing:-.01em}
html body.cv-civis h1{font-size:var(--cv-fs-h1,var(--cv-t-title));line-height:1.2;letter-spacing:-.025em;margin:0 0 8px}
/* Lead: page titles nested inside the content (partner portal, other views) keep the Civis size rather than site.css's 4/3 scale. */
html body.cv-civis.cv-portal :is(main,.cv-lp) h1{font-size:var(--cv-fs-h1,var(--cv-t-title));line-height:1.2}

html body.cv-civis h2{font-size:15px;line-height:1.35;margin:0 0 8px}
html body.cv-civis h3{font-size:15px;line-height:1.35;margin:16px 0 6px}
html body.cv-civis :is(.cv-lead,.cv-stage){font-size:14px;line-height:1.55;color:var(--x-muted);margin:0 0 20px}
html body.cv-civis :is(.cv-eyebrow,.cv-flow__eyebrow){font:500 13px/1.3 var(--x-font);letter-spacing:0;text-transform:none;color:var(--x-muted);margin:0 0 6px}
html body.cv-civis :is(.cv-hero,.cv-cl-head)>.cv-eyebrow:first-child::before,html body.cv-civis .cv-invoice__head .cv-eyebrow::before{display:none}
html body.cv-civis :is(.cv-hint,.cv-help){font-size:var(--cv-fs-help,13px);line-height:var(--cv-lh-help,1.5);color:var(--x-muted)}
html body.cv-civis :is(.cv-num,.cv-total,.cv-mono,.cv-rows__num){font-variant-numeric:tabular-nums}

/* ---------------------------------------------------------------------------------------------------------------
   The shell: a left sidebar on a computer, a compact header and a bottom tab bar on a phone */
html body.cv-civis .cv-header{position:sticky;top:0;z-index:30;background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom:1px solid var(--x-line);color:var(--x-text)}
html body.cv-civis .cv-header__in{display:flex;align-items:center;gap:12px;min-height:56px;padding:0 16px;max-width:none;overflow:visible}
html body.cv-civis .cv-brand{display:inline-flex;align-items:center;gap:10px;min-width:0;color:var(--x-text);text-decoration:none;font-weight:600}
html body.cv-civis .cv-logo{max-height:28px;max-width:160px;display:block}
html body.cv-civis .cv-wordmark{font:600 15px/1.2 var(--x-font);letter-spacing:-.01em;color:var(--x-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:none}
html body.cv-civis .cv-mark{flex:none;width:20px;height:20px;border-radius:6px;background:linear-gradient(135deg,var(--x-gold),color-mix(in srgb,var(--x-gold) 55%,#3a2a05))}
html body.cv-civis .cv-header__out{margin-left:auto;display:inline-flex;align-items:center;min-height:44px;padding:0 4px;color:var(--x-muted);text-decoration:none;font-size:14px;white-space:nowrap}
html body.cv-civis .cv-header__out:hover{color:var(--x-text)}
html body.cv-civis .cv-header .cv-topnav{margin-left:auto;display:flex;gap:2px}
html body.cv-civis .cv-header .cv-topnav a{min-height:36px;padding:0 10px;border-radius:6px;font-size:14px;font-weight:500;color:var(--x-text-2);text-decoration:none;display:inline-flex;align-items:center}
html body.cv-civis .cv-header .cv-topnav a.is-active{background:#ECEEF2;color:var(--x-text)}
html body.cv-civis .cv-topbar__title{display:none;margin:0;font-size:14px;color:var(--x-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.cv-civis .cv-sidebar{display:none}
html body.cv-civis .cv-topbanner{max-width:1000px}
html body.cv-civis main#cv-main:not(#_){flex:1;width:100%;max-width:1000px;margin:0;padding:22px 16px 28px}
html body.cv-civis.cv-narrow main#cv-main:not(#_){max-width:560px;margin:0 auto;padding-top:40px}
html body.cv-civis:not(.cv-has-side):not(.cv-narrow) main#cv-main:not(#_):not(.cv-bleed){margin:0 auto}
html body.cv-civis main#cv-main:not(#_).cv-bleed{max-width:none;padding:0}

/* Phone and tablet: the bottom tab bar, full width, quiet */
html body.cv-civis .cv-tabbar{display:none}
@media (max-width:1023.98px){
  html body.cv-civis.cv-has-tabbar{padding-bottom:calc(68px + env(safe-area-inset-bottom))}
  html body.cv-civis .cv-tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;gap:0;padding:4px 8px calc(6px + env(safe-area-inset-bottom));background:#fff;border:0;border-top:1px solid var(--x-line);border-radius:0;box-shadow:none}
  html body.cv-civis .cv-tabbar a{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:56px;padding:6px 0;border-radius:8px;background:transparent;color:var(--x-muted);text-decoration:none;font-size:10px;font-weight:500;position:relative}
  html body.cv-civis .cv-tabbar a.is-active{background:transparent;color:var(--x-primary);font-weight:600}
  html body.cv-civis .cv-tabbar a svg{width:20px;height:20px}
  html body.cv-civis .cv-tabbar span{max-width:100%;overflow:visible;text-overflow:clip;white-space:normal;text-align:center;line-height:1.15}
  html body.cv-civis .cv-tabbar .cv-navbadge{position:absolute;top:4px;left:calc(50% + 6px);min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--x-primary);color:#fff;font-size:11.5px;line-height:16px;text-align:center}
  html body.cv-civis.cv-has-tabbar:has(.cv-form .cv-actions) .cv-tabbar,html body.cv-civis.cv-has-tabbar:has(.cv-ask .cv-dock) .cv-tabbar{display:none}
  html body.cv-civis.cv-has-tabbar:has(.cv-form .cv-actions),html body.cv-civis.cv-has-tabbar:has(.cv-ask .cv-dock){padding-bottom:0}
}
@media (min-width:640px){
  html body.cv-civis .cv-header__in{padding:0 24px}
  html body.cv-civis main#cv-main:not(#_){padding:32px 24px 48px}
}
@media (min-width:1024px){
  html body.cv-civis.cv-has-side{display:block}
  html body.cv-civis .cv-shell{display:flex;min-height:100vh;min-height:100dvh}
  html body.cv-civis .cv-sidebar{display:flex;flex-direction:column;gap:2px;width:240px;flex:none;position:sticky;top:0;height:100vh;height:100dvh;overflow-y:auto;padding:16px 12px;background:var(--x-canvas)}
  html body.cv-civis .cv-sidebar__brand{display:flex;align-items:center;gap:10px;padding:6px 10px 18px;color:var(--x-text);text-decoration:none;font-weight:600;min-width:0}
  html body.cv-civis .cv-sidebar__brand .cv-logo{max-height:26px;max-width:170px}
  html body.cv-civis .cv-sidebar__nav{display:flex;flex-direction:column;gap:2px}
  html body.cv-civis .cv-sidebar__nav a{display:flex;align-items:center;gap:10px;height:34px;padding:0 10px;border-radius:6px;color:var(--x-text-2);text-decoration:none;font-size:14px;font-weight:500}
  html body.cv-civis .cv-sidebar__nav a svg{flex:none;opacity:.8}
  html body.cv-civis .cv-sidebar__nav a:hover{background:#EEF0F3;color:var(--x-text)}
  html body.cv-civis .cv-sidebar__nav a.is-active{background:#E9ECF1;color:var(--x-text)}
  html body.cv-civis .cv-sidebar__nav a.is-active svg{opacity:1;color:var(--x-primary)}
  html body.cv-civis .cv-sidebar__count{margin-left:auto;font-size:13px;font-weight:500;color:var(--x-muted);font-variant-numeric:tabular-nums}
  html body.cv-civis .cv-sidebar__label{margin:0;padding:20px 10px 6px;font:500 13px/1.2 var(--x-font);color:var(--x-muted)}
  html body.cv-civis .cv-sidebar__case .cv-dot{margin-top:6px}
  html body.cv-civis .cv-sidebar__case{display:flex;align-items:flex-start;gap:10px;margin:0;padding:6px 10px;font-size:14px;line-height:1.35;color:var(--x-text)}
  html body.cv-civis .cv-sidebar__foot{margin-top:auto;display:flex;flex-direction:column;gap:2px;border-top:1px solid var(--x-line);padding-top:6px}
  html body.cv-civis .cv-sidebar__foot .cv-sidebar__label{padding:10px 10px 2px}
  html body.cv-civis .cv-sidebar__who{margin:0 0 4px;padding:0 10px;font-size:14px;font-weight:500;color:var(--x-text)}
  html body.cv-civis .cv-sidebar__out{display:flex;align-items:center;height:34px;padding:0 10px;border-radius:6px;color:var(--x-muted);text-decoration:none;font-size:14px;font-weight:500}
  html body.cv-civis .cv-sidebar__out:hover{background:#EEF0F3;color:var(--x-text)}
  html body.cv-civis .cv-shell__main{flex:1;min-width:0;display:flex;flex-direction:column;border-left:1px solid var(--x-line)}
  html body.cv-civis.cv-has-side .cv-header__in{min-height:52px;padding:0 32px}
  html body.cv-civis.cv-has-side .cv-header .cv-brand,html body.cv-civis.cv-has-side .cv-header__out{display:none}
  html body.cv-civis.cv-has-side .cv-topbar__title{display:block}
  html body.cv-civis.cv-has-side main#cv-main:not(#_){padding:36px 40px 56px}
  html body.cv-civis.cv-has-side .cv-topbanner{padding:16px 40px 0}
  html body.cv-civis .cv-header__in{min-height:60px;padding:0 32px}
}

/* Footer: one quiet line on a computer; the phone footer keeps its contact block */
html body.cv-civis .cv-footer{background:transparent;border-top:1px solid var(--x-line);color:var(--x-faint);font-size:13px;padding:16px 0}
html body.cv-civis .cv-footer .cv-wrap{max-width:1000px;margin:0;padding:0 16px}
html body.cv-civis:not(.cv-has-side) .cv-footer .cv-wrap{margin:0 auto}
html body.cv-civis .cv-footer a{color:var(--x-muted)}
@media (min-width:640px){html body.cv-civis .cv-footer .cv-wrap{padding:0 24px}}
@media (min-width:1024px){html body.cv-civis.cv-has-side .cv-footer .cv-wrap{padding:0 40px}}

/* ---------------------------------------------------------------------------------------------------------------
   Panels, buttons, pills */
body.cv-civis #cv-main .cv-card{background:#fff;border:1px solid var(--x-line);border-radius:calc(var(--cv-radius,8px) + 2px);box-shadow:none;padding:20px 22px;margin:0 0 20px}
body.cv-civis #cv-main .cv-card>h2:first-child{font-size:15px;letter-spacing:-.01em;margin:0 0 10px}
body.cv-civis #cv-main .cv-card>h1:first-child{margin-bottom:10px}
body.cv-civis #cv-main .cv-card :is(p,li){font-size:var(--cv-fs-base,14px)}
body.cv-civis #cv-main .cv-card>p:last-child{margin-bottom:0}
body.cv-civis #cv-main .cv-empty{text-align:left;color:var(--x-muted)}
body.cv-civis #cv-main .cv-empty p{margin:0}
@media (max-width:639px){body.cv-civis #cv-main .cv-card{padding:18px 16px;margin-bottom:16px}}

body.cv-civis #cv-main .cv-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--cv-h-btn);height:auto;padding:0 18px;border-radius:var(--cv-radius,8px);border:1px solid var(--x-primary);background:var(--x-primary);color:var(--x-on-primary);font:600 var(--cv-fs-button,var(--cv-t-ui))/var(--cv-lh-button,1.2) var(--x-font);letter-spacing:0;text-decoration:none;box-shadow:none;cursor:pointer;white-space:normal;text-align:center}
body.cv-civis #cv-main .cv-btn:hover{background:var(--x-primary-hover);border-color:var(--x-primary-hover);color:var(--x-on-primary)}
body.cv-civis #cv-main .cv-btn svg{width:16px;height:16px}
body.cv-civis #cv-main .cv-btn--lg{min-height:var(--cv-h-lg);font-size:var(--cv-form-fs-button,var(--cv-t-action));width:auto;padding:0 20px}
body.cv-civis #cv-main .cv-btn--ghost{background:#fff;color:var(--x-text);border-color:var(--x-strong);font-weight:500}
body.cv-civis #cv-main .cv-btn--ghost:hover{background:var(--x-raised);border-color:var(--x-strong);color:var(--x-text)}
body.cv-civis #cv-main .cv-btn:is([disabled],.is-disabled){opacity:.5;cursor:not-allowed}
body.cv-civis #cv-main .cv-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
body.cv-civis #cv-main .cv-actions .cv-btn{margin:0}
body.cv-civis #cv-main .cv-actions>:where(.cv-btn,button,a.cv-btn){flex:0 0 auto;width:auto;min-width:0}
body.cv-civis #cv-main .cv-link{color:var(--x-primary);font-weight:500}
@media (max-width:639px){
  body.cv-civis #cv-main .cv-btn--lg{width:100%}
}

html body.cv-civis .cv-pill,body.cv-civis #cv-main .cv-chip{display:inline-flex;align-items:center;gap:6px;height:24px;min-height:0;padding:0 9px;border-radius:12px;border:1px solid var(--x-line);background:#fff;color:var(--x-text-2);font:500 13px/1 var(--x-font);white-space:nowrap;margin:0;letter-spacing:0;text-transform:none;vertical-align:middle}
html body.cv-civis .cv-dot{display:inline-block;flex:none;width:7px;height:7px;border-radius:50%;background:var(--x-faint)}
html body.cv-civis .cv-dot--ok{background:var(--x-ok)} html body.cv-civis .cv-dot--warn{background:var(--x-warn)} html body.cv-civis .cv-dot--bad{background:var(--x-bad)}
html body.cv-civis .cv-dot--info{background:var(--x-primary)} html body.cv-civis .cv-dot--muted{background:#A3A9B4}
body.cv-civis #cv-main .cv-chip::before{content:"";display:inline-block;flex:none;width:7px;height:7px;border-radius:50%;background:#A3A9B4}
body.cv-civis #cv-main .cv-chip--paid::before,body.cv-civis #cv-main .cv-chip--approved::before,body.cv-civis #cv-main .cv-chip--done::before{background:var(--x-ok)}
body.cv-civis #cv-main :is(.cv-chip--issued,.cv-chip--part_paid,.cv-chip--todo,.cv-chip--overdue,.cv-chip--returned)::before{background:var(--x-warn)}
body.cv-civis #cv-main .cv-chip--overdue::before,body.cv-civis #cv-main .cv-chip--void::before{background:var(--x-bad)}
body.cv-civis #cv-main .cv-chip--ok::before{background:var(--x-ok)}
body.cv-civis #cv-main .cv-chip--info::before{background:var(--x-info)}
body.cv-civis #cv-main .cv-chip--warn::before{background:var(--x-bad)}
body.cv-civis #cv-main .cv-chip:is(.cv-chip--paid,.cv-chip--issued,.cv-chip--part_paid,.cv-chip--todo,.cv-chip--muted){background:#fff;color:var(--x-text-2);border-color:var(--x-line)}
body.cv-civis #cv-main .cv-chip[data-suggest]{height:auto;min-height:32px;padding:4px 10px;white-space:normal;line-height:1.3}
body.cv-civis #cv-main .cv-chip[data-suggest]::before{display:none}

body.cv-civis #cv-main :is(.cv-banner,.cv-note,.cv-notice){border-radius:10px;border:1px solid var(--x-line);background:#fff;color:var(--x-text);padding:12px 14px 12px 34px;margin:0 0 20px;font-size:14px;position:relative}
body.cv-civis #cv-main :is(.cv-banner,.cv-note,.cv-notice)::before{content:"";position:absolute;left:14px;top:19px;width:8px;height:8px;border-radius:50%;background:var(--x-primary)}
body.cv-civis #cv-main .cv-banner--success::before{background:var(--x-ok)}
body.cv-civis #cv-main :is(.cv-banner--warn,.cv-note,.cv-notice)::before{background:var(--x-warn)}
body.cv-civis #cv-main .cv-banner--bad::before{background:var(--x-bad)}
body.cv-civis #cv-main .cv-banner p{margin:0}
body.cv-civis #cv-main .cv-banner ul{margin:6px 0 0;padding-left:18px}
body.cv-civis #cv-main .cv-progress{height:6px;background:var(--x-line);border-radius:3px;margin:10px 0 14px}
body.cv-civis #cv-main .cv-progress span{background:var(--x-primary);border-radius:3px}

/* Rows inside a panel (Invoices list, documents) */
body.cv-civis #cv-main .cv-panel{padding:0;overflow:hidden}
body.cv-civis #cv-main .cv-rows{list-style:none;margin:0;padding:0}
body.cv-civis #cv-main .cv-rows__row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;border-top:1px solid var(--x-line-soft);font-size:14px}
body.cv-civis #cv-main .cv-rows__row:first-child{border-top:0}
body.cv-civis #cv-main .cv-rows__main{display:flex;flex-direction:column;min-width:0;color:var(--x-text);text-decoration:none}
body.cv-civis #cv-main .cv-rows__main:hover .cv-rows__title{text-decoration:underline}
body.cv-civis #cv-main .cv-rows__title{font-weight:500;color:var(--x-text)}
body.cv-civis #cv-main .cv-rows__sub{font-size:13px;color:var(--x-muted)}
body.cv-civis #cv-main .cv-rows__end{display:flex;align-items:center;gap:10px;flex:none}
body.cv-civis #cv-main .cv-rows__num{font-weight:600}
@media (max-width:639px){
  body.cv-civis #cv-main .cv-rows__row{padding:12px 16px;align-items:flex-start}
  body.cv-civis #cv-main .cv-rows__end{flex-direction:column;align-items:flex-end;gap:6px}
}

/* Panels with a heading row and rows */
body.cv-civis #cv-main .cv-panel__head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px}
body.cv-civis #cv-main .cv-panel__head h2{margin:0;font-size:15px;letter-spacing:-.01em}
body.cv-civis #cv-main .cv-panel__head a{font-size:13px;font-weight:500;text-decoration:none;white-space:nowrap}
body.cv-civis #cv-main .cv-panel__head+.cv-rows .cv-rows__row:first-child{border-top:1px solid var(--x-line-soft)}
body.cv-civis #cv-main .cv-panel__empty{margin:0;padding:12px 18px 16px;font-size:14px;color:var(--x-muted);border-top:1px solid var(--x-line-soft)}
body.cv-civis #cv-main .cv-rows__date{font-size:13px;color:var(--x-muted);white-space:nowrap}

/* ---------------------------------------------------------------------------------------------------------------
   Home */
body.cv-civis #cv-main .cv-home--civis{display:block}
body.cv-civis #cv-main .cv-home__head{margin:0 0 24px}
body.cv-civis #cv-main .cv-home__head h1{font-size:var(--cv-fs-h1,var(--cv-t-title));letter-spacing:-.03em;margin:0 0 6px}
body.cv-civis #cv-main .cv-home__head .cv-lead{margin:0}
body.cv-civis #cv-main .cv-home__head .cv-countdown{margin-top:12px}
body.cv-civis #cv-main .cv-home__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0 20px;align-items:start}
body.cv-civis #cv-main .cv-home__main,body.cv-civis #cv-main .cv-home__side{min-width:0;display:block}
@media (min-width:1200px){body.cv-civis #cv-main .cv-home__grid{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}}

body.cv-civis #cv-main .cv-steps6{padding:18px 20px}
body.cv-civis #cv-main .cv-steps6__top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin:0 0 14px}
body.cv-civis #cv-main .cv-steps6__title{margin:0;font-weight:600;font-size:14px}
body.cv-civis #cv-main .cv-steps6__next{margin:0;font-size:13px;color:var(--x-muted)}
body.cv-civis #cv-main .cv-steps6__bar,body.cv-civis #cv-main .cv-steps6__names{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(var(--n,6),minmax(0,1fr));gap:6px}
body.cv-civis #cv-main .cv-steps6__bar li{height:6px;border-radius:3px;background:var(--x-line)}
body.cv-civis #cv-main .cv-steps6__bar li.is-done{background:var(--x-primary)}
body.cv-civis #cv-main .cv-steps6__bar li.is-current{background:linear-gradient(90deg,var(--x-gold) 50%,var(--x-line) 50%)}
body.cv-civis #cv-main .cv-steps6__names{margin-top:10px}
body.cv-civis #cv-main .cv-steps6__names li{font-size:13px;line-height:1.35;color:var(--x-muted);overflow-wrap:anywhere}
body.cv-civis #cv-main .cv-steps6__names li.is-current{color:var(--x-text);font-weight:600}
body.cv-civis #cv-main .cv-steps6__all{margin:14px 0 0;border-top:1px solid var(--x-line-soft);padding-top:10px}
body.cv-civis #cv-main .cv-steps6__all>summary{cursor:pointer;font-size:13px;font-weight:500;color:var(--x-primary);min-height:28px;display:inline-flex;align-items:center}
body.cv-civis #cv-main .cv-steps6__all .cv-flow__now{display:none}
body.cv-civis #cv-main .cv-steps6__all .cv-flow__history{border:0;padding:0}
body.cv-civis #cv-main .cv-steps6__all .cv-flow__history>summary{display:none}
body.cv-civis #cv-main .cv-steps6__all .cv-flow__history ol{padding:8px 0 0}
body.cv-civis #cv-main .cv-steps6__all .cv-flow__later{border:0;padding:12px 0 0}
@media (max-width:639px){
  body.cv-civis #cv-main .cv-steps6{padding:14px 16px}
  body.cv-civis #cv-main .cv-steps6__top{margin-bottom:10px;font-size:13px}
  body.cv-civis #cv-main .cv-steps6__title{font-size:13px}
  body.cv-civis #cv-main .cv-steps6__bar{gap:4px}
  body.cv-civis #cv-main .cv-steps6__bar li{height:5px}
  body.cv-civis #cv-main .cv-steps6__names{display:none}
}
@media (min-width:640px){body.cv-civis #cv-main .cv-steps6__names{display:grid}}

/* The flow stepper (history and later steps) in the quiet house style */
body.cv-civis #cv-main .cv-flow__step{font-size:14px;padding:0 0 10px;gap:10px}
body.cv-civis #cv-main .cv-flow__dot{width:20px;height:20px;font-size:11.5px;border:1.5px solid var(--x-strong);background:#fff;color:var(--x-muted)}
body.cv-civis #cv-main .cv-flow__step::before{left:9px;top:22px;width:1.5px;background:var(--x-line)}
body.cv-civis #cv-main .cv-flow__step.is-done .cv-flow__dot{background:var(--x-primary);border-color:var(--x-primary);color:#fff}
body.cv-civis #cv-main .cv-flow__step.is-done::before{background:var(--x-primary)}
body.cv-civis #cv-main .cv-flow__dot svg{width:11px;height:11px}
body.cv-civis #cv-main .cv-flow__body{padding-top:0}
body.cv-civis #cv-main .cv-flow__label{font-weight:500}
body.cv-civis #cv-main .cv-flow__req{font-size:13px;color:var(--x-muted)}

/* The next-step card: "Needs you" with a gold pill when it is the client's turn */
body.cv-civis #cv-main .cv-nextcard{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:22px}
body.cv-civis #cv-main .cv-nextcard.is-mine{border-color:#C9D2E3;box-shadow:0 1px 0 rgba(14,17,23,.02),0 8px 24px -16px rgba(27,47,85,.35)}
body.cv-civis #cv-main .cv-nextcard h2{font-size:15px;letter-spacing:-.02em;line-height:1.3;margin:0}
body.cv-civis #cv-main .cv-nextcard p{margin:0;color:var(--x-muted);font-size:var(--cv-fs-base,14px)}
body.cv-civis #cv-main .cv-nextcard .cv-progress{align-self:stretch;margin:2px 0}
body.cv-civis #cv-main .cv-nextcard .cv-actions{margin-top:4px;align-self:stretch}
body.cv-civis #cv-main .cv-nextcard .cv-btn--lg{padding:0 18px}
@media (min-width:640px){body.cv-civis #cv-main .cv-nextcard .cv-actions .cv-btn--lg{width:auto;display:inline-flex}}
@media (max-width:639px){
  body.cv-civis #cv-main .cv-nextcard{padding:18px 16px}
  body.cv-civis #cv-main .cv-nextcard h2{font-size:15px}
  body.cv-civis #cv-main .cv-nextcard .cv-btn--lg{width:100%}
  body.cv-civis #cv-main .cv-home__head{margin-bottom:16px}
  body.cv-civis #cv-main .cv-home__head .cv-lead{font-size:14px}
}

/* Side tools on Home */
body.cv-civis #cv-main .cv-dash-tool{padding:18px}
body.cv-civis #cv-main .cv-dash-tool>h2{display:flex;align-items:center;gap:8px;font-size:15px;margin:0 0 8px}
body.cv-civis #cv-main .cv-dash-tool__count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--x-raised);color:var(--x-text-2);font-size:13px;font-weight:500}
body.cv-civis #cv-main .cv-dash-tool.is-urgent{border-color:#C9D2E3}
body.cv-civis #cv-main .cv-dash-tool__body p{font-size:var(--cv-fs-base,14px);color:var(--x-muted);margin:0 0 10px}
body.cv-civis #cv-main .cv-dash-tool__body>a:not(.cv-btn){font-size:14px;font-weight:500;text-decoration:none}
body.cv-civis #cv-main .cv-dash-tool__body .cv-actions{margin-top:0}
body.cv-civis #cv-main :is(.cv-dash-tool,.cv-talk) .cv-btn,body.cv-civis #cv-main .cv-btn--sm{min-height:var(--cv-h-sm);padding:0 12px;font-size:var(--cv-fs-button,var(--cv-t-ui));width:auto}
body.cv-civis #cv-main .cv-talk{padding:18px}
body.cv-civis #cv-main .cv-talk h2{margin:0 0 6px}
body.cv-civis #cv-main .cv-talk p{color:var(--x-muted);margin:0}
body.cv-civis #cv-main .cv-talk .cv-actions{margin-top:12px}
body.cv-civis #cv-main :is(.cv-dash-tool,.cv-talk) .cv-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px}
body.cv-civis #cv-main :is(.cv-dash-tool,.cv-talk) .cv-btn{width:auto;flex:0 0 auto;min-height:40px;padding:0 14px;font-size:14px}
@media (max-width:1023.98px){body.cv-civis #cv-main :is(.cv-dash-tool,.cv-talk) .cv-btn{min-height:44px}body.cv-civis #cv-main .cv-btn--sm{min-height:44px}}

/* ---------------------------------------------------------------------------------------------------------------
   Page layout inside the content column: one column of panels, max 1000px, left aligned */
body.cv-civis #cv-main.cv-grid{display:block;padding-top:inherit}
body.cv-civis #cv-main.cv-grid>*{max-width:none;width:auto;justify-self:auto;grid-column:auto}
body.cv-civis #cv-main>h1,body.cv-civis #cv-main>.cv-formhead h1,body.cv-civis #cv-main .cv-read>.cv-formhead h1{font-size:var(--cv-fs-h1,var(--cv-t-title));line-height:1.2;letter-spacing:-.025em;margin:0 0 8px}
body.cv-civis #cv-main>.cv-formhead h1,body.cv-civis #cv-main .cv-read>.cv-formhead h1{font-size:var(--cv-form-fs-h1,var(--cv-t-title))}
body.cv-civis #cv-main>h1:has(+ :is(section,form,.cv-card,div)){margin-bottom:20px}
body.cv-civis #cv-main>p.cv-lead{max-width:680px;margin:0 0 20px}
body.cv-civis #cv-main>p:not([class]){margin:0 0 16px;font-size:var(--cv-fs-base,14px)}
body.cv-civis #cv-main>p:not([class])>a{text-decoration:none;font-weight:500}
body.cv-civis #cv-main .cv-card .cv-card{border:0;padding:0;margin:0;background:transparent;box-shadow:none;border-radius:0}

/* Documents: each pack a heading row, each document a row with an icon, its date and its links */
body.cv-civis #cv-main .cv-docs{list-style:none;margin:0;padding:0}
body.cv-civis #cv-main .cv-docs li{display:flex;gap:14px;align-items:flex-start;padding:14px 0;margin:0;border-top:1px solid var(--x-line-soft);border-left:0}
body.cv-civis #cv-main .cv-docs li:first-child{border-top:0}
body.cv-civis #cv-main .cv-docs li.cv-docs__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-top:1px solid var(--x-line);margin:8px 0 0;padding:16px 0 6px}
body.cv-civis #cv-main .cv-docs li.cv-docs__head:first-child{border-top:0;margin-top:0;padding-top:0}
body.cv-civis #cv-main .cv-docs li.cv-docs__head h3{margin:0;font-size:15px;font-weight:600}
body.cv-civis #cv-main .cv-docs li.cv-docs__head p{margin:0;font-size:13px;color:var(--x-muted)}
body.cv-civis #cv-main .cv-docs li.cv-docs__head+li{border-top:0}
body.cv-civis #cv-main .cv-docs li.cv-docs__part{padding-left:0;margin-left:0;border-left:0}
body.cv-civis #cv-main .cv-docs__icon{flex:none;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;background:var(--x-raised);color:var(--x-text-2)}
body.cv-civis #cv-main .cv-docs__icon svg{width:18px;height:18px}
body.cv-civis #cv-main .cv-docs li>div{min-width:0;flex:1}
body.cv-civis #cv-main .cv-docs a{font-weight:500;text-decoration:none;color:var(--x-text)}
body.cv-civis #cv-main .cv-docs li>div>a{font-size:14px}
body.cv-civis #cv-main .cv-docs li>div>a:hover{text-decoration:underline}
body.cv-civis #cv-main .cv-docs p{margin:2px 0 0;font-size:13px;color:var(--x-muted)}
body.cv-civis #cv-main .cv-docs p>a{color:var(--x-primary);font-size:13px}
body.cv-civis #cv-main .cv-docs p>a:hover{text-decoration:underline}
body.cv-civis #cv-main .cv-docs .cv-docs__kind{font:500 13px/1.3 var(--x-font)!important;letter-spacing:0;text-transform:none;color:var(--x-gold-text)!important;margin:0 0 2px!important}
body.cv-civis #cv-main .cv-docs .cv-docs__of{font-size:13px;margin:0 0 2px}
body.cv-civis #cv-main .cv-docs__locked strong{font-weight:500}
body.cv-civis #cv-main .cv-docs+.cv-hint,body.cv-civis #cv-main .cv-card>.cv-hint:last-child{margin:14px 0 0;padding-top:14px;border-top:1px solid var(--x-line-soft)}
@media (max-width:639px){body.cv-civis #cv-main .cv-docs li.cv-docs__head{display:block}body.cv-civis #cv-main .cv-docs__icon{width:32px;height:32px}}

/* The Strategy Session block that follows the documents */
body.cv-civis #cv-main .cv-session-cta,body.cv-civis #cv-main .cv-next.cv-session-cta{border:1px solid #C9D2E3;border-radius:calc(var(--cv-radius,8px) + 2px);background:#fff;padding:18px 20px;margin:16px 0 0;box-shadow:0 8px 24px -16px rgba(27,47,85,.35)}
body.cv-civis #cv-main .cv-session-cta .cv-flow__what{font-size:15px;font-weight:600;letter-spacing:-.015em;margin:0 0 6px}
body.cv-civis #cv-main .cv-session-cta p{color:var(--x-muted);font-size:14px}
body.cv-civis #cv-main .cv-session-cta .cv-actions{margin:12px 0 0}
body.cv-civis #cv-main>.cv-session-cta{margin:20px 0 0}

/* Agreements */
body.cv-civis #cv-main .cv-agreement-card h2{font-size:15px;letter-spacing:-.015em;margin:0 0 4px}
body.cv-civis #cv-main .cv-agreement-card>p:not([class]){color:var(--x-muted);margin:0}
body.cv-civis #cv-main .cv-agreement-actions{margin:14px 0 0}
body.cv-civis #cv-main .cv-agreement-card details{margin-top:14px;border-top:1px solid var(--x-line-soft);padding-top:10px}
body.cv-civis #cv-main details>summary{cursor:pointer;font-size:14px;font-weight:500;color:var(--x-primary);min-height:32px;display:flex;align-items:center;gap:6px}
body.cv-civis #cv-main :is(.cv-terms__text,.cv-agreement-card details>div,.cv-agreement){background:var(--x-ground);border:1px solid var(--x-line);border-radius:10px;padding:18px 20px;font-size:14px;line-height:1.6}
body.cv-civis #cv-main .cv-terms__text{max-height:46vh;overflow:auto}
body.cv-civis #cv-main article.cv-agreement{max-height:none;background:#fff;padding:24px 28px}
body.cv-civis #cv-main article.cv-agreement>h1{font-size:var(--cv-fs-h1,var(--cv-t-title))}
body.cv-civis #cv-main :is(.cv-terms__text,.cv-agreement) :is(h2,h3){font-size:14px;font-weight:600;letter-spacing:0;margin:16px 0 4px}
body.cv-civis #cv-main .cv-sign{border-top:1px solid var(--x-line);margin-top:20px;padding-top:20px}
body.cv-civis #cv-main .cv-sign__party{border:1px solid var(--x-line);border-radius:10px;background:#fff;padding:16px 18px}
body.cv-civis #cv-main .cv-sign__party--you{border-color:var(--x-strong)}
body.cv-civis #cv-main .cv-sign__for{font-size:13px;font-weight:500;color:var(--x-muted)}
/* The handwritten signature keeps its own size, the same for both parties: the 14px card text rule above must never reach it. A long name wraps; it is never made smaller. */
body.cv-civis #cv-main .cv-card p.cv-sign__sig,body.cv-civis #cv-main p.cv-sign__sig,body.cv-civis p.cv-sign__sig{font-size:35px;line-height:1.1;min-height:60px;padding:0 0 4px}
body.cv-civis #cv-main .cv-sign__note{color:var(--x-muted)}
@media (max-width:639px){body.cv-civis #cv-main :is(.cv-terms__text,.cv-agreement){padding:14px}body.cv-civis #cv-main article.cv-agreement{padding:16px}}

/* Messages: one row per email, opening in place */
body.cv-civis #cv-main .cv-msgs{list-style:none;margin:0;padding:0}
body.cv-civis #cv-main .cv-msgs li{display:block;padding:0;border-top:1px solid var(--x-line-soft)}
body.cv-civis #cv-main .cv-msgs li:first-child{border-top:0}
body.cv-civis #cv-main .cv-msgs summary{display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:56px;padding:10px 0;color:var(--x-text)}
body.cv-civis #cv-main .cv-msgs summary strong{font-weight:500;font-size:15px}
body.cv-civis #cv-main .cv-msgs summary small{font-size:13px;color:var(--x-muted);font-weight:400}
body.cv-civis #cv-main .cv-msgframe{border:1px solid var(--x-line);border-radius:10px;min-height:360px;margin:0 0 14px;background:#fff}

/* Forms: 44px fields, 8px corners, the brand ring on focus */
body.cv-civis #cv-main :is(input[type=text],input[type=email],input[type=tel],input[type=number],input[type=date],input[type=password],input[type=url],input[type=month],input:not([type]),select,textarea),body.cv-civis #cv-main .cv-dw__open{min-height:44px;padding:8px 12px;border:1px solid var(--x-strong);border-radius:var(--cv-radius,8px);background:#fff;color:var(--x-text);font:400 max(16px,var(--cv-form-fs-base,16px))/1.4 var(--x-font);box-shadow:none}
body.cv-civis #cv-main textarea{min-height:110px;line-height:1.5}
body.cv-civis #cv-main :is(input,select,textarea):focus,body.cv-civis #cv-main .cv-dw__open:focus-visible{outline:none;border-color:var(--x-primary);box-shadow:var(--x-ring)}
body.cv-civis #cv-main :is(input,select,textarea)[aria-invalid=true],body.cv-civis #cv-main .cv-invalid :is(input,select,textarea,.cv-dw__open){border-color:var(--x-bad);outline:0}
body.cv-civis #cv-main :is(.cv-field label,.cv-field legend,.cv-form>label){font:500 var(--cv-form-fs-label,14px)/var(--cv-form-lh-label,1.4) var(--x-font);color:var(--x-text);margin:0 0 6px}
body.cv-civis #cv-main .cv-field{margin:0 0 18px}
body.cv-civis #cv-main :is(.cv-section>.cv-field,.cv-form>.cv-section>.cv-field){border-bottom:1px solid var(--x-line-soft);padding-bottom:18px;margin-bottom:18px}
body.cv-civis #cv-main .cv-section>.cv-field:last-of-type{border-bottom:0}
body.cv-civis #cv-main .cv-field .cv-help{margin:0 0 8px}
body.cv-civis #cv-main .cv-req,body.cv-civis #cv-main .cv-opt{font-size:13px;font-weight:400;color:var(--x-muted);white-space:nowrap}
body.cv-civis #cv-main .cv-error,body.cv-civis #cv-main .cv-miss{color:#C4282E;font-size:13px;font-weight:500}
body.cv-civis #cv-main .cv-choices{gap:8px}
body.cv-civis #cv-main label.cv-choice,body.cv-civis #cv-main .cv-choice{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 12px;border:1px solid var(--x-strong);border-radius:var(--cv-radius,8px);background:#fff;font:400 var(--cv-form-fs-base,14px)/1.4 var(--x-font)!important;color:var(--x-text);cursor:pointer}
body.cv-civis #cv-main .cv-choice:hover{border-color:#B9C0CC;background:var(--x-ground)}
body.cv-civis #cv-main .cv-choice:has(input:checked){border-color:var(--x-primary);background:var(--cv-brand-50,#EEF2FA);box-shadow:inset 0 0 0 1px var(--x-primary)}
body.cv-civis #cv-main .cv-choice input,body.cv-civis #cv-main .cv-check input{width:16px;height:16px;accent-color:var(--x-primary);flex:none}
body.cv-civis #cv-main .cv-choice--rich small{font-size:13px;color:var(--x-muted)}
body.cv-civis #cv-main label.cv-check{display:flex;gap:10px;align-items:flex-start;font:400 var(--cv-form-fs-base,14px)/1.5 var(--x-font);color:var(--x-text);margin:12px 0}
body.cv-civis #cv-main label.cv-check input{margin-top:2px}
body.cv-civis #cv-main input[type=file]{width:100%;min-height:52px;padding:8px;border:1px dashed var(--x-strong);border-radius:var(--cv-radius,8px);background:var(--x-ground);font:400 14px var(--x-font);color:var(--x-muted)}
body.cv-civis #cv-main input[type=file]::file-selector-button{min-height:36px;margin-right:12px;padding:0 12px;border-radius:8px;border:1px solid var(--x-strong);background:#fff;font:500 14px var(--x-font);color:var(--x-text);cursor:pointer}
body.cv-civis #cv-main .cv-form>.cv-btn,body.cv-civis #cv-main .cv-form>button:not(.cv-link):not(.cv-add--small):not(.cv-btn--add){margin-top:6px}
body.cv-civis #cv-main .cv-saved{font-size:13px;color:var(--x-muted)}
body.cv-civis #cv-main .cv-section{border-left:0;padding-left:0}
body.cv-civis #cv-main .cv-section>h2{color:var(--x-text);font-size:15px;letter-spacing:-.015em}
body.cv-civis #cv-main .cv-rep-row{border:1px solid var(--x-line);border-left:2px solid var(--cv-sec,var(--x-strong));border-radius:calc(var(--cv-radius,8px) + 2px);padding:14px 16px;background:#fff}
body.cv-civis #cv-main .cv-rep-head strong{color:var(--x-text)}
/* "Add another ...": the full width of the list and left-aligned like the entries above it, in a dashed gold
   outline (the next entry goes here). Smaller type than Continue, so it never reads as the step's main action.
   "Add a job" / "Add a course" on the gaps page and "Add the qualification" use the same look. */
body.cv-civis #cv-main .cv-repeater>.cv-btn--add,body.cv-civis #cv-main .cv-btn--add.cv-goback{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1px dashed var(--x-gold);border-radius:10px;background:color-mix(in srgb,var(--x-gold) 6%,#fff);color:var(--x-gold-text);font-size:14px;font-weight:600;text-align:left;white-space:normal}
body.cv-civis #cv-main .cv-repeater>.cv-btn--add{width:100%;max-width:100%;margin:8px 0 4px;justify-content:flex-start}
body.cv-civis #cv-main .cv-repeater>.cv-btn--add:hover,body.cv-civis #cv-main .cv-btn--add.cv-goback:hover{background:color-mix(in srgb,var(--x-gold) 14%,#fff);border-style:solid;border-color:var(--x-gold-text);color:var(--x-gold-text)}
body.cv-civis #cv-main .cv-gap-add__buttons .cv-btn--add{min-height:40px;padding:0 14px;justify-content:center;white-space:nowrap}
body.cv-civis #cv-main .cv-btn--add .cv-plus{background:var(--x-gold-text);color:#fff;width:16px;height:16px;font-size:12px}
body.cv-civis #cv-main .cv-error-summary{border:1px solid #F3C4C6;background:#FFF7F7;border-radius:10px;padding:12px 14px;margin:0 0 18px;color:#8F1D22}
body.cv-civis #cv-main .cv-error-summary ul{margin:6px 0 0;padding-left:18px}
body.cv-civis #cv-main .cv-error-summary a{color:#8F1D22}
body.cv-civis #cv-main .cv-spouse{border:1px solid var(--x-line);border-left:2px solid var(--x-gold);background:var(--x-ground);border-radius:10px;padding:14px 16px}

/* The questionnaire: a head with step count and a thin bar, the form in one panel, Back / Continue below */
body.cv-civis #cv-main .cv-formhead{margin:0 0 20px}
body.cv-civis #cv-main .cv-formhead .cv-eyebrow{margin-bottom:6px}
body.cv-civis #cv-main .cv-stepcount{font-size:13px;color:var(--x-muted);margin:2px 0 0}
body.cv-civis #cv-main .cv-formhead .cv-progress{height:4px;margin:10px 0 0;max-width:420px}
body.cv-civis #cv-main .cv-formhead__about{margin:10px 0 0;font-size:13px}
body.cv-civis #cv-main .cv-formhead__about a{text-decoration:none;font-weight:500}
body.cv-civis #cv-main .cv-wizard{padding:24px}
body.cv-civis #cv-main .cv-actions--split{justify-content:space-between;align-items:center;border-top:1px solid var(--x-line-soft);padding-top:18px;margin-top:8px}
body.cv-civis #cv-main .cv-actions--split .cv-btn{flex:0 0 auto;width:auto;min-width:120px}
body.cv-civis #cv-main .cv-actions--split .cv-btn--lg{min-width:180px}
@media (max-width:1023.98px){
  body.cv-civis #cv-main .cv-form .cv-actions{position:sticky;bottom:0;z-index:4;background:#fff;margin:8px -22px 0;padding:12px 22px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--x-line);border-radius:0}
  body.cv-civis #cv-main .cv-form .cv-actions:last-child{margin-bottom:-20px;border-radius:0 0 12px 12px}
  body.cv-civis #cv-main .cv-wizard .cv-actions{margin-left:-24px;margin-right:-24px;padding-left:24px;padding-right:24px}
  body.cv-civis #cv-main .cv-wizard .cv-actions:last-child{margin-bottom:-24px}
}
@media (max-width:639px){
  body.cv-civis #cv-main .cv-wizard{padding:18px 16px}
  body.cv-civis #cv-main .cv-actions--split .cv-btn{min-width:0;flex:1}
  body.cv-civis #cv-main .cv-actions--split .cv-btn--lg{flex:1.7}
}
body.cv-civis #cv-main .cv-app--form{display:block}
body.cv-civis #cv-main .cv-sectionnav ol{gap:6px;margin:0 0 16px}
@media (max-width:640px){body.cv-civis #cv-main .cv-sectionnav{overflow:visible}body.cv-civis #cv-main .cv-sectionnav ol{flex-wrap:wrap;overflow:visible}}
body.cv-civis #cv-main .cv-sectionnav a{min-height:32px;padding:0 12px;border-radius:16px;border:1px solid var(--x-line);background:#fff;color:var(--x-text-2);font-size:13px;font-weight:500}
body.cv-civis #cv-main .cv-sectionnav li[aria-current] a{background:var(--x-text);color:#fff;border-color:var(--x-text)}
@media (min-width:1024px){
  body.cv-civis #cv-main .cv-app--form{display:grid;grid-template-columns:200px minmax(0,1fr);column-gap:28px;align-items:start}
  body.cv-civis #cv-main .cv-app--form .cv-sectionnav{position:sticky;top:76px}
  body.cv-civis #cv-main .cv-app--form .cv-sectionnav ol{flex-direction:column;gap:2px}
  body.cv-civis #cv-main .cv-app--form .cv-sectionnav a,body.cv-civis #cv-main .cv-app--form .cv-sectionnav li[aria-current] a{display:block;border:0;border-radius:6px;background:transparent;color:var(--x-text-2);padding:7px 10px;font-size:14px;white-space:normal;line-height:1.35}
  body.cv-civis #cv-main .cv-app--form .cv-sectionnav li[aria-current] a{background:#E9ECF1;color:var(--x-text);font-weight:500}
  body.cv-civis #cv-main .cv-app--form .cv-read{max-width:none;margin:0}
}

/* "Before you start" */
body.cv-civis #cv-main .cv-intro{padding:28px 30px;max-width:none}
body.cv-civis #cv-main .cv-intro h1{font-size:var(--cv-form-fs-h1,var(--cv-t-title));letter-spacing:-.025em;margin:0 0 10px}
body.cv-civis #cv-main .cv-intro .cv-lead{max-width:640px;margin:0 0 20px}
body.cv-civis #cv-main .cv-intro__grid{gap:14px}
body.cv-civis #cv-main .cv-intro__box{border:1px solid var(--x-line);border-radius:10px;background:var(--x-ground);padding:16px 18px}
body.cv-civis #cv-main .cv-intro__box h2{font-size:14px;margin:0 0 8px}
body.cv-civis #cv-main .cv-intro__box--next{background:#fff;margin-top:14px}
body.cv-civis #cv-main .cv-intro__list{font-size:14px;color:var(--x-text-2)}
body.cv-civis #cv-main .cv-intro__steps summary{color:var(--x-primary);font-weight:500}
body.cv-civis #cv-main .cv-intro__time{color:var(--x-muted)}
@media (max-width:639px){body.cv-civis #cv-main .cv-intro{padding:20px 16px}}

/* Invoice (in the portal and from the emailed link) */
body.cv-civis #cv-main .cv-invoice{max-width:760px;padding:28px 30px}
body.cv-civis #cv-main .cv-invoice__head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--x-line)}
body.cv-civis #cv-main .cv-invoice__head h1{font-size:var(--cv-fs-h1,var(--cv-t-title));margin:0}
body.cv-civis #cv-main .cv-invoice__head .cv-eyebrow{margin:0 0 4px}
body.cv-civis #cv-main .cv-dl-grid{display:grid;grid-template-columns:fit-content(45%) minmax(0,1fr);gap:8px 24px;margin:0 0 20px;font-size:14px}
body.cv-civis #cv-main .cv-dl-grid dt{color:var(--x-muted);margin:0}
body.cv-civis #cv-main .cv-dl-grid dd{margin:0;font-weight:500;color:var(--x-text)}
/* On an invoice or credit note every label starts and every value ends on the same lines as the text of its tables
   (the tables' own cell inset: 12px, 8px on a phone), with each value on the right like the amounts. */
body.cv-civis #cv-main .cv-invoice .cv-dl-grid{padding:0 12px}
body.cv-civis #cv-main .cv-invoice .cv-dl-grid dd{text-align:right}
body.cv-civis #cv-main .cv-table{width:100%;border-collapse:collapse;margin:0 0 20px;font-size:14px}
body.cv-civis #cv-main .cv-table thead th{font:500 13px/1.3 var(--x-font);letter-spacing:0;text-transform:none;color:var(--x-muted);background:var(--x-ground);padding:10px 12px;border-bottom:1px solid var(--x-line);text-align:left}
body.cv-civis #cv-main .cv-table td{padding:12px;border-bottom:1px solid var(--x-line-soft);vertical-align:top}
body.cv-civis #cv-main .cv-table .cv-num{text-align:right}
body.cv-civis #cv-main .cv-table tfoot :is(td,th){border-bottom:0;padding-top:14px}
body.cv-civis #cv-main .cv-total{font-size:15px;font-weight:600;letter-spacing:-.01em}

body.cv-civis #cv-main .cv-invoice h2{font-size:15px;margin:22px 0 10px}
body.cv-civis #cv-main p.cv-invoice-disclaimer,body.cv-civis #cv-main p.cv-invoice-note{font-size:13px;line-height:1.55;color:var(--x-muted);border-top:1px solid var(--x-line);padding-top:14px;margin-top:20px}
@media (max-width:639px){
  body.cv-civis #cv-main .cv-invoice{padding:20px 16px}
  body.cv-civis #cv-main .cv-dl-grid{gap:8px 16px}
  body.cv-civis #cv-main .cv-table :is(td,th){padding:10px 8px}
  body.cv-civis #cv-main .cv-invoice .cv-dl-grid{padding:0 8px}
}
/* On a phone each payment is a small card (date and amount on one line, its status under them): the cells keep no
   padding, border or fixed width of their own, so the amount is never squeezed into a sliver with a stray rule. */
@media (max-width:560px){
  body.cv-civis #cv-main .cv-pay-history tbody td,body.cv-civis #cv-main .cv-pay-history tfoot :is(th,td){padding:0;border:0;width:auto}
  body.cv-civis #cv-main .cv-invoice .cv-pay-history tbody tr,body.cv-civis #cv-main .cv-invoice .cv-pay-history tfoot tr{padding-left:8px;padding-right:8px}
}

/* State pages (link expired, signed out, done) and the "email me my link" form */
body.cv-civis #cv-main .cv-state{text-align:center;padding:12px 0 0}
body.cv-civis #cv-main .cv-state__icon{width:48px;height:48px;border-radius:12px;margin:0 auto 18px;background:#fff;border:1px solid var(--x-line);color:var(--x-text-2)}
body.cv-civis #cv-main .cv-state__icon svg{width:20px;height:20px}
body.cv-civis #cv-main :is(.cv-state--success,.cv-state--submitted) .cv-state__icon{color:var(--x-ok)}
body.cv-civis #cv-main :is(.cv-state--error,.cv-state--locked,.cv-state--upload_error) .cv-state__icon{color:var(--x-warn)}
body.cv-civis #cv-main .cv-state h1{font-size:var(--cv-fs-h1,var(--cv-t-title));margin:0 0 10px}
body.cv-civis #cv-main .cv-state>p{color:var(--x-muted);font-size:14px;max-width:46ch;margin:0 auto 20px}
body.cv-civis #cv-main .cv-state>form.cv-card,body.cv-civis #cv-main .cv-resend{text-align:left;max-width:420px;margin:0 auto 20px;padding:22px}
body.cv-civis #cv-main .cv-resend label{display:block;font:500 var(--cv-fs-label,14px)/var(--cv-lh-label,1.4) var(--x-font);margin:0 0 6px}
body.cv-civis #cv-main .cv-resend .cv-btn{width:100%;margin-top:12px}
body.cv-civis #cv-main .cv-resend .cv-hint{margin:12px 0 0}
@media (max-width:639px){body.cv-civis #cv-main .cv-state>form.cv-card{margin-left:0;margin-right:0;max-width:none}}

/* Countdown chip */
body.cv-civis #cv-main .cv-countdown{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border:1px solid var(--x-line);border-radius:14px;background:#fff;font:500 13px/1 var(--x-font);color:var(--x-text-2)}

/* Checklist */
body.cv-civis #cv-main .cv-cl-head{padding:20px 22px}
body.cv-civis #cv-main .cv-cl-person{font-size:15px;letter-spacing:-.015em;margin:24px 0 10px}
body.cv-civis #cv-main .cv-cl-item__head h2,body.cv-civis #cv-main .cv-cl-item__head h3{font-size:15px}
body.cv-civis #cv-main .cv-cl-item--returned{border-color:#E9C98B}
body.cv-civis #cv-main .cv-cl-upload{border:1px dashed var(--x-strong);border-radius:10px;background:var(--x-ground);padding:10px 14px}

/* Booking slots */
body.cv-civis #cv-main .cv-book__day{border-top:1px solid var(--x-line-soft);padding:12px 0}
body.cv-civis #cv-main .cv-book__day summary{font-weight:500;color:var(--x-text)}
body.cv-civis #cv-main .cv-slot span{min-height:40px;display:flex;align-items:center;justify-content:center;border:1px solid var(--x-strong);border-radius:var(--cv-radius,8px);background:#fff;font-size:14px}
body.cv-civis #cv-main .cv-slot input:checked+span{background:var(--x-primary);border-color:var(--x-primary);color:#fff}

/* Clarifications and other one-question screens */

/* ---------------------------------------------------------------------------------------------------------------
   The report reader: the released Word document as a calm page. Tables reflow on a phone: a verdict box
   stacks its label over its text, label-and-text rows put the label above, a table's rows become cards with
   each column's heading in front of its value ("When · This month"). */
body.cv-civis #cv-main .cv-report-read{max-width:760px;margin:0;padding:36px 44px 40px;border:1px solid var(--x-line);border-radius:12px;background:#fff;font:400 var(--cv-doc-fs-base,15px)/var(--cv-doc-lh-base,1.65) var(--x-font);color:var(--x-text)}
body.cv-civis #cv-main .cv-report-read :is(p,li){font-size:var(--cv-doc-fs-base,15px);line-height:var(--cv-doc-lh-base,1.65);color:var(--x-text-2)}
body.cv-civis #cv-main .cv-report-read :is(h1,h2,h3){font-family:var(--x-font);color:var(--x-text);font-weight:600}
body.cv-civis #cv-main .cv-report-read h1{font-size:var(--cv-doc-fs-h1,var(--cv-t-title));line-height:1.15;letter-spacing:-.03em;margin:0 0 8px}
body.cv-civis #cv-main .cv-report-read h2{font-size:var(--cv-doc-fs-h2,24px);line-height:1.2;letter-spacing:-.025em;margin:36px 0 12px}
body.cv-civis #cv-main .cv-report-read h3{font-size:var(--cv-doc-fs-h3,15px);line-height:1.3;letter-spacing:-.015em;margin:24px 0 8px}
body.cv-civis #cv-main .cv-report-read p{margin:0 0 14px}
body.cv-civis #cv-main .cv-report-read p.is-kicker{font:600 11.5px/1.3 var(--x-font);letter-spacing:.08em;text-transform:uppercase;color:var(--x-muted);margin:36px 0 6px}
body.cv-civis #cv-main .cv-report-read p.is-kicker+h2{margin-top:0}
body.cv-civis #cv-main .cv-report-read p.is-meta{font-size:14px;color:var(--x-muted);margin:0 0 4px}
body.cv-civis #cv-main .cv-report-read p.is-meta strong{color:var(--x-text);font-weight:500}
body.cv-civis #cv-main .cv-report-read p.is-notice{font-size:13px;color:var(--x-muted);border-top:1px solid var(--x-line);padding-top:12px;margin-top:16px}
body.cv-civis #cv-main .cv-report-read p.is-source{font-size:13px;color:var(--x-muted);margin:0 0 4px}
body.cv-civis #cv-main .cv-report-read p.is-disclaimer{font-size:13px;line-height:1.55;font-style:normal;color:var(--x-faint);border-top:1px solid var(--x-line);padding-top:14px;margin-top:28px}
body.cv-civis #cv-main .cv-report-read p.is-bullet{position:relative;padding-left:20px;margin:0 0 8px}
body.cv-civis #cv-main .cv-report-read p.is-bullet::before{content:"";position:absolute;left:4px;top:.72em;width:5px;height:5px;border-radius:50%;background:var(--x-gold)}
body.cv-civis #cv-main .cv-report-read p.is-numbered{padding-left:28px;text-indent:-28px;margin:0 0 8px}
body.cv-civis #cv-main .cv-report-read .is-mark{min-width:28px;color:var(--x-text);font-weight:600;font-variant-numeric:tabular-nums}
body.cv-civis #cv-main .cv-report-read p.is-callout{border:1px solid var(--x-line);border-left:2px solid var(--x-gold);border-radius:0 10px 10px 0;background:var(--x-ground);padding:14px 16px;margin:16px 0 20px}
body.cv-civis #cv-main .cv-report-read p.is-callout strong{display:block;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--x-muted);margin:0 0 4px}
body.cv-civis #cv-main .cv-report-read strong{color:var(--x-text);font-weight:600}
/* Tables */
body.cv-civis #cv-main .cv-rt{margin:20px 0 24px}
body.cv-civis #cv-main .cv-rt p{margin:0 0 6px;font-size:14px;line-height:1.55}
body.cv-civis #cv-main .cv-rt p:last-child{margin-bottom:0}

body.cv-civis #cv-main .cv-rt-wrap{margin:20px 0 24px;border:1px solid var(--x-line);border-radius:12px;overflow:hidden}
body.cv-civis #cv-main .cv-rt--grid{width:100%;border-collapse:collapse;margin:0}
body.cv-civis #cv-main .cv-rt--grid th{text-align:left;vertical-align:bottom;padding:12px 16px;background:var(--x-ground);border-bottom:1px solid var(--x-line)}
body.cv-civis #cv-main .cv-rt--grid th p,body.cv-civis #cv-main .cv-rt--grid th strong{font-size:11.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--x-muted)}
body.cv-civis #cv-main .cv-rt--grid td{padding:14px 16px;vertical-align:top;border-top:1px solid var(--x-line-soft)}
body.cv-civis #cv-main .cv-rt--grid tbody tr:first-child td{border-top:0}
body.cv-civis #cv-main .cv-rt--grid td p{color:var(--x-text)}
body.cv-civis #cv-main .cv-rt--grid td p+p{color:var(--x-muted)}
body.cv-civis #cv-main .cv-rt--grid td.is-num{width:44px}
body.cv-civis #cv-main .cv-rt--grid td.is-num p{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;border-radius:6px;background:var(--x-primary);color:#fff;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
body.cv-civis #cv-main .cv-rt--grid td.is-num p *{color:inherit;font-weight:inherit}
body.cv-civis #cv-main .cv-rt--grid td.is-short{white-space:nowrap}
@media (max-width:639px){
  body.cv-civis #cv-main .cv-report-read{padding:24px 16px 28px;border-radius:12px}
  body.cv-civis #cv-main .cv-report-read h2{font-size:var(--cv-doc-fs-h2,21px)}
  body.cv-civis #cv-main .cv-report-read :is(p,li){font-size:var(--cv-doc-fs-base,15px)}

  body.cv-civis #cv-main .cv-rt-wrap{border:0;border-radius:0;overflow:visible}
  body.cv-civis #cv-main .cv-rt--grid,body.cv-civis #cv-main .cv-rt--grid :is(tbody,tr,td){display:block;width:auto}
  body.cv-civis #cv-main .cv-rt--grid thead{display:none}
  body.cv-civis #cv-main .cv-rt--grid tr{position:relative;border:1px solid var(--x-line);border-top:0;padding:14px 16px}
  body.cv-civis #cv-main .cv-rt--grid tbody tr:first-child{border-top:1px solid var(--x-line);border-radius:12px 12px 0 0}
  body.cv-civis #cv-main .cv-rt--grid tbody tr:last-child{border-radius:0 0 12px 12px}
  body.cv-civis #cv-main .cv-rt--grid tbody tr:only-child{border-radius:12px}
  body.cv-civis #cv-main .cv-rt--grid td{padding:0;border:0;white-space:normal}
  body.cv-civis #cv-main .cv-rt--grid td+td{margin-top:6px}
  body.cv-civis #cv-main .cv-rt--grid tr:has(td.is-num){padding-left:52px}
  body.cv-civis #cv-main .cv-rt--grid td.is-num{position:absolute;left:16px;top:14px;width:auto}
  body.cv-civis #cv-main .cv-rt--grid td.is-num+td{margin-top:0}
  body.cv-civis #cv-main .cv-rt--grid td.is-first p:first-child{font-weight:600}
  body.cv-civis #cv-main .cv-rt--grid td.is-num+td p:first-child{font-weight:600}
  body.cv-civis #cv-main .cv-rt--grid td:not(.is-num):not(.is-first)[data-label]::before{content:attr(data-label);display:block;font-size:11.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--x-muted);margin:0 0 2px}
  body.cv-civis #cv-main .cv-rt--grid td.is-num+td[data-label]:not(.is-short)::before{display:none}
  body.cv-civis #cv-main .cv-rt--grid td.is-short[data-label]{display:flex;gap:6px;align-items:baseline;flex-wrap:wrap}
  body.cv-civis #cv-main .cv-rt--grid td.is-short[data-label]:not(.is-num)::before{display:inline;content:attr(data-label) " ·";font-size:14px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--x-text);margin:0}
  body.cv-civis #cv-main .cv-rt--grid td.is-short p{font-size:14px;color:var(--x-muted)}
}
body.cv-civis #cv-main .cv-readerbar{display:flex;justify-content:space-between;align-items:center;gap:12px;max-width:760px;margin:0 0 14px}
body.cv-civis #cv-main .cv-readerbar a{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:14px;text-decoration:none}
body.cv-civis #cv-main .cv-readerbar__back{color:var(--x-muted)}
body.cv-civis #cv-main .cv-readerbar__dl{font-weight:600;color:var(--x-primary)}
body.cv-civis #cv-main .cv-report-read+.cv-session-cta{max-width:760px}

body.cv-civis #cv-main .cv-rows__sub{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.cv-civis #cv-main .cv-rows__main{flex:1 1 auto}
body.cv-civis #cv-main .cv-rows--compact .cv-rows__row{flex-wrap:wrap;row-gap:8px}
body.cv-civis #cv-main .cv-rows--compact .cv-rows__main{flex:1 1 170px}
body.cv-civis #cv-main .cv-rows--compact .cv-rows__end{margin-left:auto;flex-direction:row;align-items:center}
body.cv-civis #cv-main .cv-rows__title{overflow-wrap:anywhere}
@media (max-width:639px){
  body.cv-civis #cv-main .cv-actions>.cv-btn--lg,body.cv-civis #cv-main .cv-actions>.cv-btn:only-child{flex:1 1 100%;width:100%}
  body.cv-civis #cv-main .cv-actions--split>.cv-btn{flex:1 1 0}
  body.cv-civis #cv-main .cv-actions--split>.cv-btn--lg{flex:1.7 1 0}
}
html body.cv-civis.cv-narrow .cv-footer__desk{text-align:center}

/* ---------------------------------------------------------------------------------------------------------------
   Enquiry pages (country landing pages and the general enquiry): a white nav, the form in one white card, the
   side panel as quiet panels with a gold-dot label. On a phone the card and the panels keep the 16px gutter. */
html body.cv-civis.cv-lp-page>.cv-header{display:none}
body.cv-civis #cv-main .cv-lp-form{background:var(--x-canvas)}
body.cv-civis #cv-main .cv-lp-nav{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom:1px solid var(--x-line)}
body.cv-civis #cv-main .cv-lp-nav__in{min-height:64px;max-width:1168px}
body.cv-civis #cv-main .cv-lp-nav__brand{display:inline-flex;align-items:center;gap:10px;font:600 15px/1.2 var(--x-font);letter-spacing:-.01em;color:var(--x-text)}
body.cv-civis #cv-main .cv-lp-nav__name::before{content:"";display:inline-block;vertical-align:-4px;width:20px;height:20px;margin-right:10px;border-radius:6px;background:linear-gradient(135deg,var(--x-gold),color-mix(in srgb,var(--x-gold) 55%,#3a2a05))}
body.cv-civis #cv-main .cv-lp-nav__safe{height:26px;padding:0 10px;border:1px solid var(--x-line);border-radius:13px;background:#fff;color:var(--x-text-2);font:500 13px/1 var(--x-font)}
body.cv-civis #cv-main .cv-lp-nav__safe svg{color:var(--x-ok)}
body.cv-civis #cv-main .cv-lp-nav__back{font:500 14px/1.2 var(--x-font);color:var(--x-muted)}
body.cv-civis #cv-main .cv-lp-nav__back:hover{color:var(--x-text)}
body.cv-civis #cv-main .cv-lp-form__main{padding:40px 24px 64px}
body.cv-civis #cv-main .cv-lp-form__grid.has-aside{max-width:1120px;grid-template-columns:minmax(0,1fr) 340px;gap:32px}
body.cv-civis #cv-main .cv-enq-card,body.cv-civis #cv-main .cv-lp-form__col>.cv-card{padding:36px 40px;border:1px solid var(--x-line);border-radius:calc(var(--cv-radius,8px) + 2px);box-shadow:none;margin:0}
body.cv-civis #cv-main .cv-enq-card>.cv-eyebrow,body.cv-civis #cv-main .cv-lp-form__col>.cv-card>.cv-eyebrow{display:inline-flex;align-items:center;gap:8px;font:500 13px/1.3 var(--x-font);color:var(--x-muted);margin:0 0 12px}
body.cv-civis #cv-main .cv-enq-card>.cv-eyebrow::before,body.cv-civis #cv-main .cv-lp-form__col>.cv-card>.cv-eyebrow::before{content:"";display:inline-block;width:6px;height:6px;margin:0;border-radius:50%;background:var(--x-gold)}
body.cv-civis #cv-main .cv-enq-card>h1,body.cv-civis #cv-main .cv-lp-form__col>.cv-card>h1{font-size:var(--cv-form-fs-h1,var(--cv-t-title));line-height:1.1;letter-spacing:-.03em;color:var(--x-text);margin:0 0 12px}
body.cv-civis #cv-main .cv-enq-card>.cv-lead{font-size:15px;line-height:1.6;color:var(--x-muted);max-width:600px;margin:0 0 28px}
body.cv-civis #cv-main .cv-stepper{margin:0 0 28px}
body.cv-civis #cv-main .cv-stepper__count{font:600 14px/1.3 var(--x-font);color:var(--x-text);margin:0 0 10px}
body.cv-civis #cv-main .cv-stepper__list{gap:6px}
body.cv-civis #cv-main .cv-stepper__bar{height:6px;border-radius:3px;background:var(--x-line)}
body.cv-civis #cv-main .cv-stepper__list li.is-done .cv-stepper__bar{background:var(--x-primary)}
body.cv-civis #cv-main .cv-stepper__list li.is-current .cv-stepper__bar{background:linear-gradient(90deg,var(--x-gold) 50%,var(--x-line) 50%)}
body.cv-civis #cv-main .cv-stepper__name{font:500 13px/1.3 var(--x-font);color:var(--x-muted)}
body.cv-civis #cv-main .cv-stepper__list li.is-current .cv-stepper__name{color:var(--x-text);font-weight:600}
body.cv-civis #cv-main .cv-stepper__list li.is-done .cv-stepper__name{color:var(--x-text-2)}
body.cv-civis #cv-main .cv-enquiry .cv-guide{margin:0 0 24px;padding:16px 18px;border:1px solid var(--x-line);border-left:1px solid var(--x-line);border-radius:10px;background:var(--x-ground)}
body.cv-civis #cv-main .cv-enquiry .cv-guide__title{font-size:15px;font-weight:600;margin:0 0 4px}
body.cv-civis #cv-main .cv-enquiry .cv-guide__summary{color:var(--x-muted);font-size:14px}
body.cv-civis #cv-main .cv-enquiry .cv-guide__more summary{font-weight:500;color:var(--x-primary)}
body.cv-civis #cv-main .cv-enquiry .cv-guide__more :is(ul,h4){color:var(--x-text-2)}
body.cv-civis #cv-main .cv-enq-sec{font-size:15px;font-weight:600;letter-spacing:-.02em;color:var(--x-text);margin:0 0 20px;padding:0;border:0}
body.cv-civis #cv-main .cv-qstep__nav{border-top:1px solid var(--x-line-soft);margin-top:28px;padding-top:20px}
body.cv-civis #cv-main .cv-qstep__nav .cv-btn{min-height:var(--cv-h-lg);font-size:var(--cv-form-fs-button,var(--cv-t-action));padding:0 22px}
body.cv-civis #cv-main .cv-qstep__nav [data-cv-next]{min-width:200px}
body.cv-civis #cv-main .cv-enq-submit{min-height:48px}
body.cv-civis #cv-main .cv-enq-confirm{background:var(--x-ground);border:1px solid var(--x-line);border-radius:10px;padding:16px}
body.cv-civis #cv-main .cv-lp-privacy{font-size:13px;color:var(--x-muted);margin:20px 0 0;padding:0 4px}
body.cv-civis #cv-main .cv-lp-privacy a{color:var(--x-text-2)}
body.cv-civis #cv-main .cv-lp-aside{gap:16px;top:88px}
body.cv-civis #cv-main .cv-lp-aside__box{border:1px solid var(--x-line);border-radius:calc(var(--cv-radius,8px) + 2px);background:#fff;padding:20px 22px;margin:0}
body.cv-civis #cv-main .cv-lp-aside__box h2{display:flex;align-items:center;gap:8px;font:600 13px/1.3 var(--x-font);letter-spacing:0;text-transform:none;color:var(--x-muted);margin:0 0 14px}
body.cv-civis #cv-main .cv-lp-aside__box h2::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--x-gold);flex:none}
body.cv-civis #cv-main .cv-lp-aside__box :is(p,li){font-size:14px;line-height:1.55;color:var(--x-text-2)}
body.cv-civis #cv-main .cv-lp-aside__steps,body.cv-civis #cv-main .cv-lp-aside__list{gap:12px}
body.cv-civis #cv-main .cv-lp-aside__n{width:24px;height:24px;border-radius:7px;background:var(--x-raised);border:1px solid var(--x-strong);color:var(--x-text);font:600 13px/1 var(--x-font)}
body.cv-civis #cv-main .cv-lp-aside__list .cv-lp-ico{color:var(--x-ok)}
@media (max-width:1023px){body.cv-civis #cv-main .cv-lp-form__grid.has-aside{grid-template-columns:minmax(0,1fr);max-width:720px;gap:16px}}
@media (max-width:767px){
  body.cv-civis #cv-main .cv-lp-nav__in{min-height:56px}
  body.cv-civis #cv-main .cv-lp-form__main{padding:16px 16px 40px}
  body.cv-civis #cv-main .cv-lp-form__grid{padding:0}
  body.cv-civis #cv-main .cv-enq-card,body.cv-civis #cv-main .cv-lp-form__col>.cv-card{padding:22px 16px 20px;margin:0;border:1px solid var(--x-line);border-radius:calc(var(--cv-radius,8px) + 2px);box-shadow:none}
  body.cv-civis #cv-main .cv-enq-card>.cv-lead{font-size:14px;margin-bottom:22px}
  body.cv-civis #cv-main .cv-stepper{margin-bottom:22px}
  body.cv-civis #cv-main .cv-lp-aside{padding:0}
  body.cv-civis #cv-main .cv-lp-aside__box{margin:0;padding:18px 16px;border:1px solid var(--x-line);border-radius:calc(var(--cv-radius,8px) + 2px)}
  body.cv-civis #cv-main .cv-qstep__nav{margin:24px -16px -20px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-radius:0 0 12px 12px;box-shadow:none;border-top:1px solid var(--x-line)}
  body.cv-civis #cv-main .cv-qstep__nav [data-cv-next]{min-width:0}
}
body.cv-civis #cv-main .cv-lp-form__grid{padding-left:0;padding-right:0}
body.cv-civis #cv-main .cv-card>h1{font-size:var(--cv-fs-h1,var(--cv-t-title));line-height:1.2;letter-spacing:-.025em}
/* The report reader's title follows the document sizes (the rule above sets every other card title). */
body.cv-civis #cv-main .cv-report-read>h1{font-size:var(--cv-doc-fs-h1,var(--cv-t-title))}

/* The split pages (not found, partner application): light like every client page. The panel is the ground with
   a faint navy glow, its drawing in navy lines with the gold accent; on phones the band is a white panel. */

body.cv-civis #cv-main :is(.cv-landing__name,.cv-landing__brand){color:var(--x-text);font:600 15px/1.2 var(--x-font)}

body.cv-civis #cv-main .cv-landing__num{border:1px solid var(--x-strong);background:#fff;color:var(--x-text);border-radius:7px}

body.cv-civis #cv-main .cv-landing__noteicon{width:44px;height:44px;border-radius:calc(var(--cv-radius,8px) + 2px);background:#fff;border:1px solid var(--x-line);color:var(--x-text-2)}
body.cv-civis #cv-main .cv-landing__note--ok .cv-landing__noteicon{color:var(--x-ok);background:#fff}
body.cv-civis #cv-main .cv-landing__nexttitle{display:flex;align-items:center;gap:8px;font:500 13px/1.3 var(--x-font);letter-spacing:0;text-transform:none;color:var(--x-muted);margin:24px 0 12px}
body.cv-civis #cv-main .cv-landing__nexttitle::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--x-gold)}
body.cv-civis #cv-main .cv-landing__next li{color:var(--x-text-2);font-size:14px}
body.cv-civis #cv-main .cv-landing__next .cv-landing__num{flex:0 0 24px}
body.cv-civis #cv-main .cv-landing__next li.is-done .cv-landing__num{color:var(--x-ok);border-color:#BFE3D1}
body.cv-civis #cv-main .cv-landing__noteactions .cv-btn{width:auto}
@media (max-width:639px){body.cv-civis #cv-main .cv-landing__noteactions .cv-btn{width:100%}}
body.cv-civis #cv-main .cv-lp-form__grid:not(.has-aside){max-width:720px}

body.cv-civis #cv-main .cv-landing__note>h1{font-size:var(--cv-fs-h1,var(--cv-t-title))}
body.cv-civis #cv-main .cv-card>p:first-child{margin-top:0}
body.cv-civis #cv-main .cv-routes legend{font-size:15px;font-weight:600;margin:0 0 10px}
body.cv-civis #cv-main label.cv-choice.cv-choice--rich{align-items:flex-start;padding:14px 16px}
body.cv-civis #cv-main .cv-choice--rich input{margin-top:3px}
body.cv-civis #cv-main .cv-choice--rich strong{font-weight:500;color:var(--x-text)}
body.cv-civis #cv-main .cv-choice--rich small{display:block;margin-top:2px}
body.cv-civis #cv-main .cv-reco{display:inline-flex;align-self:flex-start;align-items:center;gap:6px;margin-top:6px;height:22px;padding:0 8px;border-radius:11px;background:color-mix(in srgb,var(--x-gold) 14%,#fff);color:var(--x-gold-text);font:600 12px/1 var(--x-font);font-style:normal;white-space:nowrap}
body.cv-civis #cv-main .cv-reco::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--x-gold)}
body.cv-civis #cv-main .cv-routes-stop{margin-top:20px}
body.cv-civis #cv-main .cv-session-cta p.cv-flow__what{color:var(--x-text)}
@media (max-width:1023.98px){
  html body.cv-civis .cv-footer__m p{font-size:13px;line-height:1.6;color:var(--x-muted);margin:0 0 4px}
  html body.cv-civis .cv-footer__m .cv-footer__name{font:600 14px/1.4 var(--x-font);color:var(--x-text);letter-spacing:0}
  html body.cv-civis .cv-footer__m a{color:var(--x-muted)}
  html body.cv-civis .cv-footer__m .cv-footer__rule{border:0;border-top:1px solid var(--x-line);margin:12px 0}
  html body.cv-civis .cv-footer__m .cv-footer__legal a{font-size:13px;margin-right:12px}
  html body.cv-civis .cv-footer__m .cv-footer__copy{font-size:13px;color:var(--x-faint)}
}
body.cv-civis #cv-main .cv-steps6__all :is(.cv-flow__history,.cv-flow__later) .cv-flow__label{font-size:14px;font-weight:500;color:var(--x-text)}
body.cv-civis #cv-main .cv-steps6__all .cv-flow__later .cv-flow__label{color:var(--x-muted)}
body.cv-civis #cv-main .cv-steps6__all :is(.cv-flow__history,.cv-flow__later) .cv-flow__req{font-size:13px}
body.cv-civis #cv-main .cv-steps6__all .cv-flow__later .cv-flow__step{padding:8px 0;border:0}
body.cv-civis #cv-main .cv-steps6__all .cv-flow__history ol{margin:0}
body.cv-civis #cv-main .cv-agreement-actions+.cv-hint{margin:12px 0 0}
@media (max-width:639px){body.cv-civis #cv-main .cv-agreement-actions{flex-direction:column}body.cv-civis #cv-main .cv-agreement-actions>.cv-btn{width:100%;flex:0 0 auto}}
body.cv-civis #cv-main :is(.cv-terms__text,.cv-agreement-card details>div)>:first-child{margin-top:0}

/* Blocks of Word files locked by version 7.0.0, still read in the reader: verdict and callouts, notes, route and plan
   cards, ruled label lists. Label beside text on a computer, label above text on a phone; short values sit
   inline ("When · This month"). */
html body.cv-civis .cv-dot--gold{background:var(--x-gold)}
body.cv-civis #cv-main .cv-report-read p.is-subtitle{font-size:15px;color:var(--x-muted);margin:0 0 8px}
body.cv-civis #cv-main .cv-report-read h2 .is-part{display:block;font:600 11.5px/1.3 var(--x-font);letter-spacing:.08em;text-transform:uppercase;color:var(--x-muted);margin:0 0 6px}
body.cv-civis #cv-main .cv-rt--callout{display:grid;grid-template-columns:minmax(0,34fr) minmax(0,66fr);border:1px solid var(--x-line);border-radius:12px;overflow:hidden;margin:20px 0 24px}
body.cv-civis #cv-main .cv-rt__head{background:var(--x-ground);padding:18px 20px;border-right:1px solid var(--x-line);display:flex;flex-direction:column;justify-content:center}
body.cv-civis #cv-main .cv-rt__body{padding:18px 22px;display:flex;flex-direction:column;justify-content:center}
body.cv-civis #cv-main .cv-rt__body p{font-size:15px;line-height:1.6;color:var(--x-text)}
body.cv-civis #cv-main .cv-rt p.cv-rt__label,body.cv-civis #cv-main .cv-rt__label strong,body.cv-civis #cv-main .cv-rt__k,body.cv-civis #cv-main .cv-rt__k strong{font:600 11.5px/1.45 var(--x-font);letter-spacing:.08em;text-transform:uppercase;color:var(--x-muted);margin:0}
body.cv-civis #cv-main .cv-rt p.cv-rt__word{font:600 24px/1.15 var(--x-font);letter-spacing:-.025em;color:var(--x-primary);margin:6px 0 0}
body.cv-civis #cv-main .cv-rt--note{border:1px solid var(--x-line);border-radius:calc(var(--cv-radius,8px) + 2px);background:var(--x-ground);padding:16px 20px;margin:20px 0 24px}
body.cv-civis #cv-main .cv-rt--note p{color:var(--x-text)}
body.cv-civis #cv-main .cv-rt--card{border:1px solid var(--x-line);border-radius:calc(var(--cv-radius,8px) + 2px);overflow:hidden;margin:16px 0}
body.cv-civis #cv-main .cv-rt--card+.cv-rt--card{margin-top:-4px}
body.cv-civis #cv-main .cv-rt__cardhead{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 20px;background:var(--x-ground);border-bottom:1px solid var(--x-line)}
body.cv-civis #cv-main .cv-report-read .cv-rt__cardhead h3{margin:0;font-size:15px;line-height:1.35;letter-spacing:-.015em}
body.cv-civis #cv-main .cv-rt--card .cv-rt__line{padding:12px 20px}
body.cv-civis #cv-main .cv-rt--lines{margin:20px 0 24px;border-top:1px solid var(--x-line);border-bottom:1px solid var(--x-line)}
body.cv-civis #cv-main .cv-rt__line{display:grid;grid-template-columns:minmax(0,27fr) minmax(0,73fr);gap:20px;padding:14px 0;border-top:1px solid var(--x-line-soft)}
body.cv-civis #cv-main .cv-rt__line:first-child,body.cv-civis #cv-main .cv-rt__cardhead+.cv-rt__line{border-top:0}
body.cv-civis #cv-main .cv-rt__line:not(:has(.cv-rt__k)){grid-template-columns:minmax(0,1fr)}
body.cv-civis #cv-main .cv-rt__k{padding-top:3px}
body.cv-civis #cv-main .cv-rt__v{font-size:14px;line-height:1.6;color:var(--x-text)}
@media (max-width:639px){
  body.cv-civis #cv-main .cv-rt--callout{grid-template-columns:minmax(0,1fr)}
  body.cv-civis #cv-main .cv-rt__head{border-right:0;border-bottom:1px solid var(--x-line);padding:16px}
  body.cv-civis #cv-main .cv-rt__body{padding:16px}
  body.cv-civis #cv-main .cv-rt__body p{font-size:15px}
  body.cv-civis #cv-main .cv-rt__cardhead{padding:14px 16px;align-items:flex-start;flex-direction:column;gap:8px}
  body.cv-civis #cv-main .cv-rt--card .cv-rt__line{padding:12px 16px}
  body.cv-civis #cv-main .cv-rt__line{grid-template-columns:minmax(0,1fr);gap:2px;padding:12px 0}
  body.cv-civis #cv-main .cv-rt__line.is-short{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px}
  body.cv-civis #cv-main .cv-rt__line.is-short .cv-rt__k,body.cv-civis #cv-main .cv-rt__line.is-short .cv-rt__k strong{font:600 14px/1.5 var(--x-font);letter-spacing:0;text-transform:none;color:var(--x-text);padding:0}
  body.cv-civis #cv-main .cv-rt__line.is-short .cv-rt__k::after{content:" ·";color:var(--x-muted)}
  body.cv-civis #cv-main .cv-rt__line.is-short .cv-rt__v{font-size:14px;color:var(--x-muted)}
}
@media (max-width:639px){
  body.cv-civis #cv-main .cv-form .cv-actions,body.cv-civis #cv-main .cv-wizard .cv-actions{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}
  body.cv-civis #cv-main .cv-form .cv-actions:last-child{margin-bottom:-18px}
  body.cv-civis #cv-main .cv-form .cv-actions+.cv-help{margin-top:12px}
}

/* Lead: the Civis enquiry page carries the country in its heading and step bar, not a flag stripe across the top. */
body.cv-civis :is(.cv-landing--ca,.cv-landing--au,.cv-landing--de,.cv-landing--ie,.cv-landing--nz,.cv-landing--us)::before{display:none}

/* Lead: one footer on every screen. The computer shows the same facts as the phone (name, registration number,
   address, phone, email, website, policies), set out in a row instead of a stack. */
@media (min-width:1024px){
  html body.cv-civis .cv-footer .cv-footer__desk{display:none}
  html body.cv-civis .cv-footer .cv-footer__m{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 20px;font-size:13px;line-height:1.6;color:var(--x-muted)}
  html body.cv-civis .cv-footer__m p{margin:0!important;font-size:13px}
  html body.cv-civis .cv-footer__m .cv-footer__name{font:600 13px/1.6 var(--x-font);color:var(--x-text)}
  html body.cv-civis:not(.cv-has-side) .cv-footer .cv-wrap{max-width:1168px;padding:0 24px} /* 9.0.2 (owner): the footer starts and ends where the header does */
  html body.cv-civis .cv-footer__m .cv-footer__addr{margin-left:auto!important} /* 9.0.2 (owner): name on the left, address, phone, email and website on the right */
  html body.cv-civis .cv-footer__m .cv-footer__site{display:none} /* 9.0.2: on a narrow laptop the link would push the row onto a second line */
  html body.cv-civis .cv-footer__m a{color:var(--x-muted)}
  html body.cv-civis .cv-footer__m .cv-footer__rule{flex-basis:100%;border:0;border-top:1px solid var(--x-line);margin:8px 0 4px}
  html body.cv-civis .cv-footer__m .cv-footer__legal{display:flex;gap:16px}
  html body.cv-civis .cv-footer__m .cv-footer__copy{margin-left:auto!important;color:var(--x-faint)}
  html body.cv-civis.cv-narrow .cv-footer .cv-footer__m{justify-content:center}
  html body.cv-civis.cv-narrow .cv-footer__m .cv-footer__copy{margin-left:0!important}
}

/* Lead: the phone is a complete portal and enquiry page, not a cut-down one. */
@media (max-width:1023.98px){
  /* The page's name, which the computer shows in its top bar, sits under the phone's header. */
  html body.cv-civis.cv-has-side .cv-header__in{flex-wrap:wrap}
  html body.cv-civis.cv-has-side .cv-topbar__title{display:block;order:9;flex:0 0 100%;padding:6px 0 2px;font-size:13px}
  /* Six places fit the tab bar: smaller labels, tighter sides. */
  html body.cv-civis .cv-tabbar{padding-left:4px;padding-right:4px}
  html body.cv-civis .cv-tabbar a{position:relative;font-size:10px;letter-spacing:-.01em}
}
@media (max-width:767px){
  /* Enquiry pages: the reassurance and every step's name are shown on a phone too. */
  body.cv-civis .cv-lp-nav__safe{display:inline-flex}
  body.cv-civis .cv-lp-nav__in{gap:8px}
  body.cv-civis #cv-main .cv-stepper__name,body.cv-civis .cv-stepper__name{display:block;white-space:normal;font-size:11.5px;line-height:1.3}
}
@media (max-width:1023.98px){
  /* The start page's introduction and "what happens next" open the page on a phone, above the form. */

}
@media (max-width:1023.98px){

  html body.cv-civis .cv-landing__num{flex:none;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid var(--x-line-strong,#D5D9E0);border-radius:6px;font-size:13px;font-weight:600;background:#fff}
  
}
@media (max-width:767px){
  /* Enquiry header on a phone: the name and the way back on one line, the reassurance on its own line beneath. */
  html body.cv-civis .cv-lp-nav__in{flex-wrap:wrap;row-gap:0;column-gap:12px;padding-top:6px;padding-bottom:10px}
  html body.cv-civis .cv-lp-nav__end{display:contents}
  html body.cv-civis .cv-lp-nav__brand{white-space:nowrap}
  html body.cv-civis .cv-lp-nav__back{margin-left:auto;white-space:nowrap}
  html body.cv-civis .cv-lp-nav__safe{order:9;flex:0 0 auto}
}
@media (max-width:1023.98px){
  /* Start and "not found" pages on a phone: the page's own message first, then the introduction and what happens next. */

}

html body.cv-civis .cv-phoneinfo{display:none}
@media (max-width:1023.98px){
  html body.cv-civis .cv-phoneinfo{display:block;margin-top:8px;padding-top:0;padding-bottom:16px}
  html body.cv-civis .cv-phoneinfo p{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:0;padding:12px 0;border-top:1px solid var(--x-line);font-size:14px}
  html body.cv-civis .cv-phoneinfo__k{color:var(--x-muted);flex:none}
  html body.cv-civis .cv-phoneinfo__v{color:var(--x-text);font-weight:500;text-align:right;display:inline-flex;align-items:center;gap:8px}
}
/* Step names stay off the phone. "Step 3 of 6" and "All steps" already name them. */
/* Lead: the computer's start and "not found" pages carry the same footer facts as the phone. */
@media (min-width:1024px){html body.cv-civis.cv-landing-page .cv-footer{display:block}}
/* Lead: phone touch targets. Everything a client taps is at least 44px tall on a phone. */
@media (max-width:1023.98px){
  html body.cv-civis .cv-tabbar a{font-size:10px}
  html body.cv-civis #cv-main .cv-sectionnav a,html body.cv-civis #cv-main nav a{min-height:44px;display:flex;align-items:center}
  html body.cv-civis #cv-main summary{min-height:44px;display:flex;align-items:center}
  html body.cv-civis #cv-main summary::-webkit-details-marker{display:none}
  html body.cv-civis #cv-main .cv-link.cv-rep-move,html body.cv-civis #cv-main .cv-link.cv-remove{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center}
  html body.cv-civis .cv-footer__m .cv-footer__legal a{min-height:44px;display:inline-flex;align-items:center}
  
}
@media (max-width:639.98px){body.cv-civis #cv-main .cv-steps6__names li{font-size:13px}}
@media (max-width:1023.98px){html body.cv-civis #cv-main .cv-steps6__all>summary{min-height:44px}}
@media (max-width:767px){html body.cv-civis #cv-main .cv-stepper__name,html body.cv-civis .cv-stepper__name{font-size:13px}}

/* ===================================================================================================================
   THE CIVIS DESIGN. The layout above (sidebar, tab bar, panels, rows, pills) in the house look: deep navy and gold as
   real surfaces, serif display headings over the text face, white panels on a cream ground.
   =================================================================================================================== */
html body.cv-civis{
  --x-ground:#FBF9F5; --x-canvas:#F7F4EE; --x-raised:#F3EEE4; --x-line:#E9E4DA; --x-line-soft:#F0ECE3; --x-strong:#D8D1C3;
  --x-text:#0E1522; --x-text-2:#39414F; --x-muted:#5B6270; --x-faint:#6B7280;
  --x-primary:var(--cv-brand,#0F1F3D); --x-primary-hover:var(--cv-brand-700,#0A1730);
  --x-navy:var(--cv-panel,var(--cv-brand,#0F1F3D));
  --x-gold:var(--cv-accent,#C9A34E); --x-gold-text:#8A6A1F;
  --cv-font-heading:inherit; --x-serif:var(--cv-font-heading,Georgia,"Times New Roman",serif);
  --cv-c-canvas:var(--x-canvas); --cv-c-surface-2:var(--x-ground); --cv-c-hover:var(--x-raised); --cv-c-navy-50:#F1EBDD;
  background:var(--x-canvas);
}
/* Type: the serif for page titles and document headings, the text face for everything small */
html body.cv-civis h1,html body.cv-civis.cv-portal :is(main,.cv-lp) h1{font-family:var(--x-serif);font-weight:var(--cv-w-heading,600);letter-spacing:-.005em;color:var(--x-text)}
html body.cv-civis h1{font-size:var(--cv-fs-h1,var(--cv-t-title));line-height:1.15}
html body.cv-civis.cv-portal :is(main,.cv-lp) h1{font-size:var(--cv-fs-h1,var(--cv-t-title))}
html body.cv-civis :is(.cv-eyebrow,.cv-flow__eyebrow){font:600 11.5px/1.3 var(--x-font);letter-spacing:.1em;text-transform:uppercase;color:var(--x-gold-text)}
/* The header: white, the company name in the serif, as on the website */
html body.cv-civis .cv-header{background:#fff;border-bottom:1px solid var(--x-line)}
html body.cv-civis .cv-wordmark{font:700 15px/1.2 var(--x-serif);letter-spacing:0;color:var(--x-primary)}
html body.cv-civis .cv-brand .cv-mark,html body.cv-civis .cv-sidebar__brand .cv-mark{display:none}
/* Buttons: navy on light grounds, gold on navy */
html body.cv-civis :is(.cv-btn,.cv-button,button.cv-primary){border-radius:var(--cv-radius,8px)}
/* Footer: the navy band of the website. Inside it the text tokens turn light, so every footer rule above follows. */
html body.cv-civis .cv-footer{--x-text:#fff;--x-text-2:rgba(255,255,255,.86);--x-muted:rgba(255,255,255,.78);--x-faint:rgba(255,255,255,.6);--x-line:rgba(255,255,255,.16);background:var(--x-navy)!important;border-top:0;color:rgba(255,255,255,.78);padding:28px 0}
html body.cv-civis .cv-footer a{color:rgba(255,255,255,.86);text-decoration-color:rgba(255,255,255,.35)}
html body.cv-civis .cv-footer a:hover{color:#fff}
html body.cv-civis .cv-footer .cv-footer__name{font-family:var(--x-serif)!important;font-weight:700!important;font-size:15px!important;color:#fff!important}
/* Phone: the tab bar marks the current place with a gold bar */
@media (max-width:1023px){
  html body.cv-civis .cv-tabbar{background:#fff;border-top:1px solid var(--x-line)}
  html body.cv-civis .cv-tabbar a{font-size:10px;letter-spacing:-.01em;white-space:normal;overflow:visible;text-overflow:clip;height:auto}
  html body.cv-civis .cv-tabbar a>span,html body.cv-civis .cv-tabbar a{text-overflow:clip}
  html body.cv-civis .cv-tabbar a.is-active{color:var(--x-primary)}
  html body.cv-civis .cv-tabbar a.is-active::before{content:"";position:absolute;top:-5px;left:22%;right:22%;height:3px;border-radius:0 0 3px 3px;background:var(--x-gold)}
}
/* Computer: the sidebar is the navy surface */
@media (min-width:1024px){
  html body.cv-civis .cv-sidebar{background:var(--x-navy);padding:20px 12px 16px}
  html body.cv-civis .cv-sidebar__brand{color:#fff;padding:6px 12px 22px}
  html body.cv-civis .cv-sidebar__brand .cv-wordmark{color:#fff;font-size:15px}
  html body.cv-civis .cv-sidebar__nav a{position:relative;height:38px;padding:0 12px;color:rgba(255,255,255,.78)}
  html body.cv-civis .cv-sidebar__nav a:hover{background:rgba(255,255,255,.07);color:#fff}
  html body.cv-civis .cv-sidebar__nav a.is-active{background:rgba(255,255,255,.11);color:#fff}
  html body.cv-civis .cv-sidebar__nav a.is-active::before{content:"";position:absolute;left:-12px;top:7px;bottom:7px;width:3px;border-radius:0 3px 3px 0;background:var(--x-gold)}
  html body.cv-civis .cv-sidebar__nav a.is-active svg{color:var(--x-gold)}
  html body.cv-civis .cv-sidebar__count{color:var(--x-gold);font-weight:600}
  html body.cv-civis .cv-sidebar__label{color:rgba(255,255,255,.55);font:600 11.5px/1.2 var(--x-font);letter-spacing:.1em;text-transform:uppercase;padding:22px 12px 8px}
  html body.cv-civis .cv-sidebar__case,html body.cv-civis .cv-sidebar__who{color:#fff;padding-left:12px;padding-right:12px}
  html body.cv-civis .cv-sidebar__foot{border-top:1px solid rgba(255,255,255,.14)}
  html body.cv-civis .cv-sidebar__out{color:rgba(255,255,255,.7);padding:0 12px}
  html body.cv-civis .cv-sidebar__out:hover{background:rgba(255,255,255,.07);color:#fff}
  html body.cv-civis .cv-shell__main{border-left:0}
  html body.cv-civis.cv-has-side .cv-header{background:var(--x-canvas);border-bottom:1px solid var(--x-line)}
  html body.cv-civis.cv-has-side .cv-footer{--x-text:#0E1522;--x-text-2:#39414F;--x-muted:#5B6270;--x-faint:#6B7280;--x-line:#E9E4DA;background:transparent!important;border-top:1px solid var(--x-line);color:var(--x-muted);padding:16px 0}
  html body.cv-civis.cv-has-side .cv-footer a{color:var(--x-muted)}
  html body.cv-civis.cv-has-side .cv-footer .cv-footer__name{font-family:var(--x-font)!important;font-weight:600!important;font-size:13px!important;color:var(--x-text)!important}
}
/* Questions: the question, then its field, then the fainter, smaller explainer; clear space between questions */
html body.cv-civis .cv-field :is(label,legend):not(.cv-choice){font-weight:600;font-size:var(--cv-form-fs-label,15px);line-height:var(--cv-form-lh-label,1.4);color:var(--x-text);margin:0 0 8px}
html body.cv-civis .cv-field :is(.cv-help,.cv-hint){margin:8px 0 0;font-size:var(--cv-form-fs-help,13px);line-height:var(--cv-form-lh-help,1.5);font-style:normal;color:var(--x-muted)}
html body.cv-civis .cv-field .cv-error{margin:6px 0 0}
html body.cv-civis .cv-form .cv-field,html body.cv-civis.cv-agency .cv-field{margin:0 0 20px} /* 9.0.0 (P20), 24px from 768px below */
html body.cv-civis .cv-form>.cv-section>.cv-field,html body.cv-civis .cv-section>.cv-field{border-bottom:0;padding-bottom:0;margin-bottom:28px}
html body.cv-civis .cv-field:last-child{margin-bottom:0}
/* Enquiry pages: the header as on the website (the name in the serif, no mark) */
html body.cv-civis #cv-main .cv-lp-nav__brand{font:700 15px/1.2 var(--x-serif);letter-spacing:0;color:var(--x-primary)}
html body.cv-civis #cv-main .cv-lp-nav__name::before{display:none}
html body.cv-civis #cv-main .cv-lp-nav__safe{border-color:var(--x-line)}
html body.cv-civis #cv-main :is(.cv-enq-card,.cv-card) h1{font-family:var(--x-serif);font-weight:var(--cv-w-heading,600)}
/* The eyebrow over a page title: a short gold rule, then small gold capitals (the dot of the earlier look goes) */
html body.cv-civis #cv-main :is(.cv-enq-card,.cv-hero,.cv-cl-head,.cv-lp-side)>.cv-eyebrow{display:flex;align-items:center;gap:10px;margin:0 0 12px;font:600 11.5px/1.4 var(--x-font);letter-spacing:.1em;text-transform:uppercase;color:var(--x-gold-text)}
html body.cv-civis #cv-main :is(.cv-enq-card,.cv-hero,.cv-cl-head)>.cv-eyebrow::before{content:"";display:block;flex:none;width:24px;height:2px;border-radius:1px;background:var(--x-gold);margin:0}
/* Step bars are gold as they fill */
html body.cv-civis #cv-main .cv-stepper__list li:is(.is-current,.is-done) .cv-stepper__bar{background:var(--x-gold)}
/* Questions: no rule between them; space does the separating */
html body.cv-civis #cv-main .cv-field,html body.cv-civis #cv-main .cv-form>.cv-section>.cv-field,html body.cv-civis #cv-main .cv-section>.cv-field{border-bottom:0;padding-bottom:0;margin:0 0 20px}
html body.cv-civis #cv-main .cv-field :is(label,legend):not(.cv-choice){font-weight:600;font-size:var(--cv-form-fs-label,15px);line-height:var(--cv-form-lh-label,1.4);color:var(--x-text);margin:0 0 8px}
html body.cv-civis #cv-main .cv-field :is(.cv-help,.cv-hint){margin:8px 0 0;font-size:var(--cv-form-fs-help,13px);line-height:var(--cv-form-lh-help,1.5);color:var(--x-muted)}
html body.cv-civis #cv-main .cv-field .cv-req,html body.cv-civis #cv-main .cv-field .cv-opt{font-weight:400;color:var(--x-faint)}
@media (max-width:767px){
  /* A phone never breaks a name: step names sit under the bars as a numbered key, each on one line */
  html body.cv-civis #cv-main .cv-stepper__list{display:flex;flex-wrap:wrap;column-gap:6px;row-gap:8px;counter-reset:cvst}
  html body.cv-civis #cv-main .cv-stepper__list li{display:contents}
  html body.cv-civis #cv-main .cv-stepper__list::before{content:"";order:1;flex:0 0 100%;height:0}
  html body.cv-civis #cv-main .cv-stepper__bar{order:0;flex:1 1 0;min-width:0}
  html body.cv-civis #cv-main .cv-stepper__name,html body.cv-civis .cv-stepper__name{order:2;display:block;flex:0 0 auto;margin-right:10px;white-space:nowrap;font-size:13px;line-height:1.4;counter-increment:cvst}
  html body.cv-civis #cv-main .cv-stepper__name::before{content:counter(cvst) ". ";font-weight:600;color:var(--x-text)}
  /* Step names stay off a narrow screen. */
  html body.cv-civis #cv-main :is(.cv-enq-card,.cv-hero,.cv-cl-head)>.cv-eyebrow{letter-spacing:.05em;gap:8px}
  html body.cv-civis #cv-main :is(.cv-enq-card,.cv-hero,.cv-cl-head)>.cv-eyebrow::before{width:16px}
}
html body.cv-civis #cv-main .cv-lp-form__col>.cv-card>.cv-eyebrow::before{content:"";display:block;flex:none;width:24px;height:2px;border-radius:1px;background:var(--x-gold);margin:0}
html body.cv-civis #cv-main .cv-lp-form__col>.cv-card>.cv-eyebrow{display:flex;align-items:center;gap:10px;margin:0 0 12px;font:600 11.5px/1.4 var(--x-font);letter-spacing:.1em;text-transform:uppercase;color:var(--x-gold-text)}
html body.cv-civis #cv-main .cv-eyebrow .cv-keep{white-space:nowrap}
@media (max-width:767px){
  html body.cv-civis #cv-main .cv-lp-form__col>.cv-card>.cv-eyebrow{font-size:11.5px;letter-spacing:.03em;gap:8px;white-space:normal}
  html body.cv-civis #cv-main .cv-lp-form__col>.cv-card>.cv-eyebrow::before{width:14px}
}
/* The report reader in the house look: serif headings in navy, gold part labels, a gold rule under the title */
html body.cv-civis #cv-main .cv-report-read :is(h1,h2,h3){font-family:var(--x-serif);font-weight:700;letter-spacing:-.005em;color:var(--x-primary)}
html body.cv-civis #cv-main .cv-report-read h3{font-family:var(--x-font);font-weight:600;letter-spacing:-.01em;color:var(--x-text)}
html body.cv-civis #cv-main .cv-report-read p.is-kicker,html body.cv-civis #cv-main .cv-report-read h2 .is-part{color:var(--x-gold-text);letter-spacing:.1em}
html body.cv-civis #cv-main .cv-report-read p.is-subtitle{font:700 21px/1.25 var(--x-serif);color:var(--x-primary);padding-bottom:14px;border-bottom:2px solid var(--x-gold);margin-bottom:14px}
html body.cv-civis #cv-main .cv-rt p.cv-rt__word{font-family:var(--x-serif);font-weight:700;letter-spacing:0}
html body.cv-civis #cv-main .cv-report-read table thead th,html body.cv-civis #cv-main .cv-report-read table tr.is-head td{background:var(--x-navy);color:#fff;border-color:var(--x-navy)}

/* Pages without the sidebar (policies, document check, sign-in, not found): the name sits where the enquiry page has it,
   and the reading column is centred under it. */
@media (min-width:900px){
  html body.cv-civis:not(.cv-has-side) .cv-header .cv-header__in{max-width:1168px;margin:0 auto;padding:0 24px}
  html body.cv-civis:not(.cv-has-side) .cv-header .cv-wordmark{font-size:15px}
  html body.cv-civis.cv-site--policy main#cv-main:not(#_),html body.cv-civis.cv-site--page main#cv-main:not(#_){max-width:868px}
}

@media (min-width:1200px){html body.cv-civis .cv-footer__m .cv-footer__site{display:block}}

/* On a wide screen the portal's reading column sits in the middle of the space beside the sidebar, with the page
   name, any notice and the footer on the same margins. */
@media (min-width:1024px){
  html body.cv-civis.cv-has-side main#cv-main:not(#_),html body.cv-civis.cv-has-side .cv-topbanner,html body.cv-civis.cv-has-side .cv-footer .cv-wrap,html body.cv-civis.cv-has-side .cv-header .cv-header__in{max-width:1080px;margin-left:auto;margin-right:auto}
  html body.cv-civis.cv-has-side .cv-header .cv-header__in{padding-left:40px;padding-right:40px}
}
/* Amounts are figures, set in the text face with the other numbers */
html body.cv-civis #cv-main :is(.cv-total,.cv-prog__name){font-family:var(--x-font)}
/* On a phone a document's name keeps the whole line and its date sits under it, so a long name is not squeezed into a column */
@media (max-width:639px){
  body.cv-civis #cv-main .cv-rows__row:has(>.cv-rows__end>.cv-rows__date:only-child){flex-direction:column;align-items:stretch;gap:2px}
  body.cv-civis #cv-main .cv-rows__row:has(>.cv-rows__end>.cv-rows__date:only-child) .cv-rows__end{align-items:flex-start}
}

/* ==========================================================================================================
   The design family (7.1). Sizes are on the design's scale throughout this file; the rules below are the
   parts that needed more than a size.
   ========================================================================================================== */

/* Labels and step names sit on one line on a phone. */
@media (max-width:767px){
  html body.cv-civis #cv-main .cv-stepper__name,html body.cv-civis .cv-stepper__name{font-size:11.5px;white-space:nowrap}
}
html body.cv-civis #cv-main .cv-enq-card>.cv-eyebrow::before{display:none!important}
@media (max-width:480px){
  html body.cv-civis #cv-main .cv-enq-card>.cv-eyebrow{letter-spacing:0!important}
  html body.cv-civis #cv-main .cv-stepper__list{justify-content:space-between}
  html body.cv-civis #cv-main .cv-stepper__name,html body.cv-civis .cv-stepper__name{margin-right:0}
}

/* The questionnaire on a computer: title, steps and "what happens next" on the left; the questions in a sheet
   on the right. The page's markup is unchanged; the parts are placed on one grid. */
@media (min-width:1024px){
  html body.cv-civis #cv-main .cv-lp-form__grid.has-aside:has(form.is-stepped){grid-template-columns:340px minmax(0,1fr);grid-template-rows:repeat(4,max-content) 1fr auto;column-gap:48px;row-gap:0;align-items:start}
  html body.cv-civis #cv-main .cv-lp-form__grid.has-aside:has(form.is-stepped) :is(.cv-lp-form__col,.cv-enq-card,form.is-stepped){display:contents}
  html body.cv-civis #cv-main .cv-lp-form__grid.has-aside:has(form.is-stepped) :is(.cv-enq-card>.cv-eyebrow,.cv-enq-card>h1,.cv-enq-card>.cv-lead,.cv-stepper,.cv-lp-aside){grid-column:1}
  html body.cv-civis #cv-main .cv-lp-form__grid.has-aside:has(form.is-stepped) .cv-enq-card>h1{margin:8px 0 10px}
  html body.cv-civis #cv-main .cv-lp-form__grid.has-aside:has(form.is-stepped) .cv-enq-card>.cv-eyebrow{white-space:nowrap;letter-spacing:.06em}
  html body.cv-civis #cv-main .cv-lp-form__grid.has-aside:has(form.is-stepped) .cv-stepper{margin:20px 0 0}
  html body.cv-civis #cv-main .cv-lp-form__grid.has-aside:has(form.is-stepped) .cv-lp-aside{position:static;margin-top:24px;grid-row:5}
  html body.cv-civis #cv-main .cv-lp-form__grid.has-aside:has(form.is-stepped) .cv-qstep.is-current{grid-column:2;grid-row:1/6;background:var(--x-surface,#fff);border:1px solid var(--x-line,#E9E4DA);border-radius:calc(var(--cv-radius,8px) + 2px);padding:24px 32px 32px}
  html body.cv-civis #cv-main .cv-lp-form__grid.has-aside:has(form.is-stepped) .cv-lp-privacy{grid-column:2;grid-row:6;margin-top:16px}
}

/* The partner application on a computer, laid out the same way: title and notes on the left, the form in a sheet
   on the right. */
@media (min-width:1024px){
  html body.cv-civis #cv-main .cv-lp-form__grid.has-aside:has(.cv-partner-apply){grid-template-columns:340px minmax(0,1fr);grid-template-rows:repeat(2,max-content) 1fr auto;column-gap:48px;row-gap:0;align-items:start}
  html body.cv-civis #cv-main .cv-lp-form__grid.has-aside:has(.cv-partner-apply) :is(.cv-lp-form__col,.cv-partner-apply){display:contents}
  html body.cv-civis #cv-main .cv-lp-form__grid.has-aside:has(.cv-partner-apply) :is(.cv-partner-apply>:not(form),.cv-lp-aside){grid-column:1}
  html body.cv-civis #cv-main .cv-lp-form__grid.has-aside:has(.cv-partner-apply) .cv-partner-apply>h1{margin:0 0 10px}
  html body.cv-civis #cv-main .cv-lp-form__grid.has-aside:has(.cv-partner-apply) .cv-lp-aside{position:static;margin-top:24px;grid-row:3}
  html body.cv-civis #cv-main .cv-lp-form__grid.has-aside:has(.cv-partner-apply) .cv-partner-apply>form{grid-column:2;grid-row:1/4;background:var(--x-surface,#fff);border:1px solid var(--x-line,#E9E4DA);border-radius:calc(var(--cv-radius,8px) + 2px);padding:24px 32px 32px}
  html body.cv-civis #cv-main .cv-lp-form__grid.has-aside:has(.cv-partner-apply) .cv-lp-privacy{grid-column:2;grid-row:4;margin-top:16px}
}

/* The button bar that stays at the foot of the screen inside a card on a phone (partner application, "Send a
   client") is drawn like the questionnaire's: across the card from edge to edge, white, with a thin line above. */
@media (max-width:767px){
  html body.cv-civis #cv-main .cv-card .cv-actionbar{margin-left:-16px;margin-right:-16px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--x-surface,#fff);border-top:1px solid var(--x-line,#E9E4DA)}
  html body.cv-civis.cv-has-tabbar #cv-main .cv-card .cv-actionbar{bottom:calc(64px + env(safe-area-inset-bottom));padding-bottom:12px} /* sits on the tab bar, with no gap */
  /* 9.0.0 (P6): an action bar outside a card docks on the tab bar too, with no gap for the form to show through. */
  html body.cv-civis.cv-has-tabbar #cv-main .cv-actionbar{bottom:calc(64px + env(safe-area-inset-bottom));margin-left:-16px;margin-right:-16px;padding:10px 16px;background:var(--x-surface,#fff);border-top:1px solid var(--x-line,#E9E4DA);backdrop-filter:none}
  html body.cv-civis:not(.cv-has-tabbar) #cv-main .cv-actionbar{bottom:0;padding-bottom:calc(10px + env(safe-area-inset-bottom))}
}

/* ---- 8.7.5: compact questionnaire and portal (design review on a 360px phone) ---- */
/* The entry card head: the title and its tools on one line; dated lists are sorted by the review, so no arrows there. */
body.cv-civis #cv-main .cv-rep-head{flex-wrap:nowrap;align-items:center;gap:4px;margin:-8px -8px 8px 0}
body.cv-civis #cv-main .cv-rep-head strong{flex:1 1 0;min-width:0;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
body.cv-civis #cv-main .cv-rep-tools{flex:none;gap:0;margin-left:0}
html body.cv-civis #cv-main .cv-rep-tools .cv-link.cv-rep-move{min-width:36px;min-height:44px;color:var(--x-muted)}
html body.cv-civis #cv-main .cv-rep-tools .cv-link.cv-remove{min-width:0;min-height:44px;padding:0 8px;font-size:13px;color:var(--x-muted)}
html body.cv-civis #cv-main .cv-repeater--timeline>.cv-rep-row>.cv-rep-head .cv-link.cv-rep-move{display:none}
/* The page head on a phone: no repeated page name, no eyebrow, a 20px title; the questions start sooner. */
@media (max-width:639.98px){
  html body.cv-civis.cv-narrow main#cv-main:not(#_){padding-top:16px}
  html body.cv-civis:has(.cv-app--form) .cv-topbar__title{display:none}
  body.cv-civis #cv-main .cv-formhead{margin:0 0 12px}
  body.cv-civis #cv-main .cv-formhead .cv-eyebrow{display:none}
  html body.cv-civis #cv-main .cv-formhead h1{font-size:var(--cv-form-fs-h1,20px);line-height:1.25;margin:0 0 4px}
  body.cv-civis #cv-main .cv-formhead .cv-progress{margin:8px 0 0}
  body.cv-civis #cv-main .cv-formhead__about{margin:6px 0 0;font-size:13px}
  body.cv-civis #cv-main .cv-sectionnav ol{margin:0 0 12px}
  html body.cv-civis #cv-main .cv-sectionnav a{min-height:36px}
  /* The questionnaire is the page: no card frame round it on a phone. */
  body.cv-civis #cv-main .cv-wizard{background:transparent;border:0;padding:0;border-radius:0}
  body.cv-civis #cv-main .cv-form .cv-actions,body.cv-civis #cv-main .cv-wizard .cv-actions{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}
  body.cv-civis #cv-main .cv-wizard .cv-actions:last-child{margin-bottom:-28px;border-radius:0}
  body.cv-civis #cv-main .cv-rep-row{padding:12px}
  html body.cv-civis #cv-main .cv-field,html body.cv-civis #cv-main .cv-section>.cv-field{margin-bottom:20px}
  body.cv-civis #cv-main .cv-section>.cv-lead{margin-bottom:16px}
}
/* Short answers side by side. */
body.cv-civis #cv-main .cv-choices--inline{grid-template-columns:repeat(auto-fit,minmax(96px,1fr))}
/* The autosave status in the step line. */
body.cv-civis #cv-main .cv-stepcount .cv-saved:not(:empty)::before{content:" · "}
/* Back / Continue: Back keeps its width, the main action fills the rest on a phone and sits right on a computer. */
body.cv-civis #cv-main .cv-actions--split{gap:8px;justify-content:flex-start}
body.cv-civis #cv-main .cv-actions--split>.cv-btn--ghost{flex:0 0 auto;min-width:96px}
body.cv-civis #cv-main .cv-actions--split>.cv-btn:not(.cv-btn--ghost){flex:0 0 auto;min-width:180px;margin-left:auto}
@media (max-width:639.98px){body.cv-civis #cv-main .cv-actions--split{flex-wrap:nowrap}body.cv-civis #cv-main .cv-actions--split>.cv-btn:not(.cv-btn--ghost){flex:1 1 0;min-width:0;width:auto}}
body.cv-civis #cv-main .cv-form .cv-actions .cv-btn--lg{min-height:44px}
@media (max-width:1023.98px){
  /* Every disclosure shows that it opens. */
  html body.cv-civis #cv-main details>summary:not(.cv-review__entrydetails>summary):not(.cv-cl-upload>summary)::after{content:"";flex:none;width:7px;height:7px;margin-left:auto;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);opacity:.7}
  html body.cv-civis #cv-main details[open]>summary:not(.cv-review__entrydetails>summary):not(.cv-cl-upload>summary)::after{transform:translateY(2px) rotate(-135deg)}
  /* The page ends at the navy footer, with room for the tab bar inside it. */
  html body.cv-civis.cv-has-tabbar{padding-bottom:0}
  html body.cv-civis.cv-has-tabbar .cv-footer{padding-bottom:calc(28px + 68px + env(safe-area-inset-bottom))}
  /* Home on a phone: what needs the client first, the steps after. */
  body.cv-civis #cv-main .cv-home--civis{display:flex;flex-direction:column}
  body.cv-civis #cv-main .cv-home--civis>.cv-home__grid,body.cv-civis #cv-main .cv-home--civis .cv-home__main{display:contents}
  body.cv-civis #cv-main .cv-home--civis>.cv-home__head{order:0}
  body.cv-civis #cv-main .cv-home--civis .cv-nextcard{order:1}
  body.cv-civis #cv-main .cv-home--civis>.cv-steps6{order:2}
  body.cv-civis #cv-main .cv-home--civis .cv-home__main>:not(.cv-nextcard),body.cv-civis #cv-main .cv-home--civis .cv-home__side{order:3}
}
@media (max-width:639.98px){html body.cv-civis #cv-main .cv-steps6__names{display:none}}
/* Checklist: the upload opener is a button; no box inside a box inside a card. */
body.cv-civis #cv-main .cv-cl-upload{border:0;background:transparent;padding:0;margin:12px 0 0;border-radius:0}
body.cv-civis #cv-main .cv-cl-upload>summary{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border:1px solid var(--x-strong);border-radius:var(--cv-radius,8px);background:#fff;font:600 14px/1.2 var(--x-font);color:var(--x-text);list-style:none}
body.cv-civis #cv-main .cv-cl-upload>summary::-webkit-details-marker{display:none}
body.cv-civis #cv-main .cv-cl-upload>summary::after{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
body.cv-civis #cv-main .cv-cl-upload[open]>summary::after{transform:translateY(2px) rotate(-135deg)}
body.cv-civis #cv-main .cv-cl-upload[open]{border-top:1px solid var(--x-line-soft);padding-top:12px}
body.cv-civis #cv-main .cv-cl-upload[open]>summary{margin-bottom:16px}
body.cv-civis #cv-main .cv-cl-details{border-left:0;padding-left:0;margin:0}
body.cv-civis #cv-main .cv-cl-item .cv-form{max-width:560px}
@media (max-width:1023.98px){html body.cv-civis #cv-main .cv-cl-upload>summary{min-height:44px;display:inline-flex}}
/* 8.8.1 design P12: documents. The title opens the reader; read and download are two compact buttons. */
body.cv-civis #cv-main .cv-docs .cv-docs__title{font-weight:600;color:var(--x-text);text-decoration:none}
body.cv-civis #cv-main .cv-docs .cv-docs__actions{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0}
body.cv-civis #cv-main .cv-docs .cv-docs__actions .cv-btn{min-height:36px;padding:0 12px;font-size:13px}
body.cv-civis #cv-main .cv-docs .cv-docs__actions .cv-btn:not(.cv-btn--ghost){color:#fff}
@media (max-width:1023.98px){body.cv-civis #cv-main .cv-docs .cv-docs__actions .cv-btn{min-height:44px}}
/* 8.8.1 design P13: a Copy button beside the account number, sort code, SWIFT and the reference. */
body.cv-civis #cv-main .cv-copybtn{margin-left:8px;min-height:28px;padding:0 8px;border:1px solid var(--x-strong);border-radius:6px;background:#fff;font:500 12px/1 var(--x-font);color:var(--x-text-2,var(--x-text));cursor:pointer;vertical-align:middle}
body.cv-civis #cv-main dd:has(>.cv-copybtn){display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0}
body.cv-civis #cv-main dd:has(>.cv-copybtn)>.cv-copy{white-space:nowrap;word-break:normal}
body.cv-civis #cv-main dd:has(>.cv-copybtn) .cv-copybtn{margin-left:0;flex:none}
@media (max-width:1023.98px){body.cv-civis #cv-main .cv-copybtn{min-height:36px;padding:0 10px}}
/* Review: the section title and Edit sit on one row. Collapse all is a link. */
body.cv-civis #cv-main .cv-review__section>summary{display:flex;align-items:center;gap:12px;font:600 15px/1.35 var(--x-font);color:var(--x-text);min-height:44px}
body.cv-civis #cv-main .cv-review__section>summary .cv-review__edit{margin-left:auto;font:500 13px/1 var(--x-font);color:var(--x-primary);padding:12px 0 12px 12px}
body.cv-civis #cv-main .cv-review__toolbar{margin:0 0 12px;text-align:right}
body.cv-civis #cv-main .cv-state__back{margin:16px 0 0;text-align:center;font-size:14px}
body.cv-civis #cv-main .cv-state__back .cv-btn{width:100%;min-height:44px}
@media (max-width:639.98px){
  html body.cv-civis #cv-main .cv-home__head>.cv-eyebrow{font:500 13px/1.4 var(--x-font);letter-spacing:0;text-transform:none;color:var(--x-muted)}
  body.cv-civis #cv-main .cv-report-read{padding:20px 16px;border-left:0;border-right:0;border-radius:0;margin:0 -16px}
  body.cv-civis #cv-main .cv-report-read h2{font-size:19px;line-height:1.25;margin:28px 0 8px}
  body.cv-civis #cv-main .cv-report-read h3{font-size:15px;margin:20px 0 6px}
  html body.cv-civis #cv-main .cv-report-read p.is-subtitle{font-size:18px}
}

/* 9.0.0 (P20): question spacing 24px on a computer, and the partner forms a readable width. */
@media (min-width:768px){html body.cv-civis .cv-form .cv-field,html body.cv-civis.cv-agency .cv-field,html body.cv-civis #cv-main .cv-field,html body.cv-civis #cv-main .cv-section>.cv-field{margin-bottom:24px}}
html body.cv-civis.cv-agency #cv-main form.cv-onboard{max-width:720px}
/* 9.0.0 (P14): the destinations are a grid of choices, two across on a phone and four on a computer. */
html body.cv-civis .cv-onboard .cv-choices:has(input[name="countries[]"]) .cv-choices__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html body.cv-civis .cv-onboard .cv-choices:has(input[name="countries[]"]) .cv-choice{margin:0;min-height:44px}
@media (min-width:768px){html body.cv-civis .cv-onboard .cv-choices:has(input[name="countries[]"]) .cv-choices__list{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* 9.0.0 (P21): on a phone the partner application is not a card inside a frame, and its heading is phone-sized. */
@media (max-width:480px){html body.cv-civis #cv-main .cv-lp-form__col>.cv-card{margin-left:-16px;margin-right:-16px;border-left:0;border-right:0;border-radius:0;padding:20px 16px}}
@media (max-width:767px){html body.cv-civis #cv-main :is(.cv-enq-card,.cv-card)>h1{font-size:24px;line-height:1.25}}
/* 9.0.0 (P11): a tab bar label never runs over its neighbour. */
html body.cv-civis .cv-tabbar a span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* 9.0.2 (owner): on a computer the destination countries sit in two columns, so the question card fills more of
   the space beside "What happens next". Phones are unchanged. */
@media (min-width:1024px){html body.cv-civis .cv-lp-form .cv-choices:has(input[name="country_code"]){grid-template-columns:repeat(2,minmax(0,1fr))}}
/* 9.0.2 (owner): on a computer the privacy line sits straight under the question card, not under the taller
   left column. Browsers without anchor positioning keep the line where it was. Phones are unchanged. */
@supports (anchor-name:--a){@media (min-width:1024px){
  html body.cv-civis #cv-main .cv-lp-form__grid.has-aside:has(form.is-stepped){position:relative}
  html body.cv-civis #cv-main .cv-lp-form__grid.has-aside:has(form.is-stepped) .cv-qstep.is-current{anchor-name:--cv-sheet;margin-bottom:56px}
  html body.cv-civis #cv-main .cv-lp-form__grid.has-aside:has(form.is-stepped) .cv-lp-privacy{position:absolute;top:anchor(--cv-sheet bottom);left:anchor(--cv-sheet left);right:anchor(--cv-sheet right);margin-top:16px}
}}

/* 9.0.3 (owner): "Saving…" / "Saved 16:44" is the first line of the questionnaire's button bar, right-aligned above
   Back and Continue; nothing shows before the first save. */
html body.cv-civis #cv-main form.cv-wizard .cv-actions--split:has(>.cv-saved){flex-wrap:wrap;row-gap:6px}
html body.cv-civis #cv-main form.cv-wizard .cv-actions--split>.cv-saved{flex:0 0 100%;margin:0;min-height:0;text-align:right;font-size:13px;line-height:1.4;color:var(--x-muted)}
html body.cv-civis #cv-main form.cv-wizard .cv-actions--split>.cv-saved:empty{display:none}

/* ======================================================================================================
   9.0.3 (owner, 16 November 2026): the Civis design language for the client portal and the questionnaire.
   Compact and neat, never squeezed. One text scale (phone body 15, computer 16; card titles 17/18; help 13.5),
   one card, one button (46/48px, never wraps; an arrow only on a lone primary button with a short label, set by
   portal.js), and small actions as underlined links. Short labels never break.
   ====================================================================================================== */
:root{--ds-ink:#0E1522;--ds-ink2:#353C49;--ds-muted:#5B6270;--ds-line:#E4DED2;--ds-soft:#F1EDE4;--ds-navy:#0F1F3D;--ds-ok:#1F7A4D;--ds-r:14px;--ds-rc:10px}
html body.cv-portal.cv-civis #cv-main{font-size:16px;line-height:1.6;color:var(--ds-ink2)}
/* Cards */
html body.cv-portal.cv-civis #cv-main .cv-card{background:#fff;border:1px solid var(--ds-line)!important;border-radius:var(--ds-r)!important;box-shadow:none!important;padding:24px!important}
html body.cv-portal.cv-civis #cv-main .cv-card h2,html body.cv-portal.cv-civis #cv-main .cv-card>.cv-card__title{font:600 18px/1.35 Inter,system-ui,sans-serif!important;color:var(--ds-ink)!important;letter-spacing:-.005em;margin:0 0 6px!important}
html body.cv-portal.cv-civis #cv-main .cv-card p:not([class]){font-size:16px!important;line-height:1.6!important;color:var(--ds-ink2)!important}
html body.cv-portal.cv-civis #cv-main .cv-card h3{font:600 16px/1.4 Inter,system-ui,sans-serif!important;color:var(--ds-ink)!important}
html body.cv-portal.cv-civis #cv-main .cv-lp-aside h2{font:600 15px/1.35 Inter,system-ui,sans-serif!important;color:var(--ds-ink)!important;letter-spacing:0!important;text-transform:none!important}
/* An invoice number or other code in a list row never breaks. */
html body.cv-portal.cv-civis #cv-main .cv-rows__row:has(.cv-rows__num) .cv-rows__title{white-space:nowrap}
html body.cv-portal.cv-civis #cv-main p.cv-help{font-size:13.5px!important;line-height:1.5!important;color:var(--ds-muted)!important;margin-top:6px}
/* Buttons */
html body.cv-portal.cv-civis #cv-main .cv-btn{min-height:48px!important;padding:0 20px!important;border-radius:var(--ds-rc)!important;font:600 16px/1.2 Inter,system-ui,sans-serif!important;white-space:nowrap;display:inline-flex!important;align-items:center;justify-content:center;gap:10px;box-shadow:none!important}
html body.cv-portal.cv-civis #cv-main .cv-btn:not(.cv-btn--ghost):not(.cv-btn--danger):not(.cv-btn--link){background:var(--ds-navy)!important;color:#fff!important;border:1px solid var(--ds-navy)!important}
/* 9.2.0 (owner, 8.7.5): "Add another ..." under a list stays the full-width, left-aligned slot in a dashed outline (the next entry goes here). (Higher specificity than the navy rule above, which caught it from 9.0.3 without the owner's word.) */
html body.cv-portal.cv-civis #cv-main .cv-repeater>.cv-btn.cv-btn--add:not(.cv-btn--ghost):not(.cv-btn--danger){display:flex!important;width:100%;max-width:100%;justify-content:flex-start;text-align:left;white-space:normal;min-height:44px!important;padding:0 16px!important;border-radius:10px!important;font:600 14px/1.3 Inter,system-ui,sans-serif!important;background:color-mix(in srgb,var(--x-gold) 6%,#fff)!important;color:var(--x-gold-text)!important;border:1px dashed var(--x-gold)!important}
html body.cv-portal.cv-civis #cv-main .cv-repeater>.cv-btn.cv-btn--add:not(.cv-btn--ghost):not(.cv-btn--danger):hover{background:color-mix(in srgb,var(--x-gold) 14%,#fff)!important;border:1px solid var(--x-gold-text)!important}
html body.cv-portal.cv-civis #cv-main .cv-btn[hidden]{display:none!important}
html body.cv-portal.cv-civis #cv-main .cv-btn.has-arrow::after{content:"\2192";font-weight:500;transform:translateY(-1px)}
html body.cv-portal.cv-civis #cv-main .cv-btn--ghost{background:#fff!important;color:var(--ds-navy)!important;border:1px solid #CFC8BA!important}
/* Small actions inside a card are links, not buttons. */
html body.cv-portal.cv-civis #cv-main .cv-card a.cv-btn--ghost{min-height:32px!important;padding:0!important;border:0!important;background:none!important;border-radius:0!important;font:600 15px/1.4 Inter,system-ui,sans-serif!important;color:var(--ds-navy)!important;text-decoration:underline!important;text-decoration-thickness:1px;text-underline-offset:3px;margin:2px 20px 0 0!important}
/* Status labels */
html body.cv-portal.cv-civis #cv-main :is(.cv-pill,.cv-badge){white-space:nowrap!important;height:26px;display:inline-flex!important;align-items:center;gap:6px;padding:0 10px!important;border-radius:999px!important;font:600 12.5px/1 Inter,system-ui,sans-serif!important}
html body.cv-portal.cv-civis #cv-main .cv-card>.cv-pill:first-child{margin-bottom:10px}
/* Portal home step bar */
html body.cv-portal.cv-civis #cv-main .cv-steps6__title{font:600 18px/1.35 Inter,system-ui,sans-serif!important;color:var(--ds-ink)!important}
html body.cv-portal.cv-civis #cv-main .cv-steps6__next{font-size:15px!important;color:var(--ds-muted)!important}
/* Questionnaire answers */
html body.cv-portal.cv-civis #cv-main form.cv-wizard .cv-choices label{min-height:48px;border-radius:var(--ds-rc)!important}
/* Check and submit: each section a card; the title takes the room; Edit is a link that never breaks. */
html body.cv-portal.cv-civis #cv-main form.cv-wizard:has(.cv-review__section){background:transparent!important;border:0!important;padding:0!important}
html body.cv-portal.cv-civis #cv-main .cv-review__section{background:#fff!important;border:1px solid var(--ds-line)!important;border-radius:var(--ds-r)!important;margin:0 0 12px!important;padding:0!important;box-shadow:none!important}
html body.cv-portal.cv-civis #cv-main .cv-review__section>summary{display:flex!important;align-items:center;gap:12px;padding:16px 16px 16px 20px!important;font:600 17px/1.35 Inter,system-ui,sans-serif!important;color:var(--ds-ink)!important}
html body.cv-portal.cv-civis #cv-main .cv-review__section>summary>span:first-child{flex:1 1 auto;min-width:0}
html body.cv-portal.cv-civis #cv-main :is(.cv-review__edit,.cv-review__rowedit){flex:none;width:auto!important;min-height:32px!important;height:auto!important;display:inline-flex!important;align-items:center;padding:0 2px!important;border:0!important;background:none!important;border-radius:0!important;font:600 14px/1.3 Inter,system-ui,sans-serif!important;color:var(--ds-navy)!important;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:3px!important;white-space:nowrap!important}
html body.cv-portal.cv-civis #cv-main .cv-review__contents{padding:0 20px 8px!important;border-top:1px solid var(--ds-soft)}
html body.cv-portal.cv-civis #cv-main .cv-review__contents dl{margin:0!important;padding:12px 0!important;border-bottom:1px solid var(--ds-soft)}
html body.cv-portal.cv-civis #cv-main .cv-review__contents dl:last-child{border-bottom:0}
html body.cv-portal.cv-civis #cv-main .cv-review__contents dt{font:500 14px/1.45 Inter,system-ui,sans-serif!important;color:var(--ds-muted)!important;margin:0 0 2px}
html body.cv-portal.cv-civis #cv-main .cv-review__contents dd{font:500 16px/1.45 Inter,system-ui,sans-serif!important;color:var(--ds-ink)!important;margin:0}
html body.cv-portal.cv-civis #cv-main .cv-review__entry{display:grid!important;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:center;padding:14px 0!important;border:0!important;border-bottom:1px solid var(--ds-soft)!important;margin:0!important}
html body.cv-portal.cv-civis #cv-main .cv-review__entry:last-child{border-bottom:0!important}
html body.cv-portal.cv-civis #cv-main .cv-review__entryhead{display:contents!important}
html body.cv-portal.cv-civis #cv-main .cv-review__entryname{grid-column:1/-1;grid-row:1;display:flex;flex-direction:column;gap:2px;min-width:0}
html body.cv-portal.cv-civis #cv-main .cv-review__entryname strong{font:600 16px/1.4 Inter,system-ui,sans-serif;color:var(--ds-ink)}
html body.cv-portal.cv-civis #cv-main .cv-review__entryname span{font:400 14px/1.45 Inter,system-ui,sans-serif;color:var(--ds-muted)}
html body.cv-portal.cv-civis #cv-main .cv-review__entrydetails{grid-column:1;grid-row:2}
html body.cv-portal.cv-civis #cv-main .cv-review__entrydetails>summary{margin-top:8px;font:600 14px/1.4 Inter,system-ui,sans-serif;color:var(--ds-navy);min-height:32px;display:flex;align-items:center}
html body.cv-portal.cv-civis #cv-main .cv-review__entryhead>.cv-review__rowedit{grid-column:2;grid-row:2;margin-top:8px}
/* The questionnaire's step list (Screens::stepList). */
html body.cv-portal.cv-civis #cv-main .cv-formhead .cv-stepcount{display:none}
html body.cv-portal.cv-civis #cv-main .cv-qsteps-wrap{min-width:0;margin:0 0 16px}
html body.cv-portal.cv-civis #cv-main .cv-qsteps{background:#fff;border:1px solid var(--ds-line);border-radius:var(--ds-r);overflow:hidden}
html body.cv-portal.cv-civis #cv-main .cv-qsteps>summary{display:flex;align-items:center;gap:12px;padding:12px 16px;min-height:56px;cursor:pointer;list-style:none;color:var(--ds-ink)}
html body.cv-portal.cv-civis #cv-main .cv-qsteps>summary::-webkit-details-marker{display:none}
html body.cv-portal.cv-civis #cv-main .cv-qsteps>summary::after{content:none!important}
html body.cv-portal.cv-civis #cv-main .cv-qsteps__ring{flex:none;width:36px;height:36px;border-radius:50%;background:conic-gradient(var(--ds-navy) var(--p),var(--ds-line) 0);display:grid;place-items:center}
html body.cv-portal.cv-civis #cv-main .cv-qsteps__ring b{width:28px;height:28px;border-radius:50%;background:#fff;display:grid;place-items:center;font:600 10.5px/1 Inter,system-ui,sans-serif;color:var(--ds-ink)}
html body.cv-portal.cv-civis #cv-main .cv-qsteps__now{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}
html body.cv-portal.cv-civis #cv-main .cv-qsteps__now small{font:600 11.5px/1.3 Inter,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--ds-muted)}
html body.cv-portal.cv-civis #cv-main .cv-qsteps__now span{font:600 15px/1.35 Inter,system-ui,sans-serif;color:var(--ds-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body.cv-portal.cv-civis #cv-main .cv-qsteps__toggle{flex:none;font:600 14px/1.3 Inter,system-ui,sans-serif;color:var(--ds-navy);text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
html body.cv-portal.cv-civis #cv-main .cv-qsteps[open] .cv-qsteps__toggle .is-show,html body.cv-portal.cv-civis #cv-main .cv-qsteps:not([open]) .cv-qsteps__toggle .is-hide{display:none}
html body.cv-portal.cv-civis #cv-main .cv-qsteps__list{list-style:none;margin:0;padding:6px 8px 10px;border-top:1px solid var(--ds-line);display:block}
html body.cv-portal.cv-civis #cv-main .cv-qsteps__list li{margin:0;padding:0;display:block}
html body.cv-portal.cv-civis #cv-main .cv-qsteps__row{display:flex;align-items:center;gap:12px;padding:8px;min-height:44px;border-radius:8px;text-decoration:none;color:var(--ds-ink);font:400 15px/1.35 Inter,system-ui,sans-serif;box-sizing:border-box}
html body.cv-portal.cv-civis #cv-main a.cv-qsteps__row:hover{background:var(--ds-soft)}
html body.cv-portal.cv-civis #cv-main .cv-qsteps__mark{flex:none;width:24px;height:24px;border-radius:50%;border:1.5px solid #C9C3B6;display:grid;place-items:center;font:600 11px/1 Inter,system-ui,sans-serif;color:var(--ds-muted);background:#fff}
html body.cv-portal.cv-civis #cv-main .cv-qsteps__name{flex:1 1 auto;min-width:0}
html body.cv-portal.cv-civis #cv-main .cv-qsteps__sub{flex:none;margin-left:auto;font-size:12.5px;color:var(--ds-muted)}
html body.cv-portal.cv-civis #cv-main .cv-qsteps li.is-done .cv-qsteps__mark{border-color:var(--ds-ok);background:var(--ds-ok);color:#fff}
html body.cv-portal.cv-civis #cv-main .cv-qsteps li.is-current .cv-qsteps__row{background:var(--ds-soft);font-weight:600}
html body.cv-portal.cv-civis #cv-main .cv-qsteps li.is-current .cv-qsteps__mark{border-color:var(--ds-navy);background:var(--ds-navy);color:#fff}
html body.cv-portal.cv-civis #cv-main .cv-qsteps li.is-next .cv-qsteps__mark{border-color:var(--ds-navy);color:var(--ds-navy)}
html body.cv-portal.cv-civis #cv-main .cv-qsteps li.is-locked .cv-qsteps__row{color:#9AA0A8;cursor:not-allowed}
html body.cv-portal.cv-civis #cv-main .cv-qsteps li.is-locked .cv-qsteps__mark{border-style:dashed;color:#9AA0A8}
/* Computer: the list stands open in a 288px column beside the questions. */
@media (min-width:1024px){
  html body.cv-portal.cv-civis #cv-main .cv-app--form{grid-template-columns:288px minmax(0,1fr)!important;column-gap:32px!important}
  html body.cv-portal.cv-civis #cv-main .cv-qsteps-wrap{position:sticky;top:76px;align-self:start}
  html body.cv-portal.cv-civis #cv-main .cv-qsteps>summary{cursor:default;pointer-events:none;min-height:0;padding:14px 16px 10px}
  html body.cv-portal.cv-civis #cv-main .cv-qsteps__ring,html body.cv-portal.cv-civis #cv-main .cv-qsteps__toggle,html body.cv-portal.cv-civis #cv-main .cv-qsteps__sub{display:none}
  html body.cv-portal.cv-civis #cv-main .cv-qsteps__now span{white-space:normal}
  html body.cv-portal.cv-civis #cv-main .cv-qsteps__row{font-size:14px;padding:7px 8px;min-height:38px}
}
/* Phone: compact scale. */
@media (max-width:639.98px){
  html body.cv-portal.cv-civis #cv-main{font-size:15px;line-height:1.55}
  html body.cv-portal.cv-civis #cv-main .cv-card{padding:16px!important}
  html body.cv-portal.cv-civis #cv-main .cv-card p:not([class]){font-size:15px!important;line-height:1.55!important}
  html body.cv-portal.cv-civis #cv-main .cv-card h2,html body.cv-portal.cv-civis #cv-main .cv-card>.cv-card__title{font-size:17px!important}
  html body.cv-portal.cv-civis #cv-main .cv-steps6__title{font-size:16px!important}
  html body.cv-portal.cv-civis #cv-main .cv-btn{min-height:46px!important;font-size:15px!important;padding:0 18px!important}
  html body.cv-portal.cv-civis #cv-main form.cv-wizard.cv-card{background:transparent!important;border:0!important;padding:0!important}
  html body.cv-portal.cv-civis #cv-main form.cv-wizard .cv-choices label{min-height:44px}
  html body.cv-portal.cv-civis #cv-main form.cv-wizard .cv-choices--inline:has(>:nth-child(3)){display:flex;flex-wrap:wrap;gap:8px}
  html body.cv-portal.cv-civis #cv-main form.cv-wizard .cv-choices--inline:has(>:nth-child(3))>*{flex:1 1 auto;min-width:0;white-space:nowrap}
  html body.cv-portal.cv-civis #cv-main .cv-review__section>summary{font-size:16px!important;padding:12px 12px 12px 16px!important}
  html body.cv-portal.cv-civis #cv-main .cv-review__contents{padding:0 16px 4px!important}
  html body.cv-portal.cv-civis #cv-main .cv-review__contents dl{padding:10px 0!important}
  html body.cv-portal.cv-civis #cv-main .cv-review__contents dt{font-size:13.5px!important}
  html body.cv-portal.cv-civis #cv-main .cv-review__contents dd{font-size:15px!important}
  html body.cv-portal.cv-civis #cv-main .cv-review__entry{padding:12px 0!important}
  html body.cv-portal.cv-civis #cv-main .cv-review__entryname strong{font-size:15px}
  html body.cv-portal.cv-civis #cv-main .cv-review__entryname span{font-size:13.5px}
  html body.cv-portal.cv-civis #cv-main .cv-review__entrydetails>summary{font-size:13.5px;margin-top:6px}
  html body.cv-portal.cv-civis #cv-main :is(.cv-review__edit,.cv-review__rowedit){font-size:13.5px!important}
  html body.cv-portal.cv-civis #cv-main :is(.cv-pill,.cv-badge){height:24px;font-size:12px!important}
}

/* 9.0.4: a section's opening words inside a questionnaire or update form use the body size, not a large grey lead. */
html body.cv-portal.cv-civis #cv-main form.cv-wizard .cv-section>p.cv-lead{font-size:16px!important;line-height:1.6!important;color:var(--ds-ink2)!important;margin:0 0 16px}
@media (max-width:639.98px){html body.cv-portal.cv-civis #cv-main form.cv-wizard .cv-section>p.cv-lead{font-size:15px!important;line-height:1.55!important}}

/* 9.0.6 (owner): "Copy" beside the account number and the reference is a small text link on the same line, not a
   boxed button; the payment form states the amount to send above an empty box. */
html body.cv-civis #cv-main .cv-copybtn{margin:0 0 0 10px!important;min-height:0!important;height:auto!important;padding:0!important;border:0!important;background:none!important;border-radius:0!important;font:600 14px/1.4 Inter,system-ui,sans-serif!important;color:var(--ds-navy,#0F1F3D)!important;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;cursor:pointer}
html body.cv-civis #cv-main dd:has(>.cv-copybtn){flex-wrap:wrap!important;align-items:baseline!important;justify-content:flex-end;column-gap:10px!important;row-gap:2px!important}
html body.cv-civis #cv-main dd:has(>.cv-copybtn)>.cv-copybtn{margin-left:0!important}
html body.cv-civis #cv-main .cv-dl-grid dt{padding-right:12px}
html body.cv-civis #cv-main .cv-paid__due{margin:0 0 12px;font-size:16px;color:var(--ds-ink,#0E1522)}
/* 9.0.6: in How to pay the labels take only their own width, so a long account number or reference has room. */
html body.cv-civis #cv-main .cv-dl-grid:has(.cv-copybtn){grid-template-columns:max-content minmax(0,1fr)!important;column-gap:16px}
@media (max-width:479.98px){html body.cv-civis #cv-main .cv-dl-grid:has(.cv-copybtn){grid-template-columns:minmax(0,1fr)!important;row-gap:2px!important}html body.cv-civis #cv-main .cv-dl-grid:has(.cv-copybtn) dt{padding-top:10px}html body.cv-civis #cv-main .cv-dl-grid:has(.cv-copybtn) dt:first-of-type{padding-top:0}html body.cv-civis #cv-main .cv-dl-grid:has(.cv-copybtn) dd{grid-column:1/-1;text-align:left!important;justify-content:flex-start!important;margin:0}}
/* 9.0.7 (owner): "Add a job" and "Add a course" under a gap are text links on one line. They stay submit buttons, so the page is saved first. */
html body.cv-civis #cv-main .cv-gap-add__buttons{display:flex!important;flex-flow:row wrap!important;gap:6px 24px!important;align-items:baseline}
html body.cv-portal.cv-civis #cv-main .cv-gap-add .cv-gap-add__buttons .cv-btn.cv-btn--add.cv-goback{display:inline-flex!important;width:auto!important;min-height:0!important;height:auto!important;margin:0!important;padding:4px 0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--ds-navy,#0F1F3D)!important;font-size:16px!important;font-weight:600!important;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;gap:6px!important;white-space:nowrap}
html body.cv-portal.cv-civis #cv-main .cv-gap-add .cv-gap-add__buttons .cv-btn.cv-btn--add.cv-goback:hover{color:var(--x-gold-text)!important;background:none!important;text-decoration-thickness:2px}
/* 9.2.0 (owner, 16 and 21 November: small actions are underlined links): "Edit my qualifications" and "Edit my licences" under a list of choices; they still save the page first. */
html body.cv-portal.cv-civis #cv-main .cv-goback-wrap .cv-btn.cv-btn--add.cv-goback.cv-goback--link{display:inline-flex!important;width:auto!important;min-height:44px!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--ds-navy,#0F1F3D)!important;font:600 15px/1.4 Inter,system-ui,sans-serif!important;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;white-space:normal;text-align:left}
html body.cv-portal.cv-civis #cv-main .cv-goback-wrap .cv-btn.cv-btn--add.cv-goback.cv-goback--link:hover{color:var(--x-gold-text)!important;background:none!important;text-decoration-thickness:2px}
html body.cv-portal.cv-civis #cv-main .cv-goback-wrap .cv-btn.cv-goback--link.has-arrow::after{content:none}
/* 9.2.0: "Go to our website" on a page a visitor without a session sees is an underlined link under the form. */
html body.cv-civis #cv-main .cv-state__back a.cv-state__link{display:inline-flex;align-items:center;min-height:44px;color:var(--ds-navy,#0F1F3D);font:600 15px/1.4 Inter,system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
html body.cv-civis #cv-main .cv-state__back a.cv-state__link:hover{text-decoration-thickness:2px}
html body.cv-civis #cv-main .cv-gap-add__buttons .cv-btn--add .cv-plus{display:none}
html body.cv-portal.cv-civis #cv-main .cv-gap-add p.cv-gap-add__lead{margin:0 0 2px;font-size:16px!important;color:var(--ds-muted)!important}
/* 9.0.9 (owner): long words and addresses wrap inside portal cards; they never widen the page on a phone. */
html body.cv-portal.cv-civis #cv-main .cv-card :is(p,li,dd,h2,h3){overflow-wrap:anywhere}
html body.cv-portal.cv-civis #cv-main .cv-nextcard>*{max-width:100%}

/* ---------------------------------------------------------------------------------------------------------------
   9.0.18 (owner): the reader looks like the Word report: a white page with the report's running header (wordmark,
   title, "Confidential") and footer, the document fonts (Georgia headings in the brand colour over Inter text),
   the labelled details as two columns. Printing (or "Save as PDF") gives just that page, on A4. */
body.cv-civis #cv-main .cv-report-read.cv-sheet{max-width:794px;width:100%;padding:44px 60px 40px;border:1px solid var(--x-line);border-radius:4px;box-shadow:0 1px 2px rgba(14,21,34,.04),0 8px 24px rgba(14,21,34,.06);font-family:var(--cv-doc-body-font,var(--x-font))}
body.cv-civis #cv-main .cv-sheet :is(p,li){color:var(--cv-doc-ink,var(--x-text))}
body.cv-civis #cv-main .cv-sheet :is(h1,h2,h3){font-family:var(--cv-doc-heading-font,Georgia,serif);color:var(--cv-doc-heading,var(--x-primary));font-weight:700;letter-spacing:0}
body.cv-civis #cv-main .cv-sheet h1{font-size:var(--cv-doc-fs-h1,30px);line-height:1.2;margin:28px 0 6px}
body.cv-civis #cv-main .cv-sheet h2{font-size:var(--cv-doc-fs-h2,19px);line-height:1.3;margin:30px 0 10px}
body.cv-civis #cv-main .cv-sheet h3{font-size:var(--cv-doc-fs-h3,15.5px);line-height:1.35;margin:20px 0 8px}
body.cv-civis #cv-main .cv-sheet p.is-meta{display:grid;grid-template-columns:150px 1fr;gap:0 12px;font-size:13.5px;line-height:1.5;color:var(--cv-doc-ink,var(--x-text));margin:0 0 3px}
body.cv-civis #cv-main .cv-sheet p.is-meta strong{font-weight:700;color:var(--cv-doc-ink,var(--x-text))}
/* 9.0.19: no "Prepared for" line under the title any more: the gold rule moves to the top of the details. */
body.cv-civis #cv-main .cv-sheet h1+p.is-meta{border-top:2px solid var(--x-gold);padding-top:14px;margin-top:14px}
body.cv-civis #cv-main .cv-sheet p.is-notice{font-style:italic;font-size:13px;color:var(--x-muted);border-top:0;border-bottom:1px solid var(--x-strong);padding:10px 0 12px;margin:10px 0 26px}
body.cv-civis #cv-main .cv-sheet p.is-bullet::before{content:"\2022";width:auto;height:auto;top:0;left:4px;border-radius:0;background:none;color:var(--cv-doc-ink,var(--x-text))}
body.cv-civis #cv-main .cv-sheet .is-mark{font-weight:400}
body.cv-civis #cv-main .cv-sheet__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px;padding-bottom:7px;border-bottom:1.5px solid var(--cv-doc-heading,var(--x-primary));margin:0 0 6px}
body.cv-civis #cv-main .cv-sheet__mark{font:700 12.5px/1.3 var(--cv-doc-heading-font,Georgia,serif);letter-spacing:.14em;text-transform:uppercase;color:var(--cv-doc-heading,var(--x-primary))}
body.cv-civis #cv-main .cv-sheet__label{font-size:11.5px;line-height:1.4;color:var(--x-muted)}
body.cv-civis #cv-main .cv-sheet__foot{margin:32px 0 0;padding-top:10px;border-top:1px solid var(--x-line);font-size:11.5px;color:var(--x-muted)}
/* A card's h2 is fixed to the interface font elsewhere (with !important); the page of a document keeps the report's. */
html body.cv-portal.cv-civis #cv-main .cv-card.cv-sheet h2{font:700 var(--cv-doc-fs-h2,19px)/1.3 var(--cv-doc-heading-font,Georgia,serif) !important;color:var(--cv-doc-heading,var(--x-primary)) !important;letter-spacing:0 !important}
html body.cv-portal.cv-civis #cv-main .cv-card.cv-sheet h3{font:700 var(--cv-doc-fs-h3,15.5px)/1.35 var(--cv-doc-heading-font,Georgia,serif) !important;color:var(--cv-doc-heading,var(--x-primary)) !important;letter-spacing:0 !important}
body.cv-civis #cv-main .cv-docs__word{display:inline-flex;align-items:center;gap:6px;margin-left:16px;font-size:14px;font-weight:600;color:var(--x-primary);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px}
body.cv-civis #cv-main .cv-docs__word:hover{text-decoration-color:currentColor}
body.cv-civis #cv-main .cv-docs__word svg{width:16px;height:16px}
body.cv-civis #cv-main .cv-sheet-save{max-width:794px;width:100%;margin:2px 0 8px}
body.cv-civis #cv-main .cv-sheet-save__link{display:inline-flex;align-items:center;gap:8px;padding:6px 0;border:0;background:none;font:600 15px/1.3 var(--x-font);color:var(--x-primary);cursor:pointer;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px;transition:text-decoration-color .15s}
body.cv-civis #cv-main .cv-sheet-save__link:hover,body.cv-civis #cv-main .cv-sheet-save__link:focus-visible{text-decoration-color:currentColor}
body.cv-civis #cv-main .cv-sheet-save__link:focus-visible{outline:2px solid var(--x-gold);outline-offset:3px;border-radius:4px}
body.cv-civis #cv-main .cv-sheet-save__icon svg{width:18px;height:18px;display:block}
body.cv-civis #cv-main .cv-sheet-save__hint{margin:2px 0 0;font-size:13px;color:var(--x-muted)}
@media (max-width:639px){
  body.cv-civis #cv-main .cv-report-read.cv-sheet{width:auto;padding:22px 18px 26px;border-left:0;border-right:0;border-radius:0;box-shadow:none}
  body.cv-civis #cv-main .cv-sheet h1{font-size:var(--cv-doc-fs-h1,25px);margin-top:20px}
  html body.cv-portal.cv-civis #cv-main .cv-card.cv-sheet h2{font-size:var(--cv-doc-fs-h2,18px) !important}
  body.cv-civis #cv-main .cv-sheet p.is-meta{grid-template-columns:118px 1fr}
}

/* ======================================================================================================
   9.3.3 (owner, 23 November 2026: "everything across board across sites is brought into the design language").
   Departures from recorded decisions found on screen at 360, 390 and 1280px; nothing new is added.
   ====================================================================================================== */
/* The 9.0.3 "one card" rule gives every portal card 24px padding; the Documents, Invoices and Agreements panels kept
   their older inner padding as well (made for a card with no padding), so their heading and rows sat 18px further in
   than every other card on the same screen. They now line up with their sibling cards. */
html body.cv-portal.cv-civis #cv-main .cv-card.cv-panel>.cv-panel__head{padding:0 0 12px}
html body.cv-portal.cv-civis #cv-main .cv-card.cv-panel .cv-rows__row{padding-left:0;padding-right:0}
html body.cv-portal.cv-civis #cv-main .cv-card.cv-panel>.cv-panel__empty{padding:12px 0 0}
/* "View all" opens another screen: an underlined text link, like every other small action in a card
   (owner, 16 and 21 November 2026; HANDOVER section 2 names "View all"). It was plain, unmarked text. */
html body.cv-portal.cv-civis #cv-main .cv-panel__head a,html body.cv-civis.cv-agency #cv-main .cv-card__head>a.cv-link{font:600 15px/1.4 Inter,system-ui,sans-serif;color:var(--ds-navy,#0F1F3D);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;white-space:nowrap}
/* Client text (9.0.3: 15px on a phone, 16 on a computer): the message on the access-link and state pages was a fixed
   14px, and the label of their "Email me my link" form 14px where every other client form label is the form label
   size (the agent sign-in form beside it is 15px). */
html body.cv-portal.cv-civis #cv-main .cv-state>p{font-size:inherit}
html body.cv-civis #cv-main form.cv-resend>label{font-size:var(--cv-form-fs-label,15px)}
/* The same for the "Send them in Messages" link inside the agent's Client form setup sentence (P-19). */
html body.cv-civis.cv-agency #cv-main p.cv-empty-line>a.cv-link{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}

/* 9.3.6 (owner, 24 November 2026, question 4): the 9.3.3 design questions decided.
   1. The agent sign-in title is 24px on a phone, like every other page title (the P21 rule above now says 24).
   3. The line under the title of the enquiry pages, the partner application and the agent sign-in, and the steps in
      the side panel beside them, are client text: 15px on a phone, 16 on a computer (9.0.3), not 14px help text. */
html body.cv-civis #cv-main :is(.cv-enq-card,.cv-landing__card,.cv-signin__card)>.cv-lead{font-size:15px;line-height:1.55}
html body.cv-civis #cv-main .cv-lp-aside__box :is(p,li){font-size:15px;line-height:1.55}
@media (min-width:768px){
  html body.cv-civis #cv-main :is(.cv-enq-card,.cv-landing__card,.cv-signin__card)>.cv-lead{font-size:16px}
  html body.cv-civis #cv-main .cv-lp-aside__box :is(p,li){font-size:16px}
}
