/* Val's Inner Circle - styled to the Virtual Assistant Lead Network design system (VALN brand only).
   Pairing rules: coral only on blush/peach/pea/white; pea text only on teal; headings forest or teal, never grey;
   cards white on blush, 12px radius; buttons rectangular; tags are the only pills; no gradients or coloured left borders. */
@font-face { font-family: "Raleway"; src: url("/static/raleway.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --valn-forest: #376850; --valn-teal: #004e4e; --valn-pea: #d3ce7a; --valn-coral: #ee5f51; --valn-peach: #fed5ae;
  --valn-blush: #fef0e4; --valn-grey: #333333; --valn-white: #ffffff;
  --valn-forest-hover: #2c5442; --valn-teal-hover: #003c3c; --valn-coral-hover: #e04635; --valn-blush-deep: #fbe4d2;
  --line: rgba(51,51,51,0.12); --line-dark: rgba(255,255,255,0.18);
  --shadow-sm: 0 1px 2px rgba(51,51,51,0.06), 0 2px 6px rgba(51,51,51,0.05);
  --shadow-md: 0 4px 10px rgba(51,51,51,0.07), 0 10px 24px rgba(51,51,51,0.06);
  --ease: cubic-bezier(0.33, 0, 0.2, 1);
  --display: "new-spirit", "New Spirit", "Roca One", Georgia, "Times New Roman", serif;
  --body: "Raleway", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--body); color: var(--valn-grey); background: var(--valn-blush); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--valn-teal); text-underline-offset: 2px; transition: color 200ms var(--ease); }
a:hover { color: var(--valn-coral-hover); }
:focus-visible { outline: 3px solid var(--valn-teal); outline-offset: 2px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: var(--valn-white); padding: 8px 12px; z-index: 9; }

/* Header: teal ground, blush text, pea marks the current page */
/* ---- Banner (green) and side menu (soft teal, pea green marker). The banner's divider sits on the side menu's edge. ---- */
:root { --side-w: 248px; --valn-teal-soft: #1f6464; }  /* teal with 12% white, the shade Fiona picked */
.top { background: var(--valn-teal); color: var(--valn-blush); display: grid; grid-template-columns: var(--side-w) auto minmax(0, 1fr); align-items: center; min-height: 64px; }
.top :focus-visible { outline-color: var(--valn-pea); }
.top-logo { display: flex; align-items: center; padding: 14px 24px; }
.top-logo img { height: 34px; width: auto; display: block; }
.top-name { align-self: stretch; display: flex; align-items: center; border-left: 1px solid var(--line-dark); padding: 0 24px;
  font: 700 17px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--valn-white); text-decoration: none; }
