:root{--forest:#153c2e;--deep:#0c2e23;--green:#2f8055;--lime:#b4da86;--fresh:#e4f3df;--paper:#f3f7f3;--line:#e1e9e2;--muted:#73867b;--text:#19362a;--white:#fff;--shadow:0 12px 34px rgba(20,66,42,.07);font-family:system-ui,-apple-system,'Noto Sans Thai',Tahoma,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--text);font-size:14px;line-height:1.55}button,input,select,textarea{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.52;cursor:not-allowed}a{color:inherit}.hidden{display:none!important}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.app-shell{display:flex;min-height:100vh}.sidebar{width:260px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:100vh;padding:30px 18px 18px;position:sticky;top:0;height:100vh}.sidebar-brand{display:flex;gap:11px;align-items:center;padding:0 9px}.brand-icon{background:var(--deep);color:#d0f5a4;width:44px;height:44px;border-radius:13px;display:grid;place-items:center}.brand-icon svg{width:28px;height:28px}.sidebar-brand strong{display:block;font-size:20px;line-height:1.15;letter-spacing:-.8px}.sidebar-brand strong em{color:var(--green);font-style:normal}.sidebar-brand small{font-size:11px;color:var(--muted)}.side-meta{font-size:9px;letter-spacing:2px;color:#93a398;padding:32px 13px 18px;font-weight:700}.side-meta-mark{font-size:16px;color:var(--green);margin-right:5px}.side-nav{display:grid;gap:8px}.nav-link{background:none;border:0;color:#748477;display:flex;align-items:center;gap:13px;padding:14px 15px;border-radius:13px;text-align:left;font-weight:650;font-size:13px}.nav-link.active{background:#eaf4e9;color:#1d673f}.nav-link:hover{background:#f1f7ef}.sidebar-bottom{margin-top:auto}.eco-illustration{background:linear-gradient(130deg,#deefd5,#f4faec);padding:16px;border-radius:16px;display:flex;gap:9px;align-items:center}.eco-illustration>span{font-size:29px}.eco-illustration b{display:block;color:#28563b;font-size:13px}.eco-illustration small{color:#758e77;font-size:11px}.sidebar-bottom p{font-size:10px;color:#a3afa5;margin:20px 12px 3px}.main-column{flex:1;min-width:0}.topbar{height:83px;background:rgba(255,255,255,.9);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,4vw,52px);border-bottom:1px solid var(--line)}.topbar-left{display:flex;align-items:center;gap:12px}.topbar-left>div{display:grid}.topbar-left b{font-size:17px;font-weight:800}.eyebrow{font-size:10px;letter-spacing:2px;color:#7a9d82;font-weight:850}.topbar-left .eyebrow{color:#93aa9a;font-size:9px}.mobile-logo{display:none}.topbar-right{display:flex;align-items:center;gap:18px}.connection-pill{display:flex;align-items:center;gap:8px;border:1px solid #e4ede4;border-radius:30px;padding:8px 12px;color:#708576;font-size:11px;background:#f8fbf8;max-width:220px}.pulse-dot{width:8px;height:8px;border-radius:50%;background:#d8a14d;box-shadow:0 0 0 4px #f5ead4;flex-shrink:0}.connection-pill.online .pulse-dot{background:#48a773;box-shadow:0 0 0 4px #def2e4}.avatar{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#ddebdb;font-size:19px}main{padding:28px clamp(20px,4vw,52px) 44px;max-width:1480px;margin:auto}.screen{display:none;animation:fadein .25s ease}.screen.active{display:block}@keyframes fadein{from{opacity:.4;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.hero{min-height:257px;border-radius:23px;background:linear-gradient(117deg,#163f2f 0%,#1c5b3e 63%,#337b4d 100%);display:flex;position:relative;overflow:hidden;color:white;padding:31px 40px;box-shadow:0 15px 35px rgba(13,51,29,.11)}.hero:after{content:'';position:absolute;right:-140px;top:-210px;width:440px;height:440px;border-radius:50%;background:radial-gradient(circle,#9ccf6873,transparent 69%)}.hero-copy{z-index:2;max-width:600px}.hero-kicker{display:inline-flex;gap:7px;align-items:center;font-size:10px;font-weight:850;letter-spacing:1.8px;color:#c7e8aa}.hero-kicker svg{width:15px}.hero h1{font-size:clamp(25px,2.55vw,39px);line-height:1.34;margin:14px 0 9px;letter-spacing:-.6px}.hero h1 span{color:#c2e795}.hero-copy>p{font-size:13px;color:#d9eadc;max-width:465px;line-height:1.9;margin:0}.hero-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.hero-badges span{font-size:10px;border:1px solid #ffffff36;border-radius:25px;padding:5px 11px;color:#e2f9da;background:#ffffff13}.hero-art{width:34%;flex-shrink:0;display:grid;place-items:center;position:relative}.radial-circle{height:225px;width:225px;border:1px solid #addb9460;border-radius:50%;background:radial-gradient(circle at 40% 40%,#75bf5d77,#216a4244 70%);box-shadow:0 0 0 20px #87c07f12,0 0 0 44px #8dc18411}.art-leaf{font-size:155px;position:absolute;filter:drop-shadow(4px 13px 12px #062d1f55);transform:rotate(-8deg)}.floating-tag{position:absolute;background:#fff;border-radius:9px;color:#35674a;font-size:11px;font-weight:800;padding:10px 12px;box-shadow:0 10px 18px #07251b38;white-space:nowrap}.floating-tag span{color:#6fb050}.tag-one{top:24px;right:-12px}.tag-two{bottom:18px;left:5px}.art-dots{position:absolute;inset:0;opacity:.25;background-image:radial-gradient(#fff 1px,transparent 1px);background-size:22px 22px;mask-image:linear-gradient(to left,black,transparent)}.workflow-heading{display:flex;align-items:end;justify-content:space-between;margin:34px 1px 20px;gap:10px}.workflow-heading h2,.care-heading h2{font-size:23px;letter-spacing:-.4px;margin:2px 0}.workflow-heading p{font-size:12px;color:var(--muted);margin:0}.step-label{background:#e5f3e5;border-radius:30px;padding:8px 12px;color:#347b4f;font-size:11px;font-weight:800;white-space:nowrap}.section-card{background:white;border:1px solid #e5ede5;border-radius:19px;box-shadow:var(--shadow);padding:23px 24px;margin-bottom:18px}.section-title{display:flex;align-items:center;gap:13px;margin-bottom:23px}.number-circle{width:37px;height:37px;background:#e6f5e5;color:#34845a;border-radius:13px;display:grid;place-items:center;font-size:15px;font-weight:900;flex-shrink:0}.section-title h3{font-size:16px;margin:0 0 2px}.section-title p{margin:0;color:var(--muted);font-size:12px}.right-pill{margin-left:auto;font-size:9px;letter-spacing:.9px;color:#94aaa0;font-weight:900}.plant-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}.plant-option{display:grid;justify-items:center;gap:6px;border:1px solid #e4ebe4;background:#fbfdfb;padding:15px 4px 14px;border-radius:12px;position:relative;color:#345344;transition:.18s}.plant-option:hover{transform:translateY(-2px);border-color:#84bb8e}.plant-option.selected{border:2px solid #39925b;background:#edf8e9;box-shadow:0 4px 14px #58a86b20;padding:14px 3px 13px}.plant-option.selected:after{content:'✓';position:absolute;right:6px;top:3px;width:16px;height:16px;border-radius:50%;background:#389258;color:white;font-size:10px;display:grid;place-items:center}.plant-emoji{font-size:28px}.plant-option b{font-size:12px}.custom-plant-wrap{margin-top:17px}.custom-plant-wrap label{font-weight:700;font-size:12px;display:block;margin-bottom:6px}input[type=text],select,textarea{display:block;width:100%;border:1px solid #dce7dd;border-radius:11px;padding:12px 14px;background:#fcfdfc;color:#284735;outline:0}input:focus,select:focus,textarea:focus{border-color:#54ad70;box-shadow:0 0 0 3px #e6f4e6}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.photo-card{border:1px solid #e0e9e2;border-radius:15px;overflow:hidden;background:#fff;min-width:0}.photo-card.filled{border-color:#70b781;box-shadow:0 2px 18px #62bb7821}.photo-head{display:flex;align-items:center;gap:9px;padding:14px 13px 12px}.photo-number{width:26px;height:26px;border-radius:8px;color:#479761;background:#e8f5e7;display:grid;place-items:center;font-weight:900}.photo-head h4{font-size:13px;margin:0}.photo-head p{font-size:10px;color:#8ba094;margin:1px 0 0}.photo-check{margin-left:auto;color:#36a060;display:none}.filled .photo-check{display:block}.photo-drop{background:#f4faf5;border-top:1px dashed #d9e8da;border-bottom:1px dashed #d9e8da;min-height:164px;height:164px;position:relative;overflow:hidden}.photo-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;width:100%;height:100%;color:#50825a;gap:5px}.placeholder-icon{width:61px;height:61px;display:grid;place-items:center;background:#e5f3dd;border-radius:17px;font-size:29px;margin-bottom:3px}.plant-icon{background:#e4f0e5}.env-icon{background:#e5f2ef}.photo-placeholder strong{font-size:11px;color:#476754;text-align:center}.photo-placeholder small{font-size:10px;color:#92a799;text-align:center}.image-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.remove-photo{position:absolute;right:9px;top:9px;background:#fff;border:0;border-radius:50%;height:28px;width:28px;display:grid;place-items:center;color:#647969;box-shadow:0 1px 8px #1238}.remove-photo svg{width:15px}.photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:11px}.soft-button,.camera-button{min-height:36px;border-radius:8px;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:5px}.soft-button{border:1px solid #dce6de;background:#fff;color:#407455}.camera-button{border:1px solid #428a5d;background:#2c8552;color:#fff}.soft-button svg,.camera-button svg{width:15px;height:15px}.photo-footnote{display:flex;gap:10px;align-items:center;background:#f6faf5;padding:10px 14px;border-radius:10px;margin-top:16px;color:#779182}.photo-footnote svg{color:#55aa70;flex-shrink:0}.photo-footnote p{margin:0;font-size:10px}.optional{font-weight:500;color:#92a89a;font-size:12px}.notes-grid{display:grid;grid-template-columns:1fr 2fr;gap:15px}.field label{font-size:12px;font-weight:760;display:block;margin-bottom:7px}.field select,.field textarea{resize:vertical;font-size:12px}.analyze-panel{margin-top:22px;border-radius:12px;background:linear-gradient(100deg,#eaf6e8,#f2faf1);display:flex;justify-content:space-between;gap:15px;align-items:center;padding:18px}.analyze-caption{display:flex;align-items:center;gap:11px}.analyze-symbol{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#d8eed1;color:#398757}.analyze-symbol svg{height:24px;width:24px}.analyze-caption strong{display:block;font-size:13px}.analyze-caption small{color:#698776;font-size:11px}.primary-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:#207549;color:#fff;border:0;border-radius:11px;padding:13px 17px;font-weight:850;font-size:12px;box-shadow:0 7px 14px #297e5228;transition:.2s}.primary-button:hover:not(:disabled){background:#165d3b;transform:translateY(-1px)}.primary-button svg{height:16px;width:16px}.demo-callout{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:19px 4px 1px}.demo-callout b{font-size:12px}.demo-callout p{color:#96a89b;margin:2px 0 0;font-size:11px}.demo-button{border:0;background:none;color:#247c50;font-size:12px;font-weight:850;display:inline-flex;gap:7px;align-items:center;white-space:nowrap}.demo-button svg{width:15px}.app-footer{text-align:center;color:#a4b3a6;font-size:10px;padding:6px 0 22px}.app-footer span{margin:0 6px}.mobile-nav{display:none}.toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#173d2d;color:#fff;border-radius:13px;padding:12px 20px;box-shadow:0 9px 24px #1e3e2555;z-index:300;max-width:calc(100vw - 30px);text-align:center;font-size:12px;transition:.25s}.toast.show{transform:translate(-50%,0);opacity:1}.screen-header{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:5px 0 28px}.screen-header h1{font-size:28px;margin:2px 0 3px}.screen-header p{font-size:12px;color:var(--muted);margin:0}.outline-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #cadecf;color:#34784f;background:#fff;padding:11px 15px;border-radius:10px;font-size:12px;font-weight:850}.outline-button svg{width:16px}.empty-state{padding:75px 20px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:20px}.empty-plant{font-size:84px}.empty-state h2{font-size:20px;margin:0}.empty-state p{font-size:13px;color:var(--muted);max-width:440px;margin:8px auto 21px}.demo-banner{display:flex;align-items:center;gap:10px;padding:12px 16px;border:1px solid #f0d9a7;background:#fff8e5;border-radius:11px;margin-bottom:18px;color:#83611f}.demo-banner span{font-size:28px}.demo-banner b{font-size:13px}.demo-banner p{margin:0;font-size:11px}.report-top{display:grid;grid-template-columns:1.6fr .72fr;gap:16px}.report-lead{background:linear-gradient(115deg,#f7fbf5,#e7f4e8);border:1px solid #dcebdc;border-radius:18px;padding:26px}.report-status-row{display:flex;gap:16px;align-items:center;margin:14px 0}.report-glyph{background:#d4ebd5;width:68px;height:68px;border-radius:19px;display:grid;place-items:center;font-size:39px}.report-status-row h2{font-size:26px;line-height:1.3;margin:0}.report-status-row p{margin:1px 0;color:#548061}.report-lead>p{font-size:13px;line-height:1.9;color:#4e6c57}.report-meta{display:flex;flex-wrap:wrap;gap:15px;color:#70917a;font-size:11px;margin-top:21px}.risk-card{background:white;border:1px solid var(--line);border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;text-align:center}.risk-dial{width:144px;height:144px;border-radius:50%;background:conic-gradient(#8cbd90 0 130deg,#e8efe8 130deg 360deg);display:grid;place-items:center}.risk-dial.low{background:conic-gradient(#49b37c 0 120deg,#e4f1e5 120deg 360deg)}.risk-dial.medium{background:conic-gradient(#f4b44d 0 230deg,#f5eddb 230deg 360deg)}.risk-dial.high{background:conic-gradient(#e47465 0 320deg,#f5ebeb 320deg 360deg)}.risk-dial.unknown{background:conic-gradient(#b4c2b5 0 160deg,#edf0ed 160deg 360deg)}.risk-inner{height:123px;width:123px;border-radius:50%;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center}.risk-inner small{font-size:10px;color:#8da092}.risk-inner b{font-size:21px;color:#28674c}.risk-card>p{color:#5f796a;font-size:12px;margin:12px 0 3px}.caution-small{font-size:10px;color:#9cad9d}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.result-card{background:white;border:1px solid var(--line);border-radius:18px;padding:22px}.result-heading,.care-card-head{display:flex;gap:10px;align-items:center}.result-heading>span{font-size:26px;background:#e9f3e5;width:45px;height:45px;border-radius:12px;display:grid;place-items:center}.result-heading h3,.care-card-head h3{font-size:16px;margin:0}.result-heading p,.care-card-head p{font-size:11px;color:#8da190;margin:0}.observations,.causes{display:grid;gap:10px;margin-top:18px}.observation-item,.cause-item{background:#f7faf7;padding:12px 13px;border-radius:12px;border:1px solid #edf2ed}.observation-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.observation-header b,.cause-item b{font-size:12px}.observation-header span{font-size:10px;border-radius:20px;padding:3px 8px;background:#e7f0e5;color:#478261}.observation-header span.concern{background:#fdf0dd;color:#b27c2c}.observation-header span.unclear{background:#edf0f1;color:#7b8f93}.observation-item p,.cause-item p{font-size:12px;color:#648070;margin:5px 0 0}.care-heading{display:flex;justify-content:space-between;align-items:center;margin:28px 0 15px}.plan-chip{font-size:11px;color:#52865a;background:#e8f4e4;padding:7px 13px;border-radius:20px}.care-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.care-card{background:white;border-radius:16px;padding:19px;border:1px solid var(--line)}.care-card.today{background:#f3fbf2}.care-card.weekly{background:#fffaf1}.care-card.prevent{background:#f2f8f7}.care-card-head>span{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:#ffffffb5;font-size:23px}.care-card ol{padding-left:21px;margin:16px 0 0}.care-card li{font-size:12px;color:#496856;padding-left:4px;margin-bottom:11px;line-height:1.7}.extra-report{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:16px}.extra-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:19px}.extra-card b{font-size:14px}.extra-card ul{margin:11px 0 0;padding-left:20px;color:#65796a;font-size:12px}.extra-card li{margin:5px 0}.report-footer-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.final-disclaimer{background:#fff9ed;border:1px solid #f1e2bd;color:#9c7429;font-size:11px;border-radius:9px;padding:12px 14px;margin-top:20px}.history-entries{display:grid;gap:12px}.history-item{border:1px solid var(--line);border-radius:14px;background:#fff;padding:17px 20px;display:flex;justify-content:space-between;gap:10px;align-items:center}.history-item h3{font-size:14px;margin:0 0 4px}.history-item p{font-size:11px;color:#7e9685;margin:0}.history-actions{display:flex;gap:6px}.history-actions button{font-size:11px;padding:8px 10px;border:1px solid #dee9df;background:#f8fbf8;border-radius:9px;color:#427f5a}.history-actions button:last-child{color:#a16060}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.guide-tile{background:#fff;border:1px solid var(--line);border-radius:17px;padding:20px;position:relative}.guide-tile>span{font-size:11px;font-weight:900;color:#56a46b}.guide-emoji{font-size:43px;margin:13px 0}.guide-tile h3{font-size:17px;margin:0 0 5px}.guide-tile p{font-size:12px;color:#708674;line-height:1.9;margin:0}.guide-note{margin-top:18px;border-radius:17px;background:#e9f4e8;padding:24px}.guide-note p{font-size:12px;color:#537060;margin:12px 0 0}.loading-mask{position:fixed;inset:0;z-index:400;background:#0e3329bb;display:grid;place-items:center;padding:20px;backdrop-filter:blur(5px)}.loading-card{text-align:center;background:#fff;border-radius:19px;padding:30px 28px;width:min(420px,100%);box-shadow:0 18px 60px #071a1155}.loading-orb{height:92px;width:92px;margin:auto;display:grid;place-items:center;background:#e7f5e1;border-radius:50%;position:relative;font-size:47px}.loading-ring{position:absolute;inset:-8px;border:3px solid transparent;border-top-color:#52a76a;border-left-color:#52a76a;border-radius:50%;animation:spin 1.4s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-card h2{font-size:18px;margin:22px 0 7px}.loading-card p{font-size:12px;color:#799180}.loading-track{height:7px;background:#e6f0e6;border-radius:20px;margin:22px 0 10px;overflow:hidden}.loading-track div{height:100%;width:30%;border-radius:20px;background:#4faa69;animation:bar 1.8s ease-in-out infinite alternate}@keyframes bar{to{width:95%}}.loading-card small{font-size:10px;color:#a1b1a4}.loading-cancel{display:block;margin:20px auto 0;background:none;border:0;color:#9caea0;text-decoration:underline;font-size:11px}
@media(max-width:1190px){.sidebar{width:220px}.hero-art{width:29%}.art-leaf{font-size:100px}.radial-circle{height:160px;width:160px}.tag-one{right:-20px}.plant-options{grid-template-columns:repeat(3,1fr)}.photo-grid{gap:11px}.photo-head{padding:11px 8px}.photo-head p{font-size:9px}.photo-actions{padding:7px;gap:5px}.soft-button,.camera-button{font-size:10px}.photo-placeholder strong{font-size:10px}}
@media(max-width:900px){.sidebar{display:none}.hero-art{width:31%}.topbar{padding:0 24px}main{padding:22px 24px 35px}.plant-options{grid-template-columns:repeat(3,1fr)}.hero{padding:28px}.report-top{grid-template-columns:1.4fr .9fr}}
@media(max-width:680px){body{font-size:13px}.topbar{height:70px;padding:0 16px}.topbar-left{gap:8px}.topbar-left b{font-size:14px}.topbar-left .eyebrow{font-size:8px}.mobile-logo{display:grid;place-items:center;background:#174c33;color:#d2eda5;height:35px;width:35px;border-radius:9px}.mobile-logo svg{width:23px}.avatar{display:none}.topbar-right{gap:6px}.connection-pill{padding:6px 8px;font-size:9px;max-width:130px}.connection-pill>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pulse-dot{width:6px;height:6px}.main-column{width:100%}main{padding:15px 13px 95px}.hero{padding:25px 20px 26px;min-height:263px;border-radius:16px}.hero h1{font-size:25px;line-height:1.4;max-width:320px;margin-top:11px}.hero-copy>p{font-size:11px;max-width:320px}.hero-art{position:absolute;right:4px;bottom:25px;opacity:.25;width:110px;height:110px}.art-leaf{font-size:95px}.radial-circle{width:130px;height:130px}.floating-tag{display:none}.hero-kicker{font-size:8px}.hero-badges{gap:5px;max-width:300px;margin-top:17px}.hero-badges span{font-size:9px;padding:4px 7px}.workflow-heading{margin:26px 1px 14px}.workflow-heading h2{font-size:19px}.workflow-heading p{font-size:11px}.workflow-heading .eyebrow{font-size:9px}.step-label{font-size:9px;padding:6px 8px}.section-card{padding:17px 14px;border-radius:14px;margin-bottom:12px}.section-title{gap:9px;margin-bottom:16px}.section-title h3{font-size:14px}.section-title p{font-size:10px}.number-circle{width:31px;height:31px;border-radius:10px;font-size:13px}.right-pill{display:none}.plant-options{grid-template-columns:repeat(3,1fr);gap:8px}.plant-option{padding:12px 3px;border-radius:10px;gap:3px}.plant-option.selected{padding:11px 2px}.plant-emoji{font-size:25px}.plant-option b{font-size:11px}.photo-grid{grid-template-columns:1fr;gap:12px}.photo-card{display:grid;grid-template-columns:1fr 118px;grid-template-rows:auto 1fr;column-gap:0;align-items:stretch}.photo-head{padding:12px;grid-column:1;grid-row:1;align-self:center}.photo-number{width:24px;height:24px}.photo-head h4{font-size:13px}.photo-head p{font-size:10px}.photo-drop{grid-row:1 / span 2;grid-column:2;height:125px;min-height:125px;border:0;border-left:1px dashed #dfebdf}.photo-placeholder{padding:7px;text-align:center}.placeholder-icon{font-size:24px;width:43px;height:43px;border-radius:11px;margin:0}.photo-placeholder strong{font-size:9px}.photo-placeholder small{font-size:8px}.photo-actions{grid-row:2;grid-column:1;align-self:end;padding:7px 12px 12px}.soft-button,.camera-button{min-height:33px;font-size:10px}.photo-footnote{margin-top:10px;padding:8px}.photo-footnote p{font-size:9px}.notes-grid{grid-template-columns:1fr}.analyze-panel{padding:12px;flex-direction:column;align-items:stretch}.analyze-caption strong{font-size:12px}.analyze-caption small{font-size:10px}.primary-button{min-height:47px}.demo-callout{gap:10px;padding:15px 2px 2px;align-items:start}.demo-callout b{font-size:11px}.demo-callout p{font-size:10px}.demo-button{font-size:10px;white-space:normal;text-align:right}.app-footer{display:none}.mobile-nav{display:flex;position:fixed;z-index:100;bottom:0;left:0;right:0;min-height:66px;padding:8px 8px max(9px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce6dc;justify-content:space-around;box-shadow:0 -4px 18px #12291b12}.mobile-nav-btn{border:0;background:none;display:grid;justify-items:center;align-content:center;gap:2px;color:#899b8d;width:24%;font-size:10px;padding:4px}.mobile-nav-btn svg{width:21px;height:21px}.mobile-nav-btn.active{color:#23774a;font-weight:850}.toast{bottom:85px}.screen-header h1{font-size:23px}.screen-header{align-items:flex-start}.screen-header p{font-size:11px}.screen-header>.outline-button{max-width:118px;font-size:10px;padding:7px;line-height:1.3}.report-top,.report-grid,.care-grid,.extra-report,.guide-grid{grid-template-columns:1fr}.report-lead{padding:20px}.report-status-row h2{font-size:21px}.risk-card{display:grid;grid-template-columns:115px 1fr;column-gap:18px;text-align:left;justify-items:start}.risk-dial{width:105px;height:105px;grid-row:span 2}.risk-inner{width:89px;height:89px}.risk-inner b{font-size:18px}.risk-inner small{font-size:9px}.risk-card>p{margin:0}.caution-small{font-size:9px}.result-card,.care-card{padding:17px}.care-heading h2{font-size:20px}.plan-chip{font-size:9px}.history-item{align-items:flex-start;padding:14px}.history-actions{flex-direction:column}.guide-tile{padding:18px}.guide-emoji{margin:4px 0}.guide-note{padding:18px}.report-footer-actions .outline-button{flex:1;font-size:11px}}
@media print{.sidebar,.topbar,.mobile-nav,.report-footer-actions,.screen-header>.outline-button,.app-footer,.demo-button{display:none!important}main{padding:0}#dashboard{display:block!important}#workspace,#history,#guide{display:none!important}.report-top,.report-grid,.care-grid{break-inside:avoid}.care-grid{grid-template-columns:repeat(3,1fr)}.report-grid{grid-template-columns:1fr 1fr}.report-top{grid-template-columns:1.5fr .7fr}*{box-shadow:none!important}body{background:#fff}}

.report-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.report-photo{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden;display:flex;align-items:center;gap:12px;padding:9px}.report-photo img{width:84px;height:66px;object-fit:cover;border-radius:9px}.report-photo .blank{width:84px;height:66px;background:#eaf3e7;display:grid;place-items:center;font-size:29px;border-radius:9px}.report-photo div:last-child{display:grid;gap:3px}.report-photo b{font-size:12px}.report-photo small{color:#95aa99;font-size:10px}@media(max-width:680px){.report-photos{gap:6px}.report-photo{display:grid;gap:5px;padding:6px}.report-photo img,.report-photo .blank{width:100%;height:66px}.report-photo b{font-size:10px}.report-photo small{font-size:8px}}@media print{.report-photos{grid-template-columns:repeat(3,1fr)}}

/* Camera sheet: live preview through getUserMedia (not a file picker). */
body.camera-open{overflow:hidden}
.camera-modal{position:fixed;inset:0;z-index:1050;background:rgba(6,25,18,.86);display:flex;align-items:center;justify-content:center;padding:16px;overscroll-behavior:contain}
.camera-panel{width:min(100%,510px);height:min(95dvh,780px);min-height:420px;display:flex;flex-direction:column;overflow:hidden;background:#102c20;border:1px solid #9bd3ac60;color:#fff;border-radius:22px;box-shadow:0 25px 80px #061d1acc}
.camera-top{padding:15px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:#1b4935}
.camera-top h2{font-size:17px;line-height:1.2;margin:0}.camera-top p{margin:3px 0 0;color:#d3e6d7;font-size:11px}
.camera-close{border:1px solid #ffffff60;background:#ffffff12;color:#fff;width:39px;height:39px;border-radius:50%;font-size:25px;line-height:1}
.camera-view{position:relative;min-height:150px;flex:1;background:#091d16;display:flex;align-items:center;justify-content:center;overflow:hidden}
.camera-video{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;background:#081b13}
.camera-guides{position:absolute;inset:10% 9%;border:2px solid #d6f8df9c;border-radius:17px;pointer-events:none;box-shadow:0 0 0 2000px #00000005}
.camera-guides:before,.camera-guides:after{content:'';position:absolute;width:32px;height:32px;border-color:#c0f89e;border-style:solid}
.camera-guides:before{top:-2px;left:-2px;border-width:4px 0 0 4px;border-top-left-radius:16px}
.camera-guides:after{bottom:-2px;right:-2px;border-width:0 4px 4px 0;border-bottom-right-radius:16px}
.camera-help{position:absolute;left:12px;right:12px;bottom:12px;background:#0d3025da;padding:10px 12px;border-radius:12px;color:#ebfff2;font-size:12px;pointer-events:none;text-align:center}
.camera-error{position:relative;z-index:1;max-width:360px;padding:18px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.camera-error strong{font-size:18px;color:#fff}.camera-error p{font-size:13px;margin:0;color:#e0f1e5;line-height:1.7}
.camera-alt{padding:11px 15px;background:#f2f8ed;border:0;border-radius:10px;color:#205237;font-weight:800;font-size:12px}
.camera-controls{padding:13px 12px max(14px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-around;gap:12px;background:#174632}
.camera-swap{background:#ffffff15;color:#fff;border:1px solid #ffffff46;border-radius:13px;padding:11px 13px;font-size:12px;font-weight:800}
.camera-shutter{width:70px;height:70px;flex-shrink:0;border-radius:50%;border:5px solid #d9f2cd;background:#4faa75;box-shadow:inset 0 0 0 5px #18492f,0 4px 12px #001f1a80;display:grid;place-items:center;color:#fff;font-size:27px}
.camera-shutter:disabled{opacity:.4;filter:grayscale(1)}.camera-control-label{font-size:11px;color:#daeadf;text-align:center;max-width:100px}
@media(max-width:600px){.camera-modal{padding:0}.camera-panel{height:100dvh;width:100%;min-height:0;max-height:none;border-radius:0;border:0}.camera-view{min-height:0}.camera-top{padding-top:max(14px,env(safe-area-inset-top))}.camera-shutter{width:76px;height:76px}}

.access-code-area{padding:15px 19px;background:#f1f8f0;border:1px solid #bad9be;border-radius:14px;margin:8px 0 15px;display:grid;gap:7px}.access-code-area label{font-weight:800;color:#27563b}.access-code-area input{min-height:42px;border:1px solid #adccba;border-radius:10px;padding:8px 12px;width:100%;background:white}.access-code-area small{color:#718679;font-size:11px}
