:root {
  --navy-deep: #152b5c;
  --navy: #1f3a7a;
  --gold: #da9616;
  --bg: #f8f9fc;
  --surface: #ffffff;
  --text: #0d1b3e;
  --sub: #5d6b7a;
  --muted: #98989b;
  --border: #e2e8f0;
  --soft: #f4f6fa;
  --tint: #ebf0ff;
  --green: #1a7a4a;
  --red: #d94343;
  --shadow: 0 2px 12px rgba(13, 27, 62, 0.08);
  --page-max: 1280px;
  --page-gutter: clamp(24px, 7vw, 120px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", "Pretendard", system-ui, sans-serif;

  /* 한글은 기본값(word-break: normal)이면 단어 중간에서 잘린다.
     keep-all은 어절 단위로만 끊고, 끊을 데가 없는 긴 문자열만
     overflow-wrap이 강제로 넘긴다. 상속되는 속성이라 여기 한 번만 쓰면 된다. */
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li,
.section-desc,
.view-title p {
  text-wrap: pretty;
}

.spec-note {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

/* 한 덩어리로 읽어야 하는 문구를 묶을 때 쓴다 (예: 시간 범위, 게스트 수) */
.nowrap {
  white-space: nowrap;
}

/* 숫자·날짜·전화번호가 줄 사이에서 쪼개지지 않도록 */
.stat strong,
.row strong,
.pill,
time {
  word-break: keep-all;
  overflow-wrap: normal;
}

.app {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(13, 27, 62, 0.08);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  width: min(var(--page-max), calc(100% - (var(--page-gutter) * 2)));
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
}

.brand {
  border: 0;
  background: none;
  color: var(--navy);
  font-family: "Barlow Condensed", "Pretendard Variable", "Pretendard", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.top-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  border: 0;
  background: transparent;
  color: var(--sub);
  font-size: 14px;
  font-weight: 700;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.danger-btn,
.green-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 12px;
  padding: 0 18px;
  border: 1.5px solid transparent;
  font-weight: 800;
  white-space: nowrap;
}

.primary-btn svg,
.secondary-btn svg,
.ghost-btn svg,
.danger-btn svg,
.green-btn svg,
.link-btn svg,
.mini-btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.primary-btn {
  background: var(--navy);
  color: #fff;
}

.secondary-btn {
  background: #fff;
  color: var(--navy);
  border-color: var(--border);
}

.ghost-btn {
  background: var(--soft);
  color: var(--sub);
  border-color: var(--border);
}

.green-btn {
  background: var(--green);
  color: #fff;
}

.danger-btn {
  background: #fff1f1;
  color: var(--red);
  border-color: #ffd4d4;
}

.landing-hero {
  min-height: min(680px, calc((100vh - 64px) * 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(120deg, rgba(13, 27, 62, 0.9), rgba(13, 27, 62, 0.36)),
    url("./uploads/hero.jpg") center / cover;
  color: #fff;
}

.hero-copy {
  width: min(var(--page-max), calc(100% - (var(--page-gutter) * 2)));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 68px) 0;
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-family: "Barlow Condensed", "Pretendard Variable", "Pretendard", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.hero-copy .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(40px, 7vw, 86px);
  line-height: 1.02;
  font-weight: 900;
}

.hero-copy p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.7;
}

.hero-desc {
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-cta {
  min-width: 180px;
  min-height: 60px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 18px;
}

.hero-cta.primary-btn {
  background: #ebbb37;
  color: #0d1b3e;
}

.content {
  width: min(var(--page-max), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 34px 0 64px;
}

.section {
  padding: 34px 0;
}

.section h2,
.view-title h1 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.18;
}

.section-desc,
.view-title p {
  margin: 10px 0 0;
  color: var(--sub);
  line-height: 1.7;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-head.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.section-head p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--sub);
  line-height: 1.7;
  text-wrap: auto;
}

.section-head.centered p:last-child {
  justify-self: center;
  width: fit-content;
  max-width: none;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card.pad {
  padding: 18px;
}

.card.pad .section-desc {
  max-width: 36em;
  text-wrap: auto;
}

.card-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--navy);
}

.card-icon svg {
  width: 21px;
  height: 21px;
}

.membership-section {
  border-top: 1px solid rgba(13, 27, 62, 0.08);
  border-bottom: 1px solid rgba(13, 27, 62, 0.08);
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.grade-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  color: #fff;
  background: var(--navy);
}

.grade-head.gold {
  background: linear-gradient(90deg, var(--gold), #e8a620);
}

.grade-head strong {
  font-family: "Barlow Condensed", "Pretendard Variable", "Pretendard", sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
}

.benefit-list {
  margin: 0;
  padding: 16px 18px 18px 34px;
  color: #374151;
  line-height: 1.7;
}

.space-gallery {
  position: relative;
  margin-top: 24px;
}

.space-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.space-viewport::-webkit-scrollbar {
  display: none;
}

.space-viewport:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.space-gallery::before,
.space-gallery::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 56px;
  pointer-events: none;
}

.space-gallery::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), rgba(248, 249, 252, 0));
}

.space-gallery::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), rgba(248, 249, 252, 0));
}

.space-track {
  --space-gap: 18px;
  display: flex;
  width: max-content;
  gap: var(--space-gap);
}

