/* ============================================================
   3D PRINT — App
   Palette: Blueprint / Industrial Technical
   Type: Space Grotesk + Space Mono
   ============================================================ */

:root {
  --bg:          #08101e;
  --bg2:         #0c1628;
  --bg3:         #111f35;
  --border:      #1a2a40;
  --border2:     #2a3a50;
  --accent:      #38bdf8;
  --accent-dim:  #0369a1;
  --accent-glow: rgba(56,189,248,.1);
  --accent-soft: rgba(56,189,248,.04);
  --text:        #e0f0ff;
  --muted:       #4a6080;
  --muted2:      #2a3a50;
  --error:       #f87171;
  --success:     #34d399;
  --mono:        'Space Mono', monospace;
  --sans:        'Space Grotesk', sans-serif;
  --sidebar-w:   220px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  background-image:
    linear-gradient(rgba(56,189,248,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { font-family: var(--sans); cursor: pointer; }

.hidden { display: none !important; }

/* ── SCREENS ─────────────────────────────────────────────── */
.screen { display: none; min-height: 100vh; }
.screen.active { display: flex; flex-direction: column; }

/* ── AUTH ────────────────────────────────────────────────── */
#screen-auth {
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.auth-wrap {
  display: flex;
  width: 100%;
  max-width: 860px;
  min-height: 500px;
  border: 1px solid var(--border);
  background: var(--bg2);
}

.auth-brand {
  flex: 1;
  padding: 3rem 2.5rem;
  background: var(--bg3);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* Blueprint corner markers on auth-brand */
.auth-brand::before,
.auth-brand::after {
  content: '+';
  position: absolute;
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--accent-dim);
  line-height: 1;
}
.auth-brand::before { top: .75rem; left: .75rem; }
.auth-brand::after  { bottom: .75rem; right: .75rem; }

.auth-logo {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--text);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.auth-logo span { color: var(--accent); }

.auth-tagline {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.auth-ticker {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.ticker-item {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--muted);
}

.auth-panel {
  flex: 1;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.auth-tab {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .6rem 1.25rem .6rem 0;
  margin-right: 1.5rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .2s;
}
.auth-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.auth-tab:hover { color: var(--text); }

.auth-form {
  display: none;
  flex-direction: column;
  gap: 1rem;
}
.auth-form.active { display: flex; }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

input[type="text"], input[type="email"], input[type="password"],
input[type="number"] {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--mono);
  font-size: .9rem;
  padding: .65rem 1rem;
  border-radius: 0;
  outline: none;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
input:focus {
  border-color: var(--accent-dim);
  box-shadow: 0 0 0 1px var(--accent-dim), 0 0 8px rgba(56,189,248,.15);
}
input::placeholder { color: var(--muted2); }

.btn-main {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--accent-dim);
  color: var(--text);
  border: 1px solid var(--accent);
  padding: .75rem 1.75rem;
  border-radius: 0;
  font-weight: 700;
  transition: all .2s;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(56,189,248,0);
}
.btn-main:hover {
  background: var(--accent-glow);
  box-shadow: 0 0 12px rgba(56,189,248,.25);
}

.auth-error {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--error);
  min-height: 1.2em;
  margin-top: .25rem;
  letter-spacing: .04em;
}

/* ── APP LAYOUT ──────────────────────────────────────────── */
html, body { height: 100%; }

#screen-main { flex-direction: row; height: 100vh; overflow: hidden; }

.app-layout {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* ── SIDEBAR ─────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.sidebar-logo {
  font-family: var(--mono);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text);
  padding: 1.5rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: block;
}
.sidebar-logo span { color: var(--accent); }

.sidebar-nav {
  flex: 1;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.snav-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all .15s;
  text-align: left;
  position: relative;
  width: 100%;
  border-radius: 0;
}
.snav-item:hover { color: var(--text); background: var(--bg3); }
.snav-item.active { color: var(--accent); background: var(--bg3); }
.snav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(56,189,248,.5);
}

.snav-icon { font-size: .9rem; width: 1.25rem; text-align: center; }
.snav-label { flex: 1; }

.sidebar-bottom {
  border-top: 1px solid var(--border);
  padding: .75rem 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .5rem 1.25rem;
}
.user-dot {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--success);
}
.user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
#user-name-label {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#user-persona-label {
  font-family: var(--mono);
  font-size: .6rem;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.snav-logout { color: var(--muted2); }
.snav-logout:hover { color: var(--error); background: rgba(248,113,113,.05); }

/* ── CONTENT ─────────────────────────────────────────────── */
.app-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.mode { display: none; min-height: 0; }
.mode.active { display: flex; flex-direction: column; flex: 1; overflow: hidden; min-height: 0; }

.mode-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 2rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  flex-shrink: 0;
  z-index: 10;
  position: relative;
}

.mode-label {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: .3rem;
}

.mode-title h1 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
  font-family: var(--sans);
}

