#plantan-light-calculator {
  --ink: #17332a;
  --muted: #61736d;
  --paper: #f7f8f2;
  --card: #ffffff;
  --line: #dce4dc;
  --green: #28664c;
  --green-dark: #174d38;
  --green-soft: #e3efe6;
  --lime: #d9e9a9;
  --sun: #e6b93f;
  --blue: #4c8298;
  --blue-soft: #dcecf1;
  --error: #a3372b;
  --warning: #9a5a00;
  --shadow: 0 18px 55px rgba(23, 51, 42, 0.08);
}

#plantan-light-calculator * { box-sizing: border-box; }
#plantan-light-calculator { scroll-behavior: smooth; }
#plantan-light-calculator {
  margin: 0;
  overflow-wrap: anywhere;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
#plantan-light-calculator main, #plantan-light-calculator section, #plantan-light-calculator article, #plantan-light-calculator aside, #plantan-light-calculator form, #plantan-light-calculator fieldset, #plantan-light-calculator nav, #plantan-light-calculator header, #plantan-light-calculator footer, #plantan-light-calculator div { min-width: 0; }
#plantan-light-calculator button, #plantan-light-calculator input, #plantan-light-calculator select { min-width: 0; max-width: 100%; min-height: 44px; font: inherit; }
#plantan-light-calculator button { cursor: pointer; white-space: normal; }
#plantan-light-calculator button:focus-visible, #plantan-light-calculator input:focus-visible, #plantan-light-calculator select:focus-visible, #plantan-light-calculator summary:focus-visible, #plantan-light-calculator a:focus-visible {
  outline: 4px solid #f0b72e;
  outline-offset: 3px;
}
#plantan-light-calculator a { color: inherit; }

#plantan-light-calculator .site-header {
  min-height: 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 9px clamp(14px, 4vw, 56px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
#plantan-light-calculator .brand { min-height: 46px; display: inline-flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; }
#plantan-light-calculator .brand span:last-child { display: grid; line-height: 1.05; }
#plantan-light-calculator .brand strong { font-size: 17px; letter-spacing: .01em; }
#plantan-light-calculator .brand small { margin-top: 4px; color: var(--muted); font-size: 12px; }
#plantan-light-calculator .leaf-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 18px 18px 18px 5px;
  transform: rotate(-4deg);
  background: var(--green);
  color: #fff;
  font-weight: 800;
}
#plantan-light-calculator .prototype-label {
  max-width: 100%;
  border: 1px solid #cfd9cf;
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
#plantan-light-calculator .mode-switch {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  width: min(760px, calc(100% - 24px));
  margin: 10px auto;
  padding: 7px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(23, 51, 42, .08);
}
#plantan-light-calculator .mode-switch button { border: 0; border-radius: 12px; padding: 9px 12px; background: transparent; color: var(--ink); font-weight: 800; }
#plantan-light-calculator .mode-switch button[aria-pressed="true"] { color: #fff; background: var(--green-dark); }

#plantan-light-calculator .flow-view { max-width: 920px; margin: 0 auto; padding: 0 18px 70px; }
#plantan-light-calculator .prototype-banner {
  border: 1px solid #eed98f;
  border-radius: 12px;
  padding: 9px 14px;
  background: #fff3cf;
  color: #684b00;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 750;
}
#plantan-light-calculator .hero { padding: 14px 0 10px; }
#plantan-light-calculator .hero h1 {
  max-width: 760px;
  margin: 6px 0 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 6vw, 55px);
  line-height: .98;
  letter-spacing: -.025em;
}
#plantan-light-calculator .hero > p:last-child { margin: 0; color: var(--muted); font-size: clamp(15px, 2vw, 18px); line-height: 1.45; }
#plantan-light-calculator .summary-chip {
  display: inline-flex;
  max-width: 100%;
  margin: 0;
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 850;
}

