/* XOYO design 2.0: one system for the club workspace, the parent company pages, signup and status.
   Loaded after xoyo.css, keeps its colour tokens and adds: type scale, solid primary action, segmented tabs,
   grouped side menu, compact KPI cards, status chips, charts, motion. Reduced motion turns every animation off. */
:root{--text-3:#7f8995;--bg-4:#1c2430;--line-2:rgba(255,255,255,.14);--purple:#c7a8ff;--purple-dim:rgba(180,140,255,.14);--amber-dim:rgba(255,176,32,.14);--red-dim:rgba(255,61,110,.14);--red-text:#ff8aa8;--ease:cubic-bezier(.2,.8,.2,1);--t-fast:.12s;--t-med:.24s;--t-slow:.32s}
html[data-xoyo-theme=light]{--text-3:#5f6a7d;--bg-4:#e6eaf1;--line-2:rgba(16,24,40,.18);--purple:#6b46c1;--purple-dim:rgba(107,70,193,.10);--amber-dim:rgba(168,106,0,.12);--red-dim:rgba(212,42,85,.10);--red-text:#b3204a}

@font-face{font-family:Inter;src:url('../../../assets/plugins/inter/Inter-roman.var.woff2') format('woff2');font-weight:200 900;font-style:normal;font-display:swap}
/* Type: Inter from the approved concept replaces the thin Roboto of 1.0 (xoyo.css forces it with !important, so this does too) */
html body.xoyo-theme{font-family:Inter,'Segoe UI',Arial,sans-serif!important;font-weight:400!important;font-synthesis:none}
html body.xoyo-theme :is(p,a,label,summary,small,td,input,select,textarea,legend,.control-label,span){font-weight:400!important}
html body.xoyo-theme :is(button,.btn,.button,th,summary,label,.nav-group-title){font-weight:500!important}
html body.xoyo-theme :is(.co-surface button,.co-surface .button,.xo-btn,strong,b,h3,h4,h5,h6,[class*=tw-font-semibold],[class*=tw-font-medium]){font-weight:600!important}
html body.xoyo-theme :is(h1,h2,[class*=tw-font-bold]),html body.xoyo-theme .metrics :is(strong),html body.xoyo-theme :is(.cn-kpi strong,.pi-kpi){font-weight:700!important}
html body.xoyo-theme .metrics :is(small,span){font-weight:500!important}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .layout>nav a,html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .layout>nav a span{font-weight:500!important}
html body.xoyo-theme{font-feature-settings:"tnum" 1,"cv11" 1;-webkit-font-smoothing:antialiased}
html body.xoyo-theme :is(.co-surface,#wrapper) :is(h1){font-size:30px;line-height:1.2;font-weight:700;letter-spacing:-.02em;color:var(--text)}
html body.xoyo-theme :is(.co-surface,#wrapper) :is(h2){font-size:20px;line-height:1.3;font-weight:700;letter-spacing:-.01em;color:var(--text)}
html body.xoyo-theme :is(.co-surface,#wrapper) :is(h3){font-size:16px;line-height:1.4;font-weight:600;color:var(--text)}
html body.xoyo-theme :is(.co-surface,#wrapper) :is(b,strong){font-weight:600}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) :is(label,summary){font-weight:500}
html body.xoyo-theme :is(.co-surface,#wrapper) :is(.muted,small){color:var(--text-2)}

/* Header and the club search bar */
html body.xoyo-theme.co-surface>header{position:sticky;top:0;z-index:20;min-height:64px;padding:10px 24px;gap:16px;backdrop-filter:saturate(1.4) blur(12px);background:color-mix(in srgb,var(--bg-1) 88%,transparent);border-bottom:1px solid var(--line)}
html body.xoyo-theme.co-surface>header>strong{font-size:15px;font-weight:600}
html body.xoyo-theme.co-surface>header>span{color:var(--text-2);font-size:14px}
html body.xoyo-theme.co-surface>header>a:not(.brand){color:var(--text-2);text-decoration:none;font-size:14px}
html body.xoyo-theme.co-surface>header>a:not(.brand):hover{color:var(--text)}
html body.xoyo-theme.co-surface>header button{min-height:36px;padding:6px 14px}
html body.xoyo-theme.co-surface .banner{padding:10px 24px;font-size:14px}
html body.xoyo-theme.co-surface .co-club-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin:0;padding:10px 24px;border-radius:0;border-width:0 0 1px;background:var(--bg-1);position:relative}
html body.xoyo-theme.co-surface .co-club-tools>span{font-size:13px;color:var(--text-2);display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
html body.xoyo-theme.co-surface .co-club-tools>span::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--green);animation:xo-pulse 1.8s infinite}
html body.xoyo-theme.co-surface .co-club-tools>label{flex:1 1 320px;max-width:640px;flex-direction:row;align-items:center;gap:0;position:relative;font-size:0}
html body.xoyo-theme.co-surface .co-club-tools>label .kbd{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:11px;z-index:1;pointer-events:none}
html body.xoyo-theme.co-surface .co-club-tools>label input{font-size:14px;height:40px;min-height:40px;padding-left:38px!important;border-radius:12px;background:var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237f8995' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 12px 50% no-repeat!important}
html body.xoyo-theme.co-surface .co-club-tools [data-header-results]{position:absolute;left:24px;right:24px;top:100%;z-index:30;max-width:640px}
html body.xoyo-theme.co-surface .co-club-tools [data-header-results]:not(:empty){background:var(--bg-2);border:1px solid var(--line-2);border-radius:14px;padding:6px;box-shadow:0 18px 50px rgba(0,0,0,.55);animation:xo-pop var(--t-med) var(--ease) both}

/* Grouped side menu */
html body.xoyo-theme.co-surface .layout{gap:0}
html body.xoyo-theme.co-surface .layout>nav{width:240px;padding:12px 10px 24px;border-right:1px solid var(--line);border-radius:0;position:sticky;top:64px;align-self:flex-start;max-height:calc(100vh - 64px);overflow:auto;scrollbar-width:thin}
html body.xoyo-theme.co-surface .layout>nav .nav-group{display:flex;flex-direction:column;gap:2px;padding-bottom:6px}
html body.xoyo-theme.co-surface .layout>nav .nav-group-title{display:block;padding:14px 12px 6px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-3)}
html body.xoyo-theme.co-surface .layout>nav a{display:flex;align-items:center;gap:12px;min-height:38px;padding:8px 12px;margin:0;border:0;border-radius:10px;font-size:14px;font-weight:500;color:var(--text-2);box-shadow:none;transition:background var(--t-med) var(--ease),color var(--t-med)}
html body.xoyo-theme.co-surface .layout>nav a:hover{background:var(--bg-3);color:var(--text)}
html body.xoyo-theme.co-surface .layout>nav a.selected{background:var(--green-dim);color:var(--green);border:0;box-shadow:none}
html body.xoyo-theme.co-surface .layout>nav a.locked{opacity:.55}
html body.xoyo-theme.co-surface .layout>nav .nav-icon{flex:none;opacity:.9}
html body.xoyo-theme.co-surface .layout>main{padding:24px 32px 56px}
@media(max-width:900px){
 html body.xoyo-theme.co-surface>header{position:static}
 html body.xoyo-theme.co-surface .layout>nav{width:100%;max-height:none;position:sticky;top:0;z-index:15;display:flex;gap:4px;overflow-x:auto;padding:8px;border-right:0;border-bottom:1px solid var(--line);background:var(--bg-1)}
 html body.xoyo-theme.co-surface .layout>nav .nav-group{flex-direction:row;padding:0;gap:4px}
 html body.xoyo-theme.co-surface .layout>nav .nav-group+.nav-group{border-left:1px solid var(--line);padding-left:4px}
 html body.xoyo-theme.co-surface .layout>nav .nav-group-title{display:none}
 html body.xoyo-theme.co-surface .layout>nav a{white-space:nowrap;min-height:40px}
 html body.xoyo-theme.co-surface .layout>main{padding:18px 16px 40px}
 html body.xoyo-theme.co-surface .co-club-tools{padding:8px 16px}
}

/* Cards and sections */
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) :is(section,.form-card){border-radius:16px;transition:border-color var(--t-med)}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) details.form-card>summary{list-style:none;display:flex;align-items:center;gap:10px;color:var(--text);font-weight:600}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) details.form-card>summary::-webkit-details-marker{display:none}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) details.form-card>summary::before{content:"";width:8px;height:8px;border-right:2px solid var(--green);border-bottom:2px solid var(--green);transform:rotate(-45deg);transition:transform var(--t-med) var(--ease);flex:none;margin-right:2px}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) details.form-card[open]>summary::before{transform:rotate(45deg)}

