/* Capture Drafts by Emmy Drafts
   A light, glassy interface in the spirit of Apple's Liquid Glass: translucent layers, capsule controls,
   soft light, lots of room. Brand colors appear only as small accents. */

@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url(/fonts/poppins-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(/fonts/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url(/fonts/poppins-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-display: swap; src: url(/fonts/open-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 500; font-display: swap; src: url(/fonts/open-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-display: swap; src: url(/fonts/open-sans-latin-600-normal.woff2) format("woff2"); }

:root {
  /* Emmy Drafts palette */
  --fawn: #F0B67F;
  --bitter: #FE5F55;
  --raisin: #25272C;
  --tea: #C7EFCF;
  --beige: #EEF5DB;

  --bg: #f4f4f6;
  --ink: #25272C;
  --ink-2: rgba(37, 39, 44, .66);
  --ink-3: rgba(37, 39, 44, .45);
  --hair: rgba(37, 39, 44, .09);
  --glass: rgba(255, 255, 255, .56);
  --glass-hi: rgba(255, 255, 255, .78);
  --dock: rgba(255, 255, 255, .94);
  --solid: #ffffff;
  --field: rgba(255, 255, 255, .72);
  --chip: rgba(37, 39, 44, .06);
  --shadow: 0 1px 1px rgba(37, 39, 44, .04), 0 18px 48px -12px rgba(37, 39, 44, .18);
  --shadow-sm: 0 1px 1px rgba(37, 39, 44, .04), 0 8px 24px -8px rgba(37, 39, 44, .16);
  --btn-bg: var(--raisin);
  --btn-ink: #fff;
  --edge-a: rgba(255, 255, 255, .95);
  --edge-b: rgba(255, 255, 255, .12);
  --err-ink: #b3261e;
  --ok-ink: #1f5a32;
  --pillbg: var(--solid);
  --orb-a: .38; --orb-b: .55; --orb-c: .9; --orb-d: .16;

  --head: "Poppins", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Open Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --spring: cubic-bezier(.3, 1.35, .5, 1);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1012;
    --ink: #f3f3f5;
    --ink-2: rgba(243, 243, 245, .68);
    --ink-3: rgba(243, 243, 245, .42);
    --hair: rgba(255, 255, 255, .1);
    --glass: rgba(44, 46, 52, .52);
    --glass-hi: rgba(58, 60, 68, .7);
    --dock: rgba(34, 36, 41, .94);
    --solid: #1c1d21;
    --field: rgba(255, 255, 255, .07);
    --chip: rgba(255, 255, 255, .08);
    --shadow: 0 1px 1px rgba(0, 0, 0, .3), 0 18px 48px -12px rgba(0, 0, 0, .6);
    --shadow-sm: 0 1px 1px rgba(0, 0, 0, .3), 0 8px 24px -8px rgba(0, 0, 0, .55);
    --btn-bg: #f3f3f5;
    --btn-ink: #25272C;
    --edge-a: rgba(255, 255, 255, .28);
    --edge-b: rgba(255, 255, 255, .04);
    --err-ink: #ff8f87;
    --ok-ink: #c7efcf;
    --pillbg: rgba(255, 255, 255, .17);
    --orb-a: .16; --orb-b: .14; --orb-c: .07; --orb-d: .14;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font: 400 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(254, 95, 85, .5); outline-offset: 2px; border-radius: 12px; }

/* ---------- light behind the glass ---------- */
.backdrop { position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.o1 { width: 560px; height: 560px; left: -140px; top: -160px; background: var(--fawn); opacity: var(--orb-a); animation: drift1 26s ease-in-out infinite alternate; }
.o2 { width: 620px; height: 620px; right: -180px; bottom: -200px; background: var(--tea); opacity: var(--orb-b); animation: drift2 32s ease-in-out infinite alternate; }
.o3 { width: 720px; height: 520px; left: 30%; top: 22%; background: var(--beige); opacity: var(--orb-c); animation: drift3 38s ease-in-out infinite alternate; }
.o4 { width: 260px; height: 260px; right: 12%; top: 6%; background: var(--bitter); opacity: var(--orb-d); animation: drift1 30s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(90px, 60px) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-80px, -50px) scale(1.06); } }
@keyframes drift3 { to { transform: translate(-60px, 40px) scale(.94); } }

/* ---------- glass ---------- */
.glass {
  position: relative; border-radius: 28px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(1.8); backdrop-filter: blur(28px) saturate(1.8);
  box-shadow: var(--shadow), inset 0 1px 0 var(--edge-a), inset 0 -1px 0 var(--edge-b);
}
.glass::after { /* thin light-catching edge */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(150deg, var(--edge-a), var(--edge-b) 38%, var(--edge-b) 62%, var(--edge-a));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.glass.shine::before { /* light that follows the pointer */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .5), transparent 60%);
}
.glass.shine:hover::before { opacity: 1; }
@media (prefers-color-scheme: dark) { .glass.shine::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .09), transparent 60%); } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: var(--solid); } }
@media (prefers-reduced-transparency: reduce) {
  .glass { background: var(--solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .orb { display: none; }
}

/* ---------- layout ---------- */
#app { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }
.band { position: fixed; z-index: 5; top: 0; left: 0; right: 0; height: 5px; background: url(/img/band.png) center / 100% 100% no-repeat; }
.shell { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 20px; flex: 1; }
.toolbar {
  position: sticky; top: 14px; z-index: 10; margin: 14px auto 0; width: calc(100% - 28px); max-width: 920px;
  display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 22px; border-radius: 999px;
}
.toolbar .grow { flex: 1; }
.wordmark { display: block; height: 15px; aspect-ratio: 19713 / 1692; background: currentColor; -webkit-mask: url(/img/wordmark.svg) center / contain no-repeat; mask: url(/img/wordmark.svg) center / contain no-repeat; }
.wordmark.lg { height: 22px; }
.tb-actions { display: flex; align-items: center; gap: 6px; }
main { padding: 44px 0 120px; display: flex; flex-direction: column; gap: 22px; }
.foot { padding: 0 20px 28px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink-3); font-size: 12.5px; }
.foot img { width: 16px; height: 16px; opacity: .75; }
@media (prefers-color-scheme: dark) { .foot img { filter: invert(1); } }

.hero h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; }
.hero p { margin-top: 10px; color: var(--ink-2); max-width: 560px; font-size: 16px; }
.card { padding: 28px; }
@media (max-width: 560px) {
  .card { padding: 20px; border-radius: 24px; }
  main { padding-top: 28px; }
  .toolbar { flex-wrap: wrap; border-radius: 28px; padding: 8px 8px 10px 18px; row-gap: 8px; }
  .toolbar .grow { order: 1; }
  .toolbar .tb-actions { order: 2; }
  .toolbar .seg { order: 3; flex: 0 0 100%; }
  .seg.sm button { height: 34px; }
  .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .stat b { font-size: 24px; }
}

