/* ============================================================================
   TODEY Partner & Developer Portal Design System CSS
   ============================================================================ */

:root {
    --todey-bg-primary: #000000;
    --todey-bg-secondary: #000000;
    --todey-bg-tertiary: #080808;
    --todey-text-primary: #ffffff;
    --todey-text-secondary: #b3b3b3;
    --todey-text-muted: #888888;
    --todey-accent-orange: #ff4400;
    --todey-accent-green: #00e353;
    --todey-accent-red: #ff0000;
    --todey-border-color: #141414;
}

/* Theme & Wrapper Scroll Unlock (Standard TODEY Safari Scrolling Architecture) */
html:not(.todey-search-modal-open), body:not(.todey-search-modal-open), .overflow-hidden:not(.todey-search-modal-open), #page:not(.todey-search-modal-open), .elementor-page:not(.todey-search-modal-open) {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: auto !important;
}

/* Custom Scrollbar Styles (Cross-Browser WebKit & Standard CSS - Dark Minimalist) */
::-webkit-scrollbar,
*::-webkit-scrollbar,
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.todey-portal-layout::-webkit-scrollbar,
.todey-portal-viewport::-webkit-scrollbar,
.todey-portal-sidebar::-webkit-scrollbar,
.todey-portal-content-container::-webkit-scrollbar,
.todey-portal-nav::-webkit-scrollbar,
.todey-tab-scroll-container::-webkit-scrollbar,
.todey-category-tabs::-webkit-scrollbar,
.todey-company-tabs-nav::-webkit-scrollbar,
.todey-agent-tabs-nav::-webkit-scrollbar,
.todey-qr-tabs-nav::-webkit-scrollbar,
.todey-docs-tab-container::-webkit-scrollbar,
.todey-table-responsive::-webkit-scrollbar,
.todey-table-container::-webkit-scrollbar,
.todey-admin-table-container::-webkit-scrollbar,
.todey-chat-history-container::-webkit-scrollbar,
.todey-ticket-thread::-webkit-scrollbar,
#todey-admin-tickets-list::-webkit-scrollbar,
#todey-sidebar-list-container::-webkit-scrollbar,
.todey-search-results::-webkit-scrollbar,
#todey-search-results::-webkit-scrollbar,
.todey-search-results-dropdown-portal::-webkit-scrollbar,
#todey_card_search_results::-webkit-scrollbar,
#todey_company_search_results::-webkit-scrollbar,
#todey-claim-search-results::-webkit-scrollbar,
#todey-control-search-results::-webkit-scrollbar,
#todey-admin-create-ticket-autocomplete::-webkit-scrollbar,
.todey-admin-autocomplete-results::-webkit-scrollbar,
#todey-upgrade-search-autocomplete-results::-webkit-scrollbar,
#todey-search-autocomplete-results::-webkit-scrollbar,
.todey-global-org-dropdown-menu::-webkit-scrollbar,
.todey-admin-override-project-results::-webkit-scrollbar,
.todey-modal-body::-webkit-scrollbar,
.todey-modal-content::-webkit-scrollbar,
.todey-payment-modal-body::-webkit-scrollbar,
.todey-drawer-body::-webkit-scrollbar,
.todey-drawer-content::-webkit-scrollbar,
.todey-modal-scroll-wrapper::-webkit-scrollbar,
.todey-admin-row-details::-webkit-scrollbar,
.todey-admin-row-override-panel::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background: transparent;
}
::-webkit-scrollbar-track,
*::-webkit-scrollbar-track,
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.todey-portal-layout::-webkit-scrollbar-track,
.todey-portal-viewport::-webkit-scrollbar-track,
.todey-portal-sidebar::-webkit-scrollbar-track,
.todey-portal-content-container::-webkit-scrollbar-track,
.todey-portal-nav::-webkit-scrollbar-track,
.todey-tab-scroll-container::-webkit-scrollbar-track,
.todey-category-tabs::-webkit-scrollbar-track,
.todey-company-tabs-nav::-webkit-scrollbar-track,
.todey-agent-tabs-nav::-webkit-scrollbar-track,
.todey-qr-tabs-nav::-webkit-scrollbar-track,
.todey-docs-tab-container::-webkit-scrollbar-track,
.todey-table-responsive::-webkit-scrollbar-track,
.todey-table-container::-webkit-scrollbar-track,
.todey-admin-table-container::-webkit-scrollbar-track,
.todey-chat-history-container::-webkit-scrollbar-track,
.todey-ticket-thread::-webkit-scrollbar-track,
#todey-admin-tickets-list::-webkit-scrollbar-track,
#todey-sidebar-list-container::-webkit-scrollbar-track,
.todey-search-results::-webkit-scrollbar-track,
#todey-search-results::-webkit-scrollbar-track,
.todey-search-results-dropdown-portal::-webkit-scrollbar-track,
#todey_card_search_results::-webkit-scrollbar-track,
#todey_company_search_results::-webkit-scrollbar-track,
#todey-claim-search-results::-webkit-scrollbar-track,
#todey-control-search-results::-webkit-scrollbar-track,
#todey-admin-create-ticket-autocomplete::-webkit-scrollbar-track,
.todey-admin-autocomplete-results::-webkit-scrollbar-track,
#todey-upgrade-search-autocomplete-results::-webkit-scrollbar-track,
#todey-search-autocomplete-results::-webkit-scrollbar-track,
.todey-global-org-dropdown-menu::-webkit-scrollbar-track,
.todey-admin-override-project-results::-webkit-scrollbar-track,
.todey-modal-body::-webkit-scrollbar-track,
.todey-modal-content::-webkit-scrollbar-track,
.todey-payment-modal-body::-webkit-scrollbar-track,
.todey-drawer-body::-webkit-scrollbar-track,
.todey-drawer-content::-webkit-scrollbar-track,
.todey-modal-scroll-wrapper::-webkit-scrollbar-track,
.todey-admin-row-details::-webkit-scrollbar-track,
.todey-admin-row-override-panel::-webkit-scrollbar-track {
    background: #000000 !important;
    border-radius: 0px;
}
::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.todey-portal-layout::-webkit-scrollbar-thumb,
.todey-portal-viewport::-webkit-scrollbar-thumb,
.todey-portal-sidebar::-webkit-scrollbar-thumb,
.todey-portal-content-container::-webkit-scrollbar-thumb,
.todey-portal-nav::-webkit-scrollbar-thumb,
.todey-tab-scroll-container::-webkit-scrollbar-thumb,
.todey-category-tabs::-webkit-scrollbar-thumb,
.todey-company-tabs-nav::-webkit-scrollbar-thumb,
.todey-agent-tabs-nav::-webkit-scrollbar-thumb,
.todey-qr-tabs-nav::-webkit-scrollbar-thumb,
.todey-docs-tab-container::-webkit-scrollbar-thumb,
.todey-table-responsive::-webkit-scrollbar-thumb,
.todey-table-container::-webkit-scrollbar-thumb,
.todey-admin-table-container::-webkit-scrollbar-thumb,
.todey-chat-history-container::-webkit-scrollbar-thumb,
.todey-ticket-thread::-webkit-scrollbar-thumb,
#todey-admin-tickets-list::-webkit-scrollbar-thumb,
#todey-sidebar-list-container::-webkit-scrollbar-thumb,
.todey-search-results::-webkit-scrollbar-thumb,
#todey-search-results::-webkit-scrollbar-thumb,
.todey-search-results-dropdown-portal::-webkit-scrollbar-thumb,
#todey_card_search_results::-webkit-scrollbar-thumb,
#todey_company_search_results::-webkit-scrollbar-thumb,
#todey-claim-search-results::-webkit-scrollbar-thumb,
#todey-control-search-results::-webkit-scrollbar-thumb,
#todey-admin-create-ticket-autocomplete::-webkit-scrollbar-thumb,
.todey-admin-autocomplete-results::-webkit-scrollbar-thumb,
#todey-upgrade-search-autocomplete-results::-webkit-scrollbar-thumb,
#todey-search-autocomplete-results::-webkit-scrollbar-thumb,
.todey-global-org-dropdown-menu::-webkit-scrollbar-thumb,
.todey-admin-override-project-results::-webkit-scrollbar-thumb,
.todey-modal-body::-webkit-scrollbar-thumb,
.todey-modal-content::-webkit-scrollbar-thumb,
.todey-payment-modal-body::-webkit-scrollbar-thumb,
.todey-drawer-body::-webkit-scrollbar-thumb,
.todey-drawer-content::-webkit-scrollbar-thumb,
.todey-modal-scroll-wrapper::-webkit-scrollbar-thumb,
.todey-admin-row-details::-webkit-scrollbar-thumb,
.todey-admin-row-override-panel::-webkit-scrollbar-thumb {
    background: #1a1a1a !important;
    border-radius: 2px;
    min-height: 24px !important;
    min-width: 24px !important;
    -webkit-appearance: none;
}
::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover,
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
.todey-portal-layout::-webkit-scrollbar-thumb:hover,
.todey-portal-viewport::-webkit-scrollbar-thumb:hover,
.todey-portal-sidebar::-webkit-scrollbar-thumb:hover,
.todey-portal-content-container::-webkit-scrollbar-thumb:hover,
.todey-portal-nav::-webkit-scrollbar-thumb:hover,
.todey-tab-scroll-container::-webkit-scrollbar-thumb:hover,
.todey-category-tabs::-webkit-scrollbar-thumb:hover,
.todey-company-tabs-nav::-webkit-scrollbar-thumb:hover,
.todey-agent-tabs-nav::-webkit-scrollbar-thumb:hover,
.todey-qr-tabs-nav::-webkit-scrollbar-thumb:hover,
.todey-docs-tab-container::-webkit-scrollbar-thumb:hover,
.todey-table-responsive::-webkit-scrollbar-thumb:hover,
.todey-table-container::-webkit-scrollbar-thumb:hover,
.todey-admin-table-container::-webkit-scrollbar-thumb:hover,
.todey-chat-history-container::-webkit-scrollbar-thumb:hover,
.todey-ticket-thread::-webkit-scrollbar-thumb:hover,
#todey-admin-tickets-list::-webkit-scrollbar-thumb:hover,
#todey-sidebar-list-container::-webkit-scrollbar-thumb:hover,
.todey-search-results::-webkit-scrollbar-thumb:hover,
#todey-search-results::-webkit-scrollbar-thumb:hover,
.todey-search-results-dropdown-portal::-webkit-scrollbar-thumb:hover,
#todey_card_search_results::-webkit-scrollbar-thumb:hover,
#todey_company_search_results::-webkit-scrollbar-thumb:hover,
#todey-claim-search-results::-webkit-scrollbar-thumb:hover,
#todey-control-search-results::-webkit-scrollbar-thumb:hover,
#todey-admin-create-ticket-autocomplete::-webkit-scrollbar-thumb:hover,
.todey-admin-autocomplete-results::-webkit-scrollbar-thumb:hover,
#todey-upgrade-search-autocomplete-results::-webkit-scrollbar-thumb:hover,
#todey-search-autocomplete-results::-webkit-scrollbar-thumb:hover,
.todey-global-org-dropdown-menu::-webkit-scrollbar-thumb:hover,
.todey-admin-override-project-results::-webkit-scrollbar-thumb:hover,
.todey-modal-body::-webkit-scrollbar-thumb:hover,
.todey-modal-content::-webkit-scrollbar-thumb:hover,
.todey-payment-modal-body::-webkit-scrollbar-thumb:hover,
.todey-drawer-body::-webkit-scrollbar-thumb:hover,
.todey-drawer-content::-webkit-scrollbar-thumb:hover,
.todey-modal-scroll-wrapper::-webkit-scrollbar-thumb:hover,
.todey-admin-row-details::-webkit-scrollbar-thumb:hover,
.todey-admin-row-override-panel::-webkit-scrollbar-thumb:hover {
    background: #ff4400 !important;
}
::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
    background: #000000 !important;
}

/* W3C Standard Scrollbar for Modern Firefox, Safari 17+, Chrome 121+ */
* {
    scrollbar-width: thin;
    scrollbar-color: #1a1a1a #000000;
}

/* Reset and Layout (Native Document Scrolling for Cross-Browser & Safari Parity) */
html, body.todey-portal-body {
    background-color: var(--todey-bg-primary) !important;
    color: var(--todey-text-primary) !important;
    font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

/* Allow scrolling on login / waitlist pages when content exceeds screen height */
.todey-portal-body.todey-login-body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    min-height: 100vh;
    min-height: 100dvh;
}

.todey-portal-layout,
.todey-portal-layout * {
    font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    box-sizing: border-box !important;
}

.todey-portal-layout {
    display: block;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    max-width: 100vw;
    background-color: var(--todey-bg-primary);
    position: relative;
    box-sizing: border-box !important;
}

/* Sidebar Navigation - Permanently Fixed on Left */
.todey-portal-sidebar {
    width: 260px;
    height: 100vh;
    height: 100dvh;
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: var(--todey-bg-primary);
    border-right: 1px solid var(--todey-border-color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 100;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.todey-portal-brand {
    height: 70px;
    padding: 5px 24px 0;
    border-bottom: 1px solid var(--todey-border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
}

.todey-portal-logo {
    display: block;
    max-height: 20px;
    width: auto;
    max-width: 100%;
    margin-bottom: 6px;
}

.todey-portal-brand h2 {
    margin: 0;
    font-family: 'Six Caps', sans-serif !important;
    font-size: 2.2rem;
    letter-spacing: 0.05em;
    color: var(--todey-text-primary);
    line-height: 1;
}

.todey-portal-brand span {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--todey-text-muted);
    text-align: left;
    margin: 0;
}

.todey-portal-mobile-dropdown-trigger {
    display: none;
}

.todey-portal-nav {
    flex-grow: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
}

.todey-portal-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.todey-portal-nav-link {
    display: flex;
    align-items: center;
    padding: 8px 24px 8px 21px;
    color: var(--todey-text-secondary);
    text-decoration: none;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    border-left: 3px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.todey-portal-nav-link i {
    width: 20px;
    font-size: 13.5px;
    margin-right: 11px;
    text-align: center;
}

.todey-portal-nav-link svg {
    width: 13.5px !important;
    height: 13.5px !important;
    margin-right: 11px !important;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.2s, fill 0.2s;
}

.todey-portal-nav-link:hover {
    color: var(--todey-text-primary);
    background-color: rgba(255, 255, 255, 0.03);
}

.todey-portal-nav-link:hover svg {
    opacity: 1;
}

.todey-portal-nav-link.active {
    color: var(--todey-text-primary);
    background-color: transparent;
    border-left-color: transparent;
}

.todey-portal-nav-link.active svg {
    opacity: 1;
    color: #ff4400 !important;
}

.todey-nav-category-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    text-transform: uppercase !important;
    letter-spacing: 1.35px !important;
    font-weight: 1000 !important;
    font-size: 11.5px !important;
    color: #ffffff !important;
    border: 1px dashed #191919;
    padding: 6px 24px 6px 21px !important;
    margin-top: 4px !important;
    margin-bottom: 3px !important;
    background-color: #000000 !important;
    pointer-events: none !important;
    cursor: default !important;
}

.todey-nav-category-header svg {
    width: 13px !important;
    height: 13px !important;
    stroke: #ffffff !important;
    flex-shrink: 0;
    opacity: 0.9;
}

.todey-nav-category-header:first-of-type {
    margin-top: 0 !important;
}

/* Universal Sidebar Tree-Rail Hierarchy Across All Panels */
.todey-nav-category-group,
.todey-personal-nav-group {
    list-style: none !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
}

.todey-nav-child-tree,
.todey-personal-child-tree {
    list-style: none !important;
    margin: 4px 0 6px 27px !important;
    padding: 0 !important;
    border-left: none !important;
    position: relative !important;
}

.todey-nav-child-tree::before,
.todey-personal-child-tree::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 8px !important;
    bottom: 8px !important;
    width: 0 !important;
    border-left: 1px dashed #141414 !important;
    pointer-events: none !important;
}

.todey-nav-child-tree .todey-nav-child-item,
.todey-personal-child-tree .todey-nav-child-item {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.todey-nav-child-tree .todey-portal-nav-link,
.todey-personal-child-tree .todey-portal-nav-link {
    display: flex !important;
    align-items: center !important;
    padding: 7px 18px 7px 14px !important;
    color: var(--todey-text-secondary) !important;
    text-decoration: none !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.9px !important;
    border-left: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
}

.todey-nav-child-tree .todey-portal-nav-link:hover,
.todey-personal-child-tree .todey-portal-nav-link:hover {
    color: var(--todey-text-primary) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
}

.todey-nav-child-tree .todey-portal-nav-link.active,
.todey-personal-child-tree .todey-portal-nav-link.active {
    color: var(--todey-text-primary) !important;
    background-color: transparent !important;
}

.todey-nav-child-tree .todey-portal-nav-link.active svg,
.todey-personal-child-tree .todey-portal-nav-link.active svg {
    color: #ff4400 !important;
    stroke: #ff4400 !important;
    opacity: 1 !important;
}

.todey-portal-sidebar-footer {
    height: 60px !important;
    min-height: 60px !important;
    padding: 0 24px;
    border-top: 1px solid var(--todey-border-color) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

.todey-portal-footer {
    height: 60px !important;
    min-height: 60px !important;
    margin-top: 30px !important;
    padding: 0 30px;
    border-top: 1px solid var(--todey-border-color) !important;
    background-color: var(--todey-bg-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

.todey-portal-footer-tagline {
    font-family: var(--todey-font-mono, 'Space Grotesk', monospace);
    font-size: 10px;
    font-weight: 600;
    color: #666666;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    line-height: 1;
    user-select: none;
}

.todey-portal-footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.todey-portal-footer-link {
    font-family: var(--todey-font-mono, 'Space Grotesk', monospace);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888888;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1;
}

.todey-portal-footer-link:hover,
.todey-portal-footer-link:focus {
    color: #ffffff;
    text-decoration: none;
}

.todey-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.todey-username {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--todey-text-primary);
    line-height: 1.3;
}

.todey-role {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 9px;
    color: var(--todey-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.todey-panel-beta-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff4400;
    color: #000000;
    font-weight: 700;
    font-size: 7.5px;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 0px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    vertical-align: middle;
}

.todey-logout-btn {
    color: var(--todey-text-muted);
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.todey-logout-btn:hover {
    color: var(--todey-accent-orange);
}

.todey-nav-logout-group {
    display: none;
}

/* Main Viewport - Offset for Fixed Sidebar */
.todey-portal-viewport {
    margin-left: 260px !important;
    width: calc(100% - 260px) !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    background-color: var(--todey-bg-primary);
    position: relative;
    box-sizing: border-box !important;
}

.todey-portal-header {
    height: 70px;
    padding: 0 30px;
    border-bottom: 1px solid var(--todey-border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    background-color: var(--todey-bg-primary);
    z-index: 90;
}

.todey-page-info h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.todey-portal-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.todey-global-org-selector-container {
    display: flex;
    align-items: center;
}

.todey-global-org-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 240px;
    min-width: 240px;
}

.todey-global-org-trigger {
    background: #000000;
    color: #ffffff;
    border: 1px solid #141414;
    height: 38px;
    min-height: 38px;
    padding: 0;
    font-size: 11px;
    font-weight: 600;
    font-family: space-grotesk, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0px;
    cursor: pointer;
    outline: none;
    box-sizing: border-box;
    display: inline-flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    min-width: 100%;
    transition: background 0.15s ease;
}

.todey-global-org-trigger-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    min-width: 38px;
    max-width: 38px;
    height: 100%;
    padding: 3px;
    color: #ff4400;
    flex-shrink: 0;
    border-right: 1px solid #141414;
    overflow: hidden;
    box-sizing: border-box;
}

.todey-global-org-trigger-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    min-width: 0;
    flex: 1;
    padding: 0 10px;
    gap: 1px;
}

.todey-global-org-trigger-label {
    font-family: space-grotesk, sans-serif;
    font-size: 7.5px;
    font-weight: 600;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1;
}

.todey-global-org-trigger-value {
    font-family: space-grotesk, sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.todey-global-org-trigger-arrow-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-left: 1px solid #141414;
    flex-shrink: 0;
}

.todey-global-org-trigger:hover,
.todey-global-org-trigger:focus,
.todey-global-org-trigger:active {
    background: #080808;
    border-color: #141414;
    outline: none;
    box-shadow: none;
}

.todey-global-org-chevron {
    transition: transform 0.2s ease, stroke 0.15s ease;
    flex-shrink: 0;
    stroke: #888888;
}

.todey-global-org-trigger:hover .todey-global-org-chevron,
.todey-global-org-trigger:focus .todey-global-org-chevron,
.todey-global-org-trigger[aria-expanded="true"] .todey-global-org-chevron {
    stroke: #ff4400;
}

.todey-global-org-trigger[aria-expanded="true"] .todey-global-org-chevron {
    transform: rotate(180deg);
}

.todey-global-org-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    max-height: 360px;
    overflow-y: auto;
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    box-shadow: none;
    z-index: 999999;
    box-sizing: border-box;
    display: none;
    padding: 0;
}

.todey-global-org-dropdown-menu.is-open {
    display: block !important;
}

.todey-global-org-dropdown-item {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 500;
    color: #b3b3b3;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #ffffff10;
    box-sizing: border-box;
    transition: background 0.15s ease, color 0.15s ease;
    user-select: none;
}

.todey-global-org-personal-item {
    padding: 10px 12px;
    border-bottom: none;
}

.todey-global-org-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #000000;
    border: 1px solid #141414;
    color: #ffffff;
    flex-shrink: 0;
    border-radius: 0px;
}

.todey-global-org-personal-item.is-selected .todey-global-org-avatar {
    color: #ff4400;
}

.todey-global-org-section-header {
    padding: 10px 12px 4px 12px;
    font-family: space-grotesk, sans-serif;
    font-size: 8.5px;
    font-weight: 600;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    user-select: none;
}

.todey-global-org-item-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.todey-global-org-checkbox {
    width: 12px;
    height: 12px;
    background: transparent;
    border: 1px solid #ffffff24;
    border-radius: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
}

.todey-global-org-checkbox.is-checked {
    background: transparent;
    border-color: #ffffff24;
    color: #ff4400;
}

.todey-global-org-badge {
    font-family: space-grotesk, sans-serif;
    font-size: 8px;
    font-weight: 500;
    color: #888888;
    background: #000000;
    border: none;
    border-radius: 0px;
    padding: 2px 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.todey-global-org-dropdown-item:last-child {
    border-bottom: none;
}

.todey-global-org-dropdown-item:hover,
.todey-global-org-dropdown-item:focus {
    background: #080808;
    color: #ffffff;
}

.todey-global-org-dropdown-item:hover .todey-global-org-badge,
.todey-global-org-badge:hover {
    color: #ff4400 !important;
}

.todey-global-org-dropdown-item.is-selected {
    background: #000000;
    color: #ffffff;
}

.todey-global-org-dropdown-item.is-selected .todey-global-org-item-name {
    color: #ff4400 !important;
}

.todey-action-btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #000000;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    font-family: space-grotesk, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #141414;
    border-radius: 0px;
    height: 38px;
    min-height: 38px;
    padding: 0 15px;
    box-sizing: border-box;
    cursor: pointer;
    outline: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.todey-action-btn-link i {
    margin-right: 8px;
}

.todey-action-btn-link:hover {
    background-color: #ff4400 !important;
    color: #000000 !important;
    transform: none !important;
}

/* Request Access Status Action Buttons */
.todey-req-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}

@media (max-width: 480px) {
    .todey-req-actions-grid {
        grid-template-columns: 1fr !important;
    }
}

.todey-req-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #000000 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-family: 'Space Grotesk', -apple-system, sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    height: 38px !important;
    min-height: 38px !important;
    width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    outline: none !important;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease !important;
}

.todey-req-action-btn.todey-req-action-primary {
    color: #ff4400 !important;
}

.todey-req-action-btn:hover {
    background: #ff4400 !important;
    color: #000000 !important;
    border-color: #141414 !important;
    transform: none !important;
}

.todey-req-action-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
    background: #000000 !important;
    color: #888888 !important;
}

/* Dynamic Content Container */
.todey-portal-content-container {
    flex: 1;
    padding: 20px 30px 0px;
    box-sizing: border-box !important;
    position: relative;
}

/* Bento Grid — 10W×4H dashboard layout (DESIGN-SYSTEM.md §6 gap technique) */
.todey-bento-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 1px;
    background: #141414;
    border: 1px solid #141414;
    background-clip: padding-box;
}

.todey-dashboard-grid {
    grid-template-rows: repeat(4, minmax(56px, 1fr));
}

.todey-dashboard-grid .todey-bento-card {
    justify-content: center !important;
}

.todey-bento-card {
    background-color: var(--todey-bg-primary);
    border: 1px solid #141414 !important;
    border-radius: 0 !important;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.2s ease-in-out;
}


.todey-bento-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 20px !important;
    font-weight: 1000 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.todey-bento-card p {
    margin: 0 0 8px 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--todey-text-secondary);
}

/* Bento Counter Card Icon */
.todey-bento-icon {
    width: 18px;
    height: 18px;
    color: var(--todey-text-muted);
    margin-bottom: 8px;
    flex-shrink: 0;
}

/* Greeting Card Specifics */
.todey-bento-greeting {
    justify-content: space-between;
}

.todey-bento-greeting .todey-greeting-title {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--todey-text-muted);
    margin: 0 0 4px 0;
}

.todey-bento-greeting .todey-greeting-name {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 30px !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--todey-text-primary);
    margin: 0 0 8px 0;
}

.todey-bento-greeting .todey-greeting-subtitle {
    font-size: 11px;
    line-height: 1.5;
    color: var(--todey-text-muted);
    margin: 0 0 12px 0;
}

/* Column span utilities (kept for non-bento layouts) */
.col-span-1 { grid-column: span 1; }
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.col-span-4 { grid-column: span 4; }
.col-span-5 { grid-column: span 5; }
.col-span-6 { grid-column: span 6; }
.col-span-7 { grid-column: span 7; }
.col-span-8 { grid-column: span 8; }
.col-span-9 { grid-column: span 9; }
.col-span-10 { grid-column: span 10; }
.row-span-2 { grid-row: span 2; }
.row-span-4 { grid-row: span 4; }

/* Metrics */
.todey-metric-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--todey-text-muted);
    font-weight: 700;
}

.todey-metric-value {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 2rem;
    font-weight: 700;
    margin: 4px 0;
    color: var(--todey-text-primary);
    line-height: 1;
}

.todey-muted {
    font-size: 12px;
    color: var(--todey-text-muted);
}

/* Telemetry Section (below bento) */
.todey-dashboard-telemetry {
    margin-top: 16px;
    border: 1px solid #141414;
    background-color: var(--todey-bg-primary);
    padding: 24px;
}

.todey-dashboard-telemetry h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 20px !important;
    font-weight: 1000 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.todey-telemetry-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    /* background: #141414; */
    /* border: 1px solid #141414; */
    margin-bottom: 24px;
}

.todey-telemetry-stat {
    background: var(--todey-bg-primary);
    padding: 16px;
}

.todey-telemetry-stat .todey-metric-label {
    font-size: 9px;
}

.todey-telemetry-stat .todey-metric-value {
    font-size: 1.4rem;
}

/* Buttons */
.todey-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: 1px solid var(--todey-border-color);
    background: transparent;
    color: var(--todey-text-primary);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 0 !important;
}

.todey-btn span,
.todey-btn svg {
    display: inline-block;
}

.todey-btn:hover {
    background: var(--todey-accent-orange);
    color: #000000;
    border-color: #141414;
    transform: none !important;
    box-shadow: none !important;
}
 
.todey-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: transparent;
    color: var(--todey-text-muted);
    border-color: var(--todey-border-color);
    box-shadow: none !important;
}

.todey-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: 1px solid #141414;
    background: #ffffff;
    color: #000000;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 0 !important;
}

.todey-btn-primary:hover {
    background: var(--todey-accent-orange) !important;
    color: #000000 !important;
    border-color: #141414 !important;
    transform: none !important;
    box-shadow: none !important;
}

.todey-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: 1px solid #141414;
    background: transparent;
    color: var(--todey-text-primary);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 0 !important;
}

.todey-btn-secondary:hover {
    background: var(--todey-accent-orange) !important;
    color: #000000 !important;
    border-color: #141414 !important;
    transform: none !important;
    box-shadow: none !important;
}


.todey-form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 8px;
    color: var(--todey-text-secondary);
}

.todey-input,
.todey-select,
.todey-textarea {
    width: 100%;
    background-color: #000000 !important;
    border: 1px solid var(--todey-border-color) !important;
    color: var(--todey-text-primary) !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    padding: 8px 14px !important;
    border-radius: 0px !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Lock sleek height for dashboard fields to bypass theme or default WordPress styles */
.todey-portal-body:not(.todey-login-body) .todey-input,
.todey-portal-body:not(.todey-login-body) select,
.todey-portal-body:not(.todey-login-body) .todey-select {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    box-sizing: border-box !important;
    padding: 0 14px !important;
    line-height: 36px !important;
}

/* Maintain custom background dropdown arrow padding on select elements */
.todey-portal-body:not(.todey-login-body) select.todey-input,
.todey-portal-body:not(.todey-login-body) select.todey-select {
    padding-right: 36px !important;
}

/* Align buttons next to dashboard inputs and select elements to the exact same sleek height */
.todey-portal-body:not(.todey-login-body) .todey-bento-card .todey-btn,
.todey-portal-body:not(.todey-login-body) .todey-form-group .todey-btn {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    box-sizing: border-box !important;
    line-height: 36px !important;
    padding: 0 20px !important;
}


.todey-input:focus,
.todey-select:focus,
.todey-textarea:focus {
    border-color: var(--todey-border-color) !important;
}

/* Universal Cross-Browser Placeholder Styling across all Portal Inputs */
.todey-portal-body input::placeholder,
.todey-portal-body textarea::placeholder,
.todey-portal-layout input::placeholder,
.todey-portal-layout textarea::placeholder,
.todey-input::placeholder,
.todey-dark-input::placeholder,
.todey-textarea::placeholder,
#todey-identity-app input::placeholder,
#todey-identity-app textarea::placeholder {
    color: #666666 !important;
    opacity: 1 !important;
}

.todey-portal-body input::-webkit-input-placeholder,
.todey-portal-body textarea::-webkit-input-placeholder,
.todey-portal-layout input::-webkit-input-placeholder,
.todey-portal-layout textarea::-webkit-input-placeholder,
.todey-input::-webkit-input-placeholder,
.todey-dark-input::-webkit-input-placeholder,
.todey-textarea::-webkit-input-placeholder,
#todey-identity-app input::-webkit-input-placeholder,
#todey-identity-app textarea::-webkit-input-placeholder {
    color: #666666 !important;
    opacity: 1 !important;
}

/* Keyboard accessibility focus outlines for links and buttons */
.todey-portal-nav-link:focus-visible,
.todey-btn:focus-visible,
.todey-action-btn-link:focus-visible {
    outline: 2px solid var(--todey-accent-orange) !important;
    outline-offset: 2px !important;
}

select.todey-select,
select.todey-input {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 10px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-right: 36px !important;
    height: 38px !important;
    line-height: 38px !important;
    cursor: pointer !important;
}

/* ==========================================================================
   TODEY Universal Custom Luxury Form Dropdowns
   ========================================================================== */
.todey-custom-dropdown {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.todey-custom-dropdown-trigger {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    color: #ffffff !important;
    padding: 0 14px !important;
    outline: none !important;
    font-size: 13px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 500 !important;
    border-radius: 0px !important;
    width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    line-height: 36px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: left !important;
    transition: background 0.15s ease !important;
}

.todey-custom-dropdown-trigger:hover,
.todey-custom-dropdown-trigger.is-open {
    background: #080808 !important;
}

.todey-custom-dropdown-trigger:focus,
.todey-custom-dropdown-trigger:active {
    border-color: #141414 !important;
    outline: none !important;
    box-shadow: none !important;
}

.todey-custom-dropdown-trigger .todey-custom-dropdown-label {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex: 1 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-family: 'DM Sans', sans-serif !important;
}

.todey-custom-dropdown-trigger .todey-dropdown-chevron {
    flex-shrink: 0 !important;
    margin-left: 8px !important;
    transition: transform 0.2s ease !important;
}

.todey-custom-dropdown-trigger.is-open .todey-dropdown-chevron {
    transform: rotate(180deg) !important;
}

.todey-custom-dropdown-menu {
    position: absolute !important;
    top: calc(100% + 2px) !important;
    left: 0 !important;
    width: 100% !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.95) !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.todey-custom-dropdown-item {
    padding: 10px 14px !important;
    font-size: 13px !important;
    font-family: 'DM Sans', sans-serif !important;
    color: #ffffff !important;
    cursor: pointer !important;
    border-bottom: 1px solid #141414 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: background 0.15s ease !important;
    background: #000000 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    text-align: left !important;
    user-select: none !important;
}

.todey-custom-dropdown-item:last-child {
    border-bottom: none !important;
}

.todey-custom-dropdown-item:hover {
    background: #080808 !important;
}

.todey-custom-dropdown-item.is-selected {
    background: #080808 !important;
}

.todey-custom-dropdown-item.is-selected .todey-dropdown-check {
    color: #ff4400 !important;
    stroke: #ff4400 !important;
}

/* Support Ticket Form Standardization */
.todey-ticket-form-drawer {
    width: 100% !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    margin-bottom: 16px !important;
    border-radius: 0px !important;
}

.todey-ticket-form-drawer h4 {
    margin: 0 0 16px 0 !important;
    font-family: 'Space Grotesk', -apple-system, sans-serif !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
}

#todey-ticket-create-form .todey-input,
#todey-ticket-create-form input[type="text"] {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    line-height: 36px !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    color: #ffffff !important;
    border-radius: 0px !important;
    font-size: 13px !important;
    font-family: 'DM Sans', sans-serif !important;
    width: 100% !important;
}

#todey-ticket-create-form input[type="text"]:focus,
#todey-ticket-create-form textarea:focus {
    border-color: #141414 !important;
    outline: none !important;
    box-shadow: none !important;
}

#todey-ticket-create-form textarea {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    color: #ffffff !important;
    padding: 12px 14px !important;
    outline: none !important;
    font-size: 13px !important;
    border-radius: 0px !important;
    font-family: 'DM Sans', sans-serif !important;
    width: 100% !important;
    box-sizing: border-box !important;
    resize: vertical !important;
}

.todey-ticket-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

/* Key lists / tables */
.todey-table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 12px;
}

.todey-table {
    width: 100% !important;
    border-collapse: collapse !important;
    text-align: left !important;
    border: none !important;
}

.todey-table tr {
    border: none !important;
}

.todey-table th {
    text-align: left !important;
    border: none !important;
    border-bottom: 1px solid var(--todey-border-color) !important;
    padding: 5px 12px !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: var(--todey-text-muted) !important;
    font-weight: 700 !important;
}

.todey-table td {
    text-align: left !important;
    border: none !important;
    border-bottom: 1px solid var(--todey-border-color) !important;
    padding: 5px 12px !important;
    font-size: 13px !important;
    color: var(--todey-text-secondary) !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

.todey-scopes-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: flex-start !important;
}

@media (max-width: 768px) {
    .todey-scopes-wrapper {
        justify-content: flex-end !important;
        max-width: 70% !important;
    }
}

.todey-scope-pill,
.todey-cap-identifier {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-family: 'JetBrains Mono', 'Space Grotesk', monospace !important;
    letter-spacing: 0.2px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: #ff4400 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.todey-table tr:hover td {
    background-color: var(--todey-bg-tertiary) !important;
}

.todey-code-preview {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 12px;
    background-color: transparent !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0px !important;
}

/* Table Action Buttons Refinements: Remove border outline boxes & disable hover backgrounds */
.todey-portal-body:not(.todey-login-body) .todey-table td .todey-btn {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    line-height: normal !important;
    transition: color 0.2s ease-in-out !important;
}

/* Specific button overrides inside tables */
.todey-portal-body:not(.todey-login-body) .todey-table td .todey-btn.todey-revoke-btn {
    color: var(--todey-text-secondary) !important;
    font-size: 9px !important;
}

.todey-portal-body:not(.todey-login-body) .todey-table td .todey-btn.todey-remove-member-btn {
    color: var(--todey-text-secondary) !important;
    font-size: 9px !important;
}

.todey-portal-body:not(.todey-login-body) .todey-table td .todey-btn.todey-view-key-btn {
    color: var(--todey-text-secondary) !important;
}

/* Disable background color shifts on hover — only change text color */
.todey-portal-body:not(.todey-login-body) .todey-table td .todey-btn:hover {
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.todey-portal-body:not(.todey-login-body) .todey-table td .todey-btn.todey-revoke-btn:hover {
    color: #ff0000 !important;
}

.todey-portal-body:not(.todey-login-body) .todey-table td .todey-btn.todey-remove-member-btn:hover {
    color: #ff0000 !important;
}

.todey-portal-body:not(.todey-login-body) .todey-table td .todey-btn.todey-revoke-invite-btn {
    color: var(--todey-text-secondary) !important;
    font-size: 9px !important;
}

.todey-portal-body:not(.todey-login-body) .todey-table td .todey-btn.todey-revoke-invite-btn:hover {
    color: #ff0000 !important;
}

.todey-portal-body:not(.todey-login-body) .todey-table td .todey-btn.todey-view-key-btn:hover {
    color: #ffffff !important;
}

.todey-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
    border-radius: 0px !important;
}

.badge-active {
    color: var(--todey-text-primary) !important;
    background-color: transparent !important;
}

.badge-revoked {
    color: var(--todey-accent-red) !important;
    background-color: transparent !important;
}

/* Security & My Account Settings Luxury Bento Section */
.security-alert-box {
    background-color: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 14px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.security-alert-box h4 {
    margin: 0 0 4px 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--todey-accent-orange);
    font-family: space-grotesk, sans-serif;
}

.security-alert-box p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #b3b3b3;
}

.todey-account-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.todey-account-stat-item {
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.todey-account-stat-icon-wrap {
    width: 34px;
    height: 34px;
    background: #000000;
    border: 1px solid #141414;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--todey-accent-orange);
    flex-shrink: 0;
}

.todey-account-stat-icon-wrap svg {
    width: 20px;
    height: 20px;
    display: block;
}

.todey-account-stat-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888888;
    font-family: space-grotesk, sans-serif;
    margin-bottom: 3px; 
}

.todey-account-stat-val {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    font-family: roboto-mono, monospace;
}

.todey-account-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100%;
}

.todey-account-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #141414;
}

.todey-account-card-title {
    margin: 0;
    font-family: space-grotesk, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.todey-account-card-desc {
    margin: 10px 0 10px 0;
    font-size: 11px;
    line-height: 1.4;
    color: #888888;
}

.todey-account-card .todey-form-group {
    margin-bottom: 0 !important;
    margin-top: 15px !important;
    text-align: left;
}

.todey-account-card .todey-form-group:first-of-type {
    margin-top: 2px !important;
}

.todey-account-card .todey-identity-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 2px !important;
    text-align: left;
}

.todey-account-card .todey-identity-fields-grid .todey-form-group {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.todey-org-identity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-align: left;
}

.todey-org-identity-grid .todey-form-group {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    .todey-org-identity-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

.todey-avatar-upload-wrap,
.todey-org-avatar-upload-wrap {
    margin-top: 14px !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
}

.todey-avatar-preview-box {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    flex-shrink: 0;
}

.todey-avatar-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 480px) {
    .todey-avatar-upload-wrap,
    .todey-org-avatar-upload-wrap {
        padding: 10px !important;
    }
}

.todey-account-card .todey-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 2px !important;
    text-align: left;
}

.todey-account-card .todey-social-grid .todey-form-group {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

@media (max-width: 640px) {
    .todey-account-card .todey-identity-fields-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .todey-account-card .todey-social-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.todey-account-card #todey-username-controls,
.todey-account-card #todey-recovery-controls,
.todey-account-card #todey-passkey-controls,
.todey-account-card #todey-social-controls {
    margin-top: auto !important;
    padding-top: 14px;
}

.todey-account-card .todey-account-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2px !important;
    gap: 8px;
    flex-wrap: wrap;
}

.todey-account-card .todey-account-label-row .todey-form-label {
    margin: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
}

@media (max-width: 768px) {
    .todey-account-stat-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .todey-portal-body {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        height: auto !important;
        min-height: 100vh;
        min-height: 100dvh;
    }
    .todey-portal-layout {
        display: flex;
        flex-direction: column;
        height: auto !important;
        min-height: 100vh;
        min-height: 100dvh;
    }
    .todey-portal-layout {
        display: flex !important;
        flex-direction: column !important;
    }
    .todey-portal-viewport {
        margin-left: 0 !important;
        width: 100% !important;
        min-height: auto !important;
        display: contents !important;
    }
    .todey-portal-header {
        order: 1 !important;
        height: auto;
        padding: 14px 12px;
        display: flex;
        flex-direction: column !important;
        gap: 12px;
        position: relative !important;
        z-index: 100000 !important;
        overflow: visible !important;
    }
    .todey-portal-header-right {
        order: 1 !important;
        width: 100% !important;
    }
    .todey-page-info {
        order: 2 !important;
        width: 100% !important;
    }
    .todey-portal-sidebar {
        order: 2 !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: auto !important;
        border-right: none !important;
        border-bottom: 1px solid var(--todey-border-color);
        z-index: 90000 !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }
    .todey-portal-brand {
        display: none !important;
    }
    .todey-portal-content-container {
        order: 3 !important;
        padding: 18px 12px;
        height: auto !important;
        position: relative !important;
        z-index: 5 !important;
        overflow: visible !important;
    }
    .todey-portal-logo {
        margin-bottom: 6px;
    }
    .todey-portal-nav {
        position: relative !important;
        padding: 0 !important;
        z-index: 100001 !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }
    .todey-portal-mobile-dropdown-trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 48px;
        padding: 0 16px;
        margin: 12px 16px;
        background-color: var(--todey-bg-secondary);
        border: 1px solid var(--todey-border-color);
        cursor: pointer;
        box-sizing: border-box;
        user-select: none;
    }
    .todey-active-nav-label {
        display: flex;
        align-items: center;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--todey-text-primary);
    }
    .todey-active-nav-label svg {
        width: 14px;
        height: 14px;
        margin-right: 8px;
        color: var(--todey-accent-orange);
    }
    .todey-chevron {
        color: var(--todey-text-muted);
        transition: transform 0.2s ease;
    }
    .todey-portal-mobile-dropdown-trigger.open .todey-chevron {
        transform: rotate(180deg);
    }
    .todey-portal-nav-list {
        display: none;
        position: absolute !important;
        top: calc(100% - 12px) !important;
        left: 16px !important;
        right: 16px !important;
        background-color: #000000 !important;
        border: 1px solid #141414 !important;
        border-top: none !important;
        box-shadow: 0 16px 40px rgba(0,0,0,0.98) !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        z-index: 100002 !important;
        max-height: 380px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .todey-portal-nav-list.open {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    .todey-portal-nav-list li,
    .todey-portal-nav-list .todey-nav-category-group,
    .todey-portal-nav-list .todey-nav-child-item {
        width: 100% !important;
        border: none !important;
        border-bottom: none !important;
        list-style: none !important;
    }
    .todey-portal-nav-list .todey-nav-category-header {
        border: none !important;
        background-color: transparent !important;
        padding-top: 10px !important;
        padding-bottom: 4px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-top: 4px !important;
        margin-bottom: 2px !important;
    }
    .todey-portal-nav-list .todey-nav-category-group:first-child .todey-nav-category-header {
        margin-top: 2px !important;
    }
    .todey-portal-nav-list .todey-nav-child-tree::before,
    .todey-portal-nav-list .todey-personal-child-tree::before {
        display: none !important;
        border: none !important;
        content: none !important;
    }
    .todey-portal-nav-list .todey-nav-child-tree,
    .todey-portal-nav-list .todey-personal-child-tree {
        margin: 0 0 6px 0 !important;
        border-left: none !important;
    }
    .todey-portal-nav-list .todey-portal-nav-link {
        display: flex !important;
        align-items: center !important;
        padding-top: 9px !important;
        padding-bottom: 9px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        color: var(--todey-text-secondary) !important;
        text-decoration: none !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.9px !important;
        border: none !important;
        border-left: none !important;
        border-bottom: none !important;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    .todey-portal-nav-list .todey-portal-nav-link:hover {
        color: var(--todey-text-primary) !important;
        background-color: #080808 !important;
    }
    .todey-portal-nav-list .todey-portal-nav-link.active {
        color: var(--todey-text-primary) !important;
        background-color: transparent !important;
    }
    .todey-portal-nav-list .todey-portal-nav-link.active svg {
        color: #ff4400 !important;
        stroke: #ff4400 !important;
        opacity: 1 !important;
    }
    .todey-portal-sidebar-footer {
        display: none !important;
    }
    .todey-portal-nav-list .todey-nav-logout-group {
        display: block !important;
        border-top: 1px solid #141414 !important;
        margin-top: 6px !important;
        padding-top: 4px !important;
        border-bottom: none !important;
    }
    .todey-portal-nav-list .todey-portal-nav-logout-link {
        color: #ff0000 !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        border: none !important;
    }
    .todey-portal-nav-list .todey-portal-nav-logout-link:hover {
        background-color: #080808 !important;
        color: #ff0000 !important;
    }
    .todey-bento-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: auto !important;
    }
    .col-span-4 {
        grid-column: span 2 !important;
    }
    .col-span-3 {
        grid-column: span 2 !important;
    }
    .col-span-2 {
        grid-column: span 1 !important;
    }
    .row-span-4 {
        grid-row: span 2 !important;
    }
    .row-span-2 {
        grid-row: span 1 !important;
    }
    .col-span-2.row-span-4 {
        grid-column: span 2 !important;
        grid-row: span 2 !important;
    }
    .todey-bento-card {
        padding: 16px 20px !important;
        min-height: 120px !important;
    }
    .todey-telemetry-summary {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Bento — single column on mobile */
    .todey-bento-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }
    .todey-bento-card {
        padding: 14px 8px !important;
        min-height: auto !important;
    }
    .todey-portal-header {
        padding: 12px 5px !important;
    }
    .todey-portal-brand {
        padding: 12px 5px !important;
    }
    .todey-portal-content-container {
        padding: 12px 5px !important;
    }
    .todey-portal-mobile-dropdown-trigger {
        margin: 8px 5px !important;
        padding: 0 12px !important;
    }
    .todey-portal-nav-list {
        left: 5px !important;
        right: 5px !important;
    }
    .todey-dashboard-telemetry {
        padding: 12px 6px !important;
    }
    .todey-telemetry-summary {
        grid-template-columns: 1fr;
    }
    .col-span-1, .col-span-2, .col-span-3, .col-span-4, .col-span-5, .col-span-6, .col-span-10 {
        grid-column: 1 / -1 !important;
    }
    .row-span-2, .row-span-4 {
        grid-row: auto !important;
    }

    /* Responsive Table to Cards */
    .todey-table, 
    .todey-table thead, 
    .todey-table tbody, 
    .todey-table th, 
    .todey-table td, 
    .todey-table tr { 
        display: block !important; 
        width: 100% !important;
    }
    
    .todey-table thead {
        display: none !important; /* Hide column headers on mobile */
    }
    
    .todey-table tr {
        background-color: #000000 !important;
        border: 1px solid #141414 !important;
        border-radius: 0px !important;
        padding: 12px 10px !important;
        margin-bottom: 12px !important;
        box-sizing: border-box !important;
    }
    
    .todey-table tr:last-child {
        margin-bottom: 0 !important;
    }
    
    .todey-table td {
        border: none !important;
        border-bottom: 1px solid #141414 !important;
        padding: 8px 0 !important;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        text-align: right !important;
        font-size: 12px !important;
        box-sizing: border-box !important;
    }
    
    .todey-table td:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
    
    .todey-table td:first-child {
        padding-top: 0 !important;
    }
    
    /* Using data-label to render left-aligned header labels */
    .todey-table td[data-label]::before {
        content: attr(data-label);
        font-weight: 700;
        font-size: 10px;
        text-transform: uppercase;
        color: var(--todey-text-muted);
        letter-spacing: 1px;
        text-align: left;
        margin-right: 16px;
        flex-shrink: 0;
    }
    
    /* Handle empty watchlist/keys state cell */
    .todey-table td[colspan] {
        display: block !important;
        text-align: center !important;
        padding: 24px 10px !important;
        border-bottom: none !important;
    }
    .todey-table td[colspan]::before {
        display: none !important;
    }
}

/* ==========================================================================
   Futuristic Luxury Loading Spinners & Indicators
   ========================================================================== */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes todey-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes todey-pulse-glow {
    0%, 100% { opacity: 0.6; filter: drop-shadow(0 0 4px rgba(255, 68, 0, 0.3)); }
    50% { opacity: 1; filter: drop-shadow(0 0 10px rgba(255, 68, 0, 0.7)); }
}

.todey-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--todey-accent-orange, #ff4400);
    border-right-color: rgba(255, 68, 0, 0.4);
    border-radius: 50%;
    animation: todey-spin 0.75s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    box-sizing: border-box;
    vertical-align: middle;
    flex-shrink: 0;
}

.todey-spinner-sm {
    width: 13px;
    height: 13px;
    border-width: 1.5px;
}

.todey-spinner-md {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

.todey-spinner-lg {
    width: 32px;
    height: 32px;
    border-width: 2.5px;
    border-top-color: var(--todey-accent-orange, #ff4400);
    border-right-color: var(--todey-accent-orange, #ff4400);
    filter: drop-shadow(0 0 8px rgba(255, 68, 0, 0.45));
}

.todey-spinner-xl {
    width: 42px;
    height: 42px;
    border-width: 3px;
    border-top-color: var(--todey-accent-orange, #ff4400);
    border-right-color: rgba(255, 68, 0, 0.6);
    filter: drop-shadow(0 0 12px rgba(255, 68, 0, 0.5));
}

/* Futuristic Dual Orbit Ring Spinner */
.todey-orbit-loader {
    position: relative;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.todey-orbit-loader::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--todey-accent-orange, #ff4400);
    border-right-color: var(--todey-accent-orange, #ff4400);
    animation: todey-spin 0.85s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    filter: drop-shadow(0 0 6px rgba(255, 68, 0, 0.45));
    box-sizing: border-box;
}

.todey-orbit-loader::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.04);
    border-bottom-color: rgba(255, 68, 0, 0.7);
    border-left-color: rgba(255, 68, 0, 0.7);
    animation: todey-spin 1.3s linear infinite reverse;
    box-sizing: border-box;
}

/* Full Futuristic Loading Container */
.todey-loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 44px 20px;
    min-height: 140px;
    text-align: center;
    background: transparent;
    box-sizing: border-box;
    width: 100%;
}

.todey-loading-container.todey-loading-card {
    background: #000000;
    border: 1px solid #141414;
}

.todey-loading-container .todey-loading-title {
    margin-top: 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
}

.todey-loading-container .todey-loading-subtitle {
    margin-top: 4px;
    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.5px;
    color: #888888;
}

.todey-invite-copy-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.todey-invite-copy-wrapper input.todey-input {
    height: 38px !important;
    box-sizing: border-box !important;
    padding: 0 14px !important;
}

.todey-invite-copy-wrapper button.todey-btn {
    height: 38px !important;
    box-sizing: border-box !important;
    padding: 0 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Responsive Conjoined Tabs Bar vs Custom Luxury Mobile Tabs Dropdown */
.todey-desktop-tabs-bar {
    display: flex;
}
.todey-custom-tabs-wrapper {
    display: none;
    position: relative;
    width: 100%;
    margin-bottom: 24px;
    box-sizing: border-box;
    z-index: 1000;
}
.todey-custom-tabs-wrapper.is-open {
    z-index: 100050 !important;
}
.todey-custom-tabs-trigger {
    background: #000000;
    color: #ffffff;
    border: 1px solid #141414;
    height: 38px;
    min-height: 38px;
    padding: 0;
    font-size: 11px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0px;
    cursor: pointer;
    outline: none;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    min-width: 100%;
    transition: background 0.15s ease;
}
.todey-custom-tabs-trigger:hover,
.todey-custom-tabs-trigger:focus,
.todey-custom-tabs-trigger:active,
.todey-custom-tabs-wrapper.is-open .todey-custom-tabs-trigger {
    background: #080808;
    border-color: #141414;
    outline: none;
    box-shadow: none;
}
.todey-custom-tabs-icon-box {
    width: 38px;
    min-width: 38px;
    max-width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-right: 1px solid #141414;
    color: #ff4400;
    box-sizing: border-box;
}
.todey-custom-tabs-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    min-width: 0;
    flex: 1;
    padding: 0 12px;
    gap: 2px;
    box-sizing: border-box;
}
.todey-custom-tabs-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 8.5px;
    font-weight: 700;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1;
    margin: 0;
}
.todey-custom-tabs-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    margin: 0;
}
.todey-custom-tabs-arrow-box {
    width: 38px;
    min-width: 38px;
    max-width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-left: 1px solid #141414;
    box-sizing: border-box;
}
.todey-custom-tabs-chevron {
    transition: transform 0.2s ease, stroke 0.15s ease;
    flex-shrink: 0;
    stroke: #888888;
}
.todey-custom-tabs-trigger:hover .todey-custom-tabs-chevron,
.todey-custom-tabs-trigger:focus .todey-custom-tabs-chevron,
.todey-custom-tabs-trigger[aria-expanded="true"] .todey-custom-tabs-chevron,
.todey-custom-tabs-wrapper.is-open .todey-custom-tabs-chevron {
    stroke: #ff4400;
    transform: rotate(180deg);
}
.todey-custom-tabs-dropdown-menu {
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    left: 0;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    max-height: 360px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.98) !important;
    z-index: 100051 !important;
    box-sizing: border-box;
    display: none;
    padding: 0;
    margin: 0;
    list-style: none;
}
.todey-custom-tabs-dropdown-menu.is-open,
.todey-custom-tabs-wrapper.is-open .todey-custom-tabs-dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
.todey-custom-tabs-dropdown-item {
    min-height: 38px;
    height: 38px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #141414;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.12s ease;
    color: #ffffff;
    background: #000000;
    text-decoration: none;
}
.todey-custom-tabs-dropdown-item:last-child {
    border-bottom: none;
}
.todey-custom-tabs-dropdown-item:hover,
.todey-custom-tabs-dropdown-item:focus {
    background: #080808 !important;
}
.todey-custom-tabs-dropdown-item.is-selected {
    background: #000000;
}
.todey-custom-tabs-dropdown-item.is-selected .todey-custom-tabs-item-name {
    color: #ff4400;
    font-weight: 700;
}
.todey-custom-tabs-item-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}
.todey-custom-tabs-check {
    flex-shrink: 0;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .todey-invite-copy-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    .todey-invite-copy-wrapper input {
        width: 100% !important;
    }
    .todey-invite-copy-wrapper button {
        width: 100% !important;
    }
}

/* Custom Checkboxes */
input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    box-sizing: border-box !important;
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    aspect-ratio: 1 / 1 !important;
    flex-shrink: 0 !important;
    border: 1px solid var(--todey-border-color) !important;
    background-color: #000000 !important;
    border-radius: 0px !important;
    cursor: pointer !important;
    position: relative !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 !important;
}

input[type="checkbox"]:checked {
    background-color: var(--todey-accent-orange) !important;
    border-color: var(--todey-accent-orange) !important;
}

input[type="checkbox"]:checked::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 6px !important;
    height: 6px !important;
    aspect-ratio: 1 / 1 !important;
    background-color: #000000 !important;
    border-radius: 0px !important;
}

/* Custom Radio Buttons */
input[type="radio"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 14px !important;
    height: 14px !important;
    border: 1px solid var(--todey-border-color) !important;
    background-color: #000000 !important;
    border-radius: 0px !important;
    cursor: pointer !important;
    position: relative !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

input[type="radio"]:checked {
    border-color: var(--todey-accent-orange) !important;
}

input[type="radio"]:checked::after {
    content: '' !important;
    position: absolute !important;
    top: 3px !important;
    left: 3px !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 0px !important;
    background-color: var(--todey-accent-orange) !important;
}

.todey-custom-radio-container input[type="radio"] {
    display: none !important;
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
}

.todey-custom-radio-box {
    width: 16px;
    height: 16px;
    border: 1px solid var(--todey-border-color);
    display: inline-block;
    box-sizing: border-box;
    background: #000000;
    transition: border 0.1s ease;
    flex-shrink: 0;
}

.todey-custom-radio-container input[type="radio"]:checked + .todey-custom-radio-box {
    border: 4px solid var(--todey-accent-orange) !important;
}

/* Autocomplete Item Hover styling */
.todey-admin-autocomplete-item:hover {
    background: rgba(255, 68, 0, 0.1) !important;
}

/* Custom Login View */
.todey-login-body {
    background-color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    min-height: 100vh !important;
}

.todey-login-centered-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100vw;
    background-color: #000000;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Absolutely Positioned Top-Left Logo */
.todey-top-left-logo {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 10;
}

.todey-top-left-logo img.todey-portal-logo {
    height: 36px;
    width: auto;
    display: block;
}

/* Centered Form Pane */
.todey-login-form-pane {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
}

.todey-login-form-inner {
    width: 100%;
    max-width: 380px;
}

/* Card Overrides inside Form Inner */
.todey-login-card {
    background-color: #000000 !important;
    border: 1px solid #141414 !important;
    box-shadow: none !important;
    border-radius: 0px !important;
    padding: 40px !important;
    text-align: left !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.todey-fingerprint-icon {
    transition: transform 0.25s ease !important;
}

.todey-login-body .todey-btn:hover .todey-fingerprint-icon {
    transform: none !important;
}

.todey-card-logo {
    text-align: left !important;
    margin-bottom: 24px !important;
}

.todey-card-logo img.todey-portal-logo {
    height: 36px !important;
    width: auto !important;
    display: inline-block !important;
}

.todey-login-card p.todey-muted {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    color: #888888 !important;
    margin: 0 0 32px 0 !important;
    line-height: 1.6 !important;
}

/* Anti-Theme-Hijacking Inputs & Dropdowns styling */
.todey-login-body .todey-form-group {
    margin-bottom: 24px;
}

.todey-login-body .todey-form-label {
    display: block !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 10px !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888888 !important;
    margin-bottom: 8px !important;
    font-weight: 700 !important;
}

.todey-login-body .todey-input,
.todey-login-body input[type="text"].todey-input,
.todey-login-body input[type="email"].todey-input,
.todey-login-body select.todey-select {
    display: block !important;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    box-sizing: border-box !important;
    background-color: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    color: #ffffff !important;
    font-family: 'DM Sans', sans-serif !important;
    outline: none !important;
    transition: border-color 0.25s ease !important;
    margin: 0 !important;
}

.todey-login-body .todey-input:focus,
.todey-login-body input[type="text"].todey-input:focus,
.todey-login-body input[type="email"].todey-input:focus,
.todey-login-body select.todey-select:focus {
    border: 1px solid #141414 !important;
    border-color: #141414 !important;
    box-shadow: none !important;
    outline: none !important;
    background-color: #000000 !important;
    background: #000000 !important;
}

.todey-login-body input::placeholder,
.todey-input::placeholder,
textarea.todey-input::placeholder {
    color: #666666 !important;
    opacity: 1 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    letter-spacing: 0.2px !important;
}

.todey-login-body input::-webkit-input-placeholder,
.todey-input::-webkit-input-placeholder,
textarea.todey-input::-webkit-input-placeholder {
    color: #666666 !important;
    opacity: 1 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    letter-spacing: 0.2px !important;
}

.todey-login-body input::-moz-placeholder,
.todey-input::-moz-placeholder,
textarea.todey-input::-moz-placeholder {
    color: #666666 !important;
    opacity: 1 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    letter-spacing: 0.2px !important;
}

.todey-login-body input:-ms-input-placeholder,
.todey-input:-ms-input-placeholder,
textarea.todey-input:-ms-input-placeholder {
    color: #666666 !important;
    opacity: 1 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    letter-spacing: 0.2px !important;
}

/* Premium Straight Rectangular Buttons styling */
/* Premium Straight Rectangular Buttons styling */
.todey-login-body .todey-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    border-radius: 0px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer !important;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Primary Form Action Button (Solid White) */
.todey-login-body #todey-magic-link-form .todey-btn {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: none !important;
}

.todey-login-body #todey-magic-link-form .todey-btn:hover {
    background-color: #e5e5e5 !important;
    color: #000000 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Secondary Action Button (Outlined Thin Border, Gray Text) */
.todey-login-body #todey-passkey-login-btn {
    background-color: transparent !important;
    color: #888888 !important;
    border: 1px solid #141414 !important;
}

.todey-login-body #todey-passkey-login-btn:hover {
    background-color: #080808 !important;
    color: #ffffff !important;
    border-color: #ffffff33 !important;
    transform: none !important;
    box-shadow: none !important;
}

.todey-login-body .todey-login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 28px 0;
    color: #444444;
}

.todey-login-body .todey-login-divider::before,
.todey-login-body .todey-login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ffffff0a;
}

.todey-login-body .todey-login-divider:not(:empty)::before {
    margin-right: 16px;
}

.todey-login-body .todey-login-divider:not(:empty)::after {
    margin-left: 16px;
}

.todey-login-body .todey-login-divider span {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666666;
}

.todey-login-body .todey-login-msg {
    padding: 12px 16px !important;
    font-size: 13px !important;
    margin-bottom: 24px !important;
    text-align: left !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    font-family: 'DM Sans', sans-serif !important;
}

.todey-login-body .todey-login-msg.info {
    border-color: rgba(59, 130, 246, 0.2) !important;
    background-color: rgba(59, 130, 246, 0.05) !important;
    color: #60a5fa !important;
}

.todey-login-body .todey-login-msg.success {
    border-color: rgba(255, 68, 0, 0.2) !important;
    background-color: rgba(255, 68, 0, 0.05) !important;
    color: #ff4400 !important;
}

.todey-login-body .todey-login-msg.error {
    border-color: rgba(239, 68, 68, 0.2) !important;
    background-color: rgba(239, 68, 68, 0.05) !important;
    color: #f87171 !important;
}

/* Global Alert Notices (Enterprise Admin Panel & Forms) */
.todey-alert {
    padding: 12px 16px !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    font-family: 'DM Sans', sans-serif !important;
    border: 1px solid #141414 !important;
    background: #000000 !important;
    color: #ffffff !important;
    border-radius: 0px !important;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.todey-alert.success {
    border-left: 3px solid var(--todey-accent-orange, #ff4400) !important;
    color: #ffffff !important;
}

.todey-alert.error {
    border-left: 3px solid #ff0000 !important;
    color: #ffffff !important;
}

/* Responsive layout overrides */
@media (max-width: 990px) {
    .todey-top-left-logo {
        top: 24px;
        left: 24px;
    }
    .todey-top-left-logo img.todey-portal-logo {
        height: 28px;
    }
    .todey-login-centered-container {
        padding: 24px;
    }
    .todey-login-card {
        padding: 32px 24px !important;
    }
}

/* API Documentation Explorer navigation button classes */
.todey-docs-nav-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    background: transparent !important;
    border: 1px solid var(--todey-border-color) !important;
    color: var(--todey-text-secondary) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    border-radius: 0px !important;
    transition: all 0.2s ease-in-out !important;
}
.todey-docs-nav-btn:hover {
    color: var(--todey-text-primary) !important;
}
.todey-docs-nav-btn.active {
    background: var(--todey-accent-orange) !important;
    color: #000000 !important;
    border-color: var(--todey-accent-orange) !important;
}
.todey-docs-nav-btn.active .todey-telemetry-pill {
    border-color: rgba(0, 0, 0, 0.4) !important;
    background-color: transparent !important;
    color: #000000 !important;
}

/* Daily Telemetry Logs Styling */
.todey-telemetry-table th {
    padding: 10px 12px !important;
    font-size: 9px !important;
}

.todey-telemetry-table td {
    padding: 12px 12px !important;
    font-size: 12px !important;
}

.todey-mono {
    font-family: 'JetBrains Mono', 'Courier New', monospace !important;
    letter-spacing: -0.02em;
}

.todey-metric-mini {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700;
    color: var(--todey-text-primary);
}

.todey-telemetry-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-sizing: border-box !important;
    border-radius: 0px !important;
}

.todey-telemetry-pill.success {
    border: none !important;
    background-color: transparent !important;
    color: #00e353 !important;
}

.todey-telemetry-pill.error {
    border: none !important;
    background-color: transparent !important;
    color: #ff0000 !important;
}

.todey-telemetry-pill.muted {
    border: none !important;
    background-color: transparent !important;
    color: var(--todey-text-muted) !important;
}

.todey-rate-value {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700;
}

/* Subscription & Billing UI Classes */
.todey-billing-modal {
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.todey-billing-modal form {
    display: block;
    width: 100%;
}

/* Full-Screen Premium Listing Revision Modal overlay */
.todey-fs-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95) !important;
    z-index: 100001;
    overflow-y: auto;
    font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.todey-fs-modal-content {
    background-color: #000000 !important;
    border: 1px solid var(--todey-border-color) !important;
    max-width: 600px;
    margin: 80px auto;
    padding: 40px;
    position: relative;
    border-radius: 2px;
    font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.todey-fs-modal * {
    font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.todey-fs-modal-content h3 {
    margin-top: 0;
    font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 20px !important;
    font-weight: 1000 !important;
}

/* Tiered Upgrade Cards Grid styling */
.todey-upgrade-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background-color: #000000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.todey-upgrade-card:hover {
    background-color: #000000 !important;
    transform: none !important;
    box-shadow: none !important;
}

.todey-upgrade-card:hover .todey-btn {
    background-color: var(--todey-accent-orange) !important;
    color: #000000 !important;
}

/* Admin submissions list row summary hover */
.todey-admin-row-summary,
.todey-admin-ws-row-summary {
    transition: background-color 0.15s ease !important;
}
.todey-admin-row-summary:hover,
.todey-admin-ws-row-summary:hover {
    background-color: #080808 !important;
}
.todey-admin-req-toggle {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    padding: 0 4px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: color 0.15s ease !important;
}
.todey-admin-req-toggle:hover,
.todey-admin-req-toggle:hover span {
    color: var(--todey-accent-orange, #ff4400) !important;
    background: transparent !important;
}

.todey-upgrade-warning-card {
    background: transparent !important;
    border: 1px solid rgba(255, 68, 0, 0.15) !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    border-radius: 0 !important;
}

@media (max-width: 768px) {
    .todey-upgrade-warning-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 14px 10px !important;
        gap: 16px !important;
    }
    .todey-upgrade-warning-card .todey-billing-upgrade-btn {
        width: 100% !important;
    }
}

/* ==========================================================================
   PREMIUM SUBSCRIPTION PLANS MATRIX DESIGN SYSTEM (S-1881)
   ========================================================================== */

.todey-pricing-card {
    padding: 32px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.todey-pricing-card.active {
    background: #000000 !important;
    border-color: rgba(255, 68, 0, 0.25) !important;
}

.todey-pricing-card:hover {
    transform: none !important;
    background: #000000 !important;
}

.todey-pricing-card.active:hover {
    box-shadow: 0 10px 40px rgba(255, 68, 0, 0.08) !important;
}

/* Floating Top Pick Badge */
.todey-top-pick-badge {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    background: #ff4400 !important;
    color: #000000 !important;
    border: 1px solid #ff4400 !important;
    padding: 4px 10px !important;
    font-family: roboto-mono, monospace !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    z-index: 10 !important;
}

/* straight Rectangular Action Buttons and Badges */
.todey-btn-skewed {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 28px !important;
    border: 1px solid #141414 !important;
    background: #000000 !important;
    color: #ff4400 !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border-radius: 0 !important;
    transform: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.todey-btn-skewed span {
    transform: none !important;
    display: inline-block !important;
}

.todey-btn-skewed:hover {
    background: var(--todey-accent-orange) !important;
    color: #000000 !important;
    border-color: #141414 !important;
    transform: none !important;
    box-shadow: 0 4px 20px rgba(255, 68, 0, 0.2) !important;
}

.todey-plan-active-badge-skewed {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 24px !important;
    border: 1px solid var(--todey-accent-orange) !important;
    background: var(--todey-accent-orange) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    transform: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

button.todey-plan-active-badge-skewed {
    cursor: pointer !important;
    font-family: inherit !important;
}

button.todey-plan-active-badge-skewed:hover {
    background: #ff551a !important;
    border-color: #ff551a !important;
    color: #000000 !important;
    transform: none !important;
    box-shadow: 0 4px 20px rgba(255, 68, 0, 0.2) !important;
}

.todey-plan-active-badge-skewed span {
    transform: none !important;
    display: inline-block !important;
}

.todey-plan-active-badge-skewed .renew-text {
    display: none !important;
}

.todey-plan-active-badge-skewed.todey-pay-trigger:hover .active-text,
.todey-plan-active-badge-skewed.todey-base-tier-plan-select:hover .active-text {
    display: none !important;
}

.todey-plan-active-badge-skewed.todey-pay-trigger:hover .renew-text,
.todey-plan-active-badge-skewed.todey-base-tier-plan-select:hover .renew-text {
    display: inline-block !important;
}

div.todey-plan-active-badge-skewed {
    cursor: default !important;
    user-select: none !important;
}

/* Non-owner locked action badge for inactive subscription tier cards */
.todey-plan-locked-badge {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 12px !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    color: var(--todey-text-muted, #888888) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-family: 'DM Sans', sans-serif !important;
    cursor: default !important;
    user-select: none !important;
    transition: background-color 0.15s ease !important;
}

/* Custom features item styling */
.todey-pricing-features-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 28px 0 !important;
}

.todey-pricing-features-list li {
    font-size: 11.5px !important;
    color: var(--todey-text-secondary) !important;
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    line-height: 1.5 !important;
    transition: color 0.2s ease !important;
}

.todey-pricing-card:hover .todey-pricing-features-list li {
    color: var(--todey-text-primary) !important;
}

.todey-pricing-features-list li svg {
    flex-shrink: 0 !important;
    transition: transform 0.2s ease !important;
}

.todey-pricing-card:hover .todey-pricing-features-list li svg {
    transform: none !important;
}

/* Custom Payment Method Toggle Tabs */
.todey-pay-method-tab {
    background: transparent !important;
    border: 1px solid #141414 !important;
    color: var(--todey-text-secondary) !important;
    padding: 12px 24px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.2s ease-out !important;
    letter-spacing: 1px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    border-radius: 0px !important; /* Perfect sharp corners */
    font-family: space-grotesk, sans-serif !important;
}

.todey-pay-method-tab.active {
    background: #ff4400 !important;
    border: 1px solid #ff4400 !important;
    color: #000000 !important;
}

.todey-pay-method-tab:hover:not(.active) {
    border-color: #141414 !important;
    background: #080808 !important;
    color: var(--todey-text-primary) !important;
}

/* Developer Documentation & Playground Endpoint Tabs */
.todey-docs-tab-btn {
    background: transparent !important;
    border: 1px solid #141414 !important;
    color: var(--todey-text-secondary) !important;
    padding: 10px 20px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease-out, color 0.2s ease-out !important;
    letter-spacing: 1px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    border-radius: 0px !important;
    font-family: 'DM Sans', -apple-system, sans-serif !important;
}

.todey-docs-tab-btn:hover:not(.active) {
    border-color: #141414 !important;
    background: #080808 !important;
    color: var(--todey-text-primary) !important;
}

.todey-docs-tab-btn.active {
    background: #ff4400 !important;
    border: 1px solid #ff4400 !important;
    color: #000000 !important;
}

.todey-docs-tab-btn .todey-endpoint-title,
.todey-docs-tab-btn span.todey-endpoint-title {
    color: #ffffff !important;
    transition: color 0.15s ease !important;
}

.todey-docs-tab-btn.active .todey-endpoint-title,
.todey-docs-tab-btn.active span.todey-endpoint-title {
    color: #000000 !important;
    font-weight: 800 !important;
}

.todey-docs-tab-btn .todey-endpoint-route,
.todey-docs-tab-btn span.todey-endpoint-route {
    color: #888888 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    transition: color 0.15s ease !important;
}

.todey-docs-tab-btn.active .todey-endpoint-route,
.todey-docs-tab-btn.active span.todey-endpoint-route {
    color: #000000 !important;
    font-weight: 700 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.todey-docs-tab-btn .todey-method-badge {
    color: #00e353 !important;
    border: 1px solid rgba(0, 227, 83, 0.25) !important;
    background: rgba(0, 227, 83, 0.1) !important;
}

.todey-docs-tab-btn.active .todey-method-badge {
    color: #000000 !important;
    border: 1px solid #000000 !important;
    background: rgba(0, 0, 0, 0.15) !important;
}

/* ============================================================================
   Customer Lifecycle Platform Component Styles
   ============================================================================ */

/* Onboarding & Health Gauge */
.todey-onboarding-header-card {
    padding: 16px 20px;
    background: #000000;
    border: 1px solid var(--todey-border-color);
    margin-bottom: 16px;
    border-radius: 0px;
}

.todey-onboarding-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.todey-onboarding-header-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.todey-onboarding-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--todey-accent-orange);
    font-family: 'Space Grotesk', sans-serif;
}

.todey-onboarding-steps-count {
    font-size: 11px;
    font-weight: 600;
    color: #888888;
    font-family: 'Space Grotesk', sans-serif;
}

.todey-onboarding-header-title {
    margin: 0;
    color: white;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 0.5px;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
}

.todey-onboarding-header-pct {
    font-size: 18px;
    font-weight: 800;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.5px;
}

.todey-skewed-progress-track {
    height: 8px;
    background: #000000;
    border: 1px solid var(--todey-border-color);
    transform: none;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 14px;
}
.todey-skewed-progress-fill {
    height: 100%;
    background: var(--todey-accent-orange);
    transition: width 0.35s ease;
}
.todey-skewed-progress-fill.complete {
    background: #00e353;
}

.todey-onboarding-list-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.todey-onboarding-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 5px 14px !important;
    background: #000000 !important;
    border: none !important;
    margin-bottom: 6px !important;
    border-radius: 0px !important;
    transition: background 0.15s ease, transform 0.15s ease !important;
}
.todey-onboarding-item:hover {
    background: #080808;
    transform: none !important;
}

.todey-onboarding-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
    min-width: 0;
}

.todey-onboarding-item-text {
    text-align: left;
    min-width: 0;
    flex: 1;
}

.todey-onboarding-item-title {
    color: white;
    font-size: 12px;
    display: block;
    margin-bottom: 2px;
    font-weight: 600;
}

.todey-onboarding-item-desc {
    font-size: 11px;
    color: #888;
    line-height: 1.3;
    display: block;
}

.todey-onboarding-item-right {
    flex-shrink: 0;
    margin-left: 12px;
}

.todey-onboarding-btn-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.todey-onboarding-icon-box {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 2px;
    background: transparent !important;
}
.todey-onboarding-icon-box.completed {
    background: transparent !important;
    border: 1px solid rgba(0, 227, 83, 0.4);
    color: #00e353;
}
.todey-onboarding-icon-box.pending {
    background: transparent !important;
    border: 1px solid rgba(255, 68, 0, 0.35);
    color: var(--todey-accent-orange);
}

.todey-onboarding-item .todey-btn,
.todey-onboarding-item .todey-complete-step-btn,
.todey-onboarding-item .todey-checklist-nav-btn {
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    height: 30px !important;
    padding: 0 10px !important;
    font-size: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.todey-onboarding-status-badge,
.todey-onboarding-item .todey-onboarding-status-badge,
span.todey-onboarding-status-badge {
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    height: 30px !important;
    padding: 0 10px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #00e353 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    background: transparent !important;
    border: 1px solid rgba(0, 227, 83, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .todey-onboarding-header-card {
        padding: 12px 10px !important;
        margin-bottom: 12px !important;
    }
    .todey-onboarding-item {
        padding: 8px 10px !important;
        margin-bottom: 6px !important;
    }
    .todey-onboarding-item-left {
        gap: 8px !important;
    }
    .todey-onboarding-item-right {
        margin-left: 8px !important;
    }
    .todey-onboarding-item-title {
        font-size: 11.5px !important;
        line-height: 1.25 !important;
    }
    .todey-onboarding-item-desc {
        font-size: 10px !important;
        line-height: 1.3 !important;
    }
    .todey-onboarding-item .todey-btn,
    .todey-onboarding-item .todey-complete-step-btn,
    .todey-onboarding-item .todey-checklist-nav-btn,
    .todey-onboarding-item .todey-onboarding-status-badge,
    span.todey-onboarding-status-badge {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 24px !important;
        min-height: 24px !important;
        line-height: 24px !important;
        padding: 0 8px !important;
        font-size: 8.5px !important;
        letter-spacing: 0.5px !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 480px) {
    .todey-onboarding-header-card {
        padding: 10px !important;
        margin-bottom: 10px !important;
    }
    .todey-onboarding-item {
        padding: 8px 8px !important;
        margin-bottom: 6px !important;
    }
    .todey-onboarding-item-left {
        gap: 8px !important;
    }
    .todey-onboarding-item-right {
        margin-left: 6px !important;
    }
    .todey-onboarding-item-title {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }
    .todey-onboarding-item-desc {
        font-size: 9.5px !important;
        line-height: 1.25 !important;
    }
    .todey-onboarding-item .todey-btn,
    .todey-onboarding-item .todey-complete-step-btn,
    .todey-onboarding-item .todey-checklist-nav-btn,
    .todey-onboarding-item .todey-onboarding-status-badge,
    span.todey-onboarding-status-badge {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 22px !important;
        min-height: 22px !important;
        line-height: 22px !important;
        padding: 0 7px !important;
        font-size: 8px !important;
        letter-spacing: 0.4px !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
}

/* Notifications Feed */
.todey-notification-item {
    padding: 14px 18px !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    margin-bottom: 0px !important;
    border-radius: 0px !important;
    position: relative;
    transition: transform 0.2s ease;
}
.todey-notification-item:hover {
    border-color: #141414 !important;
    transform: none !important;
}
.todey-notification-item.unread {
    border-left: 2px solid var(--todey-accent-orange) !important;
}
.todey-notification-unread-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--todey-accent-orange);
    border-radius: 4px;
    margin-right: 8px;
}

/* Inbox Tabular Styles */
.todey-inbox-table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: #000000 !important;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    border: none !important;
    margin: 0 !important;
}
.todey-inbox-table thead tr {
    border-bottom: 1px solid #141414 !important;
    background: #000000 !important;
}
.todey-inbox-table th,
.todey-table.todey-inbox-table th {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    color: #888888 !important;
    text-transform: uppercase !important;
    background: #000000 !important;
    border: none !important;
    border-bottom: 1px solid #141414 !important;
    vertical-align: middle !important;
    padding: 8px 16px !important;
}
.todey-inbox-row {
    cursor: pointer;
    background: #000000 !important;
    border: none !important;
}
.todey-inbox-row td,
.todey-table.todey-inbox-table td,
.todey-inbox-table td {
    background: #000000 !important;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    border: none !important;
    border-bottom: 1px solid #141414 !important;
    vertical-align: middle !important;
    padding: 8px 16px !important;
}
.todey-inbox-td-sender {
    vertical-align: middle !important;
}
.todey-inbox-sender-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.todey-inbox-row:hover td,
.todey-inbox-row:hover,
.todey-table.todey-inbox-table tr:hover td,
.todey-table.todey-inbox-table tr:hover,
.todey-inbox-detail-row:hover td,
.todey-inbox-detail-row:hover {
    background: #000000 !important;
    background-color: #000000 !important;
}
.todey-inbox-row.unread td {
    background: #000000 !important;
}
/* Bottom border normalization: suppress border-bottom on the last item to prevent 2x double border */
#todey-inbox-tbody tr.todey-inbox-detail-row:last-child td,
#todey-inbox-tbody tr.todey-inbox-detail-row:last-child {
    border-bottom: none !important;
}
#todey-inbox-tbody tr.todey-inbox-row:nth-last-child(2):not(.detail-open) td,
#todey-inbox-tbody tr.todey-inbox-row:nth-last-child(2):not(.detail-open) {
    border-bottom: none !important;
}
#todey-inbox-tbody tr.todey-inbox-row:nth-last-child(2).detail-open td,
#todey-inbox-tbody tr.todey-inbox-row:nth-last-child(2).detail-open {
    border-bottom: 1px solid #141414 !important;
}
.todey-inbox-action-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: color 0.15s ease !important;
}
.todey-inbox-view-btn {
    color: #ffffff !important;
}
.todey-inbox-view-btn:hover {
    color: var(--todey-accent-orange, #ff4400) !important;
}
.todey-inbox-delete-btn {
    color: #888888 !important;
}
.todey-inbox-delete-btn:hover {
    color: #ff0000 !important;
}
.todey-inbox-detail-row {
    background: #000000 !important;
    border: none !important;
}
.todey-inbox-detail-row td {
    background: #000000 !important;
    border: none !important;
    border-bottom: 1px solid #141414 !important;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    padding: 0 !important;
}
.todey-inbox-sender-logo {
    height: 12px !important;
    max-height: 12px !important;
    width: auto !important;
    display: block !important;
    margin: 0 !important;
    vertical-align: middle !important;
    filter: brightness(1) contrast(1.1) !important;
}

/* Metric Bars */
.todey-metric-bar-wrapper {
    margin-bottom: 12px;
}
.todey-metric-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--todey-text-secondary);
    margin-bottom: 4px;
}
.todey-metric-bar-track {
    height: 6px;
    background: #111111;
    border-radius: 0px;
    overflow: hidden;
}
.todey-metric-bar-fill {
    height: 100%;
    background: var(--todey-accent-orange);
    transition: width 0.4s ease;
}

/* Lifecycle Grid Layout */
.todey-lifecycle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

/* Workspace Health & Enterprise Overview Styles */
.todey-health-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-sizing: border-box;
}

.todey-health-card:hover {
    background: #080808 !important;
    border-color: #141414 !important;
    transform: none !important;
}

.todey-health-score-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    text-align: center;
    position: relative;
    border-radius: 0px !important;
}

.todey-health-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 0px !important;
    margin-top: 14px;
}

.todey-health-badge-status.optimal {
    background: rgba(0, 227, 83, 0.08) !important;
    color: var(--todey-accent-green) !important;
    border: 1px solid rgba(0, 227, 83, 0.2) !important;
}

.todey-health-badge-status.warning {
    background: rgba(255, 68, 0, 0.08) !important;
    color: var(--todey-accent-orange) !important;
    border: 1px solid rgba(255, 68, 0, 0.2) !important;
}

.todey-telemetry-section-title {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--todey-text-secondary);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.todey-telemetry-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    box-sizing: border-box;
}

.todey-telemetry-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.todey-telemetry-label {
    color: var(--todey-text-muted);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.todey-telemetry-value {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 12px;
}

/* Organization Overview Card Enhancements */
.todey-overview-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 24px;
    margin: 0;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-sizing: border-box;
}

.todey-overview-card:hover {
    background: #000000 !important;
    border-color: #141414 !important;
    transform: none !important;
}

.todey-overview-avatar {
    width: 48px;
    height: 48px;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--todey-accent-orange);
    border-radius: 0px !important;
    overflow: hidden;
    flex-shrink: 0;
    box-sizing: border-box;
}

.todey-overview-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.todey-overview-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
}

.todey-overview-meta-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Home Tab Enhancements */
.todey-home-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
@media (max-width: 900px) {
    .todey-home-split-grid {
        grid-template-columns: 1fr;
    }
}

/* Timeline Components */
.todey-timeline-container {
    position: relative;
    padding-left: 24px;
    margin: 16px 0;
}
.todey-timeline-container::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #141414;
}
.todey-timeline-item {
    position: relative;
    margin-bottom: 18px;
}
.todey-timeline-item:last-child {
    margin-bottom: 0;
}
.todey-timeline-badge {
    position: absolute;
    left: -24px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: #111111;
    border: 2px solid var(--todey-accent-orange);
}
.todey-timeline-meta {
    font-size: 11px;
    color: var(--todey-text-muted);
    font-family: 'Roboto Mono', monospace;
    margin-bottom: 4px;
}
.todey-timeline-content {
    font-size: 13px;
    color: var(--todey-text-primary);
}

/* Compact Alerts / Attention Items */
.todey-attention-box {
    background: #000000;
    padding: 12px 0px;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.todey-attention-box:hover {
    background: #080808;
    transform: none !important;
}
.todey-attention-icon {
    color: var(--todey-accent-orange);
    flex-shrink: 0;
    margin-top: 2px;
}
.todey-attention-text {
    font-size: 12px;
    line-height: 1.5;
    color: #b3b3b3;
}
.todey-attention-text a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}
.todey-attention-text a:hover {
    color: var(--todey-accent-orange);
}

/* Skewed Custom Button */
.todey-button-skewed {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 24px !important;
    background: transparent !important;
    border: 1px solid #141414 !important;
    color: #ffffff !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transform: none !important;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
    border-radius: 0px !important;
}
.todey-button-skewed span {
    display: inline-block !important;
    transform: none !important;
}
.todey-button-skewed:hover {
    background: var(--todey-accent-orange) !important;
    color: #000000 !important;
    transform: none !important;
    box-shadow: 0 4px 15px rgba(255, 68, 0, 0.2) !important;
}

/* Dashboard Panel & KPI Cards */
.todey-dashboard-panel {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px;
    padding: 20px;
    box-sizing: border-box;
}

.todey-pricing-tier-details {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0 !important;
    padding: 12px 16px !important;
    display: flex;
    flex-direction: column;
}

/* KPI Cards Grid */
.todey-kpi-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
}

@media (max-width: 1200px) {
    .todey-kpi-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .todey-kpi-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
    }
    .todey-kpi-grid .todey-kpi-card:last-child {
        grid-column: span 2 !important;
    }
    .todey-kpi-grid .todey-kpi-card {
        padding: 10px !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 480px) {
    .todey-kpi-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
    }
    .todey-kpi-grid .todey-kpi-card:last-child {
        grid-column: span 2 !important;
    }
    .todey-kpi-grid .todey-kpi-card {
        padding: 10px !important;
        margin-bottom: 0 !important;
    }
}

.todey-kpi-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0 !important;
    padding: 12px 16px !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.todey-kpi-card:hover {
    background: #000000 !important;
    transform: none !important;
}

/* ============================================================================
   Overview Home Tab Redesign Styles
   ============================================================================ */

/* Two-column layout container */
.todey-home-two-col-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    align-items: stretch;
}
.todey-home-two-col-grid > div {
    height: 100%;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .todey-home-two-col-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

.todey-docs-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .todey-docs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        display: grid !important;
        gap: 8px !important;
    }
    .todey-docs-grid .todey-bento-link {
        padding: 14px 10px !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .todey-docs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        display: grid !important;
        gap: 8px !important;
    }
    .todey-docs-grid .todey-bento-link {
        padding: 12px 8px !important;
        box-sizing: border-box !important;
    }
}

/* Panel Header with Action Button */
.todey-panel-header-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
}

.todey-panel-header-title {
    font-size: 13px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    color: #ffffff !important;
    letter-spacing: 0.5px !important;
}

.todey-panel-header-btn {
    padding: 0 12px !important;
    font-size: 10px !important;
    line-height: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    border-radius: 0px !important;
    border: 1px solid #141414 !important;
    background: #000000 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.todey-panel-header-btn:hover {
    background: #ff4400 !important;
    color: #000000 !important;
    border-color: #141414 !important;
    transform: none !important;
}

@media (max-width: 768px) {
    .todey-panel-header-action {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-bottom: 10px !important;
    }
    .todey-panel-header-title {
        font-size: 12px !important;
        line-height: 1.2 !important;
    }
    .todey-panel-header-btn {
        padding: 0 10px !important;
        font-size: 9px !important;
        height: 26px !important;
        min-height: 26px !important;
        line-height: 26px !important;
    }
}

@media (max-width: 480px) {
    .todey-panel-header-action {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-bottom: 10px !important;
    }
    .todey-panel-header-title {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }
    .todey-panel-header-btn {
        padding: 0 8px !important;
        font-size: 8.5px !important;
        height: 24px !important;
        min-height: 24px !important;
        line-height: 24px !important;
    }
}

/* Individual dataset rows with hover effect */
.todey-activity-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px !important;
    border: 1px solid #141414 !important;
    background: #000000 !important;
    margin-bottom: 8px;
    border-radius: 0 !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.todey-datasets-list-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.todey-dataset-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0 !important;
    box-sizing: border-box;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.todey-dataset-row:hover {
    background: #080808 !important;
}

.todey-dataset-row-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.todey-dataset-row-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.todey-dataset-row-info {
    min-width: 0;
}

.todey-dataset-row-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.todey-dataset-row-desc {
    font-size: 10px;
    color: #888888;
    line-height: 1.3;
}

.todey-dataset-row-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    text-align: right;
}

.todey-dataset-row-meta {
    text-align: right;
}

.todey-dataset-row-count {
    color: #ffffff;
    font-weight: 600;
    font-size: 11px;
}

.todey-dataset-row-date {
    font-size: 9px;
    color: #888888;
}

.todey-dataset-row-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    min-width: 80px;
}

.todey-dataset-badge-status {
    font-size: 9px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.todey-dataset-badge-status.is-available {
    color: #00ff66;
}

.todey-dataset-badge-status.is-locked {
    color: #888888;
}

.todey-dataset-badge-level {
    font-size: 8px;
    font-family: 'Roboto Mono', monospace;
    color: #888888;
    background: #000000;
    padding: 1px 5px;
    border: 1px solid #141414;
    border-radius: 0;
    text-transform: uppercase;
}

.todey-dataset-row-action .todey-upgrade-action-btn {
    padding: 0 10px !important;
    height: 28px !important;
    min-height: 28px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    border-radius: 0 !important;
}

/* Clean styling for capabilities rows */
.todey-capability-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0 !important;
    box-sizing: border-box;
    margin-bottom: 4px;
    transition: background-color 0.2s ease;
}

.todey-capability-row:hover {
    background: #080808 !important;
}

.todey-capability-row:last-child {
    margin-bottom: 0;
}

/* Clean status list item spacing */
.todey-health-checklist-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px !important;
    border-bottom: 1px solid #141414 !important;
    background: #000000 !important;
    margin-bottom: 4px;
    border-radius: 0 !important;
    transition: background-color 0.2s ease;
}

.todey-health-checklist-item:hover {
    background: #080808 !important;
}

/* Monospace text accent */
.todey-mono-val {
    font-family: 'Roboto Mono', monospace !important;
    font-size: 11px !important;
    color: #ffffff !important;
}

/* Muted secondary labels */
.todey-card-subtitle {
    font-size: 10px !important;
    color: var(--todey-text-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Bento grid links */
.todey-bento-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #141414 !important;
    padding: 14px !important;
    text-align: center;
    text-decoration: none !important;
    color: #ffffff !important;
    background: #000000 !important;
    border-radius: 0 !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}

.todey-bento-link:hover {
    background: #080808 !important;
    transform: none !important;
}

/* ============================================================================
   Responsive Layout & Redesign Enhancements
   ============================================================================ */

/* Scrollable tabs container for mobile horizontal swipe */
.todey-tab-scroll-container {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--todey-border-color);
    padding-bottom: 10px;
    margin-bottom: 24px;
    overflow-x: auto !important;
    white-space: nowrap;
    scrollbar-width: none !important; /* Firefox */
    -webkit-overflow-scrolling: touch;
}
.todey-tab-scroll-container::-webkit-scrollbar {
    display: none !important; /* Chrome/Safari */
}
.todey-tab-scroll-container .todey-docs-tab-btn {
    flex-shrink: 0;
}

/* 2-Column Responsive Layout (Sidebar & Main Detail) */
.todey-portal-two-col-layout {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 20px;
    background: transparent;
    border: none;
}

@media (max-width: 992px) {
    .todey-portal-two-col-layout {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .todey-portal-two-col-layout > .col-span-3,
    .todey-portal-two-col-layout > .col-span-7 {
        grid-column: span 1 !important;
        width: 100% !important;
        min-height: auto !important;
    }
}

/* 10-Column Responsive Layout (Bento grids) */
.todey-portal-grid-10col {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .todey-portal-grid-10col {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    .todey-portal-grid-10col > .col-span-1,
    .todey-portal-grid-10col > .col-span-2,
    .todey-portal-grid-10col > .col-span-3,
    .todey-portal-grid-10col > .col-span-4,
    .todey-portal-grid-10col > .col-span-5,
    .todey-portal-grid-10col > .col-span-6,
    .todey-portal-grid-10col > .col-span-7,
    .todey-portal-grid-10col > .col-span-8,
    .todey-portal-grid-10col > .col-span-9,
    .todey-portal-grid-10col > .col-span-10 {
        grid-column: span 1 !important;
        width: 100% !important;
        min-height: auto !important;
    }
}

/* Form Row (Flex Stacking) */
.todey-form-row-2col {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.todey-form-row-2col > div,
.todey-form-row-2col > label {
    flex: 1;
}

@media (max-width: 768px) {
    .todey-form-row-2col {
        flex-direction: column !important;
        gap: 12px;
        margin-bottom: 12px;
    }
}

/* Form Grid Stacking (2, 3, 4 columns) */
.todey-form-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: flex-end;
}
@media (max-width: 768px) {
    .todey-form-grid-2col {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
}

.todey-form-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 24px;
}
@media (max-width: 768px) {
    .todey-form-grid-3col {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }
}
@media (max-width: 480px) {
    .todey-form-grid-3col {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
}

.todey-form-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}
@media (max-width: 992px) {
    .todey-form-grid-4col {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }
}
@media (max-width: 576px) {
    .todey-form-grid-4col {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
}

/* Playground filter elements auto-fit grid */
.todey-playground-filters-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
@media (max-width: 1024px) {
    .todey-playground-filters-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .todey-playground-filters-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 480px) {
    .todey-playground-filters-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Dashboard Metrics & Counters Grid */
.todey-dashboard-counters-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0 !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    border-radius: 0px !important;
    box-sizing: border-box !important;
}

.todey-dashboard-counters-grid .todey-counter-item,
.todey-dashboard-counters-grid > div {
    background: #000000 !important;
    padding: 10px 14px !important;
    text-align: center !important;
    border-right: 1px solid #141414 !important;
    border-bottom: none !important;
    box-sizing: border-box !important;
}

.todey-dashboard-counters-grid .todey-counter-item:last-child,
.todey-dashboard-counters-grid > div:last-child {
    border-right: none !important;
}

.todey-counter-label {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #888888 !important;
    margin-bottom: 3px !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
}

.todey-counter-value {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
}

.todey-counter-value.todey-orange {
    color: #ff4400 !important;
}

.todey-counter-value.todey-green {
    color: #00ff66 !important;
}

@media (max-width: 992px) {
    .todey-dashboard-counters-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .todey-dashboard-counters-grid .todey-counter-item,
    .todey-dashboard-counters-grid > div {
        padding: 10px 8px !important;
    }
    .todey-dashboard-counters-grid .todey-counter-item:nth-child(2n),
    .todey-dashboard-counters-grid > div:nth-child(2n) {
        border-right: none !important;
    }
    .todey-dashboard-counters-grid .todey-counter-item:nth-child(1),
    .todey-dashboard-counters-grid .todey-counter-item:nth-child(2),
    .todey-dashboard-counters-grid > div:nth-child(1),
    .todey-dashboard-counters-grid > div:nth-child(2) {
        border-bottom: 1px solid #141414 !important;
    }
}

@media (max-width: 480px) {
    .todey-dashboard-counters-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        margin-top: 14px !important;
        margin-bottom: 16px !important;
    }
    .todey-dashboard-counters-grid .todey-counter-item,
    .todey-dashboard-counters-grid > div {
        padding: 8px 6px !important;
        border-right: 1px solid #141414 !important;
        border-bottom: 1px solid #141414 !important;
    }
    .todey-dashboard-counters-grid .todey-counter-item:nth-child(2n),
    .todey-dashboard-counters-grid > div:nth-child(2n) {
        border-right: none !important;
    }
    .todey-dashboard-counters-grid .todey-counter-item:nth-child(3),
    .todey-dashboard-counters-grid .todey-counter-item:nth-child(4),
    .todey-dashboard-counters-grid > div:nth-child(3),
    .todey-dashboard-counters-grid > div:nth-child(4) {
        border-bottom: none !important;
    }
}

/* Scrollable charts container for mobile readability */
.todey-chart-scroll-wrapper {
    width: 100%;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
}
.todey-chart-scroll-wrapper::-webkit-scrollbar {
    display: none !important;
}

/* Moderation Queue List Adaptations */
@media (max-width: 768px) {
    .todey-admin-table-header {
        display: none !important;
    }
    .todey-admin-row-summary {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 16px !important;
        gap: 10px !important;
    }
    .todey-admin-row-summary > div {
        text-align: left !important;
        width: 100% !important;
        flex: none !important;
    }
    .todey-admin-row-summary > div:last-child {
        justify-content: flex-start !important;
        width: auto !important;
    }
}

/* Admin Access Request Drawer Mobile Adaptations */
@media (max-width: 576px) {
    #todey-admin-requests-drawer {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px !important;
    }
}

/* Login Card Mobile Padding Adjustments */
@media (max-width: 480px) {
    .todey-login-card {
        padding: 24px 16px !important;
    }
}

/* Mobile-only descriptive label */
.todey-mobile-label {
    display: none;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--todey-text-muted);
    font-weight: 700;
    margin-right: 6px;
}
@media (max-width: 768px) {
    .todey-mobile-label {
        display: inline-block !important;
    }
}

/* Dashboard Breakdown Layout */
.todey-dashboard-breakdown-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
}
@media (max-width: 992px) {
    .todey-dashboard-breakdown-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
}

/* ==========================================================================
   SOLID BLACK INLINE CARD EDITOR STYLING (FORCED THEME OVERRIDE IMMUNITY)
   ========================================================================== */
.todey-inline-card-editor,
.todey-inline-card-editor form,
.todey-inline-card-editor .todey-tier-card-block,
.todey-inline-card-editor .todey-card-panel {
    background-color: #000000 !important;
    background: #000000 !important;
    border-color: #141414 !important;
    color: #ffffff !important;
}

.todey-inline-card-editor .todey-form-group,
#todey-workspace-editor-container .todey-form-group,
#todey-new-listing-drawer .todey-form-group {
    margin-bottom: 0px !important;
    text-align: left;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    width: 100% !important;
}

.todey-inline-card-editor .todey-form-group > label,
#todey-workspace-editor-container .todey-form-group > label,
#todey-new-listing-drawer .todey-form-group > label {
    margin-bottom: 0px !important;
}

.todey-inline-card-editor input[type="text"],
.todey-inline-card-editor input[type="number"],
.todey-inline-card-editor input[type="email"],
.todey-inline-card-editor select,
.todey-dark-input {
    background-color: #000000 !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    color: #ffffff !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    line-height: 38px !important;
    padding: 0 14px !important;
    border-radius: 0px !important;
    font-size: 12px !important;
    font-family: 'DM Sans', sans-serif !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.todey-inline-card-editor input[type="text"]:focus,
.todey-inline-card-editor input[type="number"]:focus,
.todey-inline-card-editor select:focus,
.todey-dark-input:focus {
    border-color: #141414 !important;
    background-color: #000000 !important;
    background: #000000 !important;
    outline: none !important;
    box-shadow: none !important;
}

.todey-inline-card-editor textarea {
    background-color: #000000 !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    color: #ffffff !important;
    padding: 12px 14px !important;
    border-radius: 0px !important;
    font-size: 12px !important;
    font-family: 'DM Sans', sans-serif !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.todey-inline-card-editor textarea:focus {
    border-color: #141414 !important;
    background-color: #000000 !important;
    background: #000000 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Disable transition on textareas to prevent resizing lag */
.todey-auto-resize,
.todey-inline-card-editor textarea {
    transition: none !important;
}

/* Custom Checkbox Hidden Input */
input[type="checkbox"].todey-custom-checkbox {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    pointer-events: none !important;
}

/* Custom Checkbox Box */
.todey-checkbox-box,
.todey-checkbox-custom-box {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    box-sizing: border-box !important;
    transition: background 0.15s ease, border-color 0.15s ease !important;
}

.todey-checkbox-box svg,
.todey-checkbox-custom-box svg {
    display: none !important;
    stroke: #000000 !important;
}

.todey-custom-checkbox:checked + .todey-checkbox-box,
.todey-custom-checkbox:checked + .todey-checkbox-custom-box {
    background-color: #ff4400 !important;
    border-color: #ff4400 !important;
    position: relative !important;
}

.todey-custom-checkbox:checked + .todey-checkbox-box svg,
.todey-custom-checkbox:checked + .todey-checkbox-custom-box svg {
    display: block !important;
}

.todey-custom-checkbox:focus-visible + .todey-checkbox-box,
.todey-custom-checkbox:focus-visible + .todey-checkbox-custom-box {
    outline: 1px solid #ff4400 !important;
    outline-offset: 1px !important;
}

.todey-checkbox-text {
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: var(--todey-text-secondary, #b3b3b3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.todey-checkbox-label:hover .todey-checkbox-text,
.todey-checkbox-text:hover {
    color: var(--todey-text-secondary, #b3b3b3) !important;
}

.todey-checkbox-text a {
    color: #aaaaaa;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

.todey-checkbox-text a:hover {
    color: var(--todey-accent-orange, #ff4400);
}

/* Enterprise Analytics Chart & Timeframe Styles */
.todey-analyze-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.todey-analyze-card:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.todey-timeframe-btn {
    transition: background 0.15s ease, color 0.15s ease !important;
}
.todey-timeframe-btn:hover:not(.active) {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06) !important;
}
.todey-analyze-tooltip {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
}
.tdy-large-donut-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    height: 320px;
}
.todey-analyze-pie-container {
    min-height: 280px;
}
.todey-demog-donut-container {
    min-height: 320px;
}

/* Overview Command Center Redesign Custom Styles */
.todey-skew-btn {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.todey-skew-btn:hover {
    background: #ff4400 !important;
    border-color: #141414 !important;
    color: #000000 !important;
    transform: none !important;
}
.todey-action-tile-btn {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.todey-action-tile-btn:hover {
    background: #000000 !important;
    border-color: #141414 !important;
}
.todey-action-tile-btn svg {
    transition: stroke 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.todey-action-tile-btn:hover svg {
    color: #ff4400 !important;
    stroke: #ff4400 !important;
}
.todey-project-select-wrapper h2 {
    transition: color 0.15s ease-out !important;
}
.todey-project-select-wrapper:hover h2 {
    color: #ff4400 !important;
}
.todey-project-select-wrapper:hover svg {
    transform: none !important;
}
.todey-project-select-dropdown option {
    background: #000000 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   LOCKED TAB VIEW STYLING (S-2227)
   ========================================================================== */
.todey-locked-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 40px 16px !important;
    box-sizing: border-box !important;
}

.todey-locked-card {
    background-color: #000000 !important;
    border: 1px solid #141414 !important;
    max-width: 680px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 0px !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.todey-locked-card:hover {
    transform: none !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 68, 0, 0.08) !important;
}

/* Split-header bar styles */
.todey-locked-header {
    display: flex !important;
    align-items: stretch !important;
    border-bottom: 1px solid #141414 !important;
    background: #000000 !important;
    min-height: 64px !important;
}

.todey-locked-icon-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 64px !important;
    border-right: 1px solid #141414 !important;
    color: #ff4400 !important;
    flex-shrink: 0 !important;
}

.todey-locked-icon-box svg {
    width: 24px !important;
    height: 24px !important;
}

.todey-locked-title-box {
    display: flex !important;
    align-items: center !important;
    padding: 0 24px !important;
    flex-grow: 1 !important;
}

.todey-locked-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.todey-locked-body {
    padding: 36px 40px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

.todey-locked-desc {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #888888 !important;
    margin: 0 0 24px 0 !important;
}

.todey-locked-benefits {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 32px 0 !important;
}

.todey-locked-benefit-item {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #b3b3b3 !important;
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
}

.todey-locked-benefit-item:last-child {
    margin-bottom: 0 !important;
}

.todey-locked-benefit-icon {
    margin-right: 12px !important;
    color: #ff4400 !important;
    flex-shrink: 0 !important;
}

.todey-locked-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 16px !important;
    margin-top: 32px !important;
}

/* Status Badge - Available on Pro Plan */
.todey-locked-badge {
    display: inline-block !important;
    padding: 12px 28px !important;
    background: #ff4400 !important;
    color: #000000 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    border-radius: 0px !important;
    width: auto !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
}

/* Action Button - Upgrade to Pro Tier (No skew, static border on hover) */
.todey-locked-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 28px !important;
    border: 1px solid #141414 !important;
    background: transparent !important;
    color: #ffffff !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    cursor: pointer !important;
    border-radius: 0px !important;
    width: auto !important;
    box-sizing: border-box !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.todey-locked-cta-btn:hover {
    background: #ff4400 !important;
    color: #000000 !important;
    transform: none !important;
    box-shadow: 0 8px 24px rgba(255, 68, 0, 0.25) !important;
}

.todey-locked-cta-btn span {
    display: inline-block !important;
}

/* Responsive styles */
@media (max-width: 576px) {
    .todey-locked-card {
        margin: 20px auto !important;
    }
    .todey-locked-body {
        padding: 24px 20px !important;
    }
    .todey-locked-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 12px !important;
    }
    .todey-locked-badge,
    .todey-locked-cta-btn {
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Developer Category Tab Styles */
.todey-developer-tab-view h3 {
    font-size: 20px !important;
    font-weight: 1000 !important;
}

/* Remove all skewing from skewed buttons, badges, tracks, fills, and nested spans */
.todey-btn-skewed,
.todey-plan-active-badge-skewed,
.todey-skewed-progress-track,
.todey-skewed-progress-fill,
.todey-button-skewed,
.todey-skew-btn,
.todey-btn-skewed *,
.todey-plan-active-badge-skewed *,
.todey-skewed-progress-track *,
.todey-skewed-progress-fill *,
.todey-button-skewed *,
.todey-skew-btn * {
    transform: none !important;
}

/* Force solid black background for all bento cards, boxes, settings panels, drawers, tables, input fields, and locked panels */
.todey-bento-card,
.todey-locked-card,
.todey-locked-header,
.todey-admin-row-container,
.todey-admin-row-details,
.todey-admin-row-override-panel,
.todey-admin-override-selected-projects,
.todey-table,
.todey-table tr,
.todey-table td,
.todey-input,
.todey-select,
.todey-textarea,
.todey-project-select-dropdown,
.todey-admin-override-project-results {
    background-color: #000000 !important;
}

/* Recent Activity Header link premium hover shifts */
.todey-audit-log-link {
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: color 0.2s ease-out !important;
}
.todey-audit-log-link:hover {
    text-decoration: none !important;
    color: #ff5511 !important;
}
.todey-audit-log-link .todey-arrow {
    display: inline-block !important;
    transition: transform 0.2s ease-out !important;
}
.todey-audit-log-link:hover .todey-arrow {
    transform: none !important;
}

/* Delete Ticket button styling S-2351 */
.todey-delete-btn {
    background: #ff4400 !important;
    border: 1px solid #ff4400 !important;
    color: #000000 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.todey-delete-btn:hover {
    background: #ff4400 !important;
    border-color: #141414 !important;
    color: #ffffff !important;
    transform: none !important;
}

/* Row Hover Transitions S-2354 */
.todey-table-row-hover {
    transition: background-color 0.2s ease-out !important;
}
.todey-table-row-hover:hover td {
    background-color: #080808 !important;
    background: #080808 !important;
}

/* Custom Toast Notifications S-2356 / S-3340 */
.todey-toast-container {
    position: fixed !important;
    top: 24px !important;
    right: 24px !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    pointer-events: none !important;
}

.todey-toast {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    color: #ffffff !important;
    padding: 13px 18px !important;
    border-radius: 0px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
    pointer-events: auto !important;
    min-width: 280px !important;
    max-width: 440px !important;
    transform: none !important;
    opacity: 0 !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease !important;
    box-sizing: border-box !important;
}

.todey-toast.active {
    transform: none !important;
    opacity: 1 !important;
}

.todey-toast-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
}

.todey-toast-icon svg {
    display: block !important;
    width: 14px !important;
    height: 14px !important;
}

.todey-toast-message {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    color: #ffffff !important;
    flex: 1 !important;
}

.todey-toast-success {
    border-left: 3px solid var(--todey-accent-orange, #ff4400) !important;
}

.todey-toast-success .todey-toast-icon {
    color: var(--todey-accent-orange, #ff4400) !important;
}

.todey-toast-error {
    border-left: 3px solid #ff0000 !important;
}

.todey-toast-error .todey-toast-icon {
    color: #ff0000 !important;
}

.todey-toast-info,
.todey-toast-warning {
    border-left: 3px solid var(--todey-accent-orange, #ff4400) !important;
}

.todey-toast-info .todey-toast-icon,
.todey-toast-warning .todey-toast-icon {
    color: var(--todey-accent-orange, #ff4400) !important;
}

/* Inline Save Status & Feedback Messages S-3340 */
.todey-inline-status-msg,
.todey-feedback-msg,
.todey-save-status,
.todey-account-status-msg {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    box-sizing: border-box !important;
}

.todey-inline-status-msg svg,
.todey-feedback-msg svg,
.todey-save-status svg,
.todey-account-status-msg svg {
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Support Ticket Conversation Styling - Premium Reference Layout */
.todey-chat-row {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.todey-chat-row.sent {
    align-items: flex-end !important;
}

.todey-chat-row.received {
    align-items: flex-start !important;
}

.todey-chat-message-container {
    display: inline-flex !important;
    align-items: flex-start !important; /* Top aligned avatar */
    max-width: 92% !important;
    width: fit-content !important;
    box-sizing: border-box !important;
    position: relative !important;
    gap: 12px !important;
}

.todey-chat-row.sent .todey-chat-message-container {
    justify-content: flex-end !important;
}

.todey-chat-row.received .todey-chat-message-container {
    justify-content: flex-start !important;
}

/* Avatar Badge Styling */
.todey-chat-avatar {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    clip-path: circle(50%) !important;
    border-radius: 50% !important;
    border: 1px solid #141414 !important;
    background: #000000 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    z-index: 3 !important;
    position: relative !important;
    align-self: flex-start !important; /* Top-aligned avatar */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.todey-chat-avatar img {
    width: 100% !important;
    height: 100% !important;
    clip-path: circle(50%) !important;
    border-radius: 50% !important;
    display: block !important;
    object-fit: cover !important;
}

/* Bubble Group Column (Bubble + Metadata) */
.todey-chat-bubble-group {
    display: flex !important;
    flex-direction: column !important;
    max-width: 100% !important;
}

.todey-chat-row.received .todey-chat-bubble-group {
    align-items: flex-start !important;
}

.todey-chat-row.sent .todey-chat-bubble-group {
    align-items: flex-end !important;
}

/* Bubble Styling: Highly rounded standard bubble with sharp tails */
.todey-chat-bubble {
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
    min-width: unset !important;
    height: auto !important;
    min-height: unset !important;
    font-family: 'DM Sans', 'Inter', system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    white-space: pre-wrap !important;
    word-break: break-word !important;
    position: relative !important;
    z-index: 1 !important;
    text-align: left !important;
    box-sizing: border-box !important;
    padding: 10px 16px !important;
    border: none !important; /* No borders */
    
    /* Highly rounded radius definitions mapped to CSS variables to satisfy design system limits */
    --bubble-radius: 18px;
    --bubble-corner: 4px;
}

.todey-chat-bubble p,
.todey-chat-bubble div,
.todey-chat-bubble span {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    font-family: 'DM Sans', 'Inter', system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

/* Sent Messages (Me / User): Solid Violet/Blue Bubble (iMessage/Telegram Style) */
.todey-chat-row.sent .todey-chat-bubble {
    background: #5c56f5 !important;
    color: #ffffff !important;
    border-radius: var(--bubble-radius) var(--bubble-radius) var(--bubble-corner) var(--bubble-radius) !important;
}

/* Received Messages (Support / Admin): Solid Charcoal/Slate Bubble */
.todey-chat-row.received .todey-chat-bubble {
    background: #2c2c35 !important;
    color: #ffffff !important;
    border-radius: var(--bubble-radius) var(--bubble-radius) var(--bubble-radius) var(--bubble-corner) !important;
}

/* Quoted Reply Blocks inside Chat Bubbles */
.todey-chat-bubble .todey-chat-reply-quote {
    padding: 6px 10px !important;
    margin: 0 0 8px 0 !important;
    border-radius: 4px !important;
    text-align: left !important;
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    font-family: 'DM Sans', 'Inter', system-ui, -apple-system, sans-serif !important;
}

.todey-chat-row.sent .todey-chat-reply-quote {
    background: rgba(0, 0, 0, 0.15) !important;
    --sent-quote-color: #ffffff;
    border-left: 2px solid var(--sent-quote-color) !important;
}

.todey-chat-row.received .todey-chat-reply-quote {
    background: rgba(255, 255, 255, 0.05) !important;
    border-left: 2px solid #ff4400 !important; /* Brand orange quote border inside received bubble */
}

.todey-chat-bubble .todey-reply-quote-label {
    display: block !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
    line-height: 1.1 !important;
}

.todey-chat-row.sent .todey-reply-quote-label {
    color: #ffffffd0 !important;
}

.todey-chat-row.received .todey-reply-quote-label {
    color: #ff4400 !important;
}

.todey-chat-bubble .todey-reply-quote-body {
    font-family: 'DM Sans', 'Inter', system-ui, -apple-system, sans-serif !important;
    font-style: normal !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
    color: #e2e8f0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.todey-chat-bubble .todey-chat-message-text {
    font-family: 'DM Sans', 'Inter', system-ui, -apple-system, sans-serif !important;
    font-style: normal !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    word-break: break-word !important;
    margin: 0 !important;
    padding: 0 !important;
}

.todey-chat-row.sent .todey-chat-message-text {
    color: #ffffff !important;
}

.todey-chat-row.received .todey-chat-message-text {
    color: #ffffff !important;
}

/* Chat Inline Metadata / Reply Trigger row below bubble */
.todey-chat-meta {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 6px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 10px !important;
    color: #888888 !important;
    font-weight: 500;
}

.todey-chat-row.sent .todey-chat-meta {
    justify-content: flex-end !important;
    margin-right: 4px !important;
}

.todey-chat-row.received .todey-chat-meta {
    justify-content: flex-start !important;
    margin-left: 4px !important;
}

.todey-chat-meta .todey-chat-time {
    cursor: help !important;
}

.todey-chat-meta .todey-meta-sep {
    color: #141414 !important;
}

.todey-chat-meta .todey-message-reply-trigger {
    background: none !important;
    border: none !important;
    color: #ff4400 !important; /* Premium brand accent link */
    cursor: pointer !important;
    font-family: inherit !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    transition: color 0.15s ease !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
}

.todey-chat-meta .todey-message-reply-trigger:hover {
    color: #ffffff !important;
}

/* Monospace Code Block Styles */
.todey-chat-code-block {
    background: #080808 !important;
    border: 1px solid #141414 !important;
    --code-radius: 8px;
    border-radius: var(--code-radius) !important;
    padding: 10px 14px !important;
    margin: 8px 0 !important;
    font-family: 'JetBrains Mono', 'Courier New', monospace !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: #e2e8f0 !important;
    overflow-x: auto !important;
    white-space: pre !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.todey-chat-inline-code {
    background: #080808 !important;
    border: 1px solid #141414 !important;
    border-radius: 4px !important;
    padding: 2px 6px !important;
    font-family: 'JetBrains Mono', 'Courier New', monospace !important;
    font-size: 11px !important;
    color: #ff4400 !important;
}

/* Active Reply Parent Banner Above Textarea */
.todey-reply-parent-banner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-left: 3px solid #ff4400 !important;
    padding: 10px 14px !important;
    font-size: 11px !important;
    border-radius: 0px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 12px !important;
}

.todey-reply-parent-banner span {
    color: #b3b3b3 !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
}

.todey-reply-parent-banner strong {
    color: #ff4400 !important;
    font-weight: 700 !important;
}

.todey-clear-reply-btn {
    background: none !important;
    border: none !important;
    color: #ff4400 !important;
    cursor: pointer !important;
    font-size: 16px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    padding: 0 4px !important;
    transition: color 0.15s ease !important;
}

.todey-clear-reply-btn:hover {
    color: #ffffff !important;
}

/* Date Divider Header Styling (| TODAY) */
.todey-chat-date-divider {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 24px 0 16px 0 !important;
    width: 100% !important;
}

.todey-chat-date-pipe {
    color: #ff4400 !important;
    font-weight: 900 !important;
    font-size: 14px !important;
    line-height: 1 !important;
}

.todey-chat-date-text {
    color: #888888 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Chat History Container Scroll Propagation */
.todey-chat-history-container {
    overscroll-behavior-y: auto !important;
}

/* Account Control Search Panel */
.todey-search-item:hover {
    background-color: #111111 !important;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.todey-restriction-banner {
    background: #0a0100 !important;
    border: 1px solid rgba(255, 68, 0, 0.15) !important;
    color: #ffaa00 !important;
    padding: 16px 20px !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    font-family: 'DM Sans', sans-serif !important;
}

@media (max-width: 768px) {
    .todey-restriction-banner {
        padding: 14px 10px !important;
        gap: 10px !important;
    }
}

.todey-restriction-banner svg {
    color: #ff4400 !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

/* Membership Expiry Warning Banner */
@media (min-width: 901px) {
    body.todey-portal-body.has-expiry-banner .todey-portal-header {
        top: 40px !important;
    }
}

.todey-expiry-warning-banner {
    width: 100% !important;
    height: 40px !important;
    background-color: #000000 !important;
    border-bottom: 1px solid #141414 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    color: #b3b3b3 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 95 !important;
    box-sizing: border-box !important;
    font-family: 'DM Sans', sans-serif !important;
    letter-spacing: 0.3px !important;
}

.todey-expiry-warning-content {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.todey-expiry-warning-icon {
    color: #ff4400 !important;
    animation: pulse 2s infinite ease-in-out !important;
}

.todey-expiry-countdown {
    color: #ff4400 !important;
    font-weight: 700 !important;
}

.todey-expiry-renew-btn {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 4px 8px !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.todey-expiry-renew-btn:hover {
    background: transparent !important;
    color: #ff4400 !important;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* jsVectorMap Zoom Controls */
.jvm-zoom-btn {
    border-radius: 0px !important;
    background-color: #141414 !important;
    padding: 3px !important;
    box-sizing: border-box !important;
    position: absolute !important;
    line-height: 8px !important;
    cursor: pointer !important;
    color: #ff4400 !important;
    height: 15px !important;
    width: 15px !important;
    left: 10px !important;
}

/* Admin Overview Stat Boxes */
.todey-admin-overview-stat-box {
    padding: 8px 10px;
    background: #000000 !important;
    background-color: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none !important;
    box-sizing: border-box;
    cursor: default;
    transition: none !important;
}

a.todey-admin-overview-stat-box {
    cursor: pointer;
}

.todey-admin-overview-stat-box:hover {
    background: #000000 !important;
    background-color: #000000 !important;
    border-color: #141414 !important;
}

.todey-admin-overview-stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 4px;
}

.todey-admin-overview-stat-title {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--todey-text-secondary, #888888);
    letter-spacing: 0.5px;
    font-weight: 700;
    font-family: space-grotesk, sans-serif;
    line-height: 1.2;
}

.todey-admin-overview-stat-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--todey-text-muted, #888888);
    stroke: currentColor;
    transition: color 0.2s ease, stroke 0.2s ease, fill 0.2s ease;
    display: inline-block;
    vertical-align: middle;
}

.todey-admin-overview-stat-box:hover .todey-admin-overview-stat-icon {
    color: #ff4400 !important;
    stroke: #ff4400 !important;
}

/* Admin Overview Tickets & Activity Bento Components */
.todey-overview-stat-mini-box {
    padding: 10px 8px;
    background: #000000 !important;
    background-color: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0 !important;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.todey-overview-ticket-row {
    padding: 10px 14px;
    background: #000000 !important;
    background-color: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    box-sizing: border-box;
}

.todey-overview-ticket-row:hover {
    background: #080808 !important;
    background-color: #080808 !important;
    border-color: #141414 !important;
}

.todey-overview-activity-row {
    padding: 9px 8px;
    background: transparent;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #141414 !important;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    font-size: 11px;
    transition: background-color 0.15s ease;
    box-sizing: border-box;
}

.todey-overview-activity-row:hover {
    background: #080808 !important;
    background-color: #080808 !important;
}

.todey-overview-activity-row:last-child {
    border-bottom: none !important;
}

/* ============================================================================
   Universal Safari Scrolling & Momentum Architecture Across All Panels & Components
   ============================================================================ */

/* 1. All Search Bars, Autocomplete Flyouts & Dropdown Results */
.todey-search-results,
#todey-search-results,
.todey-search-results-dropdown-portal,
#todey_card_search_results,
#todey_company_search_results,
#todey-claim-search-results,
#todey-control-search-results,
#todey-admin-create-ticket-autocomplete,
.todey-admin-autocomplete-results,
#todey-upgrade-search-autocomplete-results,
#todey-search-autocomplete-results,
.todey-global-org-dropdown-menu,
.todey-admin-override-project-results,
[class*="todey-admin-override-project-results-"],
#todey-drawer-project-results,
#project-search-dropdown,
#user-search-dropdown,
.todey-autocomplete-dropdown,
.todey-select-dropdown,
.todey-filter-dropdown-menu {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: auto !important;
    overscroll-behavior-y: auto !important;
    touch-action: pan-y !important;
    pointer-events: auto !important;
}

/* Child item cards inside search dropdowns and grids */
.todey-claim-search-result-item,
.todey-claim-search-result-item *,
.todey-admin-autocomplete-item,
.todey-autocomplete-item,
.todey-autocomplete-item-local,
.todey-upgrade-autocomplete-item,
.todey-search-item {
    touch-action: pan-y !important;
    pointer-events: auto !important;
}

/* 2. All Modals, Drawers & Payment Dialog Viewports */
.todey-modal-body,
.todey-modal-content,
.todey-payment-modal-body,
.todey-payment-modal-content,
.todey-drawer-body,
.todey-drawer-content,
.todey-modal-scroll-wrapper,
.todey-auth-modal-body {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: auto !important;
    overscroll-behavior-y: auto !important;
    touch-action: pan-y !important;
    max-height: calc(100vh - 120px) !important;
    max-height: calc(100dvh - 120px) !important;
}

/* 3. All Responsive Tables & Horizontal Scroll Containers */
.todey-table-responsive,
.todey-table-container,
.todey-admin-table-container,
.todey-tab-scroll-container,
.todey-docs-tab-container,
.todey-category-tabs,
.todey-tags-scroll-container,
.todey-company-tabs-nav,
.todey-agent-tabs-nav,
.todey-qr-tabs-nav {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: auto !important;
    overscroll-behavior-x: auto !important;
    touch-action: pan-x pan-y !important;
    scrollbar-width: thin !important;
}

/* 4. Chat History, Support Tickets & Audit Expanders */
.todey-chat-history-container,
.todey-ticket-thread,
#todey-admin-tickets-list,
#todey-sidebar-list-container,
.todey-admin-row-details,
.todey-admin-row-override-panel {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: auto !important;
    overscroll-behavior-y: auto !important;
    touch-action: pan-y !important;
}

/* 5. Flexbox Child Height Unbounding for WebKit (Safari Engine) */
.todey-portal-content-container,
.todey-portal-nav,
.todey-admin-container,
#todey-admin-overview-content,
#todey-admin-analytics-content,
#todey-admin-tickets-content,
#todey-admin-audit-content,
#todey-admin-subscriptions-content,
#todey-admin-users-content,
#todey-admin-projects-content {
    min-height: 0 !important;
    min-width: 0 !important;
}

/* ============================================================================
   ENTERPRISE MULTI-SCREEN & RESPONSIVE ARCHITECTURE (MOBILE / TABLET / LANDSCAPE)
   Zero Desktop Regressions | Max 5px Mobile Padding | TODEY Luxury Aesthetic
   ============================================================================ */

/* ----------------------------------------------------------------------------
   1. GLOBAL CONTAINER PADDING & VIEWPORT CONSTRAINTS (< 768px)
   ---------------------------------------------------------------------------- */
@media (max-width: 768px) {
    /* Base Body & Layout */
    .todey-portal-body {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        height: auto !important;
        min-height: 100vh;
        min-height: 100dvh;
        background: #000000 !important;
    }

    .todey-portal-layout {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-height: 100vh;
        min-height: 100dvh;
        background: #000000 !important;
    }

    /* Top Brand Bar & Sidebar */
    .todey-portal-sidebar {
        order: 2 !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: auto !important;
        border-right: none !important;
        border-bottom: 1px solid #141414 !important;
        background: #000000 !important;
        z-index: 90000 !important;
        padding: 10px 10px 10px 10px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }

    .todey-portal-brand {
        display: none !important;
    }

    /* Mobile Navigation Dropdown */
    .todey-portal-nav {
        position: relative !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        z-index: 90001 !important;
    }

    .todey-portal-mobile-dropdown-trigger {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 38px !important;
        min-height: 38px !important;
        width: 100% !important;
        padding: 0 12px !important;
        margin: 0 !important;
        background-color: #000000 !important;
        border: 1px solid #141414 !important;
        border-radius: 0px !important;
        cursor: pointer !important;
        box-sizing: border-box !important;
    }

    .todey-active-nav-label {
        font-size: 11px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        color: #ffffff !important;
    }

    .todey-portal-nav-list {
        display: none;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        border: 1px solid #141414 !important;
        border-top: none !important;
        background-color: #000000 !important;
        border-radius: 0px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.98) !important;
        z-index: 90002 !important;
        max-height: 380px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .todey-portal-nav-list.open {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .todey-portal-nav-link {
        padding: 10px 12px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
    }

    .todey-portal-sidebar-footer {
        display: none !important;
    }
    .todey-nav-logout-group {
        display: block !important;
        border-top: 1px solid #141414 !important;
    }
    .todey-portal-nav-logout-link {
        color: #ff0000 !important;
    }
    .todey-portal-nav-logout-link:hover {
        background-color: #080808 !important;
        color: #ff0000 !important;
    }

    /* Main Viewport & Header */
    .todey-portal-viewport {
        margin-left: 0 !important;
        width: 100% !important;
        min-height: auto !important;
        background: #000000 !important;
        display: contents !important;
    }

    .todey-portal-header {
        order: 1 !important;
        padding: 10px 10px 10px 10px !important;
        margin: 0 !important;
        border-bottom: 1px solid #141414 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        position: relative !important;
        background: #000000 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        height: auto !important;
        min-height: auto !important;
        z-index: 100000 !important;
        overflow: visible !important;
    }

    .todey-portal-header:has(.todey-global-org-dropdown-menu.is-open),
    .todey-portal-header:has(.todey-global-org-wrapper.is-open) {
        z-index: 100050 !important;
    }

    .todey-portal-header-right {
        order: 1 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .todey-global-org-selector-container {
        width: 100% !important;
        margin: 0 !important;
    }

    .todey-page-info {
        order: 2 !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    #todey-portal-breadcrumbs {
        font-size: 10px !important;
        font-weight: 700 !important;
        line-height: 1.4 !important;
        letter-spacing: 0.8px !important;
        font-family: 'Space Grotesk', sans-serif !important;
        text-transform: uppercase !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #todey-active-view-title,
    .todey-page-info h1 {
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        color: #ffffff !important;
    }

    .todey-global-org-wrapper {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        position: relative !important;
        box-sizing: border-box !important;
        z-index: 1000 !important;
    }

    .todey-global-org-wrapper.is-open {
        z-index: 100050 !important;
    }

    .todey-global-org-trigger {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        background: #000000 !important;
        border: 1px solid #141414 !important;
        border-radius: 0px !important;
        color: #ffffff !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: stretch !important;
        justify-content: space-between !important;
    }

    .todey-global-org-trigger-icon-box {
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 38px !important;
        padding: 3px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        border-right: 1px solid #141414 !important;
        color: #ff4400 !important;
        box-sizing: border-box !important;
    }

    .todey-global-org-trigger-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        text-align: left !important;
        min-width: 0 !important;
        flex: 1 !important;
        padding: 0 12px !important;
        gap: 2px !important;
        box-sizing: border-box !important;
    }

    .todey-global-org-trigger-label {
        font-family: 'DM Sans', sans-serif !important;
        font-size: 8.5px !important;
        font-weight: 700 !important;
        color: #888888 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        line-height: 1 !important;
        margin: 0 !important;
    }

    .todey-global-org-trigger-value {
        font-family: 'DM Sans', sans-serif !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        text-transform: uppercase !important;
        letter-spacing: 0.4px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .todey-global-org-trigger-arrow-box {
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 38px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        border-left: 1px solid #141414 !important;
        box-sizing: border-box !important;
    }

    .todey-global-org-dropdown-menu {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        background: #000000 !important;
        border: 1px solid #141414 !important;
        border-radius: 0px !important;
        box-sizing: border-box !important;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.98) !important;
        z-index: 100051 !important;
    }

    .todey-action-btn-link,
    .todey-portal-actions {
        display: none !important;
    }

    /* Content Containers */
    .todey-portal-content-container,
    #todey-portal-content,
    .todey-admin-container,
    #todey-admin-overview-content,
    #todey-admin-analytics-content,
    #todey-admin-tickets-content,
    #todey-admin-audit-content,
    #todey-admin-subscriptions-content,
    #todey-admin-users-content,
    #todey-admin-projects-content,
    .todey-locked-container {
        order: 3 !important;
        padding: 10px 10px 24px 10px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        background: #000000 !important;
        position: relative !important;
        z-index: 5 !important;
        overflow: visible !important;
    }

    .todey-dashboard-panel,
    div.todey-dashboard-panel {
        padding: 10px !important;
        box-sizing: border-box !important;
    }

    .todey-portal-footer {
        order: 4 !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        padding: 16px 10px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        border-top: 1px solid #141414 !important;
        background: #000000 !important;
        box-sizing: border-box !important;
    }

    .todey-portal-footer-links {
        gap: 16px !important;
    }

    /* Inner Max-Width Containers */
    .todey-portal-content-container > div,
    #todey-portal-content > div,
    div[style*="max-width: 1200px"],
    div[style*="max-width: 600px"],
    div[style*="max-width: 800px"],
    div[style*="max-width: 900px"],
    div[style*="max-width: 1000px"] {
        padding-top: 15px !important;
        padding-bottom: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* ==========================================================================
       Welcome & Personal Account Overview Hub (Enterprise Bento Design)
       ========================================================================== */
    .todey-welcome-hub-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .todey-welcome-header-banner,
    .todey-hub-hero {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px !important;
        padding: 12px 20px !important;
        gap: 12px !important;
    }

    .todey-hub-health-card {
        background: #000000 !important;
        border: 1px solid #141414 !important;
        border-radius: 0px !important;
        padding: 14px 20px !important;
        margin-bottom: 16px !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
        transition: border-color 0s !important;
    }

    .todey-hub-health-actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .todey-hub-dismiss-health-btn {
        height: 38px !important;
        min-height: 38px !important;
        width: 38px !important;
        min-width: 38px !important;
        padding: 0 !important;
        border: 1px solid #141414 !important;
        background: #000000 !important;
        color: #b3b3b3 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        border-radius: 0px !important;
        box-sizing: border-box !important;
        transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease !important;
        flex-shrink: 0 !important;
    }

    .todey-hub-dismiss-health-btn:hover {
        background: #ff4400 !important;
        color: #000000 !important;
        border-color: #141414 !important;
        transform: translateY(-2px) !important;
    }

    .todey-welcome-hub-ad-banner {
        margin-top: 16px !important;
        margin-bottom: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        background: #000000 !important;
        border: 1px solid #141414 !important;
        border-radius: 0px !important;
        overflow: hidden !important;
    }

    /* Admin Welcome Ads Management Panel */
    .todey-admin-ads-panel {
        width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .todey-admin-ads-card {
        background: #000000 !important;
        border: 1px solid #141414 !important;
        border-radius: 0px !important;
        padding: 16px 20px !important;
        box-sizing: border-box !important;
    }

    .todey-admin-ads-textarea,
    #todey-welcome-ad-html-input,
    textarea.todey-admin-ads-textarea,
    #todey-portal-app .todey-admin-ads-textarea,
    #todey-portal-app #todey-welcome-ad-html-input {
        width: 100% !important;
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
        background: #000000 !important;
        color: #ffffff !important;
        border: 1px solid #141414 !important;
        border-color: #141414 !important;
        border-radius: 0px !important;
        -webkit-border-radius: 0px !important;
        -moz-border-radius: 0px !important;
        font-family: var(--todey-font-mono, 'Space Grotesk', monospace) !important;
        font-size: 11.5px !important;
        line-height: 1.5 !important;
        padding: 14px !important;
        box-sizing: border-box !important;
        resize: none !important;
        overflow-y: auto !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        outline: none !important;
        outline-offset: 0 !important;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        transition: none !important;
    }

    .todey-admin-ads-textarea:hover,
    .todey-admin-ads-textarea:focus,
    .todey-admin-ads-textarea:active,
    .todey-admin-ads-textarea:focus-visible,
    #todey-welcome-ad-html-input:hover,
    #todey-welcome-ad-html-input:focus,
    #todey-welcome-ad-html-input:active,
    #todey-welcome-ad-html-input:focus-visible,
    #todey-portal-app .todey-admin-ads-textarea:focus,
    #todey-portal-app #todey-welcome-ad-html-input:focus,
    #todey-portal-app .todey-admin-ads-textarea:focus-visible,
    #todey-portal-app #todey-welcome-ad-html-input:focus-visible {
        border: 1px solid #141414 !important;
        border-color: #141414 !important;
        border-radius: 0px !important;
        -webkit-border-radius: 0px !important;
        -moz-border-radius: 0px !important;
        outline: none !important;
        outline-offset: 0 !important;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
    }

    .todey-admin-ads-preview-box {
        width: 100% !important;
        min-height: 80px !important;
        background: #000000 !important;
        border: 1px dashed #141414 !important;
        border-radius: 0px !important;
        padding: 14px !important;
        box-sizing: border-box !important;
    }

    /* Main Split Layout: 65% Bento Grid & 35% Recent Activity */
    .todey-hub-main-split {
        display: flex !important;
        gap: 16px !important;
        align-items: stretch !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .todey-hub-bento-section {
        flex: 0 0 65% !important;
        max-width: 65% !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .todey-hub-activity-section {
        flex: 0 0 calc(35% - 16px) !important;
        max-width: calc(35% - 16px) !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .todey-hub-activity-card {
        background: #000000 !important;
        border: 1px solid #141414 !important;
        border-radius: 0px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .todey-hub-activity-header {
        padding: 12px 16px !important;
        border-bottom: 1px solid #141414 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-shrink: 0 !important;
        background: #000000 !important;
    }

    .todey-welcome-hub-wrapper .todey-hub-activity-list,
    .todey-hub-activity-list {
        flex: 1 !important;
        overflow-y: auto !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 10px 12px !important;
        gap: 8px !important;
        max-height: 380px !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .todey-hub-activity-item {
        padding: 10px 16px !important;
        border-bottom: 1px solid #141414 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
        background: #000000 !important;
        box-sizing: border-box !important;
        transition: background 0.15s ease !important;
    }

    .todey-hub-activity-item:hover {
        background: #080808 !important;
    }

    .todey-hub-activity-item:last-child {
        border-bottom: none !important;
    }

    .todey-hub-activity-text,
    .todey-activity-item-title,
    .todey-activity-item-text,
    .todey-notification-title,
    .todey-notification-text,
    .todey-notification-item-text,
    .todey-inbox-row td[data-label="Title"],
    .todey-inbox-row td[data-label="Subtitle"],
    .todey-inbox-detail-title,
    .todey-inbox-detail-subtitle {
        text-transform: uppercase !important;
    }

    .todey-welcome-hub-wrapper .todey-hub-bento-grid,
    .todey-portal-wrap .todey-welcome-hub-wrapper .todey-hub-bento-grid,
    .todey-hub-bento-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0px !important;
        margin-bottom: 0px !important;
        background: #000000 !important;
        border: 1px solid #141414 !important;
        border-radius: 0px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        height: 100% !important;
    }

    .todey-welcome-hub-wrapper .todey-hub-tile,
    .todey-hub-tile {
        background: #000000 !important;
        border-top: none !important;
        border-left: none !important;
        border-right: 1px solid #141414 !important;
        border-bottom: 1px solid #141414 !important;
        border-radius: 0px !important;
        padding: 14px 18px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        min-height: 110px !important;
        box-sizing: border-box !important;
        box-shadow: none !important;
        transition: background 0.15s ease !important;
    }

    /* 3-column layout (Desktop >= 769px) */
    @media (min-width: 769px) {
        .todey-welcome-hub-wrapper .todey-hub-bento-grid,
        .todey-portal-wrap .todey-hub-bento-grid,
        .todey-hub-bento-grid {
            display: grid !important;
            grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
            gap: 0px !important;
            width: 100% !important;
        }

        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile,
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile,
        .todey-hub-bento-grid .todey-hub-tile {
            border-right: 1px solid #141414 !important;
            border-bottom: 1px solid #141414 !important;
        }

        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:nth-child(3n),
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:nth-child(3n),
        .todey-hub-bento-grid .todey-hub-tile:nth-child(3n) {
            border-right: none !important;
        }

        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:nth-child(n+7),
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:nth-child(n+7),
        .todey-hub-bento-grid .todey-hub-tile:nth-child(n+7) {
            border-bottom: none !important;
        }
    }

    .todey-hub-tile:hover {
        background: #000000 !important;
        background-color: #000000 !important;
    }

    .todey-hub-tile a {
        transition: color 0.15s ease !important;
    }

    .todey-hub-tile-icon,
    .todey-welcome-hub-wrapper .todey-hub-tile-icon,
    .todey-welcome-hub-wrapper .todey-hub-tile .todey-hub-tile-icon {
        width: 14px !important;
        height: 14px !important;
        min-width: 14px !important;
        min-height: 14px !important;
        color: #ff4400 !important;
        transform: none !important;
        display: inline-block !important;
        vertical-align: middle !important;
        transition: none !important;
    }

    .todey-hub-tile:hover .todey-hub-tile-icon,
    .todey-welcome-hub-wrapper .todey-hub-tile:hover .todey-hub-tile-icon,
    .todey-welcome-hub-wrapper .todey-hub-tile-icon:hover {
        color: #ff4400 !important;
        transform: none !important;
        transition: none !important;
    }

    .todey-hub-tile-link,
    .todey-welcome-hub-wrapper .todey-hub-tile-link,
    .todey-welcome-hub-wrapper a.todey-hub-tile-link {
        color: #ffffff !important;
        text-decoration: none !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        font-family: 'DM Sans', sans-serif !important;
        transition: color 0.2s ease !important;
    }

    .todey-hub-arrow-icon,
    .todey-hub-tile-link svg,
    .todey-welcome-hub-wrapper .todey-hub-arrow-icon,
    .todey-welcome-hub-wrapper .todey-hub-tile-link svg,
    .todey-welcome-hub-wrapper a.todey-hub-tile-link svg {
        width: 14px !important;
        height: 14px !important;
        min-width: 14px !important;
        min-height: 14px !important;
        color: #ffffff !important;
        fill: #ffffff !important;
        transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease, fill 0.2s ease !important;
        display: inline-block !important;
        vertical-align: middle !important;
    }

    .todey-hub-tile-link:hover .todey-hub-arrow-icon,
    .todey-hub-tile-link:hover svg,
    .todey-hub-tile:hover .todey-hub-arrow-icon,
    .todey-hub-tile:hover .todey-hub-tile-link svg,
    .todey-welcome-hub-wrapper .todey-hub-tile-link:hover .todey-hub-arrow-icon,
    .todey-welcome-hub-wrapper .todey-hub-tile-link:hover svg,
    .todey-welcome-hub-wrapper .todey-hub-tile:hover .todey-hub-arrow-icon,
    .todey-welcome-hub-wrapper .todey-hub-tile:hover .todey-hub-tile-link svg {
        color: #ff4400 !important;
        fill: #ff4400 !important;
        transform: none !important;
    }

    /* Welcome Hub Primary Button Scoping */
    .todey-welcome-hub-wrapper .todey-btn-primary,
    .todey-welcome-hub-wrapper a.todey-btn-primary {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 6px 14px !important;
        border: 1px solid #141414 !important;
        background: #000000 !important;
        color: #ff4400 !important;
        font-weight: 700 !important;
        font-size: 11px !important;
        font-family: var(--todey-font-mono, monospace) !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        text-decoration: none !important;
        cursor: pointer !important;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        border-radius: 0 !important;
        box-sizing: border-box !important;
        transform: none !important;
    }

    .todey-welcome-hub-wrapper .todey-btn-primary:hover,
    .todey-welcome-hub-wrapper a.todey-btn-primary:hover {
        background: #000000 !important;
        background-color: #000000 !important;
        color: #ff4400 !important;
        border-color: #141414 !important;
        transform: none !important;
    }

    .todey-welcome-hub-wrapper .todey-btn-primary .todey-btn-arrow {
        display: inline-block !important;
        margin-left: 6px !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .todey-welcome-hub-wrapper .todey-btn-primary:hover .todey-btn-arrow,
    .todey-welcome-hub-wrapper a.todey-btn-primary:hover .todey-btn-arrow {
        transform: none !important;
    }

    /* Welcome Hub Health Progress Bar */
    .todey-hub-progress-track {
        background: #080808 !important;
        border: 1px solid #141414 !important;
        height: 10px !important;
        padding: 1px !important;
        position: relative !important;
        box-sizing: border-box !important;
        border-radius: 0px !important;
    }

    .todey-hub-progress-fill {
        height: 100% !important;
        position: relative !important;
        border-radius: 0px !important;
        box-sizing: border-box !important;
        transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease !important;
    }

    .todey-hub-progress-dot {
        position: absolute !important;
        right: 2px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 3px !important;
        height: 3px !important;
        border-radius: 50% !important;
        background: #000000 !important;
        display: inline-block !important;
    }

    /* Welcome Hub Health Avatar */
    .todey-hub-health-avatar,
    .todey-welcome-hub-wrapper .todey-hub-health-avatar {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        background: #080808 !important;
        border: 1px solid #141414 !important;
        border-radius: 0px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
    }

    .todey-hub-health-avatar img,
    .todey-welcome-hub-wrapper .todey-hub-health-avatar img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        border-radius: 0px !important;
    }

    .todey-hub-health-avatar svg,
    .todey-welcome-hub-wrapper .todey-hub-health-avatar svg {
        display: block !important;
        color: #888888 !important;
    }

    @media (max-width: 1024px) {
        .todey-welcome-hub-wrapper .todey-hub-main-split,
        .todey-hub-main-split {
            flex-direction: column !important;
            gap: 16px !important;
            width: 100% !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-section,
        .todey-hub-bento-section,
        .todey-welcome-hub-wrapper .todey-hub-activity-section,
        .todey-hub-activity-section {
            flex: 0 0 100% !important;
            max-width: 100% !important;
            width: 100% !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid,
        .todey-hub-bento-grid {
            grid-template-columns: repeat(3, 1fr) !important;
            gap: 0px !important;
            width: 100% !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile,
        .todey-hub-bento-grid .todey-hub-tile {
            border-right: 1px solid #141414 !important;
            border-bottom: 1px solid #141414 !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:nth-child(3n),
        .todey-hub-bento-grid .todey-hub-tile:nth-child(3n) {
            border-right: none !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:nth-child(n+7),
        .todey-hub-bento-grid .todey-hub-tile:nth-child(n+7) {
            border-bottom: none !important;
        }
    }

    @media (max-width: 768px) {
        .todey-welcome-hub-wrapper {
            padding: 0px 5px 25px 5px !important;
            width: 100% !important;
            box-sizing: border-box !important;
        }
        .todey-welcome-hub-wrapper .todey-welcome-header-banner,
        .todey-welcome-header-banner,
        .todey-hub-hero {
            padding: 12px 14px !important;
            flex-direction: column !important;
            align-items: flex-start !important;
            gap: 12px !important;
        }
        .todey-welcome-header-banner .todey-workspace-header-actions {
            width: 100% !important;
            justify-content: flex-start !important;
            gap: 8px !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-health-card,
        .todey-hub-health-card {
            padding: 14px 14px !important;
            width: 100% !important;
            box-sizing: border-box !important;
        }
        .todey-hub-health-card .todey-btn-primary,
        .todey-welcome-hub-wrapper .todey-btn-primary,
        .todey-welcome-hub-wrapper a.todey-btn-primary {
            min-height: 38px !important;
            height: 38px !important;
            padding: 0 14px !important;
            font-size: 11px !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid,
        .todey-portal-wrap .todey-hub-bento-grid,
        .todey-hub-bento-grid {
            display: grid !important;
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            gap: 0px !important;
            width: 100% !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile,
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile,
        .todey-hub-bento-grid .todey-hub-tile,
        .todey-hub-tile {
            border-right: 1px solid #141414 !important;
            border-bottom: 1px solid #141414 !important;
            border-left: none !important;
            border-top: none !important;
            padding: 12px 12px !important;
            min-height: auto !important;
            box-sizing: border-box !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:nth-child(3n),
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:nth-child(3n),
        .todey-hub-bento-grid .todey-hub-tile:nth-child(3n) {
            border-right: 1px solid #141414 !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:nth-child(7),
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:nth-child(8),
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:nth-child(7),
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:nth-child(8),
        .todey-hub-bento-grid .todey-hub-tile:nth-child(7),
        .todey-hub-bento-grid .todey-hub-tile:nth-child(8) {
            border-bottom: 1px solid #141414 !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:nth-child(2n),
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:nth-child(2n),
        .todey-hub-bento-grid .todey-hub-tile:nth-child(2n) {
            border-right: none !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:nth-child(odd):last-child,
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:last-child,
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:nth-child(odd):last-child,
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:last-child,
        .todey-hub-bento-grid .todey-hub-tile:nth-child(odd):last-child,
        .todey-hub-bento-grid .todey-hub-tile:last-child {
            grid-column: 1 / -1 !important;
            border-right: none !important;
            border-bottom: none !important;
            width: 100% !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-tile-link,
        .todey-hub-tile-link {
            min-height: 38px !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 6px !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-activity-header,
        .todey-hub-activity-header {
            padding: 12px 14px !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-activity-list,
        .todey-hub-activity-list {
            padding: 10px 12px !important;
            gap: 8px !important;
            max-height: 360px !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-activity-item,
        .todey-hub-activity-item {
            min-height: 38px !important;
            padding: 8px 12px !important;
            gap: 8px !important;
        }
        .todey-welcome-hub-wrapper .todey-welcome-hub-ad-banner,
        .todey-welcome-hub-ad-banner,
        .todey-welcome-ad-box {
            padding: 14px 12px !important;
            width: 100% !important;
            box-sizing: border-box !important;
        }
    }

    @media (max-width: 480px) {
        .todey-welcome-hub-wrapper {
            padding: 0px 5px 20px 5px !important;
        }
        .todey-welcome-header-banner,
        .todey-hub-hero {
            padding: 10px 12px !important;
        }
        .todey-welcome-header-banner .todey-workspace-header-title {
            font-size: 14px !important;
        }
        .todey-welcome-header-banner .todey-workspace-header-subtitle {
            font-size: 10px !important;
            line-height: 1.35 !important;
        }
        .todey-hub-health-card {
            padding: 12px 10px !important;
        }
        .todey-hub-health-card .todey-hub-health-avatar {
            width: 32px !important;
            height: 32px !important;
            min-width: 32px !important;
            min-height: 32px !important;
        }
        .todey-hub-health-card .todey-btn-primary,
        .todey-welcome-hub-wrapper .todey-btn-primary,
        .todey-welcome-hub-wrapper a.todey-btn-primary {
            width: 100% !important;
            margin-top: 8px !important;
            justify-content: center !important;
        }
        .todey-hub-health-actions,
        .todey-welcome-hub-wrapper .todey-hub-health-actions {
            width: 100% !important;
            margin-top: 8px !important;
            display: flex !important;
            align-items: center !important;
            gap: 8px !important;
        }
        .todey-hub-health-actions .todey-btn-primary,
        .todey-welcome-hub-wrapper .todey-hub-health-actions .todey-btn-primary {
            flex: 1 !important;
            width: auto !important;
            margin-top: 0px !important;
        }
        .todey-hub-dismiss-health-btn,
        .todey-welcome-hub-wrapper .todey-hub-dismiss-health-btn {
            margin-top: 0px !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid,
        .todey-portal-wrap .todey-hub-bento-grid,
        .todey-hub-bento-grid {
            display: grid !important;
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            gap: 0px !important;
            width: 100% !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile,
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile,
        .todey-hub-bento-grid .todey-hub-tile,
        .todey-hub-tile {
            padding: 10px 10px !important;
            border-right: 1px solid #141414 !important;
            border-bottom: 1px solid #141414 !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:nth-child(3n),
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:nth-child(3n),
        .todey-hub-bento-grid .todey-hub-tile:nth-child(3n) {
            border-right: 1px solid #141414 !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:nth-child(7),
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:nth-child(8),
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:nth-child(7),
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:nth-child(8),
        .todey-hub-bento-grid .todey-hub-tile:nth-child(7),
        .todey-hub-bento-grid .todey-hub-tile:nth-child(8) {
            border-bottom: 1px solid #141414 !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:nth-child(2n),
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:nth-child(2n),
        .todey-hub-bento-grid .todey-hub-tile:nth-child(2n) {
            border-right: none !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:nth-child(odd):last-child,
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:last-child,
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:nth-child(odd):last-child,
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:last-child,
        .todey-hub-bento-grid .todey-hub-tile:nth-child(odd):last-child,
        .todey-hub-bento-grid .todey-hub-tile:last-child {
            grid-column: 1 / -1 !important;
            border-right: none !important;
            border-bottom: none !important;
            width: 100% !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-activity-list,
        .todey-hub-activity-list {
            max-height: 320px !important;
            padding: 8px 8px !important;
            gap: 8px !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-activity-item,
        .todey-hub-activity-item {
            padding: 6px 10px !important;
            min-height: 36px !important;
        }
    }

    @media (max-width: 340px) {
        .todey-welcome-hub-wrapper {
            padding: 0px 2px 15px 2px !important;
        }
        .todey-welcome-header-banner,
        .todey-hub-health-card,
        .todey-hub-activity-card,
        .todey-welcome-hub-ad-banner {
            padding: 10px 8px !important;
        }
        .todey-welcome-header-banner .todey-workspace-header-actions {
            flex-direction: column !important;
            align-items: stretch !important;
            width: 100% !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid,
        .todey-portal-wrap .todey-hub-bento-grid,
        .todey-hub-bento-grid {
            display: grid !important;
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            gap: 0px !important;
            width: 100% !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile,
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile,
        .todey-hub-bento-grid .todey-hub-tile,
        .todey-hub-tile {
            padding: 8px 8px !important;
            border-right: 1px solid #141414 !important;
            border-bottom: 1px solid #141414 !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:nth-child(3n),
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:nth-child(3n),
        .todey-hub-bento-grid .todey-hub-tile:nth-child(3n) {
            border-right: 1px solid #141414 !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:nth-child(7),
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:nth-child(8),
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:nth-child(7),
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:nth-child(8),
        .todey-hub-bento-grid .todey-hub-tile:nth-child(7),
        .todey-hub-bento-grid .todey-hub-tile:nth-child(8) {
            border-bottom: 1px solid #141414 !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:nth-child(2n),
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:nth-child(2n),
        .todey-hub-bento-grid .todey-hub-tile:nth-child(2n) {
            border-right: none !important;
        }
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:nth-child(odd):last-child,
        .todey-welcome-hub-wrapper .todey-hub-bento-grid .todey-hub-tile:last-child,
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:nth-child(odd):last-child,
        .todey-portal-wrap .todey-hub-bento-grid .todey-hub-tile:last-child,
        .todey-hub-bento-grid .todey-hub-tile:nth-child(odd):last-child,
        .todey-hub-bento-grid .todey-hub-tile:last-child {
            grid-column: 1 / -1 !important;
            border-right: none !important;
            border-bottom: none !important;
            width: 100% !important;
        }
    }

    /* Bento Cards, Health Cards & Panels */
    .todey-card,
    .todey-card-panel,
    .todey-panel-box,
    .todey-bento-card,
    .todey-health-card,
    .todey-analyze-card,
    .todey-tier-card-block,
    .todey-locked-card,
    .todey-admin-gov-card,
    .todey-billing-plan-card,
    .todey-plan-box,
    .todey-invoice-summary-card,
    .todey-playground-card,
    .todey-docs-card {
        padding: 14px 8px !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        background: #000000 !important;
        border: 1px solid #141414 !important;
        border-radius: 0px !important;
        box-shadow: none !important;
    }

    .todey-bento-card h3,
    .todey-card h3,
    .todey-card-panel h3,
    .todey-tier-card-block h3 {
        font-size: 15px !important;
        font-weight: 700 !important;
        margin: 0 0 6px 0 !important;
        line-height: 1.3 !important;
        color: #ffffff !important;
    }

    .todey-bento-card p,
    .todey-bento-card p.todey-muted,
    .todey-card p {
        margin: 8px 0 12px 0 !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
        color: #b3b3b3 !important;
    }

    .todey-bento-card div[style*="display: flex; gap: 15px"],
    .todey-card-actions-footer {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
        margin-top: 8px !important;
    }

    .todey-bento-card a.todey-btn,
    .todey-bento-card button.todey-btn {
        width: 100% !important;
        justify-content: center !important;
        height: 38px !important;
        min-height: 38px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
    }

    .todey-locked-body {
        padding: 16px 8px !important;
    }

    .todey-locked-header {
        padding: 0 !important;
    }

    .todey-locked-title-box {
        padding: 0 8px !important;
    }

    /* Grids & Multi-Column Layouts */
    .todey-portal-two-col-layout,
    .todey-portal-grid-10col,
    .todey-dashboard-breakdown-grid,
    .todey-admin-gov-grid,
    .todey-admin-ws-grid,
    .todey-billing-bento-grid,
    .todey-subscription-matrix,
    .todey-plans-grid,
    .todey-stat-grid,
    .todey-playground-grid,
    .todey-api-docs-grid,
    .todey-home-two-col-grid,
    .todey-account-stat-grid,
    .todey-integration-progress-grid,
    .todey-billing-capacity-grid,
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns:1fr 1fr"],
    div[style*="grid-template-columns: 1fr 1fr 1fr"],
    div[style*="grid-template-columns:1fr 1fr 1fr"],
    div[style*="grid-template-columns: repeat(2, 1fr)"],
    div[style*="grid-template-columns:repeat(2, 1fr)"],
    div[style*="grid-template-columns: repeat(2,1fr)"],
    div[style*="grid-template-columns: repeat(3, 1fr)"],
    div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }

    .todey-integration-progress-col {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .todey-integration-progress-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        margin-bottom: 8px !important;
        width: 100% !important;
    }

    .todey-portal-two-col-layout > div,
    .todey-portal-grid-10col > div {
        grid-column: span 1 !important;
        width: 100% !important;
        min-height: auto !important;
    }

    /* Forms, Inputs, Dropdowns & Groups */
    .todey-form-group {
        margin-bottom: 10px !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        box-sizing: border-box !important;
    }

    .todey-form-group > label {
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #b3b3b3 !important;
        margin-bottom: 2px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }

    .todey-form-row-2col,
    .todey-form-grid-2col,
    .todey-form-grid-3col,
    .todey-form-grid-4col,
    .todey-req-grid-2col,
    .todey-req-form-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .todey-input,
    .todey-select,
    .todey-search-input,
    .todey-search-box,
    .todey-input-search,
    .todey-admin-search-input,
    input[type="text"].todey-input,
    input[type="email"].todey-input,
    input[type="number"].todey-input,
    input[type="password"].todey-input,
    select.todey-select {
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
        border: 1px solid #141414 !important;
        border-radius: 0px !important;
        background: #000000 !important;
        color: #ffffff !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        outline: none !important;
        box-shadow: none !important;
    }

    textarea.todey-input,
    textarea.todey-textarea {
        height: auto !important;
        min-height: 80px !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
        border: 1px solid #141414 !important;
        border-radius: 0px !important;
        background: #000000 !important;
        color: #ffffff !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Tables & Responsive Lists */
    .todey-table-container,
    .todey-table-responsive,
    .todey-invoice-table-wrapper,
    .todey-table-scroll-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin-bottom: 10px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .todey-table,
    .invoice-table {
        width: 100% !important;
        min-width: 100% !important;
        font-size: 11px !important;
        border-collapse: collapse !important;
    }

    .todey-table th,
    .todey-table td,
    .invoice-table th,
    .invoice-table td {
        padding: 8px 6px !important;
        font-size: 11px !important;
        border-bottom: 1px solid #141414 !important;
    }

    /* Drawers & Modals */
    #todey-admin-requests-drawer,
    .todey-drawer-panel,
    #todey-new-listing-drawer {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 8px !important;
        box-sizing: border-box !important;
    }

    .todey-modal-dialog,
    .todey-payment-modal-dialog,
    .todey-org-modal-card,
    #todey-admin-invoice-modal-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 14px 8px !important;
        margin: 0 !important;
        border-radius: 0px !important;
        box-sizing: border-box !important;
        background: #000000 !important;
        border: 1px solid #141414 !important;
    }

    .todey-modal-header,
    .todey-payment-modal-header {
        padding: 10px 8px !important;
    }

    .todey-modal-body,
    .todey-payment-modal-body {
        padding: 10px 8px !important;
    }

    .todey-modal-footer,
    .todey-payment-modal-footer {
        padding: 10px 8px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .todey-modal-footer .todey-btn,
    .todey-payment-modal-footer .todey-btn {
        width: 100% !important;
        height: 38px !important;
        justify-content: center !important;
    }

    /* Responsive Conjoined Tabs Bar vs Custom Luxury Mobile Tabs Dropdown */
    .todey-desktop-tabs-bar,
    .todey-desktop-tabs-bar.todey-admin-conjoined-bar,
    .todey-desktop-tabs-bar.todey-admin-conjoined-bar-full,
    .todey-desktop-tabs-bar.todey-admin-conjoined-bar.todey-admin-conjoined-bar-full,
    div.todey-desktop-tabs-bar,
    div.todey-desktop-tabs-bar.todey-admin-conjoined-bar,
    div.todey-desktop-tabs-bar.todey-admin-conjoined-bar-full,
    div.todey-desktop-tabs-bar.todey-admin-conjoined-bar.todey-admin-conjoined-bar-full,
    .todey-admin-conjoined-bar.todey-desktop-tabs-bar,
    .todey-admin-conjoined-bar.todey-admin-conjoined-bar-full.todey-desktop-tabs-bar,
    div.todey-admin-conjoined-bar.todey-admin-conjoined-bar-full.todey-desktop-tabs-bar {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        overflow: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    .todey-custom-tabs-wrapper {
        display: block !important;
        width: 100% !important;
        min-width: 100% !important;
        margin-bottom: 24px !important;
        box-sizing: border-box !important;
        position: relative !important;
        z-index: 1000 !important;
    }
    .todey-custom-tabs-wrapper.is-open {
        z-index: 100050 !important;
    }

    /* Mobile Available Datasets Structured Bento Cards */
    .todey-datasets-list-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .todey-dataset-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 10px !important;
        gap: 8px !important;
        border: 1px solid #141414 !important;
        background: #000000 !important;
        margin-bottom: 6px !important;
        box-sizing: border-box !important;
    }

    .todey-dataset-row-left {
        width: 100% !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .todey-dataset-row-icon {
        margin-top: 2px !important;
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0 !important;
    }

    .todey-dataset-row-info {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .todey-dataset-row-title {
        font-family: 'Space Grotesk', sans-serif !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        white-space: normal !important;
        line-height: 1.25 !important;
        margin-bottom: 2px !important;
        color: #ffffff !important;
    }

    .todey-dataset-row-desc {
        font-size: 10px !important;
        color: #888888 !important;
        line-height: 1.3 !important;
    }

    .todey-dataset-row-right {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-top: 8px !important;
        border-top: 1px solid #141414 !important;
        gap: 8px !important;
        box-sizing: border-box !important;
    }

    .todey-dataset-row-meta {
        text-align: left !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }

    .todey-dataset-row-count {
        font-size: 10.5px !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }

    .todey-dataset-row-date {
        font-size: 9px !important;
        color: #888888 !important;
        white-space: nowrap !important;
    }

    .todey-dataset-row-status {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
        min-width: auto !important;
    }

    .todey-dataset-badge-status {
        font-size: 9px !important;
        font-family: 'Space Grotesk', sans-serif !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
    }

    .todey-dataset-badge-status.is-available {
        color: #00ff66 !important;
    }

    .todey-dataset-badge-status.is-locked {
        color: #888888 !important;
    }

    .todey-dataset-badge-level {
        font-size: 8px !important;
        font-family: 'Roboto Mono', monospace !important;
        color: #888888 !important;
        background: #000000 !important;
        padding: 1px 5px !important;
        border: 1px solid #141414 !important;
        border-radius: 0 !important;
        text-transform: uppercase !important;
    }

    .todey-dataset-row-action {
        margin-left: auto !important;
    }

    /* Listing Analytics Responsive Mobile Controls & Charts */
    .todey-analyze-header-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
    }

    .todey-analyze-timeframe-toolbar {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        height: 30px !important;
        box-sizing: border-box !important;
    }

    .todey-analyze-timeframe-toolbar::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    .todey-analyze-timeframe-toolbar .todey-timeframe-btn {
        flex: 1 1 auto !important;
        min-width: 36px !important;
        height: 24px !important;
        font-size: 9px !important;
        padding: 0 6px !important;
        white-space: nowrap !important;
    }

    .todey-analyze-card-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .todey-analyze-card-title-row {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .todey-analyze-legend-group {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
        margin-top: 4px !important;
        padding-top: 8px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
    }

    .todey-analyze-kpi-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        display: grid !important;
        gap: 8px !important;
        margin-bottom: 14px !important;
    }

    .todey-analyze-kpi-card {
        padding: 10px 12px !important;
    }

    /* Trend Chart X-Axis Labels Mobile Spacing & Suppression */
    .todey-analyze-x-label {
        font-size: 8.5px !important;
    }

    .todey-analyze-x-label.todey-x-label-dense {
        display: none !important;
    }

    .todey-analyze-y-label {
        font-size: 9px !important;
    }

    /* Donut & Pie Chart Auto-Sizing (Zero Dead Space) */
    .tdy-large-donut-wrapper {
        height: auto !important;
        min-height: unset !important;
        padding: 6px 0 !important;
    }

    .tdy-large-donut-wrapper svg {
        width: 100% !important;
        height: auto !important;
        max-height: 240px !important;
    }

    .todey-analyze-pie-container {
        min-height: unset !important;
        padding: 4px 0 !important;
    }

    /* Demographics & Demographics Map */
    .todey-demog-grid-split {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .todey-demog-card {
        padding: 16px 12px !important;
    }

    .todey-demog-donut-container {
        min-height: unset !important;
        height: auto !important;
        padding: 6px 0 !important;
    }

    .todey-demog-toolbar {
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .todey-demog-toolbar::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    .todey-demog-world-map {
        height: 220px !important;
    }

    /* Listing Analytics Mobile Title Typography (11px Constraint) */
    .todey-demog-card h3,
    .todey-demog-card h4,
    .todey-analyze-card h3,
    .todey-analyze-card h4,
    .todey-analyze-card-title-row h4,
    .todey-analyze-title,
    .todey-demog-title {
        font-size: 11px !important;
        line-height: 1.35 !important;
        letter-spacing: 0.5px !important;
    }
}

/* ----------------------------------------------------------------------------
   2. COMPACT MOBILE VIEWPORT CONSTRAINTS (< 480px)
   ---------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .todey-portal-content-container,
    #todey-portal-content,
    .todey-admin-container,
    #todey-admin-overview-content,
    #todey-admin-analytics-content,
    #todey-admin-tickets-content,
    #todey-admin-audit-content,
    #todey-admin-subscriptions-content,
    #todey-admin-users-content,
    #todey-admin-projects-content,
    .todey-locked-container {
        padding: 10px 10px 20px 10px !important;
    }

    .todey-card,
    .todey-card-panel,
    .todey-panel-box,
    .todey-bento-card,
    .todey-dashboard-panel,
    .todey-health-card,
    .todey-analyze-card,
    .todey-tier-card-block,
    .todey-locked-card,
    .todey-admin-gov-card,
    .todey-billing-plan-card,
    .todey-plan-box,
    .todey-invoice-summary-card,
    .todey-playground-card,
    .todey-docs-card {
        padding: 10px !important;
        margin-bottom: 8px !important;
    }

    .todey-bento-card h3,
    .todey-card h3,
    .todey-card-panel h3,
    .todey-tier-card-block h3 {
        font-size: 14px !important;
    }

    .todey-welcome-header h2 {
        font-size: 18px !important;
    }

    .todey-portal-header {
        padding: 10px !important;
    }

    .todey-portal-brand {
        display: none !important;
    }

    .todey-page-info h1,
    #todey-active-view-title {
        font-size: 15px !important;
    }

    .todey-table th,
    .todey-table td,
    .invoice-table th,
    .invoice-table td {
        padding: 6px 4px !important;
        font-size: 10px !important;
    }

    .todey-admin-overview-stat-box {
        padding: 8px 6px !important;
    }

    .todey-login-card {
        padding: 18px 8px !important;
    }

    .todey-analyze-kpi-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }

    .todey-analyze-kpi-card {
        padding: 8px 10px !important;
    }

    .todey-analyze-timeframe-toolbar .todey-timeframe-btn {
        min-width: 32px !important;
        padding: 0 4px !important;
        font-size: 8.5px !important;
    }

    .todey-demog-card h3,
    .todey-demog-card h4,
    .todey-analyze-card h3,
    .todey-analyze-card h4,
    .todey-analyze-card-title-row h4,
    .todey-analyze-title,
    .todey-demog-title {
        font-size: 11px !important;
        line-height: 1.35 !important;
        letter-spacing: 0.5px !important;
    }
}

/* ----------------------------------------------------------------------------
   3. EXTRA SMALL MOBILE DEVICES (< 340px)
   ---------------------------------------------------------------------------- */
@media (max-width: 340px) {
    .todey-portal-content-container,
    #todey-portal-content,
    .todey-card,
    .todey-bento-card,
    .todey-portal-header {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .todey-portal-brand {
        display: none !important;
    }

    .todey-welcome-header h2 {
        font-size: 16px !important;
    }

    .todey-active-nav-label,
    .todey-global-org-trigger {
        font-size: 10px !important;
    }

    .todey-bento-card {
        padding: 10px 5px !important;
    }
}

/* ----------------------------------------------------------------------------
   4. HORIZONTAL TAB STRIPS & CATEGORY NAVIGATIONS (TOUCH SCROLLING)
   ---------------------------------------------------------------------------- */
.todey-tab-scroll-container,
.todey-category-tabs,
.todey-tags-scroll-container,
.todey-docs-tab-container,
.todey-subnav-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    gap: 6px !important;
    padding-bottom: 6px !important;
    margin-bottom: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.todey-tab-scroll-container::-webkit-scrollbar,
.todey-category-tabs::-webkit-scrollbar,
.todey-tags-scroll-container::-webkit-scrollbar,
.todey-docs-tab-container::-webkit-scrollbar,
.todey-subnav-tabs::-webkit-scrollbar {
    display: none !important;
}

.todey-tab-scroll-container > *,
.todey-category-tabs > *,
.todey-tags-scroll-container > *,
.todey-docs-tab-container > *,
.todey-subnav-tabs > * {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

#todey-admin-perm-dev-subtabs.todey-is-hidden,
#todey-admin-perm-dev-subtabs[style*="display: none"],
#todey-admin-perm-dev-subtabs[style*="display:none"] {
    display: none !important;
}

/* ----------------------------------------------------------------------------
   5. DEVELOPER PANELS: PLAYGROUND, DOCS, KEYS, LOGS & WEBHOOKS
   ---------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .todey-playground-container,
    .todey-playground-grid,
    .todey-api-docs-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}

@media (max-width: 768px) {
    .todey-playground-container,
    .todey-playground-grid,
    .todey-api-docs-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .todey-playground-section,
    .todey-playground-card,
    .todey-docs-card {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 14px 8px !important;
    }

    .todey-code-scroll-container,
    .todey-console-output,
    pre.todey-code-block {
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        font-size: 11px !important;
        padding: 10px 8px !important;
        box-sizing: border-box !important;
    }

    .todey-endpoint-card-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .todey-endpoint-url {
        font-size: 11px !important;
        word-break: break-all !important;
    }

    .todey-endpoint-actions {
        width: 100% !important;
        justify-content: flex-start !important;
    }
}

/* ----------------------------------------------------------------------------
   6. USER & ENTERPRISE PANELS: EXPENSES, BILLING, INVOICES & SUBSCRIPTIONS
   ---------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .todey-billing-bento-grid,
    .todey-subscription-matrix,
    .todey-plans-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
}

@media (max-width: 768px) {
    .todey-billing-bento-grid,
    .todey-subscription-matrix,
    .todey-plans-grid {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .todey-billing-plan-card,
    .todey-plan-box,
    .todey-invoice-summary-card {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 14px 8px !important;
    }

    .todey-invoice-table-wrapper {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin-bottom: 10px !important;
    }

    .todey-invoice-actions {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .todey-invoice-download-btn {
        padding: 6px 12px !important;
        font-size: 10px !important;
        width: auto !important;
    }
}

/* ----------------------------------------------------------------------------
   7. ADMIN PANELS: COMMAND CENTER, DIRECTORY, REQUESTS & AUDIT LOGS
   ---------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .todey-admin-overview-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

@media (max-width: 480px) {
    .todey-admin-overview-grid {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .todey-admin-overview-stat-box {
        padding: 8px 6px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .todey-admin-filter-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
    }

    .todey-admin-search-input {
        width: 100% !important;
    }

    .todey-admin-actions-cell {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
}

/* ----------------------------------------------------------------------------
   8. MODAL DIALOGS & OVERLAY DRAWERS (BOTTOM SHEET TRANSFORM ON MOBILE)
   ---------------------------------------------------------------------------- */
@media (max-width: 576px) {
    .todey-modal {
        padding: 0 !important;
        align-items: flex-end !important;
    }

    .todey-modal-dialog,
    .todey-payment-modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        border-bottom: none !important;
        border-left: none !important;
        border-right: none !important;
        border-top: 1px solid #141414 !important;
        background-color: #000000 !important;
        box-sizing: border-box !important;
        max-height: calc(100vh - 40px) !important;
        max-height: calc(100dvh - 40px) !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .todey-modal-header,
    .todey-payment-modal-header {
        padding: 12px 8px !important;
    }

    .todey-modal-body,
    .todey-payment-modal-body {
        padding: 12px 8px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .todey-modal-footer,
    .todey-payment-modal-footer {
        padding: 10px 8px !important;
        flex-direction: column !important;
        gap: 6px !important;
    }

    .todey-modal-footer .todey-btn,
    .todey-payment-modal-footer .todey-btn {
        width: 100% !important;
    }

    #todey-admin-requests-drawer,
    .todey-drawer-panel {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 8px !important;
        box-sizing: border-box !important;
    }
}

/* ----------------------------------------------------------------------------
   7. MOBILE LANDSCAPE ORIENTATION & SHORT VIEWPORT ERGONOMICS
   ---------------------------------------------------------------------------- */
@media (max-height: 600px), (orientation: landscape) and (max-height: 500px) {
    .todey-portal-header {
        padding: 8px 5px !important;
        min-height: 44px !important;
    }

    .todey-portal-brand {
        display: none !important;
    }

    .todey-portal-content-container {
        padding-top: 8px !important;
        padding-bottom: 20px !important;
    }

    .todey-modal-dialog,
    .todey-payment-modal-dialog {
        max-height: calc(100vh - 20px) !important;
        max-height: calc(100dvh - 20px) !important;
    }

    .todey-modal-body,
    .todey-payment-modal-body {
        max-height: calc(100vh - 100px) !important;
        max-height: calc(100dvh - 100px) !important;
    }

    .todey-admin-overview-stat-box {
        padding: 6px 8px !important;
    }
}

/* ----------------------------------------------------------------------------
   8. ENTERPRISE IN-STYLE NOTICES & LIMIT WARNINGS (S-2770)
   ---------------------------------------------------------------------------- */
.todey-inline-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 14px 40px 14px 16px !important;
    margin-top: 14px;
    margin-bottom: 14px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    animation: todeyNoticeFadeIn 0.2s ease-out;
}

@keyframes todeyNoticeFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.todey-inline-notice-warning,
.todey-inline-notice-limit,
.todey-inline-notice-error,
.todey-inline-notice-info,
.todey-inline-notice-success {
    border-color: #141414 !important;
    background: #000000 !important;
    background-color: #000000 !important;
}

.todey-inline-notice-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.todey-inline-notice-warning .todey-inline-notice-icon,
.todey-inline-notice-limit .todey-inline-notice-icon {
    color: var(--todey-accent-orange, #ff4400);
}

.todey-inline-notice-error .todey-inline-notice-icon {
    color: #ef4444;
}

.todey-inline-notice-info .todey-inline-notice-icon {
    color: #00b4ff;
}

.todey-inline-notice-success .todey-inline-notice-icon {
    color: var(--todey-accent-green, #00e353);
}

.todey-inline-notice-body {
    flex: 1;
    min-width: 0;
}

.todey-inline-notice-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.todey-inline-notice-badge {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    padding: 0 !important;
    border-radius: 0px !important;
    line-height: 1.2;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
}

.todey-inline-notice-warning .todey-inline-notice-badge,
.todey-inline-notice-limit .todey-inline-notice-badge {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--todey-accent-orange, #ff4400) !important;
    border: none !important;
    padding: 0 !important;
}

.todey-inline-notice-error .todey-inline-notice-badge {
    background: transparent !important;
    background-color: transparent !important;
    color: #ef4444 !important;
    border: none !important;
    padding: 0 !important;
}

.todey-inline-notice-info .todey-inline-notice-badge {
    background: transparent !important;
    background-color: transparent !important;
    color: #00b4ff !important;
    border: none !important;
    padding: 0 !important;
}

.todey-inline-notice-success .todey-inline-notice-badge {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--todey-accent-green, #00e353) !important;
    border: none !important;
    padding: 0 !important;
}

.todey-inline-notice-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.todey-inline-notice-message {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    color: #b3b3b3 !important;
    margin: 4px 0 0 0 !important;
}

.todey-inline-notice-actions {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.todey-inline-notice-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

.todey-inline-notice-cta:hover {
    color: var(--todey-accent-orange, #ff4400) !important;
    transform: none !important;
}

.todey-inline-notice-close {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    color: #737373 !important;
    cursor: pointer !important;
    padding: 4px !important;
    margin: 0 !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.15s ease, opacity 0.15s ease !important;
    flex-shrink: 0 !important;
    z-index: 2 !important;
}

.todey-inline-notice-close:hover {
    color: #ffffff !important;
    background: transparent !important;
    background-color: transparent !important;
}

.todey-inline-notice-close svg {
    display: block !important;
    pointer-events: none !important;
}

/* Organization & Section Header Banner Layout (TODEY Luxury Design Baseline) */
.todey-workspace-header-banner {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 20px 24px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 72px !important;
}

.todey-workspace-header-title {
    margin: 0 !important;
    font-family: 'DM SANS', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 20px !important;
    font-weight: 1000 !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
}

.todey-workspace-header-subtitle {
    margin: 4px 0 0 0 !important;
    font-size: 11px !important;
    color: #888888 !important;
    font-family: 'DM Sans', sans-serif !important;
    line-height: 1.4 !important;
}

.todey-workspace-header-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
    flex-shrink: 0 !important;
}

/* Conjoined Quota + Action Toolbar Box */
.todey-workspace-conjoined-action-box {
    display: inline-flex !important;
    align-items: center !important;
    height: 38px !important;
    min-height: 38px !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.todey-workspace-conjoined-quota {
    height: 38px !important;
    line-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 14px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #b3b3b3 !important;
    border-right: 1px solid #141414 !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

.todey-workspace-conjoined-btn {
    height: 38px !important;
    min-height: 38px !important;
    line-height: 36px !important;
    padding: 0 16px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    background: #000000 !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    border-radius: 0px !important;
    outline: none !important;
    white-space: nowrap !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

.todey-workspace-conjoined-btn:hover {
    background: var(--todey-accent-orange, #ff4400) !important;
    color: #000000 !important;
}

.todey-workspace-header-quota {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #888888 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
}

@media (max-width: 768px) {
    .todey-workspace-header-banner {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 16px !important;
        gap: 14px !important;
    }
    .todey-workspace-header-actions {
        width: 100% !important;
        justify-content: flex-start !important;
    }
}

/* ==========================================================================
   TODEY CREATE ORGANIZATION LUXURY MODAL STYLING
   ========================================================================== */
.todey-org-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 99999 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    box-sizing: border-box !important;
}

.todey-org-modal-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 32px 28px !important;
    width: 100% !important;
    max-width: 480px !important;
    position: relative !important;
    box-sizing: border-box !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85) !important;
    animation: todeyModalFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes todeyModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.98) translateY(-4px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.todey-org-modal-close-btn {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    background: transparent !important;
    border: none !important;
    color: #888888 !important;
    cursor: pointer !important;
    font-size: 16px !important;
    padding: 4px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0px !important;
    outline: none !important;
    transition: color 0.15s ease, transform 0.15s ease !important;
}

.todey-org-modal-close-btn:hover {
    color: #ffffff !important;
    transform: none !important;
}

.todey-org-modal-title {
    font-family: 'DM SANS', 'Inter', sans-serif !important;
    font-size: 20px !important;
    font-weight: 1000 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
}

.todey-org-modal-subtitle {
    font-family: 'Space Grotesk', 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #888888 !important;
    line-height: 1.5 !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
}

.todey-org-modal-label {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #b3b3b3 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.todey-org-modal-input {
    height: 38px !important;
    min-height: 38px !important;
    background: #000000 !important;
    background-color: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 0 14px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    width: 100% !important;
    box-sizing: border-box !important;
    outline: none !important;
    box-shadow: none !important;
}

.todey-org-modal-input:focus,
.todey-org-modal-input:active,
.todey-org-modal-input:focus-visible {
    border: 1px solid #141414 !important;
    border-color: #141414 !important;
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
}

.todey-org-modal-submit-btn {
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 0px !important;
    border: 1px solid #141414 !important;
    background: #000000 !important;
    color: #ffffff !important;
    padding: 0 20px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    outline: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease !important;
}

#todey-whop-cancel-modal .todey-org-modal-card {
    position: absolute !important;
    top: 200px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 32px) !important;
    max-width: 560px !important;
    padding: 32px 34px !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.98) !important;
}

@media (max-width: 768px) {
    #todey-whop-cancel-modal .todey-org-modal-card {
        top: 100px !important;
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        padding: 24px 20px !important;
    }
}

@media (max-width: 480px) {
    #todey-whop-cancel-modal .todey-org-modal-card {
        top: 60px !important;
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        padding: 20px 16px !important;
    }
    #todey-whop-cancel-modal .todey-org-modal-card .todey-btn {
        width: 100% !important;
    }
    .todey-billing-settings-card {
        padding: 18px 10px !important;
    }
    .todey-billing-settings-actions {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .todey-billing-settings-actions .todey-btn,
    #todey-whop-update-billing-btn,
    #todey-whop-cancel-membership-btn,
    #todey-whop-reactivate-membership-btn {
        width: 100% !important;
        flex: 1 1 100% !important;
        min-width: 100% !important;
    }
}

.todey-org-modal-submit-btn:hover {
    background: var(--todey-accent-orange, #ff4400) !important;
    color: #000000 !important;
    transform: none !important;
}

.todey-org-modal-quota-alert {
    background: rgba(255, 68, 0, 0.06) !important;
    border: 1px solid rgba(255, 68, 0, 0.25) !important;
    border-radius: 0px !important;
    padding: 14px 16px !important;
    margin-bottom: 20px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 11px !important;
    color: #ff8855 !important;
    line-height: 1.5 !important;
}

/* ==========================================================================
   Projects Hub Workspace Item & Hover Icon States
   ========================================================================== */

.todey-workspace-item {
    padding: 5px 12px !important;
    border: 1px solid #141414 !important;
    background: #000000 !important;
    margin-bottom: 6px !important;
    cursor: pointer !important;
    border-radius: 0px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    transition: background 0.15s ease !important;
    box-sizing: border-box !important;
}

.todey-workspace-item h4 {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    font-family: 'DM Sans', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    color: #ffffff !important;
    transition: color 0.15s ease !important;
}

.todey-workspace-item span,
.todey-workspace-item .todey-workspace-id {
    font-size: 8px !important;
    font-weight: 500 !important;
    color: #888888 !important;
    font-family: 'DM Sans', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2px !important;
}

.todey-workspace-item .todey-workspace-plan-label {
    font-size: 8px !important;
    font-weight: 500 !important;
    color: #888888 !important;
    font-family: 'DM Sans', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2px !important;
}

.todey-workspace-item .todey-workspace-item-chevron,
.todey-workspace-item svg {
    color: #666666 !important;
    stroke: #666666 !important;
    transition: stroke 0.15s ease, color 0.15s ease, transform 0.15s ease !important;
    flex-shrink: 0 !important;
}

/* Hover State: Both Title and Chevron Icon turn Orange */
.todey-workspace-item:hover h4 {
    color: var(--todey-accent-orange, #ff4400) !important;
}

.todey-workspace-item:hover .todey-workspace-item-chevron,
.todey-workspace-item:hover svg {
    stroke: var(--todey-accent-orange, #ff4400) !important;
    color: var(--todey-accent-orange, #ff4400) !important;
    transform: none !important;
}

/* Selected State: Title and Icon Orange */
.todey-workspace-item.is-selected h4 {
    color: var(--todey-accent-orange, #ff4400) !important;
}

.todey-workspace-item.is-selected .todey-workspace-item-chevron,
.todey-workspace-item.is-selected svg {
    stroke: var(--todey-accent-orange, #ff4400) !important;
    color: var(--todey-accent-orange, #ff4400) !important;
}

.todey-workspace-item:hover {
    background: #000000 !important;
}

/* API Analytics Timeframe Toolbar & Export Telemetry Button */
.todey-analytics-timeframe-bar {
    display: inline-flex;
    align-items: stretch;
    height: 38px;
    min-height: 38px;
    background: #000000 !important;
    border: 1px solid #141414;
    border-radius: 0px !important;
    box-sizing: border-box;
    padding: 0;
}

.todey-analytics-timeframe-bar .todey-time-btn {
    height: 36px;
    min-height: 36px;
    line-height: 36px;
    padding: 0 15px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    border: none;
    border-radius: 0px !important;
    background: #000000;
    color: #888888;
    cursor: pointer;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.todey-analytics-timeframe-bar .todey-time-btn:hover:not(.active) {
    background: #111111;
    color: #ffffff;
}

.todey-analytics-timeframe-bar .todey-time-btn.active {
    background: var(--todey-accent-orange, #ff4400) !important;
    color: #000000 !important;
}

#todey-export-telemetry-btn {
    height: 38px !important;
    min-height: 38px !important;
    line-height: 36px !important;
    padding: 0 16px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border-radius: 0px !important;
    border: 1px solid #141414 !important;
    background: #000000 !important;
    color: #ffffff !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease !important;
}

#todey-export-telemetry-btn:hover {
    background: var(--todey-accent-orange, #ff4400) !important;
    color: #000000 !important;
    transform: none !important;
}

/* Archived Ticket Luxury Notice Banner */
.todey-ticket-archived-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.todey-ticket-archived-banner-icon {
    flex-shrink: 0;
    margin-top: 2px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: 1px solid #141414;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.todey-ticket-archived-badge {
    color: #ff4400;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 9.5px;
    letter-spacing: 0.06em;
    padding: 2px 6px;
    background: #ff440014;
    border: 1px solid #ff440033;
    border-radius: 0px;
    display: inline-block;
}

/* Resolved Ticket Luxury Notice Banner */
.todey-ticket-resolved-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.todey-ticket-resolved-banner-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: transparent;
    border: 1px solid #141414;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* My Tickets Table View Action Button */
.todey-view-ticket-btn {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
    padding: 0 !important;
    height: 28px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    transition: color 0.15s ease !important;
    transform: none !important;
    border-radius: 0px !important;
}

.todey-view-ticket-btn:hover,
.todey-view-ticket-btn:focus,
.todey-view-ticket-btn:active {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: var(--todey-accent-orange, #ff4400) !important;
    transform: none !important;
}

.todey-table th.todey-ticket-col-action,
.todey-table td.todey-ticket-col-action,
.todey-user-tickets-table th:last-child,
.todey-user-tickets-table td:last-child {
    text-align: right !important;
}

/* ==========================================================================
   USER DIRECTORY ACCOUNT GOVERNANCE & SETTINGS BENTO DRAWER
   ========================================================================== */

.todey-admin-gov-container {
    background: #000000 !important;
    padding: 24px 0 !important;
    border-top: 1px solid #141414 !important;
    box-sizing: border-box !important;
}

.todey-admin-gov-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid #141414;
}

.todey-admin-gov-user-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.todey-admin-gov-user-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin: 0;
}

.todey-admin-gov-id-tag {
    font-family: monospace;
    font-size: 10px;
    color: #888888;
    background: #111111;
    border: 1px solid #141414;
    padding: 2px 8px;
    border-radius: 0px;
}

.todey-admin-gov-status-badge {
    font-family: monospace;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 0px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.todey-admin-gov-status-active {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.todey-admin-gov-status-banned {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.todey-admin-gov-meta-subtext {
    font-size: 11px;
    color: #888888;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.todey-admin-gov-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: stretch;
}

@media (max-width: 960px) {
    .todey-admin-gov-grid {
        grid-template-columns: 1fr;
    }
}

.todey-admin-gov-card {
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.todey-admin-gov-card-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.todey-admin-gov-card-footer {
    margin-top: auto;
    padding-top: 4px;
}

.todey-admin-gov-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #141414;
    gap: 10px;
}

.todey-admin-gov-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--todey-accent-orange, #ff4400);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.todey-admin-gov-card-title.danger {
    color: #ff0000;
}

.todey-admin-gov-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.todey-admin-gov-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888888;
    margin: 0;
}

.todey-admin-gov-input,
.todey-admin-gov-select {
    height: 38px !important;
    min-height: 38px !important;
    line-height: 38px !important;
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    font-family: var(--todey-font-sans, sans-serif) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    outline: none !important;
    box-shadow: none !important;
    transition: none !important;
}

.todey-admin-gov-select,
.todey-admin-override-primary,
.todey-admin-override-secondary,
.todey-admin-override-status {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 10px !important;
    padding-right: 36px !important;
    cursor: pointer !important;
}

.todey-admin-gov-input:focus,
.todey-admin-gov-input:active,
.todey-admin-gov-input:focus-visible,
.todey-admin-gov-select:focus,
.todey-admin-gov-select:active,
.todey-admin-gov-select:focus-visible {
    border-color: #141414 !important;
    outline: none !important;
    box-shadow: none !important;
    background: #000000 !important;
}

.todey-admin-gov-input.readonly {
    color: #888888 !important;
    font-family: monospace !important;
    cursor: not-allowed !important;
    background: #050505 !important;
}

.todey-admin-gov-textarea {
    min-height: 60px !important;
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 8px 12px !important;
    font-size: 11px !important;
    font-family: var(--todey-font-sans, sans-serif) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    resize: vertical;
    outline: none !important;
    box-shadow: none !important;
}

.todey-admin-gov-textarea:focus,
.todey-admin-gov-textarea:active {
    border-color: #141414 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Date input normalization */
input[type="date"].todey-admin-gov-input,
input[type="date"].todey-input {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    line-height: 38px !important;
    padding: 0 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    color: #ffffff !important;
    background-color: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
}

input[type="date"].todey-admin-gov-input::-webkit-datetime-edit,
input[type="date"].todey-input::-webkit-datetime-edit {
    padding: 0 !important;
    height: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 38px !important;
}

input[type="date"].todey-admin-gov-input::-webkit-datetime-edit-fields-wrapper,
input[type="date"].todey-input::-webkit-datetime-edit-fields-wrapper {
    padding: 0 !important;
}

input[type="date"].todey-admin-gov-input::-webkit-calendar-picker-indicator,
input[type="date"].todey-input::-webkit-calendar-picker-indicator {
    filter: invert(1) !important;
    cursor: pointer !important;
    opacity: 0.75 !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 14px !important;
    width: 14px !important;
    transition: opacity 0.15s ease !important;
}

input[type="date"].todey-admin-gov-input::-webkit-calendar-picker-indicator:hover,
input[type="date"].todey-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1 !important;
}

/* Checkbox card styling */
.todey-admin-gov-checkbox-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    box-sizing: border-box;
    cursor: pointer;
    transition: background 0.15s ease;
}

.todey-admin-gov-checkbox-card:hover {
    background: #080808;
}

.todey-admin-gov-checkbox-card input[type="checkbox"] {
    accent-color: #ff4400;
    width: 15px;
    height: 15px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Conjoined Toolbar Container */
.todey-admin-conjoined-bar {
    display: inline-flex;
    height: 38px;
    min-height: 38px;
    border: 1px solid #141414;
    border-radius: 0px;
    background: #000000;
    overflow: hidden;
    width: fit-content;
}

.todey-admin-conjoined-bar button:not(.todey-admin-tf-btn) {
    flex: 0 0 auto !important;
    height: 38px !important;
    min-height: 38px !important;
    line-height: 1 !important;
    border: none !important;
    border-right: none !important;
    border-radius: 0px !important;
    background: transparent;
    color: #888888;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer;
    padding: 0 16px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.15s ease, color 0.15s ease;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.todey-admin-conjoined-bar button:not(.todey-admin-tf-btn):hover {
    transform: none !important;
}

.todey-admin-conjoined-bar button:not(.todey-admin-tf-btn).active {
    background: var(--todey-accent-orange, #ff4400) !important;
    color: #000000 !important;
    transform: none !important;
}

.todey-admin-conjoined-bar.todey-admin-conjoined-bar-full {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    min-width: 100%;
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    padding: 0;
    margin: 0 0 24px 0;
    height: 38px;
    min-height: 38px;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.todey-admin-conjoined-bar.todey-admin-conjoined-bar-full button:not(.todey-admin-tf-btn),
.todey-admin-conjoined-bar.todey-admin-conjoined-bar-full a:not(.todey-admin-tf-btn),
.todey-admin-conjoined-bar .todey-docs-tab-btn,
.todey-admin-conjoined-bar .todey-docs-main-tab-btn,
.todey-admin-proj-tab,
.todey-admin-an-tab,
.todey-admin-perm-tab {
    flex: 0 0 auto !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 18px !important;
    height: 38px !important;
    min-height: 38px !important;
    line-height: 1 !important;
    background: transparent !important;
    color: #888888;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    border: none !important;
    border-right: none !important;
    border-radius: 0px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.todey-admin-conjoined-bar.todey-admin-conjoined-bar-full button:not(:last-child),
.todey-admin-conjoined-bar.todey-admin-conjoined-bar-full a:not(:last-child),
.todey-admin-conjoined-bar button:not(:last-child):not(.todey-admin-tf-btn),
.todey-admin-conjoined-bar a:not(:last-child):not(.todey-admin-tf-btn),
.todey-admin-conjoined-bar .todey-docs-tab-btn:not(:last-child),
.todey-admin-conjoined-bar .todey-docs-main-tab-btn:not(:last-child),
.todey-admin-proj-tab {
    border-right: none !important;
}

.todey-admin-conjoined-bar.todey-admin-conjoined-bar-full button:not(.todey-admin-tf-btn):hover:not(.active),
.todey-admin-conjoined-bar.todey-admin-conjoined-bar-full a:not(.todey-admin-tf-btn):hover:not(.active),
.todey-admin-conjoined-bar .todey-docs-tab-btn:hover:not(.active),
.todey-admin-conjoined-bar .todey-docs-main-tab-btn:hover:not(.active),
.todey-admin-proj-tab:hover:not(.active),
.todey-admin-an-tab:hover:not(.active),
.todey-admin-perm-tab:hover:not(.active) {
    background: #080808 !important;
    color: #ffffff !important;
    transform: none !important;
}

.todey-admin-conjoined-bar.todey-admin-conjoined-bar-full button:not(.todey-admin-tf-btn).active,
.todey-admin-conjoined-bar.todey-admin-conjoined-bar-full a:not(.todey-admin-tf-btn).active,
.todey-admin-conjoined-bar .todey-docs-tab-btn.active,
.todey-admin-conjoined-bar .todey-docs-main-tab-btn.active,
.todey-admin-proj-tab.active,
.todey-admin-an-tab.active,
.todey-admin-perm-tab.active {
    background: var(--todey-accent-orange, #ff4400) !important;
    color: #000000 !important;
    font-weight: 800 !important;
    transform: none !important;
}

/* Timeframe Selector Pill HUD */
.todey-admin-analytics-tf-wrap {
    display: inline-flex !important;
    align-items: center !important;
    height: 25px !important;
    min-height: 25px !important;
    max-height: 25px !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 2px !important;
    gap: 2px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin-left: auto !important;
    margin-right: 6px !important;
    flex-shrink: 0 !important;
    transform: none !important;
}

.todey-admin-conjoined-bar .todey-admin-tf-btn,
.todey-admin-analytics-tf-wrap .todey-admin-tf-btn,
button.todey-admin-tf-btn {
    flex: 0 0 auto !important;
    height: 19px !important;
    min-height: 19px !important;
    max-height: 19px !important;
    line-height: 19px !important;
    padding: 0 8px !important;
    font-family: monospace !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0px !important;
    border: none !important;
    border-radius: 0px !important;
    background: transparent !important;
    color: #b3b3b3 !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    transform: none !important;
}

.todey-admin-conjoined-bar .todey-admin-tf-btn:hover:not(.active),
.todey-admin-analytics-tf-wrap .todey-admin-tf-btn:hover:not(.active),
button.todey-admin-tf-btn:hover:not(.active) {
    background: #080808 !important;
    color: #ffffff !important;
    transform: none !important;
}

.todey-admin-conjoined-bar .todey-admin-tf-btn.active,
.todey-admin-analytics-tf-wrap .todey-admin-tf-btn.active,
button.todey-admin-tf-btn.active {
    background: var(--todey-accent-orange, #ff4400) !important;
    color: #000000 !important;
    font-weight: 800 !important;
    transform: none !important;
}

/* Preset Toolbar for Presets */
.todey-admin-presets-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 0;
}

.todey-admin-presets-bar button {
    flex: 1;
    height: 28px !important;
    min-height: 28px !important;
    line-height: 26px !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    background: #111111;
    color: #ffffff;
    font-family: monospace !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer;
    padding: 0 4px !important;
    outline: none !important;
    box-shadow: none !important;
}

.todey-admin-presets-bar button.active {
    background: var(--todey-accent-orange, #ff4400) !important;
    color: #000000 !important;
    border-color: #141414 !important;
}

/* Workspace Items in Bento Card */
.todey-admin-ws-row {
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    padding: 0px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 26px;
    box-sizing: border-box;
}

.todey-admin-ws-data {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
    flex: 1;
}

.todey-admin-ws-name {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.todey-admin-ws-meta {
    font-size: 10px;
    color: #888888;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.todey-admin-ws-plan-tag {
    font-family: monospace;
    font-size: 10px;
    font-weight: 700;
    color: var(--todey-accent-orange, #ff4400);
    text-transform: uppercase;
}

.todey-admin-ws-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .todey-admin-ws-grid {
        grid-template-columns: 1fr;
    }
}

/* Workspace Owner Bar & Sub-Resource Rows */
.todey-admin-ws-owner-bar {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 11px !important;
    font-family: 'DM Sans', sans-serif !important;
}

.todey-admin-ws-sub-row {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    transition: background 0.15s ease !important;
}

.todey-admin-ws-sub-row:hover {
    background: #080808 !important;
}

.todey-admin-sibling-ws-row {
    cursor: pointer !important;
}

.todey-admin-ws-override-name {
    font-family: 'DM Sans', sans-serif !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    height: 38px !important;
    line-height: 38px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    outline: none !important;
    box-shadow: none !important;
}

.todey-admin-switch-ws-btn {
    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    line-height: 22px !important;
    font-size: 10px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0 6px !important;
    margin: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    border-radius: 0px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.15s ease !important;
}

.todey-admin-switch-ws-btn:hover {
    color: var(--todey-accent-orange, #ff4400) !important;
    background: transparent !important;
    border: none !important;
    transform: none !important;
}

.todey-admin-ws-member-remove,
.todey-admin-user-remove-single-org {
    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    line-height: 22px !important;
    font-size: 10px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0 6px !important;
    margin: 0 !important;
    background: transparent !important;
    color: #ff0000 !important;
    border: none !important;
    cursor: pointer !important;
    border-radius: 0px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.15s ease !important;
}

.todey-admin-ws-member-remove:hover,
.todey-admin-user-remove-single-org:hover {
    color: #ff3333 !important;
    background: transparent !important;
    border: none !important;
    transform: none !important;
}

/* ==========================================================================
   USER MODERATION & LIMITS ADMIN STYLES (.todey-mod-*)
   Strict TODEY-Console Luxury Enterprise Alignment:
   - Base & Cards: 100% Solid Pure Black #000000
   - Interactive Hover Surfaces: #111111
   - Universal Borders: 1px solid #141414 (Static on hover & focus)
   - Border Radius: Strictly 0px (Flat/Sharp Geometry)
   - Accent Tokens: Primary #ff4400, Positive #00ff66, Error #ff0000
   - Standardized 38px Inputs, Chevron Dropdowns & Un-skewed Rectangular Buttons
   ========================================================================== */

/* Fix duplicate checkbox rendering caused by global input[type="checkbox"] */
.todey-mod-hidden-checkbox {
    display: none !important;
    position: absolute !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

.todey-mod-container {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 20px !important;
    margin-bottom: 24px !important;
    box-sizing: border-box !important;
}

.todey-mod-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
    flex-wrap: wrap !important;
    border: none !important;
    padding-left: 0 !important;
}

.todey-mod-header-left {
    flex: 1 !important;
    min-width: 260px !important;
    border-left: 3px solid #ff4400 !important;
    padding-left: 14px !important;
}

.todey-mod-title {
    margin: 0 0 4px 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    font-family: 'DM Sans', sans-serif !important;
    line-height: 1.2 !important;
}

.todey-mod-subtitle {
    margin: 0 !important;
    font-size: 11.5px !important;
    color: #888888 !important;
    font-family: 'DM Sans', sans-serif !important;
    line-height: 1.4 !important;
}

.todey-mod-search-wrap {
    position: relative !important;
    margin: 0 !important;
    width: 340px !important;
    max-width: 100% !important;
}

.todey-mod-search-label {
    display: block !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    color: #888888 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 6px !important;
    font-family: 'Space Grotesk', sans-serif !important;
}

.todey-mod-search-input {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 12px 0 38px !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    color: #ffffff !important;
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 0px !important;
    font-size: 12px !important;
    font-family: 'DM Sans', sans-serif !important;
    transition: none !important;
}

/* Universal Search Icon Micro-Interaction: Rotate 90deg and turn Orange on focus */
.todey-search-icon,
.todey-mod-search-wrap svg,
.todey-search-box-wrap svg {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) rotate(0deg) !important;
    transform-origin: center center !important;
    color: #888888 !important;
    pointer-events: none !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease !important;
}

.todey-mod-search-wrap:focus-within svg,
.todey-mod-search-wrap:focus-within .todey-search-icon,
.todey-mod-search-input:focus ~ svg,
.todey-mod-search-input:focus ~ .todey-search-icon,
.todey-search-box-wrap:focus-within svg,
.todey-search-box-wrap:focus-within .todey-search-icon,
.todey-search-box-wrap input:focus ~ svg,
.todey-search-box-wrap input:focus ~ .todey-search-icon {
    color: #ff4400 !important;
    transform: translateY(-50%) rotate(90deg) !important;
}

.todey-mod-search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    margin-top: 4px;
    border-radius: 0px !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.95);
}

.todey-mod-search-item {
    padding: 8px 12px;
    border-bottom: 1px solid #ffffff0a;
    cursor: pointer;
    color: #ffffff;
    font-size: 11.5px;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.12s ease, color 0.12s ease;
    user-select: none;
}

.todey-mod-search-item:last-child {
    border-bottom: none;
}

.todey-mod-search-item:hover {
    background: #080808 !important;
}

.todey-mod-search-item:hover div:first-child {
    color: #ff4400 !important;
}

/* Moderated & Restricted Profiles Table — Strict HUD Alignment */
.todey-mod-table-wrap {
    border: 1px solid #141414 !important;
    background: #000000 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin-bottom: 20px !important;
    border-radius: 0px !important;
    box-sizing: border-box !important;
}

.todey-mod-table,
.todey-mod-table thead,
.todey-mod-table tbody,
.todey-mod-table tr {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.todey-mod-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #000000 !important;
    text-align: left !important;
    margin: 0 !important;
    border: none !important;
}

.todey-mod-table th {
    padding: 12px 16px !important;
    background: #000000 !important;
    border: none !important;
    border-bottom: 1px solid #141414 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #888888 !important;
    font-family: 'DM Sans', sans-serif !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.todey-mod-table td {
    padding: 12px 16px !important;
    background: #000000 !important;
    border: none !important;
    border-bottom: 1px solid #141414 !important;
    font-size: 11.5px !important;
    color: #ffffff !important;
    font-family: 'DM Sans', sans-serif !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.todey-mod-table tbody tr {
    cursor: pointer !important;
    background: #000000 !important;
}

.todey-mod-table tbody tr:hover td {
    background: #000000 !important;
}

.todey-mod-table tbody tr.is-selected td {
    background: #000000 !important;
}

.todey-mod-table tbody tr.is-selected td:first-child {
    border-left: 2px solid #ff4400 !important;
    padding-left: 14px !important;
}

.todey-mod-table tbody tr:last-child td {
    border-bottom: none !important;
}

.todey-mod-badge-suspended {
    background: #ff0000 !important;
    color: #000000 !important;
    font-family: 'Roboto Mono', monospace !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    padding: 2px 7px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    display: inline-block !important;
}

.todey-mod-badge-active {
    background: #00e353 !important;
    color: #000000 !important;
    font-family: 'Roboto Mono', monospace !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    padding: 2px 7px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    display: inline-block !important;
}

/* Hero Target Profile Bento */
.todey-mod-profile-hero {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 14px 18px !important;
    margin-bottom: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    box-sizing: border-box !important;
}

.todey-mod-profile-hero .todey-mod-ban-banner {
    width: 100% !important;
    margin-top: 12px !important;
}

.todey-mod-hero-identity {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.todey-mod-hero-avatar {
    width: 38px;
    height: 38px;
    background: #111111;
    border: 1px solid #141414;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4400;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.todey-mod-hero-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.todey-mod-hero-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.todey-mod-hero-name {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.todey-mod-hero-login {
    font-family: 'DM Sans', sans-serif;
    font-size: 11.5px;
    color: #888888;
}

.todey-mod-hero-sub-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.todey-mod-hero-email {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    color: #888888;
}

.todey-mod-hero-id {
    font-family: 'Roboto Mono', monospace;
    font-size: 9.5px;
    color: #666666;
    background: #0d0d0d;
    padding: 1px 6px;
    border: 1px solid #141414;
}

.todey-mod-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.todey-mod-hero-deselect-btn {
    font-family: 'Roboto Mono', monospace !important;
    font-size: 9.5px !important;
    font-weight: 600 !important;
    height: 26px !important;
    line-height: 24px !important;
    padding: 0 10px !important;
    background: transparent !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    color: #888888 !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

.todey-mod-hero-deselect-btn:hover {
    background: #080808 !important;
    color: #ffffff !important;
}

/* 2-Column Balanced Bento Grid */
.todey-mod-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    align-items: stretch !important;
}

@media (max-width: 960px) {
    .todey-mod-grid {
        grid-template-columns: 1fr !important;
    }
}

.todey-mod-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 16px 18px !important;
    box-sizing: border-box !important;
    text-align: left;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.todey-mod-card-title {
    margin: 0 0 12px 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #888888 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    border-bottom: 1px solid #141414 !important;
    padding-bottom: 8px !important;
    font-family: 'DM Sans', sans-serif !important;
}

.todey-mod-access-box {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 12px 14px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    box-sizing: border-box !important;
}

.todey-mod-ban-banner {
    background: #000000 !important;
    border: 1px solid #ff440040 !important;
    padding: 6px 14px !important;
    margin-top: 10px !important;
    font-size: 11px !important;
    font-family: 'DM Sans', sans-serif !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    min-height: 28px !important;
}

.todey-mod-toggle-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.todey-mod-toggle-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 12px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    text-align: left !important;
}

.todey-mod-toggle-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.todey-mod-toggle-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    font-family: 'DM Sans', sans-serif !important;
    margin: 0 !important;
}

.todey-mod-toggle-desc {
    font-size: 10.5px !important;
    color: #888888 !important;
    line-height: 1.4 !important;
    font-family: 'DM Sans', sans-serif !important;
    margin: 0 !important;
}

.todey-mod-checkbox {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
}

.todey-mod-select {
    height: 38px !important;
    min-height: 38px !important;
    box-sizing: border-box !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    color: #ffffff !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11.5px !important;
    padding: 0 36px 0 12px !important;
    width: 100% !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23888888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    cursor: pointer !important;
    transition: none !important;
}

.todey-mod-date-input {
    height: 38px !important;
    min-height: 38px !important;
    box-sizing: border-box !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    color: #ffffff !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11.5px !important;
    padding: 0 12px !important;
    width: 100% !important;
    color-scheme: dark !important;
    transition: none !important;
}

.todey-mod-textarea {
    box-sizing: border-box !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    color: #ffffff !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11.5px !important;
    padding: 10px 12px !important;
    width: 100% !important;
    min-height: 60px !important;
    resize: vertical !important;
    transition: none !important;
}

/* Enforce static border on active/focused states */
.todey-mod-select:focus,
.todey-mod-select:active,
.todey-mod-search-input:focus,
.todey-mod-search-input:active,
.todey-mod-date-input:focus,
.todey-mod-date-input:active,
.todey-mod-textarea:focus,
.todey-mod-textarea:active {
    border: 1px solid #141414 !important;
    border-color: #141414 !important;
    outline: none !important;
    box-shadow: none !important;
    background-color: #000000 !important;
}

.todey-mod-action-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    border-top: 1px solid #141414 !important;
    padding-top: 16px !important;
    margin-top: 16px !important;
    flex-wrap: wrap !important;
}

.todey-mod-save-btn {
    height: 38px !important;
    min-height: 38px !important;
    line-height: 36px !important;
    padding: 0 22px !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    color: #ffffff !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.todey-mod-save-btn:hover {
    background: #ff4400 !important;
    color: #000000 !important;
    transform: none !important;
}

.todey-mod-save-btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* ==========================================================================
   Crypto Payments Sub-Navigation Full-Width Toolbar (S-3206)
   ========================================================================== */
.todey-admin-pay-nav-wrap {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    margin-bottom: 24px !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
}

.todey-admin-pay-nav-wrap::-webkit-scrollbar {
    display: none !important;
}

.todey-admin-pay-nav {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 38px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.todey-admin-pay-tab {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    min-height: 38px !important;
    line-height: 38px !important;
    padding: 0 20px !important;
    background: transparent !important;
    color: #ffffff !important;
    font-family: space-grotesk, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 0px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
    position: relative !important;
}

.todey-admin-pay-tab:hover {
    background: #080808 !important;
    color: #ffffff !important;
}

.todey-admin-pay-tab.active {
    background: #ff4400 !important;
    color: #000000 !important;
    font-weight: 800 !important;
    border: none !important;
}

.todey-admin-pay-tab .todey-admin-queue-badge {
    background: #ff4400;
    color: #000000;
    border-radius: 0px;
    padding: 1px 6px;
    font-size: 9px;
    font-weight: 900;
    margin-left: 6px;
    font-family: roboto-mono, monospace;
    line-height: 1;
    display: inline-block;
}

.todey-admin-pay-tab.active .todey-admin-queue-badge {
    background: #000000;
    color: #ffffff;
}

/* ==========================================================================
   Treasury Settings Bento Cards & Form Controls (S-3207)
   ========================================================================== */
.todey-treasury-dual-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
}

@media (max-width: 900px) {
    .todey-treasury-dual-grid {
        grid-template-columns: 1fr !important;
    }
}

.todey-whop-fields-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 900px) {
    .todey-whop-fields-grid {
        grid-template-columns: 1fr !important;
    }
}

.todey-treasury-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.todey-pw-toggle-btn {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    color: #888888 !important;
    cursor: pointer !important;
    padding: 0 !important;
    font-size: 13px !important;
    outline: none !important;
    transition: color 0.15s ease !important;
}

.todey-pw-toggle-btn:hover {
    color: #ff4400 !important;
}

.todey-treasury-card-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-left: 2px solid #ff4400 !important;
    padding-left: 10px !important;
    margin-bottom: 6px !important;
}

.todey-treasury-card-title {
    font-family: space-grotesk, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #ffffff !important;
}

.todey-treasury-card-desc {
    font-size: 11px !important;
    color: #888888 !important;
    margin: 0 0 14px 0 !important;
    line-height: 1.4 !important;
}

.todey-treasury-checkbox-wrap {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 10px 12px !important;
    margin-bottom: 14px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    box-sizing: border-box !important;
}

.todey-treasury-checkbox-wrap input[type="checkbox"] {
    box-sizing: border-box !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    aspect-ratio: 1 / 1 !important;
    flex-shrink: 0 !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
    border: 1px solid #141414 !important;
    background-color: #000000 !important;
    border-radius: 0px !important;
    position: relative !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer !important;
}

.todey-treasury-checkbox-wrap input[type="checkbox"]:checked {
    background-color: #ff4400 !important;
    border-color: #ff4400 !important;
}

.todey-treasury-checkbox-wrap input[type="checkbox"]:checked::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 6px !important;
    height: 6px !important;
    aspect-ratio: 1 / 1 !important;
    background-color: #000000 !important;
    border-radius: 0px !important;
}

.todey-admin-save-treasury-btn {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 20px !important;
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    font-family: space-grotesk, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease !important;
}

.todey-admin-save-treasury-btn:hover {
    background: #ff4400 !important;
    color: #000000 !important;
    transform: none !important;
}

.todey-admin-save-treasury-btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Conflict Review Queue Buttons */
.todey-btn-queue-resolve {
    width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    font-family: space-grotesk, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    background: #000000 !important;
    box-shadow: none !important;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease !important;
}

.todey-btn-queue-resolve.approve {
    border: 1px solid #141414 !important;
    color: #22c55e !important;
}

.todey-btn-queue-resolve.approve:hover {
    background: #22c55e !important;
    color: #000000 !important;
    border: 1px solid #141414 !important;
    transform: none !important;
}

.todey-btn-queue-resolve.reject {
    border: 1px solid #141414 !important;
    color: #ff0000 !important;
}

.todey-btn-queue-resolve.reject:hover {
    background: #ff0000 !important;
    color: #000000 !important;
    border: 1px solid #141414 !important;
    transform: none !important;
}

.todey-btn-queue-resolve:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Diagnostic Log Terminal */
.todey-log-terminal {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.todey-log-terminal-header {
    height: 34px !important;
    background: #000000 !important;
    border-bottom: 1px solid #141414 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 14px !important;
    font-family: var(--todey-font-sans, 'DM Sans', sans-serif) !important;
    font-size: 10px !important;
    color: #888888 !important;
    box-sizing: border-box !important;
}

.todey-log-terminal-body {
    background: #000000 !important;
    padding: 6px 0 !important;
    font-family: var(--todey-font-mono, monospace) !important;
    box-sizing: border-box !important;
}

.todey-log-entry {
    padding: 7px 14px !important;
    border-bottom: 1px solid #141414 !important;
    font-family: var(--todey-font-mono, monospace) !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    display: flex !important;
    gap: 16px !important;
    align-items: baseline !important;
    transition: background 0.15s ease !important;
    box-sizing: border-box !important;
}

.todey-log-entry:hover {
    background: #080808 !important;
}

.todey-log-entry:last-child {
    border-bottom: none !important;
}

.todey-log-time {
    color: #555555 !important;
    font-size: 10.5px !important;
    width: 155px !important;
    min-width: 155px !important;
    max-width: 155px !important;
    flex-shrink: 0 !important;
    user-select: none !important;
}

.todey-log-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    border-radius: 0px !important;
    flex-shrink: 0 !important;
    width: 65px !important;
    min-width: 65px !important;
    max-width: 65px !important;
    box-sizing: border-box !important;
    user-select: none !important;
}

.todey-log-badge.error {
    background: transparent !important;
    color: #ff0000 !important;
    border: none !important;
}

.todey-log-badge.warning,
.todey-log-badge.warn {
    background: transparent !important;
    color: #ff4400 !important;
    border: none !important;
}

.todey-log-badge.info {
    background: transparent !important;
    color: #888888 !important;
    border: none !important;
}

.todey-log-badge.success {
    background: transparent !important;
    color: #00ff66 !important;
    border: none !important;
}

.todey-log-msg {
    color: #cccccc !important;
    word-break: break-word !important;
    flex: 1 !important;
    min-width: 0 !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
}

/* Diagnostic Logs Unified Luxury Toolbar */
.todey-log-header-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    margin-bottom: 16px !important;
    gap: 14px !important;
}

.todey-log-title-block {
    border-left: 2px solid #ff4400 !important;
    padding-left: 10px !important;
}

.todey-log-toolbar {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

.todey-log-search-box {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    height: 38px !important;
    box-sizing: border-box !important;
}

.todey-log-search-icon {
    position: absolute !important;
    left: 11px !important;
    top: 50% !important;
    transform: translateY(-50%) rotate(0deg) !important;
    width: 13px !important;
    height: 13px !important;
    color: #888888 !important;
    pointer-events: none !important;
    transition: transform 0.25s ease, color 0.25s ease !important;
}

.todey-log-search-box:focus-within .todey-log-search-icon {
    transform: translateY(-50%) rotate(90deg) !important;
    color: #ff4400 !important;
}

.todey-log-search-input {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    line-height: 36px !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    color: #ffffff !important;
    font-family: space-grotesk, sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    padding: 0 10px 0 32px !important;
    width: 220px !important;
    min-width: 180px !important;
    box-sizing: border-box !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease !important;
    flex-shrink: 0 !important;
}

.todey-log-search-input::placeholder {
    color: #666666 !important;
    opacity: 1 !important;
    font-size: 10.5px !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

.todey-log-search-input::-webkit-input-placeholder {
    color: #666666 !important;
    opacity: 1 !important;
    font-size: 10.5px !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

.todey-log-search-input::-moz-placeholder {
    color: #666666 !important;
    opacity: 1 !important;
    font-size: 10.5px !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

.todey-log-search-input:-ms-input-placeholder {
    color: #666666 !important;
    opacity: 1 !important;
    font-size: 10.5px !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

.todey-log-select {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    line-height: 36px !important;
    width: auto !important;
    min-width: 130px !important;
    max-width: 160px !important;
    flex-shrink: 0 !important;
    background: #000000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    color: #ffffff !important;
    font-family: space-grotesk, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 0 30px 0 14px !important;
    box-sizing: border-box !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    letter-spacing: 0.04em !important;
}

.todey-log-select option {
    background: #000000 !important;
    color: #ffffff !important;
}

.todey-log-btn {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    line-height: 36px !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    color: #ffffff !important;
    font-family: space-grotesk, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
}

.todey-log-btn:hover {
    background: #ff4400 !important;
    color: #000000 !important;
    transform: none !important;
}

.todey-log-btn svg {
    flex-shrink: 0 !important;
}

/* ==========================================================================
   ADMIN SUBSCRIPTIONS & RESOURCE LIMITS BENTO GRID
   ========================================================================== */
.todey-tier-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 14px !important;
}

.todey-tier-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.todey-tier-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid #141414 !important;
    padding-bottom: 8px !important;
}

.todey-tier-title-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.todey-tier-num {
    font-family: var(--todey-font-mono, monospace) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #ff4400 !important;
    letter-spacing: 0.5px !important;
}

.todey-tier-title {
    margin: 0 !important;
    font-family: 'Space Grotesk', var(--todey-font-sans, sans-serif) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    letter-spacing: 0.5px !important;
}

.todey-tier-badge {
    font-family: var(--todey-font-mono, monospace) !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 2px 8px !important;
    border-radius: 0px !important;
    letter-spacing: 0.5px !important;
}

.todey-tier-badge.tier-starter {
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    background: rgba(34, 197, 94, 0.08) !important;
    color: #22c55e !important;
}

.todey-tier-badge.tier-pro {
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    background: rgba(59, 130, 246, 0.08) !important;
    color: #3b82f6 !important;
}

.todey-tier-badge.tier-business {
    border: 1px solid rgba(192, 132, 252, 0.3) !important;
    background: rgba(192, 132, 252, 0.08) !important;
    color: #c084fc !important;
}

.todey-tier-badge.tier-enterprise {
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    background: rgba(245, 158, 11, 0.08) !important;
    color: #f59e0b !important;
}

.todey-tier-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.todey-tier-section-title {
    font-family: 'Space Grotesk', var(--todey-font-sans, sans-serif) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #888888 !important;
    margin: 0 !important;
}

.todey-tier-price-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
}

.todey-tier-limit-table {
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid #141414 !important;
    background: #000000 !important;
}

.todey-tier-limit-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 4px 8px !important;
    border-bottom: 1px solid #ffffff0a !important;
}

.todey-tier-limit-row:last-child {
    border-bottom: none !important;
}

.todey-tier-limit-label {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #b3b3b3 !important;
}

.todey-tier-limit-input {
    width: 80px !important;
    height: 30px !important;
    min-height: 30px !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    color: #ffffff !important;
    font-family: var(--todey-font-mono, monospace) !important;
    font-size: 11px !important;
    text-align: right !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
}

.todey-tier-limit-input:focus {
    border-color: #141414 !important;
    outline: none !important;
    box-shadow: none !important;
}

.todey-tier-card .plan-features {
    overflow-y: hidden !important;
    resize: none !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   Admin Directory Luxury Conjoined Pagination (50-Row Baseline)
   ========================================================================== */
.todey-admin-pagination-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 18px 0 0 0 !important;
    margin-top: 20px !important;
    border-top: 1px solid #141414 !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.todey-admin-pagination-info {
    font-family: 'Space Grotesk', -apple-system, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #888888 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.todey-admin-pagination-bar {
    height: 38px !important;
    min-height: 38px !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    background: #000000 !important;
    overflow: hidden !important;
    display: inline-flex !important;
    width: fit-content !important;
    gap: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.todey-admin-page-btn {
    flex: 0 0 auto !important;
    height: 38px !important;
    min-height: 38px !important;
    line-height: 38px !important;
    padding: 0 14px !important;
    background: transparent !important;
    color: #888888 !important;
    font-family: 'Space Grotesk', monospace !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    border-right: none !important;
    border-radius: 0px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.todey-admin-page-btn:hover:not(:disabled):not(.active) {
    background: #080808 !important;
    color: #ffffff !important;
    transform: none !important;
}

.todey-admin-page-btn.active {
    background: var(--todey-accent-orange, #ff4400) !important;
    color: #000000 !important;
    font-weight: 800 !important;
    transform: none !important;
}

.todey-admin-page-btn:disabled,
.todey-admin-page-btn.disabled {
    opacity: 0.25 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: none !important;
}

.todey-admin-page-ellipsis {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 10px !important;
    color: #555555 !important;
    font-family: monospace !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    user-select: none !important;
    background: transparent !important;
    border: none !important;
    border-right: none !important;
}

/* ============================================================================
   TODEY Dynamic Extension Modules & Tabs Architecture
   ============================================================================ */
#todey-personal-extensions-zone {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
}

.todey-extension-module-wrap {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ============================================================================
   TODEY Multi-Screen & Small Mobile (340px) Responsiveness Hardening
   Zero Desktop Regressions | Institutional Dark Aesthetic | Pure CSS Additions
   ============================================================================ */

/* 1. Global Table Wrappers - Guaranteed Touch Scrollability */
.todey-table-wrap,
.todey-mod-table-wrap,
.todey-table-responsive,
.todey-table-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
}

/* 2. Admin Invoice Modal Multi-Screen Adaptations */
@media (max-width: 768px) {
    #todey-admin-invoice-modal > div > div:first-child {
        padding: 16px 14px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    #todey-admin-invoice-modal > div > div:first-child > div:last-child {
        width: 100% !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    #todey-admin-invoice-modal > div > div:nth-child(2) {
        padding: 14px 6px 30px 6px !important;
    }
    #todey-admin-invoice-modal-card {
        padding: 24px 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    #todey-admin-invoice-modal-card > div:nth-child(2) {
        flex-direction: column !important;
        gap: 16px !important;
        padding-bottom: 20px !important;
        margin-bottom: 20px !important;
    }
    #todey-admin-invoice-modal-card > div:nth-child(2) > div:last-child {
        text-align: left !important;
    }
    #todey-admin-invoice-modal-card > div:nth-child(3) {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-bottom: 24px !important;
    }
}

@media (max-width: 480px) {
    #todey-admin-invoice-modal-card {
        padding: 16px 10px !important;
    }
}

/* 3. Analytics Geographic Origins & Referrals Grid */
@media (max-width: 768px) {
    div[style*="minmax(320px, 1fr)"],
    div[style*="minmax(320px,1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}

/* 4. Admin Submissions & Requests Drawer Key-Value Tables */
@media (max-width: 480px) {
    #todey-admin-requests-drawer .todey-table td:first-child,
    .todey-drawer-panel .todey-table td:first-child {
        width: 105px !important;
        font-size: 9.5px !important;
        padding: 6px 0 !important;
    }
    #todey-admin-requests-drawer .todey-table td:last-child,
    .todey-drawer-panel .todey-table td:last-child {
        padding: 6px 0 !important;
        font-size: 11px !important;
    }
}

/* 5. Ticket Detail Context Key-Value Table Responsiveness */
@media (max-width: 480px) {
    .todey-ticket-detail-table,
    #todey-ticket-detail-container table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

/* 6. Project Access Request Full-Width & 2-Column Form Grid */
.todey-access-split-grid {
    display: grid;
    grid-template-columns: minmax(340px, 1fr) minmax(460px, 1.35fr);
    gap: 40px;
    align-items: stretch;
}
.todey-access-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    align-items: start;
}
.todey-access-form-grid .todey-form-group {
    margin-bottom: 0 !important;
}
.todey-access-form-grid .todey-form-label {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
}
.todey-access-form-grid .todey-form-group.full-width,
.todey-access-form-grid .full-width {
    grid-column: 1 / -1;
}

/* Request Access & Upgrade Dashboard Mobile-Ready Layouts */
.todey-upgrade-split-container {
    display: flex;
    gap: 30px;
    align-items: stretch;
    justify-content: center;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    width: 100%;
}
.todey-left-col {
    flex: 1.1;
    min-width: 300px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
}
.todey-right-col {
    flex: 2.2;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.todey-upgrade-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 80px;
}
.todey-divider-line {
    width: 1px;
    flex-grow: 1;
    background: linear-gradient(to bottom, rgba(255,255,255,0.01), rgba(255,255,255,0.12) 20%, rgba(255,255,255,0.12) 80%, rgba(255,255,255,0.01));
}
.todey-divider-badge {
    margin: 20px 0;
    background: #000000;
    color: var(--todey-accent-orange);
    font-family: var(--todey-font-mono, monospace);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 0px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 2;
    white-space: nowrap;
}
.todey-upgrade-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    padding: 28px !important;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 0px !important;
    min-height: 320px;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transition: border-color 0s !important;
}
.todey-access-stepper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    padding: 12px 16px !important;
    margin-bottom: 24px !important;
    border-radius: 0px !important;
    box-sizing: border-box !important;
}
.todey-access-ticket-box {
    border: 1px solid #141414 !important;
    background: #000000 !important;
    padding: 24px !important;
    border-radius: 0px !important;
    margin-bottom: 24px !important;
    position: relative !important;
    box-sizing: border-box !important;
}
.todey-access-summary-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    font-size: 12px !important;
    font-family: var(--todey-font-mono, monospace) !important;
    margin-bottom: 4px !important;
    line-height: 1.5 !important;
}
.todey-access-form-card {
    padding: 32px !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

@media (max-width: 991px) {
    .todey-access-split-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .todey-upgrade-split-container {
        flex-direction: column !important;
        gap: 30px !important;
        align-items: center !important;
    }
    .todey-left-col,
    .todey-right-col {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    .todey-right-col {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    }
    .todey-upgrade-divider {
        flex-direction: row !important;
        width: 100% !important;
        min-height: 40px !important;
        min-width: 0 !important;
        gap: 20px !important;
    }
    .todey-divider-line {
        height: 1px !important;
        width: 100% !important;
        flex-grow: 1 !important;
        background: linear-gradient(to right, rgba(255,255,255,0.01), rgba(255,255,255,0.12) 20%, rgba(255,255,255,0.12) 80%, rgba(255,255,255,0.01)) !important;
    }
    .todey-divider-badge {
        margin: 0 !important;
    }
}

@media (max-width: 768px) {
    .todey-access-form-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .todey-access-form-grid .todey-form-group.full-width,
    .todey-access-form-grid .full-width {
        grid-column: 1 !important;
    }
    .todey-upgrade-card {
        padding: 20px 16px !important;
        min-height: auto !important;
    }
    .todey-access-form-card {
        padding: 20px 16px !important;
    }
    .todey-right-col {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .todey-access-ticket-box {
        padding: 16px !important;
    }
    .todey-request-access-status-wrapper {
        padding: 10px 0 0 0 !important;
    }
}

@media (max-width: 480px) {
    .todey-upgrade-card {
        padding: 14px 10px !important;
    }
    .todey-access-form-card {
        padding: 16px 10px !important;
    }
    .todey-access-ticket-box {
        padding: 14px 10px !important;
    }
    .todey-access-summary-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .todey-access-summary-grid > div:last-child {
        grid-column: span 1 !important;
    }
    .todey-access-stepper {
        padding: 10px 8px !important;
        gap: 4px !important;
    }
    .todey-access-stepper span {
        font-size: 9.5px !important;
    }
}

@media (max-width: 340px) {
    .todey-upgrade-card {
        padding: 12px 6px !important;
    }
    .todey-access-form-card {
        padding: 12px 6px !important;
    }
    .todey-access-ticket-box {
        padding: 12px 6px !important;
    }
    .todey-access-stepper {
        padding: 8px 4px !important;
    }
}

@media (max-width: 768px) {
    /* Final Definitive Desktop Tabs Suppression on Mobile Viewports */
    .todey-desktop-tabs-bar,
    .todey-desktop-tabs-bar.todey-admin-conjoined-bar,
    .todey-desktop-tabs-bar.todey-admin-conjoined-bar-full,
    .todey-desktop-tabs-bar.todey-admin-conjoined-bar.todey-admin-conjoined-bar-full,
    div.todey-desktop-tabs-bar,
    div.todey-desktop-tabs-bar.todey-admin-conjoined-bar,
    div.todey-desktop-tabs-bar.todey-admin-conjoined-bar-full,
    div.todey-desktop-tabs-bar.todey-admin-conjoined-bar.todey-admin-conjoined-bar-full,
    .todey-admin-conjoined-bar.todey-desktop-tabs-bar,
    .todey-admin-conjoined-bar.todey-admin-conjoined-bar-full.todey-desktop-tabs-bar,
    div.todey-admin-conjoined-bar.todey-admin-conjoined-bar-full.todey-desktop-tabs-bar {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        overflow: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .todey-custom-tabs-wrapper {
        display: block !important;
        width: 100% !important;
        min-width: 100% !important;
        margin-bottom: 24px !important;
        box-sizing: border-box !important;
        position: relative !important;
        z-index: 1000 !important;
    }
    .todey-custom-tabs-wrapper.is-open {
        z-index: 100050 !important;
    }
}

@media (min-width: 769px) {
    /* Enterprise Desktop Conjoined Horizontal Tabs Toolbar */
    .todey-desktop-tabs-bar,
    .todey-desktop-tabs-bar.todey-admin-conjoined-bar,
    .todey-desktop-tabs-bar.todey-admin-conjoined-bar-full,
    .todey-desktop-tabs-bar.todey-admin-conjoined-bar.todey-admin-conjoined-bar-full,
    div.todey-desktop-tabs-bar,
    div.todey-desktop-tabs-bar.todey-admin-conjoined-bar,
    div.todey-desktop-tabs-bar.todey-admin-conjoined-bar-full,
    div.todey-desktop-tabs-bar.todey-admin-conjoined-bar.todey-admin-conjoined-bar-full,
    .todey-admin-conjoined-bar.todey-desktop-tabs-bar,
    .todey-admin-conjoined-bar.todey-admin-conjoined-bar-full.todey-desktop-tabs-bar,
    div.todey-admin-conjoined-bar.todey-admin-conjoined-bar-full.todey-desktop-tabs-bar {
        display: flex !important;
        visibility: visible !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        margin: 0 0 24px 0 !important;
        padding: 0 !important;
        border: 1px solid #141414 !important;
        border-radius: 0px !important;
        background: #000000 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .todey-custom-tabs-wrapper,
    .todey-org-tabs-wrapper,
    .todey-lifecycle-tabs-wrapper,
    div.todey-custom-tabs-wrapper {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        overflow: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* ==========================================================================
   TODEY LISTED PLATFORM PROJECTS & ENCLAVES HEADER & ACTIONS
   ========================================================================== */
.todey-listings-header-banner {
    padding: 20px 24px !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.todey-listings-header-text {
    flex: 1 1 auto !important;
    min-width: 240px !important;
}

.todey-listings-header-title {
    margin: 0 0 4px 0 !important;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 20px !important;
    font-weight: 1000 !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
}

.todey-listings-header-subtitle {
    margin: 0 !important;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 11px !important;
    color: #888888 !important;
    line-height: 1.4 !important;
}

.todey-listings-header-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.todey-listings-header-actions .todey-add-project-btn {
    background: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 0px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 700 !important;
    height: 38px !important;
    min-height: 38px !important;
    font-size: 10px !important;
    padding: 0 20px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    outline: none !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    transition: opacity 0.15s ease, transform 0.15s ease !important;
}
.todey-listings-header-actions .todey-add-project-btn:hover {
    opacity: 0.9 !important;
    transform: none !important;
}

.todey-listings-header-actions .todey-claim-project-btn {
    background: var(--todey-accent-orange, #ff4400) !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 0px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    height: 38px !important;
    min-height: 38px !important;
    font-size: 10px !important;
    padding: 0 20px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    outline: none !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    transition: opacity 0.15s ease, transform 0.15s ease !important;
}
.todey-listings-header-actions .todey-claim-project-btn:hover {
    opacity: 0.9 !important;
    transform: none !important;
}

.todey-listings-header-actions .todey-listings-count-badge {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    background: var(--todey-accent-orange, #ff4400) !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 0px !important;
    padding: 0 20px !important;
    height: 38px !important;
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

.todey-edit-card-btn {
    background: #000000 !important;
    color: #ff4400 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    height: 38px !important;
    min-height: 38px !important;
    font-size: 10px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease !important;
}

.todey-edit-card-btn:hover {
    background: #ff4400 !important;
    color: #000000 !important;
    border-color: #141414 !important;
    transform: none !important;
}

@media (max-width: 768px) {
    .todey-listings-header-banner {
        padding: 16px 10px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
    }
    .todey-listings-header-text {
        width: 100% !important;
        min-width: 0 !important;
    }
    .todey-listings-header-title {
        font-size: 16px !important;
        line-height: 1.25 !important;
        margin-bottom: 6px !important;
    }
    .todey-listings-header-subtitle {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }
    .todey-listings-header-actions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        gap: 8px !important;
    }
    .todey-listings-header-actions .todey-add-project-btn,
    .todey-listings-header-actions .todey-claim-project-btn {
        flex: 1 1 calc(50% - 4px) !important;
        min-width: 0 !important;
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 6px !important;
        font-size: 9.5px !important;
        letter-spacing: 0.3px !important;
        white-space: nowrap !important;
        text-align: center !important;
    }
    .todey-listings-header-actions .todey-listings-count-badge {
        flex: 1 1 100% !important;
        width: 100% !important;
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 10px !important;
        font-size: 9.5px !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
        text-align: center !important;
        background: #080808 !important;
        color: #b3b3b3 !important;
        border: 1px solid #141414 !important;
    }
    .todey-listings-header-actions .todey-listings-count-badge .todey-listings-count-num {
        color: var(--todey-accent-orange, #ff4400) !important;
        font-weight: 900 !important;
        margin-right: 3px !important;
    }
}

@media (max-width: 360px) {
    .todey-listings-header-actions .todey-add-project-btn,
    .todey-listings-header-actions .todey-claim-project-btn {
        font-size: 8.5px !important;
        padding: 0 4px !important;
        letter-spacing: 0px !important;
    }
    .todey-listings-header-actions .todey-listings-count-badge {
        font-size: 8.5px !important;
    }
}

/* ==========================================================================
   LISTING PROPOSAL WIZARDS & INLINE EDITORS (DESKTOP & MOBILE)
   ========================================================================== */
.todey-wizard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px solid #141414;
    padding-bottom: 14px;
    gap: 12px;
}

.todey-wizard-header-text {
    flex: 1;
    min-width: 0;
}

.todey-wizard-title {
    margin: 0 0 4px 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.25;
    word-break: break-word;
}

.todey-wizard-subtitle {
    margin: 0;
    font-size: 11px;
    color: #888888;
    line-height: 1.4;
}

.todey-close-btn,
.todey-close-new-listing-btn,
.todey-close-claim-btn,
.todey-close-inline-editor-btn {
    background: none !important;
    border: 1px solid #141414 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0 10px !important;
    cursor: pointer !important;
    font-family: 'Space Grotesk', sans-serif !important;
    outline: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    min-height: 32px !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.todey-close-btn:hover,
.todey-close-new-listing-btn:hover,
.todey-close-claim-btn:hover,
.todey-close-inline-editor-btn:hover {
    border-color: #141414 !important;
    color: var(--todey-accent-orange, #ff4400) !important;
}

/* Proposal Option Cards */
.todey-listing-wizard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.todey-listing-wizard-option {
    background: #000000;
    border: 1px solid #141414;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
    box-sizing: border-box;
}

.todey-listing-wizard-option:hover {
    transform: none !important;
}

.todey-listing-wizard-option-title {
    margin: 0 0 6px 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.2;
}

.todey-listing-wizard-option-desc {
    margin: 0;
    font-size: 11px;
    color: #888888;
    line-height: 1.4;
}

/* Section Step Headers */
.todey-form-step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 8px;
}

.todey-form-step-title {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--todey-accent-orange, #ff4400);
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.todey-form-step-desc {
    font-size: 10px;
    color: #888888;
    line-height: 1.3;
}

/* Form Footer Action Buttons */
.todey-form-footer-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    border-top: 1px solid #141414;
    padding-top: 20px;
}

.todey-form-footer-actions .todey-inline-cancel-btn {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    color: #ffffff !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 20px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-family: 'DM Sans', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    border-radius: 0px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
}

.todey-form-footer-actions .todey-inline-cancel-btn:hover {
    border-color: #141414 !important;
    color: #ff4400 !important;
}

.todey-form-footer-actions .todey-inline-submit-btn {
    background: var(--todey-accent-orange, #ff4400) !important;
    color: #000000 !important;
    border: none !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 24px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-family: 'DM Sans', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    border-radius: 0px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
}

.todey-form-footer-actions .todey-inline-submit-btn:hover {
    transform: none !important;
}

/* Polymorphic Sub-Tabs Conjoined Toolbars */
.todey-polymorphic-tabs-nav,
.todey-company-tabs-nav,
.todey-agent-tabs-nav,
.todey-qr-tabs-nav {
    display: flex;
    background: #000000;
    border: 1px solid #141414;
    margin: 0 0 20px 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
    box-sizing: border-box;
}

.todey-polymorphic-tabs-nav li,
.todey-company-tabs-nav li,
.todey-agent-tabs-nav li,
.todey-qr-tabs-nav li {
    margin: 0;
    padding: 0;
    list-style: none;
    flex-shrink: 0;
}

.todey-company-tab-link,
.todey-agent-tab-link,
.todey-qr-tab-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    color: #b3b3b3;
    background: #000000;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.todey-company-tab-link:hover,
.todey-agent-tab-link:hover,
.todey-qr-tab-link:hover {
    color: #ffffff;
}

.todey-company-tab-link.active,
.todey-agent-tab-link.active,
.todey-qr-tab-link.active {
    color: #000000 !important;
    background: var(--todey-accent-orange, #ff4400) !important;
    border-bottom-color: var(--todey-accent-orange, #ff4400) !important;
}

/* Polymorphic Matrix Grids */
.todey-matrix-grid,
.todey-company-types-checkbox-grid,
.todey-agent-capabilities-grid,
.todey-qr-payer-grid,
.todey-qr-merchant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.todey-matrix-grid .todey-form-group,
.todey-agent-capabilities-grid .todey-form-group,
.todey-qr-payer-grid .todey-form-group,
.todey-qr-merchant-grid .todey-form-group {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    height: 100% !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
}

.todey-matrix-grid .todey-form-group label,
.todey-agent-capabilities-grid .todey-form-group label,
.todey-qr-payer-grid .todey-form-group label,
.todey-qr-merchant-grid .todey-form-group label {
    min-height: 24px !important;
    display: flex !important;
    align-items: flex-end !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #888888 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 6px !important;
    line-height: 1.25 !important;
}

.todey-section-bento-box {
    box-sizing: border-box;
}

/* Brutalist Syntax Shortcut Toolbars */
.todey-brutalist-shortcuts-portal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.todey-portal-shortcut-btn {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    padding: 0 10px !important;
    height: 28px !important;
    min-height: 28px !important;
    line-height: 26px !important;
    cursor: pointer !important;
    border-radius: 0px !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.todey-portal-shortcut-btn:hover {
    border-color: #141414 !important;
    color: var(--todey-accent-orange, #ff4400) !important;
}

/* FAQ Rows and Action Buttons */
.todey-portal-faq-row {
    margin-bottom: 12px;
    border-left: 3px solid #141414;
    padding-left: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
}

.todey-portal-remove-faq-btn {
    background: none !important;
    border: none !important;
    color: #ff0000 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    padding: 0 !important;
}

.todey-portal-add-faq-row-btn,
.todey-portal-add-overview-btn,
.todey-portal-add-feature-btn,
.todey-portal-add-add-feature-btn {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    color: var(--todey-accent-orange, #ff4400) !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 0 16px !important;
    height: 38px !important;
    min-height: 38px !important;
    line-height: 36px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 0px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.todey-portal-add-faq-row-btn:hover,
.todey-portal-add-overview-btn:hover,
.todey-portal-add-feature-btn:hover,
.todey-portal-add-add-feature-btn:hover {
    border-color: #141414 !important;
}

@media (max-width: 768px) {
    #todey-new-listing-drawer,
    #todey-workspace-editor-container {
        padding: 16px 10px !important;
    }

    .todey-section-bento-box {
        padding: 12px 10px !important;
    }

    .todey-wizard-header {
        margin-bottom: 16px !important;
        padding-bottom: 12px !important;
        gap: 8px !important;
    }

    .todey-wizard-title {
        font-size: 15px !important;
        line-height: 1.25 !important;
    }

    .todey-wizard-subtitle {
        font-size: 10.5px !important;
    }

    .todey-close-btn,
    .todey-close-new-listing-btn,
    .todey-close-claim-btn,
    .todey-close-inline-editor-btn {
        font-size: 10px !important;
        padding: 0 8px !important;
        height: 30px !important;
        min-height: 30px !important;
    }

    /* Option Grid on Tablet */
    .todey-listing-wizard-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .todey-listing-wizard-option {
        padding: 16px 10px !important;
    }

    .todey-listing-wizard-option-title {
        font-size: 15px !important;
        margin-bottom: 4px !important;
    }

    .todey-listing-wizard-option-desc {
        font-size: 10px !important;
    }

    /* Section Step Headers on Mobile - Stacking vertically so title never splits */
    .todey-form-step-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
        margin-bottom: 10px !important;
    }

    .todey-form-step-title {
        width: 100% !important;
        font-size: 12px !important;
    }

    .todey-form-step-desc {
        width: 100% !important;
        font-size: 10px !important;
    }

    /* Responsive Form Grids */
    .todey-card-features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .todey-form-grid-2col,
    .todey-form-grid-3col,
    .todey-overview-grid,
    .todey-features-grid,
    .todey-add-features-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Polymorphic Sub-Tabs Mobile Navigation */
    .todey-polymorphic-tabs-nav,
    .todey-company-tabs-nav,
    .todey-agent-tabs-nav,
    .todey-qr-tabs-nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        margin-bottom: 16px !important;
    }

    .todey-company-tab-link,
    .todey-agent-tab-link,
    .todey-qr-tab-link {
        padding: 0 12px !important;
        font-size: 10px !important;
        height: 38px !important;
        min-height: 38px !important;
        line-height: 38px !important;
    }

    /* Matrix Grids on Tablet */
    .todey-matrix-grid,
    .todey-company-types-checkbox-grid,
    .todey-agent-capabilities-grid,
    .todey-qr-payer-grid,
    .todey-qr-merchant-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .todey-matrix-grid .todey-form-group label,
    .todey-agent-capabilities-grid .todey-form-group label,
    .todey-qr-payer-grid .todey-form-group label,
    .todey-qr-merchant-grid .todey-form-group label {
        min-height: 26px !important;
    }

    /* Brutalist Shortcuts on Mobile */
    .todey-brutalist-shortcuts-portal {
        gap: 6px !important;
        margin-bottom: 10px !important;
    }

    .todey-portal-shortcut-btn {
        font-size: 9.5px !important;
        padding: 0 8px !important;
        height: 28px !important;
        min-height: 28px !important;
        line-height: 26px !important;
    }

    /* Dynamic FAQ rows on Mobile */
    .todey-portal-faq-row {
        padding-left: 10px !important;
        border-left-width: 2px !important;
        margin-bottom: 10px !important;
    }

    .todey-portal-add-faq-row-btn,
    .todey-portal-add-overview-btn,
    .todey-portal-add-feature-btn,
    .todey-portal-add-add-feature-btn {
        width: 100% !important;
        font-size: 10px !important;
        height: 38px !important;
        min-height: 38px !important;
        line-height: 36px !important;
    }

    /* Footer actions */
    .todey-form-footer-actions {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        margin-top: 16px !important;
        padding-top: 16px !important;
        box-sizing: border-box !important;
    }

    .todey-form-footer-actions button,
    .todey-form-footer-actions .todey-btn,
    .todey-form-footer-actions .todey-inline-cancel-btn,
    .todey-form-footer-actions .todey-inline-submit-btn {
        flex: 1 1 calc(50% - 4px) !important;
        width: calc(50% - 4px) !important;
        min-width: 0 !important;
        height: 38px !important;
        min-height: 38px !important;
        line-height: 38px !important;
        padding: 0 8px !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        white-space: nowrap !important;
        text-align: center !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

@media (max-width: 480px) {
    .todey-listing-wizard-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .todey-matrix-grid,
    .todey-company-types-checkbox-grid,
    .todey-agent-capabilities-grid,
    .todey-qr-payer-grid,
    .todey-qr-merchant-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .todey-matrix-grid .todey-form-group label,
    .todey-agent-capabilities-grid .todey-form-group label,
    .todey-qr-payer-grid .todey-form-group label,
    .todey-qr-merchant-grid .todey-form-group label {
        min-height: auto !important;
    }
}

@media (max-width: 360px) {
    .todey-card-features-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .todey-matrix-grid,
    .todey-company-types-checkbox-grid,
    .todey-agent-capabilities-grid,
    .todey-qr-payer-grid,
    .todey-qr-merchant-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .todey-wizard-title {
        font-size: 13px !important;
    }
    .todey-portal-shortcut-btn {
        font-size: 8.5px !important;
        padding: 0 6px !important;
    }
    .todey-form-footer-actions button,
    .todey-form-footer-actions .todey-btn,
    .todey-form-footer-actions .todey-inline-cancel-btn,
    .todey-form-footer-actions .todey-inline-submit-btn {
        font-size: 9px !important;
        padding: 0 4px !important;
        letter-spacing: 0px !important;
    }
}

/* ==========================================================================
   TODEY API KEYS TAB RESPONSIVE & MOBILE DESIGN SYSTEM (S-3591)
   ========================================================================== */

.todey-api-keys-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 24px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.todey-api-key-reveal-box {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.todey-key-view-modal-content {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    padding: 32px !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
}

.todey-key-details-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.todey-telemetry-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* API Playground Enclave */
.todey-playground-sidebar {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    box-sizing: border-box !important;
}

.todey-playground-endpoints-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.todey-playground-detail-pane {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    box-sizing: border-box !important;
}

.todey-playground-sandbox-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 18px !important;
    box-sizing: border-box !important;
    margin-top: 14px !important;
}

.todey-playground-response-body,
.todey-playground-response-headers {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 16px !important;
    max-height: 380px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    font-family: monospace !important;
    box-sizing: border-box !important;
}

.todey-playground-response-body {
    color: #ffffff !important;
}

.todey-playground-response-headers {
    color: #00e353 !important;
}

/* API Playground Execute Button */
.todey-playground-execute-btn,
#todey-test-send-btn {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 24px !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    background: #000000 !important;
    color: #ffffff !important;
    font-family: 'DM Sans', -apple-system, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transform: none !important;
}

.todey-playground-execute-btn:hover:not(:disabled),
#todey-test-send-btn:hover:not(:disabled) {
    background: #ff4400 !important;
    color: #000000 !important;
    border: 1px solid #141414 !important;
    transform: translateY(-2px) !important;
    box-shadow: none !important;
}

.todey-playground-execute-btn:active:not(:disabled),
#todey-test-send-btn:active:not(:disabled) {
    background: #e03c00 !important;
    color: #000000 !important;
    transform: translateY(0) !important;
}

.todey-playground-execute-btn:disabled,
#todey-test-send-btn:disabled {
    background: #000000 !important;
    color: #666666 !important;
    border: 1px solid #141414 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    transform: none !important;
    box-shadow: none !important;
}

.todey-playground-execute-btn:focus,
.todey-playground-execute-btn:focus-visible,
#todey-test-send-btn:focus,
#todey-test-send-btn:focus-visible {
    outline: none !important;
    border: 1px solid #141414 !important;
    box-shadow: none !important;
}

/* API Playground Response Envelope Toolbar & Buttons */
.todey-resp-conjoined-bar {
    display: inline-flex !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    background: #000000 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
}

.todey-resp-tab {
    flex: 0 0 auto !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    line-height: 1 !important;
    border: none !important;
    border-right: 1px solid #141414 !important;
    border-radius: 0px !important;
    background: #000000 !important;
    color: #888888 !important;
    font-family: 'DM Sans', -apple-system, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    padding: 0 16px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

.todey-resp-tab:last-child {
    border-right: none !important;
}

.todey-resp-tab:hover:not(.active) {
    background: #080808 !important;
    color: #ffffff !important;
}

.todey-resp-tab.active {
    background: #ff4400 !important;
    color: #000000 !important;
    font-weight: 700 !important;
}

.todey-resp-tab:focus,
.todey-resp-tab:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.todey-resp-copy-btn,
#todey-copy-response-btn {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 16px !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    background: #000000 !important;
    color: #ffffff !important;
    font-family: 'DM Sans', -apple-system, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transform: none !important;
}

.todey-resp-copy-btn:hover,
#todey-copy-response-btn:hover {
    background: #ff4400 !important;
    color: #000000 !important;
    border: 1px solid #141414 !important;
    transform: translateY(-2px) !important;
    box-shadow: none !important;
}

.todey-resp-copy-btn:active,
#todey-copy-response-btn:active {
    background: #e03c00 !important;
    color: #000000 !important;
    transform: translateY(0) !important;
}

.todey-resp-copy-btn:focus,
.todey-resp-copy-btn:focus-visible,
#todey-copy-response-btn:focus,
#todey-copy-response-btn:focus-visible {
    outline: none !important;
    border: 1px solid #141414 !important;
    box-shadow: none !important;
}

/* API Documentation Enclave */
.todey-docs-conjoined-bar {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.todey-docs-conjoined-bar .todey-docs-main-tab-btn,
.todey-snippet-conjoined-bar .todey-docs-tab-btn,
.todey-snippet-conjoined-bar .todey-docs-main-tab-btn,
.todey-snippet-tab {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    line-height: 1 !important;
    padding: 0 16px !important;
    background: #000000 !important;
    border: none !important;
    border-right: 1px solid #141414 !important;
    border-radius: 0px !important;
    color: #888888 !important;
    font-family: 'DM Sans', -apple-system, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    transition: none !important;
}

.todey-docs-conjoined-bar .todey-docs-main-tab-btn:hover,
.todey-snippet-conjoined-bar .todey-docs-tab-btn:hover:not(.active),
.todey-snippet-conjoined-bar .todey-docs-main-tab-btn:hover:not(.active),
.todey-snippet-tab:hover:not(.active) {
    background: #080808 !important;
    color: #ffffff !important;
}

.todey-docs-conjoined-bar .todey-docs-main-tab-btn.active,
.todey-snippet-conjoined-bar .todey-docs-tab-btn.active,
.todey-snippet-conjoined-bar .todey-docs-main-tab-btn.active,
.todey-snippet-tab.active {
    background: #ff4400 !important;
    color: #000000 !important;
    font-weight: 800 !important;
}

.todey-docs-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}

.todey-docs-sidebar {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    box-sizing: border-box !important;
}

.todey-docs-endpoints-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.todey-docs-detail-pane {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    box-sizing: border-box !important;
}

.todey-docs-sandbox-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 18px !important;
    box-sizing: border-box !important;
    margin-top: 14px !important;
}

.todey-docs-response-body {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 16px !important;
    max-height: 350px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    font-family: monospace !important;
    box-sizing: border-box !important;
}

.todey-docs-topology-box {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 20px !important;
    font-family: monospace !important;
    font-size: 12px !important;
    color: #b3b3b3 !important;
    line-height: 1.6 !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

/* API Analytics Base Styles */
.todey-analytics-view-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.todey-analytics-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.todey-analytics-kpi-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.todey-analytics-chart-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}

.todey-analytics-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 14px;
}

.todey-chart-scroll-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.todey-chart-container {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    user-select: none;
}

.todey-chart-x-label {
    position: absolute;
    color: #888888;
    font-size: 10px;
    font-family: 'Space Grotesk', 'Roboto Mono', sans-serif;
    font-weight: 500;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    z-index: 2;
}

.todey-chart-y-label {
    position: absolute;
    color: #888888;
    font-size: 10px;
    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

.todey-x-label-desktop {
    display: inline;
}

.todey-x-label-mobile {
    display: none;
}

.todey-analytics-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.todey-analytics-breakdown-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}

.todey-analytics-table td code {
    word-break: break-all;
}

@media (max-width: 768px) {
    .todey-developer-tab-view h3 {
        font-size: 15px !important;
        line-height: 1.3 !important;
    }

    .todey-api-keys-card {
        padding: 16px 10px !important;
    }

    .todey-api-scopes-content {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
    }

    .todey-api-scopes-checkboxes {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px 14px !important;
        width: 100% !important;
    }

    .todey-api-scopes-submit-wrap {
        width: 100% !important;
    }

    .todey-api-scopes-submit-wrap .todey-btn,
    .todey-generate-token-btn {
        width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
    }

    .todey-api-key-reveal-box {
        padding: 14px 10px !important;
    }

    .todey-table td[data-label="Key Details"],
    .todey-table td[data-label="Telemetry & Expiration"] {
        align-items: flex-start !important;
    }

    .todey-key-details-meta {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        text-align: right !important;
        gap: 2px !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .todey-telemetry-meta {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        text-align: right !important;
        gap: 3px !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .todey-telemetry-meta div {
        white-space: nowrap !important;
        font-size: 10px !important;
        color: #b3b3b3 !important;
        line-height: 1.3 !important;
    }

    .todey-table td[data-label="Preview"] .todey-code-preview {
        word-break: break-all !important;
        max-width: 60% !important;
        text-align: right !important;
    }

    .todey-table td[data-label="Action"] .todey-revoke-btn {
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 14px !important;
        font-size: 10px !important;
        font-weight: 700 !important;
    }

    /* API Playground Tablet Responsiveness */
    .todey-playground-sidebar {
        padding: 14px 10px !important;
        gap: 10px !important;
    }

    .todey-playground-endpoints-list {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 8px !important;
        padding-bottom: 4px !important;
    }

    .todey-playground-endpoints-list .todey-docs-tab-btn {
        flex-shrink: 0 !important;
        width: auto !important;
        height: 38px !important;
        padding: 0 14px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        border-radius: 0px !important;
    }

    .todey-playground-detail-pane {
        padding: 16px 10px !important;
        gap: 16px !important;
    }

    .todey-playground-endpoint-header {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
    }

    .todey-playground-auth-box {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .todey-playground-sandbox-card {
        padding: 14px 10px !important;
    }

    .todey-playground-execute-wrap {
        width: 100% !important;
    }

    .todey-playground-execute-btn {
        width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
    }

    .todey-playground-response-body {
        padding: 14px 10px !important;
        font-size: 11px !important;
        line-height: 1.45 !important;
    }

    /* API Documentation Tablet Responsiveness */
    .todey-docs-conjoined-bar {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        scrollbar-width: none !important;
    }

    .todey-docs-conjoined-bar::-webkit-scrollbar {
        display: none !important;
    }

    .todey-docs-conjoined-bar .todey-docs-main-tab-btn {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        padding: 0 14px !important;
        font-size: 11px !important;
    }

    .todey-docs-card {
        padding: 16px 10px !important;
    }

    .todey-docs-sidebar {
        padding: 14px 10px !important;
        gap: 10px !important;
    }

    .todey-docs-endpoints-list {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 8px !important;
        padding-bottom: 4px !important;
    }

    .todey-docs-endpoints-list .todey-docs-tab-btn {
        flex-shrink: 0 !important;
        width: auto !important;
        height: 38px !important;
        padding: 0 14px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        border-radius: 0px !important;
    }

    .todey-docs-dataset-tabs {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 8px !important;
        padding-bottom: 4px !important;
    }

    .todey-docs-dataset-tabs .todey-docs-tab-btn {
        flex-shrink: 0 !important;
        width: auto !important;
        height: 38px !important;
        padding: 0 14px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        border-radius: 0px !important;
    }

    .todey-docs-detail-pane {
        padding: 16px 10px !important;
        gap: 16px !important;
    }

    .todey-docs-endpoint-header {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
    }

    .todey-docs-auth-box {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .todey-docs-sandbox-card {
        padding: 14px 10px !important;
    }

    .todey-docs-execute-wrap {
        width: 100% !important;
    }

    .todey-docs-execute-btn {
        width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
    }

    .todey-docs-response-body {
        padding: 14px 10px !important;
        font-size: 11px !important;
        line-height: 1.45 !important;
    }

    .todey-docs-topology-box {
        padding: 14px 10px !important;
        font-size: 11px !important;
    }

    /* API Analytics Tablet Responsiveness */
    .todey-analytics-header-banner {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
    }

    .todey-analytics-header-actions {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        align-items: stretch !important;
    }

    .todey-analytics-timeframe-bar {
        width: 100% !important;
        display: flex !important;
        justify-content: stretch !important;
        height: 38px !important;
    }

    .todey-analytics-timeframe-bar .todey-time-btn {
        flex: 1 1 25% !important;
        height: 36px !important;
        padding: 0 8px !important;
        font-size: 11px !important;
        text-align: center !important;
    }

    #todey-export-telemetry-btn {
        width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
        justify-content: center !important;
    }

    .todey-analytics-kpi-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .todey-analytics-kpi-card {
        padding: 16px 10px !important;
    }

    .todey-analytics-chart-card {
        padding: 16px 10px !important;
    }

    .todey-chart-scroll-wrap {
        width: 100% !important;
        overflow: visible !important;
    }

    .todey-chart-container {
        min-width: 0 !important;
        width: 100% !important;
    }

    .todey-x-label-desktop {
        display: none !important;
    }

    .todey-x-label-mobile {
        display: inline !important;
    }

    .todey-chart-x-label {
        font-size: 8.5px !important;
    }

    .todey-chart-y-label {
        font-size: 8.5px !important;
    }

    .todey-analytics-chart-header {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .todey-series-legend-bar {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        padding-bottom: 4px !important;
        width: 100% !important;
        scrollbar-width: none !important;
    }

    .todey-series-legend-bar::-webkit-scrollbar {
        display: none !important;
    }

    .todey-series-toggle-btn {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        height: 24px !important;
        min-height: 24px !important;
        padding: 2px 7px !important;
        font-size: 9px !important;
        gap: 4px !important;
    }

    .todey-series-toggle-btn span:first-child {
        width: 5px !important;
        height: 5px !important;
    }

    .todey-analytics-breakdown-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .todey-analytics-breakdown-card {
        padding: 16px 10px !important;
    }

    .todey-analytics-table {
        display: block !important;
        width: 100% !important;
    }

    .todey-analytics-table thead {
        display: none !important;
    }

    .todey-analytics-table tbody {
        display: block !important;
        width: 100% !important;
    }

    .todey-analytics-table tr {
        display: block !important;
        border: 1px solid #141414 !important;
        margin-bottom: 10px !important;
        padding: 10px !important;
        background: #000000 !important;
    }

    .todey-analytics-table td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 6px 0 !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
        font-size: 11px !important;
    }

    .todey-analytics-table td:last-child {
        border-bottom: none !important;
    }

    .todey-analytics-table td::before {
        content: attr(data-label) !important;
        font-family: 'DM Sans', sans-serif !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        color: #888888 !important;
        text-transform: uppercase !important;
        margin-right: 10px !important;
    }

    .todey-analytics-table td[data-label="Route"] code {
        word-break: break-all !important;
        text-align: right !important;
        max-width: 65% !important;
    }
}

@media (max-width: 480px) {
    .todey-api-keys-card {
        padding: 14px 10px !important;
    }

    .todey-api-scopes-checkboxes {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .todey-key-view-modal-content,
    #todey-key-view-modal .todey-fs-modal-content {
        padding: 20px 10px !important;
        border-radius: 0px !important;
        max-width: calc(100vw - 20px) !important;
    }

    .todey-playground-sidebar {
        padding: 12px 10px !important;
    }

    .todey-playground-detail-pane {
        padding: 14px 10px !important;
    }

    .todey-playground-sandbox-card {
        padding: 12px 8px !important;
    }

    .todey-docs-card {
        padding: 14px 10px !important;
    }

    .todey-docs-sidebar {
        padding: 12px 10px !important;
    }

    .todey-docs-detail-pane {
        padding: 14px 10px !important;
    }

    .todey-docs-sandbox-card {
        padding: 12px 8px !important;
    }

    /* API Analytics Mobile Responsiveness */
    .todey-analytics-kpi-card {
        padding: 14px 10px !important;
    }

    .todey-analytics-chart-card {
        padding: 14px 10px !important;
    }

    .todey-chart-scroll-wrap {
        width: 100% !important;
        overflow: visible !important;
    }

    .todey-chart-container {
        min-width: 0 !important;
        width: 100% !important;
    }

    .todey-chart-x-label {
        font-size: 8px !important;
    }

    .todey-chart-y-label {
        font-size: 8px !important;
    }

    .todey-analytics-breakdown-card {
        padding: 14px 10px !important;
    }

    .todey-analytics-table tr {
        padding: 8px 10px !important;
        margin-bottom: 8px !important;
    }
}

@media (max-width: 360px) {
    .todey-api-keys-card {
        padding: 12px 6px !important;
    }

    .todey-telemetry-meta div {
        font-size: 9px !important;
    }

    .todey-playground-sidebar {
        padding: 10px 6px !important;
    }

    .todey-playground-detail-pane {
        padding: 12px 6px !important;
    }

    .todey-playground-sandbox-card {
        padding: 10px 6px !important;
    }

    .todey-playground-response-body {
        padding: 10px 6px !important;
        font-size: 10px !important;
    }

    .todey-docs-card {
        padding: 12px 6px !important;
    }

    .todey-docs-sidebar {
        padding: 10px 6px !important;
    }

    .todey-docs-detail-pane {
        padding: 12px 6px !important;
    }

    .todey-docs-sandbox-card {
        padding: 10px 6px !important;
    }

    .todey-docs-response-body {
        padding: 10px 6px !important;
        font-size: 10px !important;
    }

    .todey-docs-topology-box {
        padding: 10px 6px !important;
        font-size: 10px !important;
    }

    /* API Analytics Ultra-Compact Mobile */
    .todey-analytics-kpi-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .todey-analytics-kpi-card {
        padding: 12px 6px !important;
    }

    .todey-analytics-chart-card {
        padding: 12px 6px !important;
    }

    .todey-chart-scroll-wrap {
        width: 100% !important;
        overflow: visible !important;
    }

    .todey-chart-container {
        min-width: 0 !important;
        width: 100% !important;
    }

    .todey-chart-x-label {
        font-size: 7.5px !important;
        letter-spacing: -0.2px !important;
    }

    .todey-chart-y-label {
        font-size: 7.5px !important;
    }

    .todey-analytics-breakdown-card {
        padding: 12px 6px !important;
    }

    .todey-analytics-table tr {
        padding: 6px 6px !important;
    }

    .todey-analytics-table td {
        font-size: 10px !important;
        padding: 4px 0 !important;
    }
}

/* ==========================================================================
   API Request Logs Table & Multi-Viewport Responsiveness
   ========================================================================== */
.todey-logs-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.todey-logs-card {
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    padding: 24px;
    box-sizing: border-box;
    width: 100%;
}

.todey-logs-card .todey-table-container {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: none;
    background: transparent;
}

.todey-logs-table {
    width: 100%;
    border-collapse: collapse;
}

.todey-logs-table th,
.todey-logs-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #141414;
    vertical-align: middle;
    box-sizing: border-box;
}

.todey-logs-table th {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #000000;
}

.todey-logs-table tr:hover td {
    background-color: #080808 !important;
}

.todey-log-key-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.todey-log-key-label {
    font-weight: 700;
    color: #ffffff;
    font-size: 11px;
}

.todey-log-key-preview {
    font-family: 'Roboto Mono', monospace !important;
    font-size: 11px;
    color: #888888 !important;
}

.todey-log-endpoint {
    font-family: 'Roboto Mono', monospace !important;
    font-size: 12px;
    color: #ffffff !important;
    word-break: break-all;
}

.todey-log-status-badge {
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    font-weight: 700;
}

.todey-log-timestamp,
.todey-log-latency {
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    color: #b3b3b3;
}

@media (max-width: 768px) {
    .todey-logs-container {
        gap: 12px !important;
        width: 100% !important;
    }

    .todey-logs-card {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        width: 100% !important;
    }

    .todey-logs-card .todey-table-container {
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        overflow: visible !important;
        width: 100% !important;
    }

    .todey-logs-table {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        border: none !important;
        background: transparent !important;
    }

    .todey-logs-table thead {
        display: none !important;
    }

    .todey-logs-table tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .todey-logs-table tr {
        display: block !important;
        width: 100% !important;
        background: #000000 !important;
        border: 1px solid #141414 !important;
        border-radius: 0px !important;
        padding: 12px 10px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .todey-logs-table tr:last-child {
        margin: 0 !important;
    }

    .todey-logs-table td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 8px 0 !important;
        border: none !important;
        border-bottom: 1px solid #141414 !important;
        font-size: 12px !important;
        text-align: right !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
        background: transparent !important;
    }

    .todey-logs-table td:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .todey-logs-table td:first-child {
        padding-top: 0 !important;
    }

    .todey-logs-table td::before {
        content: attr(data-label) !important;
        font-family: 'DM Sans', sans-serif !important;
        font-weight: 700 !important;
        font-size: 10px !important;
        color: #888888 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        text-align: left !important;
        margin-right: 12px !important;
        flex-shrink: 0 !important;
    }

    .todey-logs-table .todey-log-key-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        text-align: right !important;
        gap: 2px !important;
        max-width: 65% !important;
        min-width: 0 !important;
    }

    .todey-logs-table .todey-log-key-label {
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }

    .todey-logs-table .todey-log-key-preview {
        font-size: 10px !important;
        color: #888888 !important;
        font-family: 'Roboto Mono', monospace !important;
        word-break: break-all !important;
    }

    .todey-logs-table .todey-log-endpoint {
        word-break: break-all !important;
        max-width: 65% !important;
        text-align: right !important;
        font-size: 11px !important;
        color: #ffffff !important;
        font-family: 'Roboto Mono', monospace !important;
    }

    .todey-logs-table .todey-log-timestamp {
        font-size: 11px !important;
        color: #b3b3b3 !important;
        font-family: 'Roboto Mono', monospace !important;
        text-align: right !important;
    }

    .todey-logs-table .todey-log-status-badge {
        font-size: 11px !important;
        font-weight: 700 !important;
        text-align: right !important;
    }

    .todey-logs-table .todey-log-latency {
        font-size: 11px !important;
        color: #888888 !important;
        font-family: 'Roboto Mono', monospace !important;
        text-align: right !important;
    }

    .todey-logs-table td.todey-log-empty-state {
        display: block !important;
        text-align: center !important;
        padding: 24px 10px !important;
        border-bottom: none !important;
    }

    .todey-logs-table td.todey-log-empty-state::before {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .todey-logs-container {
        gap: 10px !important;
    }

    .todey-logs-table tbody {
        gap: 8px !important;
    }

    .todey-logs-table tr {
        padding: 10px 8px !important;
        margin: 0 !important;
    }

    .todey-logs-table td {
        padding: 6px 0 !important;
        font-size: 11px !important;
    }

    .todey-logs-table td::before {
        font-size: 9.5px !important;
        margin-right: 8px !important;
    }

    .todey-logs-table .todey-log-key-wrapper,
    .todey-logs-table .todey-log-endpoint {
        max-width: 60% !important;
    }

    .todey-logs-table .todey-log-key-label {
        font-size: 10.5px !important;
    }

    .todey-logs-table .todey-log-key-preview {
        font-size: 9.5px !important;
    }

    .todey-logs-table .todey-log-endpoint {
        font-size: 10.5px !important;
    }

    .todey-logs-table .todey-log-timestamp,
    .todey-logs-table .todey-log-status-badge,
    .todey-logs-table .todey-log-latency {
        font-size: 10.5px !important;
    }
}

@media (max-width: 360px) {
    .todey-logs-container {
        gap: 8px !important;
    }

    .todey-logs-table tbody {
        gap: 6px !important;
    }

    .todey-logs-table tr {
        padding: 8px 6px !important;
        margin: 0 !important;
    }

    .todey-logs-table td {
        padding: 5px 0 !important;
        font-size: 10px !important;
    }

    .todey-logs-table td::before {
        font-size: 9px !important;
        margin-right: 6px !important;
    }

    .todey-logs-table .todey-log-key-wrapper,
    .todey-logs-table .todey-log-endpoint {
        max-width: 55% !important;
    }

    .todey-logs-table .todey-log-key-label {
        font-size: 10px !important;
    }

    .todey-logs-table .todey-log-key-preview {
        font-size: 9px !important;
    }

    .todey-logs-table .todey-log-endpoint {
        font-size: 9.5px !important;
    }

    .todey-logs-table .todey-log-timestamp,
    .todey-logs-table .todey-log-status-badge,
    .todey-logs-table .todey-log-latency {
        font-size: 10px !important;
    }
}

/* ----------------------------------------------------------------------------
   DEVELOPER WEBHOOKS MANAGEMENT RESPONSIVE SUITE
   ---------------------------------------------------------------------------- */
.todey-webhooks-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.todey-webhooks-card {
    padding: 28px;
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    box-sizing: border-box;
    width: 100%;
}

.todey-webhooks-card-header {
    margin-bottom: 24px;
}

.todey-webhooks-card-title {
    margin: 0;
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.todey-webhooks-card-subtitle {
    margin: 4px 0 0 0;
    font-size: 11px;
    line-height: 1.5;
    color: #888888;
}

.todey-webhooks-url-input {
    width: 100%;
    box-sizing: border-box;
    background: #000000;
    border: 1px solid #141414;
    padding: 10px 14px;
    height: 38px;
    color: #ffffff;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    border-radius: 0px;
}

.todey-webhooks-secret-row {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.todey-webhooks-secret-input {
    width: 100%;
    box-sizing: border-box;
    background: #000000;
    color: #aaaaaa;
    border: 1px solid #141414;
    padding: 10px 14px;
    height: 38px;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    border-radius: 0px;
}

.todey-webhooks-regen-btn {
    white-space: nowrap;
    height: 38px;
    min-height: 38px;
    padding: 0 20px !important;
    font-size: 10px !important;
    text-transform: uppercase;
    font-weight: 800;
    flex-shrink: 0;
    border-radius: 0px;
}

.todey-webhooks-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.todey-webhooks-events-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.todey-webhooks-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
}

.todey-wh-conjoined-bar {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: stretch !important;
    border: 1px solid #141414 !important;
    background: #000000 !important;
    border-radius: 0px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.todey-wh-conjoined-bar button,
.todey-wh-conjoined-bar .todey-wh-lang-tab,
.todey-wh-lang-tab {
    flex: 0 0 auto !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    padding: 0 14px !important;
    margin: 0 !important;
    font-family: 'DM Sans', -apple-system, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border: none !important;
    border-right: 1px solid #141414 !important;
    border-radius: 0px !important;
    background: #000000 !important;
    color: #ffffff !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
}

.todey-wh-conjoined-bar button:last-child,
.todey-wh-lang-tab:last-child {
    border-right: none !important;
}

.todey-wh-conjoined-bar button:hover:not(.active),
.todey-wh-lang-tab:hover:not(.active) {
    background: #080808 !important;
    color: #ffffff !important;
}

.todey-wh-conjoined-bar button.active,
.todey-wh-lang-tab.active {
    background: #ff4400 !important;
    color: #000000 !important;
    font-weight: 800 !important;
}

.todey-wh-lang-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
    transform: translateY(-0.5px) !important;
}

.todey-webhook-event-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    padding: 8px 10px;
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    box-sizing: border-box;
    min-height: 48px;
    transition: background 0.15s ease;
}

.todey-webhook-event-item:hover {
    background: #080808;
    border-color: #141414;
}

.todey-webhook-event-checkbox {
    accent-color: #ff4400;
    width: 14px;
    height: 14px;
    cursor: pointer;
    flex-shrink: 0;
    margin: 2px 0 0 0;
}

.todey-webhook-event-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.todey-webhook-event-id {
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    word-break: break-word;
}

.todey-webhook-event-desc {
    color: #888888;
    font-size: 10px;
    line-height: 1.3;
    font-family: 'DM Sans', sans-serif;
}

.todey-webhooks-form-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 18px;
    border-top: 1px solid #141414;
    margin-top: 24px;
}

.todey-webhooks-submit-btn {
    height: 38px;
    min-height: 38px;
    padding: 0 28px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    border-radius: 0px;
}

/* ==========================================================================
   WEBHOOK DELIVERY HISTORY AUDIT TABLE (ZERO THEME INHERITANCE)
   ========================================================================== */
.todey-webhook-deliveries-table {
    width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    background: #000000 !important;
    border: none !important;
    font-family: 'DM Sans', -apple-system, sans-serif !important;
    min-width: 720px;
    margin: 0 !important;
}

.todey-webhook-deliveries-table thead,
.todey-webhook-deliveries-table tbody,
.todey-webhook-deliveries-table tr {
    border: none !important;
    background: transparent !important;
}

.todey-webhook-deliveries-table th,
.todey-webhook-deliveries-table td {
    border: none !important;
    border-top: none !important;
    border-right: none !important;
    border-left: none !important;
    border-bottom: 1px solid #141414 !important;
    padding: 10px 12px !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    text-align: left !important;
    background: #000000 !important;
}

.todey-webhook-deliveries-table th {
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #888888 !important;
}

.todey-webhook-deliveries-table tbody tr:hover td {
    background-color: #080808 !important;
}

.todey-webhook-deliveries-table tbody tr:last-child td {
    border-bottom: none !important;
}

@media (max-width: 1200px) {
    .todey-webhooks-events-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
    }
}

@media (max-width: 900px) {
    .todey-webhooks-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .todey-webhooks-card {
        padding: 16px 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .todey-webhooks-card-header {
        margin-bottom: 20px !important;
    }

    .todey-webhooks-card-title {
        font-size: 13px !important;
    }

    .todey-webhooks-inputs-row {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .todey-webhooks-bento-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .todey-webhooks-events-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .todey-webhook-event-item {
        padding: 8px 10px !important;
        min-height: 38px !important;
    }

    .todey-webhooks-secret-row {
        gap: 8px !important;
        width: 100% !important;
    }

    .todey-webhooks-secret-input,
    .todey-webhooks-url-input {
        font-size: 11px !important;
        padding: 8px 10px !important;
        height: 38px !important;
    }

    .todey-webhooks-form-footer {
        justify-content: stretch !important;
        width: 100% !important;
    }

    .todey-webhooks-submit-btn {
        width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .todey-webhooks-card {
        padding: 14px 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .todey-webhooks-card-header {
        margin-bottom: 16px !important;
    }

    .todey-webhooks-card-title {
        font-size: 12.5px !important;
    }

    .todey-webhooks-card-subtitle {
        font-size: 10.5px !important;
    }

    .todey-webhooks-events-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .todey-webhook-event-item {
        padding: 8px 10px !important;
        min-height: 38px !important;
    }

    .todey-webhooks-secret-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .todey-webhooks-secret-actions {
        display: flex !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .todey-webhooks-secret-actions button {
        flex: 1 !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 0 6px !important;
    }

    .todey-webhooks-test-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .todey-webhooks-test-row select,
    .todey-webhooks-test-row button {
        width: 100% !important;
    }

    .todey-webhooks-regen-btn {
        width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
        justify-content: center !important;
        display: flex !important;
        align-items: center !important;
    }

    .todey-webhooks-secret-input,
    .todey-webhooks-url-input {
        font-size: 10.5px !important;
        padding: 8px 10px !important;
        height: 38px !important;
    }

    .todey-webhooks-help-text {
        font-size: 9.5px !important;
        line-height: 1.4 !important;
    }

    .todey-webhooks-submit-btn {
        width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
    }
}

@media (max-width: 360px) {
    .todey-webhooks-card {
        padding: 12px 6px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .todey-webhooks-card-title {
        font-size: 12px !important;
    }

    .todey-webhook-event-item {
        padding: 6px 8px !important;
    }

    .todey-webhook-event-id {
        font-size: 10px !important;
    }

    .todey-webhook-event-desc {
        font-size: 9.5px !important;
    }

    .todey-webhooks-secret-input,
    .todey-webhooks-url-input {
        font-size: 10px !important;
        padding: 6px 8px !important;
        height: 38px !important;
    }

    .todey-webhooks-submit-btn {
        font-size: 10px !important;
        height: 38px !important;
        min-height: 38px !important;
    }
}

/* ==========================================================================
   TODEY API & PANELS: MY ACCOUNT & SECURITY MULTI-RESOLUTION RESPONSIVE SUITE
   ========================================================================== */

.todey-account-view-container {
    width: 100%;
    box-sizing: border-box;
}

.todey-account-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

.todey-account-badges-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.todey-account-badge-pill {
    padding: 6px 12px;
    border: 1px solid #141414;
    background: #000000;
    font-size: 11px;
    font-family: 'Roboto Mono', monospace;
    color: #b3b3b3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 0px;
}

.todey-account-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

.todey-account-btn {
    height: 38px;
    min-height: 38px;
    background: #000000;
    color: #ffffff;
    border: 1px solid #141414;
    border-radius: 0px;
    padding: 0 18px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    transition: transform 0.15s ease;
}

.todey-account-btn:hover {
    background: #ff4400 !important;
    color: #000000 !important;
    transform: none !important;
}

/* Tablet Responsiveness (<= 768px) */
@media (max-width: 768px) {
    .todey-account-view-container {
        gap: 16px !important;
    }

    .todey-account-header-wrap {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        margin-bottom: 16px !important;
    }

    .todey-account-badges-wrap {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    .todey-account-stat-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-bottom: 16px !important;
    }

    .todey-account-stat-item {
        padding: 14px 10px !important;
    }

    .todey-account-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        width: 100% !important;
    }

    .todey-account-card {
        grid-column: span 10 !important;
        width: 100% !important;
        padding: 16px 10px !important;
        box-sizing: border-box !important;
    }

    .todey-account-btn {
        width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .security-alert-box {
        padding: 14px 10px !important;
    }
}

/* Mobile Responsiveness (<= 480px) */
@media (max-width: 480px) {
    .todey-account-view-container {
        gap: 14px !important;
    }

    .todey-account-card {
        padding: 14px 10px !important;
    }

    .todey-account-stat-item {
        padding: 12px 10px !important;
        gap: 10px !important;
    }

    .todey-account-stat-icon-wrap {
        width: 32px !important;
        height: 32px !important;
    }

    .todey-account-stat-icon-wrap svg {
        width: 18px !important;
        height: 18px !important;
    }

    .todey-account-stat-label {
        font-size: 9.5px !important;
    }

    .todey-account-stat-val {
        font-size: 10.5px !important;
        word-break: break-all !important;
    }

    .todey-account-card-title {
        font-size: 12px !important;
    }

    .todey-account-card-desc {
        font-size: 10.5px !important;
        margin: 8px 0 10px 0 !important;
    }

    .todey-account-card .todey-social-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .todey-account-card input.todey-input {
        height: 38px !important;
        line-height: 38px !important;
        font-size: 10.5px !important;
        padding: 0 10px !important;
    }

    .security-alert-box {
        padding: 12px 10px !important;
        gap: 8px !important;
    }

    .security-alert-box h4 {
        font-size: 11.5px !important;
    }

    .security-alert-box p {
        font-size: 10.5px !important;
        line-height: 1.4 !important;
    }

    .todey-account-status-msg {
        font-size: 11.5px !important;
        word-break: break-word !important;
    }
}

/* Ultra-Compact Mobile (<= 360px) */
@media (max-width: 360px) {
    .todey-account-card {
        padding: 12px 6px !important;
    }

    .todey-account-stat-item {
        padding: 10px 6px !important;
        gap: 8px !important;
    }

    .todey-account-stat-icon-wrap {
        width: 28px !important;
        height: 28px !important;
    }

    .todey-account-stat-icon-wrap svg {
        width: 16px !important;
        height: 16px !important;
    }

    .todey-account-stat-label {
        font-size: 9px !important;
    }

    .todey-account-stat-val {
        font-size: 10px !important;
    }

    .todey-account-badge-pill {
        padding: 4px 8px !important;
        font-size: 10px !important;
    }

    .todey-account-card-title {
        font-size: 11.5px !important;
    }

    .todey-account-card-desc {
        font-size: 10px !important;
    }

    .todey-account-card input.todey-input {
        height: 38px !important;
        line-height: 38px !important;
        font-size: 10px !important;
        padding: 0 8px !important;
    }

    .todey-account-btn {
        height: 38px !important;
        min-height: 38px !important;
        font-size: 10px !important;
        padding: 0 12px !important;
    }

    .security-alert-box {
        padding: 10px 6px !important;
        gap: 6px !important;
    }

    .security-alert-box h4 {
        font-size: 11px !important;
    }

    .security-alert-box p {
        font-size: 10px !important;
    }
}

/* ==========================================================================
   TODEY API & PANELS: INBOX & NOTIFICATIONS MULTI-RESOLUTION RESPONSIVE SUITE
   ========================================================================== */

.todey-inbox-view-container {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.todey-inbox-section-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

.todey-inbox-detail-card {
    background: #000000;
    border: none;
    padding: 20px 40px;
    font-size: 12px;
    color: #d2d2d2;
    line-height: 1.6;
    word-break: break-word;
    font-family: 'DM Sans', sans-serif;
    border-radius: 0px;
    box-sizing: border-box;
}

.todey-inbox-empty-state {
    text-align: center;
    padding: 40px 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
}

/* Tablet Responsiveness (<= 768px) */
@media (max-width: 768px) {
    .todey-inbox-view-container {
        gap: 16px !important;
    }

    .todey-inbox-table-container {
        border: none !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .todey-inbox-table {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        background: transparent !important;
    }

    .todey-inbox-table thead {
        display: none !important;
    }

    .todey-inbox-table tbody {
        display: block !important;
        width: 100% !important;
    }

    .todey-inbox-row {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        background: #000000 !important;
        border: 1px solid #141414 !important;
        border-radius: 0px !important;
        padding-top: 14px !important;
        padding-bottom: 12px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-bottom: 12px !important;
        box-sizing: border-box !important;
        cursor: pointer;
        position: relative !important;
    }

    .todey-inbox-row.unread {
        border-left: 2px solid var(--todey-accent-orange, #ff4400) !important;
    }

    .todey-inbox-row.read {
        border-left: 1px solid #141414 !important;
    }

    .todey-table.todey-inbox-table .todey-inbox-row td,
    .todey-inbox-table .todey-inbox-row td,
    .todey-inbox-row td {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        border: none !important;
        border-bottom: none !important;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        text-align: left !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }

    .todey-inbox-row td::before {
        display: none !important;
        content: none !important;
    }

    .todey-inbox-row td[data-label="Sender"] {
        order: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin-bottom: 8px !important;
        padding: 0 !important;
    }

    .todey-inbox-row td[data-label="Sender"] .todey-inbox-sender-logo {
        height: 13px !important;
        max-height: 13px !important;
        width: auto !important;
        display: block !important;
    }

    .todey-inbox-row td[data-label="Title"] {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 5px !important;
        padding: 0 !important;
        text-align: left !important;
    }

    .todey-inbox-row td[data-label="Title"] > div {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        text-align: left !important;
    }

    .todey-inbox-row td[data-label="Title"] span {
        display: block !important;
        font-family: 'DM Sans', sans-serif !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        line-height: 1.35 !important;
        text-align: left !important;
    }

    .todey-inbox-row td[data-label="Subtitle"] {
        order: 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        color: #b3b3b3 !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
        font-family: 'DM Sans', sans-serif !important;
        margin-bottom: 8px !important;
        padding: 0 !important;
        text-align: left !important;
        word-break: break-word !important;
    }

    .todey-inbox-row td[data-label="Date"] {
        order: 4 !important;
        font-size: 10.5px !important;
        color: #777777 !important;
        font-family: 'Roboto Mono', monospace !important;
        margin-bottom: 10px !important;
        padding: 0 !important;
        text-align: left !important;
    }

    .todey-table.todey-inbox-table .todey-inbox-row td[data-label="Actions"],
    .todey-inbox-table .todey-inbox-row td[data-label="Actions"],
    .todey-inbox-row td[data-label="Actions"] {
        order: 5 !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        border: none !important;
        border-top: 1px solid #141414 !important;
        border-bottom: none !important;
        padding-top: 8px !important;
        padding-bottom: 2px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-top: 2px !important;
        width: 100% !important;
    }

    .todey-inbox-row td[data-label="Actions"] > div {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        justify-content: flex-end !important;
        width: 100% !important;
    }

    .todey-inbox-action-btn.todey-inbox-view-btn {
        font-family: 'Space Grotesk', sans-serif !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        cursor: pointer;
        transition: color 0.15s ease;
        background: none !important;
        border: none !important;
        padding: 4px 6px !important;
    }

    .todey-inbox-action-btn.todey-inbox-view-btn:hover {
        color: #ff4400 !important;
    }

    .todey-inbox-action-btn.todey-inbox-delete-btn {
        font-family: 'Space Grotesk', sans-serif !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #ff0000 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        cursor: pointer;
        transition: opacity 0.15s ease;
        background: none !important;
        border: none !important;
        padding: 4px 6px !important;
    }

    .todey-inbox-action-btn.todey-inbox-delete-btn:hover {
        opacity: 0.8 !important;
    }

    .todey-table tr.todey-inbox-detail-row {
        display: none !important;
        width: 100% !important;
        margin-top: -8px !important;
        margin-bottom: 14px !important;
        background: #000000 !important;
        border: 1px solid #141414 !important;
        border-top: 1px dashed #141414 !important;
        box-sizing: border-box !important;
    }

    .todey-table tr.todey-inbox-detail-row.open {
        display: block !important;
    }

    .todey-table tr.todey-inbox-detail-row td {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        border: none !important;
    }

    .todey-inbox-detail-card {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        background: #000000 !important;
    }

    .todey-inbox-detail-title {
        text-align: left !important;
        font-family: 'DM Sans', sans-serif !important;
    }

    .todey-inbox-detail-subtitle {
        text-align: left !important;
        font-family: 'DM Sans', sans-serif !important;
    }

    .todey-inbox-detail-body {
        text-align: left !important;
        font-family: 'DM Sans', sans-serif !important;
    }

    .todey-inbox-empty-state {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* Mobile Responsiveness (<= 480px) */
@media (max-width: 480px) {
    .todey-inbox-view-container {
        gap: 14px !important;
    }

    .todey-inbox-row {
        padding-top: 12px !important;
        padding-bottom: 10px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .todey-inbox-row td[data-label="Title"] span {
        font-size: 12.5px !important;
    }

    .todey-inbox-row td[data-label="Subtitle"] {
        font-size: 11.5px !important;
    }

    .todey-inbox-detail-card {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 11px !important;
    }
}

/* Ultra-Compact Mobile (<= 360px) */
@media (max-width: 360px) {
    .todey-inbox-row {
        padding-top: 10px !important;
        padding-bottom: 8px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .todey-inbox-row td[data-label="Title"] span {
        font-size: 12px !important;
    }

    .todey-inbox-detail-card {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        font-size: 10px !important;
    }
}

/* ==========================================================================
   TODEY SUPPORT TICKETS & MODERATION MULTI-RESOLUTION RESPONSIVE SUITE (S-3592)
   ========================================================================== */

/* User Tickets Dashboard Styles */
.todey-user-tickets-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.todey-user-tickets-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 14px;
}

.todey-user-tickets-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.todey-user-tickets-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.todey-user-tickets-filter-select {
    height: 38px !important;
    min-height: 38px !important;
    line-height: 38px !important;
    width: 160px !important;
}

.todey-new-ticket-btn {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* User Ticket Thread Detail Styles */
.todey-ticket-thread-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.todey-ticket-thread-header {
    padding: 20px 24px;
    background: #000000;
    border: 1px solid #141414;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    box-sizing: border-box;
}

.todey-ticket-thread-header-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.todey-ticket-thread-header-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.todey-ticket-linked-resource {
    padding: 14px 20px;
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
}

.todey-ticket-reply-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}

.todey-ticket-reply-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

/* Admin Support Tickets Queue & Moderation Grid */
.todey-admin-tickets-grid {
    display: grid !important;
    grid-template-columns: repeat(12, 1fr) !important;
    gap: 20px !important;
    font-size: 13px !important;
    background: transparent !important;
    border: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.todey-admin-tickets-queue-card {
    padding: 20px !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    min-height: 600px !important;
    box-sizing: border-box !important;
}

.todey-admin-tickets-details-panel {
    padding: 20px !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 600px !important;
}

.todey-admin-ticket-meta-table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 12px !important;
    margin: 0 !important;
    border-radius: 0px !important;
    box-sizing: border-box !important;
}

.todey-admin-ticket-reply-wrap {
    background: #000000 !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.todey-admin-reply-actions {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

/* Tablet Responsiveness (<= 768px) */
@media (max-width: 768px) {
    .todey-user-tickets-card {
        padding: 16px 10px !important;
    }

    .todey-user-tickets-header {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
        margin-bottom: 16px !important;
    }

    .todey-user-tickets-actions {
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    .todey-user-tickets-filter-select,
    .todey-new-ticket-btn {
        width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
    }

    /* Transform Table to Card-based layout on Tablet */
    .todey-user-tickets-table-wrap {
        border: none !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .todey-user-tickets-table {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        background: transparent !important;
        border: none !important;
    }

    .todey-user-tickets-table thead {
        display: none !important;
    }

    .todey-user-tickets-table tbody {
        display: block !important;
        width: 100% !important;
    }

    .todey-ticket-row {
        display: block !important;
        width: 100% !important;
        background: #000000 !important;
        border: 1px solid #141414 !important;
        border-radius: 0px !important;
        padding: 12px 10px !important;
        margin-bottom: 12px !important;
        box-sizing: border-box !important;
    }

    .todey-ticket-row td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 8px 0 !important;
        border: none !important;
        border-bottom: 1px solid #141414 !important;
        font-size: 11px !important;
        text-align: right !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }

    .todey-ticket-row td:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .todey-ticket-row td:first-child {
        padding-top: 0 !important;
    }

    .todey-ticket-row td::before {
        content: attr(data-label) !important;
        font-family: 'Space Grotesk', sans-serif !important;
        font-weight: 700 !important;
        font-size: 10px !important;
        color: #888888 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        text-align: left !important;
        margin-right: 12px !important;
        flex-shrink: 0 !important;
    }

    .todey-ticket-row td[data-label="Subject"] {
        max-width: 100% !important;
        text-align: right !important;
        word-break: break-word !important;
    }

    .todey-ticket-row td[data-label="Subject"] strong {
        font-size: 11.5px !important;
    }

    .todey-ticket-row td[data-label="Subject"] div {
        font-size: 10px !important;
    }

    .todey-ticket-row td[data-label="Actions"] {
        justify-content: flex-end !important;
    }

    .todey-ticket-row td[data-label="Actions"] .todey-btn {
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 16px !important;
        width: 100% !important;
        justify-content: center !important;
    }

    /* User Ticket Thread Detail Tablet Responsiveness */
    .todey-ticket-thread-container {
        gap: 16px !important;
    }

    .todey-ticket-thread-header {
        padding: 16px 10px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .todey-ticket-thread-header-status {
        width: 100% !important;
        display: flex !important;
        justify-content: flex-start !important;
    }

    .todey-ticket-linked-resource {
        padding: 12px 10px !important;
        font-size: 11px !important;
        flex-wrap: wrap !important;
    }

    .todey-chat-history-container {
        padding: 16px 10px !important;
        max-height: 420px !important;
    }

    .todey-chat-row.sent .todey-chat-bubble,
    .todey-chat-row.received .todey-chat-bubble {
        max-width: 90% !important;
        padding: 12px 14px !important;
        font-size: 11px !important;
    }

    .todey-ticket-reply-card {
        padding: 16px 10px !important;
    }

    .todey-ticket-reply-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .todey-ticket-reply-actions .todey-btn {
        width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
        justify-content: center !important;
    }

    /* Admin Tickets Grid Tablet Stacking */
    .todey-admin-tickets-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .todey-admin-tickets-queue-card {
        grid-column: span 12 !important;
        width: 100% !important;
        padding: 16px 10px !important;
        min-height: auto !important;
    }

    .todey-admin-tickets-details-panel {
        grid-column: span 12 !important;
        width: 100% !important;
        padding: 16px 10px !important;
        min-height: auto !important;
    }

    .todey-admin-ticket-meta-table {
        display: block !important;
        width: 100% !important;
        border: none !important;
    }

    .todey-admin-ticket-meta-table tbody {
        display: block !important;
        width: 100% !important;
    }

    .todey-admin-meta-row {
        display: block !important;
        width: 100% !important;
        border: 1px solid #141414 !important;
        margin-bottom: 8px !important;
        background: #000000 !important;
        box-sizing: border-box !important;
        padding: 6px 10px !important;
    }

    .todey-admin-meta-label {
        display: none !important;
    }

    .todey-admin-meta-empty {
        display: none !important;
    }

    .todey-admin-meta-val {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 6px 0 !important;
        border: none !important;
        border-bottom: 1px solid #141414 !important;
        font-size: 11px !important;
        text-align: right !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .todey-admin-meta-val:last-child {
        border-bottom: none !important;
    }

    .todey-admin-meta-val::before {
        content: attr(data-label);
        font-family: 'Space Grotesk', sans-serif !important;
        font-size: 9px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        color: var(--todey-text-muted, #888888) !important;
        letter-spacing: 0.5px !important;
        text-align: left !important;
        margin-right: 12px !important;
        flex-shrink: 0 !important;
    }

    .todey-admin-ticket-header-actions {
        width: 100% !important;
        justify-content: space-between !important;
    }

    .todey-admin-ticket-header-actions select.todey-select {
        flex: 1 !important;
        width: auto !important;
    }

    .todey-admin-reply-actions {
        width: 100% !important;
    }

    .todey-admin-reply-actions .todey-btn {
        width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
        justify-content: center !important;
    }

    .todey-admin-create-ticket-actions .todey-btn {
        width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
        justify-content: center !important;
    }

    .todey-ticket-form-drawer {
        padding: 16px 10px !important;
        margin-bottom: 12px !important;
    }

    .todey-ticket-form-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .todey-ticket-form-actions {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .todey-ticket-form-actions .todey-btn {
        flex: 1 1 0 !important;
        width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
        justify-content: center !important;
    }
}

/* Mobile Responsiveness (<= 480px) */
@media (max-width: 480px) {
    .todey-ticket-form-drawer {
        padding: 14px 10px !important;
    }

    .todey-user-tickets-card {
        padding: 14px 10px !important;
    }

    .todey-ticket-row {
        padding: 10px 10px !important;
    }

    .todey-ticket-row td {
        font-size: 10.5px !important;
        padding: 6px 0 !important;
    }

    .todey-ticket-row td::before {
        font-size: 9.5px !important;
    }

    .todey-ticket-thread-header {
        padding: 14px 10px !important;
    }

    .todey-ticket-thread-title {
        font-size: 15px !important;
    }

    .todey-ticket-thread-cat {
        font-size: 10px !important;
    }

    .todey-ticket-reply-card {
        padding: 14px 10px !important;
    }

    .todey-admin-tickets-queue-card {
        padding: 14px 10px !important;
    }

    .todey-admin-tickets-details-panel {
        padding: 14px 10px !important;
    }

    .todey-admin-tickets-filters-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .todey-admin-create-ticket-wrap {
        padding: 0 !important;
    }
}

/* Ultra-Compact Mobile (<= 360px) */
@media (max-width: 360px) {
    .todey-ticket-form-drawer {
        padding: 12px 6px !important;
    }
    .todey-user-tickets-card {
        padding: 12px 6px !important;
    }

    .todey-ticket-row {
        padding: 8px 6px !important;
    }

    .todey-ticket-row td {
        font-size: 10px !important;
    }

    .todey-ticket-row td::before {
        font-size: 9px !important;
        margin-right: 8px !important;
    }

    .todey-ticket-thread-header {
        padding: 12px 6px !important;
    }

    .todey-ticket-thread-title {
        font-size: 14px !important;
    }

    .todey-ticket-linked-resource {
        padding: 10px 6px !important;
        font-size: 10px !important;
    }

    .todey-chat-history-container {
        padding: 12px 6px !important;
    }

    .todey-chat-row.sent .todey-chat-bubble,
    .todey-chat-row.received .todey-chat-bubble {
        max-width: 95% !important;
        padding: 10px 10px !important;
        font-size: 10px !important;
    }

    .todey-ticket-reply-card {
        padding: 12px 6px !important;
    }

    .todey-admin-tickets-queue-card {
        padding: 12px 6px !important;
    }

    .todey-admin-tickets-details-panel {
        padding: 12px 6px !important;
    }
}

/* ----------------------------------------------------------------------------
   WORKSPACE SWITCHER TABS & PROJECT HERO MULTI-RESOLUTION SUITE
   ---------------------------------------------------------------------------- */

/* Base Desktop (>= 769px) */
.todey-console-switcher-container {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #141414;
    padding-bottom: 16px;
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
}

.todey-console-switcher-tab {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0px !important;
    border: 1px solid #141414;
    background: #000000 !important;
    color: #ffffff;
    height: 38px;
    min-height: 38px;
    padding: 0 18px;
    cursor: pointer;
    transition: all 0.2s;
    outline: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.todey-console-switcher-tab:hover {
    background: #ff4400 !important;
    color: #000000 !important;
    border-color: #141414 !important;
    transform: none !important;
}

.todey-console-switcher-tab.active {
    color: #ff4400 !important;
    border-color: #141414 !important;
}

.todey-projects-hero-card {
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    padding: 32px;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
    width: 100%;
}

.todey-projects-hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.todey-project-custom-dropdown {
    position: relative;
    display: inline-block;
    min-width: 250px;
    width: max-content;
    z-index: 10;
    box-sizing: border-box;
}

.todey-project-dropdown-trigger {
    background: #000000;
    color: #ffffff;
    border: 1px solid #141414;
    height: 42px;
    min-height: 42px;
    width: 100%;
    min-width: 250px;
    padding: 0;
    font-size: 11px;
    font-weight: 600;
    font-family: space-grotesk, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0px;
    outline: none;
    box-sizing: border-box;
    display: inline-flex;
    align-items: stretch;
    justify-content: space-between;
    transition: background 0.15s ease;
}

.todey-projects-hero-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.todey-performance-snapshot-card {
    background: #000000;
    border: 1px solid #141414;
    border-radius: 0px;
    padding: 24px;
    box-sizing: border-box;
    width: 100%;
}

.todey-performance-metrics-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.todey-performance-metric-item {
    background: #000000;
    border: 1px solid #141414;
    padding: 16px 20px;
    border-radius: 0px;
    flex: 1;
    min-width: 140px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-sizing: border-box;
}

/* Tablet (<= 768px) */
@media (max-width: 768px) {
    .todey-console-switcher-container {
        display: flex !important;
        width: 100% !important;
        gap: 8px !important;
        border-bottom: 1px solid #141414 !important;
        padding: 0 0 10px 0 !important;
        margin: 0 0 10px 0 !important;
        box-sizing: border-box !important;
    }

    .todey-console-switcher-tab {
        flex: 1 1 0 !important;
        width: 50% !important;
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 10px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        font-family: 'Space Grotesk', sans-serif !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        border-radius: 0px !important;
        border: 1px solid #141414 !important;
        background: #000000 !important;
        box-sizing: border-box !important;
        cursor: pointer !important;
    }

    .todey-projects-hero-card {
        padding: 16px 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .todey-projects-hero-inner {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
        width: 100% !important;
    }

    .todey-projects-hero-info {
        width: 100% !important;
    }

    .todey-project-selector-wrap {
        width: 100% !important;
        margin-bottom: 8px !important;
    }

    .todey-project-custom-dropdown {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        box-sizing: border-box !important;
    }

    .todey-project-dropdown-trigger {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 42px !important;
        min-height: 42px !important;
        display: flex !important;
        align-items: stretch !important;
        justify-content: space-between !important;
        box-sizing: border-box !important;
    }

    .todey-project-trigger-icon-box {
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        border-right: 1px solid #141414 !important;
        box-sizing: border-box !important;
    }

    .todey-project-trigger-content {
        flex: 1 !important;
        min-width: 0 !important;
        padding: 0 12px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }

    .todey-project-trigger-label {
        font-family: 'DM Sans', sans-serif !important;
        font-size: 8px !important;
        font-weight: 700 !important;
        color: #888888 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        line-height: 1 !important;
    }

    .todey-project-trigger-value {
        font-family: 'DM Sans', sans-serif !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        text-transform: uppercase !important;
        letter-spacing: 0.4px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }

    .todey-project-trigger-arrow-box {
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 42px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        border-left: 1px solid #141414 !important;
        box-sizing: border-box !important;
    }

    .todey-project-dropdown-menu {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        z-index: 9999 !important;
    }

    .todey-projects-hero-actions {
        width: 100% !important;
        display: flex !important;
        gap: 10px !important;
    }

    .todey-projects-hero-actions .todey-btn,
    .todey-projects-hero-actions .todey-hero-update-btn,
    .todey-projects-hero-actions .todey-hero-analytics-btn {
        flex: 1 !important;
        width: 50% !important;
        height: 38px !important;
        min-height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 0 12px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        box-sizing: border-box !important;
    }

    .todey-project-status-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        display: grid !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .todey-performance-snapshot-card {
        padding: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .todey-performance-metrics-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .todey-performance-metric-item {
        padding: 12px 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .todey-performance-metric-item:last-child:nth-child(odd) {
        grid-column: span 2 !important;
    }
}

/* Mobile (<= 480px) */
@media (max-width: 480px) {
    .todey-projects-hero-card {
        padding: 14px 10px !important;
    }

    .todey-projects-hero-actions {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .todey-projects-hero-actions .todey-btn,
    .todey-projects-hero-actions .todey-hero-update-btn,
    .todey-projects-hero-actions .todey-hero-analytics-btn {
        width: 100% !important;
        flex: 1 1 100% !important;
    }

    .todey-project-status-grid {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .todey-performance-snapshot-card {
        padding: 10px !important;
    }

    .todey-performance-metrics-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .todey-performance-metric-item {
        padding: 12px 14px !important;
        width: 100% !important;
    }
}

/* Ultra-Compact Mobile (<= 360px) */
@media (max-width: 360px) {
    .todey-portal-header,
    .todey-portal-sidebar,
    .todey-portal-content-container,
    #todey-portal-content {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .todey-portal-header {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        gap: 6px !important;
    }

    .todey-portal-sidebar {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .todey-console-switcher-container {
        padding-bottom: 8px !important;
        margin-bottom: 8px !important;
        gap: 6px !important;
    }

    .todey-console-switcher-tab {
        font-size: 9.5px !important;
        padding: 0 4px !important;
        letter-spacing: 0.2px !important;
    }

    .todey-projects-hero-card {
        padding: 12px 6px !important;
    }

    .todey-project-trigger-content {
        padding: 0 8px !important;
    }

    .todey-project-trigger-value {
        font-size: 10px !important;
    }

    .todey-performance-snapshot-card {
        padding: 10px 6px !important;
    }

    .todey-performance-metric-item {
        padding: 10px 8px !important;
    }
}

/* ==========================================================================
   Welcome Hub - Health Progress Bar Tokens & Styles
   ========================================================================== */
.todey-hub-progress-track {
    background: #080808 !important;
    border: 1px solid #141414 !important;
    height: 10px !important;
    padding: 1px !important;
    position: relative !important;
    box-sizing: border-box !important;
    border-radius: 0px !important;
}

.todey-hub-progress-fill {
    height: 100% !important;
    position: relative !important;
    border-radius: 0px !important;
    box-sizing: border-box !important;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease !important;
}

.todey-hub-progress-dot {
    position: absolute !important;
    right: 2px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 3px !important;
    height: 3px !important;
    border-radius: 50% !important;
    background: #000000 !important;
    display: inline-block !important;
}

/* ==========================================================================
   Whop Card Settlement Panel & Dual-Rail Checkout Styling
   ========================================================================== */
.todey-payment-rail-switcher {
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 24px !important;
    background: transparent !important;
    border: none !important;
    height: 38px !important;
    box-sizing: border-box !important;
    width: fit-content !important;
}

.todey-rail-btn {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 16px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 0px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease !important;
    font-family: inherit !important;
}

.todey-rail-btn.active {
    background: #000000 !important;
    color: #ff4400 !important;
    border: 1px solid #141414 !important;
}

.todey-rail-btn:not(.active) {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #141414 !important;
}

.todey-rail-btn:not(.active):hover {
    background: #080808 !important;
    border-color: #141414 !important;
    color: #ffffff !important;
}

#todey-crypto-copy {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    padding: 4px 6px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: color 0.15s ease !important;
}

#todey-crypto-copy:hover {
    background: transparent !important;
    color: #ff4400 !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

#todey-crypto-copy:focus,
#todey-crypto-copy:active {
    background: transparent !important;
    color: #ff4400 !important;
    outline: none !important;
    box-shadow: none !important;
}

#todey-crypto-copy svg {
    stroke: currentColor !important;
    transition: stroke 0.15s ease !important;
}

#todey-crypto-sim-form button[type="submit"] {
    background: #000000 !important;
    color: #ff4400 !important;
    border: 1px solid #141414 !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    line-height: 36px !important;
    box-sizing: border-box !important;
    border-radius: 0px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

#todey-crypto-sim-form button[type="submit"]:hover {
    background: #ff4400 !important;
    color: #000000 !important;
    border-color: #141414 !important;
    transform: none !important;
    box-shadow: none !important;
}

#todey-crypto-sim-form button[type="submit"]:active,
#todey-crypto-sim-form button[type="submit"]:focus {
    background: #ff4400 !important;
    color: #000000 !important;
    border-color: #141414 !important;
    outline: none !important;
    box-shadow: none !important;
}

#crypto-tx-hash {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    line-height: 36px !important;
    box-sizing: border-box !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    background: #000000 !important;
    color: #ffffff !important;
    font-family: var(--todey-font-mono, monospace) !important;
    font-size: 11px !important;
    outline: none !important;
    box-shadow: none !important;
}

#crypto-tx-hash:focus,
#crypto-tx-hash:active {
    border-color: #141414 !important;
    outline: none !important;
    box-shadow: none !important;
}

#todey-whop-launch-checkout-btn {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: none !important;
}

#todey-whop-launch-checkout-btn:hover {
    transform: none !important;
    box-shadow: none !important;
}

#todey-whop-launch-checkout-btn:active {
    transform: none !important;
}

.todey-asymmetric-payment-grid {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
    gap: 20px !important;
    align-items: start !important;
    width: 100% !important;
}

.todey-crypto-controls-card,
.todey-qr-specs-card,
.todey-card-terminal-card,
.todey-rail-bento-card {
    border: 1px solid #141414 !important;
    background: #000000 !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 0px !important;
}

.todey-crypto-controls-card {
    gap: 16px !important;
    height: 100% !important;
}

.todey-qr-specs-card {
    padding: 20px !important;
    gap: 16px !important;
}

.todey-qr-split-layout {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    border: 1px solid #141414 !important;
    background: #000000 !important;
    padding: 16px !important;
    box-sizing: border-box !important;
}

.todey-qr-header-info {
    text-align: left !important;
    width: 100% !important;
}

.todey-qr-requirement-label {
    font-size: 9.5px !important;
    letter-spacing: 1.5px !important;
    font-weight: 700 !important;
    color: #888888 !important;
    text-transform: uppercase !important;
    margin-bottom: 4px !important;
    display: block !important;
    font-family: var(--todey-font-sans, 'DM Sans', sans-serif) !important;
}

.todey-qr-transfer-amount {
    font-size: 15px !important;
    line-height: 1.35 !important;
    color: #ffffff !important;
    font-family: var(--todey-font-sans, 'DM Sans', sans-serif) !important;
    font-weight: 600 !important;
}

.todey-qr-transfer-amount strong {
    color: #ff4400 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.todey-qr-network-desc {
    font-size: 11.5px !important;
    color: #b3b3b3 !important;
    font-family: var(--todey-font-sans, 'DM Sans', sans-serif) !important;
    margin-top: 3px !important;
}

.todey-qr-network-desc strong {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.todey-qr-assurances-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px 12px !important;
    border-top: 1px solid #141414 !important;
    padding-top: 8px !important;
    width: 100% !important;
    align-self: stretch !important;
    box-sizing: border-box !important;
}

.todey-card-terminal-card {
    padding: 24px !important;
    gap: 16px !important;
    height: auto !important;
    align-self: flex-start !important;
    justify-content: flex-start !important;
}

.todey-pay-badge-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0px !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
}

.todey-pay-badge-icon svg {
    display: block !important;
    height: 24px !important;
    max-height: 24px !important;
    width: 36px !important;
    max-width: 36px !important;
}

.todey-dual-rail-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    align-items: stretch !important;
    width: 100% !important;
}

.todey-card-assurances-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    margin-top: 4px !important;
}

.todey-checkout-timeline {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-family: var(--todey-font-sans, 'DM Sans', sans-serif) !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-weight: 700 !important;
    flex-wrap: wrap !important;
}

@media (max-width: 1024px) {
    .todey-asymmetric-payment-grid,
    .todey-dual-rail-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

@media (max-width: 640px) {
    .todey-qr-split-layout {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .todey-qr-assurances-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
        align-self: stretch !important;
        gap: 6px 10px !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 768px) {
    .todey-checkout-timeline {
        width: 100% !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }

    .todey-crypto-controls-card,
    .todey-qr-specs-card,
    .todey-card-terminal-card,
    .todey-rail-bento-card {
        padding: 16px !important;
    }

    #todey-panel-card > div:first-child {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }

    #todey-panel-card > div:first-child > div:last-child {
        width: 100% !important;
        justify-content: space-between !important;
    }

    .todey-card-terminal-card {
        padding: 20px 16px !important;
        max-width: 100% !important;
    }

    .todey-card-assurances-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

/* Crypto Asset & Network Unified Dropdown Selector */
.todey-crypto-asset-dropdown {
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.todey-crypto-asset-dropdown .todey-custom-dropdown-trigger {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    color: #ffffff !important;
    padding: 0 14px !important;
    outline: none !important;
    font-size: 11px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 0px !important;
    width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
    line-height: 36px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: left !important;
    transition: background 0.15s ease !important;
}

.todey-crypto-asset-dropdown .todey-custom-dropdown-trigger:hover,
.todey-crypto-asset-dropdown .todey-custom-dropdown-trigger.is-open {
    background: #080808 !important;
}

.todey-crypto-asset-dropdown .todey-custom-dropdown-trigger:focus,
.todey-crypto-asset-dropdown .todey-custom-dropdown-trigger:active {
    border-color: #141414 !important;
    outline: none !important;
    box-shadow: none !important;
}

.todey-crypto-asset-dropdown .todey-custom-dropdown-menu {
    position: absolute !important;
    top: calc(100% + 2px) !important;
    left: 0 !important;
    width: 100% !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.95) !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    max-height: 240px !important;
    overflow-y: auto !important;
}

.todey-crypto-asset-item {
    padding: 0 14px !important;
    height: 38px !important;
    min-height: 38px !important;
    line-height: 36px !important;
    font-size: 11px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    border-bottom: 1px solid #141414 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: background 0.15s ease !important;
    background: #000000 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    user-select: none !important;
}

.todey-crypto-asset-item:last-child {
    border-bottom: none !important;
}

.todey-crypto-asset-item:hover,
.todey-crypto-asset-item.is-selected {
    background: #080808 !important;
    color: #ffffff !important;
}

.todey-crypto-asset-icons {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
}

.todey-crypto-asset-icons img {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    flex-shrink: 0 !important;
}

/* ==========================================================================
   TODEY CHECKOUT & BILLING MODAL COMPREHENSIVE RESPONSIVE STYLES
   ========================================================================== */
.todey-checkout-modal {
    background: #000000 !important;
    z-index: 99999 !important;
    overflow-y: auto !important;
}

.todey-checkout-modal-card {
    background: #000000 !important;
    width: 100% !important;
    min-height: 100vh !important;
    box-sizing: border-box !important;
}

.todey-checkout-header {
    background: #000000 !important;
    border-bottom: 1px solid #141414 !important;
    box-sizing: border-box !important;
}

.todey-checkout-sidebar {
    background: #000000 !important;
    box-sizing: border-box !important;
}

.todey-checkout-main {
    background: #000000 !important;
    box-sizing: border-box !important;
}

.todey-checkout-matrix-val {
    color: #888888 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 11.5px !important;
    letter-spacing: 0.5px !important;
}

.todey-checkout-back-btn:hover {
    background: #ff4400 !important;
    color: #000000 !important;
    border-color: #141414 !important;
    transform: none !important;
}

/* Tablet Screens (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Hide Logo and Projects Portal Title on Tablets & Mobiles */
    .todey-checkout-brand {
        display: none !important;
    }

    .todey-checkout-header {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        justify-content: flex-end !important;
    }

    .todey-checkout-container {
        flex-direction: column !important;
        width: 100% !important;
    }

    .todey-checkout-sidebar {
        max-width: 100% !important;
        width: 100% !important;
        flex: 1 1 auto !important;
        border-right: none !important;
        border-bottom: 1px solid #141414 !important;
        padding-top: 24px !important;
        padding-bottom: 24px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .todey-checkout-main {
        width: 100% !important;
        flex: 1 1 auto !important;
        padding-top: 24px !important;
        padding-bottom: 24px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .todey-asymmetric-payment-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .todey-card-terminal-card {
        align-self: stretch !important;
    }
}

/* Mobile Screens (max-width: 767px) - Strict 5px default / max 10px padding */
@media (max-width: 767px) {
    .todey-checkout-brand {
        display: none !important;
    }

    .todey-checkout-header {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        justify-content: flex-end !important;
    }

    .todey-checkout-back-btn {
        height: 38px !important;
        min-height: 38px !important;
        font-size: 10px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        border-radius: 0px !important;
    }

    .todey-checkout-container {
        flex-direction: column !important;
        width: 100% !important;
    }

    .todey-checkout-sidebar {
        max-width: 100% !important;
        width: 100% !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
        border-right: none !important;
        border-bottom: 1px solid #141414 !important;
    }

    .todey-checkout-main {
        width: 100% !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .todey-checkout-main-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
        padding-bottom: 16px !important;
        margin-bottom: 20px !important;
    }

    .todey-checkout-title-box {
        padding-left: 10px !important;
    }

    .todey-checkout-title-box h3 {
        font-size: 14px !important;
        letter-spacing: 1px !important;
    }

    .todey-checkout-title-box p {
        font-size: 11px !important;
    }

    .todey-checkout-timeline {
        width: 100% !important;
        justify-content: space-between !important;
        gap: 6px !important;
        font-size: 9px !important;
        letter-spacing: 0.5px !important;
    }

    .todey-checkout-step-divider {
        width: 12px !important;
        flex-shrink: 1 !important;
    }

    .todey-asymmetric-payment-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100% !important;
    }

    .todey-crypto-controls-card,
    .todey-card-terminal-card {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .todey-qr-split-layout {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 16px !important;
        padding-top: 18px !important;
        padding-bottom: 18px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        background: #000000 !important;
        border: 1px solid #141414 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #todey-crypto-qr-container {
        width: 140px !important;
        height: 140px !important;
        margin: 0 auto !important;
        padding: 8px !important;
        background: #000000 !important;
        border: 1px solid #141414 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    #todey-crypto-qr-img {
        width: 124px !important;
        height: 124px !important;
        display: block !important;
    }

    .todey-qr-details-box {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 12px !important;
    }

    .todey-qr-header-info {
        text-align: center !important;
        width: 100% !important;
    }

    .todey-qr-requirement-label {
        font-size: 9px !important;
        letter-spacing: 1.5px !important;
        font-weight: 700 !important;
        color: #888888 !important;
        text-transform: uppercase !important;
        margin-bottom: 6px !important;
        display: block !important;
    }

    .todey-qr-transfer-amount {
        font-size: 14px !important;
        line-height: 1.3 !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        font-family: var(--todey-font-sans, 'DM Sans', sans-serif) !important;
    }

    .todey-qr-transfer-amount strong {
        color: #ff4400 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
    }

    .todey-qr-network-desc {
        font-size: 11px !important;
        color: #888888 !important;
        margin-top: 4px !important;
        font-family: var(--todey-font-sans, 'DM Sans', sans-serif) !important;
    }

    .todey-qr-network-desc strong {
        color: #ffffff !important;
        text-transform: uppercase !important;
    }

    .todey-qr-assurances-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
        max-width: 100% !important;
        align-self: stretch !important;
        margin: 0 auto !important;
        border-top: 1px solid #141414 !important;
        padding-top: 12px !important;
        gap: 8px 10px !important;
        box-sizing: border-box !important;
    }

    .todey-qr-assurance-item {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 10.5px !important;
        color: #b3b3b3 !important;
        line-height: 1.25 !important;
        text-align: left !important;
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .todey-qr-assurance-item span {
        min-width: 0 !important;
        word-break: break-word !important;
        white-space: normal !important;
        line-height: 1.25 !important;
    }

    .todey-qr-assurance-item svg {
        width: 11px !important;
        height: 11px !important;
        stroke: #00ff66 !important;
        flex-shrink: 0 !important;
    }
}

/* Small Mobile Screens (max-width: 480px) */
@media (max-width: 480px) {
    .todey-checkout-header {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .todey-checkout-sidebar {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .todey-checkout-main {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .todey-checkout-sidebar-badge {
        margin-bottom: 16px !important;
    }

    .todey-checkout-plan-name {
        font-size: 20px !important;
    }

    .todey-checkout-plan-desc {
        margin-bottom: 20px !important;
        font-size: 11.5px !important;
    }

    .todey-checkout-summary-matrix {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
        margin-bottom: 20px !important;
    }

    .todey-checkout-matrix-row {
        font-size: 11px !important;
        margin-bottom: 10px !important;
    }

    .todey-checkout-matrix-val {
        font-size: 10.5px !important;
    }

    .todey-checkout-price-val {
        font-size: 24px !important;
    }

    .todey-checkout-guarantee-box {
        margin-top: 24px !important;
        padding-top: 16px !important;
    }

    .todey-crypto-controls-card,
    .todey-card-terminal-card {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .todey-qr-split-layout {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
        gap: 14px !important;
    }

    #todey-crypto-qr-container {
        width: 130px !important;
        height: 130px !important;
        padding: 6px !important;
    }

    #todey-crypto-qr-img {
        width: 116px !important;
        height: 116px !important;
    }

    .todey-qr-assurances-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
        max-width: 100% !important;
        align-self: stretch !important;
        padding-top: 10px !important;
        gap: 6px 8px !important;
        box-sizing: border-box !important;
    }

    .todey-qr-assurance-item {
        font-size: 9.5px !important;
        gap: 5px !important;
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .todey-qr-assurance-item span {
        min-width: 0 !important;
        word-break: break-word !important;
        white-space: normal !important;
        line-height: 1.25 !important;
    }

    .todey-checkout-timeline {
        font-size: 8.5px !important;
    }

    .todey-checkout-step-item span {
        font-size: 8.5px !important;
    }

    .todey-checkout-step-divider {
        display: none !important;
    }
}

/* Extra Small Screens (max-width: 340px) */
@media (max-width: 340px) {
    .todey-checkout-header {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    .todey-checkout-sidebar {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .todey-checkout-main {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .todey-crypto-controls-card,
    .todey-card-terminal-card {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .todey-qr-split-layout {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        gap: 12px !important;
    }

    #todey-crypto-qr-container {
        width: 120px !important;
        height: 120px !important;
        padding: 4px !important;
    }

    #todey-crypto-qr-img {
        width: 110px !important;
        height: 110px !important;
    }

    .todey-qr-assurances-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
        max-width: 100% !important;
        align-self: stretch !important;
        padding-top: 8px !important;
        gap: 5px 6px !important;
        box-sizing: border-box !important;
    }

    .todey-qr-assurance-item {
        font-size: 8.5px !important;
        gap: 4px !important;
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .todey-qr-assurance-item span {
        min-width: 0 !important;
        word-break: break-word !important;
        white-space: normal !important;
        line-height: 1.25 !important;
    }
}

/* ==========================================================================
   TODEY PERSONAL PANEL — MY ACTIVITY STREAM & LEADERBOARD-STYLE LIST TABLE
   ========================================================================== */

.todey-activity-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
}

.todey-activity-header-banner {
    margin-bottom: 24px !important;
}

/* Conjoined Category Filter Toolbar */
.todey-activity-filter-toolbar {
    display: flex !important;
    align-items: stretch !important;
    height: 38px !important;
    min-height: 38px !important;
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
}

.todey-activity-filter-toolbar::-webkit-scrollbar {
    display: none !important;
}

.todey-activity-filter-dropdown-wrap {
    display: none !important;
}

.todey-activity-filter-select {
    display: none !important;
}

.todey-activity-filter-btn {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 16px !important;
    background: transparent !important;
    border: none !important;
    border-right: 1px solid #141414 !important;
    border-radius: 0px !important;
    color: #888888 !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: color 0.15s ease, background-color 0.15s ease !important;
}

.todey-activity-filter-btn:hover {
    color: #ffffff !important;
}

.todey-activity-filter-btn.active {
    background: #ff4400 !important;
    color: #000000 !important;
    font-weight: 800 !important;
}

.todey-activity-filter-count {
    font-family: 'Space Grotesk', monospace !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0px !important;
    line-height: 1 !important;
}

.todey-activity-filter-btn.active .todey-activity-filter-count {
    background: transparent !important;
    color: #000000 !important;
}

/* Outer Leaderboard-Style List Card */
.todey-activity-list-card {
    background: #000000 !important;
    border: 1px solid #141414 !important;
    border-radius: 0px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin-bottom: 20px !important;
}

.todey-activity-list-header {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 16px !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #141414 !important;
    background: #000000 !important;
    flex-wrap: wrap !important;
    box-sizing: border-box !important;
}

.todey-activity-list-header .todey-standalone-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    min-height: 38px !important;
    width: auto !important;
    padding: 0 15px !important;
    border: 1px solid #141414 !important;
    background-color: #000000 !important;
    border-radius: 0px !important;
    box-sizing: border-box !important;
    gap: 12px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.todey-activity-list-header .badge-accent-tag {
    font-family: 'Space Grotesk', monospace !important;
    color: #ff4400 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    border-right: 1px solid #141414 !important;
    padding-right: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.todey-activity-list-header .badge-main-text {
    font-family: 'DM Sans', sans-serif !important;
    color: #a1a1a6 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    border-right: 1px solid #141414 !important;
    padding-right: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.todey-activity-list-header .badge-count-text {
    font-family: 'Space Grotesk', monospace !important;
    color: #888888 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* Horizontal Scroll Wrapper */
.todey-activity-table-scroll {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
    scrollbar-width: thin !important;
    scrollbar-color: #141414 #000000 !important;
    touch-action: pan-x pan-y !important;
}

.todey-activity-table-scroll::-webkit-scrollbar {
    height: 4px !important;
}

.todey-activity-table-scroll::-webkit-scrollbar-track {
    background: #000000 !important;
}

.todey-activity-table-scroll::-webkit-scrollbar-thumb {
    background: #141414 !important;
    border-radius: 0px !important;
}

.todey-activity-table-scroll::-webkit-scrollbar-thumb:hover {
    background: #222222 !important;
}

.todey-activity-table-wrap {
    min-width: 820px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Column Header Row */
.todey-activity-col-header {
    display: grid !important;
    grid-template-columns: minmax(280px, 3fr) minmax(110px, 1fr) minmax(150px, 1.3fr) minmax(95px, 0.9fr) minmax(150px, 1.2fr) !important;
    align-items: center !important;
    padding: 10px 16px !important;
    background: #000000 !important;
    border-bottom: 1px solid #141414 !important;
    gap: 14px !important;
    box-sizing: border-box !important;
    font-family: 'Space Grotesk', monospace !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #888888 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
}

/* Activity List Rows */
.todey-activity-list-wrap {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.todey-activity-list-row {
    display: grid !important;
    grid-template-columns: minmax(280px, 3fr) minmax(110px, 1fr) minmax(150px, 1.3fr) minmax(95px, 0.9fr) minmax(150px, 1.2fr) !important;
    align-items: center !important;
    padding: 11px 16px !important;
    background: #000000 !important;
    border-bottom: 1px solid #141414 !important;
    gap: 14px !important;
    box-sizing: border-box !important;
    transition: background-color 0.15s ease !important;
}

.todey-activity-list-row:last-child {
    border-bottom: none !important;
}

.todey-activity-list-row:hover {
    background: #080808 !important;
}

/* Action & Details Column */
.todey-activity-col-action {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.todey-activity-icon-wrap {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border: 1px solid #141414 !important;
    background: #000000 !important;
    border-radius: 0px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ff4400 !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.todey-activity-text-group {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.todey-activity-main-text {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: 0.2px !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.todey-activity-sub-text {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #888888 !important;
    line-height: 1.2 !important;
    margin-top: 3px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Category Badge */
.todey-activity-col-cat {
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.todey-act-cat-badge {
    font-family: 'Space Grotesk', monospace !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    border-radius: 0px !important;
    white-space: nowrap !important;
    line-height: 1.1 !important;
    box-sizing: border-box !important;
}

.todey-act-cat-badge.cat-security {
    color: #ff4400 !important;
}

.todey-act-cat-badge.cat-account {
    color: #38bdf8 !important;
}

.todey-act-cat-badge.cat-support {
    color: #818cf8 !important;
}

.todey-act-cat-badge.cat-community {
    color: #10b981 !important;
}

.todey-act-cat-badge.cat-access {
    color: #f59e0b !important;
}

.todey-act-cat-badge.cat-general {
    color: #888888 !important;
}

/* Client / Context Column */
.todey-activity-col-client {
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

.todey-act-client-ip {
    font-family: 'Space Grotesk', monospace !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    letter-spacing: 0.2px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.todey-act-client-device {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    color: #888888 !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Status Column */
.todey-activity-col-status {
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.todey-act-status-badge {
    font-family: 'Space Grotesk', monospace !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    border-radius: 0px !important;
    white-space: nowrap !important;
    line-height: 1.1 !important;
    box-sizing: border-box !important;
}

.todey-act-status-badge.status-success {
    color: #10b981 !important;
}

.todey-act-status-badge.status-recorded {
    color: #888888 !important;
}

.todey-act-status-badge.status-warning {
    color: #ff0000 !important;
}

/* Timestamp Column */
.todey-activity-col-time {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    text-align: right !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

.todey-act-time-main {
    font-family: 'Space Grotesk', monospace !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

.todey-act-time-ago {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    color: #888888 !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
}

/* Pagination Bar */
.todey-activity-pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin-top: 20px !important;
    flex-wrap: wrap !important;
    box-sizing: border-box !important;
}

.todey-activity-page-info {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #888888 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.todey-activity-page-controls {
    display: inline-flex !important;
    align-items: stretch !important;
    height: 38px !important;
    min-height: 38px !important;
    border: 1px solid #141414 !important;
    background: #000000 !important;
    border-radius: 0px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}

.todey-activity-page-btn {
    height: 100% !important;
    min-height: 100% !important;
    padding: 0 16px !important;
    background: #000000 !important;
    border: none !important;
    border-radius: 0px !important;
    color: #ffffff !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    transition: background-color 0.15s ease, color 0.15s ease !important;
}

.todey-activity-page-btn:hover:not(:disabled) {
    background: #ff4400 !important;
    color: #000000 !important;
}

.todey-activity-page-btn:disabled {
    cursor: not-allowed !important;
    pointer-events: none !important;
    color: #555555 !important;
    background: #000000 !important;
    opacity: 1 !important;
}

.todey-activity-page-btn:disabled svg {
    color: #555555 !important;
    stroke: #555555 !important;
}

.todey-activity-page-curr {
    height: 100% !important;
    min-height: 100% !important;
    padding: 0 16px !important;
    background: #000000 !important;
    border: none !important;
    border-left: 1px solid #141414 !important;
    border-right: 1px solid #141414 !important;
    border-radius: 0px !important;
    color: #ffffff !important;
    font-family: 'Space Grotesk', monospace !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

/* Empty State */
.todey-activity-empty-state {
    padding: 48px 24px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    background: #000000 !important;
    box-sizing: border-box !important;
}

.todey-activity-empty-icon {
    width: 44px !important;
    height: 44px !important;
    border: 1px solid #141414 !important;
    background: #000000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #666666 !important;
}

.todey-activity-empty-title {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
}

.todey-activity-empty-desc {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 12px !important;
    color: #888888 !important;
    max-width: 420px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* ==========================================================================
   TODEY PERSONAL PANEL — MY ACTIVITY RESPONSIVE DESIGN SYSTEM
   ========================================================================== */

/* Tablet & Medium Screens (max-width: 1024px) */
@media (max-width: 1024px) {
    .todey-activity-header-banner {
        margin-bottom: 20px !important;
    }

    .todey-activity-filter-toolbar {
        margin-bottom: 16px !important;
    }
}

/* Tablet & Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {
    .todey-activity-wrapper {
        padding-left: 5px !important;
        padding-right: 5px !important;
        box-sizing: border-box !important;
    }

    .todey-activity-header-banner {
        margin-bottom: 16px !important;
    }

    .todey-activity-filter-toolbar {
        display: none !important;
    }

    .todey-activity-filter-dropdown-wrap {
        display: block !important;
        width: 100% !important;
        margin-bottom: 16px !important;
        box-sizing: border-box !important;
    }

    .todey-activity-filter-select {
        display: block !important;
        width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
        line-height: 38px !important;
        background: #000000 !important;
        color: #ffffff !important;
        border: 1px solid #141414 !important;
        border-radius: 0px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-family: 'DM Sans', sans-serif !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        box-sizing: border-box !important;
        outline: none !important;
        cursor: pointer !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
        background-repeat: no-repeat !important;
        background-position: right 12px center !important;
        background-size: 14px !important;
    }

    .todey-activity-filter-select:focus,
    .todey-activity-filter-select:active {
        border-color: #141414 !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .todey-activity-filter-select option {
        background: #000000 !important;
        color: #ffffff !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .todey-activity-list-card {
        margin-bottom: 16px !important;
    }

    .todey-activity-list-header {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        justify-content: flex-start !important;
    }

    /* Transform Table to Non-Horizontal-Scrollable Card List */
    .todey-activity-table-scroll {
        overflow-x: visible !important;
        width: 100% !important;
    }

    .todey-activity-table-wrap {
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .todey-activity-col-header {
        display: none !important;
    }

    .todey-activity-list-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-areas:
            "action action"
            "cat status"
            "client time" !important;
        gap: 8px !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-bottom: 1px solid #141414 !important;
        background: #000000 !important;
        transition: background-color 0.15s ease !important;
    }

    .todey-activity-list-row:hover {
        background: #080808 !important;
    }

    .todey-activity-col-action {
        grid-area: action !important;
        width: 100% !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .todey-activity-icon-wrap {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        flex-shrink: 0 !important;
    }

    .todey-activity-text-group {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .todey-activity-main-text {
        font-size: 12px !important;
        white-space: normal !important;
        word-break: break-word !important;
        line-height: 1.3 !important;
    }

    .todey-activity-sub-text {
        font-size: 10.5px !important;
        white-space: normal !important;
        word-break: break-word !important;
        line-height: 1.3 !important;
        margin-top: 2px !important;
    }

    .todey-activity-col-cat {
        grid-area: cat !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    .todey-activity-col-status {
        grid-area: status !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    .todey-activity-col-client {
        grid-area: client !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        min-width: 0 !important;
        padding-top: 6px !important;
        border-top: 1px solid #0e0e0e !important;
    }

    .todey-act-client-ip {
        font-size: 10.5px !important;
        line-height: 1.2 !important;
    }

    .todey-act-client-device {
        font-size: 9.5px !important;
        margin-top: 2px !important;
        color: #777777 !important;
    }

    .todey-activity-col-time {
        grid-area: time !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-end !important;
        text-align: right !important;
        min-width: 0 !important;
        padding-top: 6px !important;
        border-top: 1px solid #0e0e0e !important;
    }

    .todey-act-time-main {
        font-size: 10.5px !important;
        line-height: 1.2 !important;
    }

    .todey-act-time-ago {
        font-size: 9.5px !important;
        margin-top: 2px !important;
        color: #777777 !important;
    }

    .todey-activity-pagination {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        margin-top: 16px !important;
    }

    .todey-activity-page-info {
        text-align: center !important;
        font-size: 10.5px !important;
    }

    .todey-activity-page-controls {
        width: 100% !important;
        justify-content: space-between !important;
    }

    .todey-activity-page-btn {
        flex: 1 !important;
        height: 38px !important;
        font-size: 11px !important;
    }

    .todey-activity-page-curr {
        flex: 1.2 !important;
        height: 38px !important;
        font-size: 10.5px !important;
    }
}

/* Standard Mobile Screens (max-width: 480px) */
@media (max-width: 480px) {
    .todey-activity-wrapper {
        padding-left: max(5px, env(safe-area-inset-left)) !important;
        padding-right: max(5px, env(safe-area-inset-right)) !important;
    }

    .todey-activity-header-banner .todey-settings-header {
        padding-left: 10px !important;
        border-left-width: 3px !important;
        gap: 3px !important;
    }

    .todey-activity-header-banner .todey-workspace-header-title {
        font-size: 15px !important;
    }

    .todey-activity-header-banner .todey-workspace-header-subtitle {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }

    .todey-activity-filter-dropdown-wrap {
        margin-bottom: 12px !important;
    }

    .todey-activity-filter-select {
        height: 38px !important;
        min-height: 38px !important;
        font-size: 10.5px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .todey-activity-list-header {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
        justify-content: stretch !important;
    }

    .todey-activity-list-header .todey-standalone-badge {
        width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        gap: 8px !important;
        justify-content: space-between !important;
    }

    .todey-activity-list-header .badge-accent-tag {
        font-size: 9px !important;
        padding-right: 8px !important;
    }

    .todey-activity-list-header .badge-main-text {
        font-size: 10px !important;
        padding-right: 8px !important;
    }

    .todey-activity-list-header .badge-count-text {
        font-size: 9.5px !important;
    }

    .todey-activity-list-row {
        padding-top: 9px !important;
        padding-bottom: 9px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
        gap: 8px !important;
    }

    .todey-activity-icon-wrap {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
    }

    .todey-activity-main-text {
        font-size: 11.5px !important;
    }

    .todey-activity-sub-text {
        font-size: 10px !important;
    }

    .todey-act-cat-badge {
        font-size: 9.5px !important;
    }

    .todey-act-client-ip {
        font-size: 10px !important;
    }

    .todey-act-client-device {
        font-size: 9px !important;
    }

    .todey-act-status-badge {
        font-size: 9.5px !important;
    }

    .todey-act-time-main {
        font-size: 10px !important;
    }

    .todey-act-time-ago {
        font-size: 9px !important;
    }

    .todey-activity-empty-state {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
        gap: 10px !important;
    }

    .todey-activity-empty-icon {
        width: 38px !important;
        height: 38px !important;
    }

    .todey-activity-empty-title {
        font-size: 13px !important;
    }

    .todey-activity-empty-desc {
        font-size: 11px !important;
    }

    .todey-activity-pagination {
        margin-top: 14px !important;
        gap: 10px !important;
    }

    .todey-activity-page-info {
        font-size: 10px !important;
    }

    .todey-activity-page-btn {
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 10px !important;
    }

    .todey-activity-page-curr {
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 10px !important;
    }
}

/* Ultra-Compact Mobile Screens (max-width: 340px) */
@media (max-width: 340px) {
    .todey-activity-header-banner .todey-workspace-header-title {
        font-size: 14px !important;
    }

    .todey-activity-header-banner .todey-workspace-header-subtitle {
        font-size: 10.5px !important;
    }

    .todey-activity-filter-select {
        font-size: 9.5px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .todey-activity-list-header {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .todey-activity-list-header .todey-standalone-badge {
        padding-left: 6px !important;
        padding-right: 6px !important;
        gap: 4px !important;
    }

    .todey-activity-list-header .badge-accent-tag {
        font-size: 8px !important;
        padding-right: 4px !important;
        letter-spacing: 0.05em !important;
    }

    .todey-activity-list-header .badge-main-text {
        font-size: 8.5px !important;
        padding-right: 4px !important;
    }

    .todey-activity-list-header .badge-count-text {
        font-size: 8px !important;
        letter-spacing: 0.2px !important;
    }

    .todey-activity-page-btn {
        padding-left: 6px !important;
        padding-right: 6px !important;
        font-size: 9.5px !important;
        gap: 4px !important;
    }

    .todey-activity-page-curr {
        padding-left: 6px !important;
        padding-right: 6px !important;
        font-size: 9px !important;
    }
}







/* ==========================================================================
   UNIVERSAL ZERO-MOTION HOVER INVARIANT (TODEY FINTECH OS)
   Enforces completely static, rock-solid elements with 0px hover jitter/lifts.
   ========================================================================== */
.todey-portal-layout .todey-btn:hover,
.todey-portal-layout .todey-btn:active,
.todey-portal-layout .todey-btn-primary:hover,
.todey-portal-layout .todey-btn-primary:active,
.todey-portal-layout .todey-btn-secondary:hover,
.todey-portal-layout .todey-btn-secondary:active,
.todey-portal-layout button:hover,
.todey-portal-layout button:active,
.todey-portal-layout .todey-bento-card:hover,
.todey-portal-layout .todey-overview-card:hover,
.todey-portal-layout .todey-kpi-card:hover,
.todey-portal-layout .todey-health-card:hover,
.todey-portal-layout .todey-upgrade-card:hover,
.todey-portal-layout .todey-pricing-card:hover,
.todey-portal-layout .todey-console-switcher-tab:hover,
.todey-portal-layout .todey-listing-wizard-option:hover,
.todey-portal-layout .todey-action-btn-link:hover,
.todey-portal-layout .todey-req-action-btn:hover,
.todey-portal-layout .todey-account-btn:hover,
.todey-portal-layout .todey-delete-btn:hover,
.todey-portal-layout .todey-onboarding-item:hover,
.todey-portal-layout .todey-notification-item:hover {
    transform: none !important;
}

/* ==========================================================================
   PORTAL NATIVE THEME HEADER INTEGRATION (MOBILE PARITY)
   Enforces clean mobile header bar with drawer navigation while preserving
   pure full-viewport desktop dashboard ergonomics.
   ========================================================================== */

/* 1. Desktop Viewports (> 992px): Suppress theme header mount completely */
@media (min-width: 993px) {
    body.todey-portal-body #todey-header-mount,
    body.todey-portal-body .tdh-header-wrapper,
    body.todey-portal-body .tdh-mobile-drawer,
    body.todey-portal-body .tdh-overlay {
        display: none !important;
    }
}

/* 2. Mobile Viewports (<= 992px): Sticky 64px header bar & top-tier drawer layering */
@media (max-width: 992px) {
    body.todey-portal-body #todey-app-root .tdh-header-wrapper,
    body.todey-portal-body #todey-header-mount,
    body.todey-portal-body header.tdh-header-wrapper {
        display: block !important;
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 64px !important;
        min-height: 64px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #000000 !important;
        border-bottom: 1px solid #141414 !important;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.9) !important;
        z-index: 200060 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-sizing: border-box !important;
    }

    body.todey-portal-body #todey-app-root .tdh-header-container,
    body.todey-portal-body .tdh-header-container {
        position: relative !important;
        z-index: 200060 !important;
        height: 64px !important;
        max-height: 64px !important;
        padding: 0 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: transparent !important;
        box-sizing: border-box !important;
    }

    body.todey-portal-body #todey-app-root .tdh-logo,
    body.todey-portal-body .tdh-logo,
    body.todey-portal-body #todey-app-root .tdh-actions,
    body.todey-portal-body .tdh-actions {
        position: relative !important;
        z-index: 200060 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body.todey-portal-body #todey-app-root .tdh-mobile-toggle,
    body.todey-portal-body .tdh-mobile-toggle {
        position: relative !important;
        display: flex !important;
        z-index: 200070 !important;
    }

    body.todey-portal-body #todey-app-root .tdh-overlay,
    body.todey-portal-body .tdh-overlay {
        z-index: 200040 !important;
    }

    body.todey-portal-body #todey-app-root .tdh-mobile-drawer,
    body.todey-portal-body .tdh-mobile-drawer {
        z-index: 200050 !important;
        background: #000000 !important;
        padding-top: 64px !important;
    }

    /* Keep portal container cleanly below sticky header bar on mobile */
    body.todey-portal-body .todey-portal-layout {
        margin-top: 0 !important;
    }
}