.top-name:hover { color: var(--valn-peach); }
.top-right { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 28px; padding: 10px 24px; min-width: 0; }
.shell { display: block; flex: 1; }
.content { display: flex; flex-direction: column; min-width: 0; min-height: 100%; } .content > .main { flex: 1; width: 100%; }
.shell:not(.has-side) { display: flex; flex-direction: column; } .shell:not(.has-side) > .content { flex: 1; }
.shell.has-side { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); align-items: stretch; }
.shell.has-side > .content { min-width: 0; }
.shell.has-side .main { margin-left: 0; padding-left: 48px; padding-right: 48px; }
@media (max-width: 860px) { .shell.has-side .main { padding-left: 16px; padding-right: 16px; } }
.side { background: var(--valn-teal-soft); padding: 22px 16px 28px; display: flex; flex-direction: column; gap: 18px; }
.side :focus-visible { outline-color: var(--valn-pea); }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a { color: var(--valn-blush); text-decoration: none; padding: 10px 14px; border-radius: 8px; font-size: .95rem; font-weight: 500; }
.side-nav a:hover { background: rgba(255,255,255,0.07); color: var(--valn-white); }
.side-nav a[aria-current="page"] { background: rgba(255,255,255,0.12); color: var(--valn-white); font-weight: 700; box-shadow: inset 3px 0 0 var(--valn-pea); }
.side-extra { background: var(--valn-white); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.side-extra .tile-label + * { margin-bottom: 6px; }
.code-copy { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--valn-blush-deep); color: var(--valn-teal); border: 0; border-radius: 6px; padding: 4px 8px 4px 2px; cursor: pointer; font: inherit; margin-top: 0 !important; }
.code-copy code { background: none; font-size: .95rem; padding: 0 0 0 6px; }
.code-copy:hover, .code-copy.copied { background: var(--valn-peach); color: var(--valn-teal); }
.meter { display: block; height: 8px; background: var(--valn-blush-deep); border-radius: 999px; overflow: hidden; }
.meter-fill { display: block; height: 100%; width: 0; background: var(--valn-teal); }
.meter-10 { width: 10%; } .meter-20 { width: 20%; } .meter-30 { width: 30%; } .meter-40 { width: 40%; } .meter-50 { width: 50%; }
.meter-60 { width: 60%; } .meter-70 { width: 70%; } .meter-80 { width: 80%; } .meter-90 { width: 90%; } .meter-100 { width: 100%; }
.side-extra a.small { color: var(--valn-grey); }
@media (max-width: 860px) {
  .top { grid-template-columns: auto minmax(0, 1fr); } .top-right { grid-column: 1 / -1; justify-content: flex-start; padding: 0 16px 12px; }
  .top-logo { padding: 12px 16px; } .top-name { padding: 0 16px; font-size: 14px; }
  .shell.has-side { grid-template-columns: minmax(0, 1fr); } .side, .side-nav { min-width: 0; }
  .top-logo img { height: 28px; }
  .side { padding: 10px 12px; gap: 10px; }
  .side-nav { flex-direction: row; overflow-x: auto; } .side-nav a { white-space: nowrap; padding: 8px 12px; }
  .side-extra { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 12px; }
  .side-extra .tile-label + * { margin-bottom: 0; } .side-extra .meter { width: 80px; }
}
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nav a { color: var(--valn-blush); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; font-size: .92rem; font-weight: 500; }
.nav a:hover { color: var(--valn-white); border-color: var(--line-dark); }
.nav a[aria-current="page"] { color: var(--valn-white); border-color: var(--valn-pea); font-weight: 700; }
.signout { display: flex; gap: 10px; align-items: center; font-size: .85rem; }
.signout .who { color: var(--valn-blush); opacity: .9; }
.top button.link { color: var(--valn-pea); }

