:root { --ink:#173a34; --leaf:#2a6b54; --moss:#90a877; --sun:#ea9144; --paper:#f6f3eb; --cream:#fbfaf6; --line:#d9ded2; --muted:#617169; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height:1.5; }
main { width:min(1120px, calc(100% - 34px)); margin:auto; padding:66px 0 34px; }
.site-nav { display:flex; justify-content:flex-end; gap:8px; margin-bottom:20px; }
.site-nav a { border:1px solid #bdc9ba; border-radius:999px; padding:8px 14px; color:var(--ink); font-size:.78rem; font-weight:800; text-decoration:none; }
.site-nav a:hover,.site-nav a.active { border-color:var(--leaf); background:var(--leaf); color:white; }
.site-nav a.site-brand { position:relative; display:block; flex:0 0 auto; width:min(315px,100%); aspect-ratio:2031/774; padding:0; border:0; border-radius:0; background:transparent; overflow:hidden; }
.site-brand img { display:block; width:100%; height:auto; mix-blend-mode:multiply; }
.site-nav a.site-brand:focus-visible { outline:3px solid var(--leaf); outline-offset:3px; }
.return-calculator { display:inline-flex; align-items:center; min-height:44px; padding:10px 16px; border-radius:8px; background:var(--leaf); color:#fff; font-size:.9rem; font-weight:700; text-decoration:none; }
.return-calculator:hover { background:#205840; }
.return-calculator:focus-visible { outline:3px solid var(--ink); outline-offset:3px; }
.install-strip { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:0 0 30px; padding:14px 16px; border:1px solid #b9c9b7; border-radius:12px; background:#edf3e9; }
.install-strip div { display:grid; gap:2px; }
.install-strip strong { font-size:.86rem; }
.install-strip span { color:var(--muted); font-size:.75rem; }
.install-strip button { flex:0 0 auto; margin:0; padding:11px 15px; font-size:.79rem; }
.install-guide { margin:-18px 0 30px; padding:16px; border-left:4px solid var(--leaf); background:white; box-shadow:0 10px 30px #26483912; }
.install-guide[hidden] { display:none; }
.install-guide p { margin:0 0 8px; color:#445850; font-size:.82rem; }
.install-guide .secondary-button { margin-top:4px; }
body.app-installed .install-strip,body.app-installed .install-guide { display:none; }
.phone-install { margin:0 0 22px; padding:16px 20px; border:1px solid var(--line); border-radius:12px; background:var(--cream); }
.phone-install summary { color:var(--leaf); font-size:.93rem; font-weight:800; cursor:pointer; }
.phone-install summary::marker { font-size:1.4em; }
.phone-install summary:focus-visible { outline:3px solid var(--leaf); outline-offset:4px; }
.phone-install-steps { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-top:18px; }
.phone-install h2 { margin:0 0 8px; font-family:inherit; font-size:1rem; font-weight:800; letter-spacing:0; }
.phone-install ol { margin:0; padding-left:20px; color:#445850; font-size:.86rem; }
.phone-install li + li { margin-top:8px; }
.phone-install > p { margin:18px 0 0; color:var(--muted); font-size:.8rem; }
@media (max-width:760px) { .phone-install-steps { grid-template-columns:1fr; gap:20px; } }
.hero { position:relative; max-width:1120px; min-height:285px; margin-bottom:42px; padding-right:448px; }
.brand-block { position:absolute; top:-18px; right:48px; width:260px; text-align:center; }
.brand-logo { display:block; width:100%; height:auto; mix-blend-mode:multiply; }
.platform-compatibility-image { display:block; width:100%; max-width:100%; height:auto; margin:0 auto; mix-blend-mode:multiply; }
.platform-compatibility-title { margin:0 0 8px; padding:6px 5px; background:#111; color:#fff; font-size:.68rem; font-weight:800; line-height:1.25; }
.platform-compatibility { display:flex; justify-content:center; gap:6px; margin:0; }
.platform-item { display:grid; flex:0 1 46px; min-width:0; justify-items:center; gap:1px; font-size:.65rem; font-weight:700; line-height:1.15; }
.platform-icon { display:block; width:42px; height:47px; border-radius:7px; background-image:url("platform-pictograms-v2.png"); background-repeat:no-repeat; background-size:310px 86px; }
.platform-windows { background-position:-137px -35px; }
.platform-mac { background-position:-8px -33px; }
.platform-android { background-position:-199px -38px; }
.platform-linux { background-position:-264px -33px; }
.platform-ios { display:grid; place-items:center; width:38px; height:38px; margin:4px 0 5px; border-radius:50%; background:#111; color:#fff; font-size:.85rem; font-weight:800; }
.access-note { margin:12px 0 0; padding:12px 10px; border-left:4px solid var(--leaf); border-radius:5px; background:#e9f0e5; color:var(--ink); font-size:1.2rem; font-weight:800; line-height:1.3; }
.access-note strong,.access-note span { display:block; }
.access-note span { margin-top:8px; }
.hero-caption { margin:0 0 22px; color:var(--ink); font:800 1.1rem/1.35 Arial, Helvetica, sans-serif; text-align:center; }
.section-label { margin:0 0 9px; color:var(--leaf); font-size:.72rem; font-weight:800; letter-spacing:.12em; }
h1,h2,p { margin-top:0; } h1 { margin-bottom:16px; font-family:Georgia, "Times New Roman", serif; font-size:clamp(3rem, 7vw, 5.7rem); letter-spacing:-.06em; line-height:.87; font-weight:500; }
.hero h1 { font-family:Arial, Helvetica, sans-serif; font-size:clamp(2rem, 4.667vw, 3.8rem); font-weight:700; letter-spacing:-.035em; line-height:1; }
.hero .image-heading { margin-bottom:10px; line-height:0; }
.image-heading img { display:block; width:100%; height:auto; mix-blend-mode:multiply; }
.visually-hidden { position:absolute; width:1px; height:1px; margin:-1px; padding:0; border:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
h2 { font-family:Georgia, "Times New Roman", serif; font-size:1.75rem; line-height:1.1; font-weight:500; letter-spacing:-.03em; } .intro { color:#445850; font-size:.95rem; max-width:680px; margin-bottom:8px; } .intro p { margin:0 0:.8em; } .intro p:last-child { margin-bottom:0; }
.workspace { display:grid; grid-template-columns:1.45fr .8fr; overflow:hidden; border-radius:18px; box-shadow:0 18px 50px #2648391c; }
form { padding:34px; background:var(--cream); } .form-head { display:flex; justify-content:space-between; gap:20px; border-bottom:1px solid var(--line); padding-bottom:20px; } .form-head h2 { margin:0; } .species-selector { align-self:center; display:grid; gap:4px; color:var(--muted); font-size:.72rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; } .species-selector select { max-width:245px; border:1px solid #bfcabe; border-radius:7px; padding:8px; background:white; color:var(--ink); font:600 .82rem/1.2 system-ui,sans-serif; letter-spacing:normal; text-transform:none; }
.form-head h2 { font-family:inherit; font-weight:400; }
.form-head h2 #selected-species:not([hidden]) { font-weight:700; }
.form-head h2:has(#selected-species:not([hidden])) { white-space:nowrap; font-size:var(--species-heading-size,1.75rem); letter-spacing:normal; }
@media (max-width:760px) {
  .form-head > div { min-width:0; }
  .home-page .form-head h2:has(#selected-species:not([hidden])) { font-size:clamp(15px,4vw,22px); }
}
.height-helper .species-selector { width:min(100%,360px); margin:18px auto 0; }
.height-helper .species-selector select { width:100%; max-width:none; min-height:44px; }
.fields { display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; padding:24px 0 14px; } label { display:grid; gap:3px; font-size:.87rem; font-weight:700; } .fields > label { grid-template-rows:42px 45px auto; align-content:start; } label i { font-size:.72rem; color:var(--muted); font-style:normal; font-weight:500; } .hint { min-height:34px; color:var(--muted); font-size:.72rem; line-height:1.25; font-weight:400; }
.measure-field { display:grid; grid-template-rows:42px 45px auto auto auto auto; align-content:start; gap:3px; min-width:0; }
.measure-title { font-size:.87rem; font-weight:700; }
.measure-choice { display:flex; flex-wrap:wrap; gap:6px; min-width:0; margin:0 0 7px; padding:0; border:0; }
.measure-choice label { display:inline-flex; align-items:center; gap:5px; min-height:36px; padding:6px 8px; border:1px solid #bfcabe; border-radius:8px; background:white; cursor:pointer; font-size:.76rem; font-weight:650; white-space:nowrap; }
.measure-choice label:has(input:checked) { background:#e6f0e8; border-color:var(--leaf); color:var(--leaf); }
.measure-choice input { width:auto; margin:0; padding:0; accent-color:var(--leaf); }
.measure-choice input:focus-visible { outline:2px solid var(--leaf); outline-offset:2px; }
.measure-field > label { font-size:.76rem; }
.height-field { min-width:0; }
.height-field > label,.merchant-field > label { grid-template-rows:42px 45px auto; align-content:start; }
.height-field > .measurement-guide-link { margin-top:8px; }
.merchant-field .partial-height-warning { margin:8px 0 0; color:#d93025; font-size:.9rem; line-height:1.35; font-weight:700; }
.merchant-specifications { margin:12px 0 0; padding:10px 12px; border:1px solid var(--leaf); border-radius:8px; background:#fff; }
.merchant-specifications summary { color:var(--leaf); font-size:.85rem; line-height:1.4; }
.merchant-specifications summary:focus-visible { outline:3px solid var(--leaf); outline-offset:3px; }
.merchant-specifications p { margin:10px 0 0; font-size:.85rem; line-height:1.55; }
.height-helper { margin:24px 0 20px; padding:24px 28px; border:1px solid var(--line); border-radius:18px; background:#f3f7f0; }
.height-helper h2 { margin:0; color:var(--ink); }
.height-helper > p { margin:12px 0 0; color:var(--muted); font-size:.79rem; }
.height-helper-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 15px; margin-top:15px; }
.height-helper-fields label { min-width:0; font-size:.78rem; }
.height-helper-fields input,.height-helper-fields select { min-height:44px; width:100%; margin-top:5px; padding:9px 12px; border:1px solid #bfcabe; border-radius:8px; background:#fff; color:var(--ink); font:600 .93rem/1.3 system-ui,sans-serif; }
.height-helper-fields :is(input,select):focus-visible { outline:3px solid #d4e6d7; border-color:var(--leaf); }
.height-helper #calculate-height { margin-top:15px; padding:11px 16px; font-size:.82rem; }
.height-helper .height-helper-result { color:var(--ink); font-weight:700; }
.height-helper .height-helper-result.error { color:#8b2e20; background:transparent; padding:0; }
@media (max-width:760px) { .height-helper { padding:20px; } .height-helper-fields { grid-template-columns:1fr; } }
@media (max-width:760px) { .height-field > label,.merchant-field > label { grid-template-rows:auto; } }
.converted-dhp { margin:6px 0 0; color:var(--leaf); font-size:.76rem; font-weight:700; }
.converted-dhp[hidden] { display:none; }
.input-wrap { position:relative; display:block; } input { width:100%; border:1px solid #bfcabe; border-radius:8px; padding:12px 36px 12px 12px; background:white; color:var(--ink); font:700 1.15rem/1 system-ui,sans-serif; } input:focus { outline:3px solid #d4e6d7; border-color:var(--leaf); } .input-wrap b { position:absolute; right:11px; top:11px; font-size:.8rem; color:var(--muted); }
.under-input { color:var(--muted); font-size:.76rem; } .error { margin:16px 0 0; padding:10px; color:#8b2e20; background:#fff0eb; border-radius:7px; font-size:.87rem; } button { margin-top:10px; border:0; border-radius:8px; padding:14px 21px; background:var(--leaf); color:white; font:800 .93rem/1 system-ui,sans-serif; cursor:pointer; } button:hover { background:#205840; }
.calculator-actions { display:flex; gap:10px; align-items:stretch; }
.calculator-actions button { flex:1 1 0; min-width:0; line-height:1.2; }
.quick-add-count { margin:8px 0 0; color:var(--muted); font-size:.76rem; }
.result-panel { padding:34px; color:white; background:linear-gradient(150deg,#173a34,#285c47); } .result-panel .section-label { color:#bed6b9; } .volume-line { display:flex; align-items:end; gap:15px; margin:27px 0 7px; } output { font-family:Georgia,serif; font-size:clamp(3.2rem,6vw,5rem); line-height:.85; letter-spacing:-.07em; } .volume-line span { padding-bottom:4px; color:#cbd8cc; font-size:.76rem; line-height:1.2; } .result-name { color:#cbd8cc; font-size:.83rem; } .summary-grid { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid #ffffff2d; border-bottom:1px solid #ffffff2d; margin:26px 0 17px; padding:16px 0; } .summary-grid div+div { padding-left:15px; border-left:1px solid #ffffff2d; } .summary-grid strong,.summary-grid span { display:block; } .summary-grid strong { font-size:1.25rem; } .summary-grid span { color:#cbd8cc; font-size:.7rem; }
.merchant-result { padding:12px; border:1px solid #ffffff36; border-radius:7px; font-size:.76rem; } .merchant-result span,.merchant-result small { display:block; color:#cbd8cc; } .merchant-result strong { display:block; margin:3px 0; font-size:1rem; } .threshold { margin:18px 0 0; color:#c9dfbf; font-size:.8rem; } .threshold.warning { color:#ffc484; }
.model-range-warning { margin:12px 0 0; padding:12px; border:1px solid #ffc5bd; border-radius:7px; background:#fff0ed; color:#9d2519; font-size:.85rem; font-weight:700; line-height:1.4; }
.height-accuracy { display:grid; grid-template-columns:.9fr 1.35fr; gap:28px; margin:34px 0; padding:26px 29px; border:1px solid var(--line); border-left:5px solid var(--leaf); background:#eef3ea; }
.height-accuracy h2 { margin-bottom:12px; }
.height-accuracy-heading > p:last-child { margin:0; color:var(--muted); font-size:.85rem; }
.height-accuracy ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:0; padding:0; list-style:none; }
.height-accuracy li { padding:13px 14px; border:1px solid #d2dbcf; background:white; }
.height-accuracy li strong,.height-accuracy li span { display:block; }
.height-accuracy li strong { font-size:.82rem; }
.height-accuracy li span { margin-top:3px; color:var(--muted); font-size:.75rem; }
.height-rule { grid-column:1 / -1; margin:0; padding-top:14px; border-top:1px solid #c9d4c6; color:#445850; font-size:.82rem; }
.plot-summary { margin:34px 0 46px; padding:29px; border:1px solid var(--line); border-top:3px solid var(--moss); background:var(--cream); }
.plot-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; } .plot-heading h2 { margin:0; } .plot-heading button { margin:0; }
.plot-instruction { max-width:670px; margin:18px 0; color:var(--muted); font-size:.88rem; }
.plot-totals { display:grid; grid-template-columns:.86fr 1.24fr; border:1px solid var(--line); background:white; }
.plot-total-card,.cord-card { padding:20px; } .plot-total-card { border-right:1px solid var(--line); } .plot-total-card > span { color:var(--leaf); font-size:.75rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.plot-total-card strong { display:flex; align-items:baseline; gap:9px; margin:5px 0 2px; } .plot-total-card output { font-family:Georgia,serif; font-size:3.25rem; line-height:.9; letter-spacing:-.06em; } .plot-total-card b { font-size:.85rem; }
.plot-total-card small { color:var(--muted); font-size:.74rem; }
.cord-card { background:#f0f3ec; } .factor-field { display:grid; grid-template-columns:auto 88px auto; align-items:center; gap:8px; color:var(--ink); font-size:.79rem; } .factor-field input { min-width:0; padding:8px; font-size:.95rem; } .factor-field b { color:var(--muted); font-size:.72rem; font-weight:600; }
.cord-value { margin:14px 0 3px; color:var(--ink); font-weight:800; font-size:1rem; } .cord-value output { font-family:Georgia,serif; font-size:1.65rem; line-height:1; letter-spacing:-.04em; }
.cord-note { margin:0; color:var(--muted); font-size:.73rem; line-height:1.35; }
.plot-source-note { margin:0; padding:11px 20px; border:1px solid var(--line); border-top:0; color:var(--muted); background:#f7f9f5; font-size:.73rem; line-height:1.45; }
.plot-list-wrap { max-height:360px; overflow:auto; border:1px solid var(--line); border-top:0; background:white; }
.plot-list { margin:0; padding:0; list-style:none; } .plot-empty { padding:18px 20px; color:var(--muted); font-size:.85rem; }
.plot-tree { display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:18px; padding:13px 18px; border-bottom:1px solid #e8ece4; } .plot-tree:last-child { border-bottom:0; } .plot-tree p { margin:0; } .plot-tree p strong,.plot-tree p span { display:block; } .plot-tree p strong { font-size:.86rem; } .plot-tree p span { color:var(--muted); font-size:.73rem; } .tree-volume { white-space:nowrap; color:var(--leaf); font-size:.84rem; }
.plot-tree p .tree-comparison { margin-top:5px; color:var(--leaf); font-size:.81rem; line-height:1.45; }
.remove-tree,.clear-plot { margin:0; border:1px solid #9f3024; background:#9f3024; color:white; padding:8px 11px; font-size:.73rem; } .remove-tree:hover,.clear-plot:hover { background:#7f2219; border-color:#7f2219; color:white; } .clear-plot { margin-top:14px; } button:disabled { cursor:not-allowed; opacity:.45; } button:disabled:hover { background:transparent; }
.remove-tree.confirming,.clear-plot.confirming { border-color:#8c3022; background:#8c3022; color:white; }
.remove-tree.confirming:hover,.clear-plot.confirming:hover { border-color:#742419; background:#742419; color:white; }
.clear-plot:disabled:hover { background:#9f3024; color:white; }
.plot-next-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:24px; margin-top:14px; }
.plot-next-actions .clear-plot { margin-top:0; }
.add-another-tree { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:14px 21px; border:1px solid var(--leaf); border-radius:8px; background:#fff; color:var(--leaf); font:800 .93rem/1 system-ui,sans-serif; text-align:center; text-decoration:none; }
.add-another-tree:hover { background:#eaf3e8; }
.add-another-tree:focus-visible { outline:3px solid var(--ink); outline-offset:3px; }
.save-plot-actions { display:flex; align-items:center; gap:18px; margin-top:22px; padding-top:20px; border-top:1px solid var(--line); }
.save-plot-actions button { margin:0; }
.text-link { color:var(--leaf); font-size:.82rem; font-weight:800; }
.save-plot-form { margin-top:22px; padding:24px; border:1px solid #c7d2c3; border-radius:12px; background:#eef3ea; }
.save-plot-form[hidden] { display:none; }
.save-form-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; }
.save-form-heading h3 { margin:0; font-family:Georgia,"Times New Roman",serif; font-size:1.45rem; font-weight:500; }
.secondary-button { margin:0; border:1px solid #aec0ac; background:white; color:var(--ink); padding:10px 14px; }
.secondary-button:hover { background:#e2eae0; color:var(--ink); }
.save-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:20px; }
.save-fields label { align-content:start; }
.save-fields label > span:first-child { min-height:24px; }
.save-fields small { color:var(--muted); font-size:.74rem; font-weight:600; }
.save-fields .hint { margin-top:4px; }
.location-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px 14px; margin-top:18px; }
.location-actions span { color:var(--muted); font-size:.78rem; }
.location-map-link,.saved-map-link { display:inline-flex; align-items:center; color:var(--leaf); font-size:.78rem; font-weight:800; text-underline-offset:3px; }
.location-map-link { min-height:44px; padding:9px 12px; border:1px solid #aec0ac; border-radius:7px; background:#f5f9f4; }
.location-map-link[hidden] { display:none; }
.location-map-link:focus-visible,.saved-map-link:focus-visible { outline:3px solid var(--leaf); outline-offset:3px; }
.saved-map-link { margin-top:8px; }
@media (max-width:760px) { .location-actions .location-map-link { width:100%; justify-content:center; } }
.location-note { margin:7px 0 0; color:var(--muted); font-size:.76rem; }
.save-note { margin:18px 0 0; color:var(--muted); font-size:.78rem; }
.save-success { margin:14px 0 0; padding:11px 13px; border-radius:8px; background:#dfeedd; color:var(--ink); font-size:.85rem; font-weight:700; }
.save-success a { color:var(--leaf); }
.results-header { margin:20px 0 30px; }
.results-header h1 { max-width:820px; }
.results-header .intro { max-width:760px; }
.storage-notice { margin:0 0 24px; padding:15px 17px; border-left:4px solid var(--sun); background:#fff9ef; color:#4c5d56; font-size:.86rem; }
.results-totals { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--line); background:white; }
.results-total { padding:19px; border-right:1px solid var(--line); }
.results-total:last-child { border-right:0; }
.results-total span,.results-total strong { display:block; }
.results-total span { color:var(--muted); font-size:.73rem; font-weight:700; }
.results-total strong { margin-top:4px; font-family:Georgia,serif; font-size:1.65rem; font-weight:500; }
.results-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:20px 0 30px; }
.results-actions button,.import-label { margin:0; border:1px solid #b8c7b6; border-radius:8px; padding:11px 15px; background:white; color:var(--ink); font-size:.78rem; font-weight:800; cursor:pointer; }
.results-actions button:hover,.import-label:hover { background:#e7eee5; }
.import-label input { position:absolute; width:1px; height:1px; overflow:hidden; opacity:0; }
.results-list { display:grid; gap:18px; }
.saved-plot { overflow:hidden; border:1px solid var(--line); border-top:3px solid var(--moss); background:white; }
.saved-plot-head { display:grid; grid-template-columns:1fr auto; gap:20px; align-items:start; padding:20px; }
.saved-plot h2 { margin:0 0 5px; font-size:1.5rem; }
.saved-plot-meta { margin:0; color:var(--muted); font-size:.78rem; }
.saved-plot-stats { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#f2f4ee; }
.saved-stat { padding:13px 17px; border-right:1px solid var(--line); }
.saved-stat:last-child { border-right:0; }
.saved-stat span,.saved-stat strong { display:block; }
.saved-stat span { color:var(--muted); font-size:.68rem; }
.saved-stat strong { font-size:.94rem; }
.saved-plot details { margin:0; padding:0; border:0; }
.saved-plot summary { padding:14px 20px; }
.saved-trees { margin:0; padding:0; list-style:none; border-top:1px solid var(--line); }
.saved-trees li { display:grid; grid-template-columns:1fr auto; gap:14px; padding:10px 20px; border-bottom:1px solid #e8ece4; font-size:.78rem; }
.saved-trees li:last-child { border-bottom:0; }
.saved-tree-comparison { display:block; margin-top:5px; color:var(--leaf); font-size:.85rem; line-height:1.45; }
.delete-plot { margin:0; border:1px solid #9f3024; background:#9f3024; color:white; padding:9px 12px; font-size:.72rem; }
.delete-plot:hover { background:#7f2219; border-color:#7f2219; color:white; }
.delete-plot.confirming { border-color:#8c3022; background:#8c3022; color:white; }
.delete-plot.confirming:hover { background:#742419; color:white; }
.results-empty { padding:30px; border:1px dashed #b9c6b6; background:white; color:var(--muted); text-align:center; }
.results-status { min-height:22px; margin:0 0 12px; color:var(--leaf); font-size:.82rem; font-weight:700; }
.method-grid { display:grid; grid-template-columns:1fr; gap:26px; margin:50px 0 30px; } .method-grid article { padding:24px; border-top:2px solid var(--moss); background:#eef0e8; } .method-grid h2 { margin-bottom:17px; } .method-grid p { font-size:.9rem; } details { margin:19px 0; padding:12px 0; border-top:1px solid #c9d2c4; border-bottom:1px solid #c9d2c4; } summary { cursor:pointer; font-weight:800; font-size:.85rem; } details p { margin:12px 0 0; } code { display:block; overflow:auto; font-size:.75rem; }
.volume-guide { margin:0 0 34px; padding:24px; border:1px solid var(--line); background:white; }
.volume-guide a { display:block; max-width:928px; margin:0 auto; }
.volume-guide img { display:block; width:100%; height:auto; }
.volume-guide figcaption { margin-top:10px; color:var(--muted); font-size:.74rem; text-align:center; }
.measurement-guide-link { display:inline-block; width:fit-content; margin:2px 0 6px; color:var(--leaf); font-size:.75rem; font-weight:800; text-underline-offset:3px; }
.measurement-guide-link:focus-visible,.measurement-guide-image:focus-visible { outline:3px solid var(--leaf); outline-offset:4px; }
.measurement-guide { margin:0 0 34px; padding:24px; border:1px solid var(--line); background:#fff; scroll-margin-top:20px; }
.measurement-guide h2 { margin:3px 0 8px; }
.measurement-guide > p:not(.section-label) { margin:0 0 16px; color:#43574e; font-size:.86rem; }
.measurement-guide-image { display:block; max-width:980px; margin:0 auto; text-decoration:none; }
.measurement-guide-image img { display:block; width:100%; height:auto; }
.enlarge-hint { display:block; padding:7px; color:var(--leaf); font-size:.77rem; font-weight:800; text-align:center; }
.measurement-guide-notes { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; max-width:980px; margin:14px auto; }
.measurement-guide-notes p { margin:0; padding:12px; border-left:2px solid var(--moss); background:#f6f8f3; font-size:.77rem; }
.measurement-guide .measurement-guide-formula { max-width:980px; margin:14px auto 0; }
.stilt-root-figure { width:min(100%,400px); margin:8px auto 20px; }
.stilt-root-figure img { display:block; width:100%; height:auto; }
.stilt-root-figure figcaption { padding:5px; color:var(--leaf); font-size:.82rem; font-weight:700; text-align:center; }
@media (max-width:760px) { .measurement-guide { padding:16px; } .measurement-guide-notes { grid-template-columns:1fr; gap:8px; } }
footer { padding-top:16px; border-top:1px solid var(--line); color:var(--muted); font-size:.71rem; }
.footer-meta,.copyright { display:block; margin-top:4px; }
footer a { color:inherit; }
.explanation-details { margin:16px 0; padding:14px 18px; border:1px solid var(--line); border-radius:9px; background:#f7f9f5; }
.explanation-details > summary { color:var(--leaf); font-size:.94rem; line-height:1.4; }
.explanation-details > summary::marker { font-size:1.4em; }
.explanation-details > summary:focus-visible { outline:3px solid var(--leaf); outline-offset:4px; }
.explanation-details .height-accuracy,.explanation-details .method-grid { margin:16px 0 0; }
.explanation-details .method-grid article { padding:18px; }
.intro .explanation-details p { margin:12px 0 0; }
.field-picker { display:block; min-width:0; }
.field-picker .input-wrap { min-width:0; }
.field-picker input { padding-right:94px; }
.field-picker .input-wrap b { right:65px; }
.field-picker .numeric-picker { position:absolute; top:1px; right:1px; width:50px; height:calc(100% - 2px); padding:0; border:0; border-left:1px solid #bfcabe; border-radius:0 7px 7px 0; appearance:none; background:#f4f8f4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232b6a52' d='M3 7h18l-9 11z'/%3E%3C/svg%3E") center/22px 22px no-repeat; color:transparent; font-size:0; cursor:pointer; }
.field-picker .numeric-picker:focus-visible { outline:3px solid #d4e6d7; outline-offset:2px; }
.field-picker .numeric-picker option { color:var(--ink); font-size:16px; }
.height-helper-fields .field-picker input { margin-top:5px; padding-right:62px; }
.height-helper-fields .numeric-picker { top:6px; height:calc(100% - 7px); margin-top:0; min-height:0; }
.angle-picker-trigger { display:none; }
@media (max-width:760px) { .height-helper-fields .angle-native-picker { display:none; } .height-helper-fields .angle-picker-trigger { display:block; } }
.angle-picker-dialog { width:min(360px,calc(100vw - 28px)); height:min(650px,80dvh); max-height:80dvh; padding:0; border:1px solid #bfcabe; border-radius:14px; color:var(--ink); background:#fff; box-shadow:0 16px 48px #142e2755; }
.angle-picker-dialog::backdrop { background:#10272088; }
.angle-picker-header { display:flex; align-items:center; justify-content:space-between; min-height:54px; padding:8px 16px; border-bottom:1px solid var(--line); font-size:1rem; }
.angle-picker-header button { width:40px; height:40px; border:0; background:transparent; color:var(--ink); font-size:1.8rem; cursor:pointer; }
.angle-picker-options { height:calc(100% - 54px); overflow-y:auto; overscroll-behavior:contain; }
.angle-picker-options button { display:block; width:100%; min-height:48px; padding:8px 20px; border:0; border-bottom:1px solid var(--line); background:#fff; color:var(--ink); font:600 1.1rem/1.3 system-ui,sans-serif; text-align:left; cursor:pointer; }
.angle-picker-options button:focus-visible,.angle-picker-options button:hover { outline:2px solid var(--leaf); outline-offset:-2px; background:#e6f0e8; }
.angle-picker-options #angle-picker-zero { background:#edf5ee; font-weight:800; }
.height-field > label { grid-template-rows:42px 45px; }
@media (max-width:760px) { main { width:min(100% - 24px,1120px); padding-top:24px; } .site-nav { justify-content:stretch; } .site-nav a { flex:1; padding:9px 8px; text-align:center; } .install-strip { align-items:stretch; flex-direction:column; margin-bottom:24px; } .install-strip button { width:100%; } .hero { min-height:0; padding-right:0; padding-left:0; } .brand-block { position:static; width:min(360px,92vw); margin:0 auto 26px; } .brand-logo { width:100%; } .platform-compatibility { font-size:.67rem; line-height:1.2; } .platform-compatibility strong { font-size:.68rem; } .form-head { align-items:flex-start; flex-direction:column; } .species-selector { align-self:stretch; } .species-selector select { max-width:none; width:100%; } .workspace,.method-grid,.height-accuracy { grid-template-columns:1fr; } .fields { grid-template-columns:1fr; } .fields > label { grid-template-rows:auto; } .hint { min-height:auto; } .height-accuracy { padding:21px 18px; } .height-accuracy ul { grid-template-columns:1fr; } .height-rule { grid-column:1; } .plot-summary { padding:18px; } .plot-heading { align-items:flex-start; flex-direction:column; } .plot-heading button { width:100%; } .plot-totals { grid-template-columns:1fr; } .plot-total-card { border-right:0; border-bottom:1px solid var(--line); } .factor-field { grid-template-columns:1fr 84px; } .factor-field b { grid-column:1 / -1; } .plot-tree { grid-template-columns:1fr auto; gap:8px 14px; } .tree-volume { grid-column:1; } .remove-tree { grid-column:2; grid-row:1 / span 2; } form,.result-panel { padding:24px; } .save-plot-actions,.location-actions { align-items:stretch; flex-direction:column; } .save-plot-actions button,.location-actions button { width:100%; } .save-plot-form { padding:18px; } .save-form-heading { align-items:stretch; flex-direction:column; } .save-form-heading .secondary-button { width:100%; } .save-fields { grid-template-columns:1fr; } .volume-guide { padding:10px; } .results-totals { grid-template-columns:repeat(2,1fr); } .results-total:nth-child(2) { border-right:0; } .results-total:nth-child(-n+2) { border-bottom:1px solid var(--line); } .saved-plot-head { grid-template-columns:1fr; } .delete-plot { width:100%; } .saved-plot-stats { grid-template-columns:1fr; } .saved-stat { border-right:0; border-bottom:1px solid var(--line); } .saved-stat:last-child { border-bottom:0; } .saved-trees li { grid-template-columns:1fr; gap:3px; } }
@media (max-width:760px) { .calculator-actions button { padding:13px 7px; font-size:.81rem; min-height:58px; } }
@media (max-width:760px) {
  .site-nav { justify-content:center; }
  .site-nav a.site-brand { flex:0 1 350px; width:min(350px,90vw); }
  .hero .image-heading { width:85%; margin:0 auto 10px; }
  .hero-caption { width:85%; margin:0 auto 20px; font-size:1rem; }
  .brand-block { width:min(300px,80vw); margin:0 auto 18px; }
  .brand-block::before { content:""; display:block; width:100%; border-top:1px solid var(--line); margin:0 auto 10px; }
  .platform-compatibility-title { width:min(240px,80%); margin:0 auto 5px; }
  .measure-field { grid-template-rows:auto; }
}
.result-caution { max-width:36rem; color:#e3eee4; font-size:.88rem; line-height:1.5; }
.site-nav { align-items:center; justify-content:space-between; flex-wrap:wrap; }
.site-nav a.contact-link { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 18px; border-color:var(--leaf); background:var(--leaf); color:white; font-size:.9rem; }
.site-nav a.contact-link:hover { background:#205840; }
.site-nav a.contact-link:focus-visible { outline:3px solid var(--sun); outline-offset:3px; }
@media (max-width:760px) { .site-nav { flex-direction:column; justify-content:center; gap:14px; } .site-nav a.site-brand { flex:0 0 auto; } .site-nav a.contact-link { flex:none; width:auto; } }
.nav-actions { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:9px; }
.site-nav .nav-actions a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; }
.site-nav a.help-link { padding:10px 18px; border-color:var(--leaf); background:#fff; color:var(--leaf); font-size:.9rem; }
.site-nav a.help-link:hover,.site-nav a.help-link.active { background:var(--leaf); color:#fff; }
@media (max-width:760px) { .site-nav .nav-actions a { flex:none; width:auto; } .site-nav .nav-actions { flex-wrap:wrap; gap:7px; } .site-nav .nav-actions a { padding:10px 12px; font-size:.78rem; } }
.help-page { max-width:900px; margin:0 auto; }
.help-header { margin:24px 0 28px; }
.help-header h1 { margin:4px 0 8px; font-family:Georgia,serif; font-size:clamp(2rem,5vw,3rem); line-height:1.14; }
.help-header p { max-width:700px; color:var(--muted); font-size:1rem; }
.help-toc { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 28px; padding:18px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.help-toc a { padding:7px 11px; border-radius:8px; background:#ecf3eb; color:var(--leaf); font-size:.88rem; font-weight:700; text-decoration:none; }
.help-toc a:hover { text-decoration:underline; }
.help-step { margin:0 0 16px; padding:24px; border:1px solid var(--line); border-radius:14px; background:var(--cream); scroll-margin-top:20px; }
.help-step h2 { margin:0 0 12px; font-family:Georgia,serif; font-size:clamp(1.35rem,3vw,1.8rem); line-height:1.2; }
.help-step p,.help-step li { font-size:1rem; line-height:1.55; }
.help-step p { margin:0 0 12px; }
.help-step p:last-child { margin-bottom:0; }
.help-step ol,.help-step ul { margin:0 0 12px; padding-left:22px; }
.help-step li + li { margin-top:7px; }
.help-step a { color:var(--leaf); font-weight:700; text-underline-offset:3px; }
.help-figure { margin:16px 0 12px; }
.help-figure img { display:block; width:100%; height:auto; border-radius:10px; }
.help-figure figcaption { margin-top:7px; color:var(--muted); font-size:.86rem; }
.help-tip { padding:12px 14px; border-left:4px solid var(--moss); border-radius:4px; background:#edf3e9; }
.help-return { display:inline-block; margin:12px 0 30px; padding:12px 18px; border-radius:8px; background:var(--leaf); color:#fff; font-weight:700; text-decoration:none; }
.help-return:hover { background:#205840; }
@media (max-width:760px) {
  .plot-tree .remove-tree.confirming { grid-column:1 / -1; grid-row:3; justify-self:start; }
}

/* Accueil : typographie lisible sur téléphone et ordinateur. */
.home-page .intro { font-size:1.08rem; line-height:1.6; }
.home-page .intro .donnees-quebec-note { border-left:3px solid #2e6649; padding:6px 0 6px 14px; margin:16px 0; font-size:.96rem; line-height:1.4; }
.donnees-quebec-note a { color:#195f42; font-weight:700; text-underline-offset:3px; }
.quebec-link-symbol { display:inline-block; padding:0 .14em; border-radius:3px; background:#0063a7; color:#fff; font-family:Georgia, "Times New Roman", serif; line-height:1.25; text-decoration:none; }
.home-page .hero-caption { font-size:1.2rem; line-height:1.4; }
.home-page .platform-compatibility-title { font-size:.875rem; }
.home-page .platform-item { font-size:.8125rem; }
.home-page .section-label { font-size:.875rem; }
.home-page .site-nav .nav-actions a { font-size:.9375rem; }
.home-page .phone-install summary { font-size:1.0625rem; }
.home-page .phone-install h2 { font-size:1.125rem; }
.home-page .phone-install ol,
.home-page .phone-install > p,
.home-page .height-helper > p,
.home-page .height-accuracy-heading > p:last-child,
.home-page .height-rule,
.home-page .plot-instruction,
.home-page .result-caution,
.home-page .threshold,
.home-page .method-grid p,
.home-page .measurement-guide > p:not(.section-label),
.home-page .measurement-guide-notes p { font-size:1rem; line-height:1.55; }
.home-page .height-helper-fields label,
.home-page .fields label,
.home-page .measure-title,
.home-page .measure-field > label,
.home-page .factor-field,
.home-page .species-selector,
.home-page .species-selector select { font-size:.9375rem; }
.home-page .fields > label,
.home-page .height-field > label,.home-page .merchant-field > label { grid-template-rows:auto; }
.home-page .measure-field { grid-template-rows:auto; }
.home-page .hint,
.home-page label i,
.home-page .under-input,
.home-page .height-accuracy li span,
.home-page .cord-note,
.home-page .result-name,
.home-page .volume-line span,
.home-page .plot-total-card small,
.home-page .plot-empty,
.home-page .plot-tree p span,
.home-page .plot-total-card > span { font-size:.875rem; line-height:1.4; }
.home-page .measurement-guide-link,
.home-page .text-link,
.home-page .enlarge-hint,
.home-page .quick-add-count,
.home-page .converted-dhp,
.home-page .height-accuracy li strong,
.home-page .plot-tree p strong,
.home-page .tree-volume,
.home-page .factor-field b { font-size:.9375rem; }
.home-page button,
.home-page .add-another-tree,
.home-page .measure-choice label,
.home-page .height-helper #calculate-height { font-size:1rem; line-height:1.25; }
.home-page .result-panel .section-label { color:#d5e8d1; }
@media (max-width:760px) {
  .home-page .hero .image-heading { width:100%; }
  .home-page .hero-caption { width:100%; font-size:1.125rem; }
  .home-page .brand-block { width:min(340px,100%); }
  .home-page .site-nav .nav-actions { flex-wrap:wrap; }
  .home-page .site-nav .nav-actions a { font-size:.9375rem; }
  .home-page .calculator-actions button { font-size:.9375rem; min-height:60px; }
}

.donnees-quebec-banner { display:block; width:70.67%; max-width:296.83px; margin:1.25rem auto; overflow:hidden; border-radius:6%; }
.donnees-quebec-banner img { display:block; width:120.2765%; max-width:none; height:auto; }
.donnees-quebec-banner:focus-visible { outline:3px solid #195f42; outline-offset:5px; border-radius:12px; }

.home-page .intro .donnees-quebec-home { text-align:center; margin:-.5rem 0 1.25rem; font-size:1rem; }
.donnees-quebec-home a { color:#195f42; font-weight:600; text-decoration:underline; text-underline-offset:3px; }
