@charset "UTF-8";

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("./fonts/montserrat-cyrillic-ext.woff2") format("woff2");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("./fonts/montserrat-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("./fonts/montserrat-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("./fonts/montserrat-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * Ashyq Jurek Academy
 * All Academy styles are scoped to .tb-* classes or #tb-app so this bundle can
 * safely live beside the existing website.
 */

.tb-body,
#tb-app {
    --tb-green-950: #01391f;
    --tb-green-900: #024e2a;
    --tb-green-800: #006930;
    --tb-green-700: #038724;
    --tb-green-600: #038724;
    --tb-green-500: #63b44f;
    --tb-green-300: #a8d99c;
    --tb-green-200: #cfecc9;
    --tb-green-100: #e8f7e6;
    --tb-green-50: #f0fdf4;
    --tb-amber-900: #713f12;
    --tb-amber-800: #854d0e;
    --tb-amber-700: #a85d08;
    --tb-amber-600: #c9770a;
    --tb-amber-500: #e79720;
    --tb-amber-300: #f8cf84;
    --tb-amber-200: #fde4b3;
    --tb-amber-100: #fff3d9;
    --tb-amber-50: #fffaf0;
    --tb-red-800: #991b1b;
    --tb-red-700: #b42318;
    --tb-red-100: #fee4e2;
    --tb-red-50: #fff5f4;
    --tb-blue-800: #174ea6;
    --tb-blue-100: #e8f1ff;
    --tb-ink: #17351f;
    --tb-muted: #52645a;
    --tb-soft: #758179;
    --tb-line: #dbeadf;
    --tb-line-strong: #c5ddcb;
    --tb-surface: #ffffff;
    --tb-canvas: #f0fdf4;
    --tb-overlay: rgb(2 78 42 / 58%);
    --tb-shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 6%), 0 2px 4px -2px rgb(0 0 0 / 5%);
    --tb-shadow-md: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 6%);
    --tb-shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 12%), 0 8px 10px -6px rgb(0 0 0 / 8%);
    --tb-radius-sm: 10px;
    --tb-radius-md: 20px;
    --tb-radius-lg: 24px;
    --tb-radius-pill: 999px;
    --tb-container: 1160px;
    --tb-transition: 220ms ease;
    --tb-safe-bottom: env(safe-area-inset-bottom, 0px);
}

.tb-body {
    margin: 0;
    min-width: 280px;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--tb-canvas);
}

#tb-app,
#tb-app *,
#tb-app *::before,
#tb-app *::after {
    box-sizing: border-box;
}

#tb-app {
    min-height: 100vh;
    min-height: 100dvh;
    color: var(--tb-ink);
    background:
        radial-gradient(circle at 8% 0%, rgb(99 180 79 / 16%), transparent 28rem),
        var(--tb-canvas);
    font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

#tb-app [hidden] {
    display: none !important;
}

#tb-app img,
#tb-app picture {
    display: block;
    max-width: 100%;
}

#tb-app a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

#tb-app button,
#tb-app input,
#tb-app select,
#tb-app textarea {
    margin: 0;
    color: inherit;
    font: inherit;
}

#tb-app button,
#tb-app select {
    cursor: pointer;
}

#tb-app button:disabled,
#tb-app input:disabled,
#tb-app select:disabled,
#tb-app textarea:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

#tb-app :focus-visible {
    outline: 3px solid var(--tb-amber-500);
    outline-offset: 3px;
}

#tb-app ::selection {
    color: var(--tb-green-950);
    background: var(--tb-green-200);
}

.tb-skip-link {
    position: fixed;
    z-index: 1000;
    top: 8px;
    left: 8px;
    min-height: 48px;
    padding: 12px 18px;
    color: #fff !important;
    background: var(--tb-green-950);
    border-radius: var(--tb-radius-sm);
    transform: translateY(-160%);
    transition: transform var(--tb-transition);
}

.tb-skip-link:focus {
    transform: translateY(0);
}

.tb-container {
    width: min(100% - 24px, var(--tb-container));
    margin-inline: auto;
}

.tb-container--narrow {
    width: min(100% - 24px, 760px);
    margin-inline: auto;
}

.tb-main {
    padding-block: 22px 56px;
}

.tb-section {
    margin-block: 32px;
}

.tb-section--tight {
    margin-block: 20px;
}

.tb-eyebrow {
    margin: 0 0 8px;
    color: var(--tb-green-700);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1.2;
    text-transform: uppercase;
}

.tb-title,
.tb-heading,
.tb-subheading {
    margin-top: 0;
    color: var(--tb-ink);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.16;
}

.tb-title {
    margin-bottom: 14px;
    font-size: clamp(2rem, 8vw, 4.6rem);
}

.tb-heading {
    margin-bottom: 12px;
    font-size: clamp(1.55rem, 5vw, 2.45rem);
}

.tb-subheading {
    margin-bottom: 10px;
    font-size: clamp(1.15rem, 3.6vw, 1.45rem);
}

.tb-lead {
    max-width: 720px;
    margin: 0;
    color: var(--tb-muted);
    font-size: clamp(1.03rem, 2.8vw, 1.2rem);
}

.tb-muted {
    color: var(--tb-muted);
}

.tb-small {
    font-size: 0.875rem;
}

.tb-no-wrap {
    white-space: nowrap;
}

.tb-header {
    position: sticky;
    z-index: 60;
    top: 0;
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px max(16px, calc((100% - var(--tb-container)) / 2));
    color: #fff;
    background: rgb(0 105 48 / 97%);
    border-bottom: 1px solid rgb(255 255 255 / 14%);
    box-shadow: 0 4px 6px -1px rgb(2 78 42 / 28%), 0 2px 4px -2px rgb(2 78 42 / 20%);
    backdrop-filter: blur(12px);
}

.tb-header__inner {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tb-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    color: #fff !important;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none;
}

.tb-brand__logo {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    object-fit: contain;
    background: #fff;
    border: 2px solid rgb(255 255 255 / 35%);
    border-radius: 50%;
}

