*{box-sizing:border-box}body{margin:0;background:#fbf9f0;color:#294b38;font:16px/1.6 system-ui,sans-serif}header,main,#notice,body>button{max-width:1000px;margin:20px auto;padding:0 20px}h1{font-size:clamp(26px,4vw,38px);line-height:1.3}h2{font-size:24px}h3{font-size:19px}small,.muted{color:#66765f}section,article,form.panel{background:white;border:1px solid #d4dfcb;border-radius:18px;padding:20px;margin:16px 0}input,select,textarea,button{font:inherit;max-width:100%}input,select,textarea{width:100%;padding:10px;border:1px solid #b9cab0;border-radius:8px;margin:5px 0 12px}textarea{min-height:100px}button{min-height:44px;border:1px solid #8ba57e;border-radius:10px;background:#f0f6e9;padding:8px 14px;color:#2d532b;cursor:pointer;margin:4px}button:disabled{opacity:.55;cursor:wait}label{display:block}.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.row>label{flex:1;min-width:160px}.stars{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:min(240px,100%);gap:4px}.stars button{margin:0;padding:4px;font-size:23px}.visit{background:#f4f7ed;padding:16px;border-radius:14px}.danger{color:#8c3546;border-color:#cc9aa4;background:#fff6f6}.code{overflow-wrap:anywhere;font:20px monospace;background:#f6f2dd;padding:16px}.auth{max-width:500px}summary{cursor:pointer;padding:10px 0}#notice{white-space:pre-wrap;color:#8d4352}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #d9b057;outline-offset:2px}@media(max-width:480px){section,article,form.panel{padding:14px}.row{align-items:stretch}.row>button{flex:1}}

[hidden]{display:none!important}
.local-preview{margin:0 0 6px;font-size:12px;color:#66765f}
.brand{display:inline-flex;align-items:center;gap:8px;color:#294b38;font-weight:750;text-decoration:none}
.brand-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e6edda;color:#365d40}
body[data-screen="start"]>header,body[data-screen="start"]>main{width:min(100%,470px);margin-inline:auto;padding-inline:20px}
body[data-screen="start"]>header{margin-block:clamp(18px,5vh,46px) 16px}
body[data-screen="start"]>main{margin-block:0 24px}
.start-card{margin:0;padding:clamp(18px,5vw,30px);border-color:#d9e3d2;box-shadow:0 12px 32px #2d50380c}
.start-card h1{margin:4px 0 8px;font-size:clamp(24px,6vw,31px);overflow-wrap:anywhere}
.start-card .intro{margin:0 0 16px;color:#4b644f}
.start-card .eyebrow{display:block;margin:0 0 8px;color:#536b52;font-size:14px;font-weight:700}
.start-card label{font-weight:650}
.start-card input{min-height:46px;margin:5px 0 8px}
.start-card .hint{display:block;margin:0 0 10px}
.start-card .primary{display:block;width:100%;margin:12px 0 0;background:#315c41;border-color:#315c41;color:white;font-weight:700}
.start-card .button-link{padding:10px 14px;border-radius:10px;text-align:center;text-decoration:none}
.start-card .quiet{margin:0;border:0;background:none;padding:6px 0;text-decoration:underline;text-underline-offset:4px}
.start-card .secondary{margin:12px 0 0;min-height:44px;display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px}
.start-card a:not(.primary){color:#365c44;text-underline-offset:4px;padding-block:6px}
.start-card .demo-link{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;margin-top:12px;padding:8px 12px;border:1px solid #d1ddcb;border-radius:12px;background:#f1f5e9;text-decoration:none;font-weight:700}
.start-card .demo-link:hover{background:#e8f0e1}
.start-card #notice{margin:10px 0 0;padding:0;font-size:14px;color:#793b47;overflow-wrap:anywhere}
#notice:empty,#feedback:empty{display:none}
.start-card #feedback button{margin:8px 6px 0 0}
.start-card :focus-visible,.brand:focus-visible{outline:3px solid #9b6b0b;outline-offset:3px}
.start-card [name="code"]{font-family:ui-monospace,monospace}
.pair-link{display:inline-block;color:#365c44;text-underline-offset:4px;padding:8px 0}


body[data-screen="garden"]>header,body[data-screen="garden"]>main{width:min(100%,680px);margin-inline:auto;padding-inline:clamp(16px,5vw,32px)}
body[data-screen="garden"]>header{margin-block:14px 8px}
body[data-screen="garden"]>main{margin-block:0 100px}
.garden-head{margin:10px 0 18px}
.garden-head h1{margin:3px 0 6px;font-size:clamp(27px,7vw,36px);overflow-wrap:anywhere}
.garden-head p,.garden-card p{margin:6px 0;color:#536957}
.garden-head .eyebrow{font-size:13px;font-weight:700;color:#536957}
.garden-card,.shelf-book{margin:10px 0;padding:clamp(14px,4vw,22px);border-radius:19px;border-color:#dce4d6}
.garden-card h2{margin:0;font-size:20px;line-height:1.35}
.garden-hero{background:#eaf0df;border-color:#dce7cf}
.garden-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.garden-actions button,.garden-card button,.shelf-book button{margin:0}
.dictation-control{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0 10px}.dictation-control small{flex-basis:100%}.picker-form .dictation-control{grid-column:1/-1}.recommendation-age{max-width:320px;margin-top:12px}.recommendation-age select{margin-bottom:0}
.garden-primary{background:#315c41;color:white;border-color:#315c41;font-weight:700}
.garden-nav{position:fixed;z-index:2;inset:auto 0 0;display:flex;justify-content:center;gap:6px;background:#fbfaf2;border-top:1px solid #dce4d6;padding:6px 12px max(6px,env(safe-area-inset-bottom))}
.garden-nav button{flex:1;max-width:150px;margin:0;background:transparent;border-color:transparent;line-height:1.2;font-size:13px;font-weight:650}
.garden-nav button[aria-current="page"]{background:#e7efdd;border-color:#e7efdd;color:#234c32}
.garden-nav span{display:block;font-size:16px;margin-bottom:3px}
.shelf-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0}
.shelf-tools select{width:auto;max-width:100%;margin:0}
.shelf-tools button{margin:0}
.book-added-status{margin:14px 0 8px;padding:10px 12px;border-radius:10px;background:#eaf0df;color:#294b38;overflow-wrap:anywhere;scroll-margin-top:16px}
.book-line{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;text-align:left;width:100%;min-width:0}
.book-line strong,.book-line small{display:block;overflow-wrap:anywhere}
.book-line strong{font-size:16px;line-height:1.35}
.book-cover{display:grid;place-items:center;position:relative;width:54px;aspect-ratio:3/4;overflow:hidden;border-radius:6px;background:#e9edda;color:#4a6549;font:700 22px Georgia,serif}
.book-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#eef0e3}
.shelf-book summary{list-style:none;cursor:pointer;padding:0}
.shelf-book summary::-webkit-details-marker{display:none}
.book-details{margin-top:14px;padding-top:12px;border-top:1px solid #e5eadf}
.book-details button{margin:4px 6px 4px 0}
.book-details .stars button{margin:0}
.picker-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}
.picker-form button{margin:0 0 8px;padding-inline:12px;min-height:46px}
.picker-list{display:grid;gap:7px;margin-top:12px}
.picker-list button{margin:0;padding:8px;border-color:#dce4d6;background:#f7f8f0}
.picker-list .book-cover{width:44px}
.picker-hint{margin:6px 0;color:#536957;font-size:14px}
.picker-examples{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.picker-examples button{margin:0;font-size:13px}
.picker-manual{margin-top:8px}
.picker-manual summary{color:#365c44;text-decoration:underline;text-underline-offset:4px}
.pair-qr{display:block;width:min(100%,230px);height:auto;aspect-ratio:1;margin:14px auto;border:1px solid #dde5d9;border-radius:14px;background:white}
.pair-code{display:block;margin:8px 0;padding:8px;background:#f2f4e8;border-radius:8px;overflow-wrap:anywhere;font:15px/1.6 ui-monospace,monospace}
.pair-help{margin:8px 0}
#feedback{width:min(100%,680px);margin-inline:auto;padding-inline:clamp(16px,5vw,32px)}
.start-card #feedback{width:auto;padding:0}
body[data-screen="garden"] #notice{margin:6px 0;padding:0;color:#49624f;font-size:14px}
body[data-screen="garden"] #notice[data-tone="error"]{color:#793b47}
.garden-card form button{margin:4px 0}
.sharing-options{display:grid;gap:8px;margin-top:12px}
.sharing-options button{margin:0;min-height:46px}
.sharing-options small{margin-inline-start:4px;color:inherit}
.share-review{margin:14px 0 8px;padding:12px;background:#f4f6eb;border-radius:12px}
.share-review h3{margin:0;font-size:16px}
.share-review p{margin:4px 0 8px;font-size:14px;color:#536957}
.share-review textarea{min-height:66px;margin-bottom:3px}
.share-review button{margin-bottom:0}
.reading-actions{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.reading-actions button{margin:0}
.rating-area{margin:10px 0 14px}
.rating-area p{margin:0 0 5px;color:#536957;font-size:14px}
.rating-area .stars button[aria-pressed="true"]{border-color:#9a7435;background:#f3e6bb;color:#624513}
.reading-count{margin:0 0 8px;color:#536957;font-size:14px}
.recommendations{display:grid;gap:10px;margin-top:12px}
.garden-card.recommendation{margin:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px;padding:12px}
.recommendation .book-cover{width:clamp(76px,24vw,100px);aspect-ratio:2/3;text-align:center;font:700 12px/1.3 system-ui;overflow-wrap:anywhere}
.recommendation .book-cover img{object-fit:cover}
.recommendation-copy{min-width:0;overflow-wrap:anywhere}
.recommendation-copy h3{margin:0;font-size:17px;line-height:1.35}
.recommendation-author,.recommendation-source{display:block;color:#536957;line-height:1.4}
.recommendation-author{font-size:13px;margin-top:3px}
.recommendation-source{font-size:11px;margin-top:7px}
.recommendation-genre{display:block;font-size:12px;color:#415c46;font-weight:700;margin-bottom:3px}
.recommendation .recommendation-hook{margin:9px 0 0;padding:7px 0 7px 9px;border-left:3px solid #a8bd90;font-weight:650;font-size:15px;line-height:1.5;color:#274b36}
.recommendation .reason{font-size:13px;margin:7px 0 0}
.recommendation .recommendation-save{grid-column:2;justify-self:end;min-height:44px;font-size:16px;font-weight:650}
.recommendation-filters{display:flex;align-items:end;flex-wrap:wrap;gap:8px 12px}
.recommendation-filters label{flex:1 1 150px;max-width:320px;margin-top:8px}
.recommendation-filters select{margin:0}
@media(max-width:360px){.garden-card.recommendation{padding:9px;gap:8px}.recommendation .recommendation-save{grid-column:1/-1}}
@media(max-width:380px){.garden-nav{gap:2px;padding-inline:4px}.garden-nav button{padding-inline:3px}}
body[data-screen="garden"]>main.reading-home,body[data-screen="garden"]:has(main.reading-home)>header{width:min(100%,760px)}
.reading-layout{display:grid;gap:18px}
.reading-layout>.shelf-home{min-width:0;margin:0;padding:0;border:0;background:none}
.shelf-search{display:block;margin:0 0 6px;padding:12px 14px;border:1px solid #cbd7c6;border-radius:16px;background:#fffdf7}
.shelf-search-title{display:flex;align-items:center;gap:7px;margin-bottom:7px;color:#274b36;font-size:18px;line-height:1.3}
.shelf-search-title svg{width:20px;height:20px;flex:none}
.shelf-search input{width:100%;min-height:44px;margin:0;background:#f8faf4}
.shelf-search:focus-within{border-color:#789473}
.shelf-list [data-show-shelf]{width:100%;margin:8px 0 0}
.next-discovery{border:1px solid #cbd7c6;border-radius:16px;background:#fffdf7}
.next-discovery>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:72px;padding:12px 15px;list-style:none;cursor:pointer;color:#274b36;border-radius:15px}
.next-discovery>summary::-webkit-details-marker{display:none}
.next-discovery>summary:hover,.next-discovery[open]>summary{background:#edf2e8}
.next-discovery>summary strong,.next-discovery>summary small{display:block}
.next-discovery>summary strong{font-size:18px;line-height:1.3}
.next-discovery>summary small{margin-top:3px;color:#536957;font-size:13px}
.next-discovery>summary svg{width:20px;height:20px;flex:none;transform:rotate(90deg)}
.next-discovery[open]>summary svg{transform:rotate(-90deg)}
.next-discovery>summary:focus-visible{outline:2px solid #7f986f;outline-offset:2px}
.next-panel{padding:14px}
.next-panel .discover-link{margin:0;padding:6px 0;min-height:44px;border:0;background:transparent;color:#315c41;text-decoration:underline;text-underline-offset:3px;font-weight:650;text-align:left}
.library-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.next-panel .library-back{display:inline-flex;align-items:center;gap:4px;margin:0;padding:6px 9px;min-height:44px;border:1px solid #d4dfce;border-radius:999px;background:#edf2e8;color:#315c41;font-size:13px;font-weight:650;white-space:nowrap}
.library-back svg{width:15px;height:15px;transform:rotate(180deg)}
.library-intro{margin:8px 0 14px;color:#536957;font-size:14px;line-height:1.5}
.next-panel .library-book{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin:7px 0;padding:9px 10px;border-radius:13px}
.library-book .book-line{gap:8px}
.library-book .book-cover{width:36px}
.library-book .book-line strong{font-size:14px}
.library-book .book-line small{margin-top:2px;color:#536957;font-size:12px}
.library-book button{min-height:44px;padding-inline:9px;font-size:13px;white-space:nowrap}
.next-panel .saved-link{margin-top:12px;padding-top:6px;border-top:1px solid #dedbd0}
.next-panel .discover-more{margin-top:10px}
.next-panel h2{margin:0;font-size:clamp(19px,4vw,23px);line-height:1.3;letter-spacing:-.03em}
.next-panel>.picker-hint{margin-bottom:12px}
.next-panel h2,.next-jump{scroll-margin-block:20px}
.next-panel h2:focus{outline:2px solid #7f986f;outline-offset:5px;border-radius:2px}
.next-jump{display:inline-flex;gap:4px;align-items:center}
.next-jump svg{width:16px;height:16px;transform:rotate(90deg)}
.next-panel [data-back-to-book]{margin:0 0 12px}


:root{color-scheme:light;--paper:#f8f5ec;--surface:#fffdf7;--ink:#243e33;--muted:#53665a;--forest:#244f3e;--leaf:#dfead7;--line:#e5e0d4;--sun:#f0d28e}
body{background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
body>header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}
.brand{color:var(--ink);font-size:17px;letter-spacing:-.035em}
.brand-mark{width:34px;height:34px;background:var(--forest);color:#fff9df;border-radius:12px}
.brand-mark svg{width:21px;height:21px}
.local-preview{order:1;margin:0;padding:3px 8px;border-radius:999px;background:#eee9dc;color:#5b6252;font-size:11px;font-weight:650}
.start-card{position:relative;border:1px solid var(--line);border-radius:25px;background:var(--surface);box-shadow:0 12px 36px #4b482013}
.start-card .eyebrow{width:fit-content;margin-bottom:12px;padding:3px 9px;border-radius:999px;background:#eaf0df;color:#3f5b44;font-size:12px}
.start-card h1,.garden-head h1{letter-spacing:-.045em;text-wrap:balance}
.start-card .intro{font-size:15px}
.start-card input,.shelf-tools select{border-color:#c8cfbe;background:#fffefb;color:var(--ink)}
.start-card .primary,.garden-primary{background:var(--forest);border-color:var(--forest);border-radius:13px;color:white}
.start-card .primary:hover,.garden-primary:hover{background:#183d30;border-color:#183d30}
.picker-form button{border-radius:12px}
.picker-examples button{border-color:#dedaca;border-radius:999px;background:#f4efe0}
.picker-list button{position:relative;padding:10px 34px 10px 10px;border-color:var(--line);background:#fffef9;border-radius:14px}
.picker-list button::after{content:"＋";position:absolute;inset-inline-end:12px;top:50%;transform:translateY(-50%);color:var(--forest);font-weight:750}
.picker-list button:hover{background:#ecf1e5;border-color:#c6d6bc}
.shelf-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.shelf-heading .garden-head{min-width:0}
.shelf-heading>button{flex:none;margin:0;min-height:44px;white-space:nowrap}
.goal-details{margin-top:7px;font-size:13px}
.goal-details summary{cursor:pointer;width:fit-content}
.shelf-news{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;margin:8px 0;padding:7px 10px;text-align:left;background:#eef3e7}
.shelf-news-label{font-size:12px;font-weight:750;white-space:nowrap}
.shelf-news-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.shelf-news svg{width:15px;height:15px;flex:none}
.garden-head{margin:16px 0 18px}
.garden-head p{font-size:15px}
.garden-head .eyebrow{color:#4b6452;letter-spacing:.015em}
.garden-card,.shelf-book{background:var(--surface);border:1px solid var(--line);box-shadow:0 2px 8px #51482808}
.garden-card h2{letter-spacing:-.03em}
.garden-card p{font-size:15px}
.garden-hero{position:relative;isolation:isolate;overflow:hidden;padding:clamp(17px,5vw,26px);background:var(--forest);border-color:transparent;color:#fffaf0;min-height:165px}
.garden-hero h2,.garden-hero p,.garden-hero .garden-actions,.hero-kicker{position:relative;z-index:1}
.garden-hero h2{max-width:19ch;font-size:clamp(20px,5vw,24px);overflow-wrap:anywhere}
.garden-hero p{max-width:25ch;color:#f0f3e4}
.hero-kicker{display:block;margin-bottom:8px;color:#f6dfa1;font-size:12px;font-weight:750}
.garden-hero .garden-primary{background:var(--sun);border-color:var(--sun);color:#2b402d}
.garden-hero .garden-primary:hover{background:#ffe5a6;border-color:#ffe5a6}
.hero-art{position:absolute;z-index:-1;inset-inline-end:-10px;bottom:-8px;width:min(40%,200px);height:auto;opacity:.75;pointer-events:none}
.family-bookshelves,.family-news{margin:22px 0}
.family-bookshelves h2,.family-news h2{font-size:20px;letter-spacing:-.04em;margin:0 0 10px}
.family-shelves{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr))}
.family-shelves .family-shelf{display:grid;justify-items:start;gap:7px;min-width:0;margin:0;padding:14px;border:1px solid #ced9bd;border-radius:17px;background:#e9efdf;text-align:left;color:var(--forest)}
.family-shelves .family-shelf:nth-child(even){background:#f3ebd8;border-color:#e4d6ba}
.family-shelves .family-shelf:hover{border-color:#7c9876;background:#dfead7}
.shelf-illustration{display:flex;align-items:end;gap:4px;width:100%;height:56px;padding:0 10px;border-bottom:5px solid #a87955;border-radius:5px;background:linear-gradient(0deg,#bf9c6e20,transparent 75%)}
.shelf-illustration i{width:12px;height:31px;border-radius:3px 3px 0 0;background:#527d61;box-shadow:inset 0 5px #fff3}
.shelf-illustration i:nth-child(2){height:41px;background:#c78a57}
.shelf-illustration i:nth-child(3){height:27px;background:#ddbb6e}
.shelf-illustration i:nth-child(4){height:35px;background:#7c9a98;transform:rotate(12deg);transform-origin:bottom left}
.family-shelf-name{font-size:16px;font-weight:750;overflow-wrap:anywhere}
.family-shelf-link{display:flex;align-items:center;gap:4px;font-size:13px;font-weight:650}
.family-shelf-link svg{width:15px;height:15px}
.family-pair{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:12px 0;padding:9px 12px;border-radius:12px;background:#eeeadf}
.family-pair strong,.family-pair small{display:block;overflow-wrap:anywhere}
.family-pair small{color:var(--muted)}
.family-pair button{flex:none;margin:0}
.family-shelf-goal{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:700}
.family-shelf-goal img{object-fit:contain}
.family-updates{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.family-updates button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:0;padding:12px 14px;background:var(--surface);border:1px solid var(--line);text-align:left}
.family-updates button>span{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
.family-updates button strong,.family-updates time{font-size:12px;color:var(--muted)}
.family-updates button[data-news-completed]{background:#f3f5e7;border-color:#d7dfc2}
.family-updates .news-book{font-size:13px;font-weight:700}
.family-updates .news-message{width:fit-content;padding:7px 10px;background:#edf2e6;border-radius:3px 11px 11px;white-space:pre-wrap}
.family-updates button svg{flex:none;width:16px;height:16px}
.child-goal-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;padding:10px 0}
.child-goal-row+.child-goal-row{border-top:1px solid var(--line)}
.child-goal-row strong,.child-goal-row small{display:block}
.child-goal-row small{color:var(--muted);font-size:13px}
.reader-names form+form{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.library-mark,.conversation-count{display:block;margin-top:3px;font-size:12px;color:#365c46}
.conversation-log{display:grid;gap:10px;background:#f7f3e8;border-radius:14px;padding:clamp(8px,3vw,16px)}
.conversation-post{scroll-margin-top:16px}
.completion-thread-label{margin:0;font-weight:750}
.review-composer{margin:10px 0 4px}
.review-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.review-options button{min-width:0;padding-inline:3px;font-size:clamp(12px,3.7vw,14px)}
.review-options button[aria-expanded=true]{box-shadow:inset 0 0 0 2px #fff9}
.review-composer [data-review-pane][hidden]{display:none}
.review-composer textarea{margin-top:8px}
.review-write-actions{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:6px}
.review-write-actions .dictation-control{display:contents}
.review-write-actions .dictation-mic{grid-column:2;grid-row:1;width:44px;height:44px;padding:10px;border-radius:50%;display:grid;place-items:center}
.review-write-actions .dictation-mic svg{width:22px;height:22px}
.review-write-actions .dictation-mic[aria-pressed=true]{outline:2px solid var(--forest);outline-offset:2px}
.review-write-actions>button{grid-column:3;grid-row:1}
.review-send:disabled{background:#ebe9df;border-color:#d7d4c7;color:#53665a;opacity:1;cursor:default}
.review-send:enabled{background:#f0d28e;border-color:#9f782a;color:#273a28;font-weight:750;box-shadow:0 0 0 2px #f0d28e55}
.review-send:enabled:hover{background:#ffe5a6;border-color:#9f782a}

.review-write-actions .dictation-control small{grid-column:1/-1;grid-row:2}
.review-write-actions .dictation-control small:empty{display:none}
.voice-review .review-assist{border-color:transparent;background:transparent;padding-inline:5px;text-decoration:underline;text-underline-offset:3px;font-size:14px}
.conversation-message{width:fit-content;min-width:0;max-width:88%;scroll-margin-block:16px}
.conversation-message.is-mine{margin-inline-start:auto}
.conversation-byline{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 6px;margin:0 3px 3px;color:var(--muted);font-size:12px}
.conversation-byline strong{color:var(--forest);font-size:13px}
.is-mine .conversation-byline{justify-content:flex-end}
.conversation-message p{margin:0;padding:8px 12px;background:#ece5d5;border-radius:3px 14px 14px;white-space:pre-wrap;overflow-wrap:anywhere}
.conversation-message.is-mine p{background:#dcebd9;border-radius:14px 3px 14px 14px}
.post-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:5px}
.post-actions.is-mine{justify-content:flex-end}
.post-actions button{border:0;background:transparent;margin:0;font-size:13px}
.conversation-log .is-grouped{margin-top:-6px}
.conversation-log .is-grouped p{border-radius:14px}
.conversation-reply-action{display:flex;justify-content:flex-end}
.conversation-reply-action .reply-button{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin:0;padding:0 12px;border:1px solid #8ba57e;background:#fff;color:#234c3b;font-size:14px;font-weight:700}
.reply-button svg{width:18px;height:18px}
.conversation-reply{padding:8px 0}
.reply-context{display:flex;justify-content:space-between;align-items:center;gap:6px}
.reply-context button{border:0;background:transparent;padding:0 12px;font-size:20px}
.conversation-reply .comment-compose{margin-top:0}
.comment-compose{display:flex;align-items:center;gap:6px;margin-top:10px}
.comment-compose input{flex:1;min-width:0;width:auto;margin:0;border-radius:999px}
.comment-compose button{flex:none;margin:0;border-radius:999px}
.sharing-options button{display:flex;align-items:center;justify-content:space-between;gap:6px;text-align:left;background:var(--surface);border-color:#c8cfbe}
.sharing-options button[aria-pressed="true"]{background:#e0ebdc;border-color:#6d8d67;font-weight:750}
.sharing-hint{color:#42684b!important}
.sharing-selected{flex:none;color:var(--forest)!important}
.garden-nav{background:#fffdf5;border-color:var(--line);padding-top:8px;box-shadow:0 -4px 20px #51482809}
.garden-nav button{color:#4a5e52;border-radius:14px;min-height:52px}
.garden-nav button svg{display:block;width:20px;height:20px;margin:0 auto 3px}
.garden-nav button[aria-current="page"]{background:#e4eddd;border-color:#e4eddd;color:#254d39}
.shelf-tools select{min-height:44px;border-radius:13px;font-size:14px}
.shelf-book{padding:10px 12px;border-radius:16px}
.shelf-book summary{border-radius:12px}
.shelf-book .book-line{grid-template-columns:auto minmax(0,1fr) auto}
.shelf-book[open]{background:#eef3e8;border-color:#a6ba9f;box-shadow:0 3px 12px #38513b16}
.shelf-book>summary:focus-visible,.book-extra>summary:focus-visible{outline:3px solid #967333;outline-offset:3px}
.card-switch{display:grid;justify-items:center;gap:2px;min-width:44px;color:#365c46;font-size:12px;font-weight:700}
.card-switch svg{width:17px;height:17px;transform:rotate(90deg)}
.card-close,.shelf-book[open] .card-open{display:none}
.shelf-book[open] .card-close{display:block}
.shelf-book[open] .card-switch svg{transform:rotate(-90deg)}
.book-status{margin:0 0 12px;font-size:14px}
.book-status>summary{display:flex;gap:8px;align-items:center;min-height:44px;padding:6px 10px;background:#fffdf7;border:1px solid #cbd7c6;border-radius:12px;font-weight:650}
.book-status>summary .read-chip{margin:0}
.book-status>summary svg{width:16px;height:16px;margin-inline-start:auto;transform:rotate(90deg)}
.book-status[open]>summary svg{transform:rotate(-90deg)}
.status-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}
.status-options button{margin:0;padding:6px;background:#fffdf7}
.status-options button[aria-pressed="true"]{background:#dce9d9;border-color:#789473;font-weight:700}
.book-status>summary:focus-visible{outline:3px solid #967333;outline-offset:2px}
.book-date,.book-extra p{margin:6px 0;color:var(--muted);font-size:14px}
.book-extras{margin-top:12px}
.book-extra{border-top:1px solid #cfdccb}
.book-extra>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:5px 2px;font-size:14px;font-weight:650}
.book-extra>summary::after{content:"＋";padding-left:12px}
.book-extra[open]>summary::after{content:"−"}
.book-extra textarea{min-height:72px;margin-bottom:5px}
.book-extra .share-review{margin:0 0 6px;padding:0;background:transparent}
.reading-rounds{list-style:none;padding:0;margin:0 0 8px;font-size:14px}
.reading-rounds li{display:flex;gap:12px;padding:5px 0}
.book-delete{width:min(calc(100% - 32px),420px);max-height:calc(100% - 32px);padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink)}
.book-delete::backdrop{background:#1e2e2466}
.book-delete h2{margin:0;font-size:20px}
.book-delete p{margin:10px 0}
.book-delete .reading-actions{margin:15px 0 0}
.book-delete .danger{background:#823749;border-color:#823749;color:white}
.book-cover{width:57px;border-radius:7px;background:#e9e8d6;box-shadow:1px 3px 6px #453b2625}
.book-cover img{background:#efeadb}
.book-meta{margin-top:4px;color:var(--muted);font-size:13px}
.read-chip{display:inline-block;width:fit-content;margin-top:6px;padding:2px 8px;border-radius:999px;background:#ede9d9;color:#554a30;font-size:12px;font-weight:650}
.read-chip[data-state="reading"]{background:#dfebdd;color:#254d39}
.read-chip[data-state="done"]{background:#f1e3b8;color:#55421a}
.read-chip[data-state="paused"]{background:#ede6ee;color:#584663}
@media(min-width:600px){.garden-nav{inset-inline:50% auto;transform:translateX(-50%);width:min(100%,680px);border:1px solid var(--line);border-bottom:0;border-radius:18px 18px 0 0}}


.goal-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;background:#eef2e6}
.goal-card img,.friend-choices img{width:70px;height:70px;object-fit:contain;border-radius:15px}
.goal-card h2{font-size:17px}
.goal-card p{margin:3px 0;font-size:14px}
.goal-card progress{display:block;width:100%;height:10px;accent-color:#527a53}
.goal-card button{margin-top:7px}
.friend-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.friend-choices button{display:grid;justify-items:center;gap:6px;padding:10px;margin:0}
.friend-choices button[aria-pressed="true"]{border:2px solid #527a53;background:#e4eddd}


.voice-review{display:grid;gap:8px;margin-top:8px}
.voice-review [role=status]:empty{display:none}
.voice-review-actions{display:flex;flex-wrap:wrap;gap:6px}
.voice-review [hidden]{display:none}
.voice-review audio,.conversation-audio{display:block;width:min(260px,100%);max-width:100%}
.conversation-audio-box{padding:8px 10px;background:#f0ede4;border-radius:3px 14px 14px}
.is-mine .conversation-audio-box{background:#dcebd9;border-radius:14px 3px 14px 14px}
