/* Shared Cream.Shop identity. Loaded after the existing component styles. */
:root, html[data-theme="light"] {
  color-scheme: light;
  --bg: #faf8f6;
  --surface: #fff;
  --surface-raised: #fff;
  --text: #302b29;
  --text-bright: #231f1e;
  --muted: #746a65;
  --line: #e8e0db;
  --line-strong: #cbbab1;
  --accent: #302b29;
  --accent-soft: #f0e5de;
  --warning: #94621e;
  --danger: #b33f3b;
  --success: #42705a;
  --header-bg: #ead7ce;
  --placeholder: #8a7d76;
  --prose: #514842;
  --code-bg: #f0eae5;
  --code-text: #42362f;
  --font-sans: "Segoe UI", Arial, sans-serif;
  --shell: 1440px;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #201d1b;
  --surface: #292421;
  --surface-raised: #312b27;
  --text: #e9dfd8;
  --text-bright: #fff5ee;
  --muted: #bcb0a7;
  --line: #463d36;
  --line-strong: #746459;
  --accent: #ebcfc0;
  --accent-soft: #45362e;
  --warning: #e9bd79;
  --danger: #ffaaa1;
  --success: #9ccab1;
  --header-bg: #262220;
  --placeholder: #ab9b90;
  --prose: #d4c6bd;
  --code-bg: #191614;
  --code-text: #ead7ce;
}
body { font-family: var(--font-sans); font-size: 15px; line-height: 1.55; }
.workspace-strip { background: #252120; color: #f5eeea; text-align: center; padding: 7px 24px; font-size: 11px; letter-spacing: .025em; }
.workspace-strip span { margin-left: 28px; color: #d5c6bd; }
.site-header { backdrop-filter: none; border-bottom: 1px solid var(--line-strong); }
.header-inner { min-height: 86px; }
.brand { gap: 14px; }
.brand-wordmark { font-size: 26px; letter-spacing: .075em; font-weight: 650; white-space: nowrap; }
.brand-caption { border-left: 1px solid var(--line-strong); padding-left: 14px; font-size: 13px; color: var(--text); }
.nav { font-size: 13px; gap: 18px; }
.nav > a:not(.button) { padding: 9px 0; }
.nav > .button { padding: 11px 20px; white-space: nowrap; }
.nav a:not(.button)::before, .back-link::before, .button::before, .eyebrow::before { content: none; }
.nav > a[aria-current="page"] { border-bottom: 2px solid currentColor; color: var(--text-bright); font-weight: 600; }
.nav-user { max-width: 170px; }
.theme-toggle { order: 2; border: 0; font-size: 12px; text-transform: none; letter-spacing: 0; padding: 6px; gap: 7px; }
.theme-toggle [aria-hidden] { font-size: 18px; }
.theme-toggle [data-theme-label] { display: none; }
.button { border-radius: 5px; letter-spacing: 0; text-transform: none; font-weight: 500; font-size: 14px; background: var(--accent); color: var(--bg); border-color: var(--accent); }
.button:hover { background: var(--text-bright); border-color: var(--text-bright); color: var(--bg); box-shadow: none; transform: none; }
.button-outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.button-outline:hover { background: var(--accent-soft); color: var(--text); border-color: var(--line-strong); }
.button-small { min-height: 38px; padding: 8px 14px; font-size: 13px; }
input, select, textarea { background: var(--surface); color: var(--text); border-radius: 5px; border-color: var(--line-strong); font-size: 14px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { resize: vertical; }
.kicker { color: var(--muted); font-size: 11px; letter-spacing: .12em; font-weight: 500; text-transform: uppercase; }
.kicker::before { content: none; }
th { font-size: 11px; text-transform: none; letter-spacing: 0; background: var(--bg); }
td { font-size: 13px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.site-footer { margin-top: 0; background: var(--surface); color: var(--muted); }
.footer-inner { min-height: 76px; font-size: 12px; }
@media (max-width: 1100px) {
  .brand-caption { display: none; }
  .nav { gap: 12px; }
  .nav-user { display: none; }
}
@media (max-width: 680px) {
  .workspace-strip { font-size: 10px; }
  .workspace-strip span { display: none; }
  .header-inner { min-height: 0; padding: 16px 0 10px; align-items: center; flex-direction: column; gap: 10px; }
  .brand-wordmark { font-size: 24px; }
  .nav { width: 100%; justify-content: center; gap: 5px 14px; font-size: 12px; }
  .nav > a:not(.button) { padding: 5px 0; }
  .nav form { margin: 0; }
  .theme-toggle > span:first-child { display: inline; }
  .site-header { position: relative; }
  .shell { width: calc(100% - 32px); }
  .footer-inner { gap: 10px; }
}
