:root {
  color-scheme:light;
  --forest:#183d32;
  --forest-dark:#113026;
  --green:#2b6651;
  --ink:#22372e;
  --muted:#68766e;
  --line:#e1e7e2;
  --paper:#fff;
  --ground:#f4f6f3;
  --side-width:220px;
  --plant-width:340px;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:16px;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:28px;
}

body {
  margin:0;
  background:var(--ground);
  color:var(--ink);
  line-height:1.5;
}

button,input,select {
  font:inherit;
}

button,a,input,select,summary {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

button:disabled {
  cursor:default;
  opacity:.45;
}

button,a,input,select,summary {
  outline-offset:4px;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible {
  outline:3px solid #ce8c43;
}

a {
  color:var(--green);
  text-underline-offset:3px;
}

button {
  color:inherit;
}

svg {
  flex-shrink:0;
}

h1,h2,h3,p {
  margin:0;
}

h2 {
  font-size:1.2rem;
  letter-spacing:-.025em;
  line-height:1.25;
}

h3 {
  line-height:1.3;
}

p+p {
  margin-top:12px;
}

[hidden] {
  display:none!important;
}

.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;
}

.skip-link {
  position:fixed;
  top:10px;
  left:10px;
  z-index:100;
  padding:10px 16px;
  background:white;
  transform:translateY(-150%);
}

.skip-link:focus {
  transform:translateY(0);
}

.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:var(--side-width);
  background:var(--forest);
  color:#f4f7ed;
  display:flex;
  flex-direction:column;
  padding:34px 26px;
  z-index:10;
}

.brand {
  display:flex;
  align-items:center;
  gap:11px;
  color:inherit;
  text-decoration:none;
  font-family:Georgia,serif;
  font-size:1.75rem;
  line-height:1.02;
  letter-spacing:-.04em;
}

.brand-icon {
  width:39px;
  height:42px;
  color:#d6e6b8;
}

.brand-second {
  display:block;
}

.sidebar-tagline {
  font-size:.875rem;
  color:#bdcec3;
  line-height:1.6;
  margin-top:25px;
}

.side-nav {
  display:flex;
  flex-direction:column;
  gap:9px;
  margin-top:38px;
}

.side-nav a {
  display:flex;
  align-items:center;
  gap:10px;
  color:#e0e9e2;
  text-decoration:none;
  font-size:.875rem;
  padding:10px 0;
  border-radius:6px;
}

.side-nav a:hover {
  color:#fff;
}

.nav-icon {
  width:18px;
  font-size:1.15rem;
  text-align:center;
  color:#b3cba9;
}

.sidebar-bottom {
  margin-top:auto;
  padding-top:42px;
}

.region-mark {
  display:flex;
  align-items:center;
  gap:10px;
  padding-bottom:22px;
  margin-bottom:21px;
  border-bottom:1px solid #456355;
  font-size:.875rem;
  color:#c0d1c6;
  line-height:1.4;
}

.region-mark strong {
  font-weight:600;
  color:#f1f5eb;
}

.region-mark svg {
  width:26px;
  height:32px;
  color:#d6e6b8;
}

.sidebar-bottom p {
  font-size:.8125rem;
  color:#a6beaf;
  line-height:1.6;
}

.sidebar-bottom a {
  color:#e2ecde;
  text-decoration:none;
  font-size:.875rem;
}

.sidebar-bottom a:hover {
  text-decoration:underline;
}

.edition-label {
  display:block;
  margin-top:24px;
  font-size:.75rem;
  line-height:1.6;
  color:#a6beaf;
}

.workspace {
  margin-left:var(--side-width);
  max-width:1660px;
  padding:38px 46px 22px;
}

.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:25px;
  margin-bottom:29px;
}

.eyebrow {
  font-size:.75rem;
  font-weight:650;
  letter-spacing:.13em;
  color:#647e69;
  line-height:1.3;
  margin-bottom:9px;
}

h1 {
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  font-size:clamp(2rem,3.1vw,3rem);
  letter-spacing:-.055em;
  line-height:1.12;
}

.page-intro {
  margin-top:12px;
  font-size:1rem;
  color:var(--muted);
}

.heading-source-link {
  margin-top:11px;
  white-space:nowrap;
}

.text-link {
  font-size:.875rem;
  text-decoration:none;
  border-bottom:1px solid #a0b4a5;
}

.card {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:13px;
  box-shadow:0 3px 8px #20352c03;
}

.palette-card {
  display:grid;
  grid-template-columns:minmax(0,1fr) 262px;
  overflow:hidden;
}

.palette-main {
  min-width:0;
  padding:22px 25px 20px;
}

.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.section-hint {
  font-size:.8125rem;
  color:var(--muted);
}

.palette-swatches {
  display:flex;
  gap:8px;
  align-items:stretch;
  flex-wrap:wrap;
  margin-top:20px;
}

