:root{font-family:Thonburi,Tahoma,system-ui,sans-serif;color:#17211d;background:#f5f7f4;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #17211d;--muted: #647069;--line: #dce3de;--paper: #ffffff;--soft: #eef3ef;--green: #16704e;--green-dark: #0e573c;--coral: #e76648;--yellow: #f0bd42;--danger: #b43834;--shadow: 0 12px 30px rgba(23, 33, 29, .08)}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px;background:#f5f7f4}button,input{font:inherit}a{color:inherit;text-decoration:none}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid rgba(22,112,78,.28);outline-offset:2px}.customer-shell{min-height:100vh}.customer-header{position:sticky;z-index:20;top:0;height:76px;border-bottom:1px solid var(--line);background:#fffffff5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.header-inner{width:min(1160px,calc(100% - 40px));height:100%;margin:0 auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:32px}.customer-brand{display:inline-flex;align-items:center;gap:11px;width:max-content}.customer-brand>span{width:40px;height:40px;display:grid;place-items:center;border-radius:8px;color:#fff;background:var(--green)}.customer-brand div,.customer-account div{display:flex;flex-direction:column}.customer-brand strong{font-size:18px;line-height:1.25}.customer-brand small{color:var(--muted);font-size:11px}.desktop-nav{display:flex;align-items:center;gap:4px;padding:4px;border-radius:8px;background:var(--soft)}.desktop-nav a{display:flex;align-items:center;gap:8px;min-height:38px;padding:7px 14px;color:var(--muted);font-size:14px;font-weight:600;border-radius:6px}.desktop-nav a.active{color:var(--green-dark);background:#fff;box-shadow:0 1px 3px #17211d14}.customer-account{justify-self:end;display:flex;align-items:center;gap:10px}.customer-avatar{width:34px;height:34px;display:grid;place-items:center;overflow:hidden;border-radius:50%;color:#fff;background:var(--coral);font-weight:700}.customer-avatar img{width:100%;height:100%;object-fit:cover}.customer-account small{font-size:10px;color:var(--muted)}.customer-account strong{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.customer-account button,.reader-toolbar>a,.reader-actions a,.order-code button{width:38px;height:38px;border:0;display:grid;place-items:center;border-radius:7px;color:var(--muted);background:transparent;cursor:pointer}.customer-account button:hover,.reader-toolbar>a:hover,.reader-actions a:hover,.order-code button:hover{color:var(--ink);background:var(--soft)}.customer-main{width:min(1160px,calc(100% - 40px));margin:0 auto;padding-bottom:72px}.mobile-nav{display:none}.page-stack{display:flex;flex-direction:column;gap:46px}.page-stack.compact-top{gap:32px}.store-intro{min-height:310px;display:grid;grid-template-columns:minmax(0,1fr) 280px;align-items:end;gap:40px;padding:56px 0 42px;border-bottom:1px solid var(--line)}.store-intro h1,.page-title-row h1{margin:8px 0 14px;max-width:650px;font-size:clamp(36px,5vw,58px);line-height:1.16;letter-spacing:0}.store-intro>div>p:last-child,.page-title-row>div>p:last-child{max-width:570px;margin:0;color:var(--muted);font-size:17px;line-height:1.75}.eyebrow{margin:0;color:var(--green);font-size:12px;font-weight:800;text-transform:uppercase}.shelf-summary{min-height:88px;display:grid;grid-template-columns:46px 1fr 36px;align-items:center;gap:12px;padding:18px;border:1px solid var(--line);border-left:4px solid var(--yellow);border-radius:8px;background:#fff;box-shadow:var(--shadow)}.shelf-summary>svg{color:var(--green)}.shelf-summary span{display:flex;flex-direction:column}.shelf-summary small{color:var(--muted);font-size:11px}.shelf-summary strong{font-size:18px}.shelf-summary a{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--green)}.content-section{width:100%}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.section-heading>div{display:flex;align-items:center;gap:10px}.section-heading h2{margin:0;font-size:22px}.section-heading>span{color:var(--muted);font-size:13px}.section-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:7px;color:var(--green);background:#dceee5}.book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.book-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--paper);transition:transform .18s ease,box-shadow .18s ease}.book-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.book-card-cover-link{position:relative;display:block;padding:26px 26px 0;background:#e8eee9}.book-cover{position:relative;width:100%;aspect-ratio:3 / 4;overflow:hidden;border-radius:4px 7px 7px 4px;background:#d9e2dc;box-shadow:0 14px 24px #17211d33}.book-cover:after{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:#0000001a}.book-cover img{width:100%;height:100%;display:block;object-fit:cover}.book-cover-fallback{width:100%;height:100%;display:flex;flex-direction:column;justify-content:space-between;padding:22px 20px;color:#fff;background:linear-gradient(145deg,#146749 0,#146749 62%,#d95d42 62%,#d95d42)}.book-cover-fallback svg{opacity:.9}.book-cover-fallback strong{max-width:12ch;font-size:clamp(20px,2.2vw,29px);line-height:1.35;overflow-wrap:anywhere}.book-cover-fallback small{align-self:flex-end;font-size:12px;font-weight:700}.owned-ribbon{position:absolute;left:34px;bottom:10px;display:flex;align-items:center;gap:5px;padding:7px 10px;border-radius:5px;color:#fff;background:var(--green);font-size:11px;font-weight:700}.book-card-body{min-height:174px;display:flex;flex-direction:column;justify-content:space-between;gap:18px;padding:20px}.book-card h3{margin:0;font-size:18px;line-height:1.45}.book-card h3 a:hover{color:var(--green)}.book-card p{margin:5px 0 0;min-height:42px;color:var(--muted);font-size:13px;line-height:1.6}.book-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.book-price{color:var(--green-dark);font-size:19px}.file-state{display:inline-flex;align-items:center;gap:6px;min-width:0;color:#8a6520;font-size:12px;font-weight:700}.file-state.ready{color:var(--green)}.round-link{flex:0 0 auto;width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;color:var(--green)}.round-link:hover{color:#fff;border-color:var(--green);background:var(--green)}.page-title-row{display:flex;justify-content:space-between;align-items:end;padding:54px 0 28px;border-bottom:1px solid var(--line)}.page-title-row h1{margin:5px 0 8px;font-size:42px}.title-count{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border-radius:7px;color:var(--green-dark);background:#deeee5;font-size:13px;font-weight:700}.empty-state{min-height:310px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:38px 20px;border:1px dashed #cbd5ce;border-radius:8px;color:var(--muted);background:#ffffff8c}.empty-state svg{color:var(--green)}.empty-state h1,.empty-state h2{margin:14px 0 5px;color:var(--ink)}.empty-state p{margin:0 0 20px}.page-error{min-height:calc(100vh - 150px);border:0;background:transparent}.page-error a,.text-link{color:var(--green);font-weight:700;text-decoration:underline;text-underline-offset:3px}.detail-page,.checkout-page{padding-top:26px}.back-link{display:inline-flex;align-items:center;gap:7px;min-height:38px;color:var(--muted);font-size:13px;font-weight:600}.back-link:hover{color:var(--ink)}.book-detail{display:grid;grid-template-columns:minmax(260px,390px) minmax(0,1fr);gap:72px;padding:28px 32px 70px}.detail-cover-wrap{padding:20px 28px 30px;background:#e1eae3;border-radius:8px}.detail-cover{max-width:320px;margin:0 auto}.detail-content{align-self:center;padding:12px 0}.detail-status{display:inline-flex;align-items:center;gap:6px;color:var(--green);font-size:12px;font-weight:800}.detail-content h1{margin:13px 0 10px;font-size:clamp(34px,4vw,52px);line-height:1.22;overflow-wrap:anywhere;letter-spacing:0}.detail-subtitle{margin:0;color:var(--muted);font-size:18px;line-height:1.7}.detail-meta{display:flex;flex-wrap:wrap;gap:10px 20px;margin:23px 0 27px;padding:16px 0;border-block:1px solid var(--line)}.detail-meta span{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:13px}.detail-meta svg{color:var(--green)}.detail-price{display:flex;flex-direction:column;margin-bottom:24px}.detail-price small{color:var(--muted)}.detail-price strong{color:var(--green-dark);font-size:31px}.ownership-panel{margin-bottom:22px;padding:17px 18px;border-left:4px solid var(--green);border-radius:4px;background:#e3f0e8}.ownership-panel strong{display:flex;align-items:center;gap:7px;color:var(--green-dark)}.ownership-panel p{margin:4px 0 0;color:var(--muted);font-size:13px}.detail-actions{display:flex;flex-wrap:wrap;gap:10px}.primary-button,.secondary-button,.line-button{min-height:48px;display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:11px 19px;border:1px solid transparent;border-radius:7px;cursor:pointer;font-weight:700}.primary-button{color:#fff;background:var(--green)}.primary-button:hover{background:var(--green-dark)}.primary-button:disabled{opacity:.55;cursor:wait}.primary-button.compact{min-height:42px;padding:8px 16px;font-size:13px}.secondary-button{color:var(--green-dark);border-color:#b8c9bf;background:#fff}.secondary-button:hover{background:var(--soft)}.purchase-note{display:flex;gap:10px;margin-top:24px;color:var(--green)}.purchase-note span{display:flex;flex-direction:column}.purchase-note strong{color:var(--ink);font-size:13px}.purchase-note small{color:var(--muted);font-size:11px;line-height:1.55}.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:44px;padding:22px 32px 70px}.qr-section{display:flex;flex-direction:column;align-items:center;text-align:center}.checkout-heading h1{margin:6px 0 5px;font-size:30px}.checkout-heading>p:last-child{margin:0 0 12px;color:var(--muted)}.demo-banner{display:inline-flex;align-items:center;gap:7px;margin:4px 0 14px;padding:7px 10px;border-radius:5px;color:#785617;background:#fff2c9;font-size:11px;font-weight:700}.qr-frame{position:relative;width:260px;height:260px;display:grid;place-items:center;padding:20px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:var(--shadow)}.qr-frame img{width:220px;height:220px;object-fit:contain}.qr-frame.expired>img,.qr-frame.expired>svg{opacity:.1}.qr-expired{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--danger)}.checkout-amount{margin-top:14px;color:var(--green-dark);font-size:28px}.countdown{display:flex;align-items:center;gap:7px;min-height:42px;color:var(--muted);font-size:13px}.order-summary{align-self:start;padding:22px;border:1px solid var(--line);border-radius:8px;background:#fff}.order-summary h2{margin:0 0 18px;font-size:18px}.summary-book{display:grid;grid-template-columns:74px minmax(0,1fr);gap:13px;align-items:center;padding-bottom:20px;border-bottom:1px solid var(--line)}.summary-book .book-cover{box-shadow:0 7px 13px #17211d2b}.summary-book>div:last-child{min-width:0;display:flex;flex-direction:column}.summary-book strong{line-height:1.45}.summary-book small{margin-top:4px;color:var(--muted);line-height:1.5}.summary-total{display:flex;justify-content:space-between;align-items:center;padding:18px 0}.summary-total span{color:var(--muted);font-size:13px}.summary-total strong{color:var(--green-dark);font-size:20px}.order-code{display:grid;grid-template-columns:minmax(0,1fr) 38px;align-items:center;gap:7px;padding:10px;border-radius:6px;background:var(--soft)}.order-code span{min-width:0;display:flex;flex-direction:column}.order-code small{color:var(--muted);font-size:10px}.order-code code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.mock-instruction{margin:12px 0 0;color:var(--muted);font-size:11px;line-height:1.6}.mock-instruction code{padding:1px 4px;color:var(--green-dark);background:#e1eee6}.payment-slip-box{width:min(100%,430px);display:flex;flex-direction:column;gap:12px;margin-top:20px;padding:16px;border:1px solid #b8cfc1;border-radius:8px;background:#f4faf6;text-align:left}.bank-transfer-info{display:flex;flex-direction:column;gap:3px;padding:10px 11px;border-left:3px solid var(--green);background:#fff}.bank-transfer-info small{color:var(--muted);font-size:10px}.bank-transfer-info strong{color:var(--green-dark);font-size:13px}.bank-transfer-info span{color:var(--muted);font-size:11px}.bank-transfer-qr{width:min(100%,230px);aspect-ratio:1;align-self:center;overflow:hidden;border:1px solid #d4dfd7;border-radius:6px;background:#fff}.bank-transfer-qr img{width:100%;height:100%;object-fit:contain}.payment-slip-heading{display:flex;align-items:flex-start;gap:9px}.payment-slip-heading>span{width:30px;height:30px;display:grid;place-items:center;flex:0 0 auto;border-radius:6px;color:#fff;background:var(--green)}.payment-slip-heading>div{display:flex;flex-direction:column;gap:3px}.payment-slip-heading small,.slip-file-field small{color:var(--muted);font-size:10px;line-height:1.5}.slip-file-field,.slip-date-field{display:flex;flex-direction:column;gap:5px;color:var(--ink);font-size:11px;font-weight:700}.slip-file-field input,.slip-date-field input{width:100%;min-height:38px;padding:7px 9px;border:1px solid #cbd8cf;border-radius:5px;color:var(--ink);background:#fff;font:inherit}.slip-file-field input{padding:6px;font-size:10px}.slip-date-field span{display:inline-flex;align-items:center;gap:5px}.slip-date-field em{color:var(--muted);font-size:9px;font-style:normal;font-weight:500}.payment-slip-box .primary-button{align-self:stretch}.slip-awaiting-review{flex-direction:row;align-items:flex-start;color:var(--green-dark)}.slip-awaiting-review>svg{flex:0 0 auto}.slip-awaiting-review>div{display:flex;flex-direction:column;gap:4px}.slip-awaiting-review small{color:var(--muted);line-height:1.55}.alert{margin:12px 0;padding:10px 12px;border-radius:6px;font-size:13px}.alert.error{color:#812c29;border:1px solid #f0c2bf;background:#fff0ef}.alert.error button{margin-left:10px;padding:0;border:0;color:inherit;background:transparent;text-decoration:underline;cursor:pointer}.payment-success{min-height:calc(100vh - 120px);display:flex;flex-direction:column;justify-content:center;align-items:center;padding:32px 20px;text-align:center}.payment-success>span:not(.loading-ring){width:62px;height:62px;display:grid;place-items:center;margin-bottom:17px;border-radius:50%;color:#fff;background:var(--green)}.payment-success h1{margin:6px 0;font-size:31px}.payment-success p:not(.eyebrow){margin:0 0 22px;color:var(--muted)}.payment-success .text-link{margin-top:17px;font-size:13px}.reader-page{width:100vw;height:calc(100vh - 76px);margin-left:calc((min(1160px,calc(100vw - 40px)) - 100vw)/2);display:grid;grid-template-rows:58px minmax(0,1fr);background:#333a37}.reader-toolbar{min-width:0;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px max(14px,calc((100vw - 1160px)/2));color:#fff;background:#1d2521}.reader-toolbar>a,.reader-actions a{color:#dfe7e2}.reader-toolbar>div{min-width:0;display:flex;flex-direction:column}.reader-toolbar strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.reader-toolbar small{color:#aab6af;font-size:10px}.reader-actions{display:flex}.pdf-viewer{position:relative;min-width:0;min-height:0;overflow:auto;display:flex;justify-content:center;align-items:flex-start;padding:20px 14px 82px;background:#343a37}.pdf-pages{display:flex;flex-direction:column;align-items:center;gap:12px}.pdf-canvas-wrap{position:relative;max-width:100%;background:#fff;box-shadow:0 10px 28px #00000047}.pdf-canvas-wrap canvas{display:block;max-width:100%}.canvas-loading{position:absolute;z-index:2;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:var(--green);background:#fffc}.pdf-message{align-self:center;display:flex;flex-direction:column;align-items:center;gap:8px;min-height:240px;justify-content:center;color:#dfe7e2;text-align:center}.pdf-message p{margin:0;color:#b8c4bd;font-size:12px}.pdf-message.error-message svg{color:#f28b73}.page-controls{position:fixed;z-index:15;left:50%;bottom:18px;transform:translate(-50%);display:grid;grid-template-columns:38px auto 38px;align-items:center;gap:8px;padding:6px;border-radius:8px;color:#fff;background:#17211df0;box-shadow:0 8px 20px #00000040}.page-controls button{width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:6px;color:#fff;background:#ffffff1a;cursor:pointer}.page-controls button:disabled{opacity:.3;cursor:default}.page-controls span{min-width:88px;text-align:center;font-size:12px}.spin-icon{animation:spin .8s linear infinite}.loading-screen{min-height:calc(100vh - 150px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:var(--muted)}.loading-ring{width:34px;height:34px;display:block;border:3px solid #c9d7ce;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}.loading-ring.small{width:25px;height:25px;border-width:2px}@keyframes spin{to{transform:rotate(360deg)}}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(360px,500px) minmax(0,1fr);background:#fff}.login-panel{z-index:1;display:flex;flex-direction:column;padding:44px clamp(28px,5vw,72px);box-shadow:15px 0 35px #17211d14}.login-brand{display:flex;align-items:center;gap:11px}.login-mark{width:48px;height:48px;display:grid;place-items:center;border-radius:8px;color:#fff;background:var(--green)}.login-brand>span:last-child{display:flex;flex-direction:column}.login-brand strong{font-size:20px}.login-brand small{color:var(--muted);font-size:11px}.login-copy{margin:auto 0 26px}.login-copy h1{margin:8px 0 11px;font-size:38px;letter-spacing:0}.login-copy>p:last-child{margin:0;color:var(--muted);line-height:1.75}.login-actions{display:flex;flex-direction:column;gap:10px}.login-actions small{color:var(--muted);text-align:center;font-size:10px}.line-button{color:#fff;background:#06c755}.line-symbol{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;color:#06c755;background:#fff;font-size:13px;font-weight:800}.login-trust{display:flex;align-items:center;gap:7px;margin-top:auto;padding-top:30px;color:var(--muted);font-size:11px}.login-trust svg{color:var(--green)}.login-visual{position:relative;overflow:hidden;min-height:100vh;background:#dbe8df}.login-visual:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:repeating-linear-gradient(90deg,transparent 0 69px,rgba(22,112,78,.05) 70px),repeating-linear-gradient(0deg,transparent 0 69px,rgba(22,112,78,.05) 70px)}.login-visual:after{content:"";position:absolute;left:9%;right:7%;bottom:15%;height:26px;border-radius:3px;background:#8e5d3b;box-shadow:0 9px 18px #17211d33}.visual-book{position:absolute;bottom:calc(15% + 26px);display:flex;flex-direction:column;justify-content:space-between;padding:28px 22px;border-radius:4px 8px 3px 3px;color:#fff;box-shadow:10px 10px 25px #17211d3d;transform-origin:bottom}.visual-book span{font-size:13px;font-weight:600}.visual-book strong{font-size:clamp(24px,3vw,42px);line-height:1.25}.visual-book-one{left:12%;width:25%;height:48%;background:var(--coral);transform:rotate(-5deg)}.visual-book-two{left:37%;width:27%;height:59%;color:var(--ink);background:var(--yellow);transform:rotate(2deg)}.visual-book-three{left:65%;width:27%;height:68%;background:var(--green);transform:rotate(-2deg)}.support-page{padding-bottom:70px}.support-intro{min-height:285px;display:flex;align-items:end;justify-content:space-between;gap:36px;padding:48px 0 38px;border-bottom:1px solid var(--line)}.support-intro>div{max-width:720px}.support-intro h1{margin:8px 0 12px;font-size:clamp(38px,5vw,58px);line-height:1.16;letter-spacing:0}.support-intro>div>p:last-child{max-width:620px;margin:0;color:var(--muted);font-size:16px;line-height:1.75}.support-intro>button{flex:0 0 auto;margin-bottom:4px}.proposal-panel{margin:28px 0 0;padding:22px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:var(--shadow)}.proposal-heading{display:grid;grid-template-columns:42px minmax(0,1fr) 38px;align-items:start;gap:12px;margin-bottom:20px}.proposal-heading>span{width:42px;height:42px;display:grid;place-items:center;border-radius:7px;color:#8b6112;background:#fff0bd}.proposal-heading h2{margin:0;font-size:20px}.proposal-heading p{margin:3px 0 0;color:var(--muted);font-size:12px}.proposal-heading button{width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:7px;color:var(--muted);background:transparent;cursor:pointer}.proposal-heading button:hover{color:var(--ink);background:var(--soft)}.proposal-panel form{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:16px}.proposal-mode{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.proposal-mode button{min-height:82px;display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:12px;padding:13px 15px;border:1px solid #cbd5ce;border-radius:7px;color:var(--muted);background:#fff;text-align:left;cursor:pointer}.proposal-mode button:hover{border-color:#91ad9c}.proposal-mode button[aria-pressed=true]{color:var(--green-dark);border-color:var(--green);background:#edf7f1;box-shadow:0 0 0 2px #16704e14}.proposal-mode button:nth-child(2)[aria-pressed=true]{color:#7b4c08;border-color:#d5a438;background:#fff5d7;box-shadow:0 0 0 2px #d5a4381a}.proposal-mode button:nth-child(3)[aria-pressed=true]{color:#963923;border-color:var(--coral);background:#fff0eb;box-shadow:0 0 0 2px #e766481a}.proposal-mode button>span{display:flex;min-width:0;flex-direction:column;gap:3px}.proposal-mode strong{font-size:16px;line-height:1.35}.proposal-mode small{color:var(--muted);font-size:13px;line-height:1.45;font-weight:400}.proposal-mode-note{margin:-7px 0 1px;padding:11px 13px;border-left:3px solid #8ba99a;color:var(--muted);background:#f4f8f5;font-size:13px;line-height:1.65}.proposal-mode-note.vip{border-left-color:#d5a438;background:#fff9e8}.proposal-mode-note.commissioned{border-left-color:var(--coral);background:#fff2ed}.proposal-panel label{display:flex;flex-direction:column;gap:7px;color:var(--ink);font-size:14px;font-weight:700}.proposal-panel label span small{color:var(--muted);font-weight:400}.proposal-panel input,.proposal-panel select,.proposal-panel textarea{width:100%;border:1px solid #cbd5ce;border-radius:6px;padding:12px 13px;color:var(--ink);background:#fff;outline:none;font-size:15px}.proposal-panel input:focus,.proposal-panel select:focus,.proposal-panel textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #16704e1a}.proposal-panel textarea{resize:vertical;line-height:1.6}.proposal-panel .wide-field,.proposal-actions{grid-column:1 / -1}.proposal-actions{display:flex;justify-content:space-between;align-items:center;gap:18px}.proposal-actions>small{color:var(--muted);font-size:10px}.ranking-section{padding-top:36px}.ranking-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.ranking-heading>div{display:flex;align-items:center;gap:11px}.ranking-heading h2{margin:0;font-size:24px}.ranking-heading p{margin:2px 0 0;color:var(--muted);font-size:11px}.section-icon.coral{color:#ad3f2a;background:#fbe3dd}.privacy-note{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:11px}.category-tabs{display:flex;gap:6px;overflow-x:auto;padding:4px 0 18px;scrollbar-width:none}.category-tabs::-webkit-scrollbar{display:none}.category-tabs button{min-height:34px;padding:6px 12px;border:1px solid var(--line);border-radius:6px;color:var(--muted);background:#fff;white-space:nowrap;cursor:pointer;font-size:12px;font-weight:600}.category-tabs button[aria-selected=true]{color:#fff;border-color:var(--green);background:var(--green)}.topic-list{border-top:1px solid var(--line)}.topic-row{min-height:152px;display:grid;grid-template-columns:62px minmax(0,1fr) 210px;align-items:center;gap:20px;padding:24px 12px;border-bottom:1px solid var(--line)}.topic-row:hover{background:#ffffff94}.rank-number{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;color:var(--muted);background:#e7ece8;font-size:17px;font-weight:800}.rank-number.top{color:#67470f;background:#f6d983}.topic-main{min-width:0}.topic-labels{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.topic-labels>span{padding:3px 7px;border-radius:4px;color:var(--green-dark);background:#deeee5;font-size:9px;font-weight:700}.topic-labels .featured-label{display:inline-flex;align-items:center;gap:3px;color:#834f17;background:#fff0c1}.topic-labels .vip-label{display:inline-flex;align-items:center;gap:3px;color:#8a3e24;background:#ffe4d7}.topic-labels .commission-label{display:inline-flex;align-items:center;gap:3px;color:#fff;background:var(--coral)}.topic-main h3{margin:9px 0 4px;font-size:19px;line-height:1.45}.topic-main>p{max-width:680px;margin:0;color:var(--muted);font-size:12px;line-height:1.6}.topic-progress{max-width:560px;margin-top:14px}.topic-progress>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:5px;color:var(--muted);font-size:10px}.topic-progress>div strong{color:var(--green-dark);font-size:11px}.topic-progress-track{display:block;width:100%;height:7px;overflow:hidden;border-radius:4px;background:#dfe7e1}.topic-progress-track i{display:block;height:100%;min-width:3px;border-radius:inherit;background:linear-gradient(90deg,var(--green),var(--yellow),var(--coral))}.topic-meta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px}.topic-meta>span{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:11px}.topic-meta svg{color:var(--green)}.topic-status{padding-left:10px;border-left:1px solid var(--line)}.topic-status.planned,.topic-status.producing{color:#8a5e0c}.topic-status.published{color:var(--green)}.topic-action{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:8px}.topic-action>a,.topic-like-button{width:100%;min-width:0}.topic-action>a{min-height:42px;display:grid;grid-template-columns:19px minmax(0,1fr) 17px;align-items:center;gap:7px;padding:9px 10px;border:1px solid var(--green);border-radius:7px;color:#fff;background:var(--green);font-size:11px;font-weight:700}.topic-action>a:hover{border-color:var(--green-dark);background:var(--green-dark)}.topic-like-button{min-height:40px;display:grid;grid-template-columns:19px minmax(0,1fr);align-items:center;gap:7px;padding:8px 10px;border:1px solid #d4dbd6;border-radius:7px;color:var(--muted);background:transparent;cursor:pointer;font-size:11px;font-weight:700}.topic-like-button:hover,.topic-like-button.active{color:#a43f2c;border-color:#eea18f;background:#fff0eb}.topic-like-button:disabled{opacity:.55;cursor:wait}.supported-mark{grid-column:1 / -1;display:inline-flex;align-items:center;justify-content:flex-start;gap:5px;color:var(--green);font-size:10px;font-weight:700}.support-checkout{padding-top:26px}.support-checkout-layout{min-height:calc(100vh - 150px);display:grid;grid-template-columns:minmax(0,1fr) 390px;align-items:center;gap:70px;padding:20px 40px 70px}.support-order-copy{max-width:640px}.support-heart{width:54px;height:54px;display:grid;place-items:center;margin-bottom:20px;border-radius:8px;color:#fff;background:var(--coral)}.support-heart.vip{color:#67470f;background:var(--yellow)}.support-order-copy h1{margin:9px 0 12px;font-size:clamp(34px,4vw,50px);line-height:1.25;letter-spacing:0}.support-order-copy>p:last-of-type{margin:0;color:var(--muted);font-size:16px;line-height:1.7}.support-facts{display:flex;flex-direction:column;gap:9px;margin-top:25px}.support-facts span{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.support-facts svg{color:var(--green)}.support-payment-box{display:flex;flex-direction:column;align-items:center;padding:24px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:var(--shadow);text-align:center}.support-payment-box h2{margin:5px 0 10px;font-size:23px}.donation-box>p:not(.eyebrow){margin:0 0 18px;color:var(--muted);font-size:11px;line-height:1.65}.amount-presets{width:100%;display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:16px}.amount-presets button{min-height:40px;border:1px solid var(--line);border-radius:6px;color:var(--muted);background:#fff;cursor:pointer;font-size:12px;font-weight:700}.amount-presets button[aria-pressed=true]{color:var(--green-dark);border-color:var(--green);background:#e7f3ec}.custom-amount{width:100%;display:flex;flex-direction:column;align-items:start;gap:6px;margin-bottom:18px;color:var(--ink);font-size:11px;font-weight:700}.custom-amount>div{width:100%;display:grid;grid-template-columns:1fr 48px;align-items:center;overflow:hidden;border:1px solid #cbd5ce;border-radius:6px}.custom-amount input{min-width:0;height:42px;padding:8px 11px;border:0;outline:0}.custom-amount>div span{color:var(--muted);font-weight:500}.donation-box>.primary-button{width:100%}.qr-frame.small-frame{width:224px;height:224px;padding:17px}.qr-frame.small-frame img{width:190px;height:190px}.support-code{width:100%;margin-top:10px;text-align:left}.support-success>span:not(.loading-ring){background:var(--coral)}.dashboard-page{padding-bottom:70px}.dashboard-heading{padding:48px 0 27px;border-bottom:1px solid var(--line)}.dashboard-heading h1{margin:6px 0 8px;font-size:42px;letter-spacing:0}.dashboard-heading p:last-child{margin:0;color:var(--muted);font-size:14px}.dashboard-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:24px 0 34px}.dashboard-summary a{min-height:86px;display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--line);border-radius:8px;background:#fff}.dashboard-summary a:hover{border-color:#a9bdb0;box-shadow:0 5px 15px #17211d0f}.dashboard-summary svg{color:var(--green)}.dashboard-summary span{display:flex;flex-direction:column}.dashboard-summary strong{font-size:23px}.dashboard-summary small{color:var(--muted);font-size:10px}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(340px,.88fr);gap:28px;align-items:start}.dashboard-section{min-width:0}.dashboard-section-heading{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:9px}.dashboard-section-heading>div{display:flex;align-items:center;gap:8px}.dashboard-section-heading svg{color:var(--green)}.dashboard-section-heading h2{margin:0;font-size:19px}.dashboard-section-heading>a{color:var(--green);font-size:10px;font-weight:700}.dashboard-topic-list,.dashboard-order-list{border-top:1px solid var(--line)}.dashboard-topic-list>article{padding:17px 4px;border-bottom:1px solid var(--line)}.dashboard-topic-title{display:flex;align-items:center;gap:8px}.dashboard-topic-title h3{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.commitment-badge{flex:0 0 auto;padding:3px 6px;border-radius:4px;color:var(--green-dark);background:#dfede5;font-size:8px;font-weight:800}.commitment-badge.vip{color:#79500e;background:#ffedb7}.commitment-badge.commissioned{color:#fff;background:var(--coral)}.commitment-badge.community_goal{color:#fff;background:var(--green)}.dashboard-progress{display:grid;grid-template-columns:1fr 35px;align-items:center;gap:8px;margin:12px 0 8px}.dashboard-progress>span{height:6px;overflow:hidden;border-radius:3px;background:#dfe7e1}.dashboard-progress i{display:block;height:100%;background:var(--green)}.dashboard-progress strong{color:var(--green-dark);font-size:10px;text-align:right}.dashboard-topic-meta{display:flex;flex-wrap:wrap;gap:7px 12px;color:var(--muted);font-size:9px}.dashboard-topic-meta span{display:inline-flex;align-items:center;gap:4px}.dashboard-topic-meta .due-date{color:#a1422e;font-weight:700}.dashboard-order-list>article{min-height:76px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 3px;border-bottom:1px solid var(--line)}.order-purpose{width:34px;height:34px;display:grid;place-items:center;border-radius:6px;color:var(--green);background:#dfede5}.order-purpose.support,.order-purpose.vip,.order-purpose.commissioned{color:#a1422e;background:#f9e5df}.dashboard-order-list article>div{min-width:0;display:flex;flex-direction:column}.dashboard-order-list article>div>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.dashboard-order-list article>div>small{color:var(--muted);font-size:8px}.dashboard-order-state{align-items:end}.dashboard-order-state>strong{font-size:11px}.dashboard-order-state>small.paid{color:var(--green)}.dashboard-order-state>small.pending{color:#8a6520}.dashboard-empty{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);text-align:center}.dashboard-empty p{margin:8px 0 4px;font-size:11px}.dashboard-empty a{color:var(--green);font-size:10px;font-weight:700}@media(max-width:900px){.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.book-detail{gap:40px;padding-inline:12px}.checkout-layout{gap:25px;padding-inline:0}.login-page{grid-template-columns:minmax(340px,46%) 1fr}.topic-row{grid-template-columns:50px minmax(0,1fr) 180px;gap:14px}.support-checkout-layout{gap:35px;padding-inline:10px}}@media(max-width:700px){.customer-header{height:62px}.header-inner{width:calc(100% - 28px);grid-template-columns:1fr auto}.customer-brand>span{width:35px;height:35px}.customer-brand small,.customer-account div,.desktop-nav{display:none}.customer-account{gap:4px}.customer-account button{width:35px;height:35px}.mobile-nav{position:fixed;z-index:30;inset:auto 0 0;height:66px;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);background:#fff}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--muted);font-size:10px}.mobile-nav a.active{color:var(--green);font-weight:700}.customer-main{width:calc(100% - 28px);padding-bottom:86px}.page-stack{gap:30px}.store-intro{min-height:0;grid-template-columns:1fr;gap:26px;padding:35px 0 28px}.store-intro h1{font-size:38px}.store-intro>div>p:last-child{font-size:14px}.shelf-summary{min-height:76px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.book-card-cover-link{padding:14px 14px 0}.book-card-body{min-height:156px;padding:14px}.book-card h3{font-size:15px}.book-card p{font-size:11px}.book-price{font-size:16px}.file-state{max-width:92px;font-size:10px}.owned-ribbon{left:19px;bottom:7px;padding:5px 7px;font-size:9px}.book-cover-fallback{padding:14px 12px}.book-cover-fallback strong{font-size:18px}.page-title-row{align-items:start;padding-top:34px}.page-title-row h1{font-size:34px}.page-title-row>div>p:last-child{font-size:13px}.title-count{margin-top:5px;white-space:nowrap}.book-detail{grid-template-columns:1fr;gap:30px;padding:17px 0 45px}.detail-cover-wrap{padding:18px 42px 26px}.detail-cover{max-width:290px}.detail-content h1{font-size:33px}.detail-subtitle{font-size:15px}.detail-actions>*{flex:1 1 140px}.checkout-layout{grid-template-columns:1fr;padding-top:14px}.order-summary{order:-1;padding:16px}.summary-book{grid-template-columns:54px minmax(0,1fr)}.summary-book .book-cover-fallback{padding:7px}.summary-book .book-cover-fallback svg,.summary-book .book-cover-fallback small{display:none}.summary-book .book-cover-fallback strong{font-size:9px}.checkout-heading h1{font-size:25px}.reader-page{height:calc(100vh - 128px);margin-left:calc((0vw - 28px)/2)}.reader-toolbar{padding-inline:7px}.pdf-viewer{padding:12px 8px 72px}.page-controls{bottom:76px}.login-page{display:block;background:#dbe8df}.login-panel{min-height:100vh;margin-left:15%;padding:28px 24px;background:#fff}.login-visual{position:fixed;z-index:0;inset:0 auto 0 0;width:15%;min-height:0}.visual-book{display:none}.login-copy{margin-top:auto}.login-copy h1{font-size:34px}.support-intro{min-height:0;align-items:start;flex-direction:column;gap:22px;padding:34px 0 28px}.support-intro h1{font-size:37px}.support-intro>div>p:last-child{font-size:13px}.support-intro>button{width:100%}.proposal-panel{padding:16px}.proposal-panel form,.proposal-mode{grid-template-columns:1fr}.proposal-panel .wide-field,.proposal-actions{grid-column:auto}.proposal-actions{align-items:stretch;flex-direction:column}.ranking-heading{align-items:start}.ranking-heading p{max-width:210px}.privacy-note{margin-top:5px}.topic-row{grid-template-columns:42px minmax(0,1fr);align-items:start;gap:11px;padding:20px 4px}.rank-number{width:36px;height:36px;font-size:14px}.topic-main h3{font-size:16px}.topic-action{grid-column:2;align-items:start}.topic-action>a,.topic-like-button{width:100%;min-width:0}.supported-mark{justify-content:start}.support-checkout-layout{min-height:0;grid-template-columns:1fr;gap:30px;padding:24px 0 48px}.support-order-copy h1{font-size:31px}.support-payment-box{padding:20px 14px}.dashboard-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-columns{grid-template-columns:1fr}.dashboard-heading h1{font-size:34px}}@media(max-width:420px){.book-grid{grid-template-columns:1fr;gap:16px}.book-card{display:grid;grid-template-columns:124px minmax(0,1fr)}.book-card-cover-link{padding:12px}.book-card-body{min-height:0;padding:15px 13px}.book-card p{min-height:0}.book-card-footer{align-items:end}.owned-ribbon{display:none}.book-cover-fallback strong{font-size:15px}.page-title-row{gap:12px}.title-count{padding:8px}.title-count svg{display:none}.qr-frame{width:240px;height:240px}.qr-frame svg,.qr-frame img{width:204px;height:204px}.ranking-heading{flex-direction:column;gap:8px}.privacy-note{align-self:flex-start}}.meal-plan-page{padding:42px 0 70px}.meal-page-heading{display:flex;justify-content:space-between;align-items:end;gap:28px;padding-bottom:28px;border-bottom:1px solid var(--line)}.meal-page-heading h1,.meal-preferences-page h1{margin:6px 0 9px;font-size:42px;line-height:1.2;letter-spacing:0}.meal-page-heading>div>p:last-child,.meal-preferences-page header>p:last-child{max-width:680px;margin:0;color:var(--muted);font-size:17px;line-height:1.7}.meal-settings-button{min-height:48px;display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border:1px solid var(--line);border-radius:7px;color:var(--green-dark);background:#fff;cursor:pointer;font-weight:700;white-space:nowrap}.meal-mode-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:28px 0}.meal-mode-picker button{min-height:142px;display:grid;grid-template-columns:54px 1fr;align-items:center;gap:18px;padding:24px;border:2px solid #b8c9bf;border-radius:8px;color:var(--green-dark);background:#fff;cursor:pointer;text-align:left}.meal-mode-picker button:last-child{color:#8b442e;border-color:#e9b5a7}.meal-mode-picker button:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.meal-mode-picker button:disabled{opacity:.55;cursor:wait;transform:none}.meal-mode-picker span{display:flex;flex-direction:column}.meal-mode-picker strong{font-size:24px}.meal-mode-picker small{margin-top:5px;color:var(--muted);font-size:14px}.meal-error{display:flex;align-items:flex-start;gap:9px;margin:16px 0;padding:13px 15px;border:1px solid #eab8b3;border-radius:7px;color:#8b2926;background:#fff1ef;white-space:pre-line}.meal-error svg{flex:0 0 auto}.meal-plan-meta{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:24px 0 12px}.meal-plan-meta span{display:flex;align-items:center;gap:8px;color:var(--green-dark);font-size:15px;font-weight:800}.meal-plan-meta strong{color:var(--muted);font-size:14px}.daily-meals{border-top:1px solid var(--line)}.daily-meal-card{min-height:210px;display:grid;grid-template-columns:52px minmax(0,1fr) 170px;align-items:start;gap:20px;padding:28px 8px;border-bottom:1px solid var(--line)}.meal-slot-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:8px;color:#fff;background:var(--green)}.daily-meal-content>p:first-child{margin:0 0 5px;color:var(--green);font-size:13px;font-weight:800}.daily-meal-content h2{margin:0;font-size:27px;line-height:1.35;letter-spacing:0}.meal-description{margin:7px 0 0;color:var(--muted);font-size:15px;line-height:1.65}.meal-guidance{margin-top:18px;padding:14px 16px;border-left:4px solid var(--yellow);background:#fff}.meal-guidance strong{font-size:13px}.meal-guidance p{margin:4px 0 0;font-size:15px;line-height:1.7;white-space:pre-line}.meal-swap-button{min-height:54px;display:flex;align-items:center;justify-content:center;gap:9px;align-self:center;padding:9px 13px;border:1px solid #b8c9bf;border-radius:7px;color:var(--green-dark);background:#fff;cursor:pointer;font-weight:700}.meal-swap-button span{display:flex;flex-direction:column;text-align:left}.meal-swap-button small{margin-top:2px;color:var(--muted);font-size:10px;font-weight:500}.meal-swap-button:disabled{opacity:.5;cursor:default}.no-suitable-meal{margin-top:12px;color:#8a6520}.no-suitable-meal strong{font-size:19px}.no-suitable-meal p{margin:4px 0 0;color:var(--muted);line-height:1.6}.meal-disclaimer{display:flex;align-items:flex-start;gap:10px;max-width:760px;margin:30px auto 0;padding:14px 16px;border:1px solid #d7ddd9;border-radius:7px;color:var(--muted);background:#f0f3f1}.meal-disclaimer svg{flex:0 0 auto;color:var(--green)}.meal-disclaimer p{margin:0;font-size:12px;line-height:1.6}.meal-preferences-page{max-width:920px;margin:0 auto;padding:42px 0 80px}.meal-preferences-page header{padding-bottom:28px;border-bottom:1px solid var(--line)}.meal-preferences-page header>svg{color:var(--green)}.meal-preferences-page fieldset{margin:0;padding:28px 0;border:0;border-bottom:1px solid var(--line)}.meal-preferences-page legend{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:800}.meal-preferences-page legend>span{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--green);font-size:16px}.meal-preferences-page fieldset>p{margin:6px 0 15px 44px;color:var(--muted);font-size:13px}.meal-preferences-page fieldset>small{display:block;margin-top:11px;color:var(--muted);font-size:12px}.allergy-question{border-left:4px solid var(--coral)!important;padding-left:18px!important}.large-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.large-choice-grid label{min-height:58px;display:flex;align-items:center;gap:11px;padding:12px 15px;border:1px solid #cbd5ce;border-radius:7px;background:#fff;cursor:pointer;font-size:17px;font-weight:700}.large-choice-grid label:has(input:checked){color:var(--green-dark);border:2px solid var(--green);background:#e5f1ea}.large-choice-grid input{width:21px;height:21px;flex:0 0 auto;accent-color:var(--green)}.goal-choice-copy{display:flex;min-width:0;flex-direction:column;gap:4px}.goal-choice-copy strong{font-size:17px}.goal-choice-copy small{color:var(--muted);font-size:11px;font-weight:500;line-height:1.45}.ingredient-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.meal-count-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.meal-preference-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:24px}.meal-preference-actions button{min-width:180px;min-height:54px;font-size:16px}@media(max-width:900px){.daily-meal-card{grid-template-columns:48px minmax(0,1fr)}.meal-card-actions{grid-column:2;flex-direction:row;flex-wrap:wrap;justify-self:start}.meal-card-actions .meal-swap-button{align-self:auto}.ingredient-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.mobile-nav{grid-template-columns:repeat(5,1fr)}.meal-plan-page,.meal-preferences-page{padding-top:28px}.meal-page-heading{align-items:flex-start;flex-direction:column}.meal-page-heading h1,.meal-preferences-page h1{font-size:34px}.meal-page-heading>div>p:last-child,.meal-preferences-page header>p:last-child{font-size:14px}.meal-settings-button{align-self:stretch;justify-content:center}.meal-mode-picker{grid-template-columns:1fr}.meal-mode-picker button{min-height:116px}.daily-meal-card{grid-template-columns:42px minmax(0,1fr);gap:14px;padding:23px 0}.meal-slot-icon{width:42px;height:42px}.daily-meal-content h2{font-size:23px}.meal-guidance p{font-size:14px}.meal-plan-meta{align-items:flex-start;flex-direction:column}.large-choice-grid,.ingredient-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.large-choice-grid label{min-height:54px;padding:10px;font-size:15px}.meal-preference-actions{position:sticky;z-index:10;bottom:66px;margin-inline:-14px;padding:12px 14px;background:#f5f7f4f5}.meal-preference-actions button{flex:1;min-width:0}}@media(max-width:420px){.ingredient-grid{grid-template-columns:1fr}.meal-count-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.meal-count-grid label{justify-content:center;font-size:14px}.meal-count-grid input{display:none}}.consent-check{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--soft);font-size:15px;line-height:1.55;cursor:pointer}.consent-check input{width:22px;height:22px;flex:0 0 auto;margin-top:2px;accent-color:var(--green)}.meal-consent small{display:block;margin-top:10px;color:var(--muted)}.meal-delete-button{display:inline-flex;align-items:center;gap:7px;margin-top:22px;padding:10px 4px;border:0;background:none;color:var(--danger);font-size:14px;font-weight:700;cursor:pointer}.meal-delete-button:disabled{opacity:.55;cursor:wait}.proposal-mode-label{margin-top:6px;font-weight:700}.meal-card-actions{display:flex;flex-direction:column;gap:8px;align-self:center}.meal-card-actions .meal-swap-button{align-self:stretch}.meal-mode-button{min-height:40px;display:flex;align-items:center;justify-content:center;gap:7px;padding:7px 10px;border:1px dashed #b8c9bf;border-radius:7px;color:var(--muted);background:transparent;cursor:pointer;font-size:13px;font-weight:700}.meal-mode-button:disabled,.meal-swap-button:disabled{opacity:.45;cursor:default}.meal-mode-chip{display:inline-flex;align-items:center;gap:4px;margin-left:8px;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;vertical-align:middle}.meal-mode-chip.home{color:var(--green-dark);background:var(--green-soft)}.meal-mode-chip.out{color:#8a5a10;background:#fdf0d8}.meal-mode-hint{margin:12px 0 0;color:var(--muted);font-size:14px;text-align:center}.meal-nutrition{margin:4px 0 0;color:var(--green-dark);font-size:13px;font-weight:700}.goal-locked{opacity:.55;cursor:not-allowed}.premium-badge{margin-left:6px;padding:1px 7px;border-radius:999px;color:#7a5a14;background:#fdf0d8;font-size:11px;font-style:normal;font-weight:800;vertical-align:middle}.body-energy-card{margin-top:24px;padding:20px;border:1px solid var(--line);border-radius:10px;background:#fff}.body-energy-card h2{margin:0;font-size:19px}.body-energy-card p{margin:4px 0 0;color:var(--muted);font-size:13px}.body-energy-card.prompt{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;border-color:#f0d9a6;background:#fffaf0}.body-energy-icon,.body-energy-heading>span{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;color:#c46a1b;background:#fde9d3}.body-energy-heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px}.body-energy-edit{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:#fff;cursor:pointer}.body-energy-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.body-energy-numbers>div{padding:14px 16px;border-radius:8px;background:var(--soft)}.body-energy-numbers>div:first-child{background:var(--green-soft)}.body-energy-numbers small{display:block;color:var(--muted);font-size:12px;font-weight:700}.body-energy-numbers strong{font-size:32px;line-height:1.2}.body-energy-numbers span{margin-left:6px;color:var(--muted);font-size:13px}.body-energy-numbers p{font-size:12px}.body-energy-note{margin-top:14px!important;font-size:11px!important}.body-energy-card.editing{display:grid;gap:16px}.body-energy-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.body-energy-fields label,.body-energy-fields fieldset{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;border:0;font-size:13px;font-weight:700}.body-energy-fields legend{margin-bottom:6px;font-size:13px;font-weight:700}.body-energy-fields input:not([type=radio]){min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;font-size:16px}.body-sex{flex-direction:row!important;flex-wrap:wrap}.body-sex label{flex-direction:row!important;align-items:center;gap:6px!important;min-height:44px;margin-right:14px;font-weight:600!important}.body-activity{display:grid;gap:8px;margin:0;padding:0;border:0}.body-activity legend{margin-bottom:8px;font-size:13px;font-weight:700}.body-activity label{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;cursor:pointer}.body-activity label span{display:flex;flex-direction:column}.body-activity small{color:var(--muted);font-size:12px}.body-energy-actions{display:flex;justify-content:flex-end;gap:10px}.body-energy-delete{justify-self:start;display:flex;align-items:center;gap:6px;border:0;color:var(--red, #b3261e);background:transparent;cursor:pointer;font-size:13px}@media(max-width:700px){.body-energy-card.prompt{grid-template-columns:auto minmax(0,1fr)}.body-energy-card.prompt .primary-button{grid-column:1 / -1}.body-energy-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.body-energy-numbers strong{font-size:26px}}.nutrition-offer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin-top:18px;padding:16px 18px;border:1px solid #d7c9a4;border-radius:10px;background:linear-gradient(180deg,#fffdf6,#fff7e6)}.nutrition-offer:hover{border-color:#c9b478}.nutrition-offer-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;color:#8a6510;background:#fdeec9}.nutrition-offer-copy{display:flex;flex-direction:column;gap:3px}.nutrition-offer-copy strong{color:var(--ink);font-size:16px}.nutrition-offer-copy small{color:var(--muted);font-size:13px}.nutrition-offer-action{display:flex;align-items:center;gap:8px;color:var(--green-dark);font-weight:800}.nutrition-offer-action em{font-style:normal;font-size:16px}
