
:root{font-size:clamp(7px,.829187vw,13.27px);color-scheme:light;--bg:#0e1d16;--frame:#29483b;--cream:#f8f1e1;--card:#fefdf8;--ink:#243b2e;--muted:#8b8979;--green:#1e4d39;--line:#e5ddc9;--gold:#d6a43e;--rust:#b95539;--blue:#376db5}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#e9eee4;font-family:"IBM Plex Sans Arabic","Noto Sans Arabic",Tahoma,Arial,sans-serif;line-height:1.45}button{font-family:inherit;color:inherit;cursor:pointer;line-height:1.45}button:focus-visible{outline:2px solid #ce9f40;outline-offset:2px}button:disabled{cursor:default}h1,h2,h3,p{margin:0}button{border:0} .board{max-width:160rem;margin:auto;padding:1.4rem 3.3rem 1rem}.header{height:5.6rem;display:flex;align-items:flex-start;justify-content:space-between}.brand{width:15.7rem;height:4.5rem;object-fit:contain;display:block}.lead{font-size:1.12rem;color:#8c9b90;align-self:center;margin-top:.3rem}.screens{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1.65rem}.screen-item{min-width:0}.screen-label{font-size:1.08rem;font-weight:600;color:#e2e7df;padding:0 .5rem .85rem;white-space:nowrap;height:2.2rem}.phone{height:44.5rem;border:.5rem solid var(--frame);border-radius:3.05rem;background:var(--cream);color:var(--ink);padding:1.5rem 1.2rem .55rem;display:flex;flex-direction:column;overflow:hidden;position:relative}.phone-head{margin-bottom:.65rem;text-align:right}.phone-head h1{font-size:1.64rem;line-height:1.4;font-weight:700;letter-spacing:-.04rem}.phone-head p{font-size:.91rem;color:var(--muted);line-height:1.5}.phone-body{display:flex;flex-direction:column;gap:.75rem;min-height:0;flex:1}.card{background:var(--card);border:1px solid var(--line);border-radius:1.1rem;padding:.83rem .9rem;box-shadow:0 .08rem .16rem #574d2b08}.muted{color:var(--muted);font-size:.87rem}.small{font-size:.83rem}.strong{font-size:1.22rem;font-weight:700;line-height:1.5}.location{height:5.95rem;display:flex;flex-direction:column;justify-content:center}.priorities{min-height:8.35rem}.priorities .pills{margin-top:.5rem;justify-content:flex-start;gap:.35rem}.pills{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}.pill{font-size:1.05rem;font-weight:600;line-height:1.15;padding:.5rem .8rem;background:transparent;border:1px solid var(--green);border-radius:99rem;white-space:nowrap;color:var(--ink)}.pill[aria-pressed=true]{background:var(--green);color:var(--cream);box-shadow:inset 0 0 0 1px #ffffff19}.metric-card{padding:.75rem .8rem .7rem;min-height:7.55rem}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem;margin-top:.55rem}.metric{background:#f8f1e1;border:1px solid #eee4cf;border-radius:.75rem;padding:.55rem .2rem .32rem;text-align:center;line-height:1.25}.metric b{display:block;font-size:1.35rem;line-height:1.3;font-weight:700}.metric small{font-size:.82rem;color:var(--muted);white-space:nowrap}.cta{width:100%;background:var(--green);color:#fffdf2;font-weight:600;font-size:1.12rem;border-radius:.9rem;min-height:3.45rem;margin-top:auto;margin-bottom:.48rem;box-shadow:inset 0 0 0 1px #ffffff12}.cta:active,.pill:active{filter:brightness(.94)}.bottom-nav{margin-top:auto;display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #ebe3d1;padding-top:.35rem;gap:0;min-height:2.3rem;align-items:center}.bottom-nav button{background:none;font-size:.84rem;color:#9a9584;padding:.15rem 0;line-height:1.4;white-space:nowrap;text-align:center}.bottom-nav button[aria-current=page]{color:var(--green);font-weight:700}.map-pills,.market-pills{margin-bottom:.06rem}.map{height:24.1rem;flex:none;position:relative;overflow:hidden;border-radius:1rem;background:#3d6b44;direction:ltr}.zone{position:absolute}.zone.tl{top:0;left:0;width:50%;height:41%;background:#3d6b44}.zone.tr{top:0;right:0;width:50%;height:41%;background:#6a8f4c}.zone.bl{bottom:0;left:0;width:50%;height:42%;background:#9b8549}.zone.br{bottom:0;right:0;width:50%;height:59%;background:#3d6b44}.field-line{position:absolute;left:0;right:0;top:40.8%;height:.22rem;background:#8b9954;opacity:.75}.map.nitrogen .zone.tl{background:#789557}.map.nitrogen .zone.tr{background:#9b8549}.map.nitrogen .zone.bl{background:#567a45}.map.nitrogen .zone.br{background:#6a8f4c}.point{position:absolute;width:1.13rem;height:1.13rem;border:.19rem solid #fffae7;border-radius:50%;background:var(--blue);padding:0;transform:translate(-50%,-50%);box-shadow:0 0 .25rem #eeeacb99}.point.gold{background:var(--gold)}.point:focus-visible{outline:2px solid white;outline-offset:2px}.map-legend{display:flex;align-items:center;justify-content:space-between;min-height:2.5rem;padding:.45rem .85rem;line-height:1.4}.legend-name{font-size:.85rem;color:var(--blue);display:flex;align-items:center;gap:.3rem}.legend-dot{background:var(--blue);width:.65rem;height:.65rem;border-radius:50%}.map-tip{position:absolute;z-index:3;background:var(--card);color:var(--ink);padding:.5rem .65rem;font-size:.92rem;border-radius:.5rem;box-shadow:0 .2rem .8rem #0003;max-width:85%;top:.6rem;left:.6rem;direction:rtl}.rotation{width:100%;text-align:right;min-height:6.3rem;display:flex;flex-direction:column;justify-content:center;padding:.78rem .9rem;gap:.26rem;cursor:pointer}.rotation[aria-pressed=true]{border:1.6px solid var(--green);padding:calc(.78rem - .6px) calc(.9rem - .6px)}.rotation-title{line-height:1.45;display:flex;justify-content:space-between;align-items:center;gap:.4rem;font-size:1.1rem;font-weight:700;white-space:nowrap}.score{font-size:1.15rem;direction:ltr}.rotation .muted{font-size:.89rem}.bar{width:100%;height:.48rem;background:#e6dcc4;border-radius:99rem;overflow:hidden;display:flex;justify-content:flex-start;margin-top:.45rem;direction:rtl}.bar span{height:100%;border-radius:99rem;display:block;background:var(--green)}.weather{padding:.85rem .55rem .6rem;min-height:5.55rem}.week{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;gap:.1rem}.day{line-height:1.25;display:flex;flex-direction:column;gap:.22rem;align-items:center}.day small{font-size:.76rem;color:var(--muted)}.day b{font-size:1.05rem;font-weight:700;white-space:nowrap}.day span{color:#a7a18c;font-size:.79rem}.alert{background:#fff0c9;border:1px solid #d8b56a;min-height:6.3rem;padding:.75rem .9rem .6rem}.alert h2{font-size:1.3rem;line-height:1.3;margin-bottom:.25rem}.alert p{color:#85754c;font-size:.98rem;line-height:1.4}.saved{min-height:5.6rem;padding:.65rem .9rem}.saved b{display:block;font-size:1.38rem;line-height:1.25}.saved .bar{margin-top:.5rem}.expert{min-height:4.85rem;display:flex;align-items:center;gap:.7rem;padding:.7rem .65rem}.avatar{height:3.2rem;width:3.2rem;background:var(--green);border-radius:50%;flex:none}.avatar.gold{background:var(--gold)}.expert-details{flex:1;min-width:0}.expert-details h2{font-size:1.16rem;white-space:nowrap}.expert-details p{font-size:.82rem;color:var(--muted);white-space:nowrap;margin-top:.2rem}.expert .pill{font-size:.9rem;padding:.65rem .75rem}.seeds{min-height:7.15rem;padding:.75rem .85rem}.seed{display:flex;justify-content:space-between;align-items:center;margin-top:.45rem;gap:.3rem}.seed strong{font-size:1.06rem}.seed span{font-size:.86rem;color:var(--muted)}.market-list{display:flex;flex-direction:column;gap:.75rem}.footer{font-size:.95rem;text-align:center;color:#87938a;margin-top:1rem;line-height:1.5}.footer a{color:inherit}.phone.flash{animation:flash .8s ease-out}@keyframes flash{0%,40%{border-color:#d1a64c}100%{border-color:var(--frame)}}[hidden]{display:none!important}
dialog{border:1px solid var(--line);border-radius:1.7rem;background:var(--cream);color:var(--ink);padding:2rem;width:min(90vw,36rem);font-size:1.4rem;box-shadow:0 1rem 5rem #0005}dialog::backdrop{background:#07150dbb}dialog h2{font-size:1.8rem;margin-bottom:.7rem}dialog p{margin-bottom:1.3rem;white-space:pre-line}dialog button{min-height:3.5rem;width:100%;border-radius:.8rem;background:var(--green);color:var(--cream);font-size:1.3rem}

/* One independent, responsive app screen per URL. */
:root{font-size:15px}
.board{width:100%;max-width:30rem;min-height:100dvh;padding:1rem .8rem;display:flex;flex-direction:column}
.header{height:auto;min-height:4.5rem;align-items:center;gap:.7rem}
.brand{width:10rem;height:auto;max-width:48%}
.lead{font-size:.7rem;max-width:11rem;text-align:left}
.screens{display:block;flex:1}
.screen-item{display:block}
.screen-label{font-size:.85rem;height:1.8rem}
.phone{height:max(43rem,calc(100dvh - 9rem));max-height:54rem;padding:1.2rem 1rem .65rem;border-radius:2.6rem}
.phone-head h1{font-size:1.65rem}.phone-head p{font-size:.95rem}
.map{height:24rem}.footer{font-size:.7rem;margin-top:.7rem}
.expert-details h2{font-size:1.1rem}.expert-details p{font-size:.8rem}
.bottom-nav a{display:block;text-decoration:none;background:none;font-size:.84rem;color:#9a9584;padding:.35rem 0;line-height:1.4;white-space:nowrap;text-align:center;border-radius:.35rem}
.bottom-nav a[aria-current=page]{color:var(--green);font-weight:700}
a:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
a.cta{display:flex;align-items:center;justify-content:center;text-decoration:none;flex-shrink:0}
@media(min-width:600px){.board{padding-top:1.2rem;max-width:31rem}.phone{height:max(43rem,calc(100dvh - 9rem))}}
@media(max-width:360px){:root{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
