/* ───────────────────────────────────────────────────────────────────────
   teo.css — TEO(터) 공용 스타일 (리디자인 2026-11-24)

   <link rel="stylesheet" href="tokens.css"> 다음에 링크한다. 토큰은 tokens.css 만 정의한다.
   규칙 요약 (자세히는 저장소 루트 DESIGN.md):
     · 흰 바탕, 회색 단계, 잉크 글자. 오렌지는 주 버튼 면과 '지금 고른 것'에만 — 글자색 금지
     · 둥근 모서리: 입력·버튼 10px, 카드·사진 12px, 큰 박스 16px, 칩은 알약
     · 그림자는 떠 있는 것(예약 박스·검색창·팝오버·토스트)에만
     · 모바일 먼저. 누르는 것은 44px 이상
   공용 클래스는 모두 t- 로 시작한다 (헤더·푸터만 teo-). 클래스 이름은 리디자인 전과 같다.
   ─────────────────────────────────────────────────────────────────────── */

/* ===== 바탕 ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  letter-spacing: -0.011em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  font-feature-settings: "ss06";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.t-white { background: var(--surface); }
img, svg, video { max-width: 100%; }
img { display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: var(--stroke-bold) solid var(--focus); outline-offset: 3px; border-radius: var(--r-xs); }
::selection { background: var(--brand-100); color: var(--ink); }
input, textarea { caret-color: var(--brand); }
html { scrollbar-color: var(--gray-300) transparent; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.t-skip { position: absolute; left: 16px; top: -100px; z-index: var(--z-modal); background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: var(--r-1); text-decoration: none; }
.t-skip:focus { top: 12px; }

/* ===== 아이콘 (선 1.75px 한 벌 — layout.js 의 TeoLayout.icon) ========== */
.t-ico { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.t-ico--sm { width: 16px; height: 16px; }
.t-ico--lg { width: 24px; height: 24px; }

/* ===== 배치 ========================================================== */
.t-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.t-wrap--narrow { max-width: calc(760px + var(--gutter) * 2); }
.t-wrap--form { max-width: calc(560px + var(--gutter) * 2); }
.t-section { padding: clamp(56px, 8vw, 104px) 0; }
.t-section--line { border-top: var(--stroke) solid var(--line); }
.t-section--white { background: var(--surface); }
.t-section--sunken { background: var(--surface-sunken); }
.t-section--ink { background: var(--ink); color: var(--white); }
.t-stack > * + * { margin-top: var(--s-4); }
.t-row { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.t-grid { display: grid; gap: var(--s-6); }
@media (min-width: 768px) {
  .t-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .t-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ===== 글자 ========================================================== */
.t-display, .t-giant { font-size: var(--fs-display); font-weight: 800; line-height: 1.12; letter-spacing: -0.035em; text-wrap: balance; }
.t-h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.22; letter-spacing: -0.03em; text-wrap: balance; }
.t-h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.3; letter-spacing: -0.025em; text-wrap: balance; }
.t-h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; }
.t-lead { font-size: var(--fs-body-lg); line-height: 1.65; color: var(--gray-700); max-width: 36em; }
.t-sm { font-size: var(--fs-sm); line-height: 1.55; }
.t-muted { color: var(--text-muted); }
/* 작은 보조 글 한 줄 (분류 · 평수 · 날짜). 이름은 예전 그대로 — 고정폭·대문자를 쓰지 않는다 */
.t-mono { font-size: 14px; font-weight: 500; letter-spacing: -0.005em; line-height: 1.45; color: var(--text-muted); }
.t-num { font-variant-numeric: tabular-nums; }
.t-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: var(--gray-500); transition: text-decoration-color var(--t-fast); }
.t-link:hover { text-decoration-color: var(--ink); }

