/* Light variant of the asset embeds (Admin Management ▸ Branding ▸ Embed Panel Theme = Light).
   embed-asset-hub.css, embed-asset-detail.css and embed-asset-portal.css keep the v3 dark look; everything here
   only applies under .embed-shell--light and re-tones the same surfaces for a white iframe. The image lightbox
   stays dark on purpose. */

.embed-shell--light {
    --embed-cyan: #0369a1;
    --embed-cyan-dim: #0284c7;
    --embed-cyan-soft: rgba(2, 132, 199, 0.10);
    --embed-cyan-border: rgba(2, 132, 199, 0.22);
    --embed-cyan-hover: rgba(2, 132, 199, 0.45);
    --embed-violet: #6d28d9;
    --embed-violet-soft: rgba(124, 58, 237, 0.10);
    --embed-text: #0f172a;
    --embed-muted: #64748b;
    --embed-subtle: #64748b;
    --embed-glass: rgba(255, 255, 255, 0.92);
    --embed-glass-border: rgba(2, 132, 199, 0.18);
    --embed-accent: #0369a1;
    color: var(--embed-text);
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(2, 132, 199, 0.10), transparent 55%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.embed-shell--light .embed-shell-grid {
    background-image:
        linear-gradient(rgba(2, 132, 199, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2, 132, 199, 0.06) 1px, transparent 1px);
}

.embed-shell--light .embed-shell::-webkit-scrollbar-thumb,
.embed-shell--light .embed-table-wrap::-webkit-scrollbar-thumb {
    background: rgba(2, 132, 199, 0.35);
}

/* ────────────────────────────── Hub header, status pill, search ────────────────────────────── */
.embed-shell--light .embed-hub-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.96) 100%);
    border-color: rgba(2, 132, 199, 0.18);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.embed-shell--light .embed-hub-icon {
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.28);
}

.embed-shell--light .embed-hub-title {
    background: linear-gradient(92deg, #0369a1 0%, #0284c7 45%, #6d28d9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.embed-shell--light .embed-hub-sub {
    color: #475569;
}

.embed-shell--light .embed-status-pill {
    color: #0369a1;
    border-color: rgba(2, 132, 199, 0.3);
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.10), rgba(124, 58, 237, 0.06));
    box-shadow: none;
}

.embed-shell--light .embed-status-pill--live::before {
    background: #16a34a;
    box-shadow: 0 0 8px rgba(22, 163, 74, 0.55);
}

.embed-shell--light .embed-search .mud-input-root {
    background: #ffffff !important;
    backdrop-filter: none;
}

.embed-shell--light .embed-search .mud-input-outlined-border {
    border-color: rgba(2, 132, 199, 0.28) !important;
}

.embed-shell--light .embed-search .mud-input-root:hover .mud-input-outlined-border {
    border-color: rgba(2, 132, 199, 0.45) !important;
}

.embed-shell--light .embed-search .mud-input-root.mud-input-root-outlined:focus-within .mud-input-outlined-border {
    border-color: rgba(2, 132, 199, 0.7) !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12) !important;
}

.embed-shell--light .embed-search .mud-input-slot {
    color: #0f172a !important;
}

.embed-shell--light .embed-search .mud-input-adornment .mud-icon-root {
    color: #0369a1 !important;
}

.embed-shell--light .embed-search .mud-input::placeholder,
.embed-shell--light .embed-search input::placeholder {
    color: #94a3b8 !important;
}

/* ────────────────────────────── Hub asset cards ────────────────────────────── */
.embed-shell--light .embed-asset-card {
    background: #ffffff;
    border-color: rgba(2, 132, 199, 0.16);
    backdrop-filter: none;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.embed-shell--light .embed-asset-card::before {
    background: linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.6), rgba(124, 58, 237, 0.5), transparent);
}

.embed-shell--light .embed-asset-card::after {
    color: #0369a1;
}

.embed-shell--light .embed-asset-card:hover {
    border-color: rgba(2, 132, 199, 0.4);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(2, 132, 199, 0.12);
}

.embed-shell--light .embed-asset-card-icon {
    background: linear-gradient(145deg, rgba(2, 132, 199, 0.12), rgba(124, 58, 237, 0.10));
    color: #0369a1;
    border-color: rgba(2, 132, 199, 0.3);
    box-shadow: none;
}

