:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-2: rgba(255, 255, 255, 0.97);
  --line: rgba(15, 23, 42, 0.11);
  --text: #172033;
  --muted: #66758d;
  --blue: #2f7dff;
  --blue-2: #54a5ff;
  --cyan: #31d7ef;
  --green: #31d59b;
  --warning: #ffbd59;
  --danger: #ff6b7a;
  --shadow: 0 30px 80px rgba(37, 57, 89, 0.14);
  --radius: 24px;
  font-family: Pretendard, "Noto Sans KR", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #06101d;
  --panel: rgba(12, 25, 44, 0.82);
  --panel-2: rgba(18, 34, 57, 0.92);
  --line: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --muted: #91a2ba;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 4%, rgba(42, 99, 255, 0.12), transparent 33rem),
    radial-gradient(circle at 91% 17%, rgba(0, 202, 255, 0.09), transparent 34rem),
    linear-gradient(160deg, #ffffff 0%, #f5f8fd 48%, #eef3fa 100%);
}
html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 12% 4%, rgba(42, 99, 255, 0.23), transparent 33rem),
    radial-gradient(circle at 91% 17%, rgba(196, 49, 174, 0.14), transparent 34rem),
    linear-gradient(160deg, #07101d 0%, #071523 48%, #040b14 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.boot-screen { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--muted); }
.boot-logo { width: 112px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: rgba(255,255,255,.8); border: 1px solid var(--line); box-shadow: 0 14px 42px rgba(47,125,255,.15); }
.boot-logo img, .boot-logo svg { width: 78px; height: 32px; }
html[data-theme="dark"] .boot-logo { background: rgba(255,255,255,.04); }

.site-shell { min-height: 100vh; position: relative; z-index: 1; }
.topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 950; letter-spacing: -.04em; }
.brand-logo { display:block; width:78px; height:32px; transition:transform .25s ease; }
.brand:hover .brand-logo { transform:scale(1.04); }
.brand small { display: block; margin-top: 1px; font-size: 9px; letter-spacing: .14em; color: #71829a; font-weight: 800; }
.brand-caption { padding-left:11px; border-left:1px solid var(--line); }
.wizard-logo { width:58px; height:auto; }
.top-actions { display: flex; gap: 8px; }
.top-button { border: 1px solid var(--line); background: rgba(255,255,255,.72); border-radius: 12px; padding: 9px 13px; cursor: pointer; font-size: 12px; font-weight: 800; transition: .2s ease; box-shadow:0 4px 15px rgba(37,57,89,.05); }
.top-button:hover { background: #fff; transform: translateY(-1px); }
html[data-theme="dark"] .top-button { background:rgba(255,255,255,.04); box-shadow:none; }
html[data-theme="dark"] .top-button:hover { background:rgba(255,255,255,.09); }
.theme-toggle { display:inline-flex; align-items:center; gap:6px; }

.home { max-width: 1180px; margin: 0 auto; padding: 58px 24px 80px; }
.hero { max-width: 810px; margin: 0 auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: #b9d8ff; font-size: 12px; font-weight: 850; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(84,165,255,.28); background: rgba(43,104,255,.1); }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(49,213,155,.1); }
.hero h1 { margin:24px 0 16px; font-size:clamp(38px,6vw,72px); line-height:1.06; letter-spacing:-.065em; word-break:keep-all; overflow-wrap:break-word; }
.hero h1 span { background:linear-gradient(100deg,#2478ee 0%,#11b9d2 52%,#715ee9 100%); -webkit-background-clip:text; color:transparent; filter:drop-shadow(0 8px 20px rgba(47,125,255,.13)); }
.hero-copy { margin:0 auto; max-width:740px; color:#52647c; font-size:17px; font-weight:650; line-height:1.8; letter-spacing:-.015em; text-wrap:balance; word-break:keep-all; overflow-wrap:break-word; }
html[data-theme="dark"] .hero h1 span { background:linear-gradient(100deg,#65aaff,#70ddec 52%,#a48cff); -webkit-background-clip:text; color:transparent; }
html[data-theme="dark"] .hero-copy { color:#a8b7ca; }

.start-card { margin: 36px auto 0; max-width: 760px; padding: 12px; border-radius: 22px; background: rgba(15,30,52,.77); border: 1px solid rgba(120,164,255,.2); box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.05); display: flex; gap: 10px; backdrop-filter: blur(18px); }
.start-card button { width: 100%; min-height: 68px; border: 0; border-radius: 15px; background: transparent; text-align: left; padding: 0 18px; cursor: pointer; color: #dbe8fa; }
.start-card button strong { display: block; font-size: 15px; margin-bottom: 5px; }
.start-card button span { color: #7186a3; font-size: 12px; }
.start-card .start-cta { min-width: 174px; border: 0; border-radius: 15px; cursor: pointer; background: linear-gradient(135deg, var(--blue), #5d61ff); font-size: 14px; font-weight: 900; box-shadow: 0 13px 28px rgba(47,125,255,.28); transition: .2s ease; text-align: center; }
.start-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(47,125,255,.38); }

.benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; max-width: 920px; margin: 52px auto 0; }
.benefit { text-align: left; padding: 20px; border: 1px solid var(--line); border-radius: 19px; background: rgba(9,22,38,.55); }
.benefit-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(47,125,255,.13); font-size: 18px; }
.benefit strong { display: block; margin-top: 14px; font-size: 15px; letter-spacing:-.02em; word-break:keep-all; }
.benefit p { margin: 8px 0 0; color: #91a2b9; font-size: 12px; font-weight:650; line-height: 1.7; word-break:keep-all; overflow-wrap:break-word; }

.wizard-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(2,7,14,.82); backdrop-filter: blur(16px); animation: fade-in .2s ease; }
.wizard { position:relative; width: min(720px, 100%); min-height: 590px; max-height: calc(100vh - 40px); display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; border: 1px solid rgba(121,157,218,.23); background: linear-gradient(155deg, rgba(18,34,59,.98), rgba(8,18,32,.99)); box-shadow: 0 40px 120px rgba(0,0,0,.65); animation: rise .28s ease; }
.wizard::before { content:""; position:absolute; width:280px; height:280px; top:-175px; right:-90px; border-radius:50%; background:radial-gradient(circle,rgba(45,174,255,.2),rgba(84,88,255,.07) 48%,transparent 72%); pointer-events:none; }
.wizard > * { position:relative; z-index:1; }
.wizard-head { padding: 22px 25px 16px; border-bottom: 1px solid var(--line); background:linear-gradient(90deg,rgba(47,125,255,.07),transparent 58%); }
.wizard-head-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.wizard-title { display: flex; align-items: center; gap: 11px; font-weight: 950; font-size: 16px; letter-spacing:-.025em; }
.wizard-step-count { display:inline-flex; align-items:center; min-height:23px; margin-left:5px; padding:0 8px; border-radius:999px; color: var(--blue-2); background:rgba(47,125,255,.1); border:1px solid rgba(47,125,255,.15); font-size: 10px; font-weight: 950; letter-spacing:0; }
.icon-button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.04); cursor: pointer; }
.progress-track { display: grid; grid-template-columns: repeat(5,1fr); gap: 6px; margin-top: 17px; }
.progress-segment { height: 4px; border-radius: 999px; background: rgba(255,255,255,.08); transition: .25s ease; }
.progress-segment.done { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.wizard-body { flex: 1; overflow: auto; padding: 32px 30px 26px; }
.step-enter { animation: slide-in .24s ease; }
.step-kicker { display:inline-flex; align-items:center; min-height:27px; padding:0 10px; border-radius:999px; color: #71b7ff; background:rgba(47,125,255,.1); border:1px solid rgba(47,125,255,.16); font-size: 10px; font-weight: 950; letter-spacing: .11em; }
.step-title { position:relative; margin: 12px 0 12px; padding-bottom:14px; font-size: clamp(28px, 4vw, 37px); line-height:1.18; font-weight:950; letter-spacing: -.055em; word-break:keep-all; overflow-wrap:break-word; }
.step-title::after { content:""; position:absolute; left:0; bottom:0; width:48px; height:4px; border-radius:999px; background:linear-gradient(90deg,var(--blue),var(--cyan)); box-shadow:0 5px 14px rgba(47,125,255,.24); }
.step-desc { max-width:560px; margin: 0 0 26px; color: #9aabc1; font-size: 14px; font-weight:650; line-height: 1.75; letter-spacing:-.015em; word-break:keep-all; overflow-wrap:break-word; }
.field-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #d9e4f2; font-size: 13px; font-weight: 900; margin-bottom: 10px; }
.field-label small { color: #8395ad; font-size: 11px; font-weight: 750; }
.search-wrap { position: relative; }
.search-input, .date-input, .chat-input { width: 100%; border: 1px solid rgba(116,146,194,.23); border-radius: 15px; background: rgba(4,12,24,.62); color: white; outline: none; transition: .2s ease; }
.search-input { height: 58px; padding: 0 50px 0 17px; font-size:14px; font-weight:750; }
.search-input:focus, .date-input:focus, .chat-input:focus { border-color: rgba(74,142,255,.8); box-shadow: 0 0 0 4px rgba(47,125,255,.1); }
.search-spin { position: absolute; right: 18px; top: 18px; color: var(--blue-2); font-size: 15px; }
.search-results { margin-top: 8px; display: grid; gap: 7px; }
.search-result { width: 100%; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.035); padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; text-align: left; cursor: pointer; transition: .18s ease; }
.search-result:hover { border-color: rgba(80,148,255,.48); background: rgba(47,125,255,.08); }
.result-city { font-size: 13px; font-weight: 850; }
.result-country { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.register-label { color: var(--cyan); font-size: 10px; font-weight: 900; }
.selected-place { margin-top: 9px; border: 1px solid rgba(49,213,155,.32); background: rgba(49,213,155,.08); border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; }
.selected-place strong { font-size: 13px; }
.selected-place span { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.remove-place { border: 0; background: transparent; color: #91a2ba; cursor: pointer; }
.popular-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.mini-chip { border: 1px solid var(--line); background: rgba(255,255,255,.035); padding: 9px 12px; border-radius: 999px; cursor: pointer; color: #c2d0e2; font-size: 11px; font-weight: 850; transition: .18s ease; }
.mini-chip:hover { border-color: var(--blue); color: white; }
.mini-chip.active { color:white; border-color:var(--blue); background:linear-gradient(135deg,var(--blue),#5f61ff); box-shadow:0 8px 18px rgba(47,125,255,.22); }
.origin-box { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }

.date-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.date-input { height: 58px; padding: 0 15px; color-scheme: dark; font-size:14px; font-weight:750; }
.duration-card { margin-top: 18px; border: 1px solid rgba(47,125,255,.26); background: linear-gradient(90deg, rgba(47,125,255,.1), rgba(79,86,255,.08)); padding: 15px 17px; border-radius: 15px; display: flex; justify-content: space-between; align-items: center; }
.duration-card span { color: #aab9cc; font-size: 12px; font-weight:800; }
.duration-card strong { color: #8cc4ff; font-size: 18px; font-weight:950; }
.quick-days { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { min-height:76px; position:relative; border:1px solid var(--line); background:rgba(255,255,255,.025); border-radius:16px; padding:14px; cursor:pointer; text-align:left; transition:.2s ease; }
.choice:hover { background: rgba(255,255,255,.055); transform: translateY(-1px); }
.choice.active { border-color: rgba(62,137,255,.85); background: linear-gradient(135deg, rgba(47,125,255,.18), rgba(92,93,255,.1)); box-shadow: inset 0 0 0 1px rgba(47,125,255,.16); }
.choice:not(.style-choice).active::after { content:"✓"; position:absolute; top:11px; right:11px; width:20px; height:20px; display:grid; place-items:center; border-radius:50%; color:white; background:var(--blue); font-size:10px; font-weight:950; }
.choice-emoji { font-size: 20px; }
.choice strong { display: block; margin-top: 7px; font-size: 13px; letter-spacing:-.015em; }
.choice span { display: block; margin-top: 4px; color: #93a4ba; font-size: 10px; font-weight:650; line-height:1.5; }
.section-divider { margin: 25px 0 15px; color: #d6e1ef; font-size: 13px; font-weight: 900; }
.section-divider::before { content:""; display:inline-block; width:7px; height:7px; margin-right:8px; border-radius:50%; background:var(--blue); box-shadow:0 0 0 4px rgba(47,125,255,.1); vertical-align:1px; }
.style-selection-summary { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:15px; padding:12px 14px; border:1px solid rgba(47,125,255,.17); border-radius:14px; background:rgba(47,125,255,.07); }
.style-selection-summary div { display:flex; align-items:baseline; gap:4px; white-space:nowrap; }
.style-selection-summary b { color:var(--blue-2); font-size:22px; }
.style-selection-summary span { color:var(--text); font-size:11px; font-weight:900; }
.style-selection-summary small { color:var(--muted); font-size:9px; line-height:1.5; text-align:right; }
.preset-label { margin:0 0 8px; color:var(--text); font-size:10px; font-weight:900; }
.style-presets { display:flex; gap:7px; margin-bottom:17px; padding-bottom:2px; overflow-x:auto; scrollbar-width:thin; }
.style-presets button { flex:0 0 auto; min-height:34px; padding:7px 10px; border:1px solid var(--line); border-radius:999px; color:var(--muted); background:rgba(255,255,255,.035); cursor:pointer; font-size:9px; font-weight:850; transition:.18s ease; }
.style-presets button:hover { color:var(--text); border-color:rgba(47,125,255,.42); background:rgba(47,125,255,.08); }
.style-presets button.active { color:white; border-color:var(--blue); background:var(--blue); box-shadow:0 7px 16px rgba(47,125,255,.2); }
.style-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.style-choice { min-height:92px; display:flex; align-items:center; gap:12px; padding:14px 45px 14px 15px; text-align:left; }
.style-choice .choice-emoji { flex:0 0 auto; width:38px; height:38px; display:grid; place-items:center; margin:0; border-radius:12px; background:rgba(47,125,255,.09); font-size:21px; }
.style-copy { display:block !important; min-width:0; margin:0 !important; color:inherit !important; }
.style-copy strong { display:block; margin:0; font-size:13px; letter-spacing:-.015em; }
.style-copy small { display:block; margin-top:5px; color:#8fa1b8; font-size:10px; font-weight:650; line-height:1.5; }
.style-order { position:absolute; top:50%; right:14px; width:23px; height:23px; display:grid; place-items:center; transform:translateY(-50%); border-radius:50%; color:#7d8fa8; background:rgba(124,146,177,.1); font-size:10px; font-style:normal; font-weight:950; }
.style-choice.active .style-order { color:white; background:var(--blue); box-shadow:0 6px 14px rgba(47,125,255,.22); }

.review-card { border: 1px solid rgba(98,145,218,.2); background: rgba(7,17,32,.54); border-radius: 20px; overflow: hidden; }
.review-row { display: grid; grid-template-columns: 105px 1fr; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.review-row:last-child { border-bottom: 0; }
.review-row span { color: #8fa0b6; font-size: 12px; font-weight:800; }
.review-row strong { font-size: 13px; line-height: 1.55; }
.promise { margin-top: 15px; padding: 14px 16px; border-radius: 14px; background: rgba(49,213,155,.075); color: #b5e3d3; font-size: 11px; font-weight:700; line-height: 1.7; }

.wizard-foot { padding: 16px 24px 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(5,13,25,.62); }
.wizard-button { min-height: 48px; border-radius: 14px; padding: 0 22px; border: 1px solid var(--line); background: rgba(255,255,255,.05); cursor: pointer; font-size: 12px; font-weight: 900; transition: .2s ease; }
.wizard-button:hover:not(:disabled) { transform: translateY(-1px); }
.wizard-button.primary { margin-left: auto; min-width: 138px; border: 0; background: linear-gradient(135deg, var(--blue), #5f61ff); box-shadow: 0 10px 24px rgba(47,125,255,.26); }
.wizard-button:disabled { opacity: .35; cursor: not-allowed; }

.trip-workspace { max-width: 1180px; margin: 0 auto; padding: 18px 24px 80px; }
.workspace-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin: 28px 0 22px; }
.workspace-head h1 { margin: 7px 0 0; font-size: clamp(28px, 5vw, 48px); letter-spacing: -.055em; }
.trip-meta { color:#6f819a; font-size:12px; font-weight:700; }
.workspace-actions { display: flex; gap: 8px; }
.action-button { border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 12px; padding: 10px 13px; cursor: pointer; font-size: 11px; font-weight: 850; }
.action-button.primary { border-color: rgba(47,125,255,.45); background: rgba(47,125,255,.12); color: #9fc8ff; }

.booking-spotlight { margin:0 0 18px; padding:20px; border-radius:24px; border:1px solid rgba(47,125,255,.24); background:linear-gradient(125deg,rgba(25,83,190,.24),rgba(39,126,255,.12) 52%,rgba(49,215,239,.1)); box-shadow:0 20px 60px rgba(21,77,174,.13); }
.booking-spotlight-head { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:15px; }
.booking-spotlight-head h2 { margin:6px 0 0; font-size:22px; letter-spacing:-.035em; }
.booking-spotlight-head p { max-width:410px; margin:0; color:var(--muted); font-size:11px; font-weight:650; line-height:1.7; text-align:right; }
.booking-kicker { color:#67b8ff; font-size:10px; font-weight:950; letter-spacing:.1em; }
.booking-grid { display:grid; grid-template-columns:1fr 1fr .75fr; gap:10px; }
.booking-action { min-height:122px; display:flex; align-items:center; gap:14px; padding:17px; border-radius:18px; border:1px solid rgba(110,160,255,.27); background:rgba(5,18,39,.6); transition:.22s ease; box-shadow:inset 0 1px rgba(255,255,255,.06); }
.booking-action:hover { transform:translateY(-3px); border-color:rgba(74,142,255,.7); box-shadow:0 15px 32px rgba(31,91,199,.2); }
.booking-action.flight { background:linear-gradient(135deg,rgba(22,93,219,.94),rgba(65,91,231,.88)); border-color:transparent; }
.booking-action.hotel { background:linear-gradient(135deg,rgba(0,129,184,.9),rgba(28,114,212,.88)); border-color:transparent; }
.booking-icon { width:46px; height:46px; flex:0 0 auto; display:grid; place-items:center; border-radius:14px; background:rgba(255,255,255,.15); font-size:22px; }
.booking-action div { min-width:0; }
.booking-action small { display:block; color:rgba(255,255,255,.78); font-size:9px; font-weight:850; letter-spacing:.04em; }
.booking-action strong { display:block; margin-top:6px; color:white; font-size:15px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.booking-action b { display:inline-flex; align-items:center; gap:8px; margin-top:11px; padding:7px 9px; border-radius:9px; color:white; background:rgba(255,255,255,.13); font-size:10px; font-weight:950; }
.booking-action b i { font-style:normal; transition:transform .18s ease; }
.booking-action:hover b i { transform:translateX(3px); }
.booking-action.activity-booking small { color:#91a2ba; }
.booking-action.activity-booking strong { color:var(--text); }
.booking-action.activity-booking b { color:#67aeff; background:rgba(47,125,255,.08); }

.workspace-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 18px; align-items: start; }
.main-column, .side-column { display: grid; gap: 15px; }
.side-column { position:sticky; top:86px; }
.panel { border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: 0 18px 50px rgba(0,0,0,.16); backdrop-filter: blur(18px); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 19px; border-bottom: 1px solid var(--line); }
.panel-head strong { font-size:14px; }
.panel-head span { color:#6f819a; font-size:10px; font-weight:700; }
.ai-ready-badge { display:inline-flex; align-items:center; gap:6px; padding:6px 8px; border-radius:999px; color:#38a57f !important; background:rgba(49,213,155,.09); border:1px solid rgba(49,213,155,.16); font-weight:900 !important; }
.ai-ready-badge i { width:6px; height:6px; border-radius:50%; background:#31d59b; box-shadow:0 0 0 4px rgba(49,213,155,.1); animation:ai-pulse 1.8s ease-in-out infinite; }

.loading-card { padding: 34px 20px; display: grid; justify-items: center; text-align: center; }
.ai-orbit { width: 60px; height: 60px; border: 1px solid rgba(84,165,255,.24); border-radius: 50%; display: grid; place-items: center; position: relative; background: rgba(47,125,255,.1); }
.ai-orbit::after { content:""; position:absolute; width:8px; height:8px; border-radius:50%; background:var(--cyan); top:-4px; left:26px; transform-origin:4px 34px; animation: orbit 1.4s linear infinite; box-shadow: 0 0 14px var(--cyan); }
.loading-card strong { margin-top: 17px; font-size: 14px; }
.loading-card p { margin: 7px 0 0; color: var(--muted); font-size: 10px; }

.summary-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); }
.summary-stat { background: rgba(8,20,35,.92); padding: 15px; }
.summary-stat span { display:block; color:#7487a2; font-size:10px; font-weight:750; }
.summary-stat strong { display:block; margin-top:6px; font-size:17px; }
.summary-stat.route strong { color:#56a4ff; }
.day-tabs { display: flex; gap: 7px; padding: 14px 17px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.day-tab { min-height:38px; white-space:nowrap; border:1px solid var(--line); background:rgba(255,255,255,.035); border-radius:999px; padding:8px 15px; cursor:pointer; font-size:11px; font-weight:900; }
.day-tab.active { background: var(--blue); border-color: var(--blue); color: white; }
.day-overview { display:flex; align-items:center; gap:13px; margin:16px 18px 4px; padding:13px 14px; border-radius:14px; background:rgba(47,125,255,.075); border:1px solid rgba(47,125,255,.13); }
.day-overview > span { flex:0 0 auto; color:var(--blue-2); font-size:10px; font-weight:950; letter-spacing:.08em; }
.day-overview strong { display:block; font-size:14px; }
.day-overview small { display:block; margin-top:4px; color:var(--muted); font-size:10px; line-height:1.5; }
.day-mix { display:flex; flex-wrap:wrap; gap:6px; margin-top:9px; }
.day-mix b { padding:5px 8px; border-radius:999px; color:#6f87a7; background:rgba(255,255,255,.055); border:1px solid rgba(117,151,200,.12); font-size:9px; font-weight:900; }
.day-mix b.meal { color:#ffad69; background:rgba(255,139,61,.09); border-color:rgba(255,139,61,.18); }
.day-mix b.cafe { color:#dc9cff; background:rgba(187,104,255,.09); border-color:rgba(187,104,255,.17); }
.route-dashboard { display:grid; grid-template-columns:1.2fr repeat(3,1fr); gap:8px; margin:11px 18px 8px; }
.route-metric { min-width:0; padding:12px 13px; border:1px solid rgba(112,147,196,.13); border-radius:13px; background:rgba(255,255,255,.025); }
.route-metric.featured { background:linear-gradient(135deg,rgba(40,121,239,.16),rgba(49,215,239,.07)); border-color:rgba(47,125,255,.24); }
.route-metric span { display:block; color:#71859f; font-size:8px; font-weight:950; letter-spacing:.07em; text-transform:uppercase; }
.route-metric strong { display:block; margin-top:6px; overflow:hidden; color:var(--text); font-size:13px; white-space:nowrap; text-overflow:ellipsis; }
.route-metric.featured strong { color:#63aaff; }
.route-metric small { display:block; margin-top:4px; color:var(--muted); font-size:8px; font-weight:700; }
.route-editor-note { display:flex; align-items:flex-start; gap:12px; margin:8px 18px 6px; padding:13px 14px; border-radius:14px; background:linear-gradient(105deg,rgba(47,125,255,.08),rgba(49,215,239,.035)); border-left:3px solid #3d8cff; }
.route-editor-note > span { flex:0 0 auto; margin-top:2px; color:#63aaff; font-size:8px; font-weight:1000; letter-spacing:.1em; }
.route-editor-note strong { display:block; color:var(--text); font-size:11px; line-height:1.55; }
.route-editor-note small { display:block; margin-top:5px; color:var(--muted); font-size:9px; line-height:1.55; }
.activities { padding:10px 18px 20px; }
.activity { display:grid; grid-template-columns:76px 16px 1fr; gap:10px; position:relative; margin:2px -8px; padding:13px 8px; border:1px solid transparent; border-radius:15px; cursor:pointer; transition:.2s ease; }
.activity:hover { border-color:rgba(47,125,255,.2); background:rgba(47,125,255,.05); transform:translateX(2px); }
.activity:focus-visible { outline:3px solid rgba(47,125,255,.22); outline-offset:2px; }
.activity.selected { border-color:rgba(47,125,255,.5); background:linear-gradient(135deg,rgba(47,125,255,.13),rgba(49,215,239,.06)); box-shadow:0 10px 25px rgba(47,125,255,.08); }
.activity-restaurant { border-color:rgba(255,139,61,.12); background:linear-gradient(135deg,rgba(255,139,61,.055),transparent 46%); }
.activity-cafe { border-color:rgba(187,104,255,.12); background:linear-gradient(135deg,rgba(187,104,255,.055),transparent 46%); }
.activity-restaurant:hover { border-color:rgba(255,139,61,.34); background:linear-gradient(135deg,rgba(255,139,61,.11),rgba(255,202,84,.035)); }
.activity-cafe:hover { border-color:rgba(187,104,255,.3); background:linear-gradient(135deg,rgba(187,104,255,.1),rgba(240,138,199,.03)); }
.activity-time { display:flex; flex-direction:column; gap:4px; color:#5295e9; font-size:11px; font-weight:950; padding-top:3px; }
.activity-time b { color:#8295ae; font-size:7px; font-weight:1000; letter-spacing:.11em; }
.activity-restaurant .activity-time { color:#ff984e; }
.activity-cafe .activity-time { color:#c883f7; }
.timeline { position: relative; display: flex; justify-content: center; }
.timeline::after { content:""; position:absolute; top:14px; bottom:-20px; width:1px; background:rgba(95,142,209,.22); }
.activity:last-child .timeline::after { display:none; }
.timeline-dot { position: relative; z-index:1; width: 9px; height: 9px; margin-top: 4px; border-radius:50%; background:var(--blue-2); box-shadow:0 0 0 4px rgba(47,125,255,.12); }
.activity-restaurant .timeline-dot { background:#ff8b3d; box-shadow:0 0 0 4px rgba(255,139,61,.13); }
.activity-cafe .timeline-dot { background:#b968ee; box-shadow:0 0 0 4px rgba(185,104,238,.13); }
.activity-photo { position:relative; width:100%; aspect-ratio:16/7; min-height:150px; max-height:230px; margin:0 0 14px; overflow:hidden; border:1px solid rgba(109,147,203,.2); border-radius:15px; background:linear-gradient(135deg,rgba(47,125,255,.1),rgba(49,215,239,.06)); box-shadow:0 12px 28px rgba(20,55,105,.1); }
.activity-photo img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.activity:hover .activity-photo img { transform:scale(1.025); }
.activity-photo figcaption { position:absolute; right:8px; bottom:8px; max-width:calc(100% - 16px); padding:5px 8px; border-radius:8px; color:rgba(255,255,255,.9); background:rgba(5,14,28,.66); backdrop-filter:blur(8px); font-size:8px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.activity-photo figcaption a { color:inherit; }
.activity-photo-skeleton,.activity-photo-fallback { width:100%; height:100%; display:grid; place-items:center; align-content:center; gap:9px; color:#8094ae; font-size:10px; font-weight:850; }
.activity-photo-skeleton i { width:28px; height:28px; border-radius:10px; background:linear-gradient(100deg,rgba(47,125,255,.08),rgba(99,185,255,.28),rgba(47,125,255,.08)); background-size:220% 100%; animation:photo-shimmer 1.25s linear infinite; }
.activity-photo-fallback { padding:25px; text-align:center; background:radial-gradient(circle at 75% 20%,rgba(49,215,239,.16),transparent 36%),linear-gradient(135deg,rgba(47,125,255,.12),rgba(95,97,255,.08)); }
.activity-photo-fallback i { width:42px; height:42px; display:grid; place-items:center; border:1px solid rgba(77,137,225,.2); border-radius:14px; background:rgba(255,255,255,.35); box-shadow:0 10px 24px rgba(30,73,135,.1); font-size:19px; font-style:normal; }
.activity-photo-fallback strong { max-width:90%; color:var(--text); font-size:14px; }
.activity-photo-fallback span { max-width:90%; color:var(--muted); font-size:9px; line-height:1.5; }
.activity.selected .activity-photo { border-color:rgba(47,125,255,.5); }
.activity-content h3 { margin:0; font-size:15px; letter-spacing:-.015em; }
.activity-feature { display:inline-flex; align-items:center; margin:0 0 8px; padding:6px 9px; border-radius:999px; font-size:9px; font-weight:950; letter-spacing:.01em; }
.activity-feature.restaurant { color:#ffb071; background:rgba(255,139,61,.11); border:1px solid rgba(255,139,61,.18); }
.activity-feature.cafe { color:#dda0ff; background:rgba(187,104,255,.1); border:1px solid rgba(187,104,255,.17); }
.activity-title-row { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.map-focus-hint { flex:0 0 auto; color:#6481a7; font-size:9px; font-weight:850; opacity:.58; transform:translateY(2px); transition:.18s ease; }
.activity:hover .map-focus-hint { opacity:1; transform:none; }
.map-selected-badge { flex:0 0 auto; padding:5px 8px; border-radius:999px; color:#8dc5ff; background:rgba(47,125,255,.15); font-size:9px; font-weight:950; }
.activity-content p { margin:8px 0 10px; color:#9aabc0; font-size:12px; line-height:1.75; white-space:pre-wrap; word-break:keep-all; overflow-wrap:break-word; }
.activity-tags { display:flex; flex-wrap:wrap; gap:6px; }
.activity-tag { padding:6px 9px; border-radius:9px; background:rgba(255,255,255,.045); color:#8193ab; font-size:10px; font-weight:800; }
.activity-tag.movement { color:#77aef5; background:rgba(47,125,255,.08); border:1px solid rgba(47,125,255,.1); }
.activity-tag.movement.transit { color:#79bfe9; background:rgba(24,149,206,.08); border-color:rgba(24,149,206,.12); }
.map-link { color:#74b8ff; }

.day-map { margin:0 18px 20px; overflow:hidden; border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.025); }
.day-map-head { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 15px; border-bottom:1px solid var(--line); }
.day-map-head strong { display:block; font-size:14px; }
.day-map-head span { display:block; margin-top:4px; color:var(--muted); font-size:10px; }
.route-button { flex:0 0 auto; padding:10px 13px; border-radius:11px; color:white; background:linear-gradient(135deg,#2879ef,#565eef); font-size:10px; font-weight:900; box-shadow:0 8px 20px rgba(47,125,255,.2); }
.map-route-strip { display:flex; align-items:center; gap:7px; overflow-x:auto; padding:10px 12px; border-bottom:1px solid var(--line); scrollbar-width:thin; }
.map-route-strip > b { flex:0 0 auto; display:flex; flex-direction:column; align-items:center; color:#8ba0bb; font-size:10px; }
.map-route-strip > b small { min-height:10px; color:#6f86a4; font-size:7px; font-weight:850; }
.map-route-stop { max-width:190px; flex:0 0 auto; display:flex; align-items:center; gap:7px; padding:7px 9px; border:1px solid var(--line); border-radius:11px; color:var(--muted); background:rgba(255,255,255,.035); cursor:pointer; transition:.18s ease; }
.map-route-stop:hover { border-color:rgba(47,125,255,.38); color:var(--text); }
.map-route-stop.active { border-color:var(--blue); color:white; background:var(--blue); box-shadow:0 7px 16px rgba(47,125,255,.2); }
.map-route-stop i { width:18px; height:18px; flex:0 0 auto; display:grid; place-items:center; border-radius:50%; color:inherit; background:rgba(128,151,184,.14); font-size:8px; font-style:normal; font-weight:950; }
.map-route-stop span { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:9px; font-weight:850; }
.map-frame { position:relative; min-height:300px; background:#e8eef6; }
.map-frame iframe { display:block; width:100%; height:330px; border:0; }

.deal-panel { padding: 17px; }
.deal-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
.deal-heading strong { font-size:13px; }
.tracking-badge { color:#88e2c3; background:rgba(49,213,155,.1); border:1px solid rgba(49,213,155,.18); padding:5px 7px; border-radius:999px; font-size:8px; font-weight:900; }
.deal-card { display:block; padding:14px; border:1px solid var(--line); border-radius:15px; background:rgba(255,255,255,.03); transition:.2s ease; }
.deal-card + .deal-card { margin-top:9px; }
.deal-card:hover { transform:translateY(-2px); border-color:rgba(74,142,255,.45); }
.deal-type { color:#72849d; font-size:9px; font-weight:850; }
.deal-card strong { display:block; margin-top:5px; font-size:12px; }
.deal-card span:last-child { display:block; margin-top:7px; color:#66aeff; font-size:10px; font-weight:850; }
.ref-info { margin:10px 2px 0; color:#657791; font-size:9px; line-height:1.55; }

.chat-thread { max-height:430px; overflow:auto; padding:16px; display:grid; gap:12px; }
.message { max-width:92%; border-radius:16px; padding:12px 14px; font-size:12px; line-height:1.7; white-space:pre-wrap; }
.message.user { margin-left: auto; background: linear-gradient(135deg, #296fe2, #555be9); color:white; border-bottom-right-radius:5px; }
.message.assistant { background: rgba(255,255,255,.055); color:#c2cede; border:1px solid var(--line); border-bottom-left-radius:5px; }
.message.error { color:#ffb7bf; border-color:rgba(255,107,122,.24); background:rgba(255,107,122,.07); }
.typing { display:flex; align-items:center; gap:5px; color:#7387a3; font-size:10px; }
.typing i { width:5px; height:5px; border-radius:50%; background:#7caef2; animation:bounce 1s infinite; }
.typing i:nth-child(2){animation-delay:.12s}.typing i:nth-child(3){animation-delay:.24s}
.chat-suggestions { display:flex; flex-wrap:wrap; gap:6px; padding:0 12px 10px; }
.chat-suggestions button { border:1px solid var(--line); border-radius:999px; padding:7px 9px; color:var(--muted); background:rgba(255,255,255,.035); cursor:pointer; font-size:9px; font-weight:850; transition:.18s ease; }
.chat-suggestions button:hover { border-color:rgba(47,125,255,.38); color:var(--text); background:rgba(47,125,255,.07); }
.chat-form { display:flex; gap:8px; padding:12px; border-top:1px solid var(--line); }
.chat-input { min-height:46px; resize:none; padding:13px 14px; line-height:1.5; }
.send-button { width:48px; height:46px; flex:0 0 auto; border:0; border-radius:13px; background:var(--blue); cursor:pointer; font-size:17px; font-weight:900; }
.send-button:disabled { opacity:.45; cursor:not-allowed; }
.mobile-booking-bar { display:none; }
.empty-itinerary { padding:25px; color:var(--muted); font-size:11px; text-align:center; }
.toast { position:fixed; left:50%; bottom:25px; z-index:200; transform:translate(-50%,20px); opacity:0; pointer-events:none; background:#eef6ff; color:#10213a; padding:11px 16px; border-radius:12px; box-shadow:0 15px 45px rgba(0,0,0,.35); font-size:11px; font-weight:850; transition:.25s ease; }
.toast.show { opacity:1; transform:translate(-50%,0); }
.footer { max-width:1180px; margin:0 auto; padding:0 24px 30px; text-align:center; color:#50617a; font-size:9px; }
.footer a { text-decoration:underline; text-underline-offset:3px; }
.legal-footer { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px 18px; padding-top:20px; }
.legal-footer nav { display:flex; align-items:center; gap:9px; }
.legal-footer a { color:inherit; font-size:10px; font-weight:800; text-decoration:none; }
.legal-footer a:hover { color:var(--blue-2); text-decoration:underline; }
.legal-footer small { font-size:9px; }

/* 기본 밝은 화면 — 다크 모드는 사용자가 직접 선택할 때만 적용 */
html:not([data-theme="dark"]) body::before {
  opacity:.28;
  background-image:linear-gradient(rgba(55,86,128,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(55,86,128,.045) 1px,transparent 1px);
}
html:not([data-theme="dark"]) .eyebrow { color:#356ea9; background:rgba(43,104,255,.065); border-color:rgba(47,125,255,.17); }
html:not([data-theme="dark"]) .start-card { background:rgba(255,255,255,.88); border-color:rgba(47,125,255,.15); box-shadow:var(--shadow),inset 0 1px rgba(255,255,255,.8); }
html:not([data-theme="dark"]) .start-card button { color:#263750; }
html:not([data-theme="dark"]) .start-card button span { color:#6c7d94; }
html:not([data-theme="dark"]) .benefit { background:rgba(255,255,255,.72); box-shadow:0 12px 34px rgba(37,57,89,.055); }
html:not([data-theme="dark"]) .benefit p { color:#5b6c83; }
html:not([data-theme="dark"]) .wizard-backdrop { background:rgba(226,234,246,.74); }
html:not([data-theme="dark"]) .wizard { background:linear-gradient(155deg,rgba(255,255,255,.99),rgba(246,249,254,.99)); border-color:rgba(81,111,158,.18); box-shadow:0 40px 100px rgba(37,57,89,.24); }
html:not([data-theme="dark"]) .wizard-head { background:linear-gradient(90deg,rgba(47,125,255,.07),rgba(255,255,255,.2) 68%); }
html:not([data-theme="dark"]) .step-title { color:#142037; }
html:not([data-theme="dark"]) .step-desc { color:#5b6c83; }
html:not([data-theme="dark"]) .step-kicker { color:#176edc; background:rgba(47,125,255,.075); }
html:not([data-theme="dark"]) .icon-button,
html:not([data-theme="dark"]) .wizard-button,
html:not([data-theme="dark"]) .search-result,
html:not([data-theme="dark"]) .mini-chip,
html:not([data-theme="dark"]) .choice,
html:not([data-theme="dark"]) .day-tab,
html:not([data-theme="dark"]) .deal-card,
html:not([data-theme="dark"]) .action-button { background:rgba(255,255,255,.78); }
html:not([data-theme="dark"]) .progress-segment { background:rgba(27,53,88,.1); }
html:not([data-theme="dark"]) .field-label,
html:not([data-theme="dark"]) .section-divider { color:#3f4f66; }
html:not([data-theme="dark"]) .field-label small { color:#687b95; }
html:not([data-theme="dark"]) .search-input,
html:not([data-theme="dark"]) .date-input,
html:not([data-theme="dark"]) .chat-input { background:rgba(255,255,255,.92); color:#172033; border-color:rgba(70,96,137,.2); }
html:not([data-theme="dark"]) .date-input { color-scheme:light; }
html:not([data-theme="dark"]) .duration-card { border-color:rgba(47,125,255,.25); background:linear-gradient(90deg,rgba(47,125,255,.09),rgba(100,94,255,.06)); }
html:not([data-theme="dark"]) .duration-card span { color:#60728b; }
html:not([data-theme="dark"]) .duration-card strong { color:#2678e8; }
html:not([data-theme="dark"]) .search-result:hover,
html:not([data-theme="dark"]) .choice:hover { background:#fff; }
html:not([data-theme="dark"]) .mini-chip { color:#52647c; }
html:not([data-theme="dark"]) .mini-chip:hover { color:#145dc7; }
html:not([data-theme="dark"]) .mini-chip.active { color:#fff; border-color:var(--blue); background:linear-gradient(135deg,var(--blue),#5f61ff); }
html:not([data-theme="dark"]) .selected-place { background:rgba(28,181,128,.07); }
html:not([data-theme="dark"]) .choice.active { background:linear-gradient(135deg,rgba(47,125,255,.11),rgba(92,93,255,.06)); }
html:not([data-theme="dark"]) .choice span { color:#64758c; }
html:not([data-theme="dark"]) .style-copy small { color:#64758c; }
html:not([data-theme="dark"]) .style-presets button { background:#fff; }
html:not([data-theme="dark"]) .style-presets button.active { color:#fff; background:var(--blue); }
html:not([data-theme="dark"]) .review-card { background:rgba(255,255,255,.65); }
html:not([data-theme="dark"]) .review-row span { color:#63758d; }
html:not([data-theme="dark"]) .promise { color:#297b61; }
html:not([data-theme="dark"]) .wizard-foot { background:rgba(246,249,253,.94); }
html:not([data-theme="dark"]) .wizard-button.primary,
html:not([data-theme="dark"]) .start-card .start-cta,
html:not([data-theme="dark"]) .send-button { color:#fff; }
html:not([data-theme="dark"]) .wizard-button.primary {
  border:0;
  background:linear-gradient(135deg,var(--blue),#5f61ff);
  box-shadow:0 10px 24px rgba(47,125,255,.26);
}
html:not([data-theme="dark"]) .action-button.primary {
  border-color:rgba(47,125,255,.32);
  background:rgba(47,125,255,.1);
  color:#236ed7;
}
html:not([data-theme="dark"]) .panel { box-shadow:0 18px 50px rgba(37,57,89,.08); }
html:not([data-theme="dark"]) .summary-stat { background:rgba(255,255,255,.96); }
html:not([data-theme="dark"]) .route-metric { background:#fff; border-color:rgba(70,105,158,.13); box-shadow:0 8px 22px rgba(37,57,89,.04); }
html:not([data-theme="dark"]) .route-metric.featured { background:linear-gradient(135deg,#edf5ff,#f3fbff); border-color:rgba(47,125,255,.22); }
html:not([data-theme="dark"]) .route-editor-note { background:linear-gradient(105deg,#f1f7ff,#f7fcff); }
html:not([data-theme="dark"]) .activity-content p { color:#5f6f84; }
html:not([data-theme="dark"]) .activity-tag { background:#f1f5fa; color:#586b84; }
html:not([data-theme="dark"]) .day-mix b { background:#fff; }
html:not([data-theme="dark"]) .day-mix b.meal { color:#b75a1d; background:#fff7f0; }
html:not([data-theme="dark"]) .day-mix b.cafe { color:#8145a8; background:#fbf3ff; }
html:not([data-theme="dark"]) .activity-feature.restaurant { color:#a84f15; background:#fff3e9; }
html:not([data-theme="dark"]) .activity-feature.cafe { color:#783d9f; background:#faf0ff; }
html:not([data-theme="dark"]) .activity.selected { background:linear-gradient(135deg,#eff6ff,#f5fbff); }
html:not([data-theme="dark"]) .activity-photo { background:linear-gradient(135deg,#edf5ff,#f4fbff); border-color:rgba(70,105,158,.18); }
html:not([data-theme="dark"]) .map-selected-badge { color:#176ad6; }
html:not([data-theme="dark"]) .map-route-stop { background:#fff; }
html:not([data-theme="dark"]) .map-route-stop.active { background:var(--blue); color:#fff; }
html:not([data-theme="dark"]) .day-tab.active { border-color:var(--blue); background:var(--blue); color:#fff; box-shadow:0 7px 16px rgba(47,125,255,.22); }
html:not([data-theme="dark"]) .booking-spotlight { background:linear-gradient(125deg,#edf5ff,#f7fbff 52%,#ecfbff); box-shadow:0 20px 60px rgba(37,57,89,.1); }
html:not([data-theme="dark"]) .booking-kicker { color:#176bd8; }
html:not([data-theme="dark"]) .booking-action.activity-booking { background:#fff; }
html:not([data-theme="dark"]) .day-map { background:#fff; box-shadow:0 12px 34px rgba(37,57,89,.06); }
html:not([data-theme="dark"]) .map-link { color:#176ad6; }
html:not([data-theme="dark"]) .message.assistant { background:#f4f7fb; color:#3a4b62; }
html:not([data-theme="dark"]) .chat-suggestions button { background:#fff; }
html:not([data-theme="dark"]) .deal-card:hover { background:#fff; }
html:not([data-theme="dark"]) .tracking-badge { color:#14825f; }
html:not([data-theme="dark"]) .promise { color:#34735f; }
html:not([data-theme="dark"]) .footer { color:#6c7b90; }

@keyframes fade-in { from { opacity:0; } to { opacity:1; } }
@keyframes rise { from { opacity:0; transform:translateY(14px) scale(.98); } to { opacity:1; transform:none; } }
@keyframes slide-in { from { opacity:0; transform:translateX(12px); } to { opacity:1; transform:none; } }
@keyframes orbit { to { transform:rotate(360deg); } }
@keyframes bounce { 0%,70%,100%{transform:translateY(0)}35%{transform:translateY(-4px)} }
@keyframes ai-pulse { 0%,100%{opacity:.55;transform:scale(.9)}50%{opacity:1;transform:scale(1.12)} }
@keyframes photo-shimmer { to { background-position:-220% 0; } }

@media (max-width: 900px) {
  .workspace-grid { grid-template-columns: 1fr; }
  .side-column { position:static; grid-template-columns:1fr; }
}
@media (max-width: 680px) {
  .topbar { height:64px; padding:0 16px; }
  .brand-caption, .desktop-only, .theme-label { display:none; }
  .home { padding:38px 16px 58px; }
  .hero h1 { font-size:40px; }
  .hero-copy { font-size:13px; }
  .start-card { display:block; padding:9px; }
  .start-card button { min-height:62px; }
  .start-cta { width:100%; min-height:50px; }
  .benefits { grid-template-columns:1fr; margin-top:30px; }
  .wizard-backdrop { padding:0; align-items:end; }
  .wizard { min-height:88vh; max-height:96vh; border-radius:25px 25px 0 0; }
  .wizard-head { padding:18px 18px 13px; }
  .wizard-body { padding:25px 18px 20px; }
  .wizard-foot { padding:13px 16px 20px; }
  .step-title { font-size:30px; }
  .step-desc { font-size:13px; }
  .choice-grid { grid-template-columns:1fr 1fr; }
  .style-selection-summary { align-items:flex-start; flex-direction:column; }
  .style-selection-summary small { text-align:left; }
  .style-grid { grid-template-columns:1fr; }
  .date-grid { grid-template-columns:1fr; }
  .trip-workspace { padding:8px 14px 112px; }
  .workspace-head { align-items:flex-start; flex-direction:column; margin-top:16px; }
  .workspace-head h1 { font-size:32px; }
  .workspace-actions { width:100%; }
  .workspace-actions .action-button { flex:1; }
  .booking-spotlight { padding:15px; border-radius:20px; }
  .booking-spotlight-head { align-items:flex-start; flex-direction:column; }
  .booking-spotlight-head p { text-align:left; }
  .booking-grid { grid-template-columns:1fr; }
  .booking-action { min-height:92px; }
  .side-column { grid-template-columns:1fr; }
  .summary-strip { grid-template-columns:1fr 1fr; }
  .summary-stat { padding:12px 10px; }
  .route-dashboard { grid-template-columns:1fr 1fr; margin-left:13px; margin-right:13px; }
  .route-editor-note { margin-left:13px; margin-right:13px; }
  .activity { grid-template-columns:60px 12px 1fr; gap:8px; }
  .activity-photo { min-height:130px; aspect-ratio:4/3; }
  .activities { padding-left:13px; padding-right:13px; }
  .day-map { margin-left:13px; margin-right:13px; }
  .day-map-head { align-items:flex-start; flex-direction:column; }
  .route-button { width:100%; text-align:center; }
  .map-frame, .map-frame iframe { min-height:270px; height:270px; }
  .review-row { grid-template-columns:80px 1fr; }
  .mobile-booking-bar { position:fixed; left:10px; right:10px; bottom:10px; z-index:90; display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:8px; border:1px solid rgba(119,148,194,.23); border-radius:18px; background:rgba(250,252,255,.93); box-shadow:0 16px 48px rgba(19,42,77,.24); backdrop-filter:blur(18px); }
  html[data-theme="dark"] .mobile-booking-bar { background:rgba(7,17,31,.92); }
  .mobile-booking-bar a { min-height:52px; display:flex; align-items:center; justify-content:center; gap:8px; border-radius:13px; color:white; background:linear-gradient(135deg,#2879ef,#555eef); font-size:11px; }
  .mobile-booking-bar a:last-child { background:linear-gradient(135deg,#0686ba,#2476d5); }
  .mobile-booking-bar span { font-size:17px; }
  .mobile-booking-bar strong { font-size:11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}
