:root {
    --sim-ink: #180735;
    --sim-muted: #787487;
    --sim-line: #dedbea;
    --sim-soft: #f7f5fb;
    --sim-accent: #6d18ff;
    --sim-accent-2: #ff5b16;
    --sim-teal: #18c9b7;
}

html {
    margin-top: 0 !important;
}

.tngsf-sim-body {
    margin: 0;
    color: var(--sim-ink);
    background: #ffffff;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

.tngsf-sim a,
.tngsf-results-page a,
.tngsf-school-detail a {
    color: inherit;
    text-decoration: none;
}

.tngsf-school-detail,
.tngsf-school-detail * {
    box-sizing: border-box;
}

.tngsf-sim {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr;
}

.tngsf-sim-top {
    width: min(620px, calc(100% - 40px));
    margin: 18px auto 0;
    display: grid;
    gap: 14px;
    justify-items: center;
}

.tngsf-sim-logo {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0;
    color: var(--sim-accent);
}

.tngsf-sim-logo.is-logo-only,
.tngsf-results-brand.is-logo-only {
    width: auto;
    min-width: 0;
    min-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.tngsf-sim-logo.is-logo-only img,
.tngsf-results-brand.is-logo-only img {
    width: auto;
    height: auto;
    max-width: 190px;
    max-height: 58px;
    display: block;
    object-fit: contain;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.tngsf-sim-progress {
    height: 8px;
    width: 100%;
    background: #eeeaf5;
    border-radius: 999px;
    overflow: hidden;
}

.tngsf-sim-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--sim-accent);
    border-radius: inherit;
    transition: width 0.25s ease;
}

.tngsf-sim-form {
    min-height: calc(100vh - 80px);
    display: grid;
    grid-template-rows: 1fr auto;
}

.tngsf-sim-step {
    display: none;
    width: min(820px, calc(100% - 48px));
    margin: 0 auto;
    padding: 62px 0 24px;
}

.tngsf-sim-step.active {
    display: block;
}

.tngsf-sim-step.shake {
    animation: tngsf-sim-shake 0.24s ease;
}

@keyframes tngsf-sim-shake {
    0%, 100% { transform: translateX(0); }
    35% { transform: translateX(-8px); }
    70% { transform: translateX(8px); }
}

.tngsf-sim-copy {
    display: grid;
    grid-template-columns: 1fr 72px;
    gap: 20px;
    align-items: start;
    margin-bottom: 30px;
}

.tngsf-sim-copy h1 {
    margin: 0;
    max-width: 620px;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.18;
    letter-spacing: 0;
    color: var(--sim-ink);
}

.tngsf-sim-copy p {
    margin: 16px 0 0;
    max-width: 620px;
    color: var(--sim-muted);
    font-size: 16px;
    line-height: 1.42;
}

.tngsf-sim-copy svg {
    width: 50px;
    height: 50px;
    stroke: var(--sim-accent);
    stroke-width: 3;
    margin-top: 12px;
}

.tngsf-sim-choices {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 14px;
}

.tngsf-sim-choice {
    min-height: 104px;
    border: 1px solid var(--sim-line);
    border-radius: 8px;
    background: #fbf9fe;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 16px;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.tngsf-sim-choice:hover,
.tngsf-sim-choice.selected {
    border-color: var(--sim-accent);
    background: #f0eaff;
    transform: translateY(-2px);
}

.tngsf-sim-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tngsf-sim-choice span {
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
}

.tngsf-sim-contact {
    width: min(460px, 100%);
    display: grid;
    gap: 10px;
}

.tngsf-french-test {
    display: grid;
    gap: 18px;
}

.tngsf-test-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 14px;
}

.tngsf-test-option {
    min-height: 86px;
    border: 1px solid var(--sim-line);
    border-radius: 8px;
    background: #fbf9fe;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 14px;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.tngsf-test-option:hover,
.tngsf-test-option.selected {
    border-color: var(--sim-accent);
    background: #f0eaff;
    transform: translateY(-2px);
}

.tngsf-test-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tngsf-test-option span {
    font-size: 16px;
    font-weight: 850;
    line-height: 1.25;
}

.tngsf-test-details {
    width: min(760px, 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: center;
}

.tngsf-test-details[hidden] {
    display: none;
}

.tngsf-sim-contact input,
.tngsf-test-details input,
.tngsf-test-details select,
.tngsf-info-form input,
.tngsf-info-form select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--sim-line);
    border-radius: 8px;
    padding: 13px 15px;
    font-size: 15px;
    color: var(--sim-ink);
    background: #fbf9fe;
    outline: none;
}

.tngsf-test-details input,
.tngsf-test-details select {
    min-height: 86px;
    text-align: center;
    font-size: 18px;
    font-weight: 850;
    color: var(--sim-ink);
    appearance: none;
}

.tngsf-test-details input::-webkit-outer-spin-button,
.tngsf-test-details input::-webkit-inner-spin-button {
    opacity: 1;
}

.tngsf-sim-contact input:focus,
.tngsf-info-form input:focus,
.tngsf-info-form select:focus {
    border-color: var(--sim-accent);
}

.tngsf-sim-footer {
    width: min(820px, calc(100% - 48px));
    margin: 0 auto;
    padding: 12px 0 24px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.tngsf-sim-back,
.tngsf-sim-next,
.tngsf-sim-submit,
.tngsf-primary-btn,
.tngsf-outline-btn {
    min-height: 42px;
    border-radius: 999px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.tngsf-sim-launch {
    width: fit-content;
}

.tngsf-sim-back {
    width: 42px;
    padding: 0;
    border: 1px solid var(--sim-line);
    background: #fff;
    color: var(--sim-ink);
}

.tngsf-sim-back:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.tngsf-sim-next,
.tngsf-sim-submit,
.tngsf-primary-btn {
    color: #fff;
    background: var(--sim-accent);
}

.tngsf-outline-btn {
    border: 2px solid #c9c4dc;
    background: #fff;
    color: var(--sim-ink);
}

.tngsf-results-page {
    min-height: 100vh;
    background: #f7f8fc;
    padding: 0 0 34px;
}

.tngsf-results-page,
.tngsf-results-page * {
    box-sizing: border-box;
}

.tngsf-results-page :where(a, a:hover, a:focus, a:active) {
    color: inherit !important;
    text-decoration: none !important;
    outline: 0 !important;
}

.tngsf-results-page :where(button, input, select) {
    font-family: inherit !important;
}

.tngsf-results-page :where(button, input, select, a):focus,
.tngsf-results-page :where(button, input, select, a):focus-visible {
    outline: 0 !important;
    box-shadow: none !important;
}

.tngsf-results-page :where(button, .tngsf-primary-btn, .tngsf-outline-btn, .tngsf-reset-filters):hover,
.tngsf-results-page :where(button, .tngsf-primary-btn, .tngsf-outline-btn, .tngsf-reset-filters):active {
    text-decoration: none !important;
}

.tngsf-results-page .tngsf-school-card[hidden] {
    display: none !important;
}

.tngsf-results-topbar,
.tngsf-results-layout {
    width: min(1320px, calc(100% - 52px));
    margin: 0 auto;
}

.tngsf-results-topbar {
    min-height: 68px;
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    border-bottom: 1px solid #e6e9f3;
}

.tngsf-results-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    color: #0d1428;
    font-weight: 900;
}

.tngsf-results-brand span {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #7027ff, #5517d9);
    box-shadow: 0 10px 24px rgba(109, 24, 255, 0.25);
    position: relative;
}

.tngsf-results-brand span::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 6px;
    background: #fff;
}

.tngsf-results-brand.is-logo-only img {
    max-width: 170px;
    max-height: 48px;
}

.tngsf-muted {
    color: var(--sim-muted);
}

.tngsf-results-search {
    width: min(100%, 1080px);
    min-height: 56px;
    border: 1px solid #dfe4f0;
    border-radius: 8px;
    background: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 50px;
    align-items: center !important;
    gap: 14px;
    padding: 8px 10px 8px 22px;
    box-sizing: border-box;
    box-shadow: 0 8px 22px rgba(19, 29, 53, 0.03);
    cursor: text;
    justify-self: center;
}

.tngsf-results-search svg {
    width: 24px;
    height: 24px;
    stroke: #53617d;
}

.tngsf-results-search input,
.tngsf-results-search-input,
.tngsf-results-sort select {
    width: 100% !important;
    min-width: 0;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #26324a;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    appearance: none;
    -webkit-appearance: none;
}

.tngsf-results-search input,
.tngsf-results-search-input {
    display: block !important;
    max-width: none !important;
    margin: 0 !important;
    min-height: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    padding: 0 !important;
    cursor: text;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

.tngsf-results-search input::placeholder {
    color: #76829c;
}

.tngsf-results-search button {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #f4f0ff !important;
    color: var(--sim-accent) !important;
    display: grid !important;
    place-items: center !important;
    cursor: pointer;
    box-shadow: none !important;
}

.tngsf-results-search button:hover,
.tngsf-results-search button:active {
    background: var(--sim-accent) !important;
    color: #fff !important;
}

.tngsf-results-search button svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.tngsf-results-layout {
    display: grid;
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    padding-top: 34px;
}

.tngsf-mobile-filter-toggle {
    display: none;
}

.tngsf-results-filters {
    position: sticky;
    top: 24px;
    background: #fff;
    border-radius: 8px;
    padding: 22px;
    display: grid;
    gap: 20px;
    min-width: 0;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(20, 29, 51, 0.05);
}

.tngsf-results-filter-panel {
    display: grid;
    gap: 20px;
}

.tngsf-filter-panel-head,
.tngsf-results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.tngsf-filter-panel-head h2,
.tngsf-results-toolbar h1 {
    margin: 0;
    color: #0c1020;
    font-weight: 900;
}

.tngsf-filter-panel-head h2 {
    font-size: 21px;
}

.tngsf-results-toolbar {
    margin: 5px 0 16px;
}

.tngsf-results-toolbar h1 {
    font-size: 25px;
    line-height: 1.15;
}

.tngsf-filter-group {
    border-top: 1px solid #e8ebf3;
    padding-top: 18px;
    min-width: 0;
}

.tngsf-filter-group h3 {
    margin: 0 0 14px;
    color: #151b2d;
    font-size: 16px;
    font-weight: 900;
}

.tngsf-filter-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 30px;
    margin: 8px 0;
    color: #3f4960;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.tngsf-filter-group label.is-filter-hidden {
    display: none;
}

.tngsf-filter-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1px solid #c8cfdd;
    border-radius: 5px;
    background: #fff;
    accent-color: var(--sim-accent);
    display: inline-grid;
    place-items: center;
    flex: 0 0 18px;
    cursor: pointer;
    position: relative;
}

