/* =========================================================================
 * TiplistToGo — app.css
 * Engineer's Notebook system, shared with Doka Pocket CRM: Fraunces
 * display / DM Sans UI / JetBrains Mono data, warm paper with rust
 * accent. Mode carries the color: rental = ocean blue, sale = green.
 * Article numbers, weights and prices are always mono.
 * ========================================================================= */

:root {
  --paper: #F6F2E9;
  --card: #FFFDF7;
  --ink: #2B2A26;
  --ink-soft: #6B675C;
  --line: #DDD5C4;
  --line-soft: #EAE3D4;
  --rust: #B3502D;
  --rust-deep: #8F3E21;
  --amber: #E0A41B;
  --teal: #1F6F9C;
  --green: #4A7A43;
  --purple: #6E4FA3;
  --warn-bg: #F6E3DC;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --nav-h: 58px;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(43, 42, 38, .10), 0 4px 14px rgba(43, 42, 38, .06);
}

* { box-sizing: border-box; }

/* Author display values (flex, etc.) must never override the hidden
 * attribute — without this, the empty full-screen detail overlay paints
 * over the entire app on load. */
[hidden] { display: none !important; }

html, body { height: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
body.no-scroll { overflow: hidden; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 640; }
.muted { color: var(--ink-soft); }
.pad { padding: 12px; }
.mono { font-family: var(--font-mono); }

/* ---- buttons & inputs --------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 16px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card);
  font-weight: 500;
  min-height: 42px;
}
.btn-primary { background: var(--rust); border-color: var(--rust-deep); color: #FFF8F0; }
.btn-primary:active { background: var(--rust-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink-soft); }
.btn-ghost.danger { color: var(--rust-deep); border-color: var(--rust); }
.btn-link { border-color: var(--teal); color: var(--teal); text-decoration: none; font-weight: 500; }

.text-input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  font: inherit;
  color: var(--ink);
}
.text-input:focus { border-color: var(--rust); outline: none; }

.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 20px;
}
.icon-btn:active { background: var(--line-soft); }

/* ---- boot screen ---------------------------------------------------------- */

.setup {
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 18px;
}
.setup-card { width: 100%; max-width: 420px; text-align: center; }
.brand {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--rust); margin-bottom: 18px;
}
.brand-rule { flex: 0 0 34px; height: 1px; background: var(--rust); opacity: .5; }
.setup-card h1 { font-size: 34px; line-height: 1.1; margin-bottom: 12px; }
.setup-sub { color: var(--ink-soft); margin: 0 0 22px; }
.setup-status { margin-top: 16px; min-height: 24px; font-family: var(--font-mono); font-size: 13px; }
.setup-error { color: var(--rust-deep); }
.setup-choice { width: 100%; }

/* Clerk's prebuilt sign-in mounts here. min-height reserves the space so the
 * card doesn't jump when the widget (and then the MFA step) renders. */
