:root{color-scheme:light;--ink:#1c352c;--muted:#506157;--green:#215542;--line:#d1dbcf;--paper:#f6f7f1;--wash:#ecf0e6;font-family:system-ui,-apple-system,"Segoe UI","Noto Sans JP",sans-serif;font-size:17px;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0;line-height:1.75}a{color:var(--green);text-underline-offset:.25em}button,input,textarea,select{font:inherit}button,summary{cursor:pointer}button{min-height:48px;border:0;border-radius:10px;padding:12px 20px;font-weight:650}button:disabled{opacity:.65;cursor:wait}input,textarea,select{width:100%;border:1px solid #879b8c;border-radius:10px;padding:12px;background:#fff;color:var(--ink);min-width:0}input[type=checkbox]{width:20px;height:20px;flex:none;accent-color:var(--green)}input[type=file]{max-width:100%;padding:10px;font-size:15px}textarea{resize:vertical}label{display:block;font-weight:620}fieldset{margin:0;padding:0;border:0;min-width:0}legend{font-weight:620}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2.4rem,4.8vw,4.1rem);line-height:1.3;letter-spacing:-.06em;margin-bottom:24px;font-weight:670}h2{font-size:clamp(1.6rem,2.5vw,2.1rem);line-height:1.5;letter-spacing:-.03em;margin-bottom:12px}h3{font-size:1.16rem;line-height:1.5}p{margin-bottom:16px}img{max-width:100%}:focus-visible{outline:3px solid #b46b13;outline-offset:4px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:absolute;top:-100px;padding:12px;background:#fff;z-index:20}.skip:focus{top:0}.health-header,.health-footer{max-width:1200px;margin:auto;padding:24px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:24px;line-height:1.25;font-weight:650}.brand small{display:block;font-size:11px;letter-spacing:.1em;margin-top:5px;color:var(--muted)}nav{display:flex;gap:24px}nav a{font-size:15px;padding:10px 0}main{max-width:1136px;margin:auto;padding:0 32px}.health-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:72px;padding:54px 0 42px;align-items:center}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--green);margin-bottom:18px}.lead{font-size:19px;line-height:1.9;color:var(--muted);margin-bottom:26px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:16px;text-decoration:none;min-height:50px;border-radius:10px;padding:13px 24px;text-align:center;line-height:1.5}.primary{background:var(--green);color:#fff}.primary:hover{background:#163e30}.secondary{background:var(--wash);color:var(--ink);border:1px solid var(--line)}.quiet,.small{font-size:15px;line-height:1.75;color:var(--muted)}.quiet{margin-top:14px;margin-bottom:0}.journey{padding:28px 32px;border-radius:24px;background:var(--wash)}.journey ol{list-style:none;padding:0;margin:0}.journey li{display:flex;gap:22px;padding:20px 0;border-top:1px solid var(--line)}.journey li>span{font-size:13px;letter-spacing:.05em;color:#4c6857;margin-top:4px}.journey strong{font-size:18px;font-weight:650}.journey p:not(.eyebrow){font-size:15px;line-height:1.75;color:var(--muted);margin:7px 0 0}.release-note{font-size:15px;line-height:1.8;border-left:3px solid #8d9e82;padding:12px 18px;margin:4px 0 26px}.status:empty{display:none}.status{border-radius:10px;padding:12px 16px;background:#e6eedf;scroll-margin-top:20px}.status.error{background:#fff0e3;color:#78390a}.workspace,.results{background:#fff;border:1px solid var(--line);border-radius:24px;padding:36px;margin-bottom:48px;scroll-margin-top:24px}.section-heading{margin-bottom:26px}.section-heading .eyebrow{margin-bottom:10px}.section-heading>p:last-child{color:var(--muted)}.form-grid{display:grid;grid-template-columns:.9fr 1.2fr;gap:38px}.optional{font-size:14px;font-weight:450;color:var(--muted);display:inline-block}.photo-zone>p{font-size:16px;color:var(--muted)}.upload{border:1px dashed #879b8c;border-radius:14px;min-height:154px;background:var(--paper);padding:20px;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;text-align:center;gap:5px}.upload>span:first-child{font-size:25px;line-height:1}.upload>span:last-child{font-size:13px;font-weight:450;color:var(--muted)}#photos{margin:10px 0 16px}.observations>label{margin-bottom:8px}.observations>input{margin-bottom:20px}.observations textarea+p{margin-top:8px}.symptom-field{margin-top:24px}.symptom-grid{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.symptom-grid label{font-size:15px;font-weight:500;display:flex;align-items:center;gap:8px;border:1px solid var(--line);padding:8px 12px;border-radius:10px;min-height:46px;background:#fafbf7}.symptom-grid label:has(input:checked){background:#e3eddf;border-color:var(--green)}.symptom-grid input{margin:0;width:17px;height:17px}.environment-grid{border-top:1px solid var(--line);margin-top:30px;padding-top:26px;display:grid;grid-template-columns:1fr 1fr;gap:20px}.environment-grid label{font-size:16px}.environment-grid input,.environment-grid select{margin-top:8px}.form-actions{padding-top:28px}.form-actions p{margin:12px 0 0}.ai-details{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.ai-details summary{font-weight:600}.ai-details p{font-size:16px;margin-top:12px}.consent{display:flex;align-items:flex-start;gap:12px;font-size:16px;font-weight:450;margin-bottom:18px}.photo-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.photo-preview figure{margin:0}.photo-preview img{width:100%;height:100px;object-fit:cover;border-radius:8px}.photo-preview button{font-size:14px;min-height:44px;width:100%;padding:7px;background:var(--wash)}.result-summary{background:var(--wash);padding:18px 22px;border-radius:12px}.result-summary p:last-child{margin-bottom:0}.result-list{display:grid;gap:16px;margin:24px 0}.candidate{padding:24px;border:1px solid var(--line);border-radius:16px}.candidate .tag{color:var(--green);font-size:13px;font-weight:650;margin-bottom:8px}.candidate h3{margin-bottom:8px}.candidate .reason{color:var(--muted);font-size:15px}.candidate dl{margin:18px 0}.candidate dt{font-weight:650;margin-top:14px}.candidate dd{margin:6px 0 0;line-height:1.8}.candidate details{font-size:16px}.candidate a{font-size:15px}.alert{padding:16px 20px;background:#fff2df;border-radius:12px;color:#693b0c}.result-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin:24px 0 18px}.history{padding:10px 0 48px;scroll-margin-top:24px}.empty-state{padding:30px;border:1px dashed var(--line);border-radius:16px;color:var(--muted);background:#fafbf7}.case-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;display:flex;gap:20px;align-items:center;margin-bottom:12px}.case-card img{width:72px;height:72px;object-fit:cover;border-radius:10px}.case-card div{flex:1;min-width:0}.case-card strong{display:block;overflow-wrap:anywhere}.case-card p{font-size:15px;color:var(--muted);margin:6px 0 0}.case-card button{flex:none}.backup{border-top:1px solid var(--line);padding-top:24px;margin-top:32px}.backup summary{font-weight:620}.backup p{margin-top:14px}.backup-actions{display:flex;gap:20px;align-items:flex-start;flex-wrap:wrap}.backup-actions label{font-size:15px;font-weight:500}.backup-actions input{display:block;margin-top:8px}.care-principles{max-width:760px;border-top:1px solid var(--line);padding:32px 0 52px;color:var(--muted)}.care-principles h2{font-size:23px;color:var(--ink)}.care-principles p{font-size:16px}.health-footer{border-top:1px solid var(--line);font-size:15px;color:var(--muted)}#case-detail{background:#fff;padding:28px;border:1px solid var(--line);border-radius:18px;margin:24px 0}#case-detail h3{overflow-wrap:anywhere}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.comparison figure{margin:0}.comparison img{width:100%;max-height:340px;object-fit:contain;background:var(--paper);border-radius:10px}.comparison figcaption{font-size:15px;margin-top:8px}.timeline{padding-left:24px}.timeline li{padding:8px 0}.timeline p{margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}.followup-form{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}.followup-form label{margin:16px 0}.followup-form button{margin-top:10px}.danger{color:#922c1b;background:#fff4f0;margin-top:24px}.photo-ai-result{border:1px solid #a4ba9a;border-radius:14px;padding:22px;margin:20px 0;overflow-wrap:anywhere}.photo-ai-result p{white-space:pre-wrap}.loading:before{content:'';display:inline-block;width:14px;height:14px;border:2px solid #abc5a0;border-top-color:#215542;border-radius:50%;margin-right:10px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.loading:before{animation:none}}@media(max-width:760px){.health-header,.health-footer{padding:20px}.health-header{flex-wrap:wrap;gap:12px}.health-header nav{gap:20px}.health-header nav a{font-size:14px}.brand{font-size:22px}main{padding:0 20px}.health-hero{grid-template-columns:1fr;gap:28px;padding:28px 0}.health-hero h1{font-size:42px;letter-spacing:-.055em}.lead{font-size:17px}.journey{padding:20px 22px}.journey .eyebrow{margin-bottom:8px}.journey li{padding:14px 0}.journey strong{font-size:17px}.journey p:not(.eyebrow){font-size:15px}.workspace,.results{padding:24px 20px;border-radius:18px;margin-bottom:34px}.form-grid{grid-template-columns:1fr;gap:28px}.environment-grid{grid-template-columns:1fr}.primary{width:100%;padding:14px 18px;font-size:16px}.hero-cta{width:auto}.candidate{padding:20px}.case-card{padding:16px;flex-wrap:wrap;gap:12px}.case-card button{width:100%}.case-card img{width:58px;height:58px}#case-detail{padding:20px}.comparison{gap:10px}.comparison figcaption{font-size:14px}.health-footer{flex-direction:column;align-items:flex-start}.symptom-grid label{font-size:15px;padding:8px 10px}.backup-actions{flex-direction:column}.backup-actions>*{width:100%}.release-note{padding:10px 14px}.result-actions{gap:16px}}@media(max-width:350px){main{padding:0 14px}.health-hero h1{font-size:36px}.workspace,.results{padding:22px 16px}.symptom-grid label{width:100%}.health-header{padding:18px 14px}.comparison{grid-template-columns:1fr}}

.hero-capability{font-size:14px;color:var(--muted);margin:8px 0 0}

/* Keep shared controls and legibility; avoid turning the brand caption into body copy. */
body[data-botai-product].plant-health .brand small{font-size:11px!important;line-height:1.4!important}
body[data-botai-product].plant-health main{padding-block:0 36px}
body[data-botai-product].plant-health .candidate .tag{display:inline-block;padding:2px 8px;border-radius:6px}

/* Disease and recovery results keep one readable path on narrow screens. */
.candidate h4{font-size:1.03rem;margin:24px 0 8px}.candidate ul,.candidate ol{padding-left:1.45em;line-height:1.85}.candidate li+li{margin-top:10px}.saved-assessment{margin:24px 0;padding:20px;border:1px solid #cad8cd;border-radius:16px}.saved-assessment>summary{font-weight:650}.saved-assessment .result-list{margin-top:20px}.ai-details[open]{border:1px solid #9bb6a1;padding:24px;border-radius:16px}.consent{align-items:flex-start}.consent input{flex-shrink:0}

#take-photo{display:block;width:100%;margin:12px 0}.backup-link:not([hidden]){display:inline-block;padding:14px 20px;border:2px solid var(--green);border-radius:10px;margin-top:12px;text-decoration:underline}.photo-zone input[hidden]{display:none}

.photo-library-input{position:absolute;width:1px;height:1px;padding:0!important;clip-path:inset(50%);overflow:hidden}.photo-zone:has(.photo-library-input:focus-visible) .upload{outline:3px solid #215542;outline-offset:4px}

.journey li>span{flex:none;min-width:2ch;white-space:nowrap}.action-buttons,.backup-ready{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.backup-ready{margin-top:14px}.backup-ready .backup-link:not([hidden]){margin-top:0}@media(max-width:760px){.action-buttons>*{width:100%}.backup-ready>*{width:100%}}

/* Disease-and-care flow: photo first, optional plant details later. */
.brand{font-size:20px}.brand small{font-size:13px;letter-spacing:.03em}.health-hero h1{font-size:clamp(2.2rem,4vw,3.5rem);letter-spacing:-.045em}.plant-details{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.plant-details summary{font-weight:600}.plant-details>label{margin-top:18px}.plant-details>.environment-grid{border:0;margin-top:0;padding-top:20px}.consult-context{background:var(--wash);padding:16px;border-radius:10px;overflow-wrap:anywhere}.saved-guidance,.saved-answer{padding:16px;border:1px solid var(--line);border-radius:12px;margin:16px 0}.saved-guidance>summary,.saved-answer>summary{font-weight:650}.timeline img{display:block;max-height:220px;object-fit:contain;margin:12px 0}.timeline li{margin:16px 0;border-bottom:1px solid var(--line);padding-bottom:20px}.observations>textarea{margin-bottom:8px}@media(max-width:760px){.brand{font-size:19px}.health-hero h1{font-size:39px}.plant-details input,.plant-details select{margin-top:8px}}@media(max-width:350px){.health-hero h1{font-size:34px}.brand{font-size:17px}}

/* One visible care path; other possible causes stay available on request. */
.candidate h4{font-size:1rem;margin:20px 0 6px}.candidate ul{margin:0;padding-left:1.4em}.candidate li{margin:6px 0;overflow-wrap:anywhere}.other-cause{border:1px solid var(--line);border-radius:12px;padding:16px}.other-cause>summary{font-weight:650;overflow-wrap:anywhere}.other-cause>.candidate{border:0;padding:20px 0 0}.send-context{background:var(--wash);padding:16px;border-radius:10px}.send-conditions{margin:16px 0}.local-check-options{margin:18px 0}.local-check-options button{margin-top:12px}.result-summary,.candidate p{overflow-wrap:anywhere}.ai-details[open]>summary{margin-bottom:12px}

/* Photo-to-care headline stays legible without isolated final characters. */
.health-hero h1 span{display:block;text-wrap:balance}.health-hero h1 span+span{margin-top:.12em}@media(max-width:760px){.health-hero h1{font-size:clamp(1.8rem,7.6vw,2.45rem);line-height:1.35}}