.embed-shell--light .embed-asset-card:hover .embed-asset-card-icon {
    box-shadow: 0 0 16px rgba(2, 132, 199, 0.2);
}

.embed-shell--light .embed-asset-name {
    color: #0f172a;
}

.embed-shell--light .embed-asset-meta-row {
    color: #475569;
    background: rgba(2, 132, 199, 0.05);
    border-color: rgba(2, 132, 199, 0.10);
}

.embed-shell--light .embed-asset-meta-row .meta-ico {
    color: #0369a1 !important;
}

.embed-shell--light .embed-asset-card-footer {
    border-top-color: rgba(15, 23, 42, 0.06);
}

/* Tags (hub card footer, hero, landing meta) */
.embed-shell--light .embed-asset-tag {
    background: rgba(124, 58, 237, 0.10);
    color: #5b21b6;
    border-color: rgba(124, 58, 237, 0.3);
}

.embed-shell--light .embed-asset-tag--ok {
    background: rgba(22, 163, 74, 0.10);
    color: #166534;
    border-color: rgba(22, 163, 74, 0.35);
}

.embed-shell--light .embed-asset-tag--warn {
    background: rgba(217, 119, 6, 0.10);
    color: #92400e;
    border-color: rgba(217, 119, 6, 0.35);
}

.embed-shell--light .embed-asset-tag--maint {
    background: rgba(124, 58, 237, 0.10);
    color: #5b21b6;
    border-color: rgba(124, 58, 237, 0.35);
}

.embed-shell--light .embed-asset-tag--neutral {
    background: rgba(100, 116, 139, 0.10);
    color: #475569;
    border-color: rgba(100, 116, 139, 0.3);
}

.embed-shell--light .embed-asset-tag--code {
    color: #0369a1;
    border-color: rgba(2, 132, 199, 0.35);
    background: rgba(2, 132, 199, 0.08);
}

.embed-shell--light .embed-asset-tag--status {
    color: #166534;
    border-color: rgba(22, 163, 74, 0.35);
    background: rgba(22, 163, 74, 0.08);
}

.embed-shell--light .embed-asset-tag--crit {
    color: #b91c1c;
    border-color: rgba(220, 38, 38, 0.35);
    background: rgba(220, 38, 38, 0.08);
}

/* ────────────────────────────── Hub detail panel ────────────────────────────── */
.embed-shell--light .embed-detail-panel {
    background: #ffffff;
    border-color: rgba(2, 132, 199, 0.2);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    backdrop-filter: none;
}

.embed-shell--light .embed-detail-head {
    border-bottom-color: rgba(2, 132, 199, 0.14);
    background: linear-gradient(90deg, rgba(2, 132, 199, 0.08) 0%, transparent 65%);
}

.embed-shell--light .embed-detail-icon {
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.28);
}

/* The v3 markup colours these inline; the light shell has to win over the inline style. */
.embed-shell--light .embed-detail-name {
    color: #0f172a !important;
}

.embed-shell--light .embed-detail-caption,
.embed-shell--light .embed-summary-note {
    color: #64748b !important;
}

/* Metrics */
.embed-shell--light .embed-metric {
    border-color: rgba(2, 132, 199, 0.16);
    background: linear-gradient(145deg, rgba(2, 132, 199, 0.05), rgba(124, 58, 237, 0.03)), #ffffff;
}

.embed-shell--light .embed-metric:hover {
    border-color: rgba(2, 132, 199, 0.32);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.10);
}

.embed-shell--light .embed-metric-icon--blue,
.embed-shell--light .embed-metric-icon--indigo {
    background: rgba(2, 132, 199, 0.12);
    color: #0369a1;
    box-shadow: none;
}

.embed-shell--light .embed-metric-icon--violet {
    background: rgba(124, 58, 237, 0.12);
    color: #6d28d9;
    box-shadow: none;
}

.embed-shell--light .embed-metric-icon--amber {
    background: rgba(217, 119, 6, 0.14);
    color: #b45309;
}

.embed-shell--light .embed-metric-icon--green {
    background: rgba(22, 163, 74, 0.14);
    color: #15803d;
}

.embed-shell--light .embed-metric-label {
    color: #64748b;
}

.embed-shell--light .embed-metric-value {
    color: #0369a1;
}

.embed-shell--light .embed-metric-value--total {
    color: #15803d !important;
}

/* ────────────────────────────── Work order table ────────────────────────────── */
.embed-shell--light .embed-wo-table {
    border-color: rgba(2, 132, 199, 0.18);
}

