:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#101e3b;background:#f2f7f5;--ink:#0c1b3a;--muted:#71829c;--green:#00a36b;--dark-green:#007d58;--line:#e5edf0;--mint:#e9faf4;--radius:21px;--shadow:0 5px 22px rgba(18,55,67,.065)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}h1,h2,h3,p{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #7ed6ad;outline-offset:2px}a{color:#047955;text-decoration:none}.app{max-width:1180px;min-height:100vh;margin:auto;background:#fff;box-shadow:0 0 75px rgba(9,75,60,.055);padding-bottom:98px}.statusbar{height:37px;padding:10px 29px 0;display:flex;justify-content:space-between;align-items:flex-start;font-size:14px;font-weight:850;color:#12313c}.statusicons{display:flex;gap:6px;align-items:center}.statusicons svg{width:17px;height:17px}.topbar{padding:14px 29px 14px;display:flex;justify-content:space-between;align-items:center;gap:10px}.brand{display:flex;gap:11px;align-items:center}.brand-logo{color:#28ad54;width:37px;height:40px;display:flex;align-items:center;justify-content:center}.brand-name{font-size:24px;font-weight:830;color:#073737;letter-spacing:-.06em;line-height:1.04}.brand-sub{font-size:13px;color:#6a7d95;margin-top:4px}.head-actions{display:flex;gap:15px;align-items:center}.iconbutton{border:0;background:#fff;display:grid;place-items:center;border-radius:13px;width:36px;height:36px;color:#52667a;position:relative}.iconbutton:hover,.inline-link:hover{background:#f0faf6}.bell-count{position:absolute;background:#f25d48;border-radius:30px;color:white;font-size:11px;width:18px;height:18px;display:grid;place-items:center;top:-3px;right:-3px}.avatar{background:#c5f0df;color:#06936d;border-radius:100%;width:35px;height:35px;display:grid;place-items:center;border:0}.content{padding:8px 29px 24px}.page-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:12px 6px 17px}.page-title h1{font-size:30px;font-weight:845;line-height:1.13;letter-spacing:-.045em}.page-title p{font-size:15px;line-height:1.37;color:#73829b;margin-top:4px}.page-date{text-align:right;color:#6e8097;font-size:12px;line-height:1.6;white-space:nowrap}.section{margin-top:15px}.grid{display:grid;gap:12px}.cols2{grid-template-columns:repeat(2,minmax(0,1fr))}.cols4{grid-template-columns:repeat(4,minmax(0,1fr))}.hero-grid{grid-template-columns:minmax(0,1.72fr) minmax(280px, .93fr)}.card{border:1px solid #ecf0f2;background:#fff;box-shadow:var(--shadow);border-radius:19px;padding:16px;min-width:0}.card-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:11px}.card-title h2{font-size:16px;font-weight:800;display:flex;align-items:center;gap:8px}.card-title svg{color:var(--green)}.muted{color:var(--muted)}.tiny{font-size:11px}.small{font-size:12px}.link{border:0;background:none;color:#0878cd;padding:5px;font-size:12px;font-weight:650;white-space:nowrap}.button,.pill-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:760;padding:10px 13px;border-radius:13px;border:0;min-height:37px}.button.green{background:#009969;color:white}.button.soft{background:#ddf8ed;color:#007b5b}.button.neutral{background:#eef3f6;color:#526679}.button.outline{border:1.4px solid #39b98f;background:#fff;color:#007f5d}.button:hover,.pill-button:hover,.quick:hover,.map-action:hover{filter:brightness(.97);transform:translateY(-1px)}.full{width:100%}.badge{display:inline-flex;padding:4px 10px;border-radius:100px;font-size:11px;font-weight:700;color:#087b53;background:#d4f8df}.badge.alert{color:#e44835;background:#ffe5e2}.badge.blue{background:#e4f2ff;color:#237ac8}.badge.grey{background:#eef1f5;color:#718097}.badge.orange{background:#fff0dc;color:#a76b10}.demo-strip{margin:2px 29px 0;padding:7px 12px;border-radius:9px;background:#f4faf6;color:#647d74;font-size:11px;display:flex;align-items:center;gap:6px}.demo-strip svg{flex-shrink:0}.photo-map{height:310px;position:relative;overflow:hidden;border-radius:18px;cursor:pointer;background:url('assets/minami-home-map.jpg') center/cover}.photo-map:after{content:'';inset:0;position:absolute;pointer-events:none;background:linear-gradient(180deg,rgba(4,38,24,.08),transparent 55%)}.photo-map button.map-action{position:absolute;right:15px;top:14px;border:0;border-radius:30px;background:#fff;color:#152c3a;font-size:12px;font-weight:750;padding:11px 15px;z-index:2}.home-location{font-size:11px;color:#daf9e9;position:absolute;left:16px;bottom:12px;background:rgba(9,40,28,.65);padding:5px 9px;border-radius:8px;z-index:2}.weather-card{padding:17px 18px}.weather-top{display:flex;justify-content:space-between;gap:6px;align-items:start}.weather-top strong{font-size:17px}.weather-loc{font-size:11px;color:#74849a;text-align:right;max-width:138px}.weather-now{display:flex;align-items:center;gap:13px;padding:13px 0}.weather-sym{font-size:51px;line-height:1}.weather-temp{font-size:37px;letter-spacing:-.05em;font-weight:850}.weather-cond{font-size:13px;margin-top:2px}.weather-high{color:var(--muted);font-size:12px;margin-top:4px}.weather-alert{display:flex;gap:9px;align-items:center;padding:12px 0;border-top:1px solid var(--line);width:100%;background:none;border-left:0;border-right:0;border-bottom:0;text-align:left}.weather-alert svg{flex-shrink:0}.weather-alert strong{font-size:12px}.weather-alert small{font-size:11px;color:var(--muted);display:block;margin-top:3px}.metric{padding:13px 12px;min-height:164px;overflow:hidden}.metric-head{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:730;line-height:1.2;min-height:26px}.metric-head svg{width:24px;height:24px;flex-shrink:0}.metric-value{font-size:29px;font-weight:850;letter-spacing:-.05em;margin:5px 0 7px;line-height:1.2}.metric .badge{margin-bottom:6px}.spark{width:100%;height:30px;display:block}.metric-foot{display:flex;justify-content:space-between;align-items:center;font-size:10px;margin-top:4px;gap:3px}.metric-foot b{color:#11a266}.metric-foot .fall{color:#eb6555}.barprogress{height:9px;border-radius:10px;background:#e7e9ea;overflow:hidden;margin-top:13px}.barprogress span{display:block;height:100%;background:linear-gradient(90deg,#02a870,#54cf88);border-radius:10px}.plan-banner{background:linear-gradient(110deg,#e0f8ef,#edfbf7);border-radius:21px;padding:17px 20px;display:flex;align-items:center;gap:18px;justify-content:space-between;border:1px solid #dff5ee}.plan-left{display:flex;align-items:center;gap:14px;min-width:0;flex:1}.round-icon{width:54px;height:54px;border-radius:50%;background:#00a978;color:white;display:grid;place-items:center;flex-shrink:0}.plan-name{font-size:26px;font-weight:850;letter-spacing:-.04em;line-height:1.12}.plan-caption{font-size:12px;color:#627c8b;max-width:300px;margin-top:7px}.plan-right{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;border-left:1px solid #bde5dc;padding-left:15px;align-self:stretch;align-items:center;flex:1}.plan-module{text-align:center;color:#0b544e;font-size:10px;font-weight:700;display:flex;flex-direction:column;align-items:center;gap:4px}.plan-module svg{width:24px;height:24px}.module-check{border-radius:50%;background:#0aab73;color:white;font-size:11px;width:17px;height:17px;line-height:17px}.module-off{opacity:.35}.manage{border:1px solid #85c9b6;border-radius:20px;background:white;color:#07564e;padding:6px 12px;font-size:11px;font-weight:750;white-space:nowrap}.quick{border:0;border-radius:19px;text-align:left;min-height:140px;padding:14px 15px;display:flex;flex-direction:column;align-items:start;color:var(--ink);position:relative;gap:9px}.quick.green{background:#e7f9ef}.quick.blue{background:#e7f4ff}.quick.violet{background:#f0ecff}.quick.orange{background:#fff1e6}.quick-icon{border-radius:13px;padding:10px;display:grid;place-items:center;color:white;background:#09ad75}.quick.blue .quick-icon{background:#378fec}.quick.violet .quick-icon{background:#886af0}.quick.orange .quick-icon{background:#ff8e51}.quick strong{font-size:14px;line-height:1.2}.quick span.desc{color:#758398;font-size:12px;line-height:1.38}.quick .right-arr{position:absolute;right:13px;top:16px}.media-card{display:grid;grid-template-columns:108px 1fr;gap:12px;align-items:start}.media-card img{height:105px;width:108px;border-radius:12px;object-fit:cover}.media-card h3{font-size:12px;line-height:1.3}.media-card p{font-size:11px;line-height:1.42;color:#718097;margin-top:5px}.media-actions{margin-top:12px;display:flex;gap:8px}.media-actions .button{flex:1;padding:8px;font-size:11px}.tabbar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);max-width:1180px;width:100%;height:77px;padding:9px 10px 15px;border-radius:21px 21px 0 0;box-shadow:0 -4px 18px rgba(21,75,65,.085);background:rgba(255,255,255,.97);display:grid;grid-template-columns:repeat(5,1fr);z-index:15;backdrop-filter:blur(10px)}.tabbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#66778a;background:none;border:0;font-size:11px}.tabbar button.active{color:#00a269;font-weight:750}.tabbar svg{width:22px;height:22px}.footer-note{font-size:11px;line-height:1.5;color:#8b9aa0;padding:16px 0 6px}.field-large{height:520px;border-radius:20px;position:relative;overflow:hidden;background:#18412c}.field-photo{position:absolute;inset:0;background:url('assets/minami-field-map.jpg') center/cover;transform:scale(var(--zoom,1));transition:transform .2s,filter .25s}.field-large.index-mode .field-photo{filter:saturate(1.6) contrast(1.05) hue-rotate(9deg)}.field-caption{position:absolute;top:17px;left:17px;background:rgba(8,34,32,.77);color:#fff;padding:12px 15px;border-radius:14px;z-index:2}.field-caption strong{font-size:16px}.field-caption small{display:block;font-size:11px;color:#d9f5e9;margin-top:4px}.map-hotspots{position:absolute;inset:0;z-index:3;pointer-events:none}.map-hotspots button{position:absolute;pointer-events:auto;border:0;background:rgba(255,255,255,.04);border-radius:50%;width:75px;height:75px}.map-hotspots button:hover{background:rgba(255,255,255,.26);box-shadow:0 0 0 2px #e0ffe9}.map-controls{position:absolute;right:12px;bottom:19px;z-index:5;display:grid;gap:7px}.map-controls button{border:0;border-radius:12px;background:#fff;color:#365c69;width:41px;height:41px;display:grid;place-items:center;box-shadow:0 2px 8px #0002}.map-options{display:flex;gap:8px;flex-wrap:wrap;padding:10px 0}.chip{border-radius:12px;background:#fff;border:1px solid #dfe9ed;padding:9px 12px;font-size:12px;color:#516777;font-weight:720;display:inline-flex;gap:6px;align-items:center}.chip.active{background:#dcf8ec;border-color:#a3e9d0;color:#007a56}.map-mode{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.layer-panel{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.layer-panel label{font-size:11px;border:1px solid #e3eaeb;border-radius:10px;padding:7px;display:flex;align-items:center;gap:4px;background:#fff;cursor:pointer}.layer-panel input{accent-color:#04a56e}.field-metrics .metric{min-height:127px}.segment-tabs{display:grid;grid-template-columns:repeat(4,1fr);background:#eff5f6;border-radius:14px;overflow:hidden}.segment-tabs.three{grid-template-columns:repeat(3,1fr)}.segment-tabs button{border:0;background:none;color:#586f83;padding:12px 6px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:750}.segment-tabs button.selected{background:#d9f5e8;color:#006c52;border-bottom:3px solid #00996c}.timeline{display:flex;align-items:center;justify-content:space-between;padding:16px 5px;color:#83919f;gap:3px}.timeline button{border:0;background:none;color:inherit;text-align:center;font-size:11px;flex:1}.timeline b{width:13px;height:13px;border-radius:50%;background:#b4c2cb;display:block;margin:0 auto 7px}.timeline button.active{color:#00885a;font-weight:800}.timeline button.active b{background:#00a878;box-shadow:0 0 0 4px #c9f4e0}.advice-card{border-radius:23px;padding:18px 20px;box-shadow:var(--shadow);border:1px solid #ecf0f2}.advice-card .media-card{grid-template-columns:125px 1fr}.advice-card .media-card img{width:125px;height:116px}.input-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.select{border-radius:11px;border:1px solid #dbe5e9;background:#fff;color:#42586d;padding:10px 12px;font-size:12px;max-width:100%}.alert-list{display:grid;gap:10px}.alert-item{width:100%;border:1px solid #ecedf0;border-radius:18px;display:grid;grid-template-columns:60px 1fr auto 108px;align-items:center;text-align:left;gap:12px;padding:12px 15px;min-height:116px;box-shadow:var(--shadow);color:var(--ink)}.alert-item.red{background:#fff0f1}.alert-item.blue{background:#eef8ff}.alert-item.green{background:#effbf3}.alert-item.yellow{background:#fff9e9}.alert-item.read{opacity:.63}.alert-symbol{height:56px;width:56px;display:grid;place-items:center;border-radius:13px;color:#f05549;background:#fce0df}.alert-item.blue .alert-symbol{color:#3397eb;background:#dbeeff}.alert-item.green .alert-symbol{color:#29a85c;background:#dff8e9}.alert-item.yellow .alert-symbol{color:#efa31e;background:#fff0c8}.alert-copy strong{font-size:15px}.alert-copy p{font-size:12px;line-height:1.42;color:#71809a;margin-top:5px}.alert-time{font-size:10px;color:#8390a3;text-align:right;align-self:start;white-space:nowrap}.alert-thumb{width:108px;height:78px;border-radius:12px;object-fit:cover}.alert-weather{width:108px;border-radius:12px;background:#fff9;padding:8px;text-align:center;font-size:12px}.alert-weather strong{font-size:22px}.recommend{background:#e6f8ef;padding:13px;border-radius:18px}.recommend-item{display:flex;gap:10px;align-items:center;border-bottom:1px solid #e9eff0;background:white;padding:11px;border-radius:9px;font-size:12px}.recommend-num{height:29px;width:29px;border-radius:50%;display:grid;place-items:center;background:#bceede;font-size:15px;font-weight:750;flex-shrink:0}.plan-hero{display:flex;justify-content:space-between;gap:12px;align-items:center}.plan-hero img{width:240px;height:90px;object-fit:cover;border-radius:16px}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.plan-card{border-radius:22px;border:1px solid #e3eced;box-shadow:var(--shadow);padding:17px;display:flex;flex-direction:column;min-height:435px}.plan-card.selected{border:2px solid #03a675;background:linear-gradient(155deg,#f6fffb,#eafbf3)}.plan-icon{border-radius:50%;width:52px;height:52px;display:grid;place-items:center;background:#e0f0ff;color:#178feb}.plan-card.custom .plan-icon{background:#d5f7e9;color:#009d6a}.plan-card.premium .plan-icon{background:#fff0dd;color:#ffa32f}.plan-card h2{font-size:25px;margin-top:12px;letter-spacing:-.04em}.plan-card h3{font-size:13px;font-weight:500;margin-top:2px}.plan-card p{color:#74839a;line-height:1.4;font-size:12px;margin-top:10px;min-height:48px}.price{font-size:28px;font-weight:850;margin:17px 0 11px;white-space:nowrap;letter-spacing:-.035em}.price small{font-size:11px;font-weight:450;color:#78869a;letter-spacing:0}.plan-features{padding:0;margin:0 0 14px;list-style:none;flex:1}.plan-features li{display:flex;gap:7px;align-items:flex-start;margin:9px 0;color:#60738a;font-size:12px;line-height:1.35}.plan-features svg{color:#0ca776;flex-shrink:0}.plan-features li.disabled{color:#adb7c1}.plan-features li.disabled svg{color:#b8c2ca}.addons{display:grid;gap:0}.addon-row{display:grid;grid-template-columns:45px minmax(0,1fr) auto 45px;gap:12px;align-items:center;border:1px solid #eaf0f2;padding:9px 12px;border-radius:13px;margin-top:6px}.addon-row strong{font-size:13px}.addon-row p{font-size:11px;color:#7d8da1;margin-top:3px}.addon-row .price-text{font-size:12px;font-weight:750;white-space:nowrap}.switch{height:24px;width:44px;border-radius:30px;background:#b7c4c9;border:0;padding:3px;text-align:left;transition:.2s}.switch.on{background:#00aa71}.switch span{display:block;background:white;height:18px;width:18px;border-radius:50%;transition:transform .2s}.switch.on span{transform:translateX(20px)}.plan-total{border-radius:20px;background:#e4faf2;padding:17px;display:flex;gap:15px;justify-content:space-between;align-items:center}.plan-total strong{font-size:24px}.monitor-photo{position:relative;overflow:hidden;border-radius:18px;height:320px;background:#113728}.monitor-photo img{width:100%;height:100%;object-fit:cover}.monitor-photo.secondary{height:320px}.monitor-row{display:grid;grid-template-columns:minmax(0,3.2fr) minmax(135px,.9fr);gap:12px}.camera-flag{position:absolute;left:12px;top:12px;background:#172c3ec9;color:white;border-radius:18px;padding:8px 12px;font-size:12px;font-weight:770}.camera-info{position:absolute;left:15px;right:15px;bottom:13px;color:white;text-shadow:0 2px 4px #000;font-weight:760;font-size:15px}.camera-info small{display:block;font-size:11px;font-weight:400;margin-top:4px}.monitor-grid{grid-template-columns:repeat(4,1fr)}.monitor-two{grid-template-columns:1fr 1fr}.monitor-two img{max-width:130px;border-radius:13px}.report-controls{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}.report-kpi{min-height:125px;padding:15px}.report-kpi .value{font-size:26px;font-weight:850;margin:6px 0}.report-kpi h3{font-size:12px;font-weight:700}.chart-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.chartcard{min-height:230px}.plot{width:100%;height:auto;display:block}.plot text{font-size:11px;fill:#798aa0;font-family:inherit}.plot .gridline{stroke:#e7edf0;stroke-width:1}.plot .baseline{stroke:#bac9ce;stroke-width:1.1}.legend{font-size:10px;color:#708198;display:flex;gap:15px;justify-content:center;margin-top:3px;flex-wrap:wrap}.legend span:before{content:'';height:3px;width:16px;background:var(--legend,#23ab78);display:inline-block;vertical-align:middle;margin-right:5px}.summary-analysis{display:grid;grid-template-columns:95px 1fr minmax(180px,.75fr);gap:12px;align-items:center}.summary-analysis img{width:95px;height:95px;object-fit:cover;border-radius:12px}.summary-analysis p{font-size:12px;color:#73839a;line-height:1.53}.recommend-mini{background:#effaf4;border-radius:12px;padding:12px;font-size:11px;color:#577268}.recommend-mini strong{color:#0b8261;font-size:12px}.recommend-mini div{margin-top:8px}.download-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.download-chip{display:flex;gap:9px;align-items:center;text-align:left;padding:10px;border:1px solid #e9eeef;background:white;border-radius:13px;min-width:0}.download-chip strong{font-size:11px;line-height:1.2}.download-chip small{font-size:10px;color:#8e9aa8;display:block}.expert-block{display:flex;gap:12px;align-items:center}.expert-block img{width:95px;height:95px;object-fit:cover;border-radius:12px}.expert-block strong{font-size:14px}.expert-block p{font-size:11px;color:#77899b;margin-top:4px}.doc-item{display:grid;grid-template-columns:52px 1fr auto;gap:10px;align-items:center;padding:7px 0;border-bottom:1px solid #edf1f1}.doc-item img{width:52px;height:48px;border-radius:9px;object-fit:cover}.doc-item strong{font-size:11px}.doc-item small{font-size:10px;color:#8d9baa}.chatbox{height:260px;overflow-y:auto;background:#f5faf8;padding:12px;border-radius:13px;display:flex;flex-direction:column;gap:9px}.message{max-width:87%;background:white;padding:10px;border-radius:12px;font-size:12px;line-height:1.5}.message.user{margin-left:auto;background:#d9f7e9}.chat-form{display:flex;gap:8px;margin-top:10px}.chat-form input,.form-input{width:100%;border-radius:11px;border:1px solid #dfe9ec;padding:11px 12px;background:#fff}.field{margin-top:10px}.field label{display:block;font-size:12px;color:#627588;margin-bottom:6px}.dialog-backdrop{position:fixed;inset:0;z-index:40;background:#1726319c;display:grid;place-items:center;padding:18px}.dialog-backdrop[hidden]{display:none}.dialog-panel{background:#fff;border-radius:22px;padding:21px;width:min(500px,100%);max-height:86vh;overflow-y:auto;box-shadow:0 20px 50px #051b2345}.dialog-top{display:flex;justify-content:space-between;gap:10px;align-items:start;margin-bottom:12px}.dialog-panel h2{font-size:21px}.dialog-panel p{font-size:13px;line-height:1.65;color:#637589}.toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);z-index:45;background:#173c32;color:white;padding:12px 18px;border-radius:15px;font-size:12px;box-shadow:0 10px 25px #0003;display:none;max-width:90%;text-align:center}.toast.show{display:block}.body-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:13px}.desktop-side{display:none}.info-line{border-top:1px solid #e8edf0;padding:11px 0;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px}.info-line strong{font-size:12px}.ja-list{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.ja-list .card{cursor:pointer}.ja-list .card p{font-size:12px;line-height:1.5;color:#70809a;margin-top:7px}.notice{background:#f1f8f4;border-radius:12px;padding:11px;font-size:11px;color:#688077;line-height:1.5}.crop-pill{display:inline-flex;gap:5px;padding:5px 9px;background:#ecf8f1;border-radius:30px;font-size:11px;color:#027655}.chart-switch{display:flex;gap:8px;align-items:center}.chart-switch button{border:1px solid #dce8e7;border-radius:9px;background:white;padding:7px 10px;font-size:11px;color:#647a87}.chart-switch button.active{color:#00885e;background:#e5f9ed}.report-grid-bottom{grid-template-columns:1fr 1fr}.page-lede{font-size:12px;color:#7d8b9e}.shrink{flex-shrink:0}
@media(max-width:850px){.app{max-width:800px}.statusbar{padding-left:19px;padding-right:19px}.topbar{padding:12px 19px}.content{padding:5px 17px 24px}.demo-strip{margin:0 17px 0}.page-title{margin-left:4px;margin-right:4px}.page-title h1{font-size:27px}.hero-grid{grid-template-columns:minmax(0,1.55fr) minmax(240px,1fr)}.photo-map{height:275px}.metric{padding:11px}.plan-banner{padding:16px}.card{padding:14px}.quick{min-height:124px;padding:12px}.summary-analysis{grid-template-columns:75px 1fr}.summary-analysis .recommend-mini{grid-column:1/-1}.alert-item{grid-template-columns:48px 1fr 85px;gap:8px}.alert-symbol{width:46px;height:46px}.alert-time{display:none}.alert-thumb,.alert-weather{width:85px}.field-large{height:430px}}
@media(max-width:600px){.statusbar{height:29px;font-size:12px;padding-top:7px}.topbar{padding:10px 15px 12px}.brand-logo{width:31px;height:34px}.brand-name{font-size:22px}.brand-sub{font-size:11px}.head-actions{gap:9px}.content{padding:2px 12px 20px}.demo-strip{margin:2px 12px 0;font-size:9px;padding:6px 10px}.page-title{margin:12px 2px 14px}.page-title h1{font-size:24px}.page-title p{font-size:12px}.page-date{font-size:9px;max-width:130px;white-space:normal}.hero-grid{grid-template-columns:minmax(0,1.35fr) minmax(130px,.9fr);gap:7px}.photo-map{height:214px;border-radius:14px}.photo-map button.map-action{font-size:10px;padding:7px 10px;right:8px;top:8px}.home-location{font-size:8px;bottom:6px;left:7px}.weather-card{padding:9px 8px}.weather-top strong{font-size:12px}.weather-loc{font-size:9px}.weather-now{gap:5px;padding:9px 0}.weather-sym{font-size:27px}.weather-temp{font-size:26px}.weather-cond{font-size:11px}.weather-high{font-size:9px}.weather-alert{padding:9px 0;gap:5px}.weather-alert strong{font-size:10px}.weather-alert small{font-size:9px;margin-top:2px}.weather-alert svg{width:19px;height:19px}.cols4{gap:6px}.metric{padding:9px 7px;min-height:135px;border-radius:14px}.metric-head{font-size:9px;gap:3px;min-height:22px}.metric-head svg{width:17px;height:17px}.metric-value{font-size:21px;margin:6px 0}.metric .badge{font-size:9px;padding:3px 6px}.metric-foot{font-size:8px}.spark{height:22px}.barprogress{margin-top:12px;height:7px}.plan-banner{padding:12px;flex-wrap:wrap;gap:9px;border-radius:15px}.plan-left{gap:8px}.round-icon{width:38px;height:38px}.round-icon svg{width:22px;height:22px}.plan-name{font-size:19px}.plan-caption{font-size:10px;margin-top:3px}.manage{font-size:9px;padding:5px 8px}.plan-right{width:100%;flex:initial;align-self:auto;border-left:0;border-top:1px solid #bfe7da;padding:9px 0 0;gap:4px}.plan-module{font-size:9px}.plan-module svg{width:18px;height:18px}.quick{min-height:105px;border-radius:13px;padding:9px 8px;gap:5px}.quick-icon{padding:7px;border-radius:10px}.quick-icon svg{height:20px;width:20px}.quick strong{font-size:11px}.quick span.desc{font-size:9px}.quick .right-arr{right:4px;top:9px;width:12px}.cols2{gap:8px}.card{border-radius:15px;padding:11px}.card-title h2{font-size:13px}.card-title{margin-bottom:10px}.link{font-size:10px}.media-card,.advice-card .media-card{grid-template-columns:66px 1fr;gap:8px}.media-card img,.advice-card .media-card img{width:66px;height:78px;border-radius:9px}.media-card h3{font-size:11px}.media-card p{font-size:10px;line-height:1.4}.media-actions{gap:5px;margin-top:7px}.media-actions .button{font-size:9px;min-height:29px;padding:6px}.tabbar{height:69px;padding:7px 3px 13px}.tabbar button{font-size:9px}.tabbar svg{width:21px;height:21px}.field-large{height:330px}.field-caption{top:9px;left:9px;padding:7px 9px;max-width:235px}.field-caption strong{font-size:11px}.field-caption small{font-size:9px}.map-controls{bottom:8px;right:7px;gap:5px}.map-controls button{height:30px;width:30px;border-radius:8px}.map-controls svg{width:15px}.map-hotspots button{width:50px;height:50px}.field-metrics .metric{min-height:92px}.segment-tabs button{padding:9px 3px;font-size:10px;gap:3px}.segment-tabs svg{width:16px}.timeline button{font-size:9px}.timeline b{width:10px;height:10px}.advice-card{padding:11px}.input-row{gap:5px}.select{padding:7px 5px;font-size:10px}.alert-item{grid-template-columns:40px minmax(0,1fr) 61px;gap:6px;padding:9px;min-height:95px;border-radius:13px}.alert-symbol{width:39px;height:42px}.alert-symbol svg{width:23px}.alert-copy strong{font-size:11px}.alert-copy p{font-size:10px;margin-top:3px}.alert-thumb,.alert-weather{width:61px;height:70px;border-radius:9px}.alert-weather{font-size:9px;padding:7px 3px}.alert-weather strong{font-size:14px}.recommend-item{padding:8px;font-size:10px}.recommend-num{height:23px;width:23px;font-size:11px}.plan-hero img{width:115px;height:65px}.plan-grid{gap:5px}.plan-card{padding:9px 7px;border-radius:13px;min-height:320px}.plan-icon{width:32px;height:32px}.plan-icon svg{width:19px;height:19px}.plan-card h2{font-size:16px;margin-top:8px}.plan-card h3{font-size:10px}.plan-card p{font-size:10px;min-height:54px;margin-top:7px}.price{font-size:17px;margin:10px 0 7px}.price small{font-size:8px}.plan-features li{font-size:9px;gap:4px;margin:7px 0}.plan-features svg{width:13px;height:13px}.plan-card .button{font-size:9px;min-height:30px;padding:6px 4px}.addon-row{grid-template-columns:29px minmax(0,1fr) auto 37px;gap:6px;padding:7px}.addon-row strong{font-size:11px}.addon-row p{font-size:9px}.addon-row .price-text{font-size:10px}.switch{width:36px;height:21px}.switch span{height:15px;width:15px}.switch.on span{transform:translateX(15px)}.plan-total{padding:12px}.plan-total strong{font-size:19px}.monitor-photo,.monitor-photo.secondary{height:175px}.monitor-row{grid-template-columns:2.5fr .8fr;gap:6px}.camera-flag{font-size:9px;padding:5px 8px}.camera-info{font-size:10px;bottom:7px;left:8px}.camera-info small{font-size:8px}.monitor-two{gap:8px}.monitor-two img{max-width:72px}.monitor-grid{grid-template-columns:repeat(4,1fr)}.report-kpi{padding:9px;min-height:89px}.report-kpi h3{font-size:9px}.report-kpi .value{font-size:17px}.chart-grid{gap:7px}.chartcard{padding:9px;min-height:154px}.chartcard .card-title h2{font-size:11px}.plot text{font-size:10px}.legend{font-size:8px;gap:7px}.summary-analysis{grid-template-columns:54px 1fr;gap:8px}.summary-analysis img{width:54px;height:62px}.summary-analysis p{font-size:10px}.download-row{grid-template-columns:repeat(2,1fr)}.download-chip{padding:8px}.expert-block img{width:64px;height:70px}.expert-block strong{font-size:11px}.expert-block p{font-size:9px}.report-grid-bottom{gap:8px}.doc-item{grid-template-columns:36px 1fr auto;gap:5px}.doc-item img{width:36px;height:35px}.doc-item strong{font-size:9px}.doc-item small{font-size:8px}.doc-item .button{padding:5px;font-size:9px;min-height:26px}.body-grid{grid-template-columns:1fr}.ja-list{grid-template-columns:1fr}.chatbox{height:220px}.field-caption{font-size:10px}}
@media(max-width:350px){.page-title h1{font-size:21px}.metric-head{font-size:8px}.plan-grid{gap:3px}.plan-card{padding:7px 5px}.price{font-size:15px}.hero-grid{grid-template-columns:1.1fr .9fr}.weather-sym{font-size:22px}.weather-temp{font-size:23px}}
@media print{.tabbar,.head-actions,.demo-strip,.button,.link,.chip,.statusbar,.map-controls{display:none!important}.app{box-shadow:none;padding-bottom:0}.content{padding:5px}.card{box-shadow:none}.chartcard{break-inside:avoid}}

@media(max-width:600px){.chartcard .plot{height:114px}.chartcard{min-height:198px}}

/* V3: responsive application shell: multi-column desktop + touch-friendly mobile */
:root {--surface:#fff;--green:#00a870;--navy:#0b1f3b;--lightline:#e7eef1;--amber:#f1ab31;--danger:#ee625a}
@media (min-width:1025px){
  body{background:#f1f6f5}
  .app{max-width:1680px;min-height:100vh;display:grid;grid-template-columns:236px minmax(0,1fr);padding:0;background:#f9fbfa;box-shadow:0 12px 40px #123a3910}
  .workspace{min-width:0;background:#f9fcfb;display:flex;flex-direction:column;min-height:100vh}
  .desktop-sidebar{display:flex;position:sticky;top:0;height:100vh;flex-direction:column;padding:23px 15px 18px;background:#fff;border-right:1px solid #dfece6;z-index:11;overflow-y:auto}
  .statusbar,.tabbar{display:none}
  .topbar{position:sticky;top:0;z-index:12;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid #edf1f1;padding:16px 29px}
  .topbar .brand{display:none}
  .topbar:before{content:'Farm Operations Dashboard';font-weight:820;color:#142945;font-size:18px}
  .head-actions{margin-left:auto}
  .demo-strip{margin:12px 28px 0;padding:9px 12px}
  .content{padding:17px 28px 34px;max-width:1450px;width:100%;margin:0 auto}
  .hero-grid{grid-template-columns:minmax(0,1.85fr) minmax(320px, .92fr);gap:17px}
  .photo-map{height:375px}
  .weather-card{min-height:375px;padding:20px}
  .weather-now{padding:24px 0}
  .cols4{gap:14px}
  .metric{min-height:186px;padding:17px 16px}
  .metric-value{font-size:34px}
  .quick{min-height:155px}
  .field-large{height:600px}
  .monitor-photo{height:340px}
  .monitor-photo.secondary{height:340px}
  .chartcard{min-height:265px}
  .plot{height:207px}
}
@media (min-width:1350px){
  .app{grid-template-columns:250px minmax(0,1fr)}
  .desktop-sidebar{padding-left:19px;padding-right:19px}
  .content{padding-left:38px;padding-right:38px}
  .hero-grid{grid-template-columns:minmax(0,2fr) minmax(325px,.95fr)}
}
@media (max-width:1024px){.desktop-sidebar{display:none}.workspace{min-width:0}}
.desktop-sidebar{font-size:13px;color:#294257}
.sidebar-brand{display:flex;gap:10px;align-items:center;margin:3px 9px 22px}
.sidebar-brand .side-logo{background:#dff9ea;color:#00a46f;border-radius:15px;width:47px;height:47px;display:grid;place-items:center}
.sidebar-brand strong{display:block;font-size:23px;font-weight:850;color:#063b34;letter-spacing:-.055em;line-height:1}
.sidebar-brand small{color:#6e8593;font-size:10px;display:block;margin-top:4px}
.sidebar-loc{border-radius:13px;background:#edf9f3;color:#186d58;padding:13px 12px;line-height:1.45;margin:0 5px 18px;display:block;font-weight:700}
.sidebar-loc svg{vertical-align:middle;margin-right:5px}.sidebar-loc span{padding-left:24px;color:#6a8a82;font-weight:500;font-size:11px}
.side-section{color:#9aabb5;letter-spacing:.08em;font-size:10px;font-weight:850;padding:13px 14px 7px}
.side-navitem{border:0;border-radius:12px;background:transparent;color:#62758b;display:flex;align-items:center;text-align:left;padding:13px 12px;gap:12px;width:100%;font-weight:700;font-size:13px}
.side-navitem span{flex:1}.side-navitem:hover{background:#edf9f4;color:#087851}.side-navitem.active{color:#03865e;background:#ddf8eb}
.side-navitem b{font-size:11px;background:#ffeded;color:#e85853;padding:2px 6px;border-radius:20px}
.side-plan{margin:24px 4px 0;padding:15px 12px;border-radius:17px;background:linear-gradient(155deg,#e1f7e8,#effaf6)}
.side-plan .side-status{color:#158b59;font-weight:750;display:flex;gap:4px;align-items:center;font-size:11px;margin-bottom:8px}
.side-plan strong{display:block;color:#1a4e44;font-size:13px}
.side-plan small{display:block;color:#77958b;line-height:1.4;margin:7px 0 12px}
.sidebar-foot{padding:16px 12px 3px;margin-top:auto;color:#9cabaa;font-size:10px;line-height:1.6}
.home-map-label{position:absolute;left:15px;top:17px;z-index:2;border-radius:12px;padding:12px 14px;background:rgba(2,43,37,.78);color:#fff;max-width:70%}
.home-map-label strong,.home-map-label span,.home-map-label small{display:block}.home-map-label strong{display:flex;gap:8px;align-items:center;font-size:16px}.home-map-label span{font-size:13px;font-weight:750;margin-top:4px}.home-map-label small{font-size:10px;color:#cceada;margin-top:4px}
.photo-map .map-action{display:flex;gap:5px;align-items:center}
.weather-readings{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-bottom:8px;font-size:10px;color:#5d7c89}
.weather-readings span:first-child{grid-column:1/-1}
.weather-high{color:#5b778e;font-weight:600}
.weather-card .weather-alert{align-items:center;padding-top:13px;padding-bottom:13px}.weather-card .weather-alert span{flex:1;min-width:0}
.risk-red{color:#d85148!important}.risk-amber{color:#bb8215!important}
.overview-panel{border:1px solid #dceee8;background:linear-gradient(130deg,#f8fefb,#f1faf7);border-radius:18px;padding:20px}
.status-palette{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.status-token{display:flex;align-items:center;gap:8px;border-radius:11px;background:white;border:1px solid #e7ecea;padding:10px 9px;min-width:0}
.status-dot{width:12px;height:12px;flex-shrink:0;background:var(--dot);border-radius:50%;box-shadow:0 0 0 4px color-mix(in srgb,var(--dot) 15%,transparent)}
.status-token b{display:block;font-size:11px;line-height:1.2}.status-token small{display:block;font-size:9px;color:#819397;line-height:1.4;margin-top:4px}
.threshold-mini{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:14px 0}
.threshold-mini>div{border-left:3px solid #2cc489;background:#fff;padding:9px 12px;border-radius:4px 10px 10px 4px}
.threshold-mini b,.threshold-mini span{display:block}.threshold-mini b{font-size:12px;color:#145345}.threshold-mini span{font-size:10px;color:#788899;line-height:1.5;margin-top:4px}
.alert-item{width:100%;grid-template-columns:55px minmax(0,1fr) 110px 19px;align-items:center}
.alert-copy strong{display:block;margin-top:2px}.alert-copy .event-time{display:block;font-size:10px;color:#718296;margin-top:7px}
.alert-severity{display:inline-flex;font-size:10px;font-weight:800;border-radius:99px;padding:4px 9px;background:#e5f7ee;color:#0c9160;width:max-content}
.alert-severity.red{background:#ffe4e2;color:#df4c46}.alert-severity.blue{background:#e1f2ff;color:#2f88cb}.alert-severity.yellow{background:#fff0d9;color:#ab7b15}
.heat-card #heat-slider{width:100%;margin:17px 0 2px;accent-color:#e25c49}
.heat-main{display:flex;justify-content:space-between;align-items:center;margin:12px 0 0;gap:8px}.heat-main strong{font-size:39px;letter-spacing:-.07em;color:#15314a}
.heat-state{padding:7px 12px;border-radius:14px;font-size:12px;font-weight:800}.heat-state.green{background:#e0f7eb;color:#0f875a}.heat-state.amber{background:#fff3dd;color:#af7112}.heat-state.red{background:#ffe7e7;color:#cf4d45}.heat-state.deepred{background:#b32836;color:#fff}
.heat-axis{display:flex;justify-content:space-between;color:#738ba0;font-size:10px;margin:2px 0 13px}.heat-card .tiny{display:block;margin:9px 0}
.thresholds .threshold-row,.threshold-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #ecf1ef;padding:10px 0;font-size:12px}
.threshold-row:last-child{border-bottom:0}.threshold-row b{white-space:nowrap;min-width:115px;color:#16344d}.threshold-row span{color:#698095;text-align:right;line-height:1.5}
.alert-dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.detail-emphasis{padding:16px;background:#eef9f4;border-radius:12px;margin:16px 0}.detail-emphasis b{display:block;margin-bottom:8px;color:#077451}.detail-emphasis p{line-height:1.55}
.modal-section-title{font-size:15px;color:#103e34;margin-bottom:7px}
.plan-explain{background:#fbfefc}.plan-technology-grid,.report-method-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}
.plan-technology-grid>div,.report-method-grid>div{background:#f3faf7;border:1px solid #e0eee6;border-radius:13px;padding:14px}
.plan-technology-grid b,.report-method-grid b{font-size:12px;color:#136e53}.plan-technology-grid p,.report-method-grid p{margin-top:7px;color:#6c8291;font-size:11px;line-height:1.52}
.table-scroll{overflow-x:auto;margin-top:16px}.data-table{border-collapse:collapse;width:100%;min-width:650px;font-size:12px}.data-table th,.data-table td{padding:11px 12px;border-bottom:1px solid #e8eeeb;text-align:right}.data-table th:first-child,.data-table td:first-child{text-align:left}.data-table th{color:#366b5c;background:#edf7f2}.data-table tbody tr:nth-child(even){background:#f9fcfb}
@media (max-width:1024px){.status-palette{grid-template-columns:repeat(3,1fr)}.plan-technology-grid,.report-method-grid{grid-template-columns:repeat(2,1fr)}.threshold-mini{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){
  .content{padding:5px 13px 23px}
  .hero-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,.9fr)}
  .home-map-label{left:7px;top:7px;padding:7px 8px;max-width:78%}.home-map-label strong{font-size:11px;gap:3px}.home-map-label strong svg{width:14px}.home-map-label span{font-size:10px}.home-map-label small{font-size:8px}
  .weather-readings{display:none}.weather-card .weather-alert svg:last-child{display:none}
  .weather-card .weather-alert{padding:7px 0}.weather-card .weather-high{font-size:9px}
  .status-palette{grid-template-columns:repeat(2,1fr)}.status-token{padding:8px 7px;gap:6px}.threshold-mini{grid-template-columns:repeat(2,1fr)}
  .overview-panel{padding:12px}.threshold-mini>div{padding:8px}.threshold-mini b{font-size:10px}.threshold-mini span{font-size:9px}
  .alert-item{grid-template-columns:36px minmax(0,1fr) 59px 10px}.alert-item>svg:last-child{width:11px}
  .alert-severity{font-size:9px;padding:3px 6px}.alert-copy .event-time{font-size:9px}
  .heat-main strong{font-size:30px}.heat-state{font-size:10px;padding:6px 8px}
  .threshold-row b{min-width:73px}.threshold-row{font-size:10px;padding:8px 0}
  .plan-technology-grid,.report-method-grid{grid-template-columns:1fr 1fr;gap:7px}.plan-technology-grid>div,.report-method-grid>div{padding:9px}.plan-technology-grid p,.report-method-grid p{font-size:9px}
}
@media(max-width:435px){
  .hero-grid{grid-template-columns:1fr;gap:9px}.photo-map{height:216px}.weather-card{min-height:auto}.weather-now{padding:7px 0}.weather-readings{display:grid;grid-template-columns:repeat(3,1fr);font-size:9px}.weather-readings span:first-child{grid-column:auto}
  .cols4,.monitor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric{min-height:128px}.metric-head{font-size:11px}.metric-value{font-size:25px}
  .quick{min-height:117px}.status-palette{grid-template-columns:1fr 1fr}.threshold-mini{grid-template-columns:1fr 1fr}
  .alert-item{grid-template-columns:38px minmax(0,1fr) 62px 10px}
  .plan-grid{grid-template-columns:1fr 1fr!important}.plan-card.premium{grid-column:1/-1;min-height:auto}.plan-card.premium .plan-features{display:grid;grid-template-columns:1fr 1fr}
}
/* Reference image already contains an embedded map caption; avoid duplicate overlay */
.photo-map .home-map-label{display:none}
@media (max-width:435px){
  .content>.grid.cols2.section,.content>.grid.report-grid-bottom.section,.content>.grid.chart-grid.section{grid-template-columns:1fr;gap:11px}
  .media-card{grid-template-columns:92px minmax(0,1fr)}
  .media-card img{width:92px;height:108px}
  .media-card h3{font-size:13px;line-height:1.3}.media-card p{font-size:12px;line-height:1.5}
  .media-actions .button{font-size:11px;padding:9px}
  .quick strong{font-size:13px}.quick span.desc{font-size:11px}
  .card-title h2{font-size:14px}.plan-caption{font-size:12px}
  .weather-alert strong{font-size:12px!important}.weather-alert small{font-size:10px!important}
  .metric-head{font-size:11px}.metric-foot{font-size:10px}
  .chartcard{min-height:240px}.chartcard .plot{height:182px}.chartcard .card-title h2{font-size:14px}
  .report-grid-bottom .card{min-height:0}
  .alert-copy strong{font-size:13px}.alert-copy p{font-size:11px}
}
@media(max-width:435px){
 .content .chart-grid{grid-template-columns:minmax(0,1fr)!important;gap:13px}
 .content .chart-grid .chartcard{min-width:0;min-height:0;padding:14px}
 .content .chart-grid .plot{height:auto!important;max-height:250px;aspect-ratio:480/188}
 .content .chart-grid .legend{font-size:10px;flex-wrap:wrap}
 .content .report-grid-bottom{grid-template-columns:1fr!important}
 .content .chartcard .card-title h2{font-size:15px}
 .content .chartcard .card-title .link{font-size:11px}
 .table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 .table-scroll table{min-width:700px}
}

/* Agri AI bilingual preference (V9) */
.language-preference{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-block:1px solid #edf2ef}
.language-label{display:grid;gap:6px}.language-label strong{font-size:13px;color:#183f35}.language-label small{font-size:11px;color:#70827c;line-height:1.4}
.language-select{max-width:205px;min-width:165px;background:#f7fcfa;border-color:#cdeadd;font-size:13px;font-weight:650;color:#0f5842;cursor:pointer}
html[lang=ja] .content,html[lang=ja] .desktop-sidebar,html[lang=ja] .tabbar{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif}
html[lang=ja] .page-title h1{letter-spacing:-.025em}
html[lang=ja] .side-navitem span{line-height:1.35}
@media(max-width:600px){.language-preference{align-items:flex-start;flex-direction:column}.language-select{width:100%;max-width:100%}}