/* ── PRODUCT GRID ────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.product-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: visible;
  transition: border-color .15s, box-shadow .15s;
  cursor: pointer;
  position: relative;
}
/* Blueprint corner markers */
.product-card::before,
.product-card::after {
  content: '+';
  position: absolute;
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--muted2);
  line-height: 1;
  transition: color .15s;
}
.product-card::before { top: .4rem; left: .4rem; }
.product-card::after  { bottom: .4rem; right: .4rem; }
.product-card:hover {
  border-color: var(--accent-dim);
  box-shadow: 0 0 0 1px var(--accent-dim), 0 0 12px rgba(56,189,248,.1);
}
.product-card:hover::before,
.product-card:hover::after { color: var(--accent); }

.product-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--muted2);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
}

.product-info { padding: 1rem; }
.product-name {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: .4rem;
}
.product-price {
  font-family: var(--mono);
  font-size: .9rem;
  color: var(--accent);
  font-weight: 700;
}
.product-desc {
  font-size: .8rem;
  color: var(--muted);
  margin-top: .4rem;
  line-height: 1.5;
}

/* ── EMPTY STATE ─────────────────────────────────────────── */
.empty-state {
  text-align: center;
  color: var(--muted2);
  padding: 4rem 2rem;
}
.empty-state-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: .4;
  font-family: var(--mono);
}
.empty-state p { font-size: .875rem; line-height: 1.7; color: var(--muted); }

/* ── ORDER FORM ──────────────────────────────────────────── */
.order-content {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.order-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-section {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 1.5rem;
  position: relative;
}
.form-section::before {
  content: '+';
  position: absolute;
  top: .5rem; left: .5rem;
  font-family: var(--mono);
  font-size: .65rem;
  color: var(--muted2);
  line-height: 1;
}

.form-section-title {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.upload-area {
  border: 2px dashed var(--border2);
  border-radius: 0;
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  position: relative;
}
/* Crosshair center indicator */
.upload-area::before {
  content: '+';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 2rem;
  color: var(--muted2);
  line-height: 1;
  pointer-events: none;
  transition: color .2s;
}
.upload-area:hover { border-color: var(--accent-dim); background: var(--accent-glow); }
.upload-area:hover::before { color: var(--accent); }
.upload-area.drag-over { border-color: var(--accent); background: var(--accent-glow); box-shadow: 0 0 0 1px var(--accent), 0 0 16px rgba(56,189,248,.2); }

.upload-icon {
  font-size: 2rem;
  color: var(--muted2);
  margin-bottom: .75rem;
  font-family: var(--mono);
}
.upload-label {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
}
.upload-label span { color: var(--accent); font-family: var(--mono); font-size: .8rem; }

.upload-preview {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  margin-top: .75rem;
  border: 1px solid var(--border);
}

.select-input {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--mono);
  font-size: .85rem;
  padding: .65rem 1rem;
  border-radius: 0;
  outline: none;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  cursor: pointer;
}
.select-input:focus {
  border-color: var(--accent-dim);
  box-shadow: 0 0 0 1px var(--accent-dim), 0 0 8px rgba(56,189,248,.15);
}

textarea.theme-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--mono);
  font-size: .85rem;
  padding: .75rem 1rem;
  border-radius: 0;
  resize: vertical;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  line-height: 1.6;
  min-height: 80px;
}
textarea.theme-input:focus {
  border-color: var(--accent-dim);
  box-shadow: 0 0 0 1px var(--accent-dim), 0 0 8px rgba(56,189,248,.15);
}
textarea.theme-input::placeholder { color: var(--muted2); }

/* ── LITHOPHANE CANVAS ───────────────────────────────────── */
.lithophane-section {
  padding: 2rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.litho-label {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.litho-canvas-wrap {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

#litho-canvas {
  border: 1px solid var(--accent-dim);
  border-radius: 0;
  background: var(--bg3);
  max-width: 100%;
  box-shadow: 0 0 0 1px var(--border), 0 0 12px rgba(56,189,248,.1);
}

.litho-hint {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 280px;
  font-family: var(--sans);
}

/* ── ORDERS LIST ─────────────────────────────────────────── */
.orders-content {
  padding: 1.5rem 2rem;
  overflow-y: auto;
  flex: 1;
}

.order-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 1.25rem;
  margin-bottom: .75rem;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: border-color .15s;
}
.order-item:hover { border-color: var(--border2); }

.order-info { flex: 1; }
.order-id {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--muted2);
  margin-bottom: .3rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.order-desc {
  font-size: .9rem;
  color: var(--text);
}
.order-date {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--muted);
  margin-top: .3rem;
}

