/* Sentinel — dark UI in the spirit of Vercel's dashboard. No external assets. */
:root {
  --bg: #000;
  --surface: #0a0a0a;
  --surface-2: #111;
  --surface-3: #171717;
  --border: #1f1f1f;
  --border-2: #2e2e2e;
  --text: #ededed;
  --muted: #a1a1a1;
  --subtle: #666;
  --green: #3ecf8e;
  --green-dim: rgba(62, 207, 142, .14);
  --red: #e5484d;
  --red-dim: rgba(229, 72, 77, .14);
  --amber: #f5a524;
  --amber-dim: rgba(245, 165, 36, .14);
  --blue: #52a8ff;
  --violet: #a78bfa;
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Geist", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Geist Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: 28px; line-height: 1.2; }
h3 { font-size: 15px; }
p { margin: 0 0 12px; }
code, .mono { font-family: var(--mono); font-size: 0.92em; }
[hidden] { display: none !important; }
::selection { background: #fff; color: #000; }

.accent { color: var(--green); }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.break { word-break: break-word; }
.green { color: var(--green); }
.red { color: var(--red); }
.amber { color: var(--amber); }
.strong { font-weight: 600; }
.select { user-select: all; }

.icon { width: 16px; height: 16px; flex: none; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
  padding: 20px 14px;
  border-right: 1px solid var(--border);
  background: var(--bg);
}
.brand, .auth-brand { display: flex; align-items: baseline; gap: 8px; padding: 6px 10px 22px; }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); align-self: center; }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
.brand-by { font-size: 12px; color: var(--subtle); }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 6px;
  color: var(--muted); font-weight: 500;
  transition: background .15s, color .15s;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.active { color: var(--text); background: var(--surface-3); }
.nav a.active .icon { color: var(--green); }
.nav-label { margin: 18px 10px 6px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--subtle); }
.sidebar-foot { margin-top: auto; }

.main { min-width: 0; padding: 32px 40px 64px; max-width: 1440px; }

/* ---------- menus (details/summary) ---------- */
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-pop {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 30;
  min-width: 180px; padding: 6px;
  background: var(--surface-2); border: 1px solid var(--border-2); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,.6);
}
.menu-pop.up { top: auto; bottom: calc(100% + 6px); left: 0; right: 0; }
.menu-pop a, .menu-pop button {
  display: block; width: 100%; text-align: left;
  padding: 7px 10px; border-radius: 5px; border: 0; background: none;
  color: var(--text); font: inherit; cursor: pointer;
}
.menu-pop a:hover, .menu-pop button:hover { background: var(--surface-3); }
.menu-pop button.danger { color: var(--red); }
.menu-pop form { margin: 0; }

.user-menu > summary {
  display: flex; align-items: center; gap: 10px;
  padding: 8px; border-radius: var(--radius);
  border: 1px solid transparent;
}
.user-menu > summary:hover, .user-menu[open] > summary { background: var(--surface-2); border-color: var(--border); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #222, #0d0d0d); border: 1px solid var(--border-2);
  font-weight: 600; font-size: 13px;
}
.user-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.user-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role { font-size: 12px; color: var(--subtle); }
.dots { color: var(--muted); }

/* ---------- page structure ---------- */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.page-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 32px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.two-col.wide-left { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); margin-bottom: 14px; font-size: 13px; }
.back:hover { color: var(--text); }

