:root{--ink:#24313b;--muted:#77818e;--bg:#faf9f7;--line:#eceaf0;--purple:#6943cc;--purple-light:#f1ecff;--white:#fff;--shadow:0 8px 32px rgba(29,28,45,.032)}
*{box-sizing:border-box}html{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}body{margin:0;background:var(--bg);color:var(--ink);font-size:14px;line-height:1.55}button,input{font:inherit}button{cursor:pointer}a{color:inherit}.shell{min-height:100vh;display:grid;grid-template-columns:254px minmax(0,1fr)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:28px 16px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;margin:0 10px 60px;color:#262638;text-decoration:none;font-size:21px;font-weight:700;letter-spacing:-1.1px;line-height:1.1}.brand-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#6c48ca;color:#fff;font-family:"Playfair Display",Georgia,serif;font-size:22px;font-weight:700;letter-spacing:-1px}.brand-dot{color:#d3c3ff}.brand-light{font-weight:500;color:#8e86a5}.brand small{display:block;color:#9992a8;font-size:9px;letter-spacing:1.55px;margin-top:7px;font-weight:700}.sidebar-section-label{font-size:10px;letter-spacing:1.45px;color:#a8a9b3;font-weight:700;margin:0 16px 13px}.topic-label{margin-top:40px}.nav-items{display:grid;gap:5px}.nav-item{width:100%;display:flex;align-items:center;gap:11px;padding:12px 13px;text-align:left;background:transparent;border:0;border-radius:10px;color:#65707d;font-size:12.5px;font-weight:600}.nav-item:hover,.nav-item:focus-visible{background:#f7f4fc;color:#6543bd}.nav-item.active{background:#f1ebfb;color:#6943cc}.nav-icon{width:21px;text-align:center;font-size:18px;line-height:1}.nav-count{margin-left:auto;font-size:11px;color:#8c83a3}.topic-dot{width:8px;height:8px;border-radius:50%;margin:0 6px}.topic-dot.purple{background:#926bd9}.topic-dot.orange{background:#e4a072}.topic-dot.blue{background:#739ad6}.sidebar-bottom{margin-top:auto}.safety-mini{display:flex;gap:11px;background:#f8f6fc;padding:14px 12px;border-radius:12px}.safety-symbol{width:25px;height:25px;display:grid;place-items:center;color:#5b8d71;background:#e9f4ed;border-radius:50%;flex-shrink:0;font-weight:700}.safety-mini strong,.safety-mini span{display:block;font-size:11px}.safety-mini span{color:#88919b;font-size:10.5px}.sidebar-foot{color:#aca9b5;font-size:10px;padding:10px 13px 0}.workspace{min-width:0}.topbar{height:72px;border-bottom:1px solid #edeaf0;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 45px}.crumb{display:flex;gap:11px;align-items:center;color:#aaa7b3;font-size:12px}.crumb strong{color:#403e50;font-weight:600}.slash{color:#d7d2df}.top-right{display:flex;align-items:center;gap:22px}.sync-indicator{font-size:11px;color:#7c8190}.pulse{display:inline-block;width:7px;height:7px;background:#74b894;border-radius:50%;margin-right:7px}.avatar{background:#eee7fb;color:#7349cc;font-size:11px;font-weight:700;width:33px;height:33px;display:grid;place-items:center;border-radius:50%}.mobile-brand{display:none;gap:8px;align-items:center}.content{max-width:1300px;margin:0 auto;padding:56px clamp(24px,4vw,70px) 25px}.eyebrow{display:flex;align-items:center;gap:10px;font-size:10px;font-weight:700;letter-spacing:2px;color:var(--purple)}.eyebrow-line{width:19px;height:2px;background:var(--purple)}.intro-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin-top:15px}.intro h1{font-family:"Playfair Display",Georgia,serif;font-size:clamp(30px,3.2vw,45px);line-height:1.2;letter-spacing:-1.2px;margin:0;color:#292938}.intro h1 em{color:#805ed3;font-style:italic}.intro p{font-size:13.5px;color:#92909d;margin:13px 0 0}.today-box{text-align:right;white-space:nowrap;padding-bottom:5px}.today-box span{display:block;font-size:9px;letter-spacing:1.2px;color:#b0adba;font-weight:700}.today-box strong{font-weight:600;font-size:13px;color:#6f7180}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:39px 0 55px}.metric{background:#fff;border:1px solid var(--line);border-radius:13px;padding:21px 22px;display:flex;align-items:center;gap:15px;box-shadow:var(--shadow)}.metric-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:11px;font-size:21px;flex-shrink:0}.lilac{color:#7e5acb;background:#f1ebfc}.peach{color:#d69067;background:#fff2e9}.mint{color:#65a88c;background:#eaf7f1}.metric div span,.metric strong{display:block}.metric div span{font-size:11px;color:#9996a4}.metric strong{font-size:24px;line-height:1.2;letter-spacing:-.7px;margin-top:3px;color:#313140}.section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:26px}.section-kicker{font-size:10px;letter-spacing:1.5px;color:#8e69d6;font-weight:700}.section-title h2{font-family:"Playfair Display",Georgia,serif;font-size:28px;letter-spacing:-.6px;margin:5px 0 1px}.section-title p{color:#a0a0ad;font-size:12px;margin:3px 0}.results{color:#aaa6b3;font-size:11px;white-space:nowrap}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.search-wrap{width:min(380px,100%);display:flex;align-items:center;gap:11px;border:1px solid #e7e5eb;background:white;border-radius:10px;padding:0 14px;min-height:42px}.search-wrap span{color:#b8b4c1;font-size:25px;line-height:1}.search-wrap input{outline:0;width:100%;min-width:0;border:0;background:none;font-size:11px;color:#333}.search-wrap input::placeholder{color:#b2afb9}.search-wrap:focus-within{border-color:#ac93e5;box-shadow:0 0 0 3px #f0eafb}.filters{display:flex;gap:5px;flex-wrap:wrap}.filter{border:1px solid transparent;background:none;padding:9px 13px;border-radius:8px;color:#8d8b99;font-size:11px;font-weight:700}.filter.active{background:#eee8fa;color:#7048ca}.filter:hover{color:#7048ca}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.story-card{min-width:0;border:1px solid #ece9ee;border-radius:14px;background:white;padding:23px 24px 0;display:flex;flex-direction:column;box-shadow:var(--shadow)}.card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.category-pill{font-size:10px;padding:5px 10px;border-radius:5px;color:#7659ba;background:#f2edfc;font-weight:700}.category-pill.saas{color:#c28253;background:#fff1e7}.category-pill.markets{color:#5c86bd;background:#ecf3fc}.card-date{color:#b0acb8;font-size:10px}.card-title{font-family:"Playfair Display",Georgia,serif;font-size:20px;letter-spacing:-.15px;font-weight:700;line-height:1.38;color:#30303f;margin:0 0 10px}.card-description{font-size:11.5px;color:#8f94a0;margin:0 0 15px;line-height:1.8;max-height:65px;overflow:hidden}.card-source{display:flex;align-items:center;gap:7px;font-size:11px;margin:0 0 19px;flex-wrap:wrap}.source-mark{color:#8d65ce}.source-link{color:#8660d1;text-decoration:none;font-weight:700}.source-link:hover{text-decoration:underline}.source-publisher{color:#b2aeba;overflow:hidden;text-overflow:ellipsis;max-width:140px;white-space:nowrap}.draft-panel{border-radius:9px;border:1px solid #eee9f6;background:#faf8fd;padding:16px;margin-top:auto}.draft-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.draft-heading>span:first-child{color:#8760d3;font-size:9px;font-weight:800;letter-spacing:1px}.review-tag{font-size:8px;color:#a29aaa;background:#fff;border:1px solid #e9e4f0;border-radius:4px;padding:3px 5px;letter-spacing:.4px}.draft-text{white-space:pre-wrap;overflow-wrap:anywhere;color:#565363;font-size:12px;line-height:1.7;margin:13px 0}.draft-bottom{border-top:1px solid #ebe5f2;padding-top:13px;display:flex;justify-content:space-between;gap:10px;align-items:center}.char-count{font-size:10px;color:#afabb8}.char-count.over{color:#b96c58}.copy-button{background:#7048c8;border:0;border-radius:7px;color:white;font-weight:700;font-size:10.5px;padding:9px 12px}.copy-button:hover{background:#5b34b1}.copy-button:disabled{opacity:.5;cursor:not-allowed}.card-footer{display:flex;justify-content:space-between;align-items:center;padding:14px 0;margin-top:5px}.status-info{font-size:10px;color:#9695a3}.status-info::before{content:"";display:inline-block;width:6px;height:6px;background:#d1ae77;border-radius:50%;margin-right:8px}.status-info.reviewed::before{background:#62a17b}.save-button{border:0;background:none;color:#a4a1ae;padding:3px;font-size:10.5px}.save-button span{font-size:16px;vertical-align:-1px;margin-right:4px}.save-button[aria-pressed="true"]{color:#7048c8}.notice{padding:13px 16px;margin-bottom:18px;background:#fff8e9;border:1px solid #f5e7ba;border-radius:9px;color:#8f6e2c;font-size:12px}.empty{text-align:center;border:1px dashed #e6dfed;padding:75px 20px;border-radius:16px;background:white}.empty-symbol{display:block;color:#b8a8d8;font-size:42px}.empty h3{font-family:"Playfair Display",Georgia,serif;font-size:23px;margin:12px 0 5px}.empty p{color:#95919f;font-size:12px}.secondary-action{background:#f0eafb;color:#734dc8;border:0;border-radius:8px;padding:10px 16px;font-weight:700;font-size:12px}.footer{border-top:1px solid var(--line);display:flex;gap:10px;justify-content:space-between;margin-top:55px;padding:22px 0 0;font-size:10px;color:#aaa6b2}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}
@media(max-width:1150px){.shell{grid-template-columns:210px minmax(0,1fr)}.content{padding:40px 28px}.topbar{padding:0 28px}.toolbar{align-items:stretch;flex-direction:column}.search-wrap{width:100%}.cards{gap:13px}.story-card{padding:18px 18px 0}}
@media(max-width:850px){.shell{display:block}.sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:12px 18px;background:#fff}.sidebar>.brand,.sidebar-section-label,.sidebar-bottom,.topic-label,.topic-item{display:none}.nav-items{display:flex;gap:6px;overflow:auto}.nav-items .nav-item{flex:0 0 auto;width:auto;white-space:nowrap;padding:9px 12px}.nav-count{margin-left:4px}.topbar{height:58px}.mobile-brand{display:flex}.crumb{display:none}.content{padding:35px 22px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics{margin:30px 0 42px}}
@media(max-width:650px){.content{padding:30px 16px}.cards{grid-template-columns:1fr}.intro-heading{display:block}.today-box{text-align:left;margin-top:23px}.intro h1{font-size:34px}.metrics{gap:8px}.metric{padding:13px 12px;gap:8px;align-items:flex-start}.metric-icon{width:29px;height:29px;font-size:15px;border-radius:7px}.metric div span{font-size:9px}.metric strong{font-size:21px}.topbar{padding:0 17px}.section-title h2{font-size:25px}.footer{flex-direction:column}.filter{padding:7px 10px}.story-card{padding:19px 18px 0}}
@media(prefers-reduced-motion:no-preference){.story-card,.copy-button{transition:box-shadow .17s,transform .17s,background .17s}.story-card:hover{box-shadow:0 11px 29px rgba(58,46,87,.07);transform:translateY(-2px)}}

/* Inline editor keeps the original card design and saves drafts in browser storage only. */
.draft-actions{display:flex;align-items:center;gap:8px}
.edit-button{border:1px solid #e0d7f0;background:#fff;border-radius:7px;color:#714cb8;font-size:10.5px;font-weight:700;padding:8px 11px}
.edit-button:hover,.edit-button:focus-visible{border-color:#ad92e3;background:#f7f2ff}
.compose-panel{margin:13px 0 2px;border:1px solid #e8dff5;background:#fff;border-radius:9px;padding:12px}
.compose-label{display:block;color:#69528f;font-size:11px;font-weight:700}
.compose-label span{font-size:10px;color:#a39eaf;font-weight:500;margin-left:4px}
.compose-input{display:block;width:100%;min-height:110px;margin-top:8px;border:1px solid #ded7e9;border-radius:7px;resize:vertical;background:#fff;color:#33313f;font-size:12px;line-height:1.7;padding:10px;outline:none}
.compose-input:focus{border-color:#9879d9;box-shadow:0 0 0 3px #ede5fb}
.compose-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px}
.reset-edit{border:0;background:transparent;color:#7252b2;text-decoration:underline;font-size:10px;padding:0}
.reset-edit:disabled{color:#bbb7c3;text-decoration:none;cursor:default}
.local-note{font-size:9px;color:#aaa6b4;text-align:right}
@media(max-width:430px){.draft-bottom{align-items:flex-start;flex-wrap:wrap}.draft-actions{margin-left:auto}.compose-actions{align-items:flex-start;flex-wrap:wrap}.local-note{margin-left:auto}}


/* Phase 1 additions: compact newsroom signals and personal workflow.
   All original layout, typography and colors are intentionally retained. */
.card-top{gap:8px;flex-wrap:wrap}
.card-date{margin-left:auto}
.trend-pill{font-size:10px;font-weight:700;background:#e9f5ed;color:#397d55;padding:5px 9px;border-radius:6px;white-space:nowrap}
.trend-reason{font-size:10.5px;color:#696986;background:#faf9ff;border-left:2px solid #ae98e7;padding:7px 10px;margin:0 0 14px;line-height:1.55}
.feed-disclaimer{font-size:11px;color:#8d849c;padding:9px 12px;margin:-8px 0 18px;border-radius:8px;background:#f1edfa}
.workflow-filters{display:flex;gap:5px;flex-wrap:wrap;width:100%;align-items:center;margin:0 0 4px}
.stage-filter{padding:9px 12px;background:#fff;border:1px solid #e9e4ef;color:#858097;border-radius:8px;font-size:11px;font-weight:700}
.stage-filter:hover{border-color:#baa7e8}
.stage-filter.active{background:#eee8fa;border-color:#eee8fa;color:#7048ca}
.workflow-control{display:flex;align-items:flex-start;flex-direction:column;gap:5px;min-width:0}
.workflow-label{display:flex;align-items:center;gap:8px;color:#8e889d;font-size:10px}
.workflow-select{appearance:auto;background:#fff;border:1px solid #ddd5ed;color:#5c5073;border-radius:7px;padding:6px 9px;font-size:11px;font-weight:700;max-width:155px}
.workflow-select:focus-visible{outline:2px solid #a18bd4;outline-offset:2px}
.story-card .status-info{max-width:270px;line-height:1.4}
.story-card .status-info::before{width:5px;height:5px;margin-right:5px}
.card-footer{gap:10px;align-items:flex-end;flex-wrap:wrap}
@media(max-width:650px){.trend-reason{font-size:10px}.workflow-select{min-width:100px}.stage-filter{padding:7px 9px}.story-card .status-info{max-width:225px}}


/* Phase 2: quiet inline editorial tools, matching the existing card design. */
.studio-launchers{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.studio-open,.research-open{border:1px solid #e7e1f0;background:#fff;color:#7354ae;border-radius:8px;font-size:11px;font-weight:700;padding:8px 10px}
.studio-open:hover,.research-open:hover,.studio-open[aria-expanded="true"],.research-open[aria-expanded="true"]{background:#f1ecfb;border-color:#d9cbee}
.studio-open:focus-visible,.research-open:focus-visible,.studio-use:focus-visible,.studio-tone:focus-visible{outline:2px solid #9877d4;outline-offset:2px}
.studio-panel,.research-panel{border:1px solid #e8e2f2;background:#fcfafd;border-radius:10px;padding:15px;margin-top:12px;min-width:0}
.studio-panel-heading{display:flex;align-items:baseline;flex-wrap:wrap;justify-content:space-between;gap:5px;margin-bottom:12px}
.studio-panel-heading strong{font-family:"Playfair Display",Georgia,serif;font-size:17px;color:#36313e}
.studio-panel-heading span{font-size:10px;color:#9b94ab}
.studio-tone-label,.research-note-label{font-size:11px;font-weight:700;color:#736583;display:block}
.studio-tone{display:block;width:100%;padding:9px;margin-top:6px;background:#fff;border:1px solid #e0d8eb;border-radius:8px;font-size:11px;color:#43384e}
.studio-intro,.research-limit{font-size:11px;color:#8d8499;line-height:1.6;margin:12px 0}
.studio-preview{white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border:1px solid #ebe5f2;border-radius:8px;padding:12px;color:#464054;font-size:11.5px;line-height:1.7;min-height:85px;margin:0}
.studio-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}
.studio-length{font-size:10px;color:#9c93a7}
.studio-use{background:#7048c8;color:#fff;border:0;border-radius:7px;font-size:10.5px;font-weight:700;padding:9px 13px}
.studio-use:disabled{opacity:.5;cursor:default}
.research-headline{font-size:13px;font-weight:700;color:#3b3548;line-height:1.5;margin:9px 0}
.research-publisher{font-size:10px;color:#978caa;margin:5px 0}
.research-source{display:inline-block;color:#7750c1;font-size:11px;font-weight:700;margin:7px 0;text-decoration:none}
.research-source:hover{text-decoration:underline}
.research-subtitle{font-size:11px;font-weight:700;color:#5f526c;margin:15px 0 6px}
.research-questions{padding-left:18px;margin:0 0 13px;color:#6b6574;font-size:11px;line-height:1.7}
.research-questions li{padding:2px 0}
.research-notes{display:block;margin-top:7px;width:100%;resize:vertical;min-height:72px;padding:9px 10px;font:inherit;font-weight:400;line-height:1.5;font-size:11px;color:#47404f;border:1px solid #e1dceb;border-radius:8px;background:#fff}
.research-notes:focus-visible{outline:2px solid #a48cdd;outline-offset:2px}
.research-caution{color:#a39aab;font-size:10px;margin:11px 0 0}
@media(max-width:650px){.studio-panel,.research-panel{padding:12px}.studio-actions{flex-wrap:wrap}.studio-use{margin-left:auto}}


/* Phase 2B: short RSS context and editor-authored source notes. */
.rss-context{border:1px solid #e8e0f1;background:#fff;border-radius:9px;padding:11px 12px;margin:12px 0}
.rss-context-label{font-size:10px;font-weight:700;color:#8464bb;letter-spacing:.2px}
.rss-context-text{font-size:11.5px;line-height:1.7;color:#61596b;margin:6px 0 0;overflow-wrap:anywhere}
.rss-context.preview-missing{background:#faf9fc;border-style:dashed}
.rss-context.preview-missing .rss-context-text{color:#9d95a8}
.research-apply-row{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:11px}
.research-apply{border:0;border-radius:7px;background:#7048c8;padding:8px 11px;color:white;font-weight:700;font-size:10.5px}
.research-apply:disabled{background:#e0dbe9;color:#a69cac;cursor:default}
.research-apply-row span{font-size:10px;color:#a49ba9}
.research-apply:focus-visible{outline:2px solid #a58adb;outline-offset:2px}