.tb-brand__text {
    overflow: hidden;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.tb-brand__text strong {
    color: #b9eca9;
}

.tb-brand__academy {
    display: block;
    color: var(--tb-green-200);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tb-lang {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 2px;
    padding: 3px;
    background: rgb(6 63 36 / 46%);
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: var(--tb-radius-pill);
}

.tb-language {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 2px;
    padding: 3px;
    background: rgb(6 63 36 / 46%);
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: var(--tb-radius-pill);
}

.tb-language a {
    display: inline-grid;
    min-width: 52px;
    min-height: 48px;
    padding: 8px 12px;
    place-items: center;
    color: rgb(255 255 255 / 78%);
    background: transparent;
    border-radius: var(--tb-radius-pill);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-decoration: none !important;
}

.tb-language a:hover {
    color: #fff;
    background: rgb(255 255 255 / 10%);
}

.tb-language a[aria-current="true"],
.tb-language a[aria-current="page"],
.tb-language a[aria-pressed="true"],
.tb-language a.tb-is-active {
    color: var(--tb-green-950);
    background: #fff;
    box-shadow: 0 2px 8px rgb(6 63 36 / 22%);
}

.tb-lang__button {
    min-width: 52px;
    min-height: 42px;
    padding: 8px 12px;
    color: rgb(255 255 255 / 78%);
    background: transparent;
    border: 0;
    border-radius: var(--tb-radius-pill);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.tb-lang__button:hover {
    color: #fff;
    background: rgb(255 255 255 / 10%);
}

.tb-lang__button[aria-pressed="true"],
.tb-lang__button.tb-is-active {
    color: var(--tb-green-950);
    background: #fff;
    box-shadow: 0 2px 8px rgb(6 63 36 / 22%);
}

.tb-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(42px, 8vw, 88px);
    background:
        radial-gradient(circle at 85% 18%, rgb(255 255 255 / 75%) 0 5%, transparent 5.5%),
        radial-gradient(circle at 90% 30%, rgb(57 166 95 / 16%) 0 13%, transparent 13.5%),
        linear-gradient(145deg, var(--tb-green-50), #fff 57%, var(--tb-amber-50));
    border-bottom: 1px solid var(--tb-line);
}

.tb-hero::after {
    position: absolute;
    right: -54px;
    bottom: -76px;
    width: 210px;
    height: 210px;
    background: var(--tb-amber-100);
    border-radius: 46% 54% 64% 36% / 57% 43% 57% 43%;
    content: "";
    opacity: 0.7;
    transform: rotate(14deg);
}

.tb-hero__content {
    position: relative;
    z-index: 1;
}

.tb-main > .tb-hero {
    width: min(100% - 24px, var(--tb-container));
    margin: 0 auto 24px;
    padding: clamp(28px, 7vw, 68px) clamp(20px, 6vw, 64px);
    border: 1px solid #d1eed0;
    border-radius: var(--tb-radius-lg);
    box-shadow: var(--tb-shadow-sm);
}

.tb-hero > h1 {
    max-width: 850px;
    margin: 0 0 14px;
    font-size: clamp(2rem, 8vw, 4.6rem);
    font-weight: 850;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.tb-hero > p:not(.tb-eyebrow) {
    max-width: 720px;
    margin: 0;
    color: var(--tb-muted);
    font-size: clamp(1rem, 2.8vw, 1.18rem);
}

.tb-hero__actions,
.tb-action-grid {
    display: grid;
    gap: 9px;
    margin-top: 20px;
}

.tb-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    color: var(--tb-green-900);
    background: #fff;
    border: 1px solid var(--tb-line-strong);
    border-radius: var(--tb-radius-pill);
    box-shadow: none;
    font-size: 0.98rem;
    font-weight: 760;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
    transition:
        color var(--tb-transition),
        background-color var(--tb-transition),
        border-color var(--tb-transition),
        box-shadow var(--tb-transition),
        transform var(--tb-transition);
}

.tb-button:hover {
    background: var(--tb-green-50);
    border-color: var(--tb-green-500);
    box-shadow: var(--tb-shadow-sm);
}

.tb-button:active {
    transform: translateY(1px);
}

.tb-button--primary {
    color: #fff;
    background: var(--tb-green-800);
    border-color: var(--tb-green-800);
    box-shadow: 0 8px 18px -6px rgb(0 105 48 / 46%);
}

.tb-button--primary:hover {
    color: #fff;
    background: var(--tb-green-900);
    border-color: var(--tb-green-900);
}

.tb-button--amber {
    color: var(--tb-amber-900);
    background: var(--tb-amber-100);
    border-color: var(--tb-amber-300);
}

.tb-button--parent {
    color: var(--tb-amber-900);
    background: var(--tb-amber-100);
    border-color: var(--tb-amber-300);
}

.tb-button--parent:hover {
    color: #fff;
    background: var(--tb-amber-700);
    border-color: var(--tb-amber-700);
}

.tb-button--tutor {
    color: #fff;
    background: var(--tb-green-800);
    border-color: var(--tb-green-800);
    box-shadow: 0 8px 18px -6px rgb(0 105 48 / 46%);
}

.tb-button--tutor:hover {
    color: #fff;
    background: var(--tb-green-900);
    border-color: var(--tb-green-900);
}

.tb-button--secondary {
    color: var(--tb-green-900);
    background: #fff;
    border-color: var(--tb-green-300);
}

.tb-button--link {
    color: var(--tb-green-800);
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.tb-button--disabled,
.tb-button[aria-disabled="true"] {
    color: #666f69;
    background: #eef1ef;
    border-color: #d8ded9;
    box-shadow: none;
    cursor: not-allowed;
}

.tb-button--amber:hover {
    color: #fff;
    background: var(--tb-amber-700);
    border-color: var(--tb-amber-700);
}

.tb-button--whatsapp {
    color: #fff;
    background: #147a40;
    border-color: #147a40;
    box-shadow: 0 8px 18px -6px rgb(20 122 64 / 42%);
}

.tb-button--whatsapp:hover {
    color: #fff;
    background: #0d6333;
    border-color: #0d6333;
}

.tb-button--ghost {
    color: var(--tb-green-800);
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.tb-button--ghost:hover {
    background: var(--tb-green-100);
    border-color: transparent;
    box-shadow: none;
}

.tb-button--danger {
    color: var(--tb-red-700);
    background: #fff;
    border-color: #eeb9b5;
}

.tb-button--danger:hover {
    color: #fff;
    background: var(--tb-red-700);
    border-color: var(--tb-red-700);
}

.tb-button--quiet {
    min-height: 44px;
    padding: 9px 13px;
    font-size: 0.88rem;
}

.tb-button--wide {
    width: 100%;
}

.tb-button__icon {
    display: inline-grid;
    width: 1.4em;
    height: 1.4em;
    flex: 0 0 auto;
    place-items: center;
    font-size: 1.1em;
    line-height: 1;
}

.tb-button__spinner {
    width: 20px;
    height: 20px;
    border: 3px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: tb-spin 700ms linear infinite;
    opacity: 0.8;
}

.tb-panel {
    padding: 20px;
    background: var(--tb-surface);
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius-md);
    box-shadow: var(--tb-shadow-sm);
}

.tb-panel--soft {
    background: var(--tb-green-50);
    border-color: var(--tb-green-200);
}

.tb-panel--warning {
    background: var(--tb-amber-50);
    border-color: var(--tb-amber-300);
}

.tb-panel--danger {
    background: var(--tb-red-50);
    border-color: #f3c6c2;
}

.tb-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    background: #e6ece8;
    border-radius: 18px;
}

.tb-main > .tb-tabs,
.tb-main > .tb-filters,
.tb-main > .tb-results-status,
.tb-main > .tb-card-list,
.tb-main > .tb-load-more {
    width: min(100% - 24px, var(--tb-container));
    margin-right: auto;
    margin-left: auto;
}

.tb-tab {
    display: inline-flex;
    min-width: 0;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    color: var(--tb-muted);
    background: transparent;
    border: 0;
    border-radius: 11px;
    font-size: clamp(0.78rem, 3vw, 0.94rem);
    font-weight: 780;
    line-height: 1.25;
    text-align: center;
}

.tb-tabs > a {
    display: inline-flex;
    min-width: 0;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    color: var(--tb-muted);
    background: transparent;
    border-radius: 11px;
    font-size: clamp(0.78rem, 3vw, 0.94rem);
    font-weight: 780;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
}

.tb-tabs > a:hover {
    color: var(--tb-ink);
    background: rgb(255 255 255 / 58%);
}

.tb-tabs > a[aria-current="page"],
.tb-tabs > a[aria-selected="true"],
.tb-tabs > a.tb-is-active {
    color: var(--tb-green-900);
    background: #fff;
    box-shadow: var(--tb-shadow-sm);
}

.tb-tabs > a[data-card-type="parent"][aria-current="page"],
.tb-tabs > a[data-card-type="parent"][aria-selected="true"] {
    color: var(--tb-amber-900);
}

.tb-tab:hover {
    color: var(--tb-ink);
    background: rgb(255 255 255 / 58%);
}

.tb-tab[aria-selected="true"],
.tb-tab.tb-is-active {
    color: var(--tb-green-900);
    background: #fff;
    box-shadow: var(--tb-shadow-sm);
}

.tb-tab[data-card-type="parent"][aria-selected="true"],
.tb-tab[data-type="parent"][aria-selected="true"] {
    color: var(--tb-amber-900);
}

.tb-filters {
    margin-block: 18px 24px;
    background: #fff;
    border: 1px solid var(--tb-green-200);
    border-radius: var(--tb-radius-md);
    box-shadow: var(--tb-shadow-sm);
}

.tb-filters__summary {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    color: var(--tb-green-900);
    cursor: pointer;
    font-weight: 780;
    list-style: none;
}

.tb-filters > summary {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    color: var(--tb-green-900);
    cursor: pointer;
    font-weight: 780;
    list-style: none;
}

.tb-filters > summary::-webkit-details-marker {
    display: none;
}

.tb-filters > summary::after {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: rotate(45deg) translateY(-3px);
    transition: transform var(--tb-transition);
}

.tb-filters[open] > summary::after {
    transform: rotate(225deg) translate(-2px, -2px);
}

.tb-filters > form {
    display: grid;
    gap: 14px;
    padding: 16px 18px 18px;
    border-top: 1px solid var(--tb-line);
}

.tb-filters > form > label {
    display: grid;
    gap: 7px;
    color: var(--tb-ink);
    font-size: 0.9rem;
    font-weight: 760;
}

.tb-filters > form select {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 11px 38px 11px 13px;
    color: var(--tb-ink);
    background-color: #fff;
    border: 1.5px solid var(--tb-line-strong);
    border-radius: 11px;
}

.tb-filters > form select:focus {
    border-color: var(--tb-green-700);
    box-shadow: 0 0 0 4px rgb(57 166 95 / 14%);
    outline: 0;
}

.tb-filters__summary::-webkit-details-marker {
    display: none;
}

.tb-filters__summary::after {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: rotate(45deg) translateY(-3px);
    transition: transform var(--tb-transition);
}

.tb-filters[open] .tb-filters__summary::after {
    transform: rotate(225deg) translate(-2px, -2px);
}

.tb-filters__body {
    padding: 4px 18px 18px;
    border-top: 1px solid var(--tb-line);
}

.tb-filter-grid {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.tb-field {
    min-width: 0;
}

.tb-label,
.tb-legend {
    display: block;
    margin: 0 0 7px;
    color: var(--tb-ink);
    font-size: 0.92rem;
    font-weight: 760;
}

.tb-legend {
    padding: 0;
}

.tb-required {
    color: var(--tb-red-700);
}

.tb-help {
    margin: 7px 0 0;
    color: var(--tb-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.tb-input,
.tb-select,
.tb-textarea {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    color: var(--tb-ink);
    background: #fff;
    border: 1.5px solid var(--tb-line-strong);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgb(20 52 33 / 3%);
    transition:
        border-color var(--tb-transition),
        box-shadow var(--tb-transition),
        background-color var(--tb-transition);
}

.tb-textarea {
    min-height: 120px;
    line-height: 1.5;
    resize: vertical;
}

.tb-input:hover,
.tb-select:hover,
.tb-textarea:hover {
    border-color: var(--tb-green-500);
}

.tb-input:focus,
.tb-select:focus,
.tb-textarea:focus {
    background: #fff;
    border-color: var(--tb-green-700);
    box-shadow: 0 0 0 4px rgb(57 166 95 / 14%);
    outline: 0;
}

.tb-input::placeholder,
.tb-textarea::placeholder {
    color: #89958e;
    opacity: 1;
}

.tb-input[aria-invalid="true"],
.tb-select[aria-invalid="true"],
.tb-textarea[aria-invalid="true"],
#tb-app .tb-is-invalid {
    border-color: var(--tb-red-700);
    box-shadow: 0 0 0 3px rgb(180 35 24 / 10%);
}

.tb-error {
    margin: 7px 0 0;
    color: var(--tb-red-700);
    font-size: 0.84rem;
    font-weight: 700;
}

.tb-form-error {
    margin-block: 16px;
    padding: 13px 15px;
    color: var(--tb-red-800);
    background: var(--tb-red-50);
    border: 1px solid #f2c3bf;
    border-radius: 12px;
    font-size: 0.9rem;
}

.tb-form-error:empty,
.tb-error:empty {
    display: none;
}

.tb-choice-grid,
.tb-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.tb-choice-grid--stack {
    display: grid;
}

.tb-chip,
.tb-choice {
    position: relative;
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    color: var(--tb-green-900);
    background: #fff;
    border: 1.5px solid var(--tb-line-strong);
    border-radius: var(--tb-radius-pill);
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 680;
    line-height: 1.25;
    text-align: center;
    transition:
        color var(--tb-transition),
        background-color var(--tb-transition),
        border-color var(--tb-transition),
        box-shadow var(--tb-transition),
        transform var(--tb-transition);
}

.tb-choice {
    width: 100%;
    min-height: 58px;
    justify-content: flex-start;
    border-radius: 14px;
    text-align: left;
}

.tb-chip:hover,
.tb-choice:hover {
    background: var(--tb-green-50);
    border-color: var(--tb-green-500);
}

.tb-chip:has(input:checked),
.tb-choice:has(input:checked),
.tb-chip.tb-is-selected,
.tb-choice.tb-is-selected {
    color: var(--tb-green-950);
    background: var(--tb-green-100);
    border-color: var(--tb-green-700);
    box-shadow: 0 0 0 2px rgb(22 137 71 / 10%);
}

.tb-chip input,
.tb-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.tb-chip:focus-within,
.tb-choice:focus-within {
    outline: 3px solid var(--tb-amber-500);
    outline-offset: 3px;
}

.tb-chip__mark,
.tb-choice__mark {
    display: inline-grid;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    place-items: center;
    background: #fff;
    border: 1.5px solid var(--tb-line-strong);
    border-radius: 50%;
    font-size: 0;
}

.tb-chip:has(input:checked) .tb-chip__mark,
.tb-choice:has(input:checked) .tb-choice__mark,
.tb-is-selected .tb-chip__mark,
.tb-is-selected .tb-choice__mark {
    color: #fff;
    background: var(--tb-green-800);
    border-color: var(--tb-green-800);
}

.tb-chip:has(input:checked) .tb-chip__mark::after,
.tb-choice:has(input:checked) .tb-choice__mark::after,
.tb-is-selected .tb-chip__mark::after,
.tb-is-selected .tb-choice__mark::after {
    width: 8px;
    height: 4px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    content: "";
    transform: translateY(-1px) rotate(-45deg);
}

.tb-results-bar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-block: 22px 14px;
}

.tb-results-status {
    margin-top: 17px;
    margin-bottom: 10px;
    color: var(--tb-muted);
    font-size: 0.82rem;
}

.tb-results-bar__count {
    margin: 0;
    color: var(--tb-muted);
    font-size: 0.9rem;
}

.tb-card-list {
    display: grid;
    gap: 12px;
}

.tb-card-group {
    display: grid;
    gap: 12px;
}

.tb-card-group + .tb-card-group {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--tb-line-strong);
}

.tb-card-group__title {
    margin: 0;
    color: var(--tb-muted);
    font-size: 0.82rem;
    font-weight: 780;
}

.tb-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--tb-line);
    border-top: 4px solid var(--tb-green-600);
    border-radius: var(--tb-radius-md);
    box-shadow: var(--tb-shadow-sm);
    transition:
        border-color var(--tb-transition),
        box-shadow var(--tb-transition),
        transform var(--tb-transition);
}

.tb-card--parent,
.tb-card[data-card-type="parent"] {
    border-top-color: var(--tb-amber-500);
}

.tb-card:hover {
    border-right-color: var(--tb-green-200);
    border-bottom-color: var(--tb-green-200);
    border-left-color: var(--tb-green-200);
    box-shadow: var(--tb-shadow-md);
    transform: translateY(-2px);
}

.tb-card--parent:hover,
.tb-card[data-card-type="parent"]:hover {
    border-right-color: var(--tb-amber-200);
    border-bottom-color: var(--tb-amber-200);
    border-left-color: var(--tb-amber-200);
}

.tb-card--inactive {
    background: #fbfcfb;
}

.tb-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 18px;
}

