/*
 * OG universal appearance sweep
 *
 * This file is intentionally loaded after page-level styles. Every rule is
 * scoped to body.theme-og so the DSOA appearance remains completely intact.
 */

body.theme-og {
    --og-ink: #303e67;
    --og-ink-deep: #203052;
    --og-muted: #66758a;
    --og-faint: #8a96a8;
    --og-blue: #1d89cb;
    --og-blue-dark: #176fa8;
    --og-blue-soft: #eaf4fb;
    --og-page: #f6f8fb;
    --og-panel: #ffffff;
    --og-panel-alt: #f1f5f9;
    --og-line: #dce6f1;
    --og-line-strong: #bfd2e4;
    --og-green: #26724e;
    --og-green-soft: #edf8f2;
    --og-rose: #a83455;
    --og-rose-soft: #fff1f4;
    --og-amber: #9a6b10;
    --og-amber-soft: #fff8e8;
    --og-shadow: 0 10px 28px rgba(48, 62, 103, .08);
    color: var(--og-ink);
    background: var(--og-page);
    font-family: "Roboto", Arial, sans-serif;
}

/* Shared authenticated shell */
body.theme-og.refined-deco-app,
body.theme-og.refined-deco-app .page-wrapper,
body.theme-og.refined-deco-app .page-content {
    color: var(--og-ink) !important;
    background: var(--og-page) !important;
}

body.theme-og.refined-deco-app .page-content > .container-fluid,
body.theme-og.refined-deco-app .page-content > .container {
    color: var(--og-ink);
}

body.theme-og.refined-deco-app .left-sidenav,
body.theme-og.refined-deco-app.dark-sidenav .left-sidenav {
    border-right: 1px solid var(--og-line) !important;
    background: #fff !important;
    box-shadow: 6px 0 22px rgba(48, 62, 103, .05) !important;
}

body.theme-og.refined-deco-app .brand,
body.theme-og.refined-deco-app .left-sidenav-menu,
body.theme-og.refined-deco-app .left-sidenav-menu li,
body.theme-og.refined-deco-app .left-sidenav-menu li > a {
    background: transparent !important;
}

body.theme-og.refined-deco-app .left-sidenav-menu li > a {
    color: #536279 !important;
    border-color: transparent !important;
    font-family: "Roboto", Arial, sans-serif !important;
}

body.theme-og.refined-deco-app .left-sidenav-menu li > a:hover,
body.theme-og.refined-deco-app .left-sidenav-menu li > a.active,
body.theme-og.refined-deco-app .left-sidenav-menu li.mm-active > a {
    color: var(--og-blue) !important;
    border-color: var(--og-line-strong) !important;
    background: var(--og-blue-soft) !important;
}

body.theme-og.refined-deco-app .left-sidenav-menu li > a i,
body.theme-og.refined-deco-app .left-sidenav-menu li > a .menu-icon,
body.theme-og.refined-deco-app .left-sidenav-menu .menu-label,
body.theme-og.refined-deco-app .sideline-nav-lock {
    color: var(--og-blue) !important;
}

body.theme-og.refined-deco-app .left-sidenav-menu .menu-label {
    border-color: var(--og-line) !important;
    font-family: "Poppins", Arial, sans-serif !important;
    letter-spacing: .13em !important;
}

body.theme-og.refined-deco-app .topbar,
body.theme-og.refined-deco-app .navbar-custom {
    color: var(--og-ink) !important;
    border-color: var(--og-line) !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 4px 18px rgba(48, 62, 103, .05) !important;
}

body.theme-og.refined-deco-app .navbar-custom .nav-link,
body.theme-og.refined-deco-app .topbar-icon,
body.theme-og.refined-deco-app .nav-user-name,
body.theme-og.refined-deco-app .topbar-user-identity,
body.theme-og.refined-deco-app .topbar-account-action {
    color: var(--og-ink) !important;
    border-color: var(--og-line-strong) !important;
}

body.theme-og.refined-deco-app .topbar-account-action:hover,
body.theme-og.refined-deco-app .navbar-custom .nav-link:hover {
    color: var(--og-blue) !important;
    background: var(--og-blue-soft) !important;
}

/* Original OG typography */
body.theme-og.refined-deco-app h1,
body.theme-og.refined-deco-app h2,
body.theme-og.refined-deco-app h3,
body.theme-og.refined-deco-app h4,
body.theme-og.refined-deco-app h5,
body.theme-og.refined-deco-app h6,
body.theme-og.refined-deco-app .page-title,
body.theme-og.refined-deco-app .content-heading,
body.theme-og.refined-deco-app .study-page-heading,
body.theme-og.refined-deco-app .profile-heading,
body.theme-og.refined-deco-app .appearance-heading {
    color: var(--og-ink) !important;
    font-family: "Poppins", Arial, sans-serif !important;
    text-shadow: none !important;
}

body.theme-og.refined-deco-app p,
body.theme-og.refined-deco-app li,
body.theme-og.refined-deco-app dd,
body.theme-og.refined-deco-app td,
body.theme-og.refined-deco-app blockquote {
    font-family: "Roboto", Arial, sans-serif;
}

body.theme-og.refined-deco-app .appearance-kicker,
body.theme-og.refined-deco-app .assignment-eyebrow,
body.theme-og.refined-deco-app .board-kicker,
body.theme-og.refined-deco-app .typing-kicker,
body.theme-og.refined-deco-app .pitch-kicker,
body.theme-og.refined-deco-app .color-kicker,
body.theme-og.refined-deco-app .math-kicker,
body.theme-og.refined-deco-app .sat-kicker,
body.theme-og.refined-deco-app .rhythm-kicker,
body.theme-og.refined-deco-app .submission-page-kicker {
    color: var(--og-blue) !important;
    font-family: "Poppins", Arial, sans-serif !important;
    letter-spacing: .12em !important;
    text-shadow: none !important;
}

body.theme-og.refined-deco-app .text-muted,
body.theme-og.refined-deco-app .security-field-note,
body.theme-og.refined-deco-app .profile-data-field small,
body.theme-og.refined-deco-app .identity-field small,
body.theme-og.refined-deco-app .panel-empty,
body.theme-og.refined-deco-app .assignment-card-meta,
body.theme-og.refined-deco-app .assignment-card-kicker {
    color: var(--og-muted) !important;
}

