/* Shared finishing layer. Keep approved typography and brand colours. */
html{scroll-padding-top:28px}
main:focus{outline:none}
img{max-width:100%}
button,a,input,select,textarea{touch-action:manipulation}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid currentColor;outline-offset:4px}
h1,h2{text-wrap:balance}
p,li{text-wrap:pretty}
main [hidden]{display:none!important}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.lp-body{overflow-wrap:anywhere}
.lp-body iframe{max-width:100%;aspect-ratio:16/9;height:auto}
.lp-body table{max-width:100%}
.lp-table{overflow-x:auto;overscroll-behavior-inline:contain}
.lp-table:focus-visible{outline:2px solid #238c79;outline-offset:3px}
/* A two-column table on a policy page (a term and its explanation) fits a phone instead of scrolling sideways; on a
   phone its row labels take only the width of their longest word, so an email address beside them stays whole. A label
   in an ordinary first cell keeps its words whole too: at 360px "advertising" and "d’information" broke mid-word
   (measured on the six policy pages with tables, 20 October 2026). */
.lp-policy .lp-table table:not(:has(tr>:nth-child(3))){min-width:0}
@media(max-width:480px){.lp-policy .lp-table th[scope=row]{width:1%;overflow-wrap:normal}.lp-policy .lp-table td:first-child{overflow-wrap:normal}}
.lp-body img{height:auto}
.lp-mobile-toc summary,.cc-mobile-contents summary{cursor:pointer}
.page-filter-empty{padding:36px;background:#eef4ef;border-radius:12px}
.public-feedback{margin-top:12px;color:#426159;line-height:1.6}
.public-copy-status{display:inline-block;margin-inline-start:12px;font-size:13px}
.native-enquiry-link{display:inline-flex;align-items:center;gap:10px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
body[data-page="quiz"] .site-announcement,body[data-page="quiz"]>header.nav,body[data-page="quiz"]>footer{display:none}
body[data-page="quiz"]{background:#173833;color:#f4f8f4}
.check-options{border:0;padding:0;display:grid;gap:12px;margin:32px 0}
.check-option{display:flex;gap:14px;align-items:flex-start;background:#294b44;padding:18px 20px;border-radius:9px;cursor:pointer;border:2px solid transparent}
.check-option:has(input:checked){border-color:#c1f99b;background:#355d4e}
.check-option input{margin-top:5px;accent-color:#c1f99b;flex:none}
.check-actions{display:flex;flex-wrap:wrap;gap:14px;margin:28px 0}
.check-review summary{font-size:16px;line-height:1.6;padding:18px 40px 18px 0;cursor:pointer}
.check-review details{border-bottom:1px solid #426357}
.quiz-score{font-size:76px;line-height:1;letter-spacing:-4px;color:#c1f99b;font-weight:700;margin:30px 0}.quiz-score span{font-size:30px;letter-spacing:0}
.check-skill-list{margin:32px 0}.check-skill-list>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #45645b;padding:12px 0}
.check-review p,.check-review a{color:#dce9de}
body[data-page="quiz"] .btn.secondary{color:#dce9de;border-color:#688a7a;background:transparent}
body[data-page="quiz"] h1{font-size:clamp(28px,4.4vw,48px);line-height:1.2}
.case-decision-panel{padding:60px 0;background:#eaf1e8}.case-decision-panel form{display:grid;gap:24px;max-width:760px;margin:30px 0}.case-decision-panel label{display:grid;gap:10px}.case-decision-panel textarea{width:100%}.case-decision-panel h2{margin:28px 0 20px}.case-decision-panel button[data-doc]{border:0;background:none;color:inherit;text-decoration:underline;cursor:pointer;text-align:left;padding:6px 0}
[data-case-feedback]{background:#fff;padding:28px;border-radius:12px;line-height:1.7}
body[data-page="case"] main{padding-top:28px}.case-decision-panel .btn{justify-self:start}
.design-updates{border:0;border-radius:20px;max-width:560px;width:calc(100% - 40px);padding:32px;color:#244140;background:#f3f7f3}.design-updates::backdrop{background:#132d2bb3}.design-updates form{display:flex;justify-content:flex-end;margin-bottom:24px}.design-updates h2{margin:18px 0}.design-updates p{line-height:1.65;margin:18px 0}
/* Shared navigation and small editorial details. */
.navlinks a[aria-current="page"]{text-decoration:underline;text-underline-offset:7px;text-decoration-thickness:2px}
.mini-course-page .lp-crumb{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:13px;line-height:1.6;margin-bottom:28px}
.mini-course-page .lp-crumb a{text-underline-offset:4px}
.not-found{padding:100px 0 120px;background:#f3f7f3}.not-found h1{font-size:clamp(44px,6vw,76px);line-height:1.06;margin:28px 0}.not-found p{max-width:580px;line-height:1.7}.not-found-links{display:flex;flex-wrap:wrap;align-items:center;gap:28px;margin-top:36px}.not-found .not-found-legacy{margin:44px 0 0;font-size:15px;line-height:1.6;color:#506b61}
/* Keep the reading surface quiet once the knowledge check begins. */
.quiz-shell.is-answering{background:#193b36}
.quiz-shell.is-answering .quiz-main{max-width:850px}
.quiz-shell.is-answering .quiz-nav{border-bottom:1px solid #ffffff14}
/* Allow evidence labels and tables to shrink inside the phone workspace. */
body[data-page="case"] .workspace>*{min-width:0}
body[data-page="case"] .source-list button{min-width:0;overflow-wrap:anywhere}
body[data-page="case"] .document{min-width:0;overflow-wrap:anywhere}
body[data-page="case"] .document table{min-width:340px}
@media(max-width:760px){body[data-page="case"] .workspace{grid-template-columns:minmax(0,1fr)}body[data-page="case"] .source-list{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page="case"] .heading-inline{flex-wrap:wrap;gap:12px}}
body[data-page="case"] .document pre{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7}
@media(max-width:480px){body[data-page="case"] .document table{min-width:0;width:100%;font-size:11px;line-height:1.5}body[data-page="case"] .document th,body[data-page="case"] .document td{padding:10px 5px;white-space:normal}}
body[data-page="case"] .document{scroll-margin-top:90px}

/* CMS content keeps the established reading measure and responsive media. */
.cms-feature-image {margin: 2rem 0 0; max-width: 100%;}
.cms-feature-image img, .lp-body figure img {display:block;max-width:100%;height:auto;border-radius:16px;}
.cms-feature-image figcaption {margin-top:.7rem;color:var(--muted,#536d65);font-size:.9rem;}
.cms-table-wrap {overflow-x:auto;max-width:100%;}
.cms-table-wrap table {width:100%;border-collapse:collapse;}
.cms-table-wrap th,.cms-table-wrap td {padding:1rem;text-align:left;border-bottom:1px solid #c9d9d2;vertical-align:top;}

/* Account access and navigation hierarchy. */
.nav-mobile-support,.nav-mobile-account{display:none}
.nav-account .nav-login{display:inline-flex;align-items:center;min-height:44px;border:0;border-radius:0;background:transparent;padding-inline:4px;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.nav-account .nav-signup{padding-inline:18px}
.nav .menu{text-decoration:none;border-radius:999px;padding-inline:13px}
.nav .menu .ui-icon{display:block}
.nav .menu span{display:inline}

/* Footer links remain discrete on every page, including narrow screens. */
.footer .footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0}
.footer .footer-links a{display:inline-block;line-height:1.45;text-underline-offset:4px}

@media(max-width:900px){
  .navlinks.is-open{display:flex!important;z-index:20}
}

@media(max-width:760px){
  body.menu-open{overflow:hidden}
  .nav{position:sticky;top:0;background:#f7faf3;backdrop-filter:none;-webkit-backdrop-filter:none}
  .nav-inner{min-height:72px;padding:11px 16px;gap:11px}
  .nav .logo{width:clamp(116px,31vw,146px)}
  .nav-account{margin-left:auto;gap:0}
  .nav-account .nav-login{display:inline-flex;font-size:13px;padding-inline:3px;min-width:auto}
  .nav-account .nav-signup{display:none}
  .nav .menu{display:inline-flex;min-height:42px;min-width:auto;padding-inline:11px;gap:7px;border:1px solid #afc1b8;font-size:13px;font-weight:600}
  .nav .menu .ui-icon{width:18px;height:18px}
  .nav .menu span{display:inline}
  .navlinks.is-open{position:fixed;top:var(--nav-drawer-top,72px);bottom:0;left:0;right:0;display:flex!important;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:13px 22px calc(26px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;background:#f3f7f3;border-top:1px solid #d1dfd7;border-bottom:0;box-shadow:none}
  .navlinks.is-open>a{display:flex;align-items:center;min-height:55px;padding:8px 0;border-bottom:1px solid #d1dfd7;font-size:20px;font-weight:600;text-decoration:none}
  .navlinks.is-open>a[aria-current="page"]{text-decoration:underline;text-underline-offset:6px}
  .navlinks.is-open .nav-mobile-support{display:grid;grid-template-columns:1fr 1fr;gap:2px 18px;margin-top:15px}
  .nav-mobile-support a{display:flex;align-items:center;min-height:43px;padding:6px 0;border-bottom:1px solid #dbe6df;color:#47645b;font-size:12px;line-height:1.35;text-decoration:none}
  .navlinks.is-open .nav-mobile-account{display:grid;gap:4px;margin-top:20px;padding:20px;border-radius:12px;background:#244140;color:#f3f7f3}
  .nav-mobile-account>span{font-size:11px;color:#cbdcd3}
  .nav-mobile-account>strong{font-size:17px;line-height:1.35}
  .nav-mobile-account .nav-mobile-signup{display:flex;align-items:center;justify-content:space-between;min-height:48px;margin-top:12px;padding:12px 16px;border:0;border-radius:8px;background:#c1f99b;color:#173832;font-size:14px;font-weight:700;text-decoration:none}
}

@media(max-width:370px){
  .nav-inner{padding-inline:12px;gap:8px}
  .nav .logo{width:108px}
  .nav .menu{padding-inline:9px}
  .nav-account .nav-login{font-size:12px}
  .navlinks.is-open{padding-inline:18px}
}

/* Release-audit round (September 2026). Type floor, target size, playback
   controls, lazy-image grounds and the phone walkthrough height. */
.hp-perspective-labels{font-size:12px}
.hp-home-revised .hp-hero-context{font-size:13px}
.pc-offer-note,.pc-offer-heading span{font-size:12px}
.cat-hero-proof{font-size:12px}
.lp-crumb,.lp-crumb a{font-size:12px}
.hp-programme-name > span,.hp-route-label span{font-size:12px}
@media(max-width:760px){
  .text-link,.lp-crumb a,.pc-back,.hp-hero-context a,.faculty-entry .text-link,.ab-team-profile,.cat-course-link,.cat-context-link{min-height:44px;display:inline-flex;align-items:center}
  .lp-crumb{align-items:center;gap:6px 10px;font-size:13px}
  .lp-crumb a{font-size:13px}
  .hp-flow-panel{min-height:0;height:auto}
  .hp-programme-description p,.hp-programme-entry small,.hp-route-label span{font-size:12.5px}
}
.hp-flow-controls button,.cat-method-controls button,[data-of-play],[data-content-play]{border:1px solid #b9c8c0;border-radius:999px;background:#fff;padding:6px 14px;min-height:34px;color:#244140;font-size:12.5px;font-weight:600;gap:8px}
.hp-flow-controls button:hover,.cat-method-controls button:hover{background:#eef4ef}
.hp-flow-controls button .ui-icon,.cat-method-controls button .ui-icon{width:14px;height:14px}
.forest .hp-flow-controls button,.forest .cat-method-controls button{background:transparent;color:#eef8ea;border-color:#6c837a}
.ab-team-photo,.partner-photo,.certificate-figure,.ab-hero-photo>img{background:#e4ece6}
.ab-team-photo-inset{background:#1f2f2d;display:grid;place-items:center}
.ab-team-photo-inset img{object-fit:contain;padding:10px;background:transparent}

/* Phone type floor (12px) for labels, captions and controls, and 24px targets
   for every in-content link and button, without changing markup. */
@media(max-width:760px){
  main :is(small,dt,th,time,.hp-label,.cat-label,.lp-kicker,.pc-label,.ps-detail-label,.ps-scope,.hp-priority-note,.lifecycle-caption,.cat-context-link,.ab-team-profile,.ab-people-tabs button,.hp-scope button,.hp-editorial-footer,.hp-editorial-footer a,.hp-editorial-footer span,.cw-risk-reference,.cw-risk-source,.of-people span,.hp-programme-entry small,.cat-check-action>span,.cat-price small,.cat-fiar-facts span,.cat-method-tabs button,.cat-method-controls,.hp-flow-controls,.hp-tab-label,.hp-investigation-entry span,.hp-org-action span,.hp-skill-row span,.lp-byline,.lp-byline a,.lp-byline span,.faculty-entry .hp-label,.hp-route-label span,.ab-hero-caption,.ab-hero-caption span){font-size:12px}
  main a:not(.btn):not(.nav-mobile-signup){padding-block:6px}
  main .btn,main .text-link,main .cat-course-link{padding-block:13px}
  main button:not(.btn){min-height:32px}
  footer a{display:inline-block;padding-block:6px}
  .nav-brand{display:inline-flex;align-items:center;min-height:44px}
}
@media(max-width:760px){
  main :is(.hp-scene-heading span,.hp-reference span,.hp-reference dt,.hp-evidence span,.cat-case-sheet>span,.cat-case-sheet dt,.cw-risk-reference,.cw-risk-source,.cw-jurisdiction span,.of-region span,.of-summary span,.ocl-frame span,.lp-source,.lp-source a,.lp-related-kicker,.ab-hero-caption){font-size:12px}
}
/* A link to a page that is only in English says so, quietly (translation audit A25): in the link's own colour, not bold,
   a little smaller, and inline-block so the link's underline does not run under it. The space before it is its own
   inline-block for the same reason; a margin instead would go with a cue that wraps and set it in from the words. The
   last word holds on to that space, so the line breaks after it, not before (src/i18n/page-text.mjs). These spans only
   hold the cue in place: a component's rule for the spans in its links (".x a span") must not restyle them. */
.lang-cue{display:inline-block;font-weight:400;font-size:.875em;letter-spacing:0;text-transform:none;white-space:nowrap}
:is(.lang-cue-run,.lang-cue-glue){display:inline!important;margin:0!important;padding:0!important;border:0!important;background:none!important;font:inherit!important;color:inherit!important;letter-spacing:inherit!important;text-transform:inherit!important}
.lang-cue-glue{white-space:nowrap!important}
.lang-cue-gap{display:inline-block!important;margin:0!important;padding:0!important;font:inherit!important;white-space:pre!important}
.lang-cue-note{margin:0 0 .75em}
/* The menu bar's own labels are the menu's headings; the links in each menu say which pages are in English. The bar has
   no width to spare (public/styles/languages.css sizes it for each edition): a visible cue there pushed the language
   switcher out of it on narrower laptop screens. There it is for screen readers only. */
.site-navigation .sn-top-link :is(.lang-cue-gap,.lang-cue){position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
