    .ls-ft-hidden { display: none; }
    .ls-ft-details-wrapper { position: relative; min-height: 540px; }
    .ls-ft-timeofday-heading { margin-top: 25px; }

    /* --- General Template Styles --- */
    .find-teacher-wrapper {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        --ls-ft-filter-sticky-top: 0px;
        padding: 40px 20px 96px;
        background-color: #f8f9fa;
    }
    body.admin-bar .find-teacher-wrapper {
        --ls-ft-filter-sticky-top: 46px;
    }
    @media (min-width: 783px) {
        body.admin-bar .find-teacher-wrapper {
            --ls-ft-filter-sticky-top: 32px;
        }
    }
    .find-teacher-wrapper .container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .find-teacher-intro {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(140px, 220px);
        align-items: center;
        gap: 14px;
        padding: 8px 12px;
        margin-bottom: 16px;
        background: #fff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 12px;
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    }

    .find-teacher-intro-copy {
        min-width: 0;
    }

    .find-teacher-intro-title {
        margin: 0;
        max-width: 100%;
        font-size: clamp(21px, 2.7vw, 29px);
        line-height: 1.04;
        letter-spacing: -0.04em;
        color: #2f3144;
    }

    .find-teacher-intro-title span {
        color: #8c52ff;
    }

    .find-teacher-intro-description {
        max-width: 100%;
        margin: 7px 0 0;
        font-size: 14px;
        line-height: 1.42;
        color: #4c5670;
    }

    .find-teacher-intro-toggle {
        display: none;
        margin-top: 8px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #8c52ff;
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
        cursor: pointer;
    }

    .find-teacher-intro-media {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .find-teacher-intro-media img {
        display: block;
        width: min(100%, 220px);
        max-height: 130px;
        height: auto;
        object-fit: contain;
    }

    /* --- Filter Styles --- */
    .teacher-filters-shell {
        position: relative;
        margin-bottom: 30px;
    }

    .teacher-filters-shell.is-fixed {
        min-height: var(--ls-ft-filters-height, 0px);
    }

    .teacher-filters-shell.is-fixed .teacher-filters-container {
        position: fixed;
        top: var(--ls-ft-filter-sticky-top);
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        border-top: 0;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    }

    .teacher-filters-container {
        position: relative;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(15, 23, 42, 0.06);
        border-radius: 12px;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
        z-index: 120;
        backdrop-filter: blur(10px);
    }

    .teacher-filters-inner {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    .teacher-filters-shell.is-fixed .teacher-filters-inner {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .teacher-filters-mobile-header,
    .teacher-filters-mobile-footer,
    .mobile-icon-btn-label {
        display: none;
    }

    .teacher-filters-mobile-title {
        margin: 0;
        font-size: 20px;
        line-height: 1.1;
        color: #1f2937;
    }

    .teacher-filters-mobile-subtitle {
        margin: 6px 0 0;
        font-size: 13px;
        line-height: 1.4;
        color: #6b7280;
    }

    .teacher-filters-mobile-close {
        width: 40px;
        height: 40px;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        background: #fff;
        color: #374151;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
        flex-shrink: 0;
    }

    .teacher-filters-mobile-count {
        margin: 0;
        font-size: 13px;
        font-weight: 600;
        color: #2f3144;
    }

    .teacher-filters-mobile-apply {
        width: 100%;
        height: 46px;
        border: 0;
        border-radius: 12px;
        background: #8c52ff;
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }

    body.ls-ft-mobile-sheet-open {
        overflow: hidden;
    }
    
    /* Row 1 Layout */
    .teacher-filters-top { display: flex; flex-wrap: wrap; gap: 15px; }
    
    /* Row 2 Layout - UPDATED for perfect stretching */
    .teacher-filters-secondary { 
        display: none; /* Hidden by default, toggled via JS */
        width: 100%; 
        margin-top: 20px; 
        padding-top: 20px; 
        border-top: 1px solid #eee; 
    }
    /* New wrapper to ensure flex behavior works inside the hidden/toggled parent */
    .filters-flex-row {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        width: 100%;
    }

    /* General Filter Item Styles */
    .filter-group { flex: 1 1 150px; min-width: 150px; position: relative; }
    .find-teacher-filter-island {
        position: relative;
        width: 100%;
    }
    .ls-find-teacher-js .find-teacher-filter-island[data-ls-hydration="pending"] {
        min-height: 40px;
    }
    .ls-find-teacher-js .find-teacher-filter-island[data-ls-hydration="pending"] > * {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .ls-find-teacher-js .find-teacher-filter-island[data-ls-hydration="pending"]::after {
        content: "";
        position: absolute;
        inset: 0;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        background: linear-gradient(180deg, #ffffff 0%, #fcfcff 100%);
    }
    .filter-group input, .filter-group .availability-button, #more-filters-btn, .ls-ft-filter-select__trigger { width: 100%; height: 40px; padding: 0 15px; border: 1px solid #dee2e6; border-radius: 8px; font-size: 14px; background-color: #fff; -webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer; text-align: left; line-height: 38px; box-sizing: border-box; }
    .find-teacher-wrapper .ls-ft-filter-select__trigger,
    .find-teacher-wrapper .availability-button,
    .find-teacher-wrapper #more-filters-btn {
        color: #374151 !important;
        text-decoration: none !important;
        font-family: inherit;
        font-weight: 600;
    }
    .find-teacher-wrapper .ls-ft-filter-select__trigger *,
    .find-teacher-wrapper .availability-button *,
    .find-teacher-wrapper #more-filters-btn *,
    .find-teacher-wrapper .ls-ft-filter-trigger * {
        color: inherit !important;
    }
    .find-teacher-wrapper .ls-ft-filter-select__trigger:hover,
    .find-teacher-wrapper .ls-ft-filter-select__trigger:focus-visible,
    .find-teacher-wrapper .availability-button:hover,
    .find-teacher-wrapper .availability-button:focus-visible,
    .find-teacher-wrapper #more-filters-btn:hover,
    .find-teacher-wrapper #more-filters-btn:focus-visible,
    .find-teacher-wrapper .ls-ft-filter-trigger[data-open="true"] {
        color: #374151 !important;
        text-decoration: none !important;
    }

    .ls-ft-filter-select {
        position: relative;
    }
    .ls-ft-filter-select__native {
        display: none !important;
    }
    .ls-ft-filter-select__trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding-right: 44px;
        color: #374151;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }
    .ls-ft-filter-select__trigger:hover {
        border-color: #cbd5e1;
        background: #fcfcff;
        color: #374151 !important;
    }
    .ls-ft-filter-select[data-open="true"] .ls-ft-filter-select__trigger,
    .ls-ft-filter-select__trigger:focus-visible {
        border-color: #8c52ff;
        box-shadow: 0 0 0 3px rgba(140, 82, 255, 0.12);
        outline: none;
        color: #374151 !important;
    }
    .ls-ft-filter-trigger {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding-right: 44px !important;
        color: #374151 !important;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }
    .ls-ft-filter-trigger:hover {
        border-color: #cbd5e1;
        background: #fcfcff;
        color: #374151 !important;
    }
    .ls-ft-filter-trigger:focus-visible,
    .ls-ft-filter-trigger[data-open="true"] {
        border-color: #8c52ff;
        box-shadow: 0 0 0 3px rgba(140, 82, 255, 0.12);
        outline: none;
        color: #374151 !important;
    }
    .ls-ft-filter-trigger__value {
        min-width: 0;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-family: inherit;
        font-weight: 600;
    }
    .ls-ft-filter-trigger__label {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: inherit;
        font-size: 14px;
        font-weight: 600;
        font-family: inherit;
        line-height: 1.2;
    }
    .availability-button .ls-ft-filter-trigger__label,
    .availability-button .ls-ft-filter-trigger__value,
    #more-filters-btn .ls-ft-filter-trigger__label,
    #more-filters-btn .ls-ft-filter-trigger__value {
        font-size: 14px;
        font-weight: 600 !important;
        font-family: inherit;
        letter-spacing: 0;
    }
    .ls-ft-filter-trigger__chevron {
        position: absolute;
        top: 50%;
        right: 14px;
        width: 16px;
        height: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transform: translateY(-50%);
        color: #6b7280;
        transition: transform 0.2s ease;
        pointer-events: none;
    }
    .ls-ft-filter-trigger[data-open="true"] .ls-ft-filter-trigger__chevron {
        transform: translateY(-50%) rotate(180deg);
    }
    .ls-ft-filter-trigger__chevron svg {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .ls-ft-filter-select__value {
        min-width: 0;
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }
    .ls-ft-filter-select__label {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .ls-ft-filter-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #6b7280;
    }
    .ls-ft-filter-icon svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .ls-ft-filter-icon.is-image {
        overflow: hidden;
        border-radius: 4px;
        border: 1px solid #d7dbe2;
        background: #fff;
        box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    }
    .ls-ft-filter-icon__image {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        border-radius: 3px;
    }
    .ls-ft-filter-icon.is-emoji {
        font-size: 16px;
        line-height: 1;
    }
    .ls-ft-filter-icon__emoji {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .ls-ft-filter-select__chevron {
        position: absolute;
        top: 50%;
        right: 14px;
        width: 16px;
        height: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transform: translateY(-50%);
        color: #6b7280;
        transition: transform 0.2s ease;
        pointer-events: none;
    }
    .ls-ft-filter-select[data-open="true"] .ls-ft-filter-select__chevron {
        transform: translateY(-50%) rotate(180deg);
    }
    .ls-ft-filter-select__chevron svg {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .ls-ft-filter-select__panel {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        width: 100%;
        z-index: 1300;
        padding: 8px;
        background: #fff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 12px;
        box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
        max-height: 280px;
        overflow-y: auto;
    }
    .ls-ft-filter-select__option {
        width: 100%;
        min-height: 42px;
        padding: 0 12px;
        border: 0;
        border-radius: 10px;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        color: #374151;
        cursor: pointer;
        text-align: left;
        font-family: inherit;
        text-decoration: none !important;
    }
    .ls-ft-filter-select__option,
    .ls-ft-filter-select__option * {
        color: inherit !important;
    }
    .ls-ft-filter-select__option:hover,
    .ls-ft-filter-select__option.is-active {
        background: #f8fafc;
        color: #374151 !important;
    }
    .ls-ft-filter-select__option.is-selected {
        background: #f4efff;
        color: #5b21b6;
    }
    .ls-ft-filter-select__option.is-selected .ls-ft-filter-icon {
        color: #7c3aed;
    }
    .ls-ft-filter-select__option:focus-visible {
        outline: none;
        box-shadow: 0 0 0 2px rgba(140, 82, 255, 0.18);
    }
    .ls-ft-filter-select__check {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #8c52ff;
    }
    .ls-ft-filter-select__check svg {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    
    /* --- Mobile Filter Icons (Hidden on Desktop) --- */
    .mobile-icon-btn {
        display: none; /* Desktop hidden */
        width: 42px;
        height: 40px; /* Match height of select inputs */
        border: 1px solid #dee2e6;
        border-radius: 8px;
        background: #fff;
        color: #555;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        padding: 8px; /* Padding for SVG */
    }
    .mobile-icon-btn.active { background-color: #e7f3ff; color: #8c52ff; border-color: #8c52ff; }
    .mobile-icon-btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

    /* --- Clear Filter Button --- */
    .clear-filter-btn {
        position: absolute; top: 50%; right: 38px; transform: translateY(-50%);
        font-size: 22px; font-weight: bold; color: #6c757d; cursor: pointer;
        line-height: 1; padding: 0 5px; display: none; z-index: 2;
    }
    .filter-group input[type="text"] + .clear-filter-btn { right: 10px; }
    
    /* --- Availability Dropdown --- */
    .availability-dropdown {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        z-index: 1300;
        width: 320px;
        padding: 10px;
        background: #fff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 12px;
        box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
    }
    .availability-dropdown.open { display: block; }
    .availability-dropdown .options-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
    .availability-dropdown .days-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .availability-dropdown .options-grid label {
        display: block;
        margin: 0;
    }
    .ls-ft-availability-option {
        width: 100%;
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 0 10px;
        border: 1px solid #dbe2ea;
        border-radius: 10px;
        background: #fff;
        color: #374151;
        text-align: center;
        transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
        cursor: pointer;
        font-family: inherit;
        text-decoration: none !important;
    }
    .ls-ft-availability-option,
    .ls-ft-availability-option * {
        color: inherit !important;
    }
    .ls-ft-availability-option:hover {
        background: #f8fafc;
        border-color: #d0d9e4;
        color: #374151 !important;
    }
    .availability-dropdown .options-grid:not(.days-grid) .ls-ft-availability-option {
        justify-content: flex-start;
        min-height: 50px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .availability-dropdown .options-grid:not(.days-grid) .ls-ft-availability-option .ls-ft-filter-icon {
        color: #8c52ff;
        width: 18px;
        height: 18px;
    }
    .availability-dropdown .options-grid:not(.days-grid) .ls-ft-availability-option .ls-ft-filter-icon.is-emoji {
        width: auto;
        min-width: 18px;
        height: auto;
        font-size: 16px;
        line-height: 1;
    }
    .availability-dropdown .options-grid:not(.days-grid) .ls-ft-availability-option__label {
        font-size: 13px;
        line-height: 1.2;
    }
    .ls-ft-availability-option__label {
        color: inherit;
        font-size: 14px;
        font-weight: 600;
        font-family: inherit;
        line-height: 1.2;
    }
    .ls-ft-availability-option .ls-ft-filter-icon {
        color: #6b7280;
    }
    #availability-dropdown-panel input[type="checkbox"] { display: none; }
    #availability-dropdown-panel input[type="checkbox"]:checked + .ls-ft-availability-option {
        background-color: #f4efff !important;
        border-color: #c9b4ff !important;
        color: #5b21b6 !important;
        box-shadow: inset 0 0 0 1px rgba(140, 82, 255, 0.12);
    }
    #availability-dropdown-panel input[type="checkbox"]:checked + .ls-ft-availability-option .ls-ft-filter-icon {
        color: #7c3aed !important;
    }
    .availability-dropdown h5 {
        margin: 0 0 10px;
        padding: 2px 2px 0;
        color: #6b7280;
        font-size: 13px;
        font-weight: 700;
        font-family: inherit;
        line-height: 1.2;
        letter-spacing: 0.01em;
    }
    
    /* --- Layout & Card Styles --- */
    #teacher-result-count { margin-bottom: 20px; font-weight: 500; color: #555; }
    .teacher-results-layout { position: relative; display: grid; grid-template-columns: 1fr 400px; gap: 30px; align-items: start; }
    #teacher-details-panel { position: absolute; width: 400px; right: 0; top: 0; transition: top 0.3s ease-in-out; display: none; }
    .details-panel-card {
        position: absolute;
        padding: 0 0 14px;
        border: 1px solid #e6def7;
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 22px 40px rgba(15, 23, 42, 0.08);
        overflow: visible;
    }
    .details-panel-card::before {
        content: '';
        position: absolute;
        left: -10px;
        top: 148px;
        width: 20px;
        height: 20px;
        background: #fff;
        border-left: 1px solid #e6def7;
        border-bottom: 1px solid #e6def7;
        transform: rotate(45deg);
        box-shadow: -8px 8px 18px rgba(15, 23, 42, 0.03);
    }
    .details-video-container { width: 100%; aspect-ratio: 16 / 9; background-color: #000; border-radius: 20px 20px 0 0; position: relative; cursor: pointer; overflow: hidden; margin-bottom: 14px; box-shadow: none; }
    .details-video-container img, .details-video-container iframe { width: 100%; height: 100%; object-fit: cover; }
    .details-video-container .play-button { position: absolute; left: 14px; bottom: 14px; width: 46px; height: 46px; background-color: #8c52ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 10px 18px rgba(140, 82, 255, 0.35); }
    .details-video-container .play-button::after { content: ''; width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid #fff; margin-left: 3px; }
    .details-video-container:hover .play-button { transform: translateY(-1px) scale(1.04); box-shadow: 0 12px 22px rgba(140, 82, 255, 0.42); }
    .details-buttons { display: grid; gap: 10px; padding: 0 14px; }
    .details-buttons .details-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #ccc; border-radius: 12px; text-align: center; font-size: 15px; font-weight: 700; text-decoration: none; color: #333; background-color: #fff; transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s; cursor: pointer; }
    .details-buttons .details-btn:hover { background-color: #f8fafc; border-color: #d5dbe5; }
    .details-buttons .details-btn-primary { border-color: #cdb7ff; background: #f6f0ff; color: #6d28d9; box-shadow: inset 0 0 0 1px rgba(140, 82, 255, 0.08); }
    .details-buttons .details-btn-primary:hover { background: #efe5ff; border-color: #b996ff; color: #5b21b6; }
    .details-buttons .details-btn-secondary { border-color: #e5e7eb; background: #fff; color: #374151; }
    .details-buttons .details-btn-secondary:hover { background: #f8fafc; }
    
    .teacher-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; padding: 20px; margin-bottom: 20px; display: grid; grid-template-columns: 120px 1fr; gap: 20px; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; position: relative; }
    .teacher-card:hover { border-color: #b0b0b0; }
    .teacher-card.active { border-color: #8c52ff; box-shadow: 0 0 0 2px #8c52ff; }
    .teacher-card.active::before { display: none; }
    .teacher-card.active::after { display: none; }
    .teacher-card-left { text-align: center; }
    .teacher-card-left .teacher-avatar a { display: block; position: relative; } 
    .teacher-card-left .teacher-avatar img { width: 120px; height: 120px; border-radius: 8px; object-fit: cover; }
    .teacher-avatar { position: relative; display: inline-block; }
    .teacher-card-main { display: flex; flex-direction: column; }
    
    /* Header Layout */
    .card-header { display: flex; justify-content: space-between; align-items: start; }
    .card-header-left { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
    
    /* Title Line */
    .teacher-title-line { display: block; }
    .teacher-name-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
    .teacher-name { font-size: 22px; font-weight: bold; margin: 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
    .teacher-name a { color: inherit; text-decoration: none; transition: color 0.2s; }
    .teacher-name a:hover { color: #8c52ff; }
    .teacher-name-flag { width: 20px; height: 15px; padding: 0; overflow: hidden; border-radius: 2px; border: 1px solid #d7dbe2; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
    .teacher-name-flag img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; display: block; transform: none; transform-origin: center; image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; }
    
    /* Badge Styles */
    .teacher-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; font-size: 11px; font-weight: 700; border-radius: 12px; border: 1px solid transparent; text-transform: uppercase; line-height: 1.1; white-space: nowrap; }
    .badge-icon { width: 13px; height: 13px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .badge-icon svg { width: 13px; height: 13px; fill: currentColor; }
    .badge-community { background-color: #dbeafe; color: #1e40af; border-color: #bfdbfe; }
    .badge-professional { background-color: #fffbeb; color: #b45309; border-color: #fcd34d; }
    
    /* Price Line */
    .card-header-right { text-align: right; flex-shrink: 0; white-space: nowrap; }
    .teacher-price { font-size: 24px; font-weight: bold; color: #333; white-space: nowrap; }
    .price-note { font-size: 13px; color: #777; }
    
    .teacher-bio { font-size: 15px; line-height: 1.6; color: #444; }
    .teacher-stats { display: flex; flex-wrap: wrap; row-gap: 8px; column-gap: 14px; padding-bottom: 0; border-bottom: none; margin: 0; }
    .stat-item { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #4f5f73; }
    .stat-item strong { font-size: 16px; color: #1f2937; }
    .stat-meta { font-size: 14px; color: #4f5f73; }
    .stat-icon { width: 24px; height: 24px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .stat-icon svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
    .stat-item.stat-rating { gap: 4px; }
    .stat-item.stat-rating .stat-icon { width: auto; height: auto; border-radius: 0; background: transparent; color: #FBBF24; }
    .stat-item.stat-rating .stat-icon svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
    .stat-item.stat-lessons .stat-icon { background: #eef2ff; color: #4f46e5; }
    .stat-item.stat-students .stat-icon { background: #ecfeff; color: #0f766e; }
    .stat-item.stat-events .stat-icon { background: #fff7ed; color: #c2410c; }
    .stat-item.stat-response .stat-icon { background: #f3e8ff; color: #7e22ce; }
    
    .card-btn { display: inline-block; padding: 10px 15px; border-radius: 8px; text-align: center; text-decoration: none; font-weight: 500; transition: background-color 0.2s; white-space: nowrap; border: none; font-family: inherit; cursor: pointer; }
    .card-btn.primary { background-color: #8c52ff; color: #fff; }
    .card-btn.primary:hover { background-color: #7a46e0; }
    .card-btn.secondary { background-color: #fff; color: #333; border: 1px solid #ccc; width: 100%; margin-top: 10px; }
    .card-btn.secondary:hover { background-color: #f5f5f5; }
    .ls-ft-tooltip-instant { position: relative; display: inline-flex; }
    .ls-ft-tooltip-instant::after { content: attr(data-tooltip); position: absolute; bottom: 115%; left: 50%; transform: translateX(-50%); background-color: #2c3e50; color: #fff; padding: 6px 12px; border-radius: 6px; font-size: .8rem; white-space: nowrap; z-index: 10; visibility: hidden; opacity: 0; transition: opacity 0.2s; }
    .ls-ft-tooltip-instant:hover::after { visibility: visible; opacity: 1; }
    .card-btn.card-btn-disabled,
    .card-btn.card-btn-disabled:hover,
    .mobile-book-btn.mobile-book-btn-disabled,
    .mobile-book-btn.mobile-book-btn-disabled:hover { background-color: #e9ecef; color: #6c757d; cursor: not-allowed; box-shadow: none; transform: none; }
    .bio-action-wrapper { display: flex; align-items: center; gap: 20px; margin-top: 15px; }
    .bio-action-wrapper .teacher-bio { flex-grow: 1; margin: 0; }
    .bio-action-wrapper .card-btn { flex-shrink: 0; }
    
    /* --- SKELETON LOADER STYLES --- */
    .loader { display: grid; gap: 20px; grid-column: 1 / -1; }
    .skeleton-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; padding: 20px; display: grid; grid-template-columns: 120px 1fr; gap: 20px; }
    .skeleton-left { display: flex; flex-direction: column; align-items: center; gap: 10px; }
    .skeleton-avatar { width: 100px; height: 100px; border-radius: 8px; background: #f0f0f0; }
    .skeleton-main { display: flex; flex-direction: column; gap: 12px; width: 100%; }
    .skeleton-line { height: 16px; background: #f0f0f0; border-radius: 4px; width: 100%; }
    .skeleton-header { display: flex; justify-content: space-between; gap: 20px; }
    .skeleton-name { width: 40%; height: 24px; border-radius: 6px; }
    .skeleton-price { width: 80px; height: 24px; border-radius: 6px; }
    .skeleton-stats { width: 60%; }
    .skeleton-tags { display: flex; gap: 8px; }
    .skeleton-tag { width: 60px; height: 20px; border-radius: 12px; }
    .skeleton-bio { width: 90%; }
    .skeleton-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 5px; }
    .skeleton-btn { width: 100px; height: 36px; border-radius: 8px; }

    /* Right Side Skeleton (Details Panel) */
    .details-loader { position: absolute; top: 0; right: 0; width: 400px; }
    .skeleton-video { width: 100%; aspect-ratio: 16/9; border-radius: 12px; margin-bottom: 15px; }
    .skeleton-btn-block { display: flex; flex-direction: column; gap: 10px; }
    .skeleton-btn.full-width { width: 100%; height: 45px; border-radius: 8px; }

    /* Animation */
    .skeleton-avatar, .skeleton-line, .skeleton-name, .skeleton-price, .skeleton-tag, .skeleton-btn, .skeleton-video { background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite linear; }
    @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

    .no-results-message { text-align: center; padding: 50px; color: #888; background: #fff; border-radius: 8px; grid-column: 1 / -1; }
    .no-results-message h3 { margin-top: 0; color: #333; }

    /* --- MOBILE SPECIFIC STYLES --- */
    .mobile-card-footer { display: none; } 
    .mobile-only-lang { display: none !important; } 
    .desktop-only-lang { display: flex; } 
    
    /* Presence Indicator */
    .presence-indicator { display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: normal; margin-top: 8px; color: #28a745; height: 20px; }
    .presence-indicator.offline { color: #888; }
    .presence-indicator .dot { width: 9px; height: 9px; border-radius: 50%; background-color: currentColor; margin-right: 5px; animation: pulse 2s infinite; }
    
    @media (max-width: 992px) { 
        .find-teacher-wrapper { padding: 20px 10px 72px; }
        .find-teacher-wrapper { --ls-ft-filter-sticky-top: 0px; }
        body.admin-bar .find-teacher-wrapper { --ls-ft-filter-sticky-top: 46px; }
        .find-teacher-intro {
            grid-template-columns: minmax(0, 1fr) minmax(120px, 180px);
            gap: 12px;
            padding: 12px 14px;
        }
        .teacher-filters-inner {
            padding: 14px 12px;
        }
        .teacher-filters-shell.is-mobile-sheet-open {
            z-index: 1400;
        }
        .teacher-filters-shell.is-mobile-sheet-open .teacher-filters-container {
            position: fixed;
            inset: 0;
            width: auto;
            border: 0;
            border-radius: 0;
            box-shadow: none;
            overflow-y: auto;
        }
        .teacher-filters-shell.is-mobile-sheet-open .teacher-filters-inner {
            min-height: 100dvh;
            display: flex;
            flex-direction: column;
            padding: 16px 14px 24px;
        }
        .teacher-filters-shell.is-mobile-sheet-open .teacher-filters-mobile-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            padding-bottom: 14px;
            margin-bottom: 14px;
            border-bottom: 1px solid #ececf3;
        }
        .teacher-filters-shell.is-mobile-sheet-open .teacher-filters-mobile-footer {
            display: flex;
            flex-direction: column;
            gap: 10px;
            position: sticky;
            bottom: 0;
            margin-top: auto;
            padding-top: 14px;
            background: linear-gradient(180deg, rgba(255,255,255,0), #fff 26%);
            border-top: 1px solid #ececf3;
        }
        .teacher-filters-shell.is-mobile-sheet-open .teacher-filters-top {
            align-items: stretch;
        }
        .teacher-filters-shell.is-mobile-sheet-open .teacher-filters-top .filter-group {
            display: block;
            width: 100%;
            flex: 1 1 100%;
            margin-top: 0;
        }
        .teacher-filters-shell.is-mobile-sheet-open .teacher-filters-top .filter-group:first-child {
            width: 100%;
            flex: 1 1 100%;
        }
        .teacher-filters-shell.is-mobile-sheet-open .teacher-filters-secondary {
            display: block !important;
            margin-top: 12px;
            padding-top: 12px;
        }
        .teacher-filters-shell.is-mobile-sheet-open #find-teacher-more-filters-island,
        .teacher-filters-shell.is-mobile-sheet-open #more-filters-btn,
        .teacher-filters-shell.is-mobile-sheet-open .mobile-icon-btn {
            display: none !important;
        }
        .find-teacher-intro-description {
            margin-top: 6px;
            font-size: 12px;
            line-height: 1.38;
        }
        .find-teacher-intro-media {
            min-height: 0;
            padding: 4px;
        }
        .find-teacher-intro-media img {
            width: min(100%, 170px);
            max-height: 110px;
        }
        .teacher-results-layout { grid-template-columns: 1fr; } 
        .ls-ft-details-wrapper { min-height: 0; }
        #teacher-details-panel { display: none !important; } 
        .details-loader { display: none !important; }
        .teacher-card.active::before, .teacher-card.active::after { display: none; }

        /* Mobile Filter Layout */
        .teacher-filters-top { display: flex; gap: 10px; align-items: center; }
        .teacher-filters-top .filter-group { display: none; }
        .teacher-filters-top .filter-group:first-child { display: block; flex-grow: 1; }
        .mobile-icon-btn { display: inline-flex; width: auto; gap: 8px; padding: 0 14px; font-size: 13px; font-weight: 700; }
        .mobile-icon-btn-label { display: inline; }
        .ls-ft-filter-select__panel {
            max-height: 240px;
        }
        
        /* Drawer Logic */
        .teacher-filters-top.filters-open .filter-group { display: block; width: 100%; flex: 1 1 100%; margin-top: 10px; }
        .teacher-filters-top.filters-open .filter-group:first-child { width: auto; flex: 1; margin-top: 0; } 
        .teacher-filters-secondary { display: none !important; }
        .teacher-filters-top.filters-open ~ .teacher-filters-secondary { display: grid !important; grid-template-columns: 1fr; margin-top: 10px; gap: 10px; padding-top: 10px; border-top: 1px solid #eee; }
        #more-filters-btn { display: none; }
        .teacher-filters-shell.is-mobile-sheet-open .ls-ft-filter-select__panel {
            position: static;
            top: auto;
            left: auto;
            width: 100%;
            margin-top: 8px;
            box-shadow: none;
            border-color: #ececf3;
            background: #fbfbfe;
            max-height: 260px;
        }
        .teacher-filters-shell.is-mobile-sheet-open .availability-dropdown {
            position: static;
            top: auto;
            left: auto;
            width: 100%;
            margin-top: 8px;
            box-shadow: none;
            border-color: #ececf3;
            background: #fbfbfe;
        }
        
        /* --- Compact Mobile Card --- */
        .teacher-card { grid-template-columns: 100px 1fr; gap: 15px; padding: 15px; position: relative; }
        .teacher-card-left { text-align: center; }
        .teacher-card-left .teacher-avatar img { width: 90px; height: 90px; }
        .teacher-card-left .card-btn.secondary { display: none; } 
        .bio-action-wrapper .card-btn { display: none; } 
        .teacher-bio { -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; }
        
        .teacher-name-row { gap: 6px; margin-bottom: 4px; }
        .teacher-badge { font-size: 10px; padding: 3px 8px; }
        .badge-icon, .badge-icon svg { width: 12px; height: 12px; }
        .teacher-stats { flex-basis: 100%; margin-top: 5px; font-size: 12px; }
        .teacher-name { font-size: 18px; margin-bottom: 0; }
        .teacher-name-flag { width: 18px; height: 14px; border-radius: 2px; }
        .stat-item { font-size: 13px; }
        .stat-meta { font-size: 13px; }
        .stat-item strong { font-size: 15px; }
        .stat-icon { width: 22px; height: 22px; border-radius: 7px; }
        .stat-icon svg { width: 13px; height: 13px; stroke-width: 2.4; }
        .stat-item.stat-rating .stat-icon { width: auto; height: auto; }
        .stat-item.stat-rating .stat-icon svg { width: 17px; height: 17px; }

        .desktop-only-lang { display: none !important; }
        .mobile-only-lang { display: inline-flex !important; cursor: pointer; color: #8c52ff; background: #f3e8ff; }
        .force-mobile-visible { display: inline-flex !important; } 
        
        .mobile-card-footer { grid-column: 1 / -1; display: flex; gap: 10px; margin-top: 15px; padding-top: 15px; border-top: 1px solid #eee; }
        .mobile-msg-btn { width: 44px; height: 44px; border: 1px solid #ccc; border-radius: 8px; background: #fff; color: #555; display: flex; align-items: center; justify-content: center; font-size: 20px; text-decoration: none; padding: 10px; }
        .mobile-msg-btn svg { width: 100%; height: 100%; fill: currentColor; }
        .mobile-book-btn { flex-grow: 1; background: #8c52ff; color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: bold; text-decoration: none; height: 44px; border: none; }
        .mobile-book-btn:hover { background: #7a46e0; color: #fff; }
        .ls-ft-tooltip-block { flex: 1 1 auto; display: flex; }
        .ls-ft-tooltip-block .mobile-book-btn { width: 100%; }

        .skeleton-card { grid-template-columns: 100px 1fr; gap: 15px; padding: 15px; }
        .skeleton-avatar { width: 90px; height: 90px; }
        .skeleton-actions { display: none; } 
    }

    @media (max-width: 768px) {
        .find-teacher-intro {
            grid-template-columns: 1fr;
            gap: 10px;
        }

        .find-teacher-intro-toggle {
            display: inline-flex;
            align-items: center;
        }

        .find-teacher-intro.is-mobile-collapsed .find-teacher-intro-description {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .find-teacher-intro.is-mobile-collapsed .find-teacher-intro-media {
            display: none;
        }

        .find-teacher-intro-media {
            justify-content: flex-start;
        }
    }
    
    @media (max-width: 576px) { 
        .find-teacher-intro {
            gap: 8px;
            padding: 12px 12px;
        }
        .find-teacher-intro-title {
            font-size: clamp(20px, 7.2vw, 24px);
        }
        .find-teacher-intro-description {
            font-size: 12px;
            line-height: 1.35;
        }
        .find-teacher-intro-media img {
            width: min(100%, 150px);
            max-height: 95px;
        }
        .teacher-card { grid-template-columns: 1fr; }
        .teacher-card-left { text-align: left; display: flex; gap: 15px; align-items: center; justify-content: flex-start; }
        .teacher-card-left .teacher-avatar img { width: 70px; height: 70px; margin: 0; }
        .presence-indicator { margin-top: 0; height: auto; flex-shrink: 0; }
        .card-header { flex-direction: column; align-items: flex-start; gap: 5px; }
        .card-header-right { position: absolute; top: 15px; right: 15px; text-align: right; }
        .teacher-price { font-size: 18px; }
        .skeleton-card { grid-template-columns: 1fr; }
        .skeleton-left { flex-direction: row; gap: 15px; }
        .skeleton-avatar { width: 70px; height: 70px; margin: 0; }
    }

    /* REVAMPED CALENDAR MODAL CSS (Keep existing styles...) */
    .modal-open { overflow: hidden; }
    .availability-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(33, 37, 41, 0.75); z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; }
    .availability-modal-overlay.is-visible { display: flex; }
    .availability-modal-content { background: #ffffff; border-radius: 16px; padding: 24px; width: 100%; max-width: 980px; height: 90vh; display: flex; flex-direction: column; position: relative; box-shadow: 0 10px 45px rgba(0,0,0,0.25); border: 1px solid #f1f3f5; }
    .close-modal-btn { position: absolute; top: 15px; right: 15px; width: 32px; height: 32px; font-size: 24px; color: #868e96; background-color: transparent; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; z-index: 100; }
    .close-modal-btn:hover { background-color: #f1f3f5; color: #343a40; transform: rotate(90deg); }
    #modal-calendar-container { flex-grow: 1; min-height: 0; display: flex; flex-direction: column; }
    .calendar-loader, .calendar-error { text-align: center; padding: 40px; font-size: 16px; color: #868e96; }
    .calendar-top-header { flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; padding: 0 10px; }
    .calendar-nav-btn { background-color: #fff; border: 1px solid #dee2e6; border-radius: 50%; width: 36px; height: 36px; font-size: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
    .calendar-nav-btn:hover { background-color: #f8f9fa; border-color: #ced4da; }
    .calendar-nav-btn::after { content: ''; display: block; width: 6px; height: 6px; border-top: 2px solid #495057; border-right: 2px solid #495057; }
    .calendar-nav-btn.prev::after { transform: translateX(2px) rotate(-135deg); }
    .calendar-nav-btn.next::after { transform: translateX(-2px) rotate(45deg); }
    .range-label { font-size: 18px; font-weight: 600; color: #212529; }
    .calendar-sub-header { text-align: center; font-size: 12px; color: #868e96; margin-bottom: 15px; }
    .calendar-grid-wrapper { flex-grow: 1; overflow-y: auto; border-top: 1px solid #e9ecef; min-height: 0; }
    .calendar-grid { display: grid; grid-template-columns: 80px repeat(7, 1fr); }
    .day-header { text-align: center; padding: 4px 0; border-left: 1px solid #f1f3f5; height: 50px; display: flex; flex-direction: column; justify-content: center; font-size: 12px; color: #868e96; position: sticky; top: 0; background: #fff; z-index: 10; }
    .day-header.is-today span:last-child { font-weight: bold; color: #1c7ed6; }
    .time-label { height: 30px; font-size: 12px; color: #495057; display: flex; align-items: center; justify-content: center; }
    .time-slot { height: 30px; border-top: 1px solid #f8f9fa; border-left: 1px solid #f1f3f5; transition: all 0.15s ease-out; box-sizing: border-box; }
    .time-slot.available { background-color: #d1fae5; cursor: default; }
    .time-slot.booked { background-color: #f3e8ff; cursor: not-allowed; background-image: repeating-linear-gradient(-45deg, transparent, transparent 4px, rgba(167, 139, 250, 0.1) 4px, rgba(167, 139, 250, 0.1) 8px); }
    .calendar-footer { flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid #e9ecef; margin-top: 15px; }
    .calendar-legend { display: flex; flex-wrap: wrap; gap: 15px; }
    .legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #495057; }
    .swatch { width: 12px; height: 12px; border-radius: 3px; }
    .swatch.available { background-color: #d1fae5; border: 1px solid #a7f3d0; }
    .swatch.booked { background-color: #f3e8ff; border: 1px solid #e9d5ff; }
    .swatch.not-working { background-color: #fff; border: 1px solid #dee2e6; }
    
    /* --- NEW/REFINED STYLES FOR TEACHER CARD LANGUAGES --- */
    .teacher-languages { margin: 12px 0; font-size: 15px; color: #555; display: flex; flex-direction: column; gap: 10px; }
    .language-line { display: flex; align-items: flex-start; gap: 8px; }
    .language-line .lang-label { font-weight: 600; color: #333; flex-shrink: 0; line-height: 26px; /* Vertically align with items */ }
    .language-items-wrapper { display: flex; flex-wrap: wrap; gap: 12px; } /* Wrapper for all "Language [Pill]" items */
    .language-item { display: flex; align-items: center; gap: 6px; } /* Wrapper for one "Language [Pill]" */
    .language-name { font-size: 14px; color: #444; }
    .lang-pill { padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; white-space: nowrap; line-height: 1.5; }
    .lang-pill.level-native { background-color: #d1fae5; color: #065f46; }
    .lang-pill.level-advanced { background-color: #dbeafe; color: #1e40af; }
    .lang-pill.level-intermediate { background-color: #ede9fe; color: #5b21b6; }
    .lang-pill.level-beginner { background-color: #fffbeb; color: #b45309; }
    
    /* --- NEW PAGINATION STYLES --- */
    .teacher-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 40px;
    }
    .pagination-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid #dee2e6;
        border-radius: 50%;
        text-decoration: none;
        color: #495057;
        font-weight: 600;
        background-color: #fff;
        transition: all 0.2s ease;
        cursor: pointer;
    }
    .pagination-link:hover {
        background-color: #f8f9fa;
        border-color: #8c52ff;
    }
    .pagination-link.active {
        background-color: #8c52ff;
        color: #fff;
        border-color: #8c52ff;
        cursor: default;
    }
    .pagination-ellipsis {
        color: #6c757d;
        width: 40px;
        text-align: center;
    }

    /* ======================================================================== */
    /* == START: CSS MODIFIED FOR EPIC 10 (PRESENCE INDICATOR)               == */
    /* ======================================================================== */
    @keyframes pulse {
        0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
        70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
        100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
    }
    /* ======================================================================== */
    /* == END: CSS MODIFIED FOR EPIC 10                                      == */
    /* ======================================================================== */

    /* <!-- START: MESSAGING INTEGRATION - New CSS for Start Conversation Modal --> */
    #start-message-modal-overlay {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background-color: rgba(0, 0, 0, 0.6); z-index: 10000;
        display: none; align-items: center; justify-content: center;
    }
    #start-message-modal-overlay.visible { display: flex; }
    .start-message-modal-content {
        background: #fff; border-radius: 12px; width: 90%; max-width: 500px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    }
    .start-message-modal-header {
        display: flex; align-items: center; gap: 15px;
        padding: 15px 20px; border-bottom: 1px solid #eee;
    }
    .modal-recipient-avatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
    .modal-recipient-info h3 { margin: 0; font-size: 16px; }
    .modal-recipient-info p { margin: 2px 0 0; font-size: 13px; color: #888; }
    .start-message-modal-body { padding: 20px; }
    #modal-message-content {
        width: 100%; min-height: 120px; resize: vertical;
        padding: 10px; border: 1px solid #ccc; border-radius: 6px;
    }
    #modal-error-message { color: #dc3545; font-size: 13px; margin-top: 10px; display: none; }
    .start-message-modal-footer {
        display: flex; justify-content: flex-end; gap: 10px;
        padding: 15px 20px; border-top: 1px solid #eee; background-color: #f8f9fa;
    }
    .start-message-modal-footer .modal-btn {
        padding: 8px 18px; border-radius: 6px; border: 1px solid transparent;
        font-weight: 500; cursor: pointer;
    }
    .modal-btn.cancel { background-color: #f0f0f0; border-color: #ccc; }
    .modal-btn.send { background-color: #8c52ff; color: #fff; }
    .modal-btn.send:disabled { background-color: #ccc; cursor: not-allowed; }
    .modal-btn .spinner { display: none; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 1s linear infinite; margin-left: 8px; }
    .ls-message-toast-container { position: fixed; top: 24px; right: 24px; z-index: 12000; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
    .ls-message-toast { min-width: 260px; max-width: 360px; background: #fff; border-radius: 10px; border-left: 4px solid #10b981; box-shadow: 0 10px 30px rgba(0,0,0,0.15); padding: 12px 14px; font-size: 14px; color: #111827; opacity: 0; transform: translateY(-8px); transition: opacity 0.2s ease, transform 0.2s ease; }
    .ls-message-toast.is-visible { opacity: 1; transform: translateY(0); }
    .ls-message-toast.error { border-left-color: #ef4444; }
    /* <!-- END: MESSAGING INTEGRATION --> */
