/* Inter, self-hosted from the site (/assets/fonts), SIL Open Font License */
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/inter-greek.woff2) format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/inter-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* ==========================================================================
   Yorgos Kokolakis Office - design system (forked from SEMITUP Harbor, palette 15 Midnight & Parchment)
   Dependency-free. Inter + brand palette. Glass cards on a deep-navy canvas.
   Naming: everything is prefixed sh-. Change colours/fonts ONLY in :root.
   Print: switches to a light theme and every text size is >= 15px.
   ========================================================================== */

:root {
  /* ---- SEMITUP Calm Harbor brand (variable names kept from the SEMhappens theme: --orange now holds Sand Gold) ---- */
  --navy: #0B1437;        /* Harbor Navy */
  --blue: #2547B8;        /* Harbor Blue */
  --teal: #2547B8;        /* Sea Teal */
  --orange: #F5A524;      /* Sand Gold (main action, accent) */
  --sand: #E0C097;

  /* ---- tints that stay readable on dark ---- */
  --blue-soft: #8EA6F0;
  --teal-soft: #8EA6F0;   /* Sky Teal */
  --orange-dark: #DE9014;
  --green: #3ddc97;
  --red: #ff7a8a;

  /* ---- surfaces ---- */
  --bg-0: #060B20;
  --bg-1: #0B1437;        /* Night Harbor */
  --glass: rgba(14, 26, 70, .72);
  --glass-2: rgba(30, 45, 105, .55);
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .18);

  /* ---- text ---- */
  --ink: #F3F6FB;
  --muted: #C3CBE6;
  --subtle: #98A3C8;

  /* ---- type ---- */
  --font: 'Inter', Aptos, Arial, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-xs: 13px;      /* badges, captions (screen only; 15px in print) */
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 17px;
  --fs-lg: 20px;
  --fs-xl: 26px;
  --fs-2xl: clamp(28px, 4.2vw, 44px);

  /* ---- shape ---- */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .45);
  --glow-blue: 0 0 0 1px rgba(37, 71, 184, .55), 0 10px 40px rgba(37, 71, 184, .22);
  --max: 1200px;

  /* ---- theme-dependent tokens (light overrides below) ---- */
  color-scheme: dark;
  --head: #fff;
  --t-blue: #8EA6F0;
  --t-teal: #8EA6F0;
  --t-orange: #F5A524;
  --t-sand: #E0C097;
  --t-green: #3ddc97;
  --t-red: #ff7a8a;
  --focus: #F5A524;
  --header-bg: rgba(6, 11, 32, .84);
  --toast-bg: rgba(14, 26, 70, .96);
  --th-bg: rgba(37, 71, 184, .22);
  --th-text: #DDE4FA;
  --alert-warning: #F5DDA8;
  --alert-info: #DDE4FA;
  --alert-success: #b6f1d6;
  --alert-danger: #ffc7ce;
  --scroll-thumb: #24306A;
  --body-glow-1: rgba(37, 71, 184, .24);
  --body-glow-2: rgba(11, 20, 55, .55);
  /* logo colours (the inline SVG logo reads these) */
  --logo-ink: #FFFFFF;
  --logo-up: #8EA6F0;
  --logo-acc: #F5A524;
}

