/* IELTS soft rose, supplemented 2026-11-05. Explicit opt-in; colors only.
 * Includes IELTS account, assessment and membership surfaces; excludes native full-mock and AI study pages.
 * Platform image defaults below MUST be overridden by tenant-aware template variables. */
body.subject-ielts.ielts-red-theme {
  --subject-primary: #ca485b;
  --subject-primary-rgb: 202,72,91;
  --subject-primary-hover: #bb3f52;
  --subject-primary-light: #e89ba9;
  --subject-primary-soft: #fceff2;
  --subject-primary-panel: #fff9fa;
  --subject-border: rgba(202,72,91,.17);
  --subject-border-strong: rgba(202,72,91,.29);
  --subject-text-on-soft: #b83f55;
  --subject-shadow: rgba(31,37,48,.07);
  --subject-hero-bg: #f7f8fa;
  --subject-hero-from: #f8f2f2;
  --subject-hero-mid: #faf8f8;
  --subject-hero-end: #f7f8fa;
  --subject-hero-glow: rgba(190,53,69,.035);
  --subject-page-bg-start: #fcf5f6;
  --subject-page-bg-mid: #faf8f9;
  --subject-page-bg-end: #f7f8fa;
  --subject-practice-canvas: #f8f8fa;
  --subject-common-canvas: #f8f8fa;
  --subject-practice-hero: linear-gradient(180deg,#fcf1f4 0%,#fcf7f8 52%,rgba(248,248,250,0) 100%);
  --subject-common-hero: var(--subject-practice-hero);
  --subject-mascot-shadow-rgb: 165,105,132;
  --subject-exercise-bg: #fcf9f8;
  --subject-exercise-bg-rgb: 252,249,248;
  --subject-exercise-from: #f7edef;
  --subject-exercise-mid: #fcf8f8;
  --color-primary: var(--subject-primary);
  --color-primary-dark: var(--subject-primary-hover);
  --color-primary-light: var(--subject-primary-light);
  --color-bg-sidebar: var(--subject-primary-soft);
  --theme-primary: var(--subject-primary);
  --theme-primary-hover: var(--subject-primary-hover);
  --theme-rgb: var(--subject-primary-rgb);
  --theme_primary: var(--subject-primary);
  --ielts-brand-green: var(--subject-primary);
  --ielts-brand-green-dark: var(--subject-primary-hover);
  --ielts-light-green: var(--subject-primary-soft);
  --ielts-body-bg: #f8f7f8;
  --shadow-hover: 0 4px 12px var(--subject-shadow);
  --active-subject-mark-image: url("/static/img/ielts/gologo.svg");
  --exam-mark-url: url("/static/img/ielts/gologo.svg");
  --active-mascot-image: url("/static/img/ielts/mbct.svg");
  --toefl-body-bg: #f8f7f8;
  --subject-utility-canvas: #f8f7f8;
}

body.subject-ielts.ielts-red-theme {
  accent-color: var(--subject-primary);
}

body.subject-ielts.ielts-red-theme :is(.hw-dash-query,.qb-go-btn:not(.qb-go-btn-unlock),.terms-modal-confirm) {
  background: var(--subject-primary);
  color: #fff;
  border-color: var(--subject-primary);
}

body.subject-ielts.ielts-red-theme :is(.hw-dash-query,.qb-go-btn:not(.qb-go-btn-unlock),.terms-modal-confirm):hover {
  background: var(--subject-primary-hover);
  border-color: var(--subject-primary-hover);
}

body.subject-ielts.ielts-red-theme :is(.hw-cal-day:not(.selected):hover,.pcal-record-item:hover,.qb-table tbody tr:hover) {
  background: #fcf4f5;
}

body.subject-ielts.ielts-red-theme .ielts-reading-modern .top-header {
  background: #f8f0f1;
}

body.subject-ielts.ielts-red-theme .ielts-reading-modern .left-panel {
  background: #fbf8f5;
}

body.subject-ielts.ielts-red-theme .ielts-reading-modern .option-item:not(.correct-option):not(.wrong-selected):not(.is-correction-correct):has(input:checked) {
  border-color: var(--subject-primary);
  background: #f9edef;
}

body.subject-ielts.ielts-red-theme .ielts-reading-modern .option-item:not(.correct-option):not(.wrong-selected):not(.is-correction-correct):hover {
  border-color: #d4a0a9;
  background: #fcf6f6;
}

body.subject-ielts.ielts-red-theme .ielts-reading-modern .gap-input-wrapper.has-value .gap-input {
  border-color: var(--subject-primary);
  background: #f9edef;
}

body.subject-ielts.ielts-red-theme .ielts-reading-modern :is(.gap-input:focus,.gap-input-wrapper:focus-within) {
  border-color: var(--subject-primary);
}

body.subject-ielts.ielts-red-theme .ielts-reading-modern .q-nav-btn.active {
  background: #f9edef;
  color: #962c3d;
  border-color: #e9c0c7;
}

body.subject-ielts.ielts-red-theme .ielts-reading-modern .q-nav-btn:hover {
  background: #f4dfe3;
  color: #962c3d;
}

body.subject-ielts.ielts-red-theme .ielts-reading-modern :is(.grading-submit-btn,.exam-exit-btn):hover {
  background: #f9edef;
  color: #852a3b;
}

body.subject-ielts.ielts-red-theme .ielts-reading-modern .option-item input[type=radio]:checked {
  background-color: var(--subject-primary);
  border-color: var(--subject-primary);
}

body.subject-ielts.ielts-red-theme .practice-vocab-toggle[aria-checked=true] {
  background: #f9edef;
  color: var(--subject-primary);
  border-color: var(--subject-primary);
}

body.subject-ielts.ielts-red-theme .drag-option.preview-selected {
  background: #f9edef;
}

body.subject-ielts.ielts-red-theme .exam-hero-stats {
  background: rgba(255,255,255,.93);
}

body.subject-ielts.ielts-red-theme :is(.hw-dash-query,.qb-go-btn:not(.qb-go-btn-unlock)) {
  background: var(--subject-primary);
  border-color: var(--subject-primary);
  color: #fff;
}

body.subject-ielts.ielts-red-theme :is(.hw-dash-query,.qb-go-btn:not(.qb-go-btn-unlock)):hover {
  background: var(--subject-primary-hover);
  border-color: var(--subject-primary-hover);
}

body.subject-ielts.ielts-red-theme :is(.hw-cal-day:not(.selected):hover,.pcal-record-item:hover) {
  background: #f7f1f2;
  color: #9e2838;
}

body.subject-ielts.ielts-red-theme .qb-sidebar-item:not(.active):hover {
  color: #9e2838;
  background: #faf4f4;
}

body.subject-ielts.ielts-red-theme .qb-material-filter {
  background: #f4f5f7;
  border-color: #e7e9ed;
}

body.subject-ielts.ielts-red-theme .qb-material-filter-btn[data-material-filter] {
  color: #69717e;
  background: transparent;
  border-color: transparent;
}

body.subject-ielts.ielts-red-theme .qb-material-filter-btn[data-material-filter]:hover {
  color: #9e2838;
  background: #fcf0f1;
  border-color: transparent;
}

body.subject-ielts.ielts-red-theme .qb-material-filter-btn[data-material-filter].is-active {
  background: #fff;
}

body.subject-ielts.ielts-red-theme .qb-material-filter-btn[data-material-filter] .qb-material-filter-radio {
  border-color: #b6bdc7;
  background: #fff;
}

body.subject-ielts.ielts-red-theme .qb-material-filter-btn[data-material-filter]:hover .qb-material-filter-radio,
body.subject-ielts.ielts-red-theme .qb-material-filter-btn[data-material-filter].is-active .qb-material-filter-radio {
  border-color: var(--subject-primary);
}

body.subject-ielts.ielts-red-theme .qb-material-filter-btn[data-material-filter] .qb-material-filter-radio::after {
  background: transparent;
}

body.subject-ielts.ielts-red-theme .qb-material-filter-btn[data-material-filter].is-active .qb-material-filter-radio::after {
  background: var(--subject-primary);
}

body.subject-ielts.ielts-red-theme :is(.qb-search-input,.qb-select,.hw-dash-date,.hw-dash-reset) {
  background: #fff;
  color: #596271;
}

body.subject-ielts.ielts-red-theme :is(.qb-search-input,.qb-select,.hw-dash-date,.hw-dash-reset):hover {
  border-color: #bcc3ce;
  background: #fff;
}

body.subject-ielts.ielts-red-theme :is(.qb-search-input,.qb-select,.hw-dash-date,.qb-page-input):focus {
  border-color: var(--subject-primary);
}

body.subject-ielts.ielts-red-theme .qb-toolbar {
  background: #fff;
  border-color: #eaecf0;
}

body.subject-ielts.ielts-red-theme .qb-toolbar-title {
  color: #444b57;
}

body.subject-ielts.ielts-red-theme .qb-row-locked {
  background: #fafbfc;
}

body.subject-ielts.ielts-red-theme .qb-row-locked :is(.qb-topic-text,.qb-num-cell) {
  color: #697383;
}

body.subject-ielts.ielts-red-theme .qb-row-locked .qb-go-btn-unlock {
  background: #fff;
  color: #826c65;
}

body.subject-ielts.ielts-red-theme .qb-row-locked .qb-go-btn-unlock:hover {
  background: #faf5ef;
  color: #755444;
  border-color: #cdbbb0;
}

body.subject-ielts.ielts-red-theme .qb-table thead th {
  background: #f6f7f9;
  color: #727b88;
  border-color: #e8ebef;
}

body.subject-ielts.ielts-red-theme .qb-table tbody td {
  border-color: #eef0f3;
}

body.subject-ielts.ielts-red-theme .qb-table tbody tr:hover {
  background: #fcf6f7;
}

body.subject-ielts.ielts-red-theme .qb-type-IR1 {
  background: #f6efdb;
  color: #8a7437;
}

body.subject-ielts.ielts-red-theme .qb-tag-color-ls {
  color: #3b8966;
}

body.subject-ielts.ielts-red-theme .qb-tag-l1.qb-tag-color-ls {
  background: #edf5f0;
  border-color: #dbeadf;
}

body.subject-ielts.ielts-red-theme .qb-tag-color-ss {
  color: #a17743;
}

body.subject-ielts.ielts-red-theme .qb-tag-l1.qb-tag-color-ss {
  background: #f7f1e8;
  border-color: #eadfcf;
}

body.subject-ielts.ielts-red-theme .qb-tag-color-ps {
  color: #507db2;
}

body.subject-ielts.ielts-red-theme .qb-tag-l1.qb-tag-color-ps {
  background: #edf2f8;
  border-color: #dce5f0;
}

body.subject-ielts.ielts-red-theme .qb-tag-color-ah {
  color: #86639f;
}

body.subject-ielts.ielts-red-theme .qb-tag-l1.qb-tag-color-ah {
  background: #f3eef7;
  border-color: #e8dfee;
}

body.subject-ielts.ielts-red-theme .qb-cefr-C1 {
  background: #f8e8e8;
  color: #a65960;
}

body.subject-ielts.ielts-red-theme .qb-cefr-C2 {
  background: #efe8f7;
  color: #8862a3;
}

body.subject-ielts.ielts-red-theme .qb-cefr-B2 {
  background: #f7eddf;
  color: #9e744a;
}

body.subject-ielts.ielts-red-theme .qb-pagination {
  border-color: #e8ebef;
  background: #fff;
}

body.subject-ielts.ielts-red-theme .qb-page-btn:not(.active):not(:disabled):hover {
  background: #fcf0f1;
  color: #a32c3b;
  border-color: #e8c4ca;
}

body.subject-ielts.ielts-red-theme .qb-page-btn:disabled {
  background: #f8f9fb;
  color: #bfc5ce;
  border-color: #eceef2;
}

body.subject-ielts.ielts-red-theme {
  background: #f8f8fa;
}

body.subject-ielts.ielts-red-theme .home-top-nav {
  background: rgba(255,253,254,.93);
}

body.subject-ielts.ielts-red-theme :is(.exam-hero-stats,.hw-cal-widget,.hw-dashboard,.qbrowser) {
  background: #fff;
  border-color: #ece8ed;
}

body.subject-ielts.ielts-red-theme .hw-dash-query.hw-dash-query {
  background: #ca485b;
  color: #fff;
}

body.subject-ielts.ielts-red-theme .hw-dash-query.hw-dash-query:hover {
  background: #bb3f52;
  color: #fff;
  border-color: #bb3f52;
}

body.subject-ielts.ielts-red-theme .hw-cal-day.selected {
  background: #ca485b;
  color: #fff;
}

body.subject-ielts.ielts-red-theme .hw-cal-day.today:not(.selected) {
  color: #bd465d;
  background: #fff3f6;
}

body.subject-ielts.ielts-red-theme .exam-hero-stat-value strong {
  color: #d15a70;
}

body.subject-ielts.ielts-red-theme .qb-sidebar-item.active {
  color: #c34d64;
  border-color: #d8798d;
}

body.subject-ielts.ielts-red-theme .qb-subtypes .qb-sidebar-item.active {
  background: #fceff3;
}

body.subject-ielts.ielts-red-theme .qb-material-filter-btn[data-material-filter].is-active {
  color: #b84961;
  border-color: #efc9d5;
}

body.subject-ielts.ielts-red-theme .qb-page-btn.active {
  background: #ca485b;
  color: #fff;
  border-color: #ca485b;
}

body.subject-ielts.ielts-red-theme .fixed-chat-icon {
  background: #d8677b;
  border-color: #fff;
  box-shadow: 0 14px 28px rgba(var(--subject-primary-rgb), .28), inset 0 1px 0 rgba(255,255,255,.36);
}

body.subject-ielts.ielts-red-theme .fixed-chat-icon:hover {
  background: #cb546b;
  box-shadow: 0 16px 32px rgba(var(--subject-primary-rgb), .34), inset 0 1px 0 rgba(255,255,255,.42);
}

body.subject-ielts.ielts-red-theme :is(button,a,input,select):focus-visible {
  outline-color: #e6a4b5;
}

body.subject-ielts.ielts-red-theme .qb-toolbar-title::before {
  background-image: url("/static/img/ielts/gologo.svg");
}

body.subject-ielts.ielts-red-theme.combo-start-page :is(.combo-title-pill,.combo-tip,.combo-tips .combo-topic) {
  background: #fff4f7;
  border-color: #efd6df;
  color: #b64b63;
}

body.subject-ielts.ielts-red-theme.combo-start-page .combo-card.checked {
  background: linear-gradient(180deg,#fff2f6,#fff);
  border-color: #de91a6;
}

body.subject-ielts.ielts-red-theme.combo-start-page .combo-order-num {
  background: #ca485b;
  color: #fff;
}

body.subject-ielts.ielts-red-theme.combo-start-page .combo-action-controls .combo-back {
  background: #fff;
  color: #c04d65;
  border-color: #d995a7;
}

body.subject-ielts.ielts-red-theme.combo-start-page .combo-settings-empty {
  background: #fcfafc;
  border-color: #e9e0e7;
}

body.subject-ielts.ielts-red-theme.vocab-learn-page .vocab-step-index {
  background: #d56780;
  color: #fff;
}

body.subject-ielts.ielts-red-theme.vocab-learn-page :is(.vocab-start-progress strong,.vocab-start-count strong,.vocab-shortcuts-title) {
  color: #cb5871;
}

body.subject-ielts.ielts-red-theme.vocab-learn-page :is(.vocab-step-card,.vocab-start-shortcuts) {
  background: #fff7fa;
  border-color: #efdee6;
}

body.subject-ielts.ielts-red-theme.vocab-learn-page .vocab-start-btn-secondary {
  background: #fff;
  color: #c04d65;
  border-color: #d995a7;
}

body.subject-ielts.ielts-red-theme.vocab-learn-page .llk-exit-btn {
  color: #bf4d65;
  border-color: #dc98ab;
}

body.subject-ielts.ielts-red-theme.vocab-learn-page .llk-exit-btn:hover {
  background: #fcebf1;
  color: #af3e56;
}

body.subject-ielts.ielts-red-theme.vocab-learn-page .llk-quiz-prompt {
  background: #fff6f9;
}

body.subject-ielts.ielts-red-theme.vocab-learn-page .llk-quiz-opt:hover:not(.disabled) {
  border-color: #e1a3b5;
  background: #fff4f8;
}

body.subject-ielts.ielts-red-theme.vocab-learn-page .llk-quiz-timer-fill {
  background: #d96b84;
}

body.subject-ielts.ielts-red-theme .ielts-bg-green-block {
  background: linear-gradient(110deg,#d9788c,#d26b82 48%,#c86079);
}

body.subject-ielts.ielts-red-theme :is(.combo-start-btn,.vocab-start-btn-primary,.llk-quiz-play-btn) {
  background: #ca485b;
  color: #fff;
  border-color: #ca485b;
}

body.subject-ielts.ielts-red-theme :is(.combo-start-btn,.vocab-start-btn-primary,.llk-quiz-play-btn):hover {
  background: #bb3f52;
  color: #fff;
  border-color: #bb3f52;
}

body.subject-ielts.ielts-red-theme.combo-start-page .combo-card.checked .combo-card-header {
  background: linear-gradient(180deg,#fff1f6 0%,#fff8fb 48%,#fff 100%);
}

body.subject-ielts.ielts-red-theme.combo-start-page .combo-action-stat strong {
  color: #cd5d76;
}

body.subject-ielts.ielts-red-theme.combo-start-page :is(.combo-tip,.combo-title-pill) svg {
  stroke: currentColor;
}

body.subject-ielts.ielts-red-theme.vocab-learn-page .llk-quiz-play-btn::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='white'/%3E%3Cpath d='M8.8 7.2v9.6l7.4-4.8z' fill='%23ca485b'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.subject-ielts.ielts-red-theme .ielts-reading-modern .grading-submit-btn {
  background: #ca485b;
  color: #fff;
  border-color: #f5d2dc;
}

body.subject-ielts.ielts-red-theme .ielts-reading-modern .grading-submit-btn:hover {
  background: #bb3f52;
  color: #fff;
  border-color: #f5d2dc;
}

body.subject-ielts.ielts-red-theme.writing-exam-page .toefl-bg-green-block {
  background: linear-gradient(110deg,#d9788c,#d26b82 48%,#c86079);
}

body.subject-ielts.ielts-red-theme.writing-exam-page .btn-next {
  background: #ca485b;
  color: #fff;
  border-color: #ca485b;
}

body.subject-ielts.ielts-red-theme.writing-exam-page .btn-next:hover {
  background: #bb3f52;
  color: #fff;
}

body.subject-ielts.ielts-red-theme.writing-exam-page .btn-quit {
  background: #fff;
  color: #bc4b62;
  border-color: #df9aab;
}

body.subject-ielts.ielts-red-theme.writing-exam-page :is(textarea:focus,.writing-answer:focus) {
  border-color: #d46b81;
  outline-color: #e7adbc;
}

body.subject-ielts.ielts-red-theme .ielts-listening-modern .top-header {
  background: #fcf1f4;
}

body.subject-ielts.ielts-red-theme .audio-play-btn {
  background: #ca485b;
  color: #fff;
  border-color: #ca485b;
}

body.subject-ielts.ielts-red-theme .audio-play-btn:hover {
  background: #bb3f52;
  color: #fff;
}

body.subject-ielts.ielts-red-theme .ielts-listening-modern .grading-submit-btn {
  background: #ca485b;
  color: #fff;
  border-color: #f5d2dc;
}

body.subject-ielts.ielts-red-theme .ielts-listening-modern .exam-exit-btn {
  background: #fff;
  color: #bc4b62;
  border-color: #ebbecb;
}

body.subject-ielts.ielts-red-theme .vu-preset-hint {
  background: linear-gradient(135deg,#fff2f6,#faf5fc);
  border-color: #efd5df;
}

body.subject-ielts.ielts-red-theme .vu-mode-card.active .vu-mode-name {
  color: #bf4b64;
}

body.subject-ielts.ielts-red-theme :is(.vocab-exam-start-btn,.vu-start-btn) {
  background: #ca485b;
  color: #fff;
  border-color: #ca485b;
}

body.subject-ielts.ielts-red-theme .access-lock-dialog {
  background: #fffafb;
  border-color: #eed6df;
}

body.subject-ielts.ielts-red-theme .access-lock-icon {
  background: #f9e5ec;
  color: #d5657f;
}

body.subject-ielts.ielts-red-theme .access-lock-kicker {
  color: #bb4e66;
}

body.subject-ielts.ielts-red-theme .access-lock-primary {
  background: #ca485b;
  color: #fff;
  border-color: #ca485b;
}

body.subject-ielts.ielts-red-theme .access-lock-secondary {
  background: #fff;
  color: #bd4d65;
  border-color: #e6afbf;
}

body.subject-ielts.ielts-red-theme .access-lock-benefits li::before {
  color: #cc6079;
}

body.subject-ielts.ielts-red-theme.standalone-real-guides-hidden .kASGEf {
  background: #ca485b;
}

body.subject-ielts.ielts-red-theme.writing-exam-page .btn-back {
  background: #ca485b;
  color: #fff;
  border-color: #ca485b;
}

body.subject-ielts.ielts-red-theme.writing-exam-page .sub-header-questions {
  background: #f9e7ee;
  color: #b64c64;
}

body.subject-ielts.ielts-red-theme .arrow-btn {
  background: #ca485b;
  color: #fff;
  border-color: #ca485b;
}

body.subject-ielts.ielts-red-theme .arrow-btn:hover {
  background: #bb3f52;
  color: #fff;
}

body.subject-ielts.ielts-red-theme .exam-exit-btn {
  background: #fff;
  color: #bc4b62;
  border-color: #ebbecb;
}

body.subject-ielts.ielts-red-theme .type-IELTS {
  background: #fbe9ef;
  color: #b94a63;
}

body.subject-ielts.ielts-red-theme .llk-rate-btn {
  border-color: #ead4dd;
}

body.subject-ielts.ielts-red-theme.exam-select-ielts-page .qb-sidebar-item.active {
  color: #c34d64;
  border-color: #d8798d;
}

body.subject-ielts.ielts-red-theme .exam-hero-subtitle {
  color: #737984;
}

/* Additional shared learning states. Never recolor recording, grading or warning states. */
body.subject-ielts.ielts-red-theme {
  --report-primary: #ca485b;
  --report-primary-hover: #bb3f52;
}
body.subject-ielts.ielts-red-theme .correction-btn-primary {
  background: var(--subject-primary); color: #fff; border-color: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme .correction-btn-primary:hover {
  background: var(--subject-primary-hover); border-color: var(--subject-primary-hover);
}
body.subject-ielts.ielts-red-theme .correction-btn-secondary {
  background: #fff; color: var(--subject-primary); border-color: var(--subject-border-strong);
}
body.subject-ielts.ielts-red-theme .correction-btn-secondary:hover {
  background: var(--subject-primary-soft); color: var(--subject-primary-hover);
}
body.subject-ielts.ielts-red-theme #exitConfirmIcon svg[stroke="#3b82f6"] {
  stroke: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme .exit-btn-confirm.exit-btn-resume {
  background: var(--subject-primary); color: #fff;
}
body.subject-ielts.ielts-red-theme .exit-btn-confirm.exit-btn-resume:hover {
  background: var(--subject-primary-hover);
}

/* Live shared shells beyond the eight reference snapshots. */
body.subject-ielts.ielts-red-theme {
 --theme_primary-rgb: 202,72,91;
 --theme-accent: #de687a;
 --report-primary: #ca485b;
 --report-primary-hover: #bb3f52;
 --report-primary-soft: #fceff2;
 --report-border: #efd6df;
 --report-hero-bg: #fff6f8;
 --sat-primary: #ca485b;
}
body.subject-ielts.ielts-red-theme .speaking-container :is(.btn-primary-full,.btn-success-full),
body.subject-ielts.ielts-red-theme .mem-btn-primary {
 background: var(--subject-primary); color: #fff; border-color: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme .speaking-container :is(.btn-primary-full,.btn-success-full):hover:not(:disabled),
body.subject-ielts.ielts-red-theme .mem-btn-primary:hover:not(:disabled) {
 background: var(--subject-primary-hover);
}
body.subject-ielts.ielts-red-theme .speaking-container .btn-outline {
 color: var(--subject-primary); border-color: var(--subject-border-strong);
}
body.subject-ielts.ielts-red-theme .speaking-container .btn-outline:hover:not(:disabled) {
 background: var(--subject-primary-soft);
}
body.subject-ielts.ielts-red-theme .btn-oral-record:not(.recording):not(.is-recording) {
 background: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme .btn-oral-record:not(.recording):not(.is-recording):hover:not(:disabled) {
 background: var(--subject-primary-hover);
}
body.subject-ielts.ielts-red-theme .ielts-reading-modern .option-item:not(.correct-option):not(.wrong-selected):not(.is-correction-correct):has(input:checked):hover {
 background: #f9edef; border-color: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme .ielts-listening-modern .option-item:not(.correct-option):not(.wrong-selected):not(.is-correction-correct):has(input:checked) {
 background: #f9edef; border-color: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme .correction-translation-bar input:checked + .toggle-slider {
 background: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme .memorization-root {
 --mem-green: var(--subject-primary); --mem-accent: var(--subject-primary-hover); --mem-border: #efd6df;
}
body.subject-ielts.ielts-red-theme .memorization-root :is(button,.mem-button):hover:not(:disabled) {
 background: var(--subject-primary-soft); border-color: var(--subject-border-strong);
}
body.subject-ielts.ielts-red-theme .memorization-root .mem-primary:hover:not(:disabled) {
 background: var(--subject-primary-hover); color: #fff;
}
body.subject-ielts.ielts-red-theme .memorization-root :is(.mem-hero,.mem-notes,.mem-review-words) {
 background: var(--subject-primary-soft); border-color: var(--subject-border);
}
body.subject-ielts.ielts-red-theme .memorization-root .mem-letter:focus {
 background: var(--subject-primary-soft); border-bottom-color: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme .memorization-root :is(button,a,input,select):focus-visible {
 outline-color: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme #ielts-audio-toggle {
 color: var(--subject-primary); border-color: var(--subject-border-strong);
}
body.subject-ielts.ielts-red-theme #ielts-audio-toggle.is-active {
 background: var(--subject-primary-soft); border-color: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme #ielts-audio-panel {
 background: rgba(252,239,242,.94); border-color: var(--subject-border-strong);
}
body.subject-ielts.ielts-red-theme #ielts-audio-panel .sat-audio-play {
 background: var(--subject-primary); box-shadow: 0 3px 9px var(--subject-shadow);
}
body.subject-ielts.ielts-red-theme #ielts-audio-panel .sat-audio-play:hover {
 background: var(--subject-primary-hover);
}
body.subject-ielts.ielts-red-theme #ielts-audio-panel :is(.sat-audio-captions,.sat-audio-language,.sat-audio-rate-toggle) {
 background: #fff9fa; color: var(--subject-primary-hover);
}
body.subject-ielts.ielts-red-theme #ielts-audio-panel :is(.sat-audio-captions,.sat-audio-language,.sat-audio-rate-toggle):is(.is-active,:hover,[aria-expanded=true]) {
 background: var(--subject-primary-soft); color: var(--subject-primary-hover);
}
body.subject-ielts.ielts-red-theme #ielts-audio-panel .sat-explanation-close {
 color: var(--subject-primary-hover);
}
body.subject-ielts.ielts-red-theme #ielts-audio-panel .sat-audio-timeline input::-webkit-slider-runnable-track {
 background: linear-gradient(to right,var(--subject-primary) var(--progress),#e9e4e7 var(--progress));
}
body.subject-ielts.ielts-red-theme #ielts-audio-panel .sat-audio-timeline input::-webkit-slider-thumb,
body.subject-ielts.ielts-red-theme #ielts-audio-panel .sat-audio-timeline input::-moz-range-progress,
body.subject-ielts.ielts-red-theme #ielts-audio-panel .sat-audio-timeline input::-moz-range-thumb {
 background: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme.record-detail-page {
 --report-primary-rgb: 202,72,91; --report-primary-softer: #fff9fa;
 --report-accent: #de687a; --report-accent-rgb: 222,104,122; --report-accent-soft: #fceff2;
}
body.subject-ielts.ielts-red-theme.record-detail-page .toggle-switch input:checked + .toggle-slider {
 background: var(--subject-primary);
}

/* Translation and report controls use the palette; grading feedback keeps semantic colors. */
body.subject-ielts.ielts-red-theme :is(.passage-translation-zh,.review-explain-block,.lfp-header) {
 background: var(--subject-primary-soft); border-color: var(--subject-border-strong);
}
body.subject-ielts.ielts-red-theme .lfp-header .lfp-title { color: #56333c; }
body.subject-ielts.ielts-red-theme :is(.lfp-btn,.btn-share) { border-color: var(--subject-border-strong); }
body.subject-ielts.ielts-red-theme :is(.lfp-btn:hover,.lfp-btn.active,.btn-share:hover) {
 background: var(--subject-primary-soft); color: var(--subject-primary); border-color: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme .btn-share { color: var(--subject-primary); }
body.subject-ielts.ielts-red-theme .lfp-play-btn { background: var(--subject-primary); }
body.subject-ielts.ielts-red-theme .lfp-play-btn:hover { background: var(--subject-primary-hover); }
body.subject-ielts.ielts-red-theme .lfp-progress::-webkit-slider-thumb { background: var(--subject-primary); }
body.subject-ielts.ielts-red-theme .lfp-progress::-moz-range-thumb { background: var(--subject-primary); }
body.subject-ielts.ielts-red-theme :is(.score-circle,.dim-fill,.bar-9 .dim-fill) {
 background: linear-gradient(135deg,var(--subject-primary),#e7737e);
}
body.subject-ielts.ielts-red-theme .score-circle { box-shadow: 0 4px 16px var(--subject-shadow); }
body.subject-ielts.ielts-red-theme .combo-overview-stat-value { color: var(--subject-primary); }

body.subject-ielts.ielts-red-theme :is(.grading-summary,.ier-summary) { background: linear-gradient(135deg,#fff9fa,var(--subject-primary-soft)); }
body.subject-ielts.ielts-red-theme :is(.grading-score-ring,.ier-score-ring) {
 background: linear-gradient(135deg,var(--subject-primary),#e7737e); box-shadow: 0 4px 16px var(--subject-shadow);
}
body.subject-ielts.ielts-red-theme .speaking-container :is(.question-text-panel,.progress-badge) {
 background: var(--subject-primary-soft);
}

body.subject-ielts.ielts-red-theme .ier-explain-toggle { color: var(--subject-primary); }

/* Detail audit: objective controls (including the legacy correction shell). */
body.subject-ielts.ielts-red-theme :is(.audio-progress-wrap input[type=range],.matrix-radio) { accent-color: var(--subject-primary); }
body.subject-ielts.ielts-red-theme .toggle-switch input:checked + .toggle-slider { background: var(--subject-primary); }
body.subject-ielts.ielts-red-theme .q-nav-btn.active { border-color: var(--subject-primary); }
body.subject-ielts.ielts-red-theme :is(.ielts-listening-wrapper,.ielts-listening-modern) .option-item input:checked ~ .custom-control { border-color: var(--subject-primary); }
body.subject-ielts.ielts-red-theme :is(.ielts-listening-wrapper,.ielts-listening-modern) .option-item input[type=checkbox]:checked ~ .custom-control,
body.subject-ielts.ielts-red-theme :is(.ielts-listening-wrapper,.ielts-listening-modern) .option-item input[type=radio]:checked ~ .custom-control::after { background-color: var(--subject-primary); }
body.subject-ielts.ielts-red-theme :is(.ielts-listening-wrapper,.ielts-listening-modern) .gap-input:focus { border-color: var(--subject-primary); }
body.subject-ielts.ielts-red-theme :is(.ielts-listening-wrapper,.ielts-listening-modern) .gap-input-wrapper.has-value .gap-input,
body.subject-ielts.ielts-red-theme :is(.ielts-listening-wrapper,.ielts-listening-modern,.ielts-reading-modern) .drop-zone:is(.filled,.drag-over) {
 border-color: var(--subject-primary); background: var(--subject-primary-soft);
}
body.subject-ielts.ielts-red-theme :is(.ielts-listening-wrapper,.ielts-listening-modern,.ielts-reading-modern) .draggable-card:hover {
 border-color: var(--subject-primary); box-shadow: 0 2px 5px var(--subject-shadow);
}
body.subject-ielts.ielts-red-theme .correction-band-display { color: var(--subject-primary); }
body.subject-ielts.ielts-red-theme .subtitle-float-body .subtitle-line.active { background: var(--subject-primary-soft); }
body.subject-ielts.ielts-red-theme .subtitle-line.active .subtitle-en { color: var(--subject-primary-hover); }

/* Annotation actions follow the theme; teaching highlight colors stay unchanged. */
body.subject-ielts.ielts-red-theme :is(.objective-annotation-tools button,.oa-item button,.oa-dialog-actions button) {
 color: var(--subject-primary-hover); border-color: var(--subject-border-strong);
}
body.subject-ielts.ielts-red-theme .objective-annotation-tools button:is(:hover,:focus-visible) {
 background: var(--subject-primary-soft); border-color: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme .objective-annotation-panel { border-color: var(--subject-border-strong); box-shadow: 0 12px 36px var(--subject-shadow); }
body.subject-ielts.ielts-red-theme .oa-item { border-color: var(--subject-border); }
body.subject-ielts.ielts-red-theme .oa-item q { color: var(--subject-primary-hover); }
body.subject-ielts.ielts-red-theme .oa-dialog-inner textarea:focus { outline-color: var(--subject-primary); }
body.subject-ielts.ielts-red-theme .oa-dialog-actions .oa-confirm { background: var(--subject-primary); color: #fff; border-color: var(--subject-primary); }
body.subject-ielts.ielts-red-theme .oa-dialog-actions .oa-confirm:hover { background: var(--subject-primary-hover); }

/* Sentence prompts and audio-cloze introduction are informational, not grading. */
body.subject-ielts.ielts-red-theme .sp-skel-prompt { background: var(--subject-primary-panel); box-shadow: 0 10px 24px var(--subject-shadow); }
body.subject-ielts.ielts-red-theme .sp-skel-label { color: var(--subject-primary-hover); }
body.subject-ielts.ielts-red-theme :is(.sp-skel-help,.sp-skel-translation) { color: #64748b; }
body.subject-ielts.ielts-red-theme.audio-cloze-page :is(.ac-nav-btn,.vocab-start-logo-mark,.vocab-start-progress strong,.vocab-shortcuts-title,.vocab-start-count strong) { color: var(--subject-primary); }
body.subject-ielts.ielts-red-theme.audio-cloze-page .ac-nav-btn:hover { background: var(--subject-primary-soft); color: var(--subject-primary-hover); }
body.subject-ielts.ielts-red-theme.audio-cloze-page .vocab-start-shortcuts { background: var(--subject-primary-panel); border-color: var(--subject-border); }
body.subject-ielts.ielts-red-theme.audio-cloze-page .vocab-step-index { background: var(--subject-primary); }

/* Primary reading controls retain white text against a dark hover surface. */
body.subject-ielts.ielts-red-theme .memorization-root :is(.study-audio-replay,.dt-audio-replay,.mem-primary):hover:not(:disabled) {
 background: var(--subject-primary-hover); color: #fff; border-color: var(--subject-primary-hover);
}

/* Module report adapters: unique score rings, share IDs and writing variants. */
body.subject-ielts.ielts-red-theme .report-variant-oral-repeat .oral-score-ring {
 background: linear-gradient(135deg,var(--subject-primary),#e7737e); box-shadow: 0 14px 28px var(--subject-shadow);
}
body.subject-ielts.ielts-red-theme .report-variant-oral-repeat #shareBtn,
body.subject-ielts.ielts-red-theme :is(.assignment-return-float,.tt-report-btn.primary) {
 background: var(--subject-primary); border-color: var(--subject-primary); color: #fff;
}
body.subject-ielts.ielts-red-theme .report-variant-oral-repeat #shareBtn:hover,
body.subject-ielts.ielts-red-theme :is(.assignment-return-float,.tt-report-btn.primary):hover { background: var(--subject-primary-hover); color: #fff; }
body.subject-ielts.ielts-red-theme :is(.report-variant-audio-cloze,.report-variant-dictation) .dictation-sentence-index,
body.subject-ielts.ielts-red-theme .dictation-stat-total .dictation-stat-value { color: var(--subject-primary); }
body.subject-ielts.ielts-red-theme :is(.report-variant-cloze,.report-variant-typing) .wp-section h3,
body.subject-ielts.ielts-red-theme .report-variant-cloze .wp-round-card-header h4 { color: var(--subject-primary-hover); border-color: var(--subject-primary); }
body.subject-ielts.ielts-red-theme .report-variant-typing .wp-progress-fill { background: var(--subject-primary); }
body.subject-ielts.ielts-red-theme :is(.dictation-stat-total,.ai-overall-comment,.vocab-detail-ai-tag) { background: linear-gradient(135deg,var(--subject-primary-panel),var(--subject-primary-soft)); border-color: var(--subject-border); }
body.subject-ielts.ielts-red-theme .ai-study-report-title .ai-icon { background: linear-gradient(135deg,var(--subject-primary),#e7737e); box-shadow: 0 2px 6px var(--subject-shadow); }

body.subject-ielts.ielts-red-theme.audio-cloze-page :is(.ac-audio-replay:hover,.ac-audio-replay.is-playing,.ac-audio-replay.is-pressed) { background: var(--subject-primary-hover); color: #fff; }
body.subject-ielts.ielts-red-theme.audio-cloze-page .vocab-start-btn-secondary { border-color: var(--subject-primary); color: var(--subject-primary); }
body.subject-ielts.ielts-red-theme.audio-cloze-page .vocab-start-btn-secondary:hover { background: var(--subject-primary-soft); }
body.subject-ielts.ielts-red-theme :is(.ielts-listening-wrapper,.ielts-reading-wrapper) .gap-input:focus { border-color: var(--subject-primary); background-color: var(--subject-primary-soft); }

body.subject-ielts.ielts-red-theme.record-list-page .combo-group-header td { background: var(--subject-primary-panel); border-left-color: var(--subject-primary); }


/* Shared utilities and reports resolve the selected exam before opting in. */
body.subject-ielts.ielts-red-theme {
  --subject-utility-hero: var(--subject-common-hero);
  --plan-button: var(--subject-primary);
  --plan-button-soft: var(--subject-primary-soft);
  --plan-accent: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme.account-center-page :is(.account-phone-panel,.account-assessment-result,.account-security-panel) {
  background: var(--subject-primary-soft);
}
body.subject-ielts.ielts-red-theme.account-center-page .account-summary {
  background: linear-gradient(135deg,var(--subject-primary-hover),var(--subject-primary));
}
body.subject-ielts.ielts-red-theme.account-center-page :is(.account-phone-password-link,.account-avatar-upload,.account-referral-code-card button,.account-avatar-dialog-actions .secondary) {
  color: var(--subject-primary);
  border-color: var(--subject-border-strong);
}
body.subject-ielts.ielts-red-theme.account-center-page :is(.account-status-action,.account-assessment-action:not(.is-disabled),.account-avatar-dialog-actions .primary,.account-phone-captcha-piece,#accountPhoneCaptchaThumb,.account-phone-submit) {
  background: var(--subject-primary);
  border-color: var(--subject-primary);
  color: #fff;
}
body.subject-ielts.ielts-red-theme.account-center-page :is(.account-status-action,.account-assessment-action:not(.is-disabled),.account-phone-submit,.account-avatar-dialog-actions .primary):hover {
  background: var(--subject-primary-hover);
  border-color: var(--subject-primary-hover);
}
body.subject-ielts.ielts-red-theme.account-center-page :is(.account-phone-password-link,.account-avatar-dialog-actions .secondary):hover {
  color: var(--subject-primary-hover);
  background: var(--subject-primary-soft);
}

/* Selection is brand-colored; scores, payment status and warnings retain meaning. */
body.subject-ielts.ielts-red-theme.assessment-designed-page :is(.assessment-primary-button,.assessment-mini-button.primary,.assessment-mini-button.blue,.assessment-mini-button.purple,.ability-start-button) {
  background: var(--subject-primary);
  border-color: var(--subject-primary);
  color: #fff;
}
body.subject-ielts.ielts-red-theme.assessment-designed-page :is(.assessment-primary-button,.assessment-mini-button.primary,.assessment-mini-button.blue,.assessment-mini-button.purple,.ability-start-button):hover {
  background: var(--subject-primary-hover);
  border-color: var(--subject-primary-hover);
}
body.subject-ielts.ielts-red-theme.assessment-subpage :is(.vpa-choice.is-selected,.learning-choice-option:has(input:checked)) {
  border-color: var(--subject-primary);
  background: var(--subject-primary-soft);
}
body.subject-ielts.ielts-red-theme.assessment-subpage .vpa-choice.is-selected .vpa-choice-index {
  background: var(--subject-primary);
  color: #fff;
}
body.subject-ielts.ielts-red-theme.assessment-subpage :is(.learning-choice-option:has(input:checked),.vocab-report-start-value,.input-report-score strong,.output-estimate-card strong) {
  color: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme.assessment-subpage .learning-choice-option input {
  accent-color: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme.assessment-subpage .vocab-report-button.primary {
  background: var(--subject-primary);
  border-color: var(--subject-primary);
  color: #fff;
}
body.subject-ielts.ielts-red-theme.assessment-subpage .vocab-report-button.primary:hover {
  background: var(--subject-primary-hover);
  border-color: var(--subject-primary-hover);
}
body.subject-ielts.ielts-red-theme.assessment-subpage :is(.vocab-report-start,.vocab-report-range-label.inferred) {
  border-color: var(--subject-border);
  background: var(--subject-primary-soft);
  color: var(--subject-primary-hover);
}

body.subject-ielts.ielts-red-theme.account-membership-page :is(.membership-subject-tab:hover,.membership-subject-tab.is-active,.membership-plan:hover,.membership-plan.is-active,.membership-plan:has(input:checked),.membership-pay-option:hover,.membership-coupon-panel) {
  background: var(--subject-primary-soft);
  border-color: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme.account-membership-page .membership-submit-btn:hover {
  background: var(--subject-primary-hover);
}
body.subject-ielts.ielts-red-theme.account-membership-page .membership-agreement input:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%23ca485b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body.subject-ielts.ielts-red-theme.account-checkout-page :is(.checkout-discount-panel,.checkout-channel-note,.checkout-pay-total) {
  background: var(--subject-primary-soft);
  border-color: var(--subject-border);
}
body.subject-ielts.ielts-red-theme.account-checkout-page :is(.checkout-discount-panel h3,.checkout-order-row.is-total strong,.checkout-step.is-active) {
  color: var(--subject-primary);
  border-color: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme.account-checkout-page .checkout-actions button {
  background: var(--subject-primary);
  border-color: var(--subject-primary);
  color: #fff;
}
body.subject-ielts.ielts-red-theme.account-checkout-page .checkout-actions button:hover {
  background: var(--subject-primary-hover);
  border-color: var(--subject-primary-hover);
}
body.subject-ielts.ielts-red-theme.account-checkout-page .checkout-actions a:hover {
  background: var(--subject-primary-soft);
  border-color: var(--subject-border-strong);
  color: var(--subject-primary-hover);
}
body.subject-ielts.ielts-red-theme.account-checkout-page .checkout-step strong {
  background: var(--subject-primary-soft);
  color: var(--subject-primary);
}

body.subject-ielts.ielts-red-theme.record-detail-page :is(.student-name-tag,.qid-tag,.combo-report-id-tag,.combo-report-student-name) {
  background: var(--subject-primary-soft);
  color: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme.combo-report-page :is(.combo-report-tab.is-active,.combo-report-share-btn,.combo-share-copy,.btn-copy) {
  background: var(--subject-primary);
  border-color: var(--subject-primary);
  color: #fff;
}
body.subject-ielts.ielts-red-theme.combo-report-page .combo-report-back {
  color: var(--subject-primary);
  border-color: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme.combo-report-page :is(.combo-report-share-btn,.combo-report-back,.combo-share-copy,.btn-copy):hover {
  background: var(--subject-primary-hover);
  border-color: var(--subject-primary-hover);
  color: #fff;
}
body.subject-ielts.ielts-red-theme.combo-report-page .combo-report-tab:not(.is-active):hover {
  background: var(--subject-primary-soft);
  color: var(--subject-primary-hover);
}
body.subject-ielts.ielts-red-theme.combo-report-page .combo-report-tab:focus-visible {
  outline-color: var(--subject-border-strong);
}
body.subject-ielts.ielts-red-theme.combo-report-page .combo-overview-score .score-circle {
  background: linear-gradient(135deg,var(--subject-primary-hover),var(--subject-primary));
  box-shadow: 0 4px 16px var(--subject-border);
}
body.subject-ielts.ielts-red-theme.account-center-page :is(.account-profile-card .account-avatar-label,.account-course-info .ui-badge--free,.account-phone-btn) {
  background: var(--subject-primary-soft);
  color: var(--subject-primary);
  border-color: var(--subject-border-strong);
}
body.subject-ielts.ielts-red-theme.account-center-page :is(.account-profile-card .account-avatar-upload,.account-security-panel .account-security .secondary,.account-ai-study-action,.account-upgrade-link) {
  background: var(--subject-primary);
  color: #fff;
  border-color: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme.account-center-page :is(.account-profile-card .account-avatar-upload,.account-security-panel .account-security .secondary,.account-ai-study-action,.account-upgrade-link):hover {
  background: var(--subject-primary-hover);
}
body.subject-ielts.ielts-red-theme.assessment-designed-page :is(.assessment-primary-button,.assessment-mini-button.primary,.assessment-mini-button.blue,.assessment-mini-button.purple,.ability-start-button) {
  border-color: var(--subject-primary) !important;
  background: var(--subject-primary) !important;
  box-shadow: 0 8px 18px var(--subject-border) !important;
}
body.subject-ielts.ielts-red-theme.assessment-designed-page :is(.assessment-primary-button,.assessment-mini-button.primary,.assessment-mini-button.blue,.assessment-mini-button.purple,.ability-start-button):hover {
  border-color: var(--subject-primary-hover) !important;
  background: var(--subject-primary-hover) !important;
}
body.subject-ielts.ielts-red-theme.assessment-designed-page .ability-exam-option:hover,
body.subject-ielts.ielts-red-theme.assessment-designed-page .ability-exam-option:has(input:checked):hover,
body.subject-ielts.ielts-red-theme.assessment-designed-page .assessment-path .ability-skill-option.is-ready:hover,
body.subject-ielts.ielts-red-theme.assessment-designed-page .assessment-path .ability-skill-option.is-ready:has(input:checked):hover {
  border-color: var(--subject-primary) !important;
  background: var(--subject-primary-soft) !important;
  color: var(--subject-primary-hover) !important;
}
body.subject-ielts.ielts-red-theme.assessment-designed-page .assessment-path .ability-skill-option input {
  accent-color: var(--subject-primary) !important;
}
body.subject-ielts.ielts-red-theme.assessment-designed-page .assessment-path .ability-skill-option.is-ready:has(input:checked)::before {
  color: var(--subject-primary) !important;
  border-color: var(--subject-primary) !important;
}
body.subject-ielts.ielts-red-theme.assessment-subpage .output-radar-chart polygon {
  stroke: var(--subject-primary);
  fill: rgba(var(--subject-primary-rgb),.16);
}
body.subject-ielts.ielts-red-theme.assessment-subpage .vocab-report-panel :is(input,select,textarea):focus {
  border-color: var(--subject-primary);
}
body.subject-ielts.ielts-red-theme.assessment-subpage .output-recorder-button:focus-visible {
  outline-color: var(--subject-border-strong);
}
body.subject-ielts.ielts-red-theme.assessment-designed-page .ability-exam-option:has(input:checked)::before {
  border-color: var(--subject-primary) !important;
  background: radial-gradient(circle,var(--subject-primary) 0 4px,#fff 4.5px 100%) !important;
}
body.subject-ielts.ielts-red-theme.assessment-designed-page .assessment-path .ability-skill-option.is-ready:has(input:checked),
body.subject-ielts.ielts-red-theme.assessment-designed-page .assessment-path .ability-skill-option.is-ready:has(input:checked) .ability-skill-name {
  color: var(--subject-primary-hover) !important;
}
body.subject-ielts.ielts-red-theme.assessment-designed-page :is(.assessment-next-eyebrow,.assessment-entry-feedback-cefr,.assessment-entry-feedback-main) {
  color: var(--subject-primary) !important;
}
body.subject-ielts.ielts-red-theme.combo-report-page {
  background: var(--subject-utility-canvas) !important;
}
body.subject-ielts.ielts-red-theme.combo-report-page::before {
  background: linear-gradient(180deg,var(--subject-hero-from),var(--subject-hero-mid) 47%,var(--subject-hero-end)) !important;
}

body.subject-ielts.ielts-red-theme.assessment-designed-page .assessment-path .ability-skill-option input:checked {
  border-color: var(--subject-primary) !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 13 13' fill='none'%3E%3Cpath d='M3 6.6 6 9.8 11 2' stroke='%23ca485b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px 13px no-repeat !important;
}
body.subject-ielts.ielts-red-theme.account-planning-page :is(.planning-metric .account-plan-copy strong,.account-result-panels .account-group-kicker,.account-link.is-static) { color: var(--subject-primary); }
body.subject-ielts.ielts-red-theme.account-planning-page .planning-generator-section .plan-step-tag { background: var(--subject-primary-soft); color: var(--subject-primary-hover); }

/* Membership dialog decoration must not inherit the shared green palette. */
body.subject-ielts.ielts-red-theme .access-lock-dialog {
  background: var(--subject-primary-panel);
  border-color: var(--subject-border);
}
body.subject-ielts.ielts-red-theme .access-lock-dialog::before {
  background: linear-gradient(135deg,rgba(var(--subject-primary-rgb),.10),rgba(255,255,255,0) 70%),
    radial-gradient(circle at 86% 12%,rgba(var(--subject-primary-rgb),.18),rgba(var(--subject-primary-rgb),0) 38%);
}
body.subject-ielts.ielts-red-theme .access-lock-icon { background: var(--subject-primary-soft); }
body.subject-ielts.ielts-red-theme .access-lock-kicker { color: var(--subject-primary); }
body.subject-ielts.ielts-red-theme .access-lock-close:hover {
  background: var(--subject-primary-soft);
  color: var(--subject-primary);
}

/* Keep IELTS Submit/Quit controls distinct from the colored exam background. */
body.subject-ielts.ielts-red-theme :is(.ielts-reading-modern,.ielts-listening-modern) :is(.grading-submit-btn,.exam-exit-btn),
body.subject-ielts.ielts-red-theme .quit-floating .exam-exit-btn,
body.subject-ielts.ielts-red-theme.writing-exam-page :is(.btn-next,.btn-quit) {
  border: 2px solid #fff;
  box-sizing: border-box;
}
body.subject-ielts.ielts-red-theme :is(.ielts-reading-modern,.ielts-listening-modern) :is(.grading-submit-btn,.exam-exit-btn):hover,
body.subject-ielts.ielts-red-theme .quit-floating .exam-exit-btn:hover,
body.subject-ielts.ielts-red-theme.writing-exam-page :is(.btn-next,.btn-quit):hover {
  border-color: #fff;
}

/* Combo configuration: controls, feedback and mobile affordances share rose accents. */
body.subject-ielts.ielts-red-theme.combo-start-page :is(.combo-settings-board,.combo-card>.combo-settings-panel) .ms-check-label input[type="checkbox"]:checked {
  border-color: var(--subject-primary);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 13 13' fill='none'%3E%3Cpath d='M3 6.6 5.25 8.8 10 4' stroke='%23ca485b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
}
body.subject-ielts.ielts-red-theme.combo-start-page .ms-row {
  border-bottom-color: var(--subject-border);
}
body.subject-ielts.ielts-red-theme.combo-start-page .mode-settings {
  border-color: var(--subject-border);
  background: var(--subject-primary-panel);
}
body.subject-ielts.ielts-red-theme.combo-start-page .combo-drop-placeholder,
body.subject-ielts.ielts-red-theme.combo-start-page .ms-check-label:has(input[type="checkbox"]):hover,
body.subject-ielts.ielts-red-theme.combo-start-page .combo-settings-board .ms-check-label:has(input[type="checkbox"]:checked) {
  background: var(--subject-primary-soft);
}
body.subject-ielts.ielts-red-theme.combo-start-page .combo-action-controls .combo-back:hover {
  background: var(--subject-primary-soft);
  color: var(--subject-primary-hover);
  border-color: var(--subject-border-strong);
}
body.subject-ielts.ielts-red-theme.combo-start-page :is(.combo-hero-card,.combo-topic) {
  border-color: var(--subject-border-strong);
}
body.subject-ielts.ielts-red-theme.combo-start-page .combo-hero-card {
  box-shadow: 0 22px 38px rgba(var(--subject-primary-rgb),.12);
}
body.subject-ielts.ielts-red-theme.combo-start-page :is(.drag-arrow,.combo-settings-toggle) {
  background: var(--subject-primary-soft);
  border-color: var(--subject-border-strong);
  color: var(--subject-primary-hover);
}
body.subject-ielts.ielts-red-theme.combo-start-page .combo-tips {
  border-color: var(--subject-border);
}
body.subject-ielts.ielts-red-theme.combo-start-page .combo-tip i {
  background-color: var(--subject-primary-soft);
}
body.subject-ielts.ielts-red-theme.combo-start-page .combo-tip .fa-check-double::before {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7.2L5.35 9.55L11 3.7' stroke='%23bb3f52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M1.8 7.35L4.2 9.75' stroke='%23bb3f52' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' opacity='.55'/%3E%3C/svg%3E");
}
body.subject-ielts.ielts-red-theme.combo-start-page .combo-tip .fa-arrows-up-down::before {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23bb3f52'%3E%3Ccircle cx='5' cy='3' r='1.15'/%3E%3Ccircle cx='9' cy='3' r='1.15'/%3E%3Ccircle cx='5' cy='7' r='1.15'/%3E%3Ccircle cx='9' cy='7' r='1.15'/%3E%3Ccircle cx='5' cy='11' r='1.15'/%3E%3Ccircle cx='9' cy='11' r='1.15'/%3E%3C/g%3E%3C/svg%3E");
}
body.subject-ielts.ielts-red-theme.combo-start-page .combo-tip .fa-sliders::before {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.2 4H11.8M2.2 10H11.8' stroke='%23bb3f52' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='5' cy='4' r='1.6' fill='%23fceff2' stroke='%23bb3f52' stroke-width='1.4'/%3E%3Ccircle cx='9' cy='10' r='1.6' fill='%23fceff2' stroke='%23bb3f52' stroke-width='1.4'/%3E%3C/svg%3E");
}
body.subject-ielts.ielts-red-theme.combo-start-page .drag-arrow-up::before {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.2 9.6L8 5.8L11.8 9.6' stroke='%23bb3f52' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body.subject-ielts.ielts-red-theme.combo-start-page .drag-arrow-down::before {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.2 6.4L8 10.2L11.8 6.4' stroke='%23bb3f52' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body.subject-ielts.ielts-red-theme.combo-start-page .combo-settings-toggle::before {
  background: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.2 4H11.8M2.2 10H11.8' stroke='%23bb3f52' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='5' cy='4' r='1.6' fill='%23fceff2' stroke='%23bb3f52' stroke-width='1.4'/%3E%3Ccircle cx='9' cy='10' r='1.6' fill='%23fceff2' stroke='%23bb3f52' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.subject-ielts.ielts-red-theme.combo-start-page .combo-tip-order .fa-arrows-up-down::before {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1.3' y='1.7' width='5' height='5' rx='1.4' fill='%23fceff2' stroke='%23bb3f52' stroke-width='1'/%3E%3Crect x='7.7' y='7.3' width='5' height='5' rx='1.4' fill='%23fceff2' stroke='%23bb3f52' stroke-width='1'/%3E%3Cpath d='M3.2 4.7L3.8 4.1L4.4 4.7M10.8 9.3L10.2 9.9L9.6 9.3' stroke='%23bb3f52' stroke-width='1.15' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

body.subject-ielts.ielts-red-theme.combo-start-page .combo-start-btn:disabled,
body.subject-ielts.ielts-red-theme.combo-start-page .combo-start-btn:disabled:hover {
  background: #cbd5d9;
  border-color: #cbd5d9;
  color: #fff;
}

body.subject-ielts.ielts-red-theme.combo-start-page .combo-settings-title::before {
  background: var(--subject-primary);
  box-shadow: 0 0 0 4px rgba(var(--subject-primary-rgb),.12);
}