.tngsf-filter-group input[type="checkbox"]::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 45%;
    width: 8px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translate(-50%, -50%) rotate(-45deg);
    opacity: 0;
}

.tngsf-filter-group input[type="checkbox"]:hover {
    border-color: var(--sim-accent);
}

.tngsf-filter-group input[type="checkbox"]:checked {
    border-color: var(--sim-accent);
    background: var(--sim-accent);
}

.tngsf-filter-group input[type="checkbox"]:checked::after {
    opacity: 1;
}

.tngsf-filter-more {
    width: fit-content;
    margin-top: 10px;
    border: 0;
    background: transparent;
    color: var(--sim-accent);
    padding: 0;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.tngsf-filter-more:hover {
    color: #5712d8;
}

.tngsf-price-range {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.tngsf-price-slider {
    position: relative;
    width: 100%;
    height: 24px;
    border-radius: 999px;
    background: transparent;
    overflow: visible;
}

.tngsf-price-slider::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 999px;
    background: #e7ebf3;
}

.tngsf-price-slider span {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: inherit;
    background: var(--sim-accent);
    pointer-events: none;
    max-width: 100%;
}

.tngsf-price-slider span::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -9px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 2px var(--sim-accent);
    transform: translateY(-50%);
    pointer-events: none;
}

