:root{
  --tenant-primary:#315EFB;--tenant-secondary:#F4F7FB;--tenant-accent:#7C5CFC;
  --tenant-on-primary:#fff;--tenant-on-secondary:#111827;--tenant-on-accent:#fff;
  --tenant-primary-text:#315EFB;--tenant-accent-text:#5C3FD1;
  --tenant-font-family:system-ui,-apple-system,'Segoe UI',sans-serif;
  --workspace-nav:#07192F;--workspace-nav-end:#0B2C52;--workspace-nav-text:#E8F0FA;--workspace-nav-muted:#9DB0C7;
  --workspace-nav-active:#315EFB;--workspace-nav-active-text:#fff;--workspace-canvas:#F3F7FB;--workspace-surface:#fff;
  --workspace-surface-alt:#EAF1F8;--workspace-line:#D7E2EE;--workspace-topbar:#fff;--workspace-hero-start:#FDFEFF;
  --workspace-hero-end:#E4EFFA;--workspace-hero-text:#142A43;--workspace-metallic:#8DB6DC;--workspace-action:#315EFB;
  --workspace-action-text:#fff;--workspace-display-accent:#315EFB;--workspace-chart:#315EFB;--workspace-shadow:rgba(22,62,102,.12);
  --workspace-pattern-a:rgba(49,94,251,.08);--workspace-pattern-b:rgba(255,255,255,.88)
}
.tenant-theme-active{font-family:var(--tenant-font-family);background:var(--workspace-canvas);color:var(--workspace-hero-text)}
.tenant-theme-active button,.tenant-theme-active input,.tenant-theme-active select,.tenant-theme-active textarea{font-family:var(--tenant-font-family)}
.tenant-brand-mark{overflow:hidden;flex:0 0 auto}.tenant-brand-mark img{display:block;width:100%;height:100%;object-fit:contain;background:#fff;padding:4px}
.tenant-theme-active .app-shell{background:var(--workspace-canvas)}
.tenant-theme-active .sidebar{background:linear-gradient(180deg,var(--workspace-nav),var(--workspace-nav-end) 76%);color:var(--workspace-nav-text);box-shadow:8px 0 24px color-mix(in srgb,var(--workspace-nav) 28%,transparent)}
.tenant-theme-active .sidebar-brand strong{color:var(--workspace-nav-text)}.tenant-theme-active .sidebar-brand span,.tenant-theme-active .sidebar-footer{color:var(--workspace-nav-muted)}
.tenant-theme-active .nav-label{color:var(--workspace-nav-muted)}.tenant-theme-active .nav-link{color:color-mix(in srgb,var(--workspace-nav-text) 82%,transparent)}
.tenant-theme-active .nav-link:hover{background:color-mix(in srgb,var(--workspace-nav-active) 20%,transparent);color:var(--workspace-nav-text)}
.tenant-theme-active .nav-link.active{background:linear-gradient(100deg,var(--workspace-nav-active),color-mix(in srgb,var(--workspace-nav-active) 70%,var(--workspace-metallic)))!important;color:var(--workspace-nav-active-text)!important;box-shadow:inset 3px 0 0 var(--tenant-accent),0 7px 18px color-mix(in srgb,var(--workspace-nav) 28%,transparent)!important}
.tenant-theme-active .brand-mark{background:linear-gradient(135deg,var(--tenant-primary),var(--workspace-metallic));color:var(--tenant-on-primary)}
.tenant-theme-active .topbar{background:color-mix(in srgb,var(--workspace-topbar) 94%,transparent);border-color:var(--workspace-line)}
.tenant-theme-active .main-content{background:transparent}.tenant-theme-active .avatar{background:linear-gradient(135deg,var(--tenant-accent),var(--workspace-display-accent));color:var(--tenant-on-accent)}
.tenant-theme-active .card,.tenant-theme-active .table-card,.tenant-theme-active .kpi,.tenant-theme-active .v53-card,.tenant-theme-active .v53-module-card,.tenant-theme-active .v53-record-card,.tenant-theme-active .v53-opportunity-card,.tenant-theme-active .v53-solution-card,.tenant-theme-active .v53-training-card,.tenant-theme-active .ca-section,.tenant-theme-active .ca-action-card,.tenant-theme-active .ca-source-card,.tenant-theme-active .ca-social-card,.tenant-theme-active .solution-card,.tenant-theme-active .social-card,.tenant-theme-active .opportunity-card{background:var(--workspace-surface);border-color:var(--workspace-line);box-shadow:0 12px 30px var(--workspace-shadow)}
.tenant-theme-active .data-table th,.tenant-theme-active .v53-table th,.tenant-theme-active .ca-table th{background:var(--workspace-surface-alt);border-color:var(--workspace-line);color:color-mix(in srgb,var(--workspace-hero-text) 65%,transparent)}
.tenant-theme-active .data-table td,.tenant-theme-active .v53-table td,.tenant-theme-active .ca-table td{border-color:color-mix(in srgb,var(--workspace-line) 72%,transparent)}
.tenant-theme-active .data-table tbody tr:hover,.tenant-theme-active .v53-table tbody tr:hover{background:color-mix(in srgb,var(--workspace-surface-alt) 65%,var(--workspace-surface))}
.tenant-theme-active .button:not(.secondary):not(.danger):not(.v531-win){background:linear-gradient(135deg,var(--workspace-action),color-mix(in srgb,var(--workspace-action) 78%,var(--workspace-metallic)))!important;border-color:var(--workspace-action)!important;color:var(--workspace-action-text)!important;box-shadow:0 6px 16px color-mix(in srgb,var(--workspace-action) 22%,transparent)}
.tenant-theme-active .button.secondary,.tenant-theme-active .icon-button{background:var(--workspace-surface);border-color:var(--workspace-line);color:var(--workspace-hero-text)}
.tenant-theme-active .button.ghost,.tenant-theme-active .text-button,.tenant-theme-active .breadcrumb-link,.tenant-theme-active .table-link,.tenant-theme-active .kpi-open{color:var(--workspace-display-accent)!important}
.tenant-theme-active .hero-card,.tenant-theme-active .unified-hero,.tenant-theme-active .v53-hero,.tenant-theme-active .v53-detail-hero{background:linear-gradient(125deg,var(--workspace-hero-start),var(--workspace-hero-end))!important;color:var(--workspace-hero-text)!important;border:1px solid var(--workspace-line)!important;box-shadow:0 18px 44px var(--workspace-shadow)!important;position:relative;overflow:hidden}
.tenant-theme-active .hero-card::after,.tenant-theme-active .unified-hero::after,.tenant-theme-active .v53-hero::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,var(--workspace-pattern-a),transparent 42%,var(--workspace-pattern-b));opacity:.78}
.tenant-theme-active .hero-card>* ,.tenant-theme-active .unified-hero>* ,.tenant-theme-active .v53-hero>*{position:relative;z-index:1}
.tenant-theme-active .hero-card h1,.tenant-theme-active .hero-card h2,.tenant-theme-active .hero-card h3,.tenant-theme-active .unified-hero h1,.tenant-theme-active .v53-hero h1,.tenant-theme-active .v53-hero h2,.tenant-theme-active .v53-detail-hero h1{color:var(--workspace-hero-text)!important}
.tenant-theme-active .hero-card p,.tenant-theme-active .unified-hero p,.tenant-theme-active .v53-hero p,.tenant-theme-active .v53-hero-aside span,.tenant-theme-active .v53-hero-aside small{color:color-mix(in srgb,var(--workspace-hero-text) 72%,transparent)!important}
.tenant-theme-active .hero-card .eyebrow,.tenant-theme-active .unified-hero .eyebrow,.tenant-theme-active .v53-hero .v53-eyebrow,.tenant-theme-active .eyebrow,.tenant-theme-active .v53-eyebrow,.tenant-theme-active .v53-card-action,.tenant-theme-active .v53-kpi b{color:var(--workspace-display-accent)!important}
.tenant-theme-active .kpi::after{background:radial-gradient(circle,color-mix(in srgb,var(--workspace-chart) 22%,transparent),transparent 68%)}
.tenant-theme-active .bar-fill,.tenant-theme-active .v53-chart-bar{background:linear-gradient(90deg,var(--workspace-chart),var(--workspace-metallic))!important}
.tenant-theme-active .tabs{background:var(--workspace-surface-alt)}.tenant-theme-active .tab.active,.tenant-theme-active .v53-tab.active,.tenant-theme-active .v53-training-categories button.active{background:var(--workspace-surface);color:var(--workspace-display-accent)!important;box-shadow:0 4px 12px var(--workspace-shadow)}
.tenant-theme-active .v53-scope-note span,.tenant-theme-active .v53-policy-banner>span{background:var(--workspace-action)!important;color:var(--workspace-action-text)!important}

