/* Shared stylesheet for the guide pages (/guides/ and /guides/<slug>/) ONLY.
   Part 1 is the method pages' Forest style block, copied verbatim from
   public/method/eisenhower/index.html (20 Nov 2026) so guides look like the
   method pages. If that block changes, copy it here again. Part 2 adds what
   only guides have: the call to action, tables, steps, the FAQ and dates. */

/* ── Part 1: Forest look, verbatim from the method pages ── */
/* The Forest look, as index.html (owner, 18 Nov 2026): the app's
   Looks.forest stops (looks.dart), the app icon's green (#23B06A,
   owner 20 Nov 2026) for links and accents, and white at 74% / 15% / 7% for secondary text, lines and
   panels (look_scope.dart). White text is AA-checked against the lightest
   stop, #1B4A36; the green is 6.9:1 on the darkest, 3.6:1 on that one. */
:root { color-scheme:dark; --green:#23B06A; --ink:#FFFFFF; --muted:rgba(255,255,255,0.74);
        --line:rgba(255,255,255,0.15); --bg:rgba(255,255,255,0.07);
        --forest-0:#090E0C; --forest-1:#11261E; --forest-2:#1B4A36; }
html { background:var(--forest-0); }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; color:var(--ink);
       background:linear-gradient(160deg, var(--forest-0) 0%, var(--forest-1) 55%, var(--forest-2) 100%); background-color:var(--forest-0);
       font:17px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; }
.wrap { max-width:720px; margin:0 auto; padding:40px 24px 80px; }
header { display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid var(--line); padding-bottom:18px; margin-bottom:28px; }
/* The app's wordmark (lib/core/widgets/wordmark.dart), as index.html:
   Helvetica, a Light "do" and a regular "5", -0.0194em, all white on a
   dark look. Helvetica is not self-hosted (licensed); Windows gets Segoe
   UI Light, Android Roboto Light. */
.brand { font-family:Helvetica,"Helvetica Neue","Segoe UI",Roboto,Arial,sans-serif; font-weight:400;
         letter-spacing:-0.0194em; font-size:26px; line-height:1; text-decoration:none; color:#FFFFFF; }
.brand .wm-do { font-weight:300; }
.crumbs { font-size:14px; color:var(--muted); }
.crumbs a { color:var(--muted); text-decoration:none; }
.crumbs a:hover { text-decoration:underline; }
h1 { font-size:34px; line-height:1.15; letter-spacing:-1px; margin:18px 0 10px; }
.dek { font-size:19px; color:var(--muted); margin:0 0 28px; }
h2 { font-size:22px; margin:40px 0 10px; letter-spacing:-0.3px; }
h3 { font-size:17px; margin:24px 0 6px; }
p, li { color:rgba(255,255,255,0.88); }
a { color:var(--green); }
.callout { background:var(--bg); border:1px solid var(--line); border-radius:12px; padding:16px 18px; margin:22px 0; }
.callout strong { color:var(--ink); }
.grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:18px 0; }
@media (max-width:560px) { .grid { grid-template-columns:1fr; } }
.q { border:1px solid var(--line); border-radius:12px; padding:14px 16px; }
.q b { display:block; margin-bottom:4px; }
.q small { color:var(--muted); }
ul, ol { padding-left:22px; }
blockquote { margin:18px 0; padding:4px 0 4px 18px; border-left:3px solid var(--green); color:rgba(255,255,255,0.88); }
blockquote cite { display:block; font-style:normal; font-size:14px; color:var(--muted); margin-top:6px; }
.refs { font-size:14.5px; color:var(--muted); }
.refs li { margin-bottom:8px; }
.refs { overflow-wrap:anywhere; } /* long reference URLs overflowed 375px */
.next { margin-top:36px; padding-top:22px; border-top:1px solid var(--line); font-size:15px; color:var(--muted); }
footer { margin-top:48px; padding-top:20px; border-top:1px solid var(--line); color:var(--muted); font-size:14px; }
footer a { color:var(--muted); }

/* ── Part 2: guide-only additions ── */
/* A guide's breadcrumb can be longer than a method page's, so the header may
   wrap on a phone instead of squeezing the wordmark. */
header { flex-wrap:wrap; gap:10px 16px; }
.dates { font-size:14px; color:var(--muted); margin:-16px 0 28px; }

/* Tables and numbered steps inside a guide. A wide table scrolls inside its
   own box at 375px rather than widening the page. */
.table-wrap { overflow-x:auto; margin:18px 0; border:1px solid var(--line); border-radius:12px; }
table { border-collapse:collapse; width:100%; font-size:15.5px; line-height:1.5; }
th, td { text-align:left; vertical-align:top; padding:10px 14px; border-bottom:1px solid var(--line); color:rgba(255,255,255,0.88); }
th { color:var(--ink); background:var(--bg); font-weight:600; }
tr:last-child td { border-bottom:none; }
ol.steps { padding-left:0; list-style:none; counter-reset:step; }
ol.steps > li { counter-increment:step; position:relative; padding-left:40px; margin:14px 0; }
ol.steps > li::before { content:counter(step); position:absolute; left:0; top:2px; width:26px; height:26px; border-radius:50%;
                        border:1px solid var(--green); color:var(--green); font-size:14px; line-height:24px; text-align:center; }

/* The call to action. Same panel as .callout; the form mirrors the home
   page's .email-form (public/index.html). */
.cta { background:var(--bg); border:1px solid var(--line); border-radius:14px; padding:20px 20px 18px; margin:32px 0; }
.cta h2 { margin:0 0 6px; font-size:20px; }
.cta p { margin:0 0 14px; }
.cta form { display:flex; gap:10px; flex-wrap:wrap; margin:0; }
.cta input { flex:1; min-width:200px; padding:13px 16px; border-radius:14px; border:1.5px solid rgba(255,255,255,0.5);
             background:rgba(255,255,255,0.10); color:var(--ink); font:inherit; font-size:15px; outline:none; }
.cta input:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(35,176,106,0.25); }
.cta input::placeholder { color:var(--muted); }
.cta button, .cta .store { padding:13px 22px; border-radius:14px; background:#FFFFFF; color:var(--forest-0);
                           font:inherit; font-size:15px; font-weight:600; border:none; cursor:pointer; white-space:nowrap;
                           text-decoration:none; display:inline-block; }
.cta button:hover, .cta .store:hover { opacity:0.88; }
.cta button:disabled { opacity:0.6; cursor:default; }
.cta .msg { display:none; margin:12px 0 0; padding:12px 16px; border-radius:12px; font-size:14px; font-weight:500;
            background:rgba(35,176,106,0.14); border:1px solid var(--green); color:var(--ink); }
.cta .msg.visible { display:block; }
.cta .msg.error { background:#FBEAEA; color:#8A1F1F; border-color:#E8BDBD; }
.cta .store-row { display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.cta .qr { display:flex; align-items:center; gap:12px; font-size:14px; color:var(--muted); }
.cta .qr svg { width:112px; height:112px; display:block; border-radius:8px; }
/* Phones tap the button; the QR code is for readers on a computer. */
@media (max-width:720px) { .cta .qr { display:none; } }

/* FAQ, related guides and the guides index. */
.faq h3 { margin-top:22px; }
.faq p { margin-top:4px; }
.related ul { list-style:none; padding-left:0; }
.related li { margin:8px 0; }
.card { border:1px solid var(--line); border-radius:14px; padding:20px 22px; margin:16px 0; text-decoration:none; display:block; color:inherit; }
.card:hover { border-color:var(--green); }
.card h2 { margin:0 0 6px; font-size:20px; }
.card p { margin:0; color:var(--muted); }
