@font-face { font-family: "Inter"; src: url("/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --ink: #142033; --muted: #5A6478; --bg: #F4F6FB; --card: #FFFFFF; --line: #DFE5EF; --soft: #EEF2FA;
  --brand: #2E4BD6; --brand-deep: #1D329F; --brand-soft: #E6EBFF; --pin: #EF4B3A; --pin-deep: #C8321F; --sun: #FFB21E;
  --on-brand: #FFFFFF; --radius: 16px; --shadow: 0 1px 2px rgba(20, 32, 51, .06), 0 8px 24px rgba(20, 32, 51, .07);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #E8ECF5; --muted: #A2ACBF; --bg: #0E1422; --card: #172033; --line: #2A3650; --soft: #1D2840;
    --brand: #7C93FF; --brand-deep: #A9B7FF; --brand-soft: #232F55; --pin: #FF6B5B; --pin-deep: #FF8F82; --on-brand: #0E1422;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #E8ECF5; --muted: #A2ACBF; --bg: #0E1422; --card: #172033; --line: #2A3650; --soft: #1D2840;
  --brand: #7C93FF; --brand-deep: #A9B7FF; --brand-soft: #232F55; --pin: #FF6B5B; --pin-deep: #FF8F82; --on-brand: #0E1422;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
img, svg { max-width: 100%; }
a { color: var(--brand); }
a:hover { color: var(--brand-deep); }
h1, h2, h3, h4 { font-family: "Poppins", "Inter", sans-serif; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3.4vw, 2rem); }
.h3 { font-size: 1.25rem; } .h4 { font-size: 1.05rem; margin: 0; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 50rem; }
.muted { color: var(--muted); } .small { font-size: .88rem; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--sun); color: #142033; padding: .6rem 1rem; border-radius: 10px; z-index: 60; font-weight: 700; }
.skip:focus { top: 1rem; }
[hidden] { display: none !important; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 1rem; min-height: 62px; }
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.logo svg { width: 36px; height: 36px; flex: none; }
.logo b { color: var(--pin); }
.nav { margin-left: auto; display: flex; gap: .2rem; overflow-x: auto; scrollbar-width: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .94rem; padding: .45rem .7rem; border-radius: 10px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { background: var(--brand-soft); color: var(--brand-deep); }
.theme-btn { flex: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.theme-btn svg { width: 20px; height: 20px; }
@media (max-width: 720px) { .nav .hide-sm { display: none; } .logo span { font-size: 1rem; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font: 700 .98rem/1.1 "Inter", sans-serif; padding: .8rem 1.25rem; border-radius: 12px; border: 2px solid var(--brand); background: var(--brand); color: var(--on-brand); cursor: pointer; text-decoration: none; transition: transform .12s, background .12s; }
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: var(--on-brand); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn.big { font-size: 1.05rem; padding: .95rem 1.5rem; }
.btn.alt { background: var(--pin); border-color: var(--pin); color: #fff; }
.btn.alt:hover { background: var(--pin-deep); border-color: var(--pin-deep); }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--brand-soft); color: var(--brand-deep); }
.btn.small { font-size: .86rem; padding: .5rem .8rem; border-radius: 10px; }
.btn.danger { background: transparent; border-color: #DC2626; color: #DC2626; }
.btn.danger:hover { background: #DC2626; color: #fff; }
.file-btn { cursor: pointer; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* Home hero */
.hero { padding: clamp(2.5rem, 7vw, 5rem) 0 2.5rem; background: radial-gradient(1200px 400px at 85% -10%, var(--brand-soft), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--pin); margin-bottom: .8rem; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.22rem); color: var(--muted); max-width: 36em; }
.hero h1 b { color: var(--brand); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1rem; }
.promise { display: flex; gap: .6rem; align-items: center; color: var(--muted); font-size: .95rem; }
.promise svg { width: 20px; height: 20px; color: var(--sun); flex: none; }
.hero-art { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 14px; transform: rotate(1.2deg); }
.hero-art svg { display: block; width: 100%; height: auto; border-radius: 12px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { transform: none; } }

/* Sections and cards */
.section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section.alt { background: var(--card); border-block: 1px solid var(--line); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.1rem, 3vw, 1.6rem); }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 900px) { .grid3, .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } }
.tool-card { display: flex; flex-direction: column; gap: .4rem; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.tool-card:hover { transform: translateY(-3px); color: var(--ink); box-shadow: 0 2px 4px rgba(20, 32, 51, .08), 0 16px 36px rgba(20, 32, 51, .12); }
.tool-card .tc-art { border-radius: 12px; overflow: hidden; margin-bottom: .6rem; background: var(--soft); }
.tool-card .tc-art svg { display: block; width: 100%; height: auto; }
.tool-card ul { margin: .3rem 0 1rem; padding-left: 1.2rem; color: var(--muted); }
.tool-card .btn { align-self: flex-start; margin-top: auto; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: .2rem .55rem; border-radius: 99px; background: var(--brand-soft); color: var(--brand-deep); }
.feature h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.feature .fi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: .7rem; }
.feature .fi svg { width: 22px; height: 22px; }
.steps-row { counter-reset: s; }
.steps-row .card { position: relative; padding-top: 2.4rem; }
.steps-row .card::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 1.2rem; width: 40px; height: 40px; border-radius: 50%; background: var(--pin); color: #fff; font: 800 1.1rem/40px "Poppins", sans-serif; text-align: center; }
.uses { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }
.uses li { background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: .4rem .9rem; font-weight: 600; font-size: .92rem; }
.checklist { list-style: none; padding: 0; columns: 2; column-gap: 2rem; }
.checklist li { break-inside: avoid; padding-left: 1.7rem; position: relative; margin-bottom: .55rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.05rem; height: 1.05rem; border-radius: 5px; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
@media (max-width: 640px) { .checklist { columns: 1; } }
.prose h2 { margin-top: 2rem; } .prose h3 { margin-top: 1.4rem; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3rem; } .prose li { margin-bottom: .35rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: .6rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 1.2rem; list-style: none; position: relative; padding-right: 2.6rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: .75rem; font-size: 1.4rem; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 1.2rem 1rem; color: var(--muted); }
.disclaimer { font-size: .88rem; color: var(--muted); border-left: 4px solid var(--sun); padding: .8rem 1rem; background: var(--card); border-radius: 0 12px 12px 0; }

/* Ads */
.ad-slot { display: none; margin: 1.5rem auto; text-align: center; min-height: 100px; }
.ad-slot.on { display: block; }
.ad-label { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }

/* Footer */
.site-footer { background: #0F1830; color: #C4CCDD; padding: 2.5rem 0 2rem; margin-top: 3rem; font-size: .92rem; }
.site-footer a { color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; margin-bottom: 1rem; }
.site-footer p { margin: .3rem 0; }
.page { padding: 2rem 0; }
.page h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }

/* ---------- Tool pages ---------- */
.tool-hero { padding: 1.8rem 0 1rem; }
.tool-hero h1 { font-size: clamp(1.7rem, 4.4vw, 2.5rem); margin-bottom: .3rem; }
.tool-hero .lead { margin-bottom: .8rem; }
.steps { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: .5rem 0 0; }
.steps li { display: flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .9rem; color: var(--muted); background: var(--card); border: 1px solid var(--line); padding: .35rem .8rem .35rem .4rem; border-radius: 99px; }
.steps li b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); font-size: .8rem; }
.steps li.on { color: var(--ink); border-color: var(--brand); }
.steps li.on b { background: var(--brand); color: var(--on-brand); }
.resume { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; background: var(--brand-soft); border: 1px solid var(--brand); border-radius: 14px; padding: .8rem 1rem; margin-bottom: 1rem; }
.resume p { margin: 0; }
.step { margin-bottom: 1.5rem; }
.find-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: .6rem; }
.find-bar form { flex: 1 1 320px; display: flex; gap: .5rem; }
.find-bar input { flex: 1; min-width: 0; }
input[type=text], input[type=search], input[type=date], input[type=number], select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 10px; padding: .62rem .75rem; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-soft); }
textarea { resize: vertical; line-height: 1.45; }
.status { min-height: 1.4em; margin: .3rem 0; font-size: .93rem; color: var(--muted); }
.status.err { color: #DC2626; }
.results { list-style: none; padding: 0; margin: 0 0 .8rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.results button { display: block; width: 100%; text-align: left; background: var(--card); border: 0; border-bottom: 1px solid var(--line); padding: .6rem .9rem; cursor: pointer; font: inherit; color: var(--ink); }
.results li:last-child button { border-bottom: 0; }
.results button:hover { background: var(--brand-soft); }
.results b { display: block; } .results span { font-size: .84rem; color: var(--muted); }
.map-opts { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; margin-bottom: .7rem; }
.seg { display: inline-flex; background: var(--soft); border-radius: 12px; padding: 3px; border: 1px solid var(--line); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; padding: .42rem .8rem; border-radius: 9px; font-weight: 600; font-size: .9rem; cursor: pointer; }
.seg input:checked + span { background: var(--card); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); color: var(--brand); }
.seg input:focus-visible + span { outline: 3px solid var(--sun); }
.inline-field { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9rem; }
.inline-field select { width: auto; padding: .45rem .6rem; }
.map-frame { width: 100%; max-width: 980px; margin: 0 auto; max-height: 72vh; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; border: 3px solid var(--brand); position: relative; background: #DDE3EC; }
.map-frame.portrait-fix { max-height: 78vh; }
#map { position: absolute; inset: 0; }
.lock-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-top: .9rem; }
.lock-row p { margin: 0; flex: 1 1 300px; }

/* Editor */
.edit-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.edit-head h2 { margin: 0; font-size: 1.35rem; }
.editor { display: grid; grid-template-columns: auto 1fr 300px; gap: .7rem; align-items: start; }
.toolbar { display: flex; flex-direction: column; gap: .3rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .4rem; position: sticky; top: 76px; }
.tb { display: flex; flex-direction: column; align-items: center; gap: .1rem; width: 64px; padding: .45rem .2rem; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; font: 600 .68rem/1.1 "Inter", sans-serif; }
.tb svg { width: 22px; height: 22px; }
.tb:hover { background: var(--soft); }
.tb.on { background: var(--brand); color: var(--on-brand); }
.tb:disabled { opacity: .35; cursor: default; }
.tb.sm { flex-direction: row; justify-content: center; padding: .35rem .2rem; }
.tb.sm .tb-l { display: none; }
.tb.sm svg { width: 20px; height: 20px; }
.tb-sep { height: 1px; background: var(--line); margin: .2rem .3rem; }
.stage-wrap { background: repeating-conic-gradient(var(--soft) 0 25%, var(--card) 0 50%) 0 0 / 22px 22px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; position: relative; }
#stage { display: block; width: 100%; height: min(74vh, 760px); touch-action: none; user-select: none; -webkit-user-select: none; cursor: crosshair; }
#stage[data-tool=select] { cursor: default; }
#stage[data-tool=select] .items [data-id] { cursor: move; }
#stage[data-tool=hand], #stage.space { cursor: grab; }
#stage.panning { cursor: grabbing; }
.side { display: flex; flex-direction: column; gap: .7rem; position: sticky; top: 76px; max-height: calc(100vh - 90px); overflow-y: auto; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .9rem; }
.panel h4 { font-size: .95rem; margin-bottom: .6rem; }
.hint { font-size: .88rem; color: var(--muted); margin-bottom: .7rem; }
.icon-search { margin-bottom: .6rem; }
.icon-group h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: .6rem 0 .35rem; }
.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; }
.icon-btn { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .35rem .1rem; border: 2px solid transparent; border-radius: 10px; background: transparent; cursor: pointer; color: var(--ink); font: 500 .64rem/1.1 "Inter", sans-serif; text-align: center; }
.icon-btn svg { width: 30px; height: 30px; }
.icon-btn:hover { background: var(--soft); }
.icon-btn.on { border-color: var(--brand); background: var(--brand-soft); }
.field { display: block; margin-bottom: .75rem; }
.lbl { display: block; font-weight: 600; font-size: .85rem; margin-bottom: .3rem; }
.field input[type=range] { width: 100%; accent-color: var(--brand); }
.field small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.35; margin-top: .2rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.check { display: flex; align-items: center; gap: .5rem; font-size: .92rem; margin-bottom: .45rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.swatches { display: flex; flex-wrap: wrap; gap: .3rem; }
.sw { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line); cursor: pointer; padding: 0; }
.sw.on { outline: 3px solid var(--brand); outline-offset: 1px; }
.sw-custom { width: 26px; height: 26px; border-radius: 8px; overflow: hidden; border: 2px dashed var(--muted); display: inline-block; cursor: pointer; position: relative; background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); }
.sw-custom input { opacity: 0; width: 100%; height: 100%; cursor: pointer; border: 0; padding: 0; }
.prop-actions { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .4rem; }
.fade-field { margin: .8rem 0 0; padding-top: .8rem; border-top: 1px solid var(--line); }
@media (max-width: 1020px) {
  .editor { grid-template-columns: 1fr; }
  .toolbar { flex-direction: row; overflow-x: auto; position: sticky; top: 62px; z-index: 5; scrollbar-width: thin; }
  .tb { width: 58px; flex: none; }
  .tb-sep { width: 1px; height: auto; margin: .3rem .2rem; }
  .side { position: static; max-height: none; display: grid; grid-template-columns: 1fr 1fr; }
  #stage { height: min(62vh, 620px); }
}
@media (max-width: 640px) { .side { grid-template-columns: 1fr; } .icon-grid { grid-template-columns: repeat(5, 1fr); } }

