/* LOT 2A — presentation only. No data, visibility-based deletion or business rules. */
:root{--forest:#52783b;--forest-dark:#344c2b;--ink:#283328;--muted:#626b60;--cream:#f7f8f2;--paper:#fff;--line:#dce3d4;--radius:14px;--shadow:0 3px 14px #293d2310;color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
body{background:linear-gradient(160deg,#fafbf7,#f0f3e9);color:var(--ink)}
h1,h2,h3{color:#283627}h1{font-family:Georgia,"Times New Roman",serif;font-weight:700;font-size:1.65rem;letter-spacing:-.025em}h2,h3{font-weight:650}
main{max-width:1000px;padding:12px 14px 108px}p{line-height:1.45}small,.muted{color:var(--muted)}
.card,body[data-density=compact] .card{background:var(--paper);border:1px solid #e3e8dc;border-radius:14px;box-shadow:var(--shadow);padding:12px;margin:9px 0}
button{border-color:#d5decf;min-height:44px;border-radius:11px;background:#fff;color:var(--forest-dark);font-weight:550;padding:9px 12px;transition:background-color .15s}
button.primary,button[aria-pressed=true]{background:linear-gradient(140deg,#618646,#426532);border-color:#426532;color:#fff;box-shadow:none;border-radius:11px}
button:hover{filter:none;background:#edf2e6}button.primary:hover,button[aria-pressed=true]:hover{background:#426532}button:disabled{opacity:.5}
input,select,textarea{border-color:#cdd6c7;border-radius:11px;background:#fff;min-height:46px;font-size:16px;line-height:1.35}input[type=checkbox],input[type=radio]{accent-color:#52783b;min-height:22px;width:22px;height:22px}
label{font-weight:550}form{max-width:780px}fieldset{border:1px solid var(--line);border-radius:12px}legend{font-weight:650;color:var(--forest-dark)}
details>summary{min-height:44px;color:var(--forest-dark)}details[open]>summary{border-color:var(--line)}
:focus-visible{outline:3px solid #a57527!important;outline-offset:3px!important}
.notice,[role=status]:not(#ui-crop-count):not(#network-status):not(:empty){border-radius:10px}.notice{background:#f0f5e8;border:1px solid #d5e2c7;color:#344d2d}
#form-error:not(:empty),[role=alert]:not(:empty){padding:12px;border-radius:10px;border:1px solid #e9beb9;background:#fff1ef;color:#8c2922;overflow-wrap:anywhere}
.ui-danger{color:#a33329;background:#fff8f6;border-color:#e9c4bf}.ui-danger:hover{background:#ffece8}
dialog{border:1px solid var(--line);border-radius:18px;padding:22px;max-width:min(520px,calc(100vw - 28px));box-shadow:0 20px 70px #20321935;color:var(--ink)}dialog::backdrop{background:#1b271b66}dialog button{min-height:48px}
body>nav{background:#fffffff5;border-top:1px solid #dfe6d8;box-shadow:0 -4px 20px #24391a0b;backdrop-filter:blur(12px);max-width:760px;padding-bottom:max(7px,env(safe-area-inset-bottom))}
body>nav button{min-height:54px;color:#677060;border-radius:10px}body>nav button[aria-current=page]{color:#41692e;background:#eef3e6}body>nav button[aria-current=page]:after{background:#52783b}body>nav button span{font-size:.7rem}
body[data-screen=home]>header{min-height:70px;background:#fafbf7;padding:8px 14px;gap:8px}body[data-screen=home] .home-mascot{width:52px;height:58px;filter:none}body[data-screen=home]>header>div{background:none;padding:0}body[data-screen=home]>header strong{font-family:Georgia,serif;font-size:19px;color:#33472b;letter-spacing:-.02em}body[data-screen=home]>header small{font-size:11px;color:#69745d}.settings-button{background:#f0f4e8;border:1px solid #dce3d3}
.home-heading{background:linear-gradient(to bottom,#fafbf7 35%,#fafbf710),url('images/home-garden.svg') center bottom/cover no-repeat;padding:6px 4px 65px;margin:0 0 -12px;border-radius:0 0 16px 16px;min-height:128px}.home-heading h1{display:block;font-family:Georgia,serif;font-size:1.45rem;margin:8px 0}.home-heading p{font-size:.8rem;max-width:95%}.home-heading .tag{font-size:.72rem;background:#edf2e4;color:#426132}
body[data-screen=home] .home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:start;margin:0;position:relative}
body[data-screen=home] .home-grid>.home-card{min-width:0;padding:10px;border:1px solid #e0e7d8;background:#fff;border-radius:13px;margin:0;box-shadow:0 4px 13px #384a2410}
body[data-screen=home] .home-card h2{font-size:.83rem;line-height:1.3;margin:0 0 7px;color:#2d3928}body[data-screen=home] .home-card p{font-size:.77rem;line-height:1.4}body[data-screen=home] .home-card button{font-size:.77rem;min-height:44px;padding:7px}
body[data-screen=home] .home-grid>.home-value{background:#fffdf6;border-color:#e7e4d4}.home-weather{background:linear-gradient(#fff,#eaf3f8)!important}.home-weather .compact-weather{font-size:.78rem}.home-weather .compact-weather-value{font-size:1.35rem}
.a5-ring{flex-basis:32px;width:32px;height:38px}.a5-ring>span{font-size:28px}.a5-metric{gap:5px}.a5-metric .home-number{font-size:clamp(18px,5vw,26px);font-weight:750;color:#283328;letter-spacing:-.045em}.a5-ring svg{display:none}
.lot2-weight-link{display:flex;align-items:center;justify-content:space-between;width:100%;padding:0!important;text-align:left;border:0;background:transparent!important;gap:4px}.lot2-weight-link>span{font-size:24px;color:#52783b}.home-weight:has(.lot2-weight-link:focus-visible){outline:2px solid #52783b}
body[data-screen=home] .home-grid>.compact-harvest-action{grid-column:1/-1;font-size:.9rem;margin:0}.home-goal progress{accent-color:#648847;width:100%;height:10px}.home-grid>.lot2-secondary-card{grid-column:1/-1}.home-card .compact-metric-details{font-size:.75rem}.home-card details summary{font-size:.75rem}
.ui-drag-help{font-size:.7rem;color:#737b6e}.home-toolbar{margin-top:12px}.home-access{box-shadow:none}.home-today ul,.home-probable ul{padding-left:16px;font-size:.76rem}.home-today li,.home-probable li{margin:6px 0}
.compact-tabs,.calendar-tabs,.weight-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.compact-tabs button,.calendar-tabs button,.weight-tabs button{flex:1;border-radius:22px;background:#eff2eb;color:#4a5743;border:1px solid transparent;min-height:44px}.compact-tabs button[aria-pressed=true],.calendar-tabs button[aria-pressed=true],.weight-tabs button[aria-pressed=true]{background:#52783b;color:white}
.ui-crop-list .ui-crop-row,.compact-harvest-row{border-radius:13px;box-shadow:0 2px 9px #2e48210a}.ui-crop-row .crop-image img,.compact-harvest-row .crop-image img{border-radius:10px}.compact-crop-copy h3{font-size:.95rem}.compact-crop-location{color:#65705e;font-size:.78rem}
.lot2-rates-link{display:flex;align-items:center;gap:12px;text-align:left;width:100%;min-height:76px;margin:14px 0;background:linear-gradient(120deg,#eef6e6,#fcfff8);border:1px solid #9ebc86;border-radius:14px;padding:14px}.lot2-rates-link .ui-icon{width:31px;height:31px;color:#52783b}.lot2-rates-link>span:nth-child(2){flex:1}.lot2-rates-link strong{display:block;font-size:1rem}.lot2-rates-link small{font-size:.8rem;font-weight:400}.lot2-rates-link>span:last-child{font-size:26px}
.weight-total{display:flex;align-items:center;gap:15px;padding:20px!important}.weight-total strong{font-size:2rem;letter-spacing:-.04em}.weight-total p{font-size:.86rem}.weight-basket{font-size:44px}#weight-season{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0}#weight-season label{margin:0}#weight-year{width:auto}
.weight-row{display:grid;grid-template-columns:56px minmax(0,1fr) minmax(70px,100px);align-items:center;gap:10px;padding:10px!important}.weight-row:not(:has(figure)){grid-template-columns:minmax(0,1fr) minmax(90px,160px)}.weight-row h2{font-size:.87rem;margin:0 0 4px}.weight-row strong{font-size:.98rem}.weight-row small{font-size:.7rem}.weight-row figure{margin:0!important;width:56px!important;min-width:0!important}.weight-row figure img{width:56px!important;height:56px!important;object-fit:cover;border-radius:10px}.weight-share{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.weight-share meter{width:100%;height:10px;accent-color:#638c45}.weight-share span{font-size:.73rem;color:#65715c}.weight-credits figcaption{padding:8px 0;border-bottom:1px solid var(--line)}
@media(min-width:760px){.home{max-width:820px;margin:auto}.home-heading{min-height:175px;padding-bottom:85px}.home-heading h1{font-size:1.9rem}body[data-screen=home] .home-card h2{font-size:1rem}body[data-screen=home] .home-card p{font-size:.9rem}.weight-row{grid-template-columns:64px minmax(0,1fr) 220px}}
@media(max-width:359px){main{padding-left:10px;padding-right:10px}.home-grid{gap:5px!important}.a5-ring{display:none}.weight-row{grid-template-columns:42px minmax(0,1fr) 62px}.weight-row figure,.weight-row figure img{width:42px!important;height:42px!important}body>nav button span{font-size:.62rem}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
/* Resolve compact a.15 layout constraints for the new home composition. */
body[data-screen=home] .home-heading{display:block}
body[data-screen=home] .home-grid>.home-weight,body[data-screen=home] .home-grid>.home-value{display:block}
body[data-screen=home] .home-grid>.home-card{grid-column:auto}
body[data-screen=home] .home-grid>.lot2-secondary-card{grid-column:1/-1}
body[data-screen=home] .home-weight h2,body[data-screen=home] .home-value h2{display:block;width:auto}
body[data-screen=home] .lot2-weight-link{width:100%;min-width:0}
body[data-screen=home] .a5-metric{display:flex;width:100%;min-width:0}
body[data-screen=home] .a5-metric .home-number{white-space:nowrap;width:auto;overflow-wrap:normal}
body[data-screen=home] .a5-ring{flex-shrink:0}
.lot2-default-order>.home-weight{order:0}.lot2-default-order>.home-value{order:1}.lot2-default-order>.home-today{order:2}.lot2-default-order>.home-weather{order:3}.lot2-default-order>.home-probable{order:4}.lot2-default-order>.home-goal{order:5}.lot2-default-order>.compact-harvest-action{order:6}.lot2-default-order>.home-suggestion{order:7}.lot2-default-order>.home-week{order:8}.lot2-default-order>.home-planner{order:9}
