/* style.css */
:root {
  color-scheme: dark;
  --ink: #f7f0d9;
  --muted: #bfb496;
  --soft: #7f765e;
  --paper: #1b170d;
  --panel: #252014;
  --panel-2: #302917;
  --line: rgba(242, 191, 51, .19);
  --gold: #f4b92e;
  --honey: #d98c18;
  --cream: #fff4c9;
  --moss: #87a55a;
  --rose: #d77854;
  --danger: #ec7658;
  --shadow: 0 18px 45px rgba(0, 0, 0, .25);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --ink: #2d281b;
  --muted: #625a49;
  --soft: #807361;
  --paper: #fbf6e7;
  --panel: #fffdf7;
  --panel-2: #f7efd6;
  --line: rgba(128, 91, 17, .18);
  --gold: #b56e00;
  --honey: #d4870c;
  --cream: #fff4c9;
  --moss: #587a39;
  --rose: #b95031;
  --danger: #b63e2c;
  --shadow: 0 18px 45px rgba(87, 64, 16, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.honeycomb-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background-image:
    linear-gradient(30deg, transparent 24%, var(--line) 25%, var(--line) 26%, transparent 27%, transparent 74%, var(--line) 75%, var(--line) 76%, transparent 77%),
    linear-gradient(150deg, transparent 24%, var(--line) 25%, var(--line) 26%, transparent 27%, transparent 74%, var(--line) 75%, var(--line) 76%, transparent 77%);
  background-size: 54px 94px;
  background-position: 0 0, 0 0;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}
.topbar {
  min-height: 78px;
  padding: 12px max(20px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  letter-spacing: .05em;
}
.brand strong {
  display: block;
  font-size: 1.1rem;
  letter-spacing: .15em;
  line-height: 1;
}
.brand small { display: block; color: var(--muted); font-size: .65rem; margin-top: 5px; letter-spacing: .08em; }
.bee-mark {
  width: 38px;
  height: 38px;
  position: relative;
  display: inline-block;
  border-radius: 50% 48% 50% 48%;
  background: repeating-linear-gradient(90deg, #382811 0 6px, var(--gold) 6px 14px);
  transform: rotate(-22deg);
  border: 2px solid #382811;
}
.bee-mark::before, .bee-mark::after {
  content: "";
  position: absolute;
  width: 21px;
  height: 13px;
  background: rgba(238, 241, 219, .76);
  border: 1px solid rgba(63, 52, 26, .4);
  border-radius: 100% 20% 100% 20%;
  top: -9px;
}
.bee-mark::before { left: 3px; transform: rotate(-30deg); }
.bee-mark::after { right: 1px; transform: rotate(39deg) scaleX(-1); }
.bee-mark i { position: absolute; left: -6px; top: 14px; width: 11px; height: 10px; background: #342713; border-radius: 50%; }
.bee-mark b { position: absolute; right: -6px; top: 16px; width: 10px; height: 2px; background: #342713; transform: rotate(-10deg); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .print-button, .secondary-btn, .danger-link {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--panel);
}
.icon-button { width: 44px; display: grid; place-items: center; }
.sun-dot { width: 16px; height: 16px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 20%, transparent); }
.print-button { padding: 0 15px; font-weight: 700; font-size: .85rem; }
.app-shell { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.tabs {
  padding: 19px 0 8px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  white-space: nowrap;
  min-height: 44px;
  padding: 0 15px;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 9px;
  font-weight: 700;
}
.tab.active { color: #2c210c; background: var(--gold); }
.view { display: none; padding: 25px 0 65px; animation: appear .22s ease; }
.view.active { display: block; }
@keyframes appear { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.eyebrow {
  color: var(--gold);
  font-size: .74rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.15rem, 6vw, 4.5rem); line-height: .99; letter-spacing: -.055em; margin-bottom: 20px; }
h1 span { color: var(--gold); }
h2 { line-height: 1.1; letter-spacing: -.035em; }
.hero-grid { display: grid; grid-template-columns: 1.55fr .9fr; gap: 18px; }
.hero-card, .quick-start, .info-panel, .warning-panel, .region-card, .action-card, .triage-tool, .result-card, .flow-section, .note-form, .notebook-tips, .notes-list-section {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-card {
  min-height: 420px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 13%, rgba(242, 182, 41, .18) 0 12%, transparent 12.3%),
    radial-gradient(circle at 85% 33%, rgba(242, 182, 41, .12) 0 6%, transparent 6.3%),
    linear-gradient(135deg, #2b2515, #17140d);
  position: relative;
  overflow: hidden;
}
:root[data-theme="light"] .hero-card { background: linear-gradient(135deg, #fff7dd, #eee1b8); }
.hero-card::after {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  right: -88px;
  bottom: -122px;
  border: 34px solid rgba(244, 185, 46, .16);
  border-radius: 35%;
  transform: rotate(25deg);
}
.lede { max-width: 660px; font-size: 1.05rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 27px 0 18px; }
.primary-btn {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  color: #2d230e;
  background: var(--gold);
  font-weight: 800;
}
.primary-btn span { margin-left: 8px; font-size: 1.2em; }
.secondary-btn { padding: 0 16px; font-weight: 700; }
.fineprint { font-size: .76rem; max-width: 630px; color: var(--soft); }
.quick-start { padding: 28px; border-radius: 28px; background: var(--panel); }
.hex-title { display: flex; gap: 10px; align-items: center; }
.hex-title > span, .footer-mark {
  flex: 0 0 auto;
  width: 20px;
  height: 23px;
  background: var(--gold);
  clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);
}
.hex-title h2 { margin: 0; font-size: 1.2rem; }
.plan-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 17px; }
.plan-list li { display: flex; align-items: flex-start; gap: 11px; }
.plan-list b { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; background: var(--panel-2); color: var(--gold); font-size: .75rem; }
.plan-list strong, .plan-list small { display: block; }
.plan-list small { color: var(--muted); font-size: .83rem; margin-top: 2px; }
.section-intro { margin: 75px 0 17px; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.section-intro h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); margin-bottom: 8px; }
.section-intro p { color: var(--muted); max-width: 650px; margin-bottom: 0; }
.select-wrap { width: min(100%, 315px); display: grid; gap: 6px; font-size: .78rem; font-weight: 800; color: var(--muted); }
.select-wrap select, .form-row input, .form-row select, textarea {
  min-height: 46px;
  border-radius: 9px;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0 12px;
}
.region-card {
  background: linear-gradient(105deg, color-mix(in srgb, var(--gold) 13%, var(--panel)), var(--panel));
  border-radius: 16px;
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 18px;
}
.region-card h3 { margin: 0; font-size: 1.24rem; }
.region-label { color: var(--muted); margin: 4px 0 0; font-size: .88rem; }
.region-badge { grid-row: span 2; min-width: 76px; padding: 9px; align-self: center; text-align: center; color: #32280e; background: var(--gold); clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); font-size: .67rem; line-height: 1.1; font-weight: 900; text-transform: uppercase; }
.region-card ul { grid-column: 1 / -1; margin: 10px 0 0; padding-left: 20px; color: var(--muted); columns: 2; font-size: .9rem; }
.region-card li { padding: 3px 0; }
.region-caution { grid-column: 1 / -1; padding: 11px 13px; margin: 9px 0 0; font-size: .88rem; color: var(--ink); background: rgba(210, 109, 50, .12); border-left: 3px solid var(--rose); border-radius: 0 8px 8px 0; }
.home-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0; }
.action-card { border-radius: 18px; padding: 25px; background: var(--panel); position: relative; overflow: hidden; }
.action-card::after { content: ""; width: 90px; height: 103px; right: -34px; bottom: -40px; position: absolute; opacity: .14; background: currentColor; clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); }
.action-card.gold { color: var(--gold); } .action-card.moss { color: var(--moss); } .action-card.rose { color: var(--rose); }
.action-card h3, .action-card p { color: var(--ink); }
.action-card p { color: var(--muted); font-size: .9rem; min-height: 66px; }
.card-number { font-size: .73rem; font-weight: 900; letter-spacing: .1em; }
.action-card button { color: currentColor; background: transparent; border: 0; padding: 8px 0; font-weight: 800; }
.foundation-grid { margin-top: 18px; display: grid; grid-template-columns: 1.35fr .85fr; gap: 16px; }
.info-panel, .warning-panel { border-radius: 18px; padding: 27px; background: var(--panel); }
.check-list { padding: 0; margin: 20px 0 0; list-style: none; display: grid; gap: 11px; color: var(--muted); }
.check-list li { padding-left: 26px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .44em; width: 12px; height: 7px; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(-45deg); }
.warning-panel { background: linear-gradient(145deg, rgba(201, 82, 40, .14), var(--panel)); border-color: rgba(217, 120, 84, .35); }
.warning-panel h2 { font-size: 1.42rem; }
.warning-panel p:last-child { color: var(--muted); margin-bottom: 0; }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 15px 0 28px; }
.page-heading h1 { font-size: clamp(2.15rem, 5vw, 3.7rem); margin-bottom: 8px; }
.page-heading > div > p:last-child { margin: 0; color: var(--muted); max-width: 660px; }
.search-wrap { min-width: min(100%, 340px); height: 48px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid var(--line); background: var(--panel); border-radius: 10px; }
.search-icon { width: 15px; height: 15px; border: 2px solid var(--muted); border-radius: 50%; position: relative; }
.search-icon::after { content: ""; position: absolute; width: 7px; height: 2px; background: var(--muted); right: -5px; bottom: -3px; transform: rotate(45deg); }
.search-wrap input { border: 0; outline: 0; padding: 0; color: var(--ink); background: transparent; min-width: 0; width: 100%; }
.guide-layout { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: start; }
.guide-sidebar { position: sticky; top: 105px; padding: 15px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.guide-sidebar > p { font-size: .75rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.guide-sidebar button { display: flex; align-items: center; text-align: left; gap: 9px; padding: 8px; width: 100%; border: 0; color: var(--muted); background: transparent; font-size: .79rem; }
.guide-sidebar button:hover { color: var(--gold); }
.guide-sidebar button.muted { opacity: .35; }
.guide-sidebar button span { flex: 0 0 25px; color: var(--gold); font-weight: 900; font-size: .67rem; }
.guide-content { display: grid; gap: 17px; }
.guide-section { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 31px); display: grid; grid-template-columns: 47px 1fr; gap: 17px; scroll-margin-top: 100px; }
.section-index { height: 42px; display: grid; place-items: center; color: #33280c; background: var(--gold); clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); font-weight: 900; font-size: .74rem; }
.guide-section h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 1px 0 10px; }
.section-summary { color: var(--muted); max-width: 800px; }
.detail-grid { display: grid; gap: 9px; margin-top: 20px; }
details { border: 1px solid var(--line); background: color-mix(in srgb, var(--panel-2) 65%, transparent); border-radius: 10px; }
summary { list-style: none; min-height: 48px; padding: 13px 16px; display: flex; justify-content: space-between; gap: 10px; align-items: center; font-weight: 800; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--gold); font-size: 1.2rem; }
details[open] summary span { transform: rotate(45deg); }
details ul { color: var(--muted); margin: 0; padding: 0 18px 16px 35px; }
details li { padding: 5px 0; }
.site-diagram { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; margin: 23px 0 4px; background: #d9c991; color: #302b18; }
.site-diagram figcaption { padding: 11px 15px; background: #bba760; font-weight: 900; font-size: .85rem; }
.site-diagram > p { margin: 0; padding: 9px 15px; background: #eee0b3; font-size: .78rem; }
.site-map { min-height: 245px; position: relative; overflow: hidden; background: linear-gradient(155deg, #c9db93, #87ac70); }
.site-map > div { position: absolute; font-size: .7rem; font-weight: 800; text-align: center; }
.sun { top: 18px; left: 14px; width: 51px; height: 51px; padding-top: 11px; border-radius: 50%; background: #f8d657; }
.wind { top: 20px; right: 15px; color: #365e75; }.wind span { font-size: 1.6rem; }
.hedge { left: 22%; top: 72px; width: 56%; color: #fff; padding: 7px; border-radius: 22px; background: #4e7b3e; }
.hive-shape { left: 21%; bottom: 34px; width: 74px; height: 61px; padding-top: 39px; border: 3px solid #6f4115; border-radius: 4px; background: repeating-linear-gradient(#e5b541 0 10px, #7c4a16 10px 13px); }
.hive-shape i { position: absolute; left: 13px; right: 13px; height: 3px; background: #6b4219; }.hive-shape i:first-child { top: 17px; }.hive-shape i:nth-child(2) { top: 30px; }
.flight-path { left: 41%; bottom: 57px; color: #3b4c24; transform: rotate(-28deg); }.flight-path span { font-size: 2rem; }
.water { right: 12%; bottom: 20px; width: 57px; height: 43px; padding-top: 8px; color: white; background: #4d8caf; border-radius: 48% 52% 50% 50%; }
.work-zone { right: 24%; bottom: 33px; color: #5c5130; border: 1px dashed #5c5130; padding: 15px 7px; transform: rotate(-4deg); }
.empty-state { padding: 44px 20px; text-align: center; border: 1px dashed var(--line); border-radius: 15px; color: var(--muted); }
.triage-tool { border-radius: 19px; overflow: hidden; background: var(--panel); }
.triage-step { padding: 27px; border-bottom: 1px solid var(--line); }
.triage-step:last-child { border-bottom: 0; }
.step-tag { display: inline-block; background: var(--gold); color: #33280d; border-radius: 5px; padding: 3px 7px; font-size: .69rem; font-weight: 900; text-transform: uppercase; }
.triage-step h2 { font-size: 1.35rem; margin: 10px 0 18px; }
.choice-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.choice, .symptom { border: 1px solid var(--line); background: var(--panel-2); color: var(--ink); border-radius: 10px; min-height: 68px; padding: 10px; font-weight: 750; text-align: left; }
.choice { display: flex; align-items: center; gap: 8px; font-size: .82rem; }
.choice.selected, .symptom.selected { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 15%, var(--panel-2)); }
.mini-hex { display: grid; place-items: center; flex: 0 0 auto; width: 25px; height: 28px; background: var(--gold); color: #31270d; font-size: .65rem; clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); }
.symptom-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.symptom { min-height: 48px; display: flex; align-items: center; gap: 10px; }
.symptom-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.diagnosis-result { margin-top: 17px; }
.result-card { border-radius: 18px; background: var(--panel); padding: clamp(22px, 4vw, 35px); border-left: 5px solid var(--gold); }
.result-card.alert { border-left-color: var(--rose); }.result-card.critical { border-left-color: var(--danger); background: linear-gradient(110deg, rgba(205, 55, 33, .15), var(--panel)); }.result-card.good { border-left-color: var(--moss); }
.result-top { display: flex; align-items: start; justify-content: space-between; gap: 14px; }.result-top h2 { margin-bottom: 0; }
.urgency { white-space: nowrap; padding: 5px 9px; border-radius: 30px; color: var(--ink); background: var(--panel-2); font-size: .76rem; font-weight: 800; }
.result-signs { margin: 22px 0; color: var(--muted); }
.result-actions { padding: 18px; background: color-mix(in srgb, var(--panel-2) 70%, transparent); border-radius: 10px; }
.result-actions h3 { margin-bottom: 8px; font-size: 1rem; }.result-actions ol { margin: 0; padding-left: 22px; color: var(--muted); }.result-actions li { padding: 4px 0; }
.flow-section { margin-top: 18px; padding: clamp(20px, 4vw, 32px); border-radius: 18px; background: var(--panel); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; }.section-heading h2 { margin: 0; }.section-heading > p { max-width: 400px; color: var(--muted); font-size: .88rem; margin: 0; }
.flowchart { display: flex; align-items: stretch; gap: 8px; overflow-x: auto; padding: 25px 0 4px; }
.flow-node { flex: 0 0 206px; display: grid; gap: 7px; align-content: start; min-height: 150px; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel-2); }
.flow-node b { color: var(--gold); }.flow-node span { color: var(--muted); font-size: .82rem; }.flow-node.start { border-color: var(--gold); }.flow-node.alert { border-color: var(--rose); }.flow-node.good { border-color: var(--moss); }
.flow-arrow { flex: 0 0 22px; align-self: center; color: var(--gold); font-size: 1.5rem; }
.season-wheel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 17px; }
.season-segment { min-height: 90px; padding: 13px; display: grid; gap: 7px; text-align: left; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.season-segment b { color: var(--gold); font-size: .73rem; }.season-segment span { font-weight: 800; }.season-segment.active { color: #31270d; background: var(--gold); border-color: var(--gold); }.season-segment.active b { color: #69500e; }
.task-board { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--panel); }
.task-heading { padding: 28px; display: flex; justify-content: space-between; gap: 18px; align-items: end; border-bottom: 1px solid var(--line); }.task-heading h2 { margin-bottom: 0; }.task-heading > p { color: var(--muted); max-width: 450px; margin: 0; }
.task-list { padding: 18px 27px; display: grid; gap: 7px; }
.task { display: flex; gap: 12px; align-items: center; min-height: 50px; cursor: pointer; color: var(--muted); }
.task input { position: absolute; opacity: 0; }.task-check { flex: 0 0 auto; width: 22px; height: 22px; border: 2px solid var(--soft); border-radius: 6px; }
.task input:checked + .task-check { border-color: var(--gold); background: var(--gold); position: relative; }.task input:checked + .task-check::after { content: ""; position: absolute; left: 5px; top: 2px; width: 7px; height: 11px; border-right: 3px solid #392a0b; border-bottom: 3px solid #392a0b; transform: rotate(40deg); }.task.done > span:last-child { color: var(--soft); text-decoration: line-through; }
.season-tip { padding: 18px 27px; background: color-mix(in srgb, var(--moss) 9%, var(--panel)); color: var(--muted); font-size: .9rem; }
.notebook-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 17px; }
.note-form, .notebook-tips, .notes-list-section { background: var(--panel); border-radius: 18px; padding: clamp(20px, 4vw, 30px); }
.note-form { display: grid; gap: 15px; }.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.note-form label { display: grid; gap: 6px; color: var(--muted); font-size: .78rem; font-weight: 800; }.note-form input, .note-form select, textarea { width: 100%; font-size: .93rem; color: var(--ink); font-weight: 500; } textarea { min-height: 155px; padding: 12px; resize: vertical; }
.notebook-tips { background: linear-gradient(145deg, color-mix(in srgb, var(--gold) 11%, var(--panel)), var(--panel)); }.notebook-tips ul { margin: 22px 0; padding-left: 19px; color: var(--muted); }.notebook-tips li { padding: 4px 0; }
.danger-link { display: block; width: 100%; color: var(--danger); padding: 0 12px; font-weight: 800; }
.notes-list-section { margin-top: 17px; }.notes-list-section .section-heading { margin-bottom: 22px; }.save-state { padding: 6px 9px; font-size: .75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 20px; }
.notes-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.note-card { padding: 19px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel-2); }.note-card-top { display: flex; justify-content: space-between; gap: 10px; }.note-date { color: var(--gold); font-size: .74rem; font-weight: 800; }.note-card h3 { margin: 2px 0 0; }.note-card p { color: var(--muted); font-size: .9rem; margin: 14px 0 0; }.note-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }.note-meta span { padding: 3px 6px; border-radius: 5px; font-size: .73rem; background: var(--panel); color: var(--muted); }.delete-note { color: var(--rose); padding: 3px; border: 0; background: transparent; font-size: .75rem; font-weight: 800; align-self: start; }.notebook-empty { grid-column: 1 / -1; }
footer { width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: 20px 0 31px; color: var(--soft); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; font-size: .78rem; }
.footer-mark { width: 15px; height: 17px; }

@media (max-width: 860px) {
  .hero-grid, .foundation-grid, .notebook-grid { grid-template-columns: 1fr; }
  .home-cards { grid-template-columns: 1fr; }
  .action-card p { min-height: 0; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar { display: none; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .choice:last-child { grid-column: span 2; }
  .page-heading, .section-intro { align-items: start; flex-direction: column; }
  .search-wrap, .select-wrap { width: 100%; }
  .region-card ul { columns: 1; }
  .notes-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .topbar { min-height: 65px; padding: 10px 16px; }.brand small, .print-button { display: none; }.brand strong { font-size: .95rem; }
  .app-shell { width: min(100% - 22px, 1240px); }.tabs { padding-top: 10px; }
  .view { padding-top: 16px; }.hero-card, .quick-start { border-radius: 18px; }.hero-card { min-height: 0; padding: 28px 22px; }
  h1 { font-size: 2.3rem; }.hero-actions { display: grid; }.hero-actions button { width: 100%; }
  .section-intro { margin-top: 48px; }.region-card { grid-template-columns: 1fr; }.region-badge { grid-row: auto; width: 80px; }.guide-section { grid-template-columns: 1fr; gap: 9px; }.section-index { width: 42px; }
  .triage-step { padding: 20px; }.choice-grid, .symptom-options { grid-template-columns: 1fr; }.choice:last-child { grid-column: auto; }
  .section-heading, .task-heading { align-items: start; flex-direction: column; }.season-wheel { grid-template-columns: repeat(2, 1fr); }.form-row { grid-template-columns: 1fr; }
  .site-map { min-height: 270px; }.hedge { left: 8%; width: 72%; }.hive-shape { left: 12%; }.flight-path { left: 37%; bottom: 61px; font-size: .6rem; }.work-zone { right: 3%; bottom: 85px; }.water { right: 7%; }
}
@media print {
  .topbar, .tabs, .guide-sidebar, .search-wrap, footer, .honeycomb-bg { display: none !important; }
  body { background: #fff; color: #111; }.app-shell { width: 100%; }.view { display: none !important; }.guide-section { break-inside: avoid; box-shadow: none; background: #fff; border-color: #aaa; }.guide-section details { background: #fff; }.guide-section details:not([open]) { display: block; }.guide-section details:not([open]) ul { display: block; padding-bottom: 16px; }.guide-section summary span { display: none; }
  #guideView { display: block !important; padding: 0; }.page-heading { display: block; }.page-heading h1 { font-size: 2rem; }.guide-layout { display: block; }.guide-content { display: block; }.guide-section { margin: 0 0 12px; }.view { color: #111; }
}