/* Buttons: one solid primary action, quiet secondary, plain link buttons */
html body.xoyo-theme :is(.co-surface button,.co-surface .button,.xo-btn){background:var(--green);color:#000;border:1px solid var(--green);font-weight:600;border-radius:10px;transition:transform var(--t-fast) var(--ease),box-shadow var(--t-med) var(--ease),background var(--t-med),color var(--t-med)}
html body.xoyo-theme :is(.co-surface button,.co-surface .button,.xo-btn):hover{background:var(--green);color:#000;box-shadow:0 0 0 4px var(--green-dim),0 0 18px rgba(0,255,136,.3)}
html body.xoyo-theme :is(.co-surface button,.co-surface .button,.xo-btn):active{transform:scale(.97)}
html body.xoyo-theme :is(.co-surface button,.co-surface .button,.co-surface a,.co-surface input,.co-surface select,.co-surface summary):focus-visible{outline:2px solid var(--blue-text);outline-offset:2px}
html body.xoyo-theme :is(.co-surface button.quiet,.co-surface .button.quiet,.co-surface button.secondary,.xo-btn.quiet){background:var(--bg-3);color:var(--text);border:1px solid var(--line-2);box-shadow:none}
html body.xoyo-theme :is(.co-surface button.quiet,.co-surface .button.quiet,.co-surface button.secondary,.xo-btn.quiet):hover{background:var(--bg-4);color:var(--text);box-shadow:none}
html body.xoyo-theme :is(.co-surface button.link,.co-surface th button){background:none;border:0;color:inherit;padding:0;min-height:0;font:inherit;letter-spacing:inherit;text-transform:inherit;box-shadow:none;cursor:pointer}
html body.xoyo-theme :is(.co-surface button.link,.co-surface th button):hover{background:none;color:var(--text);box-shadow:none}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) button.danger,html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .button.danger{background:var(--red-dim)!important;color:var(--red-text)!important;border:1px solid rgba(255,61,110,.35)}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none;transform:none}
html[data-xoyo-theme=light] body.xoyo-theme :is(.co-surface button,.co-surface .button,.xo-btn):not(.quiet):not(.link):not(.secondary){color:#fff}

/* Fields */
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){border-radius:10px;border:1px solid var(--line-2);background:var(--bg-1);color:var(--text);min-height:44px;transition:border-color var(--t-med),box-shadow var(--t-med)}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) :is(input,select,textarea):focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 4px var(--blue-dim)}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) :is(input,select,textarea):user-invalid{border-color:var(--red);box-shadow:0 0 0 4px var(--red-dim)}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) label{color:var(--text-2);font-size:13px}

