body { background: #F5F4F2; color: #1a1a1a; font-family: var(--font-sans); }

.system-header { background: #fff; border-bottom: 1px solid #E0DDD8; padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; }
.system-header .logo { height: 36px; }
.system-header-right { display: flex; align-items: center; gap: 16px; }
.system-title { font-size: 14px; font-weight: 600; color: #555; letter-spacing: 0.02em; }
.back-link { font-size: 13px; color: #888; transition: color 0.15s; }
.back-link:hover { color: #333; }

.system-page { max-width: 1200px; margin: 0 auto; padding: 40px 24px 80px; }
.system-page h1 { font-family: var(--font-sans); font-size: 36px; font-weight: 500; color: #1a1a1a; margin-bottom: 6px; letter-spacing: -0.035em; }
.system-page .page-sub { font-size: 15px; color: #777; margin-bottom: 40px; }

.system-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(8, auto); gap: 28px 32px; }
.concept-column { display: grid; grid-row: 1 / -1; grid-template-rows: subgrid; gap: 28px; }
@media (max-width: 768px) {
  .system-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .concept-column { display: flex; flex-direction: column; grid-row: auto; }
}
.column-label { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #999; margin-bottom: 4px; }
.column-name { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.hearth-col-name { font-family: var(--font-serif); font-weight: 500; color: #C67B5C; font-size: 32px; letter-spacing: -0.02em; }
.atrium-col-name { font-family: var(--font-sans); color: #2B6CB0; letter-spacing: -0.035em; }

.ds-section { background: #fff; border-radius: 12px; padding: 24px; border: 1px solid #E0DDD8; }
.ds-section-title { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #999; margin-bottom: 16px; }

.palette-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.ds-swatch { width: 52px; }
.ds-swatch-block { width: 52px; height: 52px; border-radius: 8px; border: 1px solid rgba(0,0,0,0.06); margin-bottom: 4px; }
.ds-swatch-hex { font-size: 9px; color: #888; text-align: center; font-family: monospace; }
.ds-swatch-name { font-size: 9px; color: #bbb; text-align: center; }

.type-row { margin-bottom: 18px; }
.type-row:last-child { margin-bottom: 0; }
.type-meta { font-family: var(--font-mono); font-size: 10px; color: #bbb; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 3px; }
.hearth-h1 { font-family: var(--font-serif); font-size: 28px; font-weight: 500; color: #2B2520; line-height: 1.05; letter-spacing: -0.02em; }
.hearth-h2 { font-family: var(--font-serif); font-size: 20px; font-weight: 500; color: #2B2520; letter-spacing: -0.015em; }
.hearth-body { font-family: var(--font-sans); font-size: 14px; color: #2B2520; line-height: 1.7; }
.hearth-small { font-family: var(--font-sans); font-size: 12px; color: #7A6F65; }
.atrium-h1 { font-family: var(--font-sans); font-size: 26px; font-weight: 500; color: #0F1E2E; line-height: 1.1; letter-spacing: -0.035em; }
.atrium-h2 { font-family: var(--font-sans); font-size: 18px; font-weight: 500; color: #0F1E2E; letter-spacing: -0.02em; }
.atrium-body { font-family: var(--font-sans); font-size: 14px; color: #0F1E2E; line-height: 1.65; }
.atrium-small { font-family: var(--font-sans); font-size: 12px; color: #5A7080; }

.comp-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.comp-row:last-child { margin-bottom: 0; }
.comp-label { font-size: 10px; color: #bbb; letter-spacing: 0.08em; text-transform: uppercase; width: 100%; }
.btn-h-primary { padding: 10px 20px; background: #C67B5C; color: #fff; border: none; border-radius: 10px; font-size: 14px; font-weight: 600; font-family: var(--font-sans); cursor: default; }
.btn-h-secondary { padding: 10px 20px; background: transparent; color: #C67B5C; border: 2px solid #C67B5C; border-radius: 10px; font-size: 14px; font-weight: 600; font-family: var(--font-sans); cursor: default; }
.btn-a-primary { padding: 10px 20px; background: linear-gradient(135deg, #2B6CB0, #2BB5A4); color: #fff; border: none; border-radius: 6px; font-size: 14px; font-weight: 600; font-family: var(--font-sans); cursor: default; }
.btn-a-secondary { padding: 10px 20px; background: transparent; color: #2B6CB0; border: 1.5px solid #2B6CB0; border-radius: 6px; font-size: 14px; font-weight: 600; font-family: var(--font-sans); cursor: default; }
.eyebrow-h { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #4EC5B5; }
.eyebrow-a { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #2BB5A4; }

.ds-card-h { background: #FFFCF6; border-radius: 14px; padding: 16px; box-shadow: 0 2px 10px rgba(43,37,32,0.07); font-size: 13px; color: #2B2520; }
.ds-card-a { background: #F4F8FB; border: 1px solid #E5EEF5; border-radius: 6px; padding: 16px; font-size: 13px; color: #0F1E2E; }

.mini-modal { border: 1px solid #E0DDD8; border-radius: 10px; overflow: hidden; font-size: 12px; }
.mini-modal-banner { background: #FEF9C3; color: #713F12; font-size: 10px; text-align: center; padding: 5px; }
.mini-modal-body { padding: 12px; }
.mini-bubble-p { background: #F0F0F0; color: #1a1a1a; border-radius: 10px 10px 10px 2px; padding: 7px 10px; font-size: 11px; max-width: 85%; margin-bottom: 6px; }
.mini-bubble-a { background: #4EC5B5; color: #fff; border-radius: 10px 10px 2px 10px; padding: 7px 10px; font-size: 11px; max-width: 85%; margin-left: auto; margin-bottom: 4px; }
.mini-hint-prog { display: flex; gap: 4px; margin-bottom: 8px; }
.mini-hint-dot { flex: 1; height: 3px; border-radius: 2px; background: #E5EEF5; }
.mini-hint-dot.done { background: #4EC5B5; }
.mini-hint-label { font-size: 11px; font-weight: 600; color: #0F1E2E; margin-bottom: 4px; }
.mini-hint-field { background: #F4F8FB; border: 1px solid #E5EEF5; border-radius: 4px; padding: 5px 8px; font-size: 11px; color: #5A7080; margin-bottom: 4px; }
.mini-stripe-hdr { text-align: center; margin-bottom: 8px; }
.mini-stripe-merchant { font-size: 11px; font-weight: 600; color: #0F1E2E; }
.mini-stripe-amount { font-size: 16px; font-weight: 700; color: #0F1E2E; }
.mini-stripe-field { background: #F4F8FB; border: 1px solid #E5EEF5; border-radius: 4px; padding: 5px 8px; font-size: 11px; color: #5A7080; margin-bottom: 4px; }

.logo-sizes { display: flex; gap: 32px; align-items: flex-end; flex-wrap: wrap; }
.logo-sizes .brandmark-name, .logo-sizes .brandmark-sub { font-family: var(--font-serif); }
.logo-sizes .brandmark-name { color: #2B2520; }
.logo-sizes .brandmark-sub { color: #C67B5C; }
.brandmark--lg .brandmark-name, .brandmark--lg .brandmark-sub { font-size: 30px; }
.brandmark--md .brandmark-name, .brandmark--md .brandmark-sub { font-size: 23px; }
.brandmark--sm .brandmark-name, .brandmark--sm .brandmark-sub { font-size: 16px; }
.brandmark--footer .brandmark-name, .brandmark--footer .brandmark-sub { font-family: var(--font-serif); font-size: 23px; }
.brandmark--footer .brandmark-name { color: #fff; }
.brandmark--footer .brandmark-sub { color: #E3A684; }
.logo-size-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.logo-size-label { font-size: 10px; color: #bbb; text-transform: uppercase; letter-spacing: 0.08em; }
