/* ao.theme-light.css
   Light theme — SAME layout/positioning model as ao.theme-dark.css.
   Rule: light changes are VISUAL ONLY (colours/gradients). Layout = dark.

   Enterprise CRM rules (light):
   - Most buttons = orange (primary)
   - Links = orange (no underline)
   - Urgent/critical = magenta
   - Remove legacy teal accents (incl. .blue_link border)
*/

/* ==========================================================
   TOKENS
   ========================================================== */

:root[data-theme="light"],
html[data-theme="light"] {
    /* Brand anchors */

    --brand-dark-blue: #1A4179;
    --brand-light-blue: #5091C4;
    --brand-magenta: #E42289;
    --brand-orange: #F88D2F;
    --brand-teal: #4F9BBA; /* legacy only (avoid using) */
    /* Page surfaces */
    --shell-bg: var(--brand-dark-blue);
    --color-bg: #f3f6fb;
    --color-text: #0f172a;
    --color-muted-text: rgba(15, 23, 42, 0.70);
    --surface-1: #ffffff;
    --surface-2: #eef3fb;
    --surface-3: #e7eef9;
    --border-1: rgba(15, 23, 42, 0.12);
    --border-2: rgba(15, 23, 42, 0.18);
    /* Links */
    --color-link: var(--brand-orange);
    --color-link-hover: #e6780c;
    /* Focus */
    --focus-ring: rgba(80, 145, 196, 0.35);
    /* Actions (light primary = orange) */
    --color-primary: var(--brand-orange);
    --color-primary-hover: #e6780c;
    --color-on-primary: #ffffff;
    /* Accent (magenta) */
    --color-accent: var(--brand-magenta);
    --color-on-accent: #ffffff;
    --color-success: #16a34a;
    --color-warning: var(--brand-orange);
    --color-danger: #dc2626;
    /* Shell */
    --shell-text: #ffffff;
    --shell-border: rgba(255, 255, 255, 0.22);
    /* Inputs */
    --input-bg: #ffffff;
    --input-text: #0f172a;
    --input-border: rgba(15, 23, 42, 0.18);
    --input-border-hover: rgba(15, 23, 42, 0.28);
    --input-placeholder: rgba(15, 23, 42, 0.45);
    /* Legacy panel tokens */
    --panel-bg: var(--surface-1);
    --panel-header-bg: var(--surface-2);
    --card-bg: #ffffff;
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(2, 6, 23, 0.10);
    --shadow-md: 0 10px 24px rgba(2, 6, 23, 0.12);
    /* AI Button tokens (purple) */
    --ai-btn-bg: #6d5dfc;
    --ai-btn-bg-hover: #7f73ff;
    --ai-btn-bg-active: #5b4ee8;
    --ai-btn-border: rgba(255,255,255,0.16);
    --ai-btn-glow: rgba(109, 93, 252, 0.25);
    --ai-btn-shadow: 0 8px 18px rgba(2, 6, 23, 0.18);
}

/* Light native controls */
html[data-theme="light"] {
    color-scheme: light;
}

    /* ==========================================================
   BASE / TYPOGRAPHY
   ========================================================== */

    html[data-theme="light"] body,
    html[data-theme="light"] #right_content {
        background: var(--color-bg) !important;
        color: var(--color-text) !important;
        text-rendering: auto !important;
        -webkit-font-smoothing: subpixel-antialiased;
        -moz-osx-font-smoothing: auto;
    }

    /* Kill legacy teal headings leaking in */
    html[data-theme="light"] h1,
    html[data-theme="light"] h1 span,
    html[data-theme="light"] h1 * {
        color: var(--brand-dark-blue) !important;
    }

    /* Page title */
    html[data-theme="light"] .page-title h1,
    html[data-theme="light"] .heading h1 {
        color: var(--brand-dark-blue) !important;
    }

    /* ==========================================================
   GLOBAL LINKS (orange, no underline)
   ========================================================== */

    html[data-theme="light"] a,
    html[data-theme="light"] a:visited,
    html[data-theme="light"] span.link {
        color: var(--color-link) !important;
        text-decoration: none !important;
    }

    html[data-theme="light"] a.Button,
    html[data-theme="light"] a.Button:visited,
    html[data-theme="light"] a.button,
    html[data-theme="light"] a.button:visited {
        color: var(--color-on-primary, #fff) !important;
    }

        html[data-theme="light"] a:hover,
        html[data-theme="light"] span.link:hover {
            color: var(--color-link-hover) !important;
            text-decoration: none !important;
        }

    /* ==========================================================
   SHELL / HEADER / NAV
   IMPORTANT: Layout model MUST match dark theme
   ========================================================== */

    html[data-theme="light"] #header {
        background-image: linear-gradient(90deg, rgba(228,34,137,0.9) 0%, /* magenta punch */
        rgba(80,145,196,0.6) 25%, /* light blue blend */
        rgba(26,65,121,0.4) 55%, /* deeper blue */
        rgba(248,141,47,0.8) 100% /* orange finish */
        ), linear-gradient(90deg, #ffffff 0%, #f4f7ff 34%, #1A4179 100%) !important;
        background-size: 100% 4px, 100% 100% !important;
        background-position: left bottom, left top !important;
        background-repeat: no-repeat !important;
    }

    /* Navigation strips */
    html[data-theme="light"] #navigation,
    html[data-theme="light"] #helpstrip,
    html[data-theme="light"] #nav-container {
        background: var(--brand-dark-blue) !important;
    }

        /* Keep nav strip visuals flat */
        html[data-theme="light"] #navigation li,
        html[data-theme="light"] #helpstrip li {
            background: transparent !important;
            border: 0 !important;
            border-radius: 0 !important;
            box-shadow: none !important;
        }

        html[data-theme="light"] #navigation a,
        html[data-theme="light"] #helpstrip a,
        html[data-theme="light"] #navigation span,
        html[data-theme="light"] #helpstrip span {
            color: #fff !important;
            text-decoration: none !important;
            background: transparent !important;
            border: 0 !important;
            border-bottom: 0 !important;
            border-radius: 0 !important;
            box-shadow: none !important;
        }

            html[data-theme="light"] #navigation a:hover,
            html[data-theme="light"] #helpstrip a:hover {
                color: var(--brand-magenta) !important;
                text-decoration: none !important;
            }

    /* Help menu buttons — override link colour */
    html[data-theme="light"] .hd-menu-btn-primary,
    html[data-theme="light"] .hd-menu-btn-primary:visited {
        color: #fff !important;
    }

    /* Header search inputs */
    html[data-theme="light"] .header-search input,
    html[data-theme="light"] #header input[type="text"],
    html[data-theme="light"] #header input[type="search"] {
        background: var(--input-bg) !important;
        color: var(--input-text) !important;
        border: 1px solid var(--input-border) !important;
    }

        html[data-theme="light"] .header-search input::placeholder,
        html[data-theme="light"] #header input[type="text"]::placeholder,
        html[data-theme="light"] #header input[type="search"]::placeholder {
            color: var(--input-placeholder) !important;
        }

    /* Top-right dropdown readability (visual only) */
    html[data-theme="light"] #header select,
    html[data-theme="light"] #header .theme-ddl,
    html[data-theme="light"] #header .user-menu select {
        background: rgba(26,65,121,0.72) !important;
        color: #fff !important;
        border: 1px solid rgba(255,255,255,0.22) !important;
    }

    

    /* Text logo colours */
    html[data-theme="light"] #header .ao-logo-text {
        display: inline-flex;
        align-items: baseline;
        font-weight: 700;
        font-size: 22px;
        line-height: 1;
        white-space: nowrap;
    }

    html[data-theme="light"] #header .ao-logo-agency {
        color: #1A4179;
    }

    html[data-theme="light"] #header .ao-logo-office {
        color: #5091C4;
    }

    html[data-theme="light"] #header .ao-logo-crm {
        font-weight: 500;
        font-size: 12px;
        opacity: 0.85;
        color: rgba(15,23,42,0.70);
    }