/* Shared surfaces */
body.theme-og.refined-deco-app .card,
body.theme-og.refined-deco-app .card-,
body.theme-og.refined-deco-app .deco-panel,
body.theme-og.refined-deco-app .report-card,
body.theme-og.refined-deco-app .account-settings-card,
body.theme-og.refined-deco-app .security-action-panel,
body.theme-og.refined-deco-app .assignment-builder,
body.theme-og.refined-deco-app .assignment-library,
body.theme-og.refined-deco-app .assignment-card,
body.theme-og.refined-deco-app .scholar-assignment-card,
body.theme-og.refined-deco-app .empty-assignment-card,
body.theme-og.refined-deco-app .submission-summary-card,
body.theme-og.refined-deco-app .submission-roster-card,
body.theme-og.refined-deco-app .submission-review-modal .modal-content,
body.theme-og.refined-deco-app .classroom-hero,
body.theme-og.refined-deco-app .student-detail-hero,
body.theme-og.refined-deco-app .live-classroom-shell .deco-panel,
body.theme-og.refined-deco-app .profile-page .deco-panel,
body.theme-og.refined-deco-app .leaderboards-page > section,
body.theme-og.refined-deco-app .sideline-manage-card {
    color: var(--og-ink) !important;
    border-color: var(--og-line) !important;
    background: var(--og-panel) !important;
    box-shadow: var(--og-shadow) !important;
}

body.theme-og.refined-deco-app .card-header,
body.theme-og.refined-deco-app .deco-panel-heading,
body.theme-og.refined-deco-app .typing-queue-panel-heading,
body.theme-og.refined-deco-app .submission-review-header,
body.theme-og.refined-deco-app .submission-roster-table thead,
body.theme-og.refined-deco-app .assignment-card-topline {
    color: var(--og-ink) !important;
    border-color: var(--og-line) !important;
    background: var(--og-panel-alt) !important;
}

body.theme-og.refined-deco-app .deco-panel::before,
body.theme-og.refined-deco-app .deco-panel::after,
body.theme-og.refined-deco-app .card::before,
body.theme-og.refined-deco-app .card::after,
body.theme-og.refined-deco-app .assignment-card::before,
body.theme-og.refined-deco-app .assignment-card::after {
    border-color: var(--og-line-strong) !important;
    box-shadow: none !important;
}

/* Forms and controls */
body.theme-og.refined-deco-app .form-label,
body.theme-og.refined-deco-app label,
body.theme-og.refined-deco-app legend,
body.theme-og.refined-deco-app dt {
    color: var(--og-ink) !important;
    font-family: "Roboto", Arial, sans-serif !important;
}

body.theme-og.refined-deco-app .form-control,
body.theme-og.refined-deco-app .form-select,
body.theme-og.refined-deco-app input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
body.theme-og.refined-deco-app textarea,
body.theme-og.refined-deco-app select {
    color: var(--og-ink) !important;
    border-color: var(--og-line-strong) !important;
    background: #fff !important;
    box-shadow: none !important;
    font-family: "Roboto", Arial, sans-serif !important;
}

body.theme-og.refined-deco-app input::placeholder,
body.theme-og.refined-deco-app textarea::placeholder {
    color: #8995a8 !important;
    opacity: 1 !important;
}

body.theme-og.refined-deco-app .form-control:focus,
body.theme-og.refined-deco-app .form-select:focus,
body.theme-og.refined-deco-app input:focus,
body.theme-og.refined-deco-app textarea:focus,
body.theme-og.refined-deco-app select:focus {
    color: var(--og-ink) !important;
    border-color: var(--og-blue) !important;
    box-shadow: 0 0 0 .18rem rgba(29, 137, 203, .14) !important;
    outline: 0 !important;
}

body.theme-og.refined-deco-app input[type="checkbox"],
body.theme-og.refined-deco-app input[type="radio"] {
    accent-color: var(--og-blue) !important;
}

body.theme-og.refined-deco-app .btn,
body.theme-og.refined-deco-app button,
body.theme-og.refined-deco-app .appearance-save,
body.theme-og.refined-deco-app .assignment-action,
body.theme-og.refined-deco-app .live-primary-action {
    border-radius: 3px !important;
    font-family: "Poppins", Arial, sans-serif !important;
    text-shadow: none !important;
}

body.theme-og.refined-deco-app .btn-primary,
body.theme-og.refined-deco-app .appearance-save,
body.theme-og.refined-deco-app .live-primary-action,
body.theme-og.refined-deco-app .assignment-action,
body.theme-og.refined-deco-app .math-primary,
body.theme-og.refined-deco-app .sat-primary,
body.theme-og.refined-deco-app .rhythm-button:not(.is-secondary) {
    color: #fff !important;
    border-color: var(--og-blue) !important;
    background: var(--og-blue) !important;
}

body.theme-og.refined-deco-app .btn-primary:hover,
body.theme-og.refined-deco-app .appearance-save:hover,
body.theme-og.refined-deco-app .live-primary-action:hover,
body.theme-og.refined-deco-app .assignment-action:hover,
body.theme-og.refined-deco-app .math-primary:hover,
body.theme-og.refined-deco-app .sat-primary:hover {
    color: #fff !important;
    border-color: var(--og-blue-dark) !important;
    background: var(--og-blue-dark) !important;
}

body.theme-og.refined-deco-app .btn-outline-primary,
body.theme-og.refined-deco-app .deco-quiet,
body.theme-og.refined-deco-app .btn-sm:not(.btn-danger):not(.btn-outline-danger) {
    color: var(--og-blue) !important;
    border-color: var(--og-line-strong) !important;
    background: #fff !important;
}

body.theme-og.refined-deco-app .btn-outline-primary:hover,
body.theme-og.refined-deco-app .deco-quiet:hover {
    color: #fff !important;
    border-color: var(--og-blue) !important;
    background: var(--og-blue) !important;
}

body.theme-og.refined-deco-app .btn-danger,
body.theme-og.refined-deco-app .btn-outline-danger,
body.theme-og.refined-deco-app .deco-danger,
body.theme-og.refined-deco-app .sheet-reject,
body.theme-og.refined-deco-app .typing-review-reject {
    color: var(--og-rose) !important;
    border-color: #e3b6c3 !important;
    background: var(--og-rose-soft) !important;
}