.color-swatch {
  display:grid;
  grid-template-columns:27px auto;
  grid-template-rows:auto auto;
  column-gap:7px;
  align-items:center;
  min-width:87px;
  flex:1 0 15%;
  padding:7px 8px;
  text-align:left;
  border:1px solid transparent;
  border-radius:7px;
  background:transparent;
}

.swatch-chip {
  grid-row:1/3;
  width:27px;
  height:31px;
  background:var(--swatch-color);
  border-radius:6px;
  border:1px solid #0000000c;
  box-shadow:inset 0 0 0 2px #ffffff35;
}

.swatch-name {
  font-size:.875rem;
  font-weight:550;
  line-height:1.2;
}

.swatch-count {
  font-size:.75rem;
  line-height:1.4;
  color:var(--muted);
}

.color-swatch.is-selected {
  background:#f1f5ee;
  border-color:#7f9b82;
}

.color-swatch:hover {
  background:#f0f4ed;
}

.all-colors {
  font-size:.875rem;
  background:transparent;
  border:1px solid var(--line);
  border-radius:7px;
  min-width:88px;
  flex:1 0 15%;
  padding:8px;
}

.all-colors.is-selected {
  border-color:#7f9b82;
  background:#f1f5ee;
}

.spectrum-input {
  display:grid;
  grid-template-columns:auto minmax(120px,1fr);
  align-items:center;
  gap:16px;
  margin-top:18px;
}

.spectrum-input label {
  font-size:.875rem;
  color:var(--muted);
}

.hue-spectrum {
  -webkit-appearance:none;
  appearance:none;
  height:13px;
  border-radius:10px;
  margin:0;
  width:100%;
  background:linear-gradient(to right,#e13a3a,#e1de3a,#3ae13a,#3adee1,#3a3ae1,#de3ae1,#e13a3a);
  cursor:pointer;
}

.hue-spectrum::-webkit-slider-thumb {
  -webkit-appearance:none;
  appearance:none;
  width:22px;
  height:22px;
  border:3px solid #fff;
  background:transparent;
  border-radius:50%;
  box-shadow:0 0 0 1px #354f40,0 2px 5px #0003;
}

.hue-spectrum::-moz-range-thumb {
  width:16px;
  height:16px;
  border:3px solid white;
  background:transparent;
  border-radius:50%;
  box-shadow:0 0 0 1px #354f40;
}

.color-inspector {
  min-width:0;
  padding:22px 22px 18px;
  background:#f9faf7;
  border-left:1px solid var(--line);
}

.selected-color {
  display:flex;
  align-items:center;
  gap:12px;
}

.active-swatch {
  display:block;
  width:42px;
  height:42px;
  background:#d64045;
  border:1px solid #00000012;
  border-radius:9px;
  box-shadow:inset 0 0 0 3px #ffffff3a;
}

.field-label {
  font-size:.75rem;
  color:var(--muted);
  display:block;
}

.selected-color h3 {
  font-size:1.2rem;
  font-weight:550;
  letter-spacing:-.025em;
  margin-top:1px;
}











.color-note {
  font-size:.8125rem;
  line-height:1.55;
  color:var(--muted);
  margin-top:11px;
}

.calendar-section {
  margin-top:22px;
  padding:22px 25px 16px;
}

.calendar-heading {
  margin-bottom:18px;
}

.calendar-heading p {
  font-size:.875rem;
  color:var(--muted);
  margin-top:5px;
}

.calendar-key {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:.75rem;
  color:var(--muted);
  white-space:nowrap;
}

.calendar-key span {
  width:9px;
  height:9px;
  border-radius:3px;
  background:#89a785;
}

.calendar-scroll {
  overflow-x:auto;
  padding:3px 3px 5px;
  margin:-3px;
}

.summary-spectrum {
  min-width:620px;
}

.spectrum-months,.spectrum-row {
  display:grid;
  grid-template-columns:74px repeat(12,minmax(0,1fr));
  gap:5px;
  align-items:center;
}

.spectrum-months {
  font-size:.75rem;
  color:#77847b;
  text-align:center;
  padding-bottom:9px;
}

.spectrum-months .spectrum-label {
  text-align:left;
}

.spectrum-row {
  margin-bottom:5px;
  transition:opacity .18s;
}

.spectrum-row .spectrum-label {
  padding:0;
  text-align:left;
  border:0;
  background:transparent;
  font-size:.8125rem;
  font-weight:550;
  height:23px;
  display:flex;
  align-items:center;
  gap:7px;
}

.spectrum-row .spectrum-label::before {
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--bloom-color);
  border:1px solid #0001;
}

.spectrum-cell {
  position:relative;
  isolation:isolate;
  background:#f2f4f0;
  border:1px solid transparent;
  border-radius:4px;
  height:23px;
  line-height:1;
  font-size:.75rem;
  color:#6e7c72;
  padding:0;
}

.spectrum-cell.has-blooms {
  color:#23352a;
  border-color:#0000000d;
}

.spectrum-cell.has-blooms::before {
  content:"";
  position:absolute;
  inset:0;
  background:var(--bloom-color);
  opacity:calc(var(--strength)*.6);
  z-index:-1;
  border-radius:3px;
}