.embed-shell--light .embed-wo-table th {
    color: #0369a1;
    background: rgba(2, 132, 199, 0.07);
    border-bottom-color: rgba(2, 132, 199, 0.15);
}

.embed-shell--light .embed-wo-table td {
    color: #334155;
    background: #ffffff;
    border-bottom-color: rgba(15, 23, 42, 0.06);
}

.embed-shell--light .embed-wo-table tbody tr:hover td {
    background: rgba(2, 132, 199, 0.06);
}

.embed-shell--light .embed-wo-row:active td {
    background: rgba(2, 132, 199, 0.10) !important;
}

.embed-shell--light .embed-wo-id {
    color: #0369a1;
}

.embed-shell--light .embed-wo-id--link {
    text-decoration-color: rgba(2, 132, 199, 0.4);
}

.embed-shell--light .embed-wo-row:hover .embed-wo-id--link {
    text-decoration-color: rgba(2, 132, 199, 0.8);
}

/* Coloured text chips in the tables were tuned for a dark background. */
.embed-shell--light .embed-chip[style*="#4ade80"] { color: #15803d !important; }
.embed-shell--light .embed-chip[style*="#00d4ff"] { color: #0369a1 !important; }
.embed-shell--light .embed-chip[style*="#fbbf24"] { color: #b45309 !important; }
.embed-shell--light .embed-chip[style*="#a78bfa"] { color: #6d28d9 !important; }
.embed-shell--light .embed-chip[style*="#94a3b8"] { color: #64748b !important; }
.embed-shell--light .embed-chip[style*="#d97706"] { color: #c2410c !important; }
.embed-shell--light .embed-chip[style*="#dc2626"] { color: #b91c1c !important; }
.embed-shell--light .embed-chip[style*="#64748b"] { color: #475569 !important; }

/* ────────────────────────────── States, tabs ────────────────────────────── */
.embed-shell--light .embed-loading {
    color: #475569;
}

.embed-shell--light .embed-empty {
    color: #475569;
    border-color: rgba(2, 132, 199, 0.25);
    background: rgba(2, 132, 199, 0.03);
}

.embed-shell--light .embed-empty--media strong {
    color: #0f172a;
}

.embed-shell--light .embed-empty-icon {
    background: linear-gradient(145deg, rgba(2, 132, 199, 0.12), rgba(124, 58, 237, 0.10));
    color: #0369a1;
    border-color: rgba(2, 132, 199, 0.3);
    box-shadow: none;
}

.embed-shell--light .embed-empty-hint {
    color: #64748b;
}

.embed-shell--light .embed-empty-hint a {
    color: #0369a1;
}

.embed-shell--light .embed-tabs .mud-tab.mud-tab-active,
.embed-shell--light .embed-asset-tabs .mud-tab.mud-tab-active {
    color: #0369a1 !important;
}

.embed-shell--light .embed-tabs .mud-tabs-toolbar {
    background: rgba(241, 245, 249, 0.9) !important;
    border-bottom-color: rgba(2, 132, 199, 0.15) !important;
}

.embed-shell--light .embed-tabs .mud-tabs-slider {
    background: linear-gradient(90deg, #0369a1, #6d28d9) !important;
}

/* ────────────────────────────── Asset hero ────────────────────────────── */
.embed-shell--light .embed-asset-hero {
    border-color: rgba(2, 132, 199, 0.22);
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.06), rgba(124, 58, 237, 0.04)), #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: none;
}

.embed-shell--light .embed-asset-hero-visual {
    border-color: rgba(2, 132, 199, 0.3);
    background: radial-gradient(circle at 30% 20%, rgba(2, 132, 199, 0.12), transparent 55%), #f1f5f9;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.12);
}

.embed-shell--light .embed-asset-hero-visual::before {
    background: linear-gradient(180deg, transparent 60%, rgba(2, 132, 199, 0.06));
}

.embed-shell--light .embed-asset-hero-visual--clickable:hover {
    border-color: rgba(2, 132, 199, 0.55);
    box-shadow: 0 8px 28px rgba(2, 132, 199, 0.22);
}

.embed-shell--light .embed-asset-hero-zoom {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(2, 132, 199, 0.4);
    color: #0369a1;
}

.embed-shell--light .embed-asset-hero-placeholder {
    color: rgba(2, 132, 199, 0.5);
}

.embed-shell--light .embed-asset-hero-body h1 {
    color: #0f172a;
}

.embed-shell--light .embed-asset-hero-meta {
    color: #475569;
}

/* ────────────────────────────── Asset tabs and detail blocks ────────────────────────────── */
.embed-shell--light .embed-asset-tabs .mud-tabs-toolbar {
    background: rgba(241, 245, 249, 0.95) !important;
    border-color: rgba(2, 132, 199, 0.18);
}

.embed-shell--light .embed-asset-tabs .mud-tabs-slider {
    background: linear-gradient(90deg, #0369a1, #6d28d9) !important;
}

.embed-shell--light .embed-asset-tab-panel {
    border-color: rgba(2, 132, 199, 0.18);
    background: #ffffff;
}

.embed-shell--light .embed-asset-details-block {
    border-color: rgba(2, 132, 199, 0.16);
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.04), rgba(124, 58, 237, 0.02)), #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 3px 12px rgba(15, 23, 42, 0.06);
}

.embed-shell--light .embed-asset-details-block::before {
    background: linear-gradient(180deg, #0369a1, rgba(109, 40, 217, 0.7));
}

.embed-shell--light .embed-asset-details-block-head {
    color: #0369a1;
    border-bottom-color: rgba(2, 132, 199, 0.15);
}

.embed-shell--light .embed-asset-details-block-head .mud-icon-root {
    color: #0369a1 !important;
}

.embed-shell--light .embed-asset-details-block--comments .embed-asset-details-comments {
    color: #334155;
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
}

/* Tech cards */
.embed-shell--light .embed-asset-tech-card {
    border-color: rgba(15, 23, 42, 0.08);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.6), transparent 55%), #ffffff;
}

.embed-shell--light .embed-asset-tech-card:hover {
    border-color: rgba(2, 132, 199, 0.35);
    box-shadow: 0 0 0 1px rgba(2, 132, 199, 0.08), 0 6px 14px rgba(15, 23, 42, 0.08);
}

.embed-shell--light .embed-asset-tech-card--primary {
    border-color: rgba(2, 132, 199, 0.28);
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.10), rgba(2, 132, 199, 0.02)), #ffffff;
}

.embed-shell--light .embed-asset-tech-card--primary .embed-asset-tech-value {
    color: #0369a1;
}

.embed-shell--light .embed-asset-tech-card--metric {
    border-color: rgba(124, 58, 237, 0.25);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), transparent 60%), #ffffff;
}

.embed-shell--light .embed-asset-tech-card--metric .embed-asset-tech-value {
    color: #5b21b6;
}

.embed-shell--light .embed-asset-tech-card--empty .embed-asset-tech-value {
    color: #94a3b8;
}

.embed-shell--light .embed-asset-tech-label {
    color: #64748b;
}

.embed-shell--light .embed-asset-tech-value {
    color: #0f172a;
}

.embed-shell--light .embed-asset-tech-section {
    border-top-color: rgba(15, 23, 42, 0.08);
}

.embed-shell--light .embed-asset-tech-section-title {
    color: #0369a1;
}

/* Maintenance history sub-tabs */
.embed-shell--light .embed-asset-wo-subtab {
    border-color: rgba(15, 23, 42, 0.12);
    background: #f1f5f9;
    color: #475569;
}

.embed-shell--light .embed-asset-wo-subtab--on {
    color: #0f172a;
    border-color: rgba(2, 132, 199, 0.4);
    background: rgba(2, 132, 199, 0.10);
}

.embed-shell--light .embed-asset-wo-subtab--fdd.embed-asset-wo-subtab--on {
    border-color: rgba(220, 38, 38, 0.4);
    background: rgba(220, 38, 38, 0.08);
}

.embed-shell--light .embed-asset-wo-subtab--corr.embed-asset-wo-subtab--on {
    border-color: rgba(217, 119, 6, 0.45);
    background: rgba(217, 119, 6, 0.10);
}

.embed-shell--light .embed-asset-wo-subtab--prev.embed-asset-wo-subtab--on {
    border-color: rgba(2, 132, 199, 0.45);
    background: rgba(2, 132, 199, 0.10);
}

.embed-shell--light .embed-asset-wo-subtab-count {
    background: rgba(15, 23, 42, 0.08);
}

/* ────────────────────────────── Media stage ────────────────────────────── */
.embed-shell--light .embed-asset-media-stage {
    border-top-color: rgba(2, 132, 199, 0.18);
    border-bottom-color: rgba(2, 132, 199, 0.14);
    background: linear-gradient(180deg, rgba(2, 132, 199, 0.05), transparent 12%), #f1f5f9;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.embed-shell--light .embed-asset-media-stage--bms {
    --embed-media-accent: #0369a1;
    --embed-media-accent-dim: rgba(2, 132, 199, 0.5);
    --embed-media-accent-soft: rgba(2, 132, 199, 0.10);
}

.embed-shell--light .embed-asset-media-stage--chiller {
    --embed-media-accent: #0284c7;
    --embed-media-accent-dim: rgba(14, 165, 233, 0.5);
    --embed-media-accent-soft: rgba(14, 165, 233, 0.10);
}

.embed-shell--light .embed-asset-media-rail,
.embed-shell--light .embed-asset-media-rail--left,
.embed-shell--light .embed-asset-media-rail--right {
    background-image:
        repeating-linear-gradient(180deg, transparent 0, transparent 6px, var(--embed-media-accent-soft) 6px, var(--embed-media-accent-soft) 7px),
        linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.02));
    border-color: rgba(2, 132, 199, 0.16);
}