/* ==========================================================
   LOGO SWITCHING (GLOBAL)
   legacy = image logo
   dark/light = new AO logo
   Works on master page AND login/forgotten password.
   ========================================================== */

/* ==========================================================
   LOGO SWITCHING (GLOBAL) — DARK
   Default = show legacy, hide new AO
   Dark = hide legacy, show new AO
   Works on master + login/forgotten password
   ========================================================== */

/* Default (legacy / unknown theme): show legacy logo, hide AO logo */
.legacy-logo-link {
    display: inline-flex !important;
    align-items: center;
}

.ao-logo-link,
.ao-logo-text,
.ao-logo-mark {
    display: none !important;
}

/* Dark theme: show AO logo, hide legacy
   (cover cases where data-theme might be on html OR body) */
html[data-theme="dark"] .legacy-logo-link,
:root[data-theme="dark"] .legacy-logo-link,
body[data-theme="dark"] .legacy-logo-link {
    display: none !important;
}

html[data-theme="dark"] .ao-logo-link,
html[data-theme="dark"] .ao-logo-text,
html[data-theme="dark"] .ao-logo-mark,
:root[data-theme="dark"] .ao-logo-link,
:root[data-theme="dark"] .ao-logo-text,
:root[data-theme="dark"] .ao-logo-mark,
body[data-theme="dark"] .ao-logo-link,
body[data-theme="dark"] .ao-logo-text,
body[data-theme="dark"] .ao-logo-mark {
    display: inline-flex !important;
}


/* Dark theme: show AO logo, hide legacy */
html[data-theme="light"] .legacy-logo-link {
    display: none !important;
}

