.phmath-dl,
.phmath-dl * {
    box-sizing: border-box;
}

.phmath-dl {
    --navy: #172554;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --cyan: #06b6d4;
    --orange: #f97316;
    --yellow: #fbbf24;
    --purple: #7c3aed;
    --green: #16a34a;
    --red: #dc2626;
    --ink: #172033;
    --muted: #5b6475;
    --line: #dce5f2;
    --paper: #ffffff;
    --soft: #f5f8ff;
    width: 100%;
    max-width: 1180px;
    margin: 24px auto;
    overflow: hidden;
    color: var(--ink);
    font-family: Inter, ui-rounded, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    background: #f8fbff;
    border: 1px solid #d8e4f4;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(30, 64, 175, .13);
}

.phmath-dl button,
.phmath-dl input,
.phmath-dl select {
    font: inherit;
}

.phmath-dl button {
    color: inherit;
}

.phmath-dl h2,
.phmath-dl h3,
.phmath-dl h4,
.phmath-dl p {
    margin-top: 0;
}

.phmath-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.45fr .75fr;
    gap: 28px;
    align-items: center;
    min-height: 270px;
    padding: 42px 48px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 85% 18%, rgba(34, 211, 238, .38), transparent 25%),
        linear-gradient(135deg, #172554 0%, #1d4ed8 58%, #0891b2 100%);
}

.phmath-hero::before,
.phmath-hero::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
}

.phmath-hero::before {
    width: 310px;
    height: 310px;
    top: -155px;
    left: 35%;
}

.phmath-hero::after {
    width: 190px;
    height: 190px;
    right: -70px;
    bottom: -100px;
}

.phmath-hero__copy,
.phmath-hero__shape {
    position: relative;
    z-index: 1;
}

.phmath-kicker {
    display: inline-flex;
    padding: 6px 11px;
    margin-bottom: 12px;
    color: #e0f2fe;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
}

.phmath-kicker--dark {
    color: var(--blue-dark);
    background: #eaf2ff;
    border-color: #d4e4ff;
}

.phmath-hero h2 {
    margin-bottom: 10px;
    color: #fff;
    font-size: clamp(2rem, 4.6vw, 3.55rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.phmath-hero p {
    max-width: 680px;
    margin-bottom: 0;
    color: #e7f3ff;
    font-size: 1.05rem;
}

.phmath-hero__shape {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: min(100%, 290px);
    aspect-ratio: 1.48;
    padding: 24px;
    justify-self: end;
    color: #172554;
    font-weight: 900;
    background:
        linear-gradient(rgba(37,99,235,.17) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,235,.17) 1px, transparent 1px),
        #fef3c7;
    background-size: 24px 24px;
    border: 5px solid #fbbf24;
    border-radius: 14px;
    box-shadow: 16px 16px 0 rgba(14, 165, 233, .3);
    transform: rotate(2deg);
}

.phmath-hero__area,
.phmath-hero__perimeter {
    align-self: flex-start;
    padding: 5px 9px;
    background: rgba(255,255,255,.88);
    border-radius: 8px;
}

.phmath-hero__perimeter {
    align-self: flex-end;
}

.phmath-outcomes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    color: #26334f;
    background: #dce8f8;
}

.phmath-outcomes span {
    padding: 13px 18px;
    text-align: center;
    background: #eef5ff;
}

.phmath-outcomes b {
    color: var(--blue-dark);
}

.phmath-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px 28px 0;
    background: #fff;
}

.phmath-tab {
    min-height: 58px;
    padding: 12px 18px;
    color: #334155 !important;
    font-weight: 850;
    background: #eef3fa !important;
    border: 2px solid #dce6f3 !important;
    border-radius: 14px 14px 0 0 !important;
    opacity: 1 !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.phmath-tab:hover,
.phmath-tab:focus-visible {
    color: #1d4ed8 !important;
    background: #e5efff !important;
    transform: translateY(-2px);
}

.phmath-tab.is-active {
    color: #fff !important;
    background: linear-gradient(135deg, var(--blue), var(--purple)) !important;
    border-color: transparent !important;
}

.phmath-panel {
    padding: 38px 38px 46px;
    background: #fff;
}

.phmath-panel[hidden] {
    display: none !important;
}

.phmath-section-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.phmath-section-head--spaced {
    margin-top: 42px;
}

.phmath-section-head h3 {
    margin-bottom: 3px;
    color: var(--navy);
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    line-height: 1.2;
}

.phmath-section-head p {
    margin-bottom: 0;
    color: var(--muted);
}

.phmath-step {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 13px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .24);
}

