.button { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 13px; font-size: 14px; font-weight: 600; }
.button--primary { background: var(--navy); color: #fff; box-shadow: 0 9px 24px rgba(16,42,67,.18); }
.button--primary:hover { transform: translateY(-2px); }
.button--ghost { border: 1px solid #cdd5dc; background: rgba(255,255,255,.55); }
.special-workspace { overflow: hidden; border: 1px solid #d7dde2; border-radius: 22px; background: white; box-shadow: 0 12px 38px rgba(16,42,67,.07); }
.special-workspace__header { padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid #e6e9ec; background: #fafbfc; }
.special-workspace__header > div:first-child { display: flex; flex-direction: column; gap: 5px; }
.special-workspace__header strong { font-size: 14px; }
.special-workspace__header span { color: #8290a0; font-size: 14px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 6px; }
.choice-row button { padding: 8px 11px; border: 1px solid #dfe4e8; border-radius: 9px; background: white; color: #687585; font-size: 14px; font-weight: 600; }
.choice-row button.active { border-color: var(--navy); background: var(--navy); color: white; }
.finance-field { min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.finance-field > span { color: #566577; font-size: 14px; font-weight: 600; }
.finance-input { height: 45px; display: flex; align-items: center; overflow: hidden; border: 1px solid #d8dee3; border-radius: 10px; background: white; }
.finance-input:focus-within { border-color: #8baaf6; box-shadow: 0 0 0 3px rgba(53,108,246,.1); }
.finance-input input { width: 100%; min-width: 0; height: 100%; padding: 0 12px; border: 0; outline: 0; color: #26384a; font-size: 14px; font-weight: 700; }
.finance-input select { height: 100%; padding: 0 9px; border: 0; border-left: 1px solid #e2e6e9; outline: 0; background: #f7f9fa; color: #4f5e6e; font-size: 14px; font-weight: 600; }
.finance-input b { padding: 0 12px; color: #73808e; font-size: 14px; white-space: nowrap; }
.choice-row--wide { display: grid; grid-template-columns: 1fr 1fr; }
.choice-row--wide button { min-height: 45px; }
.finance-note { margin: 18px 2px 0; color: #84909d; font-size: 14px; line-height: 1.7; }
.aquarium-body { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 480px; }
.aquarium-controls { padding: 26px; border-right: 1px solid #e4e8eb; }
.aquarium-section-heading { margin-bottom: 15px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.aquarium-section-heading--spaced { margin-top: 29px; }
.aquarium-section-heading strong { font-size: 14px; }
.aquarium-section-heading span { color: #87939f; font-size: 14px; text-align: right; }
.aquarium-dimensions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.aquarium-select { width: 100%; border-left: 0 !important; background: white !important; font-size: 14px !important; }
.finance-field.is-disabled { opacity: .48; }
.aquarium-note { margin-top: 22px; padding: 16px; border-radius: 12px; background: #edf8f5; }
.aquarium-note strong { color: #217a69; font-size: 14px; }
.aquarium-note p { margin: 7px 0 0; color: #60776f; font-size: 14px; line-height: 1.6; }
.aquarium-result { padding: 30px; background: #f8fafc; }
.aquarium-main-result { margin-bottom: 12px; padding: 24px; display: grid; gap: 7px; border-radius: 16px; background: #123c4a; color: white; }
.aquarium-main-result span { color: #b8d9d8; font-size: 14px; font-weight: 600; }
.aquarium-main-result strong { font-size: clamp(30px, 5vw, 46px); letter-spacing: -.05em; }
.aquarium-main-result small { color: #a4c9c7; font-size: 14px; }
.aquarium-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aquarium-stats > div { min-height: 82px; padding: 15px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; border: 1px solid #e0e5e9; border-radius: 13px; background: white; }
.aquarium-stats span { color: #778493; font-size: 14px; font-weight: 600; }
.aquarium-stats strong { font-size: 17px; letter-spacing: -.03em; }
.aquarium-recommendations { display: grid; grid-template-columns: .72fr 1.28fr; border-top: 1px solid #e1e6ea; background: white; }
.aquarium-recommendations__controls { padding: 24px 26px; border-right: 1px solid #e4e8eb; }
.aquarium-guide-fields { display: grid; gap: 17px; }
.aquarium-equipment-cards { padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: #f8fafc; }
.aquarium-equipment-cards > div { min-height: 126px; padding: 17px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; border: 1px solid #e0e5e9; border-radius: 13px; background: white; }
.aquarium-equipment-cards span { color: #778493; font-size: 14px; font-weight: 600; }
.aquarium-equipment-cards strong { color: #21495a; font-size: 18px; letter-spacing: -.035em; }
.aquarium-equipment-cards p { margin: 0; color: #85919d; font-size: 14px; line-height: 1.55; }
.aquarium-disclaimer { padding: 14px 24px 16px; border-top: 1px solid #e8ecef; background: #fafbfc; color: #87939f; font-size: 14px; line-height: 1.65; }

/* Aquarium companion calculators */
.aqua-related-link { padding: 8px 11px; border: 1px solid #cfd9df; border-radius: 9px; background: white; color: #287468 !important; font-size: 14px !important; font-weight: 600; }
.aqua-header-badge { padding: 7px 10px; border-radius: 20px; background: #fff2d8; color: #99600b !important; font-weight: 600; }
.aqua-tool-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 590px; }
.aqua-tool-controls, .aqua-tool-result { min-width: 0; padding: 27px; }
.aqua-tool-controls { border-right: 1px solid #e4e8eb; background: white; }
.aqua-tool-result { background: #f8fafc; }
.aqua-unit-row { margin-bottom: 19px; }
.aqua-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px 15px; }
.aqua-field-grid--three { grid-template-columns: repeat(3, 1fr); }
.aqua-dose-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; }
.aqua-dose-row > span { padding-bottom: 13px; color: #8b96a1; font-size: 14px; font-weight: 600; }
.aqua-result-heading { min-height: 36px; margin-bottom: 12px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.aqua-result-heading .eyebrow { margin-bottom: 0; }
.aqua-result-heading button { padding: 7px 10px; border: 1px solid #d8dee3; border-radius: 8px; background: white; color: #536273; font-size: 14px; font-weight: 600; }
.aqua-main-result { margin-bottom: 11px; padding: 24px; display: grid; gap: 7px; border-radius: 16px; background: #123c4a; color: white; }
.aqua-main-result span { color: #b8d9d8; font-size: 14px; font-weight: 600; }
.aqua-main-result strong { font-size: clamp(29px, 4vw, 43px); letter-spacing: -.05em; }
.aqua-main-result small { color: #a4c9c7; font-size: 14px; line-height: 1.5; }
.aqua-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.aqua-stat-grid > div { min-height: 86px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 9px; border: 1px solid #e0e5e9; border-radius: 12px; background: white; }
.aqua-stat-grid span { color: #778493; font-size: 14px; font-weight: 600; }
.aqua-stat-grid strong { font-size: 15px; letter-spacing: -.03em; }
.aqua-mix-card, .aqua-bag-result { margin-top: 11px; padding: 17px; display: grid; gap: 7px; border: 1px solid #cfe4df; border-radius: 13px; background: #edf8f5; }
.aqua-mix-card span, .aqua-bag-result span { color: #247c6c; font-size: 14px; font-weight: 600; }
.aqua-mix-card strong, .aqua-bag-result strong { color: #174f47; font-size: 15px; line-height: 1.45; }
.aqua-mix-card p, .aqua-bag-result p { margin: 0; color: #60776f; font-size: 14px; line-height: 1.6; }
.aqua-caution { margin: 12px 0 0; padding: 13px 14px; border-radius: 11px; background: #fff7e7; color: #806f50; font-size: 14px; line-height: 1.65; }
.nitrate-header { border-top: 4px solid #6750a4; }
.nitrate-main-result { background: #30264b; }
.nitrate-main-result span { color: #d7cbea; }
.nitrate-main-result small { color: #c7b9dc; }
.nitrate-formula-note { background: #f2eff9; }
.nitrate-formula-note strong { color: #6750a4; }
.nitrate-formula-note p { color: #716785; }
.nitrate-series { margin-top: 12px; padding: 17px; position: relative; display: grid; gap: 10px; overflow: hidden; border: 1px solid #ded8eb; border-radius: 13px; background: white; }
.nitrate-series__heading { margin-bottom: 3px; display: flex; justify-content: space-between; gap: 12px; }
.nitrate-series__heading strong { color: #463b5f; font-size: 14px; }
.nitrate-series__heading span { color: #857999; font-size: 14px; font-weight: 600; }
.nitrate-series__row { position: relative; z-index: 1; display: grid; grid-template-columns: 32px 1fr 62px; gap: 9px; align-items: center; }
.nitrate-series__row > span, .nitrate-series__row > strong { color: #746984; font-size: 14px; font-weight: 600; }
.nitrate-series__row > strong { text-align: right; }
.nitrate-series__row i { height: 8px; overflow: hidden; border-radius: 999px; background: #eeeaf4; }
.nitrate-series__row i b { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #8269c4, #b49ee7); }
.nitrate-series__row i b.is-target { background: linear-gradient(90deg, #268269, #65bea5); }
.nitrate-caution--strong { background: #fff0ed; color: #8a4f44; }
.aqua-slope-guide { margin-top: 22px; padding: 16px; border: 1px solid #e0e5e9; border-radius: 13px; background: #f8fafc; }
.aqua-slope-guide > strong { font-size: 14px; }
.aqua-slope-guide > div { height: 74px; margin: 13px 0 9px; padding: 0 17%; display: flex; justify-content: space-between; align-items: end; border-bottom: 3px solid #b8c6ce; background: linear-gradient(#f8fafc 92%, #e8f3ef 92%); }
.aqua-slope-guide > div span { width: 38%; min-height: 18%; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #d3b68b, #9f7851); }
.aqua-slope-guide p { margin: 0; color: #7a8794; font-size: 14px; text-align: center; }
.aqua-electric-body { display: grid; grid-template-columns: 1.12fr .88fr; min-height: 610px; }
.aqua-electric-controls { min-width: 0; padding: 25px; border-right: 1px solid #e4e8eb; }
.aqua-electric-settings { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; padding-bottom: 22px; border-bottom: 1px solid #e6eaed; }
.aqua-electric-settings .button { min-height: 43px; padding: 0 15px; font-size: 14px; }
.aqua-equipment-heading { margin: 21px 0 13px; display: flex; justify-content: space-between; align-items: end; gap: 15px; }
.aqua-equipment-heading > div { display: grid; gap: 5px; }
.aqua-equipment-heading strong { font-size: 14px; }
.aqua-equipment-heading span { color: #83909c; font-size: 14px; }
.aqua-equipment-heading button { padding: 8px 11px; border: 1px solid #cdd8de; border-radius: 9px; background: white; color: #287468; font-size: 14px; font-weight: 600; }
.aqua-equipment-table { overflow: hidden; border: 1px solid #dfe5e9; border-radius: 13px; }
.aqua-equipment-row { padding: 8px; display: grid; grid-template-columns: minmax(130px, 1fr) 72px 72px 58px 31px; gap: 7px; align-items: center; border-top: 1px solid #edf0f2; background: white; }
.aqua-equipment-row:first-child { border-top: 0; }
.aqua-equipment-row input { min-width: 0; width: 100%; height: 37px; padding: 0 9px; border: 1px solid #dbe1e5; border-radius: 8px; outline: 0; background: #fbfcfd; color: #344354; font-size: 14px; }
.aqua-equipment-row input:focus { border-color: #89a9f5; box-shadow: 0 0 0 3px rgba(53,108,246,.09); }
.aqua-equipment-row > button { width: 29px; height: 29px; border: 0; border-radius: 50%; background: #f1f3f5; color: #8a95a0; }
.aqua-equipment-row--head { padding-top: 10px; padding-bottom: 10px; background: #f7f9fa; color: #7f8b97; font-size: 14px; font-weight: 600; }
.aqua-electric-result { padding: 27px; }
.aqua-cost-breakdown { margin-top: 11px; padding: 16px; display: grid; gap: 10px; border: 1px solid #e0e5e9; border-radius: 13px; background: white; }
.aqua-cost-breakdown > strong { margin-bottom: 2px; font-size: 14px; }
.aqua-cost-breakdown > div { display: grid; grid-template-columns: minmax(75px, 1fr) 1.25fr auto; gap: 9px; align-items: center; color: #657281; font-size: 14px; }
.aqua-cost-breakdown > div > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aqua-cost-breakdown i { height: 6px; overflow: hidden; border-radius: 10px; background: #e7ecef; }
.aqua-cost-breakdown i b { height: 100%; display: block; border-radius: inherit; background: var(--mint); }
.aqua-cost-breakdown em { color: #3e4e5f; font-style: normal; font-weight: 600; }
.creative-aqua-workspace { overflow: hidden; }
.creative-aqua-header { min-height: 76px; }
.creative-aqua-header > div { min-width: 0; display: grid; gap: 5px; }
.creative-aqua-header > div > span { color: #6b7280; font-size: 14px; line-height: 1.55; }
.creative-aqua-badge {
  flex: 0 0 auto; padding: 6px 9px; border: 1px solid #dbe3ec; border-radius: 6px;
  background: #f7f8fa; color: #526171; font-size: 14px; font-weight: 600; letter-spacing: .08em;
}
.creative-aqua-split { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.creative-aqua-controls { min-width: 0; padding: 26px; display: grid; align-content: start; gap: 18px; border-right: 1px solid #e5e7eb; background: #fff; }
.creative-aqua-result { min-width: 0; padding: 26px; display: grid; align-content: start; gap: 16px; background: #f7f8fa; }
.creative-field-grid { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.creative-field-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.creative-field-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.creative-field-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.creative-field { min-width: 0; display: grid; gap: 7px; color: #556170; font-size: 14px; font-weight: 600; }
.creative-field > div { min-width: 0; height: 48px; display: flex; align-items: stretch; border: 1px solid #d8dee6; border-radius: 8px; background: #fff; }
.creative-field input, .creative-field select {
  width: 100%; min-width: 0; height: 48px; padding: 0 12px; border: 1px solid #d8dee6; border-radius: 8px;
  outline: 0; background: #fff; color: #171717; font: inherit; font-size: 14px; font-variant-numeric: tabular-nums;
}
.creative-field > div input { height: auto; padding-right: 4px; border: 0; background: transparent; }
.creative-field > div b { padding: 0 11px 0 5px; display: flex; align-items: center; color: #7a8490; font-size: 14px; white-space: nowrap; }
.creative-field input:focus, .creative-field select:focus, .creative-field > div:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(53,108,246,.1); }
.creative-field > div input:focus { box-shadow: none; }
.creative-text-field { display: grid; }
.creative-photo-input {
  min-height: 54px; padding: 11px 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px;
  align-items: center; border: 1px dashed #cbd4de; border-radius: 8px; background: #fafbfc; cursor: pointer;
}
.creative-photo-input span { color: #556170; font-size: 14px; font-weight: 600; }
.creative-photo-input input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.creative-photo-input b { grid-column: 2; grid-row: 1; color: var(--blue); font-size: 14px; }
.creative-result-heading { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.creative-result-heading > div { min-width: 0; display: grid; gap: 3px; }
.creative-result-heading strong { color: #222a34; font-size: 14px; }
.creative-result-heading span { color: #7a8490; font-size: 14px; }
.creative-result-heading > button {
  min-height: 34px; padding: 0 10px; border: 1px solid #d2dae4; border-radius: 7px;
  background: #fff; color: #536070; font-size: 14px; font-weight: 600;
}
.creative-formula-note, .creative-insight { padding: 15px 16px; border: 1px solid #e1e5ea; border-radius: 8px; background: #fff; }
.creative-formula-note strong, .creative-insight strong { color: #344151; font-size: 14px; }
.creative-formula-note p, .creative-insight p { margin: 6px 0 0; color: #687585; font-size: 14px; line-height: 1.7; }
.creative-disclaimer { color: #737e8b; font-size: 14px; line-height: 1.7; }
.creative-actions { display: flex; justify-content: flex-end; gap: 8px; }
.creative-actions .button { min-height: 42px; padding: 0 15px; border-radius: 7px; font-size: 14px; }

.tank-profile-card {
  overflow: hidden; aspect-ratio: 16 / 9; display: grid; grid-template-columns: 38% minmax(0, 1fr);
  border: 1px solid #dbe1e7; border-radius: 9px; background: #fff;
}
.tank-profile-card__photo { min-width: 0; display: grid; place-items: center; background: #ddebed center / cover no-repeat; color: #64808b; font-size: 14px; font-weight: 600; letter-spacing: .08em; }
.tank-profile-card__body { min-width: 0; padding: clamp(14px, 2vw, 25px); display: flex; flex-direction: column; }
.tank-profile-card__body > small { color: #307385; font-size: 14px; font-weight: 600; letter-spacing: .08em; }
.tank-profile-card__body h2 { overflow: hidden; margin: 7px 0 3px; color: #17212b; font-size: clamp(18px, 2.1vw, 27px); line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.tank-profile-card__body > p { margin: 0 0 12px; color: #677381; font-size: 14px; }
.tank-profile-card__body dl { margin: 0; display: grid; gap: 5px; }
.tank-profile-card__body dl div { min-width: 0; display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 8px; }
.tank-profile-card__body dt { color: #84909c; font-size: 14px; font-weight: 600; }
.tank-profile-card__body dd { overflow: hidden; margin: 0; color: #2c3743; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.tank-profile-card__body footer { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; border-top: 1px solid #e6eaee; color: #273844; font-size: 14px; font-weight: 600; }
.tank-profile-card__body footer span { color: #8a949f; font-weight: 700; }

.creative-aqua-split--timeline { grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); }
.water-plan-editor { padding: 14px; display: grid; gap: 11px; border: 1px solid #dce3e9; border-left: 3px solid #236f86; border-radius: 8px; background: #f9fbfc; }
.water-plan-editor--b { border-left-color: #d27a52; }
.water-plan-editor > strong { color: #354352; font-size: 14px; }
.water-chart-legend { display: flex; align-items: center; gap: 6px; color: #687585; font-size: 14px; font-weight: 600; }
.water-chart-legend i { width: 13px; height: 3px; border-radius: 2px; background: #236f86; }
.water-chart-legend i.is-b { margin-left: 4px; background: #d27a52; }
.water-timeline-chart { padding: 10px 8px 4px; border: 1px solid #e0e5ea; border-radius: 8px; background: #fff; }
.water-timeline-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.water-timeline-chart text { fill: #7c8793; font-size: 14px; font-weight: 700; }
.water-plan-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.water-plan-results article { min-width: 0; padding: 16px; display: grid; gap: 7px; border: 1px solid #dce2e8; border-radius: 8px; background: #fff; }
.water-plan-results span, .water-plan-results small { color: #778391; font-size: 14px; }
.water-plan-results strong { color: #1f2a35; font-size: 16px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.layout-body { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); }
.layout-controls { min-width: 0; padding: 24px; display: grid; align-content: start; gap: 17px; border-right: 1px solid #e5e7eb; background: #fff; }
.layout-segmented { padding: 3px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #dfe4ea; border-radius: 8px; background: #f3f5f7; }
.layout-segmented button { min-height: 39px; border: 0; border-radius: 6px; background: transparent; color: #687585; font-size: 14px; font-weight: 600; }
.layout-segmented button.active { background: #fff; color: #202832; box-shadow: 0 1px 3px rgba(17,24,39,.08); }
.layout-view-note { margin: 0; padding: 10px 12px; display: grid; gap: 3px; border-left: 3px solid var(--blue); background: #f7f9ff; color: #667381; }
.layout-view-note strong { color: #35414d; font-size: 14px; }
.layout-view-note span { font-size: 14px; line-height: 1.55; }
.layout-add { display: grid; gap: 9px; }
.layout-add > strong, .layout-item-list > strong { color: #556170; font-size: 14px; }
.layout-add > div { display: flex; flex-wrap: wrap; gap: 6px; }
.layout-add button { min-height: 34px; padding: 0 9px; border: 1px solid #d8dfe6; border-radius: 6px; background: #fff; color: #4f5d6b; font-size: 14px; font-weight: 600; }
.layout-add button:hover { border-color: #9eabba; }
.layout-item-list { min-width: 0; display: grid; gap: 7px; }
.layout-item-list > button { min-width: 0; min-height: 39px; padding: 7px 9px; display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 8px; align-items: center; border: 1px solid #e0e4e9; border-radius: 7px; background: #fff; color: #3f4a57; text-align: left; }
.layout-item-list > button.active { border-color: var(--blue); background: #f7f9ff; }
.layout-item-list i { width: 9px; height: 9px; border-radius: 50%; }
.layout-item-list span { overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.layout-item-list small { color: #808b96; font-size: 14px; }
.layout-selected { padding-top: 15px; display: grid; gap: 12px; border-top: 1px solid #e5e7eb; }
.layout-selected > div:first-child { display: flex; align-items: center; justify-content: space-between; }
.layout-selected > div:first-child strong { color: #384553; font-size: 14px; }
.layout-selected > div:first-child button { border: 0; background: transparent; color: #a14a4a; font-size: 14px; font-weight: 600; }
.layout-stage-wrap { min-width: 0; padding: 24px; display: grid; align-content: start; gap: 15px; background: #f7f8fa; }
.layout-stage { padding: 16px; border: 1px solid #dbe2e8; border-radius: 8px; background: #fff; }
.layout-stage svg { width: 100%; max-height: 540px; display: block; touch-action: none; }
.layout-scale { display: flex; align-items: center; gap: 9px; color: #768290; font-size: 14px; }
.layout-scale i { height: 1px; flex: 1; background: #cfd7df; }

.guppy-main-result { padding: 22px; display: grid; gap: 7px; border: 1px solid #d9e0e8; border-radius: 9px; background: #fff; }
.guppy-main-result span { color: #667381; font-size: 14px; font-weight: 600; }
.guppy-main-result strong { color: #171717; font-size: clamp(30px, 4vw, 43px); line-height: 1.12; letter-spacing: -.045em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.guppy-main-result small { color: #737f8b; font-size: 14px; }
.guppy-timeline { display: grid; gap: 7px; }
.guppy-timeline > div { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr) 64px 50px; gap: 8px; align-items: center; }
.guppy-timeline span, .guppy-timeline small { color: #7a8591; font-size: 14px; }
.guppy-timeline strong { color: #35414d; font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.guppy-timeline small { text-align: right; }
.guppy-timeline i { overflow: hidden; height: 8px; border-radius: 4px; background: #e4e8ed; }
.guppy-timeline i b { height: 100%; display: block; border-radius: inherit; background: var(--blue); }

@media (max-width: 960px) {
  .creative-aqua-split, .creative-aqua-split--timeline, .layout-body { grid-template-columns: 1fr; }
  .creative-aqua-controls, .layout-controls { border-right: 0; border-bottom: 1px solid #e5e7eb; }
  .tank-profile-card { max-width: 720px; margin-inline: auto; width: 100%; }
}

@media (max-width: 680px) {
  .creative-aqua-header { min-height: 70px; align-items: flex-start; }
  .creative-aqua-badge { display: none; }
  .creative-aqua-controls, .creative-aqua-result, .layout-controls, .layout-stage-wrap { padding: 20px; }
  .creative-field-grid, .creative-field-grid--2, .creative-field-grid--3, .creative-field-grid--4 { grid-template-columns: 1fr 1fr; }
  .creative-field input, .creative-field select, .creative-field > div { height: 50px; }
  .creative-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .creative-actions .button { width: 100%; padding-inline: 8px; }
  .tank-profile-card { aspect-ratio: auto; grid-template-columns: 1fr; }
  .tank-profile-card__photo { min-height: 190px; }
  .tank-profile-card__body { min-height: 320px; padding: 20px; }
  .tank-profile-card__body h2 { font-size: 24px; }
  .tank-profile-card__body dl { gap: 8px; }
  .tank-profile-card__body dl div { grid-template-columns: 84px minmax(0, 1fr); }
  .tank-profile-card__body dt, .tank-profile-card__body dd { font-size: 14px; }
  .water-plan-results { grid-template-columns: 1fr; }
  .water-timeline-chart { margin-inline: -6px; overflow-x: auto; }
  .water-timeline-chart svg { min-width: 560px; }
  .layout-stage { padding: 8px; }
  .guppy-timeline > div { grid-template-columns: 38px minmax(0, 1fr) 56px; }
  .guppy-timeline small { display: none; }
}

@media (max-width: 400px) {
  .creative-field-grid, .creative-field-grid--2, .creative-field-grid--3, .creative-field-grid--4 { grid-template-columns: 1fr; }
  .creative-photo-input { grid-template-columns: minmax(0, 1fr) auto; }
  .creative-actions { grid-template-columns: 1fr; }
  .tank-profile-card__body dl div { grid-template-columns: 72px minmax(0, 1fr); }
}
.aquarium-method { padding: 1rem 1.5rem; border-top: 1px solid #e5e7eb; font-size: .875rem; line-height: 1.75; }
.aquarium-method summary { cursor: pointer; font-weight: 600; }
.aquarium-method p { margin: .75rem 0; color: #586879; }
.aquarium-method dl { margin: 1rem 0; }
.aquarium-method dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .4rem 0; border-bottom: 1px solid #edf0f2; }
.aquarium-method dt { flex: 1 1 16rem; }
.aquarium-method dd { margin: 0; font-variant-numeric: tabular-nums; }