/* Segmented tabs: period switches, sub tabs, halls */
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) :is(.subtabs,.xo-seg){display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;margin:0 0 16px;background:var(--bg-1);border:1px solid var(--line);border-radius:12px}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) :is(.subtabs,.xo-seg)>:is(a,button){display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:6px 14px;border-radius:8px;border:0;background:transparent;color:var(--text-2);font-size:13px;font-weight:600;text-decoration:none;box-shadow:none;transition:background var(--t-med) var(--ease),color var(--t-med)}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) :is(.subtabs,.xo-seg)>:is(a,button):hover{background:var(--bg-3);color:var(--text);box-shadow:none}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) :is(.subtabs,.xo-seg)>:is(a.selected,button.selected,[aria-pressed=true],[aria-selected=true]){background:var(--bg-3);color:var(--text);box-shadow:inset 0 0 0 1px var(--line-2)}

/* KPI cards */
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .metrics{gap:12px}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .metrics article{position:relative;display:flex;flex-direction:column;gap:6px;padding:18px 18px 14px;border-radius:16px;overflow:hidden;transition:transform var(--t-med) var(--ease),border-color var(--t-med)}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .metrics article:hover{transform:translateY(-2px);border-color:var(--line-2)}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .metrics article>span{margin:0;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-3)}
html body.xoyo-theme.co-surface .metrics strong,html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .metrics strong{font-size:clamp(22px,2vw,28px);line-height:1.15;font-weight:700;letter-spacing:-.02em;color:var(--text);text-shadow:none}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .metrics small{margin:0;font-size:12px}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) :is(.up,.xo-up){color:var(--green);font-weight:600}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) :is(.down,.xo-down){color:var(--red-text);font-weight:600}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .xo-spark{display:block;width:100%;height:34px;margin-top:4px}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .xo-spark path{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;stroke-dasharray:1000;stroke-dashoffset:1000;animation:xo-draw 1.3s var(--ease) .25s forwards}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .xo-spark .area{stroke:none;stroke-dasharray:none;stroke-dashoffset:0;opacity:0;animation:xo-fade .8s var(--ease) .5s forwards}