.space-slide {
  flex: 0 0 calc((min(var(--page-max), 100vw - (var(--page-gutter) * 2)) - 18px) / 2);
  height: clamp(260px, 28vw, 380px);
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.space-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-shell {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  padding: 20px 14px;
  background: #fff;
  border-right: 1px solid rgba(13, 27, 62, 0.08);
}

.side-title {
  padding: 0 12px 14px;
}

.side-title strong {
  display: block;
  font-size: 17px;
}

.side-title span {
  color: var(--muted);
  font-size: 13px;
}

.nav-list {
  display: grid;
  gap: 6px;
}

.nav-item {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  padding: 0 12px;
  background: transparent;
  color: var(--sub);
  font-weight: 800;
  text-align: left;
}

.nav-item.active {
  background: var(--tint);
  color: var(--navy);
}

.main {
  min-width: 0;
  padding: clamp(20px, 4vw, 42px);
}

.view-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.dash-hero {
  padding: 26px;
  border-radius: 18px;
  background: linear-gradient(150deg, var(--navy-deep), var(--navy));
  color: #fff;
}

.dash-hero h1 {
  margin: 4px 0 12px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.mypage-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.stat span {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.stat strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--tint);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.pill.gold {
  background: #fff8e7;
  color: #9a6100;
}

.pill.green {
  background: #ecfdf5;
  color: var(--green);
}

.pill.red {
  background: #fff1f1;
  color: var(--red);
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--sub);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0 13px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.field textarea {
  min-height: 92px;
  padding-top: 12px;
  resize: vertical;
}

.segmented {
  display: flex;
  gap: 8px;
}

.segmented button {
  flex: 1;
  min-height: 48px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--sub);
  font-weight: 900;
}

.segmented button.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.segmented button.gold.active {
  background: var(--gold);
  border-color: var(--gold);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 40px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 0 16px;
  background: #fff;
  color: var(--sub);
  font-weight: 700;
}

.chip.active {
  background: var(--tint);
  border-color: var(--navy);
  color: var(--navy);
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.row:last-child {
  border-bottom: 0;
}

.row span {
  color: var(--sub);
}

.row strong {
  text-align: right;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 14px;
}

th {
  color: var(--sub);
  background: #fbfcff;
  font-size: 12px;
}

.table-actions {
  display: flex;
  gap: 8px;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 0 10px;
  background: #fff;
  color: var(--sub);
  font-weight: 800;
}

.mini-btn.primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.mini-btn.green {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.mini-btn.danger {
  background: #fff1f1;
  color: var(--red);
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
}

.stepper button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
}

.stepper strong {
  min-width: 28px;
  text-align: center;
}

.empty {
  padding: 26px;
  text-align: center;
  color: var(--muted);
}

.mobile-tabs {
  display: none;
}

@media (max-width: 900px) {
  :root {
    --page-gutter: 16px;
  }

  .topbar {
    height: 58px;
  }

  .topbar-inner {
    width: calc(100% - 32px);
  }

  .top-actions {
    gap: 8px;
  }

  .top-actions .primary-btn {
    min-height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 13px;
  }

  .link-btn {
    font-size: 13px;
  }

  .landing-hero {
    min-height: auto;
    /* PC용 원본(1920x900)은 그림이 오른쪽 구간에만 있어, 폰의 정사각에 가까운
       히어로(약 375x380)에 넣으면 가운데 빈 남색만 잘려 보였다.
       그래서 그림 부분만 떼어낸 전용 이미지(920x900)를 쓴다.
       비율이 히어로와 거의 같아 가로 13px만 잘리고 구도 전체가 들어온다. */
    background:
      linear-gradient(
        176deg,
        rgba(13, 27, 62, 0.8) 0%,
        rgba(13, 27, 62, 0.64) 45%,
        rgba(13, 27, 62, 0.46) 72%,
        rgba(13, 27, 62, 0.16) 100%
      ),
      url("./uploads/hero-mobile.jpg") center / cover;
  }

  /* 덮는 막을 옅게 해 그림을 살린 대신, 글자 자체에 그림자를 줘서 읽히게 한다.
     막을 더 진하게 하면 대비는 오르지만 그림이 다시 안 보인다. */
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy p {
    text-shadow:
      0 1px 2px rgba(8, 16, 40, 0.75),
      0 4px 18px rgba(8, 16, 40, 0.65);
  }

  .hero-copy {
    width: calc(100% - 40px);
    min-height: 380px;
    padding: 38px 0 28px;
  }

  .app {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .grid.two,
  .grid.three,
  .stats,
  .membership-grid {
    grid-template-columns: 1fr;
  }

  .space-gallery {
    margin-left: -14px;
    margin-right: -14px;
  }

  .space-gallery::before,
  .space-gallery::after {
    display: none;
  }

  .space-track {
    --space-gap: 12px;
  }

  .space-slide {
    flex-basis: 82vw;
    height: clamp(190px, 52vw, 280px);
    border-radius: 12px;
  }

  .section-head {
    display: block;
  }

  .section-head.centered {
    display: flex;
    align-items: flex-start;
    text-align: left;
  }

  .section-head p:last-child {
    margin-top: 10px;
  }

  .app-shell {
    display: block;
  }

  .sidebar {
    display: none;
  }

  .main {
    padding: 18px 16px 28px;
  }

  .view-title {
    display: block;
  }

  .mobile-tabs {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 58px;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 16px rgba(13, 27, 62, 0.06);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  }

  .mobile-tabs button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
  }

  .mobile-tabs svg {
    width: 18px;
    height: 18px;
  }

  .mobile-tabs button span {
    white-space: nowrap;
    letter-spacing: -0.3px;
  }

  .mobile-tabs button.active {
    background: transparent;
    color: var(--navy);
  }

  .top-actions .secondary-btn {
    display: none;
  }
}

@media (max-width: 520px) {
  :root {
    --page-gutter: 14px;
  }

  .brand {
    font-size: 19px;
  }

  .top-actions {
    gap: 7px;
  }

  .link-btn {
    font-size: 12px;
    gap: 4px;
  }

  .top-actions .link-btn:first-child:not(.admin-entry),
  .top-actions .member-entry {
    width: 32px;
    height: 32px;
    justify-content: center;
    overflow: hidden;
    font-size: 0;
  }

  .top-actions .primary-btn {
    display: none;
  }

  .top-actions svg {
    width: 14px;
    height: 14px;
  }

  .dash-hero {
    padding: 20px;
    border-radius: 16px;
  }

  .dash-hero h1 {
    font-size: 34px;
  }

  .mypage-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .mypage-stats .stat {
    padding: 10px 8px;
  }

  .mypage-stats .stat span {
    font-size: 11px;
  }

  .mypage-stats .stat strong {
    font-size: 17px;
  }

  .hero-copy h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .hero-desc br {
    display: none;
  }

  .hero-actions {
    display: none;
  }

  .hero-cta {
    width: 100%;
    min-height: 58px;
  }

  .content {
    width: calc(100% - 28px);
  }

  .card.pad {
    padding: 16px;
  }

  .table-actions {
    flex-wrap: wrap;
  }
}

/* ---------- 오시는 길 ---------- */
.location-section {
  border-top: 1px solid rgba(13, 27, 62, 0.08);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.map-card {
  min-height: 340px;
}

.map-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

.location-info {
  display: flex;
  flex-direction: column;
}

.location-info h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
}

.location-address {
  margin: 8px 0 0;
  color: var(--sub);
  font-size: 15px;
  line-height: 1.7;
}

.location-meta,
.spec-list {
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 14px;
}

.location-meta > div,
.spec-list > div {
  display: grid;
  gap: 4px;
}

.location-meta dt,
.spec-list dt {
  margin: 0;
  font-family: "Barlow Condensed", "Pretendard Variable", "Pretendard", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.location-meta dd,
.spec-list dd {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

.location-meta dd a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.location-meta dd a:hover {
  text-decoration: underline;
}

.location-actions {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.location-actions .secondary-btn,
.location-actions .ghost-btn {
  min-height: 42px;
  padding: 0 14px;
  font-size: 14px;
  text-decoration: none;
}

@media (max-width: 900px) {
  .location-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-card,
  .map-frame {
    min-height: 240px;
  }
}

@media (max-width: 520px) {
  .location-actions .secondary-btn,
  .location-actions .ghost-btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}


/* ===========================================================================
   관리자 화면
   담당자가 PC에서 쓰는 것을 기준으로 넓게 배치한다.
   900px 이하에서는 세로로 쌓여 폰에서도 그대로 쓸 수 있다.
   =========================================================================== */

/* 상단 요약 숫자 */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.stat-card:hover {
  border-color: var(--navy);
}

.stat-card.warn {
  border-left-color: var(--gold);
}

.stat-card.danger {
  border-left-color: var(--red);
}

.stat-card-label {
  color: var(--sub);
  font-size: 14px;
  font-weight: 600;
}

.stat-card-value {
  color: var(--text);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.stat-card-value em {
  margin-left: 4px;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  color: var(--sub);
}

/* 처리할 일 묶음 */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.panel {
  padding: 18px 20px 8px;
}

.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.panel-head h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 17px;
}

.panel-head svg {
  width: 18px;
  height: 18px;
  color: var(--navy);
}

.panel-note {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.panel-list {
  display: grid;
}

.panel-row {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.panel-row:last-child {
  border-bottom: 0;
}

.panel-row-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.panel-row-main strong {
  font-size: 16px;
}

.panel-row-sub {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--sub);
  font-size: 14px;
}

.panel-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.panel-empty {
  margin: 18px 0;
  color: var(--muted);
  font-size: 14px;
}

.sent-yes,
.sent-no {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}

.sent-yes {
  color: var(--green);
}

.sent-yes svg {
  width: 14px;
  height: 14px;
}

.sent-no {
  color: var(--muted);
}

/* 회원 명단 — 왼쪽 목록, 오른쪽 상세 */
.member-layout {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.member-list-card {
  padding: 16px;
}

.filter-bar {
  display: grid;
  gap: 10px;
}

.search-input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--soft);
}

.search-input:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-chip {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: #fff;
  color: var(--sub);
  font-size: 13px;
  font-weight: 600;
}

.filter-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.list-count {
  margin: 14px 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.member-list {
  display: grid;
  max-height: 560px;
  overflow-y: auto;
}

.member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 10px;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 8px;
  background: none;
  text-align: left;
}

.member-row:hover {
  background: var(--soft);
}

.member-row.active {
  background: var(--tint);
}

.member-row-name,
.member-row-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.member-row-name strong {
  font-size: 15px;
}

/* 회원 상세 */
.member-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.member-detail-head h2 {
  margin: 0;
  font-size: 24px;
}

.member-detail-sub {
  margin: 6px 0 0;
  color: var(--sub);
  font-size: 15px;
}

.member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.member-block {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.member-block h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.memo-box {
  width: 100%;
  min-height: 84px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--soft);
  line-height: 1.6;
  resize: vertical;
}

.memo-box:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
}

.msg-text {
  color: var(--sub);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-grid,
  .member-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .member-list {
    max-height: none;
  }
}

@media (max-width: 520px) {
  .stat-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .panel-head {
    display: block;
  }

  .panel-note {
    display: block;
    margin-top: 4px;
    white-space: normal;
  }
}


/* ---------- 입금 안내 (회원 화면) ---------- */
.pay-box {
  margin: 0 0 22px;
  padding: 22px;
  text-align: left;
  border: 1.5px solid var(--navy);
  border-radius: 14px;
  background: var(--tint);
}

.pay-label {
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.pay-amount {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
}

.pay-sub {
  margin: 4px 0 0;
  color: var(--sub);
  font-size: 14px;
}

.pay-box .spec-list {
  border-top-color: rgba(31, 58, 122, 0.2);
}

.pay-warn {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(31, 58, 122, 0.2);
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.pay-warn svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 1px;
}

.pay-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff8e7;
  border: 1px solid rgba(218, 150, 22, 0.35);
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
}

.pay-notice svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  color: var(--gold);
}

.card.is-cancelled {
  opacity: 0.55;
}

/* ---------- 입금 확인 (관리자 화면) ---------- */
.pay-amount-inline {
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.panel-alert {
  border-color: rgba(217, 67, 67, 0.4);
}

.panel-alert .panel-head h3 svg {
  color: var(--red);
}

.panel-row.row-overdue {
  background: #fff5f5;
  border-radius: 10px;
  padding-left: 12px;
  padding-right: 12px;
}


/* ---------- 음식 세트 (랜딩) ---------- */
.food-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.food-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.food-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px;
}

.food-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.food-card .section-desc {
  margin: 0;
  flex: 1;
  font-size: 15px;
}

.food-serves {
  margin: 0 0 10px;
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--tint);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.food-price {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
}

.food-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--sub);
  font-size: 14px;
}

.food-note svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--navy);
}

