.studio-editor-toolbar,.studio-editor-heading,.studio-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;flex-wrap:wrap}.studio-editor-toolbar>.secondary{white-space:nowrap}.studio-editor-toolbar .actions{margin:0;gap:8px}.studio-editor-toolbar button,.studio-editor-toolbar a{display:inline-flex;align-items:center;gap:7px;font-size:15px;min-height:44px}.writer-shell .studio-main-tabs{padding:6px;gap:6px;border-radius:12px}.studio-main-tabs button{flex:1;border-color:transparent;white-space:nowrap}.writer-shell .editor-panels{max-width:none}.studio-section-heading h2{margin:0}.studio-section-heading p{margin:6px 0 0;font-size:15px}.studio-section-heading label{margin:0;min-width:150px}.chapter-list-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid var(--line)}.chapter-list-controls label{margin:0}.chapter-list-controls>label:last-child{margin-left:auto;display:flex;align-items:center;gap:8px}.chapter-list-controls select{width:auto}.chapter-list-controls p{margin:0;color:var(--muted);font-size:15px}.writer-shell .check-label input{width:18px;height:18px;min-height:0;flex-shrink:0}.chapter-bulk-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px;background:var(--soft);border:1px solid var(--purple);border-radius:10px;margin:14px 0}.chapter-bulk-bar strong{margin-right:auto}.chapter-bulk-bar button{font-size:14px}.studio-chapter-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.studio-chapter-row>input{width:18px;min-height:18px;flex:none}.chapter-number{min-width:28px;text-align:center;color:var(--muted);font-variant-numeric:tabular-nums}.studio-chapter-row .row{padding:0;border:0;flex:1;min-width:0}.chapter-title-link strong{font-size:17px;line-height:1.7;overflow-wrap:anywhere}.chapter-title-link small{margin-top:4px;font-size:14px;color:var(--muted)}.chapter-state.published{color:var(--writer-success)}.chapter-state.scheduled{color:var(--writer-warning)}.chapter-state.draft{color:var(--purple)}.chapter-read-count{display:flex;align-items:center;gap:5px;font-size:14px;color:var(--muted)}.chapter-read-count .icon{width:16px}.studio-chapter-row>button{min-width:40px;min-height:40px}.chapter-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;font-size:15px}.studio-dialog{width:min(760px,calc(100vw - 24px));max-height:85dvh;overflow:auto;padding:24px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:18px;box-shadow:0 20px 80px #0006}.studio-dialog::backdrop{background:#080b18ba;backdrop-filter:blur(4px)}.studio-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.studio-dialog-heading h2{margin:0;font-size:21px}.studio-dialog-heading button{display:grid;place-items:center;min-height:42px;min-width:42px}.studio-dialog form>button[type=submit]{margin-top:16px;min-width:140px}.studio-action-list{display:flex;flex-direction:column;gap:10px}.studio-action-list a,.studio-action-list button{text-align:left;padding:12px}.writer-shell .danger-button{color:var(--writer-danger);border-color:var(--writer-danger);background:var(--writer-danger-bg)}.reorder-list{max-height:50vh;overflow:auto}.reorder-list>div{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding:10px 0}.reorder-list span{flex:1;min-width:0;overflow-wrap:anywhere}.reorder-list button{min-width:40px;min-height:40px}.novel-settings{margin-top:32px;padding-top:24px;border-top:1px solid var(--line)}.studio-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.studio-settings-grid label{min-width:0}.studio-settings-toggles{margin:20px 0}.studio-settings-toggles label{padding:12px;background:var(--bg);border:1px solid var(--line);border-radius:10px}.studio-danger-zone{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:30px;padding-top:24px;border-top:1px solid var(--line)}.studio-danger-zone p{margin:4px 0;font-size:14px}.novel-sales-chart{margin:20px 0 30px;max-height:360px;overflow:auto}.novel-sales-chart>div{display:flex;gap:12px;align-items:center;margin:10px 0;font-size:15px}.novel-sales-chart meter{flex:1;height:18px;accent-color:var(--accent)}.novel-statistics .writer-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.chapter-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px}.chapter-editor-main{min-width:0}.chapter-editor-settings{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:18px;align-self:start}.chapter-publication h3{font-size:18px;margin:8px 0 12px}.chapter-publication h3:not(:first-child){margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.chapter-publication label{font-size:15px}.chapter-publication .muted{font-size:14px}.chapter-publication textarea{min-height:90px}.chapter-save-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.chapter-save-bar [data-save-state]{font-size:14px;color:var(--writer-warning)}.rich-editor{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--bg);font-weight:400}.rich-toolbar{display:flex;gap:4px;flex-wrap:wrap;padding:10px;border-bottom:1px solid var(--line);background:var(--paper)}.rich-toolbar button{min-width:34px;min-height:38px;padding:5px 9px;border-color:transparent}.rich-toolbar button:hover{background:var(--soft);color:var(--purple)}.rich-toolbar [data-format=bold]{font-weight:bold}.rich-toolbar [data-format=italic]{font-style:italic}.rich-toolbar [data-format=underline]{text-decoration:underline}.rich-toolbar [data-format=strikeThrough]{text-decoration:line-through}.rich-content{min-height:420px;padding:24px;font-size:19px;line-height:1.95;outline:none;overflow-wrap:anywhere}.rich-content p,.chapter-preview p{margin:0 0 1.4em}.rich-content ul,.rich-content ol{padding-left:24px}.rich-count{text-align:right;font-size:14px;color:var(--muted);padding:8px 16px}.text-align-left{text-align:left}.text-align-center{text-align:center}.text-align-right{text-align:right}.text-align-justify{text-align:justify}.chapter-preview{font-size:20px;line-height:1.9;overflow-wrap:anywhere}.chapter-preview h1{font-size:26px}.catalog-site .reader article:has(p){white-space:normal}.reader article p{white-space:pre-wrap}.reader article blockquote{border-left:3px solid var(--purple);padding-left:20px}.writer-shell .publish-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:24px 0}.publish-steps button{font-size:14px;min-height:52px;padding:8px}.publish-steps button span{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--bg);margin-right:4px}.batch-file-tools{display:grid;grid-template-columns:1fr 1fr;gap:14px}.batch-file-tools>button{grid-column:1/-1;grid-row:2}.batch-file-tools>label:last-child{grid-column:2;grid-row:1}.batch-drop-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:32px;border:2px dashed var(--line);min-height:160px}.batch-drop-zone>.icon{width:36px;height:36px;color:var(--purple)}.batch-drop-zone>span{font-size:15px;color:var(--muted)}.batch-file-tools.dragging .batch-drop-zone{background:var(--soft);border-color:var(--purple)}.writer-shell .batch-table-wrap{margin:20px 0;max-width:100%;overflow:auto}.writer-shell .batch-table td:last-child{min-width:140px}.writer-shell .batch-table td:last-child button{padding:5px 8px;margin:2px}.batch-free-settings{padding:20px 0}.batch-free-settings>button{margin-top:24px}.writer-shell .batch-controls{gap:16px}.writer-shell .pricing-editor{background:var(--bg);border:1px solid var(--line);border-radius:14px;padding:20px}.writer-shell .price-range{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:10px;align-items:end}.writer-shell .price-range input{min-width:0}.writer-shell .price-range label{min-width:0}.writer-shell .batch-publisher .notice{font-size:15px}.writer-shell .batch-progress-summary{margin-top:20px}#chapter-form .chapter-editor-settings{margin:20px 0}#chapter-form .chapter-publication{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}#chapter-form .chapter-publication>h3{grid-column:1/-1}.studio-dialog .form-error{white-space:normal}.writer-shell button:disabled{cursor:not-allowed}
@media(max-width:1100px){.chapter-editor-layout{grid-template-columns:1fr}.chapter-editor-settings{position:static}.chapter-publication{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.chapter-publication h3,.chapter-publication .muted{grid-column:1/-1}.studio-editor-toolbar .actions{width:100%}.studio-editor-toolbar .actions>*{flex:1 1 40%;justify-content:center}.studio-main-tabs{overflow:auto}.writer-shell .studio-main-tabs>*{flex:0 0 auto}.chapter-read-count{display:none}}
@media(max-width:600px){.studio-chapter-panel,.chapter-editor-panel{padding:14px!important}.studio-chapter-row{gap:8px}.chapter-number{display:none}.chapter-title-link strong{font-size:16px}.chapter-title-link small{font-size:13px}.chapter-list-controls{gap:10px}.chapter-list-controls>label:last-child{width:100%;justify-content:space-between;margin:0}.studio-settings-grid,.chapter-editor-layout{grid-template-columns:1fr}.studio-dialog{padding:18px}.studio-dialog-heading h2{font-size:20px}.chapter-publication,#chapter-form .chapter-publication{display:block}.rich-content{padding:16px;font-size:18px;min-height:360px}.rich-toolbar{gap:2px;padding:6px}.rich-toolbar button{min-width:32px;padding:4px}.chapter-save-bar{flex-wrap:wrap}.chapter-save-bar .primary{flex:1}.chapter-save-bar [data-save-state]{order:3;width:100%}.writer-shell .publish-steps{grid-template-columns:1fr 1fr}.batch-file-tools{grid-template-columns:1fr}.batch-file-tools>label:last-child{grid-column:1;grid-row:auto}.batch-file-tools>button{grid-row:auto}.writer-shell .pricing-editor{padding:14px}.writer-shell .price-range{grid-template-columns:1fr 1fr}.chapter-pagination{font-size:14px;gap:6px}.chapter-pagination button{font-size:14px;padding:8px}.studio-danger-zone{align-items:flex-start;flex-direction:column}.novel-statistics .writer-stats{grid-template-columns:1fr}.studio-editor-heading h1{font-size:24px}.writer-shell .batch-controls{grid-template-columns:1fr}.studio-editor-toolbar .actions>*{font-size:14px}}.hub-tabs{display:flex;gap:8px;margin:0 0 24px;flex-wrap:wrap}.hub-tabs>*{padding:10px 18px;border:1px solid var(--line);border-radius:10px;min-height:44px}.hub-tabs [aria-current],.hub-tabs [aria-pressed=true]{background:var(--soft);border-color:var(--purple);color:var(--purple)}.hub-posts{display:grid;gap:18px}.hub-post-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}.hub-post-meta>span{background:var(--soft);color:var(--purple);padding:4px 10px;border-radius:7px;font-size:14px}.hub-post h2{margin:0 0 16px;font-size:22px}.hub-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.hub-success{color:var(--writer-success,#168052);font-weight:600}.feedback-item{padding:22px 0;border-bottom:1px solid var(--line)}.feedback-item:last-child{border-bottom:0}.feedback-item blockquote{margin:16px 0 0;padding:14px 18px;border-left:3px solid var(--purple);background:var(--soft);border-radius:0 10px 10px 0;font-size:16px}.hub-record,.hub-guide details{border:1px solid var(--line);border-radius:12px;padding:16px 20px;margin:12px 0;background:var(--paper)}.hub-record summary,.hub-guide summary{cursor:pointer;font-weight:600;min-height:28px}.hub-guide details>p{margin-top:18px;line-height:1.9}.hub-guide .secondary{display:inline-flex}.hub-terms{padding:20px;background:var(--bg);border:1px solid var(--line);border-radius:12px;max-height:500px;overflow:auto}.reader-feedback-panel{margin-top:32px}.reader-feedback-panel form{border-top:1px solid var(--line);padding-top:20px}.writer-shell .writer-sidebar nav{gap:8px}.writer-shell .writer-sidebar nav a{padding:11px 10px;font-size:15px;min-height:44px}.writer-shell .writer-sidebar>.primary{margin-bottom:16px}.writer-shell .writer-nav-group>p{margin-top:8px}.hub-income-overview[hidden]{display:none!important}.reader-feedback-panel input,.reader-feedback-panel textarea,.reader-feedback-panel select{max-width:100%}
@media(max-width:600px){.hub-tabs>*{padding:9px 12px;font-size:15px}.hub-post h2{font-size:21px}.hub-post-meta{align-items:flex-start}.hub-record,.hub-guide details{padding:14px}.reader-feedback-panel{padding:18px!important}}
.writer-live-summary{margin-bottom:24px}.writer-today-chart{margin:20px 0}.writer-today-chart svg{display:block;width:100%;max-height:260px}.writer-today-chart figcaption{font-size:14px;color:var(--muted);margin-top:10px}.writer-live-summary>.muted{font-size:14px}
/* Compact story management, with the cover beside a readable description. */
.catalog-site main.writer-compact{padding-top:20px}
.writer-compact .writer-shell{padding:20px;gap:22px;grid-template-columns:210px minmax(0,1fr);border-radius:18px}
.writer-compact .studio-editor-header{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:start;gap:10px;margin:0 0 16px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.writer-compact .studio-back-icon{display:flex;align-items:center;justify-content:center;min-height:40px;padding:0;border:0;color:var(--muted);background:none}
.writer-compact .studio-title-block{min-width:0}
.writer-compact .studio-title-block h1{font-size:21px;line-height:1.55;overflow-wrap:anywhere;margin:4px 0 5px}
.writer-compact .studio-editor-header .actions{gap:6px;flex-wrap:wrap;justify-content:flex-end;margin:0;max-width:410px}
.writer-compact .studio-editor-header .actions>*{font-size:14px;min-height:38px;padding:7px 10px;border-radius:9px;flex:none}
.writer-compact .studio-editor-header .actions .icon{width:16px;height:16px}
.writer-compact .studio-review-details{font-size:14px;color:var(--muted)}
.writer-compact .studio-review-details summary{display:flex;align-items:center;gap:6px 12px;flex-wrap:wrap;cursor:pointer;list-style:none;min-height:26px}
.writer-compact .studio-review-details summary::-webkit-details-marker{display:none}
.writer-compact .studio-review-state{display:inline-flex;align-items:center;gap:6px;color:var(--writer-warning);font-weight:600}
.writer-compact .studio-review-state.is-approved{color:var(--writer-success)}
.writer-compact .studio-review-state i{width:6px;height:6px;background:currentColor;border-radius:50%}
.writer-compact .studio-review-hint{color:var(--purple)}
.writer-compact .studio-review-hint::after{content:' ⌄'}
.writer-compact .studio-review-details[open] .studio-review-hint::after{content:' ⌃'}
.writer-compact .studio-review-body{padding:10px 12px;margin-top:8px;border:1px solid var(--line);border-radius:8px;background:var(--soft);color:var(--ink);font-size:14px;line-height:1.7}
.writer-compact .studio-review-body p{margin:0 0 6px;overflow-wrap:anywhere}
.writer-compact .studio-review-body a{display:inline-block;font-size:14px;min-height:0;padding:0;margin:0;color:var(--purple)}
.writer-compact .studio-review-body button{display:block;margin:8px 0}
.writer-compact .studio-main-tabs{width:fit-content;max-width:100%;padding:4px;gap:4px;margin:0 0 18px;overflow:visible;flex-wrap:wrap}
.writer-compact .studio-main-tabs button{flex:none;min-height:36px;padding:6px 16px;font-size:15px;border-radius:8px}
.writer-compact .writer-content>.studio-chapter-panel{margin-top:0!important;padding:18px!important;border-radius:12px}
.writer-compact .studio-section-heading{margin-bottom:12px;gap:10px}
.writer-compact .studio-section-heading h2{font-size:21px}
.writer-compact .studio-section-heading p{margin:3px 0 0;font-size:14px}
.writer-compact .writer-filters{grid-template-columns:2fr 1fr 1fr;gap:12px}
.writer-compact .writer-filters>label:first-child{grid-column:auto}
.writer-compact .writer-filters label>input,.writer-compact .writer-filters label>select{margin-top:4px}
.writer-compact .writer-content :is(input,select){min-height:40px;padding:8px 12px}
.writer-compact .writer-content :is(input[type=checkbox],input[type=radio]){min-height:0;padding:0}
.writer-compact .chapter-list-controls{padding:8px 0;gap:10px}
.writer-compact .studio-chapter-row{padding:10px 0}
.writer-compact .chapter-pagination{margin-top:12px}
.writer-compact .novel-details-panel{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.writer-compact .novel-details-grid{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px;align-items:start}
.writer-compact .novel-field-title{margin:0 0 8px;font-size:16px;font-weight:600}
.writer-compact .novel-primary-fields{min-width:0}
.writer-compact .novel-primary-fields>label{margin:0 0 14px;font-size:16px}
.writer-compact .novel-primary-fields :is(input,select,textarea){margin-top:6px}
.writer-compact .novel-description-field textarea{height:230px;min-height:200px;padding:12px 14px;line-height:1.85;font-size:17px;resize:vertical}
.writer-compact .novel-field-count{display:block;margin-top:4px;text-align:right;font-size:14px;font-weight:400;color:var(--muted)}
.writer-compact .novel-cover-column .cover-editor{display:flex;flex-direction:column;gap:8px;margin:0}
.writer-compact .novel-cover-column .cover-drop{width:100%;border:1px solid var(--line)!important;border-radius:10px}
.writer-compact .novel-cover-column .novel-change-cover{width:100%;min-height:36px;font-size:14px}
.writer-compact .novel-cover-column .cover-editor>p{margin:0;font-size:13px;line-height:1.7}
.writer-compact .novel-cover-column .cover-adjust{width:100%;margin:0}
.writer-compact .novel-cover-column .cover-adjust label{margin:4px 0;font-size:14px}
.writer-compact .novel-cover-column .cover-adjust input{padding:0;min-height:30px}
.writer-compact .novel-details-panel .source-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;margin:18px 0;padding:16px}
.writer-compact .novel-details-panel .source-fields label{margin:0;font-size:15px;min-width:0}
.writer-compact .novel-details-panel .source-fields label>input,.writer-compact .novel-details-panel .source-fields label>select{margin-top:5px}
.writer-compact .novel-details-panel .source-fields :is(p,.check-label){grid-column:1/-1;margin:0;font-size:14px}
.writer-compact .novel-details-panel .source-fields label:has([name=source_url]){grid-column:1/-1}
.writer-compact .novel-details-panel .source-fields legend{font-size:16px}
.writer-compact .novel-settings{margin-top:22px;padding-top:18px}
.writer-compact .novel-settings h2{font-size:21px;margin-bottom:12px}
.writer-compact .studio-settings-grid{gap:0 16px}
@media(max-width:1250px){
 .writer-compact .studio-editor-header{grid-template-columns:32px minmax(0,1fr)}
 .writer-compact .studio-editor-header .actions{grid-column:2;justify-content:flex-start;max-width:none;width:auto}
 .writer-compact .novel-details-grid{grid-template-columns:170px minmax(0,1fr);gap:18px}
}
@media(max-width:1000px){
 .writer-compact .writer-shell{grid-template-columns:180px minmax(0,1fr);padding:16px;gap:18px}
 .writer-compact .studio-main-tabs button{padding:6px 11px}
 .writer-compact .novel-details-grid{grid-template-columns:145px minmax(0,1fr);gap:16px}
}
@media(max-width:760px){
 .catalog-site main.writer-compact{padding-top:12px}
 .writer-compact .writer-shell{display:block;padding:12px}
 .writer-compact .writer-sidebar{margin-bottom:14px;padding-bottom:14px}
 .writer-compact .writer-identity{padding:0 0 10px}
 .writer-compact .studio-editor-header{gap:6px 8px;margin-bottom:12px;padding-bottom:12px;grid-template-columns:26px minmax(0,1fr)}
 .writer-compact .studio-title-block h1{font-size:19px;margin-top:4px}
 .writer-compact .studio-editor-header .actions{grid-column:1/-1;gap:6px;margin-top:6px}
 .writer-compact .studio-editor-header .actions>*{flex:1 1 calc(50% - 6px);min-height:40px;justify-content:center;font-size:14px;padding:7px 6px}
 .writer-compact .studio-main-tabs{margin-bottom:14px;width:100%;gap:3px}
 .writer-compact .studio-main-tabs button{flex:1 1 auto;font-size:14px;padding:7px 9px;min-height:40px}
 .writer-compact .writer-filters{grid-template-columns:1fr 1fr;gap:10px}
 .writer-compact .writer-filters>label:first-child{grid-column:1/-1}
 .writer-compact .novel-details-grid{grid-template-columns:140px minmax(0,1fr);gap:14px}
 .writer-compact .novel-description-field textarea{min-height:220px;height:260px}
}
@media(max-width:540px){
 .writer-compact .novel-details-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 .writer-compact .novel-cover-column{width:150px;max-width:100%;margin:0 auto}
 .writer-compact .novel-primary-fields>label{margin-bottom:12px}
 .writer-compact .novel-details-panel .source-fields{grid-template-columns:minmax(0,1fr);padding:12px;gap:12px}
 .writer-compact .studio-chapter-panel .studio-section-heading{align-items:flex-start}
 .writer-compact .studio-section-heading h2{font-size:20px}
}@media(min-width:1251px){.writer-compact .studio-editor-header .actions{max-width:none;flex-wrap:nowrap}}