.clerk-mount { display: flex; justify-content: center; margin: 6px 0 14px; min-height: 320px; }
.spinner {
  display: inline-block; width: 14px; height: 14px; margin-right: 8px;
  border: 2px solid var(--line); border-top-color: var(--rust);
  border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- top bar -------------------------------------------------------------- */

.tab { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
.tab-scroll { min-height: 100dvh; }

.topbar {
  position: sticky; top: 0; z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 10px 12px 8px;
}
.search-row { display: flex; gap: 8px; }
.search-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  font: inherit;
  min-width: 0;
}
.search-input:focus { border-color: var(--rust); outline: none; }

.kpi-sort-row { display: flex; align-items: center; gap: 8px; padding-top: 8px; }
.kpi-strip { display: flex; gap: 14px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.kpi-strip::-webkit-scrollbar { display: none; }
.kpi { display: flex; flex-direction: column; line-height: 1.15; flex: 0 0 auto; }
.kpi-value { font-family: var(--font-mono); font-weight: 600; font-size: 14px; }
.kpi-label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.kpi.warn .kpi-value { color: var(--rust-deep); }

/* Breadcrumb (Browse tab) — one scrolling line, ancestors tappable. */
.crumb-row {
  display: flex; align-items: center; gap: 2px;
  overflow-x: auto; scrollbar-width: none;
  padding: 6px 0 4px;
  font-size: 13px;
  white-space: nowrap;
}
.crumb-row::-webkit-scrollbar { display: none; }
.crumb {
  flex: 0 0 auto;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--teal);
  font-weight: 500;
}
.crumb:active { background: var(--line-soft); }
.crumb-here { flex: 0 0 auto; padding: 6px 8px; font-weight: 700; color: var(--ink); }
.crumb-sep { color: var(--line); flex: 0 0 auto; }

/* ---- article cards --------------------------------------------------------- */

.article-list { padding: 10px 12px 0; display: flex; flex-direction: column; gap: 10px; }

.a-card {
  position: relative;
  display: flex; align-items: stretch;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
}
.a-thumb {
  flex: 0 0 64px;
  align-self: center;
  width: 64px; height: 64px;
  margin: 8px 0 8px 8px;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: #FFFFFF;
  object-fit: contain;
  display: block;
}
/* Typographic placeholder — the normal state for most articles, not an error. */
.a-thumb-ph {
  flex: 0 0 64px;
  align-self: center;
  width: 64px; height: 64px;
  margin: 8px 0 8px 8px;
  border-radius: 8px;
  background: var(--line-soft);
  color: var(--ink-soft);
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 4px;
  word-break: break-all;
}
.a-body { flex: 1; padding: 10px 48px 10px 10px; min-width: 0; }
.a-top { display: flex; align-items: center; gap: 8px; }
.a-num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); letter-spacing: .04em; }
.a-name {
  font-size: 15.5px; line-height: 1.25; font-weight: 500;
  margin: 3px 0 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.a-figs { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink); }
.a-figs .dim { color: var(--ink-soft); }

/* Rental / sale pill — mode carries the color. */
.pill {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  padding: 2px 7px; border-radius: 4px; color: #FFFDF7;
  background: var(--ink-soft);
  flex: 0 0 auto;
}
.pill.rental { background: var(--teal); }
.pill.sale { background: var(--green); }

/* The + add-to-list button riding every card. */
.a-add {
  position: absolute; top: 50%; right: 4px;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 500;
  color: var(--rust);
  border-radius: 50%;
}
.a-add:active { background: var(--warn-bg); }

.list-sentinel { height: 8px; }

/* ---- empty states ----------------------------------------------------------- */

.empty-state { text-align: center; padding: 56px 28px; color: var(--ink-soft); }
.empty-mark { font-size: 34px; color: var(--line); margin-bottom: 10px; }
.empty-state h2 { color: var(--ink); font-size: 21px; margin-bottom: 6px; }

/* ---- bottom navigation -------------------------------------------------------- */

.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500;
  display: flex;
  background: var(--card);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
}
.nav-btn {
  position: relative;
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  font-size: 11px; font-weight: 500;
  color: var(--ink-soft);
}
.nav-btn .nav-ico { font-size: 18px; line-height: 1; }
.nav-btn .nav-svg { width: 20px; height: 20px; display: block; }
.nav-btn.active { color: var(--rust); }
.nav-btn.active::after {
  content: ""; position: absolute; top: 0; left: 28%; right: 28%;
  height: 2.5px; background: var(--rust); border-radius: 0 0 3px 3px;
}
.nav-badge {
  position: absolute; top: 6px; right: calc(50% - 26px);
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--rust); color: #FFF8F0;
  border-radius: 9px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

/* ---- overlays: bottom sheet ----------------------------------------------------
 * Layer order:
 *   detail view      2000
 *   bottom sheet     2100
 *   toast            2200
 * (bottom nav sits at 1500, under everything above.)
 */