/* ---------- 음식 세트 고르기 (예약 화면) ---------- */
.field-hint {
  margin-left: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.food-picker {
  display: grid;
  gap: 8px;
}

.food-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--soft);
}

.food-pick.picked {
  border-color: var(--navy);
  background: var(--tint);
}

.food-pick-info {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.food-pick-info strong {
  font-size: 15px;
}

.food-pick-info span {
  color: var(--sub);
  font-size: 13px;
}

.stepper.small {
  flex: none;
}

.stepper.small button {
  width: 34px;
  height: 34px;
}

.total-row {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1.5px solid var(--navy);
}

.total-row strong {
  color: var(--navy);
  font-size: 19px;
}

.summary-note {
  margin: 12px 0 0;
  color: var(--sub);
  font-size: 13px;
  line-height: 1.6;
}

.pay-breakdown {
  margin: 12px 0 0;
}

.pay-breakdown .row {
  font-size: 14px;
}

@media (max-width: 1100px) {
  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .food-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ---------- 주차 안내 ---------- */
.parking-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 14px;
}

.parking-card .card-icon {
  margin-bottom: 0;
  flex: none;
}

.parking-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.parking-body .section-desc {
  margin: 0;
}

@media (max-width: 560px) {
  .parking-card {
    display: block;
  }

  .parking-card .card-icon {
    margin-bottom: 12px;
  }
}


/* 가입 신청서의 '입금했습니다' 체크 */
.pay-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1.5px solid var(--navy);
  border-radius: 10px;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.pay-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--navy);
}


.parking-body {
  flex: 1;
  min-width: 0;
}

.parking-walk {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--tint);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.parking-card .location-actions {
  padding-top: 16px;
}


/* ---------- 인원 규모 탭 (5인 / 10인 / 20인) ---------- */
.size-tabs {
  display: inline-flex;
  gap: 4px;
  margin: 0 0 18px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--soft);
}

.size-tab {
  padding: 9px 20px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  color: var(--sub);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.size-tab:hover {
  color: var(--navy);
}

.size-tab.active {
  background: var(--navy);
  color: #fff;
}

.field .size-tabs {
  display: flex;
  margin-bottom: 10px;
}

.field .size-tab {
  flex: 1;
  padding: 9px 10px;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 560px) {
  .size-tabs {
    display: flex;
    width: 100%;
  }

  .size-tab {
    flex: 1;
    padding: 10px 8px;
    font-size: 14px;
    text-align: center;
  }
}


.field-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.size-tab.locked {
  opacity: 0.45;
  cursor: not-allowed;
}

.size-tab.locked:hover {
  color: var(--sub);
}


/* ---------- 음식 세트 사진 ---------- */
.food-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--tint);
}

.food-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 사진이 들어오면 '준비 중' 자리는 숨는다 */
.food-thumb-empty {
  display: none;
}

.food-thumb.empty .food-thumb-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  opacity: 0.55;
}

.food-thumb.empty svg {
  width: 26px;
  height: 26px;
}

/* 예약 화면 고르기 줄의 작은 사진 */
.food-pick-thumb {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--tint);
}

.food-pick-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.food-pick-thumb.empty {
  background: var(--tint);
}

