:root {
  --bg: #FAF8F5;
  --surface: #FFFFFF;
  --surface-alt: #F3EFE8;
  --ink: #18181B;
  --ink-muted: #57534E;
  --border: #E5DED3;
  --accent: #9A3412;
  --accent-hover: #7C2D12;
  --accent-soft: #FFEDD5;
  --sage: #15803D;
  --sage-soft: #DCFCE7;
  --danger: #B91C1C;
  --danger-soft: #FEE2E2;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 2px 10px rgba(24, 24, 27, 0.05);
  --shadow-lg: 0 18px 44px rgba(24, 24, 27, 0.16);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --base-font-size: 15px;
}

[data-theme="dark"] {
  --bg: #121214;
  --surface: #1C1C20;
  --surface-alt: #26262B;
  --ink: #F4F4F5;
  --ink-muted: #A1A1AA;
  --border: #2E2E35;
  --accent: #EA580C;
  --accent-hover: #C2410C;
  --accent-soft: rgba(234, 88, 12, 0.18);
  --sage: #4ADE80;
  --sage-soft: rgba(74, 222, 128, 0.15);
  --danger: #F87171;
  --danger-soft: rgba(248, 113, 113, 0.16);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 18px 44px rgba(0, 0, 0, 0.55);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: var(--base-font-size, 15px);
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  font-size: 1rem;
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.hidden {
  display: none !important;
}

.muted {
  color: var(--ink-muted);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.08s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: 0.84rem; }
.btn-lg { min-height: 46px; padding: 11px 22px; font-size: 0.98rem; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink);
}
.btn-secondary:hover { background: var(--surface-alt); }

.btn-danger {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: #FECACA;
}
.btn-danger:hover { background: #FECACA; }

.file-btn { position: relative; overflow: hidden; }
.file-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* INPUTS & CARDS */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field > span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="number"],
.field input[type="search"],
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(154, 52, 18, 0.12);
}

.field-hint {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-muted);
  cursor: pointer;
}
.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stack-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 0.88rem;
  font-weight: 500;
}

/* BRAND */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.86rem;
}
.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.brand-sub {
  margin: 4px 0 0 21px;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* AUTH SCREEN */
.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.auth-shell {
  width: 100%;
  max-width: 1040px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.auth-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.3vw, 2.75rem);
  line-height: 1.15;
  margin: 18px 0 14px;
  font-weight: 400;
}
.auth-lead {
  color: var(--ink-muted);
  font-size: 1.03rem;
  margin-bottom: 22px;
}
.auth-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.auth-features li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.92rem;
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface-alt);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.auth-tab {
  min-height: 38px;
  border: none;
  background: transparent;
  border-radius: 7px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-muted);
}
.auth-tab.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--ink-muted);
  font-size: 0.82rem;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* APP SHELL */
.app-shell {
  min-height: 100vh;
  display: flex;
}

/* Desktop Sidebar */
.sidebar {
  width: 248px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 22px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar-top {
  padding: 0 8px 20px;
  border-bottom: 1px solid var(--border);
}
.side-nav {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--ink-muted);
  font-weight: 500;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-btn:hover { background: var(--surface-alt); color: var(--ink); }
.nav-btn.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.nav-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.nav-badge {
  margin-left: auto;
  background: var(--surface-alt);
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.nav-btn.active .nav-badge {
  background: rgba(154, 52, 18, 0.14);
  color: var(--accent);
}
.sidebar-footer {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
}
.avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.user-pill-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.user-pill-meta strong {
  font-size: 0.88rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-pill-meta span {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

/* Mobile Header & Bottom Nav (Hidden on desktop) */
.mobile-header,
.mobile-nav {
  display: none;
}

/* Main Content */
.main-content {
  flex: 1;
  min-width: 0;
  padding: 28px 32px 48px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.view-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.view-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  margin: 0;
}
.view-sub {
  margin: 4px 0 0;
  color: var(--ink-muted);
  font-size: 0.94rem;
}

/* Filters & Chips */
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.search-wrap {
  flex: 1;
  min-width: 220px;
  position: relative;
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--ink-muted);
  stroke-width: 2;
  pointer-events: none;
}
.search-wrap input {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px 9px 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}
.search-wrap input:focus {
  outline: none;
  border-color: var(--accent);
}
.filter-selects {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-selects select {
  min-height: 42px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  max-width: 100%;
}

.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 14px;
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.summary-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 0.86rem;
  color: var(--ink-muted);
}
.palette-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.palette-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(24, 24, 27, 0.2);
  display: inline-block;
}

/* Wardrobe Grid */
.wardrobe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 16px;
}
.garment-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}
.garment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(24, 24, 27, 0.08);
}
.garment-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--surface-alt);
  overflow: hidden;
}
.garment-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.color-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  font-size: 0.74rem;
  font-weight: 600;
  border: 1px solid rgba(24, 24, 27, 0.08);
}
.swatch-mini {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.25);
}
.cat-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(24, 24, 27, 0.78);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.garment-body {
  padding: 12px 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.garment-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}
