.preparation-admission-page {
    --pap-ink: #102640;
    --pap-ink-soft: #1b3b59;
    --pap-muted: #586b7d;
    --pap-green: #24cf8b;
    --pap-green-dark: #087b58;
    --pap-mint: #e9fbf4;
    --pap-blue: #246daf;
    --pap-sky: #edf6ff;
    --pap-coral: #c85f4a;
    --pap-coral-soft: #fff0ec;
    --pap-gold: #b98516;
    --pap-warm: #fff8e8;
    --pap-line: #d6e3ec;
    --pap-paper: #f6f9fb;
    --pap-white: #fff;
    color: var(--pap-ink);
    background: var(--pap-white);
    font-family: inherit;
    overflow: clip;
}

body.tands-preparation-admission-view main.inner-page {
    max-width: none;
    padding: 0;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.preparation-admission-page *,
.preparation-admission-page *::before,
.preparation-admission-page *::after { box-sizing: border-box; }
.preparation-admission-page button { font: inherit; }
.preparation-admission-page a,
.preparation-admission-page button { -webkit-tap-highlight-color: transparent; }
.preparation-admission-page :focus-visible { outline: 3px solid #f0b73e; outline-offset: 3px; }
.preparation-admission-page a[aria-disabled="true"] { cursor: default; }

.pap-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.pap-hero {
    position: relative;
    min-height: 650px;
    display: grid;
    align-items: end;
    isolation: isolate;
    background: #102a43;
}

.pap-hero__image,
.pap-hero__veil {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pap-hero__image {
    z-index: -2;
    object-fit: cover;
    object-position: center 47%;
}

.pap-hero__veil {
    z-index: -1;
    background: rgba(8, 27, 44, .84);
}

.pap-hero__content {
    padding-block: 112px 70px;
    color: var(--pap-white);
}

.pap-eyebrow,
.pap-kicker {
    margin: 0 0 14px;
    color: var(--pap-green);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0;
}

.pap-hero h1 {
    max-width: 980px;
    margin: 0;
    color: var(--pap-white);
    font-size: 56px;
    line-height: 1.22;
    letter-spacing: 0;
}

.pap-hero__lead {
    max-width: 920px;
    margin: 24px 0 0;
    color: #f2f7fa;
    font-size: 20px;
    line-height: 1.9;
}

.pap-hero__support {
    max-width: 900px;
    margin: 10px 0 0;
    color: #cddae4;
    font-size: 16px;
    line-height: 1.85;
}

.pap-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.pap-actions--center { justify-content: center; }
.pap-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 23px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 900;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.pap-button:hover { transform: translateY(-2px); }
.pap-button--primary { color: #063226 !important; background: var(--pap-green); }
.pap-button--primary:hover { background: #4bdda6; }
.pap-button--ghost { color: var(--pap-white) !important; border-color: rgba(255,255,255,.52); background: rgba(255,255,255,.08); }
.pap-button--ghost:hover { background: rgba(255,255,255,.16); }
.pap-button--outline { color: var(--pap-white) !important; border-color: rgba(255,255,255,.65); background: transparent; }
.pap-button--outline:hover { background: rgba(255,255,255,.1); }

.pap-facts {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--pap-line);
    background: var(--pap-white);
}
.pap-facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pap-facts article {
    min-height: 116px;
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 22px 23px;
    border-inline-start: 1px solid var(--pap-line);
}
.pap-facts article:first-child { border-inline-start: 0; }
.pap-facts span {
    min-width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    color: var(--pap-green-dark);
    background: var(--pap-mint);
    font-size: 12px;
    font-weight: 900;
}
.pap-facts p { margin: 0; color: var(--pap-muted); font-size: 14px; line-height: 1.7; }

.pap-main { background: var(--pap-white); }
.pap-section { padding-block: 88px; }
.pap-section__header { max-width: 790px; margin-bottom: 38px; }
.pap-section__header--wide { max-width: 930px; }
.pap-section__header--light h2,
.pap-section__header--light p:not(.pap-kicker) { color: var(--pap-white); }
.pap-section__header h2,
.pap-section__split-head h2 {
    margin: 0;
    color: var(--pap-ink);
    font-size: 40px;
    line-height: 1.3;
    letter-spacing: 0;
}
.pap-section__header > p:not(.pap-kicker),
.pap-section__split-head > p {
    max-width: 770px;
    margin: 14px 0 0;
    color: var(--pap-muted);
    font-size: 17px;
    line-height: 1.85;
}
.pap-section__split-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr);
    gap: 68px;
    align-items: end;
    margin-bottom: 38px;
}
.pap-section__split-head > p { margin: 0; }
.pap-lead { color: var(--pap-ink); font-size: 19px; line-height: 1.9; }

.pap-intro { background: var(--pap-paper); }
.pap-intro__layout {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.15fr);
    gap: 85px;
    align-items: start;
}
.pap-intro__copy > p { margin: 0 0 18px; color: var(--pap-muted); line-height: 1.9; }
.pap-principle {
    margin-top: 28px;
    padding: 22px 24px;
    border-inline-start: 4px solid var(--pap-green);
    background: var(--pap-white);
}
.pap-principle strong { display: block; margin-bottom: 7px; color: var(--pap-green-dark); }
.pap-principle p { margin: 0; color: var(--pap-ink-soft); line-height: 1.8; }

.pap-branches { background: var(--pap-white); scroll-margin-top: 96px; }
.pap-branches__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pap-branches article {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--pap-line);
    border-top: 4px solid var(--pap-green);
    border-radius: 6px;
    background: var(--pap-white);
}
.pap-branches article > span { color: var(--pap-blue); font-size: 13px; font-weight: 900; }
.pap-branches h3 { margin: 15px 0 10px; color: var(--pap-ink); font-size: 22px; line-height: 1.45; }
.pap-branches p { margin: 0; color: var(--pap-muted); line-height: 1.8; }
.pap-branches a,
.pap-text-link {
    width: fit-content;
    margin-top: auto;
    padding-top: 20px;
    color: var(--pap-green-dark) !important;
    font-weight: 900;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 5px;
}

