/* Aeonith: "Obsidian + Lime"
   References: Cryptfy wallet (Dribbble, Kris Anfalova): obsidian glass panels, lime glow, dimmed decimals, bright action panel.
               Financial AI Agent dashboard (Dribbble): "agent active" strip, aurora-tinted glass tiles, insights feed.
               Linear.app: tight display type, hairline borders, faint grid backdrop.
   Dark-first, mobile-first. Sidebar ≥ 960px, floating glass tab bar below. */
:root {
  color-scheme: dark;
  --bg: #120403;
  --bg-2: #1a0705;
  --glass: rgba(255, 255, 255, .035);
  --glass-2: rgba(255, 255, 255, .06);
  --glass-3: rgba(255, 255, 255, .09);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --ink: #fff4ee;
  --ink-2: #f2d3c6;
  --muted: #c79c8d;
  --lime: #ff7a3d;
  --lime-ink: #2a0a04;
  --mint: #ffc29a;
  --violet: #ff4d6d;
  --cyan: #ffd166;
  --amber: #ffbf5a;
  --red: #ff6b6b;
  --ok: #7ef0a8;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --tabbar-h: 70px;
  --glow: 0 0 0 1px rgba(255, 122, 61, .35), 0 10px 40px -10px rgba(255, 122, 61, .45);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
:where(svg.i) { width: 20px; height: 20px; flex: none; }
svg.inline { display: inline; width: 14px; height: 14px; vertical-align: -2px; }
::selection { background: rgba(255, 122, 61, .35); }

/* ---------- atmosphere: aurora + grid ---------- */
.aurora { position: fixed; inset: -20vmax; z-index: -2; pointer-events: none; filter: blur(60px) saturate(120%); opacity: .55;
  background:
    radial-gradient(32vmax 26vmax at 18% 12%, rgba(255, 122, 61, .20), transparent 60%),
    radial-gradient(30vmax 24vmax at 85% 8%, rgba(255, 77, 109, .22), transparent 60%),
    radial-gradient(36vmax 30vmax at 70% 85%, rgba(255, 194, 154, .14), transparent 60%);
  animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { 100% { transform: translate3d(-3vmax, 2vmax, 0) rotate(8deg); } }
.gridbg { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
.side { display: none; }
.main { min-width: 0; padding-bottom: calc(var(--tabbar-h) + 28px + env(safe-area-inset-bottom)); }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(18, 4, 3, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: var(--lime-ink); background: radial-gradient(circle at 30% 25%, #ffd2b5, var(--lime) 45%, #c2410c); box-shadow: 0 0 24px -4px rgba(255, 122, 61, .7); }
.brand .mark svg { width: 19px; height: 19px; }
.brand strong { font-weight: 700; letter-spacing: -.03em; font-size: 17px; }
.brand small { display: block; color: var(--muted); font-size: 11.5px; margin-top: -2px; font-family: var(--mono); letter-spacing: .02em; }
.env-pills { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
#view { padding: 16px; max-width: 1240px; margin: 0 auto; outline: none; }
.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 10px 16px 18px; font-family: var(--mono); }

.tabbar { position: fixed; z-index: 30; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); height: var(--tabbar-h); display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(30, 10, 7, .78); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border: 1px solid var(--line-2); border-radius: 24px; box-shadow: 0 20px 50px -20px #000; }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: var(--muted); text-decoration: none; }
.tabbar a svg { width: 21px; height: 21px; }
.tabbar a.active { color: var(--lime); }
.tabbar a.fab span.fab-btn { width: 50px; height: 50px; border-radius: 17px; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; box-shadow: var(--glow); }
.tabbar a.fab span.fab-btn svg { width: 24px; height: 24px; }

@media (min-width: 960px) {
  .shell { grid-template-columns: 252px 1fr; }
  .side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 0; height: 100vh; padding: 22px 14px; border-right: 1px solid var(--line); background: rgba(22, 6, 4, .6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .side-nav { display: flex; flex-direction: column; gap: 3px; }
  .side-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink-2); font-weight: 500; border: 1px solid transparent; }
  .side-nav a svg { width: 18px; height: 18px; opacity: .85; }
  .side-nav a:hover { background: var(--glass); }
  .side-nav a.active { background: var(--glass-2); border-color: var(--line); color: var(--ink); }
  .side-nav a.active svg { color: var(--lime); opacity: 1; }
  .side-nav a.cta { margin-top: 10px; background: var(--lime); color: var(--lime-ink); justify-content: center; font-weight: 700; box-shadow: var(--glow); }
  .side-nav a.cta svg { color: var(--lime-ink); }
  .side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
  .topbar, .tabbar { display: none; }
  .main { padding-bottom: 24px; }
  #view { padding: 28px 32px; }
}

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; letter-spacing: -.035em; line-height: 1.1; font-weight: 650; }
.display { font-size: clamp(34px, 6.4vw, 60px); font-weight: 650; letter-spacing: -.05em; line-height: .98; }
.grad { background: linear-gradient(92deg, #fff 10%, var(--lime) 55%, var(--mint) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: 24px; }
h3 { font-size: 16.5px; letter-spacing: -.02em; }
.eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: var(--mono); font-size: 12px; word-break: break-all; }
.num { font-variant-numeric: tabular-nums; letter-spacing: -.04em; font-weight: 600; }
.num .dec { color: var(--muted); font-weight: 500; }

/* ---------- surfaces ---------- */
.card { position: relative; background: linear-gradient(180deg, var(--glass-2), var(--glass)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.card + .card { margin-top: 14px; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.section { margin-top: 22px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.hide-sm { display: none; }
@media (min-width: 720px) { .hide-sm { display: initial; } }
.col { min-width: 0; }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line-2); background: var(--glass-2); color: var(--ink); padding: 11px 18px; border-radius: 14px; font-weight: 600; cursor: pointer; text-decoration: none; min-height: 46px; transition: transform .1s ease, background .2s, box-shadow .2s; }
.btn:hover { background: var(--glass-3); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }
.btn.primary { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); box-shadow: var(--glow); }
.btn.primary:hover { background: #ff9a66; }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--red); border-color: rgba(255, 107, 107, .35); background: rgba(255, 107, 107, .06); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--glass-2); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.chip svg { width: 13px; height: 13px; }
.chip.ok { color: var(--ok); background: rgba(126, 240, 168, .08); border-color: rgba(126, 240, 168, .22); }
.chip.warn { color: var(--amber); background: rgba(255, 191, 90, .08); border-color: rgba(255, 191, 90, .22); }
.chip.bad { color: var(--red); background: rgba(255, 107, 107, .08); border-color: rgba(255, 107, 107, .25); }
.chip.lime { color: var(--lime); background: rgba(255, 122, 61, .08); border-color: rgba(255, 122, 61, .28); }
.chip.violet { color: #ffb3c0; background: rgba(255, 77, 109, .1); border-color: rgba(255, 77, 109, .3); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(255, 122, 61, .7); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 122, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 122, 61, 0); } }

/* ---------- forms ---------- */
label.field { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.input { width: 100%; padding: 12px 14px; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); font-size: 15px; min-height: 46px; color: var(--ink); }
textarea.input { resize: vertical; min-height: 110px; line-height: 1.5; }
.input:focus { outline: none; border-color: rgba(255, 122, 61, .6); box-shadow: 0 0 0 4px rgba(255, 122, 61, .12); }
select.input option { background: #1f0805; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.switch { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.switch input { width: 20px; height: 20px; accent-color: var(--lime); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: rgba(0, 0, 0, .3); border: 1px solid var(--line-2); border-radius: 14px; padding: 4px; gap: 4px; }
.seg label { text-align: center; padding: 10px; border-radius: 10px; font-weight: 600; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.seg input { position: absolute; opacity: 0; }
.seg label:has(input:checked) { background: var(--lime); color: var(--lime-ink); }

/* ---------- home: agent strip + bento ---------- */
.agentbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 16px; border-radius: var(--r-md); border: 1px solid rgba(255, 122, 61, .2); background: linear-gradient(90deg, rgba(255, 122, 61, .08), rgba(255, 77, 109, .05)); margin-bottom: 16px; }
.agentbar .who { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--lime); }
.agentbar .stats { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; }
.agentbar .stats div small { display: block; font-size: 10.5px; color: var(--muted); font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.agentbar .stats div b { font-size: 16px; }
@media (max-width: 640px) { .agentbar .stats { margin-left: 0; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } }
.bento { display: grid; grid-template-columns: 1fr; gap: 14px; }
.bento > .card + .card { margin-top: 0; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(6, 1fr); } .b-hero { grid-column: span 4; } .b-vault { grid-column: span 2; } .b-cats { grid-column: span 6; } .b-jobs { grid-column: span 4; } .b-feed { grid-column: span 2; } }
.b-hero { padding: 26px; overflow: hidden; }
.b-hero p { color: var(--ink-2); max-width: 560px; margin: 14px 0 20px; font-size: 15.5px; }
.orb { position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255, 122, 61, .5), rgba(255, 194, 154, .16) 40%, transparent 70%); filter: blur(10px); animation: float 9s ease-in-out infinite; pointer-events: none; }
@keyframes float { 50% { transform: translate(-16px, 14px) scale(1.05); } }
.cmd { display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 16px; border-radius: 16px; background: rgba(0, 0, 0, .45); border: 1px solid var(--line-2); position: relative; }
.cmd:focus-within { border-color: rgba(255, 122, 61, .55); box-shadow: 0 0 0 4px rgba(255, 122, 61, .1); }
.cmd > svg { color: var(--lime); }
.cmd input { flex: 1; border: 0; background: transparent; min-width: 0; padding: 9px 0; outline: none; font-size: 15px; color: var(--ink); }
.cmd .btn { min-height: 40px; padding: 8px 14px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.vaultmini { display: flex; flex-direction: column; overflow: hidden; }
.vaultmini .big { font-size: 40px; margin: 10px 0 4px; }
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 720px) { .cats { grid-template-columns: repeat(6, 1fr); } }
.cat { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--glass); cursor: pointer; text-align: left; color: var(--ink); transition: border-color .2s, transform .15s; }
.cat:hover { border-color: rgba(255, 122, 61, .4); transform: translateY(-2px); }
.cat .ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--line); color: var(--lime); }
.cat .ico svg { width: 18px; height: 18px; }
.cat b { font-size: 13.5px; font-weight: 600; }
.cat small { display: block; color: var(--muted); font-size: 11px; font-family: var(--mono); }
.cat::after { content: ""; position: absolute; width: 90px; height: 90px; right: -30px; bottom: -40px; border-radius: 50%; background: var(--tint, rgba(255, 122, 61, .2)); filter: blur(24px); opacity: .6; }

.jobs { display: grid; grid-template-columns: 1fr; gap: 10px; }
.job { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; text-decoration: none; padding: 12px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(0, 0, 0, .25); transition: border-color .2s, background .2s; min-width: 0; }
.job:hover { border-color: var(--line-2); background: var(--glass); }
.job > div { min-width: 0; }
.job .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--line); color: var(--lime); }
.job h3 { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job .meta { font-size: 11.5px; color: var(--muted); font-family: var(--mono); }
.job .right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.job .price { font-size: 19px; }
.bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; margin-top: 8px; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--mint), var(--lime)); box-shadow: 0 0 12px rgba(255, 122, 61, .6); }
.faces { display: flex; }
.face { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 700; border: 2px solid var(--bg-2); margin-left: -6px; color: #1a0705; }
.faces .face:first-child { margin-left: 0; }
@media (max-width: 520px) { .job { grid-template-columns: 40px 1fr; } .job .right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }

/* agent console feed */
.feed { display: flex; flex-direction: column; font-family: var(--mono); font-size: 11.5px; }
.feed .ln { display: grid; grid-template-columns: 46px 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--ink-2); animation: rise .4s ease both; overflow-wrap: anywhere; }
.feed .ln:last-child { border-bottom: 0; }
.feed .ln .t { color: var(--muted); }
.feed .ln .k { color: var(--lime); }
.feed .ln .k.paypal { color: var(--cyan); }
.feed .ln .k.policy { color: var(--red); }
.feed .ln .k.ai { color: #ffb3c0; }
.feed .ln .k.provider { color: var(--amber); }
@keyframes rise { from { opacity: 0; transform: translateY(4px); } }
.caret::after { content: "▍"; color: var(--lime); animation: blink 1s steps(1) infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- job detail ---------- */
.back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: 13.5px; margin-bottom: 14px; }
.back:hover { color: var(--ink); }
.back svg { width: 16px; height: 16px; }
.detail { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
.detail .rail { display: none; }
.mc-mobile { margin-top: 14px; }
@media (min-width: 1100px) {
  .detail { grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; }
  .detail .rail { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 24px; }
  .detail .rail .card + .card { margin-top: 0; }
  .mc-mobile { display: none; }
}
@media (max-width: 1099px) { .vault [data-next] { display: none; } }
.job-title { display: flex; gap: 14px; align-items: flex-start; }
.job-title .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--line); color: var(--lime); flex: none; }
.job-title .ico svg { width: 24px; height: 24px; }
.job-title h1 { font-size: clamp(24px, 4vw, 34px); }

