/* Direction: Fashion Atelier — oat-milk paper, deep burgundy, editorial serif display */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #fbf9f5;
  --surface: #ffffff;
  --surface-2: #f1e9dc;
  --border: #e3d8c7;
  --border-strong: #b3b0ae;
  --ink: #292522;
  --muted: #76675b;
  --accent: #542f38;
  --accent-hover: #472830;
  --accent-ink: #ffffff;
  --accent-text: #5b3340;
  --accent-strong: #3b1f27;
  --accent-soft: #f0e4e3;
  --accent-border: #b09ea0;
  --success: #3f6b4a;
  --success-ink: #ffffff;
  --success-soft: #e4e8e0;
  --success-strong: #3f6b4a;
  --warning: #96682b;
  --warning-ink: #ffffff;
  --warning-soft: #efe8dd;
  --warning-strong: #8a6028;
  --danger: #8e3b32;
  --danger-ink: #ffffff;
  --danger-soft: #eee2de;
  --danger-strong: #8e3b32;
  --chart-1: #542f38;
  --chart-2: #77470e;
  --chart-3: #125e10;
  --chart-4: #0f576a;
  --chart-5: #583889;
  --chart-6: #993c61;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 500;
  --display-tracking: -0.015em;
  --radius-card: 6px;
  --radius-btn: 999px;
  --radius-input: 4px;
  --card-pad: 1.25rem;
  --shadow-card: 0 1px 2px rgba(41, 37, 34, 0.05), 0 18px 40px -28px rgba(41, 37, 34, 0.38);
  --x-oat: #F1E9DC;
  --x-cream: #F6EEE1;
  --x-ivory: #FBF9F5;
  --x-mocha: #A77B63;
  --x-taupe: #C6B99F;
  --x-sand: #DCCBB0;
  --x-espresso: #292522;
  --x-burgundy: #542F38;
  --x-plum: #6B3B52;
  --x-clay: #B5705A;
  --x-sage: #8E9B82;
  --x-olive: #6E6B45;
  --x-denim: #3F5A77;
  --x-charcoal: #3A3734;
  --x-blush: #E3C3C0;
  --x-gold: #C2A05B;
  --x-on-photo: #FFFFFF;
  --gradient-editorial: linear-gradient(165deg, #F1E9DC 0%, #FBF9F5 55%, #EFE3D1 100%);
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #0c0708;
  --surface: #242021;
  --surface-2: #181314;
  --border: #2e2a2b;
  --border-strong: #555152;
  --ink: #fbf9f5;
  --muted: #9b9896;
  --accent: #542f38;
  --accent-hover: #6e4e56;
  --accent-ink: #ffffff;
  --accent-text: #a18b90;
  --accent-strong: #998186;
  --accent-soft: #1c1013;
  --accent-border: #2c191e;
  --success: #3f6b4a;
  --success-ink: #ffffff;
  --success-soft: #171d17;
  --success-strong: #698c71;
  --warning: #96682b;
  --warning-ink: #ffffff;
  --warning-soft: #2a1c10;
  --warning-strong: #a67f4c;
  --danger: #8e3b32;
  --danger-ink: #ffffff;
  --danger-soft: #291211;
  --danger-strong: #ae726c;
  --chart-1: #896069;
  --chart-2: #bd741e;
  --chart-3: #6f8d29;
  --chart-4: #0b939c;
  --chart-5: #7375cc;
  --chart-6: #cb75af;
}

/* StyleStack — the atelier's own surfaces */

.paper {
  background: var(--gradient-editorial);
}

.rule-label {
  position: relative;
  display: inline-block;
  padding-left: 2.75rem;
}
.rule-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 2rem;
  height: 1px;
  background: var(--x-mocha);
}

details.menu > summary,
details.sheet > summary {
  list-style: none;
  cursor: pointer;
}
details.menu > summary::-webkit-details-marker,
details.sheet > summary::-webkit-details-marker {
  display: none;
}

/* a translucent black scrim, so type stays legible over a photograph */
.photo-scrim {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.05) 100%);
}

.tile-frame {
  background: linear-gradient(180deg, var(--x-cream) 0%, var(--surface-2) 100%);
}

.cal-cell {
  transition: background-color 0.18s ease;
}
.cal-cell:hover {
  background: var(--surface-2);
}
.cal-today {
  box-shadow: inset 0 0 0 1px var(--accent);
}

/* outfit studio picker */
.pick input:checked + .pick-frame {
  box-shadow: inset 0 0 0 2px var(--accent);
}
.pick input:focus-visible + .pick-frame {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.pick input:checked + .pick-frame .pick-dot {
  opacity: 1;
}
.pick-dot {
  opacity: 0;
  transition: opacity 0.15s ease;
}

/* inspiration colour palettes */
.sw {
  display: inline-block;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.sw-oat { background: var(--x-oat); }
.sw-cream { background: var(--x-cream); }
.sw-ivory { background: var(--x-ivory); }
.sw-mocha { background: var(--x-mocha); }
.sw-taupe { background: var(--x-taupe); }
.sw-sand { background: var(--x-sand); }
.sw-espresso { background: var(--x-espresso); }
.sw-burgundy { background: var(--x-burgundy); }
.sw-plum { background: var(--x-plum); }
.sw-clay { background: var(--x-clay); }
.sw-sage { background: var(--x-sage); }
.sw-olive { background: var(--x-olive); }
.sw-denim { background: var(--x-denim); }
.sw-charcoal { background: var(--x-charcoal); }
.sw-blush { background: var(--x-blush); }
.sw-gold { background: var(--x-gold); }
