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

    .ti-shell {
        max-width: 1200px;
        margin: 30px auto 0;
        padding: 1.5rem 1.25rem 4rem;
    }

    .ti-shell h1 {
        font-size: 1.8rem;
        color: #fff;
        margin: 0 0 .5rem;
    }

    .ti-intro {
        font-size: .95rem;
        color: #fff;
        line-height: 1.55;
        margin: 0 0 1.5rem;
        max-width: 640px;
    }

    /* ── Controls ─────────────────────────────────────────── */
    .ti-controls {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.75rem;
        position: relative;
        top: 0;
        background: #ffffff;
        padding: 1rem;
        z-index: 0;
        border-radius: 10px;
        border-bottom: 1px solid #d0d8e0;
    }

    .ti-search-wrap {
        position: relative;
        max-width: 420px;
    }

    .ti-search-icon {
        position: absolute;
        left: .9rem;
        top: 50%;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
        color: #7a8794;
        pointer-events: none;
    }

    .ti-search-wrap input {
        width: 100%;
        padding: .75rem .9rem .75rem 2.6rem;
        font-size: .9rem;
        border: 2px solid #d0d8e0;
        border-radius: 10px;
        background: #ffffff;
        color: #0f1923;
        transition: border-color .15s, box-shadow .15s;
    }

    .ti-search-wrap input:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37,99,235,0);
    }

    .ti-tabs {
        display: flex;
        gap: .5rem;
        flex-wrap: wrap;
    }

    .ti-tab {
        padding: .55rem 1.1rem;
        font-size: .85rem;
        font-weight: 700;
        border: 2px solid #b0bcc8;
        border-radius: 999px;
        background: #ffffff;
        color: #0f1923;
        cursor: pointer;
        transition: border-color .15s, background .15s, color .15s;
        white-space: nowrap;
    }

    .ti-tab:hover:not(.active) { border-color: #2563eb; background: #e8f4fb; }
    .ti-tab.active { background: #2d3f52; border-color: #2d3f52; color: #ffffff; }
    .ti-tab .ti-count { font-weight: 600; opacity: .75; margin-left: .15rem; }

    /* ── Grid ─────────────────────────────────────────────── */
    .ti-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1rem;
    }

    .ti-card {
        display: flex;
        flex-direction: column;
        gap: .4rem;
        padding: 1.1rem 1.25rem;
        background: #ffffff;
        border: 1px solid #d0d8e0;
        border-radius: 12px;
        text-decoration: none;
        box-shadow: 0 1px 4px rgba(15,25,35,.06);
        transition: transform .15s, box-shadow .15s, border-color .15s;
        position: relative;
    }

    .ti-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(15,25,35,.12);
        border-color: #7ec8f0;
    }

    .ti-card:focus-visible {
        outline: 3px solid #2563eb;
        outline-offset: 2px;
    }

    .ti-card-badge {
        align-self: flex-start;
        font-size: .68rem;
        font-weight: 700;
        padding: .2rem .55rem;
        border-radius: 999px;
        color: #0f1923;
    }

    .ti-cat-fd    .ti-card-badge { background: #a8d8b8; border: 1px solid #3d9a5a; }
    .ti-cat-accom .ti-card-badge { background: #b8d9f0; border: 1px solid #5da8d8; }
    .ti-cat-both  .ti-card-badge { background: #f0d080; border: 1px solid #b07800; }

    .ti-cat-fd    { border-top: 4px solid #3d9a5a; }
    .ti-cat-accom { border-top: 4px solid #5da8d8; }
    .ti-cat-both  { border-top: 4px solid #b07800; }

    .ti-card-name {
        font-size: 1rem;
        font-weight: 700;
        color: #0f1923;
        line-height: 1.35;
    }

    .ti-card-desc {
        font-size: .8rem;
        font-weight: 500;
        color: #4a5560;
        line-height: 1.5;
    }

    .ti-empty {
        font-size: .9rem;
        font-weight: 600;
        color: #0f1923;
        text-align: center;
        padding: 3rem 1rem;
    }

    .ti-view-toggle {
        display: flex;
        align-items: center;
        gap: .6rem;
    }

    .ti-view-toggle-title {
        font-size: .85rem;
        font-weight: 700;
        color: #0f1923;
    }

    .ti-view-label {
        font-size: .85rem;
        font-weight: 600;
        color: #4a5560;
    }

    .ti-switch {
        position: relative;
        display: inline-block;
        width: 42px;
        height: 24px;
    }

    .ti-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .ti-switch-slider {
        position: absolute;
        cursor: pointer;
        inset: 0;
        background: #2563eb;
        transition: background .2s ease;
        border-radius: 999px;
    }

    .ti-switch-slider::before {
        content: "";
        position: absolute;
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background: #ffffff;
        transition: transform .2s ease;
        border-radius: 50%;
    }

    .ti-switch input:checked + .ti-switch-slider { background: #2563eb; }
    .ti-switch input:checked + .ti-switch-slider::before { transform: translateX(18px); }

    @media (max-width: 640px) {
        .ti-grid { grid-template-columns: 1fr; }
        .ti-controls { position: static; }
    }