.embed-shell--light .embed-asset-media-rail::after {
    box-shadow: 0 0 6px var(--embed-media-accent);
}

.embed-shell--light .embed-asset-media-stack {
    border-inline-color: rgba(2, 132, 199, 0.12);
}

.embed-shell--light .embed-asset-media-panel + .embed-asset-media-panel {
    border-top-color: rgba(2, 132, 199, 0.12);
}

/* ────────────────────────────── Portal: nav, hub cards, iframe, external ────────────────────────────── */
.embed-shell--light .embed-asset-portal-nav {
    border-color: rgba(2, 132, 199, 0.2);
    background: #ffffff;
}

.embed-shell--light .embed-asset-portal-nav a,
.embed-shell--light .embed-asset-portal-nav-link {
    border-color: rgba(2, 132, 199, 0.18);
    background: #f8fafc;
    color: #475569;
}

.embed-shell--light .embed-asset-portal-nav a:hover,
.embed-shell--light .embed-asset-portal-nav-link:hover {
    color: #0f172a;
    border-color: rgba(2, 132, 199, 0.4);
    background: rgba(2, 132, 199, 0.06);
}

.embed-shell--light .embed-asset-portal-nav a.embed-asset-portal-nav--on,
.embed-shell--light .embed-asset-portal-nav-link.embed-asset-portal-nav--on {
    color: #0369a1;
    border-color: rgba(2, 132, 199, 0.45);
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.10), rgba(124, 58, 237, 0.06));
    box-shadow: none;
}