/* ---- LIGHT theme: set <html data-theme="light"> (see SH.theme in semitup-ui.js) ---- */
:root[data-theme="light"] {
  color-scheme: light;
  --bg-0: #F7F2E9;
  --bg-1: #ffffff;
  --glass: rgba(255, 255, 255, .92);
  --glass-2: #F7F2E9;
  --line: rgba(11, 20, 55, .12);
  --line-strong: rgba(11, 20, 55, .24);
  --ink: #1F2937;
  --muted: #4B5563;
  --subtle: #5B6474;
  --head: #0B1437;
  --blue-soft: #2547B8;
  --teal-soft: #2547B8;
  --t-blue: #2547B8;
  --t-teal: #2547B8;
  --t-orange: #9D6A17;
  --t-sand: #7a5a2e;
  --t-green: #087443;
  --t-red: #a51d2d;
  --focus: #0B1437;
  --header-bg: rgba(255, 255, 255, .88);
  --toast-bg: #ffffff;
  --th-bg: #EFE7D6;
  --th-text: #0B1437;
  --alert-warning: #6B4A00;
  --alert-info: #0B1437;
  --alert-success: #0b5d3b;
  --alert-danger: #8c1d2c;
  --scroll-thumb: #D9CDB6;
  --body-glow-1: rgba(37, 71, 184, .10);
  --body-glow-2: rgba(11, 20, 55, .06);
  --shadow: 0 10px 30px rgba(11, 20, 55, .14);
  --logo-ink: #0B1437;
  --logo-up: #2547B8;
  --logo-acc: #CE8309;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* so the hidden attribute always wins over display:flex/grid (filters, tabs) */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* menu links and scrollIntoView stop below the sticky header, with room to read the section title.
   --sh-head-h is the header's real height, measured by semitup-ui.js (0 on phones, where the header scrolls away) */
html { scroll-padding-top: calc(var(--sh-head-h, 80px) + 28px); }
body {
  margin: 0;
  min-height: 100vh;
  font: 400 var(--fs-base)/1.6 var(--font);
  color: var(--ink);
  background:
    radial-gradient(60rem 40rem at 85% -10%, var(--body-glow-1), transparent 60%),
    radial-gradient(50rem 36rem at -10% 10%, var(--body-glow-2), transparent 60%),
    var(--bg-0);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--blue); color: #fff; }
img, svg { max-width: 100%; }
a { color: var(--t-blue); text-underline-offset: 3px; }
a:hover { color: var(--head); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.02em; color: var(--head); }
h1 { font-size: var(--fs-2xl); font-weight: 800; }
h2 { font-size: var(--fs-xl); font-weight: 700; }
h3 { font-size: var(--fs-lg); font-weight: 700; }
h4 { font-size: var(--fs-md); font-weight: 600; }
p { margin: 0 0 1em; }
code { background: var(--bg-1); padding: 2px 7px; border-radius: 6px; font-size: .9em; border: 1px solid var(--line); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-soft); }