.spectrum-cell:hover {
  outline:1px solid #516b56;
  outline-offset:1px;
}

.spectrum-cell.is-active {
  outline:2px solid var(--forest);
  outline-offset:1px;
}

.spectrum-row.is-muted {
  opacity:.66;
}

.spectrum-row:hover {
  opacity:1;
}

.spectrum-row.is-selected .spectrum-label {
  font-weight:700;
  color:var(--forest);
}

.calendar-caption {
  font-size:.8125rem;
  color:var(--muted);
  margin-top:10px;
}

.matches-section {
  margin-top:31px;
}

.results-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}

.results-heading .eyebrow {
  margin-bottom:5px;
}

.results-heading h2 {
  font-family:Georgia,serif;
  font-size:1.85rem;
  font-weight:400;
  letter-spacing:-.035em;
}

.download-button {
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 14px;
  border:1px solid #cdd9cd;
  border-radius:7px;
  background:white;
  font-size:.875rem;
  font-weight:550;
}

.download-button svg {
  width:16px;
  height:16px;
}

.download-button:hover:not(:disabled) {
  background:#eaf0e6;
  border-color:#8fa589;
}

.source-note {
  font-size:.8125rem;
  color:var(--muted);
  margin-top:8px;
}

.filters {
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin:19px 0 15px;
}

.search-field {
  display:flex;
  align-items:center;
  gap:10px;
  background:white;
  border:1px solid #d8e0d8;
  border-radius:7px;
  min-width:180px;
  max-width:340px;
  flex:1;
  padding:0 12px;
}

.search-field svg {
  width:17px;
  height:17px;
  color:#829086;
}

.search-field input {
  border:0;
  background:transparent;
  min-width:0;
  width:100%;
  padding:10px 0;
  font-size:.875rem;
  color:var(--ink);
}

input::placeholder {
  color:#839085;
}

.season-field select {
  appearance:none;
  background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23596d5e' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;
  border:1px solid #d8e0d8;
  border-radius:7px;
  padding:10px 34px 10px 12px;
  font-size:.875rem;
  color:var(--ink);
  min-width:147px;
}

.clear-button {
  padding:9px 7px;
  border:0;
  background:transparent;
  color:#667d6b;
  font-size:.875rem;
  text-decoration:underline;
  text-underline-offset:3px;
}

.active-filters {
  display:flex;
  gap:7px;
  align-items:center;
}

.filter-pill {
  font-size:.8125rem;
  padding:7px 10px;
  border:1px solid #bacdb8;
  background:#eaf1e5;
  border-radius:20px;
}

.results-card {
  overflow:hidden;
}

.timeline-heading,.plant-row {
  display:grid;
  grid-template-columns:var(--plant-width) minmax(0,1fr);
  gap:28px;
  padding:16px 22px;
}

.timeline-heading {
  align-items:center;
  background:#fafbf8;
  font-size:.75rem;
  color:#77847b;
  border-bottom:1px solid var(--line);
}

.timeline-months,.bloom-track {
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:5px;
  text-align:center;
}

.plant-row {
  padding-top:21px;
  padding-bottom:21px;
  align-items:start;
  border-bottom:1px solid var(--line);
}

.plant-row:last-child {
  border-bottom:0;
}

.plant-info h3 {
  font-size:1.0625rem;
  font-weight:600;
  letter-spacing:-.025em;
}

.scientific-name {
  font-family:Georgia,serif;
  font-style:italic;
  font-size:.9375rem;
  color:#667f69;
  margin-top:4px;
}

.plant-meta {
  font-size:.8125rem;
  color:var(--muted);
  margin-top:6px;
}

.plant-colors {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}

.plant-color {
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:.75rem;
  color:#65766a;
  line-height:1.2;
}

.plant-color::before {
  content:"";
  width:8px;
  height:8px;
  background:var(--swatch-color);
  border:1px solid #00000013;
  border-radius:50%;
}

.plant-links {
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:12px;
}

.plant-links a {
  font-size:.75rem;
  color:#607d64;
  text-decoration-color:#b6c6b2;
}

.bloom-track {
  margin-top:13px;
  min-height:28px;
}

.bloom-month {
  height:24px;
  border-radius:4px;
  background:#f0f3ee;
  border:1px solid #eaf0e5;
}

.bloom-month.is-blooming {
  background:var(--bloom-color);
  border-color:#0000000a;
  box-shadow:inset 0 0 0 1px #ffffff1a;
}

.bloom-month.is-current {
  outline:2px solid #35523d;
  outline-offset:2px;
}

.plant-scope {
  margin-top:10px;
  color:#6b7c6b;
  font-size:.8125rem;
}

.plant-scope summary {
  cursor:pointer;
  text-decoration:underline;
  text-decoration-color:#b8c7b4;
  text-underline-offset:3px;
}

.plant-scope p {
  margin-top:8px;
}

