/* Bid & Manage design system. Colours and spacing live in :root so they are easy to change. */
:root {
  --bg: #060a13;
  --bg-2: #0b1220;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.11);
  --text: #eef2fa;
  --muted: #9aa6bd;
  --amber: #ffb224;
  --orange: #ff6b2c;
  --blue: #4da3ff;
  --cyan: #5ee6ff;
  --green: #3ddc97;
  --red: #ff6b6b;
  --grad: linear-gradient(100deg, var(--amber), var(--orange));
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Space Grotesk', var(--font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--grad); }

/* animated background glow */
.aurora { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.32; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 560px; height: 560px; background: #1d4ed8; top: -160px; left: -120px; }
.aurora i:nth-child(2) { width: 480px; height: 480px; background: #ff6b2c; top: 30%; right: -180px; opacity: 0.2; animation-delay: -7s; }
.aurora i:nth-child(3) { width: 520px; height: 520px; background: #0ea5e9; bottom: -220px; left: 30%; opacity: 0.18; animation-delay: -13s; }
@keyframes drift { to { transform: translate3d(70px, 50px, 0) scale(1.15); } }
.gridlines {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(94, 230, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(94, 230, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}

/* nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); background: rgba(6, 10, 19, 0.72); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.logo svg { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a.on { color: var(--text); background: var(--panel); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; width: 42px; height: 42px; font-size: 1.2rem; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 14px 20px 20px; background: #070b14; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 0.98rem var(--font); cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s; white-space: nowrap; color: var(--text);
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--grad); color: #1a0f00; box-shadow: 0 10px 30px rgba(255, 124, 36, 0.35); }
.btn-primary:hover { box-shadow: 0 14px 40px rgba(255, 124, 36, 0.55); }
.btn-ghost { background: var(--panel); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel-2); border-color: rgba(255, 255, 255, 0.25); }
.btn-danger { background: rgba(255, 107, 107, 0.12); border-color: rgba(255, 107, 107, 0.4); color: #ffb3b3; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-block { width: 100%; }
.nav-links a.btn-primary { color: #1a0f00; }
.nav-links a.btn-primary:hover { background: var(--grad); color: #1a0f00; }

/* cards */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(8px); }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* 3D tilt cards */
.tilt { transform-style: preserve-3d; transition: transform 0.25s ease-out, border-color 0.3s, box-shadow 0.3s; will-change: transform; position: relative; overflow: hidden; }
.tilt:hover { border-color: rgba(255, 178, 36, 0.5); box-shadow: var(--shadow); }
.tilt::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 190, 80, 0.18), transparent 45%);
}
.tilt:hover::after { opacity: 1; }
.tilt > * { transform: translateZ(22px); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px) scale(0.98); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* hero */
.hero { min-height: calc(100vh - 68px); display: flex; align-items: center; padding: 40px 0 80px; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 30px; align-items: center; }
.hero-copy { max-width: 640px; }
.hero-copy p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 520px; }
.rotator { display: inline-block; min-width: 4ch; }
.rotator span { display: inline-block; animation: wordIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes wordIn { from { opacity: 0; transform: translateY(0.5em) rotateX(-70deg); } }
.searchbar {
  display: grid; grid-template-columns: 1.35fr 1fr auto; gap: 8px; padding: 8px; margin-top: 28px; background: rgba(10, 16, 30, 0.8);
  border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); backdrop-filter: blur(14px);
}
.searchbar select, .searchbar input { background: transparent; border: 0; color: var(--text); font: 500 1rem var(--font); padding: 14px 16px; min-width: 0; outline: none; border-radius: 14px; }
.searchbar select:focus, .searchbar input:focus { background: var(--panel); }
.searchbar option { background: #0b1220; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; color: var(--muted); font-size: 0.92rem; }
.hero-badges span::before { content: '✓'; color: var(--green); margin-right: 8px; font-weight: 700; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; z-index: 1; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(8px); } }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-canvas { opacity: 0.45; }
  .searchbar { grid-template-columns: 1fr; }
}

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: rgba(255, 255, 255, 0.02); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: slide 38s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: 1.15rem; color: var(--muted); white-space: nowrap; }
.marquee-track span b { color: var(--amber); margin-right: 46px; font-weight: 400; }
@keyframes slide { to { transform: translateX(-50%); } }

