@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ba9851c3c22cd980-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/21350d82a1f187e9-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/8e9860b6e62d6359-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter Fallback;src:local("Arial");ascent-override:90.44%;descent-override:22.52%;line-gap-override:0.00%;size-adjust:107.12%}.__className_d8ebd1{font-family:Inter,Inter Fallback;font-style:normal}.__variable_d8ebd1{--font-inter:"Inter","Inter Fallback"}@font-face{font-family:Playfair Display;font-style:normal;font-weight:400 900;font-display:swap;src:url(/_next/static/media/47f136985ef5b5cb-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Playfair Display;font-style:normal;font-weight:400 900;font-display:swap;src:url(/_next/static/media/4ead58c4dcc3f285-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Playfair Display;font-style:normal;font-weight:400 900;font-display:swap;src:url(/_next/static/media/28a2004cf8372660-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Playfair Display;font-style:normal;font-weight:400 900;font-display:swap;src:url(/_next/static/media/eaead17c7dbfcd5d-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Playfair Display Fallback;src:local("Times New Roman");ascent-override:97.25%;descent-override:22.56%;line-gap-override:0.00%;size-adjust:111.26%}.__className_63c8e8{font-family:Playfair Display,Playfair Display Fallback;font-style:normal}.__variable_63c8e8{--font-playfair:"Playfair Display","Playfair Display Fallback"}:root{--brand-deep:#1B2D45;--brand-ink:#2D3748;--brand-paper:#F4EDE4;--brand-bg:#F8F5F0;--brand-card:#FFFFFF;--brand-line:#E2E8F0;--brand-soft:#E2E8F0;--brand-muted:#94A3B8;--brand-header-sub:#F8F5F0;--brand-accent:#D4956B;--brand-gold:#D4956B;--brand-highlight-bg:#F4EDE4;--brand-success:#3A6B5C;--brand-dark:#0C1821;--brand-error:#EF4444;--font-display:var(--font-playfair),Georgia,serif;--font-body:var(--font-inter),system-ui,sans-serif}*{box-sizing:border-box}body,html{height:100%}body{margin:0;color:var(--brand-ink);font-family:var(--font-body)}.shell,body{background:var(--brand-bg)}.shell{display:flex;flex-direction:column;height:100dvh;max-width:760px;margin:0 auto;border-left:1px solid var(--brand-line);border-right:1px solid var(--brand-line)}header{padding:16px 20px 12px;border-bottom:1px solid var(--brand-line);background:var(--brand-deep);color:var(--brand-header-sub);gap:12px}.logo-tile,header{display:flex;align-items:center}.logo-tile{background:var(--brand-bg);border-radius:8px;padding:6px;justify-content:center;flex:none}.logo-tile img{width:40px;height:40px;display:block}.avatar{width:30px;height:30px;border-radius:8px;flex:none}.avatar,.msgrow{align-self:flex-start}.msgrow{display:flex;gap:8px;align-items:flex-start;max-width:96%}.msgrow .msg{max-width:100%}header h1{margin:0;font-size:22px;line-height:1.15;font-family:var(--font-display);font-weight:600}header p{margin:6px 0 0;font-size:14px;line-height:1.45;color:var(--brand-header-sub)}main{flex:1 1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px}.msg{max-width:92%;padding:10px 14px;border-radius:14px;font-size:15px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.msg.user{align-self:flex-end;background:var(--brand-deep);color:var(--brand-header-sub);border-bottom-right-radius:4px}.msg.assistant{border:1px solid var(--brand-line);border-bottom-left-radius:4px}.msg.assistant,.msg.error{align-self:flex-start;background:var(--brand-card)}.msg.error{border:1px solid var(--brand-error);color:var(--brand-error)}.status{align-self:flex-start;font-size:13px;color:var(--brand-muted);display:flex;gap:8px;align-items:center}.spinner{width:14px;height:14px;border:2px solid var(--brand-soft);border-top-color:var(--brand-deep);border-radius:50%;animation:spin .8s linear infinite;flex:none}@keyframes spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.spinner{animation:none}}.card{align-self:stretch;background:var(--brand-card);border:1px solid var(--brand-line);border-radius:14px;padding:14px}.card.book{background:var(--brand-paper)}.card h2{margin:0 0 8px;font-size:16px;font-family:var(--font-display)}.btn{display:inline-block;background:var(--brand-deep);color:var(--brand-header-sub);border:0;border-radius:8px;padding:12px 18px;font-size:15px;font-weight:600;cursor:pointer;text-decoration:none;min-height:48px}.btn.cta{background:var(--brand-accent);color:#FFFFFF}.btn.secondary{background:var(--brand-card);color:var(--brand-deep);border:1px solid var(--brand-deep)}.btn:disabled{opacity:.5;cursor:default}.row{gap:8px;flex-wrap:wrap;margin-top:10px}.check,.row{display:flex}.check{gap:10px;align-items:flex-start;padding:8px 0;border-top:1px solid var(--brand-line);font-size:14px}.check input{width:20px;height:20px;margin-top:1px;flex:none;accent-color:var(--brand-deep)}.check small{display:block;color:var(--brand-muted)}.check.highlight{background:var(--brand-highlight-bg);border:1px solid var(--brand-gold);border-radius:10px;padding:8px}.badges{display:inline-flex;gap:4px;flex-wrap:wrap;margin-left:8px;vertical-align:middle}.badge{font-size:11px;padding:2px 7px;border-radius:999px;background:var(--brand-bg);border:1px solid var(--brand-line);color:var(--brand-ink);white-space:nowrap}.badge.star{background:var(--brand-gold);border-color:var(--brand-gold);color:#FFFFFF;font-weight:700}.book{text-align:left}.book .price{font-size:15px;margin:6px 0 12px}form.composer{display:flex;gap:8px;padding:12px;border-top:1px solid var(--brand-line);background:var(--brand-bg)}form.composer input{flex:1 1;min-height:48px;padding:10px 14px;font-size:16px;border:1px solid var(--brand-line);border-radius:8px;background:var(--brand-card);color:var(--brand-ink)}.hint{padding:0 16px 10px;font-size:12px;color:var(--brand-muted);background:var(--brand-bg)}.volume-note{margin:10px 0 0;padding:10px 12px;font-size:14px;line-height:1.5;background:var(--brand-paper);border:1px solid var(--brand-accent);border-radius:12px;color:var(--brand-ink)}@media (max-width:640px){.shell{border-left:0;border-right:0}header{padding:12px 14px 10px;flex-wrap:wrap}header h1{font-size:19px}header p{font-size:13px}main{padding:12px 10px}.msg{max-width:96%;font-size:15px}.card{padding:12px;border-radius:12px}.row{flex-direction:column}.row .btn,.row label.btn{width:100%;text-align:center}form.composer{flex-wrap:wrap;padding:10px}form.composer input{flex:1 1 100%;order:-1}form.composer .btn{flex:1 1}.files-panel{margin:0 8px 8px;padding:10px}.photo-grid{grid-template-columns:repeat(2,1fr)}.check{padding:10px 0}}.files-panel{margin:0 12px 8px;padding:8px 10px;border:1px dashed var(--brand-soft);border-radius:12px;background:transparent}.files-panel:focus-within,.files-panel:hover{border-color:var(--brand-accent);background:var(--brand-paper)}.shell.dragging .files-panel{background:var(--brand-highlight-bg);border-color:var(--brand-deep)}.photo-strip{display:flex;gap:8px;align-items:center;overflow-x:auto;padding:8px 2px;-webkit-overflow-scrolling:touch}.photo-strip img{width:52px;height:52px;object-fit:cover;border-radius:8px;border:1px solid var(--brand-line);flex:none}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));grid-gap:10px;gap:10px;margin-top:10px}.photo-cell{margin:0;background:var(--brand-card);border:1px solid var(--brand-line);border-radius:12px;overflow:hidden}.photo-cell img{width:100%;height:110px;object-fit:cover;display:block}.photo-cell figcaption{padding:6px 8px;font-size:11px;color:var(--brand-ink);line-height:1.4;overflow-wrap:anywhere}.photo-cell select{width:100%;margin-top:6px;min-height:36px;border:1px solid var(--brand-line);border-radius:8px;background:var(--brand-card);color:var(--brand-ink)}