.plant-scope ul {
  padding-left:17px;
  margin:6px 0 0;
}

.plant-scope li+li {
  margin-top:5px;
}

.plant-note {
  font-size:.8125rem;
  line-height:1.55;
  color:#6d7e6e;
  margin-top:10px;
}

.conservation-note {
  color:#8b6735;
}

.empty-state {
  text-align:center;
  padding:42px 24px;
  color:#71806f;
}

.empty-state svg {
  width:42px;
  height:42px;
  color:#99b08d;
  margin-bottom:12px;
}

.empty-state h3 {
  font-size:1.0625rem;
  color:#4b654d;
}

.empty-state p {
  max-width:430px;
  margin:8px auto 0;
  font-size:.875rem;
}

.status-message {
  font-size:.8125rem;
  min-height:20px;
  color:var(--muted);
  margin-top:9px;
}

.sources-section {
  display:grid;
  grid-template-columns:1fr 1.25fr;
  gap:55px;
  border-top:1px solid #dce4d9;
  margin-top:32px;
  padding-top:27px;
}

.sources-section h2 {
  font-family:Georgia,serif;
  font-size:1.65rem;
  font-weight:400;
  letter-spacing:-.035em;
}

.sources-section p:not(.eyebrow) {
  font-size:.875rem;
  color:var(--muted);
  line-height:1.65;
  margin-top:10px;
}

.source-explanation p:first-child {
  margin-top:0;
}

.sources-section a {
  color:#557b58;
  text-decoration-color:#abc0a5;
}

.page-footer {
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid #dce4d9;
  margin-top:32px;
  padding-top:17px;
  color:#8a9787;
  font-size:.75rem;
}

.page-footer span:first-child {
  font-family:Georgia,serif;
  font-size:.9375rem;
  color:#63805e;
}

@media(min-width:1600px) {
  .workspace {
    padding-left:62px;
    padding-right:62px;
  }
  .palette-main {
    padding:25px 30px;
  }
  .color-swatch {
    flex-basis:14%;
    min-width:95px;
  }
  .palette-card {
    grid-template-columns:minmax(0,1fr) 290px;
  }
  .color-inspector {
    padding:25px;
  }
  .spectrum-row .spectrum-label,.spectrum-cell {
    height:25px;
  }
}

@media(max-width:1200px) {
  :root {
    --side-width:190px;
    --plant-width:300px;
  }
  .sidebar {
    padding-left:22px;
    padding-right:20px;
  }
  .workspace {
    padding:30px 29px 20px;
  }
  .palette-card {
    grid-template-columns:minmax(0,1fr) 225px;
  }
  .palette-main {
    padding:21px;
  }
  .color-inspector {
    padding:21px 17px;
  }
  .section-hint {
    display:none;
  }
  .color-swatch {
    flex-basis:20%;
    min-width:77px;
  }
  .swatch-chip {
    width:23px;
    height:28px;
  }
  .color-swatch {
    grid-template-columns:23px auto;
    column-gap:6px;
    padding:6px;
  }
  .all-colors {
    flex-basis:20%;
    min-width:78px;
  }
  .calendar-key {
    display:none;
  }
  .timeline-heading,.plant-row {
    gap:19px;
    padding-left:19px;
    padding-right:19px;
  }
  .timeline-months,.bloom-track {
    gap:3px;
  }
  .timeline-months {
    font-size:.7rem;
  }
  .spectrum-input {
    display:block;
  }
  .spectrum-input label {
    display:block;
    margin-bottom:9px;
  }
  .hue-spectrum {
    display:block;
  }
  .sidebar-tagline {
    font-size:.8125rem;
  }
  .sources-section {
    gap:28px;
  }
}

