.ltg-search,
.ltg-tour-grid,
.ltg-tour-detail,
.ltg-empty,
.ltg-result-summary {
    box-sizing: border-box;
}

.ltg-search {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    margin: 0 0 24px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.ltg-search-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.ltg-search label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
}

.ltg-search input,
.ltg-search select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 8px 10px;
    background: #fff;
}

.ltg-checkbox-label {
    flex-direction: row !important;
    align-items: center;
    gap: 8px !important;
    min-height: 42px;
}

.ltg-checkbox-label input {
    width: auto;
    min-height: auto;
}

.ltg-search-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ltg-search button,
.ltg-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    background: #111827;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    cursor: pointer;
}

.ltg-result-summary {
    margin-bottom: 12px;
    font-weight: 600;
}

.ltg-tour-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ltg-tour-card {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
}

.ltg-tour-image {
    display: block;
    height: 210px;
    background-size: cover;
    background-position: center;
    text-decoration: none;
}

.ltg-tour-image-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #6b7280;
}

.ltg-tour-card-body {
    padding: 16px;
}

.ltg-card-top,
.ltg-tour-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ltg-supplier-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    background: #eef2ff;
    color: #3730a3;
}

.ltg-supplier-go365 {
    background: #ecfdf5;
    color: #047857;
}

.ltg-tour-card h3 {
    margin: 14px 0 8px;
    line-height: 1.35;
    font-size: 18px;
}

.ltg-tour-card h3 a {
    color: inherit;
    text-decoration: none;
}

.ltg-tour-meta,
.ltg-tour-destination,
.ltg-next-date,
.ltg-price-label {
    color: #6b7280;
    font-size: 14px;
}

.ltg-tour-destination {
    min-height: 42px;
}

.ltg-price {
    display: block;
    font-size: 20px;
    color: #111827;
}

.ltg-seat {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.ltg-seat-available {
    background: #dcfce7;
    color: #166534;
}

.ltg-seat-low {
    background: #fef3c7;
    color: #92400e;
}

.ltg-seat-full {
    background: #fee2e2;
    color: #991b1b;
}

.ltg-seat-pending {
    background: #e5e7eb;
    color: #374151;
}

.ltg-tour-card .ltg-button {
    width: 100%;
    margin-top: 16px;
}

.ltg-empty {
    padding: 24px;
    border: 1px dashed #d1d5db;
    border-radius: 14px;
    background: #f9fafb;
    color: #6b7280;
}

.ltg-back-link {
    text-decoration: none;
    font-weight: 700;
}

.ltg-detail-hero {
    min-height: 360px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    margin-bottom: 24px;
}

.ltg-detail-header,
.ltg-detail-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.ltg-detail-header h1 {
    margin: 12px 0 8px;
}

.ltg-detail-meta {
    color: #6b7280;
}

.ltg-large-price {
    font-size: 24px;
    font-weight: 800;
}

.ltg-period-table-wrap {
    overflow-x: auto;
}

.ltg-period-table {
    width: 100%;
    border-collapse: collapse;
}

.ltg-period-table th,
.ltg-period-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 10px;
    text-align: left;
    vertical-align: top;
}

.ltg-period-table th {
    background: #f9fafb;
    font-weight: 700;
}

.ltg-itinerary-day {
    border-left: 4px solid #111827;
    padding: 2px 0 2px 16px;
    margin: 0 0 18px;
}

.ltg-itinerary-day h3 {
    margin-top: 0;
}

.ltg-meals,
.ltg-hotel {
    color: #4b5563;
    font-size: 14px;
}

.ltg-inquiry-box {
    background: #f9fafb;
}

