@font-face{font-family:Golos Text Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/golos-text-cyrillic-ext-wght-normal-hICkpzq7.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Golos Text Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/golos-text-cyrillic-wght-normal-mKek_fSS.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Golos Text Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/golos-text-latin-ext-wght-normal-B-I5lbAQ.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Golos Text Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/golos-text-latin-wght-normal-BS5oQT7X.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Unbounded Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(data:font/woff2;base64,d09GMgABAAAAAAcwABUAAAAADVQAAAbBAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGkQbgR4cLj9IVkFSYD9NVkFSRgZgP1NUQVSBECcqAFwvZBEICoMkgnELFAAwhH4BNgIkAyIEIAWGEAdnDAcboAsonoWxMy2MW9VSU/H2d24ggnj6P7/qdF8kHtj4XCsDah+E/KT39YIFcHcr5mdFZwLNDw9CeW4KlnBLVwQRet6nWJGSNRWvjZZM5AF9/V+YzdmiNbWZhBUUSOGWSLhW2RoXvEtYlxCEfCMrFAA6BuFam7oKRUZVCFWhRR/qJMlMiCgVZ/4ca0sETSHYgDJIJKezg6AEeH4/UIDkWQgqQABAB41AABe1VKK6dOsdhehnpalC9DfR1iEaDRCEADJ7qqmDPyCAYODEgeBAUIADRQ2tgB4qkWgAgOBp5BnH2tUEgA3ErCKtimIziMYx+tZRkDo+B2CcYroAUAMQQMOC/DExNOyf1AIEqIEEKgEKoAEFyK2JYdUjqxX9gAAwZpyto8zKVlMAICtmCHZvvscvU9uhetlltjPXxFCpcgAT1C41AqC3NxEZR3GGgPFsQPEn9Dv9AAEV1gUdEnSDES/lADn+6DGoZioeqIBCEBwIUIQ/UAa5fLpoEwZQQLIclVoNmiUiAMTkNhAAsaQOgAYUSg6A+hsQAHFIasTfqUaMdhH93bqCn0dv0Y1Mxwz/rMEkngeFGyecLPOg2jTgjVHHlnFn1ePPoBCvIU0PgI97z1hU0OQ8V6Iq/BwEUU8EQ4OB4FQdyadBEOByAhRAIhThj4OXDnAXcgDG2hAxxIQMtyzUgY0DcCA1wwnPy+biZg5xg64AiKelqxEkCD8ATgAKAdzAdMBJoAx4e5naGUU9jSAGahwNjTq+8W7DtfwYMsuPz6g1XPyMe4OHcM9wzZ544OVL2fjTo1fDhz95JRtfunY9r+B6JRd3737xgg3f338+ZMjD5wE2vLjmvqrsfi7KpklBNhwDNs4hLtfZB1nVo/LtXbteDo7bGL+x9LnOu7gSi0s45CJc/mquZ+53Had/3dvtr8Ybttd9ifzjnXq4Zb+pTblf584tP9A9sdAIX89W9cqWOy8urXS6243Og4UTLSdNOtqi74T6Wi+zp5Xr6RpTqLOrX2Wp2FTquoyMtjObjK4jpZMt84p3bd218fcnDp+IoMbXTl0+vgP56caMH6fVqeP+OKNQ34WDI8PmIJDVIAAbW7oRW9vBIzQAYINeo695N38DAQQF1BAAQB1AaXV6TEEMP0RLzQ5ctUHhwY/gB6cDpZRWWNvhvV7xtTdCTx62RTr+t9EROf52+4hqwKoHM4/P3FgXpe6yLMD76VNExDcBX1jIH3Yp7lSX+fKlzCapUmWPbtYsN7eRA47ZYTVbbEp/xcTqp40a3d8kgcC2lmDn2kCI59VnWx1NAZbGgyDNV1vAFJu5FO3miyhkCFmswIrSVn+m4cGofr9T0gtXmTw09dO1a16PkZUSH/IBkrx9G5qSFfLgxvTvUt01arz+FBpnGCEhx00R2RZKkZ2alp0fzE1LDbpKNhShcYSQv0hQG1qZDr/fmZca/ghYVGJxlLKSkix/drZ/c6tCgVkxImp4WHxugc/XJo8s3HRlyqfYLHfRckwVJGlsXycqqOGwidPXFPr25z/Nmxau/p9Rr57aFGS1RW4u7iIFAw1tFS5Mxb/8VkR5k5cXVEauSXY2pXVWSkRkklGk1rBYI0tr8nLTSpb8G+5yhXMADzyTaevXgL1Zp6VZlh0QM3fsx6LChf9nUFEe5Rfxel+//BCekJby74034cm1Sj0pKdGfMTg6JQXHolu80R26VNVeFRGjTGrML/a3KLdYsfRSwdIdF/wS97oFBJCflu4t3XhyfFibNIfWkQCf9r4tAJ9v5YH5D/L/t64YRwELBYDAz9xlvaUoc/8UQJDdHboro2Mz9jFInPDh9H5qASpKQgBOzmMzgG87VkOtVdB9GjGcwLdyIEJCoawjhU8WkKZZWpFBpZQgk2Guk0Ul58N9NCPHEwMP48ikiG6ycNGBbHyygBx4aEJOCsggFw7KkJtCAo/uwQV0olqyQtFmHZtpSTNMxXktRyAaKYo+cK9zaHpJBCK7ld6ZnAkoolP/ZzYvSzUPD8sKk8TLZmFYJCoGZhJ4DGjXa4xuGebQcRBOoWGIwKFaYhqHmCwSTJeiCKMCq0gNAc+GYSrLDBajCqNYJQYHcZXJJ0A4xapUqMKZ6z2NlL69lfVr0u8Nccx9YwPV6tkC81rPZI+nqPdmFSuWYpQISRkjH5QNMRmyUjejicO9FXMknCLnOWQIJNp0jmWMFZiWYyRwhQrhmdU9JWEPp+eCXCSYbnA0cgpOoIp7UWjRYogpltVxkolc5Ld0nsQ2aGrgvbG4QXMT38TJjo3+3UW3hhd38NKijMZseaj+FQn2vbEXAA==)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Unbounded Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/unbounded-cyrillic-wght-normal-C627f1f8.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Unbounded Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/unbounded-vietnamese-wght-normal-rat7GD3o.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Unbounded Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/unbounded-latin-ext-wght-normal-D6H-S6MW.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Unbounded Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/unbounded-latin-wght-normal-D5afBTBx.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--font-ui:"Golos Text Variable", system-ui, -apple-system, "Segoe UI", sans-serif;--font-display:"Unbounded Variable", "Golos Text Variable", system-ui, sans-serif;--font-reading:"Golos Text Variable", system-ui, sans-serif;--bg:#f4f5f9;--surface:#fff;--surface-sunken:#eef0f6;--surface-raised:#fff;--line:#dde1ec;--line-strong:#c8cede;--text:#1c2440;--muted:#5c6480;--faint:#8a91a8;--accent:#2f4a8a;--accent-strong:#233a70;--accent-text:#fff;--accent-soft:#e7ebf5;--gold:#c9962e;--gold-strong:#a87a1c;--gold-text:#fff;--gold-soft:#f7eedb;--ok:#1f7a5a;--ok-soft:#ddf1e8;--warn:#9a6a12;--warn-soft:#f8edd4;--error:#b3372c;--error-soft:#fbe6e4;--idle:#6b7280;--idle-soft:#eceef2;--highlight:#f7e3b0;--tooltip:#1c2440;--tooltip-text:#f4f5f9;--scrim:#0f142873;--radius:10px;--radius-small:8px;--radius-large:14px;--radius-card:16px;--radius-sheet:22px;--shadow-raised:0 1px 2px #141c3c0f, 0 4px 14px #141c3c0f;--shadow-overlay:0 12px 40px #141c3c2e, 0 2px 8px #141c3c14;--ease-out:cubic-bezier(.2, .8, .2, 1);--duration-fast:.14s;--duration:.22s;--sidebar-width:248px;--tab-bar-height:64px;--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px)}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#11141d;--surface:#191e2b;--surface-sunken:#0f121a;--surface-raised:#1f2534;--line:#2a3144;--line-strong:#3a4258;--text:#e8ebf4;--muted:#a0a8c0;--faint:#727a92;--accent:#8ea8ef;--accent-strong:#b3c5f6;--accent-text:#0f1424;--accent-soft:#222c47;--gold:#e0b457;--gold-strong:#f0c873;--gold-text:#1a1406;--gold-soft:#3a2e14;--ok:#5cc99a;--ok-soft:#143326;--warn:#e7b04a;--warn-soft:#3a2c10;--error:#ff8a7e;--error-soft:#3d1c1a;--idle:#a0a8c0;--idle-soft:#252b3a;--highlight:#5a4614;--tooltip:#e8ebf4;--tooltip-text:#11141d;--scrim:#0009;--shadow-raised:0 1px 2px #0006;--shadow-overlay:0 16px 44px #0000008c}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%}body{font:400 .9375rem/1.5 var(--font-ui);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;margin:0}h1,h2,h3{margin:0;font-weight:600;line-height:1.25}h1{font-size:1.375rem}h3{font-size:.9375rem}p{margin:0}a{color:var(--accent);text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button{border:1px solid var(--line-strong);border-radius:var(--radius);white-space:nowrap;background:var(--surface);cursor:pointer;min-height:34px;transition:background var(--duration-fast), border-color var(--duration-fast);justify-content:center;align-items:center;gap:6px;padding:0 14px;font-weight:500;display:inline-flex}button:hover:not(:disabled){border-color:var(--accent)}button:disabled{opacity:.55;cursor:default}button.primary{border-color:var(--accent);color:var(--accent-text);background:var(--accent)}button.danger{border-color:var(--error);color:var(--error)}button svg.lucide{width:16px;height:16px}input,select,textarea{border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);min-height:34px;padding:6px 10px}input:focus,select:focus,textarea:focus,button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}textarea{resize:vertical}label{color:var(--muted);gap:4px;font-size:.8125rem;display:grid}.error{color:var(--error)}.muted{color:var(--muted)}@media (width<=640px){input,select,textarea{font-size:16px}}.icon-button{min-width:32px;min-height:32px;color:var(--muted);background:0 0;border-color:#0000;padding:0;position:relative}.icon-button:hover:not(:disabled){border-color:var(--line);color:var(--text);background:var(--surface-sunken)}.icon-button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}.icon-button.compact{min-width:26px;min-height:26px}[data-tooltip]:after{content:attr(data-tooltip);z-index:60;font:500 .75rem/1.35 var(--font-ui);white-space:nowrap;color:var(--tooltip-text);background:var(--tooltip);opacity:0;pointer-events:none;transition:opacity var(--duration-fast), transform var(--duration-fast) var(--ease-out);border-radius:6px;padding:4px 8px;position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%,-3px)}[data-tooltip]:hover:after,[data-tooltip]:focus-visible:after{opacity:1;transition-delay:.38s;transform:translate(-50%)}[data-tooltip-side=end]:after{left:auto;right:0;transform:translateY(-3px)}[data-tooltip-side=end]:hover:after,[data-tooltip-side=end]:focus-visible:after{transform:translate(0)}.context-menu{z-index:1000;border:1px solid var(--line);background:var(--surface);min-width:220px;max-width:min(420px,100vw - 16px);box-shadow:var(--shadow-overlay);border-radius:10px;margin:0;padding:5px;font-size:.875rem;list-style:none;position:fixed}.context-menu li.separated{border-top:1px solid var(--line);margin-top:4px;padding-top:4px}.context-menu button{background:0 0;border:none;justify-content:flex-start;gap:10px;width:100%;min-height:30px;padding:0 10px;font-weight:400}.context-menu button:hover:not(:disabled),.context-menu button:focus-visible{color:var(--accent);background:var(--accent-soft);outline:none}.context-menu button.danger{color:var(--error)}.context-menu button.danger:hover:not(:disabled){color:var(--error);background:var(--error-soft)}.context-menu .menu-icon{width:16px;color:var(--muted);display:inline-flex}.context-menu .menu-label{text-align:start;flex:1}.context-menu kbd{font:inherit;color:var(--muted);font-size:.75rem}.modal{border:1px solid var(--line);border-radius:var(--radius-large);width:min(520px,100vw - 32px);max-width:none;max-height:calc(100vh - 48px);color:var(--text);background:var(--surface);box-shadow:var(--shadow-overlay);padding:0;overflow:hidden}.modal::backdrop{background:#0a0e1473}.modal-frame{grid-template-rows:auto 1fr;max-height:calc(100vh - 48px);display:grid;position:relative}.modal-header{align-items:center;gap:10px;padding:18px 56px 10px 20px;display:flex}.modal-icon{color:var(--accent);display:inline-flex}.modal-close{position:absolute;top:12px;right:12px}.modal-body{gap:14px;padding:6px 20px 20px;display:grid;overflow:auto}.dialog-actions{justify-content:flex-end;gap:8px;display:flex}.confirm-message{gap:8px;display:grid}.badge{color:var(--muted);background:var(--surface-sunken);border-radius:999px;align-items:center;gap:4px;padding:1px 8px;font-size:.75rem;font-weight:500;display:inline-flex}.badge.ok{color:var(--ok);background:var(--ok-soft)}.badge.warn{color:var(--warn);background:var(--warn-soft)}.badge.error{color:var(--error);background:var(--error-soft)}.badge.accent{color:var(--accent);background:var(--accent-soft)}.progress{background:var(--surface-sunken);border-radius:999px;height:6px;overflow:hidden}.progress>span{border-radius:inherit;background:var(--accent);height:100%;transition:width .4s var(--ease-out);display:block}.page-message{justify-items:start;gap:12px;padding:32px;display:grid}.admin-shell{grid-template-rows:auto 1fr;height:100%;display:grid}.admin-bar{border-bottom:1px solid var(--line);background:var(--surface);align-items:center;gap:24px;padding:8px 20px;display:flex}.admin-bar .brand{font-weight:600}.admin-bar nav{gap:4px;display:flex}.admin-bar nav a{border-radius:var(--radius);color:var(--muted);padding:6px 12px}.admin-bar nav a.active{color:var(--accent);background:var(--accent-soft)}.admin-bar .account{align-items:center;gap:6px;margin-left:auto;display:flex}.page{align-content:start;gap:16px;padding:20px;display:grid;overflow:auto}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.data-table{border-collapse:collapse;border:1px solid var(--line);border-radius:var(--radius-large);background:var(--surface);width:100%;overflow:hidden}.data-table th,.data-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:9px 12px}.data-table th{color:var(--muted);background:var(--surface-sunken);font-size:.8125rem;font-weight:500}.data-table .number{text-align:right;font-variant-numeric:tabular-nums}.data-table tbody tr{cursor:default}.data-table tbody tr:hover{background:var(--surface-sunken)}.data-table tbody tr.selected{background:var(--accent-soft)}.book-title{font-weight:500;display:block}.book-author{font-size:.8125rem;display:block}.book-upload{border:1px dashed var(--line-strong);border-radius:var(--radius-large);flex-wrap:wrap;align-items:center;gap:10px;padding:8px 12px;display:flex}.book-upload.dragging{border-color:var(--accent);background:var(--accent-soft)}.book-upload .error{flex-basis:100%}.inline-edit{width:100%}.inline-form{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.inline-form label{min-width:280px}.inline-form .error{flex-basis:100%}.form-grid{gap:12px;display:grid}.auth-page{place-items:center;min-height:100%;padding:16px;display:grid}.auth-card{border:1px solid var(--line);border-radius:var(--radius-large);background:var(--surface);width:min(380px,100%);box-shadow:var(--shadow-raised);gap:16px;padding:28px;display:grid}label.checkbox{color:var(--text);align-items:center;gap:8px;display:flex}label.checkbox input{min-height:auto}.tabs{gap:4px;display:flex}.tabs button{background:var(--surface-sunken);border-color:#0000;flex:1}.tabs button[aria-selected=true]{color:var(--accent);background:var(--accent-soft)}.book-page{grid-template-rows:auto 1fr;min-height:0;display:grid}.book-header{border-bottom:1px solid var(--line);background:var(--surface);align-items:center;gap:20px;padding:12px 20px;display:flex}.book-heading{flex:1;gap:2px;display:grid}.header-actions{gap:4px;display:flex}.book-workspace{grid-template-columns:260px minmax(0,1fr) 360px;min-height:0;display:grid}.book-workspace>*{min-height:0;overflow:auto}@media (width<=1280px){.book-workspace{grid-template-columns:190px minmax(0,1fr) 280px}.review{padding:0 14px 40px}.review-columns,.review-row{gap:16px}}.chapter-list{border-right:1px solid var(--line);padding:16px 12px}.chapter-list h2,.editions-panel h2{margin:0 0 10px 6px}.chapter-list ol{gap:2px;margin:0;padding:0;list-style:none;display:grid}.chapter-list button{text-align:left;white-space:normal;background:0 0;border-color:#0000;justify-content:flex-start;gap:10px;width:100%;padding:6px 8px;font-weight:400}.chapter-list button[aria-current=true]{color:var(--accent);background:var(--accent-soft)}.chapter-number{min-width:24px;color:var(--muted);font-variant-numeric:tabular-nums}.chapter-title{flex:1}.chapter-size{font-size:.75rem}.review{padding:0 24px 40px}.generation-activity{border:1px solid var(--line);border-radius:6px;margin:14px 0;padding:12px}.generation-activity h3{margin:0 0 8px;font-size:.875rem}.generation-activity p{overflow-wrap:anywhere;margin:6px 0}.generation-activity details{margin-top:10px}.generation-activity summary{cursor:pointer;font-size:.8125rem}.generation-activity pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:16rem;margin:8px 0 0;font-family:inherit;font-size:.8125rem;line-height:1.5;overflow:auto}.review-columns,.review-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;display:grid}.review.single .review-columns,.review.single .review-row{grid-template-columns:minmax(0,1fr)}.review-columns{z-index:2;border-bottom:1px solid var(--line);color:var(--muted);background:var(--bg);padding:14px 0 8px;font-size:.8125rem;font-weight:600;position:sticky;top:0}.review-row{padding:6px 0;line-height:1.65}.review-row.heading{padding-top:18px;font-size:1.125rem;font-weight:600}.review-row.scene-break{color:var(--muted);text-align:center;display:block}.review-cell{white-space:pre-wrap}.segment.highlighted{background:var(--accent-soft)}.segment.edited{-webkit-text-decoration:underline dotted var(--warn);text-decoration:underline dotted var(--warn);text-underline-offset:3px}.chunk-divider{border-left:3px solid var(--line-strong);color:var(--muted);flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;padding:2px 0 2px 10px;font-size:.75rem;display:flex}.chunk-divider.done{border-left-color:var(--ok)}.chunk-divider.failed{border-left-color:var(--error)}.chunk-divider.pending{border-left-color:var(--warn)}.chunk-toggle{min-height:0;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:2px 4px 2px 0;display:inline-flex}.chunk-toggle:hover{color:var(--text)}.chunk-calls{border:1px solid var(--line);border-radius:var(--radius-small);background:var(--surface-sunken);margin:8px 0 6px;padding:12px}.chunk-calls-summary{color:var(--muted);margin:0 0 10px}.chunk-calls-body{grid-template-columns:minmax(15rem,20rem) minmax(0,1fr);align-items:start;gap:16px;display:grid}.call-list{gap:4px;margin:0;padding:0;list-style:none;display:grid;position:sticky;top:48px}.call-row{border:1px solid var(--line);border-radius:var(--radius-small);background:var(--surface);width:100%;min-height:0;color:var(--text);font:inherit;text-align:left;white-space:normal;cursor:pointer;justify-content:stretch;gap:2px;padding:6px 8px;font-size:.8125rem;font-weight:400;display:grid}.call-row:hover{border-color:var(--line-strong)}.call-row.selected{border-color:var(--accent);background:var(--accent-soft)}.call-row-head{justify-content:space-between;gap:8px;font-weight:600;display:flex}.call-row-meta,.call-row-outcome{color:var(--muted);font-size:.75rem}.call-status.running{color:var(--warn)}.call-status.done{color:var(--ok)}.call-status.failed,.call-status.interrupted{color:var(--error)}.call-details{gap:12px;min-width:0;display:grid}.call-details p{overflow-wrap:anywhere;margin:0}.call-section h4{margin:0 0 6px;font-size:.8125rem}.call-section h5{color:var(--muted);margin:8px 0 4px;font-size:.75rem}.call-section summary{cursor:pointer;font-size:.8125rem;font-weight:600}.call-text{border:1px solid var(--line);border-radius:var(--radius-small);background:var(--surface);white-space:pre-wrap;overflow-wrap:anywhere;max-height:28rem;margin:0;padding:8px 10px;font-family:inherit;font-size:.8125rem;line-height:1.5;overflow:auto}.call-message+.call-message{margin-top:8px}.call-verdict.accepted{color:var(--ok);font-size:.8125rem}.call-remarks{gap:4px;margin:0;padding-left:18px;font-size:.8125rem;line-height:1.5;display:grid}.revision-changes{gap:10px;margin:0;padding:0;font-size:.8125rem;line-height:1.5;list-style:none;display:grid}.revision-label{color:var(--muted);font-weight:600}.revision-before,.revision-after{border-radius:0 var(--radius-small) var(--radius-small) 0;border-left:3px solid;margin:2px 0 0;padding:4px 8px}.revision-before{border-left-color:var(--error);background:var(--error-soft)}.revision-after{border-left-color:var(--ok);background:var(--ok-soft)}@media (width<=960px){.chunk-calls-body{grid-template-columns:minmax(0,1fr)}.call-list{position:static}}.editions-panel{border-left:1px solid var(--line);background:var(--surface);align-content:start;gap:14px;padding:16px;display:grid}.edition-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.edition-card{border:1px solid var(--line);border-radius:var(--radius-large);cursor:pointer;gap:6px;padding:10px 12px;display:grid}.edition-card:hover{border-color:var(--line-strong)}.edition-card.shown{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.edition-title{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.edition-actions{gap:2px;display:flex}.new-edition{border-top:1px solid var(--line);gap:10px;padding-top:14px;display:grid}.thinking-form{gap:10px;display:grid}body{-webkit-tap-highlight-color:transparent;font-size:15px;line-height:1.5}h1{letter-spacing:-.01em;font-size:1.5rem}h2{font-size:1.0625rem}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.small{font-size:.8125rem}.num{font-variant-numeric:tabular-nums}.ok-text{color:var(--ok)}.warn-text{color:var(--warn)}.danger-text,.btn.danger-text{color:var(--error)}.label-caps{letter-spacing:.06em;text-transform:uppercase;color:var(--accent);font-size:.75rem;font-weight:600}.stack{gap:10px;display:grid}.logo{font-family:var(--font-display);letter-spacing:-.01em;color:var(--text);white-space:nowrap;font-size:1.35rem;font-weight:600}.logo i{color:var(--gold);font-style:normal}.logo.compact{font-size:1.15rem}.ornament{height:18px;color:var(--gold);background:var(--accent-soft);justify-content:center;align-items:center;display:flex;overflow:hidden}.ornament svg{opacity:.8;flex:none;width:28px;height:14px}.btn{border:1px solid var(--line);border-radius:var(--radius);min-height:40px;color:var(--text);white-space:nowrap;background:var(--surface);cursor:pointer;transition:border-color var(--duration-fast), background var(--duration-fast), filter var(--duration-fast), transform var(--duration-fast) var(--ease-out);justify-content:center;align-items:center;gap:7px;padding:8px 15px;font-size:.9375rem;font-weight:500;line-height:1.2;text-decoration:none;display:inline-flex}.btn:hover:not(:disabled){border-color:var(--accent)}.btn:active:not(:disabled){transform:translateY(1px)}.btn svg{flex:none;width:17px;height:17px}.btn.primary{border-color:var(--accent);color:var(--accent-text);background:var(--accent)}.btn.primary:hover:not(:disabled){filter:brightness(1.12)}.btn.gold{border-color:var(--gold);color:var(--gold-text);background:var(--gold)}.btn.gold:hover:not(:disabled){border-color:var(--gold-strong);filter:brightness(1.06)}.btn.ghost{color:var(--muted);background:0 0;border-color:#0000}.btn.ghost:hover:not(:disabled){color:var(--text);background:var(--surface-sunken);border-color:#0000}.btn.ghost.danger-text,.btn.ghost.danger-text:hover:not(:disabled){color:var(--error)}.btn.small{border-radius:var(--radius-small);min-height:32px;padding:5px 11px;font-size:.84rem}.btn.small svg{width:15px;height:15px}.btn.large{min-height:50px;font-size:1rem;font-weight:600}.btn.block{width:100%}.btn:disabled{opacity:.45;cursor:not-allowed}.back-link{justify-self:start;padding-left:4px}.icon-button{border-radius:var(--radius-small);min-width:34px;min-height:34px;color:var(--muted);background:0 0;border:1px solid #0000;justify-content:center;align-items:center;padding:0;display:inline-flex}.icon-button:hover:not(:disabled){color:var(--text);background:var(--surface-sunken);border-color:#0000}.icon-button svg{width:18px;height:18px}.input{border:1px solid var(--line-strong);border-radius:var(--radius);width:100%;min-height:42px;color:var(--text);background:var(--surface);transition:border-color var(--duration-fast);padding:9px 12px;font-size:.9375rem}.input:hover{border-color:var(--faint)}.input:focus{border-color:var(--accent);outline:3px solid var(--accent-soft);outline-offset:0}.input.search{max-width:320px}.input.narrow,.input.date{max-width:200px}.text-area{resize:vertical;min-height:150px;line-height:1.55}.field{color:var(--text);gap:6px;font-size:.9375rem;display:grid}.field-label{color:var(--muted);font-size:.84rem;font-weight:500}.field-hint{color:var(--faint);font-size:.78rem}.field.invalid .input,.field.invalid .input:hover{border-color:var(--error)}.field.invalid .input:focus{outline-color:var(--error-soft)}.field.warned .input,.field.warned .input:hover{border-color:var(--warn)}.field.warned .input:focus{outline-color:var(--warn-soft)}.field-message{align-items:flex-start;gap:6px;font-size:.8rem;line-height:1.35;display:flex}.field-message svg{flex:none;width:15px;height:15px;margin-top:1px}.field-message.error{color:var(--error)}.field-message.warning{color:var(--warn)}.password-input{display:block;position:relative}.password-input .input{padding-right:46px}.password-toggle{position:absolute;top:50%;right:4px;transform:translateY(-50%)}.password-rules{color:var(--faint);gap:3px;margin:0;padding:0;font-size:.8rem;list-style:none;display:grid}.password-rules li{align-items:center;gap:6px;display:flex}.password-rules svg{flex:none;width:14px;height:14px}.password-rules .met{color:var(--ok)}.password-rules .broken{color:var(--error)}.check-row{color:var(--muted);align-items:center;gap:8px;font-size:.875rem;display:flex}.check-row input{width:17px;height:17px;min-height:0;accent-color:var(--accent)}.form-error{border-radius:var(--radius-small);color:var(--error);background:var(--error-soft);padding:8px 12px;font-size:.875rem}.note{border-radius:var(--radius);color:var(--muted);background:var(--surface-sunken);padding:10px 12px;font-size:.84rem}.chip-set{flex-wrap:wrap;gap:6px;display:flex}.chip{border:1px solid var(--line);min-height:34px;color:var(--text);white-space:nowrap;background:var(--surface);border-radius:999px;align-items:center;padding:5px 14px;font-size:.875rem;font-weight:500;display:inline-flex}.chip:hover:not(:disabled){border-color:var(--accent)}.chip[aria-pressed=true]{border-color:var(--accent);color:var(--accent-text);background:var(--accent)}.tag-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.tag{color:var(--muted);white-space:nowrap;background:var(--surface-sunken);border-radius:6px;align-items:center;gap:4px;padding:2px 8px;font-size:.78rem;font-weight:600;display:inline-flex}.tag.level{color:var(--accent);background:var(--accent-soft)}.tag.link{transition:filter var(--duration-fast);text-decoration:none}.tag.link:hover{filter:brightness(.95)}.tag svg{width:13px;height:13px}.pill{white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:2px 9px;font-size:.78rem;font-weight:600;display:inline-flex}.pill:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.status-finished{color:var(--ok);background:var(--ok-soft)}.status-reading{color:var(--warn);background:var(--warn-soft)}.status-not_started{color:var(--idle);background:var(--idle-soft)}.status-error{color:var(--error);background:var(--error-soft)}.segmented{border-radius:var(--radius);background:var(--surface-sunken);padding:3px;display:inline-flex}.segmented button{min-height:32px;color:var(--muted);background:0 0;border:0;border-radius:7px;align-items:center;gap:6px;padding:4px 12px;font-size:.875rem;font-weight:500;display:inline-flex}.segmented button:hover:not(:disabled){color:var(--text)}.segmented button[aria-pressed=true]{color:var(--text);background:var(--surface);box-shadow:0 1px 3px #0000001a}.segmented.small button{min-height:28px;padding:3px 10px;font-size:.78rem;font-weight:600}.segmented svg{width:15px;height:15px}.avatar{width:34px;height:34px;color:var(--accent);background:var(--accent-soft);border-radius:50%;flex:none;place-items:center;font-size:.8rem;font-weight:600;display:inline-grid}.avatar.small{width:28px;height:28px;font-size:.7rem}.avatar.large{width:56px;height:56px;font-size:1.05rem}.avatar-stack{display:flex}.avatar-stack .avatar{border:2px solid var(--surface);margin-left:-7px}.avatar-stack .avatar:first-child{margin-left:0}.progress-bar{background:var(--surface-sunken);border-radius:3px;width:100%;min-width:60px;height:6px;display:block;overflow:hidden}.progress-bar i{background:var(--gold);height:100%;transition:width var(--duration) var(--ease-out);border-radius:3px;display:block}.progress-cell{align-items:center;gap:8px;display:flex}.progress-cell .progress-bar{flex:none;width:90px}.tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:22px;display:flex}.tabs button{min-height:0;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;margin-bottom:-1px;padding:10px 2px;font-weight:500}.tabs button:hover:not(:disabled){color:var(--text)}.tabs button[aria-selected=true]{border-bottom-color:var(--accent);color:var(--text);background:0 0}.tabs .count{color:var(--muted);background:var(--surface-sunken);border-radius:999px;margin-left:4px;padding:0 7px;font-size:.75rem}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px 20px;display:flex}.page-head h1{cursor:default;font-size:1.6rem}.page-head p{color:var(--muted);margin-top:4px}.head-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.person-head{align-items:center;gap:14px;display:flex}.toolbar{flex-wrap:wrap;align-items:center;gap:10px 14px;display:flex}.panel{border:1px solid var(--line);border-radius:var(--radius-large);background:var(--surface);align-content:start;gap:12px;padding:18px;display:grid}.panel h2{font-size:1rem}.panel .segmented{justify-self:start}.row-panel{justify-content:space-between;align-items:center;gap:12px;display:flex}.row-panel>div{gap:2px;display:grid}.two-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.empty-state{border:1px dashed var(--line-strong);border-radius:var(--radius-large);color:var(--muted);text-align:center;background:var(--surface);justify-items:center;gap:12px;padding:32px 24px;display:grid}.empty-state p{max-width:56ch}.toast{z-index:2000;bottom:calc(24px + var(--safe-bottom));border-radius:var(--radius);max-width:calc(100% - 32px);color:var(--tooltip-text);background:var(--tooltip);box-shadow:var(--shadow-overlay);animation:toast-in var(--duration) var(--ease-out);padding:11px 18px;font-weight:500;position:fixed;left:50%;transform:translate(-50%)}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}}.splash{place-content:center;justify-items:center;gap:12px;min-height:100dvh;display:grid}.splash .logo{font-size:2rem;animation:1.4s ease-in-out infinite splash-pulse}@keyframes splash-pulse{50%{opacity:.55}}.book-cover{color:#fff;background-size:cover;flex-direction:column;justify-content:flex-end;gap:4px;width:100%;height:100%;padding:12px;display:flex;overflow:hidden;container-type:inline-size}.book-cover-title{font:600 clamp(.7rem, 9.5cqi, 1.5rem) / 1.25 var(--font-display);overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.book-cover-author{opacity:.85;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.book-cover-large .book-cover-title{-webkit-line-clamp:6}.modal{border-radius:18px}.modal.wide{width:min(980px,100vw - 32px)}.modal-header h2{font-size:1.15rem}.dialog-form{gap:16px;display:grid}.dialog-actions{flex-wrap:wrap;align-items:center;gap:10px}.dialog-actions.spread{justify-content:space-between}.dialog-actions button:not(.btn){border-radius:var(--radius);min-height:40px}.form-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.drop-zone{border:1.5px dashed var(--line-strong);border-radius:var(--radius);color:var(--muted);cursor:pointer;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;padding:16px;font-size:.875rem;display:flex;position:relative}.drop-zone:hover{border-color:var(--accent)}.drop-zone svg{width:20px;height:20px}.drop-zone input{opacity:0;cursor:pointer;position:absolute;inset:0}.pick-list{grid-auto-rows:max-content;gap:8px;max-height:340px;padding:2px;display:grid;overflow:auto}.pick-list.compact{max-height:260px}.pick-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));grid-auto-rows:max-content;gap:8px;max-height:360px;padding:2px;display:grid;overflow:auto}.pick{border:1px solid var(--line);text-align:start;white-space:normal;background:var(--surface);border-radius:12px;justify-content:flex-start;align-items:center;gap:12px;width:100%;min-height:0;padding:9px 12px;font-weight:400;display:flex}.pick[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.pick-cover{border-radius:6px;flex:none;width:36px;height:48px;overflow:hidden}.pick-cover .book-cover{padding:0}.pick-cover .book-cover-title,.pick-cover .book-cover-author{display:none}.pick-text{gap:2px;min-width:0;display:grid}.pick-text b{text-overflow:ellipsis;font-weight:600;overflow:hidden}.level-picker{flex-wrap:wrap;gap:6px;display:flex}.level-picker button{border:1px solid var(--line);border-radius:var(--radius-small);background:var(--surface);min-width:48px;min-height:38px;padding:6px 13px;font-weight:600}.level-picker button[aria-pressed=true]{border-color:var(--accent);color:var(--accent-text);background:var(--accent)}.level-picker button:disabled{opacity:.35}.credentials-card{border-radius:var(--radius-large);background:var(--surface-sunken);gap:12px;padding:16px;display:grid}.credentials-person{align-items:center;gap:12px;display:flex}.credential{border:1px solid var(--line);border-radius:var(--radius-small);background:var(--surface);-webkit-user-select:all;user-select:all;padding:8px 12px;font:500 1rem/1.4 ui-monospace,SFMono-Regular,Menlo,monospace}.rights-box{border-radius:var(--radius-large);background:var(--surface-sunken);gap:12px;padding:14px 16px;display:grid}.switch-row{color:var(--text);cursor:pointer;justify-content:space-between;align-items:center;gap:12px;font-size:.9375rem;display:flex}.switch{background:var(--line-strong);cursor:pointer;appearance:none;width:42px;height:24px;min-height:0;transition:background var(--duration-fast);border:0;border-radius:12px;flex:none;margin:0;padding:0;position:relative}.switch:after{content:"";width:18px;height:18px;transition:left var(--duration-fast) var(--ease-out);background:#fff;border-radius:50%;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #0003}.switch:checked{background:var(--accent)}.switch:checked:after{left:21px}.inline-edit{border:1px solid var(--accent);border-radius:var(--radius-small);width:100%;min-height:36px;font:inherit;color:var(--text);background:var(--surface);padding:6px 10px}.context-menu button{min-height:34px;font-size:.875rem}.tab-bar{display:none}@media (width<=900px){.tab-bar{z-index:30;padding:6px 6px calc(6px + var(--safe-bottom));border-top:1px solid var(--line);background:color-mix(in srgb, var(--surface) 94%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);grid-auto-columns:1fr;grid-auto-flow:column;display:grid;position:fixed;bottom:0;left:0;right:0}.tab-bar a{color:var(--muted);border-radius:10px;justify-items:center;gap:2px;padding:6px 0;font-size:.75rem;font-weight:500;text-decoration:none;display:grid}.tab-bar a svg{width:22px;height:22px}.tab-bar a[aria-current=page]{color:var(--accent)}.toast{bottom:calc(var(--tab-bar-height) + 16px + var(--safe-bottom))}}@media (width<=760px){.tabs{scrollbar-width:none;flex-wrap:nowrap;overflow-x:auto}.tabs button{white-space:nowrap}.two-columns,.form-columns{grid-template-columns:minmax(0,1fr)}.hide-narrow{display:none}.input.search{max-width:none}}.auth-screen{background:var(--bg);grid-template-columns:minmax(400px,540px) minmax(0,1fr);min-height:100dvh;display:grid}.auth-panel{border-right:1px solid var(--line);background:var(--surface);flex-direction:column;min-height:100dvh;display:flex}.auth-panel-header{padding:22px max(28px, var(--safe-left)) 0 max(28px, var(--safe-left));justify-content:space-between;align-items:center;gap:12px;display:flex}.auth-panel-switches{align-items:center;gap:8px;display:flex}.auth-panel-body{width:100%;max-width:460px;padding:28px 28px calc(36px + var(--safe-bottom));flex:1;align-content:center;gap:18px;margin:0 auto;display:grid}.auth-heading{gap:6px;display:grid}.auth-heading h1{font-size:1.6rem}.auth-form{gap:14px;display:grid}.choice-list{gap:10px;display:grid}.choice{border:1px solid var(--line);border-radius:var(--radius-large);text-align:start;white-space:normal;background:var(--surface);grid-template-columns:46px minmax(0,1fr);align-items:center;gap:3px 14px;width:100%;min-height:0;padding:14px 16px;font-weight:400;display:grid}.choice:hover:not(:disabled){border-color:var(--accent);background:var(--accent-soft)}.choice b{font-size:1rem}.choice-icon{width:46px;height:46px;color:var(--accent);background:var(--accent-soft);border-radius:12px;grid-row:span 2;place-items:center;display:grid}.choice-icon svg{width:22px;height:22px}.steps{gap:6px;display:flex}.steps i{background:var(--line);border-radius:2px;flex:1;height:4px}.steps i.on{background:var(--gold)}.auth-showcase{color:#fff;background:radial-gradient(circle at 80% 10%,#c9962e59,#0000 45%),radial-gradient(circle at 10% 90%,#5b74b38c,#0000 50%),linear-gradient(135deg,#1c2440,#2f4a8a);place-items:center;padding:48px;display:grid;position:relative;overflow:hidden}.auth-showcase:before{content:"";opacity:.08;background-image:repeating-linear-gradient(45deg,#fff 0 1px,#0000 1px 22px),repeating-linear-gradient(-45deg,#fff 0 1px,#0000 1px 22px);position:absolute;inset:0}.auth-showcase-inner{gap:32px;width:min(560px,100%);display:grid;position:relative}.auth-showcase h2{font:600 clamp(1.6rem, 2.6vw, 2.25rem) / 1.2 var(--font-display);letter-spacing:-.01em}.showcase-page{color:#1c2440;background:#fff;border-radius:18px;padding:26px 24px 58px;position:relative;transform:rotate(-1.2deg);box-shadow:0 24px 60px #0000004d}.showcase-page p{font-size:1.3rem;line-height:1.8}.showcase-page mark{color:#fff;background:#2f4a8a;border-radius:5px;padding:1px 4px}.showcase-bubble{color:#1c2440;background:#f7eedb;border-radius:14px;gap:2px;padding:12px 16px;display:grid;position:absolute;bottom:-30px;right:28px;transform:rotate(2deg);box-shadow:0 12px 30px #00000038}.showcase-bubble b{font-size:1.1rem}.showcase-bubble span{color:#5c6480;font-size:.95rem}.showcase-points{gap:14px;margin:18px 0 0;padding:0;list-style:none;display:grid}.showcase-points li{align-items:center;gap:14px;font-size:1.02rem;line-height:1.4;display:flex}.showcase-points svg{color:#c9962e;background:#ffffff1a;border-radius:12px;flex:none;width:38px;height:38px;padding:9px}@media (width<=960px){.auth-screen{grid-template-columns:minmax(0,1fr)}.auth-showcase{display:none}.auth-panel{border-right:0}}@media (width<=480px){.auth-panel-header{padding:16px 18px 0}.auth-panel-body{padding:20px 18px calc(28px + var(--safe-bottom))}}.cabinet{grid-template-columns:var(--sidebar-width) minmax(0, 1fr);min-height:100dvh;display:grid}.cabinet-sidebar,.learner-rail{border-right:1px solid var(--line);background:var(--surface);flex-direction:column;gap:22px;height:100dvh;padding:20px 14px;display:flex;position:sticky;top:0}.cabinet-logo{padding:2px 10px;text-decoration:none}.cabinet-nav{gap:2px;display:grid}.nav-item{color:var(--muted);transition:background var(--duration-fast), color var(--duration-fast);border-radius:9px;align-items:center;gap:11px;padding:10px 12px;font-weight:500;text-decoration:none;display:flex}.nav-item svg{flex:none;width:19px;height:19px}.nav-item:hover{color:var(--text);background:var(--surface-sunken)}.nav-item[aria-current=page]{color:var(--accent);background:var(--accent-soft)}.account-card{border-top:1px solid var(--line);align-items:center;gap:10px;margin-top:auto;padding:12px 8px 0;display:flex}.account-card-text{min-width:0;display:grid}.account-card-text b{font-size:.875rem}.account-card-text span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.cabinet-main{flex-direction:column;min-width:0;display:flex}.cabinet-topbar{z-index:20;border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:12px 28px;display:flex;position:sticky;top:0}.cabinet-topbar-logo{flex:none;text-decoration:none;display:none}.crumbs{min-width:0;color:var(--muted);flex-wrap:wrap;align-items:center;gap:2px 8px;font-size:.875rem;display:flex}.crumb{gap:8px;display:inline-flex}.crumb a{color:var(--muted)}.crumb a:hover{color:var(--accent)}.crumb:last-child span:last-child{color:var(--text)}.crumb-separator{color:var(--faint)}.topbar-actions{flex:none;align-items:center;gap:10px;display:flex}.cabinet-content{align-content:start;gap:20px;padding:26px 28px 64px;display:grid}.upload-action{justify-items:end;gap:4px;display:grid}.card-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px;display:grid}.book-card{border:1px solid var(--line);border-radius:var(--radius-large);text-align:start;white-space:normal;background:var(--surface);cursor:pointer;width:100%;min-height:0;transition:border-color var(--duration-fast), transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);flex-direction:column;justify-content:flex-start;align-items:stretch;padding:0;font-weight:400;display:flex;overflow:hidden}.book-card:hover{border-color:var(--accent);box-shadow:var(--shadow-raised);transform:translateY(-2px)}.book-card>.book-cover{height:124px}.book-card-body{gap:8px;padding:12px 14px 14px;display:grid}.book-card-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-weight:600;line-height:1.3;display:-webkit-box;overflow:hidden}.card-progress{gap:4px;display:grid}.book-hero{border:1px solid var(--line);border-radius:var(--radius-large);background:var(--surface);grid-template-columns:240px minmax(0,1fr);gap:28px;padding:0;display:grid;overflow:hidden}.book-hero-cover{min-height:320px}.book-hero-text{align-content:start;gap:16px;padding:26px 26px 26px 0;display:grid}.book-annotation{max-width:75ch;line-height:1.6}.edition-matrix{border-radius:var(--radius);background:var(--surface-sunken);gap:10px;padding:14px 16px;display:grid}.edition-row{grid-template-columns:160px minmax(0,1fr);align-items:center;gap:12px;display:grid}.edition-row-language{font-weight:500}.contents-list{columns:3 260px;color:var(--muted);margin:0;padding-left:22px}.contents-list li{break-inside:avoid;padding:3px 0}.group-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;display:grid}.group-tile{border:1px solid var(--line);border-radius:var(--radius-large);background:var(--surface);cursor:pointer;transition:border-color var(--duration-fast), box-shadow var(--duration) var(--ease-out);align-content:start;gap:14px;padding:18px;display:grid}.group-tile:hover{border-color:var(--accent);box-shadow:var(--shadow-raised)}.group-tile h3{font-size:1.05rem}.group-tile-people{justify-content:space-between;align-items:center;gap:10px;display:flex}.group-tile-task{border-top:1px solid var(--line);gap:6px;padding-top:12px;display:grid}.group-tile-book,.task-cell{flex-wrap:wrap;align-items:center;gap:8px;font-weight:500;display:inline-flex}.group-tile .progress-cell .progress-bar{flex:1;width:auto}.table-card{border:1px solid var(--line);border-radius:var(--radius-large);background:var(--surface);overflow-x:auto}.table-card table{border-collapse:collapse;width:100%;min-width:700px}.table-card th,.table-card td{border-bottom:1px solid var(--line);text-align:start;vertical-align:middle;padding:12px 16px}.table-card th{color:var(--muted);background:var(--surface-sunken);font-size:.78rem;font-weight:600}.table-card tbody tr:last-child td{border-bottom:0}.table-card tr.clickable{cursor:pointer}.table-card tr.clickable:hover td{background:var(--surface-sunken)}.letter-row td{color:var(--accent);padding:14px 16px 4px;font-size:.78rem;font-weight:700}.who{align-items:center;gap:10px;font-weight:500;display:flex}.who-text{display:grid}.task-banner{border-radius:var(--radius-large);background:var(--accent-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;display:flex}.task-banner-text{gap:4px;display:grid}.task-banner-title{flex-wrap:wrap;align-items:center;gap:10px;font-size:1.1rem;font-weight:600;display:inline-flex}.task-banner-score{justify-items:end;display:grid}.task-banner-score b{font-size:1.5rem}.split-layout{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:20px;display:grid}.split-main,.split-side{gap:16px;display:grid}.split-side{position:sticky;top:84px}.summary-list{gap:8px;margin:0;display:grid}.summary-list>div{justify-content:space-between;align-items:center;gap:12px;display:flex}.summary-list dt{color:var(--muted)}.summary-list dd{margin:0;font-weight:600}.stat-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.stat-tile{border:1px solid var(--line);border-radius:var(--radius-large);background:var(--surface);align-content:start;gap:6px;padding:16px;display:grid}.stat-tile span{color:var(--muted);font-size:.84rem}.stat-tile b{font-variant-numeric:tabular-nums;font-size:1.4rem;font-weight:600}.stat-tile b.small-value{font-size:1rem}.split-bar{background:var(--surface-sunken);border-radius:5px;height:10px;display:flex;overflow:hidden}.split-bar i{height:100%;display:block}.split-bar .accent,.swatch.accent{background:var(--accent)}.split-bar .gold,.swatch.gold{background:var(--gold)}.legend-list{gap:10px;margin:0;display:grid}.legend-list>div{justify-content:space-between;align-items:center;gap:12px;display:flex}.legend-list dt{align-items:center;gap:8px;display:flex}.legend-list dd{margin:0;font-weight:600}.swatch{border-radius:3px;width:10px;height:10px;display:inline-block}.word-chips{flex-wrap:wrap;gap:8px;display:flex}.word-chip{border-radius:var(--radius-small);background:var(--surface-sunken);align-items:baseline;gap:8px;padding:6px 10px;display:inline-flex}.word-chip b{font-weight:600}.word-chip span{color:var(--muted);font-size:.8rem}.word-chip em{color:var(--accent);font-size:.8rem;font-style:normal;font-weight:600}.past-list{margin:0;padding:0;list-style:none;display:grid}.past-list li{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto 160px 80px;align-items:center;gap:14px;padding:10px 0;display:grid}.past-list li:last-child{border-bottom:0}.assign-dialog .assign-columns{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:18px;display:grid}.assign-books,.assign-edition{align-content:start;gap:12px;display:grid}.assign-books .input.search{max-width:none}.sticky-foot{z-index:15;border:1px solid var(--line);border-radius:var(--radius-large);background:var(--surface);box-shadow:var(--shadow-overlay);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex;position:sticky;bottom:12px}.review-layout{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:20px;display:grid}.review-paragraphs{gap:12px;display:grid}.review-columns-head{color:var(--muted);grid-template-columns:minmax(0,1fr) minmax(0,1fr) 104px;gap:16px;padding:0 18px;font-size:.8rem;display:grid}.review-paragraph{border:1px solid var(--line);border-radius:var(--radius-large);background:var(--surface);transition:border-color var(--duration-fast);grid-template-columns:minmax(0,1fr) minmax(0,1fr) 104px;align-items:start;gap:16px;padding:16px 18px;display:grid}.review-paragraph.checked{border-color:var(--ok);box-shadow:inset 3px 0 0 var(--ok)}.review-source{font-size:1.05rem;line-height:1.85}.review-source.heading{font-weight:600}.review-translation{color:var(--muted);cursor:text;font-size:.95rem;line-height:1.75}.edited-segment{-webkit-text-decoration:underline dotted var(--gold);text-decoration:underline dotted var(--gold);text-underline-offset:4px}.check-button{border:1px solid var(--line);border-radius:var(--radius-small);background:var(--surface);align-items:center;gap:6px;min-height:34px;padding:5px 10px;font-size:.84rem;font-weight:600;display:inline-flex}.check-button svg{width:15px;height:15px}.check-button[aria-pressed=true]{border-color:var(--ok);color:var(--ok);background:var(--ok-soft)}.word-panel{border:1px solid var(--line);border-radius:var(--radius-large);background:var(--surface);box-shadow:var(--shadow-raised);gap:12px;padding:18px;display:grid;position:sticky;top:84px}.word-panel.idle{box-shadow:none}.word-panel-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.word-panel-head h2{font-size:1.4rem}.transcription{color:var(--faint)}.translating{justify-items:start}.translating .progress-bar{max-width:420px}.segment{transition:background var(--duration-fast);border-radius:4px}.picked-segment{background:color-mix(in srgb, var(--accent-soft) 60%, transparent)}.reader-word{min-height:0;font:inherit;line-height:inherit;color:inherit;white-space:inherit;cursor:pointer;transition:background var(--duration-fast);background:0 0;border:0;border-radius:4px;margin:0 -1px;padding:0 1px;display:inline}.reader-word:hover:not(:disabled),.reader-word:focus-visible{background:var(--accent-soft);border:0;outline:none}.reader-word.is-saved{background:var(--highlight)}@media (width<=1180px){.split-layout,.review-layout{grid-template-columns:minmax(0,1fr)}.split-side{position:static}.word-panel{z-index:40;max-height:55dvh;box-shadow:var(--shadow-overlay);position:fixed;bottom:84px;left:12px;right:12px;overflow:auto}.word-panel.idle{display:none}.stat-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.cabinet{grid-template-columns:minmax(0,1fr)}.cabinet-sidebar{display:none}.cabinet-topbar-logo{display:block}.cabinet-topbar{padding-top:max(12px, var(--safe-top))}.crumbs{white-space:nowrap;flex-wrap:nowrap;flex:1;overflow:hidden}.crumb{min-width:0}.crumb:not(:last-child){display:none}.crumb:last-child span:last-child{text-overflow:ellipsis;overflow:hidden}.crumb-separator{display:none}.cabinet-topbar,.cabinet-content{padding-right:max(16px, var(--safe-right));padding-left:max(16px, var(--safe-left))}.cabinet-content{padding-bottom:calc(var(--tab-bar-height) + 32px + var(--safe-bottom))}.sticky-foot{bottom:calc(var(--tab-bar-height) + 12px + var(--safe-bottom))}.word-panel{bottom:calc(var(--tab-bar-height) + 84px + var(--safe-bottom))}.book-hero{grid-template-columns:minmax(0,1fr)}.book-hero-cover{min-height:180px}.book-hero-text{padding:0 18px 20px}.edition-row{grid-template-columns:minmax(0,1fr);gap:6px}.review-columns-head{display:none}.review-paragraph,.assign-dialog .assign-columns{grid-template-columns:minmax(0,1fr)}.past-list li{grid-template-columns:minmax(0,1fr) auto}.upload-action{justify-items:start}}@media (width<=640px){.table-card{background:0 0;border:0;overflow:visible}.table-card table,.table-card tbody,.table-card tr,.table-card td{min-width:0;display:block}.table-card thead{display:none}.table-card tbody{gap:10px;display:grid}.table-card tr{border:1px solid var(--line);border-radius:var(--radius-large);background:var(--surface);grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 14px;padding:14px 16px;display:grid}.table-card tr.letter-row{background:0 0;border:0;padding:6px 2px 0}.table-card td{border:0;padding:0}.table-card td:first-child{grid-column:1/-1}.table-card td[data-label]:before{content:attr(data-label);color:var(--faint);margin-bottom:2px;font-size:.72rem;font-weight:500;display:block}.table-card tr.clickable:hover td{background:0 0}}@media (width<=480px){.stat-tiles{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.card-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.group-grid{grid-template-columns:minmax(0,1fr)}}.settings-row{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;display:grid}.summary-tiles{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;display:grid}button.stat-tile{white-space:normal;text-align:start;justify-content:stretch;width:100%;min-height:0}button.stat-tile[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.auto-width{width:auto}.sort-button{min-height:0;font-size:inherit;font-weight:inherit;color:inherit;background:0 0;border:0;padding:0}.sort-button svg{width:14px;height:14px}.group-head td{background:var(--surface-sunken);cursor:pointer;padding:10px 16px}.group-head-line{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.group-head-line svg{width:16px;height:16px;color:var(--muted)}.detail-row td{background:var(--surface-sunken)}.detail-list{flex-wrap:wrap;gap:8px 28px;font-size:.88rem;display:flex}.learner{grid-template-columns:236px minmax(0,1fr);min-height:100dvh;display:grid}.learner-main{flex-direction:column;min-width:0;display:flex}.learner-topbar{z-index:20;min-height:60px;padding:10px 28px;padding-top:max(10px, var(--safe-top));border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);justify-content:flex-end;align-items:center;gap:12px;display:flex;position:sticky;top:0}.learner-topbar-logo{margin-right:auto;text-decoration:none;display:none}.learner-content{padding:26px 28px 64px}.learner-columns{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:28px;display:grid}.learner-column{align-content:start;gap:16px;max-width:760px;display:grid}.learner-column.wide{max-width:none}.learner-side{gap:12px;display:grid;position:sticky;top:84px}.hello{gap:4px;display:grid}.hello h1{font-size:1.6rem}.section-title{margin-top:6px;font-size:1.05rem}.task-card{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-raised);grid-template-columns:104px minmax(0,1fr);gap:18px;padding:16px;display:grid}.task-card-cover{aspect-ratio:3/4;border-radius:10px;overflow:hidden}.task-card-cover .book-cover-title,.task-card-cover .book-cover-author{display:none}.task-card-body{align-content:start;gap:10px;display:grid}.task-card-title{flex-wrap:wrap;align-items:center;gap:8px;font-size:1.05rem;font-weight:600;display:flex}.task-card.compact{text-align:start;white-space:normal;width:100%;min-height:0;box-shadow:none;grid-template-columns:minmax(0,1fr);gap:6px;padding:14px 16px;font-weight:400;display:grid}.due{color:var(--muted);align-items:center;gap:5px;font-size:.875rem;font-weight:500;display:inline-flex}.due svg{width:15px;height:15px}.due.soon{color:var(--warn)}.due.ok{color:var(--ok)}.due.late{color:var(--error)}.continue-card{border:1px solid var(--line);border-radius:var(--radius-large);text-align:start;white-space:normal;background:var(--surface);grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;min-height:0;padding:12px 14px;font-weight:400;display:grid}.continue-cover{border-radius:8px;width:52px;height:68px;overflow:hidden}.continue-cover .book-cover{padding:0}.continue-cover .book-cover-title,.continue-cover .book-cover-author{display:none}.continue-text{gap:6px;display:grid}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.kpi{border:1px solid var(--line);border-radius:var(--radius-large);color:var(--text);background:var(--surface);gap:2px;padding:14px;text-decoration:none;display:grid}.kpi b{font-size:1.3rem;font-weight:600}.kpi span{color:var(--muted);font-size:.8rem}.kpi.link:hover{border-color:var(--accent)}.shelf{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:20px 16px;display:grid}.shelf-book{text-align:start;white-space:normal;background:0 0;border:0;grid-template-columns:minmax(0,1fr);align-content:start;gap:6px;width:100%;min-height:0;padding:0;font-weight:400;display:grid}.shelf-book:hover:not(:disabled){border:0}.shelf-cover{aspect-ratio:3/4;box-shadow:var(--shadow-raised);transition:transform var(--duration) var(--ease-out);border-radius:12px;position:relative;overflow:hidden}.shelf-book:hover .shelf-cover{transform:translateY(-3px)}.shelf-book.locked .shelf-cover .book-cover{filter:grayscale(.85);opacity:.55}.lock-badge{color:#1c2440;background:#ffffffeb;border-radius:50%;place-items:center;width:30px;height:30px;display:grid;position:absolute;top:10px;right:10px}.lock-badge svg{width:16px;height:16px}.assigned-badge{color:var(--gold-text);background:var(--gold);border-radius:999px;padding:2px 9px;font-size:.75rem;font-weight:600;position:absolute;top:10px;left:10px}.assigned-badge.inline{justify-self:start;position:static}.learner-book-head{grid-template-columns:150px minmax(0,1fr);align-items:end;gap:18px;display:grid}.learner-book-cover{aspect-ratio:3/4;box-shadow:var(--shadow-raised);border-radius:12px;overflow:hidden}.learner-book-text{gap:6px;display:grid}.dictionary-grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:10px;display:grid}.dictionary-row{border:1px solid var(--line);border-radius:var(--radius-large);background:var(--surface);grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto;align-items:center;gap:4px 12px;padding:10px 10px 10px 16px;display:grid}.dictionary-word{display:grid}.dictionary-word b{font-size:1.02rem}.dictionary-word .transcription{font-size:.78rem}.dictionary-translation{color:var(--muted)}.dictionary-source{text-overflow:ellipsis;white-space:nowrap;grid-column:1/-1;overflow:hidden}.dictionary-word,.dictionary-translation,.dictionary-row .icon-button{grid-row:1}.flash-screen{width:min(560px,100%);min-height:100dvh;padding:max(16px, var(--safe-top)) 16px calc(24px + var(--safe-bottom));align-content:start;gap:16px;margin:0 auto;display:grid}.flash-head{justify-content:space-between;align-items:center;display:flex}.flash-card{border:1px solid var(--line);text-align:center;background:var(--surface);box-shadow:var(--shadow-raised);border-radius:22px;justify-items:center;gap:14px;margin-top:8vh;padding:40px 24px;display:grid}.flash-word{font:600 2.1rem/1.2 var(--font-display)}.flash-translation{color:var(--accent);font-size:1.35rem;font-weight:600}.flash-context{max-width:44ch;color:var(--muted);font-size:.9rem}.flash-done{color:var(--ok);font-size:2.6rem}.flash-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}@media (width<=1100px){.learner-columns{grid-template-columns:minmax(0,1fr)}.learner-side{position:static}}@media (width<=900px){.learner{grid-template-columns:minmax(0,1fr)}.learner-rail{display:none}.learner-topbar{padding-right:max(16px, var(--safe-right));padding-left:max(16px, var(--safe-left));justify-content:space-between}.learner-topbar-logo{display:block}.learner-content{padding:18px max(16px, var(--safe-right)) calc(var(--tab-bar-height) + 32px + var(--safe-bottom)) max(16px, var(--safe-left))}.learner-column{max-width:none}.shelf{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.dictionary-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=480px){.task-card{grid-template-columns:76px minmax(0,1fr);gap:14px}.shelf{grid-template-columns:repeat(2,minmax(0,1fr))}.learner-book-head{grid-template-columns:110px minmax(0,1fr)}.continue-card{grid-template-columns:44px minmax(0,1fr)}.continue-card>.btn{display:none}.continue-cover{width:44px;height:58px}}.study-shell{background:var(--bg);--study-size:1.15rem;grid-template-rows:auto auto minmax(0,1fr);height:100dvh;display:grid}.study-shell[data-text-size=small]{--study-size:1rem}.study-shell[data-text-size=large]{--study-size:1.32rem}.study-shell[data-text-size=huge]{--study-size:1.55rem}.study-shell>.progress-bar{border-radius:0;height:3px}.study-topbar{min-height:58px;padding:max(8px, var(--safe-top)) max(16px, var(--safe-right)) 8px max(16px, var(--safe-left));border-bottom:1px solid var(--line);background:var(--surface);align-items:center;gap:12px;display:flex}.study-title{min-width:0;display:grid}.study-title b,.study-title span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.study-tools{flex:none;align-items:center;gap:8px;margin-left:auto;display:flex}.chapter-select{width:auto;max-width:220px;min-height:34px;padding:4px 10px;font-size:.84rem}.study-body{grid-template-columns:minmax(0,1fr) 380px;min-height:0;display:grid}.study-scroll{scroll-behavior:smooth;min-height:0;overflow-y:auto}.study-page{gap:18px;width:min(760px,100%);margin:0 auto;padding:32px 28px 120px;display:grid}.study-page.side{width:min(1240px,100%)}.study-hint{color:var(--accent);background:var(--accent-soft);border-radius:999px;justify-self:start;padding:4px 12px;font-size:.8rem}.study-paragraph{gap:6px;scroll-margin-top:16px;display:grid}.study-text{font-family:var(--font-reading);font-size:var(--study-size);overflow-wrap:break-word;line-height:1.85}.study-paragraph.heading .study-text{font-family:var(--font-display);font-size:calc(var(--study-size) * 1.12);margin-top:10px;font-weight:600;line-height:1.4}.study-paragraph.side{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;padding-bottom:14px}.study-translation{font-size:calc(var(--study-size) * .9);color:var(--muted);line-height:1.8}.reveal-link{min-height:0;color:var(--accent);background:0 0;border:0;justify-self:start;padding:2px 0;font-size:.84rem;font-weight:500}.reveal-link:hover:not(:disabled){border:0;text-decoration:underline}.study-reveal{border-left:3px solid var(--gold);font-size:calc(var(--study-size) * .85);color:var(--muted);background:var(--surface-sunken);animation:reveal-in var(--duration) var(--ease-out);border-radius:0 10px 10px 0;padding:10px 14px;line-height:1.7}@keyframes reveal-in{0%{opacity:0;transform:translateY(-4px)}}.study-break{color:var(--faint);text-align:center;padding:12px 0}.study-chapter-nav{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;margin-top:28px;padding-top:20px;display:flex}.study-word{border-left:1px solid var(--line);background:var(--surface);min-height:0;padding:20px;overflow-y:auto}.study-word-backdrop{display:none}.word-card{gap:14px;display:grid}.word-card.idle{border:1px dashed var(--line-strong);border-radius:var(--radius-large);gap:8px;padding:18px}.word-card-head{align-items:center;gap:10px;display:flex}.word-card-word{font:600 1.6rem/1.2 var(--font-display);overflow-wrap:anywhere;margin-right:auto}.word-card-translation{color:var(--accent);font-size:1.3rem;font-weight:600}.word-card-explanation{border-radius:var(--radius);background:var(--surface-sunken);gap:6px;padding:12px 14px;line-height:1.55;display:grid}.word-card-actions{display:grid}.word-card-loading{gap:10px;display:grid}.shimmer{background:linear-gradient(90deg, var(--surface-sunken), var(--line), var(--surface-sunken));background-size:200% 100%;border-radius:6px;height:18px;animation:1.2s linear infinite shimmer;display:block}.shimmer.short{width:60%}@keyframes shimmer{to{background-position:-200% 0}}.ask-form{gap:8px;display:grid}.ask-form .btn{justify-self:start}.ask-answer{border-radius:var(--radius);background:var(--accent-soft);padding:10px 12px;line-height:1.55}.study-text .reader-word{padding:1px}@media (width<=1100px){.study-body{grid-template-columns:minmax(0,1fr)}.study-word{z-index:50;max-height:68dvh;padding:18px max(18px, var(--safe-right)) calc(20px + var(--safe-bottom)) max(18px, var(--safe-left));border-top:1px solid var(--line);border-radius:var(--radius-sheet) var(--radius-sheet) 0 0;box-shadow:var(--shadow-overlay);transition:transform var(--duration) var(--ease-out);border-left:0;position:fixed;bottom:0;left:0;right:0;transform:translateY(105%)}.study-shell.word-open .study-word{transform:translateY(0)}.study-shell.word-open .study-word-backdrop{z-index:45;background:#0f14282e;display:block;position:fixed;inset:0}.study-paragraph.side{grid-template-columns:minmax(0,1fr);gap:8px}}@media (width<=640px){.study-page{padding:22px 18px 96px}.study-topbar{flex-wrap:wrap;gap:6px 10px}.study-tools{justify-content:space-between;width:100%;margin-left:0}.chapter-select{max-width:150px}.study-title{flex:1}}
