/* Cloud-glass shared palette. Status colors keep their original meaning. */
html:root {
  color-scheme:light;
  --ui-bg:#f4f7fa;--ui-panel:#ffffff;--ui-raised:#f4f7fc;--ui-hover:#edf2fb;
  --ui-border:#dce5ed;--ui-text:#213449;--ui-muted:#566980;
  --ui-accent:#365cc2;--ui-selected:#e9efff;--ui-on-accent:#ffffff;
  --ui-primary:#365cc2;--ui-primary-hover:#294baf;
  --ui-good:#087451;--ui-good-bg:#e7f5ef;--ui-warn:#85560a;--ui-warn-bg:#fff3da;
  --ui-bad:#b23b4a;--ui-bad-bg:#fcecef;--ui-info:#365cc2;--ui-info-bg:#e9efff;
  --ui-neutral:#566980;--ui-neutral-bg:#eaf0f6;--ui-disabled-bg:#eaf0f6;
  --ui-track-good:#27906c;--ui-track-warn:#a97816;--ui-track-bad:#bf5662;--ui-track-unknown:#718399;
  --ui-brand-anthropic:#94572e;--ui-brand-gemini:#7555b6;--ui-backdrop:#10243c99;
  --ui-rate:#5140a4;--ui-rate-bg:#f0edfc;--ui-rate-border:#cfc5ef;
  --ui-gold:#765617;--ui-gold-bg:#faf1d9;--ui-gold-border:#b49b63;
}
html:root[data-xcm-color-scheme=dark] {
  color-scheme:dark;
  --ui-bg:#0e1726;--ui-panel:#162232;--ui-raised:#1b2a3c;--ui-hover:#223449;
  --ui-border:#3a4d64;--ui-text:#e8eff7;--ui-muted:#b0bfd0;
  --ui-accent:#a9beff;--ui-selected:#293b61;--ui-on-accent:#122346;
  --ui-primary:#a9beff;--ui-primary-hover:#c0ceff;
  --ui-good:#87e1b5;--ui-good-bg:#1c3c32;--ui-warn:#f2cb7b;--ui-warn-bg:#3c3221;
  --ui-bad:#ffaaa9;--ui-bad-bg:#422c34;--ui-info:#acc8ff;--ui-info-bg:#263954;
  --ui-neutral:#c0ccda;--ui-neutral-bg:#273547;--ui-disabled-bg:#263446;
  --ui-track-good:#46cfa0;--ui-track-warn:#edbb56;--ui-track-bad:#f0877e;--ui-track-unknown:#798ca2;
  --ui-brand-anthropic:#efbf9e;--ui-brand-gemini:#c6bdff;--ui-backdrop:#020812bf;
  --ui-rate:#d0c3ff;--ui-rate-bg:#352d51;--ui-rate-border:#716195;
  --ui-gold:#f4d98d;--ui-gold-bg:#3c3422;--ui-gold-border:#9d844d;
}
html:root,html:root[data-xcm-color-scheme] {
  --bg:var(--ui-bg);--canvas:var(--ui-bg);--panel:var(--ui-panel);--card:var(--ui-panel);--surface:var(--ui-panel);--raised:var(--ui-raised);
  --ink:var(--ui-text);--text:var(--ui-text);--muted:var(--ui-muted);--line:var(--ui-border);--border:var(--ui-border);
  --accent:var(--ui-accent);--accent-soft:var(--ui-selected);--purple:var(--ui-accent);--brand:var(--ui-accent);--brand-soft:var(--ui-selected);--blue:var(--ui-accent);
  --green:var(--ui-good);--good:var(--ui-good);--green-soft:var(--ui-good-bg);--good-soft:var(--ui-good-bg);
  --yellow:var(--ui-warn);--warn:var(--ui-warn);--yellow-soft:var(--ui-warn-bg);--warn-soft:var(--ui-warn-bg);
  --red:var(--ui-bad);--bad:var(--ui-bad);--danger:var(--ui-bad);--danger-soft:var(--ui-bad-bg);
  --jk-accent:var(--ui-accent);--jk-accent-dark:var(--ui-accent);--jk-selected:var(--ui-selected);--jk-canvas:var(--ui-bg);--jk-surface:var(--ui-panel);
  --jk-text:var(--ui-text);--jk-text-strong:var(--ui-text);--jk-muted:var(--ui-muted);--jk-muted-strong:var(--ui-muted);--jk-line:var(--ui-border);--jk-danger:var(--ui-bad);
  --gpt:var(--ui-info);--claude:var(--ui-brand-anthropic);
}
html body.xcm-coastal,html[data-xcm-surface=inspection] body {background:var(--ui-bg)!important;color:var(--ui-text)}
html body.xcm-coastal #xcm-unified-nav {background:var(--ui-panel)!important;border-bottom:1px solid var(--ui-border)!important;box-shadow:0 2px 10px #16344c03!important;padding:0 20px!important;min-height:58px!important}
html body.xcm-coastal #xcm-unified-nav .xcm-unified-inner {display:flex!important;align-items:center;gap:6px!important;max-width:1304px!important;min-height:58px!important;margin:auto!important;padding:0!important;flex-wrap:nowrap!important}
html body.xcm-coastal #xcm-unified-nav a {display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:34px!important;padding:7px 10px!important;font:600 12px/18px Inter,'Microsoft YaHei UI',system-ui,sans-serif!important;color:var(--ui-muted)!important;background:transparent!important;border:1px solid transparent!important;border-radius:7px!important;white-space:nowrap!important;text-decoration:none!important}
html body.xcm-coastal #xcm-unified-nav .jk-nav-home-links {display:flex;align-items:center;gap:6px;margin-right:auto}
html body.xcm-coastal #xcm-unified-nav a small {display:none!important}
html body.xcm-coastal #xcm-unified-nav .xcm-nav-icon {width:17px!important;height:17px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;color:inherit!important;background:transparent!important;flex:none}
html body.xcm-coastal #xcm-unified-nav .xcm-nav-icon svg {width:17px!important;height:17px!important;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html body.xcm-coastal #xcm-unified-nav a.xcm-active {background:var(--ui-selected)!important;color:var(--ui-accent)!important;border-color:var(--ui-selected)!important}
html body.xcm-coastal #xcm-unified-nav a:hover {background:var(--ui-hover)!important;color:var(--ui-accent)!important}
html body.xcm-coastal #xcm-unified-nav .jk-nav-home-links>a:first-child {color:var(--ui-accent)!important;font-size:15px!important;font-weight:750!important;padding-left:0!important}
html body.xcm-coastal #xcm-unified-nav a.jk-home-return {border-color:var(--ui-border)!important}
html body.xcm-coastal #xcm-unified-nav [data-xcm-page=test] {display:none!important}
html[data-xcm-embedded=true] #xcm-unified-nav {display:none!important}
html body.xcm-coastal :is(input,select,textarea) {background-color:var(--ui-panel)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important;accent-color:var(--ui-accent)}
html body.xcm-coastal :is(input,textarea)::placeholder {color:var(--ui-muted)!important;opacity:1}
html body.xcm-coastal :is(button,.btn,.secondary,.mini-btn) {color:var(--ui-text);border-color:var(--ui-border)}
html body.xcm-coastal :is(.primary,#refresh) {background:var(--ui-primary)!important;border-color:var(--ui-primary)!important;color:var(--ui-on-accent)!important}
html body.xcm-coastal :is(dialog) {background:var(--ui-panel)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important}
html body.xcm-coastal dialog::backdrop {background:var(--ui-backdrop)}
html body.xcm-coastal :is(a,button,input,select,textarea,summary):focus-visible {outline:2px solid var(--ui-accent)!important;outline-offset:3px}
html[data-xcm-surface=inspection] .workspace .primary,html[data-xcm-surface=inspection] .workspace .tab-check {background:var(--ui-primary);color:var(--ui-on-accent)}
html[data-xcm-surface=inspection] .workspace .tab.active {background:var(--ui-selected);border-color:var(--ui-accent)}
html[data-xcm-surface=inspection] .workspace .inspection-notice {background:var(--ui-warn-bg);border-color:var(--ui-warn);color:var(--ui-warn)}
html[data-xcm-surface=inspection] .workspace .inspection-notice strong {color:inherit}
html[data-xcm-surface=inspection] .gallery-rate {color:var(--ui-rate);background:var(--ui-rate-bg);border-color:var(--ui-rate-border);font-weight:750}
html[data-xcm-surface=inspection] .group-quality-label[data-label-theme=gold] {color:var(--ui-gold);background:var(--ui-gold-bg);border-color:var(--ui-gold-border)}
@media(max-width:760px){
 html body.xcm-coastal #xcm-unified-nav {padding:0 12px!important}
 html body.xcm-coastal #xcm-unified-nav .xcm-unified-inner {min-height:48px!important;gap:2px!important}
 html body.xcm-coastal #xcm-unified-nav a {font-size:11px!important;gap:4px!important;padding:6px 7px!important;min-height:32px!important}
 html body.xcm-coastal #xcm-unified-nav .jk-nav-home-links {gap:2px}
 html body.xcm-coastal #xcm-unified-nav .jk-nav-home-links>a:first-child {font-size:13px!important}
 html body.xcm-coastal #xcm-unified-nav a.jk-home-return {font-size:0!important;gap:0!important;padding:6px!important}
 html body.xcm-coastal #xcm-unified-nav a.jk-home-return>span:last-child {display:none}
 html body.xcm-coastal #xcm-unified-nav .xcm-nav-icon,html body.xcm-coastal #xcm-unified-nav .xcm-nav-icon svg {width:14px!important;height:14px!important}
}
@media(max-width:380px){
 html body.xcm-coastal #xcm-unified-nav {padding:0 8px!important}
 html body.xcm-coastal #xcm-unified-nav .jk-nav-home-links>a:first-child .xcm-nav-icon {display:none!important}
 html body.xcm-coastal #xcm-unified-nav a {padding:6px!important;font-size:10px!important}
}
@media(prefers-reduced-motion:reduce){html body.xcm-coastal #xcm-unified-nav * {animation:none!important;transition:none!important}}
html body.xcm-coastal #xcm-unified-nav a {width:auto!important;min-width:0!important;max-width:none!important;flex:none!important}
html body.xcm-coastal #xcm-unified-nav .jk-nav-home-links {width:auto!important;min-width:0!important;flex:0 0 auto!important}
@media(max-width:380px){html body.xcm-coastal #xcm-unified-nav .xcm-unified-inner>a .xcm-nav-icon {display:none!important}}

body.xgm-page #xgm-table-guide {font-size:11px;font-weight:750;color:var(--ui-text);line-height:1.5}
html[data-xcm-surface=inspection] .workspace .tabs {display:flex;flex-wrap:nowrap;gap:6px;min-width:0}
html[data-xcm-surface=inspection] .workspace .tab {flex:1 1 0;min-width:0;max-width:none;padding:9px 12px}
@media(max-width:640px){html[data-xcm-surface=inspection] .workspace .tab {padding:8px 7px;gap:5px}html[data-xcm-surface=inspection] .workspace .tab-provider-icon {display:none}html[data-xcm-surface=inspection] .workspace .tab-copy strong {font-size:11px}}
html body.xgm-page :is(.jk-overview-title strong,.xgm-vendor h2,#total) {color:var(--ui-text)!important}
html body.xgm-page #green-count {color:var(--ui-good)!important}
html body.xgm-page #red-count {color:var(--ui-bad)!important}
html body.xgm-page .jk-vendor .jk-vendor-mark {color:var(--ui-accent)!important;background:transparent!important}
html[data-xcm-surface=price] body.xcm-coastal .group-choice .single-group {color:var(--ui-accent)!important}
html[data-xcm-surface=price] .official-tier summary {color:var(--ui-muted)}
html[data-xcm-surface=price] .official-tier[open] summary {color:var(--ui-accent)}
html[data-xcm-surface=price] .official-tier-list {background:var(--ui-panel);border-color:var(--ui-border);color:var(--ui-muted)}
