/* Turnout demo. Colours, type and sizes are taken from the Bubble app being built
   (vms-15340 test version, measured 27 Nov 2026 at 1440 px wide). */
:root {
  --bg: #FFFFFA;          /* page */
  --white: #FFFFFF;       /* cards, inputs */
  --mint: #94C7B8;        /* header, light accents */
  --green: #539987;       /* primary buttons, sidebar, borders */
  --green-dark: #3F7868;  /* accent text */
  --sage: #79B9A6;        /* "Log In" */
  --sage-2: #5FAB94;      /* "Sign Up" */
  --ink: #2C1E11;         /* body text */
  --ink-2: #322214;       /* big headings */
  --on-green: #FFFFFA;
  --muted-on-green: #D7EAE4;
  --pill-green-bg: rgba(148, 199, 184, 0.7);
  --pill-yellow-bg: #FFDC8A; --pill-yellow: #B88100;
  --pill-grey-bg: #E6E6E6;   --pill-grey: #8A8A8A;
  --pill-red-bg: #F9B3A9;    --pill-red: #994411;
  --pill-blue-bg: #AFCEF8;   --pill-blue: #0C29AB;
  --radius: 10px;
  --font: "Montserrat", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 18px; font-weight: 500; line-height: 1.4; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
.ic { flex: none; vertical-align: middle; }
[hidden] { display: none !important; }

/* ---------- demo strip (not part of the product) ---------- */
.demobar { position: sticky; top: 0; z-index: 50; height: 44px; background: #23463C; color: #F1F7F4; display: flex; align-items: center; gap: 18px; padding: 0 20px; font-size: 14px; font-weight: 600; }
.demobar .tag { background: #F5C451; color: #3A2A00; border-radius: 6px; padding: 3px 8px; font-size: 12px; letter-spacing: .06em; }
.demobar a, .demobar button { white-space: nowrap; color: #F1F7F4; background: none; border: 0; font: inherit; padding: 6px 8px; border-radius: 6px; display: inline-flex; align-items: center; gap: 6px; }
.demobar a:hover, .demobar button:hover, .demobar a.on { background: rgba(255,255,255,.14); }
.demobar .sp { flex: 1; }
.demobar select { font: inherit; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 4px 8px; }
.demobar select option { color: #222; }
@media (max-width: 900px) { .demobar .hide-sm { display: none; } .demobar { gap: 6px; padding: 0 10px; overflow-x: auto; } }

/* ---------- public (volunteer) header ---------- */
.pub-header { height: 101px; background: var(--mint); display: flex; align-items: center; padding: 0 32px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 38px; font-weight: 700; letter-spacing: -.01em; }
.logo .ic { width: 50px; height: 50px; color: var(--ink-2); }
.pub-nav { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 56px; padding-right: 20px; }
.pub-nav a { font-size: 24px; font-weight: 600; color: var(--ink); }
.pub-nav a.on { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; }
.btn-login, .btn-signup { height: 53px; padding: 0 22px; border-radius: 8px; border: 3px solid var(--sage); background: var(--sage); color: var(--ink); font-size: 22px; font-weight: 600; display: inline-flex; align-items: center; }
.btn-signup { background: var(--sage-2); border-color: rgba(121,185,166,.2); }
.user-btn { width: 48px; height: 48px; display: grid; place-items: center; color: var(--ink); background: none; border: 0; border-radius: 50%; position: relative; }
.user-btn .ic { width: 40px; height: 40px; }
.menu { position: absolute; right: 0; top: 54px; background: var(--white); border: 2px solid var(--green); border-radius: var(--radius); min-width: 240px; padding: 8px; z-index: 30; text-align: left; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.menu a, .menu button { display: flex; gap: 10px; align-items: center; width: 100%; padding: 10px 12px; border-radius: 8px; font-size: 18px; font-weight: 600; color: var(--ink); background: none; border: 0; }
.menu a:hover, .menu button:hover { background: rgba(148,199,184,.25); }
.menu .who { padding: 10px 12px 12px; border-bottom: 1px solid var(--mint); margin-bottom: 6px; font-size: 16px; color: var(--green-dark); }
.menu .who b { display: block; color: var(--ink); font-size: 18px; }

.page { max-width: 1440px; margin: 0 auto; padding: 0 64px 80px; }
.eyebrow { font-size: 24px; font-weight: 600; color: var(--green-dark); text-transform: uppercase; letter-spacing: .01em; }
.h-hero { font-size: 42px; font-weight: 700; color: var(--ink-2); margin: 8px 0 12px; line-height: 1.25; }
.lead { font-size: 22px; font-weight: 500; color: var(--ink); }
.h-section { font-size: 36px; font-weight: 700; color: var(--ink-2); margin: 0; }
.h-sub { font-size: 28px; font-weight: 600; color: var(--ink); margin: 0; }
.center { text-align: center; }
.rule { height: 1px; background: var(--green); border: 0; margin: 40px 0; }

/* org page */
.org-head { text-align: center; padding: 64px 0 0; }
.org-badge { width: 160px; height: 160px; border-radius: 50%; background: rgba(148,199,184,.5); display: grid; place-items: center; margin: 0 auto 12px; color: var(--green-dark); overflow: hidden; }
.org-badge .ic { width: 80px; height: 80px; }
.org-contacts { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.org-contacts span, .org-contacts a { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 600; color: var(--green); }
.org-desc { max-width: 900px; margin: 20px auto 0; font-size: 20px; color: var(--ink); }
.branch-card { background: var(--white); border: 2px solid var(--green); border-radius: var(--radius); padding: 22px 30px; display: flex; gap: 14px; align-items: flex-start; margin: 0 12px 16px; }
.branch-card .ic { color: var(--green-dark); margin-top: 4px; }
.branch-card b { font-size: 26px; font-weight: 700; color: var(--ink); display: block; }
.branch-card span { font-size: 20px; font-weight: 600; color: var(--green); }
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin: 28px 0 24px; flex-wrap: wrap; }
.search { flex: 1; display: flex; gap: 12px; }
.search input { flex: 1; height: 70px; border: 3px solid var(--mint); border-radius: var(--radius); padding: 0 18px; font-size: 18px; color: var(--ink); background: var(--white); outline: none; }
.search input:focus { border-color: var(--green); }
.search .go { width: 64px; height: 64px; margin-top: 3px; border-radius: var(--radius); border: 2px solid var(--mint); background: var(--mint); color: var(--white); display: grid; place-items: center; }
select.sel { height: 60px; min-width: 184px; border: 3px solid var(--green); border-radius: var(--radius); background: var(--white); color: var(--green-dark); font-size: 18px; font-weight: 500; padding: 0 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.opp-card { background: var(--white); border: 3px solid var(--mint); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.opp-card img { width: 100%; aspect-ratio: 421 / 316; object-fit: cover; display: block; }
.opp-card .body { padding: 18px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.opp-card .cat { font-size: 20px; font-weight: 600; color: var(--green-dark); text-transform: uppercase; }
.opp-card h3 { font-size: 30px; font-weight: 700; color: var(--ink); margin: 6px 0 8px; line-height: 1.3; }
.opp-card .meta { font-size: 20px; font-weight: 600; color: var(--green); display: flex; gap: 8px; align-items: center; }
.opp-card .btn-details { margin-top: auto; height: 56px; border-radius: 5px; background: var(--green); border: 2px solid var(--green); color: var(--on-green); font-size: 20px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; }
.opp-card .spacer { flex: 1; min-height: 10px; }
.empty { border: 3px dashed var(--mint); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--green-dark); font-size: 20px; }

/* opportunity details */
.back { display: inline-flex; gap: 10px; align-items: center; font-size: 24px; font-weight: 600; color: var(--green); margin: 40px 0 24px; }
.details-top { display: grid; grid-template-columns: 700px 1fr; gap: 32px; align-items: start; }
.details-top img { width: 100%; aspect-ratio: 700 / 480; object-fit: cover; border-radius: var(--radius); }
.tag-pill { display: inline-flex; gap: 10px; align-items: center; background: rgba(148,199,184,.6); color: var(--green); font-size: 20px; font-weight: 600; text-transform: uppercase; border-radius: 20px; padding: 12px 24px; margin: 0 0 12px; }
.details-top h1 { font-size: 34px; font-weight: 700; color: var(--ink); margin: 12px 0 0; }
.organised { text-align: right; font-size: 20px; font-weight: 600; color: var(--green); border-bottom: 1px solid var(--mint); padding-bottom: 20px; margin-bottom: 20px; }
.details-top h2, .col h2 { font-size: 24px; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.details-top p { font-size: 20px; margin: 0; }
.details-bottom { display: grid; grid-template-columns: 1fr 411px; gap: 40px; margin-top: 48px; align-items: start; }
.dates { display: flex; flex-direction: column; gap: 16px; }
.date-card { background: var(--white); border: 2px solid var(--mint); border-radius: var(--radius); padding: 20px 24px; }
.date-card .when { display: flex; gap: 24px; flex-wrap: wrap; font-size: 20px; font-weight: 600; color: var(--green); margin-bottom: 12px; }
.date-card .when span { display: inline-flex; align-items: center; gap: 8px; }
.date-card .when .d { color: var(--ink); font-size: 22px; font-weight: 700; }
.shift-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(148,199,184,.6); }
.shift-row .role { flex: 1; font-size: 20px; font-weight: 600; }
.shift-row .role small { display: block; font-size: 16px; font-weight: 500; color: var(--green-dark); margin-top: 2px; }
.shift-row .left { font-size: 18px; font-weight: 600; color: var(--green); min-width: 150px; text-align: right; }
.side-box { background: var(--white); border: 2px solid var(--green); border-radius: var(--radius); padding: 26px; position: sticky; top: 70px; }
.side-box h3 { text-align: center; font-size: 24px; font-weight: 700; margin: 0 0 18px; }
.side-box .row { display: flex; gap: 12px; align-items: center; font-size: 20px; font-weight: 600; color: var(--green); margin: 0 0 30px; }
.side-box .note { text-align: center; font-size: 18px; font-style: italic; color: rgba(83,153,135,.7); margin-top: 10px; }

/* buttons */
.btn { height: 44px; padding: 0 22px; border-radius: var(--radius); border: 3px solid var(--green); background: var(--green); color: var(--on-green); font-size: 18px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; }
.btn.lg { height: 56px; font-size: 20px; width: 100%; border-width: 2px; border-color: var(--mint); }
.btn.out { background: var(--bg); color: var(--green); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--green); }
.btn.warn { background: var(--white); color: var(--pill-red); border-color: var(--pill-red-bg); }
.btn.sm { height: 38px; padding: 0 14px; font-size: 16px; }
.btn:disabled { opacity: .55; cursor: default; }
.btn-hero { height: 69px; padding: 0 26px; border-radius: var(--radius); font-size: 22px; font-weight: 600; border: 3px solid var(--green); background: var(--green); color: var(--on-green); display: inline-flex; align-items: center; gap: 10px; }
.btn-hero.out { background: var(--bg); color: var(--green-dark); }

/* pills */
.pill { display: inline-flex; align-items: center; height: 41px; padding: 0 16px; border-radius: var(--radius); font-size: 18px; font-weight: 600; white-space: nowrap; background: var(--pill-green-bg); color: var(--green-dark); }
.pill.yellow { background: var(--pill-yellow-bg); color: var(--pill-yellow); }
.pill.grey { background: var(--pill-grey-bg); color: var(--pill-grey); }
.pill.red { background: var(--pill-red-bg); color: var(--pill-red); }
.pill.blue { background: var(--pill-blue-bg); color: var(--pill-blue); }
.pill.round { border-radius: 50px; background: var(--mint); color: var(--on-green); height: 46px; font-size: 24px; padding: 0 18px; }
.pill.sm { height: 32px; font-size: 15px; padding: 0 10px; }

/* my activities */
.tabs-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0 30px; }
.tabs-big button { height: 72px; border-radius: 50px; border: 0; background: var(--mint); color: var(--on-green); font-size: 26px; font-weight: 600; }
.tabs-big button.on { background: var(--green); }
.act-card { border: 3px solid var(--mint); border-radius: var(--radius); padding: 35px 47px 0; margin-bottom: 28px; }
.act-card .top { display: flex; gap: 36px; }
.act-card img { width: 270px; height: 270px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--mint); flex: none; }
.act-card h3 { font-size: 32px; font-weight: 700; margin: 12px 0 6px; flex: 1; }
.act-card .org { font-size: 26px; font-weight: 600; color: var(--green); margin-bottom: 12px; }
.act-card .line { display: flex; align-items: center; gap: 12px; font-size: 24px; margin: 6px 0; }
.act-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--mint); margin-top: 26px; padding: 18px 0; }
.act-card .foot .msg { font-size: 24px; font-weight: 600; color: var(--green); }
.hours-banner { display: flex; gap: 24px; align-items: center; background: var(--white); border: 3px solid var(--green); border-radius: var(--radius); padding: 22px 30px; margin-top: 10px; }
.hours-banner .big { font-size: 42px; font-weight: 700; color: var(--green-dark); }

/* auth (split) pages */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 44px); }
.auth .left { background: var(--green); color: var(--on-green); display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.auth .left .ic { width: 56px; height: 56px; }
.auth .left h2 { font-size: 40px; font-weight: 700; margin: 12px 0; }
.auth .left p { font-size: 24px; font-weight: 600; max-width: 640px; margin: 0; }
.auth .right { padding: 64px 46px; display: flex; flex-direction: column; justify-content: center; }
.auth .form { width: 100%; max-width: 626px; }
.auth h1 { font-size: 38px; font-weight: 700; margin: 0; }
.auth .subtitle { font-size: 24px; font-weight: 600; color: var(--green-dark); margin: 4px 0 40px; }
.steps { display: flex; align-items: center; gap: 4px; margin-bottom: 40px; font-size: 16px; white-space: nowrap; }
.steps i { display: block; width: 170px; height: 12px; border-radius: 10px; background: var(--mint); margin-left: 8px; }
.steps i.on { background: var(--green-dark); }
.field { margin-bottom: 30px; }
.field label { display: block; font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; height: 60px; border: 2px solid var(--mint); border-radius: var(--radius); background: var(--white); padding: 0 14px; font-size: 18px; color: var(--ink); outline: none; }
.field textarea { height: 110px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.field .hint { font-size: 16px; color: var(--green); margin-top: 8px; }
.field .err { font-size: 16px; color: var(--pill-red); margin-top: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.chips-pick { display: flex; flex-wrap: wrap; gap: 10px; }
.chips-pick button { height: 50px; padding: 0 18px; border-radius: 50px; border: 3px solid var(--green); background: var(--white); color: var(--green); font-size: 18px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.chips-pick button.on { background: var(--green); color: var(--on-green); }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; margin: 14px 0; }
.check input { width: 24px; height: 24px; accent-color: var(--green); flex: none; margin-top: 2px; }
.linkish { color: var(--green-dark); font-size: 20px; font-weight: 600; }
.linkish a, a.u { text-decoration: underline; font-style: italic; }
.notice { background: rgba(148,199,184,.25); border: 2px solid var(--mint); border-radius: var(--radius); padding: 16px 20px; font-size: 17px; margin-bottom: 24px; }
.notice.warn { background: #FFF6DD; border-color: var(--pill-yellow-bg); }
.notice.err { background: #FDECEA; border-color: var(--pill-red-bg); color: var(--pill-red); }
.demo-fill { display: flex; gap: 12px; align-items: center; background: #FFF6DD; border: 2px dashed var(--pill-yellow-bg); border-radius: var(--radius); padding: 12px 16px; font-size: 16px; margin-bottom: 28px; }
.demo-fill b { color: #6B4E00; }

/* ---------- staff portal ---------- */
.staff-header { height: 104px; background: var(--mint); display: flex; align-items: center; padding: 0 32px; gap: 20px; }
.staff-header .logo { font-size: 40px; }
.portal-badge { background: var(--green); color: var(--on-green); border-radius: var(--radius); font-size: 18px; font-weight: 600; padding: 8px 16px; }
.staff-header .sp { flex: 1; }
.shell { display: flex; min-height: calc(100vh - 148px); }
.sidebar { width: 340px; flex: none; background: var(--green); padding: 64px 34px 40px; color: var(--on-green); }
.sidebar .lbl { font-size: 20px; font-weight: 500; color: var(--muted-on-green); text-transform: uppercase; }
.sidebar .org { font-size: 28px; font-weight: 600; margin: 4px 0 34px; line-height: 1.3; }
.sidebar hr { border: 0; height: 1px; background: var(--mint); margin: 0 0 32px; }
.sidebar nav a { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 10px; border-radius: var(--radius); font-size: 26px; font-weight: 600; margin-bottom: 33px; color: var(--on-green); }
.sidebar nav a .ic { width: 32px; height: 32px; }
.sidebar nav a.on { background: var(--mint); }
.sidebar nav a .count { margin-left: auto; background: var(--pill-yellow-bg); color: var(--pill-yellow); font-size: 16px; border-radius: 20px; padding: 2px 10px; }
.main { flex: 1; min-width: 0; padding: 32px 32px 80px; }
.title { font-size: 32px; font-weight: 600; color: var(--ink); margin: 0; }
.subtitle-s { font-size: 20px; font-weight: 500; color: var(--green-dark); margin: 4px 0 26px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.sec-head h2 { font-size: 24px; font-weight: 600; margin: 0; }
.sec-head .shown { font-size: 20px; font-weight: 500; color: var(--green); }
.s-search { width: 100%; height: 54px; border: 2px solid var(--green); border-radius: var(--radius); padding: 0 12px; font-size: 18px; background: transparent; color: var(--ink); outline: none; margin-bottom: 16px; }
.chips { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.chips button { min-width: 107px; height: 47px; padding: 0 22px; border-radius: 50px; border: 3px solid var(--green); background: var(--white); color: var(--green); font-size: 18px; font-weight: 600; }
.chips button.on { background: var(--green); color: var(--on-green); }
.card { background: var(--white); border: 3px solid var(--green); border-radius: var(--radius); padding: 32px 35px 18px; margin-bottom: 24px; }
.card .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.card h3 { font-size: 24px; font-weight: 600; margin: 0; color: var(--ink); }
.card .cat { font-size: 20px; font-weight: 600; color: var(--green-dark); margin-top: 4px; }
.card .meta { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 18px; font-size: 18px; }
.card .meta span { display: inline-flex; gap: 8px; align-items: center; }
.card .meta .ic { color: var(--green-dark); width: 24px; height: 24px; }
.card .meta.green { color: var(--green-dark); font-size: 20px; }
.card .meta.green .ic { color: var(--green-dark); }
.card .sub { font-size: 20px; color: var(--green-dark); margin-top: 2px; }
.card .foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--green); margin-top: 24px; padding-top: 22px; }
.card .foot .r { margin-left: auto; display: flex; gap: 10px; }
.card.plain { padding: 24px 28px; }
.avatar { width: 78px; height: 78px; border-radius: 50%; background: var(--mint); color: var(--green-dark); display: grid; place-items: center; font-size: 24px; font-weight: 600; flex: none; }
.avatar.sm { width: 48px; height: 48px; font-size: 17px; }
.who-row { display: flex; gap: 16px; align-items: center; }
.who-row b { font-size: 24px; font-weight: 600; display: block; }
.who-row span { font-size: 20px; color: var(--green-dark); }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 14px; margin: 0 12px 14px; }
.kpis.four { grid-template-columns: repeat(4, 1fr); margin: 0 0 24px; }
.kpi { background: var(--white); border: 2px solid var(--green); border-radius: var(--radius); padding: 20px 24px 22px; }
.kpi .t { display: flex; justify-content: space-between; align-items: center; font-size: 20px; font-weight: 600; }
.kpi .v { text-align: center; font-size: 40px; font-weight: 700; color: var(--green-dark); margin-top: 8px; }
.kpi .v.small { font-size: 32px; }
.kpi .s { text-align: center; font-size: 16px; color: var(--green-dark); }
.panel { background: var(--white); border: 2px solid var(--green); border-radius: var(--radius); padding: 22px 24px; margin: 0 12px 24px; }
.panel h3 { font-size: 24px; font-weight: 600; margin: 0 0 16px; }
.bar-row { margin-bottom: 16px; }
.bar-row .lbl { display: flex; justify-content: space-between; font-size: 18px; margin-bottom: 6px; }
.bar-row .lbl b { color: var(--green); font-weight: 600; }
.bar { height: 16px; background: rgba(148,199,184,.7); border-radius: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green); border-radius: 10px; }
.perf { background: var(--white); border: 2px solid var(--green); border-radius: var(--radius); padding: 16px 24px; margin: 0 12px 14px; }
.perf h4 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.perf .cols { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 12px; }
.perf .cols div:nth-child(2) { text-align: center; } .perf .cols div:nth-child(3) { text-align: right; }
.perf .cols small { display: block; font-size: 18px; color: var(--green); }
.perf .cols b { font-size: 20px; font-weight: 600; }
.alert-card { border-color: var(--pill-yellow); background: #FFFBF0; }
.table { width: 100%; border-collapse: collapse; font-size: 17px; }
.table th { text-align: left; font-size: 15px; font-weight: 600; color: var(--green-dark); text-transform: uppercase; letter-spacing: .02em; padding: 10px 12px; border-bottom: 2px solid var(--mint); }
.table td { padding: 14px 12px; border-bottom: 1px solid rgba(148,199,184,.5); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .muted { color: var(--green-dark); font-size: 15px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; background: #F3F8F6; border: 2px solid var(--mint); border-radius: var(--radius); padding: 16px; white-space: pre-wrap; word-break: break-all; color: #23463C; }
.link-btn { background: none; border: 0; color: var(--green); font-weight: 600; font-size: inherit; padding: 0; text-decoration: underline; }

/* modal + toast */
.overlay { position: fixed; inset: 0; background: rgba(20, 35, 30, .45); z-index: 80; display: grid; place-items: center; padding: 20px; }
.modal { background: var(--bg); border-radius: 14px; border: 3px solid var(--green); width: min(720px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 32px 36px; position: relative; }
.modal.wide { width: min(980px, 100%); }
.modal h2 { font-size: 28px; font-weight: 700; margin: 0 0 6px; }
.modal .x { position: absolute; right: 16px; top: 16px; background: none; border: 0; color: var(--green-dark); }
.modal .actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: #23463C; color: #fff; border-radius: 10px; padding: 14px 22px; font-size: 17px; font-weight: 600; z-index: 90; box-shadow: 0 10px 30px rgba(0,0,0,.2); max-width: calc(100vw - 32px); }
.toast.err { background: #8A3A12; }
.spinner { width: 28px; height: 28px; border: 4px solid var(--mint); border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; margin: 60px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* drawer (demo inbox / guide) */
.drawer { position: fixed; top: 44px; right: 0; bottom: 0; width: min(560px, 100vw); background: #FBFDFC; border-left: 3px solid var(--green); z-index: 70; display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,.08); }
.drawer header { display: flex; align-items: center; gap: 10px; padding: 18px 22px; border-bottom: 2px solid var(--mint); font-size: 22px; font-weight: 700; }
.drawer header .sp { flex: 1; }
.drawer .body { overflow: auto; padding: 18px 22px; flex: 1; }
.mail { border: 2px solid var(--mint); border-radius: var(--radius); background: var(--white); margin-bottom: 12px; }
.mail summary { list-style: none; padding: 14px 16px; cursor: pointer; }
.mail summary::-webkit-details-marker { display: none; }
.mail summary b { display: block; font-size: 17px; }
.mail summary span { font-size: 14px; color: var(--green-dark); }
.mail .txt { padding: 0 16px 16px; font-size: 15px; white-space: pre-wrap; word-break: break-word; }
.mail .txt a { color: var(--green); text-decoration: underline; font-weight: 600; }
.guide ol { padding-left: 22px; margin: 0; }
.guide li { margin-bottom: 14px; font-size: 16px; }
.guide li a { color: var(--green); font-weight: 700; text-decoration: underline; }
.guide h4 { margin: 18px 0 8px; font-size: 17px; color: var(--green-dark); text-transform: uppercase; letter-spacing: .04em; }

/* landing */
.landing { max-width: 1240px; margin: 0 auto; padding: 56px 32px 80px; }
.landing .hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.landing .hero img { width: 100%; border-radius: 16px; aspect-ratio: 4/3; object-fit: cover; border: 3px solid var(--mint); }
.demo-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.demo-choice .card { padding: 0; overflow: hidden; }
.demo-choice img { width: 100%; height: 230px; object-fit: cover; display: block; }
.demo-choice .in { padding: 26px 30px 28px; }
.demo-choice h3 { font-size: 30px; font-weight: 700; margin: 6px 0 8px; }
.demo-choice p { font-size: 18px; margin: 0 0 18px; }
.demo-choice .links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.demo-choice .links .btn { width: 100%; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.facts .kpi .v { font-size: 34px; }

/* the organisation's own website (fictional) */
.site { background: #fff; min-height: calc(100vh - 44px); font-family: Georgia, "Times New Roman", serif; color: #2b2b2b; }
.site .top { display: flex; align-items: center; gap: 16px; padding: 18px 48px; border-bottom: 1px solid #e6e2d8; }
.site .top b { font-size: 26px; }
.site .top nav { margin-left: auto; display: flex; gap: 28px; font-family: Arial, sans-serif; font-size: 15px; color: #555; }
.site .banner { height: 300px; background-size: cover; background-position: center; position: relative; }
.site .banner div { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.05)); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 0 48px; }
.site .banner h1 { font-size: 46px; margin: 0 0 8px; }
.site .banner p { font-size: 20px; margin: 0; font-family: Arial, sans-serif; }
.site .content { max-width: 1060px; margin: 0 auto; padding: 40px 32px 60px; }
.site .content h2 { font-size: 32px; margin: 0 0 6px; }
.site .content p { font-family: Arial, sans-serif; font-size: 16px; color: #555; }
.site .callout { font-family: Arial, sans-serif; font-size: 14px; background: #FFF6DD; border: 1px dashed #d9b44a; border-radius: 8px; padding: 10px 14px; margin: 14px 0 22px; color: #6b4e00; }

/* rush */
.rush .bigs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0; }

/* ---------- smaller screens ---------- */
@media (max-width: 1280px) {
  .pub-nav { gap: 32px; } .pub-nav a { font-size: 21px; }
  .details-top { grid-template-columns: 1fr 1fr; }
  .sidebar { width: 280px; padding: 48px 24px; } .sidebar nav a { font-size: 22px; margin-bottom: 22px; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .pub-header, .staff-header { height: 72px; padding: 0 16px; gap: 10px; }
  .logo { font-size: 28px; } .logo .ic { width: 36px; height: 36px; }
  .staff-header .logo { font-size: 28px; }
  .pub-nav { gap: 14px; padding-right: 0; } .pub-nav a.nav-x { display: none; }
  .btn-login, .btn-signup { height: 42px; font-size: 16px; padding: 0 10px; white-space: nowrap; }
  .org-contacts { gap: 10px 24px; } .org-contacts span, .org-contacts a { font-size: 16px; } .org-desc { font-size: 17px; } .org-badge { width: 110px; height: 110px; } .org-badge .ic { width: 56px; height: 56px; }
  .page { padding: 0 16px 60px; }
  .eyebrow { font-size: 16px; } .h-hero { font-size: 30px; } .lead { font-size: 17px; } .h-section { font-size: 26px; }
  .grid3, .demo-choice, .facts, .split, .landing .hero, .details-top, .details-bottom, .kpis.four, .rush .bigs { grid-template-columns: 1fr; }
  .opp-card h3 { font-size: 24px; }
  .auth { grid-template-columns: 1fr; } .auth .left { display: none; } .auth .right { padding: 32px 16px; }
  .auth h1 { font-size: 30px; } .auth .subtitle { font-size: 18px; margin-bottom: 26px; }
  .steps i { width: 70px; }
  .shell { flex-direction: column; } .sidebar { width: auto; padding: 14px 16px; } .sidebar .lbl, .sidebar hr { display: none; } .sidebar .org { font-size: 20px; margin: 0 0 8px; }
  .sidebar nav { display: flex; overflow-x: auto; gap: 6px; } .sidebar nav a { font-size: 16px; height: 42px; margin: 0; white-space: nowrap; } .sidebar nav a .ic { width: 22px; height: 22px; }
  .main { padding: 20px 16px 60px; }
  .card { padding: 20px 18px 14px; } .card .meta { gap: 14px; }
  .act-card { padding: 20px 18px 0; } .act-card .top { flex-direction: column; gap: 14px; } .act-card img { width: 100%; height: 200px; }
  .act-card h3 { font-size: 24px; } .act-card .org, .act-card .line, .act-card .foot .msg { font-size: 17px; }
  .tabs-big { gap: 8px; } .tabs-big button { font-size: 16px; height: 52px; }
  .side-box { position: static; }
  .row2 { grid-template-columns: 1fr; }
  .site .top { padding: 14px 16px; } .site .top nav { display: none; } .site .banner div { padding: 0 20px; } .site .banner h1 { font-size: 30px; }
}