.tb-card__header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 13px;
}

.tb-card__heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 13px 13px 0;
}

.tb-avatar {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    overflow: hidden;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, var(--tb-green-600), var(--tb-green-900));
    border: 2px solid var(--tb-green-100);
    border-radius: 50%;
    font-size: 1.05rem;
    font-weight: 850;
    letter-spacing: 0.03em;
}

.tb-card__avatar {
    display: grid;
    width: 48px;
    height: 48px;
    overflow: hidden;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, var(--tb-green-600), var(--tb-green-900));
    border: 2px solid var(--tb-green-100);
    border-radius: 50%;
    object-fit: cover;
    font-size: 0.94rem;
    font-weight: 850;
}

.tb-card--parent .tb-card__avatar {
    color: var(--tb-amber-900);
    background: linear-gradient(145deg, var(--tb-amber-100), var(--tb-amber-300));
    border-color: var(--tb-amber-100);
}

.tb-card--parent .tb-avatar,
.tb-card[data-card-type="parent"] .tb-avatar {
    color: var(--tb-amber-900);
    background: linear-gradient(145deg, var(--tb-amber-100), var(--tb-amber-300));
    border-color: var(--tb-amber-100);
}

.tb-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tb-card__identity {
    min-width: 0;
}

.tb-card__name {
    margin: 3px 0 0;
    overflow-wrap: anywhere;
    font-size: 1.18rem;
    font-weight: 820;
    letter-spacing: -0.018em;
    line-height: 1.22;
}

.tb-card__title {
    margin: 2px 0 0;
    overflow-wrap: anywhere;
    font-size: 1.04rem;
    font-weight: 820;
    letter-spacing: -0.018em;
    line-height: 1.22;
}

.tb-card__title a {
    text-decoration: none;
}

.tb-card__status {
    display: inline-flex;
    margin-top: 4px;
    padding: 3px 7px;
    color: var(--tb-green-900);
    background: var(--tb-green-50);
    border: 1px solid var(--tb-green-200);
    border-radius: var(--tb-radius-pill);
    font-size: 0.66rem;
    font-weight: 760;
}

.tb-card--inactive .tb-card__status {
    color: #5e625f;
    background: #f0f1f0;
    border-color: #d7dbd8;
}

.tb-card__name a {
    text-decoration: none;
}

.tb-card__name a::after {
    position: absolute;
    inset: 0;
    content: "";
}

.tb-card__name a:focus-visible {
    border-radius: 4px;
    outline-offset: 4px;
}

.tb-card__name a:focus-visible::after {
    outline: 3px solid var(--tb-amber-500);
    outline-offset: -5px;
}

.tb-card__role {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--tb-green-700);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.tb-card--parent .tb-card__role,
.tb-card[data-card-type="parent"] .tb-card__role {
    color: var(--tb-amber-800);
}

.tb-card__summary,
.tb-card__bio {
    position: relative;
    margin: 15px 0 0;
    color: var(--tb-muted);
    overflow-wrap: anywhere;
}

.tb-card__text {
    position: relative;
    margin: 10px 13px 0;
    color: var(--tb-muted);
    font-size: 0.82rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.tb-card-list .tb-card__text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tb-card-list .tb-card > .tb-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.tb-card-list .tb-card > .tb-chips::-webkit-scrollbar {
    display: none;
}

.tb-card__meta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 9px;
    margin-top: 9px;
    color: var(--tb-muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.tb-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tb-badges {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px;
}

.tb-chips {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 10px 13px 0;
}

.tb-chips > .tb-chip {
    min-height: 26px;
    padding: 3px 8px;
    color: var(--tb-green-900);
    background: var(--tb-green-100);
    border: 1px solid var(--tb-green-200);
    cursor: default;
    font-size: 0.72rem;
    font-weight: 730;
}

.tb-card--parent .tb-chips > .tb-chip {
    color: var(--tb-amber-900);
    background: var(--tb-amber-100);
    border-color: var(--tb-amber-200);
}

.tb-card > .tb-card__meta {
    margin-right: 13px;
    margin-left: 13px;
}

.tb-card__experience {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.tb-badge {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    color: var(--tb-green-900);
    background: var(--tb-green-100);
    border: 1px solid var(--tb-green-200);
    border-radius: var(--tb-radius-pill);
    font-size: 0.72rem;
    font-weight: 730;
    line-height: 1.2;
}

.tb-badge--amber,
.tb-card--parent .tb-badge--subject,
.tb-card[data-card-type="parent"] .tb-badge--subject {
    color: var(--tb-amber-900);
    background: var(--tb-amber-100);
    border-color: var(--tb-amber-200);
}

.tb-badge--neutral {
    color: #465149;
    background: #eef2ef;
    border-color: #dfe5e1;
}

.tb-badge--score {
    color: var(--tb-blue-800);
    background: var(--tb-blue-100);
    border-color: #ccddfa;
}

.tb-badge--status {
    color: var(--tb-green-900);
    background: var(--tb-green-50);
    border-color: var(--tb-green-300);
}

.tb-badge--inactive {
    color: #5e625f;
    background: #f0f1f0;
    border-color: #d7dbd8;
}

.tb-card__actions {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: auto;
    padding: 11px 13px 13px;
    border-top: 1px solid var(--tb-line);
}

.tb-card__actions--single {
    grid-template-columns: 1fr;
}

.tb-card__actions .tb-button {
    min-width: 0;
    min-height: 48px;
    padding: 8px 6px;
    font-size: 0.77rem;
}

.tb-card__admin {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 10px 18px;
    background: #f6f3ff;
    border-top: 1px solid #e3dcfa;
}

.tb-load-more {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

a.tb-load-more {
    width: min(100% - 32px, 360px);
    margin-top: 24px;
    margin-right: auto;
    margin-left: auto;
}

#tb-app [aria-busy="true"].tb-load-more {
    pointer-events: none;
}

.tb-empty {
    padding: 38px 20px;
    color: var(--tb-muted);
    background: #fff;
    border: 1px dashed var(--tb-line-strong);
    border-radius: var(--tb-radius-md);
    text-align: center;
}

.tb-empty__icon {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    place-items: center;
    color: var(--tb-green-800);
    background: var(--tb-green-100);
    border-radius: 50%;
    font-size: 1.7rem;
}

.tb-empty .tb-heading {
    margin-bottom: 6px;
    font-size: 1.25rem;
}

.tb-empty p {
    max-width: 510px;
    margin: 0 auto;
}

.tb-skeleton {
    min-height: 260px;
    overflow: hidden;
    background: #eef3ef;
    border-radius: var(--tb-radius-md);
}

.tb-skeleton::after {
    display: block;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 65%), transparent);
    content: "";
    animation: tb-shimmer 1.1s infinite;
    transform: translateX(-110%);
}

.tb-wizard-page {
    display: flex;
    min-height: calc(100vh - 68px);
    min-height: calc(100dvh - 68px);
    flex-direction: column;
}

.tb-wizard {
    width: min(100% - 24px, 700px);
    margin: 20px auto max(28px, var(--tb-safe-bottom));
}

.tb-wizard__top {
    margin-bottom: 14px;
}

.tb-wizard__header {
    margin: 14px 0;
    padding: 15px 17px;
    background: rgb(255 255 255 / 88%);
    border: 1px solid var(--tb-line);
    border-radius: 14px;
    box-shadow: var(--tb-shadow-sm);
}

.tb-wizard__header > p {
    margin-top: 0;
    margin-bottom: 8px;
}

.tb-wizard__header > p[data-tb-progress-label] {
    color: var(--tb-muted);
    font-size: 0.8rem;
    font-weight: 750;
}

.tb-wizard__header > [data-tb-progress-dots] {
    display: flex;
    min-width: 0;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.tb-progress {
    padding: 15px 17px;
    background: rgb(255 255 255 / 85%);
    border: 1px solid var(--tb-line);
    border-radius: 14px;
    box-shadow: var(--tb-shadow-sm);
}

.tb-progress__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tb-progress__label {
    margin: 0;
    color: var(--tb-muted);
    font-size: 0.79rem;
    font-weight: 750;
}

.tb-progress__dots {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 4px;
}

.tb-progress__dot {
    width: 7px;
    height: 7px;
    flex: 0 1 14px;
    max-width: 14px;
    background: #d6dfd9;
    border-radius: var(--tb-radius-pill);
    transition:
        flex-basis var(--tb-transition),
        background-color var(--tb-transition);
}

.tb-progress__dot.tb-is-complete {
    background: var(--tb-green-300);
}

.tb-progress__dot.tb-is-current {
    flex-basis: 24px;
    max-width: 24px;
    background: var(--tb-green-700);
}

.tb-step {
    min-height: min(520px, calc(100dvh - 188px));
    padding: clamp(22px, 6vw, 40px);
    background: #fff;
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius-lg);
    box-shadow: var(--tb-shadow-md);
}

#tb-app form[data-tb-form] > [data-tb-step] {
    min-width: 0;
    min-height: min(520px, calc(100dvh - 188px));
    padding: clamp(22px, 6vw, 40px);
    background: #fff;
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius-lg);
    box-shadow: var(--tb-shadow-md);
}