.sh-icon { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.sh-muted { color: var(--muted); }
.sh-subtle { color: var(--subtle); }
.sh-center { text-align: center; }
.sh-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sh-skip { position: absolute; left: 12px; top: -64px; z-index: 100; background: var(--orange); color: var(--navy); font-weight: 700; padding: 10px 18px; border-radius: 0 0 10px 10px; text-decoration: none; }
.sh-skip:focus { top: 0; color: var(--navy); }

/* ---------- layout ---------- */
.sh-container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sh-main { padding: 32px 0 72px; display: grid; gap: 40px; }
.sh-main > * { min-width: 0; }   /* a wide table or code block scrolls inside its own box instead of stretching the page */
.sh-grid { display: grid; gap: 20px; }
.sh-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sh-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sh-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sh-split { display: grid; gap: 28px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.sh-stack > * + * { margin-top: 16px; }
.sh-row-flex { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sh-between { justify-content: space-between; }
@media (max-width: 960px) { .sh-cols-3, .sh-cols-4, .sh-split { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sh-split { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .sh-cols-2, .sh-cols-3, .sh-cols-4 { grid-template-columns: 1fr; } .sh-main { gap: 32px; } }

/* ---------- header / footer ---------- */
.sh-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.sh-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.sh-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--head); }
.sh-brand:hover { color: var(--head); }
.sh-brand-logo { height: 40px; width: auto; display: block; background: #fff; border-radius: 9px; padding: 4px 10px; }  /* the logo has dark text, so it sits on a white chip */
.sh-brand-title { display: block; font-weight: 700; font-size: var(--fs-md); line-height: 1.15; }
.sh-brand-sub { display: block; font-size: var(--fs-xs); color: var(--subtle); }
.sh-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sh-nav a { color: var(--muted); text-decoration: none; padding: 8px 14px; border-radius: 30px; font-size: var(--fs-sm); font-weight: 500; }
.sh-nav a:hover { color: var(--head); background: var(--glass-2); }
.sh-nav a[aria-current="page"] { color: var(--head); background: var(--glass-2); box-shadow: inset 0 -2px 0 var(--orange); }
.sh-brand > span { white-space: nowrap; }
.sh-brand { flex: none; }               /* the brand never shrinks under the menu; the menu wraps in its own space */
.sh-nav { flex: 1 1 auto; min-width: 0; justify-content: flex-end; }
/* long menus (e.g. HQ): the menu always sits on its own row under the brand */
.sh-header--long-nav .sh-header-inner { flex-wrap: wrap; gap: 8px 12px; padding-top: 10px; padding-bottom: 10px; min-height: 0; }
.sh-header--long-nav .sh-brand { flex: 1 1 auto; min-width: 0; }
.sh-header--long-nav .sh-nav { order: 3; width: 100%; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.sh-header--long-nav .sh-nav a { white-space: nowrap; }
@media (max-width: 1180px) {            /* menu drops to its own swipeable row */
  .sh-header-inner { flex-wrap: wrap; gap: 8px 12px; padding-top: 10px; padding-bottom: 10px; min-height: 0; }
  .sh-brand { flex: 1 1 auto; min-width: 0; }
  .sh-nav { order: 3; width: 100%; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .sh-nav a { white-space: nowrap; }
}
@media (max-width: 760px) {             /* phones: smaller, scrolls away with the page */
  .sh-brand-sub { display: none; }
  .sh-header { position: static; }
  .sh-header .sh-badge { display: none; }
  .sh-themebtn span:not([data-theme-label]) { display: none; }
}
.sh-footer { background: var(--navy); color: #C3CBE6; padding: 40px 0 36px; text-align: center; font-size: var(--fs-sm); }
.sh-footer a { color: #fff; text-decoration: none; }
.sh-footer a:hover { color: var(--orange); }
.sh-footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 14px; }
.sh-footer .sh-copy { margin: 10px 0 0; color: #98A3C8; letter-spacing: .3px; }

/* ---------- cards ---------- */
.sh-card { position: relative; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.sh-card--hover:hover { border-color: rgba(142, 166, 240, .45); box-shadow: var(--glow-blue); transform: translateY(-2px); }
.sh-card--accent { border-left: 4px solid var(--blue); }
.sh-card--blue { border-left-color: var(--blue); }
.sh-card--teal { border-left-color: var(--teal-soft); }
.sh-card--orange { border-left-color: var(--orange); }
.sh-card--sand { border-left-color: var(--sand); }
.sh-card--outline { border: 2px solid rgba(37, 71, 184, .6); }
.sh-card h2, .sh-card h3 { display: flex; align-items: center; gap: 10px; }
.sh-card-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.sh-card-head h2, .sh-card-head h3 { margin: 0; }
.sh-card-head p { margin: 4px 0 0; color: var(--subtle); font-size: var(--fs-sm); }
.sh-iconbtn-tile { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; box-shadow: 0 6px 18px rgba(37, 71, 184, .35); }

.sh-hero { overflow: hidden; padding: clamp(24px, 4vw, 44px); }
.sh-hero::before, .sh-hero::after { content: ""; position: absolute; width: 18rem; height: 18rem; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.sh-hero::before { right: -5rem; bottom: -6rem; background: rgba(37, 71, 184, .28); }
.sh-hero::after { left: -5rem; top: -6rem; background: rgba(142, 166, 240, .22); }
.sh-hero > * { position: relative; z-index: 1; }
.sh-hero h1 { margin: 14px 0 12px; }
.sh-hero .sh-lead { max-width: 62ch; }

.sh-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 30px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(245, 165, 36, .12); color: var(--t-orange); border: 1px solid rgba(245, 165, 36, .35); }
.sh-lead { font-size: var(--fs-md); color: var(--muted); }
.sh-accent { color: var(--t-orange); }

/* ---------- stats / pills ---------- */
.sh-stat { background: var(--glass-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.sh-stat-label { font-size: var(--fs-xs); color: var(--subtle); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.sh-stat-value { font-size: var(--fs-lg); font-weight: 800; letter-spacing: -.02em; }
.sh-stat-value--blue { color: var(--t-blue); }
.sh-stat-value--teal { color: var(--t-teal); }
.sh-stat-value--orange { color: var(--t-orange); }
.sh-stat-value--green { color: var(--t-green); }

.sh-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 30px; font-size: var(--fs-xs); font-weight: 700; border: 1px solid var(--line-strong); background: var(--glass-2); color: var(--muted); white-space: nowrap; }
.sh-badge--blue { color: var(--t-blue); border-color: rgba(142, 166, 240, .35); background: rgba(37, 71, 184, .2); }
.sh-badge--teal { color: var(--t-teal); border-color: rgba(111, 195, 221, .35); background: rgba(142, 166, 240, .22); }
.sh-badge--orange { color: var(--t-orange); border-color: rgba(245, 165, 36, .4); background: rgba(245, 165, 36, .12); }
.sh-badge--sand { color: var(--t-sand); border-color: rgba(224, 192, 151, .4); background: rgba(224, 192, 151, .1); }
.sh-badge--green { color: var(--t-green); border-color: rgba(61, 220, 151, .35); background: rgba(61, 220, 151, .1); }
.sh-badge--red { color: var(--t-red); border-color: rgba(255, 122, 138, .4); background: rgba(255, 122, 138, .1); }
.sh-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: sh-pulse 2s ease-in-out infinite; }
@keyframes sh-pulse { 50% { opacity: .35; } }

/* ---------- buttons ---------- */
.sh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 24px; border-radius: 30px; border: 1px solid transparent; font: 700 var(--fs-sm)/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .1s, color .2s; }
.sh-btn:active { transform: translateY(1px); }
.sh-btn--primary { background: var(--orange); color: var(--navy); }
.sh-btn--primary:hover { background: var(--orange-dark); color: var(--navy); }
.sh-btn--secondary { background: var(--blue); color: #fff; }
.sh-btn--secondary:hover { background: #1B3590; color: #fff; }
.sh-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.sh-btn--ghost:hover { background: var(--glass-2); color: var(--head); border-color: var(--blue-soft); }
.sh-btn--sm { padding: 7px 16px; font-size: var(--fs-xs); }
.sh-btn[disabled] { opacity: .45; cursor: not-allowed; }
.sh-iconbtn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 0; background: transparent; color: var(--subtle); cursor: pointer; transition: background .2s, color .2s; }
.sh-iconbtn:hover { background: rgba(142, 166, 240, .16); color: var(--t-blue); }
@media (pointer: coarse) { .sh-iconbtn { width: 42px; height: 42px; } .sh-btn--sm { padding: 10px 18px; } }
.sh-iconbtn.is-done { color: var(--t-green); }

/* ---------- forms ---------- */
.sh-field { display: grid; gap: 6px; }
.sh-label { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.sh-input, .sh-select, .sh-textarea { width: 100%; padding: 11px 14px; background: var(--bg-1); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 12px; font: inherit; font-size: var(--fs-base); transition: border-color .2s, box-shadow .2s; }
.sh-input::placeholder, .sh-textarea::placeholder { color: var(--subtle); }
.sh-input:focus, .sh-select:focus, .sh-textarea:focus { outline: none; border-color: var(--blue-soft); box-shadow: 0 0 0 3px rgba(142, 166, 240, .22); }
.sh-textarea { min-height: 110px; resize: vertical; }
.sh-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.sh-search { position: relative; }
.sh-search .sh-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--subtle); pointer-events: none; }
.sh-search .sh-input { padding-left: 42px; }
.sh-check { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg-1); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: var(--fs-sm); font-weight: 500; transition: border-color .2s; }
.sh-check:hover { border-color: rgba(142, 166, 240, .5); }
.sh-check input { width: 20px; height: 20px; accent-color: var(--orange); flex: none; }

/* ---------- theme toggle ---------- */
.sh-themebtn { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 30px; border: 1px solid var(--line-strong); background: var(--glass-2); color: var(--ink); font: 600 var(--fs-sm)/1 var(--font); cursor: pointer; }
.sh-themebtn:hover { border-color: var(--blue-soft); color: var(--head); }

/* ---------- list rows (copy list) ---------- */
.sh-list { display: grid; gap: 4px; }
.sh-listitem { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 10px; font-size: var(--fs-sm); font-weight: 500; transition: background .15s; }
.sh-listitem:hover { background: rgba(142, 166, 240, .08); }
.sh-group-title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--t-blue); }
.sh-group-title--teal { color: var(--t-teal); }
.sh-group-title--orange { color: var(--t-orange); }
.sh-empty { padding: 18px; text-align: center; color: var(--subtle); font-size: var(--fs-sm); }

/* ---------- link cards ---------- */
.sh-linkcard { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; background: var(--glass-2); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .15s; }
.sh-linkcard:hover { border-color: rgba(142, 166, 240, .5); color: var(--head); transform: translateY(-1px); }
.sh-linkcard strong { display: block; font-size: var(--fs-base); }
.sh-linkcard span { color: var(--subtle); font-size: var(--fs-sm); }
.sh-linkcard .sh-icon { color: var(--subtle); }
.sh-linkcard:hover .sh-icon { color: var(--t-orange); }

/* ---------- key/value rows ---------- */
.sh-kv { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--glass-2); border: 1px solid var(--line); border-radius: 12px; font-size: var(--fs-sm); }
.sh-kv > span:first-child { color: var(--subtle); font-weight: 500; }

/* ---------- alerts ---------- */
.sh-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: var(--fs-sm); border: 1px solid var(--line-strong); background: var(--glass-2); }
.sh-alert .sh-icon { margin-top: 2px; }
.sh-alert--warning { background: rgba(245, 165, 36, .1); border-color: rgba(245, 165, 36, .4); color: var(--alert-warning); }
.sh-alert--warning .sh-icon { color: var(--t-orange); }
.sh-alert--info { background: rgba(37, 71, 184, .16); border-color: rgba(142, 166, 240, .35); color: var(--alert-info); }
.sh-alert--success { background: rgba(61, 220, 151, .09); border-color: rgba(61, 220, 151, .3); color: var(--alert-success); }
.sh-alert--danger { background: rgba(255, 122, 138, .09); border-color: rgba(255, 122, 138, .35); color: var(--alert-danger); }

/* ---------- result banner (checklist / calculators) ---------- */
.sh-result { padding: 18px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg-1); text-align: center; transition: background .25s, border-color .25s; }
.sh-result strong { display: block; font-size: var(--fs-md); }
.sh-result span { font-size: var(--fs-sm); color: var(--subtle); }
.sh-result[data-level="partial"] { background: rgba(245, 165, 36, .1); border-color: rgba(245, 165, 36, .4); }
.sh-result[data-level="partial"] strong { color: var(--t-orange); }
.sh-result[data-level="full"] { background: rgba(61, 220, 151, .1); border-color: rgba(61, 220, 151, .4); }
.sh-result[data-level="full"] strong { color: var(--t-green); }
.sh-result [data-state] { display: none; }
.sh-result[data-level="none"] [data-state="none"], .sh-result[data-level="partial"] [data-state="partial"], .sh-result[data-level="full"] [data-state="full"] { display: block; }

/* ---------- tabs ---------- */
.sh-tablist { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: var(--bg-1); border: 1px solid var(--line); border-radius: 14px; width: fit-content; max-width: 100%; }
.sh-tab { padding: 9px 18px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 600 var(--fs-sm)/1 var(--font); cursor: pointer; }
.sh-tab:hover { color: var(--head); }
.sh-tab[aria-selected="true"] { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(37, 71, 184, .4); }
.sh-tabpanel { margin-top: 18px; }
.sh-tabpanel[hidden] { display: none; }

/* ---------- table ---------- */
.sh-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.sh-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.sh-table th { text-align: left; padding: 12px 16px; background: var(--th-bg); color: var(--th-text); font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.sh-table td { padding: 12px 16px; border-top: 1px solid var(--line); }
.sh-table tr:hover td { background: rgba(142, 166, 240, .05); }
.sh-num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- progress + chart ---------- */
.sh-progress { height: 10px; border-radius: 10px; background: var(--bg-1); border: 1px solid var(--line); overflow: hidden; }
.sh-progress > i { display: block; height: 100%; width: var(--value, 0%); border-radius: 10px; background: linear-gradient(90deg, var(--blue), var(--teal-soft)); }
.sh-donut { position: relative; width: 100%; max-width: 240px; margin: 0 auto; aspect-ratio: 1; }
.sh-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sh-donut circle { fill: none; stroke-width: 22; transition: stroke-width .15s, opacity .15s; cursor: pointer; }
.sh-donut circle:hover, .sh-donut circle:focus { stroke-width: 27; outline: none; }
.sh-donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.sh-donut-center strong { font-size: var(--fs-xl); line-height: 1; }
.sh-donut-center span { font-size: var(--fs-xs); color: var(--subtle); }
.sh-legend { display: grid; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.sh-legend > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); }
.sh-legend b { color: var(--head); }
.sh-swatch { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 9px; vertical-align: -1px; }

/* ---------- accordion ---------- */
.sh-accordion { border: 1px solid var(--line); border-radius: 14px; background: var(--glass-2); }
.sh-accordion + .sh-accordion { margin-top: 10px; }
.sh-accordion summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-weight: 600; }
.sh-accordion summary::-webkit-details-marker { display: none; }
.sh-accordion summary::after { content: "+"; color: var(--t-orange); font-size: 22px; line-height: 1; }
.sh-accordion[open] summary::after { content: "\2212"; }
.sh-accordion > div { padding: 0 18px 16px; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- toast ---------- */
.sh-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: grid; gap: 10px; pointer-events: none; }
.sh-toast { display: flex; align-items: center; gap: 10px; max-width: min(380px, calc(100vw - 40px)); padding: 12px 16px; background: var(--toast-bg); border: 1px solid rgba(142, 166, 240, .4); border-radius: 12px; box-shadow: var(--shadow); font-size: var(--fs-sm); pointer-events: auto; animation: sh-in .25s ease-out both; }
.sh-toast .sh-icon { color: var(--t-green); }
.sh-toast.is-leaving { animation: sh-out .25s ease-in both; }
@keyframes sh-in { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sh-out { to { opacity: 0; transform: translateY(6px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   PRINT: light theme, no effects, every text size >= 15px
   ========================================================================== */
@media print {
  :root { --fs-xs: 15px; --fs-sm: 15px; --fs-base: 15px; --fs-md: 16px; --fs-lg: 20px; --fs-xl: 24px; --fs-2xl: 30px;
          --ink: #1F2937; --muted: #4B5563; --subtle: #5B6474; --line: #E0D6C4; --line-strong: #D9CDB6; --glass: #fff; --glass-2: #F7F2E9; --bg-1: #F7F2E9;
          --head: #0B1437; --t-blue: #2547B8; --t-teal: #2547B8; --t-orange: #9D6A17; --t-sand: #7a5a2e; --t-green: #087443; --t-red: #a51d2d; --th-text: #0B1437; --th-bg: #EFE7D6; --alert-warning: #6B4A00; --alert-info: #0B1437; --alert-success: #0b5d3b; --alert-danger: #8c1d2c; --toast-bg: #fff; }
  html, body { background: #fff !important; color: #1F2937; }
  h1, h2, h3, h4 { color: var(--navy); }
  a { color: var(--blue); text-decoration: none; }
  .sh-header, .sh-toasts, .sh-skip, .sh-btn, .sh-iconbtn, .sh-search, .sh-tablist { display: none !important; }
  .sh-card, .sh-hero { background: #fff !important; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; border: 1px solid #E0D6C4; break-inside: avoid; page-break-inside: avoid; }
  .sh-hero::before, .sh-hero::after { display: none; }
  .sh-section { break-inside: avoid; }
  .sh-footer { background: #fff; color: #4B5563; border-top: 2px solid var(--navy); }
  .sh-footer a { color: var(--navy); }
  .sh-eyebrow, .sh-badge { background: #fff; color: var(--navy); border-color: var(--navy); }
  .sh-stat-value--blue, .sh-stat-value--teal, .sh-stat-value--orange, .sh-stat-value--green, .sh-accent { color: var(--navy); }
  .sh-table th { background: #EFE7D6; color: var(--navy); }
  .sh-tabpanel[hidden] { display: block !important; }   /* print every tab panel */
  @page { margin: 14mm; }
}

/* ---- SEMITUP logo (inline SVG, follows the theme through --logo-* tokens) ---- */
.sh-logo { height: 34px; width: auto; display: block; flex: none; fill: none; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.sh-logo .l-ink { stroke: var(--logo-ink); }
.sh-logo .l-up { stroke: var(--logo-up); }
.sh-logo .l-acc { stroke: var(--logo-acc); }
.sh-logo .l-dot { fill: var(--logo-acc); stroke: none; }
.sh-brand-text { padding-left: 14px; border-left: 1px solid var(--line-strong); }
.sh-footer .sh-motto { margin: 0 0 8px; color: #fff; font-weight: 600; letter-spacing: .2px; }
@media (max-width: 520px) { .sh-logo { height: 28px; } .sh-brand-text { padding-left: 10px; } }
@media print { .sh-logo { height: 28px; } .sh-footer .sh-motto { color: var(--navy); } }

/* ---- Office additions ---- */
.sh-sprite { display: none; }