/* 섹션 머리 — 제목 + (선택) 한 줄 설명. 제목 위 꼬리표·장식 막대 없음 */
.t-head { display: grid; gap: var(--s-2); margin-bottom: var(--s-8); }
.t-head__cap { order: 2; }
.t-head--floor::after { content: none; }
.t-floor { background: none; padding: 0; }

/* ===== 로고 ========================================================== */
.teo-logo { display: block; height: 22px; width: auto; overflow: visible; color: var(--ink); }  /* 최소 20px, 비율 고정 */

/* ===== 헤더 (layout.js 의 <teo-header> 가 그린다) ====================== */
teo-header, teo-footer { display: block; }
.teo-nav { position: sticky; top: 0; z-index: var(--z-nav); background: rgba(255, 255, 255, 0.94); border-bottom: var(--stroke) solid transparent; transition: border-color var(--t-base), box-shadow var(--t-base); }
@supports (backdrop-filter: blur(8px)) { .teo-nav { backdrop-filter: saturate(1.4) blur(12px); background: rgba(255, 255, 255, 0.86); } }
.teo-nav.is-scrolled { border-bottom-color: var(--line); }
.teo-nav__inner { display: flex; align-items: center; gap: var(--s-6); min-height: var(--nav-h); }
.teo-nav__brand { display: flex; align-items: center; min-height: 44px; padding-right: var(--s-2); text-decoration: none; }
.teo-nav__menu, .teo-nav__right { display: flex; align-items: center; gap: var(--s-1); }
.teo-nav__right { margin-left: auto; gap: var(--s-2); }
.teo-nav__link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s-3); border-radius: var(--r-pill); font-size: 15px; font-weight: 600; color: var(--gray-700); text-decoration: none; transition: background var(--t-fast), color var(--t-fast); }
.teo-nav__link:hover { background: var(--gray-100); color: var(--ink); }
.teo-nav__link[aria-current="page"] { color: var(--ink); background: var(--gray-100); }
.teo-nav__link--quiet { color: var(--text-muted); font-weight: 500; }
.teo-nav__account { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 4px 12px 4px 4px; border: var(--stroke) solid var(--line); border-radius: var(--r-pill); text-decoration: none; font-size: 15px; font-weight: 600; transition: box-shadow var(--t-fast); }
.teo-nav__account:hover { box-shadow: var(--sh-1); }
.teo-nav__avatar { width: 32px; height: 32px; border-radius: var(--r-round); background: var(--ink); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; text-transform: uppercase; flex-shrink: 0; }
.teo-nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--r-pill); background: none; align-items: center; justify-content: center; }
.teo-nav__toggle:hover { background: var(--gray-100); }
.teo-nav__toggle svg { width: 24px; height: 24px; }
@media (max-width: 767px) {
  .teo-nav__inner { flex-wrap: wrap; gap: 0; }
  .teo-nav__toggle { display: inline-flex; }
  .teo-nav__menu, .teo-nav__right { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; }
  .teo-nav.is-open { background: var(--white); border-bottom-color: var(--line); box-shadow: var(--sh-2); }
  .teo-nav.is-open .teo-nav__menu { display: flex; padding-top: var(--s-2); }
  .teo-nav.is-open .teo-nav__right { display: flex; padding: var(--s-2) 0 var(--s-4); }
  .teo-nav__link { min-height: 48px; padding: 0 var(--s-3); border-radius: var(--r-1); font-size: 16px; }
  .teo-nav__account { border-radius: var(--r-1); }
  .teo-nav__right .t-btn { margin-top: var(--s-2); }
}