#tb-app form[data-tb-form] > [data-tb-step] > legend {
    width: 100%;
    padding: 0;
    color: var(--tb-ink);
    font-size: clamp(1.48rem, 6vw, 2.2rem);
    font-weight: 840;
    letter-spacing: -0.03em;
    line-height: 1.18;
}

#tb-app form[data-tb-form] > [data-tb-step] > p {
    margin: 10px 0 22px;
    color: var(--tb-muted);
}

#tb-app form[data-tb-form] > [data-tb-step] > label,
.tb-score-grid > label {
    display: grid;
    gap: 7px;
    margin-top: 15px;
    color: var(--tb-ink);
    font-size: 0.9rem;
    font-weight: 740;
}

#tb-app form[data-tb-form] > [data-tb-step] > input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
#tb-app form[data-tb-form] > [data-tb-step] > select,
#tb-app form[data-tb-form] > [data-tb-step] > textarea,
#tb-app form[data-tb-form] > [data-tb-step] > label > input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
#tb-app form[data-tb-form] > [data-tb-step] > label > select,
#tb-app form[data-tb-form] > [data-tb-step] > label > textarea,
.tb-score-grid input {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    color: var(--tb-ink);
    background: #fff;
    border: 1.5px solid var(--tb-line-strong);
    border-radius: 12px;
}

#tb-app form[data-tb-form] > [data-tb-step] textarea {
    min-height: 116px;
    line-height: 1.5;
    resize: vertical;
}

#tb-app form[data-tb-form] > [data-tb-step] input:focus,
#tb-app form[data-tb-form] > [data-tb-step] select:focus,
#tb-app form[data-tb-form] > [data-tb-step] textarea:focus,
.tb-score-grid input:focus {
    border-color: var(--tb-green-700);
    box-shadow: 0 0 0 4px rgb(57 166 95 / 14%);
    outline: 0;
}

#tb-app form[data-tb-form] > [data-tb-step] input[type="file"] {
    width: 100%;
    min-height: 52px;
    padding: 10px;
    background: var(--tb-green-50);
    border: 1.5px dashed var(--tb-green-400, #65bb7c);
    border-radius: 12px;
}

.tb-step[aria-hidden="false"] {
    animation: tb-step-in 220ms ease both;
}

.tb-step__question {
    margin: 0 0 8px;
    font-size: clamp(1.48rem, 6vw, 2.2rem);
    font-weight: 840;
    letter-spacing: -0.03em;
    line-height: 1.18;
}

.tb-step__intro {
    margin: 0 0 24px;
    color: var(--tb-muted);
}

.tb-step__content {
    margin-top: 22px;
}

.tb-step__actions {
    display: grid;
    gap: 9px;
    margin-top: 30px;
}

.tb-wizard__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 30px;
}

.tb-wizard__actions .tb-button--primary {
    min-width: min(100%, 190px);
}

.tb-chip-options,
.tb-big-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.tb-big-choices {
    display: grid;
}

.tb-choice-chip,
.tb-big-choices > label {
    position: relative;
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    color: var(--tb-green-900);
    background: #fff;
    border: 1.5px solid var(--tb-line-strong);
    border-radius: var(--tb-radius-pill);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 680;
    line-height: 1.25;
    text-align: center;
}

.tb-big-choices > label {
    width: 100%;
    min-height: 58px;
    justify-content: flex-start;
    border-radius: 14px;
    text-align: left;
}

.tb-choice-chip input,
.tb-big-choices > label input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
}

.tb-choice-chip:hover,
.tb-big-choices > label:hover {
    background: var(--tb-green-50);
    border-color: var(--tb-green-500);
}

.tb-choice-chip:focus-within,
.tb-big-choices > label:focus-within {
    outline: 3px solid var(--tb-amber-500);
    outline-offset: 3px;
}

.tb-choice-chip:has(input:checked),
.tb-big-choices > label:has(input:checked),
.tb-choice-chip.tb-is-selected,
.tb-big-choices > label.tb-is-selected {
    color: var(--tb-green-950);
    background: var(--tb-green-100);
    border-color: var(--tb-green-700);
    box-shadow: 0 0 0 2px rgb(22 137 71 / 10%);
}

.tb-score-grid {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.tb-minor {
    margin-top: 20px;
    padding: 16px;
    background: var(--tb-amber-50);
    border: 1px solid var(--tb-amber-200);
    border-radius: 14px;
}

.tb-minor > p {
    margin: 0 0 10px;
    font-weight: 750;
}

.tb-minor > label,
.tb-minor [data-tb-guardian-wrap] label {
    display: flex;
    min-height: 48px;
    align-items: flex-start;
    gap: 10px;
    padding-block: 9px;
}

.tb-minor input {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    margin-top: 2px !important;
    accent-color: var(--tb-green-800);
}

.tb-owner-controls {
    margin-top: 20px;
    padding: 20px;
    background: #f7f4ff;
    border: 1px solid #dfd7f5;
    border-radius: var(--tb-radius-md);
}

.tb-owner-controls h2 {
    margin-top: 0;
    font-size: 1.2rem;
}

.tb-owner-controls form,
.tb-owner-controls label {
    display: grid;
    gap: 8px;
}

.tb-owner-controls select {
    min-height: 50px;
    padding: 11px 13px;
    background: #fff;
    border: 1.5px solid var(--tb-line-strong);
    border-radius: 11px;
}

.tb-owner-controls > .tb-button {
    width: 100%;
    margin-top: 14px;
}

.tb-step__secondary-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.tb-draft-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 12px;
    padding: 11px 13px;
    color: var(--tb-green-900);
    background: var(--tb-green-100);
    border: 1px solid var(--tb-green-200);
    border-radius: 11px;
    font-size: 0.82rem;
}

.tb-privacy-note {
    margin-top: 16px;
    padding: 13px 15px;
    color: #634612;
    background: var(--tb-amber-50);
    border: 1px solid var(--tb-amber-200);
    border-radius: 12px;
    font-size: 0.84rem;
}

.tb-file {
    display: grid;
    gap: 10px;
}

.tb-file__preview {
    display: grid;
    width: 112px;
    height: 112px;
    overflow: hidden;
    place-items: center;
    color: var(--tb-green-800);
    background: var(--tb-green-100);
    border: 2px dashed var(--tb-green-300);
    border-radius: 50%;
    font-size: 0.82rem;
    text-align: center;
}

.tb-file__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tb-preview {
    display: grid;
    gap: 13px;
    padding: 18px;
    background: var(--tb-green-50);
    border: 1px solid var(--tb-green-200);
    border-radius: var(--tb-radius-md);
}

.tb-preview--parent {
    background: var(--tb-amber-50);
    border-color: var(--tb-amber-200);
}

.tb-preview__row {
    display: grid;
    gap: 2px;
}

.tb-preview__label {
    color: var(--tb-muted);
    font-size: 0.75rem;
    font-weight: 750;
}

.tb-preview__value {
    margin: 0;
    overflow-wrap: anywhere;
    font-weight: 670;
}

.tb-success {
    width: min(100% - 24px, 760px);
    margin: 24px auto max(40px, var(--tb-safe-bottom));
    padding: clamp(24px, 7vw, 48px);
    background: #fff;
    border: 1px solid var(--tb-green-200);
    border-radius: var(--tb-radius-lg);
    box-shadow: var(--tb-shadow-lg);
    text-align: center;
}

.tb-success__icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, var(--tb-green-500), var(--tb-green-900));
    border-radius: 50%;
    box-shadow: 0 12px 26px rgb(0 105 48 / 22%);
    font-size: 2rem;
}

.tb-success__actions {
    display: grid;
    gap: 11px;
    margin-top: 24px;
}

.tb-success > [data-tb-success-preview] {
    margin-top: 20px;
    text-align: left;
}

.tb-success > [data-tb-success-share],
.tb-success > [data-tb-success-self],
.tb-success > [data-tb-success-copy] {
    width: 100%;
    margin-top: 10px;
}

.tb-success > [data-tb-success-share],
.tb-success > [data-tb-success-self] {
    min-height: 58px;
}