.garment-meta {
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.mini-tag {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--surface-alt);
  color: var(--ink-muted);
}

/* Upload & Scan */
.upload-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.drop-zone {
  border: 2px dashed #CFC6B8;
  background: var(--surface);
  border-radius: 18px;
  padding: 34px 22px;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.drop-zone.drag-over {
  border-color: var(--accent);
  background: #FFF7ED;
}
.drop-zone-inner {
  max-width: 580px;
  margin: 0 auto;
}
.upload-badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.drop-zone h3 {
  margin: 4px 0 8px;
  font-size: 1.2rem;
}
.drop-zone p {
  margin: 0 0 18px;
  color: var(--ink-muted);
  font-size: 0.92rem;
}
.upload-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.upload-controls input {
  flex: 1;
  min-width: 220px;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.info-banner {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.scan-queue-section {
  margin-top: 26px;
}
.queue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.scan-queue {
  display: grid;
  gap: 16px;
}
.queue-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  box-shadow: var(--shadow);
}
.queue-thumb {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-alt);
}
.queue-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.queue-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.queue-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.source-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage);
}

/* Outfit Stylist */
.stylist-controls {
  margin-bottom: 24px;
}
.stylist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 16px;
}
.control-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.weather-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.flex-1 { flex: 1; min-width: 0; }
.temp-field { width: 105px; flex-shrink: 0; }
.inline-input-group {
  display: flex;
  gap: 6px;
}
.inline-input-group input {
  flex: 1;
  min-width: 0;
}

.quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  min-height: 32px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}
.pill.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.stylist-row-2 {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.stylist-cta-wrap {
  flex-shrink: 0;
}
.trend-desc {
  margin: 12px 0 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.stylist-results {
  display: grid;
  gap: 20px;
}
.outfit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.outfit-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.outfit-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.score-pill {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}
.harmony-pill {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
}

.outfit-pieces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.outfit-piece {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.outfit-piece-img {
  aspect-ratio: 4 / 5;
  background: var(--surface-alt);
}
.outfit-piece-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.outfit-piece-info {
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.outfit-piece-slot {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  font-weight: 700;
}
.outfit-piece-name {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
}
.swap-btn {
  margin-top: auto;
  padding: 5px 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}
.swap-btn:hover { background: var(--surface-alt); }

.why-box {
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.why-box p {
  margin: 0 0 10px;
  font-size: 0.93rem;
}
.tips-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 5px;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

/* Saved Looks */
.saved-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
}
.saved-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.saved-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.saved-head h3 {
  margin: 0;
  font-size: 1.05rem;
}
.fav-star {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 36px;
  min-height: 36px;
  cursor: pointer;
  font-size: 1.05rem;
}
.fav-star.active {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #B45309;
}
.saved-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.saved-thumb {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--border);
}
.saved-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.saved-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}

/* Account Grid */
.account-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: start;
}
.action-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 46px 20px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.empty-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 24, 27, 0.48);
  backdrop-filter: blur(2px);
}
.modal-sheet {
  position: relative;
  background: var(--surface);
  border-radius: 18px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal-sm { max-width: 460px; }
.modal-lg { max-width: 860px; }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 { margin: 0; font-size: 1.1rem; }
.icon-close {
  border: none;
  background: var(--surface-alt);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 700;
}
.modal-body {
  padding: 20px;
  overflow-y: auto;
}

.edit-item-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
}
.edit-photo-frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}
.edit-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.edit-photo-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.edit-fields-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.color-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.color-input-row input[type="color"] {
  width: 44px;
  height: 42px;
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  flex-shrink: 0;
}
.toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.toggle-pill {
  cursor: pointer;
}
.toggle-pill input {
  display: none;
}
.toggle-pill span {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  font-size: 0.82rem;
  font-weight: 500;
}
.toggle-pill input:checked + span {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.modal-footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.swap-list {
  display: grid;
  gap: 10px;
}
.swap-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.swap-option:hover { background: var(--surface-alt); }
.swap-option img {
  width: 48px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
}

/* Toasts */
.toast-root {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 340px;
}
.toast {
  background: var(--ink);
  color: #fff;
  padding: 11px 15px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  font-weight: 500;
}
.toast.error { background: var(--danger); }

/* MOBILE RESPONSIVE BREAKPOINT */
@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .sidebar { display: none; }
  .app-shell {
    flex-direction: column;
  }
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 30;
    height: 56px;
    padding: 0 16px;
    background: rgba(250, 248, 245, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
  }
  .main-content {
    padding: 18px 14px calc(86px + env(safe-area-inset-bottom));
  }
  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 6px 2px calc(6px + env(safe-area-inset-bottom));
  }
  .mnav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: none;
    background: transparent;
    color: var(--ink-muted);
    font-size: 0.67rem;
    font-weight: 600;
    min-height: 48px;
    padding: 2px;
    cursor: pointer;
  }
  .mnav-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .mnav-btn.active { color: var(--accent); }

  .wardrobe-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stylist-grid,
  .account-grid,
  .queue-card,
  .edit-item-layout {
    grid-template-columns: 1fr;
  }
  .queue-card { gap: 14px; }
  .queue-thumb { max-width: 180px; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .stylist-cta-wrap { width: 100%; }
  .stylist-cta-wrap .btn { width: 100%; }
  .saved-grid { grid-template-columns: 1fr; }

  .modal { padding: 0; align-items: flex-end; }
  .modal-sheet {
    border-radius: 18px 18px 0 0;
    max-height: 92vh;
  }
  .toast-root {
    top: auto;
    bottom: 78px;
    right: 12px;
    left: 12px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .two-col,
  .three-col {
    grid-template-columns: 1fr;
  }
}

.setup-details {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.84rem;
}
.setup-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}
.setup-details ol {
  margin: 8px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 5px;
  color: var(--ink-muted);
}

