:root {
--bg: #FAF7F2;
--surface: #FFFFFF;
--surface-2: #F3EEE6;
--ink: #1F1D1A;
--muted: #6B655D;
--line: rgb(31 29 26 / 0.12);
--accent: #B4583A;
--accent-ink: #FFFFFF;
--accent-soft: rgb(180 88 58 / 0.12);
--danger: #B3261E;
--stage: #E9E3D9;
--shadow-sm: 0 1px 2px rgb(31 29 26 / 0.08), 0 0 0 1px rgb(31 29 26 / 0.06);
--shadow-md: 0 8px 24px rgb(31 29 26 / 0.12), 0 1px 3px rgb(31 29 26 / 0.08);
--radius: 14px;
--panel-w: 348px;
--topbar-h: 56px;
--site-h: 0px;
--ease: cubic-bezier(0.2, 0, 0, 1);
color-scheme: light;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--bg: #17150F;
--surface: #211E18;
--surface-2: #2A261F;
--ink: #F2EDE4;
--muted: #ABA396;
--line: rgb(242 237 228 / 0.12);
--accent: #E08A67;
--accent-ink: #1B1410;
--accent-soft: rgb(224 138 103 / 0.16);
--danger: #F2B8B5;
--stage: #0F0E0B;
--shadow-sm: 0 0 0 1px rgb(255 255 255 / 0.08);
--shadow-md: 0 8px 24px rgb(0 0 0 / 0.5), 0 0 0 1px rgb(255 255 255 / 0.06);
color-scheme: dark;
}
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
margin: 0;
background: var(--bg);
color: var(--ink);
font: 100%/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
-webkit-font-smoothing: antialiased;
-webkit-tap-highlight-color: transparent;
}
[hidden] { display: none !important; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
a { color: var(--accent); }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.grow { flex: 1; min-width: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--surface); padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-md); }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } .btn {
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
min-height: 44px; padding: 0 20px;
border: 0; border-radius: 999px;
font: inherit; font-weight: 600; font-size: 0.95rem;
color: var(--ink); background: var(--surface-2);
cursor: pointer; text-decoration: none; white-space: nowrap;
transition-property: scale, background-color, box-shadow; transition-duration: 150ms; transition-timing-function: var(--ease);
}
.btn:active { scale: 0.96; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in oklab, var(--accent) 88%, black); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger-ghost { background: transparent; color: var(--danger); }
.btn-compact { min-height: 40px; padding: 0 14px; font-size: 0.875rem; }
.btn-large { min-height: 52px; padding: 0 26px; font-size: 1.02rem; }
.btn.wide { width: 100%; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.file-btn:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.icon-btn {
display: inline-grid; place-items: center;
width: 44px; height: 44px; border: 0; border-radius: 999px;
background: transparent; color: var(--ink); cursor: pointer;
transition-property: scale, background-color; transition-duration: 150ms; transition-timing-function: var(--ease);
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:active { scale: 0.96; }
.icon-btn:disabled { opacity: 0.35; cursor: default; }
.icon-btn.float { background: var(--surface); box-shadow: var(--shadow-md); } .topbar {
position: sticky; top: 0; z-index: 20;
height: calc(var(--topbar-h) + env(safe-area-inset-top));
padding: env(safe-area-inset-top) max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
display: flex; align-items: center; justify-content: space-between; gap: 8px;
background: color-mix(in oklab, var(--bg) 88%, transparent);
backdrop-filter: blur(16px) saturate(160%);
-webkit-backdrop-filter: blur(16px) saturate(160%);
border-bottom: 1px solid var(--line);
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 4px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; padding: 4px; border-radius: 12px; }
.brand-mark { width: 32px; height: 32px; stroke: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1rem; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.75rem; color: var(--muted); }
.doc-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left: 4px; }
body.is-editing .brand-text { display: none; } .home { max-width: 1040px; margin: 0 auto; padding: 32px max(16px, env(safe-area-inset-left)) 48px; }
.hero { padding: 24px 0 8px; max-width: 680px; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 14px; }
.lead { font-size: 1.125rem; color: var(--muted); margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.hint { font-size: 0.875rem; color: var(--muted); margin: 6px 0 0; }
.home-block { margin-top: 40px; }
.block-head h2, .steps h2 { font-size: 1.15rem; letter-spacing: -0.01em; margin: 0 0 14px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.card {
position: relative; display: flex; flex-direction: column; gap: 8px;
padding: 10px; border: 0; border-radius: 18px; text-align: left;
background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink);
font: inherit; cursor: pointer;
transition-property: scale, box-shadow; transition-duration: 150ms; transition-timing-function: var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); }
.card:active { scale: 0.98; }
.card img, .card canvas { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: #fff; border-radius: 8px; outline: 1px solid oklch(0 0 0 / 0.1); outline-offset: -1px; }
.card-title { font-weight: 600; font-size: 0.95rem; padding: 0 4px; }
.card-sub { font-size: 0.8rem; color: var(--muted); padding: 0 4px 2px; margin-top: -6px; }
.steps ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); box-shadow: var(--shadow-sm); border-radius: 18px; padding: 18px 18px 18px 60px; position: relative; color: var(--muted); }
.steps li strong { color: var(--ink); display: block; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 0.9rem; }
.home-foot { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.95rem; }
.home-foot p { margin: 4px 0; } body.is-editing { overflow: hidden; overscroll-behavior: none; }
.editor {
position: fixed; inset: calc(var(--topbar-h) + var(--site-h) + env(safe-area-inset-top)) 0 0 0;
display: grid; grid-template-columns: minmax(0, 1fr) var(--panel-w);
}
.stage { position: relative; overflow: hidden; background: var(--stage); touch-action: none; cursor: crosshair; user-select: none; -webkit-user-select: none; }
.stage.panning { cursor: grabbing; }
.stage canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; background: #fff; box-shadow: 0 2px 18px rgb(0 0 0 / 0.14); image-rendering: auto; }
.zoom-controls { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; }
.busy { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; background: color-mix(in oklab, var(--stage) 70%, transparent); font-weight: 600; }
.spinner { width: 30px; height: 30px; border-radius: 999px; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.panel { background: var(--surface); border-left: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain; }
.panel-inner { padding: 16px 16px 28px; display: flex; flex-direction: column; gap: 16px; }
.sheet-grab { display: none; }
.row { display: flex; gap: 6px; }
.tools { background: var(--surface-2); border-radius: 999px; padding: 4px; }
.seg {
flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
min-height: 38px; border: 0; border-radius: 999px; background: transparent; color: var(--muted);
font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer;
transition-property: background-color, color, box-shadow; transition-duration: 150ms;
}
.seg svg { width: 18px; height: 18px; }
.seg[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.current { display: flex; align-items: center; gap: 12px; }
.current-swatch { position: relative; width: 52px; height: 52px; border-radius: 16px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12); cursor: pointer; flex: none; }
.current-swatch input, .mini-swatch input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; border: 0; padding: 0; }
.current-swatch:focus-within, .mini-swatch:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.current-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.current-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.current-hex { font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; min-height: 40px; border: 0; background: transparent; font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.pane { display: flex; flex-direction: column; gap: 12px; }
.pane p { margin: 0; }
.palette { display: flex; flex-direction: column; gap: 6px; }
.palette-name { font-size: 0.8rem; font-weight: 600; color: var(--muted); display: flex; justify-content: space-between; }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.swatches.markers { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.sw {
position: relative; aspect-ratio: 1; min-height: 36px; border: 0; border-radius: 10px; cursor: pointer;
box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12);
transition-property: scale, box-shadow; transition-duration: 120ms; transition-timing-function: var(--ease);
}
.sw:active { scale: 0.94; }
.sw[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12), 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.sw-marker { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 8px 4px 4px; border-radius: 12px; border: 0; background: var(--surface-2); font: inherit; font-size: 0.8rem; font-weight: 600; color: var(--ink); cursor: pointer; text-align: left; }
.sw-marker .dot { width: 30px; height: 30px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12); flex: none; }
.sw-marker .code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.sw-marker[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.sw-remove { width: 28px; height: 28px; margin: -4px -4px -4px 0; border-radius: 999px; display: grid; place-items: center; color: var(--muted); }
.sw-remove svg { width: 14px; height: 14px; }
.used-item { display: flex; flex-direction: column; gap: 2px; font-size: 0.72rem; color: var(--muted); text-align: center; }
.marker-form { display: flex; align-items: center; gap: 8px; }
.marker-form input[type="text"], .field input[type="text"] {
width: 100%; min-height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line);
background: var(--bg); color: var(--ink); font: inherit; font-size: 16px;
}
.mini-swatch { position: relative; width: 40px; height: 40px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12); flex: none; cursor: pointer; background: var(--surface-2); }
.variants { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.variants-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.label { font-weight: 600; font-size: 0.9rem; }
.variant-row { display: flex; gap: 8px; flex-wrap: wrap; }
.variant {
display: flex; flex-direction: column; align-items: center; gap: 4px; width: 64px; padding: 4px; border: 0; border-radius: 12px;
background: transparent; font: inherit; font-size: 0.8rem; font-weight: 600; color: var(--muted); cursor: pointer;
}
.variant canvas { width: 56px; height: 72px; border-radius: 6px; background: #fff; box-shadow: var(--shadow-sm); }
.variant[aria-selected="true"] { color: var(--ink); background: var(--accent-soft); }
.variant-add { justify-content: center; height: 100px; box-shadow: inset 0 0 0 1px var(--line); }
.variant-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.empty { text-align: center; padding: 8px 0; } .dock { display: none; } .toast {
position: fixed; left: 50%; bottom: 24px; z-index: 60; translate: -50% 12px;
background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
opacity: 0; pointer-events: none; transition-property: opacity, translate; transition-duration: 200ms; transition-timing-function: var(--ease);
max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; translate: -50% 0; } dialog { border: 0; padding: 0; border-radius: 22px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-md); width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); }
dialog::backdrop { background: rgb(20 18 14 / 0.45); }
.dlg { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 16px; }
.dlg-wide { width: 100%; }
#dlg-swatch { width: min(640px, calc(100vw - 24px)); }
.dlg-head { display: flex; align-items: center; justify-content: space-between; margin-right: -10px; }
.dlg-head h2 { font-size: 1.15rem; margin: 0; }
.dlg p { margin: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-weight: 600; font-size: 0.9rem; display: flex; justify-content: space-between; }
.field em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.field small { font-size: 0.8rem; }
input[type="range"] { width: 100%; accent-color: var(--accent); min-height: 32px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin: 1px 0 0; flex: none; }
.dlg-foot { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pdf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; max-height: 60dvh; overflow: auto; }
.pdf-grid button { border: 0; background: var(--surface-2); border-radius: 12px; padding: 6px; font: inherit; font-size: 0.8rem; cursor: pointer; color: var(--ink); }
.pdf-grid canvas { width: 100%; background: #fff; border-radius: 6px; display: block; margin-bottom: 4px; }
.swatch-photo { border-radius: 14px; overflow: hidden; background: var(--surface-2); min-height: 120px; display: grid; place-items: center; }
.swatch-photo canvas { max-width: 100%; max-height: 52dvh; display: block; cursor: crosshair; touch-action: manipulation; } @media (max-width: 899px) {
:root { --topbar-h: 52px; }
.desk-only { display: none; }
.btn-compact span { display: inline; }
#btn-print span { display: none; }
#btn-print { width: 44px; padding: 0; }
.editor { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
.zoom-controls { bottom: 12px; right: 12px; }
.zoom-controls #btn-zin, .zoom-controls #btn-zout { display: none; }
.dock {
display: flex; flex-direction: column; gap: 8px;
padding: 8px max(10px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));
background: var(--surface); border-top: 1px solid var(--line); z-index: 5; min-width: 0;
}
.dock-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.dock-strip::-webkit-scrollbar { display: none; }
.dock-strip .sw { width: 40px; height: 40px; flex: none; }
.dock-row { display: flex; align-items: center; gap: 4px; }
.dock-tool { width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--surface-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.dock-colors {
margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 6px;
border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font: inherit; font-weight: 600; cursor: pointer;
}
.dock-chip { width: 32px; height: 32px; border-radius: 999px; box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.5); }
.panel {
position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
max-height: 72dvh; border-left: 0; border-radius: 22px 22px 0 0; box-shadow: var(--shadow-md);
translate: 0 105%; visibility: hidden;
transition-property: translate, visibility; transition-duration: 280ms; transition-timing-function: var(--ease);
padding-bottom: env(safe-area-inset-bottom);
}
.panel.open { translate: 0 0; visibility: visible; }
.sheet-grab { display: flex; justify-content: center; padding: 10px 0 2px; position: sticky; top: 0; background: var(--surface); z-index: 1; cursor: pointer; }
.sheet-grab span { width: 40px; height: 5px; border-radius: 999px; background: var(--line); }
.panel-inner { padding-top: 8px; }
.toast { bottom: calc(130px + env(safe-area-inset-bottom)); }
.home { padding-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { transition-duration: 0.01ms !important; }
.panel { transition-property: opacity, visibility; opacity: 0; translate: 0 0; }
.panel.open { opacity: 1; }
.spinner { animation-duration: 2s; }
}
@media (prefers-reduced-transparency: reduce) {
.topbar { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
} #print-root { display: none; } .sitenav { background: #ebe4d8; color: #222; font-size: 0.86rem; position: relative; z-index: 30; }
.sitenav-in { max-width: 1290px; margin: 0 auto; min-height: 56px; padding: 0 max(16px, env(safe-area-inset-left)); display: flex; align-items: center; gap: 28px; }
.sitenav-logo { flex: none; width: 122px; height: 24px; background: url(//pngdiy.com/wp-content/plugins/pngdiy-color-planner/app/icons/site-logo.png) left center / contain no-repeat; border-radius: 4px; }
.sitenav-menu ul { list-style: none; margin: 0; padding: 0; }
.sitenav-menu > ul { display: flex; align-items: center; gap: 2px; }
.sitenav-menu a { display: block; padding: 10px 12px; color: #222; text-decoration: none; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; border-radius: 8px; }
.sitenav-menu a:hover, .sitenav-menu a[aria-current="page"] { color: #047884; }
.sitenav-menu a:focus-visible, .sitenav-toggle:focus-visible, .sitenav-logo:focus-visible, .sitefoot a:focus-visible { outline: 2px solid #047884; outline-offset: 2px; }
.sitenav-menu .has-sub { position: relative; }
.sitenav-menu .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; translate: 0 -3px; }
.sitenav-menu .has-sub > ul { position: absolute; left: 0; top: 100%; min-width: 200px; padding: 6px; background: #222; border-radius: 10px; box-shadow: 0 8px 24px rgb(0 0 0 / 0.18); display: none; }
.sitenav-menu .has-sub:hover > ul, .sitenav-menu .has-sub:focus-within > ul { display: block; }
.sitenav-menu .has-sub > ul a { color: #fff; text-transform: none; letter-spacing: 0; font-size: 0.92rem; }
.sitenav-menu .has-sub > ul a:hover, .sitenav-menu .has-sub > ul a[aria-current="page"] { background: #047884; color: #fff; }
.sitenav-toggle { display: none; margin-left: auto; min-height: 40px; padding: 0 16px; border: 1px solid rgb(34 34 34 / 0.3); border-radius: 999px; background: transparent; color: #222; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 899px) {
.sitenav-in { min-height: 52px; gap: 12px; flex-wrap: wrap; }
.sitenav-toggle { display: inline-flex; align-items: center; }
.sitenav-menu { display: none; flex-basis: 100%; padding: 0 0 12px; }
.sitenav.open .sitenav-menu { display: block; }
.sitenav-menu > ul { flex-direction: column; align-items: stretch; gap: 0; }
.sitenav-menu a { padding: 11px 4px; }
.sitenav-menu .has-sub > a::after { display: none; }
.sitenav-menu .has-sub > ul { position: static; display: block; min-width: 0; padding: 0 0 0 16px; background: transparent; box-shadow: none; }
.sitenav-menu .has-sub > ul a { color: #222; }
.sitenav-menu .has-sub > ul a:hover, .sitenav-menu .has-sub > ul a[aria-current="page"] { background: transparent; color: #047884; } body.is-editing .sitenav { display: none; }
}
@media (min-width: 900px) { body.is-editing { --site-h: 56px; }
body.is-editing .sitenav { position: fixed; top: 0; left: 0; right: 0; height: var(--site-h); }
body.is-editing .topbar { position: fixed; top: var(--site-h); left: 0; right: 0; }
} body { height: auto; min-height: 100dvh; display: flex; flex-direction: column; }
#main { flex: 1 0 auto; }
.sitefoot { margin-top: 24px; padding: 36px 16px calc(28px + env(safe-area-inset-bottom)); background: #ebe4d8; color: #222; text-align: center; font-size: 0.95rem; }
body.is-editing .sitefoot { display: none; }
.sitefoot a { color: #222; text-decoration: none; border-radius: 6px; }
.sitefoot a:hover { color: #047884; }
.sitefoot-social { display: flex; justify-content: center; gap: 16px; margin-bottom: 20px; }
.sitefoot-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid currentColor; border-radius: 999px; }
.sitefoot-social svg { width: 18px; height: 18px; }
.sitefoot-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 14px; }
.sitefoot-menu a { padding: 4px 2px; }
.sitefoot-copy { margin: 0; }
@media (display-mode: standalone) {
.sitenav, .sitefoot { display: none !important; }
body.is-editing { --site-h: 0px; }
body.is-editing .topbar { top: 0; }
}
@media print {
@page { margin: 12mm; }
body > *:not(#print-root) { display: none !important; }
body { background: #fff; color: #000; overflow: visible !important; }
#print-root { display: block !important; }
.pg { break-after: page; page-break-after: always; font: 11pt/1.4 system-ui, sans-serif; }
.pg:last-child { break-after: auto; page-break-after: auto; }
.pg h1 { font-size: 16pt; margin: 0 0 2mm; }
.pg .sub { color: #555; margin: 0 0 5mm; font-size: 9.5pt; }
.pg-grid { display: grid; grid-template-columns: 1fr 62mm; gap: 7mm; align-items: start; }
.pg img { width: 100%; display: block; border: 0.3mm solid #ccc; }
.pg .full { max-height: 245mm; width: auto; max-width: 100%; margin: 0 auto; }
.legend { display: grid; gap: 2.2mm; }
.legend-item { display: grid; grid-template-columns: 7mm 11mm 1fr; align-items: center; gap: 2mm; font-size: 9.5pt; break-inside: avoid; }
.legend-num { font-weight: 700; text-align: right; }
.legend-sw { height: 7mm; border: 0.3mm solid #999; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.legend-name { overflow-wrap: anywhere; }
.legend-hex { color: #666; font-size: 8pt; display: block; }
.pg .foot { margin-top: 5mm; color: #666; font-size: 8.5pt; }
}