/* flow stepper */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); margin: 20px 0 2px; }
.flow .s { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; color: var(--muted); text-align: center; font-family: var(--mono); }
.flow .s::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 2px; background: rgba(255, 255, 255, .08); }
.flow .s:first-child::before { display: none; }
.flow .s.done::before, .flow .s.now::before { background: linear-gradient(90deg, var(--mint), var(--lime)); box-shadow: 0 0 10px rgba(255, 122, 61, .5); }
.flow .n { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #1f0805; border: 1px solid var(--line-2); position: relative; z-index: 1; }
.flow .n svg { width: 15px; height: 15px; }
.flow .s.done .n { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.flow .s.now .n { border-color: var(--lime); color: var(--lime); box-shadow: 0 0 0 4px rgba(255, 122, 61, .12), 0 0 18px rgba(255, 122, 61, .4); }
.flow .s.done, .flow .s.now { color: var(--ink); }

/* the vault (money panel) */
.vault { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 22px; border: 1px solid rgba(255, 122, 61, .22); background:
  radial-gradient(120% 80% at 100% 0%, rgba(255, 122, 61, .16), transparent 55%),
  radial-gradient(90% 70% at 0% 100%, rgba(255, 77, 109, .14), transparent 60%),
  linear-gradient(180deg, #2a0c07, #160604); box-shadow: 0 30px 80px -40px rgba(255, 122, 61, .35); }
.vault .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.vault .amount { font-size: clamp(38px, 9vw, 46px); line-height: 1; margin: 10px 0 6px; color: #fff; }
.vault .sub { color: var(--ink-2); font-size: 13.5px; }
.ring { width: 92px; height: 92px; flex: none; position: relative; }
.ring svg { width: 92px; height: 92px; transform: rotate(-90deg); }
.ring .lbl { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--mono); font-size: 10px; color: var(--ink-2); line-height: 1.2; }
.ring .lbl b { display: block; font-size: 16px; color: #fff; font-family: var(--sans); }
.ring circle { fill: none; stroke-width: 8; }
.ring .trackc { stroke: rgba(255, 255, 255, .08); }
.ring .fill { stroke: url(#lg); stroke-linecap: round; transition: stroke-dashoffset 1.1s cubic-bezier(.2, .8, .2, 1); filter: drop-shadow(0 0 6px rgba(255, 122, 61, .6)); }
.vault .state { display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line-2); color: var(--lime); margin-top: 14px; }
.vault .state svg { width: 14px; height: 14px; }
.track { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0 14px; position: relative; }
.track::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 13px; height: 2px; background: rgba(255, 255, 255, .1); }
.track .t { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); position: relative; text-align: center; }
.track .dot { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: #1f0805; border: 1px solid var(--line-2); color: var(--ink-2); }
.track .dot svg { width: 14px; height: 14px; }
.track .t.done .dot { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); box-shadow: 0 0 14px rgba(255, 122, 61, .5); }
.track .t.now .dot { border-color: var(--lime); color: var(--lime); }
.track .t.done, .track .t.now { color: var(--ink); }
.vault .lines { border-top: 1px dashed var(--line-2); padding-top: 10px; font-size: 13.5px; }
.vault .lines div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--ink-2); }
.vault .lines div b { color: #fff; font-variant-numeric: tabular-nums; }
.vault .btn.primary { margin-top: 16px; }
.vault .btn.ghost { margin-top: 8px; }
.vault .hint { font-size: 11px; color: var(--muted); margin-top: 12px; text-align: center; font-family: var(--mono); }

/* people */
.people { display: flex; flex-direction: column; }
.person { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.person:first-child { border-top: 0; padding-top: 2px; }
.avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #1a0705; flex: none; }
.person .who { min-width: 0; }
.person .who b { display: block; font-weight: 600; }
.person .who small { color: var(--muted); font-size: 11.5px; display: block; font-family: var(--mono); overflow-wrap: anywhere; }
.person .act { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
@media (max-width: 520px) { .person { grid-template-columns: 38px 1fr; } .person .act { grid-column: 1 / -1; align-items: stretch; } .person .act .btn { width: 100%; } .person .act .chip { align-self: flex-start; } }

/* sealed bids */
.bids { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 720px) { .bids { grid-template-columns: repeat(3, 1fr); } }
.bid { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; background: rgba(0, 0, 0, .3); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bid.win { border-color: rgba(255, 122, 61, .6); box-shadow: 0 0 0 1px rgba(255, 122, 61, .25), 0 20px 50px -24px rgba(255, 122, 61, .5); background: linear-gradient(180deg, rgba(255, 122, 61, .08), rgba(0, 0, 0, .3)); }
.bid.out { opacity: .62; }
.bid .ribbon { position: absolute; top: 12px; right: 12px; background: var(--lime); color: var(--lime-ink); font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 6px; letter-spacing: .1em; font-family: var(--mono); }
.bid .head { display: flex; gap: 10px; align-items: center; min-width: 0; }
.bid.win .head { padding-right: 64px; }
.bid .head b { font-weight: 600; font-size: 14px; }
.bid .price { font-size: 34px; line-height: 1; }
.sealed { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .025) 6px, transparent 6px, transparent 12px); border: 1px dashed var(--line-2); }
.sealed .lockrow { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--amber); text-transform: uppercase; }
.sealed .lockrow svg { width: 15px; height: 15px; }
.scramble { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); word-break: break-all; line-height: 1.5; }
.why { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.bid.reveal-anim { animation: flip .7s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes flip { from { transform: perspective(700px) rotateX(-16deg) translateY(6px); opacity: .1; } }

/* proof */
.ticket { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-md); border: 1px solid rgba(255, 191, 90, .25); background: linear-gradient(135deg, rgba(255, 191, 90, .1), rgba(0, 0, 0, .2)); }
@media (min-width: 640px) { .ticket { grid-template-columns: auto 1fr; } }
.code { font-family: var(--mono); font-weight: 600; font-size: clamp(24px, 6vw, 32px); letter-spacing: .18em; padding: 12px 18px; border-radius: 14px; background: #000; border: 1px solid rgba(255, 191, 90, .5); color: var(--amber); text-align: center; text-shadow: 0 0 18px rgba(255, 191, 90, .5); }
.upload { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px dashed var(--line-2); border-radius: var(--r-md); padding: 24px; text-align: center; cursor: pointer; background: rgba(0, 0, 0, .25); transition: border-color .2s; }
.upload:hover { border-color: rgba(255, 122, 61, .5); }
.upload svg { width: 28px; height: 28px; color: var(--lime); }
.upload input { display: none; }
.upload img { max-height: 180px; border-radius: 12px; }
.checks { display: flex; flex-direction: column; gap: 8px; }
.check { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); }
.check > div { min-width: 0; }
.check .ci { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; }
.check .ci svg { width: 14px; height: 14px; }
.check.ok .ci { background: rgba(126, 240, 168, .12); color: var(--ok); }
.check.bad .ci { background: rgba(255, 107, 107, .12); color: var(--red); }
.check.na .ci { background: rgba(255, 191, 90, .12); color: var(--amber); }
.check small { display: block; color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 520px) { .check { grid-template-columns: 28px 1fr; } .check .chip { grid-column: 2; justify-self: start; } }

/* notes */
.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.note b { color: var(--ink); }
.note > svg { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.note.ok { border-color: rgba(126, 240, 168, .25); background: rgba(126, 240, 168, .05); }
.note.ok > svg { color: var(--ok); }
.note.warn { border-color: rgba(255, 191, 90, .25); background: rgba(255, 191, 90, .05); }
.note.warn > svg { color: var(--amber); }
.note.bad { border-color: rgba(255, 107, 107, .3); background: rgba(255, 107, 107, .06); }
.note.bad > svg { color: var(--red); }
.note.ai { border-color: rgba(255, 77, 109, .3); background: rgba(255, 77, 109, .06); }
.note.ai > svg { color: #ffb3c0; }
.note ul { margin: 4px 0 0; padding-left: 18px; }

/* receipt */
.rline { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.rline:first-child { border-top: 0; }
.rline > div { min-width: 0; }
.rline .r { text-align: right; }

/* post a job */
.ai-box { border-radius: var(--r-md); padding: 14px; border: 1px solid rgba(255, 77, 109, .3); background: linear-gradient(135deg, rgba(255, 77, 109, .1), rgba(0, 0, 0, .2)); }

/* pros + trust */
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 720px) { .kv { grid-template-columns: repeat(4, 1fr); } }
.kv div { background: rgba(0, 0, 0, .3); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.kv small { display: block; color: var(--muted); font-size: 10.5px; font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.kv b { font-size: 15px; font-weight: 600; }
.nolimit { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(126, 240, 168, .25); background: rgba(126, 240, 168, .06); font-weight: 600; font-size: 14px; color: var(--ok); }
.nolimit svg { width: 18px; height: 18px; }
.codeblock { font-family: var(--mono); font-size: 12px; background: #000; border: 1px solid var(--line); padding: 12px 14px; border-radius: 12px; color: var(--lime); overflow-x: auto; white-space: nowrap; }
#scheduler { height: 360px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--lime), rgba(255, 77, 109, .5), transparent); }
.ev { position: relative; padding: 10px 0 12px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.ev::before { content: ""; position: absolute; left: -21px; top: 16px; width: 9px; height: 9px; border-radius: 3px; background: var(--lime); box-shadow: 0 0 10px rgba(255, 122, 61, .7); }
.ev.paypal::before { background: var(--cyan); box-shadow: 0 0 10px rgba(255, 209, 102, .7); }
.ev.policy::before { background: var(--red); box-shadow: 0 0 10px rgba(255, 107, 107, .7); }
.ev.ai::before { background: var(--violet); box-shadow: 0 0 10px rgba(255, 77, 109, .7); }
.ev.provider::before { background: var(--amber); box-shadow: 0 0 10px rgba(255, 191, 90, .7); }
.ev .meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 11px; color: var(--muted); font-family: var(--mono); }
.ev .what { font-weight: 600; margin-top: 3px; }

/* misc */
.empty { text-align: center; padding: 30px 16px; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
.grid-2 > .card + .card { margin-top: 0; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.skeleton { height: 140px; border-radius: var(--r-lg); background: linear-gradient(90deg, var(--glass), var(--glass-3), var(--glass)); background-size: 200% 100%; animation: sh 1.2s infinite; }
@keyframes sh { to { background-position: -200% 0; } }
.fade-in { animation: rise .45s ease both; }
#toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 26px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: rgba(30, 10, 7, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 122, 61, .35); color: var(--ink); padding: 12px 18px; border-radius: 14px; opacity: 0; transition: .25s; pointer-events: none; max-width: min(92vw, 520px); font-weight: 500; font-size: 14px; z-index: 50; box-shadow: 0 20px 40px -20px #000; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 960px) { #toast { bottom: 26px; } }
.mobile-cta { position: fixed; z-index: 25; left: 14px; right: 14px; bottom: calc(var(--tabbar-h) + 20px + env(safe-area-inset-bottom)); }
.mobile-cta .btn { width: 100%; }
@media (min-width: 1100px) { .mobile-cta { display: none; } }
.has-cta .main { padding-bottom: calc(var(--tabbar-h) + 96px + env(safe-area-inset-bottom)); }
@media (max-width: 480px) { .topbar .env-pills { flex-direction: column; align-items: flex-end; gap: 4px; } .topbar .chip { font-size: 10.5px; padding: 3px 8px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