.tngsf-price-slider input {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.tngsf-price-slider input::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--sim-accent);
    background: #fff;
    box-shadow: 0 2px 8px rgba(109, 24, 255, 0.18);
}

.tngsf-price-slider input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--sim-accent);
    background: #fff;
    box-shadow: 0 2px 8px rgba(109, 24, 255, 0.18);
}

.tngsf-price-range div {
    display: flex;
    justify-content: space-between;
    color: #4d5565;
    font-size: 13px;
    font-weight: 800;
}

.tngsf-reset-filters {
    width: fit-content !important;
    border: 0;
    background: transparent;
    color: var(--sim-accent);
    padding: 0;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: none !important;
}

.tngsf-reset-filters:hover {
    color: #5712d8 !important;
    background: transparent !important;
}

.tngsf-reset-filters svg {
    width: 15px;
    height: 15px;
}

.tngsf-school-actions .tngsf-primary-btn {
    color: #fff !important;
}

.tngsf-school-actions .tngsf-primary-btn:hover,
.tngsf-school-actions .tngsf-primary-btn:active,
.tngsf-no-results .tngsf-primary-btn:hover,
.tngsf-no-results .tngsf-primary-btn:active {
    background: #5712d8 !important;
    color: #fff !important;
}

.tngsf-no-results {
    border: 1px solid #e1e5ef;
    border-radius: 8px;
    background: #fff;
    padding: 38px;
    color: #5d687f;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 12px 34px rgba(20, 29, 51, 0.05);
}

.tngsf-no-results h2 {
    margin: 0 0 8px;
    color: #111729;
    font-size: 24px;
}

.tngsf-no-results p {
    margin: 0 0 20px;
}

.tngsf-results-content {
    min-width: 0;
}

.tngsf-results-sort {
    min-width: 196px;
    min-height: 44px;
    border: 1px solid #dfe4f0;
    border-radius: 8px;
    background: #fff;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    color: #202940;
    font-size: 14px;
    font-weight: 900;
    position: relative;
    text-align: center;
}

.tngsf-results-sort::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #202940;
    border-bottom: 2px solid #202940;
    transform: rotate(45deg);
    position: absolute;
    right: 15px;
    top: 15px;
    pointer-events: none;
}

.tngsf-results-sort select {
    padding: 0 24px 0 0 !important;
    font-weight: 800;
    text-align: center;
    text-align-last: center;
}

.tngsf-results-loading {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #59647c;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
}

