/* ═══════════════════════════════════════════════════════════════════════════
   Strata — sistema de diseño "Día y Noche" (blueprint: docs/DESIGN.md)
   Porcelana para operar · Obsidiana para la Mente y la voz
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face { font-family:'Switzer'; src:url('/static/fonts/switzer-400.woff2') format('woff2'); font-weight:400; font-display:block; }
@font-face { font-family:'Switzer'; src:url('/static/fonts/switzer-500.woff2') format('woff2'); font-weight:500; font-display:block; }
@font-face { font-family:'Switzer'; src:url('/static/fonts/switzer-600.woff2') format('woff2'); font-weight:600; font-display:block; }
@font-face { font-family:'Switzer'; src:url('/static/fonts/switzer-700.woff2') format('woff2'); font-weight:700; font-display:block; }

:root {
  --accent:#1D6CE6; --accent-hover:#1A5FCB; --accent-soft:rgba(29,108,230,.09);
  --good:#178A55; --warn:#C07A18; --bad:#D64545;
  --r-sm:8px; --r-md:12px; --r-lg:16px;
  --ease:cubic-bezier(.3,.7,.4,1);
}
body[data-mode="dia"] {
  --bg:#F6F5F2; --bg-deep:#F0EEE9; --surface:#FFFFFF; --surface-2:#FAF9F6;
  --ink:#17191F; --muted:#71767F; --faint:#9CA0A8; --line:#E7E4DE; --line-soft:#EFEDE7;
  --shadow:0 1px 2px rgba(23,25,31,.04), 0 4px 16px rgba(23,25,31,.05);
  --shadow-lift:0 2px 4px rgba(23,25,31,.05), 0 12px 32px rgba(23,25,31,.09);
  --accent-live:#1D6CE6;
}
body[data-mode="noche"] {
  --bg:#0A0C11; --bg-deep:#07080C; --surface:#12151D; --surface-2:#171B25;
  --ink:#ECEEF4; --muted:#878EA1; --faint:#5A6070; --line:#20242F; --line-soft:#1A1E28;
  --shadow:0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  --shadow-lift:0 2px 6px rgba(0,0,0,.5), 0 16px 40px rgba(0,0,0,.5);
  --accent-live:#4A8BFF; --accent-soft:rgba(74,139,255,.12);
}

* { box-sizing:border-box; }
html, body { margin:0; height:100%; }
body {
  font-family:'Switzer', -apple-system, 'Segoe UI', sans-serif;
  background:var(--bg); color:var(--ink);
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  transition:background-color 500ms var(--ease), color 500ms var(--ease);
}
button { font-family:inherit; }
:focus-visible { outline:2px solid var(--accent-live); outline-offset:2px; border-radius:4px; }

/* ── Auth ──────────────────────────────────────────────────────────────────── */
.auth-wrap {
  min-height:100vh; display:grid; place-items:center; padding:24px;
  background:radial-gradient(900px 500px at 70% 10%, var(--surface-2), var(--bg) 60%);
}
.auth-card {
  width:min(400px, 100%); background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-lg); box-shadow:var(--shadow-lift); padding:34px 34px 28px;
}
.auth-logo { display:flex; align-items:center; gap:11px; margin-bottom:22px; }
.auth-sub { color:var(--muted); font-size:14px; margin:-8px 0 24px; line-height:1.5; }
.tabs { display:flex; gap:4px; background:var(--bg-deep); border-radius:10px; padding:4px; margin-bottom:20px; }
.tabs button {
  flex:1; border:none; background:transparent; padding:8px; border-radius:7px;
  font:600 13px 'Switzer'; color:var(--muted); cursor:pointer;
  transition:background 150ms var(--ease), color 150ms;
}
.tabs button.on { background:var(--surface); color:var(--ink); box-shadow:var(--shadow); }
.field { margin-bottom:14px; }
.field label { display:block; font-size:12px; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color:var(--faint); margin-bottom:6px; }
.field input, .field select {
  width:100%; border:1px solid var(--line); border-radius:9px; padding:10px 13px;
  font:400 14.5px 'Switzer'; background:var(--surface-2); color:var(--ink);
  transition:border-color 150ms, box-shadow 150ms;
}
.field input:focus, .field select:focus { outline:none; border-color:var(--accent-live); box-shadow:0 0 0 3px var(--accent-soft); }
.field-row { display:flex; gap:10px; }
.field-row .field { flex:1; }
.auth-err { color:var(--bad); font-size:13px; margin:4px 0 0; min-height:18px; }