/* Tables, tabs, dialogs, alerts */
body.theme-og.refined-deco-app table,
body.theme-og.refined-deco-app .table,
body.theme-og.refined-deco-app table.dataTable,
body.theme-og.refined-deco-app table.dataTable tbody tr,
body.theme-og.refined-deco-app table.dataTable tbody td {
    color: var(--og-ink) !important;
    border-color: var(--og-line) !important;
    background: #fff !important;
}

body.theme-og.refined-deco-app .table thead th,
body.theme-og.refined-deco-app table.dataTable thead th,
body.theme-og.refined-deco-app .submission-archive-table thead th,
body.theme-og.refined-deco-app .secure-account-table thead th,
body.theme-og.refined-deco-app .study-data-sheet thead th {
    color: var(--og-blue) !important;
    border-color: var(--og-line) !important;
    background: var(--og-panel-alt) !important;
    font-family: "Poppins", Arial, sans-serif !important;
}

body.theme-og.refined-deco-app .modal-content,
body.theme-og.refined-deco-app .deco-modal,
body.theme-og.refined-deco-app .sheet-review-dialog,
body.theme-og.refined-deco-app .sideline-entry-lock-dialog {
    color: var(--og-ink) !important;
    border-color: var(--og-line-strong) !important;
    background: #fff !important;
    box-shadow: 0 24px 60px rgba(32, 48, 82, .2) !important;
}

body.theme-og.refined-deco-app .modal-header,
body.theme-og.refined-deco-app .modal-footer,
body.theme-og.refined-deco-app .sheet-review-controls,
body.theme-og.refined-deco-app .sideline-entry-lock-dialog__actions {
    border-color: var(--og-line) !important;
    background: var(--og-panel-alt) !important;
}

body.theme-og.refined-deco-app .alert,
body.theme-og.refined-deco-app .math-notice,
body.theme-og.refined-deco-app .typing-queue-notice,
body.theme-og.refined-deco-app .monitor-toast {
    color: var(--og-ink) !important;
    border-color: var(--og-line-strong) !important;
    background: var(--og-blue-soft) !important;
}

body.theme-og.refined-deco-app .alert-success,
body.theme-og.refined-deco-app .success,
body.theme-og.refined-deco-app .submission-count-pill.is-success {
    color: var(--og-green) !important;
    border-color: #add6bf !important;
    background: var(--og-green-soft) !important;
}

body.theme-og.refined-deco-app .badge,
body.theme-og.refined-deco-app .status-pill,
body.theme-og.refined-deco-app .role-pill,
body.theme-og.refined-deco-app .room-status-pill,
body.theme-og.refined-deco-app .current-class-pill {
    border-color: var(--og-line-strong) !important;
    font-family: "Poppins", Arial, sans-serif !important;
}

body.theme-og.refined-deco-app .account-roster-tab,
body.theme-og.refined-deco-app .period-tab,
body.theme-og.refined-deco-app .leaderboard-section-tabs a,
body.theme-og.refined-deco-app .scholar-board-tabs a,
body.theme-og.refined-deco-app .math-board-tabs a,
body.theme-og.refined-deco-app .sat-board-tabs a,
body.theme-og.refined-deco-app .rhythm-board-tab,
body.theme-og.refined-deco-app .rhythm-board-tabs a {
    color: var(--og-muted) !important;
    border-color: var(--og-line) !important;
    background: #fff !important;
    font-family: "Poppins", Arial, sans-serif !important;
}

body.theme-og.refined-deco-app .account-roster-tab.is-active,
body.theme-og.refined-deco-app .account-roster-tab.active,
body.theme-og.refined-deco-app .period-tab.is-selected,
body.theme-og.refined-deco-app .math-board-tabs a.is-active,
body.theme-og.refined-deco-app .sat-board-tabs a.is-active,
body.theme-og.refined-deco-app .rhythm-board-tab.is-active,
body.theme-og.refined-deco-app .rhythm-board-tabs a.is-active {
    color: var(--og-blue) !important;
    border-color: var(--og-blue) !important;
    background: var(--og-blue-soft) !important;
}

/* Admin dashboard, accounts, profile and security */
body.theme-og.refined-deco-app .report-main-icon {
    color: #fff !important;
    border-color: var(--og-blue) !important;
    background: var(--og-blue) !important;
}

body.theme-og.refined-deco-app .report-card h3,
body.theme-og.refined-deco-app .report-card h4,
body.theme-og.refined-deco-app .summary-item strong,
body.theme-og.refined-deco-app .profile-data-field strong,
body.theme-og.refined-deco-app .identity-field strong {
    color: var(--og-ink) !important;
}

body.theme-og.refined-deco-app .accounts-page,
body.theme-og.refined-deco-app .profile-page,
body.theme-og.refined-deco-app .appearance-page,
body.theme-og.refined-deco-app .admin-student-edit-page,
body.theme-og.refined-deco-app .typing-student-data-page {
    color: var(--og-ink) !important;
}

body.theme-og.refined-deco-app .profile-data-field,
body.theme-og.refined-deco-app .profile-readonly-field,
body.theme-og.refined-deco-app .identity-field,
body.theme-og.refined-deco-app .profile-sports-field,
body.theme-og.refined-deco-app .profile-sport-option,
body.theme-og.refined-deco-app .security-required-notice,
body.theme-og.refined-deco-app .security-status-card,
body.theme-og.refined-deco-app .account-request-card,
body.theme-og.refined-deco-app .appearance-card,
body.theme-og.refined-deco-app .logo-choice-card,
body.theme-og.refined-deco-app .admin-crest-option-card {
    color: var(--og-ink) !important;
    border-color: var(--og-line) !important;
    background: #fff !important;
}

body.theme-og.refined-deco-app .profile-readonly-field,
body.theme-og.refined-deco-app .identity-field.is-readonly {
    background: var(--og-panel-alt) !important;
}

body.theme-og.refined-deco-app .appearance-option > input:checked + .appearance-card,
body.theme-og.refined-deco-app .logo-choice-option > input:checked + .logo-choice-card,
body.theme-og.refined-deco-app .admin-crest-option > input:checked + .admin-crest-option-card {
    border-color: var(--og-blue) !important;
    background: var(--og-blue-soft) !important;
    box-shadow: 0 0 0 1px var(--og-blue), var(--og-shadow) !important;
}