@media(max-width:900px) {
  :root {
    --side-width:0px;
    --plant-width:300px;
  }
  .sidebar {
    position:static;
    width:100%;
    padding:17px 25px;
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
  }
  .brand {
    font-size:1.5rem;
    gap:8px;
  }
  .brand-icon {
    width:30px;
    height:32px;
  }
  .brand-second {
    display:inline;
    margin-left:3px;
  }
  .sidebar-tagline,.sidebar-bottom {
    display:none;
  }
  .side-nav {
    margin:0;
    flex-direction:row;
    gap:20px;
  }
  .side-nav a {
    font-size:.8125rem;
    padding:4px 0;
  }
  .nav-icon {
    display:none;
  }
  .side-nav a:nth-child(2),.side-nav a:nth-child(3) {
    display:none;
  }
  .workspace {
    margin:0;
    padding:28px 25px 20px;
    max-width:none;
  }
  .page-heading {
    margin-bottom:24px;
  }
  h1 {
    font-size:2.5rem;
  }
  .palette-card {
    grid-template-columns:minmax(0,1fr) 240px;
  }
  .color-swatch {
    flex-basis:16%;
  }
  .calendar-section {
    padding:21px;
  }
  .summary-spectrum {
    min-width:620px;
  }
  .sources-section {
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:650px) {
  .sidebar {
    padding:15px 19px;
  }
  .side-nav {
    gap:18px;
  }
  .side-nav a:first-child {
    display:none;
  }
  .workspace {
    padding:25px 17px 18px;
  }
  .page-heading {
    display:block;
  }
  .heading-source-link {
    display:none;
  }
  .eyebrow {
    font-size:.6875rem;
  }
  h1 {
    font-size:2.2rem;
  }
  .page-intro {
    font-size:.9375rem;
    max-width:290px;
    line-height:1.6;
  }
  .palette-card {
    display:block;
    width:100%;
    min-width:0;
  }
  .palette-main {
    padding:21px 18px;
  }
  .palette-swatches {
    gap:7px;
    margin-top:16px;
  }
  .color-swatch {
    flex-basis:28%;
    min-width:85px;
  }
  .all-colors {
    flex-basis:28%;
    min-width:85px;
    padding:7px;
  }
  .spectrum-input {
    margin-top:21px;
  }
  .color-inspector {
    border-left:0;
    border-top:1px solid var(--line);
    padding:18px;
    display:block;
    width:100%;
  }
  .selected-color {
    gap:9px;
  }
  .active-swatch {
    width:37px;
    height:37px;
  }
  .selected-color h3 {
    font-size:1.125rem;
  }
  .color-note {
    grid-column:1/-1;
    margin-top:13px;
  }
  .calendar-section {
    padding:20px 17px 14px;
    margin-top:18px;
  }
  .calendar-heading {
    margin-bottom:17px;
  }
  .calendar-heading h2 {
    font-size:1.125rem;
  }
  .calendar-heading p {
    font-size:.8125rem;
    max-width:240px;
  }
  .calendar-caption {
    margin-top:10px;
    font-size:.75rem;
  }
  .matches-section {
    margin-top:26px;
  }
  .results-heading h2 {
    font-size:1.65rem;
  }
  .download-button {
    font-size:.8125rem;
    padding:8px 11px;
    gap:6px;
  }
  .download-button svg {
    width:14px;
    height:14px;
  }
  .source-note {
    font-size:.75rem;
    line-height:1.65;
    margin-top:10px;
  }
  .filters {
    gap:8px;
    margin-top:16px;
  }
  .search-field {
    flex-basis:100%;
    max-width:none;
  }
  .season-field {
    flex:1;
  }
  .season-field select {
    width:100%;
    font-size:.875rem;
  }
  .clear-button {
    padding:9px;
  }
  .active-filters:empty {
    display:none;
  }
  .active-filters {
    flex-basis:100%;
    margin-top:2px;
  }
  .timeline-heading {
    display:block;
    padding:12px 16px;
  }
  .timeline-heading>span {
    display:none;
  }
  .timeline-months {
    font-size:.6875rem;
  }
  .plant-row {
    display:flex;
    flex-direction:column;
    padding:18px 16px;
    gap:0;
  }
  .plant-info {
    width:100%;
  }
  .plant-info h3 {
    font-size:1.0625rem;
  }
  .plant-meta {
    margin-top:5px;
  }
  .plant-colors {
    margin-top:8px;
  }
  .plant-links {
    margin-top:10px;
  }
  .bloom-track {
    width:100%;
    margin-top:17px;
    gap:3px;
    position:relative;
  }
  .bloom-month {
    height:21px;
  }
  .sources-section {
    grid-template-columns:1fr;
    gap:19px;
    margin-top:25px;
    padding-top:24px;
  }
  .sources-section h2 {
    font-size:1.5rem;
  }
  .source-explanation p:first-child {
    margin-top:0;
  }
  .sources-section p:not(.eyebrow) {
    font-size:.8125rem;
  }
  .page-footer {
    margin-top:25px;
    font-size:.6875rem;
  }
  .page-footer span:last-child {
    max-width:140px;
    text-align:right;
  }
  .status-message {
    font-size:.75rem;
  }
  .plant-note,.plant-scope {
    font-size:.8125rem;
  }
}

.spectrum-months,.spectrum-row .spectrum-label,.spectrum-cell,.timeline-heading,.timeline-months,.plant-meta,.plant-color,.plant-links a {
  font-size:.875rem;
}

.plant-identity {
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-width:0;
}

.plant-photo-button {
  display:block;
  flex:0 0 64px;
  width:64px;
  height:64px;
  padding:0;
  overflow:hidden;
  border:1px solid #dce5d8;
  border-radius:8px;
  background:#edf2e9;
  cursor:zoom-in;
}

.plant-photo-button:hover {
  border-color:#6e8d6c;
  box-shadow:0 0 0 2px #e5eee1;
}

.plant-photo {
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:1;
  object-fit:cover;
}

.plant-names {
  min-width:0;
  padding-top:2px;
}

.plant-identity + .plant-meta {
  margin-top:10px;
}

.photo-dialog {
  width:min(90vw,850px);
  max-width:calc(100vw - 24px);
  max-height:90vh;
  padding:20px;
  border:1px solid #dce5d8;
  border-radius:14px;
  background:#fff;
  color:var(--ink);
  box-shadow:0 20px 90px #0005;
  overflow:auto;
}

.photo-dialog::backdrop {
  background:#10271fbd;
}

.photo-dialog-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}

