/* Guia Editorial de Flores */
:root {
  --bg: #fbf7ee;
  --bg-alt: #f4ecd9;
  --surface: #ffffff;
  --surface-2: #fdfaf3;
  --ink: #1e241d;
  --ink-2: #4b5547;
  --ink-3: #6f786a;
  --line: #e6dcc4;
  --line-2: #efe7d4;
  --honey: #f2b30c;
  --honey-deep: #c98a00;
  --honey-ink: #8a5b00;
  --honey-soft: #fdf0c8;
  --green: #1f4a32;
  --green-2: #2f6b47;
  --green-soft: #e3efe4;
  --danger: #b3261e;
  --shadow: 0 1px 2px rgba(40, 32, 10, .06), 0 6px 20px rgba(40, 32, 10, .07);
  --shadow-lg: 0 10px 40px rgba(40, 32, 10, .16);
  --radius: 18px;
  --radius-sm: 10px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121611; --bg-alt: #181e17; --surface: #1b2219; --surface-2: #20281e;
    --ink: #eef0e8; --ink-2: #c3cabb; --ink-3: #98a190; --line: #2e382b; --line-2: #263023;
    --honey: #f5be2a; --honey-deep: #f5be2a; --honey-ink: #f7cc55; --honey-soft: #3a3014;
    --green: #9ed3ad; --green-2: #7cc093; --green-soft: #1f3226; --danger: #ff8a80;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.25); --shadow-lg: 0 10px 40px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121611; --bg-alt: #181e17; --surface: #1b2219; --surface-2: #20281e;
  --ink: #eef0e8; --ink-2: #c3cabb; --ink-3: #98a190; --line: #2e382b; --line-2: #263023;
  --honey: #f5be2a; --honey-deep: #f5be2a; --honey-ink: #f7cc55; --honey-soft: #3a3014;
  --green: #9ed3ad; --green-2: #7cc093; --green-soft: #1f3226; --danger: #ff8a80;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.25); --shadow-lg: 0 10px 40px rgba(0,0,0,.5);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--green-2); text-underline-offset: 3px; }
a:hover { color: var(--honey-ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; color: var(--ink); letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--honey); color: #1e241d; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-3); }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--honey-ink); margin-bottom: .9em; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--honey); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-2); }
.hdr { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-alt); color: var(--ink); }
.hdr-actions { display: flex; gap: 6px; align-items: center; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; position: relative; color: var(--ink); text-decoration: none; }
.icon-btn:hover { border-color: var(--honey); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.badge { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--honey); color: #1e241d; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.badge[hidden] { display: none; }
.menu-btn { display: none; }
@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .menu-btn { display: inline-grid; }
  .hdr-actions { margin-left: auto; }
  .brand img { height: 28px; }
}

/* Search overlay */
.search-ov { position: fixed; inset: 0; background: rgba(15, 20, 14, .55); z-index: 90; display: none; padding: 9vh 16px 16px; }
.search-ov.open { display: block; }
.search-box { max-width: 680px; margin: 0 auto; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.search-box .field { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.search-box input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 1.15rem; min-width: 0; }
.search-res { max-height: 60vh; overflow: auto; padding: 8px; }
.sr-item { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.sr-item:hover, .sr-item.active { background: var(--bg-alt); color: var(--ink); }
.sr-item .th { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; padding: 2px; }
.sr-item small { display: block; color: var(--ink-3); font-size: .82rem; }
.sr-kind { margin-left: auto; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.sr-empty { padding: 20px; color: var(--ink-3); text-align: center; }

/* Buttons & chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s; line-height: 1.2; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--honey); color: #1e241d; }
.btn-primary:hover { background: #ffc629; color: #1e241d; }
.btn-dark { background: var(--green); color: #fff; }
:root[data-theme="dark"] .btn-dark { color: #10200f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-dark { color: #10200f; } }
.btn-dark:hover { background: var(--green-2); color: #fff; }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--honey); color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn.on { background: var(--honey-soft); border-color: var(--honey); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .9rem; cursor: pointer; color: var(--ink-2); text-decoration: none; user-select: none; line-height: 1.3; }
.chip:hover { border-color: var(--honey); color: var(--ink); }
.chip[aria-pressed="true"], .chip.on { background: var(--green); border-color: var(--green); color: #fff; }
:root[data-theme="dark"] .chip[aria-pressed="true"], :root[data-theme="dark"] .chip.on { color: #10200f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip[aria-pressed="true"], :root:not([data-theme="light"]) .chip.on { color: #10200f; } }
.chip .sw { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.chip .ct { font-size: .75rem; opacity: .7; }
.tag { display: inline-block; font-size: .78rem; padding: 3px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-2); text-decoration: none; }
.tag:hover { background: var(--honey-soft); color: var(--ink); }

/* Hero */
.hero { padding: 56px 0 40px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-grid > *, .fhero > *, .layout-article > *, .explorer > * { min-width: 0; }
.hero h1 em { font-style: italic; color: var(--green-2); }
.hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 560px; }
.hero-search { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; width: 100%; max-width: 560px; box-shadow: var(--shadow); cursor: text; font: inherit; margin: 24px 0 18px; }
.hero-search .btn { flex-shrink: 0; }
.hero-search span:not(.btn) { color: var(--ink-3); flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-search svg { width: 20px; color: var(--ink-3); flex-shrink: 0; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 460px; margin-left: auto; width: 100%; }
.hero-art .blob { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--honey-soft), var(--bg-alt) 70%); }
.hero-art .hf { position: absolute; width: 50%; aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 5px solid var(--surface); transition: transform .5s; display: block; }
.hero-art .hf img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .hf span { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,.92); color: #1e241d; font: 600 .78rem/1 var(--sans); padding: 6px 10px; border-radius: 999px; }
.hero-art .hf:nth-child(2) { left: 0; top: 10%; transform: rotate(-6deg); }
.hero-art .hf:nth-child(3) { right: 0; top: 0; width: 44%; transform: rotate(5deg); }
.hero-art .hf:nth-child(4) { left: 30%; bottom: 0; width: 46%; transform: rotate(-1deg); z-index: 2; }
.hero-art .hf:hover { transform: scale(1.04) rotate(0); z-index: 3; }
.stats { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 10px; }
.stats b { display: block; font: 600 1.6rem/1 var(--serif); color: var(--ink); }
.stats span { font-size: .85rem; color: var(--ink-3); }
@media (max-width: 860px) {
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 240px; margin: 0 auto; order: -1; }
}

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-alt); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 6px 0 0; color: var(--ink-2); max-width: 620px; }

