:root{--bg:#EFF5E4;--surface:#F7FAF1;--card:#fff;--text:#3F5B3C;--muted:#6E8467;--quiet:#9AAE8E;--line:#DCE8CC;--deep:#4A6B41;--leaf:#7FA36A;--leaf-light:#97C459;--young:#C9DCB6;--soft:#E4EEDA;--soil:#C0A67F;--soil-deep:#A98B63;--bloom:#E9A23B;--bloom-soft:#F0B961;--bloom-deep:#E1836B;--danger:#A64E4E;--shadow:0 10px 26px rgba(63,91,60,.10);--shadow-soft:0 3px 12px rgba(63,91,60,.07)}
*{box-sizing:border-box}html{color-scheme:light;background:var(--bg)}body{margin:0;min-height:100vh;min-height:100dvh;color:var(--text);background:#dfe9d7;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo",sans-serif}button,textarea,input{font:inherit}button{-webkit-tap-highlight-color:transparent}button:focus-visible,textarea:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid rgba(99,153,34,.22);outline-offset:2px}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.app-shell{position:relative;width:min(100%,500px);min-height:100vh;min-height:100dvh;margin:0 auto;padding-bottom:calc(86px + env(safe-area-inset-bottom));background:var(--bg);box-shadow:0 0 44px rgba(63,91,60,.12)}
.app-header{min-height:58px;padding:10px 20px 6px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand-button{border:0;background:transparent;padding:4px 0;display:inline-flex;align-items:center;gap:8px;color:var(--deep);font-weight:800;font-size:16px;cursor:pointer}.brand-button img{display:block;width:28px;height:28px}.header-actions{display:flex;align-items:center;gap:8px}.circle-button{width:40px;height:40px;border:0;border-radius:50%;display:grid;place-items:center;color:var(--deep);background:rgba(255,255,255,.76);box-shadow:var(--shadow-soft);cursor:pointer}.add-circle{font-size:25px;line-height:1;font-weight:300}.settings-circle span{font-size:17px;line-height:1}
main{padding:0 20px 24px}.view{display:grid;gap:18px}.home-view{min-height:calc(100dvh - 90px)}
.empty-home{min-height:calc(100dvh - 120px);display:flex;flex-direction:column;justify-content:center;align-items:center;padding:10px 14px 58px;text-align:center}.empty-visual{width:138px;height:138px;margin-bottom:24px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 50% 55%,#E4EEDA,#EFF5E4 72%)}.empty-visual img{width:128px;height:128px;display:block}.empty-copy h3{margin-bottom:12px;color:var(--text);font-family:ui-rounded,"Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;font-size:28px;font-weight:800;line-height:1.5;letter-spacing:-.025em}.empty-copy p{margin-bottom:0;color:var(--muted);font-size:15px;line-height:1.9}.empty-action{width:100%;margin-top:30px}.empty-action>p{margin:13px 0 0;color:var(--quiet);font-size:13px}.sow-button{width:100%;min-height:58px;border-radius:999px!important;font-size:17px}.plus-mark{width:19px;height:19px;position:relative;display:inline-block;flex:0 0 19px}.plus-mark:before,.plus-mark:after{content:"";position:absolute;background:currentColor;border-radius:2px}.plus-mark:before{left:8px;top:1px;width:3px;height:17px}.plus-mark:after{left:1px;top:8px;width:17px;height:3px}
.home-content{display:grid;gap:18px;padding-top:4px}.home-title-row,.page-title-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.date-label,.eyebrow,.mini-label{margin:0 0 4px;color:var(--quiet);font-family:ui-monospace,"SFMono-Regular",Consolas,monospace;font-size:11px;font-weight:700;letter-spacing:.08em}.home-title-row h2,.page-title-row h2{margin:0;font-family:ui-rounded,"Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;font-size:25px;line-height:1.35;letter-spacing:-.025em}.flower-pill{border:0;border-radius:999px;min-width:56px;padding:8px 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#fff;color:var(--text);box-shadow:var(--shadow-soft);cursor:pointer}.flower-pill strong{font-size:13px}.mini-flower-icon,.nav-bloom{width:19px;height:19px;display:inline-block;position:relative}.mini-flower-icon:before,.nav-bloom:before{content:"";position:absolute;left:5px;top:1px;width:9px;height:9px;border-radius:50%;background:currentColor;box-shadow:-5px 5px 0 -1px currentColor,5px 5px 0 -1px currentColor}.mini-flower-icon:after,.nav-bloom:after{content:"";position:absolute;left:8px;top:10px;width:3px;height:9px;border-radius:2px;background:currentColor}.flower-pill .mini-flower-icon{color:var(--bloom)}
.next-step-card{padding:18px;border-radius:22px;background:linear-gradient(155deg,#fff,#f3f7ec);box-shadow:var(--shadow-soft);display:grid;grid-template-columns:46px 1fr;gap:14px;align-items:start}.next-step-icon{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;color:var(--deep);background:var(--soft)}.next-step-copy h3{margin:0 0 5px;font-size:17px}.next-step-copy p:last-child{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.next-step-card .full{grid-column:1/-1}.send-icon{display:inline-block;width:20px;height:16px;border-radius:4px 4px 9px 9px;background:var(--young);position:relative}.send-icon:after{content:"";position:absolute;left:0;top:0;width:20px;height:8px;border-radius:4px 4px 50% 50%;background:var(--soft)}
.today-card{position:relative;overflow:hidden;padding:25px 22px 22px;border-radius:26px;background:#fff;box-shadow:var(--shadow)}.today-card:after{content:"";position:absolute;right:-34px;top:-34px;width:145px;height:145px;border-radius:50%;background:#F5F9EE;pointer-events:none}.today-meta{position:relative;z-index:1;display:flex;align-items:center;gap:9px;color:var(--muted);font-size:13px}.today-meta .count-badge{margin-left:auto}.owner-mark{width:20px;height:20px;flex:0 0 20px;border-radius:50%;display:inline-block}.partner-mark{background:var(--soft);box-shadow:inset 0 0 0 2px var(--leaf)}.mine-mark{background:#E7E3D6;box-shadow:inset 0 0 0 2px var(--soil)}.count-badge{min-width:42px;padding:5px 8px;border-radius:999px;background:rgba(228,238,218,.85);color:var(--deep);text-align:center;font-size:11px;font-weight:800}.mission-card{position:relative;z-index:1;margin-top:18px}.mission-text{margin:12px 0 18px;color:var(--text);font-family:ui-rounded,"Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;font-size:24px;font-weight:800;line-height:1.6;letter-spacing:-.02em;overflow-wrap:anywhere}.mission-foot{display:flex;align-items:center;gap:8px;color:var(--quiet);font-size:12px}.sprout-small,.nav-today{width:22px;height:22px;display:inline-block;position:relative;color:currentColor}.sprout-small:before,.nav-today:before{content:"";position:absolute;left:10px;top:8px;width:3px;height:13px;border-radius:2px;background:currentColor}.sprout-small:after,.nav-today:after{content:"";position:absolute;left:1px;top:5px;width:10px;height:8px;border-radius:100% 0 100% 0;background:currentColor;box-shadow:10px -3px 0 -1px currentColor}.button-row{display:flex;gap:10px;margin-top:18px}.button-row>*{flex:1}.grow-button{min-height:52px;border-radius:999px!important}
.self-seed-card{padding:17px 18px;border-radius:20px;background:rgba(255,255,255,.75);box-shadow:var(--shadow-soft)}.self-seed-head{display:flex;align-items:center;gap:11px}.self-seed-head>div{min-width:0}.self-seed-head .count-badge{margin-left:auto}.self-seed-head h3{margin:0;font-size:16px}.seed-icon{width:28px;height:28px;flex:0 0 28px;display:inline-block;position:relative}.seed-icon:before{content:"";position:absolute;left:8px;top:5px;width:12px;height:18px;border-radius:50% 50% 45% 45%/62% 62% 38% 38%;background:var(--soil-deep);transform:rotate(-16deg)}.seed-icon.tiny{width:21px;height:21px;flex-basis:21px}.seed-icon.tiny:before{left:6px;top:4px;width:9px;height:14px}.self-mission{margin-top:12px;display:flex;align-items:center;gap:12px}.self-mission>div:first-child{flex:1;min-width:0}.self-mission-text{margin:7px 0 0;color:var(--muted);font-size:14px;line-height:1.55;overflow-wrap:anywhere}.self-mission-actions{flex:0 0 auto;display:flex;flex-direction:column;gap:4px;align-items:flex-end}.text-action{border:0;background:transparent;padding:4px 0;color:var(--quiet);font-size:12px;cursor:pointer}.text-action.strong{color:var(--deep);font-size:13px;font-weight:800}
.primary-button,.secondary-button,.danger-button{min-height:46px;padding:11px 16px;border-radius:14px;border:0;font-weight:800;cursor:pointer}.primary-button{background:var(--deep);color:#F7FAF1;box-shadow:0 8px 20px rgba(74,107,65,.22)}.secondary-button{background:#fff;color:var(--deep);box-shadow:inset 0 0 0 1.5px var(--line)}.danger-button{background:var(--danger);color:#fff}.primary-button:disabled,.secondary-button:disabled{opacity:.42;cursor:default;box-shadow:none}.full{width:100%}.small{min-height:38px;padding:8px 12px;border-radius:999px;font-size:12px}.primary-button.small,.secondary-button.small{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.page-title-row{padding-top:7px}.segmented{display:flex;gap:5px;padding:5px;border-radius:999px;background:var(--soft)}.segment{flex:1;min-height:42px;border:0;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:7px;background:transparent;color:#829379;font-size:13px;font-weight:800;cursor:pointer}.segment.is-active{background:#fff;color:var(--text);box-shadow:0 2px 8px rgba(63,91,60,.06)}.panel-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.helper,.page-helper{margin:0;color:var(--muted);font-size:12px;line-height:1.65}.request-list,.history-list{display:grid;gap:12px}.request-card,.history-card,.settings-card{border-radius:20px;background:#fff;box-shadow:var(--shadow-soft)}.request-card{padding:17px 18px 16px;border-left:5px solid var(--leaf)}.request-card.request-self{border-left-color:var(--soil)}.request-card.request-partner{border-left-color:var(--leaf)}.request-card>p,.history-card>p{margin:13px 0 10px;font-size:16px;font-weight:700;line-height:1.65;overflow-wrap:anywhere}.request-meta,.history-meta,.meta-left{display:flex;align-items:center;gap:7px}.request-meta,.history-meta{justify-content:space-between}.meta-left{flex-wrap:wrap}.meta-date{color:var(--quiet);font-size:10px}.card-actions{display:flex;gap:7px}.text-button{border:0;background:transparent;padding:4px 2px;color:var(--muted);font-size:11px;cursor:pointer}.text-button.danger{color:var(--danger)}.item-progress{margin-top:11px;padding-top:10px;border-top:1px solid #EEF2E8;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--quiet);font-size:10px}.item-progress strong{color:var(--muted);font-size:11px}.empty-state{color:var(--quiet);text-align:center}.empty-state p{margin:0}.empty-state.list-empty{padding:26px 16px;border-radius:18px;background:rgba(255,255,255,.62);line-height:1.7;font-size:13px}.empty-state.compact{margin:16px 0 10px;font-size:13px;line-height:1.6}.urgency-chip,.type-chip{display:inline-flex;width:fit-content;align-items:center;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:800}.urgency-today{background:#FFF0D9;color:#8A5A15}.urgency-soon{background:#EFF5E4;color:#5C7A52}.urgency-anytime{background:#F2F0E7;color:#7E826F}.type-partner{background:#E4EEDA;color:#5C7A52}.type-self{background:#F0E9DF;color:#8B7358}
.growth-card{padding:22px;border-radius:26px;display:grid;grid-template-columns:92px 1fr;gap:18px;align-items:center;background:linear-gradient(160deg,#FDF4E4,#FFF9F0);box-shadow:0 8px 22px rgba(233,162,59,.14)}.growth-visual{width:92px;height:92px}.growth-visual img{width:100%;height:100%;display:block}.growth-copy h3{margin:0 0 10px;font-size:18px}.growth-copy h3 span{color:var(--bloom-deep);font-size:30px}.growth-progress-row{display:flex;justify-content:space-between;gap:12px;color:#A08863;font-size:11px}.growth-progress-row strong{color:#7A5A2E}.progress-track{width:100%;height:8px;margin-top:7px;border:0;border-radius:999px;overflow:hidden;background:#F5E4CB;appearance:none}.progress-track::-webkit-progress-bar{background:#F5E4CB;border-radius:999px}.progress-track::-webkit-progress-value{background:linear-gradient(90deg,var(--bloom-soft),var(--bloom-deep));border-radius:999px}.progress-track::-moz-progress-bar{background:linear-gradient(90deg,var(--bloom-soft),var(--bloom-deep));border-radius:999px}.growth-note{margin:8px 0 0;color:#A08863;font-size:10px;line-height:1.55}.history-heading{margin-top:2px}.history-heading h3{margin:0 0 4px;font-size:17px}.history-heading p{margin:0;color:var(--quiet);font-size:11px}.history-card{padding:16px 17px}
.settings-card{padding:18px}.settings-card h3{margin:0 0 8px;font-size:16px}.settings-card p,.settings-card li{color:var(--muted);font-size:12px;line-height:1.7}.settings-card p:last-child{margin-bottom:0}.settings-card ul{margin:9px 0 0;padding-left:19px}.settings-details summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:800}.settings-details summary span{color:var(--quiet);font-size:10px;font-weight:600}.details-body{margin-top:12px}.danger-card{background:#fffafa}.danger-text{color:var(--danger)}.version{margin:6px 0 0;color:var(--quiet);font-size:10px;text-align:center}
.bottom-nav{position:fixed;left:50%;bottom:0;z-index:20;width:min(100%,500px);transform:translateX(-50%);min-height:70px;padding:9px 36px calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:rgba(247,250,241,.95);border-top:1px solid rgba(220,232,204,.85);backdrop-filter:blur(15px)}.nav-button{border:0;background:transparent;color:#A9B8A0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer}.nav-button.is-active{color:var(--deep)}.nav-button small{font-size:10px}.nav-symbol{width:22px;height:22px;display:block;position:relative}.nav-list:before,.nav-list:after{content:"";position:absolute;left:2px;width:18px;height:4px;border-radius:2px;background:currentColor}.nav-list:before{top:5px}.nav-list:after{top:13px;opacity:.62}
.modal{width:min(calc(100% - 28px),460px);max-height:min(88vh,720px);margin:auto;padding:22px;border:0;border-radius:26px;color:var(--text);background:var(--surface);box-shadow:0 24px 80px rgba(40,56,37,.28);overflow:auto}.modal::backdrop{background:rgba(48,66,44,.34);backdrop-filter:blur(2px)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:14px}.modal-header h2{margin:0;font-size:21px}.close-button{width:39px;height:39px;border:0;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--muted);font-size:22px;cursor:pointer}.sow-modal form{display:grid;gap:22px}.sow-header{display:grid;grid-template-columns:54px 1fr 54px;align-items:center;text-align:center}.sow-header h2{font-size:17px}.plain-close{border:0;background:transparent;padding:8px 0;color:var(--muted);text-align:left;cursor:pointer}.header-spacer{width:54px}.field{display:grid;gap:9px;border:0;padding:0;margin:0;min-width:0}.field>span,.field legend{color:var(--muted);font-size:13px;font-weight:600}.field-hint{color:var(--quiet);font-weight:500}.field textarea{width:100%;min-height:104px;padding:17px;border:0;border-radius:18px;resize:vertical;background:#fff;color:var(--text);box-shadow:inset 0 0 0 1.5px var(--line);font-family:ui-rounded,"Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;font-size:16px;line-height:1.7}.field textarea:focus{box-shadow:inset 0 0 0 2px var(--leaf);outline:0}.char-counter{color:var(--quiet);text-align:right;font-size:10px}.choice-grid{display:grid;gap:9px}.choice-grid.two{grid-template-columns:repeat(2,1fr)}.choice-grid.three{grid-template-columns:repeat(3,1fr)}.choice-card{position:relative;cursor:pointer}.choice-card input{position:absolute;opacity:0;pointer-events:none}.choice-card>span{min-height:70px;padding:11px 9px;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;background:#fff;box-shadow:inset 0 0 0 1.5px var(--line);color:var(--muted)}.choice-card strong{font-size:14px}.choice-card small{color:var(--quiet);font-size:9px}.choice-card input:checked+span{background:var(--deep);color:#F7FAF1;box-shadow:none}.choice-card input:checked+span small{color:rgba(247,250,241,.72)}.urgency-choice i{width:8px;height:8px;border-radius:50%;display:block;background:var(--young)}.today-choice i{background:var(--bloom)}.anytime-choice i{background:#DDD9C8}.owner-choice>span{min-height:82px}.owner-choice i{margin-bottom:2px}.owner-choice input:checked+span .partner-mark{background:rgba(255,255,255,.16);box-shadow:inset 0 0 0 2px #F7FAF1}.owner-choice input:checked+span .seed-icon:before{background:#F7FAF1}.modal-actions{display:flex;gap:10px;margin-top:4px}.modal-actions>*{flex:1}.share-preview{display:grid;gap:8px;margin:14px 0}.preview-item{padding:12px 13px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1px #E9EFE1}.preview-item strong{display:block;margin-bottom:3px;font-size:11px;color:var(--deep)}.preview-item span{font-size:13px;line-height:1.5}.status-message{min-height:20px;margin:10px 0 0;color:var(--muted);font-size:11px}.completion-modal{text-align:center}.completion-mark{width:108px;height:108px;margin:0 auto 12px;animation:bloom-pop .75s cubic-bezier(.2,.9,.25,1) both}.completion-mark img{width:100%;height:100%;display:block}.completion-copy h2{color:#7A5A2E}.bloom-overlay{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:24px;background:rgba(255,250,240,.90);backdrop-filter:blur(7px)}.bloom-scene{display:flex;flex-direction:column;align-items:center;gap:14px;animation:bloom-rise .45s ease-out both}.bloom-flower-image{width:170px;height:170px;animation:bloom-pop .85s cubic-bezier(.2,.9,.25,1) both}.bloom-scene p{margin:0;color:#7A5A2E;font-family:ui-rounded,sans-serif;font-size:21px;font-weight:800}@keyframes bloom-pop{0%{transform:scale(.5) translateY(20px);opacity:0}70%{transform:scale(1.08);opacity:1}100%{transform:scale(1);opacity:1}}@keyframes bloom-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.toast{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));z-index:120;width:min(calc(100% - 36px),430px);transform:translateX(-50%);padding:12px 15px;border-radius:999px;background:rgba(48,66,44,.92);color:#fff;text-align:center;font-size:12px;box-shadow:0 9px 30px rgba(48,66,44,.22)}
@media(max-width:420px){main{padding-left:18px;padding-right:18px}.growth-card{grid-template-columns:78px 1fr;padding:18px;gap:14px}.growth-visual{width:78px;height:78px}.panel-actions{align-items:flex-start}}@media(max-width:360px){.empty-copy h3{font-size:25px}.mission-text{font-size:21px}.choice-grid.three,.choice-grid.two{grid-template-columns:1fr}.growth-card{grid-template-columns:1fr;text-align:center}.growth-visual{margin:0 auto}.panel-actions{flex-direction:column}.panel-actions .small{width:100%}.modal-actions.stack-mobile{flex-direction:column}}@media(min-width:700px){body{padding:22px 0}.app-shell{min-height:calc(100vh - 44px);border-radius:34px;overflow:hidden}.bottom-nav{bottom:22px;border-radius:0 0 34px 34px}.empty-home{min-height:calc(100vh - 150px)}}

/* Ver.0.6: repeat limits */
.repeat-field{padding-top:2px}.repeat-choice>span{min-height:72px}.limit-count{width:150px;min-height:48px;margin:1px auto 0;padding:6px 12px;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:8px;background:#fff;box-shadow:inset 0 0 0 1.5px var(--line);color:var(--muted);font-size:13px;font-weight:700}.limit-count input{width:58px;border:0;background:transparent;color:var(--text);font:800 18px/1 ui-rounded,"Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;text-align:center;outline:0}.limit-count:focus-within{box-shadow:inset 0 0 0 2px var(--leaf)}.limit-count.is-disabled{opacity:.4}.repeat-note{color:var(--quiet);font-size:10px;line-height:1.55;text-align:center}.repeat-chip{display:inline-flex;width:fit-content;align-items:center;padding:5px 9px;border-radius:999px;background:#F0E9DF;color:#7E684F;font-size:10px;font-weight:800}.item-progress.is-complete strong{color:#A56545}.item-progress.is-today strong{color:var(--deep)}.grow-button{padding-left:20px!important;padding-right:20px!important;font-size:14px}.self-mission-actions .text-action.strong{max-width:112px;text-align:right;line-height:1.35}.preview-rule{margin:5px 0 0!important;color:var(--quiet);font-size:10px!important;font-weight:600!important}


/* Ver.0.7 growth icons and per-seed growth */
.item-growth{margin-top:12px;padding-top:12px;border-top:1px solid #EEF2E8;display:flex;align-items:center;gap:12px}
.growth-stage-icon{width:52px;height:52px;display:block;flex:0 0 52px}
.growth-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.growth-text strong{color:var(--text);font-size:13px;line-height:1.4}
.growth-text span{color:var(--deep);font-size:12px;font-weight:800}
.growth-text small{color:var(--quiet);font-size:10px;line-height:1.5}
.growth-seed-list{display:grid;gap:12px;margin-bottom:14px}
.growth-top-heading{margin-bottom:10px}
.growth-seed-card{display:grid;grid-template-columns:72px 1fr;gap:14px;padding:16px 18px;border-radius:22px;background:#fff;box-shadow:var(--shadow-soft)}
.growth-seed-visual{width:72px;height:72px;border-radius:18px;display:grid;place-items:center;background:#F6F3EC}
.growth-seed-visual img{width:64px;height:64px;display:block}
.growth-seed-body{min-width:0}
.growth-seed-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.growth-seed-card h4{margin:0 0 8px;font-size:17px;line-height:1.5;overflow-wrap:anywhere}
.growth-stage-line{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--deep)}
.growth-stage-line strong{font-size:13px}
.growth-stage-line span{font-size:12px;font-weight:800;color:#A56545}
.growth-seed-note{margin:7px 0 0;color:var(--quiet);font-size:11px;line-height:1.55}
.history-card>p{margin-bottom:0}
@media (max-width: 560px){
  .growth-seed-card{grid-template-columns:64px 1fr;gap:12px;padding:14px}
  .growth-seed-visual{width:64px;height:64px;border-radius:16px}
  .growth-seed-visual img,.growth-stage-icon{width:48px;height:48px}
  .growth-seed-card h4{font-size:16px}
}


/* Ver.0.8: delivery flow, selectable sharing, water feedback */
.water-drop{width:12px;height:16px;display:inline-block;flex:0 0 12px;border-radius:70% 70% 72% 72% / 80% 80% 45% 45%;background:currentColor;transform:rotate(45deg);margin-right:7px;opacity:.9}
.small-drop{width:8px;height:11px;flex-basis:8px;margin-right:0}.tiny-drop{width:7px;height:10px;flex-basis:7px;margin-right:5px}
.grow-button{display:inline-flex;align-items:center;justify-content:center}.water-text-action{display:inline-flex;align-items:center;justify-content:flex-end}
.mission-growth-row{display:grid;grid-template-columns:72px 1fr;gap:14px;align-items:center}.mission-growth-icon{width:64px;height:64px;display:block}.mission-growth-icon.small{width:46px;height:46px}.mission-growth-row .mission-text{margin-top:8px}
.self-mission-main{display:flex!important;align-items:center;gap:10px;flex:1;min-width:0}.self-mission-main>div{min-width:0;flex:1}
.list-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 2px 0}.list-section-title h3{margin:0;font-size:13px;color:var(--muted)}.list-section-title span{color:var(--quiet);font-size:10px}
.delivered-details{margin-top:8px;border-top:1px solid rgba(220,232,204,.85);padding-top:10px}.delivered-details summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 4px;color:var(--muted);font-size:13px;font-weight:800}.delivered-details summary::-webkit-details-marker{display:none}.delivered-details summary:after{content:'›';font-size:20px;line-height:1;transform:rotate(90deg);transition:transform .2s}.delivered-details[open] summary:after{transform:rotate(-90deg)}.delivered-details summary span{margin-left:auto;margin-right:8px;color:var(--quiet);font-size:10px}.delivered-list{margin-top:8px}.delivered-card{opacity:.92;background:#FCFDF9}.delivered-chip{background:#EEF1E9;color:#75866E}.delivery-meta{display:flex;justify-content:space-between;gap:10px;color:var(--quiet);font-size:10px}
.post-save-modal{text-align:center}.post-save-mark{width:68px;height:68px;margin:0 auto 14px;border-radius:22px;display:grid;place-items:center;background:var(--soft);color:var(--deep)}.post-save-mark .send-icon{transform:scale(1.45)}.post-save-actions{display:grid;gap:10px;margin-top:20px}.post-save-actions .primary-button,.post-save-actions .secondary-button{display:flex;align-items:center;justify-content:center;gap:8px}.post-save-close{justify-self:center;margin-top:2px;padding:7px 14px}
.share-select-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:12px}.share-select-item{position:relative;display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start;padding:13px;border-radius:16px;background:#fff;box-shadow:inset 0 0 0 1px #E9EFE1;cursor:pointer}.share-select-item input{position:absolute;opacity:0;pointer-events:none}.share-check{width:22px;height:22px;margin-top:1px;border-radius:7px;box-shadow:inset 0 0 0 1.5px var(--line);background:#fff;position:relative}.share-select-item input:checked+.share-check{background:var(--deep);box-shadow:none}.share-select-item input:checked+.share-check:after{content:'';position:absolute;left:6px;top:3px;width:7px;height:12px;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(45deg)}.share-select-body{display:grid;gap:7px;min-width:0}.share-select-body>strong{font-size:13px;line-height:1.55;color:var(--text);overflow-wrap:anywhere}.share-select-meta{display:flex;gap:6px;flex-wrap:wrap}
.bloom-overlay .bloom-flower-image{object-fit:contain}
@media(max-width:420px){.mission-growth-row{grid-template-columns:58px 1fr;gap:10px}.mission-growth-icon{width:54px;height:54px}.self-mission{align-items:flex-start}.self-mission-actions{padding-top:4px}}


/* Ver.0.9: compact home, lighter monthly stats, sticky save actions */
.home-view,.home-content{align-content:start}
.home-content{gap:16px}
.self-seed-card{padding:15px 16px;border-radius:20px}
.self-seed-head{gap:9px}
.self-seed-head h3{font-size:15px}
.self-mission{margin-top:10px;align-items:center;gap:10px}
.self-mission-main{gap:8px}
.self-mission-main .mission-growth-icon.small{width:38px;height:38px;flex:0 0 38px}
.self-mission-text{margin-top:5px;font-size:13px;line-height:1.45}
.self-mission-actions{gap:1px}
.self-mission-actions .text-action{padding:3px 0}

.month-stats-card{padding:16px 18px;border-radius:20px;background:rgba(255,255,255,.72);box-shadow:var(--shadow-soft)}
.month-stats-card>.mini-label{margin-bottom:10px}
.month-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.month-stat{min-width:0;display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:16px;background:#fff}
.month-stat-icon{flex:0 0 auto;margin-right:0}
.month-stat.water-stat{color:var(--deep)}
.month-stat.bloom-stat{color:var(--bloom-deep)}
.month-stat .mini-flower-icon{width:22px;height:22px}
.month-stat>div{display:flex;align-items:baseline;gap:4px;min-width:0}
.month-stat strong{font-family:ui-rounded,"Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;font-size:22px;line-height:1}
.month-stat span:last-child{color:var(--muted);font-size:11px;white-space:nowrap}

/* Registration dialog scrolls while the primary actions remain reachable. */
.sow-modal{padding:0;overflow:hidden}
.sow-modal form{max-height:min(88vh,720px);overflow:auto;overscroll-behavior:contain;padding:22px 22px 0;scrollbar-gutter:stable}
.sow-modal .modal-actions{position:sticky;bottom:0;z-index:8;margin:0 -22px;padding:14px 22px calc(14px + env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(247,250,241,.86),var(--surface) 26%);box-shadow:0 -12px 24px rgba(63,91,60,.08)}

/* Intermediate growth is a short, lightweight feedback card. Bloom keeps the full celebration. */
.bloom-overlay.is-growth-step{place-items:end center;background:transparent;backdrop-filter:none;padding:24px 22px calc(106px + env(safe-area-inset-bottom));pointer-events:none}
.bloom-overlay.is-growth-step .bloom-scene{width:min(100%,330px);flex-direction:row;justify-content:center;gap:12px;padding:13px 18px;border-radius:22px;background:rgba(255,253,247,.96);box-shadow:0 12px 34px rgba(63,91,60,.18);animation:growth-toast-in .28s ease-out both}
.bloom-overlay.is-growth-step .bloom-flower-image{width:58px;height:58px;animation:growth-icon-pop .34s cubic-bezier(.2,.9,.25,1) both}
.bloom-overlay.is-growth-step .bloom-scene p{font-size:16px;color:var(--deep)}
.bloom-overlay.is-bloom{background:rgba(255,250,240,.90);backdrop-filter:blur(7px)}
@keyframes growth-toast-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes growth-icon-pop{from{opacity:0;transform:scale(.75)}to{opacity:1;transform:scale(1)}}

@media(max-width:420px){
  .home-content{gap:14px}
  .self-seed-card{padding:14px}
  .month-stats-card{padding:14px}
  .month-stat{padding:10px}
  .month-stat strong{font-size:20px}
  .sow-modal form{max-height:92dvh;padding:18px 18px 0}
  .sow-modal .modal-actions{margin:0 -18px;padding:12px 18px calc(12px + env(safe-area-inset-bottom))}
}
@media(max-width:350px){
  .month-stats-grid{grid-template-columns:1fr}
}


/* Ver.0.10: clearer remaining count, skippable growth feedback, multi-seed-safe compact layout */
.growth-remaining{margin:5px 0 0;color:var(--deep);font-size:13px;font-weight:800;line-height:1.45}
.growth-remaining-small{display:block;margin-top:2px;color:var(--deep);font-size:11px;font-weight:800;line-height:1.45}
.growth-seed-note{margin-bottom:0}

/* The self card grows only with its actual contents. Multiple seeds are represented by the count + reroll action. */
.self-seed-card{min-height:0;height:auto}
.self-mission{min-height:0}
.self-mission-main{min-height:0}

/* Keep the feedback layer strictly viewport-sized so the underlying page does not peek through. */
body.feedback-open{height:100dvh;overflow:hidden}
body.feedback-open .app-shell{height:100dvh;min-height:100dvh;overflow:hidden}
.bloom-overlay{width:100vw;height:100dvh;min-height:100dvh;max-height:100dvh;overflow:hidden;cursor:pointer;touch-action:manipulation}
.bloom-overlay.is-growth-step{pointer-events:auto;place-items:center;background:#FFF9F0;padding:24px;backdrop-filter:none}
.bloom-overlay.is-growth-step .bloom-scene{width:min(100%,320px);flex-direction:column;gap:10px;padding:22px 20px;border-radius:26px;background:rgba(255,253,247,.96);box-shadow:0 12px 34px rgba(63,91,60,.14)}
.bloom-overlay.is-growth-step .bloom-flower-image{width:104px;height:104px}
.bloom-overlay.is-growth-step .bloom-scene p{font-size:19px}
.growth-feedback-copy{display:grid;gap:5px;text-align:center}
.growth-feedback-copy p{margin:0}
.growth-feedback-copy small{color:var(--quiet);font-size:10px;font-weight:600}
.bloom-overlay.is-bloom .growth-feedback-copy small{color:#A08863}

@media(max-width:420px){
  .growth-remaining{font-size:12px}
  .growth-seed-card{align-items:center}
  .self-mission-actions{flex-shrink:0}
}


/* Ver.0.12: cleaner self card, clearer reroll action, stronger growth feedback */
.self-seed-head{padding-left:2px}
.self-seed-head>div:first-child{flex:1;min-width:0}
.self-seed-head .count-badge{flex:0 0 auto}

/* 「別のタネ」は操作だと分かる小さなアウトラインボタンにする。 */
.reroll-action{
  min-height:30px;
  padding:5px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  background:rgba(255,255,255,.72);
  color:var(--muted);
  font-size:11px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
}
.reroll-action:hover{background:#fff;color:var(--deep)}
.reroll-action:active{transform:translateY(1px)}
.reroll-action span:first-child{font-size:14px;line-height:1}
.self-mission-actions{gap:6px}

/* 途中成長は淡すぎないよう、カードと文字のコントラストを上げる。 */
.bloom-overlay.is-growth-step{background:#FCF7ED}
.bloom-overlay.is-growth-step .bloom-scene{
  background:#FFFDF8;
  border:1px solid #E4EAD9;
  box-shadow:0 16px 44px rgba(63,91,60,.18);
}
.bloom-overlay.is-growth-step .bloom-flower-image{opacity:1}
.bloom-overlay.is-growth-step .growth-feedback-copy p{
  color:var(--text);
  font-weight:800;
}
.bloom-overlay.is-growth-step .growth-feedback-copy small{
  color:var(--muted);
  font-weight:700;
}

@media(max-width:420px){
  .reroll-action{min-height:29px;padding:5px 9px}
}


/* Ver.0.13: growth information hierarchy */
.growth-seed-top .repeat-chip{display:none}
.growth-stage-line{align-items:baseline}
.growth-stage-line .growth-count{
  color:#A65F3E;
  font-size:22px;
  font-weight:900;
  letter-spacing:.01em;
  line-height:1;
}
.growth-remaining{
  margin-top:5px!important;
  color:var(--deep)!important;
  font-size:12px!important;
  font-weight:800!important;
}


/* Ver.0.14: same action weight for received/self seeds */
.today-card::after{
  content:none!important;
  display:none!important;
}

/* 届いたタネ側も、自分用と同じ「別のタネ / 水をあげる」UIに統一する。 */
.partner-mission-actions{
  width:100%;
  margin-top:10px;
}
.partner-mission-actions .water-text-action{
  max-width:112px;
  text-align:right;
  line-height:1.35;
}

/* 旧・大ボタン前提の余白は使わない。 */
.partner-mission-actions + *{margin-top:0}


/* Ver.0.15: persistent sender nickname */
.settings-field{
  display:grid;
  gap:7px;
  margin-top:14px;
}
.settings-field>span{
  color:var(--text);
  font-size:12px;
  font-weight:800;
}
.settings-name-row{
  display:flex;
  align-items:stretch;
  gap:8px;
}
.settings-text-input{
  min-width:0;
  flex:1;
  height:42px;
  padding:0 13px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#fff;
  color:var(--text);
  font:inherit;
  font-size:14px;
  outline:none;
}
.settings-text-input:focus{
  border-color:var(--leaf);
  box-shadow:0 0 0 3px rgba(124,148,115,.12);
}
.settings-name-row .secondary-button{
  flex:0 0 auto;
  min-width:70px;
}
.settings-status{
  min-height:1.4em;
  margin:7px 0 0!important;
}
.source-chip{
  background:#EDF4E5;
  color:#56734E;
}
