/**
 * Travel Planner V2 - Styles
 *
 * Layout: 2-Column (Desktop) + Bottom Sheet (Mobile)
 * Design tokens: uses var(--t2w-*) from variables.css
 *
 * @package Trip2Where
 * @since 2.0.0
 */

/* ========================================
   1. LAYOUT & CONTAINER
   ======================================== */

.t2w-planner-v2 {
    --v2-left-width: 420px;
    --v2-topbar-height: 56px;
    --v2-bottombar-height: 64px;
    --v2-gap: 16px;
    --v2-radius: 12px;

    /* v8.6 Light theme — Gold accent */
    --t2w-primary: #FFB700;
    --t2w-primary-light: rgba(255, 183, 0, 0.08);
    --t2w-text: #111827;
    --t2w-text-secondary: #6B7280;
    --t2w-bg: #FFFFFF;
    --t2w-bg-card: #F9FAFB;
    --t2w-bg-elevated: #F3F4F6;
    --t2w-border: #E5E7EB;
    --t2w-blue: #3B82F6;

    position: relative;
    width: 100%;
    min-height: calc(100vh - var(--t2w-header-height, 64px));
    display: flex;
    flex-direction: column;
    overflow: visible;
    background: var(--t2w-bg, #FFFFFF);
    font-family: var(--font-primary, 'Pretendard', sans-serif);
}

/* === App Mode: hide site chrome, allow natural scroll === */
body:has(.travel-planner-page) {
    overflow: visible;
}

/* Footer visible in planner (continuous scroll layout) */

.site-container:has(.travel-planner-page),
.site-content:has(.travel-planner-page),
.container:has(.travel-planner-page) {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: visible;
}

.travel-planner-page {
    padding: 0;
    height: auto;
    overflow: visible;
}

/* Top Bar */
.t2w-v2-topbar {
    display: flex;
    align-items: center;
    gap: var(--v2-gap);
    padding: 12px 20px;
    background: #fff;
    border-bottom: 1px solid var(--color-border, #E5E7EB);
    position: sticky;
    top: 0;
    z-index: 100;
}

.t2w-v2-search {
    position: relative;
    flex: 1;
    max-width: 280px;
}

.t2w-v2-search i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    font-size: 13px;
}

.t2w-v2-search input {
    width: 100%;
    padding: 8px 12px 8px 32px;
    border: 1px solid var(--color-border, #E5E7EB);
    border-radius: 8px;
    font-size: 13px;
    background: var(--color-neutral-warm, #F8F6F0);
    transition: border-color 0.2s;
}

.t2w-v2-search input:focus {
    outline: none;
    border-color: var(--t2w-gold, #D4A843);
    background: #fff;
}

/* Search clear button */
.t2w-search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #9CA3AF;
    font-size: 12px;
    padding: 4px;
    line-height: 1;
    border-radius: 50%;
    transition: color 0.2s;
}

.t2w-search-clear:hover {
    color: #EF4444;
}

.t2w-v2-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

/* Main 2-Column Layout */
.t2w-v2-main {
    display: grid;
    grid-template-columns: var(--v2-left-width) 1fr;
    gap: 0;
}

.t2w-v2-left {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-right: 1px solid var(--color-border, #E5E7EB);
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
    align-self: start;
}

.t2w-v2-right {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Bottom Bar — mobile only */
.t2w-v2-bottom-bar {
    display: none;
}

/* ========================================
   ITINERARY ACTION BAR
   ======================================== */

.t2w-itinerary-actions {
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.t2w-action-item {
    padding: 8px 12px;
    background: #F9FAFB;
    border-radius: 8px;
}

.t2w-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.t2w-action-btn i {
    font-size: 15px;
    color: #6B7280;
    transition: color 0.2s;
}

.t2w-action-btn:hover:not([disabled]) {
    border-color: var(--color-primary, #3B82F6);
    color: var(--color-primary, #3B82F6);
    background: #EFF6FF;
}

.t2w-action-btn:hover:not([disabled]) i {
    color: var(--color-primary, #3B82F6);
}

.t2w-action-btn.active {
    background: var(--color-primary, #3B82F6);
    color: #fff;
    border-color: var(--color-primary, #3B82F6);
}

.t2w-action-btn.active i {
    color: #fff;
}

.t2w-action-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.t2w-action-hint {
    margin: 6px 0 0;
    padding: 0 2px;
    font-size: 11px;
    color: #9CA3AF;
    line-height: 1.4;
}

/* Radar category chips */
.t2w-radar-cats {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.t2w-radar-cat-chip {
    padding: 5px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    background: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.t2w-radar-cat-chip:hover {
    border-color: var(--color-primary, #3B82F6);
}

.t2w-radar-cat-chip.active {
    background: var(--color-primary, #3B82F6);
    color: #fff;
    border-color: var(--color-primary, #3B82F6);
}

/* Save / Share button row */
.t2w-action-row {
    display: flex;
    gap: 8px;
    padding-top: 4px;
}

.t2w-action-btn-sm {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.t2w-action-btn-sm i {
    font-size: 13px;
    color: #6B7280;
}

.t2w-action-btn-sm:hover {
    border-color: var(--color-primary, #3B82F6);
    color: var(--color-primary, #3B82F6);
    background: #EFF6FF;
}

.t2w-action-btn-sm:hover i {
    color: var(--color-primary, #3B82F6);
}


/* ========================================
   3. SELECT & INPUT
   ======================================== */

.t2w-select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--color-border, #D1D5DB);
    border-radius: 8px;
    font-size: 14px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6.5 6.5-6.5'/%3E%3C/svg%3E") no-repeat right 10px center;
    appearance: none;
    cursor: pointer;
    min-width: 140px;
}

.t2w-select:focus {
    outline: none;
    border-color: var(--color-primary, #FFB700);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb, 255, 183, 0), 0.15);
}

.t2w-input {
    padding: 8px 12px;
    border: 1px solid var(--color-border, #D1D5DB);
    border-radius: 8px;
    font-size: 14px;
    width: 64px;
    text-align: center;
}

.t2w-input:focus {
    outline: none;
    border-color: var(--color-primary, #FFB700);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb, 255, 183, 0), 0.15);
}

.t2w-trip-days {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-secondary, #6B7280);
}

/* ========================================
   4. CATEGORY TABS
   ======================================== */

.t2w-category-tab {
    display: flex;
    gap: 6px;
    padding: 8px 20px;
    background: #fff;
    border-bottom: 1px solid var(--color-border, #E5E7EB);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.t2w-category-tab::-webkit-scrollbar {
    display: none;
}

.t2w-cat-btn {
    padding: 6px 14px;
    border: 1px solid var(--color-border, #D1D5DB);
    background: #fff;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    color: var(--color-text-secondary, #6B7280);
    transition: all 0.2s ease;
}

.t2w-cat-btn.active {
    background: var(--color-primary, #FFB700);
    border-color: var(--color-primary, #FFB700);
    color: #fff;
    font-weight: 600;
}

.t2w-cat-btn:hover:not(.active) {
    border-color: var(--color-primary, #FFB700);
    color: var(--color-primary-dark, #E5A400);
}

/* ========================================
   5. DAY TABS
   ======================================== */

.t2w-day-tabs {
    display: flex;
    gap: 4px;
    padding: 12px 16px 0;
    border-bottom: 1px solid var(--color-border, #E5E7EB);
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fff;
}

.t2w-day-tab {
    padding: 8px 16px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: var(--color-text-secondary, #6B7280);
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.t2w-day-tab.active {
    color: var(--color-primary, #FFB700);
    border-bottom-color: var(--color-primary, #FFB700);
}

.t2w-day-tab:hover:not(.active) {
    color: var(--color-text-primary, #1F2937);
}

/* ========================================
   6. ITINERARY PANEL
   ======================================== */

.t2w-itinerary-panel {
    padding: 16px;
}

.t2w-day-section {
    margin-bottom: 16px;
}

/* Day-level action buttons — see v6.0 section for main styles */

.t2w-day-header {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-secondary, #1E3A5F);
    margin: 0 0 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border, #E5E7EB);
}

.t2w-itinerary-places {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 60px;
}

.t2w-itinerary-place {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--color-neutral-warm, #F8F6F0);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.t2w-itinerary-place:hover {
    background: #F3F0E8;
}

.t2w-drag-handle {
    cursor: grab;
    color: var(--color-text-tertiary, #9CA3AF);
    font-size: 14px;
    padding: 2px;
}

.t2w-drag-handle:active {
    cursor: grabbing;
}

.t2w-ip-order {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary, #FFB700);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.t2w-ip-info {
    flex: 1;
    min-width: 0;
}

.t2w-ip-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-primary, #1F2937);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.t2w-ip-name-en {
    display: block;
    font-size: 11px;
    color: #9CA3AF;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.t2w-ip-category {
    font-size: 12px;
    color: var(--color-text-secondary, #6B7280);
}

.t2w-remove-place {
    border: none;
    background: transparent;
    color: var(--color-text-tertiary, #9CA3AF);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.t2w-remove-place:hover {
    color: var(--color-error, #EF4444);
    background: rgba(239, 68, 68, 0.1);
}

.t2w-empty-day {
    padding: 24px;
    text-align: center;
    color: var(--color-text-tertiary, #9CA3AF);
    font-size: 14px;
    border: 2px dashed var(--color-border, #D1D5DB);
    border-radius: 8px;
}

.t2w-itinerary-actions {
    padding: 12px 0 0;
}

/* ========================================
   7. MAP
   ======================================== */

.t2w-map {
    width: 100%;
    height: 350px;
    min-height: 350px;
    border-bottom: 1px solid var(--color-border, #E5E7EB);
    z-index: 1;
    flex-shrink: 0;
    position: sticky;
    top: 0;
}

/* Marker Styles */
.t2w-marker-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    color: #fff;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.t2w-marker-pin i,
.t2w-marker-pin .t2w-marker-number {
    transform: rotate(45deg);
}

.t2w-marker-number {
    font-size: 12px;
    font-weight: 700;
}

.t2w-marker-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-primary, #FFB700);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Category marker colors */
.t2w-marker-attraction .t2w-marker-pin { background-color: #E74C3C; }
.t2w-marker-food .t2w-marker-pin { background-color: #F39C12; }
.t2w-marker-cafe .t2w-marker-pin { background-color: #8B4513; }
.t2w-marker-shopping .t2w-marker-pin { background-color: #9B59B6; }
.t2w-marker-nature .t2w-marker-pin { background-color: #27AE60; }
.t2w-marker-activity .t2w-marker-pin { background-color: #1ABC9C; }
.t2w-marker-beach .t2w-marker-pin { background-color: #3498DB; }
.t2w-marker-default .t2w-marker-pin { background-color: #95A5A6; }

/* Map popup */
.t2w-map-popup {
    font-family: var(--font-primary, 'Pretendard', sans-serif);
    font-size: 13px;
}

.t2w-map-popup strong {
    display: block;
    margin-bottom: 2px;
}

.t2w-map-popup p {
    margin: 0;
    color: var(--color-text-secondary, #6B7280);
    font-size: 12px;
}

/* ========================================
   8. PLACE GRID
   ======================================== */

.t2w-place-grid {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 12px;
    padding: 16px;
}

.t2w-place-card {
    width: calc(33.333% - 8px);
    border-radius: var(--v2-radius);
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

.t2w-place-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.t2w-pc-image {
    position: relative;
    height: 120px;
    background-size: cover;
    background-position: center;
    background-color: var(--color-neutral-warm, #F3F4F6);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Category placeholder backgrounds (when no thumbnail) */
.t2w-pc-img-attraction:not([style*="background-image"]) {
    background: linear-gradient(135deg, #FECACA 0%, #FCA5A5 100%);
}
.t2w-pc-img-attraction:not([style*="background-image"])::after {
    content: '\f66f'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
    font-size: 28px; color: rgba(185,28,28,0.3);
}
.t2w-pc-img-food:not([style*="background-image"]) {
    background: linear-gradient(135deg, #FED7AA 0%, #FDBA74 100%);
}
.t2w-pc-img-food:not([style*="background-image"])::after {
    content: '\f2e7'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
    font-size: 28px; color: rgba(194,65,12,0.3);
}
.t2w-pc-img-cafe:not([style*="background-image"]) {
    background: linear-gradient(135deg, #F5E6D3 0%, #D4A574 100%);
}
.t2w-pc-img-cafe:not([style*="background-image"])::after {
    content: '\f0f4'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
    font-size: 28px; color: rgba(120,53,15,0.3);
}
.t2w-pc-img-shopping:not([style*="background-image"]) {
    background: linear-gradient(135deg, #E9D5FF 0%, #C4B5FD 100%);
}
.t2w-pc-img-shopping:not([style*="background-image"])::after {
    content: '\f290'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
    font-size: 28px; color: rgba(107,33,168,0.3);
}
.t2w-pc-img-nature:not([style*="background-image"]) {
    background: linear-gradient(135deg, #BBF7D0 0%, #86EFAC 100%);
}
.t2w-pc-img-nature:not([style*="background-image"])::after {
    content: '\f1bb'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
    font-size: 28px; color: rgba(21,128,61,0.3);
}
.t2w-pc-img-activity:not([style*="background-image"]) {
    background: linear-gradient(135deg, #A7F3D0 0%, #6EE7B7 100%);
}
.t2w-pc-img-activity:not([style*="background-image"])::after {
    content: '\f70c'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
    font-size: 28px; color: rgba(4,120,87,0.3);
}
.t2w-pc-img-beach:not([style*="background-image"]) {
    background: linear-gradient(135deg, #BAE6FD 0%, #7DD3FC 100%);
}
.t2w-pc-img-beach:not([style*="background-image"])::after {
    content: '\f5ca'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
    font-size: 28px; color: rgba(3,105,161,0.3);
}
.t2w-pc-img-default:not([style*="background-image"]) {
    background: linear-gradient(135deg, #E5E7EB 0%, #D1D5DB 100%);
}
.t2w-pc-img-default:not([style*="background-image"])::after {
    content: '\f3c5'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
    font-size: 28px; color: rgba(107,114,128,0.3);
}

.t2w-wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-tertiary, #9CA3AF);
    font-size: 14px;
    transition: all 0.2s ease;
}

.t2w-wishlist-btn:hover,
.t2w-wishlist-btn.active {
    color: var(--color-accent-coral, #E85A4F);
}

.t2w-wishlist-btn.active i {
    font-weight: 900;
}

.t2w-pc-content {
    padding: 10px 12px;
    text-align: center;
}

.t2w-pc-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 2px;
    color: var(--color-text-primary, #1F2937);
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.t2w-pc-name-en {
    display: block;
    font-size: 11px;
    color: #9CA3AF;
    font-weight: 400;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.t2w-pc-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.t2w-category {
    font-size: 11px;
    color: var(--color-text-secondary, #6B7280);
    background: var(--color-neutral-warm, #F3F4F6);
    padding: 2px 6px;
    border-radius: 4px;
}

.t2w-rating {
    font-size: 12px;
    color: var(--color-warning, #F59E0B);
}

.t2w-rating i {
    font-size: 10px;
}

.t2w-add-place {
    width: 100%;
    padding: 6px 0;
    border: 1px solid var(--color-primary, #FFB700);
    background: transparent;
    color: var(--color-primary-dark, #E5A400);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.t2w-add-place:hover {
    background: var(--color-primary, #FFB700);
    color: #fff;
}

/* Highlighted card (marker click) */
.t2w-place-card.t2w-highlighted {
    box-shadow: 0 0 0 2px var(--color-primary, #FFB700), 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Already added state */
.t2w-place-card.t2w-added {
    opacity: 0.7;
}

.t2w-place-card.t2w-added .t2w-add-place {
    border-color: var(--color-success, #10B981);
    color: var(--color-success, #10B981);
    pointer-events: none;
}

.t2w-place-card.t2w-added .t2w-add-place:hover {
    background: transparent;
    color: var(--color-success, #10B981);
}

/* ========================================
   9. SERVICE OPTIONS
   ======================================== */

.t2w-service-options {
    padding: 0 16px 12px;
}

.t2w-so-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-secondary, #1E3A5F);
    margin: 0 0 8px;
}

.t2w-so-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.t2w-service-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 8px;
    border: 1px solid var(--color-border, #E5E7EB);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.t2w-service-option:hover {
    border-color: var(--color-primary, #FFB700);
}

.t2w-service-option.selected {
    border-color: var(--color-primary, #FFB700);
    background: rgba(var(--color-primary-rgb, 255, 183, 0), 0.05);
}

.t2w-so-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--color-neutral-warm, #F3F4F6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary, #FFB700);
    font-size: 15px;
    flex-shrink: 0;
}

.t2w-so-info {
    min-width: 0;
}

.t2w-so-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-primary, #1F2937);
}

.t2w-so-desc {
    display: none;
}

.t2w-service-option.selected .t2w-so-desc {
    display: block;
    font-size: 11px;
    color: var(--color-text-secondary, #6B7280);
    margin-top: 2px;
}

.t2w-so-price {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary-dark, #E5A400);
    white-space: nowrap;
}

.t2w-so-footer {
    margin-top: 8px;
}

.t2w-price-estimate {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(var(--color-primary-rgb, 255, 183, 0), 0.08);
    border-radius: 8px;
}

.t2w-pe-label {
    font-size: 13px;
    color: var(--color-text-secondary, #6B7280);
}

.t2w-pe-range {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary-dark, #E5A400);
}

.t2w-pe-badge {
    font-size: 11px;
    padding: 2px 6px;
    background: var(--color-success, #10B981);
    color: #fff;
    border-radius: 4px;
    margin-left: auto;
}

/* ========================================
   10. AI ASSIST (inline collapsible)
   ======================================== */

.t2w-ai-assist {
    margin: 0;
    border-bottom: 1px solid var(--color-border, #E5E7EB);
}

.t2w-ai-assist-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary, #1E3A5F);
    transition: background 0.2s;
}

.t2w-ai-assist-toggle:hover {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
}

.t2w-ai-assist-toggle i:first-child {
    color: var(--color-primary, #FFB700);
}

.t2w-ai-chevron {
    margin-left: auto;
    font-size: 12px;
    color: #9CA3AF;
    transition: transform 0.2s;
}

.t2w-ai-chevron.open {
    transform: rotate(180deg);
}

.t2w-ai-assist-body {
    padding: 16px;
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border-top: 1px solid #FDE68A;
}

/* Generate button loading state */
#t2w-rec-generate .t2w-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

#t2w-rec-generate:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


.t2w-rec-label {
    font-size: 13px;
    color: var(--color-text-secondary, #6B7280);
    margin: 0 0 8px;
}

.t2w-pref-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.t2w-pref-option {
    padding: 6px 12px;
    border: 1px solid var(--color-border, #D1D5DB);
    background: #fff;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--color-text-secondary, #6B7280);
}

.t2w-pref-option.active {
    border-color: var(--color-primary, #FFB700);
    background: rgba(var(--color-primary-rgb, 255, 183, 0), 0.1);
    color: var(--color-primary-dark, #E5A400);
}

.t2w-pref-option:hover:not(.active) {
    border-color: var(--color-primary-light, #FFC933);
}

/* ========================================
   11. RADAR PANEL
   ======================================== */

.t2w-radar-panel {
    background: #fff;
    border-top: 1px solid var(--color-border, #E5E7EB);
    border-radius: var(--v2-radius);
    padding: 0;
}

.t2w-radar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--color-border, #E5E7EB);
    position: sticky;
    top: 0;
    background: #fff;
}

.t2w-radar-header h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.t2w-radar-filters {
    display: flex;
    gap: 4px;
}

.t2w-radar-filter {
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-border, #D1D5DB);
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: var(--color-text-tertiary, #9CA3AF);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t2w-radar-filter.active {
    background: var(--color-primary, #FFB700);
    border-color: var(--color-primary, #FFB700);
    color: #fff;
}

.t2w-radar-list {
    padding: 8px 16px;
}

.t2w-radar-poi {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border, #F3F4F6);
}

.t2w-radar-poi:last-child {
    border-bottom: none;
}

.t2w-rp-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--color-neutral-warm, #F3F4F6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--color-text-secondary, #6B7280);
}

.t2w-rp-info {
    flex: 1;
    min-width: 0;
}

.t2w-rp-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
}

.t2w-rp-rating {
    font-size: 11px;
    color: var(--color-warning, #F59E0B);
    margin-right: 6px;
}

.t2w-rp-distance {
    font-size: 11px;
    color: var(--color-text-tertiary, #9CA3AF);
}

/* ========================================
   12. BUTTONS
   ======================================== */

.t2w-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.t2w-btn-primary {
    background: var(--color-secondary, #1E3A5F);
    color: #fff;
}

.t2w-btn-primary:hover {
    background: var(--color-secondary-dark, #152A47);
}

.t2w-btn-outline {
    background: transparent;
    border: 1px solid var(--color-border, #D1D5DB);
    color: var(--color-text-primary, #1F2937);
}

.t2w-btn-outline:hover {
    border-color: var(--color-primary, #FFB700);
    color: var(--color-primary-dark, #E5A400);
}

.t2w-btn-gold {
    background: var(--color-primary, #FFB700);
    color: #fff;
}

.t2w-btn-gold:hover {
    background: var(--color-primary-dark, #E5A400);
}

.t2w-btn-block {
    width: 100%;
    justify-content: center;
}

/* ========================================
   13. MODAL
   ======================================== */

.t2w-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.t2w-modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.t2w-modal {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 560px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.t2w-modal-overlay.visible .t2w-modal {
    transform: translateY(0);
}

.t2w-modal-lg { max-width: 720px; }
.t2w-modal-xl { max-width: 900px; }

.t2w-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border, #E5E7EB);
}

.t2w-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.t2w-modal-close {
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    color: var(--color-text-tertiary, #9CA3AF);
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.t2w-modal-close:hover {
    color: var(--color-text-primary, #1F2937);
    background: var(--color-neutral-warm, #F3F4F6);
}

.t2w-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.t2w-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid var(--color-border, #E5E7EB);
}

.t2w-modal-btn {
    padding: 8px 20px;
    border: 1px solid var(--color-border, #D1D5DB);
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.t2w-btn-primary.t2w-modal-btn,
.t2w-modal-btn.t2w-btn-primary {
    background: var(--color-primary, #FFB700);
    border-color: var(--color-primary, #FFB700);
    color: #fff;
}

body.t2w-modal-open {
    overflow: hidden;
}

/* ========================================
   14. TOAST
   ======================================== */

.t2w-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 800;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.t2w-toast {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 320px;
}

.t2w-toast.visible {
    transform: translateX(0);
}

.t2w-toast-success { border-left: 3px solid var(--color-success, #10B981); }
.t2w-toast-error { border-left: 3px solid var(--color-error, #EF4444); }
.t2w-toast-warning { border-left: 3px solid var(--color-warning, #F59E0B); }
.t2w-toast-info { border-left: 3px solid var(--color-info, #3B82F6); }

.t2w-toast-success i { color: var(--color-success, #10B981); }
.t2w-toast-error i { color: var(--color-error, #EF4444); }
.t2w-toast-warning i { color: var(--color-warning, #F59E0B); }
.t2w-toast-info i { color: var(--color-info, #3B82F6); }

/* ========================================
   15. LOADING & SPINNER
   ======================================== */

.t2w-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 20px;
    color: var(--color-text-secondary, #6B7280);
    font-size: 14px;
    grid-column: 1 / -1;
}

.t2w-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border, #D1D5DB);
    border-top-color: var(--color-primary, #FFB700);
    border-radius: 50%;
    animation: t2w-spin 0.6s linear infinite;
}

@keyframes t2w-spin {
    to { transform: rotate(360deg); }
}

.t2w-loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.t2w-loading-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.t2w-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-border, #D1D5DB);
    border-top-color: var(--color-primary, #FFB700);
    border-radius: 50%;
    animation: t2w-spin 0.7s linear infinite;
}

.t2w-loading-text {
    font-size: 15px;
    color: var(--color-text-secondary, #6B7280);
}

/* ========================================
   16. ERROR & EMPTY STATES
   ======================================== */

.t2w-error {
    padding: 40px 20px;
    text-align: center;
    color: var(--color-error, #EF4444);
    font-size: 14px;
    grid-column: 1 / -1;
}

.t2w-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--color-text-tertiary, #9CA3AF);
    font-size: 14px;
    grid-column: 1 / -1;
}

/* ========================================
   17. PLACE DETAIL (Modal)
   ======================================== */

.t2w-place-detail {
    color: #111827;
}

.t2w-pd-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-primary, #1F2937);
    margin: 0 0 12px;
}

.t2w-pd-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.t2w-pd-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-secondary, #6B7280);
}

.t2w-pd-meta-item i {
    width: 16px;
    text-align: center;
    color: var(--color-primary, #FFB700);
}

.t2w-pd-nearby {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border, #E5E7EB);
}

.t2w-pd-nearby h5 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px;
}

.t2w-pd-nearby-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
}

.t2w-pd-ni-name {
    color: var(--color-text-primary, #1F2937);
}

.t2w-pd-ni-dist {
    color: var(--color-text-tertiary, #9CA3AF);
}

.t2w-pd-ni-en {
    display: block;
    font-size: 11px;
    color: #9CA3AF;
    font-weight: 400;
}

/* --- Place Detail: Title extras --- */
.t2w-pd-title-en {
    display: block;
    font-size: 13px;
    color: #9CA3AF;
    font-weight: 400;
}

.t2w-pd-title-rating {
    font-size: 14px;
    color: #F59E0B;
    font-weight: 400;
    margin-left: 8px;
}

.t2w-pd-title-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--color-primary-light, #FFF3CD);
    color: var(--color-primary, #FFB700);
    margin-left: 8px;
    vertical-align: middle;
}

/* --- Place Detail: Gallery (v8.7.2 hero + grid) --- */
.t2w-pd-gallery {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.t2w-pd-photo {
    background-size: cover;
    background-position: center;
    background-color: var(--color-neutral-warm, #F3F4F6);
    cursor: pointer;
}

.t2w-pd-photo--hero {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    position: relative;
}

.t2w-pd-photo-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.t2w-pd-photo-count i {
    font-size: 10px;
}

.t2w-pd-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 4px;
}

.t2w-pd-photo--thumb {
    height: 72px;
    border-radius: 6px;
    transition: opacity 0.15s;
}

.t2w-pd-photo--thumb:hover {
    opacity: 0.8;
}

/* --- Place Detail: T2W Summary Card --- */
.t2w-pd-summary {
    background: linear-gradient(135deg, #EEF2FF 0%, #F0FDF4 100%);
    border: 1px solid #C7D2FE;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.t2w-pd-summary-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #4F46E5;
    margin-bottom: 10px;
}

.t2w-pd-summary-header i {
    font-size: 16px;
}

.t2w-pd-summary-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-text-primary, #1F2937);
}

.t2w-pd-summary-tip {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(99, 102, 241, 0.15);
    font-size: 13px;
    color: #6366F1;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- Place Detail: Review Highlights --- */
.t2w-pd-highlights {
    margin-bottom: 16px;
}

.t2w-pd-highlights h5 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--color-text-primary, #1F2937);
}

.t2w-pd-hl-pros,
.t2w-pd-hl-cons {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
}

.t2w-pd-hl-pros li,
.t2w-pd-hl-cons li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 4px;
    color: var(--color-text-primary, #1F2937);
}

.t2w-pd-hl-pros li i { color: #059669; margin-top: 3px; }
.t2w-pd-hl-cons li i { color: #D97706; margin-top: 3px; }

/* --- Place Detail: v8.7 Insight Cards (3-element) --- */
.t2w-pd-insights {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
}
.t2w-pd-insight-card {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    background: #F9FAFB;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
}
.t2w-pd-insight-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
}
.t2w-pd-insight--who .t2w-pd-insight-icon { background: #DBEAFE; color: #2563EB; }
.t2w-pd-insight--when .t2w-pd-insight-icon { background: #FEF3C7; color: #D97706; }
.t2w-pd-insight--avoid .t2w-pd-insight-icon { background: #FEE2E2; color: #DC2626; }
.t2w-pd-insight-body strong { font-size: 12px; color: #111827; display: block; margin-bottom: 3px; }
.t2w-pd-insight-body p { font-size: 12px; color: #374151; margin: 0; line-height: 1.4; }
.t2w-pd-insight-body ul { margin: 0; padding-left: 14px; font-size: 12px; color: #374151; line-height: 1.6; }
.t2w-pd-insight-body li { margin: 0; }

/* --- Place Detail: v8.7 CTA Bar --- */
.t2w-pd-cta {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #E5E7EB;
    background: #fff;
    position: sticky;
    bottom: 0;
}
.t2w-pd-cta-add {
    flex: 1;
    padding: 10px 0;
    border: none;
    border-radius: 8px;
    background: #FFB700;
    color: #000;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.t2w-pd-cta-add:hover { background: #E5A500; }
.t2w-pd-cta-add--done { background: #E5E7EB; color: #6B7280; cursor: default; }
.t2w-pd-cta-add--done:hover { background: #E5E7EB; }
.t2w-pd-cta-quote {
    flex: 1;
    padding: 10px 0;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.t2w-pd-cta-quote:hover { background: #F9FAFB; border-color: #D1D5DB; }

/* --- Place Detail: Reviews --- */
.t2w-pd-reviews {
    margin-bottom: 16px;
}

.t2w-pd-reviews h5 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 10px;
}

.t2w-pd-review {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border, #E5E7EB);
}

.t2w-pd-review:last-child {
    border-bottom: none;
}

.t2w-pd-review-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.t2w-pd-review-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.t2w-pd-review-avatar-placeholder {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-neutral-warm, #F3F4F6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-text-tertiary, #9CA3AF);
    font-size: 12px;
}

.t2w-pd-review-meta {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.t2w-pd-review-author {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-primary, #1F2937);
}

.t2w-pd-review-stars {
    font-size: 11px;
    color: #F59E0B;
}

.t2w-pd-review-stars i {
    margin-right: 1px;
}

.t2w-pd-review-time {
    font-size: 11px;
    color: var(--color-text-tertiary, #9CA3AF);
    flex-shrink: 0;
}

.t2w-pd-review-text {
    font-size: 13px;
    line-height: 1.5;
    color: #374151;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Place Detail: Opening Hours --- */
.t2w-pd-hours {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border, #E5E7EB);
}

.t2w-pd-hours h5 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.t2w-pd-hours h5 i {
    color: var(--color-primary, #FFB700);
}

.t2w-pd-hours-grid {
    display: grid;
    gap: 2px;
}

.t2w-pd-hours-row {
    font-size: 12px;
    color: var(--color-text-secondary, #6B7280);
    padding: 2px 0;
}

.t2w-pd-hours-row--today {
    font-weight: 700;
    color: var(--color-text, #111827);
    background: rgba(255, 183, 0, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    margin: 0 -6px;
}

.t2w-pd-hours-open {
    font-size: 11px;
    font-weight: 600;
    color: #059669;
    background: #ECFDF5;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 4px;
}

.t2w-pd-hours-closed {
    font-size: 11px;
    font-weight: 600;
    color: #DC2626;
    background: #FEF2F2;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 4px;
}

/* --- Place Detail: Action Buttons bar --- */
.t2w-modal-footer .t2w-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--color-border, #E5E7EB);
    background: #fff;
    color: var(--color-text-primary, #1F2937);
    cursor: pointer;
    transition: all 0.15s ease;
}

.t2w-modal-footer .t2w-modal-btn:hover {
    background: var(--color-neutral-warm, #F3F4F6);
}

.t2w-modal-footer .t2w-btn-primary {
    background: var(--color-primary, #FFB700);
    color: #fff;
    border-color: var(--color-primary, #FFB700);
}

.t2w-modal-footer .t2w-btn-primary:hover {
    background: var(--color-primary-dark, #E5A500);
}

/* --- Place Detail: Meta link styles --- */
.t2w-pd-meta-item a {
    color: var(--color-primary, #FFB700);
    text-decoration: none;
}

.t2w-pd-meta-item a:hover {
    text-decoration: underline;
}

/* --- Modal XL size --- */
.t2w-modal.t2w-modal-xl {
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
}

.t2w-modal.t2w-modal-xl .t2w-modal-body {
    overflow-y: auto;
    max-height: calc(85vh - 120px);
}

/* ========================================
   TRAVEL SEGMENTS (between itinerary places)
   ======================================== */

.t2w-travel-segment {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 46px;
}

.t2w-ts-line {
    flex: 1;
    height: 1px;
    border-top: 1px dashed #D1D5DB;
}

.t2w-ts-info {
    font-size: 11px;
    color: #9CA3AF;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.t2w-ts-info i {
    font-size: 10px;
    color: #6B7280;
}

/* ========================================
   DAY THEME
   ======================================== */

.t2w-day-theme {
    font-size: 13px;
    font-weight: 400;
    color: var(--color-text-secondary, #6B7280);
    margin-left: 6px;
}

/* --- Mobile: full-screen modal --- */
@media (max-width: 480px) {
    .t2w-modal.t2w-modal-xl {
        width: 100%;
        max-width: 100%;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
    }

    .t2w-modal.t2w-modal-xl .t2w-modal-body {
        max-height: calc(100vh - 120px);
    }

    .t2w-pd-photo--hero {
        height: 180px;
    }

    .t2w-pd-photo--thumb {
        height: 60px;
    }

    .t2w-modal-footer {
        flex-wrap: wrap;
        gap: 6px;
    }

    .t2w-modal-footer .t2w-modal-btn {
        flex: 1;
        justify-content: center;
        min-width: calc(50% - 6px);
        font-size: 12px;
        padding: 8px 10px;
    }
}

/* ========================================
   18. PRODUCT CARD
   ======================================== */

.t2w-product-card {
    border-radius: var(--v2-radius);
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

.t2w-product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.t2w-prc-image {
    height: 140px;
    background-size: cover;
    background-position: center;
    background-color: var(--color-neutral-warm, #F3F4F6);
}

.t2w-prc-content { padding: 12px; }
.t2w-prc-title { font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.t2w-prc-vendor { font-size: 12px; color: var(--color-text-secondary, #6B7280); margin-bottom: 8px; }

.t2w-prc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.t2w-prc-price { font-weight: 600; color: var(--color-primary-dark, #E5A400); }
.t2w-prc-rating { font-size: 12px; color: var(--color-warning, #F59E0B); }

/* ========================================
   19. TOOLTIP
   ======================================== */

.t2w-tooltip {
    position: fixed;
    padding: 6px 10px;
    background: var(--color-secondary, #1E3A5F);
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    z-index: 900;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.t2w-tooltip.visible {
    opacity: 1;
}

/* ========================================
   20. RESPONSIVE — Mobile (<768px)
   ======================================== */

@media (max-width: 768px) {
    .t2w-v2-topbar {
        flex-wrap: wrap;
        padding: 8px 12px;
        gap: 8px;
    }

    .t2w-v2-search {
        order: 3;
        max-width: 100%;
        width: 100%;
    }

    .t2w-v2-controls {
        width: 100%;
        margin-left: 0;
    }

    .t2w-select {
        flex: 1;
        min-width: 0;
    }

    .t2w-v2-main {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .t2w-v2-left {
        border-right: none;
        max-height: none;
        position: static;
        order: 2;
    }

    .t2w-v2-right {
        order: 1;
        display: block;
    }

    .t2w-map {
        height: 300px;
        min-height: 250px;
        position: static;
    }

    .t2w-place-grid {
        gap: 8px;
        padding: 12px;
    }

    .t2w-place-card {
        width: calc(50% - 4px);
    }

    /* Bottom Sheet - 3-state system */
    .t2w-v2-left {
        position: fixed;
        bottom: var(--v2-bottombar-height);
        left: 0;
        right: 0;
        max-height: 70vh;
        background: #fff;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        z-index: 200;
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .t2w-v2-left[data-bs-state="collapsed"] { transform: translateY(calc(100% - 56px)); }
    .t2w-v2-left[data-bs-state="half"] { transform: translateY(50%); }
    .t2w-v2-left[data-bs-state="full"] { transform: translateY(0); }

    .t2w-bs-handle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 0;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .t2w-bs-handle::before {
        content: '';
        width: 36px;
        height: 4px;
        background: #D1D5DB;
        border-radius: 2px;
    }

    .t2w-bs-summary {
        font-size: 13px;
        font-weight: 600;
        color: #374151;
    }

    .t2w-bs-chevron {
        font-size: 12px;
        color: #9CA3AF;
        transition: transform 0.3s;
    }

    .t2w-v2-left[data-bs-state="full"] .t2w-bs-chevron {
        transform: rotate(180deg);
    }

    .t2w-place-grid {
        padding-bottom: 140px;
    }

    .t2w-v2-bottom-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 12px 20px;
        background: #fff;
        border-top: 1px solid var(--color-border, #E5E7EB);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 201;
    }

    /* Toast position for mobile */
    .t2w-toast-container {
        top: auto;
        bottom: calc(var(--v2-bottombar-height) + 12px);
        right: 12px;
        left: 12px;
    }

    .t2w-toast {
        max-width: 100%;
    }

    /* Modal on mobile */
    .t2w-modal {
        width: 100%;
        max-width: 100%;
        max-height: 100vh;
        border-radius: 16px 16px 0 0;
        position: fixed;
        bottom: 0;
    }
}

/* ========================================
   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, #FFB700);
    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; }
}

/* 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, #FFB700); }
.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; }

/* ========================================
   ONBOARDING TUTORIAL OVERLAY
   ======================================== */

.t2w-onboard-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t2w-onboard-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    max-width: 360px;
    width: 90%;
    text-align: center;
}

.t2w-onboard-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--color-text-primary, #1F2937);
}

.t2w-onboard-card p {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--color-text-secondary, #6B7280);
    line-height: 1.6;
}

.t2w-onboard-step {
    font-size: 12px;
    color: var(--color-text-tertiary, #9CA3AF);
    margin-bottom: 12px;
}

.t2w-onboard-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 16px;
}

.t2w-onboard-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border, #D1D5DB);
}

.t2w-onboard-dot.active {
    background: var(--color-primary, #FFB700);
}

.t2w-onboard-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

/* ========================================
   DARK MODE
   ======================================== */

[data-theme="dark"] {
    --color-neutral-warm: #1A1A2E;
    --color-text-primary: #E5E7EB;
    --color-text-secondary: #9CA3AF;
    --color-text-tertiary: #6B7280;
    --color-border: #374151;
    --color-white: #111827;
    --color-error: #F87171;
    --color-success: #34D399;
    --color-warning: #FBBF24;
}

[data-theme="dark"] body,
[data-theme="dark"] .site-content {
    background: #0F172A;
    color: #E5E7EB;
}

[data-theme="dark"] .t2w-planner-v2 {
    background: #0F172A;
}

[data-theme="dark"] .t2w-v2-topbar,
[data-theme="dark"] .t2w-v2-left,
[data-theme="dark"] .t2w-v2-bottom-bar,
[data-theme="dark"] .t2w-bottom-nav {
    background: #1E293B;
    border-color: #334155;
}

[data-theme="dark"] .t2w-place-card,
[data-theme="dark"] .t2w-skeleton-card,
[data-theme="dark"] .t2w-modal,
[data-theme="dark"] .t2w-toast {
    background: #1E293B;
    border-color: #334155;
    color: #E5E7EB;
}

[data-theme="dark"] .t2w-place-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

[data-theme="dark"] .t2w-pc-name,
[data-theme="dark"] .t2w-modal-title,
[data-theme="dark"] .t2w-ip-name {
    color: #F3F4F6;
}

[data-theme="dark"] .t2w-select,
[data-theme="dark"] .t2w-input,
[data-theme="dark"] .t2w-v2-search input {
    background: #1E293B;
    border-color: #475569;
    color: #E5E7EB;
}

[data-theme="dark"] .t2w-cat-btn {
    background: #1E293B;
    border-color: #475569;
    color: #9CA3AF;
}

[data-theme="dark"] .t2w-cat-btn.active {
    background: var(--color-primary, #FFB700);
    color: #fff;
}

[data-theme="dark"] .t2w-itinerary-place {
    background: #1A1A2E;
}

[data-theme="dark"] .t2w-category-tab,
[data-theme="dark"] .t2w-day-tabs {
    background: #1E293B;
    border-color: #334155;
}

[data-theme="dark"] .t2w-ai-assist-toggle {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

[data-theme="dark"] .t2w-ai-assist-body {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

[data-theme="dark"] .t2w-pd-summary {
    background: linear-gradient(135deg, #1E293B 0%, #1A2332 100%);
    border-color: #475569;
}

[data-theme="dark"] .t2w-modal-overlay {
    background: rgba(0,0,0,0.75);
}

[data-theme="dark"] .t2w-modal-header,
[data-theme="dark"] .t2w-modal-footer {
    border-color: #334155;
}

[data-theme="dark"] .t2w-modal-close {
    color: #9CA3AF;
}

[data-theme="dark"] .t2w-empty-day {
    border-color: #475569;
    color: #6B7280;
}

[data-theme="dark"] .t2w-bn-item {
    color: #6B7280;
}

[data-theme="dark"] .t2w-bn-item.active {
    color: var(--color-primary, #FFB700);
}

[data-theme="dark"] .t2w-app-header {
    background: #1E293B !important;
    border-color: #334155;
}

[data-theme="dark"] .t2w-skeleton-card__img {
    background: linear-gradient(90deg, #1E293B 25%, #334155 50%, #1E293B 75%);
    background-size: 200% 100%;
}

[data-theme="dark"] .t2w-skeleton-card__line {
    background: #334155;
}

/* ========================================
   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: #3B82F6;
}

.t2w-transport-btn.active {
    background: #fff;
    color: #3B82F6;
    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: #3B82F6;
}

/* Route label on map */
.t2w-route-label {
    background: none !important;
    border: none !important;
}

.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);
}

/* ========================================
   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: #3B82F6;
    color: #3B82F6;
    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 */
.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 !important;
}

/* 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;
    }
}

/* ========================================
   QUOTE CTA & MODAL IMPROVEMENTS (v2.9.7)
   ======================================== */

/* Smart CTA Banner */
.t2w-smart-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin: 0 0 8px;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF3CC 100%);
    border: 1px solid #FFD54F;
    border-radius: var(--v2-radius, 12px);
    animation: t2w-cta-slideIn 0.3s ease-out;
}

@keyframes t2w-cta-slideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.t2w-cta-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFB700;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
}

.t2w-cta-text {
    flex: 1;
    min-width: 0;
}

.t2w-cta-title {
    font-size: 13px;
    font-weight: 700;
    color: #92400E;
    margin: 0 0 2px;
}

.t2w-cta-desc {
    font-size: 11px;
    color: #B45309;
    margin: 0;
}

.t2w-cta-action {
    flex-shrink: 0;
    padding: 6px 14px;
    background: #FFB700;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.t2w-cta-action:hover {
    background: #E6A500;
}

.t2w-cta-close {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #B45309;
    font-size: 14px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 0;
}

.t2w-cta-close:hover {
    opacity: 1;
}

/* Quote Modal - Service Type Options */
.t2w-quote-svc-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.t2w-quote-svc-option {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    background: #fff;
}

.t2w-quote-svc-option:hover {
    border-color: #10B981;
    background: #F0FDF4;
}

.t2w-quote-svc-option.t2w-quote-svc-active {
    border: 2px solid #10B981;
    background: #F0FDF4;
}

.t2w-quote-svc-option i {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
    color: #6B7280;
}

.t2w-quote-svc-option.t2w-quote-svc-active i {
    color: #10B981;
}

/* Quote Modal - Form Row */
.t2w-quote-form-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.t2w-quote-form-row > div { flex: 1; }
.t2w-quote-form-row > div:last-child:not(:first-child) { flex: 0 0 100px; }

.t2w-quote-form label.t2w-quote-label {
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

/* Quote Submit Loading */
.t2w-quote-submitting .t2w-modal-btn {
    pointer-events: none;
    opacity: 0.7;
}

.t2w-spinner-small {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: t2w-spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes t2w-spin {
    to { transform: rotate(360deg); }
}

/* Quote Success Screen */
.t2w-quote-success {
    text-align: center;
    padding: 24px 16px;
}

.t2w-quote-success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: #D1FAE5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #10B981;
    animation: t2w-successPop 0.4s ease-out;
}

@keyframes t2w-successPop {
    0%   { transform: scale(0); }
    60%  { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.t2w-quote-success h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1F2937;
    margin: 0 0 8px;
}

.t2w-quote-success p {
    font-size: 13px;
    color: #6B7280;
    margin: 0 0 20px;
}

.t2w-quote-steps {
    text-align: left;
    max-width: 280px;
    margin: 0 auto;
}

.t2w-quote-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
}

.t2w-quote-step + .t2w-quote-step {
    border-top: 1px solid #F3F4F6;
}

.t2w-quote-step-num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: #EFF6FF;
    color: #3B82F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.t2w-quote-step-text {
    font-size: 12px;
    color: #4B5563;
    line-height: 1.4;
}

.t2w-quote-step-text strong {
    display: block;
    color: #1F2937;
    font-size: 13px;
}

/* Quote Button Badge */
.t2w-btn-gold {
    position: relative;
}

.t2w-quote-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #EF4444;
    color: #fff;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    pointer-events: none;
    animation: t2w-badgeIn 0.3s ease-out;
}

@keyframes t2w-badgeIn {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}

.t2w-quote-badge.t2w-pulse {
    animation: t2w-badgeIn 0.3s ease-out, t2w-badgePulse 0.6s ease-in-out 0.3s 2;
}

@keyframes t2w-badgePulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.3); }
}

/* Mobile CTA adjustments */
@media (max-width: 768px) {
    .t2w-smart-cta {
        padding: 10px 12px;
        gap: 8px;
    }

    .t2w-cta-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .t2w-cta-title { font-size: 12px; }
    .t2w-cta-desc { font-size: 10px; }
    .t2w-cta-action { padding: 5px 10px; font-size: 11px; }
}

/* ========================================
   WI-1: Draft Recovery Banner
   ======================================== */

.t2w-recovery-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #EBF5FF, #DBEAFE);
    border: 1px solid #93C5FD;
    border-radius: 10px;
    margin: 0 0 12px;
}

.t2w-recovery-icon {
    font-size: 20px;
    color: #3B82F6;
}

.t2w-recovery-text {
    flex: 1;
    font-size: 13px;
    color: #1E40AF;
}

.t2w-recovery-actions {
    display: flex;
    gap: 8px;
}

.t2w-recovery-btn {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.t2w-recovery-btn.primary {
    background: #3B82F6;
    color: #fff;
}

.t2w-recovery-btn.secondary {
    background: transparent;
    color: #6B7280;
    border: 1px solid #D1D5DB;
}

/* ========================================
   WI-2: Bottom Sheet handle (desktop hide)
   ======================================== */

@media (min-width: 769px) {
    .t2w-bs-handle {
        display: none;
    }
}

/* ========================================
   WI-3: Welcome Modal
   ======================================== */

.t2w-welcome-body {
    text-align: center;
}

.t2w-welcome-desc {
    color: #6B7280;
    margin-bottom: 20px;
}

.t2w-welcome-options {
    display: flex;
    gap: 12px;
}

.t2w-welcome-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.t2w-welcome-option:hover {
    border-color: #3B82F6;
    background: #EFF6FF;
}

.t2w-welcome-option i {
    font-size: 24px;
    color: #3B82F6;
}

.t2w-welcome-option strong {
    font-size: 15px;
    color: #111827;
}

.t2w-welcome-option span {
    font-size: 12px;
    color: #9CA3AF;
}

@media (max-width: 480px) {
    .t2w-welcome-options {
        flex-direction: column;
    }
}

/* ========================================
   WI-4: Empty Day State
   ======================================== */

.t2w-empty-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 16px;
    text-align: center;
}

.t2w-empty-day > i {
    font-size: 32px;
    color: #D1D5DB;
    margin-bottom: 12px;
}

.t2w-empty-title {
    font-weight: 600;
    color: #374151;
    margin: 0 0 4px;
}

.t2w-empty-desc {
    font-size: 13px;
    color: #9CA3AF;
    margin: 0 0 16px;
}

.t2w-example-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px dashed #3B82F6;
    border-radius: 8px;
    background: #EFF6FF;
    color: #3B82F6;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.t2w-example-btn:hover {
    background: #DBEAFE;
}

/* ========================================
   PROGRESSIVE DISCLOSURE (v3.1)
   Phase 0: Landing — hero + region only
   Phase 1: Region selected — topbar + cards
   Phase 2: Places added — full controls
   ======================================== */

/* Hero Landing */
.t2w-hero-landing {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 60px;
    text-align: center;
    background: linear-gradient(135deg, #F8F6F0 0%, #EBF5FB 100%);
    animation: t2w-fade-in 0.5s ease;
}

.t2w-hero-inner {
    max-width: 480px;
}

.t2w-hero-title {
    font-size: 28px;
    font-weight: 800;
    color: #1F2937;
    margin: 0 0 8px;
}

.t2w-hero-sub {
    font-size: 15px;
    color: #6B7280;
    margin: 0 0 24px;
}

.t2w-region-hero-select {
    width: 100%;
    max-width: 320px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--t2w-gold, #D4A843);
    border-radius: 12px;
    background: #fff;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: auto;
}

.t2w-region-hero-select:focus {
    outline: none;
    border-color: var(--t2w-gold, #D4A843);
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
}

/* Phase 0: Show hero, hide everything else */
.t2w-planner-v2[data-phase="0"] .t2w-v2-topbar,
.t2w-planner-v2[data-phase="0"] .t2w-category-tab,
.t2w-planner-v2[data-phase="0"] .t2w-v2-main,
.t2w-planner-v2[data-phase="0"] .t2w-v2-bottom-bar {
    display: none;
}

/* Phase 1+: Hide hero, show planner */
.t2w-planner-v2[data-phase="1"] .t2w-hero-landing,
.t2w-planner-v2[data-phase="2"] .t2w-hero-landing {
    display: none;
}

/* Phase 1+: elements animate in */
.t2w-planner-v2[data-phase="1"] .t2w-phase1,
.t2w-planner-v2[data-phase="2"] .t2w-phase1 {
    animation: t2w-fade-in 0.3s ease;
}

@keyframes t2w-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Social Proof Badges (v3.1) */
.t2w-pc-badges {
    display: flex;
    gap: 4px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.t2w-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.t2w-badge-popular {
    background: #FEF3C7;
    color: #92400E;
}

.t2w-badge-reviews {
    background: #DBEAFE;
    color: #1E40AF;
}

.t2w-badge-hot {
    background: #FEE2E2;
    color: #991B1B;
}

/* AI Refiner notice (v3.1) */
.t2w-rec-refiner-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #EFF6FF;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #1E40AF;
    line-height: 1.4;
}

.t2w-rec-refiner-notice i {
    font-size: 16px;
    flex-shrink: 0;
}

/* Radar Discovery (v3.1) — region-based explore */
.t2w-radar-explore {
    padding: 12px;
    background: #F0FDF4;
    border-radius: 8px;
    margin-bottom: 8px;
}

.t2w-radar-explore-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #166534;
    margin-bottom: 8px;
}

.t2w-radar-explore-cats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.t2w-explore-cat-btn {
    padding: 6px 14px;
    border: 1px solid #BBF7D0;
    border-radius: 20px;
    background: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.t2w-explore-cat-btn:hover,
.t2w-explore-cat-btn.active {
    background: #22C55E;
    color: #fff;
    border-color: #22C55E;
}

/* ========================================
   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: #3B82F6; }
.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(--t2w-primary, #2563EB);
    white-space: nowrap;
    padding: 4px 8px;
    background: var(--t2w-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: #3B82F6;
}

.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: #3B82F6; border-color: #3B82F6; 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: #3B82F6;
}

/* 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: #3B82F6;
    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-action-btn-accent {
    background: linear-gradient(135deg, #FFB700, #F59E0B) !important;
    color: #fff !important;
    border-color: #F59E0B !important;
}

.t2w-action-btn-accent:hover {
    background: linear-gradient(135deg, #F59E0B, #D97706) !important;
}

/* 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: #3B82F6;
    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(--t2w-primary, #3B82F6);
    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(--t2w-primary, #3B82F6);
}

.t2w-cal-day--trip {
    background: var(--t2w-primary-light, #EFF6FF);
}

.t2w-cal-day--trip .t2w-cal-day-label {
    color: #3B82F6;
}

.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: #3B82F6; }

/* 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(--t2w-primary, #3B82F6);
}

.t2w-cal-region-btn.active {
    border-color: var(--t2w-primary, #3B82F6);
    background: var(--t2w-primary-light, #EFF6FF);
    color: var(--t2w-primary, #3B82F6);
}

.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(--t2w-primary, #3B82F6);
    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: #fff;
    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: #FFB700;
    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;
}

/* ── 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(--t2w-primary, #3B82F6);
    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;
}
/* Timeline spine */
.t2w-card-list::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 24px;
    bottom: 16px;
    width: 2px;
    background: linear-gradient(to bottom, #3B82F6 0%, #93C5FD 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: #3B82F6;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #3B82F6;
    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 #3B82F6;
    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: #3B82F6;
    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: #3B82F6;
}

.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: #3B82F6;
    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: #3B82F6;
    color: #3B82F6;
    background: #EFF6FF;
}

/* ── Onboarding Wizard (v7.0) ── */

.t2w-onboarding {
    padding: 24px 16px;
    text-align: center;
    position: relative;
}

.t2w-ob-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px;
}

.t2w-ob-subtitle {
    font-size: 14px;
    color: #6B7280;
    margin: 0 0 20px;
}

.t2w-ob-back {
    position: absolute;
    top: 16px;
    left: 16px;
    background: none;
    border: none;
    font-size: 18px;
    color: #6B7280;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.2s;
}

.t2w-ob-back:hover {
    background: #F3F4F6;
}

/* Step header (Step 1 title in #t2w-calendar) — issue #2: left-align */
.t2w-ob-step-header {
    padding: 20px 20px 10px;
    text-align: left;
}
.t2w-ob-step-header .t2w-ob-title {
    margin-bottom: 2px;
    font-size: 20px;
}
.t2w-ob-step-header .t2w-ob-subtitle {
    margin-bottom: 0;
}

/* State cards list (Step 1 — horizontal rows in .t2w-tl) */
.t2w-ob-state-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 16px 24px;
}

.t2w-ob-state-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    width: 100%;
}

.t2w-ob-state-card:hover {
    border-color: #3B82F6;
    box-shadow: 0 4px 12px rgba(59,130,246,0.15);
    transform: translateY(-1px);
}

.t2w-ob-state-emoji {
    font-size: 32px;
    flex-shrink: 0;
    width: 48px;
    text-align: center;
}

.t2w-ob-state-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.t2w-ob-state-name {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.t2w-ob-state-desc {
    font-size: 13px;
    color: #6B7280;
}

.t2w-ob-state-count {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 2px;
}

.t2w-ob-state-arrow {
    color: #D1D5DB;
    font-size: 14px;
    flex-shrink: 0;
    transition: color 0.2s;
}
.t2w-ob-state-card:hover .t2w-ob-state-arrow {
    color: #3B82F6;
}

/* City cards wide variant (Step 1.5 inside .t2w-tl — horizontal rows like state cards) */
.t2w-ob-city-grid.t2w-ob-city-grid--wide {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    max-width: none;
    padding: 8px 16px 24px;
    grid-template-columns: none !important;
}
.t2w-ob-city-card--wide {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 18px;
    text-align: left;
}
.t2w-ob-city-card--wide .t2w-ob-city-emoji {
    font-size: 32px;
    margin-bottom: 0;
    flex-shrink: 0;
    width: 48px;
    text-align: center;
}
.t2w-ob-city-card--wide .t2w-ob-city-name {
    font-size: 16px;
    font-weight: 700;
}
.t2w-ob-city-card--wide .t2w-ob-city-desc {
    font-size: 13px;
    color: #6B7280;
}
.t2w-ob-city-card--wide .t2w-ob-city-count {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 2px;
}

/* City cards grid */
.t2w-ob-city-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.t2w-ob-city-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    border-radius: 12px;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.t2w-ob-city-card:hover {
    border-color: #3B82F6;
    box-shadow: 0 4px 12px rgba(59,130,246,0.15);
    transform: translateY(-2px);
}

.t2w-ob-city-emoji {
    font-size: 28px;
    margin-bottom: 6px;
}

.t2w-ob-city-name {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.t2w-ob-city-desc {
    font-size: 13px;
    color: #6B7280;
}

.t2w-ob-city-count {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 4px;
}

/* ── v17.0: New Onboarding Flow ── */

/* City grid — list layout (replaces 2-col grid) */
.t2w-ob-city-grid {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    padding: 8px 16px 24px;
    max-width: none;
    grid-template-columns: none !important;
}
.t2w-ob-city-card {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    text-align: left;
    width: 100%;
}
.t2w-ob-city-card .t2w-ob-city-emoji {
    font-size: 32px;
    margin-bottom: 0;
    flex-shrink: 0;
    width: 48px;
    text-align: center;
}
.t2w-ob-city-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.t2w-ob-city-card .t2w-ob-city-name {
    font-size: 16px;
    font-weight: 700;
}
.t2w-ob-city-arrow {
    color: #D1D5DB;
    font-size: 14px;
    flex-shrink: 0;
    transition: color 0.2s;
}
.t2w-ob-city-card:hover .t2w-ob-city-arrow {
    color: #3B82F6;
}

/* "더보기" button */
.t2w-ob-show-all-cities {
    display: block;
    margin: 12px auto 0;
    padding: 10px 24px;
    border: 1.5px solid #E5E7EB;
    border-radius: 10px;
    background: #F9FAFB;
    color: #6B7280;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.t2w-ob-show-all-cities:hover {
    border-color: #3B82F6;
    color: #3B82F6;
    background: #EFF6FF;
}

/* Mode selection cards */
.t2w-ob-mode-dashboard {
    padding: 16px;
}
.t2w-ob-mode-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 14px;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    width: 100%;
    margin-bottom: 12px;
}
.t2w-ob-mode-card:hover {
    border-color: #3B82F6;
    box-shadow: 0 4px 16px rgba(59,130,246,0.15);
    transform: translateY(-2px);
}
.t2w-ob-mode-card:last-child {
    margin-bottom: 0;
}
.t2w-ob-mode-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
    flex-shrink: 0;
}
.t2w-ob-mode-ai .t2w-ob-mode-icon {
    background: linear-gradient(135deg, #FFB700, #FF8C00);
    color: #fff;
}
.t2w-ob-mode-manual .t2w-ob-mode-icon {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: #fff;
}
.t2w-ob-mode-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.t2w-ob-mode-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}
.t2w-ob-mode-desc {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.4;
}
.t2w-ob-mode-card > .fas.fa-chevron-right {
    color: #D1D5DB;
    font-size: 14px;
    flex-shrink: 0;
}
.t2w-ob-mode-card:hover > .fas.fa-chevron-right {
    color: #3B82F6;
}

/* AI Prefs step container */
.t2w-ob-ai-pref {
    padding: 16px;
}
.t2w-ob-ai-pref .t2w-info-section {
    margin-bottom: 20px;
}
.t2w-ob-ai-generate-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #FFB700, #FF8C00);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}
.t2w-ob-ai-generate-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255,183,0,0.3);
}

/* AI fallback buttons */
.t2w-ai-fallback-zone,
.t2w-ai-fallback-scratch {
    cursor: pointer;
}

/* Duration buttons — issue #8: all 5 in one row */
.t2w-ob-duration-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: flex-start;
    margin: 16px 0;
    max-width: 100%;
}

.t2w-ob-duration-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 70px;
    flex: 1;
    max-width: 90px;
}

.t2w-ob-duration-btn:hover {
    border-color: #3B82F6;
    background: #EFF6FF;
    transform: translateY(-2px);
}

.t2w-ob-dur-icon {
    font-size: 22px;
    margin-bottom: 4px;
}

.t2w-ob-dur-label {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

/* Duration quick-select in AI form (v11.1) */
.t2w-ob-dur-quick-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.t2w-ob-dur-quick-btn {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s;
}

.t2w-ob-dur-quick-btn:hover {
    border-color: #3B82F6;
    background: #EFF6FF;
    color: #1D4ED8;
}

.t2w-ob-dur-quick-btn--active {
    border-color: #3B82F6;
    background: #3B82F6;
    color: #fff;
}

.t2w-ob-dur-quick-btn--active:hover {
    background: #2563EB;
    border-color: #2563EB;
    color: #fff;
}

/* Compact participants in AI form (v11.1) */
.t2w-ob-pax-compact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.t2w-ob-pax-compact .t2w-ob-pax-row {
    margin-bottom: 0;
    padding: 4px 0;
}

/* Previous draft shortcut (P2-4) */
.t2w-ob-prev-draft {
    margin-bottom: 16px;
}
.t2w-ob-prev-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid #D1D5DB;
    background: linear-gradient(135deg, #F9FAFB, #fff);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
}
.t2w-ob-prev-btn:hover {
    border-color: #3B82F6;
    background: #EFF6FF;
}
.t2w-ob-prev-btn > i:first-child {
    color: #3B82F6;
    font-size: 16px;
}
.t2w-ob-prev-btn > i:last-child {
    color: #9CA3AF;
    font-size: 12px;
    margin-left: auto;
}
.t2w-ob-prev-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.t2w-ob-prev-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}
.t2w-ob-prev-meta {
    font-size: 12px;
    color: #6B7280;
}

/* AI Draft button (primary CTA) */
.t2w-ob-ai-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    margin: 16px 0 8px;
    box-shadow: 0 4px 14px rgba(109,40,217,0.3);
    transition: all 0.2s;
    width: 100%;
    max-width: 320px;
    justify-content: center;
}
.t2w-ob-ai-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109,40,217,0.4);
}
.t2w-ob-ai-btn:disabled {
    opacity: 0.8;
    cursor: wait;
}
.t2w-ob-ai-warning {
    color: #D97706;
    font-size: 13px;
    margin-top: 8px;
    padding: 8px 12px;
    background: #FFFBEB;
    border-radius: 8px;
    border: 1px solid #FDE68A;
}

/* Scratch button (secondary) */
.t2w-ob-scratch-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    background: #fff;
    color: #3B82F6;
    font-size: 14px;
    font-weight: 600;
    border: 1.5px solid #3B82F6;
    cursor: pointer;
    margin: 4px 0 16px;
    transition: all 0.2s;
}

.t2w-ob-scratch-btn:hover {
    background: #EFF6FF;
    transform: translateY(-1px);
}

/* Template cards */
.t2w-ob-tpl-label {
    font-size: 13px;
    color: #6B7280;
    margin: 16px 0 8px;
}

.t2w-ob-tpl-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.t2w-ob-tpl-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
}

.t2w-ob-tpl-card:hover {
    border-color: #3B82F6;
    background: #EFF6FF;
}

.t2w-ob-tpl-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #EFF6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3B82F6;
    font-size: 16px;
    flex-shrink: 0;
}

.t2w-ob-tpl-info {
    flex: 1;
    min-width: 0;
}

.t2w-ob-tpl-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.t2w-ob-tpl-meta {
    display: block;
    font-size: 13px;
    color: #9CA3AF;
}

/* Custom date section */
.t2w-ob-custom-date {
    margin-top: 16px;
}

.t2w-ob-custom-toggle {
    background: none;
    border: none;
    color: #3B82F6;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}

.t2w-ob-custom-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
    flex-wrap: wrap;
}

.t2w-ob-custom-confirm {
    padding: 8px 16px;
    border-radius: 8px;
    background: #3B82F6;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.t2w-ob-custom-confirm:hover {
    background: #2563EB;
}

/* ── Participants Counter (Onboarding Step 2) ── */
.t2w-ob-participants {
    max-width: 320px;
    margin: 20px auto 0;
    text-align: left;
}
.t2w-ob-pax-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    display: block;
    margin-bottom: 10px;
}
.t2w-ob-pax-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #F3F4F6;
}
.t2w-ob-pax-row:last-child {
    border-bottom: none;
}
.t2w-ob-pax-label {
    font-size: 14px;
    color: #374151;
}
.t2w-ob-pax-label small {
    font-size: 11px;
    color: #9CA3AF;
}
.t2w-ob-pax-ctrl {
    display: flex;
    align-items: center;
    gap: 12px;
}
.t2w-ob-pax-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #D1D5DB;
    background: #fff;
    font-size: 16px;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}
.t2w-ob-pax-btn:hover {
    border-color: #3B82F6;
    color: #3B82F6;
    background: #EFF6FF;
}
.t2w-ob-pax-val {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    min-width: 20px;
    text-align: center;
}

.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(--t2w-primary, #3B82F6);
    opacity: 0.6;
}

.t2w-tl-empty-day p {
    margin: 0 0 12px;
    font-size: 14px;
}

.t2w-tl-add-zone-inline {
    background: var(--t2w-primary, #3B82F6);
    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: #3B82F6;
}

.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(--t2w-primary, #3B82F6);
}

/* 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(--t2w-primary, #3B82F6);
}

/* 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(--t2w-primary, #3B82F6);
    background: var(--t2w-primary-light, #EFF6FF);
}

.t2w-panel-mode-btn i {
    font-size: 20px;
    color: var(--t2w-primary, #3B82F6);
    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;
}

.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(--t2w-primary, #3B82F6);
    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(--t2w-primary, #3B82F6);
    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(--t2w-primary, #3B82F6);
    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(--t2w-primary, #3B82F6);
    background: var(--t2w-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: #3B82F6;
    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: #3B82F6;
    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(--t2w-primary, #3B82F6);
}

.t2w-panel-cat-chip.active {
    background: var(--t2w-primary, #3B82F6);
    color: #fff;
    border-color: var(--t2w-primary, #3B82F6);
}

/* 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(--t2w-primary, #3B82F6);
}

.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(--t2w-primary, #3B82F6);
    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(--t2w-primary, #3B82F6);
}

/* ── 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(--t2w-primary, #3B82F6);
    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: #3B82F6;
    border-color: #3B82F6;
    background: #EFF6FF;
}

.t2w-mv-mode--active {
    color: #fff;
    background: #3B82F6;
    border-color: #3B82F6;
    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: #3B82F6;
    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: 11px;
    color: #3B82F6;
    text-decoration: none;
    padding: 4px 0 2px;
    margin-top: 2px;
    transition: color 0.15s;
}

.t2w-food-maps-link:hover {
    color: #2563EB;
    text-decoration: underline;
}

.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: #3B82F6;
    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: #3B82F6;
}

/* 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(--t2w-primary, #3B82F6);
    background: var(--t2w-primary-light, #EFF6FF);
}

.t2w-tl-tpl-card i {
    color: var(--t2w-primary, #3B82F6);
    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(--t2w-primary, #3B82F6);
}

.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(--t2w-primary, #3B82F6);
}

.t2w-panel-quote-type.active {
    border-color: var(--t2w-primary, #3B82F6);
    background: var(--t2w-primary-light, #EFF6FF);
    color: var(--t2w-primary, #3B82F6);
}

.t2w-panel-quote-type i {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.t2w-panel-quote-submit {
    margin-top: 4px;
    background: var(--t2w-primary, #3B82F6);
    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(--t2w-primary, #3B82F6);
    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(--t2w-primary, #3B82F6);
    border-color: var(--t2w-primary, #3B82F6);
}

.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: #3B82F6;
    color: #3B82F6;
    background: #EFF6FF;
}
.t2w-panel-place--selected .t2w-panel-place-add {
    border-color: #3B82F6;
    background: #3B82F6;
    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: #3B82F6;
    border-color: #3B82F6;
    background: #EFF6FF;
}

/* Place detail: select CTA button */
.t2w-pd-select-cta {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 16px;
    background: var(--t2w-primary, #3B82F6);
    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: #3B82F6;
    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: #3B82F6;
    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;
    }

    .t2w-ob-city-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── 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: #3B82F6;
    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: #3B82F6;
}
.t2w-zb-add-place:hover {
    background: #EFF6FF;
    border-color: #3B82F6;
    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: #3B82F6;
    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;
    }
    .t2w-ob-city-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 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: #3B82F6;
    transform: scale(1.4);
}

/* ══════════════════════════════════════════════
   v6.0 Day Action Bar + Quote Scope Selector
   ══════════════════════════════════════════════ */

/* Day action bar — minimal icon buttons (v7.4) */
.t2w-day-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 0;
    margin-top: 8px;
}

.t2w-day-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: transparent;
    color: #374151;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s;
}

.t2w-day-action-btn span {
    font-size: 13px;
}

.t2w-day-action-btn:hover {
    color: #3B82F6;
    border-color: #93C5FD;
    background: #EFF6FF;
}

.t2w-day-action-btn--quote {
    border-color: #FCD34D;
    color: #92400E;
    background: #FFFBEB;
}

.t2w-day-action-btn--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: #3B82F6;
    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: #3B82F6;
    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-onboarding {
        padding: 16px 12px;
    }
    .t2w-ob-title {
        font-size: 18px;
    }
    .t2w-ob-subtitle {
        font-size: 13px;
    }
    .t2w-ob-ai-btn {
        max-width: 100%;
        font-size: 14px;
        padding: 12px 20px;
    }
    .t2w-ob-scratch-btn {
        font-size: 13px;
        padding: 10px 20px;
    }
    .t2w-ob-duration-grid {
        gap: 8px;
    }
    .t2w-ob-duration-btn {
        padding: 10px 14px;
        min-width: 70px;
    }
    .t2w-ob-dur-icon {
        font-size: 18px;
    }
    .t2w-ob-dur-label {
        font-size: 12px;
    }
    .t2w-ob-participants {
        padding: 10px;
    }
    .t2w-ob-pax-title {
        font-size: 13px;
    }
    .t2w-ob-tpl-card {
        padding: 10px 12px;
    }
    .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-ob-city-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    .t2w-ob-city-grid.t2w-ob-city-grid--wide {
        display: flex !important;
        flex-direction: column;
    }
    .t2w-ob-ai-btn {
        max-width: 300px;
    }
    .t2w-ob-duration-grid {
        max-width: 360px;
    }
    .t2w-movement-card {
        padding: 4px 0;
    }
}

/* Desktop (≥1025px) */
@media (min-width: 1025px) {
    .t2w-ob-city-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 520px;
    }
    .t2w-ob-city-grid.t2w-ob-city-grid--wide {
        display: flex !important;
        flex-direction: column;
        max-width: none;
    }
    .t2w-ob-ai-btn {
        max-width: 320px;
    }
    .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: #3B82F6;
    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: #3B82F6;
    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: #3B82F6;
    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: #3B82F6;
    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;
}

/* ========================================
   ONBOARDING DASHBOARD (v7.5)
   ======================================== */

/* ── Context Bar ── */
.t2w-ob-context {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #F8FAFC;
    border-bottom: 1px solid #E5E7EB;
}
.t2w-ob-context .t2w-ob-back {
    position: static;
    background: none;
    border: 1px solid #E5E7EB;
    padding: 6px 10px;
    cursor: pointer;
    color: #374151;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.15s;
    flex-shrink: 0;
}
.t2w-ob-context .t2w-ob-back:hover {
    background: #F3F4F6;
    border-color: #D1D5DB;
    color: #111827;
}
.t2w-ob-context-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.t2w-ob-context-region {
    font-weight: 700;
    font-size: 15px;
    color: #111827;
}
.t2w-ob-context-sep {
    color: #D1D5DB;
    font-size: 14px;
}
.t2w-ob-context-detail {
    font-size: 14px;
    color: #6B7280;
}

/* ── Grid Active State (Step 3) ── */
.t2w-ob-active .t2w-v5-left {
    order: unset;
}
.t2w-ob-active .t2w-v5-right {
    order: unset;
}

/* ── Dashboard Content ── */
.t2w-ob-dashboard {
    padding: 16px 20px 24px;
}
.t2w-ob-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px 0;
}

/* ── Choice Cards (AI / Manual) ── */
.t2w-ob-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}
.t2w-ob-choice-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 18px;
    border-radius: 14px;
    cursor: pointer;
    text-align: left;
    transition: transform 0.15s, box-shadow 0.2s;
    border: none;
    font-family: inherit;
    min-height: 160px;
    justify-content: flex-start;
}
.t2w-ob-choice-card:hover {
    transform: translateY(-2px);
}
.t2w-ob-choice-card:active {
    transform: translateY(0);
}

/* AI card */
.t2w-ob-choice-card.t2w-ob-ai-btn {
    max-width: none;
    margin: 0;
    width: auto;
}
.t2w-ob-choice-ai {
    background: linear-gradient(135deg, #3B82F6, #6D28D9);
    color: #fff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}
.t2w-ob-choice-ai:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}
.t2w-ob-choice-ai .t2w-ob-choice-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.t2w-ob-choice-ai strong {
    font-size: 15px;
    font-weight: 700;
}
.t2w-ob-choice-ai p {
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
    opacity: 0.85;
}
.t2w-ob-choice-ai .t2w-ob-choice-cta {
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
    opacity: 0.9;
}

/* Manual card */
.t2w-ob-choice-manual {
    background: #fff;
    color: #111827;
    border: 1.5px solid #93C5FD;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.t2w-ob-choice-manual:hover {
    background: #EFF6FF;
    box-shadow: 0 3px 10px rgba(59,130,246,0.1);
}
.t2w-ob-choice-manual .t2w-ob-choice-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #EFF6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #3B82F6;
}
.t2w-ob-choice-manual strong {
    font-size: 15px;
    font-weight: 700;
}
.t2w-ob-choice-manual p {
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
    color: #6B7280;
}
.t2w-ob-choice-manual .t2w-ob-choice-cta {
    font-size: 13px;
    font-weight: 600;
    color: #3B82F6;
    margin-top: 4px;
}

/* ── Template Carousel ── */
.t2w-ob-tpl-section {
    margin-top: 8px;
}
/* Fill vertical space in dashboard */
.t2w-ob-active .t2w-v5-left .t2w-tl {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.t2w-ob-active .t2w-v5-left .t2w-ob-dashboard {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.t2w-ob-active .t2w-v5-left .t2w-ob-tpl-section {
    flex: 1;
}
.t2w-ob-tpl-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.t2w-ob-tpl-header > span {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}
.t2w-ob-tpl-nav {
    display: flex;
    gap: 6px;
}
.t2w-ob-tpl-nav button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #6B7280;
    transition: background 0.15s, color 0.15s;
}
.t2w-ob-tpl-nav button:hover {
    background: #F3F4F6;
    color: #111827;
}
.t2w-ob-tpl-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.t2w-ob-tpl-carousel::-webkit-scrollbar {
    display: none;
}
.t2w-ob-tpl-card {
    flex: 0 0 170px;
    scroll-snap-align: start;
    border-radius: 12px;
    padding: 16px 14px;
    border: 1px solid #E5E7EB;
    background: #fff;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    font-family: inherit;
}
.t2w-ob-tpl-card:hover {
    border-color: #3B82F6;
    box-shadow: 0 2px 8px rgba(59,130,246,0.15);
    transform: translateY(-1px);
}
.t2w-ob-tpl-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #EFF6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #3B82F6;
    margin-bottom: 4px;
}
.t2w-ob-tpl-name {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
}
.t2w-ob-tpl-meta {
    font-size: 12px;
    color: #9CA3AF;
}
.t2w-ob-tpl-pop {
    font-size: 11px;
    color: #F59E0B;
    font-weight: 600;
}
.t2w-ob-tpl-pop i {
    font-size: 10px;
}

/* ── AI Warning Toast ── */
.t2w-ob-ai-warning {
    margin-top: 8px;
    padding: 8px 12px;
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    border-radius: 8px;
    font-size: 13px;
    color: #92400E;
}

/* ── Mobile Onboarding (≤768px) ── */
@media (max-width: 768px) {
    .t2w-ob-active .t2w-v5-right {
        display: none;
    }
    .t2w-ob-active .t2w-v5-left {
        grid-column: 1 / -1;
        max-height: unset;
        overflow-y: auto;
    }
    .t2w-ob-active.t2w-v5-main {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }
    .t2w-ob-choices {
        grid-template-columns: 1fr;
    }
    .t2w-ob-tpl-card {
        flex: 0 0 150px;
    }
    .t2w-ob-dashboard {
        padding: 16px 14px 24px;
    }
}

/* ========================================
   v8.0 — UX UPGRADE
   ======================================== */

/* ── Quote CTA (bottom of timeline) ── */
.t2w-quote-cta {
    text-align: center;
    padding: 16px 0 8px;
    margin-top: 8px;
}

.t2w-quote-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.t2w-quote-cta-btn:hover {
    background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.t2w-quote-cta-note {
    margin: 8px 0 0;
    font-size: 12px;
    color: #94A3B8;
}

/* ── AI Preference Form (Step 3 redesign) ── */
.t2w-ob-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #94A3B8;
    font-size: 13px;
}

.t2w-ob-divider::before,
.t2w-ob-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E5E7EB;
}

.t2w-ob-scratch-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #3B82F6;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.15s;
}

.t2w-ob-scratch-link:hover {
    color: #2563EB;
    text-decoration: underline;
}

.t2w-ai-form {
    background: #FAFBFC;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    margin-top: 8px;
}

.t2w-ai-form-title {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px;
}

.t2w-ai-form-subtitle {
    font-size: 14px;
    color: #6B7280;
    margin: 0 0 16px;
}

.t2w-ai-form-section {
    margin-bottom: 16px;
}

.t2w-ai-form-section:last-child {
    margin-bottom: 0;
}

.t2w-ai-form-label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.t2w-ai-form-label i {
    font-size: 14px;
}

/* Date picker row */
.t2w-ai-date-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.t2w-ai-date-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 14px;
    color: #1E293B;
}

.t2w-ai-date-input:disabled {
    background: #F3F4F6;
    color: #9CA3AF;
}

.t2w-ai-date-sep {
    color: #94A3B8;
    font-size: 14px;
}

.t2w-ai-date-undecided {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6B7280;
    cursor: pointer;
}

.t2w-ai-date-undecided input[type="checkbox"] {
    accent-color: #3B82F6;
}

/* Style chips */
.t2w-ai-style-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.t2w-ai-style-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s;
}

.t2w-ai-style-chip:hover {
    border-color: #93C5FD;
    background: #F0F7FF;
}

.t2w-ai-style-chip--selected {
    border-color: #3B82F6;
    background: #EFF6FF;
    color: #1D4ED8;
    font-weight: 600;
}

.t2w-ai-style-chip .chip-emoji {
    font-size: 16px;
}

/* Pace toggle */
.t2w-ai-pace-toggle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.t2w-ai-pace-btn {
    padding: 10px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s;
}

.t2w-ai-pace-btn:hover {
    border-color: #93C5FD;
}

.t2w-ai-pace-btn--selected {
    border-color: #3B82F6;
    background: #EFF6FF;
    color: #1D4ED8;
    font-weight: 600;
}

/* Special request textarea */
.t2w-ai-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 14px;
    color: #1E293B;
    resize: vertical;
    min-height: 64px;
    max-height: 120px;
    font-family: inherit;
}

.t2w-ai-textarea::placeholder {
    color: #9CA3AF;
}

.t2w-ai-char-count {
    text-align: right;
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 4px;
}

/* Hidden fields (v8.1) */
.t2w-ai-form-section--hidden {
    display: none;
}

/* AI CTA button */
.t2w-ai-cta {
    text-align: center;
    margin-top: 20px;
}

.t2w-ai-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: #3B82F6;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    max-width: 60%;
    width: 100%;
    justify-content: center;
}

.t2w-ai-cta-btn:hover {
    background: #2563EB;
}

.t2w-ai-cta-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ── Zone Product Button (Feature 4, v8.2 solid) ── */
.t2w-zone-product-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    border: 1.5px solid #FCD34D;
    border-radius: 8px;
    background: #FFFBEB;
    color: #92400E;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.t2w-zone-product-btn:hover {
    background: #FEF3C7;
    border-color: #F59E0B;
    box-shadow: 0 2px 6px rgba(245,158,11,0.2);
}

.t2w-zone-product-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

/* Product list modal/panel */
.t2w-product-list {
    padding: 16px;
}

.t2w-product-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    justify-content: center;
}

.t2w-product-filter-btn {
    padding: 6px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    background: #fff;
    color: #6B7280;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s;
}

.t2w-product-filter-btn--active {
    background: #FEF3C7;
    border-color: #F59E0B;
    color: #92400E;
    font-weight: 600;
}

.t2w-product-card {
    padding: 14px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #fff;
}

.t2w-product-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.t2w-product-card-rating {
    font-size: 13px;
    color: #F59E0B;
    margin-bottom: 4px;
}

.t2w-product-card-price {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.t2w-product-card-price small {
    font-size: 12px;
    color: #9CA3AF;
    font-weight: 400;
}

.t2w-product-card-duration {
    font-size: 13px;
    color: #6B7280;
    margin-top: 2px;
}

.t2w-product-card-action {
    margin-top: 8px;
}

.t2w-product-card-action a {
    font-size: 13px;
    color: #3B82F6;
    text-decoration: none;
    font-weight: 500;
}

.t2w-product-card-action a:hover {
    text-decoration: underline;
}

.t2w-product-empty {
    text-align: center;
    padding: 24px;
    color: #9CA3AF;
    font-size: 14px;
}

@media (max-width: 640px) {
    .t2w-ai-style-grid {
        grid-template-columns: 1fr 1fr;
    }
    .t2w-ai-cta-btn {
        max-width: 100%;
    }
    .t2w-day-action-btn span {
        display: none;
    }
}

/* ========================================
   DARK MODE — V5+ COMPLETE OVERHAUL (v8.1)
   ======================================== */

/* --- V5 Main Grid --- */
[data-theme="dark"] .t2w-v5-left {
    background: #0F172A;
    border-color: #334155;
}

/* --- Calendar --- */
[data-theme="dark"] .t2w-cal {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] .t2w-cal-nav-btn {
    color: #E2E8F0;
    background: #334155;
    border-color: #475569;
}
[data-theme="dark"] .t2w-cal-range {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-cal-day {
    background: #1E293B;
    border-color: #334155;
    color: #CBD5E1;
}
[data-theme="dark"] .t2w-cal-day--active {
    background: #3B82F6;
    border-color: #3B82F6;
    color: #fff;
}
[data-theme="dark"] .t2w-cal-day--has-zones {
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-cal-dow {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-cal-date {
    color: inherit;
}
[data-theme="dark"] .t2w-cal-label {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-cal-weather {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-cal-view-btn {
    background: #334155;
    color: #CBD5E1;
    border-color: #475569;
}

/* --- Timeline Header --- */
[data-theme="dark"] .t2w-tl-header {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] .t2w-tl-date {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-gauge-label,
[data-theme="dark"] .t2w-gauge-detail {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-gauge-pct {
    color: #60A5FA;
}

/* --- Timeline Body --- */
[data-theme="dark"] .t2w-tl-body {
    background: #0F172A;
}

/* --- Timeline Spine --- */
[data-theme="dark"] .t2w-card-list::before {
    background: linear-gradient(to bottom, #60A5FA 0%, #3B82F6 60%, transparent 100%);
}

/* --- Zone Cards --- */
[data-theme="dark"] .t2w-zone-card {
    background: #1E293B;
    border-color: #334155;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
[data-theme="dark"] .t2w-zone-card:hover {
    box-shadow: 0 4px 16px rgba(59,130,246,0.25);
    border-color: #60A5FA;
}
[data-theme="dark"] .t2w-zone-card--free {
    border-left-color: #60A5FA;
    background: linear-gradient(135deg, #172554, #1E293B 40%);
}
[data-theme="dark"] .t2w-zone-card--tour {
    border-left-color: #FBBF24;
    background: linear-gradient(135deg, #422006, #1E293B 40%);
}
[data-theme="dark"] .t2w-zone-card--pending {
    border-left-color: #64748B;
}
[data-theme="dark"] .t2w-zone-card::after {
    border-color: #1E293B;
}
[data-theme="dark"] .t2w-zone-card-name {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-zone-card-time {
    color: #60A5FA;
}
[data-theme="dark"] .t2w-zone-card-duration {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-zone-card-grip {
    color: #475569;
}
[data-theme="dark"] .t2w-zone-card-delete {
    color: #64748B;
}
[data-theme="dark"] .t2w-zone-card-delete:hover {
    color: #F87171;
}
[data-theme="dark"] .t2w-zone-card-places {
    background: #172554;
    color: #60A5FA;
}
[data-theme="dark"] .t2w-zone-card-rating {
    color: #FBBF24;
}
[data-theme="dark"] .t2w-zone-card-mode {
    color: #94A3B8;
}

/* --- Zone Card Body (expanded) --- */
[data-theme="dark"] .t2w-zone-card-body {
    border-color: #334155;
}
[data-theme="dark"] .t2w-place-row {
    background: #0F172A;
    border-color: #334155;
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-place-row-num {
    background: #334155;
    color: #60A5FA;
}
[data-theme="dark"] .t2w-place-row-name {
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-place-row-time {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-place-row-remove {
    color: #64748B;
}
[data-theme="dark"] .t2w-place-row-move {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-zone-card-add-place {
    background: transparent;
    border-color: #334155;
    color: #60A5FA;
}
[data-theme="dark"] .t2w-zone-card-add-place:hover {
    background: #172554;
    border-color: #60A5FA;
}
[data-theme="dark"] .t2w-zone-card-products {
    border-color: #92400E;
    color: #FBBF24;
}

/* --- Movement Card --- */
[data-theme="dark"] .t2w-mv-content {
    background: #172554;
    border-color: #1E40AF;
}
[data-theme="dark"] .t2w-mv-mode {
    background: #1E293B;
    border-color: #475569;
    color: #94A3B8;
}
[data-theme="dark"] .t2w-mv-mode:hover {
    color: #60A5FA;
    border-color: #60A5FA;
    background: #172554;
}
[data-theme="dark"] .t2w-mv-mode--active {
    color: #fff;
    background: #3B82F6;
    border-color: #3B82F6;
}
[data-theme="dark"] .t2w-mv-duration {
    color: #60A5FA;
}
[data-theme="dark"] .t2w-mv-distance {
    color: #93C5FD;
}
[data-theme="dark"] .t2w-mv-distance::before {
    color: #475569;
}

/* --- Add Zone Button --- */
[data-theme="dark"] .t2w-card-add-zone,
[data-theme="dark"] .t2w-tl-add-zone-inline {
    background: transparent;
    border-color: #334155;
    color: #60A5FA;
}
[data-theme="dark"] .t2w-card-add-zone:hover,
[data-theme="dark"] .t2w-tl-add-zone-inline:hover {
    background: #172554;
    border-color: #60A5FA;
}

/* --- Accommodation Card --- */
[data-theme="dark"] .t2w-accom-card {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] .t2w-accom-icon {
    color: #FBBF24;
}
[data-theme="dark"] .t2w-accom-title {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-accom-area {
    color: #CBD5E1;
}
[data-theme="dark"] .t2w-accom-price {
    color: #CBD5E1;
}
[data-theme="dark"] .t2w-accom-link {
    color: #60A5FA;
}

/* --- Action Buttons (Save/Share/Quote) --- */
[data-theme="dark"] .t2w-day-action-btn {
    background: #1E293B;
    border-color: #334155;
    color: #CBD5E1;
}
[data-theme="dark"] .t2w-day-action-btn:hover {
    background: #334155;
    border-color: #475569;
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-quote-cta-btn {
    color: #1C1917;
}
[data-theme="dark"] .t2w-quote-cta-note {
    color: #94A3B8;
}

/* --- Cost Bar --- */
[data-theme="dark"] .t2w-cost,
[data-theme="dark"] .t2w-cost-bar {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] .t2w-cost-label {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-cost-value,
[data-theme="dark"] .t2w-cost-total {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-cost-krw,
[data-theme="dark"] .t2w-krw {
    color: #94A3B8;
}

/* --- Empty State --- */
[data-theme="dark"] .t2w-tl-empty-day {
    border-color: #334155;
    color: #CBD5E1;
}
[data-theme="dark"] .t2w-tl-empty-day h3 {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-tl-empty-day p {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-tl-empty-icon {
    background: linear-gradient(135deg, #172554, #1E3A5F);
}
[data-theme="dark"] .t2w-tl-empty-step {
    color: #CBD5E1;
}

/* --- Templates --- */
[data-theme="dark"] .t2w-tl-tpl-card {
    background: #1E293B;
    border-color: #334155;
    color: #CBD5E1;
}
[data-theme="dark"] .t2w-tl-tpl-card:hover {
    border-color: #60A5FA;
    background: #172554;
}
[data-theme="dark"] .t2w-tl-tpl-label {
    color: #94A3B8;
}

/* --- Transport Toggle (global) --- */
[data-theme="dark"] .t2w-transport-toggle {
    background: #0F172A;
}

/* --- Gauge Bar --- */
[data-theme="dark"] .t2w-gauge-bar {
    background: #334155;
}

/* --- Onboarding Wizard in Dark Mode --- */
[data-theme="dark"] .t2w-ob-card {
    background: #1E293B;
    border-color: #334155;
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-ob-title {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-ob-subtitle {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-ob-state-card {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] .t2w-ob-state-name {
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-ob-city-card {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] .t2w-ob-city-card:hover {
    border-color: #60A5FA;
    background: #172554;
}
[data-theme="dark"] .t2w-ob-city-name {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-ob-city-desc {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-ob-progress-bg {
    background: #334155;
}

/* --- AI Draft Form --- */
[data-theme="dark"] .t2w-ai-prefs-form {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] .t2w-ai-prefs-form label {
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-ai-prefs-form input,
[data-theme="dark"] .t2w-ai-prefs-form textarea,
[data-theme="dark"] .t2w-ai-prefs-form select {
    background: #0F172A;
    border-color: #475569;
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-ai-style-chip {
    background: #0F172A;
    border-color: #475569;
    color: #CBD5E1;
}
[data-theme="dark"] .t2w-ai-style-chip.selected {
    background: #172554;
    border-color: #3B82F6;
    color: #60A5FA;
}
[data-theme="dark"] .t2w-ai-pace-toggle {
    background: #0F172A;
}
[data-theme="dark"] .t2w-ai-pace-opt {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-ai-pace-opt.active {
    color: #F1F5F9;
    background: #334155;
}

/* --- Panel (Place Detail) Dark --- */
[data-theme="dark"] .t2w-panel {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] .t2w-panel-header {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] .t2w-panel-title {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-panel-close {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-panel-zone-card {
    background: #0F172A;
    border-color: #334155;
}
[data-theme="dark"] .t2w-panel-zone-card:hover {
    border-color: #60A5FA;
}
[data-theme="dark"] .t2w-panel-zone-name {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-panel-zone-desc {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-panel-place-card {
    background: #0F172A;
    border-color: #334155;
}
[data-theme="dark"] .t2w-panel-place-card:hover {
    border-color: #60A5FA;
}
[data-theme="dark"] .t2w-panel-place-name {
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-panel-place-meta {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-panel-tab {
    background: #0F172A;
    border-color: #334155;
    color: #94A3B8;
}
[data-theme="dark"] .t2w-panel-tab.active {
    background: #1E293B;
    color: #60A5FA;
    border-color: #60A5FA;
}

/* --- Product Modal Dark --- */
[data-theme="dark"] .t2w-product-modal-body {
    background: #1E293B;
}
[data-theme="dark"] .t2w-product-card {
    background: #0F172A;
    border-color: #334155;
}
[data-theme="dark"] .t2w-product-card-title {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-product-card-desc {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-product-empty {
    color: #64748B;
}

/* ========================================
   DARK MODE — CALENDAR + PLACE ROWS (v8.1 patch)
   ======================================== */

/* --- Calendar Container --- */
[data-theme="dark"] .t2w-cal {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] .t2w-cal-title {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-cal-prev,
[data-theme="dark"] .t2w-cal-next {
    color: #E2E8F0;
    border-color: #475569;
    background: #334155;
}
[data-theme="dark"] .t2w-cal-prev:hover,
[data-theme="dark"] .t2w-cal-next:hover {
    background: #475569;
}
[data-theme="dark"] .t2w-cal-overview {
    color: #CBD5E1;
    border-color: #475569;
    background: #334155;
}

/* --- Calendar Day Chips --- */
[data-theme="dark"] .t2w-cal-day {
    color: #CBD5E1;
}
[data-theme="dark"] .t2w-cal-day:hover {
    background: #334155;
}
[data-theme="dark"] .t2w-cal-day-label {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-cal-day-num {
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-cal-day--trip {
    background: #172554;
}
[data-theme="dark"] .t2w-cal-day--trip .t2w-cal-day-label {
    color: #60A5FA;
}
[data-theme="dark"] .t2w-cal-day--trip .t2w-cal-day-num {
    color: #93C5FD;
}
[data-theme="dark"] .t2w-cal-day--active {
    background: #3B82F6;
    color: #fff;
}
[data-theme="dark"] .t2w-cal-day--active .t2w-cal-day-label,
[data-theme="dark"] .t2w-cal-day--active .t2w-cal-day-num {
    color: #fff;
}
[data-theme="dark"] .t2w-cal-day--outside {
    opacity: 0.45;
    color: #64748B;
}
[data-theme="dark"] .t2w-cal-day-daynum {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-cal-weather {
    color: #94A3B8;
}

/* --- Place Rows inside Zone Cards --- */
[data-theme="dark"] .t2w-zb-place-row {
    background: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .t2w-zb-place-row:hover {
    background: rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .t2w-zb-place-name {
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-zb-place-time {
    color: #CBD5E1;
}
[data-theme="dark"] .t2w-zb-place-remove {
    background: rgba(255, 255, 255, 0.08);
    color: #64748B;
}
[data-theme="dark"] .t2w-zb-place-remove:hover {
    color: #fff;
    background: #EF4444;
}
[data-theme="dark"] .t2w-zb-place-gap {
    color: #94A3B8;
}

/* --- Zone Card Add Place + Products Buttons --- */
[data-theme="dark"] .t2w-zone-card-add-place,
[data-theme="dark"] .t2w-zb-add-place {
    background: transparent;
    border-color: #334155;
    color: #60A5FA;
}
[data-theme="dark"] .t2w-zone-card-add-place:hover,
[data-theme="dark"] .t2w-zb-add-place:hover {
    background: #172554;
    border-color: #60A5FA;
}
[data-theme="dark"] .t2w-zone-card-products,
[data-theme="dark"] .t2w-zb-products-btn,
[data-theme="dark"] .t2w-zone-product-btn {
    border-color: #92400E;
    color: #FBBF24;
    background: rgba(251, 191, 36, 0.06);
}
[data-theme="dark"] .t2w-zb-products-btn:hover,
[data-theme="dark"] .t2w-zone-product-btn:hover {
    background: rgba(251, 191, 36, 0.12);
    border-color: #FBBF24;
}

/* --- Gauge Tip --- */
[data-theme="dark"] .t2w-gauge-tip {
    color: #94A3B8;
}

/* --- Gauge Detail Text --- */
[data-theme="dark"] .t2w-gauge-text {
    color: #94A3B8;
}

/* --- Planner background override --- */
[data-theme="dark"] .t2w-planner-v2 {
    --t2w-text: #F1F5F9;
    --t2w-text-secondary: #94A3B8;
    --t2w-bg-hover: #334155;
}

/* --- Accommodation Card (accom) --- */
[data-theme="dark"] .t2w-accom-wrap {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] .t2w-accom-wrap h4 {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-accom-wrap .t2w-accom-area-name {
    color: #CBD5E1;
}
[data-theme="dark"] .t2w-accom-wrap .t2w-accom-price-range {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-accom-wrap .t2w-accom-krw {
    color: #64748B;
}
[data-theme="dark"] .t2w-accom-wrap a {
    color: #60A5FA;
}

/* --- Day Actions Row --- */
[data-theme="dark"] .t2w-day-actions {
    border-color: #334155;
}

/* --- Onboarding Region Selection Grid --- */
[data-theme="dark"] .t2w-ob-state-card:hover {
    background: #334155;
    border-color: #60A5FA;
}

/* --- Block Hints --- */
[data-theme="dark"] .t2w-block-hint {
    background: #334155;
}
[data-theme="dark"] .t2w-block-hint::after {
    background: #334155;
}

/* ========================================
   v8.5 DARK THEME — GOLD ACCENT OVERHAUL
   ======================================== */

/* ── Core: Gold primary override ── */
[data-theme="dark"] .t2w-planner-v2 {
    --t2w-primary: #FFB700;
    --t2w-primary-light: rgba(255, 183, 0, 0.12);
    --t2w-bg: #0F172A;
    --t2w-bg-card: #1E293B;
    --t2w-bg-elevated: #334155;
    --t2w-border: #334155;
    --t2w-blue: #3B82F6;
    background: #0F172A;
    color: #E2E8F0;
}

/* ── Calendar: Gold active day ── */
[data-theme="dark"] .t2w-cal-day--trip {
    background: rgba(255, 183, 0, 0.12);
}
[data-theme="dark"] .t2w-cal-day--trip .t2w-cal-day-label {
    color: #FFB700;
}
[data-theme="dark"] .t2w-cal-day--trip .t2w-cal-day-num {
    color: #FFB700;
}
[data-theme="dark"] .t2w-cal-day--active {
    background: #FFB700;
    color: #0F172A;
    box-shadow: 0 2px 8px rgba(255, 183, 0, 0.35);
}
[data-theme="dark"] .t2w-cal-day--active .t2w-cal-day-label,
[data-theme="dark"] .t2w-cal-day--active .t2w-cal-day-num,
[data-theme="dark"] .t2w-cal-day--active .t2w-cal-day-daynum {
    color: #0F172A;
}
[data-theme="dark"] .t2w-cal-day--active:hover {
    background: #E5A400;
}

/* ── Timeline header ── */
[data-theme="dark"] .t2w-tl-header {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] .t2w-tl-date {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-tl-add-zone {
    background: #FFB700;
    color: #0F172A;
}
[data-theme="dark"] .t2w-tl-add-zone:hover {
    background: #E5A400;
}

/* ── Timeline spine ── */
[data-theme="dark"] .t2w-card-list::before {
    background: linear-gradient(to bottom, #FFB700 0%, rgba(255, 183, 0, 0.3) 60%, transparent 100%);
}

/* ── Zone Card: dark bg + gold accents ── */
[data-theme="dark"] .t2w-zone-card {
    background: #1E293B;
    border-color: #334155;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .t2w-zone-card:hover {
    border-color: rgba(255, 183, 0, 0.4);
    box-shadow: 0 4px 16px rgba(255, 183, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .t2w-zone-card::after {
    background: #FFB700;
    border-color: #1E293B;
    box-shadow: 0 0 0 2px #FFB700;
}
[data-theme="dark"] .t2w-zone-card-name {
    color: #F1F5F9;
}

/* ── Zone Time Pill (v8.5 new element) ── */
.t2w-zone-card-time-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    background: #FFB700;
    color: #0F172A;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
/* Light theme fallback */
.t2w-planner-v2:not([data-theme="dark"]) .t2w-zone-card-time-pill {
    background: #3B82F6;
    color: #fff;
}

/* ── Zone Type Badge (v8.5 new element) ── */
.t2w-zone-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #94A3B8;
    white-space: nowrap;
}
.t2w-zone-type-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dot-color, #6B7280);
    flex-shrink: 0;
}
.t2w-planner-v2:not([data-theme="dark"]) .t2w-zone-type-badge {
    color: #6B7280;
}

/* ── Zone Card meta & duration ── */
[data-theme="dark"] .t2w-zone-card-duration {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-zone-card-places {
    background: rgba(255, 183, 0, 0.12);
    color: #FFB700;
}
[data-theme="dark"] .t2w-zone-card-rating {
    color: #FFB700;
}
[data-theme="dark"] .t2w-zone-card-desc {
    color: #64748B;
}
[data-theme="dark"] .t2w-zone-card-grip {
    color: #64748B;
}
[data-theme="dark"] .t2w-zone-card-grip:hover {
    color: #CBD5E1;
}

/* ── Zone Card mode colors ── */
[data-theme="dark"] .t2w-zone-card--free {
    border-left: 4px solid #3B82F6;
    background: linear-gradient(135deg, #1E3A5F, #1E293B 40%);
}
[data-theme="dark"] .t2w-zone-card--tour {
    border-left: 4px solid #FFB700;
}
[data-theme="dark"] .t2w-zone-card--pending {
    border-left: 4px solid #475569;
}
[data-theme="dark"] .t2w-zone-block-mode {
    color: #94A3B8;
}

/* ── Zone Card delete button ── */
[data-theme="dark"] .t2w-zone-block-delete {
    color: #64748B;
}
[data-theme="dark"] .t2w-zone-block-delete:hover {
    color: #EF4444;
    background: rgba(239, 68, 68, 0.12);
}

/* ── Movement card ── */
[data-theme="dark"] .t2w-movement-card {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-mv-line {
    background: #334155;
}
[data-theme="dark"] .t2w-mv-mode {
    background: #0F172A;
    border-color: #334155;
    color: #64748B;
}
[data-theme="dark"] .t2w-mv-mode:hover {
    color: #FFB700;
    border-color: #FFB700;
    background: rgba(255, 183, 0, 0.08);
}
[data-theme="dark"] .t2w-mv-mode--active {
    color: #0F172A;
    background: #FFB700;
    border-color: #FFB700;
    box-shadow: 0 2px 6px rgba(255, 183, 0, 0.3);
}
[data-theme="dark"] .t2w-mv-duration {
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-mv-distance {
    color: #64748B;
}

/* ── V5 Left (timeline panel) ── */
[data-theme="dark"] .t2w-v5-left {
    background: #0F172A;
    border-color: #334155;
}

/* ── Empty State ── */
[data-theme="dark"] .t2w-tl-empty-day {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-tl-empty-icon {
    background: linear-gradient(135deg, rgba(255, 183, 0, 0.15), rgba(255, 183, 0, 0.06));
}
[data-theme="dark"] .t2w-tl-empty-icon i {
    color: #FFB700;
}
[data-theme="dark"] .t2w-tl-empty-day h3 {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-tl-empty-day p {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-tl-add-zone-inline {
    background: #FFB700;
    color: #0F172A;
    border: none;
    font-weight: 700;
}
[data-theme="dark"] .t2w-tl-add-zone-inline:hover {
    background: #E5A400;
}

/* ── "여행지 추가" bottom button ── */
[data-theme="dark"] .t2w-card-add-zone {
    background: transparent;
    border: 2px dashed #334155;
    color: #94A3B8;
}
[data-theme="dark"] .t2w-card-add-zone:hover {
    border-color: #FFB700;
    color: #FFB700;
    background: rgba(255, 183, 0, 0.06);
}

/* ── Template cards ── */
[data-theme="dark"] .t2w-tl-tpl-label {
    color: #64748B;
}
[data-theme="dark"] .t2w-tl-tpl-card {
    background: #1E293B;
    border-color: #334155;
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-tl-tpl-card:hover {
    border-color: #FFB700;
    background: rgba(255, 183, 0, 0.08);
}
[data-theme="dark"] .t2w-tl-tpl-card i {
    color: #FFB700;
}
[data-theme="dark"] .t2w-tl-tpl-card small {
    color: #64748B;
}

/* ── Gauge ── */
[data-theme="dark"] .t2w-gauge-bar {
    background: #334155;
}
[data-theme="dark"] .t2w-gauge-label {
    color: #94A3B8;
}

/* ── Cost bar ── */
[data-theme="dark"] .t2w-cost {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] .t2w-cost-label {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-cost-total {
    color: #FFB700;
    font-weight: 800;
}
[data-theme="dark"] .t2w-cost-item {
    color: #94A3B8;
}

/* ── Day Actions ── */
[data-theme="dark"] .t2w-day-action-btn {
    background: #1E293B;
    border-color: #334155;
    color: #94A3B8;
}
[data-theme="dark"] .t2w-day-action-btn:hover {
    color: #FFB700;
    border-color: #FFB700;
    background: rgba(255, 183, 0, 0.08);
}

/* ── Quote CTA ── */
[data-theme="dark"] .t2w-quote-cta-btn {
    background: linear-gradient(135deg, #FFB700, #F59E0B);
    color: #0F172A;
}
[data-theme="dark"] .t2w-quote-cta-btn:hover {
    background: linear-gradient(135deg, #E5A400, #D97706);
}
[data-theme="dark"] .t2w-quote-cta-note {
    color: #64748B;
}

/* ── Modal ── */
[data-theme="dark"] .t2w-modal-overlay {
    background: rgba(0, 0, 0, 0.8);
}
[data-theme="dark"] .t2w-modal {
    background: #1E293B;
    border-color: #334155;
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-modal-header {
    border-color: #334155;
}
[data-theme="dark"] .t2w-modal-title {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-modal-footer {
    border-color: #334155;
}
[data-theme="dark"] .t2w-modal-btn.t2w-btn-primary {
    background: #FFB700;
    color: #0F172A;
}

/* ── Toast ── */
[data-theme="dark"] .t2w-toast {
    background: #334155;
    color: #E2E8F0;
    border-color: #475569;
}

/* ── Loading spinner ── */
[data-theme="dark"] .t2w-loading-spinner {
    border-color: #334155;
    border-top-color: #FFB700;
}

/* ── Onboarding: dark ── */
[data-theme="dark"] .t2w-onboarding {
    background: #0F172A;
}
[data-theme="dark"] .t2w-ob-title {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-ob-subtitle {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-ob-state-card {
    background: #1E293B;
    border-color: #334155;
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-ob-state-card:hover {
    border-color: #FFB700;
    background: rgba(255, 183, 0, 0.06);
}
[data-theme="dark"] .t2w-ob-state-name {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-ob-state-desc {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-ob-state-count {
    color: #64748B;
}
[data-theme="dark"] .t2w-ob-city-card {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] .t2w-ob-city-card:hover {
    border-color: #FFB700;
    background: rgba(255, 183, 0, 0.06);
}
[data-theme="dark"] .t2w-ob-city-name {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-ob-city-desc {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-ob-city-count {
    color: #64748B;
}
[data-theme="dark"] .t2w-ob-duration-btn {
    background: #1E293B;
    border-color: #334155;
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-ob-duration-btn:hover,
[data-theme="dark"] .t2w-ob-duration-btn.active {
    border-color: #FFB700;
    background: rgba(255, 183, 0, 0.12);
    color: #FFB700;
}
[data-theme="dark"] .t2w-ob-dur-label {
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-ob-dur-desc {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-ob-ai-btn {
    background: linear-gradient(135deg, #FFB700, #F59E0B);
    color: #0F172A;
}
[data-theme="dark"] .t2w-ob-scratch-btn {
    background: transparent;
    border-color: #FFB700;
    color: #FFB700;
}
[data-theme="dark"] .t2w-ob-scratch-btn:hover {
    background: rgba(255, 183, 0, 0.08);
}
[data-theme="dark"] .t2w-ob-tpl-card {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] .t2w-ob-tpl-card:hover {
    border-color: #FFB700;
    background: rgba(255, 183, 0, 0.06);
}
[data-theme="dark"] .t2w-ob-prev-btn {
    background: #334155;
    color: #E2E8F0;
    border: none;
}
[data-theme="dark"] .t2w-ob-prev-btn:hover {
    background: #475569;
}

/* ── Onboarding Dashboard (v7.5) ── */
[data-theme="dark"] .t2w-ob-context {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] .t2w-ob-context .t2w-ob-back {
    border-color: #334155;
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-ob-context .t2w-ob-back:hover {
    background: #334155;
}
[data-theme="dark"] .t2w-ob-context-region {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-ob-context-detail {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-ob-context-sep {
    color: #475569;
}
[data-theme="dark"] .t2w-ob-section-title {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-ob-choice-manual {
    background: #1E293B;
    border-color: #334155;
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-ob-choice-manual:hover {
    background: rgba(255, 183, 0, 0.06);
    border-color: #FFB700;
}
[data-theme="dark"] .t2w-ob-choice-manual .t2w-ob-choice-icon {
    background: rgba(255, 183, 0, 0.12);
    color: #FFB700;
}
[data-theme="dark"] .t2w-ob-choice-manual p {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-ob-choice-manual .t2w-ob-choice-cta {
    color: #FFB700;
}
[data-theme="dark"] .t2w-ob-choice-ai {
    background: linear-gradient(135deg, #FFB700, #F59E0B);
    color: #0F172A;
}
[data-theme="dark"] .t2w-ob-choice-ai:hover {
    box-shadow: 0 6px 20px rgba(255, 183, 0, 0.35);
}

/* ── Bottom sheet (mobile) ── */
@media (max-width: 768px) {
    [data-theme="dark"] .t2w-bs-handle {
        background: #1E293B;
        border-color: #334155;
    }
    [data-theme="dark"] .t2w-bs-summary {
        color: #E2E8F0;
    }
    [data-theme="dark"] .t2w-bs-chevron {
        color: #64748B;
    }
    [data-theme="dark"] .t2w-cost {
        background: #1E293B;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
    }
}

/* ── Panel: Gold hover ── */
[data-theme="dark"] .t2w-panel-zone-card:hover {
    border-color: #FFB700;
}
[data-theme="dark"] .t2w-panel-zone-card--added {
    border-color: #FFB700;
    background: rgba(255, 183, 0, 0.08);
}
[data-theme="dark"] .t2w-panel-zone-card--added::after {
    background: #FFB700;
}
[data-theme="dark"] .t2w-panel-cat-chip.active {
    background: #FFB700;
    border-color: #FFB700;
    color: #0F172A;
}
[data-theme="dark"] .t2w-panel-cat-chip {
    background: #0F172A;
    border-color: #334155;
    color: #94A3B8;
}
[data-theme="dark"] .t2w-panel-cat-chip:hover {
    border-color: #FFB700;
}
[data-theme="dark"] .t2w-panel-place-add:hover {
    border-color: #FFB700;
    color: #FFB700;
    background: rgba(255, 183, 0, 0.08);
}
[data-theme="dark"] .t2w-panel-place--selected {
    border-color: #FFB700;
    background: rgba(255, 183, 0, 0.06);
    border-left-color: #FFB700;
}
[data-theme="dark"] .t2w-panel-place--selected .t2w-panel-place-add {
    border-color: #FFB700;
    background: #FFB700;
    color: #0F172A;
}

/* ── Custom scrollbar (dark) ── */
[data-theme="dark"] .t2w-v5-left::-webkit-scrollbar {
    width: 6px;
}
[data-theme="dark"] .t2w-v5-left::-webkit-scrollbar-track {
    background: #0F172A;
}
[data-theme="dark"] .t2w-v5-left::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 3px;
}
[data-theme="dark"] .t2w-v5-left::-webkit-scrollbar-thumb:hover {
    background: #475569;
}
[data-theme="dark"] .t2w-panel-content::-webkit-scrollbar {
    width: 4px;
}
[data-theme="dark"] .t2w-panel-content::-webkit-scrollbar-track {
    background: #1E293B;
}
[data-theme="dark"] .t2w-panel-content::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 2px;
}

/* ── Picker: State/Region cards dark gold ── */
[data-theme="dark"] .t2w-picker-state-card {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] .t2w-picker-state-card:hover {
    border-color: #FFB700;
    box-shadow: 0 2px 8px rgba(255, 183, 0, 0.12);
}
[data-theme="dark"] .t2w-picker-state-card--current {
    border-color: #FFB700;
    background: rgba(255, 183, 0, 0.08);
}
[data-theme="dark"] .t2w-picker-state-icon {
    background: rgba(255, 183, 0, 0.12);
    color: #FFB700;
}
[data-theme="dark"] .t2w-picker-state-info strong {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-picker-state-info span {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-picker-region-card {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] .t2w-picker-region-card:hover {
    border-color: #FFB700;
    box-shadow: 0 2px 8px rgba(255, 183, 0, 0.12);
}
[data-theme="dark"] .t2w-picker-region-card--current {
    border-color: #FFB700;
    background: rgba(255, 183, 0, 0.08);
}
[data-theme="dark"] .t2w-picker-region-icon {
    background: rgba(255, 183, 0, 0.12);
    color: #FFB700;
}
[data-theme="dark"] .t2w-picker-region-info strong {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-picker-hint {
    color: #64748B;
}

/* ── Place number badge → gold for non-tour ── */
[data-theme="dark"] .t2w-zb-place-num {
    background: #FFB700;
    color: #0F172A;
}

/* ── Weather strip dark ── */
[data-theme="dark"] .t2w-weather-day {
    background: #1E293B;
    border-color: #334155;
}
[data-theme="dark"] .t2w-wd-temp {
    color: #E2E8F0;
}

/* ── Calendar setup dark ── */
[data-theme="dark"] .t2w-cal-setup-title {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-cal-date-input {
    background: #1E293B;
    border-color: #334155;
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-cal-datepicker-confirm {
    background: #FFB700;
    color: #0F172A;
}
[data-theme="dark"] .t2w-cal-datepicker-confirm:hover {
    background: #E5A400;
}
[data-theme="dark"] .t2w-cal-region-btn {
    background: #1E293B;
    border-color: #334155;
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-cal-region-btn:hover {
    border-color: #FFB700;
}
[data-theme="dark"] .t2w-cal-region-btn.active {
    border-color: #FFB700;
    background: rgba(255, 183, 0, 0.12);
    color: #FFB700;
}

/* ── Drag & Drop dark ── */
[data-theme="dark"] .t2w-zone-card--dragging {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    z-index: 100;
}
[data-theme="dark"] .t2w-zone-card--drop-target {
    outline-color: #FFB700;
    box-shadow: 0 0 0 2px rgba(255, 183, 0, 0.3);
}

/* ── Map highlight pulse → gold ── */
[data-theme="dark"] .t2w-zone-card--map-highlight {
    box-shadow: 0 0 0 3px rgba(255, 183, 0, 0.4);
}

/* ── Accommodation card dark ── */
[data-theme="dark"] .t2w-accom-card {
    background: linear-gradient(135deg, #1E293B, #0F172A);
    border-color: #334155;
}
[data-theme="dark"] .t2w-accom-title {
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-accom-area {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-accom-price {
    color: #64748B;
}

/* ── Overview grid dark ── */
[data-theme="dark"] .t2w-ov-grid {
    background: #334155;
}
[data-theme="dark"] .t2w-ov-corner,
[data-theme="dark"] .t2w-ov-slot-label {
    background: #1E293B;
    color: #94A3B8;
}
[data-theme="dark"] .t2w-ov-header {
    background: #1E293B;
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-ov-cell {
    background: #0F172A;
}
[data-theme="dark"] .t2w-ov-cell:hover {
    background: rgba(255, 183, 0, 0.06);
}
[data-theme="dark"] .t2w-ov-zone-card {
    background: rgba(255, 183, 0, 0.12);
    color: #FFB700;
}
[data-theme="dark"] .t2w-ov-zone-card:hover {
    background: rgba(255, 183, 0, 0.2);
}
[data-theme="dark"] .t2w-ov-add {
    border-color: #475569;
    color: #64748B;
}
[data-theme="dark"] .t2w-ov-add:hover {
    color: #FFB700;
    border-color: #FFB700;
}

/* ── Participant Counter (Pax): dark ── */
[data-theme="dark"] .t2w-ob-pax-title {
    color: #F1F5F9;
}
[data-theme="dark"] .t2w-ob-pax-row {
    border-bottom-color: #334155;
}
[data-theme="dark"] .t2w-ob-pax-label {
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-ob-pax-label small {
    color: #64748B;
}
[data-theme="dark"] .t2w-ob-pax-btn {
    background: #1E293B;
    border-color: #475569;
    color: #E2E8F0;
}
[data-theme="dark"] .t2w-ob-pax-btn:hover {
    border-color: #FFB700;
    color: #FFB700;
    background: rgba(255, 183, 0, 0.08);
}
[data-theme="dark"] .t2w-ob-pax-val {
    color: #F1F5F9;
}

/* ── Custom Date Section: dark ── */
[data-theme="dark"] .t2w-ob-custom-toggle {
    color: #FFB700;
}
[data-theme="dark"] .t2w-ob-custom-inputs input[type="date"] {
    background: #1E293B;
    border: 1px solid #475569;
    color: #E2E8F0;
    border-radius: 8px;
    padding: 8px 12px;
    color-scheme: dark;
}
[data-theme="dark"] .t2w-ob-custom-inputs input[type="date"]:focus {
    border-color: #FFB700;
    outline: none;
}
[data-theme="dark"] .t2w-ob-custom-confirm {
    background: #FFB700;
    color: #0F172A;
}
[data-theme="dark"] .t2w-ob-custom-confirm:hover {
    background: #E5A400;
}

/* ── Bottom sheet handle bar: dark ── */
[data-theme="dark"] .t2w-bs-bar {
    background: #475569;
}

/* ── Trip date range text: dark ── */
[data-theme="dark"] .t2w-cal-range-text {
    color: #94A3B8;
}
[data-theme="dark"] .t2w-cal-range-dates {
    color: #FFB700;
    font-weight: 600;
}

/* ═══════════════════════════════════════
   v10.4 — 4-Layer Information Architecture
   ═══════════════════════════════════════ */

/* ── Layer 4: Ticket Badge (inline) ── */
.t2w-zb-ticket-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 1px 5px;
    margin-left: 4px;
    background: #FEF3C7;
    color: #92400E;
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    vertical-align: middle;
    flex-shrink: 0;
}
.t2w-zb-ticket-badge i { font-size: 9px; }

/* ── Layer 2: Radar Food/Cafe Section (always visible) ── */
.t2w-layer2-radar {
    margin-top: 10px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #FAFAFA;
    padding: 10px 12px;
}
.t2w-layer2-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.t2w-layer2-title {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}
.t2w-layer2-title i { color: #F59E0B; margin-right: 4px; }
.t2w-layer2-tabs { display: flex; gap: 4px; }
.t2w-layer2-tab {
    padding: 4px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    background: #FFF;
    font-size: 12px;
    font-weight: 500;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.15s;
}
.t2w-layer2-tab:hover { background: #F9FAFB; }
.t2w-layer2-tab--active {
    background: #FFF7ED;
    border-color: #F59E0B;
    color: #92400E;
    font-weight: 600;
}
.t2w-layer2-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.t2w-layer2-empty {
    text-align: center;
    padding: 12px 0;
    font-size: 13px;
    color: #9CA3AF;
}
.t2w-layer2-list .t2w-radar-poi {
    padding: 8px 10px;
    border-radius: 8px;
    background: #FFF;
    border: 1px solid #F3F4F6;
    transition: all 0.15s;
}
.t2w-layer2-list .t2w-radar-poi:hover {
    border-color: #E5E7EB;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* ── Layer 3: Tour Comparison Card (real data) ── */
.t2w-layer3-insight {
    margin-top: 10px;
    border: 1.5px solid #FCD34D;
    border-radius: 10px;
    overflow: hidden;
    background: #FFFBEB;
}
.t2w-layer3-header {
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #92400E;
    background: linear-gradient(135deg, #FEF3C7, #FFFBEB);
    border-bottom: 1px solid #FCD34D;
}
.t2w-layer3-header i { margin-right: 4px; }
.t2w-layer3-body { padding: 10px 12px; }
.t2w-layer3-loading {
    text-align: center;
    padding: 8px 0;
    font-size: 12px;
    color: #9CA3AF;
}
.t2w-layer3-empty {
    text-align: center;
    padding: 8px 0;
    font-size: 12px;
    color: #9CA3AF;
}
/* Tour product preview card */
.t2w-layer3-product {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.t2w-layer3-product-main { flex: 1; min-width: 0; }
.t2w-layer3-product-name {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
    line-height: 1.3;
}
.t2w-layer3-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 6px;
}
.t2w-layer3-star { color: #F59E0B; font-weight: 600; }
.t2w-layer3-star i { font-size: 10px; }
.t2w-layer3-includes {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.t2w-layer3-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    background: #FFF;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    font-size: 11px;
    color: #374151;
}
.t2w-layer3-tag i { font-size: 9px; color: #10B981; }
.t2w-layer3-product-price {
    text-align: right;
    flex-shrink: 0;
}
.t2w-layer3-price {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}
.t2w-layer3-price-krw {
    display: block;
    font-size: 11px;
    color: #6B7280;
}
.t2w-layer3-more {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 8px;
    border: 1px dashed #FCD34D;
    border-radius: 8px;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: #92400E;
    cursor: pointer;
    transition: all 0.15s;
}
.t2w-layer3-more:hover {
    background: #FEF3C7;
    border-style: solid;
}

/* ── Product Modal (v10.4 redesigned) ── */
.t2w-modal-product {
    max-width: 520px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}
.t2w-modal-product .t2w-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #E5E7EB;
    background: #FFFBEB;
}
.t2w-modal-product .t2w-modal-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}
.t2w-modal-product .t2w-modal-header h3 i { color: #F59E0B; margin-right: 6px; }
.t2w-modal-product .t2w-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    font-size: 16px;
    color: #6B7280;
    cursor: pointer;
    border-radius: 6px;
}
.t2w-modal-product .t2w-modal-close:hover { background: #F3F4F6; }
.t2w-modal-product .t2w-modal-body {
    overflow-y: auto;
    padding: 12px;
}
/* Individual product card in modal */
.t2w-pcard {
    display: flex;
    gap: 12px;
    padding: 14px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #FFF;
    margin-bottom: 8px;
    transition: all 0.15s;
}
.t2w-pcard:hover {
    border-color: #FCD34D;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.t2w-pcard-body { flex: 1; min-width: 0; }
.t2w-pcard-name {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}
.t2w-pcard-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 6px;
}
.t2w-pcard-rating { color: #F59E0B; font-weight: 600; }
.t2w-pcard-rating i { font-size: 10px; }
.t2w-pcard-includes {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.t2w-pcard-includes span {
    font-size: 11px;
    color: #374151;
    background: #F9FAFB;
    padding: 2px 6px;
    border-radius: 4px;
}
.t2w-pcard-includes i { font-size: 9px; color: #10B981; margin-right: 2px; }
.t2w-pcard-side {
    flex-shrink: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}
.t2w-pcard-price {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}
.t2w-pcard-price-krw {
    font-size: 11px;
    color: #6B7280;
}
.t2w-pcard-btn {
    display: inline-block;
    margin-top: 4px;
    padding: 6px 14px;
    background: #F59E0B;
    color: #FFF;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}
.t2w-pcard-btn:hover { background: #D97706; color: #FFF; }
.t2w-product-empty {
    text-align: center;
    padding: 32px 16px;
    color: #9CA3AF;
}
.t2w-product-empty i { font-size: 32px; margin-bottom: 8px; display: block; }
.t2w-product-empty p { margin: 0; font-size: 14px; }

/* ── Mobile adjustments ── */
@media (max-width: 768px) {
    .t2w-layer2-header { flex-direction: column; gap: 6px; align-items: flex-start; }
    .t2w-layer3-product { flex-direction: column; gap: 8px; }
    .t2w-layer3-product-price { text-align: left; display: flex; gap: 8px; align-items: baseline; }
    .t2w-pcard { flex-direction: column; }
    .t2w-pcard-side { flex-direction: row; gap: 8px; align-items: center; justify-content: flex-start; }
    .t2w-modal-product { max-width: 95vw; }
}

/* ═══════════════════════════════════════════════
   v10.5: Focus Dock — Place/Food/Cafe/Tour Tabs
   ═══════════════════════════════════════════════ */

/* Dock 2-column grid (Stitch design) */
.t2w-dock-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Dock place card — vertical card with large thumbnail */
.t2w-dock-place {
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.t2w-dock-place:hover { border-color: #3B82F6; box-shadow: 0 2px 12px rgba(59,130,246,0.1); }
.t2w-dock-place--selected { border-color: #D97706; }

/* Large thumbnail with overlay elements */
.t2w-dock-place-thumb {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
    background-color: #F3F4F6;
    position: relative;
}
/* Category overlay tag (top-left) */
.t2w-dock-place-cat-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: rgba(0,0,0,0.55);
    padding: 2px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}
/* Add circle button (top-right) */
.t2w-dock-place-add-circle {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.15s;
}
.t2w-dock-place-add-circle.t2w-dock-place-btn--add {
    background: rgba(255,255,255,0.9);
    color: #374151;
}
.t2w-dock-place-add-circle.t2w-dock-place-btn--add:hover {
    background: #3B82F6;
    color: #fff;
}
.t2w-dock-place-add-circle.t2w-dock-place-btn--added {
    background: #10B981;
    color: #fff;
}

/* Info below thumbnail */
.t2w-dock-place-info { padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; }
.t2w-dock-place-name { font-size: 14px; font-weight: 700; color: #111827; line-height: 1.3; }
.t2w-dock-place-name-en { font-size: 11px; color: #9CA3AF; margin-top: 1px; }
.t2w-dock-place-meta { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12px; color: #6B7280; }
.t2w-dock-place-meta strong { color: #111827; }
.t2w-dock-place-reviews { font-size: 11px; color: #9CA3AF; }
.t2w-dock-place-badges { display: flex; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
.t2w-dock-badge {
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 600;
}
.t2w-dock-badge--ticket { background: #FEF3C7; color: #92400E; }
.t2w-dock-badge--gem { background: #ECFDF5; color: #065F46; }

/* Dock food header text */
.t2w-dock-food-header {
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.t2w-dock-food-header i { color: #D97706; }

/* Dock food/cafe item */
.t2w-dock-food {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #F3F4F6;
    margin-bottom: 8px;
    transition: border-color 0.15s;
    align-items: center;
}
.t2w-dock-food:hover { border-color: #E5E7EB; background: #FAFAFA; }
.t2w-dock-food-thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-color: #F3F4F6;
    flex-shrink: 0;
}
.t2w-dock-food-info { flex: 1; min-width: 0; }
.t2w-dock-food-name { font-size: 14px; font-weight: 700; color: #111827; }
.t2w-dock-food-name-en { font-size: 12px; color: #9CA3AF; margin-top: 1px; }
.t2w-dock-food-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12px; }
.t2w-dock-food-rating { color: #F59E0B; font-weight: 600; }
.t2w-dock-food-dist { color: #9CA3AF; }
.t2w-dock-food-type { color: #6B7280; }
.t2w-dock-food-add {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background: #fff;
    color: #6B7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    transition: all 0.15s;
}
.t2w-dock-food-add:hover { border-color: #3B82F6; color: #3B82F6; }
.t2w-dock-food-status {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: auto;
    flex-shrink: 0;
}
.t2w-dock-food-status--open { color: #065F46; background: #D1FAE5; }
.t2w-dock-food-status--closed { color: #991B1B; background: #FEE2E2; }
.t2w-dock-food-status--break { color: #6B7280; background: #F3F4F6; }

/* Dock tour card */
.t2w-dock-tour {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    margin-bottom: 8px;
    background: #fff;
}
.t2w-dock-tour-name { font-size: 14px; font-weight: 600; color: #111827; margin-bottom: 4px; }
.t2w-dock-tour-vendor { font-size: 12px; color: #6B7280; margin-bottom: 6px; }
.t2w-dock-tour-vendor i { color: #10B981; }
.t2w-dock-tour-meta { display: flex; gap: 8px; margin-bottom: 8px; font-size: 12px; color: #6B7280; }
.t2w-dock-tour-price { font-size: 15px; font-weight: 700; color: #111827; margin-bottom: 8px; }
.t2w-dock-tour-price .t2w-krw { font-size: 12px; color: #6B7280; font-weight: 400; }
.t2w-dock-tour-actions { display: flex; gap: 6px; }
.t2w-dock-tour-btn {
    flex: 1;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s;
    border: 1px solid;
}
.t2w-dock-tour-btn--primary { color: #fff; background: #D97706; border-color: #D97706; }
.t2w-dock-tour-btn--primary:hover { background: #B45309; }
.t2w-dock-tour-btn--secondary { color: #374151; background: #fff; border-color: #D1D5DB; }
.t2w-dock-tour-btn--secondary:hover { border-color: #3B82F6; color: #3B82F6; }

/* Dock filter chips */
.t2w-dock-chips {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}
.t2w-dock-chips::-webkit-scrollbar { display: none; }
.t2w-dock-chip {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    background: #fff;
    color: #374151;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s;
}
.t2w-dock-chip:hover { border-color: #D97706; }
.t2w-dock-chip--active {
    background: #FEF3C7;
    border-color: #D97706;
    color: #92400E;
    font-weight: 600;
}

/* Dock section loading/empty */
.t2w-dock-loading { text-align: center; padding: 40px 16px; color: #9CA3AF; }
.t2w-dock-loading i { font-size: 20px; color: #D97706; }

/* ============================
   v11.0 — Emotional System (Phase 6B)
   ============================ */

/* Region mood gradients */
.t2w-zone-card[data-region="sydney"]         { --zone-accent: #4A90E2; --zone-gradient: linear-gradient(135deg, #4A90E2 0%, #F5E6C8 100%); }
.t2w-zone-card[data-region="melbourne"]      { --zone-accent: #8B5CF6; --zone-gradient: linear-gradient(135deg, #3D2B1F 0%, #8B5CF6 100%); }
.t2w-zone-card[data-region="gold-coast"]     { --zone-accent: #06B6D4; --zone-gradient: linear-gradient(135deg, #06B6D4 0%, #FBBF24 100%); }
.t2w-zone-card[data-region="cairns"]         { --zone-accent: #059669; --zone-gradient: linear-gradient(135deg, #059669 0%, #0EA5E9 100%); }
.t2w-zone-card[data-region="blue-mountains"] { --zone-accent: #6366F1; --zone-gradient: linear-gradient(135deg, #6366F1 0%, #E0E7FF 100%); }
.t2w-zone-card[data-region="wollongong"]     { --zone-accent: #0369A1; --zone-gradient: linear-gradient(135deg, #0369A1 0%, #BAE6FD 100%); }
.t2w-zone-card[data-region="perth"]          { --zone-accent: #EA580C; --zone-gradient: linear-gradient(135deg, #EA580C 0%, #FED7AA 100%); }
.t2w-zone-card[data-region="adelaide"]       { --zone-accent: #7C3AED; --zone-gradient: linear-gradient(135deg, #7C3AED 0%, #DDD6FE 100%); }
.t2w-zone-card[data-region="hobart"]         { --zone-accent: #164E63; --zone-gradient: linear-gradient(135deg, #164E63 0%, #A5F3FC 100%); }

/* Emotional day title */
.t2w-day-title--emotional {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #1F2937;
    line-height: 1.4;
}
.t2w-day-subtitle {
    display: block;
    font-size: 12px;
    color: #6B7280;
    font-weight: 400;
    margin-top: 2px;
}

/* Micro copy (place-level tips from AI) */
.t2w-micro-copy {
    font-size: 13px;
    color: #6B7280;
    font-style: italic;
    margin: 2px 0 6px 36px;
    line-height: 1.4;
    padding: 0;
}

/* Evidence line (practical fact, 2-tier copy) */
.t2w-evidence-line {
    font-size: 11px;
    color: #9CA3AF;
    margin: 0 0 6px 36px;
    line-height: 1.3;
    padding: 0;
    font-style: normal;
}

/* Transition bridge (zone-to-zone emotional text) */
.t2w-transition-bridge {
    font-size: 12px;
    color: #9CA3AF;
    padding: 4px 12px;
    text-align: center;
    line-height: 1.4;
    font-style: italic;
}
.t2w-movement-card .t2w-transition-bridge {
    margin-top: 4px;
    padding: 2px 8px;
}

/* Personalization echo (bottom of AI result) */
.t2w-personalization-echo {
    font-size: 13px;
    color: #6B7280;
    text-align: center;
    padding: 12px 16px;
    background: #F9FAFB;
    border-radius: 8px;
    margin: 8px 0;
    font-style: italic;
}

/* ============================
   v11.0 — Personalization (Phase 6C)
   ============================ */

/* Quick-start presets grid */
.t2w-quickstart-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
    max-width: 400px;
    margin: 0 auto;
}
.t2w-quickstart-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.t2w-quickstart-card:hover {
    border-color: #F59E0B;
    background: #FFFBEB;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}
.t2w-quickstart-card--active {
    border-color: #F59E0B;
    background: #FEF3C7;
}
.t2w-quickstart-emoji { font-size: 28px; }
.t2w-quickstart-title { font-size: 14px; font-weight: 600; color: #1F2937; }
.t2w-quickstart-desc { font-size: 12px; color: #6B7280; }
.t2w-quickstart-skip {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: #6B7280;
    cursor: pointer;
    text-decoration: underline;
}

/* Companion selection */
.t2w-companion-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 16px;
}
.t2w-companion-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    transition: all 0.2s;
}
.t2w-companion-btn:hover {
    border-color: #F59E0B;
    background: #FFFBEB;
}
.t2w-companion-btn--active {
    border-color: #F59E0B;
    background: #FEF3C7;
    font-weight: 600;
}
.t2w-companion-emoji { font-size: 18px; }

/* Onboarding step headers */
.t2w-onboard-step-header {
    text-align: center;
    padding: 12px 16px 4px;
}
.t2w-onboard-step-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 4px;
}
.t2w-onboard-step-header p {
    font-size: 13px;
    color: #6B7280;
    margin: 0;
}

/* ═══════════════════════════════════════
   v11.2 Product Detail & Comparison
   ═══════════════════════════════════════ */

/* Gallery */
.t2w-pd-gallery { margin: -16px -16px 12px; }
.t2w-pd-photo-hero {
    width: 100%; height: 200px;
    background: #E5E7EB center/cover no-repeat;
    border-radius: 0;
}
.t2w-pd-photo-strip {
    display: flex; gap: 4px;
    padding: 4px 8px; overflow-x: auto;
}
.t2w-pd-photo-thumb {
    width: 56px; height: 56px; flex-shrink: 0;
    background: #E5E7EB center/cover no-repeat;
    border-radius: 6px; cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.15s;
}
.t2w-pd-photo-thumb:hover { border-color: var(--t2w-primary, #FFB700); }

/* Header */
.t2w-pd-header { margin-bottom: 12px; }
.t2w-pd-header h3 { font-size: 18px; font-weight: 700; color: #1F2937; margin: 0 0 6px; }
.t2w-pd-header-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.t2w-pd-vendor-name { font-size: 13px; color: #6B7280; }
.t2w-pd-vendor-name i.fa-check-circle { font-size: 12px; }
.t2w-pd-rating { font-size: 13px; color: #F59E0B; font-weight: 600; }
.t2w-pd-rating small { font-weight: 400; color: #9CA3AF; }

/* Price box */
.t2w-pd-price-box {
    background: linear-gradient(135deg, #FFF7E6, #FFFDF5);
    border: 1px solid #FFD97540;
    border-radius: 10px; padding: 12px 14px; margin-bottom: 14px;
}
.t2w-pd-price-main { display: flex; align-items: baseline; gap: 8px; }
.t2w-pd-price-aud { font-size: 22px; font-weight: 800; color: #1F2937; }
.t2w-pd-price-krw { font-size: 14px; color: #6B7280; }
.t2w-pd-price-label { font-size: 11px; color: #9CA3AF; }
.t2w-pd-price-child { font-size: 12px; color: #6B7280; margin-top: 4px; }
.t2w-pd-duration { font-size: 13px; color: #374151; margin-top: 6px; }

/* Description */
.t2w-pd-desc { font-size: 13px; color: #4B5563; line-height: 1.6; white-space: pre-line; }
.t2w-pd-desc--collapsed { max-height: 80px; overflow: hidden; position: relative; }
.t2w-pd-desc--collapsed::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40px;
    background: linear-gradient(transparent, white);
}
.t2w-pd-desc-toggle {
    display: inline-block; margin-top: 4px; padding: 0;
    font-size: 12px; color: #3B82F6; background: none; border: none; cursor: pointer;
}
.t2w-pd-desc-section { margin-bottom: 14px; }

/* Route minimap */
.t2w-pd-route-map {
    width: 100%; height: 180px;
    border-radius: 8px; margin-bottom: 8px;
    background: #F3F4F6;
}
.t2w-pd-route-marker span {
    display: flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; border-radius: 50%;
    background: #3B82F6; color: #fff; font-size: 12px; font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.t2w-pd-route-stops {
    list-style: decimal; padding-left: 24px; margin: 0;
    font-size: 13px; color: #374151; line-height: 1.8;
}

/* Sections */
.t2w-pd-section { margin-bottom: 14px; }
.t2w-pd-section h5 { font-size: 13px; font-weight: 600; color: #374151; margin: 0 0 6px; }

/* Includes / Excludes 2-col */
.t2w-pd-incl-excl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.t2w-pd-incl ul, .t2w-pd-excl ul { list-style: none; padding: 0; margin: 0; font-size: 12px; }
.t2w-pd-incl li::before { content: '✓ '; color: #10B981; font-weight: 700; }
.t2w-pd-excl li::before { content: '✕ '; color: #EF4444; font-weight: 700; }
.t2w-pd-incl li, .t2w-pd-excl li { padding: 2px 0; color: #4B5563; }

/* Compare button */
.t2w-pd-compare-btn {
    display: block; width: 100%; padding: 10px;
    background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: 8px;
    color: #1D4ED8; font-size: 13px; font-weight: 600; cursor: pointer;
    text-align: center; margin-bottom: 10px;
    transition: background 0.15s;
}
.t2w-pd-compare-btn:hover { background: #DBEAFE; }

/* CTA */
.t2w-pd-cta {
    display: block; width: 100%; padding: 12px;
    border-radius: 10px; font-size: 14px; font-weight: 700;
    text-align: center; cursor: pointer; border: none;
    transition: transform 0.1s;
}
.t2w-pd-cta:active { transform: scale(0.98); }
.t2w-pd-cta-select { background: var(--t2w-primary, #FFB700); color: #1F2937; }
.t2w-pd-cta-ext {
    background: #3B82F6; color: #fff; text-decoration: none;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* ── Comparison Panel ── */
.t2w-comparison-panel { margin-top: 12px; }
.t2w-comparison-header { margin-bottom: 10px; }
.t2w-comparison-header h4 { font-size: 15px; font-weight: 700; color: #1F2937; margin: 0; }
.t2w-comparison-reason { font-size: 12px; color: #9CA3AF; }

.t2w-comparison-sort { display: flex; gap: 6px; margin-bottom: 10px; }
.t2w-comparison-sort-btn {
    padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 500;
    border: 1px solid #D1D5DB; background: #fff; color: #6B7280; cursor: pointer;
    transition: all 0.15s;
}
.t2w-comparison-sort-btn--active {
    background: #1F2937; color: #fff; border-color: #1F2937;
}

.t2w-comparison-list { display: flex; flex-direction: column; gap: 8px; }
.t2w-comparison-row {
    border: 1px solid #E5E7EB; border-radius: 10px;
    padding: 10px 12px; background: #fff;
    transition: border-color 0.15s;
}
.t2w-comparison-row:hover { border-color: #BFDBFE; }
.t2w-comparison-row--current { border-color: var(--t2w-primary, #FFB700); background: #FFFBEB; }

.t2w-comparison-row-main { margin-bottom: 4px; }
.t2w-comparison-name { font-size: 13px; font-weight: 600; color: #1F2937; display: block; }
.t2w-comparison-vendor { font-size: 11px; color: #9CA3AF; }

.t2w-comparison-row-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.t2w-comparison-price { font-size: 14px; font-weight: 700; color: #1F2937; }
.t2w-comparison-price small { font-size: 11px; color: #9CA3AF; font-weight: 400; }
.t2w-comparison-dur { font-size: 11px; color: #6B7280; }
.t2w-comparison-rating { font-size: 12px; color: #F59E0B; font-weight: 600; }

.t2w-comparison-overlap { font-size: 11px; color: #6B7280; margin-bottom: 4px; }
.t2w-comparison-incl { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.t2w-comparison-incl-tag {
    font-size: 10px; padding: 2px 6px; border-radius: 4px;
    background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0;
}
.t2w-comparison-incl-more { font-size: 10px; color: #9CA3AF; align-self: center; }

.t2w-comparison-detail-btn {
    padding: 4px 10px; border-radius: 6px; font-size: 11px;
    background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE;
    cursor: pointer; transition: background 0.15s;
}
.t2w-comparison-detail-btn:hover { background: #DBEAFE; }

/* Food card price level */
.t2w-dock-card-price { font-size: 11px; color: #059669; font-weight: 600; }

/* Panel loading state */
.t2w-panel-loading {
    display: flex; align-items: center; justify-content: center;
    padding: 40px; color: #9CA3AF; font-size: 14px;
}

/* ── v11.3 Day Controls ── */

.t2w-tl-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
}

.t2w-tl-ctrl {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #D1D5DB;
    background: #fff;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.15s;
    padding: 0;
}

.t2w-tl-ctrl:hover {
    background: #F3F4F6;
    border-color: #9CA3AF;
}

.t2w-tl-ctrl--reset {
    margin-left: 4px;
    color: #9CA3AF;
    font-size: 11px;
}

.t2w-tl-ctrl--reset:hover {
    background: #FEE2E2;
    border-color: #F87171;
    color: #DC2626;
}

.t2w-tl-day-count {
    font-size: 13px;
    font-weight: 700;
    color: #1F2937;
    min-width: 28px;
    text-align: center;
}

.t2w-tl-login-hint {
    font-size: 12px;
    color: #6B7280;
    padding: 4px 16px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #F0F9FF;
    border-bottom: 1px solid #E0F2FE;
}

.t2w-tl-login-hint i {
    color: #3B82F6;
    font-size: 11px;
}

@media (max-width: 768px) {
    .t2w-tl-controls {
        gap: 4px;
    }
    .t2w-tl-ctrl {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    .t2w-tl-day-count {
        font-size: 12px;
    }
}

/* ═══════════ v11.7: Vibe Onboarding Cards ═══════════ */

.t2w-vibe-counter {
    color: #6B7280;
    font-size: 14px;
}
.t2w-vibe-count {
    font-weight: 700;
    color: #EF4444;
}

.t2w-vibe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 16px 16px;
    box-sizing: border-box;
}
.t2w-vibe-grid .t2w-vibe-card:nth-child(5) {
    grid-column: 1 / -1;
}

.t2w-vibe-card {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    overflow: hidden;
    border: 3px solid transparent;
    transition: border-color 0.25s, transform 0.25s;
}
.t2w-vibe-card:hover {
    transform: scale(1.02);
}

.t2w-vibe-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 14px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.t2w-vibe-label {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
.t2w-vibe-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.t2w-vibe-heart {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 22px;
    color: #fff;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
    transition: transform 0.3s, color 0.3s;
    z-index: 2;
}

/* Active state */
.t2w-vibe-card--active {
    border-color: #EF4444;
}
.t2w-vibe-card--active .t2w-vibe-heart {
    color: #EF4444;
    transform: scale(1.2);
}

/* Heart beat animation on select */
.t2w-heart-beating {
    animation: t2w-heart-beat 0.5s ease;
}
@keyframes t2w-heart-beat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.4); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.3); }
}

/* Pulse animation when 2nd vibe selected */
.t2w-vibe-pulse {
    animation: t2w-vibe-pulse 0.5s ease;
}
@keyframes t2w-vibe-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

/* Manual link */
.t2w-vibe-manual {
    display: block;
    text-align: center;
    padding: 14px 0 6px;
    font-size: 13px;
    color: #6B7280;
    cursor: pointer;
    transition: color 0.2s;
}
.t2w-vibe-manual:hover {
    color: #3B82F6;
}

/* Draft restore banner */
.t2w-ob-draft-banner {
    max-width: 480px;
    margin: 0 auto 12px;
    padding: 10px 16px;
    background: #F0F9FF;
    border: 1px solid #BAE6FD;
    border-radius: 10px;
    font-size: 13px;
    color: #1E40AF;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
}
.t2w-ob-draft-banner:hover {
    background: #DBEAFE;
}
.t2w-ob-draft-banner i {
    margin-right: 6px;
}

/* Vibe Loading */
.t2w-vibe-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}
.t2w-vibe-loading-icon {
    font-size: 36px;
    color: #3B82F6;
    animation: t2w-vibe-float 2s ease-in-out infinite;
    margin-bottom: 20px;
}
@keyframes t2w-vibe-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(10deg); }
}
.t2w-vibe-loading-title {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 6px;
}
.t2w-vibe-loading-sub {
    font-size: 13px;
    color: #6B7280;
    margin: 0;
}

/* 5th card full-width: different aspect ratio */
.t2w-vibe-grid .t2w-vibe-card:nth-child(5) {
    aspect-ratio: 16 / 9;
}

/* ========================================
   BROWSE-FIRST UX (v12.0)
   ======================================== */

/* ── Filter Chips ── */
.t2w-browse-chips {
    display: flex;
    gap: 8px;
    padding: 0 16px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.t2w-browse-chips::-webkit-scrollbar { display: none; }

.t2w-browse-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.t2w-browse-chip:hover {
    border-color: #9CA3AF;
    background: #F9FAFB;
}
.t2w-browse-chip--active {
    border-color: #3B82F6;
    background: #EFF6FF;
    color: #1D4ED8;
    font-weight: 600;
}
.t2w-browse-chip i {
    font-size: 12px;
}

/* ── Browse Grid ── */
.t2w-browse-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px 80px;
    min-height: 200px;
}

/* ── Browse Card ── */
.t2w-browse-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #E5E7EB;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.t2w-browse-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.t2w-browse-card-img {
    position: relative;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-color: #F3F4F6;
}

/* Category fallback gradients (reuse existing .t2w-pc-img-* classes) */
.t2w-browse-card-img.t2w-pc-img-attraction { background-color: #DBEAFE; }
.t2w-browse-card-img.t2w-pc-img-nature { background-color: #D1FAE5; }
.t2w-browse-card-img.t2w-pc-img-food { background-color: #FEF3C7; }
.t2w-browse-card-img.t2w-pc-img-cafe { background-color: #FDE68A; }
.t2w-browse-card-img.t2w-pc-img-beach { background-color: #CFFAFE; }
.t2w-browse-card-img.t2w-pc-img-activity { background-color: #FCE7F3; }
.t2w-browse-card-img.t2w-pc-img-shopping { background-color: #EDE9FE; }

/* ── Heart Button ── */
.t2w-browse-heart {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #9CA3AF;
    transition: all 0.2s;
    z-index: 2;
}
.t2w-browse-heart:hover {
    background: #fff;
    color: #EF4444;
    transform: scale(1.1);
}
.t2w-browse-heart--active {
    background: #FEF2F2;
    color: #EF4444;
}
.t2w-browse-heart--active i {
    color: #EF4444;
}

/* ── Vibe Tags on Card ── */
.t2w-browse-vibe-tags {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    gap: 4px;
}
.t2w-browse-vibe-tag {
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    font-size: 10px;
    font-weight: 500;
    color: #fff;
}

/* ── Card Body ── */
.t2w-browse-card-body {
    padding: 8px 10px 10px;
}
.t2w-browse-card-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.t2w-browse-card-name-en {
    display: block;
    font-size: 11px;
    color: #9CA3AF;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.t2w-browse-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 11px;
    color: #6B7280;
}
.t2w-browse-card-cat {
    color: #3B82F6;
    font-weight: 500;
}
.t2w-browse-card-rating {
    color: #D97706;
}
.t2w-browse-card-rating i {
    font-size: 10px;
}

/* ── Floating Bar ── */
.t2w-browse-floating-bar {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid #E5E7EB;
    z-index: 50;
    animation: t2w-slide-up 0.3s ease;
}
@keyframes t2w-slide-up {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.t2w-browse-floating-count {
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
}
.t2w-browse-floating-count span {
    color: #EF4444;
    font-size: 18px;
}
.t2w-browse-confirm-btn {
    padding: 10px 24px;
    border-radius: 10px;
    border: none;
    background: #3B82F6;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.t2w-browse-confirm-btn:hover {
    background: #2563EB;
}
.t2w-browse-confirm-btn:active {
    transform: scale(0.97);
}

/* ── Skip link ── */
.t2w-browse-skip-link {
    display: block;
    text-align: center;
    padding: 14px 0 6px;
    font-size: 13px;
    color: #6B7280;
    cursor: pointer;
    transition: color 0.2s;
    grid-column: 1 / -1;
}
.t2w-browse-skip-link:hover {
    color: #3B82F6;
}

/* ── Browse Dashboard override ── */
.t2w-browse-dashboard .t2w-ob-title {
    text-align: center;
    padding: 0 16px;
}
.t2w-browse-dashboard .t2w-ob-subtitle {
    text-align: center;
    padding: 0 16px 8px;
}

/* ── Mobile adjustments ── */
@media (max-width: 768px) {
    .t2w-browse-grid {
        gap: 10px;
        padding: 0 12px 80px;
    }
    .t2w-browse-card-name {
        font-size: 12px;
    }
    .t2w-browse-chip {
        padding: 6px 12px;
        font-size: 12px;
    }
    .t2w-browse-floating-bar {
        padding: 10px 12px;
    }
}

@media (max-width: 768px) {
    .t2w-vibe-grid {
        gap: 10px;
        padding: 0 12px 12px;
    }
    .t2w-vibe-grid .t2w-vibe-card:nth-child(5) {
        aspect-ratio: 16 / 9;
    }
    .t2w-vibe-label {
        font-size: 14px;
    }
    .t2w-vibe-heart {
        font-size: 20px;
    }
}

/* ═══════════════════════════════════════════════════
   v12.1: Info Collection Step + AI Recommend
   ═══════════════════════════════════════════════════ */

/* ── Info Step ── */
.t2w-info-step {
    padding-bottom: 24px;
}
.t2w-info-section {
    margin-bottom: 20px;
    padding: 0 16px;
}
.t2w-info-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(15,23,42,0.85);
    margin-bottom: 10px;
}

/* Companion cards — 2x2 grid */
.t2w-companion-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.t2w-companion-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 8px;
    border-radius: 12px;
    border: 2px solid #E5E7EB;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}
.t2w-companion-card:hover {
    border-color: #93C5FD;
    background: #F0F7FF;
}
.t2w-companion-card--active {
    border-color: #3B82F6;
    background: #EFF6FF;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.t2w-companion-card-emoji {
    font-size: 28px;
    line-height: 1;
}
.t2w-companion-card-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(15,23,42,0.8);
}

/* Pace & Days chips */
.t2w-pace-chips,
.t2w-days-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.t2w-pace-chip,
.t2w-days-chip {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: rgba(15,23,42,0.7);
    cursor: pointer;
    transition: all 0.2s;
}
.t2w-pace-chip:hover,
.t2w-days-chip:hover {
    border-color: #93C5FD;
    color: #3B82F6;
}
.t2w-pace-chip--active,
.t2w-days-chip--active {
    border-color: #3B82F6;
    background: #EFF6FF;
    color: #3B82F6;
    font-weight: 600;
}

/* Special condition chips (v15.0) */
.t2w-condition-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.t2w-condition-chip {
    padding: 8px 14px;
    border-radius: 20px;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: rgba(15,23,42,0.7);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.t2w-condition-chip:hover {
    border-color: #A78BFA;
    color: #7C3AED;
}
.t2w-condition-chip--active {
    border-color: #7C3AED;
    background: #F5F3FF;
    color: #7C3AED;
    font-weight: 600;
}
.t2w-condition-chip i {
    font-size: 12px;
}

/* Free text */
.t2w-free-text {
    width: 100%;
    min-height: 64px;
    padding: 12px;
    border-radius: 10px;
    border: 1.5px solid #E5E7EB;
    font-size: 13px;
    color: rgba(15,23,42,0.85);
    resize: vertical;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.t2w-free-text:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.t2w-free-text::placeholder {
    color: #9CA3AF;
}

/* AI CTA button */
.t2w-ai-cta {
    display: block;
    width: calc(100% - 32px);
    margin: 8px 16px 12px;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(59,130,246,0.35);
}
.t2w-ai-cta:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}
.t2w-ai-cta:active {
    transform: translateY(0);
}

/* ── AI Loading ── */
.t2w-ai-loading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}
.t2w-ai-loading {
    text-align: center;
    padding: 32px 16px;
}
.t2w-ai-loading-spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    border: 3px solid #E5E7EB;
    border-top-color: #3B82F6;
    border-radius: 50%;
    animation: t2w-spin 0.8s linear infinite;
}
@keyframes t2w-spin {
    to { transform: rotate(360deg); }
}
.t2w-ai-loading-title {
    font-size: 16px;
    font-weight: 600;
    color: rgba(15,23,42,0.85);
    margin: 0 0 8px;
}
.t2w-ai-loading-subtitle {
    font-size: 13px;
    color: #9CA3AF;
    margin: 0;
}

/* ── Recommend Header ── */
.t2w-recommend-header {
    text-align: center;
}

/* ── AI Comment on browse cards ── */
.t2w-ai-comment {
    font-size: 11px;
    line-height: 1.5;
    color: #6B7280;
    margin: 4px 0 0;
    padding: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── v12.2: micro_copy fade-in animation ── */
.t2w-mc-fadein {
    animation: t2w-mc-fade 0.6s ease-in forwards;
}
@keyframes t2w-mc-fade {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── v12.2: match reason tags ── */
.t2w-browse-card-reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}
.t2w-browse-reason {
    font-size: 10px;
    color: #6B7280;
    background: #F3F4F6;
    padding: 1px 6px;
    border-radius: 8px;
    white-space: nowrap;
}

/* ── Mobile for v12.1 ── */
@media (max-width: 768px) {
    .t2w-companion-cards {
        gap: 8px;
    }
    .t2w-companion-card {
        padding: 12px 6px;
    }
    .t2w-companion-card-emoji {
        font-size: 24px;
    }
    .t2w-ai-cta {
        font-size: 15px;
        padding: 12px 20px;
    }
    .t2w-info-section {
        padding: 0 12px;
    }
}

/* ========================================
 * ZONE BUILDER (v13.0)
 * ======================================== */

/* Zone Picker Grid */
.t2w-zone-picker-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 4px;
}
.t2w-zone-picker-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.t2w-zone-picker-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}
.t2w-zone-picker-card--selected {
    border-color: #3B82F6;
    box-shadow: 0 0 0 1px #3B82F6, 0 4px 12px rgba(59,130,246,0.15);
}
.t2w-zone-picker-img {
    height: 100px;
    background-size: cover;
    background-position: center;
    background-color: #F3F4F6;
}
.t2w-zone-picker-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #3B82F6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(59,130,246,0.3);
    animation: t2w-zp-check-in 0.25s ease;
}
@keyframes t2w-zp-check-in {
    from { transform: scale(0); }
    to { transform: scale(1); }
}
.t2w-zone-picker-info {
    padding: 10px 12px 12px;
}
.t2w-zone-picker-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 4px;
}
.t2w-zone-picker-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    color: #6B7280;
    line-height: 1.4;
    margin-bottom: 6px;
}
.t2w-zone-picker-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: #9CA3AF;
}
.t2w-zone-picker-meta i {
    margin-right: 2px;
}

/* Zone Combo Cards (horizontal scroll) */
.t2w-zone-combos-section {
    margin-bottom: 16px;
}
.t2w-zone-combos-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}
.t2w-zone-combos {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.t2w-zone-combos::-webkit-scrollbar {
    height: 4px;
}
.t2w-zone-combos::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 4px;
}
.t2w-zone-combo-card {
    min-width: 150px;
    max-width: 180px;
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    border: 2px solid #E5E7EB;
    background: #fff;
    text-align: center;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
}
.t2w-zone-combo-card:hover {
    border-color: #93C5FD;
    background: #F0F7FF;
}
.t2w-zone-combo-card--active {
    border-color: #3B82F6;
    background: #EFF6FF;
}
.t2w-zone-combo-icon {
    font-size: 20px;
    color: #3B82F6;
    margin-bottom: 6px;
}
.t2w-zone-combo-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 2px;
}
.t2w-zone-combo-days {
    font-size: 11px;
    color: #6B7280;
}

/* Zone Picker Floating Bar */
.t2w-zone-picker-floating {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #E5E7EB;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
}
.t2w-zone-picker-summary {
    font-size: 13px;
    color: #374151;
}
.t2w-zone-picker-summary strong {
    color: #3B82F6;
}
.t2w-zone-picker-next {
    background: #3B82F6;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.t2w-zone-picker-next:hover {
    background: #2563EB;
}
.t2w-zone-picker-next:disabled {
    background: #D1D5DB;
    cursor: not-allowed;
}

/* Zone Fill Accordion */
.t2w-zone-fill-item {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}
.t2w-zone-fill-header {
    display: flex;
    align-items: center;
    padding: 12px;
    cursor: pointer;
    gap: 10px;
    transition: background 0.15s;
}
.t2w-zone-fill-header:hover {
    background: #F9FAFB;
}
.t2w-zone-fill-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: #F3F4F6;
    flex-shrink: 0;
}
.t2w-zone-fill-title {
    flex: 1;
    min-width: 0;
}
.t2w-zone-fill-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
}
.t2w-zone-fill-count {
    font-size: 12px;
    color: #6B7280;
}
.t2w-zone-fill-modes {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}
.t2w-zone-fill-mode {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    background: #fff;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.15s;
}
.t2w-zone-fill-mode:hover {
    border-color: #93C5FD;
    color: #3B82F6;
}
.t2w-zone-fill-mode--active {
    background: #3B82F6;
    color: #fff;
    border-color: #3B82F6;
}
.t2w-zone-fill-arrow {
    color: #9CA3AF;
    font-size: 12px;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.t2w-zone-fill-item--open .t2w-zone-fill-arrow {
    transform: rotate(180deg);
}
.t2w-zone-fill-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.t2w-zone-fill-item--open .t2w-zone-fill-body {
    max-height: 800px;
}
.t2w-zone-fill-content {
    padding: 0 12px 12px;
}

/* Zone Scored Place Item (checklist) */
.t2w-zone-scored-place {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #F3F4F6;
    cursor: pointer;
    transition: background 0.1s;
}
.t2w-zone-scored-place:last-child {
    border-bottom: none;
}
.t2w-zone-scored-place:hover {
    background: #F9FAFB;
}
.t2w-zsp-check {
    font-size: 18px;
    color: #D1D5DB;
    flex-shrink: 0;
    transition: color 0.15s;
}
.t2w-zsp-checked .t2w-zsp-check {
    color: #3B82F6;
}
.t2w-zsp-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: #F3F4F6;
    flex-shrink: 0;
}
.t2w-zsp-info {
    flex: 1;
    min-width: 0;
}
.t2w-zsp-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #1F2937;
}
.t2w-zsp-reasons {
    display: flex;
    gap: 4px;
    margin-top: 2px;
}
.t2w-zsp-reason {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    background: #EFF6FF;
    color: #3B82F6;
}
.t2w-zsp-score {
    font-size: 12px;
    font-weight: 600;
    color: #3B82F6;
    background: #EFF6FF;
    padding: 2px 8px;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Zone Fill: Browse Grid inside accordion */
.t2w-zone-fill-browse-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

/* Zone Build Floating Bar */
.t2w-zone-build-floating {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #E5E7EB;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
}
.t2w-zone-build-summary {
    font-size: 13px;
    color: #374151;
}
.t2w-zone-build-confirm {
    background: #3B82F6;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.t2w-zone-build-confirm:hover {
    background: #2563EB;
}

/* Mobile: Zone Picker */
@media (max-width: 480px) {
    .t2w-zone-picker-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .t2w-zone-picker-img {
        height: 80px;
    }
    .t2w-zone-picker-info {
        padding: 8px 10px 10px;
    }
    .t2w-zone-picker-name {
        font-size: 13px;
    }
    .t2w-zone-combo-card {
        min-width: 130px;
        padding: 10px 12px;
    }
    .t2w-zone-fill-modes {
        display: none;
    }
    .t2w-zone-fill-header {
        position: relative;
    }
    .t2w-zone-fill-item--open .t2w-zone-fill-modes {
        display: flex;
        position: absolute;
        top: 56px;
        right: 12px;
    }
    .t2w-zone-fill-browse-grid {
        grid-template-columns: 1fr;
    }
}
