.brand-mark{background:var(--accent);color:#fff;border-radius:11px;flex-shrink:0;place-items:center;width:38px;height:38px;display:inline-grid;box-shadow:0 3px 8px #315d7c20}.brand .brand-mark svg{color:#fff}.author-shell{grid-template-columns:228px minmax(0,1fr);height:100dvh;display:grid;overflow:hidden}.author-sidebar{border-right:1px solid var(--border);z-index:25;background:#fff;flex-direction:column;height:100dvh;min-height:0;padding:29px 16px 16px;display:flex;position:sticky;top:0;overflow-y:auto}.author-sidebar>.brand{gap:11px;padding:0 10px;font-size:19px}.author-sidebar>.brand small{color:#8b99a4;letter-spacing:1px;margin-top:1px;font-size:9px;font-weight:400;display:block}.author-nav-label{color:#8e9ba6;letter-spacing:1px;margin:43px 15px 11px;font-size:10px}.author-navigation{gap:7px;display:grid}.author-nav-item{color:#6f7f8c;border-radius:8px;align-items:center;gap:12px;min-height:46px;padding:11px 15px;font-size:13px;transition:background .16s,color .16s;display:flex}.author-nav-item:hover{color:var(--accent);background:#f7f9fb}.author-nav-item.active{color:var(--accent);background:var(--accent-soft);font-weight:550}.nav-active-dot{background:var(--accent);border-radius:50%;width:5px;height:5px;margin-left:auto}.author-sidebar-bottom{margin-top:auto;padding-top:40px}.author-home-link{color:#808f9c;align-items:center;gap:10px;padding:20px 15px;font-size:11px;display:flex}.author-profile{border-top:1px solid var(--border);align-items:center;gap:10px;padding:17px 4px 0;display:flex}.author-profile strong{font-size:11px;font-weight:500;display:block}.author-profile small{color:#8c9aa5;margin-top:2px;font-size:9px;display:block}.author-profile .button{color:#8f9eab;width:32px;min-width:32px}.author-body{flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.author-content{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;overflow:auto}.author-content:has(>.writing-studio){scrollbar-gutter:auto;overflow:hidden}.author-topbar{border-bottom:1px solid var(--border);background:#fff;flex-shrink:0;align-items:center;gap:15px;min-height:72px;padding:0 36px;display:flex}.author-breadcrumb{color:#8d9aa4;align-items:center;gap:12px;font-size:11px;display:flex}.author-breadcrumb strong{color:#5b6d7c;font-weight:500}.author-menu-toggle.button{display:none}.workspace-top{height:70px;box-shadow:0 2px 8px #2d4b6404}.workspace-top .brand{gap:10px}.workspace-context{border-left-color:#e8eef3}.directory-book{border-bottom:1px solid var(--border);grid-template-columns:42px minmax(0,1fr);align-items:center;column-gap:12px;margin-bottom:8px;padding:16px 8px;display:grid}.directory-book h1{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:16px;line-height:1.5;display:-webkit-box;overflow:hidden}.directory-book p{grid-column:2;margin-top:2px}.directory-book .book-spine{color:#6c95b6;background:#ecf1f5;border-left-color:#c3d5e4;grid-row:1/3;width:42px;height:54px;margin-bottom:0;box-shadow:2px 3px 4px #2d4b6410}.directory .nav-item.active{background:var(--accent-soft)}.directory .nav-item{font-size:13px}.directory .directory-heading{padding-top:16px}.settings-panel{background:#fafcfd;width:100%}.settings-tabs{border:1px solid var(--border);background:#fff;border-radius:12px;width:100%;max-width:100%;padding:25px 28px 32px}.settings-heading .eyebrow{font-size:11px}.editor{background:#fafcfd}.editor-toolbar,.editor-footer,.ai-toolbar{background:#fff}.manuscript{background:#fff;border:1px solid #e6ecf0;border-radius:10px;width:min(830px,100% - 48px);margin:24px auto;padding:35px 48px;box-shadow:0 4px 20px #2f4f6904}.editor-toolbar{height:62px}.editor-footer,.ai-toolbar{padding-block:12px}.ai-toolbar .button{min-height:36px;font-size:12px}.job-page>.workspace-back{display:inline-flex}.job-page>.page-heading h1{font-size:25px}.job-page>.billing-section,.job-page>.billing-balances,.job-page>.consistency-issue{border:1px solid var(--border);background:#fff;border-radius:12px;margin-bottom:20px;padding:24px}.job-page>.billing-balances{padding:25px 30px}.billing-balances dt{color:var(--muted);font-size:12px}.billing-balances dd{color:var(--foreground)}.notice{border-radius:9px}.candidate-section{margin-top:16px}.candidate-section pre{background:#fafcfd;border:1px solid #ebf0f4;border-radius:10px;padding:22px}.settings-tabs [role=tablist]{max-width:100%}.operator-form input,.admin-filters input{min-width:0}@media (max-width:1100px){.author-shell{grid-template-columns:204px minmax(0,1fr)}.author-sidebar{padding-inline:12px}.author-sidebar>.brand{font-size:18px}.author-topbar{padding-inline:28px}}@media (max-width:760px){.author-shell{display:block;position:relative}.author-sidebar{border-right:0;border-bottom:1px solid var(--border);height:auto;max-height:calc(100dvh - 65px);padding:18px 20px;display:none;position:absolute;top:65px;left:0;right:0;overflow-y:auto}.author-sidebar.is-open{display:flex}.author-sidebar>.brand{display:none}.author-nav-label{margin:0 12px 10px}.author-navigation{grid-template-columns:1fr 1fr;gap:8px}.author-sidebar-bottom{padding-top:16px}.author-profile{padding-top:10px}.author-home-link{padding:10px 12px}.author-body{height:100%}.author-topbar{gap:9px;min-height:65px;padding:0 17px}.author-menu-toggle.button{color:#627789;width:35px;min-width:35px;display:inline-flex}.author-breadcrumb{gap:8px;font-size:10px}.author-shell .creation-page{width:100%}.settings-tabs{padding:18px}.manuscript{width:calc(100% - 32px);margin:16px auto;padding:24px}.manuscript-input{min-height:0}.job-page>.billing-section,.job-page>.billing-balances{padding:18px}}@media (max-width:700px){.manuscript{border:0;border-radius:0;width:100%;margin:0;padding:26px 22px 18px}.settings-tabs{border:0;padding:15px 0}.settings-panel{background:#fff}.ai-toolbar{gap:6px;padding-inline:16px}.workspace-top{height:60px}}.workspace-guided-link{color:var(--accent);border:1px solid var(--border);border-radius:8px;align-items:center;gap:8px;min-height:42px;margin-left:auto;padding:0 13px;font-size:12px;display:inline-flex}.workspace-guided-link:hover{background:var(--accent-soft)}@media (max-width:700px){.workspace-top{gap:12px}.workspace-top-novel{display:none}.workspace-guided-link{gap:5px;padding:0 8px;font-size:10px}.workspace-guided-link>svg:last-child{display:none}.workspace-top .brand{gap:8px;font-size:15px}.workspace-top .brand-mark{border-radius:8px;width:30px;height:32px}.workspace-top .brand-mark svg{width:19px}.workspace-top .mobile-toggle{margin-left:0}}.author-jobs{width:min(1120px,100%);padding:32px 36px 50px}.author-jobs>.page-heading{margin:20px 0 28px}.author-jobs .page-heading .muted{margin-top:9px;font-size:12px}.author-job-count{background:var(--accent-soft);color:var(--accent);border-radius:6px;padding:5px 10px;font-size:12px}@media (max-height:640px){.directory{overscroll-behavior:contain;overflow-y:auto}.directory .chapter-list{flex:1 0 140px;min-height:140px}.directory-book{grid-template-columns:minmax(0,1fr);padding-block:12px}.directory-book p{grid-column:1}.directory-book .book-spine{display:none}.directory .nav-item{min-height:36px;padding-block:6px}.editor-toolbar{height:44px}.ai-toolbar{padding-block:4px}.manuscript{border:0;border-radius:0;gap:12px;width:100%;margin:0;padding:12px 22px}.manuscript:has(.chapter-summary){overscroll-behavior:contain;overflow-y:auto}.manuscript:has(.chapter-summary) .manuscript-input{flex-shrink:0;min-height:96px}.chapter-title-field .label{display:none}.chapter-title-field .input{min-height:36px;font-size:18px}.editor-footer{padding-block:5px}}.author-job-list{border:1px solid var(--border);background:#fff;border-radius:12px;overflow:hidden}.author-job-row{border-bottom:1px solid var(--border);align-items:center;gap:18px;padding:23px 26px;transition:background .16s;display:flex}.author-job-row:last-child{border-bottom:0}.author-job-row:hover{background:#fafbfc}.author-job-symbol{color:#81a6c5;background:#f2f5f8;border-radius:10px;flex-shrink:0;place-items:center;width:43px;height:43px;display:grid}.author-job-info{flex:1;min-width:0}.author-job-info h2{margin-bottom:4px;font-size:14px}.author-job-info>span{font-size:11px}.author-job-status{color:#6a849a;white-space:nowrap;background:#eff3f7;border-radius:6px;padding:4px 9px;font-size:11px}.author-job-status[data-status=succeeded]{background:var(--success-soft);color:var(--success)}.author-job-status[data-status=failed],.author-job-status[data-status=interrupted]{color:var(--danger);background:#fff1f0}.author-job-open{color:var(--accent);align-items:center;gap:8px;margin-left:25px;font-size:11px;display:flex}.author-jobs .empty-library{text-align:center;min-height:300px;padding:30px}@media (max-width:700px){.author-jobs{padding:24px 20px 45px}.author-job-row{gap:12px;padding:18px 15px}.author-job-open{display:none}.author-job-symbol{width:34px;height:36px}.author-job-info h2{font-size:13px}.author-job-info>span,.author-job-count,.author-job-status{font-size:10px}}
.app-notice{text-align:left;border-radius:6px;gap:10px;width:100%;min-width:0;padding:12px 14px}.app-notice.alert--danger{box-shadow:none;background:#fff6f6;border:1px solid #f0dadd}.app-notice.alert--warning{box-shadow:none;background:#fffbf2;border:1px solid #eee2c8}.app-notice.alert--success{box-shadow:none;background:#f2f8f4;border:1px solid #dbe9df}.app-notice.alert--accent{box-shadow:none;background:#f7f9fa;border:1px solid #e2e9ef}.app-notice .alert__content{min-width:0}.app-notice .alert__title{margin:0;font-size:13px;font-weight:600;line-height:1.6}.app-notice .alert__description{overflow-wrap:anywhere;font-size:12px;line-height:1.8;display:block}.app-notice .alert__indicator{flex-shrink:0;margin-top:2px}.notice-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.notice-actions .button{white-space:normal;height:auto;min-height:32px;padding:6px 10px;font-size:12px}.state-panel{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;width:100%;min-width:0;padding:42px 24px;display:flex}.state-panel-icon{color:#5d746a;background:#edf3f0;border:1px solid #dde7e1;border-radius:8px;flex-shrink:0;place-items:center;width:48px;height:48px;display:grid}.state-panel--danger .state-panel-icon{color:#ad4955;background:#fbf0f1;border-color:#f0dade}.state-panel--warning .state-panel-icon{color:#92621d;background:#fff5e5;border-color:#efdfc4}.state-panel-copy{min-width:0;max-width:440px}.state-panel .state-panel-copy h3{margin:0;font-size:16px;font-weight:600;line-height:1.6}.state-panel .state-panel-copy p{color:#71777c;overflow-wrap:anywhere;margin:7px 0 0;font-size:13px;line-height:1.8}.state-panel-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.state-panel-actions .button{white-space:normal;border-radius:6px;min-width:94px;height:auto;min-height:36px;padding:8px 14px;font-size:12px}.state-panel--compact{gap:12px;padding:20px 8px}.state-panel--compact .state-panel-icon{width:36px;height:36px}.state-panel--compact .state-panel-copy h3{font-size:14px}.state-panel--compact .state-panel-copy p{font-size:12px}.loading-state{width:100%;min-width:0;padding:30px 12px}.loading-state-label{color:#72797e;justify-content:center;align-items:center;gap:10px;min-height:24px;font-size:13px;display:flex}.loading-state-lines{gap:14px;max-width:560px;margin:26px auto 0;display:grid}.loading-state-line{background:#edeff1;border-radius:6px;height:44px}.loading-state-line:last-child{width:70%}.loading-state--compact{padding:16px 8px}.app-toasts{z-index:1100}.app-toasts .toast{border:1px solid var(--border);border-radius:8px;padding-right:42px;box-shadow:0 8px 30px #27303720}.app-toasts .toast[data-frontmost=true] .toast__close-button{pointer-events:auto;opacity:1;background:0 0;border:0;width:28px;min-width:28px;height:28px;top:9px;right:8px}.app-toasts .toast__content{min-width:0}.app-toasts .toast__title{overflow-wrap:anywhere;font-size:13px;line-height:1.6}.app-toasts .toast__description{overflow-wrap:anywhere;font-size:12px;line-height:1.8}.state-page{gap:12px;min-height:75dvh;padding:40px 20px}.state-page-brand{color:#5f736a;font-size:14px;font-weight:600}.state-page>.state-panel,.state-page>.loading-state{max-width:600px}.state-page-code{color:var(--muted);overflow-wrap:anywhere;font-size:11px}.admin-panel>.state-panel{flex:1;min-height:0}.admin-drawer-feedback{flex-shrink:0;max-height:30dvh;padding:12px 24px;overflow-y:auto}.assistant-conversation>.app-notice,.assistant-job>.app-notice,.assistant-composer>.app-notice{margin-bottom:12px}.candidate-comparison>.app-notice{border-inline:0;border-radius:0}@media (max-width:640px){.state-panel{padding:28px 12px}.state-panel--compact{padding:18px 4px}.app-notice{padding:11px 12px}}@media (prefers-reduced-motion:reduce){.loading-state .skeleton,.loading-state .skeleton:after{animation:none}}
:root{--glass-fill:linear-gradient(145deg, #ffffffd9, #ffffff78 48%, #e3edf5a6);--glass-edge:#ffffffeb;--glass-shadow:inset 0 1px 0 #fff, inset 0 -1px 0 #ffffff80, 0 8px 28px #243c5212;--motion-ease:cubic-bezier(.22, 1, .36, 1)}.author-shell{background:var(--background)}.author-sidebar{background:#f7f9fb}.author-topbar,.workspace-top{-webkit-backdrop-filter:blur(24px)saturate(1.35);backdrop-filter:blur(24px)saturate(1.35);background:#ffffffbd}.author-nav-item,.admin-side-nav a{position:relative}.author-nav-item.active{background:0 0}.author-nav-item>:not(.nav-active-surface){position:relative}.nav-active-surface{border:1px solid var(--glass-edge);background:var(--glass-fill);box-shadow:var(--glass-shadow);border-radius:12px;position:absolute;inset:0}.navigation-pending{border:1.5px solid;border-right-color:#0000;border-radius:50%;width:14px;height:14px;margin-left:auto;animation:.7s linear infinite navigation-spin;display:block}.author-nav-item:has(.navigation-pending) .nav-active-dot{display:none}.route-loading{min-height:0;padding:32px}.author-content>main,.author-content>.library-page{animation:content-enter .22s var(--motion-ease)}.modal__backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#192d4433}.modal__backdrop[data-entering]{animation:.22s ease-out veil-enter}.modal__backdrop[data-exiting]{animation:.16s ease-in veil-exit}.modal__container[data-entering]{animation:dialog-enter .32s var(--motion-ease)}.modal__container[data-exiting]{animation:.18s ease-in dialog-exit}.modal__dialog{border:1px solid var(--glass-edge);box-shadow:0 28px 100px #20374d26,inset 0 1px #fff}.tabs__panel:not([hidden]):not([data-inert]){animation:content-enter .24s var(--motion-ease)}.tabs__panel[hidden],.tabs__panel[data-inert]{display:none}.tabs__indicator{transition-duration:.34s;transition-timing-function:cubic-bezier(.22,1.12,.36,1)}.checkout-view,.profile-close-confirm{animation:content-enter .26s var(--motion-ease)}.studio-plan-body,.editor-summary-sidebar,.assistant-panel{animation:content-enter .24s var(--motion-ease)}.studio-plan .plan-sections{border:1px solid var(--glass-edge);background:#dce6ef80;border-radius:28px;margin:0 20px 12px;padding:5px}.studio-plan .plan-sections button{border-radius:24px;position:relative}.studio-plan .plan-sections button[aria-pressed=true]{box-shadow:none}.plan-sections button>span:not(.plan-selection){position:relative}.plan-selection{background:var(--glass-fill);border:1px solid var(--glass-edge);box-shadow:var(--glass-shadow);border-radius:24px;position:absolute;inset:0}.button:active:not(:disabled),a.button:active{scale:.98}@keyframes content-enter{0%{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes veil-enter{0%{opacity:0}to{opacity:1}}@keyframes veil-exit{0%{opacity:1}to{opacity:0}}@keyframes dialog-enter{0%{opacity:0;transform:translateY(16px)scale(.965)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes dialog-exit{0%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(12px)scale(.975)}}@keyframes drawer-enter{0%{opacity:.4;transform:translate(48px)}to{opacity:1;transform:translate(0)}}@keyframes drawer-exit{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(48px)}}@keyframes navigation-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.modal__backdrop,.modal__container,.tabs__panel,.checkout-view,.profile-close-confirm,.author-content>main,.author-content>.library-page,.navigation-pending{animation:none!important}.tabs__indicator,.button{transition:none!important}.button:active:not(:disabled),a.button:active{scale:none}}
