/* Linkleaf Planners storefront: one stylesheet, no framework. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/fraunces-latin.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400 600; font-display: swap; src: url(../fonts/fraunces-italic-latin.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-latin.woff2) format("woff2"); }

:root {
  /* catalog palette */
  --navy: #1E3A5F;
  --leaf: #5B8C6A;
  --bg: #F6F9FC;
  --glacier: #A9C9E8;
  --ink: #1B2430;
  --muted: #5E6B7A;
  --panel: #EAF1F8;
  /* derived */
  --navy-2: #2B5079;
  --navy-3: #142A45;
  --leaf-ink: #3E6B4C;
  --leaf-soft: #E2EEE5;
  --leaf-light: #8DBE9B;
  --glacier-soft: #D9E8F6;
  --line: #DAE4EE;
  --line-2: #C6D5E5;
  --card: #FFFFFF;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(27, 36, 48, .05), 0 8px 26px rgba(30, 58, 95, .07);
  --shadow-lg: 0 2px 6px rgba(27, 36, 48, .05), 0 24px 56px rgba(30, 58, 95, .14);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --dots: radial-gradient(circle at 1.5px 1.5px, #D3E0EC 1.2px, transparent 1.6px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; font: 400 17px/1.65 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--leaf-ink); }
p { margin: 0 0 1em; }
code { font: 500 .92em ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--panel); padding: .1em .4em; border-radius: 6px; color: var(--navy); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 660px; line-height: 1.6; }
.eyebrow { display: inline-block; font: 600 .76rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf-ink); margin-bottom: 14px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.tag { display: inline-block; font: 600 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--navy-2); background: var(--panel); padding: 6px 10px; border-radius: 999px; margin-bottom: 12px; align-self: flex-start; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section.panel { background: var(--panel); }
.section.paper { background-color: #fff; background-image: var(--dots); background-size: 24px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 44px; }
.ico-svg { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.print-only { display: none; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(246, 249, 252, .9); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); }
.logo svg { width: 36px; height: 36px; flex: none; }
.logo span { font: 600 1.32rem/1 var(--serif); letter-spacing: -.01em; display: inline-flex; align-items: baseline; gap: 7px; }
.logo em { font: 600 .66rem/1 var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--leaf-ink); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem; padding: 8px 14px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--panel); color: var(--navy); }
.nav .btn { margin-left: 10px; }
.menu-btn { display: none; }
@media (max-width: 880px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--panel); color: var(--navy); border: 0; border-radius: 999px; padding: 9px 16px; font: 600 .95rem var(--sans); cursor: pointer; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 22px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; }
}
@media (max-width: 400px) { .logo em { display: none; } }

