:root {
    --ts-public-green-950: #173326;
    --ts-public-green-900: #20513b;
    --ts-public-green-700: #087443;
    --ts-public-green-500: #159a58;
    --ts-public-lime: #b4f454;
    --ts-public-ink: #173326;
    --ts-public-muted: #5f7168;
    --ts-public-line: #d9ebe0;
    --ts-public-soft: #effaf3;
    --ts-public-surface: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.ts-public-page,
body.nosotros-page {
    min-width: 320px;
    margin: 0;
    color: var(--ts-public-ink);
    background: #f7faf8;
    font-family: Figtree, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ts-public-skip-link {
    position: fixed;
    z-index: 100;
    top: .75rem;
    left: .75rem;
    padding: .65rem .85rem;
    color: #fff;
    background: var(--ts-public-green-950);
    border-radius: .5rem;
    transform: translateY(-180%);
    transition: transform .15s ease;
}

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

.ts-public-header {
    position: sticky;
    z-index: 40;
    top: 0;
    border-bottom: 1px solid rgba(217, 235, 224, .95);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
}

.ts-public-header__inner {
    display: grid;
    width: min(100% - 2rem, 76rem);
    min-height: 4.75rem;
    grid-template-columns: minmax(12rem, 1fr) auto minmax(12rem, 1fr);
    align-items: center;
    gap: 1.25rem;
    margin: 0 auto;
}

.ts-public-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: .65rem;
    color: var(--ts-public-green-950);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -.02em;
    text-decoration: none;
}

.ts-public-brand img { width: 2.5rem; height: 2.5rem; object-fit: contain; }

.ts-public-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
}

.ts-public-nav a,
.ts-public-mobile-menu a {
    border-radius: .55rem;
    color: var(--ts-public-green-900);
    font-size: .84rem;
    font-weight: 750;
    text-decoration: none;
}

.ts-public-nav a { padding: .65rem .7rem; }

.ts-public-nav a:hover,
.ts-public-nav a:focus-visible,
.ts-public-nav a.is-active,
.ts-public-mobile-menu a:hover,
.ts-public-mobile-menu a:focus-visible { color: var(--ts-public-green-700); background: var(--ts-public-soft); }

.ts-public-actions { display: flex; justify-content: flex-end; gap: .5rem; }

