:root{color:#1d2430;font-synthesis:none;text-rendering:optimizelegibility;background:#f6f7f9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Hiragino Sans,Yu Gothic,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.62}.landing{place-items:center;min-height:100vh;padding:32px;display:grid}.landingHero{grid-template-columns:.9fr 1.1fr;align-items:center;gap:36px;width:min(1160px,100%);display:grid}.eyebrow{color:#2563eb;margin:0 0 8px;font-size:13px;font-weight:800}h1{letter-spacing:0;margin:0 0 14px;font-size:40px;line-height:1.15}h2{letter-spacing:0;margin:28px 0 8px;font-size:20px}.lead{color:#596273;margin:0;line-height:1.8}.heroActions{flex-wrap:wrap;gap:12px;margin-top:28px;display:flex}.legalLinks{gap:12px;margin-top:18px;display:flex}.legalLinks button,.textLink,.consentCheck button{color:#2563eb;background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline}.primary,.secondary,.iconButton{border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 14px;font-weight:800;display:inline-flex}.primary{color:#fff;background:#2563eb}.secondary{color:#243041;background:#fff;border-color:#d9dee8}.secondary.dangerButton{color:#b42318;border-color:#ffd1cc}.iconButton{color:#243041;background:#fff;border-color:#d9dee8;width:38px;padding:0}.iconButton.danger{color:#b42318}.wideButton{width:100%;margin-top:10px}.smallButton{min-height:32px;padding:0 10px}.compactButton{min-height:32px;padding:0 10px;font-size:12px}.mockEditor{background:#e5e9ee;border:1px solid #cbd2dc;border-radius:8px;grid-template-columns:minmax(220px,.82fr) minmax(300px,1.18fr);gap:12px;height:560px;padding:12px;display:grid;overflow:hidden}.mockPdf,.mockScript{background:#f8fafc;border:1px solid #d3dae5;border-radius:6px;grid-template-rows:auto minmax(0,1fr);gap:10px;min-width:0;min-height:0;padding:10px;display:grid;overflow:hidden}.mockScript{background:#fff;grid-template-rows:auto auto minmax(0,1fr) auto}.mockPaneHeader{color:#243041;justify-content:space-between;align-items:center;gap:10px;min-width:0;font-size:12px;font-weight:900;display:flex}.mockPaneHeader strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mockPaneHeader span{color:#697386;white-space:nowrap;font-size:11px}.mockPdfPage{background:#f6f8fb;border:1px solid #d7dee8;border-radius:5px;min-height:0;padding:20px 16px;overflow:hidden;box-shadow:0 1px 4px #1c27351f}.mockPdfScene{color:#5f6b7a;text-align:center;margin-bottom:14px;font-size:13px;font-weight:900}.mockPdfLine{color:#4f5663;border-top:1px solid #e2e8f0;grid-template-columns:48px minmax(0,1fr);gap:8px;padding:8px 0;display:grid}.mockPdfLine span{color:#64748b;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:900;overflow:hidden}.mockPdfLine p{margin:0;font-size:11px;line-height:1.65}.mockPdfLine.togaki p{color:#697386;font-style:italic}.mockSceneHeader{color:#596273;border-top:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:8px;min-height:30px;padding:7px 8px;font-size:12px;font-weight:900;display:flex}.mockSceneHeader:first-of-type{border-top:0}.mockSceneHeader small{color:#a0a8b4;white-space:nowrap;font-size:11px;font-weight:800}.mockSceneHeader.muted{color:#8b93a1;border-top-color:#edf0f4}.mockLines{align-content:start;gap:6px;min-height:0;display:grid;overflow:hidden}.mockLine{background:#f8fafc;border:1px solid #0000;border-radius:5px;grid-template-columns:72px minmax(0,1fr);align-items:start;gap:10px;padding:7px 8px;display:grid}.mockLine span{color:#2563eb;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:900;overflow:hidden}.mockLine p{color:#243041;margin:0;font-size:13px;line-height:1.55}.mockLine.togaki span{color:#64748b}.mockLine.togaki p{color:#5e6675;font-style:italic}.topbar{background:#fff;border-bottom:1px solid #dde2ea;justify-content:space-between;align-items:center;height:56px;padding:0 18px;display:flex}.brand{white-space:nowrap;font-weight:900}.account{color:#4b5565;align-items:center;gap:8px;min-width:0;font-size:14px;display:flex}.account span{text-overflow:ellipsis;white-space:nowrap;max-width:220px;overflow:hidden}.accountStatus{max-width:240px;font-size:12px;font-weight:800}.centerPanel{place-items:center;min-height:calc(100vh - 56px);padding:24px;display:grid}.authBox,.consentBox{background:#fff;border:1px solid #dde2ea;border-radius:8px;width:min(640px,100%);padding:24px}.authBox h1,.consentBox h1{margin-top:18px;font-size:28px}.consentBox li{margin:10px 0;line-height:1.6}.consentCheck{grid-template-columns:16px 1fr;align-items:start;column-gap:10px;margin:18px 0;line-height:1.6;display:grid}.consentCheck input[type=checkbox]{width:16px;height:16px;margin:5px 0 0}.fineprint{color:#697386;font-size:12px;line-height:1.6}.errorText,.statusError{color:#b42318}.statusOk{color:#2563eb;font-size:13px;font-weight:800}.dirtyBadge{color:#475569;background:#f1f5f9;border:1px solid #3b82f6;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:800}.listPage{width:min(1080px,100%);margin:0 auto;padding:28px}.listHeader{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.listPage h1{font-size:30px}.listPage p{color:#596273;margin:0 0 22px}.webNotice{color:#596273;background:#f6f7f9;border:1px solid #d9dee8;border-radius:8px;align-items:flex-start;gap:10px;margin:0 0 18px;padding:12px 14px;display:flex}.webNotice svg{flex:none;margin-top:2px}.webNotice strong{color:#243041;margin-bottom:3px;font-size:13px;display:block}.webNotice p{color:#3f4857;margin:0;font-size:13px;line-height:1.6}.empty{color:#596273;text-align:center;background:#fff;border:1px solid #dde2ea;border-radius:8px;align-content:center;place-items:center;gap:8px;min-height:180px;padding:28px;display:grid}.empty strong{color:#243041}.scriptGrid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;display:grid}.scriptCard{background:#fff;border:1px solid #dde2ea;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;padding:12px;display:grid}.scriptCard:hover{border-color:#93c5fd}.scriptCard.deleting{opacity:.68}.scriptCardOpen{min-width:0;color:inherit;text-align:left;background:0 0;border:0;border-radius:6px;justify-items:start;gap:8px;padding:4px;display:grid}.scriptCardOpen:focus-visible{outline-offset:2px;outline:2px solid #93c5fd}.scriptCardOpen span{color:#697386;font-size:13px}.scriptCardMeta{font-size:12px;line-height:1.35}.scriptDeleteButton{width:32px;min-height:32px}.listFooter{color:#697386;border-top:1px solid #dde2ea;justify-content:space-between;align-items:center;gap:14px;margin-top:28px;padding:14px 0 0;display:flex}.listFooterInfo{gap:2px;min-width:0;font-size:12px;line-height:1.5;display:grid}.listFooterInfo strong{color:#3f4857;font-size:13px}.listFooterActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.listFooterActions .textLink{color:#697386;font-size:12px;font-weight:800}.importDialog{background:#fff;border:1px solid #d9dee8;border-radius:8px;flex-direction:column;width:min(720px,100%);max-height:min(780px,100vh - 48px);display:flex;overflow:hidden;box-shadow:0 20px 54px #0f172a38}.importHeader{border-bottom:1px solid #dde2ea;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.importHeader h2{margin:0;font-size:18px}.importHeader span{color:#697386;font-size:12px;font-weight:800}.importContent{gap:14px;min-height:0;padding:16px;display:grid;overflow:auto}.importTabs{width:min(360px,100%)}.modeTabs.importTabs{grid-template-columns:repeat(2,minmax(0,1fr))}.importField{color:#596273;gap:6px;font-size:12px;font-weight:900;display:grid}.importField input,.importField textarea{color:#243041;background:#fff;border:1px solid #d9dee8;border-radius:8px;width:100%;padding:0 10px;font-weight:700}.importField input{min-height:38px}.importField textarea{resize:vertical;min-height:220px;padding:10px;line-height:1.7}.importField small{color:#697386;font-size:12px;font-weight:800;line-height:1.5}.filePickButton{color:#2563eb;background:#eff6ff;border:1px dashed #93c5fd;border-radius:8px;align-content:center;place-items:center;gap:6px;min-height:92px;font-size:14px;font-weight:900;display:grid}.filePickButton input,.textFileRow input{display:none}.textFileRow{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.importNotice{color:#3f4857;background:#f8fafc;border:1px solid #d9dee8;border-radius:8px;padding:10px 12px;font-size:12px;font-weight:800;line-height:1.6}.importProgress{color:#1e3a8a;background:#f8fbff;border:1px solid #bfdbfe;border-radius:8px;gap:8px;padding:12px;display:grid}.importProgressHead{justify-content:space-between;align-items:center;gap:12px;font-size:12px;font-weight:900;display:flex}.importProgressHead span{color:#4f6f9f;flex:none;font-size:11px}.importProgressTrack{background:#dbeafe;border-radius:999px;height:8px;overflow:hidden}.importProgressTrack span{border-radius:inherit;background:#2563eb;height:100%;transition:width .24s;display:block}.importProgress p{color:#2f4d78;margin:0;font-size:12px;font-weight:800;line-height:1.6}.importProgress .importProgressCaution{color:#1d4ed8}.importConsentBox{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;gap:4px;padding:12px;font-size:12px;font-weight:800;line-height:1.6;display:grid}.importConsentBox strong{color:#1e3a8a;font-size:13px}.importConsentBox .textLink{color:#1d4ed8;font-size:inherit;font-weight:900}.importFooter{border-top:1px solid #dde2ea;justify-content:flex-end;gap:10px;padding:12px 16px;display:flex}.workspace{grid-template-rows:54px minmax(0,1fr);height:calc(100vh - 56px);display:grid;overflow:hidden}.workspace.standalone{height:100vh}.workspace.hasSyncBanner{grid-template-rows:54px auto minmax(0,1fr)}.workspace.hasShortcutBar{grid-template-rows:54px 28px minmax(0,1fr)}.workspace.hasSyncBanner.hasShortcutBar{grid-template-rows:54px auto 28px minmax(0,1fr)}.toolbar{background:#fff;border-bottom:1px solid #dde2ea;align-items:center;gap:8px;min-width:0;padding:4px 10px;display:flex}.toolbar .primary,.toolbar .secondary{white-space:nowrap;min-height:32px;padding:0 11px;font-size:13px}.toolbarTitleGroup{gap:2px;width:clamp(190px,18vw,330px);min-width:180px;display:grid}.titleInput{border:1px solid #d9dee8;border-radius:8px;width:100%;min-width:0;min-height:30px;padding:0 10px;font-size:14px;font-weight:800}.scriptMetaRow{color:#697386;white-space:nowrap;align-items:center;gap:8px;min-width:0;font-size:10px;font-weight:800;line-height:1;display:flex}.scriptMetaRow span{text-overflow:ellipsis;min-width:0;overflow:hidden}.toolbarActions{justify-content:flex-end;align-items:center;gap:8px;min-width:0;margin-left:auto;display:flex}.toolbarActions .statusOk,.toolbarActions .statusError{text-overflow:ellipsis;white-space:nowrap;max-width:190px;font-size:12px;font-weight:800;overflow:hidden}.modeSwitch{background:#eef1f5;border-radius:10px;gap:2px;padding:3px;display:inline-flex}.modeSwitch button{color:#596273;background:0 0;border:0;border-radius:7px;align-items:center;gap:6px;min-height:32px;padding:0 16px;font-weight:800;display:inline-flex}.modeSwitch button.active{color:#2563eb;background:#fff;box-shadow:0 1px 2px #1c27351a}.draftRestoreBar{color:#475569;white-space:nowrap;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:6px;min-height:36px;padding:4px 6px 4px 10px;font-size:12px;font-weight:900;display:inline-flex}.syncNoticeBar{color:#475569;background:#f1f5f9;border-bottom:1px solid #cbd5e1;align-items:center;gap:10px;min-width:0;padding:8px 12px;font-size:13px;display:flex}.syncNoticeBar.conflict{color:#b42318;background:#fff1f0;border-bottom-color:#ffd1cc}.syncNoticeBar svg{flex:none}.syncNoticeBar div{flex:1;align-items:baseline;gap:8px;min-width:0;display:flex}.syncNoticeBar strong{white-space:nowrap}.syncNoticeBar span{text-overflow:ellipsis;white-space:nowrap;color:#3f4857;min-width:0;overflow:hidden}.syncNoticeBar.conflict span{color:#6f2a22}.historyOverlay{z-index:50;background:#0f172a47;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.historyDialog{background:#fff;border:1px solid #d9dee8;border-radius:8px;flex-direction:column;width:min(980px,100%);max-height:min(760px,100vh - 48px);display:flex;overflow:hidden;box-shadow:0 20px 54px #0f172a38}.reviewAlertDialog{background:#fff;border:1px solid #d9dee8;border-radius:8px;gap:12px;width:min(440px,100%);padding:18px;display:grid;box-shadow:0 20px 54px #0f172a38}.reviewAlertDialog h2{margin:0;font-size:18px}.reviewAlertDialog p{color:#3f4857;margin:0;font-size:14px;line-height:1.7}.reviewAlertActions{justify-content:flex-end;display:flex}.historyHeader{border-bottom:1px solid #dde2ea;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.historyHeader h2{margin:0;font-size:18px}.historyHeader span{color:#697386;font-size:12px;font-weight:800}.historyHeaderActions{align-items:center;gap:8px;display:flex}.historyContent{flex:1;grid-template-columns:280px minmax(0,1fr);min-height:0;display:grid}.historyList{background:#f7f9fc;border-right:1px solid #dde2ea;min-height:0;padding:8px;overflow:auto}.historyItem{text-align:left;color:#243041;background:0 0;border:1px solid #0000;border-radius:8px;gap:4px;width:100%;padding:10px;display:grid}.historyItem:hover{background:#fff;border-color:#dde2ea}.historyItem.active{background:#fff;border-color:#93c5fd;box-shadow:0 1px 2px #1c273514}.historyItem strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.historyItem span,.historyItem small{color:#697386;font-size:12px;font-weight:800}.historyPreviewPane{background:#fff;grid-template-rows:auto minmax(0,1fr);min-height:0;display:grid}.historyPreviewMeta{border-bottom:1px solid #eef1f5;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.historyPreviewMeta strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.historyPreviewMeta span{color:#697386;white-space:nowrap;font-size:12px;font-weight:800}.historyPreviewLines{min-height:0;padding:8px 12px 16px;overflow:auto}.historyPreviewLine{border-bottom:1px solid #eef1f5;grid-template-columns:42px minmax(90px,160px) minmax(0,1fr);align-items:start;gap:10px;padding:8px 0;display:grid}.historyPreviewLine span,.historyPreviewLine strong{color:#697386;font-size:12px;font-weight:900}.historyPreviewLine p{color:#243041;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.65}.historyPreviewLine.togaki p{color:#475569}.historyEmpty{color:#697386;padding:18px;font-size:13px;font-weight:800}.historyFooter{border-top:1px solid #dde2ea;justify-content:flex-end;align-items:center;gap:12px;padding:12px 16px;display:flex}.historyFooter span{color:#697386;margin-right:auto;font-size:12px;font-weight:800}.shortcutBar{background:#f8fafc;border-bottom:1px solid #dde2ea;align-items:center;min-width:0;padding:4px 12px;display:flex;overflow-x:auto}.shortcutBar .shortcutHints{flex-wrap:nowrap}.shortcutHints{color:#697386;flex-wrap:wrap;align-items:center;gap:10px;font-size:11px;font-weight:800;display:flex}.shortcutHint{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.shortcutHint kbd{color:#3f4857;text-align:center;background:#f8fafc;border:1px solid #cfd6e1;border-bottom-width:2px;border-radius:4px;min-width:22px;min-height:18px;padding:1px 5px;font-family:inherit;font-size:10px;line-height:1.4}.editorLayout{grid-template-columns:minmax(360px, var(--pdf-column-width,38%)) 12px minmax(460px, 1fr);min-height:0;display:grid;overflow:hidden}.editorLayout.resizing{cursor:col-resize;user-select:none}.pdfColumn{background:#f0f2f5;min-height:0;display:flex;overflow:hidden}.editorResizer{cursor:col-resize;background:#e2e7ef;border-left:1px solid #d2d9e4;border-right:1px solid #d2d9e4;min-height:0;position:relative}.editorResizer:after{content:"";background:#94a3b8;border-radius:999px;width:3px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.editorResizer:hover,.editorLayout.resizing .editorResizer{background:#d5dde8}.pdfPane{flex:auto;grid-template-rows:auto auto minmax(0,1fr);min-width:0;height:100%;min-height:0;padding:14px;display:grid;overflow:hidden}.practiceStage{background:#f0f2f5;justify-content:center;min-height:0;padding:20px 16px 112px;display:flex;overflow:hidden}.practiceStage .practicePane{background:0 0;border:0;flex-direction:column;width:min(920px,100%);height:100%;min-height:0;padding:0;display:flex;overflow:hidden}.pdfHeader,.practiceHeader{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.pdfHeader div:first-child,.practiceHeader div:first-child{gap:2px;min-width:0;display:grid}.pdfHeader strong,.practiceHeader strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pdfHeader span,.practiceHeader span{color:#697386;font-size:12px}.pdfControls{flex:none;align-items:center;gap:6px;display:flex}.pdfPageCounter{color:#596273;white-space:nowrap;background:#fff;border:1px solid #d9dee8;border-radius:8px;justify-content:center;align-items:center;min-width:78px;min-height:38px;padding:0 8px;font-size:12px;font-weight:800;display:inline-flex}.pdfEmpty{color:#5f6b7a;text-align:center;background:#f6f8fb;border:1px solid #d7dee8;border-radius:6px;align-content:center;place-items:center;gap:8px;height:100%;min-height:420px;padding:20px;display:grid}.pdfPane>.pdfEmpty{min-height:0}.pdfEmpty span{max-width:260px;font-size:13px;line-height:1.6}.pdfCanvasWrap{background:#eceff3;border:1px solid #d5dbe5;border-radius:6px;min-height:0;padding:12px;position:relative;overflow:auto}.pdfCanvasWrap canvas{background:#fff;margin:0 auto;display:block;box-shadow:0 1px 4px #1c27352e}.pdfFallback{grid-template-rows:auto minmax(0,1fr);gap:8px;min-height:0;display:grid}.pdfFallback iframe{background:#fff;border:1px solid #d5dbe5;border-radius:6px;width:100%;height:100%}.inlineWarning,.inlineStatus,.transcript{border-radius:8px;align-items:center;gap:8px;padding:8px 10px;font-size:13px;display:flex}.inlineWarning{color:#475569;background:#f1f5f9;border:1px solid #cbd5e1;margin-bottom:8px}.inlineStatus{color:#2563eb;background:#f3f6fa;border:1px solid #d7dee8;margin-top:10px}.inlineError{color:#b42318;background:#fff1f0;border:1px solid #ffd1cc;border-radius:8px;margin:10px;padding:10px;font-size:13px}.renderBadge{color:#fff;background:#1d2430d1;border-radius:999px;padding:4px 8px;font-size:12px;position:absolute;top:12px;right:12px}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.scriptDoc{background:#fff;flex-direction:column;gap:1px;min-width:0;min-height:0;padding:10px 16px;display:flex;overflow:auto}.sceneBlock{gap:1px;display:grid}.sceneHeader{border-top:1px solid #edf0f4;align-items:center;gap:8px;min-height:34px;margin-top:10px;padding:8px 8px 5px;display:flex}.sceneBlock:first-child .sceneHeader{border-top:0;margin-top:0}.sceneBlock.collapsed .sceneHeader{padding-bottom:8px}.sceneToggle{color:#8b93a1;background:0 0;border:0;border-radius:5px;flex:none;justify-content:center;align-items:center;width:24px;min-height:24px;padding:0;display:inline-flex}.sceneToggle:hover,.sceneToggle:focus-visible{color:#596273;background:#f1f3f6;outline:none}.sceneHeaderText{align-items:baseline;gap:8px;min-width:0;display:flex}.sceneTitleButton{color:#596273;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;max-width:min(360px,46vw);min-height:0;padding:0;font-size:12px;font-weight:900;overflow:hidden}.sceneTitleButton:hover,.sceneTitleButton:focus-visible{color:#2563eb;outline:none;text-decoration:underline}.sceneTitleButton:disabled{cursor:default;opacity:1;text-decoration:none}.sceneTitleInput{color:#243041;background:#fff;border:1px solid #93c5fd;border-radius:6px;width:min(360px,46vw);min-height:28px;padding:0 8px;font-size:13px;font-weight:800}.sceneHeaderText span{color:#a0a8b4;white-space:nowrap;font-size:11px;font-weight:800}.sceneActions{align-items:center;gap:6px;margin-left:auto;display:flex}.sceneActions .smallButton{min-height:28px;padding:0 8px;font-size:12px}.docRow{text-align:left;background:0 0;border:1px solid #0000;border-radius:5px;grid-template-columns:18px 26px 104px minmax(0,1fr);align-items:start;gap:10px;width:100%;padding:4px 8px;display:grid}.docRow.clickable{cursor:pointer}.docRow.clickable:hover,.docRow.clickable:focus-visible{background:#f5f7f9;border-color:#e7ebf1;outline:none}.docIndex{color:#aeb5c0;font-variant-numeric:tabular-nums;text-align:right;font-size:11px;font-weight:800}.docRole{color:#2563eb;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:800;overflow:hidden}.docText{color:#243041;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.55}.docText.empty{color:#aeb5c0}.docRow.togaki .docRole{color:#64748b}.docRow.togaki .docText{color:#5e6675;font-style:italic}.docRow.newLine{box-shadow:inset 3px 0 #3b82f6}.docRow.dragging{opacity:.42}.docRow.drop-before{border-top-color:#2563eb;box-shadow:inset 0 3px #2563eb}.docRow.drop-after{border-bottom-color:#2563eb;box-shadow:inset 0 -3px #2563eb}.dragHandle{color:#a8b0bd;cursor:grab;border-radius:4px;justify-content:center;align-items:center;width:18px;height:24px;display:inline-flex}.dragHandle:hover{color:#596273;background:#f1f3f6}.dragHandle:active{cursor:grabbing}.docRow.selected{background:#eff6ff;border:1px solid #93c5fd;border-radius:8px;grid-template-columns:1fr;gap:8px;margin:4px 0;padding:10px;scroll-margin:16px;display:grid;box-shadow:0 2px 8px #1c273512}.docRow.selected.newLine{box-shadow:0 2px 8px #1c273512,inset 3px 0 #3b82f6}.docEditHead{align-items:center;gap:8px;min-width:0;display:flex}.docEditHead .docIndex{text-align:left;flex:none}.docEditHead select{background:#fff;border:1px solid #d9dee8;border-radius:6px;min-height:30px;padding:0 8px;font-size:13px}.docEditHead input{background:#fff;border:1px solid #d9dee8;border-radius:6px;flex:1;min-width:0;max-width:220px;min-height:30px;padding:0 10px;font-size:13px}.docEditHead .readOnlyField{color:#8b93a1;background:#f1f3f6}.docTextArea{resize:vertical;background:#fff;border:1px solid #d9dee8;border-radius:6px;width:100%;min-height:84px;padding:8px 10px;font-size:14px;line-height:1.6;overflow:hidden}.docTextArea:focus{outline-offset:-1px;border-color:#93c5fd;outline:2px solid #93c5fd}.docRowActions{align-items:center;gap:6px;display:flex}.docActionsSpacer{flex:1}.pdfSourceBar{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px;display:flex}.pdfUploadControls{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.pdfEmpty .pdfUploadControls{justify-content:center;margin-top:6px}.practiceToolbar{grid-template-columns:minmax(0,1fr) minmax(180px,240px);align-items:center;gap:10px;display:grid}.modeTabs{background:#eef1f5;border-radius:8px;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;display:grid}.modeTabs button{color:#596273;background:0 0;border:0;border-radius:6px;min-height:34px;font-weight:900}.modeTabs .active{color:#2563eb;background:#fff;box-shadow:0 1px 2px #1c273514}.practiceRolePicker{color:#596273;border:0;min-width:0;margin:0;padding:0;font-size:12px;font-weight:900}.practiceRolePicker legend{margin-bottom:4px;padding:0}.practiceRoleOptions{flex-wrap:wrap;gap:5px;display:flex}.practiceRoleOptions button{color:#243041;background:#fff;border:1px solid #d9dee8;border-radius:999px;align-items:center;gap:3px;min-height:34px;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.practiceRoleOptions button.active{color:#1d4ed8;background:#eff6ff;border-color:#2563eb}.practiceRoleOptions button:focus-visible{outline-offset:1px;outline:2px solid #93c5fd}.practiceRoleSummary{color:#64748b;overflow-wrap:anywhere;margin-top:4px;font-size:11px;font-weight:700;display:block}.practiceRoleEmpty{color:#8b93a1;align-items:center;min-height:34px;display:inline-flex}.practiceScript{background:#fff;border:1px solid #dde2ea;border-radius:8px;flex-direction:column;flex:1;gap:2px;min-height:0;margin-top:14px;padding:14px;display:flex;overflow:auto}.practiceLine{color:#243041;text-align:left;background:0 0;border:1px solid #0000;border-radius:6px;grid-template-columns:42px 112px minmax(0,1fr) auto;align-items:baseline;gap:10px;width:100%;padding:9px 10px;display:grid}.practiceLine:hover{background:#f5f7f9;border-color:#e7ebf1}.practiceLine.active{background:#eff6ff;border-color:#93c5fd;box-shadow:inset 4px 0 #2563eb}.practiceLine.ownTurn:not(.active){background:#f8fafc}.practiceLine.togaki .practiceLineRole{color:#64748b}.practiceLine.togaki .practiceLineText{color:#5e6675;font-size:14px;font-style:italic}.practiceLine.masked .practiceLineText{color:#8b93a1;font-weight:900}.practiceLineIndex{color:#aeb5c0;font-variant-numeric:tabular-nums;text-align:right;font-size:11px;font-weight:900}.practiceLineRole{color:#2563eb;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:900;overflow:hidden}.practiceLineText{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;font-size:15px;line-height:1.85}.practiceLineMeta{justify-content:flex-end;align-items:center;gap:6px;min-width:0;display:inline-flex}.practiceLineAudio{color:#475569;white-space:nowrap;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:999px;padding:2px 7px;font-size:11px;font-weight:900}.practiceLineScene{color:#8b93a1;white-space:nowrap;font-size:11px;font-weight:800}.practiceEmpty{color:#697386;place-items:center;min-height:260px;font-weight:800;display:grid}.transcript{color:#184e80;background:#f0f7ff;border:1px solid #bdd7f5;margin-top:10px}.practiceRunStatus{color:#2563eb;background:#f3f6fa;border:1px solid #d7dee8;border-radius:8px;align-items:center;min-height:38px;margin-top:10px;padding:8px 10px;font-size:13px;font-weight:800;line-height:1.5;display:flex}.practiceControls{z-index:40;width:min(920px,100vw - 32px);padding:10px 12px calc(10px + env(safe-area-inset-bottom));backdrop-filter:blur(8px);background:#f6f7f9f5;border:1px solid #dde2ea;border-bottom:0;border-radius:10px 10px 0 0;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -6px 18px #1c27351f}.practiceControls button{white-space:nowrap;width:100%;padding-inline:10px}.practiceError{color:#b42318;background:#fff1f0;border:1px solid #ffd1cc;border-radius:8px;gap:8px;margin-top:10px;padding:10px;font-size:13px;display:grid}.legalPage{width:min(820px,100%);margin:0 auto;padding:28px}.legalArticle{background:#fff;border:1px solid #dde2ea;border-radius:8px;margin-top:18px;padding:28px;line-height:1.8}.legalArticle h1{font-size:32px}.legalArticle p{color:#3f4857}@media (width<=1080px){.account .textLink,.account .compactButton{display:none}.editorLayout{grid-template-rows:minmax(300px,40vh) minmax(360px,1fr);grid-template-columns:1fr}.editorResizer{display:none}.pdfColumn{border-bottom:1px solid #dde2ea;border-right:0}.pdfCanvasWrap,.pdfFallback{height:100%}}@media (width<=860px){.landing{padding:18px}.landingHero{grid-template-columns:1fr}h1{font-size:32px}.mockEditor{grid-template-columns:minmax(180px,.82fr) minmax(240px,1.18fr);height:440px}.mockLine{grid-template-columns:64px minmax(0,1fr)}.toolbar{overflow-x:auto}.titleInput{min-width:150px}.modeSwitch button{padding:0 12px}.historyOverlay{padding:10px}.historyDialog,.importDialog{max-height:calc(100vh - 20px)}.historyContent{grid-template-rows:170px minmax(0,1fr);grid-template-columns:1fr}.historyList{border-bottom:1px solid #dde2ea;border-right:0;gap:8px;display:flex;overflow:auto}.historyItem{min-width:220px}.historyPreviewLine{grid-template-columns:32px 96px minmax(0,1fr)}.docRow{grid-template-columns:18px 28px 88px minmax(0,1fr);gap:8px}.sceneHeader{flex-direction:column;align-items:flex-start;gap:6px}.sceneActions{flex-wrap:wrap;margin-left:0}.docRowActions{flex-wrap:wrap}.practiceStage{padding:14px 10px 132px}.practiceToolbar{grid-template-columns:1fr}.practiceScript{min-height:0;padding:10px}.practiceLine{grid-template-columns:32px 82px minmax(0,1fr);gap:8px;padding:8px}.practiceLineMeta,.practiceLineScene{display:none}.practiceControls{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:calc(100vw - 20px);padding-inline:8px}.topbar{padding:0 10px}.account span{max-width:120px}}@media (width<=560px){.mockEditor{grid-template-columns:1fr;height:auto}.mockPdfPage{min-height:240px}.listHeader{flex-direction:column;align-items:stretch}.listHeader .primary{width:100%}.listFooter{flex-direction:column;align-items:flex-start}.listFooterActions{justify-content:flex-start}.importHeader,.importFooter{flex-direction:column;align-items:flex-start}.importFooter button{width:100%}.historyHeader,.historyFooter{flex-direction:column;align-items:flex-start}.historyHeaderActions{justify-content:flex-end;width:100%}.historyFooter button{width:100%}.historyPreviewLine{grid-template-columns:30px minmax(0,1fr)}.historyPreviewLine p{grid-column:2}}
