/* Olymp Prep batch selection screen */
body {
    background:
        radial-gradient(circle at 1% 11%, rgba(255, 217, 232, 0.62) 0 82px, transparent 83px),
        radial-gradient(circle at 98% 5%, rgba(255, 239, 207, 0.55) 0 85px, transparent 86px),
        radial-gradient(circle at 100% 62%, rgba(226, 237, 255, 0.58) 0 78px, transparent 79px),
        linear-gradient(135deg, #fffdfd 0%, #fbfdff 55%, #fffefa 100%);
}

.prep-batch-selection {
    max-width: 1242px;
    padding: 1rem 1.55rem 2.5rem;
    font-family: "Poppins", Arial, sans-serif;
}

.prep-batch-selection *:not(svg):not(path) {
    font-family: "Poppins", Arial, sans-serif;
}

.prep-batch-selection {
    font-family: "Poppins", Arial, sans-serif;
}

.prep-batch-selection button,
.prep-batch-selection input,
.prep-batch-selection select {
    font-family: inherit;
}

.prep-batch-intro {
    max-width: 720px;
    margin: 0 auto 0.85rem;
    text-align: center;
}

.prep-batch-intro h1 {
    margin: 0;
    color: #172554;
    font-size: clamp(1.55rem, 2.35vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
}

.prep-batch-intro p {
    margin: 0.3rem 0 0;
    color: #65708d;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
}

.prep-batch-intro--board {
    max-width: 820px;
    margin-bottom: 1.35rem;
    padding: 0.15rem 1rem 0;
}

.prep-batch-intro--board h1 {
    font-size: clamp(1.7rem, 2.7vw, 2.45rem);
    color: #081846;
}

.prep-batch-concluded {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    max-width: 960px;
    margin: 0 auto 1.25rem;
    padding: 20px 22px;
    border: 1px solid #b9dfd3;
    border-radius: 20px;
    background:
        radial-gradient(circle at 94% 8%, rgba(103, 214, 181, 0.2) 0 74px, transparent 75px),
        linear-gradient(125deg, #f5fffb 0%, #ffffff 58%, #f4f7ff 100%);
    box-shadow: 0 12px 30px rgba(39, 96, 89, 0.12);
}

.prep-batch-concluded__icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(145deg, #1fc494, #139574);
    color: #fff;
    box-shadow: 0 9px 18px rgba(20, 151, 116, 0.22);
}

.prep-batch-concluded__icon .prep-ui-icon {
    width: 31px;
    height: 31px;
    stroke-width: 1.9;
}

.prep-batch-concluded__copy {
    min-width: 0;
}

.prep-batch-concluded__eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #168060;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.prep-batch-concluded h1 {
    margin: 0;
    color: #15345a;
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-weight: 600;
    line-height: 1.3;
}

.prep-batch-concluded p {
    max-width: 760px;
    margin: 7px 0 10px;
    color: #566985;
    font-size: 0.91rem;
    font-weight: 400;
    line-height: 1.6;
}

.prep-batch-concluded__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.prep-batch-concluded__meta span,
.prep-batch-history-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border: 1px solid #cfe1ec;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #50647e;
    font-size: 0.69rem;
    font-weight: 500;
    line-height: 1.2;
}

.prep-batch-history-pill {
    width: fit-content;
    min-height: 23px;
    margin-top: 5px;
    border-color: #d8d7f4;
    background: #f5f4ff;
    color: #5d53a6;
}

.prep-batch-intro-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin-bottom: 0.48rem;
    padding: 0.32rem 0.9rem;
    border: 1px solid #bfd2ff;
    border-radius: 999px;
    background: linear-gradient(100deg, #f5f9ff 0%, #fff7fb 100%);
    color: #2252b8;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.prep-ui-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -0.14em;
}

.prep-batch-selection::before,
.prep-batch-selection::after {
    display: block;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.56;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.prep-batch-selection::before {
    width: 150px;
    height: 150px;
    left: -86px;
    top: 72px;
    background: radial-gradient(circle, rgba(255, 206, 226, 0.76), rgba(255, 236, 244, 0.16) 72%);
}

.prep-batch-selection::after {
    width: 160px;
    height: 160px;
    right: -95px;
    top: 112px;
    background: radial-gradient(circle, rgba(214, 231, 255, 0.78), rgba(240, 247, 255, 0.12) 72%);
}

.batch-type-tabs-wrap {
    max-width: 680px;
    margin: 0 auto 1.2rem;
    padding: 7px;
    border: 1px solid #dde2ed;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 18px rgba(24, 35, 64, 0.12);
}

.batch-type-tabs {
    gap: 4px;
}

.batch-type-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 0.7rem 1rem;
    border: 0;
    border-radius: 11px;
    color: #626a7f;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
}

.batch-type-tab i,
.batch-type-tab .prep-ui-icon {
    font-size: 1.18rem;
    width: 1.18rem;
    height: 1.18rem;
}

.batch-type-tab:hover {
    color: #28345d;
    background: #f7f9ff;
    transform: none;
}

.batch-type-tab.active {
    color: #fff;
    background: linear-gradient(100deg, #f52079 0%, #8a39ee 50%, #1565ff 100%);
    border: 0;
    box-shadow: 0 7px 16px rgba(72, 70, 222, 0.2);
}

.batch-type-tab.active::after {
    display: none;
}

.batch-board-filter {
    max-width: 544px;
    min-height: 54px;
    margin: 0 auto 0.75rem;
    padding: 7px 10px 7px 21px;
    gap: 16px;
    border: 1px solid #dfe3ec;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 5px 14px rgba(31, 43, 76, 0.06);
}

.batch-board-filter label {
    color: #303a55;
    font-size: 0.86rem;
    font-weight: 700;
}

.batch-board-filter select {
    min-height: 38px;
    padding: 0.35rem 2.2rem 0.35rem 0.72rem;
    border: 1px solid #e0e4ee;
    border-radius: 10px;
    background-color: #fff;
    color: #26304d;
    font-size: 0.91rem;
    font-weight: 600;
    outline: none;
}

.batch-board-filter select:focus {
    border-color: #88aaff;
    box-shadow: 0 0 0 3px rgba(68, 113, 255, 0.12);
}

.batch-type-note--guide {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 64px;
    max-width: 740px;
    margin: 0 auto 1.35rem;
    padding: 0.72rem 3.8rem 0.72rem 4.6rem;
    overflow: hidden;
    border: 1px solid #bfd4ff;
    border-radius: 13px;
    background: linear-gradient(110deg, #f8fbff 0%, #f6f9ff 100%);
    color: #153b85;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.6;
}

.batch-type-note--guide::before {
    content: "i";
    position: absolute;
    left: 20px;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(145deg, #2689ff, #0758db);
    color: #fff;
    font-family: Georgia, serif;
    font-size: 1.25rem;
    font-weight: 800;
    font-style: normal;
    transform: translateY(-50%);
    box-shadow: 0 6px 12px rgba(26, 99, 224, 0.2);
}

.batch-type-note--guide::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -8px;
    width: 72px;
    height: 62px;
    opacity: 0.5;
    background-image: radial-gradient(#bdd4ff 2px, transparent 2px);
    background-size: 13px 13px;
    transform: rotate(-12deg);
}

.prep-batch-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1140px;
    margin: 0 auto;
}

.prep-batch-card {
    display: flex;
    flex-direction: column;
    min-height: 230px;
    padding: 15px 17px 0;
    overflow: hidden;
    border: 1px solid #6fa6ff;
    border-radius: 15px;
    background:
        radial-gradient(circle at 93% 3%, rgba(159, 207, 255, 0.56) 0 48px, transparent 49px),
        linear-gradient(140deg, #ffffff 0%, #f2f8ff 58%, #e4f0ff 100%);
    box-shadow: 0 10px 22px rgba(37, 98, 193, 0.16);
    color: #172044;
    cursor: default;
}

.prep-batch-card::before {
    display: none;
}

.prep-batch-card:not(.disabled)::before {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    height: 4px;
    border-radius: 15px 15px 0 0;
    background: linear-gradient(90deg, #2472f2, #3aa8ff, #42d7c8);
}

.prep-batch-card::after {
    content: "✦";
    right: 26px;
    top: 54px;
    width: auto;
    height: auto;
    background: none;
    color: #9bc8ff;
    font-size: 1.25rem;
    opacity: 0.55;
}

.prep-batch-card:hover,
.prep-batch-card.disabled:hover {
    transform: translateY(-2px);
    border-color: #367ff3;
    box-shadow: 0 14px 28px rgba(31, 91, 187, 0.22);
}

.prep-batch-card.selected {
    transform: translateY(-2px);
    border-color: #1768f7;
    box-shadow: 0 0 0 3px rgba(23, 104, 247, 0.12), 0 12px 25px rgba(42, 68, 122, 0.18);
}

.prep-batch-card--ongoing {
    border-color: #ff5f88;
    background:
        radial-gradient(circle at 94% 4%, rgba(255, 172, 196, 0.64) 0 50px, transparent 51px),
        linear-gradient(140deg, #fffefe 0%, #fff2f6 58%, #ffe1e9 100%);
    box-shadow: 0 11px 24px rgba(235, 50, 105, 0.18);
}

.prep-batch-card--ongoing::before {
    background: linear-gradient(90deg, #f51f69, #ff547d, #ff916d) !important;
}

.prep-batch-card--ongoing::after {
    color: #ff91a9;
}

.prep-batch-card--completed {
    border-color: #9fb5d9;
    background: linear-gradient(140deg, #fff 0%, #f9fbff 70%, #f0f4fb 100%);
}

.prep-batch-card.disabled,
.prep-batch-card--inactive {
    border-color: #d1d3d8;
    background:
        radial-gradient(circle at 93% 3%, rgba(228, 229, 232, 0.7) 0 48px, transparent 49px),
        linear-gradient(140deg, #ffffff 0%, #fbfbfb 66%, #f2f2f2 100%);
    box-shadow: 0 8px 18px rgba(50, 54, 65, 0.1);
    filter: none;
    opacity: 1;
    color: #333845;
    cursor: not-allowed;
}

.prep-batch-card.disabled:hover {
    transform: none;
    border-color: #d1d3d8;
    box-shadow: 0 8px 18px rgba(50, 54, 65, 0.1);
}

.prep-batch-card--inactive::after {
    color: #c9cbd0;
}

.prep-batch-top {
    position: relative;
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 66px;
    z-index: 1;
}

.prep-batch-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.94);
    border-radius: 14px;
    background: linear-gradient(145deg, #fff 0%, #f5f9ff 100%);
    color: #1768f7;
    font-size: 1.8rem;
    box-shadow: 0 7px 13px rgba(48, 87, 150, 0.19);
}

.prep-batch-icon .prep-ui-icon {
    width: 1.86rem;
    height: 1.86rem;
    stroke-width: 1.9;
}

.prep-batch-card--ongoing .prep-batch-icon {
    color: #f51e69;
    background: linear-gradient(145deg, #fff 0%, #fff4f1 100%);
    box-shadow: 0 7px 13px rgba(230, 79, 112, 0.2);
}

.prep-batch-card--completed .prep-batch-icon {
    color: #536e9e;
}

.prep-batch-card--inactive .prep-batch-icon {
    color: #63666d;
    background: linear-gradient(145deg, #fff 0%, #f1f1f1 100%);
    box-shadow: 0 7px 13px rgba(65, 68, 74, 0.16);
}

.prep-batch-heading {
    min-width: 0;
    padding-right: 58px;
}

.prep-batch-card--ongoing .prep-batch-heading {
    padding-right: 78px;
}

.prep-batch-head {
    display: block;
    margin: 0;
}

.prep-batch-title {
    min-height: 0;
    margin: 0;
    color: #111a40;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0;
}

.prep-batch-card--inactive .prep-batch-title {
    color: #222a43;
}

.prep-batch-card .batch-status {
    position: absolute;
    top: -9px;
    right: -9px;
    z-index: 3;
    padding: 6px 10px;
    border: 0;
    border-radius: 11px;
    background: #eaf2ff;
    color: #1768f7;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
    box-shadow: 0 5px 11px rgba(61, 112, 202, 0.12);
}

.prep-batch-card .batch-status.status-ongoing {
    display: none;
}

.prep-batch-card .batch-status.status-upcoming {
    border: 0;
    background: #eaf2ff;
    color: #1768f7;
}

.prep-batch-card .batch-status.status-completed {
    border: 0;
    background: #eef1f6;
    color: #58657b;
}

.prep-batch-card .batch-status.status-inactive {
    border: 0;
    background: #ececee;
    color: #686b72;
}

.prep-recommended-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 25px;
    padding: 5px 11px;
    border-radius: 0 14px 0 11px;
    background: linear-gradient(100deg, #ff416f, #f72562);
    color: #fff;
    font-size: 0.57rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 5px 12px rgba(238, 48, 94, 0.22);
}

.prep-batch-divider {
    height: 1px;
    margin: 7px 6px 0;
    background: #e1e4ea;
}

.prep-batch-dates {
    margin: 0;
    padding: 8px 7px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.prep-batch-dates div {
    gap: 10px;
    color: #41495c;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.55;
}

.prep-batch-dates div + div {
    margin-top: 3px;
}

.prep-batch-dates i {
    width: 16px;
    color: #444c60;
    font-size: 0.84rem;
}

.prep-batch-dates .prep-ui-icon {
    width: 0.88rem;
    height: 0.88rem;
    color: #444c60;
    stroke-width: 1.9;
}

.prep-batch-actions {
    gap: 10px;
    margin: 9px 0 10px;
}

.prep-batch-card .cta-button-1,
.prep-batch-card .join-batch-btn {
    height: 41px;
    min-height: 41px;
    padding: 0.35rem 0.65rem;
    border: 1px solid #6a8cff;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: none;
    color: #1760ec !important;
    font-size: 0.84rem;
    font-weight: 600;
}

.prep-batch-actions .prep-ui-icon {
    width: 0.92rem;
    height: 0.92rem;
    margin-right: 5px;
    stroke-width: 1.9;
}

.prep-batch-card .join-batch-btn {
    border-color: transparent;
    background: linear-gradient(100deg, #2274ee, #075ff5);
    box-shadow: 0 7px 14px rgba(31, 101, 236, 0.2);
    color: #fff !important;
}

.prep-batch-card--ongoing .cta-button-1 {
    border-color: #925dff;
    color: #6426ee !important;
}

.prep-batch-card--ongoing .join-batch-btn {
    background: linear-gradient(100deg, #ff2874, #f51665);
    box-shadow: 0 7px 14px rgba(237, 38, 104, 0.2);
}

.prep-batch-card--completed .cta-button-1 {
    border-color: #8192b3;
    color: #495a7b !important;
}

.prep-batch-card--completed .join-batch-btn {
    background: linear-gradient(100deg, #667da7, #4e648f);
    box-shadow: 0 7px 14px rgba(71, 91, 130, 0.18);
}

.prep-batch-card .cta-button-1:hover,
.prep-batch-card .join-batch-btn:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 15px rgba(38, 82, 164, 0.2);
    filter: brightness(0.99);
}

.prep-batch-card .join-batch-btn:disabled,
.prep-batch-card--inactive .cta-button-1 {
    border-color: #aaaeb6;
    background: linear-gradient(100deg, #d7d7d8, #bebfc1);
    box-shadow: none;
    color: #fff !important;
    opacity: 1;
}

.prep-batch-card--inactive .cta-button-1 {
    border: 1px solid #9a9da3;
    background: rgba(255, 255, 255, 0.7);
    color: #454950 !important;
}

.prep-batch-card .batch-info.starting-soon,
.prep-batch-card .batch-info.already-started {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 41px;
    margin: auto -17px 0;
    padding: 7px 10px;
    border: 0;
    border-top: 1px solid #a9c7ff;
    border-radius: 0;
    background: rgba(224, 236, 255, 0.72);
    color: #385696;
    font-size: 0.81rem;
    font-weight: 500;
    text-align: center;
}

.prep-batch-card .batch-info .prep-ui-icon {
    width: 0.95rem;
    height: 0.95rem;
    stroke-width: 2;
}

.prep-batch-card--ongoing .batch-info.starting-soon {
    border-top-color: #ff9fb5;
    background: rgba(255, 226, 233, 0.74);
    color: #f02667;
}

.prep-batch-card--inactive .batch-info.already-started {
    border-top-color: #d6d6d8;
    background: rgba(235, 235, 236, 0.8);
    color: #777981;
}

.prep-batch-card--extra {
    display: none;
}

.prep-batch-grid.is-expanded .prep-batch-card--extra {
    display: flex;
    animation: prep-batch-card-reveal 0.38s ease both;
}

.prep-batch-view-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 1140px;
    margin: 22px auto 0;
}

.prep-batch-view-toggle-wrap::before,
.prep-batch-view-toggle-wrap::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 106, 176, 0.28));
}

.prep-batch-view-toggle-wrap::after {
    background: linear-gradient(90deg, rgba(96, 106, 176, 0.28), transparent);
}

.prep-batch-view-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 6px 7px 6px 19px;
    border: 1px solid rgba(98, 81, 218, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #4b2acb;
    box-shadow: 0 8px 22px rgba(49, 56, 138, 0.13);
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.prep-batch-view-toggle:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 32, 121, 0.42);
    box-shadow: 0 12px 26px rgba(69, 53, 163, 0.18);
}

.prep-batch-view-toggle:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.26);
    outline-offset: 3px;
}

.prep-batch-view-toggle__label {
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1;
}

.prep-batch-view-toggle__count {
    padding-left: 12px;
    border-left: 1px solid rgba(99, 102, 241, 0.2);
    color: #70778e;
    font-size: 0.69rem;
    font-weight: 600;
    line-height: 1;
}

.prep-batch-view-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f52079 0%, #7d43e8 52%, #1768f7 100%);
    color: #fff;
    box-shadow: 0 5px 12px rgba(89, 55, 207, 0.28);
    transition: transform 0.3s ease;
}

.prep-batch-view-toggle__icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.prep-batch-view-toggle[aria-expanded="true"] .prep-batch-view-toggle__icon {
    transform: rotate(180deg);
}

@keyframes prep-batch-card-reveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1050px) {
    .prep-batch-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 760px;
    }
}

@media (max-width: 700px) {
    body {
        background:
            radial-gradient(circle at 0 6%, rgba(255, 221, 234, 0.58) 0 60px, transparent 61px),
            radial-gradient(circle at 100% 18%, rgba(221, 235, 255, 0.58) 0 62px, transparent 63px),
            #fbfdff;
    }

    .prep-batch-selection {
        padding: 0.75rem 12px 2rem;
    }

    .prep-batch-concluded {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 1rem;
        padding: 15px 14px;
        border-radius: 16px;
    }

    .prep-batch-concluded__icon {
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }

    .prep-batch-concluded__icon .prep-ui-icon {
        width: 24px;
        height: 24px;
    }

    .prep-batch-concluded h1 {
        font-size: 1.08rem;
        line-height: 1.35;
    }

    .prep-batch-concluded p {
        margin: 5px 0 9px;
        font-size: 0.76rem;
        line-height: 1.5;
    }

    .prep-batch-concluded__eyebrow {
        font-size: 0.62rem;
    }

    .prep-batch-concluded__meta span {
        min-height: 23px;
        padding: 3px 7px;
        font-size: 0.61rem;
    }

    .prep-batch-intro {
        margin-bottom: 0.7rem;
        padding: 0 0.35rem;
    }

    .prep-batch-intro--board {
        margin-bottom: 1rem;
        padding: 0 0.2rem;
    }

    .prep-batch-intro h1 {
        font-size: 1.42rem;
    }

    .prep-batch-intro--board h1 {
        font-size: 1.5rem;
        line-height: 1.22;
    }

    .prep-batch-intro p {
        margin-top: 0.25rem;
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .prep-batch-intro-badge {
        min-height: 28px;
        margin-bottom: 0.42rem;
        padding: 0.28rem 0.72rem;
        font-size: 0.68rem;
    }

    .batch-type-tabs-wrap {
        width: 100%;
        margin-bottom: 0.85rem;
        padding: 5px;
        border-radius: 14px;
    }

    .batch-type-tab {
        gap: 7px;
        min-height: 45px;
        padding: 0.58rem 0.4rem;
        font-size: 0.78rem;
    }

    .batch-type-tab i,
    .batch-type-tab .prep-ui-icon {
        font-size: 0.96rem;
        width: 0.96rem;
        height: 0.96rem;
    }

    .batch-board-filter {
        align-items: center;
        flex-direction: row;
        width: 100%;
        max-width: none;
        min-height: 52px;
        margin-bottom: 0.7rem;
        padding: 6px 8px 6px 13px;
        gap: 9px;
    }

    .batch-board-filter label {
        font-size: 0.7rem;
    }

    .batch-board-filter select {
        min-width: 0;
        min-height: 38px;
        font-size: 0.78rem;
    }

    .batch-type-note--guide {
        width: 100%;
        max-width: none;
        min-height: 62px;
        margin-bottom: 1rem;
        padding: 0.62rem 1.5rem 0.62rem 3.55rem;
        font-size: 0.7rem;
        line-height: 1.45;
    }

    .batch-type-note--guide::before {
        left: 14px;
        width: 28px;
        height: 28px;
        font-size: 1.08rem;
    }

    .prep-batch-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        width: 100%;
        max-width: 380px;
    }

    .prep-batch-view-toggle-wrap {
        gap: 9px;
        max-width: 380px;
        margin-top: 17px;
    }

    .prep-batch-view-toggle {
        gap: 9px;
        min-height: 46px;
        padding: 6px 6px 6px 15px;
    }

    .prep-batch-view-toggle__count {
        padding-left: 9px;
        font-size: 0.64rem;
    }

    .prep-batch-view-toggle__icon {
        width: 32px;
        height: 32px;
    }

    .prep-batch-card {
        min-height: 260px;
        padding: 14px 14px 0;
        border-radius: 14px;
    }

    .prep-batch-top {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 12px;
        min-height: 62px;
    }

    .prep-batch-icon {
        width: 58px;
        height: 58px;
        font-size: 1.7rem;
    }

    .prep-batch-heading,
    .prep-batch-card--ongoing .prep-batch-heading {
        padding-right: 72px;
    }

    .prep-batch-title {
        font-size: 1.03rem;
    }

    .prep-batch-actions {
        gap: 10px;
    }

    .prep-batch-card .cta-button-1,
    .prep-batch-card .join-batch-btn {
        height: 44px;
        min-height: 44px;
        padding: 0.35rem 0.5rem;
        font-size: 0.78rem;
    }

    .prep-batch-card .batch-info.starting-soon,
    .prep-batch-card .batch-info.already-started {
        margin-right: -14px;
        margin-left: -14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .prep-batch-grid.is-expanded .prep-batch-card--extra {
        animation: none;
    }

    .prep-batch-view-toggle,
    .prep-batch-view-toggle__icon {
        transition: none;
    }
}