/* Tables */
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .table-wrap{border-radius:16px}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) th{overflow-wrap:normal!important;word-break:keep-all;font-size:11px;font-weight:600;letter-spacing:.06em;color:var(--text-3)}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) tbody tr{transition:background var(--t-fast)}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) tbody tr:hover{background:var(--bg-3)}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) td{font-size:14px}

/* Status chips and small parts */
html body.xoyo-theme .xo-chip{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:99px;font-size:12px;font-weight:600;white-space:nowrap}
html body.xoyo-theme .xo-chip::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
html body.xoyo-theme .xo-chip.free{background:var(--green-dim);color:var(--green)}html body.xoyo-theme .xo-chip.busy{background:var(--blue-dim);color:var(--blue-text)}html body.xoyo-theme .xo-chip.bill{background:var(--amber-dim);color:var(--amber)}
html body.xoyo-theme .xo-chip.cleaning{background:rgba(167,176,186,.12);color:var(--text-2)}html body.xoyo-theme .xo-chip.booked{background:var(--purple-dim);color:var(--purple)}html body.xoyo-theme .xo-chip.alert{background:var(--red-dim);color:var(--red-text)}
html body.xoyo-theme .xo-live{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--green);animation:xo-pulse 1.8s infinite}
html body.xoyo-theme .xo-skel{border-radius:8px;background:linear-gradient(90deg,var(--bg-3) 0%,var(--bg-4) 50%,var(--bg-3) 100%);background-size:200% 100%;animation:xo-shim 1.4s linear infinite;min-height:16px}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .notice{border-radius:14px;border:1px solid rgba(0,255,136,.3);animation:xo-pop var(--t-slow) var(--ease) both}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .kbd,html body.xoyo-theme kbd.kbd{font:600 11px Inter,system-ui,sans-serif;color:var(--text-2);border:1px solid var(--line-2);border-bottom-width:2px;border-radius:6px;padding:2px 6px;background:transparent}

