body.customer-flow main>.tabs,body.customer-flow.suite-services-open main>.tabs{display:none!important}
.flow-location-heading{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
body.customer-flow main>.tabs [data-tab="marketing"]{display:none!important}
body.flow-ticker-unassigned #marketing>:not(#flow-ticker-empty){display:none!important}
#flow-ticker-empty[hidden]{display:none}
.flow-pc-status{display:inline-flex!important;align-items:center;gap:7px;font-size:13px;opacity:1!important}.flow-pc-status::before{content:'';width:9px;height:9px;border-radius:50%;background:#8694a3}.flow-pc-status[data-status="online"]::before{background:#41d894}.flow-pc-status[data-status="offline"]::before{background:#ff6c76}.flow-pc-status[data-status="stale"]::before,.flow-pc-status[data-status="powered"]::before{background:#ffbf47}.equipment-site>.flow-pc-status{margin:14px 0 0 12px}
.flow-connect{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;border:1px solid #79dcf1;border-radius:8px;color:#79dcf1;font-size:14px;font-weight:700;text-decoration:none;box-sizing:border-box}
.flow-connect:hover{background:#79dcf1;color:#092330}.flow-connect:focus-visible,.flow-location-select:focus-visible{outline:3px solid #79dcf1;outline-offset:3px}.flow-connect[hidden]{display:none}
.light-mode .flow-connect{border-color:#12698d;color:#12698d}.light-mode .flow-connect:hover{background:#12698d;color:white}
.equipment-site .flow-location-select{display:block;width:100%;background:transparent;border:0;color:inherit;padding:0;text-align:left;cursor:pointer;border-radius:4px}
.equipment-site .flow-connect{margin-top:14px}.equipment-site{cursor:default}
#flow-overall-health{margin-bottom:24px}#flow-overall-health[hidden]{display:none}
@media(max-width:600px){#flow-overall-health .health-banner{grid-template-columns:1fr}.flow-location-heading{gap:10px}.flow-location-heading .flow-connect{min-height:42px;padding:8px 12px}}
body.customer-flow:not(.flow-management-open) #suite-service-tools{display:none!important}
body.customer-flow.flow-management-open main>.tabs{display:flex!important;flex-wrap:wrap}
body.customer-flow main>.tabs [data-tab="locations"],body.customer-flow main>.tabs [data-tab="equipment"],body.customer-flow main>.tabs [data-tab="site-detail"]{display:none!important}
body.customer-flow:not(.flow-management-open) #suite-shell-header{display:none!important}
body.customer-flow #customer-flow{padding:22px 0;margin-bottom:20px;border-bottom:1px solid #344b61}
body.locked #customer-flow{display:none!important}
.flow-top,.flow-site-title{display:flex;align-items:center;gap:16px;justify-content:space-between;flex-wrap:wrap}
.flow-top>span{margin-right:auto;font-size:15px;opacity:.75}
.flow-site-title{margin:24px 0 18px}.flow-site-title h1{font-size:clamp(23px,3vw,34px);margin:4px 0}.flow-site-title p{margin:0;font-size:13px;opacity:.75}
#flow-context nav{display:flex;gap:8px;flex-wrap:wrap}#flow-context nav button{min-height:46px;padding:12px 20px;background:transparent;color:inherit;border:1px solid #46617a;border-radius:8px}
#flow-context nav button[aria-current="page"]{background:#79dcf1;color:#092330;border-color:#79dcf1;font-weight:700}
#flow-management-note{margin:18px 0 0;color:#a9bed0}.flow-site-summary{border-top:1px solid #46617a;padding-top:10px;line-height:1.5}
body.customer-flow #equipmentSite{display:none}body.customer-flow .equipment-toolbar>label:first-child{display:none}
body.customer-flow:not(.flow-site-selected) #equipmentStatus,body.customer-flow:not(.flow-site-selected) .equipment-toolbar>label:last-child,body.customer-flow:not(.flow-site-selected) .equipment-legend,body.customer-flow:not(.flow-site-selected) #equipmentUpdated{display:none}
body.customer-flow:not(.flow-site-selected) .equipment-toolbar{display:block}body.customer-flow:not(.flow-site-selected) .equipment-toolbar input{width:100%;box-sizing:border-box}
body.customer-flow:not(.flow-management-open) #tickets>.section-head{display:none}
body.customer-flow .equipment-site{text-align:left;min-height:150px}
#flow-details .site-modal-head,#flow-details .site-modal-body{padding:20px 0}#flow-details .info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
@media(max-width:600px){body.customer-flow.flow-management-open #suite-service-tools{display:flex!important}#flow-context nav{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}#flow-context nav button{padding:10px 5px;font-size:13px}.flow-top{gap:8px}.flow-top>span{display:none}.flow-site-title{gap:12px}body.customer-flow #customer-flow{padding-top:12px}}

body.customer-flow main>.tabs [data-tab="software"]{display:none!important}.software-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.software-group{border:1px solid #46617a;border-radius:12px;padding:20px;min-width:0}.software-group>p,.software-file p{font-size:13px;opacity:.8}.software-file{padding:16px 0;border-top:1px solid #46617a;overflow-wrap:anywhere}.software-file a,#softwareFolder a{color:#59b9d2}.software-empty{padding:20px 0}#softwareUpload{margin-top:24px}#softwareUpload[hidden]{display:none}#softwareForm{display:grid;gap:14px;max-width:640px;margin-top:18px}#softwareForm label{display:grid;gap:7px}#softwareForm input,#softwareForm select,#softwareForm textarea{max-width:100%;box-sizing:border-box}#softwareFolder{margin:12px 0}@media(max-width:600px){#flow-context nav{grid-template-columns:repeat(2,1fr)}}
body.customer-flow main>.tabs [data-tab="calendar"]{display:none!important}

.location-list-tools{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.location-list-tools[hidden]{display:none}.location-list-tools label{display:grid;gap:6px;font-size:13px}.location-list-tools select{min-width:160px;max-width:100%}.equipment-site .flow-location-select>.flow-pc-status{margin:10px 0;font-weight:600}@media(max-width:600px){.location-list-tools label{flex:1 1 140px}.location-list-tools select{min-width:0;width:100%}}

/* One customer navigation shell; legacy buttons remain only as routing hooks. */
body.customer-flow #suite-navigation,body.customer-flow #suite-services,body.customer-flow .suite-product,body.customer-flow #suite-shortcut{display:none!important}
body.customer-flow.portal-product-view #suite-service-tools{display:none!important}
body.customer-flow.portal-product-view #suite-shell-header{display:block!important;position:relative;top:auto;padding:0;margin:0 0 24px}
body.customer-flow:not(.portal-product-view) #suite-shell-header{display:none!important}
body.customer-flow #suite-service-tools [data-tab="suite"]{display:inline-flex}
body.customer-flow #suite-service-tools [data-tab="suite"][hidden]{display:none!important}
body.customer-flow #suite-service-tools .nav-actions [data-open-calendar]{display:none!important}
body.customer-flow:not(.portal-tickets-view) #suite-service-tools .nav-actions{display:none!important}
body.customer-flow.portal-users-view #suite>.suite-heading,body.customer-flow.portal-users-view #suite>#suite-status,body.customer-flow.portal-users-view #suite>.suite-grid{display:none!important}
body.customer-flow.portal-users-view #suite-admin{margin-top:0}
.flow-top>button[aria-current="page"]{border-color:var(--suite-accent,#79dcf1);color:var(--suite-accent,#79dcf1);background:color-mix(in srgb,var(--suite-accent,#79dcf1) 10%,transparent)}
@media(max-width:600px){.flow-top{gap:8px;justify-content:flex-start}.flow-top>button{padding:10px 12px;min-height:44px;font-size:13px}.flow-top #flow-manage{margin-left:auto}.flow-top{align-items:stretch}body.customer-flow.portal-product-view .suite-shell-context{padding-bottom:0}}

/* Production information architecture: one live equipment summary; four administration tools. */
body.customer-flow #suite-service-tools [data-tab="dashboard"],body.customer-flow #suite-service-tools [data-tab="remote"],body.customer-flow #dashboard{display:none!important}
body.customer-flow #flow-overall-health,body.customer-flow #flow-online-totals{display:none!important}
body.customer-flow #suite-service-tools [data-tab="tickets"]{display:inline-flex}
body.customer-flow #suite-service-tools .tab-list{display:flex;flex-wrap:wrap;gap:8px}

#marketing.single-native-ticker>:not(#native-server-controls){display:none!important}
#marketing.single-native-ticker #native-server-controls{display:block!important;padding:20px}

.report-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;margin:18px 0}.report-filters label,.report-actions label{display:grid;gap:6px}.report-columns{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.report-columns label{display:flex;gap:6px;align-items:center}.report-columns input{width:auto}.report-actions{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:18px 0}#crTable{overflow:auto;max-height:650px;border:1px solid var(--suite-line,#46617a);border-radius:8px}#crTable table{min-width:980px}#crTable th{white-space:nowrap}#crTable td{font-size:12px;vertical-align:top}#crTable th{position:sticky;top:0;background:var(--suite-panel,#142333)}.custom-report-builder{margin-bottom:24px;padding:20px}.custom-report-builder details summary{cursor:pointer}
/* One document scrollbar; keep portal identity and navigation anchored. */
body.customer-flow .topbar{position:sticky;top:0;z-index:30}
body.customer-flow #customer-flow{position:sticky;top:64px;z-index:29;background:var(--suite-bg,var(--bg));margin-bottom:20px}
#marketing.single-native-ticker #native-server-frame{display:block;max-height:none;overflow:hidden}
#marketing.single-native-ticker #native-server-frame[hidden]{display:none}
#marketing.single-native-ticker{overflow:visible;max-height:none}

/* Custom reports have arbitrary columns: do not inherit pinned action columns. */
#crTable{width:100%;max-width:100%;overflow-x:auto;overflow-y:visible;max-height:none}
#crTable table{table-layout:auto;width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}
#crTable :is(th,td){position:static!important;left:auto!important;right:auto!important;min-width:150px;max-width:360px;width:auto!important;white-space:normal;overflow-wrap:anywhere;padding:14px 18px;vertical-align:top;box-shadow:none!important}
#crTable th{white-space:nowrap}
.custom-report-builder{min-width:0;max-width:100%}

/* Reports share portal controls and contain wide tables within their own section. */
#reports{min-width:0;max-width:100%}
#reports .report-grid{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;max-width:100%}
#reports .report-grid>*{min-width:0;max-width:100%;overflow-x:auto}
#reports .report-actions button{appearance:none;min-height:44px;padding:11px 18px;border:1px solid var(--suite-line,#46617a);border-radius:9px;background:var(--suite-panel,#142333);color:var(--suite-text,#edf4fb);font:inherit;font-weight:700;cursor:pointer}
#reports .report-actions button.primary{background:var(--suite-accent,#79dcf1);border-color:var(--suite-accent,#79dcf1);color:#092330}
#reports .report-actions button:disabled{opacity:.5;cursor:default}
#reports .report-actions button:focus-visible{outline:3px solid var(--suite-accent,#79dcf1);outline-offset:3px}
#reports .report-actions select{min-height:44px}
@media(max-width:850px){#reports .report-grid{grid-template-columns:minmax(0,1fr)}}

/* Compact report rows; wrap long headings instead of widening every column. */
#crTable :is(th,td){min-width:78px;max-width:240px;padding:9px 10px;font-size:12px;line-height:1.35}
#crTable th{white-space:normal;max-width:160px;font-size:11px}

#crTable table{min-width:0!important;max-width:none;table-layout:fixed}
#crTable :is(th,td){min-width:0;max-width:none;overflow:hidden;overflow-wrap:anywhere;box-sizing:border-box}
#crTable th{position:relative!important;padding-right:16px}
#crTable .cr-resize{position:absolute;right:0;top:0;bottom:0;width:10px;cursor:col-resize;touch-action:none;user-select:none;border-right:2px solid var(--suite-line,#46617a)}
#crTable .cr-resize:hover,#crTable .cr-resize:focus-visible{background:var(--suite-accent,#79dcf1);outline:none}