.main { max-width: 1120px; margin: 0 auto; padding: 40px 24px 64px; }
.foot { text-align: center; color: var(--valn-grey); font-size: .85rem; padding: 20px 24px; border-top: 1px solid var(--line); }
.foot a { color: var(--valn-teal); }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: 0; color: var(--valn-forest); }
h1 { font-size: 2.6rem; line-height: 1.15; margin: 0 0 16px; color: var(--valn-coral); }
h2 { font-size: 1.5rem; line-height: 1.15; margin: 32px 0 10px; }
h3 { font-size: 1.2rem; line-height: 1.2; margin: 20px 0 8px; color: var(--valn-teal); }
p { margin: 0 0 16px; }
.lead { font-size: 1.2rem; line-height: 1.6; }
.eyebrow { display: block; font: 700 12px/1.4 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--valn-coral); margin: 0 0 8px; }
.small { font-size: .875rem; color: var(--valn-grey); }
.error { color: #b3261e; font-weight: 700; margin: 4px 0 10px; }
code { background: var(--valn-blush-deep); padding: 1px 6px; border-radius: 6px; font-size: .9em; overflow-wrap: anywhere; }

/* Callouts: peach ground with teal text; warnings blush-deep with a coral word mark */
.notice { background: var(--valn-peach); color: var(--valn-teal); padding: 14px 18px; border-radius: 12px; font-weight: 500; }
.notice.warn { background: var(--valn-white); color: var(--valn-grey); border: 2px solid var(--valn-coral); }
.dev { background: var(--valn-white); border: 1px dashed var(--line); padding: 10px; word-break: break-all; border-radius: 6px; }

/* Buttons: rectangular, uppercase, tracked. Coral is the main call to action on light grounds. */
.button, button { display: inline-block; background: var(--valn-coral); color: var(--valn-blush); border: 2px solid var(--valn-coral); border-radius: 0; padding: 13px 22px; font: 700 12px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: background-color 200ms var(--ease), border-color 200ms var(--ease), transform 120ms var(--ease); }
.button:hover, button:hover { background: var(--valn-coral-hover); border-color: var(--valn-coral-hover); color: var(--valn-white); transform: translateY(-1px); }
.button:active, button:active { transform: none; }
.button.secondary, button.secondary { background: transparent; color: var(--valn-teal); border-color: var(--valn-teal); }
.button.secondary:hover, button.secondary:hover { background: var(--valn-teal); color: var(--valn-blush); }
button.link { background: none; border: 0; color: var(--valn-teal); padding: 0; text-decoration: underline; font: inherit; letter-spacing: 0; text-transform: none; transform: none; }
button.link:hover { background: none; color: var(--valn-coral-hover); }
button[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 20px 0; }

/* Cards and tiles: white on blush */
.cards, .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0 28px; }
.card, .tile, .panel, .lesson { background: var(--valn-white); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 22px 24px; }
.card h2, .panel h2:first-child { margin-top: 0; }
.tile { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: box-shadow 200ms var(--ease), transform 120ms var(--ease); }
a.tile:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; }
.tile-label { margin: 0; font: 700 11px/1.4 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--valn-teal); }
.tile-figure { margin: auto 0 0; padding-top: 10px; font: 600 2rem/1.1 var(--display); color: var(--valn-forest); overflow-wrap: anywhere; }
.tile-figure .small { font-family: var(--body); }
.panel { margin: 20px 0; }
.hero { max-width: 820px; }
.hero h1 { font-size: 3rem; line-height: 1.05; }

/* Forms */
.form label { display: block; margin: 14px 0 4px; font-weight: 700; color: var(--valn-teal); }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea, .inline-form input:not([type=checkbox]):not([type=radio]), .inline-form select { display: block; width: 100%; max-width: 640px; padding: 11px 12px; border: 1px solid rgba(51,51,51,0.28); border-radius: 6px; font: inherit; color: var(--valn-grey); background: var(--valn-white); margin-top: 4px; transition: border-color 200ms var(--ease); }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--valn-teal); }
.form textarea { max-width: 100%; }
.form.narrow { max-width: 440px; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
.form label.check, .form label.inline, label.check { font-weight: 400; color: var(--valn-grey); display: block; margin: 8px 0; padding-left: 26px; text-indent: -26px; }
label.check input, label.inline input { margin: 0 8px 0 0; text-indent: 0; accent-color: var(--valn-teal); }
label.inline { display: inline-flex !important; margin-right: 18px !important; }
fieldset { border: 1px solid var(--line); border-radius: 12px; margin: 18px 0; padding: 10px 18px 16px; background: var(--valn-white); }
legend { font: 700 11px/1.4 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--valn-teal); padding: 0 6px; }
.inline-form { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin: 4px 8px 4px 0; }
.inline-form label { font-size: .9rem; } .inline-form input:not([type=checkbox]):not([type=radio]), .inline-form select { width: auto; min-width: 140px; }
.inline-form button { padding: 10px 14px; }
.hp { position: absolute; left: -5000px; height: 0; overflow: hidden; }

/* Tables */
table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--valn-white); margin: 12px 0 20px; font-size: .95rem; border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
tr:last-child td { border-bottom: 0; }
th { overflow-wrap: normal; background: var(--valn-blush-deep); font: 700 11px/1.4 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--valn-teal); }
.num { text-align: right; white-space: nowrap; }
tr.ended td { color: rgba(51,51,51,0.6); }

