/* PrintMe Medius - light theme only. Brand: #10395B / #4EA5D9 / #8FD6C6 */
:root {
  --ocean: #10395B; --ocean-2: #0F4C81; --sky: #4EA5D9; --mint: #8FD6C6;
  --bg: #F6F9FC; --surface: #FFFFFF; --tint: #EEF4FA;
  --ink: #0B2540; --muted: #5B6E82; --line: #E1E9F1;
  --ic-1: #10395B; --ic-2: #4EA5D9; --ic-3: #8FD6C6;
  --r: 16px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(16,57,91,.06), 0 8px 24px rgba(16,57,91,.07);
  --shadow-lg: 0 2px 4px rgba(16,57,91,.06), 0 24px 60px rgba(16,57,91,.14);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg, canvas { max-width: 100%; }
a { color: var(--ocean-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--ocean); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 650; display: flex; align-items: center; gap: .5rem; }
p { margin: 0 0 1em; }
code { background: var(--tint); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 640px; }
.center { text-align: center; }
.muted { color: var(--muted); } .small { font-size: .85rem; }
.mt { margin-top: 2rem; } .mt-sm { margin-top: .9rem; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 99; }
.pm-icon { flex: none; vertical-align: middle; }
.pm-icon .ic-1 { stroke: var(--ic-1); } .pm-icon .ic-2 { stroke: var(--ic-2); } .pm-icon .ic-3 { stroke: var(--ic-3); }
.flip { transform: scaleX(-1); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--sky) 60%, transparent); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; color: var(--ocean); } .brand:hover { text-decoration: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-weight: 700; letter-spacing: .14em; font-size: 1.1rem; color: var(--ocean); }
.logo-sub { font-size: .6rem; letter-spacing: .5em; color: var(--muted); margin-top: 4px; }
.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink); font-weight: 500; font-size: .95rem; }
.main-nav a:hover { background: var(--tint); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ocean); padding: 6px; cursor: pointer; }
.header-cta { display: flex; align-items: center; gap: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; padding: 11px 20px; font: inherit; font-weight: 600; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; text-decoration: none !important; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--ocean), var(--ocean-2)); color: #fff; box-shadow: 0 6px 18px rgba(16,57,91,.28); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(16,57,91,.35); transform: translateY(-1px); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ocean); }
.btn-ghost:hover { border-color: var(--sky); }
.btn-light { background: #fff; color: var(--ocean); }
.btn-sm { padding: 8px 14px; font-size: .88rem; } .btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; } .btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; } .btn-row.center { justify-content: center; }