.ltg-admin-cards {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.ltg-admin-card,
.ltg-admin-panel {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.ltg-admin-card strong {
    display: block;
    font-size: 28px;
}

.ltg-admin-card span {
    color: #646970;
}

.ltg-admin-panel {
    margin: 18px 0;
    max-width: 760px;
}

@media (max-width: 1024px) {
    .ltg-search-grid,
    .ltg-tour-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .ltg-search-grid,
    .ltg-tour-grid {
        grid-template-columns: 1fr;
    }
    .ltg-detail-hero {
        min-height: 240px;
    }
}

.ltg-supplier-settings-table input.regular-text,
.ltg-tour-override-table input.regular-text,
.ltg-tour-override-table input.large-text,
.ltg-supplier-settings-table textarea,
.ltg-tour-override-table textarea {
    max-width: 100%;
}

.ltg-tour-override-table td,
.ltg-supplier-settings-table td {
    vertical-align: top;
}

.ltg-admin-filter {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 16px 0;
}

.ltg-admin-filter select {
    min-width: 160px;
}

.ltg-card-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 0;
}

.ltg-flag,
.ltg-admin-badge,
.ltg-log-level {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    background: #eef2ff;
    color: #3730a3;
}

.ltg-flag-promo,
.ltg-admin-badge-promo {
    background: #fff7ed;
    color: #9a3412;
}

.ltg-admin-badge-hidden {
    background: #f3f4f6;
    color: #4b5563;
}

.ltg-admin-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.ltg-admin-table-form input[type="text"],
.ltg-admin-table-form input[type="url"],
.ltg-admin-table-form input[type="password"],
.ltg-admin-table-form select,
.ltg-admin-tour-table input[type="text"],
.ltg-admin-tour-table input[type="url"],
.ltg-admin-tour-table textarea,
.ltg-admin-tour-table select {
    max-width: 100%;
}

.ltg-admin-tour-table td {
    vertical-align: top;
}

.ltg-log-info {
    background: #ecfdf5;
    color: #065f46;
}

.ltg-log-warning {
    background: #fffbeb;
    color: #92400e;
}

.ltg-log-error {
    background: #fef2f2;
    color: #991b1b;
}

.ltg-admin-wrap details pre {
    max-width: 520px;
    max-height: 240px;
    overflow: auto;
    white-space: pre-wrap;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    padding: 8px;
}

@media (max-width: 900px) {
    .ltg-admin-grid-2 {
        grid-template-columns: 1fr;
    }
}


.ltg-button-small {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 13px;
}

.ltg-button-secondary {
    background: #4b5563;
    margin-left: 8px;
}

.ltg-booking-form-wrap,
.ltg-booking-success,
.ltg-booking-summary,
.ltg-booking-form {
    box-sizing: border-box;
}

.ltg-booking-form-wrap,
.ltg-booking-success {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.ltg-booking-summary {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    margin: 16px 0 22px;
}

.ltg-booking-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ltg-booking-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ltg-booking-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 700;
}

.ltg-booking-form input,
.ltg-booking-form select,
.ltg-booking-form textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
}

.ltg-booking-note {
    border-left: 4px solid #111827;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 12px 14px;
    color: #374151;
}

.ltg-booking-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 12px 14px;
    margin: 12px 0;
}

.ltg-booking-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

@media (max-width: 800px) {
    .ltg-booking-grid {
        grid-template-columns: 1fr;
    }
    .ltg-button-secondary {
        margin-left: 0;
        margin-top: 8px;
    }
}

