:root{--ink:#223f32;--muted:#637264;--paper:#f8f8f1;--line:#dce2d5;--green:#2f6447;--light:#eaf0e4;--error:#8b352b;font-family:"Yu Gothic UI","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;line-height:1.7}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #bd7f39;outline-offset:3px}button{min-height:46px}a{color:inherit;text-underline-offset:5px}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:600}h2{font-size:24px}h3{font-size:18px}[hidden]{display:none!important}.topbar{max-width:1240px;margin:auto;padding:24px 44px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:22px;font-weight:650;white-space:nowrap}.brand span{font-size:12px;font-weight:400;letter-spacing:.07em;color:var(--muted);margin-left:8px}.edition{font-size:12px;color:var(--muted);white-space:nowrap}main{max-width:1120px;margin:auto;padding:0 28px}.intro{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:56px 34px 60px;align-items:center}.eyebrow{font-size:10px;letter-spacing:.19em;color:var(--muted);font-weight:650;margin-bottom:12px}h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:54px;letter-spacing:.1em;line-height:1.5;margin-bottom:20px}.intro-copy{font-size:14px;line-height:2;color:var(--muted)}.text-link{display:inline-flex;gap:30px;margin-top:22px;text-decoration:none;font-size:13px;border-bottom:1px solid #698069;padding-bottom:6px}.hero-art{height:340px;position:relative;background:#e8eedf;border-radius:48% 48% 12px 12px;overflow:hidden}.sun{position:absolute;background:#f9f8dc;width:145px;height:145px;top:35px;right:42px;border-radius:50%}.plant-illustration{height:280px;width:245px;position:relative;margin:20px auto}.plant-illustration i{position:absolute;display:block}.stem{height:186px;width:5px;left:122px;top:31px;background:#3d6545;transform:rotate(-5deg);border-radius:5px}.leaf{background:#477b52;width:78px;height:46px;border-radius:0 70% 0 70%;transform-origin:100% 100%;box-shadow:inset 0 -2px 0 #345b4144}.l1{top:40px;left:40px;transform:rotate(22deg)}.l2{top:48px;left:129px;transform:rotate(-17deg) scaleX(-1);transform-origin:left bottom;background:#628552}.l3{top:98px;left:41px;transform:rotate(10deg);width:88px;height:55px}.l4{top:109px;left:130px;transform:rotate(-30deg) scaleX(-1);transform-origin:left bottom;width:85px;height:51px;background:#507c48}.l5{top:4px;left:104px;transform:rotate(40deg);width:53px;height:48px;background:#709155}.pot{left:76px;top:186px;width:102px;height:77px;background:#c9956e;border-radius:4px 4px 30px 30px;border-top:10px solid #dba983;box-shadow:inset -15px 0 #a671501f}.ground{left:35px;top:267px;width:187px;height:9px;background:#91a17c30;border-radius:50%}.art-note{position:absolute;bottom:21px;width:100%;text-align:center;font-size:11px;letter-spacing:.1em;color:#5c7054}.notebook{scroll-margin-top:20px;padding:30px 0 45px;border-top:1px solid var(--line)}.section-heading,.detail-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.section-heading h2 span{font-size:13px;font-weight:400;color:var(--muted);margin-left:12px}.primary,.secondary{padding:11px 22px;border-radius:8px;border:1px solid transparent;font-size:14px;font-weight:600}.primary{background:var(--green);color:white}.primary:hover{background:#204e35}.secondary{background:transparent;border-color:#9bad96;color:var(--ink)}.secondary:hover{background:#edf1e7}.wide{width:100%;margin-top:20px}.empty-state{text-align:center;background:#fffefa;border:1px dashed #b9c6af;border-radius:12px;padding:35px 24px}.empty-state h3{margin:10px 0}.empty-state p{font-size:14px;color:var(--muted)}.empty-state ol{padding:0;display:flex;justify-content:center;gap:35px;list-style-position:inside;margin-top:24px;font-size:12px;color:var(--muted)}.plant-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.plant-card{padding:18px;text-align:left;background:#fffefa;border:1px solid var(--line);border-radius:10px;color:var(--ink);display:flex;align-items:center;gap:14px}.plant-card[aria-pressed=true]{border-color:#608457;box-shadow:inset 0 0 0 1px #608457;background:#eef3e7}.plant-card img{width:42px;height:42px;flex:none}.plant-card strong{display:block;font-size:15px;overflow-wrap:anywhere}.plant-card small{display:block;color:var(--muted);font-size:11px}.detail{margin-top:28px;background:#fffefa;border:1px solid var(--line);border-radius:12px;padding:26px}.detail-heading{border-bottom:1px solid var(--line);padding-bottom:18px;overflow-wrap:anywhere}.detail-heading .eyebrow{margin-bottom:4px}.detail-heading h2{font-size:24px}.detail-heading p:last-child{font-size:12px;color:var(--muted)}.soft-label{flex:none;background:var(--light);font-size:11px;border-radius:30px;padding:6px 12px}.detail-columns{display:grid;grid-template-columns:1fr 1fr;gap:36px}.entry-form{border-right:1px solid var(--line);padding-right:30px}.subtle{color:var(--muted);font-size:12px}.entry-form>.subtle{margin:4px 0 16px}label{display:block;font-size:13px;margin:16px 0 6px}input,select,textarea{width:100%;min-width:0;border:1px solid #bdc8b5;border-radius:7px;padding:10px 12px;color:var(--ink);background:#fff;font-size:14px}textarea{resize:vertical}select{min-height:46px;padding-right:26px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hint{font-size:12px;line-height:1.8;background:#f0f3e9;padding:12px 14px;border-radius:6px;margin-top:12px}.comparison{font-size:13px;line-height:1.9;background:#f1f2e9;padding:16px;margin-top:12px;border-radius:8px;white-space:pre-line}.history-heading{display:flex;justify-content:space-between;align-items:center;margin:26px 0 12px}.history{list-style:none;padding:0;margin:0;max-height:490px;overflow:auto}.history li{border-left:2px solid #ccd8bf;margin-left:5px;padding:0 0 23px 18px;position:relative}.history li:before{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:#638752;left:-5px;top:9px}.history time{font-size:11px;color:var(--muted)}.history h4{font-size:14px;font-weight:600;margin:3px 0}.history p{font-size:12px;overflow-wrap:anywhere;white-space:pre-wrap}.history .state-line{color:var(--muted);margin:4px 0}.backup{background:#e9edde;border-radius:12px;padding:28px 32px;display:flex;justify-content:space-between;align-items:center;gap:36px}.backup h2{font-size:22px;margin-bottom:10px}.backup p{font-size:12px;line-height:1.9}.backup .subtle{margin-top:9px;font-size:11px}.backup-actions{display:flex;flex-direction:column;gap:4px;flex:none;text-align:center}.text-button{background:transparent;border:0;color:var(--ink);font-size:13px;text-decoration:underline;text-underline-offset:4px}.care-note{padding:30px 12px;font-size:12px;color:var(--muted);max-width:850px}.care-note h3{font-size:14px;margin-bottom:7px}.care-note a{display:inline-block;margin-top:8px}footer{max-width:1120px;margin:0 auto;padding:25px 28px;border-top:1px solid var(--line);display:flex;gap:22px;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px}.footer-brand{font-size:16px;color:var(--ink)}dialog{border:1px solid var(--line);border-radius:16px;width:min(460px,calc(100% - 28px));padding:28px;color:var(--ink);background:var(--paper);max-height:90svh}dialog::backdrop{background:#21352477}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.dialog-heading h2{font-size:23px}.icon-button{background:transparent;border:0;font-size:28px;color:var(--muted);width:44px}.notice{padding:12px 18px;background:#e8efdf;border:1px solid #b8caa7;border-radius:8px;margin-bottom:18px;font-size:13px}.notice.is-error,.error{background:#fff1e8;color:var(--error);border-color:#d9aa90}.error{padding:10px 12px;border-radius:6px;font-size:13px;margin-top:12px}
@media(max-width:760px){.topbar{padding:18px 22px}.brand{font-size:20px}.brand span{display:none}.desktop-only{display:none}main{padding:0 20px}.intro{padding:35px 5px;gap:22px;grid-template-columns:1.15fr 1fr}h1{font-size:36px}.intro .eyebrow{font-size:8px;letter-spacing:.1em}.intro-copy{font-size:12px}.hero-art{height:265px}.plant-illustration{transform:scale(.75);transform-origin:center top;left:50%;margin-left:-122px}.sun{width:95px;height:95px;right:10px;top:20px}.art-note{font-size:8px;bottom:19px;letter-spacing:0}.text-link{font-size:12px;gap:16px}.section-heading h2{font-size:21px}.primary{padding:11px 16px}.plant-list{grid-template-columns:repeat(2,1fr)}.detail{padding:22px 18px}.detail-columns{grid-template-columns:1fr;gap:28px}.entry-form{border-right:0;padding-right:0}.history-panel{border-top:1px solid var(--line);padding-top:23px}.backup{align-items:stretch;flex-direction:column;gap:18px;padding:24px}.backup-actions .secondary{width:100%}footer{flex-wrap:wrap;gap:12px}.empty-state ol{gap:16px;font-size:11px}.soft-label{display:none}}
@media(max-width:440px){.topbar{padding:16px}.edition{font-size:10px}main{padding:0 16px}.intro{gap:15px;padding:29px 0 34px}h1{font-size:32px}.hero-art{height:247px}.intro-copy{font-size:11px}.intro .eyebrow{letter-spacing:.04em;font-size:7px}.plant-list{grid-template-columns:1fr}.section-heading{gap:9px}.section-heading .primary{font-size:12px;padding:10px 12px}.section-heading h2 span{margin-left:6px;font-size:11px}.field-row{grid-template-columns:1fr;gap:0}.empty-state{padding:25px 14px}.empty-state ol{flex-direction:column;gap:4px}.detail-heading h2{font-size:22px}.backup h2{font-size:21px}.detail{padding:20px 14px}input,select,textarea{font-size:16px}}
@media(prefers-reduced-motion:no-preference){button{transition:background .15s,border-color .15s}}
.history-actions{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:7px}.history-actions .text-button{min-height:38px;padding:3px 0;text-align:left}.correction-note{color:var(--muted);font-size:11px!important;margin-top:4px}.cancel-edit{display:block;margin:8px auto 0}.entry-form{scroll-margin-top:16px}
.confirm-dialog{width:min(420px,calc(100% - 28px))}.confirm-dialog h2{font-size:20px}.confirm-dialog p{font-size:14px;margin-top:12px;white-space:pre-wrap}.confirm-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.confirm-actions button{min-width:100px}@media(max-width:440px){.confirm-actions{flex-direction:column}.confirm-actions button{width:100%}}
h1{font-size:clamp(28px,4.2vw,48px);letter-spacing:.06em}
@media(max-width:440px){.intro{grid-template-columns:1.5fr 1fr;gap:12px}h1{font-size:26px;letter-spacing:.03em}.intro-copy{font-size:11px}.plant-illustration{transform:scale(.65)}.hero-art{height:230px}.art-note{padding:0 8px;line-height:1.7}}

.backup-text-options{margin:0 0 30px;padding:16px 20px;background:var(--light);border-radius:10px}.backup-text-options summary{cursor:pointer}.backup-text-options p{margin:12px 0}.backup-text-options .confirm-actions{flex-wrap:wrap}#backup-text-value{font-family:monospace;font-size:13px;overflow-wrap:anywhere}#backup-text-status{margin:12px 0;color:var(--ink)}

.photo-comparison{margin:18px 0 26px;padding:18px;background:var(--light);border-radius:10px}.photo-comparison h4{font-size:18px;margin:0 0 12px}.photo-comparison img,.entry-photo{display:block;max-width:100%;max-height:340px;object-fit:contain;border-radius:8px;background:#fff}.photo-comparison p,.photo-note,#photo-status{font-size:14px;line-height:1.6}.photo-switch,.photo-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.photo-switch button,.photo-actions button{min-height:44px}.photo-switch button[aria-pressed="true"]{outline:2px solid var(--ink);outline-offset:2px}.entry-photo{max-height:180px;margin-top:12px}.photo-note{color:var(--muted)}#photo-status{margin:12px 0}.backup-actions{gap:10px}
.backup p,.backup .subtle{font-size:14px;line-height:1.7}

.photo-zoom-dialog{box-sizing:border-box;width:min(900px,calc(100% - 24px));max-height:calc(100svh - 24px);padding:20px}.photo-zoom-dialog .dialog-heading h2{font-size:clamp(18px,3vw,24px)}.photo-zoom-dialog img{display:block;max-width:100%;max-height:calc(100svh - 220px);margin:16px auto 0;object-fit:contain;background:#fff;border-radius:8px}.photo-zoom-dialog p{font-size:16px;line-height:1.5;margin:10px 0}.photo-zoom-dialog .photo-switch{margin-top:10px}.photo-zoom-dialog .photo-switch button{font-size:16px;min-height:44px}.photo-zoom-dialog .photo-switch button[aria-pressed="true"]{outline:2px solid var(--ink);outline-offset:2px}
.plant-search{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin:0 0 8px}.plant-search label{font-size:16px;font-weight:600;margin:0 0 6px}.plant-search input{font-size:16px;min-height:46px}.plant-search button{font-size:16px;min-height:46px}.plant-search-status{font-size:14px;color:var(--muted);margin:0 0 18px}.plant-search+.plant-search-status+.empty-state{margin-top:0}#plant-search-empty{font-size:16px;line-height:1.7;margin-top:0}@media(max-width:520px){.plant-search{grid-template-columns:1fr}.plant-search button{width:100%}}

/* One complete backup is the main path; older formats stay available on demand. */
.backup{align-items:flex-start;gap:28px}.backup>div:first-child{flex:1;min-width:0}.backup-actions{flex:0 1 360px;min-width:0;text-align:left;gap:12px}.backup-actions button{width:100%;font-size:16px;white-space:normal}.backup p,.backup .subtle{font-size:16px;line-height:1.75}.backup .eyebrow{font-size:12px}.backup-actions p{margin-top:4px}.backup-legacy{margin-top:16px;margin-bottom:12px}.backup-text-options{font-size:16px;line-height:1.75}.backup-text-options summary{font-weight:600}.backup-text-options button{font-size:16px}.legacy-backup-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.legacy-backup-actions button{text-align:left;white-space:normal}#backup-text-help{font-size:16px;line-height:1.75;margin-top:14px}@media(max-width:760px){.backup-actions{flex:auto;width:100%}.backup{gap:22px}}@media(max-width:440px){.legacy-backup-actions{grid-template-columns:1fr}.backup-text-options{padding:16px}.backup{padding:22px 18px}}

/* 0010 task layout. Shared 404LIMIT tokens/components continue to own the integrated skin. */
body.plant-note{--ink:#182e34;--muted:#52666b;--line:#d3deda;--paper:#fff;--green:#146358;font-size:17px;line-height:1.8}
.plant-note :is(.intro-copy,.intro-storage,label,.subtle,.hint,.comparison,.notice,.error,.history p,.history time,.history h4,.detail-heading p:last-child,.plant-card small,.empty-state p,.empty-state ol,.care-note,.care-note h3,.confirm-dialog p,.photo-note){font-size:1rem;line-height:1.8}
.plant-note :is(input,select,textarea,button){font-size:1rem;line-height:1.6}
.plant-note :is(button,input,select){min-height:48px}
.plant-note :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #be6720;outline-offset:4px}
body.plant-note .intro{grid-template-columns:minmax(0,1.4fr) minmax(220px,.65fr);gap:32px;padding-block:20px 32px;align-items:center}
.plant-note h1{font-family:inherit;font-size:clamp(2rem,4vw,3rem);font-weight:750;letter-spacing:-.035em;line-height:1.4}
.plant-note .intro .eyebrow{font-size:.9rem;letter-spacing:.04em}
.plant-note .hero-action{display:inline-flex;align-items:center;justify-content:center;margin-top:24px;max-width:100%;white-space:normal}
.plant-note .intro-storage{margin-top:12px;color:var(--muted)}
body.plant-note .hero-art{height:300px;min-height:0;max-width:320px;width:100%;margin-inline:auto}
.plant-note .notebook-tools{border:1px solid var(--line);border-radius:12px;padding:0 18px;margin:0 0 20px;background:var(--accent-soft,#edf5f0)}
.plant-note .notebook-tools>summary{padding:14px 0;font-size:1rem;font-weight:600;cursor:pointer;color:var(--green)}
.plant-note .notebook-tools[open]{padding-bottom:18px}
.plant-note .notebook-tools .plant-search{margin-top:12px}
.plant-note .notebook-tools :is(p,label){font-size:1rem}
.plant-note .plant-search-status:empty{display:none}
.plant-note .detail-heading{gap:20px;align-items:flex-start}
.plant-note .detail-heading .text-button{margin-top:12px;margin-right:8px}
.plant-note .entry-form{padding:22px;border:1px solid var(--line);border-radius:12px}
.plant-note .entry-feedback{font-size:1rem;line-height:1.8;color:var(--green);padding:14px 16px;margin-top:18px;border:1px solid var(--line);border-radius:9px;background:var(--accent-soft,#edf5f0)}
.entry-photo-field{margin:18px 0 20px;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--light)}.entry-photo-title{font-size:1rem;font-weight:600}.entry-photo-field .subtle{font-size:.875rem;line-height:1.65}.entry-photo-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.entry-photo-buttons button{flex:1 1 160px}.entry-photo-field img{display:block;max-width:100%;max-height:260px;object-fit:contain;margin:14px auto;border-radius:8px}.entry-photo-field #entry-photo-status,.photo-row-status{font-size:.9rem;line-height:1.6;margin-top:10px}.entry-photo-field #entry-photo-clear{min-height:44px}.photo-row-status:empty{display:none}
.backup-file-link{display:block;padding:12px;border:1px solid var(--green);border-radius:8px;font-size:.95rem;line-height:1.5;background:#fff;text-align:center}.backup-actions #combined-export-status{font-size:.9rem;line-height:1.6;text-align:left}
.plant-note .history-heading{flex-wrap:wrap;gap:8px}
.plant-note .history{max-height:none;margin-top:20px}
.plant-note .history-actions{gap:10px;margin-top:12px}
.plant-note .history-actions .text-button{min-height:48px;padding:9px 12px}
.plant-note .correction-note{font-size:1rem!important}
.plant-note .care-note{padding-block:32px}
.plant-note footer{font-size:1rem;line-height:1.8;flex-wrap:wrap}
.plant-note .section-heading h2 span{font-size:1rem}
@media(max-width:760px){body.plant-note .intro{grid-template-columns:minmax(0,1fr);gap:24px;padding-block:12px 28px}.plant-note .hero-action{width:100%}body.plant-note .hero-art{height:156px;max-width:none;border-radius:18px;overflow:hidden}.plant-note .plant-illustration{position:absolute;left:auto;right:8px;top:6px;margin:0;transform:scale(.5);transform-origin:right top}.plant-note .sun{width:90px;height:90px;top:18px;right:90px}.plant-note .art-note{width:52%;left:14px;bottom:34px;text-align:left;font-size:1rem;line-height:1.8;letter-spacing:0;padding:0}.plant-note .detail{padding:18px 14px}.plant-note .entry-form{padding:18px 14px}.plant-note .detail-heading{flex-direction:column}.plant-note .field-row{grid-template-columns:minmax(0,1fr);gap:0}.plant-note .history-panel{padding-top:24px}.plant-note .soft-label{display:none}.plant-note .empty-state ol{flex-direction:column;gap:8px}}
@media(max-width:400px){.plant-note h1{font-size:1.8rem}.plant-note .intro .eyebrow{font-size:.9rem}.plant-note .section-heading{flex-wrap:wrap;align-items:flex-start}.plant-note .notebook-tools{padding-inline:12px}}
@media(prefers-reduced-motion:reduce){.plant-note *{scroll-behavior:auto!important;transition:none!important}}

@media(min-width:761px){.plant-note .plant-illustration{transform:scale(.82);transform-origin:center top}}
@media(max-width:760px){.plant-note .art-line{display:block}}

.plant-note .plant-card span{text-align:left}
@media(max-width:760px){body.plant-note .hero-art{height:auto;min-height:156px}.plant-note .art-note{position:relative;display:block;left:auto;bottom:auto;width:calc(100% - 135px);padding:22px 14px;margin:0;min-height:156px;align-content:center}}

.plant-note .plant-card strong{font-size:1rem;line-height:1.8}.plant-note .plant-card span{flex:1;min-width:0}

.note-health-return{max-width:1080px;margin:12px auto 0;padding:0 24px;font-size:16px}

/* 0010 watering entry: reuse the notebook layout and preserve its data format. */
.watering-mode .watering-summary{padding:20px 24px;margin-bottom:24px;background:#edf3e8;border:1px solid #cad8c1;border-radius:12px;overflow-wrap:anywhere}
.watering-mode .watering-summary h3{font-size:clamp(1.4rem,3vw,1.8rem);margin:4px 0 10px;line-height:1.5}
.watering-mode .watering-summary p{font-size:1rem;line-height:1.8}
.watering-mode .note-health-return{display:flex;flex-wrap:wrap;gap:12px 24px;line-height:1.8}
.watering-mode #entry-extra{margin-top:20px}
.watering-mode #entry-extra summary{font-size:1rem}
.watering-mode .care-note details{margin-top:16px}
.watering-mode .care-note summary{cursor:pointer;font-size:1rem}
