/* AI Planter — Tools hub + calculators */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s-5); margin: var(--s-6) 0 var(--s-8); }
.tool-card { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5); border: 1px solid var(--border, #e5e7eb); border-radius: 16px; background: #fff; text-decoration: none; color: inherit; transition: transform .12s ease, box-shadow .12s ease; }
.tool-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(45,106,79,.12); }
.tool-card-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--primary-50, #e8f3ec); color: var(--primary, #2d6a4f); }
.tool-card h2, .tool-card h3 { margin: 0; font-size: 1.1rem; }
.tool-card p { margin: 0; color: var(--muted, #5b6b5e); font-size: .93rem; }
.tool-card .post-card-link { margin-top: auto; }
.calc { background: #fff; border: 1px solid var(--border, #e5e7eb); border-radius: 16px; padding: var(--s-6); margin: var(--s-6) 0; }
.calc-field { margin-bottom: var(--s-4); }
.calc-field label { display: block; font-weight: 700; margin-bottom: var(--s-1); font-size: .95rem; }
.calc-field select, .calc-field input[type="number"], .calc-field input[type="text"], .calc-field input[type="search"] { width: 100%; padding: .65rem .8rem; border: 1px solid var(--border, #dfe6df); border-radius: 10px; font-size: 1rem; font-family: inherit; }
.calc-field .hint { font-size: .85rem; color: var(--muted, #5b6b5e); margin-top: .25rem; }
.calc-radio-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.calc-radio { display: inline-flex; }
.calc-radio input { position: absolute; opacity: 0; }
.calc-radio span { display: inline-block; padding: .5rem 1rem; border: 1px solid var(--border, #dfe6df); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .9rem; }
.calc-radio input:checked + span { background: var(--primary, #2d6a4f); color: #fff; border-color: var(--primary, #2d6a4f); }
.calc-radio input:focus-visible + span { outline: 2px solid var(--primary, #2d6a4f); outline-offset: 2px; }
.calc-result { margin-top: var(--s-5); padding: var(--s-5); border-radius: 12px; background: var(--primary-50, #e8f3ec); border: 1px solid #cfe3d6; }
.calc-result h3 { margin: 0 0 var(--s-2); }
.calc-result .big-number { font-size: 2rem; font-weight: 800; color: var(--primary, #2d6a4f); }
.calc-result ul { margin: var(--s-2) 0 0; padding-left: 1.2rem; }
.tox-result { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-4); border: 1px solid var(--border, #e5e7eb); border-radius: 12px; margin-bottom: var(--s-3); background: #fff; text-decoration: none; color: inherit; }
.tox-badges { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .4rem; }
@media (max-width: 640px) { .calc { padding: var(--s-4); } }

/* Grow Light DLI & Timer Calculator (/tools/grow-light-calculator/) */
.gl-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "inputs output" "timer output"; grid-template-rows: auto 1fr; column-gap: 32px; align-items: start; }
.gl-inputs { grid-area: inputs; }
.gl-output { grid-area: output; }
.gl-timer-fields { grid-area: timer; }
.gl-input-unit { display: flex; align-items: stretch; }
.gl-input-unit input { flex: 1 1 auto; min-width: 0; border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.gl-input-unit span { display: flex; align-items: center; padding: 0 12px; border: 1px solid #ccd8c9; border-left: 0; border-radius: 0 8px 8px 0; background: #f3f6ef; color: #4f5d55; font-size: 13px; white-space: nowrap; }
.gl-calc input[type="time"] { width: 100%; min-height: 52px; padding: 12px 15px; border: 1px solid #ccd8c9; border-radius: 8px; background: #fff; font: inherit; font-size: 15px; }
.gl-calc input[aria-invalid="true"] { border-color: #b4462f; }
.gl-calc input[aria-invalid="true"] + span { border-color: #b4462f; }
.gl-error { margin: 8px 0 0; color: #a13d28; font-size: 13px; font-weight: 600; }
.gl-chips { display: flex; gap: 8px; margin-top: 10px; }
.gl-chip { min-height: 40px; padding: 0 14px; border: 1px solid #ccd8c9; border-radius: 6px; background: #fff; color: #35503d; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.gl-chip:hover { border-color: #8fa98f; }
.gl-chip[aria-pressed="true"] { background: var(--interior-green, #27674e); border-color: var(--interior-green, #27674e); color: #fff; }
.gl-chip:focus-visible { outline: 2px solid var(--interior-green, #27674e); outline-offset: 2px; }
.gl-timer-fields { margin: 4px 0 0; padding: 20px 0 0; border: 0; border-top: 1px solid var(--interior-line, #dce4db); }
.gl-timer-fields legend { padding: 0; font-weight: 700; font-size: 14px; color: #35503d; }
.gl-timer-fields legend span { margin-left: 6px; font-weight: 500; color: var(--interior-muted, #67716b); font-size: 12px; }
.gl-pair { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 14px; }
.gl-pair .calc-field:last-child { margin-bottom: 0; }
.gl-output { position: sticky; top: calc(var(--header-height, 72px) + 16px); }
.interior-page .gl-result { margin-top: 0; }
.gl-result .big-number { margin: 4px 0 2px; line-height: 1.1; }
.gl-unit { font-family: var(--font-body, sans-serif); font-size: 15px; color: #3b5540; }
.gl-kicker { margin: 0; font-size: 13px; font-weight: 700; color: #35503d; }
.gl-formula { margin: 0 0 16px; font-size: 13px; color: #4f5d55; font-variant-numeric: tabular-nums; }
.gl-empty { margin: 0; color: #3b5540; }
.gl-compare { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.gl-compare caption { text-align: left; font-size: 12px; font-weight: 700; color: #35503d; padding-bottom: 6px; }
.gl-compare th, .gl-compare td { padding: 7px 0; border-top: 1px solid #cfdfc9; text-align: left; font-weight: 500; }
.gl-compare td { text-align: right; }
.gl-compare tr.is-current th, .gl-compare tr.is-current td { font-weight: 800; color: #1f4f3b; }
.gl-timer { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid #cfdfc9; }
.gl-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 14px; }
.gl-row dt { color: #3b5540; }
.gl-row dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.gl-row strong { color: #1f4f3b; font-size: 16px; white-space: nowrap; }
.gl-note { color: #5a6b5f; font-size: 12px; }
.gl-warn { margin: 10px 0 4px; padding: 10px 12px; border-left: 3px solid #b5772a; background: #fbf3e4; color: #5b4114; font-size: 13px; line-height: 1.55; }
.gl-assume { margin: 16px 0 0 !important; padding: 12px 0 0 1.1rem !important; border-top: 1px solid #cfdfc9; font-size: 12px; line-height: 1.55; color: #4f5d55; }
.gl-actions { display: flex; gap: 10px; margin-top: 12px; }
.gl-print-title { display: none; }
.gl-article h3 { font-size: 19px; margin: 32px 0 12px; }
.gl-article ul { line-height: 1.75; color: var(--interior-muted, #67716b); padding-left: 1.2rem; }
.gl-article ul li { margin-bottom: 8px; }
.gl-article ul strong { color: var(--interior-ink, #17201c); }
.gl-article a { color: var(--interior-green, #27674e); text-decoration: underline; text-underline-offset: 3px; }
.gl-article > p { margin: 0 0 16px; color: var(--interior-muted, #67716b); line-height: 1.8; max-width: 75ch; }
.gl-article > h2 { font-family: var(--font-display, Georgia, serif); font-size: 32px; font-weight: 400; line-height: 1.25; margin: 48px 0 20px; }
.gl-article > h2:first-child { margin-top: 8px; }
.gl-equation { margin: 20px 0 !important; max-width: none !important; padding: 16px 20px; border: 1px solid var(--interior-line, #dce4db); border-radius: 8px; background: #fffefa; color: var(--interior-ink, #17201c) !important; font-size: 18px; font-variant-numeric: tabular-nums; text-align: center; }
.gl-equation span { font-weight: 700; }
.gl-table-wrap { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--interior-line, #dce4db); border-radius: 8px; background: #fffefa; }
.gl-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.gl-table caption { text-align: left; padding: 12px 16px 4px; font-size: 13px; font-weight: 700; color: #355842; }
.gl-table th, .gl-table td { padding: 10px 16px; border-top: 1px solid #e6ece3; text-align: left; }
.gl-table thead th { background: #f0f4ec; font-size: 13px; color: #2b4a38; }
.gl-faq h3 { font-family: var(--font-body, sans-serif); font-size: 17px; font-weight: 700; margin: 24px 0 6px; }
.gl-faq p { margin: 0; color: var(--interior-muted, #67716b); line-height: 1.75; max-width: 75ch; }
.gl-checked { font-size: 13px; }
@media (max-width: 760px) {
    .gl-calc { grid-template-columns: 1fr; grid-template-areas: "inputs" "output" "timer"; }
    .gl-timer-fields { margin-top: 32px; }
    .gl-output { position: static; }
    .gl-article > h2 { font-size: 27px; margin-top: 40px; }
    .gl-equation { font-size: 16px; padding: 14px; }
}
@media print {
    .page-grow-light .header, .page-grow-light .mobile-menu, .page-grow-light .footer, .page-grow-light .blog-hero,
    .page-grow-light .gl-inputs, .page-grow-light .gl-timer-fields, .page-grow-light .gl-actions, .page-grow-light .gl-article,
    .page-grow-light .ebook-inline-cta, .page-grow-light .share-block, .page-grow-light .skip-link { display: none !important; }
    .page-grow-light > main { padding-top: 0 !important; }
    .page-grow-light .calc { border: 0; padding: 0; margin: 0; display: block; background: none; }
    .page-grow-light .gl-output { position: static; }
    .page-grow-light .gl-print-title { display: block; margin: 0 0 12px; font-size: 12px; color: #333; }
    .page-grow-light .gl-result { background: none !important; border: 1px solid #999 !important; color: #000 !important; break-inside: avoid; }
}
