/* Walden Assignments — "The Week Planner"
   Sample library for Walden's week-based classrooms. Spiral-notebook devices,
   eucalyptus light base, pine ink, amber accents. Newsreader + Public Sans.
   Distinct from every sibling in both networks. */

:root {
  --pine: #0E4B44;
  --pine-deep: #093730;
  --pine-bright: #167A6E;
  --pine-tint: rgba(14, 75, 68, 0.08);
  --pine-line: rgba(14, 75, 68, 0.30);

  --eucalyptus: #EEF4F0;
  --sage: #DCE8E1;
  --sage-deep: #C7D9CE;
  --card: #FFFFFF;
  --ink: #16241F;
  --muted: #55685F;
  --soft: #86988D;
  --line: #D8E3DC;
  --line-strong: #BFD1C6;

  --amber: #D98E2B;
  --amber-deep: #B57118;
  --margin-red: #D96B6B;

  --night: #0B1F1B;
  --night-2: #081815;
  --t-on-night: #EAF2ED;
  --m-on-night: #A5BBB0;
  --line-night: #1E3A33;

  --f-display: "Newsreader", Georgia, serif;
  --f-body: "Public Sans", "Segoe UI", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", Consolas, monospace;
  --f-paper: "Times New Roman", Times, Georgia, serif;

  --r: 12px;
  --r-b: 9px;
  --sh-1: 0 8px 24px rgba(11, 31, 27, 0.10);
  --sh-2: 0 18px 50px rgba(11, 31, 27, 0.16);
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--f-body); color: var(--ink);
  background: var(--eucalyptus); line-height: 1.6; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--pine-bright); }
::selection { background: var(--sage-deep); }
* { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }
*::-webkit-scrollbar-track { background: transparent; }

.btn {
  display: inline-block; font-family: var(--f-body); font-weight: 700;
  font-size: 0.94rem; padding: 12px 22px; border-radius: var(--r-b);
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-cta { background: var(--amber); color: #201302; }
.btn-cta:hover { background: var(--amber-deep); color: #FFF; }
.btn-pine { background: var(--pine); color: #FFF; }
.btn-pine:hover { background: var(--pine-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--pine); color: var(--pine); }

/* ============ header ============ */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(238, 244, 240, 0.92); backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line);
}
.head-in {
  max-width: var(--maxw); margin: 0 auto; padding: 10px 24px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; }
.brand-name { font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; color: var(--ink); line-height: 1.1; display: block; }
.brand-sub { font-size: 0.72rem; color: var(--muted); }
.nav-links { display: flex; gap: 22px; justify-content: center; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: 0.93rem; font-weight: 500; }
.nav-links a:hover { color: var(--pine-bright); }
.head-cta { justify-self: end; }
.nav-burger { display: none; background: none; border: 1.5px solid var(--line-strong); border-radius: 9px; padding: 8px 11px; cursor: pointer; font-size: 1.05rem; color: var(--ink); }

/* ============ split hero: headline left, notebook search right ============ */
.hero { max-width: var(--maxw); margin: 0 auto; padding: 52px 24px 34px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-kicker { color: var(--pine-bright); font-weight: 700; font-size: 0.92rem; margin: 0 0 10px; }
.hero h1 {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.1; margin: 0 0 16px;
}
.hero h1 em { font-style: italic; color: var(--pine-bright); }
.hero-sub { color: var(--muted); font-size: 1.05rem; max-width: 56ch; margin: 0 0 22px; line-height: 1.65; }
.hero-points { list-style: none; padding: 0; margin: 0; }
.hero-points li { position: relative; padding: 6px 0 6px 28px; font-size: 0.95rem; }
.hero-points li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); }

/* the notebook page search panel */
.notebook {
  position: relative; background: var(--card); border: 1px solid var(--line-strong);
  border-radius: 6px var(--r) var(--r) 6px; box-shadow: var(--sh-2);
  padding: 26px 26px 26px 44px; overflow: hidden;
}
.notebook::before { /* spiral holes */
  content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 14px;
  background-image: radial-gradient(circle at 7px 10px, var(--sage-deep) 4.5px, transparent 5px);
  background-size: 14px 30px; background-repeat: repeat-y;
}
.notebook::after { /* margin rule */
  content: ""; position: absolute; left: 36px; top: 0; bottom: 0; width: 1.5px;
  background: var(--margin-red); opacity: 0.5;
}
.notebook h2 { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; margin: 0 0 12px; }
.search-home .search-row { display: flex; gap: 10px; }
.search-home input {
  flex: 1; font-family: var(--f-body); font-size: 0.98rem; padding: 13px 15px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-b); background: var(--eucalyptus);
  color: var(--ink); min-width: 0;
}
.search-home input:focus { outline: none; border-color: var(--pine-bright); background: #FFF; }
.search-results {
  margin-top: 10px; border: 1px solid var(--line); border-radius: var(--r-b);
  background: #FFF; max-height: 300px; overflow-y: auto; display: none;
}
.search-results.is-on { display: block; }
.search-results a {
  display: flex; justify-content: space-between; gap: 12px; padding: 11px 13px;
  text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 0.92rem;
}
.search-results a:last-child { border-bottom: none; }
.search-results a:hover { background: var(--pine-tint); }
.search-results .sr-code { font-family: var(--f-mono); color: var(--pine-bright); font-size: 0.84rem; white-space: nowrap; }
.search-results .sr-kind { color: var(--soft); font-size: 0.8rem; white-space: nowrap; }
.search-none { padding: 13px; font-size: 0.92rem; color: var(--muted); display: none; }
.search-none.is-on { display: block; }
.search-none a { font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips span { font-size: 0.78rem; color: var(--soft); align-self: center; }
.chips a {
  font-family: var(--f-mono); font-size: 0.79rem; text-decoration: none; color: var(--pine);
  background: var(--sage); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 12px;
}
.chips a:hover { color: var(--amber-deep); border-color: var(--amber); }

/* ============ sample-type showcase (Walden signature: threads) ============ */
.types { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.types-in { max-width: var(--maxw); margin: 0 auto; padding: 40px 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.type-card { border: 1px solid var(--line-strong); border-radius: var(--r); padding: 20px; background: var(--eucalyptus); }
.type-card h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; margin: 0 0 8px; }
.type-card p { font-size: 0.9rem; color: var(--muted); margin: 0; line-height: 1.6; }
.type-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; color: var(--pine); background: var(--sage); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }

/* ============ sections ============ */
.sect { max-width: var(--maxw); margin: 0 auto; padding: 46px 24px; }
.sect-kicker { color: var(--pine-bright); font-weight: 700; font-size: 0.9rem; margin: 0 0 8px; }
.sect h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.15rem); margin: 0 0 10px; line-height: 1.14; }
.sect-sub { color: var(--muted); max-width: 62ch; margin: 0 0 26px; }