.tngsf-results-loading[hidden],
.tngsf-no-results[hidden],
.tngsf-results-pagination[hidden] {
    display: none;
}

.tngsf-results-loading span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #e3ddff;
    border-top-color: var(--sim-accent);
    animation: tngsf-spin 0.8s linear infinite;
}

@keyframes tngsf-spin {
    to {
        transform: rotate(360deg);
    }
}

.tngsf-school-list {
    display: grid;
    gap: 16px;
}

.tngsf-school-card {
    background: #fff;
    border: 1px solid #e1e5ef;
    border-radius: 8px;
    padding: 18px;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 26px;
    box-shadow: 0 12px 34px rgba(20, 29, 51, 0.05);
}

.tngsf-school-media {
    min-height: 238px;
    border-radius: 8px;
    background: #eef1f7;
    position: relative;
    overflow: hidden;
    display: block;
}

.tngsf-school-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tngsf-school-placeholder {
    width: 100%;
    height: 100%;
    min-height: 238px;
    display: grid;
    place-items: center;
    color: var(--sim-accent);
}

.tngsf-school-placeholder svg {
    width: 42px;
    height: 42px;
}

.tngsf-school-logo {
    position: absolute;
    left: 24px;
    bottom: 22px;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background: transparent;
    display: grid;
    place-items: center;
    color: var(--sim-accent);
    font-size: 28px;
    font-weight: 900;
    box-shadow: 0 10px 26px rgba(20, 7, 53, 0.12);
    overflow: hidden;
}

.tngsf-school-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    padding: 0;
    box-sizing: border-box;
}

.tngsf-school-info {
    padding: 10px 6px 0 0;
    min-width: 0;
}

.tngsf-school-name {
    display: block;
    color: var(--sim-muted);
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 10px;
}

.tngsf-school-info h2 {
    margin: 0 0 12px;
    color: #050915;
    font-size: 23px;
    line-height: 1.22;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tngsf-program-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.tngsf-program-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    border-radius: 999px;
    padding: 0 11px;
    background: #edf1ff;
    color: #263c95;
    font-size: 13px;
    font-weight: 850;
}

.tngsf-program-badges .is-domain {
    background: #143a83;
    color: #fff;
}

.tngsf-program-badges .is-rhythm {
    background: #fff1c9;
    color: #8a5b00;
}

.tngsf-program-badges .is-language {
    background: #ffe4f1;
    color: #be185d;
}

.tngsf-school-meta,
.tngsf-school-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tngsf-school-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 20px 0 16px;
    padding: 16px 18px;
    border-radius: 10px;
    background: #f7f5fb;
}

.tngsf-school-meta div {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 2px 12px;
    align-items: center;
    min-width: 0;
    padding: 0 20px;
    border-left: 1px solid #dfe1ea;
}

.tngsf-school-meta div:first-child {
    border-left: 0;
    padding-left: 0;
}

.tngsf-school-meta svg {
    width: 24px;
    height: 24px;
    stroke: var(--sim-accent);
    grid-row: span 2;
}

.tngsf-school-meta span {
    color: #6f7890;
    font-size: 13px;
    font-weight: 800;
}

.tngsf-school-meta strong {
    min-width: 0;
    color: #0d1324;
    font-size: 14px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.tngsf-school-meta .tngsf-meta-price small {
    display: inline;
    margin-left: 2px;
    color: #626d84;
    font-size: 11px;
    font-weight: 800;
}

.tngsf-school-description {
    margin: 0;
    color: #546079;
    font-size: 15px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tngsf-school-actions {
    border-top: 1px solid #e8ebf3;
    margin-top: 24px;
    padding-top: 16px;
    justify-content: flex-end;
    gap: 10px;
}

.tngsf-card-spacer {
    flex: 1 1 auto;
}

.tngsf-school-actions .tngsf-outline-btn {
    background: #fff;
    border: 1px solid #d9deea;
    color: #101727;
}

.tngsf-school-actions .tngsf-outline-btn:hover,
.tngsf-school-actions .tngsf-outline-btn:active {
    background: #f4f0ff !important;
    border-color: #d7c8ff !important;
    color: var(--sim-accent) !important;
}

.tngsf-school-actions a,
.tngsf-no-results button {
    min-height: 46px;
    border-radius: 8px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    box-sizing: border-box;
}

.tngsf-results-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
    max-width: 100%;
}

.tngsf-results-pagination button,
.tngsf-results-pagination a {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    border: 1px solid #dfe4f0;
    border-radius: 8px;
    background: #fff;
    color: #1d2638;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(20, 29, 51, 0.04);
    text-decoration: none;
}

.tngsf-results-pagination button.active,
.tngsf-results-pagination a.active {
    background: var(--sim-accent);
    border-color: var(--sim-accent);
    color: #fff;
}

.tngsf-results-pagination button:disabled,
.tngsf-results-pagination a.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.tngsf-results-pagination-ellipsis {
    width: 26px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7b8498;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.tngsf-detail-hero {
    min-height: 320px;
    position: relative;
    background: #283044;
    overflow: hidden;
}

.tngsf-detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tngsf-detail-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 7, 18, 0.62);
}