.storage-status-pill {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage);
  font-size: 0.74rem;
  font-weight: 700;
}

.storage-mini-badge {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 700;
}
.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* MULTI-COLOR PICKER CHIPS & SUBCATEGORY CREATOR */
.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.field-label-row > span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.color-chips-editor {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.color-picker-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(24, 24, 27, 0.04);
}
.color-picker-chip.is-main {
  border-color: #C7B9A5;
  background: var(--surface-alt);
}
.color-picker-chip input[type="color"] {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(24, 24, 27, 0.18);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
}
.color-picker-chip input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.color-picker-chip input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 50%;
}
.chip-role-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 999px;
}
.chip-color-label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink);
}
.chip-remove-btn {
  border: none;
  background: var(--surface-alt);
  color: var(--ink-muted);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.75rem;
  line-height: 1;
  display: grid;
  place-items: center;
  padding: 0;
}
.chip-remove-btn:hover {
  background: var(--danger-soft);
  color: var(--danger);
}

.swatch-stack {
  display: inline-flex;
  align-items: center;
}
.swatch-stack .swatch-mini + .swatch-mini {
  margin-left: -4px;
}

/* WARDROBE STATS VIEW */
.stats-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stats-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kpi-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}
.kpi-value {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  line-height: 1.15;
  color: var(--ink);
}
.kpi-sub {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.stats-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stats-card h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}
.stats-card-sub {
  margin: 0 0 14px;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.stat-bar-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat-bar-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.stat-bar-row.clickable {
  cursor: pointer;
}
.stat-bar-row.clickable:hover .stat-bar-label {
  color: var(--accent);
}
.stat-bar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  gap: 8px;
}
.stat-bar-label {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.stat-bar-count {
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}
.stat-bar-track {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: var(--surface-alt);
  overflow: hidden;
}
.stat-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.stat-bar-fill.neutral-fill {
  background: var(--ink);
}
.stat-bar-fill.sage-fill {
  background: var(--sage);
}

.stat-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}
.stat-pill {
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  font-weight: 500;
}
.stat-pill.clickable {
  cursor: pointer;
}
.stat-pill.clickable:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.wear-mini-list {
  display: grid;
  gap: 8px;
}
.wear-mini-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  cursor: pointer;
}
.wear-mini-item img {
  width: 38px;
  height: 46px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.wear-mini-meta {
  flex: 1;
  min-width: 0;
}
.wear-mini-meta strong {
  display: block;
  font-size: 0.86rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wear-mini-meta span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.audit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
.audit-item {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border-left: 3px solid var(--accent);
  font-size: 0.86rem;
}
.audit-item.good {
  border-left-color: var(--sage);
}

@media (max-width: 900px) {
  .stats-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid-2 {
    grid-template-columns: 1fr;
  }
  .filter-selects {
    width: 100%;
  }
  .filter-selects select {
    flex: 1 1 140px;
  }
}

/* DARK MODE & COMPACT GRID OVERRIDES */
[data-theme="dark"] .mobile-header {
  background: rgba(18, 18, 20, 0.92);
}
[data-theme="dark"] .color-badge {
  background: rgba(28, 28, 32, 0.9);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .drop-zone {
  border-color: #3F3F46;
}
[data-theme="dark"] .drop-zone.drag-over {
  background: rgba(234, 88, 12, 0.12);
}
[data-theme="dark"] .btn-danger {
  border-color: rgba(248, 113, 113, 0.35);
}
[data-theme="dark"] .fav-star.active {
  background: rgba(245, 158, 11, 0.2);
  border-color: #F59E0B;
  color: #FBBF24;
}
[data-theme="dark"] .chip.active,
[data-theme="dark"] .toggle-pill input:checked + span,
[data-theme="dark"] .score-pill,
[data-theme="dark"] .avatar-circle {
  background: var(--ink);
  color: #18181B;
}
[data-theme="dark"] .toast {
  background: #27272A;
  color: #F4F4F5;
  border: 1px solid var(--border);
}

.batch-progress {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.batch-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

/* CITY AUTOCOMPLETE DROPDOWN */
.city-autocomplete {
  position: relative;
  flex: 1;
  min-width: 0;
}
.city-autocomplete input {
  width: 100%;
}
.city-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-height: 240px;
  overflow-y: auto;
}
.city-option {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.city-option:last-child {
  border-bottom: none;
}
.city-option:hover,
.city-option.active {
  background: var(--surface-alt);
}
.city-option strong {
  font-size: 0.9rem;
  color: var(--ink);
}
.city-option span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* BLOCKED PAGE & DEVELOPER BADGES */
.blocked-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.blocked-card {
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blocked-card h1 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 400;
  margin: 0;
}
.blocked-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--danger-soft);
  color: var(--danger);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 4px;
}
.blocked-email-pill {
  display: inline-block;
  margin: 0 auto;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
}
.dev-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.dev-panel {
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px dashed var(--accent);
}

.gate-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.guest-warning-box {
  background: #FFFBEB;
  border: 1px solid #F59E0B;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84rem;
  color: #78350F;
}
.guest-warning-box p {
  margin: 0;
  line-height: 1.45;
}
[data-theme="dark"] .guest-warning-box {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.45);
  color: #FDE68A;
}

.setup-card {
  width: 100%;
  max-width: 620px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: var(--shadow-lg);
}
.setup-card h1 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin: 0 0 6px;
}

