html {
    color-scheme: light dark;
}

html:not([data-ih-theme="dark"]) {
    color-scheme: light;
    --ih-theme-page: #f5f8fa;
    --ih-theme-surface: rgba(255, 255, 255, 0.92);
    --ih-theme-surface-solid: #ffffff;
    --ih-theme-surface-muted: #edf4f6;
    --ih-theme-text: #15252d;
    --ih-theme-muted: #50666e;
    --ih-theme-soft: #71858c;
    --ih-theme-line: rgba(31, 62, 72, 0.16);
    --ih-theme-line-strong: rgba(0, 143, 163, 0.36);
    --ih-theme-red: #dc1222;
    --ih-theme-red-deep: #a90c18;
    --ih-theme-cyan: #008fa3;
    --ih-theme-cyan-deep: #006f80;
    --ih-theme-gold: #7a4a0b;
    --ih-theme-green: #198f64;
    --ih-theme-shadow: 0 22px 60px rgba(20, 37, 44, 0.14);
}

html[data-ih-theme="dark"] {
    color-scheme: dark;
}

.ih-theme-toggle {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    min-height: 38px;
    padding: 4px;
    border: 1px solid rgba(118, 154, 164, 0.28);
    border-radius: 8px;
    pointer-events: auto;
    backdrop-filter: blur(18px);
}

.ih-theme-toggle button {
    min-width: 52px;
    min-height: 28px;
    padding: 4px 10px;
    color: inherit;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
}

.ih-theme-toggle button:hover,
.ih-theme-toggle button:focus,
.ih-theme-toggle button.is-active {
    text-decoration: none;
}

html:not([data-ih-theme="dark"]) .ih-theme-toggle {
    color: var(--ih-theme-muted);
    background: rgba(255, 255, 255, 0.84);
    border-color: var(--ih-theme-line);
    box-shadow: 0 10px 28px rgba(20, 37, 44, 0.08);
}

html:not([data-ih-theme="dark"]) .ih-theme-toggle button:hover,
html:not([data-ih-theme="dark"]) .ih-theme-toggle button:focus,
html:not([data-ih-theme="dark"]) .ih-theme-toggle button.is-active {
    color: var(--ih-theme-text);
    background: rgba(232, 247, 250, 0.96);
    border-color: rgba(0, 143, 163, 0.32);
}

html[data-ih-theme="dark"] .ih-theme-toggle {
    color: #8fa1a5;
    background: rgba(6, 10, 11, 0.72);
    border-color: rgba(255, 255, 255, 0.12);
}

html[data-ih-theme="dark"] .ih-theme-toggle button:hover,
html[data-ih-theme="dark"] .ih-theme-toggle button:focus,
html[data-ih-theme="dark"] .ih-theme-toggle button.is-active {
    color: #ffffff;
    background: rgba(25, 212, 230, 0.12);
    border-color: rgba(25, 212, 230, 0.32);
}