/* trade tiles */
.trade-tile { display: flex; flex-direction: column; gap: 10px; min-height: 150px; justify-content: space-between; }
.trade-tile .ico { font-size: 2rem; filter: drop-shadow(0 6px 14px rgba(255, 150, 40, 0.4)); }
.trade-tile .go { color: var(--amber); font-size: 0.85rem; opacity: 0; transform: translateX(-8px) translateZ(22px); transition: 0.3s; }
.trade-tile:hover .go { opacity: 1; transform: translateX(0) translateZ(22px); }

/* steps */
.step-num { font-family: var(--display); font-size: 3.4rem; font-weight: 700; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.9; }
.step-num.ico { background: none; color: inherit; font-size: 2.4rem; margin-bottom: 14px; }
.stage { perspective: 1400px; }

/* pricing */
.price-card { position: relative; border-radius: 26px; padding: 2px; background: conic-gradient(from var(--a, 0deg), var(--amber), var(--orange), var(--blue), var(--cyan), var(--amber)); animation: spin 7s linear infinite; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.price-card > div { background: #0a101d; border-radius: 24px; padding: 36px; height: 100%; }
.price { font-family: var(--display); font-size: 4.2rem; font-weight: 700; line-height: 1; }
.price small { font-size: 1.1rem; color: var(--muted); font-weight: 500; }
.ticks { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(61, 220, 151, 0.15); color: var(--green); font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; translate: 0 3px; }

/* forms */
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field { margin-bottom: 16px; }
input[type='text'], input[type='email'], input[type='password'], input[type='tel'], input[type='number'], input[type='url'], select, textarea {
  width: 100%; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); border-radius: 12px; color: var(--text); padding: 12px 14px; font: 1rem var(--font); outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 178, 36, 0.18); }
select option { background: #0b1220; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.check { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--amber); }
.hint { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); cursor: default; }
label.chip { cursor: pointer; margin: 0; font-weight: 500; }
label.chip input { display: none; }
label.chip:has(input:checked) { background: rgba(255, 178, 36, 0.16); border-color: var(--amber); color: var(--text); }
.chip.ok { color: var(--green); border-color: rgba(61, 220, 151, 0.4); background: rgba(61, 220, 151, 0.08); }
.chip.warn { color: var(--amber); border-color: rgba(255, 178, 36, 0.4); background: rgba(255, 178, 36, 0.08); }

