/* App pages (scripts/build-app-pages.mjs), on top of /legal.css. */
:root { --ok: #1f7a45; --c-shipping: #2456d6; --c-shipping-bg: #e6edfc; --c-returns: #7a3db8; --c-returns-bg: #f1e8fa; --c-warranty: #b0560f; --c-warranty-bg: #fcefe3; }
@media (prefers-color-scheme: dark) {
  :root { --ok: #6fd39a; --c-shipping: #9db8ff; --c-shipping-bg: #1c2a4d; --c-returns: #d3a8ff; --c-returns-bg: #33204a; --c-warranty: #ffb77a; --c-warranty-bg: #432914; }
}
main { max-width: 900px; }
footer { max-width: 900px; }
.crumb { margin: 28px 0 0; font-size: 14px; color: var(--muted); }
.crumb a { color: var(--muted); }
h1 { margin-top: 8px; }
.answer { font-size: 18px; line-height: 1.6; }
.small { font-size: 14px; color: var(--muted); }
.cat { display: inline-block; padding: 1px 8px; border-radius: 4px; font-size: 13px; margin-right: 4px; }
.cat-shipping { color: var(--c-shipping); background: var(--c-shipping-bg); }
.cat-returns { color: var(--c-returns); background: var(--c-returns-bg); }
.cat-warranty { color: var(--c-warranty); background: var(--c-warranty-bg); }
.check { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; margin: 20px 0 8px; }
.check label { display: block; font-weight: 600; margin-bottom: 8px; }
.check div { display: flex; gap: 8px; }
.check input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--fg); font: 15px ui-monospace, Menlo, monospace; }
.check button { border: 0; border-radius: 8px; padding: 9px 18px; font: inherit; font-weight: 600; background: var(--accent); color: #fff; cursor: pointer; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 13px; color: var(--muted); font-weight: 600; background: var(--bg); }
tr:last-child td { border-bottom: 0; }
td:first-child a { font-weight: 600; color: var(--fg); }
h3 { font-size: 16px; margin: 18px 0 4px; }
.applist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.applist li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.applist a { display: block; text-decoration: none; color: var(--fg); margin-bottom: 6px; }
.applist b { display: block; font-size: 17px; }
.applist span:not(.cat) { color: var(--muted); font-size: 14px; }