/* Charts (dashboard, reports) */
.xo-chart{position:relative}
.xo-chart svg{display:block;width:100%;overflow:visible}
.xo-chart .grid line{stroke:var(--line)}
.xo-chart .line-now{fill:none;stroke:var(--green);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;stroke-dasharray:3000;stroke-dashoffset:3000;animation:xo-draw 1.6s var(--ease) .2s forwards}
.xo-chart .line-prev{fill:none;stroke:var(--blue-text);stroke-width:2;stroke-dasharray:6 6;vector-effect:non-scaling-stroke;opacity:0;animation:xo-fade .8s var(--ease) .4s forwards}
.xo-chart .area-now{fill:url(#xo-area-green);opacity:0;animation:xo-fade .9s var(--ease) .6s forwards}
.xo-chart .bar{transform-box:fill-box;transform-origin:bottom;animation:xo-grow-y .8s var(--ease) both}
.xo-chart .tip{position:absolute;top:6px;pointer-events:none;padding:8px 12px;border-radius:10px;background:var(--bg-3);border:1px solid var(--line-2);font-size:12px;color:var(--text-2);white-space:nowrap;transform:translateX(-50%);transition:left var(--t-fast) var(--ease),opacity var(--t-fast);opacity:0}
.xo-chart .tip strong{display:block;font-size:15px;color:var(--text)}
.xo-chart:hover .tip{opacity:1}
.xo-chart .axis{display:flex;justify-content:space-between;font-size:11px;color:var(--text-3);margin-top:6px}
.xo-legend{display:flex;flex-wrap:wrap;gap:16px;font-size:13px;color:var(--text-2);margin:8px 0 0;padding:0;list-style:none}
.xo-legend li{display:inline-flex;align-items:center;gap:8px}
.xo-legend i{display:inline-block;width:14px;height:3px;border-radius:2px;background:var(--green)}
.xo-legend i.prev{height:0;border-top:2px dashed var(--blue-text);background:none}
.xo-bar-track{display:block;height:5px;border-radius:5px;background:var(--bg-3);overflow:hidden;margin-top:6px}
.xo-bar-track>i{display:block;height:100%;border-radius:5px;background:var(--green);transform-origin:left;animation:xo-grow-x .9s var(--ease) both}
.xo-bar-track>i.blue{background:linear-gradient(90deg,var(--blue),var(--blue-text))}

/* Motion: content rises in once, in order */
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) main>:is(section,.metrics,.table-wrap,.form-card,h1,h2,.xo-panel,.dash-grid){animation:xo-rise .5s var(--ease) both}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) main>:nth-child(2){animation-delay:.03s}html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) main>:nth-child(3){animation-delay:.06s}html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) main>:nth-child(4){animation-delay:.09s}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) main>:nth-child(5){animation-delay:.12s}html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) main>:nth-child(6){animation-delay:.15s}html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) main>:nth-child(n+7){animation-delay:.18s}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .metrics article{animation:xo-rise .5s var(--ease) both}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .metrics article:nth-child(2){animation-delay:.04s}html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .metrics article:nth-child(3){animation-delay:.08s}html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .metrics article:nth-child(4){animation-delay:.12s}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .metrics article:nth-child(5){animation-delay:.16s}html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .metrics article:nth-child(n+6){animation-delay:.2s}
@keyframes xo-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes xo-fade{to{opacity:1}}
@keyframes xo-pop{from{opacity:0;transform:translateY(6px) scale(.98)}to{opacity:1;transform:none}}
@keyframes xo-draw{to{stroke-dashoffset:0}}
@keyframes xo-grow-y{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes xo-grow-x{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes xo-shim{from{background-position:200% 0}to{background-position:-200% 0}}
@keyframes xo-pulse{0%{box-shadow:0 0 0 0 rgba(0,255,136,.5)}70%{box-shadow:0 0 0 8px rgba(0,255,136,0)}100%{box-shadow:0 0 0 0 rgba(0,255,136,0)}}
@media (prefers-reduced-motion:reduce){
 html body.xoyo-theme *,html body.xoyo-theme *::before,html body.xoyo-theme *::after{animation:none!important;transition:none!important}
 .xo-chart :is(.line-now,.line-prev,.area-now),html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .xo-spark :is(path,.area){stroke-dashoffset:0!important;opacity:1!important}
}
@media print{html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) main>*,html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) .metrics article{animation:none!important}.xo-chart :is(.line-now,.line-prev,.area-now){stroke-dashoffset:0;opacity:1}}

