@font-face {
    font-family: Manrope;
    src: url('/fonts/manrope-variable.woff2') format('woff2');
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

:root {
    color-scheme: light;
    --surface: #dedfe8;
    --paper: #f3f3f8;
    --ink: #253044;
    --muted: #586175;
    --accent: #526b9e;
    --line: #c5c7d3;
    --control-line: #777f92;
    --shadow-raised: 16px 18px 34px #bec0cd, -16px -16px 34px #fafaff;
    --shadow-small: 6px 7px 13px #b9bdca, -6px -6px 13px #fafaff;
    --shadow-inset: inset 6px 6px 12px #bfc2cf, inset -6px -6px 12px #fafaff;
    --radius: 26px;
    font-family: Manrope, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--surface);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 36px; }
body { margin: 0; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
svg { display: block; }
[hidden] { display: none !important; }
::selection { background: #c4d2ed; color: #18263f; }
:focus-visible { outline: 3px solid #385b98; outline-offset: 5px; }
main:focus { outline: none; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 650; letter-spacing: -.055em; }
h2 { font-size: clamp(32px, 3.4vw, 49px); line-height: 1.17; }
h3 { letter-spacing: -.035em; }
.page-width { width: min(1140px, calc(100% - 112px)); margin-inline: auto; }
.section-space { padding-block: 82px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 750; letter-spacing: .16em; line-height: 1.6; color: var(--muted); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #57796c; box-shadow: 0 0 0 5px #dde4e7; display: inline-block; flex-shrink: 0; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 24px; padding: 14px 22px; background: var(--ink); color: white; border-radius: 10px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 112px; }
.brand-link { display: inline-flex; align-items: center; gap: 9px; border-radius: 6px; width: fit-content; flex-shrink: 0; }
.brand-mark { fill: currentColor; color: var(--ink); flex-shrink: 0; }
.brand-mark .logo-core { fill: var(--accent); }
.brand-wordmark { display: block; width: 150px; height: auto; }
.brand-mark g { transition: transform 220ms ease; }
.js .brand-mark .logo-upper { transform: translateX(-2px); }
.js .brand-mark .logo-lower { transform: translateX(2px); }
.js .brand-link:is(:hover, :focus-visible, :active) .brand-mark g { transform: translate(0); }
.primary-navigation { display: flex; align-items: center; gap: 33px; }
.primary-navigation > a:not(.button) { font-size: 13px; font-weight: 600; padding-block: 12px; }
.primary-navigation > a:not(.button):hover { color: #405b90; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 55px; padding: 17px 24px; border: 1px solid transparent; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-small); color: var(--ink); font-size: 13px; font-weight: 750; line-height: 1.5; transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease; cursor: pointer; }
.button:hover { background: #e3e4ed; box-shadow: 8px 9px 17px #b9bdca, -8px -8px 17px #fafaff; }
.button:active, .button[aria-pressed='true'] { box-shadow: var(--shadow-inset); transform: translateY(1px); }
.button-primary { min-height: 60px; padding-inline: 30px; color: var(--ink); box-shadow: 7px 9px 15px #b6bac8, -7px -7px 15px #fff; }
.button-primary:hover { background: #e6e7ef; }
.button-small { min-height: 45px; padding: 12px 18px; font-size: 12px; gap: 18px; }
.arrow-icon { flex-shrink: 0; }
.text-link { display: inline-flex; align-items: center; gap: 15px; width: fit-content; padding-block: 10px; font-size: 12px; font-weight: 750; line-height: 1.7; }
.text-link:hover { color: #405b90; }
.text-link > span { font-size: 19px; font-weight: 400; }
.menu-toggle { display: none; }

.hero { min-height: 560px; display: grid; place-items: center; padding: 65px 60px; margin-top: 20px; margin-bottom: 20px; border-radius: 36px; background: var(--surface); box-shadow: var(--shadow-raised); }
.hero-copy { width: 100%; max-width: 920px; text-align: center; }
.hero-copy > .eyebrow { width: fit-content; max-width: 100%; margin: 0 auto 30px; padding: 13px 23px; border-radius: 30px; box-shadow: inset 3px 3px 7px #c0c3d0, inset -3px -3px 7px #f9f9ff; font-size: 10px; letter-spacing: .12em; }
h1 { font-size: clamp(46px, 5.2vw, 74px); line-height: 1.13; }
h1 span, .about-heading h2 span { color: var(--muted); }
.hero-intro { font-size: 16px; line-height: 1.9; max-width: 560px; margin: 26px auto 0; color: var(--muted); }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 30px; margin-top: 33px; flex-wrap: wrap; }
.hero-actions .text-link .arrow-icon { transform: rotate(90deg); }

.competence-section { padding-top: 96px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; margin-bottom: 39px; }
.section-heading .eyebrow, .about-heading .eyebrow { margin-bottom: 19px; }
.section-heading > p { font-size: 13px; line-height: 1.9; color: var(--muted); padding-bottom: 3px; }
.competence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 14px 20px; border-radius: 30px; box-shadow: var(--shadow-inset); }
.competence-card { padding: 33px 30px; }
.competence-card:nth-child(odd) { border-right: 1px solid var(--line); }
.competence-card:nth-child(n+3) { border-top: 1px solid var(--line); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 27px; }
.competence-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-small); color: #566586; }
.competence-icon svg { width: 31px; height: 31px; }
.card-number { color: var(--muted); font-size: 11px; font-weight: 650; }
.competence-card h3 { font-size: 23px; font-weight: 750; margin-bottom: 15px; }
.competence-card > p { font-size: 14px; line-height: 1.9; color: var(--muted); min-height: 80px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 22px; }
.card-tags span { font-size: 10px; font-weight: 650; color: var(--muted); }

.about-section { display: grid; grid-template-columns: 1.1fr 1fr; gap: 110px; border-bottom: 1px solid var(--line); padding-top: 57px; }
.about-heading h2 { font-size: clamp(31px, 3vw, 43px); }
.about-copy { padding-top: 37px; }
.about-copy p { font-size: 14px; line-height: 1.95; color: var(--muted); margin-bottom: 18px; }
.about-copy .text-link { margin-top: 3px; }
.collaboration-panel { background: var(--surface); border-radius: 33px; box-shadow: var(--shadow-raised); padding: 53px 55px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.collaboration-heading .eyebrow { margin-bottom: 23px; }
.collaboration-heading h2 { font-size: clamp(38px, 4vw, 58px); }
.collaboration-heading h2 span { color: var(--accent); }
.collaboration-heading > p:last-child { margin-top: 24px; color: var(--muted); font-size: 12px; line-height: 1.95; }
.collaboration-options { display: flex; flex-direction: column; justify-content: center; }
.collaboration-options article { display: flex; gap: 18px; padding-block: 24px; }
.collaboration-options article + article { border-top: 1px solid #c9d2e0; }
.option-index { padding-top: 3px; font-size: 10px; font-weight: 700; color: var(--muted); }
.collaboration-options h3 { font-size: 16px; font-weight: 750; margin-bottom: 9px; }
.collaboration-options p { font-size: 12px; line-height: 1.9; color: var(--muted); }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 30px; padding-block: 10px 37px; }
.site-footer .brand-mark { width: 31px; height: 31px; }
.site-footer .brand-wordmark { width: 120px; }
.site-footer p, .footer-note { font-size: 10px; color: var(--muted); line-height: 1.8; }
.site-footer p { margin-top: 12px; }
.footer-links { display: flex; align-items: flex-start; gap: 26px; padding-top: 13px; font-size: 11px; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-note { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid var(--line); }

.design-intro { max-width: 730px; padding-block: 65px 35px; }
.design-intro h1 { margin-block: 20px; font-size: clamp(40px, 5vw, 68px); }
.design-intro p:not(.eyebrow) { color: var(--muted); line-height: 1.9; }
.design-section { padding-block: 45px; }
.design-section > h2 { font-size: 32px; margin-bottom: 27px; }
.concept-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.concept-card { padding: 29px; border-radius: var(--radius); box-shadow: var(--shadow-raised); border: 1px solid transparent; }
.concept-preview { display: grid; place-items: center; height: 180px; margin-bottom: 25px; border-radius: 18px; box-shadow: var(--shadow-inset); }
.concept-preview img { width: 90px; height: 90px; }
.concept-card h3 { font-size: 21px; margin-bottom: 12px; }
.concept-card p { font-size: 13px; line-height: 1.9; color: var(--muted); }
.concept-card .text-link { margin-top: 14px; }
.recommendation { font-size: 10px; letter-spacing: .06em; color: #365d4e; font-weight: 750; display: inline-block; margin-bottom: 14px; }
.design-components { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; }
.component-panel { padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow-raised); border: 1px solid transparent; }
.component-panel h3 { font-size: 20px; margin-bottom: 25px; }
.component-panel .button { margin: 0 16px 25px 0; }
.component-panel > p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.field { display: grid; gap: 10px; margin-block: 22px; }
.field label { font-size: 13px; font-weight: 700; }
.field input { width: 100%; min-height: 50px; padding: 14px 16px; border: 1px solid var(--control-line); border-radius: 11px; background: var(--surface); box-shadow: var(--shadow-inset); color: var(--ink); font-size: 14px; }
.field input::placeholder { color: #52627c; }
.field input[aria-invalid='true'] { border: 2px solid #a34550; }
.field-error { font-size: 12px; color: #8d2637; }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.swatch { min-width: 0; }
.swatch-sample { height: 95px; border-radius: 16px; border: 1px solid #c5cddc; margin-bottom: 12px; }
.swatch strong, .swatch code { display: block; font-size: 12px; line-height: 1.8; }
.swatch code { color: var(--muted); }
.swatch-surface { background: var(--surface); }.swatch-paper { background: var(--paper); }.swatch-ink { background: var(--ink); }.swatch-muted { background: var(--muted); }.swatch-accent { background: var(--accent); }
.brand-example { margin-bottom: 26px; }
.button-examples { margin-top: 26px; }
.asset-links { display: grid; gap: 12px; margin-top: 25px; font-size: 13px; line-height: 1.8; }
.asset-links a { text-decoration: underline; text-underline-offset: 4px; width: fit-content; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.concept-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 28px; }
.concept-section-heading h2 { font-size: 32px; max-width: 520px; }
.concept-section-heading p { color: var(--muted); font-size: 12px; line-height: 1.9; max-width: 280px; }
.concept-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.concept-number { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.concept-current { color: var(--muted); font-size: 9px; letter-spacing: .08em; font-weight: 700; }
.concept-lockup { display: block; width: min(100%, 272px); height: auto; margin: 20px auto 33px; }
.concept-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.concept-actions button { border: 0; background: none; text-align: left; cursor: pointer; padding-inline: 0; }
.logo-comparison { border: 1px solid transparent; border-radius: 28px; box-shadow: var(--shadow-raised); margin-block: 20px 45px; overflow: visible; scroll-margin-top: 26px; }
.comparison-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; }
.comparison-toolbar .eyebrow { font-size: 9px; }
.comparison-themes { display: flex; gap: 5px; padding: 5px; border-radius: 12px; box-shadow: var(--shadow-inset); }
.comparison-themes button { min-width: 65px; min-height: 36px; border: 1px solid transparent; border-radius: 8px; background: none; font-size: 11px; font-weight: 750; cursor: pointer; }
.comparison-themes button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.comparison-body { display: grid; grid-template-columns: 1.25fr 1fr; }
.logo-stage { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 32px; min-height: 310px; background: var(--paper); color: var(--muted); padding: 28px 34px; border-block: 1px solid #d6deeb; }
.stage-label { align-self: flex-start; font-size: 9px; letter-spacing: .15em; font-weight: 650; line-height: 1.8; }
.logo-stage > img { width: min(100%, 360px); height: auto; }
.logo-scale { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid #c8d0df; width: 100%; font-size: 10px; }
.logo-scale img { width: 32px; height: 32px; }
.logo-comparison[data-theme='dark'] .logo-stage { background: #253044; color: #d4deed; border-color: #253044; }
.logo-comparison[data-theme='dark'] .logo-scale { border-color: #647591; }
.comparison-description { padding: 27px 29px; }
.comparison-number { font-size: 10px; color: var(--muted); font-weight: 750; letter-spacing: .1em; }
.comparison-description h2 { font-size: 34px; margin-block: 13px 18px; }
.comparison-description > p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.comparison-downloads { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 21px; }
.comparison-downloads a { text-decoration: underline; text-underline-offset: 4px; font-size: 11px; font-weight: 700; padding-block: 6px; }
.comparison-description > .comparison-note { margin-top: 20px; font-size: 10px; }
.concept-selector { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; padding: 22px 25px; }
.concept-selector button { display: flex; align-items: center; flex-direction: column; justify-content: center; min-height: 84px; gap: 7px; padding: 8px 4px; border: 1px solid #c2ccdc; border-radius: 12px; background: var(--surface); color: var(--muted); font-size: 9px; font-weight: 750; cursor: pointer; }
.concept-selector button img { width: 36px; height: 36px; }
.concept-selector button:hover { background: var(--paper); }
.concept-selector button[aria-pressed='true'] { border: 2px solid #526b9e; box-shadow: var(--shadow-inset); color: var(--ink); background: #f1f4f9; }

.primary-navigation a[aria-current='page'] { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.competence-card > .text-link { margin-top: 19px; }
.collaboration-options h3 a { display: inline; line-height: 1.7; text-underline-offset: 5px; }
.collaboration-options h3 a:hover { text-decoration: underline; }
.collaboration-options h3 a span { margin-left: 7px; color: var(--accent); }
.inner-page { padding-bottom: 90px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 28px; font-size: 11px; line-height: 1.8; color: var(--muted); }
.breadcrumb a { padding-block: 8px; text-decoration: underline; text-underline-offset: 4px; }
.page-intro { max-width: 880px; padding-block: 49px 64px; }
.page-intro > .eyebrow { margin-bottom: 23px; }
.page-intro h1 { font-size: clamp(38px, 4.7vw, 66px); overflow-wrap: anywhere; }
.page-lead { max-width: 740px; margin-top: 27px; font-size: 17px; color: var(--muted); line-height: 1.95; }
.page-intro > .button { margin-top: 30px; }
.service-index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px 20px; border-radius: 30px; box-shadow: var(--shadow-inset); }
.service-index-item { padding: 35px 30px; }
.service-index-item:nth-child(odd) { border-right: 1px solid var(--line); }
.service-index-item:nth-child(n+3) { border-top: 1px solid var(--line); }
.service-index-item h2 { font-size: 28px; letter-spacing: -.04em; overflow-wrap: anywhere; }
.service-index-item h2 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.service-index-item p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-block: 20px; }
.content-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 55px; }
.content-section { padding: 37px 0; }
.content-section .eyebrow { margin-bottom: 19px; }
.content-section h2 { font-size: 36px; }
.inset-section { padding: 37px; border-radius: 28px; box-shadow: var(--shadow-inset); }
.content-list { margin: 28px 0 0; padding-left: 21px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.content-list li { padding-left: 8px; }
.content-list li + li { margin-top: 21px; }
.content-list li::marker { color: var(--accent); }
.specialty-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 25px; padding: 0; margin: 26px 0 0; font-size: 12px; color: var(--muted); font-weight: 650; }
.specialty-list li { padding-left: 14px; border-left: 2px solid var(--accent); }
.detail-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 67px; margin-bottom: 35px; padding: 43px; border-radius: 30px; box-shadow: var(--shadow-raised); }
.detail-cta > div { max-width: 590px; }
.detail-cta .eyebrow { margin-bottom: 18px; }
.detail-cta h2 { font-size: 33px; }
.detail-cta p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.detail-cta > .button { flex-shrink: 0; max-width: 100%; gap: 16px; padding-inline: 22px; }
.editorial-section { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; border-top: 1px solid var(--line); padding-top: 50px; }
.editorial-section h2 { font-size: 36px; }
.editorial-section h2 span { color: var(--muted); }
.prose { max-width: 640px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.prose p + p { margin-top: 22px; }
.contact-intents { display: flex; gap: 10px; width: fit-content; max-width: 100%; padding: 8px; margin-bottom: 43px; border-radius: 19px; box-shadow: var(--shadow-inset); }
.contact-intents a { padding: 16px 21px; border-radius: 12px; border: 1px solid transparent; font-size: 12px; font-weight: 700; line-height: 1.6; }
.contact-intents a[aria-current='page'] { background: var(--surface); box-shadow: var(--shadow-small); text-decoration: underline; text-underline-offset: 5px; }
.contact-intents a:hover { background: var(--paper); }
.contact-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; padding: 45px; border-radius: 30px; box-shadow: var(--shadow-raised); }
.contact-panel .eyebrow { margin-bottom: 20px; }
.contact-panel h2 { font-size: 36px; margin-bottom: 24px; }
.contact-panel p:not(.eyebrow) { font-size: 14px; line-height: 1.9; color: var(--muted); }
.contact-panel .contact-context { font-weight: 750; margin-bottom: 12px; color: var(--ink); }
.enquiry-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(240px, 1fr); gap: clamp(36px, 5vw, 90px); align-items: start; }
.enquiry-panel { padding: clamp(25px, 3.2vw, 49px); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-raised); }
.enquiry-panel h2 { font-size: clamp(27px, 3vw, 37px); }
.enquiry-intro { color: var(--muted); font-size: 14px; line-height: 1.9; margin-block: 19px 22px; }
.local-preview-note { font-size: 12px; line-height: 1.7; border-left: 3px solid var(--muted); padding-left: 13px; margin-bottom: 27px; }
.field-requirement { font-size: 12px; line-height: 1.7; margin-bottom: 24px; }
.enquiry-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 25px 21px; }
.enquiry-field { min-width: 0; }
.enquiry-field-wide { grid-column: 1 / -1; }
.enquiry-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.enquiry-field label span { font-weight: 450; font-size: 11px; margin-left: 5px; color: var(--muted); }
.enquiry-field input, .enquiry-field textarea, .enquiry-field select { width: 100%; min-height: 49px; border: 1px solid var(--control-line); border-radius: 12px; padding: 13px 15px; background: var(--surface); box-shadow: inset 4px 4px 8px #bdc0ce, inset -4px -4px 8px #f8f9ff; color: var(--ink); font: inherit; font-size: 15px; }
.enquiry-field textarea { resize: vertical; line-height: 1.7; }
.enquiry-field input:focus, .enquiry-field textarea:focus, .enquiry-field select:focus { outline: 2px solid #425a86; outline-offset: 4px; }
.enquiry-field [aria-invalid='true'] { border: 2px solid #90353c; }
.enquiry-field .field-validation-error { display: block; margin-top: 10px; color: #802d35; font-size: 12px; line-height: 1.6; }
.field-hint { font-size: 12px; color: var(--muted); line-height: 1.8; margin-top: 11px; }
.enquiry-privacy { margin-block: 25px; font-size: 12px; line-height: 1.9; }
.enquiry-privacy summary { cursor: pointer; text-decoration: underline; text-underline-offset: 4px; padding-block: 9px; }
.enquiry-privacy p { margin-top: 12px; }
.enquiry-submit-note { margin-top: 18px; }
.enquiry-aside { padding-top: 25px; }
.enquiry-aside h2 { font-size: clamp(28px, 3.2vw, 39px); }
.enquiry-next-steps { list-style: none; counter-reset: enquiry-step; margin-top: 29px; }
.enquiry-next-steps li { counter-increment: enquiry-step; position: relative; padding: 23px 0 23px 39px; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.9; }
.enquiry-next-steps li::before { content: '0' counter(enquiry-step); position: absolute; left: 0; top: 23px; color: var(--muted); font-size: 11px; }
.enquiry-next-steps p { color: var(--muted); margin-top: 6px; }
.enquiry-direct { margin-top: 27px; font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.enquiry-direct a { margin-top: 15px; }
.enquiry-errors { margin-block: 20px 25px; padding: 21px; border: 2px solid #90353c; border-radius: 13px; color: #682c34; scroll-margin-top: 25px; }
.enquiry-errors h3 { font-size: 17px; margin-bottom: 12px; }
.enquiry-errors ul { padding-left: 20px; font-size: 13px; line-height: 1.9; }
.enquiry-errors a { text-decoration: underline; text-underline-offset: 3px; }
.receipt-intro .button { margin-top: 32px; }
@media (max-width: 850px) { .enquiry-layout { grid-template-columns: 1fr; }.enquiry-aside { max-width: 580px; padding-inline: 10px; } }
@media (max-width: 620px) { .enquiry-fields { grid-template-columns: 1fr; }.enquiry-panel { padding: 28px 22px; }.enquiry-panel form > .button { width: 100%; }.enquiry-field input, .enquiry-field textarea, .enquiry-field select { font-size: 16px; } }
.contact-channels { align-self: center; }
.contact-channels h3 { margin-bottom: 17px; font-size: 20px; }
.contact-channels .contact-address { margin-top: 16px; overflow-wrap: anywhere; }
.contact-channels .contact-note { margin-top: 23px; font-size: 11px; }
.contact-person { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; margin-top: 60px; padding-top: 37px; border-top: 1px solid var(--line); }
.contact-person .eyebrow { margin-bottom: 18px; }
.contact-person h2 { font-size: clamp(27px, 3vw, 38px); }
.contact-person-role { margin-top: 12px; font-size: 13px; font-weight: 650; color: var(--muted); }
.contact-person-details { display: flex; flex-direction: column; align-items: flex-start; font-size: 14px; line-height: 1.9; }
.contact-person-details p { color: var(--muted); margin-bottom: 12px; }
.contact-person-details a { padding-block: 7px; text-decoration: underline; text-underline-offset: 5px; overflow-wrap: anywhere; max-width: 100%; }
.contact-person-details a:hover { color: #405b90; }
@media (max-width: 950px) {
    .detail-cta { align-items: flex-start; flex-direction: column; gap: 28px; }
    .editorial-section, .content-columns, .contact-panel { gap: 38px; }
    .contact-panel { padding: 34px; }
    .service-index-item { padding-inline: 22px; }
}
@media (max-width: 620px) {
    .inner-page { padding-bottom: 58px; }
    .breadcrumb { padding-top: 16px; }
    .page-intro { padding-block: 32px 39px; }
    .page-intro h1 { font-size: clamp(24px, 7.7vw, 44px); }
    .page-lead { font-size: 15px; margin-top: 23px; }
    .content-columns, .editorial-section, .contact-panel, .contact-person { grid-template-columns: 1fr; gap: 30px; }
    .content-section { padding: 16px 0; }
    .content-section h2, .editorial-section h2, .contact-panel h2 { font-size: 31px; }
    .inset-section { padding: 29px 25px; }
    .content-list { font-size: 13px; margin-top: 23px; }
    .editorial-section { padding-top: 35px; }
    .prose { font-size: 14px; }
    .detail-cta { padding: 30px 25px; margin-top: 43px; border-radius: 26px; }
    .detail-cta h2 { font-size: 29px; }
    .detail-cta p:not(.eyebrow) { font-size: 13px; }
    .detail-cta > .button { width: 100%; font-size: 12px; padding-inline: 14px; }
    .service-index-grid { grid-template-columns: 1fr; padding: 8px 24px; }
    .service-index-item { padding: 27px 0; }
    .service-index-item:nth-child(odd) { border-right: 0; }
    .service-index-item + .service-index-item { border-top: 1px solid var(--line); }
    .service-index-item h2 { font-size: 25px; }
    .service-index-item p { font-size: 13px; }
    .contact-intents { flex-direction: column; width: 100%; gap: 6px; margin-bottom: 32px; }
    .contact-intents a { text-align: center; padding: 15px 12px; }
    .contact-panel { padding: 31px 25px; border-radius: 26px; }
    .contact-panel p:not(.eyebrow) { font-size: 13px; }
    .contact-channels { border-top: 1px solid var(--line); padding-top: 27px; }
}
@media (forced-colors: active) {
    .inset-section, .service-index-grid, .detail-cta, .contact-panel, .contact-intents { border: 1px solid CanvasText; }
    .contact-intents a[aria-current='page'] { border-color: CanvasText; }
}

@media (min-width: 1500px) { h1 { font-size: 71px; } }
@media (max-width: 1150px) {
    .page-width { width: calc(100% - 72px); }
    .primary-navigation { gap: 22px; }
    .hero { min-height: 540px; padding-inline: 40px; }
    h1 { font-size: 62px; }
    .hero-actions { gap: 14px; }
    .hero-actions .button { font-size: 12px; padding-inline: 18px; }
    .hero-actions .text-link { font-size: 11px; }
    .competence-grid { padding-inline: 15px; }
    .competence-card { padding: 24px 21px; }
    .competence-card h3 { font-size: 21px; }
    .about-section { gap: 60px; }
    .collaboration-panel { padding: 43px; gap: 45px; }
}
@media (max-width: 850px) {
    .comparison-body { grid-template-columns: 1fr 1fr; }
    .logo-stage { padding-inline: 22px; }
    .comparison-description { padding: 24px 22px; }
    .concept-selector { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .page-width { width: calc(100% - 48px); }
    .site-header { min-height: 91px; flex-wrap: wrap; gap: 18px; padding-block: 22px; }
    .brand-mark { width: 35px; height: 35px; }.brand-wordmark { width: 136px; }
    .primary-navigation { width: 100%; justify-content: space-between; gap: 12px; padding-block: 14px 4px; }
    .primary-navigation > a:not(.button) { font-size: 12px; }
    .js .primary-navigation[data-open='false'] { display: none; }
    .menu-toggle { display: flex; align-items: center; gap: 13px; min-height: 42px; padding: 10px 14px; border: 1px solid transparent; border-radius: 11px; background: var(--surface); box-shadow: var(--shadow-small); font-size: 11px; font-weight: 700; cursor: pointer; }
    .menu-lines { width: 14px; height: 8px; border-top: 1.5px solid; border-bottom: 1.5px solid; }
    .hero { padding: 50px 30px; min-height: 500px; border-radius: 30px; }
    h1 { font-size: 53px; }
    .hero-copy > .eyebrow { font-size: 9px; margin-bottom: 26px; }
    .hero-intro { font-size: 15px; margin-top: 22px; }
    .hero-actions { margin-top: 25px; }
    .section-space { padding-block: 59px; }
    .section-heading { align-items: flex-start; }
    .section-heading > p { max-width: 230px; font-size: 11px; padding-top: 35px; }
    .competence-grid { padding: 10px; }.competence-card { padding: 27px 22px; }
    .card-top { margin-bottom: 29px; }.competence-icon { width: 45px; height: 45px; }
    .competence-card h3 { font-size: 19px; }.competence-card > p { font-size: 13px; min-height: 100px; }
    .card-tags { margin-top: 17px; }.card-tags span { font-size: 9px; }
    .about-section { gap: 35px; }.about-copy p { font-size: 12px; }
    .collaboration-panel { gap: 30px; padding: 34px; }
    .collaboration-options h3 { font-size: 14px; }
    .collaboration-options p { font-size: 11px; }
    .concept-grid { gap: 18px; }.concept-card { padding: 21px; }.concept-preview { height: 140px; }
}
@media (max-width: 620px) {
    :root { --shadow-raised: 9px 11px 23px #bec0cd, -9px -9px 23px #fafaff; --shadow-small: 4px 5px 10px #b9bdca, -4px -4px 10px #fafaff; }
    .comparison-toolbar { align-items: flex-start; flex-direction: column; padding: 21px; }
    .comparison-body { grid-template-columns: 1fr; }
    .logo-stage { min-height: 245px; padding: 25px 21px; gap: 25px; }
    .stage-label { font-size: 8px; }
    .comparison-description { padding: 26px 23px; }
    .comparison-description h2 { font-size: 31px; }
    .concept-selector { gap: 7px; padding: 17px; }
    .concept-selector button { min-height: 72px; }
    .concept-selector button img { width: 32px; height: 32px; }
    .concept-section-heading { display: block; }
    .concept-section-heading p { margin-top: 18px; max-width: none; }
    .concept-actions .text-link { font-size: 11px; }
    html { scroll-padding-top: 22px; }
    .site-header { min-height: 82px; padding-block: 19px; }
    .primary-navigation { flex-wrap: wrap; gap: 8px 20px; padding-top: 18px; }
    .primary-navigation > a:not(.button) { min-height: 44px; font-size: 13px; }
    .header-contact { width: 100%; margin-top: 6px; }
    .hero { min-height: 0; padding: 38px 24px 34px; margin-top: 14px; border-radius: 26px; }
    .hero-copy > .eyebrow { font-size: 8px; margin-bottom: 25px; letter-spacing: .06em; padding: 12px 15px; }
    h1 { font-size: clamp(32px, 8vw, 46px); line-height: 1.16; letter-spacing: -.05em; }
    .hero-intro { max-width: 460px; font-size: 14px; line-height: 1.85; margin-top: 23px; }
    .hero-actions { flex-direction: column; margin-top: 28px; gap: 15px; }
    .hero-actions .button { width: 100%; max-width: 310px; font-size: 12px; min-height: 54px; gap: 19px; }
    .hero-actions .text-link { font-size: 11px; }
    .section-space { padding-block: 49px; }
    .section-heading { display: block; margin-bottom: 30px; }
    h2 { font-size: 32px; }.section-heading > p { max-width: none; padding-top: 21px; font-size: 12px; }
    .section-heading > p br { display: none; }
    .competence-grid { grid-template-columns: 1fr; padding: 8px 20px; }
    .competence-card { padding: 29px 5px; }.card-top { margin-bottom: 25px; }
    .competence-card:nth-child(odd) { border-right: 0; }
    .competence-card + .competence-card { border-top: 1px solid var(--line); }
    .competence-icon { width: 51px; height: 51px; }.competence-card h3 { font-size: 21px; }
    .competence-card > p { font-size: 13px; min-height: 0; }.card-tags span { font-size: 9px; }
    .card-tags { margin-top: 23px; padding-top: 18px; }.card-number { font-size: 12px; }
    .about-section { grid-template-columns: 1fr; gap: 0; padding-top: 20px; }.about-copy { padding-top: 26px; }.about-copy p { font-size: 13px; }
    .collaboration-panel { grid-template-columns: 1fr; padding: 32px 26px; gap: 25px; border-radius: 26px; }
    .collaboration-heading h2 { font-size: 44px; }.collaboration-heading > p:last-child { font-size: 12px; }.collaboration-heading > p:last-child br { display: none; }
    .collaboration-options article { padding-block: 23px; }.collaboration-options h3 { font-size: 16px; }.collaboration-options p { font-size: 12px; }
    .site-footer { grid-template-columns: 1fr; gap: 25px; padding-bottom: 24px; }
    .footer-links { flex-wrap: wrap; padding: 0; gap: 13px 23px; }.footer-links a { padding-block: 7px; }
    .footer-note { margin-top: 2px; padding-top: 20px; }
    .design-intro { padding-top: 35px; }.design-intro h1 { font-size: 43px; }
    .concept-grid, .design-components { grid-template-columns: 1fr; gap: 28px; }
    .concept-preview { height: 180px; }.concept-card, .component-panel { padding: 25px; }
    .swatches { grid-template-columns: repeat(2, 1fr); }.swatch-sample { height: 80px; }
}
@media (max-width: 360px) {
    .site-header { gap: 12px; }
    .site-header .brand-wordmark { width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .brand-mark g, .button:active { transform: none !important; }
}
@media (forced-colors: active) {
    .button, .competence-card, .collaboration-panel, .competence-icon, .field input, .hero { border: 1px solid CanvasText; }
    .status-dot { background: CanvasText; }
}

/* Internal account access shares the approved surface and inset controls. */
.internal-body { min-height: 100svh; display: flex; flex-direction: column; }
.internal-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px; }
.internal-back { font-size: 12px; color: var(--muted); padding-block: 14px; text-underline-offset: 5px; }
.internal-back:hover { text-decoration: underline; }
.internal-main { flex: 1; display: grid; place-items: center; width: 100%; padding: 32px 24px 64px; }
.identity-panel { width: 100%; max-width: 448px; padding: 38px; border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-raised); }
.identity-emblem { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 28px; border-radius: 50%; color: var(--muted); box-shadow: var(--shadow-small); }
.identity-emblem svg { width: 30px; height: 30px; }
.identity-panel > .eyebrow { display: block; text-align: center; font-size: 9px; letter-spacing: .14em; margin-bottom: 14px; }
.identity-panel h1 { font-size: 29px; line-height: 1.25; letter-spacing: -.045em; text-align: center; }
.identity-intro { margin-block: 15px 28px; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.9; }
.identity-panel .enquiry-field { margin-top: 20px; }
.identity-panel .enquiry-field label { font-size: 12px; }
.identity-panel .enquiry-field input { width: 100%; font-size: 16px; min-height: 52px; }
.identity-submit { width: 100%; margin-top: 28px; justify-content: center; }
.identity-panel .identity-code { letter-spacing: .22em; font-size: 23px; text-align: center; }
.identity-note { color: var(--muted); font-size: 11px; line-height: 1.9; text-align: center; margin-top: 23px; }
.identity-help { color: var(--muted); font-size: 11px; line-height: 1.9; margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.identity-help summary { cursor: pointer; padding-block: 9px; }
.identity-help p { padding-top: 9px; }
.identity-secondary, .identity-start-over { display: block; text-align: center; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; padding-block: 13px; }
.identity-secondary { margin-top: 18px; }
.identity-start-over { color: var(--muted); font-size: 11px; }
.internal-footer { color: var(--muted); text-align: center; font-size: 10px; letter-spacing: .07em; padding: 10px 24px 28px; }
.internal-footer .status-dot { margin-right: 9px; }
.identity-panel .enquiry-errors { font-size: 12px; line-height: 1.9; padding: 16px; }
.identity-account { max-width: 520px; }
.identity-account-details { margin-top: 25px; }
.identity-account-details > div { padding-block: 18px; border-bottom: 1px solid var(--line); }
.identity-account-details dt { font-size: 10px; color: var(--muted); margin-bottom: 8px; }
.identity-account-details dd { font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.identity-account-details .status-dot { margin-right: 8px; }
@media (max-width: 620px) {
    .internal-header { padding-block: 21px; gap: 12px; }
    .internal-header .brand-wordmark { width: 111px; }
    .internal-header .brand-mark { width: 30px; height: 30px; }
    .internal-back { font-size: 10px; }
    .internal-main { padding: 23px 22px 42px; }
    .identity-panel { padding: 29px 23px; border-radius: 26px; }
    .identity-panel h1 { font-size: 27px; }
    .identity-emblem { width: 65px; height: 65px; }
}
@media (forced-colors: active) {
    .identity-panel, .identity-emblem, .identity-panel input { border: 1px solid CanvasText; }
}

/* Owner workspace: the same quiet surfaces, with space for real customer work. */
.internal-workspace-main { display: block; padding: 5px 0 80px; }
.workspace { width: min(1140px, calc(100% - 112px)); margin-inline: auto; }
.workspace-navigation { display: flex; flex-wrap: wrap; gap: 7px; padding: 6px; width: fit-content; max-width: 100%; border-radius: 15px; box-shadow: inset 3px 3px 7px #bfc2cf, inset -3px -3px 7px #fafaff; }
.workspace-navigation a { padding: 12px 19px; min-height: 44px; border-radius: 11px; color: var(--muted); font-size: 12px; font-weight: 650; }
.workspace-navigation a[aria-current='page'] { color: var(--ink); background: var(--surface); box-shadow: 3px 4px 7px #b9bdca, -3px -3px 7px #fafaff; }
.workspace-navigation a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-block: 48px 38px; }
.workspace-heading h1 { font-size: clamp(34px, 4.3vw, 54px); line-height: 1.14; overflow-wrap: anywhere; }
.workspace-heading .eyebrow { margin-bottom: 19px; font-size: 12px; }
.workspace-heading > div > p:last-child:not(.eyebrow) { margin-top: 17px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.workspace-due-link { display: flex; align-items: center; gap: 19px; flex-shrink: 0; border-radius: 22px; padding: 23px 27px; box-shadow: var(--shadow-small); }
.workspace-due-link strong { font-size: 38px; font-weight: 600; letter-spacing: -.06em; }
.workspace-due-link > span { font-size: 12px; font-weight: 700; line-height: 1.8; }
.workspace-due-link small { font-size: 12px; font-weight: 450; color: var(--muted); }
.workspace-due-link > span:last-child { margin-left: 12px; font-size: 23px; font-weight: 450; color: var(--muted); }
.workspace-due-link:hover { background: #e3e4ed; }
.workspace-overview { padding: 29px 32px 24px; border-radius: 27px; box-shadow: var(--shadow-raised); margin-block: 38px 52px; }
.workspace-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.workspace-section-heading h2 { font-size: 20px; line-height: 1.4; letter-spacing: -.035em; }
.workspace-section-heading > p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.workspace-stages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; }
.workspace-stages > div { display: flex; flex-direction: column; gap: 12px; padding: 7px 22px 13px; border-left: 1px solid var(--line); }
.workspace-stages > div:first-child { border-left: 0; padding-left: 0; }
.workspace-stages dt { font-size: 12px; color: var(--muted); }
.workspace-stages dd { margin: 0; font-size: 35px; line-height: 1.2; letter-spacing: -.05em; font-weight: 600; }
.workspace-definition { color: var(--muted); font-size: 12px; line-height: 1.9; max-width: 880px; margin-top: 19px; padding-top: 17px; border-top: 1px solid var(--line); }
.workspace-filters { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 20px 25px; padding-block: 3px 24px; }
.workspace-filters .enquiry-field { width: 210px; }
.workspace-filters .enquiry-field label { font-size: 12px; margin-bottom: 9px; }
.workspace-filters .enquiry-field select { font-size: 13px; }
.workspace-filters .button { margin-bottom: 2px; min-height: 47px; }
.workspace-check { display: flex; align-items: center; gap: 12px; min-height: 49px; cursor: pointer; }
.workspace-check input { width: 21px; height: 21px; margin: 0; accent-color: #485f89; flex: 0 0 21px; cursor: pointer; }
.workspace-check span { color: var(--ink); font-size: 12px; font-weight: 650; line-height: 1.5; }
.workspace-check small { display: block; font-size: 12px; color: var(--muted); font-weight: 450; line-height: 1.8; margin-top: 3px; }
.workspace-reset { font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; padding-block: 17px; }
.workspace-result-count { font-size: 12px; color: var(--muted); margin-block: 8px 14px; }
.workspace-list { border-radius: 24px; padding-inline: 25px; box-shadow: inset 4px 4px 9px #bfc2cf, inset -4px -4px 9px #fafaff; }
.workspace-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(105px, .55fr) minmax(0, 1fr) 45px; align-items: center; column-gap: 24px; padding: 26px 6px; }
.workspace-row + .workspace-row { border-top: 1px solid #c0c4d0; }
.workspace-row p, .workspace-row h3 { overflow-wrap: anywhere; }
.workspace-row-service { color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.workspace-row h3 { font-size: 17px; font-weight: 750; line-height: 1.6; }
.workspace-row h3 a { text-underline-offset: 4px; }
.workspace-row h3 a:hover { text-decoration: underline; }
.workspace-row-customer > p:last-child { font-size: 12px; color: var(--muted); line-height: 1.85; margin-top: 6px; }
.workspace-status { display: inline-block; width: fit-content; max-width: 100%; padding: 7px 12px; border-radius: 8px; background: #d0d7e6; color: #344867; font-size: 12px; font-weight: 750; line-height: 1.6; }
.workspace-status[data-stage='New'] { background: #d3d5e1; color: #49516a; }
.workspace-status[data-stage='Won'] { background: #cbded8; color: #30594d; }
.workspace-status[data-stage='Lost'] { background: #d9d6dc; color: #655867; }
.workspace-status-large { padding: 11px 18px; font-size: 12px; flex-shrink: 0; }
.workspace-row-stage p { color: var(--muted); font-size: 12px; margin-top: 8px; }
.workspace-row-label { display: block; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.workspace-row-next p { font-size: 12px; line-height: 1.7; }
.workspace-follow-up { display: block; font-size: 12px; color: var(--muted); line-height: 1.8; margin-top: 8px; }
.workspace-follow-up.is-due { color: #7c4e24; font-weight: 700; }
.workspace-due-dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: currentColor; }
.workspace-open { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 23px; color: #52607c; box-shadow: 3px 4px 8px #bfc2cf, -3px -3px 8px #fafaff; }
.workspace-open:hover { background: #e6e7ef; }
.workspace-empty { padding: 46px 35px; border-radius: 24px; box-shadow: var(--shadow-inset); text-align: center; }
.workspace-empty-mark { display: grid; place-items: center; margin: 0 auto 20px; width: 53px; height: 53px; border-radius: 50%; box-shadow: var(--shadow-small); font-size: 25px; color: var(--muted); }
.workspace-empty h3 { font-size: 22px; line-height: 1.5; }
.workspace-empty > p { max-width: 510px; margin: 14px auto 0; font-size: 13px; line-height: 1.9; color: var(--muted); }
.workspace-empty .text-link { margin-top: 17px; }
.workspace-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 28px; }
.workspace-pagination p { font-size: 12px; color: var(--muted); }
.workspace-back { margin-top: 26px; font-size: 12px; }
.workspace-detail .workspace-heading { margin-block: 22px 32px; align-items: flex-start; }
.workspace-detail .workspace-heading > div { min-width: 0; }
.workspace-detail .workspace-heading .eyebrow { margin-bottom: 13px; }
.workspace-detail-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 35px; align-items: start; }
.workspace-panel { padding: 32px; border-radius: 27px; box-shadow: var(--shadow-raised); }
.workspace-panel > .eyebrow { font-size: 12px; margin-bottom: 14px; }
.workspace-panel h2 { font-size: 26px; line-height: 1.3; }
.workspace-panel-intro { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.workspace-contact { margin: 27px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 23px 18px; }
.workspace-contact dt { font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.workspace-contact dd { margin: 0; font-size: 12px; line-height: 1.85; overflow-wrap: anywhere; }
.workspace-original { padding-top: 23px; border-top: 1px solid var(--line); }
.workspace-original h3 { font-size: 12px; margin-bottom: 12px; }
.workspace-original p { font-size: 13px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.workspace-notification { padding: 27px 7px; font-size: 12px; line-height: 1.9; color: var(--muted); }
.workspace-notification h2 { font-size: 15px; letter-spacing: -.03em; margin-bottom: 12px; color: var(--ink); }
.workspace-notification-state { color: var(--ink); font-weight: 700; }
.workspace-notification .workspace-small { margin-top: 12px; }
.workspace-edit .enquiry-fields { margin-top: 29px; gap: 24px 20px; }
.workspace-edit .enquiry-field label, .workspace-field-label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.workspace-edit .enquiry-field label span { font-size: 12px; }
.workspace-edit .enquiry-field input, .workspace-edit .enquiry-field select, .workspace-edit .enquiry-field textarea { font-size: 14px; }
.workspace-edit .field-hint { font-size: 12px; }
.workspace-edit .workspace-check { padding-top: 2px; }
.workspace-save { margin-top: 27px; }
.workspace-save .button { width: 100%; }
.workspace-save > p { color: var(--muted); font-size: 12px; text-align: center; margin-top: 18px; line-height: 1.8; }
.workspace-notice { padding: 22px 25px; margin-block: 24px 32px; border-radius: 17px; font-size: 13px; line-height: 1.8; }
.workspace-notice h2 { font-size: 19px; margin-bottom: 10px; letter-spacing: -.03em; }
.workspace-notice-error { border: 2px solid #90353c; color: #682c34; }
.workspace-notice-success { display: flex; gap: 15px; align-items: center; border: 1px solid #628377; color: #30594d; background: #d8e1df; }
.workspace-notice .workspace-small { font-size: 12px; }
.workspace-notice .validation-summary-valid { display: none; }
.workspace-history { margin-top: 56px; }
.workspace-history .workspace-section-heading { align-items: flex-end; }
.workspace-history .workspace-section-heading .eyebrow { font-size: 12px; margin-bottom: 12px; }
.workspace-history .workspace-section-heading h2 { font-size: 26px; }
.workspace-history-empty { border-top: 1px solid var(--line); padding-top: 22px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.workspace-timeline { list-style: none; padding: 0; margin: 25px 0 0; }
.workspace-timeline > li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 35px; padding-block: 25px; border-top: 1px solid var(--line); }
.workspace-history-meta { font-size: 12px; line-height: 1.8; }
.workspace-history-meta span { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.workspace-history-content > p { font-size: 12px; line-height: 1.9; margin-bottom: 11px; overflow-wrap: anywhere; }
.workspace-history-content > p strong { display: block; color: var(--muted); font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.workspace-history-note { padding: 20px 23px; border-radius: 16px; box-shadow: inset 3px 3px 7px #bfc2cf, inset -3px -3px 7px #fafaff; margin-top: 17px; }
.workspace-history-note h3 { font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.workspace-history-note p { font-size: 12px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 1150px) {
    .workspace { width: calc(100% - 72px); }
    .workspace-row { column-gap: 18px; }
    .workspace-detail-grid { gap: 27px; }
    .workspace-panel { padding: 27px; }
    .workspace-contact { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 850px) {
    .workspace { width: calc(100% - 48px); }
    .workspace-heading { gap: 24px; }
    .workspace-due-link { padding: 18px; gap: 12px; }
    .workspace-due-link > span:last-child { display: none; }
    .workspace-stages > div { padding-inline: 16px; }
    .workspace-row { grid-template-columns: minmax(0, 1fr) 115px 44px; }
    .workspace-row-next { grid-column: 1 / 3; display: grid; grid-template-columns: 1fr auto; column-gap: 20px; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; }
    .workspace-row-next .workspace-row-label { grid-column: 1 / -1; }
    .workspace-row-next .workspace-follow-up { margin-top: 0; }
    .workspace-open { grid-column: 3; grid-row: 1; }
    .workspace-detail-grid { grid-template-columns: 1fr; gap: 4px; }
    .workspace-contact { grid-template-columns: 1fr 1fr; }
    .workspace-timeline > li { grid-template-columns: 140px minmax(0, 1fr); gap: 25px; }
}
@media (max-width: 620px) {
    .internal-workspace-main { padding-top: 2px; padding-bottom: 48px; }
    .workspace-navigation { width: 100%; gap: 4px; }
    .workspace-navigation a { text-align: center; flex: 1; padding-inline: 9px; font-size: 12px; }
    .workspace-heading { display: block; margin-block: 33px 26px; }
    .workspace-heading h1 { font-size: clamp(29px, 7.6vw, 43px); }
    .workspace-heading .eyebrow { font-size: 12px; letter-spacing: .11em; gap: 10px; }
    .workspace-heading > div > p:last-child:not(.eyebrow) { font-size: 12px; margin-top: 13px; }
    .workspace-due-link { width: 100%; margin-top: 24px; padding: 16px 23px; border-radius: 18px; gap: 18px; }
    .workspace-due-link strong { font-size: 31px; }
    .workspace-due-link > span:last-child { display: block; margin-left: auto; }
    .workspace-overview { padding: 24px 22px 20px; margin-block: 29px 37px; border-radius: 23px; }
    .workspace-section-heading { flex-wrap: wrap; gap: 7px 15px; margin-bottom: 19px; }
    .workspace-section-heading h2 { font-size: 19px; }
    .workspace-section-heading > p { font-size: 12px; }
    .workspace-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 15px; }
    .workspace-stages > div { gap: 10px; padding: 7px 12px 10px; }
    .workspace-stages > div:nth-child(4) { border-left: 0; padding-left: 0; }
    .workspace-stages dd { font-size: 28px; }
    .workspace-stages dt { font-size: 12px; }
    .workspace-definition { font-size: 12px; margin-top: 13px; line-height: 1.85; }
    .workspace-filters { gap: 14px 24px; }
    .workspace-filters .enquiry-field { width: 100%; }
    .workspace-filters .enquiry-field select { font-size: 16px; }
    .workspace-filters .workspace-check { width: 100%; }
    .workspace-filters .button { flex: 1; }
    .workspace-list { padding-inline: 18px; border-radius: 20px; }
    .workspace-row { grid-template-columns: minmax(0, 1fr) 44px; padding: 22px 0; gap: 0 15px; }
    .workspace-row h3 { font-size: 16px; }
    .workspace-row-customer { grid-column: 1; }
    .workspace-open { grid-column: 2; }
    .workspace-row-stage { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-top: 17px; }
    .workspace-row-stage p { margin-top: 0; }
    .workspace-row-next { grid-column: 1 / -1; display: block; padding-top: 15px; margin-top: 18px; }
    .workspace-row-next .workspace-follow-up { margin-top: 8px; }
    .workspace-empty { padding: 30px 22px; }
    .workspace-empty h3 { font-size: 19px; }
    .workspace-empty > p { font-size: 12px; }
    .workspace-pagination { gap: 15px; }
    .workspace-pagination .button { font-size: 12px; padding: 12px 15px; }
    .workspace-detail .workspace-heading { margin-top: 17px; }
    .workspace-status-large { margin-top: 18px; }
    .workspace-panel { padding: 27px 22px; border-radius: 23px; }
    .workspace-panel h2 { font-size: 24px; }
    .workspace-panel > .eyebrow { font-size: 12px; }
    .workspace-contact { grid-template-columns: 1fr; gap: 17px; }
    .workspace-edit .enquiry-fields { gap: 24px; }
    .workspace-edit .enquiry-field input, .workspace-edit .enquiry-field select, .workspace-edit .enquiry-field textarea { font-size: 16px; min-width: 0; }
    .workspace-edit .workspace-check small { font-size: 12px; }
    .workspace-edit .field-hint { line-height: 1.9; }
    .workspace-save .button { padding-inline: 14px; gap: 18px; font-size: 12px; }
    .workspace-notice { padding: 20px; font-size: 12px; }
    .workspace-notice h2 { font-size: 18px; }
    .workspace-history { margin-top: 40px; }
    .workspace-history .workspace-section-heading h2 { font-size: 24px; }
    .workspace-timeline > li { grid-template-columns: 1fr; gap: 17px; padding-block: 22px; }
    .workspace-history-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
    .workspace-history-meta span { margin-top: 0; }
    .workspace-history-note { padding: 18px; }
}
@media (forced-colors: active) {
    .workspace-navigation, .workspace-navigation a[aria-current='page'], .workspace-due-link, .workspace-overview, .workspace-list, .workspace-panel, .workspace-status, .workspace-open, .workspace-empty, .workspace-history-note { border: 1px solid CanvasText; }
    .workspace-status, .workspace-follow-up.is-due, .workspace-notice { color: CanvasText; }
    .workspace-due-dot { background: CanvasText; }
}

/* Authenticated portal: persistent navigation and a working overview. */
.portal-body { min-height: 100svh; }
.portal-shell { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 100svh; }
.portal-sidebar { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; padding: 37px 24px 26px; border-right: 1px solid #c9cbd7; box-shadow: 8px 0 23px #cdd0db; }
.portal-sidebar-heading .brand-mark { width: 35px; height: 35px; }
.portal-sidebar-heading .brand-wordmark { width: 136px; }
.portal-sidebar-heading > p { margin-top: 18px; padding-left: 4px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.portal-navigation { display: flex; flex-direction: column; gap: 10px; margin-top: 43px; }
.portal-navigation > a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 13px 12px; border: 1px solid transparent; border-radius: 13px; color: var(--muted); font-size: 13px; font-weight: 650; line-height: 1.5; }
.portal-navigation svg, .portal-logout svg, .portal-account-symbol svg { display: block; width: 21px; height: 21px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.portal-navigation > a[aria-current='page'] { color: var(--ink); box-shadow: inset 4px 4px 8px #bfc2cf, inset -4px -4px 8px #fafaff; }
.portal-navigation > a[aria-current='page'] svg { color: #425d8b; }
.portal-navigation > a:hover { background: #e4e5ee; color: var(--ink); }
.portal-sidebar-footer { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 40px; }
.portal-public-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 12px; color: var(--muted); font-size: 12px; }
.portal-public-link > span { font-size: 19px; }
.portal-public-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.portal-logout { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; min-height: 49px; padding: 13px 15px; border: 1px solid transparent; border-radius: 12px; font-size: 12px; font-weight: 700; background: var(--surface); box-shadow: var(--shadow-small); cursor: pointer; }
.portal-logout:hover { background: #e6e7ef; }
.portal-logout:active { box-shadow: var(--shadow-inset); }
.portal-sidebar-footer > p { display: flex; align-items: center; gap: 10px; margin: 18px 7px 0; font-size: 12px; color: var(--muted); }
.portal-content { min-width: 0; display: flex; flex-direction: column; padding-inline: clamp(28px, 3.5vw, 58px); }
.portal-topbar { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 94px; border-bottom: 1px solid var(--line); }
.portal-topbar > p { display: flex; flex-wrap: wrap; gap: 13px; color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: .07em; line-height: 1.8; }
.portal-topbar > p > span { color: #9299ac; font-weight: 400; }
.portal-access { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 20px; font-size: 12px; color: var(--muted); box-shadow: inset 3px 3px 7px #c2c5d2, inset -3px -3px 7px #f7f7fe; }
.portal-main { flex: 1; min-width: 0; width: 100%; max-width: 1280px; margin-inline: auto; padding-block: 40px 54px; }
.portal-main .workspace { width: 100%; }
.portal-main .workspace > .workspace-heading { margin-top: 0; }
.portal-main .workspace-back { margin-top: 0; margin-bottom: 18px; }
.portal-main .workspace-detail > .workspace-heading { margin-top: 0; }
.portal-main .workspace-heading h1, .portal-page-heading h1 { font-size: clamp(36px, 3.5vw, 49px); line-height: 1.2; letter-spacing: -.05em; }
.portal-main .workspace-heading .eyebrow { font-size: 12px; letter-spacing: .09em; }
.portal-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.portal-page-heading > div { min-width: 0; }
.portal-page-heading .eyebrow { margin-bottom: 16px; font-size: 12px; letter-spacing: .09em; }
.portal-page-heading > div > p:last-child:not(.eyebrow) { max-width: 610px; margin-top: 17px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.portal-page-heading > .button { flex-shrink: 0; margin-bottom: 4px; }
.portal-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 23px; }
.portal-metric { display: flex; flex-direction: column; gap: 16px; min-height: 202px; padding: 24px; border-radius: 23px; box-shadow: 9px 11px 21px #c0c3cf, -9px -9px 21px #f9f9ff; }
.portal-metric:hover { background: #e4e5ee; }
.portal-metric-label { display: flex; justify-content: space-between; align-items: flex-start; gap: 9px; font-size: 12px; font-weight: 700; line-height: 1.75; }
.portal-metric-label > span { color: var(--muted); font-size: 17px; line-height: 1.4; font-weight: 450; }
.portal-metric > strong { font-size: 43px; font-weight: 600; line-height: 1.2; letter-spacing: -.055em; }
.portal-metric-note { font-size: 12px; line-height: 1.75; color: var(--muted); margin-top: auto; }
.portal-metric-destination { font-size: 12px; line-height: 1.6; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; margin-top: -7px; }
.portal-metric-due { background: #d7dde5; }
.portal-metric-due > strong { color: #435e77; }
.portal-metrics-definition { margin-top: 20px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.portal-follow-ups { margin-top: 46px; }
.portal-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 23px; }
.portal-section-heading h2 { font-size: 28px; line-height: 1.3; letter-spacing: -.04em; }
.portal-section-heading .eyebrow { margin-bottom: 12px; font-size: 12px; letter-spacing: .08em; }
.portal-section-heading > .text-link { flex-shrink: 0; font-size: 12px; }
.portal-state-panel { padding: 41px 35px; border-radius: 25px; box-shadow: var(--shadow-inset); }
.portal-state-panel h2, .portal-state-panel h3 { font-size: 24px; line-height: 1.5; letter-spacing: -.035em; }
.portal-state-panel > p { max-width: 620px; font-size: 14px; line-height: 1.9; color: var(--muted); margin-top: 14px; }
.portal-state-panel > .text-link { margin-top: 18px; }
.portal-state-mark { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 23px; border-radius: 50%; box-shadow: var(--shadow-small); font-size: 26px; font-weight: 450; color: #526782; }
.portal-follow-ups-empty { padding-block: 31px; }
.portal-due-list { padding: 5px 25px; border-radius: 24px; box-shadow: var(--shadow-inset); }
.portal-due-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 25px; padding: 25px 3px; }
.portal-due-row + .portal-due-row { border-top: 1px solid var(--line); }
.portal-due-row p, .portal-due-row h3, .portal-due-row span { overflow-wrap: anywhere; }
.portal-due-contact > p, .portal-due-contact > span, .portal-due-activity > span { font-size: 12px; color: var(--muted); line-height: 1.8; }
.portal-due-contact h3 { font-size: 16px; line-height: 1.7; margin-block: 6px; }
.portal-due-contact h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.portal-due-activity > p { margin-top: 7px; font-size: 13px; line-height: 1.8; }
.portal-due-activity > .workspace-follow-up { color: #7c4e24; }
.portal-due-action { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.portal-list-note { margin-top: 17px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.portal-account-panel { max-width: 770px; padding: 35px; border-radius: 26px; box-shadow: var(--shadow-raised); }
.portal-account-heading { display: flex; align-items: center; gap: 21px; }
.portal-account-heading h2 { font-size: 25px; line-height: 1.4; }
.portal-account-heading p { margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.portal-account-symbol { display: grid; place-items: center; flex-shrink: 0; width: 61px; height: 61px; border-radius: 50%; color: #596a85; box-shadow: var(--shadow-small); }
.portal-account-symbol svg { width: 27px; height: 27px; }
.portal-account-details { margin: 29px 0 0; }
.portal-account-details > div { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 25px; padding-block: 23px; border-top: 1px solid var(--line); }
.portal-account-details dt { color: var(--muted); font-size: 12px; line-height: 1.8; }
.portal-account-details dd { margin: 0; font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.portal-account-details dd .status-dot { margin-right: 9px; }
.portal-account-note { margin-top: 6px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); line-height: 1.9; }
.portal-footer { padding-block: 10px 27px; color: var(--muted); font-size: 12px; line-height: 1.8; }
@media (max-width: 1250px) {
    .portal-shell { grid-template-columns: 224px minmax(0, 1fr); }
    .portal-sidebar { padding-inline: 19px; }
    .portal-sidebar-heading .brand-wordmark { width: 124px; }
    .portal-navigation > a { font-size: 12px; padding-inline: 9px; gap: 10px; }
    .portal-content { padding-inline: 31px; }
    .portal-metrics { gap: 18px; }
    .portal-metric { padding: 20px; }
    .portal-page-heading { align-items: flex-start; flex-direction: column; gap: 24px; }
    .portal-main .workspace-detail-grid { grid-template-columns: 1fr; gap: 7px; }
    .portal-main .workspace-context { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, .55fr); align-items: start; gap: 25px; }
    .portal-main .workspace-context .workspace-notification { padding-top: 20px; }
    .portal-main .workspace-row { grid-template-columns: minmax(0, 1fr) 105px 44px; }
    .portal-main .workspace-row-next { grid-column: 1 / 3; display: grid; grid-template-columns: 1fr auto; gap: 7px 20px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
    .portal-main .workspace-row-next .workspace-row-label { grid-column: 1 / -1; }
    .portal-main .workspace-open { grid-column: 3; grid-row: 1; }
    .portal-due-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 25px; }
    .portal-due-action { grid-column: 1 / -1; justify-content: flex-start; }
    .portal-due-action .workspace-open { margin-left: auto; }
}
@media (max-width: 1050px) {
    .portal-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .portal-metric { min-height: 178px; padding: 24px; }
    .portal-main .workspace-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 0; }
    .portal-main .workspace-stages > div:nth-child(4) { border-left: 0; padding-left: 0; }
    .portal-main .workspace-heading { align-items: flex-start; flex-direction: column; }
    .portal-main .workspace-heading .workspace-due-link { padding: 17px 24px; }
    .portal-main .workspace-context { display: block; }
    .portal-main .workspace-contact { grid-template-columns: 1fr 1fr; }
    .portal-section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 800px) {
    .portal-shell { display: block; }
    .portal-sidebar { position: static; height: auto; padding: 23px 24px 20px; border-right: 0; border-bottom: 1px solid #c9cbd7; box-shadow: 0 7px 18px #cdd0db; }
    .portal-sidebar-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
    .portal-sidebar-heading > p { margin: 0; padding: 0; }
    .portal-sidebar-heading .brand-wordmark { width: 132px; }
    .portal-navigation { display: flex; flex-direction: row; gap: 9px; margin-top: 22px; }
    .portal-navigation > a { justify-content: center; flex: 1; gap: 9px; padding: 13px 12px; }
    .portal-sidebar-footer { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; padding: 0; margin-top: 15px; }
    .portal-sidebar-footer > p { display: none; }
    .portal-sidebar-footer form { flex-shrink: 0; }
    .portal-public-link { padding-left: 7px; }
    .portal-logout { padding: 10px 16px; min-height: 44px; }
    .portal-content { padding-inline: 24px; }
    .portal-topbar { min-height: 71px; }
    .portal-main { padding-block: 31px 42px; }
    .portal-main .workspace-contact { grid-template-columns: 1fr 1fr; }
    .portal-main .workspace-row-next { grid-column: 1 / 3; }
    .portal-main .workspace-detail-grid { gap: 7px; }
}
@media (max-width: 620px) {
    .portal-sidebar { padding: 20px 18px 16px; }
    .portal-sidebar-heading .brand-wordmark { width: 124px; }
    .portal-sidebar-heading .brand-mark { width: 31px; height: 31px; }
    .portal-sidebar-heading > p { font-size: 12px; }
    .portal-navigation { gap: 6px; margin-top: 19px; }
    .portal-navigation > a { min-height: 66px; flex-direction: column; gap: 7px; padding: 10px 5px; font-size: 12px; line-height: 1.4; }
    .portal-navigation svg { width: 20px; height: 20px; }
    .portal-sidebar-footer { margin-top: 11px; gap: 12px; }
    .portal-public-link { min-height: 44px; gap: 11px; }
    .portal-logout { gap: 9px; padding-inline: 13px; }
    .portal-content { padding-inline: 22px; }
    .portal-topbar { min-height: 67px; gap: 15px; }
    .portal-topbar > p { font-size: 12px; gap: 8px; letter-spacing: .025em; }
    .portal-access { padding: 8px 12px; gap: 9px; }
    .portal-page-heading { margin-bottom: 27px; gap: 23px; }
    .portal-page-heading .eyebrow, .portal-main .workspace-heading .eyebrow { font-size: 12px; letter-spacing: .065em; }
    .portal-main .workspace-heading h1, .portal-page-heading h1 { font-size: 34px; }
    .portal-page-heading > div > p:last-child:not(.eyebrow) { font-size: 14px; margin-top: 15px; }
    .portal-page-heading > .button { width: 100%; font-size: 12px; padding-inline: 18px; }
    .portal-metrics { gap: 18px 15px; }
    .portal-metric { min-height: 180px; padding: 20px 16px; gap: 15px; border-radius: 20px; }
    .portal-metric-label { line-height: 1.6; gap: 5px; }
    .portal-metric-label > span { font-size: 16px; }
    .portal-metric > strong { font-size: 37px; }
    .portal-metric-note, .portal-metric-destination { font-size: 12px; }
    .portal-metrics-definition { margin-top: 18px; }
    .portal-follow-ups { margin-top: 34px; }
    .portal-section-heading { margin-bottom: 21px; }
    .portal-section-heading h2 { font-size: 26px; }
    .portal-section-heading .eyebrow { font-size: 12px; letter-spacing: .055em; }
    .portal-state-panel { padding: 28px 23px; border-radius: 22px; }
    .portal-state-panel h2, .portal-state-panel h3 { font-size: 22px; }
    .portal-state-panel > p { font-size: 13px; }
    .portal-due-list { padding-inline: 20px; }
    .portal-due-row { grid-template-columns: 1fr; gap: 16px; padding-block: 23px; }
    .portal-due-activity { padding-top: 14px; border-top: 1px solid var(--line); }
    .portal-due-action { grid-column: 1; }
    .portal-main .workspace-contact { grid-template-columns: 1fr; }
    .portal-main .workspace-row { grid-template-columns: minmax(0, 1fr) 44px; }
    .portal-main .workspace-row-next { grid-column: 1 / -1; display: block; }
    .portal-main .workspace-row > .workspace-open { grid-column: 2; }
    .portal-main .workspace-overview { padding-inline: 20px; }
    .portal-account-panel { padding: 28px 23px; border-radius: 23px; }
    .portal-account-heading { align-items: flex-start; gap: 18px; }
    .portal-account-heading h2 { font-size: 23px; }
    .portal-account-heading p { font-size: 12px; }
    .portal-account-symbol { width: 47px; height: 47px; }
    .portal-account-symbol svg { width: 23px; height: 23px; }
    .portal-account-details > div { grid-template-columns: 1fr; gap: 9px; padding-block: 20px; }
    .portal-account-details dd { font-size: 13px; }
    .portal-footer { padding-bottom: 22px; }
}
@media (max-width: 370px) {
    .portal-sidebar { padding-inline: 14px; }
    .portal-sidebar-heading > p { display: none; }
    .portal-navigation { flex-direction: column; gap: 7px; }
    .portal-navigation > a { flex-direction: row; justify-content: flex-start; min-height: 44px; padding: 10px 14px; }
    .portal-content { padding-inline: 18px; }
    .portal-topbar > p { max-width: 170px; }
    .portal-metrics { grid-template-columns: 1fr; gap: 19px; }
    .portal-metric { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; padding: 22px; }
    .portal-metric > strong { grid-column: 2; grid-row: 1 / 3; align-self: center; }
    .portal-metric-note, .portal-metric-destination { grid-column: 1; }
    .portal-metric-label > span { display: none; }
    .portal-access { padding-inline: 10px; }
    .portal-main .workspace-heading h1, .portal-page-heading h1 { font-size: 32px; }
    .portal-main .workspace-panel { padding-inline: 20px; }
}
@media (forced-colors: active) {
    .portal-sidebar, .portal-navigation > a[aria-current='page'], .portal-logout, .portal-access, .portal-metric, .portal-state-panel, .portal-state-mark, .portal-due-list, .portal-account-panel, .portal-account-symbol { border: 1px solid CanvasText; }
    .portal-metric-due > strong { color: CanvasText; }
}

/* Explicit, single-enquiry data actions stay separate from ordinary follow-up. */
.enquiry-data-entry { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 25px; margin-top: 32px; padding-top: 21px; border-top: 1px solid var(--line); }
.enquiry-data-entry > p { font-size: 12px; color: var(--muted); line-height: 1.8; }
.enquiry-data .portal-page-heading { margin-top: 6px; }
.enquiry-data-subject { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 24px 27px; margin-bottom: 32px; border-radius: 20px; box-shadow: var(--shadow-inset); }
.enquiry-data-subject > div { min-width: 0; }
.enquiry-data-subject p { font-size: 12px; color: var(--muted); line-height: 1.9; overflow-wrap: anywhere; }
.enquiry-data-subject h2 { font-size: 23px; line-height: 1.5; margin-block: 8px; overflow-wrap: anywhere; }
.enquiry-data-subject .workspace-status { flex-shrink: 0; }
.enquiry-data-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.enquiry-data-actions .workspace-panel > p:not(.eyebrow) { font-size: 14px; line-height: 1.9; margin-top: 20px; }
.enquiry-data-actions .workspace-panel > .enquiry-data-help { font-size: 12px; color: var(--muted); }
.enquiry-data-actions form { margin-top: 26px; }
.enquiry-data-actions form > .button { width: 100%; }
.enquiry-data-delete { border: 1px solid #a68a91; }
.enquiry-data-delete > .eyebrow { color: #7b3944; }
.enquiry-data-confirm { align-items: flex-start; padding: 18px 0 26px; }
.enquiry-data-confirm input { margin-top: 3px; accent-color: #803e4a; }
.enquiry-data-confirm > span { font-size: 13px; line-height: 1.8; }
.enquiry-delete-button { background: #773842; color: #fff; }
.enquiry-delete-button:hover { background: #632b35; }
.enquiry-delete-button:active { background: #632b35; box-shadow: inset 4px 4px 9px #45232c, inset -4px -4px 9px #995362; }
.enquiry-data-status { max-width: 760px; padding: 30px; border-radius: 23px; box-shadow: var(--shadow-inset); }
.enquiry-data-status h2 { font-size: 24px; line-height: 1.5; }
.enquiry-data-status > p { font-size: 13px; color: var(--muted); line-height: 1.9; margin-top: 15px; }
.enquiry-data-status form { margin-block: 25px 15px; }
@media (max-width: 1150px) {
    .enquiry-data-actions { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 620px) {
    .enquiry-data-entry { align-items: flex-start; flex-direction: column; gap: 4px; }
    .enquiry-data-subject { align-items: flex-start; flex-direction: column; padding: 22px; gap: 18px; }
    .enquiry-data-subject h2 { font-size: 21px; }
    .enquiry-data-actions .workspace-panel > p:not(.eyebrow) { font-size: 13px; }
    .enquiry-data-actions .workspace-panel > .enquiry-data-help { font-size: 12px; }
    .enquiry-data-actions form > .button { padding-inline: 14px; gap: 17px; }
    .enquiry-data-status { padding: 25px 22px; }
    .enquiry-data-status h2 { font-size: 22px; }
    .enquiry-data-status form > .button { width: 100%; gap: 15px; padding-inline: 15px; font-size: 12px; }
}
@media (forced-colors: active) {
    .enquiry-data-subject, .enquiry-data-status, .enquiry-data-delete { border: 1px solid CanvasText; }
    .enquiry-delete-button { border: 1px solid ButtonText; color: ButtonText; background: ButtonFace; }
}
/* Invitation administration and private enrollment extend the same portal surfaces. */
.portal-invite-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 40px; padding: 35px; border-radius: 26px; box-shadow: var(--shadow-raised); }
.portal-invite-panel h2 { margin-top: 14px; font-size: 28px; line-height: 1.3; }
.portal-invite-panel > div > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.9; margin-top: 18px; }
.portal-invite-panel .eyebrow { font-size: 10px; }
.portal-invite-panel form { min-width: 0; }
.portal-invite-panel input { width: 100%; }
.portal-invite-panel .field-hint { font-size: 12px; margin-block: 14px 22px; }
.portal-invitation-local { color: var(--muted); font-size: 12px; line-height: 1.9; padding: 22px 4px; }
.portal-invitations { margin-top: 30px; }
.portal-invitation-list { border-radius: 26px; box-shadow: var(--shadow-small); padding: 0 28px; }
.portal-invitation-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 24px; padding-block: 26px; }
.portal-invitation-row + .portal-invitation-row { border-top: 1px solid var(--line); }
.portal-invitation-person h3 { font-size: 15px; overflow-wrap: anywhere; line-height: 1.7; }
.portal-invitation-row p { font-size: 11px; color: var(--muted); line-height: 1.8; margin-top: 8px; }
.portal-invitation-row .workspace-status { font-size: 10px; }
.identity-invitation { max-width: 580px; }
.invitation-step { padding: 0; border: 0; min-width: 0; margin-top: 28px; }
.invitation-step + .invitation-step { margin-top: 34px; padding-top: 12px; }
.invitation-step legend { font-size: 16px; font-weight: 600; line-height: 1.6; padding: 0; }
.invitation-step legend span { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 9px; border-radius: 50%; box-shadow: var(--shadow-small); font-size: 12px; }
.invitation-step-help { color: var(--muted); font-size: 12px; line-height: 1.9; margin-top: 18px; }
.invitation-key-panel { margin-top: 20px; padding: 20px; border-radius: 16px; box-shadow: var(--shadow-inset); }
.invitation-key-panel > span { display: block; color: var(--muted); font-size: 10px; margin-bottom: 12px; }
.invitation-key-panel code { display: block; font-size: 15px; line-height: 1.9; letter-spacing: .08em; overflow-wrap: anywhere; user-select: all; }
.invitation-recovery-panel h2 { font-size: 19px; line-height: 1.5; }
.invitation-recovery-panel > p { color: var(--muted); font-size: 12px; line-height: 1.9; margin-top: 12px; }
.invitation-recovery-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 18px; list-style: none; padding: 22px; margin-top: 22px; border-radius: 18px; box-shadow: var(--shadow-inset); }
.invitation-recovery-codes code { font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; user-select: all; }
@media (max-width: 1050px) {
    .portal-invite-panel { grid-template-columns: 1fr; gap: 25px; }
    .portal-invitation-row { grid-template-columns: minmax(0, 1fr) auto; gap: 18px; }
    .portal-invitation-state { grid-column: 1; }
    .portal-invitation-row form { grid-column: 2; grid-row: 1 / 3; }
}
@media (max-width: 620px) {
    .portal-navigation.has-account-admin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .portal-invite-panel { padding: 28px 23px; border-radius: 23px; }
    .portal-invite-panel h2 { font-size: 25px; }
    .portal-invite-panel > div > p:not(.eyebrow) { font-size: 13px; }
    .portal-invite-panel .button { width: 100%; justify-content: center; }
    .portal-invitation-list { padding-inline: 22px; }
    .portal-invitation-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .portal-invitation-row form { grid-column: 1; grid-row: auto; margin-top: 8px; }
    .invitation-step legend { font-size: 14px; }
    .invitation-key-panel { padding: 16px; }
    .invitation-key-panel code { font-size: 13px; }
    .invitation-recovery-codes { gap: 12px; padding: 18px; }
    .invitation-recovery-codes code { font-size: 11px; }
}
@media (forced-colors: active) {
    .portal-invite-panel, .portal-invitation-list, .invitation-key-panel, .invitation-recovery-codes { border: 1px solid CanvasText; }
}
/* Account permissions are explicit owner actions, separate from invitations. */
.portal-account-access { margin-bottom: 48px; }
.portal-account-access-help { color: var(--muted); font-size: 12px; line-height: 1.9; max-width: 790px; margin-block: 17px 25px; }
.portal-account-access-row .button { white-space: nowrap; }
