/*
 * Phase 1 visual refinement
 * One modern type system, consistent cards, clear actions and a calmer guided flow.
 */
:root{
  --font-ui:"Segoe UI Variable","Segoe UI",Inter,Roboto,"Helvetica Neue",Arial,sans-serif;
  --ink:#173d31;
  --ink-2:#285144;
  --green:#237a58;
  --green-2:#53a278;
  --paper:#f5f7f3;
  --panel:#ffffff;
  --line:#d8e2da;
  --line-strong:#c4d2c7;
  --muted:#63766c;
  --soft:#edf3ee;
  --soft-2:#f8faf7;
  --shadow-sm:0 5px 18px rgba(24,61,48,.08);
  --shadow-md:0 18px 55px rgba(24,61,48,.13);
  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:24px;
}
html,body,#root{font-family:var(--font-ui)!important;font-size:16px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
body{line-height:1.5}
:where(h1,h2,h3,h4,h5,h6,strong,b,button,input,select,textarea){font-family:var(--font-ui)!important}
:where(h1,h2,h3,h4){font-weight:700;letter-spacing:-.035em}
:where(button,input,select,textarea){font-size:14px}
:where(button){font-weight:650}
:where(.welcome-page,.brief-page,.recommendation-page,.v5-app) small{line-height:1.4}