/* Explore tiles (home) */
.explore-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden; min-height: 118px; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--honey); color: var(--ink); }
.tile .ti { font-size: 1.7rem; line-height: 1; margin-bottom: 6px; }
.tile b { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; }
.tile small { color: var(--ink-3); font-size: .85rem; }
.tile .dots { display: flex; gap: 4px; margin-top: auto; padding-top: 8px; }
.tile .dots i { width: 10px; height: 10px; border-radius: 50%; }

/* Flower cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; position: relative; }
.card:hover { box-shadow: var(--shadow); }
.card .art { aspect-ratio: 4/3; display: grid; place-items: center; position: relative; text-decoration: none; background: color-mix(in srgb, var(--c, #f2b30c) 15%, var(--surface-2)); }
.daily .art, .modal-card .art { background: color-mix(in srgb, var(--c, #f2b30c) 16%, var(--surface-2)); }
.card .art img { width: 62%; height: 88%; object-fit: contain; transition: transform .35s; }
.card:hover .art img { transform: scale(1.05) rotate(-2deg); }
.card .art { overflow: hidden; }
.card .art img.photo, .modal-card .art img.photo, .daily .art img.photo { width: 100%; height: 100%; object-fit: cover; }
.card:hover .art img.photo { transform: scale(1.05); }
.grid.list .card .art img.photo { width: 100%; }
.modal-card .art { overflow: hidden; }
.daily .art { overflow: hidden; }
.spin img.photo { animation: fade .5s ease; }
.photo-fig { margin: 0; display: block !important; aspect-ratio: auto !important; background: none !important; }
.photo-fig img { width: 100% !important; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 28px; filter: none !important; box-shadow: var(--shadow); }
.photo-fig figcaption { font-size: .76rem; color: var(--ink-3); margin-top: 8px; line-height: 1.4; }
.photo-fig figcaption a { color: var(--ink-3); }
.tl-row > a img { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.cmp-head img { width: 120px !important; height: 90px; object-fit: cover; border-radius: 12px; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 1.2rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--green-2); }
.card .sci { font-style: italic; color: var(--ink-3); font-size: .86rem; margin-top: -6px; }
.card .sum { font-size: .92rem; color: var(--ink-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.mi { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; padding: 3px 9px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-2); white-space: nowrap; }
.mi.easy { background: var(--green-soft); color: var(--green); }
.mi.hard { background: #fbe3df; color: #8c2a1f; }
:root[data-theme="dark"] .mi.hard { background: #3a1f1b; color: #ffb4a8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mi.hard { background: #3a1f1b; color: #ffb4a8; } }
.card-actions { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; z-index: 2; }
.fav-btn, .cmp-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--surface) 88%, transparent); display: grid; place-items: center; cursor: pointer; color: var(--ink-2); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.fav-btn svg, .cmp-btn svg { width: 18px; height: 18px; }
.fav-btn[aria-pressed="true"] { color: #d6336c; }
.fav-btn[aria-pressed="true"] svg { fill: currentColor; }
.cmp-btn[aria-pressed="true"] { background: var(--honey); color: #1e241d; }
.bloom-now { position: absolute; left: 10px; top: 10px; font-size: .72rem; font-weight: 600; background: var(--surface); color: var(--green); padding: 4px 9px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.card .more { margin-top: auto; display: flex; gap: 8px; align-items: center; justify-content: space-between; padding-top: 6px; }
.expand-btn { background: none; border: 0; padding: 4px 0; color: var(--green-2); font-weight: 600; font-size: .88rem; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.expand-btn svg { width: 16px; transition: transform .2s; }
.card.expanded .expand-btn svg { transform: rotate(180deg); }
.card .extra { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.card.expanded .extra { grid-template-rows: 1fr; }
.card .extra > div { overflow: hidden; }
.facts-mini { list-style: none; margin: 4px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; font-size: .86rem; color: var(--ink-2); }
.facts-mini b { color: var(--ink); font-weight: 600; }
.months-mini { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; margin-top: 4px; }
.months-mini i { height: 7px; border-radius: 3px; background: var(--line); }
.months-mini i.on { background: var(--honey); }
.months-mini i.cur { outline: 2px solid var(--green-2); outline-offset: 1px; }
.link-arrow { font-weight: 600; font-size: .9rem; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* list view */
.grid.list { grid-template-columns: 1fr; gap: 10px; }
.grid.list .card { flex-direction: row; align-items: stretch; }
.grid.list .card .art { width: 130px; aspect-ratio: auto; flex-shrink: 0; }
.grid.list .card .art img { width: 80%; }
.grid.list .bloom-now { display: none; }
@media (max-width: 560px) { .grid.list .card .art { width: 96px; } .grid.list .card .sum { -webkit-line-clamp: 2; } }