.storage-choice-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-alt);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.storage-choice-card:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.storage-choice-card input {
  margin-top: 3px;
  accent-color: var(--accent);
}
.storage-choice-card strong {
  display: block;
  font-size: 0.9rem;
}
.storage-choice-card small {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.35;
  margin-top: 2px;
}

.storage-status-pill.is-guest {
  background: #FEF3C7;
  color: #92400E;
}
[data-theme="dark"] .storage-status-pill.is-guest {
  background: rgba(245, 158, 11, 0.2);
  color: #FCD34D;
}

[data-compact="true"] .wardrobe-grid {
  grid-template-columns: repeat(auto-fill, minmax(162px, 1fr));
  gap: 12px;
}
@media (max-width: 900px) {
  .batch-progress {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.batch-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

/* CITY AUTOCOMPLETE DROPDOWN */
.city-autocomplete {
  position: relative;
  flex: 1;
  min-width: 0;
}
.city-autocomplete input {
  width: 100%;
}
.city-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-height: 240px;
  overflow-y: auto;
}
.city-option {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.city-option:last-child {
  border-bottom: none;
}
.city-option:hover,
.city-option.active {
  background: var(--surface-alt);
}
.city-option strong {
  font-size: 0.9rem;
  color: var(--ink);
}
.city-option span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* BLOCKED PAGE & DEVELOPER BADGES */
.blocked-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.blocked-card {
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blocked-card h1 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 400;
  margin: 0;
}
.blocked-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--danger-soft);
  color: var(--danger);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 4px;
}
.blocked-email-pill {
  display: inline-block;
  margin: 0 auto;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
}
.dev-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.dev-panel {
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px dashed var(--accent);
}

.gate-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.guest-warning-box {
  background: #FFFBEB;
  border: 1px solid #F59E0B;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84rem;
  color: #78350F;
}
.guest-warning-box p {
  margin: 0;
  line-height: 1.45;
}
[data-theme="dark"] .guest-warning-box {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.45);
  color: #FDE68A;
}

.setup-card {
  width: 100%;
  max-width: 620px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: var(--shadow-lg);
}
.setup-card h1 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin: 0 0 6px;
}

.storage-choice-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-alt);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.storage-choice-card:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.storage-choice-card input {
  margin-top: 3px;
  accent-color: var(--accent);
}
.storage-choice-card strong {
  display: block;
  font-size: 0.9rem;
}
.storage-choice-card small {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.35;
  margin-top: 2px;
}

.storage-status-pill.is-guest {
  background: #FEF3C7;
  color: #92400E;
}
[data-theme="dark"] .storage-status-pill.is-guest {
  background: rgba(245, 158, 11, 0.2);
  color: #FCD34D;
}

[data-compact="true"] .wardrobe-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  [data-compact="true"] .garment-body {
    padding: 8px 9px 10px;
  }
}