/* Shared buttons */
.hero-actions button,.welcome-nav nav button,.home-projects-head>button,.brief-actions button,
.recommendation-page>header>button,.recommendation-grid article>button,.recommendation-next>button,
.project-library-intro>button,.project-library-empty button{
  min-height:48px;border-radius:12px;font-size:14px;font-weight:700;transition:background .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.hero-actions button:hover,.welcome-nav nav button:hover,.home-projects-head>button:hover,.brief-actions button:hover,
.recommendation-page>header>button:hover,.recommendation-grid article>button:hover,.recommendation-next>button:hover{
  transform:translateY(-1px)
}

/* Welcome page */
.welcome-page{background:linear-gradient(180deg,#fbfcfa 0%,#f3f7f2 100%)}
.welcome-nav{height:76px;padding-inline:clamp(24px,5vw,76px);background:rgba(255,255,255,.82);backdrop-filter:blur(14px)}
.welcome-brand{gap:12px}.welcome-brand strong{font-size:18px;letter-spacing:-.025em}.welcome-brand small{font-size:11px;letter-spacing:.08em;text-transform:none;font-weight:600;color:var(--muted)}
.welcome-nav nav{gap:20px}.welcome-nav nav>span{font-size:14px}.welcome-nav nav button{padding-inline:18px;background:#fff;font-size:14px;border-color:var(--line-strong)}
.welcome-hero{min-height:620px;grid-template-columns:minmax(430px,.88fr) minmax(520px,1.12fr);gap:clamp(34px,5vw,76px);padding:62px clamp(24px,5vw,76px) 54px}
.hero-copy{max-width:670px}.eyebrow{font-size:12px;letter-spacing:.08em;padding:8px 12px;background:#e7f3e9}
.hero-copy h1{font-size:clamp(48px,5vw,72px);line-height:1.02;letter-spacing:-.055em;margin:22px 0 24px}
.hero-copy>p{font-size:18px;line-height:1.65;color:#53685d}
.hero-actions{gap:12px;margin-top:32px;flex-wrap:wrap}.hero-actions button{height:54px;padding-inline:20px;background:#fff}.hero-actions .hero-primary{padding-inline:25px;box-shadow:0 10px 25px rgba(22,57,45,.17)}
.hero-proof{font-size:13px;gap:13px 22px;margin-top:27px;color:#52675c}.hero-proof span{gap:7px}
.hero-photo{height:500px;border-radius:24px}.hero-photo-tags span{font-size:12px;height:34px;padding-inline:11px}.hero-photo .model-caption{padding:14px 16px}.model-caption span{font-size:11px;letter-spacing:.06em}.model-caption strong{font-size:14px}
.home-quick-actions{margin:-24px clamp(24px,5vw,76px) 0;gap:12px;padding:14px;border-radius:20px;box-shadow:var(--shadow-md)}
.home-quick-actions>button{min-height:96px;border:1px solid transparent;border-radius:14px;padding:14px;grid-template-columns:48px 1fr 22px}.home-quick-actions>button:hover{border-color:#c4d9ca;background:#f2f8f3}
.home-quick-actions>button>span{width:48px;height:48px;border-radius:13px}.home-quick-actions small{font-size:11px;letter-spacing:.06em}.home-quick-actions strong{font-size:16px;margin:4px 0}.home-quick-actions em{font-size:13px}
.home-projects{padding:40px clamp(24px,5vw,76px)}.home-projects-head span,.section-intro>span{font-size:12px;letter-spacing:.08em}.home-projects-head h2,.section-intro h2{font-size:30px}.home-project-grid article>button{min-height:118px;padding:17px;border-radius:16px}.home-project-grid small{font-size:11px}.home-project-grid strong{font-size:16px}.home-project-grid em{font-size:13px}
.use-cases{padding:58px clamp(24px,5vw,76px) 90px}.section-intro{margin-bottom:30px}.section-intro p{font-size:15px;line-height:1.65}.template-cards{gap:14px}.template-cards>button{min-height:132px;border-radius:16px;padding:16px;grid-template-columns:64px 1fr 22px;gap:15px}.template-art{width:64px;height:86px}.template-cards small{font-size:11px;letter-spacing:.06em}.template-cards strong{font-size:16px;margin:5px 0}.template-cards em{font-size:13px}

/* Guided brief — progressive, one question at a time */
.brief-page{background:linear-gradient(145deg,#eef5ef 0%,#fafbf8 52%,#edf3ec 100%);padding-bottom:48px}
.brief-page>header{height:76px;padding-inline:clamp(20px,4vw,58px);background:rgba(255,255,255,.84);backdrop-filter:blur(14px)}
.brief-page>header>button{font-size:14px;min-width:90px}.brief-page>header>span{font-size:13px;font-weight:650;color:var(--muted)}
.brief-shell{width:min(1180px,calc(100% - 40px));margin:46px auto 0;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,.75fr);gap:22px;align-items:start}
.brief-main,.brief-summary-panel{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow-md)}
.brief-main{padding:34px 36px}.brief-summary-panel{padding:28px;position:sticky;top:98px}
.brief-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:34px}.brief-progress>span{position:relative;display:flex;align-items:center;gap:9px;color:#8b9991;font-size:13px;font-weight:650}.brief-progress>span:not(:last-child):after{content:"";height:2px;position:absolute;left:32px;right:-6px;top:15px;background:#e1e8e2;z-index:0}.brief-progress i{position:relative;z-index:1;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#eef2ee;border:1px solid #dbe4dc;font-style:normal;font-size:12px}.brief-progress b{position:relative;z-index:1;background:#fff;padding-right:8px;font-size:13px}.brief-progress .active{color:var(--green)}.brief-progress .active i{background:var(--green);border-color:var(--green);color:#fff}.brief-progress .active:not(:last-child):after{background:#8fc0a2}
.brief-step-heading>span{font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:750;color:var(--green)}.brief-step-heading h1{font-size:38px;margin:7px 0 10px}.brief-step-heading p{font-size:16px;line-height:1.6;color:var(--muted);max-width:720px;margin:0 0 28px}
.brief-main .choice-grid{gap:12px}.brief-main .type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brief-main .compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brief-main .goal-grid{grid-template-columns:1fr}
.brief-main .choice-grid button{position:relative;min-height:112px;border:1px solid var(--line);border-radius:16px;background:#fbfcfa;padding:18px;display:grid;grid-template-columns:52px minmax(0,1fr) 28px;gap:14px;align-items:center;text-align:left;box-shadow:none}
.brief-main .choice-grid button:hover{border-color:#9fc2aa;background:#f5faf6;transform:translateY(-1px)}
.brief-main .choice-grid button.selected{border-color:#3d9369;background:#edf7ef;box-shadow:inset 0 0 0 1px #3d9369,0 8px 22px rgba(35,122,88,.09)}
.choice-icon{width:52px;height:52px;border-radius:14px;background:#e7f1e9;color:var(--green);display:grid;place-items:center}.selected .choice-icon{background:#d9eddf}
.choice-copy{display:grid;min-width:0}.choice-copy strong{font-size:16px;line-height:1.3}.choice-copy small{font-size:13px;line-height:1.5;color:var(--muted);margin-top:5px}.choice-check{width:27px;height:27px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center}
.brief-actions{display:flex;justify-content:space-between;gap:12px;margin-top:30px;padding-top:22px;border-top:1px solid #e5ebe6}.brief-actions button{height:50px;padding-inline:20px;display:flex;align-items:center;justify-content:center;gap:9px}.brief-secondary{border:1px solid var(--line-strong);background:#fff}.brief-primary{border:1px solid var(--ink);background:var(--ink);color:#fff;margin-left:auto;box-shadow:0 9px 23px rgba(22,57,45,.16)}
.brief-summary-panel>span{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--green);font-weight:750}.brief-summary-panel h2{font-size:24px;margin:7px 0 22px}.brief-summary-panel>div{padding:15px 0;border-top:1px solid #e5ebe6;display:grid}.brief-summary-panel small{font-size:11px;color:var(--muted);font-weight:650}.brief-summary-panel strong{font-size:15px;margin:4px 0 2px}.brief-summary-panel em{font-size:12px;line-height:1.45;color:var(--muted);font-style:normal}.brief-summary-panel>p{display:grid;grid-template-columns:20px 1fr;gap:9px;margin:20px 0 0;padding:15px;border-radius:13px;background:#edf6ef;color:#456355;font-size:13px;line-height:1.5}.brief-summary-panel>p svg{color:var(--green);margin-top:2px}

/* Recommendation screen */
.recommendation-page{background:#f4f7f3}.recommendation-page>header{height:76px;background:rgba(255,255,255,.9);padding-inline:clamp(20px,4vw,58px)}.recommendation-page>header>button{font-size:14px}.recommendation-brand strong{font-size:16px}.recommendation-brand small{font-size:11px;letter-spacing:.06em;text-transform:none;color:var(--muted)}
.recommendation-hero{width:min(1160px,calc(100% - 40px));margin:52px auto 0;grid-template-columns:minmax(0,1.45fr) minmax(320px,.7fr);gap:38px}.recommendation-hero>div>span{font-size:12px;letter-spacing:.08em;text-transform:uppercase}.recommendation-hero h1{font-size:50px;line-height:1.05;margin:9px 0 14px}.recommendation-hero p{font-size:16px;line-height:1.65}.recommendation-hero dl{border-radius:16px;padding:8px 20px;background:#fff;box-shadow:var(--shadow-sm)}.recommendation-hero dl>div{padding:14px 0}.recommendation-hero dt{font-size:12px}.recommendation-hero dd{font-size:14px}
.recommendation-summary{width:min(1160px,calc(100% - 40px));margin-top:28px;gap:12px}.recommendation-summary>div{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:15px;padding:16px 18px;box-shadow:var(--shadow-sm)}.recommendation-summary span{font-size:12px;color:var(--muted)}.recommendation-summary strong{font-size:17px}
.recommendation-content{width:min(1160px,calc(100% - 40px));margin-top:46px}.recommendation-heading{gap:36px;margin-bottom:22px}.recommendation-heading span{font-size:12px;letter-spacing:.08em;text-transform:uppercase}.recommendation-heading h2{font-size:32px;line-height:1.18}.recommendation-heading p{font-size:14px;line-height:1.65}
.recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.recommendation-grid>article{min-height:0;border-radius:18px;padding:22px;background:#fff;box-shadow:var(--shadow-sm)}.recommendation-grid>article.is-primary{grid-column:1/-1;border:1px solid #63a37e;box-shadow:0 18px 46px rgba(35,122,88,.12)}
.recommendation-card-top{display:grid;grid-template-columns:88px minmax(0,1fr);gap:18px;align-items:start}.recommendation-card-top>.system-visual{width:88px;height:88px}.recommendation-card-top header{display:flex;align-items:center;justify-content:space-between;gap:12px}.recommendation-card-top header span{font-size:12px;letter-spacing:.06em;text-transform:none;color:var(--green);font-weight:750}.recommendation-card-top header em{font-size:12px;color:var(--muted);font-style:normal;text-transform:capitalize}.recommendation-card-top h3{font-size:24px;margin:8px 0 7px}.recommendation-card-top p{font-size:14px;line-height:1.6;color:#586b61;margin:0}
.recommendation-detail-grid{display:grid;grid-template-columns:1fr;gap:14px;margin-top:20px}.is-primary .recommendation-detail-grid{grid-template-columns:1fr 1fr}.recommendation-reasons,.recommendation-confirm{padding-top:15px}.recommendation-reasons>strong,.recommendation-confirm>strong{font-size:13px}.recommendation-reasons ul,.recommendation-confirm ul{gap:10px;margin-bottom:0}.recommendation-reasons li,.recommendation-confirm li{font-size:13px;line-height:1.5;grid-template-columns:20px 1fr;gap:8px}
.recommendation-grid article>button{height:50px;margin-top:22px;font-size:14px;border-radius:12px}.recommendation-grid article:not(.is-primary)>button{background:#edf5ef;border-color:#bfd4c4}.recommendation-next{margin-top:18px;padding:20px 22px;border-radius:16px}.recommendation-next strong{font-size:16px}.recommendation-next p{font-size:13px}.recommendation-next>button{height:48px;font-size:14px}

/* Studio — consistent, readable product workspace */
.v5-app{background:#e8eee9;min-height:700px}.v5-topbar{height:76px;grid-template-columns:250px minmax(250px,1fr) auto auto;padding:0 16px;background:rgba(255,255,255,.98)}.v5-brand{gap:10px}.v5-brand strong{font-size:16px}.v5-brand small{font-size:10px!important;letter-spacing:.06em!important;text-transform:none}.project-picker>button{width:min(300px,32vw);height:50px;border-radius:12px;padding-inline:14px}.project-picker small{font-size:10px!important;letter-spacing:.06em}.project-picker strong{font-size:14px;margin-top:2px}.project-menu{top:58px;width:330px;border-radius:14px;padding:8px}.project-menu button{min-height:58px;padding:10px}.project-menu strong{font-size:13px}.project-menu small{font-size:11px!important}.mode-pill{border-radius:11px;padding:4px}.mode-pill button{height:36px;font-size:12px;padding-inline:12px}.top-actions{gap:3px}.top-actions button{height:44px;min-width:44px;border-radius:10px;padding-inline:9px;font-size:13px}.top-actions .more{width:44px}.top-menu{top:51px;width:280px;border-radius:14px;padding:8px}.top-menu>button{min-height:64px;padding:10px}.top-menu strong{font-size:13px}.top-menu small{font-size:11px!important}
.v5-workspace{height:calc(100svh - 76px);grid-template-columns:330px minmax(500px,1fr) 380px}.catalog-panel{padding:20px 16px 0}.panel-head{padding-bottom:14px}.panel-head small{font-size:11px;letter-spacing:.08em}.panel-head h1{font-size:25px}.catalog-search{height:46px;border-radius:12px;padding-inline:12px}.catalog-search input{font-size:14px}.catalog-tabs{border-radius:11px;padding:4px;margin-top:11px}.catalog-tabs button{height:37px;font-size:13px}.catalog-context{font-size:12px;padding:13px 3px 10px}.system-list{gap:10px;padding-bottom:22px}
.system-card{min-height:94px!important;border-radius:15px!important;padding:9px!important;grid-template-columns:minmax(0,1fr) 38px!important;gap:8px!important;background:#fff!important}.system-card:hover{transform:none!important;box-shadow:var(--shadow-sm)!important}.system-card-main{grid-template-columns:76px minmax(0,1fr)!important;gap:12px!important}.system-card-main>.system-visual{width:76px!important;height:76px!important}.system-card-main .clean-system-visual>span{width:48px!important;height:48px!important}.system-card-copy>span{font-size:11px!important;letter-spacing:.06em!important;text-transform:none!important}.system-card-copy strong{font-size:15px!important;line-height:1.3!important;margin-top:4px!important}.system-card-actions{gap:7px}.system-card-actions button,.system-card .add-system{width:36px!important;height:36px!important;border-radius:10px!important}.system-info-popover{padding:13px 14px;border-radius:13px}.system-info-popover>strong{font-size:13px!important}.system-info-popover p{font-size:13px!important;line-height:1.55}.system-info-popover>div span{font-size:11px!important;padding:5px 8px}
.design-stage{grid-template-rows:58px minmax(0,1fr) 92px}.stage-toolbar{padding-inline:12px;gap:10px}.view-toggle{border-radius:11px;padding:4px}.view-toggle button{height:39px;border-radius:9px;font-size:13px;padding-inline:13px}.concept-chip{font-size:11px;letter-spacing:.04em}.stage-actions{gap:4px}.stage-actions button,.mobile-catalog{height:42px;border-radius:10px;font-size:13px;padding-inline:10px}.camera-angle{height:42px;border-radius:10px;padding-inline:9px}.camera-angle select{font-size:13px;max-width:128px}.canvas-message{font-size:13px!important;border-radius:11px;padding:10px 12px}.canvas-hint{font-size:10px;padding:7px 10px}.renderer-badge{font-size:10px;padding:7px 10px}
.decision-bar.farm-snapshot{grid-template-columns:1.15fr repeat(3,minmax(130px,1fr)) 170px;padding:10px 12px}.snapshot-intro>span{font-size:10px}.snapshot-intro>strong{font-size:14px}.snapshot-intro>small{font-size:11px!important}.farm-snapshot .decision-metric{padding:8px 12px;grid-template-columns:34px 1fr}.farm-snapshot .decision-metric>span{width:32px;height:32px}.farm-snapshot .decision-metric small{font-size:11px!important}.farm-snapshot .decision-metric strong{font-size:16px}.farm-snapshot .decision-metric em{font-size:10px}.run-season{border-radius:12px}.run-season strong{font-size:13px}.run-season small{font-size:10px}
.inspector-tabs{height:58px}.inspector-tabs button{font-size:13px!important}.selected-visual{padding:18px;grid-template-columns:112px minmax(0,1fr);gap:16px}.selected-visual>.system-visual{width:112px;height:120px}.selected-visual>div:last-child>span{font-size:11px!important;letter-spacing:.06em;text-transform:none}.selected-visual h2{font-size:21px!important;margin:5px 0 8px}.selected-visual p{font-size:13px!important;line-height:1.55!important}.quick-actions{padding:12px 16px;gap:8px}.quick-actions button{height:44px!important;font-size:13px!important;border-radius:10px}.inspector-section-v5{padding:17px 16px}.inspector-section-v5 h3{font-size:13px!important;letter-spacing:.04em;margin-bottom:12px}.select-field{gap:7px}.select-field>span,.operating-grid label>span{font-size:12px!important}.select-field select,.operating-grid input,.spec-grid input,.spec-grid select{height:44px!important;font-size:14px!important;border-radius:10px}.info-row{font-size:12px!important}.input-note{font-size:12px!important}.spec-summary{padding:12px;border-radius:12px}.spec-summary strong{font-size:13px!important}.spec-summary small{font-size:12px!important}.spec-impact{gap:8px}.spec-impact>div{min-height:66px;padding:11px}.spec-impact span{font-size:11px!important}.spec-impact strong{font-size:13px!important}.two-stats,.three-stats{gap:8px}.two-stats>div,.three-stats>div{padding:10px;border-radius:10px}.two-stats span,.three-stats span{font-size:11px!important}.two-stats strong,.three-stats strong{font-size:13px!important}
.functional-zones text,.aisle-mark text,.dimension-line text,.utility-routes text{font:700 12px var(--font-ui)!important}.unit-name{font:700 12px var(--font-ui)!important}.unit-crop{font:600 10px var(--font-ui)!important}
#agrisim-review-button{font-family:var(--font-ui)!important;font-size:13px!important;font-weight:700!important;min-height:44px}.agrisim-review-form{font-family:var(--font-ui)!important}.agrisim-review-head h2{font-size:24px}.agrisim-review-note{font-size:13px}.agrisim-review-form label{font-size:13px}.agrisim-review-form input,.agrisim-review-form select,.agrisim-review-form textarea{font-family:var(--font-ui)!important;font-size:14px}.agrisim-review-submit{font-size:14px}

@media (max-width:1380px) and (min-width:1241px){
  .v5-workspace{grid-template-columns:310px minmax(470px,1fr) 350px}
  .v5-topbar{grid-template-columns:220px minmax(230px,1fr) auto auto}
  .v5-brand small{display:none}.top-actions button span{display:none}.top-actions button{padding-inline:8px}
  .decision-bar.farm-snapshot{grid-template-columns:repeat(3,minmax(115px,1fr)) 158px}.snapshot-intro{display:none}.farm-snapshot .decision-metric.amber{display:none}
}
@media(max-width:1100px){
  .welcome-hero{grid-template-columns:1fr;gap:34px;padding-top:46px}.hero-copy{max-width:760px}.hero-photo{height:450px}.home-quick-actions{margin-top:18px}.template-cards{grid-template-columns:1fr 1fr}
  .brief-shell{grid-template-columns:1fr}.brief-summary-panel{position:static;display:grid;grid-template-columns:repeat(3,1fr);gap:0}.brief-summary-panel>span,.brief-summary-panel h2,.brief-summary-panel>p{grid-column:1/-1}.brief-summary-panel>div{padding:14px;border-top:1px solid #e5ebe6}.brief-summary-panel>div+div{border-left:1px solid #e5ebe6}
}
@media(max-width:900px){
  .welcome-nav nav>span{display:none}.welcome-hero{padding-inline:22px}.home-quick-actions{margin-inline:22px;grid-template-columns:1fr}.use-cases,.home-projects{padding-inline:22px}.template-cards{grid-template-columns:1fr 1fr}
  .brief-shell{width:calc(100% - 28px);margin-top:26px}.brief-main{padding:27px 24px}.brief-summary-panel{padding:24px}.brief-step-heading h1{font-size:34px}.brief-main .type-grid,.brief-main .compact-grid{grid-template-columns:1fr 1fr}
  .recommendation-hero{grid-template-columns:1fr}.recommendation-grid{grid-template-columns:1fr}.recommendation-grid>article.is-primary{grid-column:auto}.is-primary .recommendation-detail-grid{grid-template-columns:1fr}.recommendation-summary{grid-template-columns:1fr 1fr}
  .v5-topbar{height:68px}.v5-workspace{height:calc(100svh - 68px)}.catalog-panel{top:68px}.design-stage{grid-template-rows:58px minmax(0,1fr) 92px}.v5-brand strong{font-size:15px}.project-picker>button{height:46px}.top-actions button{height:42px}
}
@media(max-width:620px){
  .welcome-nav{height:66px;padding-inline:14px}.welcome-brand strong{font-size:16px}.welcome-nav nav button{font-size:0;width:44px;padding:0}.welcome-nav nav button:after{content:"Projects";font-size:0}.welcome-hero{padding:30px 16px 28px}.hero-copy h1{font-size:42px;line-height:1.04}.hero-copy>p{font-size:16px}.hero-actions{display:grid}.hero-actions button{width:100%;justify-content:center}.hero-proof{font-size:12px}.hero-photo{height:310px;border-radius:18px}.hero-photo-tags span:nth-child(n+3){display:none}.hero-photo .model-caption{max-width:75%}.home-quick-actions{margin:12px 14px 0;padding:9px}.home-quick-actions>button{min-height:86px}.home-projects,.use-cases{padding:32px 16px}.template-cards{grid-template-columns:1fr}.section-intro h2,.home-projects-head h2{font-size:26px}
  .brief-page>header{height:66px;padding-inline:13px}.brief-page>header>span{display:block;font-size:12px}.brief-page>header .welcome-brand small{display:none}.brief-page>header .welcome-brand strong{font-size:14px}.brief-page>header>button{font-size:0;min-width:44px}.brief-page>header>button svg{width:21px;height:21px}.brief-shell{width:calc(100% - 20px);margin-top:14px}.brief-main,.brief-summary-panel{border-radius:18px}.brief-main{padding:21px 16px}.brief-progress{margin-bottom:26px}.brief-progress b{display:none}.brief-progress>span:not(:last-child):after{left:28px;right:-4px}.brief-step-heading h1{font-size:30px}.brief-step-heading p{font-size:14px;margin-bottom:20px}.brief-main .type-grid,.brief-main .compact-grid{grid-template-columns:1fr}.brief-main .choice-grid button{min-height:96px;padding:14px;grid-template-columns:46px minmax(0,1fr) 26px;gap:11px}.choice-icon{width:46px;height:46px}.choice-copy strong{font-size:15px}.choice-copy small{font-size:12px}.brief-actions{margin-top:22px}.brief-actions button{height:50px}.brief-secondary{width:44px;padding:0;font-size:0}.brief-secondary:before{content:"←";font-size:20px}.brief-primary{flex:1;padding-inline:14px}.brief-summary-panel{display:none}
  .recommendation-page>header{height:66px}.recommendation-hero,.recommendation-summary,.recommendation-content{width:calc(100% - 24px)}.recommendation-hero{margin-top:28px}.recommendation-hero h1{font-size:36px}.recommendation-hero p{font-size:14px}.recommendation-summary{grid-template-columns:1fr 1fr;gap:8px}.recommendation-summary>div{padding:13px}.recommendation-summary span{font-size:11px}.recommendation-summary strong{font-size:14px}.recommendation-heading h2{font-size:26px}.recommendation-grid>article{padding:17px}.recommendation-card-top{grid-template-columns:62px minmax(0,1fr);gap:12px}.recommendation-card-top>.system-visual{width:62px;height:62px}.recommendation-card-top h3{font-size:20px}.recommendation-card-top p{font-size:13px}.recommendation-detail-grid{margin-top:14px}.recommendation-reasons li,.recommendation-confirm li{font-size:12px}.recommendation-next{display:grid}.recommendation-next>button{width:100%;justify-content:center}
  .v5-topbar{height:64px;grid-template-columns:140px 1fr auto}.v5-workspace{height:calc(100svh - 64px)}.catalog-panel{top:64px}.project-picker>button{height:42px}.v5-brand strong{font-size:14px}.design-stage{grid-template-rows:96px minmax(0,1fr) 82px}.stage-toolbar{height:96px}.stage-actions button,.mobile-catalog{height:40px}.decision-bar.farm-snapshot{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 116px!important}.farm-snapshot .decision-metric{padding:6px 8px}.farm-snapshot .decision-metric strong{font-size:14px}.farm-snapshot .decision-metric small,.farm-snapshot .decision-metric em{font-size:10px!important}.inspector-panel{top:64px}.inspector-mobile-close{min-height:50px;font-size:14px}.v5-app input,.v5-app select,.v5-app textarea{font-size:16px!important}
}

/* Responsive and metric-bar corrections found in rendered acceptance review. */
.brief-main .choice-copy strong{font-size:16px!important}.brief-main .choice-copy small{font-size:13px!important}
.design-stage{width:100%;max-width:100%;overflow:hidden}
.decision-bar.farm-snapshot{grid-template-columns:repeat(3,minmax(0,1fr)) 170px!important}
.decision-bar.farm-snapshot .snapshot-intro{display:none!important}
.farm-snapshot .decision-metric{min-width:0!important;grid-template-columns:34px minmax(0,1fr)!important;grid-template-rows:auto auto auto!important}
.farm-snapshot .decision-metric>span{grid-column:1!important;grid-row:1/4!important}
.farm-snapshot .decision-metric>small,.farm-snapshot .decision-metric>strong,.farm-snapshot .decision-metric>em{grid-column:2!important;min-width:0!important;display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.farm-snapshot .decision-metric>small{grid-row:1!important}.farm-snapshot .decision-metric>strong{grid-row:2!important}.farm-snapshot .decision-metric>em{grid-row:3!important}

@media(max-width:1240px){
  .v5-topbar{grid-template-columns:220px minmax(220px,1fr) auto!important}
  .mode-pill{display:none!important}
  .v5-workspace{grid-template-columns:310px minmax(0,1fr)!important;width:100%!important}
  .design-stage{grid-column:2!important;min-width:0!important}
  .inspector-panel{grid-column:auto!important}
  .decision-bar.farm-snapshot{grid-template-columns:repeat(2,minmax(0,1fr)) 160px!important}
  .farm-snapshot .decision-metric.amber{display:none!important}
}
@media(max-width:900px){
  .v5-topbar{grid-template-columns:190px minmax(0,1fr) auto!important;width:100%!important}
  .v5-workspace{grid-template-columns:minmax(0,1fr)!important;width:100%!important}
  .design-stage{grid-column:1!important;width:100%!important;min-width:0!important}
  .stage-toolbar,.stage-canvas,.decision-bar{width:100%!important;max-width:100%!important}
  .decision-bar.farm-snapshot{grid-template-columns:repeat(2,minmax(0,1fr)) 150px!important}
  #agrisim-review-button{top:148px!important;bottom:auto!important;right:14px!important}
}
@media(max-width:620px){
  .v5-topbar{grid-template-columns:140px minmax(0,1fr) auto!important}
  .v5-workspace,.design-stage,.stage-toolbar,.stage-canvas,.decision-bar{width:100vw!important;max-width:100vw!important}
  .stage-toolbar{padding-inline:8px!important;overflow:hidden!important}
  .stage-actions{min-width:0!important;overflow-x:auto!important;justify-content:flex-start!important;scrollbar-width:none}
  .stage-actions::-webkit-scrollbar{display:none}
  .decision-bar.farm-snapshot{grid-template-columns:repeat(2,minmax(0,1fr)) 116px!important}
  .farm-snapshot .decision-metric{grid-template-columns:minmax(0,1fr)!important;padding:6px 8px!important}
  .farm-snapshot .decision-metric>span{display:none!important}
  .farm-snapshot .decision-metric>small,.farm-snapshot .decision-metric>strong,.farm-snapshot .decision-metric>em{grid-column:1!important}
  .farm-snapshot .decision-metric>strong{font-size:14px!important}
  #agrisim-review-button{top:210px!important;bottom:auto!important;right:10px!important;min-height:40px!important;padding-inline:13px!important;font-size:12px!important}
}

/* Final compact mobile action and metric alignment pass. */
.farm-snapshot .decision-metric>div{min-width:0;display:grid;grid-template-rows:auto auto auto;align-content:center}
.farm-snapshot .decision-metric>div small,.farm-snapshot .decision-metric>div strong,.farm-snapshot .decision-metric>div em{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:900px){#agrisim-review-button{display:none!important}}
@media(max-width:620px){
  .stage-actions .rotate-action span,.stage-actions .controller-action span,.stage-actions .irrigation-action span{display:none}
  .stage-actions .rotate-action,.stage-actions .controller-action,.stage-actions .irrigation-action{flex:0 0 40px!important;width:40px!important;min-width:40px!important;padding:0!important;justify-content:center!important}
  .stage-actions .move-action,.stage-actions .focus-action{flex:0 0 auto!important;padding-inline:8px!important}
  .stage-actions .move-action span,.stage-actions .focus-action span{display:inline!important;font-size:12px!important}
  .farm-snapshot .decision-metric>div{gap:1px}
  .farm-snapshot .decision-metric>div small{font-size:10px!important}
  .farm-snapshot .decision-metric>div strong{font-size:15px!important;line-height:1.15}
  .farm-snapshot .decision-metric>div em{font-size:9px!important}
  #agrisim-review-button{top:214px!important}
}

/* Phase 1.5 — site-first templates and geometry-specific system glyphs. */
.agrisim-glyph{display:block;max-width:100%;overflow:visible;color:currentColor}
.agrisim-glyph path,.agrisim-glyph circle,.agrisim-glyph rect,.agrisim-glyph ellipse{vector-effect:non-scaling-stroke;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.agrisim-glyph .detail{stroke-width:1.15;opacity:.58}
.agrisim-glyph .surface-fill{fill:color-mix(in srgb,currentColor 10%,transparent)}
.agrisim-glyph .water-fill{fill:#d7edf0;stroke:#4f8794}
.agrisim-glyph .water-line,.agrisim-glyph .water-dot{stroke:#4f8794;fill:#4f8794}
.agrisim-glyph .plant-fill,.agrisim-glyph .plant-dot{fill:#79a960;stroke:#4f8050}
.agrisim-glyph .roof-fill{fill:#e3e8df;stroke:currentColor}
.agrisim-glyph .glass-fill{fill:rgba(139,202,205,.15);stroke:#5d8b8d}
.agrisim-glyph .light-line{stroke:#d3a53d;stroke-width:2.2}
.agrisim-glyph .brand-line{stroke:#9fba63;stroke-width:2.6}
.agrisim-glyph .route-line{stroke:#2e7666;stroke-width:2.3}
.agrisim-glyph .tray-line{stroke:#69875a;stroke-width:3.4}
.clean-system-visual{position:relative;display:grid;place-items:center;background:linear-gradient(145deg,#f7faf6,#eaf1eb);border:1px solid #dbe6dd;border-radius:14px;overflow:hidden;color:#315f50;isolation:isolate}
.clean-system-visual:before{content:"";position:absolute;inset:auto 10px 8px;height:1px;background:#d7e2d9}
.clean-system-visual:after{display:none!important}
.clean-system-visual>.agrisim-glyph{width:78%;height:auto;z-index:2}
.clean-system-visual.is-iplant{background:linear-gradient(145deg,#eef6ef,#dceae0);border-color:#bdd1c2;color:#174f3c}
.clean-system-visual.is-iplant:before{background:#bcd0c0}
.clean-system-visual>small{position:absolute;left:7px;right:7px;bottom:5px;z-index:4;font-size:7px;line-height:1.15;text-transform:none;letter-spacing:0;font-weight:700;color:#536d60;background:rgba(255,255,255,.94);border:1px solid #e0e7e1;border-radius:6px;padding:3px 4px;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}
.system-card-main .clean-system-visual>.agrisim-glyph{width:84%}
.selected-visual .clean-system-visual>.agrisim-glyph{width:82%;transform:translateY(-5px)}
.recommendation-card-top .clean-system-visual>.agrisim-glyph{width:84%}
.template-art{color:#fff;overflow:hidden}
.template-art>.agrisim-glyph{width:50px;height:auto;color:inherit}
.template-art .surface-fill,.template-art .roof-fill{fill:rgba(255,255,255,.16)}
.template-art .water-fill,.template-art .glass-fill{fill:rgba(255,255,255,.14);stroke:rgba(255,255,255,.86)}
.template-art .water-line,.template-art .water-dot,.template-art .plant-fill,.template-art .plant-dot,.template-art .brand-line,.template-art .route-line,.template-art .tray-line,.template-art .light-line{stroke:#fff;fill:rgba(255,255,255,.75)}
.choice-icon{overflow:hidden}
.choice-icon>.agrisim-glyph{width:42px;height:auto;color:#225d46}
.choice-icon .surface-fill,.choice-icon .roof-fill{fill:rgba(34,93,70,.08)}
.quick-system-glyph{width:48px!important;height:58px!important;border-radius:12px;background:#eef5ef!important;color:#1d5b43!important;display:grid!important;place-items:center!important}
.quick-system-glyph>.agrisim-glyph{width:44px;height:auto}
.project-menu>button>.agrisim-glyph{width:25px;height:21px;color:var(--green)}
.recommendation-summary strong{line-height:1.25}
@media(max-width:620px){
  .choice-icon>.agrisim-glyph{width:38px}
  .template-art>.agrisim-glyph{width:46px}
  .recommendation-summary strong{font-size:13px!important}
}
.recommendation-heading>p{padding:14px 16px;border:1px solid #d8e6db;border-radius:13px;background:#edf6ef;color:#355b47}

/* Phase 1.6 — workspace organization, keyboard control and editable site zones. */
.stage-toolbar{position:relative;overflow:visible!important}
.panel-toggle,.arrange-control>button,.focus-canvas-toggle{display:inline-flex!important;align-items:center;gap:7px;white-space:nowrap}
.panel-toggle.is-collapsed{background:#e7f1e9!important;color:var(--green)!important;border-color:#b9d0bf!important}
.arrange-control{position:relative;flex:0 0 auto}
.arrange-control>button{height:42px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#365b4c;padding:0 10px;font-weight:800}
.arrange-control>button.active{background:#e5f0e7;color:var(--green);border-color:#b8d0be}
.arrange-menu{position:absolute;left:0;top:48px;z-index:80;width:265px;padding:7px;background:#fff;border:1px solid #d7e2d9;border-radius:14px;box-shadow:0 18px 45px rgba(18,48,37,.2);display:grid;gap:3px}
.arrange-menu button{width:100%;height:auto!important;min-height:50px!important;padding:8px 10px!important;display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;gap:9px!important;text-align:left!important;justify-content:stretch!important;background:transparent!important;border:0!important}
.arrange-menu button:hover{background:#eef5ef!important}
.arrange-menu button span{display:grid!important;gap:2px!important}
.arrange-menu button strong{font-size:13px;line-height:1.2}
.arrange-menu button small{font-size:11px;line-height:1.3;color:#6a7c72;font-weight:550}
.focus-canvas-toggle{min-width:max-content}
@media(min-width:1241px){
  .v5-workspace.catalog-collapsed{grid-template-columns:0 minmax(500px,1fr) 380px!important}
  .v5-workspace.inspector-collapsed{grid-template-columns:330px minmax(500px,1fr) 0!important}
  .v5-workspace.catalog-collapsed.inspector-collapsed{grid-template-columns:0 minmax(500px,1fr) 0!important}
  .v5-workspace.catalog-collapsed>.catalog-panel,.v5-workspace.inspector-collapsed>.inspector-panel{display:none!important}
  .v5-workspace.catalog-collapsed .design-stage,.v5-workspace.inspector-collapsed .design-stage{min-width:0}
}
.selected-item-dock{position:absolute;z-index:24;left:14px;right:14px;top:12px;min-height:68px;padding:9px 10px 9px 12px;border:1px solid rgba(193,211,199,.96);border-radius:15px;background:rgba(255,255,255,.97);box-shadow:0 14px 36px rgba(18,52,39,.17);backdrop-filter:blur(11px);display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:calc(100% - 28px);box-sizing:border-box}
.selected-dock-identity{display:flex;align-items:center;gap:10px;min-width:0;flex:1 1 auto}
.selected-dock-icon{width:48px;height:48px;flex:0 0 48px;border-radius:11px;background:#eef5ef;color:#205c46;display:grid;place-items:center;overflow:hidden}
.selected-dock-icon .agrisim-glyph{width:42px;height:34px}
.selected-dock-identity>span:last-child{min-width:0;display:grid;gap:1px}
.selected-dock-identity small{font-size:10px;letter-spacing:.08em;font-weight:900;color:#6b8375}
.selected-dock-identity strong{font-size:15px;line-height:1.25;color:#173f31;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.selected-dock-identity em{font-size:11px;color:#708077;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.selected-dock-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex:0 0 auto;flex-wrap:wrap}
.selected-dock-actions button{height:38px!important;min-width:42px;border:1px solid #d7e1d9;border-radius:9px;background:#f6f9f6;color:#34584a;padding:0 10px;display:flex;align-items:center;justify-content:center;gap:5px;font-size:12px;font-weight:850}
.selected-dock-actions button:hover,.selected-dock-actions button.active{background:#e6f1e8;color:var(--green);border-color:#bdd3c2}
.selected-dock-actions button.danger{background:#fff4f1;color:#a74736;border-color:#edcfc7}
.selected-dock-actions .dock-clear{width:38px;padding:0}
.canvas-toolbox{top:92px!important;display:flex!important;gap:5px!important;padding:5px!important}
.canvas-toolbox button{width:auto!important;min-width:38px!important;padding:0 9px!important;gap:6px!important}
.canvas-toolbox button span{display:inline!important;font-size:11px!important}
.canvas-selection-bar{display:none!important}
.empty-greenhouse-note{margin:10px 12px 16px;padding:12px;border:1px solid #c9ddd0;border-radius:12px;background:#edf6ef;display:flex;gap:10px;color:#285c43}
.empty-greenhouse-note span{display:grid;gap:3px}
.empty-greenhouse-note strong{font-size:13px}
.empty-greenhouse-note small{font-size:12px;line-height:1.45;color:#557264}
.infrastructure-toggles{gap:8px!important}
.infrastructure-toggles>button{min-height:64px!important}
.lite-zone.zone-grow.is-full{left:2%;width:96%}
.lite-zone.zone-service.is-full-height{height:94%}
.lite-zone.zone-wash{right:2%;bottom:3%;width:25%;height:50%;background:rgba(239,225,205,.62)}
.lite-zone.zone-wash.is-full-height{top:3%;bottom:auto;height:94%}
@media(max-width:1500px){
  .focus-canvas-toggle span,.editor-toggle span{display:none}
  .focus-canvas-toggle,.editor-toggle{width:42px!important;padding:0!important;justify-content:center!important}
  .selected-dock-actions button{padding-inline:8px}
}
@media(max-width:1240px){
  .stage-toolbar{overflow:hidden!important}
  .systems-toggle{display:flex!important}
  .editor-toggle{display:flex!important}
  .focus-canvas-toggle{display:none!important}
  .arrange-menu{position:fixed;left:12px;top:132px}
  .selected-item-dock{left:10px;right:10px;top:9px;min-height:62px}
  .selected-dock-identity em{display:none}
  .selected-dock-actions button span{display:none}
  .selected-dock-actions button{width:38px;min-width:38px;padding:0}
  .canvas-toolbox{top:80px!important}
}
@media(max-width:900px){
  .stage-toolbar{height:auto!important;min-height:58px!important;flex-wrap:wrap;align-content:center}
  .concept-chip{display:none}
  .selected-item-dock{align-items:center}
  .selected-dock-icon{width:42px;height:42px;flex-basis:42px}
  .selected-dock-identity small{font-size:9px}
  .selected-dock-identity strong{font-size:13px}
  .canvas-toolbox button span{display:none!important}
  .canvas-toolbox button{width:44px!important;min-width:44px!important;padding:0!important}
}
@media(max-width:620px){
  .stage-toolbar{padding:5px 6px!important;overflow:visible!important;flex-wrap:wrap!important}
  .stage-toolbar>.concept-chip,.stage-actions .camera-angle,.stage-actions .focus-action,.stage-actions .controller-action,.stage-actions .irrigation-action,.stage-actions .lighting-preview-action,.stage-actions .focus-canvas-toggle{display:none!important}
  .stage-actions{overflow:visible!important;flex:1 0 100%;width:100%;margin-left:0;justify-content:space-between}
  .arrange-control>button span,.panel-toggle span{display:none}
  .arrange-control>button,.panel-toggle{width:44px!important;min-width:44px!important;padding:0!important;justify-content:center!important}
  .arrange-menu{left:10px;right:10px;top:160px;width:auto;max-height:calc(100svh - 250px);overflow-y:auto}
  .selected-item-dock{min-height:54px;padding:6px 7px;gap:6px}
  .selected-dock-icon{display:none}
  .selected-dock-identity small{font-size:8px}
  .selected-dock-identity strong{font-size:12px;max-width:120px}
  .selected-dock-actions{gap:3px}
  .selected-dock-actions button{height:44px!important;width:44px;min-width:44px;border-radius:8px}
  .selected-dock-actions .dock-copy,.selected-dock-actions .dock-group{display:none}
  .canvas-toolbox{top:68px!important;left:7px!important}
}
@media(min-width:1241px){
  .v5-workspace>.catalog-panel{grid-column:1}
  .v5-workspace>.design-stage{grid-column:2!important}
  .v5-workspace>.inspector-panel{grid-column:3}
}

/* Phase 1.6 final containment — keep planner controls inside the canvas header. */
@media(max-width:1500px) and (min-width:621px){
  .stage-toolbar>.concept-chip,
  .stage-actions .controller-action,
  .stage-actions .irrigation-action{display:none!important}
  .stage-actions>button{width:42px!important;min-width:42px!important;padding:0!important;justify-content:center!important;font-size:0!important}
  .stage-actions>button svg{margin:0!important}
  .camera-angle{max-width:108px!important;min-width:84px!important;padding-inline:7px!important}
  .camera-angle select{max-width:76px!important;font-size:11px!important}
  .selected-dock-actions button{width:38px!important;min-width:38px!important;padding:0!important;font-size:0!important}
}
@media(max-width:1300px) and (min-width:901px){
  .stage-actions .focus-action{display:none!important}
  .camera-angle{max-width:92px!important;min-width:76px!important}
  .camera-angle select{max-width:62px!important}
}
@media(max-width:620px){
  .stage-actions{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    justify-content:space-between!important;
    overflow:visible!important;
    flex:1 0 100%!important;
  }
  .stage-actions>button{flex:0 0 44px!important;width:44px!important;min-width:44px!important;padding:0!important;justify-content:center!important}
}

/* Phase 1.7 model corrections — collapsible inspector and honest default inputs. */
.inspector-section-v5{padding:0!important}
.inspector-section-toggle{width:100%;min-height:48px!important;border:0;background:#fff;padding:0 14px;display:flex;align-items:center;justify-content:space-between;color:var(--ink)}
.inspector-section-toggle:hover{background:#f4f8f4}
.inspector-section-toggle h3{margin:0!important;font-size:12px!important;letter-spacing:.065em;text-transform:uppercase;text-align:left}
.inspector-section-toggle svg{transition:transform .16s ease;color:#688074}
.inspector-section-v5:not(.is-collapsed) .inspector-section-toggle svg{transform:rotate(180deg)}
.inspector-section-content{padding:2px 14px 14px}
.inspector-section-v5.is-collapsed{border-bottom:1px solid var(--line)}
.planning-default-badge{display:flex;gap:8px;padding:10px;border:1px solid #c9ddd0;border-radius:10px;background:#edf6ef;margin-bottom:10px;color:#285c43}
.planning-default-badge>span{display:grid;gap:2px}.planning-default-badge strong{font-size:12px}.planning-default-badge small{font-size:11px;line-height:1.4;color:#557264}

/* Phase 1.8 brand and 3D recovery */
.brand-case{text-transform:none!important;letter-spacing:.04em!important}
.welcome-site-link{font-size:13px;font-weight:750;color:var(--green);text-decoration:none}
.welcome-site-link:hover{text-decoration:underline}
.top-menu-link{min-height:54px;padding:8px;display:grid;grid-template-columns:1fr 22px;align-items:center;border-radius:8px;color:inherit;text-decoration:none}
.top-menu-link:hover{background:#eef3ee}
.top-menu-link span{display:grid}.top-menu-link strong{font-size:11px}.top-menu-link small{font-size:10px;color:var(--muted);margin-top:2px}.top-menu-link svg{color:var(--green)}
.scene-empty-state{position:absolute;left:50%;top:50%;z-index:8;transform:translate(-50%,-50%);display:grid;justify-items:center;gap:7px;text-align:center;background:rgba(255,255,255,.92);border:1px solid #d7e2d9;border-radius:16px;padding:18px 22px;box-shadow:0 14px 36px rgba(27,63,48,.13);color:var(--green)}
.scene-empty-state strong{font-size:16px}.scene-empty-state span{max-width:250px;font-size:13px;line-height:1.45;color:var(--muted)}
.scene-retry{position:absolute;right:14px;bottom:14px;z-index:12;height:40px;border:1px solid #cbd9ce;border-radius:10px;background:#fff;color:var(--green);padding:0 14px;font-size:12px;font-weight:800;box-shadow:0 8px 24px rgba(28,64,49,.12)}
.scene-retry:hover{background:#edf5ee}

/* Phase 1.9 CEA + urban technology — final catalogue and control system. */
.v5-app,.v5-app button,.v5-app input,.v5-app select,.v5-app textarea,.brief-page,.welcome-page{font-family:var(--font-ui)!important}
@media(min-width:1241px){.v5-workspace{grid-template-columns:296px minmax(500px,1fr) 390px!important}}
.catalog-panel{padding:14px 11px 0!important}.catalog-search{height:44px!important}.catalog-tabs{grid-template-columns:1fr 1fr!important}.catalog-tabs button{height:44px!important;font-size:12px!important}.hug-wizard-launch{min-height:54px!important;padding:8px 9px!important}.hug-wizard-launch strong{font-size:12px!important}.hug-wizard-launch small{font-size:10px!important}
.grouped-system-list{display:grid!important;gap:12px!important}.catalog-group{display:grid;gap:6px}.catalog-group>header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:2px 3px}.catalog-group>header>div{display:grid;gap:2px}.catalog-group>header strong{font-size:11px;letter-spacing:.045em;text-transform:uppercase;color:#315d4c}.catalog-group>header small{font-size:9px;line-height:1.35;color:#718278}.catalog-group>header>span{font-size:10px;font-weight:800;color:#557265;background:#edf3ee;border-radius:12px;padding:3px 7px}.catalog-group-cards{display:grid;gap:5px}
.system-card{min-height:62px!important;border-radius:11px!important;padding:5px!important;grid-template-columns:minmax(0,1fr) 31px!important;gap:5px!important}.system-card-main{grid-template-columns:48px minmax(0,1fr)!important;gap:8px!important}.system-card-main>.system-visual{width:48px!important;height:48px!important;border-radius:9px!important}.system-card-main .clean-system-visual>.agrisim-glyph{width:82%!important}.system-card-copy>span{font-size:9px!important;letter-spacing:.025em!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.system-card-copy strong{font-size:12.5px!important;line-height:1.2!important;margin-top:2px!important}.system-card-actions{gap:3px!important}.system-card-actions button,.system-card .add-system{width:29px!important;height:29px!important;border-radius:8px!important}.system-info-popover{padding:10px!important}.system-info-popover p{font-size:11px!important}.system-info-popover>div{display:flex;flex-wrap:wrap;gap:4px}.system-info-popover>div span{font-size:9px!important;padding:3px 5px!important}
.sustainable-tech-cards,.sustainable-utility-grid{display:grid;gap:6px}.sustainable-tech-card,.sustainable-utility-grid button{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:8px;align-items:center;text-align:left;border:1px solid #dce5de;background:#fff;border-radius:10px;padding:7px;color:#263f35}.sustainable-tech-card>span:first-child,.sustainable-utility-grid button>svg{color:#39735b}.sustainable-tech-card>span:nth-child(2),.sustainable-utility-grid button>span{display:grid;gap:2px}.sustainable-tech-card strong,.sustainable-utility-grid button strong{font-size:11px}.sustainable-tech-card small,.sustainable-utility-grid button small{font-size:9px;line-height:1.35;color:#708178}.sustainable-tech-card em,.sustainable-utility-grid button em{font-style:normal;font-size:9px;font-weight:800;color:#3c725a}.sustainable-tech-card.active,.sustainable-utility-grid button.active{border-color:#75a488;background:#edf6ef}
.cea-setpoint-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cea-setpoint-grid label{position:relative;display:grid;gap:5px}.cea-setpoint-grid label>span{font-size:11px;font-weight:700}.cea-setpoint-grid input,.cea-setpoint-grid select{width:100%;height:42px;border:1px solid #cfdad2;border-radius:9px;padding:0 30px 0 9px;font-size:13px;background:#fff}.cea-setpoint-grid label>em{position:absolute;right:9px;bottom:13px;font-style:normal;font-size:10px;color:#73847a}.utility-switch{display:flex!important;align-items:center;gap:9px;padding:9px;border:1px solid #dce5de;border-radius:10px}.utility-switch input{width:18px;height:18px}.utility-switch>span{display:grid;gap:2px}.utility-switch strong{font-size:12px}.utility-switch small{font-size:10px;color:#708178}.utility-switch.compact{align-self:end}.cea-status-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}.cea-status-row>div{display:grid;gap:3px;padding:10px;border-radius:10px;background:#f2f6f2}.cea-status-row span{font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:#6a7e72}.cea-status-row strong{font-size:14px;color:#245842}.cea-status-row em{font-size:9px;line-height:1.35;color:#708178;font-style:normal}.water-performance-hero{display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:start;padding:12px;border-radius:12px;background:#eaf5f3;color:#245c58}.water-performance-hero>div{display:grid;gap:3px}.water-performance-hero small{font-size:9px;letter-spacing:.05em}.water-performance-hero strong{font-size:20px}.water-performance-hero p{font-size:11px;line-height:1.4;margin:0;color:#52726c}.water-comparison-bar{height:10px;margin:9px 1px;border-radius:99px;background:#e2e8e3;overflow:hidden}.water-comparison-bar span{display:block;height:100%;border-radius:inherit;background:#3d927a}.utilities-panel .inspector-section-content{display:grid;gap:9px}
.lite-human i{background:#9fba63!important}.lite-human b{border-color:#174f3c!important}
@media(max-width:620px){.catalog-panel{width:min(88vw,310px)!important}.cea-setpoint-grid,.cea-status-row{grid-template-columns:1fr}.system-card{min-height:64px!important}}
.sustainable-site-strip rect{fill:#eef5ef;stroke:#88a993;stroke-width:1}.sustainable-site-strip text{font:800 8px var(--font-ui);fill:#2c664d;letter-spacing:.04em}.lite-sustainable-tech{position:absolute;left:2%;bottom:2%;display:flex;flex-wrap:wrap;gap:3px;max-width:75%}.lite-sustainable-tech span{font-size:5px;font-weight:850;color:#265b47;background:rgba(239,247,240,.94);border:1px solid #8fad99;border-radius:8px;padding:2px 4px}
.sustainable-site-strip rect{fill:#eef5ef;stroke:#88a993;stroke-width:1}.sustainable-site-strip text{font:800 8px var(--font-ui);fill:#2c664d;letter-spacing:.04em}.lite-sustainable-tech{position:absolute;left:2%;bottom:2%;display:flex;flex-wrap:wrap;gap:3px;max-width:75%}.lite-sustainable-tech span{font-size:5px;font-weight:850;color:#265b47;background:rgba(239,247,240,.94);border:1px solid #8fad99;border-radius:8px;padding:2px 4px}

/* Final product audit — compact catalogue, one type system and aligned selection surfaces. */
:root{--font-ui:"Segoe UI",Inter,Arial,sans-serif}
html,body,button,input,select,textarea{font-family:var(--font-ui)!important}
.v5-app{font-size:14px;line-height:1.4}
.v5-app button,.v5-app input,.v5-app select,.v5-app textarea{font-size:13px;letter-spacing:0}
.v5-app button{font-weight:700}
.panel-head small,.utility-summary small,.decision-metric small,.selected-dock-identity small{font-size:10px!important;line-height:1.25!important}
.catalog-panel{padding-inline:9px!important}
.catalog-segments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:7px 0 9px}
.catalog-segments button{min-height:32px;border:1px solid #d8e3da;border-radius:9px;background:#fff;color:#49665a;padding:4px 6px;font-size:10.5px!important;line-height:1.15;text-align:center}
.catalog-segments button.active{background:#1d5b43;color:#fff;border-color:#1d5b43}
.compact-system-list{display:block!important;overflow:visible!important}
.compact-system-list .catalog-group{gap:7px}
.compact-system-list .catalog-group>header{padding:0 2px 4px}
.compact-system-list .catalog-group>header strong{font-size:11.5px!important;letter-spacing:.025em;text-transform:none}
.compact-system-list .catalog-group>header small{font-size:10px!important;line-height:1.3}
.catalog-group-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
.system-card-shell.compact{position:relative;min-width:0}
.system-card.compact{position:relative!important;display:grid!important;grid-template-rows:36px minmax(28px,auto)!important;grid-template-columns:1fr!important;place-items:center!important;gap:4px!important;width:100%!important;min-height:76px!important;height:76px!important;padding:7px 5px!important;border:1px solid #dce5de!important;border-radius:11px!important;background:#fff!important;text-align:center!important;overflow:hidden!important}
.system-card.compact:hover{border-color:#8fb09c!important;background:#f3f8f4!important}
.system-card.compact .system-visual{width:36px!important;height:36px!important;min-width:36px!important;border:0!important;border-radius:8px!important;background:#edf4ee!important}
.system-card.compact .system-visual:before{display:none!important}
.system-card.compact .agrisim-glyph{width:31px!important;height:29px!important}
.system-card-name{display:flex;align-items:flex-start;justify-content:center;max-width:100%;min-width:0;min-height:27px;font-size:10.5px!important;line-height:1.18!important;font-weight:750!important;color:#24483a;text-align:center;overflow:hidden}
.system-card-shell.compact>.system-info-trigger{position:absolute;right:4px;top:4px;z-index:4;width:22px!important;height:22px!important;min-width:22px!important;border:0!important;border-radius:7px!important;background:rgba(255,255,255,.9)!important;color:#4f7564!important;padding:0!important;display:grid!important;place-items:center!important}
.system-card-shell.compact>.system-info-trigger:hover{background:#dfece2!important;color:#174f3c!important}
.system-card-shell.compact .system-info-popover{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:60;box-shadow:0 12px 30px rgba(19,54,40,.18)}
.system-card.compact.sustainable-tech-card{grid-template-rows:34px minmax(28px,auto)!important}
.system-card.compact.sustainable-tech-card .urban-tech-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:#edf4ee;color:#2d7257}
.system-card.compact.sustainable-tech-card em{position:absolute;left:5px;top:5px;font-size:8.5px!important;font-style:normal;color:#4c755f;background:#edf5ef;border-radius:8px;padding:2px 5px}
.system-card-shell.is-enabled .system-card.compact{border-color:#75a488!important;background:#edf6ef!important}
.selected-visual{display:grid!important;grid-template-columns:84px minmax(0,1fr)!important;align-items:center!important;gap:12px!important}
.selected-visual>.system-visual{align-self:center!important;width:84px!important;height:84px!important;margin:0!important}
.selected-visual>div:last-child{min-width:0;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;text-align:left!important;gap:4px!important}
.selected-visual>div:last-child>*{margin:0!important;max-width:100%}
.selected-visual h2,.selected-visual strong{line-height:1.25!important}
.selected-item-dock{align-items:center!important}
.selected-dock-identity>span:last-child{align-items:start!important;text-align:left!important}
.solar-planning-panel{display:grid;gap:9px;padding:10px;border:1px solid #d5e2d8;border-radius:11px;background:#f4f8f4}
.lite-sustainable-tech span{font-size:9px!important;padding:3px 6px!important}
.sustainable-site-strip text{font-size:9px!important}
@media(max-width:620px){
  .catalog-group-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .system-card.compact{min-height:72px!important;height:72px!important}
  .system-card-name{font-size:10px!important}
  .v5-app input,.v5-app select,.v5-app textarea{font-size:16px!important}
}

.inspector-empty p{font-size:12px!important;line-height:1.5!important}
.selected-visual .clean-system-visual>small{font-size:10px!important;line-height:1.25!important}
.shortcut-note{font-size:10px!important;line-height:1.45!important}
.shortcut-note kbd{font-family:var(--font-ui)!important;font-size:10px!important}


/* Final audit refinement — fast-scanning catalogue and strict alignment. */
.catalog-group-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
.system-card.compact{grid-template-rows:29px 23px!important;min-height:62px!important;height:62px!important;padding:5px 4px!important;gap:2px!important;border-radius:9px!important}
.system-card.compact .system-visual{width:29px!important;height:29px!important;min-width:29px!important;border-radius:7px!important}
.system-card.compact .agrisim-glyph{width:26px!important;height:25px!important}
.system-card-name{align-items:center!important;justify-content:center!important;min-height:23px!important;font-size:9.75px!important;line-height:1.12!important;text-wrap:balance}
.system-card-shell.compact>.system-info-trigger{right:3px!important;top:3px!important;width:19px!important;height:19px!important;min-width:19px!important;border-radius:6px!important}
.system-card-shell.compact>.system-info-trigger svg{width:11px!important;height:11px!important}
.system-card.compact.sustainable-tech-card{grid-template-rows:29px 23px!important}
.system-card.compact.sustainable-tech-card .urban-tech-icon{width:29px!important;height:29px!important;border-radius:7px!important}
.system-card.compact.sustainable-tech-card .urban-tech-icon svg{width:20px!important;height:20px!important}
.system-card.compact.sustainable-tech-card em{display:none!important}
.catalog-context{min-height:28px!important;margin-block:5px!important}
.catalog-group>header small{display:none!important}
.catalog-group>header{padding-bottom:2px!important}
.catalog-panel .grouped-system-list{gap:7px!important}
@media(max-width:620px){.system-card.compact{min-height:60px!important;height:60px!important}.system-card-name{font-size:9.5px!important}}

/* Final typography audit — remove sub-caption microtype from functional UI. */
.renderer-badge{font-size:10px!important}
.lite-zone span,.lite-aisle span,.lite-unit strong{font-size:9.5px!important;line-height:1.2!important}
.lite-legend strong{font-size:11px!important}.lite-legend small{font-size:10px!important;line-height:1.35!important}
.water-performance-hero small,.cea-status-row span,.cea-status-row em{font-size:10px!important}
.sustainable-tech-card small,.sustainable-utility-grid button small{font-size:10px!important;line-height:1.35!important}
.sustainable-tech-card em,.sustainable-utility-grid button em{font-size:10px!important}
.infrastructure-toggles strong{font-size:11px!important}.infrastructure-toggles small{font-size:10px!important}.infrastructure-toggles em{font-size:10px!important}
.unlock-utilities strong{font-size:11px!important}.unlock-utilities small{font-size:10px!important;line-height:1.35!important}
.decision-metric em{font-size:10px!important}
/* Final mobile metric specificity — keep unit labels readable in the snapshot bar. */
.farm-snapshot .decision-metric em,
.decision-bar.farm-snapshot .decision-metric em,
.decision-metric.green em,
.decision-metric.blue em{
  font-size:10px!important;
  line-height:1.2!important;
}

/* Publish-ready design audit — compact without microtype. */
:root{--font-ui:"Segoe UI Variable Text","Segoe UI Variable","Segoe UI",Inter,Roboto,Arial,sans-serif}
html,body,#root,.v5-app,.welcome-page,.brief-page{font-family:var(--font-ui)!important}
.v5-app :where(button,input,select,textarea,label,small,em,strong,span,p){font-family:var(--font-ui)!important}
.catalog-segments button{font-size:11px!important;min-height:44px!important}
.system-card.compact{grid-template-rows:31px 25px!important;min-height:66px!important;height:66px!important;padding:5px!important}
.system-card.compact .system-visual{width:31px!important;height:31px!important;min-width:31px!important}
.system-card.compact .agrisim-glyph{width:28px!important;height:27px!important}
.system-card-name{min-height:25px!important;font-size:11px!important;line-height:1.12!important;align-items:center!important}
.system-card-shell.compact>.system-info-trigger{width:21px!important;height:21px!important;min-width:21px!important}
.system-card.compact.sustainable-tech-card{grid-template-rows:31px 25px!important}
.system-card.compact.sustainable-tech-card .urban-tech-icon{width:31px!important;height:31px!important}
.v5-app :where(.panel-head small,.utility-summary small,.decision-metric small,.decision-metric em,.selected-dock-identity small,.input-note,.info-row span,.info-row em,.shortcut-note,.catalog-context,.catalog-group>header small,.cea-status-row span,.cea-status-row em,.water-performance-hero small,.infrastructure-toggles small,.infrastructure-toggles em,.unlock-utilities small){font-size:11px!important;line-height:1.38!important}
.selected-visual .clean-system-visual>small{display:none!important}
.selected-visual>div:last-child,.selected-dock-identity>span:last-child{align-items:flex-start!important;text-align:left!important}
.greenhouse-shell-note{grid-column:1/-1;display:grid;gap:3px;padding:10px 11px;border:1px solid #cddfd2;border-radius:10px;background:#f1f7f2;color:#285144}
.greenhouse-shell-note strong{font-size:12px}.greenhouse-shell-note small{font-size:11px!important;line-height:1.42!important;color:#587066}
@media(max-width:620px){.system-card.compact{min-height:64px!important;height:64px!important}.system-card-name{font-size:10.75px!important}}

/* AgriSim 3.0 publish-ready catalogue: three fast-scanning icon/name tiles per row. */
.catalog-group-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important}
.system-card.compact{grid-template-rows:28px 23px!important;min-height:59px!important;height:59px!important;padding:4px 3px!important;gap:2px!important}
.system-card.compact .system-visual{width:28px!important;height:28px!important;min-width:28px!important}
.system-card.compact .agrisim-glyph{width:25px!important;height:24px!important}
.system-card-name{min-height:23px!important;font-size:10.5px!important;line-height:1.08!important;padding-inline:1px!important}
.system-card-shell.compact>.system-info-trigger{width:18px!important;height:18px!important;min-width:18px!important;right:2px!important;top:2px!important}
.system-card.compact.sustainable-tech-card{grid-template-rows:28px 23px!important}
.system-card.compact.sustainable-tech-card .urban-tech-icon{width:28px!important;height:28px!important}
@media(max-width:620px){
  .catalog-group-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .system-card.compact{min-height:58px!important;height:58px!important}
  .system-card-name{font-size:10.25px!important}
}


/* Final-publish polish — retain fast scanning without returning to microtype. */
.catalog-group-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
.system-card-shell.compact{position:relative;min-width:0}
.system-card-shell.compact.is-info-open{z-index:120!important}
.system-card.compact{grid-template-rows:31px 28px!important;min-height:68px!important;height:68px!important;padding:5px 4px!important;gap:3px!important}
.system-card.compact .system-visual{width:31px!important;height:31px!important;min-width:31px!important}
.system-card.compact .agrisim-glyph{width:28px!important;height:27px!important}
.system-card-name{min-height:28px!important;font-size:11.25px!important;line-height:1.12!important;padding-inline:2px!important;font-weight:780!important}
.system-card-shell.compact>.system-info-trigger{width:23px!important;height:23px!important;min-width:23px!important;min-height:23px!important;right:2px!important;top:2px!important;border:1px solid rgba(117,153,131,.24)!important;background:rgba(255,255,255,.96)!important}
.system-card-shell.compact>.system-info-trigger svg{width:13px!important;height:13px!important}
.system-card-shell.compact .system-info-popover{left:0!important;right:auto!important;top:calc(100% + 5px)!important;width:min(276px,calc(100vw - 28px))!important;max-width:276px!important;padding:12px 13px!important;background:#fbfdfb!important;border-color:#cbded0!important;box-shadow:0 16px 38px rgba(19,54,40,.22)!important}
.system-card-shell.compact .system-info-popover>strong{font-size:13px!important;line-height:1.35!important}
.system-card-shell.compact .system-info-popover p{font-size:13px!important;line-height:1.5!important;margin:6px 0 9px!important}
.system-card-shell.compact .system-info-popover>div span{font-size:11px!important;line-height:1.1!important}
.catalog-group-cards>.system-card-shell.compact:nth-child(3n+2) .system-info-popover{left:50%!important;margin-left:-138px!important}
.catalog-group-cards>.system-card-shell.compact:nth-child(3n) .system-info-popover{left:auto!important;right:0!important}
.system-card.compact.sustainable-tech-card{grid-template-rows:31px 28px!important}
.system-card.compact.sustainable-tech-card .urban-tech-icon{width:31px!important;height:31px!important}
@media(max-width:620px){
  .system-card.compact{min-height:66px!important;height:66px!important}
  .system-card-name{font-size:11px!important}
  .system-card-shell.compact .system-info-popover{width:min(268px,calc(100vw - 24px))!important;max-width:268px!important}
  .catalog-group-cards>.system-card-shell.compact:nth-child(3n+2) .system-info-popover{margin-left:-134px!important}
}

@media (max-width: 620px) {
  .system-card.compact {
    min-height: 70px !important;
    height: 70px !important;
  }
  /* Touch-accessibility exception: these compact controls need a 44 px hit target on phones. */
  .system-card-shell.compact>.system-info-trigger{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;right:-6px!important;top:-6px!important;background:transparent!important;border-color:transparent!important}
  .mobile-close{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;align-items:center;justify-content:center}
  .catalog-search input{height:100%;min-height:44px}
}

/* 3.0.3 interaction + product-label refinement */
.research-password-field{position:relative;min-width:0}
.research-password-field>input{width:100%;padding-right:48px!important}
.research-password-field>.research-password-eye{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;border:0!important;border-radius:9px!important;background:transparent!important;color:var(--ink-2)!important;display:grid!important;place-items:center;box-shadow:none!important}
.research-password-field>.research-password-eye:hover{background:var(--soft)!important;color:var(--green)!important}
.research-password-field>.research-password-eye[aria-pressed="true"]{background:var(--soft)!important;color:var(--green)!important}

.plan-product-tag rect{fill:rgba(20,61,48,.95);stroke:rgba(255,255,255,.92);stroke-width:1.5;filter:drop-shadow(0 3px 5px rgba(20,61,48,.16))}
.plan-product-tag circle{fill:#dff28e}
.plan-product-tag text{fill:#fff;font:700 11.5px var(--font-ui);letter-spacing:.01em}
.plan-product-tag.is-selected rect{stroke:#efab42;stroke-width:2.5}
.plan-product-tag.is-selected circle{fill:#efab42}
.plan-unit .unit-name{display:none}

.lite-unit .lite-product-tag{position:absolute;left:50%;top:100%;transform:translate(-50%,7px) translateZ(18px);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:rgba(20,61,48,.95);color:#fff;border:1px solid rgba(255,255,255,.88);border-radius:999px;padding:4px 8px;font-size:10px!important;line-height:1.2!important;font-weight:700;letter-spacing:.01em;box-shadow:0 4px 10px rgba(20,61,48,.16);pointer-events:none}
.lite-unit.selected .lite-product-tag{border-color:#efab42;box-shadow:0 0 0 2px rgba(239,171,66,.2),0 4px 10px rgba(20,61,48,.16)}

/* 3.1 dev10 reliability: storage/recovery surfaces intentionally avoid correction-layer override debt. */
.storage-warning{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 16px;background:#fff4e8;border-bottom:1px solid #e7b77d;color:#5c3214}
.storage-warning span{display:grid;gap:2px}.storage-warning strong{font-size:13px}.storage-warning small{font-size:12px;line-height:1.4}.storage-warning button{min-height:40px;padding:0 14px;border:1px solid currentColor;border-radius:9px;background:transparent;font:inherit;font-weight:700;color:inherit;cursor:pointer}
.agrisim-recovery-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f4f7f2;color:#162116;font-family:var(--font-ui,Arial,sans-serif)}
.agrisim-recovery-screen>section{width:min(620px,100%);display:grid;gap:14px;padding:28px;border:1px solid #cbd5c6;border-radius:18px;background:#fff;box-shadow:0 18px 60px rgba(20,40,20,.12)}
.agrisim-recovery-screen small{font-weight:800;letter-spacing:.08em}.agrisim-recovery-screen h1{margin:0;font-size:28px}.agrisim-recovery-screen p{margin:0;line-height:1.6}.agrisim-recovery-screen button{min-height:44px;border:0;border-radius:10px;background:#183d2b;color:#fff;font:inherit;font-weight:800;cursor:pointer}.agrisim-recovery-screen button.secondary{background:#eef3ec;color:#183d2b}.agrisim-recovery-screen code{display:block;margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:640px){.storage-warning{grid-template-columns:auto minmax(0,1fr)}.storage-warning button{grid-column:1/-1;min-height:44px}}

/* 3.1 dev10 credibility surfaces: compact, visible model caveats without turning the canvas into documentation. */
.evidence-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;margin-top:4px;padding:3px 7px;border:1px solid rgba(22,54,38,.18);border-radius:999px;background:rgba(255,255,255,.72);font-size:10px;line-height:1.2;font-style:normal;font-weight:750;color:#43564a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.evidence-badge.pending{border-color:#d9a968;background:#fff6e8;color:#754615}
.credibility-strip{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:0 12px 12px}.plan-checks,.source-register{border:1px solid var(--border-soft,#dfe5dc);border-radius:11px;background:rgba(255,255,255,.92);color:#26372d}.plan-checks>summary,.source-register>summary,.plan-checks-clear{display:flex;align-items:center;gap:9px;min-height:44px;padding:8px 11px;cursor:pointer;list-style:none}.plan-checks>summary::-webkit-details-marker,.source-register>summary::-webkit-details-marker{display:none}.plan-checks span,.source-register summary span,.plan-checks-clear span{display:grid;gap:1px}.plan-checks strong,.source-register strong,.plan-checks-clear strong{font-size:12px}.plan-checks small,.source-register small,.plan-checks-clear small{font-size:11px;line-height:1.35;color:#647168}.plan-checks-clear{cursor:default}.plan-check-list,.source-register>div{display:grid;gap:7px;padding:0 10px 10px}.plan-check{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;padding:9px;border-radius:9px;background:#f6f8f4}.plan-check.action{background:#fff3ed}.plan-check.review{background:#fff8e9}.plan-check span{display:grid}.source-register article{display:grid;gap:3px;padding:9px;border-radius:9px;background:#f6f8f4}.source-register article em{font-size:10px;font-style:normal;font-weight:750;color:#65766b}.source-register p{margin:0;font-size:12px;color:#647168}
@media(max-width:820px){.credibility-strip{grid-template-columns:1fr}.evidence-badge{font-size:9px}}

/* 3.1 decision-credibility: business-case panel. Existing cascade is extended without new debt overrides. */
.inspector-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
.inspector-tabs button{min-width:0;padding:0 5px;line-height:1.15}
.economics-panel{padding-bottom:28px}
.economics-summary-head{padding:18px 16px;display:flex;gap:11px;background:#f5f1e7;border-bottom:1px solid #e7dfcc}
.economics-summary-head>span{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:#fff;color:#7b6532;flex:0 0 auto}
.economics-summary-head small{font-size:10px;letter-spacing:.09em;font-weight:850;color:#7b6532}
.economics-summary-head h2{font-size:18px;margin:3px 0 5px}
.economics-summary-head p{font-size:12px;line-height:1.5;color:var(--muted);margin:0}
.economics-empty{display:grid;place-items:center;text-align:center;padding:72px 24px;color:var(--muted);gap:9px}
.economics-empty strong{color:var(--ink);font-size:15px}.economics-empty p{font-size:12px;line-height:1.55;max-width:260px}
.economics-currency-row{display:grid;gap:8px}.economics-currency-row label,.economics-zone-picker{display:grid;gap:6px}.economics-currency-row label>span,.economics-zone-picker>span{font-size:12px;color:var(--muted);font-weight:700}
.economics-currency-row select,.economics-zone-picker select,.economics-input-grid select,.economics-input-grid input{height:44px;border:1px solid #dce5dd;border-radius:10px;background:#fafbf8;padding:0 10px;font:inherit;font-size:13px}
.economics-currency-row p{font-size:11px;color:var(--muted);line-height:1.45;margin:0}
.business-case-state{margin-top:12px;padding:11px;border-radius:11px;background:#fff5e5;border:1px solid #ecd9b8;display:flex;gap:9px;align-items:flex-start;color:#805c26}
.business-case-state.ready{background:#edf7ef;border-color:#cfe3d4;color:#255c3b}.business-case-state span{display:grid}.business-case-state strong{font-size:13px}.business-case-state small{font-size:11px;line-height:1.45;margin-top:2px;color:inherit;opacity:.8}
.cost-allowance-card{margin-top:12px;border:1px solid #e0e6df;border-radius:12px;padding:12px;background:#f8faf7;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.cost-allowance-card div{display:grid;gap:3px}.cost-allowance-card small{font-size:9px;letter-spacing:.08em;color:var(--green);font-weight:850}.cost-allowance-card strong{font-size:17px}.cost-allowance-card p{font-size:11px;line-height:1.45;color:var(--muted);margin:0}.cost-allowance-card button{height:40px;border:0;border-radius:9px;background:#e6f1e8;color:var(--green);font-weight:800;padding:0 12px}
.economics-input-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.economics-input-grid label{display:grid;grid-template-columns:1fr auto;gap:5px;align-items:center}.economics-input-grid label>span{grid-column:1/-1;font-size:11px;color:var(--muted);font-weight:700}.economics-input-grid input,.economics-input-grid select{min-width:0;width:100%}.economics-input-grid em{font-size:10px;color:var(--muted);font-style:normal}.cost-confirmation{margin-top:12px;padding:11px;border:1px solid #dce5dd;border-radius:11px;display:flex;align-items:flex-start;gap:9px;background:#fff}.cost-confirmation.disabled{opacity:.55}.cost-confirmation input{margin-top:3px}.cost-confirmation span{display:grid}.cost-confirmation strong{font-size:12px}.cost-confirmation small{font-size:11px;color:var(--muted);line-height:1.45;margin-top:2px}
.business-case-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.business-case-grid>div{border:1px solid #e1e7e1;border-radius:11px;padding:10px;background:#fafbf9;display:grid}.business-case-grid span{font-size:10px;color:var(--muted)}.business-case-grid strong{font-size:14px;margin-top:4px;line-height:1.25}.business-case-grid em{font-size:10px;color:#829087;font-style:normal;margin-top:4px;line-height:1.35}.business-case-placeholder{display:flex;gap:9px;align-items:flex-start;background:#f5f7f4;border:1px solid #e1e7e1;border-radius:11px;padding:12px}.business-case-placeholder span{display:grid}.business-case-placeholder strong{font-size:13px}.business-case-placeholder small{font-size:11px;color:var(--muted);line-height:1.45;margin-top:2px}.economics-disclaimer{font-size:10px;line-height:1.5;color:var(--muted);margin:12px 0 0}
@media(max-width:520px){.economics-input-grid,.business-case-grid{grid-template-columns:1fr}.cost-allowance-card{grid-template-columns:1fr}.cost-allowance-card button{width:100%}}

/* Product-engineering authority is shown beside editable specs so CAD hardware and crop recommendations remain distinct. */
.product-design-basis{display:grid;gap:9px;margin:0 0 12px;padding:11px;border:1px solid #dce5dd;border-radius:11px;background:#f8faf7;color:var(--ink)}
.product-design-basis>div:first-child,.mechanical-capacity{display:grid;gap:3px}.product-design-basis span{font-size:9px;letter-spacing:.09em;font-weight:850;color:var(--green)}.product-design-basis strong{font-size:12px;line-height:1.35}.product-design-basis small{font-size:10px;line-height:1.45;color:var(--muted)}
.product-design-basis.cad_validated{border-color:#b9d7c4;background:#f1f8f2}.product-design-basis.research_concept{border-color:#e1d5b6;background:#fff9eb}.product-design-basis.research_concept span{color:#846729}
.product-design-basis dl{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0}.product-design-basis dl>div{display:grid;gap:2px;padding:8px;border-radius:8px;background:rgba(255,255,255,.72)}.product-design-basis dt{font-size:9px;color:var(--muted);font-weight:750}.product-design-basis dd{margin:0;font-size:11px;font-weight:750;color:var(--ink)}
.mechanical-capacity{padding-top:8px;border-top:1px solid rgba(32,76,51,.12)}
@media(max-width:520px){.product-design-basis dl{grid-template-columns:1fr}}

/* dev12 product inspection controls */
.product-explore-launch{width:100%;min-height:48px;border:1px solid #cfe0d3;border-radius:9px;background:#fff;display:grid;grid-template-columns:24px 1fr;align-items:center;gap:8px;padding:8px 10px;text-align:left;color:var(--ink)}
.product-explore-launch>svg{color:var(--green)}.product-explore-launch>span{display:grid;gap:2px}.product-explore-launch strong{font-size:10px}.product-explore-launch small{font-size:9px;line-height:1.35;color:var(--muted)}
.product-explore-launch:hover{border-color:#9fc5ac;background:#f3f8f3}
.product-explorer{position:absolute;z-index:15;top:62px;left:50%;transform:translateX(-50%);width:min(650px,calc(100% - 28px));border:1px solid rgba(202,218,206,.95);border-radius:13px;background:rgba(255,255,255,.95);box-shadow:0 12px 28px rgba(26,57,44,.14);padding:10px;backdrop-filter:blur(10px)}
.product-explorer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:1px 2px 8px}.product-explorer-head>div{display:grid;gap:2px}.product-explorer-head span{font-size:7px;letter-spacing:.12em;font-weight:900;color:var(--green)}.product-explorer-head strong{font-size:13px}.product-explorer-head small{font-size:8px;color:var(--muted)}.product-explorer-head>button{width:31px;height:31px;border:0;border-radius:8px;background:#eef3ee;display:grid;place-items:center;color:var(--ink)}
.product-explorer-layers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.product-explorer-layers button{min-height:48px;border:1px solid #dce5dd;border-radius:9px;background:#fafbf9;display:grid;grid-template-columns:18px 1fr;align-items:center;gap:5px;padding:6px;text-align:left;color:var(--ink)}.product-explorer-layers button>svg{color:#61756b}.product-explorer-layers button>span{display:grid;min-width:0}.product-explorer-layers strong{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-explorer-layers small{font-size:6px;line-height:1.25;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-explorer-layers button.active{background:#eaf3eb;border-color:#9fc5ac}.product-explorer-layers button.active>svg{color:var(--green)}
.product-explorer>p{margin:7px 2px 0;font-size:7px;color:var(--muted)}
@media(max-width:620px){.product-explorer{top:106px;width:calc(100% - 18px);padding:8px}.product-explorer-layers{grid-template-columns:repeat(2,minmax(0,1fr))}.product-explorer-layers button{min-height:44px}.product-explorer-head small,.product-explorer>p{display:none}}
