:root{font-family:'DM Sans',system-ui,sans-serif;color:#321a26;background:#f9f5f7;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:#822d59}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #c96c8c;outline-offset:2px}.serif,h1,h2,h3{font-family:'Playfair Display',Georgia,serif}.loading{padding:8rem;text-align:center;font:600 2rem Georgia;color:#4e102e}.auth-wrap{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-brand{background:#4e102e;color:#fefbfc;padding:9vw 6vw;display:flex;flex-direction:column;justify-content:center}.brand{font-family:Georgia,serif;font-size:2.6rem;letter-spacing:-.1rem}.auth-brand p{line-height:1.65;color:#f3e7ec;font-size:1.12rem;max-width:480px}.eyebrow{letter-spacing:.16em;text-transform:uppercase;font-size:.7rem;font-weight:700;color:#b26388}.auth-brand .eyebrow{color:#efb6ca}.auth-panel{padding:5rem 12%;display:flex;align-items:center}.auth-card{width:100%;max-width:410px}.auth-card h1{font-size:2.3rem;line-height:1.2;margin:.5rem 0}.muted{color:#80747b;line-height:1.5}.field{display:flex;flex-direction:column;gap:7px;margin:18px 0}.field label{font-size:.83rem;font-weight:700}input,textarea,select{width:100%;border:1px solid #e3d3db;border-radius:10px;background:#fff;padding:11px 12px;color:#321a26}textarea{resize:vertical;min-height:100px;line-height:1.5}.btn{border:0;padding:11px 16px;border-radius:10px;font-weight:700;transition:.15s;background:#4e102e;color:#fff}.btn:hover:not(:disabled){filter:brightness(1.1)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-outline{background:#fff;color:#4e102e;border:1px solid #ddc7d2}.btn-danger{background:#fff4f5;color:#8d263d;border:1px solid #f1cad1}.btn-secondary{background:#efe0e7;color:#4e102e}.btn-success{background:#3e7657;color:#fff}.small{padding:8px 12px;font-size:.84rem}.error{background:#fff0f0;border:1px solid #efc8d2;padding:12px;border-radius:9px;color:#8d263d;margin:15px 0}.success{background:#eaf4ee;border:1px solid #c2dccb;padding:12px;border-radius:9px;color:#285c3b;margin:15px 0}.shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.sidebar{background:#4e102e;color:#fff;padding:27px 20px;display:flex;flex-direction:column;gap:22px}.sidebar .brand{font-size:2rem}.sidebar .sub{font-size:.76rem;opacity:.65;letter-spacing:.13em}.nav{display:grid;gap:6px}.nav button{background:transparent;color:#f3e7ec;border:0;text-align:left;padding:12px;border-radius:10px}.nav button.active{background:#743151}.sidebar-bottom{margin-top:auto;font-size:.83rem;color:#e9c7d6}.sidebar-bottom button{margin-top:12px;width:100%}.main{padding:32px 4.2vw;min-width:0}.top{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.top h1{margin:5px 0;font-size:2rem}.pill{display:inline-flex;align-items:center;border-radius:999px;background:#f3e7ec;color:#63304a;padding:5px 10px;font-size:.75rem;font-weight:700}.pill.hold{background:#fff0d9;color:#815b21}.pill.ok{background:#e7f3ea;color:#2b6a42}.pill.bad{background:#ffe8ed;color:#972e4b}.summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:25px 0}.stat{background:#fff;border:1px solid #eee2e8;border-radius:14px;padding:19px}.stat .n{font-size:1.85rem;font-family:Georgia,serif;color:#4e102e}.stat .t{font-size:.77rem;color:#84767f;margin-top:7px}.work{display:grid;grid-template-columns:minmax(250px,330px) minmax(0,1fr);gap:20px;align-items:start}.panel{background:#fff;border:1px solid #e8dbe2;border-radius:15px;overflow:hidden;box-shadow:0 6px 25px #4e102e07}.panel-head{padding:18px;border-bottom:1px solid #f0e4e9}.panel-head h2{font-size:1.23rem;margin:0 0 5px}.filters{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.chip{border:1px solid #eadde5;background:white;border-radius:30px;padding:7px 10px;font-size:.75rem;color:#68435a}.chip.active{background:#4e102e;color:white;border-color:#4e102e}.queue{max-height:72vh;overflow:auto}.queue-item{width:100%;display:block;border:0;border-bottom:1px solid #f0e6ec;background:white;text-align:left;padding:16px 18px}.queue-item:hover,.queue-item.active{background:#faf2f6}.queue-title{font-size:.91rem;font-weight:700;line-height:1.35;margin:8px 0}.queue-meta{font-size:.75rem;color:#81757b}.detail{padding:24px;min-height:450px}.detail h2{font-size:1.9rem;line-height:1.18;margin:10px 0}.section{border-top:1px solid #f0e5eb;padding-top:22px;margin-top:24px}.section h3{font-size:1.2rem;margin:0 0 11px}.section p,.section li{line-height:1.58}.cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mini{padding:12px;background:#f9f4f7;border-radius:10px}.mini strong{display:block;font-size:.76rem;color:#765267;margin-bottom:5px}.mini div{font-size:.89rem}.paper-link{display:inline-block;font-size:.88rem;overflow-wrap:anywhere}.tabs{display:flex;gap:8px;margin:20px 0;flex-wrap:wrap}.tab{padding:9px 13px;background:#f7edf1;border:0;border-radius:9px;color:#5c2a43}.tab.active{background:#4e102e;color:white}.slides{display:grid;gap:12px}.slide{border:1px solid #e6cad9;background:#f9eff4;border-radius:12px;padding:16px}.slide-no{color:#904465;font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;font-weight:700}.slide h4{font-family:Georgia,serif;font-size:1.25rem;color:#4e102e;margin:8px 0}.slide p{font-size:.87rem;margin:0;color:#65455a}.caption-draft{white-space:pre-wrap;line-height:1.65;color:#43323b;background:#faf6f8;padding:15px;border-radius:10px}.checks{display:grid;gap:10px;margin:16px 0}.check{display:flex;gap:10px;align-items:flex-start;font-size:.9rem}.check input{width:17px;margin-top:3px;accent-color:#4e102e}.actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}.event{border-left:3px solid #dfc1cf;padding:5px 0 12px 13px;margin-bottom:13px}.event .time{color:#8c7b83;font-size:.75rem}.notice{padding:13px 15px;background:#fff8e9;border:1px solid #eddfb9;border-radius:10px;color:#735b31;font-size:.89rem;line-height:1.5}.empty{text-align:center;padding:45px 15px;color:#8c7c83}.editor-slide{padding:12px;border-radius:10px;border:1px solid #ecdbe3;margin:12px 0}.footer{padding:23px 0 0;color:#9b8a92;font-size:.75rem}@media(max-width:1050px){.work{grid-template-columns:1fr}.queue{max-height:300px}.summary{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.auth-wrap{grid-template-columns:1fr}.auth-brand{padding:45px 28px}.auth-panel{padding:35px 27px}.shell{grid-template-columns:1fr}.sidebar{padding:15px;gap:10px}.sidebar-bottom{display:none}.nav{display:flex;flex-wrap:wrap}.main{padding:21px 15px}.cols{grid-template-columns:1fr}.detail{padding:17px}.top h1{font-size:1.65rem}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* HERx Admin design system — aligned with admin.tryherx.com */
:root{font-family:'DM Sans',Arial,sans-serif;background:#f6f7fa;color:#30232b}
body{background:#f6f7fa}
.shell{grid-template-columns:252px minmax(0,1fr)}
.sidebar{background:linear-gradient(165deg,#410b29 0%,#29071b 100%);padding:0 13px 22px;gap:0;min-height:100vh;position:sticky;top:0;height:100vh}
.side-logo{height:106px;padding:26px 12px 0}
.sidebar .brand{font:normal 2.1rem Georgia,serif;letter-spacing:-.12rem;color:#fff}
.sidebar .brand span{font:600 .6rem 'DM Sans',sans-serif;letter-spacing:.16em;color:#cba9bb;vertical-align:middle}
.nav{display:flex;flex-direction:column;gap:4px}
.nav button.nav-btn{display:flex;align-items:center;gap:12px;padding:14px 14px;color:#dfcbd4;border-radius:9px;font-size:.88rem;font-weight:500;min-height:46px}
.nav button.nav-btn.active{background:#ffffff24;border-left:3px solid #f1c8db;color:white;font-weight:700}
.nav button.nav-btn small{margin-left:auto;background:#ffffff24;border-radius:30px;padding:2px 8px;font-size:.72rem}
.nav-divider{height:1px;background:#ffffff25;margin:12px 7px 15px}.nav-group-label{font-size:.65rem;font-weight:700;letter-spacing:.15em;color:#91677c;padding:0 12px 9px}.nav-muted{display:flex;gap:12px;padding:10px 13px;color:#967187;font-size:.78rem}.side-foot{font-size:.65rem;letter-spacing:.12em;color:#95697c;font-weight:700}.side-signout{display:block;border:0;background:#ffffff18;color:white;border-radius:7px;padding:10px 14px;margin-top:12px;width:100%;text-align:left}.sidebar-bottom{border-top:1px solid #ffffff19;padding:20px 6px;margin-top:auto}
.body-area{min-width:0}.topbar{height:79px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;border-bottom:1px solid #e8e6e9;background:#fff}.crumb{font-size:.83rem;color:#88818c}.crumb span{padding:0 12px;color:#b9aeb8}.crumb strong{color:#322b30}.top-right{display:flex;align-items:center;gap:11px}.live-dot{height:7px;width:7px;background:#179b56;border-radius:50%}.live-label{font-size:.77rem;color:#666}.avatar{display:inline-flex;align-items:center;justify-content:center;background:#e2ede5;color:#5e846f;border-radius:50%;width:37px;height:37px;font-size:.8rem;font-weight:700;margin-left:18px}.user-name{font-size:.78rem;font-weight:700;display:flex;flex-direction:column}.user-name small{color:#98909a;font-weight:400}
.main{padding:30px clamp(16px,2.5vw,40px) 35px;max-width:1750px;margin:0 auto}.main-title-row{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.main-title-row h1{font:normal clamp(1.8rem,2.6vw,2.4rem) Georgia,serif;color:#4e102e;margin:0 0 7px}.main-title-row p{margin:0;font-size:.87rem}.summary{margin:28px 0 22px;gap:15px}.stat{position:relative;border:1px solid #e7e5e9;border-radius:14px;min-height:150px;padding:18px 20px;box-shadow:0 2px 3px #13081105}.stat-label{font-size:.78rem;color:#6c6671;max-width:75%;line-height:1.35}.stat .n{font-size:2.05rem;margin-top:16px;color:#2e1927}.stat .t{font-size:.73rem;color:#7c7b86;margin-top:3px}.stat-icon{position:absolute;top:17px;right:17px;height:33px;width:33px;display:flex;justify-content:center;align-items:center;background:#faebf0;color:#6d2349;border-radius:8px;font-size:1.1rem}.stat-icon.green{color:#21804e;background:#e8f5ed}.stat-icon.rose{color:#b13c53;background:#fce8eb}
.work{grid-template-columns:minmax(335px,42%) minmax(0,58%);gap:17px}.panel{border:1px solid #e9e6e9;border-radius:15px;box-shadow:0 2px 4px #32162808}.panel-head{padding:22px 20px 15px}.panel-head h2{font:normal 1.4rem Georgia,serif;color:#3b172c;margin:0 0 6px}.panel-head-line{display:flex;justify-content:space-between;align-items:center}.subtle{font-size:.75rem;color:#98919a}.panel-small-icon{font-size:1.8rem;color:#6e445c}.searchbox{margin-top:18px;border-radius:9px;background:#faf9fb;border:1px solid #e9e5e9;padding:12px;font-size:.84rem}.research-items{overflow-y:auto;max-height:830px}.research-item{width:100%;background:#fff;border:0;border-bottom:1px solid #eeecee;text-align:left;padding:20px 21px;display:flex;flex-direction:column;gap:9px}.research-item.active{background:#f9edf2;border-left:3px solid #6c1943;padding-left:18px}.research-item:hover{background:#fcf5f8}.paper-name{color:#372534;font-size:.92rem;line-height:1.4;font-weight:700}.paper-sub{font-size:.73rem;color:#8a7d89}.paper-tags,.inline-tags{display:flex;flex-wrap:wrap;gap:7px}.pill{font-size:.7rem;padding:6px 10px;background:#f7e9ef;color:#6d3751;font-weight:600}.pill.bad{background:#ffebef;color:#9f3f57}.pill.ok{background:#e7f4eb;color:#2e7555}.detail{padding:23px;min-height:500px}.detail-header{display:flex;justify-content:space-between;gap:10px;align-items:center}.detail h2{font:normal 1.5rem Georgia,serif;color:#4e102e;line-height:1.26;margin:16px 0 9px}.detail-sub{color:#8a8189;font-size:.82rem;margin:0 0 18px}.research-highlight{background:#f9eef3;border:1px solid #f5e6ed;border-radius:10px;margin:22px 0 14px;padding:17px 19px}.research-highlight strong{font:normal 1.15rem Georgia,serif;color:#4e102e}.research-highlight p{font-size:.85rem;line-height:1.6;margin:11px 0 0}.research-row{display:grid;grid-template-columns:155px minmax(0,1fr);align-items:start;gap:15px;padding:15px 4px;border-bottom:1px solid #f0edf0}.research-row span{font-size:.8rem;color:#4e102e;font-weight:700}.research-row p{font-size:.82rem;color:#66616a;line-height:1.55;margin:0}.research-divider{border-top:1px solid #eee6eb;margin:26px 0}.evidence-detail h3{font:normal 1.13rem Georgia,serif;color:#4e102e;margin:24px 0 8px}.evidence-detail li{font-size:.84rem;line-height:1.6;margin-bottom:5px}.evidence-actions{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0 13px}.evidence-actions a{text-decoration:none}.btn-disabled{background:#e9e7e8;color:#716a72}.safety-line{color:#7c7078;font-size:.75rem;line-height:1.6;background:#f8f9fc;border-left:3px solid #b9c6dd;padding:11px}.queue{max-height:760px}.queue-item.active{border-left:3px solid #6b1b45}.overview-steps{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0}.overview-steps div{border:1px solid #f0e4e9;padding:15px;border-radius:10px}.overview-steps strong{color:#4e102e}.overview-steps p{font-size:.82rem;color:#706670;line-height:1.45}.footer{font-size:.73rem;color:#9b939b;margin-top:25px}
@media(max-width:1100px){.work{grid-template-columns:minmax(270px,42%) minmax(0,58%)}.summary{grid-template-columns:repeat(2,1fr)}.research-row{grid-template-columns:1fr;gap:5px}}
@media(max-width:760px){.shell{display:block}.sidebar{position:static;height:auto;min-height:0;padding:0 10px 12px}.side-logo{height:64px;padding:12px 12px 4px}.sidebar .brand{font-size:1.55rem}.nav{flex-direction:row;overflow-x:auto}.nav button.nav-btn{min-width:max-content;font-size:.76rem;padding:9px 12px}.nav-divider,.nav-group-label,.nav-muted,.sidebar-bottom{display:none}.topbar{height:57px;padding:0 15px}.top-right .live-label,.top-right .user-name{display:none}.avatar{margin-left:5px}.main{padding:21px 13px}.main-title-row h1{font-size:1.75rem}.work{grid-template-columns:1fr}.research-items{max-height:300px}.summary{gap:10px}.stat{min-height:122px;padding:14px}.stat .n{font-size:1.65rem}.stat-icon{height:27px;width:27px;right:12px;top:12px}.detail{padding:19px}.overview-steps{grid-template-columns:1fr}}

/* LinkedIn editorial review: reuse HERx governance UI */
.linkedin-detail .linkedin-text{font-size:.92rem;white-space:pre-wrap;overflow-wrap:anywhere}
.linkedin-detail .checks .check{line-height:1.5}
.linkedin-detail .event{margin-top:15px}
.linkedin-detail #linkedinText{min-height:300px;margin-top:10px}
