:root{--bg:#0d0e10;--surface:#17181b;--surface-2:#202126;--border:#35363c;--text:#f5f4f0;--muted:#aaa8b0;--accent:#ffd400;--accent-text:#171717;--ok:#8ee7aa;--bad:#ff7f88}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:Poppins,system-ui,sans-serif}button,input,textarea,select{font:inherit}.hidden{display:none!important}.muted{color:var(--muted)}.accent{color:var(--accent)}.eyebrow{margin:0 0 7px;color:var(--accent);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.card{background:var(--surface);border:1px solid var(--border);border-radius:14px}.app-shell{display:flex;min-height:100vh}.sidebar{position:relative;display:flex;flex:0 0 230px;flex-direction:column;width:230px;padding:24px 14px;background:#101114;border-right:1px solid var(--border)}.brand-lockup{display:flex;align-items:center;gap:10px;margin:0 8px 34px;color:var(--text);text-decoration:none}.brand-lockup strong{display:block;color:var(--accent);font:700 1.45rem/1 Caveat,cursive}.brand-lockup small{display:block;margin-top:4px;font-size:.63rem}.brand-mark{width:29px;height:34px;flex:0 0 29px;background:linear-gradient(90deg,#fff 0 39%,transparent 39% 61%,#fff 61%);clip-path:polygon(0 0,42% 17%,42% 100%,0 78%,0 0,100% 0,100% 78%,58% 100%,58% 17%)}.side-nav{display:grid;gap:5px}.side-nav a{display:flex;align-items:center;gap:10px;padding:11px 13px;border-radius:11px;color:var(--text);text-decoration:none;font-size:.82rem;font-weight:600}.side-nav a:hover,.side-nav a.active{background:var(--accent);color:var(--accent-text)}.nav-icon,.icon{display:inline-grid;width:20px;height:20px;flex:0 0 20px;place-items:center}.sidebar-sticker{width:116px;margin:auto auto 0;filter:drop-shadow(0 0 18px rgba(255,212,0,.25))}.sidebar-heart{position:absolute;right:17px;bottom:132px;color:var(--accent);font:2rem Caveat,cursive}.workspace{width:min(100%,1440px);min-width:0;padding:28px 40px 54px}.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.page-heading h1{display:flex;align-items:center;gap:10px;margin:0;font-size:2rem}.header-icon{color:var(--accent);font-size:2rem}.top-actions{display:flex;align-items:center;gap:12px;white-space:nowrap}.header-search{width:230px}.bell{font-size:1.45rem}.avatar{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:var(--accent);color:var(--accent-text);font-size:.78rem;font-weight:800}.btn{min-height:38px;padding:9px 15px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);color:var(--text);font-weight:700}.btn:hover{border-color:var(--accent)}.btn.primary{border-color:var(--accent);background:var(--accent);color:var(--accent-text)}.btn.small{min-height:32px;padding:6px 11px;font-size:.78rem}.btn.icon-only{width:38px;padding:7px;font-size:1.2rem}.btn.icon-only span{display:none}.status-bar{display:flex;align-items:center;gap:10px;padding:7px 11px;margin-bottom:18px}.status-items{display:flex;flex:1;flex-wrap:wrap;gap:7px}.status-item{padding:3px 9px;border:1px solid var(--border);border-radius:999px;color:var(--muted);font-size:.69rem}.status-item strong{color:var(--text)}.desk-view{position:relative;min-width:0}.view-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin:8px 0 18px}.hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 310px;min-height:345px;overflow:hidden;padding:34px 34px 112px;background:radial-gradient(circle at 70% 58%,rgba(255,212,0,.21),transparent 31%),linear-gradient(112deg,#17181b 54%,#2a2511)}.hero-copy{position:relative;z-index:2}.hero h2{position:relative;margin:0;font-size:2.35rem}.hero h2:after{content:"";position:absolute;left:0;bottom:-14px;width:170px;height:10px;border-top:4px solid var(--accent);border-radius:50%;transform:rotate(-7deg)}.hero-subtitle{margin:8px 0}.handwritten{margin-top:30px;font:1.5rem Caveat,cursive}.hero-visual{position:absolute;right:15px;top:0;bottom:0;width:330px;z-index:1}.hero-cutout{height:112%;bottom:-7%;right:24px}.bts-mark{position:absolute;right:13px;top:75px;color:var(--accent);font-weight:800;letter-spacing:.2em}.suga-accent{position:absolute;right:82px;bottom:25px;color:var(--text);font:1.6rem Caveat,cursive;transform:rotate(-8deg)}.stats-grid{position:absolute;right:28px;bottom:22px;left:28px;z-index:3;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat-card{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:0 10px;padding:11px 13px;background:rgba(31,32,35,.92);border:1px solid #55555a;border-radius:12px}.stat-card>span{grid-row:span 2}.stat-card strong{font-size:1.35rem}.stat-card small{color:var(--muted);font-size:.68rem}.stat-icon{display:grid!important;width:31px;height:31px;place-items:center;border-radius:8px;background:var(--accent);color:var(--accent-text)!important}.overview-grid{display:grid;grid-template-columns:1.1fr .9fr .72fr;gap:15px;margin-top:16px}.priorities,.schedule-summary{padding:18px}.priorities h2,.schedule-summary h2{margin:0 0 12px;font-size:1.1rem}.priorities label{display:flex;gap:9px;align-items:center;padding:11px 0;border-bottom:1px solid var(--border);font-size:.82rem}.priorities input{accent-color:var(--accent)}.schedule-line{display:grid;grid-template-columns:1fr auto auto;gap:10px;padding:11px 0;border-bottom:1px solid var(--border);font-size:.82rem}.schedule-line i{color:var(--accent);font-style:normal}.chip,.pill{display:inline-block;padding:4px 9px;border-radius:999px;background:#49421b;color:#ffe671;font-size:.7rem;font-weight:700}.quote-card{position:relative;min-height:160px;padding:20px;background:#f7dc4a;color:#171717;border-radius:20px;font:1.45rem/1 Caveat,cursive;transform:rotate(2deg)}.quote-card img{position:absolute;right:10px;bottom:-7px;width:84px}.tabs{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.tab,.seg-btn{padding:8px 13px;border:1px solid var(--border);border-radius:999px;background:var(--surface-2);color:var(--muted);font-size:.76rem;font-weight:700}.tab.active,.seg-btn.active{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.news-list{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.85fr);gap:16px}.news-pane{display:grid;gap:8px}.rec-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:13px 42px 13px 16px;border:1px solid var(--border);border-left:4px solid transparent;border-radius:12px;background:var(--surface);cursor:pointer}.rec-row h3{grid-column:1/-1;margin:0;font-size:.91rem}.rec-meta{grid-column:1/-1;color:var(--muted);font-size:.72rem}.rec-row.selected{border-left-color:var(--accent);background:var(--accent);color:var(--accent-text)}.icon-btn{position:absolute;right:10px;top:12px;border:0;background:none;color:var(--accent);font-size:1.3rem}.news-detail{position:sticky;top:16px;min-height:300px;padding:18px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.detail-title{margin:0 0 8px;font-size:.76rem;font-weight:800}.detail-pills,.rec-actions{display:flex;flex-wrap:wrap;gap:7px}.rec-actions{margin-top:15px}.cutout-panel{overflow:hidden}.cutout{position:absolute;z-index:2;width:auto;object-fit:contain;object-position:bottom right;pointer-events:none;border:0!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 0 24px rgba(255,212,0,.28));mask-image:linear-gradient(to bottom,#000 88%,transparent 100%)}.news-cutout{right:0;bottom:-7%;height:73%}.story-cutout{right:-5%;bottom:-7%;height:108%}.cutout-caption{position:absolute;right:130px;bottom:28px;z-index:3;color:var(--accent);font:1.6rem Caveat,cursive;transform:rotate(-10deg)}.ideas-panel{padding:16px}.idea-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.idea-card{overflow:hidden;padding-bottom:10px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.idea-card>*:not(.idea-tile){margin-right:11px;margin-left:11px}.idea-tile{height:116px;background:#292719}.idea-tile img{width:100%;height:100%;object-fit:cover}.idea-card h3{display:-webkit-box;overflow:hidden;margin-top:10px;font-size:.78rem;-webkit-box-orient:vertical;-webkit-line-clamp:2}.idea-tags{display:flex;gap:5px}.idea-details{display:none}.idea-card.expanded .idea-details{display:block;color:var(--muted);font-size:.7rem}.writer-card{position:relative;z-index:3;max-width:64%;padding:20px}.seg{display:inline-flex;gap:4px;margin-bottom:8px;padding:4px;border:1px solid var(--border);border-radius:999px}label{display:block;margin:14px 0 6px;font-size:.78rem;font-weight:700}input,textarea,select{width:100%;padding:10px 11px;border:1px solid var(--border);border-radius:9px;background:#111216;color:var(--text)}textarea{resize:vertical}.actions{display:flex;gap:14px;margin-top:16px}.write-cutout{right:0;bottom:-8%;height:113%;filter:drop-shadow(0 0 30px rgba(255,212,0,.36))}.write-caption{right:260px;bottom:120px}.writer-sticker{position:absolute;right:220px;bottom:12px;z-index:4;width:100px;pointer-events:none}.list{overflow:hidden;border:1px solid var(--border);border-radius:13px;background:var(--surface)}.list-head,.item{display:grid;grid-template-columns:minmax(0,1fr) 92px 110px 150px 80px;gap:12px;align-items:center}.list-head{padding:10px 16px;border-bottom:1px solid var(--border);color:var(--muted);font-size:.68rem;text-transform:uppercase}.item{padding:14px 16px;border-bottom:1px solid var(--border)}.item .t{font-weight:600}.badge{padding:4px 8px;border-radius:999px;background:#393a40;font-size:.68rem}.schedule-card{padding:20px}.calendar-head{margin-bottom:14px;color:var(--accent);font-weight:800}.calendar-layout{display:grid;grid-template-columns:1.15fr .85fr;gap:16px}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.calendar button{min-height:50px;border:1px solid var(--border);border-radius:9px;background:#111216;color:var(--text)}.calendar button.selected,.calendar button:hover{background:var(--accent);color:var(--accent-text)}.calendar .weekday{min-height:28px;border:0;background:none;color:var(--muted);font-size:.7rem}.plan-panel{padding:16px}.import-panel{margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}.schedule-cutout{right:0;bottom:-7%;height:52%}.library-controls{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:15px}.library-controls label{margin:0}.library-table{padding:0 15px}.library-head,.library-item{display:grid;grid-template-columns:minmax(0,1fr) 120px 120px;gap:12px;padding:11px 0;border-bottom:1px solid var(--border)}.library-head{color:var(--muted);font-size:.68rem;text-transform:uppercase}.library-item{font-size:.78rem}.library-item a{color:var(--text)}.library-cutout{right:-3%;bottom:-8%;height:60%}.army-intro{position:relative;min-height:190px;padding:28px;overflow:hidden;border:1px solid var(--border);border-radius:14px;background:linear-gradient(110deg,#17181b 55%,#292410)}.army-intro p{position:relative;z-index:3;margin:0;font:1.8rem Caveat,cursive}.army-cutout{right:7%;bottom:-20%;height:135%}.army-members{display:flex;gap:12px;overflow-x:auto;margin:18px 0;padding-bottom:4px}.army-member{display:grid;flex:0 0 auto;gap:4px;justify-items:center;color:var(--muted);font-size:.72rem}.army-member img{width:55px;height:55px;border:2px solid var(--border);border-radius:50%;object-fit:cover}.army-actions{display:flex;gap:10px;align-items:center}.army-news{display:grid;gap:10px}.army-card{display:grid;grid-template-columns:86px 1fr;gap:12px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.army-card>img{width:86px;height:70px;border-radius:8px;object-fit:cover}.army-card a,.back{color:var(--accent)}.army-meta,.army-credits,.foot{color:var(--muted);font-size:.72rem}.article-cutout{right:0;bottom:-8%;height:55%}#view-article{min-height:500px;padding:20px}.article{position:relative;z-index:3;max-width:75%;overflow-wrap:anywhere}.article h1{font-size:1.7rem}.msg{min-height:1.2em;color:var(--muted);font-size:.8rem}.msg.err{color:var(--bad)}.msg.ok{color:var(--ok)}.mobile-tabs{display:none}.login-shell{display:grid;min-height:100vh;place-items:center;padding:20px}.login-card{position:relative;width:min(420px,100%);padding:22px}.login-photo{width:100%;height:100px;object-fit:cover;border-radius:10px}.login-sticker{display:block;width:120px;margin:20px 0 -25px auto}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:899px){.app-shell{display:block}.sidebar{display:none}.workspace{padding:18px 16px 78px}.top-actions .header-search,.top-actions .bell,.top-actions #logout{display:none}.topbar{align-items:center}.stats-grid{grid-template-columns:repeat(2,1fr)}.hero{display:block;min-height:450px;padding:24px 20px 125px}.hero-visual{right:0;width:240px}.hero-cutout{height:86%}.overview-grid,.news-list,.calendar-layout{grid-template-columns:1fr}.idea-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.writer-card{max-width:100%}.write-cutout{height:60%;opacity:.45}.writer-sticker{right:18px}.list-head{display:none}.item{display:flex;flex-wrap:wrap}.articles-cutout,.library-cutout,.article-cutout{height:40%;opacity:.5}.page-cutout{max-width:47%}.mobile-tabs{position:fixed;right:0;bottom:0;left:0;z-index:10;display:flex;justify-content:space-around;padding:8px 4px;border-top:1px solid var(--border);background:#15161a}.mobile-tabs a,.mobile-tabs button{border:0;background:none;color:var(--text);font-size:.65rem}.news-detail{position:relative;top:auto}}@media(max-width:560px){.page-heading h1{font-size:1.5rem}.hero{min-height:420px}.hero h2{font-size:1.75rem}.hero-visual{width:190px}.hero-cutout{height:72%;right:-6px}.stats-grid{right:14px;bottom:14px;left:14px;gap:7px}.stat-card{padding:8px;font-size:.7rem}.idea-grid{grid-template-columns:1fr}.library-controls{grid-template-columns:1fr 1fr}.page-cutout{display:none}.calendar button{min-height:43px}.actions{flex-wrap:wrap}}

.d-eq{color:var(--text)}.d-ins{color:var(--ok)}.d-del{color:var(--bad)}@media(min-width:1100px){.workspace{padding-left:42px}}

/* W23 repair layer: keep the compact operator mockup while restoring the shared base contracts. */
a{color:var(--text);text-decoration:none}a:hover{text-decoration:underline}table{width:100%;border-collapse:collapse}th,td{padding:9px 10px;border-bottom:1px solid var(--border);text-align:left}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}textarea:focus,input:focus,select:focus,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sidebar-logout{margin-top:auto;width:100%;padding:8px 12px;border:1px solid var(--border);border-radius:9px;background:transparent;color:var(--muted);font-size:.72rem;text-align:left}.sidebar-logout:hover{color:var(--text);border-color:var(--accent)}
.hero-copy>.eyebrow{display:none}.page-heading h1{line-height:1.05}.page-heading .muted{margin:4px 0 0}
.priorities label{justify-content:flex-start;text-align:left;gap:10px;padding:9px 0}.priorities input{width:16px;height:16px;flex:0 0 16px;margin:0}.quote-card{min-height:0;height:156px;overflow:visible}.quote-card img{width:105px;right:-3px;bottom:-35px;z-index:2}
.view-heading{margin-bottom:10px}.view-heading>#refresh-news,.view-heading>#refresh-ideas{display:none}#brief-header,#brief-extras{color:var(--muted);font-size:.75rem}#brief-header p,#brief-extras p{margin:3px 0}
.news-list{grid-template-columns:minmax(0,1.35fr) minmax(310px,.85fr)}.rec-row{grid-template-columns:64px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;padding:10px 38px 10px 10px;min-height:84px}.rec-thumb{grid-row:1 / span 2;grid-column:1;width:64px;height:64px}.rec-row h3{grid-column:2 / 4;grid-row:1;font-size:.83rem}.rec-meta{grid-column:2;grid-row:2;font-size:.68rem}.rec-row>.score-badge{grid-column:3;grid-row:2;justify-self:end}.rec-row>.rec-status{grid-column:3;grid-row:1;justify-self:end}.rec-row.selected .rec-meta{color:#4c4300}.rec-row.selected .rec-status,.rec-row.selected .score-badge{background:#fff2a8;color:#4c4300}.score-badge{display:inline-block;padding:3px 7px;border-radius:999px;background:#393a40;color:var(--muted);font-size:.64rem;font-weight:700}.news-detail{padding:18px 18px 210px 18px;overflow:hidden}.news-cutout{right:8px;bottom:0;height:245px;max-height:245px;z-index:1}.news-detail>*{position:relative;z-index:2}.news-detail .rec-actions{position:relative;z-index:3}
.topic-tile{display:grid;place-items:center;background:radial-gradient(circle at 65% 30%,rgba(255,212,0,.2),transparent 42%),linear-gradient(135deg,#292919,#15161a);color:var(--accent)}.topic-tile-icon{font-size:2rem;font-weight:700;filter:drop-shadow(0 0 8px rgba(255,212,0,.25))}.idea-tile{height:116px;margin:0}.idea-tile img{display:none}.idea-grid{width:72%;grid-template-columns:repeat(4,minmax(0,1fr));position:relative;z-index:3}.ideas-panel{position:relative;z-index:3;width:72%}.story-cutout{right:-1%;width:28%;height:92%;z-index:2}.idea-card h3{margin-bottom:7px}.idea-card .rec-actions{margin-top:8px}.idea-card .rec-actions .btn{min-height:28px;padding:4px 8px;font-size:.66rem}
.writer-card{max-width:66%;overflow:visible}.write-cutout{mask-image:linear-gradient(to bottom,#000 72%,transparent 100%);filter:drop-shadow(0 0 55px rgba(255,212,0,.3))}.writer-card:after{content:"";position:absolute;right:-1px;bottom:-2px;width:110px;height:35px;background:linear-gradient(to bottom,transparent,var(--surface));pointer-events:none}
.list{position:relative;z-index:3}.item{color:var(--text);text-decoration:none}.item:hover{text-decoration:none;background:var(--surface-2)}.item .t{display:flex;align-items:center;gap:9px}.article-thumb{width:48px;height:42px;flex:0 0 48px;border-radius:7px}.article-thumb .topic-tile-icon{font-size:1.25rem}.article-title{font-weight:700}.badge{background:#514734;color:#e9dfc0}.st-done,.st-published{background:var(--ok);color:#14351f}.st-working,.st-revise,.st-in_review{background:#f5c735;color:#3b2d00}.st-draft{background:#55565b;color:#fff}.st-failed{background:#ff7f88;color:#4c1117}.articles-cutout{right:0;bottom:-3%;height:230px;max-height:230px}.article-tabs .tab:after{content:""}.article-tabs{margin-top:12px}
.action-cell{display:flex;gap:10px;color:var(--text)}.action-icon{font-size:1rem}.action-icon:hover{color:var(--accent)}#view-schedule .view-heading{justify-content:flex-end}
.schedule-card{position:relative}.calendar-head{display:flex;align-items:center;justify-content:space-between;width:55%;margin-bottom:10px}.calendar-label{text-align:center}.calendar-nav{border:0;background:none;color:var(--text);font-size:1.8rem;line-height:1}.calendar{grid-template-columns:repeat(7,1fr);gap:3px}.calendar button{min-height:42px;border:0;border-radius:50%;background:transparent}.calendar button:hover,.calendar button.selected{background:var(--accent);color:var(--accent-text)}.calendar button.has-duty:after{content:"";display:block;width:5px;height:5px;margin:2px auto 0;border-radius:50%;background:var(--accent)}.calendar button.today{font-weight:800}.calendar .weekday{min-height:25px;border:0;border-radius:0}.calendar-layout{grid-template-columns:55% 45%}.plan-panel{position:relative;z-index:2}.plan-panel h3{color:var(--accent)}.schedule-cutout{height:200px;max-height:200px;right:-2%;bottom:-5%;z-index:3}.schedule-card .plan-panel{padding-bottom:150px}
.plan-line{display:grid;grid-template-columns:18px 82px 1fr;align-items:center;gap:8px;margin:0;padding:10px 0;border-bottom:1px solid var(--border);font-size:.72rem}.plan-line input{width:15px;height:15px;padding:0}.plan-line b{font-size:.68rem}.plan-line span{color:var(--muted)}
.btn.ghost{background:transparent}.btn.primary:hover{filter:brightness(1.08)}.btn.danger{border-color:var(--bad);color:var(--bad)}.rec-card,.research-notes{padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.rec-card h3{margin:0 0 8px}.rec-details{margin-top:10px}.rec-details summary{cursor:pointer;color:var(--accent);font-weight:700}.rec-actions,.actions{display:flex;flex-wrap:wrap;gap:8px}.detail-pills{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.rec-row .rec-meta{color:var(--muted)}.rec-status{font-size:.64rem}.item .m{font-size:.75rem}.item .m:last-child{justify-self:end}.library-item .cnt,.cnt{color:var(--muted);font-size:.72rem}.library-item a,.article a,.back,.rec-card a{color:var(--accent)}.army-actions .msg{margin:0}.army-empty,.photo-empty{display:grid;place-items:center;gap:8px;padding:24px;text-align:center}.army-empty img,.photo-empty img{max-width:150px;max-height:150px;object-fit:contain}.army-member.active{color:var(--accent)}.army-member.active img{border-color:var(--accent)}.army-meta,.army-credits{color:var(--muted);font-size:.72rem}.army-credits a{color:var(--accent)}.has-duty:after{content:"";display:block;width:5px;height:5px;margin:2px auto 0;border-radius:50%;background:var(--accent)}.handwritten span{color:var(--accent)}.status-bar .msg{margin:0}.foot{color:var(--muted);font-size:.72rem}pre{white-space:pre-wrap;overflow:auto}input[type=checkbox]{accent-color:var(--accent)}h1,h2,h3{line-height:1.15}h1,h2,h3{color:var(--text)}
@media(max-width:899px){.idea-grid,.ideas-panel{width:100%}.story-cutout{display:none}.calendar-head,.calendar-layout{width:100%}.news-cutout{height:190px;max-height:190px}.news-detail{padding-bottom:170px}.sidebar-logout{display:none}}

/* W23 round 3: requested visual corrections. */
.top-actions #logout{display:none!important}
.icon{width:20px;height:20px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.header-icon .icon{color:var(--accent)}
.rec-row.selected h3,.rec-row.selected .rec-meta{color:#111}
.rec-row{padding-right:76px}
.rec-row>.rec-status{position:absolute;right:30px;top:34px;z-index:2}
.rec-row>.score-badge{position:absolute;right:30px;bottom:10px}
.rec-row>.icon-btn{right:7px;top:7px;z-index:3}
.news-detail{position:sticky;top:16px;min-height:560px;padding:18px 18px 230px;overflow:visible}
.news-detail>.news-cutout{position:absolute;right:8px;bottom:0;height:240px;max-height:240px;width:auto;z-index:1}
.news-detail>.news-cutout~*{position:relative;z-index:2}
.news-detail .rec-actions{position:relative;z-index:3}
.topic-tile,.rec-thumb,.article-thumb{width:56px;height:56px;border-radius:10px;background:linear-gradient(135deg,#2a2410,#151515)}
.topic-tile-icon{display:grid;place-items:center;width:100%;height:100%;color:#FFD60A;font-size:28px}
.topic-tile-icon .icon{width:28px;height:28px;stroke-width:1.8}
.rec-thumb{width:56px;height:56px}
.idea-tile{width:100%;height:120px;border-radius:10px;background:linear-gradient(135deg,#2a2410,#151515)}
.idea-tile .topic-tile-icon{font-size:28px}
.ideas-panel{width:72%;overflow:visible}
.idea-grid{width:100%;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.idea-tags{min-width:0}.idea-tags .chip,.idea-tags .pill{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.idea-card .rec-actions{display:flex;flex-wrap:nowrap;gap:5px}.idea-card .rec-actions .btn{white-space:nowrap;min-width:0}
.story-cutout{top:0;bottom:auto;right:-9%;width:28%;height:560px;max-height:none;filter:drop-shadow(0 0 32px rgba(255,214,10,.42))}
.cutout-caption{right:17%;top:475px;bottom:auto}
.articles-cutout{position:fixed;right:0;bottom:0;height:300px;max-height:300px;z-index:12}
#view-articles{padding-bottom:330px}
.action-icon .icon{width:16px;height:16px}
#view-schedule .view-heading{justify-content:flex-end;align-items:center}
#toggle-import{background:transparent;color:var(--text);border-color:var(--border)}
#toggle-import .icon{margin-right:5px;vertical-align:-5px}
.calendar-nav .icon{width:22px;height:22px}
.calendar button.today{width:38px;height:38px;min-height:38px;justify-self:center;border-radius:50%}
.schedule-card{overflow:visible}.schedule-cutout{height:190px;max-height:190px;right:-12px;bottom:-42px;overflow:visible}
.hero-visual{overflow:visible}.bts-mark{left:-46px;right:auto;top:82px;z-index:3}.suga-accent{left:-105px;right:auto;bottom:62px;z-index:3}
@media(max-width:700px){.bts-mark,.suga-accent{display:none}}
@media(max-width:899px){.news-detail{position:relative;top:auto;min-height:460px}.story-cutout{display:block;height:420px}.ideas-panel,.idea-grid{width:100%}.cutout-caption{display:none}.articles-cutout{height:260px;max-height:260px}.schedule-cutout{height:170px;max-height:170px}.hero-visual{overflow:visible}}
@media(max-width:560px){.story-cutout{display:none}.articles-cutout{height:220px;max-height:220px}}

/* W23 round 4: keep the decorative figures in the first viewport and make calendar states deterministic. */
.score-badge{white-space:nowrap;min-width:auto;border-radius:999px}
.news-detail{overflow:visible}
.news-detail>.news-cutout{top:-30px;right:8px;bottom:auto;height:170px;max-height:170px;width:auto;z-index:4;position:absolute}
.news-detail>.detail-title,.news-detail>h3{padding-right:150px}
.story-figure-column{display:flex;position:relative;min-height:520px;flex-direction:column;align-items:flex-end;justify-content:flex-start;overflow:visible}
.story-figure-column:before{position:absolute;right:8%;top:20%;width:220px;height:260px;border-radius:50%;background:rgba(255,212,0,.2);content:"";filter:blur(28px);pointer-events:none}
.story-figure-column>.story-cutout{position:static!important;z-index:2;align-self:flex-end;width:auto;height:520px;max-height:none;margin-right:-40px;object-fit:contain;object-position:center top;filter:drop-shadow(0 0 32px rgba(255,214,10,.42));mask-image:none}
.story-figure-column>.cutout-caption{position:absolute;right:auto;bottom:auto;left:2%;top:210px;z-index:3;color:var(--accent);font:1.6rem Caveat,cursive;transform:rotate(-10deg)}
#view-story-lab:not(.hidden){display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;column-gap:18px}
#view-story-lab:not(.hidden)>.view-heading{grid-column:1/-1}
#view-story-lab:not(.hidden)>.ideas-panel{grid-column:1;width:auto;min-height:520px}
#view-story-lab:not(.hidden)>.story-figure-column{grid-column:2;grid-row:2}
.schedule-header-actions{display:flex;align-items:center;gap:10px;order:-1}
#view-schedule .view-heading{justify-content:flex-start}
#view-schedule .schedule-cutout{background:transparent;border:0;box-shadow:none;mask-image:none;filter:drop-shadow(0 0 22px rgba(255,212,0,.3));height:180px;max-height:180px;right:-8px;bottom:-34px;z-index:4}
.calendar button:not(.weekday){display:grid;place-items:center;width:38px;height:38px;min-height:38px;margin:auto;border:0;border-radius:50%;position:relative}
.calendar button.selected:not(.today){background:transparent;color:var(--text);border:2px solid var(--accent)}
.calendar button.today{background:var(--accent);color:var(--accent-text);border:0}
.calendar button.has-duty:after{position:absolute;right:0;bottom:2px;left:0;width:5px;height:5px;margin:auto;background:var(--accent);content:""}
.calendar button.today.has-duty:after{background:var(--accent-text)}
.calendar .weekday{width:auto;height:auto;margin:0;display:block}
@media(max-width:899px){#view-story-lab:not(.hidden){display:block}.story-figure-column{display:none}.schedule-header-actions{gap:5px}.schedule-header-actions .btn{padding:7px 9px;font-size:.7rem}}

/* W23 round 5: keep detail copy and artwork in separate columns. */
.news-detail-header{display:grid;grid-template-columns:1fr 150px;min-height:170px;align-items:start;column-gap:10px}
.news-detail-header>.detail-title,.news-detail-header>h3{grid-column:1;margin-right:0;padding-right:0}
.news-detail-header>.news-cutout{grid-column:2;grid-row:1 / span 2;position:static!important;width:150px;height:170px;max-height:170px;object-fit:contain;object-position:bottom;z-index:1;filter:drop-shadow(0 0 24px rgba(255,212,0,.28));mask-image:linear-gradient(to bottom,#000 88%,transparent 100%)}
.story-figure-column{min-height:460px;justify-content:flex-end}
.story-figure-column>.story-cutout{height:460px;max-height:460px;width:auto;max-width:100%;margin-right:0;object-fit:contain;object-position:bottom right;mask-image:linear-gradient(to right,transparent 0,#000 18%),linear-gradient(to bottom,#000 82%,transparent 100%)}
#view-story-lab:not(.hidden)>.ideas-panel{min-height:460px}
@media(max-width:899px){.news-detail-header>.news-cutout{display:none}.news-detail-header{display:block;min-height:0}.news-detail-header>.detail-title,.news-detail-header>h3{padding-right:0}}
@media(max-width:700px){
  html,body{overflow-x:hidden}
  .workspace,.desk-view,.page-panel,.card,.topbar,.top-actions{width:100%;max-width:100%;min-width:0}
  .topbar{flex-wrap:wrap;gap:10px}
  .page-heading{flex:1 1 100%;min-width:0}
  .top-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}
  .schedule-header-actions{display:flex;flex:1 0 100%;width:100%;order:-1;gap:8px}
  .schedule-header-actions .btn{flex:1 1 0;min-width:0;white-space:normal}
  .calendar-layout{display:block;grid-template-columns:1fr;width:100%}
  .calendar,.calendar-head{width:100%;max-width:100%}
  .plan-panel{position:static;width:100%;max-width:100%;margin-top:16px;padding-bottom:16px}
  #view-schedule .schedule-cutout{display:none}
  .news-list{grid-template-columns:minmax(0,1fr);width:100%}
  .news-detail-header{width:100%;max-width:100%}
  .tabs,.actions,.detail-pills{max-width:100%;flex-wrap:wrap}
  img,input,textarea,select,button{max-width:100%}
}

/* W23 round 7: keep decoration behind interaction and content at every viewport. */
.decorative,.cutout,.cutout::before,.writer-sticker,.sidebar-sticker,.schedule-cutout,.note-sticker,.cutout-panel::before{pointer-events:none}
.overview-topbar .page-heading{display:none}
.overview-topbar{justify-content:flex-end}
#view-library{isolation:isolate}
#view-library::before{position:absolute;z-index:-1;right:8%;top:10%;width:280px;height:260px;border-radius:50%;background:rgba(255,212,0,.16);content:"";filter:blur(36px);pointer-events:none}
#view-library>#library{position:relative;z-index:1}
@media(max-width:699.99px){#view-library::before{display:none}}
@media(max-width:560px){#view-write .writer-sticker{display:none}#view-overview .hero-visual{display:none}#view-overview .hero{min-height:0;padding-bottom:24px}#view-overview .stats-grid{position:static;margin-top:22px;grid-template-columns:repeat(2,minmax(0,1fr))}}
.tab-brief-pill{display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:999px;background:var(--surface-2);overflow:hidden}.tab-brief-pill>.tab{border:0;border-radius:999px;background:transparent}.tab-brief-pill.active{border-color:var(--accent)}.tab-brief-pill.active>.tab{background:var(--accent);color:var(--accent-text)}.brief-refresh{display:grid;width:32px;height:32px;margin-right:4px;padding:7px;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer}.tab-brief-pill.active .brief-refresh{color:var(--accent-text)}.brief-refresh:hover{background:rgba(255,212,0,.18);color:var(--accent)}.brief-refresh:disabled{cursor:wait;opacity:.65}.brief-refresh.refreshing .icon{animation:refresh-spin .9s linear infinite}@keyframes refresh-spin{to{transform:rotate(360deg)}}.segmented-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.ideas-panel>.tabs{margin-top:0}@media(max-width:560px){.tab-brief-pill{max-width:100%}.brief-tab-label{min-width:0}.tabs{gap:6px}}
.tab-brief-pill.active{background:var(--accent)}.brief-refresh{color:var(--accent)}.in-tab-refresh-topbar #run-research{display:none}
.news-pane{align-content:start;align-self:start}
.news-pane>.rec-card{min-height:118px}
.story-group-cutout{position:relative;z-index:2;width:100%;max-width:320px;height:auto;margin:0 auto -18px;filter:drop-shadow(0 0 28px rgba(255,212,0,.38));mask-image:linear-gradient(to bottom,#000 78%,transparent 100%)}
.story-figure-column:after{position:absolute;right:8%;bottom:8%;width:90%;height:170px;border-radius:50%;background:rgba(255,212,0,.16);content:"";filter:blur(28px);pointer-events:none}
.story-group-caption,.news-filler-caption{position:relative;z-index:3;color:var(--accent);font:1.6rem Caveat,cursive;transform:rotate(-8deg)}
.story-group-caption{align-self:flex-start;margin:-25px 0 0 18%}
.story-figure-column>.cutout-caption{top:170px}
.news-filler{position:relative;display:flex;min-height:210px;align-items:flex-end;justify-content:center;margin-top:18px;overflow:hidden;isolation:isolate;pointer-events:none}
.news-filler:before{position:absolute;right:15%;bottom:0;left:15%;height:130px;border-radius:50%;background:rgba(255,212,0,.18);content:"";filter:blur(30px);z-index:-1}
.news-filler img{display:block;width:100%;max-width:640px;height:auto;mask-image:linear-gradient(to bottom,#000 78%,transparent 100%);filter:drop-shadow(0 0 28px rgba(255,212,0,.32))}
.news-filler-caption{position:absolute;bottom:18px;left:16%}
.schedule-suga-strip{display:block;width:100%;height:210px;margin-top:18px;object-fit:cover;border-radius:18px;mask-image:linear-gradient(to right,transparent 0,#000 8%,#000 92%,transparent 100%),linear-gradient(to bottom,#000 85%,transparent 100%);pointer-events:none}
@media(max-width:899px){.story-group-cutout,.story-group-caption,.news-filler{display:none}.schedule-suga-strip{height:120px;margin-top:12px;border-radius:18px}}
.story-group-cutout,.news-filler img{filter:none;-webkit-mask-image:radial-gradient(ellipse 70% 62% at 50% 40%,#000 60%,transparent 100%);mask-image:radial-gradient(ellipse 70% 62% at 50% 40%,#000 60%,transparent 100%)}
@media(min-width:701px){#view-schedule .schedule-cutout{bottom:240px}}
