
:root{--bg:#f6f8f1;--surface:#ffffff;--ink:#18251f;--muted:#667466;--brand:#225a3b;--brand2:#74a94b;--line:#dfe8d9;--danger:#9b2c2c;--shadow:0 20px 50px rgba(18,43,28,.10);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:linear-gradient(180deg,#f4f8ef,#fff);color:var(--ink)}a{color:inherit;text-decoration:none}.site-header{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:18px;padding:12px 24px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-weight:800;white-space:nowrap}.brand img{width:42px;height:42px;object-fit:contain}.top-nav{display:flex;flex-wrap:wrap;gap:4px;flex:1}.top-nav a{padding:10px 12px;border-radius:999px;color:var(--muted);font-weight:650}.top-nav a.active,.top-nav a:hover{background:#edf5e6;color:var(--brand)}.language-box{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}select,input,textarea{width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);font:inherit}textarea{resize:vertical}.page{width:min(1160px,92vw);margin:0 auto;padding:38px 0 58px}.hero{display:grid;grid-template-columns:1.6fr .7fr;gap:30px;align-items:center;padding:44px;background:var(--surface);border:1px solid var(--line);border-radius:34px;box-shadow:var(--shadow)}.hero h1,.section-head h1{font-size:clamp(34px,6vw,68px);line-height:.98;margin:10px 0 16px}.hero p,.section-head p{font-size:18px;color:var(--muted);max-width:830px}.hero-logo{width:100%;max-width:260px;margin:auto;filter:drop-shadow(0 20px 35px rgba(34,90,59,.18))}.eyebrow{font-weight:800;color:var(--brand);text-transform:uppercase;letter-spacing:.08em}.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.actions.between{justify-content:space-between}.button,button{border:0;border-radius:999px;padding:12px 18px;background:#eaf1e4;color:var(--brand);font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.button.primary{background:linear-gradient(135deg,var(--brand),#2d7a50);color:#fff}.button:hover{transform:translateY(-1px)}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-top:18px}.cards.six{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.card,.panel,.notice{background:var(--surface);border:1px solid var(--line);border-radius:26px;padding:24px;box-shadow:0 10px 28px rgba(18,43,28,.06)}.card b{font-size:20px}.notice{margin-top:22px}.section-head{margin-bottom:22px}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.form-grid label{display:grid;gap:7px;font-weight:750}.form-grid label span{color:var(--muted);font-size:14px}.wide{grid-column:1/-1}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}.check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start}.check input{width:auto;margin-top:4px}.upload-box{background:#f8fbf5;border:1px dashed #bfd2b7;border-radius:20px;padding:16px}.preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:14px}.preview{position:relative;border:1px solid var(--line);background:#fff;border-radius:18px;padding:8px}.preview img{width:100%;height:120px;object-fit:cover;border-radius:12px}.preview button{position:absolute;right:10px;top:10px;border-radius:50%;padding:2px 8px;background:rgba(0,0,0,.65);color:#fff}.preview small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.mini-status{margin-top:12px;color:var(--muted);font-weight:700}.mini-status.ok{color:var(--brand)}.mini-status.error{color:var(--danger)}.report{margin-top:24px}.report-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:20px;margin-bottom:16px}.report-card h3{margin:0 0 10px}.report-card ul{margin:0;padding-inline-start:22px}.hidden{display:none!important}.map-frame{width:100%;height:360px;border:0;border-radius:20px;background:#edf5e6}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;min-width:720px}.data-table th,.data-table td{border-bottom:1px solid var(--line);padding:10px;text-align:start}.data-table th{color:var(--brand);background:#f5faf0}.site-footer{border-top:1px solid var(--line);padding:28px 24px;color:var(--muted);display:flex;gap:8px;justify-content:center;flex-wrap:wrap;text-align:center}.pricing .card h2{min-height:54px}body[dir="rtl"] .top-nav,body[dir="rtl"] .actions{direction:rtl}@media(max-width:850px){.site-header{align-items:flex-start;flex-direction:column}.top-nav{width:100%;overflow:auto;flex-wrap:nowrap}.hero{grid-template-columns:1fr;padding:26px}.form-grid,.two-col{grid-template-columns:1fr}.page{padding-top:22px}.language-box{width:100%;justify-content:space-between}.language-box select{max-width:220px}.hero-logo{max-width:180px}.cards.six{grid-template-columns:1fr}.map-frame{height:280px}}

.evidence-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:12px}.evidence-grid label{background:rgba(255,255,255,.72);border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:12px}.split-3{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.split-2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.section-head .eyebrow{letter-spacing:.08em;text-transform:uppercase;font-weight:700;opacity:.72}.page .card p{line-height:1.55}.site-footer a{color:inherit}.badge-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.badge{border:1px solid rgba(0,0,0,.1);border-radius:999px;padding:6px 10px;background:rgba(255,255,255,.7)}


/* V6 guided-intake usability */
.compact-head h1{max-width:980px}.muted{color:var(--muted);line-height:1.55}.intake-start{margin-bottom:18px}.profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:16px}.profile-card{border:1px solid var(--line);border-radius:20px;background:#fff;text-align:left;display:grid;gap:5px;padding:18px;box-shadow:0 8px 20px rgba(18,43,28,.04);white-space:normal}.profile-card b{font-size:16px;color:var(--ink)}.profile-card span{font-size:13px;color:var(--muted);font-weight:650}.profile-card.active{outline:3px solid rgba(116,169,75,.28);border-color:var(--brand2);background:#f4faee}.diagnosis-wizard{display:grid;gap:18px}.wizard-step{background:var(--surface);border:1px solid var(--line);border-radius:26px;padding:24px;box-shadow:0 10px 28px rgba(18,43,28,.06)}.wizard-step summary{cursor:pointer;font-size:21px;font-weight:850;color:var(--brand);display:flex;align-items:center;gap:10px}.wizard-step summary::-webkit-details-marker{display:none}.wizard-step summary:before{content:'+';width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#eef6e8}.wizard-step[open] summary:before{content:'–'}.step-title{display:flex;gap:14px;align-items:flex-start;margin-bottom:16px}.step-title>span{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--brand),#2d7a50);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;flex:0 0 auto}.step-title h2{margin:0 0 4px;font-size:24px}.step-title p{margin:0;color:var(--muted);line-height:1.5}.quick-picks{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.chip{border:1px solid #cddfca;background:#f7fbf4;color:var(--brand);font-size:13px;padding:7px 10px;border-radius:999px;font-weight:750}.primary-soft{background:#e4f3d8;color:var(--brand)}.profile-hidden{display:none!important}.evidence-grid small{display:block;color:var(--muted);margin:4px 0 8px;line-height:1.35}.form-grid label span{display:flex;align-items:center;gap:6px}.form-grid label span:after{content:'▼';font-size:9px;color:#9db18f;opacity:.9}.form-grid label.wide span:after,.form-grid label.check span:after{content:''}@media(max-width:850px){.wizard-step{padding:18px}.step-title h2{font-size:20px}.profile-grid{grid-template-columns:1fr}.profile-card{padding:14px}}

/* V7 intuitive guided UX additions */
.quick-start-v7 h2{margin:4px 0 8px}.template-grid .profile-card.active{background:#eff8e9;border-color:var(--brand);outline:3px solid rgba(34,90,59,.12)}.smart-hint-v7{border-left:5px solid var(--brand2)}.field-helper{font-weight:500;color:var(--muted);font-size:12px;line-height:1.35;margin-top:-4px}.sample-list ul{columns:2;gap:24px;margin:0;padding-inline-start:20px}.sample-list li{break-inside:avoid;margin:0 0 6px}.diagnosis-wizard details:not([open]){padding:18px 24px}.diagnosis-wizard details:not([open]) > *:not(summary){display:none}.form-grid label .field-helper + input,.form-grid label .field-helper + textarea,.form-grid label .field-helper + select{margin-top:2px}.top-nav a[href="sample-library.html"]{background:#f7fbf4;color:var(--brand)}@media(max-width:850px){.sample-list ul{columns:1}.quick-start-v7 .actions.between{align-items:flex-start}}

/* V8 guided app UX */
.app-mode { padding-bottom: 72px; }
.app-header { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(12px); }
.compact-nav a:nth-child(n+5) { display: none; }
.app-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(18, 70, 48, .92); padding: 6px; box-shadow: 0 -12px 30px rgba(0,0,0,.18); }
.app-tabbar a { color: #eaffef; text-align: center; text-decoration: none; font-weight: 800; padding: 10px 6px; border-radius: 14px; font-size: .9rem; }
.app-tabbar a.active { background: #ffffff; color: #185336; }
.guided-hero { padding-bottom: 18px; }
.capture-guide-card { overflow: hidden; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 520px); gap: 22px; align-items: center; }
.guide-video { width: 100%; border-radius: 24px; border: 1px solid rgba(20, 84, 55, .18); box-shadow: 0 20px 45px rgba(17,75,49,.16); background: #eaf8ef; }
.wizard-shell { padding: 0; overflow: hidden; }
.wizard-topbar { position: sticky; top: 76px; z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(19, 83, 54, .12); padding: 14px 18px; backdrop-filter: blur(10px); }
.wizard-progress { height: 10px; border-radius: 999px; background: #e3efe7; overflow: hidden; }
.wizard-progress > div { height: 100%; width: 0; background: linear-gradient(90deg, #1d7d4f, #7bbf44); transition: width .25s ease; }
.wizard-step-label { font-size: .95rem; font-weight: 800; margin-top: 8px; color: #174f35; }
.v8-wizard { padding: 0; }
.wizard-panel { display: none; padding: 26px; animation: fadeSlide .25s ease both; }
.wizard-panel.active { display: block; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: translateY(0);} }
.wizard-actions { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(19,83,54,.12); padding: 18px 26px 24px; background: #fbfdf9; }
.wizard-actions .button { min-width: 120px; }
.profile-not-applicable { display: none !important; }
.soft-note { margin-top: 18px; }
.soft-details { border: 1px solid rgba(22,87,58,.14); border-radius: 18px; padding: 14px 16px; margin-top: 16px; background: #fbfff9; }
.soft-details summary { cursor: pointer; font-weight: 900; color: #185336; }
.location-actions, .upload-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.v8-upload input.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.photo-checklist { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.photo-checklist span { background: #eef8f0; border: 1px solid rgba(23, 83, 52, .16); padding: 8px 12px; border-radius: 999px; font-weight: 800; color: #1f5e3d; }
.sample-trigger { display: inline-flex; align-items: center; margin: 2px 0 8px; border: 1px solid rgba(29,125,79,.25); background: #f2fbf4; color: #1d6743; border-radius: 999px; padding: 6px 10px; font-size: .8rem; font-weight: 900; cursor: pointer; }
.sample-trigger:hover { background: #dff4e4; }
.modal.hidden { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(9, 34, 23, .58); display: grid; place-items: center; padding: 20px; }
.modal-card { width: min(920px, 100%); max-height: 88vh; overflow: auto; background: #fff; border-radius: 28px; padding: 24px; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.modal-close { position: absolute; top: 12px; right: 16px; border: 0; background: #eef8f0; border-radius: 999px; width: 38px; height: 38px; font-size: 28px; line-height: 1; cursor: pointer; color: #174f35; }
.modal-search { width: 100%; border: 1px solid rgba(21,83,54,.2); border-radius: 16px; padding: 13px 16px; margin: 12px 0 16px; font-size: 1rem; }
.modal-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.modal-option { text-align: left; padding: 12px 14px; border: 1px solid rgba(25,91,59,.15); background: #f8fcf7; border-radius: 15px; cursor: pointer; font-weight: 800; color: #194f34; }
.modal-option:hover { background: #e4f7e8; border-color: rgba(29,125,79,.35); }
.review-box { background: #f7fbf5; border: 1px solid rgba(30, 92, 59, .16); padding: 16px; border-radius: 18px; margin: 16px 0; }
.review-box h3 { margin-top: 0; }
[data-profile="enterprise"] .profile-card[data-profile="enterprise"], [data-profile="municipal"] .profile-card[data-profile="municipal"], [data-profile="forestry"] .profile-card[data-profile="forestry"], [data-profile="research"] .profile-card[data-profile="research"], [data-profile="small-grower"] .profile-card[data-profile="small-grower"], [data-profile="nursery"] .profile-card[data-profile="nursery"], [data-profile="seller"] .profile-card[data-profile="seller"], [data-profile="home"] .profile-card[data-profile="home"] { outline: 3px solid rgba(50, 140, 72, .35); }
body[dir="rtl"] .modal-option, body[dir="rtl"] .form-grid label, body[dir="rtl"] .wizard-panel { text-align: right; }
@media (max-width: 820px) { .guide-layout { grid-template-columns: 1fr; } .wizard-topbar { top: 68px; } .wizard-panel { padding: 18px; } .top-nav.compact-nav { display: none; } .app-tabbar a { font-size: .78rem; padding: 9px 4px; } }
