/* Reference edition: charcoal, olive and warm apricot. All assets local. */
[hidden]{display:none!important}.local-map{border:1px solid #3c462c;border-radius:10px;overflow:hidden;background:#1c2819}.local-map svg{width:100%;max-height:460px}.map-caption{padding:12px;font-size:11px;color:#ded7b9}.local-map p{font-size:11px;padding:12px;color:#acb49b;margin:0}
.unit-tabs.segmented{margin:-8px 0 10px;background:none;border:0;justify-content:flex-end;padding:0}.unit-tabs.segmented button{flex:0 0 38px;font-size:10px;padding:3px;background:none;color:#aaa993}.unit-tabs.segmented button.selected{color:#efc695;text-decoration:underline;text-underline-offset:4px}.area-tabs.segmented{margin-bottom:14px}
.species-picker{display:flex;gap:5px;overflow-x:auto;padding:3px 0 9px;margin:0 0 12px}.species-picker button{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:59px;padding:7px 5px;border:1px solid transparent;background:#282a20;font-size:9px;flex-shrink:0}.species-picker svg{width:34px;height:34px}.species-picker button.chosen{border-color:#ddbd81;background:#373a27}.species-native select{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;border:0}.compact-field{display:flex;align-items:center;gap:12px;justify-content:space-between}.compact-field input,.compact-field select{width:58%;margin:0}.compact-field label{margin:0}
:root{color-scheme:dark;--bg:#10120d;--panel:#20221a;--gold:#eec391;--muted:#a4a599;--line:#303329;--olive:#87935b}body{background:var(--bg);font-family:Arial,'Segoe UI',sans-serif;font-size:14px;color:#eeeade;line-height:1.45}h1,h2,h3,.metric{font-family:Arial,'Segoe UI',sans-serif;font-weight:600}h1{font-size:25px}h2{font-size:18px}h3{font-size:17px}button,input,select,textarea{font-family:inherit}button{background:#25271e;border:1px solid #35372c;border-radius:9px;color:#e8e5d9;padding:11px 15px}button:hover{background:#34372b;border-color:#8e815e}.primary,.start-button{background:linear-gradient(110deg,#f2cfa5,#e9ba86);color:#292b20;font-weight:600;border:0;border-radius:12px}.primary:hover{background:#f7d5ad}.full{width:100%;margin-top:14px}.muted,small{color:var(--muted)}aside{background:#15170f;border-color:var(--line);width:235px;padding:30px 18px}.brand{letter-spacing:0;text-align:center}.brand img{width:72px;display:block;margin:0 auto 8px}.brand b{font:700 28px Arial;color:var(--gold)}.brand b span{display:inline;font:inherit;letter-spacing:0;color:var(--olive);margin:0}.brand small{display:block;font:10px Arial;letter-spacing:2px;margin-top:8px}.aside-label{margin:28px 0 16px;font-size:8px}aside nav a{font-size:13px;color:#b5b5a6}aside nav a.active{color:var(--gold);background:#2b2e20}aside footer{font-size:11px}main{margin-left:235px;max-width:1250px;padding:25px 34px 35px}main>header{border:0;letter-spacing:0;font-size:15px;color:#eeeade;height:48px;padding:0;margin-bottom:20px;gap:16px}main>header strong{flex:1;text-align:center;font-weight:600}main>header>a,main>header button{display:grid;place-items:center;color:var(--gold)}main>header svg{width:22px;height:22px}.round-add{background:var(--gold);color:#26281e!important;border:0;border-radius:50%;padding:3px;width:26px;height:26px}.toolbar{margin:22px 0 18px}.toolbar h1{margin:0}.toolbar .eyebrow{display:none}.card{background:linear-gradient(120deg,#22251b,#1b1e16);border:1px solid #303327;border-radius:10px;padding:18px}.grid{gap:14px;grid-template-columns:repeat(auto-fit,minmax(235px,1fr))}.metric{color:#f1ebdd;font-size:28px}.privacy{background:#1c2016;border-left:2px solid #89935b;color:#bfc1ae;padding:14px 16px;font-size:12px}.empty{padding:24px;border-color:#414533;font-size:13px}.eyebrow{color:#c2b58e;font-size:10px;letter-spacing:1px}.actions{gap:6px}.actions button{font-size:12px;padding:10px 12px}.mobile-footer{font-size:10px;text-align:center;color:#aca080;margin-top:26px}input,select,textarea{background:#27291f;border:1px solid #383b2c;color:#edeadd;border-radius:7px;padding:10px 12px}label{font-size:12px;color:#dddfd1;margin:12px 0}input[type=file]{font-size:11px}textarea{min-height:70px}dialog{background:#13160f;border:1px solid #494b38;padding:22px;border-radius:17px;width:min(480px,calc(100% - 24px))}dialog h2{font-size:19px}.dialog-head{align-items:center;border-bottom:1px solid #2d3024;padding-bottom:13px;margin-bottom:16px}.dialog-head h2{margin:0}.dialog-head button{border:0;background:none;color:#d4c5a4;padding:5px}#editor>button[type=submit]{width:100%;margin-top:8px}#form-error{font-size:12px}#toast{background:var(--gold);font-size:13px;bottom:90px}th{color:#d9c29a;font-size:10px}td{font-size:12px}th,td{border-color:#333729}.photo-row img{height:70px}.segmented{background:#25281d;border:1px solid #35382a;display:flex;border-radius:9px;padding:3px;gap:3px;margin:12px 0 16px}.segmented button{flex:1;border:0;border-radius:7px;background:none;color:#bebfb2;padding:8px;font-size:12px}.segmented button.selected{background:var(--gold);color:#292d1f}.stock-banner{min-height:145px;padding:20px;margin:0;border:0;border-radius:10px;background:linear-gradient(90deg,#11160ddd,#11160d22),url('forest.jpg') center 78%/cover}.stock-banner small{font-size:12px;color:#d3d4c6}.stock-banner>strong{display:block;font-size:36px;line-height:1.15;margin:7px 0;color:#f1eddb}.stock-banner>strong span{font-size:26px}.stock-banner p{font-size:10px;color:#c2c7af;margin:12px 0 0}.location-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}.location-summary>a{display:flex;align-items:center;justify-content:center;gap:14px;background:#25291c;border-radius:8px;padding:13px}.location-summary svg{width:30px;height:30px;color:var(--olive)}.location-summary>a:last-child svg{color:var(--gold)}.location-summary span{font-size:11px;color:#b9bdad}.location-summary strong{display:block;font-size:18px;color:#e8e9dc}.wood-distribution{margin:26px 0}.wood-distribution h2{display:flex;justify-content:space-between}.wood-distribution h2 small{font-size:11px;font-weight:400}.distribution-content{display:flex;align-items:center;gap:22px}.distribution-content>svg{width:130px;flex-shrink:0}.legend{flex:1;min-width:0}.legend>div{display:flex;gap:8px;align-items:center;font-size:12px;margin:8px 0}.legend span{flex:1}.legend small{font-size:10px}.legend strong{font-size:11px;min-width:55px;text-align:right;font-weight:400}.swatch{width:8px;height:8px;border-radius:2px;background:#e9b77f}.s1{background:#869655}.s2{background:#a8b57a}.s3{background:#c48d54}.s4{background:#687342}.s5{background:#a9a497}.section-title{display:flex;justify-content:space-between;align-items:center}.section-title a{font-size:11px;color:var(--gold)}.section-title h2{margin:0 0 12px}.recent-row{width:100%;display:flex;text-align:left;align-items:center;padding:9px;background:#22261a;border:0;margin:7px 0;gap:11px}.recent-row img{width:48px;height:47px;object-fit:cover;border-radius:5px}.recent-row span{flex:1;min-width:0}.recent-row strong{display:block;font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-row small{display:block;font-size:10px;margin-top:5px}.recent-row b{font-size:13px;white-space:nowrap;font-weight:500}.local-note{font-size:10px;text-align:center;color:#9ea48d;margin-top:22px}.bottom-nav{display:none}.welcome{background:linear-gradient(0deg,#0b100b50,#0b100b05),url('forest.jpg') center/cover;min-height:780px;border:1px solid #5c6048;border-radius:24px;margin:0;position:relative;padding:0}.welcome-brand{position:absolute;top:29%;left:0;right:0;text-align:center;text-shadow:0 2px 12px #0008}.welcome-brand img{width:105px}.welcome h1{font-size:46px;font-weight:750;color:var(--gold);margin:0 0 14px;letter-spacing:-2px}.welcome h1 span{color:#a3ae72}.welcome p{font-size:10px;font-weight:500;letter-spacing:3px;line-height:1.9;color:#e9e4d4;margin:auto}.welcome-bottom{position:absolute;bottom:22px;left:12%;right:12%;text-align:center}.start-button{display:flex;justify-content:center;position:relative;padding:14px 25px;font-size:13px}.start-button span{position:absolute;right:22px}.welcome-bottom small{display:block;font-size:10px;margin-top:12px;color:#e1d3b8}body[data-page=welcome] main>header,body[data-page=welcome] .mobile-footer,body[data-page=welcome] .bottom-nav{display:none}body[data-page=welcome] main{max-width:750px;margin:25px auto;padding:0 15px}body[data-page=welcome] aside{display:none}.settings-list{display:grid;gap:7px}.settings-list>a{display:flex;align-items:center;gap:14px;border:1px solid #343728;background:#24271c;padding:17px 14px;border-radius:9px}.settings-list svg{width:23px;height:23px;color:var(--gold)}.settings-list span{flex:1;font-size:13px}.settings-list b{font-size:19px;color:#aaa88d}.brand-signature{text-align:center;margin:45px auto 20px}.brand-signature img{width:74px;display:block;margin:auto}.brand-signature strong{display:block;font-size:29px;color:var(--gold);margin-top:8px}.brand-signature strong span{color:var(--olive)}.brand-signature small{display:block;font-size:10px;letter-spacing:2px;margin-top:9px}.brand-signature p{font-size:11px;color:#9ba18d}.calculator-photo{position:relative;height:180px;border-radius:9px;overflow:hidden;margin-bottom:18px}.calculator-photo img{height:100%;object-position:center 90%;filter:brightness(.8)}.calculator-photo span{position:absolute;bottom:12px;left:15px;font-size:12px;color:#eee2c9}.identify-photo{position:relative;height:210px;margin-bottom:18px;overflow:hidden;border-radius:9px}.identify-photo img{width:100%;height:100%;object-fit:cover;object-position:center 85%}.scan-corners{position:absolute;inset:30px 25%;border:3px solid #a0ad68;border-radius:20px}.chart-card{margin:16px 0}.chart-card svg{width:100%;max-height:230px}.stock-placeholder{object-position:center 90%}.card[hidden]{display:none}body[data-page=overview] main{max-width:960px}body[data-page=overview] .mobile-footer{display:none}body[data-page=calculators] .grid{display:block}body[data-page=calculators] .card{max-width:620px;margin:auto}body[data-page=calculators] .privacy{font-size:11px}
@media(min-width:901px){.stock-banner{min-height:215px;padding:28px}.stock-banner>strong{font-size:44px}.distribution-content>svg{width:165px}.legend>div{font-size:14px}.legend small,.legend strong{font-size:12px}.recent-row{padding:12px}.recent-row img{width:65px;height:55px}.recent-row strong{font-size:14px}.recent-row small{font-size:12px}}
@media(max-width:900px){aside{display:none}main{margin:0 auto!important;padding:12px 18px 100px;max-width:600px!important}main>header{position:sticky;top:0;background:#10120df5;z-index:3;margin-bottom:12px;height:48px;font-size:15px}.toolbar{margin:14px 0}.toolbar h1{font-size:20px}.toolbar .primary{font-size:12px;padding:9px 12px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#10130cf7;border-top:1px solid #343729;z-index:5;justify-content:space-around;padding:10px 8px max(10px,env(safe-area-inset-bottom));gap:0;margin:0;backdrop-filter:blur(15px)}.bottom-nav>a{display:flex;flex:1;flex-direction:column;align-items:center;gap:5px;font-size:9px;line-height:1.2;color:#aaad9a;padding:0;background:none;border-radius:0}.bottom-nav>a.active{background:none;color:#edc88d}.bottom-nav svg{height:22px;width:22px}.grid{grid-template-columns:1fr}.distribution-content{gap:14px}.distribution-content>svg{width:105px}.legend>div{font-size:11px;gap:5px}.legend strong{font-size:10px}.wood-distribution{margin:24px 0}.welcome{height:100svh;min-height:600px;border-radius:0;border:0;background-position:center}.welcome-brand{top:31%}.welcome h1{font-size:43px}.welcome-brand img{width:100px}.welcome-bottom{bottom:32px}.welcome p{font-size:9px}body[data-page=welcome] main{padding:0;max-width:600px!important}dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0;border:0;margin:0 auto;padding:18px;max-width:600px}dialog .dialog-head{position:sticky;top:-18px;padding-top:14px;background:#13160f;z-index:2}#editor>button[type=submit]{margin-bottom:20px}body[data-page=calculators] .toolbar,body[data-page=statistics] .toolbar,body[data-page=backup] .toolbar,body[data-page=identify] .toolbar,body[data-page=drying] .toolbar{display:none}.card{padding:15px}.metric{font-size:26px}.privacy{font-size:11px}body[data-page=overview] .stock-banner{min-height:126px;padding:16px}.stock-banner>strong{font-size:32px}.stock-banner p{margin:7px 0 0}.unit-tabs{margin-top:4px}.location-summary>a{padding:10px}.card img{height:155px}.photo-row img{width:78px;height:70px}.calculator-photo{height:160px}.calculator-photo img{height:100%}.brand-signature{margin-top:35px}}

.unit-tabs.segmented button.selected{background:transparent;color:#efc695;text-decoration:underline;text-underline-offset:4px}

/* 1.2 — calmer surfaces, readable type, clear focus and generous controls. */
.photo-compare{display:grid;gap:20px}.photo-compare canvas{display:block;width:100%;height:auto;min-height:120px;background:#21271b;border:1px solid #737c57;border-radius:9px;cursor:crosshair;touch-action:manipulation}.photo-compare small{display:block;margin:7px 0}.photo-compare button{font-size:14px}.checkline{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5}.checkline input{flex:0 0 19px;margin-top:3px}.history-photo{display:block;width:180px;height:130px;object-fit:contain;margin:10px 0}#photo-result,#estimate-result{font-size:16px;font-weight:600;color:#f1cc96}#image-difference{font-size:14px;color:#cbd2bc}#consume-baseline{font-size:15px}#photo-panel p,#unknown-info p{font-size:14px}#calculate-area{width:100%}
:root{--muted:#c1c4b4;--gold:#f0cca0}
body{font-family:'Segoe UI',Arial,sans-serif;font-size:16px;line-height:1.55;color:#f1eee3}
h1,h2,h3,.metric{font-family:'Segoe UI',Arial,sans-serif;letter-spacing:-.025em}
h2{font-size:21px;font-weight:600}h3{font-size:19px}
button{min-height:44px;font-size:15px;border-color:#434635}
.primary{background:linear-gradient(125deg,#f3d5af,#e6bd8b);box-shadow:0 3px 14px #0002;font-size:16px}
.card{border-color:#373c2c;border-radius:14px;background:linear-gradient(135deg,#23271c,#1a1e15);box-shadow:0 6px 20px #00000012;padding:20px}
.muted,small{color:var(--muted)}small{font-size:13px}
label{font-size:15px;line-height:1.5;color:#e1e4d5}
input,select,textarea{font-size:16px;min-height:44px;background:#24291d;border-color:#4c523d}
input::placeholder,textarea::placeholder{color:#bcc1ae;opacity:1}
input[type=file]{font-size:14px}input[type=checkbox]{min-height:18px;width:18px;height:18px}
.compact-field{gap:18px}.compact-field input,.compact-field select{flex:0 0 55%;min-width:0}
dialog{padding:24px}.dialog-head h2{font-size:21px}.dialog-head{padding-bottom:17px;margin-bottom:22px}
.species-picker{gap:8px}.species-picker button{min-width:74px;font-size:13px;padding:10px 7px;border-radius:10px;color:#f0eddf}.species-picker svg{width:39px;height:39px}
.species-picker button.chosen{border-color:#f0c58e;box-shadow:inset 0 0 0 1px #f0c58e}
.segmented{border-color:#424733;border-radius:11px;padding:4px}.segmented button{font-size:14px;min-height:40px;color:#d9dccd;border-radius:8px}.segmented button.selected{font-weight:600}
.unit-tabs.segmented button{flex-basis:49px;font-size:13px;min-height:36px;color:#c5c9b7}.unit-tabs.segmented{margin:0 0 10px}
.stock-banner{border-radius:14px;background-image:linear-gradient(90deg,#10160ef2,#10160e55),url('forest.jpg')}
.stock-banner small{font-size:15px;color:#f0eee0}.stock-banner p{font-size:13px;color:#e0e3d3}
.stock-banner>strong{font-weight:600;letter-spacing:-.04em}
.location-summary{gap:12px;margin-top:12px}.location-summary>a{border:1px solid #383e2b;border-radius:11px;padding:14px;gap:12px}.location-summary span{font-size:14px;color:#d1d7c2}.location-summary strong{font-size:21px;letter-spacing:-.02em}
.wood-distribution{margin:28px 0}.wood-distribution h2 small{font-size:13px}.legend>div{font-size:14px;gap:7px;margin:10px 0}.legend small,.legend strong{font-size:13px;color:#e0e3d4}.legend strong{min-width:60px}.swatch{width:9px;height:9px;flex-shrink:0}
.section-title a{font-size:14px}.recent-row{border:1px solid #353d28;border-radius:11px;padding:12px;gap:12px}.recent-row img{width:54px;height:56px}.recent-row strong{font-size:15px;white-space:normal;line-height:1.35}.recent-row small{font-size:13px;line-height:1.4;color:#c4cbb5}.recent-row b{font-size:16px}
.local-note,.mobile-footer{font-size:13px;color:#c0c5b1;line-height:1.5}.local-note{margin-top:22px}
.privacy{font-size:14px;line-height:1.6;border-radius:0 9px 9px 0;color:#d1d7c3}.privacy small{font-size:14px}.empty{font-size:15px}
.actions button{font-size:14px;min-height:44px}.eyebrow{font-size:12px;color:#d6c6a4}.settings-list span{font-size:16px}.settings-list>a{padding:18px;border-radius:11px}.brand-signature small,.brand-signature p{font-size:13px;color:#c3c9b4}
.welcome-brand{padding:20px 0;background:radial-gradient(ellipse,#08100980,transparent 72%)}.welcome p{font-size:12px;font-weight:600;letter-spacing:2px;color:#fff8e8;text-shadow:0 2px 5px #000}.welcome-bottom small{font-size:13px;color:#fff3dc;text-shadow:0 1px 5px #000}.start-button{font-size:16px;min-height:48px}
.calculator-photo span{font-size:14px}.local-map p,.map-caption{font-size:14px}.card>small{font-size:13px}th{font-size:12px}td{font-size:14px}.brand small{font-size:12px}aside nav a{font-size:14px}aside footer{font-size:13px}.aside-label{font-size:10px}
:focus-visible{outline:3px solid #f2ce9c;outline-offset:3px}
@media(max-width:900px){
 main{padding:14px 18px 112px}main>header{font-size:18px;height:52px;margin-bottom:16px}
 main>header a{min-width:44px;min-height:44px}.round-add{min-width:36px;min-height:36px;width:36px;height:36px}
 .bottom-nav{padding-top:12px;padding-bottom:max(13px,env(safe-area-inset-bottom));border-color:#454b33}.bottom-nav>a{font-size:12px;font-weight:500;gap:7px;color:#c8cdb9;min-height:46px}.bottom-nav svg{width:24px;height:24px}
 .toolbar .primary{font-size:14px;min-height:44px}.toolbar h1{font-size:23px}.card{padding:18px}.privacy,body[data-page=calculators] .privacy{font-size:14px}
 .distribution-content{gap:13px}.distribution-content>svg{width:96px}.legend>div{font-size:13px;gap:5px;flex-wrap:wrap}.legend small,.legend strong{font-size:13px}.legend strong{min-width:56px}.legend span{min-width:42px}
 body[data-page=overview] .stock-banner{padding:19px;min-height:145px}.stock-banner>strong{font-size:37px}.location-summary>a{padding:12px}.location-summary svg{width:25px;height:25px}
 .welcome p{font-size:12px}.welcome-bottom small{font-size:13px}.welcome-brand{top:28%}.welcome h1{font-size:44px}
 dialog{padding:18px}dialog .dialog-head{padding-top:16px;margin-bottom:20px}.species-picker{margin-bottom:18px}.compact-field{font-size:14px}.mobile-footer{margin-top:28px}
}
@media(max-width:360px){main{padding-left:14px;padding-right:14px}.bottom-nav>a{font-size:11px}.distribution-content{align-items:flex-start}.distribution-content>svg{width:80px}.legend>div{display:grid;grid-template-columns:9px 1fr auto}.legend strong{grid-column:2/4;text-align:left}.location-summary>a{gap:8px}.location-summary strong{font-size:18px}.recent-row{gap:8px}.recent-row b{font-size:14px}}

