html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;line-height:1.5}img{max-width:100%;display:block}button{touch-action:manipulation}input[type=number]{font-variant-numeric:tabular-nums}input[type=search]::-webkit-search-cancel-button{cursor:pointer}table{border-collapse:collapse;width:100%}:root{color:#28314c;font-synthesis:none;--primary:#5262c7;--ink:#28314c;--muted:#626d86;--line:#e4e8f2;--surface:#fff;--mint:#e3f2ed;--error:#a5334c;--radius:14px;background:#f4f6fc;font-family:PingFang SC,Microsoft YaHei,system-ui,sans-serif}body{min-width:320px;margin:0}*{box-sizing:border-box}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed}svg{flex-shrink:0}h1,h2,h3,p{margin:0}h1{letter-spacing:-.025em;font-size:30px;line-height:1.35}h2{font-size:21px;line-height:1.4}h3{font-size:17px;line-height:1.4}p{line-height:1.65}small{font-size:12px}.muted{color:var(--muted)}.num{font-variant-numeric:tabular-nums}::selection{color:#28314c;background:#d8ddff}input,textarea{caret-color:var(--primary)}:focus-visible{outline-offset:3px;outline:3px solid #929de7}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#c4cbe0;border-radius:8px}.brand{letter-spacing:.01em;white-space:nowrap;align-items:center;gap:11px;font-size:19px;font-weight:700;display:flex}.brand-symbol{background:var(--primary);color:#fff;border-radius:13px;place-items:center;width:42px;height:42px;display:grid}.brand small{color:var(--muted);margin-top:3px;font-size:11px;font-weight:400;display:block}.button{white-space:nowrap;border:0;border-radius:11px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:11px 18px;font-size:14px;font-weight:600;transition:background .18s,color .18s;display:inline-flex}.button.primary{background:var(--primary);color:#fff}.button.primary:hover{background:#4352b2}.button.secondary{color:#3e4b9c;background:#e9edf9}.button.secondary:hover{background:#dee4f6}.button.quiet{color:var(--muted);background:0 0}.button.quiet:hover{color:var(--ink);background:#eef1f8}.button.danger{color:var(--error);background:#fbe8ed}.button:disabled{opacity:.48}.button.full{width:100%}.icon-button{min-width:44px;min-height:44px;color:var(--muted);background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.icon-button:hover{color:var(--primary);background:#e9edf9}.app-layout{min-height:100dvh;display:flex}.sidebar{border-right:1px solid var(--line);z-index:10;background:#fff;flex-direction:column;gap:45px;width:220px;padding:35px 24px 25px;display:flex;position:fixed;inset:0 auto 0 0}.sidebar nav{flex-direction:column;gap:8px;display:flex}.nav-link{color:var(--muted);border-radius:11px;align-items:center;gap:12px;min-height:46px;padding:13px 15px;font-size:14px;display:flex}.nav-link:hover{background:#f5f6fc}.nav-link.active{color:#4352b2;background:#edf0fc;font-weight:600}.sidebar-bottom{color:var(--muted);margin-top:auto;font-size:12px;line-height:1.6}.main{width:calc(100% - 220px);max-width:1500px;margin-left:220px;padding:42px 42px 70px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;display:flex}.page-heading p{color:var(--muted);margin-top:9px;font-size:14px}.heading-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.back{color:var(--muted);align-items:center;gap:6px;min-height:28px;margin-bottom:15px;font-size:13px;display:inline-flex}.back:hover{color:var(--primary)}.notice{color:#43527a;background:#e8edf9;border-radius:10px;align-items:flex-start;gap:10px;margin-bottom:20px;padding:13px 16px;font-size:13px;line-height:1.6;display:flex}.notice.error{color:#97304a;background:#faeaf0}.notice.offline{color:#765f25;background:#faf0d4}.notice svg{margin-top:2px}.notice.preview{color:#43527a;background:#edf1ff}.panel{border-radius:var(--radius);background:#fff;padding:26px}.panel+.panel{margin-top:24px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}.field{flex-direction:column;gap:8px;min-width:0;font-size:13px;display:flex}.field>span{font-weight:600}.field small{color:var(--muted);line-height:1.5}.field input,.field select,.field textarea,.search-input{width:100%;min-height:45px;color:var(--ink);background:#fff;border:1px solid #d7deeb;border-radius:9px;padding:11px 13px;font-size:14px}.field input::placeholder,.field textarea::placeholder,.search-input::placeholder{color:#626d85}.field input:focus,.field select:focus,.field textarea:focus{outline-offset:0;border-color:#7c89d3;outline:2px solid #e6eafb}.field textarea{resize:vertical;min-height:110px}.field.full{grid-column:1/-1}.field-required{color:#a5334c;margin-left:5px;font-weight:400}.form-actions{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:12px;margin-top:28px;padding-top:22px;display:flex}.check-label{align-items:center;gap:10px;min-height:44px;font-size:14px;display:flex}.check-label input{width:18px;height:18px;accent-color:var(--primary)}.badge{color:#596480;background:#eef0f8;border-radius:6px;align-items:center;gap:5px;padding:5px 9px;font-size:11px;font-weight:500;display:inline-flex}.badge.good{color:#2a7255;background:#e4f4ec}.badge.warn{color:#796326;background:#fcf0d9}.badge.error{color:#97304a;background:#faeaf0}.loading{color:var(--muted);justify-content:center;align-items:center;gap:12px;padding:70px;font-size:14px;display:flex}.spin{animation:1s linear infinite rotate}@keyframes rotate{to{transform:rotate(360deg)}}.empty{text-align:center;padding:78px 20px 90px}.empty h2{margin:23px 0 10px}.empty p{color:var(--muted);max-width:390px;margin:0 auto 22px;font-size:14px}.empty-spines{border-bottom:2px solid #abb7d3;justify-content:center;align-items:flex-end;gap:6px;width:130px;height:91px;margin:auto;padding:0 8px 5px;display:flex}.empty-spines i{background:#cbd4f7;border-radius:4px 4px 0 0;width:22px;height:73px;display:block}.empty-spines i:nth-child(2){background:#bce0d4;height:84px}.empty-spines i:nth-child(3){background:#f4d5a9;height:60px}.empty-spines i:nth-child(4){transform-origin:bottom;background:#e6cbea;height:76px;transform:rotate(-9deg)}.toast{color:#fff;z-index:80;background:#28314c;border-radius:11px;align-items:center;gap:10px;max-width:calc(100% - 32px);padding:14px 23px;font-size:14px;display:flex;position:fixed;bottom:30px;left:50%;transform:translate(-50%);box-shadow:0 5px 20px #28314c24}.login-page{background:#fff;grid-template-columns:1fr 1fr;min-height:100dvh;display:grid}.login-story{background:#e9edfb;flex-direction:column;justify-content:space-between;min-height:100dvh;padding:56px 65px;display:flex}.login-story h1{letter-spacing:-.025em;max-width:500px;font-size:clamp(30px,3.4vw,47px);line-height:1.5}.login-story p{color:#586588;max-width:360px;margin-top:23px;font-size:15px}.login-story .story-bottom{color:#586588;align-items:center;gap:12px;font-size:13px;display:flex}.login-form-wrap{justify-content:center;align-items:center;padding:48px 28px;display:flex}.login-form{width:100%;max-width:355px}.login-form h2{margin-bottom:11px;font-size:26px}.login-form>p{color:var(--muted);margin-bottom:34px;font-size:14px}.login-form .field{margin-bottom:22px}.otp-row{gap:10px;display:flex}.otp-row .button{flex-shrink:0;padding:11px 13px}.login-caption{text-align:center;margin-top:20px;line-height:1.8;font-size:12px!important}.login-mobile-brand{display:none}@media (width<=1100px){.main{padding:32px 28px 60px}.sidebar{width:196px;padding:30px 18px}.main{width:calc(100% - 196px);margin-left:196px}.page-heading{align-items:flex-start}.login-story{padding:40px}}@media (width<=720px){h1{font-size:25px}.app-layout{display:block}.sidebar{width:100%;height:auto;padding:8px 14px calc(8px + env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--line);flex-direction:row;gap:0;position:fixed;inset:auto 0 0}.sidebar>.brand,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;justify-content:space-around;gap:5px;width:100%}.nav-link{flex-direction:column;flex:1;gap:4px;max-width:125px;padding:7px 14px;font-size:11px}.nav-link.active{background:0 0}.main{width:100%;margin-left:0;padding:24px 18px 110px}.page-heading{flex-direction:column;gap:19px;margin-bottom:23px}.heading-actions{width:100%}.heading-actions .button{flex:1;padding:11px 13px;font-size:13px}.panel{padding:20px}.form-grid{gap:19px 15px}.form-actions{flex-wrap:wrap}.form-actions .button{flex:1}.notice{padding:12px;font-size:12px}.login-page{display:block}.login-story{display:none}.login-form-wrap{align-items:flex-start;min-height:100dvh;padding:42px 26px}.login-mobile-brand{margin-bottom:55px;display:block}.login-form h2{font-size:27px}.login-caption{margin-bottom:0}.toast{white-space:normal;bottom:100px}.empty{padding:52px 10px 65px}.loading{padding:50px 10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}}.mobile-top{display:none}.account-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:6px;margin-top:14px;padding:12px 6px 0;display:flex}.sidebar-note{margin:12px 6px;font-size:11px}.login-book-mark{color:#5262c7;margin-bottom:25px}.shelf-summary{color:var(--muted);align-items:center;gap:20px;margin-bottom:29px;font-size:13px;display:flex}.shelf-summary>div{align-items:baseline;gap:9px;display:flex}.summary-number{color:var(--ink);font-size:22px;font-weight:600}.summary-dot{background:#a9b2c9;border-radius:50%;width:3px;height:3px}.unpriced-hint{margin-left:auto;font-size:12px}.shelf-toolbar{justify-content:space-between;align-items:center;gap:15px;margin-bottom:27px;display:flex}.search-box{flex:1;max-width:425px;position:relative}.search-box>svg{color:#737c94;position:absolute;top:13px;left:13px}.search-input{background:#fff;border-color:#0000;padding-left:41px}.toolbar-actions{align-items:center;gap:4px;display:flex}.book-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:28px 23px;display:grid}.book-tile{outline-offset:5px;border-radius:10px;min-width:0;display:block}.book-cover{aspect-ratio:3/4;border-radius:8px;place-items:center;height:auto;transition:box-shadow .2s;display:grid;overflow:hidden;box-shadow:0 5px 10px #364e6810}.book-tile:hover .book-cover{box-shadow:0 8px 18px #364e6824}.book-cover img{object-fit:contain;width:100%;height:100%}.shade-0{color:#4f60a6;background:#e6ecff}.shade-1{color:#397561;background:#e4f2eb}.shade-2{color:#7d6030;background:#fcf0da}.shade-3{color:#7e5184;background:#f4e8f5}.cover-placeholder{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;width:100%;height:100%;padding:25px 16px;display:flex}.cover-placeholder>span{-webkit-line-clamp:4;-webkit-box-orient:vertical;font-size:18px;font-weight:600;line-height:1.7;display:-webkit-box;overflow:hidden}.cover-placeholder>small{margin-top:5px;font-size:11px}.book-info{padding-top:14px}.book-info h3{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:23px;font-size:14px;font-weight:600;line-height:1.65;display:-webkit-box;overflow:hidden}.book-meta{min-height:27px;color:var(--muted);align-items:center;gap:7px;margin-top:6px;font-size:11px;display:flex}.book-meta .badge{padding:3px 6px;font-size:10px}.book-price{margin-top:4px;font-size:14px;font-weight:500}.book-price small{color:var(--muted);margin-left:5px;font-size:10px;font-weight:400}.book-price .muted{font-size:12px;font-weight:400}.book-list{background:#fff;border-radius:14px;flex-direction:column;gap:0;padding:0 23px;display:flex}.book-list .book-tile{border-bottom:1px solid var(--line);border-radius:0;gap:22px;padding:20px 0;display:flex}.book-list .book-tile:last-child{border-bottom:0}.book-list .book-cover{width:63px;box-shadow:none;border-radius:5px;flex-shrink:0}.book-list .cover-placeholder{gap:0;padding:6px}.book-list .cover-placeholder svg{width:22px}.book-list .cover-placeholder span,.book-list .cover-placeholder small{display:none}.book-list .book-info{flex:1;padding-top:3px}.book-list .book-info h3{font-size:15px}.load-more{justify-content:center;margin-top:30px;display:flex}.book-editor{max-width:850px}.editor-fieldset{border:0;min-width:0;margin:0;padding:0}.cover-editor{border-bottom:1px solid var(--line);align-items:center;gap:25px;margin-bottom:30px;padding-bottom:28px;display:flex}.cover-preview{color:#8b99c3;background:#edf0fb;border-radius:8px;flex-shrink:0;place-items:center;width:106px;height:140px;display:grid;overflow:hidden}.cover-preview img{object-fit:contain;width:100%;height:100%}.cover-editor p{color:var(--muted);margin:8px 0 12px;font-size:13px}.cover-editor small{color:var(--muted);margin-top:11px;font-size:11px;display:block}.upload-panel{max-width:1000px}.upload-zone{width:100%;color:var(--ink);background:#f8faff;border:1px dashed #abb7d9;border-radius:12px;flex-direction:column;align-items:center;gap:13px;padding:40px 20px;transition:background .15s;display:flex}.upload-zone:hover{background:#f0f3fe}.upload-symbol{width:64px;height:64px;color:var(--primary);background:#e9edfc;border-radius:16px;place-items:center;margin-bottom:2px;display:grid}.upload-zone strong{font-size:18px;font-weight:600}.upload-zone>span:not(.upload-symbol){color:var(--muted);font-size:13px}.upload-zone small{color:var(--muted);font-size:11px;line-height:1.6}.upload-guidance{color:var(--muted);flex-direction:column;gap:9px;margin-top:26px;font-size:13px;display:flex}.upload-guidance p{align-items:flex-start;gap:9px;display:flex}.upload-guidance svg{color:#3e876d;margin-top:3px}.upload-list-heading{justify-content:space-between;align-items:center;margin:30px 0 15px;display:flex}.upload-list-heading>span{color:var(--muted);font-size:12px}.upload-previews{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:17px;margin-bottom:13px;display:grid}.upload-preview{background:#f5f7fc;border-radius:10px;min-width:0;overflow:hidden}.upload-preview>a{height:160px;padding:9px;display:block}.upload-preview img{object-fit:contain;width:100%;height:100%}.preview-caption{color:var(--muted);justify-content:space-between;align-items:center;padding:0 9px;font-size:12px;display:flex}.preview-order{border-top:1px solid var(--line);justify-content:center;gap:8px;display:flex}.upload-progress{margin-right:auto;font-size:12px}.job-list{background:#fff;border-radius:14px;padding:0 23px}.job-row{border-bottom:1px solid var(--line);align-items:center;gap:18px;padding:23px 0;display:flex}.job-row:last-child{border-bottom:0}.job-icon{color:#6875b5;background:#eef1fc;border-radius:10px;place-items:center;width:48px;height:54px;display:grid}.job-description{flex:1}.job-description h3{font-size:15px}.job-description p{color:var(--muted);margin-top:7px;font-size:12px}.job-row>svg{color:var(--muted)}.processing-panel{text-align:center}.processing-panel .loading{padding:48px 10px 25px}.processing-panel p{color:var(--muted);margin-bottom:26px;font-size:13px}.review-sources{background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:20px;padding:18px 22px;display:flex}.review-sources>span{color:var(--muted);align-items:center;gap:9px;font-size:13px;display:flex}.review-sources>div{gap:10px;display:flex;overflow-x:auto}.review-sources a{text-align:center;min-width:56px;color:var(--muted);font-size:10px}.review-sources img{object-fit:contain;background:#f3f5fa;border-radius:4px;width:52px;height:65px}.review-sources small{margin-top:5px;font-size:10px;display:block}.review-expiry{color:var(--muted);margin:14px 0 28px;font-size:12px}.review-order{margin:30px 0}.order-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:19px;display:flex}.order-heading h2{font-size:19px}.order-heading>span{color:var(--muted);font-size:12px}.order-heading strong{color:var(--ink);margin-left:5px;font-size:15px}.review-item{margin-bottom:20px}.review-item-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;padding-bottom:15px;display:flex}.review-item-heading>span{color:var(--muted);font-size:11px}.review-item-heading .check-label{font-size:14px;font-weight:600}.review-item.excluded .form-grid{opacity:.45}.review-warning{font-size:12px}.review-save{z-index:5;background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:18px 23px;display:flex;position:sticky;bottom:16px;box-shadow:0 4px 24px #28314c14}.review-save>span{color:var(--muted);font-size:13px}.review-save strong{color:var(--primary)}.review-save>div{gap:10px;display:flex}.statistics-summary{border-bottom:1px solid var(--line);grid-template-columns:1.5fr 1fr 1fr;gap:20px;margin:8px 0 32px;padding:10px 0 30px;display:grid}.statistics-summary>div{flex-direction:column;gap:14px;display:flex}.statistics-summary span{color:var(--muted);font-size:13px}.statistics-summary strong{letter-spacing:-.03em;font-size:31px;font-weight:600}.statistics-summary strong small{color:var(--muted);font-size:13px;font-weight:400}.statistics-summary small{color:var(--muted);font-size:11px;line-height:1.6}.monthly-panel h2{font-size:19px}.monthly-panel>p{color:var(--muted);margin:9px 0 28px;font-size:12px}.month-bars{flex-direction:column;gap:23px;display:flex}.month-row{color:var(--muted);grid-template-columns:118px 1fr 100px;align-items:center;gap:20px;font-size:13px;display:grid}.month-row strong{color:var(--ink);text-align:right;font-weight:500}.month-track{background:#f0f2fa;border-radius:4px;height:12px;overflow:hidden}.month-track i{background:#8594dc;border-radius:4px;height:100%;display:block}.monthly-panel .stats-footnote{margin:30px 0 0;font-size:11px}.stats-empty{text-align:center;color:var(--muted);padding:35px 15px;font-size:13px}@media (width<=720px){.mobile-top{justify-content:space-between;align-items:center;margin-bottom:28px;display:flex}.mobile-top .brand{font-size:17px}.mobile-top .brand-symbol{border-radius:10px;width:35px;height:35px}.shelf-summary{flex-wrap:wrap;gap:12px;margin-bottom:24px}.shelf-summary>div{gap:6px}.summary-number{font-size:18px}.shelf-summary>div>span:last-child{font-size:11px}.unpriced-hint{width:100%;margin-left:0;font-size:11px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 17px}.cover-placeholder{gap:13px;padding:20px 14px}.cover-placeholder>span{font-size:16px}.shelf-toolbar{gap:10px;margin-bottom:22px}.toolbar-actions{gap:0}.toolbar-actions .icon-button{min-width:35px}.book-info h3{font-size:13px}.book-meta{gap:5px;font-size:10px}.book-price{font-size:13px}.book-editor .form-grid{grid-template-columns:1fr 1fr}.book-editor .form-grid .field.full{grid-column:1/-1}.cover-editor{gap:20px}.cover-preview{width:85px;height:115px}.cover-editor h3{font-size:15px}.cover-editor p{font-size:12px}.cover-editor .button{padding:10px 12px;font-size:12px}.cover-editor small{font-size:10px}.upload-zone{padding:30px 14px}.upload-zone small{font-size:10px}.upload-zone>span:not(.upload-symbol),.upload-guidance{font-size:12px}.upload-previews{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.upload-progress{width:100%;margin-right:0}.job-list{padding:0 16px}.job-row{gap:12px;padding:20px 0}.job-description h3{font-size:14px}.job-description p{font-size:10px}.job-row>svg{display:none}.job-icon{width:38px;height:45px}.review-sources{flex-direction:column;align-items:flex-start;padding:17px}.review-sources>div{width:100%}.order-heading{flex-direction:column;align-items:flex-start;gap:8px}.review-item-heading{gap:8px}.review-item-heading .check-label{font-size:12px}.review-item-heading>span{font-size:10px}.review-save{flex-wrap:wrap;padding:14px 15px;bottom:82px}.review-save>div{width:100%}.review-save>div>.button:last-child{flex:1}.review-save .button{padding:11px 12px;font-size:12px}.statistics-summary{grid-template-columns:1fr 1fr;gap:27px 20px;padding-bottom:26px}.statistics-summary>div:first-child{grid-column:1/-1}.statistics-summary strong{font-size:28px}.statistics-summary>div{gap:9px}.statistics-summary>div:first-child strong{font-size:36px}.month-row{grid-template-columns:88px 1fr 82px;gap:10px;font-size:11px}.month-track{height:10px}.book-list{padding:0 17px}.book-list .book-tile{gap:16px}.book-list .book-info h3{font-size:14px}}
