@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
:root {
  --text: #0F172A;
  --secondary: #64748B;
  --hairline: rgba(15, 23, 42, 0.06);
  --accent: #1A8CFF;
  --accent-soft: rgba(26, 140, 255, 0.12);
  --accent-mid: rgba(26, 140, 255, 0.18);
  --price: #F06A3C;
  --glass: rgba(255, 255, 255, 0.78);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --glass-soft: rgba(255, 255, 255, 0.55);
  --shadow: 0 8px 30px rgba(20, 40, 80, 0.08);
  --shadow-sm: 0 2px 10px rgba(20, 40, 80, 0.05);
  --radius: 20px;
  --radius-sm: 12px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --blue-1: #1A8CFF;
  --blue-2: #4BA3FF;
  --blue-3: #7CBCFF;
  --blue-4: #A8D2FF;
  --blue-5: #CFE3FF;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  width: 1440px; height: 900px; overflow: hidden;
  font-family: var(--font); color: var(--text);
  -webkit-font-smoothing: antialiased; font-size: 14px;
  font-feature-settings: "tnum" 1;
  background: #EEF3FA;
}
.backdrop {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 18% 20%, rgba(26,140,255,0.18), transparent 55%),
    radial-gradient(ellipse 70% 55% at 85% 75%, rgba(167,139,250,0.10), transparent 50%),
    linear-gradient(160deg, #EEF3FA 0%, #F4F6FC 45%, #E8EEF8 100%);
}
.app {
  position: relative; z-index: 1;
  width: 1440px; height: 900px;
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: 64px 1fr;
}
/* Frosted white rail — not dark */
.rail {
  grid-row: 1 / -1;
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 0; gap: 6px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(30px) saturate(1.2);
  backdrop-filter: blur(30px) saturate(1.2);
  box-shadow: inset -1px 0 0 var(--hairline), var(--shadow-sm);
}
.rail .logo {
  width: 40px; height: 40px; border-radius: 12px; overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(26,140,255,0.25);
}
.rail .logo img { width: 100%; height: 100%; display: block; }
.rail a {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  color: var(--secondary); text-decoration: none; position: relative;
}
.rail a.on {
  background: var(--accent-soft); color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(26,140,255,0.2);
}
.rail a svg {
  width: 20px; height: 20px; stroke: currentColor; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.rail .badge {
  position: absolute; top: 6px; right: 6px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 9px; font-weight: 700;
  display: grid; place-items: center;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.9);
}
.rail .spacer { flex: 1; }
.rail .avatar {
  width: 36px; height: 36px; border-radius: 50%; margin-bottom: 8px;
  background: linear-gradient(135deg, #1A8CFF, #4BA3FF);
  color: #fff; font-size: 12px; font-weight: 600;
  display: grid; place-items: center;
}
/* Top bar — logo/store, search, controls, avatar. NO nav icons */
.topbar {
  grid-column: 2;
  display: flex; align-items: center; gap: 16px;
  padding: 0 28px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(30px) saturate(1.2);
  backdrop-filter: blur(30px) saturate(1.2);
  box-shadow: inset 0 -1px 0 var(--hairline), 0 1px 0 rgba(255,255,255,0.9);
  z-index: 2;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.brand .word { display: flex; flex-direction: column; }
.brand .mark { font-size: 16px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.brand .lot { color: var(--text); }
.brand .pilot { color: #1A8CFF; }
.brand .sub { font-size: 12px; color: var(--secondary); margin-top: 2px; font-weight: 500; }
.search {
  margin-left: auto; height: 40px; width: 360px; padding: 0 14px; border-radius: 12px;
  background: rgba(255,255,255,0.65);
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--secondary); font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.search kbd {
  margin-left: auto; font-size: 11px; font-weight: 600; color: var(--secondary);
  background: rgba(15,23,42,0.04); padding: 3px 6px; border-radius: 6px;
  font-family: inherit;
}
.top-actions { display: flex; align-items: center; gap: 10px; }
.pill {
  height: 36px; padding: 0 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.6); color: var(--secondary);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.pill.live { color: var(--accent); background: var(--accent-soft); }
.pill.live::before {
  content:""; width:7px; height:7px; border-radius:50%; background: currentColor;
  box-shadow: 0 0 0 3px rgba(26,140,255,0.18);
}
.pill.on { color: var(--accent); background: var(--accent-soft); }
.btn {
  height: 36px; padding: 0 14px; border-radius: 10px;
  font-size: 13px; font-weight: 600; border: none; font-family: inherit;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(255,255,255,0.7); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--hairline);
  cursor: default; white-space: nowrap;
}
.btn.primary {
  background: linear-gradient(180deg, #3B9AFF 0%, #1A8CFF 100%); color: #fff;
  box-shadow: 0 6px 18px rgba(26,140,255,0.32), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn.danger { background: rgba(15,23,42,0.05); color: #475569; box-shadow: inset 0 0 0 1px var(--hairline); }
.btn.ghost { background: transparent; box-shadow: none; color: var(--secondary); }
.top-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #1A8CFF, #4BA3FF);
  color: #fff; font-size: 12px; font-weight: 600;
  display: grid; place-items: center;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.8);
}
.main {
  grid-column: 2; min-height: 0; padding: 24px 28px 28px;
  display: flex; flex-direction: column; gap: 20px; overflow: hidden;
}
.panel {
  background: var(--glass);
  -webkit-backdrop-filter: blur(30px) saturate(1.2);
  backdrop-filter: blur(30px) saturate(1.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.9);
}
.sample {
  position: absolute; right: 20px; bottom: 12px; z-index: 40;
  font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(15,23,42,0.28); font-weight: 600;
}
.status {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(15,23,42,0.05); color: var(--secondary);
}
.status.need { background: var(--accent-soft); color: var(--accent); }
.price { color: var(--price); font-weight: 700; font-variant-numeric: tabular-nums; }