/* auth */
.auth { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 50px 0; }
.auth .card { width: min(480px, 100% - 40px); padding: 36px; }
.switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); border-radius: 14px; padding: 5px; margin-bottom: 22px; }
.switch button { background: none; border: 0; color: var(--muted); padding: 11px; border-radius: 10px; font: 600 0.92rem var(--font); cursor: pointer; }
.switch button.on { background: var(--grad); color: #1a0f00; }

/* contractor cards */
.pro-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.pro-card .cover { height: 150px; background: linear-gradient(135deg, #12203c, #1c1430) center/cover; position: relative; transform: none; }
.pro-card .logo-pic { position: absolute; left: 20px; bottom: -26px; width: 60px; height: 60px; border-radius: 16px; border: 3px solid #0b1220; background: #16223b center/cover; display: grid; place-items: center; font: 700 1.4rem var(--display); color: var(--amber); }
.pro-card .body { padding: 38px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pro-card h3 { margin: 0; }
.stars { color: var(--amber); letter-spacing: 2px; }
.stars .off { color: rgba(255, 255, 255, 0.18); }
.avail { color: var(--green); font-size: 0.86rem; font-weight: 600; }
.empty { text-align: center; padding: 60px 24px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty h3 { color: var(--text); }

/* profile */
.pro-hero { height: clamp(220px, 34vw, 380px); background: linear-gradient(135deg, #12203c, #24143a) center/cover; position: relative; }
.pro-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, var(--bg)); }
.pro-head { display: flex; gap: 22px; align-items: flex-end; margin-top: -70px; position: relative; z-index: 2; flex-wrap: wrap; }
.pro-head .logo-pic { width: 120px; height: 120px; border-radius: 28px; border: 4px solid var(--bg); background: #16223b center/cover; display: grid; place-items: center; font: 700 2.8rem var(--display); color: var(--amber); flex: none; box-shadow: var(--shadow); }
.pro-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; align-items: start; margin-top: 36px; }
.sticky { position: sticky; top: 90px; }
@media (max-width: 940px) { .pro-layout { grid-template-columns: 1fr; } .sticky { position: static; } }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; background: #0e1626; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.gallery figure:hover img { transform: scale(1.08); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 22px 10px 8px; font-size: 0.78rem; background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); }
.gallery .x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.7); color: #fff; cursor: pointer; z-index: 2; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(2, 4, 10, 0.94); display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.lightbox img { max-height: 90vh; border-radius: 12px; }

/* calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; max-width: 400px; }
.cal .dow { text-align: center; font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; padding-bottom: 4px; }
.cal .day { aspect-ratio: 1; border-radius: 9px; display: grid; place-items: center; font-size: 0.82rem; background: rgba(255, 255, 255, 0.03); color: var(--muted); border: 1px solid transparent; position: relative; }
.cal .day.open { background: rgba(61, 220, 151, 0.16); color: #b9f5da; border-color: rgba(61, 220, 151, 0.35); }
.cal .day.booked, .cal .day.blocked { background: rgba(255, 107, 107, 0.1); color: #c98b8b; text-decoration: line-through; }
.cal .day.off { opacity: 0.45; }
.cal .day.next { box-shadow: 0 0 0 2px var(--green), 0 0 18px rgba(61, 220, 151, 0.5); font-weight: 700; }
.cal .day.manual::after { content: ''; position: absolute; top: 4px; right: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.cal.edit .day { cursor: pointer; }
.cal.edit .day:hover { border-color: var(--amber); }
.cal .mo { grid-column: 1 / -1; font: 600 0.9rem var(--display); margin-top: 10px; color: var(--text); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.78rem; color: var(--muted); margin-top: 12px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }

/* dashboard */
.dash { padding: 40px 0 90px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 24px 0; border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; color: var(--muted); padding: 12px 18px; font: 600 0.95rem var(--font); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--text); border-color: var(--amber); }
.panel { display: none; }
.panel.on { display: block; animation: fade 0.4s; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }
.banner { border-radius: var(--radius); padding: 20px 24px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px solid rgba(255, 178, 36, 0.4); background: linear-gradient(100deg, rgba(255, 178, 36, 0.12), rgba(255, 107, 44, 0.06)); }
.banner.ok { border-color: rgba(61, 220, 151, 0.4); background: rgba(61, 220, 151, 0.07); }
.upload { border: 2px dashed var(--line); border-radius: var(--radius); padding: 30px; text-align: center; color: var(--muted); cursor: pointer; transition: 0.2s; display: block; }
.upload:hover, .upload.drag { border-color: var(--amber); color: var(--text); background: rgba(255, 178, 36, 0.05); }
.upload input { display: none; }
.lead-card h3 { margin-bottom: 4px; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.thumbs a, .thumbs div { width: 78px; height: 78px; border-radius: 10px; background: #0e1626 center/cover; position: relative; display: block; }
.thumbs .x { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #c0392b; color: #fff; font-size: 0.7rem; cursor: pointer; }
.rate { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rate input { display: none; }
.rate label { font-size: 1.9rem; color: rgba(255, 255, 255, 0.2); cursor: pointer; margin: 0; transition: 0.15s; }
.rate label:hover, .rate label:hover ~ label, .rate input:checked ~ label { color: var(--amber); transform: scale(1.1); }

/* modal + toast */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(2, 4, 10, 0.8); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: fade 0.25s; }
.modal .card { width: min(540px, 100%); max-height: 90vh; overflow: auto; background: #0b1220; }
.toasts { position: fixed; bottom: 24px; left: 50%; translate: -50% 0; z-index: 200; display: grid; gap: 10px; width: min(440px, 100% - 32px); }
.toast { background: #111a2e; border: 1px solid var(--line); border-left: 4px solid var(--green); padding: 14px 18px; border-radius: 12px; box-shadow: var(--shadow); animation: fade 0.3s; }
.toast.err { border-left-color: var(--red); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 44px 0; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
footer a:hover { color: var(--text); }

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

/* progress tracking */
.bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: var(--grad); transition: width 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bar.done i { background: linear-gradient(90deg, #2bbf82, var(--green)); }
.timeline { border-left: 2px solid var(--line); margin: 18px 0 0 8px; padding-left: 22px; display: grid; gap: 20px; }
.timeline > div { position: relative; }
.timeline > div::before { content: ''; position: absolute; left: -29px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 178, 36, 0.18); }
.thumbs.big a, .thumbs.big div { width: 120px; height: 96px; }
.request { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 178, 36, 0.35); background: rgba(255, 178, 36, 0.06); margin-top: 10px; }
.request.done { border-color: var(--line); background: var(--panel); }

/* admin */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.stat { padding: 18px; }
.stat b { display: block; font: 700 2rem var(--display); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 0.82rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td .btn { margin: 2px 2px 2px 0; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal p, .legal li { color: #c7cfdf; }