.overlay { position: fixed; inset: 0; z-index: 2100; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(43, 42, 38, .42); }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 86dvh;
  background: var(--paper);
  border-radius: 16px 16px 0 0;
  display: flex; flex-direction: column;
  animation: sheet-up .22s ease-out;
}
@keyframes sheet-up { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
.sheet-grip { width: 38px; height: 4px; background: var(--line); border-radius: 2px; margin: 8px auto 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 4px; }
.sheet-head h2 { font-size: 21px; }
.sheet-scroll { overflow-y: auto; padding: 4px 16px 12px; }
.sheet-foot { padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-foot .btn { width: 100%; }

/* Rows inside sheets (pick a list, line actions). */
.sheet-row {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  font-size: 15px;
}
.sheet-row:last-child { border-bottom: 0; }
.sheet-row:active { background: var(--line-soft); }
.sheet-row .mono { font-size: 12px; color: var(--ink-soft); }
.sheet-row.danger { color: var(--rust-deep); }
.sheet-row-check { color: var(--rust); font-weight: 700; }
.sheet-new { display: flex; gap: 8px; margin: 12px 0 4px; }
.sheet-new .text-input { flex: 1; }

/* ---- detail view ----------------------------------------------------------------- */

.detail-view {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--paper);
  display: flex; flex-direction: column;
}
.detail-head {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 10px 10px 12px;
  border-bottom: 4px solid var(--ink-soft);
  background: var(--card);
}
.detail-head.rental { border-bottom-color: var(--teal); }
.detail-head.sale { border-bottom-color: var(--green); }
.detail-title { flex: 1; min-width: 0; }
.detail-num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }
.detail-title h2 { font-size: 21px; line-height: 1.15; margin: 2px 0 6px; }
.detail-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); }

.detail-scroll { flex: 1; overflow-y: auto; padding: 12px 14px; }

/* Product photo stage — white seamless, square-ish, photo or placeholder. */
.detail-photo {
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  min-height: 180px;
  max-height: 46dvh;
  overflow: hidden;
}
.detail-photo img { max-width: 100%; max-height: 46dvh; object-fit: contain; display: block; }
.detail-photo-ph {
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  margin-bottom: 16px;
  min-height: 140px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: var(--ink-soft);
}
.detail-photo-ph .ph-num { font-family: var(--font-mono); font-size: 22px; letter-spacing: .08em; }
.detail-photo-ph .ph-note { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.photo-credit { font-size: 11.5px; color: var(--ink-soft); font-style: italic; margin: -10px 2px 16px; }

.dgroup { margin-bottom: 20px; }
.dgroup h3 {
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--rust);
  border-bottom: 1px solid var(--line); padding-bottom: 5px; margin-bottom: 2px;
}
.dgroup-count { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); font-weight: 400; }
.dgroup-rows { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.drow {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
}
.drow:last-child { border-bottom: 0; }
.drow-label { font-size: 13px; color: var(--ink-soft); flex: 0 1 46%; }
.drow-value {
  font-family: var(--font-mono); font-size: 13.5px; font-weight: 500;
  text-align: right; flex: 1; min-width: 0; overflow-wrap: anywhere;
}
.drow-value.warn { color: var(--rust-deep); }

/* Price calculator — sits directly under the price. */
.calc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  margin-bottom: 20px;
}
.calc-card h3 {
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--rust);
  margin-bottom: 10px;
}
.calc-row { display: flex; align-items: center; gap: 10px; }
.calc-row label { font-size: 13px; color: var(--ink-soft); flex: 1; }
.calc-input {
  flex: 0 0 96px;
  padding: 9px 10px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-family: var(--font-mono); font-size: 15px; font-weight: 600;
  text-align: right;
  color: var(--ink);
  min-width: 0;
}
.calc-input:focus { border-color: var(--rust); outline: none; }
.calc-math {
  font-family: var(--font-mono); font-size: 14px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.calc-math strong { font-weight: 600; color: var(--rust-deep); }
.calc-vintage { font-size: 11px; color: var(--ink-soft); margin: 8px 0 0; }

/* "Appears in" category chips. */
.cat-chips { display: flex; flex-direction: column; gap: 6px; }
.cat-chip {
  text-align: left;
  padding: 9px 12px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
}
.cat-chip:active { background: var(--line-soft); }
.cat-chip .cat-path { display: block; font-size: 11px; color: var(--ink-soft); font-weight: 400; }
.cat-note { font-size: 12px; color: var(--ink-soft); margin: 6px 0 0; }

.detail-actions {
  padding: 10px 14px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--card);
}
.detail-actions .btn { width: 100%; }
.detail-pad { height: 48px; }

