:root{--bg:#f5f8f6;--surface:#fff;--ink:#122f28;--muted:#70817b;--line:#e5ece8;--green:#0d5b41;--deep:#083b2e;--mint:#e7f4ed;--lime:#36a778;--sand:#f5edda;--gold:#c7a15b;--amber:#c7822a;--red:#c75b50;--shadow:0 4px 23px rgba(17,47,35,.055);--r:17px;--font:'Segoe UI','Noto Sans Arabic','DejaVu Sans',Tahoma,Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font-family:var(--font);color:var(--ink);font-size:14px;line-height:1.6}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}svg{display:block}img{max-width:100%}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #78be9a;outline-offset:2px}.boot{min-height:100vh;display:grid;place-items:center;align-content:center;gap:9px;color:var(--green);font-size:24px;font-weight:800}.boot-logo{font-size:56px}.boot small{font-size:13px;color:var(--muted)}
.topbar{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:28px;padding:0 max(25px,calc((100vw - 1560px)/2));position:sticky;top:0;z-index:40;box-shadow:0 3px 17px rgba(0,0,0,.025)}.brand{display:flex;gap:12px;align-items:center;min-width:223px;flex-shrink:0}.mark{width:45px;height:45px;border-radius:13px;background:var(--green);display:grid;place-items:center;color:#f7d788;box-shadow:0 6px 13px #1657401f}.mark svg{width:31px;height:31px}.brand-name{font-size:20px;letter-spacing:-.7px;font-weight:850;line-height:1.15;color:var(--deep)}.brand-sub{display:block;font-size:10px;color:var(--muted);letter-spacing:.2px;font-weight:500;margin-top:4px}.nav{display:flex;align-items:center;gap:5px;flex:1}.nav button{border:0;background:transparent;padding:10px 13px;border-radius:10px;color:#65736e;font-weight:650;white-space:nowrap;display:inline-flex;align-items:center;gap:8px;transition:.18s}.nav button svg{width:17px;height:17px}.nav button:hover{background:#f3f8f5;color:var(--green)}.nav button.active{background:var(--green);color:white;box-shadow:0 6px 13px rgba(15,90,64,.15)}.header-actions{display:flex;align-items:center;gap:12px}.iconbtn{width:38px;height:38px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--green);display:grid;place-items:center}.iconbtn svg{width:19px;height:19px}.langwrap{position:relative}.langbtn{border:1px solid var(--line);display:flex;align-items:center;gap:7px;border-radius:11px;background:#fff;padding:8px 11px;color:var(--ink);font-weight:750}.langbtn svg{width:18px;height:18px}.langmenu{position:absolute;top:48px;inset-inline-end:0;width:177px;background:white;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:12px;padding:5px;z-index:50}.langmenu button{border:0;background:white;width:100%;padding:9px 12px;display:flex;gap:8px;border-radius:8px;align-items:center;color:var(--ink);text-align:start}.langmenu button:hover,.langmenu button.chosen{background:var(--mint)}.mobile-toggle{display:none}
.shell{max-width:1560px;padding:31px 26px 65px;margin:0 auto}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:22px}.section-heading h1,.section-heading h2{font-size:27px;letter-spacing:-.5px;margin:0;color:var(--ink);font-weight:800;line-height:1.4}.section-heading p{margin:5px 0 0;color:var(--muted)}.section-heading .actions{display:flex;gap:9px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--green);font-weight:850;margin-bottom:7px}.hero{height:258px;background:#084936;display:grid;grid-template-columns:1fr 46%;overflow:hidden;border-radius:21px;position:relative;box-shadow:0 13px 40px rgba(9,66,44,.12);margin-bottom:24px}.hero-copy{padding:36px 48px;z-index:2;display:flex;flex-direction:column;justify-content:center;color:white;background:linear-gradient(90deg,#0a4a37 70%,#0a4a37dd 100%)}.hero-copy .eyebrow{color:#d8b778;font-size:11px}.hero h1{font-size:29px;line-height:1.5;max-width:650px;margin:1px 0 11px;font-weight:800;letter-spacing:-.65px}.hero p{font-size:13px;color:#d8e6db;margin:0 0 19px;max-width:570px}.hero-photo{background:linear-gradient(to right,transparent 62%,#0a4a37),url('./public/images/hero.webp') center / cover no-repeat;position:relative;opacity:.94}.hero-photo:before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,#0b422329 100%)}.hero-stamp{position:absolute;bottom:16px;left:19px;background:#fffdf8ef;color:#204b38;font-size:11px;border-radius:8px;padding:6px 10px;box-shadow:var(--shadow)}.btn{border:1px solid transparent;border-radius:10px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:720;transition:.2s;white-space:nowrap;line-height:1.4}.btn svg{width:16px;height:16px}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--green);color:white;box-shadow:0 5px 13px #095b3f1a}.btn-primary:hover{background:#0a5038}.btn-gold{background:#edcf8d;color:#173e2e}.btn-outline-light{border-color:#d4dfd7;background:transparent;color:white}.btn-soft{background:#ebf5ee;border-color:#d9e9de;color:#155b42}.btn-neutral{background:white;border-color:#dce6df;color:#2d5747}.btn-danger{background:#faece8;color:#9d463f;border-color:#f5dcd7}.btn-sm{padding:7px 11px;font-size:12px}.hero-buttons{display:flex;gap:10px}.hero-buttons .btn{padding:11px 19px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.stat-card{background:white;border:1px solid var(--line);border-radius:var(--r);padding:18px 21px;box-shadow:var(--shadow);min-height:115px;display:flex;align-items:center;justify-content:space-between;gap:9px}.stat-card .stat-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:var(--mint);color:var(--green);flex:none}.stat-icon svg{height:23px;width:23px}.stat-card .stat-main{min-width:0}.stat-label{display:block;color:#657b70;font-size:12px;font-weight:650}.stat-value{font-size:26px;line-height:1.4;letter-spacing:-.6px;color:var(--deep);font-weight:850;white-space:nowrap}.stat-sub{display:block;font-size:11px;color:var(--muted);white-space:nowrap}.stat-sub.positive{color:#138a5b}.stat-sub.negative{color:#b35244}.surface{border:1px solid var(--line);border-radius:var(--r);background:var(--surface);box-shadow:var(--shadow);overflow:hidden}.panel-pad{padding:21px 23px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.panel-title h2,.panel-title h3{font-size:15px;line-height:1.5;margin:0;font-weight:800;color:var(--ink);display:flex;gap:8px;align-items:center}.panel-title h3 svg,.panel-title h2 svg{width:18px;height:18px;color:var(--green)}.panel-sub{font-size:11px;color:var(--muted)}.panel-link{border:0;background:transparent;color:var(--green);font-weight:750;font-size:11px;display:flex;align-items:center;gap:4px}.panel-link svg{width:14px;height:14px}.dashboard-grid{display:grid;grid-template-columns:1.02fr 1.12fr .81fr;gap:16px;align-items:stretch}.dashboard-grid .surface{min-height:375px}.map-surface{position:relative;min-height:360px}.map-surface .panel-pad{padding-bottom:0}.map-holder{height:310px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 54% 28%,#eff8f2 0%,#fff 64%);border-radius:12px}.map-holder svg{width:100%;height:100%}.map-holder.full{height:570px;background:linear-gradient(145deg,#ecf6f0,#ffffff 53%,#faf6ea)}.map-svg .country{stroke:#b1d4bb;stroke-width:1.5;fill:#e0f0df;transition:.2s}.map-svg .map-point{cursor:pointer;transition:transform .18s}.map-svg .map-point:hover{filter:drop-shadow(0 0 3px #1b795c)}.map-svg .map-point:focus{outline:none;stroke:#142e23;stroke-width:2.5}.map-legend{display:flex;justify-content:center;gap:14px;color:var(--muted);font-size:10px;position:absolute;bottom:6px;left:0;right:0}.map-legend span{display:inline-flex;align-items:center;gap:5px}.dot{width:9px;height:9px;border-radius:100%;display:inline-block;flex:none}.map-details{position:absolute;top:14px;inset-inline-start:14px;background:#fffffff0;box-shadow:0 7px 30px #09231e16;border:1px solid #dceadf;border-radius:12px;padding:12px;min-width:185px;max-width:215px;backdrop-filter:blur(9px);z-index:2}.map-details strong{display:block;color:#154b37}.map-details small{display:block;color:var(--muted);font-size:10px}.map-details .metric{display:flex;justify-content:space-between;font-size:12px;gap:10px;border-top:1px solid var(--line);padding:5px 0}.map-details .metric:first-of-type{margin-top:8px}.map-details b{color:var(--green)}.map-skeleton{display:grid;place-items:center;color:var(--muted);height:100%}.insight-panel{background:linear-gradient(156deg,#0c573f,#0b3d30);color:white;border-color:#0c503d}.insight-panel .panel-title h3{color:#fff}.insight-panel .panel-title svg{color:#f0d78a}.insight{padding:14px 0;border-bottom:1px solid #ffffff29;display:flex;align-items:flex-start;gap:9px;color:#e2f0e9;line-height:1.8;font-size:12px}.insight:last-child{border-bottom:0}.insight svg{flex:none;color:#b7e4c6;height:16px;width:16px;margin-top:3px}.chart{width:100%;height:255px}.chart text{font-family:var(--font)}.chart .gridline{stroke:#e5ede9;stroke-width:1}.chart .axistext{fill:#85978d;font-size:10px}.chart .axisline{stroke:#d3ded7}.chart-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:18px;margin-top:5px;color:var(--muted);font-size:11px}.chart-legend span{display:inline-flex;align-items:center;gap:6px}.crop-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:17px}.crop-card{padding:17px 20px;display:flex;gap:14px;align-items:center;justify-content:space-between;cursor:pointer;transition:.2s}.crop-card:hover{border-color:#a1cdb5;transform:translateY(-2px)}.crop-icon{height:52px;width:52px;background:#f2f7f0;border-radius:14px;display:grid;place-items:center;font-size:28px;flex:none}.crop-card h4{margin:0;color:var(--ink);font-size:13px}.crop-card strong{font-size:20px;color:var(--deep)}.crop-card p{margin:0;color:var(--muted);font-size:11px}.footnote{margin-top:13px;color:#83918a;font-size:11px;display:flex;align-items:center;gap:7px}.footnote svg{width:15px;height:15px;flex:none}.filterbar{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:17px}.select{border:1px solid #dfe7e2;padding:10px 35px 10px 12px;border-radius:10px;background:white;color:var(--ink);max-width:240px;min-width:140px;font-weight:600;outline:none}.select:focus{border-color:#4f9f76}.field{display:flex;flex-direction:column;gap:6px}.field label{font-size:11px;color:#647b70;font-weight:700}.field input,.field select{border:1px solid var(--line);background:#fff;padding:10px 12px;border-radius:10px;color:var(--ink);min-width:0;outline:none}.field input:focus,.field select:focus{border-color:var(--lime)}.monitor-grid{display:grid;grid-template-columns:224px minmax(0,1fr) 290px;gap:16px}.filters{display:flex;flex-direction:column;gap:17px}.monitor-side{display:grid;gap:14px;align-content:start}.monitor-side .surface{padding:17px}.mini-kpi{display:flex;justify-content:space-between;gap:7px;align-items:center}.mini-kpi span{font-size:12px;color:var(--muted)}.mini-kpi strong{font-size:22px;color:var(--deep)}.side-divider{border:0;border-top:1px solid var(--line);margin:12px 0}.map-note{padding:12px;background:#f7faf7;border:1px solid #e3ede6;color:#6e8274;border-radius:10px;font-size:11px;margin-top:10px}.two-cols{display:grid;grid-template-columns:1.3fr .85fr;gap:17px}.three-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.stack{display:grid;gap:16px}.crop-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:19px}.crop-tab{padding:10px 19px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--ink);font-weight:730;display:flex;align-items:center;gap:9px}.crop-tab.selected{background:var(--green);border-color:var(--green);color:white}.crop-tab span{font-size:19px}.crop-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:17px}.crop-head{display:flex;align-items:center;gap:14px}.crop-head .crop-icon{height:66px;width:66px;font-size:34px}.crop-head h2{margin:0;font-size:23px}.crop-head p{margin:1px 0;color:var(--muted);font-size:12px}.crop-meta{display:flex;align-items:center;gap:19px}.crop-meta div{padding-inline:20px;border-inline-start:1px solid var(--line)}.crop-meta small{display:block;color:var(--muted);font-size:11px}.crop-meta strong{font-size:21px;color:var(--green)}.score-list{display:grid;gap:14px}.score-item{display:grid;grid-template-columns:120px 1fr 43px;align-items:center;gap:13px;font-size:12px}.progress{height:8px;background:#ebf0eb;border-radius:10px;overflow:hidden}.progress .fill{height:100%;background:linear-gradient(to right,#69c496,#0c8057);border-radius:10px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:40px;padding:4px 11px;background:#e8f6ed;color:#127044;font-size:10px;font-weight:800}.badge.warn{background:#fff4e4;color:#b37a28}.badge.danger{background:#fbebe9;color:#a54942}.badge.blue{background:#edf3ff;color:#4167ae}.notice{background:#fff9e9;border:1px solid #f1dfb9;border-radius:12px;padding:13px 16px;display:flex;gap:10px;color:#815d21;font-size:12px;align-items:flex-start}.notice svg{width:17px;height:17px;flex:none;margin-top:3px}.notice.info{background:#eff7f4;border-color:#d8ebe1;color:#24694f}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;text-align:start;min-width:530px}.data-table th{color:#819087;font-size:11px;font-weight:800;background:#f8faf9;padding:10px 13px;white-space:nowrap}.data-table td{padding:11px 13px;border-bottom:1px solid #eff2ef;font-size:12px}.data-table tbody tr{cursor:pointer}.data-table tbody tr:hover{background:#f7faf8}.data-table tbody tr:last-child td{border:0}.data-table td strong{color:var(--ink)}.number{font-variant-numeric:tabular-nums;font-feature-settings:'tnum'}.page-title-small{font-size:12px;color:var(--muted)}.search-input{padding:11px 14px;border-radius:10px;border:1px solid var(--line);background:#fff;width:100%;outline:none}.search-input:focus{border-color:#7bb897}.report-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.report-card{padding:21px;min-height:226px;display:flex;flex-direction:column;justify-content:space-between}.report-card .report-icon{width:48px;height:48px;background:#eaf4ed;color:var(--green);display:grid;place-items:center;border-radius:13px;margin-bottom:18px}.report-card .report-icon svg{width:24px;height:24px}.report-card h3{font-size:16px;margin:0 0 8px}.report-card p{font-size:12px;color:var(--muted);margin:0 0 16px}.report-card .btn{width:100%}.alert-item{display:grid;grid-template-columns:35px 1fr auto;gap:12px;align-items:center;padding:17px 20px;border-bottom:1px solid var(--line);cursor:pointer}.alert-item:hover{background:#f8fbf9}.alert-item:last-child{border:0}.alert-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#fff2e0;color:#a76f29}.alert-icon svg{width:18px;height:18px}.alert-item h4{margin:0 0 3px;font-size:13px}.alert-item p{margin:0;color:var(--muted);font-size:11px}.alert-item .tag{min-width:70px;text-align:center}.alert-detail{border:1px solid #dcece2;background:#f6faf7;border-radius:12px;padding:17px;margin-top:13px}.alert-detail h4{margin:0 0 7px}.alert-detail p{margin:0;color:var(--muted);font-size:12px}.scenario-grid{display:grid;grid-template-columns:300px 1fr;gap:17px}.range-input{width:100%;accent-color:#0d7750;cursor:pointer}.range-line{display:flex;justify-content:space-between;align-items:center;gap:9px;font-size:12px}.range-line strong{color:var(--green);font-size:16px}.scenario-row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line);gap:14px}.scenario-row:last-child{border:0}.scenario-row span{color:var(--muted)}.scenario-row strong{font-size:18px;color:var(--green)}.dropzone{border:2px dashed #bad9c8;background:#f7fbf8;padding:35px 20px;text-align:center;border-radius:17px;cursor:pointer;transition:.2s}.dropzone:hover,.dropzone.over{border-color:var(--green);background:#ebf7ef}.dropzone svg{width:35px;height:35px;color:var(--green);margin:0 auto 12px}.dropzone h3{margin:0 0 5px}.dropzone p{margin:0 0 14px;color:var(--muted);font-size:12px}.toast{position:fixed;bottom:25px;inset-inline-end:27px;max-width:370px;background:var(--deep);color:white;padding:13px 18px;border-radius:12px;box-shadow:0 10px 38px #03170f32;z-index:100;font-size:12px}.footer{margin:35px 0 0;padding:23px 4px 10px;border-top:1px solid #dce6df;display:flex;justify-content:space-between;gap:25px;color:#8d9c94;font-size:11px}.footer a{text-decoration:underline;text-underline-offset:3px}.modal-backdrop{position:fixed;inset:0;background:#091e16a9;backdrop-filter:blur(4px);z-index:100;display:grid;place-items:center;padding:25px}.modal{width:min(630px,100%);max-height:85vh;overflow:auto;background:#fff;border-radius:20px;padding:26px;box-shadow:0 25px 70px #0004}.modal h2{margin:0 0 13px}.modal h3{margin:17px 0 7px;font-size:14px}.modal p,.modal li{color:#60736a;font-size:12px;line-height:2}.modal .modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.modal ul{padding-inline-start:21px}.empty{color:var(--muted);padding:35px;text-align:center}.source-pill{background:#f1f5f2;color:#577367;font-size:10px;border-radius:6px;padding:4px 7px}.report-only{display:none}.skip-link{position:absolute;top:-100px;right:10px;background:#fff;padding:7px;z-index:300}.skip-link:focus{top:8px}
@media(max-width:1250px){.topbar{padding:0 20px;gap:15px}.brand{min-width:195px}.brand-name{font-size:18px}.nav button{font-size:12px;padding:9px 8px;gap:5px}.dashboard-grid{grid-template-columns:1fr 1fr}.dashboard-grid>.surface:last-child{grid-column:1/-1;min-height:0}.monitor-grid{grid-template-columns:175px minmax(0,1fr)}.monitor-side{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.monitor-side .surface:last-child{grid-column:1/-1}}@media(max-width:850px){.topbar{height:69px}.shell{padding:20px 16px 50px}.mobile-toggle{display:grid}.nav{position:absolute;top:69px;inset-inline:0;display:none;background:#fff;box-shadow:0 20px 25px #09281916;padding:12px 16px;flex-direction:column;align-items:stretch}.nav.open{display:flex}.nav button{justify-content:flex-start}.header-actions{margin-inline-start:auto}.hero{height:auto;min-height:260px;grid-template-columns:1fr}.hero-copy{padding:28px}.hero h1{font-size:25px}.hero-photo{position:absolute;inset:0;opacity:.24;background-position:center}.hero-copy{background:linear-gradient(95deg,#0a4a37dd,#0a4a37e8)}.stat-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.two-cols,.scenario-grid{grid-template-columns:1fr}.dashboard-grid>.surface:last-child{grid-column:auto}.crop-row,.report-grid{grid-template-columns:repeat(2,1fr)}.monitor-grid{grid-template-columns:1fr}.monitor-side{grid-column:auto;grid-template-columns:1fr}.monitor-side .surface:last-child{grid-column:auto}.filters{display:grid;grid-template-columns:repeat(2,1fr)}.crop-meta{flex-wrap:wrap}.crop-summary{align-items:flex-start;flex-direction:column}.three-cols{grid-template-columns:1fr}.footer{flex-direction:column}}@media(max-width:540px){.brand{min-width:0}.brand-name{font-size:17px}.brand-sub{display:none}.topbar{gap:9px;padding:0 12px}.mark{width:38px;height:38px}.header-actions{gap:7px}.langbtn{padding:6px 8px}.hero h1{font-size:22px}.hero p{font-size:12px}.hero-buttons{flex-wrap:wrap}.hero-buttons .btn{padding:10px 13px}.stat-grid{gap:9px}.stat-card{padding:13px;min-height:104px}.stat-card .stat-icon{width:32px;height:32px;border-radius:9px}.stat-icon svg{width:18px;height:18px}.stat-value{font-size:20px}.stat-label{font-size:10px}.stat-sub{font-size:9px}.panel-pad{padding:16px}.crop-row,.report-grid{grid-template-columns:1fr}.section-heading h1,.section-heading h2{font-size:22px}.section-heading{align-items:flex-start;flex-direction:column}.map-holder.full{height:430px}.filters{grid-template-columns:1fr}.score-item{grid-template-columns:83px 1fr 35px}.crop-meta{gap:8px}.crop-meta div{padding-inline:10px}.crop-meta strong{font-size:18px}}
@media print{body{background:white;font-size:12px}.topbar,.footer,.hero,.btn,.filterbar,.notice,.footnote,.dropzone{display:none!important}.shell{padding:0}.surface{box-shadow:none;break-inside:avoid}.report-only{display:block}.stat-grid{grid-template-columns:repeat(4,1fr)}.map-holder{height:260px}.dashboard-grid{grid-template-columns:1fr 1fr}.insight-panel{color:#132f22;background:white}.insight-panel .panel-title h3,.insight{color:#132f22}}
.map-note svg{width:16px;height:16px;display:inline-block;vertical-align:middle;margin-inline-end:5px;flex-shrink:0}
body[data-page="reports"] #report-preview{margin-top:8px}
@media print{body[data-page="reports"] .report-grid,body[data-page="reports"] .section-heading,body[data-page="reports"] .notice{display:none!important}body[data-page="reports"] #report-preview{font-size:13px}body[data-page="reports"] .surface{border:0;box-shadow:none}body[data-page="reports"] .report-only h1{font-size:28px;color:#0d5b41}}
/* Agri-AI DZ v2 · refined scientific design */
:root{--bg:#f6f9f7;--surface:#fff;--ink:#17362c;--muted:#71877b;--line:#e0ebe4;--green:#095c3d;--deep:#073e2f;--mint:#eaf5ec;--gold:#d4aa5c;--shadow:0 5px 20px #153d2b0b,0 1px 4px #153d2b06;--r:17px}
body{letter-spacing:0;background:radial-gradient(circle at 50% -14%,#f1f8f3,#f7faf8 33%,#f8faf9 85%)}
.topbar{height:74px;box-shadow:0 4px 18px #092b1810;border-bottom:1px solid #edf1ee;padding:0 max(24px,calc((100vw - 1590px)/2));gap:22px}
.topbar .nav{gap:1px}.topbar .nav button{font-weight:780;font-size:12px;border-radius:12px;padding:9px 11px;white-space:nowrap}.topbar .nav button.active{background:#095b3e;box-shadow:0 3px 7px #0c634b26;color:#fff}
.mark{background:linear-gradient(145deg,#0a6344,#0b392f);border-radius:14px;box-shadow:0 3px 10px #0b563b14}.mark svg{width:30px}.brand-name{font-size:21px;letter-spacing:-.65px;font-weight:860}.brand-sub{font-size:10px}
.shell{max-width:1640px;padding:24px 28px 55px}.hero{height:250px;border-radius:20px;box-shadow:0 8px 25px #0c382415;overflow:hidden}.hero-copy{padding:30px 43px;max-width:60%}.hero h1{font-size:clamp(26px,2.05vw,35px);max-width:700px;line-height:1.5;letter-spacing:-.7px}.hero p{font-size:13px;line-height:1.95;max-width:640px}.hero-buttons{gap:14px}.hero .btn{font-size:13px;font-weight:800;min-width:144px;height:41px}
.surface,.stat-card,.crop-card{border:1px solid #e3ebe6;box-shadow:var(--shadow);border-radius:16px}.stat-grid{gap:14px;margin:18px 0 20px}.stat-card{min-height:127px;padding:22px 24px;background:linear-gradient(135deg,#fff,#f8fcf9)}.stat-card .stat-icon{width:49px;height:49px;border-radius:100px;background:#e9f5ed;color:#317e51}.stat-card .stat-value{font-size:29px;line-height:1.4;letter-spacing:-.55px;font-weight:870}.stat-card .stat-label{font-size:12px;color:#536e60;font-weight:850}.stat-card .stat-sub{font-size:10px;color:#819187}
.dashboard-grid{gap:16px}.dashboard-grid>.surface{min-height:355px}.dashboard-grid .panel-pad{padding:20px 21px}.panel-title{align-items:center;margin-bottom:15px}.panel-title h3{font-size:15px;font-weight:850;letter-spacing:-.3px}.panel-sub{font-size:11px;margin-bottom:13px;color:#85978c}.chart-legend{margin-top:3px}.chart .gridline{stroke:#ecf0ed}.axistext{fill:#82948a;font-size:12px}.map-svg{width:100%;height:100%;max-height:315px}.map-holder{height:290px;background:linear-gradient(145deg,#f0f7f2 0%,#fbfcfa 50%,#f6f0e6 100%);border-radius:15px;overflow:hidden;border:1px solid #e2ebe5;position:relative}.map-holder.full{height:610px}.map-holder.full .map-svg{max-height:none}.map-legend{box-shadow:0 6px 18px #103d2914;background:#fffefde8;border:1px solid #e3eae5;border-radius:11px;padding:9px}.map-details{box-shadow:0 10px 25px #062c1b1b;z-index:5}.wilaya-shape{cursor:pointer;transition:filter .15s,opacity .15s}.wilaya-shape:hover,.wilaya-shape.selected{filter:brightness(.9) saturate(1.2);stroke:#074c34;stroke-width:1.7}.map-point{cursor:pointer}.crop-row{gap:15px;margin-top:17px}.crop-card{background:linear-gradient(105deg,#fff,#fbfdfb);min-height:106px;align-items:center;padding:12px 17px;transition:transform .2s,box-shadow .2s}.crop-card:hover{transform:translateY(-3px);box-shadow:0 10px 23px #0a452319}.crop-card h4{font-size:15px;margin:0 0 5px}.crop-card strong{font-size:23px;color:#0b653e}.crop-card p{font-size:10px}.crop-card .crop-icon{width:79px;height:83px;border-radius:12px;background:#e5f1e7;font-size:30px;overflow:hidden}.crop-card .crop-icon img{width:100%;height:100%;object-fit:cover}.crop-card .crop-icon:has(img){background:#eef4ed}.insight-panel{background:linear-gradient(152deg,#105e43,#073b2d);border-color:#126046}.insight-panel .insight{line-height:1.85;font-size:12px}.insight-panel .panel-title h3{font-size:17px}
.section-heading{margin-bottom:22px}.section-heading h1{font-size:26px}.section-heading p{max-width:750px}.monitor-grid{gap:15px}.monitor-grid>.surface,.monitor-grid>.filters{border-radius:17px}.monitor-grid .filters{align-content:start;gap:8px}.monitor-side{gap:13px}.panel-link{color:#0e7151}.btn-primary,.btn-soft,.btn-gold{font-weight:800}.btn-primary{background:var(--green);border:1px solid var(--green);color:#fff}.btn-primary:hover{background:#084a37}.select,.field select,.number-input{padding:10px 12px;border:1px solid #d7e6dd;border-radius:11px;color:#153b2b;background:#fff;outline:none}.field label{font-size:12px;font-weight:750;color:#566d62}.number-input{width:100%;font-variant-numeric:tabular-nums}.number-input:focus,.field select:focus{border-color:#389571;box-shadow:0 0 0 3px #6cb79624}
/* Live satellite explorer */
.satellite-tools{display:grid;grid-template-columns:265px minmax(0,1fr);gap:17px}.satellite-tools .surface{min-height:370px}.satellite-tools .field{margin:13px 0}.satellite-tools .btn{width:100%;justify-content:center}.geo-coordinate{font:700 12px/1.5 ui-monospace,SFMono-Regular,monospace;color:#647b70;direction:ltr;text-align:start;background:#f7faf8;padding:10px;border-radius:9px}.scene-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:570px;overflow:auto;align-content:start}.scene-card{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff;box-shadow:0 2px 5px #1c382507}.scene-image{height:108px;background:radial-gradient(circle at 45% 50%,#dae8dc,#eff6ef);display:grid;place-items:center;color:#739083;overflow:hidden}.scene-image img{height:100%;width:100%;object-fit:cover}.scene-placeholder{display:flex;flex-direction:column;align-items:center;gap:7px;color:#789486;font-size:11px}.scene-placeholder svg{width:29px;height:29px}.scene-meta{padding:12px 13px;min-width:0}.scene-eyebrow{font-size:9px;color:#80958a;font-weight:800;letter-spacing:.7px}.scene-meta strong{display:block;margin:2px 0 6px;font-size:15px}.scene-sub{display:flex;justify-content:space-between;gap:8px;color:#688076;font-size:11px}.scene-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px;border-top:1px solid #eaf0ec;padding-top:8px}.textlink{color:#0b704a;font-size:11px;font-weight:800}.textlink:hover{text-decoration:underline}.big-empty{min-height:210px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}.big-empty svg{width:40px;height:40px;color:#6b9c82}.big-empty p{max-width:400px}.satellite-bottom{margin-top:17px}.science-formula{direction:ltr;display:block;text-align:center;padding:13px;background:#edf6f0;border:1px solid #dceade;color:#0e6a48;border-radius:11px;font-size:16px;letter-spacing:.3px;font-weight:800;margin-bottom:17px}.spectral-inputs{display:grid;grid-template-columns:1fr 1fr 1fr;gap:13px;align-items:end}.spectral-inputs .field{margin:0}.ndvi-result{padding:4px 8px}.ndvi-result small,.spectral-summary span{display:block;color:var(--muted);font-size:11px}.ndvi-result strong{display:block;font-size:27px;font-weight:900;color:#0b7247;font-variant-numeric:tabular-nums}.ndvi-bar{background:#dce9dd;height:6px;border-radius:10px;overflow:hidden}.ndvi-bar div{height:100%;background:linear-gradient(to right,#b28c38,#54b579,#116c42)}.scientific-caption{font-size:11px;color:#87988c;line-height:1.9;margin:13px 0 0}.spectral-file{padding:12px;background:#f8faf8;border:1px dashed #b8d2bf;border-radius:10px;width:100%;font-size:12px;max-width:100%}.spectral-file::file-selector-button{border:0;border-radius:8px;background:#e0f0e5;padding:8px;color:#125c3b;cursor:pointer;font-weight:800}.spectral-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.spectral-summary>div{background:#f5faf7;border-radius:11px;padding:12px}.spectral-summary strong{font-size:22px;color:#075a3a}.button-line{display:flex;justify-content:flex-start}.button-line .btn{font-size:11px}.attribution{text-align:center;font-size:11px;color:#9aaca0;margin:13px 0}.attribution a{text-decoration:underline}
/* Live weather */
.weather-filter{align-items:center}.weather-filter label{font-size:12px;color:#647668;display:flex;align-items:center;gap:9px}.weather-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.weather-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:11px;padding:5px 0 4px}.weather-day{border:1px solid #e0ebe4;border-radius:14px;background:linear-gradient(150deg,#fff,#f5faf7);padding:19px 12px;text-align:center}.day-date{font-size:12px;font-weight:750;color:#6b806f}.day-temp{font-size:28px;color:#0b5f40;font-weight:900;margin:14px 0}.day-rain{font-size:12px;color:#44769c;display:flex;justify-content:center;align-items:center;gap:3px;white-space:nowrap}.day-rain svg{width:15px}.day-et{font-size:11px;color:#8a987e;margin-top:6px;direction:ltr}.spinner{width:26px;height:26px;border-radius:50%;border:3px solid #d0e5d6;border-top-color:#096743;animation:spin 1s linear infinite;margin:0 auto 15px}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1300px){.topbar .nav button{font-size:11px;padding:8px 8px}.topbar{gap:12px}.brand{min-width:183px}.brand-name{font-size:18px}.satellite-tools{grid-template-columns:240px 1fr}.scene-list{grid-template-columns:repeat(2,1fr)}.hero-copy{max-width:69%}}
@media(max-width:1000px){.satellite-tools{grid-template-columns:1fr}.satellite-tools>.surface:first-child{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;min-height:0}.satellite-tools>.surface:first-child .panel-title,.satellite-tools>.surface:first-child .map-note{grid-column:1/-1}.weather-days{grid-template-columns:repeat(4,1fr)}.hero-copy{max-width:100%}.hero{height:auto;min-height:245px}}
@media(max-width:850px){.shell{padding:20px 16px 50px}.topbar{height:70px}.nav{top:70px}.hero-copy{padding:27px}.hero h1{font-size:27px}.scene-list{grid-template-columns:repeat(2,minmax(0,1fr))}.weather-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.weather-days{grid-template-columns:repeat(3,1fr)}.monitor-grid{grid-template-columns:1fr}.map-holder.full{height:495px}}
@media(max-width:560px){.hero h1{font-size:22px}.hero p{font-size:12px}.hero{min-height:270px}.stat-card{padding:15px;min-height:110px}.stat-card .stat-value{font-size:20px}.stat-card .stat-icon{width:35px;height:35px}.scene-list{grid-template-columns:1fr}.satellite-tools>.surface:first-child{grid-template-columns:1fr}.satellite-tools>.surface:first-child .panel-title,.satellite-tools>.surface:first-child .map-note{grid-column:1}.spectral-inputs{grid-template-columns:1fr 1fr}.ndvi-result{grid-column:1/-1}.weather-days{grid-template-columns:repeat(2,1fr)}.weather-kpis{gap:9px}.crop-card .crop-icon{width:70px}.topbar .nav{max-height:70vh;overflow:auto}.map-holder.full{height:390px}}
@media print{.scene-list{max-height:none;overflow:visible}.weather-days{display:grid;grid-template-columns:repeat(7,1fr)}.topbar,.satellite-tools .btn{display:none}}
.hero{height:285px}.hero-copy{padding-top:25px;padding-bottom:23px}.hero-photo{background-position:center center}
.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-card{min-width:0}.stat-card .stat-main{min-width:0}.stat-card .stat-value{overflow-wrap:anywhere}
@media(max-width:850px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.hero{height:auto;min-height:270px}.stat-card .stat-value{font-size:18px;line-height:1.55}.stat-card .stat-icon{flex-shrink:0}.header-actions{min-width:0;flex-shrink:0}.topbar .brand{min-width:0}.shell{max-width:100vw;overflow-x:clip}.stat-grid,.dashboard-grid,.crop-row{min-width:0}.stat-card{padding:11px}.stat-card .stat-sub{font-size:9px}}
.forecast-widget{margin-top:17px}.forecast-number-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:19px 0}.forecast-number-grid>div{background:#f5faf7;border:1px solid #e7eee8;padding:15px;border-radius:12px;min-width:0}.forecast-number-grid span{font-size:11px;color:#728579;display:block}.forecast-number-grid strong{display:block;font-size:20px;color:#0a5b3d;overflow-wrap:anywhere}.forecast-actions{display:flex;justify-content:flex-end}.forecast-actions .btn{font-size:11px}
@media(max-width:850px){.forecast-number-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.forecast-number-grid{grid-template-columns:1fr 1fr}.forecast-number-grid strong{font-size:16px}}
