:root{color:#eceff4;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#1a1d23;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}html{background:#1a1d23;min-width:320px;min-height:100%}body{background:#1a1d23;min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}*{box-sizing:border-box}body{color:#eceff4;background:#1a1d23;margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input{font:inherit}button{color:#fff;cursor:pointer;background:#5e81ac;border:0;border-radius:6px;padding:.65rem .9rem}button:disabled{opacity:.45;cursor:not-allowed}.app{min-height:100vh;display:flex;overflow:hidden}.sidebar{background:#242933;border-right:1px solid #3b4252;flex-direction:column;width:260px;padding:1.25rem;display:flex}.sidebar h1{margin:0 0 1rem;font-size:1.5rem}.status{color:#a3be8c}.sidebar-spacer{flex:1}.total{margin-bottom:1rem}.sync-button{background:#bf616a;font-weight:700}.main{flex:1;padding:1.25rem;overflow-y:auto}.topbar{justify-content:space-between;gap:1rem;margin-bottom:1.25rem;display:flex}.search{color:#eceff4;background:#2e3440;border:1px solid #4c566a;border-radius:6px;outline:none;width:min(520px,100%);padding:.75rem 1rem}.search:focus{border-color:#88c0d0}.pagination{color:#88c0d0;align-items:center;gap:.75rem;font-weight:700;display:flex}.loading{color:#88c0d0}.grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:1.4rem;padding-bottom:2rem;display:grid}.card{cursor:pointer;text-align:center;background:#2e3440;border:2px solid #0000;border-radius:10px;padding:.75rem;transition:transform .15s,background .15s,border .15s}.card:hover,.card.active{background:#3b4252;border-color:#88c0d0;transform:translateY(-4px)}.cover{background:#434c5e;border-radius:6px;justify-content:center;align-items:center;height:220px;margin-bottom:.75rem;display:flex;overflow:hidden}.cover img{object-fit:cover;width:100%;height:100%}.badge{color:#fff;background:#5e81ac;border-radius:4px;margin-bottom:.4rem;padding:.2rem .45rem;font-size:.7rem;display:inline-block}.badge.large{margin:.5rem 0 1rem;font-size:.8rem}.card h2{color:#fff;text-shadow:0 1px 2px #00000073;margin:.55rem 0 .3rem;font-size:.95rem;font-weight:700;line-height:1.2}.card p{color:#d8dee9;margin:0;font-size:.85rem;line-height:1.2}.details{background:#242933;border-left:1px solid #4c566a;width:310px;padding:1.25rem;position:relative;overflow-y:auto}.close{color:#bf616a;background:0 0;padding:.25rem;position:absolute;top:.8rem;right:.8rem}.details-cover{aspect-ratio:2/3;object-fit:cover;background:#434c5e;border-radius:10px;width:100%;margin:2rem 0 1rem}.details h2{color:#88c0d0;margin:0;font-size:1.15rem;line-height:1.2}.details p{color:#d8dee9;margin-top:.35rem}.actions{flex-direction:column;gap:.65rem;margin-top:1.5rem;display:flex}.actions button{text-align:left;background:#3b4252;border:1px solid #4c566a}.actions button:first-child{color:#1a1d23;background:#a3be8c;font-weight:700}@media (width<=900px){.sidebar{display:none}.details{z-index:10;width:min(340px,90vw);position:fixed;inset:0 0 0 auto}.topbar{flex-direction:column}}#root{width:100%;min-height:100vh}a,h1,h2,h3,p{color:inherit}.chapter-panel{z-index:50;background:#1a1d23;flex-direction:column;padding:1.25rem;display:flex;position:fixed;inset:0}.chapter-header{background:#242933;border:1px solid #3b4252;border-radius:10px;justify-content:space-between;align-items:center;margin-bottom:1rem;padding:1rem 1.25rem;display:flex}.chapter-header h2{color:#88c0d0;margin:0 0 .25rem}.chapter-header p{color:#d8dee9;margin:0}.close-chapters{background:#bf616a;font-weight:700}.chapter-layout{flex:1;grid-template-columns:340px 1fr;gap:1rem;min-height:0;display:grid}.chapter-list{background:#242933;border:1px solid #3b4252;border-radius:10px;padding:1rem;overflow-y:auto}.chapter-list h3{color:#eceff4;margin-top:0}.chapter-item{text-align:left;color:#eceff4;background:#2e3440;border:1px solid #4c566a;grid-template-columns:2rem 1fr;align-items:start;gap:.6rem;width:100%;margin-bottom:.5rem;display:grid}.chapter-item span{color:#88c0d0;font-weight:700}.chapter-item strong{font-weight:600;line-height:1.25}.chapter-item:hover,.chapter-item.selected{background:#3b4252;border-color:#88c0d0}.chapter-text{background:#242933;border:1px solid #3b4252;border-radius:10px;min-width:0;padding:1.25rem;overflow-y:auto}.chapter-text h3{color:#a3be8c;margin-top:0}.chapter-text pre{white-space:pre-wrap;word-wrap:break-word;color:#eceff4;margin:0;font-family:Georgia,Times New Roman,serif;font-size:1.05rem;line-height:1.65}@media (width<=900px){.chapter-layout{grid-template-columns:1fr}.chapter-list{max-height:280px}}.studio-panel{z-index:60;background:#1a1d23;flex-direction:column;padding:1.25rem;display:flex;position:fixed;inset:0}.studio-layout{flex:1;grid-template-columns:300px minmax(320px,1fr) minmax(420px,1.25fr);gap:1rem;min-height:0;display:grid}.source-column,.script-column{background:#242933;border:1px solid #3b4252;border-radius:10px;flex-direction:column;min-width:0;padding:1rem;display:flex}.studio-toolbar{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem;display:flex}.studio-toolbar h3{color:#eceff4;margin:0}.toolbar-actions{align-items:center;gap:.75rem;display:flex}.toolbar-actions span{color:#a3be8c;font-size:.9rem}.source-textarea{resize:none;color:#eceff4;background:#2e3440;border:1px solid #4c566a;border-radius:8px;outline:none;flex:1;min-height:0;padding:1rem;font-family:Georgia,Times New Roman,serif;font-size:1rem;line-height:1.55}.source-textarea:focus{border-color:#88c0d0}.script-blocks{flex:1;min-height:0;padding-right:.25rem;overflow-y:auto}.empty-script{color:#88c0d0}.script-block{background:#2e3440;border-left:4px solid #4c566a;border-radius:8px;margin-bottom:.75rem;padding:.8rem}.script-block.dialogue{border-left-color:#a3be8c}.script-block.narration{border-left-color:#5e81ac}.script-block-header{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.5rem;display:flex}.script-block-header span{text-transform:uppercase;color:#88c0d0;font-size:.78rem;font-weight:700}.script-block-header input{color:#eceff4;background:#242933;border:1px solid #4c566a;border-radius:6px;width:180px;padding:.45rem .6rem}.script-block textarea{resize:vertical;color:#eceff4;background:#242933;border:1px solid #4c566a;border-radius:6px;width:100%;min-height:72px;padding:.65rem;font-family:inherit;line-height:1.45}.script-block textarea:focus,.script-block-header input:focus{border-color:#88c0d0;outline:none}@media (width<=1200px){.studio-layout{grid-template-columns:260px 1fr}.script-column{grid-column:1/-1}}@media (width<=800px){.studio-layout{grid-template-columns:1fr}.chapter-list{max-height:220px}}.studio-panel{height:100vh;overflow:hidden}.studio-layout{flex:1;height:calc(100vh - 120px);min-height:0;overflow:hidden}.source-column,.script-column,.chapter-list{min-height:0;overflow:hidden}.script-column{flex-direction:column;display:flex}.script-blocks{flex:1;min-height:0;padding-bottom:2rem;padding-right:.5rem;overflow-y:auto}.source-textarea{min-height:0;overflow-y:auto}.chapter-list{overflow-y:auto}.book-id{color:#88c0d0;margin-top:.25rem;font-size:.8rem}.modal-backdrop{z-index:100;background:#000000c7;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.edit-modal{background:#242933;border:1px solid #4c566a;border-radius:12px;width:min(460px,100%);padding:1.25rem;box-shadow:0 18px 45px #00000073}.edit-modal h2{color:#88c0d0;margin:0 0 1rem}.edit-modal label{color:#d8dee9;flex-direction:column;gap:.35rem;margin-bottom:.85rem;font-size:.9rem;display:flex}.edit-modal input{color:#eceff4;background:#2e3440;border:1px solid #4c566a;border-radius:6px;padding:.65rem .75rem}.edit-modal input:focus{border-color:#88c0d0;outline:none}.modal-actions{justify-content:flex-end;gap:.75rem;margin-top:1rem;display:flex}.secondary-button{background:#3b4252}.voice-select{color:#eceff4;background:#2e3440;border:1px solid #4c566a;border-radius:6px;max-width:280px;padding:.55rem .65rem}.voice-select:focus{border-color:#88c0d0;outline:none}.audio-voice-info{font-size:.85rem;color:#88c0d0!important;margin-top:-.25rem!important}.casting-modal{background:#242933;border:1px solid #4c566a;border-radius:12px;flex-direction:column;width:min(760px,96vw);max-height:86vh;padding:1.25rem;display:flex;box-shadow:0 18px 45px #00000073}.casting-modal h2{color:#b48ead;margin:0 0 .5rem}.casting-help{color:#d8dee9;margin:0 0 1rem;font-size:.9rem}.casting-list{margin-bottom:1rem;padding-right:.25rem;overflow-y:auto}.casting-row{border-bottom:1px solid #3b4252;grid-template-columns:180px 1fr;align-items:center;gap:.75rem;padding:.65rem 0;display:grid}.casting-row strong{color:#eceff4;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.casting-select{width:100%;max-width:100%}@media (width<=700px){.casting-row{grid-template-columns:1fr}}.script-block-tools{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.45rem;display:flex}.script-block-tools button{color:#eceff4;background:#4c566a;border:1px solid #5e81ac;padding:.4rem .55rem;font-size:.78rem}.script-block-tools button:disabled{opacity:.35;cursor:not-allowed}.script-block-tools input{width:180px}@media (width<=900px){.script-block-tools{justify-content:flex-start}.script-block-tools input{width:100%}}.audio-completed-actions{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.audio-folder-button{color:#1a1d23;background:#a3be8c;border-radius:6px;padding:.55rem .8rem;font-weight:700;text-decoration:none;display:inline-block}.toolbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.55rem;display:flex}.toolbar-actions .voice-select{color:#eceff4;background:#2e3440;border:1px solid #5e81ac;border-radius:8px;max-width:280px;height:42px;padding:0 .75rem;font-size:.9rem}.toolbar-actions button{white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:.35rem;min-height:42px;padding:.45rem .8rem;font-size:.9rem;font-weight:700;display:inline-flex}.toolbar-actions .casting-button{color:#1a1d23;background:#b48ead}.toolbar-actions button:not(.casting-button):not(.audio-button):not(.merge-button){color:#fff;background:#5e81ac}.toolbar-actions .audio-button{color:#1a1d23;background:#a3be8c}.toolbar-actions .merge-button{color:#1a1d23;background:#ebcb8b}.toolbar-actions>span{color:#a3be8c;max-width:150px;font-size:.85rem;line-height:1.2}@media (width<=1300px){.studio-toolbar{align-items:flex-start}.toolbar-actions{justify-content:flex-start}.toolbar-actions .voice-select{max-width:100%}}.search-wrapper{width:min(520px,100%);position:relative}.search-wrapper .search{width:100%;padding-right:2.6rem}.clear-search-button{color:#eceff4;background:#4c566a;border-radius:999px;width:30px;height:30px;min-height:30px;padding:0;font-weight:800;line-height:1;position:absolute;top:50%;right:.45rem;transform:translateY(-50%)}.clear-search-button:hover{background:#bf616a}.pronunciation-modal{background:#242933;border:1px solid #4c566a;border-radius:12px;flex-direction:column;width:min(820px,96vw);max-height:86vh;padding:1.25rem;display:flex;box-shadow:0 18px 45px #00000073}.pronunciation-modal h2{color:#88c0d0;margin:0 0 .5rem}.pronunciation-help{color:#d8dee9;margin:0 0 1rem;font-size:.9rem}.pronunciation-form{border-bottom:1px solid #3b4252;grid-template-columns:1fr 1fr auto auto;align-items:end;gap:.75rem;margin-bottom:1rem;padding-bottom:1rem;display:grid}.pronunciation-form label{color:#d8dee9;flex-direction:column;gap:.35rem;font-size:.9rem;display:flex}.pronunciation-form input[type=text],.pronunciation-form input:not([type]){color:#eceff4;background:#2e3440;border:1px solid #4c566a;border-radius:6px;padding:.65rem .75rem}.pronunciation-check{align-items:center;padding-bottom:.55rem;flex-direction:row!important}.pronunciation-list{padding-right:.25rem;overflow-y:auto}.pronunciation-row{border-bottom:1px solid #3b4252;grid-template-columns:1fr auto;align-items:center;gap:.75rem;padding:.7rem 0;display:grid}.pronunciation-row.disabled{opacity:.45}.pronunciation-row strong{color:#eceff4}.pronunciation-row span{color:#88c0d0;margin:0 .5rem}.pronunciation-row em{color:#a3be8c;font-style:normal;font-weight:700}.pronunciation-actions{gap:.5rem;display:flex}.pronunciation-actions button{color:#eceff4;background:#4c566a;padding:.45rem .65rem;font-size:.85rem}.danger-button{color:#fff!important;background:#bf616a!important}@media (width<=900px){.pronunciation-form,.pronunciation-row{grid-template-columns:1fr}.pronunciation-actions{justify-content:flex-start}}.studio-toolbar-stacked{flex-direction:column;align-items:stretch;gap:.75rem;display:flex}.studio-title-row{justify-content:space-between;align-items:center;gap:1rem;display:flex}.studio-status{color:#a3be8c;font-size:.9rem}.studio-tabs{border-bottom:1px solid #3b4252;flex-wrap:wrap;gap:.45rem;padding-bottom:.6rem;display:flex}.studio-tabs button{color:#d8dee9;background:#2e3440;border:1px solid #4c566a;border-radius:8px;min-height:36px;padding:.45rem .8rem;font-weight:700}.studio-tabs button.active{color:#1a1d23;background:#88c0d0;border-color:#88c0d0}.studio-tab-panel{background:#2e3440;border:1px solid #3b4252;border-radius:10px;flex-wrap:wrap;align-items:center;gap:.65rem;margin-bottom:.8rem;padding:.75rem;display:flex}.studio-tab-panel button{border-radius:8px;min-height:38px;padding:.45rem .75rem;font-size:.9rem;font-weight:700}.voice-label{color:#d8dee9;flex-direction:column;gap:.35rem;font-size:.85rem;display:flex}.tools-help{color:#d8dee9;margin:0}.toolbar-actions{display:none}.unify-button{color:#1a1d23;background:#d08770;font-weight:700}.pronunciation-button{color:#1a1d23;background:#88c0d0;font-weight:700}.casting-button{color:#1a1d23;background:#b48ead;font-weight:700}.audio-button{color:#1a1d23;background:#a3be8c;font-weight:700}.merge-button{color:#1a1d23;background:#ebcb8b;font-weight:700}@media (width<=900px){.studio-title-row{flex-direction:column;align-items:flex-start}.studio-tab-panel{align-items:stretch}.studio-tab-panel button,.studio-tab-panel .voice-select{width:100%}}.chapter-status{opacity:.95;justify-content:flex-end;gap:.25rem;min-width:3.2rem;font-size:.95rem;display:inline-flex}.chapter-status.empty{color:#4c566a}.chapter-item{grid-template-columns:2rem 1fr auto}.script-block-tools .toggle-type-button{color:#1a1d23;background:#88c0d0;border-color:#88c0d0;font-weight:700}.tools-panel{margin-bottom:.8rem}.detect-names-button{color:#1a1d23;background:#81a1c1;font-weight:700}.candidate-list{background:#2e3440;border:1px solid #3b4252;border-radius:10px;max-height:260px;padding:.5rem .75rem;overflow-y:auto}.candidate-row{border-bottom:1px solid #3b4252;grid-template-columns:1fr auto;align-items:center;gap:.75rem;padding:.65rem 0;display:grid}.candidate-row:last-child{border-bottom:none}.candidate-row strong{color:#eceff4;display:block}.candidate-row span{color:#88c0d0;font-size:.85rem}.candidate-row button{color:#1a1d23;background:#a3be8c;padding:.45rem .7rem;font-weight:700}@media (width<=700px){.candidate-row{grid-template-columns:1fr}}.backup-button{color:#1a1d23;background:#88c0d0;width:100%;margin-top:.65rem;font-weight:700}.sidebar .backup-button{color:#1a1d23;background:#ebcb8b;border:2px solid #d08770;width:100%;margin-top:.75rem;font-weight:800}.topbar-actions .backup-button{color:#1a1d23;white-space:nowrap;background:#ebcb8b;border:1px solid #d08770;border-radius:8px;padding:.55rem .85rem;font-weight:800}@media (width<=900px){.topbar-actions{justify-content:space-between;width:100%}}.topbar-actions .backup-list-button{color:#fff;white-space:nowrap;background:#5e81ac;border:1px solid #81a1c1;border-radius:8px;padding:.55rem .85rem;font-weight:800}.backup-modal{background:#242933;border:1px solid #4c566a;border-radius:12px;flex-direction:column;width:min(760px,96vw);max-height:86vh;padding:1.25rem;display:flex;box-shadow:0 18px 45px #00000073}.backup-modal h2{color:#ebcb8b;margin:0 0 .5rem}.backup-help{color:#d8dee9;margin:0 0 1rem;font-size:.9rem}.backup-modal-actions{flex-wrap:wrap;gap:.65rem;margin-bottom:1rem;display:flex}.backup-list{background:#2e3440;border:1px solid #3b4252;border-radius:10px;padding:.5rem .75rem;overflow-y:auto}.backup-row{border-bottom:1px solid #3b4252;grid-template-columns:1fr auto;align-items:center;gap:.75rem;padding:.75rem 0;display:grid}.backup-row:last-child{border-bottom:none}.backup-row strong{color:#eceff4;word-break:break-all;display:block}.backup-row span{color:#88c0d0;margin-top:.25rem;font-size:.85rem;display:block}.backup-download-link{color:#1a1d23;white-space:nowrap;background:#a3be8c;border-radius:8px;justify-content:center;align-items:center;padding:.5rem .75rem;font-weight:800;text-decoration:none;display:inline-flex}@media (width<=700px){.backup-row{grid-template-columns:1fr}.backup-download-link{width:100%}}.audio-history-button{color:#1a1d23;background:#81a1c1;font-weight:800}.audio-jobs-modal{background:#242933;border:1px solid #4c566a;border-radius:12px;flex-direction:column;width:min(900px,96vw);max-height:86vh;padding:1.25rem;display:flex;box-shadow:0 18px 45px #00000073}.audio-jobs-modal h2{color:#81a1c1;margin:0 0 .5rem}.audio-jobs-help{color:#d8dee9;margin:0 0 1rem;font-size:.9rem}.audio-jobs-list{background:#2e3440;border:1px solid #3b4252;border-radius:10px;padding:.5rem .75rem;overflow-y:auto}.audio-job-row{border-bottom:1px solid #3b4252;grid-template-columns:1fr auto;align-items:center;gap:.85rem;padding:.85rem 0;display:grid}.audio-job-row:last-child{border-bottom:none}.audio-job-row-main strong{color:#eceff4;display:block}.audio-job-row-main span{color:#88c0d0;margin-top:.25rem;font-size:.9rem;display:block}.audio-job-row-main small{color:#a3be8c;margin-top:.25rem;display:block}.audio-job-row-main p{color:#d8dee9;max-height:4.2rem;margin:.4rem 0 0;font-size:.85rem;line-height:1.35;overflow-y:auto}.audio-job-row.status-failed{border-left:4px solid #bf616a;padding-left:.65rem}.audio-job-row.status-completed{border-left:4px solid #a3be8c;padding-left:.65rem}.audio-job-row.status-running,.audio-job-row.status-queued{border-left:4px solid #ebcb8b;padding-left:.65rem}.audio-job-row-actions{gap:.5rem;display:flex}@media (width<=700px){.audio-job-row{grid-template-columns:1fr}}.retry-audio-button{color:#1a1d23;white-space:nowrap;background:#ebcb8b;border-radius:8px;padding:.5rem .75rem;font-weight:800}.cleanup-audio-button{color:#fff;white-space:nowrap;background:#bf616a;border-radius:8px;padding:.5rem .75rem;font-weight:800}.audio-summary-box{background:#242933;border:1px solid #4c566a;border-radius:10px;grid-template-columns:repeat(5,minmax(90px,1fr));gap:.6rem;margin-bottom:.8rem;padding:.75rem;display:grid}.audio-summary-box div{background:#2e3440;border:1px solid #3b4252;border-radius:8px;padding:.65rem}.audio-summary-box strong{color:#88c0d0;margin-bottom:.25rem;font-size:.82rem;display:block}.audio-summary-box span{color:#eceff4;font-size:1rem;font-weight:800;display:block}.audio-summary-progress strong{color:#a3be8c}@media (width<=1100px){.audio-summary-box{grid-template-columns:repeat(2,minmax(90px,1fr))}}.review-chapter-button{color:#1a1d23;background:#a3be8c;font-weight:800}.chapter-review-box{background:#2e3440;border:1px solid #4c566a;border-radius:10px;margin-bottom:.8rem;padding:.85rem}.chapter-review-box.ok{border-left:4px solid #a3be8c}.chapter-review-box.warning{border-left:4px solid #ebcb8b}.chapter-review-box.error{border-left:4px solid #bf616a}.chapter-review-header{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem;display:flex}.chapter-review-header strong{color:#eceff4}.chapter-review-header span{color:#88c0d0;font-size:.85rem}.chapter-review-stats{grid-template-columns:repeat(5,minmax(80px,1fr));gap:.5rem;margin-bottom:.75rem;display:grid}.chapter-review-stats div{background:#242933;border:1px solid #3b4252;border-radius:8px;padding:.55rem}.chapter-review-stats strong{color:#88c0d0;margin-bottom:.25rem;font-size:.78rem;display:block}.chapter-review-stats span{color:#eceff4;font-weight:800}.chapter-review-issues{border-top:1px solid #3b4252;max-height:280px;padding-top:.5rem;overflow-y:auto}.chapter-review-issue{border-bottom:1px solid #3b4252;grid-template-columns:90px 1fr;gap:.65rem;padding:.45rem 0;display:grid}.chapter-review-issue:last-child{border-bottom:none}.chapter-review-issue strong{color:#eceff4}.chapter-review-issue span{color:#d8dee9;font-size:.9rem}.chapter-review-issue.error strong{color:#bf616a}.chapter-review-issue.warning strong{color:#ebcb8b}.chapter-review-issue.info strong{color:#88c0d0}@media (width<=900px){.chapter-review-stats{grid-template-columns:repeat(2,minmax(80px,1fr))}.chapter-review-header{flex-direction:column;align-items:flex-start}.chapter-review-issue{grid-template-columns:1fr}}.generate-missing-button{color:#1a1d23;background:#b48ead;font-weight:800}.batch-progress-box{border-left:4px solid #b48ead}.merge-progress-box{border-left:4px solid #ebcb8b}.progress-indeterminate{animation:1.2s ease-in-out infinite alternate progressPulse}@keyframes progressPulse{0%{opacity:.65;width:25%}to{opacity:1;width:85%}}.cancel-audio-button{color:#fff;white-space:nowrap;background:#bf616a;border-radius:8px;padding:.5rem .75rem;font-weight:800}.cancel-audio-button:disabled{opacity:.4;cursor:not-allowed}.candidate-row small{color:#d8dee9;margin-top:.25rem;font-size:.82rem;display:block}.candidate-row small em{color:#a3be8c;font-style:normal;font-weight:800}.tts-preview-button{color:#1a1d23;background:#d08770;font-weight:800}.tts-preview-box{background:#2e3440;border:1px solid #4c566a;border-left:4px solid #d08770;border-radius:10px;margin-bottom:.8rem;padding:.85rem}.tts-preview-header{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.5rem;display:flex}.tts-preview-header strong{color:#eceff4}.tts-preview-textarea{color:#eceff4;resize:vertical;background:#242933;border:1px solid #3b4252;border-radius:8px;width:100%;min-height:260px;padding:.75rem;font-family:inherit;line-height:1.5}@media (width<=700px){.tts-preview-header{flex-direction:column;align-items:flex-start}}.view-mode-banner{color:#eceff4;white-space:nowrap;background:#2e3440;border:1px solid #b48ead;border-radius:10px;align-items:center;gap:.65rem;padding:.5rem .7rem;display:flex}.view-mode-banner span{color:#b48ead;font-weight:800}.view-mode-banner button{color:#1a1d23;background:#b48ead;border-radius:8px;padding:.4rem .65rem;font-weight:800}@media (width<=1100px){.view-mode-banner{justify-content:space-between;width:100%}}.detect-book-names-button{color:#1a1d23;background:#b48ead;font-weight:800}.preview-pronunciation-button{color:#1a1d23;white-space:nowrap;background:#88c0d0;border-radius:8px;padding:.45rem .7rem;font-weight:800}.candidate-actions{align-items:center;gap:.5rem;display:flex}@media (width<=700px){.candidate-actions{flex-direction:column;align-items:stretch}}.candidate-tools{background:#2e3440;border:1px solid #4c566a;border-radius:10px;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem;padding:.7rem .85rem;display:flex}.candidate-tools span{color:#d8dee9;font-size:.9rem}.add-all-suggestions-button{color:#1a1d23;background:#a3be8c;border-radius:8px;padding:.5rem .75rem;font-weight:800}@media (width<=700px){.candidate-tools{flex-direction:column;align-items:stretch}}.edit-pronunciation-button{font-weight:800;color:#1a1d23!important;background:#88c0d0!important}.regenerate-book-button{color:#1a1d23;background:#d08770;font-weight:800}.regenerate-errors-button{color:#1a1d23;background:#ebcb8b;font-weight:800}.chapter-item-with-check{background:0 0;border:none;grid-template-columns:auto 1fr;align-items:stretch;gap:.45rem;padding:0;display:grid}.chapter-item-with-check>input{accent-color:#88c0d0;align-self:center;width:18px;height:18px}.chapter-load-button{text-align:left;color:#eceff4;background:#2e3440;border:1px solid #3b4252;border-radius:8px;grid-template-columns:2rem 1fr auto;align-items:center;gap:.5rem;width:100%;padding:.55rem;display:grid}.chapter-item-with-check.selected .chapter-load-button{background:#3b4252;border-color:#88c0d0}.regenerate-selected-button{color:#1a1d23;background:#81a1c1;font-weight:800}.chapter-range-picker{background:#242933;border:1px solid #4c566a;border-radius:10px;flex-wrap:wrap;align-items:end;gap:.55rem;padding:.6rem;display:inline-flex}.chapter-range-picker label{color:#d8dee9;flex-direction:column;gap:.25rem;font-size:.78rem;font-weight:700;display:flex}.chapter-range-picker input{color:#eceff4;background:#2e3440;border:1px solid #4c566a;border-radius:8px;width:82px;padding:.45rem .55rem}.select-range-button{color:#1a1d23;background:#88c0d0;font-weight:800}.selected-chapters-box{background:#2e3440;border:1px solid #88c0d0;border-left-width:4px;border-radius:10px;margin-bottom:.8rem;padding:.75rem}.selected-chapters-box strong{color:#88c0d0;margin-bottom:.35rem;display:block}.selected-chapters-box span{color:#eceff4;font-size:.9rem;line-height:1.4}@media (width<=700px){.chapter-range-picker{align-items:stretch;width:100%}.chapter-range-picker label,.chapter-range-picker input,.chapter-range-picker button{width:100%}}.audio-actions-grid{grid-template-columns:repeat(2,minmax(220px,1fr));gap:.75rem;margin-bottom:.85rem;display:grid}.audio-action-card{background:#2e3440;border:1px solid #4c566a;border-radius:12px;padding:.85rem}.audio-action-card-wide{grid-column:1/-1}.audio-action-card h4{color:#eceff4;margin:0 0 .65rem;font-size:.95rem}.audio-action-buttons{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.audio-action-buttons button{white-space:nowrap;border-radius:8px;min-height:38px;padding:.45rem .75rem;font-size:.88rem;font-weight:800}.chapter-range-picker.compact{margin:0;padding:.45rem}.chapter-range-picker.compact input{width:70px}@media (width<=1000px){.audio-actions-grid{grid-template-columns:1fr}.audio-action-card-wide{grid-column:auto}}@media (width<=700px){.audio-action-buttons{align-items:stretch}.audio-action-buttons button,.chapter-range-picker.compact{width:100%}}.tools-actions-grid{grid-template-columns:repeat(3,minmax(190px,1fr));gap:.75rem;margin-bottom:.85rem;display:grid}.tools-action-card{background:#2e3440;border:1px solid #4c566a;border-radius:12px;padding:.85rem}.tools-action-card h4{color:#eceff4;margin:0 0 .65rem;font-size:.95rem}.tools-action-buttons{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.tools-action-buttons button{white-space:nowrap;border-radius:8px;min-height:38px;padding:.45rem .75rem;font-size:.88rem;font-weight:800}@media (width<=1200px){.tools-actions-grid{grid-template-columns:1fr}}@media (width<=700px){.tools-action-buttons{align-items:stretch}.tools-action-buttons button{width:100%}}.review-book-button{color:#1a1d23;background:#ebcb8b;font-weight:800}.chapter-review-issue{grid-template-columns:90px 1fr auto}.go-to-issue-button{color:#1a1d23;white-space:nowrap;background:#88c0d0;border-radius:8px;padding:.35rem .6rem;font-weight:800}.highlight-script-block{outline:3px solid #ebcb8b;box-shadow:0 0 0 4px #ebcb8b40}@media (width<=900px){.chapter-review-issue{grid-template-columns:1fr}.go-to-issue-button{width:100%}}.topbar-actions .diagnostics-button{color:#1a1d23;white-space:nowrap;background:#a3be8c;border:1px solid #8fbc8f;border-radius:8px;padding:.55rem .85rem;font-weight:800}.diagnostics-modal{background:#242933;border:1px solid #4c566a;border-radius:12px;flex-direction:column;width:min(820px,96vw);max-height:86vh;padding:1.25rem;display:flex;box-shadow:0 18px 45px #00000073}.diagnostics-modal h2{color:#a3be8c;margin:0 0 .5rem}.diagnostics-help{color:#d8dee9;margin:0 0 1rem;font-size:.9rem}.diagnostics-summary{border-radius:10px;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.85rem;padding:.75rem;display:flex}.diagnostics-summary.ok{background:#a3be8c29;border:1px solid #a3be8c}.diagnostics-summary.warning{background:#ebcb8b29;border:1px solid #ebcb8b}.diagnostics-summary strong{color:#eceff4}.diagnostics-summary span{color:#d8dee9}.diagnostics-list{background:#2e3440;border:1px solid #3b4252;border-radius:10px;padding:.5rem .75rem;overflow-y:auto}.diagnostics-row{border-bottom:1px solid #3b4252;padding:.75rem 0}.diagnostics-row:last-child{border-bottom:none}.diagnostics-row strong{color:#eceff4;display:block}.diagnostics-row span{color:#88c0d0;word-break:break-all;margin-top:.25rem;font-size:.85rem;display:block}.diagnostics-row.error strong{color:#bf616a}@media (width<=700px){.diagnostics-summary{flex-direction:column;align-items:flex-start}}.audio-compact-layout,.tools-panel{flex-direction:column;gap:.75rem;margin-bottom:.85rem;display:flex}.primary-action-row{background:#2e3440;border:1px solid #4c566a;border-radius:12px;flex-wrap:wrap;gap:.6rem;padding:.85rem;display:flex}.primary-action-row button{white-space:nowrap;border-radius:8px;min-height:40px;padding:.5rem .85rem;font-size:.9rem;font-weight:800}.collapsible-action-card{background:#2e3440;border:1px solid #4c566a;border-radius:12px;padding:.15rem .85rem}.collapsible-action-card summary{cursor:pointer;color:#eceff4;-webkit-user-select:none;user-select:none;padding:.85rem 0;font-weight:800;list-style:none}.collapsible-action-card summary::-webkit-details-marker{display:none}.collapsible-action-card summary:after{content:"▸";float:right;color:#88c0d0;transition:transform .15s}.collapsible-action-card[open] summary:after{transform:rotate(90deg)}.collapsible-action-card[open]{padding-bottom:.85rem}.collapsible-action-card .audio-action-buttons,.collapsible-action-card .tools-action-buttons{padding-top:.2rem}@media (width<=700px){.primary-action-row{align-items:stretch}.primary-action-row button{width:100%}}.login-page{color:#eceff4;background:#1f2430;place-items:center;min-height:100vh;padding:1rem;display:grid}.login-card{background:#2e3440;border:1px solid #4c566a;border-radius:16px;width:min(420px,94vw);padding:1.5rem;box-shadow:0 18px 45px #00000073}.login-card h1{margin:0 0 .35rem}.login-card p{color:#d8dee9;margin:0 0 1.25rem}.login-card label{color:#d8dee9;flex-direction:column;gap:.35rem;margin-bottom:.85rem;font-weight:700;display:flex}.login-card input{color:#eceff4;background:#242933;border:1px solid #4c566a;border-radius:8px;padding:.75rem;font-size:1rem}.login-card button{color:#1a1d23;background:#88c0d0;border-radius:10px;width:100%;margin-top:.5rem;padding:.75rem;font-weight:900}.login-error{color:#fff;background:#bf616a2e;border:1px solid #bf616a;border-radius:8px;margin:.5rem 0;padding:.65rem}.topbar-actions .logout-button{color:#fff;white-space:nowrap;background:#bf616a;border:1px solid #d08770;border-radius:8px;padding:.55rem .85rem;font-weight:800}.topbar-actions .download-latest-backup-button{color:#1a1d23;white-space:nowrap;background:#81a1c1;border:1px solid #88c0d0;border-radius:8px;padding:.55rem .85rem;font-weight:800}.topbar-actions .change-password-button{color:#1a1d23;white-space:nowrap;background:#ebcb8b;border:1px solid #d08770;border-radius:8px;padding:.55rem .85rem;font-weight:800}.password-modal{background:#242933;border:1px solid #4c566a;border-radius:12px;width:min(460px,94vw);padding:1.25rem;box-shadow:0 18px 45px #00000073}.password-modal h2{color:#ebcb8b;margin:0 0 .5rem}.password-help{color:#d8dee9;margin:0 0 1rem;font-size:.9rem}.password-modal label{color:#d8dee9;flex-direction:column;gap:.35rem;margin-bottom:.85rem;font-weight:700;display:flex}.password-modal input{color:#eceff4;background:#2e3440;border:1px solid #4c566a;border-radius:8px;padding:.7rem;font-size:1rem}.archive-book-button{font-weight:900;color:#1a1d23!important;background:#ebcb8b!important;border:1px solid #d08770!important}.archive-book-button:hover{filter:brightness(1.08)}.archive-view-switch{background:#2e3440;border:1px solid #4c566a;border-radius:10px;gap:.35rem;margin-right:.5rem;padding:.25rem;display:inline-flex}.archive-view-switch button{color:#d8dee9;white-space:nowrap;background:0 0;border:none;border-radius:8px;padding:.45rem .75rem;font-weight:800}.archive-view-switch button.active{color:#1a1d23;background:#88c0d0}.restore-book-button{font-weight:900;color:#1a1d23!important;background:#a3be8c!important;border:1px solid #8fbc8f!important}.restore-book-button:hover{filter:brightness(1.08)}.topbar{gap:.75rem}.topbar input[type=search],.topbar input[type=text]{flex:360px;min-width:260px}.topbar-actions{flex-wrap:nowrap;align-items:center;gap:.55rem;display:flex}.top-menu-wrapper{position:relative}.top-menu-button{color:#1a1d23;white-space:nowrap;background:#88c0d0;border:1px solid #81a1c1;border-radius:8px;padding:.55rem .85rem;font-weight:900}.top-menu-dropdown{z-index:50;background:#2e3440;border:1px solid #4c566a;border-radius:12px;width:220px;padding:.45rem;position:absolute;top:calc(100% + .45rem);right:0;box-shadow:0 18px 40px #00000059}.top-menu-dropdown button{text-align:left;color:#eceff4;background:0 0;border:none;border-radius:8px;width:100%;padding:.65rem .75rem;font-weight:800;display:block}.top-menu-dropdown button:hover{background:#3b4252}.top-menu-dropdown .danger-menu-item{color:#ffb4b4}@media (width<=900px){.topbar{align-items:stretch}.topbar input[type=search],.topbar input[type=text]{flex-basis:100%;min-width:100%}.topbar-actions{flex-wrap:wrap}.archive-view-switch{flex:auto}.top-menu-wrapper{margin-left:auto}}.guest-logout-button{color:#fff;white-space:nowrap;background:#bf616a;border:1px solid #d08770;border-radius:8px;padding:.55rem .85rem;font-weight:800}.users-modal{background:#242933;border:1px solid #4c566a;border-radius:12px;width:min(920px,96vw);max-height:88vh;padding:1.25rem;overflow-y:auto;box-shadow:0 18px 45px #00000073}.users-modal h2{color:#88c0d0;margin:0 0 .5rem}.users-help{color:#d8dee9;margin:0 0 1rem}.create-user-form{background:#2e3440;border:1px solid #4c566a;border-radius:10px;margin-bottom:1rem;padding:1rem}.create-user-form h3{margin:0 0 .75rem}.create-user-grid{grid-template-columns:1fr 1fr 180px auto;align-items:end;gap:.75rem;display:grid}.create-user-grid label{color:#d8dee9;flex-direction:column;gap:.35rem;font-weight:800;display:flex}.create-user-grid input,.create-user-grid select,.user-actions select{color:#eceff4;background:#1f2430;border:1px solid #4c566a;border-radius:8px;padding:.6rem}.create-user-grid button{color:#1a1d23;background:#a3be8c;border-radius:8px;padding:.65rem .9rem;font-weight:900}.users-list{flex-direction:column;gap:.6rem;display:flex}.user-row{background:#2e3440;border:1px solid #4c566a;border-radius:10px;grid-template-columns:1fr auto;align-items:center;gap:.75rem;padding:.8rem;display:grid}.user-row strong{color:#eceff4;display:block}.user-row span{color:#88c0d0;font-size:.9rem;display:block}.user-actions{flex-wrap:wrap;gap:.45rem;display:flex}.user-actions button{color:#1a1d23;background:#81a1c1;border-radius:8px;padding:.55rem .75rem;font-weight:800}@media (width<=900px){.create-user-grid,.user-row{grid-template-columns:1fr}.user-actions,.user-actions button,.user-actions select{width:100%}}.audiobook-button{color:#1a1d23;background:#88c0d0;border:1px solid #81a1c1;font-weight:900}.audiobook-modal{background:#242933;border:1px solid #4c566a;border-radius:12px;width:min(920px,96vw);max-height:88vh;padding:1.25rem;overflow-y:auto;box-shadow:0 18px 45px #00000073}.audiobook-modal h2{color:#88c0d0;margin:0 0 .5rem}.audiobook-help{color:#d8dee9;margin:0 0 1rem}.audiobook-message{color:#eceff4;background:#ebcb8b26;border:1px solid #ebcb8b;border-radius:8px;margin-bottom:1rem;padding:.75rem}.audiobook-list{flex-direction:column;gap:.85rem;display:flex}.audiobook-row{background:#2e3440;border:1px solid #4c566a;border-radius:10px;grid-template-columns:1.4fr 1.4fr auto;align-items:center;gap:.75rem;padding:.85rem;display:grid}.audiobook-info strong{color:#eceff4;display:block}.audiobook-info span{color:#88c0d0;margin-top:.25rem;font-size:.85rem;display:block}.audiobook-row audio{width:100%}.audiobook-download{color:#1a1d23;white-space:nowrap;background:#a3be8c;border-radius:8px;padding:.6rem .8rem;font-weight:900;text-decoration:none;display:inline-block}@media (width<=850px){.audiobook-row{grid-template-columns:1fr}.audiobook-download{text-align:center}}.user-actions .delete-user-button{color:#fff;background:#bf616a;border:1px solid #d08770;font-weight:900}.user-actions .delete-user-button:hover{filter:brightness(1.08)}.my-password-button{color:#1a1d23;white-space:nowrap;background:#ebcb8b;border:1px solid #d08770;border-radius:8px;padding:.55rem .85rem;font-weight:800}.user-audit{color:#b8c7d9;margin-top:.35rem;font-size:.78rem;line-height:1.35;display:block}.current-user-badge{white-space:nowrap;color:#eceff4;background:#2e3440;border:1px solid #4c566a;border-radius:999px;align-items:center;gap:.25rem;padding:.45rem .75rem;font-size:.9rem;font-weight:900;display:inline-flex}.current-user-badge.role-admin{color:#dff4d3;border-color:#a3be8c}.current-user-badge.role-creator{color:#d5f1f7;border-color:#88c0d0}.current-user-badge.role-guest{color:#fff1c7;border-color:#ebcb8b}.book-audio-status-badge{border:1px solid #4c566a;border-radius:999px;align-items:center;width:fit-content;margin-top:.35rem;padding:.25rem .55rem;font-size:.78rem;font-weight:900;display:inline-flex}.book-audio-status-badge.audio-status-empty{color:#d8dee9;background:#4c566a59}.book-audio-status-badge.audio-status-partial{color:#d5f1f7;background:#88c0d029;border-color:#88c0d0}.book-audio-status-badge.audio-status-complete{color:#dff4d3;background:#a3be8c2e;border-color:#a3be8c}button.book-audio-status-badge{cursor:default;background:0 0;font-family:inherit}button.book-audio-status-badge.is-clickable{cursor:pointer}button.book-audio-status-badge.is-clickable:hover{filter:brightness(1.15);transform:translateY(-1px)}button.book-audio-status-badge.is-disabled{opacity:.75}.exclude-chapter-button{font-weight:900;color:#fff!important;background:#bf616a!important;border:1px solid #d08770!important}.include-chapter-button{font-weight:900;color:#1a1d23!important;background:#a3be8c!important;border:1px solid #8fbc8f!important}.excluded-chapter-notice{color:#ffe1e1;background:#bf616a29;border:1px solid #bf616a;border-radius:10px;margin-bottom:1rem;padding:.85rem;font-weight:800}.studio-panel{scrollbar-gutter:stable;max-height:calc(100vh - 2rem);padding-bottom:3rem;overflow-y:auto}.studio-panel .audio-tab,.studio-panel .studio-tab-content,.studio-panel .audio-panel{padding-bottom:2rem}.studio-panel .audio-actions,.studio-panel .audio-button-group,.studio-panel .audio-control-group,.studio-panel .audio-section-actions{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.studio-panel button{min-height:2.45rem}.studio-panel details{margin-bottom:.75rem}.studio-panel summary{cursor:pointer;justify-content:center;align-items:center;min-height:2.4rem;display:flex}.selected-chapters-box,.selected-chapters-summary,.chapter-selection-summary{max-height:7rem;margin-top:.75rem;padding:.8rem;overflow-y:auto}.audio-job-box,.merge-progress-box,.audio-progress-box{margin-bottom:1rem}.studio-panel:after{content:"";height:2rem;display:block}@media (width<=1100px){.studio-panel{max-height:calc(100vh - 1rem)}.studio-panel .audio-actions,.studio-panel .audio-button-group,.studio-panel .audio-control-group,.studio-panel .audio-section-actions{flex-direction:column;align-items:stretch}.studio-panel button{width:100%}}.selected-chapters-box-top{background:#88c0d014;border:1px solid #88c0d0;border-radius:10px;margin:.75rem 0;padding:.75rem 1rem}.selected-chapters-box-top strong{color:#88c0d0;margin-bottom:.35rem;display:block}.selected-chapters-box-top span{color:#eceff4;word-break:break-word;line-height:1.4;display:block}.audio-compact-layout .primary-action-row{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.audio-compact-layout .primary-action-row button{min-height:2.45rem}.studio-panel>.chapter-header{grid-template-columns:minmax(260px,1fr) auto auto;align-items:center;gap:1rem;display:grid}.studio-header-tabs{flex-wrap:wrap;justify-content:center;gap:.45rem;display:flex}.studio-header-tabs button{color:#eceff4;white-space:nowrap;background:#2e3440;border:1px solid #4c566a;border-radius:8px;padding:.55rem .85rem;font-weight:900}.studio-header-tabs button.active{color:#1a1d23;background:#88c0d0;border-color:#88c0d0}.studio-panel .script-panel>.tab-buttons,.studio-panel .script-panel>.studio-tabs,.studio-panel .script-panel>.tabs,.studio-panel .script-panel>.tab-nav{display:none!important}@media (width<=1100px){.studio-panel>.chapter-header{grid-template-columns:1fr}.studio-header-tabs{justify-content:flex-start}.studio-panel>.chapter-header .close,.studio-panel>.chapter-header button.close{justify-self:start}}.studio-panel{z-index:100;box-sizing:border-box;background:#1f2430;grid-template-rows:auto 1fr;gap:1rem;width:100vw;height:100vh;padding:1rem;display:grid;position:fixed;inset:0;overflow:hidden;max-width:none!important;max-height:none!important;margin:0!important}.studio-panel>.chapter-header{min-height:auto;margin:0}.studio-panel>.chapter-header+*,.studio-panel .studio-layout,.studio-panel .studio-body,.studio-panel .chapter-workspace,.studio-panel .chapter-editor-layout{height:100%;min-height:0}.studio-panel .chapter-list,.studio-panel .chapters-list,.studio-panel .chapter-sidebar,.studio-panel .source-panel,.studio-panel .chapter-source,.studio-panel .script-panel,.studio-panel .studio-tab-panel{min-height:0;max-height:100%;overflow-y:auto}.studio-panel .script-panel{flex-direction:column;display:flex}.studio-panel .script-panel>.studio-tab-panel,.studio-panel .script-panel>div:last-child{flex:auto;min-height:0}.studio-panel .studio-tab-panel{padding-bottom:1rem}@media (width<=1100px){.studio-panel{display:block;overflow-y:auto}.studio-panel>.chapter-header{margin-bottom:1rem}}.studio-panel .script-panel>h2,.studio-panel .script-panel>h3,.studio-panel .script-panel-title{display:none}.studio-panel .script-panel{padding-top:1rem}.studio-panel .studio-tab-panel{min-height:0}.studio-panel .studio-tab-panel>p,.studio-panel .tools-help{margin-top:1rem}.audio-summary-box-script{width:fit-content;max-width:100%;grid-template-columns:minmax(140px,220px)!important}.audio-summary-box-audio{grid-template-columns:repeat(4,minmax(120px,1fr))}@media (width<=900px){.audio-summary-box-audio{grid-template-columns:repeat(2,minmax(120px,1fr))}}.selected-chapters-actions{flex-wrap:wrap;justify-content:center;gap:.6rem;margin-top:.75rem;display:flex}.exclude-selected-chapters-button{font-weight:900;color:#fff!important;background:#bf616a!important;border:1px solid #d08770!important}.include-selected-chapters-button{font-weight:900;color:#1a1d23!important;background:#a3be8c!important;border:1px solid #8fbc8f!important}.series-autocomplete{position:relative}.series-suggestions-box{z-index:200;background:#2e3440;border:1px solid #4c566a;border-radius:10px;max-height:240px;padding:.35rem;position:absolute;top:calc(100% + .25rem);left:0;right:0;overflow-y:auto;box-shadow:0 18px 40px #00000059}.series-suggestion-item{text-align:left;color:#eceff4;cursor:pointer;background:0 0;border:none;border-radius:8px;width:100%;padding:.65rem .75rem;display:block}.series-suggestion-item:hover{background:#3b4252}.series-suggestion-item strong{display:block}.series-suggestion-item span{color:#88c0d0;margin-top:.2rem;font-size:.85rem;display:block}.library-view-switch{background:#2e3440;border:1px solid #4c566a;border-radius:10px;gap:.35rem;margin-right:.5rem;padding:.25rem;display:inline-flex}.library-view-switch button{color:#d8dee9;white-space:nowrap;background:0 0;border:none;border-radius:8px;padding:.45rem .75rem;font-weight:900}.library-view-switch button.active{color:#1a1d23;background:#ebcb8b}.favorite-actions{flex-direction:column;gap:.45rem;margin:.75rem 0;display:flex}.favorite-actions button{color:#eceff4;text-align:left;background:#2e3440;border:1px solid #4c566a;border-radius:8px;padding:.55rem .75rem;font-weight:900}.favorite-actions button.favorite-active{color:#1a1d23;background:#ebcb8b;border-color:#d08770}.favorite-card-badge{color:#fff1c7;background:#ebcb8b2e;border:1px solid #ebcb8b;border-radius:999px;width:fit-content;margin-top:.35rem;padding:.25rem .55rem;font-size:.78rem;font-weight:900;display:inline-flex}.favorite-quick-filters{align-items:center;gap:.45rem;display:inline-flex}.favorite-quick-filters select{color:#eceff4;background:#2e3440;border:1px solid #4c566a;border-radius:10px;max-width:220px;padding:.55rem .75rem;font-weight:800}.favorite-quick-filters select:focus{outline-offset:2px;outline:2px solid #88c0d0}.sidebar-favorite-filters{width:100%;margin-top:.85rem}.sidebar-favorite-filters .favorite-quick-filters{flex-direction:column;gap:.55rem;width:100%;display:flex}.sidebar-favorite-filters .favorite-quick-filters select{color:#eceff4;background:#2e3440;border:1px solid #4c566a;border-radius:10px;width:100%;max-width:none;padding:.55rem .65rem;font-weight:800}.sidebar-all-series-filter{width:100%;margin-top:.85rem}.sidebar-all-series-filter select{color:#eceff4;background:#2e3440;border:1px solid #4c566a;border-radius:10px;width:100%;max-width:none;padding:.55rem .65rem;font-weight:800}.sidebar-all-series-filter select:focus{outline-offset:2px;outline:2px solid #88c0d0}.series-review-modal{background:#242933;border:1px solid #4c566a;border-radius:14px;width:min(1180px,96vw);max-height:90vh;padding:1.25rem;overflow-y:auto;box-shadow:0 18px 45px #00000073}.series-review-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.series-review-header h2{color:#88c0d0;margin:0 0 .35rem}.series-review-header p{color:#d8dee9;margin:0}.series-review-stats{grid-template-columns:repeat(3,minmax(120px,1fr));gap:.75rem;margin-bottom:1rem;display:grid}.series-review-stats div{text-align:center;background:#2e3440;border:1px solid #4c566a;border-radius:10px;padding:.75rem}.series-review-stats strong{color:#ebcb8b;font-size:1.35rem;display:block}.series-review-stats span{color:#d8dee9;font-size:.85rem}.series-review-controls{grid-template-columns:auto auto 1fr auto;align-items:center;gap:.65rem;margin-bottom:1rem;display:grid}.series-review-controls button.active{color:#1a1d23;background:#88c0d0;font-weight:900}.series-review-controls input{min-width:220px}.series-review-message{color:#eceff4;background:#88c0d01f;border:1px solid #88c0d0;border-radius:10px;margin-bottom:1rem;padding:.75rem}.series-review-list{flex-direction:column;gap:.65rem;display:flex}.series-review-row{background:#2e3440;border:1px solid #4c566a;border-radius:10px;grid-template-columns:minmax(260px,1.3fr) minmax(220px,1fr) 90px auto;align-items:end;gap:.75rem;padding:.85rem;display:grid}.series-review-book strong,.series-review-book span,.series-review-book small{display:block}.series-review-book strong{color:#eceff4}.series-review-book span{color:#88c0d0;margin-top:.25rem}.series-review-book small{color:#aeb7c4;margin-top:.25rem}.series-review-row label{color:#d8dee9;font-size:.85rem;font-weight:800}.series-review-row input{width:100%;margin-top:.25rem}.series-review-empty{color:#d8dee9;text-align:center;padding:1rem}@media (width<=900px){.series-review-controls,.series-review-row{grid-template-columns:1fr}}.suggest-series-button{font-weight:900;color:#1a1d23!important;background:#b48ead!important;border:1px solid #d08770!important}.edit-series-row{grid-template-columns:minmax(220px,1fr) minmax(120px,180px) auto;align-items:end;gap:.75rem;display:grid}.clear-series-edit-button,.clear-series-review-button{min-width:2.6rem;font-weight:900;color:#fff!important;background:#bf616a!important;border:1px solid #d08770!important}.clear-series-edit-button:disabled,.clear-series-review-button:disabled{opacity:.45;cursor:not-allowed}.series-review-row{grid-template-columns:minmax(260px,1.3fr) minmax(220px,1fr) 90px auto auto auto}@media (width<=900px){.edit-series-row,.series-review-row{grid-template-columns:1fr}}.cancel-all-audio-jobs-button{font-weight:900;color:#fff!important;background:#bf616a!important;border:1px solid #d08770!important}.cancel-all-audio-jobs-button:hover{filter:brightness(1.08)}.external-voices-card{background:#2e3440;border:1px solid #4c566a;border-radius:12px;margin-bottom:1rem;padding:1rem}.external-voices-header h3{color:#ebcb8b;margin:0 0 .35rem}.external-voices-header p{color:#d8dee9;margin:0 0 .85rem;font-size:.92rem}.external-voices-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.75rem;display:grid}.external-voice-sample{background:#242933;border:1px solid #4c566a;border-radius:10px;padding:.75rem}.external-voice-sample strong{color:#eceff4;display:block}.external-voice-sample span{color:#88c0d0;margin-top:.15rem;margin-bottom:.5rem;font-size:.85rem;display:block}.external-voice-sample audio{width:100%}.audiobook-modal-header-sticky{z-index:20;background:#242933;border-bottom:1px solid #4c566a;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;padding:.25rem 0 1rem;display:flex;position:sticky;top:0}.audiobook-modal-header-sticky h2{margin:0 0 .5rem}.audiobook-modal-header-sticky p{margin:0}.audiobook-modal-close-top{white-space:nowrap;border-radius:8px;padding:.65rem .9rem;font-weight:900;color:#fff!important;background:#bf616a!important;border:1px solid #d08770!important}.audiobook-modal-close-top:hover{filter:brightness(1.08)}.audiobook-header-top{z-index:30;background:#242933;border-bottom:1px solid #4c566a;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;padding:.25rem 0 1rem;display:flex;position:sticky;top:0}.audiobook-header-title h2{margin:0 0 .5rem}.audiobook-header-title p{margin:0}.audiobook-close-top-button{white-space:nowrap;border-radius:8px;padding:.65rem .9rem;font-weight:900;color:#fff!important;background:#bf616a!important;border:1px solid #d08770!important}.audiobook-close-top-button:hover{filter:brightness(1.08)}.pronunciation-modal-header-top{z-index:30;background:#242933;border-bottom:1px solid #4c566a;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;padding:.25rem 0 1rem;display:flex;position:sticky;top:0}.pronunciation-modal-header-title h2{margin:0 0 .5rem}.pronunciation-modal-header-title p{margin:0}.pronunciation-modal-close-top{white-space:nowrap;border-radius:8px;padding:.65rem .9rem;font-weight:900;color:#fff!important;background:#bf616a!important;border:1px solid #d08770!important}.pronunciation-modal-close-top:hover{filter:brightness(1.08)}.topbar-actions{display:contents}.top-menu-wrapper{order:-100;position:relative}.topbar{z-index:100;z-index:100;background:#1f2430;border-bottom:1px solid #3b4252;align-items:center;gap:1rem;margin-bottom:1.25rem;padding:.65rem 0 .65rem 8.5rem;display:flex;position:sticky;top:0;overflow:visible}.topbar-actions{align-items:center;gap:.75rem;display:flex!important}.top-menu-wrapper{z-index:300;position:absolute;top:.65rem;left:0}.top-menu-button{white-space:nowrap}.top-menu-dropdown{z-index:400;min-width:230px;max-width:280px;position:absolute;top:calc(100% + .5rem);left:0}@media (width<=900px){.topbar{padding-top:4.5rem;padding-left:0}.top-menu-wrapper{top:.65rem;left:0}}.audio-jobs-header-top{z-index:30;background:#242933;border-bottom:1px solid #4c566a;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;padding:.25rem 0 1rem;display:flex;position:sticky;top:0}.audio-jobs-header-title h2{margin:0 0 .5rem}.audio-jobs-header-title p{margin:0}.audio-jobs-close-top-button{white-space:nowrap;border-radius:8px;padding:.65rem .9rem;font-weight:900;color:#fff!important;background:#bf616a!important;border:1px solid #d08770!important}.audio-jobs-close-top-button:hover{filter:brightness(1.08)}.chapter-preview-start-button{font-weight:900;color:#1a1d23!important;background:#88c0d0!important;border:1px solid #81a1c1!important}.chapter-preview-start-button:disabled{opacity:.45;cursor:not-allowed}.analyze-script-inline-button{font-weight:900;color:#fff!important;background:#5e81ac!important;border:1px solid #81a1c1!important}.analyze-script-inline-button:disabled{opacity:.45;cursor:not-allowed}.studio-panel{min-height:calc(100vh - 120px)}.studio-layout,.studio-workspace{grid-template-columns:280px minmax(420px,1fr) minmax(520px,1.25fr)!important;align-items:stretch!important;gap:1rem!important;min-height:calc(100vh - 170px)!important;display:grid!important}.chapters-column,.source-column,.script-column{flex-direction:column!important;min-height:calc(100vh - 170px)!important;max-height:calc(100vh - 170px)!important;display:flex!important;overflow:hidden!important}.chapters-column{overflow-y:auto!important}.source-column textarea,.source-textarea{resize:vertical!important;flex:auto!important;width:100%!important;height:100%!important;min-height:520px!important}.studio-tab-panel{flex:auto!important;min-height:0!important;padding-right:.4rem!important;overflow-y:auto!important}.audio-summary-box{grid-template-columns:repeat(5,minmax(110px,1fr))!important;gap:.75rem!important;display:grid!important}.audio-summary-box>div,.audio-summary-progress{min-height:86px!important}.studio-toolbar,.studio-toolbar-stacked,.script-column .audio-summary-box{z-index:4!important;background:#232a3b!important;position:sticky!important;top:0!important}.studio-toolbar{padding-bottom:.75rem!important}.script-block,.script-row,.block-editor-card,.script-editor-block{margin-bottom:1rem!important}.script-block textarea,.script-row textarea,.block-editor-card textarea,.script-editor-block textarea{resize:vertical!important;width:100%!important;min-height:150px!important;max-height:360px!important;line-height:1.45!important}.script-block-header,.block-actions-top{z-index:3!important;background:#2b3245!important;padding-bottom:.5rem!important;position:sticky!important;top:0!important}@media (width<=1500px){.studio-layout,.studio-workspace{grid-template-columns:240px minmax(360px,1fr) minmax(480px,1.2fr)!important}}@media (width<=1180px){.studio-layout,.studio-workspace{grid-template-columns:1fr!important;min-height:auto!important}.chapters-column,.source-column,.script-column{min-height:auto!important;max-height:none!important}.studio-tab-panel{overflow:visible!important}.audio-summary-box{grid-template-columns:repeat(2,minmax(140px,1fr))!important}}.studio-layout,.studio-workspace{grid-template-columns:260px minmax(320px,.85fr) minmax(720px,1.65fr)!important}.script-column{min-width:720px!important}.source-column{min-width:320px!important}.script-block textarea,.script-row textarea,.block-editor-card textarea,.script-editor-block textarea{min-height:190px!important;max-height:460px!important;font-size:.98rem!important;line-height:1.55!important}.script-block,.script-row,.block-editor-card,.script-editor-block{margin-bottom:1.15rem!important;padding:1rem!important}@media (width<=1600px){.studio-layout,.studio-workspace{grid-template-columns:230px minmax(300px,.8fr) minmax(620px,1.55fr)!important}.script-column{min-width:620px!important}}@media (width<=1200px){.studio-layout,.studio-workspace{grid-template-columns:1fr!important}.script-column,.source-column{min-width:0!important}}.chapter-fullscreen-backdrop{z-index:3000;background:#000000d1;padding:.75rem;display:flex;position:fixed;inset:0}.chapter-fullscreen-modal{background:#202736;border:1px solid #5e81ac;border-radius:16px;flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden;box-shadow:0 24px 80px #000000b8}.chapter-fullscreen-header{background:#242c3d;border-bottom:1px solid #4c566a;flex:none;justify-content:space-between;align-items:flex-start;gap:1rem;padding:.85rem 1rem;display:flex}.chapter-fullscreen-header h2{color:#88c0d0;margin:0 0 .25rem}.chapter-fullscreen-header p{color:#a3be8c;margin:0}.chapter-fullscreen-actions{flex-wrap:wrap;justify-content:flex-end;gap:.6rem;display:flex}.chapter-fullscreen-close{font-weight:900;color:#fff!important;background:#bf616a!important;border:1px solid #d08770!important}.chapter-fullscreen-body{flex:auto;min-height:0;padding:1rem;overflow-y:auto}.chapter-fullscreen-block{background:#2b3242;border:1px solid #4c566a;border-left:4px solid #81a1c1;border-radius:12px;margin-bottom:1rem;padding:1rem}.chapter-fullscreen-block-header{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem;display:flex}.chapter-fullscreen-block-header strong{color:#88c0d0}.chapter-fullscreen-block-actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;display:flex}.chapter-fullscreen-block-actions input{color:#eceff4;background:#202736;border:1px solid #4c566a;border-radius:8px;min-width:180px;padding:.55rem .7rem}.chapter-fullscreen-block textarea{resize:vertical;color:#eceff4;background:#202736;border:1px solid #5e81ac;border-radius:10px;width:100%;min-height:320px;max-height:720px;padding:.85rem;font-size:1.03rem;line-height:1.6}@media (width<=900px){.chapter-fullscreen-backdrop{padding:.4rem}.chapter-fullscreen-header{flex-direction:column}.chapter-fullscreen-actions,.chapter-fullscreen-block-actions{justify-content:flex-start}.chapter-fullscreen-block textarea{min-height:240px}}.app-mode-badge{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;padding:.5rem .8rem;font-size:.9rem;font-weight:900;display:inline-flex}.app-mode-badge.personal{color:#a3be8c;background:#a3be8c2e;border-color:#a3be8c}.app-mode-badge.web{color:#88c0d0;background:#88c0d02e;border-color:#88c0d0}.app-mode-switcher{white-space:nowrap;align-items:center;gap:.45rem;display:inline-flex}.app-mode-toggle-button{border-radius:999px;padding:.45rem .7rem;font-size:.85rem;font-weight:800;color:#eceff4!important;background:#3b4252!important;border:1px solid #5e81ac!important}.app-mode-toggle-button:hover{filter:brightness(1.12)}.header-filter-select,.app-mode-select{white-space:nowrap;background:#2b3242;border:1px solid #4c566a;border-radius:10px;align-items:center;gap:.45rem;padding:.35rem .45rem .35rem .65rem;display:inline-flex}.header-filter-select span,.app-mode-select span{color:#88c0d0;font-size:.82rem;font-weight:900}.header-filter-select select,.app-mode-select select{appearance:none;color:#eceff4;cursor:pointer;background:#3b4252;border:1px solid #5e81ac;border-radius:8px;padding:.45rem 1.8rem .45rem .65rem;font-weight:900}.header-filter-select select:focus,.app-mode-select select:focus{outline-offset:2px;outline:2px solid #88c0d0}.app-mode-select.personal{border-color:#a3be8c}.app-mode-select.personal span{color:#a3be8c}.app-mode-select.web{border-color:#88c0d0}.app-mode-select.web span{color:#88c0d0}.archive-view-switch,.library-view-switch,.app-mode-switcher{display:none!important}@media (width<=1100px){.header-filter-select,.app-mode-select{justify-content:space-between;width:100%}.header-filter-select select,.app-mode-select select{flex:1}}.runtime-mode-dropdown{white-space:nowrap;background:#2e3440e0;border:1px solid #a3be8c;border-radius:12px;align-items:center;gap:.55rem;padding:.42rem .6rem;display:inline-flex}.runtime-mode-dropdown label{color:#a3be8c;margin:0;font-size:.9rem;font-weight:900}.runtime-mode-dropdown select{color:#fff;cursor:pointer;background:#3b4252;border:1px solid #81a1c1;border-radius:8px;outline:none;min-width:130px;padding:.45rem .75rem;font-weight:900}.runtime-mode-dropdown select:focus{border-color:#88c0d0;box-shadow:0 0 0 2px #88c0d02e}.app-mode-switcher,.app-mode-toggle-button,.app-mode-badge,.app-mode-select{display:none!important}.topbar.topbar-two-rows{background:#1f2430!important;border-bottom:1px solid #3b4252!important;flex-direction:column!important;gap:.75rem!important;margin-bottom:1.25rem!important;padding:.75rem .9rem!important;display:flex!important;overflow:visible!important}.topbar-two-rows .topbar-row{align-items:center!important;gap:.85rem!important;width:100%!important;display:flex!important}.topbar-two-rows .topbar-row-main{justify-content:space-between!important}.topbar-two-rows .topbar-left-actions{flex:none!important;align-items:center!important;gap:.7rem!important;display:flex!important}.topbar-two-rows .topbar-left-actions .topbar-actions{flex-wrap:nowrap!important;align-items:center!important;gap:.7rem!important;display:flex!important}.topbar-two-rows .topbar-search-area{flex:auto!important;min-width:360px!important;max-width:760px!important}.topbar-two-rows .topbar-search-area .search{width:100%!important;max-width:none!important}.topbar-two-rows .topbar-user-area{flex:none!important;margin-left:auto!important}.topbar-two-rows .topbar-row-filters{justify-content:flex-start!important}.topbar-two-rows .topbar-filter-group{flex-wrap:wrap!important;align-items:center!important;gap:.85rem!important;display:flex!important}.topbar-two-rows .runtime-mode-dropdown{margin:0!important}.top-menu-wrapper{z-index:300!important;order:0!important;position:relative!important;top:auto!important;left:auto!important}.top-menu-dropdown{z-index:500!important;min-width:240px!important;max-width:320px!important;position:absolute!important;top:calc(100% + .5rem)!important;left:0!important;right:auto!important}@media (width<=1250px){.topbar-two-rows .topbar-row-main{flex-wrap:wrap!important}.topbar-two-rows .topbar-search-area{flex-basis:100%!important;order:3!important;max-width:none!important}}@media (width<=850px){.topbar-two-rows .topbar-left-actions,.topbar-two-rows .topbar-left-actions .topbar-actions,.topbar-two-rows .topbar-filter-group{flex-wrap:wrap!important;width:100%!important}.topbar-two-rows .topbar-user-area{width:100%!important}}.show-view-select,.view-mode-banner{display:none!important}.web-visible-button{color:#88c0d0;background:#88c0d02e;border:1px solid #88c0d0;border-radius:10px;width:100%;margin:.6rem 0;padding:.65rem .85rem;font-weight:900}.web-visible-button.active{color:#ffb4bc;background:#bf616a2e;border-color:#bf616a}.current-user-badge.role-user{color:#d5f1f7;border-color:#88c0d0}.download-book-button{width:100%;color:#1a1d23!important;text-align:center!important;background:#81a1c1!important;border:1px solid #88c0d0!important;font-weight:900!important}.download-book-button:hover{filter:brightness(1.08);transform:translateY(-1px)}.download-book-button:focus-visible{outline-offset:2px;outline:3px solid #eceff4}.topbar-two-rows .topbar-row-filters{padding-top:.15rem}.topbar-two-rows .topbar-filter-group{align-items:flex-end!important;width:100%!important}.topbar-two-rows .header-filter-select{flex:190px;min-width:180px;max-width:330px;min-height:48px}.topbar-two-rows .header-filter-select.library-view-select{flex-basis:210px}.topbar-two-rows .header-filter-select span{flex:none}.topbar-two-rows .header-filter-select select{text-overflow:ellipsis;flex:auto;min-width:0;max-width:100%}.sidebar{width:230px}.sidebar h1{margin-bottom:.45rem}.sidebar .status{margin-top:0}.sidebar-book-total-top{color:#d8dee9;margin-top:.75rem;line-height:1.4}.sidebar-book-total-top strong{color:#88c0d0}.main{min-width:0}.grid{align-content:start}.details .actions{gap:.75rem}.details .actions button{min-height:44px}.current-user-badge.role-creator,.current-user-badge.role-guest{color:#d5f1f7;border-color:#88c0d0}@media (width<=1250px){.topbar-two-rows .header-filter-select{flex:calc(50% - .5rem);max-width:none}}@media (width<=850px){.sidebar{display:none}.topbar-two-rows .header-filter-select{flex-basis:100%;width:100%;min-width:100%;max-width:none}.topbar-two-rows .header-filter-select select{width:100%}.topbar-two-rows .topbar-search-area{min-width:100%!important}.topbar-two-rows .topbar-user-area{justify-content:flex-start;display:flex}.current-user-badge{text-overflow:ellipsis;max-width:100%;overflow:hidden}}.book-detail-actions{flex-direction:column;gap:.7rem;width:100%;margin-top:1.25rem;display:flex}.book-detail-actions button{text-align:left;border-radius:7px;width:100%;min-height:48px;padding:.7rem .85rem;font-weight:900}.book-detail-actions .view-chapters-button{color:#1a1d23;background:#a3be8c;border:1px solid #8fbc8f}.book-detail-actions .download-book-button{visibility:visible!important;opacity:1!important;color:#1a1d23!important;background:#81a1c1!important;border:1px solid #88c0d0!important;display:block!important}.book-detail-actions .remove-from-library-button{color:#1a1d23!important;background:#ebcb8b!important;border:1px solid #d08770!important}.book-detail-actions button:hover{filter:brightness(1.08);transform:translateY(-1px)}.book-detail-actions button:focus-visible{outline-offset:2px;outline:3px solid #eceff4}.archived-view-banner{background:#ebcb8b1f;border:1px solid #ebcb8b;border-left-width:5px;border-radius:10px;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;padding:.85rem 1rem;display:flex}.archived-view-banner>div{flex-direction:column;gap:.25rem;display:flex}.archived-view-banner strong{color:#ebcb8b;font-size:1rem}.archived-view-banner span{color:#d8dee9;font-size:.88rem}.archived-view-banner button{color:#1a1d23;white-space:nowrap;background:#ebcb8b;flex:none;font-weight:900}.archived-card-badge{color:#1a1d23;background:#ebcb8b;border-radius:6px;margin:.4rem 0 0;padding:.25rem .5rem;font-size:.75rem;font-weight:900;display:inline-block}.book-detail-actions .restore-book-button{width:100%;color:#1a1d23!important;background:#a3be8c!important;border:1px solid #8fbc8f!important;font-weight:900!important;display:block!important}.book-detail-actions .restore-book-button:hover{filter:brightness(1.08);transform:translateY(-1px)}@media (width<=700px){.archived-view-banner{flex-direction:column;align-items:stretch}.archived-view-banner button{width:100%}}.chapter-panel{z-index:1000!important;padding:1rem!important}.chapter-panel>.chapter-header{z-index:1010;flex:none;margin-bottom:1rem;position:sticky;top:0;box-shadow:0 4px 14px #00000059}.chapter-panel .close-chapters{white-space:nowrap;cursor:pointer;border-radius:8px;flex:none;justify-content:center;align-items:center;min-height:44px;padding:.7rem 1rem;font-weight:900;display:inline-flex;color:#fff!important;background:#bf616a!important;border:1px solid #d08770!important}.chapter-panel .close-chapters:hover{filter:brightness(1.1);transform:translateY(-1px)}@media (width<=700px){.chapter-panel{padding:.5rem!important}.chapter-panel>.chapter-header{flex-direction:column;align-items:stretch;gap:.75rem;padding:.8rem}.chapter-panel .close-chapters{width:100%}.chapter-layout{grid-template-columns:minmax(140px,38%) 1fr;gap:.5rem}}
