:root{
  --ws-bg:#f5f7fb;--ws-panel:#ffffff;--ws-ink:#0f172a;--ws-muted:#64748b;--ws-line:#dbe3ef;--ws-blue:#3f55c8;--ws-blue2:#6d7df0;--ws-ok:#16a34a;--ws-warn:#f59e0b;--ws-danger:#dc2626;--ws-shadow:0 18px 42px rgba(15,23,42,.10);--ws-dock:82px;--ws-header-h:142px;--ws-radius:26px;
  --bg:var(--ws-bg);--panel:var(--ws-panel);--ink:var(--ws-ink);--muted:var(--ws-muted);--line:var(--ws-line);--blue:var(--ws-blue);--shadow:var(--ws-shadow);
}
:root[data-workspace-theme="corporate"]{--ws-bg:#f5f7fb;--ws-panel:#fff;--ws-ink:#0f172a;--ws-muted:#64748b;--ws-line:#dbe3ef;--ws-blue:#3f55c8;--ws-blue2:#6d7df0;--ws-shadow:0 18px 42px rgba(15,23,42,.10)}
:root[data-workspace-theme="executive"]{--ws-bg:#f6f1e8;--ws-panel:#fffaf1;--ws-ink:#1f2937;--ws-muted:#6b5f4d;--ws-line:#e6d9bf;--ws-blue:#8b5e24;--ws-blue2:#b08d57;--ws-shadow:0 18px 42px rgba(82,56,20,.14)}
:root[data-workspace-theme="industrial"]{--ws-bg:#f3f4f6;--ws-panel:#ffffff;--ws-ink:#111827;--ws-muted:#4b5563;--ws-line:#d1d5db;--ws-blue:#0f766e;--ws-blue2:#14b8a6;--ws-shadow:0 18px 42px rgba(17,24,39,.12)}
:root[data-workspace-theme="minimal"]{--ws-bg:#ffffff;--ws-panel:#ffffff;--ws-ink:#111827;--ws-muted:#6b7280;--ws-line:#e5e7eb;--ws-blue:#111827;--ws-blue2:#6b7280;--ws-shadow:0 12px 32px rgba(17,24,39,.08)}
:root[data-workspace-theme="dark"]{--ws-bg:#0f172a;--ws-panel:#111827;--ws-ink:#f8fafc;--ws-muted:#cbd5e1;--ws-line:#334155;--ws-blue:#818cf8;--ws-blue2:#38bdf8;--ws-shadow:0 18px 42px rgba(0,0,0,.36)}
:root[data-workspace-theme="touch"]{--ws-bg:#ecfeff;--ws-panel:#ffffff;--ws-ink:#0f172a;--ws-muted:#475569;--ws-line:#bae6fd;--ws-blue:#0891b2;--ws-blue2:#06b6d4;--ws-shadow:0 18px 42px rgba(8,145,178,.14)}
:root[data-workspace-theme="high-contrast"]{--ws-bg:#000;--ws-panel:#000;--ws-ink:#fff;--ws-muted:#ffff00;--ws-line:#fff;--ws-blue:#ffff00;--ws-blue2:#fff;--ws-ok:#00ff66;--ws-warn:#ffff00;--ws-danger:#ff5555;--ws-shadow:0 0 0 2px #fff;--ws-radius:22px}
*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body.workspace-shell-body{margin:0;min-height:100vh;background:var(--ws-bg);color:var(--ws-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}a{text-decoration:none;color:inherit}button,select,input{font:inherit}.workspace-shell{min-height:100vh;padding-left:var(--ws-dock)}
.ws-header{position:sticky;top:0;z-index:110;background:color-mix(in srgb,var(--ws-bg) 88%,var(--ws-panel) 12%);border-bottom:1px solid var(--ws-line);box-shadow:0 12px 36px rgba(15,23,42,.08);padding:18px 24px;display:grid;gap:12px;min-height:var(--ws-header-h);overflow:visible}.ws-header-row{display:flex;align-items:center;gap:16px;min-width:0}.ws-primary-row{justify-content:space-between}.ws-action-row{justify-content:flex-end;gap:10px;flex-wrap:wrap}.ws-brand{display:flex;align-items:center;gap:14px;min-width:260px;max-width:360px;flex:0 1 340px}.ws-brand-mark{width:58px;height:58px;min-width:58px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(135deg,var(--ws-blue),var(--ws-blue2));color:#fff;font-size:26px;font-weight:1000;box-shadow:0 18px 34px color-mix(in srgb,var(--ws-blue) 32%,transparent)}.ws-brand-copy{min-width:0}.ws-eyebrow{font-size:12px;line-height:1.2;text-transform:uppercase;letter-spacing:.14em;font-weight:950;color:var(--ws-blue);max-width:100%;overflow:hidden;text-overflow:ellipsis}.ws-brand h1{margin:3px 0 0;font-size:28px;line-height:1.05;font-weight:1000;letter-spacing:-.04em;color:var(--ws-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ws-welcome{flex:0 1 360px;min-width:260px;border:1px solid var(--ws-line);background:var(--ws-panel);border-radius:22px;padding:11px 16px;box-shadow:0 12px 30px rgba(15,23,42,.06);min-height:58px}.ws-welcome-line{font-size:16px;font-weight:950;line-height:1.15;color:var(--ws-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ws-welcome-line strong{color:var(--ws-ink)}.ws-welcome-meta{display:flex;gap:6px;margin-top:5px;color:var(--ws-muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ws-command{flex:0 1 330px;min-width:260px;max-width:350px;height:56px;border:1px solid var(--ws-line);border-radius:22px;background:var(--ws-panel);display:flex;align-items:center;gap:12px;padding:0 12px;cursor:pointer;box-shadow:0 12px 30px rgba(15,23,42,.06);color:var(--ws-muted);font-weight:900}.ws-command-icon{width:32px;height:32px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--ws-blue) 12%,var(--ws-panel));color:var(--ws-blue);flex:0 0 auto}.ws-command span:not(.ws-command-icon){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ws-command kbd{margin-left:auto;border:1px solid var(--ws-line);border-radius:10px;padding:4px 8px;background:var(--ws-panel);color:var(--ws-ink);font-size:12px;font-weight:950}.ws-language{margin:0;display:flex;align-items:center}.ws-language select{width:136px;max-width:136px;height:48px;border:1px solid var(--ws-line);border-radius:16px;background:var(--ws-panel);color:var(--ws-ink);font-weight:950;padding:0 38px 0 14px;box-shadow:0 10px 24px rgba(15,23,42,.06)}.ws-top-btn{height:48px;border:1px solid var(--ws-line);border-radius:16px;background:var(--ws-panel);color:var(--ws-ink);font-weight:950;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;min-width:84px;cursor:pointer;box-shadow:0 10px 24px rgba(15,23,42,.06);white-space:nowrap}.ws-top-btn:hover{transform:translateY(-1px);border-color:var(--ws-blue);color:var(--ws-blue)}.ws-top-btn.teos{background:linear-gradient(135deg,var(--ws-blue),var(--ws-blue2));border-color:transparent;color:#fff}.ws-top-btn.danger{background:#0f172a;color:#fff;border-color:#0f172a}.ws-logout-form{margin:0;display:inline-flex}.ws-dock{position:fixed;left:0;top:var(--ws-header-h);bottom:0;width:var(--ws-dock);z-index:105;background:#0f172a;border-right:1px solid rgba(255,255,255,.10);padding:14px 10px;display:flex;flex-direction:column;gap:10px;overflow-x:hidden;overflow-y:auto}.ws-dock-item{width:60px;min-height:64px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:rgba(255,255,255,.06);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-weight:950;text-align:center;overflow:hidden}.ws-dock-item.active,.ws-dock-item:hover{background:#fff;color:#0f172a}.ws-dock-icon{display:block;font-size:18px;line-height:1}.ws-dock-text{display:block;width:100%;font-size:10px;line-height:1.05;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 3px}.ws-main{padding:28px 32px 60px;max-width:1920px;margin:0 auto}.ws-hero{margin:0 0 28px;border-radius:30px;padding:28px 34px;background:linear-gradient(135deg,#111f54,var(--ws-blue));color:#fff;display:flex;justify-content:space-between;align-items:center;gap:18px;box-shadow:var(--ws-shadow)}.ws-hero-kicker{font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:1000;color:#aebcff}.ws-hero p{margin:9px 0 0;font-size:18px;line-height:1.45;color:#fff}.ws-hero-status{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:12px 18px;background:rgba(255,255,255,.12);font-weight:1000}.ws-hero-status span{width:14px;height:14px;border-radius:50%;background:var(--ws-ok);box-shadow:0 0 0 7px rgba(22,163,74,.18)}.summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin-bottom:28px}.summary-card{min-height:118px;background:var(--ws-panel);border:1px solid var(--ws-line);border-radius:24px;padding:22px;box-shadow:var(--ws-shadow)}.summary-card span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.10em;font-weight:1000;color:var(--ws-muted)}.summary-card strong{display:block;margin-top:10px;font-size:34px;line-height:1;color:var(--ws-ink)}.workspace-intro-panel,.admin-panel{background:var(--ws-panel);border:1px solid var(--ws-line);border-radius:26px;padding:26px;box-shadow:var(--ws-shadow);margin-bottom:28px}.workspace-intro-panel h2,.admin-panel h2{margin:0 0 8px;font-size:30px;color:var(--ws-ink);letter-spacing:-.03em}.workspace-intro-panel p{margin:0;color:var(--ws-muted);font-size:17px;line-height:1.45}.workspace-intro-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.workspace-intro-actions span{display:inline-flex;border:1px solid var(--ws-line);border-radius:999px;padding:10px 15px;color:var(--ws-ink);font-weight:950;background:color-mix(in srgb,var(--ws-panel) 92%,var(--ws-bg) 8%)}.grid{display:grid;grid-template-columns:repeat(3,minmax(300px,1fr));gap:26px;margin-bottom:32px}.workspace-card{position:relative;min-height:330px;background:var(--ws-panel);border:1px solid var(--ws-line);border-radius:26px;padding:28px;color:var(--ws-ink);box-shadow:var(--ws-shadow);overflow:hidden}.workspace-card .top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.workspace-card .icon{width:66px;height:66px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,var(--ws-blue),var(--ws-blue2));color:#fff;font-size:24px;font-weight:1000}.workspace-card .category{font-size:12px;letter-spacing:.10em;text-transform:uppercase;color:var(--ws-blue);font-weight:1000;margin:12px 0 8px}.workspace-card .card-title{margin:0 0 10px;font-size:26px;line-height:1.1;letter-spacing:-.03em;color:var(--ws-ink)}.workspace-card .desc{margin:0;color:var(--ws-muted);font-size:16px;line-height:1.45}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:7px 12px;background:#dcfce7;color:#166534;font-size:12px;font-weight:1000;text-transform:uppercase}.badge.locked{background:#f1f5f9;color:#64748b}.badge.trial{background:#fef3c7;color:#92400e}.badge.platform{background:#dcfce7;color:#166534}.contract,.metrics,.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}.contract div,.metric,.admin-grid div{border:1px solid var(--ws-line);border-radius:14px;padding:12px;background:color-mix(in srgb,var(--ws-panel) 88%,var(--ws-bg) 12%)}.contract span,.metric span,.admin-grid span{display:block;color:var(--ws-muted);font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:900}.contract strong,.metric strong,.admin-grid strong{display:block;margin-top:4px;color:var(--ws-ink);font-weight:950}.footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:999px;padding:0 17px;background:var(--ws-blue);color:#fff;font-weight:950;border:1px solid transparent}.btn.ghost{background:var(--ws-panel);color:var(--ws-blue);border-color:var(--ws-line)}.btn.disabled{background:#e5e7eb;color:#64748b}.marketplace{color:var(--ws-muted);font-size:12px;font-weight:850}.ws-command-palette,.ws-theme-panel{position:fixed;inset:0;z-index:250;background:rgba(15,23,42,.42);display:none;align-items:flex-start;justify-content:center;padding:110px 22px}.ws-command-palette.open,.ws-theme-panel.open{display:flex}.ws-command-panel,.ws-theme-dialog{width:min(860px,100%);background:var(--ws-panel);color:var(--ws-ink);border:1px solid var(--ws-line);border-radius:28px;box-shadow:0 28px 80px rgba(15,23,42,.26);overflow:hidden}.ws-command-search{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid var(--ws-line)}.ws-command-search input{flex:1;border:0;outline:0;font-size:18px;font-weight:800;color:var(--ws-ink);background:transparent}.ws-command-search button,.ws-theme-dialog-head button{border:0;background:var(--ws-bg);color:var(--ws-ink);border-radius:12px;width:38px;height:38px;font-size:20px;font-weight:900;cursor:pointer}.ws-command-results{display:grid;gap:8px;padding:14px}.ws-command-results a{display:block;border:1px solid var(--ws-line);border-radius:16px;padding:12px 14px;font-weight:900;color:var(--ws-ink);background:color-mix(in srgb,var(--ws-panel) 88%,var(--ws-bg) 12%)}.ws-theme-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid var(--ws-line)}.ws-theme-dialog-head strong{display:block;font-size:18px;color:var(--ws-ink)}.ws-theme-dialog-head span{display:block;margin-top:4px;color:var(--ws-muted);font-size:13px}.ws-theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:22px}.ws-theme-options button{text-align:left;border:1px solid var(--ws-line);border-radius:20px;background:var(--ws-panel);color:var(--ws-ink);padding:14px;min-height:112px;cursor:pointer;display:grid;gap:6px}.swatch{width:100%;height:34px;border-radius:14px;border:1px solid var(--ws-line);display:block}.swatch.corporate{background:linear-gradient(90deg,#f5f7fb,#3f55c8)}.swatch.executive{background:linear-gradient(90deg,#111827,#b08d57)}.swatch.industrial{background:linear-gradient(90deg,#f3f4f6,#0f766e)}.swatch.minimal{background:linear-gradient(90deg,#fff,#111827)}.swatch.dark{background:linear-gradient(90deg,#0f172a,#818cf8)}.swatch.high-contrast{background:linear-gradient(90deg,#000,#facc15)}.swatch.touch{background:linear-gradient(90deg,#ecfeff,#06b6d4)}.ws-notification-center{position:fixed;right:24px;bottom:24px;z-index:90;background:var(--ws-panel);border:1px solid var(--ws-line);border-radius:18px;padding:14px 16px;box-shadow:var(--ws-shadow);display:flex;flex-direction:column;gap:4px;max-width:300px;color:var(--ws-ink)}.ws-notification-center span{color:var(--ws-muted);font-size:13px}.ws-toast{position:fixed;right:24px;bottom:24px;z-index:300;background:var(--ws-panel);color:var(--ws-ink);border:1px solid var(--ws-line);border-radius:18px;padding:16px 18px;box-shadow:var(--ws-shadow);max-width:min(420px,calc(100vw - 48px));font-weight:800;transform:translateY(20px);opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease}.ws-toast.show{opacity:1;transform:translateY(0)}
:root[data-workspace-theme="high-contrast"] body.workspace-shell-body{background:#000;color:#fff}:root[data-workspace-theme="high-contrast"] .ws-header,:root[data-workspace-theme="high-contrast"] .ws-welcome,:root[data-workspace-theme="high-contrast"] .ws-command,:root[data-workspace-theme="high-contrast"] .workspace-card,:root[data-workspace-theme="high-contrast"] .summary-card,:root[data-workspace-theme="high-contrast"] .admin-panel,:root[data-workspace-theme="high-contrast"] .workspace-intro-panel,:root[data-workspace-theme="high-contrast"] .ws-theme-dialog,:root[data-workspace-theme="high-contrast"] .ws-command-panel,:root[data-workspace-theme="high-contrast"] .ws-notification-center{background:#000!important;color:#fff!important;border-color:#fff!important;box-shadow:0 0 0 2px #fff!important}:root[data-workspace-theme="high-contrast"] .ws-brand h1,:root[data-workspace-theme="high-contrast"] .ws-welcome-line,:root[data-workspace-theme="high-contrast"] .ws-welcome-line strong,:root[data-workspace-theme="high-contrast"] .card-title,:root[data-workspace-theme="high-contrast"] .summary-card strong,:root[data-workspace-theme="high-contrast"] .contract strong,:root[data-workspace-theme="high-contrast"] .metric strong,:root[data-workspace-theme="high-contrast"] .admin-grid strong,:root[data-workspace-theme="high-contrast"] .ws-command span,:root[data-workspace-theme="high-contrast"] .ws-command kbd,:root[data-workspace-theme="high-contrast"] .ws-hero p{color:#fff!important}:root[data-workspace-theme="high-contrast"] .ws-eyebrow,:root[data-workspace-theme="high-contrast"] .ws-welcome-meta,:root[data-workspace-theme="high-contrast"] .category,:root[data-workspace-theme="high-contrast"] .desc,:root[data-workspace-theme="high-contrast"] .summary-card span,:root[data-workspace-theme="high-contrast"] .contract span,:root[data-workspace-theme="high-contrast"] .metric span,:root[data-workspace-theme="high-contrast"] .admin-grid span,:root[data-workspace-theme="high-contrast"] .workspace-intro-panel p{color:#ffff00!important}:root[data-workspace-theme="high-contrast"] .btn,:root[data-workspace-theme="high-contrast"] .ws-top-btn{background:#ffff00!important;color:#000!important;border-color:#fff!important}:root[data-workspace-theme="high-contrast"] .ws-top-btn.teos,:root[data-workspace-theme="high-contrast"] .ws-top-btn.danger{background:#fff!important;color:#000!important}:root[data-workspace-theme="high-contrast"] .ws-dock{background:#000!important;border-color:#fff!important}:root[data-workspace-theme="high-contrast"] .ws-dock-item{background:#000!important;color:#fff!important;border-color:#fff!important;box-shadow:0 0 0 1px #fff!important}:root[data-workspace-theme="high-contrast"] .ws-dock-item.active,:root[data-workspace-theme="high-contrast"] .ws-dock-item:hover{background:#fff!important;color:#000!important}
@media (max-width:1500px){:root{--ws-header-h:176px}.ws-primary-row{flex-wrap:wrap}.ws-brand{max-width:330px}.ws-command{max-width:320px}.ws-action-row{justify-content:flex-end}.ws-dock{top:var(--ws-header-h)}}
@media (max-width:1180px){:root{--ws-header-h:250px}.ws-header-row{align-items:stretch}.ws-primary-row,.ws-action-row{justify-content:flex-start}.ws-brand,.ws-welcome,.ws-command{flex:1 1 100%;max-width:none}.summary{grid-template-columns:repeat(2,minmax(0,1fr))}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ws-theme-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){:root{--ws-dock:0;--ws-header-h:auto}.workspace-shell{padding-left:0}.ws-header{position:relative;min-height:0}.ws-dock{position:sticky;top:0;left:0;right:0;width:auto;height:auto;flex-direction:row;overflow:auto;border-right:0;border-bottom:1px solid rgba(255,255,255,.08);padding:10px}.ws-dock-item{flex:0 0 62px}.ws-main{padding:16px}.ws-hero{flex-direction:column;align-items:flex-start}.summary,.grid,.contract,.metrics,.admin-grid{grid-template-columns:1fr}.workspace-card{min-height:280px}.ws-command{display:none}.ws-welcome-meta{white-space:normal}.ws-theme-options{grid-template-columns:1fr}.ws-brand h1{font-size:22px}.ws-brand-mark{width:50px;height:50px;min-width:50px}}
/* TEOS Capability migration into Workspace OS */
.teos-workspace-view .teos-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.teos-workspace-view .teos-control-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,.85fr);gap:22px;margin-bottom:24px}.teos-workspace-view .teos-panel,.teos-workspace-view .teos-metric-card,.teos-workspace-view .teos-command-tile,.teos-workspace-view .teos-info-card,.teos-workspace-view .teds-commerce-card,.teos-workspace-view .teds-component{background:var(--ws-panel);border:1px solid var(--ws-line);border-radius:24px;box-shadow:var(--ws-shadow);color:var(--ws-ink)}.teos-workspace-view .teos-metric-card{position:relative;overflow:hidden;padding:22px;min-height:148px}.teos-workspace-view .teos-metric-card span,.teos-workspace-view .teos-info-card span{display:block;color:var(--ws-muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:950}.teos-workspace-view .teos-metric-card strong{display:block;margin:8px 0 4px;font-size:42px;letter-spacing:-.05em;color:var(--ws-ink)}.teos-workspace-view .teos-metric-card small,.teos-workspace-view .teos-info-card small,.teos-workspace-view .teos-command-tile small{color:var(--ws-muted);font-weight:750}.teos-workspace-view .teos-panel{padding:24px;margin-bottom:24px}.teos-workspace-view .teos-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.teos-workspace-view .teos-panel-head h2{margin:0;font-size:24px;letter-spacing:-.03em;color:var(--ws-ink)}.teos-workspace-view .teos-chip,.teos-workspace-view .teos-live-badge,.teos-workspace-view .teos-badge{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:7px 10px;background:color-mix(in srgb,var(--ws-blue) 14%,var(--ws-panel));color:var(--ws-blue);font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}.teos-workspace-view .teos-live-badge span{width:9px;height:9px;border-radius:999px;background:var(--ws-ok);box-shadow:0 0 0 5px color-mix(in srgb,var(--ws-ok) 16%,transparent)}.teos-workspace-view .teos-badge.success{background:#dcfce7;color:#166534}.teos-workspace-view .teos-badge.danger{background:#fee2e2;color:#991b1b}.teos-workspace-view .teos-badge.warning{background:#fef3c7;color:#92400e}.teos-workspace-view .teos-command-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.teos-workspace-view .teos-command-tile{display:block;padding:20px;min-height:160px;transition:.16s ease}.teos-workspace-view .teos-command-tile:hover{transform:translateY(-3px);border-color:var(--ws-blue)}.teos-workspace-view .teos-command-icon{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,var(--ws-blue),var(--ws-blue2));color:#fff;font-weight:1000;margin-bottom:16px}.teos-workspace-view .teos-command-tile strong{display:block;font-size:18px;margin-bottom:8px;color:var(--ws-ink)}.teos-workspace-view .teos-status-list{display:grid;gap:12px;margin:0}.teos-workspace-view .teos-status-list div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:14px;padding:13px;border-radius:16px;background:color-mix(in srgb,var(--ws-panel) 88%,var(--ws-bg) 12%);border:1px solid var(--ws-line)}.teos-workspace-view .teos-status-list dt{font-weight:950;color:var(--ws-muted)}.teos-workspace-view .teos-status-list dd{margin:0;min-width:0;overflow-wrap:anywhere;color:var(--ws-ink)}.teos-workspace-view .teds-component-strip,.teos-workspace-view .teds-commerce-grid,.teos-workspace-view .teos-module-grid,.teos-workspace-view .teos-mini-grid,.teos-workspace-view .teos-capability-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.teos-workspace-view .teds-component,.teos-workspace-view .teds-commerce-card,.teos-workspace-view .teos-info-card{padding:18px}.teos-workspace-view table{width:100%;border-collapse:separate;border-spacing:0 8px}.teos-workspace-view th,.teos-workspace-view td{text-align:left;padding:12px;border-top:1px solid var(--ws-line);border-bottom:1px solid var(--ws-line);background:var(--ws-panel);color:var(--ws-ink)}.teos-workspace-view th{color:var(--ws-muted);text-transform:uppercase;font-size:12px;letter-spacing:.08em}.teos-workspace-view .teos-left-rail,.teos-workspace-view .teos-topbar,.teos-workspace-view .teos-app-shell{display:contents!important}
@media(max-width:1180px){.teos-workspace-view .teos-metric-grid,.teos-workspace-view .teos-control-grid,.teos-workspace-view .teos-command-map,.teos-workspace-view .teds-component-strip,.teos-workspace-view .teds-commerce-grid,.teos-workspace-view .teos-module-grid,.teos-workspace-view .teos-mini-grid,.teos-workspace-view .teos-capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.teos-workspace-view .teos-metric-grid,.teos-workspace-view .teos-control-grid,.teos-workspace-view .teos-command-map,.teos-workspace-view .teds-component-strip,.teos-workspace-view .teds-commerce-grid,.teos-workspace-view .teos-module-grid,.teos-workspace-view .teos-mini-grid,.teos-workspace-view .teos-capability-grid{grid-template-columns:1fr}}
:root[data-workspace-theme="high-contrast"] .teos-workspace-view .teos-panel,:root[data-workspace-theme="high-contrast"] .teos-workspace-view .teos-metric-card,:root[data-workspace-theme="high-contrast"] .teos-workspace-view .teos-command-tile,:root[data-workspace-theme="high-contrast"] .teos-workspace-view .teos-info-card,:root[data-workspace-theme="high-contrast"] .teos-workspace-view .teds-commerce-card,:root[data-workspace-theme="high-contrast"] .teos-workspace-view .teds-component{background:#000!important;color:#fff!important;border-color:#fff!important;box-shadow:0 0 0 2px #fff!important}:root[data-workspace-theme="high-contrast"] .teos-workspace-view *{text-shadow:none!important}:root[data-workspace-theme="high-contrast"] .teos-workspace-view .teos-chip,:root[data-workspace-theme="high-contrast"] .teos-workspace-view .teos-badge,:root[data-workspace-theme="high-contrast"] .teos-workspace-view .teos-live-badge{background:#ffff00!important;color:#000!important;border:1px solid #fff!important}


/* Workspace OS 3.0 Capability Platform */
:root[data-workspace-theme="accessibility"]{--ws-bg:#f8fafc;--ws-panel:#ffffff;--ws-ink:#020617;--ws-muted:#334155;--ws-line:#64748b;--ws-blue:#1d4ed8;--ws-blue2:#2563eb;--ws-shadow:0 0 0 1px rgba(30,64,175,.20);--ws-radius:18px}
:root[data-workspace-theme="tablet"]{--ws-bg:#f0f9ff;--ws-panel:#ffffff;--ws-ink:#0c4a6e;--ws-muted:#0369a1;--ws-line:#7dd3fc;--ws-blue:#0284c7;--ws-blue2:#0ea5e9;--ws-shadow:0 20px 44px rgba(2,132,199,.16);--ws-radius:30px;--ws-header-h:156px;--ws-dock:92px}
:root[data-workspace-theme="mobile"]{--ws-bg:#f8fafc;--ws-panel:#ffffff;--ws-ink:#111827;--ws-muted:#475569;--ws-line:#cbd5e1;--ws-blue:#4f46e5;--ws-blue2:#7c3aed;--ws-shadow:0 16px 34px rgba(79,70,229,.14);--ws-radius:24px;--ws-header-h:132px;--ws-dock:72px}
.ws-header{grid-template-columns:1fr}.ws-primary-row{min-width:0}.ws-action-row{align-items:center}.ws-command{max-width:330px}.ws-language select{width:128px;max-width:128px}.ws-notification-center{position:fixed;right:24px;top:calc(var(--ws-header-h) + 24px);z-index:150;width:min(360px,calc(100vw - 48px));border:1px solid var(--ws-line);background:var(--ws-panel);color:var(--ws-ink);border-radius:24px;padding:18px;box-shadow:var(--ws-shadow);display:grid;gap:10px;transform:translateX(24px);opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease}.ws-notification-center.open{opacity:1;transform:translateX(0);pointer-events:auto}.ws-notification-center strong{font-size:18px}.ws-notification-center span,.ws-notification-items{color:var(--ws-muted);font-weight:800}.ws-notification-items{display:grid;gap:8px;font-size:13px}.ws-theme-options .swatch.accessibility{background:linear-gradient(135deg,#1d4ed8,#fff)}.ws-theme-options .swatch.tablet{background:linear-gradient(135deg,#0284c7,#7dd3fc)}.ws-theme-options .swatch.mobile{background:linear-gradient(135deg,#4f46e5,#7c3aed)}
@media (max-width:1180px){.workspace-shell{padding-left:0;padding-bottom:84px}.ws-dock{top:auto;bottom:0;left:0;right:0;width:100%;height:76px;flex-direction:row;justify-content:flex-start;overflow-x:auto;padding:10px 12px}.ws-dock-item{min-width:68px}.ws-header{position:relative;--ws-header-h:auto}.ws-primary-row{flex-wrap:wrap}.ws-brand{max-width:none}.ws-command{flex:1 1 260px}.ws-main{padding-bottom:100px}}
@media (max-width:760px){.ws-header{padding:14px}.ws-brand h1{font-size:22px}.ws-brand-mark{width:48px;height:48px;min-width:48px}.ws-welcome,.ws-command{min-width:100%;max-width:none}.ws-action-row{justify-content:flex-start}.ws-language select{width:118px}.ws-top-btn{min-height:44px;padding-left:12px;padding-right:12px}.ws-hero{display:block}.summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Workspace OS 3.0 Wave 4.7 - adaptive bottom dock
   The responsive dock must never expose a nested scrollbar. On tablet/mobile
   widths every dock item shrinks inside the available row, preserving One Shell
   behavior without changing template structure or capability routing. */
@media (max-width:1180px){
  .workspace-shell{
    padding-left:0;
    padding-bottom:96px;
  }
  .ws-dock{
    top:auto;
    bottom:0;
    left:0;
    right:0;
    width:100%;
    height:auto;
    min-height:76px;
    max-height:96px;
    flex-direction:row;
    align-items:stretch;
    justify-content:stretch;
    gap:10px;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom));
    overflow-x:hidden;
    overflow-y:hidden;
    overscroll-behavior:contain;
    scrollbar-width:none;
  }
  .ws-dock::-webkit-scrollbar{
    width:0;
    height:0;
    display:none;
  }
  .ws-dock-item{
    flex:1 1 0;
    width:auto;
    min-width:0;
    max-width:112px;
    min-height:64px;
    height:64px;
    padding:6px 4px;
  }
  .ws-dock-icon{
    font-size:clamp(15px,2vw,18px);
  }
  .ws-dock-text{
    font-size:clamp(8px,1.35vw,10px);
    line-height:1.05;
    letter-spacing:.02em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .ws-main{
    padding-bottom:116px;
  }
}

@media (max-width:760px){
  .workspace-shell{
    padding-bottom:92px;
  }
  .ws-dock{
    position:fixed;
    top:auto;
    bottom:0;
    left:0;
    right:0;
    width:100%;
    height:auto;
    min-height:72px;
    max-height:92px;
    flex-direction:row;
    gap:8px;
    padding:9px 10px calc(9px + env(safe-area-inset-bottom));
    border-right:0;
    border-top:1px solid rgba(255,255,255,.10);
    border-bottom:0;
    overflow:hidden;
    scrollbar-width:none;
  }
  .ws-dock-item{
    flex:1 1 0;
    width:auto;
    min-width:0;
    max-width:none;
    min-height:58px;
    height:58px;
    border-radius:16px;
    gap:3px;
  }
  .ws-dock-icon{
    font-size:15px;
  }
  .ws-dock-text{
    font-size:8px;
  }
  .ws-main{
    padding-bottom:108px;
  }
}

/* Workspace OS 3.0 Wave 4.8 - Operational 1:1 Adaptive Workspace Shell
   Implements the approved square-layout visual model: dark enterprise header,
   persistent left capability rail and self-sizing bottom quick dock with no
   nested scrollbar. The change is CSS/template-only and keeps routing/IAM data
   from the existing Workspace runtime. */
:root{
  --ws-header-h:84px;
  --ws-dock:236px;
  --ws-bottom-dock-h:116px;
  --ws-shell-dark:#071426;
  --ws-shell-dark-2:#0d1b31;
  --ws-shell-blue:#4656f0;
}
body.workspace-shell-body{
  background:linear-gradient(180deg,#f8fbff 0%,#eef3fb 100%);
  overflow-x:hidden;
}
.workspace-shell{
  min-height:100vh;
  padding-left:var(--ws-dock);
  padding-bottom:calc(var(--ws-bottom-dock-h) + 34px);
}
.ws-header{
  position:sticky;
  top:0;
  z-index:220;
  min-height:var(--ws-header-h);
  height:var(--ws-header-h);
  padding:12px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  background:linear-gradient(135deg,var(--ws-shell-dark),var(--ws-shell-dark-2));
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.10);
  box-shadow:0 18px 42px rgba(2,8,23,.22);
  overflow:visible;
}
.ws-header-row{min-width:0}.ws-primary-row{flex:1 1 auto;justify-content:flex-start}.ws-action-row{flex:0 0 auto;justify-content:flex-end;flex-wrap:nowrap;gap:10px}.ws-brand{min-width:210px;max-width:260px;flex:0 0 250px}.ws-brand-mark{width:50px;height:50px;min-width:50px;border-radius:16px;background:linear-gradient(135deg,#0ea5e9,#4656f0);box-shadow:none}.ws-eyebrow{color:#dbeafe;font-size:11px;letter-spacing:.08em}.ws-brand h1{color:#fff;font-size:20px;letter-spacing:-.02em}.ws-welcome{display:none}.ws-command{height:48px;max-width:360px;min-width:260px;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16);box-shadow:none;color:#cbd5e1;border-radius:14px}.ws-command-icon{background:rgba(255,255,255,.08);color:#fff}.ws-command kbd{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14);color:#e2e8f0}.ws-language select,.ws-top-btn{height:46px;background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.16);box-shadow:none;color:#fff;border-radius:14px;min-width:48px}.ws-language select{width:78px;max-width:78px;padding-left:12px}.ws-top-btn{padding:0 12px}.ws-top-btn.teos{background:transparent;border-color:rgba(255,255,255,.16);color:#fff}.ws-top-btn.danger{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16);color:#fff}.ws-top-btn:hover{border-color:#93c5fd;color:#fff;transform:none}
.ws-dock{
  position:fixed;
  top:var(--ws-header-h);
  bottom:var(--ws-bottom-dock-h);
  left:0;
  z-index:160;
  width:var(--ws-dock);
  height:auto;
  min-height:0;
  max-height:none;
  padding:20px 14px;
  background:linear-gradient(180deg,#071426 0%,#0d1b31 100%);
  border-right:1px solid rgba(255,255,255,.10);
  border-top:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
  overflow:hidden;
  scrollbar-width:none;
}
.ws-dock::-webkit-scrollbar{display:none}.ws-dock-item{width:100%;height:44px;min-height:44px;max-width:none;flex:0 0 44px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;padding:0 12px;border-radius:12px;border:0;background:transparent;color:#f8fafc;text-align:left}.ws-dock-item.active,.ws-dock-item:hover{background:linear-gradient(135deg,#4656f0,#5b6df5);color:#fff}.ws-dock-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:rgba(56,189,248,.22);font-size:15px;line-height:1;flex:0 0 28px}.ws-dock-text{font-size:14px;text-transform:none;letter-spacing:0;line-height:1.1;padding:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ws-main{max-width:none;margin:0;padding:28px 38px calc(var(--ws-bottom-dock-h) + 56px)}.ws-hero{background:transparent;color:var(--ws-ink);box-shadow:none;padding:0;margin:0 0 24px;border-radius:0}.ws-hero-kicker{display:none}.ws-hero p{color:var(--ws-muted);font-size:18px}.ws-hero-status{display:none}.grid{grid-template-columns:repeat(2,minmax(320px,1fr));gap:22px}.workspace-card,.workspace-widget,.workspace-panel,.workspace-view-card{border-radius:20px;box-shadow:0 18px 45px rgba(15,23,42,.08)}
.ws-bottom-dock{
  position:fixed;
  left:calc(var(--ws-dock) + 14px);
  right:14px;
  bottom:14px;
  z-index:260;
  min-height:78px;
  max-height:calc(var(--ws-bottom-dock-h) - 24px);
  padding:10px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(clamp(58px,6.6vw,96px),1fr));
  grid-auto-rows:minmax(58px,1fr);
  gap:10px;
  align-items:stretch;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  border-radius:18px;
  background:linear-gradient(135deg,#071426,#111827);
  box-shadow:0 18px 42px rgba(2,8,23,.30);
}
.ws-bottom-dock-item{min-width:0;min-height:58px;border:1px solid rgba(255,255,255,.13);border-radius:15px;background:rgba(255,255,255,.06);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px 5px;font-weight:1000;text-align:center;overflow:hidden}.ws-bottom-dock-item.active,.ws-bottom-dock-item:hover{background:#fff;color:#4656f0;border-color:#fff}.ws-bottom-dock-icon{font-size:clamp(15px,1.6vw,22px);line-height:1}.ws-bottom-dock-text{width:100%;font-size:clamp(8px,.95vw,11px);line-height:1.05;text-transform:uppercase;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ws-footer{position:fixed;left:var(--ws-dock);right:0;bottom:0;z-index:120;height:28px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 28px;color:#475569;background:rgba(248,250,252,.92);border-top:1px solid var(--ws-line);font-size:12px;font-weight:750}.ws-footer-links{white-space:nowrap}
@media (max-width:1180px) and (min-width:900px){
  :root{--ws-dock:220px;--ws-bottom-dock-h:132px}.workspace-shell{padding-left:var(--ws-dock);padding-bottom:calc(var(--ws-bottom-dock-h) + 34px)}.ws-header{position:sticky;--ws-header-h:84px}.ws-dock{top:84px;bottom:var(--ws-bottom-dock-h);left:0;right:auto;width:var(--ws-dock);height:auto;min-height:0;max-height:none;flex-direction:column;gap:7px;padding:18px 12px;overflow:hidden;border-right:1px solid rgba(255,255,255,.10);border-top:0}.ws-dock-item{flex:0 0 42px;width:100%;min-width:0;max-width:none;height:42px;min-height:42px;flex-direction:row;justify-content:flex-start}.ws-main{padding:24px 26px calc(var(--ws-bottom-dock-h) + 54px)}.grid{grid-template-columns:repeat(2,minmax(260px,1fr));gap:18px}.ws-bottom-dock{left:calc(var(--ws-dock) + 12px);right:12px;bottom:12px;min-height:78px;max-height:108px;grid-template-columns:repeat(auto-fit,minmax(54px,1fr));grid-auto-rows:minmax(54px,1fr);gap:8px;padding:8px}.ws-bottom-dock-item{min-height:54px}.ws-footer{left:var(--ws-dock)}
}
@media (max-width:899px){
  :root{--ws-dock:0px;--ws-bottom-dock-h:118px}.workspace-shell{padding-left:0;padding-bottom:calc(var(--ws-bottom-dock-h) + 24px)}.ws-header{height:auto;min-height:84px;flex-wrap:wrap;padding:12px 14px}.ws-primary-row,.ws-action-row{width:100%;flex-wrap:wrap}.ws-brand{flex:1 1 200px;max-width:none}.ws-command{flex:1 1 240px;max-width:none}.ws-dock{display:none!important}.ws-main{padding:22px 16px calc(var(--ws-bottom-dock-h) + 44px)}.grid{grid-template-columns:1fr}.ws-bottom-dock{left:10px;right:10px;bottom:10px;max-height:calc(var(--ws-bottom-dock-h) - 20px);grid-template-columns:repeat(auto-fit,minmax(52px,1fr));grid-auto-rows:minmax(52px,1fr);gap:8px;padding:8px}.ws-bottom-dock-item{min-height:52px;border-radius:13px}.ws-footer{display:none}
}
@media (max-width:560px){.ws-language select{width:70px;max-width:70px}.ws-top-btn{min-width:44px;font-size:12px}.ws-command kbd{display:none}.ws-bottom-dock{grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:6px}.ws-bottom-dock-text{font-size:7px}.ws-bottom-dock-icon{font-size:14px}}

/* Workspace OS 3.0 Wave 4.9 - Operational visual alignment
   Purpose: make the real Workspace Shell match the approved 1:1 visual model:
   dark enterprise header, persistent left rail, stable square-ready content area,
   adaptive bottom dock with no internal scrollbar and no overlay regressions. */
:root{
  --ws-header-h:84px;
  --ws-rail-w:236px;
  --ws-bottom-dock-h:112px;
  --ws-footer-h:34px;
  --ws-shell-dark:#08172b;
  --ws-shell-dark-2:#0d1e35;
  --ws-shell-border:rgba(255,255,255,.14);
  --ws-shell-soft:rgba(255,255,255,.075);
}
html,body{min-height:100%;overflow-x:hidden;}
body.workspace-shell-body{background:#f6f8fc;color:#0f172a;}
.workspace-shell{
  min-height:100vh;
  padding-left:var(--ws-rail-w)!important;
  padding-top:var(--ws-header-h)!important;
  padding-bottom:calc(var(--ws-bottom-dock-h) + var(--ws-footer-h) + 18px)!important;
  background:
    radial-gradient(circle at 52% 0%, rgba(70,86,240,.08), transparent 34%),
    linear-gradient(180deg,#f8fbff 0%,#f3f6fb 100%);
}
.ws-header{
  position:fixed!important;
  top:0;left:0;right:0;z-index:300;
  height:var(--ws-header-h)!important;
  min-height:var(--ws-header-h)!important;
  padding:12px 18px!important;
  display:flex!important;
  align-items:center!important;
  gap:18px!important;
  background:linear-gradient(180deg,#061629 0%,#0a1b31 100%)!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 18px 50px rgba(2,8,23,.22)!important;
}
.ws-header-row{min-width:0!important;}
.ws-primary-row{flex:1 1 auto!important;display:flex!important;align-items:center!important;gap:18px!important;}
.ws-action-row{flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:nowrap!important;}
.ws-brand{flex:0 0 230px!important;max-width:230px!important;min-width:230px!important;display:flex!important;align-items:center!important;gap:12px!important;}
.ws-brand-mark{
  width:50px!important;height:50px!important;min-width:50px!important;
  border-radius:16px!important;background:linear-gradient(135deg,#0ea5e9,#4f46e5)!important;
  color:#fff!important;font-size:0!important;text-decoration:none!important;position:relative!important;
  box-shadow:0 12px 30px rgba(14,165,233,.22)!important;
}
.ws-brand-mark::before{content:"";width:24px;height:24px;border-radius:7px;display:block;background:linear-gradient(135deg,#38bdf8,#2563eb);box-shadow:inset 0 0 0 4px rgba(255,255,255,.16);position:absolute;inset:13px;transform:rotate(45deg);}
.ws-brand-copy{min-width:0!important;color:#fff!important;}
.ws-eyebrow{color:#c7d2fe!important;font-size:10px!important;letter-spacing:.07em!important;text-transform:uppercase!important;line-height:1.15!important;font-weight:900!important;}
.ws-brand h1{color:#fff!important;font-size:18px!important;line-height:1.05!important;letter-spacing:-.025em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:170px!important;}
.ws-welcome{display:none!important;}
.ws-command{
  flex:0 1 370px!important;max-width:370px!important;min-width:260px!important;height:48px!important;
  border-radius:14px!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.15)!important;
  color:#cbd5e1!important;box-shadow:none!important;padding:0 12px!important;font-weight:800!important;
}
.ws-command-icon{width:32px!important;height:32px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;border-radius:10px!important;}
.ws-command kbd{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.14)!important;color:#e5e7eb!important;border-radius:9px!important;}
.ws-language select,.ws-top-btn{
  height:46px!important;min-height:46px!important;border-radius:14px!important;
  background:rgba(255,255,255,.065)!important;border:1px solid rgba(255,255,255,.16)!important;
  color:#fff!important;box-shadow:none!important;font-weight:900!important;
}
.ws-language select{width:74px!important;max-width:74px!important;padding:0 12px!important;text-transform:uppercase!important;}
.ws-top-btn{min-width:48px!important;padding:0 13px!important;display:inline-grid!important;place-items:center!important;}
.ws-top-btn:not(.danger):not(.teos){font-size:0!important;}
.ws-top-btn[data-workspace-action="theme"]::before{content:"☼";font-size:24px;line-height:1;color:#fff;}
.ws-top-btn[data-workspace-action="layout"]::before{content:"▦";font-size:22px;line-height:1;color:#fff;}
.ws-top-btn[data-workspace-action="focus"]::before{content:"⛶";font-size:20px;line-height:1;color:#fff;}
.ws-top-btn[data-workspace-notification-toggle]{font-size:0!important;position:relative!important;}
.ws-top-btn[data-workspace-notification-toggle]::before{content:"♢";font-size:22px;line-height:1;color:#fff;}
.ws-top-btn[data-workspace-notification-toggle]::after{content:"7";position:absolute;top:-6px;right:-6px;width:18px;height:18px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;font-weight:1000;display:grid;place-items:center;}
.ws-top-btn.teos{font-size:0!important;min-width:48px!important;background:transparent!important;}
.ws-top-btn.teos::before{content:">_";font-size:24px;line-height:1;color:#fff;font-weight:900;}
.ws-top-btn.danger{font-size:0!important;min-width:48px!important;}
.ws-top-btn.danger::before{content:"⎋";font-size:20px;line-height:1;color:#fff;}
.ws-top-btn:hover,.ws-language select:hover{border-color:#93c5fd!important;color:#fff!important;transform:none!important;}
.ws-dock{
  position:fixed!important;left:0!important;top:var(--ws-header-h)!important;bottom:var(--ws-footer-h)!important;z-index:220!important;
  width:var(--ws-rail-w)!important;height:auto!important;max-height:none!important;min-height:0!important;
  padding:18px 14px calc(var(--ws-bottom-dock-h) + 18px)!important;
  display:flex!important;flex-direction:column!important;gap:7px!important;overflow:hidden!important;
  background:linear-gradient(180deg,#08172b 0%,#0a1b31 100%)!important;
  border-right:1px solid rgba(255,255,255,.10)!important;border-top:0!important;border-bottom:0!important;
  border-radius:0!important;box-shadow:12px 0 36px rgba(2,8,23,.16)!important;
}
.ws-dock::-webkit-scrollbar{display:none!important;}
.ws-dock-item{
  width:100%!important;height:44px!important;min-height:44px!important;max-width:none!important;flex:0 0 44px!important;
  display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;
  padding:0 12px!important;border:0!important;border-radius:12px!important;background:transparent!important;
  color:#f8fafc!important;text-align:left!important;box-shadow:none!important;
}
.ws-dock-item.active,.ws-dock-item:hover{background:linear-gradient(135deg,#4656f0,#5b6df5)!important;color:#fff!important;}
.ws-dock-icon{width:28px!important;height:28px!important;min-width:28px!important;display:grid!important;place-items:center!important;border-radius:9px!important;background:rgba(56,189,248,.23)!important;font-size:13px!important;line-height:1!important;color:#fff!important;}
.ws-dock-text{font-size:14px!important;text-transform:none!important;letter-spacing:0!important;line-height:1.1!important;padding:0!important;color:inherit!important;text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important;font-weight:900!important;}
.ws-main{max-width:none!important;margin:0!important;padding:34px 40px calc(var(--ws-bottom-dock-h) + 66px)!important;min-height:calc(100vh - var(--ws-header-h));}
.ws-hero{background:transparent!important;color:#0f172a!important;box-shadow:none!important;padding:0!important;margin:0 0 24px!important;border-radius:0!important;border:0!important;}
.ws-hero-kicker{display:none!important;}
.ws-hero p{color:#64748b!important;font-size:18px!important;line-height:1.5!important;margin-top:6px!important;}
.ws-hero-status{display:none!important;}
.grid{grid-template-columns:repeat(2,minmax(320px,1fr))!important;gap:22px!important;}
.workspace-card,.workspace-widget,.workspace-panel,.workspace-view-card,.summary .card,.metric-card{
  border-radius:20px!important;box-shadow:0 18px 45px rgba(15,23,42,.08)!important;border:1px solid #dbe4f0!important;background:#fff!important;
}
.ws-bottom-dock{
  position:fixed!important;left:calc(var(--ws-rail-w) + 24px)!important;right:24px!important;bottom:calc(var(--ws-footer-h) + 6px)!important;z-index:260!important;
  min-height:86px!important;max-height:96px!important;height:auto!important;padding:10px!important;
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(72px,1fr))!important;grid-auto-rows:minmax(66px,1fr)!important;gap:10px!important;
  overflow:hidden!important;overscroll-behavior:contain!important;scrollbar-width:none!important;
  background:linear-gradient(180deg,#111d31,#0b1729)!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:18px!important;
  box-shadow:0 18px 48px rgba(2,8,23,.35)!important;
}
.ws-bottom-dock::-webkit-scrollbar{display:none!important;}
.ws-bottom-dock-item{
  min-width:0!important;min-height:64px!important;height:auto!important;padding:8px 6px!important;
  border:1px solid rgba(255,255,255,.13)!important;border-radius:15px!important;background:rgba(255,255,255,.06)!important;
  color:#fff!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;
  text-align:center!important;font-weight:1000!important;overflow:hidden!important;box-shadow:none!important;
}
.ws-bottom-dock-item.active,.ws-bottom-dock-item:hover{background:#fff!important;color:#4656f0!important;border-color:#fff!important;}
.ws-bottom-dock-icon{font-size:clamp(16px,1.5vw,22px)!important;line-height:1!important;color:inherit!important;}
.ws-bottom-dock-text{width:100%!important;font-size:clamp(8px,.82vw,11px)!important;line-height:1.05!important;text-transform:uppercase!important;letter-spacing:.015em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:inherit!important;}
.ws-footer{
  position:fixed!important;left:var(--ws-rail-w)!important;right:0!important;bottom:0!important;z-index:210!important;height:var(--ws-footer-h)!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:0 28px!important;
  color:#475569!important;background:rgba(248,250,252,.94)!important;border-top:1px solid #dbe4f0!important;font-size:12px!important;font-weight:750!important;
}
.ws-footer-links{white-space:nowrap!important;}
@media (max-width:1280px){
  :root{--ws-rail-w:220px;--ws-bottom-dock-h:124px;}
  .ws-brand{flex-basis:210px!important;min-width:210px!important;max-width:210px!important;}.ws-command{max-width:310px!important;min-width:220px!important;}
  .ws-main{padding-left:28px!important;padding-right:28px!important;}.grid{grid-template-columns:repeat(2,minmax(260px,1fr))!important;gap:18px!important;}
  .ws-bottom-dock{left:calc(var(--ws-rail-w) + 14px)!important;right:14px!important;grid-template-columns:repeat(auto-fit,minmax(58px,1fr))!important;grid-auto-rows:minmax(56px,1fr)!important;gap:8px!important;padding:8px!important;}
  .ws-bottom-dock-item{min-height:56px!important;}.ws-bottom-dock-text{font-size:8px!important;}
}
@media (max-width:980px){
  :root{--ws-rail-w:0px;--ws-bottom-dock-h:118px;}
  .workspace-shell{padding-left:0!important;}.ws-header{height:auto!important;min-height:84px!important;flex-wrap:wrap!important;}.ws-primary-row,.ws-action-row{width:100%!important;flex-wrap:wrap!important;}.ws-brand{flex:1 1 220px!important;max-width:none!important;}.ws-command{flex:1 1 240px!important;max-width:none!important;}.ws-dock{display:none!important;}.ws-main{padding:24px 16px calc(var(--ws-bottom-dock-h) + var(--ws-footer-h) + 40px)!important;}.grid{grid-template-columns:1fr!important;}.ws-bottom-dock{left:10px!important;right:10px!important;bottom:calc(var(--ws-footer-h) + 8px)!important;grid-template-columns:repeat(auto-fit,minmax(54px,1fr))!important;}.ws-footer{left:0!important;}
}
@media (max-width:560px){
  .ws-language select{width:68px!important;max-width:68px!important;}.ws-top-btn{min-width:42px!important;padding:0 10px!important;}.ws-command kbd{display:none!important;}.ws-bottom-dock{grid-template-columns:repeat(auto-fit,minmax(44px,1fr))!important;gap:6px!important;}.ws-bottom-dock-text{font-size:7px!important;}.ws-bottom-dock-icon{font-size:14px!important;}.ws-footer{display:none!important;}:root{--ws-footer-h:0px;}
}

/* Wave 4.10 - Operational Capability Dock
   The sidebar is the IAM-filtered Capability Dock, not a technical acronym list. */
.ws-dock-section-label{
  display:block!important;
  padding:10px 6px 6px!important;
  color:rgba(226,232,240,.78)!important;
  font-size:12px!important;
  line-height:1.1!important;
  font-weight:850!important;
  text-transform:uppercase!important;
  letter-spacing:.075em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.ws-dock-arrow{
  margin-left:auto!important;
  color:rgba(255,255,255,.88)!important;
  font-size:22px!important;
  line-height:1!important;
  font-weight:650!important;
}
.ws-dock-item.active .ws-dock-arrow,
.ws-dock-item:hover .ws-dock-arrow{color:#fff!important;}
.ws-dock-spacer{flex:1 1 auto!important;min-height:18px!important;border-bottom:1px solid rgba(255,255,255,.14)!important;margin:8px 4px 10px!important;}
.ws-dock-settings{margin-top:0!important;}
.ws-dock-home{background:rgba(255,255,255,.16)!important;}
@media (min-width:901px){
  :root{--ws-rail-w:240px;--ws-dock:240px;}
  .workspace-shell{padding-left:var(--ws-rail-w)!important;}
  .ws-dock{width:var(--ws-rail-w)!important;padding-left:14px!important;padding-right:14px!important;}
  .ws-dock-item{gap:12px!important;padding:0 12px!important;}
  .ws-dock-text{font-size:14px!important;font-weight:900!important;}
  .ws-main{padding-left:36px!important;padding-right:36px!important;}
  .ws-footer{left:var(--ws-rail-w)!important;}
  .ws-bottom-dock{left:calc(var(--ws-rail-w) + 14px)!important;}
}
@media (max-height:820px) and (min-width:901px){
  .ws-dock{gap:5px!important;padding-top:12px!important;}
  .ws-dock-item{height:38px!important;min-height:38px!important;flex-basis:38px!important;}
  .ws-dock-icon{width:26px!important;height:26px!important;min-width:26px!important;font-size:12px!important;}
  .ws-dock-text{font-size:13px!important;}
  .ws-dock-section-label{font-size:11px!important;padding-top:7px!important;}
}
@media (max-width:900px){
  .ws-dock-section-label,.ws-dock-spacer,.ws-dock-settings{display:none!important;}
}

/* Workspace OS 3.0 Wave 4.11 - Responsive Bottom Dock Visibility
   The horizontal quick dock is a responsive aid only. On full desktop layouts
   the operational IAM Capability Dock in the left rail is the primary navigation;
   the bottom dock appears only when the viewport is reduced. */
@media (min-width:1281px){
  :root{--ws-bottom-dock-h:0px!important;}
  .workspace-shell{padding-bottom:calc(var(--ws-footer-h) + 18px)!important;}
  .ws-dock{bottom:var(--ws-footer-h)!important;padding-bottom:18px!important;}
  .ws-main{padding-bottom:66px!important;}
  .ws-bottom-dock{display:none!important;}
}
@media (max-width:1280px){
  :root{--ws-bottom-dock-h:124px!important;}
  .workspace-shell{padding-bottom:calc(var(--ws-bottom-dock-h) + var(--ws-footer-h) + 18px)!important;}
  .ws-dock{bottom:var(--ws-footer-h)!important;padding-bottom:calc(var(--ws-bottom-dock-h) + 18px)!important;}
  .ws-main{padding-bottom:calc(var(--ws-bottom-dock-h) + 66px)!important;}
  .ws-bottom-dock{display:grid!important;left:calc(var(--ws-rail-w) + 14px)!important;right:14px!important;bottom:calc(var(--ws-footer-h) + 8px)!important;}
}
@media (max-width:980px){
  :root{--ws-rail-w:0px!important;--ws-dock:0px!important;--ws-bottom-dock-h:118px!important;}
  .workspace-shell{padding-left:0!important;padding-bottom:calc(var(--ws-bottom-dock-h) + var(--ws-footer-h) + 28px)!important;}
  .ws-main{padding-bottom:calc(var(--ws-bottom-dock-h) + var(--ws-footer-h) + 40px)!important;}
  .ws-bottom-dock{left:10px!important;right:10px!important;bottom:calc(var(--ws-footer-h) + 8px)!important;}
}
@media (max-width:560px){
  :root{--ws-footer-h:0px!important;--ws-bottom-dock-h:112px!important;}
  .workspace-shell{padding-bottom:calc(var(--ws-bottom-dock-h) + 18px)!important;}
  .ws-main{padding-bottom:calc(var(--ws-bottom-dock-h) + 34px)!important;}
  .ws-bottom-dock{bottom:8px!important;}
}

/* Workspace Design System 3.0 - Wave 5.0
   Command Palette operational hardening.
   The palette is viewport-bounded and the result list is scrollable, so every
   command remains selectable on reduced screens and when many capability
   commands are registered. */
.ws-command-palette{
  padding:clamp(76px,10vh,110px) 22px 28px!important;
  align-items:flex-start!important;
  overflow:hidden!important;
}
.ws-command-panel{
  width:min(860px,calc(100vw - 44px))!important;
  max-height:min(760px,calc(100vh - 128px))!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  border-radius:28px!important;
  background:#fff!important;
}
.ws-command-search{
  flex:0 0 auto!important;
  min-height:74px!important;
  padding:16px!important;
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid #dbe4f0!important;
}
.ws-command-search span{
  width:32px!important;
  height:32px!important;
  border-radius:12px!important;
  display:grid!important;
  place-items:center!important;
  background:#f1f5f9!important;
  color:#0f172a!important;
  font-weight:1000!important;
  flex:0 0 32px!important;
}
.ws-command-results{
  flex:1 1 auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  padding:16px!important;
  display:grid!important;
  gap:10px!important;
  scrollbar-width:thin!important;
  scrollbar-color:#94a3b8 transparent!important;
}
.ws-command-results::-webkit-scrollbar{width:10px!important;}
.ws-command-results::-webkit-scrollbar-track{background:transparent!important;}
.ws-command-results::-webkit-scrollbar-thumb{background:#94a3b8!important;border-radius:999px!important;border:3px solid transparent!important;background-clip:content-box!important;}
.ws-command-results a{
  display:flex!important;
  align-items:center!important;
  min-height:52px!important;
  padding:13px 16px!important;
  border:1px solid #dbe4f0!important;
  border-radius:16px!important;
  background:#fff!important;
  color:#0f172a!important;
  font-weight:950!important;
  line-height:1.25!important;
  box-shadow:0 8px 20px rgba(15,23,42,.035)!important;
}
.ws-command-results a:hover,
.ws-command-results a:focus{
  border-color:#4656f0!important;
  box-shadow:0 0 0 4px rgba(70,86,240,.12)!important;
  outline:0!important;
}
@media(max-width:720px){
  .ws-command-palette{padding:74px 12px 12px!important;}
  .ws-command-panel{width:calc(100vw - 24px)!important;max-height:calc(100vh - 98px)!important;border-radius:22px!important;}
  .ws-command-search{min-height:66px!important;padding:12px!important;}
  .ws-command-search input{font-size:15px!important;}
  .ws-command-results{padding:12px!important;gap:8px!important;}
}
:root[data-workspace-theme="dark"] .ws-command-panel,
:root[data-workspace-theme="dark"] .ws-command-search,
:root[data-workspace-theme="dark"] .ws-command-results a{background:#111827!important;border-color:#334155!important;color:#f8fafc!important;}
:root[data-workspace-theme="dark"] .ws-command-search span{background:#0f172a!important;color:#f8fafc!important;}

/* Workspace OS 3.0.2 - Operational Settings Panel
   The Settings entry in the IAM Capability Dock is now a real Workspace Profile
   control surface. It uses the Workspace Design System and does not introduce a
   module-specific shell. */
.ws-dock-item.ws-dock-settings{
  appearance:none!important;
  border:1px solid rgba(255,255,255,.14)!important;
  cursor:pointer!important;
  font:inherit!important;
}
.ws-settings-panel{
  position:fixed!important;
  inset:0!important;
  z-index:240!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  padding:clamp(82px,10vh,112px) 22px 28px!important;
  background:rgba(15,23,42,.48)!important;
  backdrop-filter:blur(10px)!important;
  opacity:0!important;
  pointer-events:none!important;
  transition:opacity .18s ease!important;
  overflow:hidden!important;
}
.ws-settings-panel.open{
  opacity:1!important;
  pointer-events:auto!important;
}
.ws-settings-dialog{
  width:min(1120px,calc(100vw - 44px))!important;
  max-height:min(820px,calc(100vh - 128px))!important;
  overflow:hidden!important;
  border-radius:30px!important;
  border:1px solid var(--ws-line)!important;
  background:var(--ws-panel)!important;
  color:var(--ws-ink)!important;
  box-shadow:0 28px 80px rgba(15,23,42,.28)!important;
  display:flex!important;
  flex-direction:column!important;
}
.ws-settings-head{
  flex:0 0 auto!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:18px!important;
  padding:24px 26px!important;
  border-bottom:1px solid var(--ws-line)!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--ws-panel) 86%,var(--ws-blue) 14%),var(--ws-panel))!important;
}
.ws-settings-eyebrow{
  display:block!important;
  color:var(--ws-blue)!important;
  text-transform:uppercase!important;
  letter-spacing:.14em!important;
  font-size:12px!important;
  font-weight:1000!important;
  margin-bottom:6px!important;
}
.ws-settings-head strong{
  display:block!important;
  font-size:28px!important;
  line-height:1.05!important;
  letter-spacing:-.035em!important;
  color:var(--ws-ink)!important;
}
.ws-settings-head p{
  max-width:760px!important;
  margin:10px 0 0!important;
  color:var(--ws-muted)!important;
  font-size:15px!important;
  line-height:1.45!important;
  font-weight:750!important;
}
.ws-settings-close{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  border:1px solid var(--ws-line)!important;
  border-radius:16px!important;
  background:color-mix(in srgb,var(--ws-panel) 88%,var(--ws-bg) 12%)!important;
  color:var(--ws-ink)!important;
  font-size:26px!important;
  line-height:1!important;
  font-weight:1000!important;
  cursor:pointer!important;
}
.ws-settings-body{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:22px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr)!important;
  gap:18px!important;
  scrollbar-width:thin!important;
  scrollbar-color:#94a3b8 transparent!important;
}
.ws-settings-body::-webkit-scrollbar{width:10px!important;}
.ws-settings-body::-webkit-scrollbar-track{background:transparent!important;}
.ws-settings-body::-webkit-scrollbar-thumb{background:#94a3b8!important;border-radius:999px!important;border:3px solid transparent!important;background-clip:content-box!important;}
.ws-settings-section{
  border:1px solid var(--ws-line)!important;
  background:color-mix(in srgb,var(--ws-panel) 92%,var(--ws-bg) 8%)!important;
  border-radius:24px!important;
  padding:20px!important;
  box-shadow:0 12px 30px rgba(15,23,42,.055)!important;
}
.ws-settings-section:first-child{grid-row:span 3!important;}
.ws-settings-section h3{
  margin:0 0 6px!important;
  color:var(--ws-ink)!important;
  font-size:20px!important;
  letter-spacing:-.025em!important;
}
.ws-settings-section p{
  margin:0 0 16px!important;
  color:var(--ws-muted)!important;
  line-height:1.45!important;
  font-weight:750!important;
}
.ws-settings-theme-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
.ws-settings-theme-grid button{
  min-height:98px!important;
  border:1px solid var(--ws-line)!important;
  border-radius:20px!important;
  background:var(--ws-panel)!important;
  color:var(--ws-ink)!important;
  padding:12px!important;
  display:grid!important;
  align-content:start!important;
  gap:8px!important;
  text-align:left!important;
  cursor:pointer!important;
  font-weight:950!important;
}
.ws-settings-theme-grid button.active,
.ws-settings-theme-grid button:hover,
.ws-settings-theme-grid button:focus{
  border-color:var(--ws-blue)!important;
  box-shadow:0 0 0 4px color-mix(in srgb,var(--ws-blue) 16%,transparent)!important;
  outline:0!important;
}
.ws-settings-theme-grid .swatch{
  width:100%!important;
  height:32px!important;
  border-radius:14px!important;
}
.ws-settings-language{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px!important;
  margin:0!important;
}
.ws-settings-language select,
.ws-settings-language button,
.ws-settings-actions button{
  min-height:46px!important;
  border:1px solid var(--ws-line)!important;
  border-radius:16px!important;
  background:var(--ws-panel)!important;
  color:var(--ws-ink)!important;
  padding:0 14px!important;
  font-weight:950!important;
  cursor:pointer!important;
}
.ws-settings-language button,
.ws-settings-actions button:first-child{
  background:linear-gradient(135deg,var(--ws-blue),var(--ws-blue2))!important;
  color:#fff!important;
  border-color:transparent!important;
}
.ws-settings-actions{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
}
.ws-settings-status dl{
  margin:0!important;
  display:grid!important;
  gap:10px!important;
}
.ws-settings-status dl div{
  display:grid!important;
  grid-template-columns:120px minmax(0,1fr)!important;
  gap:10px!important;
  border:1px solid var(--ws-line)!important;
  border-radius:16px!important;
  padding:12px!important;
  background:var(--ws-panel)!important;
}
.ws-settings-status dt{
  color:var(--ws-muted)!important;
  font-size:12px!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
  font-weight:1000!important;
}
.ws-settings-status dd{
  margin:0!important;
  min-width:0!important;
  overflow-wrap:anywhere!important;
  color:var(--ws-ink)!important;
  font-weight:850!important;
}
body.ws-focus-mode .ws-hero,
.workspace-shell.ws-focus-mode .ws-hero,
body.ws-focus-mode .ws-footer,
.workspace-shell.ws-focus-mode .ws-footer{
  opacity:.22!important;
}
:root[data-workspace-theme="dark"] .ws-settings-dialog,
:root[data-workspace-theme="dark"] .ws-settings-section,
:root[data-workspace-theme="dark"] .ws-settings-theme-grid button,
:root[data-workspace-theme="dark"] .ws-settings-language select,
:root[data-workspace-theme="dark"] .ws-settings-language button,
:root[data-workspace-theme="dark"] .ws-settings-actions button,
:root[data-workspace-theme="dark"] .ws-settings-status dl div{
  background:#111827!important;
  border-color:#334155!important;
  color:#f8fafc!important;
}
@media(max-width:980px){
  .ws-settings-panel{padding:74px 12px 12px!important;}
  .ws-settings-dialog{width:calc(100vw - 24px)!important;max-height:calc(100vh - 98px)!important;border-radius:24px!important;}
  .ws-settings-head{padding:20px!important;}
  .ws-settings-body{grid-template-columns:1fr!important;padding:14px!important;gap:14px!important;}
  .ws-settings-section:first-child{grid-row:auto!important;}
  .ws-settings-theme-grid{grid-template-columns:1fr!important;}
}
@media(max-width:560px){
  .ws-settings-head strong{font-size:23px!important;}
  .ws-settings-language{grid-template-columns:1fr!important;}
  .ws-settings-status dl div{grid-template-columns:1fr!important;}
}


/* Workspace Language Engine 9.4 - Navigation back button and language selector hardening */
.ws-nav-back{gap:8px;min-width:auto;padding:0 14px;}
.ws-nav-back span[aria-hidden="true"]{font-size:18px;line-height:1;}
.ws-language select:focus,.ws-nav-back:focus-visible{outline:3px solid color-mix(in srgb,var(--ws-blue) 45%,transparent);outline-offset:2px;}
@media (max-width:760px){.ws-nav-back{height:44px;padding:0 12px}.ws-nav-back span:last-child{display:none}}

/* Workspace OS 3.0.3 - Navigation and Notification Center hardening
   The back action and notification badge are operational shell primitives. The
   badge count is rendered from the same runtime payload visible in the center. */
.ws-nav-back{
  gap:8px!important;
  position:relative!important;
}
.ws-notification-toggle{
  position:relative!important;
  gap:8px!important;
  overflow:visible!important;
}
.ws-notification-badge{
  position:absolute!important;
  top:-8px!important;
  right:-8px!important;
  min-width:22px!important;
  height:22px!important;
  padding:0 6px!important;
  border-radius:999px!important;
  display:inline-grid!important;
  place-items:center!important;
  background:#ef4444!important;
  color:#fff!important;
  border:2px solid #fff!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:1000!important;
  box-shadow:0 10px 18px rgba(239,68,68,.32)!important;
}
.ws-notification-center{
  position:fixed!important;
  top:calc(var(--ws-header-h) + 18px)!important;
  right:28px!important;
  z-index:420!important;
  width:min(420px,calc(100vw - 36px))!important;
  max-height:calc(100vh - var(--ws-header-h) - 56px)!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:28px!important;
  background:linear-gradient(180deg,#020617 0%,#050b16 100%)!important;
  color:#fff!important;
  box-shadow:0 26px 70px rgba(2,8,23,.42)!important;
  display:none!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
.ws-notification-center.open{display:flex!important;}
.ws-notification-head{
  flex:0 0 auto!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:16px!important;
  padding:22px 22px 16px!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
}
.ws-notification-head strong{
  display:block!important;
  color:#fff!important;
  font-size:22px!important;
  line-height:1.1!important;
  font-weight:1000!important;
}
.ws-notification-head span{
  display:block!important;
  margin-top:7px!important;
  color:#facc15!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:900!important;
}
.ws-notification-head button{
  width:38px!important;
  height:38px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.06)!important;
  color:#fff!important;
  font-size:22px!important;
  font-weight:900!important;
  cursor:pointer!important;
}
.ws-notification-items{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:14px!important;
  display:grid!important;
  gap:10px!important;
  scrollbar-width:thin!important;
  scrollbar-color:#facc15 transparent!important;
}
.ws-notification-item{
  display:block!important;
  padding:14px 16px!important;
  border:1px solid rgba(255,255,255,.13)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.055)!important;
  color:#fff!important;
  text-decoration:none!important;
}
.ws-notification-item:hover,
.ws-notification-item:focus{
  border-color:#facc15!important;
  outline:0!important;
  box-shadow:0 0 0 4px rgba(250,204,21,.10)!important;
}
.ws-notification-kind{
  display:inline-flex!important;
  margin-bottom:7px!important;
  color:#facc15!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:1000!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
}
.ws-notification-item strong{
  display:block!important;
  color:#fff!important;
  font-size:15px!important;
  line-height:1.15!important;
  font-weight:1000!important;
}
.ws-notification-item em{
  display:block!important;
  margin-top:6px!important;
  color:#e2e8f0!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-style:normal!important;
  font-weight:750!important;
}
.ws-notification-item.success{border-color:rgba(34,197,94,.34)!important;}
.ws-notification-item.warning{border-color:rgba(245,158,11,.38)!important;}
.ws-notification-empty{
  padding:18px!important;
  color:#e2e8f0!important;
  border:1px dashed rgba(255,255,255,.18)!important;
  border-radius:18px!important;
  font-weight:800!important;
}
@media (max-width:980px){
  .ws-notification-center{top:96px!important;right:14px!important;left:14px!important;width:auto!important;max-height:calc(100vh - 124px)!important;}
}

/* Workspace OS 3.0.4 - Shell interaction closure
   Fixes: back button, Workspace language selector persistence, settings dialog
   activation and a real internal scroll container for Notification Center. */
.ws-settings-panel[data-workspace-settings-panel]{
  position:fixed!important;
  inset:0!important;
  z-index:460!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  padding:clamp(86px,10vh,118px) 22px 28px!important;
  background:rgba(15,23,42,.52)!important;
  backdrop-filter:blur(10px)!important;
  opacity:0!important;
  pointer-events:none!important;
  transition:opacity .18s ease!important;
  overflow:auto!important;
}
.ws-settings-panel[data-workspace-settings-panel].open{
  opacity:1!important;
  pointer-events:auto!important;
}
.ws-settings-panel[data-workspace-settings-panel] .ws-settings-dialog{
  width:min(960px,calc(100vw - 44px))!important;
  max-height:calc(100vh - 132px)!important;
  overflow:auto!important;
  border-radius:30px!important;
  border:1px solid var(--ws-line)!important;
  background:var(--ws-panel)!important;
  color:var(--ws-ink)!important;
  box-shadow:0 28px 80px rgba(15,23,42,.32)!important;
  display:block!important;
}
.ws-settings-panel[data-workspace-settings-panel] .ws-settings-section{
  margin:16px 22px!important;
}
.ws-settings-panel[data-workspace-settings-panel] .wsds-actions,
.ws-settings-panel[data-workspace-settings-panel] .ws-settings-status{
  margin:16px 22px 22px!important;
}
.ws-dock-settings{pointer-events:auto!important;user-select:none!important;}
.ws-language select{cursor:pointer!important;}
.ws-notification-center{
  z-index:470!important;
  height:auto!important;
  max-height:calc(100vh - var(--ws-header-h) - 52px)!important;
  overflow:hidden!important;
}
.ws-notification-center.open{display:flex!important;}
.ws-notification-items{
  max-height:calc(100vh - var(--ws-header-h) - 170px)!important;
  overflow-y:scroll!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
}
.ws-notification-items::-webkit-scrollbar{width:10px!important;}
.ws-notification-items::-webkit-scrollbar-track{background:rgba(255,255,255,.06)!important;border-radius:999px!important;}
.ws-notification-items::-webkit-scrollbar-thumb{background:#facc15!important;border-radius:999px!important;border:2px solid rgba(2,6,23,.95)!important;}
@media (max-width:980px){
  .ws-settings-panel[data-workspace-settings-panel]{padding:88px 12px 18px!important;}
  .ws-settings-panel[data-workspace-settings-panel] .ws-settings-dialog{width:calc(100vw - 24px)!important;max-height:calc(100vh - 112px)!important;}
  .ws-notification-center{top:96px!important;right:12px!important;left:12px!important;width:auto!important;max-height:calc(100vh - 118px)!important;}
  .ws-notification-items{max-height:calc(100vh - 230px)!important;}
}

/* Workspace OS 3.0.5 - Language dropdown visibility hotfix
   Native browser option panels can inherit dark Workspace theme colors while
   the popup background remains light. Force readable option foreground and
   background across Chrome/Edge/Firefox and high-contrast themes. */
.ws-language select,
.ws-language select:focus,
.ws-language select:active{
  color:var(--ws-ink)!important;
  background:var(--ws-panel)!important;
  text-shadow:none!important;
  -webkit-text-fill-color:var(--ws-ink)!important;
}
.ws-language select option,
.ws-language select optgroup,
.ws-settings-panel select option,
.ws-settings-panel select optgroup,
[data-workspace-settings-language] option,
[data-workspace-settings-language] optgroup{
  color:#0f172a!important;
  background:#ffffff!important;
  text-shadow:none!important;
  -webkit-text-fill-color:#0f172a!important;
  font-weight:900!important;
}
.ws-language select option:checked,
.ws-language select option:hover,
.ws-settings-panel select option:checked,
.ws-settings-panel select option:hover,
[data-workspace-settings-language] option:checked,
[data-workspace-settings-language] option:hover{
  color:#ffffff!important;
  background:#2563eb!important;
  -webkit-text-fill-color:#ffffff!important;
}
@media (prefers-color-scheme: dark){
  .ws-language select option,
  .ws-language select optgroup,
  .ws-settings-panel select option,
  .ws-settings-panel select optgroup,
  [data-workspace-settings-language] option,
  [data-workspace-settings-language] optgroup{
    color:#0f172a!important;
    background:#ffffff!important;
    -webkit-text-fill-color:#0f172a!important;
  }
}
