/* Shared application components. Palette: theme.css; page widgets: dashboard.css. */
:root{--font:Manrope,'Segoe UI',Arial,sans-serif;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--control-height:40px;--control-radius:8px;--panel-radius:14px;--drawer-width:720px;--content-width:1680px;--focus:var(--accent);--disabled:var(--subtle);--text-secondary:var(--muted);--info:var(--accent);--info-soft:var(--accent-soft);--layer-header:20;--layer-overlay:100;--motion:140ms ease}
body{font-family:var(--font);font-size:13px;line-height:1.6;font-variant-numeric:tabular-nums;overflow-wrap:break-word}
html{scrollbar-width:none}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none}
[hidden]{display:none!important}
:is(.main,.portal-main){max-width:var(--content-width);min-width:0;padding:24px 28px 32px}
:is(.page-heading,.network-heading){display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;min-width:0}
.page-heading>div:first-child{min-width:0}
.page-heading h1{font-size:26px;line-height:1.3;letter-spacing:-.7px;font-weight:650;margin:0 0 5px;overflow-wrap:anywhere}
.page-heading p{font-size:12px;line-height:1.6;color:var(--muted);max-width:85ch}
.page-heading>.actions{justify-content:flex-end;flex-wrap:wrap;gap:8px;flex-shrink:0}
.page-heading>.actions:empty{display:none}
.page-help{display:flex;justify-content:flex-end;margin:-8px 0 14px}
.context-help{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;white-space:nowrap}
.context-help .icon{width:15px;height:15px}
.commerce-note{border:0;background:transparent;padding:0;margin:0 0 12px;font-size:11px;font-weight:400;line-height:1.6;color:var(--muted)}
.network-demo-icon,.environment-info-icon{display:none}
.topbar .network-demo-mark{min-height:40px}
@media(max-width:680px){
 .network-top-context .network-demo-mark{display:inline-flex;align-items:center;justify-content:center;width:32px;min-height:44px;padding:0}
 .network-demo-mark .network-demo-label,.network-demo-mark .status-dot{display:none}
 .network-demo-mark .network-demo-icon{display:inline-flex}
 .network-demo-icon .icon{width:16px;height:16px}
}
@media(max-width:760px){
 .portal-top .environment-button{display:inline-flex;align-items:center;justify-content:center;width:32px;min-height:44px;padding:0;border:0;background:transparent;color:var(--muted)}
 .portal-top .environment-button>[data-connection-label],.portal-top .environment-button>.status-dot{display:none}
 .portal-top .environment-info-icon{display:inline-flex}.environment-info-icon .icon{width:16px;height:16px}
}
.page-heading--integrated{display:grid;grid-template-columns:minmax(200px,1fr) auto;align-items:center;gap:20px 28px;margin-bottom:22px}
.page-heading--integrated .page-heading-copy{min-width:0}
.page-heading--integrated .page-heading-copy p{max-width:60ch}
.page-heading--integrated>.actions{max-width:none}
.page-title-line{display:flex;align-items:center;gap:4px;min-width:0}
.page-title-line h1{margin:0;min-width:0}
.page-title-line .page-title-help{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;min-height:32px;width:32px;color:var(--muted);background:transparent;border:0;border-radius:6px;text-decoration:none;opacity:.7}
.page-title-line .page-title-help:hover,.page-title-line .page-title-help:focus-visible{color:var(--ink);opacity:1}
.page-title-help .icon{width:16px;height:16px}
.page-view-count{display:inline-flex;justify-content:center;align-items:center;min-width:18px;height:18px;padding-inline:4px;border-radius:5px;background:var(--surface-soft);color:var(--ink);font-size:11px;font-weight:650}
@media(max-width:680px){
 .page-heading.page-heading--integrated{display:flex;flex-direction:column;align-items:stretch;gap:14px}
 .page-heading--integrated>.actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(128px,100%),1fr));gap:8px;width:100%;padding:0}
 [data-theme] .page-heading--integrated>.actions>.btn{min-width:0;white-space:normal;text-align:center;padding-inline:10px;gap:6px;align-self:stretch}
 .page-title-line .page-title-help{flex-basis:44px;width:44px;min-height:44px}
}
@media print{.page-title-help,.workspace-view-access{display:none!important}}
[data-theme] :is(.panel,.product-card,.entity-summary,.operation-focus){border:1px solid var(--line);border-radius:var(--panel-radius);background:var(--surface);box-shadow:none;color:var(--ink)}
.panel{margin-bottom:22px;min-width:0;overflow:clip}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 14px;flex-wrap:wrap}
.panel-head h2{font-size:16px;line-height:1.5;font-weight:650;margin:0;color:var(--ink)}
.panel-head p{font-size:12px;line-height:1.6;color:var(--muted);margin-top:4px}
.panel-body{padding:0 20px 20px;min-width:0}
.panel-pad{padding:20px}
.panel-pad h2{font-size:16px;line-height:1.5}
.panel-footer,.table-footer{padding:14px 20px;border-top:1px solid var(--line);font-size:12px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;background:var(--surface)}
[data-theme] .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--control-height);padding:8px 13px;border:1px solid var(--line);border-radius:var(--control-radius);font:600 12px/1.4 var(--font);color:var(--ink);background:var(--surface);box-shadow:none;white-space:nowrap;text-decoration:none}
[data-theme] .btn.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
[data-theme] .btn.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
[data-theme] .btn.ghost{background:transparent;border-color:transparent;color:var(--muted)}
[data-theme] .btn.danger{background:var(--bad-soft);border-color:var(--bad);color:var(--bad)}
[data-theme] .btn:hover{background:var(--hover);border-color:var(--line-strong)}
[data-theme] .btn.small{min-height:34px;padding:6px 10px;font-size:12px}
[data-theme] .btn.square{width:40px;min-width:40px;padding:8px}
[data-theme] .btn:disabled{opacity:.5;cursor:not-allowed;transform:none}
.icon{width:18px;height:18px;flex-shrink:0}
:is(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid var(--focus);outline-offset:3px}
[data-theme] :is(input,select,textarea){min-height:var(--control-height);border:1px solid var(--line-strong);border-radius:var(--control-radius);background:var(--surface);color:var(--ink);font:400 13px/1.5 var(--font);padding:9px 11px;max-width:100%;box-shadow:none}
[data-theme] :is(input,select,textarea):focus{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}
[data-theme] :is(input,select,textarea):disabled{background:var(--surface-soft);color:var(--disabled)}
[data-theme] :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
[data-theme] [aria-invalid=true]{border-color:var(--bad)}
.field label,.filter-field label{display:block;font-size:12px;font-weight:550;color:var(--muted);margin-bottom:5px}
.field-error,.form-error{color:var(--bad);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.form-grid{gap:16px 20px;min-width:0}.form-grid>*{min-width:0}
.form-section{border:0;border-top:1px solid var(--line);padding:18px 0;margin:0}
.form-section legend{font-size:14px;font-weight:650;color:var(--ink);padding-right:10px}
.section-hint{font-size:12px;color:var(--muted)}
[data-theme] .filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.filter-panel{margin-bottom:20px}.filter-field{min-width:130px;flex:1 1 150px}
.filter-field.search-field{flex:2 1 240px}.filter-field :is(input,select){width:100%}
.filters>.btn{flex-shrink:0}.filter-more{flex-basis:100%;min-width:0}
.filter-more:has([data-shared-filter])>.filter-more-content{display:none}
.filter-more summary:has([data-shared-filter]){list-style:none;cursor:pointer}
.filter-more summary:has([data-shared-filter])::-webkit-details-marker{display:none}
/* Approved dashboard hierarchy, shared by every data-filter card. */
[data-theme] form.filter-card{display:block;position:relative;container:page-filters / inline-size;min-width:0;padding:16px 18px}
.filter-main-row{display:grid;grid-template-columns:repeat(var(--filter-columns,3),minmax(100px,1fr)) max-content;align-items:end;gap:12px;min-width:0}
.filter-main-row>.filter-field{min-width:0}
/* Labels share one gap with their control; business-entry forms keep their own spacing. */
:is(form.filter-card,[data-form=shared-filters],.network-filter-panel,.network-utility-drawer) :is(.filter-field,.field){display:flex;flex-direction:column;gap:6px}
:is(form.filter-card,[data-form=shared-filters],.network-filter-panel,.network-utility-drawer) :is(.filter-field,.field)>label{display:block;min-height:0;margin:0;padding-inline:4px;font-size:12px;font-weight:550;line-height:18px;color:var(--muted)}
.filter-card .field-error:empty{display:none}
:is(form.filter-card,[data-form=shared-filters]) :is(.filter-field,.field) :is(input,select){height:40px;min-height:40px}
.filter-main-row>.filter-field :is(input,select){height:40px;min-height:40px}
.filter-actions{display:flex;flex-flow:row nowrap;align-items:center;justify-content:flex-end;gap:8px;min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:none;overscroll-behavior:auto}
.filter-actions::-webkit-scrollbar{display:none}
[data-theme] .filter-actions>.btn{flex:0 0 auto;min-height:40px;padding:8px 12px;white-space:nowrap}
[data-theme] .btn.filter-more-button{border:1px solid var(--line);background:transparent;color:var(--muted)}
[data-theme] .btn.filter-more-button:hover{border-color:var(--line-strong);background:var(--hover);color:var(--ink)}
.filter-actions>.btn:focus-visible{outline-offset:-3px}
/* Saved views are contextual result controls, never positioned over filter labels. */
.workspace-view-access{display:inline-flex;align-items:center;min-width:0;max-width:100%;margin-left:auto}
.workspace-view-trigger{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;min-height:40px;max-width:100%;padding:6px 8px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);font:550 12px/1.4 var(--font);white-space:nowrap;cursor:pointer}
.workspace-view-trigger:hover{color:var(--ink);background:var(--hover)}
.workspace-view-trigger.has-active-view{color:var(--accent)}
.workspace-view-trigger>.icon{width:15px;height:15px}
.workspace-view-trigger>.icon:last-child{width:13px;height:13px}
.workspace-view-label{max-width:210px;min-width:0;overflow:hidden;text-overflow:ellipsis}
.workspace-view-modified{font-size:10px;font-weight:500;color:var(--muted)}
.result-navigation{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;margin-bottom:16px}
.result-navigation>.tabs{flex:1;min-width:0}
.result-navigation>.actions{min-width:0}
.result-navigation-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 16px;min-width:0;max-width:100%;margin-left:auto}
.filter-context{display:flex;align-items:center;justify-content:flex-end;min-width:0;margin:-8px 0 16px}
.active-filters>.workspace-view-access{flex:0 1 auto}
.workspace-saved-choice{display:flex;align-items:center;gap:10px;flex:1;min-width:0;min-height:48px;padding:10px;border:1px solid transparent;border-radius:8px;text-align:left;background:transparent;color:var(--ink);font:550 13px/1.5 var(--font);cursor:pointer}
.workspace-saved-choice>span{flex:1;min-width:0;overflow-wrap:anywhere}
.workspace-saved-choice>small{font-size:11px;font-weight:500;color:var(--muted)}
.workspace-saved-choice:hover{background:var(--hover)}
.workspace-saved-choice[aria-current=true]{border-color:var(--line);background:var(--accent-soft);color:var(--accent)}
.workspace-view-empty{color:var(--muted);font-size:13px;line-height:1.7;margin:0}
.workspace-view-save{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.workspace-view-save>summary{display:flex;align-items:center;gap:8px;min-height:44px;list-style:none;cursor:pointer;color:var(--ink);font-weight:600}
.workspace-view-save>summary::-webkit-details-marker{display:none}
.workspace-view-save>summary>.icon{width:16px;height:16px}
.workspace-view-save>form{margin-top:16px}
@media(max-width:680px){
 .workspace-view-trigger{min-height:44px}
 .result-navigation{flex-wrap:wrap;gap:4px}
 .result-navigation>:is(.tabs,.actions){flex-basis:100%;max-width:100%}
 .result-navigation>.workspace-view-access{margin-left:0}
 .result-navigation-tools{justify-content:flex-start;width:100%;margin-left:0}
}
.filter-date-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}
.filter-date-row>:is(.filter-field,.field){flex:0 1 210px;min-width:0;margin:0}
.filter-card>.form-error:empty{display:none}
@container page-filters (max-width:850px){
 .filter-main-row{grid-template-columns:repeat(var(--filter-columns,3),minmax(0,1fr))}
 .filter-actions{grid-column:1/-1}
}
@container page-filters (max-width:480px){
 .filter-main-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .filter-main-row>.filter-field:first-child{grid-column:1/-1}
 .filter-actions{justify-content:flex-start;gap:4px}
}
@media(max-width:680px){
 [data-theme] form.filter-card{padding:16px 18px}
 [data-theme] .filter-actions>.btn{min-height:44px;padding-inline:8px;gap:6px;font-size:12px}
 :is(form.filter-card,[data-form=shared-filters],.network-utility-drawer) :is(.filter-field,.field) :is(input,select){height:44px;min-height:44px}
}
.filter-note{font-size:11px;color:var(--muted);padding-top:8px;line-height:1.6;gap:8px 16px;flex-wrap:wrap}
.active-filters{display:flex;flex-wrap:wrap;gap:8px;min-width:0;margin-top:10px}
[data-theme] .filter-chip{background:var(--surface-soft);border-color:var(--line);color:var(--muted);max-width:100%}
.filter-chip strong{color:var(--ink);max-width:min(280px,65vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tabs{display:flex;gap:6px;overflow-x:auto;flex-wrap:nowrap;padding:0 0 2px;border-bottom:1px solid var(--line);margin-bottom:20px;scrollbar-width:none}
[data-theme] .tab{display:inline-flex;align-items:center;gap:7px;min-height:40px;flex-shrink:0;padding:8px 12px;font:550 12px/1.4 var(--font);white-space:nowrap;color:var(--muted);border:0;border-radius:4px;background:transparent;position:relative}
[data-theme] .tab.active{color:var(--accent);font-weight:700;border-bottom:2px solid var(--accent)}
.tabs .tab .icon{width:16px;height:16px}
.tabs .tab:hover{background:var(--hover);text-decoration:none}
.kpi-strip{display:flex;flex-wrap:wrap;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface);margin:20px 0 22px}
.kpi{flex:1 1 170px;min-width:0;padding:18px 20px;border-right:1px solid var(--line);background:transparent}
.kpi:first-child{padding-left:20px}.kpi:last-child{border-right:0}
.kpi-label{font-size:12px;color:var(--muted);line-height:1.5}.kpi-value{font-size:26px;line-height:1.3;color:var(--ink);font-weight:650;letter-spacing:-.7px;margin:8px 0}
.kpi-foot{font-size:11px;color:var(--muted);line-height:1.5;min-height:0}
[data-theme] .kpi:hover{background:var(--hover);text-decoration:none}
.table-wrap,.matrix-scroll{max-width:100%;min-width:0;overflow:auto;overscroll-behavior:auto;scrollbar-width:none;-ms-overflow-style:none}
.table-wrap::-webkit-scrollbar,.matrix-scroll::-webkit-scrollbar,.tabs::-webkit-scrollbar{display:none}
.table-wrap{max-height:none;isolation:isolate}
.data-table{width:100%;font-size:12px;border-spacing:0;line-height:1.5;font-variant-numeric:tabular-nums}
[data-theme] .data-table th{background:var(--surface-soft);color:var(--muted);font-weight:550;font-size:11px;padding:12px 14px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2;white-space:normal}
[data-theme] .data-table td{padding:12px 14px;border-bottom:1px solid var(--line);color:var(--ink);vertical-align:middle;font-size:12px}
.data-table td small{display:block;font-size:11px;color:var(--muted);margin-top:4px;line-height:1.5}
.data-table .num{text-align:right;white-space:nowrap}
.data-table td:first-child{min-width:160px}.data-table .entity{font-weight:650;color:var(--accent);overflow-wrap:anywhere}
.modal-body .data-table:has(th:nth-child(3):last-child) td:first-child{min-width:0;overflow-wrap:anywhere}
[data-theme] .data-table tbody tr:hover>td{background:var(--hover)}
.table-summary{padding:16px 20px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:12px}
.table-page-label{font-size:12px;white-space:nowrap}
[data-theme] .badge{font-size:11px;font-weight:550;line-height:1.4;padding:4px 7px;border-radius:5px;border:1px solid transparent;background:var(--surface-soft);color:var(--muted);white-space:normal}
[data-theme] .badge.good{background:var(--good-soft);color:var(--good)}
[data-theme] .badge.warning{background:var(--warn-soft);color:var(--warn)}
[data-theme] .badge.bad{background:var(--bad-soft);color:var(--bad)}
[data-theme] .badge.blue{background:var(--accent-soft);color:var(--accent)}
[data-theme] .info{border:1px solid var(--line);background:var(--surface-soft);color:var(--ink);padding:14px 16px;border-radius:10px;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
[data-theme] .info.warning{background:var(--warn-soft);border-color:var(--warn);color:var(--ink)}
[data-theme] .info.error{background:var(--bad-soft);border-color:var(--bad);color:var(--ink)}
.empty{padding:32px 20px;text-align:center;color:var(--muted)}.empty :is(h1,h3){font-size:16px;color:var(--ink);margin:12px 0 5px}.empty h1{font-size:24px}.empty p{font-size:13px;line-height:1.7;max-width:60ch;margin:0 auto 16px}
.overview-grid,.two-col,.section-row,.detail-grid,.cart-layout,.reference-layout{min-width:0;gap:22px}
:is(.overview-grid,.two-col,.section-row,.detail-grid,.cart-layout,.reference-layout)>*{min-width:0}
.facts-grid{gap:16px 22px}.fact{min-width:0;overflow-wrap:anywhere}.fact label{color:var(--muted);font-size:12px}.fact>span{font-size:13px}.facts-grid .actions{margin-top:16px}
.entity-summary{padding:20px;margin-bottom:22px;gap:20px}.entity-identity{min-width:0}.entity-identity strong{overflow-wrap:anywhere}.entity-stat{min-width:0}
dialog{max-height:calc(100dvh - 32px);max-height:calc(100svh - 32px);padding:0;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);box-shadow:var(--shadow);overflow:hidden}
dialog::backdrop{background:var(--overlay)}
dialog[open]{display:flex;flex-direction:column}
dialog.drawer{width:min(var(--drawer-width),100vw);max-width:100vw;height:100dvh;max-height:100dvh;border-radius:14px 0 0 14px;margin:0 0 0 auto}
.modal-head{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-shrink:0;background:var(--surface)}
.modal-head h2{font-size:18px;line-height:1.5;overflow-wrap:anywhere}.modal-head p{font-size:12px;color:var(--muted)}
.modal-body{min-height:0;overflow:auto;padding:20px;overscroll-behavior:contain;scrollbar-width:none}
.modal-body::-webkit-scrollbar{display:none}.modal-body .page-heading h1{font-size:20px}.modal-body .detail-grid{display:block}.modal-body .network-footer{display:none}
.modal-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;padding-top:18px;margin-top:18px;border-top:1px solid var(--line)}
html.modal-open{overflow:hidden}.modal-open body{overflow:hidden}
.action-popover{border:1px solid var(--line);border-radius:10px;background:var(--surface-raised);color:var(--ink);max-width:calc(100vw - 24px);box-shadow:var(--shadow)}
.action-popover :is(button,a){min-height:40px}.command-dialog{max-width:680px}.command-result{min-height:56px}.command-result-copy{min-width:0;overflow-wrap:anywhere}
.toast{max-width:calc(100vw - 24px);font-size:13px;line-height:1.6;background:var(--surface-raised);color:var(--ink);border:1px solid var(--line-strong);z-index:150}.workspace-tools{min-height:0;margin:0 0 12px;gap:12px}.workspace-tools:empty{display:none}
.portal-nav{overflow-x:auto;white-space:nowrap;scrollbar-width:none;background:var(--surface);border-color:var(--line)}.portal-nav a{flex-shrink:0;font-size:12px}
.portal-top{background:var(--surface);border-color:var(--line);padding-inline:28px}.portal-top .brand-copy small{font-size:10px}
.catalog-grid{gap:20px}.product-info{padding:16px}.product-info h3{font-size:14px;line-height:1.5}.product-info .price{font-size:22px}.product-art{background:#fff;border-bottom:1px solid var(--line)}
.product-reference{overflow:hidden}.product-thumbnails button{border-radius:8px}.stepper{border-color:var(--line-strong);border-radius:8px}.stepper button{color:var(--ink);background:var(--surface-soft)}
.cart-summary{position:sticky;top:84px;align-self:start}.cart-summary .btn.primary{width:100%}.cart-item{border-color:var(--line);gap:16px}.cart-item-info{min-width:0}.cart-item .amount{white-space:nowrap}
.login-page{background:var(--canvas);color:var(--ink)}.login-story{background:var(--surface-soft);color:var(--ink)}.login-form-wrap{background:var(--surface)}.login-intro h1{font-size:clamp(30px,3vw,44px);letter-spacing:-1px}.login-mode{color:var(--muted)}
[data-theme] .persona-choice{background:var(--surface);border-color:var(--line);color:var(--ink)}[data-theme] .persona-choice.active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}
.guide-search{margin-bottom:22px}.guide-search .filter-field{max-width:640px}.guide-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}.guide-layout>*{min-width:0}
.guide-navigation{position:sticky;top:86px;max-height:calc(100dvh - 110px);overflow:auto;scrollbar-width:none}.guide-mobile-nav>summary{display:none}.guide-category{margin-bottom:20px}.guide-category h2{font-size:12px;color:var(--muted);font-weight:650;padding:0 10px 8px}
.guide-topic{display:block;padding:9px 10px;border-radius:7px;color:var(--ink);font-size:13px;line-height:1.5}.guide-topic:hover,.guide-topic.active{background:var(--accent-soft);color:var(--accent);text-decoration:none}.guide-topic.active{font-weight:650}
.guide-article{max-width:900px;padding:28px 32px;font-size:14px;line-height:1.85}.guide-article h2{font-size:24px;line-height:1.4;letter-spacing:-.5px}.guide-lead{font-size:14px;color:var(--muted);margin:10px 0 20px}.guide-article section{scroll-margin-top:90px;margin-top:24px}.guide-article h3{font-size:16px;margin-bottom:12px}.guide-article ol{padding-left:24px}.guide-article li{padding-left:6px;margin:0 0 14px}.guide-toc{display:flex;gap:10px 18px;flex-wrap:wrap;border-block:1px solid var(--line);padding:12px 0;font-size:12px}.guide-article details{padding:12px 0;border-bottom:1px solid var(--line)}.guide-article summary{cursor:pointer;font-weight:600}.guide-article details p{margin-top:10px;color:var(--muted)}.guide-related{margin-top:24px;display:flex;gap:8px;flex-wrap:wrap}.guide-related h3{flex-basis:100%}
@media(min-width:1440px){.main:not(.page-dashboard),.portal-main{padding-inline:32px}.guide-article{padding:32px 40px}}
@media(max-width:1100px){.page-heading{align-items:flex-start}.page-heading>.actions{max-width:48%}.detail-grid{grid-template-columns:minmax(0,1fr) 280px}.guide-layout{grid-template-columns:220px minmax(0,1fr)}.portal-top .brand-copy small{display:none}}
@media(max-width:900px){.main,.portal-main{padding:20px}.detail-grid,.cart-layout{grid-template-columns:minmax(0,1fr)}.cart-summary{position:static}.page-heading>.actions{max-width:none}.guide-layout{grid-template-columns:minmax(0,1fr)}.guide-navigation{position:static;max-height:none}.guide-mobile-nav>summary{display:block;min-height:44px;cursor:pointer;padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.guide-mobile-nav[open]{padding-bottom:10px}.guide-mobile-nav[open]>summary{margin-bottom:16px}.guide-article{max-width:none}.portal-top{padding-inline:20px}.reference-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:680px){
 :root{--control-height:44px}.main,.portal-main{padding:18px 16px 28px}.page-heading{flex-direction:column;align-items:stretch;gap:12px}.page-heading>div:first-child{flex:0 1 auto}.page-heading h1{font-size:24px}.page-heading>.actions{justify-content:flex-start;max-width:100%}.page-heading>.actions>.btn{flex:1 1 auto;white-space:normal}.page-heading p{font-size:13px}
 [data-theme] .btn,[data-theme] .btn.small,[data-theme] .btn.square{min-height:44px}.tabs .tab{min-height:44px}.tabs .icon{width:16px}.filter-field{min-width:0;flex:1 1 135px}.filter-field.search-field{flex-basis:100%}.filters{padding:14px}.filters>.btn{flex:1}.field input,.field select,.field textarea,.filter-field input,.filter-field select{font-size:16px}.form-grid{grid-template-columns:minmax(0,1fr)}
 .panel-head{padding:16px}.panel-body{padding:0 16px 16px}.panel-pad{padding:16px}.panel-head h2{font-size:16px}.panel-footer,.table-footer{padding:12px 16px}.table-footer .actions{margin-left:auto}.kpi{flex-basis:45%;padding:16px}.kpi:first-child{padding-left:16px}.kpi-value{font-size:24px}.kpi-label{font-size:12px}
 .two-col,.section-row,.overview-grid,.reference-layout{grid-template-columns:minmax(0,1fr)}.entity-summary{flex-wrap:wrap;padding:16px}.entity-stat{flex:1 1 120px}.facts-grid{grid-template-columns:minmax(0,1fr)}
 .data-table:not(.dashboard-distributor-table){min-width:620px}.modal-body .data-table:has(th:nth-child(3):last-child){min-width:0}.table-wrap{max-width:100%}.table-wrap .data-table tbody td:first-child{position:sticky;left:0;background:var(--surface);z-index:1;max-width:200px}.table-wrap .data-table th:first-child{left:0;z-index:3}.table-wrap .data-table tbody tr:hover>td:first-child{background:var(--hover)}
 dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}dialog.drawer{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.modal-head,.modal-body{padding:16px}.modal-head h2{font-size:18px}.modal-head .btn{min-width:44px}.modal-actions>.btn{flex:1;white-space:normal}.modal-body .page-heading>.actions{flex-wrap:wrap}
 .portal-top{padding:0 16px;gap:8px}.portal-top .brand-name{font-size:15px}.portal-top .user-label{display:none}.portal-top .command-trigger>span,.portal-top .command-shortcut{display:none}.portal-top .brand-copy{min-width:0}.portal-top>.actions{flex-shrink:0;gap:4px}.portal-nav{padding:0 16px;gap:16px}.portal-nav a{min-height:44px;font-size:12px}
 .catalog-grid{gap:12px}.product-info{padding:14px}.product-info .btn{white-space:normal}.product-info h3{font-size:14px}.cart-item{padding:16px;flex-wrap:wrap}.cart-item .amount{font-size:14px}.mobile-checkout{padding-bottom:max(12px,env(safe-area-inset-bottom));gap:12px}.page-cart,.page-manual{padding-bottom:110px}
 .guide-article{padding:20px 18px;font-size:14px}.guide-article h2{font-size:22px}.guide-topic{min-height:44px;padding:11px 12px}.guide-search .filter-field{flex-basis:100%}.guide-toc a{min-height:44px;display:inline-flex;align-items:center}.guide-related .btn{white-space:normal;max-width:100%}
 .login-form{padding:24px 18px}.login-story{padding:24px}.persona-choice{min-height:64px}.login-form .field select{font-size:16px}.network-footer{overflow-wrap:anywhere}.modal-body .product-detail-art{height:230px}
}
@media(max-width:360px){.portal-top .brand-mark{width:28px}.portal-top .brand-name{font-size:13px}.portal-top .command-trigger{display:none}.page-heading>.actions{gap:8px}.table-footer .actions{margin-left:0}.table-footer{align-items:flex-start}.catalog-grid{grid-template-columns:minmax(0,1fr)}.kpi-value{font-size:22px}}
@media(max-height:500px){.topbar,.network-topbar{position:relative}.modal-head{padding-block:10px}.cart-summary{position:static}.mobile-checkout{position:static}.page-cart,.page-manual{padding-bottom:24px}.guide-navigation{position:static}.modal-head h2{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto;animation-duration:.01ms;transition-duration:.01ms}}
@media print{.context-help,.guide-navigation,.guide-search,.workspace-tools{display:none}.main,.portal-main{max-width:none;padding:0}.guide-layout{display:block}.guide-article{max-width:none;padding:0}.table-wrap{overflow:visible;max-height:none}dialog[open]{position:static;max-height:none;overflow:visible}.modal-body{overflow:visible}.data-table{min-width:0!important}}

/* Contextual help: quiet labels, selective information icons, one overlay layer. */
.context-term{display:inline;padding:0;border:0;border-radius:2px;background:transparent;color:inherit;font:inherit;text-align:inherit;line-height:inherit;text-decoration:underline dotted var(--line-strong);text-underline-offset:4px;cursor:help}
.context-term:hover{color:var(--accent);text-decoration-color:var(--accent)}
.context-term:focus-visible,.network-info:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.data-table th>.network-info{display:inline-grid;place-items:center;width:26px;min-width:26px;height:28px;min-height:28px;padding:5px;margin-left:2px;border:0;background:transparent;color:var(--muted);vertical-align:middle}
.data-table th>button[data-action=sort]{display:inline-flex}
.network-help-tooltip{position:fixed;inset:auto;z-index:160;width:max-content;max-width:min(320px,calc(100vw - 24px));max-height:calc(100dvh - 24px);margin:0;padding:11px 13px;background:var(--tooltip);color:var(--ink);border:1px solid var(--line-strong);border-radius:8px;box-shadow:0 4px 18px #0002;font-size:12px;line-height:1.6;font-weight:450;text-align:left;overflow:auto;overflow-wrap:anywhere;pointer-events:auto;overscroll-behavior:auto;animation:context-help-in .1s ease-out}
.network-help-tooltip[hidden]{display:none}
.network-help-tooltip.context-popover{width:320px;padding:16px;line-height:1.65}
.context-popover>strong{display:block;font-size:13px;font-weight:650;margin-bottom:8px}
.context-popover p+p{margin-top:8px}.context-popover .btn{margin-top:12px}
.context-definitions{margin:12px 0 0}.context-definitions dt{font-weight:650;margin-top:10px}.context-definitions dd{margin:3px 0 0;color:var(--muted)}
.dashboard-kpi-secondary>.context-term{color:var(--muted);font-size:11px}
.dashboard-comparison-help{max-width:100%}
.topbar .network-demo-mark,.portal-top .environment-button{display:inline-flex;align-items:center;gap:6px;width:auto;min-height:40px;padding:4px 0;color:var(--muted);font-size:11px;white-space:nowrap;background:transparent;border:0}
.network-demo-mark .status-dot,.portal-top .environment-button>.status-dot{display:inline-block}
@keyframes context-help-in{from{opacity:0}to{opacity:1}}
@media(max-width:680px){.topbar .network-demo-mark,.portal-top .environment-button{min-height:44px;font-size:10px;gap:4px}.data-table th>.network-info{min-height:32px}.network-help-tooltip.context-popover{width:min(320px,calc(100vw - 24px))}}
@media(prefers-reduced-motion:reduce){.network-help-tooltip{animation:none}}
@media print{.network-help-tooltip,.network-info{display:none!important}.context-term{text-decoration:none}}