/* notebook-cover course grid */
.cover-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cover {
  position: relative; background: var(--card); border: 1px solid var(--line-strong);
  border-left: 5px solid var(--pine); border-radius: 6px var(--r) var(--r) 6px;
  padding: 18px 18px 18px 22px; text-decoration: none; color: var(--ink); box-shadow: var(--sh-1); display: block;
}
.cover:hover { border-left-color: var(--amber); }
.cover .c-code { font-family: var(--f-mono); font-size: 0.85rem; color: var(--pine-bright); font-weight: 600; }
.cover h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; margin: 6px 0 8px; line-height: 1.3; }
.cover p { font-size: 0.87rem; color: var(--muted); margin: 0 0 10px; line-height: 1.55; }
.cover .c-meta { font-size: 0.78rem; color: var(--soft); }

/* vertical how-it-works timeline */
.timeline { border-left: 2.5px solid var(--sage-deep); margin: 10px 0 0 8px; padding-left: 26px; display: grid; gap: 22px; }
.tl-step { position: relative; }
.tl-step::before {
  content: ""; position: absolute; left: -35.5px; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--amber); border: 3px solid var(--eucalyptus);
}
.tl-step h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; margin: 0 0 6px; }
.tl-step p { font-size: 0.94rem; color: var(--muted); margin: 0; max-width: 70ch; line-height: 1.65; }

/* trust row */
.trust-row { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; margin-top: 30px; }
.trust-num { font-family: var(--f-display); font-weight: 600; font-size: 2rem; color: var(--pine); }
.trust-lbl { font-size: 0.85rem; color: var(--muted); }
.trust-stars { color: var(--amber); font-size: 0.95rem; }

/* request band */
.night-strip { background: var(--night); }
.night-in { max-width: var(--maxw); margin: 0 auto; padding: 46px 24px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 34px; align-items: center; }
.night-in h2 { font-family: var(--f-display); font-weight: 600; color: var(--t-on-night); font-size: clamp(1.4rem, 2.8vw, 2rem); margin: 0 0 10px; }
.night-in p { color: var(--m-on-night); margin: 0 0 6px; line-height: 1.65; }