body.theme-og.refined-deco-app .major-crest-number,
body.theme-og.refined-deco-app .scholar-major-crest,
body.theme-og.refined-deco-app .gatsby-green-light {
    border-color: var(--og-line-strong) !important;
    background: var(--og-panel-alt) !important;
}

/* Study builders, libraries and archives */
body.theme-og.refined-deco-app .study-page-heading,
body.theme-og.refined-deco-app .assignment-studio,
body.theme-og.refined-deco-app .assignment-studio-grid,
body.theme-og.refined-deco-app .assignment-summary,
body.theme-og.refined-deco-app .open-share-panel,
body.theme-og.refined-deco-app .release-strip,
body.theme-og.refined-deco-app .assignment-live-alert,
body.theme-og.refined-deco-app .submission-archive-shell,
body.theme-og.refined-deco-app .submission-page-header {
    color: var(--og-ink) !important;
    border-color: var(--og-line) !important;
}

body.theme-og.refined-deco-app .assignment-studio,
body.theme-og.refined-deco-app .assignment-summary,
body.theme-og.refined-deco-app .open-share-panel,
body.theme-og.refined-deco-app .release-strip,
body.theme-og.refined-deco-app .assignment-live-alert {
    background: var(--og-panel-alt) !important;
}

body.theme-og.refined-deco-app .assignment-card-grid,
body.theme-og.refined-deco-app .assignment-two-up,
body.theme-og.refined-deco-app .submission-summary-grid {
    color: var(--og-ink) !important;
}

body.theme-og.refined-deco-app .assignment-number,
body.theme-og.refined-deco-app .infinity-symbol,
body.theme-og.refined-deco-app .submission-total,
body.theme-og.refined-deco-app .submission-count-number,
body.theme-og.refined-deco-app .summary-icon,
body.theme-og.refined-deco-app .step-mark {
    color: var(--og-blue) !important;
}

body.theme-og.refined-deco-app .assignment-live-alert.is-late,
body.theme-og.refined-deco-app .is-missed {
    color: var(--og-rose) !important;
    border-color: #e3b6c3 !important;
    background: var(--og-rose-soft) !important;
}

/* Scholar dashboard */
body.theme-og.refined-deco-app .scholar-dashboard,
body.theme-og.refined-deco-app .scholar-dashboard-lanes,
body.theme-og.refined-deco-app .scholar-classroom-hub,
body.theme-og.refined-deco-app .scholar-bell-ringer-section,
body.theme-og.refined-deco-app .scholar-exit-ticket-section,
body.theme-og.refined-deco-app .scholar-assignment-section {
    color: var(--og-ink) !important;
}

body.theme-og.refined-deco-app .scholar-dashboard-lanes > section,
body.theme-og.refined-deco-app .scholar-classroom-hub,
body.theme-og.refined-deco-app .scholar-assignment-section,
body.theme-og.refined-deco-app .scholar-bell-ringer-section,
body.theme-og.refined-deco-app .scholar-exit-ticket-section,
body.theme-og.refined-deco-app .scholar-class-grid article {
    color: var(--og-ink) !important;
    border-color: var(--og-line) !important;
    background: #fff !important;
    box-shadow: var(--og-shadow) !important;
}

body.theme-og.refined-deco-app .scholar-hub-heading,
body.theme-og.refined-deco-app .scholar-study-heading,
body.theme-og.refined-deco-app .scholar-dashboard h1,
body.theme-og.refined-deco-app .scholar-dashboard h2,
body.theme-og.refined-deco-app .scholar-dashboard h3 {
    color: var(--og-ink) !important;
}

/* Live Study, Bell Ringer, Exit Ticket, review and grading */
body.theme-og.refined-deco-app .live-classroom-shell,
body.theme-og.refined-deco-app .monitor-shell,
body.theme-og.refined-deco-app .study-data-sheet,
body.theme-og.refined-deco-app .submission-page,
body.theme-og.refined-deco-app .response-review-panel {
    color: var(--og-ink) !important;
}

body.theme-og.refined-deco-app .day-context,
body.theme-og.refined-deco-app .period-command-card,
body.theme-og.refined-deco-app .monitor-pulsebar,
body.theme-og.refined-deco-app .question-timing-bar,
body.theme-og.refined-deco-app .queue-question,
body.theme-og.refined-deco-app .live-student-card,
body.theme-og.refined-deco-app .grading-card,
body.theme-og.refined-deco-app .response-review-card,
body.theme-og.refined-deco-app .student-response-history,
body.theme-og.refined-deco-app .teacher-check-in-timeline,
body.theme-og.refined-deco-app .away-timeline {
    color: var(--og-ink) !important;
    border-color: var(--og-line) !important;
    background: #fff !important;
    box-shadow: var(--og-shadow) !important;
}

body.theme-og.refined-deco-app .period-command-identity,
body.theme-og.refined-deco-app .queue-position,
body.theme-og.refined-deco-app .response-rank,
body.theme-og.refined-deco-app .state-legend,
body.theme-og.refined-deco-app .bell-preparation-summary,
body.theme-og.refined-deco-app .closed-study-history,
body.theme-og.refined-deco-app .closed-assignment-grid {
    color: var(--og-ink) !important;
    border-color: var(--og-line) !important;
    background: var(--og-panel-alt) !important;
}

body.theme-og.refined-deco-app .queue-question.is-selected,
body.theme-og.refined-deco-app .live-student-card.is-selected,
body.theme-og.refined-deco-app .period-command-card.is-selected {
    border-color: var(--og-blue) !important;
    background: var(--og-blue-soft) !important;
}

body.theme-og.refined-deco-app .roster-filters button,
body.theme-og.refined-deco-app .queue-actions button,
body.theme-og.refined-deco-app .student-card-actions button,
body.theme-og.refined-deco-app .sheet-action,
body.theme-og.refined-deco-app .sheet-expand,
body.theme-og.refined-deco-app .sheet-approve,
body.theme-og.refined-deco-app .sheet-reject {
    color: var(--og-blue) !important;
    border-color: var(--og-line-strong) !important;
    background: #fff !important;
}

body.theme-og.refined-deco-app .roster-filters button.active,
body.theme-og.refined-deco-app .sheet-approve.is-active,
body.theme-og.refined-deco-app .review-state.is-approved {
    color: #fff !important;
    border-color: var(--og-green) !important;
    background: var(--og-green) !important;
}

