/* Dense & Compact. Presentation only: scoped to the management shells. */
body.dense-shell{--dense-rail:124px;--dense-top:52px;--dense-summary:50px;--dense-ink:#19243a;--dense-line:#dce2eb;font-size:13px;line-height:1.4;background:#f4f6f9;color:var(--dense-ink)}
body.dense-shell *{box-sizing:border-box}body.dense-shell [hidden]{display:none!important}
body.dense-shell .sidebar{width:var(--dense-rail)!important;padding:12px 6px!important;overflow-y:auto}
body.dense-shell .stage{margin-left:var(--dense-rail)!important;min-width:0}
body.dense-shell .sidebar .brand{padding:0 4px 14px!important;gap:6px!important;font-size:11px!important;flex-wrap:wrap}
body.dense-shell .sidebar .brand small{font-size:8px!important;letter-spacing:0!important;margin:2px 0!important}
body.dense-shell .sidebar .brand-mark{width:28px;height:28px;font-size:13px}
body.dense-shell .sidebar .grouped-nav{gap:3px!important}
body.dense-shell .dense-nav-button{display:flex;align-items:center;gap:7px;width:100%;padding:7px 5px!important;min-height:38px!important;font-size:11px!important;font-weight:650;border:0;background:transparent;color:inherit;text-align:left;border-radius:5px}
body.dense-shell .dense-nav-button svg{width:16px;height:16px;flex:none}
body.dense-shell .dense-nav-button:hover,body.dense-shell .dense-nav-button[aria-current=page]{background:#ffffff20;box-shadow:inset 2px 0 #fff}
body.dense-shell .topbar{position:sticky!important;top:0;z-index:35;min-height:52px!important;padding:6px 18px!important;gap:10px!important;background:#fff}
body.dense-shell #main{max-width:none!important;padding:18px 22px 60px!important}
body.dense-shell .page-heading{margin:0 0 12px!important}body.dense-shell h1{font-size:23px!important;margin:0!important}body.dense-shell h2{font-size:17px!important}body.dense-shell h3{font-size:15px!important}
body.dense-shell :is(.panel,.card,.mg-panel,.tf-pane,.b-section,.pd-home>section,.sa-overview,.sa-audit,.sa-training){padding:14px!important;margin-bottom:12px!important;border-radius:7px!important;box-shadow:none!important;min-width:0}
body.dense-shell :is(.pd-home,.sa-overview,.b-columns,.pd-results,.vc-priorities,.vc-training){gap:10px!important}
body.dense-shell :is(.pd-home>header,.pp-hero){padding:12px 14px!important;margin:0 0 12px!important;min-height:0!important}
body.dense-shell .pd-home>header :is(p:last-child,.pd-eyebrow){display:none!important}
body.dense-shell .dense-totals{position:sticky;top:var(--dense-top);z-index:34;display:flex;align-items:center;gap:24px;min-height:50px;padding:6px 22px;background:#fff;border-bottom:1px solid var(--dense-line);font-variant-numeric:tabular-nums;box-shadow:0 2px 5px #17213b08}
body.dense-shell .dense-totals>div{display:flex;align-items:baseline;gap:8px;white-space:nowrap}
body.dense-shell .dense-totals strong{font-size:17px;color:#02066f;letter-spacing:-.02em}
body.dense-shell .dense-totals span,body.dense-shell .dense-season small{font-size:11px;color:#536078}
body.dense-shell .dense-season{font-weight:750;color:#19243a!important}body.dense-shell .dense-season small{display:block;font-size:9px;font-weight:400}
body.dense-shell .dense-sync{margin-left:auto;font-size:10px;max-width:145px}
body.dense-shell .sa-kpis,body.dense-shell .pd-metrics,body.dense-shell .b-metrics{display:flex!important;flex-wrap:wrap;gap:0!important;padding:6px 0!important;margin:8px 0!important;min-height:0!important;box-shadow:none!important}
body.dense-shell :is(.sa-kpis,.pd-metrics,.b-metrics)>:is(article,div){flex:1;min-width:115px;padding:5px 12px!important;border:0!important;border-right:1px solid var(--dense-line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.dense-shell :is(.sa-kpis,.pd-metrics,.b-metrics) strong{font-size:20px!important;margin:2px 0!important}
body.dense-shell .sa-kpis [data-sa-kpi]:is([data-sa-kpi=due],[data-sa-kpi=paid],[data-sa-kpi=remaining]){font-size:18px!important}
body.dense-shell .sa-heading{gap:8px!important;margin-bottom:6px!important}body.dense-shell .sa-note{font-size:11px!important;margin:4px 0 8px!important}
body.dense-shell :where(input:not([type=checkbox]):not([type=radio]),select,button,.button){min-height:34px!important;padding:6px 9px!important;font-size:13px!important;border-radius:5px!important}
body.dense-shell textarea{padding:8px!important;font-size:13px!important;min-height:72px}
body.dense-shell table{font-size:12px!important;line-height:1.35!important;border-collapse:collapse}
body.dense-shell :is(th,td){padding:7px 9px!important;vertical-align:middle!important}body.dense-shell td p{margin:2px 0!important}
body.dense-shell :is(.mg-table-wrap,.table-wrap,.b-table,.season-table-wrap){max-width:100%;overflow-x:auto}
body.dense-shell :is(.vc-priority,.vc-training-card,.vc-row,.a2-item,.due-row){display:grid!important;grid-template-columns:minmax(120px,1fr) minmax(90px,1fr) auto auto;gap:6px 10px!important;align-items:center;padding:9px 10px!important;margin:0!important;border:0!important;border-bottom:1px solid var(--dense-line)!important;border-radius:0!important;box-shadow:none!important;min-height:0!important;background:#fff}
body.dense-shell :is(.vc-priority h4,.vc-priority p,.vc-training-card p){margin:0!important;font-size:13px!important}
body.dense-shell :is(.sa-actions,.vc-priority nav,.vc-training-card nav){display:flex;gap:5px;flex-wrap:wrap}
body.dense-shell :is(.sa-actions a,.vc-priority nav a,.vc-training-card nav a){padding:5px 8px!important;font-size:11px!important;min-height:30px!important;white-space:normal}
body.dense-shell .vc-training-card{grid-template-columns:130px minmax(100px,1fr) auto auto auto}
body.dense-shell :is(.badge,.sa-issue,.vc-badge,.state-label){padding:3px 6px!important;font-size:11px!important;line-height:1.4!important;border-radius:4px!important;white-space:normal}
body.dense-shell :is(.vc-danger,.danger,.badge-danger,.state-unpaid .state-label){background:#fff0f1!important;color:#a61c31!important;border:1px solid #edb9c2}
body.dense-shell :is(.vc-good,.good,.badge-success,.state-paid .state-label){background:#eaf7ef!important;color:#176039!important;border:1px solid #b4dcc5}
body.dense-shell :focus-visible{outline:3px solid #bc7200!important;outline-offset:2px}
body.dense-shell :is(dialog.drawer,#drawer,dialog.dense-drawer){position:fixed!important;inset:0 0 0 auto!important;transform:none!important;margin:0!important;width:min(780px,96vw)!important;max-width:96vw!important;height:100dvh!important;max-height:100dvh!important;padding:0!important;border:0!important;border-left:1px solid var(--dense-line)!important;border-radius:0!important;box-shadow:-10px 0 40px #17213b30}
body.dense-shell dialog::backdrop{background:#17213b65}body.dense-shell dialog.dense-drawer[open]{display:flex;flex-direction:column}
body.dense-shell :is(dialog.drawer,#drawer,dialog.dense-drawer)>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px!important;margin:0!important;background:#fff;border-bottom:1px solid var(--dense-line);position:sticky;top:0;z-index:4;min-height:48px}
body.dense-shell :is(#drawer-body,.tf-drawer-body,[data-drawer-content]){padding:14px!important;overflow:auto}
body.dense-shell .dense-frame{width:100%;flex:1;border:0;min-height:0;background:#fff}
body.dense-shell .dense-loading{padding:10px 14px;margin:0;font-size:12px}
body.dense-shell .dense-hub-body{padding:14px;overflow:auto}body.dense-shell .dense-hub-links{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:12px}
body.dense-shell .dense-hub-links a{display:flex;align-items:center;padding:9px 10px;min-height:38px;background:#f3f5f9;border:1px solid var(--dense-line);border-radius:5px;color:#02066f;text-decoration:none;font-size:13px}
body.dense-shell .dense-hub-links a[aria-current=page]{background:#02066f;color:#fff}
body.dense-shell .dense-filter{width:100%;min-width:0}body.dense-shell .dense-quick-filters{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
body.dense-shell .dense-quick-filters a{padding:6px 10px;border:1px solid var(--dense-line);border-radius:5px;background:white;font-size:12px}
body.dense-shell.dense-embedded .sidebar,body.dense-shell.dense-embedded .topbar,body.dense-shell.dense-embedded .bottom-nav,body.dense-shell.dense-embedded .dense-totals,body.dense-shell.dense-embedded .cc01-premium,body.dense-shell.dense-embedded .cc01-main{display:none!important}
body.dense-shell.dense-embedded .stage{margin:0!important;padding:0!important}body.dense-shell.dense-embedded #main{padding:12px!important}
/* Ciao Cinzia retains its existing commands, forms and account controls. */
body.dense-shell.cc01-home .stage{margin:0!important;max-width:none!important;padding:0 16px 76px!important}
body.dense-shell.cc01-home .stage>header.cc01-premium{position:sticky;top:0;z-index:35;min-height:52px!important;height:52px;gap:12px!important;margin:0 -16px!important;padding:6px 16px!important;background:#fff;border-bottom:1px solid var(--dense-line)}
body.dense-shell .cc01-logo{width:76px!important;height:36px!important;object-fit:contain}body.dense-shell .cc01-greeting{padding:0!important;border:0!important}body.dense-shell .cc01-greeting h1 button{font-size:19px!important;padding:0!important}body.dense-shell .cc01-greeting p{display:none!important}
body.dense-shell.cc01-home .dense-totals{margin:0 -16px;padding:6px 16px}
body.dense-shell.cc01-home .cc01-main{display:flex!important;flex-wrap:wrap;gap:6px!important;margin:12px 0!important}
body.dense-shell.cc01-home .cc01-main button{flex:1 1 100px;min-height:40px!important;padding:7px 10px!important;gap:5px!important;border-radius:5px!important}
body.dense-shell.cc01-home .cc01-main button span,body.dense-shell.cc01-home .cc01-main svg{display:none!important}body.dense-shell.cc01-home .cc01-main strong{font-size:13px!important}
body.dense-shell .cc01-summary{display:flex!important;gap:8px!important;margin:10px 0!important}body.dense-shell .cc01-stat{flex:1!important;padding:9px 12px!important;min-height:0!important;border-radius:6px!important;box-shadow:none!important}
body.dense-shell .cc01-stat :is(span,h2){font-size:12px!important}body.dense-shell .cc01-stat strong{font-size:18px!important;margin:4px 0!important}body.dense-shell .cc01-stat svg{display:none!important}body.dense-shell .cc01-stat p,body.dense-shell .cc01-stat small{font-size:11px!important;margin:3px 0!important}
body.dense-shell .cc01-lower{gap:10px!important}body.dense-shell .cc01-panel{padding:0!important;border-radius:6px!important;box-shadow:none!important}body.dense-shell .cc01-panel h2{padding:10px 12px!important;margin:0!important}body.dense-shell .cc01-panel-body{padding:8px 12px!important}
body.dense-shell :is(.cc01-payment-row,.cc01-medical-row){padding:7px 0!important;gap:5px!important}body.dense-shell :is(.cc01-payment-row .a2-person,.cc01-medical-row strong){font-size:13px!important;min-height:32px!important}body.dense-shell .cc01-price{font-size:13px!important}
body.dense-shell .search-bar{margin:10px 0!important;padding:0!important;gap:8px!important}body.dense-shell .search-bar label{font-size:12px!important}
@media(max-width:900px){body.dense-shell .sidebar{display:none!important}body.dense-shell .stage{margin-left:0!important}body.dense-shell #main{padding:12px 14px 76px!important}body.dense-shell .topbar{padding:6px 12px!important}body.dense-shell .dense-totals{gap:14px;padding:6px 14px}body.dense-shell .dense-totals>div{display:block}body.dense-shell .dense-sync{display:none}body.dense-shell :is(.vc-priority,.vc-training-card){grid-template-columns:1fr auto}body.dense-shell .vc-priority nav,body.dense-shell .vc-training-card nav{grid-column:1/-1}body.dense-shell .dense-nav-button{min-height:40px!important;color:#02066f!important;font-size:14px!important}body.dense-shell .dense-nav-button[aria-current=page]{background:#eef0f9;box-shadow:inset 2px 0 #02066f}}
@media(max-width:480px){body.dense-shell{--dense-summary:56px}body.dense-shell .dense-totals{gap:8px;justify-content:space-between;min-height:56px}body.dense-shell .dense-totals strong{font-size:14px}body.dense-shell .dense-totals span{font-size:10px}body.dense-shell .dense-season{max-width:48px}body.dense-shell .dense-season small{font-size:8px}body.dense-shell .dense-hub-links{grid-template-columns:1fr}body.dense-shell .cc01-lower{display:block!important}body.dense-shell .cc01-summary{flex-wrap:wrap}body.dense-shell .cc01-stat{flex:1 1 110px!important}body.dense-shell .cc01-training{flex-basis:100%!important}body.dense-shell :is(.vc-row,.a2-item,.due-row){grid-template-columns:minmax(0,1fr) auto}body.dense-shell .topbar .date-label{display:none}body.dense-shell .global-search{min-width:0!important}body.dense-shell :is(dialog.drawer,#drawer,dialog.dense-drawer){width:100vw!important;max-width:100vw!important}}
@media(pointer:coarse){body.dense-shell :is(button,.button,.sa-actions a,.dense-hub-links a){min-height:40px!important}body.dense-shell :is(input,select){min-height:40px!important}}
@media(prefers-reduced-motion:no-preference){body.dense-shell dialog.dense-drawer[open]{animation:dense-enter .15s ease-out}@keyframes dense-enter{from{opacity:0;translate:15px 0}to{opacity:1;translate:0 0}}}
body.dense-shell [data-offline-outbox]{font-size:11px!important;padding:4px 12px!important;margin:0!important;border-radius:0!important}body.dense-shell [data-offline-outbox] summary{min-height:24px!important;padding:3px!important}body.dense-shell [data-offline-outbox] p{margin:2px 0!important}
body.dense-shell .b-table-scroll{max-width:100%;overflow-x:auto}body.dense-shell .sa-kpis article span,body.dense-shell .pd-metrics article span{font-size:11px!important}
body.dense-shell .pp-heading{padding:0!important;min-height:0!important}body.dense-shell .pp-photo{width:54px!important;height:54px!important}body.dense-shell .pp-facts{gap:8px!important}body.dense-shell .pd-trend{max-height:180px!important}
body.dense-shell .pd-home{padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
body.dense-shell .pd-home>header{padding:4px 0!important;margin:0 0 8px!important}body.dense-shell .pd-home>header h2{font-size:19px!important;margin:0!important}
body.dense-shell .sa-heading{display:flex!important;align-items:center!important;flex-wrap:wrap!important;justify-content:space-between!important;padding:0!important;gap:8px!important}
body.dense-shell .sa-heading>div{flex:1 1 180px}body.dense-shell .sa-heading h2{margin:0!important}body.dense-shell .sa-heading label{width:auto!important;flex:0 1 180px!important;margin:0!important;font-size:11px!important}
body.dense-shell .sa-heading .sa-updated{padding:0!important;background:transparent!important;font-size:10px!important;margin:3px 0!important}
body.dense-shell .sa-kpis{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;margin:6px 0!important}
body.dense-shell .sa-kpis article{min-width:0!important;padding:4px 8px!important}body.dense-shell .sa-kpis article span{display:block!important;overflow-wrap:normal!important}body.dense-shell .sa-kpis article strong{font-size:16px!important;white-space:nowrap}
body.dense-shell .vc-priority{grid-template-columns:minmax(130px,1fr) minmax(160px,1fr) auto auto}
@media(max-width:900px){body.dense-shell .dense-totals>div>span{display:block!important}body.dense-shell .sa-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}body.dense-shell .vc-priority{grid-template-columns:minmax(0,1fr) auto}body.dense-shell .vc-priority>div{grid-column:1/-1;grid-row:2}body.dense-shell .vc-priority nav{grid-row:3}body.dense-shell .vc-priority h4{overflow-wrap:anywhere}body.dense-shell .vc-priority .vc-balance{font-size:12px}}
@media(max-width:480px){body.dense-shell .sa-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}body.dense-shell .sa-kpis article strong{font-size:14px!important}body.dense-shell .sa-kpis [data-sa-kpi]:is([data-sa-kpi=due],[data-sa-kpi=paid],[data-sa-kpi=remaining]){font-size:14px!important}body.dense-shell .sa-heading>div{flex-basis:100%}body.dense-shell .sa-heading label{flex:1!important}}
body.dense-shell .dense-totals{flex-direction:row!important;inset:auto!important;top:var(--dense-top)!important;width:auto!important;height:auto!important;flex-shrink:0!important;color:var(--dense-ink)!important}
body.dense-shell .sa-kpis article{grid-column:auto!important;display:block!important;flex-direction:column!important}body.dense-shell .sa-kpis article strong{display:block!important;text-align:left!important}
body.dense-shell .sa-overview .sa-actions{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:5px!important;width:auto!important;grid-template-columns:none!important}
body.dense-shell .sa-overview .sa-actions a{width:auto!important;flex:0 1 auto!important;border-radius:5px!important;display:inline-flex!important;justify-content:center;align-items:center;min-height:32px!important}
body.dense-shell .sa-audit h3{margin:0 0 6px!important}body.dense-shell .vc-search{margin:6px 0!important;font-size:12px!important}body.dense-shell .vc-search input{margin-top:4px!important}
body.dense-shell.cc01-home{height:auto!important;overflow:visible!important}body.dense-shell.cc01-home .stage{display:block!important;height:auto!important;min-height:100dvh!important}body.dense-shell.cc01-home main{display:block!important;padding:0!important;overflow:visible!important}
body.dense-shell .sidebar .grouped-nav{gap:2px!important}
body.dense-shell .sidebar .dense-nav-button{min-height:28px!important;padding:5px!important;font-size:11px!important;justify-content:flex-start!important;text-align:left!important;white-space:normal!important;min-width:0!important;max-width:100%!important}
body.dense-shell .dense-nav-button svg{stroke:currentColor;fill:none!important}body.dense-shell .dense-nav-button span{min-width:0;white-space:normal!important;overflow-wrap:normal!important}
body.dense-shell .vc-priorities,body.dense-shell .vc-training{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
body.dense-shell .sa-audit{background:transparent!important;border:0!important;border-top:1px solid var(--dense-line)!important;padding:10px 0!important;border-radius:0!important}
body.dense-shell .vc-priority{grid-template-columns:minmax(160px,1fr) minmax(180px,1fr) 145px auto!important}
body.dense-shell .vc-priority>div{display:flex;flex-wrap:wrap;gap:4px}body.dense-shell .vc-priority .sa-issue{width:auto!important;display:inline-block!important;margin:0!important}
body.dense-shell .vc-priority .vc-balance{font-size:13px!important;line-height:1.4!important;white-space:nowrap}
body.dense-shell .dense-table-scroll{max-width:100%;width:100%;overflow:auto;overscroll-behavior-x:contain;min-width:0}
body.dense-shell table{min-width:620px!important}body.dense-shell :is(th,td){overflow-wrap:normal!important;word-break:normal!important}body.dense-shell td{white-space:nowrap}body.dense-shell td small{display:block;white-space:normal}
body.dense-shell .cc01-stat{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important}body.dense-shell .cc01-stat>span,body.dense-shell .cc01-stat h2{display:block!important;width:auto!important;max-width:100%;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}body.dense-shell .cc01-stat strong{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}
@media(max-width:1100px){body.dense-shell .vc-priority{grid-template-columns:minmax(0,1fr) auto!important}body.dense-shell .vc-priority>div{grid-column:1/-1;grid-row:2}body.dense-shell .vc-priority nav{grid-column:1/-1;grid-row:3}}
@media(pointer:coarse){body.dense-shell .sidebar .dense-nav-button{min-height:40px!important}}
@media(min-width:901px) and (pointer:fine){body.dense-shell .sidebar .dense-nav-button{height:30px!important;min-height:30px!important;max-height:30px!important;padding:4px 5px!important;line-height:16px!important}body.dense-shell .sidebar .grouped-nav{margin-top:8px!important}}
body.dense-shell .sidebar .grouped-nav{padding:0!important}

body.dense-shell .dense-hub-links a.dense-rubrica-filter{background:#e9edf9;font-weight:700;border-color:#aebcdf}
body.dense-shell .sidebar .grouped-nav>a{padding:5px!important;font-size:11px!important;line-height:16px!important;min-height:30px!important;gap:6px!important;white-space:normal!important;text-align:left!important}
body.dense-shell .sidebar .grouped-nav>a svg{width:16px!important;height:16px!important;flex:none}
body.dense-shell .tf-area-tabs,body.dense-shell .premium-area-tabs{gap:5px!important;margin:6px 0!important;padding:0!important}body.dense-shell .tf-area-tabs a{padding:5px 8px!important;font-size:12px!important;min-height:30px!important}
body.dense-shell table[data-dense-actions] :is(th,td):last-child{position:sticky;right:0;z-index:2;background:#fff;box-shadow:-2px 0 3px #19243a0d;white-space:normal;min-width:110px;max-width:180px}
body.dense-shell table[data-dense-actions] th:last-child{background:#f5f6fa}
body.dense-shell table[data-dense-actions] td:last-child a{display:inline-flex;align-items:center;min-height:30px;padding:4px 6px;font-size:11px;color:#02066f;border-radius:4px;background:#f0f3fa;margin:2px;text-decoration:none}
@media(max-width:600px){body.dense-shell table[data-dense-actions] :is(th,td):last-child{width:112px;max-width:112px}body.dense-shell table[data-dense-actions] td:last-child a{min-height:36px}}
/* The secondary administrative layout shares the same compact interaction layer. */
body.dense-shell .admin-sidebar{width:124px!important;padding:12px 6px!important;overflow-y:auto!important}
body.dense-shell .admin-main{margin-left:124px!important;min-width:0}
body.dense-shell .admin-sidebar[data-collapsed=true]{width:0!important;padding:0!important;overflow:hidden!important}body.dense-shell .admin-main[data-sidebar-collapsed=true]{margin-left:0!important}
body.dense-shell .admin-sidebar>div:first-child{padding:6px 4px 14px!important}body.dense-shell .admin-sidebar>div:first-child .flex{flex-wrap:wrap;gap:4px!important}body.dense-shell .admin-sidebar>div:first-child img{width:28px!important;height:28px!important}body.dense-shell .admin-sidebar>div:first-child p{font-size:10px!important;letter-spacing:0!important;overflow-wrap:normal!important}
body.dense-shell .admin-sidebar>div:last-child{padding:8px 4px!important;font-size:10px!important}
body.dense-shell .admin-navigation{padding:0!important;display:grid!important;gap:2px!important}
body.dense-shell .admin-sidebar .dense-nav-button,body.dense-shell .admin-sidebar .admin-nav-link{display:flex!important;align-items:center;justify-content:flex-start;min-height:30px!important;padding:5px!important;font-size:11px!important;line-height:16px!important;white-space:normal!important;gap:5px!important;letter-spacing:0!important}
body.dense-shell .admin-sidebar .admin-nav-link span{display:none}body.dense-shell .admin-topbar{position:sticky;top:0;z-index:35;background:#fff;border-bottom:1px solid var(--dense-line)}body.dense-shell .admin-topbar>div{min-height:52px!important;padding:6px 16px!important;gap:8px!important}body.dense-shell .admin-topbar button,body.dense-shell .admin-topbar a{min-height:34px!important}
body.dense-shell #contenuto{padding:18px 22px 60px!important;max-width:none!important}body.dense-shell #contenuto>nav{margin-bottom:12px!important}body.dense-shell :is(.vb-card,.admin-card,.admin-panel){padding:14px!important;margin-bottom:12px!important;border-radius:7px!important}
body.dense-shell.dense-embedded .admin-sidebar,body.dense-shell.dense-embedded .admin-topbar{display:none!important}body.dense-shell.dense-embedded .admin-main{margin:0!important}
@media(max-width:1023px){body.dense-shell .admin-sidebar{display:none!important}body.dense-shell .admin-main{margin-left:0!important}body.dense-shell #contenuto{padding:12px 14px 70px!important}}
body.dense-shell #main{margin:0!important}
body.dense-shell table{width:100%!important}
body.dense-shell .dense-table-scroll,body.dense-shell .b-table-scroll{max-height:none!important}

/* Modern management theme: shared visual tokens, no accounting transformations. */
body.dense-shell{--dense-rail:168px;--dense-ink:#172637;--dense-line:#dce5ed;--ui-accent:#0284c7;--ui-accent-dark:#03638f;--ui-surface:#ffffffeb;--ui-muted:#526579;--ui-night:#0b1523;color-scheme:light;background:#f1f5f9;background-image:radial-gradient(ellipse at 95% 0,#e0f2fe99,transparent 45%);font-family:Inter,Manrope,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.5}
body.dense-shell :is(.sidebar,.admin-sidebar){background:linear-gradient(165deg,#14263b,#090f19 85%)!important;color:#d7e4ef!important;border-right:1px solid #21354b!important;width:var(--dense-rail)!important;padding:16px 10px!important}
body.dense-shell .admin-main{margin-left:var(--dense-rail)!important}
body.dense-shell .sidebar .brand{font-size:13px!important;padding:2px 7px 22px!important;gap:10px!important;color:#f0f9ff!important}
body.dense-shell .sidebar .brand small{color:#93b0c8!important;font-size:10px!important;line-height:1.4}
body.dense-shell .sidebar .brand-mark{background:#0284c7!important;border:1px solid #7dd3fc55;border-radius:9px;color:white;width:32px;height:32px}
body.dense-shell :is(.sidebar,.admin-sidebar) :is(.dense-nav-button,.admin-nav-link),body.dense-shell .sidebar .grouped-nav>a{height:auto!important;max-height:none!important;min-height:40px!important;padding:9px 10px!important;font-size:12px!important;line-height:1.5!important;color:#c9d9e8!important;border-radius:8px!important;gap:9px!important;border:1px solid transparent!important;box-shadow:none;background:transparent}
body.dense-shell :is(.sidebar,.admin-sidebar) :is(.dense-nav-button,.admin-nav-link):hover,body.dense-shell .sidebar .grouped-nav>a:hover{background:#ffffff0d!important;color:white!important;border-color:#ffffff18!important}
body.dense-shell :is(.sidebar,.admin-sidebar) :is([aria-current=page],.admin-nav-link-active){background:#0284c72b!important;color:#bae6fd!important;box-shadow:inset 3px 0 #38bdf8!important}
body.dense-shell :is(.sidebar,.admin-sidebar) .dense-nav-button svg{width:18px;height:18px;opacity:.85}
body.dense-shell :is(.topbar,.admin-topbar),body.dense-shell.cc01-home .stage>header.cc01-premium{background:#ffffffed!important;border-bottom:1px solid var(--dense-line)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:var(--dense-ink)!important}
body.dense-shell .topbar h1{font-size:18px!important;letter-spacing:-.025em}
body.dense-shell .dense-totals{background:#f8fcffed!important;border-color:var(--dense-line)!important;backdrop-filter:blur(14px);gap:22px;min-height:56px;box-shadow:0 2px 9px #20344906}
body.dense-shell .dense-totals strong{color:#075985!important;font-weight:750;font-size:18px;letter-spacing:-.035em}
body.dense-shell .dense-totals span{color:var(--ui-muted)}
body.dense-shell :is(.panel,.card,.mg-panel,.tf-pane,.b-section,.sa-overview,.sa-training,.vb-card,.admin-card,.admin-panel,.cc01-stat,.cc01-profile-section){border:1px solid var(--dense-line)!important;background:var(--ui-surface)!important;border-radius:12px!important;box-shadow:0 2px 6px #20344904,0 12px 32px #20344903!important;min-width:0}
body.dense-shell :is(.sa-audit,.pd-home>section){background:#ffffffb3!important;border:1px solid var(--dense-line)!important;border-radius:12px!important;padding:14px!important}
body.dense-shell :is(.sa-kpis,.pd-metrics,.b-metrics){gap:8px!important;background:transparent!important}
body.dense-shell :is(.sa-kpis,.pd-metrics,.b-metrics)>:is(article,div){padding:10px 12px!important;border:1px solid var(--dense-line)!important;border-radius:9px!important;background:#f8fbfd!important;min-width:0!important}
body.dense-shell :is(.sa-kpis,.pd-metrics,.b-metrics) strong{color:#075985;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
body.dense-shell :is(.page-heading,.pp-heading) :is(h1,h2){color:var(--dense-ink);letter-spacing:-.035em}
body.dense-shell :is(.vc-priority,.vc-training-card,.vc-row,.a2-item,.due-row){background:#fff!important;border-color:#e8eef4!important;padding:12px!important}
body.dense-shell :is(.vc-priority,.vc-training-card,.vc-row,.a2-item,.due-row):hover{background:#f6fbff!important}
body.dense-shell :is(.sa-actions a,.vc-priority nav a,.vc-training-card nav a,.dense-hub-links a,.tf-area-tabs a,.people-action,.roster-links a){color:var(--ui-accent-dark);border-color:#cbe3ef;border-radius:7px!important;text-decoration:none}
body.dense-shell :is(.sa-actions a,.vc-priority nav a,.vc-training-card nav a,.dense-hub-links a){background:#edf7fc!important}
body.dense-shell :is(.button.primary,button.primary,.people-action.primary,.vb-button-primary){background:var(--ui-accent-dark)!important;border-color:var(--ui-accent-dark)!important;color:white!important}
body.dense-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#fff;color:#172637;border:1px solid #c3d2df;border-radius:7px!important;max-width:100%;min-width:0}
body.dense-shell :is(input[type=checkbox],input[type=radio]){accent-color:var(--ui-accent)}
body.dense-shell :focus-visible{outline:3px solid #0284c7!important;outline-offset:3px!important}
body.dense-shell :is(.sidebar,.admin-sidebar) :focus-visible{outline-color:#7dd3fc!important}
body.dense-shell .dense-hub-links a[aria-current=page]{background:#075985!important;color:white!important}
body.dense-shell :is(dialog.drawer,#drawer,dialog.dense-drawer){background:#f8fafcee!important;backdrop-filter:blur(16px);box-shadow:-18px 0 60px #0b152330!important}
body.dense-shell dialog::backdrop{background:#07132180;backdrop-filter:blur(3px)}
body.dense-shell :is(dialog.drawer,#drawer,dialog.dense-drawer)>header{background:#ffffffed!important;color:var(--dense-ink);padding:14px 16px!important;min-height:60px}
body.dense-shell .dense-hub-links{gap:9px}
body.dense-shell .dense-hub-links a{min-height:44px;border:1px solid #d4e7f1;padding:12px}
body.dense-shell table{font-variant-numeric:tabular-nums}
body.dense-shell th{background:#f4f8fb!important;color:#526579;font-size:11px;letter-spacing:.02em;font-weight:700;border-bottom:1px solid #d8e3ec}
body.dense-shell td{border-color:#e8eef4!important}
body.dense-shell tbody tr:hover{background:#f6fbff}
body.dense-shell .dense-table-scroll{border:1px solid var(--dense-line);border-radius:9px;background:white}
body.dense-shell table[data-dense-actions] td:last-child a{background:#edf7fc;color:#03638f;border-radius:6px}
body.dense-shell .cc01-main button{color:#d7e7f5!important;background:transparent!important;border:1px solid #ffffff14!important;box-shadow:none!important}
body.dense-shell .cc01-main button:hover,body.dense-shell .cc01-main button[aria-current=page]{color:white!important;background:#0284c738!important;border-color:#38bdf855!important}
body.dense-shell.cc01-home .cc01-main{background:var(--ui-night)!important;border-radius:12px;padding:8px!important;position:relative;top:auto}
body.dense-shell .cc01-training :is(strong,time,.cc01-when){white-space:normal!important;overflow-wrap:anywhere;max-width:100%;line-height:1.4}
body.dense-shell .cc01-training{min-width:0!important;overflow:hidden}
body.dense-shell .cc01-greeting h1 button{color:#172637!important;background:transparent!important}
@media(min-width:1024px){body.dense-shell.cc01-home .stage{margin-left:var(--dense-rail)!important}body.dense-shell.cc01-home .cc01-main{position:fixed!important;inset:0 auto 0 0!important;width:var(--dense-rail);height:100dvh;overflow-y:auto;z-index:40;margin:0!important;border-radius:0!important;display:flex!important;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;gap:8px!important;padding:24px 10px!important;background:linear-gradient(165deg,#14263b,#090f19 85%)!important}body.dense-shell.cc01-home .cc01-main:before{content:'VOLLEY BARLETTA';display:block;color:#e0f2fe;font-size:12px;font-weight:750;letter-spacing:.06em;padding:0 10px 24px}body.dense-shell.cc01-home .cc01-main button{flex:0 0 auto;min-height:48px!important;width:100%;text-align:left;justify-content:flex-start;border-radius:8px!important;padding:12px 10px!important}body.dense-shell.cc01-home .cc01-main button strong{font-size:12px!important}body.dense-shell.cc01-home .search-bar{margin-top:16px}}
@media(max-width:1023px){body.dense-shell .admin-main{margin-left:0!important}}
@media(max-width:900px){body.dense-shell .stage{margin-left:0!important}body.dense-shell .dense-totals{gap:12px;padding:8px 14px}body.dense-shell .dense-totals strong{font-size:16px}body.dense-shell .sa-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:600px){body.dense-shell :is(#main,#contenuto){padding:14px 12px 76px!important}body.dense-shell :is(.panel,.card,.mg-panel,.sa-overview,.sa-training){padding:12px!important}body.dense-shell .sa-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.dense-shell .sa-kpis article:first-child{grid-column:1/-1!important}body.dense-shell .dense-hub-links{grid-template-columns:1fr}body.dense-shell .dense-totals{gap:10px;flex-wrap:wrap}body.dense-shell .dense-totals>div{flex:1 1 80px}body.dense-shell .dense-totals .dense-season{flex-basis:100%;display:flex!important;gap:8px;align-items:center}body.dense-shell .dense-totals .dense-sync{display:none}body.dense-shell.cc01-home .cc01-main button{flex:1 1 120px}body.dense-shell .topbar{flex-wrap:wrap;height:auto!important}}
@media(pointer:coarse){body.dense-shell :is(button,.button,.sa-actions a,.dense-hub-links a,.people-action,.roster-links a){min-height:44px!important}body.dense-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important;min-height:44px!important}body.dense-shell :is(.sidebar,.admin-sidebar) :is(.dense-nav-button,.admin-nav-link),body.dense-shell .sidebar .grouped-nav>a{min-height:44px!important}}
@media(prefers-reduced-transparency:reduce){body.dense-shell :is(.topbar,.admin-topbar,.dense-totals,dialog){backdrop-filter:none!important;background:#fff!important}}
body.dense-shell.dense-embedded .admin-main,body.dense-shell.dense-embedded.cc01-home .stage{margin-left:0!important}

body.dense-shell .sa-overview .sa-audit .vc-priority .sa-actions a{color:#03638f!important;background:#edf7fc!important}
@media(max-width:600px){body.dense-shell .dense-totals .dense-season{max-width:none!important;flex:0 0 100%!important;white-space:normal;min-width:0}body.dense-shell .dense-totals .dense-season small{font-size:10px}}

@media(pointer:coarse){body.dense-shell .sa-overview .sa-actions a,body.dense-shell table[data-dense-actions] td:last-child a{min-height:44px!important}body.dense-shell .cc01-main button{min-height:44px!important}}
