:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #667085;
  --line: #d9e1e8;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --green: #0f7b63;
  --green-dark: #075d4a;
  --blue: #2059a8;
  --gold: #c78121;
  --red: #c93535;
  --shadow: 0 18px 42px rgba(18, 38, 63, 0.12);
}
.scorecard-upload-first { margin: 14px 0; padding: 16px; border: 2px solid #0f7b63; border-radius: 14px; background: #f0fbf6; display: grid; gap: 6px; color: #111c18; }
.scorecard-upload-first strong { font-size: 20px; }
.scorecard-upload-first span { font-size: 15px; }
.scorecard-upload-first label { font-weight: 900; }
.provider-schedule-preview { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.provider-schedule-head { display:flex; justify-content:space-between; align-items:center; margin-bottom: 8px; color: var(--green-dark); }
.provider-schedule-preview article { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 0; border-bottom:1px solid #e5ece9; }
.provider-schedule-preview article > div { min-width:0; display:grid; gap:2px; }
.provider-schedule-preview article b { color:var(--blue); font-size:12px; }
.provider-schedule-preview article strong { font-size:15px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.provider-schedule-preview article small { color:#374840; }
.provider-schedule-preview article em { color:var(--red); font-style:normal; font-weight:900; }
.provider-schedule-preview article button { flex:0 0 auto; min-height:42px; border:0; border-radius:9px; padding:8px 11px; color:#fff; background:var(--gold); font-weight:900; cursor:pointer; }
@media (max-width:600px) {
  .provider-schedule-preview article strong { font-size:17px; }
  .provider-schedule-preview article small { font-size:14px; }
  .provider-schedule-preview article button { min-height:46px; font-size:14px; }
}

/* Compact schedule row: course and provider share one clear heading line. */
.schedule-card .course-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.schedule-card .course-row h3 { min-width: 0; margin: 0; }
@media (max-width: 430px) {
  #schedule .schedule-card {
    grid-template-columns: minmax(0, 1fr) 76px;
    grid-template-areas: "course course" "facts action";
  }
  #schedule .card-top { display: none; }
  #schedule .schedule-card .course-row { grid-area: course; width: 100%; min-height: 24px; }
  #schedule .schedule-card h3 {
    padding-right: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    line-height: 1.1;
  }
  #schedule .schedule-card .provider-pill {
    position: static;
    flex: 0 0 auto;
    max-width: 92px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--green-dark);
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #schedule .schedule-card dl { grid-area: facts; }
  #schedule .schedule-card .card-actions { grid-area: action; align-self: center; }
}

.caddie-choice-consent {
  background: #eef8f3;
  border: 1px solid #b9dfd1;
  border-radius: 12px;
  padding: 12px;
}
.line-contact { background: #06c755; color: #fff; text-decoration: none; text-align: center; }
.caddie-review-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-bottom: 1px solid #dce7e3; }
.caddie-review-row img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.caddie-review-row > div { display: grid; gap: 4px; }
.caddie-review-row span { font-size: 12px; color: #68756f; }
.caddie-review-row a { font-size: 12px; color: #08785f; }
@media (max-width: 680px) {
  .caddie-review-row { grid-template-columns: 58px 1fr; }
  .caddie-review-row img { width: 58px; height: 58px; }
  .caddie-review-row > .button-row { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; }
}

.saved-flight-plan {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 13px;
  border: 1px solid #b9ddcf;
  border-radius: 12px;
  background: #edf9f4;
}
.saved-flight-plan > div {
  display: grid;
  gap: 3px;
  margin-right: auto;
}
.saved-flight-plan span {
  color: #587069;
  font-size: 12px;
}
.saved-flight-plan button,
.saved-flight-plan a {
  padding: 8px 10px;
  border: 1px solid #0f7b63;
  border-radius: 8px;
  background: #fff;
  color: #0f7b63;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
@media (max-width: 640px) {
  .saved-flight-plan {
    align-items: stretch;
    flex-wrap: wrap;
  }
  .saved-flight-plan > div {
    width: 100%;
  }
  .saved-flight-plan button,
  .saved-flight-plan a {
    flex: 1;
    text-align: center;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  min-height: 100%;
  scroll-behavior: smooth;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", Arial, sans-serif;
  color: var(--ink);
  background: #f7faf9;
}

main {
  flex: 1;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.top {
  min-height: 92vh;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 44, 39, 0.82), rgba(8, 59, 82, 0.42)),
    url("./assets/thailandmate-golf-hero.png") center/cover;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
}

.nav div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
}

.nav a.active,
.footer-links a.active {
  border-color: rgba(157,247,191,0.6);
  background: rgba(157,247,191,0.18);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
  padding: 74px 24px 48px;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 10px 0 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

@media (min-width: 901px) {
  .hero { gap: 28px; }
  .hero-copy, .lead-box { min-width: 0; }
  .lead-box { max-width: 340px; }
}

.hero-copy p {
  max-width: 720px;
  color: rgba(255,255,255,0.86);
  font-size: 18px;
  line-height: 1.7;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.top .eyebrow { color: #99f2d9; }

.hero-actions, .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button, .view-toggle button, .inquiry {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
}

.primary { color: #fff; background: var(--green); }
.primary:hover { background: var(--green-dark); }
.line { color: #073b2e; background: #9df7bf; }
.kakao { color: #2b2300; background: #fee500; }
.subtle { color: var(--ink); background: #e9f0f2; }

.lead-box {
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.23);
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
}

.lead-box span { color: #bdf7e5; font-weight: 800; }
.lead-box strong { display: block; margin: 12px 0; font-size: 28px; line-height: 1.25; }
.lead-box p { color: rgba(255,255,255,0.82); line-height: 1.6; }

.hero-feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 38px;
}

.hero-feature-strip article {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
}

.hero-feature-strip b {
  font-size: 17px;
}

.hero-feature-strip span {
  color: rgba(255,255,255,0.84);
  font-size: 14px;
  line-height: 1.55;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 24px;
}

.soi-taxi-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto 10px;
  padding: 22px 24px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(12, 45, 53, 0.94), rgba(16, 108, 88, 0.86)),
    url("./assets/siam-country-caddie-tee.jpg") center right/cover;
  box-shadow: var(--shadow);
}

.soi-taxi-banner span {
  color: #9df7bf;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.soi-taxi-banner h2 {
  margin: 6px 0;
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: 0;
}

.soi-taxi-banner p {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,0.86);
  line-height: 1.6;
}

.soi-taxi-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: end;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

.section h2, .taxi-band h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0;
}

.view-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 210px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.view-toggle button {
  min-height: 38px;
  background: transparent;
  color: var(--muted);
}

.view-toggle button.active {
  color: #fff;
  background: var(--blue);
}

.filters {
  display: grid;
  grid-template-columns: 120px 120px 145px 145px 145px 160px minmax(220px, 1fr);
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
}

.course-quick-list {
  display: flex;
  gap: 8px;
  margin: 12px 0 14px;
  padding: 2px 0 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.course-quick-list button {
  flex: 0 0 auto;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.course-quick-list button:hover {
  border-color: var(--green);
  color: var(--green-dark);
  background: #e8f7f1;
}

.course-quick-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.stat {
  padding: 16px;
  border-radius: 8px;
  background: #eaf4ef;
}

.stat span { color: var(--muted); font-size: 13px; font-weight: 800; }
.stat strong { display: block; margin-top: 6px; font-size: 24px; }

.best-deal {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 13px 15px;
  border: 1px solid #f0d08e;
  border-radius: 8px;
  color: #3d2a08;
  background: #fff7df;
}

.best-deal strong {
  color: #a46608;
}

.best-deal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.best-deal-list button {
  display: grid;
  gap: 4px;
  min-height: 66px;
  border: 1px solid #f0d08e;
  border-radius: 8px;
  padding: 9px 10px;
  color: #3d2a08;
  background: #fffdf4;
  text-align: left;
  cursor: pointer;
}

.best-deal-list button:hover {
  border-color: var(--gold);
  background: #fff2c8;
}

.best-deal-list b {
  font-size: 15px;
}

.best-deal-list span {
  color: #765115;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.schedule-more {
  display: grid;
  justify-content: center;
  padding: 16px 0 0;
}

.schedule-more[hidden] {
  display: none;
}

.schedule-more .button {
  min-width: 220px;
}

.provider-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.provider-profile {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(18, 38, 63, 0.06);
}

.compact-provider {
  display: block;
  padding: 0;
  overflow: hidden;
}

.compact-provider summary {
  display: grid;
  gap: 5px;
  padding: 14px;
  cursor: pointer;
}

.compact-provider summary::-webkit-details-marker {
  display: none;
}

.compact-provider summary span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.compact-provider summary strong {
  font-size: 20px;
}

.compact-provider summary small {
  color: var(--muted);
  line-height: 1.45;
}

.compact-provider .provider-info {
  padding: 0 14px 14px;
}

.provider-profile.no-gallery {
  grid-template-columns: 1fr;
}

.provider-gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: repeat(2, 140px);
  gap: 8px;
}

.provider-gallery img {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid var(--line);
}

.provider-gallery img:first-child {
  grid-row: 1 / 3;
}

.provider-gallery img:only-child {
  grid-column: 1 / -1;
  grid-row: 1 / 3;
}

.provider-info {
  display: grid;
  gap: 14px;
  align-content: start;
}

.provider-title span {
  color: var(--green);
  font-weight: 900;
}

.provider-title h3 {
  margin: 6px 0;
  font-size: 28px;
}

.provider-title p {
  margin: 0;
  color: var(--muted);
}

.provider-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-card {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.contact-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.contact-card strong {
  overflow-wrap: anywhere;
}

.provider-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.provider-address {
  margin: 0;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--soft);
  font-weight: 800;
  line-height: 1.5;
}

.provider-notes span {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--green-dark);
  background: #e8f7f1;
  font-size: 12px;
  font-weight: 900;
}

.board { display: grid; gap: 16px; }
.group {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(18, 38, 63, 0.06);
}

.group-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #f9fbfb;
}

.group-title h3 { margin: 0; font-size: 19px; }
.group-title span { color: var(--muted); font-weight: 800; }

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

.schedule-card {
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.date-pill, .provider-pill {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.date-pill { color: var(--blue); background: #e9f0ff; }
.provider-pill { color: var(--green); background: #e8f7f1; }
.schedule-card h3 { margin: 0; font-size: 22px; }

.card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.my-schedule-taxi {
  margin-top: 16px;
  margin-bottom: 0;
}

dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

dl div {
  padding: 9px;
  border-radius: 7px;
  background: var(--soft);
}

dt { color: var(--muted); font-size: 12px; font-weight: 800; }
dd { margin: 3px 0 0; font-weight: 900; }
.price { color: var(--red); }
.note { min-height: 22px; margin: 0; color: var(--muted); line-height: 1.5; }
.inquiry { min-height: 40px; color: #fff; background: var(--gold); }
.inquiry.remove { background: #657586; }

.my-action {
  display: flex;
  justify-content: flex-end;
  padding: 0 14px 14px;
}

.my-plan {
  display: grid;
  gap: 12px;
}

.my-plan-hero {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(18, 38, 63, 0.06);
}

.my-plan-hero h3 {
  margin: 2px 0 5px;
  font-size: 24px;
}

.my-plan-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.my-plan-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.my-plan-summary span {
  display: grid;
  gap: 2px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.my-plan-summary b {
  color: var(--ink);
  font-size: 20px;
}

.my-plan-period {
  padding: 10px 12px;
  border-radius: 8px;
  background: #eef7f2;
  color: var(--green-dark);
  font-weight: 900;
}

.my-plan-days {
  display: grid;
  gap: 10px;
}

.my-day {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.my-day-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  background: #f9fbfb;
}

.my-day-head h4 {
  margin: 0;
  font-size: 17px;
}

.my-day-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.my-day-list {
  display: grid;
}

.my-plan-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 112px;
  gap: 10px;
  align-items: center;
  padding: 12px 13px;
  border-bottom: 1px solid var(--line);
}

.my-plan-row:last-child {
  border-bottom: 0;
}

.my-plan-time {
  display: grid;
  gap: 2px;
  place-items: center;
  min-height: 60px;
  border-radius: 8px;
  background: #fff7df;
  color: #9a6208;
}

.my-plan-time span {
  font-size: 11px;
  font-weight: 900;
}

.my-plan-time b {
  font-size: 18px;
}

.my-plan-main {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.my-plan-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
}

.my-plan-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.my-plan-meta span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.my-plan-side {
  display: grid;
  gap: 7px;
  justify-items: end;
}

.my-plan-side b {
  color: var(--red);
  font-size: 15px;
}

.my-remove {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d5dde6;
  background: #fff;
  color: #657586;
}

.round-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 14px;
  align-items: start;
}

.round-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 1.5fr);
  gap: 10px;
  margin-bottom: 14px;
}

.round-stats article {
  display: grid;
  gap: 5px;
  min-height: 92px;
  align-content: center;
  padding: 14px;
  border: 1px solid #d9e7e3;
  border-radius: 10px;
  background: #fff;
}

.round-stats span,
.round-stats small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.round-stats strong {
  color: #0f7b63;
  font-size: 25px;
}

.round-stats .ranking {
  background: linear-gradient(135deg, #edf7ff, #f7fbff);
  border-color: #bed7ee;
}

.round-stats .ranking strong {
  color: #2865b4;
}

.media-help {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.private-media-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px;
  border: 1px solid #d9e7e3;
  border-radius: 8px;
  background: #f8fcfb;
  font-size: 12px;
  line-height: 1.45;
}

.private-media-consent input {
  flex: 0 0 20px;
  width: 20px;
  min-height: 20px;
  margin-top: 1px;
}

.caddie-line-phrase-card {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid #a9d8ca;
  border-radius: 12px;
  background: linear-gradient(135deg, #effbf7, #f8fffc);
}

.caddie-line-phrase-card small,
.caddie-line-phrase-card span {
  color: var(--muted);
  font-size: 12px;
}

.caddie-line-phrase-card strong {
  color: #075c49;
  font-size: 21px;
  line-height: 1.45;
}

.caddie-line-phrase-card > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.caddie-line-phrase-card button {
  min-height: 43px;
  border: 0;
  border-radius: 9px;
  background: #087b61;
  color: white;
  font: inherit;
  font-weight: 850;
}

.caddie-line-phrase-card button[data-caddie-line-copy] {
  background: #e2f4ee;
  color: #075c49;
}

.caddie-line-phrase-card button.speaking {
  background: #f7bd42;
  color: #3d2d00;
}

@media (max-width: 520px) {
  .caddie-line-phrase-card > div {
    grid-template-columns: 1fr;
  }
}

.caddie-request-box {
  display: grid;
  gap: 6px;
  padding: 11px;
  border: 1px solid #bcded4;
  border-radius: 9px;
  background: #f1fbf7;
}

.caddie-request-box small {
  color: var(--muted);
  line-height: 1.4;
}

.caddie-request-preview {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid #9fd8c7;
  border-radius: 10px;
  background: #effbf7;
}

.caddie-request-preview div:first-child {
  display: grid;
  gap: 4px;
}

.caddie-request-preview span,
.caddie-request-preview small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.caddie-request-preview img,
.round-photos img.caddie-line-qr {
  width: 82px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid #cddbd7;
  border-radius: 8px;
}

.round-form {
  display: grid;
  gap: 14px;
}

.score-inputs {
  display: grid;
  grid-template-columns: repeat(9, minmax(58px, 1fr));
  gap: 8px;
}

.score-inputs label {
  gap: 4px;
  text-align: center;
}

.score-inputs input {
  padding: 8px 6px;
  text-align: center;
}

.round-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 14px;
  border-radius: 8px;
  background: #fff7df;
}

.round-total span {
  color: #a46608;
  font-weight: 900;
}

.round-total strong {
  font-size: 30px;
}

.round-preview,
.round-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.round-preview figure {
  margin: 0;
}

.round-preview img,
.round-preview video,
.round-photos img,
.round-videos video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.round-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.round-videos:empty {
  display: none;
}

.round-cover {
  width: 100%;
  max-height: 310px;
  border-radius: 9px;
  object-fit: cover;
}

.round-photos img.round-cover {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  max-height: 310px;
}

.round-device-media:empty {
  display: none;
}

.round-preview figcaption {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.ai-scorecard-tools {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #d7e7e2;
  border-radius: 8px;
  background: #f8fcfb;
}

.ai-scorecard-tools .button {
  width: 100%;
}

.ai-scorecard-tools span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.round-log-board {
  display: grid;
  gap: 12px;
}

.round-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.round-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.round-card-head span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 800;
}

.round-card-head b {
  color: var(--red);
  font-size: 26px;
}

.round-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.round-meta span,
.round-memo {
  margin: 0;
  padding: 9px;
  border-radius: 7px;
  background: var(--soft);
  font-weight: 800;
}

.score-row {
  display: grid;
  grid-template-columns: repeat(18, minmax(42px, 1fr));
  gap: 4px;
  overflow-x: auto;
}

.score-row span {
  padding: 6px 4px;
  border-radius: 6px;
  background: #eaf4ef;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  font-weight: 900;
}

.score-row b {
  color: var(--ink);
  font-size: 15px;
}

.taxi-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 30px;
  align-items: start;
  padding: 52px max(24px, calc((100vw - 1180px) / 2 + 24px));
  background: #102d35;
  color: #fff;
}

.taxi-band .eyebrow { color: #9df7bf; }
.taxi-band p { color: rgba(255,255,255,0.78); line-height: 1.7; }

.taxi-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.taxi-service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.taxi-service-list span {
  padding: 9px 11px;
  border: 1px solid rgba(157,247,191,0.28);
  border-radius: 999px;
  color: #dfffee;
  background: rgba(255,255,255,0.08);
  font-weight: 900;
}

.soi-taxi-embed-page {
  display: grid;
  min-height: 920px;
  background: #fff;
}

.soi-taxi-frame {
  width: 100%;
  min-height: 920px;
  border: 0;
  background: #fff;
}

.soi-taxi-frame-fallback {
  margin: 0;
  padding: 12px 16px 90px;
  color: var(--muted);
  text-align: center;
  background: #fff;
}

.soi-taxi-frame-fallback a {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: underline;
}

.revenue-section {
  background: #fff;
}

.revenue-grid,
.partner-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: start;
}

.revenue-copy {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf9;
}

.revenue-copy h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.25;
}

.revenue-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.revenue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.revenue-tags span,
.partner-cards article {
  border: 1px solid rgba(15, 123, 99, 0.18);
  border-radius: 8px;
  background: #eef8f4;
}

.revenue-tags span {
  padding: 8px 10px;
  color: var(--green-dark);
  font-weight: 800;
}

.trip-auto-box {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.trip-auto-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.trip-auto-head div {
  display: grid;
  gap: 3px;
}

.trip-auto-head b {
  font-size: 17px;
}

.trip-auto-head span,
.trip-auto-head small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.trip-planner {
  display: grid;
  gap: 8px;
}

.trip-day-row {
  display: grid;
  grid-template-columns: 1fr 1.35fr 0.8fr 1fr 1.15fr 0.8fr;
  gap: 8px;
  align-items: end;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.trip-day-date {
  display: grid;
  gap: 3px;
  align-self: stretch;
  align-content: center;
  padding: 9px;
  border-radius: 7px;
  background: #eef7f2;
}

.trip-day-date b {
  font-size: 15px;
}

.trip-day-date span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.trip-estimate {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.trip-estimate span {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 8px;
  background: #fff7df;
  color: #9a6208;
  font-size: 12px;
  font-weight: 900;
}

.trip-estimate b {
  color: var(--ink);
  font-size: 18px;
}

.villa-preview {
  display: grid;
  gap: 5px;
  margin: 0 0 14px;
  padding: 11px 12px;
  border: 1px solid rgba(15, 123, 99, 0.18);
  border-radius: 8px;
  background: #eef8f4;
}

.villa-preview span,
.villa-preview small {
  color: var(--muted);
  line-height: 1.45;
}

.villa-availability {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(15, 123, 99, 0.3);
  border-radius: 10px;
  background: #f5fbf8;
}

.villa-availability-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.villa-availability-head > div {
  display: grid;
  gap: 3px;
}

.villa-availability-head span,
.villa-live-note {
  color: var(--muted);
  font-size: 13px;
}

.villa-availability button,
.villa-detail-link {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(15, 123, 99, 0.3);
  border-radius: 8px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 900;
  text-align: center;
}

.villa-room-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.villa-room-result {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.villa-room-result.available:has(input:checked) {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(15, 123, 99, 0.12);
}

.villa-room-result.unavailable {
  opacity: 0.58;
  cursor: not-allowed;
}

.villa-room-result span {
  display: grid;
  gap: 2px;
}

.villa-room-result small {
  color: var(--green-dark);
  font-weight: 900;
}

.villa-room-result.unavailable small,
.villa-live-note.error {
  color: #b42318;
}

.villa-live-note {
  margin: 0;
  line-height: 1.5;
}

.villa-live-note.loading {
  color: var(--green-dark);
  font-weight: 900;
}

.trip-admin-list {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.trip-admin-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.villa-admin-list {
  background: #eef8f4;
}

.compact-empty {
  padding: 16px;
}

.partner-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.partner-cards article {
  min-height: 118px;
  padding: 16px;
}

.partner-shop-card {
  display: grid;
  gap: 8px;
  cursor: pointer;
}

.partner-shop-card span,
.partner-shop-card em {
  color: var(--green-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.partner-shop-card small {
  color: var(--muted);
  line-height: 1.45;
}

.partner-map-link {
  justify-self: start;
  padding: 6px 9px;
  border: 1px solid rgba(15, 123, 99, 0.16);
  border-radius: 7px;
  color: var(--brand);
  background: #eefaf6;
  font-size: 12px;
  font-weight: 900;
}

.partner-cards b {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.partner-cards span {
  color: var(--muted);
  line-height: 1.5;
}

.revenue-form {
  display: grid;
  gap: 12px;
}

.product-summary {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(15, 123, 99, 0.2);
  border-radius: 8px;
  background: #eef8f4;
}

.product-summary span,
.product-summary small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-summary strong {
  color: var(--green-dark);
  font-size: 17px;
}

.company-intro {
  padding: 54px 24px;
  background: #eef5f2;
  border-top: 1px solid rgba(15, 123, 99, 0.16);
}

.company-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 28px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.company-inner h2 {
  max-width: 760px;
  margin: 8px 0 14px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

.company-inner p:not(.eyebrow) {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.company-points {
  display: grid;
  gap: 10px;
}

.company-points span {
  display: block;
  padding: 13px 14px;
  border: 1px solid rgba(15, 123, 99, 0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
  color: var(--green-dark);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(18, 38, 63, 0.06);
}

.site-footer {
  flex-shrink: 0;
  padding: 32px 24px 34px;
  color: var(--ink);
  background: #f5faf8;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.official-footer-card {
  display: grid;
  gap: 9px;
  padding: 13px;
  border: 1px solid rgba(15, 123, 99, 0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 12px 34px rgba(18, 38, 63, 0.08);
}

.footer-brand strong {
  display: block;
  color: #0b2026;
  font-size: 14px;
  letter-spacing: 0;
}

.footer-brand p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.footer-company {
  color: var(--brand) !important;
  font-weight: 900;
}

.footer-action-grid,
.footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.footer-contact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-action,
.footer-contact-grid a {
  min-height: 28px;
  padding: 7px 10px;
  border: 1px solid rgba(15, 123, 99, 0.18);
  border-radius: 7px;
  color: #0d302b;
  background: #eefaf6;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.footer-action {
  width: 100%;
  font-family: inherit;
  cursor: pointer;
}

.footer-action.primary {
  border-color: rgba(15, 123, 99, 0.34);
  color: #fff;
  background: var(--brand);
}

.contact-kakao { background: #ffe400 !important; border-color: #f0d300 !important; color: #2a2300 !important; }
.contact-line { background: #16c755 !important; border-color: #16c755 !important; color: #fff !important; }
.contact-whatsapp { background: #e8fff0 !important; border-color: #a9eac0 !important; color: #0d6d34 !important; }
.contact-map { background: #f2fff7 !important; border-color: #b7e6ca !important; color: #0d6d34 !important; }

.nav-symbol {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto 2px;
  color: currentColor;
}

.nav-symbol::before,
.nav-symbol::after {
  position: absolute;
  content: "";
  box-sizing: border-box;
}

.nav-symbol.home::before {
  left: 4px;
  top: 7px;
  width: 10px;
  height: 8px;
  border: 2px solid currentColor;
  border-top: 0;
}

.nav-symbol.home::after {
  left: 4px;
  top: 3px;
  width: 10px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.nav-symbol.trip::before {
  left: 2px;
  top: 4px;
  width: 14px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.nav-symbol.trip::after {
  left: 6px;
  top: 2px;
  width: 6px;
  height: 4px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}

.nav-symbol.taxi::before {
  left: 2px;
  top: 6px;
  width: 14px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.nav-symbol.taxi::after {
  left: 4px;
  top: 13px;
  width: 10px;
  height: 3px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.nav-symbol.partner::before {
  left: 3px;
  top: 3px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.nav-symbol.partner::after {
  left: 3px;
  top: 7px;
  width: 12px;
  border-top: 2px solid currentColor;
}

.nav-symbol.schedule::before {
  left: 3px;
  top: 3px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.nav-symbol.schedule::after {
  left: 8px;
  top: 6px;
  width: 5px;
  height: 4px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.mobile-bottom-nav {
  display: none;
}

.lead-form, .panel {
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.lead-form { display: grid; gap: 12px; }
.form-message { min-height: 22px; margin: 0; color: var(--green); font-weight: 800; }

.admin-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.trend-panel {
  margin-top: 14px;
}

.reservation-panel {
  margin-top: 14px;
}

.trend-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.trend-head h3 {
  margin: 0 0 8px;
}

.trend-board {
  display: grid;
  gap: 12px;
}

.trend-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.trend-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.trend-row {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1.4fr 0.7fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trend-row:last-child {
  border-bottom: 0;
}

.trend-row-head {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  background: #f4f7f8;
}

.trend-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.trend-row mark {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--green-dark);
  font-weight: 900;
  background: #e8f7f1;
}

.reservation-board {
  display: grid;
  gap: 12px;
}

.reservation-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.reservation-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.reservation-top div {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.reservation-top span {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--green-dark);
  background: #e8f7f1;
  font-size: 12px;
  font-weight: 900;
}

.reservation-top small,
.provider-message small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.reservation-customer,
.reservation-schedules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.reservation-customer span,
.reservation-schedules span {
  padding: 9px;
  border-radius: 7px;
  background: var(--soft);
  font-weight: 800;
}

.provider-message-list {
  display: grid;
  gap: 8px;
}

.provider-message {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.alimtalk-box {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(250, 213, 80, 0.42);
  border-radius: 8px;
  background: #fff9df;
}

.alimtalk-box div {
  display: grid;
  gap: 3px;
}

.alimtalk-box span {
  color: #9a6208;
  font-size: 13px;
  font-weight: 900;
}

.alimtalk-box small {
  color: var(--muted);
}

.consent-line {
  display: flex;
  grid-column: 1 / -1;
  gap: 8px;
  align-items: start;
  line-height: 1.45;
}

.consent-line input {
  width: auto;
  margin-top: 3px;
}

.panel h3 { margin: 0 0 14px; }
.panel p { color: var(--muted); line-height: 1.6; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.image-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.image-preview img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.empty {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  background: #fff;
}

.my-schedule-empty {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.my-schedule-empty b {
  color: var(--ink);
  font-size: 20px;
}

.my-schedule-empty span {
  line-height: 1.5;
}

.my-schedule-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.my-schedule-menu-card {
  display: grid;
  gap: 5px;
  min-height: 78px;
  align-content: center;
  border: 1px solid rgba(15, 123, 99, 0.18);
  border-radius: 8px;
  padding: 16px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(18, 38, 63, 0.06);
}

.my-schedule-menu-card span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.my-schedule-menu-card strong {
  font-size: 16px;
  word-break: keep-all;
}

.my-schedule-menu-card.active,
.my-schedule-menu-card:hover {
  border-color: rgba(15, 123, 99, 0.42);
  background: #f4fcf9;
}

.my-schedule-menu-card.taxi-reservation {
  border-color: rgba(0, 135, 103, 0.34);
}

.my-schedule-menu-card.scorecard-menu {
  border-color: rgba(39, 101, 186, 0.28);
  background: #f6f9ff;
}

.scorecard-help {
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.my-quotes {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.my-quote-list {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.my-quote-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.my-quote-card b {
  display: block;
  margin-bottom: 3px;
  font-size: 17px;
}

.my-quote-card span,
.my-quote-card small {
  color: var(--muted);
  font-weight: 800;
}

.my-quote-lines {
  display: grid;
  gap: 4px;
}

.my-quote-card em {
  justify-self: start;
  padding: 5px 8px;
  border-radius: 999px;
  color: #9a6208;
  background: #fff7df;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 900px) {
  .hero, .taxi-band, .admin-grid { grid-template-columns: 1fr; }
  .hero-feature-strip { grid-template-columns: 1fr; }
  .soi-taxi-banner { grid-template-columns: 1fr; }
  .revenue-grid,
  .partner-layout { grid-template-columns: 1fr; }
  .company-inner { grid-template-columns: 1fr; }
  .round-grid { grid-template-columns: 1fr; }
  .round-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .round-stats .ranking { grid-column: 1 / -1; }
  .provider-directory { grid-template-columns: 1fr; }
  .provider-profile { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trend-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trend-row { grid-template-columns: 1fr; }
  .reservation-customer,
  .reservation-schedules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 66px;
  }
  .top { min-height: auto; }
  .nav, .section-head, .card-top {
    align-items: stretch;
    flex-direction: column;
  }
  .nav {
    gap: 12px;
    padding: 14px;
  }
  .nav div {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }
  .nav a {
    padding: 8px 4px;
    text-align: center;
    font-size: 12px;
  }
  .hero {
    gap: 12px;
    padding: 20px 14px 16px;
  }
  .hero-copy h1 {
    margin: 6px 0 8px;
    font-size: 28px;
    line-height: 1.12;
  }
  .hero-copy p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
  }
  .hero-copy p:not(.eyebrow) {
    display: none;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 12px;
    gap: 8px;
  }
  .hero-actions .primary {
    grid-column: 1 / -1;
  }
  .card-actions {
    grid-template-columns: 1fr;
  }
  .lead-box {
    display: none;
  }
  .lead-box strong {
    font-size: 20px;
  }
  .soi-taxi-banner {
    margin: 0 14px 10px;
    padding: 13px;
    background-position: center;
  }
  .soi-taxi-banner h2 {
    margin-top: 4px;
    font-size: 22px;
  }
  .soi-taxi-banner p {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.45;
  }
  .soi-taxi-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
  }
  .site-footer {
    position: static;
    padding: 18px 14px 84px;
    box-shadow: none;
  }
  .footer-inner {
    display: grid;
    gap: 8px;
  }
  .footer-brand strong {
    font-size: 12px;
  }
  .footer-brand p {
    font-size: 12px;
    line-height: 1.5;
  }
  .footer-action-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-contact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .footer-action,
  .footer-contact-grid a {
    min-height: 25px;
    padding: 6px 7px;
    font-size: 12px;
  }
  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(15, 123, 99, 0.12);
    background: rgba(255,255,255,0.96);
    box-shadow: 0 -10px 26px rgba(18, 38, 63, 0.12);
    backdrop-filter: blur(12px);
  }
  .mobile-bottom-nav a {
    display: grid;
    min-height: 45px;
    place-items: center;
    align-content: center;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #24413d;
    background: transparent;
    text-align: center;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.1;
  }
  .mobile-bottom-nav a.active {
    border-color: rgba(157,247,191,0.5);
    color: #006b56;
    background: #dcfaf1;
  }
  .hero-feature-strip {
    display: none;
  }
  .my-schedule-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .my-schedule-menu-card {
    min-height: 62px;
    padding: 10px 11px;
  }
  .my-schedule-menu-card strong {
    font-size: 14px;
  }
  body[data-page="mySchedule"] .hero {
    padding-block: 14px;
  }
  body[data-page="mySchedule"] .hero-copy p:not(.eyebrow) {
    display: none;
  }
  body[data-page="mySchedule"] .hero-copy h1 {
    font-size: 23px;
  }
  .section {
    padding: 22px 14px;
  }
  .section-head {
    gap: 10px;
    margin-bottom: 10px;
  }
  .section h2, .taxi-band h2 {
    font-size: 22px;
  }
  .eyebrow {
    font-size: 11px;
  }
  .filters, .cards, .summary-strip, .form-grid, .image-preview { grid-template-columns: 1fr; }
  .filters {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    margin-inline: -4px;
    box-shadow: none;
  }
  .filters label {
    gap: 5px;
    font-size: 12px;
  }
  .filters label:nth-child(7) {
    grid-column: 1 / -1;
  }
  .filters input,
  .filters select {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 14px;
  }
  .course-quick-list {
    margin: 10px -2px 10px;
    padding-bottom: 7px;
  }
  .course-quick-list button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }
  .summary-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .stat {
    padding: 7px 5px;
  }
  .stat span {
    font-size: 10px;
    line-height: 1.2;
  }
  .stat strong {
    font-size: 15px;
    line-height: 1.2;
  }
  .best-deal {
    display: grid;
    gap: 4px;
    padding: 9px 10px;
    font-size: 12px;
  }
  .best-deal-list {
    display: flex;
    overflow-x: auto;
    gap: 7px;
    padding-bottom: 4px;
  }
  .best-deal-list button {
    flex: 0 0 210px;
    min-height: 72px;
  }
  .schedule-more {
    padding-top: 10px;
  }
  .schedule-more .button {
    width: 100%;
    min-width: 0;
    min-height: 42px;
  }
  .provider-profile {
    padding: 8px;
  }
  .provider-gallery {
    grid-template-rows: repeat(2, 104px);
  }
  .provider-title h3 {
    font-size: 20px;
  }
  .provider-address,
  .provider-notes {
    font-size: 12px;
  }
  .compact-provider summary {
    padding: 10px;
  }
  .compact-provider summary small {
    font-size: 12px;
  }
  .provider-contact-grid {
    grid-template-columns: 1fr;
  }
  .view-toggle { width: 100%; }
  .group {
    border-radius: 8px;
  }
  .group-title {
    padding: 9px 10px;
  }
  .group-title h3 {
    font-size: 17px;
  }
  .group-title span {
    font-size: 13px;
  }
  .cards {
    gap: 0;
    padding: 0;
  }
  .schedule-card {
    grid-template-columns: minmax(0, 1fr) 92px;
    grid-template-areas:
      "top top"
      "course action"
      "facts action";
    gap: 8px 10px;
    padding: 9px 8px;
    border-width: 0 0 1px;
    border-radius: 0;
    box-shadow: none;
  }
  .schedule-card:last-child {
    border-bottom: 0;
  }
  .card-top {
    grid-area: top;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .date-pill, .provider-pill {
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-size: 13px;
  }
  #schedule .date-pill {
    display: none;
  }
  #mySchedule .date-pill {
    display: inline;
  }
  .provider-pill {
    color: var(--green-dark);
    font-size: 15px;
  }
  .schedule-card h3 {
    grid-area: course;
    align-self: center;
    font-size: 16px;
    line-height: 1.25;
  }
  .schedule-card dl {
    grid-area: facts;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }
  .schedule-card dl div {
    min-width: 0;
    padding: 6px 4px;
    text-align: center;
  }
  .schedule-card dt {
    font-size: 10px;
  }
  .schedule-card dd {
    overflow-wrap: anywhere;
    font-size: 12px;
  }
  .schedule-card .note {
    display: none;
  }
  .schedule-card .inquiry {
    grid-area: action;
    align-self: stretch;
    min-height: 62px;
    padding: 0 8px;
    line-height: 1.25;
  }
  .my-action {
    padding: 8px;
  }
  .my-action .button {
    width: 100%;
  }
  .my-plan {
    gap: 8px;
  }
  .my-plan-hero {
    display: grid;
    gap: 10px;
    padding: 12px;
  }
  .my-plan-hero h3 {
    font-size: 19px;
  }
  .my-plan-hero p {
    font-size: 13px;
  }
  .my-plan-hero .button {
    width: 100%;
    min-height: 44px;
  }
  .my-plan-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }
  .my-plan-summary span {
    min-width: 0;
    padding: 8px 5px;
    text-align: center;
    font-size: 10px;
  }
  .my-plan-summary b {
    font-size: 16px;
  }
  .my-plan-period {
    padding: 8px 10px;
    font-size: 13px;
  }
  .my-day-head {
    padding: 9px 10px;
  }
  .my-day-head h4 {
    font-size: 15px;
  }
  .my-plan-row {
    grid-template-columns: 58px minmax(0, 1fr) 66px;
    gap: 7px;
    padding: 9px 8px;
  }
  .my-plan-time {
    min-height: 54px;
    border-radius: 7px;
  }
  .my-plan-time span {
    font-size: 10px;
  }
  .my-plan-time b {
    font-size: 14px;
  }
  .my-plan-main strong {
    font-size: 15px;
    line-height: 1.25;
    white-space: normal;
  }
  .my-plan-meta {
    gap: 4px;
  }
  .my-plan-meta span {
    max-width: 100%;
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-size: 11px;
  }
  .my-plan-meta span:nth-child(3) {
    display: none;
  }
  .my-plan-side {
    gap: 5px;
  }
  .my-plan-side b {
    text-align: right;
    font-size: 12px;
    line-height: 1.15;
  }
  .my-remove {
    min-height: 32px;
    padding: 0 8px;
    font-size: 12px;
  }
  .taxi-band {
    padding: 22px 14px;
  }
  .revenue-copy {
    padding: 12px;
  }
  .revenue-copy h3 {
    font-size: 20px;
  }
  .revenue-copy p {
    font-size: 13px;
    line-height: 1.45;
  }
  .revenue-tags {
    gap: 6px;
    margin-top: 10px;
  }
  .revenue-tags span {
    padding: 6px 8px;
    font-size: 12px;
  }
  .trip-auto-box {
    gap: 8px;
    padding: 9px;
  }
  .trip-auto-head {
    display: grid;
  }
  .trip-day-row {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 9px;
  }
  .trip-day-date {
    padding: 8px;
  }
  .trip-estimate {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .trip-estimate span {
    padding: 8px 9px;
  }
  .villa-preview {
    padding: 9px;
  }
  .villa-availability {
    padding: 9px;
  }
  .villa-availability-head {
    align-items: stretch;
    flex-direction: column;
  }
  .villa-room-results {
    grid-template-columns: 1fr;
  }
  .partner-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .partner-cards article {
    min-height: auto;
    padding: 9px;
  }
  .partner-cards b {
    margin-bottom: 4px;
    font-size: 16px;
  }
  .partner-cards span {
    font-size: 12px;
    line-height: 1.35;
  }
  .partner-shop-card {
    gap: 4px;
  }
  .partner-shop-card small {
    display: none;
  }
  .partner-shop-card em {
    font-size: 11px;
  }
  .partner-map-link {
    padding: 5px 8px;
    font-size: 11px;
  }
  .product-summary {
    padding: 9px;
  }
  .product-summary strong {
    font-size: 15px;
  }
  .panel,
  .lead-form {
    padding: 12px;
  }
  input, select, textarea {
    padding: 9px 10px;
  }
  label {
    gap: 5px;
    font-size: 12px;
  }
  .trend-head {
    display: grid;
  }
  .trend-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trend-row {
    gap: 6px;
    padding: 12px;
  }
  .trend-row-head {
    display: none;
  }
  .reservation-top,
  .provider-message,
  .alimtalk-box {
    display: grid;
  }
  .reservation-customer,
  .reservation-schedules {
    grid-template-columns: 1fr;
  }
  .score-inputs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
  }
  .round-preview,
  .round-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .round-meta {
    grid-template-columns: 1fr;
  }
}
.compact-mobile-schedule-placeholder { display: none; }

.provider-quick-list {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 10px 0 4px;
}
.provider-quick-list > span { color: var(--muted); font-size: 13px; font-weight: 800; }
.provider-quick-list button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}
.provider-quick-list button.active,
.provider-quick-list button:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* Ultra-compact mobile schedule: keep a full date's courses scannable without long cards. */
@media (max-width: 430px) {
  .provider-quick-list { gap: 4px; margin: 7px 0 3px; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; padding-bottom: 2px; }
  .provider-quick-list > span { font-size: 11px; }
  .provider-quick-list button { padding: 5px 8px; font-size: 11px; }
  #schedule .group-title { padding: 6px 8px; }
  #schedule .group-title h3 { font-size: 15px; }
  #schedule .group-title span { font-size: 11px; }
  #schedule .schedule-card {
    position: relative;
    grid-template-columns: minmax(0, 1fr) 76px;
    grid-template-areas: "top action" "course action" "facts action";
    gap: 2px 6px;
    padding: 5px 6px;
  }
  #schedule .provider-pill { font-size: 12px; }
  #schedule .card-top { display: contents; }
  #schedule .date-pill { display: none; }
  #schedule .provider-pill {
    position: absolute;
    top: 5px;
    right: 84px;
    max-width: 92px;
    padding: 0;
    background: transparent;
    color: var(--green-dark);
    text-align: right;
  }
  #schedule .schedule-card h3 { padding-right: 98px; font-size: 14px; line-height: 1.15; }
  #schedule .schedule-card dl { gap: 2px; }
  #schedule .schedule-card dl div { padding: 2px; }
  #schedule .schedule-card dt { font-size: 8px; line-height: 1; }
  #schedule .schedule-card dd { font-size: 10px; line-height: 1.1; }
  #schedule .schedule-card .inquiry { min-height: 42px; padding: 0 4px; font-size: 11px; }
}

/* Final mobile override: one heading row, facts and action below. */
@media (max-width: 430px) {
  #schedule .schedule-card {
    grid-template-columns: minmax(0, 1fr) 76px;
    grid-template-areas: "course course" "facts action";
  }
  #schedule .card-top { display: none; }
  #schedule .schedule-card .course-row {
    grid-area: course;
    display: flex;
    width: 100%;
    min-height: 24px;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }
  #schedule .schedule-card h3 {
    padding-right: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    line-height: 1.1;
  }
  #schedule .schedule-card .provider-pill {
    position: static;
    flex: 0 0 auto;
    max-width: 92px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--green-dark);
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #schedule .schedule-card dl { grid-area: facts; }
  #schedule .schedule-card .card-actions { grid-area: action; align-self: center; }
}