/* ===== 푸터 (<teo-footer>) ============================================ */
.teo-foot { background: var(--gray-50); border-top: var(--stroke) solid var(--line); padding: clamp(48px, 6vw, 72px) 0 var(--s-8); }
.teo-foot__slogan { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; line-height: 1.35; letter-spacing: -0.025em; max-width: 16em; }
.teo-foot__cap { margin-top: var(--s-3); }
.teo-foot__grid { display: grid; gap: var(--s-8); margin-top: var(--s-10); }
.teo-foot__col h2 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: var(--s-2); }
.teo-foot__col a, .teo-foot__col span { display: flex; align-items: center; min-height: 36px; font-size: 15px; color: var(--gray-700); text-decoration: none; }
.teo-foot__col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.teo-foot__legal { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-6); margin-top: var(--s-10); padding-top: var(--s-6); border-top: var(--stroke) solid var(--line); }
.teo-foot__legal .teo-logo { height: 20px; }
@media (min-width: 768px) { .teo-foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ===== 버튼 ========================================================== */
.t-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  border: var(--stroke) solid var(--line-strong); border-radius: var(--r-1);
  background: var(--white); color: var(--ink);
  font-size: 16px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast) var(--ease);
}
.t-btn:hover { background: var(--gray-50); border-color: var(--ink); }
.t-btn:active { transform: scale(0.98); }
.t-btn--primary { background: var(--brand); border-color: var(--brand); color: var(--on-accent); }   /* 화면에 하나만 */
.t-btn--primary:hover { background: var(--brand-press); border-color: var(--brand-press); color: var(--on-accent); }
.t-btn--ink { background: var(--ink); border-color: var(--ink); color: var(--white); }
.t-btn--ink:hover { background: var(--gray-700); border-color: var(--gray-700); }
.t-btn--quiet { border-color: var(--line); font-weight: 600; }
.t-btn--quiet:hover { background: var(--gray-50); border-color: var(--line-strong); }
.t-btn--text { border-color: transparent; background: transparent; padding: 0 var(--s-2); text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }
.t-btn--text:hover { background: var(--gray-100); border-color: transparent; }
.t-btn--sm { min-height: 40px; padding: 0 var(--s-4); font-size: 14px; }
.t-btn--lg { min-height: 56px; padding: 0 var(--s-6); font-size: 17px; border-radius: var(--r-md); }
.t-btn--block { display: flex; width: 100%; }
.t-btn:disabled, .t-btn[aria-disabled="true"] { background: var(--gray-100); border-color: var(--gray-100); color: var(--gray-600); cursor: not-allowed; transform: none; }
.t-btn .t-arrow { display: inline-block; transition: transform var(--t-base) var(--ease); }
.t-btn:hover .t-arrow { transform: translateX(3px); }
.t-on-ink .t-btn { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.t-on-ink .t-btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.t-on-ink .t-btn--primary { background: var(--brand); border-color: var(--brand); color: var(--on-accent); }
.t-on-ink .t-btn--primary:hover { background: var(--brand-press); border-color: var(--brand-press); color: var(--on-accent); }

/* ===== 태그 · 상태 ==================================================== */
.t-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border-radius: var(--r-pill); background: var(--gray-100); font-size: 13px; font-weight: 600; color: var(--gray-700); line-height: 1; white-space: nowrap; }
.t-tag .t-ico { width: 14px; height: 14px; }
.t-tag--ink { background: var(--ink); color: var(--white); }
.t-tag--off { background: transparent; color: var(--text-muted); box-shadow: inset 0 0 0 1px var(--line); text-decoration: line-through; text-decoration-color: var(--gray-500); }
.t-tags { display: flex; flex-wrap: wrap; gap: 6px; }
/* 상태 = 점 + 글자 (색만으로 전달하지 않는다). 가능=초록, 일부=반쪽, 불가=회색 빈 점, 준비 중=점선 */
.t-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap; }
.t-status::before { content: ""; width: 8px; height: 8px; border-radius: var(--r-round); border: var(--stroke-bold) solid var(--ink); background: transparent; flex-shrink: 0; }
.t-status--available::before { background: var(--success); border-color: var(--success); }
.t-status--partial::before { background: linear-gradient(90deg, var(--success) 50%, transparent 50%); border-color: var(--success); }
.t-status--unavailable { color: var(--text-muted); }
.t-status--unavailable::before { border-color: var(--gray-500); }
.t-status--pending { color: var(--gray-700); }
.t-status--pending::before { border-style: dotted; border-color: var(--gray-600); }
.t-status--done::before { background: var(--ink); }
.t-status--danger { color: var(--danger); }
.t-status--danger::before { border-color: var(--danger); background: var(--danger); }
.t-status--plate { background: var(--white); padding: 7px 10px; border-radius: var(--r-pill); box-shadow: var(--sh-1); }