.phmath-step--orange {
    background: linear-gradient(135deg, var(--orange), var(--yellow));
}

.phmath-lab-grid {
    display: grid;
    grid-template-columns: minmax(250px, .72fr) minmax(0, 1.4fr);
    gap: 22px;
}

.phmath-card {
    margin: 0;
    padding: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(37, 64, 115, .08);
}

.phmath-card h4 {
    margin-bottom: 18px;
    color: var(--navy);
    font-size: 1.12rem;
}

.phmath-controls-card {
    background: linear-gradient(160deg, #f8fbff, #eef5ff);
}

.phmath-range-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin: 15px 0 5px;
    color: #334155;
    font-weight: 750;
}

.phmath-range-label output {
    min-width: 72px;
    padding: 4px 8px;
    color: var(--blue-dark);
    text-align: center;
    background: #fff;
    border: 1px solid #cfe0ff;
    border-radius: 9px;
}

.phmath-dl input[type="range"] {
    width: 100%;
    height: 8px;
    margin: 4px 0 8px;
    accent-color: var(--blue);
    cursor: pointer;
}

.phmath-btn {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 11px 17px !important;
    color: #fff !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
    text-align: center;
    background: var(--blue) !important;
    border: 2px solid transparent !important;
    border-radius: 12px !important;
    opacity: 1 !important;
    visibility: visible !important;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .2) !important;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.phmath-btn:hover,
.phmath-btn:focus-visible {
    color: #fff !important;
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(37, 99, 235, .28) !important;
}

.phmath-btn:focus-visible,
.phmath-tab:focus-visible,
.phmath-option:focus-visible,
.phmath-pair-card:focus-visible {
    outline: 3px solid #fbbf24 !important;
    outline-offset: 3px;
}

.phmath-btn--secondary {
    width: 100%;
    margin-top: 17px;
    background: #0f766e !important;
}

.phmath-btn--orange {
    width: 100%;
    margin-top: 16px;
    background: var(--orange) !important;
}

.phmath-btn--ghost {
    width: 100%;
    margin-top: 9px;
    color: #334155 !important;
    background: #fff !important;
    border-color: #cbd5e1 !important;
    box-shadow: none !important;
}

.phmath-btn--ghost:hover,
.phmath-btn--ghost:focus-visible {
    color: #1e3a8a !important;
    background: #f8fafc !important;
}

.phmath-btn--yes {
    background: var(--green) !important;
}

.phmath-btn--no {
    background: var(--red) !important;
}

.phmath-btn--primary {
    background: linear-gradient(135deg, var(--blue), var(--purple)) !important;
}

.phmath-callout {
    margin: 16px 0 0;
    padding: 12px 13px;
    color: #5c4810;
    font-size: .9rem;
    background: #fff7d6;
    border-left: 4px solid var(--yellow);
    border-radius: 9px;
}

