/* Post-lock desktop fit contract. This final cascade layer changes layout safety,
   not product behavior or the established visual design. */
:root{--wy-desktop-sidebar-width:280px;--wy-demo-sidebar-width:268px;--wy-demo-workspace-left:calc(var(--wy-demo-sidebar-width) + 18px)}
html,body{width:100%;max-width:100%;font-size:14px}
body{overflow-wrap:break-word}
.enterprise-shell{width:100%;max-width:100%;grid-template-columns:var(--wy-desktop-sidebar-width) minmax(0,1fr)}
.enterprise-shell>.sidebar{width:var(--wy-desktop-sidebar-width);min-width:0}
.enterprise-shell>.main-area,.main-area>.content{width:100%;max-width:100%;min-width:0}
.content{box-sizing:border-box}
body.demo-sidebar-enabled .demo-sidebar{width:var(--wy-demo-sidebar-width);transition:none}
body.demo-sidebar-enabled .shell{box-sizing:border-box;width:calc(100% - var(--wy-demo-sidebar-width) - 38px);max-width:none;margin-left:var(--wy-demo-workspace-left);margin-right:20px;min-width:0;transition:none}
.shell,.hero,main,.grid,.card,.panel,.section-card,.task,.review-row,.queue-item,.topbar,.tabs-row{min-width:0;max-width:100%}
.grid>* , [class*="-grid"]>* , [class*="-layout"]>* , [class*="-row"]>*{min-width:0}
.card,.panel,.section-card,.task-card,.people-card,.queue-item,.review-row{height:auto;overflow-wrap:anywhere;word-break:normal}
h1,.headline,.page-header h1{font-size:clamp(24px,2.2vw,28px)}
h2{font-size:18px}h3,.card h2,.card h3{font-size:16px}
p,li,dd,dt,label,input,select,textarea,button,.button,.cta,.tab,td{font-size:max(14px,1em)}
small,.muted,.label,.eyebrow,.chip,.status-badge,.badge,th,.metadata{font-size:max(12px,.8125rem)}
a,button,.button,.cta,.tab,.chip,.badge,.status-badge,th,td,label,strong,small,p,dd,dt{overflow-wrap:anywhere;word-break:normal}
button,.button,.cta,.tab{white-space:normal;min-height:36px}
.actions,.actions-row,.header-actions,.mini-actions,.toolbar,.filter-bar,.topbar{flex-wrap:wrap}
.table-wrap,.responsive-table,.detail-table-wrap,#task-queue{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
table{max-width:none}td,th{white-space:normal}
@media(max-width:960px){
 .enterprise-shell{grid-template-columns:minmax(0,1fr)}
 .enterprise-shell>.sidebar{width:100%}
 body.demo-sidebar-enabled .demo-sidebar{width:calc(100% - 24px)}
 body.demo-sidebar-enabled .shell{width:calc(100% - 24px);margin:0 auto}
}
@media(prefers-reduced-motion:reduce){body.demo-sidebar-enabled .demo-sidebar,body.demo-sidebar-enabled .shell{transition:none}}
.demo-sidebar-link strong,.nav-list a,.wy-yodha b{font-size:14px}
.wy-nav-label,.demo-sidebar-link span,.demo-sidebar-sublink,.wy-yodha small,.sidebar-intelligence strong,.sidebar-intelligence small{font-size:12px}
/* Meaningful workspace labels keep the shared 12px floor even when route selectors
   are more specific than the generic typography contract above. */
body.demo-sidebar-enabled .wy-brand-lockup span,
body.demo-sidebar-enabled .wy-nav-label,
body.demo-sidebar-enabled .demo-sidebar-link strong,
body.demo-sidebar-enabled .wy-yodha b,
body.demo-sidebar-enabled .wy-yodha small,
body.demo-sidebar-enabled .workspace-profile>span,
body.demo-sidebar-enabled .workspace-profile>a,
body.demo-sidebar-enabled .workspace-profile a small,
body.demo-sidebar-enabled .label,
body.demo-sidebar-enabled .subhead,
body.demo-sidebar-enabled .cta,
body.demo-sidebar-enabled .twin-button,
.wy-viz-row strong,.wy-donut small,.wy-viz-legend button,.wy-flow button,
.wy-gauge span,.wy-viz-detail a span,.wy-map-key,.wy-radar text,
.wy-person-avatar,.wy-lifecycle button,.wy-board-chip,.wy-board-badge{font-size:12px}