.order-status {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 0;
  border: 1px solid;
  white-space: nowrap;
}
.order-status.pending  { border-color: var(--accent-dim); color: var(--accent); background: var(--accent-glow); }
.order-status.complete { border-color: #059669; color: #34d399; background: rgba(52,211,153,.08); }
.order-status.cancelled { border-color: var(--muted2); color: var(--muted); }

/* ── CHIPS ───────────────────────────────────────────────── */
.chip-group { display: flex; flex-wrap: wrap; gap: .35rem; }

.chip {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 0;
  cursor: pointer;
  transition: all .15s;
  user-select: none;
}
.chip:hover { border-color: var(--border2); color: var(--text); }
.chip.selected {
  background: var(--accent-glow);
  border-color: var(--accent-dim);
  color: var(--accent);
}

/* ── MODAL ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,16,30,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  backdrop-filter: blur(4px);
}

.modal-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px var(--border), 0 0 32px rgba(56,189,248,.1);
  padding: 2rem;
  width: 100%;
  max-width: 460px;
  border-radius: 0;
  position: relative;
}
.modal-box::before {
  content: '+';
  position: absolute;
  top: .5rem; left: .5rem;
  font-family: var(--mono);
  font-size: .65rem;
  color: var(--accent-dim);
  line-height: 1;
}
.modal-box::after {
  content: '+';
  position: absolute;
  bottom: .5rem; right: .5rem;
  font-family: var(--mono);
  font-size: .65rem;
  color: var(--accent-dim);
  line-height: 1;
}

/* ── LEADERBOARD ─────────────────────────────────────────── */
.leaderboard-content {
  padding: 1.5rem 2rem;
  overflow-y: auto;
  flex: 1;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-width: 600px;
}

.leaderboard-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: .9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 0;
}

.lb-rank {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--accent);
  width: 2rem;
  text-align: center;
  font-weight: 700;
}

.lb-name {
  flex: 1;
  font-size: .9rem;
  color: var(--text);
}

.lb-score {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--muted);
}

/* ── GAME GRID ───────────────────────────────────────────── */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.game-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
  transition: all .15s;
  position: relative;
}
.game-card::before {
  content: '+';
  position: absolute;
  top: .4rem; left: .4rem;
  font-family: var(--mono);
  font-size: .65rem;
  color: var(--muted2);
  line-height: 1;
}
.game-card:hover { border-color: var(--accent-dim); background: var(--bg3); box-shadow: 0 0 0 1px var(--accent-dim), 0 0 12px rgba(56,189,248,.1); }

.game-icon {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent);
  font-family: var(--mono);
}

.game-name {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
}

.game-desc {
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.coming-soon-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .15rem .5rem;
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  border-radius: 0;
  background: var(--accent-glow);
}

/* ── CHAT PANEL ──────────────────────────────────────────── */
.chat-panel {
  width: 300px;
  flex-shrink: 0;
  border-left: 1px solid var(--border);
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.chat-panel-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .18em;
  color: var(--accent);
  text-transform: uppercase;
  flex-shrink: 0;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  min-height: 0;
}

.chat-msg {
  max-width: 100%;
  padding: .6rem .9rem;
  line-height: 1.5;
  font-size: .85rem;
  border-radius: 0;
}
.chat-msg.own {
  background: var(--accent-glow);
  border: 1px solid var(--accent-dim);
  color: var(--text);
  align-self: flex-end;
}
.chat-msg.other {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  align-self: flex-start;
}
.chat-msg-author {
  font-family: var(--mono);
  font-size: .65rem;
  color: var(--muted);
  margin-bottom: .2rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.chat-input-wrap {
  display: flex;
  gap: .5rem;
  align-items: flex-end;
  padding: 1rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--mono);
  font-size: .85rem;
  padding: .55rem .85rem;
  border-radius: 0;
  resize: none;
  outline: none;
  transition: border-color .2s;
  line-height: 1.5;
  max-height: 100px;
  overflow-y: auto;
}
.chat-input:focus { border-color: var(--accent-dim); box-shadow: 0 0 0 1px var(--accent-dim); }
.chat-input::placeholder { color: var(--muted2); }

.chat-send {
  background: var(--accent-dim);
  color: var(--text);
  border: 1px solid var(--accent);
  width: 34px;
  height: 34px;
  border-radius: 0;
  font-family: var(--mono);
  font-size: .9rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all .2s;
}
.chat-send:hover { background: var(--accent-glow); box-shadow: 0 0 8px rgba(56,189,248,.3); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 680px) {
  .auth-wrap { flex-direction: column; }
  .auth-brand { border-right: none; border-bottom: 1px solid var(--border); padding: 2rem 1.5rem; }
  .auth-ticker { display: none; }
  .auth-panel { padding: 2rem 1.5rem; }
  .sidebar { width: 56px; }
  .snav-label, .sidebar-logo span, .user-info, .sidebar-user .user-dot { display: none; }
  .sidebar-logo { font-size: .75rem; padding: 1rem .75rem; letter-spacing: .05em; }
  .snav-item { padding: .65rem 0; justify-content: center; }
  .snav-icon { width: auto; font-size: 1rem; }
  .product-grid { padding: 1rem; gap: .75rem; }
  .mode-header { padding: 1rem; }
  .order-content { padding: 1rem; }
}