/* forms */
.ob-form { display: grid; gap: 10px; }
.ob-form input, .ob-form textarea {
  font-family: var(--f-body); font-size: 0.95rem; padding: 12px 14px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-b); background: #FFF; color: var(--ink); width: 100%;
}
.ob-form input:focus, .ob-form textarea:focus { outline: none; border-color: var(--pine-bright); }
.ob-form .hp { position: absolute; left: -6000px; }
.ob-fine { font-size: 0.78rem; color: var(--soft); }
.on-night .ob-form input { border-color: var(--line-night); background: var(--eucalyptus); }
.ob-thanks { font-weight: 700; color: var(--pine-bright); }
.on-night .ob-thanks { color: var(--t-on-night); }

/* ============ article layer (hubs, static) ============ */
.crumbs { max-width: var(--maxw); margin: 0 auto; padding: 18px 24px 0; font-size: 0.85rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--pine-bright); }
.crumbs .sep { margin: 0 7px; color: var(--line-strong); }
.article-hero { max-width: 880px; margin: 0 auto; padding: 34px 24px 8px; }
.article-hero h1 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.14; margin: 12px 0 14px; }
.code-chip { display: inline-block; font-family: var(--f-mono); font-size: 0.8rem; color: var(--pine-deep); background: var(--pine-tint); border: 1px solid var(--pine-line); border-radius: 999px; padding: 4px 12px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.badge-lib { display: inline-block; font-size: 0.78rem; color: var(--pine); background: var(--card); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 11px; }
.article-hero .lead { font-size: 1.05rem; line-height: 1.66; color: var(--muted); max-width: 64ch; }
.article { max-width: 880px; margin: 0 auto; padding: 8px 24px 60px; }
.article h2 { font-family: var(--f-display); font-weight: 600; font-size: 1.42rem; margin: 34px 0 12px; }
.article h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; margin: 22px 0 8px; }
.article p { line-height: 1.72; margin: 0 0 14px; }
.answer-box { background: var(--pine-tint); border: 1px solid var(--pine-line); border-radius: var(--r); padding: 20px 22px; margin: 18px 0 8px; }
.answer-box .ab-label { display: block; font-weight: 700; font-size: 0.82rem; color: var(--pine-deep); margin-bottom: 8px; }
.answer-box p { margin: 0; line-height: 1.7; }
.related { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 8px; }
.related a { display: inline-block; background: var(--card); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; font-size: 0.88rem; color: var(--ink); text-decoration: none; }
.related a:hover { border-color: var(--pine-bright); color: var(--pine-bright); }
.article ul { margin: 0 0 16px; padding-left: 21px; }
.article li { line-height: 1.7; margin: 0 0 8px; }
.article li::marker { color: var(--pine-bright); }
.article p a, .article li a, .faq-item p a { color: var(--pine-bright); text-decoration: none; border-bottom: 1px solid var(--pine-line); }
.article p a:hover, .article li a:hover, .faq-item p a:hover { color: var(--pine-deep); border-bottom-color: var(--pine-deep); }

/* lander FAQ: ruled cards that open */
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-b); padding: 13px 17px; margin: 0 0 10px; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 0.98rem; color: var(--pine-deep); list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--pine-bright); font-weight: 500; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { margin-bottom: 9px; }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item p { margin: 0; font-size: 0.95rem; color: var(--muted); line-height: 1.7; }

/* drawer rows: ruled-notebook lines */
.drawer { border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--card); margin: 14px 0; overflow: hidden; }
.drawer-row { display: flex; align-items: center; gap: 16px; padding: 15px 18px; border-bottom: 1.5px solid var(--sage); }
.drawer-row:last-child { border-bottom: none; }
.drawer-row .d-n {
  font-family: var(--f-mono); font-size: 0.78rem; color: var(--pine-deep); background: var(--sage);
  border: 1px solid var(--line-strong); border-radius: 7px; padding: 6px 10px; white-space: nowrap;
}
.drawer-row .d-body { flex: 1; min-width: 0; }
.drawer-row h3 { font-family: var(--f-display); font-weight: 600; font-size: 1rem; margin: 0 0 3px; }
.drawer-row p { font-size: 0.86rem; color: var(--muted); margin: 0; line-height: 1.5; }
.drawer-row .d-act { white-space: nowrap; }
.drawer-row .d-act a { font-size: 0.86rem; font-weight: 700; text-decoration: none; }

