/* Shared prototype styling — adapted from the public /v5 "warm cream" page so
   the lenses read as one family with the real site. Light cream only (the v5
   default); prototypes use mock data. */
:root {
  --font-sans: "Inter", -apple-system, system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --bg:#f9f5ef; --surface-1:#fffdf9; --surface-2:#f3eee6;
  --border:#e7e1d6; --border-strong:#d4cdc0;
  --text:#1b1813; --text-2:#5d574e; --text-mute:#8a8379;
  /* status accents (used sparingly — the public feed avoids color, but the
     lenses are mood/insight products where a little color carries meaning) */
  --calm:#5f8c7d; --ok:#5f8c5f; --warm:#b07d2a; --hot:#c2410c; --crit:#8f1d1d;
}
* { box-sizing:border-box; }
html,body { margin:0; padding:0; }
body {
  background:var(--bg); color:var(--text); font-family:var(--font-sans);
  font-size:15px; line-height:1.55; -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a { color:var(--text-2); text-decoration:none; border-bottom:1px solid var(--border); }
a:hover { color:var(--text); }

.page { max-width:820px; margin:0 auto; padding:40px 32px 72px; }

/* masthead — same shape as /v5 */
.mast { margin-bottom:30px; }
.mast-meta {
  display:flex; justify-content:space-between; align-items:baseline; gap:16px;
  font-size:11px; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--text-mute); margin-bottom:16px;
}
.mast-meta .nav { display:flex; gap:16px; }
.mast h1 {
  font-family:var(--font-serif); font-weight:700; font-size:38px; line-height:1.05;
  letter-spacing:-0.02em; margin:0 0 10px; font-variation-settings:"opsz" 32;
}
.mast .dek { font-size:14.5px; color:var(--text-2); max-width:600px; margin:0; }
.mast .dateline {
  margin-top:12px; font-size:11px; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--text-mute);
}
.proto-tag {
  display:inline-block; margin-top:12px; font-size:10.5px; letter-spacing:0.14em;
  text-transform:uppercase; color:#8a3b12; background:#f6e7da; border:1px solid #e6c9b0;
  border-radius:3px; padding:3px 9px; font-weight:600; cursor:pointer; user-select:none;
}
.proto-tag:hover { background:#f0dcc9; }
.controls.hidden { display:none; }

/* segmented control / scenario toggles */
.seg { display:inline-flex; border:1px solid var(--border-strong); border-radius:6px; overflow:hidden; }
.seg button {
  font:inherit; font-size:12px; border:none; background:var(--surface-1);
  color:var(--text-2); padding:7px 14px; cursor:pointer;
}
.seg button.on { background:var(--text); color:var(--bg); }
.controls { display:flex; gap:12px; align-items:center; margin:0 0 24px; font-size:12px;
  color:var(--text-mute); flex-wrap:wrap; }

.card {
  background:var(--surface-1); border:1px solid var(--border); border-radius:8px;
  padding:26px 28px;
}
.section {
  display:flex; align-items:center; gap:14px; margin:26px 0 14px;
  font-size:11px; letter-spacing:0.2em; text-transform:uppercase; color:var(--text-mute);
}
.section .line { flex:1; height:1px; background:var(--border); }

footer {
  margin-top:48px; padding-top:22px; border-top:1px solid var(--border);
  font-size:11px; letter-spacing:0.14em; text-transform:uppercase; color:var(--text-mute);
  display:flex; justify-content:space-between; gap:12px;
}
@media (max-width:640px){ .page{padding:28px 18px 56px;} .mast h1{font-size:30px;} }

/* ---- flat "metro" tiles (shared: dashboard / morning card / zodiac) ------ */
.tiles { display:grid; gap:10px; }
.tile {
  background:var(--surface-1); border:1px solid var(--border); border-radius:4px;
  padding:14px 15px; text-align:left;
}
.tile .num { font-family:var(--font-serif); font-weight:600; font-size:24px; line-height:1.05; }
.tile .num.sm { font-size:16px; }
.tile .lbl { font-size:10.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--text-mute); margin-top:8px; }
.tile .sub { font-size:12.5px; color:var(--text-2); margin-top:4px; line-height:1.35; }
.tile .when { font-size:10.5px; letter-spacing:0.06em; color:var(--text-mute); font-variant-numeric:tabular-nums; }
.tile .body { font-size:14.5px; line-height:1.32; margin-top:4px; }
.tile.click { cursor:pointer; }
.tile.click:hover { border-color:var(--border-strong); }
/* flat colored variants (white text) — emphasis / severity, no shadows */
.tile.t-ok   { background:var(--ok);   color:#fff; border-color:transparent; }
.tile.t-info { background:#5f7d8c;      color:#fff; border-color:transparent; }
.tile.t-warm { background:var(--warm);  color:#fff; border-color:transparent; }
.tile.t-hot  { background:var(--hot);   color:#fff; border-color:transparent; }
.tile.t-crit { background:var(--crit);  color:#fff; border-color:transparent; }
[class*="t-"] .lbl, [class*="t-"] .when { color:rgba(255,255,255,.78); }
[class*="t-"] .sub, [class*="t-"] .body { color:rgba(255,255,255,.95); }

/* drill-down list revealed under a clicked tile / the mood circle */
.drill { display:none; margin-top:12px; }
.drill.show { display:block; }
.feed { display:flex; flex-direction:column; gap:7px; }
.feedrow {
  display:flex; gap:10px; align-items:stretch; padding:9px 12px; border-radius:4px;
  background:var(--surface-1); border:1px solid var(--border); font-size:13.5px; line-height:1.35;
}
.feedrow .sevbar { flex:none; width:4px; border-radius:2px; }
.feedrow .time { flex:none; font-size:11px; color:var(--text-mute); font-variant-numeric:tabular-nums; min-width:44px; align-self:center; }
.feedrow .txt { align-self:center; }
.sb-ok{background:var(--ok)} .sb-info{background:#5f7d8c} .sb-warm{background:var(--warm)} .sb-hot{background:var(--hot)} .sb-crit{background:var(--crit)}

/* ---- tile color themes — toggle on a tiles container ("more color on demand") */
.sty-outline .tile { background:transparent; border-color:var(--border-strong); color:var(--text); }
.sty-cream   .tile { background:var(--surface-1); border-color:var(--border); color:var(--text); }
.sty-dark    .tile { background:#2a2620; border-color:#3a342c; color:#f2ece2; }
.sty-outline .tile .lbl, .sty-outline .tile .when,
.sty-cream   .tile .lbl, .sty-cream   .tile .when { color:var(--text-mute); }
.sty-outline .tile .sub, .sty-outline .tile .body,
.sty-cream   .tile .sub, .sty-cream   .tile .body { color:var(--text-2); }
.sty-dark .tile .lbl, .sty-dark .tile .when { color:#b3a795; }
.sty-dark .tile .sub, .sty-dark .tile .body { color:#e6ddcf; }
/* Cream mode color HINT — ONLY for the red/orange/amber tiers (warm/hot/crit);
   green/blue (ok/info) stay neutral. Marker style toggled on the container:
   .mk-dot (bullet before the item) or .mk-fold (folded corner). */
.sty-cream.mk-dot .tile.t-warm .body::before,
.sty-cream.mk-dot .tile.t-hot  .body::before,
.sty-cream.mk-dot .tile.t-crit .body::before {
  content:""; display:inline-block; width:7px; height:7px; border-radius:50%;
  margin-right:8px; vertical-align:middle;
}
.sty-cream.mk-dot .tile.t-warm .body::before { background:var(--warm); }
.sty-cream.mk-dot .tile.t-hot  .body::before { background:var(--hot); }
.sty-cream.mk-dot .tile.t-crit .body::before { background:var(--crit); }
/* folded-corner "dog ear" in the top-right */
.sty-cream.mk-fold .tile.t-warm, .sty-cream.mk-fold .tile.t-hot, .sty-cream.mk-fold .tile.t-crit { position:relative; overflow:hidden; }
.sty-cream.mk-fold .tile.t-warm::after, .sty-cream.mk-fold .tile.t-hot::after, .sty-cream.mk-fold .tile.t-crit::after {
  content:""; position:absolute; top:0; right:0; width:0; height:0;
  border-top:18px solid var(--warm); border-left:18px solid transparent;
}
.sty-cream.mk-fold .tile.t-hot::after  { border-top-color:var(--hot); }
.sty-cream.mk-fold .tile.t-crit::after { border-top-color:var(--crit); }

/* ---- editorial disclosure (Know your sign / Today's sky) ---- */
.disclosure {
  width:100%; display:flex; justify-content:space-between; align-items:center;
  font:inherit; background:none; border:none;
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  padding:14px 2px; min-height:48px; cursor:pointer; color:var(--text); text-align:left;
}
.disclosure .lab { font-family:var(--font-serif); font-weight:600; font-size:17px; }
.disclosure .chev { color:var(--text-mute); transition:transform .2s ease; font-size:12px; }
.disclosure[aria-expanded="true"] .chev { transform:rotate(180deg); }

/* ---- condensed "today's sky" omen line (de-crowds the pills) ---- */
.skyline { font-size:14px; color:var(--text-2); margin:0 0 12px; line-height:1.7; }
.skyline .lead { font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color:var(--text-mute); margin-right:9px; }
.skyline .omen { background:none; border:none; font:inherit; color:var(--text-mute); cursor:pointer; padding:0;
  border-bottom:1px dotted var(--border-strong); }
.skyline .omen:hover, .skyline .omen.on { color:var(--text-2); border-bottom-color:var(--text-2); }
.skyline .sep { color:var(--text-mute); margin:0 8px; }