#plantan-light-calculator .header-product { font-size: 14px; }
#plantan-light-calculator .compact-title { margin: 14px 0 10px; font-family: Georgia, serif; font-size: clamp(23px, 4vw, 32px); line-height: 1.05; }
#plantan-light-calculator .active-controls { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
#plantan-light-calculator .active-controls button, #plantan-light-calculator .option-button { min-height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: #fff; color: var(--ink); font-weight: 750; text-align: left; }
#plantan-light-calculator .active-controls button span { color: var(--green); }
#plantan-light-calculator .recommendation-card { display: flex; gap: 15px; align-items: start; justify-content: space-between; margin-top: 12px; padding: 16px; border: 1px solid #bfd9c7; border-radius: 18px; background: #f4faf4; }
#plantan-light-calculator .recommendation-card h2 { margin: 3px 0 7px; font-family: Georgia, serif; font-size: 22px; }#plantan-light-calculator .recommendation-card p { margin: 0 0 6px; }#plantan-light-calculator .recommendation-card strong { display: block; margin: 3px 0; }#plantan-light-calculator .recommendation-card > button { flex: 0 0 auto; border: 1px solid var(--green); border-radius: 10px; padding: 8px 12px; background: #fff; color: var(--green-dark); font-weight: 800; }
#plantan-light-calculator .lighting-section { display: grid; gap: 10px; margin: 12px 0; padding: 16px; border: 1px solid #bfd9c7; border-radius: 18px; background: #f4faf4; }
#plantan-light-calculator .lighting-section h2 { margin: -5px 0 0; font-family: Georgia, serif; font-size: clamp(22px, 3vw, 28px); }
#plantan-light-calculator .lighting-section > p { margin: 0; color: var(--muted); line-height: 1.45; }
#plantan-light-calculator .lighting-section .eyebrow { color: var(--green-dark); font-weight: 850; }
#plantan-light-calculator .recommendation-baseline { padding: 9px 10px; border-radius: 10px; background: #fff; color: var(--ink) !important; font-size: 13px; }
#plantan-light-calculator .interval-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: stretch; padding: 10px; border: 1px solid #c6d9ca; border-radius: 13px; background: #fff; }
#plantan-light-calculator .interval-edit { display: grid; gap: 3px; min-height: 0; border: 0; padding: 4px; background: transparent; color: var(--ink); text-align: left; }
#plantan-light-calculator .interval-time { font-size: 18px; font-variant-numeric: tabular-nums; font-weight: 900; }
#plantan-light-calculator .interval-state { color: var(--green-dark); font-size: 12px; font-weight: 850; }
#plantan-light-calculator .interval-edit small { color: var(--muted); font-size: 12px; font-weight: 650; line-height: 1.35; }
#plantan-light-calculator .interval-actions { display: grid; grid-template-columns: repeat(2, auto); gap: 7px; align-items: center; }
#plantan-light-calculator .interval-switch, #plantan-light-calculator .remove-interval { border: 1px solid var(--green); border-radius: 9px; padding: 8px 10px; background: #fff; color: var(--green-dark); font-size: 12px; font-weight: 850; }
#plantan-light-calculator .interval-switch[aria-checked="true"] { background: var(--green); color: #fff; }
#plantan-light-calculator .remove-interval { border-color: #b56c64; color: #81352e; }
#plantan-light-calculator .interval-error { margin: 0; color: var(--error); font-weight: 850; line-height: 1.4; }
#plantan-light-calculator .result-card { margin-top: 12px; padding: 16px; border: 1px solid var(--line); border-left: 6px solid var(--green); border-radius: 18px; background: #fff; }#plantan-light-calculator .result-card.warning { border-left-color: var(--error); }#plantan-light-calculator .result-card.uncertain, #plantan-light-calculator .result-card.useful { border-left-color: var(--sun); }#plantan-light-calculator .result-card h2 { margin: 4px 0 8px; font-family: Georgia, serif; font-size: 24px; }#plantan-light-calculator .result-card p { margin: 7px 0; line-height: 1.45; }
#plantan-light-calculator .details-toggle { width: 100%; margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fff; color: var(--ink); font-weight: 800; }#plantan-light-calculator .more-details { margin-top: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
#plantan-light-calculator .modal-backdrop { position: fixed; z-index: 100; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(16, 35, 28, .48); }#plantan-light-calculator .settings-dialog { width: min(620px, 100%); max-height: min(88vh, 760px); overflow: auto; padding: 18px; border-radius: 20px; background: #fff; box-shadow: 0 20px 70px rgba(0,0,0,.25); }#plantan-light-calculator .settings-dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }#plantan-light-calculator .settings-dialog h2 { margin: 0; font-family: Georgia, serif; }#plantan-light-calculator .settings-dialog > header button { width: 44px; border: 0; border-radius: 50%; background: #edf2ed; font-size: 25px; }#plantan-light-calculator .option-button { display: block; width: 100%; margin-top: 8px; border-radius: 11px; }#plantan-light-calculator .option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }#plantan-light-calculator .option-grid .option-button { margin: 0; }
#plantan-light-calculator .lamp-dialog { display: grid; gap: 11px; margin-top: 14px; }#plantan-light-calculator .lamp-dialog > label, #plantan-light-calculator .lamp-dialog fieldset label { display: grid; gap: 5px; color: var(--ink); font-weight: 750; }#plantan-light-calculator .lamp-dialog input, #plantan-light-calculator .lamp-dialog select { width: 100%; border: 1px solid #b9c9bc; border-radius: 9px; padding: 8px; background: #fff; }#plantan-light-calculator .lamp-dialog fieldset { display: grid; gap: 9px; margin: 4px 0; border: 1px solid var(--line); border-radius: 10px; }#plantan-light-calculator .interval-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }#plantan-light-calculator .safety-note { margin: 0; color: var(--muted); font-size: 13px; }#plantan-light-calculator .text-button, #plantan-light-calculator .restore-button, #plantan-light-calculator .dialog-close { border: 1px solid var(--green); border-radius: 9px; padding: 9px 12px; background: #fff; color: var(--green-dark); font-weight: 800; }#plantan-light-calculator .dialog-close { width: 100%; margin-top: 15px; background: var(--green); color: #fff; }#plantan-light-calculator .restore-button { margin-top: 4px; }
#plantan-light-calculator .graph-screenreader-summary { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#plantan-light-calculator .eyebrow { margin: 0; color: var(--green); font-size: 10px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }

#plantan-light-calculator .graph-card, #plantan-light-calculator .year-card, #plantan-light-calculator .need-card, #plantan-light-calculator .scope-card, #plantan-light-calculator .deferred-card, #plantan-light-calculator .ui-state-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(14px, 3vw, 24px);
  box-shadow: var(--shadow);
}
#plantan-light-calculator .section-heading { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-start; justify-content: space-between; }
#plantan-light-calculator .section-heading > div { min-width: min(100%, 260px); flex: 1 1 260px; }
#plantan-light-calculator .section-heading h2 { margin: 2px 0 3px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(21px, 4vw, 31px); line-height: 1.07; }
#plantan-light-calculator .section-heading p { margin: 0; color: var(--muted); line-height: 1.35; }
#plantan-light-calculator .data-badge {
  flex: 0 1 auto;
  max-width: 100%;
  border-radius: 999px;
  padding: 7px 9px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 850;
}
#plantan-light-calculator .data-badge.muted { background: #edf0ed; color: var(--muted); }