.phmath-visual-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.phmath-main-rect {
    display: grid;
    min-height: 255px;
    place-items: center;
    padding: 4px;
    overflow: hidden;
    background: radial-gradient(circle, #edf5ff 1.2px, transparent 1.2px);
    background-size: 17px 17px;
    border-radius: 15px;
}

.phmath-rect-svg {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    max-height: 260px;
}

.phmath-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.phmath-metric {
    padding: 14px 16px;
    border-radius: 14px;
}

.phmath-metric span,
.phmath-metric small {
    display: block;
}

.phmath-metric span {
    color: #4b5563;
    font-size: .85rem;
    font-weight: 700;
}

.phmath-metric strong {
    display: block;
    margin: 2px 0;
    font-size: 1.35rem;
}

.phmath-metric small {
    color: #526076;
}

.phmath-metric--blue {
    color: #1d4ed8;
    background: #eaf2ff;
}

.phmath-metric--orange {
    color: #c2410c;
    background: #fff0e6;
}

.phmath-wide-card {
    background: linear-gradient(180deg, #fff, #fbfdff);
}

.phmath-inline-control {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.phmath-inline-control label {
    font-weight: 850;
}

.phmath-inline-control select {
    min-height: 44px;
    padding: 8px 38px 8px 12px;
    color: var(--navy);
    font-weight: 800;
    background-color: #fff;
    border: 2px solid #bcd0ef;
    border-radius: 10px;
}

.phmath-equation {
    padding: 8px 13px;
    color: var(--purple);
    font-weight: 900;
    background: #f1eaff;
    border-radius: 10px;
}

.phmath-pair-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
    gap: 13px;
}

.phmath-pair-card {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    min-height: 155px;
    padding: 13px !important;
    color: var(--ink) !important;
    text-align: center;
    background: #fff !important;
    border: 2px solid #dbe7f6 !important;
    border-radius: 14px !important;
    opacity: 1 !important;
    cursor: pointer;
    box-shadow: none !important;
}

.phmath-pair-card:hover,
.phmath-pair-card:focus-visible,
.phmath-pair-card.is-selected {
    color: var(--ink) !important;
    background: #f4f8ff !important;
    border-color: var(--blue) !important;
}

.phmath-pair-card.is-best {
    background: #f0fdf4 !important;
    border-color: #86d29a !important;
}

.phmath-pair-card b {
    color: var(--navy);
    font-size: 1.08rem;
}

.phmath-pair-card small {
    color: var(--muted);
}

.phmath-mini-rect {
    display: block;
    min-width: 20px;
    min-height: 12px;
    max-width: 98px;
    max-height: 65px;
    margin: auto;
    background-color: #dbeafe;
    background-image:
        linear-gradient(rgba(37,99,235,.24) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,235,.24) 1px, transparent 1px);
    border: 2px solid var(--blue);
    border-radius: 3px;
}

.phmath-discovery {
    margin: 20px 0 0;
    padding: 15px 17px;
    color: #17443a;
    font-weight: 700;
    background: #e9fbf4;
    border-left: 5px solid #10b981;
    border-radius: 11px;
}

.phmath-discovery--purple {
    color: #4c2c80;
    background: #f3edff;
    border-left-color: var(--purple);
}

.phmath-unit-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 330px;
    background: #fffaf2;
}

.phmath-unit-grid {
    display: grid;
    width: min(100%, 510px);
    max-width: 100%;
    max-height: 290px;
    gap: 2px;
    padding: 7px;
    background: #fff;
    border: 3px solid #ea580c;
    border-radius: 10px;
}

.phmath-unit-cell {
    min-width: 0;
    min-height: 0;
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: 2px;
    transition: background .2s ease, transform .2s ease;
}

.phmath-unit-cell.is-counted {
    background: linear-gradient(135deg, #fbbf24, #fb923c);
    transform: scale(.9);
}

.phmath-count-line {
    margin-top: 16px;
    padding: 10px 14px;
    color: #7c2d12;
    font-size: 1.08rem;
    background: #ffedd5;
    border-radius: 10px;
}

.phmath-learning-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 26px;
}

.phmath-rule {
    position: relative;
    padding: 25px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-top: 5px solid var(--blue);
    border-radius: 18px;
}

.phmath-rule--orange { border-top-color: var(--orange); }
.phmath-rule--purple { border-top-color: var(--purple); }

.phmath-rule__icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 13px;
    place-items: center;
    font-size: 1.35rem;
    background: #edf4ff;
    border-radius: 12px;
}

.phmath-rule h4 {
    margin-bottom: 7px;
    color: var(--navy);
}

.phmath-rule p {
    color: var(--muted);
}

.phmath-formula {
    margin: 16px 0 10px;
    padding: 13px;
    color: #1e3a8a;
    text-align: center;
    background: #f1f5ff;
    border-radius: 10px;
}

.phmath-rule small {
    color: #667085;
}

