/* TIEN 사용자 화면 — Figma TIEN Design System v2 (Foundations 1:151 · UI Kit 1:152).
   모바일 폭(390) 기준, 넓은 화면은 가운데. 색은 Foundations 값 그대로. */
:root {
    --t-brand: #4529d9;
    --t-text: #191f28;
    --t-text-2: #4e5968;
    --t-text-3: #8b95a1;
    --t-line: #e5e8eb;
    --t-bg: #ffffff;
    --t-danger: #e34948;
    --t-radius: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html, body { margin: 0; background: #f2f4f6; color: var(--t-text);
    font-family: 'Noto Sans KR', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.app { max-width: 480px; min-height: 100dvh; margin: 0 auto; background: var(--t-bg); }

/* 09-01 로그인 */
.lg { display: flex; flex-direction: column; min-height: 100dvh; padding: 0 20px calc(28px + env(safe-area-inset-bottom)); }
.lg-intro { padding: 84px 8px 0; }
.lg-brand { margin: 0; font-size: 12px; line-height: 18px; font-weight: 700; color: var(--t-brand); }
.lg-head { margin: 22px 0 0; font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -0.6px; }
.lg-head em { font-style: normal; color: var(--t-brand); }
.lg-note { margin: 22px 0 0; font-size: 12px; line-height: 18px; color: var(--t-text-3); }
.lg-desc { margin: 22px 0 0; font-size: 15px; line-height: 24px; color: var(--t-text-2); word-break: keep-all; }
.lg-photo { position: relative; margin-top: 22px; aspect-ratio: 332 / 200; border-radius: var(--t-radius); overflow: hidden; background: var(--t-line); }
.lg-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lg-photo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60%;
    background: linear-gradient(to bottom, rgba(25, 31, 40, 0), rgba(25, 31, 40, .6)); }
.lg-dots { display: flex; justify-content: center; gap: 6px; margin-top: 22px; }
.lg-dots span { width: 6px; height: 4px; border-radius: var(--t-radius); background: var(--t-line); }
.lg-dots span.is-on { width: 18px; background: var(--t-brand); }

.lg-start { margin-top: auto; padding-top: 44px; }
.lg-notice { margin: 0 0 12px; padding: 12px 14px; border-radius: var(--t-radius); background: #fff4f4;
    color: var(--t-danger); font-size: 13px; line-height: 19px; }
.lg-primary, .lg-secondary { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px;
    border: 0; border-radius: var(--t-radius); font: inherit; font-size: 16px; line-height: 19px; font-weight: 700;
    text-decoration: none; cursor: pointer; }
.lg-primary { background: var(--t-brand); color: #fff; }
.lg-secondary { background: #fff; color: var(--t-text); border: 1px solid var(--t-line); }
.lg-primary:active { filter: brightness(.92); }
.lg-primary:focus-visible, .lg-secondary:focus-visible, .lg-other:focus-visible, .lg-about:focus-visible {
    outline: 2px solid var(--t-brand); outline-offset: 2px; }
.lg-or { display: flex; align-items: center; gap: 10px; margin: 10px 0; font-size: 12px; line-height: 18px; color: var(--t-text-3); }
.lg-or::before, .lg-or::after { content: ''; flex: 1; height: 1px; background: var(--t-line); }
.lg-others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lg-other { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 56px;
    border: 1px solid var(--t-line); border-radius: var(--t-radius); text-decoration: none;
    font-size: 13px; line-height: 15px; font-weight: 700; color: var(--t-text); }
.lg-other b { font-size: 16px; line-height: 19px; color: var(--t-brand); }
.lg-about { display: block; width: max-content; margin: 13px auto 0; font-size: 13px; line-height: 15px; color: var(--t-text-2); text-decoration: none; }

/* 로그인 · 가입 중일 때 하단 */
.lg-signed { margin: 0 0 12px; font-size: 15px; line-height: 22px; color: var(--t-text-2); text-align: center; }
.lg-signed b { color: var(--t-text); }
.lg-logout { margin-top: 8px; }

/* 이메일 · 가입 준비 중 */
.lg--form { padding-top: 16px; }
.lg-back { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: -8px;
    font-size: 28px; text-decoration: none; color: var(--t-text); }
.lg-title { margin: 24px 0 0; font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -0.4px; }
.lg-form { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.lg-field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 18px; color: var(--t-text-2); }
.lg-field input { height: 52px; padding: 0 16px; border: 1px solid var(--t-line); border-radius: var(--t-radius);
    font: inherit; font-size: 15px; color: var(--t-text); background: #fff; }
.lg-field input:focus { outline: none; border-color: var(--t-brand); }
.lg-field input.is-error { border-color: var(--t-danger); }
.lg-error { margin: -4px 0 0; font-size: 13px; line-height: 19px; color: var(--t-danger); }
.lg-hint { margin: 20px 0 0; font-size: 13px; line-height: 19px; color: var(--t-text-3); word-break: keep-all; }
.lg--form form:not(.lg-form) { margin-top: 28px; }

/* 09-06 홈 (Figma 15:31) */
.hm { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.hm button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.hm a { text-decoration: none; }
.hm-top { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px; }
.hm-logo { font-size: 18px; line-height: 27px; font-weight: 700; letter-spacing: -0.2px; color: var(--t-brand); }
.hm-regions { display: flex; gap: 6px; min-width: 0; margin: 0; }
.hm .hm-region { position: relative; flex: none; display: inline-flex; align-items: center; height: 30px; margin: 0; border: 1px solid var(--t-line);
    border-radius: var(--t-radius); font-size: 13px; }
.hm-region select { max-width: 120px; field-sizing: content; height: 100%; padding: 0 26px 0 12px; border: 0; border-radius: inherit; background: none;
    font: inherit; color: var(--t-text); appearance: none; -webkit-appearance: none; cursor: pointer; text-overflow: ellipsis; }
.hm-region img { position: absolute; right: 8px; pointer-events: none; }
.hm-region select:focus-visible { outline: none; }
.hm .hm-region:focus-within { border-color: var(--t-brand); }   /* 고를 때 테두리 1px 만 보라색 */
.hm-top__right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.hm .hm-bell { font-size: 13px; line-height: 19.5px; }
.hm-menu img { display: block; }
.hm-search { display: flex; align-items: center; gap: 8px; margin: 4px 20px 0; }
.hm-search__box { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; height: 48px; padding: 0 16px;
    border: 1px solid transparent; border-radius: 999px; background: #f2f4f6; font-size: 15px; }
.hm-search__box:focus-within { border-color: var(--t-brand); background: #fff; }
.hm-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; color: var(--t-text); outline: none; }
.hm-search input::placeholder { color: #b0b8c1; }
.hm .hm-find__back, .hm-find__panel { display: none; }
/* 덮개 — 같은 입력 칸을 위에 둔 채 화면 전체를 검색으로 */
.hm-find.is-open { position: fixed; inset: 0; z-index: 30; max-width: 480px; margin: 0 auto; overflow-y: auto; background: var(--t-bg); }
.hm-find.is-open .hm-search { height: 60px; margin: 0; padding: 0 16px 0 8px; }
.hm-find.is-open .hm-search__box { height: 44px; }
.hm .hm-find.is-open .hm-find__back { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; }
.hm-find.is-open .hm-find__panel { display: block; padding-top: 8px; }

.hm-banners { margin-top: 26px; }
.hm-banners__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px; scrollbar-width: none; }
.hm-banners__track::-webkit-scrollbar { display: none; }
.hm-banner { flex: 0 0 calc(100% - 38px); scroll-snap-align: center; display: flex; flex-direction: column; justify-content: flex-end;
    height: 150px; padding: 18px; border-radius: 16px; background: #f7f8fa; color: var(--t-text); }
.hm-banner.is-violet { color: #2a1799; }
.hm-banner.is-orange { background: #fff4e5; color: #b25e00; }
.hm-banner__label { font-size: 12px; line-height: 18px; font-weight: 700; opacity: .8; }
.hm-banner__title { margin-top: 4px; font-size: 18px; line-height: 23.4px; letter-spacing: -0.2px; }
.hm-banner__sub { margin-top: 4px; font-size: 13px; line-height: 19.5px; opacity: .8; }
.hm-dots { display: flex; justify-content: center; gap: 5px; margin-top: 8px; }
.hm-dots span { width: 5px; height: 4px; border-radius: var(--t-radius); background: var(--t-line); transition: width .2s; }
.hm-dots span.is-on { width: 16px; background: var(--t-brand); }

.hm-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 24px 20px 0; }
.hm .hm-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; height: 91px; padding-top: 12px;
    border-radius: var(--t-radius); background: #f7f8fa; font-size: 12px; line-height: 16px; font-weight: 700; white-space: nowrap; }
.hm-tile__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: #eeebfb; }
.hm-new { position: absolute; top: 4px; left: 50%; transform: translateX(-6px); padding: 1px 5px; border-radius: 8px; background: var(--t-brand);
    color: #fff; font-size: 11px; line-height: 14px; font-weight: 500; font-style: normal; }

.hm-analysis { display: flex; flex-direction: column; gap: 8px; margin: 26px 20px 0; padding: 16px; border-radius: 16px; background: #f7f8fa; }
.hm-analysis__head { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; line-height: 23px; font-weight: 700; color: #2a1799; }
.hm-analysis__body { margin: 0; font-size: 13px; line-height: 19px; color: var(--t-text-2); word-break: keep-all; }
.hm-analysis__foot { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 12px; line-height: 17px; color: var(--t-text-3); }
.hm .hm-small { height: 40px; padding: 0 14px; border: 1px solid var(--t-brand); border-radius: 10px; background: #fff; color: var(--t-brand);
    font-size: 14px; line-height: 20px; font-weight: 500; }

.hm-sec { margin-top: 26px; }
.hm-sec__head { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.hm-sec__head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 16px; line-height: 24px; font-weight: 700; }
.hm .hm-all { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; line-height: 15px; font-weight: 700; color: var(--t-brand); }
.hm-live { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 18px; color: #ff3b5c; }
.hm-live::before { content: ''; width: 6px; height: 6px; border-radius: 3px; background: #ff3b5c; }
.hm-sec__note { margin: 12px 20px 0; font-size: 12px; line-height: 17px; color: var(--t-text-2); }
.hm-empty { margin: 12px 20px 0; padding: 18px; border-radius: var(--t-radius); background: #f7f8fa; font-size: 13px; color: var(--t-text-3); text-align: center; }
.hm-rail { display: flex; gap: 10px; overflow-x: auto; margin-top: 10px; padding: 0 20px; scrollbar-width: none; }
.hm-rail::-webkit-scrollbar { display: none; }
.hm-t2, .hm-t3 { display: block; font-size: 12px; line-height: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-t2 { color: var(--t-text-2); }
.hm-t3 { color: var(--t-text-3); }
.hm-tag { position: absolute; top: 8px; left: 8px; padding: 3px 6px; border-radius: 8px; background: #fff; color: #2a1799;
    font-size: 12px; line-height: 16px; font-weight: 500; }

.hm-presale { flex: 0 0 248px; display: flex; flex-direction: column; gap: 2px; }
.hm-presale__img, .hm-listing__img, .hm-story__img, .hm-content__img { position: relative; display: block; overflow: hidden; border-radius: var(--t-radius); background: #f2f4f6; }
.hm-presale__img { height: 140px; margin-bottom: 8px; }
.hm-presale__img img, .hm-listing__img img, .hm-story__img img:not(.hm-play), .hm-content__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-presale__img .hm-ph { position: absolute; top: 56px; left: 110px; width: 28px; height: 28px; }
.hm-presale strong { font-size: 16px; line-height: 23px; }

.hm-listing { flex: 0 0 200px; }
.hm-listing__img { height: 120px; }
.hm-listing__img::after, .hm-story__img::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60%;
    background: linear-gradient(to bottom, rgba(25, 31, 40, 0), rgba(25, 31, 40, .6)); }
.hm-listing strong { display: block; margin-top: 8px; font-size: 16px; line-height: 19px; }
.hm-listing .hm-t3 { margin-top: 7px; font-size: 13px; line-height: 18.2px; }

.hm-stories { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 20px 0; }
.hm-story { display: block; color: var(--t-text); }
.hm-story__img { height: 96px; }
.hm-play { position: absolute; top: 30px; left: 50%; margin-left: -18px; z-index: 1; }
.hm-story__kind { display: block; margin-top: 8px; font-size: 13px; line-height: 15px; font-weight: 700; color: var(--t-text-3); }
.hm-story strong { display: block; margin-top: 7px; font-size: 14px; line-height: 19.6px; word-break: keep-all;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.hm-requests { list-style: none; margin: 10px 20px 0; padding: 0; }
.hm-requests li { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.hm-requests strong { display: block; font-size: 15px; line-height: 18px; }
.hm-requests .hm-t3 { margin-top: 2px; font-size: 13px; line-height: 15px; white-space: normal; }
.hm-avatar { flex: 0 0 44px; display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 22px; background: #eeebfb;
    color: #2a1799; font-size: 16px; font-weight: 700; }

.hm-brand { flex: 0 0 120px; display: flex; flex-direction: column; align-items: center; height: 130px; padding-top: 14px; border-radius: var(--t-radius);
    background: #f7f8fa; text-align: center; }
.hm-brand__mark { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 28px; background: #fff;
    color: #2a1799; font-size: 18px; font-weight: 700; }
.hm-brand strong { margin-top: 8px; max-width: 104px; font-size: 14px; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-brand .hm-t3 { margin-top: 8px; }

.hm-contents { list-style: none; margin: 10px 20px 0; padding: 0; }
.hm-content { display: flex; align-items: center; gap: 12px; min-height: 81px; padding: 10px 0; border-bottom: 1px solid #f2f4f6; color: var(--t-text); }
.hm-content__img { flex: 0 0 84px; height: 60px; }
.hm-content .hm-story__kind { margin-top: 0; }
.hm-content strong { display: block; margin-top: 2px; font-size: 14px; line-height: 19.6px; }

.hm-tab { position: fixed; left: 50%; bottom: 0; z-index: 10; transform: translateX(-50%); display: grid; grid-template-columns: repeat(5, 1fr);
    width: 100%; max-width: 480px; height: calc(60px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid #f2f4f6; background: #fff; }
.hm-tab a, .hm .hm-tab button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding-top: 9px;
    font-size: 12px; line-height: 14px; font-weight: 500; color: var(--t-text-3); }
.hm-tab .is-on { color: var(--t-brand); }
.hm-toast { position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 20; transform: translateX(-50%);
    margin: 0; padding: 12px 18px; border-radius: var(--t-radius); background: rgba(25, 31, 40, .92); color: #fff; font-size: 14px; white-space: nowrap; }
/* 개발 요청 패널이 열리면(넓은 화면) 본문이 패널 폭 420px 만큼 밀린다(_dev_issue/widget) — 고정된 하단 탭 · 안내 · 검색 덮개도 함께 */
@media (min-width: 521px) {
    .hm-tab, .hm-toast { transition: left .2s ease; }
    html.dvi-open .hm-tab, html.dvi-open .hm-toast { left: calc(50% - 210px); }
    html.dvi-open .hm-tab { width: calc(100% - 420px); }
    html.dvi-open .hm-find.is-open { right: 420px; }
}
.hm button:focus-visible, .hm a:focus-visible { outline: 2px solid var(--t-brand); outline-offset: 2px; }
.hm-notice { margin: 8px 20px 0; background: #eef9f2; color: #117a43; }

/* 09-14 매물 검색 (Figma 17:607 · 17:712 · 17:759) */
.sr { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.sr button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sr a { text-decoration: none; color: inherit; }
.sr-form { position: sticky; top: 0; z-index: 5; background: var(--t-bg); padding-bottom: 8px; }
.sr-top { display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 16px 0 8px; }
.sr-back { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
.sr-box { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; height: 44px; padding: 0 14px 0 16px;
    border: 1px solid transparent; border-radius: 999px; background: #f2f4f6; }
.sr-box:focus-within { border-color: var(--t-brand); background: #fff; }
.sr-box input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 15px; color: var(--t-text); outline: none; }
.sr-box input::placeholder { color: #b0b8c1; }
.sr-box input::-webkit-search-cancel-button { display: none; }
.sr .sr-clear { width: 24px; height: 24px; font-size: 20px; line-height: 1; color: var(--t-text-3); }
.sr .sr-map { height: 36px; padding: 0 10px; border: 1px solid var(--t-line); border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--t-brand); }
.sr-chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px; scrollbar-width: none; }
.sr-chips::-webkit-scrollbar { display: none; }
.sr-chip { position: relative; flex: none; display: inline-flex; }
.sr-chip input[type=checkbox] { position: absolute; opacity: 0; pointer-events: none; }
.sr-chip span, .sr-chip select, .sr .sr-chip > button { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--t-line);
    border-radius: 999px; background: #fff; font: inherit; font-size: 13px; color: var(--t-text); white-space: nowrap; cursor: pointer; }
.sr-chip select { appearance: none; -webkit-appearance: none; field-sizing: content; }
.sr-chip input:checked + span, .sr-chip.is-on select { border-color: var(--t-brand); background: var(--t-brand); color: #fff; }
.sr-chip input:focus-visible + span, .sr-chip select:focus-visible { outline: 2px solid var(--t-brand); outline-offset: 2px; }
.sr-count { margin: 8px 20px 0; font-size: 13px; line-height: 19px; color: var(--t-text-3); }
.sr-list { margin: 0; padding: 0 20px; list-style: none; }
.sr-card { margin-top: 16px; }
.sr-card__img { position: relative; overflow: hidden; aspect-ratio: 348 / 170; border-radius: var(--t-radius); background: #f2f4f6; }
.sr-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sr-card strong { display: block; margin-top: 10px; font-size: 18px; line-height: 24px; }
.sr-card .hm-t2 { margin-top: 2px; font-size: 13px; line-height: 19px; }
.sr-more { margin: 20px 20px 0; font-size: 12px; line-height: 17px; color: var(--t-text-3); text-align: center; }
.sr-head { display: flex; align-items: center; justify-content: space-between; margin: 0 20px; }
.sr-head h2 { margin: 0; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--t-text-3); }
.sr-head button { font: inherit; font-size: 13px; color: var(--t-text-3); background: none; border: 0; padding: 0; cursor: pointer; }
.sr-recent { margin-top: 8px; }
.sr-recent ul { margin: 6px 20px 0; padding: 0; list-style: none; }
.sr-recent li { display: flex; align-items: center; border-bottom: 1px solid var(--t-line); }
.sr-recent li a { flex: 1; color: var(--t-text); text-decoration: none; display: flex; align-items: center; gap: 10px; min-width: 0; height: 48px; font-size: 16px; }
.sr-recent li a::before { content: ''; flex: none; width: 18px; height: 18px; background: url(icons/magnifying-glass.svg) center / contain no-repeat; opacity: .6; }
.sr-recent li a span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sr-recent time { margin-left: 8px; font-size: 12px; color: var(--t-text-3); }
.sr-popular { margin-top: 28px; }
.sr-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 20px 0; }
.sr-tags a { color: var(--t-text); text-decoration: none; height: 32px; padding: 0 12px; border: 1px solid var(--t-line); border-radius: 999px; font-size: 13px; line-height: 30px; }
.sr-empty { margin: 120px 20px 0; padding: 24px 16px 16px; border-radius: 16px; background: #f7f8fa; text-align: center; }
.sr-empty strong { display: block; font-size: 16px; line-height: 24px; }
.sr-empty p { margin: 6px 0 16px; font-size: 13px; line-height: 19px; color: var(--t-text-2); }
.sr-empty a { display: block; height: 48px; border-radius: var(--t-radius); background: #f2f4f6; font-size: 16px; line-height: 48px; font-weight: 700; }
.sr a:focus-visible, .sr button:focus-visible { outline: 2px solid var(--t-brand); outline-offset: 2px; }
.sr .hm-toast { bottom: calc(24px + env(safe-area-inset-bottom)); }

/* 가입 · 승인 신청 · 약관 (09-01B · 09-02 · 09-03 · 09-04 · 10-06B) */
.jn { display: flex; flex-direction: column; min-height: 100dvh; padding: 0 20px calc(28px + env(safe-area-inset-bottom)); }
.jn-head { display: flex; align-items: center; gap: 8px; height: 56px; }
.jn-head h1 { margin: 0; font-size: 18px; line-height: 27px; font-weight: 700; }
.jn-head__back { margin-left: -8px; padding: 0 8px; font-size: 28px; line-height: 1; text-decoration: none; color: var(--t-text); }
.jn-head__step { margin-left: auto; font-size: 13px; color: var(--t-text-3); }
.jn-title { margin: 8px 0 0; font-size: 22px; line-height: 30px; font-weight: 700; letter-spacing: -0.4px; word-break: keep-all; }
.jn-sub { margin: 24px 0 10px; font-size: 13px; line-height: 18px; font-weight: 700; color: var(--t-text-2); }
.jn-sub small { font-weight: 400; color: var(--t-text-3); }
.jn-req { color: #e34948; font-weight: 700; }
.jn-req-note { float: right; font-size: 12px; }
.jn-note { margin: 10px 0 0; font-size: 12px; line-height: 17px; color: var(--t-text-3); }
.jn-info { margin: 20px 0 0; padding: 14px 16px; border-radius: var(--t-radius); background: #f2f4f6; font-size: 13px; line-height: 19px; color: var(--t-text-2); word-break: keep-all; }
.jn-foot { margin-top: auto; padding-top: 28px; }
.jn .lg-field { margin-top: 12px; }
.jn .lg-error { margin: 12px 0 0; }
.jn .lg-primary:disabled { background: #ada3f0; cursor: default; }
.jn-submit, .jn-later { margin-top: 12px; }
.jn > .lg-primary:first-of-type { margin-top: 24px; }

.jn-perm__title { margin: 60px 0 0; font-size: 22px; line-height: 30px; font-weight: 700; }
.jn-perm__lead { margin: 40px 0 0; font-size: 13px; line-height: 20px; color: var(--t-text-2); }
.jn-perm { list-style: none; margin: 24px 0 0; padding: 0; }
.jn-perm li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #f2f4f6; }
.jn-perm__mark { flex: 0 0 40px; display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 20px; background: #eeebfb; color: #2a1799; font-weight: 700; }
.jn-perm strong { display: flex; align-items: center; gap: 6px; font-size: 16px; line-height: 23px; }
.jn-perm em { padding: 1px 6px; border-radius: 8px; background: #f2f4f6; color: var(--t-text-2); font-size: 11px; font-style: normal; font-weight: 500; }
.jn-perm em.is-must { background: #fff4e5; color: #b25e00; }
.jn-perm li > span:last-child > span { display: block; margin-top: 2px; font-size: 13px; line-height: 18px; color: var(--t-text-3); }

.jn-all { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 16px; border: 1px solid var(--t-line); border-radius: var(--t-radius); background: #f7f8fa; cursor: pointer; }
.jn-all strong { font-size: 16px; }
.jn-all small { margin-left: auto; font-size: 12px; color: var(--t-text-3); }
.jn input[type=checkbox], .jn input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jn-box { flex: 0 0 22px; width: 22px; height: 22px; border: 1.5px solid #c9ced4; border-radius: 6px; background: #fff; }
input:checked + .jn-box { border-color: var(--t-brand); background: var(--t-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
input:focus-visible + .jn-box, input:focus-visible + span { outline: 2px solid var(--t-brand); outline-offset: 2px; }
.jn-terms { list-style: none; margin: 16px 0 0; padding: 0; }
.jn-terms li { display: flex; align-items: center; min-height: 48px; }
.jn-terms label { display: flex; align-items: center; gap: 12px; flex: 1; font-size: 14px; cursor: pointer; }
.jn-terms b { color: var(--t-text-3); }
.jn-terms b.is-must { color: #e34948; }
.jn-view { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; color: var(--t-brand); text-decoration: none; }
.jn-terms + .jn-note { margin-top: 24px; }
.jn[data-terms] .lg-primary { margin-top: 10px; }

.jn-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jn-type span { display: block; height: 100%; padding: 10px 12px; border: 1px solid var(--t-line); border-radius: var(--t-radius); background: #f7f8fa; cursor: pointer; }
.jn-type strong { display: block; font-size: 14px; line-height: 20px; }
.jn-type small { display: block; margin-top: 2px; font-size: 11px; line-height: 15px; color: var(--t-text-3); }
.jn-type input:checked + span { border-color: var(--t-brand); background: #fff; box-shadow: 0 0 0 1px var(--t-brand) inset; }
.jn-need { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0 0; font-size: 13px; color: var(--t-text-2); }
.jn-need em { padding: 2px 8px; border-radius: 10px; background: #eef9f2; color: #117a43; font-size: 12px; font-style: normal; white-space: nowrap; }
.jn-need em.is-apply { background: #fff4e5; color: #b25e00; }
.jn-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jn-chip span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--t-line); border-radius: 999px; font-size: 14px; cursor: pointer; }
.jn-chip input:checked + span { border-color: var(--t-brand); background: var(--t-brand); color: #fff; }
.jn-chip input:disabled + span { opacity: .4; cursor: default; }

.jn-kind { display: flex; justify-content: space-between; margin: 8px 0 0; font-size: 13px; color: var(--t-text-3); }
.jn-kind b { margin-left: 4px; color: var(--t-text-2); }
.jn-kind a { color: var(--t-text-3); }
.jn-steps { list-style: none; margin: 20px 0 0; padding: 0; }
.jn-steps li { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 15px; }
.jn-steps small { margin-left: auto; font-size: 12px; color: var(--t-text-3); text-align: right; }
.jn-state { flex: 0 0 74px; height: 26px; border: 1px solid var(--t-line); border-radius: 13px; font-size: 12px; line-height: 24px; text-align: center; color: var(--t-text-2); }
.jn-state::before { content: '● '; font-size: 8px; vertical-align: 2px; color: #b0b8c1; }
.jn-state.is-done { border-color: transparent; background: #eef9f2; color: #117a43; }
.jn-state.is-done::before { color: #117a43; }
.jn-state.is-need { border-color: transparent; background: #fff4e5; color: #b25e00; }
.jn-state.is-need::before { color: #b25e00; }

.ap-head { position: relative; display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; height: 56px; margin: 0 -20px; padding: 0 20px; border-bottom: 1px solid var(--t-line); }
.ap-head h1 { margin: 0; font-size: 17px; text-align: center; }
.ap-head__exit { font-size: 14px; color: var(--t-text-2); text-decoration: none; text-align: right; white-space: nowrap; }
.ap-bar { position: absolute; left: 0; bottom: -1px; height: 2px; background: var(--t-brand); }
.ap-kicker { display: flex; justify-content: space-between; margin: 24px 0 0; font-size: 12px; color: var(--t-text-3); }
.ap-lead { margin: 6px 0 8px; font-size: 14px; color: var(--t-text-2); }
.ap-doc { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 18px; border: 1px dashed #c9ced4; border-radius: var(--t-radius); cursor: pointer; }
.ap-doc input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ap-doc strong { display: block; font-size: 15px; }
.ap-doc small { display: block; margin-top: 2px; font-size: 12px; color: var(--t-text-3); }
.ap-doc.is-done { border-style: solid; border-color: #2bb673; background: #eef9f2; }
.ap-doc.is-done strong { color: #117a43; }
.ap-sum { display: grid; grid-template-columns: 120px 1fr; gap: 10px 12px; margin: 20px 0 0; font-size: 14px; }
.ap-sum dt { color: var(--t-text-3); }
.ap-sum dd { margin: 0; word-break: keep-all; }
.ap-agree { margin-top: 24px; }

.tm-body { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--t-text-2); word-break: keep-all; }

/* 09-05 메뉴 */
.mn { padding: 0 20px 40px; }
.mn-head { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.mn-head h1 { margin: 0; font-size: 20px; }
.hm .mn-set { font-size: 14px; color: var(--t-brand); font-weight: 700; }
.mn-notice { margin: 0 0 12px; background: #eef9f2; color: #117a43; }
.hm .mn-profile { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px; border-radius: 16px; background: #f7f8fa; text-align: left; }
.mn-profile strong { display: flex; align-items: center; gap: 6px; font-size: 17px; }
.mn-profile small { display: block; margin-top: 4px; font-size: 12px; color: var(--t-text-3); }
.mn-profile img { margin-left: auto; }
.mn-type { padding: 1px 8px; border-radius: 10px; background: #eeebfb; color: #2a1799; font-size: 12px; font-style: normal; font-weight: 500; }
.mn-apply { margin-top: 10px; height: 48px; font-size: 15px; }
.mn-sec { margin: 28px 0 10px; font-size: 13px; font-weight: 700; color: var(--t-text-3); }
.mn-tiles { grid-template-columns: repeat(4, 1fr); margin: 0; }
.mn-list { list-style: none; margin: 0; padding: 0; }
.mn-list li > * { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; border-bottom: 1px solid #f2f4f6 !important;
    font-size: 15px; color: var(--t-text); text-align: left; text-decoration: none; }
.mn-list small { font-size: 13px; color: var(--t-text-3); }
.mn-list small::after { content: ' ›'; }
.mn-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 28px; }
.mn-foot form { display: contents; }
.hm .mn-foot button { height: 48px; border: 1px solid var(--t-line); border-radius: var(--t-radius); background: #fff;
    font-size: 14px; font-weight: 500; color: var(--t-text-2); }
.hm .mn-foot button:active { background: #f7f8fa; }

/* 09-12 마이페이지 (Figma 16:170) */
.my { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.my-head { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 20px; }
.my-head h1 { margin: 0; font-size: 18px; line-height: 26px; }
.my-head img { display: block; }
.my .mn-notice { margin: 0 20px 8px; }
.my-profile { display: flex; align-items: center; gap: 14px; padding: 8px 20px; }
.my-avatar { flex: 0 0 52px; display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 26px; background: #f7f8fa;
    color: var(--t-brand); font-size: 18px; font-weight: 700; }
.my-name { display: flex; align-items: center; gap: 8px; }
.my-name strong { font-size: 18px; line-height: 26px; }
.my-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: #eeebfb; color: var(--t-brand);
    font-size: 12px; font-style: normal; font-weight: 500; }
.my-pill.is-warn { align-self: flex-start; background: #fff4e5; color: #d9480f; }
.my-meta { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 12px; line-height: 18px; color: var(--t-text-3); }
.my-dot { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }
.my-dot::before { content: ''; width: 6px; height: 6px; border-radius: 3px; background: currentColor; }
.my-dot.is-ok { color: #1b8a4c; }
.my-dot.is-wait { color: #d9480f; }
.hm .my-link { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--t-brand); }
.my-apply { width: calc(100% - 40px); height: 48px; margin: 8px 20px 0; font-size: 15px; }
.hm .my-todo { display: flex; align-items: center; justify-content: space-between; width: calc(100% - 40px); margin: 8px 20px; padding: 14px 16px;
    border-radius: var(--t-radius); background: #fff4e5; text-align: left; }
.my-todo strong { display: block; font-size: 15px; line-height: 22px; }
.my-todo b { margin-left: 6px; color: #d9480f; }
.my-todo small { display: block; margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--t-text-2); }
.my-sec { padding: 8px 20px; }
.my-sec__head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; font-size: 13px; line-height: 20px; font-weight: 700; color: var(--t-text-3); }
.my-sec__title { display: flex; align-items: center; height: 32px; margin: 0; font-size: 13px; font-weight: 700; color: var(--t-text-3); }
.my-contract { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--t-radius); background: #f7f8fa; }
.my-contract__top { display: flex; align-items: center; justify-content: space-between; margin: 0; }
.my-contract__top strong { font-size: 16px; line-height: 24px; }
.my-contract__top span { font-size: 13px; color: var(--t-text-3); }
.my-contract__top b { color: var(--t-brand); }
.my-contract__sub { margin: 0; font-size: 13px; line-height: 20px; color: var(--t-text-3); }
.my-bar { display: block; height: 6px; border-radius: 3px; background: var(--t-line); overflow: hidden; }
.my-bar span { display: block; height: 100%; border-radius: 3px; background: var(--t-brand); }
.my-list { list-style: none; margin: 0; padding: 0; }
.hm .my-list button { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 52px; font-size: 15px; line-height: 22px; font-weight: 500; text-align: left; }
.my-right { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 400; color: var(--t-text-3); }
.my-right.is-warn { color: #d9480f; font-weight: 500; }
.my-badge { display: inline-flex; align-items: center; height: 18px; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: #ff5a36;
    color: #fff; font-size: 12px; font-style: normal; font-weight: 700; }
.my-logout { padding: 14px 20px; }
.hm .my-logout button { font-size: 14px; font-weight: 500; color: var(--t-text-3); }

/* 지역 고르개 */
.rg-picked { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.rg .rg-on { height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--t-brand); color: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.rg-sido { width: 100%; height: 48px; margin-bottom: 10px; padding: 0 14px; border: 1px solid var(--t-line); border-radius: var(--t-radius);
    background: #fff; font: inherit; font-size: 15px; color: var(--t-text); }
.rg-group { max-height: 220px; overflow-y: auto; }