/* Four frozen visual treatments. These classes never change business structure. */
.workspace-style-classic-blue.tenant-theme-active .main-area{background:radial-gradient(circle at 88% 6%,rgba(107,140,255,.10),transparent 24%),var(--workspace-canvas)}
.workspace-style-metallic-silver.tenant-theme-active .main-area{background:linear-gradient(135deg,rgba(255,255,255,.42),transparent 36%),linear-gradient(315deg,rgba(98,112,132,.08),transparent 30%),var(--workspace-canvas)}
.workspace-style-metallic-silver.tenant-theme-active .card,.workspace-style-metallic-silver.tenant-theme-active .kpi,.workspace-style-metallic-silver.tenant-theme-active .table-card{background:linear-gradient(145deg,#fff,var(--workspace-surface-alt));border-color:#BBC3CE}
.workspace-style-metallic-gold.tenant-theme-active .main-area{background:linear-gradient(135deg,rgba(255,255,255,.28),transparent 32%),linear-gradient(315deg,rgba(151,102,0,.12),transparent 28%),var(--workspace-canvas)}
.workspace-style-metallic-gold.tenant-theme-active .card,.workspace-style-metallic-gold.tenant-theme-active .kpi,.workspace-style-metallic-gold.tenant-theme-active .table-card{background:linear-gradient(145deg,#FFF8E5,#E7C45E);border-color:#BC8F1F}
.workspace-style-metallic-gold.tenant-theme-active .button:not(.secondary):not(.danger):not(.v531-win){background:linear-gradient(135deg,#C71420,#A90D17)!important;border-color:#9F0D16!important}
.workspace-style-metallic-gold.tenant-theme-active .hero-card,.workspace-style-metallic-gold.tenant-theme-active .unified-hero,.workspace-style-metallic-gold.tenant-theme-active .v53-hero{background:linear-gradient(125deg,#F9EBC1,#D5A52A)!important}
.workspace-style-champagne-gold.tenant-theme-active .main-area{background:linear-gradient(145deg,rgba(218,180,98,.10),transparent 26%),var(--workspace-canvas)}
.workspace-style-champagne-gold.tenant-theme-active .sidebar{background:linear-gradient(180deg,#102126,#163036 70%,#0D1B20)}
.workspace-style-champagne-gold.tenant-theme-active .card,.workspace-style-champagne-gold.tenant-theme-active .kpi,.workspace-style-champagne-gold.tenant-theme-active .table-card{border-color:#E3D5B8;box-shadow:0 12px 30px rgba(80,60,27,.10)}
.workspace-style-champagne-gold.tenant-theme-active .hero-card,.workspace-style-champagne-gold.tenant-theme-active .unified-hero,.workspace-style-champagne-gold.tenant-theme-active .v53-hero{background:linear-gradient(125deg,#FFFFFF,#F1E1BF)!important}

/* Summary and manager */
.theme-summary-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;border:1px solid var(--line,#dfe5ee);border-radius:14px;padding:14px;background:#fff}.theme-summary-card.compact{box-shadow:none}
.theme-summary-preview{display:flex;align-items:center;gap:12px;min-width:0;font-family:var(--preview-font)}.theme-summary-preview>div:last-child{min-width:0}.theme-summary-preview strong,.theme-summary-preview small{display:block}.theme-summary-preview strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.theme-summary-preview small{color:#66758a;margin-top:3px}
.theme-summary-logo{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:linear-gradient(135deg,var(--preview-primary),var(--preview-accent));color:var(--preview-on-primary,#fff);font-weight:900;overflow:hidden;flex:0 0 auto}.theme-summary-logo img{width:100%;height:100%;object-fit:contain;background:#fff;padding:4px}
.theme-swatches{display:flex;gap:5px}.theme-swatches span{display:block;width:22px;height:22px;border-radius:7px;border:1px solid rgba(0,0,0,.1)}
.theme-boundary-note{display:grid;gap:4px;border:1px solid #cfe0fb;background:#f4f8ff;border-radius:12px;padding:12px 14px;margin-bottom:16px}.theme-boundary-note span{color:#5c6f86;font-size:.84rem}
.workspace-style-fieldset{border:0;padding:0;margin:0 0 20px}.workspace-style-fieldset legend{font-size:1.12rem;font-weight:900;color:#142238;margin-bottom:4px}.workspace-style-help{margin:0 0 12px;color:#66758a}.workspace-style-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.workspace-style-card{position:relative;display:grid;grid-template-rows:132px 1fr;border:2px solid #d9e2ef;border-radius:14px;overflow:hidden;background:#fff;cursor:pointer;transition:.16s;min-width:0}.workspace-style-card:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(28,45,74,.12)}.workspace-style-card.selected{border-color:#315EFB;box-shadow:0 0 0 3px rgba(49,94,251,.13),0 12px 24px rgba(28,45,74,.12)}.workspace-style-card input{position:absolute;opacity:0;pointer-events:none}.workspace-style-image{display:block;overflow:hidden;background:#eef2f6}.workspace-style-image img{width:100%;height:100%;display:block;object-fit:cover}.workspace-style-copy{display:grid;gap:4px;padding:11px 12px}.workspace-style-copy strong{font-size:.92rem}.workspace-style-copy small{color:#66758a;line-height:1.35}.workspace-style-check{position:absolute;right:8px;top:8px;width:26px;height:26px;border-radius:50%;display:none;place-items:center;background:#315EFB;color:#fff;font-weight:900}.workspace-style-card.selected .workspace-style-check{display:grid}
.theme-form{margin-top:18px}.theme-toggle{display:flex;align-items:center;gap:10px;font-weight:800;margin-bottom:14px}.theme-toggle input{width:auto}.theme-color-field>div{display:grid;grid-template-columns:54px 1fr;gap:8px}.theme-color-field input[type=color]{width:54px;height:42px;padding:3px;border:1px solid #d5deea;border-radius:9px;background:#fff}.theme-color-field input[type=text],.theme-color-field input:not([type]){min-width:0}
.theme-live-preview{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:310px;border:1px solid var(--preview-line,#d9e2ef);border-radius:17px;overflow:hidden;background:var(--preview-canvas,#f4f7fb);font-family:var(--preview-font);transition:.2s;box-shadow:0 14px 32px var(--preview-shadow,rgba(28,45,74,.10))}.theme-live-preview.disabled{filter:grayscale(.65);opacity:.72}.theme-live-preview aside{display:flex;flex-direction:column;gap:7px;padding:20px;background:linear-gradient(180deg,var(--preview-nav,#07192f),var(--preview-nav-end,#0b2c52));color:var(--preview-nav-text,#d9e5f5)}.theme-live-preview aside strong{color:var(--preview-nav-text,#fff);margin-top:7px}.theme-live-preview aside small{color:var(--preview-nav-muted,#9db0c7);margin-bottom:15px}.theme-preview-logo{display:grid;place-items:center;width:54px;height:54px;border-radius:14px;background:linear-gradient(135deg,var(--preview-primary),var(--preview-accent));color:var(--preview-on-primary,#fff);font-weight:900;font-size:1.35rem;overflow:hidden}.theme-preview-logo img{width:100%;height:100%;object-fit:contain;background:#fff;padding:4px}.theme-preview-nav{padding:9px 10px;border-radius:9px}.theme-preview-nav.active{background:var(--preview-nav-active,var(--preview-primary));color:var(--preview-nav-active-text,var(--preview-on-primary,#fff));box-shadow:inset 3px 0 0 var(--preview-accent)}
.theme-live-preview main{display:grid;grid-template-rows:auto 1fr}.theme-preview-top{padding:14px 18px;background:var(--preview-topbar,#fff);border-bottom:1px solid var(--preview-line,#dfe6ef);font-weight:800}.theme-live-preview main section{margin:22px;padding:24px;border:1px solid var(--preview-line,#d9e2ef);border-radius:18px;background:linear-gradient(125deg,var(--preview-hero-start,#fff),var(--preview-hero-end,#e4effa));color:var(--preview-hero-text,#142a43);align-self:start;box-shadow:0 12px 24px var(--preview-shadow,rgba(28,45,74,.10));position:relative;overflow:hidden}.theme-live-preview main section::after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,var(--preview-pattern-a,transparent),transparent 45%,var(--preview-pattern-b,transparent));pointer-events:none}.theme-live-preview main section>*{position:relative;z-index:1}.theme-live-preview h3{font-size:1.7rem;margin:7px 0}.theme-live-preview p{line-height:1.5;color:color-mix(in srgb,var(--preview-hero-text,#142a43) 72%,transparent)}.theme-live-preview main button{border:0;border-radius:9px;padding:9px 12px;background:var(--preview-action,var(--preview-primary));color:var(--preview-action-text,var(--preview-on-primary,#fff));font-weight:800;margin-right:6px}.theme-live-preview main button.secondary{background:var(--preview-surface,#fff);color:var(--preview-hero-text,#25344a);border:1px solid var(--preview-line,#dfe6ef)}
.workspace-preview-metallic-silver main section{background:linear-gradient(135deg,#fff,var(--preview-hero-end))}.workspace-preview-metallic-gold main section{background:linear-gradient(125deg,#F9EBC1,#D5A52A)}.workspace-preview-champagne-gold main section{background:linear-gradient(125deg,#fff,#F2E3C2)}
.tenant-theme-settings{margin-top:0}
@media(max-width:1080px){.workspace-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.theme-summary-card{grid-template-columns:1fr}.theme-swatches{justify-content:flex-start}.workspace-style-grid{grid-template-columns:1fr}.workspace-style-card{grid-template-columns:150px 1fr;grid-template-rows:1fr}.theme-live-preview{grid-template-columns:1fr}.theme-live-preview aside{display:grid;grid-template-columns:auto 1fr;align-items:center}.theme-live-preview aside small,.theme-preview-nav{display:none}}


/* v5.4.1.1 bounded rendering correction
   The selected workspace preset now renders on tenant-scoped Client 360 as well as the
   client workspace. These rules broaden shared presentation surfaces only; application
   structure, workflows, permissions, data, and status semantics remain unchanged. */
.tenant-theme-active .main-area{
  background:radial-gradient(circle at 82% 2%,var(--workspace-pattern-a),transparent 28%),linear-gradient(145deg,var(--workspace-canvas),color-mix(in srgb,var(--workspace-canvas) 86%,var(--workspace-surface-alt)));
  color:var(--workspace-hero-text);transition:background .2s ease,color .2s ease
}
.tenant-theme-active .main-content{background:transparent;color:var(--workspace-hero-text)}
.tenant-theme-active .page-head h1,.tenant-theme-active .page-head h2,.tenant-theme-active .page-head h3{color:var(--workspace-hero-text)}
.tenant-theme-active .page-head p,.tenant-theme-active .subtle,.tenant-theme-active .muted{color:color-mix(in srgb,var(--workspace-hero-text) 64%,transparent)}
.tenant-theme-active .card,.tenant-theme-active .table-card,.tenant-theme-active .kpi,.tenant-theme-active .v53-card,.tenant-theme-active .v53-module-card,.tenant-theme-active .v53-record-card,.tenant-theme-active .v53-opportunity-card,.tenant-theme-active .v53-solution-card,.tenant-theme-active .v53-training-card,.tenant-theme-active .ca-section,.tenant-theme-active .ca-action-card,.tenant-theme-active .ca-source-card,.tenant-theme-active .ca-social-card,.tenant-theme-active .solution-card,.tenant-theme-active .social-card,.tenant-theme-active .opportunity-card,.tenant-theme-active .action-card,.tenant-theme-active .list-item,.tenant-theme-active .notice-card,.tenant-theme-active .section-block,.tenant-theme-active .readonly-banner,.tenant-theme-active .managed-session-banner,.tenant-theme-active .secure-link{
  background:linear-gradient(145deg,var(--workspace-surface),color-mix(in srgb,var(--workspace-surface) 84%,var(--workspace-surface-alt)));border-color:var(--workspace-line);color:var(--workspace-hero-text)
}
.tenant-theme-active .action-card:hover,.tenant-theme-active .list-item:hover{border-color:color-mix(in srgb,var(--workspace-display-accent) 52%,var(--workspace-line));box-shadow:0 12px 26px var(--workspace-shadow)}
.tenant-theme-active input,.tenant-theme-active select,.tenant-theme-active textarea,.tenant-theme-active .input{background:var(--workspace-surface);border-color:var(--workspace-line);color:var(--workspace-hero-text)}
.tenant-theme-active input:focus,.tenant-theme-active select:focus,.tenant-theme-active textarea:focus,.tenant-theme-active .input:focus{border-color:var(--workspace-display-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--workspace-display-accent) 18%,transparent)}
.tenant-theme-active .modal{background:var(--workspace-surface);border-color:var(--workspace-line);color:var(--workspace-hero-text)}
.tenant-theme-active .modal-head,.tenant-theme-active .modal-foot{background:var(--workspace-surface-alt);border-color:var(--workspace-line)}
.tenant-theme-active .topbar .tenant-select{background:var(--workspace-surface);border-color:var(--workspace-line)}
.tenant-theme-active .action-card strong,.tenant-theme-active .list-item strong,.tenant-theme-active .kpi strong{color:var(--workspace-hero-text)}
.tenant-theme-active .action-card span,.tenant-theme-active .list-item small,.tenant-theme-active .kpi small{color:color-mix(in srgb,var(--workspace-hero-text) 62%,transparent)}

/* 1. RMR Classic Blue / Original Soft Blue */
.workspace-style-classic-blue.tenant-theme-active .main-area{background:radial-gradient(circle at 85% 4%,rgba(49,94,251,.12),transparent 25%),linear-gradient(145deg,#F8FBFF,#EDF4FC 72%,#E7F0FA)}
.workspace-style-classic-blue.tenant-theme-active .topbar{background:rgba(255,255,255,.96)}
.workspace-style-classic-blue.tenant-theme-active .card,.workspace-style-classic-blue.tenant-theme-active .table-card,.workspace-style-classic-blue.tenant-theme-active .kpi,.workspace-style-classic-blue.tenant-theme-active .v53-card,.workspace-style-classic-blue.tenant-theme-active .action-card,.workspace-style-classic-blue.tenant-theme-active .list-item{background:linear-gradient(145deg,#FFFFFF,#F5F9FE);border-color:#D7E5F4}
.workspace-style-classic-blue.tenant-theme-active .hero-card,.workspace-style-classic-blue.tenant-theme-active .unified-hero,.workspace-style-classic-blue.tenant-theme-active .v53-hero{background:linear-gradient(125deg,#FFFFFF,#E3EFFB)!important}

/* 2. Metallic Silver */
.workspace-style-metallic-silver.tenant-theme-active .main-area{background:linear-gradient(120deg,rgba(255,255,255,.78) 0 12%,transparent 12% 54%,rgba(116,128,146,.10) 54% 57%,transparent 57%),linear-gradient(145deg,#F7F8FA,#E8EBF0 58%,#DDE2E8)}
.workspace-style-metallic-silver.tenant-theme-active .topbar{background:linear-gradient(90deg,#FFFFFF,#E7EBF0);border-color:#C5CBD4}
.workspace-style-metallic-silver.tenant-theme-active .card,.workspace-style-metallic-silver.tenant-theme-active .table-card,.workspace-style-metallic-silver.tenant-theme-active .kpi,.workspace-style-metallic-silver.tenant-theme-active .v53-card,.workspace-style-metallic-silver.tenant-theme-active .v53-module-card,.workspace-style-metallic-silver.tenant-theme-active .v53-record-card,.workspace-style-metallic-silver.tenant-theme-active .action-card,.workspace-style-metallic-silver.tenant-theme-active .list-item,.workspace-style-metallic-silver.tenant-theme-active .notice-card{background:linear-gradient(145deg,#FFFFFF 0%,#F7F8FA 46%,#E1E5EA 100%);border-color:#B9C1CC;box-shadow:0 12px 30px rgba(28,39,55,.16)}
.workspace-style-metallic-silver.tenant-theme-active .hero-card,.workspace-style-metallic-silver.tenant-theme-active .unified-hero,.workspace-style-metallic-silver.tenant-theme-active .v53-hero{background:linear-gradient(125deg,#FFFFFF 0%,#EEF1F5 58%,#C9D0D9 100%)!important;border-color:#B7C0CB!important}
.workspace-style-metallic-silver.tenant-theme-active .data-table th,.workspace-style-metallic-silver.tenant-theme-active .v53-table th{background:linear-gradient(180deg,#F8F9FB,#DDE2E8)}

/* 3. Metallic Gold / Original Gold */
.workspace-style-metallic-gold.tenant-theme-active .main-area{background:linear-gradient(112deg,rgba(255,255,255,.34) 0 22%,transparent 22% 58%,rgba(140,94,0,.16) 58% 61%,transparent 61%),linear-gradient(145deg,#F9E7B2,#E4C56C 56%,#D3A83C)}
.workspace-style-metallic-gold.tenant-theme-active .sidebar{background:linear-gradient(180deg,#101B27,#192838 72%,#0D1721)}
.workspace-style-metallic-gold.tenant-theme-active .topbar{background:linear-gradient(90deg,#FFF8E4,#E8C963);border-color:#BF9221}
.workspace-style-metallic-gold.tenant-theme-active .card,.workspace-style-metallic-gold.tenant-theme-active .table-card,.workspace-style-metallic-gold.tenant-theme-active .kpi,.workspace-style-metallic-gold.tenant-theme-active .v53-card,.workspace-style-metallic-gold.tenant-theme-active .v53-module-card,.workspace-style-metallic-gold.tenant-theme-active .v53-record-card,.workspace-style-metallic-gold.tenant-theme-active .v53-opportunity-card,.workspace-style-metallic-gold.tenant-theme-active .action-card,.workspace-style-metallic-gold.tenant-theme-active .list-item,.workspace-style-metallic-gold.tenant-theme-active .notice-card{background:linear-gradient(145deg,#FFFDF4 0%,#F8E8B8 48%,#E3BF58 100%);border-color:#B88919;box-shadow:0 14px 32px rgba(89,63,11,.22)}
.workspace-style-metallic-gold.tenant-theme-active .hero-card,.workspace-style-metallic-gold.tenant-theme-active .unified-hero,.workspace-style-metallic-gold.tenant-theme-active .v53-hero,.workspace-style-metallic-gold.tenant-theme-active .v53-detail-hero{background:linear-gradient(125deg,#FFF7DC 0%,#EECF75 58%,#C9971B 100%)!important;border-color:#B78616!important;color:#271D09!important}
.workspace-style-metallic-gold.tenant-theme-active .button:not(.secondary):not(.danger):not(.v531-win){background:linear-gradient(135deg,#D51C29,#A50B15)!important;border-color:#8F0912!important;color:#FFFFFF!important}
.workspace-style-metallic-gold.tenant-theme-active .nav-link.active{background:linear-gradient(100deg,#E6C56A,#B88919)!important;color:#17212B!important;box-shadow:inset 3px 0 0 #C71420,0 7px 18px rgba(0,0,0,.24)!important}
.workspace-style-metallic-gold.tenant-theme-active .data-table th,.workspace-style-metallic-gold.tenant-theme-active .v53-table th{background:linear-gradient(180deg,#FFF5D3,#E2BD55);color:#3A2B0B}

/* 4. Champagne Gold / Reduced Gold */
.workspace-style-champagne-gold.tenant-theme-active .main-area{background:linear-gradient(112deg,rgba(214,181,111,.12) 0 2%,transparent 2% 63%,rgba(214,181,111,.16) 63% 64%,transparent 64%),linear-gradient(145deg,#FFFEFB,#F8F3E9 64%,#F2E6CE)}
.workspace-style-champagne-gold.tenant-theme-active .topbar{background:rgba(255,253,249,.97);border-color:#E3D2B1}
.workspace-style-champagne-gold.tenant-theme-active .card,.workspace-style-champagne-gold.tenant-theme-active .table-card,.workspace-style-champagne-gold.tenant-theme-active .kpi,.workspace-style-champagne-gold.tenant-theme-active .v53-card,.workspace-style-champagne-gold.tenant-theme-active .v53-module-card,.workspace-style-champagne-gold.tenant-theme-active .v53-record-card,.workspace-style-champagne-gold.tenant-theme-active .action-card,.workspace-style-champagne-gold.tenant-theme-active .list-item,.workspace-style-champagne-gold.tenant-theme-active .notice-card{background:linear-gradient(145deg,#FFFFFF,#FBF7EF);border-color:#E5D5B7;box-shadow:0 12px 28px rgba(80,60,27,.10)}
.workspace-style-champagne-gold.tenant-theme-active .hero-card,.workspace-style-champagne-gold.tenant-theme-active .unified-hero,.workspace-style-champagne-gold.tenant-theme-active .v53-hero,.workspace-style-champagne-gold.tenant-theme-active .v53-detail-hero{background:linear-gradient(125deg,#FFFFFF 0%,#FAF4E8 62%,#ECD7A9 100%)!important;border-color:#E1CDA6!important}
.workspace-style-champagne-gold.tenant-theme-active .nav-link.active{background:linear-gradient(100deg,#E6C985,#BE9850)!important;color:#17242A!important;box-shadow:inset 3px 0 0 #C81421,0 7px 18px rgba(0,0,0,.18)!important}
.workspace-style-champagne-gold.tenant-theme-active .button:not(.secondary):not(.danger):not(.v531-win){background:linear-gradient(135deg,#D51C29,#A70F1B)!important;border-color:#970D17!important}

/* Preview cards use real, individually cropped visual-source images. */
.workspace-style-image{background:#F2F5F8}
.workspace-style-image img{object-position:center top;background:#F2F5F8}

/* v5.4.1.2 interaction-preservation guard
   Decorative theme rendering must never intercept accepted navigation tiles. */
.tenant-theme-active button[data-route],
.tenant-theme-active button[data-v53-route],
.tenant-theme-active .module-launch,
.tenant-theme-active .v53-module-card,
.tenant-theme-active .action-card{pointer-events:auto;position:relative;z-index:1;cursor:pointer}