/* ---- buttons ---- */
.btn, a.btn.gumroad-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: 600 1rem/1 var(--sans) !important; letter-spacing: 0 !important; text-decoration: none !important;
  padding: 15px 26px !important; border-radius: 999px !important; border: 1.5px solid transparent !important;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  background-image: none !important; text-shadow: none !important; height: auto !important; white-space: nowrap;
}
.btn .ico-svg { width: 1.15em; height: 1.15em; }
.btn-primary, a.btn-primary.gumroad-button { background: var(--navy) !important; color: #fff !important; box-shadow: 0 8px 20px rgba(30, 58, 95, .22) !important; }
.btn-primary:hover, a.btn-primary.gumroad-button:hover { background: var(--navy-3) !important; color: #fff !important; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--navy) !important; border-color: var(--line-2) !important; }
.btn-ghost:hover { background: var(--panel); border-color: var(--glacier) !important; }
.btn-light, a.btn-light.gumroad-button { background: #fff !important; color: var(--navy) !important; box-shadow: 0 8px 22px rgba(0, 0, 0, .18) !important; }
.btn-light:hover, a.btn-light.gumroad-button:hover { background: var(--glacier-soft) !important; color: var(--navy-3) !important; transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .4) !important; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff !important; }
.btn-sm, a.btn-sm.gumroad-button { padding: 10px 18px !important; font-size: .92rem !important; }
.btn-block { width: 100%; }
/* gumroad.js appends <span class="logo-full"> (a Gumroad wordmark) to buy links: keep our own button look */
a.gumroad-button .logo-full, .gumroad-button-logo, .gumroad-button-logo-wrapper { display: none !important; }
a.btn.gumroad-button:active { transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---- hero ---- */
.hero { position: relative; padding: 76px 0 92px; overflow: hidden; background: linear-gradient(180deg, #EEF4FA 0%, var(--bg) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: var(--dots); background-size: 26px 26px; opacity: .55; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; font-weight: 600; }
.hero h1 em { display: inline; }
.hero .lead { margin-bottom: 30px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .94rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--leaf); flex: none; }
.hero-visual { position: relative; }
.hero-art { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid #fff; background: var(--panel); }
.hero-art img { width: 100%; }
.badge-float { position: absolute; left: -22px; bottom: -24px; background: #fff; border-radius: 16px; padding: 12px 18px 12px 12px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); }
.badge-float strong { display: block; font: 600 1rem/1.2 var(--serif); color: var(--navy); }
.badge-float small { display: block; color: var(--muted); font-size: .84rem; }
.badge-float .dot { width: 40px; height: 40px; border-radius: 12px; background: var(--leaf-soft); display: grid; place-items: center; color: var(--leaf-ink); }
.badge-float .dot svg { width: 22px; height: 22px; }
@media (max-width: 920px) {
  .hero { padding: 40px 0 70px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .badge-float { left: 12px; bottom: -22px; }
}

/* ---- steps ---- */
.steps-band { border-bottom: 1px solid var(--line); background: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step .ico { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--panel); color: var(--navy); display: grid; place-items: center; }
.step .ico svg { width: 23px; height: 23px; }
.step h3 { font: 600 1.05rem/1.3 var(--sans); color: var(--ink); margin: 2px 0 4px; letter-spacing: 0; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 20px; } }

/* ---- cards / grids ---- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 660px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 26px; }
.card-pad h3 a { color: inherit; text-decoration: none; }
.product-card { display: flex; flex-direction: column; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card .thumb { display: block; background: var(--panel); aspect-ratio: 16 / 11; overflow: hidden; border-bottom: 1px solid var(--line); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .thumb img { transform: scale(1.025); }
.product-card .thumb img.shot { object-fit: contain; background: #EEF3F8; }
.product-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card h2, .product-card h3 { margin-bottom: 8px; font-size: 1.24rem; line-height: 1.22; }
.product-card h2 a, .product-card h3 a { color: inherit; text-decoration: none; }
.product-card h2 a:hover, .product-card h3 a:hover { color: var(--navy-2); }
.product-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.product-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.price { font: 600 1.55rem/1 var(--serif); color: var(--navy); }
.price small { font: 500 .85rem var(--sans); color: var(--muted); margin-left: 8px; letter-spacing: 0; }

.feature { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--leaf-soft); color: var(--leaf-ink); display: grid; place-items: center; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font: 600 1.04rem/1.3 var(--sans); margin-bottom: 5px; color: var(--ink); letter-spacing: 0; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

.tool-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tool-card:hover { border-color: var(--glacier); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: inherit; }
.tool-card .ico { width: 50px; height: 50px; border-radius: 14px; background: var(--panel); color: var(--navy); display: grid; place-items: center; margin-bottom: 18px; }
.tool-card .ico svg { width: 26px; height: 26px; }
.tool-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.tool-card p { color: var(--muted); font-size: .96rem; margin: 0; flex: 1; }
.tool-card .go { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--leaf-ink); font-size: .95rem; }
.guide-card .ico { background: var(--leaf-soft); color: var(--leaf-ink); }

/* ---- bundle band ---- */
.bundle-band { position: relative; overflow: hidden; color: #fff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center;
  background: radial-gradient(600px 300px at 100% 0%, rgba(169, 201, 232, .22), transparent 70%), radial-gradient(500px 260px at 0% 100%, rgba(91, 140, 106, .35), transparent 70%), linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); }
.bundle-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1.5px 1.5px, rgba(255, 255, 255, .09) 1.2px, transparent 1.6px); background-size: 24px 24px; pointer-events: none; }
.bundle-copy { position: relative; z-index: 1; }
.bundle-band h2, .bundle-band h3 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.bundle-band p { color: rgba(255, 255, 255, .82); }
.bundle-band .eyebrow { color: var(--leaf-light); }
.bundle-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 6px 0 24px; }
.bundle-band .price { color: #fff; font-size: 2.6rem; }
.bundle-price .was { color: var(--glacier); font-size: .98rem; }
.bundle-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; position: relative; z-index: 1; }
.bundle-list li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); border-radius: 12px; padding: 12px 16px; display: flex; justify-content: space-between; gap: 12px; font-weight: 500; font-size: .97rem; }
.bundle-list li span:last-child { color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.bundle-list li.total { background: transparent; border-style: dashed; color: var(--glacier); }
@media (max-width: 880px) { .bundle-band { grid-template-columns: minmax(0, 1fr); padding: 36px 24px; gap: 30px; } }

/* ---- device chooser ---- */
.chooser { max-width: 1040px; margin: 0 auto; }
.chooser-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.chooser-tabs button { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line-2); color: var(--navy); font: 600 .95rem var(--sans); padding: 11px 18px; border-radius: 999px; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.chooser-tabs button svg { width: 18px; height: 18px; color: var(--leaf-ink); }
.chooser-tabs button:hover { border-color: var(--glacier); background: var(--panel); }
.chooser-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chooser-tabs button[aria-selected="true"] svg { color: var(--leaf-light); }
.dev-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.dev-panel + .dev-panel { margin-top: 20px; }
.js .dev-panel + .dev-panel { margin-top: 0; }
.dev-art { background: var(--panel); display: flex; align-items: center; }
.dev-art a { display: block; width: 100%; }
.dev-art img { width: 100%; }
.dev-copy { padding: 36px 40px; }
.dev-copy h3 { font-size: 1.6rem; }
.dev-copy .checks { margin-bottom: 20px; }
.dev-buy { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0; margin-bottom: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dev-name { font-weight: 600; color: var(--ink); text-decoration: none; }
.dev-name:hover { color: var(--navy-2); text-decoration: underline; }
.dev-buy .price { font-size: 1.3rem; white-space: nowrap; }
.dev-copy .small { margin: 16px 0 0; }
@media (max-width: 820px) { .dev-panel { grid-template-columns: minmax(0, 1fr); } .dev-copy { padding: 26px 22px; } }

/* ---- free CTA ---- */
.free-cta { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 26px 44px 26px 26px; box-shadow: var(--shadow); }
.free-art { border-radius: 18px; overflow: hidden; }
.free-cta h2 { margin-bottom: 10px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.free-cta p { color: var(--muted); }
@media (max-width: 820px) { .free-cta { grid-template-columns: minmax(0, 1fr); padding: 18px 18px 28px; gap: 22px; } }

/* ---- FAQ ---- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 19px 34px 19px 0; font-weight: 600; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font: 300 1.7rem/1 var(--sans); color: var(--leaf-ink); }
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 0 18px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---- product page ---- */
.crumbs { font-size: .9rem; color: var(--muted); padding-top: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 28px; padding-bottom: 76px; }
.pdp-buy { position: sticky; top: 94px; }
.pdp-buy h1 { font-size: clamp(2rem, 3.4vw, 2.7rem); }
.pdp-buy .price { font-size: 2.3rem; margin: 6px 0 22px; display: block; }
.checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E6B4C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.buy-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.sample-note { display: flex; gap: 10px; align-items: flex-start; background: var(--panel); border-radius: 12px; padding: 12px 14px; font-size: .93rem; margin: 18px 0 0; }
.sample-note svg { width: 20px; height: 20px; color: var(--navy-2); flex: none; margin-top: 1px; }
.compat { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.compat > span { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.compat ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.compat li { background: #fff; border: 1px solid var(--line-2); color: var(--navy); font-weight: 500; font-size: .86rem; padding: 6px 12px; border-radius: 999px; }
.gallery { display: grid; gap: 18px; }
.gallery figure { margin: 0; }
.gallery-main { display: block; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--panel); }
.gallery-main img { width: 100%; }
.gallery figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; text-align: center; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery-thumbs .tile { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.gallery-thumbs.bundle-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-thumbs .tile img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.gallery-thumbs .tile img.shot { aspect-ratio: auto; }
@media (max-width: 920px) { .pdp { grid-template-columns: minmax(0, 1fr); gap: 34px; } .pdp-buy { position: static; } }
@media (max-width: 520px) { .gallery-thumbs, .gallery-thumbs.bundle-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bundle-rows .card-pad h3 { font-size: 1.15rem; }
.pdp-media { display: grid; gap: 26px; min-width: 0; }
.specs { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; }
.specs h2 { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf-ink); margin: 0 0 8px; }
.specs dl { margin: 0; }
.specs dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.specs dt { font-weight: 600; color: var(--ink); font-size: .93rem; }
.specs dd { margin: 0; color: var(--muted); font-size: .93rem; }
@media (max-width: 520px) { .specs dl > div { grid-template-columns: 1fr; gap: 2px; } }

.included { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.included li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; border-left: 4px solid var(--glacier); }
.included strong { display: block; color: var(--navy); font-weight: 600; margin-bottom: 2px; }
.included span { color: var(--muted); font-size: .93rem; }

/* ---- prose (guides / legal / tool notes) ---- */
.prose { max-width: 740px; margin: 0 auto; }
.prose h2 { font-size: 1.8rem; margin-top: 2em; }
.prose h3 { font-size: 1.28rem; margin-top: 1.6em; }
.prose > h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 1.06rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--leaf); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .95rem; background: #fff; }
.table-scroll { overflow-x: auto; margin: 1.2em 0 1.6em; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.table-scroll table { margin: 0; min-width: 520px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.prose thead th { background: var(--panel); color: var(--navy); font-weight: 600; font-size: .88rem; }
.prose tbody th { font-weight: 600; color: var(--ink); }
.prose tbody tr:last-child th, .prose tbody tr:last-child td { border-bottom: 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--glacier); color: var(--muted); }
.prose .note { background: var(--panel); border-radius: 14px; padding: 16px 20px; font-size: 1rem; }
.prose .steps-list { counter-reset: s; list-style: none; padding: 0; }
.prose .steps-list > li { counter-increment: s; position: relative; padding-left: 46px; margin-bottom: 1em; }
.prose .steps-list > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 .9rem/30px var(--sans); text-align: center; }
.article-head { max-width: 740px; margin: 0 auto; padding: 30px 0 10px; }
.article-head h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
.article-head .meta { color: var(--muted); font-size: .93rem; }
.keybox { background: var(--leaf-soft); border-radius: 18px; padding: 22px 26px; margin: 26px 0 30px; }
.keybox h2 { font: 600 .82rem/1.2 var(--sans); margin: 0 0 12px; color: var(--leaf-ink); text-transform: uppercase; letter-spacing: .12em; }
.keybox ul { margin: 0; }
.toc { border: 1px solid var(--line); border-radius: 16px; padding: 18px 24px; margin: 0 0 30px; background: #fff; }
.toc strong { display: block; margin-bottom: 6px; color: var(--navy); }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { font-size: .98rem; margin: 3px 0; }
.cta-box { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--navy); border-radius: 18px; padding: 24px 28px; margin: 2.2em 0; box-shadow: var(--shadow); }
.cta-box .eyebrow { margin-bottom: 8px; }
.cta-box.tool { border-left-color: var(--leaf); }
.cta-box h3 { margin: 0 0 6px; font-size: 1.22rem; }
.cta-box p { margin: 0; color: var(--muted); font-size: .98rem !important; }
@media (max-width: 640px) { .cta-box { grid-template-columns: 1fr; } }
.sources { font-size: .95rem; }
.sources li { word-break: break-word; }
.disclaimer { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 40px; }

/* ---- tools ---- */
.section.tool-hero { padding-bottom: 30px; }
.tool-app { padding: 0 0 80px; }
.tool-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: start; }
.tool-controls { padding: 26px; position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; }
.tool-controls h2 { font-size: 1.35rem; margin-bottom: 18px; }
@media (max-width: 980px) { .tool-layout { grid-template-columns: minmax(0, 1fr); } .tool-controls { position: static; max-height: none; } }
.field { display: grid; gap: 7px; margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend, .field .label { font-weight: 600; font-size: .9rem; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 7px; }
.hint { font-size: .85rem; color: var(--muted); }
input[type="text"], select {
  width: 100%; font: 500 .98rem var(--sans); color: var(--ink); background: #fff;
  border: 1.5px solid var(--line-2); border-radius: 10px; padding: 10px 12px; min-height: 44px;
}
input:focus, select:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(43, 80, 121, .18); }
.seg { display: flex; background: var(--panel); border-radius: 999px; padding: 4px; gap: 4px; }
.seg label { flex: 1; position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; font: 600 .88rem/1.2 var(--sans); color: var(--navy); padding: 9px 10px; border-radius: 999px; }
.seg input:checked + span { background: #fff; box-shadow: 0 1px 3px rgba(27, 36, 48, .14); color: var(--navy-3); }
.seg input:focus-visible + span { outline: 3px solid var(--leaf); outline-offset: 1px; }
.checks-field .check { display: flex; gap: 10px; align-items: center; font-weight: 500; font-size: .95rem; cursor: pointer; }
.checks-field input { width: 18px; height: 18px; accent-color: var(--navy); }
.print-bar { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 18px; }
.print-bar .hint { margin: 10px 0 0; }
.habit-list { display: grid; gap: 7px; margin-bottom: 8px; }
.habit-row { display: flex; align-items: center; gap: 8px; }
.habit-row .num { width: 22px; flex: none; text-align: right; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.habit-row input { min-height: 38px; padding: 7px 10px; font-size: .94rem; }
.preview-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.preview-head strong { font: 600 1.1rem var(--serif); color: var(--navy); }

/* ---- printable sheets (shared by calendar maker, week numbers, habit tracker) ---- */
.sheets { display: grid; gap: 28px; --pw: 8.5in; --ph: 11in; }
.sheet { position: relative; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); border-radius: 6px; border: 1px solid var(--line); container-type: inline-size; overflow: hidden; aspect-ratio: 8.5 / 11; }
.sheet.landscape { aspect-ratio: 11 / 8.5; }
.sheets.a4 .sheet { aspect-ratio: 210 / 297; }
.sheets.a4 .sheet.landscape { aspect-ratio: 297 / 210; }
.sheet-in { position: absolute; inset: 0; padding: 5.4cqw; display: flex; flex-direction: column; min-height: 0; }
.sheet.landscape .sheet-in { padding: 4cqw 4.2cqw; }
.sh-head { display: flex; align-items: baseline; justify-content: space-between; gap: 2cqw; border-bottom: .25cqw solid var(--navy); padding-bottom: 1.4cqw; margin-bottom: 2.4cqw; }
.sh-year { font: 600 9.5cqw/0.9 var(--serif); color: var(--navy); letter-spacing: -.02em; }
.sh-sub { font: 600 1.35cqw/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: right; }
.sh-foot { display: flex; justify-content: space-between; gap: 2cqw; margin-top: auto; padding-top: 1.4cqw; font: 500 1.05cqw/1.3 var(--sans); color: #8794A3; }
.sheet.landscape .sh-foot { font-size: .8cqw; padding-top: 1cqw; }

/* one-page year */
.yr-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 2cqw 3.6cqw; }
.sheets.a4 .yr-grid { gap: 2.6cqw 3.4cqw; }
.ym-name { font: 600 2.45cqw/1 var(--serif); color: var(--navy); margin: 0 0 .9cqw; }
.ym table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.ym th { font: 600 1.15cqw/1 var(--sans); color: var(--muted); padding: 0 0 .8cqw; text-align: center; }
.ym td { font: 500 1.6cqw/1 var(--sans); text-align: center; padding: .42cqw 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.ym td.we { color: var(--navy-2); }
.ym td.out { color: transparent; }
.ym .wk, .mg .wk { color: var(--leaf-ink) !important; font-weight: 600; font-size: 1.05cqw; }
.ym td.wk { background: var(--leaf-soft); }
.ym th.wk { font-size: .95cqw; }
.ym td.hol span { display: inline-block; min-width: 2.6cqw; padding: .45cqw 0; margin: -.45cqw 0; border-radius: 99px; background: var(--glacier-soft); color: var(--navy); font-weight: 700; }
.ym td.obs span { display: inline-block; min-width: 2.6cqw; padding: .3cqw 0; margin: -.3cqw 0; border-radius: 99px; box-shadow: inset 0 0 0 .18cqw var(--glacier); }
.ym td.obv span { text-decoration: underline; text-decoration-color: var(--leaf); text-decoration-thickness: .2cqw; text-underline-offset: .3cqw; }
.hol-list { columns: 3; column-gap: 3cqw; margin: 2cqw 0 0; padding: 1.6cqw 0 0; list-style: none; border-top: .12cqw solid var(--line); font: 500 1.2cqw/1.35 var(--sans); color: var(--ink); }
.hol-list li { break-inside: avoid; margin-bottom: .35cqw; }
.hol-list b { color: var(--navy); font-weight: 700; margin-right: .6cqw; }
.hol-list .o { color: var(--muted); }

/* 12 monthly pages */
.mh { display: flex; justify-content: space-between; align-items: flex-end; gap: 3cqw; margin-bottom: 1.6cqw; }
.mh-name { font: 600 5.4cqw/0.95 var(--serif); color: var(--navy); letter-spacing: -.02em; }
.mh-name small { font: 600 1.8cqw/1 var(--sans); color: var(--muted); letter-spacing: .12em; margin-left: 1.4cqw; text-transform: uppercase; }
.mh-minis { display: flex; gap: 2.6cqw; }
.mh-minis .ym { width: 13cqw; }
.mh-minis .ym-name { font-size: 1.15cqw; font-family: var(--sans); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .5cqw; }
.mh-minis .ym th { font-size: .72cqw; padding-bottom: .35cqw; }
.mh-minis .ym td { font-size: .82cqw; padding: .16cqw 0; }
.mh-minis .ym td.hol span, .mh-minis .ym td.obs span { min-width: 1.5cqw; padding: .12cqw 0; margin: -.12cqw 0; }
.mh-minis .ym td.obs span { box-shadow: inset 0 0 0 .1cqw var(--glacier); }
.mg { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: auto; grid-auto-rows: minmax(0, 1fr); border-top: .14cqw solid var(--line-2); border-left: .14cqw solid var(--line-2); }
.mg.has-wk { grid-template-columns: 2.6cqw repeat(7, minmax(0, 1fr)); }
.mg > div { border-right: .14cqw solid var(--line-2); border-bottom: .14cqw solid var(--line-2); padding: .55cqw .7cqw; min-width: 0; overflow: hidden; }
.mg .dh { background: var(--navy); color: #fff; font: 600 1.05cqw/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-align: center; padding: .85cqw 0; border-color: var(--navy); }
.mg .dh.wk { color: var(--leaf-light) !important; background: var(--navy); font-size: .8cqw; }
.mg div.wk { background: var(--leaf-soft); text-align: center; padding: .7cqw 0; }
.mg .c.we { background: #F7FAFD; }
.mg .c.out .dn { color: #C3CEDA; }
.mg .dn { font: 600 1.5cqw/1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.mg .hn { display: block; margin-top: .45cqw; font: 600 .82cqw/1.2 var(--sans); color: var(--leaf-ink); }
.mg .hn.obv { color: var(--navy-2); font-weight: 500; }
.mg .c.hol { background: #F1F7F2; }
.mg .c.hol .dn { color: var(--leaf-ink); }

/* habit tracker */
.hb-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 3cqw; border-bottom: .22cqw solid var(--navy); padding-bottom: 1.2cqw; margin-bottom: 1.8cqw; }
.hb-title { font: 600 3.6cqw/1 var(--serif); color: var(--navy); letter-spacing: -.015em; }
.hb-month { font: italic 500 2.2cqw/1 var(--serif); color: var(--leaf-ink); margin-top: .7cqw; }
.hb-hint { font: 500 1cqw/1.4 var(--sans); color: var(--muted); text-align: right; max-width: 30cqw; }
.hb-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.hb-grid th, .hb-grid td { border: .1cqw solid var(--line-2); padding: 0; text-align: center; }
.hb-grid thead th { font: 700 .95cqw/1.1 var(--sans); color: var(--ink); padding: .45cqw 0 .4cqw; background: #fff; }
.hb-grid thead th small { display: block; font: 600 .72cqw/1 var(--sans); color: var(--muted); margin-top: .25cqw; }
.hb-grid thead th.habit { text-align: left; padding-left: .8cqw; font: 600 .95cqw var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hb-grid thead th.tot { font-size: .8cqw; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hb-grid td { height: 3.25cqw; }
.hb-grid td.habit { text-align: left; padding: 0 .8cqw; font: 500 1.12cqw/1.15 var(--sans); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-grid .we { background: #F2F6FA; }
.hb-grid .ws { border-left: .2cqw solid #7FA3C6; }
.hb-grid td.tot { background: var(--leaf-soft); }
.hb-notes { flex: 1; min-height: 0; margin-top: 2cqw; display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.4cqw; }
.hb-notes > div { border: .1cqw solid var(--line-2); border-radius: .8cqw; padding: 1cqw 1.4cqw; background-image: linear-gradient(to bottom, transparent calc(2.8cqw - .12cqw), var(--line) calc(2.8cqw - .12cqw)); background-size: 100% 2.8cqw; background-repeat: repeat-y; background-origin: content-box; background-clip: content-box; }
.hb-notes h4 { font: 600 .9cqw/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf-ink); margin: 0; height: 2.8cqw; background: #fff; display: flex; align-items: flex-start; }

/* week-number page */
.section.weeks-intro { padding-top: 0; padding-bottom: 40px; }
#week-list .wrap { max-width: 904px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.fact .k { display: block; font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.fact .v { display: block; font: 600 1.45rem/1.25 var(--serif); color: var(--navy); margin-top: 4px; }
.fact .s { display: block; font-size: .86rem; color: var(--muted); }
.fact.hl { background: var(--navy); border-color: var(--navy); }
.fact.hl .k, .fact.hl .s { color: var(--glacier); }
.fact.hl .v { color: #fff; }
@media (max-width: 820px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.weeks-app { padding-bottom: 20px; }
.weeks-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 860px; margin: 0 auto 18px; }
.weeks-head h2 { margin: 0; font-size: 1.6rem; }
.static-sheets { max-width: 860px; margin: 0 auto; }
.wk-year { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 2.2cqw 3.4cqw; }
.mini { width: 100%; border-collapse: collapse; table-layout: fixed; align-self: start; }
.mini caption { text-align: left; font: 600 2.35cqw/1 var(--serif); color: var(--navy); padding-bottom: .9cqw; }
.mini th { font: 600 1.1cqw/1 var(--sans); color: var(--muted); padding: 0 0 .7cqw; text-align: center; }
.mini td, .mini tbody th { font: 500 1.5cqw/1 var(--sans); text-align: center; padding: .4cqw 0; font-variant-numeric: tabular-nums; }
.mini .wk { color: var(--leaf-ink); font-size: 1.05cqw; font-weight: 700; background: var(--leaf-soft); }
.mini thead .wk { background: none; font-size: .9cqw; }
.mini td.we { color: var(--navy-2); }
.wk-compact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 5cqw; }
.wk-compact { width: 100%; border-collapse: collapse; font: 500 1.45cqw/1 var(--sans); font-variant-numeric: tabular-nums; }
.wk-compact th, .wk-compact td { padding: .86cqw .8cqw; border-bottom: .1cqw solid var(--line); text-align: left; }
.wk-compact thead th { color: var(--muted); font-size: 1.05cqw; letter-spacing: .1em; text-transform: uppercase; }
.wk-compact tbody th { color: var(--leaf-ink); font-weight: 700; }
.weeks-table-wrap table { min-width: 460px; }
.weeks-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.weeks-table th, .weeks-table td { padding: 9px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.weeks-table thead th { background: var(--panel); color: var(--navy); font-size: .86rem; font-weight: 600; position: sticky; top: 0; }
.weeks-table tbody th { color: var(--leaf-ink); font-weight: 600; white-space: nowrap; }
.weeks-table tbody tr:nth-child(even) { background: #FAFCFE; }
.weeks-table tbody tr.now { background: var(--leaf-soft); }
.weeks-table td { white-space: nowrap; }
@media (max-width: 600px) { .weeks-table-wrap table { min-width: 0; } .weeks-table th:nth-child(4), .weeks-table td:nth-child(4) { display: none; } .weeks-table th, .weeks-table td { padding: 9px 12px; } }

/* black & white */
.sheets.bw .sh-head, .sheets.bw .hb-head { border-color: #000; }
.sheets.bw .sh-year, .sheets.bw .ym-name, .sheets.bw .mh-name, .sheets.bw .hb-title, .sheets.bw .mini caption { color: #000; }
.sheets.bw .ym td.hol span { background: #E6E6E6; color: #000; }
.sheets.bw .ym td.obs span { box-shadow: inset 0 0 0 .18cqw #888; }
.sheets.bw .ym .wk, .sheets.bw .mg .wk, .sheets.bw .hb-month, .sheets.bw .mg .hn, .sheets.bw .mg .c.hol .dn { color: #333 !important; }
.sheets.bw .ym td.wk, .sheets.bw .mg div.wk, .sheets.bw .hb-grid td.tot, .sheets.bw .mg .c.hol { background: #F2F2F2; }
.sheets.bw .mg .dh { background: #fff; color: #000; border-color: #999; border-bottom: .25cqw solid #000; }
.sheets.bw .mg .dh.wk { color: #333 !important; background: #fff; }
.sheets.bw .hb-grid .ws { border-left-color: #555; }
.sheets.bw .hb-notes h4 { color: #333; }

/* ---- footer ---- */
.site-footer { background: var(--navy-3); color: rgba(255, 255, 255, .74); padding: 64px 0 34px; font-size: .94rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr; gap: 34px; }
.foot-h { font: 600 .76rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf-light); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo em { color: var(--leaf-light); }
.site-footer .small { color: rgba(255, 255, 255, .55); font-size: .84rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 22px; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- 404 ---- */
.notfound { text-align: center; padding: 110px 0; }
.notfound .big { font: 600 7rem/1 var(--serif); color: var(--glacier); }

/* ---- print: only the sheets ---- */
@media print {
  @page { margin: 0; }
  html, body { background: #fff !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .site-header, .site-footer, .skip, .no-print, .tool-controls, .preview-head, .weeks-head, noscript { display: none !important; }
  body.print-page main > :not(.print-host) { display: none !important; }
  body.print-page .print-host, body.print-page .print-host > .wrap, body.print-page .tool-layout, body.print-page .preview, body.print-page .static-sheets {
    display: block !important; padding: 0 !important; margin: 0 !important; max-width: none !important; width: auto !important; }
  .sheets { display: block !important; }
  .sheet { width: var(--pw) !important; height: var(--ph) !important; aspect-ratio: auto !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important; margin: 0 !important;
    break-after: page; page-break-after: always; break-inside: avoid; }
  .sheet:last-child { break-after: auto; page-break-after: auto; }
  .sheet.print-only { display: block !important; }
}
