/**
 * Trip2Where Planner V2 — FEATURES (Dark · Radar · Lightbox · Marketplace · Zone · Drag)
 * Split from travel-planner-v2.css 2026-04-17 (P2-2)
 * Enqueued as: t2w-planner-features (handle 2/4)
 */

/* ========================================
   21. DARK MODE (future)
   ======================================== */

/* Reserved for dark mode via prefers-color-scheme or data-theme="dark" */

/* ========================================
   22. PRINT
   ======================================== */

@media print {
    .t2w-v2-topbar,
    .t2w-v2-bottom-bar,
    .t2w-ai-assist,
    .t2w-radar-panel,
    .t2w-add-place,
    .t2w-remove-place,
    .t2w-wishlist-btn,
    .t2w-itinerary-actions {
        display: none;
    }

    .t2w-v2-main {
        display: block;
    }

    .t2w-v2-left {
        max-height: none;
        border: none;
    }

    .t2w-map {
        height: 300px;
        page-break-inside: avoid;
    }
}

/* ========================================
   23. LEAFLET OVERRIDES
   ======================================== */

.t2w-planner-v2 .leaflet-container {
    font-family: var(--font-primary, 'Pretendard', sans-serif);
}

.t2w-planner-v2 .leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.t2w-planner-v2 .leaflet-popup-content {
    margin: 10px 14px;
    font-size: 13px;
}

/* ========================================
   24. SORTABLE (jQuery UI)
   ======================================== */

.t2w-itinerary-place.ui-sortable-helper {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    z-index: 100;
}

.t2w-itinerary-places.ui-sortable .t2w-itinerary-place.ui-sortable-placeholder {
    visibility: visible;
    background: rgba(var(--color-primary-rgb, 255, 183, 0), 0.1);
    border: 2px dashed var(--color-primary);
    border-radius: 8px;
    height: 44px;
}

/* ========================================
   25. ROUTE STEP (Transport)
   ======================================== */

.t2w-route-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    font-size: 13px;
}