/* Homepage dark mode overrides the existing light default. */
html[data-ih-theme="dark"] body.home-page {
    color-scheme: dark;
    --iron-black: #030506;
    --iron-ink: #071014;
    --iron-panel: #0d151b;
    --iron-panel-strong: #14222c;
    --iron-text: #f7fbfc;
    --iron-muted: #adc3ca;
    --iron-subtle: #71898f;
    --iron-line: rgba(167, 210, 219, 0.24);
    --iron-line-strong: rgba(241, 18, 29, 0.68);
    --iron-red: #f1121d;
    --iron-red-deep: #b90e17;
    --iron-cyan: #21e4f2;
    --iron-cyan-deep: #0c8d9b;
    --iron-gold: #f0b332;
    --iron-green: #35d99b;
    --iron-violet: #6674ff;
    --iron-shadow: 0 34px 96px rgba(0, 0, 0, 0.62);
    color: var(--iron-text);
    background:
        radial-gradient(circle at 12% 0%, rgba(241, 18, 29, 0.2), transparent 30%),
        radial-gradient(circle at 82% 12%, rgba(33, 228, 242, 0.14), transparent 34%),
        linear-gradient(180deg, #030506 0%, #071014 48%, #030506 100%);
}

html[data-ih-theme="dark"] body.home-page .site-header {
    background:
        linear-gradient(90deg, rgba(241, 18, 29, 0.12), transparent 34%),
        rgba(5, 8, 11, 0.72);
    border-color: rgba(167, 210, 219, 0.18);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

html[data-ih-theme="dark"] body.home-page .brand-link,
html[data-ih-theme="dark"] body.home-page .brand-link:hover,
html[data-ih-theme="dark"] body.home-page .brand-link:focus {
    color: #ffffff;
}

html[data-ih-theme="dark"] body.home-page .header-links a,
html[data-ih-theme="dark"] body.home-page .language-switcher {
    color: var(--iron-muted);
    background:
        linear-gradient(180deg, rgba(13, 21, 27, 0.92), rgba(3, 5, 6, 0.92)),
        rgba(8, 12, 15, 0.66);
    border-color: var(--iron-line);
}

html[data-ih-theme="dark"] body.home-page .header-links a:hover,
html[data-ih-theme="dark"] body.home-page .header-links a:focus,
html[data-ih-theme="dark"] body.home-page .language-switcher button:hover,
html[data-ih-theme="dark"] body.home-page .language-switcher button:focus,
html[data-ih-theme="dark"] body.home-page .language-switcher button.is-active {
    color: #ffffff;
    background: rgba(33, 228, 242, 0.12);
    border-color: rgba(33, 228, 242, 0.32);
}

html[data-ih-theme="dark"] body.home-page .mesh-hero__backdrop {
    background:
        linear-gradient(112deg, rgba(3, 5, 6, 0.98) 0%, rgba(3, 5, 6, 0.88) 44%, rgba(3, 5, 6, 0.48) 72%, rgba(3, 5, 6, 0.98) 100%),
        linear-gradient(180deg, rgba(3, 5, 6, 0.18), rgba(3, 5, 6, 0.98)),
        url("../img/ironhand-future-command-deck.jpg") center / cover no-repeat;
}

html[data-ih-theme="dark"] body.home-page .signal-rail > span,
html[data-ih-theme="dark"] body.home-page .hero-metrics > span,
html[data-ih-theme="dark"] body.home-page .launch-dock,
html[data-ih-theme="dark"] body.home-page .system-cards article,
html[data-ih-theme="dark"] body.home-page .tool-grid > span {
    color: var(--iron-muted);
    background:
        linear-gradient(135deg, rgba(33, 228, 242, 0.08), transparent 44%),
        rgba(8, 12, 15, 0.78);
    border-color: var(--iron-line);
    box-shadow:
        0 22px 68px rgba(0, 0, 0, 0.34),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

html[data-ih-theme="dark"] body.home-page .mesh-copy h1,
html[data-ih-theme="dark"] body.home-page .launcher-heading h2,
html[data-ih-theme="dark"] body.home-page .mesh-band h2,
html[data-ih-theme="dark"] body.home-page .system-cards strong,
html[data-ih-theme="dark"] body.home-page .hero-metrics strong,
html[data-ih-theme="dark"] body.home-page .modal-title {
    color: #ffffff;
}

html[data-ih-theme="dark"] body.home-page .hero-lede,
html[data-ih-theme="dark"] body.home-page .system-cards p,
html[data-ih-theme="dark"] body.home-page .modal-body p {
    color: var(--iron-muted);
}

html[data-ih-theme="dark"] body.home-page .console-frame {
    background:
        linear-gradient(160deg, rgba(33, 228, 242, 0.12), transparent 34%),
        linear-gradient(24deg, rgba(241, 18, 29, 0.14), transparent 38%),
        linear-gradient(180deg, rgba(13, 21, 27, 0.98), rgba(7, 12, 15, 0.94));
    border-color: var(--iron-line);
    box-shadow: var(--iron-shadow);
}

html[data-ih-theme="dark"] body.home-page .console-screen {
    background:
        linear-gradient(90deg, rgba(3, 5, 6, 0.9), rgba(3, 5, 6, 0.32)),
        url("../img/ironhand-future-command-deck.jpg") center / cover no-repeat;
    border-color: rgba(33, 228, 242, 0.28);
    box-shadow:
        inset 0 0 46px rgba(0, 0, 0, 0.5),
        0 18px 36px rgba(0, 0, 0, 0.22);
}

html[data-ih-theme="dark"] body.home-page .screen-room {
    background: rgba(8, 12, 15, 0.72);
    border-color: rgba(167, 210, 219, 0.2);
}

html[data-ih-theme="dark"] body.home-page .mesh-band {
    background:
        linear-gradient(135deg, rgba(241, 18, 29, 0.08), transparent 32%),
        linear-gradient(225deg, rgba(33, 228, 242, 0.08), transparent 30%),
        repeating-linear-gradient(90deg, rgba(167, 210, 219, 0.055) 0 1px, transparent 1px 96px),
        #06090a;
    border-top-color: var(--iron-line);
}

html[data-ih-theme="dark"] body.home-page .tool-band,
html[data-ih-theme="dark"] body.home-page .site-footer,
html[data-ih-theme="dark"] body.home-page footer {
    color: var(--iron-muted);
    background: #030506;
    border-color: var(--iron-line);
}

html[data-ih-theme="dark"] body.home-page .btn-home-quiet {
    color: var(--iron-text);
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--iron-line);
}

html[data-ih-theme="dark"] body.home-page .form-control {
    color: var(--iron-text);
    background: rgba(3, 5, 6, 0.76);
    border-color: var(--iron-line);
    box-shadow: none;
}

html[data-ih-theme="dark"] body.home-page .modal {
    background: rgba(0, 0, 0, 0.76);
}

html[data-ih-theme="dark"] body.home-page .modal-content {
    color: var(--iron-text);
    background: #071014;
    border-color: var(--iron-line-strong);
    box-shadow: var(--iron-shadow);
}

html[data-ih-theme="dark"] body.home-page .modal-header,
html[data-ih-theme="dark"] body.home-page .modal-footer {
    border-color: var(--iron-line);
}

html[data-ih-theme="dark"] body.home-page .close,
html[data-ih-theme="dark"] body.home-page .site-footer a,
html[data-ih-theme="dark"] body.home-page footer a {
    color: #ffffff;
}

html:not([data-ih-theme="dark"]){--ih-black:#f5f8fa;--ih-graphite:#edf4f6;--ih-panel:rgba(255,255,255,.92);--ih-panel-solid:#fff;--ih-panel-strong:#edf4f6;--ih-text:#15252d;--ih-steel:#2f464f;--ih-muted:#60767d;--ih-line:rgba(31,62,72,.16);--ih-line-strong:rgba(0,143,163,.38);--ih-cyan:#008fa3;--ih-cyan-dark:#006f80;--ih-amber:#7a4a0b;--ih-danger:#c93d3a;--ih-success:#198f64;--ih-shadow:0 24px 64px rgba(20,37,44,.16);--body-bg:#f5f8fa;--blue-bg:#fff;--settings-bg:#fff;--waiting-bg:#f5f8fa;--chat-bg:#fff;--chat-bg-active:#edf7f9;--left-msg-bg:#eef4f6;--right-msg-bg:#dff4f7;--chat-msg:#1f343c;--chat-icon:#60767d;--video-element-back:#101719}
html:not([data-ih-theme="dark"]) body.ih-room-page{color:var(--ih-steel)!important;background:var(--ih-black)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page::before{background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.9) 48%,rgba(255,255,255,.7)),linear-gradient(180deg,rgba(255,255,255,.26),rgba(245,248,250,.98)),url("../img/ironhand-tech-hero.jpg") center/cover no-repeat}
html:not([data-ih-theme="dark"]) body.ih-room-page::after{background-image:linear-gradient(rgba(0,143,163,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(220,18,34,.055) 1px,transparent 1px);opacity:.8}
html:not([data-ih-theme="dark"]) #initialScreen{background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(245,248,250,.74)),linear-gradient(180deg,rgba(255,255,255,.24),rgba(245,248,250,.92)),url("../img/ironhand-tech-hero.jpg") center/cover no-repeat}
html:not([data-ih-theme="dark"]) :is(.ih-room-brand,.ih-room-signal),html:not([data-ih-theme="dark"]) body.ih-room-page .language-switcher{background:rgba(255,255,255,.84);border-color:var(--ih-line);box-shadow:0 12px 34px rgba(20,37,44,.1)}
html:not([data-ih-theme="dark"]) :is(.ih-room-brand,.ih-room-brand:hover,.ih-room-brand:focus){color:var(--ih-text)}
html:not([data-ih-theme="dark"]) .ih-room-brand img{background:transparent;border-color:transparent;box-shadow:none}
html:not([data-ih-theme="dark"]) body.ih-room-page .language-switcher button,html:not([data-ih-theme="dark"]) .ih-room-signal{color:var(--ih-muted)}
html:not([data-ih-theme="dark"]) body.ih-room-page .language-switcher button:is(:hover,:focus,.is-active){color:var(--ih-text);background:rgba(232,247,250,.96);border-color:rgba(0,143,163,.3)}
html:not([data-ih-theme="dark"]) :is(#initialScreen p,#greenRoom main .container,#protectedRoom main .container,#simpleRoom main .container,#settings,.waiting-room-panel,.modal-content,.dropdown-menu){color:var(--ih-steel)!important;background:linear-gradient(135deg,rgba(0,143,163,.05),transparent 42%),rgba(255,255,255,.94)!important;border-color:var(--ih-line)!important;box-shadow:var(--ih-shadow)!important}
html:not([data-ih-theme="dark"]) :is(#greenRoom .card-body,#protectedRoom .card-body,#simpleRoom .card-body,.chat-app,.people-list,.chat,.suggestions){color:var(--ih-steel);background:rgba(255,255,255,.82)!important;border-color:var(--ih-line)!important}
html:not([data-ih-theme="dark"]) :is(#videoContainer,.videoContainerElement,.videoContainerElementProducer){background:linear-gradient(180deg,rgba(12,18,20,.94),rgba(5,7,8,.96)),#101719!important;border-color:rgba(0,143,163,.24)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(#greenRoom label,#protectedRoom label,#simpleRoom label,#settings label,#settings .form-label,#greenRoom h1,#greenRoom h2,#greenRoom h3,#protectedRoom h1,#protectedRoom h2,#protectedRoom h3,#protectedRoom h4,#simpleRoom h1,#simpleRoom h2,#simpleRoom h3,#simpleRoom h4,#settings h1,#settings h2,#settings h3,#settings h4,#settings h5,#settings h6,.chat-app h6,.modal-title,#meetingIsPrivate,#provideCredentials){color:var(--ih-text)!important}
html:not([data-ih-theme="dark"]) #initialScreen p::before{color:var(--ih-text)}
html:not([data-ih-theme="dark"]) :is(#initialScreen p::after,#videoContainer::before,#greenRoomForm::before,#protectedForm::before,#simpleForm::before){color:var(--ih-amber)}
html:not([data-ih-theme="dark"]) #videoContainer::before{background:rgba(255,255,255,.9);border-color:var(--ih-line)}
html:not([data-ih-theme="dark"]) #initialScreen .loader__dot{color:var(--ih-text);animation:none}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(.form-control,.custom-select,select,textarea,input[type="text"],input[type="password"],input[type="email"]){color:var(--ih-text)!important;background:linear-gradient(180deg,#fff,#f7fbfc)!important;border-color:rgba(31,62,72,.18)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page .form-control::placeholder{color:#83959c}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(.input-group-text,.chat-message .input-group-text){color:var(--ih-cyan-dark)!important;background:#f7fbfc!important;border-color:rgba(31,62,72,.18)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(.input-group-text .ih-icon-svg,.inlineicons,.inlineicons.ih-icon-svg){color:var(--ih-cyan-dark)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(.left-border,#greenRoom .left-border){border-left-color:var(--ih-line)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(.btn-outline-light,.btn-light,#initAudioButton,#initVideoButton,#initAudioVideoButton,#initBackground){color:var(--ih-text)!important;background:#fff!important;border-color:var(--ih-line)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(#initAudioButton,#initVideoButton,#initAudioVideoButton,#initBackground){box-shadow:0 10px 26px rgba(20,37,44,.12)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(#initAudioButton,#initVideoButton,#initAudioVideoButton,#initBackground):is(:hover,:focus){color:#041012!important;background:var(--ih-cyan)!important;border-color:var(--ih-cyan)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(#backgroundImagesModal .modal-content,#backgroundImagesModal .modal-body,#backgroundImages,#backgroundImagesSettings){color:var(--ih-text)!important;background:rgba(255,255,255,.96)!important;border-color:var(--ih-line)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page .handleBackgroundButtons{color:var(--ih-text)!important;background:#fff!important;border-color:var(--ih-line)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page .handleBackgroundButtons[aria-pressed="true"]{border-color:var(--ih-cyan)!important;box-shadow:0 0 0 3px rgba(0,143,163,.18)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(.text-white,.ih-green-room-hint,.ih-audio-only-toggle,.ih-audio-only-status,.ih-echo-test__button,.ih-echo-test__status,.ih-speaker-test__button,.ih-speaker-test__status,#sendFileDiv,#receiveFileDiv,#sendAbortBtn,#receiveHideBtn){color:var(--ih-text)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(.ih-green-room-hint,.ih-audio-only-status,.ih-echo-test__status,.ih-speaker-test__status){color:var(--ih-muted)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(.ih-audio-only-status[data-state="active"],.ih-echo-test__status[data-state="active"],.ih-speaker-test__status[data-state="warning"]){color:var(--ih-amber)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(.ih-echo-test__status[data-state="error"],.ih-speaker-test__status[data-state="error"],.invalid-feedback){color:var(--ih-danger)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(.ih-audio-only-toggle,.ih-echo-test__button,.ih-speaker-test__button,#sendAbortBtn,#receiveHideBtn,.btn.btn-primary,.modal-footer .btn,.modal-footer .btn-primary,.nav-link:not(.active),.tooltip-inner){color:var(--ih-text)!important;background:rgba(255,255,255,.9)!important;border-color:var(--ih-line)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(.ih-audio-only-toggle,.ih-echo-test__button,.ih-speaker-test__button):is(:hover,:focus){background:rgba(232,247,250,.96)!important;outline-color:rgba(0,143,163,.38)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(.ih-audio-only-toggle[data-active="true"],.ih-echo-test__button[data-state="recording"],.ih-echo-test__button[data-state="playback"],.ih-speaker-test__button[data-testing="true"],.btn.btn-primary:hover,.btn.btn-primary:focus,.modal-footer .btn:hover,.modal-footer .btn:focus){color:#041012!important;background:var(--ih-cyan)!important;border-color:var(--ih-cyan)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(#sendAbortBtn,#receiveHideBtn):is(:hover,:focus){color:var(--ih-danger)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(#actionButtons button,#actionButtonMobileMenu button,.ih-room-layout-controls__button){color:var(--ih-text)!important;background:#fff!important;border-color:var(--ih-line)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(#actionButtons button:hover,#actionButtons button:focus,#actionButtonMobileMenu button:hover,#actionButtonMobileMenu button:focus,.ih-room-layout-controls__button:hover,.ih-room-layout-controls__button:focus,.ih-room-layout-controls__button.is-active,#actionButtons button.activeControl,#actionButtonMobileMenu button.activeControl,.activeControl){color:#041012!important;background:var(--ih-cyan)!important;border-color:var(--ih-cyan)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(.userMenuBar,.videoMenuBar,.fscreen,#recordingStatus){color:#fff!important;background:rgba(6,10,11,.72)!important;border-color:rgba(255,255,255,.16)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(.userMenuBar span,.userMenuBar i,.videoMenuBar input,.videoMenuBar button,.fscreen i,#recordingStatus span,#recordingStatus i){color:#fff!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(#exitButton,#stopButton,#stopRecordingButton,#recordingButton,#recordingStatusButton){color:var(--ih-danger)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page #exitButton{color:#fff!important;background:var(--ih-danger)!important;border-color:var(--ih-danger)!important}
html:not([data-ih-theme="dark"]) body.ih-room-page #exitButton:is(:hover,:focus){color:#fff!important;background:#a9322f!important;border-color:#c93d3a!important}
html:not([data-ih-theme="dark"]) body.ih-room-page :is(#greenRoom p,#protectedRoom p,#simpleRoom p,#settings p,.modal-content p,.chat-app p,.people-list p,.chat p,.suggestions){color:var(--ih-steel)!important}

html:not([data-ih-theme="dark"]){--ih-dash-black:#f5f8fa;--ih-dash-graphite:#edf4f6;--ih-dash-panel:#fff;--ih-dash-panel-strong:#edf4f6;--ih-dash-text:#15252d;--ih-dash-steel:#2f464f;--ih-dash-muted:#60767d;--ih-dash-line:rgba(31,62,72,.16);--ih-dash-line-strong:rgba(0,143,163,.38);--ih-dash-cyan:#008fa3;--ih-dash-cyan-deep:#006f80;--ih-dash-amber:#7a4a0b;--ih-dash-danger:#c93d3a;--ih-dash-success:#198f64;--ih-dash-shadow:0 22px 60px rgba(20,37,44,.14)}

html:not([data-ih-theme="dark"]) :is(.ih-dashboard-page,.ih-auth-page){color:var(--ih-dash-steel);background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(245,248,250,.9)),url("../img/ironhand-tech-hero.jpg") center/cover fixed no-repeat}
html:not([data-ih-theme="dark"]) .ih-dashboard-page #wrapper{background:linear-gradient(180deg,rgba(255,255,255,.46),rgba(245,248,250,.9)),rgba(245,248,250,.8)}
html:not([data-ih-theme="dark"]) .ih-dashboard-page .sidebar{background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(237,244,246,.98)),#fff!important;border-right-color:var(--ih-dash-line);box-shadow:18px 0 44px rgba(20,37,44,.1)}
html:not([data-ih-theme="dark"]) .ih-dashboard-page :is(.sidebar .sidebar-brand,.sidebar-divider){border-color:var(--ih-dash-line)!important}
html:not([data-ih-theme="dark"]) .ih-dashboard-page .sidebar .sidebar-brand{height:5.4rem}
html:not([data-ih-theme="dark"]) .ih-dashboard-page #responsivelogo{width:196px;height:44px;background-image:url("../img/ironhand-logo-light-wordmark.png");background-position:center;background-repeat:no-repeat;background-size:contain;filter:drop-shadow(0 8px 18px rgba(20,37,44,.12))}
html:not([data-ih-theme="dark"]) .ih-dashboard-page .sidebar.toggled .sidebar-brand{height:4.8rem}
html:not([data-ih-theme="dark"]) .ih-dashboard-page .sidebar.toggled #responsivelogo{width:44px;height:44px;background-image:url("../img/logo_small.png")}
html:not([data-ih-theme="dark"]) .ih-dashboard-page .sidebar-dark .nav-item .nav-link{color:var(--ih-dash-muted)}
html:not([data-ih-theme="dark"]) .ih-dashboard-page .sidebar-dark .nav-item .nav-link i{color:var(--ih-dash-cyan)}
html:not([data-ih-theme="dark"]) .ih-dashboard-page .sidebar-dark .nav-item:is(.active) .nav-link,html:not([data-ih-theme="dark"]) .ih-dashboard-page .sidebar-dark .nav-item .nav-link:is(:hover,:focus){color:var(--ih-dash-text);background:rgba(0,143,163,.08);border-color:rgba(0,143,163,.18)}
html:not([data-ih-theme="dark"]) .ih-dashboard-page .sidebar #sidebarToggle{color:var(--ih-dash-text)!important;background:#fff!important;border-color:var(--ih-dash-line)!important;box-shadow:0 10px 22px rgba(20,37,44,.12)}
html:not([data-ih-theme="dark"]) .ih-dashboard-page .sidebar #sidebarToggle::after{color:currentColor!important}
html:not([data-ih-theme="dark"]) .ih-dashboard-page .sidebar #sidebarToggle:is(:hover,:focus){color:#041012!important;background:rgba(232,247,250,.96)!important;border-color:rgba(0,143,163,.34)!important}
html:not([data-ih-theme="dark"]) .ih-dashboard-page .sidebar .collapse-inner{background:#fff!important;border-color:var(--ih-dash-line)}
html:not([data-ih-theme="dark"]) .ih-dashboard-page .sidebar .collapse-item{color:var(--ih-dash-muted)!important}
html:not([data-ih-theme="dark"]) .ih-dashboard-page .sidebar .collapse-item:is(:hover,:focus){color:var(--ih-dash-text)!important;background:rgba(0,143,163,.08)!important}
html:not([data-ih-theme="dark"]) .ih-dashboard-page :is(.topbar,.container-fluid>.d-sm-flex:first-child,.card,.modal-content,.dropdown-menu,footer.sticky-footer){color:var(--ih-dash-steel);background:linear-gradient(135deg,rgba(0,143,163,.045),transparent 40%),rgba(255,255,255,.94)!important;border-color:var(--ih-dash-line)!important;box-shadow:var(--ih-dash-shadow)!important}
html:not([data-ih-theme="dark"]) .ih-dashboard-page :is(#headerTitle,h1,h2,h3,h4,h5,h6){color:var(--ih-dash-text)}
html:not([data-ih-theme="dark"]) .ih-dashboard-page :is(.topbar .nav-link,.topbar .text-gray-600,.text-gray-600,.text-muted){color:var(--ih-dash-muted)!important}
html:not([data-ih-theme="dark"]) :is(.ih-dashboard-page,.ih-auth-page) .ih-dashboard-language-switcher{background:rgba(255,255,255,.84);border-color:var(--ih-dash-line)}
html:not([data-ih-theme="dark"]) :is(.ih-dashboard-page,.ih-auth-page) .ih-dashboard-language-switcher a{color:var(--ih-dash-muted)}
html:not([data-ih-theme="dark"]) :is(.ih-dashboard-page,.ih-auth-page) .ih-dashboard-language-switcher a:is(:hover,:focus,.is-active){color:var(--ih-dash-text);background:rgba(232,247,250,.96);border-color:rgba(0,143,163,.3)}
html:not([data-ih-theme="dark"]) .ih-dashboard-page :is(.table,.table td,.table th,.list-group-item,.bg-white,.collapse-inner.bg-white){color:var(--ih-dash-steel)!important;background-color:#fff!important;border-color:var(--ih-dash-line)!important}
html:not([data-ih-theme="dark"]) .ih-dashboard-page :is(.card-header,.table thead th,.page-link,.ih-room-quick-actions){color:var(--ih-dash-text)!important;background:rgba(255,255,255,.92)!important;border-color:var(--ih-dash-line)!important}
html:not([data-ih-theme="dark"]) :is(.ih-dashboard-page,.ih-auth-page) :is(.btn-secondary,.btn-outline-secondary,.btn-outline-light){color:var(--ih-dash-text)!important;background:#fff!important;border-color:var(--ih-dash-line)!important}
html:not([data-ih-theme="dark"]) .ih-dashboard-page :is(.text-danger,.btn-link.text-danger){color:var(--ih-dash-danger)!important}
html:not([data-ih-theme="dark"]) :is(.ih-dashboard-page,.ih-auth-page) :is(.form-control,.custom-select,select,textarea,[type="text"],[type="password"],[type="email"],[type="number"],[type="search"]){color:var(--ih-dash-text)!important;background:linear-gradient(180deg,#fff,#f7fbfc)!important;border-color:rgba(31,62,72,.18)!important}
html:not([data-ih-theme="dark"]) .ih-auth-page{display:grid;align-items:center;padding:24px}
html:not([data-ih-theme="dark"]) .ih-auth-page::before{background-image:linear-gradient(rgba(0,143,163,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(220,18,34,.055) 1px,transparent 1px)}
html:not([data-ih-theme="dark"]) .ih-auth-page .card{color:var(--ih-dash-steel);background:linear-gradient(135deg,rgba(0,143,163,.05),transparent 42%),#fff!important;border-color:var(--ih-dash-line)!important;border-left-color:var(--ih-dash-cyan)!important;box-shadow:var(--ih-dash-shadow)!important}
html:not([data-ih-theme="dark"]) .ih-auth-page .bg-login-image{background:linear-gradient(90deg,rgba(255,255,255,.2),rgba(255,255,255,.72)),url("../img/ironhand-tech-hero.jpg") center/cover no-repeat!important}
html:not([data-ih-theme="dark"]) .ih-auth-page .p-5::before,html:not([data-ih-theme="dark"]) .ih-auth-page :is(h4,a,.text-white){color:var(--ih-dash-text)}
html:not([data-ih-theme="dark"]) .ih-auth-page .p-5::after{color:var(--ih-dash-amber)}

.ih-auth-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
}

.ih-auth-controls .ih-dashboard-language-switcher {
    margin-bottom: 0;
}

.ih-dashboard-theme-item {
    display: flex;
    align-items: center;
}

@media (max-width: 640px) {
    .site-header > .ih-theme-toggle,
    .ih-room-topbar .ih-theme-toggle,
    .ih-auth-controls .ih-theme-toggle {
        width: 100%;
    }

    .site-header > .ih-theme-toggle button,
    .ih-room-topbar .ih-theme-toggle button,
    .ih-auth-controls .ih-theme-toggle button {
        flex: 1 1 0;
    }
}

@media (max-width: 640px) {
    .ih-room-topbar__right {
        flex-wrap: wrap;
    }

    .ih-room-topbar .ih-theme-toggle,
    .ih-room-brand,
    .ih-room-signal,
    .language-switcher {
        min-height: 36px;
    }
}

@media (max-width: 768px) {
    html:not([data-ih-theme="dark"]) .ih-dashboard-page #responsivelogo,
    html:not([data-ih-theme="dark"]) .ih-dashboard-page .sidebar.toggled #responsivelogo {
        width: 44px;
        height: 44px;
        background-image: url("../img/logo_small.png");
    }

    html:not([data-ih-theme="dark"]) .ih-dashboard-page .sidebar .sidebar-brand {
        height: 4.8rem;
    }
}