/* 관리자 전용: 큰 글자·명확한 상태·모바일 달력 */
.admin-mode { font-size: 17px; }
.admin-dialog-open { overflow: hidden; }
.admin-app { min-height: 100vh; background: #f5f7fb; color: #182c50; }
.admin-app button, .admin-app input, .admin-app select, .admin-app textarea { font: inherit; }
.admin-app button { touch-action: manipulation; }
.admin-app :focus-visible { outline: 3px solid #315da8; outline-offset: 3px; }
.a-header { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; border-bottom: 1px solid var(--border); background: white; gap: 12px; }
.a-brand { border: 0; padding: 0; background: none; font-weight: 800 !important; font-size: 21px !important; color: var(--navy); text-align: left; }
.a-brand span { margin-left: 14px; color: var(--sub); font-size: 15px; font-weight: 500; }
.a-shell { display: grid; grid-template-columns: 208px minmax(0,1fr); min-height: calc(100vh - 76px); }
.a-sidebar { background: #182f5e; color: white; padding: 32px 14px; }
.a-sidebar>p { margin: 0 14px 20px; font-size: 14px; color: #c4d1e7; }
.a-sidebar nav { display: grid; gap: 10px; }
.a-sidebar nav button { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px; border: 0; border-radius: 10px; background: transparent; color: #e4ebf7; text-align: left; font-weight: 650; }
.a-sidebar nav button.active { background: #304e84; color: white; border-left: 3px solid #deb25f; padding-left: 11px; }
.a-sidebar nav svg { width: 22px; height: 22px; flex: none; }
.a-sidebar-note { margin: 42px 14px; padding-top: 24px; border-top: 1px solid #41567c; font-size: 14px; color: #c4d1e7; line-height: 1.8; }
.a-main { min-width: 0; padding: 24px clamp(20px, 2.3vw, 42px) 48px; max-width: 1800px; width: 100%; margin: auto; }
.a-demo { margin: 24px 0 0; color: #57677e; font-size: 14px; line-height: 1.6; }
.a-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.a-eyebrow { display: block; font-size: 13px; font-weight: 600; color: #64758c; margin: 0 0 8px; }
.a-title h1 { margin: 0 0 10px; font-size: 30px; letter-spacing: -1px; }
.a-title p:last-child { margin: 0; color: #52647d; line-height: 1.6; }
.a-btn { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid #b6c3d5; border-radius: 9px; color: var(--navy); background: white; font-weight: 650 !important; line-height: 1.4; }
.a-btn.primary { background: var(--navy); color: white; border-color: var(--navy); }
.a-btn.danger { color: #a62b2b; border-color: #d59e9e; background: #fff8f8; }
.a-btn.plain { border-color: transparent; background: transparent; }
.a-btn:disabled { background: #e7ebf0; color: #687383; border-color: #e7ebf0; cursor: not-allowed; }
.a-btn:hover:not(:disabled) { border-color: var(--navy); }
.a-card { background: white; border: 1px solid #dfe5ed; border-radius: 14px; min-width: 0; overflow: hidden; }
.a-card h2 { font-size: 21px; margin: 0; }
.a-tasks { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); background: white; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 24px; padding: 8px 0; }
.a-tasks>button { display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 12px 22px; border: 0; background: transparent; color: #344966; text-align: left; }
.a-tasks>button+button { border-left: 1px solid var(--border); }
.a-tasks strong { color: var(--navy); font-size: 26px; margin-left: auto; white-space: nowrap; }
.a-tasks small { font-size: 15px; margin-left: 4px; }
.a-calendar-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 20px; align-items: start; }
.a-calendar { padding: 20px; }
.a-calendar-toolbar, .a-calendar-tools { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.a-month { display: flex; align-items: center; gap: 16px; }
.a-month h2 { font-size: 24px; }
.a-month .a-btn { min-width: 48px; font-size: 26px; padding: 3px 14px; }
.a-calendar-tools { margin: 18px 0; flex-wrap: wrap; }
.a-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.a-tabs button { min-height: 48px; padding: 10px 18px; border: 1px solid #cbd4e2; border-radius: 9px; color: #4b5f7c; background: white; font-weight: 650; }
.a-tabs button.active { background: var(--navy); color: white; border-color: var(--navy); }
.a-calendar-tools .a-tabs { margin: 0; }
.a-legend { display: flex; gap: 16px; font-size: 14px; color: #53647b; }
.a-legend span { display: inline-flex; align-items: center; gap: 5px; }
.a-legend i, .a-day-count i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
i.blue { background: #507bb5; } i.amber { background: #c28722; }
.a-weekdays { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); border: 1px solid #dfe5ed; border-bottom: 0; background: #f4f6fa; }
.a-weekdays span { text-align: center; padding: 12px 0; font-weight: 650; font-size: 15px; }
.a-weekdays span:first-child { color: #a32b31; }
.a-month-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 1px; background: #dfe5ed; border: 1px solid #dfe5ed; }
.a-day { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 7px; min-width: 0; min-height: 112px; padding: 8px 5px; border: 0; background: white; color: #253a5b; text-align: left; }
.a-day:hover { background: #f4f7fd; }
.a-day.selected { background: #edf3ff; box-shadow: inset 0 0 0 2px var(--navy); }
.a-day.outside { background: #f8f9fb; }
.a-day.outside .a-day-number { color: #8793a6; }
.a-day.sunday .a-day-number { color: #ad3333; }
.a-day-number { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 650; border-radius: 50%; }
.a-day-number.today { background: var(--navy); color: white !important; }
.a-day-events { display: grid; gap: 4px; }
.a-event { display: block; padding: 5px 4px; border-radius: 4px; font-size: 12px; font-weight: 650; line-height: 1.4; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.a-event.blue { color: #234b84; background: #e3edfc; border-left: 3px solid #507bb5; }
.a-event.amber { color: #7c5117; background: #fff0d5; border-left: 3px solid #c28722; }
.a-more { padding-left: 4px; font-size: 12px; color: #5c6d84; }
.a-day-count { display: none; }
.a-day-detail { padding: 24px 20px; scroll-margin-top: 16px; }
.a-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.a-booking-card { display: grid; width: 100%; gap: 12px; border: 1px solid #d7e0ec; padding: 18px; margin: 0 0 12px; border-radius: 10px; background: white; color: #243b5b; text-align: left; line-height: 1.5; }
.a-booking-card:hover { border-color: var(--navy); background: #f9fbff; }
.a-booking-top, .a-booking-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.a-booking-top strong { font-size: 20px; }
.a-booking-bottom { padding-top: 12px; border-top: 1px solid #edf0f4; }
.a-booking-bottom>span { color: #395784; font-size: 15px; }
.a-badge { display: inline-block; padding: 5px 9px; border-radius: 6px; font-size: 14px; line-height: 1.4; font-weight: 650; white-space: nowrap; }
.a-badge.blue { color: #254e84; background: #e7effb; }
.a-badge.amber { color: #805215; background: #fff0d6; }
.a-badge.red { color: #a33131; background: #fce9e9; }
.a-badge.gray { color: #52627a; background: #edf0f5; }
.a-hint { color: #596b83; font-size: 15px; line-height: 1.7; margin: 12px 0 0; }
.a-empty { margin: 0; padding: 36px 18px; color: #5f6f85; line-height: 1.8; text-align: center; }
.a-notice, .a-warning { padding: 16px 20px; margin-bottom: 22px; border: 1px solid #b7cbdc; background: #edf5fb; border-radius: 10px; line-height: 1.7; }
.a-notice { display: flex; justify-content: space-between; gap: 16px; }
.a-notice button { align-self: center; background: white; border: 1px solid #b7cbdc; border-radius: 6px; min-height: 44px; padding: 6px 12px; color: #254e84; flex: none; }
.a-notice>div { display: flex; gap: 8px; align-items: center; flex: none; }
.a-warning { color: #77511c; border-color: #e6d4b2; background: #fff9ee; }
.a-month-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.a-member-layout { display: grid; grid-template-columns: minmax(280px,.8fr) minmax(0,1.2fr); gap: 24px; align-items: start; }
.a-member-search { padding: 24px; display: grid; gap: 10px; }
.admin-app input, .admin-app select, .admin-app textarea { min-width: 0; max-width: 100%; width: 100%; min-height: 50px; border: 1px solid #b9c5d5; border-radius: 8px; padding: 12px; background: white; color: #203854; }
.a-filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.a-filter-row label { display: grid; gap: 8px; color: #516078; font-size: 15px; }
.a-list-count { padding: 0 24px; color: #57677d; font-size: 15px; }
.a-member-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border: 0; border-top: 1px solid var(--border); background: white; color: #203854; text-align: left; }
.a-member-row.selected { background: #edf3ff; box-shadow: inset 4px 0 var(--navy); }
.a-member-row>span { display: grid; gap: 8px; }
.a-member-row>span:last-child { justify-items: end; }
.a-member-row strong { font-size: 20px; }
.a-member-row small { font-size: 15px; color: #53667f; }
.a-member-detail { padding: 26px; scroll-margin-top: 16px; }
.a-spec { margin: 18px 0 24px; }
.a-spec>div { display: grid; grid-template-columns: 115px minmax(0,1fr); gap: 12px; padding: 15px 0; border-bottom: 1px solid #edf0f4; line-height: 1.7; }
.a-spec dt { color: #576981; }
.a-spec dd { margin: 0; font-weight: 600; }
.a-spec dd a { color: var(--navy); }
.a-spec .a-total { font-size: 19px; color: var(--navy); }
.a-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.a-memo-label { display: grid; gap: 6px; margin: 24px 0 10px; font-weight: 650; }
.a-memo-label small { font-weight: 400; font-size: 14px; color: #596b83; }
.a-history { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 12px; }
.a-history summary, .a-more-actions summary { min-height: 48px; padding: 12px 0; cursor: pointer; font-weight: 650; }
.a-history-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #edf0f4; padding: 16px 0; }
.a-history-row small { flex-basis: 100%; color: #586981; font-size: 14px; line-height: 1.7; }
.a-approval-list, .a-message-targets, .a-message-history, .a-settlement { padding: 24px; }
.a-approval-card { border-bottom: 1px solid var(--border); padding: 24px 0; }
.a-approval-card:last-child { border: 0; }
.a-approval-card p { line-height: 1.7; }
.a-payment-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.a-payment-item { padding: 24px; }
.a-settlement>label { display: grid; gap: 10px; max-width: 280px; margin-bottom: 20px; }
.a-totals { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 24px 0; }
.a-totals>div { display: grid; gap: 12px; padding: 20px; background: #f3f6fb; border-radius: 10px; }
.a-totals span { color: #53647e; font-size: 15px; }
.a-totals strong { font-size: 24px; }
.a-settlement>.a-booking-card { margin-top: 16px; }
.a-settlement h2 { margin-top: 30px; }
.a-target { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--border); }
.a-target:last-child { border: 0; }
.a-target strong { font-size: 20px; }
.a-target p { margin: 10px 0 0; }
.a-target>.a-btn { flex: none; }
.a-message-history { margin-top: 24px; }
.a-message-row { padding: 24px 0; border-bottom: 1px solid var(--border); }
.a-message-row:last-child { border: 0; }
.a-message-row p { line-height: 1.8; }
.a-message-row small { color: #596b83; font-size: 14px; }
.a-mobile-nav { display: none; }
.a-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(14,29,52,.5); display: flex; align-items: center; justify-content: center; padding: 24px; }
.a-dialog { width: 600px; max-width: 100%; max-height: calc(100dvh - 48px); display: flex; flex-direction: column; border-radius: 16px; background: white; border: 1px solid #dce3ee; }
.a-dialog>header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--border); }
.a-dialog h2 { margin: 0; font-size: 23px; }
.a-dialog-body { padding: 24px; overflow-y: auto; overscroll-behavior: contain; }
.a-dialog-body .a-actions { margin-bottom: 0; }
.a-dialog-body .a-actions>.a-btn { flex: 1; }
.a-confirm-copy { white-space: pre-line; line-height: 1.9; margin: 0 0 24px; }
.a-more-actions { margin-top: 24px; color: #8f3030; border-top: 1px solid var(--border); }
.a-form { display: grid; gap: 20px; }
.a-form label { display: grid; gap: 10px; line-height: 1.7; font-weight: 600; }
.a-form p { margin: 0; line-height: 1.8; }
.a-form .a-check { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; }
.a-check input { width: 24px; height: 24px; min-height: 24px; flex: none; margin-top: 3px; }
.a-form-error { color: #a33131; }
@media (min-width:1500px) { .a-day { min-height: 128px; } .a-event { font-size: 14px; } }
@media (max-width:1200px) {
  .a-shell { grid-template-columns: 176px minmax(0,1fr); }
  .a-main { padding: 22px 20px 40px; }
  .a-calendar-layout { grid-template-columns: minmax(0,1fr); }
  .a-day-detail { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .a-day-detail>.a-panel-heading, .a-day-detail>.a-hint, .a-day-detail>.a-empty { grid-column: 1 / -1; }
  .a-day-detail .a-booking-card { margin-bottom: 0; }
  .a-member-layout { grid-template-columns: minmax(260px,.8fr) minmax(0,1.2fr); gap: 16px; }
}
@media (max-width:800px) {
  .a-header { height: 64px; padding: 0 16px; }
  .a-brand { font-size: 18px !important; }
  .a-brand span { display: none; }
  .a-header>.a-btn { font-size: 14px; padding: 8px; }
  .a-shell { display: block; min-height: calc(100vh - 64px); }
  .a-sidebar { display: none; }
  .a-main { padding: 18px 16px calc(104px + env(safe-area-inset-bottom)); }
  .a-demo { font-size: 13px; margin-bottom: 20px; }
  .a-title { align-items: flex-start; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
  .a-title h1 { font-size: 28px; }
  .a-title .a-eyebrow { display: none; }
  .a-eyebrow { font-size: 12px; }
  .a-title p:last-child { font-size: 16px; }
  .a-tasks { margin-bottom: 18px; }
  .a-tasks>button { flex-wrap: wrap; align-content: center; justify-content: center; gap: 6px; padding: 10px 6px; min-height: 82px; text-align: center; }
  .a-tasks>button>span:first-child { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: center; font-size: 14px; line-height: 1.5; }
  .a-tasks>button>span:last-child { display: none; }
  .a-tasks strong { font-size: 24px; margin: 0; }
  .a-calendar { padding: 14px 10px; }
  .a-calendar-toolbar { gap: 8px; }
  .a-month { gap: 8px; }
  .a-month h2 { font-size: 21px; }
  .a-month .a-btn { padding: 4px 10px; min-width: 44px; }
  .a-calendar-toolbar>.a-btn { padding: 10px 12px; }
  .a-calendar-tools { gap: 14px; margin: 16px 0; }
  .a-tabs { gap: 8px; }
  .a-tabs button { padding: 10px 12px; font-size: 16px; }
  .a-legend { gap: 12px; font-size: 13px; }
  .a-weekdays span { padding: 10px 0; font-size: 14px; }
  .a-day { min-height: 60px; padding: 5px 2px; align-items: center; gap: 5px; }
  .a-day-number { font-size: 16px; width: 28px; height: 28px; }
  .a-day-events { display: none; }
  .a-day-count { display: inline-flex; align-items: center; justify-content: center; gap: 3px; font-size: 12px; line-height: 1.2; color: #384e6b; white-space: nowrap; }
  .a-day-count i { width: 5px; height: 5px; border-radius: 50%; }
  .a-day-detail { padding: 22px 18px; display: block; }
  .a-day-detail .a-booking-card { margin-bottom: 14px; }
  .a-hint { font-size: 14px; }
  .a-member-layout { display: block; }
  .a-member-detail { margin-top: 20px; padding: 22px 18px; }
  .a-member-search { padding: 20px 18px; }
  .a-member-row { padding: 20px 18px; }
  .a-members { max-height: 420px; overflow-y: auto; }
  .a-payment-list, .a-month-list { grid-template-columns: minmax(0,1fr); }
  .a-spec>div { grid-template-columns: 100px minmax(0,1fr); gap: 10px; }
  .a-actions>.a-btn { flex: 1 1 160px; }
  .a-target { align-items: flex-start; flex-direction: column; }
  .a-target>.a-btn { width: 100%; }
  .a-approval-list, .a-message-targets, .a-message-history, .a-settlement { padding: 20px 18px; }
  .a-panel-heading { flex-wrap: wrap; }
  .a-totals { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .a-totals>div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; }
  .a-totals strong { font-size: 21px; }
  .a-mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); background: white; border-top: 1px solid #cad4e3; padding: 7px 6px calc(7px + env(safe-area-inset-bottom)); }
  .a-mobile-nav button { min-height: 58px; border: 0; border-radius: 8px; background: white; color: #50617a; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 5px 2px; font-size: 14px; font-weight: 650; }
  .a-mobile-nav button.active { background: #eaf0fb; color: var(--navy); }
  .a-mobile-nav svg { width: 22px; height: 22px; }
  .a-mobile-nav span { white-space: nowrap; }
  .a-overlay { padding: 0; }
  .a-dialog { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; }
  .a-dialog>header { padding: 14px 18px; }
  .a-dialog h2 { font-size: 22px; }
  .a-dialog-body { padding: 22px 18px calc(24px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion:reduce) { .admin-app * { scroll-behavior: auto !important; } }
@media (min-width:801px) and (max-height:850px) {
  .a-header { height: 64px; }
  .a-main { padding-top: 12px; }
  .a-demo { margin-bottom: 10px; font-size: 13px; }
  .a-title { margin-bottom: 14px; }
  .a-title .a-eyebrow { display: none; }
  .a-title h1 { font-size: 26px; margin-bottom: 6px; }
  .a-title p:last-child { font-size: 15px; }
  .a-tasks { padding: 0; margin-bottom: 16px; }
  .a-tasks>button { min-height: 50px; padding: 8px 18px; }
  .a-tasks strong { font-size: 23px; }
  .a-calendar { padding: 12px; }
  .a-calendar-tools { margin: 10px 0; }
  .a-calendar-tools .a-tabs button { min-height: 40px; padding: 8px 12px; font-size: 15px; }
  .a-weekdays span { padding: 8px 0; }
  .a-day { min-height: 60px; padding: 4px; gap: 3px; }
  .a-day-number { width: 24px; height: 24px; font-size: 15px; }
  .a-event { padding: 3px 4px; font-size: 12px; }
}
@media (max-width:520px) { .a-notice { flex-direction: column; gap: 12px; } }

/* 가입 승인 문자 자동 안내 체험 */
.a-sms-preview { padding: 18px; border: 1px solid #d5deeb; border-radius: 10px; background: #f5f8fd; line-height: 1.8; }
.a-sms-preview p, .a-message-copy { white-space: pre-line; overflow-wrap: anywhere; }
.a-sms-preview small, .a-sms-attempt { display: block; margin-top: 12px; color: #586981; font-size: 14px; line-height: 1.8; }
.a-sms-test { margin-top: 18px; color: #596b83; font-size: 15px; }
.a-sms-test summary { padding: 12px 0; cursor: pointer; }
.a-sms-test label { display: flex; align-items: center; gap: 10px; line-height: 1.7; }
.a-sms-test input { width: 24px; min-height: 24px; height: 24px; flex: none; }
.a-message-row>.a-btn, .a-history-row>.a-btn { margin-top: 14px; }
.a-sms-attempt { overflow-wrap: anywhere; }
.a-title-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.a-export-summary { padding: 18px; border: 1px solid #d5deeb; background: #f5f8fd; border-radius: 10px; line-height: 1.8; }
.a-export-summary strong { display: block; color: var(--navy); }
.a-export-summary strong:not(:first-child) { margin-top: 18px; }
.a-export-summary p { font-size: 15px; color: #52647d; }
.social-account { width: min(100%,600px); margin: 32px auto; }
.social-account h1 { font-size: clamp(25px,4vw,34px); line-height: 1.4; }
.social-account .section-desc { margin-bottom: 24px; }
.social-account .form { gap: 18px; margin-top: 20px; }
.social-account input[type="tel"] { min-width: 0; width: 100%; font-size: 18px; min-height: 54px; }
.social-consent { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.8; }
.social-consent input { flex: none; width: 22px; height: 22px; min-height: 22px; margin-top: 3px; }
.social-consent a { color: #244783; text-decoration: underline; }
.social-note { color: #52647d; font-size: 14px; line-height: 1.8; }
.social-error { color: #a33131; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.social-error:empty { display: none; }
.social-preview { border-top: 1px solid #dbe3ed; padding-top: 18px; }
.social-preview summary { cursor: pointer; font-weight: 650; margin-bottom: 14px; }
.social-preview>.ghost-btn { width: 100%; margin-top: 12px; }
@media(max-width:500px) { .social-account { margin: 16px auto; padding: 22px 18px; } }
.a-notice-panel { padding: 24px; margin-top: 20px; overflow-wrap: anywhere; }
.a-notice-panel h2 { margin: 0 0 14px; font-size: 22px; }
.a-notice-panel ol { padding-left: 24px; line-height: 1.9; }
.a-notice-panel details { margin-top: 20px; }
.a-notice-panel summary { cursor: pointer; font-size: 17px; font-weight: 700; padding: 12px 0; }
.a-template-list article { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid #e2e8f0; }
.a-template-list article>div { min-width: 0; }
.a-template-list p { margin: 6px 0 0; color: #52647d; font-size: 15px; }
.a-template-list .a-btn { flex: none; }
.a-sms-preview label { display: grid; gap: 12px; font-weight: 700; }
.a-sms-preview textarea { width: 100%; border: 1px solid #bac8da; border-radius: 8px; padding: 12px; font: inherit; font-weight: 400; line-height: 1.7; resize: vertical; }
@media(max-width:500px) { .a-notice-panel { padding: 18px; } .a-template-list article { flex-wrap: wrap; } .a-notice-panel input { min-width: 0; max-width: 100%; } }
@media(max-width:800px) { .a-title-actions { width: 100%; } .a-title-actions>.a-btn { flex: 1 1 auto; } }

/* 방문 안내: 실제 지도와 장소 정보, 확인 전 주차장 안내 */
.visit-section { position: relative; background: linear-gradient(145deg,#f8fbff,#edf5fc 80%,#f8fbff); border-top: 0; border-radius: 24px; padding: clamp(24px,4vw,48px); }
.visit-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.visit-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: #5685ca; font-size: 13px; letter-spacing: 1.8px; font-weight: 750; }
.visit-heading h2 { margin: 0; font-size: clamp(32px,4vw,50px); font-weight: 850; line-height: 1.25; letter-spacing: -2px; scroll-margin-top: 90px; }
.visit-section em { color: #0754d5; font-style: normal; }
.visit-heading>div>p:last-child { color: #5d6d88; font-size: 16px; line-height: 1.8; margin: 12px 0 0; }
.visit-heading-note { display: flex; align-items: center; gap: 14px; flex: none; }
.visit-heading-note strong { color: #0754d5; }
.visit-heading-note p { font-size: 14px !important; }
.visit-heading-pin { width: 58px; height: 68px; display: flex; align-items: center; justify-content: center; color: #598bd5; border-radius: 40% 50% 45% 50%; background: #e2edff; }
.visit-heading-pin svg { width: 34px; height: 34px; }
.visit-mobile-break { display: none; }
.visit-grid { display: grid; grid-template-columns: minmax(0,1.22fr) minmax(0,1fr); gap: 20px; align-items: stretch; }
.visit-map-card { min-width: 0; min-height: 490px; position: relative; overflow: hidden; border: 3px solid white; border-radius: 20px; background: #e6edf3; box-shadow: 0 4px 18px rgba(34,67,107,.08); }
.visit-map-frame { display: block; width: 100%; height: 100%; min-height: 490px; border: 0; }
.visit-map-open { position: absolute; left: 18px; bottom: 44px; min-height: 48px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; background: white; color: var(--navy); border: 1px solid #c3d5ed; border-radius: 12px; text-decoration: none; font-size: 15px; font-weight: 750; box-shadow: 0 3px 12px rgba(34,67,107,.12); }
.visit-map-hint { position: absolute; bottom: 0; left: 0; right: 0; margin: 0; padding: 9px 12px; font-size: 12px; line-height: 1.5; background: rgba(255,255,255,.95); color: #52647d; text-align: center; }
.visit-place-card { min-width: 0; border-radius: 20px; overflow: hidden; background: white; border: 1px solid #e1eaf4; box-shadow: 0 4px 18px rgba(34,67,107,.06); }
.visit-place-photo { position: relative; height: 170px; background: #e5ebf2; }
.visit-place-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 55%; }
.visit-place-photo>span { position: absolute; right: 12px; bottom: 20px; background: rgba(15,31,55,.78); color: white; border-radius: 6px; padding: 5px 9px; font-size: 12px; }
.visit-place-body { position: relative; z-index: 1; margin-top: -12px; padding: 24px; border-radius: 20px 20px 0 0; background: white; }
.visit-place-heading { display: flex; gap: 14px; align-items: flex-start; }
.visit-info-icon { width: 42px; height: 42px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: #e9f1ff; border-radius: 12px; color: #0754d5; }
.visit-info-icon svg { width: 24px; height: 24px; }
.visit-place-heading h3 { margin: 0 0 6px; font-size: 23px; line-height: 1.4; }
.visit-place-heading p { margin: 0; font-size: 15px; line-height: 1.8; color: #5d6d88; }
.visit-place-meta { border-top: 1px solid #e6ecf5; margin: 20px 0 0; padding: 18px 0; display: grid; gap: 18px; }
.visit-place-meta>div { display: grid; grid-template-columns: 105px minmax(0,1fr); gap: 12px; }
.visit-place-meta dt { display: flex; align-items: flex-start; gap: 8px; color: #5a6b88; font-size: 14px; font-weight: 650; line-height: 1.8; }
.visit-place-meta dt svg { margin-top: 3px; flex: none; }
.visit-place-meta dd { margin: 0; color: #243b62; font-size: 15px; line-height: 1.8; }
.visit-contact { display: flex; flex-wrap: wrap; gap: 2px 10px; }
.visit-contact a { color: var(--navy); font-weight: 750; text-decoration: none; white-space: nowrap; }
.visit-contact a:hover { text-decoration: underline; }
.visit-map-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding-top: 16px; border-top: 1px solid #e6ecf5; }
.visit-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 10px 12px; background: white; border: 1px solid #cbd9ed; border-radius: 10px; color: #193f88; font: inherit; font-size: 14px; font-weight: 750; text-decoration: none; line-height: 1.5; text-align: center; }
.visit-button svg { flex: none; width: 18px; height: 18px; }
.visit-button.naver { background: #03b85c; color: white; border-color: #03b85c; }
.visit-button.naver b { font-size: 20px; }
.visit-button.kakao { color: #25476c; }
.visit-button.kakao svg { color: #4268a4; }
.visit-button:disabled { background: #f2f5f9; color: #63738a; border-color: #dce3ed; cursor: not-allowed; }
.visit-section a:focus-visible, .visit-section button:focus-visible { outline: 3px solid #315da8; outline-offset: 3px; }
.visit-parking { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,.9fr) minmax(0,1.35fr); align-items: center; gap: 24px; padding: 26px; margin-top: 20px; border: 1px solid #e1eaf4; border-radius: 20px; background: white; }
.visit-parking-letter { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; border-radius: 50%; background: #0754d5; color: white; font-size: 17px; letter-spacing: 0; }
.visit-parking-intro h3 { margin: 0 0 16px; font-size: 32px; letter-spacing: -1.5px; }
.visit-parking-intro>p:last-child { color: #5d6d88; margin: 0; font-size: 15px; line-height: 1.9; }
.visit-parking-photo { height: 200px; min-width: 0; overflow: hidden; border-radius: 15px; }
.visit-parking-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.visit-parking-photo.is-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px; background: repeating-linear-gradient(135deg,#eff4fa 0,#eff4fa 16px,#f5f8fc 16px,#f5f8fc 32px); border: 1px dashed #c7d5e7; color: #536b8e; text-align: center; }
.visit-parking-symbol { width: 48px; height: 48px; border: 2px solid #819bc0; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 750; color: #6787b3; }
.visit-parking-photo strong { font-size: 15px; }
.visit-parking-photo>span:last-child { font-size: 12px; line-height: 1.7; }
.visit-parking-title { display: flex; align-items: center; gap: 12px; }
.visit-parking-title h4 { margin: 0; font-size: 20px; line-height: 1.5; }
.visit-parking-meta { display: grid; gap: 12px; margin: 16px 0; }
.visit-parking-meta>div { display: grid; grid-template-columns: 102px minmax(0,1fr); gap: 10px; font-size: 14px; line-height: 1.8; }
.visit-parking-meta dt { color: #64738c; }
.visit-parking-meta dd { margin: 0; color: #354a6c; }
.visit-parking-map { min-height: 44px; }
.visit-pending-note { margin: 10px 0 0; font-size: 12px; line-height: 1.8; color: #667994; }
.visit-walk { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #edf4ff; color: #285b9c; margin-left: 8px; font-size: 12px; }
@media(max-width:1200px) {
  .visit-heading-note { display: none; }
  .visit-place-body { padding: 20px; }
  .visit-place-meta>div { grid-template-columns: minmax(0,1fr); gap: 5px; }
  .visit-map-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .visit-map-actions>button { grid-column: 1/-1; }
  .visit-parking { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; }
  .visit-parking-photo { grid-row: 1/3; grid-column: 2; height: 100%; min-height: 220px; }
}
@media(max-width:900px) {
  .visit-section { padding: 24px 18px; border-radius: 18px; }
  .visit-grid { display: flex; flex-direction: column; gap: 18px; }
  .visit-place-card { order: -1; }
  .visit-map-card { min-height: 300px; }
  .visit-map-frame { height: 300px; min-height: 300px; }
  .visit-place-photo { height: 190px; }
  .visit-map-actions { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .visit-map-actions>button { grid-column: auto; }
}
@media(max-width:560px) {
  .visit-heading h2 { font-size: 36px; }
  .visit-heading>div>p:last-child { font-size: 15px; }
  .visit-mobile-break { display: block; }
  .visit-place-body { padding: 20px 16px; }
  .visit-place-heading { gap: 10px; }
  .visit-place-heading h3 { font-size: 21px; }
  .visit-place-heading .visit-info-icon { width: 34px; height: 38px; border-radius: 10px; }
  .visit-map-actions { grid-template-columns: minmax(0,1fr); }
  .visit-contact { gap: 2px 12px; }
  .visit-contact a { padding: 8px 0; }
  .visit-map-open { left: 12px; bottom: 55px; }
  .visit-map-hint { font-size: 11px; }
  .visit-parking { grid-template-columns: minmax(0,1fr); gap: 20px; padding: 22px 16px; }
  .visit-parking-photo { grid-row: auto; grid-column: auto; height: 170px; min-height: 0; }
  .visit-parking-intro h3 { font-size: 30px; }
  .visit-parking-map { width: 100%; }
  .visit-parking-meta>div { grid-template-columns: minmax(0,1fr); gap: 3px; }
}

/* 메인 음식 안내 디자인. 예약 화면의 음식 선택 UI에는 적용하지 않는다. */
.food-showcase { position: relative; isolation: isolate; margin-top: 36px; padding: clamp(24px,3vw,40px); border-radius: 24px; overflow: hidden; background: linear-gradient(135deg,#f8fbff 0%,#edf5ff 65%,#f5faff 100%); }
.food-showcase::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(32deg,transparent 88%,rgba(255,255,255,.75) 88%,rgba(255,255,255,.75) 91%,transparent 91%),linear-gradient(145deg,transparent 16%,rgba(255,255,255,.65) 16%,rgba(255,255,255,.65) 16.2%,transparent 16.2%); }
.food-showcase::after { content: ""; position: absolute; z-index: -1; top: 28px; right: 5%; width: 78px; height: 78px; border-radius: 50%; background: rgba(205,223,251,.45); pointer-events: none; }
.food-showcase .food-menu-section { margin: 0; padding: 0; }
.food-showcase .section-head.centered { display: block; margin-bottom: 26px; text-align: center; }
.food-showcase .section-head .section-label { width: 46px; height: 4px; margin: 0 auto 18px; border-radius: 4px; background: #5687ec; font-size: 0; }
.food-showcase .section-head h2 { margin: 0; color: #0e1c43; font-size: clamp(32px,3.5vw,46px); font-weight: 850; line-height: 1.3; letter-spacing: -1.8px; scroll-margin-top: 90px; }
.food-showcase .section-head.centered p:last-child { max-width: none; margin: 14px auto 0; font-size: 16px; color: #586b8e; line-height: 1.9; }
.food-showcase .size-tabs { padding: 4px; gap: 4px; margin-bottom: 22px; background: rgba(255,255,255,.8); border: 1px solid #cbdcff; }
.food-showcase .size-tab { min-width: 112px; min-height: 46px; padding: 10px 20px; color: #455b83; font-size: 16px; }
.food-showcase .size-tab.active { background: linear-gradient(180deg,#235bc5,#1f3a7a); color: white; }
.food-showcase .food-grid { gap: 16px; align-items: stretch; }
.food-showcase .food-card { border-radius: 17px; border: 1px solid #dce8fa; box-shadow: none; background: linear-gradient(180deg,#fff 75%,#fbfdff); }
.food-showcase .food-thumb { aspect-ratio: 4 / 3; border-bottom: 1px solid #eef2f8; }
.food-showcase .food-card-body { padding: 20px; }
.food-showcase .food-serves { padding: 4px 11px; margin-bottom: 12px; color: #134fb5; background: #e7efff; font-size: 14px; line-height: 1.5; }
.food-showcase .food-card h3 { min-height: 1.45em; margin: 0 0 8px; color: #101f47; font-size: clamp(18px,1.5vw,22px); font-weight: 800; line-height: 1.45; letter-spacing: -.7px; }
.food-showcase .food-card .section-desc { min-height: 1.7em; color: #586b8e; font-size: 15px; line-height: 1.7; }
.food-showcase .food-price { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e1e9f6; color: #112f75; font-size: clamp(23px,2vw,29px); line-height: 1.3; font-weight: 800; letter-spacing: -.8px; }
.food-showcase .food-note { min-height: 52px; align-items: flex-start; gap: 12px; padding: 14px 18px; margin: 18px 0 0; border: 1px solid #fff; border-radius: 13px; background: rgba(255,255,255,.5); color: #586b8e; font-size: 15px; line-height: 1.8; }
.food-showcase .food-note svg { margin-top: 4px; width: 18px; height: 18px; }
.food-showcase .food-practical { position: relative; margin: 20px 0 0; padding: 0; gap: 16px; }
.food-showcase .food-practical>.card { position: relative; isolation: isolate; padding: 24px; border: 1px solid white; border-radius: 17px; background: rgba(255,255,255,.65); box-shadow: none; }
.food-showcase .food-practical>.card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(139deg,transparent 70%,rgba(224,237,255,.55) 70%,rgba(224,237,255,.55) 79%,transparent 79%); }
.food-showcase .food-practical .card-icon { width: 44px; height: 44px; margin-bottom: 14px; color: #174aab; background: #e5edff; border-radius: 12px; }
.food-showcase .food-practical .section-label { margin: 0 0 8px; color: #6c7e9c; font-size: 12px; letter-spacing: 1.8px; }
.food-showcase .food-practical h3 { margin: 0 0 10px; color: #10234e; font-size: 22px; letter-spacing: -.5px; }
.food-showcase .food-practical .section-desc { margin: 0; font-size: 15px; line-height: 1.8; color: #586b8e; }
@media(max-width:1100px) {
  .food-showcase .food-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .food-showcase .food-card h3 { min-height: 0; font-size: 22px; }
  .food-showcase .food-card .section-desc { min-height: 0; }
  .food-showcase .food-practical { grid-template-columns: minmax(0,1fr); }
}
@media(max-width:560px) {
  .food-showcase { padding: 26px 16px; margin-top: 24px; border-radius: 18px; }
  .food-showcase::after { width: 50px; height: 50px; top: 20px; right: -8px; }
  .food-showcase .section-head.centered p:last-child { font-size: 15px; }
  .food-showcase .size-tabs { display: flex; width: 100%; }
  .food-showcase .size-tab { flex: 1; min-width: 0; padding: 10px 4px; min-height: 46px; font-size: 15px; }
  .food-showcase .food-grid { grid-template-columns: minmax(0,1fr); }
  .food-showcase .food-card-body { padding: 20px; }
  .food-showcase .food-card h3 { font-size: 22px; }
  .food-showcase .food-price { font-size: 27px; }
  .food-showcase .food-practical>.card { padding: 22px; }
  .food-showcase .food-note { padding: 14px; font-size: 14px; }
}

/* 회원 등급·게스트·공간 대여: 교체 가능한 사진과 독립된 안내 텍스트 */
.membership-showcase { position: relative; isolation: isolate; padding: clamp(24px,3vw,40px); margin-top: 36px; overflow: hidden; border-radius: 24px; background: linear-gradient(145deg,#f9fcff,#eef5ff 80%,#f6faff); }
.membership-showcase::before { content: ""; position: absolute; z-index: -1; right: -100px; top: 10px; width: 420px; height: 240px; border-radius: 50%; transform: rotate(-25deg); border: 50px solid rgba(219,233,253,.35); pointer-events: none; }
.membership-showcase>.membership-section { border: 0; margin: 0; padding: 0 0 30px; }
.membership-showcase .section-head.centered { display: block; text-align: center; margin-bottom: 26px; }
.membership-showcase .section-head .section-label { color: #6b7c9c; font-size: 12px; font-weight: 750; letter-spacing: 1.6px; margin: 0 0 10px; }
.membership-showcase .section-head h2 { margin: 0; font-size: clamp(28px,2.8vw,40px); line-height: 1.35; letter-spacing: -1.5px; color: #0e204a; font-weight: 850; scroll-margin-top: 90px; }
.membership-showcase .section-head.centered p:last-child { max-width: none; margin: 12px auto 0; color: #576c93; font-size: 16px; line-height: 1.8; }
.membership-showcase .membership-grid, .rental-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.membership-grade-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid white; border-radius: 17px; background: white; }
.membership-grade-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 80px; padding: 12px; background: linear-gradient(110deg,#e9f1ff,#f4f8ff); }
.membership-grade-header>div { display: flex; align-items: center; gap: 18px; }
.membership-crown { width: 58px; height: 58px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(160deg,#3067d9,#1746b0); color: white; border-radius: 11px; flex: none; }
.membership-crown svg { width: 36px; height: 36px; }
.membership-grade-header h3 { margin: 0; font-size: 36px; line-height: 1; color: #0f224b; font-weight: 850; }
.membership-fee { padding: 12px 18px; border-radius: 40px; background: #d7e5ff; font-size: 16px; line-height: 1.5; color: #173976; font-weight: 750; white-space: nowrap; }
.membership-grade-card.gold .membership-grade-header { background: linear-gradient(110deg,#fcf0d3,#fff9ed); }
.membership-grade-card.gold .membership-crown { background: linear-gradient(160deg,#e6ad31,#c7870c); }
.membership-grade-card.gold .membership-fee { background: #ffe5ab; color: #684413; }
.membership-grade-body { flex: 1; min-height: 215px; position: relative; isolation: isolate; padding: 26px; background: white; }
.membership-photo { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 65%; overflow: hidden; background: #edf3fa; }
.membership-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: var(--membership-photo-position,center); }
.membership-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#fff 0%,rgba(255,255,255,.96) 20%,rgba(255,255,255,.8) 45%,rgba(255,255,255,.1) 100%); }
.membership-grade-body .membership-photo::after { background: linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 20%,rgba(255,255,255,.72) 43%,transparent 78%); }
.membership-photo-empty { display: none; }
.membership-photo.is-empty { display: flex; align-items: center; justify-content: flex-end; padding: 20px; }
.membership-photo.is-empty .membership-photo-empty { display: block; position: relative; z-index: 1; color: #6c7c94; font-size: 13px; }
.membership-benefits { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.membership-benefits li { display: flex; align-items: flex-start; gap: 12px; color: #122a59; font-size: 16px; line-height: 1.7; font-weight: 550; }
.membership-benefits li>span:first-child { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; flex: none; color: white; background: #1f59bf; border-radius: 50%; margin-top: 1px; }
.membership-benefits li>span:first-child svg { width: 17px; height: 17px; }
.membership-grade-card.gold .membership-benefits li>span:first-child { background: #d49a23; }
.membership-showcase .rental-section { margin: 0; padding: 30px 0 0; border-top: 1px solid #dce6f4; }
.rental-feature-card { position: relative; isolation: isolate; min-width: 0; overflow: hidden; background: white; border: 1px solid white; border-radius: 17px; }
.rental-feature-content { padding: 18px 22px; }
.rental-feature-content h3 { display: flex; align-items: center; gap: 16px; margin: 0 0 6px; color: #102653; font-size: 25px; line-height: 1.4; letter-spacing: -.8px; }
.rental-heading-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; flex: none; background: #e6f0ff; color: #164fb2; border-radius: 17px; }
.rental-heading-icon svg { width: 28px; height: 28px; }
.rental-feature-list { display: grid; margin: 0; }
.rental-feature-list>div { display: flex; align-items: flex-start; gap: 18px; padding: 11px 0; border-top: 1px solid rgba(213,224,240,.65); }
.rental-feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; flex: none; background: #e8f1ff; color: #204d9d; border-radius: 50%; }
.rental-feature-icon svg { width: 25px; height: 25px; }
.rental-feature-list dt { margin: 0 0 4px; color: #61779c; font-size: 14px; line-height: 1.4; }
.rental-feature-list dd { margin: 0; color: #152c59; font-size: 16px; line-height: 1.6; }
.rental-feature-list small { display: block; color: #6d81a3; font-size: 13px; margin-top: 2px; }
@media(max-width:1150px) {
  .membership-grade-header { flex-wrap: wrap; }
  .membership-grade-header>div { gap: 12px; }
  .membership-grade-header h3 { font-size: 32px; }
  .membership-fee { font-size: 15px; padding: 8px 12px; }
  .membership-grade-body { padding: 22px 18px; }
}
@media(max-width:900px) {
  .membership-showcase .membership-grid, .rental-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .membership-grade-header { flex-wrap: nowrap; }
  .membership-grade-body { min-height: 190px; padding: 24px; }
}
@media(max-width:560px) {
  .membership-showcase { padding: 26px 16px; border-radius: 18px; margin-top: 24px; }
  .membership-showcase .section-head.centered p:last-child { font-size: 15px; }
  .membership-showcase .section-head h2 { font-size: 29px; }
  .membership-grade-header { flex-wrap: wrap; gap: 10px; padding: 14px; }
  .membership-crown { width: 44px; height: 44px; }
  .membership-crown svg { width: 30px; height: 30px; }
  .membership-grade-header h3 { font-size: 30px; }
  .membership-fee { font-size: 14px; padding: 8px 12px; }
  .membership-grade-body { padding: 22px 18px; min-height: 190px; }
  .membership-benefits { gap: 14px; }
  .membership-benefits li { font-size: 15px; gap: 10px; }
  .membership-benefits li>span:first-child { width: 24px; height: 24px; }
  .membership-photo { width: 100%; }
  .membership-photo::after { background: linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.94) 65%,rgba(255,255,255,.65) 100%); }
  .membership-grade-body { padding-bottom: 190px; }
  .membership-grade-body .membership-photo { top: auto; height: 180px; }
  .membership-grade-body .membership-photo img { object-position: right 55%; }
  .membership-grade-body .membership-photo::after { background: linear-gradient(180deg,#fff,rgba(255,255,255,.1) 38%,transparent 65%); }
  .rental-feature-content { padding: 18px; }
  .rental-feature-content h3 { gap: 12px; font-size: 23px; }
  .rental-feature-list>div { gap: 12px; }
  .rental-feature-list dd { font-size: 15px; }
  .rental-feature-icon { width: 42px; height: 42px; }
  .rental-heading-icon { width: 46px; height: 46px; }
}

.admin-access { max-width: 560px; padding: 48px 20px 80px; margin: 0 auto; }
.admin-access-card { background: white; border: 1px solid #dbe4ef; border-radius: 18px; padding: 32px; }
.admin-access-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; color: var(--navy); background: #eaf0fc; border-radius: 14px; }
.admin-access-icon svg { width: 28px; height: 28px; }
.admin-access h1 { margin: 20px 0 12px; font-size: 28px; }
.admin-access p { color: #536680; line-height: 1.8; }
.admin-access form { display: grid; gap: 20px; margin-top: 24px; }
.admin-access label { display: grid; gap: 10px; font-weight: 650; }
.admin-access select { width: 100%; min-height: 50px; padding: 10px; border: 1px solid #b9c7da; border-radius: 9px; font: inherit; color: #203859; background: white; }
.admin-access input { width:100%; min-height:50px; padding:12px; border:1px solid #b9c7da; border-radius:9px; font:inherit; font-size:16px; background:white; }
.admin-access .admin-access-note { margin-top: 24px; font-size: 14px; }
.admin-access .ghost-btn { margin-top: 12px; width: 100%; }
.a-header-actions { display: flex; align-items: center; gap: 10px; }
@media(max-width:560px) {
  .admin-access { padding: 28px 16px; }
  .admin-access-card { padding: 24px; }
  .a-header-actions { gap: 4px; }
  .a-header-actions .a-btn { font-size: 13px; padding: 8px; }
  .a-header .a-brand { font-size: 15px !important; }
}

@media(max-width:520px) {
  .top-actions .admin-entry { width: auto; min-height: 40px; padding: 8px 10px; font-size: 13px; color: #1f3a7a; background: #ebf0ff; border: 1px solid #ccdaf1; border-radius: 9px; overflow: visible; white-space: nowrap; }
}
.paid-membership-note { margin: 20px 0; padding: 18px; border: 1px solid #cbd8ee; border-radius: 14px; background: #f4f7fd; color: #183665; }
.paid-membership-note p { margin: 10px 0 0; line-height: 1.7; }
.membership-choice { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; padding: 14px; border: 1px solid #cbd8ee; border-radius: 12px; }
.membership-choice legend { font-weight: 700; padding: 0 6px; }
.membership-choice label { display: flex; align-items: center; gap: 12px; flex: 1 1 180px; padding: 14px; border: 1px solid #cbd8ee; border-radius: 10px; cursor: pointer; }
.membership-choice label:has(input:checked) { background: #edf3ff; border-color: #2454aa; }
.membership-choice input { width: 22px; height: 22px; flex: 0 0 22px; accent-color: #2454aa; }
.membership-choice small { display: block; margin-top: 6px; font-size: 15px; }
.membership-purpose { display:flex; flex-wrap:wrap; gap:10px; margin:20px 0; }
.membership-purpose button { flex:1 1 180px; padding:14px; border:1px solid #bccce5; border-radius:10px; background:white; color:#173462; font:inherit; cursor:pointer; }
.membership-purpose button[aria-pressed="true"] { border:2px solid #2454aa; background:#edf3ff; font-weight:700; }
.a-membership-checks { display:grid; gap:16px; padding:18px; margin:18px 0; border:1px solid #cbd8ee; border-radius:12px; }
.a-membership-checks legend { font-weight:700; padding:0 6px; }
.a-membership-checks label,.a-check { display:flex; align-items:flex-start; gap:12px; line-height:1.6; }
.a-membership-checks input,.a-check input { width:22px; height:22px; flex:0 0 22px; margin-top:2px; }
