/* Studio skin (from the shared-studio branch): colors, page background, fonts and logo only.
   Layout, sizes and behavior are untouched. Delete the <link> to skin.css to revert. */

:root {
  --bg: #f5f6ee;
  --panel: #fcfcf7;
  --ink: #24372c;
  --ink-2: #5f6d58;
  --line: #dde3d2;
  --accent: #335b40;
  --accent-soft: #e2eada;
  --good: #3f7a37;
  --warn: #a8641c;
  --bad: #a3402f;
  --shadow: 0 1px 2px #22372a0d, 0 4px 14px #22372a0f;
  --dots: #8c9c7c40;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141a16;
    --panel: #1b231d;
    --ink: #e4ebdf;
    --ink-2: #9eab98;
    --line: #2c382f;
    --accent: #8fbf8f;
    --accent-soft: #25352a;
    --good: #8fcf7f;
    --warn: #e0a85a;
    --bad: #e08a78;
    --shadow: none;
    --dots: #9eab981f;
  }
  /* primary buttons use light text on the accent; the dark-mode accent is light, so flip it */
  .btn.primary, .tabs-mobile button.on { color: #10200f; }
}

/* fonts: DM Sans for everything, Manrope for the wordmark and headings */
body, button, input, select, textarea { font-family: "DM Sans", Inter, system-ui, sans-serif; }
.brand strong, .col-head h2, .goal, .join h2 { font-family: Manrope, "DM Sans", sans-serif; }
.brand strong { font-weight: 800; letter-spacing: -0.6px; }
.goal { letter-spacing: -0.3px; }

/* logo mark: the studio's three-dot cluster */
.brand .dot {
  background: var(--accent);
  box-shadow: 5px -4px 0 #cad9b3, -4px 5px 0 #c7a78c;
}
@media (prefers-color-scheme: dark) {
  .brand .dot { box-shadow: 5px -4px 0 #4f6a4a, -4px 5px 0 #7a6150; }
}

/* page background: paper with the shared table's dot grid behind the panels */
body {
  background-color: var(--bg);
  background-image: radial-gradient(var(--dots) 0.8px, transparent 0.8px);
  background-size: 18px 18px;
}
.topbar { background: var(--bg); }

/* keep focus rings visible on the new palette */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #a47737;
  outline-offset: 2px;
}

/* small chips keep a visible tint on the paper background */
.room, .ref, .kind, .seg { background: var(--accent-soft); }