/* ---------- controls ---------- */
.btn {
  --h: 46px; height: var(--h); padding: 0 22px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--btn-bg); color: var(--btn-ink); font: 600 14.5px var(--body); text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--spring), box-shadow .25s var(--ease), background .2s, opacity .2s;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 10px 24px -10px rgba(37, 39, 44, .55);
}
.btn:hover { transform: translateY(-1px) scale(1.015); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn.quiet { background: var(--glass-hi); color: var(--ink); box-shadow: inset 0 1px 0 var(--edge-a), 0 0 0 1px var(--hair), var(--shadow-sm); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.btn.ghost { background: transparent; color: var(--ink-2); box-shadow: none; padding: 0 14px; }
.btn.ghost:hover { background: var(--chip); color: var(--ink); }
.btn.sm { --h: 34px; padding: 0 14px; font-size: 13px; }
.btn.danger { color: var(--err-ink); }
.btn.icon { width: 38px; padding: 0; --h: 38px; }
.btn svg, .ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn.sm svg { width: 16px; height: 16px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .label { font: 600 12.5px var(--body); letter-spacing: .02em; color: var(--ink-2); text-transform: uppercase; }
.input {
  height: 50px; width: 100%; border-radius: 16px; border: 1px solid var(--hair); padding: 0 16px; background: var(--field); font-size: 16px; color: var(--ink);
  box-shadow: inset 0 1px 2px rgba(37, 39, 44, .05); transition: border-color .2s, box-shadow .25s var(--ease), background .2s;
}
.input::placeholder { color: var(--ink-3); }
.input:hover { background: var(--glass-hi); }
.input:focus { outline: none; border-color: var(--fawn); box-shadow: 0 0 0 4px rgba(240, 182, 127, .38); background: var(--glass-hi); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.stack { display: flex; flex-direction: column; gap: 22px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.hint { color: var(--ink-3); font-size: 13px; }

/* segmented control */
.seg { --n: 2; --i: 0; position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 4px; border-radius: 999px; background: var(--chip); box-shadow: inset 0 1px 2px rgba(37, 39, 44, .08); }
.seg .pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n)); border-radius: 999px; background: var(--pillbg); box-shadow: 0 1px 2px rgba(37, 39, 44, .16), 0 6px 14px -6px rgba(37, 39, 44, .3); transform: translateX(calc(var(--i) * 100%)); transition: transform .45s var(--spring); }
.seg button { position: relative; z-index: 1; border: 0; background: none; height: 38px; border-radius: 999px; font: 600 13.5px var(--body); color: var(--ink-2); padding: 0 12px; transition: color .2s; white-space: nowrap; }
.seg button[aria-checked="true"] { color: var(--ink); }
.seg.sm button { height: 32px; font-size: 13px; padding: 0 16px; }
.seg.nav .pill { background: var(--raisin); }
.seg.nav button[aria-checked="true"] { color: #fff; }
@media (prefers-color-scheme: dark) { .seg.nav .pill { background: #f3f3f5; } .seg.nav button[aria-checked="true"] { color: #25272C; } }

/* slider */
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--bitter) var(--p, 20%), var(--chip) var(--p, 20%)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--chip); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--bitter); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 3px rgba(37, 39, 44, .3), 0 6px 14px -4px rgba(37, 39, 44, .35); transition: transform .3s var(--spring); }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 3px rgba(37, 39, 44, .3), 0 6px 14px -4px rgba(37, 39, 44, .35); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; font: 600 12px var(--body); background: var(--chip); color: var(--ink-2); white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .6; }
.badge.done { background: var(--tea); color: #1d4a2c; } .badge.done::before { opacity: 1; background: #2e8b57; }
.badge.work { background: var(--fawn); color: #4a2c0e; } .badge.work::before { background: #4a2c0e; animation: pulse 1.2s ease-in-out infinite; }
.badge.err { background: rgba(254, 95, 85, .16); color: var(--err-ink); } .badge.err::before { background: var(--bitter); opacity: 1; }
@media (prefers-color-scheme: dark) { .badge.done { background: rgba(199, 239, 207, .18); color: var(--tea); } .badge.work { background: rgba(240, 182, 127, .2); color: var(--fawn); } .badge.work::before { background: var(--fawn); } }
@keyframes pulse { 50% { opacity: .25; transform: scale(.7); } }

/* progress */
.bar { height: 10px; border-radius: 99px; background: var(--chip); overflow: hidden; box-shadow: inset 0 1px 2px rgba(37, 39, 44, .08); }
.bar > i { display: block; height: 100%; width: var(--w, 0%); border-radius: 99px; background: linear-gradient(90deg, var(--fawn), var(--bitter)); transition: width .8s var(--ease); position: relative; overflow: hidden; }
.bar > i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%); transform: translateX(-100%); animation: sheen 1.8s ease-in-out infinite; }
.bar.indet > i { width: 38%; animation: slide 1.5s ease-in-out infinite alternate; }
@keyframes sheen { to { transform: translateX(100%); } }
@keyframes slide { from { margin-left: 0; } to { margin-left: 62%; } }
.bar.finished > i::after { display: none; }