/* ---------- cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 16px;
}
.page-side .card, .stack .card { margin-bottom: 0; }
.card h3 { margin-bottom: 14px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h3 { margin: 0; }
.card.flush { padding: 0; overflow-x: auto; }
.card.narrow { max-width: 560px; }
.danger-zone { border-color: rgba(229,72,77,.35); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 14px;
  border-radius: 6px; border: 1px solid var(--border-2);
  background: var(--bg); color: var(--text);
  font: 500 14px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--surface-3); border-color: #3d3d3d; }
.btn.primary { background: var(--text); color: #000; border-color: var(--text); }
.btn.primary:hover { background: #fff; }
.btn.danger { color: var(--red); border-color: rgba(229,72,77,.4); }
.btn.danger:hover { background: var(--red-dim); }
.btn.disabled { opacity: .4; cursor: not-allowed; }
.btn.sm { height: 28px; padding: 0 10px; font-size: 13px; }
.btn.block { width: 100%; }
.btn:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px;
}
.link { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-2); text-underline-offset: 3px; }
.link:hover { text-decoration-color: var(--text); }
.link .icon { width: 12px; height: 12px; vertical-align: -1px; }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; padding: 8px; }
.link-btn:hover { color: var(--text); }
.actions { display: flex; gap: 8px; align-items: center; }
.actions form { margin: 0; }
.actions.wrap { flex-wrap: wrap; }

/* ---------- toolbar ---------- */
.toolbar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar.slim { margin: 0; }
.search {
  flex: 1; min-width: 220px; display: flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  color: var(--subtle);
}
.search:focus-within { border-color: var(--border-2); color: var(--muted); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font: inherit; height: 100%; }
select, input, textarea {
  height: 38px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--text); font: inherit;
}
select { padding-right: 30px; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23a1a1a1' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; }
input:hover, select:hover { border-color: var(--border-2); }
input:focus, select:focus { border-color: #444; outline: none; }
input[type=checkbox] { height: 16px; width: 16px; padding: 0; accent-color: var(--green); }
input::placeholder { color: var(--subtle); }

/* ---------- monitor list ---------- */
.list { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) 84px 232px 36px;
  align-items: center; gap: 16px;
  padding: 14px 16px 14px 18px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.row:first-child { border-radius: 12px 12px 0 0; }
.row:last-child { border-bottom: 0; border-radius: 0 0 12px 12px; }
.row:hover { background: var(--surface-2); }
.row-link { display: flex; align-items: center; gap: 14px; min-width: 0; }
.row-title { display: flex; flex-direction: column; min-width: 0; }
.name { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.owner { color: var(--subtle); }
.owner::before { content: "·"; margin-right: 8px; }
.tag {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .03em;
  padding: 1px 6px; border: 1px solid var(--border-2); border-radius: 4px; color: var(--muted);
}
.state-text.down { color: var(--red); }
.state-text.failing { color: var(--amber); }
.row-interval { display: flex; align-items: center; gap: 6px; color: var(--subtle); font-size: 13px; white-space: nowrap; }
.row-bars { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.uptime { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.row-menu > summary { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; color: var(--muted); }
.row-menu > summary:hover, .row-menu[open] > summary { background: var(--surface-3); color: var(--text); }

.bars { display: flex; gap: 3px; height: 22px; align-items: stretch; }
.bars .b { width: 6px; border-radius: 2px; background: var(--border-2); }
.bars .b.up { background: var(--green); }
.bars .b.partial { background: var(--amber); }
.bars .b.down { background: var(--red); }
.bars .b:hover { opacity: .7; }
.bars.wide { height: 34px; gap: 4px; margin-bottom: 18px; }
.bars.wide .b { flex: 1; width: auto; }

/* status icon */
.status {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: var(--surface-3); color: var(--subtle);
}
.status svg { width: 16px; height: 16px; fill: currentColor; }
.status.up { background: var(--green-dim); color: var(--green); }
.status.up::after, .status.down::after {
  content: ""; position: absolute; inset: 7px; border-radius: 50%; z-index: -1;
}
.status.up svg { background: var(--green); color: #000; border-radius: 50%; width: 18px; height: 18px; padding: 1px; fill: #04140c; }
.status.down { background: var(--red-dim); color: var(--red); animation: pulse 1.6s ease-in-out infinite; }
.status.down svg { background: var(--red); border-radius: 50%; width: 18px; height: 18px; padding: 1px; fill: #1a0405; }
.status.failing { background: var(--amber-dim); color: var(--amber); }
.status.paused { background: var(--surface-3); color: var(--muted); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(229,72,77,.35); } 50% { box-shadow: 0 0 0 7px rgba(229,72,77,0); } }

/* side cards */
.big-status { display: flex; justify-content: center; margin: 6px 0 18px; }
.big-status .status { width: 56px; height: 56px; }
.big-status .status svg { width: 30px; height: 30px; }
.triple { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 8px; }
.triple b, .quad b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.triple span, .quad span { font-size: 12.5px; color: var(--muted); }
.quad { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
.usage { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: 13px; }

.empty { padding: 48px 24px; text-align: center; color: var(--muted); }
.empty-title { color: var(--text); font-weight: 600; font-size: 16px; }
.empty .btn { margin-top: 8px; }

/* ---------- detail ---------- */
.detail-head { align-items: flex-start; }
.detail-title { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.detail-title .status { width: 40px; height: 40px; margin-top: 2px; }
.detail-title h1 { font-size: 24px; margin-bottom: 6px; word-break: break-word; }
.last-error { margin-top: 8px; font-size: 13px; color: var(--red); }
.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.stat span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.stat b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.chart { width: 100%; height: 170px; display: block; }
.chart .grid { stroke: var(--border); stroke-width: 1; }
.chart .axis { fill: var(--subtle); font: 10px var(--mono); }
.chart .line { fill: none; stroke: var(--green); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.chart .fail { fill: var(--red); opacity: .35; }
.chart .dot { fill: var(--green); }
.chart .chart-empty { fill: var(--subtle); font: 13px var(--font); }

.kv { display: grid; grid-template-columns: minmax(96px, max-content) minmax(0, 1fr); gap: 10px 16px; margin: 0 0 16px; }
.stack .btn, .card p .btn { white-space: normal; height: auto; min-height: 36px; padding: 8px 12px; text-align: left; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

/* tables */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table.compact td, .table.compact th { padding: 7px 10px; }
.card .table th:first-child, .card .table td:first-child { padding-left: 0; }
.card .table th:last-child, .card .table td:last-child { padding-right: 0; }
.card.flush .table th:first-child, .card.flush .table td:first-child { padding-left: 20px; }
.card.flush .table th:last-child, .card.flush .table td:last-child { padding-right: 20px; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table tr.dim td { opacity: .5; }
.table form { margin: 0; display: inline; }

/* pills & chips */
.pill {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: 999px; font-size: 12px; font-weight: 500;
  background: var(--surface-3); color: var(--muted); border: 1px solid var(--border-2);
  white-space: nowrap;
}
.pill.green { background: var(--green-dim); color: var(--green); border-color: transparent; }
.pill.red { background: var(--red-dim); color: var(--red); border-color: transparent; }
.pill.amber { background: var(--amber-dim); color: var(--amber); border-color: transparent; }
.pill.pulse { animation: pulse 1.6s ease-in-out infinite; }
.pill.as-btn { cursor: pointer; font-family: inherit; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; margin: 0 4px 2px 0;
  border-radius: 6px; font-size: 12px; font-weight: 500; border: 1px solid var(--border-2); color: var(--text);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.ch-email { color: var(--blue); }
.chip.ch-whatsapp { color: var(--green); }
.chip.ch-call { color: var(--violet); }

/* incidents */
.incidents { display: flex; flex-direction: column; }
.incident { border-bottom: 1px solid var(--border); }
.incident:last-child { border-bottom: 0; }
.incident > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 0; flex-wrap: wrap; }
.incident > summary::-webkit-details-marker { display: none; }
.incident > summary:hover .inc-name { text-decoration: underline; }
.inc-name { font-weight: 500; }
.inc-right { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.inc-body { padding: 0 0 14px; }

/* flash */
.flash {
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px 16px; margin-bottom: 18px; border-radius: var(--radius);
  border: 1px solid var(--border-2); background: var(--surface-2);
}
.flash.ok { border-color: rgba(62,207,142,.35); background: rgba(62,207,142,.07); }
.flash.err { border-color: rgba(229,72,77,.4); background: rgba(229,72,77,.08); }
.flash.info { border-color: rgba(82,168,255,.35); background: rgba(82,168,255,.07); }
.errlist { margin: 0; padding-left: 18px; }
.copy-box { display: flex; gap: 8px; align-items: center; }
.copy-box code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; padding: 6px 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; user-select: all; }

/* forms */
.form { display: flex; flex-direction: column; gap: 14px; }
.form > .btn { align-self: flex-start; }
.form > .btn.block { align-self: stretch; }
.form.card { gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 13px; color: var(--muted); font-weight: 500; }
.field small { color: var(--subtle); font-size: 12px; }
.field .static { padding: 8px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.check-row { display: flex; gap: 18px; flex-wrap: wrap; padding: 4px 0; }
.check select.inline { height: 30px; margin-left: 4px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; }
.inline-form { flex-direction: row; align-items: flex-end; flex-wrap: wrap; }
.inline-form .field { flex: 0 1 260px; }
.inline-form .field.grow { flex: 1 1 260px; }
.channels { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); }
.channel { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.channel:last-child { border-bottom: 0; }
.channel.off { opacity: .5; }
.threshold { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.threshold select { height: 32px; }
.code-input { letter-spacing: .3em; font-size: 18px; text-align: center; }
.help > summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.help[open] > summary { margin-bottom: 8px; }
pre.code { background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 12px; white-space: pre-wrap; font: 12.5px/1.6 var(--mono); }
.sub-actions { border-top: 1px solid var(--border); margin-top: 20px; padding-top: 16px; }
.hint { margin-top: 18px; }
.steps { padding-left: 18px; color: var(--muted); }
.steps li { margin-bottom: 4px; }
.qr-wrap { display: flex; justify-content: center; margin: 16px 0; }
.qr { width: 196px; height: 196px; border-radius: 8px; }

/* auth */
.auth-body { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(62,207,142,.08), transparent 70%), var(--bg); }
.auth-wrap { width: 100%; max-width: 400px; }
.auth-brand { justify-content: center; padding-bottom: 20px; }
.auth-card { padding: 28px; }
.auth-title { font-size: 22px; text-align: center; margin-bottom: 18px; }
.auth-foot { text-align: center; color: var(--subtle); font-size: 12px; margin-top: 18px; }
.error-box { text-align: center; padding: 40px 0; }
.error-code { font: 600 56px/1 var(--mono); color: var(--subtle); margin-bottom: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .page-grid { grid-template-columns: 1fr; }
  .page-side { position: static; display: grid; grid-template-columns: 1fr 1fr; order: -1; }
  .row { grid-template-columns: minmax(0, 1fr) 160px 36px; }
  .row-interval { display: none; }
  .bars .b { width: 4px; }
  .bars { gap: 2px; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: sticky; top: 0; z-index: 40; height: auto; flex-direction: row; align-items: center; gap: 8px; padding: 10px 16px; border-right: 0; border-bottom: 1px solid var(--border); overflow-x: auto; }
  .brand { padding: 0 8px 0 0; }
  .brand-by, .nav-label, .nav a span, .user-meta { display: none; }
  .nav { flex-direction: row; gap: 2px; }
  .sidebar-foot { margin: 0 0 0 auto; }
  .user-menu > summary .dots { display: none; }
  .menu-pop.up { top: calc(100% + 6px); bottom: auto; left: auto; right: 0; min-width: 200px; }
  .main { padding: 20px 16px 48px; }
  .two-col, .two-col.wide-left, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .page-side { grid-template-columns: 1fr; order: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
  h1 { font-size: 24px; }
}
@media (max-width: 560px) {
  .brand-name { display: none; }
  .nav a { padding: 8px; }
  .row { grid-template-columns: minmax(0, 1fr) 36px; }
  .row-bars { grid-column: 1 / -1; grid-row: 2; align-items: stretch; flex-direction: row; justify-content: space-between; }
  .bars { flex: 1; }
  .bars .b { flex: 1; width: auto; }
  .card { padding: 18px 16px; }
  .detail-head .actions { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