#plantan-light-calculator .day-plot {
  position: relative;
  height: clamp(112px, 18vw, 178px);
  display: flex;
  align-items: stretch;
  gap: 1px;
  margin-top: 14px;
  overflow: hidden;
  padding: 10px 7px 0;
  border-bottom: 2px solid #91a198;
  border-radius: 13px;
  background: repeating-linear-gradient(to top, #edf1ea 0, #edf1ea 1px, transparent 1px, transparent 25%);
}
#plantan-light-calculator .target-window-overlay {
  position: absolute;
  z-index: 1;
  top: 7px;
  bottom: 7px;
  left: var(--left);
  width: var(--width);
  border: 2px dashed rgba(40, 102, 76, .45);
  border-radius: 8px;
  background: rgba(217, 233, 169, .12);
  pointer-events: none;
}
#plantan-light-calculator .day-slot { position: relative; z-index: 0; flex: 1 1 0; height: 100%; }
#plantan-light-calculator .day-range {
  position: absolute;
  right: 0;
  bottom: var(--bottom);
  left: 0;
  height: var(--height);
  min-height: 2px;
  border-radius: 2px;
  background: rgba(230, 185, 63, .55);
}
#plantan-light-calculator .slot-neutral .day-range { background: rgba(131, 146, 139, .18); }
#plantan-light-calculator .slot-low .day-range { background: rgba(181, 72, 61, .2); }
#plantan-light-calculator .slot-mid .day-range { background: rgba(199, 137, 22, .25); }
#plantan-light-calculator .slot-high .day-range { background: rgba(47, 114, 84, .22); }
#plantan-light-calculator .uncertain-slot .day-range { outline: 2px dotted rgba(23, 51, 42, .6); }
#plantan-light-calculator .day-curves {
  position: absolute;
  z-index: 3;
  inset: 10px 7px 0;
  width: calc(100% - 14px);
  height: calc(100% - 10px);
  overflow: visible;
  pointer-events: none;
}
#plantan-light-calculator .natural-curve, #plantan-light-calculator .classified-curve, #plantan-light-calculator .combined-curve {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#plantan-light-calculator .natural-curve { stroke: rgba(255, 255, 255, .96); stroke-width: 7; }
#plantan-light-calculator .classified-curve { stroke-width: 4; }
#plantan-light-calculator .day-graph-card.lamp-active .natural-curve { stroke: rgba(23, 51, 42, .52); stroke-width: 2; stroke-dasharray: 5 4; }
#plantan-light-calculator .day-graph-card.lamp-active .classified-curve { stroke-width: 5; }
#plantan-light-calculator .combined-curve { stroke: var(--green-dark); stroke-width: 3; stroke-dasharray: 7 4; }
#plantan-light-calculator .inspection-line { stroke: rgba(23, 51, 42, .58); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
#plantan-light-calculator .inspection-point { fill: #fff; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
#plantan-light-calculator .inspection-grid {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(48, minmax(0, 1fr));
}
#plantan-light-calculator .inspection-touch-surface { display: none; }
@media (max-width: 680px) {
  #plantan-light-calculator .inspection-touch-surface { position: absolute; z-index: 6; inset: 0; display: block; touch-action: manipulation; }
  #plantan-light-calculator .inspection-grid { pointer-events: none; }
}
#plantan-light-calculator .inspection-slot {
  min-width: 0;
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: crosshair;
}
#plantan-light-calculator .inspection-slot:focus-visible {
  outline: 3px solid #f0b72e;
  outline-offset: -3px;
}
#plantan-light-calculator .graph-tooltip {
  position: absolute;
  z-index: 8;
  top: 8px;
  left: var(--left);
  width: max-content;
  max-width: min(250px, calc(100% - 16px));
  display: grid;
  gap: 2px;
  transform: translateX(-50%);
  border: 1px solid rgba(23, 51, 42, .16);
  border-radius: 10px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 24px rgba(23, 51, 42, .14);
  color: var(--ink);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  pointer-events: none;
}
#plantan-light-calculator .graph-tooltip.align-left { transform: none; }
#plantan-light-calculator .graph-tooltip.align-right { transform: translateX(-100%); }
#plantan-light-calculator .graph-tooltip em { color: var(--warning); font-style: normal; font-weight: 800; }
#plantan-light-calculator .peak-marker {
  position: absolute;
  z-index: 4;
  right: auto;
  bottom: 5px;
  left: var(--left);
  transform: translateX(-50%);
  border-radius: 999px;
  padding: 3px 6px;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  font-size: 9px;
  font-weight: 850;
  pointer-events: none;
}
#plantan-light-calculator .axis { display: flex; justify-content: space-between; margin-top: 5px; color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
#plantan-light-calculator .legend { display: flex; flex-wrap: wrap; gap: 7px 13px; margin: 9px 0 7px; padding: 0; list-style: none; font-size: 10px; font-weight: 700; }
#plantan-light-calculator .legend li { display: inline-flex; align-items: center; gap: 5px; }
#plantan-light-calculator .key { width: 13px; height: 9px; border-radius: 2px; }
#plantan-light-calculator .natural-key, #plantan-light-calculator .year-range-key { background: rgba(230, 185, 63, .58); }
#plantan-light-calculator .mid-key { height: 3px; background: #8b6200; }
#plantan-light-calculator .window-key { border: 2px dashed var(--green); background: rgba(217, 233, 169, .2); }
#plantan-light-calculator .selected-key { border: 2px solid var(--green-dark); background: var(--green-soft); }
#plantan-light-calculator .floor-key { height: 3px; background: var(--blue); }
#plantan-light-calculator .goal-key, #plantan-light-calculator .good-key { height: 3px; background: var(--green-dark); }
#plantan-light-calculator .low-key { height: 3px; background: #b5483d; }
#plantan-light-calculator .useful-key { height: 3px; background: #c78916; }
#plantan-light-calculator .combined-key { height: 3px; border-top: 2px dashed var(--green-dark); }
#plantan-light-calculator .graph-assessment { margin: 13px 0 0; padding: 12px 14px; border-left: 5px solid var(--green); border-radius: 10px; background: var(--green-soft); color: var(--ink); line-height: 1.5; }
#plantan-light-calculator .graph-assessment strong { display: block; margin-bottom: 3px; }
#plantan-light-calculator .graph-assessment span, #plantan-light-calculator .graph-assessment small { display: block; }
#plantan-light-calculator .inspection-help { margin: 10px 0 -6px; color: var(--muted); font-size: 11px; line-height: 1.4; }
#plantan-light-calculator .graph-equivalent { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
#plantan-light-calculator .compact-graph { padding-block: 13px; }
#plantan-light-calculator .sg-disclaimer { border-left: 4px solid var(--sun); padding-left: 11px; color: var(--muted); font-size: 12px; line-height: 1.5; }
#plantan-light-calculator .uncertainty-label { display: block; color: var(--warning); font-size: 10px; }
#plantan-light-calculator .day-graph-card table small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 500; }
#plantan-light-calculator .compact-graph .section-heading h2 { font-size: clamp(20px, 3.5vw, 27px); }
#plantan-light-calculator .compact-graph .day-plot { height: clamp(82px, 15vw, 118px); margin-top: 9px; }
#plantan-light-calculator .compact-graph .legend { margin-block: 6px 4px; }

#plantan-light-calculator .compact-graph .inspection-help { font-size: 10px; }
#plantan-light-calculator .compact-graph .graph-tooltip { top: 5px; }
#plantan-light-calculator details { margin-top: 13px; }
#plantan-light-calculator summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 850; }
#plantan-light-calculator .table-wrap { max-width: 100%; overflow-x: auto; }
#plantan-light-calculator table { width: 100%; min-width: 610px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
#plantan-light-calculator th, #plantan-light-calculator td { padding: 9px; border-bottom: 1px solid var(--line); text-align: left; }
#plantan-light-calculator .selected-row { background: var(--green-soft); }