/* Tags (the only pills) */
.badge { display: inline-block; background: var(--valn-blush-deep); color: var(--valn-teal); border-radius: 999px; padding: 3px 12px; font: 700 11px/1.4 var(--body); letter-spacing: 0.06em; }
.badge.good { background: var(--valn-pea); color: var(--valn-teal); }
.badge.warn { background: var(--valn-peach); color: var(--valn-teal); box-shadow: inset 0 0 0 2px var(--valn-coral); }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; } .facts dt { font-weight: 700; color: var(--valn-teal); } .facts dd { margin: 0; overflow-wrap: anywhere; }
input.copy { width: min(100%, 560px); padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: .9rem; background: var(--valn-blush); color: var(--valn-grey); }
.copy-btn { padding: 10px 14px; }
.lessons { padding-left: 1.2rem; } .lessons li { margin: 10px 0; } .lessons li.done a { color: rgba(51,51,51,0.6); }
.lesson { padding: 12px 28px 20px; }
.lesson + form, .lesson + p { margin-top: 24px; }
.lesson-shot { margin: 8px 0 20px; } .lesson-shot img { display: block; max-width: min(100%, 520px); height: auto; border: 1px solid #e6dcd3; border-radius: 10px; box-shadow: var(--shadow-sm); }
.lesson-shot figcaption { font-size: 0.85rem; color: rgba(51,51,51,0.7); margin-top: 6px; }
.inline-form.link-maker { display: flex; width: 100%; flex-wrap: wrap; gap: 12px; align-items: flex-end; } .link-maker label { flex: 1 1 380px; } .link-maker input { width: 100%; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 16px; } .tabs a { text-decoration: none; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; }
.tabs a[aria-current="page"] { font-weight: 700; color: var(--valn-teal); border-color: var(--valn-coral); }
pre.mail { white-space: pre-wrap; font: inherit; font-size: .9rem; background: var(--valn-blush); padding: 12px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; transform: none !important; } }
@media (max-width: 640px) {
  table { display: block; overflow-x: auto; } th, td { overflow-wrap: normal; min-width: 7rem; }
  .inline-form input:not([type=checkbox]):not([type=radio]), .inline-form select { min-width: 0; width: 100%; }
  .nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; max-width: 100%; min-width: 0; } .top > * { min-width: 0; max-width: 100%; } .nav a { white-space: nowrap; }
  .main { padding: 24px 16px 48px; } h1 { font-size: 1.75rem; } .hero h1 { font-size: 2.25rem; } th, td { padding: 8px; }
  .card, .tile, .panel { padding: 18px; }
}

.top-links { display: flex; gap: 18px; align-items: center; }
.top-signin, .top-site { color: var(--valn-pea); font-size: .85rem; font-weight: 700; }
.top-site { color: var(--valn-blush); font-weight: 500; }
.top-signin:hover, .top-site:hover { color: var(--valn-white); }

/* ---- Val, with something to say on each page ---- */
.val { display: flex; align-items: flex-end; gap: 4px; margin: 0 0 28px; }
.val img { width: auto; height: 170px; max-width: 180px; object-fit: contain; flex: none; }
.val-says { position: relative; margin: 0 0 34px; background: var(--valn-white); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 16px 20px; max-width: 560px; font-size: 1.02rem; color: var(--valn-grey); }
.val-says::before { content: ""; position: absolute; left: -10px; bottom: 18px; border: 10px solid transparent; border-right-color: var(--valn-white); border-left: 0; }
@media (max-width: 640px) { .val img { height: 120px; max-width: 110px; } .val-says { font-size: .95rem; padding: 12px 14px; margin-bottom: 22px; } }

/* ---- Headings: New Spirit at its regular weight (bold is off-brand) ---- */
/* Headings exactly as on valeadnetwork.com.au: New Spirit, weight 600, coral 42px for the page heading. */
h1, h2, h3, .brand-name, .tile-figure, .choice-name { font-weight: 600; }
h1 { font-size: 42px; line-height: 1.2; }

