:root {
  color-scheme: light;
  --ink: #221f1b;
  --muted: #625a50;
  --gold: #805e2b;
  --rule: #ded4c3;
  --ivory: #f8f5ee;
  --paper: #fffdf9;
  --sans: Inter, "Segoe UI", system-ui, sans-serif;
  font: 16px/1.55 var(--sans);
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--ivory); }
header {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: #fff; border-bottom: 1px solid var(--rule);
  padding: 8px max(5vw, calc((100vw - 1200px)/2));
}
.site-header { color: #221f1b; font: 1rem/1.55 var(--sans); }
.brand { display: block; position: relative; width: 205px; height: 56px; overflow: hidden; flex: none; }
.brand img { position: absolute; width: 265px; height: auto; left: -20px; top: -104px; }
nav, .actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
a { color: inherit; text-underline-offset: 4px; }
nav a { text-decoration: none; font-size: .9rem; }
nav a:hover, .text-link { text-decoration: underline; text-decoration-color: #9b7a42; }
main { width: min(1200px, 90vw); margin: 0 auto; }
h1, h2, h3 { font-family: var(--sans); font-weight: 650; line-height: 1.12; }
h1 { font-size: clamp(2rem, 3.8vw, 3.25rem); letter-spacing: -.045em; margin: 10px 0 14px; }
h2 { font-size: clamp(1.65rem, 2.7vw, 2.4rem); letter-spacing: -.035em; margin: 0 0 14px; }
h3 { font-size: 1.25rem; margin: 0 0 12px; }
p, small { color: var(--muted); }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 750; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, .8fr); align-items: center;
  gap: clamp(24px, 5vw, 68px); padding: clamp(28px, 4vw, 52px) 0;
}
.lead { max-width: 52ch; font-size: 1.025rem; margin: 0 0 20px; }
.hero-note { padding: 20px 24px; background: var(--paper); border: 1px solid var(--rule); border-top: 2px solid #a7864f; }
.hero-note h2 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.deliverables { list-style: none; padding: 0; margin: 12px 0 0; }
.deliverables li { padding: 8px 0; border-top: 1px solid #d8cbb6; }
.editorial, .project { border-top: 1px solid var(--rule); padding: clamp(26px, 4vw, 46px) 0; scroll-margin-top: 18px; }
.cards, .grid, .stats { display: grid; gap: 18px; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
.cards article, .cards li { padding: 22px 20px 12px 0; border-top: 1px solid var(--rule); }
.cards p { margin: 0; }
.process { padding-left: 0; list-style-position: inside; }
.process li::marker { color: var(--gold); font-family: var(--sans); }
.project { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: clamp(24px, 5vw, 70px); }
.project-intro { padding-top: 14px; }
.enquiry, .panel, .stats div { background: var(--paper); border: 1px solid var(--rule); padding: clamp(18px, 3vw, 36px); }
.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
label { display:block; margin: 0 0 15px; font-size: .92rem; font-weight: 650; }
input, select, textarea { display: block; width: 100%; font: inherit; color: var(--ink); margin-top: 6px; padding: 10px; background: #fff; border: 1px solid #b9ac98; border-radius: 3px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { flex: none; width: 17px; height: 17px; margin: 4px 0 0; accent-color: var(--gold); }
button, .button { display: inline-flex; align-items: center; gap: 12px; background: #25211d; color: white; border: 1px solid transparent; padding: 11px 17px; border-radius: 3px; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
button:hover, .button:hover { background: #504026; }
button span, .button span { color: #e4c995; }
:focus-visible { outline: 3px solid #987040; outline-offset: 3px; }
footer { border-top: 1px solid var(--rule); padding: 20px 0; display:flex; justify-content:space-between; gap: 16px; color: var(--muted); font-size: .88rem; }
.notice { max-width: 65ch; padding: 54px 0; }
main > h1, main > .eyebrow { margin-top: 32px; }
.stats { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.stats strong { display: block; color: var(--gold); font-size: 2rem; }
.panel { margin: 24px 0; }
.inline { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; margin-bottom: 16px; }
.inline label { margin: 0; }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th, td { border-bottom: 1px solid var(--rule); padding: 12px; white-space: nowrap; }
.badge { background: #f0e9db; padding: 3px 9px; }
.scope { white-space: pre-wrap; }
li { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  header { flex-wrap: wrap; }
  nav, .actions { gap: 12px; }
  .hero, .cards, .project { grid-template-columns: 1fr; }
  .cards { gap: 8px; }
  .hero-note { padding: 16px 18px; }
  .hero { gap: 22px; padding: 26px 0; }
}
@media (max-width: 440px) {
  .grid { grid-template-columns: 1fr; }
  nav { column-gap: 14px; }
  nav .button { padding: 8px 12px; min-height: 44px; }
}

/* Smooth in-page links while preserving native wheel and touch scrolling. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.confirmation-page { background: #f5f5f1; color: #242924; }
.confirmation-page main { width: min(100% - 40px, 1000px); }
.receipt-header {
  min-height: 74px; flex-wrap: nowrap; gap: 12px;
  padding: 12px max(20px, calc((100vw - 1000px) / 2)); border-color: #dbded7;
}
.receipt-header img { display: block; width: 161px; height: auto; }
.receipt-header > a:last-child { font-size: .9rem; font-weight: 550; }
.receipt {
  margin: clamp(24px, 4.5vw, 62px) 0 0; background: white;
  border: 1px solid #d6d8cf; border-top: 3px solid #a48547;
  border-radius: 4px; box-shadow: 0 5px 22px rgb(38 46 36 / 4%);
}
.receipt-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, .68fr);
  grid-template-areas: "intro note" "next note"; gap: 25px clamp(26px, 5vw, 68px);
  padding: clamp(22px, 4.4vw, 52px);
}
.receipt-intro { grid-area: intro; }
.receipt-check {
  display: grid; place-items: center; width: 39px; height: 39px;
  border: 1px solid #b2c6b7; background: #eef4ee; color: #365642; border-radius: 50%;
  font: 600 1.35rem/1 var(--sans);
}
.receipt h1 { margin: 15px 0 10px; font-size: clamp(2rem, 3.7vw, 3.05rem); line-height: 1.06; letter-spacing: -.045em; }
.receipt h2 { font-size: 1.2rem; letter-spacing: -.025em; margin: 0 0 7px; }
.receipt p { color: #4f564e; margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
.receipt-intro p { font-size: 1.08rem; }
.receipt-next { grid-area: next; border-top: 1px solid #dee0d8; padding-top: 21px; }
.receipt-next p + p { margin-top: 9px; }
.receipt-next .button { background: #242b27; border-radius: 4px; margin-top: 16px; padding: 11px 20px; }
.receipt-next .button:hover { background: #39463e; }
.receipt-note { grid-area: note; align-self: start; padding: 24px; background: #f7f6f1; border: 1px solid #e0ded4; border-radius: 3px; }
.ref-label { color: #66542e; font-size: .92rem; font-weight: 600; }
.ref-code { display: block; font: 600 clamp(1.45rem, 2.3vw, 1.95rem)/1.2 var(--sans); letter-spacing: .04em; overflow-wrap: anywhere; margin: 4px 0 17px; }
.receipt-note dl { margin: 0 0 16px; border-block: 1px solid #dcd9cd; padding: 12px 0; }
.receipt-note dl > div { display: grid; grid-template-columns: 4.4em 1fr; align-items: baseline; gap: 8px; font-size: .93rem; }
.receipt-note dl > div + div { margin-top: 6px; }
.receipt-note dt { color: #606458; }
.receipt-note dd { margin: 0; font-weight: 550; }
.receipt-download, .contact-links a { text-underline-offset: 3px; }
.receipt-download { font-size: .92rem; }
.receipt-download span { font-size: .86rem; }
.receipt-contact {
  padding: 20px clamp(22px, 4.4vw, 52px); border-top: 1px solid #dedfd7;
  display: flex; align-items: center; justify-content: space-between; gap: 15px 25px;
}
.receipt-contact h2 { font-size: 1.02rem; }
.receipt-contact p, .contact-links { font-size: .95rem; }
.contact-links { display: grid; gap: 4px; overflow-wrap: anywhere; }
.receipt-footer { border: 0; padding: 16px 0 28px; }
@media (max-width: 740px) {
  .receipt-layout { grid-template-columns: 1fr; grid-template-areas: "intro" "note" "next"; gap: 18px; }
  .receipt-note { padding: 16px 18px; }
  .ref-code { margin-bottom: 10px; }
  .receipt-note dl { margin-bottom: 9px; padding: 9px 0; }
  .receipt-next { padding-top: 0; border: 0; }
  .receipt-contact { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 440px) {
  .confirmation-page main { width: calc(100% - 24px); }
  .receipt-header { padding: 10px 14px; min-height: 60px; }
  .receipt-header img { width: 138px; }
  .receipt { margin-top: 14px; }
}
@media print {
  .confirmation-page { background: white; }
  .confirmation-page main { width: 100%; }
  .receipt { box-shadow: none; margin-top: 16px; break-inside: avoid; }
  .site-header nav, .receipt-header > a:last-child, .receipt-download, .receipt-next .button, .receipt-footer { display: none; }
}

.sales-hero h1 { max-width: 18ch; }
.demo-form { margin-block: clamp(22px, 4vw, 52px); }
.workspace-user { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.workspace-user p { margin: 0; }
.workspace-user button { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
@media (max-width: 740px) {
  .sales-hero .actions { align-items: flex-start; }
  .demo-form select, .demo-form input, .demo-form textarea { font-size: 16px; }
}

.workspace-shell{max-width:1100px;margin:0 auto;padding:clamp(24px,5vw,72px) clamp(16px,4vw,48px);overflow-wrap:anywhere}
.workspace-shell h1{font-size:clamp(2rem,6vw,3.8rem);line-height:1.06;margin:.3em 0 .55em}
.workspace-shell h2{font-size:clamp(1.3rem,3vw,1.8rem);margin:1.35em 0 .45em}
.workspace-tabs{position:static;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:.2em .9em;margin:0 0 1.5em;border-bottom:1px solid #c9c7bb}
.workspace-tabs a,.workspace-shell summary{display:inline-block;padding:12px 4px;color:#23332a}
.workspace-tabs [aria-current=page]{border-bottom:2px solid #846128;font-weight:700}
.workspace-form{width:100%;max-width:640px;margin:16px 0;box-sizing:border-box}
.workspace-form :is(input,select,textarea){max-width:100%;min-width:0}
.workspace-list{list-style:none;padding:0;margin:0}
.workspace-list>li{padding:14px 0;border-bottom:1px solid #dedbd1}
.workspace-list p{margin:.3em 0}.workspace-shell summary{cursor:pointer;text-decoration:underline}.preserve-lines{white-space:pre-line}

.sales-hero { grid-template-columns: 1fr minmax(0,.94fr); padding-block: clamp(32px,5vw,76px); }
.sales-hero h1 { max-width: 13ch; font-size: clamp(2.55rem,5vw,4.6rem); line-height: 1.02; }
.sales-hero .lead { margin-block: 1.3rem 1.6rem; font-size: clamp(1rem,1.4vw,1.18rem); }
.flow-art { margin: 0; }
.flow-art img, .workspace-preview img { width: 100%; height: auto; display: block; }
.story-flow, .insight, .workspace-preview { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(20px,6vw,88px); align-items: start; }
.section-lead p, .insight p, .workspace-preview p { max-width: 57ch; }
.workflow-steps { border-top: 1px solid var(--rule); }
.workflow-steps details { border-bottom: 1px solid var(--rule); }
.workflow-steps summary, .access-help summary { cursor: pointer; padding-block: 15px; font-weight: 680; }
.workflow-steps summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.workflow-steps summary::after { content: '+'; font-size: 1.35rem; color: #315f60; }
.workflow-steps details[open] summary::after { content: '−'; }
.workflow-steps details > div { padding-bottom: 18px; }
.workflow-steps p { margin-top: 0; }
.workflow-steps a, .insight a, .workspace-preview a { color: #254f50; }
.insight, .workspace-preview { align-items: center; }
.insight-stat { border-left: 4px solid #58958e; padding: 4px 0 4px clamp(16px,3vw,35px); display: grid; gap: 8px; }
.insight-stat strong { font-size: clamp(3.8rem,7vw,6rem); line-height: 1; color: #214c49; letter-spacing: -.06em; }
.insight-stat span { max-width: 32ch; }
.insight-stat a { font-size: .9rem; }
.access-card { width: min(100%,520px); margin: clamp(24px,6vw,80px) auto; padding: clamp(22px,5vw,44px); background: white; border: 1px solid var(--rule); border-top: 4px solid #42736f; border-radius: 10px; box-shadow: 0 16px 44px #203b3310; overflow-wrap: anywhere; }
.access-card h1 { font-size: clamp(1.9rem,5vw,2.55rem); }
.access-card .enquiry { border: 0; padding: 10px 0; background: none; }
.access-card .enquiry button { width: 100%; justify-content: center; background: #254f50; }
.access-card .enquiry input { font-size: 1rem; }
.access-error { margin: 16px 0; padding: 12px 16px; border-left: 3px solid #934823; background: #fbf3eb; color: #623316; }
.access-error p { margin: 4px 0 0; }
.access-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.access-help { margin-top: 20px; border-block: 1px solid var(--rule); }
.access-help p { margin: 0 0 16px; }
@media(max-width:760px) {
  .sales-hero, .story-flow, .insight, .workspace-preview { grid-template-columns: 1fr; }
  .flow-art { max-width: 500px; }
  .workspace-preview img { max-width: 360px; }
}

.retainer-cards article { display: flex; flex-direction: column; gap: .9rem; padding: 1.35rem; background: #fff; border: 1px solid var(--rule); border-radius: 9px; }
.retainer-cards article p, .retainer-cards article h3 { margin: 0; }
.retainer-cards .retainer-fee { color: #214f4b; font-weight: 700; font-size: 1.13rem; }
.retainer-cards a { margin-top: auto; }
.retainer-terms { max-width: 80ch; margin-bottom: 0; }

/* Company workspace */
.company-page { background: #f3f6f4; color: #1d3934; }
.company-page main { width: min(100%, 1440px); }
.app-header { min-height: 64px; padding: 9px max(20px, calc((100vw - 1350px)/2)); gap: 12px; border-color: #dbe4dd; }
.app-header img { display: block; width: 145px; height: auto; }
.app-header nav { gap: 16px; }
.app-header a, .app-header button { font-weight: 650; }
.app-header form { margin: 0; }
.app-header button { padding: 7px 13px; color: #254b44; background: white; border: 1px solid #bfcdc4; border-radius: 6px; font-size: .88rem; }
.company-page .workspace-shell { max-width: none; padding: 0; }
.company-layout { display: grid; grid-template-columns: 215px minmax(0,1fr); min-height: calc(100vh - 65px); }
.company-sidebar { align-self: stretch; background: #173d37; color: #f5faf6; padding: 30px 15px; }
.company-identity { display: grid; gap: 6px; padding: 0 12px 24px; margin-bottom: 17px; border-bottom: 1px solid #43615b; }
.company-identity strong { font-size: 1.05rem; line-height: 1.35; }
.company-identity span { font-size: .72rem; letter-spacing: .1em; color: #c9dcd3; }
.company-sidebar nav { display: grid; gap: 4px; }
.company-sidebar a { padding: 9px 12px; border-radius: 5px; font-weight: 550; }
.company-sidebar a:hover, .company-sidebar [aria-current="page"] { background: #d7e9df; color: #183c35; }
.company-content { min-width: 0; padding: clamp(22px, 3.5vw, 55px); }
.company-page .dash-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.company-content h1, .company-picker h1 { margin: 0; font-size: clamp(1.85rem, 3.7vw, 3rem); line-height: 1.08; }
.dash-action { background: #25564b; color: white; border-radius: 6px; text-decoration: none; padding: 10px 16px; font-weight: 650; }
.dash-metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,140px),1fr)); gap: 12px; margin-bottom: 22px; }
.dash-metric, .dash-panel, .company-choice, .company-content > .workspace-list { background: white; border: 1px solid #d3dfd7; border-radius: 10px; }
.dash-metric { display: grid; padding: 18px; gap: 8px; text-decoration: none; }
.dash-metric span { font-size: .84rem; font-weight: 600; color: #4b665f; }
.dash-metric strong { font-size: clamp(1.75rem,3.1vw,2.5rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.dash-metric:hover, .company-choice:hover { border-color: #497c69; background: #fbfdfb; }
.dash-columns { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 18px; align-items: start; }
.dash-panel, .company-content > .workspace-list { padding: 18px 20px; }
.panel-heading, .dash-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.panel-heading { margin-bottom: 12px; }
.panel-heading h2 { margin: 0; font-size: 1.15rem; }
.panel-heading a { font-size: .82rem; color: #315e52; font-weight: 650; }
.company-content .workspace-list li { padding: 12px 0; border-color: #e1e9e4; }
.company-content .workspace-list li:last-child { border-bottom: none; }
.company-content .workspace-list li a { color: #224e43; font-weight: 650; }
.company-content .workspace-list p, .dash-panel > p { color: #51695f; font-size: .91rem; }
.stage-pill { padding: 3px 9px; background: #eaf2ec; border-radius: 5px; font-size: .77rem; color: #34584a; }
.company-picker { max-width: 840px; margin: auto; padding: clamp(26px,6vw,72px) 20px; }
.company-choices { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 16px; }
.company-choice { display: grid; padding: 20px; gap: 6px; text-decoration: none; }
.company-choice b { margin-top: 12px; color: #25564b; font-size: .9rem; }
.company-choice span { text-transform: capitalize; color: #51695f; }
.company-page :focus-visible, .access-card :focus-visible { outline: 3px solid #477c6b; outline-offset: 3px; }
.enrol-qr { display: block; padding: 12px; box-sizing: content-box; width: min(200px,calc(100% - 28px)); height: auto; aspect-ratio: 1; background: white; border: 1px solid #d3dfd7; border-radius: 6px; }
.access-card details code { display: block; overflow-wrap: anywhere; }
@media (max-width: 820px) {
  .company-layout { grid-template-columns: 1fr; }
  .company-sidebar { padding: 10px 16px; }
  .company-identity { display: flex; align-items: center; gap: 12px; padding: 2px 0 8px; margin-bottom: 5px; }
  .company-sidebar nav { display: flex; gap: 3px; }
  .company-sidebar a { padding: 8px 9px; }
}
@media (max-width: 610px) {
  .dash-columns { grid-template-columns: 1fr; }
  .dash-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dash-metric { padding: 13px; }
  .app-header { padding: 8px 12px; }
  .app-header img { width: 110px; }
  .app-header nav { gap: 9px; }
  .company-content { padding: 20px 14px; }
}

.connection-status { margin-top: 20px; padding: 10px 18px; background: #fff; border: 1px solid #d3dfd7; border-radius: 9px; }
.company-content .connection-status summary { display: list-item; padding: 4px 0; font-weight: 650; text-decoration: none; }
.connection-status p { margin: 8px 0; font-size: .9rem; }
.connection-status dl { margin: 0; }
.connection-status dl div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; padding: 8px 0; border-top: 1px solid #e1e9e4; }
.connection-status dd { margin: 0; color: #53665d; }

.ops-preview { display: grid; gap: 1.5rem; align-items: start; }
.ops-preview ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; padding: 0; list-style: none; }
.ops-preview li { padding: 1.1rem 1.25rem; border-left: 3px solid #23635b; background: #f3f6f2; }
.ops-preview li span { display: block; margin-top: .35rem; }
.company-content pre { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 600px) { .ops-preview ol { grid-template-columns: 1fr; } }

/* Company sales workspace */
.company-page { background:#f4f6f8; color:#192e36; }
.company-page main { width:100%; max-width:1760px; }
.company-layout { grid-template-columns:210px minmax(0,1fr); }
.company-sidebar { background:#183631; padding:22px 12px; }
.company-identity { margin:0 0 15px; padding:5px 10px 16px; }
.company-sidebar nav { display:grid; gap:3px; }
.company-sidebar a { font-size:.94rem; padding:7px 12px; text-decoration:none; }
.company-sidebar [aria-current="page"] { color:#123d32; box-shadow:inset 3px 0 #b38c42; }
.company-content { padding:clamp(18px,2.3vw,36px); font-size:1rem; }
.company-page .dash-heading { margin:0 0 17px; }
.company-content .dash-heading h1 { margin:0; font-size:clamp(1.65rem,2.2vw,2.25rem); letter-spacing:-.045em; }
.company-content h2 { color:#1e383c; }
.sales-kpis { gap:0; margin-bottom:16px; grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),1fr)); background:#fff; border:1px solid #cdd8d8; border-radius:9px; overflow:hidden; }
.sales-kpis .dash-metric { border:0; border-radius:0; padding:14px 17px; border-inline-end:1px solid #dce4e5; gap:5px; }
.sales-kpis .dash-metric:last-child { border:0; }
.sales-kpis .dash-metric strong { font-size:1.8rem; }
.sales-kpis .dash-metric span { font-size:.875rem; }
.dashboard-work,.dashboard-lower { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:16px; align-items:start; margin-bottom:16px; }
.dash-panel { background:#fff; border:1px solid #d1dcde; border-radius:9px; padding:0; overflow:hidden; }
.company-content .panel-heading { padding:13px 16px; border-bottom:1px solid #e1e8e9; margin:0; }
.company-content .panel-heading h2,.company-content .sales-outcomes h2 { font-size:1.05rem; margin:0; letter-spacing:-.01em; }
.company-content .panel-heading a,.back-link { font-size:.875rem; }
.company-content .record-list { background:white; border:1px solid #d3dddf; border-radius:8px; overflow:hidden; }
.dash-panel .record-list { border:0; border-radius:0; }
.activity-row,.deadline-row { display:flex; gap:12px; align-items:center; padding:11px 15px; text-decoration:none; border-top:1px solid #e4ebed; }
.record-list a:first-child { border-top:0; }
.record-list a:hover { background:#f0f6f4; }
.direction-mark { display:grid; place-items:center; width:28px; height:28px; flex:0 0 28px; border-radius:7px; background:#e7f0ed; color:#286a58; font:650 11px/1 system-ui; }
.record-main { display:grid; flex:1; min-width:0; gap:3px; }
.record-main strong { color:#173e38; font-size:.96rem; line-height:1.25; }
.record-main > span { color:#4c6269; font-size:.875rem; line-height:1.35; }
.record-trail { display:grid; justify-items:end; gap:4px; text-align:right; }
.record-trail small,.deadline-row time { color:#495c67; font-size:.8125rem; font-variant-numeric:tabular-nums; }
.deadline-row time { max-width:120px; text-align:right; }
.record-status,.stage-pill { display:inline-block; color:#385069; background:#eaf0f5; border-radius:4px; padding:3px 7px; font-size:.8125rem; font-weight:650; line-height:1.35; }
.status-delivered,.status-received { color:#145638; background:#e3f2e8; }
.status-review,.status-queued { color:#6b4b11; background:#fff0cc; }
.sales-outcomes { padding:15px 17px; }
.sales-outcomes a { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:9px; padding-top:8px; border-top:1px solid #e3e9e9; color:#274942; text-decoration:none; font-size:.92rem; }
.sales-outcomes strong { font-size:1.35rem; }
.sales-outcomes p { margin:3px 0; font-size:.81rem; }
.empty-record { padding:12px 16px; margin:0; color:#52616b; }
.record-search { display:flex; align-items:end; flex-wrap:wrap; gap:10px; padding:0; margin:0 0 12px; }
.record-search label { display:grid; gap:4px; font-size:.875rem; font-weight:650; }
.record-search input[type=search] { width:min(370px,73vw); border:1px solid #aebfbd; border-radius:6px; padding:8px 10px; }
.record-search button { padding:9px 15px; border-radius:6px; min-height:37px; }
.record-search .inline-check { display:flex; align-items:center; gap:6px; min-height:38px; }
.record-search input[type=checkbox] { width:16px; height:16px; }
.record-tabs,.record-pages { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:5px; }
.record-tabs { margin:0 0 12px; }
.record-tabs a,.record-pages a { padding:6px 10px; border-radius:5px; color:#315d53; font-size:.875rem; text-decoration:none; }
.record-tabs a[aria-current=page] { background:#dcebe4; color:#184739; font-weight:700; }
.record-pages { font-size:.875rem; margin-top:10px; }
.record-detail { background:#fff; padding:clamp(16px,2.3vw,28px); border:1px solid #cedbd9; border-radius:9px; margin-top:10px; }
.record-detail header { display:block; position:static; background:transparent; padding:0; min-height:0; border:0; }
.record-detail header h2 { font-size:1.45rem; margin:7px 0 4px; }
.record-detail h3 { font-size:1.03rem; margin:18px 0 7px; }
.record-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,215px),1fr)); gap:12px; padding:14px 0; border-block:1px solid #dbe3e4; margin:14px 0; }
.record-fields dt { color:#53696a; font-size:.8125rem; }
.record-fields dd { margin:3px 0 0; font-size:.94rem; font-weight:600; }
.message-copy { white-space:pre-wrap; line-height:1.55; color:#263c41; max-width:85ch; }
.company-content > details:not(.connection-status),.record-detail details { background:#fff; border:1px solid #d4dfdc; border-radius:6px; padding:0 12px; margin:8px 0; }
.company-content details > summary { font-size:.95rem; font-weight:600; }
@media(max-width:950px) {
 .company-layout { grid-template-columns:172px minmax(0,1fr); }
 .dashboard-work,.dashboard-lower { grid-template-columns:1fr; gap:12px; }
}
@media(max-width:820px) {
 .company-layout { display:block; }
 .company-sidebar { padding:8px 14px; }
 .company-identity { margin:0 0 6px; padding:0 4px 6px; }
 .company-sidebar nav { display:flex; flex-wrap:nowrap; overflow-x:auto; white-space:nowrap; padding-bottom:3px; }
 .company-sidebar a { padding:5px 9px; }
 .sales-kpis { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .sales-kpis .dash-metric { border-bottom:1px solid #e0e7e6; padding:9px 10px; }
 .record-trail small { max-width:105px; }
}
@media(max-width:480px) {
 .company-content { padding:15px 10px; }
 .activity-row,.deadline-row { gap:7px; padding:10px; }
 .direction-mark { display:none; }
 .record-main > span { overflow-wrap:anywhere; }
 .record-trail { max-width:95px; }
}
.record-main small,.feed-status { font-size:.8125rem; color:#50656a; overflow-wrap:anywhere; }
.record-fields dd,.message-copy { overflow-wrap:anywhere; }
.company-layout.is-loading .company-content { cursor:progress; }
.company-layout.is-loading .dash-heading { box-shadow:0 2px #a98a48; }
.company-content h1:focus:not(:focus-visible) { outline:none; }
/* The campaign index is a reading list. Full artwork belongs to a single post. */
.post-index { background:#fff; border:1px solid #d3dedc; border-radius:8px; overflow:hidden; }
.post-index table { table-layout:fixed; margin:0; color:#273e40; font-size:.875rem; line-height:1.25; }
.post-index th,.post-index td { padding:3px 10px; border:0; border-bottom:1px solid #e1e8e6; white-space:nowrap; text-align:left; vertical-align:middle; }
.post-index th { background:#edf3f1; color:#415955; font-weight:650; padding-block:7px; }
.post-index th:nth-child(2) { width:7rem; }
.post-index th:nth-child(3) { width:6.5rem; }
.post-index th.post-updated { width:13rem; }
.post-index td.post-updated { font-variant-numeric:tabular-nums; color:#526764; }
.post-index tbody tr:last-child td { border-bottom:0; }
.post-index tbody tr:hover,.post-index tbody tr:focus-within { background:#f2f7f5; }
.post-link { display:flex; align-items:center; gap:10px; min-width:0; min-height:27px; color:#204c42; text-decoration:none; font-weight:600; }
.post-link:hover span,.post-link:focus-visible span { text-decoration:underline; }
.post-link img,.text-post-mark { width:26px; height:26px; flex:none; border-radius:3px; }
.post-link img { object-fit:cover; }
.text-post-mark { display:grid; place-items:center; background:#ecf0f1; color:#52656c; font:600 11px/1 system-ui; }
.post-link > span:last-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.post-count { font-weight:500; color:#56716a; margin-inline-start:4px; }
.post-status { background:#eaf0ed; border-radius:4px; color:#39584b; padding:2px 6px; font-size:.8125rem; text-transform:capitalize; }
.post-detail { display:flex; align-items:flex-start; flex-wrap:wrap; gap:clamp(16px,2vw,28px); }
.post-art { flex:0 1 240px; max-width:100%; }
.post-art img { width:100%; height:auto; border-radius:5px; display:block; }
.post-copy { flex:1 1 290px; min-width:0; }
.post-copy h2 { margin:.4rem 0; }
.post-date { color:#526764; font-size:.875rem; }
@media(max-width:850px) { .post-index .post-updated { display:none; } }
@media(max-width:600px) {
  .post-index th,.post-index td { padding-inline:6px; }
  .post-index th:nth-child(2) { width:4.7rem; }
  .post-index th:nth-child(3) { width:5rem; }
  .post-link { min-height:37px; gap:6px; }
  .post-art { flex-basis:160px; }
}

.company-sidebar { position:sticky; top:0; align-self:start; z-index:2; max-height:100vh; overflow-y:auto; }
@media(min-width:821px){ .company-sidebar { min-height:calc(100vh - 64px); } }
@media(max-width:820px){ .company-sidebar { box-shadow:0 1px 3px #0002; } .company-content [id] { scroll-margin-top:94px; } }

.accounts-desk { display:grid; gap:14px; min-width:0; color:#243c3a; }
.accounts-metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); gap:10px; }
.accounts-metric { display:grid; gap:4px; padding:14px 16px; background:#fff; border:1px solid #cedbd7; border-radius:7px; text-decoration:none; color:inherit; }
.accounts-metric:hover,.accounts-metric:focus-visible { border-color:#448375; }
.accounts-metric span,.accounts-metric small,.accounts-foot { color:#506660; }
.accounts-metric span { font-size:.85rem; font-weight:650; }
.accounts-metric strong { font-size:clamp(1.35rem,2vw,1.85rem); line-height:1.13; font-variant-numeric:tabular-nums; }
.accounts-metric small { font-size:.78rem; }
.accounts-tabs { margin:0; padding-bottom:6px; border-bottom:1px solid #cedbd7; }
.accounts-panel { min-width:0; background:white; border:1px solid #cedbd7; border-radius:7px; overflow:hidden; }
.accounts-panel-title { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; padding:13px 16px; gap:7px 14px; border-bottom:1px solid #dce5e2; }
.accounts-panel-title h2 { margin:0; font-size:1.1rem; letter-spacing:normal; }
.accounts-panel-title p,.accounts-empty p,.accounts-foot { margin:4px 0 0; font-size:.84rem; line-height:1.4; }
.accounts-panel-title p,.accounts-empty p { color:#506660; }
.accounts-empty,.accounts-foot,.accounts-breakdown { padding:11px 16px; }
.accounts-source,.accounts-filter a { font-weight:650; font-size:.85rem; color:#20594b; }
.accounts-table { max-width:100%; overflow-x:auto; }
.accounts-table table { width:100%; margin:0; font-size:.875rem; }
.accounts-table th,.accounts-table td { padding:6px 14px; border-bottom:1px solid #e1e8e5; line-height:1.42; }
.accounts-table thead th { color:#405852; background:#f1f5f3; font-size:.8rem; font-weight:650; }
.accounts-table tbody th { font-weight:500; }
.accounts-table tr:last-child > * { border-bottom:0; }
.accounts-table .accounts-money { text-align:end; font-variant-numeric:tabular-nums; }
.accounts-table td { vertical-align:top; }
.accounts-table summary,.accounts-breakdown summary { cursor:pointer; color:#20594b; }
.accounts-table td details,.accounts-table td details summary { padding:0; margin:0; }
.accounts-table td details dl { max-width:26rem; margin:.5rem 0; white-space:normal; }
.accounts-table details dt { font-size:.76rem; color:#586c65; }
.accounts-table details dd { margin:0 0 .35rem; overflow-wrap:anywhere; }
.accounts-total>* { background:#f1f6f3; font-weight:700!important; }
.accounts-state { background:#eaf1ed; padding:2px 6px; border-radius:4px; }
.accounts-state.late { color:#823924; background:#faece6; }
.accounts-panel .accounts-filter { display:flex; flex-wrap:wrap; align-items:end; gap:8px 12px; margin:0; padding:10px 16px; max-width:none; background:transparent; border:0; box-shadow:none; }
.accounts-filter label { display:grid; gap:3px; font-size:.8rem; margin:0; }
.accounts-filter :is(input,select,button) { margin:0; min-height:34px; font-size:.88rem; padding:5px 9px; }
.accounts-filter a { align-self:center; }
.accounts-panel .record-pages { margin:0; padding:6px 14px; }
.accounts-breakdown { border-top:1px solid #dce5e2; }
@media(max-width:660px) {
  .accounts-metrics { grid-template-columns:1fr; gap:4px; }
  .accounts-metric { grid-template-columns:1fr auto; align-items:center; gap:2px 7px; padding:8px 10px; }
  .accounts-metric small { grid-column:1 / -1; }
  .accounts-metric strong { font-size:1.2rem; }
  .accounts-table th,.accounts-table td { padding:6px 9px; }
  .accounts-tabs { gap:2px; }
  .accounts-tabs a { padding:5px 7px; }
}

.accounts-overview { display:grid; align-items:start; gap:12px; grid-template-columns:minmax(0,2fr) minmax(225px,1fr); }
.accounts-panel-title > a { font-size:.84rem; color:#20594b; }
@media(max-width:1050px) { .accounts-overview { grid-template-columns:minmax(0,1fr); } }
.campaign-panel { padding:14px 16px; }
.campaign-panel h2 { font-size:1.12rem; margin:0 0 10px; }
.campaign-panel p,.campaign-panel summary { font-size:.925rem; }
.campaign-panel details { margin-block:10px; }
.campaign-panel .workspace-form { box-shadow:none; border:0; padding:0; margin:12px 0 5px; }
.campaign-panel textarea { width:100%; }
.connection-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:12px 0; }
.campaign-panel .connection-actions form { margin:0; width:auto; }
.connection-actions form + form button { color:#20594b; border:1px solid #b7cbc3; background:#fff; }
.publishing-accounts td { overflow-wrap:anywhere; }
.publishing-accounts td small { display:block; color:#53675f; font-variant-numeric:tabular-nums; }
.publishing-accounts td strong { color:#20594b; }

.campaign-steps { display:flex; flex-wrap:wrap; gap:8px 22px; }
.campaign-steps a { color:#245549; }
.campaign-preview { border-left:3px solid #879e92; background:#f5f8f6; padding:12px 16px; margin:10px 0; }
.campaign-preview h3 { margin:5px 0; }

/* Company acquisition and private sample workspaces. */
body.demo-page{--ink:#112f2b;--muted:#4c645e;--line:#cbd9d2;--wash:#f2f7f4;background:#f7f9f7;color:var(--ink);margin:0;font:1rem/1.55 Inter,"Segoe UI",Arial,sans-serif}
.demo-page main{width:auto;max-width:none;margin:0;padding:0}
.demo-page :where(main) a{color:#185648;text-underline-offset:.2em}
.demo-wrap{width:min(1220px,92%);margin-inline:auto}
.demo-page h1,.demo-page h2,.demo-page h3{color:var(--ink);font-family:inherit;font-weight:650;line-height:1.12}
.demo-page h1{font-size:clamp(2.5rem,4.3vw,4.1rem);max-width:18ch;margin:12px 0 18px;letter-spacing:-.058em}
.demo-page h2{font-size:clamp(1.45rem,2.2vw,2.05rem);letter-spacing:-.045em;margin:0 0 10px}
.demo-page p{color:var(--muted)}
.demo-page .demo-kicker{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.11em;color:#396052;margin:0}
.demo-kicker span{color:#9aab9e;padding:0 .3rem}
.demo-acquire{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(320px,.9fr);gap:clamp(36px,6.4vw,92px);align-items:center;padding:clamp(30px,3.5vw,52px) 0}
.demo-page .demo-lede{font-size:clamp(1.02rem,1.4vw,1.16rem);line-height:1.58;max-width:53ch;margin:0 0 28px}
.demo-preview{margin:0;max-width:645px;background:#193d36;border:1px solid #1e483e;border-radius:13px;overflow:hidden;color:#fff;box-shadow:0 8px 22px #213e3211}
.demo-preview figcaption{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:13px 17px;color:white}
.demo-preview figcaption span{font-size:.79rem;color:#d2e6dc}
.preview-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:0 14px 15px}
.preview-stages article{min-width:0;background:#f1f6f2;border-radius:6px;padding:9px;color:var(--ink);border:0}
.preview-stages article>small{font-size:.8rem;font-weight:650;color:#496056;display:block;margin:0 0 7px}
.preview-stages article>div{display:grid;align-content:start;gap:3px;border:1px solid #d9e4dd;border-radius:5px;background:white;padding:9px 8px}
.demo-page i{display:grid;place-items:center;background:#e3ede6;color:#215a48;font-size:.75rem;font-style:normal;font-weight:750;width:28px;height:28px;border-radius:6px}
.preview-stages article:nth-child(2) i,.demo-records a:nth-child(2) i{background:#e7e9f5;color:#505c86}
.preview-stages article:nth-child(3) i,.demo-records a:nth-child(3) i{background:#f6eddd;color:#805a24}
.preview-stages b,.preview-stages strong{font-size:.84rem}
.preview-stages span{font-size:.79rem;color:#4f6159;line-height:1.35}
.preview-stages strong{margin-top:5px}
.demo-card,.demo-single,.demo-panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:clamp(23px,2.7vw,38px)}
.demo-card{box-shadow:0 12px 36px #2547360b}
.demo-card>p,.demo-single>p{margin:0 0 20px}
.demo-page form{display:grid;gap:13px;padding:0;margin:0;background:none;border:0;max-width:none;box-shadow:none}
.demo-page label{display:grid;margin:0;gap:5px;color:var(--ink);font-size:.88rem;font-weight:650}
.demo-page input:not([type=checkbox]){width:100%;background:#fff;margin:0;border:1px solid #9eb3a9;border-radius:6px;min-height:42px;padding:8px 11px;font:inherit;color:var(--ink)}
.demo-page label.demo-consent{display:flex;align-items:flex-start;gap:9px;font-size:.85rem;font-weight:400;line-height:1.45;color:var(--muted)}
.demo-consent input{width:16px;height:16px;flex-shrink:0;margin:2px 0 0;accent-color:#205a49}
.demo-page button,.demo-page .demo-button,.demo-checkout summary{display:inline-flex;justify-content:center;align-items:center;min-height:43px;padding:10px 18px;background:#154e3f;color:#fff;line-height:1.3;font-family:inherit;font-size:.94rem;font-weight:650;text-decoration:none;border:1px solid #154e3f;border-radius:7px;cursor:pointer}
.demo-page button:hover,.demo-page .demo-button:hover,.demo-checkout summary:hover{background:#103d33;color:#fff}
.demo-page :focus-visible{outline:3px solid #a97422;outline-offset:3px}
.demo-page .demo-small{font-size:.86rem;text-align:center;margin:15px 0 0}
.demo-live,.demo-dashhead,.demo-tools,.demo-foot{display:flex;align-items:center;justify-content:space-between;gap:18px}
.demo-live{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:26px 0}
.demo-live h2{margin:7px 0}.demo-live p{margin:0;max-width:69ch}
.demo-page .demo-outline{color:#184e40;background:#fff;border-color:#8fa69a;white-space:nowrap}
.demo-checkout{min-width:215px}.demo-checkout[open] form{margin-top:14px}
.demo-foot{font-size:.88rem;padding:16px 0 26px;flex-wrap:wrap}
.demo-single{width:min(520px,92%);margin:clamp(29px,6vw,90px) auto}
.demo-single h1,.demo-dashhead h1{font-size:clamp(2.2rem,3.8vw,3.5rem)}
.demo-single>a:last-child{display:inline-flex;margin-top:18px}
.demo-single dl,.demo-detail dl{margin:16px 0 24px}
.demo-single dl>div,.demo-detail dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-bottom:1px solid var(--line);padding:8px 0}
.demo-page dd{margin:0;font-weight:600;text-align:right;overflow-wrap:anywhere}
.demo-tools{border-bottom:1px solid var(--line);padding:16px 0}
.demo-tools b{display:inline-block;margin-left:9px;background:#e4eee6;padding:2px 8px;border-radius:4px;font-size:.8rem}
.demo-page button.demo-text{background:transparent;border:0;color:#215746;min-height:36px}
.demo-dashhead{padding:24px 0}.demo-dashhead p{margin:0}
.demo-metrics{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);background:#fff;border-radius:10px}
.demo-metrics>div{padding:12px 20px;display:flex;align-items:center;gap:10px}.demo-metrics>div+div{border-left:1px solid var(--line)}.demo-metrics strong{font-size:1.8rem}
.demo-dashgrid{display:grid;grid-template-columns:1.15fr 1fr;gap:16px;margin-top:16px}
.demo-panel{padding:22px}.demo-panel h2{font-size:1.42rem}
.demo-records a{display:flex;align-items:center;gap:12px;padding:13px 10px;border-bottom:1px solid var(--line);text-decoration:none}
.demo-records a[aria-current]{background:var(--wash);border-radius:7px}
.demo-records a span{display:grid}.demo-records small{font-size:.85rem}.demo-records b{margin-left:auto;font-size:.86rem}
.demo-detail h3{font-size:1.05rem}.demo-detail p{margin:8px 0 14px}
.demo-page .demo-error{color:#873319;border-left:3px solid #ac5430;padding-left:12px}
@media(max-width:880px){.demo-acquire{gap:24px;grid-template-columns:minmax(0,1.15fr) minmax(290px,.85fr)}.preview-stages{gap:5px;padding:0 8px 8px}.preview-stages article{padding:5px}.preview-stages article>div{padding:6px}.demo-wrap{width:94%}}
@media(max-width:700px){.demo-acquire,.demo-dashgrid{grid-template-columns:minmax(0,1fr)}.demo-acquire{padding:24px 0;gap:20px}.demo-lede{margin-bottom:16px!important}.demo-wrap{width:91%}.demo-live,.demo-dashhead{align-items:flex-start;flex-direction:column}.demo-metrics>div{padding:9px 8px;display:grid;gap:0}.demo-metrics span{font-size:.8rem}.demo-tools span{min-width:0;overflow-wrap:anywhere}.demo-records a{gap:6px}.demo-page h1{max-width:18ch}.demo-intro .demo-preview{display:none}.demo-card{padding:20px}.demo-foot{gap:10px}.demo-dashhead .demo-button{align-self:start}.demo-checkout{min-width:0}}