/* Phase 2A.1 Enhanced Booking UI (included in Phase 3A) */
.ltg-booking-v2 {
    max-width: 1180px;
    margin: 0 auto;
}
.ltg-booking-hero {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: 28px;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e6e9ef;
    border-radius: 24px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    margin: 18px 0 22px;
}
.ltg-booking-hero-image {
    min-height: 280px;
    background: linear-gradient(135deg, #edf2f7, #dbeafe);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 700;
}
.ltg-booking-hero-content {
    padding: 30px 32px;
}
.ltg-booking-eyebrow {
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.ltg-booking-hero h1 {
    margin: 0 0 8px;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.1;
}
.ltg-booking-hero h2 {
    margin: 0;
    color: #334155;
    font-size: 22px;
    line-height: 1.35;
}
.ltg-booking-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}
.ltg-booking-badges span,
.ltg-side-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    padding: 6px 11px;
    font-size: 13px;
    font-weight: 700;
}
.ltg-booking-hero-note {
    color: #64748b;
    font-size: 16px;
    margin: 0;
}
.ltg-booking-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0 0 22px;
}
.ltg-booking-progress div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e6e9ef;
    color: #475569;
    font-weight: 700;
}
.ltg-booking-progress strong {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    flex: 0 0 28px;
}
.ltg-booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}
.ltg-booking-main,
.ltg-booking-side {
    min-width: 0;
}
.ltg-booking-section {
    background: #fff;
    border: 1px solid #e6e9ef;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}
.ltg-booking-section h2 {
    margin: 0 0 18px;
    font-size: 21px;
}
.ltg-booking-section-grid {
    display: grid;
    grid-template-columns: 1fr 190px 190px;
    gap: 14px;
    align-items: end;
}
.ltg-mini-info {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 14px;
    padding: 12px 14px;
}
.ltg-mini-info span,
.ltg-summary-row span,
.ltg-summary-total span {
    display: block;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 4px;
}
.ltg-mini-info strong {
    display: block;
    color: #0f172a;
    font-size: 15px;
}
.ltg-booking-pax-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.ltg-booking-pax-grid label {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 16px;
    padding: 14px;
}
.ltg-booking-pax-grid label span {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}
.ltg-booking-pax-grid input {
    font-size: 20px;
    font-weight: 800;
    text-align: center;
}
.ltg-booking-sticky-card {
    position: sticky;
    top: 24px;
    background: #fff;
    border: 1px solid #e6e9ef;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}
.ltg-booking-sticky-card h2 {
    margin: 0 0 12px;
}
.ltg-side-tour-name {
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 12px;
}
.ltg-side-status {
    margin-bottom: 16px;
}
.ltg-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #eef2f7;
}
.ltg-summary-row strong {
    text-align: right;
}
.ltg-summary-total {
    margin-top: 14px;
    padding: 16px;
    border-radius: 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}
.ltg-summary-total strong {
    display: block;
    font-size: 26px;
    color: #1d4ed8;
    line-height: 1.2;
}
.ltg-booking-submit {
    width: 100%;
    justify-content: center;
    font-size: 18px;
    padding: 14px 20px !important;
}
.ltg-muted {
    color: #64748b;
    font-size: 14px;
}
.ltg-success-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 900;
    margin: 0 auto 14px;
}
.ltg-booking-success-v2 {
    max-width: 980px;
    margin: 30px auto;
    text-align: center;
    background: #fff;
    border: 1px solid #dcfce7;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 14px 36px rgba(22, 163, 74, 0.12);
}
.ltg-success-lead {
    color: #475569;
    font-size: 17px;
}
.ltg-booking-no-box {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 12px 16px;
    border-radius: 999px;
    margin: 12px 0 24px;
}
.ltg-booking-confirm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    text-align: left;
    margin: 10px 0 24px;
}
.ltg-booking-summary-card,
.ltg-booking-next-card {
    border: 1px solid #e6e9ef;
    border-radius: 18px;
    padding: 20px;
    background: #f8fafc;
}
.ltg-booking-steps-list {
    margin: 0;
    padding-left: 20px;
    color: #334155;
}
.ltg-booking-steps-list li {
    margin-bottom: 8px;
}

@media (max-width: 920px) {
    .ltg-booking-hero,
    .ltg-booking-layout,
    .ltg-booking-section-grid,
    .ltg-booking-confirm-grid {
        grid-template-columns: 1fr;
    }
    .ltg-booking-progress {
        grid-template-columns: 1fr;
    }
    .ltg-booking-sticky-card {
        position: static;
    }
}
@media (max-width: 640px) {
    .ltg-booking-hero-content,
    .ltg-booking-section,
    .ltg-booking-sticky-card,
    .ltg-booking-success-v2 {
        padding: 18px;
    }
    .ltg-booking-pax-grid,
    .ltg-booking-grid {
        grid-template-columns: 1fr !important;
    }
    .ltg-summary-row {
        display: block;
    }
    .ltg-summary-row strong {
        text-align: left;
    }
}

