:root{color-scheme:light;--bg:#ffffff;--text:#141b2d;--muted:#667085;--line:rgba(15,23,42,0.09);--blue:#0b67ff;--cyan:#36d6ff;--purple:#6f42ff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;color:var(--text);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}.container{width:min(calc(100% - 40px),1200px);margin:0 auto}.gradient-text{background:linear-gradient(135deg,var(--blue),var(--purple) 52%,var(--cyan));background-size:180% 180%;-webkit-background-clip:text;background-clip:text;color:transparent}.portal-home{position:relative;min-height:100vh;overflow-x:hidden;background:radial-gradient(circle at top left,rgba(11,103,255,.08),transparent 28%),radial-gradient(circle at bottom right,rgba(54,214,255,.1),transparent 24%),#fff}.page-glow{position:fixed;inset:0;z-index:0;pointer-events:none;background:radial-gradient(circle at var(--glow-x,50%) var(--glow-y,18%),rgba(11,103,255,.12),transparent 22%),radial-gradient(circle at 82% 22%,rgba(54,214,255,.09),transparent 18%)}.scroll-progress{position:fixed;inset:0 auto auto 0;z-index:60;width:100%;height:3px;transform:scaleX(var(--scroll-progress,0));transform-origin:left center;background:linear-gradient(90deg,var(--blue),var(--purple),var(--cyan));box-shadow:0 0 18px rgba(11,103,255,.28)}.navbar{position:-webkit-sticky;position:sticky;top:0;z-index:30;background:rgba(255,255,255,.82);border-bottom:1px solid rgba(15,23,42,.05);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.navbar-inner{min-height:88px;justify-content:space-between;gap:22px}.brand,.hero-actions,.hero-note,.nav-actions,.navbar-inner{display:flex;align-items:center}.brand{min-height:58px;gap:14px;font-weight:800}.brand-logo{width:auto;height:38px;max-width:180px;object-fit:contain}.brand-tagline{color:#56647e;font-size:.96rem;font-weight:400;line-height:1.4}.nav-actions{gap:10px;color:#425066;font-weight:600}.button-primary,.button-secondary,.nav-link{min-height:46px;padding:0 20px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-weight:600;transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease,border-color .2s ease}.button-secondary,.nav-link{color:#425066;background:#fff;border:1px solid rgba(15,23,42,.08)}.nav-link.active{color:#0b67ff;border-color:rgba(11,103,255,.28);background:rgba(11,103,255,.08)}.button-primary{color:#fff;background:linear-gradient(135deg,#0b67ff,#36d6ff);background-size:180% 180%;border:0;box-shadow:0 18px 40px rgba(11,103,255,.22);animation:button-glow 8s ease infinite}.button-primary:hover,.button-secondary:hover,.nav-link:hover{transform:translateY(-1px)}.hero{min-height:calc(100vh - 88px);padding:34px 0 32px;display:flex;align-items:center}.hero-grid{display:block}.hero-copy{position:relative;z-index:1;max-width:860px;margin:0 auto;padding:18px 0;text-align:center;animation:hero-rise .9s ease both}.hero-title{margin:0;font-size:clamp(3.5rem,6.3vw,6.2rem);line-height:1.02;font-weight:800;letter-spacing:0;animation:hero-rise .9s ease both,title-shift 10s ease infinite}.hero-description{max-width:820px;margin:24px auto 0;color:var(--muted);font-size:1.08rem;line-height:2}.hero-actions{margin-top:30px;gap:14px}.hero-actions,.hero-note{justify-content:center;flex-wrap:wrap}.hero-note{margin-top:26px;gap:18px;color:#52607a;font-size:.96rem;line-height:1.4}.hero-note span:before{content:"";width:4px;height:4px;margin-right:8px;display:inline-block;border-radius:50%;background:#0b67ff;vertical-align:middle}.section{position:relative;z-index:1;padding:100px 0;scroll-margin-top:104px}.section.alt{background:linear-gradient(180deg,#f8fbff,#ffffff)}.section-head{max-width:780px;margin:0 auto 48px;text-align:center}.cta-copy h2,.section-head h2,.stat-copy h2{margin:0;font-size:clamp(2.2rem,4.1vw,3.4rem);line-height:1.12;letter-spacing:0}.section-head p{max-width:760px;margin:16px auto 0;color:var(--muted);font-size:1.05rem;line-height:1.85}.feature-grid,.scene-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:18px;gap:18px}.feature-card,.scene-card{position:relative;overflow:hidden;padding:28px;border:1px solid rgba(15,23,42,.06);border-radius:8px;background:rgba(255,255,255,.9);box-shadow:0 16px 40px rgba(20,34,80,.08);transform-style:preserve-3d;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.feature-card:hover,.scene-card:hover{transform:translateY(-6px);border-color:rgba(11,103,255,.16);box-shadow:0 28px 70px rgba(20,34,80,.14)}.cta-panel:after,.feature-card:after,.scene-card:after,.stats-row:after{content:"";position:absolute;inset:0;opacity:0;pointer-events:none;background:radial-gradient(circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.7),transparent 24%);transition:opacity .22s ease}.cta-panel:hover:after,.feature-card:hover:after,.scene-card:hover:after,.stats-row:hover:after{opacity:1}.feature-icon,.scene-icon{width:56px;height:56px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,rgba(11,103,255,.12),rgba(54,214,255,.18));color:#0b67ff;font-size:1.15rem;font-weight:700}.feature-card h3,.scene-card h3{margin:22px 0 0;font-size:1.18rem}.feature-card p,.scene-card p{margin:14px 0 0;color:var(--muted);line-height:1.8}.stat-layout{display:grid;grid-template-columns:minmax(0,.92fr) minmax(320px,1.08fr);grid-gap:28px;gap:28px;align-items:center}.stat-copy p{margin:18px 0 0;color:var(--muted);font-size:1.05rem;line-height:1.9}.stat-callout,.stats-card{background:rgba(255,255,255,.84);border:1px solid rgba(15,23,42,.08);box-shadow:0 16px 40px rgba(20,34,80,.08);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.stat-callout{margin-top:28px;padding:22px 24px;border-radius:8px}.stat-callout span{display:block;margin-top:10px;color:var(--muted);line-height:1.75}.stats-card{padding:24px;border-radius:8px}.stats-list{display:grid;grid-gap:14px;gap:14px}.stats-row{position:relative;overflow:hidden;min-height:72px;padding:0 18px;border:1px solid rgba(15,23,42,.05);border-radius:8px;background:rgba(247,250,255,.94);display:flex;align-items:center;justify-content:space-between;gap:18px;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.stats-row:hover{transform:translateY(-3px);border-color:rgba(11,103,255,.12);box-shadow:0 18px 36px rgba(20,34,80,.08)}.stats-row span{color:#55637b}.stats-row strong{text-align:right}.cta-section{position:relative;z-index:1;padding:0 0 110px}.cta-panel{position:relative;overflow:hidden;padding:40px;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:24px;color:#fff;background:linear-gradient(140deg,rgba(11,103,255,.96),rgba(54,214,255,.88)),#0b67ff;box-shadow:0 28px 70px rgba(20,34,80,.14)}.cta-panel:before{content:"";position:absolute;inset:-40% auto -40% -20%;width:42%;transform:rotate(12deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);animation:sheen 7s ease-in-out infinite;pointer-events:none}.cta-copy p{max-width:720px;margin:16px 0 0;color:rgba(255,255,255,.88);line-height:1.8}.footer{position:relative;z-index:1;padding:30px 0 44px;border-top:1px solid rgba(15,23,42,.06)}.footer-brand,.footer-inner{display:flex;align-items:center}.footer-inner{justify-content:space-between;gap:20px}.footer-brand{gap:16px}.footer-brand img{width:auto;height:34px;max-width:180px;object-fit:contain}.footer-mark{display:flex;flex-direction:column;gap:4px}.footer-copy{color:var(--muted)}.scroll-reveal{opacity:0;transform:translateY(56px) scale(.96);filter:blur(10px);transition:opacity .75s ease,transform .75s ease,filter .75s ease,box-shadow .28s ease;transition-delay:var(--reveal-delay,0s);will-change:opacity,transform,filter}.scroll-reveal.is-visible{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}@keyframes hero-rise{0%{opacity:0;transform:translateY(32px)}to{opacity:1;transform:translateY(0)}}@keyframes button-glow{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@keyframes title-shift{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@keyframes sheen{0%{transform:translateX(-120%) rotate(12deg)}40%,to{transform:translateX(280%) rotate(12deg)}}@media (max-width:1080px){.stat-layout{grid-template-columns:1fr}.feature-grid,.scene-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.container{width:min(calc(100% - 24px),1200px)}.brand,.cta-panel,.footer-inner,.navbar-inner{align-items:flex-start;flex-direction:column}.brand{gap:6px}.button-primary,.button-secondary,.hero-actions,.nav-actions,.nav-link{width:100%}.nav-actions{flex-wrap:wrap}.hero{min-height:auto;padding:24px 0 28px}.hero-title{font-size:clamp(3rem,15vw,4.2rem)}.feature-grid,.scene-grid{grid-template-columns:1fr}.stats-row{align-items:flex-start;flex-direction:column;justify-content:center;padding:16px 18px}.stats-row strong{text-align:left}}@media (prefers-reduced-motion:reduce){.button-primary,.hero-copy,.hero-title,.scroll-reveal{animation:none!important;transition:none!important;opacity:1!important;transform:none!important;filter:none!important}.cta-panel:after,.cta-panel:before,.feature-card:after,.scene-card:after,.stats-row:after{display:none!important}}.modal-layer{position:fixed;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(15,23,42,.28)}.modal-layer.hidden{display:none!important}#credits-modal.account-modal,#profile-modal.account-modal{z-index:35;padding:20px;align-items:center;justify-content:center;background:rgba(15,23,42,.34);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}#credits-modal .account-dialog,#profile-modal .account-dialog{width:min(720px,calc(100vw - 32px));max-height:min(720px,calc(100vh - 32px));overflow:auto;padding:18px;border-radius:16px;background:#fff;box-shadow:0 28px 64px rgba(15,23,42,.18);color:#1d2433}#credits-modal .account-dialog-head,#profile-modal .account-dialog-head{margin:0 44px 14px 0}#credits-modal .account-dialog-head h2,#profile-modal .account-dialog-head h2{margin:0 0 4px;font-size:18px;line-height:1.25}#credits-modal .account-dialog-head p,#profile-modal .account-dialog-head p{margin:0;color:#6b7688;font-size:13px}#credits-modal .credit-summary-text{line-height:1.5}#credits-modal .account-view,#profile-modal .account-view{display:grid;grid-gap:12px;gap:12px}#profile-modal .profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}#credits-modal .content-panel,#profile-modal .content-panel{padding:14px;border:1px solid rgba(148,163,184,.18);border-radius:16px;background:#fff;box-shadow:none}#credits-modal .section-title,#profile-modal .section-title{gap:10px;margin-bottom:12px}#credits-modal .section-title h2,#profile-modal .section-title h2{margin:0 0 3px;font-size:16px}#credits-modal .section-title p,#profile-modal .section-title p{margin:0;color:#6b7688;font-size:12px}#credits-modal .credit-rules-panel{gap:8px}#credits-modal .credit-rule-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}#credits-modal .credit-rule-card{display:grid;min-height:56px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label value" "unit value";align-items:center;grid-gap:2px 10px;gap:2px 10px;padding:8px 10px;border-radius:12px;background:rgba(247,250,255,.86)}#credits-modal .credit-rule-card span{grid-area:label;color:#1d2433;font-size:12px}#credits-modal .credit-rule-card strong{grid-area:value;color:#0b67ff;font-size:20px}#credits-modal .credit-rule-card em{grid-area:unit;color:#6b7688;font-size:11px;font-style:normal}#credits-modal .record-title-row{align-items:flex-start;display:flex;justify-content:space-between}#credits-modal .record-search input{min-height:34px;width:180px;border:1px solid rgba(148,163,184,.24);border-radius:999px;padding:0 12px}#credits-modal .record-list{display:grid;grid-gap:8px;gap:8px}#credits-modal .record-item{align-items:center;display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid rgba(148,163,184,.16);border-radius:12px;background:#fff}#credits-modal .record-line{display:flex;flex-wrap:wrap;gap:8px}#credits-modal .record-copy{display:grid;grid-gap:4px;gap:4px}#credits-modal .muted{color:#6b7688;font-size:13px}#credits-modal .record-amount{font-size:18px;font-weight:800}#credits-modal .record-amount.plus{color:#16a34a}#credits-modal .record-amount.minus{color:#dc2626}#profile-modal .form-field{display:grid;grid-gap:7px;gap:7px;margin-bottom:12px}#profile-modal .form-field span{color:#1d2433;font-weight:700}#profile-modal .form-field input{min-height:40px;width:100%;border:1px solid rgba(148,163,184,.28);border-radius:10px;padding:0 12px;font:inherit}#profile-modal .button.primary{min-height:42px;width:100%;border:0;border-radius:10px;background:linear-gradient(90deg,#0b67ff,#36d6ff);color:#fff;cursor:pointer;font-weight:800}#profile-modal .feedback{min-height:22px;margin-bottom:10px;color:#16a34a;font-size:13px}#profile-modal .feedback.error{color:#dc2626}#credits-modal .modal-close,#profile-modal .modal-close{position:absolute;top:14px;right:14px;align-items:center;display:flex;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:6px;background:transparent;color:#64748b;cursor:pointer;font-family:Arial,Helvetica,sans-serif;font-size:20px;font-weight:500;line-height:28px}#credits-modal .modal-close:hover,#profile-modal .modal-close:hover{background:rgba(148,163,184,.14);color:#1d2433}@media (max-width:760px){#credits-modal .credit-rule-list,#profile-modal .profile-grid{grid-template-columns:1fr}#credits-modal .record-title-row{display:grid}#credits-modal .record-search input{width:100%}}.storage-panel{background:#f8fbff;border:1px solid #e7ebf1;border-radius:8px;color:#64748b;display:grid;font-size:11px;grid-gap:8px;gap:8px;margin-top:auto;padding:12px;position:relative}.storage-panel-title{align-items:center;display:flex;gap:8px}.storage-panel strong{color:#1d2433;font-size:11px;font-weight:800}.storage-panel span{color:#6b7688;font-size:11px;line-height:1.35}.storage-panel small{color:#8a97aa;font-size:11px;line-height:1.4}.storage-panel:after{background:linear-gradient(90deg,#2f6df0 0 var(--storage-used,4%),transparent var(--storage-used,4%)),#e8eef7;border-radius:999px;content:"";display:block;height:10px;width:100%}.storage-help{align-items:baseline;background:transparent;border:0;border-radius:0;cursor:help;display:inline-block;flex:0 1 auto;line-height:1;position:static;width:auto}.storage-help:after{background:rgba(15,23,42,.94);border-radius:12px;bottom:calc(100% + 10px);box-shadow:0 16px 40px rgba(15,23,42,.22);color:#fff;content:attr(data-tooltip);font-size:9px;font-weight:600;left:12px;line-height:1.45;opacity:0;overflow-wrap:anywhere;padding:8px 10px;pointer-events:none;position:absolute;right:12px;text-align:left;transform:translateY(4px);transition:opacity .18s ease,transform .18s ease;visibility:hidden;white-space:pre-wrap;width:auto;z-index:20}.storage-help:focus-visible:after,.storage-help:focus:after,.storage-help:hover:after{opacity:1;transform:translateY(0);visibility:visible}.kbook-shell,.textbook-editor-app{color-scheme:light;--text:#172033;--muted:#64748b;--line:rgba(15,23,42,0.09);--blue:#0b67ff;--cyan:#36d6ff;--textbook-outline-column:292px;--textbook-outline-collapsed-column:44px;--textbook-assistant-column:360px;--textbook-assistant-collapsed-column:44px}.textbook-editor-app.outline-collapsed{--textbook-outline-column:var(--textbook-outline-collapsed-column)}.textbook-editor-app.assistant-collapsed{--textbook-assistant-column:var(--textbook-assistant-collapsed-column)}.kbook-shell *,.textbook-editor-app *{box-sizing:border-box}.kbook-shell .sr-only,.textbook-editor-app .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.kbook-shell body,.kbook-shell html,.textbook-editor-app body,.textbook-editor-app html{margin:0;min-height:100vh;color:var(--text);background:#f4f7fb;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}.kbook-shell a,.textbook-editor-app a{color:inherit;text-decoration:none}.kbook-shell button,.textbook-editor-app button{font:inherit}.kbook-shell img,.textbook-editor-app img{display:block;max-width:100%}.kbook-shell .kbook-auth-controls,.textbook-editor-app .kbook-auth-controls{position:relative}.textbook-editor-app>.kbook-auth-controls{display:contents}.kbook-shell .kbook-auth-controls .hidden,.textbook-editor-app .kbook-auth-controls .hidden{display:none!important}.kbook-shell .kbook-auth-controls .user-menu,.textbook-editor-app .kbook-auth-controls .user-menu{position:relative}.kbook-shell .kbook-auth-controls .user-menu-trigger,.textbook-editor-app .kbook-auth-controls .user-menu-trigger{align-items:center;background:transparent;border:0;cursor:pointer;display:inline-flex;height:34px;justify-content:center;padding:0;width:34px}.kbook-shell .kbook-auth-controls .user-menu-trigger .user-avatar,.textbook-editor-app .kbook-auth-controls .user-menu-trigger .user-avatar{height:28px;min-height:28px;width:28px}.kbook-shell .kbook-auth-controls .user-menu-panel,.textbook-editor-app .kbook-auth-controls .user-menu-panel{background:rgba(255,255,255,.98);border:1px solid rgba(148,163,184,.18);border-radius:14px;box-shadow:0 22px 54px rgba(15,23,42,.16);color:#172033;display:grid;grid-gap:4px;gap:4px;min-width:190px;padding:8px;position:absolute;right:0;top:calc(100% + 10px);z-index:42}.kbook-shell .kbook-auth-controls .user-menu-info,.textbook-editor-app .kbook-auth-controls .user-menu-info{border-bottom:1px solid rgba(148,163,184,.16);display:grid;grid-gap:4px;gap:4px;padding:9px 10px 10px}.kbook-shell .kbook-auth-controls .user-menu-info strong,.textbook-editor-app .kbook-auth-controls .user-menu-info strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kbook-shell .kbook-auth-controls .user-menu-info span,.textbook-editor-app .kbook-auth-controls .user-menu-info span{color:#64748b;font-size:13px}.kbook-shell .kbook-auth-controls .user-menu-item,.textbook-editor-app .kbook-auth-controls .user-menu-item{align-items:center;background:transparent;border:0;border-radius:8px;color:#172033;cursor:pointer;display:flex;font-size:14px;min-height:38px;padding:0 10px;text-align:left;width:100%}.kbook-shell .kbook-auth-controls .user-menu-item:focus-visible,.kbook-shell .kbook-auth-controls .user-menu-item:hover,.textbook-editor-app .kbook-auth-controls .user-menu-item:focus-visible,.textbook-editor-app .kbook-auth-controls .user-menu-item:hover{background:rgba(47,112,237,.08);color:#1d4ed8;outline:none}.kbook-auth-controls .login-layer{background:rgba(15,23,42,.38);display:grid;inset:0;place-items:center;position:fixed;z-index:80}.kbook-auth-controls .login-card{background:#fff;border-radius:18px;box-shadow:0 28px 64px rgba(15,23,42,.22);display:grid;grid-template-columns:300px minmax(300px,1fr);min-height:360px;overflow:hidden;position:relative;width:min(720px,calc(100vw - 32px));z-index:1}.kbook-auth-controls .login-visual{background:radial-gradient(circle at 58% 36%,rgba(103,232,249,.42),rgba(103,232,249,0) 34%),radial-gradient(circle at 30% 70%,rgba(52,211,153,.28),rgba(52,211,153,0) 30%),linear-gradient(145deg,#102045,#1f3f7a 54%,#119bd4);min-height:360px;overflow:hidden;position:relative}.kbook-auth-controls .login-visual:before{background:linear-gradient(rgba(226,245,255,.1) 1px,transparent 0),linear-gradient(90deg,rgba(226,245,255,.1) 1px,transparent 0);background-size:26px 26px;border:1px solid rgba(226,245,255,.18);border-radius:18px;content:"";inset:34px 22px 30px;position:absolute;transform:perspective(420px) rotateX(62deg) rotate(-18deg);transform-origin:center bottom}.kbook-auth-controls .login-model-scene{display:grid;inset:0;perspective:760px;place-items:center;position:absolute}.kbook-auth-controls .login-model{height:118px;position:relative;transform:rotateX(58deg) rotate(42deg);transform-style:preserve-3d;width:118px}.kbook-auth-controls .login-model-core,.kbook-auth-controls .login-model-face,.kbook-auth-controls .login-model-node,.kbook-auth-controls .login-model-ring{display:block;position:absolute}.kbook-auth-controls .login-model-core{background:linear-gradient(145deg,#f8fcff,#50d5ff 52%,#0e6ccf);border-radius:24px;box-shadow:0 18px 30px rgba(8,18,45,.38),inset 0 1px 10px rgba(255,255,255,.76);inset:12px;transform:translateZ(42px)}.kbook-auth-controls .login-model-face{background:linear-gradient(135deg,rgba(93,241,206,.94),rgba(48,136,255,.78));border-radius:16px;box-shadow:inset 0 1px 8px rgba(255,255,255,.42);height:42px;width:94px}.kbook-auth-controls .login-model-face.face-a{bottom:8px;left:12px;transform:rotateX(90deg) translateZ(-44px)}.kbook-auth-controls .login-model-face.face-b{left:-30px;top:36px;transform:rotateY(90deg) translateZ(44px)}.kbook-auth-controls .login-model-face.face-c{background:linear-gradient(135deg,rgba(155,232,255,.88),rgba(25,96,210,.82));right:-30px;top:36px;transform:rotateY(90deg) translateZ(-44px)}.kbook-auth-controls .login-model-ring{border:2px solid rgba(177,241,255,.62);border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%) rotateX(74deg) rotate(-16deg)}.kbook-auth-controls .login-model-ring.ring-a{height:210px;width:210px}.kbook-auth-controls .login-model-ring.ring-b{border-color:rgba(93,241,206,.66);height:152px;transform:translate(-50%,-50%) rotateX(74deg) rotate(24deg);width:152px}.kbook-auth-controls .login-model-node{background:#d9fbff;border-radius:50%;box-shadow:0 0 18px rgba(125,249,255,.9);height:10px;width:10px}.kbook-auth-controls .login-model-node.node-a{left:72px;top:98px}.kbook-auth-controls .login-model-node.node-b{right:58px;top:126px}.kbook-auth-controls .login-model-node.node-c{bottom:86px;left:110px}.kbook-auth-controls .login-form{background:#fff;display:flex;flex-direction:column;gap:22px;justify-content:center;padding:38px 42px}.kbook-auth-controls .login-head{align-items:flex-start;display:flex;gap:16px;justify-content:space-between}.kbook-auth-controls .login-head h2{color:#38a8f4;font-size:34px;font-weight:800;margin:0}.kbook-auth-controls .modal-close{background:transparent;border:0;color:#64748b;cursor:pointer;font-size:24px;line-height:1}.kbook-auth-controls .login-field{align-items:center;border-bottom:1px solid rgba(148,163,184,.26);display:grid;grid-template-columns:34px minmax(0,1fr)}.kbook-auth-controls .login-field-icon{color:#cbd5e1;font-size:16px;font-weight:800;text-align:center}.kbook-auth-controls .login-field input{border:0;color:#1d2433;font:inherit;font-size:15px;height:46px;outline:none;width:100%}.kbook-auth-controls .login-feedback{color:#dc2626;font-size:13px;line-height:1.5;min-height:20px}.kbook-auth-controls .login-feedback.info{color:#6b7688}.kbook-auth-controls .login-submit{background:linear-gradient(90deg,#2ea7f4,#20c6ef);border:0;border-radius:8px;box-shadow:0 12px 22px rgba(14,165,233,.28);color:#fff;cursor:pointer;font:inherit;font-size:18px;font-weight:800;height:48px}.kbook-auth-controls .login-submit:disabled{cursor:not-allowed;opacity:.58}@media (max-width:980px){.kbook-auth-controls .login-card{grid-template-columns:1fr}.kbook-auth-controls .login-visual{min-height:180px}}.kbook-shell{min-height:100vh;background:#f4f7fb}.kbook-shell .button,.kbook-shell .icon-btn,.textbook-editor-app .button,.textbook-editor-app .icon-btn{align-items:center;border:1px solid var(--line);border-radius:8px;cursor:pointer;display:inline-flex;font-weight:700;gap:4px;justify-content:center;min-height:44px;padding:0 18px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease}.kbook-shell .button.primary,.textbook-editor-app .button.primary{background:linear-gradient(135deg,var(--blue),var(--cyan));border-color:transparent;box-shadow:0 16px 34px rgba(11,103,255,.2);color:#fff}.kbook-shell .button.secondary,.kbook-shell .icon-btn,.textbook-editor-app .button.secondary,.textbook-editor-app .icon-btn{background:#fff;color:#425066}.kbook-shell .button.compact,.textbook-editor-app .button.compact{min-height:38px;padding:0 12px}.kbook-shell .button:hover,.kbook-shell .icon-btn:hover,.textbook-editor-app .button:hover,.textbook-editor-app .icon-btn:hover{border-color:rgba(11,103,255,.22);transform:translateY(-1px)}.kbook-shell .icon-btn,.textbook-editor-app .icon-btn{padding:0;width:48px}.kbook-shell .workbench-topbar,.textbook-editor-app .workbench-topbar{align-items:center;background:#fff;border-bottom:1px solid rgba(15,23,42,.08);box-shadow:0 10px 28px rgba(15,23,42,.05);display:flex;gap:10px;height:78px;justify-content:space-between;min-height:78px;padding:0 20px 0 24px}.kbook-shell .resource-actions,.kbook-shell .workbench-actions,.kbook-shell .workbench-brand,.textbook-editor-app .resource-actions,.textbook-editor-app .workbench-actions,.textbook-editor-app .workbench-brand{align-items:center;display:flex;gap:14px}.kbook-shell .workbench-actions,.textbook-editor-app .workbench-actions{gap:10px}.kbook-shell .workbench-actions .button,.textbook-editor-app .workbench-actions .button{border-radius:6px;font-size:13px;font-weight:700;min-height:36px;padding:0 14px}.kbook-shell .workbench-brand img,.textbook-editor-app .workbench-brand img{height:30px;max-width:142px;width:auto}.kbook-shell .workbench-brand strong,.textbook-editor-app .workbench-brand strong{color:#2563eb;font-size:18px}.kbook-shell .user-avatar,.textbook-editor-app .user-avatar{align-items:center;background:linear-gradient(135deg,#43b3ff,#2563eb);border:0;border-radius:50%;box-shadow:0 0 0 1px rgba(37,99,235,.2);color:#fff;cursor:pointer;display:inline-grid;font-size:12px;font-weight:800;height:24px;min-height:24px;padding:0;place-items:center;width:24px}.kbook-shell .workbench-shell,.textbook-editor-app .workbench-shell{display:grid;grid-template-columns:238px minmax(0,1fr);height:calc(100vh - 78px);min-height:0;overflow:hidden}.kbook-shell .workbench-sidebar,.textbook-editor-app .workbench-sidebar{background:#fff;border-right:1px solid rgba(15,23,42,.08);display:flex;flex-direction:column;gap:8px;min-height:0;overflow:hidden;padding:18px 12px 16px}.kbook-shell .side-menu,.textbook-editor-app .side-menu{background:transparent;border:0;border-radius:8px;color:#202735;cursor:pointer;font-size:16px;font-weight:400;min-height:46px;padding:0 16px;text-align:left;text-decoration:none;width:100%}.kbook-shell .side-menu.has-icon,.textbook-editor-app .side-menu.has-icon{align-items:center;display:flex;gap:8px}.kbook-shell .side-menu-icon,.textbook-editor-app .side-menu-icon{color:#7a8aa3;flex:0 0 18px;height:18px;opacity:.9;position:relative;width:18px}.kbook-shell .side-menu:hover .side-menu-icon,.textbook-editor-app .side-menu:hover .side-menu-icon{color:#2f6df0;opacity:1}.kbook-shell .side-menu.active,.textbook-editor-app .side-menu.active{background:#2f70ed;box-shadow:0 12px 24px rgba(47,112,237,.22);color:#fff;font-weight:400}.kbook-shell .side-menu.active .side-menu-icon,.textbook-editor-app .side-menu.active .side-menu-icon{color:#fff;filter:drop-shadow(0 3px 6px rgba(10,38,102,.18));opacity:1;transform:scale(1.04)}.kbook-shell .side-menu-icon-image,.textbook-editor-app .side-menu-icon-image{border:1.5px solid;border-radius:5px}.kbook-shell .side-menu-icon-image:before,.textbook-editor-app .side-menu-icon-image:before{background:currentColor;border-radius:50%;content:"";height:4px;position:absolute;right:4px;top:4px;width:4px}.kbook-shell .side-menu-icon-image:after,.textbook-editor-app .side-menu-icon-image:after{border-bottom:1.5px solid;border-left:1.5px solid;border-radius:1px;bottom:3px;content:"";height:5px;left:3px;position:absolute;right:3px;transform:skewX(-18deg)}.kbook-shell .side-menu-icon-data,.textbook-editor-app .side-menu-icon-data{border-bottom:1.5px solid;border-left:1.5px solid}.kbook-shell .side-menu-icon-data:after,.kbook-shell .side-menu-icon-data:before,.textbook-editor-app .side-menu-icon-data:after,.textbook-editor-app .side-menu-icon-data:before{background:currentColor;border-radius:2px 2px 0 0;bottom:0;content:"";position:absolute;width:3px}.kbook-shell .side-menu-icon-data:before,.textbook-editor-app .side-menu-icon-data:before{height:8px;left:5px}.kbook-shell .side-menu-icon-data:after,.textbook-editor-app .side-menu-icon-data:after{height:13px;right:3px}.kbook-shell .workbench-main,.textbook-editor-app .workbench-main{min-height:0;overflow:auto;padding:20px 24px 30px;scrollbar-color:transparent transparent;scrollbar-width:thin}.kbook-shell .workbench-main:hover,.textbook-editor-app .workbench-main:hover{scrollbar-color:#c6d2e2 transparent}.kbook-shell .resource-head,.textbook-editor-app .resource-head{align-items:center;background:#fff;border-radius:8px;box-shadow:0 10px 30px rgba(15,23,42,.05);display:flex;flex:0 0 auto;gap:20px;justify-content:space-between;margin-bottom:14px;min-height:82px;padding:16px 20px}.kbook-shell .resource-head h1,.textbook-editor-app .resource-head h1{font-size:22px;margin:0 0 4px}.kbook-shell .resource-head p,.textbook-editor-app .resource-head p{color:#64748b;font-size:13px;margin:0}.kbook-shell .resource-actions,.textbook-editor-app .resource-actions{gap:10px}.kbook-shell .resource-actions .button,.textbook-editor-app .resource-actions .button{border-radius:5px;font-size:12px;justify-content:center;min-height:40px;min-width:118px}.kbook-shell .resource-actions .button.primary,.textbook-editor-app .resource-actions .button.primary{background:#2f6df0;border-color:#2f6df0;color:#fff}.kbook-shell .kbook-list-state{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:8px;color:#64748b;display:grid;font-size:13px;grid-gap:6px;gap:6px;margin-bottom:14px;padding:14px 16px}.kbook-shell .kbook-list-state strong{color:#172033;font-size:15px}.kbook-shell .kbook-list-state.error{background:#fff7ed;border-color:rgba(234,88,12,.22);color:#9a3412;font-weight:700}.kbook-shell .textbook-list,.textbook-editor-app .textbook-list{align-content:start;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px;padding:0 0 24px}.kbook-shell .textbook-item,.textbook-editor-app .textbook-item{background:#fff;border:0;border-radius:8px;box-shadow:0 18px 45px rgba(18,32,56,.08);display:grid;grid-gap:14px;gap:14px;grid-template-columns:160px minmax(0,1fr);min-height:228px;overflow:hidden;padding:14px;position:relative;transition:box-shadow .16s ease,transform .16s ease}.kbook-shell .textbook-item.is-clickable,.textbook-editor-app .textbook-item.is-clickable{cursor:pointer}.kbook-shell .textbook-item.is-clickable:hover,.textbook-editor-app .textbook-item.is-clickable:hover{box-shadow:0 22px 52px rgba(18,32,56,.12);transform:translateY(-1px)}.kbook-shell .textbook-item.is-clickable:focus-visible,.textbook-editor-app .textbook-item.is-clickable:focus-visible{box-shadow:0 0 0 3px rgba(47,112,237,.2),0 18px 45px rgba(18,32,56,.08);outline:none}.kbook-shell .textbook-cover,.textbook-editor-app .textbook-cover{align-self:stretch;border-radius:8px;color:#fff;display:grid;grid-template-rows:auto 1fr auto auto;overflow:hidden;padding:14px;position:relative}.kbook-shell .textbook-cover:before,.textbook-editor-app .textbook-cover:before{background:rgba(255,255,255,.24);content:"";height:190%;left:-28%;position:absolute;top:-45%;transform:rotate(32deg);width:62%}.kbook-shell .textbook-cover.blue,.textbook-editor-app .textbook-cover.blue{background:linear-gradient(160deg,#eff8ff,#7cc9ed 45%,#1f6fb8);color:#243044}.kbook-shell .textbook-cover.cyan,.textbook-editor-app .textbook-cover.cyan{background:linear-gradient(160deg,#4bb3c7,#9bd9e7 50%,#eefbff);color:#13233a}.kbook-shell .textbook-cover.indigo,.textbook-editor-app .textbook-cover.indigo{background:linear-gradient(160deg,#1f2a44,#2563eb 52%,#c8e7ff)}.kbook-shell .textbook-cover.image-cover,.textbook-editor-app .textbook-cover.image-cover{background:#172033;color:#fff}.kbook-shell .textbook-cover.image-cover:before,.textbook-editor-app .textbook-cover.image-cover:before{background:linear-gradient(180deg,rgba(15,23,42,.12),rgba(15,23,42,.76));height:auto;inset:0;left:0;top:0;transform:none;width:auto;z-index:1}.kbook-shell .textbook-cover-image,.textbook-editor-app .textbook-cover-image{height:100%;inset:0;object-fit:cover;position:absolute;width:100%;z-index:0}.kbook-shell .textbook-cover.image-cover .cover-title,.textbook-editor-app .textbook-cover.image-cover .cover-title{align-self:center;grid-row:1/-1;justify-self:center;text-shadow:0 2px 12px rgba(15,23,42,.45);z-index:2}.kbook-shell .cover-title,.textbook-editor-app .cover-title{align-items:center;display:flex;justify-content:center;position:relative;text-align:center;z-index:1}.kbook-shell .cover-title strong,.textbook-editor-app .cover-title strong{font-size:20px;line-height:2;max-width:132px}.kbook-shell .cover-scene,.textbook-editor-app .cover-scene{align-items:center;background:rgba(255,255,255,.28);border-radius:8px;display:flex;height:58px;justify-content:center;margin:10px 0;position:relative;z-index:1}.kbook-shell .textbook-info,.textbook-editor-app .textbook-info{display:grid;grid-gap:9px;gap:9px;min-width:0;padding:2px 4px 0 0}.kbook-shell .textbook-info h2,.textbook-editor-app .textbook-info h2{color:#172033;font-size:17px;font-weight:800;line-height:1.25;margin:0 0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kbook-shell .textbook-author,.textbook-editor-app .textbook-author{color:#64748b;font-size:12px;line-height:1.45;margin:0}.kbook-shell .textbook-intro,.textbook-editor-app .textbook-intro{color:#64748b;display:-webkit-box;font-size:12px;line-height:1.58;margin:0;max-width:720px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4}.kbook-shell .textbook-meta,.textbook-editor-app .textbook-meta{align-items:center;color:#64748b;display:flex;flex-wrap:wrap;font-size:12px;gap:8px}.kbook-shell .textbook-meta span,.textbook-editor-app .textbook-meta span{align-items:center;display:inline-flex;gap:4px}.kbook-shell .publish-status,.textbook-editor-app .publish-status{border-radius:999px;font-size:12px;font-weight:800;min-height:24px;padding:0 10px}.kbook-shell .publish-status.published,.textbook-editor-app .publish-status.published{background:#e8f8f0;color:#138356}.kbook-shell .publish-status.draft,.textbook-editor-app .publish-status.draft{background:#fff5dc;color:#a66b00}.kbook-shell .textbook-footer,.textbook-editor-app .textbook-footer{align-items:center;display:flex;justify-content:flex-end;gap:10px;margin-top:auto}.kbook-shell .textbook-card-author,.textbook-editor-app .textbook-card-author{color:#64748b;flex:1 1 auto;font-size:12px;line-height:1.45;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kbook-shell .textbook-card-actions,.textbook-editor-app .textbook-card-actions{flex:0 0 auto;position:relative;z-index:8}.kbook-shell .textbook-card-more,.textbook-editor-app .textbook-card-more{align-items:center;background:transparent;border:0;border-radius:8px;color:#172033;cursor:pointer;display:inline-flex;height:34px;justify-content:center;padding:0;width:38px}.kbook-shell .textbook-card-more:focus-visible,.kbook-shell .textbook-card-more:hover,.textbook-editor-app .textbook-card-more:focus-visible,.textbook-editor-app .textbook-card-more:hover{background:#eef4ff;color:#2f70ed;outline:none}.kbook-shell .textbook-card-menu,.textbook-editor-app .textbook-card-menu{background:#fff;border:1px solid #e7ebf1;border-radius:8px;bottom:calc(100% + 8px);box-shadow:0 18px 36px rgba(15,23,42,.16);display:grid;grid-gap:2px;gap:2px;min-width:116px;padding:6px;position:absolute;right:0;z-index:12}.kbook-shell .textbook-card-menu-item,.textbook-editor-app .textbook-card-menu-item{align-items:center;background:transparent;border:0;border-radius:6px;color:#172033;cursor:pointer;display:flex;font:inherit;font-size:14px;gap:8px;min-height:34px;padding:0 10px;text-align:left;white-space:nowrap}.kbook-shell .textbook-card-menu-item:focus-visible,.kbook-shell .textbook-card-menu-item:hover,.textbook-editor-app .textbook-card-menu-item:focus-visible,.textbook-editor-app .textbook-card-menu-item:hover{background:#f4f7fb;outline:none}.kbook-shell .textbook-card-menu-item.danger,.textbook-editor-app .textbook-card-menu-item.danger{color:#e5484d}.kbook-shell .textbook-card-menu-item:disabled,.textbook-editor-app .textbook-card-menu-item:disabled{cursor:not-allowed;opacity:.54}.kbook-shell .kbook-delete-layer{align-items:center;background:rgba(15,23,42,.42);display:flex;inset:0;justify-content:center;padding:24px;position:fixed;z-index:34}.kbook-shell .kbook-delete-dialog{background:#fff;border-radius:16px;box-shadow:0 28px 64px rgba(15,23,42,.18);color:#1d2433;font-size:13px;max-height:min(760px,calc(100vh - 32px));overflow:auto;padding:18px;position:relative;width:min(520px,calc(100vw - 32px))}.kbook-shell .kbook-delete-dialog h2{color:#1d2433;font-size:18px;line-height:1.25;margin:0 44px 12px 0}.kbook-shell .kbook-delete-body{display:grid;grid-gap:12px;gap:12px}.kbook-shell .kbook-delete-desc{color:#64748b;font-size:13px;line-height:1.5;margin:0}.kbook-shell .kbook-delete-dialog .modal-close{align-items:center;background:rgba(148,163,184,.14);border:0;border-radius:999px;color:#1d2433;cursor:pointer;display:flex;font-family:Arial,Helvetica,sans-serif;font-size:22px;height:34px;justify-content:center;line-height:1;padding:0;position:absolute;right:16px;top:16px;width:34px}.kbook-shell .kbook-delete-dialog .modal-close:hover{background:rgba(148,163,184,.22)}.kbook-shell .kbook-delete-dialog .modal-close:disabled{cursor:not-allowed;opacity:.48}.kbook-shell .kbook-delete-dialog .modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:12px}.kbook-shell .kbook-delete-dialog .modal-actions .button{border-radius:999px;font-size:13px;font-weight:700;height:40px;min-height:40px;min-width:0;padding:0 16px}.kbook-shell .kbook-delete-dialog .button.danger{background:#e5484d;border-color:#e5484d;color:#fff}.kbook-shell .kbook-publish-options{border:1px solid #e1e6ef;border-radius:10px;display:grid;grid-gap:0;gap:0;overflow:hidden}.kbook-shell .kbook-publish-options label{align-items:center;color:#172033;cursor:pointer;display:flex;font-size:15px;font-weight:700;gap:10px;min-height:52px;padding:0 14px}.kbook-shell .kbook-publish-options label+label{border-top:1px solid #e7ebf1}.kbook-shell .kbook-publish-options label:hover{background:#f7faff}.kbook-shell .kbook-publish-options input{accent-color:#2f6df0;height:18px;width:18px}.kbook-shell .kbook-delete-dialog .button:disabled{cursor:not-allowed;opacity:.54}.kbook-shell #generator-modal.modal-shell{align-items:center;display:flex;inset:0;justify-content:center;padding:24px;position:fixed;z-index:30}.kbook-shell #generator-modal .modal-backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:rgba(15,23,42,.28);inset:0;position:absolute}.kbook-shell #generator-modal .modal-card{background:#fff;border-radius:16px;box-shadow:0 28px 64px rgba(15,23,42,.18);color:#1d2433;font-size:13px;max-height:min(760px,calc(100vh - 32px));overflow:auto;padding:18px;position:relative;width:min(540px,calc(100vw - 32px));z-index:1}.kbook-shell #generator-modal .modal-head{align-items:flex-start;display:flex;gap:12px;justify-content:space-between;margin-bottom:12px}.kbook-shell #generator-modal .modal-head h2{font-size:18px;line-height:1.25;margin:0}.kbook-shell #generator-modal .modal-close{align-items:center;background:rgba(148,163,184,.14);border:0;border-radius:999px;color:#1d2433;cursor:pointer;display:flex;font-family:Arial,Helvetica,sans-serif;font-size:22px;height:34px;justify-content:center;line-height:1;padding:0;width:34px}.kbook-shell #generator-modal .modal-close:hover{background:rgba(148,163,184,.22)}.kbook-shell #generator-modal .modal-form{display:grid;grid-gap:12px;gap:12px;grid-template-columns:1fr}.kbook-shell #generator-modal .form-field{display:grid;grid-gap:6px;gap:6px}.kbook-shell #generator-modal .form-field span{font-size:13px;font-weight:700}.kbook-shell #generator-modal .form-field input,.kbook-shell #generator-modal .form-field textarea{background:#f8fafc;border:1px solid rgba(148,163,184,.22);border-radius:8px;color:#1d2433;font:inherit;font-size:13px;padding:10px 12px;width:100%}.kbook-shell #generator-modal .form-field input:focus,.kbook-shell #generator-modal .form-field textarea:focus{border-color:#8fb8ff;outline:none}.kbook-shell #generator-modal .prompt-field textarea{min-height:94px;resize:vertical}.kbook-shell #generator-modal .file-field input[type=file]{background:transparent;border:0;cursor:pointer;height:100%;inset:0;opacity:0;padding:0;position:absolute;width:100%}.kbook-shell #generator-modal .file-picker{align-items:center;background:#fbfcff;border:1px solid rgba(148,163,184,.26);border-radius:6px;color:#1d2433;display:grid;grid-gap:10px;gap:10px;grid-template-columns:auto minmax(0,1fr);min-height:38px;padding:4px 10px 4px 4px;position:relative;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.kbook-shell #generator-modal .file-picker:hover{background:#fff;border-color:rgba(37,99,235,.36);box-shadow:0 0 0 3px rgba(37,99,235,.08)}.kbook-shell #generator-modal .file-button{align-items:center;background:rgba(37,99,235,.1);border-radius:4px;color:#1d4ed8;display:inline-flex;font-size:12px;font-weight:800;justify-content:center;min-height:28px;padding:0 12px;white-space:nowrap}.kbook-shell #generator-modal .file-name{color:#667085;font-size:12px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kbook-shell #generator-modal .form-note{color:#667085;font-size:13px;line-height:1.5}.kbook-shell #generator-modal .form-note-error{background:rgba(254,226,226,.7);border:1px solid rgba(220,38,38,.2);border-radius:10px;color:#b91c1c;font-weight:700;padding:10px 12px}.kbook-shell #generator-modal .modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:0}.kbook-shell #generator-modal .primary-btn,.kbook-shell #generator-modal .secondary-btn{border-radius:999px;cursor:pointer;font:inherit;font-weight:700;height:40px;padding:0 16px}.kbook-shell #generator-modal .modal-close:disabled,.kbook-shell #generator-modal .primary-btn:disabled,.kbook-shell #generator-modal .secondary-btn:disabled{cursor:not-allowed;opacity:.48}.kbook-shell #generator-modal .primary-btn{background:#2f70ed;border:1px solid transparent;color:#fff}.kbook-shell #generator-modal .secondary-btn{background:#fff;border:1px solid rgba(148,163,184,.22);color:#1d2433}@media (max-width:1180px){.kbook-shell .textbook-list,.textbook-editor-app .textbook-list{grid-template-columns:1fr}.kbook-shell .textbook-item,.textbook-editor-app .textbook-item{grid-template-columns:200px minmax(0,1fr)}.kbook-shell .textbook-info h2,.textbook-editor-app .textbook-info h2{font-size:18px}.kbook-shell .textbook-intro,.textbook-editor-app .textbook-intro{font-size:13px}}@media (max-width:900px){.kbook-shell .workbench-topbar,.textbook-editor-app .workbench-topbar{height:auto;min-height:64px;padding:14px 18px}.kbook-shell .workbench-shell,.textbook-editor-app .workbench-shell{grid-template-columns:1fr;height:auto;min-height:calc(100vh - 64px);overflow:visible}.kbook-shell .workbench-main,.kbook-shell .workbench-sidebar,.textbook-editor-app .workbench-main,.textbook-editor-app .workbench-sidebar{overflow:visible}.kbook-shell .workbench-sidebar,.textbook-editor-app .workbench-sidebar{border-bottom:1px solid rgba(15,23,42,.08);border-right:0}.kbook-shell .textbook-item,.textbook-editor-app .textbook-item{grid-template-columns:1fr}.kbook-shell .textbook-cover,.textbook-editor-app .textbook-cover{max-width:360px}}@media (max-width:640px){.kbook-shell #generator-modal.modal-shell{padding:16px}.kbook-shell .resource-actions,.kbook-shell .resource-head,.kbook-shell .workbench-actions,.kbook-shell .workbench-topbar,.textbook-editor-app .resource-actions,.textbook-editor-app .resource-head,.textbook-editor-app .workbench-actions,.textbook-editor-app .workbench-topbar{align-items:stretch;flex-direction:column}.kbook-shell .button,.kbook-shell .resource-actions,.kbook-shell .workbench-actions,.textbook-editor-app .button,.textbook-editor-app .resource-actions,.textbook-editor-app .workbench-actions{width:100%}.kbook-shell .workbench-brand,.textbook-editor-app .workbench-brand{align-items:flex-start;flex-direction:column;gap:8px}.kbook-shell .workbench-main,.textbook-editor-app .workbench-main{padding:18px}.kbook-shell .textbook-info h2,.textbook-editor-app .textbook-info h2{font-size:18px;white-space:normal}.kbook-shell .textbook-author,.kbook-shell .textbook-intro,.textbook-editor-app .textbook-author,.textbook-editor-app .textbook-intro{font-size:13px}}