:root {
  --bg: #000;
  --surface: #131313;
  --surface-2: #1f1f1f;
  --surface-3: #2a2a2a;
  --line: rgba(255,255,255,.1);
  --text: #e5e2e1;
  --muted: #aa897f;
  --orange: #ff5f1f;
  --orange-soft: #ffb59c;
  --red: #d6042f;
  --teal: #80d5cb;
  --ok: #57d68d;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.material-symbols-outlined { font-size: 20px; vertical-align: middle; }
.topbar { position: sticky; top: 0; z-index: 20; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 40px; background: rgba(19,19,19,.78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { font-family: Montserrat, sans-serif; font-weight: 900; color: var(--orange-soft); text-transform: uppercase; letter-spacing: .02em; }
.brand.block { display: block; margin: 0 0 6px; }
.navlinks { display: flex; align-items: center; gap: 24px; color: #cdbbb5; font-size: 14px; font-weight: 700; text-transform: uppercase; }
.navlinks a:hover, .footer a { color: var(--orange-soft); }
.btn { border: 1px solid var(--line); background: var(--surface-2); color: var(--text); padding: 11px 16px; border-radius: 8px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-transform: uppercase; font-size: 12px; }
.btn.primary { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 0 22px rgba(255,95,31,.25); }
.btn.danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn:hover, .sidebar nav a:hover, .stat-card:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid rgba(128,213,203,.65); outline-offset: 2px; }
.btn.wide { width: 100%; margin-top: auto; }
.hero { min-height: calc(100vh - 72px); display: grid; place-items: center start; padding: 80px 64px; position: relative; overflow: hidden; background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.82) 46%, rgba(0,0,0,.2)), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1800&q=80') center/cover; }
.hero h1, h1, h2, h3 { font-family: Montserrat, sans-serif; letter-spacing: 0; }
.hero h1 { max-width: 760px; font-size: clamp(48px, 8vw, 96px); line-height: .95; margin: 0; text-transform: uppercase; }
.accent { color: var(--orange-soft); }
.hero p { max-width: 620px; color: #d3c5c0; font-size: 18px; line-height: 1.7; }
.hero-actions, .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.section { padding: 88px 64px; }
.section.alt { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(30px, 4vw, 52px); margin: 0 0 12px; text-transform: uppercase; }
.grid { display: grid; gap: 20px; }
.grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card, .stat-card, .table-wrap, .form-card { background: rgba(31,31,31,.78); border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.card h3 { margin: 12px 0 8px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card-head h2 { margin: 0; }
.inline-search { display: flex; gap: 10px; align-items: center; margin: 12px 0 18px; }
.inline-search input { min-width: 0; }
.card p, .muted, .footer p { color: #c7b8b2; line-height: 1.6; }
.stat-card { min-height: 132px; }
.stat-card span { color: var(--orange-soft); font-size: 28px; }
.stat-card p { color: var(--muted); text-transform: uppercase; font-weight: 800; font-size: 12px; }
.stat-card strong { display: block; font-family: Montserrat, sans-serif; font-size: 34px; color: var(--text); }
.stat-card.hot { border-left: 4px solid var(--orange); }
.stat-card.red { border-left: 4px solid var(--red); }
.stat-card.teal { border-left: 4px solid var(--teal); }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 270px minmax(0,1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 26px 18px; background: #111; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.sidebar nav { display: grid; gap: 6px; margin-top: 16px; }
.sidebar nav a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 8px; color: #d1c5c1; font-weight: 700; }
.sidebar nav a:hover { background: var(--surface-2); color: var(--orange-soft); }
.sidebar-actions { margin-top: auto; display: grid; gap: 10px; }
.eyebrow { margin: 0; color: var(--orange-soft); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 900; }
.panel-main { min-width: 0; padding: 24px; background: radial-gradient(circle at top right, rgba(255,95,31,.08), transparent 35%), #080808; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.panel-head h1 { margin: 6px 0 0; font-size: clamp(28px, 4vw, 44px); }
.panel-account { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.user-chip { display: flex; align-items: center; gap: 8px; color: #cfc6c2; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 12px; }
.table-wrap { overflow-x: auto; padding: 0; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.07); }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.badge { display: inline-flex; border-radius: 999px; padding: 5px 9px; font-size: 12px; font-weight: 800; background: rgba(128,213,203,.12); color: var(--teal); }
.badge.red { background: rgba(214,4,47,.15); color: #ffb3b1; }
.badge.orange { background: rgba(255,95,31,.15); color: var(--orange-soft); }
.toolbar { display: flex; align-items: end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 18px 0; }
.toolbar form { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.toolbar label { min-width: 190px; }
.mini-stat { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: #d8cbc6; background: rgba(255,255,255,.04); font-size: 13px; font-weight: 800; }
.empty-state { padding: 36px; text-align: center; color: #c7b8b2; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.form-card { max-width: 760px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
label { display: grid; gap: 7px; color: #d6cbc7; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid var(--line); background: #0d0d0d; color: var(--text); padding: 12px; border-radius: 8px; font: inherit; }
textarea { min-height: 120px; }
.chart-bars { height: 260px; display: flex; align-items: end; gap: 14px; padding-top: 20px; }
.bar { flex: 1; min-width: 32px; background: linear-gradient(180deg, var(--orange-soft), var(--orange)); border-radius: 8px 8px 0 0; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.compare div { min-height: 320px; border-radius: 8px; background-size: cover; background-position: center; border: 1px solid var(--line); }
.footer { border-top: 1px solid var(--line); background: var(--surface); padding: 32px 64px; display: flex; justify-content: space-between; gap: 24px; }
@media (max-width: 900px) {
  .topbar { padding: 0 18px; }
  .navlinks { display: none; }
  .section, .hero { padding: 56px 20px; }
  .grid.four, .grid.three, .grid.two, .app-shell, .form-grid, .compare { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .footer, .panel-head, .panel-account { flex-direction: column; align-items: flex-start; }
}