body.theme-og.refined-deco-app .sheet-reject.is-active,
body.theme-og.refined-deco-app .review-state.is-rejected {
    color: #fff !important;
    border-color: var(--og-rose) !important;
    background: var(--og-rose) !important;
}

body.theme-og.refined-deco-app .student-card-head span,
body.theme-og.refined-deco-app .question-timing-bar span,
body.theme-og.refined-deco-app .queue-question span,
body.theme-og.refined-deco-app .no-live-answer,
body.theme-og.refined-deco-app .sheet-empty-answer,
body.theme-og.refined-deco-app .submission-answer-time,
body.theme-og.refined-deco-app .submission-answer-duration {
    color: var(--og-muted) !important;
}

/* Sideline games: shared */
body.theme-og.refined-deco-app .typing-page,
body.theme-og.refined-deco-app .pitch-page,
body.theme-og.refined-deco-app .color-page,
body.theme-og.refined-deco-app .math-page,
body.theme-og.refined-deco-app .sat-page,
body.theme-og.refined-deco-app .rhythm-page {
    color: var(--og-ink) !important;
}

body.theme-og.refined-deco-app .typing-stage,
body.theme-og.refined-deco-app .typing-personal-best,
body.theme-og.refined-deco-app .pitch-game,
body.theme-og.refined-deco-app .pitch-personal-best,
body.theme-og.refined-deco-app .color-game,
body.theme-og.refined-deco-app .color-personal-best,
body.theme-og.refined-deco-app .math-game,
body.theme-og.refined-deco-app .math-screen,
body.theme-og.refined-deco-app .math-personal-best,
body.theme-og.refined-deco-app .sat-game,
body.theme-og.refined-deco-app .sat-screen,
body.theme-og.refined-deco-app .sat-personal-best,
body.theme-og.refined-deco-app .rhythm-game,
body.theme-og.refined-deco-app .rhythm-screen,
body.theme-og.refined-deco-app .rhythm-personal-best {
    color: var(--og-ink) !important;
    border-color: var(--og-line) !important;
    background: #fff !important;
    box-shadow: var(--og-shadow) !important;
}

body.theme-og.refined-deco-app .typing-instruction,
body.theme-og.refined-deco-app .pitch-instruction,
body.theme-og.refined-deco-app .color-instruction,
body.theme-og.refined-deco-app .math-instruction,
body.theme-og.refined-deco-app .sat-instruction,
body.theme-og.refined-deco-app .rhythm-instruction,
body.theme-og.refined-deco-app .typing-leaderboard-status,
body.theme-og.refined-deco-app .pitch-leaderboard-status,
body.theme-og.refined-deco-app .color-leaderboard-status,
body.theme-og.refined-deco-app .math-leaderboard-status,
body.theme-og.refined-deco-app .sat-leaderboard-status,
body.theme-og.refined-deco-app .rhythm-leaderboard-status {
    color: var(--og-muted) !important;
}

body.theme-og.refined-deco-app .typing-score strong,
body.theme-og.refined-deco-app .pitch-score,
body.theme-og.refined-deco-app .color-score,
body.theme-og.refined-deco-app .math-score,
body.theme-og.refined-deco-app .sat-score,
body.theme-og.refined-deco-app .rhythm-score,
body.theme-og.refined-deco-app .math-result-metric strong,
body.theme-og.refined-deco-app .sat-result-metric strong,
body.theme-og.refined-deco-app .rhythm-result-metric strong {
    color: var(--og-blue) !important;
}

body.theme-og.refined-deco-app .math-symbol,
body.theme-og.refined-deco-app .sat-symbol,
body.theme-og.refined-deco-app .rhythm-intro-icon,
body.theme-og.refined-deco-app .color-ready,
body.theme-og.refined-deco-app .pitch-memory-label {
    color: var(--og-blue) !important;
    border-color: var(--og-line-strong) !important;
    background: var(--og-blue-soft) !important;
}

body.theme-og.refined-deco-app .math-choice-grid button,
body.theme-og.refined-deco-app .sat-choice-grid button,
body.theme-og.refined-deco-app .scholar-choice-grid label,
body.theme-og.refined-deco-app .choice-grid label,
body.theme-og.refined-deco-app .rhythm-tap-pad {
    color: var(--og-ink) !important;
    border-color: var(--og-line-strong) !important;
    background: #fff !important;
}

body.theme-og.refined-deco-app .math-choice-grid button:hover,
body.theme-og.refined-deco-app .sat-choice-grid button:hover,
body.theme-og.refined-deco-app .rhythm-tap-pad:hover {
    color: #fff !important;
    border-color: var(--og-blue) !important;
    background: var(--og-blue) !important;
}

/* Every leaderboard and approval family */
body.theme-og.refined-deco-app .typing-board,
body.theme-og.refined-deco-app .pitch-board,
body.theme-og.refined-deco-app .color-board,
body.theme-og.refined-deco-app .math-board,
body.theme-og.refined-deco-app .sat-board,
body.theme-og.refined-deco-app .rhythm-board,
body.theme-og.refined-deco-app .typing-queue-panel,
body.theme-og.refined-deco-app .pitch-queue,
body.theme-og.refined-deco-app .color-queue,
body.theme-og.refined-deco-app .math-queue,
body.theme-og.refined-deco-app .sat-queue,
body.theme-og.refined-deco-app .rhythm-queue {
    color: var(--og-ink) !important;
    border-color: var(--og-line) !important;
    background: #fff !important;
    box-shadow: var(--og-shadow) !important;
}

body.theme-og.refined-deco-app .typing-board-table th,
body.theme-og.refined-deco-app .pitch-board-table th,
body.theme-og.refined-deco-app .color-board-table th,
body.theme-og.refined-deco-app .math-board-table th,
body.theme-og.refined-deco-app .sat-board-table th,
body.theme-og.refined-deco-app .rhythm-board-table th,
body.theme-og.refined-deco-app .typing-queue-table th,
body.theme-og.refined-deco-app .pitch-table th,
body.theme-og.refined-deco-app .color-table th,
body.theme-og.refined-deco-app .math-table th,
body.theme-og.refined-deco-app .sat-table th,
body.theme-og.refined-deco-app .rhythm-table th {
    color: var(--og-blue) !important;
    border-color: var(--og-line) !important;
    background: var(--og-panel-alt) !important;
}