/* ===== 카드 · 줄 ====================================================== */
.t-card { background: var(--surface); border: var(--stroke) solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); }
.t-card--ink { background: var(--ink); border-color: var(--ink); color: var(--white); }
.t-card--flat { background: var(--gray-50); border-color: transparent; }
a.t-card, .t-card--link { display: block; text-decoration: none; transition: border-color var(--t-fast), box-shadow var(--t-base); }
a.t-card:hover, .t-card--link:hover { border-color: var(--line-strong); box-shadow: var(--sh-1); }
/* 키-값 줄 */
.t-rows > * { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: var(--stroke) solid var(--line); }
.t-rows > *:last-child { border-bottom: 0; }
.t-rows dt, .t-rows .k { color: var(--text-muted); font-size: var(--fs-sm); flex-shrink: 0; }
.t-rows dd, .t-rows .v { margin: 0; font-weight: 600; text-align: right; }
/* 사진 자리 — 사진이 없으면 회색 면 + 가운데 글자 */
.t-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); background: var(--gray-100); isolation: isolate; }
.t-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.t-photo__cap { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; justify-items: center; color: var(--gray-600); font-size: 13px; font-weight: 600; text-align: center; padding: var(--s-4); }
.t-photo__cap::before { content: ""; width: 28px; height: 28px; background: currentColor; opacity: 0.7; -webkit-mask: var(--ico-photo) center / contain no-repeat; mask: var(--ico-photo) center / contain no-repeat; }
.t-photo__label { position: absolute; left: var(--s-3); bottom: var(--s-3); z-index: 1; padding: 6px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.94); box-shadow: var(--sh-1); font-size: 13px; font-weight: 600; color: var(--ink); }
.t-photo__label:empty { display: none; }
:root { --ico-photo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Ccircle cx='9' cy='10' r='1.75'/%3E%3Cpath d='M21 15.5l-4.5-4.5L8 19.5'/%3E%3C/svg%3E"); }

/* 매물 카드 (목록) — 사진이 몸통, 글은 사진 아래 테두리 없이 */
.t-space { display: flex; flex-direction: column; gap: var(--s-3); text-decoration: none; color: inherit; border-radius: var(--r-md); }
.t-space__photo { border-radius: var(--r-md); }
.t-space__photo .t-status { position: absolute; top: var(--s-3); left: var(--s-3); z-index: 1; }
a.t-space:hover .t-photo > img { transform: scale(1.04); }
a.t-space:focus-visible { outline-offset: 6px; }
.t-space__body { display: grid; gap: 4px; padding: 0 2px; flex: 1; align-content: start; }
.t-space__name { font-size: 17px; font-weight: 700; line-height: 1.35; letter-spacing: -0.02em; }
.t-space__foot { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); margin-top: 6px; }
.t-space .t-tags { margin-top: 6px; }
.t-space.is-off { color: var(--text-muted); }
.t-space.is-off .t-photo > img { filter: grayscale(1); opacity: 0.55; }

