/* psa.odtaw.com: builds on /site.css (Storm palette). No inline styles. */
main { scroll-margin-top: 70px; }
section { scroll-margin-top: 70px; }

/* Quarter-to-scale drawing */
.coin { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 12px; }
.coin svg { display: block; width: 100%; height: auto; }
.coin figcaption { font-size: 0.85rem; color: var(--ink-dim); text-align: center; margin-top: 6px; }
.q-rim { fill: #8d969d; }
.q-face { fill: #b6bec4; stroke: #8d969d; stroke-width: 1; }
.q-txt { fill: #5b646b; font: 700 22px ui-sans-serif, system-ui, sans-serif; }
.pcb { fill: #1f5f3a; stroke: #2e7d4f; stroke-width: 1.5; }
.usb { fill: #c9d1d7; }
.chip { fill: #2b2f33; stroke: #8d969d; stroke-width: 0.8; }
.chip-txt { fill: #c9d1d7; font: 700 13px ui-monospace, Menlo, Consolas, monospace; }
.ant { fill: #f0b82d; }
.lbl { fill: var(--ink-dim); font: 12px ui-sans-serif, system-ui, sans-serif; }

.cell.product { border-top: 3px solid var(--hickory); }
.cell.product h3 { font-size: 1.2rem; }
.grid.more { margin-top: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .grid.more { grid-template-columns: minmax(0, 1fr); } }
.cell em { color: var(--ink); font-style: normal; font-weight: 600; }
.phases em { color: var(--ink); font-style: normal; font-weight: 600; }

/* Alerts: coloured rule by how urgent */
.alerts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
@media (max-width: 680px) { .alerts { grid-template-columns: minmax(0, 1fr); } }
.alerts li { display: flex; flex-direction: column; gap: 2px; background: var(--panel); border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: var(--r); padding: 12px 14px; }
.alerts b { color: var(--ink); }
.alerts span { color: var(--ink-dim); font-size: 0.93rem; }
.alerts .a-bad { border-left-color: #ef7d70; }
.alerts .a-warn { border-left-color: var(--hickory); }
.alerts .a-info { border-left-color: #7fcba3; }

.points a, .cell a, details a { color: var(--accent); }

.specs { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 0.95rem; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line); }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 1px solid var(--line); }
.specs th { width: 9.5em; color: var(--accent); font-weight: 600; }
.specs td { color: var(--ink-dim); }


#faq details { border-top: 1px solid var(--line); padding: 12px 0; }
#faq details:last-of-type { border-bottom: 1px solid var(--line); }
#faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
#faq details p { color: var(--ink-dim); margin-top: 8px; max-width: 62ch; }

/* Product tiles open their detail pages */
a.cell.product { display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: border-color .15s, background .15s; }
a.cell.product:hover { border-color: var(--hickory); background: var(--panel-2); }
a.cell.product:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
a.cell.product .more { margin-top: auto; padding-top: 12px; color: var(--hickory); font-weight: 700; font-size: 0.95rem; }
.after { margin-top: 22px; }

/* Detail pages */
.crumb { font-size: 0.85rem; color: var(--ink-dim); }
.crumb a { color: var(--accent); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
section > ul.points + p, section > .grid + p { margin-top: 18px; }
.cell ul { margin: 8px 0 0 18px; color: var(--ink-dim); font-size: 0.93rem; }
.cell li { margin: 3px 0; }
.note { border-left: 2px solid var(--hickory); padding: 4px 0 4px 14px; color: var(--ink-dim); max-width: 62ch; margin-top: 16px; font-size: 0.95rem; }
.note b { color: var(--ink); }
.figure { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin: 18px 0 6px; }
.figure svg { display: block; width: 100%; height: auto; }
.figcap { font-size: 0.85rem; color: var(--ink-dim); margin-top: 8px; }
.svg-box { fill: var(--panel-2); stroke: var(--line); stroke-width: 1.5; }
.svg-hi { fill: none; stroke: var(--hickory); stroke-width: 2; }
.svg-ac { fill: none; stroke: var(--accent); stroke-width: 2; }
.svg-ok { fill: none; stroke: #7fcba3; stroke-width: 2; }
.svg-t { fill: var(--ink); font: 600 13px ui-sans-serif, system-ui, sans-serif; }
.svg-s { fill: var(--ink-dim); font: 12px ui-sans-serif, system-ui, sans-serif; }
.svg-f-hi { fill: var(--hickory); } .svg-f-ac { fill: var(--accent); } .svg-f-ok { fill: #7fcba3; }

/* Screenshots of the monitor (from its simulator) */
.shot { margin: 0; }
.shot img { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto; border-radius: 22px;
  border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0, 0, 0, .45); }
.shot figcaption { font-size: 0.85rem; color: var(--ink-dim); text-align: center; margin: 10px auto 0; max-width: 36ch; }
.shot figcaption b, .shot figcaption em { color: var(--ink); font-style: normal; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 18px; }
@media (max-width: 760px) { .shots { grid-template-columns: minmax(0, 1fr); } }
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 18px; }
@media (max-width: 760px) { .split2 { grid-template-columns: minmax(0, 1fr); } }
.next { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.hero.split.align-top { align-items: start; }

/* Product icons (direction F, Drop & Ripple) */
.top .home { display: inline-flex; align-items: center; gap: 8px; }
.home-logo { display: block; width: 26px; height: 26px; }
.brandline { display: flex; align-items: center; gap: 18px; }
.hero-icon { flex: none; width: 84px; height: 84px; }
.hero-icon.sm { width: 64px; height: 64px; }
.tile-icon { display: block; width: 56px; height: 56px; margin-bottom: 12px; }

/* PSA Monitor page */
.dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; margin-top: 4px; }
.dates > div { background: var(--panel-2); border: 1px solid var(--line); border-left: 3px solid var(--hickory); border-radius: var(--r); padding: 10px 14px; }
.dates .k { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); }
.dates b { color: var(--ink); font-size: 0.95rem; }
@media (max-width: 420px) { .dates { grid-template-columns: minmax(0, 1fr); } }
.shots.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; }
.shots.three .shot img { border-radius: 16px; }
@media (max-width: 760px) { .shots.three { grid-template-columns: minmax(0, 1fr); } }
section > h2.sub-h { margin-top: 40px; }
section > p.fine { margin-top: 18px; }
.road a { color: var(--accent); }