body.theme-og.refined-deco-app .typing-board-table td,
body.theme-og.refined-deco-app .pitch-board-table td,
body.theme-og.refined-deco-app .color-board-table td,
body.theme-og.refined-deco-app .math-board-table td,
body.theme-og.refined-deco-app .sat-board-table td,
body.theme-og.refined-deco-app .rhythm-board-table td,
body.theme-og.refined-deco-app .typing-queue-table td,
body.theme-og.refined-deco-app .pitch-table td,
body.theme-og.refined-deco-app .color-table td,
body.theme-og.refined-deco-app .math-table td,
body.theme-og.refined-deco-app .sat-table td,
body.theme-og.refined-deco-app .rhythm-table td {
    color: var(--og-ink) !important;
    border-color: var(--og-line) !important;
    background: #fff !important;
}

body.theme-og.refined-deco-app .typing-podium-place,
body.theme-og.refined-deco-app .pitch-podium-place,
body.theme-og.refined-deco-app .color-podium-place,
body.theme-og.refined-deco-app .math-podium-place,
body.theme-og.refined-deco-app .sat-podium-place,
body.theme-og.refined-deco-app .rhythm-podium-place {
    color: var(--og-ink) !important;
    border-color: var(--og-line) !important;
    background: #fff !important;
}