/* ---- Apply form ---- */
.apply { max-width: 820px; }
.step { background: var(--valn-white); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 24px 28px; margin: 0 0 18px; }
.step h2 { display: flex; align-items: center; gap: 12px; font-size: 1.4rem; margin: 0 0 6px; color: var(--valn-teal); }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; background: var(--valn-pea); color: var(--valn-teal); font: 700 14px/1 var(--body); flex: none; }
.step-last { background: transparent; box-shadow: none; padding: 4px 0 0; }
.step .small { margin: 0 0 12px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 10px 0 0; }
.form .choice { position: relative; display: block; cursor: pointer; margin: 0; font-weight: 400; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-body { display: block; height: 100%; border: 2px solid rgba(51,51,51,0.15); border-radius: 12px; padding: 16px 18px 16px 50px; transition: border-color 200ms var(--ease), background-color 200ms var(--ease); position: relative; }
.choice-body::before { content: ""; position: absolute; left: 16px; top: 18px; width: 20px; height: 20px; border: 2px solid var(--valn-teal); border-radius: 4px; background: var(--valn-white); }
.choice input:checked + .choice-body { border-color: var(--valn-teal); background: var(--valn-blush); }
.choice input:checked + .choice-body::before { background: var(--valn-teal); box-shadow: inset 0 0 0 3px var(--valn-white); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--valn-teal); outline-offset: 2px; }
.choice-name { display: block; font: 400 1.2rem/1.2 var(--display); color: var(--valn-teal); margin-bottom: 4px; }
.choice-blurb { display: block; font-size: .92rem; font-weight: 400; color: var(--valn-grey); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 10px 0 8px; }
.form .field { margin: 0; min-width: 0; }
.form .field > label, .form .label { display: block; margin: 0 0 6px; font-weight: 700; color: var(--valn-teal); font-size: .95rem; }
.form .field input:not([type=checkbox]):not([type=radio]), .form .field textarea { max-width: none; margin-top: 0; }
.opt { font-weight: 400; color: rgba(51,51,51,0.65); font-size: .85rem; margin-left: 4px; }
.hint { margin: -2px 0 8px; font-size: .88rem; color: rgba(51,51,51,0.75); }
fieldset.field { border: 0; padding: 0; margin: 22px 0 0; background: none; }
fieldset.field legend.label { padding: 0; text-transform: none; letter-spacing: 0; font: 700 .95rem/1.4 var(--body); }
.segmented { display: inline-flex; border: 2px solid var(--valn-teal); border-radius: 6px; overflow: hidden; }
.segmented label { margin: 0; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span { display: block; padding: 10px 26px; font-weight: 700; color: var(--valn-teal); }
.segmented label + label span { border-left: 2px solid var(--valn-teal); }
.segmented input:checked + span { background: var(--valn-teal); color: var(--valn-blush); }
.segmented input:focus-visible + span { outline: 3px solid var(--valn-pea); outline-offset: -3px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.check-row { display: flex !important; align-items: flex-start; gap: 10px; margin: 0; font-weight: 400 !important; color: var(--valn-grey) !important; padding: 0 !important; text-indent: 0 !important; cursor: pointer; }
.check-row input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--valn-teal); }
.check-row[hidden] { display: none !important; }
.form .error { margin: 6px 0 0; font-size: .9rem; }
@media (max-width: 700px) { .choices, .grid2, .checks { grid-template-columns: 1fr; } .step { padding: 20px 18px; } }