/* ---- browse tab ------------------------------------------------------------------- */

#browseView { padding: 10px 12px 0; }
.node-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.node-row {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
}
.node-row:active { background: var(--paper); }
.node-name { flex: 1; font-weight: 500; font-size: 15px; min-width: 0; }
.node-count { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-soft); flex: 0 0 auto; text-align: right; }
.node-chevron { color: var(--line); font-size: 18px; flex: 0 0 auto; }
.browse-section {
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--rust);
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px; margin: 4px 0 10px;
}
.browse-section .dgroup-count { text-transform: none; letter-spacing: 0; }
#browseView .article-list { padding: 0; }

/* ---- lists tab ------------------------------------------------------------------------ */

#listsView { padding: 16px 14px; }
.lists-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.lists-head h2 { font-size: 26px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lists-switch {
  flex: 0 0 auto;
  padding: 7px 13px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
}
.lists-sub { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); margin-bottom: 14px; }

.tl-lines { display: flex; flex-direction: column; gap: 8px; }
.tl-line {
  display: flex; align-items: center; gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
}
.tl-line.missing { background: var(--warn-bg); border-color: var(--rust); }
.tl-thumb { flex: 0 0 46px; width: 46px; height: 46px; margin: 0; border-radius: 6px; align-self: center; }
.tl-body { flex: 1; min-width: 0; cursor: pointer; }
.tl-name { font-size: 14px; font-weight: 500; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-missing-badge {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; letter-spacing: .03em;
  color: var(--rust-deep);
  border: 1px solid var(--rust);
  border-radius: 9px; padding: 0 7px;
  margin-left: 4px;
  white-space: nowrap;
}
.tl-figs { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-soft); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-note { font-size: 12px; color: var(--ink-soft); font-style: italic; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-stepper { display: flex; align-items: center; flex: 0 0 auto; }
.tl-step {
  width: 34px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; color: var(--rust);
}
.tl-step:active { background: var(--line-soft); border-radius: 8px; }
.tl-qty { font-family: var(--font-mono); font-size: 14px; font-weight: 600; min-width: 28px; text-align: center; }
.tl-menu { flex: 0 0 34px; height: 42px; font-size: 19px; color: var(--ink-soft); }

.totals-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 14px;
  padding: 12px 14px;
}
.totals-card .drow { padding: 7px 0; }
.totals-note { font-size: 11.5px; color: var(--ink-soft); margin: 8px 0 0; }
.list-actions { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }

/* ---- more tab -------------------------------------------------------------------------- */

#moreView { padding: 16px 14px; }
.more-section {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; margin-bottom: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.more-section h2 { font-size: 19px; }
.more-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.more-row strong { font-family: var(--font-mono); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.more-hint { font-size: 12.5px; color: var(--ink-soft); margin: 0; }
.more-warn { font-size: 12.5px; color: var(--rust-deep); background: var(--warn-bg); border-radius: 8px; padding: 8px 10px; margin: 0; }
.more-about { text-align: center; font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); padding: 8px 0 20px; }

/* ---- toast ----------------------------------------------------------------------------------- */

.toast {
  position: fixed; left: 14px; right: 14px;
  bottom: calc(var(--nav-h) + 14px + env(safe-area-inset-bottom));
  z-index: 2200;
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 13.5px;
  box-shadow: 0 6px 22px rgba(43, 42, 38, .32);
  opacity: 0; transform: translateY(8px);
  transition: opacity .22s, transform .22s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: none; }

/* ---- wider screens ------------------------------------------------------------------------------- */

@media (min-width: 740px) {
  .article-list, .topbar, #browseView, #listsView, #moreView { max-width: 720px; margin-left: auto; margin-right: auto; }
  .topbar { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .detail-scroll, .detail-head, .detail-actions { padding-left: max(14px, calc((100vw - 720px) / 2)); padding-right: max(14px, calc((100vw - 720px) / 2)); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