/* Crop step (floor plans) */
.drop { border: 2.5px dashed var(--brand); border-radius: 16px; padding: 2.2rem 1rem; text-align: center; background: var(--brand-soft); cursor: pointer; transition: background .15s; }
.drop.over { background: color-mix(in srgb, var(--brand-soft) 60%, var(--brand) 12%); }
.drop svg { width: 48px; height: 48px; color: var(--brand); }
.drop p { margin: .4rem 0; }
.crop-area { position: relative; margin: 0 auto; max-width: 100%; touch-action: none; user-select: none; background: #fff; border: 1px solid var(--line); }
.crop-area canvas { display: block; width: 100%; height: auto; }
.crop-box { position: absolute; border: 2px solid var(--pin); box-shadow: 0 0 0 9999px rgba(15, 24, 48, .45); cursor: move; }
.crop-box i { position: absolute; width: 18px; height: 18px; background: #fff; border: 2px solid var(--pin); border-radius: 4px; }
.crop-box i[data-c=tl] { left: -10px; top: -10px; cursor: nwse-resize; } .crop-box i[data-c=tr] { right: -10px; top: -10px; cursor: nesw-resize; }
.crop-box i[data-c=bl] { left: -10px; bottom: -10px; cursor: nesw-resize; } .crop-box i[data-c=br] { right: -10px; bottom: -10px; cursor: nwse-resize; }
.crop-clip { overflow: hidden; position: relative; border-radius: 12px; width: fit-content; max-width: 100%; margin: 0 auto; }
.crop-tools { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; margin: .8rem 0; }
.crop-tools .field { margin: 0; min-width: 220px; }

/* Finish: form + print preview */
.finish-grid { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 1.2rem; align-items: start; }
@media (max-width: 1020px) { .finish-grid { grid-template-columns: 1fr; } }
.dir-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin: 1rem 0 .3rem; }
.opts { border: 1px solid var(--line); border-radius: 12px; padding: .6rem .9rem .3rem; margin: 0 0 .9rem; }
.opts legend { font-weight: 700; font-size: .88rem; padding: 0 .3rem; }
.export-btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.project { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.project summary { cursor: pointer; font-weight: 700; }
.preview-head { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
.finish-preview { position: sticky; top: 76px; }

/* The printable sheet (always light, like paper) */
.sheet { background: #fff; color: #111827; border-radius: 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, .12), 0 20px 40px rgba(20, 32, 51, .12); padding: 28px 30px 18px; margin: 0 auto; max-width: 760px; font-family: "Inter", Arial, sans-serif; color-scheme: light; }
.sheet.landscape { max-width: 980px; }
.s-head h1 { font-size: 26px; margin: 0 0 4px; color: #111827; letter-spacing: -.01em; }
.s-head h1.placeholder { color: #9CA3AF; }
.s-head p { color: #4B5563; font-size: 13.5px; margin: 0 0 12px; font-weight: 500; }
.s-map { margin: 0; }
.s-map svg { display: block; width: 100%; height: auto; max-height: 64vh; border: 1px solid #D1D5DB; border-radius: 4px; }
.s-attr { font-size: 9px; color: #6B7280; margin: 3px 0 0; text-align: right; }
.s-body { display: block; }
.sheet.landscape .s-body { display: grid; grid-template-columns: 1.75fr 1fr; gap: 18px; align-items: start; }
.sheet.landscape.no-side .s-body { grid-template-columns: 1fr; }
.sheet h2 { font-size: 14px; color: #111827; margin: 14px 0 6px; text-transform: uppercase; letter-spacing: .06em; font-family: "Inter", Arial, sans-serif; font-weight: 800; }
.sheet.landscape .s-side h2:first-child { margin-top: 0; }
.s-legend ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 5px 12px; }
.sheet.landscape .s-legend ul { grid-template-columns: 1fr 1fr; }
.s-legend li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; line-height: 1.25; }
.s-legend svg { flex: none; }
.lg-zone { width: 22px; height: 15px; border: 2.5px solid; border-radius: 4px; flex: none; }
.s-details p { white-space: pre-line; font-size: 13px; line-height: 1.5; margin: 0; }
.s-contact { font-weight: 700; font-size: 13px; margin: 10px 0 0; }
.s-contact:empty { display: none; }
.s-dir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.sheet.landscape .s-dir-grid { grid-template-columns: repeat(4, 1fr); }
.s-dirs h3 { font-size: 12.5px; margin: 0 0 2px; font-family: "Inter", Arial, sans-serif; font-weight: 800; color: #111827; }
.s-dirs p { font-size: 12.5px; line-height: 1.45; margin: 0; }
.s-vendors ol { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: 18px; font-size: 12.5px; }
.sheet.portrait .s-vendors ol { columns: 2; }
.s-vendors li { break-inside: avoid; margin-bottom: 2px; }
.s-vendors b { display: inline-block; min-width: 2.4em; }
.s-foot { font-size: 9.5px; color: #9CA3AF; margin-top: 14px; border-top: 1px solid #E5E7EB; padding-top: 5px; }
@media (max-width: 640px) { .sheet { padding: 16px; } .s-dir-grid, .sheet.landscape .s-dir-grid { grid-template-columns: 1fr; } }

/* ---------- Print: only the sheet ---------- */
@media print {
  html, body { background: #fff !important; }
  body * { visibility: hidden; }
  .no-print, .site-header, .site-footer, .ad-slot, .tool-hero, .content, #step-find, #step-edit, .finish-form, .preview-head, .resume, .skip { display: none !important; }
  #step-finish, #step-finish *, .finish-grid, .finish-preview, #sheet, #sheet * { visibility: visible; }
  #step-finish > h2 { display: none; }
  main, .wrap, .finish-grid, .finish-preview { display: block !important; width: auto !important; margin: 0 !important; padding: 0 !important; position: static !important; }
  .sheet { box-shadow: none; border-radius: 0; padding: 0; max-width: none !important; width: 100%; }
  .sheet.portrait .s-map svg { max-height: 6.3in; }
  .sheet.landscape .s-map svg { max-height: 5.9in; }
  .sheet.a4.portrait .s-map svg { max-height: 6.9in; }
  .s-map svg { border-color: #9CA3AF; }
  .s-dirs, .s-vendors, .s-legend { break-inside: avoid; }
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
* { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
