/* Responsive foundation: retain every field; constrain overflow to intentional data regions. */
html{scroll-padding-top:88px}body{min-width:0}*,*::before,*::after{box-sizing:border-box}img,video,iframe{max-width:100%}input,select,textarea,fieldset{min-width:0}input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{max-width:100%}button,a,summary,label,td,th,p,h1,h2,h3,strong,small{overflow-wrap:anywhere}pre{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}.main,.main .section,.main .section>*,.grid>*,.rc-builder>*,.live-grid>*,.inbox-shell{min-width:0}button,a,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid var(--red,#be2029);outline-offset:3px}button{max-width:100%}dialog{max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 32px)!important;overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#10131c99}.shell>.side{overflow-y:auto;height:100dvh}.shell{grid-template-columns:220px minmax(0,1fr)}.shell>.main{padding-inline:clamp(16px,2.2vw,30px)}
.jr-layout-control{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:6px 10px;border:1px solid var(--line,#d9dce5);border-radius:9px;background:var(--surface,#fff);color:var(--ink,#222);font-size:12px;max-width:100%;min-width:0}.jr-layout-control label{display:flex!important;align-items:center;gap:7px;margin:0!important;font-weight:650}.jr-layout-control select{display:inline-block!important;width:auto!important;max-width:140px;min-height:36px;margin:0!important;padding:5px 8px!important;border:1px solid var(--line,#ddd);border-radius:6px;background:var(--surface,#fff);color:inherit;font:inherit}.jr-layout-control>span{font-size:11px;color:var(--muted,#646b78)}#jr-nav-toggle{display:none}.jr-table-tools{display:none}.jr-data-table{max-width:100%}.jr-data-table td,.jr-data-table th{overflow-wrap:anywhere}
html.jr-compact-nav .shell{display:block}html.jr-compact-nav .shell>.side{position:sticky;top:0;width:100%;height:auto;max-height:100dvh;z-index:80;padding:10px 16px;overflow-y:auto}html.jr-compact-nav .shell>.side .brand{padding:0;gap:12px}html.jr-compact-nav .shell>.side .brand-logo{width:44px;height:44px;padding:3px;border-radius:9px}html.jr-compact-nav .shell>.side .brand small{font-size:10px}html.jr-compact-nav #jr-nav-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1;min-height:44px;border:1px solid #ffffff44;border-radius:8px;background:#ffffff12;color:white;padding:8px 12px;font:inherit;font-size:13px}html.jr-compact-nav #jr-nav-toggle span{font-weight:700}html.jr-compact-nav #jr-nav-toggle strong{white-space:nowrap}html.jr-compact-nav .shell>.side .nav,html.jr-compact-nav .shell>.side .home-link,html.jr-compact-nav .shell>.side .side-foot{display:none}html.jr-compact-nav.jr-nav-open .shell>.side .nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px;overflow:visible}html.jr-compact-nav.jr-nav-open .shell>.side .home-link{display:block;padding:12px 0}html.jr-compact-nav .nav button,html.jr-compact-nav .nav a{white-space:normal;min-width:0;min-height:46px;margin:0}html.jr-nav-open{overflow:hidden}html.jr-nav-open .shell>.side{position:fixed;inset:0;height:100dvh;max-height:none}
html:is([data-layout=tablet],[data-layout=phone]) .main .session-header{gap:8px;margin-bottom:20px;padding-bottom:14px}html:is([data-layout=tablet],[data-layout=phone]) .main .session-header .demo-chip{flex-basis:100%;order:-2}html:is([data-layout=tablet],[data-layout=phone]) .layout,html:is([data-layout=tablet],[data-layout=phone]) .health-layout,html:is([data-layout=tablet],[data-layout=phone]) .admin-grid,html:is([data-layout=tablet],[data-layout=phone]) .scheduler-grid,html:is([data-layout=tablet],[data-layout=phone]) .route-layout,html:is([data-layout=tablet],[data-layout=phone]) .robot-grid,html:is([data-layout=tablet],[data-layout=phone]) .ap-workspace,html:is([data-layout=tablet],[data-layout=phone]) .ap-guide-workspace,html:is([data-layout=tablet],[data-layout=phone]) .bt-main-grid,html:is([data-layout=tablet],[data-layout=phone]) .bt-lower-grid,html:is([data-layout=tablet],[data-layout=phone]) .mc-editor-layout{grid-template-columns:minmax(0,1fr)!important}html:is([data-layout=tablet],[data-layout=phone]) .rc-combined-sidebar,html:is([data-layout=tablet],[data-layout=phone]) .rc-builder{grid-template-columns:minmax(0,1fr)!important}html:is([data-layout=tablet],[data-layout=phone]) .rc-report-sidebar{order:-1;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}html:is([data-layout=tablet],[data-layout=phone]) .rc-catalog{position:static;max-height:none}html:is([data-layout=tablet],[data-layout=phone]) .rc-inbox{grid-template-columns:minmax(0,1fr)}html:is([data-layout=tablet],[data-layout=phone]) .rc-inbox>aside{display:flex;flex-wrap:wrap;gap:8px;align-items:center}html:is([data-layout=tablet],[data-layout=phone]) .rc-inbox>aside button{width:auto}html:is([data-layout=tablet],[data-layout=phone]) .rc-visual{max-height:none!important;height:auto!important;overflow:visible!important}html:is([data-layout=tablet],[data-layout=phone]) .rc-resize{display:none}html:is([data-layout=tablet],[data-layout=phone]) .ar-tabs,html:is([data-layout=tablet],[data-layout=phone]) .rc-tabs,html:is([data-layout=tablet],[data-layout=phone]) .admin-jumps{display:flex;flex-wrap:wrap!important;overflow:visible!important;position:static;max-width:100%;gap:8px}html:is([data-layout=tablet],[data-layout=phone]) .ar-tabs button,html:is([data-layout=tablet],[data-layout=phone]) .rc-tabs button,html:is([data-layout=tablet],[data-layout=phone]) .admin-jumps button{white-space:normal;min-height:44px;flex:1 1 130px;font-size:13px}html:is([data-layout=tablet],[data-layout=phone]) .jr-table-tools{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:10px 0;font-size:12px;color:var(--muted,#646b78)}.jr-table-tools button{border:1px solid var(--line,#ddd);border-radius:7px;padding:9px 12px;min-height:42px;background:var(--surface,#fff);color:var(--ink,#222);font:inherit}.jr-table-tools button[aria-pressed=true]{border-color:var(--red,#be2029)}
/* Narrow layouts use intrinsic column widths even when a wider view is manually selected. */
@media(max-width:1100px){.main .top{flex-wrap:wrap}.main .top>.top-actions{max-width:100%}.integration{grid-template-columns:42px minmax(0,1fr) minmax(0,1fr) auto}.integration .metric{display:block!important}.integration .run{grid-column:-2/-1}.rc-combined-sidebar{grid-template-columns:minmax(0,1fr)!important}.intel-story,.intel-learning,.ai-columns,.bos-result-grid,.qw-split{grid-template-columns:minmax(0,1fr)!important;gap:20px}.rc-catalog{position:static}.ar-table-wrap,.tpl-table,.registry-scroll,.bt-table-wrap,.mc-table-wrap,.qw-table,.rc-evidence-table,.ap-manual-grid-wrap,.live-table,.jr-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.ap-manual-grid-wrap{max-height:none}.topology-scroll{max-width:100%}.rc-calculation-selector details{min-width:0}.main .session-header>button,.main .session-header>a{white-space:normal;height:auto;min-height:44px}.jr-video-controls button,.jr-video-controls select{min-height:44px}.ap-guide-steps{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important}.ap-guide-steps span{flex-shrink:0}.ar-filter,.mo-context label,.rc-toolbar label,.rc-dash-head label,.bd-toolbar label,.mc-toolbar label{min-width:0!important;max-width:100%}.rc-dash-head,.rc-toolbar,.ar-toolbar,.bd-toolbar,.mc-toolbar{gap:12px}.rc-bars>div{grid-template-columns:minmax(0,1fr) auto!important}.rc-bar-track{grid-column:1/-1}.rc-size-label{min-width:0!important}.mc-total-grid,.mc-order-details{min-width:0}.integration .metric:nth-of-type(2){display:block!important}.inbox-header{flex-wrap:wrap}.inbox-header>div{flex-wrap:wrap}}
html[data-layout=phone] .main{padding:16px 12px 36px}html[data-layout=phone] .shell>.side .brand>div{display:none}html[data-layout=phone].jr-nav-open .shell>.side .nav{grid-template-columns:1fr}html[data-layout=phone] .main .session-header .jr-layout-control{order:-1;width:100%}html[data-layout=phone] .main .session-header .signed-user{flex:1}html[data-layout=phone] .main .session-header>button,html[data-layout=phone] .main .session-header>a{flex:1 1 135px;font-size:12px}html[data-layout=phone] .main .top{display:flex;flex-direction:column;gap:12px}html[data-layout=phone] .main .top h1{font-size:26px!important}html[data-layout=phone] .main .top>.top-actions{width:100%;justify-content:flex-start}html[data-layout=phone] .main .top>button{width:100%}
html[data-layout=phone] :is(.kpis,.analytics-grid,.mo-metrics,.mo-columns,.mo-pulse-grid,.ar-kpis,.ar-grid-2,.ar-rules-grid,.ar-facts,.ar-preview-grid,.ar-flow,.ar-bank-flow,.ap-intake,.ap-control-grid,.ap-review-grid,.ap-approval-grid,.ap-form-grid,.ap-guide-choices,.ap-invoice-facts,.ap-big-actions,.ap-support-actions,.rc-widget-fields,.rc-calc-inputs,.rc-calc-steps,.cl-grid,.cl-toolbar,.cl-loop,.cl-evolve-pillars,.ev-stats,.ev-contributions,.intel-answer-grid,.intel-skill-grid,.intel-boundaries,.intel-sources,.intel-outputs,.ai-controls,.ai-columns,.ai-steps,.bos-loop,.qw-controls,.qw-kpis,.tpl-filter,.tpl-kpis,.mc-field-grid,.mc-grid,.mc-header-grid,.bd-grid,.form-row,.lab-controls,.reconcile-controls,.param-grid,.brand-grid){grid-template-columns:minmax(0,1fr)!important}html[data-layout=phone] #tpl-rates fieldset,html[data-layout=phone] #ap-manual-filters .ap-form-grid,html[data-layout=phone] .rc-admin .rc-grants{grid-template-columns:minmax(0,1fr)!important}html[data-layout=phone] .rc-canvas>.rc-visual{grid-column:1/-1!important}html[data-layout=phone] .rc-visual .rc-note{display:block;-webkit-line-clamp:unset;overflow:visible}html[data-layout=phone] .ar-actions,html[data-layout=phone] .mc-actions,html[data-layout=phone] .admin-actions{flex-wrap:wrap}html[data-layout=phone] .ar-actions>*{flex:1 1 140px;min-width:0!important}html[data-layout=phone] .rc-schedule-list>article,html[data-layout=phone] .rc-schedule-head{flex-direction:column}html[data-layout=phone] .admin-jumps strong{width:100%}html[data-layout=phone] .topology{min-width:0!important;height:auto;display:grid;grid-template-columns:1fr;gap:12px;padding:16px}html[data-layout=phone] .topology .device{position:relative;inset:auto;transform:none;width:100%;min-height:60px;box-shadow:none}html[data-layout=phone] .topology:after,html[data-layout=phone] .topology-lines{display:none}html[data-layout=phone] .ai-topo-svg{min-width:0!important}html[data-layout=phone] .ai-lab,html[data-layout=phone] .panel,html[data-layout=phone] .ar-card,html[data-layout=phone] .ap-decision-panel,html[data-layout=phone] .cl-bos,html[data-layout=phone] .rc-reader,html[data-layout=phone] .intel-story{padding:16px}html[data-layout=phone] .integration{grid-template-columns:42px minmax(0,1fr)!important}html[data-layout=phone] .integration .metric{grid-column:2;display:block!important}html[data-layout=phone] .integration .run{grid-column:1/-1}html[data-layout=phone] .health-row{grid-template-columns:minmax(0,1fr)}html[data-layout=phone] .health-row>*{grid-column:auto!important;grid-row:auto!important}html[data-layout=phone] .ap-viewer iframe{height:65dvh;min-height:320px}html[data-layout=phone] .ap-guide-sample{padding:20px!important;min-height:0}html[data-layout=phone] .ap-guide-sample strong{float:none;display:block}html[data-layout=phone] .ar-email{height:1000px}html[data-layout=phone] .stamp{white-space:normal}html[data-layout=phone] .brand-theme-row{grid-template-columns:1fr}html[data-layout=phone] .jr-video-controls{padding:12px}html[data-layout=phone] .jr-video-buttons>*{flex:1 1 90px}html[data-layout=phone] .jr-video-chapters nav{display:grid;grid-template-columns:1fr}html[data-layout=phone] .jr-video-timeline{flex-wrap:wrap}html[data-layout=phone] .jr-video-timeline input{min-width:100px}html[data-layout=phone] .toast{left:12px;right:12px;bottom:12px;max-width:none}html[data-layout=phone] input:not([type=checkbox]):not([type=radio]),html[data-layout=phone] select,html[data-layout=phone] textarea{font-size:16px!important}html[data-layout=phone] button,html[data-layout=phone] summary{min-height:44px}html[data-layout=phone] dialog{padding:18px!important;width:calc(100vw - 20px)!important;max-height:calc(100dvh - 24px)!important}
/* Card view reuses the live cells, sort/filter controls, selection and handlers. No duplicate records. */
html[data-layout=phone] .jr-data-table:not([data-mobile-view=table]),.jr-data-table[data-mobile-view=cards]{display:block!important;width:100%!important;min-width:0!important;table-layout:auto}
html[data-layout=phone] .jr-data-table:not([data-mobile-view=table])>thead,.jr-data-table[data-mobile-view=cards]>thead{display:none}
html[data-layout=phone] .jr-data-table.jr-table-headers-open:not([data-mobile-view=table])>thead,.jr-data-table.jr-table-headers-open[data-mobile-view=cards]>thead{display:block;width:100%}
html[data-layout=phone] .jr-data-table:not([data-mobile-view=table])>thead>tr,.jr-data-table[data-mobile-view=cards]>thead>tr{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));width:100%}
html[data-layout=phone] .jr-data-table:not([data-mobile-view=table])>thead th,.jr-data-table[data-mobile-view=cards]>thead th{display:block;position:static;min-width:0!important;max-width:100%!important;white-space:normal!important}
html[data-layout=phone] .jr-data-table:not([data-mobile-view=table])>tbody,.jr-data-table[data-mobile-view=cards]>tbody{display:block;width:100%}
html[data-layout=phone] .jr-data-table:not([data-mobile-view=table])>tbody>tr:not([hidden]),.jr-data-table[data-mobile-view=cards]>tbody>tr:not([hidden]){display:block;margin:12px 0;border:1px solid var(--line,#ddd);border-radius:10px;padding:8px;background:var(--surface,#fff);width:100%}
html[data-layout=phone] .jr-data-table:not([data-mobile-view=table])>tbody>tr>td,html[data-layout=phone] .jr-data-table:not([data-mobile-view=table])>tbody>tr>th,.jr-data-table[data-mobile-view=cards]>tbody>tr>td,.jr-data-table[data-mobile-view=cards]>tbody>tr>th{display:block;width:100%!important;min-width:0!important;max-width:none!important;text-align:left!important;white-space:normal!important;padding:10px!important;border:0;border-bottom:1px solid var(--line,#ddd);overflow-wrap:anywhere}
html[data-layout=phone] .jr-data-table:not([data-mobile-view=table]) [data-column-label]:not([data-column-label=""])::before,.jr-data-table[data-mobile-view=cards] [data-column-label]:not([data-column-label=""])::before{content:attr(data-column-label);display:block;font-size:11px;font-weight:750;color:var(--muted,#657080);margin-bottom:5px;text-transform:none;letter-spacing:0}
html[data-layout=phone] .jr-data-table:not([data-mobile-view=table]) input,html[data-layout=phone] .jr-data-table:not([data-mobile-view=table]) select,.jr-data-table[data-mobile-view=cards] input,.jr-data-table[data-mobile-view=cards] select{min-width:0!important;max-width:100%!important}.jr-data-table[data-mobile-view=cards] tfoot{display:block;overflow:auto}
@media(max-width:600px){.shell>.main{padding-inline:12px}.main .top{flex-direction:column}.main .top>.top-actions{width:100%;justify-content:flex-start}.rc-combined-sidebar,.rc-builder,.rc-calc-inputs,.live-grid,.live-edit,.welcome-hero,.approach-layout,.inquiry-section{grid-template-columns:minmax(0,1fr)!important}.rc-canvas>.rc-visual{grid-column:1/-1!important}.rc-report-sidebar{order:-1}.main .session-header>button,.main .session-header>a{flex:1 1 130px}.ar-tabs{flex-wrap:wrap!important;overflow:visible!important}.ar-tabs button{white-space:normal!important;flex:1 1 130px}.ap-guide-steps{grid-template-columns:1fr!important}.ai-topo-svg{min-width:0!important}.content-width{width:calc(100% - 28px)!important}.welcome-header,.welcome-header nav,.header-actions,.bar{flex-wrap:wrap;gap:10px}.bar h1{font-size:23px}.inbox-shell{padding:16px}.inbox-shell footer{flex-wrap:wrap}.rc-value{font-size:26px}.live-shell{padding:12px!important}.live-card{padding:16px!important}.live-controls>*{min-width:0!important;max-width:100%}.live-controls label{flex-basis:100%}.live-fields>div{grid-template-columns:minmax(0,1fr)!important}.live-original{height:60dvh!important;min-height:300px}.live-progress-stages{display:grid!important;grid-template-columns:1fr 1fr}.live-docs{flex-wrap:wrap!important;overflow:visible!important}.live-doc{flex-basis:100%!important}.ar-payment-card{margin:16px!important}.stage-card,.stat-card{min-width:0!important}input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important}.jr-layout-control{min-width:0!important}.jr-layout-control select{font-size:14px!important}dialog{padding:16px!important}.mc-total-grid{grid-template-columns:minmax(0,1fr) auto!important;min-width:0!important}.rc-schedule-list>article{flex-direction:column}.health-row{grid-template-columns:minmax(0,1fr)}.health-row>*{grid-column:auto!important;grid-row:auto!important}}
@media print{.jr-layout-control,.jr-table-tools,#jr-nav-toggle{display:none!important}}

/* Header actions are grouped on compact screens; laptop buttons stay in the toolbar. */
.main .session-header .jr-header-tools{display:contents}.jr-header-tools>summary{display:none}.jr-header-tools>div{display:contents}.jr-header-tools button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:8px;font:650 13px/1.3 inherit;white-space:normal;margin:0;box-shadow:none}.jr-header-tools .primary{background:var(--red);color:white}
html:is([data-layout=phone],[data-layout=tablet]) .main .session-header .jr-header-tools{display:block;position:relative;flex:0 0 auto}html:is([data-layout=phone],[data-layout=tablet]) .jr-header-tools>summary{display:flex;align-items:center;cursor:pointer;min-height:44px;padding:10px 14px;border:1px solid var(--line);background:var(--surface);border-radius:8px;font-size:13px;font-weight:650}html:is([data-layout=phone],[data-layout=tablet]) .jr-header-tools>div{display:none}html:is([data-layout=phone],[data-layout=tablet]) .jr-header-tools[open]>div{display:grid;grid-template-columns:1fr;gap:8px;position:absolute;right:0;top:50px;z-index:65;width:min(260px,calc(100vw - 30px));padding:12px;border:1px solid var(--line);background:var(--surface);border-radius:10px;box-shadow:var(--shadow)}html:is([data-layout=phone],[data-layout=tablet]) .main .session-header .signed-user{flex:1 1 170px;min-width:170px;height:auto;min-height:44px}html:is([data-layout=phone],[data-layout=tablet]) .signed-user>div{min-width:0}html:is([data-layout=phone],[data-layout=tablet]) .signed-user strong,html:is([data-layout=phone],[data-layout=tablet]) .signed-user small{overflow-wrap:normal}html:is([data-layout=phone],[data-layout=tablet]) .main .session-header .cl-learning-link{flex:1 1 100%}html:is([data-layout=phone],[data-layout=tablet]) .cl-jumps,html:is([data-layout=phone],[data-layout=tablet]) .ev-workspace-tabs{flex-wrap:wrap;overflow:visible}html:is([data-layout=phone],[data-layout=tablet]) .cl-jumps>*{flex:1 1 140px;white-space:normal}html:is([data-layout=phone],[data-layout=tablet]) .cl-intro,html:is([data-layout=phone],[data-layout=tablet]) .one-evolve-bridge{flex-wrap:wrap}html:is([data-layout=phone],[data-layout=tablet]) .ar-tabs{flex-wrap:wrap!important;overflow:visible!important}.jr-table-scroll{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
@media(max-width:600px){.jr-layout-control{width:100%}.session-header .signed-user{min-width:170px!important;flex-basis:170px!important}.main .session-header .cl-learning-link{flex-basis:100%}.cl-jumps,.ev-workspace-tabs{flex-wrap:wrap!important;overflow:visible!important}.ev-actions,.cl-dialog-head,.one-evolve-bridge,.cl-intro{flex-wrap:wrap}.mo-context{flex-wrap:wrap}.ai-network{padding:12px}.topology{min-width:0!important}.jr-ideas-header{padding:12px}.jr-header-tools[open]>div{max-height:65dvh;overflow:auto}}
html[data-embedded=true] .live-head .jr-layout-control{display:none}.ai-topo-mobile{display:none}.architecture-components{display:none}html:is([data-layout=phone],[data-layout=tablet]) .architecture-components{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:10px;padding:16px}.architecture-components button{text-align:left;padding:14px;border:1px solid var(--line,#526579);border-radius:9px;background:var(--surface,#173d59);color:var(--ink,#fff);min-height:60px}.architecture-components small{display:block;margin-top:6px}.architecture-components [aria-pressed=true]{border-color:var(--red,#be2029)}html[data-layout=phone] #ai-topo-canvas .ai-topo-svg{display:none}html[data-layout=phone] .ai-topo-mobile{display:grid;list-style:none;gap:12px;padding:0;counter-reset:route;margin:16px 0}html[data-layout=phone] .ai-topo-mobile li{padding:16px;border:1px solid var(--line);border-radius:9px;background:var(--surface);font-size:14px;line-height:1.6}html[data-layout=phone] .ai-topo-mobile li[aria-current=step]{border:2px solid var(--red);background:var(--accent-soft)}html[data-layout=phone] .stage>.scroll{display:none}html:is([data-layout=phone],[data-layout=tablet]) .bar{height:auto;min-height:76px;flex-wrap:wrap;padding:12px 16px;gap:12px}html:is([data-layout=phone],[data-layout=tablet]) .bar .jr-layout-control{flex-basis:100%}
/* Workspace tabs always wrap; no modules should disappear off the right edge on laptops. */
.ar-tabs,.cl-jumps,.ev-workspace-tabs{flex-wrap:wrap!important;overflow:visible!important;max-width:100%}.ar-tabs button,.cl-jumps button,.ev-workspace-tabs button{white-space:normal!important;min-height:44px}
.jr-module-group{border-top:1px solid #ffffff22;margin-top:5px;padding-top:5px;min-width:0}.jr-module-group>summary{padding:11px 10px;font-size:13px;font-weight:750;cursor:pointer;color:#c9cbd4;min-height:44px}.jr-module-group.jr-module-active>summary{color:#fff}.nav .jr-module-group button,.nav .jr-module-group a{width:100%;font-size:12px;padding-left:16px}.nav .jr-module-home{font-weight:750}.jr-module-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px}.jr-module-card{padding:24px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.jr-module-card h2{font-size:20px;margin:0}.jr-module-card p{color:var(--muted);line-height:1.6;margin:0 0 12px}.jr-module-card button,.jr-module-card a{margin-top:auto;min-height:44px;text-decoration:none}.jr-module-note{font-size:13px;color:var(--muted);margin-bottom:24px}.jr-module-grid>article{min-width:0}html.jr-compact-nav.jr-nav-open .shell>.side .nav{grid-template-columns:1fr}.jr-compact-nav .jr-module-group[open]{padding-bottom:8px}.jr-compact-nav .jr-module-group>summary{font-size:15px}.jr-compact-nav .nav .jr-module-group button{font-size:14px;min-height:46px}

.main .session-header .jr-header-tools>summary{display:none!important}html.jr-compact-nav .main .session-header .jr-header-tools{display:block;position:relative;flex:0 0 auto}html.jr-compact-nav .main .session-header .jr-header-tools>summary{display:flex!important;min-height:44px;align-items:center;border:1px solid var(--line);padding:10px 14px;background:var(--surface);border-radius:8px;cursor:pointer}html.jr-compact-nav .jr-header-tools>div{display:none}html.jr-compact-nav .jr-header-tools[open]>div{display:grid;grid-template-columns:1fr;gap:8px;position:absolute;right:0;top:50px;z-index:65;width:min(260px,calc(100vw - 30px));max-height:65dvh;overflow:auto;padding:12px;border:1px solid var(--line);background:var(--surface);border-radius:10px;box-shadow:var(--shadow)}
.jr-module-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 16px;font-size:12px;color:var(--muted)}.jr-module-breadcrumb button{border:0;background:transparent;color:var(--accent-text,var(--red));font:inherit;cursor:pointer;padding:6px 0;font-weight:700;min-height:32px}.jr-module-breadcrumb button:hover{text-decoration:underline}.jr-module-breadcrumb span{min-width:0}
.main .session-header .jr-header-tools>div{display:flex;flex-wrap:wrap;gap:8px}html.jr-compact-nav .main .session-header .jr-header-tools:not([open])>div{display:none}html.jr-compact-nav .main .session-header .jr-header-tools[open]>div{display:grid;gap:8px}

/* Compact navigation is an anchored, non-modal pop-out beside the logo. */
.jr-current-page,.jr-nav-home{display:none}
html.jr-compact-nav .shell>.side{overflow:visible}
html.jr-compact-nav #jr-nav-toggle{flex:0 0 44px;width:44px;min-width:44px;max-width:44px;height:44px;justify-content:center;padding:8px;font-size:22px}
html.jr-compact-nav .shell>.side .brand{gap:10px}
html.jr-compact-nav .jr-current-page{display:block;flex:1;min-width:0;font-size:13px;font-weight:700;color:#fff;line-height:1.4}
html.jr-compact-nav .shell>.side .brand>div{display:none}
html.jr-compact-nav.jr-nav-open{overflow:auto}
html.jr-compact-nav.jr-nav-open .shell>.side{position:sticky;inset:auto;top:0;height:auto;max-height:none}

html.jr-compact-nav.jr-nav-open .shell>.side .home-link{display:none}
html.jr-compact-nav.jr-nav-open .shell>.side .nav{position:fixed;left:12px;top:var(--jr-nav-top,72px);width:min(340px,calc(100vw - 24px));max-height:min(70dvh,calc(100dvh - var(--jr-nav-top,72px) - 16px));overflow-y:auto;overscroll-behavior:contain;display:block;margin:0;padding:12px;background:var(--navy,#1b1b20);border:1px solid #ffffff33;border-radius:12px;box-shadow:0 16px 40px #0006;z-index:90}
html.jr-compact-nav .nav .jr-nav-home{display:block;color:#c9cbd4;font-size:12px;padding:12px 10px;border-top:1px solid #ffffff22;margin-top:8px}
html.jr-compact-nav .nav>button{width:100%}
