/* XVM Squad 0.16.7 — interface hardening, canonical finance and human injury mapping */

/* The navigation remains the same branded dark surface in both workspace themes. */
#teamhub-platform-root aside,
html[data-xvm-theme="dark"] #teamhub-platform-root aside,
html:not([data-xvm-theme="dark"]) #teamhub-platform-root aside {
  background:#050d1d !important;
  color:#f8fbff !important;
  border-color:#24334c !important;
  color-scheme:dark;
}
#teamhub-platform-root aside nav button,
#teamhub-platform-root aside nav a {
  color:#dce6f4 !important;
}
#teamhub-platform-root aside nav button:hover,
#teamhub-platform-root aside nav a:hover {
  background:rgba(255,255,255,.055) !important;
  color:#fff !important;
}
#teamhub-platform-root aside nav [aria-current="page"] {
  background:linear-gradient(135deg,#0ca84e,#17c86a) !important;
  color:#fff !important;
  box-shadow:0 10px 24px rgba(10,175,83,.18) !important;
}
#teamhub-platform-root aside nav {
  scrollbar-width:thin;
  scrollbar-color:#22c56d #091326;
}
#teamhub-platform-root aside nav::-webkit-scrollbar { width:8px; }
#teamhub-platform-root aside nav::-webkit-scrollbar-track { background:#091326; }
#teamhub-platform-root aside nav::-webkit-scrollbar-thumb { border-radius:999px; background:linear-gradient(180deg,#34e889,#0eaa52); }


/* Compact sticky reporting context */
#xvm-global-reporting-context,
.xvm-reporting-context.xvm167-normalized-filters {
  position: sticky !important;
  top: 10px !important;
  z-index: 45 !important;
  margin-bottom: 18px !important;
  box-shadow: 0 18px 42px rgba(2,8,23,.18) !important;
  backdrop-filter: blur(8px);
}
#xvm-global-reporting-context .xvm-scope-shell,
.xvm-reporting-context.xvm167-normalized-filters .xvm-scope-shell {
  padding: 14px 18px !important;
  border-radius: 20px !important;
}
.xvm-reporting-context.xvm167-normalized-filters .xvm-scope-eyebrow { font-size:9px !important; }
.xvm-reporting-context.xvm167-normalized-filters .xvm-scope-heading strong { font-size:15px !important; line-height:1.2 !important; }
.xvm-reporting-context.xvm167-normalized-filters .xvm-scope-heading small { font-size:11px !important; line-height:1.35 !important; }
.xvm-reporting-context.xvm167-normalized-filters .xvm-scope-field > span { font-size:9px !important; letter-spacing:.09em !important; }
.xvm-reporting-context.xvm167-normalized-filters select,
.xvm-reporting-context.xvm167-normalized-filters input,
.xvm-reporting-context.xvm167-normalized-filters button {
  min-height: 36px !important;
  padding: 0 11px !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  border-radius: 12px !important;
}
.xvm-reporting-context.xvm167-normalized-filters .xvm-scope-actions {
  align-items: end !important;
}
@media (max-width: 900px) {
  #xvm-global-reporting-context,
  .xvm-reporting-context.xvm167-normalized-filters {
    position: static !important;
    top: auto !important;
  }
  #xvm-global-reporting-context .xvm-scope-shell,
  .xvm-reporting-context.xvm167-normalized-filters .xvm-scope-shell {
    padding: 12px 14px !important;
    border-radius: 16px !important;
  }
}

/* Reporting filters use the same professional scale as the rest of the interface. */
.xvm-reporting-context.xvm167-normalized-filters .xvm-scope-eyebrow { font-size:10px !important; }
.xvm-reporting-context.xvm167-normalized-filters .xvm-scope-heading strong { font-size:16px !important; line-height:1.25 !important; }
.xvm-reporting-context.xvm167-normalized-filters .xvm-scope-heading small { font-size:12px !important; line-height:1.45 !important; }
.xvm-reporting-context.xvm167-normalized-filters .xvm-scope-field > span { font-size:10px !important; letter-spacing:.07em !important; }
.xvm-reporting-context.xvm167-normalized-filters select,
.xvm-reporting-context.xvm167-normalized-filters input,
.xvm-reporting-context.xvm167-normalized-filters button {
  min-height:40px !important;
  padding:0 12px !important;
  font-size:14px !important;
  line-height:1.2 !important;
}