/* ============ footer ============ */
.site-foot { background: var(--night-2); color: var(--m-on-night); margin-top: 40px; }
.foot-in { max-width: var(--maxw); margin: 0 auto; padding: 44px 24px 26px; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; gap: 26px; }
.foot-in h4 { font-family: var(--f-display); font-weight: 600; color: var(--t-on-night); font-size: 1rem; margin: 0 0 12px; }
.foot-in a { color: var(--m-on-night); text-decoration: none; display: block; font-size: 0.88rem; margin-bottom: 8px; }
.foot-in a:hover { color: var(--t-on-night); }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.foot-brand .brand-mark { width: 34px; height: 34px; }
.foot-brand span { font-family: var(--f-display); font-weight: 600; color: var(--t-on-night); }
.foot-note { font-size: 0.8rem; line-height: 1.6; }
.foot-legal { border-top: 1px solid var(--line-night); }
.foot-legal-in { max-width: var(--maxw); margin: 0 auto; padding: 16px 24px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 0.78rem; }

/* ============ popup ============ */
.ob-backdrop { position: fixed; inset: 0; background: rgba(11, 31, 27, 0.55); z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px; }
.ob-backdrop.is-open { display: flex; }
.ob-modal { background: var(--eucalyptus); border-radius: var(--r); max-width: 470px; width: 100%; box-shadow: var(--sh-2); overflow: hidden; }
.ob-mast { background: var(--card); border-bottom: 1px solid var(--line-strong); padding: 16px 22px 14px; position: relative; }
.ob-mast .week-strip { display: flex; gap: 6px; justify-content: center; }
.ob-mast .week-strip span {
  font-family: var(--f-mono); font-size: 0.7rem; color: var(--pine-deep); background: var(--sage);
  border: 1px solid var(--line-strong); border-radius: 6px; padding: 5px 8px;
}
.ob-mast .week-strip span.hot { background: var(--amber); color: #201302; border-color: var(--amber-deep); font-weight: 700; }
.ob-close { position: absolute; top: 8px; right: 12px; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--muted); }
.ob-body { padding: 20px 22px 24px; }
.ob-season { font-size: 0.8rem; font-weight: 700; color: var(--amber-deep); }
.ob-body h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; margin: 6px 0 6px; }
.ob-body .ob-sub { font-size: 0.92rem; color: var(--muted); margin: 0 0 14px; }

/* ============ chat + dock ============ */
.chat-launch { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--pine); background: var(--card); cursor: pointer; box-shadow: var(--sh-1); padding: 0; overflow: hidden; }
.chat-launch svg { width: 100%; height: 100%; display: block; }
.chat-nudge { position: fixed; right: 92px; bottom: 34px; z-index: 79; background: var(--card); border: 1px solid var(--line-strong); border-radius: 12px 12px 3px 12px; padding: 10px 14px; font-size: 0.84rem; box-shadow: var(--sh-1); cursor: pointer; display: none; max-width: 240px; }
.chat-nudge.is-on { display: block; }
.chat-panel { position: fixed; right: 22px; bottom: 92px; z-index: 85; width: 340px; max-width: calc(100vw - 32px); background: var(--eucalyptus); border: 1px solid var(--line-strong); border-radius: var(--r); box-shadow: var(--sh-2); display: none; flex-direction: column; overflow: hidden; max-height: 480px; }
.chat-panel.is-open { display: flex; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--card); border-bottom: 1px solid var(--line); }
.chat-face { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; border: 1.5px solid var(--line-strong); }
.chat-face svg { width: 100%; height: 100%; display: block; }
.chat-head .c-name { font-weight: 700; font-size: 0.92rem; }
.chat-head .c-cred { font-size: 0.74rem; color: var(--muted); }
.chat-back { margin-left: auto; background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--muted); }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 160px; }
.msg { max-width: 84%; padding: 9px 12px; font-size: 0.88rem; line-height: 1.5; }
.msg-in { background: var(--card); border: 1px solid var(--line); border-radius: 12px 12px 12px 3px; align-self: flex-start; }
.msg-out { background: var(--pine); color: #FFF; border-radius: 12px 12px 3px 12px; align-self: flex-end; }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--card); }
.chat-form input { flex: 1; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 9px 14px; font-size: 0.88rem; min-width: 0; }
.chat-form input:focus { outline: none; border-color: var(--pine-bright); }
.chat-form button { border: none; background: var(--pine); color: #FFF; border-radius: 999px; padding: 9px 16px; font-weight: 700; cursor: pointer; }
.dock { position: fixed; left: 22px; bottom: 22px; z-index: 78; display: flex; flex-direction: column; gap: 10px; }
.dock button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card); cursor: pointer; box-shadow: var(--sh-1); display: flex; align-items: center; justify-content: center; padding: 0; }
.dock button svg { width: 22px; height: 22px; }