.embed-shell--light .embed-asset-portal-hub-card {
    border-color: rgba(2, 132, 199, 0.22);
    background: linear-gradient(145deg, rgba(2, 132, 199, 0.06), rgba(124, 58, 237, 0.04)), #ffffff;
    color: #0f172a;
}

.embed-shell--light .embed-asset-portal-hub-card:hover {
    border-color: rgba(2, 132, 199, 0.45);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.embed-shell--light .embed-asset-portal-hub-card p {
    color: #64748b;
}

.embed-shell--light .embed-asset-portal-hub-icon {
    background: rgba(2, 132, 199, 0.12);
    color: #0369a1;
}

.embed-shell--light .embed-asset-portal-section-title {
    color: #0369a1;
}

.embed-shell--light .embed-asset-portal-iframe-wrap {
    border-color: rgba(2, 132, 199, 0.2);
    background: #ffffff;
}

.embed-shell--light .embed-asset-portal-iframe {
    background: #ffffff;
}

.embed-shell--light .embed-asset-portal-external {
    border-color: rgba(2, 132, 199, 0.2);
    background: #ffffff;
    color: #475569;
}

.embed-shell--light .embed-asset-portal-external-link {
    border-color: rgba(2, 132, 199, 0.4);
    background: rgba(2, 132, 199, 0.08);
    color: #0369a1;
}

.embed-shell--light .embed-asset-portal-external-link:hover {
    border-color: rgba(2, 132, 199, 0.6);
    color: #0f172a;
}

/* ────────────────────────────── Landing page ────────────────────────────── */
.embed-shell--light .embed-asset-landing-kicker {
    color: #0369a1;
}

.embed-shell--light .embed-asset-landing-head h1 {
    color: #0f172a;
}

.embed-shell--light .embed-asset-landing-meta {
    color: #475569;
}

.embed-shell--light .embed-asset-landing-btn {
    border-color: rgba(2, 132, 199, 0.28);
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.07), rgba(124, 58, 237, 0.04)), #ffffff;
    color: #0f172a;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.embed-shell--light .embed-asset-landing-btn:hover {
    border-color: rgba(2, 132, 199, 0.55);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14), 0 0 18px rgba(2, 132, 199, 0.10);
}