.photo-dialog-heading h2 {
  font-family:Georgia,serif;
  font-size:1.6rem;
  font-weight:400;
}

.photo-dialog-close {
  flex-shrink:0;
  padding:8px 13px;
  border:1px solid #bdcebb;
  border-radius:6px;
  background:#eef3e9;
  color:var(--forest);
  font-size:.875rem;
  font-weight:600;
}

.photo-dialog-close:hover {
  background:#e0ecda;
}

.photo-dialog-image {
  display:block;
  width:100%;
  max-width:100%;
  max-height:65vh;
  object-fit:contain;
  border-radius:8px;
  background:#f0f3ee;
}

.photo-dialog-credit {
  margin-top:13px;
  color:var(--muted);
  font-size:.875rem;
  line-height:1.6;
}

.photo-dialog-source {
  display:inline-block;
  margin-top:7px;
  font-size:.875rem;
}

@media(max-width:760px) {
  .plant-photo-button {
    flex-basis:72px;
    width:72px;
    height:72px;
  }
  .photo-dialog {
    padding:16px;
  }
  .photo-dialog-heading h2 {
    font-size:1.3rem;
  }
}

@media(max-width:650px) {
  .timeline-months {
    font-size:.75rem;
  }
  .calendar-scroll {
    margin-right:-17px;
    padding-right:17px;
  }
  .calendar-caption {
    font-size:.8125rem;
  }
  .side-nav a {
    font-size:.875rem;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  .spectrum-row {
    transition:none;
  }
}

/* On narrow workspaces, keep the month labels beside each plant's own track. */
@media(max-width:760px) {
  .timeline-heading {
    display:none;
  }
  .plant-row {
    display:block;
  }
  .bloom-track {
    width:100%;
    margin-top:38px;
  }
  .bloom-month {
    position:relative;
  }
  .bloom-month::before {
    content:attr(data-month);
    position:absolute;
    top:-24px;
    left:50%;
    transform:translateX(-50%);
    font-size:.75rem;
    letter-spacing:-.03em;
    color:var(--muted);
  }
}

/* Working species and photo-based garden design. */
.workspace-tabs {
  display:flex;
  align-items:center;
  gap:7px;
  width:max-content;
  max-width:100%;
  padding:5px;
  margin-bottom:29px;
  border:1px solid #dbe4d8;
  border-radius:10px;
  background:#eaf0e6;
}

.workspace-tab {
  display:flex;
  align-items:center;
  gap:9px;
  padding:9px 15px;
  border:1px solid transparent;
  border-radius:7px;
  background:transparent;
  color:#647b64;
  font-size:.875rem;
  font-weight:550;
}

.workspace-tab.is-active,.workspace-tab[aria-pressed="true"] {
  background:#fff;
  border-color:#d3dfcc;
  color:var(--forest);
  box-shadow:0 2px 4px #1f3d2408;
}

.working-count {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:23px;
  height:23px;
  padding:0 6px;
  background:#dbe8d4;
  border-radius:12px;
  color:#486b43;
  font-size:.75rem;
  font-weight:650;
}

.garden-toggle-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:7px 11px;
  margin-top:13px;
  border:1px solid #b8ceb0;
  border-radius:6px;
  background:#eff5eb;
  color:#426b3d;
  font-size:.875rem;
  font-weight:550;
}

.garden-toggle-button:hover {
  border-color:#80a271;
  background:#e4efdc;
}

.garden-toggle-button.is-in-garden,.garden-toggle-button[aria-pressed="true"] {
  border-color:#67905e;
  background:#dcebd3;
  color:#2e5e30;
}

.garden-studio {
  min-width:0;
}

.studio-page-heading {
  align-items:center;
  margin-bottom:22px;
}

.project-actions,.design-history-tools,.outline-actions,.cutout-history-tools,.cutout-save-tools {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}

.studio-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:9px 12px;
  border:1px solid #cad8c4;
  border-radius:6px;
  background:#fff;
  color:#466442;
  font-size:.875rem;
  font-weight:550;
  line-height:1.4;
}

.studio-button:hover:not(:disabled) {
  border-color:#87a27d;
  background:#f0f5ec;
}

.studio-button svg {
  width:17px;
  height:17px;
}

.studio-button-primary {
  border-color:var(--forest);
  background:var(--forest);
  color:#fff;
}

.studio-button-primary:hover:not(:disabled) {
  border-color:#285440;
  background:#285440;
}

.studio-button-small {
  padding:7px 10px;
}

.studio-button-quiet {
  border-color:transparent;
  background:transparent;
  color:#6d7f66;
}

.studio-workflow {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin-bottom:23px;
}