html[data-theme="light"] .ao-logo-link,
html[data-theme="light"] .ao-logo-text,
html[data-theme="light"] .ao-logo-mark {
    display: inline-flex !important;
}

    /* ==========================================================
   FORMS: baseline inputs/selects/textarea (works in iframes)
   ========================================================== */

    html[data-theme="light"] input[type="text"],
    html[data-theme="light"] input[type="search"],
    html[data-theme="light"] input[type="number"],
    html[data-theme="light"] input[type="email"],
    html[data-theme="light"] input[type="tel"],
    html[data-theme="light"] input[type="password"],
    html[data-theme="light"] textarea,
    html[data-theme="light"] select {
        background: var(--input-bg) !important;
        color: var(--input-text) !important;
        border: 1px solid var(--input-border) !important;
        border-radius: 8px !important;
        outline: none;
    }

        html[data-theme="light"] input::placeholder,
        html[data-theme="light"] textarea::placeholder {
            color: var(--input-placeholder) !important;
        }

        html[data-theme="light"] input:focus,
        html[data-theme="light"] textarea:focus,
        html[data-theme="light"] select:focus {
            border-color: var(--input-border-hover) !important;
            box-shadow: 0 0 0 3px var(--focus-ring) !important;
        }

    /* Labels */
    html[data-theme="light"] .label,
    html[data-theme="light"] td.label,
    html[data-theme="light"] label {
        color: var(--color-muted-text) !important;
    }

    /* ==========================================================
   BUTTONS
   ========================================================== */

    html[data-theme="light"] input.Button,
    html[data-theme="light"] button.Button,
    html[data-theme="light"] .Button,
    html[data-theme="light"] #BtnSearchQS,
    html[data-theme="light"] #btnSearch,
    html[data-theme="light"] .header-search button {
        background: var(--color-primary) !important;
        color: var(--color-on-primary) !important;
        border: 1px solid rgba(0,0,0,0.06) !important;
        border-radius: 10px !important;
        box-shadow: var(--shadow-sm);
    }

        html[data-theme="light"] input.Button:hover,
        html[data-theme="light"] button.Button:hover,
        html[data-theme="light"] .Button:hover,
        html[data-theme="light"] #BtnSearchQS:hover,
        html[data-theme="light"] #btnSearch:hover,
        html[data-theme="light"] .header-search button:hover {
            background: var(--color-primary-hover) !important;
        }

    /* Critical / dangerous buttons (magenta) */
    html[data-theme="light"] .CriticalButton,
    html[data-theme="light"] .MagentaAction,
    html[data-theme="light"] .MagentaAction.Button {
        background: var(--brand-magenta) !important;
        color: #fff !important;
    }

        html[data-theme="light"] .CriticalButton:hover,
        html[data-theme="light"] .MagentaAction:hover {
            background: #cc1678 !important;
        }

    /* If common WebForms inputs rely on value text */
    html[data-theme="light"] input.Button[value="Delete"],
    html[data-theme="light"] input.Button[value="Save"],
    html[data-theme="light"] input.Button[value="Clone"],
    html[data-theme="light"] input.Button[value="DELETE"],
    html[data-theme="light"] input.Button[value="SAVE"],
    html[data-theme="light"] input.Button[value="CLONE"] {
        background: var(--brand-magenta) !important;
        color: #fff !important;
        border-color: rgba(0,0,0,0.08) !important;
    }

        html[data-theme="light"] input.Button[value="Delete"]:hover,
        html[data-theme="light"] input.Button[value="Save"]:hover,
        html[data-theme="light"] input.Button[value="Clone"]:hover {
            background: #cc1678 !important;
        }

    /* ==========================================================
   RHS / PANELS (legacy)
   ========================================================== */

    html[data-theme="light"] #right_content {
        background: transparent !important;
        color: var(--color-text) !important;
    }

        html[data-theme="light"] #right_content .rpheading,
        html[data-theme="light"] #right_content .ui-accordion-header {
            background: linear-gradient(90deg, var(--brand-dark-blue) 0%, #2b5f9f 55%, #1A4179 100%) !important;
            color: #fff !important;
            border: 1px solid rgba(255,255,255,0.10) !important;
        }

        html[data-theme="light"] #right_content .rpcontent,
        html[data-theme="light"] #right_content .ui-accordion-content,
        html[data-theme="light"] #right_content .ui-widget-content {
            background: var(--surface-1) !important;
            color: var(--color-text) !important;
            border-color: var(--border-1) !important;
        }

        html[data-theme="light"] #right_content .news_post {
            background: var(--card-bg) !important;
            border: 1px solid var(--border-1) !important;
            color: var(--color-text) !important;
        }

        html[data-theme="light"] #right_content a,
        html[data-theme="light"] #right_content .link {
            color: var(--brand-orange) !important;
            text-decoration: none !important;
            cursor: pointer;
        }

            html[data-theme="light"] #right_content a:hover,
            html[data-theme="light"] #right_content .link:hover {
                color: #e6780c !important;
            }

        /* RHS Related Info table */
        html[data-theme="light"] #right_content table.related_info {
            background: var(--surface-1) !important;
            border: 1px solid var(--border-1) !important;
            border-radius: 10px;
            overflow: hidden;
        }

            html[data-theme="light"] #right_content table.related_info td,
            html[data-theme="light"] #right_content table.related_info th {
                border: 0 !important;
                padding: 8px 10px;
                background: transparent !important;
                color: var(--color-text) !important;
            }

                html[data-theme="light"] #right_content table.related_info td.label,
                html[data-theme="light"] #right_content .related_info .label {
                    color: var(--color-muted-text) !important;
                }

    /* ==========================================================
   MENUS (.submenu / .popmenu)
   ========================================================== */

    html[data-theme="light"] .submenu,
    html[data-theme="light"] .submenu .menuDiv {
        background: var(--surface-1) !important;
        border: 1px solid var(--border-1) !important;
    }

        html[data-theme="light"] .submenu li.menu {
            background: transparent !important;
            color: var(--color-text) !important;
            border-bottom: 1px solid var(--border-1) !important;
        }

            html[data-theme="light"] .submenu li.menu:hover {
                background: var(--surface-2) !important;
            }

            html[data-theme="light"] .submenu li.menu.blue_link {
                background: var(--surface-2) !important;
                color: var(--brand-magenta) !important;
                font-weight: 700;
            }

    /* Right-side pop menus */
    html[data-theme="light"] .popmenu,
    html[data-theme="light"] .popmenu2,
    html[data-theme="light"] .popsubmenu {
        background: var(--surface-1) !important;
        color: var(--color-text) !important;
        border: 1px solid var(--border-1) !important;
    }

        html[data-theme="light"] .popmenu hr,
        html[data-theme="light"] .popmenu2 hr,
        html[data-theme="light"] hr.popmenuhr {
            border: 0;
            border-top: 1px solid var(--border-1);
        }

    html[data-theme="light"] .popmenulink {
        background: transparent !important;
        color: var(--color-text) !important;
    }

        html[data-theme="light"] .popmenulink:hover {
            background: var(--surface-2) !important;
        }

    html[data-theme="light"] #popsub_Menu h1 {
        color: var(--brand-dark-blue) !important;
    }

    /* ==========================================================
   ACTIVE EDGE: override legacy .blue_link teal border-left
   ========================================================== */

    html[data-theme="light"] .blue_link {
        border-left: 5px solid var(--brand-magenta) !important;
    }

        html[data-theme="light"] .blue_link.menu,
        html[data-theme="light"] li.blue_link {
            background: rgba(248,141,47,0.08) !important;
        }

    /* ==========================================================
   BLUEDISPLAY (forms/panels)
   ========================================================== */

    html[data-theme="light"] .BlueDisplay {
        background: var(--surface-1) !important;
        border: 1px solid var(--border-1) !important;
        border-radius: 12px;
        color: var(--color-text) !important;
        box-shadow: var(--shadow-sm);
    }

    html[data-theme="light"] .BlueDisplayHeader {
        display: block;
        background: linear-gradient(90deg, var(--brand-dark-blue) 0%, #2b5f9f 55%, #1A4179 100%) !important;
        color: #fff !important;
        border-bottom: 1px solid rgba(255,255,255,0.12) !important;
        padding: 10px 14px !important;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

    /* Layout tables inside BlueDisplay: no row-underlines */
    html[data-theme="light"] .BlueDisplay > table td,
    html[data-theme="light"] .BlueDisplay > table th,
    html[data-theme="light"] .BlueDisplay > table > tbody > tr > td > table td,
    html[data-theme="light"] .BlueDisplay > table > tbody > tr > td > table th {
        border: 0 !important;
        background: transparent !important;
        color: var(--color-text) !important;
    }

    /* Dividers */
    html[data-theme="light"] .BlueDisplay hr {
        display: none !important;
    }

    /* Ensure any headings inside BlueDisplayHeader are white (fix orange leakage) */
    html[data-theme="light"] .BlueDisplayHeader *,
    html[data-theme="light"] .BlueDisplayHeader a,
    html[data-theme="light"] .BlueDisplayHeader a:visited {
        color: #fff !important;
    }

    /* ==========================================================
   TASKS PAGE (tables)
   ========================================================== */

    html[data-theme="light"] .task_block {
        color: var(--color-text) !important;
    }

        html[data-theme="light"] .task_block > h1,
        html[data-theme="light"] .task_block > h1 * {
            background: linear-gradient(90deg, var(--brand-dark-blue) 0%, #2b5f9f 55%, #1A4179 100%) !important;
            color: #fff !important;
            border: 1px solid rgba(255,255,255,0.12) !important;
            border-radius: 10px !important;
            padding: 12px 16px !important;
            margin: 14px 0 10px !important;
            box-shadow: var(--shadow-sm);
        }

        html[data-theme="light"] .task_block table {
            width: 100%;
            background: var(--surface-1) !important;
            border: 1px solid var(--border-1) !important;
            border-radius: 10px;
            overflow: hidden;
            border-collapse: separate;
            border-spacing: 0;
        }

            html[data-theme="light"] .task_block table thead tr,
            html[data-theme="light"] .task_block table thead tr[style] {
                background: linear-gradient(90deg, var(--brand-dark-blue) 0%, #2b5f9f 55%, #1A4179 100%) !important;
            }

            html[data-theme="light"] .task_block table thead th,
            html[data-theme="light"] .task_block table thead td {
                background: transparent !important;
                color: #fff !important;
                border-bottom: 1px solid rgba(255,255,255,0.14) !important;
                padding: 10px 12px !important;
                text-align: left;
            }

            html[data-theme="light"] .task_block table tbody td,
            html[data-theme="light"] .task_block table tbody th {
                background: transparent !important;
                color: var(--color-text) !important;
                border-bottom: 1px solid rgba(15,23,42,0.08) !important;
                padding: 10px 12px !important;
            }

            html[data-theme="light"] .task_block table tbody tr:nth-child(even) td {
                background: rgba(80,145,196,0.08) !important;
            }

            html[data-theme="light"] .task_block table tbody tr:hover td {
                background: rgba(80,145,196,0.16) !important;
            }

            html[data-theme="light"] .task_block table a,
            html[data-theme="light"] .task_block table a:visited {
                color: var(--brand-orange) !important;
                text-decoration: none !important;
            }

                html[data-theme="light"] .task_block table a:hover {
                    color: #e6780c !important;
                }

    /* ==========================================================
   AI BUTTON (CANONICAL) — LIGHT
   (layout here is internal to header row; safe / matches dark behaviour)
   ========================================================== */

    html[data-theme="light"] .BlueDisplayHeader.ai-enabled-header {
        display: flex !important;
        align-items: center !important;
        gap: 10px;
        padding: 10px 14px !important;
    }

        html[data-theme="light"] .BlueDisplayHeader.ai-enabled-header .DescriptionOptions {
            margin-left: auto !important;
            float: none !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 14px;
        }

        html[data-theme="light"] .BlueDisplayHeader.ai-enabled-header .AIButton {
            margin-left: auto !important;
            order: 999 !important;
        }

    html[data-theme="light"] .AIButton,
    html[data-theme="light"] button.AIButton,
    html[data-theme="light"] .Button.AIButton,
    html[data-theme="light"] button.Button.AIButton {
        background: var(--ai-btn-bg) !important;
        color: #fff !important;
        border: 1px solid rgba(255,255,255,0.20) !important;
        border-radius: 10px !important;
        padding: 7px 12px 8px !important;
        line-height: 1 !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px;
        cursor: pointer !important;
        text-decoration: none !important;
        background-image: none !important;
        text-shadow: none !important;
        box-shadow: var(--ai-btn-shadow) !important;
        transition: transform 120ms ease, background 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
    }

        html[data-theme="light"] .AIButton:hover,
        html[data-theme="light"] .Button.AIButton:hover,
        html[data-theme="light"] button.AIButton:hover,
        html[data-theme="light"] button.Button.AIButton:hover {
            background: var(--ai-btn-bg-hover) !important;
            border-color: rgba(255,255,255,0.30) !important;
            box-shadow: 0 0 0 3px var(--ai-btn-glow), 0 10px 22px rgba(2,6,23,0.18) !important;
            transform: translateY(-1px);
        }

        html[data-theme="light"] .AIButton:active,
        html[data-theme="light"] .Button.AIButton:active {
            background: var(--ai-btn-bg-active) !important;
            transform: translateY(0);
        }

        html[data-theme="light"] .AIButton:focus-visible {
            outline: none !important;
            box-shadow: 0 0 0 3px var(--ai-btn-glow), 0 10px 22px rgba(2,6,23,0.18) !important;
        }

        /* Wand icon */
        html[data-theme="light"] .AIButton::before {
            content: "";
            width: 14px;
            height: 14px;
            flex: 0 0 14px;
            display: inline-block;
            background-color: currentColor;
            -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 21l3-1 9-9-2-2-9 9-1 3zm11.5-13l1.5-3 1.5 3 3 1.5-3 1.5-1.5 3-1.5-3-3-1.5 3-1.5z'/%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 21l3-1 9-9-2-2-9 9-1 3zm11.5-13l1.5-3 1.5 3 3 1.5-3 1.5-1.5 3-1.5-3-3-1.5 3-1.5z'/%3E%3C/svg%3E") center/contain no-repeat;
            opacity: 0.95;
        }

    html[data-theme="light"] .BlueDisplayHeader.ai-enabled-header .ai-loading-indicator {
        order: 998;
        margin-left: 10px;
        float: none !important;
        color: rgba(255,255,255,0.75) !important;
    }

    /* ==========================================================
   AI Modal — LIGHT
   ========================================================== */

html[data-theme="light"] .ai-modal-header h2 {
    color: var(--brand-dark-blue) !important;
}

html[data-theme="light"] .ai-modal-footer {
    border-top-color: var(--border-1) !important;
}

html[data-theme="light"] .ai-btn-accept {
    background-color: var(--brand-dark-blue) !important;
    color: #fff !important;
}

html[data-theme="light"] .ai-btn-accept:hover {
    background-color: var(--brand-light-blue) !important;
}

html[data-theme="light"] .ai-btn-cancel {
    background-color: var(--surface-1) !important;
    color: var(--color-text) !important;
    border: 1px solid var(--border-1) !important;
}

html[data-theme="light"] .ai-btn-cancel:hover {
    background-color: var(--surface-2, #e8ecf0) !important;
}

    /* ==========================================================
   FineUploader (qq-gallery) — LIGHT
   ========================================================== */

    html[data-theme="light"] .qq-uploader.qq-gallery {
        background: transparent !important;
        color: var(--color-text) !important;
    }

        html[data-theme="light"] .qq-uploader.qq-gallery .qq-upload-drop-area,
        html[data-theme="light"] .qq-uploader.qq-gallery .qq-upload-list,
        html[data-theme="light"] .qq-uploader.qq-gallery .qq-upload-list-selector {
            background: var(--surface-1) !important;
            color: var(--color-text) !important;
            border-color: var(--border-1) !important;
        }

        html[data-theme="light"] .qq-uploader.qq-gallery .qq-upload-list {
            border: 1px dashed rgba(15,23,42,0.22) !important;
            border-radius: 10px !important;
        }

        html[data-theme="light"] .qq-uploader.qq-gallery [qq-drop-area-text],
        html[data-theme="light"] .qq-uploader.qq-gallery .qq-drop-processing,
        html[data-theme="light"] .qq-uploader.qq-gallery .qq-drop-processing span {
            color: rgba(15,23,42,0.65) !important;
        }

        html[data-theme="light"] .qq-uploader.qq-gallery .qq-upload-button {
            background: var(--brand-orange) !important;
            color: #fff !important;
            border: 1px solid rgba(0,0,0,0.06) !important;
            border-radius: 10px !important;
            box-shadow: var(--shadow-sm);
        }

            html[data-theme="light"] .qq-uploader.qq-gallery .qq-upload-button:hover {
                background: #e6780c !important;
            }

        html[data-theme="light"] .qq-uploader.qq-gallery dialog {
            background: var(--surface-1) !important;
            color: var(--color-text) !important;
            border: 1px solid var(--border-1) !important;
            border-radius: 12px !important;
            box-shadow: 0 25px 60px rgba(2,6,23,0.18) !important;
        }

            html[data-theme="light"] .qq-uploader.qq-gallery dialog button {
                background: var(--brand-orange) !important;
                color: #fff !important;
                border: 1px solid rgba(0,0,0,0.06) !important;
                border-radius: 10px !important;
            }

                html[data-theme="light"] .qq-uploader.qq-gallery dialog button:hover {
                    background: #e6780c !important;
                }

    /* ==========================================================
   LOGIN PAGE (hp25login) — LIGHT
   ========================================================== */

    html[data-theme="light"] body#hp25login,
    html[data-theme="light"] body#hp25login #loginarea,
    html[data-theme="light"] body#hp25login #content {
        background: transparent !important;
        background-image: none !important;
    }

    html[data-theme="light"] body#hp25login {
        background: radial-gradient(1100px 640px at 50% 30%, #ffffff 0%, #eef3fb 55%, #e7eef9 100%) !important;
        color: var(--color-text);
        min-height: 100vh;
    }

        html[data-theme="light"] body#hp25login #loginarea {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
        }

        html[data-theme="light"] body#hp25login #controls {
            background: var(--surface-1) !important;
            border: 1px solid var(--border-1) !important;
            border-radius: 14px !important;
            padding: 26px 26px 22px;
            box-shadow: var(--shadow-md) !important;
        }

        html[data-theme="light"] body#hp25login input.text,
        html[data-theme="light"] body#hp25login input[type="text"],
        html[data-theme="light"] body#hp25login input[type="password"] {
            width: 100%;
            box-sizing: border-box;
            background: #ffffff !important;
            color: var(--input-text) !important;
            border: 1px solid rgba(15,23,42,0.18) !important;
            border-radius: 10px;
            padding: 12px 12px;
        }

            html[data-theme="light"] body#hp25login input.text:focus,
            html[data-theme="light"] body#hp25login input[type="text"]:focus,
            html[data-theme="light"] body#hp25login input[type="password"]:focus {
                border-color: var(--input-border-hover) !important;
                box-shadow: 0 0 0 3px var(--focus-ring) !important;
                outline: none;
            }

        html[data-theme="light"] body#hp25login .button,
        html[data-theme="light"] body#hp25login input.button,
        html[data-theme="light"] body#hp25login input[type="submit"],
        html[data-theme="light"] body#hp25login #LoginButton,
        html[data-theme="light"] body#hp25login #ResetPasswordButton {
            background: var(--brand-orange) !important;
            color: #fff !important;
            border: 1px solid rgba(0,0,0,0.06) !important;
            border-radius: 10px !important;
            padding: 12px 14px !important;
        }

            html[data-theme="light"] body#hp25login .button:hover,
            html[data-theme="light"] body#hp25login input.button:hover,
            html[data-theme="light"] body#hp25login input[type="submit"]:hover,
            html[data-theme="light"] body#hp25login #LoginButton:hover,
            html[data-theme="light"] body#hp25login #ResetPasswordButton:hover {
                background: #e6780c !important;
            }

        html[data-theme="light"] body#hp25login a,
        html[data-theme="light"] body#hp25login a:visited {
            color: var(--brand-orange) !important;
            text-decoration: none !important;
        }

    /* ==========================================================
   LAYOUT PATCHES (MATCH DARK) — THIS IS THE KEY PART
   These are the ONLY layout rules we apply to light, and they
   are copied from the dark theme verbatim.
   ========================================================== */

    /* 1) Header / user menu alignment (same as dark patch) */
    html[data-theme="light"] #header .user-menu,
    html[data-theme="light"] #header #userMenu,
    html[data-theme="light"] #header .header-right,
    html[data-theme="light"] #header .login,
    html[data-theme="light"] #header .user,
    html[data-theme="light"] #header .userDropdown {
        float: right !important;
        margin-left: auto !important;
        text-align: right !important;
    }

    /* 2) Nav strip alignment (same as dark patch) */
    html[data-theme="light"] #navigation ul {
        display: flex !important;
        align-items: center !important;
        gap: 18px;
    }

        

    /* 3) Helpstrip variant (same as dark patch) */
    html[data-theme="light"] #helpstrip ul {
        display: flex !important;
        align-items: center !important;
        gap: 18px;
    }

        html[data-theme="light"] #helpstrip ul > li:last-child {
            margin-left: auto !important;
        }

    /* ==========================================================
   QuickSearch dropdown styling — LIGHT
   (visual only; no header layout involvement)
   ========================================================== */

    html[data-theme="light"] #QSSuggestionsDiv,
    html[data-theme="light"] #divQuickSearchResults {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    /* Primary dropdown scroll container */
    html[data-theme="light"] #quick-search-results {
        background: #ffffff !important;
        color: #0f172a !important;
        border: 1px solid rgba(15,23,42,0.14) !important;
        border-radius: 12px !important;
        overflow: auto !important;
        max-height: 520px;
        box-shadow: 0 18px 40px rgba(2,6,23,0.18) !important;
    }

    /* "Showing 1-10..." header */
    html[data-theme="light"] #quick-search-message {
        background: linear-gradient(90deg, var(--brand-dark-blue) 0%, #2b5f9f 55%, var(--brand-dark-blue) 100%) !important;
        color: #fff !important;
        border-bottom: 1px solid rgba(255,255,255,0.14) !important;
        padding: 10px 12px !important;
        font-weight: 700;
    }

    /* Next/Previous links — keep base layout (float right over the
       message header, matching dark theme). Only colour the text. */
    html[data-theme="light"] #btn-container .link,
    html[data-theme="light"] #btn-container span.link {
        color: var(--brand-orange) !important;
        font-weight: 700;
        cursor: pointer;
        text-decoration: none !important;
    }

    html[data-theme="light"] #btn-container .link:hover,
    html[data-theme="light"] #btn-container span.link:hover {
        color: #ffb067 !important;
    }

    /* Results table cells */
    html[data-theme="light"] #quick-search-results table#Results td {
        border-bottom: 1px solid rgba(15,23,42,0.08) !important;
        padding: 10px 10px !important;
        color: #0f172a !important;
    }

    /* Row icons (contact_icon.png + property_icon.png) are pure white
       silhouettes, invisible on the white results background. Invert
       them to dark on light theme. QSCompany is a coloured icon so we
       leave it alone. */
    html[data-theme="light"] #quick-search-results .QSContact,
    html[data-theme="light"] #quick-search-results .QSProperty {
        filter: invert(1) brightness(0.45) !important;
    }

    /* Hover row */
    html[data-theme="light"] #quick-search-results table#Results tr:hover td {
        background: rgba(80,145,196,0.14) !important;
    }

    /* Links inside results */
    html[data-theme="light"] #quick-search-results a,
    html[data-theme="light"] #quick-search-results a:visited,
    html[data-theme="light"] #quick-search-results .qsDetails {
        color: #0f172a !important;
        text-decoration: none !important;
    }

    /* Bottom actions */
    html[data-theme="light"] #quick-search-results #AddPerson,
    html[data-theme="light"] #quick-search-results #AddProperty {
        padding: 10px 12px !important;
        border-top: 1px solid rgba(15,23,42,0.08) !important;
        color: var(--brand-orange) !important;
        font-weight: 700;
    }

        html[data-theme="light"] #quick-search-results #AddPerson:hover,
        html[data-theme="light"] #quick-search-results #AddProperty:hover {
            background: rgba(248,141,47,0.10) !important;
        }

    /* Scrollbar (WebKit) */
    html[data-theme="light"] #quick-search-results::-webkit-scrollbar {
        width: 10px;
    }

    html[data-theme="light"] #quick-search-results::-webkit-scrollbar-track {
        background: rgba(15,23,42,0.05);
    }

    html[data-theme="light"] #quick-search-results::-webkit-scrollbar-thumb {
        background: rgba(15,23,42,0.18);
        border-radius: 10px;
    }
    /* ==========================================================
   LIGHT: kill residual zebra striping inside BlueDisplay tables
   (some legacy CSS is still painting TR/TD backgrounds)
   ========================================================== */

    html[data-theme="light"] .BlueDisplay table,
    html[data-theme="light"] .BlueDisplay tbody,
    html[data-theme="light"] .BlueDisplay tr,
    html[data-theme="light"] .BlueDisplay td,
    html[data-theme="light"] .BlueDisplay th {
        background: transparent !important;
        background-color: transparent !important;
    }

        /* If legacy uses nth-child striping, nuke it explicitly */
        html[data-theme="light"] .BlueDisplay tr:nth-child(odd),
        html[data-theme="light"] .BlueDisplay tr:nth-child(even),
        html[data-theme="light"] .BlueDisplay tr:nth-child(odd) td,
        html[data-theme="light"] .BlueDisplay tr:nth-child(even) td {
            background: transparent !important;
            background-color: transparent !important;
        }


    /* ==========================================================
   SEARCH RESULTS (legacy table.SearchResults)
   Targets: <table class="SearchResults"> inside #Results
   ========================================================== */

    :root[data-theme="light"] #Results table.SearchResults,
    html[data-theme="light"] #Results table.SearchResults,
    :root[data-theme="light"] table.SearchResults,
    html[data-theme="light"] table.SearchResults {
        width: 100%;
        border-collapse: collapse;
        background: var(--color-surface, #ffffff) !important; /* overrides inline White */
        color: var(--color-text, #111827);
        border: 1px solid var(--color-border, #e5e7eb);
    }

        /* Header */
        :root[data-theme="light"] table.SearchResults th,
        html[data-theme="light"] table.SearchResults th {
            background: var(--brand-dark-blue, #1A4179);
            color: #ffffff;
            font-weight: 700;
            border-bottom: 1px solid rgba(255, 255, 255, 0.18);
            padding: 10px 10px;
            text-align: left;
            vertical-align: bottom;
        }

            /* Legacy <font class="SortableColumn"> */
            :root[data-theme="light"] table.SearchResults th .SortableColumn,
            html[data-theme="light"] table.SearchResults th .SortableColumn {
                color: #ffffff;
                font-weight: 700;
                text-decoration: none;
            }

        /* Cells */
        :root[data-theme="light"] table.SearchResults td,
        html[data-theme="light"] table.SearchResults td {
            padding: 12px 10px;
            border-bottom: 1px solid var(--color-border, #e5e7eb);
            vertical-align: top;
            background: transparent;
        }

        /* Row zebra + hover */
        :root[data-theme="light"] table.SearchResults tbody tr:nth-child(even) td,
        html[data-theme="light"] table.SearchResults tbody tr:nth-child(even) td {
            background: rgba(80, 145, 196, 0.06);
        }

        :root[data-theme="light"] table.SearchResults tbody tr:hover td,
        html[data-theme="light"] table.SearchResults tbody tr:hover td {
            background: rgba(80, 145, 196, 0.12);
        }

        /* Links in table */
        :root[data-theme="light"] table.SearchResults a,
        html[data-theme="light"] table.SearchResults a {
            color: var(--brand-orange, #F88D2F);
            text-decoration: none;
            font-weight: 600;
        }

            :root[data-theme="light"] table.SearchResults a:hover,
            html[data-theme="light"] table.SearchResults a:hover {
                text-decoration: underline;
                text-decoration-thickness: 2px;
                text-underline-offset: 2px;
            }

        /* Vendor name label */
        :root[data-theme="light"] table.SearchResults .NameLbl,
        html[data-theme="light"] table.SearchResults .NameLbl {
            color: var(--brand-dark-blue, #1A4179);
            font-weight: 700;
        }

        /* Images */
        :root[data-theme="light"] table.SearchResults img,
        html[data-theme="light"] table.SearchResults img {
            display: block;
            border-radius: 8px;
            border: 1px solid var(--color-border, #e5e7eb);
            background: var(--color-surface, #ffffff);
        }

        /* Checkbox cell alignment (legacy inline center div) */
        :root[data-theme="light"] table.SearchResults td div[style*="text-align: center"],
        html[data-theme="light"] table.SearchResults td div[style*="text-align: center"] {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 24px;
        }

        /* Inline pink rows (#FFAAB2) -> keep as "attention" but readable */
        :root[data-theme="light"] table.SearchResults tr[style*="#FFAAB2"] td,
        html[data-theme="light"] table.SearchResults tr[style*="#FFAAB2"] td {
            background: rgba(228, 34, 137, 0.12) !important;
        }
    /* ==========================================================
   PAGINATION (Search Results)
   Rule:
   - Non-current = orange outline
   - Current = solid orange + white text
   ========================================================== */

    :root[data-theme="light"] .pagination a,
    html[data-theme="light"] .pagination a,
    :root[data-theme="light"] .SearchResults a.page,
    html[data-theme="light"] .SearchResults a.page {
        display: inline-block;
        min-width: 36px;
        padding: 6px 10px;
        border-radius: 8px;
        border: 2px solid var(--brand-orange, #F88D2F);
        background: transparent;
        color: var(--brand-orange, #F88D2F);
        text-decoration: none;
        font-weight: 600;
        text-align: center;
    }

        /* Hover (subtle fill) */
        :root[data-theme="light"] .pagination a:hover,
        html[data-theme="light"] .pagination a:hover {
            background: rgba(248, 141, 47, 0.08);
        }

        /* Current page */
        :root[data-theme="light"] .pagination .current,
        html[data-theme="light"] .pagination .current,
        :root[data-theme="light"] .pagination a.active,
        html[data-theme="light"] .pagination a.active {
            background: var(--brand-orange, #F88D2F);
            color: #ffffff;
            border-color: var(--brand-orange, #F88D2F);
        }

/* ==========================================================
   PAGINATION (.nav / .PagingButton)
   Light Theme
   ========================================================== */

:root[data-theme="light"] .nav {
    gap: 6px;
}

    /* Base button */
    :root[data-theme="light"] .nav .PagingButton,
    :root[data-theme="light"] .nav .PagingSelectedButton {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        padding: 4px 8px;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        user-select: none;
    }

    /* NON-CURRENT */
    :root[data-theme="light"] .nav .PagingButton {
        background: transparent;
        border: 1px solid var(--brand-orange, #F88D2F);
        color: var(--brand-orange, #F88D2F);
    }

        :root[data-theme="light"] .nav .PagingButton:hover {
            background: rgba(248, 141, 47, 0.08);
        }

    /* CURRENT */
    :root[data-theme="light"] .nav .PagingSelectedButton {
        background: var(--brand-orange, #F88D2F);
        border: 1px solid var(--brand-orange, #F88D2F);
        color: #ffffff !important;
    }

/* ==========================================================
   LIGHT LOGO FIXES (match dark behaviour)
   - Office always light-blue (header + login)
   - CRM spacing tightened
   - Remove whitespace gap safely
   ========================================================== */

/* 1) Office colour everywhere */
html[data-theme="light"] .ao-logo-office {
    color: var(--brand-light-blue) !important;
}

/* (Optional) Agency colour consistency */
html[data-theme="light"] .ao-logo-agency {
    color: var(--brand-dark-blue) !important;
}

/* 2) CRM spacing: reduce the gap */
html[data-theme="light"] .ao-logo-crm {
    margin-left: 2px !important; /* tighten */
}

/* 3) If spacing is from HTML whitespace, kill it */
html[data-theme="light"] .ao-logo-text {
    font-size: 0 !important;
}

    html[data-theme="light"] .ao-logo-text > * {
        font-size: 22px;
        line-height: 1 !important;
    }

/* restore CRM sizing after the font-size:0 trick */
html[data-theme="light"] .ao-logo-crm {
    font-size: 12px !important;
    line-height: 1 !important;
    position: relative;
    top: -1px;
}

/* ==========================================================
   PATCH — LIGHT THEME
   - Make AO logo alignment match dark (icon + text spacing + vertical)
   - Fix hp25login white-on-white inheritance
   ========================================================== */

/* ---------- 1) AO LOGO: match dark layout ---------- */

/* Ensure the logo link itself is the flex container */
html[data-theme="light"] .ao-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important; /* space between icon + text */
}

/* Nudge the text block down a touch (your screenshot shows it sitting too high) */
html[data-theme="light"] .ao-logo-text {
    position: relative;    
}

/* Keep consistent word styling everywhere (header + login) */
html[data-theme="light"] .ao-logo-agency {
    color: var(--brand-dark-blue) !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

html[data-theme="light"] .ao-logo-office {
    color: var(--brand-light-blue) !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

/* Pull CRM closer (reduce the “too far right” spacing) */
html[data-theme="light"] .ao-logo-crm {
    margin-left: 6px !important; /* was effectively too large */
    position: relative;
    font-size: 12px !important;
    font-weight: 600 !important;
    opacity: 0.85;
    color: rgba(15,23,42,0.70) !important;
}


/* ---------- 2) LOGIN PAGE: fix white-on-white ---------- */

html[data-theme="light"] body#hp25login,
html[data-theme="light"] body#hp25login #content,
html[data-theme="light"] body#hp25login #controls {
    color: var(--color-text) !important; /* force readable text */
}

    /* Make sure inputs are dark text on white bg */
    html[data-theme="light"] body#hp25login input,
    html[data-theme="light"] body#hp25login input[type="text"],
    html[data-theme="light"] body#hp25login input[type="password"] {
        background: #ffffff !important;
        color: var(--input-text) !important;
    }

        /* Placeholders (avoid “white placeholder on white field”) */
        html[data-theme="light"] body#hp25login input::placeholder {
            color: rgba(15,23,42,0.45) !important;
        }

    /* Any legacy “white text” rules leaking into labels/help text */
    html[data-theme="light"] body#hp25login label,
    html[data-theme="light"] body#hp25login p,
    html[data-theme="light"] body#hp25login span,
    html[data-theme="light"] body#hp25login div {
        color: inherit;
    }

    /* ...but not the colours we set on purpose.
       The rule above is aimed at legacy white-text leakage, and it works - but at
       (1,1,3) it also outranks `.error` at (0,1,0) in AgencyOffice.css, so in the
       LIGHT theme only, every failure message on the standalone auth pages came
       out the same colour as the body copy. "Please check your username and/or
       password" read as ordinary help text. Legacy and dark themes were unaffected,
       which is why it went unnoticed.
       Covers all four of those pages (sign-in, two-step, change password, set
       password) and both controls that use the class - the failure Label and the
       ValidationSummary, whose list items sit inside it. */
    html[data-theme="light"] body#hp25login .error,
    html[data-theme="light"] body#hp25login .error * {
        color: var(--color-danger, #dc2626);
    }

/* ==========================================================
   AO LOGO — CANONICAL LAYOUT (LIGHT)
   Goal:
   - Mark + "AgencyOffice" + "CRM" always same geometry
   - CRM bottom aligned with Agency/Office bottom
   - Consistent spacing between mark and text
   ========================================================== */

html[data-theme="light"] .ao-logo-link,
html[data-theme="light"] .ao-logo-text {
    display: inline-flex !important;
}

/* Link wrapper: mark + text */
html[data-theme="light"] .ao-logo-link {
    align-items: center !important;
    gap: 10px !important; /* space between icon and text */
}

/* Text wrapper: Agency / Office / CRM */
html[data-theme="light"] .ao-logo-text {
    align-items: flex-end !important; /* bottom-align children */
    line-height: 1 !important;
}

/* Agency / Office main text */
html[data-theme="light"] .ao-logo-agency,
html[data-theme="light"] .ao-logo-office {
    font-size: 22px !important;
    line-height: 1 !important;
}

/* CRM: smaller, but bottom-aligned with main text */
html[data-theme="light"] .ao-logo-crm {
    font-size: 12px !important;
    line-height: 1 !important;
    margin-left: 6px !important; /* reduce the big gap */
    padding-bottom: 0 !important;
    align-self: flex-end !important;
}

/* Ensure mark doesn’t shrink and stays centered */
html[data-theme="light"] .ao-logo-mark {
    flex: 0 0 auto !important;
}
html[data-theme="light"] .ao-logo-link {
    padding-bottom: 20px;
}
/* Header vertical placement (this is your “truth”) */
html[data-theme="light"] #header .ao-logo-link {
    position: relative;
    top: 4px; /* same number as dark for constant layout */
}

/* Login placement */
html[data-theme="light"] body#hp25login .ao-logo-link {
    position: relative;
    top: 0;
}

/* Ensure Office is light blue on login too */
html[data-theme="light"] body#hp25login .ao-logo-office {
    color: var(--brand-light-blue) !important;
}


    /* Keep links orange inside login card */
    html[data-theme="light"] body#hp25login #controls a,
    html[data-theme="light"] body#hp25login #controls a:visited {
        color: var(--brand-orange) !important;
    }

/* ==========================================================
   LIGHT THEME — Report buttons (replace legacy teal)
   ========================================================== */

/* Export / Print buttons */
html[data-theme="light"] #ReportButtons .button,
:root[data-theme="light"] #ReportButtons .button,
html[data-theme="light"] input.button,
:root[data-theme="light"] input.button {
    background: #5091C4 !important; /* brand light blue */
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.10) !important;
    border-radius: 8px !important;
    padding: 7px 12px !important;
    font-weight: 600;
    text-decoration: none !important;
}

    html[data-theme="light"] #ReportButtons .button:hover,
    :root[data-theme="light"] #ReportButtons .button:hover,
    html[data-theme="light"] input.button:hover,
    :root[data-theme="light"] input.button:hover {
        background: #3e7fae !important;
    }

/* Report metric tabs */
html[data-theme="light"] #GenericReportTabs .button,
:root[data-theme="light"] #GenericReportTabs .button {
    background: #5091C4 !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.10) !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    font-weight: 600;
}

    html[data-theme="light"] #GenericReportTabs .button:hover,
    :root[data-theme="light"] #GenericReportTabs .button:hover {
        background: #3e7fae !important;
    }

    /* Disabled tab buttons */
    html[data-theme="light"] #GenericReportTabs .button[disabled],
    :root[data-theme="light"] #GenericReportTabs .button[disabled] {
        opacity: 0.55;
        cursor: not-allowed;
    }

/* ==========================================================
   TOAST NOTIFICATIONS — LIGHT
   ========================================================== */

html[data-theme="light"] .ao-toast,
:root[data-theme="light"] .ao-toast {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid rgba(0,0,0,0.10) !important;
}
    

    html[data-theme="light"] .ao-toast a,
    :root[data-theme="light"] .ao-toast a {
        color: var(--brand-orange) !important;
    }

    html[data-theme="light"] .offer-log-label,
    :root[data-theme="light"] .offer-log-label {
        color: var(--brand-light-blue) !important;
    }

    html[data-theme="light"] span.link,
    html[data-theme="light"] .link {
        color: var(--brand-light-blue) !important;
    }

