/* Single Forest system. Only light and dark backgrounds. */
body{--bg:#f6f5f0;--panel:#fff;--surface:#fff;--surface-alt:#edf3ed;--input-bg:#fff;--field:#fff;--ink:#18392b;--muted:#6d7e72;--line:#e0e7dd;--accent:#147344;--green:#147344;--pale:#e8f2e7;--soft:#e8f2e7;--glow:#e8f2e7;--table-head:#edf3ec;--table-line:#e4e9e1;--button:#137347;--button-ink:#fff;--action-ink:#fff;--site-font:Manrope,Arial,sans-serif;--site-radius:14px;--site-control:10px;--site-shadow:none;color-scheme:light;background:var(--bg)!important;color:var(--ink)!important;font-family:var(--site-font)!important}
body[data-theme=dark]{--bg:#101713;--panel:#18221b;--surface:#18221b;--surface-alt:#213126;--input-bg:#142019;--field:#142019;--ink:#e6f1e7;--muted:#a0b4a5;--line:#304236;--accent:#6bd399;--green:#6bd399;--pale:#233c2b;--soft:#233c2b;--glow:#233c2b;--table-head:#213327;--table-line:#304236;--button:#5ac78a;--button-ink:#102718;--action-ink:#102718;color-scheme:dark}
button,input,select,textarea{font-family:var(--site-font)!important}button{border-radius:var(--site-control)!important;color:var(--ink);background:var(--surface);border-color:var(--line)}button.primary,.submit,.file-button:not(.secondary){background:var(--button)!important;color:var(--button-ink)!important;border-color:var(--button)!important}input,select,textarea{color:var(--ink)!important;background:var(--input-bg)!important;border-color:var(--line)!important}input::placeholder,textarea::placeholder{color:var(--muted)}.card,.table-card,.planner-card,.review,main>section:not(.view),main>details{background:var(--surface);border-color:var(--line);box-shadow:none;border-radius:14px}.heading h1,.form-area h2{font-family:var(--site-font);letter-spacing:-1px}th{background:var(--table-head)!important;color:var(--muted)!important}td{border-color:var(--table-line)!important}.design-note,.small{color:var(--muted)}#themeToggle{display:inline-flex!important;align-items:center;justify-content:center;min-height:38px;font-size:11px;font-weight:700;white-space:nowrap;background:var(--surface)!important;color:var(--ink)!important;border:1px solid var(--line)!important}.forest-theme-toggle{margin-right:auto;padding:10px 14px}.designbar{display:flex!important;align-items:center;gap:12px}.designbar #tabs{margin-left:auto}.designbar #tabs button{background:transparent!important;color:var(--muted)!important}.designbar #tabs button.active{background:var(--pale)!important;color:var(--accent)!important}
body:has(>aside) aside{position:fixed;inset:0 auto 0 0;width:194px;padding:28px 14px;background:linear-gradient(155deg,#00472f,#003426 72%,#00472f)!important;color:#e4f2e7!important;border:0;border-radius:0;overflow-x:hidden;overflow-y:auto;z-index:100}body:has(>aside) main{margin-left:194px;padding:0 26px 30px;max-width:none}body:has(>aside) aside .brand{color:#e5f3e5!important;display:block;font-size:24px;font-weight:800;letter-spacing:-1px;text-decoration:none;padding:0 6px;margin-bottom:24px;position:relative;z-index:1}aside .brand-icon,aside .brand .dot{display:none}aside .location{color:#b5cfbd!important;padding:0 6px;letter-spacing:.4px;font-size:10px;line-height:1.8;margin:0 0 24px}aside .location strong{display:block;color:#f2f7ef;font-size:17px;letter-spacing:0;margin-bottom:3px}aside nav{position:relative;z-index:1}aside .nav{display:flex;align-items:center;gap:12px;padding:13px 10px;min-height:43px;border:0;border-radius:6px!important;width:100%;text-align:left;font-size:12px;font-weight:500;color:#e0eee4!important;background:transparent!important;margin:4px 0}aside .nav.active{background:linear-gradient(110deg,#2a955b,#1b774c)!important;color:#fff!important;box-shadow:0 3px 12px #001d1b33}aside .nav svg{width:20px;height:20px;stroke:#cdebd8;stroke-width:1.6;fill:none;flex:none}aside .nav:nth-last-child(2){border-top:1px solid #44846a!important;margin-top:20px;padding-top:19px;border-radius:0!important}aside .aside-bottom{color:#a3c8ad;position:relative;min-height:175px;margin-top:auto;padding-top:35px;pointer-events:none}.forest-leaves{position:absolute;bottom:-20px;left:-20px;width:190px;height:210px;opacity:.62;z-index:0}.forest-motto{position:relative;z-index:1;text-align:right;font-family:'Segoe Print','Comic Sans MS',cursive;font-size:21px;line-height:1.4;transform:rotate(-12deg);margin-top:85px;margin-right:8px;color:#e4f0da}.signature,.private-dot{display:none}header{height:74px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:5px}header .breadcrumb{font-size:10px;color:var(--muted)}header .watermark{display:none}header #themeToggle{margin-left:auto}header #accountLogout{font-size:10px;min-height:36px;padding:8px 12px}.workflow{grid-template-columns:repeat(3,minmax(0,1fr))}.orders-frame{border:0!important;border-radius:12px}#siteDesign,.site-design-grid{display:none!important}
/* Login and registration sit directly on the background. */
body:has(.page>.form-area) .page>.intro,body:has(.page>.form-area) .page>.form-area{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;backdrop-filter:none!important}body:has(.page>.form-area) .intro{color:var(--ink)!important}body:has(.page>.form-area) .intro p{color:var(--muted)!important}body:has(.page>.form-area) .intro h1 span{color:var(--accent)!important}#googleButton{display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;overflow:hidden;border-radius:50%;background:transparent!important}#googleButton>div{flex:none}
/* Full-width reports, independent of any removed layout. */
body:has(#tabs) main{display:block!important;max-width:none;margin:0!important;padding:20px 24px!important}body:has(#tabs) #drop{height:auto!important;min-height:0!important;display:flex!important;gap:10px 14px;align-items:center;flex-wrap:wrap;padding:14px 18px!important;background:var(--surface)!important;border:1px solid var(--line);margin:12px 0 16px!important}body:has(#tabs) #drop:before,body:has(#tabs) #drop:after{display:none!important}body:has(#tabs) #result{background:var(--surface)!important;border:1px solid var(--line);border-radius:14px;padding:18px}body:has(#tabs) #liveReport table{background:var(--surface)!important;color:var(--ink)!important}body:has(#tabs) #liveReport td,body:has(#tabs) #liveReport th{border-color:var(--line)!important}body:has(#tabs) main>section,body:has(#tabs) main>details{background:var(--surface)!important;color:var(--ink)!important}body:has(#tabs) .png-dialog{background:var(--surface);color:var(--ink)}body:has(#tabs) #error:empty{display:none}
@media(min-width:1700px){body:has(>aside) main{padding-left:34px;padding-right:34px}}
@media(max-width:1100px){body:has(>aside) aside{width:180px}body:has(>aside) main{margin-left:180px;padding-left:18px;padding-right:18px}.workflow{grid-template-columns:1fr!important}}
@media(max-width:800px){body:has(>aside) aside{position:static!important;width:100%!important;padding:12px 16px!important;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px;overflow:visible}body:has(>aside) main{margin:0!important;padding:0 14px 24px!important}aside .brand{margin:0!important;flex:1;font-size:22px!important}aside .location,aside .aside-bottom{display:none!important}aside nav{display:none!important;width:100%;flex-basis:100%}body.mobile-nav-open aside nav{display:grid!important;grid-template-columns:1fr 1fr;gap:5px}aside .mobile-menu-toggle{display:block!important;min-height:40px;color:#e4f2e7!important;background:#18523c!important;border-color:#39745b!important}aside .nav{margin:0!important;padding:12px 9px!important;min-height:44px!important;font-size:11px!important}aside .nav:nth-last-child(2){margin-top:0!important;border:0!important;padding-top:12px!important}header{height:auto;min-height:62px;gap:9px;padding:10px 0}header .breadcrumb{flex:1;min-width:100px}header #themeToggle{margin-left:0}.heading{flex-wrap:wrap}.heading h1{font-size:27px}body:has(#tabs) main{padding:12px!important}.designbar{flex-wrap:wrap}.designbar #tabs{overflow:auto;max-width:100%;margin-left:0}.designbar #themeToggle{margin-left:auto}body:has(.page) .brand-name{font-size:17px}.page{max-width:100%}}

/* Ledger 06 — selected Paper Journal concept. */
body,body[data-theme=light]{--bg:#f6f3eb;--panel:#fcfaf5;--surface:#fcfaf5;--surface-alt:#eee8de;--input-bg:#fffdf8;--field:#fffdf8;--ink:#2d2423;--muted:#776c67;--line:#d5ccc0;--accent:#15533b;--green:#15533b;--pale:#e3ece2;--soft:#e3ece2;--glow:#e3ece2;--table-head:#eee8de;--table-line:#ddd4c8;--button:#15533b;--button-ink:#fffaf2;--action-ink:#fffaf2;--site-font:'Segoe UI',Arial,sans-serif;--site-radius:3px;--site-control:3px;--site-shadow:none;color-scheme:light}
body[data-theme=dark]{--bg:#211b1b;--panel:#2b2423;--surface:#2b2423;--surface-alt:#382d2b;--input-bg:#251e1e;--field:#251e1e;--ink:#f0e8dd;--muted:#bcaaa0;--line:#594640;--accent:#a1cfb4;--green:#a1cfb4;--pale:#254333;--soft:#254333;--glow:#254333;--table-head:#382d2b;--table-line:#50403b;--button:#246749;--button-ink:#fffaf2;--action-ink:#fffaf2;color-scheme:dark}
html{background:#f6f3eb}body{line-height:1.5;font-variant-numeric:tabular-nums}
h1,h2,.heading h1,.md-heading h1,.form-area h2{font-family:Georgia,'Times New Roman',serif!important;color:var(--accent);letter-spacing:-.7px!important}h1,.heading h1,.md-heading h1{font-size:38px;line-height:1.15;font-weight:700}h2{font-size:23px}h3{color:var(--accent)}
button,input,select,textarea,.card,.table-card,.planner-card,.review,.md-card,.md-kpi,.ops-metric,.md-date,.orders-frame,.md-table-wrap,dialog{border-radius:3px!important;box-shadow:none!important}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent)!important;outline-offset:3px}button.primary,.submit,.file-button:not(.secondary){background:var(--button)!important;color:var(--button-ink)!important}
body:has(>aside) aside{position:relative!important;inset:auto!important;width:100%!important;padding:14px 28px 0!important;display:flex!important;flex-direction:row!important;align-items:center;flex-wrap:wrap;gap:12px 25px;background:#124632!important;color:#fff7ec!important;border-bottom:3px double #89aa92!important;overflow:visible!important;z-index:100}
body:has(>aside) aside .brand{font-family:Georgia,'Times New Roman',serif!important;font-size:27px!important;letter-spacing:-.6px!important;color:#fff7ec!important;padding:0!important;margin:0!important;position:static}
aside .location{display:block!important;margin:0 0 0 auto!important;padding:0!important;font-size:10px!important;line-height:1.6;color:#c9dfce!important;letter-spacing:.6px}aside .location strong{display:inline!important;font:700 12px 'Segoe UI',sans-serif!important;color:#fff7ec!important;margin-right:12px}
body:has(>aside) aside nav{display:flex!important;width:100%;flex-basis:100%;gap:0;counter-reset:ledger;overflow-x:auto;margin:0!important;border-top:1px solid #ffffff30;scrollbar-width:thin}
body:has(>aside) aside .nav{counter-increment:ledger;width:auto!important;flex:1 0 auto;justify-content:center;gap:7px;min-height:44px!important;margin:0!important;padding:12px 13px!important;border:0!important;border-radius:0!important;color:#d4e7d8!important;background:transparent!important;font-size:11px!important;font-weight:600;box-shadow:none!important;white-space:nowrap}
aside .nav:before{content:counter(ledger,decimal-leading-zero);font-size:10px;opacity:.6}aside .nav svg{display:none!important}body:has(>aside) aside .nav.active{background:var(--bg)!important;color:var(--accent)!important;box-shadow:inset 0 3px #95b59b!important}body:has(>aside) aside .nav:hover{background:#ffffff15!important}body:has(>aside) aside .nav.active:hover{background:var(--bg)!important}
aside .aside-bottom,.forest-leaves,.forest-motto,aside .mobile-menu-toggle{display:none!important}
body:has(>aside) main{margin:0!important;padding:0 28px 30px!important;max-width:none!important}header{height:52px;min-height:52px;margin:0;border-bottom:1px solid var(--line)}header .breadcrumb{font-size:11px;letter-spacing:.25px}header #themeToggle,header #accountLogout{font-size:10px;min-height:30px;padding:6px 10px}
.md-heading{margin:27px 0 13px!important;align-items:center}.md-heading h1{font-size:38px!important;margin-bottom:7px!important}.md-heading p{font-size:12px}.md-heading .md-eyebrow{display:block!important;font-size:9px;letter-spacing:2px;color:var(--muted);margin-bottom:8px}.md-date{padding:4px;border:1px solid var(--line)}
.forest-connection-strip{justify-content:flex-start!important;border-bottom:3px double var(--line);padding-bottom:13px;margin-bottom:20px!important;font-size:10px!important}.forest-connection-strip span:before{border-radius:0;background:var(--accent)}
.md-kpis{gap:0!important;border:1px solid var(--line);margin:0 0 20px!important;background:var(--surface)}.md-kpi,.md-kpi:first-child{display:block!important;background:transparent!important;color:var(--ink)!important;border:0!important;border-right:1px solid var(--line)!important;border-radius:0!important;min-height:110px!important;padding:18px 22px!important}.md-kpi:last-child{border-right:0!important}.md-kpi:before{display:none!important}.md-kpi span,.md-kpi:first-child span{display:block;font-size:10px!important;text-transform:uppercase;letter-spacing:.65px;color:var(--muted)!important}.md-kpi strong{display:block;color:var(--accent);font-family:Georgia,serif;font-size:38px!important;line-height:1.3;letter-spacing:-1px}.md-kpi small,.md-kpi:first-child small{display:block;color:var(--muted)!important;font-size:10px!important}
.forest-grid{grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:20px!important}.forest-main,.forest-side{gap:20px!important}.forest-grid .md-card,.md-card,.card{border:1px solid var(--line);padding:20px;border-radius:3px!important;box-shadow:none!important;background:var(--surface)}.forest-grid .md-card h2,.md-card h2{font-family:Georgia,serif!important;color:var(--accent);font-size:22px!important;font-weight:700}.forest-grid .md-card-heading{padding-bottom:11px;border-bottom:1px solid var(--line);margin-bottom:14px}.forest-main .md-hour-card{min-height:310px}.forest-main .md-chart svg{height:240px}.md-axis{font-family:'Segoe UI',Arial,sans-serif!important}
table{font-variant-numeric:tabular-nums}th{text-transform:uppercase;letter-spacing:.45px;font-size:10px!important;font-weight:700!important;background:var(--table-head)!important;color:var(--ink)!important;border-bottom:1px solid var(--line)!important}td{border-color:var(--table-line)!important}.forest-couriers-table td{height:auto!important;padding:11px 9px!important;font-size:12px}.forest-couriers-table th{padding:10px 9px}.forest-couriers-table .md-avatar{border-radius:2px;background:var(--surface-alt)}.forest-couriers-table tbody tr:nth-child(2n){background:var(--surface-alt)}.md-table-wrap{border:1px solid var(--line)!important}.forest-status{font-size:11px}.forest-grid .md-legend{font-size:10px}.forest-side .md-load-row{font-size:12px;margin:16px 0}.forest-side .md-load-track,.forest-compare-track,.forest-compare-track i{border-radius:0!important}.forest-side .md-load-track i{background:var(--accent)!important;border-radius:0!important}.forest-side .md-load-row:nth-child(even) i{opacity:.6}
.forest-settings{gap:16px}.forest-settings button{font-family:Georgia,serif!important;font-size:22px!important;color:var(--accent);border-top:3px solid var(--accent);min-height:90px}.ops-metric strong{color:var(--accent)}.md-drive{border-top:3px double var(--line)}footer{border-top:3px double var(--line);padding-top:15px;color:var(--muted)}
.md-chart rect[fill='#176c49'],.md-chart rect[fill='#439d6a'],.forest-compare-track i[style*='#176c49'],.forest-compare-track i[style*='rgb(23, 108, 73)']{fill:var(--accent);background:var(--accent)!important}.md-chart rect[fill='#b6d9a3']{fill:#bda49b}.md-chart rect[fill='#439d6a']{fill:#8e817b}.forest-compare-track i[style*='#9fc681'],.forest-compare-track i[style*='rgb(159, 198, 129)']{background:#83a28c!important}
body:has(#tabs) #result{border-radius:3px;border-top:3px double var(--accent)}.designbar{border-bottom:3px double var(--line);padding-bottom:12px}.designbar #tabs button.active{background:var(--accent)!important;color:var(--button-ink)!important}.orders-frame{background:var(--bg)}
body:has(.form-area) .brand-name{font-family:Georgia,serif!important;color:var(--accent)}body:has(.form-area) .brand-mark{background:#15533b!important;border-radius:3px}body:has(.form-area) .intro h1{font-family:Georgia,serif!important;letter-spacing:-2px!important}body:has(.form-area) .intro .line{background:var(--accent)}
@media(min-width:1700px){body:has(>aside) main{padding-left:48px!important;padding-right:48px!important}.forest-grid{grid-template-columns:minmax(0,1.8fr) minmax(360px,1fr)}}
@media(max-width:1100px){body:has(>aside) aside .nav{padding:11px 10px!important;font-size:10px!important}.forest-grid{grid-template-columns:1fr}.forest-side{display:grid;grid-template-columns:1fr 1fr}.forest-side>article:last-child{grid-column:1/-1}}
@media(max-width:800px){body:has(>aside) aside{padding:12px 14px 0!important;gap:10px!important}body:has(>aside) aside .brand{font-size:24px!important;flex:initial!important}aside .location{font-size:9px!important}body:has(>aside) aside nav,body.mobile-nav-open aside nav{display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important}body:has(>aside) aside .nav{flex:0 0 auto;min-height:43px!important;padding:11px!important}body:has(>aside) main{padding:0 14px 24px!important}.md-heading h1{font-size:30px!important}.md-kpis{grid-template-columns:1fr 1fr!important}.md-kpi,.md-kpi:first-child{padding:14px!important;min-height:100px!important;border-bottom:1px solid var(--line)!important}.md-kpi:nth-child(2n){border-right:0!important}.md-kpi strong{font-size:32px!important}.forest-side{grid-template-columns:1fr}.forest-grid .md-card{padding:16px}.forest-connection-strip{font-size:9px!important;gap:12px}.forest-settings{grid-template-columns:1fr}.md-date{max-width:100%}header{min-height:52px;height:auto}.md-heading{margin-top:20px!important}}

/* Match chart keys to the ledger palette; keep operational status colors. */
body:has(>aside) aside .nav:nth-last-child(2){border-top:0!important}
.md-legend i[style*="#176c49"],.md-legend i[style*="rgb(23, 108, 73)"]{background:var(--accent)!important}
.md-legend i[style*="#439d6a"],.md-legend i[style*="rgb(67, 157, 106)"]{background:#8e817b!important}
.md-legend i[style*="#b6d9a3"],.md-legend i[style*="rgb(182, 217, 163)"],.md-legend i[style*="#9fc681"],.md-legend i[style*="rgb(159, 198, 129)"]{background:#bda49b!important}

/* Requested monitoring display, 59. */
.monitor47,#mdUpdated,#forestQuality,#mdStatus{display:none!important}
.forest-details>summary{pointer-events:none;list-style:none}
#operations{width:100%;max-width:none!important}
#operations .ops-table-card{width:100%;padding:12px 0!important}
#operations .ops-table-scroll{max-height:none!important;width:100%;border-radius:0!important}
#operations .ops-table{width:100%!important}
body:has(#operations:not(.hidden)) main{padding-left:12px!important;padding-right:12px!important}

/* Interaction details 60. */
#monitorGlobal47{display:none!important}
body:has(#tabs) tbody tr:hover>td{box-shadow:inset 0 0 0 9999px rgba(30,90,60,.045)}
body:has(#tabs) tbody tr.report-row-selected>td{box-shadow:inset 0 0 0 9999px rgba(30,90,60,.08)}

/* Operational table uses the full available page width. */
#operations > .card,#opsTableArea{max-width:none!important;width:100%!important;box-sizing:border-box}
#opsTableArea .ops-table-scroll{max-width:none!important;width:100%!important}

/* Account identity in the upper right corner. */
body:has(>aside) aside .account-profile,.account-profile{display:flex!important;align-items:center;gap:10px;margin-left:20px;padding:0!important;border:0!important;background:transparent!important;color:inherit!important;text-align:left;min-width:0;max-width:320px;cursor:pointer;flex:none}
.account-profile-avatar{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:4px;background:#e3ece2;color:#15533b;font:700 14px 'Segoe UI',sans-serif}
.account-profile-copy{display:flex;flex-direction:column;min-width:0;gap:3px}.account-profile-copy strong{font:600 12px/1.3 'Segoe UI',sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-profile-copy small{font:400 10px/1.3 'Segoe UI',sans-serif;opacity:.78;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:800px){body:has(>aside) aside .account-profile{margin-left:auto;max-width:205px}.account-profile-avatar{width:32px;height:32px}.account-profile-copy strong{font-size:11px}.account-profile-copy small{font-size:9px}aside:has(.account-profile) .location{display:none!important}}
article:has(> #summaryImages){display:none!important}

/* Shared left navigation for every account. */
@media(min-width:801px){
body:has(>aside) aside{position:fixed!important;inset:0 auto 0 0!important;width:210px!important;height:100dvh;flex-direction:column!important;align-items:stretch!important;flex-wrap:nowrap!important;padding:24px 14px!important;gap:20px!important;overflow-y:auto!important;border-bottom:0!important;border-right:1px solid #426953!important}
body:has(>aside) aside .brand{font-size:26px!important;flex:none!important}
body:has(>aside) aside .location{margin:0!important;white-space:normal!important}
body:has(>aside) aside nav{display:flex!important;flex-direction:column!important;flex-basis:auto!important;flex:none!important;width:100%!important;overflow:visible!important;border-top:1px solid #ffffff30;padding-top:12px;gap:5px!important}
body:has(>aside) aside .nav{flex:none!important;justify-content:flex-start!important;width:100%!important;min-height:44px!important;text-align:left!important;padding:12px!important;white-space:normal!important}
body:has(>aside) aside .nav.active{box-shadow:inset 3px 0 #95b59b!important}
body:has(>aside) main{margin-left:210px!important;width:calc(100% - 210px)!important;padding-left:22px!important;padding-right:22px!important}
body:has(>aside) header{min-height:66px;height:auto}
header .account-profile{margin-left:auto!important;color:var(--ink)!important;margin-block:8px}
}
/* Orders at the bottom of the shared navigation. */
body:has(>aside) aside nav{display:flex!important}
body:has(>aside) aside .nav[data-view="orders"]{order:999;margin-top:18px!important;background:#75172c!important;color:#fff7ef!important;border-top:1px solid #a75565!important}
body:has(>aside) aside .nav[data-view="orders"].active{background:#8b243c!important;color:#fff!important;box-shadow:inset 3px 0 #dba7b1!important}
body:has(>aside) aside .nav[data-view="orders"]:hover{background:#8b243c!important}
body:has(>aside) aside .nav[data-nav-number]:before{content:attr(data-nav-number)!important}

/* Settings studio 71. */
#settings.settings-studio{max-width:1200px;margin:30px auto 60px}
.settings-title>span{font-size:10px;letter-spacing:2px;color:var(--muted)}.settings-title h1{margin:10px 0;font-size:38px}.settings-title p{color:var(--muted);font-size:13px;margin-bottom:26px}
.settings-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:24px}
.settings-tabs button{display:flex;gap:9px;align-items:center;padding:13px 17px!important;border-radius:10px!important;background:var(--surface);color:var(--muted);transition:background .2s,color .2s,transform .2s,box-shadow .2s;border:1px solid var(--line)}.settings-tabs button small{font-size:9px;opacity:.6}.settings-tabs button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #123d2912!important}.settings-tabs button[aria-selected=true]{background:var(--accent)!important;color:var(--bg)!important;border-color:var(--accent);box-shadow:0 5px 15px #123d2922!important}
.settings-pane[hidden]{display:none!important}.settings-pane:not([hidden]){animation:settings-enter .24s ease-out}.settings-studio .settings-pane>.card,.settings-studio .settings-pane>.md-card{width:100%;max-width:none!important;margin:0!important;border-radius:16px!important;padding:28px!important;background:var(--surface)}
.settings-pane h2{font-size:25px;margin-top:0}.settings-pane p{font-size:13px;line-height:1.7;color:var(--muted)}.settings-pane form{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px;max-width:800px;margin-top:24px;align-items:end}.settings-pane form label{display:grid;gap:9px;margin:0;font-size:12px}.settings-pane input:not([type=checkbox]),.settings-pane select{width:100%;min-height:44px;padding:11px 13px;border-radius:8px!important;border:1px solid var(--line)}.settings-pane button{border-radius:8px!important;min-height:42px;transition:transform .16s,background .16s}.settings-pane button:active{transform:scale(.98)}.settings-pane form button[type=submit]{background:var(--button)!important;color:var(--button-ink)!important}.settings-pane form p{grid-column:1/-1;margin:0}.settings-pane details{border:1px solid var(--line);border-radius:10px;padding:15px!important;margin:12px 0}.settings-pane summary{cursor:pointer;font-size:13px;font-weight:600;padding:7px}.settings-pane details label{font-size:12px}.settings-pane label:has(input[type=checkbox]){padding:9px 12px;border:1px solid var(--line);border-radius:7px;display:inline-flex;align-items:center;gap:7px;cursor:pointer}.settings-pane label:has(input:checked){background:var(--pale);border-color:var(--accent)}.settings-pane input[type=checkbox]{accent-color:var(--accent)}.settings-studio .forest-settings{margin:0;gap:16px}.settings-studio .forest-settings button{border-radius:12px!important}
@keyframes settings-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){#settings.settings-studio{margin-top:20px}.settings-title h1{font-size:31px}.settings-tabs{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:12px}.settings-tabs button{flex:none;font-size:12px}.settings-pane form{grid-template-columns:1fr}.settings-studio .settings-pane>.card{padding:20px!important}}
@media(prefers-reduced-motion:reduce){.settings-pane,.settings-tabs button,.settings-pane button{animation:none!important;transition:none!important;transform:none!important}}
/* Balanced dark theme 74. */
html:has(body[data-theme=dark]){background:#111a17;color-scheme:dark}
body[data-theme=dark]{--bg:#111a17;--panel:#1a2520;--surface:#1a2520;--surface-alt:#233129;--input-bg:#142019;--field:#142019;--ink:#e5eee7;--muted:#acbbb0;--line:#3b4c40;--accent:#a4d8b5;--green:#a4d8b5;--pale:#293f31;--soft:#293f31;--glow:#293f31;--table-head:#27362d;--table-line:#35463a;--button:#3b8259;--button-ink:#fff;--action-ink:#fff;--text:#e5eee7;--border:#3b4c40;--card:#1a2520;color-scheme:dark}
body[data-theme=dark] .secondary,body[data-theme=dark] .settings-option button,body[data-theme=dark] .md-text-button{background:var(--surface-alt)!important;color:var(--ink)!important;border-color:var(--line)!important}
body[data-theme=dark] input::placeholder,body[data-theme=dark] textarea::placeholder{color:#a3b0a7;opacity:1}
body[data-theme=dark] input:focus,body[data-theme=dark] select:focus,body[data-theme=dark] textarea:focus{border-color:#a4d8b5!important;box-shadow:0 0 0 3px #a4d8b51a!important}
body[data-theme=dark] .account-profile-avatar{background:#304c39;color:#d5efdd}
body[data-theme=dark]:has(>aside) aside{background:#122d21!important;border-right-color:#354c3c!important}
body[data-theme=dark] .settings-tabs button[aria-selected=true]{background:#a4d8b5!important;color:#102318!important;box-shadow:none!important}
body[data-theme=dark] .settings-pane details,body[data-theme=dark] .ops-import,body[data-theme=dark] .drop,body[data-theme=dark] .ally-scroll{background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)}
body[data-theme=dark] .web-table{border-color:var(--line);scrollbar-color:#526e5c transparent}
body[data-theme=dark] .web-table table{background:var(--surface);color:var(--ink)}
body[data-theme=dark] .web-table tbody tr:nth-child(even){background:#202e25}
body[data-theme=dark] .web-table .fault{background:#482a34!important;color:#ffbfcb!important}
body[data-theme=dark] .web-table .ok{background:#233c2d!important;color:#b1e1bf!important}
body[data-theme=dark] .web-table tbody tr:hover>td{box-shadow:inset 0 0 0 9999px #b0e5c00a}
body[data-theme=dark] .web-table tbody tr.report-row-selected>td{box-shadow:inset 0 0 0 9999px #b0e5c014}
body[data-theme=dark] dialog{background:var(--surface);color:var(--ink);border-color:var(--line)}
body[data-theme=dark] dialog::backdrop{background:#030b08aa}
body[data-theme=dark] button:disabled{opacity:.55}
body[data-theme=dark] :where(.settings-pane,.ops-table-scroll,.md-table-wrap,.grid){scrollbar-color:#526e5c #152019}

.notification-bell{position:relative;display:grid;place-items:center;width:42px;height:42px;padding:8px!important;border:1px solid var(--line);border-radius:10px!important;background:var(--surface)!important;color:var(--ink)!important;margin-left:14px}
.notification-count{position:absolute;right:-5px;top:-5px;border-radius:12px;background:#8b243c;color:white;font:700 10px/18px Arial;min-width:18px;padding:0 4px}.notification-count[hidden],.notification-panel[hidden]{display:none!important}
.notification-panel{position:fixed;right:22px;top:66px;width:430px;max-width:calc(100vw - 24px);z-index:1200;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 60px #0003;padding:18px;animation:settings-enter .2s ease-out}
.notification-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.notification-heading h2{font-size:24px;margin:0}.notification-heading button{padding:5px 12px;font-size:22px;min-height:36px}.notification-read-all{font-size:11px;margin:12px 0}.notification-list{max-height:65vh;overflow:auto;overscroll-behavior:contain}.notification-item{padding:15px;border:1px solid var(--line);border-radius:10px;margin-top:10px;background:var(--surface)}.notification-item.unread{background:var(--pale);border-left:3px solid var(--accent)}.notification-item strong{font-size:13px}.notification-item p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6;margin:8px 0}.notification-item time{display:block;font-size:10px;color:var(--muted);margin-bottom:10px}.notification-item a{font-size:11px;color:var(--accent);margin-right:15px}.notification-item button{font-size:10px;padding:6px 10px}.notification-list>p{font-size:13px;color:var(--muted);padding:15px 0}
@media(max-width:700px){.notification-panel{right:12px;top:65px}.notification-bell{margin-left:0;width:36px;height:36px}}

.directory-row{display:flex;gap:18px;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:10px;padding:16px;margin-top:12px}.directory-row p{margin:6px 0 0}.directory-row button{flex:none}#setting-pane-directory input[type=search]{width:100%;max-width:650px;margin:12px 0}

/* Selected font: variant 2, Arial. */
:root{--site-font:Arial,sans-serif}
:is(#font-preview,html) body :is(#font-preview,*){font-family:Arial,sans-serif!important}

/* Monthly workbook action */
#mdMonthBooks .md-month-book{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-color:var(--line)!important;background:var(--surface);padding:10px!important;border-radius:12px!important}
#mdMonthBooks a.md-sheet-open,#mdMonthBooks a.md-sheet-open:visited{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:11px 17px;border:1px solid var(--button);border-radius:8px;background:var(--button);color:var(--button-ink);font-size:13px;font-weight:700;line-height:1.4;text-decoration:none;white-space:nowrap;box-shadow:0 2px 5px #123d2914;transition:transform .15s,box-shadow .15s,filter .15s}
#mdMonthBooks a.md-sheet-open span{font-size:18px;line-height:1}
#mdMonthBooks a.md-sheet-open:hover{filter:brightness(1.08);transform:translateY(-1px);box-shadow:0 4px 10px #123d2926}
#mdMonthBooks a.md-sheet-open:active{transform:translateY(0)}
#mdMonthBooks a.md-sheet-open:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:520px){#mdMonthBooks .md-month-book{width:100%}#mdMonthBooks a.md-sheet-open{width:100%}}
@media(prefers-reduced-motion:reduce){#mdMonthBooks a.md-sheet-open{transition:none}}
