.admin-site .skip-link { position:fixed; top:-100px; left:12px; padding:12px; background:#fff; color:#222; z-index:200; }
.admin-site .skip-link:focus { top:12px; }
:root {
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f9fafb;
  --brand: #4f46e5;
  --brand-mid: #8b5cf6;
  --brand-2: #db2777;
  --ok: #059669;
  --warn: #d97706;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f9fafb;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(560px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid #f3f4f6;
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, #6366f1, #a855f7 52%, #ec4899);
  box-shadow: 0 1px 2px rgba(15,23,42,.08);
  font-size: 18px;
}
.top-nav { display: flex; align-items: center; gap: 10px; color: #9ca3af; font-size: 13px; }
.top-nav a:last-child,
.top-nav .nav-login {
  color: white;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  padding: 7px 11px;
  border-radius: 8px;
  font-weight: 700;
}
.top-nav .nav-login { border: 0; cursor: pointer; }
.site-footer { padding: 32px 0; color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-inner > * { min-width: 0; overflow-wrap: anywhere; }
body.modal-open { overflow: hidden; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17,24,39,.48);
  backdrop-filter: blur(4px);
}
.modal-backdrop[hidden] { display: none; }
.login-modal {
  position: relative;
  width: min(420px, 100%);
  background: white;
  border: 1px solid #eef2ff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(15,23,42,.22);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  cursor: pointer;
}
.login-modal-head {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-right: 32px;
}
.login-modal-head h2 { margin: 0 0 4px; font-size: 20px; line-height: 1.2; }
.login-modal-head p { margin: 0; color: var(--muted); font-size: 14px; }
.login-actions { display: grid; gap: 10px; margin-top: 22px; }
.login-dev { margin-top: 10px; }
.plan-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  background: white;
  border: 1px solid #eef2ff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(15,23,42,.22);
}
.plan-modal-head { padding-right: 34px; }
.plan-modal-head h2 { margin: 8px 0 6px; font-size: 24px; line-height: 1.2; }
.plan-modal-head p { margin: 0; color: var(--muted); line-height: 1.55; }
.plan-modal-form { display: grid; gap: 14px; margin-top: 20px; }
.plan-modal-form .duration-pill { margin-top: 0; }
.planner-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 26px;
  color: white;
  background:
    linear-gradient(90deg, rgba(15,23,42,.94), rgba(31,41,55,.78)),
    url('/assets/city-images/okinawa-1.jpg') center / cover no-repeat;
}
.planner-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .7fr); gap: 36px; align-items: center; }
.planner-copy h1 { margin: 14px 0 14px; font-size: 44px; line-height: 1.08; letter-spacing: 0; max-width: 760px; }
.planner-copy p { margin: 0; max-width: 640px; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.7; }
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 13px;
  font-weight: 800;
}
.live-badge i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34,197,94,.16);
}
.planner-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.planner-actions .btn-ghost { color: white; background: rgba(255,255,255,.14); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.trust-row span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  font-size: 12px;
}
.trust-row strong { color: white; }
.travel-motion {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background:
    radial-gradient(circle at 70% 18%, rgba(34,197,94,.28), transparent 30%),
    radial-gradient(circle at 14% 78%, rgba(168,85,247,.28), transparent 34%),
    rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0,0,0,.24);
}
.travel-motion canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.motion-card,
.motion-pill {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(15,23,42,.56);
  box-shadow: 0 14px 40px rgba(0,0,0,.2);
  backdrop-filter: blur(14px);
}
.motion-card {
  display: grid;
  gap: 5px;
  border-radius: 12px;
  padding: 14px;
}
.motion-card span,
.motion-card small { color: rgba(255,255,255,.66); font-size: 12px; }
.motion-card strong { color: white; font-size: 17px; }
.motion-card-main { left: 18px; right: 78px; bottom: 18px; }
.motion-card-sub {
  top: 22px;
  right: 18px;
  min-width: 178px;
  animation: floatCard 4.6s ease-in-out infinite;
}
.motion-pill {
  left: 20px;
  top: 22px;
  border-radius: 999px;
  padding: 8px 11px;
  color: #bbf7d0;
  font-size: 12px;
  font-weight: 900;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(9px); }
}
.planner-section { padding-top: 22px; }
.planner-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.planner-card {
  min-width: 0;
  padding: 18px;
  background: white;
  border: 1px solid #eef2ff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
}
.planner-card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.planner-card-head h2 { margin: 0; font-size: 24px; }
.planner-card-head strong {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: #065f46;
  background: #d1fae5;
  font-size: 12px;
}
.planner-side { position: sticky; top: 84px; min-width: 0; }
.sample-card {
  padding: 18px;
  background: white;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.sample-card h2 { margin: 4px 0 12px; font-size: 20px; line-height: 1.25; }
.sample-route { display: grid; gap: 10px; }
.sample-route div { padding: 11px 12px; border-radius: 10px; background: #f9fafb; }
.sample-route strong { display: block; margin-bottom: 4px; color: #4f46e5; font-size: 12px; }
.sample-route span { color: #374151; font-size: 13px; line-height: 1.45; }
.sample-card p { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.monthly-section { padding-top: 12px; padding-bottom: 8px; }
.monthly-title { align-items: center; }
.monthly-title p { font-size: 12px; color: #9ca3af; white-space: nowrap; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4f46e5;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 3px;
}
.eyebrow span {
  display: inline-block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: rgba(99,102,241,.35);
}
.month-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 1px 0 14px;
  scrollbar-width: none;
}
.month-tabs::-webkit-scrollbar { display: none; }
.month-tabs button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 10px 15px;
  background: #f3f4f6;
  color: #4b5563;
  font-weight: 700;
  font-size: 14px;
}
.month-tabs button.active {
  background: #6366f1;
  color: white;
  box-shadow: 0 8px 16px rgba(99,102,241,.22);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.recommend-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border: 0;
  border-radius: 16px;
  padding: 0;
  text-align: left;
  color: white;
  cursor: pointer;
  background:
    linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.24), rgba(0,0,0,.04)),
    linear-gradient(135deg, #f43f5e, #ec4899 48%, #9333ea);
}
.recommend-card:nth-child(2) {
  background:
    linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.18), rgba(0,0,0,.04)),
    linear-gradient(135deg, #f59e0b, #ea580c, #dc2626);
}
.recommend-card:nth-child(3) {
  background:
    linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.18), rgba(0,0,0,.04)),
    linear-gradient(135deg, #10b981, #14b8a6, #06b6d4);
}
.recommend-card.has-image,
.recommend-card.has-image:nth-child(2),
.recommend-card.has-image:nth-child(3) {
  background:
    linear-gradient(to top, rgba(0,0,0,.76), rgba(0,0,0,.2), rgba(0,0,0,.04)),
    var(--rec-image) center / cover no-repeat;
}
.recommend-card.is-hidden { display: none; }
.recommend-more-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid #eef2ff;
  border-radius: 999px;
  background: white;
  box-shadow: 0 8px 20px rgba(15,23,42,.05);
}
.recommend-count {
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
}
.recommend-toggle {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  color: white;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(99,102,241,.18);
}
.recommend-toggle[hidden] {
  display: none;
}
.rec-temp, .rec-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.rec-temp { right: 10px; background: rgba(0,0,0,.3); color: rgba(255,255,255,.94); }
.rec-badge { left: 10px; background: rgba(99,102,241,.88); color: white; }
.rec-content {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
}
.rec-content strong {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 17px;
  margin-bottom: 5px;
}
.rec-content small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: rgba(255,255,255,.86);
  line-height: 1.4;
}
.hero { padding: 14px 0 12px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
.hero-copy { display: none; }
.hero-copy h1 { margin: 18px 0 10px; font-size: 34px; line-height: 1.08; letter-spacing: 0; }
.hero-copy p { margin: 0 0 18px; color: var(--muted); line-height: 1.7; }
.hero-panel, .card, .toolbar, .trip-summary {
  background: white;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.hero-panel { padding: 0; background: transparent; border: 0; box-shadow: none; }
.form-section {
  min-width: 0;
  background: #fff;
  border: 1px solid #eef2ff;
  border-radius: 10px;
  padding: 16px;
}
.form-section-title {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  line-height: 1.2;
}
.section-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
}
.section-icon.purple { color: #a855f7; }
.section-icon.indigo { color: #6366f1; }
.section-icon.pink { color: #ec4899; }
.section-icon.teal { color: #14b8a6; }
.required { color: #ef4444; }
.section { padding: 18px 0; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-title h2 { margin: 0; font-size: 18px; }
.section-title p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.destination-section, .cta-btn { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field label { color: #374151; font-weight: 700; font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 13px 14px;
  background: white;
  color: var(--ink);
  min-height: 48px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.suggestion-list {
  display: grid;
  gap: 6px;
  padding: 6px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}
.suggestion-list[hidden] { display: none; }
.suggestion-list button {
  border: 0;
  border-radius: 8px;
  padding: 9px 10px;
  background: #f9fafb;
  text-align: left;
  cursor: pointer;
}
.suggestion-list strong,
.suggestion-list span { display: block; }
.suggestion-list span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.city-button {
  min-height: 78px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: white;
  color: #374151;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 9px 6px;
  cursor: pointer;
}
.city-button span { font-size: 20px; }
.city-button strong { font-size: 13px; }
.city-button.active {
  color: white;
  border-color: #8b5cf6;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  box-shadow: 0 8px 18px rgba(99,102,241,.18);
}
.duration-pill {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #c7d2fe;
  background: linear-gradient(90deg, #eef2ff, #faf5ff);
  color: #312e81;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.duration-pill strong { font-size: 14px; }
.stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stepper-row > span { font-size: 14px; font-weight: 700; color: #374151; }
.stepper {
  display: grid;
  grid-template-columns: 40px 54px 40px;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}
.stepper button {
  border: 0;
  height: 40px;
  background: #f9fafb;
  color: #4f46e5;
  font-size: 18px;
  font-weight: 900;
}
.stepper input {
  width: 54px;
  min-height: 40px;
  padding: 0;
  border: 0;
  text-align: center;
  font-weight: 800;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cta-btn { min-height: 54px; font-size: 16px; margin-top: 2px; }
.btn {
  border: 0;
  border-radius: 8px;
  padding: 13px 15px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
}
.btn-primary { color: white; background: linear-gradient(90deg, #6366f1, #a855f7); box-shadow: 0 1px 2px rgba(79,70,229,.22); }
.btn-ghost { color: #374151; background: #f3f4f6; }
.btn-danger { color: white; background: #dc2626; }
.btn-block { width: 100%; }
.grid-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
.place-card { overflow: hidden; }
.place-card img { width: 100%; height: 168px; object-fit: cover; display: block; background: #e5e7eb; }
.place-card-visual {
  height: 168px;
  display: grid;
  place-items: center;
  gap: 6px;
  text-align: center;
  color: white;
  background:
    linear-gradient(135deg, rgba(17,24,39,.82), rgba(79,70,229,.72)),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.32), transparent 34%);
}
.place-card-visual.food {
  background:
    linear-gradient(135deg, rgba(127,29,29,.82), rgba(234,88,12,.72)),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.32), transparent 34%);
}
.place-card-visual span { font-size: 42px; line-height: 1; }
.place-card-visual strong { font-size: 14px; }
.place-body { padding: 14px; }
.place-body h3 { margin: 0 0 8px; font-size: 17px; }
.place-desc {
  margin: 0 0 12px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.55;
}
.meta { display: flex; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: 13px; }
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 9px; border-radius: 999px; background: #eef2ff; color: #3730a3; font-size: 12px; font-weight: 700; }
.select-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.toolbar { padding: 12px; display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.toolbar select, .toolbar input { border: 1px solid #d1d5db; border-radius: 8px; padding: 10px; }
.trip-summary { padding: 14px; margin: 14px 0; display: grid; gap: 8px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.admin-overview-stats { grid-template-columns: repeat(3,minmax(0,1fr)); }
.admin-overview-stats .stat { color: inherit; border-radius: 6px; overflow-wrap: anywhere; }
.admin-overview-stats a.stat:hover { border-color: #167450; }
.admin-count-note { font-size: 13px; color: #626975; line-height: 1.6; }
.admin-trip-tabs { display: flex; gap: 24px; border-bottom: 1px solid #dce2e7; margin: 20px 0; }
.admin-trip-tabs a { display: flex; align-items: center; gap: 8px; padding: 12px 0; color: #626975; border-bottom: 3px solid transparent; }
.admin-trip-tabs a[aria-current] { border-color: #167450; color: #126343; font-weight: 700; }
.admin-trip-tabs span { font-size: 13px; }
.admin-trip-search { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.admin-trip-search .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.admin-trip-search input[type=search] { width: 320px; max-width: 100%; min-width: 0; height: 44px; border: 1px solid #cfd6dd; border-radius: 6px; padding: 0 12px; font: inherit; }
.admin-trip-search .btn { flex-shrink: 0; }
.admin-trip-table { width: 100%; table-layout: fixed; }
.admin-trip-table th,.admin-trip-table td { text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.admin-trip-table td { line-height: 1.6; }
.admin-trip-warning { display: block; color: #923c12; }
.admin-trip-empty { padding: 40px 0; color: #626975; }
.admin-trip-pagination { display: flex; justify-content: center; align-items: center; gap: 24px; padding: 24px 0; }
.admin-trip-pagination a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #126343; }
.admin-trip-pagination span { color: #626975; font-size: 13px; }
@media(max-width:720px) {
  .admin-overview-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-trip-search { flex-wrap: wrap; gap: 8px; }
  .admin-trip-search input[type=search] { flex: 1; width: 0; font-size: 16px; }
  .admin-trip-table,.admin-trip-table tbody { display: block; }
  .admin-trip-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .admin-trip-table tr { display: block; border-bottom: 1px solid #dce2e7; padding: 16px 0; }
  .admin-trip-table td { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 8px; border: 0; padding: 4px 0; }
  .admin-trip-table td::before { content: attr(data-label); color: #626975; font-size: 13px; }
  .admin-trip-table td>* { grid-column: 2; }
}
.stat { padding: 12px; background: white; border: 1px solid #f3f4f6; border-radius: 12px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.stat strong { display: block; font-size: 20px; }
.empty { padding: 28px; text-align: center; color: var(--muted); background: white; border: 1px dashed #cbd5e1; border-radius: 8px; }
.schedule { display: grid; gap: 12px; }
.day-card { padding: 16px; }
.day-card h3 { margin: 0 0 10px; }
.timeline { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.timeline li { padding: 10px 12px; border-radius: 8px; background: var(--soft); display: flex; gap: 10px; }
.timeline li a { margin-left: auto; color: #4f46e5; font-size: 12px; font-weight: 800; }
.map-links { display: flex; flex-wrap: wrap; gap: 8px; }
.notice { padding: 12px 14px; border-radius: 8px; background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; }
.notice-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.place-detail-shell {
  padding: 26px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  box-shadow: 0 18px 40px rgba(15,23,42,.08);
}
.place-detail-shell h1 { margin: 0 0 8px; font-size: 34px; }
.place-detail-loading { padding: 36px 0; color: var(--muted); }
.place-detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 42%) 1fr;
  gap: 24px;
  margin: 18px 0;
}
.place-detail-photo,
.place-detail-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  object-fit: cover;
  background: #e5e7eb;
}
.place-detail-visual {
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  color: white;
  background:
    linear-gradient(135deg, rgba(15,23,42,.9), rgba(79,70,229,.76)),
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.28), transparent 35%);
}
.place-detail-visual span { font-size: 64px; line-height: 1; }
.place-detail-visual strong { font-size: 16px; }
.place-photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.place-photo-strip img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}
.place-detail-copy h2 { margin: 14px 0 8px; font-size: 28px; }
.place-detail-copy p {
  color: #374151;
  line-height: 1.75;
}
.place-detail-copy h3 { margin: 18px 0 8px; font-size: 17px; }
.place-detail-copy ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: #4b5563;
  line-height: 1.6;
}
.place-lead {
  margin-top: 16px;
  font-weight: 800;
  color: #111827 !important;
}
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 62px); }
.admin-side { background: #111827; color: white; padding: 20px; }
.admin-side a { display: block; padding: 10px 0; color: #d1d5db; }
.logout-form { margin:0; }
.nav-logout { border:0; background:transparent; color:inherit; font:inherit; padding:10px 0; min-height:44px; cursor:pointer; white-space:nowrap; }
.admin-side .nav-logout { color:#d1d5db; }
#admin-menu-toggle { display:none; }
#admin-menu a[aria-current=page] { color:#fff; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
@media(max-width:720px) {
  .admin-side { padding:8px 16px; background:#fff; color:var(--ink); border-bottom:1px solid var(--line); }
  #admin-menu-toggle { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:44px; padding:8px; border:0; background:transparent; color:inherit; font:inherit; font-weight:600; cursor:pointer; }
  #admin-menu-toggle .nav-icon { display:inline-flex; width:20px; height:20px; }
  #admin-menu-toggle[aria-expanded=true] .nav-icon { transform:rotate(180deg); }
  #admin-menu { display:none; }
  #admin-menu.is-open { display:block; }
  #admin-menu h2 { display:none; }
  #admin-menu .admin-profile { margin:8px 0; border-color:var(--line); background:var(--soft); }
  #admin-menu a,#admin-menu .nav-logout,#admin-menu a[aria-current=page] { color:var(--ink); }
}
.admin-profile {
  margin: 14px 0 16px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
}
.admin-profile strong { display: block; font-size: 14px; }
.admin-profile span { display: block; margin-top: 3px; color: #9ca3af; font-size: 12px; }
.admin-main { padding: 24px; }
.admin-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.admin-page-head h1 { margin: 0 0 6px; font-size: 30px; line-height: 1.15; }
.admin-page-head p { margin: 0; color: var(--muted); font-size: 14px; }
.settings-guide {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(920px, 100%);
  margin: 14px 0;
  padding: 12px 14px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 8px;
  color: #3730a3;
  font-size: 14px;
}
.api-settings-form {
  display: grid;
  gap: 18px;
  width: min(920px, 100%);
}
.api-settings-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.api-settings-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  background: #f9fafb;
  border-bottom: 1px solid var(--line);
}
.api-settings-card h2 { margin: 0; font-size: 17px; }
.api-settings-card header span { color: var(--muted); font-size: 12px; font-weight: 800; }
.api-settings-list { display: grid; }
.api-setting-row {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border-bottom: 1px solid #f3f4f6;
}
.api-setting-row:last-child { border-bottom: 0; }
.api-setting-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.api-setting-meta strong { display: block; margin-bottom: 5px; font-size: 14px; line-height: 1.25; }
.api-setting-meta code {
  display: inline-block;
  max-width: 220px;
  color: #6b7280;
  font-size: 12px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.api-setting-meta em {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-style: normal;
}
.status-ok { color: #065f46; background: #d1fae5; }
.status-wait { color: #92400e; background: #fef3c7; }
.api-setting-input { display: grid; gap: 7px; }
.api-setting-input span { color: var(--muted); font-size: 12px; }
.api-setting-input input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
}
.settings-action-bar {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0 2px;
  background: #f9fafb;
}
.settings-action-bar span { color: var(--muted); font-size: 13px; }
.settings-policy { max-width:920px; color:var(--muted); font-size:13px; line-height:1.6; }
#api-settings-form { gap:12px; }
#settings-fields { border:0; margin:0; padding:0; min-width:0; }
#api-settings-form .api-settings-card { border:0; border-radius:0; border-top:1px solid var(--line); background:transparent; margin:0 0 24px; overflow:visible; }
#api-settings-form .api-settings-card header { padding:16px 0; background:transparent; }
#api-settings-form .api-setting-row { padding:18px 0; }
.api-setting-meta label { display:block; margin-bottom:5px; font-size:14px; font-weight:700; line-height:1.4; }
#api-settings-form .setting-clear { display:flex; align-items:center; gap:8px; min-height:32px; font-size:13px; color:var(--muted); }
#api-settings-form .setting-clear input { width:18px; height:18px; padding:0; margin:0; flex:none; }
.api-setting-input input[aria-invalid=true] { border:2px solid #b42318; }
.api-setting-input input:disabled { background:#f3f5f4; color:#626c67; }
.settings-actions { display:flex; gap:8px; flex-wrap:wrap; }
#api-settings-form .settings-action-bar { z-index:2; padding:12px 0 max(12px,env(safe-area-inset-bottom)); border-top:1px solid var(--line); }
#api-settings-form .btn-primary,#settings-confirm .btn-primary { background:#176a53; box-shadow:none; }
#api-settings-form .btn-primary:disabled { background:#e1e7e3; color:#626c67; cursor:default; }
#api-settings-form .settings-action-bar .nav-icon { color:inherit; display:inline-flex; width:20px; height:20px; }
.settings-confirm { width:min(540px,calc(100% - 32px)); max-height:calc(100dvh - 48px); margin:auto; padding:24px; border:1px solid var(--line); border-radius:8px; overflow-y:auto; color:var(--ink); }
.settings-confirm::backdrop { background:rgba(15,27,22,.48); }
.settings-confirm h2 { font-size:22px; margin:0 0 16px; }
.settings-confirm p { font-size:13px; color:var(--muted); }
#settings-change-list { list-style:none; padding:0; margin:0; }
#settings-change-list li { display:flex; gap:16px; justify-content:space-between; border-bottom:1px solid var(--line); padding:12px 0; font-size:14px; }
#settings-change-list strong { overflow-wrap:anywhere; }
#settings-change-list span { flex-shrink:0; }
#settings-notice { max-width:920px; overflow-wrap:anywhere; }
#api-settings-form [hidden],#settings-notice[hidden] { display:none !important; }
@media(max-width:760px) {
  #api-settings-form .api-setting-row { grid-template-columns:minmax(0,1fr); gap:10px; }
  #api-settings-form .api-setting-input input:not([type=checkbox]) { font-size:16px; }
  #api-settings-form .settings-action-bar { align-items:stretch; flex-direction:column; gap:8px; }
  .settings-actions .btn { min-height:44px; flex:1 1 auto; }
  .settings-confirm { width:100%; max-width:100%; margin:auto 0 0; max-height:calc(100dvh - 16px); border-radius:8px 8px 0 0; padding:20px 16px max(20px,env(safe-area-inset-bottom)); }
}
.admin-dashboard-grid,
.admin-permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.admin-permission-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.permission-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.permission-card h2 { margin: 0 0 10px; font-size: 18px; }
.permission-card p { margin: 0 0 10px; }
.permission-card ul {
  display: grid;
  gap: 7px;
  margin: 0 0 12px;
  padding-left: 18px;
  color: #4b5563;
  line-height: 1.55;
}
.admin-account-card {
  margin-top: 18px;
  width: min(1120px, 100%);
}
.admin-inline-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  align-items: end;
}
.admin-inline-form label,
.admin-row-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.admin-inline-form input,
.admin-inline-form select,
.admin-row-form input,
.admin-row-form select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 9px 10px;
  background: white;
}
.admin-row-form {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 120px 72px minmax(160px, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.admin-check {
  display: inline-flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 6px !important;
  color: #374151 !important;
  white-space: nowrap;
}
.admin-check input {
  width: auto;
  min-height: auto;
}
.admin-table td { vertical-align: top; }
table { width: 100%; border-collapse: collapse; background: white; border: 1px solid var(--line); }
th, td { padding: 11px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
th { background: #f9fafb; }
.quick-section { padding-top: 4px; }
.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
}
.quick-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: white;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.quick-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.quick-icon.indigo { color: #4f46e5; background: #eef2ff; }
.quick-icon.green { color: #16a34a; background: #f0fdf4; }
.quick-card strong { display: block; font-size: 14px; margin-bottom: 2px; }
.quick-card small { display: block; color: #9ca3af; font-size: 12px; }
.tool-hero {
  padding: 34px 0;
  color: white;
  background:
    linear-gradient(90deg, rgba(15,23,42,.94), rgba(49,46,129,.76)),
    url('/assets/city-images/sapporo-1.jpg') center / cover no-repeat;
}
.study-hero {
  background:
    linear-gradient(90deg, rgba(15,23,42,.94), rgba(88,28,135,.72)),
    url('/assets/city-images/bangkok-1.jpg') center / cover no-repeat;
}
.tool-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.tool-hero h1 { margin: 12px 0 10px; font-size: 34px; line-height: 1.15; }
.tool-hero p { margin: 0; max-width: 640px; color: rgba(255,255,255,.78); line-height: 1.65; }
.tool-search,
.study-summary {
  min-width: 280px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
}
.tool-search { display: grid; gap: 8px; }
.tool-search label { font-size: 13px; font-weight: 900; }
.tool-search input {
  min-height: 44px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  padding: 10px 12px;
}
.study-summary { display: grid; gap: 5px; }
.study-summary strong { font-size: 22px; }
.study-summary span { color: rgba(255,255,255,.72); font-size: 13px; }
.tool-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; align-items: start; }
.progress-card {
  position: sticky;
  top: 84px;
  padding: 16px;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  background: white;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.progress-card strong { display: block; margin-bottom: 8px; }
.progress-row { display: flex; align-items: baseline; gap: 4px; font-weight: 900; font-size: 28px; }
.progress-row span:last-child { color: var(--muted); font-size: 15px; }
.progress-bar { height: 9px; margin: 12px 0; overflow: hidden; border-radius: 999px; background: #e5e7eb; }
.progress-bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #22c55e, #6366f1); transition: width .25s ease; }
.progress-card p { margin: 0; color: var(--muted); font-size: 12px; }
.accordion-list { display: grid; gap: 12px; }
.accordion-card { overflow: hidden; border: 1px solid #f3f4f6; border-radius: 12px; background: white; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.accordion-head {
  width: 100%;
  border: 0;
  padding: 15px 16px;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.accordion-head span { display: flex; align-items: center; gap: 8px; font-weight: 900; }
.accordion-head b { font-size: 20px; }
.accordion-head small { color: var(--muted); font-weight: 800; }
.accordion-body { display: grid; gap: 8px; padding: 0 14px 14px; }
.accordion-card.closed .accordion-body { display: none; }
.check-item {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border-radius: 10px;
  background: #f9fafb;
  cursor: pointer;
}
.check-item input { position: absolute; opacity: 0; pointer-events: none; }
.fake-check { width: 22px; height: 22px; border: 2px solid #d1d5db; border-radius: 7px; background: white; }
.check-item.checked { background: #ecfdf5; }
.check-item.checked .fake-check { border-color: #22c55e; background: #22c55e; box-shadow: inset 0 0 0 4px white; }
.check-main strong { display: block; font-size: 14px; }
.check-main small { color: var(--muted); font-size: 12px; }
.priority { border-radius: 999px; padding: 4px 8px; font-style: normal; font-size: 12px; font-weight: 900; }
.priority-필수 { color: #b91c1c; background: #fee2e2; }
.priority-권장 { color: #92400e; background: #fef3c7; }
.priority-선택 { color: #4b5563; background: #e5e7eb; }
.affiliate-note { width: min(760px, calc(100% - 32px)); margin: 0 auto 28px; color: #9ca3af; text-align: center; font-size: 12px; }
.study-app { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 18px; align-items: start; }
.study-picker,
.flash-zone {
  padding: 18px;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  background: white;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.study-picker h2 { margin: 0 0 10px; font-size: 16px; }
.study-picker h2:not(:first-child) { margin-top: 18px; }
.language-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.language-grid button,
.category-grid button {
  border: 2px solid #f3f4f6;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.language-grid button.active,
.category-grid button.active { border-color: #6366f1; background: #eef2ff; }
.language-grid span { display: block; font-size: 22px; }
.language-grid strong { display: block; margin-top: 5px; font-size: 14px; }
.language-grid small { color: var(--muted); font-size: 12px; }
.category-grid { display: grid; gap: 8px; margin-bottom: 14px; }
.study-progress-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.study-progress-line strong { color: var(--ink); }
.flash-card {
  position: relative;
  min-height: 340px;
  border-radius: 18px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform .45s ease;
}
.flash-card.flipped { transform: rotateY(180deg); }
.flash-front,
.flash-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  border: 1px solid #eef2ff;
  border-radius: 18px;
  backface-visibility: hidden;
  text-align: center;
  box-shadow: 0 14px 36px rgba(15,23,42,.08);
}
.flash-front { background: white; }
.flash-back { background: linear-gradient(135deg, #eef2ff, #faf5ff); transform: rotateY(180deg); }
.flash-front span { color: #6366f1; font-weight: 900; }
.flash-front strong { font-size: 36px; line-height: 1.2; overflow-wrap: anywhere; }
.flash-front small,
.flash-back span { color: var(--muted); line-height: 1.6; }
.flash-back strong { font-size: 24px; color: #3730a3; }
.study-actions { display: flex; gap: 10px; margin-top: 14px; }
.study-actions .btn { flex: 1; }
.study-score { display: flex; justify-content: center; gap: 16px; margin-top: 12px; color: var(--muted); font-size: 13px; }
.city-guide-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 34px;
  color: white;
  background:
    linear-gradient(90deg, rgba(15,23,42,.92), rgba(31,41,55,.72)),
    linear-gradient(135deg, #1f2937, #4f46e5);
}
.city-guide-hero.has-image {
  background:
    linear-gradient(90deg, rgba(15,23,42,.92), rgba(31,41,55,.58)),
    var(--city-image) center / cover no-repeat;
}
.city-guide-head {
  display: block;
}
.city-guide-head h1 { margin: 10px 0 12px; font-size: 42px; line-height: 1.1; }
.city-guide-head p { max-width: 760px; margin: 0; color: rgba(255,255,255,.8); line-height: 1.75; }
.city-switcher {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #eef2ff;
  border-radius: 12px;
  background: white;
  box-shadow: 0 10px 28px rgba(15,23,42,.05);
}
.city-switcher label { color: #374151; font-size: 12px; font-weight: 800; }
.city-switcher select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0 10px;
  background: white;
  color: #111827;
}
.city-guide-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.city-guide-side {
  position: sticky;
  top: 80px;
  display: grid;
  gap: 14px;
}
.city-facts,
.guide-section {
  background: white;
  border: 1px solid #eef2ff;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15,23,42,.05);
}
.city-facts {
  padding: 18px;
}
.city-facts strong { display: block; margin-bottom: 12px; font-size: 18px; }
.city-facts dl { display: grid; gap: 12px; margin: 0; }
.city-facts div { padding-bottom: 12px; border-bottom: 1px solid #f3f4f6; }
.city-facts div:last-child { padding-bottom: 0; border-bottom: 0; }
.city-facts dt { color: var(--muted); font-size: 12px; font-weight: 800; }
.city-facts dd { margin: 4px 0 0; line-height: 1.45; }
.city-guide-main { display: grid; gap: 14px; }
.guide-section { padding: 18px; }
.guide-section h2 { margin: 0 0 12px; font-size: 22px; }
.guide-section p { margin: 0; color: #4b5563; line-height: 1.7; }
.guide-mood-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.guide-mood-grid div {
  min-width: 0;
  padding: 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eef2ff, #fdf2f8);
}
.guide-mood-grid span {
  display: block;
  margin-bottom: 8px;
  color: #6366f1;
  font-size: 12px;
  font-weight: 900;
}
.guide-mood-grid strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
}
.guide-mood-grid p { margin-top: 8px; font-size: 13px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 13px;
  font-weight: 800;
}
.chip-list.food span { background: #fef3c7; color: #92400e; }
.guide-list { display: grid; gap: 8px; margin: 0; padding-left: 18px; color: #4b5563; line-height: 1.65; }
.guide-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.guide-place-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid #f3f4f6;
  border-radius: 10px;
  background: #fbfbff;
}
.guide-place-card span { font-size: 24px; }
.guide-place-card strong { display: block; margin-top: 8px; font-size: 16px; }
.guide-place-card strong a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; }
.guide-place-card small { display: block; margin-top: 4px; color: var(--muted); }
.guide-place-card > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
}
.guide-place-card em { display: block; margin-top: 10px; color: #4f46e5; font-size: 12px; font-style: normal; font-weight: 900; }
@media (max-width: 720px) {
  .shell, .narrow { width: min(448px, calc(100% - 32px)); margin: 0 auto; }
  .planner-hero { padding: 32px 0 20px; }
  .planner-hero-grid, .planner-layout, .tool-layout, .study-app, .hero-grid, .grid-list, .admin-layout, .form-grid, .api-setting-row, .city-guide-layout, .guide-card-grid, .guide-mood-grid, .admin-dashboard-grid, .admin-permission-grid, .admin-inline-form, .admin-row-form { grid-template-columns: 1fr; }
  .planner-copy h1 { font-size: 32px; }
  .city-guide-head h1 { font-size: 32px; }
  .planner-copy p { font-size: 15px; }
  .city-guide-head p { font-size: 15px; }
  .planner-card { padding: 14px; }
  .planner-card-head, .planner-card .form-grid { padding: 0; }
  .planner-card-head { align-items: flex-start; flex-direction: column; }
  .planner-side { position: static; }
  .place-detail-grid { grid-template-columns: 1fr; }
  .progress-card { position: static; }
  .tool-hero-inner { align-items: stretch; flex-direction: column; }
  .tool-search { min-width: 0; }
  .flash-front strong { font-size: 28px; }
  .sample-card { margin: 0 -2px; }
  .field-row { grid-template-columns: 1fr; }
  .admin-page-head, .settings-guide, .settings-action-bar { align-items: stretch; flex-direction: column; }
  .destination-section, .cta-btn { grid-column: auto; }
  .recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .recommend-card { min-height: 160px; }
  .recommend-more-wrap { align-items: stretch; flex-direction: column; border-radius: 12px; }
  .recommend-toggle { width: 100%; }
  .top-nav { gap: 10px; font-size: 13px; }
  .city-guide-side { position: static; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .quick-grid { max-width: none; }
}
