/* Current interaction layer: scoped controls, readable dense content, touch targets. */
body.yx-portal #screen{width:100%;box-sizing:border-box;max-width:1440px;margin-inline:auto;min-width:0}
.rectify-editor{max-width:900px;margin:auto}.rectify-editor>h2{font-size:22px}.rectify-editor label{display:flex;flex-direction:column;gap:6px;margin:10px 0}.rectify-editor textarea,.rectify-editor input:not([type=radio]),.rectify-editor select{width:100%;max-width:100%;box-sizing:border-box;padding:10px;border:1px solid #dce1e9;border-radius:6px;background:#fff;font:inherit;color:#1c2636}.rectify-editor textarea{resize:vertical;min-height:100px}.rectify-editor fieldset{border:0;padding:15px 0;margin:0}.rectify-editor legend,.rectify-editor h3{font-size:15px;font-weight:600}.rectify-editor .rx-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.rectify-editor .rx-chips label{flex-direction:row;align-items:center;min-height:36px;padding:4px 10px;border:1px solid #e1e5ee;border-radius:5px;margin:0}.rectify-editor details{padding:14px 0;border-top:1px solid #e8ebf0}.rectify-editor pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto}.rx-verification{display:grid;grid-template-columns:2fr 1fr;gap:6px 16px;padding:12px 0;border-bottom:1px solid #e8ebf0}.rectify-editor [data-rx-party-row]{padding:12px 0;border-bottom:1px solid #e8ebf0}.rectify-editor button,.rx-page-tools button,.rx-management-row button{min-height:36px;padding:6px 12px;background:white;border:1px solid #dce1e9;border-radius:5px;color:#324c86;cursor:pointer;font:inherit}
.rx-page-tools{display:flex;justify-content:flex-end;gap:16px;align-items:center;margin:25px 0;border-top:1px solid #e6e9f0;padding-top:16px;font-size:13px}.rx-management-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #e8ebf0;padding:14px 0}.rx-management-row>div{min-width:0;overflow-wrap:anywhere}.rx-management-row small{display:block;color:#6d7481;margin-top:6px}.rx-manage{max-height:78vh;overflow:auto;padding:20px}.rx-recycle{max-width:1000px;margin:auto}.rx-deleted{padding:30px;background:#fff}.rx-manage [role=alert]{color:#a22}
.yx-calendar-page .yx-calendar-layout{display:block!important}.yx-calendar-page .yx-main-panel{width:100%}.yx-calendar-page .yx-event-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.yx-calendar-page .rx-event-summary{flex:0 0 100%;margin:0;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#667085}.rx-event-objects{flex-basis:100%;display:flex;gap:10px;flex-wrap:wrap;font-size:12px}.rx-object{color:#455a80}.rx-active-filter{padding:8px 14px;background:#f5f7fc}
.rx-brief-calendar{width:100%;box-sizing:border-box;border-bottom:1px solid #e4e8ef;padding-bottom:18px;margin-bottom:20px}.rx-brief-calendar header{display:flex;justify-content:space-between;gap:6px;align-items:center}.rx-brief-calendar header a{font-size:12px}.rx-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;margin:12px 0;text-align:center}.rx-month-grid>a,.rx-month-grid>span{position:relative;display:flex;align-items:center;justify-content:center;min-height:32px;min-width:0;font-size:13px}.rx-month-grid a[aria-current=date]{background:#315bdb;color:white;border-radius:4px}.rx-month-grid i{position:absolute;bottom:2px;left:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:currentColor}.rx-brief-calendar nav{display:flex;flex-wrap:wrap;gap:8px}.rx-brief-calendar small{display:block;font-size:11px;line-height:1.5;color:#757e90;margin-top:10px}
body.yx-portal .mi-reading-shell{grid-template-columns:minmax(0,1fr) 280px;gap:28px}body.yx-portal .mi-toc{min-width:0;max-height:calc(100vh - 130px);overflow:auto}.mi-overview-cohort,.mi-overview-basis{min-width:0;white-space:normal!important;word-break:normal!important}.mi-overview-basis{grid-column:1/-1;flex-basis:100%;width:100%}.mi-overview-grid>*{min-width:0}.mi-market-table td,.mi-market-table th{white-space:nowrap;font-variant-numeric:tabular-nums}.mi-story:has(.mi-article-fold[open]) .mi-story-preview{display:none}.mi-lead li>strong{display:block;line-height:1.6;margin-bottom:6px}.mi-lead li>div{font-size:14px;line-height:1.8}.mi-empty{min-height:0!important;padding:30px 20px!important}.mi-reader,.mi-reading-shell,.mi-overview{min-width:0}body.yx-portal .mi-table>div{overflow-x:auto}
@media(max-width:700px){body.yx-portal #screen{padding-inline:12px!important;width:auto}body.yx-portal .mi-reading-shell{display:flex;flex-direction:column}body.yx-portal .mi-toc{order:-1;position:static;max-height:none;width:100%;padding:12px}body.yx-portal .mi-toc>nav,body.yx-portal .mi-toc>h2,body.yx-portal .mi-toc>small,body.yx-portal .mi-toc>p{display:none}.rx-month-grid>a{min-height:44px}.rectify-editor button,.rx-management-row button,.rx-page-tools a,.rx-page-tools button{min-height:44px}.rx-verification{grid-template-columns:1fr}.rx-page-tools{flex-wrap:wrap}.yx-calendar-page .yx110-event{padding-right:58px!important}.yx-calendar-page .yx110-date{min-width:52px}.rx-brief-calendar{margin:0;border:0}.mi-reader h2{overflow-wrap:anywhere}.rx-management-row b{word-break:normal;overflow-wrap:anywhere}}

body.yx-portal .mi-overview-cohort{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px}body.yx-portal .mi-overview-basis{grid-column:1/-1;min-width:0;width:auto;flex:none;line-height:1.6}body.yx-portal .mi-overview-quote{min-width:0;max-width:none;width:100%;padding:10px 0}body.yx-portal .mi-overview-quote span{overflow-wrap:break-word;word-break:normal}body.yx-portal .mi-overview-group{min-width:min(100%,280px)}#portal-status-host #yx-cloud-bar{display:block;padding:10px;max-width:360px;white-space:normal}#portal-status-host #yx-cloud-bar>span{display:block}#portal-status-host #yx-cloud-bar button{margin:5px 5px 0 0}.portal-status:empty{display:none}#dailyForecastForm>footer{position:sticky;bottom:0;background:#fff;border:1px solid #e2e7f0;padding:14px 20px;z-index:4;display:flex;gap:10px;flex-wrap:wrap}.rectify-editor .df-field textarea{min-height:100px}

/* Defeat legacy ID-scoped grids; intrinsic containment must not collapse the reader. */
body.yx-portal #screen .mi-workspace{width:100%;max-width:none;box-sizing:border-box}
body.yx-portal #screen .mi-workspace[data-reading-layout="briefing"] .mi-reading-shell{display:grid;grid-template-columns:minmax(0,1fr) 280px;width:100%;max-width:none;gap:24px}
body.yx-portal #screen .mi-workspace[data-reading-layout="briefing"] .mi-reader{width:100%;max-width:none;min-width:0}
body.yx-portal #screen .mi-workspace[data-reading-layout="briefing"] .mi-lead li{display:block;position:relative;padding-left:32px}
body.yx-portal #screen .mi-workspace[data-reading-layout="briefing"] .mi-lead li::before{position:absolute;left:0;top:0}
body.yx-portal #screen .rectify-editor .rx-chips label{width:auto;flex:none;white-space:nowrap;display:inline-flex;gap:8px}
body.yx-portal #screen .rectify-editor .rx-chips input[type=radio]{width:16px;height:16px;min-width:16px;flex:0 0 16px;margin:0;padding:0}
body.yx-portal #screen .rectify-editor .rx-chips label span{white-space:nowrap;width:auto}
@media(max-width:700px){
 body.yx-portal #screen{width:100%!important;margin-inline:0}
 body.yx-portal #screen .mi-workspace[data-reading-layout="briefing"] .mi-reading-shell{display:flex;flex-direction:column}
 body.yx-portal #screen .mi-workspace[data-reading-layout="briefing"] .mi-toc{display:block;order:-1;width:100%;position:static;box-sizing:border-box;border:0;padding:0}
 body.yx-portal #screen .mi-workspace[data-reading-layout="briefing"] .mi-toc>nav,
 body.yx-portal #screen .mi-workspace[data-reading-layout="briefing"] .mi-toc>h2,
 body.yx-portal #screen .mi-workspace[data-reading-layout="briefing"] .mi-toc>p,
 body.yx-portal #screen .mi-workspace[data-reading-layout="briefing"] .mi-toc>small{display:none}
 body.yx-portal #screen .mi-workspace[data-reading-layout="briefing"] .mi-masthead h2{font-size:23px;word-break:normal}
}

.rx-icon{display:inline-block;vertical-align:middle;flex:0 0 18px;margin-right:6px;pointer-events:none}button:disabled{cursor:default}.rx-page-tools button:disabled{opacity:.55}.rx-management-row button:hover{background:#eef1ff}.rx-management-row button:focus-visible{outline:2px solid #4354ed;outline-offset:3px}body.yx-portal .yx-private-viewer{background:#f6f8fc!important}body.yx-portal .yx-private-viewer .actions{display:flex;flex-wrap:wrap;gap:8px}

.rx-brief-calendar>summary{display:none}@media(max-width:700px){.rx-brief-calendar>summary{display:list-item;padding:12px 4px;color:#4354ed;cursor:pointer}.rx-brief-calendar[open]>summary{margin-bottom:8px}}

.rx-keyword-more{display:inline-block;font-size:12px;margin-left:6px}.rx-keyword-more summary{cursor:pointer;color:#516681}

.rx-row-menu{position:relative;width:max-content;margin:8px 0 0 auto;font-size:12px}.rx-row-menu>summary{cursor:pointer;color:#586780;min-height:32px;display:flex;align-items:center}.rx-row-menu[open]{z-index:3}.rx-row-menu>button{min-height:36px;background:white;border:1px solid #dce2ed;border-radius:6px;color:#a93838}.rx-row-menu>button:focus-visible{outline:2px solid #4354ed}

body.yx-portal #screen .mi-lead li>div strong{display:inline}body.yx-portal #screen .mi-overview-quote{font-size:14px}body.yx-portal #screen .mi-overview-quote strong{font-size:18px}body.yx-portal #screen .mi-overview-basis{font-size:12px}