#plantan-light-calculator .question-flow { display: grid; gap: 12px; margin-top: 14px; }
#plantan-light-calculator fieldset { min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
#plantan-light-calculator legend { max-width: 100%; padding: 0 8px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(20px, 3vw, 27px); font-weight: 750; }
#plantan-light-calculator legend > span {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-family: Inter, sans-serif;
  font-size: 13px;
}
#plantan-light-calculator .field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
#plantan-light-calculator label { display: grid; gap: 6px; margin-top: 10px; color: #365047; font-size: 13px; font-weight: 750; }
#plantan-light-calculator select, #plantan-light-calculator input { width: 100%; border: 1px solid #bfcfc4; border-radius: 10px; padding: 9px 11px; background: #fff; color: var(--ink); }
#plantan-light-calculator .fixed-choice {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 8px 0 4px;
  padding: 13px;
  border: 2px solid var(--green);
  border-radius: 12px;
  background: var(--green-soft);
}
#plantan-light-calculator .fixed-choice span { color: var(--muted); font-size: 12px; }
#plantan-light-calculator .scope-card { box-shadow: none; }
#plantan-light-calculator .scope-card h2 { margin: 5px 0 13px; font-family: Georgia, serif; font-size: clamp(22px, 3vw, 30px); }
#plantan-light-calculator .scope-card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
#plantan-light-calculator .scope-card dl div { padding: 11px; border-radius: 11px; background: var(--green-soft); }
#plantan-light-calculator .scope-card dt { color: var(--muted); font-size: 11px; font-weight: 750; }
#plantan-light-calculator .scope-card dd { margin: 4px 0 0; font-weight: 850; }
#plantan-light-calculator .scope-card > p { color: var(--muted); font-size: 13px; line-height: 1.5; }
#plantan-light-calculator .scope-card > p:last-child { margin-bottom: 0; }
#plantan-light-calculator .scope-note { margin-top: -5px; font-weight: 800; }
#plantan-light-calculator .primary-button {
  min-height: 54px;
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 13px 18px;
  background: var(--green-dark);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 10px 25px rgba(23, 77, 56, .18);
}
#plantan-light-calculator .live-region { position: relative; min-height: 1px; margin: 0; overflow: hidden; color: transparent; font-size: 1px; }

#plantan-light-calculator .result-stack { display: grid; gap: 13px; margin-top: 24px; }
#plantan-light-calculator .result-card { border-radius: 22px; padding: clamp(19px, 4vw, 33px); background: var(--green-dark); color: #fff; box-shadow: var(--shadow); }
#plantan-light-calculator .result-card.warning { background: #704113; }
#plantan-light-calculator .result-card.uncertain { background: #325f66; }
#plantan-light-calculator .result-card.useful { background: #315f4c; }
#plantan-light-calculator .result-card.above { background: #704113; }
#plantan-light-calculator .result-card.good, #plantan-light-calculator .result-card.strong { background: var(--green-dark); }
#plantan-light-calculator .result-card .eyebrow { color: var(--lime); }
#plantan-light-calculator .result-card h2 { max-width: 760px; margin: 8px 0 12px; font-family: Georgia, serif; font-size: clamp(27px, 5vw, 43px); line-height: 1.06; }
#plantan-light-calculator .result-card p:last-child { max-width: 700px; line-height: 1.6; color: #edf5f0; }
#plantan-light-calculator .advice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
#plantan-light-calculator .advice { display: flex; gap: 12px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
#plantan-light-calculator .advice h3, #plantan-light-calculator .advice p { margin: 0 0 5px; }
#plantan-light-calculator .advice p { color: var(--muted); line-height: 1.45; }
#plantan-light-calculator .number { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-weight: 850; }

#plantan-light-calculator .need-summary { margin: 10px 0 17px; font-size: clamp(17px, 2.5vw, 22px); font-weight: 800; line-height: 1.4; }
#plantan-light-calculator .need-track { position: relative; height: 98px; margin: 0 7px; border-radius: 13px; background: linear-gradient(90deg, #f6e9dd 0 var(--floor-pct), #eef0d7 var(--floor-pct) var(--goal-pct), #dfeee2 var(--goal-pct) var(--ceiling-pct), #d2e7db var(--ceiling-pct) 100%); border: 1px solid #cbd8ce; }
#plantan-light-calculator .need-range { position: absolute; z-index: 2; bottom: 33px; left: var(--left); width: var(--width); height: 24px; min-width: 7px; border: 3px solid #17332a; border-radius: 99px; background: rgba(255, 255, 255, .78); }
#plantan-light-calculator .need-mid { position: absolute; z-index: 4; bottom: 25px; left: var(--left); width: 5px; height: 40px; border-radius: 4px; background: #000; transform: translateX(-50%); }
#plantan-light-calculator .need-mid i { position: absolute; top: -24px; left: 50%; padding: 3px 5px; border-radius: 5px; background: #111; color: #fff; font-size: 9px; font-style: normal; white-space: nowrap; transform: translateX(-50%); }
#plantan-light-calculator .need-marker { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--left); width: 2px; background: var(--blue); transform: translateX(-50%); }
#plantan-light-calculator .need-marker.goal-marker { width: 3px; background: var(--green-dark); }
#plantan-light-calculator .need-marker.ceiling-marker { background: #7a6a43; }
#plantan-light-calculator .need-marker i { position: absolute; bottom: 4px; left: 50%; padding: 2px 3px; background: rgba(255, 255, 255, .88); color: var(--ink); font-size: 9px; font-style: normal; white-space: nowrap; transform: translateX(-50%); }
#plantan-light-calculator .need-zone-legend { display: flex; flex-wrap: wrap; gap: 7px 15px; margin: 10px 7px 0; padding: 0; color: var(--muted); font-size: 10px; list-style: none; }
#plantan-light-calculator .need-zone-legend li { display: flex; gap: 5px; align-items: center; }
#plantan-light-calculator .need-zone-key { width: 12px; height: 12px; flex: 0 0 auto; border: 1px solid #cbd8ce; border-radius: 3px; }
#plantan-light-calculator .need-zone-key.below-key { background: #f6e9dd; }
#plantan-light-calculator .need-zone-key.useful-key { background: #eef0d7; }
#plantan-light-calculator .need-zone-key.good-key { background: #dfeee2; }
#plantan-light-calculator .need-zone-key.above-key { background: #d2e7db; }
#plantan-light-calculator .need-values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; margin: 14px 0 0; }
#plantan-light-calculator .need-values div { padding: 10px; border-radius: 10px; background: #f4f6f3; }
#plantan-light-calculator .need-values dt { min-height: 33px; color: var(--muted); font-size: 10px; line-height: 1.35; }
#plantan-light-calculator .need-values dd { margin: 5px 0 0; font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
#plantan-light-calculator .comparison-note { margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