.tngsf-detail-hero-content,
.tngsf-detail-body {
    width: min(1260px, calc(100% - 48px));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tngsf-detail-hero-content {
    padding: 42px 0;
    color: #fff;
}

.tngsf-back-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 24px;
    font-weight: 800;
}

.tngsf-detail-titleline {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 20px;
}

.tngsf-detail-logo {
    width: 88px;
    height: 88px;
    border-radius: 8px;
    background: transparent;
    color: var(--sim-accent);
    display: grid;
    place-items: center;
    font-size: 36px;
    font-weight: 900;
    overflow: hidden;
}

.tngsf-detail-logo img {
    position: static;
    inset: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    padding: 0;
    box-sizing: border-box;
}

.tngsf-detail-heading {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.14;
    font-weight: 900;
}

.tngsf-detail-titleline p {
    margin: 0 0 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 20px;
    font-weight: 900;
}

.tngsf-detail-body {
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: 54px;
    padding: 70px 0;
}

.tngsf-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 42px;
    margin-bottom: 28px;
}

.tngsf-feature {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 22px;
    align-items: center;
}

.tngsf-feature svg {
    width: 74px;
    height: 74px;
    padding: 18px;
    border-radius: 14px;
    background: #f4f0ff;
    stroke: var(--sim-accent);
    stroke-width: 2.25;
}

.tngsf-feature span {
    display: block;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 900;
}

.tngsf-feature strong {
    display: block;
    margin-top: 4px;
    font-size: 20px;
}

.tngsf-detail-body h2 {
    font-size: 34px;
    margin: 0 0 20px;
}

.tngsf-detail-description {
    font-size: 21px;
    line-height: 1.6;
    margin: 0;
}

.tngsf-formation-accordion {
    max-width: 920px;
    margin: 0 0 22px;
    border: 1px solid #e1d9f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(30, 13, 66, 0.06);
    overflow: hidden;
}

.tngsf-formation-accordion summary {
    list-style: none;
    cursor: pointer;
    min-height: 74px;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #170a35;
    font-size: 24px;
    font-weight: 900;
}

.tngsf-formation-accordion summary::-webkit-details-marker {
    display: none;
}

.tngsf-formation-accordion summary span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.tngsf-formation-accordion summary i {
    width: 24px;
    height: 24px;
    color: var(--sim-accent);
    stroke-width: 2.5;
}

.tngsf-formation-accordion summary > i {
    transition: transform 0.2s ease;
}

.tngsf-formation-accordion[open] summary > i {
    transform: rotate(180deg);
}

.tngsf-formation-accordion-content {
    padding: 0 26px 26px;
    color: #22123e;
}

.tngsf-objectives-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.tngsf-objectives-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 19px;
    line-height: 1.45;
    color: #22123e;
}

.tngsf-objectives-list li i,
.tngsf-objectives-list li svg {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    padding: 4px;
    border-radius: 999px;
    color: #6d18ff;
    stroke: currentColor;
    background: #f1eaff;
    stroke-width: 4;
    box-sizing: border-box;
}

.tngsf-school-detail-summary {
    max-width: 860px;
    margin: 0 0 44px;
    padding: 20px 24px;
    border-left: 4px solid #efe8ff;
    border-radius: 0 10px 10px 0;
    background: #fbfaff;
}

.tngsf-school-detail-summary h2 {
    margin: 0 0 8px;
    color: #170a35;
    font-size: 22px;
    line-height: 1.25;
}

.tngsf-school-detail-summary p {
    margin: 0;
    color: #5f6578;
    font-size: 16px;
    line-height: 1.55;
}

.tngsf-info-form {
    border: 1px solid #dfe5ef;
    border-radius: 18px;
    padding: 30px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(30, 13, 66, 0.06);
    align-self: start;
    position: sticky;
    top: 28px;
}

.tngsf-tuition-box {
    display: grid;
    gap: 22px;
}

.tngsf-tuition-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    column-gap: 12px;
}

.tngsf-tuition-head > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #5f6578;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0;
}

.tngsf-tuition-head strong {
    color: #079455;
    font-size: 24px;
    font-weight: 950;
    line-height: 1;
    text-align: right;
}

.tngsf-tuition-head small {
    grid-column: 2;
    margin-top: 1px;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

.tngsf-application-free-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fbfaff 0%, #f4efff 100%);
}

.tngsf-application-free-card > i {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    color: var(--sim-accent);
    stroke-width: 2.4;
}

.tngsf-application-free-card strong,
.tngsf-application-free-card span {
    display: block;
}

.tngsf-application-free-card strong {
    color: #170a35;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
}

