@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root{--paper:#f8f7f2;--ink:#243a30;--muted:#737971;--line:#e1e4da;--green:#264e3b;--mint:#eaf0e4;--clay:#a9573b;--white:#fffefa;--sans:'Noto Sans KR',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px;line-height:1.65}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a9573b;outline-offset:4px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.preview-note{background:#e9ede4;text-align:center;font-size:11px;letter-spacing:.02em;padding:9px 16px;color:#50634e}.preview-note span{padding:0 7px}.shell{max-width:1200px;padding:0 42px;margin:auto}.site-header{display:flex;align-items:center;justify-content:space-between;padding:23px 0;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;text-decoration:none;font-family:Georgia,serif;font-size:25px;letter-spacing:-.6px;gap:10px}.brand-mark{width:32px;height:32px;font-size:24px;background:var(--green);color:var(--paper);display:flex;align-items:center;justify-content:center;letter-spacing:-4px;padding-right:5px;border-radius:3px}.brand-mark span{color:#c4d6a9}.beta{font-family:var(--sans);font-size:9px;letter-spacing:.12em;border:1px solid #c6d1c0;border-radius:4px;padding:2px 5px;margin-left:4px;color:#6a795f}.saved-nav{border:0;background:none;font-size:12px;color:var(--ink);padding:9px 0 9px 12px}.saved-nav[aria-pressed=true]{color:var(--clay)}.saved-nav span{background:#e9ecdf;padding:3px 7px;border-radius:20px;margin-left:6px}.hero{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:49px 0 34px}.eyebrow{font-size:11px;letter-spacing:.12em;color:var(--clay);font-weight:600;margin:0 0 15px}h1{font-size:38px;line-height:1.5;letter-spacing:-1.6px;font-weight:500;margin:0}h1 em{font-style:normal;color:var(--green);font-weight:700}.intro{margin:18px 0 0;color:#738074;font-size:13px;line-height:1.9}.mobile-break{display:none}.path-note{min-width:214px;margin-right:24px;transform:rotate(-3deg);padding:19px 24px 15px;background:#eff0e5;border:1px solid #dde3d0;border-radius:2px;box-shadow:6px 6px 0 #e5e7dc}.path-note>span{font-size:10px;letter-spacing:.07em;color:#869077}.path-note>div{display:flex;gap:18px;border-bottom:1px solid #d5dccb;padding:9px 0;font-size:12px}.path-note>div:last-child{border:0}.path-note b{font-family:Georgia,serif;font-weight:400;font-size:15px;color:#859177}.path-note i{margin-left:auto;font-style:normal}.search-section{margin-bottom:34px}#search-form{display:flex;align-items:center;background:var(--white);border:1px solid #859d7d;box-shadow:0 3px 12px #2d432609;border-radius:8px;padding:7px}.search-icon{font:34px Georgia,serif;color:#74866a;margin:0 16px 2px 15px}#query{width:100%;min-width:0;background:none;border:0;outline:none!important;color:var(--ink);height:42px;font-size:13px}#search-form:focus-within{outline:2px solid #90a381;outline-offset:2px}#query::placeholder{color:#8b9588}#search-form>button{white-space:nowrap;border:0;border-radius:5px;padding:13px 22px;background:var(--green);color:white;font-size:12px}#search-form>button span{margin-left:15px}.examples{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:12px 3px;font-size:10px;color:var(--muted)}.examples>span{margin-right:4px}.examples>button{border:0;border-radius:3px;background:#eaece3;color:#5c6a55;padding:4px 8px;font-size:10px}.examples>button:last-child{background:none;text-decoration:underline;text-underline-offset:3px}#search-results{margin-top:22px;padding:20px;background:var(--white);border:1px solid var(--line);border-radius:8px}.search-summary{display:flex;justify-content:space-between;gap:15px;margin:0 0 14px;font-size:12px}.search-summary button{border:0;background:none;color:var(--muted);font-size:11px}.candidate-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:350px;overflow:auto}.candidate{display:flex;align-items:center;text-align:left;gap:14px;border:1px solid var(--line);border-radius:4px;background:var(--white);padding:10px}.candidate:hover,.candidate[aria-pressed=true]{border-color:#8fa180;background:#f1f3e9}.candidate img{height:56px;width:40px;object-fit:contain}.candidate strong{display:block;font-size:12px;line-height:1.5}.candidate small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.empty{padding:20px;color:var(--muted);font-size:13px}.workspace{display:grid;grid-template-columns:227px minmax(0,1fr);gap:39px;align-items:start}.preferences{padding:24px 21px 22px;border:1px solid var(--line);border-radius:7px;background:#f2f3eb}.section-kicker{font-size:9px;letter-spacing:.14em;color:#879078}.preferences h2{font-size:16px;font-weight:600;margin:5px 0}.muted{color:var(--muted);font-size:10px;margin:6px 0 21px}fieldset{padding:0;margin:0 0 21px;border:0}legend,.select-label{font-size:11px;font-weight:600;margin-bottom:9px;display:block}.subscription{display:flex;align-items:center;gap:9px;padding:11px 9px;border:1px solid #d8dfcc;border-radius:4px;background:var(--white);font-size:11px;cursor:pointer}.subscription input{accent-color:var(--green);margin:0;width:14px;height:14px}.subscription small{display:block;font-size:9px;color:#8d9487;margin-top:1px}.millie-icon{background:#ffec65;color:#4d361e;font:bold 20px Georgia,serif;width:29px;height:29px;display:flex;justify-content:center;align-items:center;border-radius:5px}.field-note{font-size:10px;color:#808976;line-height:1.75;margin:9px 0 0}select{width:100%;border:1px solid #d3dbc8;background:var(--white);border-radius:4px;padding:9px 5px;color:var(--ink);font-size:10px}.preference-foot{border-top:1px solid #dce0d0;margin-top:23px;padding-top:19px;font-size:10px;color:#849176;line-height:1.8}.preference-foot span{display:block;font-size:20px}.book-panel{display:flex;gap:24px;align-items:center;position:relative;min-height:167px;padding:0 0 24px;border-bottom:1px solid var(--line)}.cover-wrap{height:140px;width:100px;flex-shrink:0;position:relative;background:#e4e8dc;box-shadow:4px 5px 9px #20301920;border-radius:2px;overflow:hidden}.cover-wrap img{width:100%;height:100%;object-fit:cover}.book-info{flex:1;min-width:0}.book-kicker{font-size:9px;letter-spacing:.08em;color:var(--clay);margin:0 0 8px}.book-info h2{font-size:24px;letter-spacing:-.8px;line-height:1.5;margin:0 0 8px;word-break:keep-all}.book-byline{font-size:11px;color:#6e796b;margin:0 0 7px}.book-isbn{font-size:10px;color:#949b8c;margin:0}.save-book{border:1px solid #d3dbc9;background:none;padding:6px 10px;border-radius:4px;font-size:10px;color:#697a5c;margin-top:12px}.save-book[aria-pressed=true]{background:#e5ecd9;color:#264e3b}.options-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:19px 0 11px}.options-heading h2{font-size:14px;margin:0;font-weight:600}.options-heading>span{font-size:9px;color:#8a9481}.option-card{display:grid;grid-template-columns:36px minmax(0,1fr) 113px;gap:13px;align-items:start;margin-bottom:10px;background:var(--white);border:1px solid var(--line);border-radius:7px;padding:17px 19px}.option-card.highlight{background:#f0f4e9;border-color:#b6c5a7}.option-icon{width:33px;height:33px;border-radius:7px;background:#e9ecdf;color:#7c8c6b;display:flex;align-items:center;justify-content:center;font:20px Georgia,serif;margin-top:3px}.option-icon.millie{background:#fff0a1;color:#503921;font-weight:bold}.option-icon.library{font-size:17px;background:#e5eddb}.option-icon.used{background:#f3e9dc;color:#ac895f}.option-icon.new{background:#e8ecee;color:#6c828b}.option-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.option-top h3{font-size:12px;margin:0;font-weight:600}.badge{font-size:8px;padding:1px 6px;border-radius:3px;background:#e8eedc;color:#64744f}.badge.pending{background:#efeee6;color:#8b846b}.badge.unavailable{background:#f3e9e0;color:#997a68}.option-description{color:#77816f;font-size:10px;line-height:1.8;margin:6px 0 0}.option-meta{font-size:9px;color:#919986;margin:4px 0 0}.option-action{text-align:right;padding-top:1px}.cost{font-size:17px;line-height:1.4;font-weight:600;letter-spacing:-.5px;white-space:nowrap}.cost.small{font-size:13px;color:#65765d}.cost-note{font-size:8px;color:#86917c;margin-top:2px}.option-action>a{display:inline-block;border:1px solid #ccd6bf;background:#fffefa;padding:5px 9px;border-radius:4px;text-decoration:none;color:#47633a;font-size:9px;margin-top:10px}.option-action>a:hover{background:#e8eedc}.result-foot{font-size:9px;color:#8a9482;line-height:1.8;margin:14px 3px}.evidence{font-size:10px;border-top:1px solid var(--line);padding:13px 0;color:#7e8b73}.evidence summary{cursor:pointer}.evidence p{line-height:1.9}.evidence a{text-underline-offset:3px}.evidence ul{padding-left:19px}footer{margin:40px 0 0;border-top:1px solid var(--line);padding:21px 0 29px;display:flex;justify-content:space-between;align-items:center;color:#86907a;font-size:10px}footer>span:first-child{font-family:Georgia,serif;font-size:17px}footer small{font-family:var(--sans);font-size:9px;margin-left:15px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(20px);background:var(--green);color:white;padding:11px 20px;border-radius:5px;box-shadow:0 3px 20px #20301925;font-size:12px;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
@media(min-width:1400px){.shell{max-width:1240px}.hero{padding-top:54px}}
@media(max-width:850px){.shell{padding:0 25px}.hero{padding:35px 0 28px}h1{font-size:31px}.path-note{min-width:180px;margin-right:8px;padding:14px 17px}.workspace{grid-template-columns:195px minmax(0,1fr);gap:23px}.preferences{padding:20px 15px}.option-card{grid-template-columns:30px minmax(0,1fr);gap:10px;padding:15px}.option-action{grid-column:2;text-align:left;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.option-action>a{margin:0 0 0 auto}.cost{font-size:16px}.book-info h2{font-size:20px}.cover-wrap{width:80px;height:119px}.book-panel{gap:18px}.options-heading>span{display:none}}
@media(max-width:620px){.preview-note{font-size:9px;padding:8px 11px}.preview-note span{padding:0 2px}.shell{padding:0 19px}.site-header{padding:16px 0}.brand{font-size:22px;gap:8px}.brand-mark{width:27px;height:29px;font-size:22px}.beta{display:none}.saved-nav{font-size:11px}.hero{padding:29px 0 24px}.eyebrow{font-size:9px;margin-bottom:12px}h1{font-size:28px;line-height:1.5;letter-spacing:-1.3px}.intro{font-size:11px;margin-top:14px;line-height:1.9}.mobile-break{display:block}.path-note{display:none}.search-icon{margin:0 10px 2px 6px;font-size:29px}#query{height:36px;font-size:11px}#query::placeholder{font-size:10px}#search-form>button{font-size:11px;padding:11px 13px}#search-form>button span{display:none}.examples{gap:7px}.examples>span{width:100%;font-size:9px}.examples>button{font-size:9px}.search-section{margin-bottom:21px}.workspace{display:flex;flex-direction:column;gap:25px}.preferences{width:100%;padding:15px;display:grid;grid-template-columns:1fr 1fr;column-gap:16px}.preferences h2{font-size:13px;grid-column:1}.section-kicker{display:none}.preferences>.muted{grid-row:1;grid-column:2;align-self:center;text-align:right;font-size:8px;margin:0}.preferences fieldset{grid-row:2/5;grid-column:1;margin:10px 0 0}.preferences .select-label{grid-row:2;grid-column:2;margin-top:10px}.preferences select{grid-row:3;grid-column:2;align-self:start;font-size:9px;height:43px}.preferences>.field-note{grid-row:4;grid-column:2;margin-top:6px}.field-note{font-size:8px}.subscription{font-size:10px;padding:8px}.subscription small{font-size:8px}.preference-foot{display:none}.result-section{width:100%}.book-panel{padding-bottom:20px;gap:19px}.cover-wrap{width:84px;height:124px}.book-info h2{font-size:20px}.book-byline{font-size:10px}.book-isbn{font-size:9px}.book-kicker{font-size:8px}.save-book{margin-top:8px}.options-heading{padding-top:18px}.option-card{padding:15px;grid-template-columns:32px minmax(0,1fr)}.option-top h3{font-size:12px}.option-description{font-size:10px}.option-action{padding-top:3px}.cost-note{font-size:9px}.option-action>a{font-size:10px;padding:6px 9px}.candidate-grid{grid-template-columns:1fr}.candidate{padding:8px}.search-summary{font-size:10px}#search-results{padding:14px}.result-foot{font-size:9px}footer{margin-top:25px;align-items:start;gap:15px}footer small{display:block;margin:4px 0 0;font-size:8px}footer>span:last-child{font-size:8px;padding-top:5px}.toast{white-space:nowrap;font-size:11px;bottom:16px}}
.option-description{font-size:12px}.option-meta,.cost-note{font-size:10px}.option-top h3{font-size:13px}.badge{font-size:10px}.option-action>a{font-size:11px}.field-note,.result-foot,.evidence{font-size:11px}.subscription{font-size:12px}.subscription small{font-size:10px}.select-label,legend,select{font-size:12px}.book-byline{font-size:12px}.book-isbn,.save-book{font-size:11px}.candidate strong{font-size:13px}.candidate small{font-size:11px}.preferences .muted{font-size:11px}.options-heading>span{font-size:11px}
@media(max-width:620px){.preferences .muted{font-size:9px}.preferences select{font-size:10px}.field-note{font-size:10px}.subscription{font-size:11px}.option-description{font-size:12px}.option-top h3{font-size:13px}.candidate small{font-size:11px}.book-byline{font-size:11px}.result-foot,.evidence{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.live-panel{background:#edf2e6;border:1px solid #c8d6b9;border-radius:7px;margin:19px 0 4px;padding:16px 18px}.live-panel-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.live-panel-top>div{display:flex;align-items:center;gap:8px}.live-panel-top a{font-size:10px;color:#617656;white-space:nowrap}.live-dot{display:inline-block;width:7px;height:7px;border-radius:100%;background:#a9997d;flex-shrink:0}.live-dot.connected{background:#4c8c3c}.live-panel>p{font-size:11px;color:#6c7a60;margin:9px 0 13px;line-height:1.8}.live-controls{display:flex;gap:7px;flex-wrap:wrap}.live-controls button{font-size:11px;padding:8px 11px;background:#fffefa;border:1px solid #c4d1b5;color:#4e6840;border-radius:4px}.live-controls button.primary{background:#264e3b;border-color:#264e3b;color:white}.live-controls button:disabled{opacity:.6;cursor:wait}#millie-live-candidates{font-size:11px;margin-top:14px;padding-top:12px;border-top:1px solid #d3ddc6}#millie-live-candidates summary{cursor:pointer}#millie-live-candidates ul{padding-left:18px}#millie-live-candidates li{margin:8px 0}#millie-live-candidates small{display:block;color:#76876a;font-size:10px}.setup-page{max-width:900px}.setup-page main{margin:50px 0 80px}.setup-page main>p{font-size:14px;max-width:700px}.setup-steps{padding-left:25px;line-height:1.9;margin:35px 0}.setup-steps li{margin:25px 0}.setup-steps code{font-size:12px;overflow-wrap:anywhere;background:#ecefe5;padding:4px 7px}.setup-page h2{font-size:20px}.setup-page a{text-underline-offset:4px}@media(max-width:620px){.live-panel{padding:14px}.live-panel-top{align-items:start;font-size:11px}.live-panel-top a{font-size:10px}.live-controls button{font-size:11px}.setup-page main{margin-top:30px}}
/* v0.2: personal library selection and a concise decision summary. */
button:disabled{cursor:default;opacity:.55}.reading-summary{margin:20px 0 0;padding:23px 24px;border:1px solid #b8cba9;border-radius:8px;background:#e9f0df}.reading-summary h2{font-size:21px;line-height:1.55;letter-spacing:-.5px;margin:5px 0 9px;font-weight:600}.reading-summary>p:not(.section-kicker){font-size:12px;color:#5f7354;margin:0 0 14px}.reading-summary .section-kicker{color:#647d51}.summary-facts{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.summary-facts span{border:1px solid #cfdbc2;background:#f9fbf3;padding:5px 9px;font-size:11px;border-radius:4px}.reading-summary>a,.reading-summary>button{display:inline-block;font:inherit;font-size:12px;font-weight:600;color:#365629;background:transparent;border:0;padding:2px 0;text-decoration:underline;text-underline-offset:4px}.library-manager{margin-top:22px}.library-manager h3{font-size:13px;display:flex;justify-content:space-between;align-items:center;margin:0 0 10px}.library-manager h3>span{font-size:10px;font-weight:400;color:#77876b}.selected-library{display:flex;gap:7px;align-items:start;background:#fffefa;border:1px solid #dce2d3;padding:10px 9px;border-radius:4px;margin:6px 0}.selected-library>span{min-width:0;flex:1}.selected-library strong{display:block;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.selected-library small{font-size:9px;line-height:1.7;color:#7c8772;display:block;margin-top:4px}.selected-library button{background:none;border:0;color:#7d856f;font-size:18px;padding:0 3px;line-height:1.2}#library-picker{margin-top:12px;border-top:1px solid #dce2d2;padding-top:12px}#library-picker>summary{font-size:12px;cursor:pointer;color:#37572d;font-weight:500}#library-search-form label{display:block;font-size:11px;margin:12px 0 5px}#library-query{width:100%;min-width:0;font-size:11px;border:1px solid #d3dbc8;border-radius:4px;background:var(--white);padding:9px 7px;color:var(--ink)}#library-search-form>button,.library-candidate button,.empty-library button,.load-more,#retry-search,#show-examples{font-size:11px;border:1px solid #bccaaf;background:#fffefa;padding:7px 10px;color:#3d5b31;border-radius:4px}#library-search-form>button{width:100%;margin-top:8px}#library-search-status{font-size:10px;line-height:1.8;color:#74816a;margin:10px 0}#library-search-results{max-height:420px;overflow-y:auto}.library-candidate{padding:12px 1px;border-top:1px solid #dce3d1}.library-candidate strong{font-size:11px;display:block}.library-candidate small{font-size:9px;display:block;color:#7d8672;margin:5px 0}.library-candidate button{padding:4px 10px}.load-more{margin-top:12px;width:100%}.library-refresh{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#77856a;padding:0 0 12px}.library-refresh button{font-size:11px;color:#526944;background:transparent;border:1px solid #d0dbc4;border-radius:4px;padding:6px 9px}.empty-library{background:#f1f3ea;border:1px dashed #c4d1b6;border-radius:6px;padding:20px;margin:0 0 10px}.empty-library strong{font-size:13px}.empty-library p{font-size:12px;color:#78856c;margin:6px 0 12px}.cover-placeholder{height:100%;display:flex;align-items:center;justify-content:center;color:#6e8361;font-family:Georgia,serif;letter-spacing:.15em;font-size:16px}#service-status{margin:12px 3px;font-size:11px}.result-section{min-width:0}.option-description,.option-meta{overflow-wrap:anywhere}.candidate strong{overflow-wrap:anywhere}#retry-search+#show-examples{margin-left:8px}
@media(max-width:620px){.preferences{display:block}.preferences>.muted{text-align:left;margin:6px 0 15px}.preferences fieldset{margin:0}.library-manager{margin-top:18px}.selected-library small{font-size:10px}.selected-library strong,.library-candidate strong{font-size:12px}.library-candidate small{font-size:10px}#library-region,#library-query{font-size:12px;height:42px}.preferences h2{font-size:15px}.reading-summary{padding:19px}.reading-summary h2{font-size:19px}.reading-summary .section-kicker{display:block}.summary-facts{display:grid}.summary-facts span{font-size:11px}.library-refresh{align-items:start}.library-refresh button{flex-shrink:0}.book-info h2{word-break:normal;overflow-wrap:anywhere}}
/* Purchase offers: distinguish a seller quote from catalog reference prices. */
.purchase-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 12px}.purchase-heading h3{font-size:15px;margin:0}.purchase-heading button{font:inherit;font-size:11px;color:#526944;background:transparent;border:1px solid #d0dbc4;border-radius:4px;padding:6px 9px}.purchase-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:11px;padding:7px 2px 14px}.purchase-links span{color:#7e8b73}.reading-summary>a+a{margin-left:18px}.reading-summary>button+a{margin-left:18px}footer a{margin-left:14px}.connection-form{max-width:620px;display:grid;gap:12px;margin:28px 0}.connection-form label{font-size:14px}.connection-form input{width:100%;padding:12px;border:1px solid #bdcbb1;border-radius:5px;background:var(--white);font:inherit}.connection-form button{justify-self:start;padding:11px 18px;border:1px solid #264e3b;border-radius:5px;background:#264e3b;color:white;font:inherit;font-size:13px}#connection-status{min-height:2em;font-size:13px;color:#426236}
@media(max-width:620px){.purchase-heading button{flex-shrink:0}.purchase-links{display:grid;gap:9px}.reading-summary>a,.reading-summary>button{line-height:1.8}footer a{display:block;margin:5px 0}.connection-form{margin-top:24px}}