/* Network dashboard */
.co-surface .dash-head{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;justify-content:space-between;margin:-8px 0 8px}
.co-surface .dash-head .subtabs{margin:0}
.co-surface .dash-live{display:flex;align-items:center;gap:8px;margin:0}
.co-surface .dash-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:16px;margin:16px 0}
.co-surface .dash-grid.even{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
.co-surface .dash-grid>section{margin:0;min-width:0}
.co-surface .dash-grid h3{margin:0 0 14px;display:flex;align-items:center;gap:10px}
@media(max-width:1100px){.co-surface .dash-grid{grid-template-columns:minmax(0,1fr)}}
html body.xoyo-theme.co-surface .metrics.dash-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){html body.xoyo-theme.co-surface .metrics.dash-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.co-surface .dash-signals{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.co-surface .dash-signals li{display:flex;gap:12px;align-items:flex-start;padding:12px;border-radius:12px;background:var(--bg-1);border:1px solid var(--line);animation:xo-rise .45s var(--ease) both}
.co-surface .dash-signals .sig-mark{flex:none;width:32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:800}
.co-surface .dash-signals .sig-mark.alert{background:var(--red-dim);color:var(--red-text)}.co-surface .dash-signals .sig-mark.bill{background:var(--amber-dim);color:var(--amber)}
.co-surface .dash-signals .sig-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:14px;line-height:1.45}
.co-surface .dash-signals form{margin:0}.co-surface .dash-signals button{min-height:32px;padding:4px 12px;font-size:13px}
.co-surface .dash-calm{padding:20px;text-align:center;border:1px dashed var(--line-2);border-radius:12px}
.co-surface .dash-table td .xo-bar-track{max-width:140px}
.co-surface .dash-table .dash-venue{color:var(--text);font-weight:600;text-decoration:none}.co-surface .dash-table .dash-venue:hover{color:var(--green)}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) :is(.dash-table,.xo-table) th{white-space:normal!important;min-width:90px}
html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) th,html :is(body.xoyo-theme.co-surface,body.xoyo-theme .co-surface) th *{overflow-wrap:normal!important;word-break:normal!important;hyphens:manual}
.xo-donut{display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.xo-donut svg circle{transition:stroke-dasharray .6s var(--ease)}
.xo-donut ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;flex:1;min-width:160px}
.xo-donut li{display:flex;gap:10px;align-items:center;font-size:14px}.xo-donut .sw{width:10px;height:10px;border-radius:3px;flex:none}.xo-donut .lbl{flex:1;color:var(--text-2)}
.xo-bars{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.xo-bars .row{display:flex;justify-content:space-between;gap:12px;font-size:14px}

/* Reports (design 2.0) */
.co-surface .rep-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:8px 0 16px}html body.xoyo-theme .rep-head .subtabs.subtabs{margin:0;flex-wrap:nowrap;flex:none;max-width:100%;overflow-x:auto}.co-surface .rep-head .subtabs>a{white-space:nowrap}.co-surface .rep-head p{margin:0 0 0 auto}
.co-surface .metrics.rep-metrics{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.co-surface .dash-grid.rep-grid{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}
@media(max-width:1100px){.co-surface .dash-grid.rep-grid{grid-template-columns:minmax(0,1fr)}}
.co-surface .rep-highlights ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}
.co-surface .rep-highlights li{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:12px;background:var(--bg-3);font-size:14px;line-height:1.45;animation:xo-rise .5s var(--ease) both}
.co-surface .rep-highlights li:nth-child(2){animation-delay:60ms}.co-surface .rep-highlights li:nth-child(3){animation-delay:120ms}.co-surface .rep-highlights li:nth-child(4){animation-delay:180ms}.co-surface .rep-highlights li:nth-child(5){animation-delay:240ms}.co-surface .rep-highlights li:nth-child(6){animation-delay:300ms}
.co-surface .rep-highlights .sig-mark{flex:none;width:10px;height:10px;margin-top:5px;border-radius:50%;background:var(--blue-text)}
.co-surface .rep-highlights .tone-up .sig-mark{background:var(--green)}.co-surface .rep-highlights .tone-down .sig-mark{background:var(--red)}
.xo-chart .bars rect{fill:var(--green);fill-opacity:.75;transform-box:fill-box;transform-origin:bottom;animation:xo-grow-y .7s var(--ease) both}
.xo-chart .bars rect:hover{fill-opacity:1}
.xo-chart .line-margin{fill:none;stroke:var(--amber);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke;opacity:0;animation:xo-fade .8s var(--ease) .5s forwards}
.xo-legend i.bar{height:10px;width:10px;border-radius:3px}.xo-legend i.margin{background:var(--amber)}
.xo-chart.xo-combo .axis{justify-content:space-around}
.xo-waterfall{display:block;width:100%;height:auto;overflow:visible}
.xo-waterfall .wf{transform-box:fill-box;transform-origin:bottom;animation:xo-grow-y .6s var(--ease) both}
.xo-waterfall .wf.pos{fill:var(--green);fill-opacity:.8}.xo-waterfall .wf.neg{fill:var(--red);fill-opacity:.8}.xo-waterfall .wf.total{fill:var(--blue)}
.xo-waterfall .wf-link{stroke:var(--line-2);stroke-dasharray:3 3}.xo-waterfall .wf-zero{stroke:var(--line)}
.xo-waterfall .wf-val{fill:var(--text);font:600 13px Inter,system-ui,sans-serif}.xo-waterfall .wf-lbl{fill:var(--text-2);font:500 12px Inter,system-ui,sans-serif}
.xo-heat{display:grid;gap:3px;font-size:11px;color:var(--text-3)}
.xo-heat-row{display:grid;grid-template-columns:30px repeat(24,minmax(0,1fr));gap:3px;align-items:center}
.xo-heat-row.head span{text-align:left;font-variant-numeric:tabular-nums}
.xo-heat .c{position:relative;aspect-ratio:1/1;min-height:12px;border-radius:4px;background:rgba(0,255,136,calc(.05 + var(--k)*.85));animation:xo-fade .5s var(--ease) both;transition:transform var(--t-fast)}
.xo-heat .c:hover{transform:scale(1.25);outline:1px solid var(--green);z-index:1}
.xo-heat .sr,.co-surface .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html[data-xoyo-theme=light] .xo-heat .c{background:rgba(0,160,90,calc(.06 + var(--k)*.85))}
.co-surface .rep-abc-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px}.co-surface .rep-abc-head .xo-seg{margin:0}.co-surface .rep-abc-head p{margin:4px 0 12px}
.co-surface .abc{display:inline-flex;width:26px;height:26px;border-radius:8px;align-items:center;justify-content:center;font-weight:700;font-size:12px}
.co-surface .abc-a{background:var(--green-dim);color:var(--green)}.co-surface .abc-b{background:var(--blue-dim);color:var(--blue-text)}.co-surface .abc-c{background:var(--bg-4);color:var(--text-2)}
.co-surface .rep-share{min-width:160px}.co-surface .rep-share .xo-bar-track{display:inline-block;width:100px;vertical-align:middle;margin-right:8px}
.co-surface tr[hidden]{display:none}
.co-surface .rep-staff{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.co-surface .rep-staff article{display:grid;gap:12px;padding:16px;border-radius:14px;background:var(--bg-3);border:1px solid var(--line);animation:xo-rise .5s var(--ease) both;transition:transform var(--t-fast)}
.co-surface .rep-staff article:hover{transform:translateY(-2px)}
.co-surface .rep-staff .who{display:flex;gap:12px;align-items:center}.co-surface .rep-staff .who div{display:grid}
.co-surface .rep-staff .avatar{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--blue-dim);color:var(--blue-text);font-weight:700}
.co-surface .rep-staff dl{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0}.co-surface .rep-staff dt{font-size:11px;color:var(--text-3);text-transform:uppercase;letter-spacing:.04em}.co-surface .rep-staff dd{margin:2px 0 0;font-weight:600;font-size:14px}
@media(max-width:600px){.co-surface .rep-head p{margin:0}.co-surface .xo-heat-row{grid-template-columns:24px repeat(24,minmax(0,1fr));gap:2px}.co-surface .xo-heat-row.head span:not(:first-child){font-size:9px}}
/* Role home shortcuts are navigation, so they use the quiet style rather than the primary action colour */
html body.xoyo-theme .role-links>a.button.button{background:var(--bg-3);color:var(--text);border:1px solid var(--line-2);box-shadow:none}
html body.xoyo-theme .role-links>a.button.button:hover{background:var(--bg-4);border-color:var(--green);color:var(--text)}
