.cost-report{min-width:0;color:#cbd5e1;font-size:12px;line-height:1.5}.cost-report-header{padding:6px 0 18px}.cost-eyebrow{color:#7dd3fc;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.cost-report .cost-report-header h1{margin:5px 0;font-size:23px;letter-spacing:-.035em}.cost-report .cost-report-header p{color:#94a3b8;font-size:12px}.cost-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-bottom:24px}.cost-summary-card{display:flex;flex-direction:column;gap:8px;padding:15px;border:1px solid #334155;border-radius:10px;background:#152033;container-type:inline-size}.cost-summary-card.primary{background:linear-gradient(130deg,#133738,#142636);border-color:#2a615f}.cost-summary-card>span{color:#94a3b8;font-size:11px}.cost-summary-card>strong{color:#f1f5f9;font-size:24px;font-weight:650;letter-spacing:-.04em;font-variant-numeric:tabular-nums;white-space:nowrap}.cost-summary-card.primary>strong{color:#99f6e4;font-size:clamp(14px,15cqi,24px)}.cost-summary-card.has-unknown>strong{color:#fcd34d}.cost-summary-card>small{color:#94a3b8;font-size:10px}.cost-report-section{margin:0 0 24px}.cost-report .cost-report-section h2{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:14px;font-weight:650}.cost-report-section h2>span{padding:1px 6px;border-radius:5px;background:#334155;color:#cbd5e1;font-size:10px}.cost-table-scroll{overflow-x:auto;border:1px solid #334155;border-radius:8px}.cost-table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}.cost-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.cost-table th{padding:10px 12px;background:#152033;color:#94a3b8;font-size:10px;font-weight:600;white-space:nowrap}.cost-table td{padding:12px;border-top:1px solid #334155;vertical-align:top}.cost-table tbody tr:hover{background:#ffffff03}.cost-table td>strong{display:block;margin-bottom:3px;color:#e2e8f0;font-size:11px;font-weight:600}.cost-model{display:block;color:#a5b4fc;font-size:10px;margin-bottom:6px}.cost-run{display:flex;flex-direction:column;gap:3px;color:#94a3b8;font-size:10px;white-space:nowrap}.cost-run code{color:#94a3b8;font-size:9px}.cost-money{font-variant-numeric:tabular-nums;white-space:nowrap;color:#e2e8f0}.cost-money.muted{color:#94a3b8}.cost-status{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:5px;font-size:10px;text-transform:capitalize;white-space:nowrap}.cost-status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.cost-status.success{color:#6ee7b7;background:#10b98114}.cost-status.failed{color:#fda4af;background:#fb718514}.cost-status.pending{color:#fcd34d;background:#fbbf2414}.cost-basis{display:block;min-width:135px;max-width:220px;margin-top:7px;color:#94a3b8;font-size:10px}.cost-usage{min-width:150px}.cost-usage dl{display:grid;gap:5px;margin:0 0 8px}.cost-usage dl>div{display:flex;justify-content:space-between;gap:18px}.cost-usage dt{color:#94a3b8;font-size:10px}.cost-usage dd{margin:0;color:#e2e8f0;font-size:10px;font-variant-numeric:tabular-nums}.cost-usage summary{color:#7dd3fc;font-size:10px;cursor:pointer}.cost-usage pre{max-width:280px;max-height:220px;margin:8px 0 0;padding:10px;overflow:auto;border-radius:5px;background:#0f172a;font-size:10px}.cost-report-footer{padding-top:14px;border-top:1px solid #334155;color:#94a3b8;font-size:10px;line-height:1.7}.cost-report-footer a{color:#7dd3fc;text-decoration:none}.cost-report-footer a:hover{text-decoration:underline}.doc-page{max-width:1000px;margin:0 auto;padding:24px}.doc-page h1{display:flex;align-items:center;gap:10px}.doc-page h2{font-size:17px;margin:0 0 16px}.doc-page p{line-height:1.6}.doc-card{border:1px solid var(--border, #334155);border-radius:12px;padding:22px;margin-top:22px}.doc-drop{border:2px dashed #64748b;border-radius:8px;text-align:center;padding:24px}.doc-drop input{display:block;max-width:100%;margin:16px auto}.doc-drop small,.doc-note{display:block;opacity:.75;font-size:12px}.doc-list{list-style:none;padding:0;max-height:420px;overflow-y:auto}.doc-list li{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:10px 0;border-bottom:1px solid #64748b44}.doc-list li>span{min-width:0;overflow-wrap:anywhere}.doc-row-actions{display:flex;gap:5px;flex-shrink:0}.doc-page button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #64748b;background:transparent;color:inherit;padding:9px 12px;border-radius:6px;cursor:pointer}.doc-page button:disabled{opacity:.45;cursor:default}.doc-page .doc-primary{background:#2563eb;color:#fff;border-color:#2563eb}.doc-controls{display:flex;flex-wrap:wrap;align-items:end;gap:15px;margin-bottom:16px}.doc-controls label{display:grid;gap:7px;font-size:13px}.doc-controls select{padding:9px;border-radius:6px;background:var(--bg-secondary, #182235);color:inherit;border:1px solid #64748b}.doc-error{color:#f87171}@media(max-width:600px){.doc-page{padding:12px}.doc-card{padding:14px}.doc-row-actions button{padding:7px}}.dashboard-tabs{display:flex;gap:5px;border-bottom:1px solid var(--dash-line);padding:0 0 8px;overflow-x:auto}.dashboard-tabs button{display:flex;align-items:center;gap:7px;padding:9px 14px;border:1px solid transparent;border-radius:6px;background:transparent;color:#94a3b8;font-size:12px;cursor:pointer;white-space:nowrap}.dashboard-tabs button[aria-pressed=true]{background:#173536;color:#99f6e4;border-color:#2a5756}.dashboard-tabs button:hover{color:#e2e8f0}.dashboard-filters.with-search{grid-template-columns:repeat(4,minmax(100px,1fr)) minmax(150px,1.2fr)}.dashboard-filters input{min-width:0;height:31px;padding:0 9px;border:1px solid #35465c;border-radius:4px;background:#0f1723;color:#e2e8f0;font-size:11px}.dashboard-cost-content{display:grid;min-width:0;gap:12px}.dashboard-cost-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,1fr);gap:12px}.dashboard-cost-select{min-width:0;height:29px;padding:0 8px;border:1px solid #35465c;border-radius:4px;background:#0f1723;color:#cbd5e1;font-size:11px}.dashboard-cost-currency{color:#94a3b8;font-size:10px;white-space:nowrap}.dashboard-cost-chart-scroll{overflow-x:auto}.dashboard-cost-chart{display:flex;align-items:stretch;height:200px;min-width:320px;gap:3px;border-bottom:1px solid #334155;padding-top:10px}.dashboard-cost-chart.dense{min-width:720px}.dashboard-cost-chart button{display:flex;flex:1;flex-direction:column;justify-content:flex-end;min-width:0;padding:0;border:0;background:transparent;cursor:pointer}.dashboard-cost-bar-track{position:relative;display:flex;align-items:flex-end;justify-content:center;flex:1;width:100%;border-bottom:2px solid transparent}.dashboard-cost-bar-track i{display:block;width:min(100%,27px);min-height:1px;border-radius:4px 4px 0 0;background:linear-gradient(#7dd3c2,#258c8b)}.dashboard-cost-chart button:hover .dashboard-cost-bar-track,.dashboard-cost-chart button.selected .dashboard-cost-bar-track{border-bottom-color:#a5f3fc;background:#38bdf80a}.dashboard-cost-chart button:focus-visible{outline:2px solid #7dd3fc;outline-offset:1px}.dashboard-cost-chart button small{width:100%;min-height:23px;padding-top:6px;color:#94a3b8;font-size:8px;white-space:nowrap}.dashboard-cost-unknown-dot{position:absolute;bottom:4px;width:5px;height:5px;border-radius:50%;background:#fcd34d;box-shadow:0 0 0 2px #151f2e}.dashboard-cost-chart-detail{display:flex;align-items:center;flex-wrap:wrap;gap:14px;min-height:36px;color:#cbd5e1;font-size:10px}.dashboard-cost-chart-detail span{display:flex;align-items:center;gap:5px}.dashboard-cost-chart-detail i{width:6px;height:6px;border-radius:50%;background:#5eead4}.dashboard-cost-chart-detail i.unknown{background:#fcd34d}.dashboard-cost-chart-detail small{color:#94a3b8;font-size:9px}.dashboard-cost-caption{margin:5px 0 9px;color:#94a3b8;font-size:10px;line-height:1.6}.dashboard-cost-breakdown{display:grid;gap:13px}.dashboard-cost-breakdown>div>div:first-child{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:5px}.dashboard-cost-breakdown strong{overflow:hidden;color:#cbd5e1;font-size:11px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.dashboard-cost-breakdown a{color:#93c5fd;text-decoration:none}.dashboard-cost-breakdown b{color:#e2e8f0;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.dashboard-cost-breakdown small{display:block;margin-top:4px;color:#94a3b8;font-size:9px}.dashboard-cost-breakdown small span{color:#fcd34d}.dashboard-cost-token-note{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;color:#94a3b8;font-size:10px}.dashboard-cost-table{min-width:650px}.dashboard-cost-table td{font-variant-numeric:tabular-nums}.dashboard-cost-table td>strong{display:block;color:#e2e8f0;font-size:11px}.dashboard-cost-table td>small,.dashboard-cost-table td>code{display:block;margin-top:4px;color:#94a3b8;font-size:9px}.dashboard-cost-table td a{color:#93c5fd;text-decoration:none}.dashboard-cost-table td a:hover{text-decoration:underline}.dashboard-cost-status{display:inline-block;border-radius:4px;padding:3px 7px;text-transform:capitalize}.dashboard-cost-status.success{background:#10b98118;color:#6ee7b7}.dashboard-cost-status.failed{background:#fb718518;color:#fda4af}.dashboard-cost-status.pending{background:#fbbf2418;color:#fcd34d}.dashboard-cost-pagination{display:flex;align-items:center;gap:7px;padding-top:10px;font-size:10px}.dashboard-cost-pagination span{margin-right:auto;color:#94a3b8}.dashboard-cost-pagination button{padding:5px 9px;border:1px solid #35465c;border-radius:4px;background:#0f1723;color:#cbd5e1;cursor:pointer}.dashboard-cost-pagination button:disabled{opacity:.4;cursor:default}.dashboard-cost-footnote{color:#94a3b8;font-size:10px;line-height:1.7}.dashboard-cost-overview{display:flex;align-items:center;flex-wrap:wrap;gap:15px;border:1px solid #2a5756;border-radius:6px;padding:12px;background:#142c30;font-size:11px}.dashboard-cost-overview>strong{color:#99f6e4;font-size:17px;font-variant-numeric:tabular-nums}.dashboard-cost-overview>span{color:#b8c6d5}.dashboard-cost-overview button{margin-left:auto;color:#99f6e4;background:transparent;border:0;cursor:pointer;font-size:11px}@media(max-width:1050px){.dashboard-filters.with-search{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-cost-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:680px){.dashboard-filters.with-search{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-filters.with-search label:last-child{grid-column:1 / -1}.dashboard-tabs button{padding:8px;font-size:11px}.dashboard-cost-overview{gap:8px}.dashboard-cost-token-note{max-width:160px;font-size:9px}}.video-editor{padding:24px;color:var(--text-primary, #e2e8f0);max-width:1800px;margin:auto}.ve-heading,.ve-toolbar,.ve-transport,.ve-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ve-heading{justify-content:space-between;margin-bottom:20px}.video-editor h1{display:flex;align-items:center;gap:10px;margin:0;font-size:24px}.video-editor h2{font-size:15px;margin:0 0 12px}.video-editor p,.ve-hint{font-size:12px;color:#94a3b8;line-height:1.6}.ve-badge{font-size:11px;color:#8cdbc7;background:#163b36;padding:7px 12px;border-radius:20px}.ve-workspace{display:grid;grid-template-columns:minmax(250px,1fr) minmax(0,2fr);gap:16px}.ve-library,.ve-preview,.ve-timeline-panel,.ve-inspector,.ve-export{border:1px solid #334155;background:#131c2b;border-radius:12px;overflow:hidden}.ve-library,.ve-inspector,.ve-export{padding:18px}.video-editor button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #40516b;border-radius:6px;padding:8px 10px;background:#253349;color:#edf3ff;cursor:pointer;font-size:12px}.video-editor button:disabled{opacity:.4;cursor:not-allowed}.video-editor button:hover:not(:disabled){border-color:#65bcae}.video-editor input:not([type=range]),.video-editor select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #40516b;background:#0d1522;color:#edf3ff;padding:8px;border-radius:6px}.video-editor input[type=range]{accent-color:#65d3b6}.ve-sources{max-height:330px;overflow:auto;margin-top:14px}.ve-source{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #28364a;cursor:grab}.ve-source>div{flex:1;min-width:0}.ve-source strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.ve-source small{display:block;font-size:10px;color:#94a3b8;margin-top:5px;overflow-wrap:anywhere}.ve-screen{background:#05080f;width:100%;aspect-ratio:16/9;display:flex;justify-content:center;align-items:center;text-align:center;max-height:450px}.ve-screen video{width:100%;height:100%;object-fit:contain}.ve-transport{padding:10px 14px 0;font-size:12px}.ve-transport span:last-child{margin-left:auto;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#94a3b8}.ve-scrubber{width:calc(100% - 28px);margin:12px 14px}.ve-timeline-panel{margin-top:16px;padding:18px}.ve-toolbar h2{margin:0 auto 0 0}.ve-toolbar label{display:flex;align-items:center;gap:8px;font-size:12px}.ve-toolbar>span{font-size:12px;color:#94a3b8}.ve-timeline-scroll{overflow:auto;background:#0b1320;margin-top:16px;border-radius:8px;padding-bottom:15px}.ve-track{position:relative;min-height:142px}.ve-ruler{height:36px;border-bottom:1px solid #334155;position:relative;cursor:crosshair}.ve-ruler span{position:absolute;top:10px;border-left:1px solid #53647d;padding-left:5px;font-size:10px;color:#94a3b8}.ve-clips{display:flex;padding-top:12px;min-height:95px}.video-editor .ve-clip{flex-shrink:0;height:84px;min-width:1px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;overflow:hidden;padding:8px;background:linear-gradient(130deg,#204b5f,#234c42);border:2px solid #4a8b88;border-radius:5px;cursor:grab}.ve-clip strong,.ve-clip small{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.video-editor .ve-clip.selected{border-color:#a4ffdc;box-shadow:inset 0 0 0 1px #a4ffdc}.ve-playhead{position:absolute;top:0;bottom:0;border-left:2px solid #fbbe67;pointer-events:none}.ve-playhead:before{content:"";position:absolute;left:-5px;border-top:8px solid #fbbe67;border-left:4px solid transparent;border-right:4px solid transparent}.ve-empty{padding:30px;color:#64748b;font-size:14px}.ve-bottom{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.ve-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ve-fields label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#b4c2d5}.ve-actions{margin:16px 0}.video-editor fieldset{border:0;padding:0;margin:0;min-width:0}.video-editor small{color:#9cacc2}.video-editor .ve-primary{background:#69d8b7;color:#062e25;font-weight:600;border-color:#69d8b7}.ve-error{padding:12px;margin-bottom:16px;background:#49252b;color:#ffb8be;font-size:13px;display:flex;justify-content:space-between;align-items:center;gap:10px;white-space:pre-wrap}.ve-export a{color:#78dfbf}.ve-export progress{width:100%;accent-color:#69d8b7}@media(max-width:950px){.ve-workspace,.ve-bottom{grid-template-columns:1fr}.ve-sources{max-height:220px}.video-editor{padding:12px}}.editor-progress{margin-top:16px;padding:14px;background:#0c1828;border:1px solid #38556b;border-radius:8px}.editor-progress>div{display:flex;justify-content:space-between;gap:12px;font-size:13px}.editor-progress progress{width:100%;margin:12px 0 4px;accent-color:#69d8b7}.editor-progress-source{overflow-wrap:anywhere}.ae-top{display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,1.5fr);gap:16px}.ae-monitor{display:flex;flex-direction:column;justify-content:center}.ae-time{font:500 44px ui-monospace,monospace;color:#b9f8e3;margin:12px 0}.ae-time span{font-size:20px;color:#8293ad}.ae-monitor>input[type=range]{width:100%}.audio-editor .ae-check{display:inline-flex;align-items:center;gap:7px;font-size:12px}.audio-editor .ae-check input{width:auto;accent-color:#70d9bc}.ae-arrangement{display:flex;margin-top:16px;border:1px solid #344359;border-radius:8px;overflow:hidden}.ae-track-headers{width:172px;flex-shrink:0;background:#172235;z-index:2}.ae-track-spacer{height:36px;box-sizing:border-box;font-size:10px;letter-spacing:1px;padding:12px;color:#8b9cb5;border-bottom:1px solid #334155}.audio-editor fieldset.ae-track-controls{height:160px;box-sizing:border-box;padding:10px;border-bottom:1px solid #36465e}.audio-editor .ae-track-controls>input{padding:3px 5px;font-size:12px}.ae-track-controls>div{display:flex;gap:4px;margin:5px 0}.audio-editor .ae-track-controls button{font-size:10px;padding:3px 10px}.ae-track-controls label{display:flex;align-items:center;gap:6px;font-size:10px;color:#afbdd1;margin-top:7px;white-space:nowrap}.ae-track-controls input[type=range]{width:75px;min-width:0;margin-left:auto}.audio-editor button.ae-on{color:#102f28;background:#78e1c0}.ae-scroll{overflow:auto;flex:1;background:#0b1320}.ae-timeline{position:relative}.ae-lane{height:160px;box-sizing:border-box;border-bottom:1px solid #334155;position:relative;background:linear-gradient(0deg,#14203766,transparent)}.ae-muted .ae-clip{opacity:.35}.audio-editor .ae-clip{position:absolute;top:20px;height:115px;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch;padding:7px;overflow:hidden;background:hsl(var(--track-hue) 35% 22%);border:1px solid hsl(var(--track-hue) 45% 48%);cursor:grab;text-align:left;min-width:4px}.audio-editor .ae-clip.selected{border:2px solid #b7ffe8;z-index:1;box-shadow:0 0 0 2px #61e0b52a}.ae-clip strong,.ae-clip small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:11px;z-index:1}.ae-waveform{position:relative;height:58px;overflow:hidden;pointer-events:auto}.ae-waveform img{height:100%;position:absolute;top:0;max-width:none;pointer-events:none}.ae-waveform span{font-size:9px;color:#b3c7d3;white-space:nowrap}.ae-fade-in,.ae-fade-out{pointer-events:none;position:absolute;top:0;bottom:0;background:#fcd68b2b}.ae-fade-in{left:0;clip-path:polygon(0 0,100% 0,0 100%)}.ae-fade-out{right:0;clip-path:polygon(0 0,100% 0,100% 100%)}.ae-drop-hint{position:absolute;left:24px;top:64px;font-size:12px;color:#566985;pointer-events:none}.audio-editor input[hidden]{display:none}@media(max-width:950px){.ae-top{grid-template-columns:1fr}.ae-track-headers{width:140px}.ae-time{font-size:34px}}*{margin:0;padding:0;box-sizing:border-box}html,body,#root{width:100%;height:100%}body{overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#111827;color:#e5e7eb}.app{display:flex;flex-direction:column;height:100vh;height:100dvh}.auth-gate{display:grid;min-height:100vh;place-items:center;padding:24px;background:radial-gradient(circle at 15% 10%,rgba(37,99,235,.2),transparent 30%),radial-gradient(circle at 85% 5%,rgba(14,165,233,.12),transparent 28%),linear-gradient(180deg,#020617,#0f172a)}.auth-card{width:min(100%,420px);border:1px solid rgba(148,163,184,.18);border-radius:20px;padding:30px;background:#0f172ae6;box-shadow:0 24px 65px #00000073;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.auth-brand{display:flex;align-items:center;gap:8px;margin-bottom:28px;color:#93c5fd;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.auth-lock{display:grid;width:54px;height:54px;place-items:center;margin-bottom:18px;border-radius:14px;background:#3b82f624;color:#60a5fa}.auth-card h1{color:#f8fafc;font-size:23px;line-height:1.25}.auth-card>p{margin-top:10px;color:#94a3b8;font-size:13px;line-height:1.6}.auth-google-button{min-height:44px;margin-top:24px}.auth-progress{display:flex;align-items:center;gap:7px;margin-top:14px;color:#cbd5e1;font-size:12px}.auth-card .auth-error{margin-top:14px;color:#fda4af;font-size:12px}.auth-loading{display:grid;min-height:100vh;place-items:center;background:#020617;color:#94a3b8;font-size:12px}.auth-user{display:flex;max-width:32px;height:26px;align-items:center;justify-content:center;overflow:hidden;border:1px solid #334155;border-radius:50%;background:#1e293b;color:#94a3b8;cursor:pointer}.auth-user:hover{border-color:#475569;color:#e2e8f0}.auth-user img{width:100%;height:100%;object-fit:cover}.header{display:flex;align-items:center;gap:8px;height:42px;padding:0 12px;background:#0f172a;color:#e2e8f0;flex-shrink:0;border-bottom:1px solid #1e293b;position:relative;z-index:100}.header-title{font-size:13px;font-weight:600;white-space:nowrap;color:#94a3b8;text-decoration:none;cursor:pointer}.header-title:hover{color:#e2e8f0}.header-logo{display:flex;align-items:center;justify-content:center;padding:3px;border:0;border-radius:4px;background:transparent;cursor:pointer}.header-logo:hover{background:#1e293b}.menu-btn{background:none;border:none;color:#94a3b8;cursor:pointer;padding:4px;border-radius:4px;display:flex}.menu-btn:hover{background:#1e293b;color:#e2e8f0}.search-form{display:flex;align-items:center;background:#1e293b;border-radius:5px;padding:0 8px;border:1px solid #334155}.search-form input{background:none;border:none;color:#e2e8f0;font-size:12px;padding:5px 6px;width:180px;outline:none}.search-form input::placeholder{color:#64748b}.search-icon{color:#64748b;flex-shrink:0}.header-breadcrumb{display:flex;align-items:center;gap:2px;margin-left:10px;font-size:11px;min-width:0;overflow:hidden}.bc-link{color:#64748b;text-decoration:none;white-space:nowrap}.bc-link:hover{color:#e2e8f0}.bc-sep{color:#475569;flex-shrink:0;margin:0 1px}.bc-current{color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px;display:inline-block;vertical-align:middle}.header-file-context{display:flex;align-items:center;gap:10px;min-width:0;margin-left:10px}.header-back{display:inline-flex;align-items:center;gap:4px;border:0;border-right:1px solid #334155;padding:4px 10px 4px 0;background:transparent;color:#60a5fa;font:inherit;font-size:11px;cursor:pointer}.header-back:hover{color:#93c5fd}.header-file-name{max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#cbd5e1;font-size:12px;font-weight:600}.header-collapse-btn{display:flex;align-items:center;border:0;border-radius:4px;padding:4px;background:transparent;color:#64748b;cursor:pointer}.header-collapse-btn:hover{background:#1e293b;color:#e2e8f0}.header.header-collapsed{height:34px;gap:6px}.header.player-page-header:not(.header-collapsed){gap:5px}.player-page-header .header-nav{min-width:0;max-width:32vw}.player-page-header .hdr-drop{min-width:0}.player-page-header .hdr-drop-btn{min-width:0;max-width:140px;overflow:hidden}.player-page-header .hdr-drop-btn:not([title]){overflow:hidden;text-overflow:ellipsis}.player-page-header .header-file-context{min-width:0;max-width:180px}.player-page-header .playback-bar{min-width:0;flex:0 1 auto}.player-page-header .pb-slider{min-width:48px;width:clamp(48px,7vw,100px)}.player-page-header .search-form{min-width:82px;flex:0 1 150px}.player-page-header .search-form input{min-width:0;width:100%}@media(max-width:1250px){.header.player-page-header:not(.header-collapsed){height:auto;min-height:42px;flex-wrap:wrap;padding-top:4px;padding-bottom:4px}.player-page-header .header-nav{max-width:calc(100vw - 170px)}.player-page-header .header-file-context{flex:1 1 160px;max-width:none}.player-page-header .header-spacer{display:none}.player-page-header .playback-bar{order:20;margin-left:auto}.player-page-header>.hdr-drop,.player-page-header .search-form,.player-page-header .header-collapse-btn{order:21}}@media(max-width:720px){.player-page-header .header-file-context{display:none}.player-page-header .header-nav{max-width:calc(100vw - 80px)}.player-page-header .search-form{flex-basis:105px}.player-page-header .pb-voice-label-text{display:none}}.playback-bar{display:flex;align-items:center;gap:4px;margin-right:6px;flex-shrink:0;background:#1e293b;border-radius:4px;padding:2px 8px;border:1px solid #334155}.pb-icon{color:#64748b;flex-shrink:0}.pb-btn{background:none;border:none;color:#64748b;cursor:pointer;padding:3px;border-radius:3px;display:flex;align-items:center}.pb-btn:hover{background:#334155;color:#e2e8f0}.pb-play{color:#4ade80}.pb-play:hover{color:#22c55e;background:#334155}.pb-slider{width:100px;height:3px;accent-color:#3b82f6;cursor:pointer}.pb-pos{font-size:10px;color:#64748b;white-space:nowrap;min-width:30px;text-align:center}.pb-voice-label-text{font-size:10px;color:#94a3b8;max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pb-rate{min-width:30px;justify-content:center;color:#93c5fd;font-size:9px;font-variant-numeric:tabular-nums}.pb-voice-wrap{position:relative}.pb-voice-menu{position:absolute;top:100%;left:0;background:#1e293b;border:1px solid #334155;border-radius:6px;min-width:240px;max-height:360px;overflow-y:auto;box-shadow:0 8px 24px #00000080;z-index:200;padding:4px;margin-top:4px}.pb-voice-label{font-size:10px;font-weight:600;color:#64748b;text-transform:uppercase;padding:6px 10px 2px;letter-spacing:.5px}.pb-voice-item{display:flex;align-items:center;justify-content:space-between;width:100%;padding:5px 10px;background:none;border:none;color:#cbd5e1;font-size:11px;cursor:pointer;border-radius:3px;text-align:left}.pb-voice-item:hover{background:#334155;color:#fff}.pb-voice-item.active{background:#2563eb;color:#fff}.pb-voice-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pb-voice-lang{font-size:10px;color:#64748b;flex-shrink:0;margin-left:8px}.pb-voice-item.active .pb-voice-lang{color:#ffffffb3}.header-spacer{flex:1}.header-nav{display:flex;gap:2px;margin-left:8px}.hdr-drop{position:relative}.hdr-drop-btn{display:flex;align-items:center;gap:4px;background:none;border:none;color:#94a3b8;font-size:12px;padding:5px 8px;border-radius:4px;cursor:pointer;white-space:nowrap}.hdr-drop-btn:hover,.hdr-drop-btn.open{background:#1e293b;color:#e2e8f0}.hdr-drop-menu{position:absolute;top:100%;left:0;background:#1e293b;border:1px solid #334155;border-radius:6px;min-width:180px;max-height:320px;overflow-y:auto;box-shadow:0 8px 24px #00000080;z-index:200;padding:4px}.hdr-drop-menu a{display:flex;align-items:center;gap:8px;padding:6px 10px;color:#cbd5e1;font-size:12px;text-decoration:none;border-radius:4px;white-space:nowrap}.hdr-drop-menu a:hover{background:#334155;color:#fff}.hdr-drop-menu .divider{height:1px;background:#334155;margin:4px 0}.hdr-drop-item{display:flex;align-items:center;gap:8px;width:100%;border:0;border-radius:4px;padding:6px 10px;background:transparent;color:#cbd5e1;font:inherit;font-size:12px;text-align:left;white-space:nowrap;cursor:pointer}.hdr-drop-item:hover,.hdr-drop-item.active{background:#334155;color:#fff}.view-menu-item span{flex:1}.view-menu-check{color:#60a5fa}.view-toggle{display:flex;gap:1px;background:#1e293b;border-radius:4px;border:1px solid #334155;margin-left:6px}.view-toggle button{background:none;border:none;color:#64748b;padding:4px 6px;cursor:pointer;display:flex}.view-toggle button:first-child{border-radius:3px 0 0 3px}.view-toggle button:last-child{border-radius:0 3px 3px 0}.view-toggle button.active{background:#334155;color:#e2e8f0}.view-toggle button:hover{color:#e2e8f0}.subtitle-bar{position:fixed;left:50%;bottom:max(22px,env(safe-area-inset-bottom));z-index:1000;width:max-content;max-width:min(720px,calc(100vw - 40px));padding:7px 14px;overflow:hidden;transform:translate(-50%);border-radius:4px;background:#000000d1;box-shadow:0 3px 14px #00000080;text-align:center;pointer-events:none}.subtitle-text{display:block;white-space:normal;overflow:visible;font-size:var(--subtitle-font-size, 16px);font-weight:500;color:var(--subtitle-color, #fff);line-height:1.35;text-shadow:0 1px 3px #000;animation:subtitle-fade .18s ease}@keyframes subtitle-fade{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.video-pdf-subtitle{position:absolute}.subtitle-teleprompter{position:static;left:auto;bottom:auto;flex-shrink:0;width:min(900px,calc(100vw - 48px));max-width:none;height:98px;margin:6px auto 10px;padding:0 24px;overflow-x:hidden;overflow-y:auto;transform:none;border:1px solid rgba(148,163,184,.18);border-radius:8px;background:#000000c7;text-align:left;scrollbar-width:none;scroll-behavior:smooth;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 14%,#000 86%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 14%,#000 86%,transparent 100%)}.subtitle-teleprompter::-webkit-scrollbar{display:none}.teleprompter-text{padding:34px 0;color:color-mix(in srgb,var(--subtitle-color, #fff) 42%,transparent);font-size:var(--subtitle-font-size, 16px);font-weight:500;line-height:1.45;letter-spacing:.01em}.teleprompter-text mark{border-radius:3px;padding:1px 3px;background:#3b82f64d;color:var(--subtitle-color, #fff);text-shadow:0 1px 3px #000}.subtitle-bar.player-subtitle:not(.subtitle-teleprompter){bottom:68px}.body{display:flex;flex:1;min-width:0;min-height:0;overflow:hidden}.sidebar{width:200px;background:#0f172a;display:flex;flex-direction:column;padding:6px 0;flex-shrink:0;overflow:hidden;border-right:1px solid #1e293b;min-height:0}.sidebar.collapsed{width:44px!important}.sidebar-resize{width:4px;cursor:col-resize;background:transparent;flex-shrink:0}.sidebar-resize:hover{background:#3b82f6}.mobile-sidebar-backdrop{display:none}.body.resizing{cursor:col-resize;-webkit-user-select:none;user-select:none}.body.resizing .sidebar-resize{background:#3b82f6}.nav-item{display:flex;align-items:center;gap:8px;padding:8px 12px;color:#94a3b8;text-decoration:none;font-size:12px;white-space:nowrap;border-left:2px solid transparent}.nav-item:hover{background:#1e293b;color:#e2e8f0}.nav-item.active{color:#60a5fa;background:#1e293b;border-left-color:#3b82f6}.sidebar-tree{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:2px 0}.sb-project-row{display:flex;align-items:center;gap:0}.sb-project-row .nav-item{flex:1;min-width:0}.sb-project-row .nav-item span{overflow:hidden;text-overflow:ellipsis}.sb-section{margin-bottom:2px}.sb-section-header{display:flex;align-items:center;gap:5px;padding:5px 12px;font-size:11px;font-weight:600}.sb-section-header span:first-of-type{flex:1}.sb-count{font-size:9px;font-weight:400;color:#475569}.sb-action{display:flex;align-items:center;padding:3px;border-radius:3px;background:none;border:none;color:#475569;cursor:pointer;text-decoration:none}.sb-action:hover{color:#e2e8f0;background:#1e293b}.sb-file{display:flex;align-items:center;gap:5px;padding:3px 12px 3px 24px;font-size:11px;color:#94a3b8;text-decoration:none;white-space:nowrap;overflow:hidden}.sb-file:hover{background:#1e293b;color:#e2e8f0}.sb-file.active{color:#60a5fa;background:#1e293b}.sb-file span{overflow:hidden;text-overflow:ellipsis}.sb-empty{font-size:10px;color:#334155;padding:2px 12px 2px 24px}.sidebar-divider{height:1px;background:#1e293b;margin:6px 12px}.project-tree-panel{display:flex;width:238px;min-width:190px;min-height:0;flex:0 0 238px;flex-direction:column;overflow:hidden;border-right:1px solid #273449;background:#0b1220}.project-tree-panel .project-tree-heading{min-height:38px;padding:3px 5px 3px 0;border-bottom:1px solid #273449;background:#0f172a}.project-tree-panel .project-tree-heading .nav-item{padding-top:7px;padding-bottom:7px}.project-tree-panel .sidebar-tree{padding-top:3px}.project-tree-panel .sb-section-header{padding-right:7px;padding-left:10px}.project-tree-panel .sb-file{padding-right:9px;padding-left:20px}.project-tree-panel .sb-action{flex:0 0 auto}.project-tree-loading{padding:12px 10px;color:#64748b;font-size:10px}@media(max-width:900px){.project-tree-panel{width:205px;min-width:170px;flex-basis:205px}}.content{flex:1;overflow:auto;padding:10px 14px;background:#111827}.content.file-content{display:flex;flex-direction:column;padding:0 8px 6px;overflow:hidden}.content.file-content>div{flex:1 1 auto;min-height:0;height:auto}.content.file-content>.project-actions-embed{flex:0 0 auto;max-height:55%;margin:0 -8px;overflow:auto}.content:not(.file-content)>.project-actions-embed{position:sticky;top:0;z-index:20;max-height:70vh;margin:-10px -14px 14px;overflow:auto;background:#111827}.content:not(.file-content)>.project-actions-embed+.settings-page{margin-top:4px}.content.project-settings-content{padding:0}.content.project-settings-content>.project-actions-embed{margin:0 0 14px}.content.project-settings-content>.project-actions-embed+.settings-page{box-sizing:border-box;width:100%;max-width:none;margin-top:0;padding:0 14px 40px}.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;width:100%}.tile{background:#1e293b;border:1px solid #334155;border-radius:8px;padding:20px 16px;cursor:pointer;text-decoration:none;color:inherit;transition:transform .15s,border-color .15s;display:flex;flex-direction:column;align-items:center;gap:10px}.tile:hover{transform:translateY(-2px);border-color:#475569}.tile-icon{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center}.tile-icon.blue{background:#3b82f626;color:#60a5fa}.tile-icon.green{background:#22c55e26;color:#4ade80}.tile-icon.orange{background:#f9731626;color:#fb923c}.tile-icon.purple{background:#a855f726;color:#a78bfa}.tile-icon.gray{background:#94a3b826;color:#94a3b8}.tile h3{font-size:13px;font-weight:600;color:#e2e8f0}.tile p{font-size:11px;color:#64748b;text-align:center}.home-root{width:100%;max-width:none}.home-compact-tiles{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:7px}.home-compact-tiles .tile{min-height:42px;padding:7px 10px;flex-direction:row;justify-content:flex-start;gap:8px}.home-compact-tiles .tile-icon{width:28px;height:28px;flex:0 0 28px;border-radius:7px}.home-compact-tiles .tile-icon svg{width:16px;height:16px}.home-compact-tiles .tile h3{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-compact-tiles .tile p{margin-left:auto;white-space:nowrap;font-size:10px}.home-project-progress{display:inline-flex;align-items:center;gap:5px;margin-left:auto}.home-compact-tiles .home-project-tile{min-height:42px;height:auto}.home-compact-tiles .home-project-tile h3{overflow:visible;text-overflow:clip;white-space:normal;line-height:1.25;word-break:break-word}.wf-section{margin-top:36px;display:flex;flex-direction:column;gap:28px}.wf-block{background:#1e293b;border:1px solid #334155;border-radius:10px;padding:20px 22px}.wf-block-header{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;margin-bottom:18px}.wf-collapsible{background:none;border:none;cursor:pointer;width:100%;text-align:left;padding:0;margin-bottom:0}.wf-collapsible:hover{color:#cbd5e1}.wf-collapsible-body{margin-top:18px}.wf-steps{display:flex;flex-wrap:wrap;align-items:flex-start;gap:0}.wf-step-wrap{display:flex;align-items:center;gap:0}.wf-step{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;background:#0f172a;border:1px solid #334155;border-radius:8px;min-width:160px;max-width:200px}.wf-badge{width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;flex-shrink:0;margin-top:1px}.wf-step-icon{flex-shrink:0;margin-top:1px}.wf-step-body{flex:1;min-width:0}.wf-step-title{font-size:12px;font-weight:600;display:block;margin-bottom:4px;text-decoration:none}.wf-step-title:hover{text-decoration:underline}.wf-step-desc{font-size:11px;color:#64748b;line-height:1.5;margin:0}.wf-arrow{padding:0 6px;flex-shrink:0;margin-top:22px}.wf-build-cards{display:flex;flex-wrap:wrap;gap:12px}.wf-build-card{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border-radius:8px;border:1px solid transparent;flex:1 1 240px}.wf-build-title{font-size:12px;font-weight:600;margin-bottom:4px}.wf-build-desc{font-size:11px;color:#64748b;line-height:1.5}.breadcrumb{font-size:12px;color:#64748b;margin-bottom:14px}.breadcrumb a{color:#60a5fa;text-decoration:none}.breadcrumb a:hover{text-decoration:underline}.folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}.folder-card{background:#1e293b;border:1px solid #334155;border-radius:6px;padding:12px;cursor:pointer;text-decoration:none;color:inherit;display:flex;flex-direction:column;gap:8px}.folder-card:hover{border-color:#475569;background:#263044}.folder-card svg{color:#60a5fa;flex-shrink:0}.folder-card span{font-size:12px;font-weight:500;word-break:break-word;color:#e2e8f0}.project-bulk-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 14px;padding:8px 10px;border:1px solid #334155;border-radius:6px;background:#0f172a}.project-bulk-actions span{font-size:11px;color:#94a3b8}.project-bulk-actions select{padding:5px 8px;border-radius:4px;border:1px solid #334155;background:#111827;color:#e2e8f0;font-size:11px}.project-bulk-actions button,.move-project-btn{padding:5px 8px;border-radius:4px;border:1px solid #334155;background:#111827;color:#93c5fd;cursor:pointer;font-size:11px}.project-bulk-actions button:hover,.move-project-btn:hover{background:#1e293b}.project-bulk-actions button:disabled{opacity:.7;cursor:wait}.projects-actions-row{display:flex;align-items:center;gap:8px;margin-bottom:8px}.projects-actions-row .new-project-inline{flex:1;min-width:320px;margin:0;padding:5px 8px}.projects-actions-row .project-bulk-actions{margin:0;padding:5px 7px;flex-wrap:nowrap}.progress-dots{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}.progress-dot,.overall-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#64748b}.overall-dot{width:7px;height:7px;outline:1px solid rgba(255,255,255,.18);outline-offset:1px}.progress-dot.status-started,.overall-dot.status-started,.project-status-mini.status-started{background-color:#64748b}.progress-dot.status-generated,.overall-dot.status-in-progress,.project-status-mini.status-in-progress{background-color:#3b82f6}.progress-dot.status-reviewed{background-color:#f59e0b}.progress-dot.status-live,.overall-dot.status-completed,.project-status-mini.status-completed{background-color:#22c55e}.overall-dot.status-published,.project-status-mini.status-published{background-color:#a855f7}.project-status-mini{display:inline-flex;align-items:center;width:fit-content;border-radius:9px;padding:2px 7px;color:#e2e8f0;font-size:9px;white-space:nowrap}.tree-file .project-status-mini{margin-left:auto}.folder-card.is-selected{border-color:#60a5fa;background:#172554}.tree-project-row{display:flex;align-items:center;gap:6px}.tree-project-row.is-selected .tree-file{background:#172554;color:#eff6ff}.project-priority-scope{display:inline-flex;flex:0 0 auto;align-items:center;gap:3px;color:#a78bfa!important;white-space:nowrap}.project-priority-scope.saving{color:#fbbf24!important}.project-priority-grip{flex:0 0 auto;color:#64748b;cursor:grab}.project-priority-number{display:inline-flex;flex:0 0 auto;border:1px solid #475569;border-radius:8px;padding:1px 5px;background:#111827;color:#94a3b8;font-size:8px;font-weight:600;line-height:1.2;white-space:nowrap}.project-view-card,.tree-project-row,.projects-table tbody tr{cursor:grab;transition:border-color .12s,background .12s,opacity .12s,transform .12s}.project-view-card:active,.tree-project-row:active,.projects-table tbody tr:active{cursor:grabbing}.project-view-card.is-dragging,.tree-project-row.is-dragging,.projects-table tr.is-dragging{opacity:.38}.project-view-card.priority-drag-over{border-color:#a78bfa;transform:translate(2px);box-shadow:-2px 0 #a78bfa}.project-view-card.priority-drag-after{border-color:#a78bfa;transform:translate(-2px);box-shadow:2px 0 #a78bfa}.tree-project-row.priority-drag-over .tree-file,.projects-table tr.priority-drag-over td{background:#a78bfa21;box-shadow:inset 0 2px #a78bfa}.tree-project-row.priority-drag-after .tree-file,.projects-table tr.priority-drag-after td{background:#a78bfa21;box-shadow:inset 0 -2px #a78bfa}.project-table-selection{display:inline-flex;align-items:center;gap:5px}.project-card-view,.browser-card-view{display:grid;align-items:start;grid-auto-rows:max-content;gap:9px;margin-top:10px}.project-card-view.grid-view{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}.project-card-view.tile-view{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:7px}.browser-card-view.grid-view{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}.browser-card-view.tile-view{grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:6px}.project-view-card{display:flex;min-width:0;min-height:100px;gap:0;overflow:hidden;padding:0;cursor:default}.project-card-topline{display:flex;min-width:0;min-height:31px;align-items:center;gap:6px;padding:6px 9px 2px}.project-card-topline .project-status-mini{margin-left:auto}.project-card-title{display:-webkit-box;min-width:0;min-height:40px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;padding:3px 10px 8px;border-bottom:1px solid #334155;color:#e2e8f0;font-size:12px;font-weight:650;line-height:1.35;overflow-wrap:anywhere;text-decoration:none}.project-card-title:hover{color:#93c5fd}.project-card-meta{display:flex;min-width:0;align-items:center;gap:7px;padding:6px 10px 7px;color:#64748b;font-size:9px}.project-card-meta>.project-card-channel{flex:0 0 auto;color:#94a3b8;font-size:9px;font-weight:500;white-space:nowrap;word-break:normal}.project-card-meta>.project-card-catalog{min-width:0;overflow:hidden;color:#64748b;font-size:9px;font-weight:500;text-overflow:ellipsis;white-space:nowrap;word-break:normal}.project-card-meta .progress-dots{flex:0 0 auto;margin-left:auto}.project-view-card.compact{min-height:86px}.project-view-card.compact .project-card-topline{min-height:27px;padding:5px 7px 1px}.project-view-card.compact .project-card-title{display:-webkit-box;min-height:32px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;padding:3px 8px 6px;font-size:10px;line-height:1.3;overflow-wrap:anywhere;white-space:normal}.project-view-card.compact .project-card-meta{gap:4px;padding:5px 8px 6px}.project-view-card.compact .project-card-catalog{display:none}.browser-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:5px 9px;min-width:0;border:1px solid #334155;border-radius:7px;padding:12px;background:#1e293b;color:inherit;text-decoration:none}.browser-card:hover{border-color:#475569;background:#263044}.browser-card>svg{grid-row:1 / 3}.browser-card-name{overflow:hidden;color:#e2e8f0;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.browser-card-meta,.browser-card-preview{overflow:hidden;color:#64748b;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.browser-card-preview{grid-column:1 / -1;padding-top:5px;border-top:1px solid #334155}.browser-card.compact{padding:8px 10px}.browser-card.compact>svg{grid-row:1 / 2}.browser-card.compact .browser-card-meta{grid-column:2}.browser-project-card{min-width:0;overflow:hidden;border:1px solid #334155;border-radius:7px;background:#1e293b}.browser-project-card>header{display:flex;align-items:center;gap:7px;min-height:31px;padding:6px 8px;border-bottom:1px solid #334155;background:#172033}.browser-project-card>header a{flex:1;min-width:0;overflow:hidden;color:#e2e8f0;font-size:10px;font-weight:600;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.browser-project-card>header a:hover{color:#93c5fd}.browser-project-card>header span{border-radius:8px;padding:1px 5px;background:#334155;color:#94a3b8;font-size:8px}.browser-project-files{display:flex;flex-direction:column;gap:1px;padding:4px}.browser-project-files>a{display:flex;min-width:0;align-items:center;gap:6px;border-radius:3px;padding:4px 5px;color:#94a3b8;font-size:9px;text-decoration:none}.browser-project-files>a:hover{background:#334155;color:#e2e8f0}.browser-project-files>a svg{width:11px;height:11px;flex:0 0 auto}.browser-project-files>a span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.browser-project-files>a small{flex:0 0 auto;color:#475569;font-size:8px}.browser-project-card.compact>header{min-height:27px;padding:4px 7px}.browser-project-card.compact .browser-project-files{padding:2px 3px 3px}.browser-project-card.compact .browser-project-files>a{padding:3px 4px}.browser-project-empty{padding:5px;color:#475569;font-size:9px}.grouped-file-tree{display:flex;flex-direction:column;gap:4px}.tree-file-group{overflow:hidden;border:1px solid #273449;border-radius:5px;background:#0f172a}.tree-file-group .tree-project-link{border-radius:0;background:#172033}.tree-file-group .tree-project-link strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-group-files{padding:2px 3px 3px 18px}.tree-group-files .tree-file{min-height:24px;padding-top:3px;padding-bottom:3px}.tree-group-files .tree-file>span:first-of-type{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kanban-board{display:grid;grid-template-columns:repeat(4,minmax(235px,1fr));align-items:start;gap:10px;margin-top:10px;overflow-x:auto}.kanban-column{min-height:260px;border:1px solid #334155;border-top:2px solid #64748b;border-radius:7px;background:#0f172a;transition:border-color .12s,background .12s}.kanban-column.status-in-progress{border-top-color:#3b82f6}.kanban-column.status-completed{border-top-color:#22c55e}.kanban-column.status-published{border-top-color:#a855f7}.kanban-column.status-generated{border-top-color:#3b82f6}.kanban-column.status-reviewed{border-top-color:#f59e0b}.kanban-column.status-live{border-top-color:#22c55e}.kanban-column.drag-over{border-color:#60a5fa;background:#111d32}.kanban-column>header{display:flex;align-items:center;gap:8px;padding:9px 10px;border-bottom:1px solid #1e293b;color:#cbd5e1;font-size:11px;font-weight:600}.kanban-column>header b{margin-left:auto;border-radius:9px;padding:1px 7px;background:#1e293b;color:#94a3b8;font-size:9px}.kanban-items{display:flex;min-height:210px;flex-direction:column;gap:6px;padding:7px}.kanban-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:5px 7px;border:1px solid #334155;border-radius:6px;padding:8px;background:#1e293b;cursor:grab}.kanban-card:active{cursor:grabbing}.kanban-card.is-dragging{opacity:.38}.kanban-card.priority-drag-over{border-color:#a78bfa;box-shadow:inset 0 2px #a78bfa}.kanban-card.priority-drag-after{border-color:#a78bfa;box-shadow:inset 0 -2px #a78bfa}.kanban-card a{display:block;min-width:0;overflow:hidden;color:#e2e8f0;font-size:11px;font-weight:600;text-decoration:none}.kanban-project-title{display:-webkit-box;min-width:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.3;overflow-wrap:anywhere}.kanban-card>.project-priority-number{grid-column:3;grid-row:1;align-self:start}.kanban-card a:hover{color:#93c5fd}.kanban-card-meta{display:flex;min-width:0;grid-column:2 / 4;grid-row:2;align-items:center;gap:7px}.kanban-card-meta>span:first-child{min-width:0;overflow:hidden;color:#64748b;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.kanban-card-meta .progress-dots{flex:0 0 auto;margin-left:auto}.kanban-grip{grid-row:1 / 3;color:#475569}.kanban-empty{margin:auto;color:#475569;font-size:10px}.view-unavailable{display:flex;align-items:center;gap:10px;margin-top:10px;border:1px dashed #334155;border-radius:7px;padding:12px;color:#64748b;font-size:11px}.view-unavailable strong{color:#cbd5e1}.view-unavailable a{margin-left:auto;color:#60a5fa;text-decoration:none}@media(max-width:800px){.kanban-board{grid-template-columns:repeat(4,minmax(220px,82vw))}}.folder-card-rich{flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden}.fc-header{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #334155}.fc-name{font-size:12px;font-weight:600;color:#e2e8f0}.fc-loading,.fc-empty{font-size:10px;color:#475569;padding:8px 12px}.fc-content{padding:8px 12px}.fc-summary{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:6px}.fc-badge{display:inline-flex;align-items:center;gap:3px;font-size:10px;color:#94a3b8;background:#ffffff0a;padding:2px 6px;border-radius:3px}.fc-count{margin-left:auto;font-size:10px;color:#475569;background:#334155;padding:1px 6px;border-radius:8px}.fc-files{display:flex;flex-direction:column;gap:1px}.fc-file-link{display:flex;align-items:center;gap:6px;font-size:11px;color:#94a3b8;padding:3px 4px;border-radius:3px;text-decoration:none}.fc-file-link:hover{background:#334155;color:#e2e8f0}.fc-file-link span:first-of-type{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fc-file-size{font-size:9px;color:#475569;white-space:nowrap}.fc-expand{display:flex;align-items:center;gap:4px;background:none;border:none;color:#60a5fa;font-size:10px;cursor:pointer;padding:4px 0;margin-top:4px}.fc-expand:hover{color:#93c5fd}.fc-sections{margin-top:4px}.fc-section{margin-bottom:6px}.fc-section-label{display:flex;align-items:center;gap:4px;font-size:10px;font-weight:600;padding:2px 0;margin-bottom:2px}.file-list{display:flex;flex-direction:column;gap:4px}.file-row{display:flex;align-items:center;gap:8px;background:#1e293b;padding:8px 12px;border-radius:5px;border:1px solid transparent;cursor:pointer;text-decoration:none;color:inherit}.file-row:hover{border-color:#334155;background:#263044}.file-row svg{flex-shrink:0}.file-row .name{flex:1;font-size:12px;word-break:break-all;color:#e2e8f0}.file-row .size{font-size:11px;color:#64748b;white-space:nowrap}.file-row .actions{display:flex;gap:4px}.file-row .actions a,.file-row .actions button{font-size:11px;padding:3px 8px;border-radius:3px;text-decoration:none;cursor:pointer;border:1px solid #334155;background:#1e293b;color:#94a3b8;display:flex;align-items:center;gap:3px}.file-row .actions a:hover,.file-row .actions button:hover{background:#334155;color:#e2e8f0}.file-row .actions .primary{background:#2563eb;color:#fff;border-color:#2563eb}.file-row .actions .primary:hover{background:#1d4ed8}.folder-table-wrap{overflow-x:auto;margin-top:10px}.folder-table{width:100%;border-collapse:collapse;background:#0f172a;border:1px solid #334155;border-radius:8px;overflow:hidden}.folder-table th,.folder-table td{padding:12px 14px;border-bottom:1px solid #1e293b;font-size:12px;color:#e2e8f0}.folder-table th{background:#111827;color:#94a3b8;text-align:left;font-weight:600;letter-spacing:.02em}.folder-table tbody tr:hover{background:#111827}.folder-table td{background:#0f172a}.folder-table td:first-child{width:240px}.folder-table-link{color:#60a5fa;text-decoration:none;font-weight:600}.folder-table-link:hover{text-decoration:underline}.folder-table-file{display:inline-flex;align-items:center;gap:6px;margin-right:12px;color:#cbd5e1;text-decoration:none;padding:4px 6px;border-radius:6px;background:#111827;border:1px solid #1e293b;font-size:11px}.folder-table-file:hover{background:#1e293b;color:#e2e8f0}.folder-table-action{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:6px;border:1px solid #334155;background:#111827;color:#60a5fa;text-decoration:none;font-size:11px}.folder-table-action:hover{background:#1e293b;color:#93c5fd;border-color:#475569}.list-toolbar{display:flex;align-items:center;gap:8px;margin:0 0 8px;flex-wrap:wrap}.page-heading-row{display:flex;align-items:center;gap:12px;min-height:34px;margin-bottom:7px}.page-heading-row .page-title{flex:0 0 auto;margin:0}.page-heading-row .list-toolbar{flex:1;margin:0;justify-content:flex-end}.page-heading-row .list-search{max-width:440px}.list-toolbar select{min-width:170px;height:32px;border:1px solid #334155;border-radius:6px;background:#0f172a;color:#cbd5e1;padding:0 9px;font-size:11px}.list-search{min-width:260px;max-width:520px;flex:1;height:32px;display:flex;align-items:center;gap:7px;padding:0 9px;border:1px solid #334155;border-radius:6px;background:#0f172a;color:#64748b}.list-search:focus-within{border-color:#3b82f6}.list-search input{width:100%;border:0;outline:0;background:transparent;color:#e2e8f0;font-size:11px}.sort-header{display:inline-flex;align-items:center;gap:5px;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.sort-header:hover{color:#e2e8f0}.folder-table tr.is-selected td{background:#3b82f614}.folder-table .selection-column{width:38px}.projects-table td:first-child{width:46px}.folder-table .file-name-link{display:inline-flex;align-items:center;gap:7px}.folder-table .actions{display:flex;align-items:center;gap:6px}.folder-table .actions a{display:inline-flex;align-items:center;gap:4px;color:#94a3b8;text-decoration:none}.tree{font-size:12px}.tree-folder{margin-bottom:2px}.tree-folder-header{display:flex;align-items:center;gap:6px;padding:5px 8px;border-radius:4px;cursor:pointer;color:#94a3b8}.tree-folder-header:hover{background:#1e293b;color:#e2e8f0}.tree-folder-header.open{color:#e2e8f0}.tree-children{padding-left:20px}.tree-file{display:flex;align-items:center;gap:6px;padding:4px 8px;border-radius:4px;cursor:pointer;color:#cbd5e1;text-decoration:none}.tree-file:hover{background:#1e293b;color:#fff}.tree-file .size{margin-left:auto;font-size:10px;color:#64748b}.viewer{width:100%;height:100%;border:none;border-radius:6px;background:#1e293b}.file-viewer-shell{width:100%;height:100%;min-width:0;min-height:0;overflow:hidden}.video-pdf-viewer{position:relative;display:flex;flex-direction:column;width:100%;height:100%;min-height:0;overflow:hidden;border-radius:6px;background:#090f1d}.video-pdf-viewer:fullscreen{width:100vw;height:100vh;border-radius:0;background:#050913}.video-pdf-viewer.fullscreen-fallback{position:fixed;z-index:2100;top:0;right:0;bottom:0;left:0;width:100vw;width:100dvw;height:100vh;height:100dvh;border-radius:0;background:#050913}.video-pdf-toolbar{display:flex;align-items:center;gap:7px;flex-shrink:0;min-height:38px;padding:5px 9px;border-bottom:1px solid #334155;background:#0f172a;color:#cbd5e1;font-size:11px}.video-pdf-toolbar button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:27px;border:1px solid #334155;border-radius:4px;background:#1e293b;color:#cbd5e1;cursor:pointer}.video-pdf-toolbar button:hover:not(:disabled){border-color:#60a5fa;color:#fff}.video-pdf-toolbar button:disabled{opacity:.35;cursor:default}.video-pdf-spacer{flex:1}.video-pdf-fullscreen-hud{position:absolute;right:12px;bottom:10px;z-index:1001;display:flex;align-items:center;gap:6px;padding:3px 5px 3px 8px;border-radius:4px;background:#0f172a7a;color:#e2e8f0ad;font-size:10px;opacity:.7;transition:opacity .15s}.video-pdf-fullscreen-hud:hover{opacity:1}.video-pdf-fullscreen-hud button{display:inline-flex;align-items:center;justify-content:center;width:21px;height:21px;border:0;border-radius:3px;background:transparent;color:#e2e8f0b3;cursor:pointer}.video-pdf-fullscreen-hud button:hover{background:#94a3b82e;color:#fff}.video-pdf-canvas-wrap{flex:1;min-height:0;overflow:auto;padding:14px;text-align:center}.video-pdf-canvas-wrap canvas{display:block;max-width:100%;height:auto;margin:0 auto;background:#fff;box-shadow:0 5px 24px #00000080}.video-pdf-pages{display:grid;grid-template-columns:1fr;align-items:center;gap:10px}.video-pdf-page-cell{display:flex;width:100%;min-width:0;min-height:0;align-items:flex-start;justify-content:center}.player-stage.fullscreen-fallback{position:fixed;z-index:2050;top:0;right:0;bottom:0;left:0;width:100vw;width:100dvw;height:100vh;height:100dvh;padding:0;background:#050913}.player-stage-fullscreen-exit{position:absolute;z-index:2200;top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border:1px solid rgba(148,163,184,.35);border-radius:50%;background:#0f172ab8;color:#fff}.viewer-back{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#60a5fa;text-decoration:none;margin-bottom:10px;background:none;border:none;cursor:pointer;padding:0;font-family:inherit}.viewer-back:hover{text-decoration:underline}.docx-viewer{width:min(100%,800px);height:100%;max-width:100%;margin:0 auto;overflow-x:hidden;overflow-y:auto;padding:32px;border-radius:6px;background:#fff;color:#1a1a2e;overflow-wrap:anywhere}.docx-viewer img,.docx-viewer svg,.docx-viewer canvas{max-width:100%!important;height:auto!important}.docx-viewer table{width:100%!important;max-width:100%!important;table-layout:fixed;border-collapse:collapse}.docx-viewer td,.docx-viewer th{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere;word-break:break-word}.docx-viewer pre{max-width:100%;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}.docx-viewer p,.docx-viewer div,.docx-viewer section{max-width:100%}.image-viewer-shell{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;overflow:hidden}.image-viewer-toolbar{display:flex;align-items:center;gap:6px;flex-shrink:0;padding:5px 7px;border-bottom:1px solid #334155;background:#0f172a}.image-viewer-toolbar strong{flex:1;min-width:0;overflow:hidden;color:#cbd5e1;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.image-viewer-toolbar button{border:1px solid #334155;border-radius:4px;padding:4px 7px;background:#1e293b;color:#94a3b8;font-size:10px;cursor:pointer}.image-viewer-toolbar button.active{border-color:#3b82f6;background:#1d4ed8;color:#fff}.file-viewer-toolbar{display:flex;min-height:34px;align-items:center;gap:7px;padding:4px 8px;border-bottom:1px solid #334155;background:#0f172a;color:#cbd5e1}.file-viewer-toolbar strong{min-width:0;flex:1;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.file-viewer-toolbar button{display:inline-flex;width:27px;height:26px;align-items:center;justify-content:center;border:1px solid #334155;border-radius:4px;background:#1e293b;color:#94a3b8;cursor:pointer}.file-viewer-toolbar button:hover{border-color:#60a5fa;color:#fff}.file-viewer-toolbar button:disabled{opacity:.35;cursor:default}.file-viewer-toolbar .publish-blog-link,.file-viewer-toolbar .blog-toolbar-action,.file-viewer-toolbar .unpublish-blog-link{width:auto;padding:0 8px;gap:5px;color:#dbeafe}.file-viewer-toolbar a.blog-toolbar-action,.file-viewer-toolbar button.blog-toolbar-action{display:inline-flex;height:26px;align-items:center;justify-content:center;border:1px solid #334155;border-radius:4px;background:#1e293b;text-decoration:none}.file-viewer-toolbar a.blog-toolbar-action:hover,.file-viewer-toolbar button.blog-toolbar-action:hover{border-color:#60a5fa;color:#fff}.file-viewer-toolbar .publish-blog-link span,.file-viewer-toolbar .blog-toolbar-action span,.file-viewer-toolbar .unpublish-blog-link span{white-space:nowrap;font-size:10px}.file-viewer-toolbar .unpublish-blog-link{color:#fecaca}.file-viewer-toolbar .unpublish-blog-link:hover{border-color:#ef4444;color:#fff}.file-viewer-toolbar .public-blog-open{color:#93c5fd;font-size:10px;white-space:nowrap}.clipboard-render-source{position:fixed;left:-100000px;top:0;width:800px;visibility:hidden;pointer-events:none}.copy-all-control{display:inline-flex;align-items:center;gap:4px}.copy-all-control select{width:auto;max-width:132px;height:27px;border:1px solid #334155;border-radius:4px;padding:0 22px 0 6px;background:#111827;color:#cbd5e1;font-size:10px}.copy-all-control button{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap}.copy-all-control.compact button{width:inherit}.clipboard-feedback{min-width:0;color:#5eead4;font-size:10px;line-height:1.25}.clipboard-feedback.error{color:#fca5a5}.image-viewer-scroll{flex:1;min-width:0;min-height:0;overflow:auto;padding:8px;text-align:center}.img-viewer{display:block;width:auto;height:auto;margin:0 auto;border-radius:6px}.img-viewer.fit{max-width:100%}.img-viewer.actual{max-width:none}.media-player{display:block;background:#0f172a;border-radius:6px}.audio-player{width:min(760px,100%);margin:24px auto}.video-player{width:100%;height:100%;object-fit:contain}.editor-wrap{display:flex;flex-direction:column;height:100%}.editor-toolbar{display:flex;align-items:center;gap:8px;padding:6px 0;flex-shrink:0}.editor-toolbar button{font-size:11px;padding:5px 12px;border-radius:4px;border:1px solid #334155;background:#1e293b;color:#94a3b8;cursor:pointer}.editor-toolbar .editor-export-pdf{display:inline-flex;align-items:center;gap:5px;border:1px solid #334155;border-radius:4px;padding:5px 10px;background:#1e293b;color:#cbd5e1;font-size:11px;text-decoration:none}.editor-toolbar .editor-export-pdf:hover{border-color:#60a5fa;color:#fff}.editor-toolbar button.save{background:#2563eb;color:#fff;border-color:#2563eb}.editor-toolbar button.save:hover{background:#1d4ed8}.editor-toolbar button.save:disabled{background:#334155;color:#64748b;border-color:#334155}.editor-toolbar .status{font-size:11px;color:#64748b;margin-left:auto}.editor-view-toggle{display:flex;border:1px solid #334155;border-radius:4px;overflow:hidden}.editor-view-toggle button{display:inline-flex;align-items:center;gap:4px;border:0;border-right:1px solid #334155;border-radius:0;background:#0f172a}.editor-view-toggle button:last-child{border-right:0}.editor-view-toggle button.active{background:#334155;color:#e2e8f0}.editor-body{flex:1;display:flex;gap:10px;min-height:0}.editor-pane{position:relative;flex:1;display:flex;flex-direction:column;min-width:0}.editor-pane textarea{flex:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:13px;line-height:1.7;padding:10px;border:1px solid #334155;border-radius:5px;resize:none;outline:none;background:#0f172a;color:#e2e8f0;-webkit-text-fill-color:#e2e8f0}.editor-scroll-mirror{position:absolute;top:18px;left:0;right:0;z-index:-1;visibility:hidden;padding:10px;border:1px solid transparent;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:break-word}.editor-scroll-mirror>div{min-height:1.7em}.editor-pane textarea:focus{border-color:#3b82f6}.editor-label{font-size:10px;font-weight:600;color:#64748b;text-transform:uppercase;margin-bottom:4px;letter-spacing:.5px}.preview-pane{flex:1;background:#1e293b;padding:14px;border:1px solid #334155;border-radius:5px;overflow:auto;font-size:13px;line-height:1.7;color:#cbd5e1}.preview-pane h1{font-size:20px;margin:14px 0 6px;color:#e2e8f0}.preview-pane h2{font-size:17px;margin:12px 0 5px;color:#e2e8f0}.preview-pane h3{font-size:14px;margin:10px 0 4px;color:#e2e8f0}.preview-pane p{margin:5px 0}.preview-pane ul,.preview-pane ol{padding-left:20px;margin:5px 0}.preview-pane hr{margin:10px 0;border:none;border-top:1px solid #334155}.preview-pane strong{font-weight:600;color:#e2e8f0}.slide-edit-view{flex:1;display:grid;grid-template-columns:minmax(320px,.9fr) minmax(420px,1.1fr);gap:10px;min-width:0;min-height:0}.slide-edit-pane,.slide-image-pane{display:flex;flex-direction:column;min-width:0;min-height:0}.slide-edit-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;min-height:39px;padding:0 2px 6px;color:#64748b;font-size:10px}.slide-edit-heading>div{display:flex;flex-direction:column;min-width:0;gap:2px}.slide-edit-heading .editor-label{margin:0}.slide-edit-heading strong{overflow:hidden;color:#e2e8f0;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.slide-edit-heading>span{overflow:hidden;max-width:52%;text-overflow:ellipsis;white-space:nowrap}.slide-edit-pane textarea{flex:1;min-height:0;resize:none;outline:none;border:1px solid #334155;border-radius:5px;padding:14px;background:#0f172a;color:#e2e8f0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;line-height:1.75}.slide-edit-pane textarea:focus,.slide-image-stage:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61f}.slide-edit-empty{flex:1;display:grid;place-items:center;border:1px dashed #334155;border-radius:5px;padding:24px;color:#94a3b8;text-align:center}.slide-navigation{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding-top:7px}.slide-navigation button{display:inline-flex;align-items:center;gap:4px;border:1px solid #334155;border-radius:4px;padding:5px 9px;background:#1e293b;color:#cbd5e1;font-size:10px;cursor:pointer}.slide-navigation button:hover:not(:disabled){border-color:#60a5fa;color:#fff}.slide-navigation button:disabled{opacity:.35;cursor:default}.slide-navigation span{overflow:hidden;color:#64748b;font-size:9px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.slide-image-stage{position:relative;flex:1;display:flex;align-items:center;justify-content:center;min-height:0;overflow:hidden;outline:none;border:1px solid #334155;border-radius:5px;background:#070d19}.slide-image-stage img{display:block;max-width:100%;max-height:100%;object-fit:contain}.slide-image-stage .video-pdf-viewer{width:100%;height:100%;border:0;border-radius:0}.slide-image-stage .video-pdf-toolbar{display:none}.slide-image-stage .video-pdf-canvas-wrap{height:100%;min-height:0}.slide-image-message{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:8px;padding:24px;background:#070d19db;color:#94a3b8;font-size:11px;text-align:center}.slide-image-message.error{color:#fca5a5}.prompts-page{display:flex;width:100%;height:100%;min-height:0;overflow:hidden;border:1px solid #263247;border-radius:7px;background:#0f172a}.prompts-tree-panel{display:flex;flex-direction:column;width:285px;min-width:220px;flex-shrink:0;min-height:0;border-right:1px solid #334155;background:#0b1220}.prompts-panel-heading{display:flex;align-items:center;justify-content:space-between;min-height:62px;padding:12px 13px;border-bottom:1px solid #1e293b}.prompts-panel-heading h1{margin:0 0 3px;color:#f1f5f9;font-size:15px}.prompts-panel-heading span{color:#64748b;font-size:10px}.prompts-panel-heading button,.prompts-tree-actions button,.prompts-resource-actions button,.prompts-welcome button{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #334155;border-radius:5px;padding:6px 8px;background:#111827;color:#93c5fd;font-size:10px;cursor:pointer}.prompts-panel-heading button:hover,.prompts-tree-actions button:hover:not(:disabled),.prompts-resource-actions button:hover,.prompts-welcome button:hover{border-color:#3b82f6;background:#172554;color:#dbeafe}.prompts-tree-actions{display:flex;flex-wrap:wrap;gap:5px;padding:8px 10px;border-bottom:1px solid #1e293b}.prompts-tree-actions button{flex:1 1 calc(50% - 3px)}.prompts-tree-actions button:disabled{opacity:.38;cursor:default}.prompt-name-form{display:flex;flex-direction:column;gap:6px;padding:10px;border-bottom:1px solid #334155;background:#111827}.prompt-name-form label{color:#cbd5e1;font-size:10px;font-weight:600}.prompt-name-form input{width:100%;outline:0;border:1px solid #334155;border-radius:5px;padding:7px 8px;background:#0b1220;color:#e2e8f0;font-size:11px}.prompt-name-form input:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61f}.prompt-name-form>div{display:flex;gap:5px}.prompt-name-form button{flex:1;border:1px solid #334155;border-radius:5px;padding:6px 8px;background:#0f172a;color:#94a3b8;font-size:10px;cursor:pointer}.prompt-name-form button[type=submit]{border-color:#2563eb;background:#2563eb;color:#fff}.prompt-name-form button:hover:not(:disabled){border-color:#3b82f6;color:#fff}.prompt-name-form button:disabled{opacity:.45;cursor:default}.prompt-form-status{color:#fca5a5;font-size:9px;line-height:1.4}.prompts-tree{flex:1;min-height:0;padding:6px;overflow:auto}.prompt-category{margin-bottom:3px}.prompt-category-row{display:flex;align-items:center;border-radius:4px}.prompt-category-row:hover,.prompt-category-row.current{background:#111827}.prompt-tree-toggle{display:flex;flex:1;align-items:center;gap:6px;min-width:0;border:0;padding:7px 5px;background:transparent;color:#cbd5e1;font-size:11px;text-align:left;cursor:pointer}.prompt-tree-toggle span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prompt-tree-toggle em{border-radius:8px;padding:1px 6px;background:#1e293b;color:#64748b;font-size:9px;font-style:normal}.prompt-tree-toggle svg:nth-of-type(2){color:#fbbf24}.prompt-tree-add{display:none;align-items:center;justify-content:center;margin-right:4px;border:0;border-radius:3px;padding:4px;background:transparent;color:#64748b;cursor:pointer}.prompt-category-row:hover .prompt-tree-add{display:flex}.prompt-tree-add:hover{background:#1e293b;color:#93c5fd}.prompt-file-row{display:flex;align-items:center;gap:7px;width:calc(100% - 12px);margin:1px 0 1px 12px;border:0;border-left:1px solid #263247;border-radius:0 4px 4px 0;padding:6px 8px 6px 15px;background:transparent;color:#94a3b8;font-size:11px;text-align:left;cursor:pointer}.prompt-file-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prompt-file-row svg{flex-shrink:0;color:#a78bfa}.prompt-file-row:hover{background:#172033;color:#e2e8f0}.prompt-file-row.active{border-left-color:#3b82f6;background:#172554;color:#dbeafe}.prompts-empty-small{padding:16px 10px;color:#64748b;font-size:11px;line-height:1.5;text-align:center}.prompts-storage-note{padding:9px 12px;border-top:1px solid #1e293b;color:#475569;font-size:9px}.prompts-storage-note code{color:#64748b}.prompts-workspace{display:flex;flex:1;flex-direction:column;min-width:0;min-height:0;background:#111827}.prompts-welcome{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center}.prompts-welcome-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;margin-bottom:14px;border:1px solid #334155;border-radius:14px;background:#1e293b;color:#a78bfa}.prompts-welcome h2{margin-bottom:6px;color:#e2e8f0;font-size:17px}.prompts-welcome p{max-width:420px;margin-bottom:16px;color:#64748b;font-size:12px;line-height:1.55}.prompts-editor-header{display:flex;align-items:center;gap:12px;min-height:50px;padding:8px 12px;border-bottom:1px solid #263247;background:#0f172a}.prompts-file-title{display:flex;flex:1;align-items:center;gap:5px;min-width:0;font-size:11px}.prompts-file-title span{color:#64748b}.prompts-file-title svg{color:#475569}.prompts-file-title strong{overflow:hidden;color:#e2e8f0;text-overflow:ellipsis;white-space:nowrap}.prompts-resource-actions{display:flex;gap:5px}.prompts-editor-toolbar{display:flex;align-items:center;gap:8px;padding:7px 10px;border-bottom:1px solid #263247}.prompts-editor-toolbar .editor-view-toggle button{padding:5px 9px;color:#94a3b8;font-size:10px;cursor:pointer}.prompts-status{flex:1;color:#64748b;font-size:10px;text-align:right}.prompts-status.modified{color:#fbbf24}.prompts-save{display:inline-flex;align-items:center;gap:5px;border:1px solid #2563eb;border-radius:5px;padding:6px 10px;background:#2563eb;color:#fff;font-size:10px;cursor:pointer}.prompts-save:hover:not(:disabled){background:#1d4ed8}.prompts-save:disabled{border-color:#334155;background:#1e293b;color:#64748b;cursor:default}.prompts-editor-body{display:flex;flex:1;gap:8px;min-height:0;padding:8px}.prompts-edit-pane,.prompts-preview-pane{display:flex;flex:1;flex-direction:column;min-width:0;min-height:0}.prompts-edit-pane textarea{flex:1;width:100%;min-height:0;resize:none;outline:none;border:1px solid #334155;border-radius:5px;padding:14px;background:#0b1220;color:#e2e8f0;font:13px/1.65 SFMono-Regular,Consolas,monospace;-moz-tab-size:2;tab-size:2}.prompts-edit-pane textarea:focus{border-color:#3b82f6}.prompts-preview-pane .preview-pane{min-height:0}@media(max-width:800px){.prompts-tree-panel{width:220px}.prompts-resource-actions button{width:28px;padding:6px;font-size:0}.prompts-editor-body.mode-split{flex-direction:column}}.csv-table{width:100%;border-collapse:collapse;background:#1e293b;border-radius:5px;overflow:hidden}.csv-table td{padding:6px 10px;border:1px solid #334155;font-size:12px;color:#e2e8f0;vertical-align:top}.csv-table td:first-child{width:36px;text-align:center;color:#64748b;font-size:10px;background:#0f172a}.csv-cell{width:100%;border:none;font-size:12px;line-height:1.6;outline:none;background:transparent;color:#e2e8f0;resize:vertical;font-family:inherit;word-wrap:break-word;white-space:pre-wrap;padding:4px 0}.csv-cell:focus{background:#263044}.workbook-editor{min-width:0}.workbook-tabs{display:flex;gap:2px;padding:0 0 6px;overflow-x:auto;flex-shrink:0}.workbook-tabs button{border:1px solid #334155;border-radius:4px 4px 0 0;padding:5px 12px;background:#0f172a;color:#94a3b8;font-size:11px;cursor:pointer;white-space:nowrap}.workbook-tabs button.active{border-color:#22c55e;background:#1e293b;color:#86efac}.workbook-grid-wrap{flex:1;min-height:0;overflow:auto;border:1px solid #334155;border-radius:5px;background:#0f172a}.workbook-grid{min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.workbook-grid th{position:sticky;top:0;z-index:2;min-width:140px;height:27px;border-right:1px solid #334155;border-bottom:1px solid #334155;background:#1e293b;color:#94a3b8;font-size:10px;font-weight:600;text-align:center}.workbook-grid .row-heading{position:sticky;left:0;z-index:3;width:44px;min-width:44px;background:#172033}.workbook-grid thead .row-heading{z-index:4}.workbook-grid td{min-width:140px;border-right:1px solid #263247;border-bottom:1px solid #263247;background:#111827;padding:0}.workbook-grid td:focus-within{outline:2px solid #3b82f6;outline-offset:-2px}.workbook-grid textarea{display:block;width:100%;min-height:30px;border:0;padding:6px 8px;resize:none;overflow:hidden;outline:none;background:transparent;color:#e2e8f0;font:12px/1.4 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere}.notebook-scroll{flex:1;min-height:0;overflow:auto;padding:4px 2px 30px}.notebook-cell{margin:0 auto 12px;max-width:1100px;border:1px solid #334155;border-left:3px solid #64748b;border-radius:6px;overflow:hidden;background:#111827}.notebook-cell.code{border-left-color:#3b82f6}.notebook-cell.markdown{border-left-color:#a78bfa}.notebook-cell.raw{border-left-color:#64748b}.notebook-cell-toolbar{display:flex;align-items:center;gap:4px;padding:5px 8px;border-bottom:1px solid #263247;background:#172033}.notebook-cell-index{width:36px;color:#64748b;font:10px SF Mono,Fira Code,monospace}.notebook-cell-toolbar select{margin-right:auto;border:1px solid #334155;border-radius:3px;padding:3px 7px;background:#0f172a;color:#cbd5e1;font-size:10px}.notebook-cell-type{margin-right:auto;color:#94a3b8;font-size:10px;text-transform:capitalize}.notebook-cell-toolbar button{display:flex;border:0;border-radius:3px;padding:4px;background:transparent;color:#64748b;cursor:pointer}.notebook-cell-toolbar button:hover{background:#263247;color:#e2e8f0}.notebook-cell-toolbar button.danger:hover{color:#f87171}.notebook-cell-toolbar button:disabled{opacity:.25;cursor:default}.notebook-cell-body{display:grid;grid-template-columns:minmax(0,1fr)}.notebook-cell.markdown .notebook-cell-body,.notebook-cell.code .notebook-cell-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.notebook-editor.mode-preview .notebook-cell-body,.notebook-editor.mode-edit .notebook-cell-body{grid-template-columns:minmax(0,1fr)}.notebook-cell-body textarea{width:100%;min-height:100px;border:0;padding:10px 12px;resize:vertical;outline:none;background:#0f172a;color:#e2e8f0;font:12px/1.55 SF Mono,Fira Code,monospace;-moz-tab-size:4;tab-size:4}.notebook-cell.markdown textarea,.notebook-cell.code textarea{border-right:1px solid #334155}.notebook-cell.markdown textarea{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.notebook-language{margin-right:auto;border:1px solid #334155;border-radius:10px;padding:2px 7px;color:#93c5fd;background:#3b82f61a;font:9px/1.2 SF Mono,Fira Code,monospace;text-transform:uppercase}.notebook-language.sql{color:#c4b5fd;background:#8b5cf61a}.notebook-language.pyspark{color:#fdba74;background:#f973161a}.notebook-code-preview{margin:0;overflow:auto;padding:10px 12px;background:#0b1220;color:#cbd5e1;font:12px/1.55 SF Mono,Fira Code,monospace;white-space:pre-wrap;-moz-tab-size:4;tab-size:4}.notebook-code-preview code{font:inherit}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:#64748b;font-style:italic}.token.punctuation{color:#94a3b8}.token.namespace{opacity:.8}.token.property,.token.tag,.token.constant,.token.symbol,.token.deleted{color:#f87171}.token.boolean,.token.number{color:#fbbf24}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#86efac}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string{color:#67e8f9}.token.atrule,.token.attr-value,.token.keyword{color:#c4b5fd}.token.function,.token.class-name{color:#93c5fd}.token.regex,.token.important,.token.variable{color:#fdba74}.notebook-preview{overflow:auto;padding:10px 14px;color:#cbd5e1;font-size:13px;line-height:1.6}.notebook-preview h1{font-size:20px;margin:4px 0 8px}.notebook-preview h2{font-size:17px;margin:4px 0 7px}.notebook-preview h3{font-size:15px;margin:4px 0 6px}.notebook-preview ul,.notebook-preview ol{padding-left:20px}.notebook-outputs{border-top:1px solid #334155;background:#0b1220}.notebook-output{padding:8px 12px;overflow:auto}.notebook-output+.notebook-output{border-top:1px solid #263247}.notebook-output pre{margin:0;color:#cbd5e1;font:11px/1.5 SF Mono,Fira Code,monospace;white-space:pre-wrap}.notebook-output img{max-width:100%;background:#fff;border-radius:3px}.notebook-empty{display:flex;align-items:center;gap:7px;margin:30px auto;border:1px dashed #475569;border-radius:6px;padding:12px 18px;background:transparent;color:#94a3b8;cursor:pointer}.notebook-view-toggle{display:flex;border:1px solid #334155;border-radius:4px;overflow:hidden}.notebook-view-toggle button{border:0;border-right:1px solid #334155;border-radius:0;background:#0f172a;color:#94a3b8}.notebook-view-toggle button:last-child{border-right:0}.notebook-view-toggle button.active{background:#334155;color:#e2e8f0}@media(max-width:800px){.notebook-cell.markdown .notebook-cell-body,.notebook-cell.code .notebook-cell-body{grid-template-columns:1fr}.notebook-cell.markdown textarea,.notebook-cell.code textarea{border-right:0;border-bottom:1px solid #334155}}.tool-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr));gap:10px}.tool-card{min-width:0;overflow:hidden;background:#1e293b;border:1px solid #334155;border-radius:6px;padding:12px}.tool-card h3{font-size:13px;color:#e2e8f0}.tool-card p{font-size:11px;color:#64748b;margin-bottom:10px}.tool-card button{font-size:11px;padding:5px 14px;border-radius:4px;border:none;background:#2563eb;color:#fff;cursor:pointer}.tool-card button:hover{background:#1d4ed8}.tool-card button:disabled{background:#334155;color:#64748b;cursor:not-allowed}.tool-card input{background:#0f172a;color:#e2e8f0;border:1px solid #334155}.tool-card input:focus{border-color:#3b82f6;outline:none}.tool-select{min-width:0;width:100%;padding:5px 8px;font-size:11px;background:#0f172a;color:#e2e8f0;border:1px solid #334155;border-radius:4px;outline:none;flex:1}.tool-control-row{display:flex;min-width:0;gap:7px;align-items:center}.tool-control-row input,.tool-control-row select{min-width:0}.tool-control-row button{flex:0 0 auto}.tool-select:focus{border-color:#3b82f6}.tool-output{margin-top:10px;background:#0f172a;color:#4ade80;padding:10px;border-radius:5px;font-family:monospace;font-size:11px;white-space:pre-wrap;max-height:280px;overflow:auto;border:1px solid #1e293b}.bulk-tools-page{display:grid;gap:12px}.bulk-tools-card{background:#1e293b;border:1px solid #334155;border-radius:8px;padding:14px;min-width:0}.bulk-tools-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}.bulk-tools-heading h3,.bulk-tools-new-project h3{color:#e2e8f0;font-size:14px;margin:0 0 3px}.bulk-tools-heading p,.bulk-tools-new-project p{color:#94a3b8;font-size:11px;margin:0}.bulk-tools-heading>strong{color:#5eead4;background:#0f2f35;border:1px solid #155e75;border-radius:999px;padding:4px 9px;font-size:11px;white-space:nowrap}.bulk-tools-filters{display:grid;grid-template-columns:repeat(2,minmax(160px,1fr)) repeat(2,minmax(230px,1.25fr));gap:10px}.bulk-tools-filters>label,.bulk-tools-files{display:grid;gap:5px;color:#cbd5e1;font-size:11px}.bulk-tools-filters select,.bulk-tools-new-project input,.bulk-tools-new-project select,.bulk-tools-files input{min-width:0;background:#0f172a;color:#e2e8f0;border:1px solid #334155;border-radius:5px;padding:7px 9px}.bulk-tools-scope{border:1px solid #334155;border-radius:6px;padding:6px 9px 8px;display:flex;flex-wrap:wrap;gap:8px 14px}.bulk-tools-scope legend,.bulk-tools-action-groups legend{color:#94a3b8;padding:0 4px;font-size:10px;text-transform:uppercase;letter-spacing:.05em}.bulk-tools-scope label,.bulk-tools-action-groups label{color:#cbd5e1;font-size:11px;display:flex;align-items:center;gap:6px}.bulk-tools-select-actions{display:flex;gap:7px;margin:8px 0}.bulk-tools-select-actions button,.bulk-tools-new-project button,.bulk-tools-submit-card button{border:1px solid #475569;background:#334155;color:#e2e8f0;border-radius:5px;padding:6px 10px;font-size:11px;cursor:pointer}.bulk-tools-select-actions button:disabled,.bulk-tools-new-project button:disabled,.bulk-tools-submit-card button:disabled{opacity:.45;cursor:not-allowed}.bulk-tools-projects,.bulk-tools-catalogs{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px;max-height:260px;overflow:auto;padding:2px}.bulk-tools-projects>label,.bulk-tools-catalogs>label{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;border:1px solid #334155;border-radius:5px;background:#0f172a;padding:7px 8px;color:#e2e8f0;font-size:11px}.bulk-tools-projects small,.bulk-tools-catalogs small{color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bulk-tools-action-groups{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:9px}.bulk-tools-action-groups fieldset{display:grid;align-content:start;gap:7px;border:1px solid #334155;border-radius:6px;padding:8px 10px 10px;min-width:0}.bulk-tools-action-groups .bulk-tools-group-all{color:#5eead4;border-bottom:1px solid #334155;padding-bottom:7px;margin-bottom:1px;font-weight:600}.bulk-tools-files{margin-top:12px;border-top:1px solid #334155;padding-top:12px}.bulk-tools-files>span{display:flex;align-items:center;gap:5px}.bulk-tools-files small{color:#94a3b8;overflow-wrap:anywhere}.bulk-tools-submit-card{display:flex;align-items:center;justify-content:space-between;gap:14px}.bulk-tools-submit-card>div{display:grid;gap:3px;color:#e2e8f0;font-size:12px}.bulk-tools-submit-card span{color:#94a3b8;font-size:11px}.bulk-tools-submit-card button{display:inline-flex;align-items:center;gap:6px;background:#0f766e;border-color:#14b8a6}.bulk-tools-submit-card button.danger{background:#991b1b;border-color:#ef4444}.bulk-tools-summary{background:#052e2b;border:1px solid #0f766e;color:#5eead4;padding:9px 12px;border-radius:6px;font-size:12px}.bulk-tools-summary.has-errors{background:#3f1518;border-color:#991b1b;color:#fca5a5}.bulk-tools-log{max-height:420px;margin-top:0}.bulk-tools-new-project{display:grid;grid-template-columns:1fr minmax(260px,.8fr);align-items:center;gap:12px}.bulk-tools-new-project>div{display:flex;align-items:center;gap:9px;color:#60a5fa}.bulk-tools-new-project form{display:flex;gap:7px}.bulk-tools-new-project form input{flex:1}.bulk-tools-new-project>small{color:#fca5a5;grid-column:1 / -1}.bulk-delete-card{border-color:#7f1d1d}.bulk-delete-file-types{display:grid;gap:4px;margin-top:12px;border-top:1px solid #4b2930;padding-top:10px}.bulk-delete-file-types .bulk-tools-heading{margin-bottom:0}.bulk-delete-file-types .bulk-tools-heading h4{margin:0 0 3px;color:#fecaca;font-size:12px}.bulk-delete-file-types .bulk-tools-heading p{margin:0;color:#fca5a5;font-size:11px}.bulk-automation-card{border-color:#155e75}.bulk-export-card{border-color:#1d4ed8}.bulk-export-options{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,.8fr);gap:14px}.bulk-export-options .bulk-automation-buckets{margin-top:0;padding-top:0;border-top:0}.bulk-export-fields{display:grid;align-content:start;gap:9px}.bulk-export-fields>label{display:grid;gap:5px;color:#cbd5e1;font-size:11px}.bulk-export-fields select,.bulk-export-fields input{min-width:0;border:1px solid #334155;border-radius:5px;padding:7px 9px;background:#0f172a;color:#e2e8f0}.bulk-export-card .bulk-delete-status{color:#5eead4}.bulk-export-card .bulk-delete-status.error{color:#fca5a5}.pdf-split-card form{display:grid;gap:12px}.pdf-split-card form>label,.pdf-split-existing label,.pdf-split-rules label{display:grid;gap:5px;min-width:0;color:#cbd5e1;font-size:11px}.pdf-split-card select,.pdf-split-card input[type=number],.pdf-split-card input[type=file]{width:100%;min-width:0;border:1px solid #334155;border-radius:5px;padding:7px 9px;background:#0f172a;color:#e2e8f0}.pdf-split-existing{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.pdf-split-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pdf-split-hint{margin:0;color:#94a3b8;font-size:11px}.bulk-automation-rules{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:7px}.bulk-automation-rules>label{display:flex;align-items:flex-start;gap:8px;border:1px solid #334155;border-radius:6px;padding:8px 9px;background:#0f172a;color:#e2e8f0;font-size:11px}.bulk-automation-rules>label>span{display:grid;gap:3px}.bulk-automation-rules small{color:#64748b;line-height:1.35}.bulk-automation-buckets{display:grid;gap:8px;margin-top:11px;border-top:1px solid #334155;padding-top:11px}.bulk-automation-buckets>div:first-child{display:grid;gap:3px;color:#cbd5e1;font-size:11px}.bulk-automation-buckets>div:first-child small{color:#64748b}.bulk-automation-buckets .bulk-delete-types label{border-color:#164e63;background:#0c2530;color:#a5f3fc}.bulk-automation-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:11px;border-top:1px solid #334155;padding-top:11px}.bulk-automation-options>label{display:grid;gap:5px;color:#cbd5e1;font-size:11px}.bulk-automation-options input{min-width:0;border:1px solid #334155;border-radius:5px;padding:7px 9px;background:#0f172a;color:#e2e8f0}.bulk-automation-name{display:flex;align-items:center;gap:7px}.bulk-automation-name input{flex:1}.bulk-automation-name small{color:#64748b;white-space:nowrap}.bulk-automation-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.bulk-automation-actions>span{color:#94a3b8;font-size:11px}.bulk-automation-actions button{display:inline-flex;align-items:center;gap:6px;border:1px solid #0f766e;border-radius:5px;padding:6px 10px;background:#115e59;color:#ccfbf1;font-size:11px;cursor:pointer}.bulk-automation-actions button.danger{border-color:#991b1b;background:#7f1d1d;color:#fee2e2}.bulk-automation-actions button:disabled{opacity:.4;cursor:not-allowed}.bulk-delete-card .bulk-tools-heading>svg{color:#f87171}.bulk-delete-types{display:flex;flex-wrap:wrap;gap:7px}.bulk-delete-types label{display:flex;align-items:center;gap:6px;border:1px solid #4b2930;border-radius:5px;padding:6px 9px;background:#21151a;color:#fecaca;font-size:11px}.bulk-delete-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.bulk-delete-actions span{color:#94a3b8;font-size:11px}.bulk-delete-actions button,.bulk-delete-confirm-actions button{display:inline-flex;align-items:center;gap:6px;border:1px solid #991b1b;border-radius:5px;padding:6px 10px;background:#7f1d1d;color:#fee2e2;font-size:11px;cursor:pointer}.bulk-delete-actions button:disabled,.bulk-delete-confirm-actions button:disabled{opacity:.4;cursor:not-allowed}.bulk-delete-status{margin:10px 0 0;color:#fca5a5;font-size:11px}.bulk-delete-modal{width:min(720px,calc(100vw - 28px))}.bulk-delete-review h4{margin:12px 0 6px;color:#fecaca;font-size:12px}.bulk-delete-review ul{max-height:130px;overflow:auto;margin:0;padding-left:20px;color:#cbd5e1;font-size:11px;columns:2}.bulk-delete-review>p{color:#94a3b8;font-size:11px}.bulk-delete-file-list{max-height:260px;overflow:auto;border:1px solid #3f2932;border-radius:5px;background:#111827}.bulk-delete-file-list-header,.bulk-delete-file-row{display:grid;grid-template-columns:52px minmax(110px,1fr) minmax(85px,.65fr) minmax(0,1.5fr);align-items:center;gap:8px;padding:6px 9px}.bulk-delete-file-list-header{position:sticky;top:0;z-index:1;border-bottom:1px solid #3f2932;background:#1f1720;color:#94a3b8;font-size:10px;font-weight:600}.bulk-delete-file-row{min-height:31px;border-bottom:1px solid #29313e;color:#cbd5e1;font-size:10px;cursor:pointer}.bulk-delete-file-row:last-child{border-bottom:0}.bulk-delete-file-row:hover{background:#1b202b}.bulk-delete-file-row input{justify-self:start;margin:0}.bulk-delete-file-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bulk-delete-warning{display:flex;align-items:flex-start;gap:10px;color:#f87171}.bulk-delete-warning h3{margin:0 0 3px;font-size:16px}.bulk-delete-warning p{margin:0;color:#fca5a5;font-size:11px}.youtube-delete-local-option{display:flex;align-items:flex-start;gap:8px;color:#cbd5e1;font-size:11px}.youtube-delete-local-option input{flex:0 0 auto;margin:1px 0 0}.bulk-delete-review{display:grid;gap:6px;max-height:330px;overflow:auto}.bulk-delete-review details{border:1px solid #3f2932;border-radius:5px;background:#151019;padding:6px 8px}.bulk-delete-review summary{color:#fecaca;font-size:12px;font-weight:600;cursor:pointer}.bulk-delete-review details>div{display:grid;grid-template-columns:120px auto;gap:3px 8px;padding:5px 0 0 14px;color:#cbd5e1;font-size:10px}.bulk-delete-review details small{grid-column:1 / -1;color:#64748b;overflow-wrap:anywhere}.bulk-delete-review .bulk-delete-review-bucket{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:start;gap:3px 8px;padding:5px 0 0 14px;color:#cbd5e1;font-size:10px}.bulk-delete-review-bucket>div{display:grid;gap:4px}.bulk-delete-review-bucket label{display:flex;align-items:flex-start;gap:6px;overflow-wrap:anywhere}.bulk-delete-review-bucket input{flex:0 0 auto;margin:1px 0 0}.bulk-delete-unaffected{display:grid;gap:5px;color:#94a3b8;font-size:11px}.bulk-delete-unaffected details{border-color:#334155;background:#111827}.bulk-delete-unaffected summary{color:#cbd5e1}.typed-delete-confirmation{display:grid;gap:5px;margin-top:12px;color:#fecaca;font-size:11px}.typed-delete-confirmation input{border:1px solid #991b1b;border-radius:5px;padding:7px 9px;background:#0f172a;color:#fff}.bulk-delete-confirm-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:12px}.bulk-delete-confirm-actions button:first-child{border-color:#475569;background:#334155;color:#e2e8f0}@media(max-width:900px){.bulk-tools-action-groups{grid-template-columns:repeat(2,minmax(160px,1fr))}.bulk-tools-filters{grid-template-columns:1fr 1fr}.bulk-tools-scope{grid-column:1 / -1}}@media(max-width:620px){.bulk-tools-filters,.bulk-tools-action-groups,.bulk-tools-new-project,.bulk-automation-options,.bulk-export-options,.pdf-split-existing,.pdf-split-rules{grid-template-columns:1fr}.bulk-tools-submit-card,.bulk-tools-heading,.bulk-automation-actions{align-items:stretch;flex-direction:column}.bulk-tools-submit-card button{justify-content:center}.bulk-delete-file-list-header,.bulk-delete-file-row{grid-template-columns:32px minmax(75px,.9fr) minmax(60px,.6fr) minmax(0,1fr);gap:5px;padding-right:6px;padding-left:6px}}.build-btn{display:inline-flex;align-items:center;gap:5px;font-size:11px;padding:5px 12px;border-radius:4px;border:1px solid var(--btn-color, #3b82f6);background:transparent;color:var(--btn-color, #3b82f6);cursor:pointer;white-space:nowrap}.build-btn:hover{background:var(--btn-color, #3b82f6);color:#fff}.build-btn:disabled{opacity:.5;cursor:not-allowed}.project-control-panel{position:sticky;top:-10px;z-index:20;margin:-10px -14px 10px;overflow:hidden;border:1px solid #334155;border-radius:0 0 8px 8px;background:#0f172a;box-shadow:0 6px 14px #0206176b}.project-actions-embed .project-control-panel{top:0;margin:0 0 7px;border-top:0;border-radius:0 0 8px 8px}.project-control-panel.collapsed{z-index:300;margin-bottom:8px;overflow:visible;isolation:isolate}.project-control-panel.collapsed:has(.project-bulk-menu[open]){z-index:600}.project-control-header{display:flex;min-width:0;align-items:center;gap:10px;min-height:34px;padding:4px 7px 4px 10px}.project-control-panel.expanded .project-control-header{border-bottom:1px solid #253247}.project-control-identity{display:flex;min-width:0;align-items:center;gap:6px;color:#60a5fa;white-space:nowrap}.project-control-identity .page-title{overflow:hidden;margin:0;color:#e2e8f0;text-overflow:ellipsis;white-space:nowrap}.project-control-identity>span{color:#64748b;font-size:8px;letter-spacing:.05em;text-transform:uppercase}.project-collapsed-summary{display:flex;min-width:0;align-items:center;gap:4px;overflow:hidden}.project-collapsed-summary span{display:inline-flex;align-items:center;gap:3px;border:1px solid currentColor;border-radius:9px;padding:2px 6px;font-size:8px;line-height:1;opacity:.82;white-space:nowrap}.project-collapsed-summary .raw{color:#60a5fa}.project-collapsed-summary .llm{color:#a78bfa}.project-collapsed-summary .build{color:#2dd4bf}.project-collapsed-summary .publish{color:#f87171}.project-collapsed-summary .settings{color:#94a3b8}.project-collapsed-actions{position:relative;display:flex;min-width:0;align-items:center;gap:6px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}.project-action-select select,.project-bulk-menu>summary{height:27px;border:1px solid #3b4a61;border-radius:5px;padding:0 8px;background:#111827;color:#cbd5e1;font-size:9px;cursor:pointer}.project-action-select select{width:min(145px,18vw)}.project-action-select select.is-running{border-color:#f59e0b;color:#fde68a;box-shadow:inset 2px 0 #f59e0b}.project-bulk-menu{position:relative}.project-bulk-menu>summary{display:inline-flex;align-items:center;gap:5px;list-style:none;white-space:nowrap}.project-bulk-menu>summary::-webkit-details-marker{display:none}.project-bulk-menu[open]>summary{border-color:#60a5fa;color:#e2e8f0}.project-quick-icon-actions{display:flex;flex:0 1 auto;min-width:0;max-width:min(310px,32vw);gap:3px;overflow-x:auto;scrollbar-width:none}.project-quick-icon-actions::-webkit-scrollbar{display:none}.project-quick-icon-actions button{display:inline-flex;flex:0 0 21px;width:21px;height:27px;align-items:center;justify-content:center;border:1px solid color-mix(in srgb,var(--quick-action-color) 42%,#334155);border-radius:5px;padding:0;background:#111827;color:var(--quick-action-color);cursor:pointer}.project-quick-icon-actions button:hover{border-color:var(--quick-action-color);background:color-mix(in srgb,var(--quick-action-color) 16%,#111827);color:#f8fafc}.project-quick-icon-actions button:disabled{opacity:.38;cursor:wait}.project-quick-icon-actions button.is-running{border-color:var(--quick-action-color);background:color-mix(in srgb,var(--quick-action-color) 18%,#111827);opacity:1;box-shadow:0 0 0 1px color-mix(in srgb,var(--quick-action-color) 28%,transparent)}.project-action-spinner{animation:project-action-spin .8s linear infinite}@keyframes project-action-spin{to{transform:rotate(360deg)}}.project-bulk-popover{position:absolute;top:calc(100% + 6px);right:0;z-index:1;width:min(390px,calc(100vw - 28px));max-height:min(72vh,650px);overflow:auto;border:1px solid #475569;border-radius:8px;padding:10px;background:#0b1220;box-shadow:0 18px 50px #000000b8}.project-bulk-heading{display:flex;flex-direction:column;gap:2px;border-bottom:1px solid #273449;padding:2px 2px 8px;color:#e2e8f0;font-size:11px}.project-bulk-heading span{color:#64748b;font-size:9px}.project-bulk-group{display:grid;gap:3px;border-bottom:1px solid #273449;padding:8px 2px}.project-bulk-group>span{margin-bottom:2px;color:#64748b;font-size:8px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.project-bulk-group label{display:flex;align-items:center;gap:7px;min-height:27px;border-radius:4px;padding:3px 6px;color:#cbd5e1;font-size:10px;cursor:pointer}.project-bulk-group label:hover{background:#172033}.project-bulk-group input{accent-color:#3b82f6}.project-bulk-actions{display:flex;justify-content:flex-end;gap:6px;padding-top:9px}.project-bulk-actions button{border:1px solid #475569;border-radius:5px;padding:6px 9px;background:#111827;color:#94a3b8;font-size:9px;cursor:pointer}.project-bulk-actions button.primary{border-color:#2563eb;background:#1d4ed8;color:#fff}.project-bulk-actions button:disabled{opacity:.45;cursor:default}.project-bulk-status{max-height:160px;overflow:auto;margin:0 0 10px;border:1px solid #334155;border-radius:6px;padding:8px 10px;background:#0b1220;color:#94a3b8;font-size:9px;white-space:pre-wrap}.project-logs-toggle,.project-activity-logs header button{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;border:1px solid #3b4a61;border-radius:5px;background:#111827;color:#94a3b8;cursor:pointer}.project-logs-toggle{position:relative;width:29px;height:27px;padding:0}.project-logs-toggle:hover,.project-logs-toggle.active{border-color:#60a5fa;color:#e2e8f0}.project-logs-toggle.is-running{border-color:#f59e0b;color:#fbbf24}.project-logs-toggle>span{position:absolute;top:-5px;right:-5px;min-width:13px;height:13px;border-radius:7px;padding:0 3px;background:#2563eb;color:#fff;font-size:7px;line-height:13px;text-align:center}.project-logs-toggle.is-running>span{background:#d97706}.project-activity-logs{margin:0 7px 7px;overflow:hidden;border:1px solid #334155;border-radius:7px;background:#0b1220}.project-activity-logs>header{display:flex;min-height:30px;align-items:center;gap:7px;border-bottom:1px solid #273449;padding:3px 5px 3px 9px;color:#cbd5e1;font-size:9px}.project-activity-logs>header>span{display:inline-flex;align-items:center;gap:4px;color:#fbbf24}.project-activity-logs>header button:first-of-type{width:auto;margin-left:auto;padding:4px 7px;font-size:8px}.project-activity-logs>header button:last-of-type{width:23px;height:22px;padding:0}.project-activity-logs>header button:disabled{opacity:.35;cursor:default}.project-activity-logs>p{margin:0;padding:10px;color:#64748b;font-size:9px}.project-activity-log-list{display:grid;max-height:min(42vh,360px);gap:5px;overflow:auto;padding:6px}.project-activity-log-list>section{min-width:0;border:1px solid #273449;border-radius:5px;background:#020617}.project-activity-log-list>section>strong{display:block;border-bottom:1px solid #1e293b;padding:4px 7px;color:#93c5fd;font-size:8px}.project-activity-log-list pre{max-height:190px;overflow:auto;margin:0;padding:7px;color:#4ade80;font:9px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap}.project-panel-toggle{display:inline-flex;flex:0 0 auto;align-items:center;gap:5px;margin-left:auto;border:1px solid #3b4a61;border-radius:5px;padding:4px 7px;background:#111827;color:#94a3b8;font-size:9px;cursor:pointer}.project-panel-toggle:hover{border-color:#60a5fa;color:#e2e8f0}.project-action-groups{display:grid;grid-template-columns:.72fr 1.65fr 1.25fr .72fr 1fr;gap:7px;align-items:stretch;padding:7px}.project-action-groups[hidden]{display:none}.project-action-group{--group-rgb: 100,116,139;min-width:0;padding:6px;border:1px solid rgba(var(--group-rgb),.32);border-radius:7px;background:linear-gradient(145deg,rgba(var(--group-rgb),.1),#0f172a8c 55%)}.project-action-group.raw-actions{--group-rgb: 96,165,250}.project-action-group.llm-actions{--group-rgb: 167,139,250}.project-action-group.build-actions{--group-rgb: 45,212,191}.project-action-group.publish-actions{--group-rgb: 248,113,113}.project-action-group.project-settings-actions{--group-rgb: 148,163,184}.project-action-group-title{display:flex;align-items:center;gap:5px;margin:0 2px 5px;color:rgb(var(--group-rgb));font-size:9px;font-weight:700;letter-spacing:.065em;line-height:1;text-transform:uppercase}.project-action-list{display:flex;flex-wrap:wrap;gap:4px;align-content:flex-start}.project-action-btn{box-sizing:border-box;display:inline-flex;align-items:center;gap:5px;min-height:27px;padding:4px 7px;border:1px solid rgba(var(--group-rgb),.3);border-radius:5px;background:#0f172ab8;color:#cbd5e1;font:inherit;font-size:10px;line-height:1.15;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease}.project-action-btn svg{flex:0 0 auto;color:rgb(var(--group-rgb))}.project-action-btn:hover{border-color:rgba(var(--group-rgb),.75);background:rgba(var(--group-rgb),.18);color:#f8fafc;transform:translateY(-1px)}.project-action-btn:disabled{opacity:.48;cursor:not-allowed;transform:none}.project-action-btn.is-running,.project-action-btn.is-running:disabled{border-color:rgba(var(--group-rgb),.82);background:rgba(var(--group-rgb),.17);color:#f8fafc;opacity:1;cursor:wait;transform:none;box-shadow:inset 2px 0 rgb(var(--group-rgb))}.project-action-btn[aria-expanded=true]{border-color:rgba(var(--group-rgb),.85);background:rgba(var(--group-rgb),.22);color:#fff}.project-action-status{box-sizing:border-box;display:flex;align-items:center;gap:5px;min-width:0;max-width:100%;min-height:27px;padding:3px 4px 3px 7px;border:1px solid rgba(var(--group-rgb),.3);border-radius:5px;background:#0f172ab8;color:#cbd5e1;font-size:10px;white-space:nowrap}.project-action-status .folder-status{flex:1 1 auto;min-width:72px;width:auto;margin-left:0;max-width:95px;padding:2px 4px}@media(max-width:1250px){.project-action-groups{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.project-action-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.project-action-groups{grid-template-columns:1fr}.project-action-btn{flex:1 1 auto}}@media(max-width:700px){.project-collapsed-summary span{padding:2px 4px;font-size:0}.project-control-identity>span{display:none}}@media(max-width:700px){.project-control-panel.collapsed .project-control-header{flex-wrap:wrap}.project-control-panel.collapsed .project-collapsed-actions{order:3;width:100%}.project-control-panel.collapsed .project-action-select{flex:1}.project-control-panel.collapsed .project-action-select select{width:100%;min-height:34px;font-size:11px}.project-control-panel.collapsed .project-bulk-menu>summary{min-height:34px;font-size:11px}.project-control-panel.collapsed .project-quick-icon-actions{flex:1 1 100%;max-width:none}.project-control-panel.collapsed .project-quick-icon-actions button{flex-basis:30px;width:30px;height:30px}.project-bulk-popover{right:0}.build-form-toggles,.audio2video-settings-grid{grid-template-columns:1fr}}.book-matter-generator{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 18px;margin-bottom:12px;border:1px solid #92400e;border-radius:7px;padding:12px 14px;background:#78350f24}.book-matter-generator-copy{display:flex;gap:10px;color:#f59e0b}.book-matter-generator-copy>div{min-width:0}.book-matter-generator-copy strong{color:#fef3c7;font-size:12px}.book-matter-generator-copy p{margin:4px 0 0;color:#cbd5e1;font-size:10px;line-height:1.5}.book-matter-generator-copy span{display:block;margin-top:4px;color:#fbbf24;font-size:9px}.book-matter-generator-copy code{color:#fde68a}.book-matter-generator-actions{grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:flex-end;gap:6px}.book-matter-source-field{grid-column:1;grid-row:2;display:flex;align-items:center;gap:7px}.book-matter-source-field span{color:#94a3b8;font-size:10px}.book-matter-source-field select{max-width:240px;border:1px solid #475569;border-radius:5px;padding:6px 8px;background:#111827;color:#e2e8f0;font-size:10px}.book-matter-generator-actions button{display:inline-flex;align-items:center;gap:5px;border:1px solid #475569;border-radius:5px;padding:6px 9px;background:#111827;color:#94a3b8;font-size:10px;cursor:pointer}.book-matter-generator-actions button.primary{border-color:#d97706;background:#b45309;color:#fff}.book-matter-generator-actions button:hover:not(:disabled){border-color:#f59e0b;color:#fff}.book-matter-generator-actions button:disabled{opacity:.45;cursor:default}.book-matter-generator-status{grid-column:1 / -1;margin:0;border-top:1px solid rgba(146,64,14,.55);padding-top:8px;color:#86efac;font-size:10px}.book-matter-generator-status.error{color:#fca5a5}.ai-generation-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;margin-bottom:12px;border:1px solid #334155;border-radius:7px;padding:12px 14px;background:#0f172a}.project-action-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:700;background:#020617c7;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.project-action-modal-backdrop:not(.legacy){display:flex;align-items:center;justify-content:center;padding:24px}.project-action-modal{position:relative;z-index:701;width:min(760px,96vw);max-height:min(88vh,900px);overflow:auto;border:1px solid #475569;border-radius:10px;background:#0b1220;box-shadow:0 24px 80px #000000a6}.project-action-modal-close{position:absolute;top:9px;right:9px;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #475569;border-radius:6px;background:#111827;color:#94a3b8;cursor:pointer}.project-action-modal-close:hover:not(:disabled){color:#fff;border-color:#64748b}.project-action-modal-close:disabled{opacity:.45;cursor:default}.project-action-modal .ai-generation-panel{grid-template-columns:minmax(0,1fr);margin:0;border:0;padding:20px;background:#0b1220}.project-detail-page>.ai-generation-panel,.project-detail-page>.book-matter-generator{position:fixed;top:50%;left:50%;z-index:701;display:grid;grid-template-columns:minmax(0,1fr);width:min(760px,calc(100vw - 48px));max-height:calc(100vh - 48px);margin:0;overflow:auto;padding:20px;transform:translate(-50%,-50%);border:1px solid #475569!important;border-radius:10px;background:#0b1220!important;box-shadow:0 24px 80px #000000a6}.project-detail-page>.ai-generation-panel>*,.project-detail-page>.book-matter-generator>*{grid-column:1 / -1;grid-row:auto;min-width:0}.project-detail-page>.ai-generation-panel .ai-generation-files{justify-content:flex-start}.project-detail-page>.ai-generation-panel .ai-generation-files span{max-width:100%;overflow-wrap:anywhere}.project-detail-page>.ai-generation-panel .ai-generation-actions,.project-detail-page>.book-matter-generator .book-matter-generator-actions{justify-content:flex-end}.project-detail-page>.ai-generation-panel textarea{max-height:260px}.build-configuration-panel .ai-generation-heading{padding-right:34px}.build-form-toggles{grid-column:1 / -1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.audio2video-settings-grid{grid-column:1 / -1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.audio2video-settings-grid .ai-generation-field{grid-column:auto}.build-form-toggle{display:flex;align-items:center;gap:8px;min-height:34px;border:1px solid #334155;border-radius:5px;padding:7px 9px;background:#111827;color:#cbd5e1;font-size:10px;cursor:pointer}.build-form-toggle input{accent-color:#3b82f6}.build-dialog-output{grid-column:1 / -1;max-height:180px;overflow:auto;margin:0;border:1px solid #273449;border-radius:5px;padding:8px;background:#020617;color:#94a3b8;font-size:9px;white-space:pre-wrap}.project-action-modal .ai-generation-actions a{display:inline-flex;align-items:center;gap:5px;color:#93c5fd;font-size:10px;text-decoration:none}.form-settings-links{grid-column:1 / -1;display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#64748b;font-size:9px}.form-settings-links>span{margin-right:auto}.form-settings-links a{display:inline-flex;align-items:center;gap:4px;color:#93c5fd;text-decoration:none}.build-settings-context{grid-column:1 / -1;border:1px solid #334155;border-radius:6px;padding:8px 9px;background:#1e293b94}.build-settings-context>div{display:flex;justify-content:space-between;gap:12px;color:#cbd5e1;font-size:10px}.build-settings-context>div span{color:#64748b;font-size:9px}.build-settings-context details{margin-top:7px}.build-settings-context summary{color:#93c5fd;font-size:9px;cursor:pointer}.build-settings-table{min-width:560px;margin-top:7px}.build-settings-context details{overflow-x:auto}.build-settings-table>div{display:grid;grid-template-columns:1.25fr repeat(3,1fr);gap:7px;border-top:1px solid #273449;padding:5px 3px;color:#94a3b8;font-size:8px}.build-settings-table>div span{min-width:0;overflow-wrap:anywhere}.build-settings-table>div.heading{color:#cbd5e1;font-weight:600}.book-content-generator{border-color:#166534;background:#14532d1f}.illustration-generator{border-color:#075985;background:#082f492e}.ai-generation-heading{display:flex;align-items:flex-start;gap:9px;color:#60a5fa}.book-content-generator .ai-generation-heading{color:#4ade80}.ai-generation-heading strong{color:#e2e8f0;font-size:12px}.ai-generation-heading p{margin:3px 0 0;color:#94a3b8;font-size:10px;line-height:1.45}.ai-generation-heading code,.ai-generation-note code{color:#c4b5fd}.ai-generation-field{grid-column:1 / -1;display:flex;flex-direction:column;gap:5px}.ai-generation-field>span{color:#cbd5e1;font-size:10px;font-weight:600}.ai-generation-field textarea,.ai-generation-field input,.ai-generation-field select{min-height:34px;outline:0;border:1px solid #334155;border-radius:5px;padding:8px 9px;background:#0b1220;color:#e2e8f0;font:11px/1.55 inherit}.ai-generation-field textarea{min-height:110px;resize:vertical}.ai-generation-field textarea:focus,.ai-generation-field input:focus,.ai-generation-field select:focus{border-color:#22c55e}.ai-generation-method{grid-column:1 / -1;display:grid;grid-template-columns:max-content minmax(180px,280px);align-items:center;gap:5px 10px}.ai-generation-method>span{color:#cbd5e1;font-size:10px;font-weight:600}.ai-generation-method select{min-height:32px;outline:0;border:1px solid #334155;border-radius:5px;padding:6px 8px;background:#0b1220;color:#e2e8f0;font-size:10px}.ai-generation-method small{grid-column:1 / -1;color:#fbbf24;font-size:9px;line-height:1.45}.ai-generation-file-field{display:inline-flex;width:fit-content;align-items:center;gap:5px;border:1px solid #334155;border-radius:5px;padding:6px 9px;background:#111827;color:#93c5fd;font-size:10px;cursor:pointer}.ai-generation-file-field input{display:none}.ai-generation-files{display:flex;justify-content:flex-end;gap:4px;flex-wrap:wrap}.ai-generation-files span{border-radius:10px;padding:3px 7px;background:#1e293b;color:#94a3b8;font-size:9px}.ai-generation-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.ai-generation-actions button{display:inline-flex;align-items:center;gap:5px;border:1px solid #475569;border-radius:5px;padding:6px 9px;background:#111827;color:#94a3b8;font-size:10px;cursor:pointer}.ai-generation-actions button.primary{border-color:#2563eb;background:#1d4ed8;color:#fff}.ai-generation-actions button.primary.green{border-color:#16a34a;background:#15803d;color:#fff}.ai-generation-actions button.primary.blue{border-color:#0284c7;background:#0369a1;color:#fff}.ai-generation-actions button:disabled{opacity:.45;cursor:default}.ai-generation-note,.ai-generation-status{grid-column:1 / -1;margin:0;color:#fbbf24;font-size:9px}.ai-generation-status{border-top:1px solid #334155;padding-top:8px;color:#86efac}.ai-generation-status.error{color:#fca5a5}.publication-bio-confirmation{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;gap:7px;border:1px solid #92400e;border-radius:6px;padding:8px 9px;background:#78350f29}.publication-bio-confirmation>div{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px;color:#fef3c7;font-size:10px}.publication-bio-confirmation span{color:#cbd5e1;font-size:9px;line-height:1.4}.publication-bio-confirmation code{color:#fde68a}.publication-bio-confirmation button{flex:0 0 auto;border:1px solid #475569;border-radius:5px;padding:5px 8px;background:#111827;color:#cbd5e1;font-size:9px;cursor:pointer}.publication-bio-confirmation button.primary{border-color:#d97706;background:#b45309;color:#fff}.builder-page{min-width:0}.builder-page .page-title{display:inline-flex;align-items:center;gap:6px}.builder-top-controls{display:flex;min-width:0;flex:1;justify-content:flex-end;gap:6px}.builder-top-controls input{min-width:180px;flex:1;max-width:330px}.builder-top-controls input,.builder-top-controls select{height:31px;border:1px solid #334155;border-radius:5px;padding:0 8px;background:#0f172a;color:#cbd5e1;font-size:11px}.builder-top-controls button{height:31px}.builder-message{margin:0 0 8px;border:1px solid #334155;border-radius:5px;padding:6px 9px;background:#0f172a;color:#fca5a5;font-size:10px}.builder-message.success{color:#86efac;border-color:#166534}.builder-collapse-bar{display:flex;align-items:center;gap:6px;width:100%;height:29px;margin:0 0 6px;border:1px solid #334155;border-radius:5px;padding:0 9px;background:#172033;color:#cbd5e1;font-size:10px;font-weight:600;cursor:pointer;text-align:left}.builder-collapse-bar:hover{border-color:#475569;background:#1e293b}.builder-collapse-bar span{margin-left:auto;color:#64748b;font-size:9px;font-weight:400}.builder-collapse-bar.outputs-collapse{margin-top:8px;margin-bottom:6px}.builder-layout{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(440px,1.5fr);gap:10px}.builder-panel{min-width:0;border:1px solid #334155;border-radius:7px;padding:9px;background:#1e293b}.builder-panel-heading{display:flex;align-items:center;gap:7px;min-height:28px;margin-bottom:7px;color:#e2e8f0;font-size:11px}.builder-panel-heading span{margin-left:auto;color:#64748b;font-size:9px}.builder-panel-heading button,.builder-source-row button,.builder-row-actions button,.builder-build-actions button,.builder-build-actions a,.builder-preview-header button{display:inline-flex;align-items:center;justify-content:center;gap:4px;border:1px solid #334155;border-radius:4px;padding:4px 7px;background:#0f172a;color:#93c5fd;font-size:9px;text-decoration:none;cursor:pointer}.builder-file-name{display:inline-flex;align-items:center;gap:7px;word-break:break-word}.builder-panel-heading button{margin-left:auto}.builder-search{display:flex;align-items:center;gap:6px;height:30px;border:1px solid #334155;border-radius:5px;padding:0 8px;background:#0f172a;color:#64748b}.builder-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#e2e8f0;font-size:10px}.builder-source-list,.builder-sequence{max-height:430px;overflow:auto;margin-top:7px}.builder-source-row{display:flex;align-items:center;gap:5px;padding:6px;border-bottom:1px solid #273449}.builder-source-row>div{min-width:0;flex:1}.builder-source-row strong,.builder-source-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.builder-source-row strong{color:#cbd5e1;font-size:10px}.builder-source-row small{margin-top:2px;color:#64748b;font-size:8px}.builder-sequence-row{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(260px,1.3fr) auto;align-items:center;gap:7px;padding:7px;border:1px solid #273449;border-radius:5px;margin-bottom:5px;background:#111827}.builder-sequence-row.no-skips{grid-template-columns:minmax(220px,1fr) auto}.builder-sequence-title{display:grid;grid-template-columns:20px 1fr;min-width:0;align-items:center}.builder-sequence-title>span{grid-row:1 / 3;color:#64748b;font-size:9px}.builder-sequence-title strong,.builder-sequence-title small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.builder-sequence-title strong{color:#cbd5e1;font-size:10px}.builder-sequence-title small{color:#64748b;font-size:8px}.builder-skip-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.builder-skip-fields label{color:#64748b;font-size:8px}.builder-skip-fields input{width:100%;min-width:0;margin-top:2px;border:1px solid #334155;border-radius:3px;padding:4px 5px;background:#0f172a;color:#cbd5e1;font-size:9px}.builder-row-actions,.builder-build-actions{display:flex;align-items:center;gap:3px;white-space:nowrap}.builder-row-actions button{padding:4px}.builder-row-actions button:disabled{opacity:.3}.builds-panel{margin-top:10px}.builds-panel .folder-table-wrap{margin-top:0}.builds-panel .folder-table th,.builds-panel .folder-table td{padding:7px 9px;font-size:10px}.builder-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:500;display:flex;align-items:center;justify-content:center;padding:28px;background:#000000c7}.builder-preview{display:flex;flex-direction:column;width:min(900px,96vw);height:min(92vh,900px);overflow:hidden;border:1px solid #475569;border-radius:8px;background:#0b1220;box-shadow:0 20px 60px #000}.builder-preview-header,.builder-preview-controls{display:flex;align-items:center;gap:9px;padding:7px 9px;background:#111827;color:#cbd5e1;font-size:10px}.builder-preview-header strong{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.builder-preview-canvas{flex:1;min-height:0;overflow:auto;padding:8px;text-align:center}.builder-preview-canvas canvas{max-width:100%;background:#fff;box-shadow:0 3px 15px #000}.builder-av-preview{display:flex;flex:1;min-height:0;align-items:center;justify-content:center;padding:16px}.builder-av-preview audio{width:min(680px,90%)}.builder-av-preview video{max-width:100%;max-height:100%}.builder-preview-controls input[type=range]{flex:1}.builder-preview-controls input[type=number]{width:58px;border:1px solid #334155;border-radius:4px;padding:3px;background:#0f172a;color:#e2e8f0}@media(max-width:900px){.builder-layout{grid-template-columns:1fr}.builder-top-controls{flex-wrap:wrap;justify-content:flex-start}.builder-sequence-row{grid-template-columns:1fr}}.search-results{display:flex;flex-direction:column;gap:6px}.search-result{background:#1e293b;border:1px solid #334155;padding:10px 14px;border-radius:5px;cursor:pointer;text-decoration:none;color:inherit}.search-result:hover{border-color:#475569}.search-result .sr-path{font-size:12px;color:#60a5fa}.search-result .sr-match{font-size:12px;color:#94a3b8;margin-top:3px}.search-result .sr-badge{display:inline-block;font-size:10px;padding:1px 6px;border-radius:8px;background:#3b82f626;color:#60a5fa;margin-left:6px}.project-section-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));grid-auto-rows:minmax(230px,1fr);gap:10px;align-items:stretch}.project-section{min-width:0;height:100%;margin-bottom:0;padding:10px;border:1px solid #273449;border-radius:8px;background:#0f172a;overflow:auto}.project-section-header{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;padding:6px 0;border-bottom:1px solid #1e293b;margin-bottom:6px;color:#e2e8f0}.project-section-count{font-size:10px;font-weight:400;color:#64748b;background:#334155;padding:1px 7px;border-radius:8px}.folder-status{margin-left:auto;max-width:105px;padding:3px 6px;border:1px solid #334155;border-radius:6px;background:#111827;color:#cbd5e1;font-size:10px}.folder-status.status-generated{color:#60a5fa;border-color:#1d4ed8}.folder-status.status-reviewed{color:#fbbf24;border-color:#92400e}.folder-status.status-live{color:#4ade80;border-color:#166534}.folder-status.status-in-progress{color:#60a5fa;border-color:#1d4ed8}.folder-status.status-completed{color:#4ade80;border-color:#166534}.folder-status.status-published{color:#c084fc;border-color:#7e22ce}.project-overall-status{display:inline-flex;align-items:center;gap:5px;border:1px solid #273449;border-radius:6px;padding:3px 5px 3px 8px;color:#64748b;font-size:9px}.project-overall-status .folder-status{margin-left:0}.project-empty{font-size:11px;color:#475569;padding:4px 0}.project-files{display:flex;flex-direction:column;gap:2px}.project-file-row{display:flex;align-items:center;gap:8px;padding:5px 8px;border-radius:4px;font-size:12px;cursor:pointer;text-decoration:none;color:#cbd5e1}.project-file-row:hover{background:#1e293b;color:#fff}.project-file-row.selected{background:#172554;box-shadow:inset 2px 0 #60a5fa}.project-file-main{display:flex;flex:1;min-width:0;align-items:center;gap:8px;color:inherit;text-decoration:none}.project-file-row .name{flex:1;min-width:0;word-break:break-all}.project-file-row .size{font-size:10px;color:#64748b;white-space:nowrap}.project-file-row .actions{display:flex;gap:4px}.project-file-row .actions a{color:#64748b;padding:2px;border-radius:3px;display:flex;text-decoration:none}.project-file-row .actions a:hover{color:#60a5fa;background:#1e293b}.project-section-select{flex:0 0 auto}.project-file-protected{flex:0 0 auto;border:1px solid #155e75;border-radius:4px;padding:2px 4px;color:#67e8f9;font-size:8px;text-transform:uppercase}.project-file-selection-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin-bottom:8px;border:1px solid #7f1d1d;border-radius:6px;padding:7px 9px;background:#21151a;color:#fecaca;font-size:11px}.project-file-selection-toolbar span{margin-right:auto}.project-file-selection-toolbar button{display:inline-flex;align-items:center;gap:5px;border:1px solid #475569;border-radius:4px;padding:5px 8px;background:#334155;color:#e2e8f0;font-size:10px;cursor:pointer}.project-file-selection-toolbar button:first-of-type{border-color:#991b1b;background:#7f1d1d;color:#fee2e2}.project-file-delete-status{margin:0 0 8px;border-radius:5px;padding:7px 9px;background:#052e2b;color:#5eead4;font-size:11px}.project-file-delete-status.error{background:#3f1518;color:#fca5a5}.project-delete-confirmation{display:grid;gap:10px}.project-delete-warning{display:flex;align-items:flex-start;gap:9px;color:#f87171}.project-delete-warning strong{color:#fecaca}.project-delete-warning p{margin:3px 0 0;color:#94a3b8;font-size:11px}.project-delete-file-list{display:grid;gap:5px;max-height:300px;overflow:auto}.project-delete-file-list>div{display:grid;grid-template-columns:1fr auto;gap:3px 8px;border:1px solid #3f2932;border-radius:5px;padding:7px 8px;background:#151019;color:#cbd5e1;font-size:11px}.project-delete-file-list small{grid-column:1 / -1;color:#64748b;overflow-wrap:anywhere}.upload-btn{display:inline-flex;align-items:center;font-size:11px;padding:5px 12px;border-radius:4px;background:#2563eb;color:#fff;cursor:pointer;border:none}.upload-btn:hover{background:#1d4ed8}.new-project-inline{display:flex;gap:8px;align-items:center;margin-bottom:16px;padding:10px 12px;background:#1e293b;border:1px dashed #334155;border-radius:6px}.new-project-inline input{flex:1;padding:5px 10px;font-size:12px;background:#0f172a;color:#e2e8f0;border:1px solid #334155;border-radius:4px;outline:none}.new-project-inline input:focus{border-color:#3b82f6}.new-project-inline button{font-size:11px;padding:5px 14px;border:none;border-radius:4px;background:#2563eb;color:#fff;cursor:pointer}.new-project-inline button:disabled{background:#334155;color:#64748b}.new-md-panel{background:#1e293b;border:1px solid #334155;border-radius:6px;margin-bottom:16px;overflow:hidden}.new-md-header{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid #334155;font-size:13px;font-weight:600;color:#e2e8f0}.new-md-filename{display:flex;gap:8px;padding:8px 12px;border-bottom:1px solid #334155;align-items:center;flex-wrap:wrap}.new-md-filename input{flex:1;min-width:150px;padding:5px 10px;font-size:12px;background:#0f172a;color:#e2e8f0;border:1px solid #334155;border-radius:4px;outline:none}.new-md-filename input:focus{border-color:#3b82f6}.new-md-filename>button{font-size:11px;padding:5px 14px;border:none;border-radius:4px;background:#2563eb;color:#fff;cursor:pointer}.new-md-filename>button:disabled{background:#334155;color:#64748b}.new-md-type-btns{display:flex;gap:2px;background:#0f172a;border-radius:4px;padding:2px}.new-md-type-btns button{font-size:11px;padding:4px 10px;border:none;border-radius:3px;background:transparent;color:#94a3b8;cursor:pointer;white-space:nowrap}.new-md-type-btns button:hover{color:#e2e8f0}.new-md-type-btns button.active{background:#334155;color:#e2e8f0}.new-md-resolved{font-size:11px;color:#60a5fa;flex:1}.new-md-body{display:flex;height:320px}.new-md-edit{flex:1;display:flex;flex-direction:column;border-right:1px solid #334155}.new-md-edit .editor-label{padding:4px 12px}.new-md-edit textarea{flex:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:13px;line-height:1.7;padding:8px 12px;border:none;resize:none;outline:none;background:#0f172a;color:#e2e8f0;-webkit-text-fill-color:#e2e8f0}.new-md-preview{flex:1;display:flex;flex-direction:column;overflow:hidden}.new-md-preview .editor-label{padding:4px 12px}.new-md-preview .preview-pane{flex:1;margin:0;border:none;border-radius:0;overflow:auto}.help-section{margin-bottom:20px}.help-heading{font-size:14px;font-weight:600;color:#e2e8f0;margin-bottom:8px;padding-bottom:4px;border-bottom:1px solid #1e293b}.help-list{list-style:none;padding:0}.help-list li{font-size:12px;color:#cbd5e1;line-height:1.7;padding:3px 0 3px 16px;position:relative}.help-list li:before{content:"";position:absolute;left:0;top:10px;width:5px;height:5px;border-radius:50%;background:#3b82f6}.help-list strong{color:#e2e8f0}.help-list code{font-family:SF Mono,Fira Code,monospace;font-size:11px;background:#0f172a;color:#4ade80;padding:1px 5px;border-radius:3px}.sync-panel{background:#0f172a;border-bottom:1px solid #1e293b;padding:0}.sync-panel-header{display:flex;align-items:center;gap:6px;padding:6px 14px;font-size:12px;font-weight:500;color:#93c5fd;border-bottom:1px solid #1e293b}.sync-output{font-family:SF Mono,Fira Code,monospace;font-size:11px;color:#94a3b8;background:transparent;padding:8px 14px;max-height:200px;overflow-y:auto;white-space:pre-wrap;word-break:break-all}@keyframes pulse-blue{0%,to{opacity:1}50%{opacity:.6}}.hdr-syncing{animation:pulse-blue 1.2s ease-in-out infinite;color:#60a5fa!important}.page-title{font-size:15px;font-weight:600;margin-bottom:8px;color:#e2e8f0}@media(max-width:900px){.page-heading-row,.projects-actions-row{align-items:stretch;flex-direction:column}.page-heading-row .list-toolbar{justify-content:flex-start}.projects-actions-row .new-project-inline{min-width:0}}.loading{color:#64748b;font-size:12px;padding:16px}.empty{color:#475569;font-size:12px;padding:16px}.settings-page{max-width:1120px;padding-bottom:40px}.settings-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.settings-heading .page-title{display:flex;align-items:center;gap:8px;margin-bottom:5px}.settings-heading p{color:#64748b;font-size:12px;line-height:1.5}.settings-actions{display:flex;gap:8px;flex-shrink:0}.settings-actions button{display:inline-flex;align-items:center;gap:6px;border:1px solid #2563eb;border-radius:5px;padding:7px 12px;background:#2563eb;color:#fff;font-size:11px;cursor:pointer}.settings-actions button.secondary{border-color:#334155;background:#1e293b;color:#cbd5e1}.settings-actions button:disabled{opacity:.55;cursor:wait}.settings-status{margin-bottom:12px;padding:9px 12px;border:1px solid #7f1d1d;border-radius:5px;background:#7f1d1d2e;color:#fca5a5;font-size:12px}.settings-status.success{border-color:#166534;background:#1665342e;color:#86efac}.settings-card{display:grid;grid-template-columns:minmax(180px,230px) 1fr;gap:24px;margin-bottom:12px;padding:18px;border:1px solid #334155;border-radius:8px;background:#1e293b}.settings-card-title h3{margin-bottom:5px;color:#e2e8f0;font-size:14px}.settings-card-title p{color:#64748b;font-size:11px;line-height:1.5}.settings-card-title code{color:#93c5fd;font-family:SF Mono,Fira Code,monospace}.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:14px}.settings-credential-actions{display:flex;align-items:flex-end;gap:7px;padding-bottom:1px}.settings-credential-actions button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;border:1px solid #2563eb;border-radius:5px;padding:5px 10px;background:#2563eb;color:#fff;font-size:10px;cursor:pointer}.settings-credential-actions button.danger{border-color:#7f1d1d;background:#7f1d1d40;color:#fca5a5}.settings-credential-actions button:disabled{opacity:.55;cursor:wait}.settings-field{display:flex;flex-direction:column;gap:5px;min-width:0;color:#cbd5e1;font-size:11px;font-weight:600}.settings-field-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:20px}.settings-field fieldset{min-width:0;margin:0;padding:0;border:0}.settings-field.inherited fieldset{opacity:.48}.settings-override{flex-shrink:0;border:1px solid #475569;border-radius:10px;padding:2px 7px;background:transparent;color:#64748b;font-size:8px;font-weight:600;cursor:pointer}.settings-override.active{border-color:#8b5cf6;background:#8b5cf624;color:#c4b5fd}.settings-field input,.settings-field select,.settings-field textarea{width:100%;min-height:32px;border:1px solid #475569;border-radius:4px;padding:5px 8px;background:#0f172a;color:#e2e8f0;font-size:12px;outline:none}.settings-field textarea{min-height:76px;resize:vertical;font-family:inherit}.settings-field input:focus,.settings-field select:focus,.settings-field textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626}.settings-field small{color:#64748b;font-size:9px;font-weight:400}.settings-field input[type=color]{padding:3px;cursor:pointer}.settings-checkbox-grid{display:flex;flex-wrap:wrap;gap:6px 10px}.settings-checkbox-grid label{display:inline-flex;align-items:center;gap:5px;color:#cbd5e1;font-size:10px;font-weight:500}.settings-field .settings-checkbox-grid input[type=checkbox]{width:auto;min-height:0;margin:0;padding:0}.settings-range{display:grid;grid-template-columns:1fr 38px;align-items:center;gap:8px}.settings-range input[type=range]{min-height:32px;padding:0;cursor:pointer}.settings-range span{color:#94a3b8;font-size:10px;text-align:right}.settings-toggle{display:flex;align-items:center;gap:7px;width:fit-content;min-height:32px;border:1px solid #475569;border-radius:16px;padding:4px 10px 4px 5px;background:#0f172a;color:#94a3b8;font-size:11px;cursor:pointer}.settings-voice-picker{position:relative;width:100%}.settings-voice-controls{display:flex;align-items:stretch;gap:5px}.settings-voice-button{display:flex;align-items:center;gap:7px;flex:1;min-width:0;min-height:34px;border:1px solid #475569;border-radius:5px;padding:6px 9px;background:#0f172a;color:#cbd5e1;font-size:11px;cursor:pointer;text-align:left}.settings-voice-button:hover,.settings-voice-button.open{border-color:#60a5fa;background:#172033}.settings-voice-button span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-voice-menu{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:250;max-height:340px;overflow-y:auto;border:1px solid #475569;border-radius:6px;padding:4px;background:#1e293b;box-shadow:0 12px 30px #0000008c}.settings-voice-group{padding:7px 8px 3px;color:#64748b;font-size:9px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.settings-voice-option{display:flex;align-items:center;gap:7px;width:100%;border:0;border-radius:4px;padding:6px 8px;background:transparent;color:#cbd5e1;font-size:11px;cursor:pointer;text-align:left}.settings-voice-option:hover{background:#334155;color:#fff}.settings-voice-option.active{background:#2563eb;color:#fff}.settings-voice-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-voice-language{color:#64748b;font-size:9px}.settings-voice-option.active .settings-voice-language{color:#bfdbfe}.settings-voice-preview{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:58px;border:1px solid #3b82f6;border-radius:5px;padding:5px 8px;background:#2563eb1f;color:#93c5fd;font-size:10px;cursor:pointer}.settings-voice-preview:hover{background:#2563eb;color:#fff}.settings-voice-preview:disabled{opacity:.6;cursor:wait}.settings-voice-error{margin-top:4px;color:#f87171;font-size:9px;line-height:1.3}.voice-preview-loading{animation:settings-spin .8s linear infinite}@keyframes settings-spin{to{transform:rotate(360deg)}}.settings-toggle span{width:20px;height:20px;border-radius:50%;background:#475569;transition:.15s}.settings-toggle.on{border-color:#2563eb;color:#bfdbfe}.settings-toggle.on span{background:#3b82f6}.ebook-theme-preview{grid-column:1 / -1;min-width:0;border:1px solid #475569;border-radius:7px;padding:12px;background:#0f172a;color:#cbd5e1}.ebook-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;font-size:11px}.ebook-preview-heading select{max-width:310px;min-height:30px;border:1px solid #475569;border-radius:4px;padding:4px 7px;background:#111827;color:#e2e8f0;font-size:10px}.ebook-preview-frame{position:relative;width:100%;max-height:520px;overflow:hidden;border:1px solid #64748b;border-radius:5px;background:#111827;touch-action:none}.ebook-preview-frame>img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:fill;-webkit-user-select:none;user-select:none;pointer-events:none}.ebook-preview-empty{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#64748b;font-size:12px}.ebook-content-region{position:absolute;display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:10%;min-height:10%;border:2px dashed #60a5fa;padding:10px;cursor:move;box-shadow:0 0 0 1px #0f172a73;-webkit-user-select:none;user-select:none}.ebook-content-region h4,.ebook-content-region p{margin:0;line-height:1.25;text-shadow:0 1px 2px rgba(0,0,0,.55)}.ebook-resize-handle{position:absolute;width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:#2563eb}.ebook-resize-handle.nw{top:-7px;left:-7px;cursor:nwse-resize}.ebook-resize-handle.ne{top:-7px;right:-7px;cursor:nesw-resize}.ebook-resize-handle.sw{bottom:-7px;left:-7px;cursor:nesw-resize}.ebook-resize-handle.se{right:-7px;bottom:-7px;cursor:nwse-resize}.ebook-theme-preview>small{display:block;margin-top:7px;color:#64748b;font-size:9px}@media(max-width:900px){.settings-card{grid-template-columns:1fr}.settings-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}}@media(max-width:620px){.settings-heading{flex-direction:column}.settings-grid{grid-template-columns:1fr}}.content.player-content{padding:0;overflow:hidden}.content.player-content>.player-layout{height:100%}.player-layout{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;min-height:0;overflow:hidden;background:#080d18}.player-layout.right-collapsed{grid-template-columns:minmax(0,1fr)}.player-mobile-browse,.player-mobile-panel-backdrop{display:none}.player-panel{display:flex;min-width:0;min-height:0;flex-direction:column;overflow:hidden;background:#0f172a}.player-catalogs{border-right:1px solid #273449}.player-projects{border-left:1px solid #273449}.player-panel>header{display:flex;align-items:center;min-height:34px;gap:6px;padding:5px 7px 5px 10px;border-bottom:1px solid #273449;color:#cbd5e1;font-size:10px;letter-spacing:.04em;text-transform:uppercase}.player-panel>header strong{flex:1}.player-panel button,.player-toolbar button{border:0;background:transparent;color:#94a3b8;cursor:pointer}.player-panel>header button,.player-toolbar button{display:inline-flex;align-items:center;justify-content:center;width:25px;height:24px;border-radius:4px}.player-panel>header button:hover,.player-toolbar button:hover:not(:disabled){background:#263449;color:#fff}.player-panel>button,.player-project-list button{display:flex;align-items:center;gap:6px;width:calc(100% - 8px);min-height:29px;margin:2px 4px;border-radius:4px;padding:5px 7px;font-size:10px;text-align:left}.player-panel>button span,.player-project-list button span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-panel button b,.player-items-heading b{border-radius:8px;padding:1px 5px;background:#1e293b;color:#64748b;font-size:8px}.player-panel button.active{background:#172554;color:#dbeafe}.player-panel button.active b{background:#1d4ed8;color:#dbeafe}.player-project-list{max-height:35%;flex:0 1 auto;overflow-y:auto;border-bottom:1px solid #273449;scrollbar-width:none}.player-project-list::-webkit-scrollbar,.player-item-list::-webkit-scrollbar{display:none}.player-items-heading{display:flex;align-items:center;gap:5px;padding:7px 9px 5px;color:#64748b;font-size:9px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.player-items-heading span{flex:1}.player-item-list{flex:1;min-height:0;overflow-y:auto;padding:0 4px 5px;scrollbar-width:none}.player-item-list>button{display:flex;align-items:flex-start;gap:7px;width:100%;margin:1px 0;border-radius:4px;padding:6px;text-align:left}.player-item-list>button>svg{flex:0 0 auto;margin-top:1px;color:#64748b}.player-item-list>button>span{display:flex;min-width:0;flex-direction:column;gap:2px}.player-item-list strong,.player-item-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-item-list strong{color:#cbd5e1;font-size:10px;font-weight:500}.player-item-list small{color:#475569;font-size:8px}.player-item-list button.active{background:#1d4ed8}.player-item-list button.active svg,.player-item-list button.active small{color:#bfdbfe}.player-item-list button.active strong{color:#fff}.player-item-list p{padding:12px 6px;color:#475569;font-size:10px}.player-center{position:relative;display:flex;min-width:0;min-height:0;flex-direction:column;overflow:hidden;padding-bottom:56px;background:#080d18}.player-mobile-dock{position:absolute;z-index:60;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(6,minmax(42px,58px));min-height:56px;align-items:center;justify-content:center;gap:7px;padding:4px 12px;border-top:1px solid #273449;background:linear-gradient(180deg,#111827f7,#0b1220fc);box-shadow:0 -8px 24px #00000040}.player-mobile-dock button{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;justify-self:center;border:0;border-radius:50%;background:transparent;color:#cbd5e1;cursor:pointer}.player-mobile-dock button:hover:not(:disabled){background:#263449;color:#fff}.player-mobile-dock button:disabled{opacity:.28;cursor:default}.player-mobile-dock .player-mobile-play{width:48px;height:48px;background:#f8fafc;color:#0f172a;box-shadow:0 4px 16px #00000061}.player-mobile-dock .player-mobile-rate{font-size:10px;font-weight:700;font-variant-numeric:tabular-nums}.collapsed-playback-host{position:absolute;width:0;height:0;overflow:hidden;visibility:hidden;pointer-events:none}.player-stage:fullscreen{width:100vw;height:100vh;padding:0;background:#050913}.player-toolbar{display:flex;align-items:center;min-height:34px;gap:3px;overflow-x:auto;padding:4px 6px;border-bottom:1px solid #273449;background:#0f172a;scrollbar-width:none}.player-toolbar::-webkit-scrollbar{display:none}.player-toolbar select{width:auto;max-width:125px;height:24px;border:1px solid #334155;border-radius:4px;padding:0 20px 0 6px;background:#111827;color:#cbd5e1;font-size:9px}.player-toolbar select.player-project-picker{max-width:190px;border-color:#475569;color:#e2e8f0}.player-toolbar select.player-project-status-editor{max-width:145px;border-color:#3b82f6;color:#bfdbfe}.player-toolbar select.player-project-status-editor:disabled{border-color:#334155;color:#64748b;opacity:.65;cursor:wait}.player-search{display:flex;width:min(150px,18vw);height:24px;align-items:center;gap:4px;border:1px solid #334155;border-radius:4px;padding:0 6px;background:#111827;color:#64748b}.player-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#cbd5e1;font-size:9px}.player-search input::placeholder{color:#475569}.player-toolbar button:disabled{opacity:.3;cursor:default}.player-autoplay{display:inline-flex;align-items:center;gap:4px;margin:0 4px;color:#94a3b8;font-size:9px;white-space:nowrap}.player-autoplay input{width:12px;height:12px;margin:0;accent-color:#2563eb}.player-grouping-toggle{display:inline-flex;align-items:center;gap:4px;margin:0 3px;color:#94a3b8;font-size:9px;white-space:nowrap}.player-grouping-toggle input{width:12px;height:12px;margin:0;accent-color:#2563eb}.player-grouping-toggle:has(input:disabled){opacity:.4}.player-position{margin-left:auto;padding:0 5px;color:#64748b;font-size:9px;font-variant-numeric:tabular-nums;white-space:nowrap}.player-now-playing{display:flex;align-items:center;min-height:37px;gap:8px;padding:4px 9px;border-bottom:1px solid #1e293b;background:#0b1220}.player-now-playing>div{display:flex;min-width:0;flex-direction:column;gap:1px}.player-now-playing strong,.player-now-playing span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-now-playing strong{color:#e2e8f0;font-size:10px}.player-now-playing span{color:#64748b;font-size:8px}.player-now-playing .player-key-hint{margin-left:auto;display:inline-flex;align-items:center;gap:4px;flex:0 0 auto}.player-stage{position:relative;display:flex;flex:1;min-width:0;min-height:0;align-items:stretch;justify-content:stretch;overflow:hidden;padding:6px}.player-media{width:100%;height:100%;max-width:100%;max-height:100%;margin:auto;background:#000;object-fit:contain}.player-youtube{border:0}.player-audio-stage{display:flex;width:100%;min-height:0;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#475569;background:radial-gradient(circle,#18243a 0,#090f1d 62%)}.player-audio-stage strong{max-width:80%;color:#e2e8f0;font-size:13px;text-align:center}.player-audio-stage span{color:#64748b;font-size:10px}.player-audio-stage audio{width:min(560px,82%);height:36px;margin-top:7px}.player-document{box-sizing:border-box;width:min(900px,100%);height:100%;margin:0 auto;overflow:hidden;border:1px solid #273449;border-radius:5px;padding:clamp(14px,3vw,34px);background:#111827;color:#cbd5e1;font-size:clamp(11px,1.2vw,14px);line-height:1.55}.player-book-spread{display:grid;width:min(1180px,100%);height:100%;margin:0 auto;gap:7px;overflow:hidden}.player-book-spread.sequence-horizontal{grid-auto-flow:row}.player-book-spread.sequence-vertical{grid-auto-flow:column}.player-book-spread .player-document{width:100%;min-width:0;padding:clamp(12px,2vw,26px);font-size:clamp(10px,1vw,13px)}.player-pagination-source{position:fixed;top:0;left:-100000px;width:800px;visibility:hidden;pointer-events:none}.player-pagination-measure{position:fixed;top:0;left:-100000px;overflow:hidden;padding:clamp(12px,2vw,26px);visibility:hidden;pointer-events:none}.player-document h1{margin:0 0 12px;color:#f8fafc;font-size:1.7em}.player-document h2{margin:10px 0 7px;color:#e2e8f0;font-size:1.35em}.player-document h3{margin:8px 0 5px;color:#e2e8f0;font-size:1.15em}.player-document p{margin:5px 0}.player-document img{max-width:100%;max-height:45vh;object-fit:contain}.player-word{background:#f8fafc;color:#1e293b}.player-word h1,.player-word h2,.player-word h3{color:#0f172a}.player-image-stage{display:grid;width:100%;height:100%;place-items:center;overflow:hidden}.player-image-stage img{max-width:100%;max-height:100%;object-fit:contain}.player-empty{display:flex;width:100%;height:100%;align-items:center;justify-content:center;flex-direction:column;gap:9px;color:#475569;font-size:11px}.player-empty.error{color:#fca5a5}.player-empty a{color:#60a5fa;text-decoration:none}.player-stage .video-pdf-canvas-wrap{overflow:hidden;padding:6px}.player-stage .video-pdf-page-cell{height:100%;align-items:center;overflow:hidden}.player-stage .video-pdf-canvas-wrap canvas{max-height:100%;max-width:100%;object-fit:contain}.player-help{display:flex;min-height:25px;align-items:center;justify-content:center;gap:16px;border-top:1px solid #1e293b;background:#0b1220;color:#475569;font-size:8px}.player-help span{display:inline-flex;align-items:center;gap:3px}.player-help kbd{min-width:15px;border:1px solid #334155;border-radius:3px;padding:1px 3px;background:#111827;color:#94a3b8;font:inherit;text-align:center}@media(max-width:780px){.player-layout{grid-template-columns:minmax(0,1fr) 190px}.player-layout.right-collapsed{grid-template-columns:minmax(0,1fr)}.player-toolbar select{max-width:95px}.player-help{display:none}}.activity-page{display:flex;min-height:0;height:100%;flex-direction:column;gap:8px}.activity-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.activity-heading>div{min-width:0}.activity-heading .page-title{margin-bottom:2px}.activity-heading p{margin:0;color:#64748b;font-size:10px}.activity-heading button,.activity-toolbar button{display:inline-flex;align-items:center;gap:5px;min-height:27px;border:1px solid #334155;border-radius:4px;padding:4px 8px;background:#111827;color:#cbd5e1;font-size:10px}.activity-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:5px;border:1px solid #273449;border-radius:6px;padding:6px;background:#0f172a}.activity-search{display:flex;width:min(260px,34vw);height:27px;align-items:center;gap:5px;border:1px solid #334155;border-radius:4px;padding:0 7px;background:#0b1220;color:#64748b}.activity-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#e2e8f0;font-size:10px}.activity-toolbar select,.activity-cleanup input{height:27px;border:1px solid #334155;border-radius:4px;background:#0b1220;color:#cbd5e1;font-size:9px}.activity-toolbar select{max-width:170px;padding:0 22px 0 6px}.activity-count{color:#64748b;font-size:9px;white-space:nowrap}.activity-cleanup{display:flex;align-items:center;gap:4px;margin-left:auto;color:#64748b;font-size:9px;white-space:nowrap}.activity-cleanup input{width:54px;padding:0 5px}.activity-toolbar .danger{border-color:#7f1d1d;color:#fca5a5}.activity-notice{margin:0;border-radius:4px;padding:5px 8px;background:#123527;color:#86efac;font-size:10px}.activity-notice.error{background:#3f151b;color:#fca5a5}.activity-table-wrap{flex:1;min-height:0;overflow:auto;border:1px solid #273449;border-radius:6px;background:#0b1220}.activity-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:9px}.activity-table th{position:sticky;z-index:1;top:0;height:29px;border-bottom:1px solid #334155;padding:0 7px;background:#111827;color:#94a3b8;text-align:left}.activity-table th:nth-child(1){width:150px}.activity-table th:nth-child(2){width:68px}.activity-table th:nth-child(3){width:190px}.activity-table th:nth-child(4){width:190px}.activity-table th button{display:inline-flex;align-items:center;gap:4px;padding:0;color:inherit;font:inherit}.activity-table td{border-bottom:1px solid #1e293b;padding:6px 7px;color:#94a3b8;vertical-align:top;overflow-wrap:anywhere}.activity-table tr:hover td{background:#101a2b}.activity-table tr.activity-error td{background:#7f1d1d14}.activity-table a{display:inline-flex;align-items:center;gap:3px;color:#60a5fa;text-decoration:none}.activity-table strong{display:block;color:#cbd5e1;font-size:9px;font-weight:600}.activity-table small{display:block;margin-top:2px;color:#64748b;font-size:8px}.activity-time{color:#64748b!important;font-variant-numeric:tabular-nums;white-space:nowrap}.activity-level{display:inline-block;border-radius:8px;padding:2px 6px;background:#1e293b;color:#94a3b8;font-size:8px;font-weight:700;text-transform:uppercase}.activity-level.error{background:#3f151b;color:#fca5a5}.activity-level.warning{background:#422006;color:#fcd34d}.hierarchy-page{display:flex;min-height:0;flex-direction:column;gap:9px}.hierarchy-page .page-title{display:inline-flex;align-items:center;gap:7px}.hierarchy-page .page-heading-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.hierarchy-add{display:inline-flex;min-height:30px;align-items:center;gap:5px;border:1px solid #2563eb;border-radius:5px;padding:5px 9px;background:#1d4ed8;color:#fff;font-size:10px;cursor:pointer}.hierarchy-intro,.hierarchy-status{margin:0;color:#94a3b8;font-size:11px}.hierarchy-summary-row{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:10px}.hierarchy-form{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(220px,1.2fr) minmax(180px,1fr);gap:6px;border:1px solid #334155;border-radius:7px;padding:8px;background:#0f172a}.hierarchy-form input,.hierarchy-form select,.hierarchy-form textarea{min-width:0;min-height:34px;border:1px solid #475569;border-radius:5px;padding:6px 8px;background:#111827;color:#e2e8f0;font:inherit;font-size:11px}.hierarchy-form textarea{grid-column:1 / -1;min-height:62px;resize:vertical}.hierarchy-form-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:6px}.hierarchy-form-actions button,.hierarchy-links button,.hierarchy-links a{display:inline-flex;min-height:29px;align-items:center;gap:4px;border:1px solid #334155;border-radius:5px;padding:5px 8px;background:#111827;color:#93c5fd;font-size:10px;text-decoration:none;cursor:pointer}.hierarchy-form-actions button.primary{border-color:#2563eb;background:#2563eb;color:#fff}.hierarchy-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px;overflow-y:auto;padding-bottom:20px}.hierarchy-grid.tile-view{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:6px}.hierarchy-card{display:flex;min-width:0;flex-direction:column;gap:7px;border:1px solid #334155;border-radius:7px;padding:10px;background:#1e293b;cursor:grab;transition:border-color .12s,background .12s,opacity .12s,transform .12s}.hierarchy-card:active,.hierarchy-tree-row:active,.hierarchy-table tbody tr:active{cursor:grabbing}.hierarchy-card.is-dragging,.hierarchy-tree-row.is-dragging,.hierarchy-table tr.is-dragging{opacity:.38}.hierarchy-card.priority-drag-over{border-color:#a78bfa;transform:translate(2px);box-shadow:-2px 0 #a78bfa}.hierarchy-card.priority-drag-after{border-color:#a78bfa;transform:translate(-2px);box-shadow:2px 0 #a78bfa}.hierarchy-tree-row.priority-drag-over,.hierarchy-table tr.priority-drag-over td{background:#a78bfa21;box-shadow:inset 0 2px #a78bfa}.hierarchy-tree-row.priority-drag-after,.hierarchy-table tr.priority-drag-after td{background:#a78bfa21;box-shadow:inset 0 -2px #a78bfa}.hierarchy-card.compact{gap:5px;padding:7px 8px}.hierarchy-card.compact header{gap:5px}.hierarchy-card.compact .hierarchy-title-link{font-size:10px}.hierarchy-card.compact .hierarchy-links button,.hierarchy-card.compact .hierarchy-links a{min-height:25px;padding:3px 6px;font-size:9px}.hierarchy-card header{display:flex;min-width:0;align-items:center;gap:7px;color:#e2e8f0}.hierarchy-card header strong{flex:1;overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.hierarchy-title-link{flex:1;overflow:hidden;color:#e2e8f0;font-size:12px;font-weight:650;line-height:1.35;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.hierarchy-title-link:hover{color:#93c5fd;text-decoration:underline}.hierarchy-card header span{color:#64748b;font-size:9px;white-space:nowrap}.hierarchy-card>small{color:#60a5fa;font-size:10px}.hierarchy-card p{min-height:34px;margin:0;color:#94a3b8;font-size:11px;line-height:1.45}.hierarchy-card-meta{display:flex;min-width:0;align-items:center;gap:7px;color:#94a3b8;font-size:10px}.hierarchy-card-meta>small,.hierarchy-card-meta>span{min-width:0;overflow:hidden;color:#94a3b8;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.hierarchy-card-meta>small{flex:1;color:#60a5fa}.hierarchy-card-meta .hierarchy-status-select{margin-left:auto}.hierarchy-status-select{width:auto;max-width:112px;min-height:23px;border:1px solid #475569;border-radius:9px;padding:2px 20px 2px 7px;background-color:#64748b;color:#f8fafc;font:inherit;font-size:9px;font-weight:600;cursor:pointer}.hierarchy-status-select.status-in-progress{border-color:#3b82f6;background-color:#2563eb}.hierarchy-status-select.status-completed{border-color:#22c55e;background-color:#15803d}.hierarchy-status-select.status-published{border-color:#a855f7;background-color:#7e22ce}.hierarchy-status-select option{background:#111827;color:#e2e8f0}.hierarchy-priority-cell{display:inline-flex;align-items:center;gap:5px}.hierarchy-links{display:flex;flex-wrap:wrap;gap:5px;margin-top:auto}.hierarchy-links .primary-link{border-color:#1d4ed8;background:#1d4ed838;color:#bfdbfe}.hierarchy-empty{grid-column:1 / -1;padding:20px;text-align:center}.hierarchy-tree{display:flex;flex-direction:column;gap:3px;overflow-y:auto}.hierarchy-tree-row{display:grid;grid-template-columns:auto auto auto minmax(180px,1.4fr) minmax(100px,.7fr) minmax(130px,1fr) auto auto;min-width:0;align-items:center;gap:8px;border:1px solid #273449;border-radius:5px;padding:7px 8px;background:#0f172a;color:#64748b;font-size:10px;cursor:grab}.hierarchy-tree-row>a{overflow:hidden;color:#cbd5e1;font-size:12px;font-weight:600;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.hierarchy-tree-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-tree-row>button,.hierarchy-kanban-column>header button{border:1px solid #334155;border-radius:4px;padding:3px 6px;background:#111827;color:#93c5fd;font-size:8px;cursor:pointer}.hierarchy-table-wrap{min-width:0;overflow:auto;border:1px solid #334155;border-radius:7px}.hierarchy-table{width:100%;border-collapse:collapse;background:#0f172a}.hierarchy-table th,.hierarchy-table td{min-width:90px;border-bottom:1px solid #273449;padding:8px 9px;color:#94a3b8;font-size:10px;text-align:left;vertical-align:middle}.hierarchy-table th{background:#111827;color:#cbd5e1;font-weight:650}.hierarchy-table td>a{color:#93c5fd;font-size:11px;font-weight:600;text-decoration:none}.hierarchy-table tbody tr{cursor:grab}.hierarchy-table .hierarchy-links{flex-wrap:nowrap;margin:0}.hierarchy-table .hierarchy-links button,.hierarchy-table .hierarchy-links a{min-height:24px;padding:3px 6px;font-size:8px}.hierarchy-kanban{display:grid;grid-template-columns:repeat(4,minmax(240px,1fr));align-items:start;gap:8px;overflow:auto;padding-bottom:12px}.hierarchy-kanban-column{min-height:180px;overflow:hidden;border:1px solid #334155;border-top:2px solid #60a5fa;border-radius:7px;background:#0f172a}.hierarchy-kanban-column.status-started{border-top-color:#64748b}.hierarchy-kanban-column.status-in-progress{border-top-color:#3b82f6}.hierarchy-kanban-column.status-completed{border-top-color:#22c55e}.hierarchy-kanban-column.status-published{border-top-color:#a855f7}.hierarchy-kanban-column>header{display:flex;min-height:32px;align-items:center;gap:6px;border-bottom:1px solid #273449;padding:5px 8px;color:#e2e8f0;font-size:10px;font-weight:650}.hierarchy-kanban-column>header>span,.hierarchy-kanban-column>header>a{flex:1;min-width:0;overflow:hidden;color:#e2e8f0;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.hierarchy-kanban-column>header b{border-radius:8px;padding:1px 6px;background:#1e293b;color:#94a3b8;font-size:8px}.hierarchy-kanban-column>div{display:flex;flex-direction:column;gap:5px;padding:6px}.hierarchy-kanban-column .hierarchy-card{background:#1e293b}.hierarchy-kanban-item{display:flex;min-width:0;align-items:center;gap:6px;border:1px solid #273449;border-radius:5px;padding:7px;background:#172033;color:#cbd5e1;font-size:9px;text-decoration:none}.hierarchy-kanban-item span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hierarchy-kanban-item small{border-radius:8px;padding:1px 5px;background:#334155;color:#94a3b8;font-size:8px}.hierarchy-kanban-empty{margin:auto;padding:20px 5px;color:#475569;font-size:9px}.cloud-pull-panel{margin-top:10px;border-top:1px solid #273449;padding-top:9px}.cloud-pull-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.cloud-pull-heading>div{display:flex;min-width:0;flex-direction:column;gap:2px}.cloud-pull-heading strong{color:#cbd5e1;font-size:11px}.cloud-pull-heading span,.settings-inline-status{margin:0;color:#64748b;font-size:9px}.cloud-pull-heading button,.cloud-pull-actions button{display:inline-flex;min-height:27px;align-items:center;gap:5px;border:1px solid #334155;border-radius:4px;padding:4px 8px;background:#111827;color:#cbd5e1;font-size:9px}.cloud-project-picker{display:grid;max-height:190px;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:4px;margin-top:8px;overflow-y:auto}.cloud-project-picker label{display:grid;grid-template-columns:15px minmax(0,1fr) auto;align-items:center;gap:5px;border:1px solid #273449;border-radius:4px;padding:5px 7px;background:#0b1220;color:#cbd5e1;font-size:9px}.cloud-project-picker label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cloud-project-picker label small{color:#64748b;font-size:8px}.cloud-pull-actions{display:flex;justify-content:flex-end;gap:5px;margin-top:7px}.cloud-pull-actions button.primary{border-color:#2563eb;background:#1d4ed8;color:#fff}.settings-inline-status{margin-top:6px}.cloud-runtime-status{display:flex;align-items:center;gap:7px;margin-top:9px;border:1px solid #334155;border-radius:5px;padding:7px 9px;background:#0b1220}.cloud-runtime-status>div{display:flex;min-width:0;flex-direction:column;gap:1px}.cloud-runtime-status strong{color:#cbd5e1;font-size:10px}.cloud-runtime-status span{color:#64748b;font-size:9px;overflow-wrap:anywhere}.cloud-runtime-status.ready{border-color:#14532d;background:#14532d29}.cloud-runtime-status.ready strong{color:#86efac}.cloud-runtime-status.error{border-color:#7f1d1d;background:#7f1d1d26}.cloud-runtime-status.error strong,.cloud-runtime-status.error span{color:#fca5a5}@media(max-width:900px){.activity-cleanup{width:100%;margin-left:0}.activity-table{min-width:820px}}@media(max-width:720px),(max-height:500px)and (max-width:1000px){body{overscroll-behavior:none}button,a,input,select,textarea{touch-action:manipulation}input,select,textarea{font-size:16px!important}.header,.header.player-page-header:not(.header-collapsed){height:auto;min-height:42px;align-content:center;gap:4px;flex-wrap:wrap;padding:max(4px,env(safe-area-inset-top)) 6px 4px}.header.header-collapsed{min-height:36px;padding:3px 6px}.menu-btn,.header-logo,.header-collapse-btn,.auth-user{min-width:32px;min-height:32px}.header:not(.header-collapsed)>.header-logo{display:none}.header:not(.player-page-header) .playback-bar.is-idle{display:none}.header-nav,.player-page-header .header-nav{min-width:0;flex:1 1 auto;max-width:none;margin-left:0;overflow-x:auto;scrollbar-width:none}.header:not(.player-page-header) .header-nav{min-width:78px;flex:0 1 clamp(78px,25vw,116px)}.header:not(.player-page-header)>.header-collapse-btn{display:none}.header-nav::-webkit-scrollbar{display:none}.header-nav .hdr-drop-btn{min-height:32px;max-width:118px;padding:5px 7px}.header-nav .hdr-drop-btn,.header>.hdr-drop-btn{font-size:13px}.header-breadcrumb,.header-file-context,.header-spacer{display:none}.header .playback-bar,.player-page-header .playback-bar{order:20;width:calc(100% - 38px);min-width:0;flex:1 1 calc(100% - 38px);margin:0;padding:3px 5px;overflow-x:auto;scrollbar-width:none}.playback-bar::-webkit-scrollbar{display:none}.pb-slider,.player-page-header .pb-slider{width:clamp(52px,18vw,90px);min-width:52px}.pb-pos{min-width:26px}.pb-voice-label-text{display:none}.header>.hdr-drop,.header>.search-form,.header>.auth-user,.header>.header-collapse-btn,.header>.hdr-drop-btn{order:21}.header>.search-form,.player-page-header .search-form{min-width:90px;flex:1 1 110px;padding:0 5px}.header:not(.player-page-header)>.search-form{min-width:70px;flex-basis:70px}.search-form input{min-width:0;width:100%}.hdr-drop-menu,.pb-voice-menu{position:fixed;top:max(46px,calc(env(safe-area-inset-top) + 42px));right:7px;left:7px;width:auto;min-width:0;max-height:min(65dvh,420px)}.hdr-drop-menu a,.hdr-drop-item,.pb-voice-item{min-height:42px;padding:9px 11px;font-size:14px}.pb-voice-label,.pb-voice-lang{font-size:11px}.sidebar{position:fixed;z-index:310;top:0;bottom:0;left:0;width:min(84vw,300px)!important;padding-top:max(8px,env(safe-area-inset-top));padding-bottom:env(safe-area-inset-bottom);border-right-color:#334155;box-shadow:18px 0 44px #00000094;transition:transform .18s ease,visibility .18s}.sidebar.collapsed{width:min(84vw,300px)!important;visibility:hidden;transform:translate(-105%)}.sidebar .nav-item{min-height:44px;padding:10px 14px;font-size:14px}.sidebar .sb-section-header{min-height:40px;padding:8px 14px;font-size:13px}.sidebar .sb-count{font-size:11px}.sidebar .sb-file{min-height:38px;padding:8px 14px 8px 26px;font-size:13px}.sidebar .sb-empty{padding:6px 14px 6px 26px;font-size:12px}.sidebar-resize{display:none}.mobile-sidebar-backdrop{position:fixed;z-index:300;top:0;right:0;bottom:0;left:0;display:block;border:0;background:#020617b8}.project-tree-panel{position:fixed;z-index:320;inset:0 auto 0 0;width:min(88vw,320px);min-width:0;padding-top:env(safe-area-inset-top);box-shadow:18px 0 44px #00000094}.project-tree-panel .nav-item{min-height:44px;font-size:14px}.project-tree-panel .sb-section-header{min-height:40px;font-size:13px}.project-tree-panel .sb-file{min-height:38px;padding-top:8px;padding-bottom:8px;font-size:13px}.project-tree-panel .sb-count{font-size:11px}.project-tree-loading{font-size:12px}.content{min-width:0;padding:9px 9px max(9px,env(safe-area-inset-bottom))}.content.file-content{padding:0 5px 5px}.content.file-content>.project-actions-embed{max-height:45dvh}.content:not(.file-content)>.project-actions-embed{margin:-9px -9px 10px}.content.project-settings-content>.project-actions-embed+.settings-page{padding:0 9px 32px}.page-title{font-size:16px}.page-subtitle,.breadcrumb{font-size:12px}.file-viewer-shell{width:100%;max-width:100%;min-width:0}.docx-viewer{width:100%;max-width:100%;padding:12px;border-radius:4px}.docx-viewer *,.file-viewer-shell .preview-pane *{max-width:100%;min-width:0;box-sizing:border-box}.docx-viewer table,.file-viewer-shell .preview-pane table{width:100%!important;table-layout:fixed}.docx-viewer a,.file-viewer-shell .preview-pane a{overflow-wrap:anywhere;word-break:break-word}.docx-viewer pre,.docx-viewer code,.file-viewer-shell .preview-pane pre,.file-viewer-shell .preview-pane code{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.file-viewer-shell .preview-pane{width:100%;max-width:100%!important;overflow-x:hidden;padding:12px}.page-heading-row{gap:7px}.page-heading-row .list-toolbar,.list-toolbar{width:100%}.list-search,.page-heading-row .list-search{width:100%;min-width:0;max-width:none}.list-toolbar select{width:100%;min-width:0}.tiles,.home-compact-tiles,.project-card-view.grid-view,.project-card-view.tile-view,.browser-card-view.grid-view,.browser-card-view.tile-view{grid-template-columns:minmax(0,1fr)}.wf-block{padding:12px;border-radius:7px}.wf-block-header{margin-bottom:10px}.home-compact-tiles .tile{min-height:48px}.home-compact-tiles .tile p{white-space:normal;text-align:right}.tile h3,.wf-block-header,.wf-step-title,.wf-build-title,.folder-card span{font-size:14px}.tile p,.wf-step-desc,.wf-build-desc,.project-card-meta,.browser-card-meta,.browser-card-preview,.fc-badge,.fc-file-link,.file-row .size{font-size:12px}.browser-card-name,.browser-project-card>header a,.file-row .name,.tree{font-size:13px}.browser-project-card>header span,.browser-project-files>a small,.fc-file-size,.project-status-mini{font-size:11px}.browser-project-files>a{min-height:36px;padding:7px;font-size:13px}.fc-file-link{min-height:34px;padding:7px 5px}.projects-actions-row .new-project-inline,.new-project-inline{width:100%;flex-wrap:wrap;padding:8px}.new-project-inline input{min-width:min(210px,100%)}.projects-actions-row .project-bulk-actions,.project-bulk-actions{width:100%;flex-wrap:wrap;align-items:stretch}.project-bulk-actions select{min-width:140px;flex:1}.project-bulk-actions button{min-height:36px}.project-section-grid{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto}.project-section{max-height:none;overflow:visible}.project-file-row{min-height:42px;padding:8px 6px;font-size:13px}.project-file-row .size{display:none}.project-control-header,.project-control-row,.project-control-actions{flex-wrap:wrap}.project-control-panel{top:-9px;margin-right:-9px;margin-left:-9px}.project-control-identity .page-title{font-size:15px}.project-panel-toggle{min-height:34px;font-size:12px}.project-quick-action,.project-logs-toggle{min-width:36px;min-height:36px}.project-action-group-title{font-size:11px}.project-action-btn,.project-action-status{min-height:36px;font-size:12px}.project-section h3,.project-section-title{font-size:14px}.ai-generation-panel{grid-template-columns:minmax(0,1fr);padding:10px}.ai-generation-actions,.ai-generation-files{justify-content:flex-start}.ai-generation-method{grid-template-columns:minmax(0,1fr)}.project-action-modal-backdrop:not(.legacy){align-items:flex-end;padding:0}.project-action-modal{width:100%;max-width:none;max-height:94dvh;padding-bottom:env(safe-area-inset-bottom);border-right:0;border-bottom:0;border-left:0;border-radius:16px 16px 0 0}.project-action-modal-close{top:8px;right:8px;width:40px;height:40px;border-radius:10px}.project-action-modal .ai-generation-panel{padding:16px 14px}.project-detail-page>.ai-generation-panel,.project-detail-page>.book-matter-generator{top:auto;right:0;bottom:0;left:0;width:100%;max-height:94dvh;padding:16px 14px max(16px,env(safe-area-inset-bottom));transform:none;border-right:0!important;border-bottom:0!important;border-left:0!important;border-radius:16px 16px 0 0}.project-detail-page>.ai-generation-panel .ai-generation-actions,.project-detail-page>.book-matter-generator .book-matter-generator-actions,.project-action-modal .ai-generation-actions{position:sticky;bottom:0;z-index:2;flex-wrap:wrap;padding:8px 0 2px;background:#0b1220}.project-action-modal input,.project-action-modal select,.project-action-modal button:not(.project-action-modal-close){min-height:42px}.new-md-body{height:min(62dvh,520px)}.new-md-body:has(.new-md-edit+.new-md-preview){flex-direction:column}.new-md-edit{border-right:0;border-bottom:1px solid #334155}.folder-table-wrap,.activity-table-wrap,.workbook-grid-wrap{max-width:100%;overflow:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.folder-table{min-width:720px}.folder-table th,.folder-table td{padding:9px 10px}.kanban-board{grid-template-columns:repeat(4,minmax(82vw,280px));padding-bottom:5px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}.kanban-column{min-height:220px;scroll-snap-align:start}.settings-page{width:100%;max-width:none}.settings-heading{align-items:stretch;flex-direction:column;gap:10px}.settings-actions{width:100%}.settings-actions button{flex:1;justify-content:center;min-height:38px}.settings-card{gap:12px;padding:12px}.settings-grid{grid-template-columns:minmax(0,1fr);gap:11px}.settings-field input,.settings-field select,.settings-field textarea{min-height:40px;font-size:16px}.settings-card-title h3{font-size:16px}.settings-card-title p{font-size:12px}.settings-field{font-size:13px}.settings-field small{font-size:11px;line-height:1.4}.settings-field textarea{min-height:96px}.settings-toggle{min-height:40px}.settings-voice-controls{flex-wrap:wrap}.settings-voice-preview{min-height:38px}.cloud-pull-heading{align-items:flex-start;flex-direction:column}.cloud-project-picker{grid-template-columns:minmax(0,1fr)}.cloud-pull-actions{justify-content:stretch}.cloud-pull-actions button{flex:1;justify-content:center}.ebook-content-region{max-width:100%;overflow:hidden;padding:6px}.tool-control-row{align-items:stretch;flex-wrap:wrap}.tool-control-row>*{min-height:42px;flex:1 1 100%}.builder-top-controls{width:100%}.builder-top-controls input,.builder-top-controls select,.builder-top-controls button{width:100%;max-width:none;min-width:0;min-height:38px}.builder-layout{grid-template-columns:minmax(0,1fr)}.builder-panel{padding:7px}.builder-panel-heading{flex-wrap:wrap}.builder-source-row{min-height:42px}.builder-sequence-row,.builder-sequence-row.no-skips,.builder-skip-fields{grid-template-columns:minmax(0,1fr)}.builder-row-actions,.builder-build-actions{flex-wrap:wrap}.builder-preview-backdrop{padding:0}.builder-preview{width:100vw;height:100dvh;border:0;border-radius:0}.builder-preview-controls{flex-wrap:wrap}.player-layout,.player-layout.right-collapsed{position:relative;grid-template-columns:minmax(0,1fr)}.header.player-page-header:not(.header-collapsed){height:42px;min-height:42px;flex-wrap:nowrap;padding:max(4px,env(safe-area-inset-top)) 6px 4px}.header.player-page-header:not(.header-collapsed)>:not(.menu-btn):not(.header-logo):not(.header-nav){display:none}.player-center{grid-column:1;grid-row:1}.player-center{position:relative;padding-bottom:calc(64px + env(safe-area-inset-bottom))}.player-panel{position:absolute;z-index:80;top:0;bottom:0;width:min(84vw,310px);box-shadow:0 0 36px #000000b8}.player-mobile-panel-backdrop{position:absolute;z-index:70;top:0;right:0;bottom:0;left:0;display:block;border:0;background:#020617ad}.player-catalogs{left:0}.player-projects{right:0}.player-catalogs{overflow-y:auto}.player-panel>header{position:sticky;z-index:1;top:0;background:#0f172a}.player-panel>header{min-height:42px}.player-panel>header,.player-items-heading{font-size:12px}.player-panel>button,.player-project-list button{min-height:42px;font-size:13px}.player-item-list>button{min-height:44px;padding:8px}.player-item-list strong{font-size:13px}.player-item-list small{font-size:11px}.player-mobile-browse{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 38px 38px;gap:5px;min-height:48px;padding:5px 6px;border-bottom:1px solid #273449;background:#0f172a}.player-mobile-browse.player-mobile-actions{grid-template-columns:repeat(4,40px);justify-content:flex-end}.player-mobile-browse button{display:flex;min-width:0;min-height:38px;align-items:center;justify-content:center;gap:7px;border:1px solid #334155;border-radius:7px;padding:4px 7px;background:#172033;color:#94a3b8}.player-mobile-browse button.active{border-color:#3b82f6;color:#bfdbfe;background:#172554}.player-mobile-browse button>span{display:flex;min-width:0;flex-direction:column;text-align:left}.player-mobile-browse button small{color:#64748b;font-size:8px;line-height:1.1;text-transform:uppercase}.player-mobile-browse button strong{overflow:hidden;color:#e2e8f0;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.player-mobile-browse button small{font-size:10px}.player-mobile-browse button strong{font-size:13px}.player-advanced-toolbar{display:none}.player-advanced-toolbar.mobile-open{display:flex;min-height:44px;max-height:min(46dvh,360px);flex-wrap:wrap;overflow:auto;border-bottom-color:#334155;background:#111827}.player-toolbar{padding:5px;-webkit-overflow-scrolling:touch}.player-toolbar select{max-width:132px;min-width:100px;height:34px}.player-toolbar select.player-project-picker{min-width:145px;max-width:185px}.player-search{width:155px;min-width:155px;height:34px}.player-toolbar button{width:32px;height:30px;flex:0 0 32px}.player-position{margin-left:2px}.player-now-playing{min-height:40px}.player-now-playing strong{font-size:13px}.player-now-playing span,.player-position{font-size:11px}.player-now-playing .player-key-hint{display:none}.player-stage{padding:2px}.video-pdf-viewer,.video-pdf-canvas-wrap,.video-pdf-page-cell{width:100%;max-width:100%;min-width:0}.video-pdf-canvas-wrap{overflow:hidden;padding:4px}.video-pdf-canvas-wrap canvas{max-width:100%;max-height:100%}.player-document,.player-book-spread .player-document{padding:10px;font-size:11px}.player-audio-stage audio{width:94%}.player-mobile-dock{position:absolute;z-index:60;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(6,1fr);min-height:64px;align-items:center;gap:4px;padding:6px max(10px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));border-top:1px solid #273449;background:linear-gradient(180deg,#111827,#0b1220);box-shadow:0 -8px 24px #00000040}.player-mobile-dock button{display:inline-flex;width:46px;height:46px;align-items:center;justify-content:center;justify-self:center;border:0;border-radius:50%;background:transparent;color:#cbd5e1}.player-mobile-dock button:disabled{opacity:.28}.player-mobile-dock .player-mobile-play{width:54px;height:54px;background:#f8fafc;color:#0f172a;box-shadow:0 4px 16px #00000061}.player-mobile-dock .player-mobile-rate{width:44px;height:44px;font-size:11px}.player-mobile-dock .player-mobile-play:not(:disabled):active{transform:scale(.95)}.activity-heading{align-items:flex-start;flex-direction:column}.activity-heading button{min-height:36px}.activity-toolbar{align-items:stretch}.activity-search{width:100%;height:36px}.activity-toolbar select{max-width:none;flex:1;height:36px}.activity-cleanup{align-items:stretch;flex-wrap:wrap}.activity-cleanup input,.activity-toolbar button{min-height:36px}.hierarchy-form{grid-template-columns:minmax(0,1fr)}.hierarchy-page .page-heading-row{flex-direction:row;align-items:center}.hierarchy-summary-row{align-items:stretch;flex-wrap:wrap}.hierarchy-grid{grid-template-columns:minmax(0,1fr)}.hierarchy-tree{overflow-x:hidden}.hierarchy-tree-row{grid-template-columns:auto auto minmax(0,1fr) auto;gap:7px;padding:9px}.hierarchy-tree-row>:nth-child(1){grid-column:1;grid-row:1}.hierarchy-tree-row>:nth-child(3){grid-column:2;grid-row:1}.hierarchy-tree-row>a{grid-column:3;grid-row:1;font-size:13px}.hierarchy-tree-row>:nth-child(2){grid-column:4;grid-row:1}.hierarchy-tree-row>:nth-child(5){grid-column:2;grid-row:2}.hierarchy-tree-row>:nth-child(6){grid-column:3 / 5;grid-row:2}.hierarchy-tree-row>:nth-child(7){grid-column:2 / 4;grid-row:3;min-height:36px}.hierarchy-tree-row>:nth-child(8){grid-column:4;grid-row:3;min-height:36px}.hierarchy-kanban{grid-template-columns:repeat(4,minmax(min(84vw,300px),1fr));scroll-snap-type:x proximity}.hierarchy-kanban-column{scroll-snap-align:start}.hierarchy-form textarea,.hierarchy-form-actions{grid-column:1}.hierarchy-form input,.hierarchy-form select,.hierarchy-form textarea{min-height:42px;font-size:16px}.hierarchy-intro,.hierarchy-status,.hierarchy-card p{font-size:12px}.hierarchy-card header strong{font-size:14px}.hierarchy-card header span,.hierarchy-card>small{font-size:11px}.hierarchy-form-actions button,.hierarchy-links button,.hierarchy-links a{min-height:38px;font-size:12px}.editor-toolbar,.prompts-editor-header,.prompts-editor-toolbar{flex-wrap:wrap}.editor-toolbar .status{width:100%;margin-left:0}.editor-view-toggle{max-width:100%;overflow-x:auto}.editor-view-toggle button{min-height:36px;white-space:nowrap}.editor-body.mode-split{flex-direction:column}.slide-edit-view{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(180px,.9fr) minmax(220px,1.1fr)}.slide-navigation span{display:none}.prompts-page{flex-direction:column}.prompts-tree-panel{width:100%;min-width:0;max-height:38%;flex:0 0 38%;border-right:0;border-bottom:1px solid #334155}.prompts-panel-heading{min-height:48px;padding:8px 10px}.prompts-tree-actions{flex-wrap:nowrap;overflow-x:auto}.prompts-tree-actions button{min-width:max-content}.prompts-workspace{flex:1 1 62%}.prompts-editor-header{min-height:42px}.prompts-resource-actions{width:100%;overflow-x:auto}.prompts-resource-actions button{min-width:34px;min-height:34px}.prompts-editor-body{padding:5px}.prompts-editor-body.mode-split{flex-direction:column}.sync-panel{max-height:45dvh;overflow:hidden}.sync-output{max-height:calc(45dvh - 34px)}.subtitle-bar{max-width:calc(100vw - 16px);bottom:max(8px,env(safe-area-inset-bottom))}.subtitle-teleprompter{width:calc(100vw - 12px);height:80px;margin-bottom:5px;padding:0 12px}.subtitle-bar.player-subtitle:not(.subtitle-teleprompter){bottom:calc(72px + env(safe-area-inset-bottom))}.subtitle-teleprompter.player-subtitle{position:fixed;left:50%;bottom:calc(72px + env(safe-area-inset-bottom));width:calc(100vw - 12px);height:min(24dvh,96px);margin:0;transform:translate(-50%)}.auth-gate{padding:14px}.auth-card{padding:22px 18px;border-radius:14px}}@media(max-height:500px)and (max-width:1000px){.header,.header.player-page-header:not(.header-collapsed){min-height:40px;padding:3px 6px}.content{padding:6px 6px max(6px,env(safe-area-inset-bottom))}.content:not(.file-content)>.project-actions-embed{margin:-6px -6px 7px}.project-control-panel{top:-6px;margin-right:-6px;margin-left:-6px}.player-mobile-dock{min-height:54px;padding-top:3px}.player-mobile-dock button{width:40px;height:40px}.player-mobile-dock .player-mobile-play{width:46px;height:46px}.player-center{padding-bottom:calc(54px + env(safe-area-inset-bottom))}}@media(max-width:420px){.header-nav .hdr-drop-btn{max-width:96px}.header>.search-form{flex-basis:92px}.pb-rate,.pb-pos,.home-compact-tiles .tile p{display:none}.project-status-mini{padding-right:5px;padding-left:5px}.settings-actions{flex-direction:column}.builder-skip-fields{grid-template-columns:minmax(0,1fr)}.player-toolbar select.player-project-picker{min-width:132px}.player-grouping-toggle{max-width:135px;overflow:hidden;text-overflow:ellipsis}.help-list li{padding-left:13px;font-size:11px}}.dashboard-page{--dash-line: #293648;--dash-muted: #8b9bb0;--dash-panel: #151f2e;display:grid;gap:12px;max-width:1600px;margin:0 auto;padding-bottom:18px;color:#e6edf5}.dashboard-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;border-bottom:1px solid var(--dash-line);padding:2px 2px 12px}.dashboard-header h1{margin:3px 0 2px;color:#f1f5f9;font-size:23px;font-weight:650}.dashboard-header p{color:var(--dash-muted);font-size:11px}.dashboard-eyebrow{display:flex;align-items:center;gap:6px;color:#85d8c3;font-size:9px;font-weight:700}.dashboard-eyebrow span{width:7px;height:7px;border-radius:50%;background:#34d399;box-shadow:0 0 10px #34d3998c}.dashboard-refresh{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border:1px solid #42546a;border-radius:5px;background:#1b293a;color:#d8e2ec;font-size:11px;cursor:pointer}.dashboard-refresh:hover{border-color:#67c9b0;color:#fff}.dashboard-refresh:disabled{opacity:.6;cursor:wait}.dashboard-spinning{animation:dashboard-spin 1s linear infinite}@keyframes dashboard-spin{to{transform:rotate(360deg)}}.dashboard-filters{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:8px;padding:10px;border:1px solid var(--dash-line);border-radius:6px;background:#131d2a}.dashboard-filters label,.dashboard-storage-select{display:grid;gap:4px;color:var(--dash-muted);font-size:9px;font-weight:650;text-transform:uppercase}.dashboard-filters select,.dashboard-storage-select select{min-width:0;height:31px;border:1px solid #35465c;border-radius:4px;padding:0 8px;background:#0f1723;color:#e2e8f0;font-size:11px;text-transform:none}.dashboard-error,.dashboard-warning{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #7f3940;border-radius:5px;padding:8px 10px;background:#2d1c25;color:#fecaca;font-size:11px}.dashboard-error button{border:1px solid #9f4c55;border-radius:4px;padding:4px 8px;background:#582c37;color:#fff;cursor:pointer}.dashboard-warning{border-color:#745d31;background:#2d281a;color:#f6d899}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.dashboard-metric{position:relative;display:flex;min-width:0;gap:10px;overflow:hidden;border:1px solid var(--dash-line);border-radius:6px;padding:11px 12px;background:linear-gradient(115deg,#172435,#131d2a 74%)}.dashboard-metric:after{position:absolute;top:0;right:0;width:3px;height:100%;background:var(--metric-accent);content:"";opacity:.8}.tone-blue{--metric-accent: #60a5fa}.tone-mint{--metric-accent: #34d399}.tone-coral{--metric-accent: #fb7185}.tone-gold{--metric-accent: #fbbf24}.dashboard-metric-icon{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border:1px solid color-mix(in srgb,var(--metric-accent) 35%,transparent);border-radius:5px;background:color-mix(in srgb,var(--metric-accent) 11%,transparent);color:var(--metric-accent)}.dashboard-metric>div:last-child{display:grid;min-width:0;gap:2px}.dashboard-metric span{color:#aab8c8;font-size:10px}.dashboard-metric strong{overflow:hidden;color:#f8fafc;font-size:21px;font-variant-numeric:tabular-nums;line-height:1.1;text-overflow:ellipsis}.dashboard-metric small{overflow:hidden;color:var(--dash-muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.dashboard-overview-grid{display:grid;grid-template-columns:minmax(250px,.9fr) minmax(200px,.7fr) minmax(330px,1.4fr);gap:9px}.dashboard-analysis-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.85fr);gap:9px}.dashboard-panel{min-width:0;border:1px solid var(--dash-line);border-radius:6px;padding:12px;background:var(--dash-panel)}.dashboard-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;color:#8da1b7}.dashboard-panel-heading h2{margin:2px 0 0;color:#e8eef5;font-size:13px;font-weight:620}.dashboard-kicker{color:#71859c;font-size:8px;font-weight:700}.dashboard-status-list{display:grid;gap:9px}.dashboard-status-row>div:first-child{display:flex;align-items:center;gap:6px;color:#c4d0de;font-size:10px}.dashboard-status-dot{width:7px;height:7px;border-radius:50%;background:var(--metric-color)}.dashboard-status-row strong{margin-left:auto;color:#edf2f7;font-variant-numeric:tabular-nums}.dashboard-meter{height:5px;overflow:hidden;border-radius:3px;background:#293648}.dashboard-meter i{display:block;height:100%;min-width:0;border-radius:inherit;background:linear-gradient(90deg,#42b7ac,#80d2b1);transition:width .25s ease}.dashboard-status-row .dashboard-meter{margin-top:4px}.dashboard-stage-summary{margin-top:12px;border-top:1px solid var(--dash-line);padding-top:9px}.dashboard-stage-summary h3{margin-bottom:7px;color:#8b9bb0;font-size:9px;font-weight:600}.dashboard-stage-summary>div{display:flex;flex-wrap:wrap;gap:5px}.dashboard-stage-summary span{display:inline-flex;align-items:center;gap:4px;border:1px solid #344155;border-radius:4px;padding:4px 6px;color:#c5d0dc;font-size:9px}.dashboard-stage-summary i,.dashboard-completion-legend i{width:6px;height:6px;border-radius:2px;background:var(--metric-color, #34d399)}.dashboard-stage-summary strong{color:#f8fafc}.dashboard-completion-panel{display:grid;align-content:start}.dashboard-completion-visual{display:grid;width:132px;aspect-ratio:1;place-items:center;justify-self:center;margin:3px auto 10px;border-radius:50%;background:conic-gradient(#54c6a5 var(--completion),#2a394b 0)}.dashboard-completion-visual>div{display:grid;width:108px;aspect-ratio:1;align-content:center;justify-items:center;border-radius:50%;background:#151f2e}.dashboard-completion-visual strong{color:#f0fdfa;font-size:24px;font-variant-numeric:tabular-nums}.dashboard-completion-visual span{color:var(--dash-muted);font-size:9px}.dashboard-completion-legend{display:grid;gap:5px}.dashboard-completion-legend span{display:flex;align-items:center;gap:6px;color:#aab8c8;font-size:9px}.dashboard-completion-legend span:nth-child(1) i{background:#34d399}.dashboard-completion-legend span:nth-child(2) i{background:#38bdf8}.dashboard-completion-legend span:nth-child(3) i{background:#fbbf24}.dashboard-completion-legend strong{margin-left:auto;color:#e8eef5}.dashboard-timeline-chart{display:grid;height:112px;grid-template-columns:repeat(12,minmax(0,1fr));align-items:end;gap:5px;border-bottom:1px solid #435267;padding:0 1px}.dashboard-timeline-column{display:flex;height:100%;min-width:0;flex-direction:column;align-items:center;justify-content:end;gap:3px}.dashboard-timeline-column span{min-height:11px;color:#b8c7d7;font-size:8px;font-variant-numeric:tabular-nums}.dashboard-timeline-column i{width:min(100%,22px);min-height:2px;border-radius:3px 3px 0 0;background:linear-gradient(180deg,#77d8c0,#278f8b)}.dashboard-timeline-column small{width:100%;overflow:hidden;padding-bottom:4px;color:#7f91a6;font-size:8px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.dashboard-timeline-panel>p{margin-top:8px;color:var(--dash-muted);font-size:9px}.dashboard-timeline-unavailable{display:flex;min-height:112px;align-items:center;justify-content:center;gap:8px;border:1px dashed #40516a;border-radius:4px;padding:10px 16px;color:#a7b6c6;font-size:10px;line-height:1.5}.dashboard-storage-panel{display:grid;grid-template-columns:minmax(120px,.35fr) minmax(0,1fr);column-gap:16px;align-content:start}.dashboard-storage-panel .dashboard-panel-heading{grid-column:1 / -1}.dashboard-storage-select{align-self:start}.dashboard-storage-note{align-self:end;margin:0 0 10px;color:#8192a5;font-size:9px}.dashboard-storage-list{display:grid;grid-column:1 / -1;gap:8px}.dashboard-storage-row>div:first-child{display:grid;grid-template-columns:23px minmax(0,1fr) auto auto;align-items:center;gap:7px;margin-bottom:4px}.dashboard-storage-index{color:#8192a5;font-size:9px;font-variant-numeric:tabular-nums}.dashboard-storage-index.index-1{color:#59c2ae}.dashboard-storage-index.index-2{color:#f1b84f}.dashboard-storage-index.index-3{color:#f17f87}.dashboard-storage-index.index-4{color:#91a5e8}.dashboard-storage-row strong{overflow:hidden;color:#dce5ee;font-size:10px;font-weight:550;text-overflow:ellipsis;white-space:nowrap}.dashboard-storage-row small{color:#7e90a5;font-size:9px;white-space:nowrap}.dashboard-storage-row b{color:#c3d1df;font-size:9px;font-variant-numeric:tabular-nums;white-space:nowrap}.dashboard-storage-row .dashboard-meter{grid-column:2 / -1}.dashboard-filetypes-list{display:grid;max-height:250px;gap:1px;overflow:auto}.dashboard-filetypes-list>div{display:grid;grid-template-columns:47px minmax(60px,1fr) auto auto;align-items:center;gap:8px;min-height:29px;border-bottom:1px solid #263446}.dashboard-filetypes-list>div:last-child{border-bottom:0}.dashboard-filetype-icon{display:inline-block;overflow:hidden;border-radius:3px;padding:3px 5px;background:#183044;color:#76c8df;font-size:9px;text-overflow:ellipsis}.filetype-1{background:#352e20;color:#e8c16d}.filetype-2{background:#302338;color:#d0a5e8}.filetype-3{background:#1e342f;color:#88d5b1}.filetype-4{background:#38242b;color:#ee9ca4}.dashboard-filetypes-list strong{color:#dbe5ef;font-size:10px;font-weight:550}.dashboard-filetypes-list small{color:#8495a8;font-size:9px}.dashboard-filetypes-list b{color:#b9c8d8;font-size:9px;font-variant-numeric:tabular-nums}.dashboard-projects-panel{padding:0}.dashboard-projects-heading{margin:0;padding:12px 12px 7px}.dashboard-table-count{color:#8698ab;font-size:9px}.dashboard-table-toolbar{display:flex;justify-content:space-between;gap:8px;padding:0 12px 9px}.dashboard-table-toolbar label{display:flex;min-width:min(300px,55%);align-items:center;gap:6px;border:1px solid #344358;border-radius:4px;padding:0 7px;color:#8192a5;background:#101a27}.dashboard-table-toolbar input,.dashboard-table-toolbar select{height:29px;border:0;outline:0;background:transparent;color:#dbe5ef;font-size:10px}.dashboard-table-toolbar input{min-width:0;width:100%}.dashboard-table-toolbar input::placeholder{color:#708196}.dashboard-table-toolbar select{border:1px solid #344358;border-radius:4px;padding:0 7px;background:#101a27}.dashboard-project-table-wrap{overflow:auto;max-height:420px;border-top:1px solid var(--dash-line)}.dashboard-project-table{width:100%;border-collapse:collapse;text-align:left}.dashboard-project-table th{position:sticky;top:0;z-index:1;background:#192535;color:#92a3b6;font-size:9px;font-weight:600;white-space:nowrap}.dashboard-project-table th,.dashboard-project-table td{padding:7px 10px;border-bottom:1px solid #263446}.dashboard-project-table td{color:#b8c6d5;font-size:10px;white-space:nowrap}.dashboard-project-table tbody tr:hover{background:#1b2a3b}.dashboard-project-table td:first-child{max-width:260px;overflow:hidden;text-overflow:ellipsis}.dashboard-project-table td:first-child a{color:#9bc7ed;text-decoration:none}.dashboard-project-table td:first-child a:hover{color:#fff;text-decoration:underline}.dashboard-project-table td:nth-child(2) small{display:block;margin-top:2px;color:#7c8ea3;font-size:9px}.dashboard-project-status{display:inline-block;border-radius:10px;padding:3px 7px;background:#3a3020;color:#f5cf7e;font-size:9px}.dashboard-project-status.status-in-progress{background:#193446;color:#81cdf1}.dashboard-project-status.status-completed{background:#17372e;color:#7cddb2}.dashboard-project-status.status-published{background:#3a2630;color:#f3a0ad}.dashboard-progress-cell{display:flex;min-width:90px;align-items:center;gap:7px}.dashboard-progress-cell>span{width:29px;color:#d5e2ec;font-size:9px;font-variant-numeric:tabular-nums}.dashboard-progress-cell .dashboard-meter{width:60px}.dashboard-table-footer{padding:8px 10px;color:#8b9bb0;font-size:10px}.dashboard-empty{grid-column:1 / -1;padding:12px 4px;color:#8192a5;font-size:10px}.dashboard-loading{display:flex;align-items:center;gap:7px;color:#91a3b7;font-size:10px}@media(max-width:1000px){.dashboard-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-timeline-panel{grid-column:1 / -1}.dashboard-analysis-grid{grid-template-columns:minmax(0,1fr)}.dashboard-filetypes-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px}}@media(max-width:680px){.dashboard-page{gap:9px}.dashboard-header{min-height:62px}.dashboard-header h1{font-size:20px}.dashboard-header p{max-width:250px;line-height:1.35}.dashboard-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.dashboard-metric{gap:7px;padding:9px}.dashboard-metric-icon{width:26px;height:26px;flex-basis:26px}.dashboard-metric strong{font-size:18px}.dashboard-overview-grid{grid-template-columns:minmax(0,1fr)}.dashboard-timeline-panel{grid-column:auto}.dashboard-completion-panel{grid-template-columns:1fr 1fr;align-items:center}.dashboard-completion-panel .dashboard-panel-heading{grid-column:1 / -1}.dashboard-completion-visual{width:112px;margin:0 auto}.dashboard-completion-visual>div{width:90px}.dashboard-completion-visual strong{font-size:21px}.dashboard-completion-legend{min-width:0}.dashboard-storage-panel{grid-template-columns:minmax(0,1fr)}.dashboard-storage-select{max-width:180px;margin-bottom:10px}.dashboard-filetypes-list{grid-template-columns:minmax(0,1fr)}.dashboard-project-table{min-width:780px}}@media(max-width:390px){.dashboard-filters{grid-template-columns:minmax(0,1fr)}.dashboard-metric{padding:8px 7px}.dashboard-metric-icon{display:none}.dashboard-timeline-chart{gap:2px}.dashboard-timeline-column small{font-size:7px}}.build-style-hint{grid-column:1 / -1;margin:0;font-size:12px;line-height:1.5;color:var(--text-secondary, #94a3b8)}.book-preview-page{position:relative;container-type:size;width:min(100%,370px);margin:0 auto;overflow:hidden;border:1px solid #64748b;color:#142332}.book-preview-background{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.book-preview-content{position:absolute;display:flex;flex-direction:column;gap:1.5cqh}.book-preview-panel{margin:0;padding:1.1cqw 1.4cqw;line-height:1.4;font-family:Arial,sans-serif}.book-preview-content.default h4{background:#e3f2fd;color:#1565c0;border:1px solid #1565c0;border-radius:3px}.book-preview-content.default p,.book-preview-content.default .book-preview-image-box{padding-left:0;padding-right:0}.book-preview-slide{aspect-ratio:16 / 9;display:flex;flex-direction:column;justify-content:center;gap:3cqw;padding:4cqw;background:#17334b;color:#f1f8ff;text-align:center;font:2.8cqw Arial,sans-serif}.book-preview-slide>div{display:flex;gap:2cqw}.book-preview-slide span{flex:1;padding:3cqw 1cqw;border:1px solid #9cc6dd;border-radius:1cqw;background:#2d526b}.book-preview-footer{position:absolute;display:flex;justify-content:space-between;padding:1cqw;font:1.6cqw Arial,sans-serif}.project-content-tools{padding:18px}.project-content-tools .bulk-tools-heading{padding-right:24px}.project-content-tools .bulk-tools-card{margin:0}.project-content-tools .bulk-automation-actions{flex-wrap:wrap}.chapter-layout-editor>p{font-size:11px;line-height:1.5}.chapter-layout-handles{position:relative;width:min(100%,500px);margin:10px auto}.book-theme-preview .chapter-layout-handles{width:min(100%,370px)}.chapter-layout-handles .book-preview-page{width:100%}.chapter-layout-box{position:absolute;border:2px dashed #38bdf8;pointer-events:none;z-index:5}.chapter-layout-move{position:absolute;top:0;left:0;border:0;padding:3px 6px;background:#075985;color:#fff;cursor:move;text-transform:capitalize;pointer-events:auto;touch-action:none;font-size:10px}.chapter-layout-resize{position:absolute;bottom:-5px;right:-5px;width:22px;height:22px;padding:0;background:#075985;color:#fff;border:1px solid white;cursor:nwse-resize;pointer-events:auto;touch-action:none}.chapter-layout-fields{display:grid;gap:6px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.chapter-layout-fields fieldset{min-width:0;display:grid;grid-template-columns:1fr 1fr;gap:5px;border:1px solid #475569}.chapter-layout-fields legend{text-transform:capitalize}.chapter-layout-fields label{min-width:0;font-size:10px}.chapter-layout-fields input{width:100%;min-width:0}.ebook-layout-slot{position:absolute;padding:8px;overflow:hidden;font-size:12px}.ebook-layout-slot .book-preview-slide{width:100%;height:100%}.book-preview-image-box .book-preview-slide{max-height:100%}.chapter-layout-handles .ebook-preview-frame{max-height:none}.chapter-layout-handles .ebook-preview-frame{container-type:size}.chapter-layout-fields input{border:1px solid #475569;border-radius:4px;padding:5px 6px;background:#111827;color:#e2e8f0}.chapter-layout-editor>button{margin-top:8px;padding:5px 9px;border:1px solid #475569;border-radius:4px;background:#172338;color:#e2e8f0}.project-action-modal .chapter-layout-editor button.chapter-layout-move,.project-action-modal .chapter-layout-editor button.chapter-layout-resize{min-height:22px}.layout-visibility-controls{display:flex;flex-wrap:wrap;gap:14px;margin:8px 0;font-size:11px}.chapter-layout-fields .layout-style-toggle{grid-column:1 / -1}.chapter-layout-fields input[type=checkbox]{width:auto}.chapter-layout-fields input[type=color]{min-height:30px;padding:2px}.layout-auxiliary-slot{position:absolute;overflow:hidden}.layout-auxiliary-slot p,.layout-auxiliary-slot pre{margin:8px 0;white-space:pre-wrap}.layout-theme-opacity{display:grid;gap:5px;margin:10px 0;font-size:11px}.chapter-layout-style,.chapter-layout-remove{position:absolute;top:-22px;min-height:22px;padding:2px 5px;pointer-events:auto;border:1px solid #cbd5e1;background:#075985;color:#fff;font-size:10px;cursor:pointer}.chapter-layout-style{right:24px}.chapter-layout-remove{right:0;width:22px;background:#9f1239}.chapter-layout-move{top:-22px;min-height:22px}.chapter-layout-fields .selected-layout-field{border-color:#38bdf8;box-shadow:0 0 0 1px #38bdf8}.layout-auxiliary-slot{min-width:0;min-height:0;overflow-wrap:anywhere}.project-action-modal .chapter-layout-editor button.chapter-layout-style,.project-action-modal .chapter-layout-editor button.chapter-layout-remove{min-height:22px}.layout-page-controls{display:grid;grid-template-columns:minmax(90px,1fr) auto minmax(180px,2fr);gap:8px;align-items:end;margin:8px 0}.layout-page-controls button{padding:7px;background:#172338;color:#e2e8f0;border:1px solid #475569;border-radius:4px}@media(max-width:600px){.layout-page-controls{grid-template-columns:1fr}}.layout-page-controls{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}.layout-page-controls>*,.chapter-layout-fields .layout-style-toggle{min-width:0}.chapter-layout-fields button,.chapter-layout-fields select,.chapter-layout-editor>button{max-width:100%;white-space:normal;overflow-wrap:anywhere}.chapter-layout-fields button,.chapter-layout-fields select{width:100%;min-width:0}.chapter-layout-box{pointer-events:auto}.chapter-layout-move,.chapter-layout-style,.chapter-layout-remove{opacity:0}.chapter-layout-box:hover .chapter-layout-move,.chapter-layout-box:hover .chapter-layout-style,.chapter-layout-box:hover .chapter-layout-remove,.chapter-layout-box:focus-within .chapter-layout-move,.chapter-layout-box:focus-within .chapter-layout-style,.chapter-layout-box:focus-within .chapter-layout-remove,.chapter-layout-box.is-selected .chapter-layout-move,.chapter-layout-box.is-selected .chapter-layout-style,.chapter-layout-box.is-selected .chapter-layout-remove{opacity:1}.book-preview-panel p,.book-preview-panel pre,.ebook-layout-slot p,.ebook-layout-slot pre{margin:0;line-height:1.4}.ebook-layout-slot{padding:1.2cqmin;line-height:1.4}.build-config-history{display:grid;gap:8px;padding:12px;border:1px solid #475569;border-radius:6px;min-width:0}.build-config-history select{width:100%;min-width:0}.build-config-history small{color:#94a3b8;font-size:11px;line-height:1.5}.box-appearance-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;grid-column:1/-1}.box-appearance-fields label{display:flex;flex-direction:column;gap:5px;min-width:0}.box-appearance-fields label:has(input[type=checkbox]),.box-appearance-fields .box-transparency{grid-column:1/-1}.box-appearance-fields label:has(input[type=checkbox]){flex-direction:row;align-items:center}.box-appearance-fields input[type=range]{width:100%}.shared-page-styles{display:grid;gap:10px;margin-top:14px}.shared-page-styles details{border:1px solid var(--border,#d5dce6);border-radius:8px;padding:12px}.shared-page-styles summary{cursor:pointer;font-weight:600}.shared-page-styles .box-appearance-fields{margin-top:12px}.layout-cover-sample{position:absolute;left:10%;top:12%;width:80%;padding:4%;box-sizing:border-box;z-index:1}.layout-cover-sample h4,.layout-cover-sample p{color:inherit;font-size:inherit;line-height:1.4;margin:0 0 1em}.layout-cover-sample h4{font-size:1.5em}.box-appearance-fields{font-size:12px}.box-appearance-fields input:not([type=checkbox]):not([type=range]),.box-appearance-fields select,.box-appearance-fields button{width:100%;min-width:0;min-height:32px;border:1px solid #475569;border-radius:5px;padding:5px 7px;background:#111827;color:#e2e8f0;font:inherit}.box-appearance-fields input[type=color]{padding:2px}.box-appearance-fields button{grid-column:1/-1;width:fit-content;min-height:26px;color:#7dd3fc;cursor:pointer}.box-appearance-fields input[type=checkbox]{width:auto}.box-appearance-fields input[type=range]{accent-color:#38bdf8}.shared-page-styles details{border-color:#475569}.shared-page-styles p{margin:10px 0;font-size:12px;line-height:1.5;color:#94a3b8}.all-box-styles{margin:12px 0;padding:12px;border:1px solid #475569;border-radius:8px;background:#0f172a}.all-box-styles summary{cursor:pointer;font-weight:600;color:#bae6fd}.all-box-styles p,.all-box-styles>small{display:block;margin:10px 0;color:#94a3b8;font-size:12px;line-height:1.5}.all-box-styles .box-appearance-fields{margin-top:12px}.publication-page-options{margin:12px 0;padding:12px;border:1px solid #475569;border-radius:8px;font-size:12px}.publication-page-options summary{cursor:pointer;font-weight:600;color:#bae6fd}.publication-page-options label{display:flex;gap:8px;align-items:center;margin:12px 0}.publication-page-options label:has(select),.publication-page-options label:has(input[type=text]),.publication-page-options label:has(input[type=file]){align-items:stretch;flex-direction:column}.publication-page-options input:not([type=checkbox]),.publication-page-options select{min-width:0;width:100%;padding:6px;border:1px solid #475569;border-radius:5px;background:#111827;color:#e2e8f0}.publication-page-options p,.publication-page-options small{display:block;color:#94a3b8;line-height:1.5;margin:10px 0}.publication-page-options fieldset{min-width:0;padding:10px;border:1px solid #334155;margin:12px 0}.publication-cover-thumbnail{display:block;max-width:180px;max-height:180px;object-fit:contain}.layout-publication-image{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;z-index:1}.layout-page-placeholder{position:absolute;left:10%;right:10%;top:45%;text-align:center;color:#334155;font-size:14px;z-index:1}.layout-blank-page{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#fff;color:#666;z-index:2;font-size:12px}.layout-cover-sample{overflow:auto}[style*=--box-edge-fill]{position:relative;isolation:isolate}[style*=--box-edge-fill]:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;background-color:var(--box-edge-fill);background-image:var(--box-edge-image);border-radius:var(--box-edge-radius);-webkit-mask-image:var(--box-edge-mask);mask-image:var(--box-edge-mask);-webkit-mask-composite:source-in;mask-composite:intersect}.project-action-modal-backdrop:not(.legacy){padding:8px}.project-action-modal{width:calc(100vw - 16px);max-width:none;max-height:calc(100dvh - 16px);scrollbar-gutter:stable}.project-action-modal-close{position:sticky;top:10px;float:none;display:flex;margin:10px 10px -38px auto;z-index:40}.project-action-modal .ai-generation-panel{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px}.project-action-modal .ai-generation-panel>:not(label){grid-column:1 / -1}.project-action-modal .ai-generation-heading{padding-right:42px}.project-action-modal .ai-generation-actions{position:sticky;bottom:0;z-index:30;background:#0b1220;padding:12px 0;border-top:1px solid #334155}.project-detail-page>.ai-generation-panel,.project-detail-page>.book-matter-generator{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);box-sizing:border-box}.chapter-layout-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:16px;align-items:start}.layout-live-preview{position:sticky;top:12px;min-width:0;padding:24px 4px 10px}.layout-live-preview .chapter-layout-handles,.book-theme-preview .layout-live-preview .chapter-layout-handles{width:min(100%,calc((100dvh - 160px) * var(--layout-page-ratio)));margin:0 auto}.layout-control-panel{min-width:0;max-height:calc(100dvh - 130px);overflow:auto;padding:0 10px 16px 2px;scrollbar-gutter:stable;scroll-padding:12px;border-left:1px solid #334155}.layout-control-panel>p{font-size:11px;line-height:1.5}.layout-control-panel>button{margin-top:8px;padding:5px 9px;border:1px solid #475569;border-radius:4px;background:#172338;color:#e2e8f0;max-width:100%;white-space:normal}.layout-control-panel .chapter-layout-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}.layout-control-panel .publication-cover-thumbnail{max-height:160px;object-fit:contain}@media(max-width:700px){.project-action-modal .ai-generation-panel{grid-template-columns:minmax(0,1fr)}.chapter-layout-editor{grid-template-columns:minmax(0,1fr);gap:8px}.layout-live-preview{position:sticky;top:0;z-index:10;background:#0f172a;padding-top:24px}.layout-live-preview .chapter-layout-handles,.book-theme-preview .layout-live-preview .chapter-layout-handles{width:min(100%,calc(30dvh * var(--layout-page-ratio)))}.layout-control-panel{max-height:44dvh;border-left:0;border-top:1px solid #334155;padding:8px 4px}.project-action-modal{border-radius:10px;border:1px solid #475569}}.layout-theme-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}.layout-theme-settings>p{grid-column:1 / -1}.layout-theme-settings:empty{display:none}.layout-editing-help{margin:8px 0;font-size:11px;line-height:1.5}.layout-editing-help summary{cursor:pointer;color:#93c5fd}@media(max-width:400px){.layout-theme-settings{grid-template-columns:minmax(0,1fr)}}.project-detail-page>.ai-generation-panel .ai-generation-actions,.project-detail-page>.book-matter-generator .book-matter-generator-actions{position:sticky;bottom:0;z-index:30;background:#0b1220;padding:12px 0;border-top:1px solid #334155}@media(min-width:701px){.project-detail-page>.ai-generation-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.project-detail-page>.ai-generation-panel>label{grid-column:auto}.project-detail-page>.ai-generation-panel>label:has(textarea){grid-column:1 / -1}}.project-settings-content .settings-card{grid-template-columns:minmax(0,1fr);gap:12px}.project-settings-content .settings-card-title{grid-column:1/-1}.viewer-page-slider{flex:1;min-width:60px;max-width:360px;accent-color:#38bdf8}.player-page-seek{display:flex;align-items:center;gap:8px;padding:6px 12px}.player-page-seek input{flex:1;accent-color:#38bdf8}.player-mobile-dock .player-local-export{width:auto;padding:0 10px;font-size:11px}.book-preview-footer{gap:1cqw}.book-preview-footer>span:first-child{flex:1;min-width:0;white-space:normal;overflow-wrap:anywhere}.book-preview-footer>span:last-child{flex-shrink:0}.player-export-status{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;padding:6px 12px;font-size:11px;overflow-wrap:anywhere;color:#cbd5e1}.player-export-status a{color:#7dd3fc}.player-mobile-dock{flex-wrap:wrap}.book-preview-footer{line-height:1.25;padding:.5cqw}.slide-quick-seek{display:flex;flex:1;align-items:center;gap:8px;min-width:0;font-size:11px}.slide-quick-seek input{flex:1;min-width:50px}.player-mobile-dock{grid-template-columns:repeat(6,minmax(32px,58px)) minmax(90px,110px)}.player-export-status{flex-shrink:0;max-height:72px;overflow:auto}@media(max-width:700px){.player-mobile-dock{grid-template-columns:repeat(6,minmax(0,1fr)) 64px}.player-mobile-dock button{min-width:0}.player-mobile-dock .player-local-export{padding:0 3px;white-space:normal;font-size:10px}}.hdr-drop-menu.header-dropdown-portal{position:fixed;z-index:650;top:auto;left:auto;width:max-content;min-width:0;max-width:calc(100vw - 16px);box-sizing:border-box;max-height:calc(100dvh - 16px);overscroll-behavior:contain}.header-project-option{min-width:0}.header-project-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.header-project-status{display:inline-flex;align-items:center;gap:5px;flex-shrink:0;margin-left:auto;font-size:10px}.header-project-status svg{flex-shrink:0}.header-project-status{padding:2px 5px;border:1px solid;border-radius:10px}@media(max-width:700px){.header-project-name{white-space:normal;overflow-wrap:anywhere}}.header-project-status{border:0;border-radius:0;background:transparent;padding:0;gap:8px}.header-project-overall{display:inline-flex;align-items:center;flex-shrink:0}.header-project-folder-icons{display:inline-flex;gap:3px;align-items:center}.header-project-folder-icon{display:inline-flex;width:13px;height:16px;align-items:center;justify-content:center;flex-shrink:0}.project-progress-icons{flex-wrap:wrap;row-gap:4px;min-width:0;max-width:100%}.project-card-meta{flex-wrap:wrap}.project-card-meta .project-progress-icons{flex-basis:100%;margin-top:2px}.kanban-card-meta{flex-wrap:wrap}.kanban-card-meta .project-progress-icons{flex-shrink:0}.social-studio{max-width:1600px}.social-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0}.social-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr);gap:20px;align-items:start;margin-top:20px}.social-compose>label,.social-caption>label{display:flex;flex-direction:column;gap:6px;margin:12px 0}.social-compose textarea,.social-compose input:not([type=checkbox]),.social-compose select{width:100%;box-sizing:border-box}.social-compose fieldset{margin:12px 0;padding:12px;border:1px solid #334155;border-radius:8px}.social-compose fieldset label{display:inline-flex;align-items:center;gap:7px;margin:5px 12px 5px 0}.social-assets{max-height:220px;overflow:auto}.social-assets label{display:flex!important;overflow-wrap:anywhere}.social-preview{white-space:pre-wrap;overflow-wrap:anywhere;background:#0f172a;border:1px solid #334155;padding:16px;border-radius:10px;margin:8px 0}.social-queue-item{border-top:1px solid #334155;padding:14px 0;overflow-wrap:anywhere}.social-queue-item a,.social-queue-item button{margin-right:8px}.help-workspace{max-width:1180px}.help-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;position:sticky;top:0;background:#0f172a;z-index:2;padding:12px 0}.help-toolbar input{flex:1;min-width:180px}.help-topics{display:flex;flex-wrap:wrap;gap:8px 16px;margin:16px 0 24px}.help-section{scroll-margin-top:90px}.help-section summary{cursor:pointer}.help-section .help-heading{display:inline-block}.help-list li{font-size:14px}@media(max-width:900px){.social-columns{grid-template-columns:1fr}}@media print{.help-toolbar,.help-topics,.help-workspace>.social-toolbar{display:none}.help-section>*{display:block!important}.help-workspace,.help-list li,.help-heading,.help-list strong{color:#111!important;background:#fff!important}}.social-media-previews{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.social-media-previews figure{margin:0;overflow-wrap:anywhere}.social-media-previews img,.social-media-previews video{width:100%;max-height:260px;object-fit:contain;background:#0f172a}.social-studio,.help-workspace{min-width:0;width:100%;overflow-wrap:anywhere;box-sizing:border-box}.social-studio p,.help-workspace p{line-height:1.55;margin:10px 0}.social-studio a,.help-workspace a{color:#60a5fa;text-underline-offset:3px}.social-studio button,.help-workspace button{font:inherit;font-size:13px;padding:8px 12px;color:#e2e8f0;background:#1e293b;border:1px solid #475569;border-radius:6px;cursor:pointer}.social-studio button:hover:not(:disabled),.help-workspace button:hover:not(:disabled){background:#334155}.social-studio button:disabled,.help-workspace button:disabled{opacity:.45;cursor:not-allowed}.social-studio input:not([type=checkbox]),.social-studio select,.social-studio textarea,.help-workspace input{font:inherit;font-size:14px;color:#e2e8f0;background:#0f172a;border:1px solid #475569;border-radius:6px;padding:8px 10px;min-width:0;max-width:100%;box-sizing:border-box}.social-studio textarea{resize:vertical;line-height:1.5}.social-studio small{color:#94a3b8;line-height:1.5}.social-toolbar>label{display:flex;align-items:center;gap:10px;flex:1 1 260px;min-width:0}.social-toolbar>label>select{flex:1;min-width:0;width:100%}.social-toolbar>input{flex:1 1 160px;min-width:100px}.social-columns>section,.social-compose fieldset{min-width:0}.social-compose>button,.social-caption>button{margin:5px 0}.social-queue-item button{margin-top:5px}.social-studio input[type=checkbox]{accent-color:#3b82f6}.publishing-popup{width:min(1120px,96vw);max-height:94vh;overflow-y:auto;padding:28px}.publishing-popup>label{display:block;margin:14px 0}.publishing-popup fieldset{min-width:0;border:1px solid #475569;border-radius:8px;padding:12px;margin:14px 0}.publishing-popup fieldset label{display:inline-flex;gap:7px;align-items:center;margin:4px 14px 4px 0}.publishing-popup pre{white-space:pre-wrap;overflow-wrap:anywhere}.publishing-popup>button:not(.project-action-modal-close){margin:7px 10px 7px 0}.social-studio>label>select{max-width:min(100%,680px);width:100%;margin:10px 0}.control-tooltip{position:fixed;z-index:2147483647;box-sizing:border-box;width:max-content;max-width:min(360px,calc(100vw - 16px));max-height:min(320px,calc(100vh - 16px));overflow-y:auto;padding:10px 12px;border:1px solid #475569;border-radius:8px;background:#0f172a;color:#f1f5f9;box-shadow:0 6px 24px #0005;font:400 12px/1.55 system-ui,sans-serif;text-align:left;white-space:normal;overflow-wrap:anywhere;pointer-events:auto}button.help-hint{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:18px;height:18px;min-height:0;padding:0;margin:0 0 0 5px;border:1px solid #64748b;border-radius:50%;background:transparent;color:#94a3b8;font:600 11px/1 system-ui,sans-serif;vertical-align:middle;cursor:help}button.help-hint:hover,button.help-hint:focus-visible{color:#e2e8f0;border-color:#38bdf8}button.help-hint:focus-visible{outline:2px solid #38bdf8;outline-offset:3px}html[data-tooltips=off] .help-hint{display:none}.editor-toolbar{flex-wrap:wrap}.editor-slide-layout button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:26px;padding:4px 6px;border:1px solid #334155;border-radius:4px;background:#172033;color:#cbd5e1;cursor:pointer}.slide-thumbnail:focus-visible{outline:2px solid #38bdf8;outline-offset:2px}.editor-slide-layout{display:inline-flex;gap:4px}.editor-slide-layout button{font-size:10px}.editor-slide-layout button[aria-pressed=true]{background:#15315c;border-color:#60a5fa;color:#e0f2fe}.slide-edit-view.presentation-layout{grid-template-columns:174px minmax(0,1fr);grid-template-rows:minmax(180px,1fr) minmax(130px,25%)}.presentation-layout .slide-filmstrip{grid-column:1;grid-row:1 / -1}.presentation-layout .slide-image-pane{grid-column:2;grid-row:1}.presentation-layout .slide-edit-pane{grid-column:2;grid-row:2}.presentation-layout .slide-navigation{display:none}.presentation-layout .slide-edit-heading{min-height:26px}.presentation-layout .slide-edit-pane textarea{padding:10px 12px;font-size:13px;line-height:1.6}.presentation-layout .slide-image-stage>img{width:100%;height:100%;object-fit:contain}.slide-filmstrip{min-width:0;min-height:0;overflow:auto;padding:6px 7px;border:1px solid #263247;border-radius:6px;background:#0b1220;scrollbar-width:thin}.slide-filmstrip-heading{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 9px;color:#94a3b8;font-size:10px}.slide-thumbnail{display:flex;flex-direction:column;align-items:stretch;gap:5px;width:100%;margin:0 0 9px;padding:5px;border:2px solid transparent;border-radius:5px;background:#172033;color:#94a3b8;cursor:pointer;text-align:left}.slide-thumbnail.selected{border-color:#60a5fa;background:#172d4c;color:#e0f2fe}.slide-thumbnail>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.slide-thumbnail-image{display:flex;align-items:center;justify-content:center;aspect-ratio:16 / 9;overflow:hidden;background:#020617;border-radius:2px}.slide-thumbnail-image img,.slide-thumbnail-image canvas{display:block;max-width:100%;max-height:100%;object-fit:contain}.slide-thumbnail-image>span{padding:7px;color:#cbd5e1;font-size:8px;line-height:1.4;overflow-wrap:anywhere}@media(max-width:720px){.slide-edit-view.presentation-layout{grid-template-columns:82px minmax(0,1fr);grid-template-rows:minmax(140px,1fr) minmax(120px,31%);gap:6px}.slide-filmstrip{padding:4px}.slide-thumbnail{padding:3px;margin-bottom:6px}.slide-thumbnail>span{font-size:9px}.slide-filmstrip-heading{font-size:9px}.presentation-layout .slide-edit-heading{gap:5px}.presentation-layout .slide-edit-heading .editor-label{font-size:8px;letter-spacing:0}}.editor-toolbar.compact-editor-toolbar{flex-wrap:nowrap;min-width:0;max-width:100%;gap:4px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:thin}.compact-editor-toolbar>*,.compact-editor-toolbar .editor-view-toggle,.compact-editor-toolbar .editor-slide-layout{flex-shrink:0}.compact-editor-toolbar button,.compact-editor-toolbar .editor-export-pdf{min-height:26px;padding:4px 6px;font-size:10px}.compact-editor-toolbar .editor-view-toggle{overflow:visible;max-width:none}.compact-editor-toolbar .editor-view-toggle button{min-height:26px;padding:4px 5px}.compact-editor-toolbar .editor-view-toggle svg{display:none}.compact-editor-toolbar .status{width:auto;margin-left:auto;font-size:10px}.compact-editor-toolbar .copy-all-control{gap:4px}.compact-editor-toolbar .copy-all-control select{width:88px;min-width:0;max-width:88px;min-height:26px;padding:4px;font-size:10px}.editor-section-navigation{display:inline-flex;align-items:center;gap:3px;color:#94a3b8;font-size:10px}.editor-section-navigation button{display:inline-flex;align-items:center;justify-content:center;padding:3px}.project-tree-expand{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:25px;height:25px;padding:0;border:1px solid #334155;border-radius:4px;background:#172033;color:#94a3b8;cursor:pointer}.project-tree-expand:hover{color:#e2e8f0;border-color:#60a5fa}.project-tree-expand:focus-visible{outline:2px solid #38bdf8;outline-offset:2px}.slide-edit-shortcuts{flex:0 0 auto;padding:4px 2px 0;color:#94a3b8;font-size:10px;line-height:1.4}