/* Space above form buttons and button rows */
form:not(.inline-form) > p > button[type=submit], .form > p > button, .step-last button[type=submit], p > .button { margin-top: 14px; }
.step-last .cf-turnstile { margin: 16px 0 4px; }
.panel p > .button { margin-top: 6px; }
.card.method { margin: 0 0 18px; max-width: 720px; }
.card.method .form { margin-top: 8px; }
.doc { background: var(--valn-white); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 28px 32px; max-width: 820px; }
.doc-parties { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 18px 0; }
.doc-parties h2 { font-size: 1rem; margin: 0 0 4px; }
.doc-agreement { border-top: 1px solid rgba(0,0,0,0.12); margin-top: 18px; padding-top: 10px; }
@media print { .top, .side, .site-footer, footer, .no-print, .notice { display: none !important; } .shell.has-side .main { padding: 0 !important; } .doc { box-shadow: none; padding: 0; max-width: none; } body { background: #fff; } }

/* Status pills, filters and row forms */
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; background: #ecebe6; color: var(--valn-grey); white-space: nowrap; }
.pill.good { background: #dcefd9; color: #23562a; }
.pill.wait { background: #fbeedb; color: #7a4b12; }
.pill.bad { background: #f8dcd6; color: #8a2a1b; }
.pill.neutral { background: #ecebe6; color: var(--valn-grey); }
.filters { gap: 12px; flex-wrap: wrap; align-items: end; }
.az { font-size: 0.9rem; letter-spacing: 0.04em; }
.az a { text-decoration: none; padding: 1px 3px; }
.az a.on { font-weight: 700; text-decoration: underline; }
.row-form { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.row-form input, .row-form select { max-width: 160px; padding: 6px 8px; font-size: 0.85rem; }

/* Getting-started checklist, group progress and meters */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 6px; }
.small-btn { padding: 8px 14px; font-size: 11px; }
.meter.progress { margin: 6px 0 12px; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.steps li.done { color: #6b6b6b; }
.steps .tick { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--valn-teal); align-items: center; justify-content: center; font-size: 12px; vertical-align: middle; margin-right: 6px; color: var(--valn-white); }
.steps li.done .tick { background: var(--valn-teal); }
.quote { background: #f6f4ee; border-left: 3px solid var(--valn-pea, #b5c86b); padding: 10px 14px; border-radius: 6px; }
.badges { display: flex; flex-wrap: wrap; gap: 16px; }
.badge-card { margin: 0; text-align: center; background: #faf9f5; padding: 12px; border-radius: 10px; }
.badge-card img { display: block; margin: 0 auto 8px; height: auto; }
/* Earnings chart: bars sized by class (no inline styles, per the page policy) */
.bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; height: 180px; padding-top: 8px; }
.bar-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.bar { display: block; width: 70%; background: var(--valn-teal); border-radius: 4px 4px 0 0; min-height: 2px; }
.bar-amt { font-size: 0.7rem; white-space: nowrap; }
.bar-label { margin-top: 4px; }
.bar-0 { height: 1px; }
.bar-5 { height: 6px; }
.bar-10 { height: 13px; }
.bar-15 { height: 20px; }
.bar-20 { height: 26px; }
.bar-25 { height: 32px; }
.bar-30 { height: 39px; }
.bar-35 { height: 46px; }
.bar-40 { height: 52px; }
.bar-45 { height: 58px; }
.bar-50 { height: 65px; }
.bar-55 { height: 72px; }
.bar-60 { height: 78px; }
.bar-65 { height: 84px; }
.bar-70 { height: 91px; }
.bar-75 { height: 98px; }
.bar-80 { height: 104px; }
.bar-85 { height: 110px; }
.bar-90 { height: 117px; }
.bar-95 { height: 124px; }
.bar-100 { height: 130px; }
/* Training tiles */
.lesson-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 16px; }
.lesson-card { display: flex; flex-direction: column; gap: 8px; background: var(--valn-white); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 16px; text-decoration: none; color: inherit; transition: transform 120ms var(--ease), box-shadow 120ms var(--ease); }
.lesson-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md, 0 6px 18px rgba(0,0,0,0.08)); }
.lesson-pic { display: flex; justify-content: center; background: #f6f4ee; border-radius: 10px; padding: 8px; }
.lesson-pic img { height: 120px; width: auto; }
.lesson-card.done .lesson-pic { background: #eaf3e6; }
.lesson-title { font-size: 1.05rem; }
/* Help */
.help { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.help-side { background: var(--valn-white); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 16px; position: sticky; top: 16px; }
.help-side input { width: 100%; margin-bottom: 8px; }
.help-section { font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; margin: 14px 0 4px; color: var(--valn-teal); }
.help-side ul { list-style: none; padding: 0; margin: 0; }
.help-side li a { display: block; padding: 4px 6px; border-radius: 6px; text-decoration: none; }
.help-side li a.on { background: rgba(31,100,100,0.1); font-weight: 600; }
.help-body { background: var(--valn-white); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 24px 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 860px) { .help { grid-template-columns: 1fr; } .help-side { position: static; } .bars { height: 140px; } }

td.nowrap { white-space: nowrap; }
.help-side input { padding: 8px 10px; border: 1px solid #d9d4c7; border-radius: 8px; font: inherit; }

.steps-numbered { padding-left: 1.2em; } .steps-numbered li { margin: 6px 0; }

/* Admin preview banner: unmistakable on every page while an admin looks at the portal as someone else. */
.preview-bar{background:#7A2018;color:#fff;padding:10px 16px;font-size:15px}
.preview-bar strong{color:#fff}
.preview-bar button{margin-left:10px;background:#fff;color:#7A2018;border:0;border-radius:6px;padding:4px 12px;font-weight:700;cursor:pointer}
.lookup-section{margin-top:22px}
.lookup-who{font-size:14px;background:#EEF5F4;border-radius:6px;padding:6px 9px;margin:4px 0 0}

/* Val panels mirrored so her gesture points at the speech bubble. */
.val-flip { transform: scaleX(-1); }
/* Share buttons and QR codes on the Links page (19 Nov 2026) */
.share-row { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.share-btn { display: inline-block; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; text-decoration: none; }
.share-btn:hover, .share-btn:focus { background: var(--valn-blush); }
details.qr { margin-top: 6px; }
details.qr summary { cursor: pointer; font-size: .9rem; }
details.qr img { display: block; margin: 8px 0; background: #fff; border-radius: 6px; }
.link-item { margin: 0 0 18px; }
/* Admin > Short links (19 Nov 2026) */
form.stack { display: grid; gap: 8px; max-width: 560px; }
form.stack input { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; }
tr.muted { opacity: .6; }
/* Copy buttons are the copy icon from the side menu (Fiona, 21 Nov 2026); "Copied" shows beside it for a moment. */
.icon-copy { position: relative; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; width: 32px; height: 32px; padding: 0; margin: 0 2px; border: 0; border-radius: 6px; background: var(--valn-blush-deep); color: var(--valn-teal); cursor: pointer; }
.icon-copy:hover, .icon-copy.copied { background: var(--valn-peach); color: var(--valn-teal); }
.icon-copy.copied::after { content: "Copied"; position: absolute; left: calc(100% + 6px); top: 50%; transform: translateY(-50%); font-size: .8rem; font-weight: 600; white-space: nowrap; background: var(--valn-teal); color: #fff; padding: 2px 8px; border-radius: 4px; }
/* Member actions tucked behind one Manage button per row (Fiona, 21 Nov 2026). */
details.actions > summary { display: inline-block; cursor: pointer; font-weight: 600; color: var(--valn-teal); padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; list-style: none; }
details.actions > summary::-webkit-details-marker { display: none; }
details.actions[open] > summary { margin-bottom: 8px; }
details.actions .inline-form { display: block; margin: 0 0 8px; }
/* Tiles: labels take the same room so figures line up, with any note underneath (Fiona, 21 Nov 2026). */
.tile-label { min-height: 2.8em; }
.tile-figure { margin: 0; }
.tile .small { margin: 6px 0 0; }
/* Tables: wrap long words only when they must, so names and dates don't break mid-word (Fiona, 21 Nov 2026). */
th, td { overflow-wrap: break-word; }
td.num, th.num { white-space: nowrap; }
ul.plain { list-style: none; padding-left: 0; } ul.plain li { margin: 0 0 10px; }
