.reporter-page{background:var(--paper);overflow-x:hidden}
.reporter-page .page-shell{max-width:1180px;padding-top:24px}
.topbar-actions{display:flex;align-items:center;gap:8px}
.reporter-return-link{width:36px;height:36px;display:grid;place-items:center;border:1px solid #aec8bd;border-radius:13px;background:#e4f0ea;color:#3f6858;text-decoration:none;font-size:20px;font-weight:800}
.story-create-card{max-width:650px;margin:8vh auto;padding:24px}
.story-create-card .back-link{margin-bottom:16px}
.story-create-form,.story-title-form{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:8px}
.story-create-form input,.story-title-form input{height:40px;padding:8px 12px;background:#fff}
.story-icon-button{width:38px;height:38px;min-width:38px;padding:0;display:grid;place-items:center;border:1px solid var(--line);border-radius:11px;background:#fff;color:#405159;cursor:pointer}
.story-icon-button:disabled{opacity:.42;cursor:wait}
summary.story-icon-button{list-style:none}
summary.story-icon-button::-webkit-details-marker{display:none}
.story-icon-button svg,.story-source-actions svg,.story-analysis-section h2 svg,.story-picker svg,.story-web-results svg,.story-raw-source svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.story-primary-icon{background:var(--ink);border-color:var(--ink);color:#fff}
.story-project-top{max-width:1120px;margin:0 auto 12px;display:grid;grid-template-columns:40px minmax(0,650px);gap:8px}
.story-project-top .back-link{width:40px;height:40px;margin:0}
.story-title-form button{height:40px}
.story-stage-bar{max-width:1120px;margin:0 auto 12px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.story-stage-bar form{margin:0}.story-stage-bar button{width:100%;height:38px;padding:0 9px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dce5e0;border-radius:11px;background:#fff;color:#718079;font:inherit;font-size:11px;font-weight:750;cursor:pointer}.story-stage-bar button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.story-stage-bar button.is-current{border-color:#8eb4a1;background:#e4f0ea;color:#315d4c}
.story-layout{max-width:1120px;margin:0 auto;display:grid;gap:14px}
.story-source-panel,.story-result-panel{min-width:0;padding:16px;border-radius:20px}
.story-material-panel{min-width:0;padding:14px 16px;border-radius:20px}.story-material-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px}.story-panel-label{color:#4d6058;font-size:12px;font-weight:800}.story-material-add .story-picker{width:min(490px,calc(100vw - 58px))}.story-material-form{margin-top:8px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 38px;gap:7px}.story-material-form select,.story-material-form textarea{min-width:0;border:1px solid var(--line);border-radius:10px;background:#fff;padding:8px 10px;color:var(--ink);font:inherit;font-size:12px}.story-material-form textarea{grid-column:1/3;resize:vertical;line-height:1.4}.story-material-form button{grid-column:3;grid-row:1/3;align-self:end}.story-material-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}.story-material-item{min-width:0;display:grid;grid-template-columns:25px minmax(0,1fr) auto;gap:7px;align-items:start;padding:9px;border:1px solid #e2e8e4;border-radius:12px;background:#fafbf9}.story-material-item p{margin:2px 0 0;color:#405058;font-size:11px;line-height:1.42;white-space:pre-wrap;overflow-wrap:anywhere}.story-material-icon{width:24px;height:24px;display:grid;place-items:center;border-radius:8px;background:#e8f1ed;color:#426857}.story-material-icon svg,.story-material-actions svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.story-material-item.quote .story-material-icon{background:#f1ebdf;color:#876d35}.story-material-item.question .story-material-icon{background:#e7eef4;color:#506d81}.story-material-item.conflict .story-material-icon{background:#f6e8e5;color:#925f55}.story-material-actions{display:flex;gap:2px}.story-material-actions form{margin:0}.story-material-actions a,.story-material-actions button{width:24px;height:24px;padding:0;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;color:#697c73;text-decoration:none;cursor:pointer}.story-material-actions button{color:#916c68}.story-material-actions a:hover{background:#e7f0ec}.story-material-actions button:hover{background:#f6e8e5}.story-material-blank{min-height:44px;display:grid;place-items:center;color:#d6dfda;font-size:27px}
.story-panel-tools,.story-ai-tools{display:flex;align-items:center;gap:7px;min-height:38px}
.story-count{width:30px;height:30px;display:grid;place-items:center;margin-right:auto;border-radius:9px;background:#eef3f0;color:#53655d;font-size:12px;font-weight:800}
.story-add-box{position:relative}
.story-add-box[open]>summary{background:#405a50;border-color:#405a50}
.story-picker{position:absolute;top:45px;right:0;z-index:8;width:min(520px,calc(100vw - 58px));padding:10px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 18px 45px rgba(38,51,59,.16)}
.story-picker-menu{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.story-picker-menu a,.story-picker-menu button{min-width:0;min-height:58px;padding:7px 3px;display:grid;place-items:center;align-content:center;gap:4px;border:1px solid #e3e8e5;border-radius:10px;background:#f8faf8;color:#43535a;text-decoration:none;font-size:10px;font-weight:700;cursor:pointer}
.story-picker-menu a:hover,.story-picker-menu button:hover,.story-picker-menu button.is-active{background:#e8f1ed;border-color:#bcd0c7}
.story-picker-menu svg{width:18px;height:18px}
.story-picker-form{margin-top:8px;display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:7px}
.story-picker-form input,.story-picker-form textarea,.story-picker-form select{min-width:0;border:1px solid var(--line);border-radius:10px;background:#fff;padding:8px 10px;color:var(--ink);font:inherit;font-size:13px}
.story-picker-form textarea{resize:vertical;line-height:1.35}
.story-note-form{grid-template-columns:minmax(0,1fr) 38px}
.story-note-form textarea{grid-column:1}
.story-note-form .story-icon-button{grid-column:2;grid-row:1/3;align-self:end}
.story-source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}
.story-source-card{min-width:0;border:1px solid var(--line);border-radius:14px;background:#fafbf9;overflow:hidden}
.story-source-header{min-height:54px;padding:8px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;border-bottom:1px solid #e8ece9}
.story-source-number{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:#e4eee9;color:#47675a;font-size:11px;font-weight:800}
.story-source-heading{min-width:0;display:grid;gap:1px}
.story-source-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.story-source-heading small{color:var(--muted);font-size:10px}
.story-source-actions{display:flex;align-items:center;gap:2px}
.story-source-actions form{margin:0}
.story-source-actions a,.story-source-actions button{width:29px;height:29px;padding:0;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:#6b7d75;text-decoration:none;cursor:pointer}
.story-source-actions button{color:#8b6868}
.story-source-actions a:hover{background:#e8f1ed}.story-source-actions button:hover{background:#f7e8e6}
.story-source-actions svg{width:14px;height:14px}
.story-source-text{max-height:230px;overflow:auto;padding:10px 11px;color:#3f4e55;font-size:12px;line-height:1.46;white-space:pre-wrap;overflow-wrap:anywhere}
.story-processed-label{display:inline-block;margin:9px 11px 0;padding:3px 7px;border-radius:999px;background:#e3eee9;color:#416657;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
.story-processed-text{padding-top:7px}
.story-raw-source{border-top:1px solid #e7ebe8}
.story-raw-source>summary{padding:7px 11px;display:flex;align-items:center;gap:6px;list-style:none;color:#75827d;font-size:10px;font-weight:700;cursor:pointer}
.story-raw-source>summary::-webkit-details-marker{display:none}
.story-raw-source .story-source-text{max-height:170px;padding-top:2px;color:#63716c}
.story-raw-source svg{width:13px;height:13px}
.story-source-wait{min-height:74px;padding:10px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:12px}
.story-web-results{margin-top:12px;padding-top:10px;display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px;border-top:1px solid var(--line)}
.story-web-mark{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:#e8eef4;color:#506d81}
.story-web-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.story-web-list article{position:relative;min-width:0;border:1px solid #e1e6e3;border-radius:10px;background:#fff}
.story-web-list a{min-height:48px;padding:7px 31px 7px 9px;display:grid;align-content:center;gap:1px;text-decoration:none}
.story-web-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.story-web-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:9px}
.story-web-list form{position:absolute;top:6px;right:5px;margin:0}
.story-web-list button{width:24px;height:24px;padding:0;border:0;border-radius:7px;background:transparent;color:#89948f;cursor:pointer}
.story-web-list button:hover{background:#f3e9e7;color:#8b6868}
.story-result-panel{min-height:230px}
.story-ai-tools{justify-content:flex-end;margin-bottom:10px}
.story-ai-button{position:relative;background:#edf4f0;color:#365e50;border-color:#c9dbd3}
.story-ai-button.is-working svg{opacity:.16}
.story-ai-button .button-spinner,.story-focus-form .button-spinner{position:absolute;margin:0}
.story-focuses{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:9px}
.story-focuses button{padding:6px 9px;border:1px solid #ccdad4;border-radius:999px;background:#f4f8f6;color:#476156;font-size:11px;font-weight:650;cursor:pointer;text-align:left}
.story-focuses button:hover{background:#e4eee9}
.story-analysis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.story-analysis-section{padding:11px;border:1px solid var(--line);border-radius:13px;background:#fafbf9}
.story-analysis-section h2{margin:0 0 7px;display:flex;align-items:center;gap:6px;font-size:12px}
.story-analysis-section h2 svg{width:14px;height:14px}
.story-facts h2{color:#356451}.story-checks h2{color:#896a32}.story-questions h2{color:#536b7e}
.story-analysis-section ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.story-analysis-section li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding-top:6px;border-top:1px solid #e7ebe8}
.story-analysis-section li:first-child{padding-top:0;border-top:0}
.story-analysis-section p{margin:0;color:#3c4b52;font-size:11px;line-height:1.42}
.story-references{display:flex;flex-wrap:wrap;gap:3px;align-content:start}
.story-references a{width:19px;height:19px;display:grid;place-items:center;border-radius:6px;background:#e3ece8;color:#3f6556;text-decoration:none;font-size:9px;font-weight:800}
.story-none{color:#9aa49f}
.story-focus-form{margin-top:9px;display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:7px}
.story-focus-form input{height:38px;padding:8px 11px;font-size:12px}
.story-focus-form button{position:relative}
.story-headlines{margin-top:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.story-headlines form{min-width:0}
.story-headlines button{width:100%;height:100%;padding:8px 10px;border:1px solid #d9e1dd;border-radius:11px;background:#f7f9f7;color:#34454c;font-size:11px;line-height:1.35;cursor:pointer}
.story-headlines button:hover{background:#e7f0ec;border-color:#b9cec4}
.story-draft-form{position:relative;margin-top:10px}
.story-draft-form textarea{min-height:380px;padding:12px 47px 12px 13px;resize:vertical;line-height:1.55;font-size:13px}
.story-save-draft{position:absolute;top:7px;right:7px;background:#edf4f0}
.story-editor-form{display:flex;justify-content:flex-end;margin-top:10px}.story-editor-link{height:36px;padding:0 11px;display:inline-flex;align-items:center;gap:6px;border:1px solid #bdd3c6;border-radius:10px;background:#eaf3ee;color:#365d4d;font:inherit;font-size:11px;font-weight:750;cursor:pointer}.story-editor-link svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.story-editor-link:hover{background:#dcece3}
.story-blank{min-height:150px;display:grid;place-items:center;color:#d4ddd8;font-size:42px}
.work-kind.story-kind{background:#f2ebdc;color:#806d47}
@media(max-width:820px){.story-source-list,.story-web-list,.story-material-list{grid-template-columns:1fr}.story-analysis{grid-template-columns:1fr}.story-headlines{grid-template-columns:1fr}}
@media(max-width:620px){.reporter-page .page-shell{padding:18px 12px 50px}.story-source-panel,.story-result-panel,.story-material-panel{padding:12px}.story-project-top{grid-template-columns:40px minmax(0,1fr)}.story-picker{position:fixed;top:82px;left:12px;right:12px;width:auto}.story-picker-menu{grid-template-columns:repeat(3,minmax(0,1fr))}.story-note-form{grid-template-columns:minmax(0,1fr) 110px 38px}.story-source-header{grid-template-columns:29px minmax(0,1fr) auto}.story-draft-form textarea{min-height:330px}.story-stage-bar{gap:5px}.story-stage-bar button{padding:0 5px;font-size:10px}.story-material-add .story-picker{position:fixed;top:82px;left:12px;right:12px;width:auto}.story-material-form{grid-template-columns:minmax(0,1fr) 38px}.story-material-form select:first-of-type{grid-column:1}.story-material-form select:last-of-type{grid-column:1}.story-material-form textarea{grid-column:1}.story-material-form button{grid-column:2;grid-row:1/4}}