.tb-success > output {
    display: block;
    margin-top: 10px;
    overflow-wrap: anywhere;
    color: var(--tb-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.72rem;
    text-align: left;
}

.tb-success__actions .tb-button {
    min-height: 58px;
}

.tb-secret-box {
    margin-top: 18px;
    padding: 16px;
    color: var(--tb-amber-900);
    background: var(--tb-amber-50);
    border: 1px solid var(--tb-amber-200);
    border-radius: 14px;
    font-size: 0.88rem;
    text-align: left;
}

.tb-secret-box strong {
    display: block;
    margin-bottom: 3px;
}

.tb-copy-row {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.tb-copy-row__value {
    min-width: 0;
    padding: 11px 12px;
    overflow: hidden;
    color: var(--tb-muted);
    background: #fff;
    border: 1px solid var(--tb-line);
    border-radius: 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tb-public-card {
    width: min(100% - 24px, 760px);
    margin: 24px auto 56px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--tb-line);
    border-top: 7px solid var(--tb-green-600);
    border-radius: var(--tb-radius-lg);
    box-shadow: var(--tb-shadow-lg);
}

.tb-back-link {
    display: block;
    width: min(100% - 24px, 760px);
    min-height: 48px;
    margin: 16px auto 0;
    padding-block: 11px;
    color: var(--tb-green-800) !important;
    font-size: 0.88rem;
    font-weight: 740;
}

.tb-public-card:has(> .tb-card--parent) {
    border-top-color: var(--tb-amber-500);
}

.tb-public-card > .tb-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
}

.tb-public-card > section:not(.tb-card) {
    margin: 0 clamp(22px, 6vw, 40px);
    padding-block: 22px;
    border-top: 1px solid var(--tb-line);
}

.tb-public-card > section:not(.tb-card) h2 {
    margin: 0 0 9px;
    color: var(--tb-muted);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.tb-public-card > section:not(.tb-card) p {
    margin: 0;
    overflow-wrap: anywhere;
}

.tb-card-detail__label {
    margin-bottom: 7px !important;
    color: var(--tb-green-800) !important;
    font-size: 0.78rem;
    font-weight: 820;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.tb-score {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    color: var(--tb-blue-800);
    background: var(--tb-blue-100);
    border: 1px solid #ccddfa;
    border-radius: var(--tb-radius-pill);
    font-size: 0.78rem;
}

.tb-public-card--parent {
    border-top-color: var(--tb-amber-500);
}

.tb-public-card__hero {
    padding: clamp(24px, 7vw, 44px);
    background: linear-gradient(145deg, var(--tb-green-50), #fff);
}

.tb-public-card--parent .tb-public-card__hero {
    background: linear-gradient(145deg, var(--tb-amber-50), #fff);
}

.tb-public-card__identity {
    display: grid;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.tb-public-card__identity .tb-avatar {
    width: 92px;
    height: 92px;
    margin-inline: auto;
    font-size: 1.45rem;
}

.tb-public-card__name {
    margin: 5px 0 0;
    overflow-wrap: anywhere;
    font-size: clamp(1.75rem, 7vw, 2.7rem);
    font-weight: 850;
    letter-spacing: -0.035em;
    line-height: 1.13;
}

.tb-public-card__content {
    display: grid;
    gap: 24px;
    padding: clamp(22px, 6vw, 40px);
}

.tb-public-card__section {
    min-width: 0;
}

.tb-public-card__section + .tb-public-card__section {
    padding-top: 22px;
    border-top: 1px solid var(--tb-line);
}

.tb-public-card__section-title {
    margin: 0 0 10px;
    color: var(--tb-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tb-public-card__text {
    margin: 0;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.tb-public-card__actions {
    position: sticky;
    z-index: 5;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    padding: 14px max(14px, env(safe-area-inset-right)) max(14px, var(--tb-safe-bottom)) max(14px, env(safe-area-inset-left));
    background: rgb(255 255 255 / 94%);
    border-top: 1px solid var(--tb-line);
    backdrop-filter: blur(12px);
}

.tb-status-banner {
    padding: 13px 18px;
    color: #4c554f;
    background: #f0f2f1;
    border-bottom: 1px solid var(--tb-line);
    font-size: 0.9rem;
    font-weight: 720;
    text-align: center;
}

.tb-owner-tools,
.tb-admin-bar {
    padding: 16px;
    background: #f7f4ff;
    border: 1px solid #dfd7f5;
    border-radius: var(--tb-radius-md);
}

.tb-owner-tools {
    width: min(100% - 24px, 760px);
    margin: 18px auto;
}

.tb-owner-tools__actions,
.tb-admin-bar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tb-admin-shell {
    width: min(100% - 24px, 540px);
    margin: clamp(34px, 9vw, 90px) auto;
    padding: clamp(22px, 7vw, 40px);
    background: #fff;
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius-lg);
    box-shadow: var(--tb-shadow-md);
}

.tb-admin,
.tb-admin-login,
.tb-admin-edit,
.tb-error-page {
    width: min(100% - 24px, 920px);
    margin: 24px auto 56px;
}

.tb-admin-login,
.tb-error-page {
    max-width: 540px;
    padding: clamp(22px, 7vw, 40px);
    background: #fff;
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius-lg);
    box-shadow: var(--tb-shadow-md);
}

.tb-admin-login h1,
.tb-admin-edit h1,
.tb-admin__header h1,
.tb-error-page h1 {
    margin: 8px 0 10px;
    font-size: clamp(1.55rem, 5vw, 2.35rem);
    line-height: 1.17;
}

.tb-admin-login form,
.tb-admin-edit form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.tb-admin-login label,
.tb-admin-edit label {
    display: grid;
    gap: 7px;
    font-size: 0.9rem;
    font-weight: 720;
}

.tb-admin-login input,
.tb-admin-edit input:not([type="checkbox"]):not([type="radio"]),
.tb-admin-edit select,
.tb-admin-edit textarea {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 11px 13px;
    background: #fff;
    border: 1.5px solid var(--tb-line-strong);
    border-radius: 11px;
}

.tb-admin-edit {
    padding: clamp(20px, 5vw, 34px);
    background: #fff;
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius-lg);
    box-shadow: var(--tb-shadow-sm);
}

.tb-admin-edit fieldset {
    padding: 16px;
    border: 1px solid var(--tb-line);
    border-radius: 12px;
}

.tb-admin__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.tb-admin-secret {
    margin: 18px 0;
    padding: 18px;
    color: var(--tb-amber-900);
    background: var(--tb-amber-50);
    border: 1px solid var(--tb-amber-200);
    border-radius: var(--tb-radius-md);
}

.tb-admin-secret h2 {
    margin-top: 0;
    font-size: 1.15rem;
}

.tb-admin-secret input {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--tb-amber-300);
    border-radius: 10px;
}

.tb-admin-list {
    display: grid;
    gap: 12px;
}

.tb-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.tb-pagination > span {
    color: var(--tb-muted);
    font-weight: 700;
}

.tb-admin-card {
    display: grid;
    gap: 14px;
    padding: 17px;
    background: #fff;
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius-md);
    box-shadow: var(--tb-shadow-sm);
}

.tb-admin-card.is-hidden {
    background: #f2f2f2;
    border-style: dashed;
    opacity: 0.82;
}

.tb-admin-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tb-admin-card__actions form {
    display: inline-flex;
    margin: 0;
}

.tb-admin-badge {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 5px 10px;
    color: #4d3484;
    background: #eee8ff;
    border: 1px solid #d9cdfa;
    border-radius: var(--tb-radius-pill);
    font-size: 0.74rem;
    font-weight: 800;
}

.tb-dialog {
    width: min(calc(100% - 24px), 500px);
    padding: 0;
    color: var(--tb-ink);
    background: #fff;
    border: 0;
    border-radius: var(--tb-radius-lg);
    box-shadow: var(--tb-shadow-lg);
}

.tb-dialog::backdrop {
    background: var(--tb-overlay);
    backdrop-filter: blur(3px);
}

.tb-dialog__body {
    padding: 24px;
}

.tb-dialog__actions {
    display: grid;
    gap: 8px;
    padding: 0 24px 24px;
}

.tb-toast-region {
    position: fixed;
    z-index: 1000;
    right: 12px;
    bottom: max(12px, var(--tb-safe-bottom));
    left: 12px;
    display: grid;
    justify-items: center;
    gap: 8px;
    pointer-events: none;
}

.tb-toast {
    width: min(100%, 440px);
    padding: 13px 16px;
    color: #fff;
    background: var(--tb-green-950);
    border-radius: 12px;
    box-shadow: var(--tb-shadow-lg);
    font-size: 0.88rem;
    font-weight: 690;
    text-align: center;
    animation: tb-toast-in 180ms ease both;
}

.tb-toast--error {
    background: var(--tb-red-800);
}

.tb-live-status {
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.tb-footer {
    margin-top: auto;
    padding-block: 28px max(28px, var(--tb-safe-bottom));
    color: #d7e9dc;
    background: var(--tb-green-950);
}

.tb-footer > p,
.tb-footer > a {
    display: block;
    width: min(100% - 32px, var(--tb-container));
    margin-right: auto;
    margin-left: auto;
}

.tb-footer > p {
    margin-bottom: 10px;
}

.tb-footer__inner {
    display: grid;
    gap: 14px;
}

.tb-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.tb-footer a:hover {
    color: #fff;
}

.tb-footer__quiet {
    color: #a8c4b0;
    font-size: 0.8rem;
}

.tb-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.tb-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    margin: -1px !important;
    white-space: nowrap !important;
}

.tb-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tb-stack {
    display: grid;
    gap: 14px;
}

.tb-center {
    text-align: center;
}

.tb-divider {
    height: 1px;
    margin-block: 22px;
    background: var(--tb-line);
    border: 0;
}

#tb-app [aria-busy="true"] {
    cursor: progress;
}

#tb-app [aria-busy="true"] .tb-card-list {
    opacity: 0.58;
    pointer-events: none;
}

#tb-app .tb-is-leaving {
    opacity: 0;
    transform: translateY(-4px);
}

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

@keyframes tb-shimmer {
    to {
        transform: translateX(210%);
    }
}

@keyframes tb-step-in {
    from {
        opacity: 0;
        transform: translateX(12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes tb-toast-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

@media (min-width: 560px) {
    .tb-hero__actions,
    .tb-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tb-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tb-card__body {
        padding: 22px;
    }

    .tb-card__heading {
        gap: 13px;
        padding: 18px 18px 0;
    }

    .tb-card__avatar {
        width: 58px;
        height: 58px;
        font-size: 1.05rem;
    }

    .tb-card__role {
        font-size: 0.72rem;
        letter-spacing: 0.07em;
    }

    .tb-card__title {
        margin-top: 3px;
        font-size: 1.18rem;
    }

    .tb-card__status {
        margin-top: 6px;
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    .tb-chips {
        gap: 7px;
        margin: 15px 18px 0;
    }

    .tb-chips > .tb-chip,
    .tb-badge {
        min-height: 30px;
        padding: 5px 9px;
        font-size: 0.75rem;
    }

    .tb-card > .tb-card__meta {
        margin-right: 18px;
        margin-left: 18px;
    }

    .tb-card__meta {
        gap: 7px 13px;
        margin-top: 13px;
        font-size: 0.84rem;
        line-height: 1.55;
    }

    .tb-card__text {
        margin: 14px 18px 0;
        font-size: 1rem;
        line-height: 1.55;
    }

    .tb-card-list .tb-card__text {
        -webkit-line-clamp: 3;
    }

    .tb-card-list .tb-card > .tb-chips {
        flex-wrap: wrap;
        overflow: visible;
        padding-bottom: 0;
    }

    .tb-card__actions {
        gap: 9px;
        padding: 17px 22px 22px;
    }

    .tb-card__actions .tb-button {
        padding-inline: 10px;
        font-size: 0.88rem;
    }

    .tb-choice-grid:not(.tb-choice-grid--stack) {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tb-step__actions {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .tb-step__actions > .tb-button--primary,
    .tb-step__actions > [data-tb-submit] {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .tb-copy-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .tb-dialog__actions {
        grid-template-columns: 1fr 1fr;
    }

    .tb-public-card__identity {
        grid-template-columns: auto minmax(0, 1fr);
        text-align: left;
    }

    .tb-public-card__identity .tb-avatar {
        margin-inline: 0;
    }
}

@media (min-width: 760px) {
    .tb-container {
        width: min(100% - 48px, var(--tb-container));
    }

    .tb-brand__text {
        font-size: 1rem;
    }

    .tb-main {
        padding-block: 42px 80px;
    }

    .tb-tabs {
        max-width: 690px;
        margin-inline: auto;
    }

    .tb-filter-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .tb-card-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .tb-card-group {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .tb-card-group__title {
        grid-column: 1 / -1;
    }

    .tb-wizard {
        margin-top: 34px;
    }

    .tb-step__secondary-actions {
        justify-content: flex-start;
    }

    .tb-footer__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
}

@media (min-width: 1080px) {
    .tb-card-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tb-card-group {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 380px) {
    #tb-app {
        font-size: 16px;
    }

    .tb-container {
        width: min(100% - 24px, var(--tb-container));
    }

    .tb-brand__text {
        max-width: 124px;
        font-size: 0.78rem;
    }

    .tb-lang__button {
        min-width: 46px;
        padding-inline: 8px;
    }

    .tb-public-card__actions {
        grid-template-columns: 1fr;
    }

    .tb-step {
        padding-inline: 18px;
    }
}

@media (max-width: 319px) {
    .tb-card__actions {
        grid-template-columns: 1fr;
    }
}

/*
 * 2026 visual refresh
 *
 * A quieter extension of the main Ashyq Jurek identity: deep forest green,
 * clean white surfaces and a small lime accent.  These rules intentionally
 * replace the earlier decorative treatment on the public-facing Academy
 * surfaces while retaining the same framework-free markup and behaviour.
 */

.tb-body,
#tb-app {
    --tb-green-950: #063c29;
    --tb-green-900: #074c33;
    --tb-green-800: #075d3b;
    --tb-green-700: #087548;
    --tb-green-600: #138a52;
    --tb-green-500: #5dac45;
    --tb-green-300: #b7dbaa;
    --tb-green-200: #d9ead3;
    --tb-green-100: #eef7ea;
    --tb-green-50: #f6faf3;
    --tb-amber-900: #6b4519;
    --tb-amber-800: #89581f;
    --tb-amber-700: #a76a21;
    --tb-amber-500: #d89535;
    --tb-amber-300: #eec887;
    --tb-amber-200: #f5dfb8;
    --tb-amber-100: #fcf4e5;
    --tb-amber-50: #fffbf4;
    --tb-ink: #17251d;
    --tb-muted: #5f6f65;
    --tb-soft: #7d8a82;
    --tb-line: #e1e8e2;
    --tb-line-strong: #ccd8cf;
    --tb-surface: #ffffff;
    --tb-canvas: #f7f9f6;
    --tb-shadow-sm: 0 1px 2px rgb(13 46 29 / 4%), 0 5px 18px rgb(13 46 29 / 5%);
    --tb-shadow-md: 0 2px 4px rgb(13 46 29 / 4%), 0 14px 36px rgb(13 46 29 / 8%);
    --tb-shadow-lg: 0 4px 8px rgb(13 46 29 / 5%), 0 24px 56px rgb(13 46 29 / 10%);
    --tb-radius-sm: 9px;
    --tb-radius-md: 16px;
    --tb-radius-lg: 22px;
    --tb-container: 1180px;
}

.tb-body {
    background: var(--tb-canvas);
}

#tb-app {
    background: var(--tb-canvas);
    font-size: 16px;
    line-height: 1.5;
}

#tb-app :focus-visible {
    outline-color: #8bcf55;
    outline-offset: 3px;
}

.tb-container,
.tb-container--narrow,
.tb-main > .tb-hero,
.tb-main > .tb-tabs,
.tb-main > .tb-filters,
.tb-main > .tb-results-status,
.tb-main > .tb-card-list,
.tb-main > .tb-load-more {
    width: min(100% - 28px, var(--tb-container));
}

.tb-header {
    min-height: 64px;
    padding: 8px max(14px, calc((100% - var(--tb-container)) / 2));
    background: rgb(6 60 41 / 97%);
    border-bottom: 1px solid rgb(255 255 255 / 12%);
    box-shadow: 0 4px 20px rgb(4 43 29 / 16%);
}

.tb-brand {
    min-height: 48px;
    gap: 10px;
}

.tb-brand__logo {
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid rgb(255 255 255 / 40%);
    box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
}

.tb-brand__text {
    font-size: 0.84rem;
    font-weight: 760;
    letter-spacing: 0.055em;
}

.tb-brand__text strong {
    color: #a8dc83;
}

.tb-language {
    gap: 1px;
    padding: 2px;
    background: rgb(0 0 0 / 13%);
    border-color: rgb(255 255 255 / 15%);
}

.tb-language a {
    min-width: 47px;
    min-height: 48px;
    padding: 7px 9px;
    color: rgb(255 255 255 / 72%);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
}

.tb-language a[aria-current="true"],
.tb-language a[aria-current="page"],
.tb-language a[aria-pressed="true"],
.tb-language a.tb-is-active {
    color: var(--tb-green-950);
    background: #f7fbf5;
    box-shadow: none;
}

.tb-main {
    padding-block: 18px 64px;
}

.tb-main > .tb-hero {
    isolation: isolate;
    margin-bottom: 16px;
    padding: 28px 22px 24px;
    color: #fff;
    background:
        radial-gradient(circle at 93% 4%, rgb(157 218 109 / 28%), transparent 12rem),
        linear-gradient(138deg, #063c29 0%, #075d3b 66%, #087548 100%);
    border: 0;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgb(6 60 41 / 15%);
}

.tb-main > .tb-hero::after {
    right: -52px;
    bottom: -94px;
    width: 190px;
    height: 190px;
    background: transparent;
    border: 34px solid rgb(255 255 255 / 6%);
    border-radius: 50%;
    opacity: 1;
}

.tb-hero > .tb-eyebrow {
    margin-bottom: 8px;
    color: #b9e295;
    font-size: 0.68rem;
    letter-spacing: 0.13em;
}

.tb-hero > h1 {
    max-width: 760px;
    margin-bottom: 10px;
    color: #fff;
    font-size: clamp(1.82rem, 8vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.06;
}

.tb-hero > p:not(.tb-eyebrow) {
    max-width: 680px;
    color: rgb(255 255 255 / 78%);
    font-size: clamp(0.91rem, 2.7vw, 1.08rem);
    line-height: 1.55;
}

.tb-hero__actions,
.tb-action-grid {
    position: relative;
    z-index: 1;
    gap: 8px;
    margin-top: 18px;
}

.tb-button {
    min-height: 48px;
    padding: 11px 17px;
    border-radius: 11px;
    font-size: 0.9rem;
    font-weight: 720;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.tb-button:hover {
    box-shadow: 0 6px 16px rgb(13 46 29 / 8%);
    transform: translateY(-1px);
}

.tb-button--primary,
.tb-button--tutor {
    background: var(--tb-green-800);
    border-color: var(--tb-green-800);
    box-shadow: none;
}

.tb-hero .tb-button--tutor {
    color: var(--tb-green-950);
    background: #a8dc83;
    border-color: #a8dc83;
}

.tb-hero .tb-button--tutor:hover {
    color: var(--tb-green-950);
    background: #b7e796;
    border-color: #b7e796;
}

.tb-hero .tb-button--parent {
    color: #fff;
    background: rgb(255 255 255 / 10%);
    border-color: rgb(255 255 255 / 32%);
    box-shadow: none;
}

.tb-hero .tb-button--parent:hover {
    color: #fff;
    background: rgb(255 255 255 / 17%);
    border-color: rgb(255 255 255 / 50%);
}

.tb-hero .tb-button--whatsapp {
    color: rgb(255 255 255 / 88%);
    background: transparent;
    border-color: rgb(255 255 255 / 20%);
    box-shadow: none;
}

.tb-hero .tb-button--whatsapp:hover {
    color: #fff;
    background: rgb(0 0 0 / 10%);
    border-color: rgb(255 255 255 / 34%);
}

.tb-button--secondary {
    color: var(--tb-green-900);
    background: #fff;
    border-color: var(--tb-line-strong);
}

.tb-button--link {
    color: var(--tb-green-700);
    background: transparent;
    border-color: transparent;
}

.tb-tabs {
    gap: 0;
    padding: 0 4px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--tb-line);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgb(13 46 29 / 3%);
}

.tb-tabs > a,
.tb-tab {
    position: relative;
    min-height: 52px;
    padding: 10px 7px;
    color: var(--tb-muted);
    border-radius: 0;
    font-size: clamp(0.74rem, 3.4vw, 0.88rem);
    font-weight: 720;
}

.tb-tabs > a + a {
    border-left: 1px solid var(--tb-line);
}

.tb-tabs > a:hover {
    color: var(--tb-green-900);
    background: var(--tb-green-50);
}

.tb-tabs > a[aria-current="page"],
.tb-tabs > a[aria-selected="true"],
.tb-tabs > a.tb-is-active {
    color: var(--tb-green-900);
    background: var(--tb-green-50);
    box-shadow: inset 0 -3px var(--tb-green-600);
}

.tb-tabs > a[data-card-type="parent"][aria-current="page"],
.tb-tabs > a[data-card-type="parent"][aria-selected="true"] {
    color: var(--tb-amber-900);
    background: var(--tb-amber-50);
    box-shadow: inset 0 -3px var(--tb-amber-500);
}

.tb-filters {
    margin-block: 12px 18px;
    background: #fff;
    border-color: var(--tb-line);
    border-radius: 14px;
    box-shadow: none;
}

.tb-filters > summary,
.tb-filters__summary {
    min-height: 52px;
    padding: 12px 15px;
    color: var(--tb-ink);
    font-size: 0.86rem;
    font-weight: 720;
}

.tb-filters > summary::after,
.tb-filters__summary::after {
    width: 8px;
    height: 8px;
    border-width: 1.5px;
}

.tb-filters > form {
    gap: 11px;
    padding: 14px 15px 15px;
}

.tb-filters > form > label {
    gap: 6px;
    color: var(--tb-muted);
    font-size: 0.76rem;
    font-weight: 720;
}

.tb-filters > form select {
    min-height: 48px;
    padding: 10px 36px 10px 12px;
    color: var(--tb-ink);
    border: 1px solid var(--tb-line-strong);
    border-radius: 9px;
    font-size: 0.87rem;
}

.tb-results-status {
    margin-top: 13px;
    margin-bottom: 8px;
    color: var(--tb-soft);
    font-size: 0.76rem;
}

.tb-card-list,
.tb-card-group {
    gap: 10px;
}

.tb-card-group + .tb-card-group {
    margin-top: 24px;
    padding-top: 18px;
    border-top-color: var(--tb-line);
}

.tb-card-group__title {
    padding-inline: 2px;
    color: var(--tb-soft);
    font-size: 0.74rem;
    font-weight: 740;
    letter-spacing: 0.025em;
}

.tb-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--tb-line);
    border-top: 1px solid var(--tb-line);
    border-left: 3px solid var(--tb-green-600);
    border-radius: 15px;
    box-shadow: 0 1px 2px rgb(13 46 29 / 3%), 0 5px 16px rgb(13 46 29 / 4%);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.tb-card--parent,
.tb-card[data-card-type="parent"] {
    border-top-color: var(--tb-line);
    border-left-color: var(--tb-amber-500);
}

.tb-card:hover {
    border-top-color: #cddbd0;
    border-right-color: #cddbd0;
    border-bottom-color: #cddbd0;
    border-left-color: var(--tb-green-600);
    box-shadow: 0 2px 4px rgb(13 46 29 / 4%), 0 12px 26px rgb(13 46 29 / 8%);
    transform: translateY(-2px);
}

.tb-card--parent:hover,
.tb-card[data-card-type="parent"]:hover {
    border-top-color: #e8d8bd;
    border-right-color: #e8d8bd;
    border-bottom-color: #e8d8bd;
    border-left-color: var(--tb-amber-500);
}

.tb-card--inactive {
    background: #fafbfa;
    border-left-color: #a8b0aa;
    box-shadow: none;
}

.tb-card__heading {
    gap: 10px;
    padding: 13px 13px 0;
}

.tb-card__heading > div {
    min-width: 0;
}

.tb-card__avatar {
    width: 46px;
    height: 46px;
    background: var(--tb-green-900);
    border: 0;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 20%);
    font-size: 0.9rem;
}

.tb-card--parent .tb-card__avatar {
    color: var(--tb-amber-900);
    background: var(--tb-amber-100);
    border: 1px solid var(--tb-amber-200);
    box-shadow: none;
}

.tb-card__role {
    color: var(--tb-green-700);
    font-size: 0.61rem;
    font-weight: 780;
    letter-spacing: 0.075em;
}

.tb-card__title {
    margin-top: 1px;
    color: var(--tb-ink);
    font-size: 1rem;
    font-weight: 780;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.tb-card-list .tb-card__title a::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
}

.tb-card__title a:focus-visible {
    border-radius: 3px;
    outline-offset: 3px;
}

.tb-card-list .tb-card__title a:focus-visible::after {
    outline: 3px solid #8bcf55;
    outline-offset: -5px;
}

.tb-card__status {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    padding: 0;
    color: var(--tb-muted);
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 0.65rem;
    font-weight: 650;
}

.tb-card__status::before {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    background: #50a65b;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #eaf5e9;
    content: "";
}

.tb-card--parent .tb-card__status::before {
    background: var(--tb-amber-500);
    box-shadow: 0 0 0 3px var(--tb-amber-100);
}

.tb-card--inactive .tb-card__status {
    color: var(--tb-soft);
    background: transparent;
    border: 0;
}

.tb-card--inactive .tb-card__status::before {
    background: #98a19a;
    box-shadow: 0 0 0 3px #edf0ed;
}

.tb-card > .tb-chips {
    margin: 9px 13px 0;
}

.tb-card-list .tb-card > .tb-chips {
    gap: 5px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 1px;
}

.tb-card .tb-chips > .tb-chip {
    min-height: 24px;
    padding: 3px 7px;
    color: #35533f;
    background: #f1f6ef;
    border-color: #dfeadd;
    border-radius: 7px;
    font-size: 0.67rem;
    font-weight: 680;
    line-height: 1.2;
    white-space: nowrap;
}

.tb-card--parent .tb-chips > .tb-chip {
    color: #725023;
    background: #fcf6eb;
    border-color: #f1dfbd;
}

.tb-card > .tb-card__meta {
    margin: 7px 13px 0;
}

.tb-card__meta {
    gap: 4px 6px;
    color: var(--tb-muted);
    font-size: 0.73rem;
    line-height: 1.35;
}

.tb-card__meta strong {
    color: #3a4a40;
    font-weight: 680;
}

.tb-card__meta .tb-badge {
    min-height: auto;
    padding: 0;
    color: var(--tb-muted);
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: inherit;
    font-weight: 560;
}

.tb-card__experience {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.tb-card__text {
    margin: 8px 13px 0;
    color: #647168;
    font-size: 0.75rem;
    line-height: 1.45;
}

.tb-card-list .tb-card__text {
    -webkit-line-clamp: 2;
}

.tb-card__actions {
    z-index: 2;
    gap: 7px;
    margin-top: 11px;
    padding: 10px 11px 11px;
    background: #fbfcfb;
    border-top-color: #edf1ed;
}

.tb-card__actions .tb-button {
    min-height: 48px;
    padding: 8px 7px;
    border-radius: 9px;
    font-size: 0.72rem;
    font-weight: 720;
}

.tb-card__actions .tb-button--secondary {
    background: transparent;
}

.tb-load-more,
a.tb-load-more {
    margin-top: 20px;
}

.tb-wizard {
    width: min(100% - 28px, 720px);
    margin-top: 16px;
}

.tb-back-link {
    min-height: 48px;
    padding-block: 12px;
    color: var(--tb-green-700) !important;
    font-size: 0.82rem;
    font-weight: 680;
    text-decoration: none;
}

.tb-wizard__header {
    margin: 8px 0 10px;
    padding: 12px 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.tb-wizard__header .tb-eyebrow {
    margin-bottom: 5px;
    font-size: 0.65rem;
}

.tb-wizard__header > p[data-tb-progress-label] {
    margin-bottom: 7px;
    font-size: 0.75rem;
}

.tb-wizard__header > [data-tb-progress-dots] {
    gap: 5px;
}

.tb-wizard__header > [data-tb-progress-dots] > span {
    height: 4px;
    flex: 1 1 0;
    background: #dfe6e0;
    border-radius: 999px;
}

.tb-wizard__header > [data-tb-progress-dots] > span.is-active,
.tb-wizard__header > [data-tb-progress-dots] > span.tb-is-current,
.tb-wizard__header > [data-tb-progress-dots] > span.tb-is-complete {
    background: var(--tb-green-600);
}

#tb-app form[data-tb-form] > [data-tb-step],
.tb-step {
    min-height: 0;
    padding: 22px 18px 18px;
    background: #fff;
    border: 1px solid var(--tb-line);
    border-radius: 18px;
    box-shadow: var(--tb-shadow-sm);
}

#tb-app form[data-tb-form] > [data-tb-step] > legend,
.tb-step__question {
    color: var(--tb-ink);
    font-size: clamp(1.3rem, 6vw, 1.85rem);
    font-weight: 790;
    letter-spacing: -0.035em;
    line-height: 1.18;
}

#tb-app form[data-tb-form] > [data-tb-step] > p {
    margin: 8px 0 17px;
    color: var(--tb-muted);
    font-size: 0.86rem;
}

#tb-app form[data-tb-form] > [data-tb-step] > label,
.tb-score-grid > label {
    gap: 6px;
    margin-top: 13px;
    color: #39483f;
    font-size: 0.8rem;
    font-weight: 680;
}

#tb-app form[data-tb-form] > [data-tb-step] > input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
#tb-app form[data-tb-form] > [data-tb-step] > select,
#tb-app form[data-tb-form] > [data-tb-step] > textarea,
#tb-app form[data-tb-form] > [data-tb-step] > label > input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
#tb-app form[data-tb-form] > [data-tb-step] > label > select,
#tb-app form[data-tb-form] > [data-tb-step] > label > textarea,
.tb-score-grid input {
    min-height: 50px;
    padding: 11px 12px;
    border: 1px solid var(--tb-line-strong);
    border-radius: 10px;
    font-size: 0.91rem;
}

#tb-app form[data-tb-form] > [data-tb-step] textarea {
    min-height: 108px;
}

#tb-app form[data-tb-form] > [data-tb-step] input:focus,
#tb-app form[data-tb-form] > [data-tb-step] select:focus,
#tb-app form[data-tb-form] > [data-tb-step] textarea:focus,
.tb-score-grid input:focus {
    border-color: var(--tb-green-600);
    box-shadow: 0 0 0 3px rgb(93 172 69 / 15%);
}

.tb-chip-options,
.tb-big-choices {
    gap: 8px;
    margin-top: 15px;
}

.tb-choice-chip,
.tb-big-choices > label {
    min-height: 48px;
    justify-content: flex-start;
    padding: 10px 12px;
    color: #334a3a;
    background: #fff;
    border: 1px solid var(--tb-line-strong);
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 620;
    text-align: left;
}

.tb-choice-chip::before,
.tb-big-choices > label::before {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    background: #fff;
    border: 1.5px solid #aebbb1;
    border-radius: 5px;
    content: "";
}

.tb-big-choices > label::before {
    border-radius: 50%;
}

.tb-choice-chip:has(input:checked),
.tb-big-choices > label:has(input:checked),
.tb-choice-chip.tb-is-selected,
.tb-big-choices > label.tb-is-selected {
    color: var(--tb-green-950);
    background: var(--tb-green-50);
    border-color: #8fbd82;
    box-shadow: none;
}

.tb-choice-chip:has(input:checked)::before,
.tb-choice-chip.tb-is-selected::before {
    background: var(--tb-green-700);
    border-color: var(--tb-green-700);
    box-shadow: inset 0 0 0 4px #fff;
}

.tb-big-choices > label:has(input:checked)::before,
.tb-big-choices > label.tb-is-selected::before {
    background: var(--tb-green-700);
    border-color: var(--tb-green-700);
    box-shadow: inset 0 0 0 4px #fff;
}

.tb-wizard__actions {
    gap: 8px;
    margin-top: 22px;
}

.tb-wizard__actions .tb-button--primary {
    min-width: min(100%, 180px);
}

.tb-preview {
    gap: 0;
    padding: 4px 15px;
    background: #fafcf9;
    border-color: var(--tb-line);
    border-radius: 12px;
}

.tb-preview__row {
    gap: 3px;
    padding-block: 11px;
}

.tb-preview__row + .tb-preview__row {
    border-top: 1px solid var(--tb-line);
}

.tb-preview__label {
    color: var(--tb-soft);
    font-size: 0.68rem;
}

.tb-preview__value {
    font-size: 0.85rem;
    font-weight: 620;
}

.tb-privacy-note,
.tb-minor {
    border-radius: 11px;
    box-shadow: none;
}

.tb-public-card {
    width: min(100% - 28px, 780px);
    margin: 16px auto 52px;
    overflow: visible;
    background: transparent;
    border: 0;
    border-top: 0;
    border-radius: 0;
    box-shadow: none;
}

.tb-public-card > .tb-card {
    overflow: hidden;
    border: 1px solid var(--tb-line);
    border-left: 4px solid var(--tb-green-600);
    border-radius: 18px;
    box-shadow: var(--tb-shadow-md);
}

.tb-public-card:has(> .tb-card--parent) > .tb-card {
    border-left-color: var(--tb-amber-500);
}

.tb-public-card > .tb-card .tb-card__heading {
    padding: 20px 18px 0;
}

.tb-public-card > .tb-card .tb-card__avatar {
    width: 58px;
    height: 58px;
    border-radius: 15px;
    font-size: 1rem;
}

.tb-public-card > .tb-card .tb-card__title {
    font-size: 1.25rem;
}

.tb-public-card > .tb-card .tb-card__text {
    display: block;
    margin-inline: 18px;
    overflow: visible;
    font-size: 0.86rem;
    -webkit-line-clamp: initial;
}

.tb-public-card > .tb-card > .tb-chips,
.tb-public-card > .tb-card > .tb-card__meta {
    margin-right: 18px;
    margin-left: 18px;
}

.tb-public-card > .tb-card .tb-card__actions {
    padding: 13px 15px 15px;
}

.tb-public-card > section:not(.tb-card) {
    margin: 10px 0 0;
    padding: 20px 18px;
    background: #fff;
    border: 1px solid var(--tb-line);
    border-radius: 15px;
    box-shadow: var(--tb-shadow-sm);
}

.tb-public-card > section:not(.tb-card) h2 {
    margin-bottom: 10px;
    color: #3b4b41;
    font-size: 0.74rem;
    letter-spacing: 0.065em;
}

.tb-public-card > section:not(.tb-card) p {
    color: #3f4e44;
    font-size: 0.9rem;
    line-height: 1.6;
}

.tb-card-detail__label {
    margin-top: 14px !important;
    margin-bottom: 6px !important;
    color: var(--tb-soft) !important;
    font-size: 0.68rem;
    letter-spacing: 0.055em;
}

.tb-public-card > section .tb-chips {
    margin: 0;
}

.tb-public-card > section .tb-chip,
.tb-score {
    border-radius: 8px;
}

.tb-experience-groups,
.tb-support-skill-list,
.tb-support-skill-cards {
    display: grid;
    gap: 12px;
}

.tb-experience-groups {
    margin-top: 16px;
}

.tb-experience-group {
    padding: 14px;
    background: #f9fbf8;
    border: 1px solid var(--tb-line);
    border-radius: 12px;
}

.tb-experience-group h3,
.tb-support-skill-form h3,
.tb-support-skill-card h3 {
    margin: 0;
    color: var(--tb-ink);
    font-size: 0.9rem;
    font-weight: 760;
    line-height: 1.35;
}

.tb-experience-options,
.tb-experience-group .tb-chip-options {
    margin-top: 10px;
}

.tb-experience-evidence {
    display: grid;
    gap: 16px;
    margin-top: 18px;
    padding: 17px;
    background: var(--tb-green-50);
    border: 1px solid var(--tb-green-200);
    border-radius: 13px;
}

.tb-field__label {
    margin: 0;
    color: #39483f;
    font-size: 0.82rem;
    font-weight: 720;
}

.tb-experience-evidence > label,
.tb-support-skill-form > label {
    display: grid;
    gap: 7px;
    color: #39483f;
    font-size: 0.82rem;
    font-weight: 700;
}

.tb-experience-evidence textarea,
.tb-support-skill-form input:not([type="checkbox"]):not([type="radio"]),
.tb-support-skill-form textarea {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 11px 12px;
    color: var(--tb-ink);
    background: #fff;
    border: 1px solid var(--tb-line-strong);
    border-radius: 10px;
    font-size: 0.91rem;
    font-weight: 500;
}

.tb-experience-evidence textarea,
.tb-support-skill-form textarea {
    min-height: 108px;
    line-height: 1.5;
    resize: vertical;
}

.tb-support-options {
    margin-bottom: 18px;
}

.tb-support-skill-list {
    margin-top: 12px;
}

.tb-support-skill-form {
    padding: 16px;
    background: #fff;
    border: 1px solid var(--tb-line-strong);
    border-left: 3px solid var(--tb-green-600);
    border-radius: 13px;
    box-shadow: 0 5px 18px rgb(13 46 29 / 4%);
}

.tb-support-skill-form > h3 {
    margin-bottom: 14px;
    font-size: 1rem;
}

.tb-support-skill-form > .tb-field + .tb-field,
.tb-support-skill-form > .tb-field + label,
.tb-support-skill-form > label + label {
    margin-top: 16px;
}

.tb-support-skill-form .tb-big-choices,
.tb-support-skill-form .tb-chip-options {
    margin-top: 9px;
}

.tb-support-skill-card {
    padding: 15px;
    background: #f9fbf8;
    border: 1px solid var(--tb-line);
    border-left: 3px solid var(--tb-green-500);
    border-radius: 12px;
}

.tb-support-skill-card h3 {
    margin-bottom: 9px;
    font-size: 0.96rem;
}

.tb-support-skill-card p {
    margin: 5px 0 !important;
    font-size: 0.84rem !important;
    line-height: 1.52 !important;
}

.tb-support-skill-card__details {
    padding-top: 7px;
    border-top: 1px solid var(--tb-line);
}

.tb-card__support {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.tb-card__more {
    color: var(--tb-green-700);
    font-weight: 700;
    white-space: nowrap;
}

.tb-admin-support {
    display: grid;
    gap: 10px;
}

.tb-admin-support__item {
    overflow: hidden;
    background: #fafcf9;
    border: 1px solid var(--tb-line);
    border-radius: 11px;
}

.tb-admin-support__toggle {
    min-height: 48px;
    padding: 10px 12px;
}

.tb-admin-support__fields {
    display: grid;
    gap: 12px;
    padding: 13px;
    background: #fff;
    border-top: 1px solid var(--tb-line);
}

.tb-admin-support__fields fieldset {
    display: grid;
    gap: 8px;
    padding: 12px;
}

.tb-success {
    border-color: var(--tb-line);
    border-radius: 20px;
    box-shadow: var(--tb-shadow-md);
}

.tb-footer {
    color: #d7e5da;
    background: var(--tb-green-950);
    border-top: 0;
}

.tb-footer a {
    color: #b9e295;
}

@media (max-width: 559px) {
    .tb-main {
        padding-top: 14px;
    }

    .tb-main > .tb-hero {
        padding: 24px 18px 19px;
        border-radius: 17px;
    }

    .tb-hero__actions,
    .tb-action-grid {
        grid-template-columns: 1fr;
    }

    .tb-card-list,
    .tb-card-group {
        gap: 9px;
    }

    .tb-card__heading {
        padding-top: 12px;
    }

    .tb-card__avatar {
        width: 44px;
        height: 44px;
    }

    .tb-card > .tb-chips {
        margin-top: 8px;
    }

    .tb-card__text {
        display: none;
    }

    .tb-card__actions {
        margin-top: 9px;
    }

    .tb-wizard__actions {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .tb-wizard__actions .tb-button--primary,
    .tb-wizard__actions [data-tb-submit] {
        grid-column: 2;
        min-width: 0;
    }

    .tb-wizard__actions .tb-button--primary:only-child,
    .tb-wizard__actions [data-tb-submit]:only-child {
        grid-column: 1 / -1;
    }

    .tb-public-card > .tb-card .tb-card__text {
        display: block;
    }
}

@media (min-width: 560px) {
    .tb-hero__actions,
    .tb-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tb-hero__actions > .tb-button--whatsapp {
        grid-column: 1 / -1;
    }

    .tb-filters > form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tb-filters > form > .tb-button,
    .tb-filters > form > a.tb-button {
        align-self: end;
    }

    .tb-card__heading {
        gap: 11px;
        padding: 15px 15px 0;
    }

    .tb-card__avatar {
        width: 50px;
        height: 50px;
    }

    .tb-card > .tb-chips,
    .tb-card > .tb-card__meta,
    .tb-card__text {
        margin-right: 15px;
        margin-left: 15px;
    }

    .tb-card__actions {
        padding: 11px 13px 13px;
    }

    #tb-app form[data-tb-form] > [data-tb-step],
    .tb-step {
        padding: 30px;
    }

    .tb-chip-options {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tb-experience-groups,
    .tb-support-skill-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tb-experience-group:last-child:nth-child(odd),
    .tb-support-skill-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (min-width: 760px) {
    .tb-container,
    .tb-main > .tb-hero,
    .tb-main > .tb-tabs,
    .tb-main > .tb-filters,
    .tb-main > .tb-results-status,
    .tb-main > .tb-card-list,
    .tb-main > .tb-load-more {
        width: min(100% - 48px, var(--tb-container));
    }

    .tb-main {
        padding-block: 30px 80px;
    }

    .tb-main > .tb-hero {
        margin-bottom: 20px;
        padding: 46px 44px 38px;
        border-radius: 24px;
    }

    .tb-tabs {
        max-width: 720px;
    }

    .tb-card-list,
    .tb-card-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .tb-card-group__title {
        grid-column: 1 / -1;
    }

    .tb-card-list .tb-card > .tb-chips {
        flex-wrap: wrap;
        overflow: visible;
    }

    .tb-wizard {
        margin-top: 22px;
    }
}

@media (min-width: 1080px) {
    .tb-hero__actions {
        grid-template-columns: auto auto auto;
        justify-content: start;
    }

    .tb-hero__actions > .tb-button--whatsapp {
        grid-column: auto;
    }

    .tb-filters > form {
        grid-template-columns: repeat(4, minmax(0, 1fr)) auto auto;
        align-items: end;
    }

    .tb-card-list,
    .tb-card-group {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #tb-app *,
    #tb-app *::before,
    #tb-app *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: more) {
    #tb-app {
        --tb-line: #98a59d;
        --tb-line-strong: #6e7c73;
        --tb-muted: #39463e;
    }

    .tb-badge,
    .tb-chip,
    .tb-choice,
    .tb-button {
        border-width: 2px;
    }
}

@media print {
    .tb-header,
    .tb-footer,
    .tb-public-card__actions,
    .tb-owner-tools,
    .tb-admin-bar,
    .tb-toast-region,
    .tb-button {
        display: none !important;
    }

    #tb-app,
    .tb-body {
        color: #000;
        background: #fff;
    }

    .tb-public-card {
        margin: 0;
        border: 1px solid #888;
        box-shadow: none;
    }
}