/* Sections */
.section { padding: 84px 0; } .section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; } .section-head.left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--sky); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Hero */
.hero { padding: 70px 0 40px; background: radial-gradient(900px 480px at 85% 0%, rgba(78,165,217,.22), transparent 60%), radial-gradient(700px 420px at 0% 100%, rgba(143,214,198,.25), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy h1 { background: linear-gradient(120deg, var(--ocean) 30%, var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .92rem; }
.hero-facts li { display: flex; align-items: center; gap: 6px; } .hero-facts .pm-icon { color: var(--mint); stroke-width: 2.5; }
.hero-stage { position: relative; }
.hero-card { background: linear-gradient(160deg, #fff, var(--tint)); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); padding: 14px; }
.hero-canvas { width: 100%; aspect-ratio: 1 / 1; display: block; cursor: grab; touch-action: none; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 6px 0 4px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ocean); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.chip.is-on { background: var(--ocean); color: #fff; border-color: var(--ocean); }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.float-card div { display: flex; flex-direction: column; line-height: 1.2; font-size: .85rem; } .float-card span { color: var(--muted); font-size: .75rem; }
.fc-1 { left: -18px; top: 18%; } .fc-2 { right: -14px; bottom: 16%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Cards and grids */
.grid { display: grid; gap: 20px; } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-5 { grid-template-columns: repeat(5, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.card p { color: var(--muted); font-size: .94rem; margin-bottom: 0; }
.card-ic, .step-ic, .big-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--ocean); margin-bottom: 14px; }
.big-ic { width: 72px; height: 72px; border-radius: 50%; background: color-mix(in srgb, var(--mint) 35%, #fff); margin-bottom: 18px; }
.option-card { display: block; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; } .option-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--sky); text-decoration: none; }
.card-cta { background: linear-gradient(135deg, var(--ocean), var(--ocean-2)); color: #fff; text-decoration: none !important; } .card-cta h3, .card-cta p { color: #fff; } .card-cta p { opacity: .85; } .card-cta .link { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; font-weight: 600; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.step-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 20px; box-shadow: var(--shadow); }
.step-card h3 { margin-bottom: .3em; } .step-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.step-n { position: absolute; top: 16px; right: 18px; font-weight: 700; color: var(--line); font-size: 1.6rem; }
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gallery-item { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.gallery-item canvas { width: 100%; aspect-ratio: 1; display: block; background: linear-gradient(160deg, #fff, var(--tint)); }
.gallery-item figcaption { display: flex; flex-direction: column; padding: 14px 16px; font-size: .9rem; } .gallery-item figcaption span { color: var(--muted); font-size: .82rem; }
.cta-band { background: linear-gradient(135deg, var(--ocean), var(--ocean-2) 60%, #1a6aa8); color: #fff; border-radius: 28px; padding: 64px 32px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; } .cta-band p { opacity: .85; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; } .reveal.in { opacity: 1; transform: none; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
.footer-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); } .footer-grid a { display: block; color: var(--ink); padding: 3px 0; }
.footer-bottom { padding: 24px 0; margin-top: 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* Forms */
.label { display: block; font-size: .85rem; font-weight: 600; color: var(--ocean); margin-bottom: 6px; }
h3.label { font-size: .9rem; }
.input { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); font: inherit; background: #fff; color: var(--ink); }
.input.sm { padding: 6px 10px; width: auto; } .input:focus { border-color: var(--sky); outline: 3px solid rgba(78,165,217,.2); }
input[type=range] { width: 100%; accent-color: var(--sky); }
.range-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; }
.alert { background: #FFF4E5; border: 1px solid #F5D9A8; color: #7A4B00; padding: 12px 16px; border-radius: var(--r-sm); margin-bottom: 14px; } .alert.ok { background: #E8F7F2; border-color: var(--mint); color: #0B5B46; }
.note { display: flex; gap: 8px; align-items: center; background: var(--tint); padding: 12px 14px; border-radius: var(--r-sm); color: var(--muted); font-size: .9rem; }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.inline-form { margin: 0; } .color-pick { display: flex; gap: 10px; align-items: center; } .color-pick input { width: 44px; height: 36px; border: 1px solid var(--line); border-radius: 8px; padding: 2px; background: #fff; }

/* Wizard */
.stepper { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 28px; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: .88rem; font-weight: 600; }
.stepper .dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); font-size: .78rem; }
.stepper li.active { color: var(--ocean); border-color: var(--sky); } .stepper li.active .dot { background: var(--ocean); color: #fff; }
.stepper li.done .dot { background: var(--mint); color: var(--ocean); }
.wizard-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.panel[hidden] { display: none; }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 18px; }
.sticky { position: sticky; top: 90px; } .price-big { font-size: 2.2rem; font-weight: 750; color: var(--ocean); letter-spacing: -.03em; }
.mini-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: .88rem; margin: 12px 0 0; } .mini-dl dt { color: var(--muted); display: flex; gap: 6px; align-items: center; } .mini-dl dd { margin: 0; text-align: right; font-weight: 600; }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 38px 20px; margin: 18px 0; border: 2px dashed #B9D3E6; border-radius: var(--r); background: linear-gradient(180deg, #fff, var(--tint)); color: var(--ocean); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone span { color: var(--muted); font-size: .9rem; } .dropzone:hover, .dropzone.over { border-color: var(--sky); background: #EAF4FB; }
.file-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.file-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.file-row .meta { font-size: .78rem; color: var(--muted); } .file-row.err { border-color: #F2B8B5; background: #FEF3F2; } .file-row .msg { font-size: .8rem; color: #B42318; }
.bar { height: 6px; background: var(--tint); border-radius: 99px; overflow: hidden; margin-top: 6px; } .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sky), var(--mint)); transition: width .15s; }
.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); } .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); cursor: pointer; display: grid; place-items: center; color: var(--ocean); }
.thumb .bar { position: absolute; left: 6px; right: 6px; bottom: 6px; margin: 0; }
.palette-strip { display: flex; height: 44px; border-radius: 12px; overflow: hidden; margin-top: 16px; border: 1px solid var(--line); } .palette-strip span { flex: 1; }
.compact .card, .option { padding: 16px; }
.opt { text-align: left; cursor: pointer; font: inherit; color: inherit; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, box-shadow .15s; }
.opt:hover { border-color: #B9D3E6; } .opt.on { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(78,165,217,.18); }
.opt b { color: var(--ocean); font-size: .95rem; } .opt span { color: var(--muted); font-size: .82rem; line-height: 1.4; } .opt .tag { display: inline-block; width: fit-content; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--tint); color: var(--ocean-2); padding: 2px 8px; border-radius: 99px; }
.opt .tag.rec { background: color-mix(in srgb, var(--mint) 45%, #fff); } .opt[disabled] { opacity: .55; cursor: not-allowed; }
.opt .price { font-weight: 700; color: var(--ocean); font-size: .85rem; } .opt ul { margin: 0; padding-left: 16px; color: var(--muted); font-size: .8rem; }
.config-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; } .seg button { display: inline-flex; gap: 6px; align-items: center; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--ocean); } .seg button.on { background: var(--ocean); color: #fff; border-color: var(--ocean); } .seg button.on .pm-icon * { stroke: #fff; }
.preview-box { border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(160deg, #fff, var(--tint)); } .preview-box canvas { width: 100%; aspect-ratio: 4/3; display: block; cursor: grab; touch-action: none; }
.preview-meta { display: flex; justify-content: space-between; padding: 8px 14px 12px; color: var(--muted); font-size: .82rem; } .preview-meta span { display: inline-flex; gap: 6px; align-items: center; }

/* Colour lab */
.color-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.ccard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.ccard .sw-big { height: 110px; } .ccard .body { padding: 12px 14px; font-size: .82rem; } .ccard b { display: block; font-size: 1rem; color: var(--ocean); letter-spacing: .02em; }
.ccard dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; margin: 8px 0 0; } .ccard dt { color: var(--muted); } .ccard dd { margin: 0; text-align: right; font-weight: 600; }
.score { height: 5px; background: var(--tint); border-radius: 9px; margin-top: 8px; overflow: hidden; } .score i { display: block; height: 100%; background: var(--sky); }
.recipes { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.recipe { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.recipe-top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.pair { display: flex; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); width: 92px; height: 56px; flex: none; } .pair span { flex: 1; }
.recipe h4 { margin: 0; font-size: 1rem; } .recipe small { color: var(--muted); }
.mixbar { display: flex; height: 22px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); margin: 10px 0; } .mixbar.sm { height: 10px; margin: 6px 0; } .mixbar span { display: block; }
.ings { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .88rem; } .ings li { display: grid; grid-template-columns: 18px 1fr auto auto; gap: 10px; align-items: center; } .ings .ml { color: var(--muted); font-size: .8rem; }
.sw { display: inline-block; width: 18px; height: 18px; border-radius: 6px; border: 1px solid rgba(16,57,91,.15); vertical-align: middle; } .sw.lg { width: 36px; height: 36px; border-radius: 10px; }
.mixer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.mixer { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: .88rem; cursor: pointer; } .mixer small { display: block; color: var(--muted); font-size: .72rem; } .mixer.on { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(78,165,217,.18); } .mixer input { display: none; }
.mixer-grid.static .mixer { cursor: default; }
.sheet-frame { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #E8EEF4; } .sheet-frame iframe { width: 100%; height: 760px; border: 0; display: block; }

/* Review / price */
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.price-table { width: 100%; border-collapse: collapse; font-size: .92rem; } .price-table td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; } .price-table td:last-child { text-align: right; font-weight: 600; white-space: nowrap; } .price-table small { display: block; color: var(--muted); font-weight: 400; }
.price-table tr.total td { border: 0; font-size: 1.25rem; font-weight: 750; color: var(--ocean); padding-top: 14px; } .price-table tr.sub td { font-weight: 700; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: .92rem; margin: 0; } .kv dt { color: var(--muted); } .kv dd { margin: 0; text-align: right; font-weight: 600; }
.checkout-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }

/* Viewer */
.viewer-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.viewer-box { position: relative; background: linear-gradient(160deg, #fff, var(--tint)); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.viewer-box canvas { width: 100%; height: 560px; display: block; cursor: grab; touch-action: none; }
.viewer-tools { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 12px; padding: 6px; }
.tool { min-width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 8px; cursor: pointer; color: var(--ocean); font: inherit; font-size: .82rem; font-weight: 600; padding: 0 8px; } .tool:hover { background: var(--tint); } .tool[aria-pressed=true] { background: var(--ocean); color: #fff; }
.viewer-hint { position: absolute; bottom: 10px; left: 16px; margin: 0; font-size: .78rem; color: var(--muted); }

/* Dashboard / admin */
.stats .stat { display: flex; flex-direction: column; gap: 2px; color: var(--ocean); } .stat b { font-size: 1.9rem; letter-spacing: -.03em; } .stat span { color: var(--muted); font-size: .85rem; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.table-wrap { overflow-x: auto; } .table { width: 100%; border-collapse: collapse; font-size: .9rem; } .table th { text-align: left; color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; padding: 8px 10px; border-bottom: 1px solid var(--line); } .table td { padding: 10px; border-bottom: 1px solid var(--line); } .table.compact td, .table.compact th { padding: 5px 8px; }
.pill { display: inline-block; background: var(--tint); color: var(--ocean-2); border-radius: 99px; padding: 2px 10px; font-size: .76rem; font-weight: 700; text-transform: capitalize; }
.recipe-row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: flex-start; } .recipe-row > div { flex: 1; }
.fav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 12px; } .fav { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; } .fav small { color: var(--muted); }
.dl-row { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.admin { background: var(--bg); } .admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: #fff; border-right: 1px solid var(--line); padding: 22px 16px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 0; height: 100vh; }
.admin-side nav { display: flex; flex-direction: column; gap: 2px; flex: 1; } .admin-side nav a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: .92rem; font-weight: 500; } .admin-side nav a:hover { background: var(--tint); text-decoration: none; } .admin-side nav a.on { background: var(--ocean); color: #fff; }
.admin-main { padding: 32px; } .admin-main h1 { font-size: 1.8rem; }
.login-card { text-align: center; } .login-card form { text-align: left; }

/* Printable sheet */
.sheet-body { background: #E8EEF4; } .sheet-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; font-weight: 600; color: var(--ocean); }
.sheet { width: 210mm; min-height: 297mm; margin: 18px auto; background: #fff; padding: 14mm; box-shadow: var(--shadow); page-break-after: always; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--ocean); padding-bottom: 10px; margin-bottom: 14px; } .sheet-head div { text-align: right; display: flex; flex-direction: column; font-size: .8rem; color: var(--muted); } .sheet-head b { color: var(--ocean); font-size: 1rem; }
.sheet-colour { display: grid; grid-template-columns: 38mm 1fr 34mm; grid-template-rows: auto auto; gap: 8mm; padding: 6mm 0; border-bottom: 1px dashed var(--line); }
.sc-swatch { grid-row: span 2; border-radius: 10px; border: 1px solid var(--line); display: flex; align-items: flex-end; min-height: 52mm; } .sc-swatch span { background: rgba(255,255,255,.92); width: 100%; padding: 4px 8px; font-weight: 700; font-size: .8rem; border-radius: 0 0 10px 10px; }
.sc-body h3 { margin-bottom: .2em; } .sc-body h3 small { color: var(--muted); font-weight: 500; font-size: .75rem; }
.sc-test { text-align: center; font-size: .72rem; color: var(--muted); } .test-sq { width: 28mm; height: 28mm; border: 2px dashed #9DB5C8; border-radius: 6px; margin: 0 auto 4px; }
.sc-notes { grid-column: 2 / 4; font-size: .72rem; color: var(--muted); } .sc-notes i { display: block; border-bottom: 1px solid var(--line); height: 7mm; }
.sheet-body.is-embed { background: #E8EEF4; } .sheet-body.is-embed .sheet { margin: 10px auto; transform-origin: top center; }

@media print {
  .no-print, .sheet-bar { display: none !important; }
  .sheet-body { background: #fff; } .sheet { margin: 0; box-shadow: none; width: auto; min-height: 0; padding: 0; }
  @page { size: A4; margin: 12mm; }
}

@media (max-width: 1060px) {
  .grid-5, .gallery, .color-cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .wizard-grid, .viewer-layout, .checkout-grid, .review-grid, .config-grid, .dash-grid { grid-template-columns: 1fr; }
  .sticky { position: static; } .fc-1 { left: 0; } .fc-2 { right: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-grid; } .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 16px; margin: 0; } .main-nav.open { display: flex; }
  .header-cta .btn { display: none; }
  .section { padding: 56px 0; } .grid-3, .grid-4, .grid-5, .gallery, .steps, .color-cards { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; } .admin-side { position: static; height: auto; } .viewer-box canvas { height: 380px; }
  .panel { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }
