@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/InterVariable.woff2") format("woff2");
}

:root {
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --page: #FAFAF8;
  --paper: #FFFFFF;
  --ink: #1A1A1A;
  --ink-soft: #3A3A38;
  --muted: #5E5E58;
  --line: #E6E6E0;
  --accent: #FF7F11;
  --accent-ink: #B85A0C;
  --accent-hover: #E8720F;
  --cream: #E2E8CE;
  --sage: #ACBFA4;
  --sage-dark: #8A9B82;
  --sage-soft: #D4DCC6;
  --bg: #E2E8CE;
  --card: #F3F6EA;
  --input: #D5DCC8;
  --chip: #D5DEC9;
  --row-hover: #DCE6D4;
  --on-dark: #F4F4EE;
  --orange: #FF7F11;
  --blue: #ACBFA4;
  --green: #8A9B82;
  --teal: #8A9B82;
  --purple: #262626;
  --red: #FF7F11;
  --shadow: 0 1px 2px rgba(26, 26, 26, 0.06);
  --radius: 8px;
  --max: 1120px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  font: 16px/1.6 var(--font);
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
.logo img.logo-mark { width: 36px; height: 36px; max-width: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 650;
  font-size: 18px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.logo-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: block;
}
.logo-word { white-space: nowrap; }
.logo-word em {
  font-style: normal;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
}
.nav-links a:hover { color: var(--ink); background: #F3F3EF; }
.nav-links a[aria-current="page"] { color: var(--ink); background: #F3F3EF; }
.nav-login {
  color: var(--ink-soft);
  font-weight: 500;
}
.nav-links .nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 40px;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover { background: #2A2A2A; }
.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-nav {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  font-weight: 550;
  padding: 7px 12px;
  min-height: 36px;
  font-size: 14px;
}
.btn-nav:hover { background: #F3F3EF; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: #F3F3EF; }
.btn-dark {
  background: var(--ink);
  color: var(--on-dark);
}
.btn-dark:hover { background: #2A2A2A; }
.btn-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--input);
}
.btn-light:hover { background: var(--row-hover); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  border-radius: 8px;
}
.nav-toggle:hover { background: #F3F3EF; }

/* —— Hero —— */
.hero {
  background: var(--page);
  color: var(--ink);
  padding: 56px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
  padding-bottom: 40px;
}
.hero-grid > * { min-width: 0; }
.kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.lede {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 36em;
}
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-cta .btn-ghost { border: 0; padding-left: 4px; min-height: 0; }
.hero-cta .btn-ghost:hover { background: transparent; color: var(--accent-ink); }

.facts {
  border-top: 1px solid var(--line);
  padding: 18px 0 22px;
  color: var(--muted);
  font-size: 14px;
}
.facts ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.facts li {
  position: relative;
  padding-left: 14px;
}
.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
}

/* Product frames */
.product {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid #D3DCC8;
  border-radius: 10px;
  overflow: hidden;
}
.sample-tag {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 8px;
}
.product-hero {
  display: grid;
  grid-template-columns: 148px 1fr minmax(180px, 0.85fr);
  min-height: 420px;
}
.product-side {
  background: #262626;
  color: var(--on-dark);
  padding: 16px 10px;
}
.product-side h2 {
  margin: 0 8px 14px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 244, 238, 0.45);
  font-weight: 600;
}
.product-nav { display: flex; flex-direction: column; gap: 2px; }
.product-nav span {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(244, 244, 238, 0.72);
}
.product-nav span.on {
  background: rgba(255, 127, 17, 0.16);
  color: var(--accent);
}
.product-main { padding: 18px 14px 14px; }
.product-main h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.product-lead {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
}
.stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.stat {
  background: var(--card);
  border: 1px solid #C5D3BB;
  border-radius: 8px;
  padding: 10px 12px;
}
.stat.hot { border-color: var(--accent); }
.stat .n { font-size: 20px; font-weight: 650; line-height: 1; }
.stat.hot .n { color: var(--accent-ink); }
.stat .l { font-size: 11px; color: var(--muted); margin-top: 4px; }
.row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  background: var(--card);
  border: 1px solid #C5D3BB;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 6px;
  font-size: 13px;
}
.row small { color: var(--muted); display: block; font-size: 11.5px; }
.chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 8px;
  color: var(--ink);
  align-self: center;
  white-space: nowrap;
}
.product-panel {
  background: var(--card);
  border-left: 1px solid #C5D3BB;
  padding: 18px 14px;
  font-size: 13px;
}
.product-panel h3 { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.product-panel p { margin: 0 0 12px; color: var(--muted); }
.draft {
  background: var(--bg);
  border: 1px solid #C5D3BB;
  border-radius: 8px;
  padding: 10px;
  min-height: 120px;
  color: var(--ink-soft);
  line-height: 1.45;
  font-size: 12.5px;
}
.product-shot {
  min-height: 280px;
  padding: 16px;
}
.product-shot .row:last-child { margin-bottom: 0; }
.mini-cal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.mini-cal div {
  background: var(--card);
  border: 1px solid #C5D3BB;
  border-radius: 8px;
  padding: 8px;
  font-size: 11.5px;
  min-height: 86px;
}
.mini-cal strong { display: block; margin-bottom: 6px; font-size: 12px; }
.mini-cal span {
  display: block;
  background: var(--row-hover);
  border-radius: 6px;
  padding: 4px 6px;
  margin-top: 4px;
}

/* —— Sections —— */
section { padding: 72px 0; }
.band { background: #F3F3EF; border-block: 1px solid var(--line); }
.sec-head { max-width: 640px; margin-bottom: 36px; }
.sec-head h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.sec-head p { margin: 0; color: var(--muted); font-size: 16px; }
.center { text-align: center; margin-inline: auto; }

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.showcase + .showcase { margin-top: 72px; }
.showcase.flip .showcase-copy { order: 2; }
.showcase-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.showcase-copy p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
  margin-bottom: 36px;
}
.step { padding: 0; }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.timeline li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 16px 20px;
  border-left: 1px solid var(--line);
}
.timeline li:first-child { border-left: 0; }
.timeline .n {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #F3F3EF;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.timeline strong { display: block; font-size: 15px; margin-bottom: 4px; }
.timeline span { color: var(--muted); font-size: 14.5px; }
.time-note {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}
.split h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.split > div > p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
}
.ticks { list-style: none; margin: 18px 0 0; padding: 0; }
.ticks li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.ticks li:first-child { border-top: 0; }
.tick {
  flex: 0 0 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 4px;
  background: #F3F3EF;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.price-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  align-items: center;
}
.price-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.price-card p { margin: 0; color: var(--muted); }
.price-card ul {
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  color: var(--ink-soft);
  font-size: 15px;
}
.price-card li { margin: 4px 0; }
.price-cta { display: flex; flex-direction: column; gap: 8px; }

.faq { max-width: 760px; }
details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px 16px;
  margin-bottom: 8px;
}
summary {
  cursor: pointer;
  font-weight: 600;
  padding: 12px 0;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 500;
}
details[open] summary::after { content: "–"; }
details p { margin: 0 0 14px; color: var(--muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}
.contact-grid h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.person {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.person-photo {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  background: #EEEDE8;
  color: var(--ink-soft);
  flex: 0 0 72px;
  display: grid;
  place-items: center;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.person strong { display: block; font-size: 16px; }
.person .role { margin: 2px 0 8px; color: var(--muted); font-size: 14px; }
.person a { color: var(--ink); font-weight: 500; }
.person a:hover { color: var(--accent-ink); }

label { display: block; font-size: 13px; font-weight: 550; color: var(--ink-soft); margin: 12px 0 4px; }
input, textarea, select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(26, 26, 26, 0.16);
  border-color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.form-ok {
  display: none;
  background: #EEF3E8;
  color: var(--ink);
  border: 1px solid #D3DCC8;
  border-radius: 8px;
  padding: 12px;
  margin-top: 12px;
}
.form-err {
  display: none;
  background: #F8EFE8;
  color: var(--ink);
  border: 1px solid #E8D3C4;
  border-radius: 8px;
  padding: 12px;
  margin-top: 12px;
}
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.login-box { max-width: 420px; }
.login-box h1 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.login-domain {
  display: flex;
  align-items: center;
  gap: 8px;
}
.login-domain input { flex: 1; }
.login-domain span { color: var(--muted); white-space: nowrap; font-size: 14px; }

.footer {
  background: var(--paper);
  color: var(--muted);
  padding: 40px 0 28px;
  font-size: 14px;
  border-top: 1px solid var(--line);
}
.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--ink); }
.foot-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.foot-brand p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; align-content: flex-start; }
.legal { color: var(--muted); font-size: 12.5px; margin: 0; }