/* ── Botones ───────────────────────────────────────────────────────────────── */
.btn {
  border:none; border-radius:9px; padding:9px 16px; font:600 13.5px 'Switzer';
  cursor:pointer; transition:transform 120ms var(--ease), background 150ms, box-shadow 150ms, color 150ms;
  display:inline-flex; align-items:center; gap:7px;
}
.btn:active { transform:scale(.96); }
.btn.pri { background:var(--accent); color:#fff; box-shadow:0 1px 3px rgba(29,108,230,.35); }
.btn.pri:hover { background:var(--accent-hover); box-shadow:0 3px 10px rgba(29,108,230,.35); }
.btn.sec { background:transparent; color:var(--muted); border:1px solid var(--line); }
.btn.sec:hover { color:var(--ink); background:var(--surface-2); }
.btn.wide { width:100%; justify-content:center; padding:11px; font-size:14px; }
.btn[disabled] { opacity:.55; cursor:default; transform:none; }

/* ── Shell ─────────────────────────────────────────────────────────────────── */
.shell { display:grid; grid-template-columns:236px 1fr; height:100vh; }
@media (max-width:840px) { .shell { grid-template-columns:64px 1fr; } .nav span.txt, .logo-name, .plan, .user .u-meta { display:none; } }
.side { border-right:1px solid var(--line); padding:22px 14px 18px; display:flex; flex-direction:column; gap:2px; overflow-y:auto; }
.logo { display:flex; align-items:center; gap:10px; padding:0 10px 22px; }
.logo-mark {
  width:26px; height:26px; border-radius:8px; background:var(--accent); position:relative; flex:none;
  box-shadow:0 2px 8px rgba(29,108,230,.35);
}
.logo-mark::before {
  content:""; position:absolute; inset:6px 5px; border-radius:2px;
  background:linear-gradient(180deg, rgba(255,255,255,.95) 0 3px, transparent 3px 6px,
    rgba(255,255,255,.75) 6px 9px, transparent 9px 11px, rgba(255,255,255,.55) 11px 14px);
}
.logo-name { font-weight:700; font-size:16px; letter-spacing:-.01em; }
.nav {
  display:flex; align-items:center; gap:11px; padding:9px 10px; border-radius:var(--r-sm);
  color:var(--muted); font-size:14px; font-weight:500; cursor:pointer; user-select:none;
  border:1px solid transparent; background:none; width:100%; text-align:left;
  transition:background 150ms var(--ease), color 150ms;
}
.nav:hover { background:var(--surface-2); color:var(--ink); }
.nav.on { background:var(--surface); color:var(--ink); border-color:var(--line); box-shadow:var(--shadow); font-weight:600; }
.nav.on svg { color:var(--accent-live); }
.nav svg { width:17px; height:17px; flex:none; }
.nav .count { margin-left:auto; font-size:11px; font-weight:600; color:var(--faint); background:var(--bg-deep); border-radius:99px; padding:1px 8px; font-variant-numeric:tabular-nums; }
.side .spacer { flex:1; }
.plan { margin:0 4px; padding:12px 13px; border-radius:var(--r-md); background:var(--surface-2); border:1px solid var(--line-soft); font-size:12px; color:var(--muted); line-height:1.5; }
.plan b { color:var(--ink); display:block; font-size:12.5px; margin-bottom:1px; }
.user { display:flex; align-items:center; gap:10px; padding:14px 10px 0; font-size:13px; }
.ava { width:28px; height:28px; border-radius:50%; flex:none; display:grid; place-items:center; color:#fff; font-weight:600; font-size:12px; background:linear-gradient(135deg,#E8B44F,#D77A4B); }
.user .u-name { font-weight:600; }
.user .u-biz { color:var(--muted); font-size:12px; }

.main { display:flex; flex-direction:column; overflow:hidden; }
.top { display:flex; align-items:center; gap:14px; padding:14px 26px; border-bottom:1px solid var(--line-soft); }
.novabar {
  display:flex; align-items:center; gap:9px; background:var(--surface-2); border:1px solid var(--line-soft);
  border-radius:10px; padding:8px 8px 8px 13px; color:var(--faint); font-size:13.5px; flex:1; max-width:520px;
  transition:border-color 150ms, box-shadow 150ms;
}
.novabar:focus-within { border-color:var(--accent-live); box-shadow:0 0 0 3px var(--accent-soft); }
.novabar input { flex:1; border:none; background:transparent; font:400 13.5px 'Switzer'; color:var(--ink); outline:none; }
.novabar svg { width:15px; height:15px; flex:none; }
.novabar .micbtn { border:none; background:transparent; color:var(--faint); cursor:pointer; padding:4px 6px; border-radius:7px; display:grid; place-items:center; }
.novabar .micbtn:hover { background:var(--accent-soft); color:var(--accent-live); }
.novabar .micbtn.rec { color:#fff; background:var(--bad); animation:recpulse 1.4s infinite; }
@keyframes recpulse { 0%,100% { box-shadow:0 0 0 0 rgba(214,69,69,.4);} 50% { box-shadow:0 0 0 7px rgba(214,69,69,0);} }
.top .grow { flex:1; }
.iconbtn { width:34px; height:34px; border-radius:9px; display:grid; place-items:center; cursor:pointer; color:var(--muted); border:1px solid transparent; position:relative; background:none; }
.iconbtn:hover { background:var(--surface-2); color:var(--ink); border-color:var(--line-soft); }
.iconbtn svg { width:17px; height:17px; }
.iconbtn .dot { position:absolute; top:7px; right:7px; width:7px; height:7px; border-radius:50%; background:var(--warn); border:2px solid var(--bg); }
.modeswitch { display:flex; align-items:center; gap:6px; border:1px solid var(--line); border-radius:99px; padding:3px; cursor:pointer; background:var(--surface); }
.modeswitch span { width:26px; height:26px; border-radius:50%; display:grid; place-items:center; color:var(--faint); transition:background 200ms var(--ease), color 200ms; }
.modeswitch span.on { background:var(--accent); color:#fff; box-shadow:0 2px 8px rgba(29,108,230,.4); }
.modeswitch svg { width:14px; height:14px; }

.content { flex:1; overflow-y:auto; padding:26px 28px 30px; }
.view { display:none; animation:viewin 220ms var(--ease); }
.view.on { display:block; }
@keyframes viewin { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }

/* ── Hoy ───────────────────────────────────────────────────────────────────── */
.greet-row { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:22px; flex-wrap:wrap; }
.greet h1 { font-size:26px; font-weight:700; letter-spacing:-.022em; margin:0 0 4px; }
.greet p { margin:0; color:var(--muted); font-size:14.5px; }
.greet p b { color:var(--ink); font-weight:600; }
.date { color:var(--faint); font-size:13px; font-variant-numeric:tabular-nums; }
.tiles { display:grid; grid-template-columns:repeat(auto-fit, minmax(185px, 1fr)); gap:14px; margin-bottom:22px; }
.tile { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); padding:16px 18px 14px; box-shadow:var(--shadow); }
.tile .lbl { font-size:11.5px; font-weight:600; letter-spacing:.07em; text-transform:uppercase; color:var(--faint); }
.tile .val { font-size:26px; font-weight:700; letter-spacing:-.02em; margin-top:6px; font-variant-numeric:tabular-nums; }
.tile .val.warn { color:var(--warn); }
.tile .sub { font-size:12.5px; margin-top:3px; color:var(--muted); }
.tile .sub.up { color:var(--good); font-weight:500; }
.cols { display:grid; grid-template-columns:1.45fr 1fr; gap:14px; align-items:start; }
@media (max-width:960px) { .cols { grid-template-columns:1fr; } }
.card { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); box-shadow:var(--shadow); overflow:hidden; }
.card-h { display:flex; align-items:center; gap:9px; padding:14px 18px 12px; }
.card-h h2 { font-size:14px; font-weight:650; margin:0; }
.card-h svg { width:15px; height:15px; color:var(--faint); }
.card-h .all { margin-left:auto; font-size:12.5px; color:var(--accent-live); font-weight:550; cursor:pointer; background:none; border:none; }
.empty { padding:22px 18px 26px; color:var(--faint); font-size:13.5px; text-align:center; border-top:1px solid var(--line-soft); line-height:1.6; }
.prop { padding:14px 18px; border-top:1px solid var(--line-soft); display:flex; gap:13px; }
.prop-ico { width:34px; height:34px; border-radius:10px; background:var(--accent-soft); display:grid; place-items:center; flex:none; }
.prop-ico svg { width:16px; height:16px; color:var(--accent-live); }
.prop-body { flex:1; min-width:0; }
.prop-body p { margin:0 0 3px; font-size:13.5px; line-height:1.5; }
.prop-body .why { font-size:12px; color:var(--faint); }
.prop-act { display:flex; gap:8px; margin-top:10px; }
.convo { padding:10px 18px; border-top:1px solid var(--line-soft); display:flex; align-items:center; gap:12px; cursor:pointer; transition:background 130ms; }
.convo:hover { background:var(--surface-2); }
.convo .ava2 { width:32px; height:32px; border-radius:50%; flex:none; display:grid; place-items:center; font-size:12px; font-weight:600; color:#fff; background:linear-gradient(135deg,#5B8DEF,#3F6AC4); }
.convo .who { font-size:13.5px; font-weight:600; }
.convo .last { font-size:12.5px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:36ch; }
.convo .meta { margin-left:auto; text-align:right; flex:none; }
.convo .t { font-size:11px; color:var(--faint); font-variant-numeric:tabular-nums; }
.convo .ch { font-size:10.5px; font-weight:600; color:var(--accent-live); background:var(--accent-soft); border-radius:5px; padding:1px 6px; margin-top:3px; display:inline-block; }

/* ── Chat ──────────────────────────────────────────────────────────────────── */
.chat-shell { display:grid; grid-template-columns:230px 1fr; gap:18px; height:100%; }
@media (max-width:900px) { .chat-shell { grid-template-columns:1fr; } .chat-rail { display:none; } }
.chat-rail { display:flex; flex-direction:column; min-height:0; }
#convo-list { overflow-y:auto; display:flex; flex-direction:column; gap:4px; }
.citem {
  border:1px solid transparent; background:none; text-align:left; width:100%;
  padding:9px 12px; border-radius:9px; cursor:pointer; color:var(--muted);
  transition:background 130ms, color 130ms;
}
.citem:hover { background:var(--surface-2); color:var(--ink); }
.citem.on { background:var(--surface); border-color:var(--line); color:var(--ink); box-shadow:var(--shadow); }
.citem .ct { font:550 13px 'Switzer'; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.citem .cm { font-size:11px; color:var(--faint); margin-top:2px; font-variant-numeric:tabular-nums; }
.attach-row { display:flex; gap:8px; padding:6px 4px 0; flex-wrap:wrap; }
.attach-chip {
  display:inline-flex; align-items:center; gap:7px; background:var(--accent-soft);
  color:var(--accent-live); border:1px solid var(--line); border-radius:99px;
  padding:4px 6px 4px 12px; font:550 12.5px 'Switzer';
}
.attach-chip button { border:none; background:none; color:inherit; cursor:pointer; font-size:14px; line-height:1; padding:2px 6px; border-radius:99px; }
.attach-chip button:hover { background:rgba(0,0,0,.08); }
.chat-wrap { display:flex; flex-direction:column; height:100%; max-width:820px; margin:0 auto; width:100%; min-height:0; }
.chat-log { flex:1; overflow-y:auto; padding:8px 4px 18px; display:flex; flex-direction:column; gap:14px; }
.msg { max-width:86%; line-height:1.6; font-size:14.5px; animation:msgin 200ms var(--ease); }
@keyframes msgin { from { opacity:0; transform:translateY(5px);} to { opacity:1; transform:none;} }
.msg.nova { align-self:flex-start; }
.msg.nova .bubble { background:var(--surface); border:1px solid var(--line); border-radius:4px 14px 14px 14px; padding:12px 16px; box-shadow:var(--shadow); }
.msg.user { align-self:flex-end; }
.msg.user .bubble { background:var(--accent); color:#fff; border-radius:14px 4px 14px 14px; padding:11px 15px; }
.msg .who { font-size:11px; font-weight:650; letter-spacing:.06em; text-transform:uppercase; color:var(--faint); margin:0 0 5px 3px; }
.msg .bubble p { margin:0 0 8px; } .msg .bubble p:last-child { margin:0; }
.msg .bubble { overflow-wrap:anywhere; }
.msg .bubble a { color:var(--accent); text-decoration:underline; word-break:break-all; }
.msg.user .bubble a { color:#fff; }
.msg .bubble table { border-collapse:collapse; margin:6px 0; font-size:13px; }
.msg .bubble th, .msg .bubble td { border:1px solid var(--line); padding:5px 10px; text-align:left; }
.msg .bubble th { background:var(--surface-2); font-weight:600; }
.msg .bubble code { background:var(--bg-deep); border-radius:4px; padding:1px 5px; font-size:12.5px; }
.typing { display:inline-flex; gap:4px; padding:14px 16px; }
.typing i { width:6px; height:6px; border-radius:50%; background:var(--faint); animation:tp 1.1s infinite; }
.typing i:nth-child(2){ animation-delay:.15s; } .typing i:nth-child(3){ animation-delay:.3s; }
@keyframes tp { 0%,60%,100% { transform:none; opacity:.4;} 30% { transform:translateY(-4px); opacity:1;} }
.chat-input { display:flex; gap:8px; padding:12px 4px 4px; }
.chat-input textarea {
  flex:1; border:1px solid var(--line); border-radius:12px; background:var(--surface);
  padding:11px 14px; font:400 14.5px/1.5 'Switzer'; color:var(--ink); resize:none; max-height:132px;
  transition:border-color 150ms, box-shadow 150ms;
}
.chat-input textarea:focus { outline:none; border-color:var(--accent-live); box-shadow:0 0 0 3px var(--accent-soft); }

/* ── La Mente ──────────────────────────────────────────────────────────────── */
.mente { display:flex; flex-direction:column; height:100%; }
.mente-head { display:flex; align-items:baseline; gap:14px; margin-bottom:8px; flex-wrap:wrap; }
.mente-head h1 { font-size:24px; font-weight:700; letter-spacing:-.02em; margin:0; }
.mente-head .stats { color:var(--muted); font-size:13px; font-variant-numeric:tabular-nums; }
.mente-head .stats b { color:var(--accent-live); font-weight:600; }
.legend { display:flex; gap:14px; flex-wrap:wrap; margin:0 0 10px; }
.legend span { display:flex; align-items:center; gap:6px; font-size:11.5px; color:var(--muted); }
.legend i { width:8px; height:8px; border-radius:50%; display:inline-block; }
.mente-grid { flex:1; display:grid; grid-template-columns:1fr 300px; gap:14px; min-height:0; }
@media (max-width:900px) { .mente-grid { grid-template-columns:1fr; } }
.sky { position:relative; border-radius:var(--r-lg); overflow:hidden; border:1px solid var(--line);
  background:radial-gradient(1200px 600px at 60% 20%, #10141F 0%, #07080C 70%); min-height:340px; }
.sky canvas { position:absolute; inset:0; width:100%; height:100%; }
.sky .hint { position:absolute; left:16px; bottom:14px; font-size:12px; color:#5A6070; pointer-events:none; }
.entity { display:flex; flex-direction:column; gap:12px; min-height:0; overflow-y:auto; }
.e-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); padding:16px 18px; box-shadow:var(--shadow); }
.e-kind { font-size:10.5px; font-weight:650; letter-spacing:.09em; text-transform:uppercase; color:var(--accent-live); }
.e-name { font-size:17px; font-weight:700; margin:4px 0 8px; letter-spacing:-.01em; }
.fact { padding:9px 0; border-top:1px solid var(--line-soft); }
.fact .k { font-size:11px; color:var(--faint); text-transform:uppercase; letter-spacing:.06em; font-weight:600; }
.fact .v { font-size:13.5px; margin-top:2px; line-height:1.45; }
.fact.closed .v { color:var(--faint); text-decoration:line-through; }
.fact.future .v { color:var(--accent-live); }
.fact .vig { font-size:11.5px; color:var(--muted); margin-top:2px; font-variant-numeric:tabular-nums; }
.fact .tag { display:inline-block; font-size:10px; font-weight:650; border-radius:5px; padding:1px 6px; margin-left:6px; color:var(--accent-live); background:var(--accent-soft); }
.member { display:flex; align-items:center; gap:9px; padding:8px 0; border-top:1px solid var(--line-soft); cursor:pointer; font-size:13.5px; font-weight:550; background:none; border-left:none; border-right:none; width:100%; text-align:left; color:var(--ink); }
.member:hover { color:var(--accent-live); }
.member i { width:7px; height:7px; border-radius:50%; flex:none; }
.member .mk { margin-left:auto; font-size:11px; color:var(--faint); font-weight:500; }

/* ── Listas (Conversaciones / Conexiones) ──────────────────────────────────── */
.page-h { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:18px; flex-wrap:wrap; gap:10px; }
.page-h h1 { font-size:24px; font-weight:700; letter-spacing:-.02em; margin:0; }
.page-h p { color:var(--muted); font-size:13.5px; margin:0; }
.rowcard { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); box-shadow:var(--shadow); }

/* ── Toasts ────────────────────────────────────────────────────────────────── */
.toasts { position:fixed; bottom:22px; right:22px; display:flex; flex-direction:column; gap:10px; z-index:60; }
.toast {
  background:var(--surface); border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow-lift);
  padding:12px 16px; font-size:13.5px; display:flex; align-items:center; gap:10px; max-width:380px;
  animation:toastin 260ms var(--ease);
}
@keyframes toastin { from { opacity:0; transform:translateY(10px) scale(.97);} to { opacity:1; transform:none;} }
.toast .spark { color:var(--accent-live); flex:none; }
.toast.out { opacity:0; transform:translateY(6px); transition:all 220ms var(--ease); }

/* ── Modal ─────────────────────────────────────────────────────────────────── */
.modal-bg {
  position:fixed; inset:0; background:rgba(10,12,17,.55); backdrop-filter:blur(3px);
  display:flex; align-items:center; justify-content:center; z-index:80; padding:20px;
}
.modal-card {
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  box-shadow:var(--shadow-lift); width:min(520px,100%); max-height:82vh;
  display:flex; flex-direction:column; overflow:hidden; animation:toastin 240ms var(--ease);
}
.modal-h { padding:20px 24px 6px; }
.modal-h h3 { margin:0 0 4px; font-size:18px; font-weight:700; letter-spacing:-.01em; }
.modal-h p { margin:0; color:var(--muted); font-size:13.5px; line-height:1.5; }
.modal-body { padding:14px 24px; overflow-y:auto; flex:1; }
.modal-f { padding:12px 24px 20px; display:flex; gap:8px; justify-content:flex-end; border-top:1px solid var(--line-soft); }
.setup-log { display:flex; flex-direction:column; gap:12px; min-height:200px; }
.pagepick { display:flex; align-items:center; gap:11px; padding:11px 14px; border:1.5px solid var(--line); border-radius:10px; cursor:pointer; margin-bottom:8px; transition:border-color 150ms, background 150ms; }
.pagepick.on { border-color:var(--accent-live); background:var(--accent-soft); }
.pagepick input { accent-color:var(--accent); }

.skel { background:linear-gradient(90deg, var(--surface-2) 25%, var(--bg-deep) 50%, var(--surface-2) 75%); background-size:200% 100%; animation:sk 1.3s infinite; border-radius:8px; }
@keyframes sk { to { background-position:-200% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation:none !important; transition:none !important; }
}
