@font-face{font-family:Manrope;src:url(/fonts/Manrope.ttf) format("truetype");font-style:normal;font-weight:200 800;font-display:swap}*{box-sizing:border-box}body{margin:0;background:#f5f6f8;color:#172a32;font-family:Manrope,Microsoft YaHei,sans-serif}.app{min-height:100vh}.brand{padding:32px 24px;color:#fff;font-size:24px;font-weight:600}.brand small{display:block;font-size:12px;line-height:16px;margin-top:12px;color:#92aaa9}.topbar{background:#fff;padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:16px}.ant-layout-content{padding:32px;max-width:1600px;min-width:0}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px;gap:24px}h1{font-size:30px;line-height:36px;font-weight:600;margin:16px 0;text-wrap:balance}p{color:#64777e;font-size:14px;line-height:20px;text-wrap:pretty}.toolbar{display:flex;justify-content:space-between;align-items:center;margin:24px 0;gap:16px;flex-wrap:wrap}.actions,.pagination{margin:24px 0}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.wide{grid-column:1/-1}.content-text{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;max-height:600px;overflow:auto;margin:0}.login{min-height:100vh;display:grid;place-items:center;padding:24px}.login .ant-card{width:100%;max-width:480px}.login button{margin-top:24px}.skip-link{position:fixed;left:16px;top:-80px;background:#fff;padding:16px;z-index:10000}.skip-link:focus{top:16px}:focus-visible{outline:2px solid #167568;outline-offset:4px}@media(max-width:800px){.ant-layout-content{padding:16px}.heading{display:block}.field-grid{grid-template-columns:1fr}.topbar{padding:0 16px;font-size:12px}.ant-drawer-content-wrapper{max-width:100vw}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.task-graph{display:flex;gap:16px;align-items:center;overflow:auto;padding:24px 0}.task-node{min-width:128px;display:flex;flex-direction:column;gap:12px;padding:16px;background:#f5f6f8;border:1px solid #e1e7e8;border-radius:8px}.studio-grid{display:grid;grid-template-columns:200px minmax(360px,1fr) 300px;gap:16px;overflow:auto}.studio-pane{min-width:0;padding:16px;border:1px solid #dce1e8;border-radius:8px}.diff-before{background:#fff0f0;padding:8px}.diff-after{background:#effaf2;padding:8px}@media(max-width:960px){.studio-grid{display:block}.studio-pane{margin-bottom:16px}}.discovery-platform-select{width:320px;max-width:100%}.discovery-genre{width:180px}.discovery-history{width:240px}.discovery-option-reason{font-size:12px;color:#667085;white-space:normal;line-height:1.5}.discovery-source-states{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.discovery-source-states .ant-tag{white-space:normal;max-width:100%;margin:0}.discovery-work{display:flex;align-items:flex-start;gap:16px}.discovery-work>div{min-width:0}.discovery-title.ant-btn{padding:0;height:auto;white-space:normal;text-align:left}.discovery-description{color:#667085;font-size:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:8px}.discovery-detail{display:flex;gap:24px;margin:16px 0}.discovery-detail .ant-descriptions{flex:1}.discovery-work>.ant-image{flex:0 0 48px}.discovery-work>.ant-image+div{flex:1}.studio-pane[hidden]{display:none}details{margin:16px 0}summary{cursor:pointer;color:#64777e;margin-bottom:16px}:root{--studio-bg:#f3f6f5;--studio-ink:#243b3b;--studio-muted:#738482;--studio-line:#e0e8e5;--studio-accent:#167568}body{background:var(--studio-bg);color:var(--studio-ink)}.app.ant-layout,.app>.ant-layout{background:var(--studio-bg)}.app>.ant-layout-sider{background:#fff;border-right:1px solid var(--studio-line);position:sticky;top:0;height:100vh;z-index:20}.brand{display:flex;align-items:center;gap:12px;padding:32px 24px 40px;color:var(--studio-ink);font-size:18px;line-height:28px;white-space:nowrap}.brand-symbol{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:12px;background:#167568;color:#fff;font-size:20px;font-weight:600;box-shadow:0 4px 12px #16756820}.brand small{margin-top:0;font-size:12px;line-height:16px;font-weight:400;color:var(--studio-muted)}.ant-layout-sider-collapsed .brand{padding:32px 16px}.app .ant-menu{padding:0 12px;border-inline-end:0!important;background:transparent}.app .ant-menu-item{margin-block:8px;padding-inline:16px!important}.app .ant-menu-item-selected{font-weight:600}.app .ant-menu-item .ant-menu-item-icon{vertical-align:middle}.app .ant-menu-item[data-menu-id$=cli]{margin-top:40px}.app .ant-layout-sider-trigger{background:#f7f9f8;color:var(--studio-muted);border-top:1px solid var(--studio-line)}.sidebar-note{position:absolute;bottom:96px;left:24px;right:24px;padding:16px;background:#f3f7f5;border-radius:12px;color:#486960;font-size:14px;line-height:20px}.sidebar-note small{display:block;color:var(--studio-muted);font-size:12px;line-height:16px;margin-top:8px}.topbar.ant-layout-header{height:80px;line-height:normal;background:#ffffffd9;border-bottom:1px solid var(--studio-line);padding:0 40px}.topbar-location{display:flex;align-items:center;gap:16px;color:var(--studio-muted);font-size:14px}.topbar-location strong{font-weight:600;color:var(--studio-ink)}.breadcrumb-divider{color:#bfccc7}.topbar .ant-btn{background:transparent}.topbar .ant-space{flex-shrink:0}.workspace-content.ant-layout-content{width:100%;max-width:1600px;margin:0 auto;padding:40px;min-height:calc(100vh - 80px)}h1{letter-spacing:-.02em;margin:8px 0 12px;font-size:30px;line-height:36px}.section-eyebrow{font-size:12px;line-height:16px;color:var(--studio-accent);font-weight:600;letter-spacing:.08em}.heading{align-items:center;margin:8px 0 32px}.heading p{margin:0;max-width:680px;line-height:24px;color:var(--studio-muted)}.heading>.ant-btn{height:48px;padding:8px 24px;font-size:14px}.ant-btn{transition:background-color .3s cubic-bezier(.22,1,.36,1),box-shadow .3s cubic-bezier(.22,1,.36,1)}.ant-btn:active{transform:translateY(1px)}.toolbar{background:#fff;border:1px solid var(--studio-line);border-radius:16px;padding:16px 24px;margin:0 0 16px;gap:16px}.toolbar>.ant-space{row-gap:12px!important}.toolbar .ant-input-search{max-width:240px}.toolbar>.ant-space>.ant-space-item>.ant-input{width:160px}.toolbar .ant-select{min-width:140px}.ant-input::placeholder{color:#9ca9a5}.ant-select-selection-placeholder{color:#9ca9a5!important}.entity-table{border:1px solid var(--studio-line);border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 4px 24px #243b3b03}.entity-table .ant-table-thead>tr>th{font-size:12px;line-height:16px;font-weight:500;white-space:nowrap}.entity-table .ant-table-tbody>tr>td{border-bottom-color:#edf1ef}.entity-table .ant-table-tbody>tr:last-child>td{border-bottom:0}.entity-table .ant-table-tbody>tr:hover>td{background:#f7faf8!important}.entity-table .ant-table-cell:first-child{padding-left:24px}.entity-table .ant-table-cell:last-child{padding-right:24px}.entity-table .ant-btn:not(.ant-btn-primary):not(.ant-btn-dangerous){box-shadow:none}.entity-table .ant-table-cell>.ant-space{flex-wrap:wrap;gap:8px!important}.entity-table .ant-table-cell>.ant-space .ant-btn:not(.ant-btn-primary){border-color:transparent;background:transparent}.project-identity{display:flex;align-items:center;gap:16px;min-width:200px}.project-mark{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:#e9f3ee;color:#367a63;flex-shrink:0}.project-mark.mark-analysis{background:#edf0fa;color:#697ab6}.project-mark.mark-writing{background:#f6eee6;color:#ac8059}.project-identity .ant-btn-link{padding:0;height:auto;text-align:left;white-space:normal;font-size:14px;line-height:24px;font-weight:600;color:var(--studio-ink)}.project-caption{color:var(--studio-muted);font-size:12px;line-height:16px;margin-top:4px}.entity-table .ant-tag{padding:4px 8px;border-radius:6px;font-size:12px}.pagination{display:flex;justify-content:flex-end;margin:24px 0}.ant-tabs-top>.ant-tabs-nav{margin-bottom:32px}.workspace-content>.ant-tabs>.ant-tabs-nav .ant-tabs-tab{padding:8px 4px 16px}.ant-tabs-nav:before{border-bottom-color:var(--studio-line)!important}.ant-card{box-shadow:0 4px 24px #243b3b03;border-color:var(--studio-line)}.ant-empty{padding:40px 24px}.ant-empty-description{color:var(--studio-muted)}.editor-page .heading{margin-top:0}.editor-page .heading h1{font-size:24px;line-height:32px;margin-top:16px}.editor-page .heading .ant-btn{padding-left:0;border:0;background:transparent;box-shadow:none;color:var(--studio-muted)}.studio-grid{grid-template-columns:200px minmax(0,1fr) 280px;gap:24px;overflow:visible;align-items:start}.studio-focused{grid-template-columns:200px minmax(0,1fr)}.studio-pane{background:#fff;border:1px solid var(--studio-line);border-radius:16px;padding:24px;box-shadow:0 4px 24px #243b3b03}.studio-pane h3{font-size:16px;line-height:24px;font-weight:600;margin:8px 0 24px}.studio-pane:first-child{background:#fafcfb;padding:24px 16px}.studio-pane:first-child .ant-btn{white-space:normal;height:auto;min-height:40px;padding:8px 12px;text-align:left}.studio-pane:first-child .ant-space{gap:8px!important}.studio-pane:first-child .ant-btn-text{color:#687d74}.studio-pane:first-child .ant-btn-primary{background:#e5f1ec;color:#126557}.studio-pane:nth-child(2){padding:32px;min-height:640px}.studio-pane:nth-child(2)>.ant-space:first-child{display:flex;justify-content:flex-start;margin-bottom:24px}.studio-pane:nth-child(2)>.ant-space:first-child h3{margin:0;font-size:18px;line-height:28px}.studio-pane .manuscript.ant-input{border:0;border-radius:0;box-shadow:none!important;resize:vertical;padding:16px 24px;font-size:16px;line-height:32px;color:#344c46;min-height:480px;background:#fff}.studio-pane .manuscript.ant-input:focus{outline:1px solid #e0e8e5;outline-offset:4px}.editor-wordcount{text-align:right;color:var(--studio-muted);font-size:12px;line-height:16px;margin-top:16px}.studio-pane .actions{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 16px}.report-body{padding:32px;background:#fafcfb;border:1px solid var(--studio-line);border-radius:12px;font-size:16px;line-height:32px}.ant-drawer .heading,.ant-modal .field-grid{margin-top:16px}.login{background:#edf3f0}.login .ant-card{padding:24px;border-radius:16px;box-shadow:0 16px 64px #243b3b0a}.login .ant-card-head-title{font-size:24px;line-height:32px}.login .ant-card-head{border:0}.login .ant-btn{height:48px}.login .ant-form-item-label{font-size:12px}@media(min-width:1600px){.workspace-content.ant-layout-content{padding:48px 64px}}@media(max-width:1100px){.workspace-content.ant-layout-content{padding:24px}.topbar.ant-layout-header{padding:0 24px}.toolbar{padding:16px}.studio-grid{grid-template-columns:160px minmax(0,1fr)}.studio-grid>.studio-pane:last-child:not([hidden]){grid-column:1/-1}.studio-pane:nth-child(2){padding:24px}}@media(max-width:800px){.topbar.ant-layout-header{height:64px;padding:0 16px}.topbar-location>span{display:none}.workspace-content.ant-layout-content{padding:24px 16px}.heading{display:flex;flex-wrap:wrap;gap:16px}.heading h1{font-size:24px;line-height:32px}.heading>.ant-btn{height:40px}.entity-table{overflow-x:auto}.entity-table .ant-table{min-width:640px}.toolbar>.ant-space{width:100%}.studio-grid{display:block}.studio-pane{margin-bottom:16px}.studio-pane .manuscript.ant-input{padding:16px 0}.sidebar-note{display:none}.topbar .ant-btn{padding:4px 8px}.topbar-location{min-width:0;font-size:12px}.topbar-location strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.report-body{padding:16px}}@media(prefers-reduced-motion:reduce){.ant-btn{transition:none!important;transform:none!important}}.app .ant-menu-inline-collapsed .ant-menu-title-content{display:none}.app .ant-menu-inline-collapsed .ant-menu-item{padding-inline:0!important;display:flex;align-items:center;justify-content:center}.app .ant-menu-inline-collapsed .ant-menu-item-icon{margin:0!important}.studio-pane .manuscript.ant-input{min-height:400px}.app:has(.script-workbench)>.ant-layout-sider,.app:has(.script-workbench) .topbar{display:none}.workspace-content.editor-page:has(.script-workbench){padding:0;margin:0;max-width:none;background:var(--studio-bg);min-height:100vh}.script-workbench{--script-bg:var(--studio-bg);--script-panel:#ffffff;--script-paper:#ffffff;--script-border:var(--studio-line);--script-text:var(--studio-ink);color:var(--script-text);background:var(--script-bg);height:100vh;display:flex;flex-direction:column;font-size:14px;line-height:24px}.script-top{display:flex;align-items:center;gap:16px;min-height:64px;padding:12px 16px;border-bottom:1px solid var(--script-border)}.script-top>strong{max-width:40vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.script-top-actions{margin-left:auto;display:flex;align-items:center;gap:8px}.script-layout{display:grid;grid-template-columns:224px minmax(320px,1fr) 360px;gap:8px;padding:8px;flex:1;min-height:0}.script-layout.assistant-hidden{grid-template-columns:224px minmax(320px,1fr)}.script-directory,.script-document,.script-assistant{background:var(--script-panel);border-radius:12px;min-width:0;overflow:auto}.script-directory{padding:16px 12px}.script-directory h3{margin:0 0 24px;font-size:14px;line-height:20px}.script-directory .directory-label{color:var(--studio-muted);font-size:12px;line-height:16px}.script-directory .ant-btn{justify-content:flex-start;text-align:left;white-space:normal;height:auto;min-height:40px;padding:8px 12px}.script-directory .script-directory-group{margin:24px 0}.script-directory-group summary{color:var(--studio-ink);font-weight:600;margin-bottom:8px}.script-directory-group>.ant-btn{padding-left:24px}.directory-empty{font-size:12px;color:var(--studio-muted);margin-left:24px}.script-document-toolbar{position:sticky;top:0;z-index:1;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:16px 24px}.script-document-toolbar span{color:var(--studio-muted);font-size:12px}.script-paper{margin:8px auto 40px;padding:40px 48px;background:var(--script-paper);width:calc(100% - 64px);max-width:1040px;min-height:calc(100vh - 200px);border-radius:12px}.script-paper h2{font-size:20px;line-height:28px;margin:0 0 24px;color:var(--studio-ink)}.script-title.ant-input{font-size:20px;line-height:28px;font-weight:600;margin-bottom:24px;padding:0;border:0;background:transparent!important;box-shadow:none}.script-textarea.ant-input{border:0;box-shadow:none!important;background:transparent!important;color:var(--studio-ink);padding:0;font-size:14px;line-height:32px;resize:none}.script-textarea.ant-input::placeholder{color:#9ca9a5}.script-assistant{display:flex;flex-direction:column;overflow:hidden}.assistant-heading{display:flex;justify-content:space-between;align-items:center;padding:8px 16px;border-bottom:1px solid var(--script-border)}.assistant-messages{padding:16px;overflow:auto;flex:1;min-height:0}.assistant-intro h3{font-size:16px;line-height:24px;font-weight:600}.assistant-intro p,.script-workbench p{color:var(--studio-muted);font-size:12px;line-height:24px}.assistant-task{margin:24px 0}.assistant-response{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:28px;padding:16px 0}.assistant-messages .ant-card{margin:12px 0;background:#fff;border-color:var(--studio-line);box-shadow:none}.assistant-messages .ant-card-head{color:var(--studio-ink);font-size:12px}.assistant-messages .ant-card-head-title{white-space:normal}.assistant-composer{padding:12px;margin:8px;background:var(--studio-bg);border:1px solid var(--studio-line);border-radius:16px}.assistant-composer>.ant-input{background:transparent!important;border:0;box-shadow:none;color:var(--studio-ink);resize:none}.assistant-composer>div{display:flex;align-items:center;gap:8px;margin-top:16px}.assistant-composer .ant-select{flex:1;min-width:0}.script-workbench .ant-btn{background:#fff;border-color:var(--studio-line);color:var(--studio-ink);box-shadow:none}.script-workbench .ant-btn-text{background:transparent;border-color:transparent}.script-workbench .ant-btn:hover{color:#126557!important;background:#edf5f1!important;border-color:#b7d4c7!important}.script-workbench .ant-btn-primary{background:#167568;border-color:#167568;color:#fff}.script-workbench .ant-btn:disabled{color:#a7b3ae;border-color:var(--studio-line);background:#f1f4f2}.script-workbench .ant-tag{color:#486960;background:#fff;border-color:var(--studio-line)}.script-workbench .ant-select-selector{background:#fff!important;border-color:var(--studio-line)!important;color:var(--studio-ink)!important}.script-workbench .ant-select-selection-placeholder,.script-workbench .ant-select-arrow{color:var(--studio-muted)!important}.script-workbench .ant-alert{background:#fff;border-color:var(--studio-line)}.script-workbench .ant-alert-message,.script-workbench .ant-card-body{color:var(--studio-ink)}.script-workbench .ant-table{color:#243b3b}.script-workbench .ant-btn:focus-visible,.script-workbench .ant-input:focus-visible{outline:2px solid #167568;outline-offset:4px}@media(min-width:1700px){.script-layout{grid-template-columns:240px minmax(320px,1fr) 440px}.script-layout.assistant-hidden{grid-template-columns:240px minmax(320px,1fr)}}@media(max-width:1100px){.script-layout{grid-template-columns:180px minmax(280px,1fr) 300px}.script-paper{padding:24px;width:calc(100% - 32px)}.script-top,.script-top-actions{flex-wrap:wrap}.script-top>strong{max-width:60vw}}@media(max-width:800px){.script-workbench{height:auto;min-height:100vh}.script-layout,.script-layout.assistant-hidden{display:flex;flex-direction:column}.script-directory{max-height:240px}.script-document{overflow:visible}.script-paper{min-height:480px}.script-assistant{min-height:560px;max-height:800px}.script-top-actions{margin-left:0;width:100%}.assistant-messages{min-height:240px}.script-document-toolbar{padding:12px}.script-top>strong{max-width:65vw}}.outline-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px}.outline-field{min-width:0}.outline-field:not(.outline-engine-field){grid-column:1/-1}.outline-field-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.script-paper .outline-field h3{font-size:20px;line-height:28px;font-weight:600;color:var(--studio-ink);margin:0}.script-paper .outline-engine-field h3{font-size:16px;line-height:24px}.outline-field .script-textarea.ant-input{min-height:0}.outline-field-heading .ant-btn{color:#167568}.outline-legacy{margin-top:32px;color:var(--studio-muted)}.outline-legacy summary{color:var(--studio-muted)}@media(max-width:1000px){.outline-fields{grid-template-columns:1fr}.outline-engine-field{grid-column:1/-1}}.script-top{background:#fff}.script-document{background:#f7f9f8}.script-paper{border:1px solid var(--studio-line);box-shadow:0 4px 24px #243b3b03}.script-directory,.script-assistant{border:1px solid var(--studio-line)}.script-directory .ant-btn-primary{background:#e5f1ec;border-color:transparent;color:#126557}.script-workbench .ant-btn-primary:hover{background:#126557!important;border-color:#126557!important;color:#fff!important}.script-workbench .ant-tag{background:#edf5f1;color:#486960}.assistant-composer{background:#fff}.assistant-messages .ant-card{background:#fafcfb}.script-document-toolbar{border-bottom:1px solid var(--studio-line)}.script-analysis-notice{flex:none;min-width:0}.script-analysis-notice .ant-alert{padding:6px 12px}.script-analysis-notice .ant-alert-content{min-width:0}.script-analysis-summary{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