.pap-journey { color: var(--pap-white); background: var(--pap-ink); scroll-margin-top: 96px; }
.pap-journey__list { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.pap-journey__list li {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 26px 0;
    border-top: 1px solid rgba(255,255,255,.16);
}
.pap-journey__list li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.pap-journey__list span {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(36,207,139,.55);
    border-radius: 50%;
    color: var(--pap-green);
    font-weight: 900;
}
.pap-journey__list h3 { margin: 0 0 7px; color: var(--pap-white); font-size: 23px; }
.pap-journey__list p { max-width: 920px; margin: 0; color: #cfdce6; line-height: 1.85; }

.pap-two-files { background: var(--pap-sky); }
.pap-two-files__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pap-two-files article { padding: 32px; border: 1px solid #bdd5e8; border-radius: 6px; background: var(--pap-white); }
.pap-card-label { margin: 0 0 12px; color: var(--pap-blue); font-size: 13px; font-weight: 900; }
.pap-two-files h3 { margin: 0 0 20px; font-size: 26px; }
.pap-two-files ul { margin: 0; padding: 0 20px 0 0; color: var(--pap-muted); }
.pap-two-files li { margin-bottom: 11px; line-height: 1.75; }
.pap-two-files__note { margin: 22px 0 0; padding: 20px 24px; color: var(--pap-ink); border-inline-start: 4px solid var(--pap-blue); background: var(--pap-white); font-weight: 800; }

.pap-inputs { background: var(--pap-white); }
.pap-inputs__layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.2fr); gap: 76px; align-items: start; }
.pap-inputs__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--pap-line); list-style: none; }
.pap-inputs__list li { min-height: 82px; display: flex; gap: 13px; align-items: center; padding: 18px; border-bottom: 1px solid var(--pap-line); }
.pap-inputs__list li:nth-child(odd) { border-inline-end: 1px solid var(--pap-line); }
.pap-inputs__list span { color: var(--pap-green-dark); font-size: 12px; font-weight: 900; }