#plantan-light-calculator .year-plot { position: relative; height: 270px; margin-top: 18px; padding: 8px 5px 32px; border-left: 1px solid #b9c7bd; border-bottom: 1px solid #b9c7bd; background: repeating-linear-gradient(to top, #edf1ea 0, #edf1ea 1px, transparent 1px, transparent 25%); overflow: hidden; }
#plantan-light-calculator .year-zone-layer { position: absolute; inset: 8px 5px 32px; z-index: 1; }
#plantan-light-calculator .year-zone { position: absolute; right: 0; left: 0; bottom: var(--bottom); height: var(--height); }
#plantan-light-calculator .limiting-zone { background: rgba(214, 175, 143, .24); }
#plantan-light-calculator .useful-zone { background: rgba(220, 225, 166, .28); }
#plantan-light-calculator .good-zone { background: rgba(177, 214, 186, .3); }
#plantan-light-calculator .above-zone { background: rgba(173, 205, 193, .3); }
#plantan-light-calculator .year-line { position: absolute; inset: 8px 5px 32px; z-index: 3; width: calc(100% - 10px); height: calc(100% - 40px); overflow: visible; }
#plantan-light-calculator .year-uncertainty { fill: rgba(230, 185, 63, .25); stroke: none; }
#plantan-light-calculator .year-mid-line { fill: none; stroke: #17332a; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
#plantan-light-calculator .year-point { fill: #fff; stroke: #17332a; stroke-width: 2; vector-effect: non-scaling-stroke; }
#plantan-light-calculator .year-point.selected-point { fill: #f0b72e; stroke-width: 3; }
#plantan-light-calculator .month-columns { position: absolute; inset: 8px 5px 32px; z-index: 4; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; pointer-events: none; }
#plantan-light-calculator .month-column { position: relative; min-width: 0; border-radius: 7px 7px 0 0; }
#plantan-light-calculator .month-column.selected { background: rgba(40, 102, 76, .12); outline: 2px solid var(--green-dark); outline-offset: -1px; }
#plantan-light-calculator .month-column b { position: absolute; right: 0; bottom: -20px; left: 0; overflow: hidden; font-size: 9px; text-align: center; text-overflow: clip; }
#plantan-light-calculator .month-column em { position: absolute; right: 0; bottom: -31px; left: 0; color: var(--green-dark); font-size: 8px; font-style: normal; font-weight: 900; text-align: center; }

#plantan-light-calculator .details-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; }
#plantan-light-calculator .details-grid details { margin: 0; padding: 0 13px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
#plantan-light-calculator .details-grid p { color: var(--muted); font-size: 13px; line-height: 1.55; }
#plantan-light-calculator .year-zone-legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 13px 0 0; padding: 0; list-style: none; }
#plantan-light-calculator .year-zone-legend li { display: grid; grid-template-columns: 13px minmax(0, 1fr); column-gap: 7px; align-items: start; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
#plantan-light-calculator .year-zone-legend strong, #plantan-light-calculator .year-zone-legend small { grid-column: 2; }
#plantan-light-calculator .year-zone-legend strong { font-size: 11px; line-height: 1.25; }
#plantan-light-calculator .year-zone-legend small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.3; }
#plantan-light-calculator .year-zone-key { grid-row: 1 / span 2; width: 13px; height: 13px; border-radius: 3px; border: 1px solid #cbd8ce; }
#plantan-light-calculator .limiting-key { background: rgba(214, 175, 143, .55); }
#plantan-light-calculator .useful-key { background: rgba(220, 225, 166, .65); }
#plantan-light-calculator .good-key { background: rgba(177, 214, 186, .65); }
#plantan-light-calculator .above-key { background: rgba(173, 205, 193, .65); }
#plantan-light-calculator .year-zone-note { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

#plantan-light-calculator .unsupported-card {
  padding: clamp(18px, 4vw, 30px);
  border: 2px solid var(--error);
  border-radius: 20px;
  background: #fff0ee;
  color: #62231d;
  box-shadow: var(--shadow);
}
#plantan-light-calculator .unsupported-card h2 { margin-top: 0; font-family: Georgia, serif; font-size: clamp(24px, 4vw, 34px); }
#plantan-light-calculator .unsupported-card p { margin-bottom: 0; line-height: 1.55; }