/* Academy Settings is a centred, viewport-safe modal in both themes. */
.xvm167-modal {
  position:fixed;
  inset:0;
  z-index:1000000;
  display:grid;
  place-items:center;
  padding:22px;
  background:rgba(2,7,18,.68);
  backdrop-filter:blur(6px);
}
.xvm167-dialog {
  width:min(980px,calc(100vw - 44px));
  max-height:min(88vh,900px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid #d8e2ec;
  border-radius:24px;
  background:#fff;
  color:#0f172a;
  box-shadow:0 34px 100px rgba(2,8,23,.35);
}
.xvm167-dialog > header {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:22px 24px;
  border-bottom:1px solid #dce5ef;
  background:linear-gradient(135deg,#f8fbff,#eefaf4);
}
.xvm167-dialog > header span { color:#078947; font-size:11px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.xvm167-dialog h2 { margin:4px 0 0; color:#0f172a; font-size:25px; }
.xvm167-dialog [data-close] {
  width:42px;
  height:42px;
  border:1px solid #c9d5e2;
  border-radius:50%;
  background:#fff;
  color:#0f172a;
  font-size:25px;
  cursor:pointer;
}
.xvm167-dialog form { display:flex; min-height:0; flex:1; flex-direction:column; }
.xvm167-dialog-body {
  min-height:0;
  overflow:auto;
  padding:22px;
  scrollbar-width:thin;
  scrollbar-color:#19bd68 #e8eef5;
  scrollbar-gutter:stable;
}
.xvm167-dialog-body::-webkit-scrollbar { width:9px; }
.xvm167-dialog-body::-webkit-scrollbar-track { background:#e8eef5; }
.xvm167-dialog-body::-webkit-scrollbar-thumb { border-radius:999px; background:linear-gradient(180deg,#39dd87,#0ba654); }
.xvm167-dialog footer {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding:16px 22px;
  border-top:1px solid #dce5ef;
  background:#f8fafc;
}
.xvm167-dialog footer button {
  min-height:43px;
  padding:0 18px;
  border:1px solid #c9d5e2;
  border-radius:12px;
  background:#fff;
  color:#142033;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
}
.xvm167-dialog footer [type="submit"] { border-color:#0fb45b; background:#11b75d; color:#fff; }
.xvm167-settings-grid,
.xvm167-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.xvm167-settings-grid article {
  padding:18px;
  border:1px solid #dbe4ee;
  border-radius:17px;
  background:#f8fafc;
}
.xvm167-settings-grid h3 { margin:0 0 14px; color:#0f172a; font-size:18px; }
.xvm167-field { display:grid; gap:7px; color:#334155; font-size:13px; font-weight:800; }
.xvm167-field.wide { grid-column:1/-1; }
.xvm167-field input,
.xvm167-field select,
.xvm167-field textarea {
  width:100%;
  min-height:43px;
  box-sizing:border-box;
  padding:10px 12px;
  border:1px solid #cbd5e1;
  border-radius:11px;
  background:#fff;
  color:#0f172a;
  font-size:14px;
}
.xvm167-check { display:flex; align-items:center; gap:10px; margin:10px 0; color:#253247; font-size:14px; font-weight:700; }
html[data-xvm-theme="dark"] .xvm167-dialog { border-color:#40536d; background:#101b2f; color:#f8fbff; }
html[data-xvm-theme="dark"] .xvm167-dialog > header { border-color:#334862; background:linear-gradient(135deg,#15243a,#0d3025); }
html[data-xvm-theme="dark"] .xvm167-dialog h2,
html[data-xvm-theme="dark"] .xvm167-settings-grid h3 { color:#fff; }
html[data-xvm-theme="dark"] .xvm167-dialog [data-close],
html[data-xvm-theme="dark"] .xvm167-dialog footer button { border-color:#4a607c; background:#17253c; color:#fff; }
html[data-xvm-theme="dark"] .xvm167-dialog footer { border-color:#334862; background:#111d31; }
html[data-xvm-theme="dark"] .xvm167-dialog footer [type="submit"] { border-color:#18ca6b; background:#12b75d; }
html[data-xvm-theme="dark"] .xvm167-dialog-body { scrollbar-color:#22c56d #17253c; }
html[data-xvm-theme="dark"] .xvm167-dialog-body::-webkit-scrollbar-track { background:#17253c; }
html[data-xvm-theme="dark"] .xvm167-settings-grid article { border-color:#364c68; background:#17253c; }
html[data-xvm-theme="dark"] .xvm167-field,
html[data-xvm-theme="dark"] .xvm167-check { color:#dce7f3; }
html[data-xvm-theme="dark"] .xvm167-field input,
html[data-xvm-theme="dark"] .xvm167-field select,
html[data-xvm-theme="dark"] .xvm167-field textarea { border-color:#4a607c; background:#0a1527; color:#fff; color-scheme:dark; }

/* Stock remains one full-width section inside the native Finance page. */
#xvm167-stock-button { white-space:nowrap; }
.xvm167-stock-panel {
  margin:22px 0;
  padding:22px;
  border:1px solid #d9e3ed;
  border-radius:22px;
  background:#fff;
  box-shadow:0 16px 44px rgba(15,23,42,.08);
}
.xvm167-stock-panel[hidden] { display:none !important; }
.xvm167-stock-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:18px; }
.xvm167-stock-head span { color:#0c9950; font-size:10px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.xvm167-stock-head h2 { margin:4px 0 2px; color:#0f172a; font-size:25px; }
.xvm167-stock-head p { margin:0; color:#64748b; font-size:14px; }
.xvm167-stock-head button,
.xvm167-stock-table button,
.xvm167-empty button,
.xvm167-error button {
  min-height:39px;
  padding:0 13px;
  border:1px solid #cbd5e1;
  border-radius:10px;
  background:#fff;
  color:#142033;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}
.xvm167-stock-head > button { border-color:#0fb45b; background:#11b75d; color:#fff; }
.xvm167-stock-table { overflow:auto; border:1px solid #dbe4ee; border-radius:15px; }
.xvm167-stock-table table { width:100%; min-width:820px; border-collapse:collapse; }
.xvm167-stock-table th { padding:12px 13px; background:#f1f5f9; color:#334155; font-size:11px; text-align:left; text-transform:uppercase; }
.xvm167-stock-table td { padding:13px; border-top:1px solid #e2e8f0; color:#1e293b; font-size:13px; }
.xvm167-stock-table td small { display:block; color:#64748b; }
.xvm167-movement-title { margin:24px 0 12px; color:#0f172a; font-size:18px; }
.xvm167-empty,
.xvm167-loading,
.xvm167-error { padding:22px; border:1px solid #dbe4ee; border-radius:16px; background:#f8fafc; color:#334155; }
html[data-xvm-theme="dark"] .xvm167-stock-panel { border-color:#344963; background:#101b2f; box-shadow:0 20px 50px rgba(0,0,0,.25); }
html[data-xvm-theme="dark"] .xvm167-stock-head h2,
html[data-xvm-theme="dark"] .xvm167-movement-title { color:#fff; }
html[data-xvm-theme="dark"] .xvm167-stock-head p { color:#b6c3d4; }
html[data-xvm-theme="dark"] .xvm167-stock-table { border-color:#354a65; }
html[data-xvm-theme="dark"] .xvm167-stock-table th { background:#17253c; color:#dce7f3; }
html[data-xvm-theme="dark"] .xvm167-stock-table td { border-color:#30435d; color:#f3f7fb; }
html[data-xvm-theme="dark"] .xvm167-stock-table td small { color:#9fb0c5; }
html[data-xvm-theme="dark"] .xvm167-stock-table button { border-color:#4a607c; background:#17253c; color:#fff; }
html[data-xvm-theme="dark"] .xvm167-empty,
html[data-xvm-theme="dark"] .xvm167-loading,
html[data-xvm-theme="dark"] .xvm167-error { border-color:#354a65; background:#17253c; color:#e9f1fa; }

/* Medical body map uses a more recognisably human segmented silhouette. */
.xvm167-performance-hub { display:grid; gap:18px; margin:0 0 24px; }
.xvm167-medical {
  display:grid;
  grid-template-columns:minmax(260px,.72fr) minmax(500px,1.28fr);
  gap:24px;
  padding:24px;
  border:1px solid #e1c8d0;
  border-radius:22px;
  background:linear-gradient(135deg,#fff5f7,#fff 45%,#eefaf4);
}
.xvm167-medical-copy span,
.xvm167-tracking span { color:#a91d45; font-size:10px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.xvm167-medical-copy h2,
.xvm167-tracking h2 { margin:4px 0 0; color:#172033; font-size:25px; }
.xvm167-medical-copy p,
.xvm167-tracking p { color:#5f6f83; font-size:14px; line-height:1.6; }
.xvm167-medical-copy button,
.xvm167-tracking button { min-height:43px; padding:0 16px; border:0; border-radius:12px; background:#12b75d; color:#fff; font-size:14px; font-weight:900; cursor:pointer; }
.xvm167-body-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:stretch; }
.xvm167-body-pair > div { padding:16px; border:1px solid #d6e0ea; border-radius:17px; background:#fff; text-align:center; }
.xvm167-body-pair strong { color:#243146; font-size:14px; }
.xvm167-body-svg { width:100%; max-width:250px; height:400px; margin-top:6px; overflow:visible; }
.xvm167-body-svg [data-region] { fill:#dbe6f1; stroke:#708198; stroke-width:1.7; cursor:crosshair; transition:.15s ease; }
.xvm167-body-svg [data-region]:hover { fill:#f87187; stroke:#a20c35; filter:drop-shadow(0 0 5px rgba(225,29,72,.35)); }
.xvm167-tracking { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px 24px; border:1px solid #cddde7; border-radius:20px; background:linear-gradient(135deg,#f8fbff,#edf9f3); }
html[data-xvm-theme="dark"] .xvm167-medical { border-color:#594254; background:linear-gradient(135deg,#2b1723,#17243a 45%,#0d2c23); }
html[data-xvm-theme="dark"] .xvm167-medical-copy h2,
html[data-xvm-theme="dark"] .xvm167-tracking h2,
html[data-xvm-theme="dark"] .xvm167-body-pair strong { color:#fff; }
html[data-xvm-theme="dark"] .xvm167-medical-copy p,
html[data-xvm-theme="dark"] .xvm167-tracking p { color:#c4d0df; }
html[data-xvm-theme="dark"] .xvm167-body-pair > div { border-color:#425974; background:#17253c; }
html[data-xvm-theme="dark"] .xvm167-body-svg [data-region] { fill:#40536b; stroke:#a8b8ca; }
html[data-xvm-theme="dark"] .xvm167-body-svg [data-region]:hover { fill:#a52848; stroke:#ff8498; }
html[data-xvm-theme="dark"] .xvm167-tracking { border-color:#36566d; background:linear-gradient(135deg,#102035,#0d3026); }

@media(max-width:900px){
  .xvm167-settings-grid,
  .xvm167-form-grid,
  .xvm167-medical { grid-template-columns:1fr; }
  .xvm167-body-pair { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px){
  .xvm167-modal { padding:8px; }
  .xvm167-dialog { width:calc(100vw - 16px); max-height:95vh; border-radius:18px; }
  .xvm167-body-pair { grid-template-columns:1fr; }
  .xvm167-stock-head,
  .xvm167-tracking { align-items:flex-start; flex-direction:column; }
}


/* 0.16.8 refinements */
#teamhub-platform-root aside nav button,
#teamhub-platform-root aside nav a {
  background:#091326 !important;
  border:1px solid #18324f !important;
  border-radius:14px !important;
  box-shadow:none !important;
}
#teamhub-platform-root aside nav button:hover,
#teamhub-platform-root aside nav a:hover {
  background:#0d1a30 !important;
  border-color:#244668 !important;
}
#teamhub-platform-root aside nav [aria-current="page"] {
  border-color:#19b65e !important;
}
html[data-xvm-theme="dark"] #teamhub-platform-root aside nav button,
html[data-xvm-theme="dark"] #teamhub-platform-root aside nav a,
html:not([data-xvm-theme="dark"]) #teamhub-platform-root aside nav button,
html:not([data-xvm-theme="dark"]) #teamhub-platform-root aside nav a {
  background:#091326 !important;
}
#xvm167-stock-button,
.xvm167-stock-panel { display:none !important; }
.xvm167-body-pair > div {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
}
.xvm167-body-pair strong {
  display:block;
  margin-bottom:6px;
}
.xvm167-body-svg {
  display:block;
  width:100%;
  max-width:230px;
  height:430px;
  margin:8px auto 0;
}
.xvm167-body-regions [data-region] {
  fill:#eef4fa;
  stroke:#7b8ea8;
  stroke-width:1.35;
}
.xvm167-body-outline path,
.xvm167-body-detail path {
  fill:none;
  stroke:#9aa9bd;
  stroke-width:1.2;
  stroke-linecap:round;
  stroke-linejoin:round;
  pointer-events:none;
}
.xvm167-body-svg [data-region]:hover {
  fill:#fda4af;
  stroke:#be123c;
}
html[data-xvm-theme="dark"] .xvm167-body-regions [data-region] {
  fill:#d8e3ef;
  fill-opacity:.18;
  stroke:#a9bbcf;
}
html[data-xvm-theme="dark"] .xvm167-body-outline path,
html[data-xvm-theme="dark"] .xvm167-body-detail path {
  stroke:#d5dfeb;
  opacity:.88;
}
html[data-xvm-theme="dark"] .xvm167-body-svg [data-region]:hover {
  fill:#e45874;
  fill-opacity:.5;
  stroke:#ffb5c1;
}


/* 0.16.9 refinements */
#teamhub-platform-root aside nav button,
#teamhub-platform-root aside nav a {
  font-size:13.5px !important;
  font-weight:600 !important;
  letter-spacing:.01em;
  min-height:46px !important;
}
#teamhub-platform-root aside nav button span,
#teamhub-platform-root aside nav a span { font-size:inherit !important; }
#xvm167-stock-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
#xvm167-stock-button.xvm167-active-tab {
  border-color:#18ba61 !important;
  box-shadow:inset 0 0 0 1px rgba(24,186,97,.35);
}
.xvm167-stock-panel {
  display:block !important;
  margin:16px 0 4px;
  border-top:1px solid rgba(125,145,170,.22);
  border-radius:0 0 18px 18px;
  box-shadow:none;
}
.xvm167-stock-panel[hidden] { display:none !important; }
.xvm167-stock-head h2 { font-size:22px; }
.xvm167-body-svg {
  max-width:200px;
  height:400px;
}
.xvm167-body-regions [data-region] {
  stroke-width:1.2;
}
.xvm167-body-outline path,
.xvm167-body-detail path {
  stroke-width:1.0;
}


/* 0.17.0 finance suite */
.xvm167-finance-suite{margin:18px 0 8px;padding:18px 18px 20px;border:1px solid rgba(110,138,168,.22);border-radius:18px;background:rgba(10,24,49,.58)}
.xvm167-finance-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px}
.xvm167-finance-tabs button{appearance:none;border:1px solid rgba(109,141,176,.42);background:rgba(22,38,67,.86);color:#eef6ff;border-radius:14px;padding:10px 14px;font-size:13px;font-weight:700;cursor:pointer}
.xvm167-finance-tabs button.xvm167-active-tab{border-color:#22c55e;box-shadow:inset 0 0 0 1px rgba(34,197,94,.35);background:linear-gradient(180deg,rgba(20,35,62,.96),rgba(12,27,48,.96))}
.xvm167-fin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}
.xvm167-fin-card{border:1px solid rgba(103,135,170,.28);border-radius:16px;background:rgba(18,35,63,.88);padding:14px 16px}
.xvm167-fin-card span{display:block;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:#9eb4cf;margin-bottom:8px;font-weight:700}
.xvm167-fin-card strong{font-size:26px;line-height:1.1;color:#fff}
.xvm167-fin-split{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}
.xvm167-fin-split section{border:1px solid rgba(103,135,170,.24);border-radius:16px;background:rgba(15,29,54,.62);padding:14px 16px}
.xvm167-fin-split h3,.xvm167-finance-body h3{margin:0 0 12px;font-size:18px;color:#fff}
.xvm167-panel-actions{display:flex;justify-content:flex-end;margin-bottom:12px}
.xvm167-panel-actions button{appearance:none;border:0;border-radius:12px;background:#19ba61;color:#fff;padding:10px 14px;font-weight:700;cursor:pointer}
.xvm167-compact-table{overflow:auto;border:1px solid rgba(103,135,170,.22);border-radius:14px;background:rgba(12,24,45,.4)}
.xvm167-compact-table table{width:100%;border-collapse:collapse}
.xvm167-compact-table th,.xvm167-compact-table td{padding:12px 14px;border-bottom:1px solid rgba(103,135,170,.18);font-size:13px;color:#eff5ff;text-align:left;vertical-align:top}
.xvm167-compact-table thead th{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#a9bdd8}
.xvm167-compact-table td small{display:block;color:#9bb3cf;margin-top:4px}
.xvm167-empty-lite{padding:14px;border:1px dashed rgba(115,145,178,.3);border-radius:12px;color:#b6c6d9}
.xvm167-mini-bars{display:flex;flex-direction:column;gap:12px}
.xvm167-mini-bar-meta{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:#eef6ff;margin-bottom:6px}
.xvm167-mini-bar-track{height:10px;border-radius:999px;background:rgba(255,255,255,.06);overflow:hidden}
.xvm167-mini-bar-track span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#19ba61,#55d88d)}
.xvm167-monthly-chart{display:flex;flex-direction:column;gap:12px}
.xvm167-month-row strong{display:block;font-size:12px;color:#9db7d6;margin-bottom:8px;letter-spacing:.04em;text-transform:uppercase}
.xvm167-stackbars{display:grid;gap:6px}
.xvm167-stackbars span{display:block;height:8px;border-radius:999px;background:rgba(255,255,255,.08)}
.xvm167-stackbars .inv{background:#60a5fa}.xvm167-stackbars .col{background:#22c55e}.xvm167-stackbars .exp{background:#fb7185}.xvm167-stackbars .net{background:#f59e0b}
.xvm167-month-row small{display:block;color:#a9bdd8;margin-top:8px;font-size:12px}
.xvm167-finance-body .xvm167-stock-head{margin-bottom:14px}
.xvm167-finance-body .xvm167-stock-head button,.xvm167-finance-body .xvm167-stock-table button{appearance:none;border:1px solid rgba(109,141,176,.42);background:rgba(22,38,67,.86);color:#eef6ff;border-radius:12px;padding:8px 12px;font-size:12px;font-weight:700;cursor:pointer}
.xvm167-finance-body .xvm167-stock-table{overflow:auto}
.xvm167-finance-body .xvm167-stock-table table{width:100%;border-collapse:collapse}
.xvm167-finance-body .xvm167-stock-table th,.xvm167-finance-body .xvm167-stock-table td{padding:12px 14px;border-bottom:1px solid rgba(103,135,170,.18);font-size:13px;color:#eff5ff;text-align:left}
.xvm167-finance-body .xvm167-stock-table thead th{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#a9bdd8}
.xvm167-finance-body .xvm167-stock-table td small{display:block;color:#9bb3cf;margin-top:4px}
.xvm167-body-svg{max-width:180px;height:350px;display:block;margin:0 auto}
.xvm167-body-pair>div{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-top:10px}
.xvm167-body-regions [data-region]{fill:rgba(198,210,224,.13);stroke:#cbd7e3;stroke-width:1.25;cursor:pointer;transition:fill .18s ease,stroke .18s ease,transform .18s ease}
.xvm167-body-regions [data-region]:hover{fill:rgba(34,197,94,.22);stroke:#7ee2a8}
.xvm167-body-outline path,.xvm167-body-detail path{fill:none;stroke:rgba(214,225,238,.72);stroke-width:1}
@media (max-width:1100px){.xvm167-fin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.xvm167-fin-split{grid-template-columns:1fr}}
@media (max-width:700px){.xvm167-fin-grid{grid-template-columns:1fr}}

/* XVM Squad 0.17.1 — native Finance Centre integration */
#xvm167-finance-suite,
#xvm163-finance-workspace,
#xvm166-finance-center,
#xvm16-finance-logistics {
  display:none !important;
}

.xvm171-finance-panel {
  margin: 16px 0 22px;
  padding: 18px;
  border: 1px solid rgba(99, 130, 166, .28);
  border-radius: 18px;
  background: rgba(15, 29, 52, .72);
  color: #eef6ff;
}
.xvm171-finance-panel[hidden] { display:none !important; }
.xvm171-finance-panel h2,
.xvm171-finance-panel h3,
.xvm171-finance-panel strong { color:#fff; }
.xvm171-finance-panel p { color:#aebfd3; }
.xvm171-loading,
.xvm171-error,
.xvm171-empty {
  padding: 28px;
  border: 1px dashed rgba(112, 145, 180, .34);
  border-radius: 14px;
  text-align:center;
  color:#b8c8da;
}
.xvm171-error { border-color:rgba(244,63,94,.45); color:#fecdd3; }
.xvm171-error button,
.xvm171-empty button { margin-top:12px; }

.xvm171-custom-active .xvm171-native-tab {
  background: rgba(17, 30, 54, .92) !important;
  border-color: rgba(93, 124, 160, .45) !important;
  color: #dce7f4 !important;
  box-shadow: none !important;
}
[data-xvm171="custom"].xvm171-active {
  border-color:#20c96b !important;
  background:#13b95b !important;
  color:#fff !important;
  box-shadow:0 8px 24px rgba(18,185,91,.18) !important;
}
.xvm171-native-hidden { display:none !important; }

.xvm171-panel-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}
.xvm171-panel-head span {
  display:block;
  margin-bottom:5px;
  color:#32d881;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.xvm171-panel-head h2 { margin:0; font-size:22px; }
.xvm171-panel-head p { max-width:760px; margin:5px 0 0; font-size:13px; line-height:1.55; }
.xvm171-panel-head button,
.xvm171-table button,
.xvm171-error button,
.xvm171-empty button {
  appearance:none;
  min-height:36px;
  padding:8px 11px;
  border:1px solid rgba(105,140,177,.45);
  border-radius:10px;
  background:#162642;
  color:#f5f9ff;
  font-size:12px;
  font-weight:750;
  cursor:pointer;
}
.xvm171-panel-head > button { border-color:#19bb60; background:#12b758; }
.xvm171-table button + button { margin-left:5px; }

.xvm171-summary-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:16px;
}
.xvm171-summary-grid article {
  min-width:0;
  padding:14px 15px;
  border:1px solid rgba(98,130,166,.28);
  border-radius:15px;
  background:rgba(21,38,67,.82);
}
.xvm171-summary-grid span {
  display:block;
  margin-bottom:7px;
  color:#a9bdd4;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.xvm171-summary-grid strong { font-size:22px; line-height:1.1; }

.xvm171-table {
  width:100%;
  overflow:auto;
  border:1px solid rgba(101,133,169,.26);
  border-radius:14px;
  background:rgba(10,22,42,.4);
  scrollbar-width:thin;
  scrollbar-color:#22c55e rgba(255,255,255,.07);
}
.xvm171-table table { width:100%; min-width:980px; border-collapse:collapse; }
.xvm171-table th,
.xvm171-table td {
  padding:11px 12px;
  border-bottom:1px solid rgba(100,132,168,.2);
  color:#eef6ff;
  font-size:12px;
  text-align:left;
  vertical-align:middle;
}
.xvm171-table th {
  background:rgba(25,42,72,.9);
  color:#b7cae0;
  font-size:10px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.xvm171-table td small { display:block; margin-top:3px; color:#91a8c2; }
.xvm171-table input[type="number"] {
  width:72px;
  min-height:34px;
  padding:6px 8px;
  border:1px solid rgba(105,140,177,.45);
  border-radius:8px;
  background:#0f1d34;
  color:#fff;
  font-size:12px;
}
.xvm171-subtitle { margin:22px 0 10px; font-size:17px; }
.xvm171-callout {
  display:flex;
  flex-direction:column;
  gap:5px;
  margin-bottom:15px;
  padding:14px 15px;
  border:1px solid rgba(34,197,94,.28);
  border-radius:13px;
  background:rgba(22,163,74,.08);
}
.xvm171-callout span { color:#b8c8da; font-size:12px; }
.xvm171-toggle { display:inline-flex; align-items:center; }
.xvm171-toggle input { width:16px; height:16px; accent-color:#16b95d; }
.xvm171-mini-input { width:70px !important; }

/* Light workspace support without affecting the approved dark sidebar. */
html:not([data-xvm-theme="dark"]) .xvm171-finance-panel {
  border-color:#d3deea;
  background:#fff;
  color:#0f172a;
  box-shadow:0 14px 36px rgba(15,23,42,.07);
}
html:not([data-xvm-theme="dark"]) .xvm171-finance-panel h2,
html:not([data-xvm-theme="dark"]) .xvm171-finance-panel h3,
html:not([data-xvm-theme="dark"]) .xvm171-finance-panel strong { color:#0f172a; }
html:not([data-xvm-theme="dark"]) .xvm171-finance-panel p { color:#64748b; }
html:not([data-xvm-theme="dark"]) .xvm171-summary-grid article,
html:not([data-xvm-theme="dark"]) .xvm171-table { border-color:#d9e3ee; background:#f8fafc; }
html:not([data-xvm-theme="dark"]) .xvm171-summary-grid span,
html:not([data-xvm-theme="dark"]) .xvm171-table td small { color:#64748b; }
html:not([data-xvm-theme="dark"]) .xvm171-table th { background:#eef3f8; color:#334155; }
html:not([data-xvm-theme="dark"]) .xvm171-table td { color:#172033; border-color:#dce5ef; }
html:not([data-xvm-theme="dark"]) .xvm171-table button,
html:not([data-xvm-theme="dark"]) .xvm171-error button,
html:not([data-xvm-theme="dark"]) .xvm171-empty button { border-color:#cbd8e6; background:#fff; color:#172033; }
html:not([data-xvm-theme="dark"]) .xvm171-panel-head > button { background:#14b85c; color:#fff; border-color:#14b85c; }
html:not([data-xvm-theme="dark"]) .xvm171-table input[type="number"] { border-color:#cbd8e6; background:#fff; color:#0f172a; }

/* Cleaner injury map and smaller medical form typography. */
.xvm171-body-svg {
  display:block;
  width:100%;
  max-width:170px;
  height:360px;
  margin:4px auto 0;
}
.xvm171-body-regions [data-region],
.xvm163-simple-body [data-region] {
  fill:rgba(202,215,229,.18);
  stroke:#c8d5e3;
  stroke-width:1.25;
  cursor:crosshair;
  transition:fill .16s ease,stroke .16s ease;
}
.xvm171-body-regions [data-region]:hover,
.xvm163-simple-body [data-region]:hover {
  fill:rgba(32,201,107,.25);
  stroke:#5fe3a0;
}
.xvm163-body-svg { width:min(100%,190px) !important; }
.xvm163-dialog { width:min(940px,95vw) !important; }
.xvm163-dialog h2 { font-size:19px !important; line-height:1.25; }
.xvm163-dialog header small { font-size:10px !important; }
.xvm163-dialog-body { padding:18px !important; }
.xvm163-form-grid { gap:11px !important; }
.xvm163-field { gap:5px !important; }
.xvm163-field > span { font-size:11px !important; font-weight:800 !important; }
.xvm163-field input,
.xvm163-field select,
.xvm163-field textarea {
  min-height:39px !important;
  padding:8px 10px !important;
  border-radius:9px !important;
  font-size:12px !important;
}
.xvm163-field textarea { min-height:78px !important; }
.xvm163-body-map { padding:14px !important; }
.xvm163-body-map h3 { font-size:16px !important; }
.xvm163-body-map p { font-size:12px !important; }
.xvm163-body-views article { padding:11px !important; }
.xvm163-dialog footer button { min-height:38px; font-size:12px !important; }

@media (max-width:1050px) {
  .xvm171-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:680px) {
  .xvm171-panel-head { flex-direction:column; }
  .xvm171-summary-grid { grid-template-columns:1fr; }
}

.xvm167-body-svg, .xvm163-body-svg { width:min(100%,280px); height:auto; display:block; margin:0 auto; overflow:visible; }
.xvm167-body-svg [data-region], .xvm163-body-svg [data-region] { vector-effect: non-scaling-stroke; }

/* 0.17.4 realistic injury body map */
.xvm174-body-svg{width:min(100%,290px)!important;height:auto!important;display:block;margin:0 auto;overflow:visible;}
.xvm174-body-svg image{pointer-events:none;}
.xvm174-body-svg .xvm174-body-regions [data-region]{fill:rgba(255,255,255,0.01)!important;stroke:transparent!important;stroke-width:1.2!important;cursor:crosshair;transition:fill .15s ease,stroke .15s ease,filter .15s ease;}
.xvm174-body-svg .xvm174-body-regions [data-region]:hover{fill:rgba(34,197,94,.18)!important;stroke:#4ade80!important;filter:drop-shadow(0 0 3px rgba(74,222,128,.28));}
html[data-xvm-theme="dark"] .xvm174-body-svg .xvm174-body-regions [data-region]{fill:rgba(255,255,255,0.01)!important;stroke:transparent!important;}
html[data-xvm-theme="dark"] .xvm174-body-svg .xvm174-body-regions [data-region]:hover{fill:rgba(74,222,128,.18)!important;stroke:#86efac!important;}

/* 0.17.5 aligned clickable injury overlay */
.xvm175-body-svg{width:min(100%,290px)!important;height:auto!important;display:block;margin:0 auto;overflow:visible;}
.xvm175-body-svg image{pointer-events:none;}
.xvm175-body-svg .xvm175-body-regions [data-region]{fill:rgba(255,255,255,.001)!important;stroke:transparent!important;stroke-width:1!important;cursor:crosshair;transition:fill .14s ease,stroke .14s ease,filter .14s ease;}
.xvm175-body-svg .xvm175-body-regions [data-region]:hover{fill:rgba(34,197,94,.20)!important;stroke:#4ade80!important;filter:drop-shadow(0 0 3px rgba(74,222,128,.35));}
html[data-xvm-theme="dark"] .xvm175-body-svg .xvm175-body-regions [data-region]{fill:rgba(255,255,255,.001)!important;stroke:transparent!important;}
html[data-xvm-theme="dark"] .xvm175-body-svg .xvm175-body-regions [data-region]:hover{fill:rgba(74,222,128,.20)!important;stroke:#86efac!important;}


/* 0.17.9 dedicated bicep selectors */
.xvm175-body-svg [data-region="left_bicep"],
.xvm175-body-svg [data-region="right_bicep"] {
  cursor: crosshair;
}


/* XVM Squad 0.18.3 — dark-mode contrast, compact controls and analytics graphs */
#teamhub-platform-root main .xvm183-compact-action,
#teamhub-platform-root main a.xvm183-compact-action {
  min-height:36px !important;
  padding:8px 12px !important;
  border-radius:11px !important;
  font-size:13px !important;
  line-height:1.15 !important;
  font-weight:700 !important;
  white-space:nowrap;
}
html[data-xvm-theme="dark"] #teamhub-platform-root main input,
html[data-xvm-theme="dark"] #teamhub-platform-root main select,
html[data-xvm-theme="dark"] #teamhub-platform-root main textarea,
html.dark #teamhub-platform-root main input,
html.dark #teamhub-platform-root main select,
html.dark #teamhub-platform-root main textarea {
  color:#f4f8ff !important;
  -webkit-text-fill-color:#f4f8ff !important;
  caret-color:#61e59a;
  opacity:1 !important;
}
html[data-xvm-theme="dark"] #teamhub-platform-root main input:disabled,
html[data-xvm-theme="dark"] #teamhub-platform-root main select:disabled,
html[data-xvm-theme="dark"] #teamhub-platform-root main textarea:disabled,
html.dark #teamhub-platform-root main input:disabled,
html.dark #teamhub-platform-root main select:disabled,
html.dark #teamhub-platform-root main textarea:disabled {
  color:#c7d5e7 !important;
  -webkit-text-fill-color:#c7d5e7 !important;
  background:#13223b !important;
  opacity:1 !important;
}
html[data-xvm-theme="dark"] #teamhub-platform-root main select option,
html.dark #teamhub-platform-root main select option {
  color:#f4f8ff !important;
  background:#101d33 !important;
}
html[data-xvm-theme="dark"] #teamhub-platform-root main button,
html[data-xvm-theme="dark"] #teamhub-platform-root main [role="button"],
html.dark #teamhub-platform-root main button,
html.dark #teamhub-platform-root main [role="button"] {
  color:#f4f8ff;
}
html[data-xvm-theme="dark"] #teamhub-platform-root main .xvm183-light-surface,
html.dark #teamhub-platform-root main .xvm183-light-surface {
  color:#0b1528 !important;
  -webkit-text-fill-color:#0b1528 !important;
  font-weight:750 !important;
}
html[data-xvm-theme="dark"] #teamhub-platform-root main .xvm183-dark-surface,
html.dark #teamhub-platform-root main .xvm183-dark-surface {
  color:#f5f9ff !important;
  -webkit-text-fill-color:#f5f9ff !important;
}
#teamhub-platform-root main .xvm183-status-positive {
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:24px;
  padding:4px 9px !important;
  border:1px solid #34d399 !important;
  border-radius:999px !important;
  background:#087a55 !important;
  color:#f0fdf4 !important;
  -webkit-text-fill-color:#f0fdf4 !important;
  font-size:11px !important;
  line-height:1 !important;
  font-weight:800 !important;
  box-shadow:none !important;
}
#teamhub-platform-root main .xvm183-status-negative {
  display:inline-flex !important;
  align-items:center;
  min-height:24px;
  padding:4px 9px !important;
  border:1px solid #fb7185 !important;
  border-radius:999px !important;
  background:#9f1239 !important;
  color:#fff1f2 !important;
  -webkit-text-fill-color:#fff1f2 !important;
  font-size:11px !important;
  font-weight:800 !important;
}
#teamhub-platform-root main .xvm183-record-count {
  display:inline-flex !important;
  min-height:22px;
  padding:3px 8px !important;
  border:1px solid #93c5fd !important;
  border-radius:999px !important;
  background:#1d4ed8 !important;
  color:#eff6ff !important;
  -webkit-text-fill-color:#eff6ff !important;
  font-size:11px !important;
  font-weight:800 !important;
}
html[data-xvm-theme="dark"] #teamhub-platform-root main .xvm183-academy-tab,
html.dark #teamhub-platform-root main .xvm183-academy-tab {
  color:#eaf2ff !important;
  -webkit-text-fill-color:#eaf2ff !important;
  background:#15243e !important;
  border-color:#304766 !important;
  font-size:13px !important;
  font-weight:700 !important;
}
html[data-xvm-theme="dark"] #teamhub-platform-root main .xvm183-academy-tab:hover,
html.dark #teamhub-platform-root main .xvm183-academy-tab:hover {
  background:#1d3152 !important;
  border-color:#4a6588 !important;
}
html[data-xvm-theme="dark"] #teamhub-platform-root main .xvm183-academy-tab[class*="bg-emerald"],
html[data-xvm-theme="dark"] #teamhub-platform-root main .xvm183-academy-tab[class*="bg-green"],
html.dark #teamhub-platform-root main .xvm183-academy-tab[class*="bg-emerald"],
html.dark #teamhub-platform-root main .xvm183-academy-tab[class*="bg-green"] {
  background:#14ad58 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
.xvm183-analytics-card { position:relative; }
.xvm183-analytics-heading { position:relative; padding-right:78px !important; }
.xvm183-chart-toggle {
  position:absolute;
  top:0;
  right:0;
  min-height:30px !important;
  padding:5px 10px !important;
  border:1px solid #3b5677 !important;
  border-radius:999px !important;
  background:#13233d !important;
  color:#eaf2ff !important;
  -webkit-text-fill-color:#eaf2ff !important;
  font-size:11px !important;
  font-weight:800 !important;
  letter-spacing:.02em;
}
.xvm183-analytics-row {
  min-height:48px !important;
  font-size:13px !important;
  color:#f1f6ff !important;
  -webkit-text-fill-color:#f1f6ff !important;
}
.xvm183-analytics-row * {
  color:inherit !important;
  -webkit-text-fill-color:inherit !important;
  font-size:inherit !important;
}
.xvm183-analytics-chart { display:none; margin-top:16px; gap:13px; }
.xvm183-chart-mode .xvm183-analytics-row { display:none !important; }
.xvm183-chart-mode .xvm183-analytics-chart { display:grid; }
.xvm183-chart-row > div:first-child {
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:6px;
  color:#eaf2ff;
  font-size:12px;
}
.xvm183-chart-row > div:first-child span { color:#7ee2a8; font-weight:800; }
.xvm183-chart-track {
  height:11px;
  overflow:hidden;
  border:1px solid rgba(128,157,190,.24);
  border-radius:999px;
  background:#0b172b;
}
.xvm183-chart-track i {
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#17b85c,#55dc8b);
}
html:not([data-xvm-theme="dark"]) .xvm183-chart-toggle {
  border-color:#c8d6e5 !important;
  background:#f5f8fc !important;
  color:#17243a !important;
  -webkit-text-fill-color:#17243a !important;
}
html:not([data-xvm-theme="dark"]) .xvm183-analytics-row,
html:not([data-xvm-theme="dark"]) .xvm183-chart-row > div:first-child { color:#142036 !important; -webkit-text-fill-color:#142036 !important; }
html:not([data-xvm-theme="dark"]) .xvm183-chart-track { background:#e7eef6; border-color:#d2deea; }
/* Remove the legacy generic upper-arm overlay; the dedicated bicep selector remains. */
.xvm175-body-regions [data-region="left_upper_arm"],
.xvm175-body-regions [data-region="right_upper_arm"],
.xvm163-simple-body [data-region="left_upper_arm"],
.xvm163-simple-body [data-region="right_upper_arm"] { display:none !important; pointer-events:none !important; }


/* XVM Squad 0.18.4 — interface consistency polish */
#teamhub-platform-root main .xvm184-dashboard-stat-card{min-height:108px}
#teamhub-platform-root main .xvm184-stat-label{display:block!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--muted-foreground)!important;-webkit-text-fill-color:var(--muted-foreground)!important;font-size:13px!important;line-height:1.25!important;font-weight:700!important}
#teamhub-platform-root main .xvm184-stat-icon{display:grid!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;place-items:center!important;border-radius:16px!important}
html[data-xvm-theme="dark"] #teamhub-platform-root main .xvm184-stat-icon.bg-slate-100,html.dark #teamhub-platform-root main .xvm184-stat-icon.bg-slate-100{background:#24344d!important;color:#dbe8f7!important;-webkit-text-fill-color:#dbe8f7!important}
#teamhub-platform-root main .xvm184-stat-icon svg{display:block;color:inherit!important;stroke:currentColor!important}
html[data-xvm-theme="dark"] #teamhub-platform-root main .bg-slate-100.text-slate-700,html.dark #teamhub-platform-root main .bg-slate-100.text-slate-700,html[data-xvm-theme="dark"] #teamhub-platform-root main .xvm184-chip-info,html.dark #teamhub-platform-root main .xvm184-chip-info{background:#1e3a5f!important;color:#dbeafe!important;-webkit-text-fill-color:#dbeafe!important;border-color:#3b82f6!important}
html[data-xvm-theme="dark"] #teamhub-platform-root main .bg-amber-100.text-amber-800,html[data-xvm-theme="dark"] #teamhub-platform-root main .bg-amber-100.text-amber-700,html.dark #teamhub-platform-root main .bg-amber-100.text-amber-800,html.dark #teamhub-platform-root main .bg-amber-100.text-amber-700,html[data-xvm-theme="dark"] #teamhub-platform-root main .xvm184-chip-warning,html.dark #teamhub-platform-root main .xvm184-chip-warning{background:#5b4310!important;color:#fde68a!important;-webkit-text-fill-color:#fde68a!important;border-color:#d39b24!important}
html[data-xvm-theme="dark"] #teamhub-platform-root main .bg-blue-100.text-blue-800,html[data-xvm-theme="dark"] #teamhub-platform-root main .bg-blue-100.text-blue-700,html.dark #teamhub-platform-root main .bg-blue-100.text-blue-800,html.dark #teamhub-platform-root main .bg-blue-100.text-blue-700{background:#173963!important;color:#dbeafe!important;-webkit-text-fill-color:#dbeafe!important}
html[data-xvm-theme="dark"] #teamhub-platform-root main .bg-emerald-100.text-emerald-800,html[data-xvm-theme="dark"] #teamhub-platform-root main .bg-emerald-100.text-emerald-700,html.dark #teamhub-platform-root main .bg-emerald-100.text-emerald-800,html.dark #teamhub-platform-root main .bg-emerald-100.text-emerald-700,html[data-xvm-theme="dark"] #teamhub-platform-root main .xvm184-chip-age,html.dark #teamhub-platform-root main .xvm184-chip-age{background:#0f5137!important;color:#bbf7d0!important;-webkit-text-fill-color:#bbf7d0!important;border-color:#22c55e!important}
html[data-xvm-theme="dark"] #teamhub-platform-root main .bg-rose-100.text-rose-800,html[data-xvm-theme="dark"] #teamhub-platform-root main .bg-rose-100.text-rose-700,html.dark #teamhub-platform-root main .bg-rose-100.text-rose-800,html.dark #teamhub-platform-root main .bg-rose-100.text-rose-700{background:#5f1f36!important;color:#fecdd3!important;-webkit-text-fill-color:#fecdd3!important}
#teamhub-platform-root main .xvm184-academy-tabs{overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:8px!important;scrollbar-width:thin;scrollbar-color:#20c96b rgba(255,255,255,.08)}
#teamhub-platform-root main .xvm184-academy-tabs::-webkit-scrollbar{height:7px}#teamhub-platform-root main .xvm184-academy-tabs::-webkit-scrollbar-thumb{background:#20c96b;border-radius:999px}#teamhub-platform-root main .xvm184-academy-tabs button{flex:0 0 auto!important}
html[data-xvm-theme="dark"] #teamhub-platform-root main .xvm184-academy-selected,html.dark #teamhub-platform-root main .xvm184-academy-selected,#teamhub-platform-root main .xvm184-academy-selected{background:#14ad58!important;border-color:#20c96b!important;color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:0 8px 20px rgba(20,173,88,.18)!important}
#teamhub-platform-root main .xvm184-finance-tabs{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;padding:2px 0 9px!important;scrollbar-width:thin;scrollbar-color:#20c96b rgba(255,255,255,.07)}
#teamhub-platform-root main .xvm184-finance-tabs::-webkit-scrollbar{height:7px}#teamhub-platform-root main .xvm184-finance-tabs::-webkit-scrollbar-track{background:rgba(255,255,255,.05);border-radius:999px}#teamhub-platform-root main .xvm184-finance-tabs::-webkit-scrollbar-thumb{background:#20c96b;border-radius:999px}
#teamhub-platform-root main .xvm184-finance-tabs>button,#teamhub-platform-root main .xvm184-finance-tabs>a{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;gap:7px!important;min-height:36px!important;padding:8px 11px!important;border-radius:11px!important;font-size:12px!important;line-height:1!important;font-weight:700!important;white-space:nowrap!important}
#teamhub-platform-root main .xvm184-finance-tabs svg{width:15px!important;height:15px!important;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#teamhub-platform-root main .xvm183-analytics-chart{padding:12px!important;border:1px solid rgba(104,136,172,.22);border-radius:14px;background:rgba(9,20,38,.34);gap:11px!important}
#teamhub-platform-root main .xvm184-chart-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid rgba(104,136,172,.22);border-radius:11px;background:rgba(24,42,72,.62);color:#a9bdd4;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
#teamhub-platform-root main .xvm184-chart-summary strong{color:#fff;font-size:15px}#teamhub-platform-root main .xvm183-chart-row{padding:2px 0}#teamhub-platform-root main .xvm183-chart-track{height:9px!important}
#teamhub-platform-root main .xvm184-chart-present .xvm183-chart-track i{background:#22c55e!important}#teamhub-platform-root main .xvm184-chart-late .xvm183-chart-track i{background:#f59e0b!important}#teamhub-platform-root main .xvm184-chart-excused .xvm183-chart-track i{background:#3b82f6!important}#teamhub-platform-root main .xvm184-chart-sick .xvm183-chart-track i{background:#a855f7!important}#teamhub-platform-root main .xvm184-chart-absent .xvm183-chart-track i{background:#f43f5e!important}#teamhub-platform-root main .xvm184-chart-unknown .xvm183-chart-track i{background:#64748b!important}
#teamhub-platform-root main .xvm184-chart-series-0 .xvm183-chart-track i{background:#22c55e!important}#teamhub-platform-root main .xvm184-chart-series-1 .xvm183-chart-track i{background:#3b82f6!important}#teamhub-platform-root main .xvm184-chart-series-2 .xvm183-chart-track i{background:#f59e0b!important}#teamhub-platform-root main .xvm184-chart-series-3 .xvm183-chart-track i{background:#a855f7!important}#teamhub-platform-root main .xvm184-chart-series-4 .xvm183-chart-track i{background:#f43f5e!important}#teamhub-platform-root main .xvm184-chart-series-5 .xvm183-chart-track i{background:#14b8a6!important}
#teamhub-platform-root main .xvm183-analytics-row{min-height:42px!important;padding:9px 12px!important;border-radius:11px!important}
#teamhub-platform-root main.xvm184-calendar-page{font-size:12px}#teamhub-platform-root main.xvm184-calendar-page h1{font-size:23px!important;line-height:1.15!important}#teamhub-platform-root main.xvm184-calendar-page p{font-size:11px!important;line-height:1.4!important}
#teamhub-platform-root main.xvm184-calendar-page button,#teamhub-platform-root main.xvm184-calendar-page input,#teamhub-platform-root main.xvm184-calendar-page select{min-height:34px!important;padding:7px 10px!important;border-radius:9px!important;font-size:11px!important}
#teamhub-platform-root main.xvm184-calendar-page table{table-layout:fixed}#teamhub-platform-root main.xvm184-calendar-page table th{height:28px!important;padding:5px 6px!important;font-size:9px!important;letter-spacing:.06em}#teamhub-platform-root main.xvm184-calendar-page table td{height:76px!important;min-height:76px!important;padding:5px!important;vertical-align:top!important}
#teamhub-platform-root main.xvm184-calendar-page table td button,#teamhub-platform-root main.xvm184-calendar-page table td [role="button"]{min-height:0!important;padding:4px 6px!important;border-radius:7px!important;font-size:10px!important;line-height:1.2!important}
@media(max-width:900px){#teamhub-platform-root main.xvm184-calendar-page table{min-width:980px}}

/* XVM Squad 0.18.5 — academy tabs, calendar refinement, stock action and advanced video analysis */
#teamhub-platform-root main .xvm184-academy-tabs > button {
  box-sizing:border-box !important;
  height:46px !important;
  min-height:46px !important;
  max-height:46px !important;
  padding:0 16px !important;
  border-width:1px !important;
  border-radius:14px !important;
  transform:none !important;
  font-size:13px !important;
  line-height:1 !important;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease !important;
}
#teamhub-platform-root main .xvm184-academy-tabs > button:hover,
#teamhub-platform-root main .xvm184-academy-tabs > button:active,
#teamhub-platform-root main .xvm184-academy-tabs > button:focus {
  transform:none !important;
  height:46px !important;
  min-height:46px !important;
  padding:0 16px !important;
}
#teamhub-platform-root main .xvm184-academy-tabs > button.xvm184-academy-selected {
  height:46px !important;
  min-height:46px !important;
  max-height:46px !important;
  padding:0 16px !important;
}
#teamhub-platform-root main.xvm184-calendar-page .xvm184-calendar-shell {
  overflow:hidden;
  padding:12px !important;
  border:1px solid #314865 !important;
  border-radius:22px !important;
  background:#0d192d !important;
  box-shadow:0 16px 38px rgba(2,8,23,.16);
}
#teamhub-platform-root main.xvm184-calendar-page table {
  border-collapse:separate !important;
  border-spacing:4px !important;
  background:transparent !important;
}
#teamhub-platform-root main.xvm184-calendar-page table th {
  border:1px solid #334b69 !important;
  border-radius:9px !important;
  background:#16263f !important;
  color:#dce9f8 !important;
  -webkit-text-fill-color:#dce9f8 !important;
}
#teamhub-platform-root main.xvm184-calendar-page table td {
  border:1px solid #2e435e !important;
  border-radius:10px !important;
  background:#111f35 !important;
  color:#e8f1fb !important;
  -webkit-text-fill-color:#e8f1fb !important;
}
#teamhub-platform-root main.xvm184-calendar-page table td > div:first-child,
#teamhub-platform-root main.xvm184-calendar-page table td > span:first-child,
#teamhub-platform-root main.xvm184-calendar-page table td time,
#teamhub-platform-root main.xvm184-calendar-page table td [class*="text-slate"],
#teamhub-platform-root main.xvm184-calendar-page table td [class*="text-muted"] {
  color:#e8f1fb !important;
  -webkit-text-fill-color:#e8f1fb !important;
  opacity:1 !important;
  font-weight:750 !important;
}
#teamhub-platform-root main.xvm184-calendar-page table td:hover {
  border-color:#4a6789 !important;
  background:#152640 !important;
}
html:not([data-xvm-theme="dark"]) #teamhub-platform-root main.xvm184-calendar-page .xvm184-calendar-shell {
  border-color:#d6e1ec !important;
  background:#f8fafc !important;
}
html:not([data-xvm-theme="dark"]) #teamhub-platform-root main.xvm184-calendar-page table th {
  border-color:#d5e0eb !important;
  background:#eef3f8 !important;
  color:#21324a !important;
  -webkit-text-fill-color:#21324a !important;
}
html:not([data-xvm-theme="dark"]) #teamhub-platform-root main.xvm184-calendar-page table td {
  border-color:#d6e1ec !important;
  background:#fff !important;
  color:#1c2d45 !important;
  -webkit-text-fill-color:#1c2d45 !important;
}
#teamhub-platform-root main .xvm167-stock-head > button,
#teamhub-platform-root main [data-add-stock] {
  min-height:34px !important;
  padding:7px 11px !important;
  border-radius:10px !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:750 !important;
}

/* Advanced Video Analysis */
#teamhub-platform-root main .xvm185-native-video[hidden] { display:none !important; }
.xvm185-video-workspace {
  display:grid;
  gap:16px;
  color:#edf5ff;
}
.xvm185-video-header {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding:22px 24px;
  border:1px solid #2d4664;
  border-radius:22px;
  background:linear-gradient(135deg,#0e1a30 0%,#0c2730 100%);
  box-shadow:0 20px 48px rgba(2,8,23,.18);
}
.xvm185-video-header > div:first-child > span {
  color:#43d782;
  font-size:10px;
  font-weight:900;
  letter-spacing:.13em;
}
.xvm185-video-header h1 {
  margin:5px 0 4px;
  color:#fff;
  font-size:28px;
  line-height:1.1;
}
.xvm185-video-header p { margin:0; color:#aebed1; font-size:13px; }
.xvm185-video-header > div:last-child { display:flex; gap:9px; }
.xvm185-video-header button,
.xvm185-review-head button,
.xvm185-player-tools button,
.xvm185-player-tools select,
.xvm185-quick-markers button {
  min-height:36px;
  padding:8px 12px;
  border:1px solid #3b5677;
  border-radius:11px;
  background:#15243d;
  color:#edf5ff;
  font-size:12px;
  font-weight:750;
  cursor:pointer;
}
.xvm185-video-header button.primary { border-color:#19b95e; background:#18b85d; color:#fff; }
.xvm185-video-stats {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.xvm185-video-stats article {
  padding:15px 17px;
  border:1px solid #2f4662;
  border-radius:16px;
  background:#12213a;
}
.xvm185-video-stats span { display:block; color:#9fb1c8; font-size:11px; font-weight:750; text-transform:uppercase; letter-spacing:.06em; }
.xvm185-video-stats strong { display:block; margin-top:6px; color:#fff; font-size:25px; }
.xvm185-video-shell {
  display:grid;
  grid-template-columns:minmax(260px,340px) minmax(0,1fr);
  gap:16px;
}
.xvm185-video-shell > aside,
.xvm185-video-shell > main {
  min-width:0;
  border:1px solid #2f4662;
  border-radius:20px;
  background:#101d33;
}
.xvm185-video-shell > aside { padding:14px; }
.xvm185-video-shell > main { padding:18px; }
.xvm185-video-filters { display:grid; gap:9px; margin-bottom:12px; }
.xvm185-video-filters input,
.xvm185-video-filters select,
.xvm185-marker-panel select {
  min-height:38px;
  padding:8px 11px;
  border:1px solid #36506f;
  border-radius:11px;
  background:#0d192d;
  color:#eaf2fc;
  font-size:12px;
}
.xvm185-video-library {
  display:grid;
  gap:9px;
  max-height:690px;
  overflow:auto;
  padding-right:5px;
  scrollbar-width:thin;
  scrollbar-color:#23c86b #0d192d;
}
.xvm185-video-library::-webkit-scrollbar { width:7px; }
.xvm185-video-library::-webkit-scrollbar-thumb { border-radius:999px; background:#23c86b; }
.xvm185-video-card {
  display:grid;
  gap:8px;
  width:100%;
  padding:13px;
  border:1px solid #2f4662;
  border-radius:14px;
  background:#13223b;
  color:#eef5ff;
  text-align:left;
  cursor:pointer;
}
.xvm185-video-card:hover { border-color:#4d6d93; background:#172944; }
.xvm185-video-card.active { border-color:#25cf70; background:rgba(24,184,93,.12); box-shadow:inset 0 0 0 1px rgba(37,207,112,.22); }
.xvm185-video-card > div { display:flex; justify-content:space-between; gap:12px; }
.xvm185-video-card strong { display:block; color:#fff; font-size:13px; }
.xvm185-video-card span { display:block; margin-top:3px; color:#9fb1c8; font-size:11px; }
.xvm185-video-card em { justify-self:start; padding:3px 7px; border-radius:999px; background:#163b56; color:#bfe7ff; font-size:10px; font-style:normal; font-weight:800; }
.xvm185-video-card small { color:#c5d2e2; font-size:11px; }
.xvm185-review-head { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:14px; }
.xvm185-review-head > div:first-child > span { color:#45d985; font-size:10px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.xvm185-review-head h2 { margin:4px 0 2px; color:#fff; font-size:23px; }
.xvm185-review-head p { margin:0; color:#9fb1c8; font-size:12px; }
.xvm185-review-head > div:last-child { display:flex; flex-wrap:wrap; gap:8px; }
.xvm185-review-head button.danger { border-color:#9f2944; background:#651b31; color:#ffe8ed; }
.xvm185-player-wrap video { display:block; width:100%; aspect-ratio:16/9; border-radius:16px; background:#000; }
.xvm185-player-tools { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.xvm185-player-tools select { min-width:84px; }
.xvm185-timeline { margin:18px 0 3px; }
.xvm185-timeline-track { position:relative; height:12px; border:1px solid #324b69; border-radius:999px; background:#071326; }
.xvm185-timeline-track button { position:absolute; top:50%; width:14px; height:14px; margin:-7px 0 0 -7px; padding:0; border:2px solid #fff; border-radius:999px; background:#60a5fa; cursor:pointer; }
.xvm185-timeline-scale { display:flex; justify-content:space-between; margin-top:5px; color:#8296af; font-size:10px; }
.xvm185-quick-markers { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:18px 0; padding:14px 15px; border:1px solid #2f4662; border-radius:16px; background:#13223b; }
.xvm185-quick-markers h3 { margin:0; color:#fff; font-size:15px; }
.xvm185-quick-markers p { margin:3px 0 0; color:#98abc2; font-size:11px; }
.xvm185-quick-markers > div:last-child { display:flex; flex-wrap:wrap; gap:7px; justify-content:flex-end; }
.xvm185-analysis-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(230px,.65fr); gap:14px; }
.xvm185-marker-panel,
.xvm185-marker-summary { border:1px solid #2f4662; border-radius:16px; background:#111f36; padding:14px; }
.xvm185-marker-panel > header { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:11px; }
.xvm185-marker-panel h3,
.xvm185-marker-summary h3 { margin:0; color:#fff; font-size:16px; }
.xvm185-marker-panel p { margin:3px 0 0; color:#94a8c0; font-size:11px; }
.xvm185-marker-list { display:grid; gap:8px; max-height:470px; overflow:auto; padding-right:4px; scrollbar-width:thin; scrollbar-color:#23c86b #0d192d; }
.xvm185-marker-row { display:flex; align-items:stretch; justify-content:space-between; gap:8px; border:1px solid #304763; border-radius:13px; background:#14243e; }
.xvm185-marker-row > button { display:flex; flex:1; align-items:center; gap:11px; padding:10px; border:0; background:transparent; color:#edf5ff; text-align:left; cursor:pointer; }
.xvm185-marker-row time { display:grid; min-width:56px; min-height:37px; place-items:center; border-radius:9px; background:#081428; color:#fff; font-size:10px; font-weight:850; }
.xvm185-marker-row strong { display:block; color:#fff; font-size:12px; }
.xvm185-marker-row span { display:block; margin-top:2px; color:#7ee2a8; font-size:10px; font-weight:750; }
.xvm185-marker-row small { display:block; max-width:460px; margin-top:3px; overflow:hidden; color:#9fb1c8; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.xvm185-marker-row > div { display:flex; align-items:center; gap:4px; padding-right:8px; }
.xvm185-marker-row > div button { width:29px; height:29px; padding:0; border:1px solid #405a79; border-radius:8px; background:#1a2c49; color:#fff; cursor:pointer; }
.xvm185-marker-summary > div { margin-top:13px; }
.xvm185-marker-summary > div > span { color:#dce8f7; font-size:11px; }
.xvm185-marker-summary > div > strong { float:right; color:#7ee2a8; font-size:11px; }
.xvm185-marker-summary i { display:block; height:8px; margin-top:6px; overflow:hidden; border-radius:999px; background:#071326; }
.xvm185-marker-summary i b { display:block; height:100%; border-radius:999px; background:#60a5fa; }
.xvm185-marker-summary p { color:#9fb1c8; font-size:12px; line-height:1.5; }
.xvm185-video-empty { display:grid; gap:5px; padding:18px; border:1px dashed #3b5677; border-radius:13px; color:#9fb1c8; text-align:center; }
.xvm185-video-empty strong { color:#fff; }
.xvm185-video-empty.large { min-height:480px; place-content:center; }
.xvm185-video-empty button { justify-self:center; margin-top:8px; min-height:36px; padding:8px 12px; border:0; border-radius:11px; background:#18b85d; color:#fff; font-weight:750; }
.xvm185-marker-empty { padding:22px; border:1px dashed #3b5677; border-radius:12px; color:#9fb1c8; text-align:center; font-size:12px; }
.xvm185-marker-goal,.xvm185-marker-summary .xvm185-marker-goal{background:#16a34a!important}.xvm185-marker-chance,.xvm185-marker-summary .xvm185-marker-chance{background:#f59e0b!important}.xvm185-marker-shot,.xvm185-marker-summary .xvm185-marker-shot{background:#3b82f6!important}.xvm185-marker-save,.xvm185-marker-summary .xvm185-marker-save{background:#06b6d4!important}.xvm185-marker-foul,.xvm185-marker-summary .xvm185-marker-foul{background:#ef4444!important}.xvm185-marker-turnover,.xvm185-marker-summary .xvm185-marker-turnover{background:#f97316!important}.xvm185-marker-pressing,.xvm185-marker-summary .xvm185-marker-pressing{background:#8b5cf6!important}.xvm185-marker-transition,.xvm185-marker-summary .xvm185-marker-transition{background:#14b8a6!important}.xvm185-marker-build_up,.xvm185-marker-summary .xvm185-marker-build_up{background:#6366f1!important}.xvm185-marker-set_piece,.xvm185-marker-summary .xvm185-marker-set_piece{background:#eab308!important}.xvm185-marker-defensive_action,.xvm185-marker-summary .xvm185-marker-defensive_action{background:#64748b!important}.xvm185-marker-note,.xvm185-marker-summary .xvm185-marker-note{background:#60a5fa!important}
html:not([data-xvm-theme="dark"]) .xvm185-video-workspace { color:#17243a; }
html:not([data-xvm-theme="dark"]) .xvm185-video-header { border-color:#d3dfeb; background:linear-gradient(135deg,#f8fbff,#eefaf4); }
html:not([data-xvm-theme="dark"]) .xvm185-video-header h1,
html:not([data-xvm-theme="dark"]) .xvm185-review-head h2,
html:not([data-xvm-theme="dark"]) .xvm185-marker-panel h3,
html:not([data-xvm-theme="dark"]) .xvm185-marker-summary h3,
html:not([data-xvm-theme="dark"]) .xvm185-video-empty strong { color:#142139; }
html:not([data-xvm-theme="dark"]) .xvm185-video-header p,
html:not([data-xvm-theme="dark"]) .xvm185-review-head p { color:#60738b; }
html:not([data-xvm-theme="dark"]) .xvm185-video-stats article,
html:not([data-xvm-theme="dark"]) .xvm185-video-shell > aside,
html:not([data-xvm-theme="dark"]) .xvm185-video-shell > main,
html:not([data-xvm-theme="dark"]) .xvm185-video-card,
html:not([data-xvm-theme="dark"]) .xvm185-quick-markers,
html:not([data-xvm-theme="dark"]) .xvm185-marker-panel,
html:not([data-xvm-theme="dark"]) .xvm185-marker-summary,
html:not([data-xvm-theme="dark"]) .xvm185-marker-row { border-color:#d5e0ec; background:#fff; }
html:not([data-xvm-theme="dark"]) .xvm185-video-card strong,
html:not([data-xvm-theme="dark"]) .xvm185-marker-row strong { color:#17243a; }
html:not([data-xvm-theme="dark"]) .xvm185-video-filters input,
html:not([data-xvm-theme="dark"]) .xvm185-video-filters select,
html:not([data-xvm-theme="dark"]) .xvm185-marker-panel select { border-color:#d0dce8; background:#f8fafc; color:#17243a; }
@media(max-width:1100px){.xvm185-video-shell{grid-template-columns:1fr}.xvm185-video-library{max-height:360px}.xvm185-analysis-grid{grid-template-columns:1fr}.xvm185-video-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.xvm185-video-header,.xvm185-review-head,.xvm185-quick-markers{flex-direction:column}.xvm185-video-header>div:last-child,.xvm185-review-head>div:last-child{width:100%}.xvm185-video-stats{grid-template-columns:1fr 1fr}.xvm185-video-shell>main{padding:12px}.xvm185-marker-panel>header{flex-direction:column}.xvm185-marker-panel select{width:100%}}


/* XVM Squad 0.18.6 — Teams, Calendar and Video Analysis quality pass */
#teamhub-platform-root main.xvm186-teams-page .xvm186-team-summary-card{border-color:#2f4663!important;background:linear-gradient(135deg,#12213a,#101c31)!important}
#teamhub-platform-root main.xvm186-teams-page .xvm186-team-summary-icon{display:grid!important;place-items:center!important;width:48px!important;height:48px!important;min-width:48px!important;border-radius:16px!important;background:#173963!important;color:#dbeafe!important;-webkit-text-fill-color:#dbeafe!important;border:1px solid #315b85!important}
#teamhub-platform-root main.xvm186-teams-page .xvm186-team-summary-icon svg{display:block!important;color:inherit!important;stroke:currentColor!important;opacity:1!important}
#teamhub-platform-root main .xvm186-team-category-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:10px 0!important;border-top:1px solid rgba(106,137,170,.18)!important}
#teamhub-platform-root main .xvm186-team-category-pill{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:28px!important;padding:5px 10px!important;border:1px solid #3b82f6!important;border-radius:999px!important;background:#173963!important;color:#dbeafe!important;-webkit-text-fill-color:#dbeafe!important;font-size:11px!important;line-height:1!important;font-weight:800!important;letter-spacing:.02em!important;text-transform:none!important}
#teamhub-platform-root main .xvm186-team-category-pill.female{border-color:#ec4899!important;background:#5b2046!important;color:#fce7f3!important;-webkit-text-fill-color:#fce7f3!important}
html:not([data-xvm-theme="dark"]) #teamhub-platform-root main.xvm186-teams-page .xvm186-team-summary-card{border-color:#d6e1ec!important;background:#fff!important}
html:not([data-xvm-theme="dark"]) #teamhub-platform-root main.xvm186-teams-page .xvm186-team-summary-icon{background:#eaf2ff!important;color:#2563eb!important;-webkit-text-fill-color:#2563eb!important;border-color:#bfdbfe!important}
#teamhub-platform-root main.xvm184-calendar-page .xvm186-calendar-shell{overflow:auto!important;padding:16px!important;border:1px solid #2c4564!important;border-radius:26px!important;background:linear-gradient(180deg,#0f1c31,#0b1729)!important;box-shadow:0 20px 48px rgba(2,8,23,.24)!important;scrollbar-width:thin;scrollbar-color:#22c55e rgba(255,255,255,.06)}
#teamhub-platform-root main.xvm184-calendar-page .xvm186-calendar-shell::-webkit-scrollbar{height:8px}#teamhub-platform-root main.xvm184-calendar-page .xvm186-calendar-shell::-webkit-scrollbar-thumb{background:#22c55e;border-radius:999px}
#teamhub-platform-root main.xvm184-calendar-page .xvm186-calendar-table{min-width:980px!important;border-collapse:separate!important;border-spacing:7px!important;background:transparent!important}
#teamhub-platform-root main.xvm184-calendar-page .xvm186-calendar-weekday{height:34px!important;padding:7px 8px!important;border:0!important;border-radius:12px!important;background:#1a2c48!important;color:#cfe0f4!important;-webkit-text-fill-color:#cfe0f4!important;font-size:10px!important;font-weight:850!important;letter-spacing:.08em!important;text-transform:uppercase!important}
#teamhub-platform-root main.xvm184-calendar-page .xvm186-calendar-cell{position:relative!important;height:92px!important;min-height:92px!important;padding:9px!important;border:1px solid #2d4462!important;border-radius:16px!important;background:linear-gradient(145deg,#13223a,#101c31)!important;color:#eaf3fd!important;-webkit-text-fill-color:#eaf3fd!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;transition:border-color .15s ease,background-color .15s ease,transform .15s ease!important}
#teamhub-platform-root main.xvm184-calendar-page .xvm186-calendar-cell:hover{border-color:#496c93!important;background:linear-gradient(145deg,#172a46,#13223a)!important;transform:translateY(-1px)!important}
#teamhub-platform-root main.xvm184-calendar-page .xvm186-calendar-date{display:inline-grid!important;min-width:23px!important;height:23px!important;place-items:center!important;border-radius:8px!important;color:#f8fbff!important;-webkit-text-fill-color:#f8fbff!important;font-size:11px!important;font-weight:900!important;line-height:1!important;opacity:1!important}
#teamhub-platform-root main.xvm184-calendar-page .xvm186-calendar-event{width:100%!important;min-height:25px!important;margin-top:5px!important;padding:5px 7px!important;border:0!important;border-radius:9px!important;box-shadow:0 5px 12px rgba(2,8,23,.12)!important;font-size:10px!important;line-height:1.25!important;font-weight:800!important;text-align:left!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#teamhub-platform-root main.xvm184-calendar-page .xvm186-calendar-heading{color:#f8fbff!important;-webkit-text-fill-color:#f8fbff!important;font-size:16px!important;font-weight:850!important}
html:not([data-xvm-theme="dark"]) #teamhub-platform-root main.xvm184-calendar-page .xvm186-calendar-shell{border-color:#d7e2ed!important;background:#f5f8fb!important;box-shadow:0 18px 42px rgba(31,51,75,.09)!important}
html:not([data-xvm-theme="dark"]) #teamhub-platform-root main.xvm184-calendar-page .xvm186-calendar-weekday{background:#eaf0f6!important;color:#2b3d55!important;-webkit-text-fill-color:#2b3d55!important}
html:not([data-xvm-theme="dark"]) #teamhub-platform-root main.xvm184-calendar-page .xvm186-calendar-cell{border-color:#d8e3ee!important;background:linear-gradient(145deg,#fff,#f8fafc)!important;color:#1e293b!important;-webkit-text-fill-color:#1e293b!important}
html:not([data-xvm-theme="dark"]) #teamhub-platform-root main.xvm184-calendar-page .xvm186-calendar-date{color:#1e293b!important;-webkit-text-fill-color:#1e293b!important}
.xvm185-video-workspace{gap:18px!important;color:#eff6ff!important}.xvm185-video-header{padding:24px 26px!important;border-color:#35516f!important;background:radial-gradient(circle at 85% 0%,rgba(34,197,94,.14),transparent 34%),linear-gradient(135deg,#101e36,#0b2630)!important}.xvm185-video-header h1{font-size:27px!important}.xvm185-video-header p{max-width:720px!important;color:#b7c7d9!important;font-size:12.5px!important;line-height:1.5!important}
.xvm186-video-steps{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}.xvm186-video-steps>div{display:flex!important;align-items:center!important;gap:10px!important;padding:12px 14px!important;border:1px solid #2e4867!important;border-radius:15px!important;background:#12213a!important}.xvm186-video-steps b{display:grid!important;width:30px!important;height:30px!important;min-width:30px!important;place-items:center!important;border-radius:10px!important;background:#173f34!important;color:#86efac!important;font-size:12px!important}.xvm186-video-steps span{display:grid!important;gap:2px!important}.xvm186-video-steps strong{color:#f8fbff!important;font-size:12px!important}.xvm186-video-steps small{color:#96abc3!important;font-size:10px!important}
.xvm185-video-stats{grid-template-columns:repeat(5,minmax(0,1fr))!important}.xvm185-video-stats article{border-color:#314b69!important;background:linear-gradient(145deg,#13233d,#101d33)!important}.xvm185-video-stats strong{font-size:23px!important}.xvm185-video-shell{grid-template-columns:minmax(280px,330px) minmax(0,1fr)!important;gap:18px!important}.xvm185-video-shell>aside,.xvm185-video-shell>main{border-color:#314b69!important;background:#0f1d33!important;box-shadow:0 18px 42px rgba(2,8,23,.14)!important}.xvm185-video-shell>aside{padding:15px!important}.xvm185-video-shell>main{padding:20px!important}
.xvm186-library-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:12px!important}.xvm186-library-head span{display:block!important;color:#4ade80!important;font-size:9px!important;font-weight:900!important;letter-spacing:.12em!important}.xvm186-library-head strong{display:block!important;margin-top:3px!important;color:#f8fbff!important;font-size:15px!important}.xvm186-library-head button{display:grid!important;width:34px!important;height:34px!important;place-items:center!important;border:1px solid #22c55e!important;border-radius:11px!important;background:#16a34a!important;color:#fff!important;font-size:18px!important;cursor:pointer!important}
.xvm185-video-filters input,.xvm185-video-filters select,.xvm185-marker-panel select{border-color:#3a5879!important;background:#0b1729!important;color:#f0f6ff!important;-webkit-text-fill-color:#f0f6ff!important}.xvm185-video-filters input::placeholder{color:#7f94ae!important}.xvm185-video-card{gap:7px!important;padding:13px 14px!important;border-color:#304a68!important;background:#13223a!important}.xvm185-video-card:hover{border-color:#54799f!important;background:#172a46!important}.xvm185-video-card.active{border-color:#2ed978!important;background:linear-gradient(145deg,rgba(28,178,92,.18),rgba(19,34,58,.96))!important;box-shadow:inset 3px 0 #2ed978!important}
.xvm186-video-card-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:8px!important}.xvm186-video-card-head strong{font-size:12.5px!important;line-height:1.35!important}.xvm186-video-team{color:#9fb4cc!important;font-size:10.5px!important}.xvm186-video-card-meta{display:flex!important;align-items:center!important;gap:7px!important}.xvm186-video-card-meta small{padding:3px 7px!important;border-radius:999px!important;background:#1e3554!important;color:#cfe0f4!important}.xvm186-video-status{display:inline-flex!important;align-items:center!important;min-height:25px!important;padding:4px 8px!important;border:1px solid #3b82f6!important;border-radius:999px!important;background:#173963!important;color:#dbeafe!important;-webkit-text-fill-color:#dbeafe!important;font-size:9px!important;font-weight:850!important;white-space:nowrap!important}.xvm186-video-status.reviewed{border-color:#22c55e!important;background:#0f5137!important;color:#dcfce7!important;-webkit-text-fill-color:#dcfce7!important}.xvm186-video-status.archived{border-color:#64748b!important;background:#263448!important;color:#e2e8f0!important;-webkit-text-fill-color:#e2e8f0!important}
.xvm185-review-head{padding-bottom:13px!important;border-bottom:1px solid rgba(109,140,175,.18)!important}.xvm185-review-head>div:last-child{align-items:center!important}.xvm185-review-head h2{font-size:21px!important}.xvm185-review-head button{min-height:33px!important;padding:7px 10px!important;font-size:11px!important}.xvm185-player-wrap{padding:12px!important;border:1px solid #2e4867!important;border-radius:18px!important;background:#091426!important}.xvm185-player-wrap video{border:1px solid #334f70!important;border-radius:14px!important;background:#020617!important}
.xvm186-player-tools{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:10px!important;border:1px solid #2d4562!important;border-radius:13px!important;background:#101f36!important}.xvm186-playback-group,.xvm186-clip-group{display:flex!important;flex-wrap:wrap!important;gap:6px!important}.xvm186-player-tools button,.xvm186-player-tools select{min-height:32px!important;padding:6px 9px!important;border-color:#3a5878!important;border-radius:9px!important;background:#172a46!important;color:#eef6ff!important;font-size:10.5px!important}.xvm186-player-tools button.active{border-color:#22c55e!important;background:#0f5137!important;color:#dcfce7!important}.xvm186-player-tools output{margin-left:auto!important;color:#b9cbe0!important;font-size:10px!important;font-variant-numeric:tabular-nums!important}.xvm186-clip-status{margin-top:8px!important;color:#8fa5bd!important;font-size:10px!important;text-align:right!important}
.xvm185-timeline-track{height:14px!important;border-color:#3c5878!important;background:#061124!important}.xvm185-timeline-track button{width:16px!important;height:16px!important;margin:-8px 0 0 -8px!important;border-width:2px!important;box-shadow:0 0 0 3px rgba(96,165,250,.14)!important}.xvm185-quick-markers{align-items:flex-start!important;padding:16px!important;border-color:#304a68!important;background:#11213a!important}.xvm185-quick-markers>div:last-child{display:grid!important;grid-template-columns:repeat(6,minmax(86px,1fr))!important;width:min(780px,100%)!important}.xvm185-quick-markers button{display:flex!important;align-items:center!important;gap:7px!important;justify-content:flex-start!important;min-height:36px!important;border-color:var(--marker-color,#3b82f6)!important;background:#14243d!important;color:#f8fbff!important;-webkit-text-fill-color:#f8fbff!important;box-shadow:inset 3px 0 var(--marker-color,#3b82f6)!important}.xvm185-quick-markers kbd{display:grid!important;width:19px!important;height:19px!important;place-items:center!important;border-radius:6px!important;background:rgba(255,255,255,.12)!important;color:#fff!important;font-size:9px!important}.xvm185-quick-markers button span{font-size:10.5px!important;font-weight:800!important}
.xvm186-shortcuts{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important;padding:10px 13px!important;border:1px solid #2e4663!important;border-radius:13px!important;background:#0d1a2f!important;color:#9fb3ca!important;font-size:10px!important}.xvm186-shortcuts strong{color:#e8f2fc!important}.xvm186-shortcuts span{display:inline-flex!important;align-items:center!important;gap:5px!important}.xvm186-shortcuts kbd{padding:3px 6px!important;border:1px solid #486582!important;border-radius:6px!important;background:#172a46!important;color:#fff!important;font-size:9px!important}
.xvm185-analysis-grid{grid-template-columns:minmax(0,1.6fr) minmax(250px,.6fr)!important}.xvm185-marker-panel,.xvm185-marker-summary{border-color:#304a68!important;background:#101f36!important}.xvm185-marker-list{gap:9px!important}.xvm185-marker-row{position:relative!important;overflow:hidden!important;border-color:#314b69!important;border-left:4px solid var(--marker-color,#60a5fa)!important;background:#14243d!important;color:#eef6ff!important}.xvm185-marker-row:before{content:"";position:absolute;inset:0 auto 0 0;width:70px;background:linear-gradient(90deg,rgba(96,165,250,.08),transparent);pointer-events:none}.xvm185-marker-row>button{position:relative!important;z-index:1!important}.xvm185-marker-row time{background:#071326!important}.xvm185-marker-row span{color:#9cc3ea!important}.xvm185-marker-row small{color:#a9bdd3!important}.xvm185-marker-row>div{position:relative!important;z-index:1!important}
.xvm186-summary-kpis{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:7px!important;margin:11px 0 14px!important}.xvm186-summary-kpis article{padding:9px!important;border:1px solid #2e4867!important;border-radius:10px!important;background:#14243d!important}.xvm186-summary-kpis span{display:block!important;color:#8fa6be!important;font-size:8.5px!important;text-transform:uppercase!important}.xvm186-summary-kpis strong{display:block!important;float:none!important;margin-top:4px!important;color:#f8fbff!important;font-size:15px!important}.xvm186-summary-row i b{background:var(--marker-color,#60a5fa)!important}
.xvm185-marker-goal{--marker-color:#22c55e!important}.xvm185-marker-chance{--marker-color:#f59e0b!important}.xvm185-marker-shot{--marker-color:#3b82f6!important}.xvm185-marker-save{--marker-color:#06b6d4!important}.xvm185-marker-foul{--marker-color:#ef4444!important}.xvm185-marker-turnover{--marker-color:#f97316!important}.xvm185-marker-pressing{--marker-color:#8b5cf6!important}.xvm185-marker-transition{--marker-color:#14b8a6!important}.xvm185-marker-build_up{--marker-color:#6366f1!important}.xvm185-marker-set_piece{--marker-color:#eab308!important}.xvm185-marker-defensive_action{--marker-color:#64748b!important}.xvm185-marker-note{--marker-color:#60a5fa!important}
.xvm185-marker-row.xvm185-marker-goal,.xvm185-marker-row.xvm185-marker-chance,.xvm185-marker-row.xvm185-marker-shot,.xvm185-marker-row.xvm185-marker-save,.xvm185-marker-row.xvm185-marker-foul,.xvm185-marker-row.xvm185-marker-turnover,.xvm185-marker-row.xvm185-marker-pressing,.xvm185-marker-row.xvm185-marker-transition,.xvm185-marker-row.xvm185-marker-build_up,.xvm185-marker-row.xvm185-marker-set_piece,.xvm185-marker-row.xvm185-marker-defensive_action,.xvm185-marker-row.xvm185-marker-note{background:#14243d!important;color:#eef6ff!important}.xvm185-timeline-track button.xvm185-marker-goal,.xvm185-timeline-track button.xvm185-marker-chance,.xvm185-timeline-track button.xvm185-marker-shot,.xvm185-timeline-track button.xvm185-marker-save,.xvm185-timeline-track button.xvm185-marker-foul,.xvm185-timeline-track button.xvm185-marker-turnover,.xvm185-timeline-track button.xvm185-marker-pressing,.xvm185-timeline-track button.xvm185-marker-transition,.xvm185-timeline-track button.xvm185-marker-build_up,.xvm185-timeline-track button.xvm185-marker-set_piece,.xvm185-timeline-track button.xvm185-marker-defensive_action,.xvm185-timeline-track button.xvm185-marker-note{background:var(--marker-color)!important}
.xvm186-empty-icon{display:grid!important;width:54px!important;height:54px!important;margin:0 auto 7px!important;place-items:center!important;border:1px solid #2f5d48!important;border-radius:18px!important;background:#103b2d!important;color:#86efac!important;font-size:21px!important}
html:not([data-xvm-theme="dark"]) .xvm186-video-steps>div,html:not([data-xvm-theme="dark"]) .xvm186-shortcuts,html:not([data-xvm-theme="dark"]) .xvm186-player-tools{border-color:#d5e0ec!important;background:#f8fafc!important}html:not([data-xvm-theme="dark"]) .xvm186-video-steps strong,html:not([data-xvm-theme="dark"]) .xvm186-library-head strong{color:#17243a!important}html:not([data-xvm-theme="dark"]) .xvm185-video-shell>aside,html:not([data-xvm-theme="dark"]) .xvm185-video-shell>main,html:not([data-xvm-theme="dark"]) .xvm185-player-wrap,html:not([data-xvm-theme="dark"]) .xvm185-marker-panel,html:not([data-xvm-theme="dark"]) .xvm185-marker-summary{border-color:#d5e0ec!important;background:#fff!important}html:not([data-xvm-theme="dark"]) .xvm185-marker-row,html:not([data-xvm-theme="dark"]) .xvm185-marker-row.xvm185-marker-goal,html:not([data-xvm-theme="dark"]) .xvm185-marker-row.xvm185-marker-chance,html:not([data-xvm-theme="dark"]) .xvm185-marker-row.xvm185-marker-shot,html:not([data-xvm-theme="dark"]) .xvm185-marker-row.xvm185-marker-save,html:not([data-xvm-theme="dark"]) .xvm185-marker-row.xvm185-marker-foul,html:not([data-xvm-theme="dark"]) .xvm185-marker-row.xvm185-marker-turnover,html:not([data-xvm-theme="dark"]) .xvm185-marker-row.xvm185-marker-pressing,html:not([data-xvm-theme="dark"]) .xvm185-marker-row.xvm185-marker-transition,html:not([data-xvm-theme="dark"]) .xvm185-marker-row.xvm185-marker-build_up,html:not([data-xvm-theme="dark"]) .xvm185-marker-row.xvm185-marker-set_piece,html:not([data-xvm-theme="dark"]) .xvm185-marker-row.xvm185-marker-defensive_action,html:not([data-xvm-theme="dark"]) .xvm185-marker-row.xvm185-marker-note{border-color:#d8e3ee!important;background:#fff!important;color:#17243a!important}
@media(max-width:1250px){.xvm185-video-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}.xvm185-quick-markers>div:last-child{grid-template-columns:repeat(4,minmax(86px,1fr))!important}.xvm186-player-tools{align-items:flex-start!important;flex-direction:column!important}.xvm186-player-tools output{margin-left:0!important}}
@media(max-width:900px){.xvm186-video-steps{grid-template-columns:repeat(2,minmax(0,1fr))!important}.xvm185-video-shell{grid-template-columns:1fr!important}.xvm185-video-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.xvm185-analysis-grid{grid-template-columns:1fr!important}.xvm185-quick-markers{flex-direction:column!important}.xvm185-quick-markers>div:last-child{width:100%!important}}
@media(max-width:620px){.xvm186-video-steps{grid-template-columns:1fr!important}.xvm185-video-stats{grid-template-columns:1fr 1fr!important}.xvm185-quick-markers>div:last-child{grid-template-columns:repeat(2,minmax(86px,1fr))!important}.xvm186-summary-kpis{grid-template-columns:1fr!important}}
.xvm186-summary-row.xvm185-marker-goal,.xvm186-summary-row.xvm185-marker-chance,.xvm186-summary-row.xvm185-marker-shot,.xvm186-summary-row.xvm185-marker-save,.xvm186-summary-row.xvm185-marker-foul,.xvm186-summary-row.xvm185-marker-turnover,.xvm186-summary-row.xvm185-marker-pressing,.xvm186-summary-row.xvm185-marker-transition,.xvm186-summary-row.xvm185-marker-build_up,.xvm186-summary-row.xvm185-marker-set_piece,.xvm186-summary-row.xvm185-marker-defensive_action,.xvm186-summary-row.xvm185-marker-note{background:transparent!important;color:inherit!important}

/* 0.18.8 Video Analysis marker renderer restoration */
.xvm185-marker-empty{display:grid;gap:5px;place-items:center}.xvm185-marker-empty strong{color:#f4f8ff;font-size:13px}.xvm185-marker-empty span{color:#9fb1c8;font-size:11px}.xvm185-marker-row em{display:block;margin-top:4px;color:#73d9a1;font-size:10px;font-style:normal;font-weight:700}.xvm185-marker-actions{display:flex;align-items:center;gap:4px;padding-right:8px}
html:not([data-xvm-theme="dark"]) .xvm185-marker-empty strong{color:#17243a}

/* XVM Squad 0.18.9 — simplified Video Analysis and mobile navigation */
.xvm189-video-mobile-nav{display:none}
.xvm189-library-actions{display:flex;align-items:center;gap:6px}
.xvm189-library-actions [data-video-library-close]{display:none}
.xvm189-review-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.xvm189-action-menu{position:relative}
.xvm189-action-menu summary,.xvm189-clip-tools summary,.xvm189-keyboard-help summary{list-style:none;cursor:pointer;user-select:none}
.xvm189-action-menu summary::-webkit-details-marker,.xvm189-clip-tools summary::-webkit-details-marker,.xvm189-keyboard-help summary::-webkit-details-marker{display:none}
.xvm189-action-menu summary{display:inline-flex;align-items:center;min-height:32px;padding:6px 11px;border:1px solid #3a5878;border-radius:10px;background:#172a46;color:#eef6ff;font-size:10.5px;font-weight:800}
.xvm189-action-menu[open] summary{border-color:#22c55e;background:#103b2d}
.xvm189-action-menu>div{position:absolute;z-index:20;top:calc(100% + 7px);right:0;display:grid;min-width:165px;gap:6px;padding:8px;border:1px solid #375372;border-radius:12px;background:#0e1d34;box-shadow:0 16px 42px rgba(2,8,23,.38)}
.xvm189-action-menu>div button{width:100%;justify-content:flex-start;min-height:34px;padding:7px 10px;border:1px solid #304c6c;border-radius:9px;background:#172a46;color:#eef6ff;font-size:10.5px;text-align:left}
.xvm189-action-menu>div button.danger{border-color:#8d3348;background:#4e1c2b;color:#ffe9ef}
.xvm189-clip-tools{margin-left:auto;position:relative}
.xvm189-clip-tools summary{display:inline-flex;align-items:center;min-height:32px;padding:6px 10px;border:1px solid #3a5878;border-radius:9px;background:#172a46;color:#eef6ff;font-size:10.5px;font-weight:750}
.xvm189-clip-tools[open] summary{border-color:#22c55e;background:#103b2d;color:#dcfce7}
.xvm189-clip-tools>div{position:absolute;z-index:15;right:0;top:calc(100% + 6px);display:flex;gap:6px;padding:8px;border:1px solid #375372;border-radius:12px;background:#0e1d34;box-shadow:0 14px 35px rgba(2,8,23,.34);white-space:nowrap}
.xvm189-keyboard-help{margin:10px 0 14px;border:1px solid #2e4663;border-radius:12px;background:#0d1a2f;color:#9fb3ca}
.xvm189-keyboard-help summary{padding:9px 12px;color:#dce8f7;font-size:10.5px;font-weight:750}
.xvm189-keyboard-help>div{display:flex;flex-wrap:wrap;gap:12px;padding:0 12px 10px;font-size:10px}
.xvm189-keyboard-help span{display:inline-flex;align-items:center;gap:5px}
.xvm189-keyboard-help kbd{padding:3px 6px;border:1px solid #486582;border-radius:6px;background:#172a46;color:#fff;font-size:9px}
.xvm189-detailed-marker{margin-top:9px!important;min-height:32px!important;padding:6px 10px!important;border:1px solid #3a5878!important;border-radius:10px!important;background:#172a46!important;color:#eef6ff!important;font-size:10px!important;font-weight:800!important}
.xvm185-video-header{padding:16px 18px!important}
.xvm185-video-header h1{font-size:24px!important}
.xvm185-video-header p{max-width:690px!important}
.xvm185-video-stats{margin:12px 0!important;gap:8px!important}
.xvm185-video-stats article{padding:10px 12px!important;border-radius:13px!important}
.xvm185-video-stats article strong{font-size:20px!important}
.xvm185-video-shell{gap:12px!important}
.xvm185-video-shell>aside{width:auto!important}
.xvm185-player-wrap{border-radius:18px!important}
.xvm185-player-tools.xvm186-player-tools{flex-wrap:nowrap!important;padding:8px!important}
.xvm186-playback-group{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.xvm185-quick-markers{display:grid!important;grid-template-columns:minmax(180px,.45fr) minmax(0,1.55fr)!important;align-items:center!important;gap:14px!important;padding:13px 14px!important}
.xvm185-quick-markers>div:last-child{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;width:100%!important;overflow-x:auto!important;padding:2px 2px 7px!important;scrollbar-width:thin!important;scrollbar-color:#22c55e #0d192d!important}
.xvm185-quick-markers>div:last-child::-webkit-scrollbar{height:6px}
.xvm185-quick-markers>div:last-child::-webkit-scrollbar-track{background:#0d192d;border-radius:999px}
.xvm185-quick-markers>div:last-child::-webkit-scrollbar-thumb{background:#22c55e;border-radius:999px}
.xvm185-quick-markers>div:last-child button{min-width:max-content!important;flex:0 0 auto!important}
html:not([data-xvm-theme="dark"]) .xvm189-action-menu summary,
html:not([data-xvm-theme="dark"]) .xvm189-clip-tools summary,
html:not([data-xvm-theme="dark"]) .xvm189-detailed-marker{border-color:#ccd9e6!important;background:#f8fafc!important;color:#17243a!important}
html:not([data-xvm-theme="dark"]) .xvm189-action-menu>div,
html:not([data-xvm-theme="dark"]) .xvm189-clip-tools>div,
html:not([data-xvm-theme="dark"]) .xvm189-keyboard-help{border-color:#d5e0ec;background:#fff;color:#53657b}

/* Mobile workspace navigation: desktop sidebar remains unchanged. */
#xvm189-mobile-bar,#xvm189-mobile-backdrop,#xvm189-mobile-close{display:none}
@media(max-width:900px){
  html.xvm189-menu-open,html.xvm189-menu-open body{overflow:hidden!important}
  #teamhub-platform-root.xvm189-mobile-ready>div{grid-template-columns:minmax(0,1fr)!important}
  #teamhub-platform-root.xvm189-mobile-ready aside{position:fixed!important;z-index:100020!important;inset:0 auto 0 0!important;width:min(86vw,330px)!important;max-width:330px!important;height:100dvh!important;transform:translateX(-105%)!important;transition:transform .22s ease!important;box-shadow:24px 0 70px rgba(2,8,23,.52)!important}
  #teamhub-platform-root.xvm189-mobile-ready.xvm189-menu-open aside{transform:translateX(0)!important}
  #xvm189-mobile-backdrop{position:fixed;z-index:100010;inset:0;display:block;border:0;background:rgba(2,8,23,.62);opacity:0;pointer-events:none;transition:opacity .2s ease}
  #teamhub-platform-root.xvm189-menu-open #xvm189-mobile-backdrop{opacity:1;pointer-events:auto}
  #xvm189-mobile-close{display:flex;align-items:center;justify-content:center;gap:7px;width:calc(100% - 20px);min-height:40px;margin:10px;padding:8px 12px;border:1px solid #294461;border-radius:12px;background:#0d1a30;color:#eef6ff;font-size:12px;font-weight:800}
  #xvm189-mobile-close span:first-child{font-size:20px;line-height:1}
  #xvm189-mobile-bar{position:fixed;z-index:99990;display:grid;grid-template-columns:repeat(5,1fr);left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));min-height:62px;padding:6px;border:1px solid #29425f;border-radius:18px;background:rgba(6,15,31,.96);box-shadow:0 16px 45px rgba(2,8,23,.48);backdrop-filter:blur(16px)}
  #xvm189-mobile-bar button{display:grid;place-items:center;align-content:center;gap:2px;min-width:0;padding:5px 2px;border:0;border-radius:12px;background:transparent;color:#9db0c7;font-size:17px}
  #xvm189-mobile-bar button small{font-size:8.5px;font-weight:750;white-space:nowrap}
  #xvm189-mobile-bar button.active{background:#0f5137;color:#dcfce7}
  #xvm189-mobile-bar button[data-mobile-more]{color:#dce8f7}
  #teamhub-platform-root main{padding-bottom:82px!important}

  .xvm189-video-mobile-nav{position:sticky;top:8px;z-index:30;display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:9px 0;padding:5px;border:1px solid #2c4664;border-radius:15px;background:rgba(10,23,43,.95);box-shadow:0 10px 30px rgba(2,8,23,.32);backdrop-filter:blur(12px)}
  .xvm189-video-mobile-nav button{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:36px;padding:6px 5px;border:0;border-radius:10px;background:transparent;color:#dce8f7;font-size:9.5px;font-weight:800;white-space:nowrap}
  .xvm189-video-mobile-nav button:first-child{background:#103b2d;color:#dcfce7}
  .xvm185-video-shell{display:block!important}
  .xvm185-video-shell>aside[data-video-library]{position:fixed!important;z-index:100040!important;inset:auto 8px calc(78px + env(safe-area-inset-bottom)) 8px!important;width:auto!important;max-height:72dvh!important;display:none!important;overflow:hidden!important;border-radius:20px!important;box-shadow:0 20px 65px rgba(2,8,23,.56)!important}
  .xvm185-video-shell.xvm189-library-open>aside[data-video-library]{display:block!important}
  .xvm185-video-library{max-height:calc(72dvh - 135px)!important;overflow:auto!important}
  .xvm189-library-actions [data-video-library-close]{display:grid!important;width:34px!important;height:34px!important;place-items:center!important;border:1px solid #526d8b!important;border-radius:11px!important;background:#172a46!important;color:#fff!important;font-size:19px!important}
  .xvm185-video-shell>main{width:100%!important;padding:10px!important}
  .xvm185-video-header{align-items:flex-start!important;padding:14px!important}
  .xvm185-video-header h1{font-size:21px!important}
  .xvm185-video-header>div:last-child{display:flex!important;width:100%!important;gap:7px!important}
  .xvm185-video-header>div:last-child button{flex:1!important;min-height:36px!important;font-size:10.5px!important}
  .xvm185-video-stats{display:flex!important;overflow-x:auto!important;padding-bottom:6px!important;scrollbar-width:thin!important;scrollbar-color:#22c55e #0d192d!important}
  .xvm185-video-stats article{min-width:115px!important;flex:0 0 115px!important}
  .xvm185-review-head{align-items:flex-start!important;gap:10px!important}
  .xvm189-review-actions{width:auto!important;justify-content:flex-start!important}
  .xvm189-action-menu>div{right:auto;left:0}
  .xvm185-player-tools.xvm186-player-tools{align-items:stretch!important;flex-direction:column!important}
  .xvm186-playback-group{display:grid!important;grid-template-columns:1.3fr repeat(2,.7fr) 1fr .55fr!important;width:100%!important}
  .xvm186-playback-group button,.xvm186-playback-group select{width:100%!important;min-width:0!important;padding:6px 4px!important;font-size:9.5px!important}
  .xvm185-player-tools output{order:2!important;margin:0!important;text-align:center!important}
  .xvm189-clip-tools{order:3!important;margin:0!important}
  .xvm189-clip-tools summary{justify-content:center!important;width:100%!important}
  .xvm189-clip-tools>div{position:static!important;display:grid!important;grid-template-columns:repeat(4,1fr)!important;margin-top:6px!important;white-space:normal!important;box-shadow:none!important}
  .xvm185-quick-markers{grid-template-columns:1fr!important;gap:10px!important;padding:12px!important}
  .xvm185-quick-markers>div:last-child{margin:0 -2px!important}
  .xvm185-quick-markers>div:last-child button{min-height:34px!important}
  .xvm189-detailed-marker{width:100%!important}
  .xvm185-analysis-grid{grid-template-columns:1fr!important}
  .xvm185-marker-row time{min-width:48px!important}
  .xvm185-marker-row small{max-width:45vw!important}
  .xvm186-summary-kpis{grid-template-columns:repeat(3,1fr)!important}
}
@media(max-width:520px){
  .xvm189-video-mobile-nav button{font-size:0!important}
  .xvm189-video-mobile-nav button span{font-size:16px!important}
  .xvm185-video-stats article{min-width:102px!important;flex-basis:102px!important}
  .xvm186-playback-group{grid-template-columns:1.2fr .72fr .72fr .9fr .5fr!important}
  .xvm185-marker-row>button{gap:7px!important;padding:8px!important}
  .xvm185-marker-row small{max-width:38vw!important}
}
