/* Private design-review controls, separate from public product UI. */
.review-toolbar { background: #eef2eb; color: #203a2e; border-bottom: 1px solid #cad4c8; }
.review-toolbar__inner { max-width: 1352px; margin: auto; padding: 12px 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; font: 13px/1.45 Inter,"Segoe UI",Arial,sans-serif; }
.review-toolbar strong { font-weight: 750; }
.review-toolbar a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; color: inherit; }
.review-toolbar__controls { margin-left: auto; display: none; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
html[data-review-ready="true"] .review-toolbar__controls { display: flex; }
.review-toolbar label { display: flex; gap: 8px; align-items: center; }
.review-toolbar select,.review-toolbar button { min-height: 44px; border: 1px solid #86998b; padding: 8px 12px; border-radius: 7px; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.review-toolbar select { width: 190px; max-width: 100%; }
.review-toolbar button:focus-visible,.review-toolbar select:focus-visible { outline: 3px solid #b45b32; outline-offset: 3px; }
.review-toolbar__note { max-width: 1320px; margin: 0 auto; padding: 0 24px 10px; color: inherit; font: 12px/1.6 Inter,"Segoe UI",Arial,sans-serif; }
.brand .preview-brand-icon { width: 44px; height: 44px; display: block; flex: 0 0 44px; }
.brand .preview-wordmark { font-weight: 780; letter-spacing: .015em; }
html[data-site-theme="dark"] .review-toolbar { background: #14251c; color: #c2d2c5; border-color: #314b3a; }
html[data-site-theme="dark"] .review-toolbar select,html[data-site-theme="dark"] .review-toolbar button { border-color: #617d69; }
html[data-site-theme="dark"] .review-toolbar select option { background: #14251c; color: #f5f3e9; }
html[data-site-theme="dark"] .review-toolbar button:focus-visible,html[data-site-theme="dark"] .review-toolbar select:focus-visible { outline-color: #f3c96a; }
.lab-page { --lab-bg: #f8f7f2; --lab-card: #fff; --lab-ink: #18322c; --lab-muted: #53635d; --lab-line: #cbd5ca; background: var(--lab-bg); color: var(--lab-ink); font: 16px/1.6 Inter,"Segoe UI",Arial,sans-serif; margin: 0; }
html[data-site-theme="dark"] .lab-page { --lab-bg: #0b1210; --lab-card: #132219; --lab-ink: #f5f3e9; --lab-muted: #bfcec3; --lab-line: #365241; }
.lab-main { max-width: 1352px; padding: 50px 24px 76px; margin: auto; }
.lab-intro { max-width: 890px; margin-bottom: 30px; }
.lab-intro h1 { margin: 0 0 18px; font-size: clamp(32px,4vw,52px); line-height: 1.05; letter-spacing: -.035em; font-weight: 750; }
.lab-intro p { color: var(--lab-muted); margin: 0 0 16px; max-width: 75ch; }
.lab-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.concept-card { min-width: 0; background: var(--lab-card); border: 1px solid var(--lab-line); border-radius: 12px; overflow: hidden; }
.concept-card header { display: flex; align-items: center; gap: 12px; padding: 16px 20px 0; }
.concept-id { font-size: 13px; font-weight: 750; color: var(--lab-muted); font-variant-numeric: tabular-nums; }
.concept-card h2 { font-size: 19px; letter-spacing: -.02em; margin: 0; line-height: 1.3; }
.concept-display { display: grid; place-items: center; min-height: 206px; padding: 16px 24px 22px; }
.concept-display img { width: 134px; height: 134px; }
.concept-wordmark { font-weight: 780; font-size: 28px; letter-spacing: .015em; line-height: 1.2; }
.concept-variants { display: flex; min-height: 90px; margin: 0 20px; border: 1px solid var(--lab-line); border-radius: 7px; overflow: hidden; }
.concept-swatch { flex: 1; display: grid; place-items: center; padding: 8px; font-size: 10px; gap: 2px; }
.concept-swatch img { width: 50px; height: 50px; }
.concept-swatch--light { background: #f8f7f2; color: #18322c; }
.concept-swatch--dark { background: #0b1210; color: #f5f3e9; }
.concept-swatch--mono { background: #fff; color: #111; }
.concept-copy { padding: 20px; }
.concept-copy p { color: var(--lab-muted); margin: 0 0 14px; font-size: 14px; line-height: 1.6; }
.concept-copy .concept-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.concept-actions a { display: inline-flex; align-items: center; min-height: 44px; color: var(--lab-ink); font-size: 13px; font-weight: 700; text-underline-offset: 4px; }
.concept-actions .try-mark { background: #f3c96a; color: #0b1210; text-decoration: none; padding: 6px 12px; border-radius: 6px; }
.concept-actions a:focus-visible { outline: 3px solid #ed9468; outline-offset: 3px; }
.concept-sizes { display: flex; gap: 18px; align-items: center; min-height: 76px; border-top: 1px solid var(--lab-line); padding-top: 14px; }
.concept-sizes span { font-size: 11px; color: var(--lab-muted); display: grid; place-items: center; gap: 4px; }
.concept-sizes img { display: block; }
.concept-caution { padding: 8px 10px; border-left: 2px solid #c98c60; background: rgba(127,127,100,.07); font-size: 12px !important; }
.lab-footnote { margin: 32px 0 0; color: var(--lab-muted); font-size: 13px; }
.book-body { font: 14px/1.5 Inter,"Segoe UI",Arial,sans-serif; color: #18322c; margin: 0; background: #fff; }
.book-page { padding: 12mm 16mm; height: 297mm; box-sizing: border-box; break-after: page; }
.book-page:last-child { break-after: auto; }
.book-header { display: flex; justify-content: space-between; border-bottom: 1px solid #bbcabc; padding-bottom: 5mm; margin-bottom: 4mm; }
.book-header h1 { font-size: 18px; margin: 0; }
.book-header span { font-size: 11px; }
.book-concept { display: grid; grid-template-columns: 52mm 1fr; gap: 10mm; align-items: center; height: 76mm; border-bottom: 1px solid #dbe0d7; }
.book-mark { width: 49mm; height: 49mm; display: grid; place-items: center; background: #0b1210; border-radius: 6mm; }
.book-mark img { width: 38mm; height: 38mm; }
.book-concept h2 { font-size: 18px; margin: 0 0 2mm; }
.book-concept p { font-size: 11px; line-height: 1.5; margin: 0 0 2mm; }
.book-sizes { display: flex; align-items: center; gap: 4mm; height: 15mm; }
.book-note { font-size: 10px; margin-top: 5mm; }
@media(max-width: 1080px) { .lab-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 660px) { .lab-grid { grid-template-columns: 1fr; } .review-toolbar__controls { margin-left: 0; } .lab-main { padding: 30px 16px 50px; } .review-toolbar__inner { padding: 10px 16px; gap: 8px 14px; } .review-toolbar label { flex-wrap: wrap; } }
@media print { @page { size: A4 portrait; margin: 0; } .book-page { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
.walkthrough-controls { display: grid; grid-template-columns: auto minmax(80px,1fr) auto auto; gap: 8px 14px; align-items: center; padding: 10px 14px; border-top: 1px solid #365241; background: #132219; color: #f5f3e9; font: 14px/1.4 Inter,"Segoe UI",Arial,sans-serif; }
.walkthrough-controls button { min-height: 44px; min-width: 68px; border: 1px solid #9db4a5; border-radius: 6px; background: transparent; color: inherit; padding: 8px 12px; font: inherit; cursor: pointer; }
.walkthrough-controls [data-walkthrough-play] { background: #f3c96a; color: #0b1210; border-color: #f3c96a; font-weight: 700; }
.walkthrough-controls input { width: 100%; min-width: 0; min-height: 44px; accent-color: #f3c96a; }
.walkthrough-controls :focus-visible { outline: 3px solid #f3c96a; outline-offset: 2px; }
.walkthrough-time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.walkthrough-controls .walkthrough-error { grid-column: 1 / -1; margin: 0; color: #f5f3e9; }
.walkthrough-controls [hidden] { display: none; }
@media(max-width:600px) { .walkthrough-controls { grid-template-columns: auto minmax(0,1fr) auto; gap: 4px 8px; padding: 8px 12px; } .walkthrough-controls input { grid-column: 1 / -1; grid-row: 2; } .walkthrough-time { grid-column: 2; grid-row: 1; text-align: center; } .walkthrough-controls [data-walkthrough-mute] { grid-column: 3; grid-row: 1; } }
