
:root{
  --green:#003f2f;--green2:#0d6d45;--yellow:#f6bd18;--ink:#0b3529;--muted:#5d7169;
  --line:#e0e8e3;--soft:#f6f9f6;--cream:#fff9e7;--paper:#fff;--shadow:0 20px 50px rgba(0,55,38,.09);
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f7f9f7;color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.ta-wrap{width:min(1380px,calc(100% - 44px));margin:auto}
.ta-header{height:82px;background:rgba(255,255,255,.96);border-bottom:1px solid #edf1ee;position:sticky;top:0;z-index:50;backdrop-filter:blur(16px)}.ta-head-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:28px}.ta-brand img{display:block;width:215px;height:auto}.ta-nav{display:flex;align-items:center;gap:25px;font-size:11px;font-weight:850}.ta-nav a{white-space:nowrap;position:relative}.ta-nav a:after{content:"";position:absolute;left:0;right:100%;height:2px;background:var(--yellow);bottom:-8px;transition:.2s}.ta-nav a:hover:after,.ta-nav .is-active:after{right:0}.ta-menu{display:none;border:1px solid var(--line);background:#fff;border-radius:12px;width:43px;height:43px;font-size:20px;color:var(--green)}.ta-mobile-menu{position:fixed;top:72px;left:12px;right:12px;z-index:70;background:#fff;border:1px solid var(--line);border-radius:18px;padding:10px;box-shadow:var(--shadow)}.ta-mobile-menu a{display:block;padding:13px;border-radius:11px;font-weight:750}.ta-mobile-menu a:hover{background:var(--soft)}
.calc-hero{background:linear-gradient(135deg,#eef6ee,#fff 55%,#fff6d4);padding:42px 0 34px;border-bottom:1px solid var(--line)}.calc-hero-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:28px;align-items:center}.eyebrow{font-size:11px;font-weight:900;letter-spacing:1.2px;color:#1a7546;margin-bottom:9px}.calc-hero h1{font-size:50px;line-height:1;letter-spacing:-2px;margin:0 0 14px}.calc-hero h1 em{font-style:normal;color:var(--yellow)}.calc-hero p{max-width:760px;color:#3f5f52;font-size:16px;line-height:1.55;margin:0}.hero-badge{background:#fff;border:1px solid var(--line);border-radius:22px;padding:21px;box-shadow:var(--shadow)}.hero-badge strong{font-size:14px}.hero-badge p{font-size:12px;margin:7px 0 0}.hero-badge .badge-row{display:flex;gap:10px;align-items:flex-start;margin:10px 0}.badge-ico{width:34px;height:34px;border-radius:11px;background:#edf6ec;display:grid;place-items:center;color:var(--green);font-weight:900;flex:none}
.steps{display:flex;gap:14px;margin:24px 0}.step{display:flex;align-items:center;gap:9px;color:#7a8982;font-size:12px;font-weight:800}.step i{font-style:normal;width:30px;height:30px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;background:#fff}.step.active{color:var(--green)}.step.active i{background:var(--yellow);border-color:var(--yellow);color:#173b2d}
.calc-layout{display:grid;grid-template-columns:1.12fr .88fr;gap:16px;margin:22px 0}.panel{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 28px rgba(0,55,38,.04);padding:23px}.panel h2{font-size:22px;margin:0 0 5px}.panel .sub{font-size:12px;color:var(--muted);margin:0 0 18px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:grid;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:11px;font-weight:850}.field input,.field select,.field textarea{width:100%;border:1px solid #d9e3dd;border-radius:13px;background:#fff;padding:13px 14px;color:var(--ink);outline:none;transition:.2s}.field textarea{min-height:90px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#74a88a;box-shadow:0 0 0 4px rgba(24,119,72,.08)}.hint{font-size:9.5px;color:#74847d}.choice-row{display:flex;gap:8px;flex-wrap:wrap}.choice-row label{border:1px solid var(--line);border-radius:999px;padding:9px 12px;font-size:10.5px;font-weight:800;cursor:pointer}.choice-row input{accent-color:#0d6d45}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.cta{border:0;border-radius:13px;padding:13px 18px;font-size:11px;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;gap:8px}.cta.primary{background:var(--green);color:#fff}.cta.yellow{background:var(--yellow);color:#173b2d}.cta.ghost{background:#fff;border:1px solid var(--line);color:var(--green)}
.method-card{background:linear-gradient(145deg,#003d2d,#075b40);color:#fff;min-height:100%;position:relative;overflow:hidden}.method-card:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(246,189,24,.26),transparent 68%);right:-90px;top:-90px}.method-card h2,.method-card p,.method-card ul{position:relative;z-index:2}.method-card p{color:#eaf2ee}.method-card ul{padding-left:18px;font-size:12px;line-height:1.7;color:#edf5f1}.method-card .callout{position:relative;z-index:2;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);padding:13px;border-radius:14px;font-size:11px;margin-top:14px}
.result-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin:24px 0 14px}.result-head h1{font-size:36px;line-height:1.04;margin:0}.result-head p{color:var(--muted);max-width:720px;margin:8px 0 0;font-size:13px}.result-actions{display:flex;gap:8px;flex-wrap:wrap}
.result-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:14px}.result-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:0 10px 28px rgba(0,55,38,.04)}.value-card{background:linear-gradient(135deg,#003c2c,#0b6c45);color:#fff;position:relative;overflow:hidden}.value-card:after{content:"";position:absolute;inset:auto -60px -90px auto;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(246,189,24,.25),transparent 70%)}.value-label{font-size:11px;font-weight:850;color:#dcebe4}.value-range{font-size:41px;font-weight:900;letter-spacing:-1.5px;margin:7px 0}.value-mid{font-size:13px;color:#e6efe9}.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:16px;position:relative;z-index:2}.kpi{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);border-radius:14px;padding:12px}.kpi strong{display:block;font-size:16px}.kpi span{font-size:9.5px;color:#d8e7df}
.chart-box{height:230px;display:flex;align-items:flex-end;gap:26px;padding:18px 18px 12px;border-radius:16px;background:linear-gradient(180deg,#f9fbf9,#fff);border:1px solid #edf1ee}.bar-wrap{flex:1;display:flex;align-items:flex-end;justify-content:center;gap:20px;height:100%}.bar-col{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:7px}.bar{width:54px;border-radius:12px 12px 5px 5px;background:linear-gradient(180deg,#4d9a64,#0f7047);min-height:18px}.bar.mid{background:linear-gradient(180deg,#8cb94f,#4a8c3b)}.bar.high{background:linear-gradient(180deg,#f4d248,#e4aa11)}.bar-col b{font-size:11px}.bar-col small{font-size:9px;color:#6c7c75}
.fact-list{display:grid;gap:9px}.fact{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #eef2ef;font-size:11px}.fact:last-child{border-bottom:0}.fact span{color:#60736a}.fact strong{text-align:right}
.context-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.context{padding:14px;border-radius:15px;border:1px solid var(--line);background:#fbfcfb}.context small{display:block;color:#728279;font-size:9px}.context strong{font-size:13px}.notice{background:var(--cream);border:1px solid #f2df9d;border-radius:15px;padding:14px;font-size:10.5px;line-height:1.55;color:#584b22}
.method-list{display:grid;gap:8px}.method-step{display:grid;grid-template-columns:34px 1fr;gap:11px;align-items:start}.method-step i{font-style:normal;width:34px;height:34px;border-radius:11px;background:#edf6ec;color:#0c6d43;display:grid;place-items:center;font-weight:900}.method-step strong{font-size:11.5px}.method-step p{font-size:10px;color:#677970;margin:3px 0 0;line-height:1.45}
.report-preview{margin:18px 0 36px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;display:flex;gap:20px;align-items:center}.report-preview .thumb{width:150px;aspect-ratio:1/1.414;border:1px solid #dfe7e2;background:linear-gradient(145deg,#fff,#f3f7f3);border-radius:8px;box-shadow:0 10px 28px rgba(0,0,0,.08);padding:12px}.thumb .mini-logo{width:90px}.thumb .mini-line{height:7px;background:#e3ebe5;border-radius:99px;margin:8px 0}.thumb .mini-line.green{background:#70a45f;width:70%}.thumb .mini-box{height:46px;border-radius:7px;background:#eef6ec;margin-top:9px}.report-preview h2{margin:0 0 6px;font-size:22px}.report-preview p{color:var(--muted);font-size:12px;max-width:650px}.ta-footer{background:linear-gradient(90deg,#003b2b,#004934);color:#fff;margin-top:28px}.ta-footer-top{min-height:110px;display:grid;grid-template-columns:220px 1fr;gap:28px;align-items:center}.ta-foot-brand{background:#fff;border-radius:14px;padding:8px 12px;width:max-content}.ta-foot-brand img{width:190px;display:block}.ta-footer p{font-size:9px;line-height:1.5;color:#e3eee8;margin:0}
@media(max-width:950px){.ta-nav{display:none}.ta-menu{display:block}.calc-hero-grid,.calc-layout,.result-grid{grid-template-columns:1fr}.hero-badge{display:none}.calc-hero h1{font-size:42px}.kpis{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:620px){.ta-wrap{width:calc(100% - 22px)}.ta-header{height:68px}.ta-brand img{width:175px}.calc-hero{padding:28px 0}.calc-hero h1{font-size:36px;letter-spacing:-1.2px}.calc-hero p{font-size:14px}.steps{overflow-x:auto}.fields{grid-template-columns:1fr}.field.full{grid-column:auto}.panel{padding:18px;border-radius:17px}.form-actions{display:grid}.cta{justify-content:center}.result-head{display:block}.result-actions{margin-top:12px}.value-range{font-size:33px}.kpis{grid-template-columns:1fr}.chart-box{height:210px}.bar{width:42px}.context-grid{grid-template-columns:1fr}.report-preview{align-items:flex-start}.report-preview .thumb{width:100px;flex:none}.ta-footer-top{grid-template-columns:1fr;padding:20px 0}.ta-foot-brand img{width:170px}}
@media print{.ta-header,.ta-footer,.no-print{display:none!important}body{background:#fff}.ta-wrap{width:100%}.result-card,.panel{box-shadow:none}}

.territory-status{margin-top:7px;padding:9px 11px;border-radius:10px;background:#f2f7f2;color:#527064;font-size:9.5px;border:1px solid #e0e9e2}
.field select:disabled{background:#f3f5f3;color:#8a9791;cursor:not-allowed}
.field select:not(:disabled){cursor:pointer}
/* V17 Analizza terreno */
.analysis-form{display:grid;gap:18px;margin:22px 0 38px}.form-section{padding:28px}.section-kicker{font-size:12px;font-weight:900;letter-spacing:.11em;color:#69923a;margin-bottom:7px}.analysis-steps{overflow-x:auto;justify-content:flex-start}.check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.check-pill{display:flex;align-items:center;gap:8px;border:1px solid #dce7da;border-radius:12px;padding:11px 12px;background:#fbfdf9;font-size:13px;font-weight:700}.check-pill input{accent-color:#0a6848}.forest-section{background:linear-gradient(145deg,#fff,#f3f8ef)}.forest-only{display:flex}.result-hero{padding:42px 0 24px;background:linear-gradient(135deg,#f5f9f2,#fff8dc)}.result-hero h1{font-size:42px;margin:8px 0}.result-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,.8fr);gap:18px;margin-top:20px;margin-bottom:38px}.result-grid>section{display:grid;gap:18px}.result-grid>aside{display:grid;gap:18px;align-content:start}.score-panel{display:flex;align-items:center;justify-content:space-between}.score-label{font-weight:900}.big-score{display:block;font-size:54px;color:#07563c}.big-score small{font-size:18px}.score-ring{--p:50;width:120px;height:120px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#68a63c calc(var(--p)*1%),#e7eee3 0);position:relative}.score-ring:before{content:"";position:absolute;inset:11px;background:white;border-radius:50%}.score-ring span{position:relative;font-weight:900}.data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.data-item{padding:13px;border:1px solid #e0e8de;border-radius:12px;background:#fbfcfa}.data-item span{display:block;font-size:11px;color:#718077;margin-bottom:4px}.data-item strong{font-size:14px}.tag-cloud{display:flex;flex-wrap:wrap;gap:8px}.tag-cloud span{padding:8px 10px;background:#eef6e9;border-radius:99px;font-size:12px;font-weight:800}.sticky-card{position:sticky;top:90px}.full-btn{width:100%;margin-top:14px}.source-legend p{font-size:13px}.forest-result{border-color:#bdd6b5}
@media(max-width:760px){.form-section{padding:19px 16px}.check-grid{grid-template-columns:1fr 1fr}.result-grid{grid-template-columns:1fr}.result-hero h1{font-size:32px}.score-panel{align-items:flex-start}.score-ring{width:92px;height:92px;flex:0 0 92px}.data-grid{grid-template-columns:1fr}.sticky-card{position:static}.analysis-steps .step{min-width:105px}.analysis-hero .hero-badge{margin-top:6px}}
@media(max-width:420px){.check-grid{grid-template-columns:1fr}.score-panel{gap:10px}.big-score{font-size:44px}}
/* V18 — checkbox alignment + analysis response */
.check-pill{position:relative;display:grid!important;grid-template-columns:22px minmax(0,1fr);align-items:center;justify-content:start;column-gap:11px;min-height:56px;padding:10px 14px!important;text-align:left;cursor:pointer}
.check-pill input{width:17px;height:17px;margin:0!important;justify-self:center;align-self:center;flex:none}
.check-pill span{display:block;line-height:1.22;text-align:left;min-width:0}
.analysis-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.analysis-metric{border:1px solid #dfe9dc;background:linear-gradient(145deg,#fff,#f7fbf4);border-radius:16px;padding:15px}.analysis-metric span{font-size:11px;color:#6b7b70;display:block}.analysis-metric strong{font-size:22px;color:#07563c;display:block;margin-top:4px}.analysis-metric small{font-size:11px;color:#738078}
.insight-list{display:grid;gap:10px}.insight{display:grid;grid-template-columns:36px 1fr;gap:11px;align-items:start;padding:13px;border:1px solid #e0e8de;border-radius:14px;background:#fbfcfa}.insight-ico{width:36px;height:36px;border-radius:11px;background:#edf6e8;display:grid;place-items:center;font-weight:900;color:#0a6848}.insight h3{font-size:14px;margin:0 0 3px}.insight p{font-size:12px;color:#607068;margin:0;line-height:1.45}.priority-card{border-left:4px solid #f2b91b!important}.goal-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.goal-item{padding:11px 12px;border-radius:12px;background:#f2f7ee;border:1px solid #dce8d7;font-size:12px;font-weight:800}.empty-note{padding:13px;border-radius:12px;background:#fff8dc;border:1px solid #f2dfa0;font-size:12px}.analysis-disclaimer{font-size:11px;color:#738078;line-height:1.5;margin-top:12px}
@media(max-width:900px){.analysis-summary{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.check-grid{grid-template-columns:1fr!important}.check-pill{min-height:52px}.analysis-summary{grid-template-columns:1fr 1fr}.goal-grid{grid-template-columns:1fr}}

.productive-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:14px 0}
.productive-box{border:1px solid #e0e8e3;border-radius:15px;padding:13px;background:#fbfcfb}
.productive-box span{display:block;font-size:9.5px;color:#6a7b73;margin-bottom:5px}
.productive-box strong{font-size:13px;line-height:1.3}.productive-box.warn{background:#fff4e3;border-color:#f1d49a}.productive-box.mid{background:#fffbea}.productive-box.good{background:#eef7ed}
.productivity-card{margin-top:14px;padding:16px;border-radius:16px;background:linear-gradient(135deg,#eaf5e7,#fff);border:1px solid #d7e7d7}
.productivity-card span{font-size:10px;color:#60756b}.productivity-card strong{display:block;font-size:34px;color:#12633f;margin:2px 0}.productivity-card small{font-size:9.5px;color:#65766f}
.prod-track{height:10px;border-radius:999px;background:#e8eee9;overflow:hidden;margin-top:10px}.prod-track i{display:block;height:100%;background:linear-gradient(90deg,#8dbf55,#0c7145);border-radius:999px}
.crop-profile-list{display:grid;gap:10px}.crop-profile{border:1px solid #e0e8e3;border-radius:16px;padding:14px;background:#fff}.crop-profile.good{border-left:5px solid #2d8c4e}.crop-profile.mid{border-left:5px solid #e4b21d}.crop-profile.warn{border-left:5px solid #d87a3b}.crop-profile-head{display:flex;justify-content:space-between;gap:14px;align-items:center}.crop-profile-head h3{margin:0;font-size:17px}.crop-profile-head span{font-size:9.5px;font-weight:850;background:#f3f7f3;border-radius:999px;padding:6px 9px}.criterion{font-size:10.5px;line-height:1.45;margin-top:8px}.criterion.plus{color:#166940}.criterion.minus{color:#8d4b27}.criterion.unknown{color:#69786f}.crop-profile small{display:block;margin-top:9px;color:#718078;font-size:9px;line-height:1.4}
@media(max-width:620px){.productive-grid{grid-template-columns:1fr}.crop-profile-head{align-items:flex-start;flex-direction:column}}

.field-help{display:block;margin-top:6px;font-size:10px;color:#718078}.field select:disabled{background:#f4f6f4;color:#87938c;cursor:not-allowed}