.page { padding: 56px 0 80px; }
.page h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.prose { max-width: 680px; }
.prose h2 { margin: 28px 0 8px; font-size: 18px; font-weight: 600; }
.prose p, .prose li { color: var(--ink-soft); }
.prose a { color: var(--accent-ink); font-weight: 550; }

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.notfound h1 { font-size: 64px; margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -0.04em; }

@media (max-width: 1100px) {
  .hero-grid, .product-hero, .showcase, .split, .price-card, .contact-grid {
    grid-template-columns: 1fr;
  }
  .showcase.flip .showcase-copy { order: 0; }
  .product-hero { grid-template-columns: 1fr; }
  .product-side { display: none; }
  .product-panel { border-left: 0; border-top: 1px solid #C5D3BB; }
  .hero { padding-top: 36px; }
  .hero-grid { gap: 28px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: var(--nav-h);
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a, .nav-links .btn { width: 100%; justify-content: center; }
  .nav-links .nav-actions {
    margin: 8px 0 0;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li { border-left: 0; border-top: 1px solid var(--line); }
  .timeline li:first-child { border-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .mini-cal { grid-template-columns: 1fr 1fr; }
  section { padding: 52px 0; }
  .showcase + .showcase { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* —— Tool preview —— */
.tool-page { background: var(--bg); }
.tool-banner {
  background: #F3F3EF;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 0;
}
.tool-banner .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.tool-banner p { margin: 0; }
.tool-shell {
  width: min(1240px, calc(100% - 24px));
  margin: 20px auto 48px;
  background: var(--bg);
  border: 1px solid #D3DCC8;
  border-radius: 10px;
  min-height: calc(100vh - var(--nav-h) - 140px);
  display: grid;
  grid-template-columns: 220px 1fr minmax(280px, 340px);
  overflow: hidden;
}
.tool-side {
  background: #262626;
  color: var(--on-dark);
  padding: 18px 12px;
}
.tool-side h2 {
  margin: 0 12px 16px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244, 244, 238, 0.45);
  font-weight: 600;
}
.tool-nav { display: flex; flex-direction: column; gap: 4px; }
.tool-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: rgba(244, 244, 238, 0.78);
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 550;
  cursor: pointer;
}
.tool-nav button:hover { background: rgba(244, 244, 238, 0.08); color: var(--on-dark); }
.tool-nav button.on { background: rgba(255, 127, 17, 0.16); color: var(--accent); }
.tool-nav svg { width: 18px; height: 18px; flex: 0 0 18px; }
.tool-main { padding: 20px; min-width: 0; }
.tool-main h1 { margin: 0 0 6px; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.tool-lead { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.tool-view { display: none; }
.tool-view.on { display: block; }
.tool-panel {
  background: var(--card);
  border-left: 1px solid #C5D3BB;
  padding: 18px;
  min-width: 0;
}
.tool-panel h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.tool-empty { color: var(--muted); font-size: 14px; }
.tool-meta { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tool-search { width: 100%; margin-bottom: 12px; }
.tool-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  background: var(--card);
  border: 1px solid #C5D3BB;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 6px;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.tool-row:hover, .tool-row.on { background: var(--row-hover); border-color: var(--sage); }
.tool-row small { color: var(--muted); display: block; font-size: 11.5px; }
.cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal-head, .cal-day {
  background: var(--card);
  border: 1px solid #C5D3BB;
  border-radius: 8px;
  padding: 8px 6px;
  min-height: 72px;
  font-size: 12px;
}
.cal-head {
  min-height: 0;
  text-align: center;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 0;
}
.cal-day strong { display: block; margin-bottom: 6px; }
.cal-day button {
  display: block;
  width: 100%;
  background: var(--row-hover);
  border: 0;
  border-radius: 6px;
  padding: 4px 6px;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.cal-day.today { border-color: var(--accent); }
.drop {
  border: 1px dashed var(--input);
  border-radius: 8px;
  padding: 28px 16px;
  text-align: center;
  background: var(--card);
  color: var(--muted);
  margin-bottom: 16px;
}
.drop strong { display: block; color: var(--ink); margin-bottom: 6px; }
.search-box { display: flex; gap: 8px; margin-bottom: 12px; }
.search-box input { flex: 1; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  background: var(--ink);
  color: var(--on-dark);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 550;
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  max-width: min(440px, calc(100% - 32px));
  text-align: center;
  transition: opacity .2s, transform .2s;
}
.toast.on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 980px) {
  .tool-shell { grid-template-columns: 1fr; }
  .tool-side { padding: 12px; }
  .tool-nav { flex-direction: row; flex-wrap: wrap; }
  .tool-nav button { width: auto; }
  .tool-panel { border-left: 0; border-top: 1px solid #C5D3BB; }
  .cal { grid-template-columns: repeat(2, 1fr); }
}