/* Explorer */
.explorer { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 86px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 18px; max-height: calc(100vh - 100px); overflow: auto; }
.filters h2 { font-size: 1.15rem; display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.fgroup { border-top: 1px solid var(--line-2); padding: 14px 0 12px; }
.fgroup:first-of-type { border-top: 0; }
.fgroup > h3 { font: 600 .82rem/1 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin: 0 0 10px; }
.fgroup .chips { gap: 6px; }
.fgroup .chip { font-size: .84rem; padding: 6px 11px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; padding: 4px 0; font-size: .92rem; }
.toggle input { appearance: none; width: 40px; height: 24px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .2s; flex-shrink: 0; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle input:checked { background: var(--green-2); }
.toggle input:checked::after { transform: translateX(16px); }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.searchbar { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 16px; }
.searchbar:focus-within { border-color: var(--honey); }
.searchbar input { flex: 1; border: 0; outline: 0; background: transparent; padding: 8px 0; min-width: 0; }
.searchbar svg { width: 18px; color: var(--ink-3); flex-shrink: 0; }
.select { appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 36px 9px 14px; cursor: pointer; font-size: .92rem; }
.seg { display: inline-flex; background: var(--bg-alt); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: transparent; padding: 7px 12px; border-radius: 999px; cursor: pointer; display: grid; place-items: center; color: var(--ink-3); }
.seg button svg { width: 18px; height: 18px; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; align-items: center; min-height: 0; }
.active-filters .chip { background: var(--honey-soft); border-color: var(--honey); color: var(--ink); font-size: .82rem; padding: 5px 10px; }
.result-count { font-size: .92rem; color: var(--ink-3); margin-right: auto; }
.group-title { margin: 28px 0 12px; display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.group-title:first-child { margin-top: 0; }
.group-title .sw { width: 16px; height: 16px; border-radius: 50%; }
.group-title small { font: 400 .85rem var(--sans); color: var(--ink-3); }
.empty { text-align: center; padding: 50px 20px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.filters-toggle { display: none; }
@media (max-width: 960px) {
  .explorer { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: auto 0 0 0; top: auto; max-height: 85vh; border-radius: 22px 22px 0 0; z-index: 80; transform: translateY(105%); transition: transform .3s; box-shadow: var(--shadow-lg); }
  .filters.open { transform: none; }
  .filters-toggle { display: inline-flex; }
  .filters .close-f { display: inline-grid !important; }
}
.close-f { display: none !important; }
.scrim { position: fixed; inset: 0; background: rgba(15,20,14,.45); z-index: 79; display: none; }
.scrim.open { display: block; }
.apply-f { display: none; }
@media (max-width: 960px) { .apply-f { display: flex; width: 100%; margin-top: 12px; position: sticky; bottom: 0; } }

/* Random modal */
.modal { position: fixed; inset: 0; z-index: 95; display: none; place-items: center; padding: 16px; background: rgba(15,20,14,.55); }
.modal.open { display: grid; }
.modal-card { background: var(--surface); border-radius: 24px; max-width: 520px; width: 100%; box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .35s ease; max-height: 92vh; overflow-y: auto; }
@keyframes pop { from { transform: scale(.92); opacity: 0; } }
.modal-card .art { height: 220px; display: grid; place-items: center; }
.modal-card .art img { height: 88%; }
.modal-card .body { padding: 20px 22px 22px; }
.modal-card .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.spin img { animation: spin .6s ease; }
@keyframes spin { from { transform: rotate(-200deg) scale(.4); opacity: .2; } }

/* Flower page */
.crumbs { font-size: .86rem; color: var(--ink-3); padding-top: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--green-2); }
.fhero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-top: 26px; padding-bottom: 36px; }
.fhero .art { border-radius: 28px; aspect-ratio: 1; display: grid; place-items: center; position: relative; max-width: 480px; width: 100%; justify-self: end; }
.fhero .art img { width: 76%; filter: drop-shadow(0 12px 20px rgba(40,32,10,.15)); }
.fhero .sci { font-style: italic; color: var(--ink-3); font-size: 1.05rem; margin-top: -.4em; }
.fhero .lead { font-size: 1.12rem; color: var(--ink-2); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.byline { font-size: .85rem; color: var(--ink-3); margin-top: 16px; }
@media (max-width: 860px) { .fhero { grid-template-columns: 1fr; gap: 20px; } .fhero .art { justify-self: center; max-width: 340px; } }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.fact { background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 16px; }
.fact .k { display: flex; align-items: center; gap: 8px; font: 600 .76rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--honey-ink); margin-bottom: 8px; }
.fact .k span { font-size: 1.1rem; letter-spacing: 0; }
.fact p { margin: 0; font-size: .93rem; color: var(--ink-2); line-height: 1.5; }
.fact .meter { display: flex; gap: 4px; margin-top: 8px; }
.fact .meter i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.fact .meter i.on { background: var(--green-2); }
.calendar-bar { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin: 6px 0 4px; }
.calendar-bar div { text-align: center; font-size: .72rem; color: var(--ink-3); }
.calendar-bar div i { display: block; height: 26px; border-radius: 6px; background: var(--line-2); margin-bottom: 4px; }
.calendar-bar div.on i { background: linear-gradient(180deg, var(--honey), var(--honey-deep)); }
.calendar-bar div.cur { color: var(--ink); font-weight: 700; }
.calendar-bar div.cur i { outline: 2px solid var(--green-2); outline-offset: 2px; }
.layout-article { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 46px; align-items: start; }
.toc { position: sticky; top: 90px; font-size: .9rem; }
.toc b { display: block; font: 600 .76rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; color: var(--ink-2); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--ink); }
.toc a.active { border-left-color: var(--honey); color: var(--ink); font-weight: 600; }
@media (max-width: 960px) { .layout-article { grid-template-columns: 1fr; } .toc { display: none; } }
.prose { font-size: 1.06rem; }
.prose > section { margin-bottom: 44px; }
.prose h2 { margin-top: 0; padding-top: 4px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--honey-deep); }
.callout { background: var(--honey-soft); border-left: 4px solid var(--honey); border-radius: 0 14px 14px 0; padding: 16px 18px; margin: 18px 0; }
.callout p:last-child { margin: 0; }
.callout b { color: var(--honey-ink); }
.callout.green { background: var(--green-soft); border-left-color: var(--green-2); }
.callout.green b { color: var(--green); }
.acc { border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); margin-bottom: 10px; overflow: hidden; }
.acc summary { cursor: pointer; padding: 15px 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; color: var(--honey-deep); transition: transform .2s; line-height: 1; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc summary .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--honey-soft); font-size: .85rem; color: var(--honey-ink); flex-shrink: 0; }
.acc .acc-b { padding: 0 18px 16px; color: var(--ink-2); }
.acc .acc-b p:last-child { margin: 0; }
.acc-tools { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.acc-tools button { background: none; border: 0; color: var(--green-2); font-weight: 600; cursor: pointer; font-size: .88rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .94rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
th { background: var(--bg-alt); font-weight: 600; font-size: .85rem; }
tr:last-child td { border-bottom: 0; }
.tips { list-style: none; padding: 0; display: grid; gap: 10px; counter-reset: t; }
.tips li { background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 16px 14px 54px; position: relative; counter-increment: t; margin: 0; }
.tips li::before { content: counter(t); position: absolute; left: 14px; top: 13px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
:root[data-theme="dark"] .tips li::before { color: #10200f; }
.curios { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.curio { background: var(--surface); border-radius: 14px; padding: 16px; border: 1px solid var(--line-2); font-size: .95rem; position: relative; }
.curio::before { content: "✦"; color: var(--honey); display: block; font-size: 1.2rem; margin-bottom: 4px; }
.tags-row { display: flex; flex-wrap: wrap; gap: 6px; }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 30px 0; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.pager a { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--surface); }
.pager a:hover { border-color: var(--honey); }
.pager small { display: block; color: var(--ink-3); }
.pager a:last-child { text-align: right; }

/* Quiz */
.quiz { background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); max-width: 820px; margin: 0 auto; }
.progress { height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; margin-bottom: 22px; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--honey), var(--green-2)); transition: width .35s; }
.q-step { display: none; animation: fade .3s; }
.q-step.on { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.q-step h2 { font-size: 1.55rem; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 18px 0 24px; }
.opt { text-align: left; border: 1.5px solid var(--line); background: var(--surface-2); padding: 16px; border-radius: 16px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--honey); }
.opt[aria-pressed="true"] { border-color: var(--green-2); background: var(--green-soft); }
.opt .oi { font-size: 1.6rem; }
.opt b { font-weight: 600; }
.opt small { color: var(--ink-3); font-size: .84rem; line-height: 1.4; }
.q-nav { display: flex; justify-content: space-between; gap: 10px; }
.match { position: absolute; left: 10px; bottom: 10px; background: var(--green); color: #fff; font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 999px; }
:root[data-theme="dark"] .match { color: #10200f; }
.why { font-size: .82rem; color: var(--green); margin: 0; }
.why::before { content: "✓ "; font-weight: 700; }

/* Calendar */
.month-pick { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin-bottom: 26px; }
.month-pick button { border: 1.5px solid var(--line); background: var(--surface); border-radius: 12px; padding: 10px 0 8px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.month-pick button b { font-size: .92rem; }
.month-pick button small { font-size: .7rem; color: var(--ink-3); }
.month-pick button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.month-pick button[aria-pressed="true"] small { color: rgba(255,255,255,.8); }
:root[data-theme="dark"] .month-pick button[aria-pressed="true"] { color: #10200f; }
.month-pick .bar { width: 70%; height: 4px; border-radius: 3px; background: var(--honey); margin-top: 4px; }
@media (max-width: 700px) { .month-pick { grid-template-columns: repeat(6, 1fr); } }
.timeline { overflow-x: auto; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); }
.tl { min-width: 760px; }
.tl-row { display: grid; grid-template-columns: 200px repeat(12, 1fr); align-items: center; border-bottom: 1px solid var(--line-2); }
.tl-row:last-child { border-bottom: 0; }
.tl-row > a, .tl-row > span:first-child { padding: 8px 12px; font-size: .9rem; color: var(--ink); text-decoration: none; display: flex; gap: 8px; align-items: center; }
.tl-row > a img { width: 28px; height: 28px; }
.tl-row i { height: 16px; margin: 0 1px; background: transparent; }
.tl-row i.on { background: var(--honey); }
.tl-row i.on.s { border-radius: 8px 0 0 8px; }
.tl-row i.on.e { border-radius: 0 8px 8px 0; }
.tl-row i.on.s.e { border-radius: 8px; }
.tl-row i.cur { box-shadow: inset 0 0 0 2px var(--green-2); }
.tl-head { position: sticky; top: 0; background: var(--bg-alt); font-size: .78rem; font-weight: 600; color: var(--ink-3); }
.tl-head span { text-align: center; padding: 8px 0; }
.tl-head span:first-child { text-align: left; padding-left: 12px; }

/* Compare */
.cmp-table th:first-child { width: 160px; }
.cmp-table td { min-width: 180px; }
.cmp-head { text-align: center; }
.cmp-head img { width: 90px; margin: 0 auto 6px; }
.cmp-tray { position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 140%); z-index: 70; background: var(--green); color: #fff; border-radius: 999px; padding: 8px 8px 8px 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-lg); transition: transform .3s; max-width: calc(100% - 32px); }
.cmp-tray.show { transform: translate(-50%, 0); }
.cmp-tray .btn { padding: 8px 16px; }
.cmp-tray span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .92rem; }
:root[data-theme="dark"] .cmp-tray { color: #10200f; }

/* Guides */
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gcard { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; transition: transform .2s, box-shadow .2s; }
.gcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.gcard .gi { width: 48px; height: 48px; border-radius: 14px; background: var(--honey-soft); display: grid; place-items: center; font-size: 1.5rem; }
.gcard h3 { margin: 4px 0 0; }
.gcard p { color: var(--ink-2); font-size: .94rem; margin: 0; }
.gcard small { color: var(--ink-3); margin-top: auto; }

/* Theme page hero */
.page-hero { padding: 34px 0 28px; }
.page-hero .lead { font-size: 1.12rem; color: var(--ink-2); max-width: 760px; }
.intro-cols { columns: 2 340px; column-gap: 40px; color: var(--ink-2); }
.intro-cols p { break-inside: avoid; }

/* Footer */
.site-footer { background: #17251b; color: #cfd8cb; margin-top: 60px; padding: 50px 0 26px; font-size: .94rem; }
.site-footer a { color: #e7eee3; text-decoration: none; }
.site-footer a:hover { color: var(--honey); }
.fgrid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.fgrid h4 { color: #fff; font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.fgrid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fbottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: #9fae9a; }
.footer-logo { height: 30px; width: auto; margin-bottom: 14px; }
@media (max-width: 820px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid > div:first-child { grid-column: 1 / -1; } }

/* Cookie */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 85; max-width: 560px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-lg); display: none; font-size: .92rem; }
.cookie.show { display: block; }
.cookie p { margin: 0 0 12px; color: var(--ink-2); }
.cookie .row { display: flex; gap: 8px; flex-wrap: wrap; }

/* Misc */
.toast { position: fixed; left: 50%; top: 84px; transform: translate(-50%, -20px); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; z-index: 99; opacity: 0; pointer-events: none; transition: .25s; font-size: .92rem; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.daily { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px; padding: 24px; }
.daily .art { border-radius: 18px; aspect-ratio: 1; display: grid; place-items: center; }
.daily .art img { width: 80%; }
@media (max-width: 640px) { .daily { grid-template-columns: 1fr; } .daily .art { max-width: 200px; } }
.cta-band { background: var(--green); color: #e9f2ea; border-radius: 28px; padding: 38px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe0d2; margin: 0; }
:root[data-theme="dark"] .cta-band { background: #22402d; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta-band { background: #22402d; } }
@media (max-width: 700px) { .cta-band { grid-template-columns: 1fr; padding: 28px 22px; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.form input, .form textarea, .form select { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; background: var(--surface-2); margin-bottom: 14px; font: inherit; color: inherit; }
.form textarea { min-height: 140px; resize: vertical; }
.sitemap-cols { columns: 3 220px; column-gap: 30px; }
.sitemap-cols ul { margin-top: 0; }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .cookie, .actions, .share-row, .toc, .cmp-tray { display: none !important; } }