/* notices */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: var(--glass-hi); box-shadow: 0 0 0 1px var(--hair); font-size: 14px; color: var(--ink-2); }
.notice .ico { margin-top: 2px; }
.notice.err { background: rgba(254, 95, 85, .12); box-shadow: 0 0 0 1px rgba(254, 95, 85, .3); color: var(--err-ink); }
.notice.ok { background: rgba(199, 239, 207, .55); color: #1d4a2c; box-shadow: 0 0 0 1px rgba(46, 139, 87, .2); }
.notice strong { color: var(--ink); }
.notice.err strong { color: inherit; }
.errtext { color: var(--err-ink); font-size: 14px; display: flex; gap: 8px; align-items: center; min-height: 22px; }
.errtext:empty { display: none; }
.row.between > .btn:last-child { margin-left: auto; }

/* ---------- page list ---------- */
.list { border-radius: 20px; background: var(--field); box-shadow: 0 0 0 1px var(--hair); overflow: hidden; }
.list-scroll { max-height: min(54vh, 560px); overflow: auto; overscroll-behavior: contain; }
.item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--hair); cursor: pointer; transition: background .15s; }
.item:first-child { border-top: 0; }
.item:hover { background: var(--chip); }
.chk { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; flex: none; margin: 0; border-radius: 50%; border: 1.5px solid var(--ink-3); background: transparent; display: grid; place-items: center; transition: background .2s, border-color .2s, transform .3s var(--spring); cursor: pointer; }
.chk:checked { background: var(--btn-bg); border-color: var(--btn-bg); }
.chk:checked::after { content: ""; width: 6px; height: 11px; border: solid var(--btn-ink); border-width: 0 2.2px 2.2px 0; transform: translateY(-1px) rotate(45deg); }
.chk:active { transform: scale(.88); }
.item .t { min-width: 0; flex: 1; }
.item .t b { display: block; font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .t span { display: block; color: var(--ink-3); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { font: 600 11px var(--body); letter-spacing: .03em; text-transform: uppercase; color: var(--ink-3); background: var(--chip); border-radius: 99px; padding: 3px 9px; }
.list-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; flex-wrap: wrap; border-bottom: 1px solid var(--hair); }
.list-head .input { height: 40px; border-radius: 99px; flex: 1; min-width: 160px; font-size: 14.5px; }
.live-list { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-3); max-height: 150px; overflow: hidden; -webkit-mask: linear-gradient(transparent, #000 40%); mask: linear-gradient(transparent, #000 40%); justify-content: flex-end; min-height: 90px; }
.live-list span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: rise .4s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* action bar */
.dock.glass { background: var(--dock); }
.dock { position: fixed; z-index: 9; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(720px, calc(100% - 28px)); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 24px; border-radius: 999px; animation: dockin .5s var(--spring); }
.dock .grow { flex: 1; min-width: 0; line-height: 1.3; }
.dock .grow b { display: block; font-weight: 600; }
.dock .grow span { color: var(--ink-3); font-size: 12.5px; }
@keyframes dockin { from { transform: translate(-50%, 30px); opacity: 0; } }
@media (max-width: 560px) { .dock { padding: 8px; } .dock .grow { display: none; } .dock .lbl { display: none; } .dock .btn:last-child { flex: 1; } .dock .btn.ghost { padding: 0 12px; } }

/* ---------- tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.tile { position: relative; border-radius: 20px; overflow: hidden; background: var(--field); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); display: flex; flex-direction: column; animation: pop .5s var(--spring); }
.tile .img { aspect-ratio: 16 / 10; background: var(--chip); position: relative; overflow: hidden; }
.tile .img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.tile .img.wait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .5) 50%, transparent 80%); transform: translateX(-100%); animation: sheen 1.8s ease-in-out infinite; }
.tile .meta { padding: 10px 12px 12px; min-width: 0; }
.tile .meta b { display: block; font: 600 13px var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .meta span { display: block; font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .dot { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--tea); color: #1d4a2c; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.tile .dot.bad { background: var(--bitter); color: #fff; }
.tile .dot .ico { width: 14px; height: 14px; stroke-width: 2.4; }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(8px); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.stat { padding: 16px 18px; border-radius: 20px; background: var(--field); box-shadow: 0 0 0 1px var(--hair); }
.stat b { display: block; font: 600 26px var(--head); letter-spacing: -.02em; line-height: 1.2; }
.stat span { color: var(--ink-3); font-size: 12.5px; }

/* history */
.group { overflow: hidden; }
.group > button.gh { width: 100%; display: flex; align-items: center; gap: 14px; padding: 20px 24px; background: none; border: 0; text-align: left; }
.group .gh .t { flex: 1; min-width: 0; }
.group .gh .t b { display: block; font: 600 18px var(--head); letter-spacing: -.01em; }
.group .gh .t span { color: var(--ink-3); font-size: 13px; }
.chev { transition: transform .4s var(--spring); } .group.open .chev { transform: rotate(90deg); }
.group .body { display: none; padding: 0 12px 12px; }
.group.open .body { display: block; animation: rise .35s var(--ease); }
.cap { display: flex; align-items: center; gap: 14px; padding: 14px 14px; border-radius: 18px; flex-wrap: wrap; }
.cap + .cap { border-top: 1px solid var(--hair); border-radius: 0; }
.cap:hover { background: var(--chip); }
.cap .t { flex: 1; min-width: 200px; cursor: pointer; }
.cap .t b { display: block; font-weight: 600; font-size: 14.5px; }
.cap .t span { display: block; color: var(--ink-3); font-size: 12.5px; }
.cap .acts { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.empty { text-align: center; padding: 56px 20px; color: var(--ink-2); }
.empty h3 { font-size: 20px; margin-bottom: 6px; color: var(--ink); }

/* login */
.login { flex: 1; display: grid; place-items: center; padding: 40px 20px; }
.login .card { width: min(420px, 100%); display: flex; flex-direction: column; gap: 22px; align-items: stretch; padding: 36px 32px 30px; }
.login .brand { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.login .brand p { color: var(--ink-2); font-size: 14.5px; max-width: 280px; }
.login .by { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--ink-3); font-size: 12.5px; }
.login .by img { width: 18px; height: 18px; opacity: .75; }
@media (prefers-color-scheme: dark) { .login .by img { filter: invert(1); } }

.crumb { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 13.5px; background: none; border: 0; padding: 0; }
.crumb:hover { color: var(--ink); }
.crumb .ico { width: 16px; height: 16px; }
.mono { font-variant-numeric: tabular-nums; }
.trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.fadein { animation: rise .45s var(--ease); }
.spin { animation: spin .9s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; z-index: 30; left: 50%; top: 84px; transform: translateX(-50%); padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; animation: dockin .4s var(--spring); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .orb { animation: none; }
}