.tngsf-application-free-card span {
    margin-top: 4px;
    color: #667085;
    font-size: 15px;
    font-weight: 700;
}

.tngsf-form-school {
    font-weight: 900;
}

.tngsf-info-form h2 {
    font-size: 28px;
    margin: 26px 0 22px;
}

.tngsf-info-form p {
    color: var(--sim-muted);
    font-weight: 700;
}

.tngsf-info-form form {
    display: grid;
    gap: 14px;
}

.tngsf-info-form input,
.tngsf-info-form select {
    font-size: 18px;
    padding: 18px 20px;
}

.tngsf-info-form button {
    width: 100%;
}

.tngsf-apply-detail-btn {
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
    margin-top: 0;
    min-height: 60px;
    padding: 0 28px;
    border-radius: 14px;
    color: #fff !important;
    text-align: center;
    font-size: 17px;
    font-weight: 900;
}

.tngsf-apply-detail-btn i {
    width: 25px;
    height: 25px;
}

.tngsf-detail-price {
    margin-top: 18px;
    color: #16a34a;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.35;
    text-align: center;
}

.tngsf-application-page {
    min-height: 100vh;
    background: #f7f8fc;
    color: #0b1020;
}

.tngsf-application-page,
.tngsf-application-page * {
    box-sizing: border-box;
}

.tngsf-application-page :where(a, a:hover, a:focus, a:active) {
    color: inherit !important;
    text-decoration: none !important;
}

.tngsf-application-page :where(input, select, button) {
    font-family: inherit !important;
}

.tngsf-application-topbar,
.tngsf-application-shell {
    width: min(1180px, calc(100% - 52px));
    margin: 0 auto;
}

.tngsf-application-topbar {
    min-height: 68px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e6e9f3;
}

.tngsf-application-shell {
    padding: 34px 0 48px;
}

.tngsf-application-heading {
    margin-bottom: 24px;
}

.tngsf-application-heading a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #56627d !important;
    font-size: 14px;
    font-weight: 850;
    margin-bottom: 16px;
}

.tngsf-application-heading a svg {
    width: 18px;
    height: 18px;
}

.tngsf-application-heading h1 {
    margin: 0;
    color: #080d1d;
    font-size: 38px;
    line-height: 1.08;
    font-weight: 900;
}

.tngsf-application-heading p {
    margin: 8px 0 0;
    color: #68748e;
    font-size: 16px;
}

.tngsf-application-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.tngsf-application-form {
    display: grid;
    gap: 16px;
}

.tngsf-application-card,
.tngsf-application-summary,
.tngsf-application-empty,
.tngsf-application-success {
    background: #fff;
    border: 1px solid #e1e5ef;
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(20, 29, 51, 0.06);
}

.tngsf-application-card {
    padding: 22px;
}

.tngsf-application-card-head {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: start;
    margin-bottom: 18px;
}

.tngsf-application-card-head > svg {
    width: 38px;
    height: 38px;
    padding: 9px;
    border-radius: 10px;
    background: #f1eaff;
    color: var(--sim-accent);
    stroke: currentColor;
}

.tngsf-application-card-head h2 {
    margin: 0;
    color: #0b1020;
    font-size: 18px;
    font-weight: 900;
}

.tngsf-application-card-head p {
    margin: 5px 0 0;
    color: #68748e;
    font-size: 14px;
    line-height: 1.55;
}

.tngsf-application-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tngsf-application-fields .is-wide {
    grid-column: 1 / -1;
}

.tngsf-application-fields label {
    display: grid;
    gap: 8px;
    color: #344158;
    font-size: 13px;
    font-weight: 850;
}

.tngsf-application-fields input:not([type="radio"]),
.tngsf-application-fields select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #dfe4f0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #0f172a !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    outline: 0 !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.tngsf-application-fields select {
    padding-right: 42px !important;
    background-image: linear-gradient(45deg, transparent 50%, #58647a 50%), linear-gradient(135deg, #58647a 50%, transparent 50%) !important;
    background-position: calc(100% - 19px) 50%, calc(100% - 13px) 50% !important;
    background-size: 6px 6px, 6px 6px !important;
    background-repeat: no-repeat !important;
}

.tngsf-application-fields select option {
    color: #0f172a;
    background: #fff;
}

.tngsf-field-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tngsf-required {
    color: #ef4444;
    font-weight: 900;
}

.tngsf-application-fields input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: .72;
    cursor: pointer;
}

.tngsf-application-fields small {
    color: #6b758c;
    font-size: 12px;
    font-weight: 750;
}

.tngsf-application-fields input:not([type="radio"]):focus,
.tngsf-application-fields select:focus {
    border-color: var(--sim-accent) !important;
    box-shadow: 0 0 0 3px rgba(109, 24, 255, 0.12) !important;
}

.tngsf-application-readonly {
    padding: 14px;
    border-radius: 10px;
    background: #f6f7fb;
    border: 1px solid #e2e6f0;
}