/* 가격 — 하루 이용료 하나만 (건물주 임대료를 따로 적지 않는다) */
.t-price { display: inline-flex; align-items: baseline; gap: 3px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.t-price small { font-size: 14px; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.t-price--lg { font-size: 26px; font-weight: 800; }

/* ===== 폼 ============================================================ */
.t-field { display: grid; gap: var(--s-2); }
.t-field + .t-field { margin-top: var(--s-5); }
.t-label { font-size: 15px; font-weight: 700; }
.t-label .req { font-weight: 500; color: var(--text-muted); margin-left: 4px; font-size: 13px; }
.t-input, .t-select, .t-textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--white); border: var(--stroke) solid var(--line-strong); border-radius: var(--r-1);
  font-size: 16px; line-height: 1.5; appearance: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.t-textarea { min-height: 120px; resize: vertical; }
.t-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23141210' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.t-input::placeholder, .t-textarea::placeholder { color: var(--gray-600); }
.t-input:hover, .t-select:hover, .t-textarea:hover { border-color: var(--gray-600); }
.t-input:focus, .t-select:focus, .t-textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 18, 16, 0.1); }
.t-input[aria-invalid="true"], .t-select[aria-invalid="true"], .t-textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(194, 39, 27, 0.12); }
.t-input:read-only { background: var(--gray-50); border-color: var(--line); }
.t-input:disabled, .t-select:disabled, .t-textarea:disabled { background: var(--gray-50); border-color: var(--line); color: var(--gray-600); cursor: not-allowed; }
.t-help { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.t-error { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; font-weight: 600; color: var(--danger); line-height: 1.5; }
.t-error::before { content: ""; flex-shrink: 0; width: 15px; height: 15px; margin-top: 2px; background: currentColor; -webkit-mask: var(--ico-alert) center / contain no-repeat; mask: var(--ico-alert) center / contain no-repeat; }
:root { --ico-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E"); }
/* 체크박스 · 라디오 (줄 전체가 눌린다) */
.t-check { display: flex; align-items: flex-start; gap: var(--s-3); min-height: 44px; padding: 10px 0; cursor: pointer; }
.t-check input { appearance: none; flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; border: var(--stroke-bold) solid var(--line-strong); border-radius: var(--r-xs); background: var(--white); display: grid; place-content: center; cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast); }
.t-check input[type="radio"] { border-radius: var(--r-round); }
.t-check:hover input { border-color: var(--gray-600); }
.t-check input::after { content: ""; width: 12px; height: 12px; background: var(--white); transform: scale(0); transition: transform var(--t-fast) var(--ease); -webkit-mask: var(--ico-check) center / contain no-repeat; mask: var(--ico-check) center / contain no-repeat; }
.t-check input[type="radio"]::after { width: 8px; height: 8px; border-radius: var(--r-round); -webkit-mask: none; mask: none; }
.t-check input:checked { background: var(--ink); border-color: var(--ink); }
.t-check input:checked::after { transform: scale(1); }
:root { --ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E"); }
/* 고르는 칩 (여러 보기 중 선택) — input 을 감싼 label */
.t-choices { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.t-choice { position: relative; display: inline-flex; }
.t-choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.t-choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4); border: var(--stroke) solid var(--line-strong); border-radius: var(--r-pill); background: var(--white); font-size: 15px; font-weight: 600; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease); }
.t-choice span b { margin-left: 6px; font-weight: 500; opacity: 0.7; }
.t-choice:hover span { border-color: var(--ink); }
.t-choice input:active + span { transform: scale(0.97); }
.t-choice input:checked + span { background: var(--brand-50); border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); color: var(--ink); }
.t-choice input:focus-visible + span { outline: var(--stroke-bold) solid var(--focus); outline-offset: 3px; }