#plantan-light-calculator .test-layout { max-width: 1320px; margin: 0 auto; padding: 10px 22px 80px; display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; align-items: start; }
#plantan-light-calculator .state-nav { position: sticky; top: 78px; max-height: calc(100vh - 92px); overflow: auto; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
#plantan-light-calculator .state-nav h1 { margin: 4px 0; font-family: Georgia, serif; font-size: 30px; }
#plantan-light-calculator .state-nav > p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.45; }
#plantan-light-calculator .state-picker { display: none; }
#plantan-light-calculator .state-buttons { display: grid; gap: 6px; margin-top: 13px; }
#plantan-light-calculator .state-buttons button { min-height: 64px; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 8px; align-items: center; padding: 7px 9px; border: 1px solid transparent; border-radius: 11px; background: #f4f6f3; color: var(--ink); text-align: left; font-size: 12px; font-weight: 750; }
#plantan-light-calculator .state-buttons button > span { grid-row: 1 / span 2; color: var(--green); font-variant-numeric: tabular-nums; font-weight: 900; }
#plantan-light-calculator .state-buttons small { min-width: 0; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; }
#plantan-light-calculator .state-buttons button[aria-pressed="true"] { border-color: var(--green); background: var(--green-soft); }
#plantan-light-calculator .state-stage { min-width: 0; display: grid; gap: 13px; }
#plantan-light-calculator .state-stage .result-stack { margin-top: 0; }
#plantan-light-calculator .state-card { padding: clamp(20px, 4vw, 40px); border: 1px solid var(--line); border-top: 7px solid var(--green); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
#plantan-light-calculator .state-card h2 { margin: 8px 0 13px; font-family: Georgia, serif; font-size: clamp(29px, 5vw, 49px); line-height: 1.02; }
#plantan-light-calculator .state-card code { display: inline-block; max-width: 100%; margin-top: 8px; padding: 6px 8px; border-radius: 6px; background: #edf1ee; overflow-wrap: anywhere; }
#plantan-light-calculator .state-message { max-width: 760px; color: var(--muted); font-size: clamp(16px, 2.3vw, 21px); line-height: 1.55; }
#plantan-light-calculator .state-human-result { max-width: 760px; margin: 0; font-size: clamp(18px, 2.5vw, 24px); line-height: 1.45; }
#plantan-light-calculator .traceability-details { margin-top: 16px; padding: 0 13px; border: 1px solid var(--line); border-radius: 14px; background: #f8faf8; }
#plantan-light-calculator .traceability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding-bottom: 12px; }
#plantan-light-calculator .traceability-grid div { min-width: 0; padding: 9px; border-radius: 9px; background: #fff; }
#plantan-light-calculator .traceability-grid dt { color: var(--muted); font-size: 10px; font-weight: 800; }
#plantan-light-calculator .traceability-grid dd { margin: 4px 0 0; overflow-wrap: anywhere; font-size: 12px; font-weight: 800; }
#plantan-light-calculator .ui-state-card h2 { margin-top: 0; font-family: Georgia, serif; }
#plantan-light-calculator .ui-state-card p { margin-bottom: 0; color: var(--muted); line-height: 1.55; }
#plantan-light-calculator .ui-state-card.notice { border-left: 7px solid var(--blue); }
#plantan-light-calculator .deferred-card ol { display: grid; gap: 7px; margin: 16px 0 0; padding: 0; list-style: none; }
#plantan-light-calculator .deferred-card li { display: flex; gap: 10px; padding: 10px; border-radius: 11px; background: #f4f6f3; }
#plantan-light-calculator .deferred-card li > span { flex: 0 0 auto; color: var(--muted); font-weight: 900; }
#plantan-light-calculator .deferred-card strong { display: block; }
#plantan-light-calculator .deferred-card p { margin: 3px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }

#plantan-light-calculator footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 22px; padding: 22px 14px; border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 11px; text-align: center; }
#plantan-light-calculator footer strong { color: var(--ink); }

@media (max-width: 900px) {
  #plantan-light-calculator .test-layout { grid-template-columns: 1fr; }
  #plantan-light-calculator .state-nav { position: sticky; z-index: 20; top: 76px; max-height: none; overflow: visible; padding: 13px; box-shadow: 0 10px 30px rgba(23, 51, 42, .08); }
  #plantan-light-calculator .state-nav h1 { margin: 2px 0; font-size: 24px; }
  #plantan-light-calculator .state-nav > p:not(.eyebrow) { margin: 4px 0 7px; }
  #plantan-light-calculator .state-picker { display: grid; margin-top: 5px; }
  #plantan-light-calculator .state-buttons { display: none; }
  #plantan-light-calculator .advice-grid { grid-template-columns: 1fr; }
  #plantan-light-calculator .need-values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #plantan-light-calculator .year-zone-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  #plantan-light-calculator .prototype-label { display: none; }
  #plantan-light-calculator .mode-switch { margin-block: 7px; }
  #plantan-light-calculator .mode-switch button { font-size: 12px; }
  #plantan-light-calculator .flow-view { padding-inline: 12px; }
  #plantan-light-calculator .hero { padding-top: 10px; }
  #plantan-light-calculator .field-grid, #plantan-light-calculator .details-grid { grid-template-columns: 1fr; }
  #plantan-light-calculator .scope-card dl { grid-template-columns: 1fr; }
  #plantan-light-calculator .test-layout { padding: 7px 10px 60px; }
  #plantan-light-calculator .need-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #plantan-light-calculator .year-plot { height: 240px; }
  #plantan-light-calculator .month-columns { gap: 2px; }
  #plantan-light-calculator .year-zone-legend { grid-template-columns: 1fr; }
  #plantan-light-calculator .year-line { inset-inline: 3px; width: calc(100% - 6px); }
  #plantan-light-calculator .traceability-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  #plantan-light-calculator .site-header { min-height: 56px; padding-block: 6px; }
  #plantan-light-calculator .leaf-mark { width: 36px; height: 36px; }
  #plantan-light-calculator .mode-switch { position: static; width: calc(100% - 16px); }
  #plantan-light-calculator .hero h1 { font-size: 33px; }
  #plantan-light-calculator .graph-card, #plantan-light-calculator .year-card, #plantan-light-calculator .need-card, #plantan-light-calculator .scope-card, #plantan-light-calculator .deferred-card, #plantan-light-calculator .ui-state-card { border-radius: 17px; }
  #plantan-light-calculator .compact-graph { padding: 11px; }
  #plantan-light-calculator .compact-graph .section-heading > div > p:not(.eyebrow) { display: none; }
  #plantan-light-calculator .compact-graph .section-heading h2 { font-size: 19px; }
  #plantan-light-calculator .compact-graph .data-badge { padding: 5px 7px; font-size: 9px; }
  #plantan-light-calculator .compact-graph .day-plot { height: 66px; margin-top: 7px; }
  #plantan-light-calculator .compact-graph .legend { font-size: 9px; }
  #plantan-light-calculator .compact-graph .graph-equivalent { font-size: 10px; }
  #plantan-light-calculator .need-marker i { display: none; }
  #plantan-light-calculator .need-values { grid-template-columns: 1fr 1fr; }
  #plantan-light-calculator .need-values dt { min-height: 0; }
  #plantan-light-calculator .month-column b { font-size: 8px; writing-mode: vertical-rl; transform: rotate(180deg); }
  #plantan-light-calculator .month-column em { display: none; }
  #plantan-light-calculator .state-nav { top: 8px; }
}