.t2w-rs-walk {
    color: var(--color-text-secondary, #6B7280);
}

.t2w-rs-transit {
    background: var(--color-neutral-warm, #F8F6F0);
    border-radius: 6px;
}

.t2w-rs-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.t2w-rs-line {
    font-weight: 600;
    font-size: 13px;
}

.t2w-rs-stops {
    font-size: 12px;
    color: var(--color-text-secondary, #6B7280);
}

.t2w-rs-time {
    font-size: 12px;
    color: var(--color-text-tertiary, #9CA3AF);
}

.t2w-rs-info {
    font-size: 13px;
}

/* ========================================
   SKELETON LOADING UI
   ======================================== */

@keyframes t2w-skeleton-pulse {
    0%   { opacity: 1; }
    50%  { opacity: .4; }
    100% { opacity: 1; }
}

.t2w-skeleton {
    animation: t2w-skeleton-pulse 1.5s ease-in-out infinite;
    pointer-events: none;
}

.t2w-skeleton-card {
    background: #fff;
    border-radius: var(--v2-radius, 12px);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.t2w-skeleton-card__img {
    width: 100%;
    height: 120px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: t2w-skeleton-shimmer 1.5s infinite;
}

.t2w-skeleton-card__line {
    height: 14px;
    background: #f0f0f0;
    border-radius: 4px;
    margin: 10px 12px 0;
}

.t2w-skeleton-card__line--short {
    width: 60%;
    height: 12px;
    margin-bottom: 12px;
}

@keyframes t2w-skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* v33.1: Place detail skeleton preview */
.t2w-place-detail--loading .t2w-pd-hero--skeleton {
    min-height: 180px;
    background-color: #e5e7eb;
    background-size: cover;
    background-position: center;
}
.t2w-pd-skeleton-body {
    padding: 0 16px;
}
.t2w-skel-line {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: t2w-skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
}

/* v33.1: Dock cards in nearby grid — clickable cursor */
.t2w-pd-food-grid .t2w-dock-card[data-place-id] {
    cursor: pointer;
}
.t2w-pd-food-grid .t2w-dock-card[data-place-id]:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    transform: translateY(-1px);
    transition: box-shadow .2s, transform .2s;
}

/* v33.1: Preview → full detail transition */
.t2w-place-detail--preview .t2w-pd-tabs-content {
    position: relative;
    min-height: 60px;
}
.t2w-place-detail--preview .t2w-pd-tabs-content::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border: 2px solid #e5e7eb;
    border-top-color: var(--color-primary, #f59e0b);
    border-radius: 50%;
    animation: t2w-spin .6s linear infinite;
}
@keyframes t2w-spin {
    to { transform: rotate(360deg); }
}

/* Lazy-load fade-in for place card images */
.t2w-pc-img[style*="background-image"] {
    animation: t2w-fadeIn .3s ease-in;
}

@keyframes t2w-fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ========================================
   MOBILE BOTTOM NAVIGATION
   ======================================== */

.t2w-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--color-border, #E5E7EB);
    z-index: 999;
    padding: 4px 0 calc(4px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 768px) {
    .t2w-bottom-nav { display: flex; }
    body:not(.travel-planner-page) { padding-bottom: 56px; }
}

.t2w-bn-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 0;
    color: #9CA3AF;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    transition: color 0.2s;
}
.t2w-bn-item i { font-size: 18px; }
.t2w-bn-item.active { color: var(--color-primary); }
.t2w-bn-item:hover { color: var(--color-text-primary, #1F2937); text-decoration: none; }

/* ========================================
   MARKER CLUSTER (Leaflet.markercluster)
   ======================================== */

.marker-cluster-small { background-color: rgba(255, 183, 0, 0.3); }
.marker-cluster-small div { background-color: rgba(255, 183, 0, 0.6); }
.marker-cluster-medium { background-color: rgba(255, 163, 0, 0.3); }
.marker-cluster-medium div { background-color: rgba(255, 163, 0, 0.6); }
.marker-cluster-large { background-color: rgba(231, 76, 60, 0.3); }
.marker-cluster-large div { background-color: rgba(231, 76, 60, 0.6); }
.marker-cluster div { width: 30px; height: 30px; margin-left: 5px; margin-top: 5px; text-align: center; border-radius: 15px; font: 12px 'Pretendard', sans-serif; color: #fff; font-weight: 700; line-height: 30px; }
.marker-cluster { background-clip: padding-box; border-radius: 20px; }

/* ========================================
   TRANSPORT MODE TOGGLE
   ======================================== */

.t2w-transport-toggle {
    display: flex;
    gap: 4px;
    padding: 8px 12px;
    background: #F3F4F6;
    border-radius: 8px;
    margin-bottom: 8px;
}

.t2w-transport-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 8px;
    border: none;
    border-radius: 6px;
    background: transparent;
    font-size: 12px;
    font-weight: 500;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s;
}

.t2w-transport-btn:hover {
    background: rgba(59, 130, 246, 0.08);
    color: var(--color-primary);
}

.t2w-transport-btn.active {
    background: #fff;
    color: var(--color-primary);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.t2w-route-summary {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
    color: #6B7280;
    min-height: 24px;
}

.t2w-route-summary i {
    color: var(--color-primary);
}

/* Route label on map */
.t2w-route-label {
    background: none;
    border: none;
}

.t2w-route-label span {
    display: inline-block;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* v31.2: Numbered zone route markers on map */
.t2w-route-marker {
    background: none;
    border: none;
}
.t2w-route-marker span {
    display: flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--color-primary); color: #fff; font-size: 13px; font-weight: 700;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    border: 2px solid #fff;
}
/* v36.2: Departure marker (hotel icon) */
.t2w-route-marker--departure {
    background: none;
    border: none;
}
.t2w-route-marker--departure i {
    display: flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: #6366F1; color: #fff; font-size: 13px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    border: 2px solid #fff;
}

/* ========================================
   RADAR UI
   ======================================== */

.t2w-radar-controls {
    padding: 12px;
    border-top: 1px solid #E5E7EB;
    margin-top: 8px;
}

.t2w-radar-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.t2w-radar-btn:hover:not(:disabled) {
    border-color: #8B5CF6;
    color: #8B5CF6;
}

.t2w-radar-btn.active {
    background: #EDE9FE;
    border-color: #8B5CF6;
    color: #7C3AED;
}

.t2w-radar-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.t2w-radar-cats {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.t2w-radar-cat-chip {
    padding: 4px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 16px;
    background: #fff;
    font-size: 12px;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s;
}

.t2w-radar-cat-chip.active {
    background: #F5F3FF;
    border-color: #8B5CF6;
    color: #7C3AED;
}

.t2w-radar-results {
    padding: 8px 0;
}

.t2w-radar-group {
    margin-bottom: 12px;
}

.t2w-radar-group-title {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 6px;
}

.t2w-radar-poi {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.15s;
    cursor: pointer;
}

.t2w-radar-poi:hover {
    background: #F9FAFB;
}

.t2w-rp-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    flex-shrink: 0;
    position: relative;
}

.t2w-radar-poi[data-category="food"] .t2w-rp-icon,
.t2w-radar-group:has(.t2w-rp-icon .fa-utensils) .t2w-rp-icon {
    background: #FFF7ED;
    color: #F97316;
}

.t2w-radar-poi[data-category="cafe"] .t2w-rp-icon,
.t2w-radar-group:has(.t2w-rp-icon .fa-coffee) .t2w-rp-icon {
    background: #FEF3C7;
    color: #A16207;
}

.t2w-radar-poi[data-category="shopping"] .t2w-rp-icon,
.t2w-radar-group:has(.t2w-rp-icon .fa-shopping-bag) .t2w-rp-icon {
    background: #F5F3FF;
    color: #8B5CF6;
}

.t2w-rp-info {
    flex: 1;
    min-width: 0;
}

.t2w-rp-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.t2w-rp-rating {
    font-size: 12px;
    color: #F59E0B;
    margin-right: 4px;
}

.t2w-rp-distance {
    font-size: 11px;
    color: #9CA3AF;
}

.t2w-radar-poi .t2w-add-place {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #D1D5DB;
    border-radius: 50%;
    background: #fff;
    color: #6B7280;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.t2w-radar-poi .t2w-add-place:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #EFF6FF;
}

/* Radar panel slide */
#t2w-radar-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#t2w-radar-panel.visible {
    max-height: 500px;
    overflow-y: auto;
}

/* Radar markers on map — numbered circles */
.t2w-marker-radar-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

/* Highlight on hover from panel */
.t2w-planner-v2 .radar-highlight .t2w-marker-radar-num {
    transform: scale(1.5);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.3), 0 2px 8px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

/* Radar list — on-map items */
.t2w-radar-poi.on-map {
    background: #F9FAFB;
    border-left: 3px solid #8B5CF6;
}

.t2w-radar-poi.on-map:hover {
    background: #F5F3FF;
}

.t2w-rp-rank {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #7C3AED;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t2w-rp-map-tag {
    color: #8B5CF6;
    font-size: 11px;
    margin-left: 2px;
}

/* Remove duplicate .t2w-rp-icon (position: relative already added above) */

.t2w-rp-between {
    display: block;
    font-size: 11px;
    color: #9CA3AF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.t2w-radar-summary {
    font-size: 12px;
    color: #6B7280;
    padding: 4px 12px 8px;
    margin: 0;
    border-bottom: 1px solid #E5E7EB;
}

.t2w-radar-empty {
    padding: 24px 16px;
    text-align: center;
    color: #9CA3AF;
    font-size: 13px;
}

/* ========================================
   LIGHTBOX (Planner)
   ======================================== */

.t2w-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}

.t2w-lightbox-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.t2w-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    user-select: none;
}

.t2w-lb-close,
.t2w-lb-prev,
.t2w-lb-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.t2w-lb-close:hover,
.t2w-lb-prev:hover,
.t2w-lb-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.t2w-lb-close {
    top: 16px;
    right: 16px;
}

.t2w-lb-prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.t2w-lb-next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.t2w-lb-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Gallery cursor for lightbox */
.t2w-pd-gallery .t2w-pd-photo {
    cursor: pointer;
}

/* ========================================
   DARK THEME OVERRIDES
   ======================================== */

[data-theme="dark"] .t2w-transport-toggle {
    background: #1E293B;
}

[data-theme="dark"] .t2w-transport-btn {
    color: #94A3B8;
}

[data-theme="dark"] .t2w-transport-btn.active {
    background: #334155;
    color: #60A5FA;
}

[data-theme="dark"] .t2w-radar-controls {
    border-color: #374151;
}

[data-theme="dark"] .t2w-radar-btn {
    background: #1E293B;
    border-color: #374151;
    color: #D1D5DB;
}

[data-theme="dark"] .t2w-radar-cat-chip {
    background: #1E293B;
    border-color: #374151;
    color: #94A3B8;
}

[data-theme="dark"] .t2w-radar-cat-chip.active {
    background: #2E1065;
    border-color: #7C3AED;
    color: #C4B5FD;
}

[data-theme="dark"] .t2w-route-label span {
    background: rgba(30, 41, 59, 0.9);
    color: #D1D5DB;
}

/* ========================================
   RESPONSIVE (MOBILE)
   ======================================== */

@media (max-width: 640px) {
    .t2w-transport-btn {
        font-size: 11px;
        padding: 5px 4px;
    }

    .t2w-lb-prev,
    .t2w-lb-next {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

/* ========================================
   v3.2 — CURRENCY KRW
   ======================================== */

.t2w-krw {
    color: #6B7280;
    font-size: 0.85em;
    font-weight: 400;
    margin-left: 4px;
}

.t2w-pc-price {
    font-size: 12px;
    color: #059669;
    margin-left: auto;
}

/* ========================================
   v3.2 — ITINERARY PLACE META
   ======================================== */

.t2w-ip-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
    font-size: 11px;
    color: #6B7280;
}

.t2w-ip-dur,
.t2w-ip-best,
.t2w-ip-price {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.t2w-ip-dur i { color: var(--color-primary); }
.t2w-ip-best i { color: #F59E0B; }
.t2w-ip-price { color: #059669; font-weight: 500; }

/* ========================================
   v3.2 — PLACE CONTEXT MENU (MOVE TO DAY)
   ======================================== */

.t2w-place-actions {
    position: relative;
    flex-shrink: 0;
}

.t2w-place-menu-btn {
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.15s;
    font-size: 14px;
}

.t2w-place-menu-btn:hover {
    background: #F3F4F6;
    color: #374151;
}

.t2w-place-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 160px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 50;
    overflow: hidden;
}

.t2w-place-dropdown.open {
    display: block;
}

.t2w-place-dropdown button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 14px;
    background: none;
    border: none;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}

.t2w-place-dropdown button:hover {
    background: #F3F4F6;
}

.t2w-place-dropdown button i {
    width: 14px;
    text-align: center;
    color: #6B7280;
}

.t2w-dropdown-delete {
    border-top: 1px solid #E5E7EB;
}

.t2w-dropdown-delete,
.t2w-dropdown-delete:hover {
    color: #EF4444;
}

.t2w-dropdown-delete i {
    color: #EF4444;
}

/* ========================================
   v3.2 — MODAL DAY SELECT
   ======================================== */

.t2w-modal-day-select {
    display: inline-block;
    padding: 4px 8px;
    margin-right: 6px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    vertical-align: middle;
}

.t2w-modal-day-select:focus {
    outline: none;
    border-color: var(--t2w-gold, #D4A843);
}

/* ========================================
   v3.2 — WEATHER STRIP
   ======================================== */

.t2w-weather-strip {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.t2w-ws-region {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-primary, #2563EB);
    white-space: nowrap;
    padding: 4px 8px;
    background: var(--color-primary-bg, #EFF6FF);
    border-radius: 12px;
    flex-shrink: 0;
}

.t2w-ws-region i {
    margin-right: 2px;
    font-size: 10px;
}

.t2w-weather-strip::-webkit-scrollbar {
    height: 3px;
}

.t2w-weather-strip::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 3px;
}

.t2w-weather-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 64px;
    padding: 8px 6px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    flex-shrink: 0;
}

.t2w-wd-date {
    font-size: 11px;
    color: #6B7280;
    white-space: nowrap;
}

.t2w-wd-icon {
    font-size: 18px;
    color: #F59E0B;
}

.t2w-wd-icon .fa-cloud-showers-heavy,
.t2w-wd-icon .fa-cloud-rain {
    color: var(--color-primary);
}

.t2w-wd-icon .fa-snowflake {
    color: #93C5FD;
}

.t2w-wd-icon .fa-bolt {
    color: #7C3AED;
}

.t2w-wd-temp {
    font-size: 11px;
    font-weight: 500;
    color: #374151;
}

/* ========================================
   v3.2 — MOBILE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
    .t2w-place-dropdown {
        right: auto;
        left: 0;
        min-width: 150px;
    }

    .t2w-weather-day {
        min-width: 58px;
        padding: 6px 4px;
    }

    .t2w-ip-meta {
        flex-wrap: wrap;
        gap: 4px 8px;
    }
}

/* ================================================
   v4.0 — MARKETPLACE: Product Categories & Vendor Offerings
   ================================================ */

/* Ticket badge on place cards */
.t2w-ticket-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #B45309;
    background: #FEF3C7;
    border-radius: 4px;
    margin-bottom: 6px;
}

/* Ticket banner in place detail modal */
.t2w-pd-ticket-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    color: #92400E;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
}

/* Service options title */
.t2w-so-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #1E3A5F;
    margin: 0 0 10px;
}

/* Service options tabs */
.t2w-so-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.t2w-so-tabs::-webkit-scrollbar { display: none; }

.t2w-so-tab {
    padding: 5px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    background: #fff;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    color: #6B7280;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.t2w-so-tab:hover {
    border-color: #D1D5DB;
    color: #374151;
}

/* Tab color coding per category */
.t2w-so-tab.active { font-weight: 600; }
.t2w-so-tab.active[data-tab="tour"]          { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.t2w-so-tab.active[data-tab="ticket"]        { background: #8B5CF6; border-color: #8B5CF6; color: #fff; }
.t2w-so-tab.active[data-tab="activity"]      { background: #F97316; border-color: #F97316; color: #fff; }
.t2w-so-tab.active[data-tab="transport"]     { background: #10B981; border-color: #10B981; color: #fff; }
.t2w-so-tab.active[data-tab="accommodation"] { background: #06B6D4; border-color: #06B6D4; color: #fff; }
.t2w-so-tab.active[data-tab="food"]          { background: #EF4444; border-color: #EF4444; color: #fff; }

.t2w-so-tab-count {
    font-size: 10px;
    margin-left: 2px;
}

/* Tab group panels */
.t2w-so-group { display: none; }
.t2w-so-group.active { display: block; }

/* 2-column card grid */
.t2w-so-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
@media (max-width: 420px) {
    .t2w-so-card-grid { grid-template-columns: 1fr; }
}

/* Itinerary-relevant section */
.t2w-so-relevant {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #E5E7EB;
}

.t2w-so-relevant-label {
    font-size: 11px;
    font-weight: 600;
    color: #F59E0B;
    display: block;
    margin-bottom: 6px;
}

.t2w-pcc-relevant {
    border-color: #FDE68A;
    background: #FFFBEB;
}
.t2w-pcc-relevant:hover {
    border-color: #F59E0B;
}

/* Legacy list layout (kept for place detail panel) */
.t2w-so-cat-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Product category card — vertical image card */
.t2w-product-cat-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    overflow: hidden;
}

.t2w-product-cat-card:hover {
    border-color: #D1D5DB;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Card visual area (image + vendor badge) */
.t2w-pcc-visual {
    position: relative;
    width: 100%;
}

.t2w-pcc-image {
    width: 100%;
    height: 0;
    padding-bottom: 66.67%; /* 3:2 ratio */
    background-size: cover;
    background-position: center;
    background-color: #F3F4F6;
}

/* Icon fallback when no thumbnail */
.t2w-pcc-img-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 28px;
}
.t2w-pcc-img-fallback i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Vendor count badge overlay */
.t2w-pcc-vendor-badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.t2w-pcc-body {
    padding: 8px 10px 10px;
}

.t2w-pcc-name {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.t2w-pcc-meta {
    margin: 3px 0 0;
    font-size: 11px;
    color: #6B7280;
}

.t2w-pcc-price {
    margin: 4px 0 0;
    font-size: 13px;
    font-weight: 700;
    color: #059669;
}

.t2w-pcc-price .t2w-krw {
    font-size: 11px;
    font-weight: 500;
    color: #6B7280;
}

.t2w-pcc-cta {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-primary);
}

/* Affiliate badge */
.t2w-affiliate-badge {
    display: inline-block;
    padding: 1px 6px;
    font-size: 9px;
    font-weight: 600;
    color: #7C3AED;
    background: #EDE9FE;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 4px;
}

/* Vendor offerings modal */
.t2w-offerings-modal {
    padding: 0 4px;
}

.t2w-om-desc {
    font-size: 13px;
    color: #4B5563;
    margin: 0 0 8px;
    line-height: 1.5;
}

.t2w-om-meta {
    font-size: 12px;
    color: #6B7280;
    margin: 0 0 16px;
}

.t2w-om-heading {
    font-size: 14px;
    font-weight: 600;
    color: #1E3A5F;
    margin: 0 0 10px;
}

.t2w-om-offerings {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.t2w-om-empty {
    text-align: center;
    padding: 24px 0;
    color: #6B7280;
}

.t2w-om-empty p {
    margin: 0 0 12px;
}

/* Vendor comparison row */
.t2w-vendor-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 8px 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: #fff;
}

.t2w-vr-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    flex-wrap: wrap;
}

.t2w-vr-info strong {
    color: #111827;
}

.t2w-verified {
    color: var(--color-primary);
    font-size: 12px;
}

.t2w-vr-rating {
    font-size: 11px;
    color: #F59E0B;
}

.t2w-vr-price {
    font-size: 15px;
    font-weight: 700;
    color: #059669;
    text-align: right;
}

.t2w-vr-child {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #6B7280;
}

.t2w-vr-includes {
    grid-column: 1 / -1;
    font-size: 11px;
    color: #6B7280;
    line-height: 1.4;
}

.t2w-vr-select {
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
}

/* Quote accent button in action bar */
.t2w-planner-v2 .t2w-action-btn-accent {
    background: linear-gradient(135deg, var(--color-primary), #F59E0B);
    color: #fff;
    border-color: #F59E0B;
}

.t2w-planner-v2 .t2w-action-btn-accent:hover {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

/* Quote form: day checkboxes */
.t2w-qf-summary {
    margin: 0 0 12px;
    color: #6B7280;
    font-size: 13px;
}

.t2w-qf-day-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.t2w-qf-day-check {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s;
}

.t2w-qf-day-check:has(input:checked) {
    border-color: var(--color-primary);
    background: #EFF6FF;
    color: #1D4ED8;
}

.t2w-qf-cat-info {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #F0F4FF;
    border-radius: 8px;
    font-size: 13px;
    color: #1E3A5F;
    margin-bottom: 12px;
}

/* Place detail: related products section */
.t2w-pd-products-inner {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #E5E7EB;
}

.t2w-pd-products-inner h5 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #1E3A5F;
    margin: 0 0 8px;
}

/* Place detail: keep cards horizontal (not vertical image) */
.t2w-pd-products-inner .t2w-product-cat-card {
    flex-direction: row;
    align-items: center;
    margin-top: 6px;
}
.t2w-pd-products-inner .t2w-pcc-visual { display: none; }
.t2w-pd-products-inner .t2w-pcc-body { padding: 8px 12px; }
.t2w-pd-products-inner .t2w-pcc-cta { display: none; }

/* Quote service type row — scrollable on mobile */
@media (max-width: 768px) {
    .t2w-quote-svc-row {
        flex-wrap: wrap;
    }

    .t2w-vendor-row {
        grid-template-columns: 1fr;
    }

    .t2w-vr-price {
        text-align: left;
    }

    .t2w-vr-select {
        width: 100%;
    }
}


/* ============================================================
   V5.0 Zone-Based Planner Layout
   ============================================================ */

/* Calendar Strip */
.t2w-cal {
    background: #fff;
    border-bottom: 1px solid var(--t2w-border, #E5E7EB);
    padding: 8px 16px;
    flex-shrink: 0;
    z-index: 50;
}

/* v10.6: Legacy calendar grid — replaced by pill bar (inline CSS in planner-v2.php) */
.t2w-cal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.t2w-cal-prev,
.t2w-cal-next {
    background: none;
    border: 1px solid var(--t2w-border, #E5E7EB);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--t2w-text, #374151);
}

.t2w-cal-prev:hover,
.t2w-cal-next:hover {
    background: var(--t2w-bg-hover, #F3F4F6);
}

.t2w-cal-title {
    flex: 1;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: #334155;
}

.t2w-cal-overview {
    background: none;
    border: 1px solid var(--t2w-border, #E5E7EB);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 12px;
    cursor: pointer;
    color: var(--t2w-text-secondary, #6B7280);
}

.t2w-cal-strip {
    display: none; /* v10.6: replaced by .t2w-cal-pill-bar */
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.t2w-cal-day {
    text-align: center;
    padding: 4px 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.t2w-cal-day:hover {
    background: var(--t2w-bg-hover, #F3F4F6);
}

.t2w-cal-day--active {
    background: var(--color-primary);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.t2w-cal-day--active .t2w-cal-day-label,
.t2w-cal-day--active .t2w-cal-day-num {
    color: #fff;
}

.t2w-cal-day--active:hover {
    background: var(--color-primary);
}

.t2w-cal-day--trip {
    background: var(--color-primary-light, #EFF6FF);
}

.t2w-cal-day--trip .t2w-cal-day-label {
    color: var(--color-primary);
}

.t2w-cal-day--trip .t2w-cal-day-num {
    color: #1E40AF;
}

.t2w-cal-day--outside {
    opacity: 0.5;
    color: #94A3B8;
}

.t2w-cal-day-label {
    font-size: 11px;
    font-weight: 600;
    color: #111827;
}

.t2w-cal-day-num {
    font-size: 15px;
    font-weight: 700;
    color: #000000;
}

.t2w-cal-day-daynum {
    font-size: 10px;
    font-weight: 600;
    opacity: 0.8;
}

.t2w-cal-dots {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-top: 1px;
}

.t2w-cal-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.6;
}

/* Weather in calendar chip */
.t2w-cal-weather {
    font-size: 9px;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}
.t2w-cal-weather i { font-size: 8px; }
.t2w-cal-day--active .t2w-cal-weather { color: rgba(255,255,255,0.85); }
.t2w-cal-day--trip .t2w-cal-weather { color: var(--color-primary); }

/* Calendar Setup / Date Picker */
.t2w-cal-setup {
    padding: 24px 16px;
    text-align: center;
}

.t2w-cal-setup-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--t2w-text, #111827);
}

.t2w-cal-setup-section {
    margin-bottom: 20px;
}

.t2w-cal-setup-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--t2w-text-secondary, #6B7280);
    margin-bottom: 8px;
    text-align: left;
}

.t2w-cal-region-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.t2w-cal-region-btn {
    padding: 12px;
    border: 2px solid var(--t2w-border, #E5E7EB);
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.t2w-cal-region-btn:hover {
    border-color: var(--color-primary);
}

.t2w-cal-region-btn.active {
    border-color: var(--color-primary);
    background: var(--color-primary-light, #EFF6FF);
    color: var(--color-primary);
}

.t2w-cal-date-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.t2w-cal-date-input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--t2w-border, #E5E7EB);
    border-radius: 8px;
    font-size: 14px;
}

.t2w-cal-date-sep {
    color: var(--t2w-text-secondary, #6B7280);
    font-size: 16px;
}

.t2w-cal-datepicker-confirm {
    width: 100%;
    padding: 14px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.15s ease;
}

.t2w-cal-datepicker-confirm:hover {
    background: #2563EB;
}

/* ── V5 Main Layout ── */

.t2w-v5-main {
    display: grid;
    grid-template-columns: 3fr 2fr;
    flex: 1 0 auto; /* Grow to fill viewport, but never shrink below content */
}

.t2w-v5-left {
    position: relative;
    z-index: 1;
    border-right: 1px solid var(--t2w-border, #E5E7EB);
    background: var(--t2w-bg-warm, #fcfbf8);
    overflow: visible; /* Natural page scroll, no internal scroll */
}

.t2w-v5-right {
    position: relative;
    top: auto;
    height: auto;
    align-self: stretch;
    z-index: 30;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.t2w-v5-right .t2w-map {
    width: 100%;
    height: 400px;
    min-height: 300px;
    flex-shrink: 0;
    overflow: hidden;
}

/* ── Context Panel (below map) ── */
.t2w-context-panel {
    height: calc(100vh - var(--t2w-header-height, 64px) - 400px);
    padding: 16px;
    overflow-y: auto;
    background: #FAFAFA;
    border-top: 1px solid var(--t2w-border, #E5E7EB);
}

.t2w-ctx-empty {
    text-align: center;
    padding: 32px 16px;
    color: #9CA3AF;
    font-size: 14px;
    line-height: 1.6;
}

.t2w-ctx-header {
    padding: 10px 12px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
}

.t2w-ctx-region-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #111827;
}

.t2w-ctx-emoji {
    font-size: 20px;
    line-height: 1;
}

.t2w-ctx-dday {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(255, 183, 0, 0.1);
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.t2w-ctx-dday--today {
    color: #DC2626;
    background: rgba(220, 38, 38, 0.08);
}

.t2w-ctx-dday--active {
    color: #10B981;
    background: rgba(16, 185, 129, 0.08);
}

.t2w-ctx-season {
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
    padding: 10px 12px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
}

.t2w-ctx-hint {
    text-align: center;
    padding: 16px;
    color: #9CA3AF;
    font-size: 13px;
}

.t2w-ctx-zone-hero {
    height: 140px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 10px;
    overflow: hidden;
}

.t2w-ctx-zone-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

.t2w-ctx-zone-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.t2w-ctx-zone-header {
    padding: 10px 12px;
    font-size: 16px;
    color: #111827;
    margin-bottom: 8px;
}

.t2w-ctx-zone-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 0 12px;
    margin-bottom: 10px;
}

.t2w-ctx-tag {
    font-size: 12px;
    color: #374151;
    background: #F3F4F6;
    padding: 3px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.t2w-ctx-zone-desc {
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
    padding: 10px 12px;
    background: #fff;
    border-radius: 10px;
}

.t2w-ctx-day-summary {
    font-size: 13px;
    color: #374151;
    padding: 10px 12px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 8px;
}

.t2w-ctx-zone-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 0 12px;
}

.t2w-ctx-pill {
    font-size: 11px;
    color: #374151;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    padding: 2px 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.15s;
}

.t2w-ctx-pill:hover {
    background: #DBEAFE;
}

/* v18.1: Context panel mini card hook */
.t2w-ctx-mini-card-hook {
    display: block;
    font-size: 11px;
    line-height: 1.3;
    color: #6B7280;
    font-style: italic;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* v18.1: Context panel polish */
.t2w-ctx-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.t2w-ctx-season {
    font-style: italic;
}
.t2w-ctx-cat-hint {
    background: #FFFBEB;
    padding: 6px 10px;
    border-radius: 8px;
    border-left: 3px solid #F59E0B;
}
.t2w-ctx-mini-card {
    transition: background 0.15s, transform 0.15s;
}
.t2w-ctx-mini-card:hover {
    transform: translateX(2px);
}
.t2w-ctx-place-header {
    font-size: 14px;
    color: #111827;
    padding: 10px 12px;
    font-weight: 600;
}

/* ── v19.1: Enhanced Context Panel ── */

.t2w-ctx-header--enhanced {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.8));
    border-left: 3px solid var(--ctx-accent, var(--color-primary));
}

.t2w-ctx-header-sub {
    font-size: 12px;
    color: #6B7280;
    margin-top: 4px;
    padding-left: 28px;
}

/* Completion Gauge */
.t2w-ctx-gauge-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
}

.t2w-ctx-gauge {
    position: relative;
    width: 88px;
    height: 88px;
    flex-shrink: 0;
}

.t2w-ctx-gauge-ring {
    transition: stroke-dashoffset 0.8s ease;
}

.t2w-ctx-gauge-pct {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}

.t2w-ctx-gauge-steps {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.t2w-ctx-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #9CA3AF;
}

.t2w-ctx-step--done {
    color: #111827;
}

.t2w-ctx-step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E5E7EB;
    flex-shrink: 0;
}

.t2w-ctx-step--done .t2w-ctx-step-dot {
    background: #10B981;
}

.t2w-ctx-step-label {
    line-height: 1;
}

/* Section titles */
.t2w-ctx-section-title {
    font-size: 12px;
    font-weight: 700;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Highlights — horizontal scroll */
.t2w-ctx-highlights {
    padding: 0 12px;
    margin-bottom: 10px;
}

.t2w-ctx-hl-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    -ms-overflow-style: none;
}

.t2w-ctx-hl-scroll::-webkit-scrollbar {
    height: 3px;
}

.t2w-ctx-hl-scroll::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 3px;
}

.t2w-ctx-hl-card {
    flex: 0 0 100px;
    cursor: pointer;
    text-align: center;
}

.t2w-ctx-hl-thumb {
    width: 100px;
    height: 68px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-color: #F3F4F6;
    margin-bottom: 4px;
}

.t2w-ctx-hl-thumb--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D1D5DB;
    font-size: 18px;
}

.t2w-ctx-hl-name {
    display: block;
    font-size: 11px;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Quick actions */
.t2w-ctx-actions {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    margin-bottom: 10px;
}

.t2w-ctx-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 6px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.15s, transform 0.15s;
    white-space: nowrap;
}

.t2w-ctx-action:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.t2w-ctx-action--primary {
    background: var(--color-primary);
    color: #fff;
}

.t2w-ctx-action--gold {
    background: var(--color-primary);
    color: #1F2937;
}

.t2w-ctx-action--outline {
    background: transparent;
    border: 1.5px solid #D1D5DB;
    color: #374151;
}

.t2w-ctx-action i {
    font-size: 11px;
}

/* Smart Tips */
.t2w-ctx-tips {
    padding: 0 12px;
    margin-bottom: 10px;
}

.t2w-ctx-tip-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: #FFFBEB;
    border-left: 3px solid var(--color-primary);
    border-radius: 8px;
    margin-bottom: 6px;
}

.t2w-ctx-tip-icon {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.t2w-ctx-tip-text {
    font-size: 12px;
    color: #374151;
    line-height: 1.5;
}

/* ── Timeline ── */

.t2w-tl {
    padding: 0;
}

.t2w-tl-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--t2w-border, #E5E7EB);
    background: #FAFBFC;
}

.t2w-tl-date {
    font-size: 18px;
    font-weight: 800;
    color: #000000;
}

.t2w-tl-add-zone {
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.t2w-tl-add-zone:hover {
    background: #2563EB;
}

.t2w-tl-body {
    padding: 0 16px 16px;
    position: relative;
}

/* ── Card List Layout (v7.0) ── */

.t2w-card-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 12px 12px 16px 24px;
    position: relative;
    max-width: none; /* v43.3: fill available timeline width */
}
/* v43.3: Tablet — card list full width */
@media (min-width:769px) and (max-width:1024px) {
    .t2w-card-list { max-width: 100%; padding: 10px 10px 16px 20px; }
    .t2w-tl-filters { padding: 6px 12px; }
    .t2w-tl-filter-chip { padding: 5px 10px; font-size: 11px; }
    .t2w-trp-v2 { padding-left: 28px; }
    .t2w-v29-card-header { gap: 4px; }
}
/* v43.3: Mobile — card list reset */
@media (max-width:768px) {
    .t2w-card-list { max-width: 100%; padding: 8px 8px 16px 16px; }
}
/* Timeline spine */
.t2w-card-list::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 24px;
    bottom: 16px;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary) 0%, #FCD34D 60%, transparent 100%);
    border-radius: 1px;
}

/* ── Zone Card ── */

.t2w-zone-card {
    position: relative;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 0 1px rgba(0,0,0,0.1);
    display: flex;
    align-items: stretch;
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    user-select: none;
}
/* Timeline node dot */
.t2w-zone-card::after {
    content: '';
    position: absolute;
    left: -19px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--color-primary);
    z-index: 1;
}

.t2w-zone-card:hover {
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15), 0 2px 6px rgba(0,0,0,0.08);
    border-color: #93C5FD;
    transform: translateY(-1px);
}

/* Mode variants */
.t2w-zone-card--free     { border-left: 5px solid #2563EB; background: linear-gradient(135deg, #EFF6FF, #fff 40%); }
.t2w-zone-card--tour     { border-left: 5px solid #F59E0B; background: linear-gradient(135deg, #FFFBEB, #fff 40%); }
.t2w-zone-card--quote    { border-left: 5px solid #10B981; background: linear-gradient(135deg, #ECFDF5, #fff 40%); }
.t2w-zone-card--pending  { border-left: 5px dashed #9CA3AF; }

/* Drag states */
.t2w-zone-card--dragging {
    opacity: 0.5;
    box-shadow: 0 8px 28px rgba(0,0,0,0.2);
    z-index: 10;
    transform: scale(1.02);
}

.t2w-zone-card--drop-target {
    border: 2px dashed var(--color-primary);
    background: #EFF6FF;
}

/* Grip handle */
.t2w-zone-card-grip {
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    cursor: grab;
    flex-shrink: 0;
    border-right: 1px solid rgba(0,0,0,0.05);
    transition: color 0.2s, background 0.2s;
}

.t2w-zone-card:hover .t2w-zone-card-grip {
    color: var(--color-primary);
    background: rgba(59, 130, 246, 0.04);
}

.t2w-zone-card-grip:active {
    cursor: grabbing;
    background: rgba(59, 130, 246, 0.08);
}

/* Card body */
.t2w-zone-card-body {
    flex: 1;
    padding: 12px 14px;
    min-width: 0;
}

/* Header: name + time + delete */
.t2w-zone-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.t2w-zone-card-name {
    font-size: 16px;
    font-weight: 700;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000000;
}

.t2w-zone-card-name i {
    font-size: 12px;
    margin-right: 5px;
    color: var(--color-primary);
}

.t2w-zone-card-time {
    font-size: 14px;
    color: #1E40AF;
    white-space: nowrap;
    font-weight: 600;
}

/* Meta: duration + mode badge */
.t2w-zone-card-meta {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    align-items: center;
}

.t2w-zone-card-duration {
    font-size: 13px;
    color: #111827;
    font-weight: 600;
}

/* ── Movement Card (inline) ── */

.t2w-movement-card {
    display: flex;
    align-items: center;
    padding: 8px 0;
    position: relative;
}

.t2w-mv-line {
    width: 0;
    height: 0;
    display: none;
}

.t2w-mv-content {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F0F4FF;
    border: 1px solid #BFDBFE;
    border-radius: 10px;
    padding: 10px 16px;
    width: 100%;
}
.t2w-mv-duration {
    font-size: 15px;
    font-weight: 700;
    color: #1E40AF;
}
.t2w-mv-distance {
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 500;
    margin-left: 2px;
}
.t2w-mv-distance::before {
    content: '·';
    margin-right: 4px;
    color: #93C5FD;
}

/* ── Card Add Zone Button (bottom) ── */

.t2w-card-add-zone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    margin-top: 8px;
    border: 2px dashed #D1D5DB;
    border-radius: 12px;
    background: transparent;
    color: #6B7280;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.t2w-card-add-zone:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #EFF6FF;
}

/* AI fallback buttons */
.t2w-ai-fallback-zone,
.t2w-ai-fallback-scratch {
    cursor: pointer;
}

.t2w-tl-empty {
    padding: 40px 16px;
    text-align: center;
    color: var(--t2w-text-secondary, #9CA3AF);
}

.t2w-tl-empty-day {
    text-align: center;
    color: var(--t2w-text-secondary, #9CA3AF);
    padding: 40px 16px;
}

.t2w-tl-empty-day i {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
    color: var(--color-primary);
    opacity: 0.6;
}

.t2w-tl-empty-day p {
    margin: 0 0 12px;
    font-size: 14px;
}

.t2w-tl-add-zone-inline {
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* ── Zone Block (legacy — kept for overview grid compat) ── */

.t2w-zone-block-content {
    flex: 1;
    padding: 8px 10px;
    min-width: 0;
}

.t2w-zone-block-name {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #111827;
}

.t2w-zone-block-name i {
    font-size: 12px;
    margin-right: 5px;
    color: var(--color-primary);
}

.t2w-zone-block-time {
    font-size: 11px;
    color: var(--t2w-text-secondary, #6B7280);
    margin-top: 2px;
}

.t2w-zone-block-mode {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}
.t2w-zone-block--free .t2w-zone-block-mode {
    background: #DBEAFE;
    color: #1D4ED8;
}
.t2w-zone-block--tour .t2w-zone-block-mode {
    background: #FEF3C7;
    color: #B45309;
}
.t2w-zone-block--pending .t2w-zone-block-mode,
.t2w-zone-block-mode {
    background: #F3F4F6;
    color: #6B7280;
}

.t2w-zone-block-places {
    display: inline-block;
    font-size: 10px;
    margin-left: 6px;
    color: var(--color-primary);
}

/* Resize handle removed in v7.0 — card list uses auto-calculated times */

.t2w-zone-block-delete {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(107, 114, 128, 0.08);
    color: #9CA3AF;
    cursor: pointer;
    font-size: 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    z-index: 3;
}

.t2w-zone-card:hover .t2w-zone-block-delete {
    background: rgba(239, 68, 68, 0.08);
    color: #F87171;
}

.t2w-zone-block-delete:hover {
    color: #fff;
    background: #EF4444;
    transform: scale(1.1);
}

/* ── Movement Block (legacy, replaced by .t2w-movement-card in v7.0) ── */

/* ── Slide Panel ── */

/* v8.7: Detail sheet handle (hidden by default, shown in detail mode) */
.t2w-detail-sheet-handle {
    display: none;
}

.t2w-panel {
    position: absolute;
    top: 0;
    right: 100%;
    width: 380px;
    height: 100%;
    background: #fff;
    color: #111827;
    box-shadow: -2px 0 12px rgba(0,0,0,0.1);
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.25s ease;
    z-index: 40;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.t2w-panel.t2w-panel-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* v13.2: Desktop detail mode — cover entire dock column via JS width */
.t2w-panel.t2w-panel--detail {
    width: var(--t2w-detail-width, 520px);
}

.t2w-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--t2w-border, #E5E7EB);
    flex-shrink: 0;
}

.t2w-panel-back,
.t2w-panel-close {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    color: var(--t2w-text, #374151);
}

.t2w-panel-back:hover,
.t2w-panel-close:hover {
    background: var(--t2w-bg-hover, #F3F4F6);
}

.t2w-panel-title {
    flex: 1;
    font-weight: 600;
    font-size: 16px;
}

.t2w-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.t2w-panel-loading {
    text-align: center;
    padding: 40px 16px;
    color: var(--t2w-text-secondary, #6B7280);
}

.t2w-panel-loading i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.t2w-panel-empty {
    text-align: center;
    padding: 40px 16px;
    color: var(--t2w-text-secondary, #9CA3AF);
}

.t2w-panel-empty i {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}

/* Panel Zone Overview (Level 1) */
.t2w-panel-zone-overview {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.t2w-panel-zone-img {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.t2w-panel-zone-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--t2w-text, #374151);
}

.t2w-panel-zone-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--t2w-text-secondary, #6B7280);
}

.t2w-panel-zone-stats span i {
    margin-right: 4px;
}

.t2w-panel-zone-review {
    font-size: 13px;
    color: var(--t2w-text-secondary, #6B7280);
    font-style: italic;
    padding: 8px 12px;
    background: #FAFBFC;
    border-radius: 8px;
    border-left: 3px solid var(--color-primary);
}

/* Panel Mode Buttons */
.t2w-panel-modes h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--t2w-text, #374151);
}

.t2w-panel-mode-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--t2w-border, #E5E7EB);
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
    margin-bottom: 8px;
}

.t2w-panel-mode-btn:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-light, #EFF6FF);
}

.t2w-panel-mode-btn i {
    font-size: 20px;
    color: var(--color-primary);
    width: 24px;
    text-align: center;
}

.t2w-panel-mode-btn span {
    font-weight: 600;
    font-size: 14px;
}

.t2w-panel-mode-btn small {
    display: block;
    font-size: 12px;
    color: var(--t2w-text-secondary, #6B7280);
    font-weight: 400;
}

/* Panel Tour/Place Lists */
.t2w-panel-tour-list,
.t2w-panel-place-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* v32: Hybrid section headers & divider */
.t2w-panel-section-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-primary, #1d180c);
    padding: 12px 0 6px;
}
.t2w-panel-section-header i {
    color: var(--color-primary);
    font-size: 13px;
}
.t2w-panel-section-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--t2w-text-warm-secondary, #7a6f5d);
    background: var(--t2w-bg-warm-soft, #F9F5EE);
    padding: 1px 8px;
    border-radius: 10px;
}
.t2w-panel-section-header--other {
    color: var(--t2w-text-warm-secondary, #7a6f5d);
    font-weight: 600;
}
.t2w-panel-section-divider {
    height: 1px;
    background: var(--t2w-border-warm, #e8e0d0);
    margin: 16px 0 4px;
}

.t2w-panel-tour-card,
.t2w-panel-place-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--t2w-border, #E5E7EB);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.t2w-panel-tour-card:hover,
.t2w-panel-place-card:hover {
    border-color: var(--color-primary);
    background: #FAFBFC;
}

.t2w-panel-tour-img,
.t2w-panel-place-img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: #F3F4F6;
    flex-shrink: 0;
}

.t2w-panel-place-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--t2w-text-secondary, #9CA3AF);
    font-size: 20px;
}

.t2w-panel-tour-body h4,
.t2w-panel-place-body h4 {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.t2w-panel-tour-body small,
.t2w-panel-place-body small {
    font-size: 11px;
    color: var(--t2w-text-secondary, #6B7280);
}

.t2w-panel-tour-price {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    margin-right: 8px;
}

.t2w-panel-tour-vendors {
    font-size: 11px;
    color: var(--t2w-text-secondary, #6B7280);
}

.t2w-panel-place-rating {
    font-size: 11px;
    color: #F59E0B;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.t2w-panel-place-reviews {
    color: #9CA3AF;
    font-size: 10px;
}

.t2w-panel-hidden-gem {
    font-size: 10px;
    background: #FEF3C7;
    color: #92400E;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* Panel Quote */
.t2w-panel-quote {
    text-align: center;
    padding: 20px 16px;
}

.t2w-panel-quote-submit {
    margin-top: 12px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* Panel Zone Picker */
.t2w-panel-zone-picker {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.t2w-panel-zone-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--t2w-border, #E5E7EB);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.t2w-panel-zone-card:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-light, #EFF6FF);
}

.t2w-panel-zone-card-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: #F3F4F6;
    flex-shrink: 0;
}

.t2w-panel-zone-card-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--t2w-text-secondary, #9CA3AF);
    font-size: 24px;
}

.t2w-panel-zone-card-body h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
}

.t2w-panel-zone-card-body p {
    font-size: 12px;
    color: var(--t2w-text-secondary, #6B7280);
    margin: 0;
}

.t2w-panel-zone-card-body small {
    font-size: 11px;
    color: var(--t2w-text-secondary, #9CA3AF);
}

.t2w-panel-zone-card--added {
    border-color: var(--color-primary);
    background: #EFF6FF;
    position: relative;
}

.t2w-panel-zone-card--added::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* ── Cost Bar ── */

.t2w-cost {
    background: #fff;
    border-top: 1px solid var(--t2w-border, #E5E7EB);
    padding: 8px 16px;
    flex-shrink: 0;
}

.t2w-cost-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.t2w-cost-main {
    display: flex;
    align-items: center;
    gap: 8px;
}

.t2w-cost-label {
    font-size: 12px;
    color: var(--t2w-text-secondary, #6B7280);
}

.t2w-cost-total {
    font-size: 16px;
    font-weight: 700;
    color: var(--t2w-text, #111827);
}

.t2w-cost-breakdown {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.t2w-cost-item {
    font-size: 12px;
    font-weight: 500;
}

.t2w-cost-item i {
    margin-right: 4px;
}

/* ── Action Bar (removed in v7.4 — merged into day actions) ── */

/* ── Weather Strip ── */

.t2w-weather {
    display: none;
}

.t2w-weather-strip {
    display: flex;
    overflow-x: auto;
    gap: 4px;
    padding: 6px 16px;
    -webkit-overflow-scrolling: touch;
}

.t2w-weather-strip::-webkit-scrollbar {
    display: none;
}

.t2w-ws-region {
    font-size: 12px;
    color: var(--t2w-text-secondary, #6B7280);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 8px;
}

.t2w-weather-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 8px;
    min-width: 56px;
    border-radius: 6px;
}

.t2w-wd-date {
    font-size: 10px;
    color: var(--t2w-text-secondary, #6B7280);
}

.t2w-wd-icon {
    font-size: 14px;
}

.t2w-wd-temp {
    font-size: 11px;
    font-weight: 500;
}

/* ── Zone Tooltip (Map) ── */

.t2w-zone-tooltip {
    background: rgba(0,0,0,0.75);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
}

/* ── Mobile Responsive (≤768px) ── */

@media (max-width: 768px) {
    .t2w-v5-main {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .t2w-v5-left {
        order: 2;
        border-right: none;
        border-top: 1px solid var(--t2w-border, #E5E7EB);
        overflow: visible;
    }

    .t2w-v5-right {
        order: 1;
        position: relative;
        top: auto;
        height: auto;
        align-self: auto;
        overflow: visible;
        flex-direction: column;
    }

    .t2w-v5-right .t2w-map {
        height: 250px;
        min-height: 200px;
    }

    .t2w-context-panel {
        display: none;
    }

    .t2w-panel {
        position: fixed;
        inset: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
        border-radius: 0;
        transform: translateY(100%);
        opacity: 0;
    }

    .t2w-panel.t2w-panel-open {
        transform: translateY(0);
        opacity: 1;
    }

    /* v8.7: Bottom sheet mode for place detail (mobile) */
    .t2w-panel.t2w-panel--detail.t2w-panel-open {
        top: auto;
        bottom: 0;
        width: 100%;
        height: 60vh;
        border-radius: 16px 16px 0 0;
        transform: translateY(0);
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
        transition: height 0.3s ease, transform 0.3s ease;
    }

    .t2w-panel.t2w-panel--detail.t2w-panel--detail-full.t2w-panel-open {
        height: 92vh;
    }

    .t2w-panel--detail .t2w-detail-sheet-handle {
        display: flex;
        justify-content: center;
        padding: 10px 0 4px;
        cursor: grab;
        flex-shrink: 0;
    }

    .t2w-panel--detail .t2w-detail-sheet-bar {
        width: 40px;
        height: 4px;
        background: #D1D5DB;
        border-radius: 2px;
    }

    .t2w-tl-hour-label {
        width: 32px;
        font-size: 10px;
    }

    .t2w-tl-hour-line {
        left: 38px;
    }

    .t2w-cal-region-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .t2w-cost {
        position: relative;
    }

    /* v9.1: Bottom sheet DISABLED — natural scroll layout */
    .t2w-bs-handle {
        display: none;
    }

    .t2w-v5-left,
    .t2w-v5-left[data-bs-state="collapsed"],
    .t2w-v5-left[data-bs-state="half"],
    .t2w-v5-left[data-bs-state="full"] {
        max-height: none;
        overflow: visible;
        transition: none;
    }
}

/* ── Panel: Category Filter Chips ── */

.t2w-panel-cat-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.t2w-panel-cat-chip {
    padding: 4px 12px;
    border: 1px solid var(--t2w-border, #E5E7EB);
    border-radius: 16px;
    background: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.t2w-panel-cat-chip:hover {
    border-color: var(--color-primary);
}

.t2w-panel-cat-chip.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* Panel: Ticket badge */
.t2w-panel-ticket-badge {
    display: inline-block;
    font-size: 10px;
    background: #E0E7FF;
    color: #3730A3;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 500;
}

/* ── Panel: Tour fallback image ── */

.t2w-panel-tour-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

/* ── Panel: Offerings (Level 3) ── */

.t2w-panel-offerings {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.t2w-panel-off-desc {
    font-size: 13px;
    color: var(--t2w-text, #374151);
    line-height: 1.5;
}

.t2w-panel-off-meta {
    font-size: 12px;
    color: var(--t2w-text-secondary, #6B7280);
}

.t2w-panel-off-heading {
    font-size: 14px;
    font-weight: 600;
    margin: 8px 0 4px;
    color: var(--t2w-text, #374151);
}

/* ── Product Detail (Level 3) ── */

.t2w-product-detail {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.t2w-product-detail .t2w-pd-hero {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.t2w-product-detail .t2w-pd-header h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
}

.t2w-product-detail .t2w-pd-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
}

.t2w-product-detail .t2w-pd-vendor {
    font-size: 13px;
    color: var(--t2w-text-secondary, #6B7280);
    display: flex;
    align-items: center;
    gap: 6px;
}

.t2w-product-detail .t2w-pd-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--t2w-text, #374151);
}

.t2w-product-detail .t2w-pd-section h5 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 6px;
}

.t2w-product-detail .t2w-pd-section ul {
    margin: 0;
    padding-left: 20px;
    font-size: 12px;
    color: var(--t2w-text, #374151);
}

.t2w-product-detail .t2w-pd-section ul li {
    margin-bottom: 2px;
}

.t2w-product-detail .t2w-pd-meta-row {
    font-size: 13px;
    color: var(--t2w-text-secondary, #6B7280);
}

.t2w-pd-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    margin-top: 4px;
}

.t2w-pd-cta-select {
    background: var(--color-primary);
    color: #fff;
}

.t2w-pd-cta-ext {
    background: #10B981;
    color: #fff;
    text-decoration: none;
}

/* ── Place Products in Detail (F9) ── */

.t2w-pd-products-title {
    font-size: 14px;
    font-weight: 600;
    margin: 16px 0 8px;
    color: var(--t2w-text, #374151);
}

.t2w-pd-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

/* ── Panel: Zone Reviews (F10) ── */

.t2w-panel-zone-reviews h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--t2w-text, #374151);
}

.t2w-panel-zone-reviews h4 i {
    margin-right: 4px;
    color: var(--color-primary);
}

/* ── Vendor Row in Panel ── */

.t2w-panel-offerings .t2w-vendor-row {
    padding: 12px;
    border: 1px solid var(--t2w-border, #E5E7EB);
    border-radius: 8px;
}

.t2w-panel-offerings .t2w-vr-select {
    margin-top: 8px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 13px;
    cursor: pointer;
}

/* ── Movement: Transport Mode Toggle (F12) ── */

.t2w-mv-block,
.t2w-movement-card .t2w-mv-content {
    display: flex;
    align-items: center;
    gap: 6px;
}

.t2w-mv-modes {
    display: flex;
    gap: 4px;
}

.t2w-mv-mode {
    background: #fff;
    border: 1.5px solid #D1D5DB;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: #6B7280;
    transition: all 0.15s ease;
}

.t2w-mv-mode:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: #EFF6FF;
}

.t2w-mv-mode--active {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 2px 6px rgba(59,130,246,0.3);
}

.t2w-mv-info {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

/* ── v11.4: Movement affordance ── */

.t2w-mv-header {
    font-size: 10px;
    color: #9CA3AF;
    font-style: italic;
    width: 100%;
    margin-bottom: 2px;
}

.t2w-mv-mode-label {
    font-size: 11px;
    margin-left: 4px;
    font-weight: 600;
}

.t2w-movement-card .t2w-mv-content {
    flex-wrap: wrap;
}

.t2w-mv-modes {
    gap: 8px;
}

.t2w-mv-mode--active {
    border-radius: 16px;
    padding: 0 12px;
    width: auto;
    min-width: 34px;
}

/* ── v11.4: Duration Stepper ── */

.t2w-zone-dur-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    background: #F9FAFB;
}

.t2w-dur-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #6B7280;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    padding: 0;
    line-height: 1;
}

.t2w-dur-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

.t2w-dur-value {
    font-size: 12px;
    color: #374151;
    padding: 0 6px;
    white-space: nowrap;
    border-left: 1px solid #E5E7EB;
    border-right: 1px solid #E5E7EB;
}

/* ── v11.4: Dock food hint ── */

.t2w-dock-food-hint {
    font-size: 12px;
    color: #9CA3AF;
    padding: 6px 12px 4px;
    line-height: 1.4;
}

.t2w-dock-food-hint i {
    color: #60A5FA;
    margin-right: 4px;
}

/* ── v11.4: Food maps link ── */

.t2w-food-maps-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--t2w-blue, #3B82F6);
    text-decoration: none;
    padding: 2px 0;
    margin-top: 4px;
    transition: color 0.15s;
}

.t2w-food-maps-link:hover {
    color: #2563EB;
}

.t2w-food-maps-link i {
    font-size: 10px;
}

/* ── v11.5: Place Duration Stepper ── */

.t2w-place-dur-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    overflow: hidden;
    background: #F9FAFB;
    flex-shrink: 0;
    margin-left: auto;
}

.t2w-place-dur-btn {
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    color: #9CA3AF;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    padding: 0;
    line-height: 1;
}

.t2w-place-dur-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

.t2w-place-dur-val {
    font-size: 11px;
    color: #374151;
    padding: 0 4px;
    white-space: nowrap;
    border-left: 1px solid #E5E7EB;
    border-right: 1px solid #E5E7EB;
    min-width: 36px;
    text-align: center;
}

/* v11.5: Collapsed gap — tap to expand all 3 modes */
.t2w-pg-collapsed {
    color: #9CA3AF;
    cursor: pointer;
    padding: 4px 8px;
    margin: 2px 0;
    transition: all 0.15s;
    font-size: 12px;
}

.t2w-pg-collapsed:hover {
    color: var(--color-primary);
}

/* v11.5: Expanded gap — show all 3 modes inline */
.t2w-zb-place-gap.t2w-pg-expanded {
    flex-wrap: wrap;
    padding: 6px 8px;
    margin: 2px 0;
    background: #F3F4F6;
    border-radius: 8px;
    cursor: pointer;
}

.t2w-pg-modes {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.t2w-pg-mode {
    font-size: 12px;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
}

.t2w-pg-mode i {
    color: #6B7280;
    margin-right: 2px;
}

.t2w-pg-dist {
    font-size: 11px;
    color: #9CA3AF;
    width: 100%;
    text-align: center;
    margin-top: 2px;
}

/* ── Mobile: Place stepper (v11.5) ── */
@media (max-width: 768px) {
    .t2w-place-dur-stepper {
        margin-left: 4px;
    }
    .t2w-place-dur-val {
        font-size: 10px;
        min-width: 30px;
        padding: 0 2px;
    }
    .t2w-place-dur-btn {
        width: 20px;
        height: 20px;
    }
}

/* ── Completion Gauge (F14) ── */

.t2w-gauge {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 0 4px;
}

.t2w-gauge-bar {
    flex: 1;
    height: 4px;
    background: #E5E7EB;
    border-radius: 2px;
    overflow: hidden;
    max-width: 120px;
}

.t2w-gauge-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.t2w-gauge--good .t2w-gauge-fill { background: #10B981; }
.t2w-gauge--mid .t2w-gauge-fill { background: #F59E0B; }
.t2w-gauge--low .t2w-gauge-fill { background: #EF4444; }

.t2w-gauge-label {
    font-size: 13px;
    color: #111827;
    font-weight: 600;
    white-space: nowrap;
}

.t2w-gauge-text {
    font-size: 14px;
    font-weight: 700;
    min-width: 30px;
}

.t2w-gauge--good .t2w-gauge-text { color: #10B981; }
.t2w-gauge--mid .t2w-gauge-text { color: #F59E0B; }
.t2w-gauge--low .t2w-gauge-text { color: #EF4444; }

.t2w-gauge-tip {
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

/* ── Template Cards (F11) ── */

.t2w-tl-templates {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.t2w-tl-tpl-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--t2w-text-secondary, #6B7280);
    margin: 8px 0 4px;
    width: 100%;
    text-align: center;
}

.t2w-tl-tpl-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid var(--t2w-border, #E5E7EB);
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
    font-size: 13px;
    flex: 0 0 auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.t2w-tl-tpl-card:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-light, #EFF6FF);
}

.t2w-tl-tpl-card i {
    color: var(--color-primary);
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.t2w-tl-tpl-card span {
    font-weight: 500;
    flex: 1;
}

.t2w-tl-tpl-card small {
    font-size: 11px;
    color: var(--t2w-text-secondary, #6B7280);
    white-space: nowrap;
}

/* ── Panel: Zone Quote Form (F15) ── */

.t2w-panel-quote {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 4px 0;
}

.t2w-panel-quote-zone {
    font-size: 14px;
    padding: 10px 12px;
    background: #FAFBFC;
    border-radius: 8px;
    border-left: 3px solid var(--color-primary);
}

.t2w-panel-quote-zone span {
    font-size: 12px;
    color: var(--t2w-text-secondary, #6B7280);
}

.t2w-panel-quote-desc {
    font-size: 13px;
    color: var(--t2w-text-secondary, #6B7280);
    text-align: center;
}

.t2w-panel-quote-types {
    display: flex;
    gap: 8px;
}

.t2w-panel-quote-type {
    flex: 1;
    padding: 10px 8px;
    border: 1px solid var(--t2w-border, #E5E7EB);
    border-radius: 8px;
    background: #fff;
    font-size: 12px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
}

.t2w-panel-quote-type:hover {
    border-color: var(--color-primary);
}

.t2w-panel-quote-type.active {
    border-color: var(--color-primary);
    background: var(--color-primary-light, #EFF6FF);
    color: var(--color-primary);
}

.t2w-panel-quote-type i {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.t2w-panel-quote-submit {
    margin-top: 4px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ── Season Banner (F16) ── */

.t2w-panel-season-banner {
    padding: 8px 12px;
    background: linear-gradient(135deg, #FEF3C7, #FEFCE8);
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 8px;
}

.t2w-panel-season-banner i {
    color: #D97706;
}

.t2w-panel-zone-card--recommended {
    border-color: #10B981;
    background: #ECFDF5;
}

.t2w-season-badge {
    display: inline-block;
    font-size: 10px;
    background: #D1FAE5;
    color: #065F46;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 4px;
}

/* ========================================
   DRAG REORDER (v5.2)
   ======================================== */

.t2w-zone-block--drop-target {
    outline: 2px dashed var(--color-primary);
    outline-offset: 2px;
    opacity: 0.7;
    transition: outline 0.15s, opacity 0.15s;
}

.t2w-zone-block-drag {
    touch-action: none;
}

.t2w-zone-block--dragging {
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    opacity: 0.9;
}

/* ========================================
   OVERVIEW GRID (v5.2)
   ======================================== */

.t2w-ov-grid {
    display: grid;
    gap: 1px;
    background: #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
}

.t2w-ov-corner {
    background: #F9FAFB;
    padding: 8px;
}

.t2w-ov-header {
    background: #F3F4F6;
    padding: 8px 6px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: #374151;
    cursor: pointer;
}

.t2w-ov-header:hover {
    background: #E5E7EB;
}

.t2w-ov-slot-label {
    background: #F9FAFB;
    padding: 10px 8px;
    font-size: 12px;
    font-weight: 500;
    color: #6B7280;
    text-align: center;
}

.t2w-ov-cell {
    background: #fff;
    padding: 6px;
    min-height: 52px;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.t2w-ov-cell:hover {
    background: #F0F9FF;
}

.t2w-ov-zone-card {
    font-size: 11px;
    padding: 4px 6px;
    background: #EFF6FF;
    border-radius: 4px;
    color: #1E40AF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: background 0.15s;
}

.t2w-ov-zone-card:hover {
    background: #DBEAFE;
}

.t2w-ov-zone-card i {
    font-size: 10px;
    margin-right: 2px;
}

.t2w-ov-add {
    border: 1px dashed #D1D5DB;
    background: none;
    color: #9CA3AF;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    width: 100%;
    transition: color 0.15s, border-color 0.15s;
}

.t2w-ov-add:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.t2w-ov-accom {
    font-size: 10px;
    color: #06B6D4;
    text-align: center;
}

@media (max-width: 480px) {
    .t2w-ov-grid {
        font-size: 10px;
    }
    .t2w-ov-zone-card {
        font-size: 10px;
        padding: 2px 4px;
    }
}

/* ========================================
   ACCOMMODATION CARD (v5.3)
   ======================================== */

.t2w-accom-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, #F0FDFA 0%, #ECFDF5 100%);
    border: 1px solid #A7F3D0;
    border-radius: 10px;
    padding: 14px;
    margin-top: 16px;
    position: relative;
}

.t2w-accom-dismiss {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    font-size: 12px;
    padding: 4px;
}

.t2w-accom-dismiss:hover {
    color: #6B7280;
}

.t2w-accom-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #06B6D4;
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.t2w-accom-body {
    flex: 1;
    min-width: 0;
}

.t2w-accom-title {
    font-size: 13px;
    font-weight: 600;
    color: #065F46;
    margin-bottom: 4px;
}

.t2w-accom-area {
    font-size: 12px;
    color: #374151;
    margin-bottom: 2px;
}

.t2w-accom-area i {
    color: #06B6D4;
    margin-right: 4px;
}

.t2w-accom-price {
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 8px;
}

.t2w-accom-cta {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    background: #06B6D4;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s;
}

.t2w-accom-cta:hover {
    background: #0891B2;
    color: #fff;
}

/* ========================================
   AI COURSE (v5.4)
   ======================================== */

.t2w-ai-course-btn {
    display: block;
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
}

.t2w-ai-course-btn:hover {
    opacity: 0.9;
}

.t2w-ai-course-btn i {
    margin-right: 6px;
}

.t2w-ai-course-header {
    margin-bottom: 12px;
}

.t2w-ai-course-badge {
    display: inline-block;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 6px;
}

.t2w-ai-course-badge i {
    margin-right: 4px;
}

.t2w-ai-course-summary {
    font-size: 13px;
    color: #4B5563;
    margin: 0;
}

.t2w-ai-course-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.t2w-ai-course-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #F9FAFB;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
}

.t2w-ai-course-item:hover {
    background: #EFF6FF;
}

.t2w-ai-course-order {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: #6366F1;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.t2w-ai-course-img {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    background-color: #E5E7EB;
}

.t2w-ai-course-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
}

.t2w-ai-course-body {
    flex: 1;
    min-width: 0;
}

.t2w-ai-course-body h5 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 2px;
    color: #111827;
}

.t2w-ai-course-time {
    font-size: 11px;
    color: #6B7280;
}

.t2w-ai-course-tip {
    font-size: 11px;
    color: #7C3AED;
    margin: 2px 0 0;
}

.t2w-ai-course-tip i {
    color: #F59E0B;
    margin-right: 4px;
}

.t2w-ai-course-rating {
    font-size: 11px;
    color: #F59E0B;
    margin-left: 8px;
}

.t2w-ai-course-apply {
    display: block;
    width: 100%;
    padding: 10px;
    background: #10B981;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.t2w-ai-course-apply:hover {
    background: #059669;
}

.t2w-ai-course-apply i {
    margin-right: 6px;
}

/* Desktop: hide bottom sheet handle */
@media (min-width: 769px) {
    .t2w-bs-handle {
        display: none;
    }
}

/* ========================================
   UX IMPROVEMENTS (v5.6)
   ======================================== */

/* Time preview tooltip during drag/resize */
.t2w-zone-time-preview {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: #1F2937;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    z-index: 200;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.t2w-zone-time-preview::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #1F2937;
    transform: translateX(-50%) rotate(45deg);
}

/* Resizing state: resize handle active */
.t2w-zone-block--resizing .t2w-zone-block-resize::after {
    background: #2563EB;
    width: 60px;
}

/* ── Place card redesign v8.1 ── */
.t2w-panel-place-card {
    min-height: 72px;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
}
.t2w-panel-place-card:hover {
    border-color: #BFDBFE;
    background: #F8FAFC;
}
.t2w-panel-place-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
}
.t2w-panel-place-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.t2w-panel-place-body h4 {
    font-size: 13.5px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #1F2937;
}
.t2w-panel-place-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}
.t2w-panel-place-cat {
    font-size: 11px;
    color: #6B7280;
}
.t2w-panel-place-badges {
    display: flex;
    gap: 4px;
    margin-top: 1px;
}

/* v8.7 Enriched card: description + info tags */
.t2w-panel-place-desc {
    font-size: 11px;
    color: #6B7280;
    margin: 3px 0 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.t2w-panel-place-tags {
    display: flex;
    gap: 4px;
    margin-top: 3px;
    flex-wrap: wrap;
}
.t2w-panel-place-tag {
    font-size: 10px;
    color: #374151;
    background: #F3F4F6;
    padding: 1px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}
.t2w-panel-place-tag i {
    font-size: 9px;
    color: #9CA3AF;
}
.t2w-panel-place-tag--price {
    background: #FEF3C7;
    color: #92400E;
    font-weight: 600;
}

/* Selected place card */
.t2w-panel-place--selected {
    border-color: #93C5FD;
    background: #EFF6FF;
    border-left: 3px solid #3B82F6;
}

/* Place card actions: add + info */
.t2w-panel-place-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.t2w-panel-place-add {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid #D1D5DB;
    background: #fff;
    color: #9CA3AF;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}
.t2w-panel-place-add:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #EFF6FF;
}
.t2w-panel-place--selected .t2w-panel-place-add {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}
.t2w-panel-place-info {
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    color: #374151;
    padding: 4px 10px;
    transition: all 0.15s;
    white-space: nowrap;
}
.t2w-panel-place-info:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: #EFF6FF;
}

/* Place detail: select CTA button */
.t2w-pd-select-cta {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 16px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    text-align: center;
}

.t2w-pd-select-cta:hover {
    background: #2563EB;
}

.t2w-pd-select-cta--selected {
    background: #E5E7EB;
    color: #6B7280;
}

.t2w-pd-select-cta--selected:hover {
    background: #D1D5DB;
}

/* Zone block: selected places display */
.t2w-zone-block-places {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 4px;
    align-items: center;
}

.t2w-zone-block-places-count {
    font-size: 11px;
    font-weight: 600;
    color: #2563EB;
    margin-right: 2px;
}

.t2w-zone-block-place-tag {
    display: inline-block;
    font-size: 10px;
    padding: 1px 6px;
    background: rgba(37, 99, 235, 0.1);
    color: #1E40AF;
    border-radius: 10px;
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.t2w-zone-block-place-more {
    font-size: 10px;
    color: #6B7280;
    font-weight: 500;
}

/* Zone block mode colors — via parent border-left (4px at .t2w-zone-block level) */

/* ── Zone Block Interaction Hint (one-time) ── */
.t2w-block-hint {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #1F2937;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.6;
    white-space: nowrap;
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.t2w-block-hint--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.t2w-block-hint::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #1F2937;
}

.t2w-block-hint-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.t2w-block-hint-row i {
    width: 16px;
    text-align: center;
    color: #60A5FA;
}

.t2w-block-hint-row b {
    color: #60A5FA;
}

/* ── Drop target highlight ── */
.t2w-zone-block--drop-target {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

/* ========================================
   DESKTOP UX IMPROVEMENTS (v5.7)
   ======================================== */

/* ── Panel Backdrop Dimming (over itinerary area) ── */
.t2w-v5-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 35;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.t2w-v5-left.has-panel-open::before {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

/* ── Zone Block Hover Highlight (map interaction) ── */
.t2w-zone-block--map-hover {
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25), 0 2px 6px rgba(0,0,0,0.08);
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

/* ── Tablet Responsive (769px–1024px) ── */
@media (min-width: 769px) and (max-width: 1024px) {
    .t2w-v5-main {
        grid-template-columns: 3fr 2fr;
    }

    .t2w-panel {
        width: 340px;
    }

    .t2w-zone-card-body {
        padding: 10px 12px;
    }

    .t2w-zone-card-name {
        font-size: 12px;
    }

    .t2w-zone-card-time {
        font-size: 10px;
    }

    .t2w-tl-header {
        padding: 10px 12px;
    }
}

/* ── Large Desktop (≥1400px) ── */
@media (min-width: 1400px) {
    .t2w-v5-main {
        grid-template-columns: 3fr 2fr;
    }

    .t2w-panel {
        width: 420px;
    }

    .t2w-zone-card-body {
        padding: 12px 16px;
    }

    .t2w-zone-card-name {
        font-size: 15px;
    }

    .t2w-tl-header {
        padding: 14px 20px;
    }

    .t2w-tl-date {
        font-size: 15px;
    }
}

/* ── Empty State Enhancement ── */
.t2w-tl-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t2w-tl-empty-icon i {
    font-size: 32px;
    color: var(--color-primary);
    margin: 0;
    opacity: 1;
}

.t2w-tl-empty-day h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px;
}

.t2w-tl-empty-day p {
    font-size: 14px;
    color: #6B7280;
    margin: 0 0 16px;
}

.t2w-tl-empty-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    max-width: 220px;
    margin: 0 auto 16px;
}

.t2w-tl-empty-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #374151;
}

.t2w-tl-empty-step-num {
    width: 22px;
    height: 22px;
    background: #DBEAFE;
    color: #2563EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   v5.8 Zone Block Redesign — Time Input, Sub-Timeline, Add Button
   ══════════════════════════════════════════════ */

/* v7.0 — Zone card inherits grab cursor from .t2w-zone-card */

/* Tour mode — different numbering color (v7 uses .t2w-zone-card--tour) */
.t2w-zone-card--tour .t2w-zb-place-num {
    background: #F59E0B;
}

/* "장소 추가" button — secondary solid (v8.2) */
.t2w-zb-add-place {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border: 1.5px solid #D1D5DB;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
    width: 100%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    letter-spacing: 0;
}
.t2w-zb-add-place i {
    color: var(--color-primary);
}
.t2w-zb-add-place:hover {
    background: #EFF6FF;
    border-color: var(--color-primary);
    color: #2563EB;
}
.t2w-zb-add-place:active {
    background: #DBEAFE;
}
.t2w-zb-add-place i {
    font-size: 11px;
}

/* ── Place Sub-Timeline ── */
.t2w-zb-places {
    margin: 6px 0 4px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.t2w-zb-place-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    min-height: 32px;
    cursor: default;
    transition: background 0.1s;
}

.t2w-zb-place-thumb {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    background-color: #E5E7EB;
    flex-shrink: 0;
}
.t2w-zb-place-row:hover {
    background: rgba(255, 255, 255, 0.85);
}

.t2w-zb-place-num {
    width: 18px;
    height: 18px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.t2w-zb-place-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
}

.t2w-zb-place-time {
    color: #374151;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.t2w-zb-place-remove {
    width: 26px;
    height: 26px;
    border: none;
    background: rgba(156, 163, 175, 0.15);
    color: #6B7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
    flex-shrink: 0;
    transition: all 0.15s;
    padding: 0;
}
.t2w-zb-place-remove:hover {
    color: #fff;
    background: #EF4444;
    transform: scale(1.15);
}

/* Mini travel time gap between places */
.t2w-zb-place-gap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #4B5563;
    font-size: 13px;
    padding: 6px 0;
    font-weight: 600;
}
.t2w-zb-place-gap i {
    font-size: 16px;
    color: #6B7280;
}

/* ── Responsive: Mobile (v7.0 card list) ── */
@media (max-width: 768px) {
    .t2w-zb-place-name {
        max-width: 100px;
    }
    .t2w-zb-place-time {
        display: none;
    }
    .t2w-zone-card-body {
        padding: 8px 10px;
    }
}

/* ── Responsive: Large desktop (v7.0) ── */
@media (min-width: 1400px) {
    .t2w-zb-place-row {
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* ══════════════════════════════════════════════
   v5.9 Map Integration — Radar Ghost Markers
   ══════════════════════════════════════════════ */

.t2w-marker-radar-ghost {
    background: transparent;
    border: none;
}
.t2w-marker-radar-ghost-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(107, 114, 128, 0.35);
    border: 1.5px solid rgba(107, 114, 128, 0.5);
    transition: all 0.2s;
}
.t2w-marker-radar-ghost:hover .t2w-marker-radar-ghost-dot {
    background: rgba(59, 130, 246, 0.5);
    border-color: var(--color-primary);
    transform: scale(1.4);
}

/* ══════════════════════════════════════════════
   v6.0 Day Action Bar + Quote Scope Selector
   ══════════════════════════════════════════════ */

/* v28: Day overview info strip */
.t2w-day-overview {
    display: flex;
    gap: 6px;
    padding: 8px 0;
    flex-wrap: wrap;
}
.t2w-day-ov-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--t2w-text-sec, #5c5c5c);
    background: var(--t2w-bg-card, #F9FAFB);
    padding: 4px 10px;
    border-radius: 6px;
}
.t2w-day-ov-chip i { font-size: 10px; color: #9CA3AF; }
.t2w-day-ov-chip--focus {
    background: #FEF3C7;
    color: #92400E;
}

/* v28: Day action bar — icon buttons */
.t2w-day-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    margin-top: 4px;
}

.t2w-day-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--t2w-border, #E5E7EB);
    border-radius: var(--radius-md, 0.5rem);
    background: var(--color-white, #fff);
    color: #374151;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all var(--t2w-transition, 0.2s);
}

.t2w-day-action-btn span {
    font-size: 13px;
}

.t2w-day-action-btn:hover {
    color: var(--t2w-blue, #3B82F6);
    border-color: #93C5FD;
    background: #EFF6FF;
}

.t2w-day-action-btn[data-action="quote"] {
    border-color: #FCD34D;
    color: #92400E;
    background: #FFFBEB;
}

.t2w-day-action-btn[data-action="quote"]:hover {
    border-color: #F59E0B;
    background: #FEF3C7;
    color: #78350F;
}

/* Quote scope — day-zone nested checkboxes */
.t2w-qf-scope {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 12px;
    background: #F9FAFB;
}
.t2w-qf-scope-day {
    margin-bottom: 6px;
}
.t2w-qf-scope-day:last-child {
    margin-bottom: 0;
}
.t2w-qf-day-check {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
    padding: 4px 0;
}
.t2w-qf-day-check input[type="checkbox"] {
    accent-color: var(--color-primary);
    width: 16px;
    height: 16px;
}
.t2w-qf-scope-zones {
    padding-left: 24px;
    margin-top: 2px;
}
.t2w-qf-zone-check {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 12px;
    color: #4B5563;
    padding: 2px 0;
}
.t2w-qf-zone-check input[type="checkbox"] {
    accent-color: var(--color-primary);
    width: 14px;
    height: 14px;
}
.t2w-qf-zone-time {
    color: #9CA3AF;
    font-size: 11px;
    margin-left: 4px;
}

@media (max-width: 768px) {
    .t2w-day-action-btn {
        padding: 5px 8px;
        font-size: 12px;
    }
    .t2w-day-actions {
        gap: 4px;
    }
    .t2w-zb-add-place {
        padding: 7px 10px;
        font-size: 11px;
    }
    .t2w-zone-block-delete {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
}

/* ══════════════════════════════════════════════
   v7.2 Responsive Stabilization
   ══════════════════════════════════════════════ */

/* Mobile (≤768px) */
@media (max-width: 768px) {
    .t2w-movement-card {
        padding: 4px 0;
    }
    .t2w-card-list {
        padding: 8px 8px 16px 20px;
    }
    .t2w-card-list::before {
        left: 8px;
    }
    .t2w-zone-card::after {
        left: -16px;
        width: 8px;
        height: 8px;
    }
    .t2w-card-add-zone {
        padding: 10px;
        font-size: 13px;
    }
}

/* Tablet (769–1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .t2w-movement-card {
        padding: 4px 0;
    }
}

/* Desktop (≥1025px) */
@media (min-width: 1025px) {
    .t2w-card-list {
        padding: 12px 16px 16px 28px;
    }
}

/* ========================================
   v7.3 — Zone Card Enhancements
   ======================================== */

/* FIX 3: Zone card thumbnail */
.t2w-zone-card-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.t2w-zone-card-thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}
.t2w-zone-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}
.t2w-zone-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* FIX 3: Place count badge */
.t2w-zone-card-places {
    display: inline-flex;
    align-items: center;
    background: #EFF6FF;
    color: #2563EB;
    font-size: 13px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
}

/* FIX 3: Rating badge */
.t2w-zone-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #D97706;
    font-size: 13px;
    font-weight: 600;
    margin-left: 6px;
}
.t2w-zone-card-rating .fa-star {
    font-size: 11px;
}

/* FIX 3: Zone description (empty zones) */
.t2w-zone-card-desc {
    font-size: 13px;
    font-style: italic;
    color: #9CA3AF;
    padding: 4px 0 0;
    line-height: 1.4;
}

/* FIX 4: Map→Timeline pulse highlight */
.t2w-zone-card--map-highlight {
    animation: t2w-map-pulse 0.5s ease-in-out 3;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
    border-radius: 12px;
}
@keyframes t2w-map-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
    50% { box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.35); }
}

/* FIX 2: Grip wiggle hint */
.t2w-zone-card-grip--hint {
    animation: t2w-grip-wiggle 0.4s ease-in-out 3;
}
@keyframes t2w-grip-wiggle {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

/* FIX 2: Mobile grip 44px touch target */
@media (max-width: 768px) {
    .t2w-zone-card-grip {
        width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ══════════════════════════════════════════════
   v7.4 State → Region → Zone Picker
   ══════════════════════════════════════════════ */

.t2w-picker-hint {
    font-size: 13px;
    color: #6B7280;
    margin: 0 0 12px;
    padding: 0 4px;
}

/* State card */
.t2w-picker-state-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #E5E7EB;
    cursor: pointer;
    transition: all 0.15s;
}
.t2w-picker-state-card:hover {
    border-color: #93C5FD;
    box-shadow: 0 2px 8px rgba(59,130,246,0.1);
    transform: translateY(-1px);
}
.t2w-picker-state-card--current {
    border-color: var(--color-primary);
    background: #EFF6FF;
}
.t2w-picker-state-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--color-primary);
    flex-shrink: 0;
}
.t2w-picker-state-card--current .t2w-picker-state-icon {
    background: #DBEAFE;
}
.t2w-picker-state-info {
    flex: 1;
    min-width: 0;
}
.t2w-picker-state-info strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}
.t2w-picker-state-info span {
    font-size: 13px;
    color: #6B7280;
}
.t2w-picker-state-info small {
    display: block;
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 2px;
}
.t2w-picker-arrow {
    color: #9CA3AF;
    font-size: 12px;
    flex-shrink: 0;
}

/* Region card */
.t2w-picker-region-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #E5E7EB;
    cursor: pointer;
    transition: all 0.15s;
}
.t2w-picker-region-card:hover {
    border-color: #93C5FD;
    box-shadow: 0 2px 8px rgba(59,130,246,0.1);
    transform: translateY(-1px);
}
.t2w-picker-region-card--current {
    border-color: var(--color-primary);
    background: #EFF6FF;
}
.t2w-picker-region-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--color-primary);
    flex-shrink: 0;
}
.t2w-picker-region-card--current .t2w-picker-region-icon {
    background: #DBEAFE;
}
.t2w-picker-region-info {
    flex: 1;
}
.t2w-picker-region-info strong {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}


/* ===================================================================
 * IP Bridge (2026-04-19): Timeline place-card product badge
 * Rendered by timeline.js _renderProductBadge() — async hydrated.
 * =================================================================== */

.t2w-place-products {
    margin-top: 8px;
}

.t2w-place-product-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: linear-gradient(135deg, rgba(255, 183, 0, 0.08), rgba(255, 183, 0, 0.03));
    border: 1px solid rgba(255, 183, 0, 0.25);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
    outline: none;
}

.t2w-place-product-badge:hover,
.t2w-place-product-badge:focus-visible {
    background: linear-gradient(135deg, rgba(255, 183, 0, 0.14), rgba(255, 183, 0, 0.06));
    border-color: rgba(255, 183, 0, 0.5);
    transform: translateY(-1px);
}

.t2w-ppb-icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 183, 0, 0.18);
    color: #B45309;
}

.t2w-ppb-icon .material-symbols-outlined {
    font-size: 20px;
}

.t2w-ppb-body {
    flex: 1 1 auto;
    min-width: 0;
}

.t2w-ppb-top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.t2w-ppb-label {
    font-size: 11px;
    font-weight: 600;
    color: #B45309;
    letter-spacing: 0.2px;
}

.t2w-ppb-more {
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background: #FFB700;
    padding: 1px 6px;
    border-radius: 8px;
    line-height: 1.3;
}

.t2w-ppb-title {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.t2w-ppb-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: #6B7280;
    flex-wrap: wrap;
}

.t2w-ppb-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #F59E0B;
    font-weight: 600;
}

.t2w-ppb-rating .material-symbols-outlined {
    font-size: 13px;
}

.t2w-ppb-dur {
    color: #6B7280;
}

.t2w-ppb-price {
    color: #111827;
    font-weight: 700;
    margin-left: auto;
}

.t2w-ppb-chevron {
    flex: 0 0 auto;
    font-size: 18px;
    color: #9CA3AF;
}

/* Mobile: keep compact */
@media (max-width: 768px) {
    .t2w-place-product-badge {
        padding: 8px 10px;
        gap: 8px;
    }
    .t2w-ppb-icon {
        width: 28px;
        height: 28px;
    }
    .t2w-ppb-title {
        font-size: 12px;
    }
}