/* Phase 3A: Invoice / Payment */
.ltg-payment-page { max-width: 1180px; margin: 0 auto; }
.ltg-payment-hero { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:28px; border-radius:24px; background:#0f172a; color:#fff; margin:20px 0; }
.ltg-payment-hero h1 { margin:4px 0; color:#fff; font-size:34px; }
.ltg-payment-hero p { margin:0; opacity:.9; }
.ltg-payment-status { min-width:220px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.18); border-radius:18px; padding:18px; text-align:right; }
.ltg-payment-status span { display:block; opacity:.9; font-size:14px; }
.ltg-payment-status strong { display:block; font-size:28px; margin-top:4px; color:#fff; }
.ltg-payment-status small { display:block; opacity:.75; margin-top:4px; }
.ltg-payment-summary-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.ltg-payment-bank-box { background:#f8fafc; border:1px solid #e2e8f0; border-radius:16px; padding:18px; }
.ltg-payment-bank-box p { margin:6px 0; }
.ltg-payment-form label { display:block; margin-bottom:12px; font-weight:600; }
.ltg-payment-form input, .ltg-payment-form textarea { width:100%; margin-top:6px; }
.ltg-invoice-items { margin-top:18px; }
.ltg-admin-badge { display:inline-block; padding:2px 8px; border-radius:999px; background:#eef2ff; color:#3730a3; font-size:12px; margin:1px; }
.ltg-badge-ok { background:#dcfce7; color:#166534; }
.ltg-badge-warn { background:#fef3c7; color:#92400e; }
.ltg-badge-danger { background:#fee2e2; color:#991b1b; }
@media (max-width: 760px) {
    .ltg-payment-hero { display:block; }
    .ltg-payment-status { text-align:left; margin-top:16px; }
    .ltg-payment-summary-grid { grid-template-columns:1fr; }
}

/* Phase 3B: Dashboard / Documents */
.ltg-dashboard-page { max-width: 1180px; margin: 0 auto; }
.ltg-dashboard-table-wrap { overflow-x: auto; }
.ltg-dashboard-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.ltg-dashboard-table th,
.ltg-dashboard-table td { padding: 12px; border-bottom: 1px solid #e2e8f0; text-align: left; vertical-align: top; }
.ltg-dashboard-table th { background: #f8fafc; color: #334155; font-weight: 700; }
.ltg-mini-button { display: inline-block; margin: 2px 4px 2px 0; padding: 7px 10px; border-radius: 9px; background: #eef2ff; color: #1e3a8a; font-weight: 700; text-decoration: none; font-size: 13px; }
.ltg-mini-button:hover { background: #dbeafe; color: #172554; }
@media (max-width: 760px) {
    .ltg-dashboard-table th,
    .ltg-dashboard-table td { white-space: nowrap; }
}

/* Phase 3C Gateway */
.ltg-gateway-section { border: 1px solid rgba(0,0,0,.08); }
.ltg-gateway-buttons { display:flex; flex-wrap:wrap; gap:12px; margin-top:14px; }
.ltg-gateway-buttons form { margin:0; }
.ltg-gateway-button { min-width:190px; }
.ltg-payment-history-item small code { white-space: normal; }

/* Phase 3D Safe AI */
.ltg-ai-score {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #dcdcde;
    border-radius: 12px;
    padding: 12px 16px;
    margin: 8px 0 14px;
    background: #fff;
}
.ltg-ai-score strong { font-size: 28px; line-height: 1; }
.ltg-ai-score span { font-weight: 600; }
.ltg-ai-score-high_confidence { border-color: #00a32a; }
.ltg-ai-score-medium_confidence { border-color: #dba617; }
.ltg-ai-score-low_confidence { border-color: #d63638; }

/* Phase 4A LINE notification */
.ltg-line-link-box code { background:#f4f6f8; padding:6px 10px; border-radius:8px; display:inline-block; letter-spacing:1px; }
.ltg-line-link-box .ltg-button { margin-top:8px; }

/* Phase 4C: LINE Rich Menu / LIFF / Login */
.ltg-phase4c-line-actions{margin-top:14px;padding:12px;border:1px dashed #d0d7de;border-radius:12px;background:#f8fafc}
.ltg-liff-portal .ltg-dashboard-page{margin-top:16px}
.ltg-liff-hero{border-radius:18px}
.ltg-badge-ok{display:inline-block;padding:3px 8px;border-radius:999px;background:#e8f7ee;color:#137333;font-weight:700}
.ltg-badge-warn{display:inline-block;padding:3px 8px;border-radius:999px;background:#fff4e5;color:#9a5b00;font-weight:700}

/* Phase 5 Private Group Planner */
.ltg-private-hero{background:linear-gradient(135deg,#10213d,#315c8d);color:#fff;border-radius:22px;padding:32px;margin:0 0 22px}.ltg-private-hero h1{margin:8px 0 8px;font-size:34px}.ltg-private-hero p{max-width:720px;opacity:.92}.ltg-private-form{padding:26px}.ltg-form-section{margin-bottom:28px}.ltg-form-section h3{margin:0 0 14px}.ltg-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ltg-form-grid label,.ltg-private-form label{display:block;font-weight:700;color:#172033}.ltg-form-grid input,.ltg-form-grid select,.ltg-private-form textarea,.ltg-private-form input,.ltg-private-form select{width:100%;margin-top:7px;border:1px solid #dce3ec;border-radius:12px;padding:11px 12px;background:#fff}.ltg-form-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.ltg-alert{border-radius:14px;padding:14px 16px;margin:0 0 18px}.ltg-alert-success{background:#ecfdf3;border:1px solid #b7ebc6;color:#176b36}.ltg-admin-grid{display:grid;grid-template-columns:1fr 360px;gap:18px}.ltg-card{background:#fff;border:1px solid #e6eaf0;border-radius:14px;padding:18px;margin:0 0 18px;box-shadow:0 8px 24px rgba(15,34,67,.05)}@media(max-width:760px){.ltg-form-grid,.ltg-admin-grid{grid-template-columns:1fr}.ltg-private-hero{border-radius:0;margin-left:-16px;margin-right:-16px}}
/* Phase 6 production readiness badges */
.ltg-badge{display:inline-block;padding:3px 8px;border-radius:999px;font-weight:700;font-size:12px;line-height:1.3}
.ltg-badge-pass{background:#e8f7ee;color:#137333}
.ltg-badge-fail{background:#fde8e8;color:#b91c1c}
.ltg-badge-error{background:#fde8e8;color:#b91c1c}
.ltg-badge-not_tested{background:#eef2ff;color:#3730a3}
.ltg-badge-blocked{background:#f3f4f6;color:#374151}
.ltg-badge-needs_fix{background:#fff7ed;color:#c2410c}
.ltg-pdpa-consent{margin-top:14px}

/* Patchatravel v3.0.4: compact tour cards, safer banner display, detail tabs and controlled period rows */
.ltg-tour-grid { gap: 16px; }
.ltg-tour-card { border-radius: 16px; }
.ltg-tour-image {
    height: 150px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: #f8fafc !important;
}
.ltg-tour-card-body { padding: 14px !important; }
.ltg-tour-card h3 { font-size: 16px !important; line-height: 1.35; margin: 10px 0 6px !important; }
.ltg-tour-destination { min-height: 0 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ltg-price { font-size: 18px !important; }
.ltg-tour-detail-compact { max-width: 1120px; margin: 0 auto; }
.ltg-detail-top-layout { display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: 22px; align-items: stretch; margin-bottom: 20px; }
.ltg-detail-hero-img-wrap { margin: 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 10px; box-shadow: 0 8px 20px rgba(15,23,42,.04); display: flex; align-items: center; justify-content: center; min-height: 260px; }
.ltg-detail-hero-img { width: 100%; max-height: 300px; object-fit: contain; border-radius: 12px; background: #fff; }
.ltg-detail-header-compact { margin-bottom: 0 !important; }
.ltg-detail-header-compact h1 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.18; }
.ltg-detail-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ltg-detail-route { color: #334155; }
.ltg-airline-row { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.ltg-airline-logo { max-height: 42px; max-width: 110px; object-fit: contain; }
.ltg-tour-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ltg-tour-chips span { background: #ecfeff; color: #155e75; border: 1px solid #cffafe; border-radius: 999px; padding: 5px 10px; font-size: 13px; font-weight: 700; }
.ltg-highlight-text p { margin: 0 0 10px; }
.ltg-flight-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.ltg-flight-card { border: 1px solid #e5e7eb; border-radius: 14px; padding: 12px; background: #f8fafc; display: grid; gap: 4px; }
.ltg-flight-card span, .ltg-flight-card small { color: #64748b; }
.ltg-section-head-inline { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ltg-muted { color: #64748b; }
.ltg-more-periods-wrap { text-align: center; margin-top: 14px; }
.ltg-period-table-compact th, .ltg-period-table-compact td { padding: 10px 9px; font-size: 14px; }
.ltg-itinerary-tabs { display: grid; gap: 16px; }
.ltg-itinerary-tab-list { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid #e5e7eb; padding-bottom: 10px; }
.ltg-itinerary-tab { border: 1px solid #dbeafe; background: #eff6ff; color: #1e40af; border-radius: 999px; padding: 8px 13px; cursor: pointer; font-weight: 800; }
.ltg-itinerary-tab.is-active { background: #0f172a; color: #fff; border-color: #0f172a; }
.ltg-itinerary-panel { display: none; border-left: 4px solid #0f172a; padding: 4px 0 4px 18px; }
.ltg-itinerary-panel.is-active { display: block; }
.ltg-day-description p { margin: 0 0 10px; }
.ltg-program-intro { color: #334155; margin-bottom: 16px; }
.ltg-terms-text { color: #334155; }
@media (max-width: 900px) {
    .ltg-detail-top-layout { grid-template-columns: 1fr; }
    .ltg-detail-hero-img-wrap { min-height: 180px; }
    .ltg-detail-hero-img { max-height: 240px; }
    .ltg-flight-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
    .ltg-tour-image { height: 140px !important; }
    .ltg-flight-grid { grid-template-columns: 1fr; }
    .ltg-period-table-compact th, .ltg-period-table-compact td { font-size: 13px; }
}

/* --- Ultra Premium Plus search navigator v3.2.0 --- */
.ltg-search-shell-ultra{display:grid;gap:22px}.ltg-region-browser{padding:22px;border-radius:28px;background:linear-gradient(180deg,rgba(255,250,245,.98) 0%,rgba(255,244,233,.96) 100%);border:1px solid #f0dcc9;box-shadow:0 22px 56px rgba(85,49,16,.09)}.ltg-region-browser-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.ltg-search-kicker{margin:0 0 6px;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:800;color:#9e5d1c}.ltg-region-browser-head h3{margin:0;font-size:clamp(1.4rem,2vw,1.85rem);color:#1d2336}.ltg-region-browser-head p:last-child{max-width:520px;margin:0;color:#6f6861}.ltg-region-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.ltg-region-card{padding:18px;border-radius:22px;background:rgba(255,255,255,.84);border:1px solid #f0dece}.ltg-region-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.ltg-region-card-head strong,.ltg-region-card-head strong a{color:#1d2336;font-size:1.06rem}.ltg-region-link{display:inline-flex;min-height:34px;align-items:center;padding:0 12px;border-radius:999px;background:#fff4e7;border:1px solid #f0dcca;font-size:13px;font-weight:700;color:#985518}.ltg-region-chip-wrap{display:flex;flex-wrap:wrap;gap:10px}.ltg-region-chip{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:999px;background:#fff;border:1px solid #f0dece;color:#4c4a47;font-weight:600}.ltg-region-chip:hover,.ltg-region-link:hover{transform:translateY(-1px)}.ltg-airline-pill{display:inline-flex;align-items:center;gap:14px;padding:12px 16px;border-radius:18px;border:1px solid #f2decf;background:#fff;box-shadow:0 10px 26px rgba(214,111,13,.08)}.ltg-airline-logo{width:52px;height:52px;border-radius:16px;object-fit:contain;background:#fff;border:1px solid #f0e2d7;padding:6px}.ltg-airline-fallback{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,#f08a24,#f7b267);color:#fff;font-weight:800;letter-spacing:.08em}.ltg-airline-copy{display:inline-flex;flex-direction:column;gap:2px}.ltg-airline-copy small{color:#8e8a84}@media(max-width:980px){.ltg-region-browser-head{flex-direction:column;align-items:flex-start}}@media(max-width:767px){.ltg-region-grid{grid-template-columns:1fr}}

/* Commercial tour card polish */
.ltg-tour-card-commercial { border-radius: 24px !important; overflow: hidden; }
.ltg-commercial-meta-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin: 12px 0; }
.ltg-commercial-meta-grid > div { min-height: 66px; padding: 10px; border-radius: 14px; background: #fff7ef; border: 1px solid #f1dfcf; }
.ltg-commercial-meta-grid span { display: block; color: #8a6f5b; font-size: 11px; font-weight: 800; }
.ltg-commercial-meta-grid strong { display: flex; align-items: center; gap: 6px; color: #1d2336; font-size: 13px; line-height: 1.35; }
.ltg-card-airline img { width: 26px; height: 26px; object-fit: contain; border-radius: 8px; background: #fff; }
.ltg-card-periods { display: grid; gap: 6px; padding: 10px; border-radius: 16px; background: #fffaf6; border: 1px dashed #ebd3be; margin: 8px 0; }
.ltg-card-periods div { display: grid; grid-template-columns: 42px 1fr; gap: 8px; font-size: 13px; }
.ltg-card-periods strong { color: #9a5315; }
.ltg-card-periods span { color: #514b45; }