@media (max-width: 600px) { #plantan-light-calculator .modal-backdrop { align-items: end; padding: 0; }#plantan-light-calculator .settings-dialog { width: 100%; max-height: 86vh; border-radius: 22px 22px 0 0; }#plantan-light-calculator .active-controls { gap: 6px; }#plantan-light-calculator .active-controls button { font-size: 13px; }#plantan-light-calculator .recommendation-card { align-items: start; }#plantan-light-calculator .option-grid { grid-template-columns: 1fr; } }

@media (max-width: 320px) {
  #plantan-light-calculator .mode-switch { grid-template-columns: 1fr; }
  #plantan-light-calculator .site-header { align-items: flex-start; }
  #plantan-light-calculator .state-nav { position: static; }
  #plantan-light-calculator .section-heading { display: grid; }
  #plantan-light-calculator .need-values { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  #plantan-light-calculator * { scroll-behavior: auto !important; transition: none !important; }
}

#plantan-light-calculator .day-graph-card .day-markers {
  position: relative;
  height: 56px;
  margin: 12px 14px 0;
  border-bottom: 1px dashed rgba(23, 51, 42, .18);
}

#plantan-light-calculator .day-graph-card .day-marker {
  position: absolute;
  left: var(--left);
  bottom: 8px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  min-width: 42px;
  color: #6d776f;
  font-size: 1.15rem;
  line-height: 1;
}

#plantan-light-calculator .day-graph-card .day-marker b {
  font-size: 1.12rem;
  font-weight: 500;
}

#plantan-light-calculator .day-graph-card .day-marker small {
  margin-top: 5px;
  color: #657168;
  font-size: .58rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

#plantan-light-calculator .day-graph-card .day-plot {
  height: clamp(270px, 48vw, 380px);
  margin-top: 0;
  padding: 18px 14px 12px;
  overflow: hidden;
  border: 1px solid #d7cab1;
  border-bottom-width: 1px;
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

#plantan-light-calculator .day-graph-card.compact-graph .day-plot {
  height: clamp(230px, 42vw, 310px);
  margin-top: 0;
}

#plantan-light-calculator .day-graph-card .target-window-overlay {
  top: 18px;
  bottom: 12px;
  border: 0;
  border-top: 1px dashed rgba(40, 102, 76, .34);
  border-bottom: 1px dashed rgba(40, 102, 76, .34);
  border-radius: 0;
  background: rgba(217, 233, 169, .04);
}

#plantan-light-calculator .day-graph-card .day-curves {
  inset: 18px 14px 12px;
  width: calc(100% - 28px);
  height: calc(100% - 30px);
}

#plantan-light-calculator .day-graph-card .classified-fill {
  stroke: none;
  pointer-events: none;
}

#plantan-light-calculator .day-graph-card .natural-curve {
  stroke: rgba(255, 255, 255, .92);
  stroke-width: 7;
}

#plantan-light-calculator .day-graph-card .classified-curve {
  stroke-width: 5;
}

#plantan-light-calculator .day-graph-card.lamp-active .natural-curve {
  stroke: rgba(34, 82, 52, .58);
  stroke-width: 2;
  stroke-dasharray: 6 6;
}

#plantan-light-calculator .day-graph-card.lamp-active .classified-curve {
  stroke-width: 4;
}

#plantan-light-calculator .day-graph-card .peak-marker {
  top: 7%;
  bottom: 9%;
  left: var(--left);
  width: 0;
  padding: 0;
  transform: none;
  border: 0;
  border-left: 1px dashed rgba(126, 76, 18, .65);
  border-radius: 0;
  background: transparent;
}

#plantan-light-calculator .day-graph-card .peak-marker > span {
  position: absolute;
  top: 0;
  left: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 249, 232, .94);
  color: #714c1b;
  font-size: .65rem;
  font-weight: 750;
  white-space: nowrap;
}

#plantan-light-calculator .day-graph-card .graph-tooltip[hidden] {
  display: none;
}

#plantan-light-calculator .day-graph-card .graph-tooltip.inspection-locked {
  pointer-events: none;
}

#plantan-light-calculator .day-graph-card .tooltip-close {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #53675a;
  font-size: 1.15rem;
  line-height: 1;
  pointer-events: auto;
}

#plantan-light-calculator .day-graph-card .graph-tooltip.inspection-locked strong {
  padding-right: 30px;
}

#plantan-light-calculator .day-graph-card .inspection-line,
#plantan-light-calculator .day-graph-card .inspection-point {
  pointer-events: none;
}

@media (max-width: 680px) {
  #plantan-light-calculator .day-graph-card .day-markers small {
    display: none;
  }

  #plantan-light-calculator .day-graph-card .day-markers {
    height: 44px;
  }
}

@media (max-width: 380px) {
  #plantan-light-calculator .day-graph-card .day-plot,
  #plantan-light-calculator .day-graph-card.compact-graph .day-plot {
    height: 240px;
  }

  #plantan-light-calculator .day-graph-card .peak-marker > span {
    font-size: .58rem;
  }
}

#plantan-light-calculator .day-graph-card .day-plot { gap: 0; }
#plantan-light-calculator .day-graph-card .target-window-overlay { border-left: 2px dashed #547b69; border-right: 2px dashed #547b69; background: rgba(47,114,84,.045); }
#plantan-light-calculator .day-graph-card .natural-curve, #plantan-light-calculator .day-graph-card.lamp-active .natural-curve { stroke: #315b83; stroke-width: 2; stroke-dasharray: 6 5; }
#plantan-light-calculator .day-graph-card .combined-contribution { fill: none; stroke: #7256a0; stroke-width: 8; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
#plantan-light-calculator .day-graph-card .natural-key { height: 0; background: none; border-top: 2px dashed #315b83; }
#plantan-light-calculator .day-graph-card .combined-key { height: 0; background: none; border-top: 4px solid #7256a0; }
#plantan-light-calculator .day-graph-card .low-key { background: #b5483d; }
#plantan-light-calculator .day-graph-card .useful-key { background: #c78916; }
#plantan-light-calculator .day-graph-card .good-key { background: #2f7254; }
#plantan-light-calculator .day-graph-card .window-key { background: rgba(47,114,84,.045); border: 2px dashed #547b69; }
#plantan-light-calculator .day-graph-card .legend { flex-wrap: wrap; gap: 10px 16px; font-size: .875rem; }
#plantan-light-calculator .reference-explanation { font-size: .875rem; line-height: 1.5; color: #40564b; }
#plantan-light-calculator .edit-affordance { float: right; padding: 4px 10px; border: 1px solid #547b69; border-radius: 8px; font-size: .875rem; }
#plantan-light-calculator .starter-note, #plantan-light-calculator .schedule-warning { padding: 12px; border: 1px solid #a87524; border-radius: 10px; background: #fff5df; color: #503810; font-size: .875rem; line-height: 1.5; }

