:root {
  --bg0: #020617;
  --bg1: #061433;
  --bg2: #0b1f4d;
  --card: rgba(14, 32, 78, 0.52);
  --card-2: rgba(8, 20, 52, 0.72);
  --line: rgba(125, 180, 255, 0.16);
  --line-strong: rgba(125, 180, 255, 0.32);
  --text: #e8f1ff;
  --muted: #94acd4;
  --faint: #6b84ad;
  --blue: #3b82f6;
  --blue-2: #2563eb;
  --sky: #38bdf8;
  --ice: #e0f2fe;
  --red: #ff4d6d;
  --green: #22c55e;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.02) inset, 0 1px 0 rgba(255, 255, 255, 0.07) inset;
  --glow: 0 0 0 1px rgba(56, 189, 248, 0.35), 0 18px 50px -18px rgba(56, 189, 248, 0.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: radial-gradient(1200px 700px at 80% -10%, #0d2a66 0%, transparent 60%),
              radial-gradient(900px 600px at -10% 110%, #082456 0%, transparent 60%),
              linear-gradient(180deg, var(--bg1), var(--bg0));
  background-attachment: fixed;
  color: var(--text);
  font: 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
button, input, select { font: inherit; color: inherit; }
a { color: var(--sky); }
[hidden] { display: none !important; }

/* ---------- fundo em movimento ---------- */
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; filter: blur(70px); opacity: .75; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora span:nth-child(1) { width: 46vw; height: 46vw; left: -10vw; top: -12vw; background: radial-gradient(circle, rgba(37, 99, 235, .55), transparent 65%); animation: drift1 22s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 40vw; height: 40vw; right: -8vw; top: 20vh; background: radial-gradient(circle, rgba(56, 189, 248, .40), transparent 65%); animation: drift2 26s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 50vw; height: 50vw; left: 25vw; bottom: -25vw; background: radial-gradient(circle, rgba(99, 102, 241, .35), transparent 65%); animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18vw, 14vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-22vw, -10vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-12vw, -18vh) scale(1.2); } }
.gridlines {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .22;
  background-image: linear-gradient(rgba(125, 180, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(125, 180, 255, .08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  animation: gridmove 40s linear infinite;
}
@keyframes gridmove { to { background-position: 56px 56px, 56px 56px; } }

/* ---------- layout ---------- */
#app { position: relative; z-index: 1; max-width: 1360px; margin: 0 auto; padding: 20px 24px 32px; }
.view { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 20px; }
.view > *, .kpis > * { min-width: 0; }
.drawer-body > .seg { justify-self: start; }
.foot { margin-top: 28px; text-align: center; color: var(--faint); font-size: 12.5px; }

.card {
  background: linear-gradient(160deg, rgba(37, 78, 170, .28), rgba(8, 20, 52, .62));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.card.pad { padding: 22px 24px; }
.card.click { cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card.click:hover { transform: translateY(-3px); box-shadow: var(--shadow), var(--glow); border-color: var(--line-strong); }

/* ---------- títulos com brilho ---------- */
.shine {
  background: linear-gradient(100deg, #3b82f6 0%, #93c5fd 20%, #e0f2fe 30%, #38bdf8 42%, #2563eb 60%, #60a5fa 80%, #3b82f6 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shine 7s linear infinite;
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, .45));
}
@keyframes shine { to { background-position: -250% 0; } }
h1, h2, h3 { font-family: Outfit, Inter, sans-serif; margin: 0; letter-spacing: -.01em; }
h2.section { font-size: 22px; font-weight: 700; display: inline-block; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 13.5px; margin-top: 2px; }

/* ---------- topo ---------- */
.topbar { display: flex; align-items: center; gap: 18px; padding: 14px 18px; flex-wrap: wrap; position: sticky; top: 12px; z-index: 5; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; margin-right: auto; }
.brand-title { display: block; font-family: Outfit, sans-serif; font-weight: 800; font-size: 24px; line-height: 1.1; }
.brand-sub { display: block; color: var(--muted); font-size: 12.5px; }
.orb {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 32% 30%, #e0f2fe 0%, #38bdf8 35%, #1d4ed8 75%, #0b1f4d 100%);
  box-shadow: 0 0 22px rgba(56, 189, 248, .65), inset 0 -6px 12px rgba(2, 6, 23, .5);
  animation: orb 6s ease-in-out infinite;
}
@keyframes orb { 50% { box-shadow: 0 0 34px rgba(56, 189, 248, .95), inset 0 -6px 12px rgba(2, 6, 23, .5); transform: scale(1.06); } }
.nav { display: flex; gap: 6px; flex-wrap: wrap; padding: 5px; border-radius: 16px; background: rgba(2, 8, 30, .45); border: 1px solid var(--line); }
.nav a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: rgba(59, 130, 246, .12); }
.nav a.active { color: #fff; background: linear-gradient(135deg, rgba(37, 99, 235, .85), rgba(56, 189, 248, .55)); box-shadow: 0 6px 22px -6px rgba(56, 189, 248, .7); }
.userbox { display: flex; align-items: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(2, 8, 30, .45); border: 1px solid var(--line); font-size: 13px; color: var(--muted); max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip b { color: var(--text); font-weight: 600; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: rgba(2, 8, 30, .45); cursor: pointer; color: var(--muted); transition: all .2s; }
.icon-btn:hover { color: #fff; border-color: var(--line-strong); box-shadow: 0 0 18px -4px rgba(56, 189, 248, .6); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn.spin svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #ef1f43; color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 0 0 2px rgba(2, 6, 23, .7), 0 0 16px rgba(255, 45, 85, .9); animation: badge 1.6s ease-in-out infinite; }
@keyframes badge { 50% { transform: scale(1.12); box-shadow: 0 0 0 2px rgba(2, 6, 23, .7), 0 0 26px rgba(255, 45, 85, 1); } }

/* ---------- botões e campos ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border-radius: 14px; border: 0; cursor: pointer; font-weight: 700; text-decoration: none; color: #fff; background: linear-gradient(135deg, #2563eb, #38bdf8); box-shadow: 0 12px 30px -10px rgba(56, 189, 248, .8); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(56, 189, 248, 1); }
.btn.ghost { background: rgba(2, 8, 30, .45); border: 1px solid var(--line-strong); box-shadow: none; color: var(--text); }
.btn.small { padding: 8px 14px; font-size: 13.5px; border-radius: 11px; }
.input { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(2, 8, 30, .55); outline: none; transition: border-color .2s, box-shadow .2s; }
.input:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(56, 189, 248, .2); }
.search { position: relative; flex: 1 1 260px; max-width: 380px; }
.search .input { padding-left: 38px; }
.search svg { position: absolute; left: 12px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); stroke: var(--faint); fill: none; stroke-width: 2; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 14px; background: rgba(2, 8, 30, .5); border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: 8px 16px; border-radius: 10px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: 13.5px; }
.seg button.on { color: #fff; background: linear-gradient(135deg, rgba(37, 99, 235, .9), rgba(56, 189, 248, .6)); }
.seg button .n { opacity: .75; margin-left: 4px; font-weight: 500; }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; cursor: pointer; user-select: none; }
.check input { accent-color: #ef1f43; width: 16px; height: 16px; }

/* ---------- KPIs ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { padding: 20px 22px; position: relative; overflow: hidden; }
.kpi .label { color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: 8px; }
.kpi .value { font-family: Outfit, sans-serif; font-size: 40px; font-weight: 800; line-height: 1.1; margin-top: 8px; }
.kpi .hint { color: var(--faint); font-size: 12.5px; }
.kpi::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, var(--k, rgba(56, 189, 248, .35)), transparent 70%); }
.kpi.red .value { color: #ff5c7a; text-shadow: 0 0 22px rgba(255, 77, 109, .55); }
.kpi.green .value { color: #4ade80; text-shadow: 0 0 22px rgba(34, 197, 94, .45); }

/* ---------- status ---------- */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); border: 1px solid color-mix(in srgb, var(--c) 38%, transparent); text-shadow: 0 0 12px color-mix(in srgb, var(--c) 50%, transparent); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.legend { display: flex; flex-wrap: wrap; gap: 10px; }
.legend button { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 14px; cursor: pointer; background: rgba(2, 8, 30, .45); border: 1px solid var(--line); color: var(--c); font-weight: 700; font-size: 13.5px; transition: all .2s; }
.legend button:hover, .legend button.on { border-color: var(--c); box-shadow: 0 0 18px -6px var(--c); background: color-mix(in srgb, var(--c) 12%, rgba(2, 8, 30, .45)); }
.legend button .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.legend button .n { color: var(--muted); font-weight: 600; }
.legend button.zero { opacity: .5; }

.sphere { position: relative; display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #dcfce7, #22c55e 55%, #15803d); box-shadow: 0 0 10px #22c55e, 0 0 20px rgba(34, 197, 94, .6); animation: blink 1.3s ease-in-out infinite; }
.sphere::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(34, 197, 94, .6); animation: ring 1.3s ease-out infinite; }
.sphere.big { width: 18px; height: 18px; }
@keyframes blink { 50% { opacity: .35; box-shadow: 0 0 4px #22c55e; } }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }

.need { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #ff5c7a; background: rgba(255, 77, 109, .12); border: 1px solid rgba(255, 77, 109, .5); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; animation: needpulse 1.8s ease-in-out infinite; }
@keyframes needpulse { 50% { box-shadow: 0 0 18px rgba(255, 77, 109, .6); } }

/* ---------- grid de chamados ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--card-2); }
table.grid { width: 100%; border-collapse: collapse; min-width: 880px; }
table.grid th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); font-weight: 700; padding: 13px 14px; border-bottom: 1px solid var(--line); background: rgba(2, 8, 30, .5); position: sticky; top: 0; }
table.grid td { padding: 13px 14px; border-bottom: 1px solid rgba(125, 180, 255, .07); vertical-align: middle; font-size: 14px; }
table.grid tbody tr { cursor: pointer; transition: background .15s; }
table.grid tbody tr:hover { background: linear-gradient(90deg, rgba(56, 189, 248, .12), rgba(37, 99, 235, .04)); }
table.grid tbody tr.need-row td:first-child { box-shadow: inset 3px 0 0 #ff4d6d; }
.num { font-family: Outfit, sans-serif; font-weight: 700; color: var(--sky); white-space: nowrap; }
.subj { font-weight: 600; max-width: 380px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); font-size: 12.5px; }
.who { display: inline-flex; flex-direction: column; line-height: 1.3; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.tag.cliente { color: #ffb4c2; background: rgba(255, 77, 109, .14); }
.tag.interno { color: #bfdbfe; background: rgba(59, 130, 246, .18); }
.tag.voce { color: #a5f3fc; background: rgba(34, 211, 238, .14); }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }

/* ---------- cards de tickets ---------- */
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.tcard { padding: 18px 20px; display: grid; gap: 10px; align-content: start; }
.tcard .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tcard .title { font-family: Outfit, sans-serif; font-weight: 700; font-size: 17px; line-height: 1.3; }
.tcard .desc { color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.tcard .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--faint); font-size: 12.5px; }
.tcard .closed-at { color: #cbd5e1; font-weight: 600; font-size: 13px; display: flex; gap: 8px; align-items: center; }
.active-board { padding: 22px 24px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.active-board .big { display: flex; align-items: center; gap: 14px; }
.active-board .big .value { font-family: Outfit, sans-serif; font-size: 46px; font-weight: 800; color: #4ade80; text-shadow: 0 0 24px rgba(34, 197, 94, .5); line-height: 1; }
.active-board .list { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- drawer ---------- */
.backdrop { position: fixed; inset: 0; background: rgba(1, 4, 16, .6); backdrop-filter: blur(4px); z-index: 20; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(820px, 100%); z-index: 21; transform: translateX(105%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); background: linear-gradient(170deg, rgba(14, 36, 90, .97), rgba(3, 10, 32, .98)); border-left: 1px solid var(--line-strong); box-shadow: -30px 0 80px -20px rgba(0, 0, 0, .8); display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { padding: 22px 24px 14px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-head .row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.drawer-head h3 { font-size: 21px; line-height: 1.3; }
.drawer-body { overflow-y: auto; padding: 18px 24px 30px; display: grid; gap: 16px; align-content: start; }
.tabs { display: flex; gap: 6px; }
.close-x { margin-left: auto; }
.fsection { padding: 16px 18px; }
.fsection h4 { margin: 0 0 12px; font-family: Outfit, sans-serif; font-size: 15px; color: var(--sky); letter-spacing: .02em; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.field .k { color: var(--faint); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.field .v { font-size: 14px; word-break: break-word; }
.field.wide { grid-column: 1 / -1; }
.field.wide .v { white-space: pre-wrap; background: rgba(2, 8, 30, .45); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; max-height: 380px; overflow: auto; }
.timeline { display: grid; gap: 14px; }
.tl { padding: 14px 16px; display: grid; gap: 8px; }
.tl.cliente { border-color: rgba(255, 77, 109, .35); }
.tl .head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: linear-gradient(135deg, #1d4ed8, #38bdf8); flex: none; }
.tl.cliente .avatar { background: linear-gradient(135deg, #be123c, #fb7185); }
.tl .body { white-space: pre-wrap; font-size: 14px; color: #d6e4ff; word-break: break-word; }
.tl .body.clamp { max-height: 220px; overflow: hidden; mask-image: linear-gradient(#000 70%, transparent); }
.linkish { background: none; border: 0; color: var(--sky); cursor: pointer; padding: 0; font-weight: 600; font-size: 13px; justify-self: start; }
.tl.event { padding: 10px 16px; background: rgba(2, 8, 30, .35); }

/* ---------- bot ---------- */
.msgs { display: grid; gap: 14px; }
.msg { padding: 16px 18px; display: grid; gap: 8px; }
.msg.unread { border-color: rgba(255, 77, 109, .55); box-shadow: var(--shadow), 0 0 26px -10px rgba(255, 77, 109, .8); }
.msg .head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.msg .body { white-space: pre-wrap; word-break: break-word; color: #d6e4ff; }
mark { background: rgba(56, 189, 248, .25); color: #e0f2fe; border-radius: 4px; padding: 0 3px; }
.statusline { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; align-items: center; }

/* ---------- login / setup ---------- */
.hero { padding: 48px 40px; max-width: 760px; margin: 6vh auto 0; text-align: center; display: grid; gap: 20px; justify-items: center; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; line-height: 1.05; }
.hero p { color: var(--muted); max-width: 560px; margin: 0; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.secure { display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--faint); }
.steps { text-align: left; display: grid; gap: 10px; width: 100%; }
.steps code { background: rgba(2, 8, 30, .6); border: 1px solid var(--line); border-radius: 8px; padding: 2px 7px; font-size: 13px; word-break: break-all; }
.error-card { padding: 16px 20px; border-color: rgba(255, 77, 109, .45); color: #ffc2cd; }

/* ---------- modal / toast ---------- */
.modal { position: fixed; z-index: 31; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100% - 32px)); padding: 24px; display: grid; gap: 14px; background: linear-gradient(160deg, rgba(20, 48, 112, .97), rgba(4, 12, 36, .98)); }
.modal label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
#modalBackdrop { z-index: 30; }
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: grid; gap: 10px; max-width: min(420px, calc(100% - 32px)); }
.toast { padding: 12px 16px; border-radius: 14px; background: rgba(8, 22, 58, .95); border: 1px solid var(--line-strong); box-shadow: var(--shadow); font-size: 14px; animation: toastin .3s ease; }
.toast.err { border-color: rgba(255, 77, 109, .6); }
@keyframes toastin { from { transform: translateY(10px); opacity: 0; } }
.skeleton { height: 16px; border-radius: 8px; background: linear-gradient(90deg, rgba(125, 180, 255, .06), rgba(125, 180, 255, .16), rgba(125, 180, 255, .06)); background-size: 200% 100%; animation: sk 1.3s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- responsivo ---------- */
@media (max-width: 1000px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  #app { padding: 12px 16px 24px; }
  .topbar { position: static; padding: 12px 14px; }
  .nav { width: 100%; }
  .nav a { flex: 1 1 auto; justify-content: center; padding: 9px 10px; font-size: 13px; }
  .userbox { width: 100%; }
  .chip { flex: 1; max-width: none; }
  .kpi .value { font-size: 32px; }
  .card.pad { padding: 18px 16px; }
  .hero { padding: 32px 20px; }
  .fields { grid-template-columns: 1fr; }
  .tickets { grid-template-columns: minmax(0, 1fr); }
  .nav a .badge { position: absolute; top: -6px; right: -4px; }
  .drawer-head, .drawer-body { padding-left: 16px; padding-right: 16px; }
  .search { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition: none !important; }
  #bg { display: none; }
}
