html[data-office-skin]{--ds-bg:#eef1f5;--ds-card:#fafbfd;--ds-ink:#202937;--ds-muted:#667385;--ds-line:#dbe1e9;--ds-accent:#3d70b7;--ds-soft:#e8eef7;--ds-hero:linear-gradient(115deg,#dfe5ed,#f5f7fa 60%,#e1e8f2);--bg:var(--ds-bg);--card:var(--ds-card);--ink:var(--ds-ink);--muted:var(--ds-muted);--line:var(--ds-line)}html[data-office-skin="minimal-white"]{--ds-bg:#f8fafc;--ds-card:#fff;--ds-ink:#15223b;--ds-muted:#748095;--ds-line:#e8edf4;--ds-accent:#2563eb;--ds-soft:#eff6ff;--ds-hero:linear-gradient(115deg,#fff,#f8fbff 70%,#eef5ff)}
html[data-office-skin] body,html[data-office-skin] .office,html[data-office-skin] .office-main{background:var(--ds-bg);color:var(--ds-ink)}html[data-office-skin] .rail,html[data-office-skin] .topbar,html[data-office-skin] .office-nav{background:var(--ds-card);border-color:var(--ds-line);color:var(--ds-ink)}html[data-office-skin] .panel,html[data-office-skin] .set-card{background:var(--ds-card);border-color:var(--ds-line)}html[data-office-skin] .topbar{box-shadow:0 1px 0 var(--ds-line)}
.xy-tech-dashboard{padding:26px 30px!important;background-image:radial-gradient(circle at 95% 5%,#668fc00b,transparent 45%)!important}.xy-data-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;position:relative;isolation:isolate;overflow:hidden;padding:30px 32px;margin-bottom:20px;background:var(--ds-hero);border:1px solid var(--ds-line);border-radius:20px;min-height:176px}.xy-data-hero:after{content:'';position:absolute;z-index:-1;inset:0;background-image:linear-gradient(#6582ad0b 1px,transparent 1px),linear-gradient(90deg,#6582ad0b 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(90deg,transparent,#000)}.xy-data-eyebrow{font-size:10px;font-weight:700;letter-spacing:2.5px;color:var(--ds-accent);display:flex;align-items:center;gap:8px}.xy-data-eyebrow i{width:6px;height:6px;border-radius:50%;background:#40a9b2;box-shadow:0 0 0 4px #40a9b214}.xy-data-hero h2{font-size:26px;letter-spacing:-.6px;margin:12px 0 9px;font-weight:700}.xy-data-hero h2 span{font-size:11px;font-weight:500;letter-spacing:0;display:inline-block;border:1px solid #8a9ebf50;border-radius:6px;padding:4px 7px;margin-left:12px;vertical-align:middle;color:var(--ds-accent)}.xy-data-hero p{font-size:12px;color:var(--ds-muted);line-height:1.7}.xy-data-controls{display:flex;flex-direction:column;align-items:flex-end;gap:14px;z-index:1}.xy-data-controls small{font-size:10px;color:var(--ds-muted)}.xy-skin-switch{display:inline-flex;gap:3px;border:1px solid var(--ds-line);padding:4px;border-radius:10px;background:#ffffff80;flex-shrink:0}.xy-skin-switch button{border:0;background:transparent;padding:8px 12px;font-size:12px;border-radius:7px;color:var(--ds-muted);cursor:pointer;white-space:nowrap}.xy-skin-switch button.selected{background:var(--ds-card);color:var(--ds-accent);box-shadow:0 2px 7px #34415c13;font-weight:600}.xy-skin-switch button:focus-visible{outline:2px solid var(--ds-accent);outline-offset:2px}.xy-skin-switch button:before{content:'';display:inline-block;width:9px;height:9px;border:1px solid #8a9bb855;border-radius:3px;margin-right:6px;background:#a4afbf}.xy-skin-switch button[data-office-skin-choice="minimal-white"]:before{background:#fff}.xy-data-orbit{position:absolute;right:26%;top:10px;width:160px;height:160px;opacity:.6;pointer-events:none}.xy-data-orbit span{position:absolute;inset:22px;border:1px solid #6a89b34a;border-radius:50%;transform:rotateX(55deg) rotate(30deg)}.xy-data-orbit span:nth-child(2){transform:rotateY(60deg) rotate(-30deg)}.xy-data-orbit span:nth-child(3){inset:38px;transform:none;border-style:dashed;animation:ds-orbit 40s linear infinite}.xy-data-orbit b{position:absolute;inset:60px;text-align:center;font:600 26px monospace;color:#7286a7}.xy-data-orbit i{position:absolute;width:5px;height:5px;background:#8ab0dd;border-radius:50%;left:24px;top:70px}.xy-data-orbit i:nth-last-child(2){left:120px;top:30px}.xy-data-orbit i:last-child{left:100px;top:130px}
.xy-tech-dashboard>.kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.xy-tech-dashboard .kpi{position:relative;overflow:hidden;padding:22px!important;border:1px solid var(--ds-line)!important;border-radius:15px!important;background:var(--ds-card)!important;box-shadow:0 4px 18px #34415c05!important;min-height:134px}.xy-tech-dashboard .kpi:before{display:none!important}.xy-tech-dashboard .kpi:after{content:'';position:absolute;left:22px;bottom:0;width:52px;height:2px;background:var(--ds-accent);opacity:.6}.xy-tech-dashboard .k-label{color:var(--ds-muted);font-size:12px}.xy-tech-dashboard .k-val{font-size:30px!important;font-weight:650!important;font-variant-numeric:tabular-nums;margin:12px 0 8px;letter-spacing:-1px;color:var(--ds-ink)}.xy-tech-dashboard .k-val small{font-size:11px;letter-spacing:0}.xy-tech-dashboard .k-trend{font-size:11px;color:var(--ds-muted)}.xy-metric-symbol{position:absolute;right:20px;top:18px;width:34px;height:34px;display:grid;place-items:center;font:18px monospace;color:var(--ds-accent);background:var(--ds-soft);border:1px solid #8ca7cb20;border-radius:10px}
.xy-tech-dashboard>.panel{border:1px solid var(--ds-line)!important;border-radius:16px!important;padding:22px!important;margin-bottom:18px!important;box-shadow:0 3px 16px #34415c03!important}.xy-tech-dashboard .panel h3{display:flex;align-items:center;gap:9px;margin-bottom:18px;font-size:14px;color:var(--ds-ink);flex-wrap:wrap}.xy-domain-icon{display:inline-grid;place-items:center;width:29px;height:29px;background:var(--ds-soft);color:var(--ds-accent);border-radius:8px;font-size:17px}.xy-section-index{margin-left:auto;font:10px monospace;letter-spacing:1px;color:var(--ds-muted);font-weight:400}.xy-tech-dashboard .fl-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.xy-tech-dashboard .fl-card{border:1px solid var(--ds-line)!important;border-radius:12px!important;background:linear-gradient(145deg,var(--ds-card),var(--ds-bg))!important;box-shadow:none!important;padding:18px!important}.xy-tech-dashboard .fl-card b{font-size:12px;font-weight:500;color:var(--ds-muted)}.xy-tech-dashboard .fl-card p{color:var(--ds-ink);font-size:23px!important;margin:13px 0!important;font-variant-numeric:tabular-nums}.xy-tech-dashboard .fl-card span{color:var(--ds-muted)!important;font-size:11px!important}.xy-table-scroll{overflow:auto;max-width:100%;scrollbar-width:thin}.xy-tech-dashboard table{border-collapse:collapse;width:100%;font-size:12px}.xy-tech-dashboard th{background:var(--ds-bg);color:var(--ds-muted);border-bottom:1px solid var(--ds-line);padding:12px!important;text-align:left;font-size:11px;font-weight:500}.xy-tech-dashboard td{border-bottom:1px solid var(--ds-line);padding:13px 12px!important;color:var(--ds-ink);white-space:nowrap}.xy-tech-dashboard td[colspan]{padding:26px 12px!important;color:var(--ds-muted)!important;background:transparent!important;white-space:normal}.xy-tech-dashboard tbody tr:last-child td{border-bottom:0}.xy-tech-dashboard .pill{font-size:10px;border-radius:5px;padding:3px 7px}.xy-tech-dashboard .panel>div:not([class]){background:var(--ds-bg)!important;color:var(--ds-muted)!important;border-radius:8px!important;font-size:11px!important}
@keyframes ds-orbit{to{transform:rotate(360deg)}}@media(min-width:1800px){.xy-tech-dashboard{max-width:1900px;margin:auto;width:100%}.xy-data-hero{min-height:190px}}@media(max-width:1100px){.xy-data-orbit{display:none}.xy-data-hero{padding:24px}.xy-data-hero h2{font-size:22px}.xy-tech-dashboard>.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.xy-section-index{display:none}}@media(max-width:650px){.xy-tech-dashboard{padding:14px!important}.xy-data-hero{align-items:flex-start;flex-direction:column;gap:16px;padding:20px;border-radius:14px}.xy-data-controls{align-items:flex-start}.xy-data-controls small{display:none}.xy-data-hero h2{font-size:20px}.xy-data-hero h2 span{display:none}.xy-tech-dashboard .kpi{padding:16px!important}.xy-metric-symbol{right:12px;top:12px;width:27px;height:27px;font-size:14px}.xy-tech-dashboard .k-val{font-size:24px!important}.xy-tech-dashboard .fl-grid3{grid-template-columns:1fr}.xy-tech-dashboard>.panel{padding:15px!important}.xy-tech-dashboard>.kpis{gap:10px}.xy-tech-dashboard .k-label{padding-right:22px}.set-row:has(.xy-skin-switch){flex-wrap:wrap;gap:12px}}@media(prefers-reduced-motion:reduce){.xy-data-orbit span{animation:none!important}}

/* Global application tokens: loaded last, without changing component behavior. */
html[data-office-skin="tech-gray"]{color-scheme:dark;--ds-bg:#101216;--ds-card:#1a1d24;--ds-ink:#edf1fa;--ds-muted:#a1abbe;--ds-line:#303642;--ds-accent:#7eafff;--ds-soft:#242e43;--ds-hero:linear-gradient(115deg,#1c2331,#1b1d27 55%,#272039);--blue:#80aeff;--navy:#c5d9ff;--navy2:#0d1525;--bg-deep:#14171d;--line-soft:#282e38;--ink-2:#dce3ef;--muted-2:#97a3b8;--card:#1a1d24;--bg:#101216;--text:#edf1fa;--border:#303642;--accent:#8db8ff;--surface:#1a1d24;--panel:#1a1d24;--ag-surface:#101216;--ag-side:#161920;--ag-raised:#20242e;--ag-ink:#edf1fa;--ag-secondary:#a1abbe;--ag-line:#303642;--ag-hover:#28364d;--ag-blue:#8db8ff;--accent-soft:#28364d}
html[data-office-skin="minimal-white"]{color-scheme:light;--ds-bg:#f7f9fd;--ds-card:#fff;--ds-ink:#182338;--ds-muted:#64748b;--ds-line:#e2e8f2;--ds-accent:#2563eb;--ds-soft:#edf4ff;--ds-hero:linear-gradient(115deg,#fff,#f8fbff 70%,#eef5ff);--blue:#2563eb;--navy:#164a9f;--bg-deep:#eef3fb;--line-soft:#eef2f8;--ink-2:#334155;--muted-2:#64748b;--bg:#f7f9fd;--card:#fff;--text:#182338;--border:#e2e8f2;--accent:#2563eb;--surface:#fff;--panel:#fff;--ag-surface:#fff;--ag-side:#f7f9fd;--ag-raised:#f0f5fd;--ag-ink:#182338;--ag-secondary:#64748b;--ag-line:#e2e8f2;--ag-hover:#eaf1ff;--ag-blue:#2563eb;--accent-soft:#eaf1ff}
html[data-office-skin] body{background:var(--ds-bg)!important;color:var(--ds-ink)!important}
html[data-office-skin] :is(.rail,.topbar,.office-nav,.sidebar,.panel,.card,.modal,.modal-content,.dialog,.set-card,.set-panel,.library-card,.ua-card,.kb-card,.sc-side-card,.sc-person,.sc-head,.sc-body,dialog){background:var(--ds-card)!important;color:var(--ds-ink)!important;border-color:var(--ds-line)!important}
html[data-office-skin] :is(.auth-card,.login-card,.login-box,.lg-box,.lg-card,.kb-editor,.knowledge-editor,.account-card,#panel){background:var(--ds-card)!important;color:var(--ds-ink)!important;border-color:var(--ds-line)!important}
html[data-office-skin] #panel .warning{color:var(--ds-muted)!important}
html[data-office-skin="tech-gray"] :is(.main,.office-main,.page){background-image:radial-gradient(ellipse at 95% 0,#6c47b811,transparent 50%),radial-gradient(ellipse at 0 95%,#28adca09,transparent 45%)}
html[data-office-skin] :is(.office,.office-main,.main,.content,.page,.app-main,.sc-root){background-color:var(--ds-bg)!important;color:var(--ds-ink)!important}
html[data-office-skin] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),textarea,select){background:var(--ds-card)!important;color:var(--ds-ink)!important;border-color:var(--ds-line)!important}
html[data-office-skin] :is(input,textarea)::placeholder{color:var(--ds-muted)!important;opacity:1}
html[data-office-skin] :is(.muted,.sub,.hint,.sec-desc,.empty,.empty-state,.d){color:var(--ds-muted)!important}
html[data-office-skin] :is(.panel,.card,.library-card,.ua-card,.kb-card,.set-card){border-radius:14px;box-shadow:0 4px 20px #00000006}
html[data-office-skin] :is(th,td){border-color:var(--ds-line)!important}
html[data-office-skin] th{background:var(--ds-soft)!important;color:var(--ds-muted)!important}
html[data-office-skin] :is(.nav-item,.rail-item,.bar-btn,.ag-tool,.ghost,.tab,.tabs button){color:var(--ds-muted)}
html[data-office-skin] :is(.nav-item.active,.rail-item.active,.tab.active){background:var(--ds-soft)!important;color:var(--ds-accent)!important}
html[data-office-skin] :is(button,a,input,textarea,select):focus-visible{outline:2px solid var(--ds-accent);outline-offset:3px}
html[data-office-skin] :is(button:disabled,input:disabled,select:disabled){opacity:.5;cursor:not-allowed}
html[data-office-skin="minimal-white"] :is(.primary,.btn-primary,.sc-btn.primary){background:#2563eb!important;color:white!important;border-color:#2563eb!important}
html[data-office-skin="tech-gray"] :is(.primary,.btn-primary,.sc-btn.primary){background:linear-gradient(115deg,#4568e8,#7052ce)!important;color:#fff!important;border-color:#7d87e655!important}
html[data-office-skin="tech-gray"] :is(.kpi,.fl-card,.ag-sug,.ag-bubble,.ag-composer,.ag-skill-menu,.ag-model-menu,.enterprise-resource-dialog,.enterprise-skill-list label,.ag-settings,.ag-set-main){background:var(--ag-raised)!important;color:var(--ds-ink)!important;border-color:var(--ds-line)!important}
html[data-office-skin="tech-gray"] :is(.topbar,.panel,.card,.library-card,.ua-card,.kb-card){box-shadow:0 6px 25px #00000015,inset 0 1px 0 #ffffff04!important}
html[data-office-skin="tech-gray"] .xy-data-hero{background:radial-gradient(ellipse at 75% 0,#7755db35,transparent 50%),radial-gradient(ellipse at 95% 90%,#2fb8d52b,transparent 45%),var(--ds-hero)!important;border-color:#56648155;box-shadow:inset 0 1px 0 #b4caff10,0 8px 30px #00000025}
html[data-office-skin="tech-gray"] .xy-data-hero:after{background-image:linear-gradient(#86a4ef0c 1px,transparent 1px),linear-gradient(90deg,#86a4ef0c 1px,transparent 1px)}
html[data-office-skin="tech-gray"] .xy-data-orbit{opacity:.95;filter:drop-shadow(0 0 10px #8778ff45)}
html[data-office-skin="tech-gray"] .xy-data-orbit span{border-color:#7cbfff70;box-shadow:0 0 20px #51adff13;animation:xy-neon-orbit 20s linear infinite}
html[data-office-skin="tech-gray"] .xy-data-orbit span:nth-child(2){border-color:#c68aff85;animation-duration:27s;animation-direction:reverse}
html[data-office-skin="tech-gray"] .xy-data-orbit span:nth-child(3){border-color:#5ce9e080;animation-name:ds-orbit}
html[data-office-skin="tech-gray"] .xy-data-orbit b{color:#c6d5ff;text-shadow:0 0 20px #8c8cff88}
html[data-office-skin="tech-gray"] .xy-data-orbit i{background:#99baff;box-shadow:0 0 12px #55d6ff}
html[data-office-skin="tech-gray"] .xy-tech-dashboard .kpi:after{background:linear-gradient(90deg,#59d9ff,#ad81ff,#e58acb);width:70%;opacity:.8}
html[data-office-skin="tech-gray"] .xy-tech-dashboard .kpi:before{display:block!important;content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 100% 0,#7274e610,transparent 60%)}
html[data-office-skin="tech-gray"] .xy-metric-symbol{color:#a3b9ff;background:linear-gradient(135deg,#2b3750,#342a48);border-color:#9ab0ff26}
html[data-office-skin="tech-gray"] .xy-skin-switch{background:#10131b;border-color:var(--ds-line)}
html[data-office-skin="tech-gray"] :is(.pill.gray,.tag){background:#2b313d!important;color:#c0cada!important;border-color:#434d60!important}
html[data-office-skin="tech-gray"] :is(.pill.green,.pill.blue){background:#163941!important;color:#85dfd4!important;border-color:#2f6369!important}
html[data-office-skin="tech-gray"] .pill.orange{background:#3b3121!important;color:#edcb8a!important;border-color:#635031!important}
html[data-office-skin="tech-gray"] :is(.ghost,.bar-btn,.ag-tool,.xy-recharge-link){background:#212733!important;border-color:#3a4556!important;color:#bdcef0!important}
html[data-office-skin="tech-gray"] :is(.wb-home,.wb-hero,.wb-shortcuts,.wb-shortcut,.wb-creation-card,.wb-quick-card,.sc-feed-aside){background-color:var(--ds-card)!important;color:var(--ds-ink)!important;border-color:var(--ds-line)!important}
html[data-office-skin="tech-gray"] :is(.wb-home h1,.wb-home h2,.wb-home h3,.wb-shortcut-name,.panel h3,.fl-card b,.set-row,.section-title){color:var(--ds-ink)!important}
html[data-office-skin="tech-gray"] :is(.wb-home p,.wb-home small,.k-trend,.k-label,.o-head .sub){color:var(--ds-muted)!important}
html[data-office-skin] #ag-app{--text:var(--ag-ink);--muted:var(--ag-secondary);--border:var(--ag-line);--accent-soft:var(--ag-hover)}
html[data-office-skin] #ag-app :is(.ag-bubble,.enterprise-resource-dialog,.ag-set-body,.ag-set-sec,.ag-set-nav,.ag-set-head){color:var(--ag-ink)!important;background-color:var(--ag-surface)!important;border-color:var(--ag-line)!important}
html[data-office-skin] #ag-app :is(.enterprise-skill-list label,.ag-sug,.ag-composer){background:var(--ag-raised)!important;color:var(--ag-ink)!important}
html[data-office-skin] #ag-app .enterprise-skill-list label:has(input:checked){background:var(--ag-hover)!important;border-color:var(--ds-accent)!important}
.xy-global-skin{position:fixed;right:18px;top:70px;z-index:9999;font:12px system-ui,sans-serif}.xy-global-skin summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:7px;min-height:36px;padding:8px 12px;background:var(--ds-card);color:var(--ds-ink);border:1px solid var(--ds-line);border-radius:20px;box-shadow:0 3px 16px #00000012}.xy-global-skin summary::-webkit-details-marker{display:none}.xy-global-skin summary:before{content:'◐';color:var(--ds-accent);font-size:16px}.xy-global-skin[open] summary{border-radius:12px 12px 0 0}.xy-global-skin .xy-skin-switch{display:flex;padding:7px;border-radius:0 0 12px 12px;box-shadow:0 8px 25px #00000018;background:var(--ds-card)}.xy-global-skin button{min-height:44px}.xy-global-skin summary:focus-visible{outline:2px solid var(--ds-accent);outline-offset:3px}
@keyframes xy-neon-orbit{from{transform:rotateX(58deg) rotateZ(0)}to{transform:rotateX(58deg) rotateZ(360deg)}}
@media(max-width:650px){.xy-global-skin{top:auto;bottom:12px;right:12px}.xy-global-skin[open] .xy-skin-switch{position:absolute;right:0;bottom:42px;border-radius:12px}.xy-global-skin summary{font-size:11px;min-height:38px}.xy-global-skin[open] summary{border-radius:20px}}
@media(prefers-reduced-motion:reduce){html[data-office-skin] .xy-data-orbit span{animation:none!important}}
/* The workbench uses its own illustration and card gradients. */
html[data-office-skin="tech-gray"] body .content,
html[data-office-skin="tech-gray"] body .wb-home {
  background: radial-gradient(ellipse at 85% 0%, #25213a, transparent 50%), #101216 !important;
}
html[data-office-skin="tech-gray"] body .wb-hero {
  background: radial-gradient(ellipse at 76% 46%, #39346a, transparent 55%), linear-gradient(115deg,#1b2332,#202035) !important;
  border-color:#424965; box-shadow:0 12px 36px #0004;
}
html[data-office-skin="tech-gray"] .wb-hero::after {
  background:linear-gradient(110deg,transparent 35%,#9e96ff14 49%,transparent 63%);
}
html[data-office-skin="tech-gray"] .wb-hero h2 { text-shadow:none }
html[data-office-skin="tech-gray"] .wb-hero-grid {
  background-image:linear-gradient(#8db8ff18 1px,transparent 1px),linear-gradient(90deg,#8db8ff18 1px,transparent 1px);
}
html[data-office-skin="tech-gray"] .wb-orbit { filter:drop-shadow(0 0 14px #719cff60) }
html[data-office-skin="tech-gray"] .wb-orbit text { fill:#bed5ff }
html[data-office-skin="tech-gray"] .wb-sky-flow { stroke:#ae94ff }
html[data-office-skin="tech-gray"] body .wb-home .wb-app {
  background:linear-gradient(140deg,#202632,#191d25) !important; border-color:#343c4b;
}
html[data-office-skin="tech-gray"] .wb-home .wb-app .ic {
  background:#29354d; color:#a6c8ff; box-shadow:inset 0 0 0 1px #769bd940;
}
html[data-office-skin="tech-gray"] .wb-app-bottom { border-color:#343c4b }
html[data-office-skin="tech-gray"] body .wb-creation {
  background:radial-gradient(ellipse at 100% 100%,#4e3973,transparent 70%),#222335 !important;
  border-color:#41405b;
}
html[data-office-skin="tech-gray"] .wb-creation-art span {
  background:linear-gradient(#7471b333,#7f53ad44); border-color:#9b8acc60; box-shadow:none;
}
html[data-office-skin="tech-gray"] body .rail .item:not(.active),
html[data-office-skin="tech-gray"] body .wb-home .wb-create,
html[data-office-skin="tech-gray"] .wb-outline-tag {
  background:#222733 !important; color:#ced8ea !important; border-color:#394354;
}
html[data-office-skin="tech-gray"] body .rail .item:not(.active):hover { background:#303c53 !important }
html[data-office-skin="tech-gray"] body .rail .item:not(.active) svg { color:#9fbfff !important }
html[data-office-skin="tech-gray"] body .rail .mark.xy-brand { background:#252c38 !important }
html[data-office-skin="tech-gray"] .rail .mark.xy-brand img { mix-blend-mode:lighten }
html[data-office-skin="tech-gray"] body :is(.topbar .title,.wb-shortcut strong) { color:#edf1fa !important }
html[data-office-skin="tech-gray"] :is(.wb-hero-label,.wb-hero-secondary,.wb-art-caption,.wb-creation>a,.wb-home .wb-app .open,.wb-eyebrow,.wb-date,.wb-app-en,.wb-app-num,.wb-tag,.wb-heading h1>span) {
  color:#a7c7ff !important;
}
html[data-office-skin="minimal-white"] body .content,
html[data-office-skin="minimal-white"] body .wb-home { background:#f7f9fd !important }
html[data-office-skin="minimal-white"] body .wb-hero { background:linear-gradient(110deg,#fff,#edf5ff) !important }
html[data-office-skin="minimal-white"] body .wb-creation { background:#f0f6ff !important }
/* Complete communications, workspace, knowledge and console surfaces. */
html[data-office-skin] .social-center{--sc-ink:var(--ds-ink);--sc-line:var(--ds-line);--sc-blue:var(--ds-accent)}
html[data-office-skin] body :is(.sc-chat,.sc-conversations,.sc-pane,.sc-pane-head,.sc-composer,.sc-conv,.sc-tabs,.sc-sync,.sc-btn:not(.primary),.sc-bubble,.sc-post,.sc-comment,.sc-side-card,.sc-post-link,.sc-publish-dialog,.sc-credit,.sc-empty-icon,.sc-count){background:var(--ds-card)!important;color:var(--ds-ink)!important;border-color:var(--ds-line)!important}
html[data-office-skin] body :is(.sc-tabs a.active,.sc-conv.active,.sc-filter.active,.sc-avatar,.sc-message.mine .sc-bubble){background:var(--ds-soft)!important;color:var(--ds-accent)!important;border-color:var(--ds-line)!important}
html[data-office-skin] body :is(.sc-empty strong,.sc-conv-title b,.sc-post-text,.sc-person h3){color:var(--ds-ink)!important}
html[data-office-skin] body :is(.ws-sidebar,.ws-main,.ws-paper-wrap,.kc-side,.kc-main,#ws-root,#kc-root){background:var(--ds-bg)!important;color:var(--ds-ink)!important;border-color:var(--ds-line)!important}
html[data-office-skin] body :is(.ws-quick-create,.ws-item,.ws-paper,.ws-doc-panel,.ws-doc-toolbar,.ws-doc-head,.ws-doc-foot,.ws-search,.ws-view-switch,.ws-empty,.kc-list,.kc-row,.kc-empty,.kc-searchbar,.es-panel,.es-stat,.es-provider,.es-package,.es-dialog-content,.es-table-wrap,.trow,.mcat,.kbd){background:var(--ds-card)!important;color:var(--ds-ink)!important;border-color:var(--ds-line)!important}
html[data-office-skin] body :is(.ws-nav.active,.ws-space.active,.kc-space.active,.mcat.active,.es-note,.ws-template-icon,.ws-empty-icon,.kc-doc-icon){background:var(--ds-soft)!important;color:var(--ds-accent)!important;border-color:var(--ds-line)!important}
html[data-office-skin] body :is(.es-root,.ws-main,.kc-main,.mcard,.trow,.page,.main,.sidebar) :is(h1,h2,h3,h4,strong,b){color:var(--ds-ink)!important}
html[data-office-skin] body :is(h1,h2,h3,h4,.logo,.brand,.mcat-t,.mcat-n,.ws-item-name,.ws-doc-title,.kc-title,.es-panel-title,.es-stat strong){color:var(--ds-ink)!important}
html[data-office-skin] body :is(.es-provider-mark,.es-note,.ws-template-icon,.kc-brand,.ws-brand){border-color:var(--ds-line)!important}
html[data-office-skin] body :is(.ws-table-head,.es-table th,.es-table td,.ws-activity,.ws-toolbar,.sc-list-head,.sc-list-footer){border-color:var(--ds-line)!important}
html[data-office-skin] body :is(.ws-item-time,.ws-item-space,.kc-row-meta,.sc-preview,.sc-empty,.sc-caption,.es-head p,.es-stat>span,.ws-subtle){color:var(--ds-muted)!important}
html[data-office-skin] body :is(.console-topbar,.console-header,.app-header,.main-header,.lp-topbar){background:var(--ds-card)!important;color:var(--ds-ink)!important;border-color:var(--ds-line)!important}
html[data-office-skin="tech-gray"] body .sc-status{background:#34251f!important;color:#ffc499!important;border-color:#684332!important}
/* Data command board: semantic metrics, no fabricated time series. */
.xy-viz-board{margin:22px 0;border:1px solid var(--ds-line);border-radius:20px;padding:24px;background:radial-gradient(ellipse at 50% 0,#00d9f01c,transparent 50%),var(--ds-bg);position:relative;overflow:hidden}.xy-viz-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.xy-viz-title h2{font-size:30px!important;margin:8px 0;letter-spacing:2px}.xy-viz-title small{color:var(--ds-accent);letter-spacing:2px;font-size:10px}.xy-viz-title p,.xy-viz-grid p{color:var(--ds-muted);font-size:11px}.xy-viz-status{display:flex;gap:12px;align-items:center;flex-wrap:wrap;max-width:330px}.xy-viz-status span{color:#27bfa5;font-size:12px}.xy-viz-status button{border:1px solid var(--ds-line);background:var(--ds-card);color:var(--ds-accent);border-radius:8px;padding:9px 12px;cursor:pointer}.xy-viz-status button:focus-visible{outline:2px solid var(--ds-accent)}.xy-viz-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.xy-viz-grid article{border:1px solid var(--ds-line);background:var(--ds-card);border-radius:14px;padding:22px;box-shadow:inset 0 1px #43e7ff22}.xy-viz-grid h3{margin:0 0 20px;font-size:16px}.xy-viz-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.xy-viz-metric{display:flex;flex-direction:column;min-width:0;color:var(--ds-accent)}.xy-viz-metric span{font-size:11px;color:var(--ds-muted)}.xy-viz-metric b{font-size:25px;color:var(--ds-ink);margin-top:10px}.xy-viz-metric small{font-size:9px;color:var(--ds-muted)}.xy-viz-metric svg{width:100%;height:35px}.xy-viz-access{display:flex;align-items:center;gap:30px}.xy-viz-ring{flex-shrink:0;border-radius:50%;width:130px;height:130px;background:conic-gradient(#37d9cc var(--coverage),var(--ds-line) 0);display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;isolation:isolate}.xy-viz-ring:before{content:'';position:absolute;inset:12px;background:var(--ds-card);border-radius:50%;z-index:-1}.xy-viz-ring b{font-size:26px}.xy-viz-ring small{font-size:10px;color:var(--ds-muted)}.xy-viz-domains{flex:1}.xy-viz-domain{display:flex;gap:10px;align-items:center;padding:6px 0;font-size:12px}.xy-viz-domain b{margin-left:auto;font-size:10px;color:var(--ds-muted)}.xy-viz-domain i{width:6px;height:6px;border-radius:50%;background:var(--ds-muted)}.xy-viz-domain i.ready{background:#29c7ac;box-shadow:0 0 10px #29c7ac}.xy-viz-pipeline{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px}.xy-viz-pipeline span{padding:12px 9px;border:1px solid var(--ds-line);border-radius:7px}.xy-viz-pipeline i{color:#32c9d9;animation:viz-flow 2s infinite}.xy-viz-wave{display:flex;align-items:center;justify-content:center;gap:4px;height:100px;background:linear-gradient(transparent 49%,#31d4dc33 50%,transparent 51%)}.xy-viz-wave i{height:var(--h);width:3px;background:linear-gradient(#9c7cff,#2de2cf);box-shadow:0 0 8px #32cedb66;animation:viz-wave 2.6s var(--delay) infinite alternate}.xy-viz-quality{display:flex;justify-content:space-around;padding:20px 0 30px}.xy-viz-quality div{display:flex;flex-direction:column;gap:12px}.xy-viz-quality strong{font-size:38px;color:var(--ds-accent)}.xy-viz-quality span{font-size:12px;color:var(--ds-muted)}@keyframes viz-wave{to{transform:scaleY(.4);opacity:.4}}@keyframes viz-flow{50%{opacity:.3;transform:translateX(3px)}}@media(max-width:1050px){.xy-viz-grid{grid-template-columns:1fr}.xy-viz-title h2{font-size:23px!important}}@media(max-width:600px){.xy-viz-board{padding:14px}.xy-viz-title{align-items:flex-start;flex-direction:column}.xy-viz-metrics{grid-template-columns:1fr 1fr}.xy-viz-grid article{padding:16px}.xy-viz-pipeline{gap:4px;font-size:10px}.xy-viz-pipeline span{padding:9px 4px}.xy-viz-access{gap:14px}.xy-viz-ring{width:100px;height:100px}.xy-viz-title h2{font-size:20px!important}}@media(prefers-reduced-motion:reduce){.xy-viz-wave i,.xy-viz-pipeline i{animation:none!important}}
.xy-model-status{grid-column:1/-1}.xy-model-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.xy-model-head button{border:1px solid var(--ds-line);background:var(--ds-soft);color:var(--ds-accent);padding:8px 14px;border-radius:7px;cursor:pointer}.xy-model-head button:focus-visible{outline:2px solid var(--ds-accent)}.xy-model-summary{font-size:12px;color:var(--ds-accent);margin:5px 0 18px}.xy-model-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.xy-model-row{display:grid;grid-template-columns:8px 1fr auto;gap:8px;align-items:center;padding:14px;border:1px solid var(--ds-line);border-radius:10px;min-width:0}.xy-model-row strong{font-size:12px;overflow-wrap:anywhere}.xy-model-row span{font-size:10px;color:var(--ds-accent)}.xy-model-row small{grid-column:2/-1;font-size:10px;color:var(--ds-muted);overflow-wrap:anywhere}.xy-model-row i{width:6px;height:6px;border-radius:50%;background:#8f9ab0}.xy-model-row i.ready{background:#32d5b5;box-shadow:0 0 8px #32d5b580}.xy-model-row i.unavailable{background:#f9a46a}@media(max-width:1050px){.xy-model-list{grid-template-columns:1fr 1fr}}@media(max-width:600px){.xy-model-list{grid-template-columns:1fr}}
.xy-tech-dashboard>.xy-data-hero{min-height:90px;padding:18px 24px;margin-bottom:14px}.xy-tech-dashboard>.xy-data-hero h2{font-size:22px;margin:8px 0}.xy-tech-dashboard>.xy-data-hero .xy-data-orbit{transform:scale(.65);top:-25px}.xy-tech-dashboard>.kpis .kpi{padding:16px 20px!important}.xy-tech-dashboard .xy-viz-title{margin-bottom:16px}.xy-business-details{margin:20px 0}.xy-business-details>summary{padding:16px;border:1px solid var(--ds-line);border-radius:10px;color:var(--ds-accent);background:var(--ds-card);cursor:pointer}.xy-business-details>.panel{margin-top:14px}.xy-model-chain{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px;margin:20px 0}.xy-chain-node{position:relative;border:1px solid var(--ds-line);background:var(--ds-bg);border-radius:10px;padding:15px 6px;display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center;color:var(--ds-muted)}.xy-chain-node b{font-size:24px}.xy-chain-node strong{font-size:11px}.xy-chain-node small{font-size:10px}.xy-chain-node.lit{border-color:#2dbbb6;box-shadow:inset 0 0 22px #21e4ca13,0 0 12px #21e4ca20;color:#31cdbd}.xy-chain-node.dim{opacity:.55}.xy-chain-node.unknown{border-style:dashed}.xy-chain-node:not(:last-child):after{content:'→';position:absolute;right:-9px;top:40%;z-index:1;color:var(--ds-muted)}.xy-model-list{max-height:190px;overflow:auto}@media(max-width:1200px){.xy-model-chain{grid-template-columns:repeat(5,1fr)}}@media(max-width:600px){.xy-model-chain{grid-template-columns:repeat(2,1fr)}.xy-chain-node:nth-child(2n):after{display:none}}
html[data-office-skin="tech-gray"] body .office-nav :is(a,button):not(.active){background:var(--ds-card)!important;color:var(--ds-muted)!important}
.xy-model-chain{overflow-x:auto;scrollbar-width:thin;padding:5px 2px 12px;scroll-behavior:smooth}.xy-chain-node{text-decoration:none;cursor:pointer;transition:border-color .2s,transform .2s;min-height:105px}.xy-chain-node:hover{transform:translateY(-3px);border-color:var(--ds-accent);opacity:1}.xy-chain-node:focus-visible{outline:2px solid var(--ds-accent);outline-offset:2px}.xy-chain-node.lit:before{content:'';position:absolute;width:5px;height:5px;border-radius:50%;background:#6fffe7;box-shadow:0 0 6px #6fffe7,0 0 14px #44e8ff;top:-3px;left:10%;animation:xy-tech-particle 3s linear infinite;pointer-events:none}.xy-chain-node.lit:nth-child(2n):before{animation-delay:-1.4s}.xy-chain-node.lit:nth-child(3n):before{animation-delay:-.8s}@keyframes xy-tech-particle{0%{left:8%;top:-3px}25%{left:98%;top:-3px}50%{left:98%;top:98%}75%{left:0;top:98%}100%{left:0;top:-3px}}.xy-model-list{max-height:300px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--ds-accent) var(--ds-bg)}.xy-dashboard-paging{position:fixed;bottom:22px;right:24px;z-index:90;display:flex;gap:6px;padding:5px;border:1px solid var(--ds-line);border-radius:10px;background:var(--ds-card);box-shadow:0 5px 20px #0003}.xy-dashboard-paging button{border:0;border-radius:6px;padding:9px 12px;background:var(--ds-soft);color:var(--ds-accent);cursor:pointer}.xy-dashboard-paging button:focus-visible{outline:2px solid var(--ds-accent)}@media(prefers-reduced-motion:reduce){.xy-chain-node.lit:before{animation:none}.xy-chain-node{transition:none}}@media(max-width:600px){.xy-dashboard-paging{right:12px;bottom:14px}}
/* Keep the dashboard inside a bounded scroll container, including nested flex layouts. */
body:has(#officeMain.xy-tech-dashboard) .office.active{height:calc(100dvh - 58px)!important;min-height:0!important;overflow:hidden!important}
body:has(#officeMain.xy-tech-dashboard) .office-body{min-height:0!important;overflow:hidden!important}
#officeMain.xy-tech-dashboard{min-height:0!important;min-width:0;max-height:calc(100dvh - 58px);overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain;scrollbar-width:auto;scrollbar-color:var(--ds-accent) var(--ds-bg);touch-action:pan-y;box-sizing:border-box;padding-bottom:90px!important}
#officeMain.xy-tech-dashboard::-webkit-scrollbar{width:10px}#officeMain.xy-tech-dashboard::-webkit-scrollbar-thumb{background:var(--ds-accent);border:2px solid var(--ds-bg);border-radius:8px}
.xy-task-usage{color:var(--ds-accent);font-size:12px;padding-bottom:12px}.xy-task-feed{height:170px;overflow-y:auto;scrollbar-width:thin;margin-bottom:12px}.xy-task-feed-row{display:flex;align-items:center;gap:12px;padding:12px 4px;border-bottom:1px solid var(--ds-line);font-size:12px}.xy-task-feed-row span{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.xy-task-feed-row b{font-size:10px;color:var(--ds-muted)}.xy-task-feed-row.active b{color:#31d9b6}.xy-task-feed-row.active:before{content:'';width:5px;height:5px;border-radius:50%;background:#31d9b6;box-shadow:0 0 9px #31d9b6}.xy-company-tasks>a{font-size:11px;color:var(--ds-accent)}
/* Wide dashboard: use available workspace width instead of a centered narrow column. */
html[data-office-skin] body .content:has(#officeMain.xy-tech-dashboard){max-width:none!important;width:100%!important;margin:0!important;padding-left:12px!important;padding-right:12px!important;box-sizing:border-box}
html[data-office-skin] body .office:has(#officeMain.xy-tech-dashboard),html[data-office-skin] body .office-body:has(#officeMain.xy-tech-dashboard){max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}
html[data-office-skin] #officeMain.xy-tech-dashboard{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:16px!important;padding-right:16px!important;box-sizing:border-box}
html[data-office-skin] #officeMain.xy-tech-dashboard>:is(.xy-data-hero,.kpis,.xy-viz-board,.xy-business-details){max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}
html[data-office-skin] #platformHome,html[data-office-skin] #page-home{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}
html[data-office-skin] #page-home{padding-left:16px!important;padding-right:16px!important}
@media(max-width:600px){html[data-office-skin] #officeMain.xy-tech-dashboard,html[data-office-skin] #page-home{padding-left:10px!important;padding-right:10px!important}}