/* Scoped Plantan presentation. Calculation and graph semantics stay in the source components. */
#plantan-light-calculator { --ink:#17352b; --muted:#52655c; --paper:#fbfaf7; --green:#28664c; --green-dark:#174d38; --line:#dce4dc; font-family:"Source Sans 3",Arial,sans-serif; font-size:17px; line-height:1.55; color:var(--ink); }
#plantan-light-calculator .flow-view { max-width:none; margin:0; padding:0 0 30px; }
#plantan-light-calculator .calculator-intro { margin:0 0 26px; }
#plantan-light-calculator .compact-title { font-family:inherit; font-weight:650; font-size:clamp(25px,3vw,34px); line-height:1.2; margin:0 0 10px; letter-spacing:-.025em; }
#plantan-light-calculator .calculator-intro p { margin:8px 0; max-width:62ch; }
#plantan-light-calculator .location-note { font-size:14px; color:var(--muted); }
#plantan-light-calculator .active-controls { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:22px; }
#plantan-light-calculator .active-controls button { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:2px 6px; padding:12px 14px; border-radius:10px; font-weight:400; transition:border-color .15s,background .15s; }
#plantan-light-calculator .active-controls button:hover { border-color:#28664c; background:#f3f7ed; }
#plantan-light-calculator .active-controls small { grid-column:1; font-size:13px; color:var(--muted); }
#plantan-light-calculator .active-controls strong { grid-column:1; font-size:16px; font-weight:600; }
#plantan-light-calculator .active-controls span { grid-column:2; grid-row:1 / 3; align-self:center; }
#plantan-light-calculator .graph-card { padding:22px; border:1px solid var(--line); border-radius:16px; box-shadow:0 5px 22px #17352b06; background:#fff; }
#plantan-light-calculator .section-heading h2, #plantan-light-calculator .lighting-section h2, #plantan-light-calculator .result-card h2 { font-family:inherit; font-size:24px; line-height:1.25; font-weight:650; }
#plantan-light-calculator .section-heading { margin-bottom:10px; }
#plantan-light-calculator .section-heading h2 { margin:4px 0; }
#plantan-light-calculator .section-heading p:not(.eyebrow) { font-size:14px; display:block; }
#plantan-light-calculator .eyebrow { font-size:12px; letter-spacing:.09em; font-weight:700; }
#plantan-light-calculator .data-badge { display:none; }
#plantan-light-calculator .day-plot { border-color:#e0e6dd; background:linear-gradient(#fff,#fafbf8); border-radius:10px; }
#plantan-light-calculator .day-graph-card.compact-graph .day-plot { height:280px; }
#plantan-light-calculator .legend { font-size:14px; line-height:1.5; gap:8px 18px; margin-top:16px; }
#plantan-light-calculator .graph-equivalent, #plantan-light-calculator .reference-explanation { font-size:14px; line-height:1.6; }
#plantan-light-calculator .lighting-section { margin:22px 0; padding:22px; gap:12px; border-color:#d6e2cf; background:#f3f7ed; border-radius:16px; }
#plantan-light-calculator .lighting-section h2 { margin:0; }
#plantan-light-calculator .interval-card { border-radius:10px; padding:12px; }
#plantan-light-calculator .interval-time { font-size:22px; font-variant-numeric:tabular-nums; }
#plantan-light-calculator .interval-edit small { font-size:14px; line-height:1.5; }
#plantan-light-calculator .interval-state { font-size:13px; }
#plantan-light-calculator .interval-actions button { font-size:14px; }
#plantan-light-calculator .edit-affordance { float:none; justify-self:start; padding:3px 9px; }
#plantan-light-calculator #add-interval { justify-self:start; border:1px solid var(--green); background:var(--green); color:white; padding:10px 18px; border-radius:8px; font-size:16px; text-decoration:none; }
#plantan-light-calculator .result-card { padding:22px; border-radius:14px; box-shadow:none; }
#plantan-light-calculator .result-card h2 { margin:6px 0 12px; }
#plantan-light-calculator .result-card p { font-size:16px; line-height:1.6; }
#plantan-light-calculator .details-toggle { font-size:16px; margin:14px 0; }
#plantan-light-calculator .modal-backdrop { z-index:10000; background:#142b24a6; }
#plantan-light-calculator .settings-dialog { font-size:16px; padding:24px; overscroll-behavior:contain; }
#plantan-light-calculator .settings-dialog h2 { font-family:inherit; font-size:24px; line-height:1.25; }
#plantan-light-calculator .settings-dialog label, #plantan-light-calculator .settings-dialog legend { font-size:16px; line-height:1.4; }
#plantan-light-calculator .settings-dialog input, #plantan-light-calculator .settings-dialog select { min-height:46px; font-size:16px; }
#plantan-light-calculator .starter-note, #plantan-light-calculator .safety-note { font-size:14px; line-height:1.55; }
#plantan-light-calculator .option-button:hover { background:#f3f7ed; border-color:#28664c; }
#plantan-light-calculator :is(button,a,input,select,summary):focus-visible { outline:3px solid #a56309; outline-offset:3px; }
@media(max-width:600px) {
 #plantan-light-calculator { font-size:16px; }
 #plantan-light-calculator .active-controls { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 #plantan-light-calculator .active-controls button { padding:10px 11px; }
 #plantan-light-calculator .graph-card, #plantan-light-calculator .lighting-section { padding:14px; border-radius:12px; }
 #plantan-light-calculator .day-graph-card.compact-graph .day-plot { height:235px; }
 #plantan-light-calculator .section-heading h2, #plantan-light-calculator .lighting-section h2 { font-size:22px; }
 #plantan-light-calculator .interval-card { grid-template-columns:1fr; }
 #plantan-light-calculator .interval-actions { flex-direction:row; justify-content:flex-start; gap:10px; }
 #plantan-light-calculator .settings-dialog { padding:18px; padding-bottom:max(18px,env(safe-area-inset-bottom)); max-height:88dvh; }
}
@media(prefers-reduced-motion:reduce) { #plantan-light-calculator * { transition:none!important; } }

#plantan-light-calculator .inspection-help { font-size:13px; line-height:1.5; color:var(--muted); }
#plantan-light-calculator .graph-explanation { margin:14px 0 0; border-top:1px solid var(--line); }
#plantan-light-calculator .graph-explanation summary { padding:12px 0 0; font-size:15px; font-weight:600; cursor:pointer; }
