@charset "UTF-8";

/* 등록금 시뮬레이션: Figma 1823:26828 / 1823:28008 / 1830:31588. */
.rn-tuition {
    --tc-blue: #002dad;
    --tc-ink: #222;
    --tc-muted: #545454;
    --tc-line: #d9d9d9;
    --tc-selected: #f1f5fd;
    --tc-sub: #707070;
    --tc-black: #111;
    --tc-caution: #f14f52;
    --tc-card-line: #c6d0db;
    --tc-beige: #f4f1ef;
    --tc-dim: #acacac;
    --tc-dim-line: #e9e9e9;
    position: fixed; inset: 0; z-index: 100000;
    display: flex; align-items: center; justify-content: center; padding: 24px;
    color: var(--tc-ink);
    font: 16px/1.48 var(--rn-font, 'Pretendard', sans-serif);
    letter-spacing: -.015em; word-break: keep-all; overflow-wrap: anywhere;
}
.rn-tuition *, .rn-tuition *::before, .rn-tuition *::after { box-sizing: border-box; }
.rn-tuition [hidden], .rn-tuition[hidden] { display: none !important; }
.rn-tuition :is(h2,h3,h4,p,ul,dl,dd,fieldset,legend) { margin: 0; padding: 0; border: 0; font: inherit; }
.rn-tuition ul { list-style: none; }
.rn-tuition :is(button,select) { margin: 0; font: inherit; color: inherit; letter-spacing: inherit; }
.rn-tuition button { border: 0; border-radius: 0; background: none; cursor: pointer; }
.rn-tuition button:disabled { opacity: .5; cursor: default; }
.rn-tuition :focus { outline: none; }
.rn-tuition :is(button,a,select,input):focus-visible { outline: 3px solid #002dad; outline-offset: 3px; z-index: 10; }
.rn-tuition img { display: block; flex-shrink: 0; max-width: none; }
.tc__shade, .tc__alert-shade { position: absolute; inset: 0; background: rgb(0 0 0 / 55%); }
.tc__dialog { position: relative; display: flex; flex-direction: column; width: 1180px; max-width: 100%; height: 780px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); border-radius: 10px; background: #fff; box-shadow: 0 12px 40px rgb(0 0 0 / 25%); overflow: hidden; }
.tc__header { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: 0 0 auto; min-height: 60px; padding: 12px 24px; border-bottom: 1px solid var(--tc-line); background: #fff; }
.tc__header > div:first-child { display: flex; align-items: center; gap: 16px; min-width: 0; }
.tc__header h2 { flex-shrink: 0; font: 600 22px/1 var(--rn-font-title, 'S-Core Dream', sans-serif); letter-spacing: -.015em; }
.tc__header p { color: var(--tc-muted); font-size: 16px; font-weight: 500; }
.tc__tools { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.tc__tools [data-tc-reset] { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 34px; padding: 8px 12px; border: 1px solid var(--tc-ink); border-radius: 4px; font-size: 14px; font-weight: 500; line-height: 1; background: #fff; }
.rn-tuition .tc__close { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; }
.tc__close::before { content: ''; position: absolute; width: 44px; height: 44px; }
.tc__scroll { flex: 1; overflow-y: auto; min-height: 0; scrollbar-gutter: stable; overscroll-behavior: contain; }
.tc__layout { display: grid; grid-template-columns: minmax(0,740fr) minmax(0,440fr); min-height: 100%; align-items: stretch; }
.tc__conditions { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 16px; background: #f4f1ef; }
.tc__group, .rn-tuition fieldset.tc__step { min-width: 0; padding: 20px 24px; border-radius: 10px; background: #fff; }
.tc__group { display: flex; flex-direction: column; gap: 24px; }
.tc__group fieldset.tc__step { padding: 0; border-radius: 0; }
.tc__step { position: relative; }
.tc__step legend { position: static; top: auto; left: auto; float: left; display: flex; align-items: center; gap: 8px; width: 100%; height: auto; margin-bottom: 10px; overflow: visible; font: 600 16px/22px var(--rn-font-title, 'S-Core Dream', sans-serif); }
.tc__step > :not(legend) { clear: both; }
.tc__step legend em { margin-left: -4px; color: var(--tc-sub); font: normal 500 15px/1 var(--rn-font-title, 'S-Core Dream', sans-serif); }
.tc__number { display: inline-flex; flex: 0 0 22px; justify-content: center; align-items: center; width: 22px; height: 22px; border-radius: 50%; background: #363636; color: #fff; font: 600 12px/1 var(--rn-font-title, 'S-Core Dream', sans-serif); }
.tc__chosen { display: none; }
.tc__options { display: grid; gap: 0; padding: 0 1px 1px 0; border-radius: 8px; background: #f5f5f5; }
.tc__options:empty { display: none; }
.tc__options--type { grid-template-columns: repeat(2,minmax(0,1fr)); }
.tc__options--credits { grid-template-columns: repeat(3,minmax(0,1fr)); }
.tc__options--admission { grid-template-columns: repeat(4,minmax(0,1fr)); }
.tc__options--scholarship { grid-template-columns: repeat(3,minmax(0,1fr)); }
.tc__option { position: relative; display: block; min-width: 0; margin: 0 -1px -1px 0; border: 1px solid var(--tc-line); cursor: pointer; }
.tc__option--empty { background: #f5f5f5; cursor: default; }
/* 칸 사이 선 — 셀 안쪽에 그려야 반픽셀 경계에서도 제 색이 나온다. */
/* 모서리는 칸에 직접 둥글린다 — 컨테이너를 잘라내지 않기 위해. */
.tc__option:first-child { border-top-left-radius: 7px; }
.tc__options--type .tc__option:nth-child(2), .tc__options--credits .tc__option:nth-child(3), .tc__options--admission .tc__option:nth-child(4), .tc__options--scholarship .tc__option:nth-child(3) { border-top-right-radius: 7px; }
.tc__options--type .tc__option:nth-child(2n+1):nth-last-child(-n+2), .tc__options--credits .tc__option:nth-child(3n+1):nth-last-child(-n+3), .tc__options--admission .tc__option:nth-child(4n+1):nth-last-child(-n+4), .tc__options--scholarship .tc__option:nth-child(3n+1):nth-last-child(-n+3) { border-bottom-left-radius: 7px; }
.tc__options--type .tc__option:nth-child(2n):last-child, .tc__options--credits .tc__option:nth-child(3n):last-child, .tc__options--admission .tc__option:nth-child(4n):last-child, .tc__options--scholarship .tc__option:nth-child(3n):last-child { border-bottom-right-radius: 7px; }
.tc__options--admission .tc__option--empty:nth-child(4n):last-child, .tc__options--scholarship .tc__option--empty:nth-child(3n):last-child { border-bottom-right-radius: 7px; }
.tc__option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tc__option > span { position: relative; display: flex; flex-direction: column; justify-content: center; height: 100%; min-height: 64px; padding: 8px 16px 8px 46px; border-radius: inherit; background: #fff; }
.tc__option > span::before { content: ''; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; border: 1px solid #707070; border-radius: 50%; transform: translateY(-50%); }
.tc__option strong { font-size: 16px; font-weight: 600; line-height: 1.32; }
.tc__option small { display: block; margin-top: 2px; font-size: 13px; font-weight: 300; line-height: 1.48; color: var(--tc-muted); }
.tc__option:has(input:checked) { z-index: 1; border-color: var(--tc-blue); }
.tc__option input:checked + span { background: var(--tc-selected); }
.tc__option input:checked + span strong { color: var(--tc-blue); }
.tc__option input:checked + span small { font-weight: 500; }
.tc__option input:checked + span::before { border-color: var(--tc-blue); background: var(--tc-blue) url('../img/renewal/tuition/radio-check.svg') no-repeat center; }
.tc__option input:focus-visible + span { z-index: 2; outline: 3px solid #002dad; outline-offset: -3px; }
.tc__option:hover > span { background-color: var(--tc-selected); }
.tc__options--admission .tc__option > span { min-height: 44px; padding: 8px 20px; text-align: center; }
.tc__options--admission .tc__option > span::before { display: none; }
.tc__options--admission .tc__option strong { position: relative; align-self: center; }
.tc__options--admission input:checked + span strong::before { content: ''; position: absolute; right: calc(100% + 8px); top: 50%; width: 10px; height: 10px; transform: translateY(-50%); background: url('../img/renewal/tuition/admission-check.svg') no-repeat center; }
.tc__options--scholarship input:checked + span::before { border-radius: 50%; }
.rn-tuition .tc__locked { display: flex; align-items: center; min-height: 64px; padding: 8px 20px; border: 1px solid var(--tc-dim-line); border-radius: 8px; background: #f5f5f5; color: #8a8a8a; font-size: 14px; font-weight: 500; }
.tc__step.is-locked legend, .tc__step.is-locked legend em { color: #8a8a8a; }
.tc__step.is-locked .tc__number { background: var(--tc-line); color: #8a8a8a; }
.rn-tuition .tc__single { position: absolute; top: 20px; right: 24px; display: flex; align-items: center; gap: 4px; color: var(--tc-muted); font-size: 14px; line-height: 22px; }
.tc__single picture { display: flex; }
.tc__scholarship-note { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 16px; border-radius: 8px; background: var(--tc-beige); }
.tc__scholarship-note p { flex: 1; min-width: 0; color: var(--tc-muted); font-size: 14px; font-weight: 500; line-height: 1.48; }
.tc__scholarship-note p span { color: #545454; font-weight: 300; }
.tc__scholarship-note a { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 4px; margin-left: 4px; padding: 8px 12px; border: 1px solid var(--tc-ink); border-radius: 5px; background: #fff; color: var(--tc-ink); font-size: 13px; line-height: 1; text-decoration: none; }
.tc__result { position: sticky; top: 0; align-self: start; display: flex; flex-direction: column; min-width: 0; min-height: 708px; background: #fff; }
.tc__result-main { flex: 1; padding: 24px; }
.tc__result h3 { font: 600 18px/1.36 var(--rn-font-title, 'S-Core Dream', sans-serif); }
.tc__summary { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 20px 12px; padding: 16px 0; }
.tc__summary .tc__tags { grid-column: 1 / -1; }
.tc__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.tc__tags span { padding: 4px 8px; border-radius: 50px; background: var(--tc-selected); color: var(--tc-blue); font-size: 12px; font-weight: 500; line-height: 1.48; }
.rn-tuition .tc__amount { display: flex; justify-content: flex-end; align-items: baseline; grid-column: 2; grid-row: 2; margin-top: 0; color: var(--tc-blue); font-weight: 600; line-height: 1; }
.tc__amount strong, .tc__amount > span { font-size: 38px; font-weight: 600; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.tc__discount-summary { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: 14px; }
.tc__discount-summary del { color: var(--tc-sub); font-weight: 300; }
.tc__discount-summary p { color: var(--tc-caution); font-size: 16px; font-weight: 600; }
.tc__price-card { border: 1px solid var(--tc-card-line); border-radius: 8px; overflow: hidden; }
.rn-tuition .tc__breakdown { padding: 13px 21px; }
.tc__breakdown > div, .tc__comparison > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 14px; }
.tc__breakdown > div + div { margin-top: 6px; }
.tc__breakdown dt { color: var(--tc-black); font-weight: 300; }
.tc__breakdown dd, .tc__comparison dd { flex-shrink: 0; margin-left: auto; font-weight: 600; }
.tc__breakdown [data-tc-saving] { color: var(--tc-caution); }
.tc__breakdown .tc__total { margin-top: 10px; padding-top: 10px; border-top: 1px solid #e9e9e9; font-weight: 600; }
.tc__total dt { color: var(--tc-black); font-size: 15px; font-weight: 600; }
.tc__total dd { font-size: 16px; }
.tc__compare { padding: 12px 20px; border-top: 1px solid var(--tc-card-line); background: var(--tc-selected); }
.rn-tuition h4 { font-size: 15px; font-weight: 600; line-height: 1.48; }
.tc__compare h4 { color: var(--tc-blue); }
.rn-tuition .tc__comparison { margin-top: 8px; }
.tc__comparison > div { font-size: 13px; }
.tc__comparison > div + div { margin-top: 4px; }
.tc__comparison dt { min-width: 0; color: var(--tc-ink); font-weight: 300; }
.rn-tuition .tc__difference { margin-top: 12px; padding: 6px 12px; border-radius: 100px; background: #fff; color: var(--tc-blue); text-align: center; font-size: 15px; font-weight: 600; }
.tc__difference strong { color: var(--tc-caution); font-weight: 600; }
.tc__preview { margin-top: 24px; }
.tc__preview > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 8px; padding: 0 1px 1px 0; border-radius: 8px; }
.tc__preview h4 { color: var(--tc-black); }
.rn-tuition .tc__preview button, .tc__preview-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; min-height: 60px; margin: 0 -1px -1px 0; padding: 2px 16px; border: 1px solid var(--tc-line); background: #fff; text-align: center; }
.rn-tuition .tc__preview > div > :first-child { border-radius: 8px 0 0 8px; }
.rn-tuition .tc__preview > div > :last-child { border-radius: 0 8px 8px 0; }
.rn-tuition .tc__preview .is-selected { position: relative; z-index: 1; border-color: var(--tc-blue); background: var(--tc-selected); color: var(--tc-blue); }
.tc__preview :is(small,strong) { display: block; }
.tc__preview small { margin-bottom: 2px; color: var(--tc-muted); font-size: 13px; font-weight: 300; }
.tc__preview strong { font-size: 15px; font-weight: 600; line-height: 1.24; }
.tc__preview .is-selected small { font-weight: 500; }
.tc__footer { margin-top: auto; padding: 16px 24px; border-top: 1px solid #e9e9e9; }
.rn-tuition .tc__disclaimer { margin-bottom: 12px; color: #707070; font-size: 12px; font-weight: 300; line-height: 1.48; text-align: center; }
.tc__actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; }
.tc__actions button, .tc__alert-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 12px; border-radius: 8px; background: #414141; color: #fff; font: 600 16px/1 var(--rn-font-title, 'S-Core Dream', sans-serif); }
.rn-tuition button.tc__primary { background: var(--tc-blue); color: #fff; }
.tc__empty { padding: 40px 0 0; text-align: center; }
.rn-tuition .tc__empty-icon { display: block; width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: var(--tc-beige) url('../img/renewal/tuition/calculator.svg') no-repeat center; }
.tc__empty > p { color: var(--tc-sub); font-size: 16px; font-weight: 500; line-height: 1.48; }
.tc__empty ul { margin-top: 40px; text-align: left; }
.tc__empty li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 8px; color: #8a8a8a; font-size: 16px; font-weight: 600; line-height: 1.32; }
.tc__empty li:first-child { padding-top: 0; }
.tc__empty li:last-child { padding-bottom: 0; }
.tc__empty li + li { border-top: 1px solid var(--tc-dim-line); }
.tc__empty li > span:first-child { display: flex; align-items: center; gap: 8px; }
.tc__empty li > span:first-child::before { content: ''; flex-shrink: 0; width: 10px; height: 10px; background: url('../img/renewal/tuition/check-pending.svg') no-repeat center; }
.tc__empty li.is-complete { color: var(--tc-ink); }
.tc__empty li.is-complete > span:first-child::before { background-image: url('../img/renewal/tuition/admission-check.svg'); }
.tc__empty li span:last-child { max-width: 55%; font-size: 14px; text-align: right; }
.tc__alert-layer { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 24px; }
.tc__alert { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 360px; max-width: 100%; max-height: 100%; padding: 24px; border-radius: 10px; overflow-y: auto; overscroll-behavior: contain; background: #fff; text-align: center; }
.tc__alert h2 { color: #000; font-size: 20px; font-weight: 600; line-height: 1.32; }
.tc__alert > p { color: var(--tc-muted); font-size: 16px; font-weight: 300; line-height: 1.48; white-space: pre-line; }
.tc__alert-actions { display: flex; gap: 6px; width: 100%; margin-top: 12px; }
.tc__alert-actions button { flex: 1; }
.rn-tuition .tc__offline { padding: 10px 24px; background: #fff4db; color: #85601d; font-size: 14px; }
.tc__sr, .tc__jump, .tc__jump-back { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0); white-space: nowrap; }
.tc__jump:focus-visible, .tc__jump-back:focus-visible { position: static !important; width: auto !important; height: auto !important; padding: 8px !important; margin: 0 !important; clip: auto; white-space: normal; color: var(--tc-blue); }
.rn-tuition .tc__mobile { display: none; }
.tc__breakdown > .tc__eligibility { align-items: stretch; justify-content: flex-start; gap: 0; margin-top: 2px; border-radius: 4px; overflow: hidden; }
.tc__eligibility dt { display: flex; align-items: center; flex-shrink: 0; padding: 2px 10px; background: #dbe4f5; color: #000; font-size: 13px; font-weight: 600; line-height: 1; }
.tc__eligibility dd { flex: 1; min-width: 0; margin: 0; padding: 2px 8px; border: 2px solid #dbe4f5; border-left: 0; border-radius: 0 4px 4px 0; color: var(--tc-sub); font-size: 13px; font-weight: 300; line-height: 1.48; word-break: normal; }
@media (min-width: 768px) {
    .tc__scroll { display: flex; overflow: hidden; scrollbar-gutter: auto; }
    .tc__layout { flex: 1; min-height: 0; min-width: 0; }
    .tc__conditions { min-height: 0; overflow-y: auto; scrollbar-gutter: stable; overscroll-behavior: contain; }
    .tc__result { position: static; align-self: stretch; min-height: 0; overflow: hidden; }
    .tc__result-main { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
    .tc__footer { flex-shrink: 0; }
}
@media (min-width: 768px) and (max-width: 1100px) {
    .tc__header > div:first-child { align-items: flex-start; flex-direction: column; gap: 6px; }
    .tc__header p { font-size: 14px; }
    .tc__layout { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); }
    .tc__group, .rn-tuition fieldset.tc__step { padding: 20px 16px; }
    .tc__group fieldset.tc__step { padding: 0; }
    .tc__option > span { padding: 8px 10px 8px 36px; }
    .tc__option > span::before { left: 10px; }
    .tc__option small { font-size: 12px; }
    .tc__options--admission { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .tc__options--scholarship { grid-template-columns: repeat(2,minmax(0,1fr)); }
    :is(.tc__options--admission,.tc__options--scholarship) .tc__option:nth-child(n):nth-child(n) { border-radius: 0; }
    :is(.tc__options--admission,.tc__options--scholarship) .tc__option:nth-child(n):first-child { border-top-left-radius: 7px; }
    .tc__options--admission .tc__option:nth-child(n):nth-child(2), .tc__options--scholarship .tc__option:nth-child(n):nth-child(2) { border-top-right-radius: 7px; }
    .tc__options--admission .tc__option:nth-child(n):nth-child(2n+1):nth-last-child(-n+2), .tc__options--scholarship .tc__option:nth-child(n):nth-child(2n+1):nth-last-child(-n+2) { border-bottom-left-radius: 7px; }
    .tc__options--admission .tc__option:nth-child(n):nth-child(2n):last-child, .tc__options--scholarship .tc__option:nth-child(n):nth-child(2n):last-child { border-bottom-right-radius: 7px; }
    :is(.tc__options--admission,.tc__options--scholarship) .tc__option--empty:nth-child(n):nth-child(2n):last-child { border-bottom-right-radius: 7px; }
    .tc__single { position: static !important; margin-top: 8px !important; }
    .tc__scholarship-note { flex-wrap: wrap; padding: 12px; }
    .tc__scholarship-note .tc__info-icon { display: none; }
    .tc__result-main { padding: 24px 16px; }
    .tc__footer { padding: 16px; }
    .rn-tuition .tc__breakdown, .tc__compare { padding: 16px 12px; }
    .tc__comparison dd {  text-align: right; }
    .tc__preview strong { font-size: 14px; }
}
@media (max-width: 767px) {
    .rn-calc { cursor: pointer; }
    .rn-tuition { padding: max(16px,env(safe-area-inset-top)) 10px max(16px,env(safe-area-inset-bottom)); }
    .rn-tuition .tc__desktop { display: none; }
    .rn-tuition .tc__mobile { display: block; }
    .tc__header .tc__mobile { display: inline; }
    .tc__dialog { height: calc(100vh - 32px); height: calc(100svh - 32px); max-height: calc(100vh - 32px); max-height: calc(100dvh - max(16px,env(safe-area-inset-top)) - max(16px,env(safe-area-inset-bottom))); }
    .tc__header { display: block; min-height: 136px; padding: 0; }
    .tc__header > div:first-child { display: block; }
    .tc__header h2 { height: 56px; padding: 18px 48px 18px 16px; border-bottom: 1px solid var(--tc-line); font-size: 20px; line-height: 20px; }
    .tc__header p { max-width: calc(100% - 122px); padding: 16px; font-size: 16px; font-weight: 500; line-height: 1.48; }
    .tc__tools { position: absolute; inset: 0; display: block; pointer-events: none; }
    .tc__tools [data-tc-reset] { position: absolute; right: 16px; bottom: 23px; font-size: 13px; pointer-events: auto; }
    .rn-tuition .tc__close { position: absolute; top: 16px; right: 16px; pointer-events: auto; }
    .tc__layout { display: block; }
    .tc__conditions { padding: 16px 16px 32px; }
    .tc__group, .rn-tuition fieldset.tc__step { padding: 20px 16px; }
    .tc__group fieldset.tc__step { padding: 0; }
    .tc__step legend { font-size: 16px; }
    .tc__option > span, .tc__options--type .tc__option > span { min-height: 48px; padding: 12px 6px; text-align: center; }
    .tc__option > span::before { display: none; }
    .tc__option strong { font-size: 16px; font-weight: 600; }
    .tc__options--type small, .tc__options--credits small { display: none; }
    .tc__select { width: 100%; min-height: 48px; padding: 12px 38px 12px 16px; border: 1px solid var(--tc-line); border-radius: 6px; appearance: none; background: #fff url('../img/renewal/tuition/dropdown.svg') no-repeat right 12px center; color: var(--tc-muted); font-size: 16px; font-weight: 300; }
    .tc__select:disabled { background-color: #f6f4f3; opacity: 1; }
    .tc__step .tc__locked { display: none; }
    .tc__step.is-empty .tc__locked { display: block; }
    .tc__step.is-empty .tc__select { display: none; }
    .rn-tuition .tc__single { position: static; margin-top: 10px; font-size: 14px; }
    .tc__scholarship-note { display: block; padding: 12px; }
    .tc__scholarship-note .tc__info-icon { display: none; }
    .tc__scholarship-note p { font-size: 14px; }
    .tc__scholarship-note a { margin-top: 12px; margin-left: 0; padding: 8px 12px; font-size: 13px; }
    .tc__result { position: static; min-height: 0; }
    .tc__result.is-incomplete { display: none; }
    .tc__result-main { min-height: 700px; padding: 32px 16px 24px; }
    .tc__result h3 { font-size: 18px; }
    .tc__summary { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 0 24px; }
    .tc__tags span { font-size: 14px; }
    .rn-tuition .tc__amount { margin-top: 32px; }
    .tc__amount strong, .tc__amount > span { font-size: 40px; }
    .tc__discount-summary { flex-direction: row; justify-content: flex-end; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 12px; font-size: 14px; }
    .rn-tuition .tc__breakdown { padding: 21px; }
    .tc__compare { padding: 20px; }
    .tc__breakdown > div { font-size: 15px; }
    .tc__breakdown > div + div { margin-top: 8px; }
    .tc__total dt, .tc__total dd { font-size: 16px; }
    .rn-tuition .tc__comparison { margin-top: 10px; }
    .tc__comparison > div { align-items: flex-end; font-size: 14px; }
    .tc__comparison dt { flex: 1; }
    .tc__comparison dt > span { display: block; }
    .tc__comparison dd { white-space: nowrap; }
    .tc__comparison > div + div { margin-top: 8px; }
    .rn-tuition .tc__difference { margin-top: 16px; }
    .tc__preview { margin-top: 32px; }
    .tc__preview h4 { font-size: 16px; }
    .tc__preview > div { margin-top: 12px; }
    .rn-tuition .tc__preview button, .tc__preview-cell { padding: 2px 8px; }
    .tc__preview strong { font-size: 15px; }
    .tc__preview small { font-size: 14px; }
    .tc__footer { padding: 24px 16px; }
    .rn-tuition .tc__disclaimer { font-size: 14px; margin-bottom: 16px; }
    .tc__alert-layer { padding: 16px; }
    .tc__alert h2 { font-size: 20px; }
}
@media (max-width: 359px) {
    .tc__header h2 { font-size: 18px; }
    .tc__header p { max-width: calc(100% - 110px); padding: 12px; font-size: 15px; }
    .tc__tools { right: 12px; }
    .tc__tools [data-tc-reset] { padding: 8px; }
    .tc__group, .rn-tuition fieldset.tc__step { padding: 16px 12px; }
    .tc__group fieldset.tc__step { padding: 0; }
    .tc__amount strong, .tc__amount > span { font-size: 32px; }
    .tc__actions button { gap: 6px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .rn-tuition * { transition: none !important; scroll-behavior: auto !important; }
}