/* ============ responsive ============ */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 26px; }
  .types-in { grid-template-columns: 1fr; }
  .cover-grid { grid-template-columns: repeat(2, 1fr); }
  .night-in { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 660px) {
  .nav-links { display: none; }
  .head-cta { display: none; }
  .nav-burger { display: block; justify-self: end; }
  .site-head.menu-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--eucalyptus); border-bottom: 1px solid var(--line); padding: 14px 24px; gap: 14px;
  }
  .cover-grid { grid-template-columns: 1fr; }
  .drawer-row { flex-wrap: wrap; }
  .foot-in { grid-template-columns: 1fr; }
}


/* image-program figures (apply_images.py) */
.ig-fig{margin:26px 0;max-width:100%}
.ig-fig img{display:block;width:100%;height:auto;border-radius:14px;border:1px solid rgba(0,0,0,.08);box-shadow:0 1px 2px rgba(0,0,0,.05),0 10px 26px rgba(0,0,0,.07)}
.ig-fig figcaption{margin-top:10px;font-size:.86rem;opacity:.72;line-height:1.5}


/* mobile parity (post-audit 2026-07-22) */
input,select,textarea{font-size:16px}
html,body{overflow-x:hidden}
@media (max-width:640px){
  .chat-panel.is-open{inset:0;width:100%;height:100dvh;max-height:none;border-radius:0;z-index:95}
  .nav-links a{min-height:44px;display:flex;align-items:center}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}


/* hero lead form (post-audit P0) */
.hero-lead{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 4px;align-items:center;max-width:580px}
.hero-lead input{flex:1 1 200px;min-width:0;padding:12px 14px;font-size:16px;border:1px solid rgba(0,0,0,.22);border-radius:10px;background:#fff;color:#1a1a1a}
.hero-lead input:focus{outline:2px solid rgba(0,0,0,.35);outline-offset:1px}
.hero-lead input.hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0}
.hero-lead .btn{flex:0 0 auto}
.hero-lead-done,.hero-lead-err{margin:10px 0 0;font-size:.92rem}
.hero-lead-done{font-weight:600}
@media(max-width:560px){.hero-lead input{flex:1 1 100%}.hero-lead .btn{width:100%}}


/* sample-paper thumbnails */
.sample-thumbs{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0 6px;max-width:560px}
.sample-thumbs figure{margin:0}
.sample-thumbs img{width:100%;height:auto;border-radius:8px;border:1px solid rgba(0,0,0,.1);box-shadow:0 6px 18px rgba(0,0,0,.09)}
.sample-thumbs figcaption{margin-top:6px;font-size:.8rem;opacity:.7;text-align:center}
@media(max-width:520px){.sample-thumbs{grid-template-columns:1fr;max-width:340px}}


/* honesty + a11y polish */
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}
.ob-modal,.ae-modal{max-height:calc(100dvh - 40px);overflow-y:auto}

/* real WhatsApp dock button */
.dock .wa-live { width: 46px; height: 46px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(37,211,102,0.35); }
.dock .wa-live svg { width: 22px; height: 22px; }


/* true-form sample sheets (build_samples.py) */
.paper-wrap{margin:26px 0}
.sheet{background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:6px;padding:44px 52px;
 margin:0 0 18px;box-shadow:0 1px 2px rgba(0,0,0,.05),0 12px 28px rgba(0,0,0,.07);
 font-family:"Times New Roman",Times,serif;font-size:1.02rem;line-height:2;color:#111}
.sheet .sh-num{float:right;font-size:.95rem;color:#444}
.sheet .sh-title{text-align:center;font-weight:700;margin:0 0 1.6em}
.sheet .sh-center{text-align:center;margin:0}
.sheet h3{font-size:1.02rem;font-weight:700;margin:0 0 .4em;font-family:inherit}
.sheet p{margin:0 0 1em;text-indent:2.2em}
.sheet p.noindent{text-indent:0}
.sheet .hl{background:#fff3bf;padding:.06em .12em;border-radius:2px}
.sheet .ref{text-indent:-2.2em;padding-left:2.2em;margin:0 0 .8em}
.annot{background:#f6f1e7;border-left:3px solid #b99a5b;border-radius:0 8px 8px 0;
 padding:14px 18px;margin:0 0 22px;font-size:.94rem;line-height:1.65}
.annot b{display:block;margin-bottom:.25em}
@media(max-width:700px){.sheet{padding:26px 22px;font-size:.98rem;line-height:1.85}}
