#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console {
    display: grid;
    gap: 0;
    padding: 0.35rem 0.8rem;
    border: 1px solid #d8e2ed;
    border-radius: 14px;
    background: #f8fafc;
    box-shadow: 0 5px 16px rgba(24, 49, 83, 0.06);
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-section {
    display: grid;
    grid-template-columns: 6.3rem minmax(0, 1fr);
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
    padding: 0.62rem 0;
    border-bottom: 1px solid #e3eaf2;
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-section:last-child {
    border-bottom: 0;
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-section-label {
    display: flex;
    align-items: center;
    gap: 0.42rem;
    color: #53677c;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    line-height: 1.2;
    text-transform: uppercase;
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-section-label i {
    width: 1rem;
    color: #71869c;
    text-align: center;
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-grid,
#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-inline-session-actions {
    display: grid;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
    margin-left: 0;
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-grid-pacing {
    grid-template-columns: minmax(15rem, 1.3fr) minmax(10.5rem, 0.8fr);
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-grid-tools {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-inline-session-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console .btn,
#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console .hm-ls-mode-switch {
    min-width: 0;
    min-height: 42px;
    border-width: 1px;
    border-radius: 10px;
    box-shadow: none;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.15;
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.55rem 0.7rem;
    white-space: nowrap;
    transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease, transform 0.14s ease;
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console .btn:not(:disabled):hover,
#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console .btn:not(:disabled):focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(30, 64, 110, 0.1);
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console .btn:disabled {
    opacity: 0.52;
    transform: none;
    box-shadow: none;
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console .hm-ls-mode-switch {
    display: flex;
    justify-content: space-between;
    gap: 0.55rem;
    padding: 0.52rem 0.72rem;
    border-color: #b9c8d8;
    color: #53677c;
    background: #ffffff;
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console .hm-ls-mode-switch:has(#teacher-live-slides-presentation-mode-toggle:not(:checked)) > span:first-child,
#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console .hm-ls-mode-switch:has(#teacher-live-slides-presentation-mode-toggle:checked) > span:last-child {
    color: #174f9d;
    font-weight: 800 !important;
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console #teacher-live-slides-presentation-mode-toggle {
    flex: 0 0 auto;
    margin-inline: auto;
    accent-color: #2467c8;
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console #teacher-live-slides-teacher-preview-toggle,
#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console #teacher-live-slides-attention-check-toggle {
    color: #29435f;
    border-color: #b9c8d8;
    background: #ffffff;
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console #teacher-live-slides-teacher-preview-toggle.is-active,
#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console #teacher-live-slides-attention-check-toggle.is-active {
    color: #704d00;
    border-color: #e1b94a;
    background: #fff3c4;
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console #teacher-live-slides-open-navigator {
    color: #174f9d;
    border-color: #9bbce8;
    background: #eaf2ff;
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console #teacher-live-slides-open-navigator:not(:disabled):hover,
#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console #teacher-live-slides-open-navigator:not(:disabled):focus-visible {
    color: #ffffff;
    border-color: #2467c8;
    background: #2467c8;
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console #teacher-live-slides-toggle-music.is-stopped {
    color: #17603a;
    border-color: #94caaa;
    background: #e7f6ec;
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console #teacher-live-slides-toggle-music.is-playing {
    color: #8a4c12;
    border-color: #e8bd83;
    background: #fff3df;
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console #teacher-live-slides-end-session-focus {
    color: #8b2e2e;
    border-color: #e5b0b0;
    background: #fff1f1;
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console #teacher-live-slides-end-session-focus-no-save {
    color: #405267;
    border-color: #c4cfdb;
    background: #ffffff;
}

#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-console .hm-ls-music-toggle-btn.hidden {
    display: none !important;
}

@media (max-width: 560px) {
    #live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.45rem;
    }

    #live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-grid-pacing,
    #live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-grid-tools,
    #live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-inline-session-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-grid-tools > :nth-child(3):not(.hidden) {
        grid-column: 1 / -1;
    }
}