.phmath-checkpoint {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    margin-top: 26px;
    background: linear-gradient(135deg, #f8fbff, #f2edff);
}

.phmath-checkpoint h3 {
    margin-bottom: 0;
    color: var(--navy);
    font-size: 1.2rem;
}

.phmath-checkpoint__buttons {
    display: flex;
    gap: 10px;
}

.phmath-feedback-inline {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0;
    font-weight: 800;
}

.phmath-feedback-inline.is-correct { color: #15803d; }
.phmath-feedback-inline.is-wrong { color: #b91c1c; }

.phmath-practice-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.phmath-practice-top h3 {
    margin-bottom: 5px;
    color: var(--navy);
    font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.phmath-practice-top p {
    margin-bottom: 0;
    color: var(--muted);
}

.phmath-scorebar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
    padding: 12px;
    color: #fff;
    background: var(--navy);
    border-radius: 16px 16px 8px 8px;
}

.phmath-scorebar div {
    padding: 5px 10px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.18);
}

.phmath-scorebar div:last-child {
    border-right: 0;
}

.phmath-scorebar span,
.phmath-scorebar b {
    display: block;
}

.phmath-scorebar span {
    color: #bfdbfe;
    font-size: .78rem;
}

.phmath-scorebar b {
    font-size: 1.12rem;
}

.phmath-progress {
    height: 8px;
    margin-bottom: 18px;
    overflow: hidden;
    background: #dbeafe;
    border-radius: 0 0 9px 9px;
}

.phmath-progress span {
    display: block;
    width: 8.333%;
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    transition: width .3s ease;
}

.phmath-question-card {
    min-height: 500px;
    padding: clamp(22px, 4vw, 38px);
    border-top: 5px solid var(--purple);
}

.phmath-question-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.phmath-question-meta > span {
    padding: 6px 11px;
    color: #5b21b6;
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: #ede9fe;
    border-radius: 999px;
}

.phmath-hint-btn {
    padding: 7px 12px !important;
    color: #684d00 !important;
    font-weight: 800 !important;
    background: #fff6c7 !important;
    border: 1px solid #f4d35e !important;
    border-radius: 10px !important;
    opacity: 1 !important;
    cursor: pointer;
    box-shadow: none !important;
}

.phmath-hint-btn:hover,
.phmath-hint-btn:focus-visible {
    color: #4a3900 !important;
    background: #ffed94 !important;
}

.phmath-question-card > h3 {
    max-width: 850px;
    margin: 24px auto 18px;
    color: var(--navy);
    font-size: clamp(1.25rem, 2.6vw, 1.85rem);
    line-height: 1.35;
    text-align: center;
}

.phmath-question-visual {
    display: grid;
    min-height: 130px;
    margin: 0 auto 20px;
    place-items: center;
}

.phmath-question-visual:empty {
    min-height: 24px;
}

.phmath-answer-area {
    max-width: 760px;
    margin: 0 auto;
}

.phmath-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.phmath-option {
    display: flex !important;
    justify-content: center;
    align-items: center;
    min-height: 58px;
    padding: 13px 16px !important;
    color: #1f2a44 !important;
    font-weight: 850 !important;
    line-height: 1.3 !important;
    text-align: center;
    background: #f7faff !important;
    border: 2px solid #cbdaf0 !important;
    border-radius: 13px !important;
    opacity: 1 !important;
    visibility: visible !important;
    cursor: pointer;
    box-shadow: none !important;
}

.phmath-option:hover,
.phmath-option:focus-visible {
    color: #172554 !important;
    background: #eaf2ff !important;
    border-color: var(--blue) !important;
}

.phmath-option.is-selected {
    color: #fff !important;
    background: var(--blue) !important;
    border-color: var(--blue-dark) !important;
}

.phmath-option.is-correct {
    color: #fff !important;
    background: var(--green) !important;
    border-color: #15803d !important;
}

.phmath-option.is-wrong {
    color: #fff !important;
    background: var(--red) !important;
    border-color: #b91c1c !important;
}

.phmath-option:disabled {
    cursor: default;
}

.phmath-multi-note {
    margin: 0 0 10px;
    color: var(--muted);
    text-align: center;
}

.phmath-input-answer {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: stretch;
}

.phmath-input-answer input[type="number"] {
    width: min(100%, 210px);
    min-height: 52px;
    padding: 8px 14px;
    color: var(--navy);
    font-size: 1.2rem;
    font-weight: 850;
    text-align: center;
    background: #fff;
    border: 2px solid #b7cae7;
    border-radius: 12px;
}

.phmath-multi-submit {
    display: flex !important;
    margin: 14px auto 0;
}

.phmath-builder {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(230px, 1.2fr);
    gap: 20px;
    align-items: center;
}

.phmath-builder__controls {
    padding: 15px;
    background: #f5f8ff;
    border-radius: 13px;
}

.phmath-builder__preview {
    display: grid;
    min-height: 180px;
    place-items: center;
    overflow: hidden;
}

.phmath-builder__values {
    margin: 8px 0 12px;
    color: #475569;
    font-weight: 800;
    text-align: center;
}

.phmath-hint,
.phmath-question-feedback {
    max-width: 760px;
    margin: 18px auto 0;
    padding: 13px 15px;
    border-radius: 11px;
}

.phmath-hint {
    color: #654f0a;
    background: #fff8d9;
    border: 1px solid #f3dc82;
}

.phmath-question-feedback {
    font-weight: 700;
}

.phmath-question-feedback.is-correct {
    color: #14532d;
    background: #dcfce7;
    border: 1px solid #86efac;
}

.phmath-question-feedback.is-wrong {
    color: #7f1d1d;
    background: #fee2e2;
    border: 1px solid #fca5a5;
}

.phmath-next {
    display: flex !important;
    margin: 16px auto 0;
}

.phmath-results {
    padding: 45px 25px;
    text-align: center;
    background: linear-gradient(160deg, #eff6ff, #f5f3ff);
}

.phmath-results__badge {
    font-size: 4rem;
}

.phmath-results h3 {
    margin: 5px 0;
    color: var(--navy);
    font-size: 2rem;
}

.phmath-results p {
    color: var(--muted);
}

.phmath-results__score {
    display: flex;
    justify-content: center;
    gap: 6px;
    align-items: baseline;
    margin: 18px 0 24px;
}

.phmath-results__score b {
    color: var(--purple);
    font-size: 3.2rem;
    line-height: 1;
}

.phmath-results__score span {
    color: #475569;
    font-weight: 800;
}

.phmath-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 30px;
    color: #cbd5e1;
    font-size: .88rem;
    background: #10182e;
}

.phmath-footer a {
    color: #7dd3fc !important;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 860px) {
    .phmath-hero {
        grid-template-columns: 1fr;
        padding: 36px 28px;
    }

    .phmath-hero__shape {
        width: min(75%, 300px);
        justify-self: center;
    }

    .phmath-outcomes {
        grid-template-columns: 1fr;
    }

    .phmath-lab-grid,
    .phmath-learning-cards,
    .phmath-checkpoint,
    .phmath-builder {
        grid-template-columns: 1fr;
    }

    .phmath-checkpoint__buttons {
        flex-wrap: wrap;
    }
}

@media (max-width: 620px) {
    .phmath-dl {
        margin: 8px 0;
        border-radius: 18px;
    }

    .phmath-hero {
        min-height: auto;
        padding: 30px 20px;
    }

    .phmath-hero__shape {
        width: 88%;
    }

    .phmath-tabs {
        gap: 5px;
        padding: 12px 10px 0;
    }

    .phmath-tab {
        min-height: 54px;
        padding: 9px 6px;
        font-size: .88rem;
    }

    .phmath-tab span {
        display: block;
    }

    .phmath-panel {
        padding: 27px 14px 34px;
    }

    .phmath-card {
        padding: 18px;
        border-radius: 16px;
    }

    .phmath-section-head {
        gap: 10px;
    }

    .phmath-main-rect {
        min-height: 210px;
    }

    .phmath-metrics,
    .phmath-options,
    .phmath-scorebar {
        grid-template-columns: 1fr 1fr;
    }

    .phmath-scorebar div:nth-child(2) {
        border-right: 0;
    }

    .phmath-pair-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .phmath-practice-top,
    .phmath-input-answer,
    .phmath-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .phmath-input-answer input[type="number"] {
        width: 100%;
    }

    .phmath-question-card {
        min-height: 460px;
    }

    .phmath-question-meta {
        align-items: flex-start;
    }

    .phmath-footer {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .phmath-dl *,
    .phmath-dl *::before,
    .phmath-dl *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