.embed-shell--light .embed-asset-landing-btn-icon {
    background: rgba(2, 132, 199, 0.12);
    color: #0369a1;
}

.embed-shell--light .embed-asset-landing-btn--bms .embed-asset-landing-btn-icon {
    background: rgba(217, 119, 6, 0.14);
    color: #b45309;
}

.embed-shell--light .embed-asset-landing-btn--chiller .embed-asset-landing-btn-icon {
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
}

.embed-shell--light .embed-asset-landing-btn-text small {
    color: #64748b;
}

.embed-shell--light .embed-asset-landing-btn-arrow {
    color: #94a3b8;
}

/* ────────────────────────────── Work order detail (shared ops-wo-detail block) ────────────────────────────── */
.embed-shell--light .ops-wo-detail {
    background: #ffffff;
    border-color: rgba(2, 132, 199, 0.2);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.embed-shell--light .ops-wo-detail-hero {
    background: linear-gradient(90deg, rgba(2, 132, 199, 0.10) 0%, rgba(124, 58, 237, 0.05) 55%, transparent 100%);
    border-bottom-color: rgba(2, 132, 199, 0.15);
}

.embed-shell--light .ops-wo-detail-icon {
    color: #ffffff;
    box-shadow: none;
}

.embed-shell--light .ops-wo-detail-section {
    background: rgba(15, 23, 42, 0.03);
    border-color: rgba(15, 23, 42, 0.08);
}

.embed-shell--light .ops-wo-detail-section-head {
    background: rgba(2, 132, 199, 0.07);
    border-bottom-color: rgba(15, 23, 42, 0.06);
}

.embed-shell--light .ops-wo-detail-row {
    border-bottom-color: rgba(15, 23, 42, 0.05);
}

/* Badges (the ops-badge classes) in case the page is shown without embed-light.css rules matching */
.embed-shell--light .ops-badge--type-corrective { color: #92400e; background: rgba(217, 119, 6, 0.12); border-color: rgba(217, 119, 6, 0.3); }
.embed-shell--light .ops-badge--type-preventive { color: #075985; background: rgba(2, 132, 199, 0.12); border-color: rgba(2, 132, 199, 0.3); }
.embed-shell--light .ops-badge--type-fdd { color: #5b21b6; background: rgba(124, 58, 237, 0.12); border-color: rgba(124, 58, 237, 0.3); }
.embed-shell--light .ops-badge--status-pending { color: #b91c1c; background: rgba(220, 38, 38, 0.10); border-color: rgba(220, 38, 38, 0.3); }
.embed-shell--light .ops-badge--status-progress { color: #075985; background: rgba(2, 132, 199, 0.12); border-color: rgba(2, 132, 199, 0.3); }
.embed-shell--light .ops-badge--status-hold { color: #5b21b6; background: rgba(124, 58, 237, 0.12); border-color: rgba(124, 58, 237, 0.3); }
.embed-shell--light .ops-badge--status-done { color: #166534; background: rgba(22, 163, 74, 0.12); border-color: rgba(22, 163, 74, 0.3); }
.embed-shell--light .ops-badge--status-open { color: #c2410c; background: rgba(234, 88, 12, 0.12); border-color: rgba(234, 88, 12, 0.3); }
.embed-shell--light .ops-badge--prio-high { color: #b91c1c; background: rgba(220, 38, 38, 0.12); border-color: rgba(220, 38, 38, 0.32); }
.embed-shell--light .ops-badge--prio-med { color: #5b21b6; background: rgba(124, 58, 237, 0.12); border-color: rgba(124, 58, 237, 0.3); }
.embed-shell--light .ops-badge--prio-low,
.embed-shell--light .ops-badge--neutral { color: #475569; background: rgba(100, 116, 139, 0.12); border-color: rgba(100, 116, 139, 0.28); }

/* The lightbox stays dark: it is an overlay over the whole page, not a panel surface. */