.pap-documents { background: var(--pap-paper); }
.pap-documents__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--pap-line); background: var(--pap-white); }
.pap-documents article { min-height: 210px; padding: 25px 20px; border-inline-start: 1px solid var(--pap-line); }
.pap-documents article:first-child { border-inline-start: 0; }
.pap-documents h3 { margin: 0 0 12px; color: var(--pap-ink); font-size: 19px; line-height: 1.5; }
.pap-documents p { margin: 0; color: var(--pap-muted); font-size: 14px; line-height: 1.8; }
.pap-source-rule { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 25px; align-items: center; margin-top: 20px; padding: 22px 25px; border: 1px solid #bfe5d5; background: var(--pap-mint); }
.pap-source-rule strong { color: var(--pap-green-dark); }
.pap-source-rule p { margin: 0; color: var(--pap-ink-soft); line-height: 1.75; }
.pap-source-rule a { padding-top: 0; }

.pap-timing { color: var(--pap-white); background: #173653; }
.pap-timing__layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.05fr); gap: 76px; align-items: start; }
.pap-timing__gates { margin: 0; padding: 0; list-style: none; }
.pap-timing__gates li { display: grid; grid-template-columns: 140px 1fr; gap: 22px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.17); }
.pap-timing__gates li:last-child { border-bottom: 1px solid rgba(255,255,255,.17); }
.pap-timing__gates span { color: var(--pap-green); font-weight: 900; }
.pap-timing__gates p { margin: 0; color: #d3dfe8; line-height: 1.75; }

.pap-evidence { background: var(--pap-warm); }
.pap-evidence__layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .62fr); gap: 58px; align-items: start; }
.pap-evidence__copy > p { margin: 0 0 18px; color: var(--pap-muted); line-height: 1.9; }
.pap-evidence__limit { margin-top: 25px; padding: 22px; border: 1px solid #e3cb91; background: var(--pap-white); }
.pap-evidence__limit strong { display: block; margin-bottom: 7px; color: var(--pap-gold); }
.pap-evidence__limit p { margin: 0; color: var(--pap-ink-soft); line-height: 1.75; }
.pap-evidence__questions { margin: 0; padding: 0; border-top: 1px solid #ddc789; list-style: none; }
.pap-evidence__questions li { padding: 17px 8px; border-bottom: 1px solid #ddc789; color: var(--pap-ink); font-weight: 800; }

.pap-payment { background: var(--pap-white); }
.pap-payment__layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.18fr); gap: 80px; align-items: start; }
.pap-text-link { display: inline-block; margin-top: 8px; }
.pap-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--pap-line); list-style: none; }
.pap-checklist li { position: relative; min-height: 72px; display: flex; align-items: center; padding: 16px 45px 16px 15px; border-bottom: 1px solid var(--pap-line); color: var(--pap-ink-soft); line-height: 1.65; }
.pap-checklist li:nth-child(odd) { border-inline-end: 1px solid var(--pap-line); }
.pap-checklist li::before { content: "✓"; position: absolute; inset-inline-start: 13px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: var(--pap-green-dark); background: var(--pap-mint); font-size: 13px; font-weight: 900; }

.pap-arrival { background: var(--pap-paper); }
.pap-arrival__sequence { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--pap-line); background: var(--pap-white); }
.pap-arrival__sequence article { min-height: 210px; padding: 26px; border-inline-start: 1px solid var(--pap-line); }
.pap-arrival__sequence article:first-child { border-inline-start: 0; }
.pap-arrival__sequence span { color: var(--pap-coral); font-size: 13px; font-weight: 900; }
.pap-arrival__sequence h3 { margin: 15px 0 10px; font-size: 21px; }
.pap-arrival__sequence p { margin: 0; color: var(--pap-muted); line-height: 1.8; }