.ts-public-button {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    padding: .6rem .85rem;
    border: 1px solid transparent;
    border-radius: .6rem;
    font-size: .78rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.ts-public-button--primary { color: #fff; background: var(--ts-public-green-700); }
.ts-public-button--primary:hover,
.ts-public-button--primary:focus-visible { color: #fff; background: var(--ts-public-green-500); }
.ts-public-button--secondary { border-color: var(--ts-public-line); color: var(--ts-public-green-700); background: #fff; }
.ts-public-button--secondary:hover,
.ts-public-button--secondary:focus-visible { color: var(--ts-public-green-700); background: var(--ts-public-soft); }

.ts-public-menu-toggle { display: none; }

.ts-public-mobile-menu {
    display: none;
    width: min(100% - 2rem, 76rem);
    margin: 0 auto;
    padding: .75rem 0 1rem;
    border-top: 1px solid var(--ts-public-line);
}

.ts-public-mobile-menu nav { display: grid; gap: .25rem; }
.ts-public-mobile-menu nav a { padding: .75rem; }
.ts-public-mobile-menu__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }

.ts-public-footer {
    padding: 3rem 1rem 1.25rem;
    color: rgba(255, 255, 255, .86);
    background: var(--ts-public-green-950);
}

.ts-public-footer__grid {
    display: grid;
    width: min(100%, 76rem);
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    margin: 0 auto;
}

.ts-public-brand--footer { color: #fff; }
.ts-public-footer__description { max-width: 28rem; margin: 1rem 0 0; color: rgba(255, 255, 255, .68); font-size: .88rem; line-height: 1.65; }
.ts-public-footer h2 { margin: 0 0 .75rem; color: #fff; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.ts-public-footer nav, .ts-public-socials { display: grid; align-content: start; gap: .45rem; }
.ts-public-footer a { color: rgba(255, 255, 255, .76); text-decoration: none; }
.ts-public-footer a:hover, .ts-public-footer a:focus-visible { color: var(--ts-public-lime); text-decoration: underline; text-underline-offset: .18rem; }
.ts-public-footer__bottom { display: flex; width: min(100%, 76rem); justify-content: space-between; gap: 1rem; margin: 2rem auto 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .55); font-size: .72rem; }

main#public-main { min-height: 24rem; }

:where(a, button, input, select, textarea):focus-visible { outline: 3px solid rgba(21, 154, 88, .45); outline-offset: 3px; }

@media (max-width: 980px) {
    .ts-public-header__inner { grid-template-columns: minmax(0, 1fr) auto; }
    .ts-public-nav, .ts-public-actions { display: none; }
    .ts-public-menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; padding: .6rem .8rem; border: 1px solid var(--ts-public-line); border-radius: .6rem; color: var(--ts-public-green-900); background: #fff; font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; }
    .ts-public-mobile-menu { display: block; }
    .ts-public-mobile-menu[hidden] { display: none; }
}

@media (max-width: 680px) {
    .ts-public-header__inner { width: min(100% - 1.5rem, 76rem); min-height: 4.25rem; gap: .75rem; }
    .ts-public-brand { font-size: .9rem; }
    .ts-public-brand img { width: 2.25rem; height: 2.25rem; }
    .ts-public-footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .ts-public-footer__bottom { align-items: flex-start; flex-direction: column; }
}

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

/* F02.2-R2: shell and navigation aligned to the approved public reference. */
body.ts-public-page,
body.nosotros-page {
    color: #e8efec;
    background: #101f21;
}

.ts-public-shell {
    width: min(calc(100% - 1.5rem), 96rem);
    margin: .75rem auto;
    overflow: hidden;
    border: 1px solid rgba(191, 220, 208, .15);
    border-radius: 1.25rem;
    background: #142629;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .14);
}

.ts-public-header {
    position: relative;
    top: auto;
    border-bottom: 0;
    background: #155940;
    backdrop-filter: none;
}

.ts-public-header__inner {
    width: 100%;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand actions" "nav nav";
    gap: 0;
    padding: 1.25rem 1.5rem 0;
}

.ts-public-brand {
    grid-area: brand;
    color: #f1f7f4;
    font-size: 1.08rem;
    font-weight: 500;
    letter-spacing: .01em;
}

.ts-public-brand img { display: none; }

.ts-public-nav {
    grid-area: nav;
    justify-content: flex-start;
    gap: .1rem;
    margin-top: 1rem;
    padding: .9rem 0 1.1rem;
    border-top: 1px solid rgba(231, 247, 238, .1);
}

.ts-public-nav a,
.ts-public-mobile-menu a {
    color: rgba(244, 250, 247, .88);
    font-size: .95rem;
    font-weight: 450;
}

.ts-public-nav a { padding: .2rem .3rem; }

.ts-public-nav a:hover,
.ts-public-nav a:focus-visible,
.ts-public-nav a.is-active,
.ts-public-mobile-menu a:hover,
.ts-public-mobile-menu a:focus-visible {
    color: #fff;
    background: transparent;
}

.ts-public-actions { grid-area: actions; gap: .35rem; }

.ts-public-actions .ts-public-button {
    min-height: 2rem;
    padding: .25rem .35rem;
    border-color: transparent;
    color: rgba(244, 250, 247, .9);
    background: transparent;
    font-size: .92rem;
    font-weight: 450;
}

.ts-public-actions .ts-public-button:hover,
.ts-public-actions .ts-public-button:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.ts-public-mobile-menu {
    width: 100%;
    padding: .75rem 1.5rem 1rem;
    border-top-color: rgba(231, 247, 238, .1);
    background: #155940;
}

.ts-public-mobile-menu__actions .ts-public-button {
    border-color: rgba(255, 255, 255, .2);
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.ts-public-footer {
    padding: 1.35rem 1.5rem .9rem;
    background: #155940;
}

.ts-public-footer__grid {
    width: 100%;
    grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.ts-public-footer__description,
.ts-public-footer h2 { display: none; }

.ts-public-brand--footer { font-size: .95rem; }
.ts-public-footer nav,
.ts-public-socials { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; }
.ts-public-footer nav a,
.ts-public-socials a { font-size: .82rem; }
.ts-public-footer__bottom { width: 100%; margin-top: 1rem; padding-top: .75rem; font-size: .68rem; }

main#public-main {
    min-height: 0;
    background: #142629;
}

@media (max-width: 980px) {
    .ts-public-header__inner {
        grid-template-areas: "brand menu";
        padding: 1rem 1.1rem 0;
    }

    .ts-public-menu-toggle {
        grid-area: menu;
        border-color: rgba(255, 255, 255, .2);
        color: #fff;
        background: rgba(255, 255, 255, .08);
    }

    .ts-public-footer { padding-right: 1.1rem; padding-left: 1.1rem; }
}

@media (max-width: 680px) {
    .ts-public-shell { width: calc(100% - .75rem); margin: .375rem auto; border-radius: 1rem; }
    .ts-public-brand { font-size: .98rem; }
    .ts-public-footer__grid { grid-template-columns: 1fr; gap: 1rem; }
    .ts-public-footer__bottom { align-items: flex-start; flex-direction: column; }
}

/* F02.2-R3: restore the institutional visual language with local assets only. */
@font-face {
    font-family: TSOutfit;
    src: url('/resources/css/fonts/Outfit-SemiBold.ttf') format('truetype');
    font-display: swap;
    font-style: normal;
    font-weight: 600;
}

:root {
    --ts-brand-green: #58a673;
    --ts-brand-deep: #36594f;
    --ts-brand-ink: #172018;
    --ts-brand-sage: #9ca692;
    --ts-brand-lime: #d6ddbd;
}

.ts-public-brand,
.ts-public-nav a,
.ts-public-actions .ts-public-button,
.ts-public-footer a {
    font-family: TSOutfit, Figtree, Inter, sans-serif;
}

.ts-public-brand img {
    display: block;
    width: 2.3rem;
    height: 2.3rem;
    object-fit: contain;
}

.ts-public-header,
.ts-public-mobile-menu,
.ts-public-footer { background: var(--ts-brand-deep); }

.ts-public-header__inner { padding-top: 1.05rem; }
.ts-public-brand { color: #e8eee5; }
.ts-public-nav { border-top-color: rgba(214, 221, 189, .18); }
.ts-public-nav a { color: rgba(232, 238, 229, .9); }
.ts-public-nav a:hover,
.ts-public-nav a:focus-visible,
.ts-public-nav a.is-active { color: #fff; }

.ts-public-actions .ts-public-button {
    border-color: rgba(214, 221, 189, .24);
    color: #e8eee5;
}

.ts-public-actions .ts-public-button:hover,
.ts-public-actions .ts-public-button:focus-visible { background: rgba(88, 166, 115, .34); }
.ts-public-footer { border-top: 1px solid rgba(214, 221, 189, .14); }
.ts-public-footer .ts-public-brand { color: #fff; }
.ts-public-footer a:hover,
.ts-public-footer a:focus-visible { color: var(--ts-brand-lime); }

@media (max-width: 680px) {
    .ts-public-brand img { width: 2rem; height: 2rem; }
}

/* F02.2-R4: public header spans the viewport and reuses the institutional session pattern. */
.ts-public-header--full-width {
    position: sticky;
    z-index: 40;
    top: 0;
    width: 100%;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--ts-public-theme-page-line, #d8ece0);
    border-radius: 0;
    color: var(--ts-public-theme-accent-strong, #087a3d);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .97), rgba(247, 252, 248, .91) 52%, rgba(234, 248, 240, .95)),
        var(--ts-public-header-image) center / cover no-repeat;
    background-blend-mode: normal;
    box-shadow: 0 .45rem 1.2rem rgba(23, 51, 38, .08);
}

.ts-public-header--full-width .ts-public-header__inner {
    width: min(calc(100% - 2rem), 76rem);
    margin: 0 auto;
    padding: 1.05rem 0 0;
}

.ts-public-header--full-width .ts-public-brand {
    color: var(--ts-public-theme-accent-strong, #087a3d);
}

.ts-public-header--full-width .ts-public-nav {
    border-top-color: var(--ts-public-theme-page-line, #d8ece0);
}

.ts-public-header--full-width .ts-public-nav a {
    color: #58A673;
}

.ts-public-header--full-width .ts-public-nav a:hover,
.ts-public-header--full-width .ts-public-nav a:focus-visible,
.ts-public-header--full-width .ts-public-nav a.is-active {
    color: var(--ts-public-theme-accent-strong, #087a3d);
    background: color-mix(in srgb, var(--ts-public-theme-accent, #8cbf40) 13%, transparent);
}

.ts-public-header--full-width .ts-public-actions .ts-public-button {
    border-color: var(--ts-public-theme-page-line, #d8ece0);
    color: var(--ts-public-theme-accent-strong, #087a3d);
    background: color-mix(in srgb, var(--ts-public-theme-page-surface, #f7fcf8) 88%, white);
}

.ts-public-header--full-width .ts-public-actions .ts-public-button:hover,
.ts-public-header--full-width .ts-public-actions .ts-public-button:focus-visible {
    color: var(--ts-public-theme-accent-strong, #087a3d);
    background: color-mix(in srgb, var(--ts-public-theme-accent, #8cbf40) 16%, white);
}

.ts-public-header--full-width .ts-public-actions .ts-public-button--primary {
    border-color: var(--ts-public-theme-accent-strong, #087a3d);
    color: #fff;
    background: var(--ts-public-theme-accent-strong, #087a3d);
}

.ts-public-header--full-width .ts-public-actions .ts-public-button--primary:hover,
.ts-public-header--full-width .ts-public-actions .ts-public-button--primary:focus-visible {
    color: #fff;
    background: var(--ts-public-theme-accent, #8cbf40);
}

.ts-public-header--full-width .ts-public-mobile-menu {
    width: 100%;
    margin: 0;
    border-top-color: var(--ts-public-theme-page-line, #d8ece0);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .98), rgba(234, 248, 240, .95)),
        var(--ts-public-header-image) center / cover no-repeat;
}

.ts-public-header--full-width .ts-public-mobile-menu a {
    color: var(--ts-brand-ink, #172018);
}

.ts-public-header--full-width .ts-public-mobile-menu a:hover,
.ts-public-header--full-width .ts-public-mobile-menu a:focus-visible {
    color: var(--ts-public-theme-accent-strong, #087a3d);
}

.ts-public-header--full-width .ts-public-mobile-menu__actions .ts-public-button {
    border-color: var(--ts-public-theme-page-line, #d8ece0);
    color: var(--ts-public-theme-accent-strong, #087a3d);
    background: var(--ts-public-theme-page-surface, #f7fcf8);
}

.ts-public-header--full-width .ts-public-mobile-menu__actions .ts-public-button--primary {
    color: #fff;
    background: var(--ts-public-theme-accent-strong, #087a3d);
}

.ts-public-header--full-width .ts-public-menu-toggle {
    border-color: var(--ts-public-theme-page-line, #d8ece0);
    color: var(--ts-public-theme-accent-strong, #087a3d);
    background: var(--ts-public-theme-page-surface, #f7fcf8);
}

@media (max-width: 980px) {
    .ts-public-header--full-width .ts-public-header__inner {
        width: calc(100% - 2rem);
        padding-top: .8rem;
    }
}

@media (max-width: 680px) {
    .ts-public-header--full-width .ts-public-header__inner {
        width: calc(100% - 1.25rem);
        padding-top: .7rem;
    }

    .ts-public-header--full-width .ts-public-mobile-menu {
        padding-right: .625rem;
        padding-left: .625rem;
    }
}

/* F02.2-R4.1: correct the local header texture, identity label and public navigation rhythm. */
.ts-public-header--full-width {
    background:
        linear-gradient(90deg, rgba(251, 255, 252, 0.93), rgba(255, 255, 255, 0.93) 52%, rgba(206, 255, 216, 0.92)),
        var(--ts-public-header-image) center / cover no-repeat;
    background-blend-mode: normal;
}

.ts-public-header--full-width .ts-public-brand {
    color: rgb(156, 166, 146);
    font-size: 1.5rem;
}

.ts-public-header--full-width .ts-public-nav {
    gap: .65rem;
}

.ts-public-header--full-width .ts-public-nav a {
    font-family: Figtree, Inter, sans-serif;
    font-weight: 400;
    letter-spacing: .01em;
}

.ts-public-header--full-width .ts-public-nav__divider {
    display: inline-block;
    color: var(--ts-public-theme-page-line, #d8ece0);
    font-family: Figtree, Inter, sans-serif;
    font-size: .82rem;
    font-weight: 400;
    line-height: 1;
    user-select: none;
}

.ts-public-header--full-width .ts-public-mobile-menu .ts-public-nav__divider {
    display: none;
}

@media (max-width: 980px) {
    .ts-public-header--full-width .ts-public-nav__divider {
        display: none;
    }
}

/* F02.2-R5: shared public-page surfaces. These selectors stay scoped to the public layout. */
.ts-public-page-hero {
    border-bottom: 1px solid var(--ts-public-theme-page-line, var(--ts-public-line));
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--ts-public-theme-page-surface, #f7fcf8) 88%, white), color-mix(in srgb, var(--ts-public-theme-page-end, #eaf8f0) 82%, white)),
        var(--ts-public-header-image) center / cover no-repeat;
}

.ts-public-page-hero__inner,
.ts-contact-page__content,
.ts-services-page__catalog {
    width: min(calc(100% - 2rem), 76rem);
    margin-right: auto;
    margin-left: auto;
}

.ts-public-page-hero__inner {
    display: grid;
    min-height: 14rem;
    align-content: center;
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
}

.ts-public-eyebrow {
    margin: 0 0 .55rem;
    color: var(--ts-public-theme-accent-strong, var(--ts-public-green-700));
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.ts-public-page-hero h1,
.ts-contact-page__content h2,
.ts-services-page__catalog h2 {
    margin: 0;
    color: var(--ts-public-ink);
    letter-spacing: -.025em;
    line-height: 1.15;
}

.ts-public-page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.ts-public-page-hero p:last-child { max-width: 44rem; margin: .8rem 0 0; color: var(--ts-public-muted); font-size: 1.05rem; line-height: 1.65; }

.ts-contact-page__main,
.ts-services-page__main { overflow: hidden; background: var(--ts-public-theme-page-start, #f4fbf7); }

.ts-contact-page__content { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 1.5rem; padding-top: 3rem; padding-bottom: 4rem; }
.ts-contact-page__intro,
.ts-contact-page__map-card,
.ts-contact-page__form,
.ts-services-page__catalog { min-width: 0; border: 1px solid var(--ts-public-theme-page-line, var(--ts-public-line)); border-radius: 1rem; background: var(--ts-public-theme-page-surface, var(--ts-public-surface)); box-shadow: 0 .7rem 1.6rem color-mix(in srgb, var(--ts-public-ink) 7%, transparent); }
.ts-contact-page__intro { padding: 1.5rem; }
.ts-contact-page__intro h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
.ts-contact-page__intro > p:not(.ts-public-eyebrow) { margin: .8rem 0 0; color: var(--ts-public-muted); line-height: 1.7; }
.ts-contact-page__details { display: grid; gap: .65rem; margin: 1.35rem 0 0; color: var(--ts-public-muted); font-style: normal; line-height: 1.5; }
.ts-contact-page__details a { color: var(--ts-public-theme-accent-strong, var(--ts-public-green-700)); font-weight: 700; text-decoration: underline; text-underline-offset: .15em; overflow-wrap: anywhere; }
.ts-contact-page__map-card { overflow: hidden; min-height: 20rem; }
.ts-contact-page__map-card iframe { display: block; width: 100%; min-height: 20rem; height: 100%; border: 0; }
.ts-contact-page__form { grid-column: 1 / -1; padding: 1.5rem; }
.ts-contact-page__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ts-contact-page__field { display: grid; gap: .4rem; min-width: 0; }
.ts-contact-page__field--wide { grid-column: 1 / -1; }
.ts-contact-page__field label { color: var(--ts-public-ink); font-size: .84rem; font-weight: 800; }
.ts-contact-page__field input,
.ts-contact-page__field select,
.ts-contact-page__field textarea { width: 100%; border: 1px solid var(--ts-public-theme-page-line, var(--ts-public-line)); border-radius: .6rem; color: var(--ts-public-ink); background: #fff; font: inherit; font-size: .92rem; }
.ts-contact-page__field input,
.ts-contact-page__field select { min-height: 2.75rem; padding: .65rem .75rem; }
.ts-contact-page__field textarea { min-height: 9rem; padding: .75rem; resize: vertical; }
.ts-contact-page__field input:focus,
.ts-contact-page__field select:focus,
.ts-contact-page__field textarea:focus { border-color: var(--ts-public-theme-accent-strong, var(--ts-public-green-700)); outline: 3px solid color-mix(in srgb, var(--ts-public-theme-accent, #58a673) 24%, transparent); outline-offset: 1px; }
.ts-contact-page__form > .ts-public-button { margin-top: 1.25rem; cursor: pointer; }
.ts-contact-page__feedback { margin-top: 1rem; padding: .75rem .9rem; border-radius: .55rem; font-size: .86rem; }
.ts-contact-page__feedback--error { color: #7d2b2b; background: #fff0f0; }
.ts-contact-page__honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

.ts-services-page__catalog { margin-top: 3rem; margin-bottom: 4rem; padding: 1.5rem; }
.ts-services-page__heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.25rem; }
.ts-services-page__heading h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
.ts-services-page__heading > p { max-width: 28rem; margin: 0; color: var(--ts-public-muted); line-height: 1.55; text-align: right; }
.ts-service-catalog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0 !important; }
.ts-service-card { display: flex; min-width: 0; flex-direction: column; padding: 0 !important; overflow: hidden; border: 1px solid var(--ts-public-theme-page-line, var(--ts-public-line)); border-radius: .85rem; background: var(--ts-public-surface); box-shadow: none; }
.ts-service-card__image { display: block; width: 100%; height: 12rem; object-fit: cover; }
.ts-service-card__body { display: flex; flex: 1; flex-direction: column; padding: 1rem; }
.ts-service-card__description { flex: 1; margin: 0; color: var(--ts-public-muted); font-size: .88rem; line-height: 1.55; }
.ts-service-card__footer { display: flex; align-items: end; justify-content: space-between; gap: .75rem; margin-top: 1.1rem; }
.ts-service-card__actions { display: flex; flex-wrap: wrap; gap: .35rem; }
.ts-service-card__button { border: 1px solid var(--ts-public-theme-page-line, var(--ts-public-line)); border-radius: .45rem; color: var(--ts-public-theme-accent-strong, var(--ts-public-green-700)); background: var(--ts-public-theme-page-surface, var(--ts-public-soft)); font: inherit; font-size: .75rem; cursor: pointer; }
.ts-service-card__button:hover, .ts-service-card__button:focus-visible { color: #fff; background: var(--ts-public-theme-accent-strong, var(--ts-public-green-700)); }
.ts-service-card__date { flex: 0 0 auto; color: var(--ts-public-muted); font-size: .72rem; }

.ts-explore-marketplace--empty { padding: 1.5rem; }
body.ts-public-page .ts-explore-hero { position: relative; top: auto; z-index: auto; }
body.ts-public-page .ts-explore-intro h2 { color: #e9f1ed; }
body.ts-public-page .ts-explore-intro > p { color: rgba(233, 241, 237, .76); }
body.ts-public-page .ts-explore-marketplace--single { border-color: transparent; background: transparent; box-shadow: none; }
body.ts-public-page .ts-explore-marketplace--single .ts-explore-marketplace__heading h2 { color: #e9f1ed; }
body.ts-public-page .ts-explore-marketplace--single .ts-explore-marketplace__heading > p { color: rgba(233, 241, 237, .76); }
body.ts-public-page .ts-explore-marketplace--single .ts-explore-marketplace__grid { grid-template-columns: minmax(0, 38rem); }
body.ts-public-page .ts-explore-marketplace--single .ts-explore-marketplace-card { background: var(--ts-public-surface); }
.ts-explore-empty-state { display: flex; align-items: center; gap: 1rem; min-height: 8rem; }
.ts-explore-empty-state__icon { display: grid; width: 3rem; height: 3rem; flex: 0 0 auto; place-items: center; border-radius: .8rem; color: var(--ts-public-theme-accent-strong, var(--ts-public-green-700)); background: var(--ts-public-theme-page-end, var(--ts-public-soft)); }
.ts-explore-empty-state__icon svg { width: 1.55rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.ts-explore-empty-state h2 { margin: 0; color: var(--ts-public-ink); font-size: 1.2rem; }
.ts-explore-empty-state p:last-child { margin: .4rem 0 0; color: var(--ts-public-muted); line-height: 1.5; }

@media (max-width: 900px) {
    .ts-service-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .ts-public-page-hero__inner,
    .ts-contact-page__content,
    .ts-services-page__catalog { width: calc(100% - 1.5rem); }
    .ts-public-page-hero__inner { min-height: 12rem; padding-top: 2.25rem; padding-bottom: 2.25rem; }
    .ts-contact-page__content { grid-template-columns: 1fr; padding-top: 1.5rem; padding-bottom: 3rem; }
    .ts-contact-page__form { grid-column: auto; }
    .ts-contact-page__map-card { min-height: 16rem; }
    .ts-contact-page__map-card iframe { min-height: 16rem; }
    .ts-contact-page__fields { grid-template-columns: 1fr; }
    .ts-contact-page__field--wide { grid-column: auto; }
    .ts-services-page__catalog { margin-top: 1.5rem; margin-bottom: 3rem; padding: 1rem; }
    .ts-services-page__heading { align-items: flex-start; flex-direction: column; gap: .5rem; }
    .ts-services-page__heading > p { text-align: left; }
    .ts-service-catalog__grid { grid-template-columns: 1fr; }
    .ts-explore-empty-state { align-items: flex-start; flex-direction: column; }
}

/* F02.2-R10: restore the public footer information architecture and its legacy entry points. */
.ts-public-footer {
    padding: 2.5rem 1.25rem 1.15rem;
    color: rgba(255, 255, 255, .88);
    background: var(--ts-brand-deep);
}

.ts-public-footer__inner {
    width: min(100%, 76rem);
    margin: 0 auto;
}

.ts-public-footer__top,
.ts-public-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.ts-public-footer__top {
    padding-bottom: 1.4rem;
    border-bottom: 1px solid rgba(214, 221, 189, .18);
}

.ts-public-brand--footer {
    color: #fff;
    font-size: 1.05rem;
}

.ts-public-brand--footer img {
    width: 2.8rem;
    height: 2.8rem;
}

.ts-public-footer__socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .45rem 1rem;
}

.ts-public-footer__social-label {
    margin-right: .35rem;
    color: var(--ts-brand-lime);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ts-public-footer__socials a,
.ts-public-footer__legal a,
.ts-public-footer__column a,
.ts-public-footer__column button {
    color: rgba(255, 255, 255, .78);
    font: inherit;
    font-size: .82rem;
    text-decoration: none;
}

.ts-public-footer__socials a:hover,
.ts-public-footer__socials a:focus-visible,
.ts-public-footer__legal a:hover,
.ts-public-footer__legal a:focus-visible,
.ts-public-footer__column a:hover,
.ts-public-footer__column a:focus-visible,
.ts-public-footer__column button:hover,
.ts-public-footer__column button:focus-visible {
    color: var(--ts-brand-lime);
    text-decoration: underline;
    text-underline-offset: .18rem;
}

.ts-public-footer__columns {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(10rem, 1fr));
    gap: 2.5rem;
    padding: 1.7rem 0 1.85rem;
}

.ts-public-footer__column {
    display: grid;
    align-content: start;
    justify-items: start;
    gap: .55rem;
    min-width: 0;
}

.ts-public-footer__column h2 {
    margin: 0 0 .25rem;
    color: #fff;
    font-size: .78rem;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.ts-public-footer__column p {
    max-width: 25rem;
    margin: 0 0 .35rem;
    color: rgba(255, 255, 255, .68);
    font-size: .84rem;
    line-height: 1.55;
}

.ts-public-footer__column button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.ts-public-newsletter-form { width: 100%; }
.ts-public-newsletter-form__row { display: flex; max-width: 31rem; gap: .45rem; }
.ts-public-newsletter-form input[type="email"] {
    width: 100%;
    min-width: 0;
    min-height: 2.55rem;
    padding: .6rem .75rem;
    border: 1px solid rgba(214, 221, 189, .32);
    border-radius: .55rem;
    color: var(--ts-brand-ink);
    background: rgba(255, 255, 255, .96);
    font: inherit;
    font-size: .82rem;
}

.ts-public-newsletter-form input[type="email"]::placeholder { color: #6d7e73; }
.ts-public-newsletter-form input[type="email"]:focus { border-color: var(--ts-brand-lime); outline: 3px solid rgba(214, 221, 189, .25); outline-offset: 1px; }

.ts-public-footer__button {
    flex: 0 0 auto;
    min-height: 2.55rem;
    padding: .6rem .85rem;
    border: 1px solid var(--ts-brand-lime);
    border-radius: .55rem;
    color: var(--ts-brand-deep);
    background: var(--ts-brand-lime);
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
}

.ts-public-footer__button:hover,
.ts-public-footer__button:focus-visible { color: var(--ts-brand-deep); background: #fff; }
.ts-public-newsletter-form .ts-public-footer__button {
    min-height: 2.55rem;
    padding: .6rem .85rem;
    border: 1px solid var(--ts-brand-lime);
    border-radius: .55rem;
    color: var(--ts-brand-deep);
    background: var(--ts-brand-lime);
}
.ts-public-newsletter-form .ts-public-footer__button:hover,
.ts-public-newsletter-form .ts-public-footer__button:focus-visible { color: var(--ts-brand-deep); background: #fff; }
.ts-public-form-message { min-height: 1.2rem; margin-top: .45rem !important; font-size: .76rem !important; }
.ts-public-form-message.is-success { color: var(--ts-brand-lime); }
.ts-public-form-message.is-error { color: #ffd2d2; }

.ts-public-footer__bottom {
    align-items: flex-start;
    padding-top: 1rem;
    border-top: 1px solid rgba(214, 221, 189, .18);
    color: rgba(255, 255, 255, .58);
    font-size: .72rem;
    line-height: 1.5;
}

.ts-public-footer__credit { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.ts-public-footer__developer { display: inline-flex; align-items: center; gap: .35rem; }
.ts-public-footer__developer img { width: 1.2rem; height: 1.2rem; object-fit: contain; }
.ts-public-footer__legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem 1rem; }
.ts-public-footer__legal a { font-size: .72rem; }
.ts-public-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ts-public-honeypot { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* The legacy fragments use Bootstrap class names; these scoped rules keep them usable
   in the current public layout without loading Bootstrap globally. */
.ts-public-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 1rem; overflow: auto; background: rgba(23, 32, 24, .58); }
.ts-public-modal[hidden] { display: none !important; }
.ts-public-modal .modal-dialog { width: min(100%, 48rem); max-height: calc(100vh - 2rem); margin: auto; }
.ts-public-modal .modal-content { max-height: calc(100vh - 2rem); overflow: auto; border: 1px solid var(--ts-public-line); border-radius: 1rem; color: var(--ts-brand-ink); background: #fff; box-shadow: 0 1.4rem 3rem rgba(23, 32, 24, .25); }
.ts-public-modal .modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.35rem .8rem; border-bottom: 1px solid var(--ts-public-line); background: var(--ts-public-theme-page-surface, #f7fcf8); }
.ts-public-modal .modal-header h5 { display: flex; align-items: center; gap: .55rem; margin: 0; color: var(--ts-brand-deep); font-size: 1.1rem; }
.ts-public-modal .modal-body { padding: 1.15rem 1.35rem 1.35rem; }
.ts-public-modal .modal-footer { display: flex; justify-content: center; gap: .55rem; padding: .9rem 1.35rem 1.2rem; }
.ts-public-modal .btn-close { width: 2rem; height: 2rem; flex: 0 0 auto; padding: 0; border: 1px solid var(--ts-public-line); border-radius: 999px; color: var(--ts-brand-deep); background: #fff; font-size: 1.15rem; line-height: 1; cursor: pointer; }
.ts-public-modal .btn-close::before { content: '×'; }
.ts-public-modal .img-modal-icon { width: 1.65rem; height: 1.65rem; object-fit: contain; }
.ts-public-modal .modal-body > .text-center img { display: block; width: auto; max-width: min(100%, 22rem); max-height: 10rem; margin: 0 auto 1rem; object-fit: contain; border-radius: .75rem; }
.ts-public-modal p { line-height: 1.6; }
.ts-public-modal .text-muted, .ts-public-modal .form-text { color: var(--ts-public-muted) !important; }
.ts-public-modal .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.ts-public-modal .col-12 { grid-column: 1 / -1; }
.ts-public-modal .col-md-8 { grid-column: span 1; }
.ts-public-modal .col-md-4 { grid-column: span 1; }
.ts-public-modal label { display: block; margin-bottom: .3rem; color: var(--ts-brand-deep); font-size: .78rem; font-weight: 800; }
.ts-public-modal input:not([type="checkbox"]):not([type="hidden"]), .ts-public-modal select, .ts-public-modal textarea { width: 100%; min-height: 2.65rem; padding: .6rem .7rem; border: 1px solid var(--ts-public-line); border-radius: .55rem; color: var(--ts-brand-ink); background: #fff; font: inherit; font-size: .86rem; }
.ts-public-modal textarea { min-height: 7rem; resize: vertical; }
.ts-public-modal input:focus, .ts-public-modal select:focus, .ts-public-modal textarea:focus { border-color: var(--ts-brand-green); outline: 3px solid rgba(88, 166, 115, .2); outline-offset: 1px; }
.ts-public-modal .btn { display: inline-flex; min-height: 2.35rem; align-items: center; justify-content: center; padding: .55rem .8rem; border: 1px solid var(--ts-public-line); border-radius: .55rem; color: var(--ts-brand-deep); background: #fff; font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; text-decoration: none; }
.ts-public-modal .btn-primary { border-color: var(--ts-brand-green); color: #fff; background: var(--ts-brand-green); }
.ts-public-modal .btn-primary:hover, .ts-public-modal .btn-primary:focus-visible { background: var(--ts-brand-deep); }
.ts-public-modal .btn-outline-secondary:hover, .ts-public-modal .btn-outline-secondary:focus-visible { background: var(--ts-public-soft); }
.ts-public-modal .alert { margin: .65rem 0; padding: .65rem .75rem; border-radius: .5rem; font-size: .82rem; }
.ts-public-modal .alert-success { color: #1d6039; background: #e8f6ed; }
.ts-public-modal .alert-danger { color: #852b2b; background: #fff0f0; }
.ts-public-modal .alert-warning { color: #76520d; background: #fff8df; }
.ts-public-modal .d-none { display: none !important; }
.ts-public-modal .ts-public-modal-link { padding: 0; border: 0; color: var(--ts-brand-green); background: transparent; font: inherit; text-decoration: underline; cursor: pointer; }
.ts-public-modal .accordion { display: grid; gap: .55rem; }
.ts-public-modal .accordion-item { overflow: hidden; border: 1px solid var(--ts-public-line); border-radius: .65rem; }
.ts-public-modal .accordion-button { display: flex; width: 100%; justify-content: space-between; padding: .75rem .85rem; border: 0; color: var(--ts-brand-deep); background: var(--ts-public-theme-page-surface, #f7fcf8); font: inherit; font-size: .82rem; font-weight: 800; text-align: left; cursor: pointer; }
.ts-public-modal .accordion-button::after { content: '+'; color: var(--ts-brand-green); font-size: 1rem; }
.ts-public-modal .accordion-button[aria-expanded="true"]::after { content: '−'; }
.ts-public-modal .accordion-collapse { display: none; }
.ts-public-modal .accordion-collapse.show { display: block; }
.ts-public-modal .accordion-body { padding: .8rem .85rem; color: var(--ts-public-muted); font-size: .84rem; line-height: 1.55; }
.ts-public-modal .card { display: block; width: 100%; padding: .85rem; border: 1px solid var(--ts-public-line); border-radius: .7rem; color: var(--ts-brand-deep); background: #fff; font: inherit; cursor: pointer; text-align: center; }
.ts-public-modal .card:hover, .ts-public-modal .card:focus-visible { border-color: var(--ts-brand-green); background: var(--ts-public-soft); }

#modalSignUp .modal-dialog { width: min(100%, 42rem); }
#modalSignUp .modal-content { overflow: hidden; }
#modalSignUp .modal-header { align-items: center; }
#modalSignUp .box-select-account { display: flex; align-items: center; gap: .6rem; }
#modalSignUp .type-personal, #modalSignUp .type-pyme { display: inline-flex; align-items: center; gap: .3rem; margin: 0; color: var(--ts-brand-deep); cursor: pointer; }
#modalSignUp .toggle { display: inline-flex; width: 2.7rem; height: 1.45rem; align-items: center; padding: .15rem; border-radius: 999px; background: var(--ts-brand-green); cursor: pointer; }
#modalSignUp .toggle__circle { width: 1.05rem; height: 1.05rem; border-radius: 50%; background: #fff; transition: transform .15s ease; }
#modalSignUp #checkbox:checked ~ .modal-header .toggle__circle { transform: translateX(1.25rem); }
#modalSignUp .wrapper { padding: 0 1.35rem 1.35rem; }
#modalSignUp .flip-card__back { display: none; }
#modalSignUp #checkbox:checked ~ .wrapper .flip-card__front { display: none; }
#modalSignUp #checkbox:checked ~ .wrapper .flip-card__back { display: block; }
#modalSignUp .flip-card__form { display: grid; gap: .8rem; }
#modalSignUp .inputbox { display: grid; gap: .28rem; }
#modalSignUp .inputbox span { color: var(--ts-brand-deep); font-size: .78rem; font-weight: 800; }
#modalSignUp .inputbox input { width: 100%; min-height: 2.65rem; padding: .6rem .7rem; border: 1px solid var(--ts-public-line); border-radius: .55rem; font: inherit; }
#modalSignUp .button-reg { min-height: 2.5rem; border: 0; border-radius: .55rem; color: #fff; background: var(--ts-brand-green); font: inherit; font-weight: 800; cursor: pointer; }
#modalSignUp .button-reg:hover, #modalSignUp .button-reg:focus-visible { background: var(--ts-brand-deep); }
#modalSignUp .small-legend { color: var(--ts-public-muted); font-size: .72rem; line-height: 1.45; }
#modalSignUp .small-legend a { color: var(--ts-brand-green); }

@media (max-width: 760px) {
    .ts-public-footer__top { align-items: flex-start; flex-direction: column; }
    .ts-public-footer__socials { justify-content: flex-start; }
    .ts-public-footer__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
    .ts-public-footer__newsletter { grid-column: 1 / -1; }
    .ts-public-footer__bottom { flex-direction: column; }
    .ts-public-footer__legal { justify-content: flex-start; }
}

@media (max-width: 560px) {
    .ts-public-footer { padding-right: .9rem; padding-left: .9rem; }
    .ts-public-footer__columns { grid-template-columns: 1fr; gap: 1.35rem; }
    .ts-public-footer__newsletter { grid-column: auto; }
    .ts-public-newsletter-form__row { align-items: stretch; flex-direction: column; }
    .ts-public-footer__button { width: 100%; }
    .ts-public-footer__socials { align-items: flex-start; flex-direction: column; gap: .45rem; }
    .ts-public-modal { align-items: start; padding: .6rem; }
    .ts-public-modal .modal-dialog, .ts-public-modal .modal-content { max-height: calc(100vh - 1.2rem); }
    .ts-public-modal .modal-body { padding-right: .85rem; padding-left: .85rem; }
    .ts-public-modal .row { grid-template-columns: 1fr; }
    .ts-public-modal .col-md-8, .ts-public-modal .col-md-4 { grid-column: auto; }
    #modalSignUp .wrapper { padding-right: .85rem; padding-left: .85rem; }
}

/* F02.2-R11: shared premium system for the five public information modals. */
.ts-r11-modal {
    z-index: 110;
    padding: 1.1rem;
    overflow-x: hidden;
    background: rgba(23, 32, 24, .64);
    backdrop-filter: blur(3px);
}

body.ts-public-modal-open { overflow: hidden; }

.ts-r11-modal .modal-dialog {
    width: min(100%, 64rem);
    max-height: calc(100vh - 2.2rem);
}

.ts-r11-modal__dialog--account { width: min(100%, 36rem) !important; }
.ts-r11-modal__dialog--helpdesk { width: min(100%, 56rem) !important; }
.ts-r11-modal__dialog--qys { width: min(100%, 66rem) !important; }

.ts-r11-modal .modal-content {
    overflow: auto;
    border: 1px solid rgba(54, 89, 79, .16);
    border-radius: 1.35rem;
    color: var(--ts-brand-ink);
    background: #fff;
    box-shadow: 0 1.8rem 4.5rem rgba(23, 32, 24, .28);
}

.ts-r11-modal .modal-header {
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.55rem 1.75rem 1.25rem;
    border-bottom: 1px solid var(--ts-public-line);
    background: linear-gradient(135deg, #f8fcf9 0%, #fff 72%);
}

.ts-r11-modal__heading { min-width: 0; flex: 1 1 auto; }
.ts-r11-modal__brandline { display: flex; align-items: center; gap: .6rem; margin-bottom: .75rem; }
.ts-r11-modal__logo { width: 2rem; height: 2rem; flex: 0 0 auto; object-fit: contain; }
.ts-r11-modal__eyebrow,
.ts-r11-section-label {
    color: var(--ts-brand-green);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.25;
    text-transform: uppercase;
}
.ts-r11-modal__title { margin: 0; color: var(--ts-brand-deep); font-size: clamp(1.45rem, 2.25vw, 2.05rem); font-weight: 700; line-height: 1.1; }
.ts-r11-modal__subtitle { max-width: 48rem; margin: .65rem 0 0; color: var(--ts-public-muted); font-size: .93rem; line-height: 1.55; }
.ts-r11-modal__close { margin-top: .1rem; }
.ts-r11-modal .modal-body { padding: 1.5rem 1.75rem 1.6rem; }
.ts-r11-modal__actions { align-items: center; justify-content: flex-end; flex-wrap: wrap; padding: 1rem 1.75rem 1.4rem; border-top: 1px solid var(--ts-public-line); background: #fbfdfb; }

.ts-r11-button { min-height: 2.7rem !important; padding: .65rem 1rem !important; border-radius: .7rem !important; font-size: .78rem !important; transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease; }
.ts-r11-button:hover { transform: translateY(-1px); }
.ts-r11-button--primary { border-color: var(--ts-brand-green) !important; color: #fff !important; background: var(--ts-brand-green) !important; }
.ts-r11-button--primary:hover, .ts-r11-button--primary:focus-visible { border-color: var(--ts-brand-deep) !important; background: var(--ts-brand-deep) !important; }
.ts-r11-button--secondary { border-color: var(--ts-public-line) !important; color: var(--ts-brand-deep) !important; background: #fff !important; }
.ts-r11-button--secondary:hover, .ts-r11-button--secondary:focus-visible { border-color: var(--ts-brand-green) !important; background: var(--ts-public-soft) !important; }
.ts-r11-button--quiet { border-color: transparent !important; color: var(--ts-brand-green) !important; background: transparent !important; }
.ts-r11-button--quiet:hover, .ts-r11-button--quiet:focus-visible { color: var(--ts-brand-deep) !important; background: var(--ts-public-soft) !important; }

.ts-r11-info-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(15rem, .92fr); align-items: center; gap: 1.65rem; }
.ts-r11-info-copy { min-width: 0; }
.ts-r11-lead { margin: 0 0 1.15rem; color: var(--ts-brand-ink); font-size: 1rem; line-height: 1.62; }
.ts-r11-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.ts-r11-benefit { display: grid; grid-template-columns: 2.15rem minmax(0, 1fr); align-items: start; gap: .6rem; min-width: 0; padding: .72rem; border: 1px solid var(--ts-public-line); border-radius: .8rem; background: #fbfdfb; }
.ts-r11-benefit--wide { grid-column: 1 / -1; }
.ts-r11-benefit__icon { display: grid; width: 2.15rem; height: 2.15rem; place-items: center; border-radius: .65rem; color: var(--ts-brand-green); background: var(--ts-public-soft); font-size: 1rem; }
.ts-r11-benefit h3 { margin: .05rem 0 .2rem; color: var(--ts-brand-deep); font-size: .78rem; line-height: 1.3; }
.ts-r11-benefit p { margin: 0; color: var(--ts-public-muted); font-size: .73rem; line-height: 1.45; }
.ts-r11-info-visual { min-width: 0; margin: 0; padding: .65rem; border: 1px solid var(--ts-public-line); border-radius: 1rem; background: var(--ts-public-soft); }
.ts-r11-info-visual__image { display: block; width: 100%; height: 15rem; object-fit: cover; border-radius: .7rem; }
.ts-r11-info-visual figcaption { display: flex; align-items: center; gap: .45rem; padding: .7rem .35rem .1rem; color: var(--ts-public-muted); font-size: .72rem; line-height: 1.4; }
.ts-r11-info-visual figcaption i { color: var(--ts-brand-green); font-size: 1rem; }

.ts-r11-account-body { padding-bottom: 1.7rem !important; }
.ts-r11-account-intro { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.15rem; padding: .85rem; border: 1px solid var(--ts-public-line); border-radius: .85rem; background: var(--ts-public-soft); }
.ts-r11-account-intro__image { width: 4.2rem; height: 3.4rem; flex: 0 0 auto; object-fit: cover; border-radius: .55rem; }
.ts-r11-account-intro p { margin: 0; color: var(--ts-public-muted); font-size: .82rem; line-height: 1.5; }
.ts-r11-account-welcome { margin-bottom: .9rem; }
.ts-r11-account-welcome p { margin: 0; }
.ts-r11-account-welcome__name { color: var(--ts-brand-deep); font-size: .95rem; }
.ts-r11-account-welcome__hint { color: var(--ts-public-muted); font-size: .78rem; }
.ts-r11-account-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.ts-r11-account-action { display: flex; align-items: flex-start; gap: .7rem; min-width: 0; padding: .9rem; border: 1px solid var(--ts-public-line); border-radius: .8rem; color: var(--ts-brand-deep); background: #fff; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.ts-r11-account-action:hover, .ts-r11-account-action:focus-visible { border-color: var(--ts-brand-green); color: var(--ts-brand-deep); background: var(--ts-public-soft); }
.ts-r11-account-action--primary { border-color: rgba(88, 166, 115, .35); background: var(--ts-public-soft); }
.ts-r11-account-action > i { color: var(--ts-brand-green); font-size: 1.2rem; }
.ts-r11-account-action span { display: grid; gap: .25rem; }
.ts-r11-account-action strong { font-size: .8rem; }
.ts-r11-account-action small { color: var(--ts-public-muted); font-size: .7rem; line-height: 1.4; }
.ts-r11-account-recovery { margin-top: .95rem; text-align: center; }
.ts-r11-account-recovery a { color: var(--ts-brand-green); font-size: .78rem; }
.ts-r11-account-logout { margin: .9rem 0 0; text-align: center; }

.ts-r11-support-intro { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); align-items: center; gap: 1rem; margin-bottom: 1.2rem; padding: .65rem; border: 1px solid var(--ts-public-line); border-radius: .9rem; background: var(--ts-public-soft); }
.ts-r11-support-intro__image { display: block; width: 7.5rem; height: 5rem; object-fit: cover; border-radius: .6rem; }
.ts-r11-support-intro p { margin: .3rem 0 0; color: var(--ts-public-muted); font-size: .85rem; line-height: 1.5; }
.ts-r11-accordion { gap: .6rem !important; }
.ts-r11-accordion .accordion-item { border-radius: .75rem; }
.ts-r11-accordion .accordion-button { min-height: 3rem; padding: .85rem 1rem; font-size: .84rem; }
.ts-r11-accordion .accordion-body { padding: .9rem 1rem 1rem; font-size: .83rem; }
.ts-r11-quick-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1.2rem; }
.ts-r11-quick-action { display: flex; align-items: center; gap: .75rem; min-width: 0; padding: .9rem; border: 1px solid var(--ts-public-line); border-radius: .8rem; color: var(--ts-brand-deep); background: #fff; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.ts-r11-quick-action:hover, .ts-r11-quick-action:focus-visible { border-color: var(--ts-brand-green); color: var(--ts-brand-deep); background: var(--ts-public-soft); }
.ts-r11-quick-action__icon { display: grid; width: 2.35rem; height: 2.35rem; flex: 0 0 auto; place-items: center; border-radius: .7rem; color: var(--ts-brand-green); background: var(--ts-public-soft); font-size: 1.05rem; }
.ts-r11-quick-action > span:last-child { display: grid; gap: .2rem; }
.ts-r11-quick-action strong { font-size: .78rem; }
.ts-r11-quick-action small { color: var(--ts-public-muted); font-size: .7rem; }

.ts-r11-qys-layout { display: grid; grid-template-columns: minmax(12rem, .72fr) minmax(0, 1.55fr); gap: 1.35rem; align-items: start; }
.ts-r11-qys-aside { padding: .85rem; border: 1px solid var(--ts-public-line); border-radius: .95rem; background: var(--ts-public-soft); }
.ts-r11-qys-aside__image { display: block; width: 100%; height: 10rem; object-fit: cover; border-radius: .7rem; }
.ts-r11-qys-aside p { margin: .55rem 0 .8rem; color: var(--ts-public-muted); font-size: .82rem; line-height: 1.55; }
.ts-r11-qys-note { display: flex; align-items: flex-start; gap: .45rem; padding-top: .75rem; border-top: 1px solid var(--ts-public-line); color: var(--ts-public-muted); font-size: .7rem; line-height: 1.45; }
.ts-r11-qys-note i { flex: 0 0 auto; color: var(--ts-brand-green); font-size: .95rem; }
.ts-r11-qys-form-wrap { min-width: 0; }
.ts-r11-qys-form { display: grid; gap: 1rem; }
.ts-r11-form-section { padding: .95rem; border: 1px solid var(--ts-public-line); border-radius: .9rem; background: #fff; }
.ts-r11-form-section__heading { display: flex; align-items: flex-start; gap: .65rem; margin-bottom: .9rem; }
.ts-r11-form-section__heading > span { color: var(--ts-brand-green); font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.ts-r11-form-section__heading > div { display: grid; gap: .22rem; }
.ts-r11-form-section__heading strong { color: var(--ts-brand-deep); font-size: .82rem; }
.ts-r11-form-section__heading small { color: var(--ts-public-muted); font-size: .7rem; line-height: 1.4; }
.ts-r11-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.ts-r11-field--wide { grid-column: 1 / -1; }
.ts-r11-field { min-width: 0; }
.ts-r11-field label { margin-bottom: .35rem; }
.ts-r11-field label span { color: var(--ts-public-muted); font-weight: 500; }
.ts-r11-field input[type="file"] { min-height: 2.65rem; padding: .35rem .45rem; font-size: .74rem; }
.ts-r11-field input[type="file"]::file-selector-button { margin-right: .55rem; padding: .38rem .55rem; border: 0; border-radius: .4rem; color: var(--ts-brand-deep); background: var(--ts-public-soft); font: inherit; font-size: .72rem; cursor: pointer; }
.ts-r11-field textarea { min-height: 6.4rem; }
.ts-r11-field__meta { display: flex; justify-content: space-between; gap: .75rem; margin-top: .3rem; color: var(--ts-public-muted); font-size: .68rem; }
.ts-r11-field__meta strong { color: var(--ts-brand-green); }
.ts-r11-field__help { margin-top: .3rem; color: var(--ts-public-muted); font-size: .67rem; line-height: 1.35; }
.ts-r11-consent { display: flex; align-items: flex-start; gap: .55rem; }
.ts-r11-consent input { width: 1rem; height: 1rem; flex: 0 0 auto; margin-top: .15rem; accent-color: var(--ts-brand-green); }
.ts-r11-consent label { margin: 0; color: var(--ts-public-muted) !important; font-size: .75rem !important; font-weight: 500 !important; line-height: 1.45; }
.ts-r11-consent a { color: var(--ts-brand-green); }
.ts-r11-qys-actions { display: flex; justify-content: flex-end; gap: .55rem; }
.ts-r11-qys-form .alert { margin: 0; }

@media (max-width: 840px) {
    .ts-r11-info-grid { grid-template-columns: 1fr; }
    .ts-r11-info-visual { max-width: 30rem; }
    .ts-r11-qys-layout { grid-template-columns: 1fr; }
    .ts-r11-qys-aside { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: .75rem; align-items: center; }
    .ts-r11-qys-aside__image { width: 7rem; height: 6rem; grid-row: span 2; }
    .ts-r11-qys-aside p { margin: .35rem 0; }
    .ts-r11-qys-note { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .ts-r11-modal { padding: .65rem; }
    .ts-r11-modal .modal-dialog { max-height: calc(100vh - 1.3rem); }
    .ts-r11-modal .modal-header { padding: 1.2rem 1.05rem 1rem; }
    .ts-r11-modal .modal-body { padding: 1.1rem 1.05rem 1.2rem; }
    .ts-r11-modal__actions { padding: .85rem 1.05rem 1.05rem; }
    .ts-r11-info-visual__image { height: 11rem; }
    .ts-r11-support-intro { grid-template-columns: 5.8rem minmax(0, 1fr); }
    .ts-r11-support-intro__image { width: 5.8rem; height: 4.3rem; }
}

@media (max-width: 560px) {
    .ts-r11-modal .modal-header { gap: .7rem; }
    .ts-r11-modal__title { font-size: 1.35rem; }
    .ts-r11-modal__subtitle { font-size: .82rem; }
    .ts-r11-modal__brandline { margin-bottom: .55rem; }
    .ts-r11-modal__eyebrow { font-size: .58rem; letter-spacing: .1em; }
    .ts-r11-modal__logo { width: 1.75rem; height: 1.75rem; }
    .ts-r11-benefits, .ts-r11-account-actions, .ts-r11-quick-actions, .ts-r11-field-grid { grid-template-columns: 1fr; }
    .ts-r11-benefit--wide, .ts-r11-field--wide { grid-column: auto; }
    .ts-r11-qys-aside { display: block; }
    .ts-r11-qys-aside__image { width: 100%; height: 8rem; margin-bottom: .8rem; }
    .ts-r11-qys-note { margin-top: .75rem; }
    .ts-r11-qys-actions { flex-direction: column-reverse; }
    .ts-r11-qys-actions .ts-r11-button { width: 100%; }
    .ts-r11-modal__actions { align-items: stretch; flex-direction: column-reverse; }
    .ts-r11-modal__actions .ts-r11-button { width: 100%; }
}

/* F02.2-R6: secondary public pages use a light editorial composition. */
body.ts-r6-explore-page,
body.ts-r6-contact-page,
body.ts-r6-nosotros-page {
    color: var(--ts-brand-ink, #172018);
    background: #f4f8f5;
}

body.ts-r6-explore-page .ts-public-shell,
body.ts-r6-contact-page .ts-public-shell,
body.ts-r6-nosotros-page .ts-public-shell {
    width: 100%;
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: #f4f8f5;
    box-shadow: none;
}

body.ts-r6-explore-page main#public-main,
body.ts-r6-contact-page main#public-main,
body.ts-r6-nosotros-page main#public-main { background: #f4f8f5; }

/* Explorar: compact catalog rather than an authenticated-dashboard shell. */
body.ts-r6-explore-page .ts-explore-page {
    min-height: 0;
    padding: 0 1rem 4rem;
    background: linear-gradient(180deg, #f9fcfa 0%, #eef7f1 100%);
}

body.ts-r6-explore-page .ts-explore-shell { width: min(100%, 78rem); }

body.ts-r6-explore-page .ts-explore-hero {
    position: relative;
    top: auto;
    width: 100%;
    margin: 0 0 2rem;
    border: 0;
    border-bottom: 1px solid var(--ts-public-line);
    border-radius: 0 0 1.5rem 1.5rem;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, .98), rgba(240, 250, 244, .93)),
        var(--ts-public-header-image) center / cover no-repeat;
    box-shadow: 0 .8rem 2rem rgba(54, 89, 79, .08);
}

body.ts-r6-explore-page .ts-explore-hero__inner {
    width: min(calc(100% - 2rem), 68rem);
    min-height: 12rem;
    padding: 2.25rem 0;
}

body.ts-r6-explore-page .ts-explore-eyebrow { color: var(--ts-brand-green); }
body.ts-r6-explore-page .ts-explore-hero h1 { color: var(--ts-brand-deep); font-size: clamp(2rem, 4vw, 3rem); }
body.ts-r6-explore-page .ts-explore-hero p:not(.ts-explore-eyebrow) { color: var(--ts-public-muted); font-size: 1rem; }
body.ts-r6-explore-page .ts-explore-hero__action { background: var(--ts-brand-green); }
body.ts-r6-explore-page .ts-explore-hero__action:hover { background: var(--ts-brand-deep); }

body.ts-r6-explore-page .ts-explore-marketplace {
    margin-bottom: 2.6rem;
    padding: 1.35rem;
    border-color: var(--ts-public-line);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 .7rem 1.8rem rgba(54, 89, 79, .07);
}

body.ts-r6-explore-page .ts-explore-marketplace__heading,
body.ts-r6-explore-page .ts-explore-discovery__heading {
    align-items: end;
    margin-bottom: 1.15rem;
}

body.ts-r6-explore-page .ts-explore-marketplace__heading h2,
body.ts-r6-explore-page .ts-explore-discovery__heading h2 {
    color: var(--ts-brand-deep);
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

body.ts-r6-explore-page .ts-explore-marketplace__heading > p,
body.ts-r6-explore-page .ts-explore-discovery__heading > p {
    color: var(--ts-public-muted);
}

body.ts-r6-explore-page .ts-explore-marketplace--single {
    width: min(100%, 48rem);
    margin-right: auto;
    margin-left: auto;
    border-color: var(--ts-public-line);
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 .7rem 1.8rem rgba(54, 89, 79, .07);
}

body.ts-r6-explore-page .ts-explore-marketplace--single .ts-explore-marketplace__heading h2,
body.ts-r6-explore-page .ts-explore-marketplace--single .ts-explore-marketplace__heading > p { color: var(--ts-brand-deep); }

body.ts-r6-explore-page .ts-explore-marketplace-card,
body.ts-r6-explore-page .ts-explore-card {
    border-color: var(--ts-public-line);
    background: #fff;
    box-shadow: 0 .45rem 1rem rgba(54, 89, 79, .06);
}

body.ts-r6-explore-page .ts-explore-marketplace-card h3,
body.ts-r6-explore-page .ts-explore-card h3 { color: var(--ts-brand-deep); }
body.ts-r6-explore-page .ts-explore-marketplace-card__category,
body.ts-r6-explore-page .ts-explore-marketplace-card__stars,
body.ts-r6-explore-page .ts-explore-marketplace-card__reviews-link { color: var(--ts-brand-green); }
body.ts-r6-explore-page .ts-explore-marketplace-card__detail-link,
body.ts-r6-explore-page .ts-explore-card--ready a { background: var(--ts-brand-green); }
body.ts-r6-explore-page .ts-explore-marketplace-card__detail-link:hover,
body.ts-r6-explore-page .ts-explore-card--ready a:hover { background: var(--ts-brand-deep); }

body.ts-r6-explore-page .ts-explore-discovery { padding-bottom: 1rem; }
body.ts-r6-explore-page .ts-explore-discovery__heading { display: flex; justify-content: space-between; gap: 1.5rem; }
body.ts-r6-explore-page .ts-explore-discovery__heading > p { max-width: 30rem; margin: 0; line-height: 1.55; text-align: right; }
body.ts-r6-explore-page .ts-explore-grid { margin-top: 0; }
body.ts-r6-explore-page .ts-explore-card:not(.ts-explore-card--ready) .ts-explore-card__status { color: var(--ts-public-muted); }

/* Contacto: form first, institutional context second, with a compact map. */
body.ts-r6-contact-page .ts-contact-page__main { background: #f4f8f5; }
body.ts-r6-contact-page .ts-public-page-hero {
    background:
        linear-gradient(115deg, rgba(255, 255, 255, .98), rgba(240, 250, 244, .92)),
        var(--ts-public-header-image) center / cover no-repeat;
}
body.ts-r6-contact-page .ts-public-page-hero__inner { min-height: 9rem; padding-top: 2rem; padding-bottom: 2rem; }
body.ts-r6-contact-page .ts-public-page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.65rem); }
body.ts-r6-contact-page .ts-public-page-hero p:last-child { max-width: 38rem; font-size: .98rem; }
body.ts-r6-contact-page .ts-contact-page__content {
    grid-template-columns: minmax(0, 1.15fr) minmax(17rem, .85fr);
    align-items: start;
    gap: 1.25rem;
    padding-top: 2.25rem;
    padding-bottom: 3rem;
}
body.ts-r6-contact-page .ts-contact-page__form { grid-column: 1; grid-row: 1; padding: 1.25rem; }
body.ts-r6-contact-page .ts-contact-page__side { display: grid; grid-column: 2; grid-row: 1; gap: .9rem; min-width: 0; }
body.ts-r6-contact-page .ts-contact-page__intro,
body.ts-r6-contact-page .ts-contact-page__map-card { border-radius: .85rem; box-shadow: 0 .55rem 1.25rem rgba(54, 89, 79, .06); }
body.ts-r6-contact-page .ts-contact-page__intro { padding: 1.2rem; }
body.ts-r6-contact-page .ts-contact-page__intro h2 { font-size: 1.5rem; }
body.ts-r6-contact-page .ts-contact-page__intro > p:not(.ts-public-eyebrow) { font-size: .9rem; line-height: 1.6; }
body.ts-r6-contact-page .ts-contact-page__map-card { min-height: 11rem; }
body.ts-r6-contact-page .ts-contact-page__map-card iframe { min-height: 11rem; }
body.ts-r6-contact-page .ts-contact-page__fields { gap: .8rem; }
body.ts-r6-contact-page .ts-contact-page__field textarea { min-height: 7rem; }

/* Nosotros: light institutional presentation with a restrained technology motif. */
body.ts-r6-nosotros-page .nosotros-page,
body.ts-r6-nosotros-page .nosotros-hero,
body.ts-r6-nosotros-page .nosotros-section,
body.ts-r6-nosotros-page .nosotros-section-dark { color: var(--ts-brand-ink); background: #f7faf8; }
body.ts-r6-nosotros-page .nosotros-hero {
    min-height: 0;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, .98), rgba(237, 248, 241, .9)),
        var(--ts-public-header-image) center / cover no-repeat;
}
body.ts-r6-nosotros-page .nosotros-hero-grid { opacity: .26; background-image: linear-gradient(rgba(88, 166, 115, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(88, 166, 115, .14) 1px, transparent 1px); }
body.ts-r6-nosotros-page .nosotros-hero::before,
body.ts-r6-nosotros-page .nosotros-hero::after { border-color: rgba(88, 166, 115, .2); }
body.ts-r6-nosotros-page .nosotros-hero-content { padding-top: 3.5rem; padding-bottom: 3.5rem; text-align: left; }
body.ts-r6-nosotros-page .nosotros-hero-mark { margin-left: 0; color: var(--ts-brand-green); border-color: rgba(88, 166, 115, .35); background: rgba(88, 166, 115, .08); box-shadow: 0 0 0 .5rem rgba(88, 166, 115, .04); }
body.ts-r6-nosotros-page .nosotros-hero h1 { max-width: 44rem; color: var(--ts-brand-deep); font-size: clamp(2rem, 4.5vw, 3.55rem); }
body.ts-r6-nosotros-page .nosotros-hero-copy { max-width: 44rem; color: var(--ts-public-muted); font-size: 1rem; line-height: 1.7; }
body.ts-r6-nosotros-page .nosotros-section { padding: 3.75rem 0; }
body.ts-r6-nosotros-page .nosotros-section-light { background: #fff; }
body.ts-r6-nosotros-page .nosotros-section-dark { background: #edf7f0; }
body.ts-r6-nosotros-page .nosotros-section h2 { color: var(--ts-brand-deep); }
body.ts-r6-nosotros-page .nosotros-section p,
body.ts-r6-nosotros-page .nosotros-section-dark p { color: var(--ts-public-muted); }
body.ts-r6-nosotros-page .ecosystem-visual { background: radial-gradient(circle, rgba(88, 166, 115, .12), rgba(88, 166, 115, 0) 66%); }
body.ts-r6-nosotros-page .nosotros-section-heading { margin-bottom: 1.5rem; }
body.ts-r6-nosotros-page .nosotros-section-heading > p { max-width: 26rem; }
body.ts-r6-nosotros-page .nosotros-eyebrow-light { color: var(--ts-brand-green); }
body.ts-r6-nosotros-page .nosotros-card-grid { gap: 1rem; }
body.ts-r6-nosotros-page .nosotros-card { padding: 1.5rem; border-color: rgba(88, 166, 115, .22); background: #fff; box-shadow: 0 .55rem 1.25rem rgba(54, 89, 79, .06); }
body.ts-r6-nosotros-page .nosotros-card-icon { color: #fff; background: var(--ts-brand-green); }
body.ts-r6-nosotros-page .nosotros-card h2 { font-size: 1.3rem; }

@media (max-width: 680px) {
    body.ts-r6-explore-page .ts-explore-page { padding-right: .75rem; padding-left: .75rem; }
    body.ts-r6-explore-page .ts-explore-hero__inner { width: calc(100% - 1.5rem); }
    body.ts-r6-explore-page .ts-explore-discovery__heading { align-items: flex-start; flex-direction: column; gap: .5rem; }
    body.ts-r6-explore-page .ts-explore-discovery__heading > p { text-align: left; }
    body.ts-r6-contact-page .ts-contact-page__content { grid-template-columns: 1fr; padding-top: 1.5rem; }
    body.ts-r6-contact-page .ts-contact-page__form { grid-column: 1; grid-row: 1; }
    body.ts-r6-contact-page .ts-contact-page__side { grid-column: 1; grid-row: 2; }
    body.ts-r6-contact-page .ts-contact-page__map-card,
    body.ts-r6-contact-page .ts-contact-page__map-card iframe { min-height: 10rem; }
    body.ts-r6-nosotros-page .nosotros-hero-content { padding-top: 2.75rem; padding-bottom: 2.75rem; }
    body.ts-r6-nosotros-page .nosotros-section-heading { align-items: flex-start; flex-direction: column; gap: .5rem; }
    body.ts-r6-nosotros-page .nosotros-section-heading p { text-align: left; }
}

/* F02.2-R10.1: isolate the restored footer from historical layout selectors. */
.ts-public-footer {
    width: 100%;
    min-width: 0;
    padding: 2.75rem 1.25rem 1.15rem;
    overflow: hidden;
    color: rgba(255, 255, 255, .88);
    background-color: var(--ts-brand-deep);
}

.ts-public-footer,
.ts-public-footer *,
.ts-public-footer *::before,
.ts-public-footer *::after { box-sizing: border-box; }

.ts-public-footer__inner {
    width: min(100%, 76rem);
    min-width: 0;
    margin: 0 auto;
}

.ts-public-footer__top {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid rgba(214, 221, 189, .2);
}

.ts-public-footer .ts-public-brand--footer {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    flex: 0 1 auto;
    align-items: center;
    gap: .65rem;
    color: #fff;
    font-size: 1rem;
    line-height: 1.2;
    white-space: nowrap;
}

.ts-public-footer .ts-public-brand--footer img {
    display: block;
    width: 2.25rem;
    height: 2.25rem;
    max-width: 2.25rem;
    max-height: 2.25rem;
    flex: 0 0 2.25rem;
    object-fit: contain;
}

.ts-public-footer__socials {
    display: flex;
    min-width: 0;
    flex: 0 1 auto;
    align-items: center;
    justify-content: flex-end;
    gap: .65rem 1rem;
}

.ts-public-footer__social-label {
    flex: 0 0 auto;
    color: var(--ts-brand-lime);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ts-public-footer__social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .4rem 1rem;
    min-width: 0;
}

.ts-public-footer__social-links a,
.ts-public-footer__legal a,
.ts-public-footer__link-list a,
.ts-public-footer__link-list button {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    min-width: 0;
    color: rgba(255, 255, 255, .78);
    font: inherit;
    font-size: .82rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.ts-public-footer__social-links a:hover,
.ts-public-footer__social-links a:focus-visible,
.ts-public-footer__legal a:hover,
.ts-public-footer__legal a:focus-visible,
.ts-public-footer__link-list a:hover,
.ts-public-footer__link-list a:focus-visible,
.ts-public-footer__link-list button:hover,
.ts-public-footer__link-list button:focus-visible {
    color: var(--ts-brand-lime);
    text-decoration: underline;
    text-underline-offset: .18rem;
}

.ts-public-footer__columns {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    padding: 1.7rem 0 1.9rem;
}

.ts-public-footer__column {
    display: grid;
    min-width: 0;
    align-content: start;
    justify-items: start;
    gap: .6rem;
}

.ts-public-footer__column h2 {
    margin: 0 0 .3rem;
    color: #fff;
    font-size: .78rem;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.ts-public-footer__column p {
    width: min(100%, 26rem);
    margin: 0 0 .35rem;
    color: rgba(255, 255, 255, .68);
    font-size: .84rem;
    line-height: 1.55;
}

.ts-public-footer__link-list {
    display: grid;
    min-width: 0;
    justify-items: start;
    gap: .58rem;
}

.ts-public-footer__link-list button {
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.ts-public-newsletter-form {
    width: 100%;
    min-width: 0;
}

.ts-public-newsletter-form__row {
    display: grid;
    width: 100%;
    max-width: 31rem;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .5rem;
}

.ts-public-newsletter-form input[type="email"] {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 2.55rem;
    padding: .6rem .75rem;
    border: 1px solid rgba(214, 221, 189, .32);
    border-radius: .55rem;
    color: var(--ts-brand-ink);
    background: rgba(255, 255, 255, .96);
    font: inherit;
    font-size: .82rem;
}

.ts-public-newsletter-form .ts-public-footer__button {
    display: inline-flex;
    width: auto;
    min-width: 7rem;
    min-height: 2.55rem;
    align-items: center;
    justify-content: center;
    padding: .6rem .85rem;
    border: 1px solid var(--ts-brand-lime);
    border-radius: .55rem;
    color: var(--ts-brand-deep);
    background: var(--ts-brand-lime);
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.ts-public-newsletter-form .ts-public-footer__button:hover,
.ts-public-newsletter-form .ts-public-footer__button:focus-visible {
    color: var(--ts-brand-deep);
    background: #fff;
}

.ts-public-footer__bottom {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(214, 221, 189, .2);
    color: rgba(255, 255, 255, .58);
    font-size: .72rem;
    line-height: 1.5;
}

.ts-public-footer__credit,
.ts-public-footer__legal {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem 1rem;
}

.ts-public-footer__credit { justify-content: flex-start; }
.ts-public-footer__legal { justify-content: flex-end; }
.ts-public-footer__developer { display: inline-flex; align-items: center; gap: .3rem; }
.ts-public-footer__developer img {
    display: block;
    width: 1rem;
    height: 1rem;
    max-width: 1rem;
    max-height: 1rem;
    flex: 0 0 1rem;
    object-fit: contain;
}

@media (max-width: 900px) {
    .ts-public-footer__top { align-items: flex-start; }
    .ts-public-footer__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.7rem 2rem;
    }
    .ts-public-footer__newsletter { grid-column: 1 / -1; }
    .ts-public-footer__bottom { flex-direction: column; }
    .ts-public-footer__legal { justify-content: flex-start; }
}

@media (max-width: 560px) {
    .ts-public-footer { padding: 2.2rem .9rem 1rem; }
    .ts-public-footer__top { flex-direction: column; gap: 1.1rem; }
    .ts-public-footer__socials { width: 100%; align-items: flex-start; flex-direction: column; gap: .55rem; }
    .ts-public-footer__social-links { justify-content: flex-start; gap: .45rem .85rem; }
    .ts-public-footer__columns { grid-template-columns: 1fr; gap: 1.35rem; }
    .ts-public-footer__newsletter { grid-column: auto; }
    .ts-public-newsletter-form__row { grid-template-columns: 1fr; }
    .ts-public-newsletter-form .ts-public-footer__button { width: 100%; }
    .ts-public-footer__bottom { gap: .85rem; }
    .ts-public-footer__legal { gap: .35rem .8rem; }
}

/* F02.2-R10.2: restore the intended visual scale and icon-led social row. */
.ts-public-footer {
    padding: 4rem 1.5rem 1.55rem;
    background-color: var(--ts-brand-deep);
}

.ts-public-footer__top {
    gap: 2.5rem;
    padding-bottom: 1.75rem;
}

.ts-public-footer .ts-public-brand--footer {
    gap: .8rem;
    font-size: clamp(1.05rem, 1.2vw, 1.25rem);
}

.ts-public-footer .ts-public-brand--footer img {
    width: 2.7rem;
    height: 2.7rem;
    max-width: 2.7rem;
    max-height: 2.7rem;
    flex-basis: 2.7rem;
}

.ts-public-footer__socials {
    gap: .85rem 1.2rem;
}

.ts-public-footer__social-label {
    font-size: .76rem;
}

.ts-public-footer__social-links {
    gap: .65rem;
}

.ts-public-footer__social-links a {
    display: inline-grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid rgba(214, 221, 189, .34);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    font-size: 1.45rem;
    line-height: 1;
    text-decoration: none;
}

.ts-public-footer__social-links a:hover,
.ts-public-footer__social-links a:focus-visible {
    border-color: var(--ts-brand-lime);
    color: var(--ts-brand-deep);
    background: var(--ts-brand-lime);
    text-decoration: none;
}

.ts-public-footer__columns {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.25rem, 5vw, 5rem);
    padding: 2.3rem 0 2.55rem;
}

.ts-public-footer__column {
    gap: .85rem;
}

.ts-public-footer__column h2 {
    margin-bottom: .4rem;
    font-size: clamp(1rem, 1.15vw, 1.15rem);
    letter-spacing: .06em;
}

.ts-public-footer__column p {
    width: min(100%, 28rem);
    margin-bottom: .55rem;
    font-size: .95rem;
    line-height: 1.65;
}

.ts-public-footer__link-list {
    gap: .82rem;
}

.ts-public-footer__link-list a,
.ts-public-footer__link-list button {
    font-size: .95rem;
    line-height: 1.55;
}

.ts-public-newsletter-form__row {
    max-width: 26rem;
    grid-template-columns: 1fr;
    gap: .7rem;
}

.ts-public-newsletter-form input[type="email"],
.ts-public-newsletter-form .ts-public-footer__button {
    width: 100%;
    min-height: 3rem;
    font-size: .9rem;
}

.ts-public-newsletter-form .ts-public-footer__button {
    min-width: 0;
}

.ts-public-footer__bottom {
    padding-top: 1.3rem;
    font-size: .82rem;
}

.ts-public-footer__legal a { font-size: .82rem; }

@media (max-width: 900px) {
    .ts-public-footer { padding-top: 3.25rem; }
    .ts-public-footer__columns { gap: 2rem 2.75rem; }
}

@media (max-width: 560px) {
    .ts-public-footer { padding: 2.9rem 1rem 1.25rem; }
    .ts-public-footer__top { gap: 1.4rem; }
    .ts-public-footer .ts-public-brand--footer img {
        width: 2.4rem;
        height: 2.4rem;
        max-width: 2.4rem;
        max-height: 2.4rem;
        flex-basis: 2.4rem;
    }
    .ts-public-footer__socials {
        width: 100%;
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        gap: .7rem 1rem;
    }
    .ts-public-footer__social-links { justify-content: flex-start; }
    .ts-public-footer__columns {
        grid-template-columns: 1fr;
        gap: 1.9rem;
        padding-top: 2rem;
    }
    .ts-public-footer__bottom { gap: 1.1rem; }
}

/* F02.6-R1: provider directory and public profiles use the approved light surface. */
body.ts-provider-public-page {
    --ts-ui-ink: var(--ts-public-ink, #173326);
    --ts-ui-muted: var(--ts-public-muted, #5f7168);
    --ts-ui-line: var(--ts-public-theme-page-line, var(--ts-public-line, #d9ebe0));
    --ts-ui-surface: var(--ts-public-theme-page-surface, var(--ts-public-surface, #fff));
    --ts-ui-soft: var(--ts-public-theme-page-end, var(--ts-public-soft, #effaf3));
    --ts-ui-action: var(--ts-public-theme-accent-strong, var(--ts-public-green-700, #087443));
    --ts-ui-action-hover: var(--ts-public-green-900, #20513b);
    color: var(--ts-public-ink, #173326);
    background: var(--ts-public-theme-page-start, #f4fbf7);
}

body.ts-provider-public-page .ts-public-shell {
    width: 100%;
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: var(--ts-public-theme-page-start, #f4fbf7);
    box-shadow: none;
}

body.ts-provider-public-page #public-main {
    min-height: 0;
    overflow: hidden;
    background: linear-gradient(180deg, var(--ts-public-theme-page-start, #f4fbf7), var(--ts-public-theme-page-end, #eaf8f0));
}

body.ts-provider-public-page .ts-provider-directory,
body.ts-provider-public-page .ts-provider-profile {
    color: var(--ts-public-ink, #173326);
}

body.ts-provider-public-page .ts-provider-directory__shell,
body.ts-provider-public-page .ts-provider-profile__shell {
    width: min(calc(100% - 2rem), 78rem);
    margin: 0 auto;
}

body.ts-provider-public-page .ts-provider-directory__hero {
    width: 100%;
    margin: 0 0 2.25rem;
    border-color: var(--ts-public-theme-page-line, var(--ts-public-line, #d9ebe0));
    border-top: 0;
    border-radius: 0 0 1rem 1rem;
    background-color: var(--ts-public-theme-page-surface, var(--ts-public-surface, #fff));
    box-shadow: 0 .7rem 1.6rem color-mix(in srgb, var(--ts-public-ink, #173326) 8%, transparent);
}

body.ts-provider-public-page .ts-provider-directory__hero-inner {
    width: min(calc(100% - 2rem), 76rem);
    padding: 1.35rem 0 1.15rem;
}

body.ts-provider-public-page .ts-provider-directory__hero h1,
body.ts-provider-public-page .ts-provider-directory h2,
body.ts-provider-public-page .ts-provider-card h3,
body.ts-provider-public-page .ts-provider-profile h1,
body.ts-provider-public-page .ts-provider-profile h2,
body.ts-provider-public-page .ts-provider-offering-card h3 {
    color: var(--ts-public-ink, #173326);
}

body.ts-provider-public-page .ts-provider-directory__hero-copy-text > p:last-child,
body.ts-provider-public-page .ts-provider-directory__heading > p,
body.ts-provider-public-page .ts-provider-card__description,
body.ts-provider-public-page .ts-provider-profile__headline,
body.ts-provider-public-page .ts-provider-profile__description,
body.ts-provider-public-page .ts-provider-profile__empty-offerings,
body.ts-provider-public-page .ts-provider-offering-card__description,
body.ts-provider-public-page .ts-provider-profile__identity p,
body.ts-provider-public-page .ts-provider-directory__summary-text {
    color: var(--ts-public-muted, #5f7168);
}

body.ts-provider-public-page .ts-provider-directory__grid {
    align-items: stretch;
}

body.ts-provider-public-page .ts-provider-card {
    min-height: 0;
    background: var(--ts-public-theme-page-surface, var(--ts-public-surface, #fff));
}

body.ts-provider-public-page .ts-provider-directory__empty {
    min-height: clamp(10rem, 22vw, 14rem);
    background: color-mix(in srgb, var(--ts-public-theme-page-surface, #f7fcf8) 94%, var(--ts-public-theme-page-end, #eaf8f0));
}

body.ts-provider-public-page .ts-provider-profile__card {
    background: var(--ts-public-theme-page-surface, var(--ts-public-surface, #fff));
}

body.ts-provider-public-page .ts-provider-profile__header {
    background: linear-gradient(135deg, color-mix(in srgb, var(--ts-public-theme-page-surface, #f7fcf8) 90%, white), color-mix(in srgb, var(--ts-public-theme-page-end, #eaf8f0) 72%, white));
}

body.ts-provider-public-page .ts-provider-profile__header > *,
body.ts-provider-public-page .ts-provider-profile__section > * {
    max-width: 64rem;
}

body.ts-provider-public-page .ts-provider-profile__description {
    max-width: 58rem;
}

body.ts-provider-public-page .ts-provider-profile__contact-link,
body.ts-provider-public-page .ts-provider-profile__management-link,
body.ts-provider-public-page .ts-provider-offering-card__contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    padding: .55rem .85rem;
    border: 1px solid var(--ts-public-theme-accent-strong, var(--ts-public-green-700, #087443));
    border-radius: .6rem;
    color: #fff;
    background: var(--ts-public-theme-accent-strong, var(--ts-public-green-700, #087443));
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

body.ts-provider-public-page .ts-provider-profile__management-link {
    color: var(--ts-public-theme-accent-strong, var(--ts-public-green-700, #087443));
    background: var(--ts-public-theme-page-surface, var(--ts-public-surface, #fff));
}

body.ts-provider-public-page .ts-provider-profile__contact-link:hover,
body.ts-provider-public-page .ts-provider-profile__contact-link:focus-visible,
body.ts-provider-public-page .ts-provider-offering-card__contact:hover,
body.ts-provider-public-page .ts-provider-offering-card__contact:focus-visible {
    border-color: var(--ts-public-green-900, #20513b);
    color: #fff;
    background: var(--ts-public-green-900, #20513b);
    text-decoration: none;
}

body.ts-provider-public-page .ts-provider-profile__management-link:hover,
body.ts-provider-public-page .ts-provider-profile__management-link:focus-visible {
    border-color: var(--ts-public-green-900, #20513b);
    color: var(--ts-public-green-900, #20513b);
    background: var(--ts-public-soft, #effaf3);
    text-decoration: none;
}

body.ts-provider-public-page .ts-provider-offering-card__contact {
    min-height: 2.25rem;
    margin-top: .8rem;
    padding: .45rem .7rem;
    font-size: .75rem;
}

body.ts-provider-public-page :is(a, button):focus-visible {
    outline: 3px solid color-mix(in srgb, var(--ts-public-theme-accent, #8cbf40) 58%, transparent);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    body.ts-provider-public-page .ts-provider-directory__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    body.ts-provider-public-page .ts-provider-directory,
    body.ts-provider-public-page .ts-provider-profile { padding-right: .75rem; padding-left: .75rem; }
    body.ts-provider-public-page .ts-provider-directory__shell,
    body.ts-provider-public-page .ts-provider-profile__shell { width: 100%; }
    body.ts-provider-public-page .ts-provider-directory__hero-inner { width: calc(100% - 1.5rem); }
    body.ts-provider-public-page .ts-provider-directory__grid,
    body.ts-provider-public-page .ts-provider-offering-grid { grid-template-columns: 1fr; }
    body.ts-provider-public-page .ts-provider-directory__hero-image { width: 7rem; height: 5.5rem; }
}

@media (max-width: 420px) {
    body.ts-provider-public-page .ts-provider-directory__hero-image { width: 6rem; height: 4.75rem; }
    body.ts-provider-public-page .ts-provider-directory__hero-copy { gap: .7rem; }
}

body.ts-provider-public-page .ts-provider-directory,
body.ts-provider-public-page .ts-provider-profile {
    min-height: calc(100vh - 4rem);
    padding: 0 1rem 4rem;
}

body.ts-provider-public-page .ts-provider-directory__hero-copy {
    display: flex;
    max-width: 42rem;
    align-items: center;
    gap: .9rem;
}

body.ts-provider-public-page .ts-provider-directory__hero-copy-text,
body.ts-provider-public-page .ts-provider-directory__hero-copy-text p,
body.ts-provider-public-page .ts-provider-profile__header p {
    min-width: 0;
}

body.ts-provider-public-page .ts-provider-directory__hero-image {
    display: block;
    width: 8.5rem;
    height: 6.5rem;
    flex: 0 0 auto;
    margin: 0;
    border: 1px solid var(--ts-public-theme-page-line, var(--ts-public-line, #d9ebe0));
    border-radius: .75rem;
    object-fit: cover;
}

body.ts-provider-public-page .ts-provider-directory__hero-main,
body.ts-provider-public-page .ts-provider-directory__summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

body.ts-provider-public-page .ts-provider-directory__hero-main {
    justify-content: space-between;
    gap: 1.5rem;
}

body.ts-provider-public-page .ts-provider-directory__hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem;
}

body.ts-provider-public-page .ts-provider-directory__summary {
    gap: 1rem 2rem;
    margin-top: 1.1rem;
    padding-top: .95rem;
    border-top: 1px solid color-mix(in srgb, var(--ts-public-theme-page-line, #d8ece0) 86%, transparent);
}

body.ts-provider-public-page .ts-provider-directory__summary-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .6rem;
    margin-left: auto;
}

body.ts-provider-public-page .ts-provider-directory__summary-text {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: .45rem;
    margin: 0;
    font-size: .78rem;
    line-height: 1.35;
}

body.ts-provider-public-page .ts-provider-directory__summary-text strong {
    color: var(--ts-public-ink, #173326);
    font-size: .95rem;
}

body.ts-provider-public-page .ts-provider-directory__summary-text em {
    color: var(--ts-public-muted, #5f7168);
    font-size: .75rem;
    font-style: normal;
}

body.ts-provider-public-page .ts-provider-directory__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

body.ts-provider-public-page .ts-provider-directory__heading h2 { margin: 0; font-size: 1.35rem; }

body.ts-provider-public-page .ts-provider-directory__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

body.ts-provider-public-page .ts-provider-card {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    padding: 1.2rem;
    border: 1px solid var(--ts-public-theme-page-line, var(--ts-public-line, #d9ebe0));
    border-radius: 1rem;
    background: var(--ts-public-theme-page-surface, var(--ts-public-surface, #fff));
    box-shadow: 0 .7rem 1.6rem color-mix(in srgb, var(--ts-public-ink, #173326) 8%, transparent);
}

body.ts-provider-public-page .ts-provider-card__identity,
body.ts-provider-public-page .ts-provider-offering-card__type,
body.ts-provider-public-page .ts-provider-profile__eyebrow,
body.ts-provider-public-page .ts-provider-directory__eyebrow {
    margin: 0 0 .45rem;
    color: var(--ts-public-theme-accent-strong, var(--ts-public-green-700, #087443));
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
}

body.ts-provider-public-page .ts-provider-card__identity { margin-bottom: .65rem; letter-spacing: .06em; }
body.ts-provider-public-page .ts-provider-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
body.ts-provider-public-page .ts-provider-card h3 a { color: inherit; text-decoration: none; }
body.ts-provider-public-page .ts-provider-card h3 a:hover { color: var(--ts-public-green-900, #20513b); }
body.ts-provider-public-page .ts-provider-card__headline { margin: .6rem 0 0; color: var(--ts-public-ink, #173326); font-size: .9rem; font-weight: 700; line-height: 1.45; }
body.ts-provider-public-page .ts-provider-card__description { display: -webkit-box; margin: .65rem 0 0; overflow: hidden; font-size: .84rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
body.ts-provider-public-page .ts-provider-card__link { display: inline-flex; align-items: center; gap: .4rem; width: fit-content; margin-top: auto; padding-top: 1.1rem; color: var(--ts-public-theme-accent-strong, var(--ts-public-green-700, #087443)); font-size: .78rem; font-weight: 800; text-decoration: underline; text-underline-offset: .15em; }

body.ts-provider-public-page .ts-provider-profile__navigation { padding: 1.5rem 0 2rem; }
body.ts-provider-public-page .ts-provider-profile__navigation a,
body.ts-provider-public-page .ts-provider-profile__footer a { color: var(--ts-public-theme-accent-strong, var(--ts-public-green-700, #087443)); font-size: .82rem; font-weight: 800; text-decoration: none; }
body.ts-provider-public-page .ts-provider-profile__navigation a:hover,
body.ts-provider-public-page .ts-provider-profile__footer a:hover { color: var(--ts-public-green-900, #20513b); text-decoration: underline; }
body.ts-provider-public-page .ts-provider-profile__card { overflow: hidden; border: 1px solid var(--ts-public-theme-page-line, var(--ts-public-line, #d9ebe0)); border-radius: 1.1rem; box-shadow: 0 .9rem 2rem color-mix(in srgb, var(--ts-public-ink, #173326) 9%, transparent); }
body.ts-provider-public-page .ts-provider-profile__header { padding: clamp(1.5rem, 4vw, 3rem); }
body.ts-provider-public-page .ts-provider-profile__identity { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.2rem; }
body.ts-provider-public-page .ts-provider-profile__identity p { margin: 0; font-size: .78rem; font-weight: 800; }
body.ts-provider-public-page .ts-provider-profile__badge { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border-radius: .7rem; color: var(--ts-public-theme-accent-strong, var(--ts-public-green-700, #087443)); background: var(--ts-public-theme-page-surface, var(--ts-public-surface, #fff)); }
body.ts-provider-public-page .ts-provider-profile__badge svg { width: 1.35rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
body.ts-provider-public-page .ts-provider-profile h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.12; }
body.ts-provider-public-page .ts-provider-profile__headline { max-width: 42rem; margin: .8rem 0 0; font-size: 1.05rem; line-height: 1.5; }
body.ts-provider-public-page .ts-provider-profile__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.15rem; }
body.ts-provider-public-page .ts-provider-profile__report-link,
body.ts-provider-public-page .ts-provider-offering-card__report { color: var(--ts-public-muted, #5f7168); font-size: .76rem; font-weight: 700; text-decoration: underline; text-underline-offset: .18rem; }
body.ts-provider-public-page .ts-provider-profile__report-link:hover,
body.ts-provider-public-page .ts-provider-offering-card__report:hover { color: var(--ts-public-theme-accent-strong, var(--ts-public-green-700, #087443)); }
body.ts-provider-public-page .ts-provider-profile__section { padding: clamp(1.5rem, 4vw, 2.5rem); }
body.ts-provider-public-page .ts-provider-profile__section h2 { margin: 0; font-size: 1.35rem; }
body.ts-provider-public-page .ts-provider-profile__description { margin: 1rem 0 0; line-height: 1.75; white-space: pre-line; }
body.ts-provider-public-page .ts-provider-profile__empty-offerings { margin: 1rem 0 0; font-size: .88rem; line-height: 1.55; }
body.ts-provider-public-page .ts-provider-offering-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
body.ts-provider-public-page .ts-provider-offering-card { display: flex; min-width: 0; flex-direction: column; padding: 1.1rem; border: 1px solid var(--ts-public-theme-page-line, var(--ts-public-line, #d9ebe0)); border-radius: .85rem; background: color-mix(in srgb, var(--ts-public-theme-page-surface, #fff) 96%, var(--ts-public-theme-page-end, #eaf8f0)); }
body.ts-provider-public-page .ts-provider-offering-card__type { margin-bottom: .45rem; }
body.ts-provider-public-page .ts-provider-offering-card h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
body.ts-provider-public-page .ts-provider-offering-card__short,
body.ts-provider-public-page .ts-provider-offering-card__description { margin: .65rem 0 0; font-size: .84rem; line-height: 1.6; white-space: pre-line; }
body.ts-provider-public-page .ts-provider-offering-card__short { color: var(--ts-public-ink, #173326); font-weight: 700; }
body.ts-provider-public-page .ts-provider-offering-card__contact { align-self: flex-start; }
body.ts-provider-public-page .ts-provider-offering-card__report { display: inline-block; margin-top: .85rem; }
body.ts-provider-public-page .ts-provider-profile__footer { padding: 1.25rem clamp(1.5rem, 4vw, 2.5rem); border-top: 1px solid var(--ts-public-theme-page-line, var(--ts-public-line, #d9ebe0)); }

@media (max-width: 640px) {
    body.ts-provider-public-page .ts-provider-profile { padding-bottom: 3rem; }
    body.ts-provider-public-page .ts-provider-profile__navigation { padding-top: 1rem; }
    body.ts-provider-public-page .ts-provider-directory__heading { align-items: flex-start; flex-direction: column; gap: .45rem; }
    body.ts-provider-public-page .ts-provider-directory__heading > p { text-align: left; }
    body.ts-provider-public-page .ts-provider-directory__hero-main { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
    body.ts-provider-public-page .ts-provider-directory__hero-actions,
    body.ts-provider-public-page .ts-provider-directory__back { width: 100%; }
    body.ts-provider-public-page .ts-provider-directory__back { justify-content: center; }
    body.ts-provider-public-page .ts-provider-directory__summary { align-items: flex-start; flex-direction: column; }
    body.ts-provider-public-page .ts-provider-directory__summary-actions { width: 100%; margin-left: 0; justify-content: flex-start; flex-wrap: wrap; }
    body.ts-provider-public-page .ts-provider-directory__summary-link { flex: 1 1 auto; }
}

body.ts-provider-public-page .ts-provider-directory__hero {
    background-image: linear-gradient(color-mix(in srgb, var(--ts-public-theme-page-end, #eaf8f0) 84%, transparent), color-mix(in srgb, var(--ts-public-theme-page-end, #eaf8f0) 84%, transparent)), url('/resources/img/3254317.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

body.ts-provider-public-page .ts-provider-directory__hero h1 {
    margin: 0;
    font: 700 24px/1.2 Figtree, system-ui, sans-serif;
    letter-spacing: 0;
}

body.ts-provider-public-page .ts-provider-directory__hero-copy-text > p:last-child {
    max-width: 42rem;
    margin: .45rem 0 0;
    line-height: 1.5;
}

body.ts-provider-public-page .ts-provider-directory__back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 2.45rem;
    margin: 0;
    padding: .6rem .8rem;
    border: 1px solid var(--ts-public-theme-page-line, var(--ts-public-line, #d9ebe0));
    border-radius: .6rem;
    color: var(--ts-public-theme-accent-strong, var(--ts-public-green-700, #087443));
    background: var(--ts-public-theme-page-end, var(--ts-public-soft, #effaf3));
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

body.ts-provider-public-page .ts-provider-directory__back:hover,
body.ts-provider-public-page .ts-provider-directory__back:focus-visible {
    color: var(--ts-public-green-900, #20513b);
    background: color-mix(in srgb, var(--ts-public-theme-page-end, #eaf8f0) 70%, var(--ts-public-theme-page-surface, #fff));
    text-decoration: none;
}

body.ts-provider-public-page .ts-provider-directory__summary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.45rem;
    padding: .6rem .8rem;
    border: 1px solid var(--ts-public-theme-accent-strong, var(--ts-public-green-700, #087443));
    border-radius: .6rem;
    color: var(--ts-public-theme-accent-strong, var(--ts-public-green-700, #087443));
    background: var(--ts-public-theme-page-surface, var(--ts-public-surface, #fff));
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

body.ts-provider-public-page .ts-provider-directory__summary-link:hover,
body.ts-provider-public-page .ts-provider-directory__summary-link:focus-visible {
    color: #fff;
    background: var(--ts-public-theme-accent-strong, var(--ts-public-green-700, #087443));
    text-decoration: none;
}

body.ts-provider-public-page .ts-provider-directory__empty {
    display: grid;
    place-items: center;
    padding: 2rem;
    border: 1px dashed var(--ts-public-theme-page-line, var(--ts-public-line, #d9ebe0));
    border-radius: 1rem;
    text-align: center;
}

body.ts-provider-public-page .ts-provider-directory__empty-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    margin-bottom: .9rem;
    border-radius: .9rem;
    color: var(--ts-public-theme-accent-strong, var(--ts-public-green-700, #087443));
    background: var(--ts-public-theme-page-end, var(--ts-public-soft, #effaf3));
}

body.ts-provider-public-page .ts-provider-directory__empty-icon svg { width: 1.55rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
body.ts-provider-public-page .ts-provider-directory__empty h2 { margin: 0; font-size: 1.2rem; }
body.ts-provider-public-page .ts-provider-directory__empty p { margin: .45rem 0 0; color: var(--ts-public-muted, #5f7168); font-size: .86rem; }
body.ts-provider-public-page .ts-provider-directory__pagination { margin-top: 1.5rem; }

@media (max-width: 900px) {
    body.ts-provider-public-page .ts-provider-directory__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    body.ts-provider-public-page .ts-provider-directory,
    body.ts-provider-public-page .ts-provider-profile { padding-right: .75rem; padding-bottom: 3rem; padding-left: .75rem; }
    body.ts-provider-public-page .ts-provider-directory__shell,
    body.ts-provider-public-page .ts-provider-profile__shell { width: 100%; }
    body.ts-provider-public-page .ts-provider-directory__hero-inner { width: calc(100% - 1.5rem); padding: 1rem 0; }
    body.ts-provider-public-page .ts-provider-directory__grid,
    body.ts-provider-public-page .ts-provider-offering-grid { grid-template-columns: 1fr; }
    body.ts-provider-public-page .ts-provider-directory__hero-image { width: 7rem; height: 5.5rem; }
    body.ts-provider-public-page .ts-provider-profile__navigation { padding-top: 1rem; }
    body.ts-provider-public-page .ts-provider-directory__heading { align-items: flex-start; flex-direction: column; gap: .45rem; }
    body.ts-provider-public-page .ts-provider-directory__heading > p { text-align: left; }
    body.ts-provider-public-page .ts-provider-directory__hero-main { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
    body.ts-provider-public-page .ts-provider-directory__hero-actions,
    body.ts-provider-public-page .ts-provider-directory__back { width: 100%; }
    body.ts-provider-public-page .ts-provider-directory__back { justify-content: center; }
    body.ts-provider-public-page .ts-provider-directory__summary { align-items: flex-start; flex-direction: column; }
    body.ts-provider-public-page .ts-provider-directory__summary-actions { width: 100%; margin-left: 0; justify-content: flex-start; flex-wrap: wrap; }
    body.ts-provider-public-page .ts-provider-directory__summary-link { flex: 1 1 auto; }
}

@media (max-width: 420px) {
    body.ts-provider-public-page .ts-provider-directory__hero-image { width: 6rem; height: 4.75rem; }
    body.ts-provider-public-page .ts-provider-directory__hero-copy { gap: .7rem; }
}