.studio-workflow p {
  margin:0;
  padding-left:13px;
  border-left:2px solid #c3d6b7;
  color:#71816b;
  font-size:.875rem;
  line-height:1.6;
}

.studio-workflow strong {
  display:block;
  color:#486b43;
  font-weight:600;
}

.studio-layout {
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  align-items:start;
  gap:20px;
}

.working-garden-panel {
  min-width:0;
  overflow:hidden;
}

.working-garden-heading {
  padding:19px 17px 16px;
  border-bottom:1px solid var(--line);
}

.working-garden-heading h2 {
  font-size:1.0625rem;
}

.working-garden-heading p {
  margin-top:5px;
  color:var(--muted);
  font-size:.8125rem;
}

.working-garden-list {
  max-height:65vh;
  overflow-y:auto;
}

.garden-species {
  display:flex;
  align-items:flex-start;
  flex-wrap:wrap;
  gap:10px;
  padding:15px;
  border-bottom:1px solid var(--line);
  background:#fff;
}

.garden-species.is-active,.garden-species.is-selected {
  background:#f1f6eb;
  box-shadow:inset 3px 0 #76a45f;
}

.garden-species-photo {
  display:block;
  flex:0 0 45px;
  width:45px;
  height:45px;
  object-fit:cover;
  border:1px solid #dce5d8;
  border-radius:7px;
  background:#edf3e9;
}

.garden-species-info,.garden-species-names {
  flex:1;
  min-width:0;
}

.garden-species h3,.garden-species-name {
  font-size:.875rem;
  font-weight:600;
  line-height:1.4;
}

.garden-species .scientific-name,.garden-species p {
  margin-top:3px;
  color:#74826d;
  font-size:.8125rem;
  line-height:1.5;
}

.garden-species-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  flex-basis:100%;
}

.garden-species-actions button {
  padding:5px 7px;
  border:1px solid #d2dfca;
  border-radius:5px;
  background:#fff;
  color:#54734b;
  font-size:.875rem;
  line-height:1.4;
}

.garden-species-actions button:hover {
  border-color:#86a57a;
  background:#eaf3e2;
}

.working-garden-empty {
  padding:30px 19px;
  color:#7a8d72;
  text-align:center;
}

.working-garden-empty svg {
  width:38px;
  height:38px;
  margin-bottom:10px;
  color:#92ac82;
}

.working-garden-empty p {
  font-size:.875rem;
  line-height:1.6;
}

.working-garden-empty strong {
  color:#58754d;
  font-weight:550;
}

.garden-storage-status {
  padding:13px 16px;
  border-top:1px solid var(--line);
  background:#f8faf5;
  color:#7a8872;
  font-size:.8125rem;
  line-height:1.6;
}

.garden-design-panel {
  min-width:0;
  overflow:hidden;
}

.design-actionbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
  padding:19px 21px;
  border-bottom:1px solid var(--line);
}

.design-actionbar h2 {
  font-size:1.0625rem;
}

.design-actionbar p {
  margin-top:4px;
  color:var(--muted);
  font-size:.8125rem;
}

.design-tools {
  display:flex;
  align-items:flex-end;
  flex-wrap:wrap;
  gap:12px;
  padding:14px 20px;
  background:#fafcf7;
  border-bottom:1px solid var(--line);
}

.studio-select-label {
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
  font-size:.875rem;
  color:#62775b;
}

.studio-select-label select {
  appearance:none;
  width:100%;
  padding:8px 32px 8px 10px;
  border:1px solid #d2decb;
  border-radius:6px;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23596d5e' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center;
  color:#385730;
  font-size:.875rem;
}

.outline-actions {
  padding-bottom:1px;
}

.design-canvas-wrap {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:clamp(320px,52vh,680px);
  min-width:0;
  overflow:auto;
  padding:20px;
  background:#e9eee7;
}

#design-canvas {
  display:block;
  flex:0 1 auto;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  box-shadow:0 3px 18px #1e362320;
  background:#fff;
  touch-action:none;
  cursor:crosshair;
}

.design-empty {
  width:100%;
  max-width:340px;
  text-align:center;
  color:#7e8d74;
}

.design-empty svg {
  width:68px;
  height:55px;
  margin-bottom:17px;
  color:#9ab18b;
}

.design-empty h3 {
  color:#506d45;
  font-size:1.125rem;
  font-weight:550;
}

.design-empty p {
  margin-top:10px;
  font-size:.875rem;
  line-height:1.7;
}