.pap-first-day { color: var(--pap-white); background: var(--pap-ink); }
.pap-first-day__layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.05fr); gap: 75px; align-items: start; }
.pap-first-day__panel { padding: 30px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.pap-first-day__panel h3 { margin: 0 0 18px; color: var(--pap-green); font-size: 22px; }
.pap-first-day__panel ul { margin: 0; padding: 0 20px 0 0; color: #edf3f7; }
.pap-first-day__panel li { margin-bottom: 9px; line-height: 1.7; }
.pap-first-day__panel > p { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); color: #cbd8e2; line-height: 1.8; }

.pap-special { background: var(--pap-white); }
.pap-special__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pap-special article { padding: 30px; border: 1px solid var(--pap-line); border-inline-start: 4px solid var(--pap-coral); background: var(--pap-white); }
.pap-special h3 { margin: 0 0 12px; font-size: 23px; }
.pap-special p { margin: 0; color: var(--pap-muted); line-height: 1.85; }

.pap-mistakes { background: var(--pap-coral-soft); }
.pap-mistakes__layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.2fr); gap: 75px; align-items: start; }
.pap-mistakes__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.pap-mistakes__list li { position: relative; min-height: 86px; padding: 18px 42px 18px 15px; border-bottom: 1px solid #e8c9c2; color: var(--pap-ink-soft); line-height: 1.7; }
.pap-mistakes__list li:nth-child(odd) { border-inline-end: 1px solid #e8c9c2; }
.pap-mistakes__list li::before { content: "!"; position: absolute; inset-inline-start: 12px; top: 19px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: var(--pap-white); background: var(--pap-coral); font-size: 12px; font-weight: 900; }

.pap-faq { background: var(--pap-white); }
.pap-faq__layout { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.2fr); gap: 76px; align-items: start; }
.pap-faq__list { border-top: 1px solid var(--pap-line); }
.pap-faq details { border-bottom: 1px solid var(--pap-line); }
.pap-faq summary { position: relative; padding: 21px 42px 21px 4px; color: var(--pap-ink); font-weight: 900; line-height: 1.6; cursor: pointer; list-style: none; }
.pap-faq summary::-webkit-details-marker { display: none; }
.pap-faq summary::before { content: "+"; position: absolute; inset-inline-start: 8px; top: 20px; width: 25px; height: 25px; display: grid; place-items: center; color: var(--pap-green-dark); background: var(--pap-mint); font-size: 18px; }
.pap-faq details[open] summary::before { content: "−"; }
.pap-faq details p { margin: 0; padding: 0 4px 22px; color: var(--pap-muted); line-height: 1.85; }

.pap-final-cta { padding-block: 82px; color: var(--pap-white); text-align: center; background: #153651; }
.pap-final-cta h2 { max-width: 850px; margin: 0 auto; color: var(--pap-white); font-size: 42px; line-height: 1.35; }
.pap-final-cta > .pap-shell > p:not(.pap-eyebrow) { max-width: 800px; margin: 18px auto 0; color: #d2dee7; font-size: 18px; line-height: 1.85; }
.pap-review-note { padding-block: 22px; border-top: 1px solid var(--pap-line); background: var(--pap-paper); }
.pap-review-note .pap-shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 25px; }
.pap-review-note p { margin: 0; color: var(--pap-muted); font-size: 13px; line-height: 1.7; }

@media (max-width: 1024px) {
    .pap-hero h1 { font-size: 48px; }
    .pap-facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pap-facts article:nth-child(3) { border-inline-start: 0; border-top: 1px solid var(--pap-line); }
    .pap-facts article:nth-child(4) { border-top: 1px solid var(--pap-line); }
    .pap-branches__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pap-documents__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pap-documents article:nth-child(4) { border-top: 1px solid var(--pap-line); border-inline-start: 0; }
    .pap-documents article:nth-child(5) { border-top: 1px solid var(--pap-line); }
    .pap-source-rule { grid-template-columns: 1fr; gap: 10px; }
    .pap-arrival__sequence { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pap-arrival__sequence article:nth-child(3) { border-top: 1px solid var(--pap-line); border-inline-start: 0; }
    .pap-arrival__sequence article:nth-child(4) { border-top: 1px solid var(--pap-line); }
}

@media (max-width: 760px) {
    .pap-shell { width: min(100% - 28px, 1180px); }
    .pap-hero { min-height: 620px; }
    .pap-hero__content { padding-block: 92px 50px; }
    .pap-hero h1 { font-size: 38px; line-height: 1.3; }
    .pap-hero__lead { font-size: 18px; line-height: 1.8; }
    .pap-hero__support { font-size: 15px; }
    .pap-actions { flex-direction: column; }
    .pap-button { width: 100%; min-height: 52px; }
    .pap-facts__grid { grid-template-columns: 1fr; }
    .pap-facts article { min-height: auto; border-inline-start: 0; border-top: 1px solid var(--pap-line); }
    .pap-facts article:first-child { border-top: 0; }
    .pap-section { padding-block: 64px; }
    .pap-section__header h2,
    .pap-section__split-head h2 { font-size: 32px; }
    .pap-section__split-head,
    .pap-intro__layout,
    .pap-inputs__layout,
    .pap-timing__layout,
    .pap-evidence__layout,
    .pap-payment__layout,
    .pap-first-day__layout,
    .pap-mistakes__layout,
    .pap-faq__layout { grid-template-columns: 1fr; gap: 34px; }
    .pap-section__split-head > p { margin-top: 0; }
    .pap-branches__grid,
    .pap-two-files__grid,
    .pap-inputs__list,
    .pap-checklist,
    .pap-special__grid,
    .pap-mistakes__list { grid-template-columns: 1fr; }
    .pap-branches article { min-height: auto; }
    .pap-journey__list li { grid-template-columns: 50px minmax(0, 1fr); gap: 15px; }
    .pap-journey__list span { width: 42px; height: 42px; }
    .pap-journey__list h3 { font-size: 20px; }
    .pap-inputs__list li:nth-child(odd),
    .pap-checklist li:nth-child(odd),
    .pap-mistakes__list li:nth-child(odd) { border-inline-end: 0; }
    .pap-documents__grid { grid-template-columns: 1fr; }
    .pap-documents article { min-height: auto; border-inline-start: 0; border-top: 1px solid var(--pap-line); }
    .pap-documents article:first-child { border-top: 0; }
    .pap-timing__gates li { grid-template-columns: 110px 1fr; gap: 15px; }
    .pap-arrival__sequence { grid-template-columns: 1fr; }
    .pap-arrival__sequence article { min-height: auto; border-inline-start: 0; border-top: 1px solid var(--pap-line); }
    .pap-arrival__sequence article:first-child { border-top: 0; }
    .pap-final-cta h2 { font-size: 34px; }
    .pap-review-note .pap-shell { display: block; }
    .pap-review-note p + p { margin-top: 6px; }
}

@media (max-width: 430px) {
    .pap-hero h1 { font-size: 33px; }
    .pap-section__header h2,
    .pap-section__split-head h2 { font-size: 29px; }
    .pap-branches article,
    .pap-two-files article,
    .pap-first-day__panel,
    .pap-special article { padding: 23px; }
    .pap-timing__gates li { grid-template-columns: 1fr; gap: 5px; }
    .pap-final-cta h2 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    .pap-button { transition: none; }
    .pap-button:hover { transform: none; }
}
