/* =====================================================================
   TPMS · app.css — тема «Мастерская / чертёж» (Tiny Planet, 4.6.1)
   Те же классы и переменные, что раньше (--bg --surface --line --text --muted --primary --primary-soft --accent
   --ok --warn --bad --info --green --yellow --red --radius --font --border), плюс новые токены.
   Роли цветов: тёмно-зелёный — «чернила» (шапка, ссылки, выбранное); оранжевый — только действие и «активное»
   (главная кнопка, фокус, активный пункт меню и вкладка); статусы — свой ряд тонов, с оранжевым не путаются.
   Шрифты локальные (fonts.css): Manrope — текст, JetBrains Mono — коды и цифры, Unbounded — крупные числа.
   Анимации только на загрузке страницы (не на том, что заменяет HTMX); prefers-reduced-motion — всё статично.
   Страница входа — отдельно, static/css/login.css.
   ===================================================================== */
:root {
  /* фирменная палитра Tiny Planet (экран) */
  --tp-orange: #EB5C1F; --tp-green: #365348; --tp-sand: #C9A367; --tp-sand-2: #B89156; --tp-sand-3: #A37F4F;
  --tp-black: #151515; --tp-stone: #C1B5AA; --tp-paper: #EDE9DE;
  /* поверхности */
  --bg: #F3F0E8; --surface: #FFFFFF; --surface-2: #FAF8F3; --surface-3: #F5F1E9;
  --line: #E3DCCF; --line-soft: #ECE6DB; --line-strong: #D6CEBF; --border: var(--line);
  --text: #1A1E1C; --muted: #6B6258;
  /* роли */
  --primary: #365348; --primary-hover: #2A4038; --primary-soft: #E7EDE9;
  --accent: #EB5C1F; --accent-strong: #C94910; --accent-hover: #B5410D; --accent-soft: #FDF1EA; --focus: rgba(235,92,31,.28);
  /* статусы: текст (AA на своём фоне и на белом) · мягкий фон · «сильный» для полос и точек */
  --ok: #2E6B47; --ok-strong: #2E7A4E; --green: #E3F1E7;
  --warn: #8A5D0B; --warn-strong: #D9A21B; --yellow: #F8EDCF;
  --bad: #A8262F; --bad-strong: #C4303C; --red: #FBE4E4;
  --info: #2D5B78; --info-soft: #E3EDF4;
  /* форма */
  --radius: 12px; --radius-sm: 8px; --radius-xs: 6px;
  --shadow-1: 0 1px 2px rgba(21,21,21,.05);
  --shadow-2: 0 1px 2px rgba(21,21,21,.04), 0 10px 24px -14px rgba(38,56,49,.28);
  --shadow-3: 0 2px 4px rgba(21,21,21,.06), 0 18px 36px -16px rgba(38,56,49,.36);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', 'SF Mono', Menlo, Consolas, monospace;
  /* движение */
  --ease: cubic-bezier(.2,.7,.2,1); --t-fast: .15s; --t: .22s;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #C9BFAE transparent; }
body { font-family: var(--font); font-size: 14px; color: var(--text); background: var(--bg); line-height: 1.45; -webkit-font-smoothing: antialiased; }
::selection { background: rgba(235,92,31,.22); }
a { color: var(--primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--accent-strong); text-decoration: underline; text-decoration-color: rgba(235,92,31,.5); text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1 { font-size: 22px; font-weight: 750; letter-spacing: -.015em; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 16px; font-weight: 700; margin: 20px 0 10px; }
h3 { font-size: 14px; font-weight: 700; margin: 14px 0 8px; }
h1 .small, h2 .small, h3 .small { font-weight: 400; }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.muted { color: var(--muted); } .small { font-size: 12px; } .right { text-align: right; } .nowrap { white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 12px; }
details > summary { cursor: pointer; }
details > summary::marker { color: var(--tp-sand-3); }

/* ---------- layout ---------- */
.topbar {
  position: relative; display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap;
  min-height: 54px; padding: 6px 20px; color: #EDE9DE; column-gap: 14px;
  background: linear-gradient(100deg, #243730 0%, #2A4038 45%, #31493F 100%);
  box-shadow: inset 0 -1px 0 rgba(201,163,103,.3);
}
.topbar .brand { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--mono); letter-spacing: .16em; color: #E4D3B0; white-space: nowrap; }
.topbar .brand img { display: block; height: 30px; width: auto; }
.topbar .brand:hover { color: #fff; text-decoration: none; }
.topbar nav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; align-items: center; }
.topbar nav a { position: relative; color: #DCD5C7; padding: 7px 9px; border-radius: 8px; font-size: 13px; font-weight: 500; transition: background-color var(--t-fast), color var(--t-fast); }
.topbar nav a::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left center; transition: transform var(--t) var(--ease); }
.topbar nav a:hover { background: rgba(237,233,222,.08); color: #fff; text-decoration: none; }
.topbar nav a.active { background: rgba(237,233,222,.12); color: #fff; }
.topbar nav a.active::after { transform: scaleX(1); }
.topbar .user { color: #D3C9BD; font-size: 12px; display: flex; align-items: center; gap: 12px; }
.topbar .muted { color: #C4B8A8; }
.topbar form { display: inline; }
.topbar .link, .topbar button.link { background: none; border: 0; color: #E4D3B0; cursor: pointer; padding: 0; font: inherit; font-size: 12px; transition: color var(--t-fast); }
.topbar .link:hover, .topbar button.link:hover { color: #fff; text-decoration: underline; }
.topbar button.link[name=language] { padding: 2px 8px; border: 1px solid rgba(228,211,176,.4); border-radius: 999px; font-weight: 600; letter-spacing: .04em; }
.topbar button.link[name=language]:hover { text-decoration: none; background: rgba(237,233,222,.1); }
main { padding: 20px; max-width: 1400px; margin: 0 auto; animation: page-in .3s ease-out backwards; }
.page-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.page-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40px; height: 2px; background: var(--tp-sand-2); }
.page-head h1 { margin: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; box-shadow: var(--shadow-1); }
.grid { display: grid; gap: 16px; } .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-side { grid-template-columns: 2fr 1fr; }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-side { grid-template-columns: 1fr; } }
.grid > * { min-width: 0; }                                       /* a wide table scrolls inside its card */
.card { overflow-x: auto; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

/* ---------- tables ---------- */
table { border-collapse: collapse; width: 100%; background: var(--surface); font-size: 13px; }
th, td { text-align: left; padding: 7px 9px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--surface-2); border-bottom-color: var(--line); }
tr:hover td { background: #FBF7EF; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.compact th, table.compact td { padding: 5px 8px; }
tr.subtle td { color: var(--muted); }

/* ---------- forms ---------- */
input[type=text], input[type=number], input[type=date], input[type=email], input[type=password], input[type=url], select, textarea {
  font: inherit; color: var(--text); padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast); }
select:not([multiple]) {
  -webkit-appearance: none; appearance: none; padding-right: 30px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%236B6258' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E") right 10px center / 12px no-repeat; }
input[type=number] { text-align: right; font-variant-numeric: tabular-nums; }
textarea { min-height: 70px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #C4BAA8; }
input:focus, select:focus, textarea:focus { outline: 2px solid transparent; border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus); }
input:disabled, select:disabled, textarea:disabled { background-color: var(--surface-3); color: var(--muted); border-color: var(--line); }
input[type=checkbox], input[type=radio] { accent-color: var(--primary); }
::placeholder { color: #7A7065; opacity: 1; }
label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.field { margin-bottom: 12px; }
.field .help { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.field:has(.errorlist) input, .field:has(.errorlist) select, .field:has(.errorlist) textarea { border-color: rgba(168,38,47,.5); }
.inline-form { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.inline-form .field { margin: 0; min-width: 110px; }
.inline-form .field.wide { flex: 2; min-width: 240px; }
.inline-form .field.narrow { min-width: 70px; width: 90px; }
.errorlist { color: var(--bad); font-size: 12px; margin: 4px 0 0; padding-left: 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; vertical-align: middle;
  font: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; padding: 7px 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: #fff; color: var(--text);
  cursor: pointer; white-space: nowrap; box-shadow: 0 1px 0 rgba(21,21,21,.03);
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast); }
.btn:hover { background: #F7F4EE; border-color: #C4BAA8; color: var(--text); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 1px 2px rgba(150,52,10,.25), 0 6px 14px -8px rgba(235,92,31,.6); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn.danger { color: var(--bad); border-color: #E6B9BC; background: #fff; }
.btn.danger:hover { background: var(--red); border-color: var(--bad); color: var(--bad); }
.btn.ok { background: #2A704A; border-color: #2A704A; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 2px rgba(20,60,38,.25); }
.btn.ok:hover { background: #235E3E; border-color: #235E3E; color: #fff; }
.btn.sm { padding: 4px 10px; font-size: 12px; }
.btn.xs { padding: 2px 7px; font-size: 11px; border-radius: var(--radius-xs); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- badges & states ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1.45; background: #EEEAE1; color: #4A443D; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(21,21,21,.05); vertical-align: 1px; }
a.badge:hover { text-decoration: none; box-shadow: inset 0 0 0 1px currentColor; }
.badge.ok::before, .badge.active::before, .badge.warn::before, .badge.bad::before, .badge.info::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.warn::before { border-radius: 1px; transform: rotate(45deg); }
.badge.bad::before { border-radius: 1px; }
.badge.ok, .badge.active { background: var(--green); color: var(--ok); box-shadow: inset 0 0 0 1px rgba(46,107,71,.2); }
.badge.warn { background: var(--yellow); color: var(--warn); box-shadow: inset 0 0 0 1px rgba(138,93,11,.2); }
.badge.bad { background: var(--red); color: var(--bad); box-shadow: inset 0 0 0 1px rgba(168,38,47,.2); }
.badge.info { background: var(--info-soft); color: var(--info); box-shadow: inset 0 0 0 1px rgba(45,91,120,.18); }
.badge.draft { background: var(--tp-paper); color: #5E574F; box-shadow: none; outline: 1px dashed rgba(94,87,79,.45); outline-offset: -1px; }
.badge.retired { background: #F1E6D4; color: #6E4F27; box-shadow: inset 0 0 0 1px rgba(110,79,39,.18); text-decoration: line-through; text-decoration-color: rgba(110,79,39,.5); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; }
.dot.on { background: var(--ok-strong); box-shadow: 0 0 0 3px rgba(46,122,78,.15); } .dot.off { background: #CFC6B8; }
.messages { margin: 0 0 16px; padding: 0; list-style: none; }
.messages li {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; margin-bottom: 8px; border-radius: var(--radius-sm);
  color: var(--text); background: var(--info-soft); border: 1px solid rgba(45,91,120,.16); border-left: 4px solid var(--info);
  animation: msg-in .35s var(--ease) backwards; }
.messages li::before { content: "i"; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font: 700 11px/1 var(--font); color: #fff; background: var(--info); }
.messages li.error { background: var(--red); border-color: rgba(168,38,47,.18); border-left-color: var(--bad-strong); }
.messages li.error::before { content: "\00D7"; font-size: 14px; background: var(--bad-strong); }
.messages li.warning { background: var(--yellow); border-color: rgba(138,93,11,.18); border-left-color: var(--warn-strong); }
.messages li.warning::before { content: "!"; border-radius: 3px; background: var(--warn-strong); color: #3A2A05; }
.messages li.success { background: var(--green); border-color: rgba(46,107,71,.18); border-left-color: var(--ok-strong); }
.messages li.success::before { content: "\2713"; background: var(--ok-strong); }
.issues li { margin: 3px 0; } .issues .error { color: var(--bad); } .issues .warning { color: var(--warn); }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; flex-wrap: wrap; }
.tabs a { position: relative; padding: 9px 12px; border-radius: 8px 8px 0 0; color: var(--muted); font-weight: 600; transition: color var(--t-fast), background-color var(--t-fast); }
.tabs a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform var(--t) var(--ease); }
.tabs a:hover { color: var(--text); background: rgba(54,83,72,.05); text-decoration: none; }
.tabs a.active { color: var(--text); }
.tabs a.active::after { transform: scaleX(1); }

/* ---------- configurator ---------- */
.section-block { margin-bottom: 16px; }
.section-block h3 { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.opt { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: start; padding: 7px 10px; border-radius: var(--radius-sm); transition: background-color var(--t-fast); }
.opt:hover { background: #FAF6EE; }
.opt.selected { background: var(--primary-soft); box-shadow: inset 3px 0 0 var(--primary); }
.opt.base { color: var(--muted); }
.opt.selected.base { background: var(--surface-3); box-shadow: inset 3px 0 0 var(--tp-sand); }
.opt input[type=checkbox], .opt input[type=radio] { width: 16px; height: 16px; margin-top: 2px; }
.opt .name { font-size: 13px; }
.opt .price { text-align: right; white-space: nowrap; font-size: 12px; font-variant-numeric: tabular-nums; }
.opt .price input { width: 96px; padding: 3px 7px; font-size: 12px; }
.opt .qty input { width: 60px; padding: 3px 6px; }
.opt .meta { font-size: 11px; color: var(--muted); }
.family { border-left: 2px solid #DCC9A4; margin: 8px 0 8px 6px; padding: 2px 0 2px 10px; }
.family .fam-title { font-size: 11px; font-weight: 700; color: #7A5C2E; text-transform: uppercase; letter-spacing: .06em; margin: 2px 0 4px; }
.totals td { font-weight: 700; }
.sticky { position: sticky; top: 16px; }

/* ---------- board ---------- */
.board { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.col { background: #EEE9DF; border: 1px solid #E1DACC; border-radius: var(--radius); padding: 10px; min-height: 180px; }
.col h3 { margin: 0 0 10px; padding: 2px 4px 8px; font-size: 13px; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-bottom: 1px dashed #D3C9B8; }
.vcard {
  position: relative; background: #fff; border-radius: var(--radius-sm); padding: 10px 12px 10px 14px; margin-bottom: 10px;
  border: 1px solid var(--line); border-left: 4px solid #CFC6B8; box-shadow: var(--shadow-1);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.vcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); }
.vcard.green { border-left-color: var(--ok-strong); }
.vcard.yellow { border-left-color: var(--warn-strong); background: #FFFBF0; }
.vcard.red { border-left-color: var(--bad-strong); background: #FFF6F5; }
.vcard .title { font-weight: 800; font-size: 14px; } .vcard .line { font-size: 12px; color: var(--muted); margin-top: 2px; }
.progress { height: 6px; background: #ECE6DA; border-radius: 99px; overflow: hidden; margin-top: 8px; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #365348, #4E7A68); }

/* ---------- stage card ---------- */
.fact { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 9px 8px; border-bottom: 1px solid var(--line-soft); }
.fact:hover { background: #FBF7EF; }
.fact.done { color: var(--muted); }
.fact .hours input { width: 72px; }
.check { display: flex; gap: 10px; align-items: center; padding: 7px 4px; border-bottom: 1px solid var(--line-soft); }
.check.done { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(107,98,88,.6); }
.check .btns { margin-left: auto; display: flex; gap: 4px; }
.kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi .card { position: relative; margin: 0; padding: 14px 16px 12px; overflow: hidden; }
.kpi .card::before { content: ""; position: absolute; left: 16px; top: 0; width: 28px; height: 2px; background: var(--tp-sand); }
.kpi .val { font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi .lbl { font-size: 12px; color: var(--muted); margin-top: 4px; }
.completeness span { margin-right: 6px; }
.completeness .dot.half { background: var(--info); opacity: .6; }
.login-box { max-width: 400px; margin: 64px auto; }
.filters { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; margin-bottom: 14px; }
.filters .field { margin: 0; min-width: 140px; }
.filters .field.wide { flex: 1 1 240px; }
.htmx-request { opacity: .6; transition: opacity var(--t); }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; }
dl.kv dt { color: var(--muted); } dl.kv dd { margin: 0; }
.print-only { display: none; }

/* ---------- photos ---------- */
.thumb { display: block; width: 120px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-2); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.photo-link:hover .thumb, a:hover > .thumb { transform: scale(1.04); box-shadow: var(--shadow-2); }
.thumb.main { width: 240px; height: 180px; }
.thumb.sm { width: 96px; height: 72px; display: inline-block; vertical-align: middle; margin-top: 4px; }
.thumb.xs { width: 40px; height: 30px; display: inline-block; vertical-align: middle; margin-left: 4px; border-radius: 4px; }
.photo-link { display: inline-block; vertical-align: middle; }

/* ---------- motion: только на загрузке страницы ---------- */
@keyframes page-in { from { opacity: 0; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- print / touch / small screens / reduced motion ---------- */
@media print {
  .topbar, .no-print { display: none !important; } .print-only { display: block; }
  body { background: #fff; } main { padding: 0; }
  .card { border: 0; box-shadow: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (pointer: coarse) {
  .btn { min-height: 38px; } .btn.sm { min-height: 34px; } .btn.xs { min-height: 30px; padding: 4px 9px; }
  .opt input[type=checkbox], .opt input[type=radio] { width: 20px; height: 20px; }
}
@media (max-width: 1100px) {
  .topbar nav { order: 3; flex: 1 1 100%; margin: 0 -6px; }
  .topbar .user { margin-left: auto; }
}
@media (max-width: 700px) {
  main { padding: 12px; }
  h1 { font-size: 20px; }
  .opt { grid-template-columns: 24px 1fr; } .opt .price { grid-column: 2; text-align: left; }
  th, td { padding: 6px 5px; }
  .topbar { padding: 8px 12px 0; gap: 6px 12px; }
  .topbar .user { margin-left: auto; }
  .topbar nav { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px; padding: 0 12px 4px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent);
            mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent); }
  .topbar nav::-webkit-scrollbar { display: none; }
  .topbar nav a { flex: none; }
  .card { overflow-x: auto; }
  .board { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(250px, 82%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .col { scroll-snap-align: start; }
  input[type=text], input[type=number], input[type=date], input[type=email], input[type=password], input[type=url], select, textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .vcard:hover, .photo-link:hover .thumb, a:hover > .thumb { transform: none; }
}