/* ===== 알림 · 빈 상태 · 불러오는 중 ====================================== */
.t-note { display: grid; gap: 2px; padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--gray-50); font-size: 15px; color: var(--gray-700); }
.t-note strong { font-weight: 700; color: var(--ink); }
.t-note--accent { background: var(--brand-50); color: var(--brand-ink); }
.t-note--accent strong { color: var(--ink); }
.t-note--danger { background: var(--danger-50); color: var(--danger); }
.t-note--danger strong { color: var(--danger); }
.t-empty { display: grid; justify-items: center; gap: var(--s-3); padding: var(--s-12) var(--s-6); text-align: center; border-radius: var(--r-lg); background: var(--gray-50); color: var(--text-muted); }
.t-empty strong { color: var(--ink); font-size: 18px; }
.t-skel { background: var(--gray-100); min-height: 1em; border-radius: var(--r-xs); }   /* 반복 애니메이션 없이 자리만 잡는다 */
.t-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: var(--z-modal); background: var(--ink); color: var(--white); padding: 14px 20px; border-radius: var(--r-md); box-shadow: var(--sh-3); font-size: 15px; font-weight: 600; max-width: calc(100vw - 32px); }

/* ===== 단계 (순서가 정보라서 번호를 쓴다) — 선으로 이은 번호, 칸 채움 없음 ===== */
.t-steps { display: grid; counter-reset: step; }
.t-steps > li { position: relative; counter-increment: step; display: grid; align-content: start; grid-template-columns: 32px 1fr; gap: 4px var(--s-4); padding: 0 0 var(--s-6); }
.t-steps > li:last-child { padding-bottom: 0; }
.t-steps > li::before { content: counter(step); grid-row: span 2; position: relative; z-index: 1; width: 32px; height: 32px; border-radius: var(--r-round); background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); display: grid; place-content: center; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.t-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 15.25px; top: 32px; bottom: 0; width: 1.5px; background: var(--line); }
.t-steps h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; align-self: center; min-height: 32px; display: flex; align-items: center; }
.t-steps p { grid-column: 2; color: var(--gray-700); font-size: 15px; }
@media (min-width: 900px) {
  .t-steps--across { grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
  .t-steps--across > li { grid-template-columns: 1fr; padding: 0; }
  .t-steps--across > li::before { grid-row: auto; margin-bottom: var(--s-4); }
  .t-steps--across > li:not(:last-child)::after { left: 40px; right: calc(var(--s-6) * -1 + 8px); top: 15.25px; bottom: auto; width: auto; height: 1.5px; }
  .t-steps--across p { grid-column: 1; }
  .t-steps--across h3 { min-height: 0; }
}
/* 진행 막대 (여러 단계 폼 · 예약 상태) */
.t-progress { display: flex; gap: 6px; }
.t-progress > * { flex: 1; height: 4px; border-radius: var(--r-pill); background: var(--gray-200); transition: background var(--t-base); }
.t-progress > .is-done { background: var(--ink); }
.t-progress > .is-now { background: var(--brand); }

/* ===== 첫 진입 연출 (motion.js) — 스크립트가 안 돌면 그대로 보인다 ======== */
.t-reveal-mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.t-reveal-mask > span { display: block; }
/* layout.js 가 head 에서 html.t-motion 을 붙이고, motion.js 가 연출을 시작하며 뗀다 (못 읽으면 2.5초 뒤 저절로) */
.t-motion [data-intro], .t-motion .t-reveal-mask > span { visibility: hidden; }

/* ===== 보이기 · 감추기 ================================================= */
@media (max-width: 767px) { .t-hide-m { display: none !important; } }
@media (min-width: 768px) { .t-hide-d { display: none !important; } }

/* ===== 움직임 줄이기 ================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ===== 인쇄 ========================================================== */
@media print { .teo-nav, .teo-foot, .t-skip { display: none !important; } body { background: #fff; } }

/* 푸터 브랜드 칸 */
.teo-foot__col .teo-logo + .teo-foot__slogan { margin-top: var(--s-5); }
.teo-foot__about { margin-top: var(--s-2); display: block !important; min-height: 0 !important; }

/* 맺음 패널 — 둥근 잉크 면 (홈 건물주 · 이용 안내 · 공실 문의 끝) */
.t-panel-ink { padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); background: var(--ink); color: var(--white); }
.t-panel-ink .t-lead, .t-panel-ink .t-muted { color: rgba(255, 255, 255, 0.78); }