.plant-brush-settings {
  display:grid;
  grid-template-columns:minmax(140px,1.4fr) repeat(3,minmax(85px,1fr));
  align-items:end;
  gap:18px;
  padding:17px 21px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.studio-range-label {
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:0;
  color:#62775b;
  font-size:.875rem;
}

.studio-range-label>span {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  flex-wrap:wrap;
  gap:4px;
}

.studio-range-label output {
  color:#8a9781;
  font-size:.8125rem;
  font-variant-numeric:tabular-nums;
}

.studio-range-label input {
  width:100%;
  margin:0;
  accent-color:#60894c;
  cursor:pointer;
}

.design-footer-tools,.cutout-footer-tools {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px;
  padding:16px 20px 13px;
}

.design-status {
  min-height:22px;
  margin:0;
  padding:0 21px 15px;
  color:#7b8b71;
  font-size:.8125rem;
  line-height:1.6;
}

.cutout-dialog {
  width:min(94vw,1080px);
  max-width:calc(100vw - 20px);
  max-height:94vh;
  padding:23px;
  overflow:auto;
  border:1px solid #d9e3d2;
  border-radius:14px;
  background:#fff;
  color:var(--ink);
  box-shadow:0 20px 90px #0005;
}

.cutout-dialog::backdrop {
  background:#10271fc4;
}

.cutout-dialog-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.cutout-dialog-heading h2 {
  font-family:Georgia,serif;
  font-size:1.9rem;
  font-weight:400;
}

.cutout-instructions {
  max-width:760px;
  margin-top:13px;
  color:#75836c;
  font-size:.875rem;
  line-height:1.65;
}

.cutout-tools {
  display:flex;
  align-items:flex-end;
  flex-wrap:wrap;
  gap:10px 13px;
  padding:19px 0 17px;
}

.cutout-tools .studio-select-label {
  min-width:150px;
}

.cutout-brush-size {
  width:165px;
  padding-bottom:7px;
}

.cutout-canvas-wrap {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:clamp(220px,50vh,560px);
  overflow:auto;
  padding:16px;
  border:1px solid #d9e2d2;
  border-radius:8px;
  background-color:#fff;
  background-image:linear-gradient(45deg,#e6ebe3 25%,transparent 25%),linear-gradient(-45deg,#e6ebe3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e6ebe3 75%),linear-gradient(-45deg,transparent 75%,#e6ebe3 75%);
  background-size:20px 20px;
  background-position:0 0,0 10px,10px -10px,-10px 0;
}

#cutout-canvas {
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  touch-action:none;
  cursor:crosshair;
}

.cutout-footer-tools {
  padding:17px 0 9px;
}

.cutout-status {
  min-height:22px;
  margin-top:5px;
  color:#74876a;
  font-size:.875rem;
  line-height:1.6;
}

@media(max-width:1250px) {
  .studio-layout {
    grid-template-columns:215px minmax(0,1fr);
    gap:16px;
  }
  .plant-brush-settings {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px 16px;
  }
  .plant-brush-field {
    grid-column:1/-1;
  }
  .studio-workflow {
    gap:15px;
  }
}

@media(max-width:760px) {
  .workspace-tabs {
    margin-bottom:23px;
  }
  .workspace-tab {
    padding:8px 12px;
  }
  .studio-page-heading {
    display:block;
  }
  .project-actions {
    margin-top:18px;
  }
  .studio-workflow {
    grid-template-columns:1fr;
    gap:12px;
    margin-bottom:22px;
  }
  .studio-workflow p {
    padding-left:11px;
  }
  .studio-workflow strong {
    display:inline;
  }
  .studio-layout {
    grid-template-columns:minmax(0,1fr);
  }
  .working-garden-heading {
    padding:16px;
  }
  .working-garden-list {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    max-height:300px;
  }
  .garden-species {
    padding:13px;
    border-right:1px solid var(--line);
  }
  .working-garden-empty {
    display:flex;
    align-items:center;
    gap:14px;
    padding:20px;
    text-align:left;
  }
  .working-garden-empty svg {
    margin:0;
  }
  .design-actionbar {
    padding:17px;
  }
  .design-tools {
    padding:14px 16px;
  }
  .design-tools>.studio-select-label {
    width:100%;
  }
  .outline-actions {
    gap:6px;
  }
  .design-canvas-wrap {
    height:clamp(260px,45vh,480px);
    padding:10px;
  }
  .plant-brush-settings {
    padding:16px;
    gap:17px 13px;
  }
  .design-footer-tools {
    padding:15px 16px 12px;
  }
  .design-status {
    padding:0 16px 15px;
  }
  .cutout-dialog {
    padding:17px;
  }
  .cutout-dialog-heading h2 {
    font-size:1.5rem;
  }
  .cutout-dialog-heading {
    align-items:flex-start;
  }
  .cutout-canvas-wrap {
    height:clamp(240px,43vh,480px);
    padding:10px;
  }
  .cutout-footer-tools {
    gap:16px;
  }
}

@media(max-width:430px) {
  .working-garden-list {
    grid-template-columns:minmax(0,1fr);
  }
  .studio-range-label>span {
    display:block;
  }
  .studio-range-label output {
    display:block;
    margin-top:3px;
  }
  .design-footer-tools>.studio-button {
    width:100%;
  }
  .cutout-tools .studio-select-label,.cutout-brush-size {
    flex:1;
    min-width:120px;
  }
  .cutout-save-tools {
    width:100%;
  }
  .cutout-save-tools .studio-button {
    flex:1;
  }
}