.tngsf-application-readonly > span {
    display: block;
    color: #6b758c;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 9px;
}

.tngsf-application-readonly label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #20283a;
    font-size: 14px;
    font-weight: 900;
}

.tngsf-application-readonly input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--sim-accent);
    opacity: .65;
}

.tngsf-application-radio-field {
    display: grid;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.tngsf-application-radio-field legend {
    margin: 0 0 8px;
    color: #344158;
    font-size: 13px;
    font-weight: 850;
}

.tngsf-application-city-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tngsf-application-radio {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #dfe4f0;
    border-radius: 8px;
    background: #fff;
    color: #1d2638;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.tngsf-application-radio input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1px solid #c8cfdd;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 4px #fff;
}

.tngsf-application-radio:has(input:checked) {
    border-color: var(--sim-accent);
    background: #f5f0ff;
    color: var(--sim-accent);
}

.tngsf-application-radio input:checked {
    border-color: var(--sim-accent);
    background: var(--sim-accent);
}

.tngsf-application-empty-choice {
    margin: 0;
    color: #68748e;
    font-size: 13px;
    font-weight: 800;
}

.tngsf-application-documents {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.tngsf-application-documents label {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #dfe4f0;
    border-radius: 8px;
    background: #fff;
}

.tngsf-application-documents label span {
    color: #344158;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 850;
}

.tngsf-application-documents label em {
    color: #ef4444;
    font-style: normal;
}

.tngsf-application-documents input[type="file"] {
    width: 100%;
    color: #68748e;
    font-size: 13px;
    font-weight: 750;
}

.tngsf-application-documents input[type="file"]::file-selector-button {
    min-height: 34px;
    margin-right: 10px;
    border: 0;
    border-radius: 8px;
    background: #f4f0ff;
    color: var(--sim-accent);
    padding: 0 12px;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.tngsf-application-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 4px 0 0;
}

.tngsf-application-actions a,
.tngsf-application-actions button,
.tngsf-application-empty a {
    min-height: 48px;
    border-radius: 8px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.tngsf-application-actions .tngsf-primary-btn,
.tngsf-application-empty .tngsf-primary-btn {
    border: 1px solid var(--sim-accent);
    color: #fff !important;
    background: var(--sim-accent);
}

.tngsf-application-summary {
    position: sticky;
    top: 24px;
    overflow: hidden;
}

.tngsf-application-summary > img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.tngsf-application-summary > div {
    padding: 20px;
}

.tngsf-application-summary span {
    color: #68748e;
    font-size: 13px;
    font-weight: 900;
}

.tngsf-application-summary h2 {
    margin: 8px 0 16px;
    color: #0b1020;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 900;
}

.tngsf-application-summary ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.tngsf-application-summary li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: center;
    color: #243047;
    font-size: 14px;
}

.tngsf-application-summary li svg {
    width: 22px;
    height: 22px;
    color: var(--sim-accent);
    stroke: currentColor;
}

.tngsf-application-success {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    margin-bottom: 18px;
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.tngsf-application-success svg {
    width: 26px;
    height: 26px;
}

.tngsf-application-success strong,
.tngsf-application-success span {
    display: block;
}

.tngsf-application-empty {
    width: min(640px, calc(100% - 32px));
    margin: 80px auto;
    padding: 32px;
    text-align: center;
}

.tngsf-application-empty h1 {
    margin: 0 0 8px;
}

.tngsf-application-empty p {
    margin: 0 0 20px;
    color: #68748e;
}

@media (max-width: 960px) {
    .tngsf-sim-copy,
    .tngsf-results-layout,
    .tngsf-school-card,
    .tngsf-detail-body,
    .tngsf-feature-grid,
    .tngsf-application-layout {
        grid-template-columns: 1fr;
    }

    .tngsf-sim-copy svg {
        display: none;
    }

    .tngsf-sim-choices {
        grid-template-columns: 1fr 1fr;
    }

    .tngsf-test-options {
        grid-template-columns: 1fr 1fr;
    }

    .tngsf-test-details {
        grid-template-columns: 1fr;
    }

    .tngsf-results-filters,
    .tngsf-info-form {
        position: static;
    }

    .tngsf-results-topbar {
        grid-template-columns: 1fr;
        gap: 16px;
        align-items: start;
        padding: 18px 0;
    }

    .tngsf-results-search {
        width: 100%;
        box-sizing: border-box;
    }

    .tngsf-school-media,
    .tngsf-school-placeholder {
        min-height: 220px;
    }

    .tngsf-school-info {
        padding-right: 0;
    }

    .tngsf-application-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .tngsf-sim-body,
    .tngsf-results-page {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .tngsf-sim-step {
        width: min(100% - 28px, 560px);
        padding-top: 44px;
    }

    .tngsf-sim-copy h1 {
        font-size: 36px;
    }

    .tngsf-sim-copy p {
        font-size: 20px;
    }

    .tngsf-sim-choices {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tngsf-sim-choice {
        min-height: 110px;
    }

    .tngsf-sim-choice span {
        font-size: 22px;
    }

    .tngsf-results-topbar,
    .tngsf-results-layout,
    .tngsf-detail-hero-content,
    .tngsf-detail-body {
        width: 100%;
        max-width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    .tngsf-results-layout {
        gap: 20px;
        padding-top: 22px;
    }

    .tngsf-results-content,
    .tngsf-results-filters,
    .tngsf-school-list,
    .tngsf-school-card,
    .tngsf-school-info,
    .tngsf-school-media,
    .tngsf-school-meta {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .tngsf-mobile-filter-toggle {
        width: 100%;
        min-height: 54px;
        border: 1px solid #dbe1ee;
        border-radius: 8px;
        background: #fff;
        color: #151b2d;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-size: 16px;
        font-weight: 900;
        box-shadow: 0 10px 26px rgba(20, 29, 51, 0.06);
    }

    .tngsf-mobile-filter-toggle svg {
        width: 20px;
        height: 20px;
        stroke: var(--sim-accent);
    }

    .tngsf-results-filters {
        display: none;
        padding: 18px;
    }

    .tngsf-results-page.is-filters-open .tngsf-results-filters {
        display: grid;
    }

    .tngsf-results-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .tngsf-results-sort {
        width: 100%;
        box-sizing: border-box;
    }

    .tngsf-school-card {
        padding: 14px;
        gap: 18px;
    }

    .tngsf-detail-hero-content,
    .tngsf-detail-body {
        width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .tngsf-detail-hero-content {
        padding-top: 28px;
        padding-bottom: 34px;
    }

    .tngsf-detail-titleline {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tngsf-detail-heading {
        font-size: 30px;
        overflow-wrap: anywhere;
    }

    .tngsf-detail-titleline p {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr);
        align-items: start;
        font-size: 17px;
        overflow-wrap: anywhere;
    }

    .tngsf-detail-titleline p i,
    .tngsf-detail-titleline p svg {
        width: 24px;
        height: 24px;
        flex: 0 0 auto;
    }

    .tngsf-feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tngsf-feature {
        grid-template-columns: 74px minmax(0, 1fr);
        align-items: start;
        gap: 20px;
    }

    .tngsf-feature svg {
        width: 74px;
        height: 74px;
        padding: 18px;
        border-radius: 14px;
    }

    .tngsf-feature strong {
        font-size: 18px;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .tngsf-school-detail-summary {
        margin-bottom: 34px;
        padding: 18px 18px 18px 22px;
    }

    .tngsf-school-detail-summary h2 {
        font-size: 21px;
        overflow-wrap: anywhere;
    }

    .tngsf-school-detail-summary p {
        font-size: 17px;
    }

    .tngsf-formation-accordion {
        width: 100%;
        max-width: 100%;
        border-radius: 14px;
        margin-bottom: 18px;
    }

    .tngsf-formation-accordion summary {
        min-height: 76px;
        padding: 18px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 24px;
        gap: 14px;
        font-size: 24px;
    }

    .tngsf-formation-accordion summary span {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .tngsf-formation-accordion summary i {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }

    .tngsf-formation-accordion-content {
        padding: 0 18px 22px;
    }

    .tngsf-detail-description {
        font-size: 17px;
        line-height: 1.55;
    }

    .tngsf-school-info h2 {
        font-size: 21px;
        overflow-wrap: anywhere;
    }

    .tngsf-program-badges,
    .tngsf-school-actions {
        min-width: 0;
        max-width: 100%;
    }

    .tngsf-school-meta {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
    }

    .tngsf-school-meta div,
    .tngsf-school-meta div:first-child {
        border-left: 0;
        padding: 0;
    }

    .tngsf-school-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .tngsf-school-actions a {
        width: 100%;
    }

    .tngsf-card-spacer {
        display: none;
    }

    .tngsf-results-pagination {
        gap: 6px;
        justify-content: center;
    }

    .tngsf-results-pagination button,
    .tngsf-results-pagination a {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        font-size: 14px;
    }

    .tngsf-results-pagination-ellipsis {
        width: 18px;
        height: 38px;
    }

    .tngsf-application-topbar,
    .tngsf-application-shell {
        width: calc(100% - 28px);
    }

    .tngsf-application-heading h1 {
        font-size: 32px;
    }

    .tngsf-application-card {
        padding: 18px;
    }

    .tngsf-application-fields {
        grid-template-columns: 1fr;
    }

    .tngsf-application-documents {
        grid-template-columns: 1fr;
    }

    .tngsf-application-actions {
        flex-direction: column;
    }

    .tngsf-application-actions a,
    .tngsf-application-actions button {
        width: 100%;
    }
}