body.theme-og.refined-deco-app .typing-podium-place-1,
body.theme-og.refined-deco-app .pitch-podium-place-1,
body.theme-og.refined-deco-app .color-podium-place-1,
body.theme-og.refined-deco-app .math-podium-place-1,
body.theme-og.refined-deco-app .sat-podium-place-1,
body.theme-og.refined-deco-app .rhythm-podium-place-1 {
    border-color: var(--og-blue) !important;
    background: linear-gradient(150deg, var(--og-blue-soft), #fff) !important;
}

/* Standalone assignment and open-study response pages */
body.theme-og.refined-deco-assignment {
    color: var(--og-ink) !important;
    background: var(--og-page) !important;
    font-family: "Roboto", Arial, sans-serif !important;
}

body.theme-og.refined-deco-assignment .wrapper,
body.theme-og.refined-deco-assignment .container,
body.theme-og.refined-deco-assignment .assignment-card,
body.theme-og.refined-deco-assignment .assignment-content,
body.theme-og.refined-deco-assignment .response-panel,
body.theme-og.refined-deco-assignment .action-panel,
body.theme-og.refined-deco-assignment .missing-panel {
    color: var(--og-ink) !important;
    border-color: var(--og-line) !important;
    background: #fff !important;
    box-shadow: var(--og-shadow) !important;
}

body.theme-og.refined-deco-assignment h1,
body.theme-og.refined-deco-assignment h2,
body.theme-og.refined-deco-assignment h3,
body.theme-og.refined-deco-assignment h4,
body.theme-og.refined-deco-assignment h5,
body.theme-og.refined-deco-assignment h6 {
    color: var(--og-ink) !important;
    font-family: "Poppins", Arial, sans-serif !important;
    text-shadow: none !important;
}

body.theme-og.refined-deco-assignment .assignment-eyebrow,
body.theme-og.refined-deco-assignment .assignment-number,
body.theme-og.refined-deco-assignment .progress-meta,
body.theme-og.refined-deco-assignment .response-label {
    color: var(--og-blue) !important;
}

body.theme-og.refined-deco-assignment .progress-track {
    background: var(--og-line) !important;
}

body.theme-og.refined-deco-assignment .progress-fill {
    background: var(--og-blue) !important;
}

body.theme-og.refined-deco-assignment textarea,
body.theme-og.refined-deco-assignment input,
body.theme-og.refined-deco-assignment select,
body.theme-og.refined-deco-assignment .response-field {
    color: var(--og-ink) !important;
    border-color: var(--og-line-strong) !important;
    background: #fff !important;
}

body.theme-og.refined-deco-assignment button,
body.theme-og.refined-deco-assignment .assignment-action {
    color: #fff !important;
    border-color: var(--og-blue) !important;
    background: var(--og-blue) !important;
    font-family: "Poppins", Arial, sans-serif !important;
}

/* Login, request-account and device verification */
body.theme-og.refined-deco-login,
body.theme-og .mfa-stage {
    color: var(--og-ink) !important;
    background: linear-gradient(145deg, #eef4f9, #f9fbfd) !important;
    font-family: "Roboto", Arial, sans-serif !important;
}

body.theme-og .deco-login-card,
body.theme-og .student-request-card,
body.theme-og .mfa-card,
body.theme-og .deco-modal {
    color: var(--og-ink) !important;
    border-color: var(--og-line-strong) !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 22px 60px rgba(48, 62, 103, .16) !important;
}

body.theme-og.refined-deco-login h1,
body.theme-og.refined-deco-login h2,
body.theme-og.refined-deco-login h3,
body.theme-og .mfa-stage h1,
body.theme-og .mfa-stage h2 {
    color: var(--og-ink) !important;
    font-family: "Poppins", Arial, sans-serif !important;
    text-shadow: none !important;
}

body.theme-og.refined-deco-login .deco-field label,
body.theme-og.refined-deco-login .deco-eyebrow,
body.theme-og.refined-deco-login .request-field-note,
body.theme-og.refined-deco-login .request-account-policy,
body.theme-og.refined-deco-login .request-account-return {
    color: var(--og-muted) !important;
}

body.theme-og.refined-deco-login .deco-field input,
body.theme-og.refined-deco-login .deco-field select,
body.theme-og.refined-deco-login .deco-field textarea,
body.theme-og .mfa-stage input {
    color: var(--og-ink) !important;
    border-color: var(--og-line-strong) !important;
    background: #fff !important;
    font-family: "Roboto", Arial, sans-serif !important;
}

body.theme-og.refined-deco-login .deco-submit,
body.theme-og .mfa-stage button[type="submit"] {
    color: #fff !important;
    border-color: var(--og-blue) !important;
    background: var(--og-blue) !important;
    font-family: "Poppins", Arial, sans-serif !important;
}

body.theme-og.refined-deco-login .deco-rule,
body.theme-og.refined-deco-login .deco-line,
body.theme-og.refined-deco-login .deco-diamond,
body.theme-og.refined-deco-login .deco-crest,
body.theme-og.refined-deco-login .deco-dog-crest {
    border-color: var(--og-line-strong) !important;
}

body.theme-og.refined-deco-login .deco-login-alert {
    color: var(--og-rose) !important;
    border-color: #e3b6c3 !important;
    background: var(--og-rose-soft) !important;
}

/* Public Open Study */
body.theme-og.open-live-page {
    color: var(--og-ink) !important;
    background: var(--og-page) !important;
    font-family: "Roboto", Arial, sans-serif !important;
}

body.theme-og.open-live-page .open-live-shell,
body.theme-og.open-live-page .open-live-frame,
body.theme-og.open-live-page .open-live-content,
body.theme-og.open-live-page .open-live-action-panel,
body.theme-og.open-live-page .open-live-status-panel,
body.theme-og.open-live-page .question-card,
body.theme-og.open-live-page .waiting-card,
body.theme-og.open-live-page .open-feedback-history {
    color: var(--og-ink) !important;
    border-color: var(--og-line) !important;
    background: #fff !important;
    box-shadow: var(--og-shadow) !important;
}

body.theme-og.open-live-page h1,
body.theme-og.open-live-page h2,
body.theme-og.open-live-page h3,
body.theme-og.open-live-page h4,
body.theme-og.open-live-page .open-live-title {
    color: var(--og-ink) !important;
    font-family: "Poppins", Arial, sans-serif !important;
    text-shadow: none !important;
}

body.theme-og.open-live-page .open-live-kicker,
body.theme-og.open-live-page .open-live-eyebrow,
body.theme-og.open-live-page .question-meta,
body.theme-og.open-live-page .open-live-response-label,
body.theme-og.open-live-page .waiting-mark {
    color: var(--og-blue) !important;
}

body.theme-og.open-live-page p,
body.theme-og.open-live-page .open-live-summary,
body.theme-og.open-live-page .open-live-report {
    color: var(--og-muted) !important;
}

body.theme-og.open-live-page input,
body.theme-og.open-live-page textarea,
body.theme-og.open-live-page select,
body.theme-og.open-live-page .answer-response-panel,
body.theme-og.open-live-page .choice-grid label {
    color: var(--og-ink) !important;
    border-color: var(--og-line-strong) !important;
    background: #fff !important;
}

body.theme-og.open-live-page button,
body.theme-og.open-live-page .answer-actions button {
    color: #fff !important;
    border-color: var(--og-blue) !important;
    background: var(--og-blue) !important;
    font-family: "Poppins", Arial, sans-serif !important;
}

body.theme-og.open-live-page .open-live-badge,
body.theme-og.open-live-page .response-confirmed {
    color: var(--og-green) !important;
    border-color: #add6bf !important;
    background: var(--og-green-soft) !important;
}

/* Projector board */
body.theme-og.projector-board {
    color: var(--og-ink) !important;
    background: var(--og-page) !important;
    font-family: "Roboto", Arial, sans-serif !important;
}

body.theme-og.projector-board .board-frame {
    color: var(--og-ink) !important;
    border-color: var(--og-line-strong) !important;
    background: #fff !important;
    box-shadow: var(--og-shadow) !important;
}

body.theme-og.projector-board header,
body.theme-og.projector-board footer {
    color: var(--og-muted) !important;
    border-color: var(--og-line) !important;
    background: var(--og-panel-alt) !important;
}

body.theme-og.projector-board #boardQuestion,
body.theme-og.projector-board #boardQuestion h1 {
    color: var(--og-ink) !important;
    font-family: "Poppins", Arial, sans-serif !important;
    text-shadow: none !important;
}

body.theme-og.projector-board .board-kicker,
body.theme-og.projector-board header strong,
body.theme-og.projector-board header b {
    color: var(--og-blue) !important;
}

@media (max-width: 991.98px) {
    body.theme-og.refined-deco-app .left-sidenav {
        box-shadow: 10px 0 30px rgba(48, 62, 103, .14) !important;
    }

    body.theme-og.refined-deco-app .scholar-dashboard-lanes,
    body.theme-og.refined-deco-app .assignment-two-up,
    body.theme-og.refined-deco-app .submission-summary-grid {
        gap: 1rem !important;
    }
}

@media (max-width: 640px) {
    body.theme-og.refined-deco-app .card,
    body.theme-og.refined-deco-app .deco-panel,
    body.theme-og.refined-deco-app .assignment-card,
    body.theme-og.open-live-page .open-live-frame,
    body.theme-og.refined-deco-assignment .container {
        box-shadow: 0 6px 18px rgba(48, 62, 103, .07) !important;
    }
}

/* OG contrast refinement v924: sidebar icons and sideline data */
/* Every selector is theme-og scoped so the DSOA presentation remains untouched. */
body.theme-og.refined-deco-app .left-sidenav-menu li > a > i,
body.theme-og.refined-deco-app .left-sidenav-menu li > a .menu-icon {
    color: #dfb72f !important;
    stroke: #dfb72f !important;
    opacity: 1 !important;
}

body.theme-og.refined-deco-app .left-sidenav-menu li > a .menu-icon [stroke]:not([stroke="none"]) {
    stroke: currentColor !important;
}

body.theme-og.refined-deco-app .left-sidenav-menu li > a .menu-icon [fill]:not([fill="none"]) {
    fill: currentColor !important;
}

body.theme-og.refined-deco-app .left-sidenav-menu li > a:hover > i,
body.theme-og.refined-deco-app .left-sidenav-menu li > a:hover .menu-icon,
body.theme-og.refined-deco-app .left-sidenav-menu li > a.active > i,
body.theme-og.refined-deco-app .left-sidenav-menu li > a.active .menu-icon,
body.theme-og.refined-deco-app .left-sidenav-menu li.mm-active > a > i,
body.theme-og.refined-deco-app .left-sidenav-menu li.mm-active > a .menu-icon {
    color: #f0d15c !important;
    stroke: #f0d15c !important;
}

/* Translate each sideline game's DSOA gold/paper variables into the OG system. */
body.theme-og.refined-deco-app .typing-page {
    --typing-gold: var(--og-blue-dark);
    --typing-paper: var(--og-ink-deep);
}

body.theme-og.refined-deco-app .pitch-page {
    --pitch-gold: var(--og-blue-dark);
    --pitch-paper: var(--og-ink-deep);
}

body.theme-og.refined-deco-app .math-page,
body.theme-og.refined-deco-app .sat-page,
body.theme-og.refined-deco-app .color-page,
body.theme-og.refined-deco-app .vanishing-page {
    --gold: var(--og-blue-dark);
    --paper: var(--og-ink-deep);
    --muted: var(--og-muted);
}

body.theme-og.refined-deco-app .rhythm-page {
    --rhythm-gold: var(--og-blue-dark);
    --rhythm-paper: var(--og-ink-deep);
    --rhythm-wine: var(--og-blue-soft);
}

/* Result and personal-best details: readable navy values with muted blue-gray labels. */
body.theme-og.refined-deco-app .math-result-grid span,
body.theme-og.refined-deco-app .math-personal-best dt,
body.theme-og.refined-deco-app .sat-result-grid span,
body.theme-og.refined-deco-app .sat-personal-best dt,
body.theme-og.refined-deco-app .color-result-metric span,
body.theme-og.refined-deco-app .color-best-metric span,
body.theme-og.refined-deco-app .rhythm-result-metric span,
body.theme-og.refined-deco-app .rhythm-best-metric span,
body.theme-og.refined-deco-app .typing-best-metric span,
body.theme-og.refined-deco-app .pitch-best-metric span,
body.theme-og.refined-deco-app .vanishing-best-metric span {
    color: var(--og-muted) !important;
}

body.theme-og.refined-deco-app .math-result-grid strong,
body.theme-og.refined-deco-app .math-personal-best dd,
body.theme-og.refined-deco-app .sat-result-grid strong,
body.theme-og.refined-deco-app .sat-personal-best dd,
body.theme-og.refined-deco-app .color-result-metric strong,
body.theme-og.refined-deco-app .color-best-metric strong,
body.theme-og.refined-deco-app .rhythm-result-metric strong,
body.theme-og.refined-deco-app .rhythm-best-metric strong,
body.theme-og.refined-deco-app .typing-best-metric strong,
body.theme-og.refined-deco-app .pitch-best-metric strong,
body.theme-og.refined-deco-app .vanishing-best-metric strong {
    color: var(--og-ink-deep) !important;
}

body.theme-og.refined-deco-app .math-personal-best h4,
body.theme-og.refined-deco-app .sat-personal-best h4,
body.theme-og.refined-deco-app .color-personal-best h2,
body.theme-og.refined-deco-app .rhythm-personal-best h2 {
    color: var(--og-ink-deep) !important;
}

body.theme-og.refined-deco-app .math-personal-best h4 span,
body.theme-og.refined-deco-app .sat-personal-best h4 span,
body.theme-og.refined-deco-app .color-best-metric:not(.is-secondary),
body.theme-og.refined-deco-app .rhythm-best-metric:not(.is-secondary) {
    color: var(--og-blue-dark) !important;
}

/* Leaderboard actions use the OG blue button treatment instead of gold type. */
body.theme-og.refined-deco-app .typing-send-leaderboard,
body.theme-og.refined-deco-app .pitch-send,
body.theme-og.refined-deco-app .color-send,
body.theme-og.refined-deco-app .math-leaderboard-action button,
body.theme-og.refined-deco-app .sat-leaderboard-action button,
body.theme-og.refined-deco-app .rhythm-send,
body.theme-og.refined-deco-app .vanishing-button,
body.theme-og.refined-deco-app .vanishing-best-submit {
    color: #fff !important;
    border-color: var(--og-blue) !important;
    background: var(--og-blue) !important;
}

body.theme-og.refined-deco-app .typing-send-leaderboard:hover,
body.theme-og.refined-deco-app .typing-send-leaderboard:focus,
body.theme-og.refined-deco-app .pitch-send:hover,
body.theme-og.refined-deco-app .pitch-send:focus,
body.theme-og.refined-deco-app .color-send:hover,
body.theme-og.refined-deco-app .color-send:focus,
body.theme-og.refined-deco-app .math-leaderboard-action button:hover,
body.theme-og.refined-deco-app .math-leaderboard-action button:focus,
body.theme-og.refined-deco-app .sat-leaderboard-action button:hover,
body.theme-og.refined-deco-app .sat-leaderboard-action button:focus,
body.theme-og.refined-deco-app .rhythm-send:hover,
body.theme-og.refined-deco-app .rhythm-send:focus,
body.theme-og.refined-deco-app .vanishing-button:hover,
body.theme-og.refined-deco-app .vanishing-button:focus,
body.theme-og.refined-deco-app .vanishing-best-submit:hover,
body.theme-og.refined-deco-app .vanishing-best-submit:focus {
    color: #fff !important;
    border-color: var(--og-blue-dark) !important;
    background: var(--og-blue-dark) !important;
}

body.theme-og.refined-deco-app .typing-send-leaderboard:disabled,
body.theme-og.refined-deco-app .pitch-send:disabled,
body.theme-og.refined-deco-app .color-send:disabled,
body.theme-og.refined-deco-app .math-leaderboard-action button:disabled,
body.theme-og.refined-deco-app .sat-leaderboard-action button:disabled,
body.theme-og.refined-deco-app .rhythm-send:disabled,
body.theme-og.refined-deco-app .vanishing-button:disabled,
body.theme-og.refined-deco-app .vanishing-best-submit:disabled {
    color: var(--og-muted) !important;
    border-color: var(--og-line-strong) !important;
    background: var(--og-panel-alt) !important;
    opacity: 1 !important;
}

body.theme-og.refined-deco-app .typing-leaderboard-action.is-sent .typing-send-leaderboard,
body.theme-og.refined-deco-app .color-leaderboard-action.is-sent .color-send,
body.theme-og.refined-deco-app .math-leaderboard-action.is-sent button,
body.theme-og.refined-deco-app .sat-leaderboard-action.is-sent button,
body.theme-og.refined-deco-app .rhythm-leaderboard-action.is-sent .rhythm-send {
    color: var(--og-green) !important;
    border-color: #add6bf !important;
    background: var(--og-green-soft) !important;
}

/* OG sidebar label size v1038 */
body.theme-og.refined-deco-app .left-sidenav-menu .menu-label {font-size:15px!important}
