/* Saansad Tracker — the bold default look (SD, 20 Nov 2026): deep navy bands at the top of every page,
   cards that lift off a slightly darker page, and gentle floating motion. One file, loaded last, so it can be
   switched off by removing its <link>. Colours are the section 11.3 tokens. No blur, no gradients. */

/* ---------- 1. Page tone: a touch darker so white cards stand off it ---------- */
.sn { background: #e9eef5; }

/* ---------- 2. Navy bands ---------- */
.sn .pg.ap-hero { --ap-ink: #fff; --ap-sub: #cbd5e1; --ap-blue: #fbbf24; background: #0b2545; padding-bottom: 28px; }
html .sn .pg.ap-hero h1.ap-display { color: #fff; }
.sn .pg.ap-hero .ap-sub, .sn .pg.ap-hero .ap-credit { color: #cbd5e1; }
.sn .pg.ap-hero .ap-eyebrow { color: #fbbf24; }
.sn .pg.ap-hero .ap-shot { transform: rotate(-1.4deg); }
.sn .pg.ap-hero .ap-shot-frame { border: 6px solid #fff; box-shadow: 0 34px 60px -22px rgba(0, 0, 0, .7); }

.sn .sn-pagehead { background: #0b2545; border-bottom: 0; color: #e2e8f0; padding-bottom: 26px; }
.sn .sn-pagehead .sn-h1, .sn .sn-pagehead > .sn-wrap > h1 { color: #fff; }
.sn .sn-pagehead .sn-crumbs, .sn .sn-pagehead .sn-crumbs a, .sn .sn-pagehead .sn-sub, .sn .sn-pagehead .sn-mp-alt,
.sn .sn-pagehead .sn-mp-meta, .sn .sn-pagehead .sn-mp-meta a, .sn .sn-pagehead .sn-mp-meta span,
.sn .sn-pagehead .sn-photo-credit, .sn .sn-pagehead .sn-photo-credit a,
.sn .sn-pagehead > .sn-wrap > p, .sn .sn-pagehead > .sn-wrap > .sn-small, .sn .sn-pagehead > .sn-wrap > .sn-muted { color: #cbd5e1 !important; }
.sn .sn-pagehead .sn-crumbs a, .sn .sn-pagehead .sn-mp-meta a { color: #cbd5e1 !important; text-decoration: underline; text-underline-offset: 3px; }
.sn .pg.ap-hero, .sn .sn-pagehead { border-top: 1px solid rgba(255, 255, 255, .16); }
.sn .sn-pagehead > .sn-wrap > p a, .sn .sn-pagehead .sn-sub a { color: #bfdbfe !important; }
.sn .sn-pagehead .sn-portrait-ink { background: #fff; }
.sn .sn-pagehead .sn-btn--primary { background: #dc2626; border-color: #dc2626; color: #fff !important; }
.sn .sn-pagehead .sn-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .8); color: #fff !important; }
.sn .sn-pagehead .sn-btn--ghost:hover, .sn .sn-pagehead .sn-btn--ghost.is-on { background: #fff; color: #0b2545 !important; }
/* Anything that is its own white panel inside the band keeps dark text. */
.sn .sn-pagehead .sn-filters, .sn .sn-pagehead .sn-card { color: #0f172a; box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .6); border-color: transparent; }

/* ---------- 3. Lifted cards ---------- */
.sn .sn-card, .sn .sn-latest, .sn .sn-speech, .sn .sn-mpcard, .sn .sn-topic, .sn .sn-qacard {
  border-color: transparent; box-shadow: 0 22px 44px -18px rgba(11, 37, 69, .38), 0 2px 6px rgba(11, 37, 69, .06);
}
.sn .sn-card, .sn .sn-latest { border-radius: 22px; }
.sn a.sn-card:hover, .sn .sn-mpcard:hover, .sn .sn-topic:hover { box-shadow: 0 30px 54px -18px rgba(11, 37, 69, .5), 0 2px 6px rgba(11, 37, 69, .08); }
.sn .sn-btn--primary { box-shadow: 0 14px 26px -10px rgba(19, 62, 135, .75); }
.sn .sn-pagehead .sn-btn--primary { box-shadow: 0 14px 26px -10px rgba(0, 0, 0, .7); }

/* ---------- 4. Number tiles: solid blue, big white figures, a small icon ---------- */
.sn .sn-tile { position: relative; background: #133e87; border: 0; border-radius: 22px; box-shadow: 0 20px 36px -16px rgba(11, 37, 69, .6); color: #fff; }
.sn .sn-tile span { color: #dbeafe; }
.sn .sn-tile b, .sn .sn-tile b span { color: #fff; }
.sn .sn-tile b { font-size: 36px; }
.sn .sn-tile b span { font-size: inherit; }
.sn .sn-pagehead .sn-tile { background: #1d4ed8; }
.sn .sn-tile .sn-ico { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; color: #93c5fd; }
.sn a.sn-tile:hover { background: #1d4ed8; }

/* ---------- 5. Icons that stand in for words ---------- */
.sn-ico { flex: none; vertical-align: -4px; }
.sn-btn .sn-ico { width: 18px; height: 18px; margin-right: 6px; }
.sn-mp-fact { display: flex; align-items: center; gap: 8px; }
.sn-mp-fact .sn-ico { width: 18px; height: 18px; color: #93c5fd; }
.sn-latest dt { display: flex; align-items: center; gap: 8px; }
.sn-latest dt .sn-ico { color: #133e87; }
.sn-meter { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: #e2e8f0; overflow: hidden; margin: -2px 0 6px; }
.sn-meter i { display: block; height: 100%; border-radius: 999px; background: #133e87; }

/* ---------- 6. Approve / disapprove, right under the photo ---------- */
.sn-mphead-p { display: flex; flex-direction: column; align-items: center; flex: none; }
.sn-mphead-p .sn-rate { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 34px 0 0; padding: 0; border: 0; max-width: 300px; }
.sn-mphead-p .sn-rate-b { min-height: 48px; min-width: 92px; justify-content: center; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .8); background: transparent; color: #fff; font-size: 17px; box-shadow: 0 12px 22px -12px rgba(0, 0, 0, .7); }
.sn-mphead-p .sn-rate-b svg { width: 22px; height: 22px; }
.sn-mphead-p .sn-rate-b--up:hover, .sn-mphead-p .sn-rate-b--up.is-on { background: #059669; border-color: #059669; color: #fff; }
.sn-mphead-p .sn-rate-b--down:hover, .sn-mphead-p .sn-rate-b--down.is-on { background: #dc2626; border-color: #dc2626; color: #fff; }
.sn-rate-info { display: contents; }
.sn-rate-info summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; font: italic 700 15px Georgia, serif; color: #e2e8f0; }
.sn-rate-info summary::-webkit-details-marker { display: none; }
.sn-rate-info summary::before { content: ""; position: absolute; width: 26px; height: 26px; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 50%; }
.sn-rate-info summary:focus-visible { outline: 2px solid #fff; outline-offset: -6px; border-radius: 50%; }
.sn-rate-info .sn-rate-note { flex: 1 0 100%; margin: 0; text-align: center; color: #cbd5e1; }
.sn-mphead-p .sn-rate .sn-err { flex: 1 0 100%; text-align: center; color: #fecaca; }
@media (max-width: 700px) { .sn-mphead-p { width: 100%; } }

/* ---------- 7. Floating motion (only for people who have not asked for less motion) ---------- */
@keyframes sn-float { 50% { translate: 0 -7px; } }
@media (prefers-reduced-motion: no-preference) {
  .sn-mo .sn-pagehead .sn-portrait, .sn-mo .pg.ap-hero .ap-shot { animation: sn-float 6s ease-in-out infinite; }
  .sn-mo .sn-card, .sn-mo .sn-latest, .sn-mo .sn-speech { transition: translate .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease; }
  .sn-mo a.sn-card:hover, .sn-mo .sn-mpcard:hover, .sn-mo .sn-topic:hover, .sn-mo a.sn-tile:hover { translate: 0 -5px; }
  .sn-mo .sn-btn:active, .sn-mo .sn-rate-b:active { scale: .96; }
}
.sn.sn-a11y-still .sn-portrait, .sn.sn-a11y-still .ap-shot, .sn.sn-a11y-still .sn-tile,
.sn.sn-a11y-low .sn-portrait, .sn.sn-a11y-low .ap-shot, .sn.sn-a11y-low .sn-tile { animation: none !important; }
