
      button, [role="button"], select, summary, input:not([type="checkbox"], [type="radio"]) { min-height: 2.25rem; }

      :root {
        --navy: #012865;
        --navy-deep: #011c47;
        --coral: #F86343;
        --coral-dark: #d94a2c;
        --cream: #FEF7EE;
        --paper: #fffdf9;
        --ink: #16233c;
        --ink-soft: #47536b;
        --line: #e8dccb;
        --card: #ffffff;
        --chip: #fdeee6;
        --good: #1c7a4d;
        --shadow: 0 10px 30px rgba(1, 40, 101, .10);
        --radius: 18px;
      }
      @media (prefers-color-scheme: dark) {
        :root {
          --navy: #7fa8e8;
          --navy-deep: #0a1f42;
          --coral: #ff8266;
          --coral-dark: #ff8266;
          --cream: #0b1526;
          --paper: #101d36;
          --ink: #eef2fa;
          --ink-soft: #a9b6cf;
          --line: #26385c;
          --card: #12233f;
          --chip: #2a2030;
          --good: #5ec98f;
          --shadow: 0 10px 30px rgba(0,0,0,.45);
        }
      }

      * { box-sizing: border-box; }
      html { scroll-behavior: smooth; }
      @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
      body {
        margin: 0;
        background: var(--cream);
        color: var(--ink);
        font-family: -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
        line-height: 1.65;
        -webkit-font-smoothing: antialiased;
      }
      .wrap { max-width: 880px; margin: 0 auto; padding: 0 20px 72px; }

      /* ---------- Intro ---------- */
      .intro { padding: 44px 0 8px; }
      .brandline { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
      .brandline .pin { flex: none; }
      .brandline .bname { font-weight: 900; font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.2; }
      .brandline .bname .wm-local { color: var(--navy); }
      .brandline .bname .wm-mate { color: var(--coral); }
      .brandline .btag { font-size: .82rem; color: var(--ink-soft); }
      h1 {
        font-family: "Noto Serif KR", serif;
        font-weight: 900;
        font-size: clamp(1.9rem, 6vw, 2.9rem);
        line-height: 1.25;
        letter-spacing: -.015em;
        word-break: keep-all;
        margin: 0 0 14px;
        color: var(--ink);
      }
      h1 em { font-style: normal; color: var(--coral-dark); }
      .lede { font-size: 1.05rem; color: var(--ink-soft); margin: 0 0 26px; max-width: 34em; }
      .lede strong { color: var(--ink); }

      /* ---------- Journey nav ---------- */
      .journey {
        display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
        margin: 0 0 40px;
      }
      .jstep {
        display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
        padding: 12px 14px; border-radius: 14px; text-decoration: none;
        background: var(--card); border: 1.5px solid var(--line); color: var(--ink);
        min-height: 44px; transition: border-color .15s ease;
      }
      .jstep:hover { border-color: var(--coral); }
      .jstep .n { font-size: .72rem; font-weight: 700; color: var(--coral-dark); letter-spacing: .04em; }
      .jstep .t { font-weight: 700; font-size: .92rem; line-height: 1.35; }
      .jstep.done { border-color: var(--good); }
      .jstep.done .n { color: var(--good); }
      @media (max-width: 560px) {
        .journey { grid-template-columns: 1fr 1fr; }
      }

      /* ---------- Sections ---------- */
      section { margin-bottom: 56px; scroll-margin-top: 20px; }
      .sec-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
      .sec-num {
        font-family: "Noto Serif KR", serif; font-weight: 900; font-size: 1.5rem; color: var(--coral);
        line-height: 1;
      }
      h2 { font-size: 1.45rem; font-weight: 900; letter-spacing: -.01em; margin: 0; }
      .sec-sub { color: var(--ink-soft); margin: 4px 0 20px; font-size: .98rem; }

      .card {
        background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
        box-shadow: var(--shadow); padding: 26px;
      }
      @media (max-width: 560px) { .card { padding: 20px 18px; } }

      /* ---------- Apply (Kakao open chat) ---------- */
      .apply-title { margin: 0 0 6px; font-size: 1.08rem; font-weight: 900; }
      .send-list { list-style: none; margin: 0 0 22px; padding: 0; }
      .send-list li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
      .send-list li:first-child { border-top: none; padding-top: 4px; }
      .send-list .s-title { font-weight: 900; margin-bottom: 1px; }
      .send-list p { margin: 0; color: var(--ink-soft); font-size: .94rem; }
      .btn-big { width: 100%; justify-content: center; font-size: 1.02rem; padding: 14px 20px; }
      .apply-note { margin: 14px 0 0; font-size: .9rem; color: var(--ink-soft); }
      .apply-note strong { color: var(--ink); }
      .btn {
        font: inherit; font-weight: 700; cursor: pointer; border-radius: 12px;
        padding: 10px 20px; border: 1.5px solid transparent; min-height: 44px;
        display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
      }
      .btn-coral { background: var(--coral); color: #fff; }
      .btn-coral:hover { background: var(--coral-dark); }
      .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
      .btn-ghost:hover { border-color: var(--coral); }
      .btn-navy { background: #012865; color: #fff; }
      @media (prefers-color-scheme: dark) { .btn-navy { background: #1d4e9e; } }
      .code-note {
        margin-top: 18px; background: var(--card); border: 1px solid var(--line);
        border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 26px;
        display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between;
      }
      @media (max-width: 560px) { .code-note { padding: 18px; } }
      .code-note .cn-txt { flex: 1; min-width: 240px; }
      .code-note .cn-title { font-weight: 900; margin-bottom: 2px; }
      .code-note p { margin: 0; color: var(--ink-soft); font-size: .93rem; }

      /* ---------- Diagnosis sheet ---------- */
      .sheet {
        background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius);
        box-shadow: var(--shadow); overflow: hidden;
      }
      .sheet-top {
        background: #012865; color: #fff; padding: 22px 26px;
        display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
      }
      .sheet-top .st-name { font-weight: 900; font-size: 1.25rem; line-height: 1.3; }
      .sheet-top .st-addr { font-size: .88rem; opacity: .85; }
      .sheet-top .st-meta { text-align: right; font-size: .86rem; }
      .sheet-top .st-meta .code {
        display: inline-block; margin-top: 4px; padding: 3px 12px; border-radius: 999px;
        background: var(--coral); font-weight: 900; letter-spacing: .06em; font-size: .95rem;
      }
      @media (max-width: 560px) { .sheet-top .st-meta { text-align: left; } }
      .sheet-body { padding: 26px; }
      @media (max-width: 560px) { .sheet-body { padding: 20px 18px; } }

      .score-row { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; margin-bottom: 26px; }
      .score-ring { position: relative; width: 132px; height: 132px; flex: none; }
      .score-ring svg { transform: rotate(-90deg); }
      .score-ring .score-txt {
        position: absolute; inset: 0; display: flex; flex-direction: column;
        align-items: center; justify-content: center; line-height: 1.1;
      }
      .score-ring .score-txt .big { font-family: "Noto Serif KR", serif; font-size: 2.1rem; font-weight: 900; color: var(--ink); }
      .score-ring .score-txt .small { font-size: .78rem; color: var(--ink-soft); font-weight: 700; }
      .score-note { flex: 1; min-width: 220px; }
      .score-note h3 { margin: 0 0 6px; font-size: 1.08rem; font-weight: 900; }
      .score-note p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

      .problems { list-style: none; margin: 0 0 28px; padding: 0; counter-reset: prob; }
      .problems li {
        display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line);
      }
      .problems li:last-child { border-bottom: 1px solid var(--line); }
      .pnum {
        counter-increment: prob; flex: none; width: 30px; height: 30px; border-radius: 50%;
        background: var(--coral); color: #fff; font-weight: 900; font-size: .9rem;
        display: flex; align-items: center; justify-content: center; margin-top: 2px;
      }
      .problems .p-title { font-weight: 900; margin-bottom: 2px; }
      .problems .p-title .val { color: var(--coral-dark); }
      .problems p { margin: 0; color: var(--ink-soft); font-size: .94rem; }

      .vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
      @media (max-width: 640px) { .vs { grid-template-columns: 1fr; } }
      .vs-box { border: 1.5px solid var(--line); border-radius: 14px; padding: 18px; background: var(--card); }
      .vs-box.lm { border-color: var(--coral); }
      .vs-box h4 { margin: 0 0 10px; font-size: .98rem; font-weight: 900; }
      .vs-box ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: .92rem; }
      .vs-box ul li { margin-bottom: 5px; }
      .vs-box ul li::marker { color: var(--coral); }
      .sheet-foot {
        padding: 14px 26px; font-size: .83rem; color: var(--ink-soft);
        border-top: 1px dashed var(--line); background: var(--cream);
      }
      @media (prefers-color-scheme: dark) { .sheet-foot { background: var(--paper); } }

      /* ---------- Pricing ---------- */
      .ptable-wrap { overflow: visible; }
      table.price { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
      table.price th, table.price td { padding: 16px 18px; text-align: left; vertical-align: top; }
      table.price thead th { background: #012865; color: #fff; font-size: .92rem; }
      table.price thead th .per { display: block; font-weight: 400; font-size: .78rem; opacity: .8; }
      table.price tbody th { font-weight: 900; font-size: 1.02rem; }
      table.price .plan-feat { white-space: normal; }
      table.price tbody td { font-variant-numeric: tabular-nums; }
      table.price tbody tr + tr th, table.price tbody tr + tr td { border-top: 1px solid var(--line); }
      table.price .amt { font-weight: 900; font-size: 1.12rem; color: var(--ink); }
      table.price .plan-feat { display: block; font-size: .82rem; color: var(--ink-soft); margin-top: 4px; line-height: 1.5; }
      .plan-badge {
        display: inline-block; font-size: .72rem; font-weight: 900; padding: 2px 9px; border-radius: 999px;
        background: var(--coral); color: #fff; margin-left: 6px; vertical-align: 2px;
      }
      @media (max-width: 640px) {
        table.price, table.price tbody, table.price tr, table.price td, table.price th { display: block; width: 100%; }
        table.price thead { display: none; }
        table.price tbody tr { padding: 16px 18px; }
        table.price tbody tr + tr { border-top: 2px solid var(--line); }
        table.price tbody th, table.price tbody td { padding: 3px 0; border: none !important; }
        table.price tbody td::before {
          content: attr(data-term); display: inline-block; min-width: 74px;
          font-size: .8rem; font-weight: 700; color: var(--ink-soft);
        }
      }
      .price-notes { margin: 16px 2px 0; padding-left: 18px; color: var(--ink-soft); font-size: .92rem; }
      .price-notes li { margin-bottom: 4px; }
      .price-notes li::marker { color: var(--coral); }
      .price-notes strong { color: var(--ink); }
      .price-gate {
        background: var(--card); border: 1.5px dashed var(--line); border-radius: var(--radius);
        padding: 28px 26px; text-align: center;
      }
      .price-gate p { margin: 0 0 16px; color: var(--ink-soft); font-size: .95rem; }
      .price-gate p strong { color: var(--ink); }
      .price-panel { display: none; margin-top: 22px; text-align: left; }
      .price-panel.open { display: block; }
      .price-toggle[aria-expanded="true"] .toggle-arrow { transform: rotate(180deg); }
      .toggle-arrow { display: inline-block; transition: transform .18s ease; }
      @media (prefers-reduced-motion: reduce) { .toggle-arrow { transition: none; } }

      /* ---------- Value stack (before price) ---------- */
      .value-stack { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; margin-bottom: 20px; }
      @media (max-width: 560px) { .value-stack { padding: 20px 18px; } }
      .value-stack h3 { margin: 0 0 4px; font-size: 1.08rem; font-weight: 900; }
      .value-stack .vs-lede { margin: 0 0 18px; color: var(--ink-soft); font-size: .94rem; }
      .value-list { list-style: none; margin: 0; padding: 0; }
      .value-list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
      .value-list li:first-child { border-top: none; padding-top: 2px; }
      .value-list .v-check { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--good); color: #fff; font-weight: 900; font-size: .82rem; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
      .value-list .v-title { font-weight: 900; margin-bottom: 1px; }
      .value-list p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
      .value-note { margin: 16px 0 0; padding: 13px 16px; border-radius: 10px; background: var(--chip); font-size: .92rem; }
      .value-note strong { color: var(--coral-dark); }
      .price-cta { margin-top: 20px; text-align: center; }
      .price-cta p { margin: 0 0 12px; color: var(--ink-soft); font-size: .94rem; }

      /* ---------- Kakao ---------- */
      .kakao-card { background: #FEE500; color: #191600; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
      @media (prefers-color-scheme: dark) { .kakao-card { background: #e8cd00; } }
      .kakao-card h3 { margin: 0 0 6px; font-size: 1.15rem; font-weight: 900; }
      .kakao-card p { margin: 0 0 16px; font-size: .95rem; }
      .channel-id {
        display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #191600;
        border-radius: 12px; padding: 10px 16px; font-weight: 900; font-size: 1.1rem; letter-spacing: .01em;
      }
      .copy-btn {
        font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer;
        border: none; border-radius: 8px; padding: 6px 12px; min-height: 36px;
        background: #191600; color: #FEE500;
      }
      .copy-msg { display: block; font-size: .83rem; font-weight: 700; margin-top: 10px; min-height: 1.2em; }
      .rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
      @media (max-width: 640px) { .rules { grid-template-columns: 1fr; } }
      .rule { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
      .rule .r-t { font-weight: 900; margin-bottom: 3px; font-size: .95rem; }
      .rule p { margin: 0; font-size: .88rem; color: var(--ink-soft); }

      .btn-kakao { background: #191600; color: #FEE500; margin-top: 16px; }
      .btn-kakao:hover { background: #33300f; }

      footer { text-align: center; color: var(--ink-soft); font-size: .83rem; padding-top: 8px; }
    
/* ---------- LocalMate 통합 사이트 추가 스타일 (2026-11-30) ---------- */
.topbar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 14px 0 0; }
.top-login { font-size: .86rem; font-weight: 700; color: var(--ink-soft); text-decoration: none; padding: 8px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.top-login:hover { color: var(--coral-dark); }
.top-login strong { color: var(--ink); }
.admin-bar { background: #012865; color: #fff; border-radius: 0 0 14px 14px; padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.admin-bar .ab-title { font-weight: 900; }
.admin-bar a { color: #ffd9ce; font-size: .88rem; }
.admin-bar .ab-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.banner { border-radius: 12px; padding: 14px 18px; margin: 0 0 20px; font-size: .93rem; background: var(--chip); border: 1px solid var(--line); }
.banner.warn { background: #fdf3e7; }
.banner .b-title { font-weight: 900; margin-bottom: 2px; }
.notice { background: var(--chip); border-radius: 12px; padding: 14px 18px; font-size: .93rem; color: var(--ink-soft); margin: 0 0 18px; }
.notice strong { color: var(--ink); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; font: inherit; font-size: 1rem; background: var(--card); color: var(--ink); overflow-wrap: anywhere; }
.field textarea { min-height: 88px; resize: vertical; }
.field .hint { font-size: .86rem; color: var(--ink-soft); margin-top: 4px; }
.btn-block { width: 100%; justify-content: center; }
.btn-navy { background: #012865; color: #fff; }
.btn-kakao-dark { background: #191600; color: #FEE500; }
.login-card { max-width: 520px; margin: 40px auto 0; text-align: center; }
.login-card .logo-row { display: flex; justify-content: center; margin-bottom: 18px; }
.code-big { display: inline-block; padding: 8px 22px; border-radius: 999px; background: var(--coral); color: #fff; font-weight: 900; font-size: 1.5rem; letter-spacing: .06em; }
.badge { display: inline-block; font-size: .78rem; font-weight: 900; padding: 3px 10px; border-radius: 999px; }
.badge.received { background: #e3eafb; color: #012865; }
.badge.diagnosing { background: var(--chip); color: var(--coral-dark); }
.badge.issued { background: #dff2e6; color: var(--good); }
.badge.pending_claim { background: #f3e8d8; color: #7a5a1f; }
.badge.lead { background: #e3eafb; color: #012865; }
.badge.active { background: #dff2e6; color: var(--good); }
.badge.payment_failed { background: #fde3de; color: #b3261e; }
.badge.sample { background: var(--coral); color: #fff; }
.gauge { margin: 10px 0 4px; }
.gauge .g-track { height: 12px; border-radius: 999px; background: var(--line); overflow: hidden; }
.gauge .g-fill { height: 100%; background: var(--coral); border-radius: 999px; }
.gauge .g-num { font-weight: 900; font-variant-numeric: tabular-nums; margin-top: 6px; }
.kv { list-style: none; margin: 0; padding: 0; }
.kv li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.kv li:first-child { border-top: none; }
.kv .k { color: var(--ink-soft); }
.kv .v { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.list-stack { display: flex; flex-direction: column; gap: 12px; }
.row-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.row-card .rc-title { font-weight: 900; overflow-wrap: anywhere; }
.row-card .rc-sub { color: var(--ink-soft); font-size: .9rem; overflow-wrap: anywhere; }
.row-card .rc-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.plan-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 16px; }
.plan-card h3 { margin: 0 0 2px; font-size: 1.15rem; font-weight: 900; }
.plan-card .pc-desc { color: var(--ink-soft); font-size: .93rem; margin: 0 0 12px; }
.plan-card ul { margin: 0 0 14px; padding-left: 18px; color: var(--ink-soft); font-size: .92rem; }
.term-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.term-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; min-height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; text-align: left; }
.term-btn[aria-pressed="true"] { border-color: var(--coral); background: var(--chip); }
.term-btn .amt { font-variant-numeric: tabular-nums; }
.small-btn { font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer; border-radius: 10px; padding: 8px 14px; min-height: 36px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); }
.small-btn:hover { border-color: var(--coral); }
.stat-cards { display: flex; flex-direction: column; gap: 12px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.stat-card .sc-num { font-size: 1.6rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.stat-card .sc-label { color: var(--ink-soft); font-size: .9rem; }
.admin-nav { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.admin-nav a { display: block; width: 100%; text-align: center; }
.footer-op { margin-top: 18px; font-size: .78rem; }
.footer-op a { color: var(--ink-soft); text-decoration: none; }
.good-list { list-style: none; margin: 0 0 24px; padding: 0; }
.good-list li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.good-list li:first-child { border-top: none; }
.good-list .g-check { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--good); color: #fff; font-weight: 900; font-size: .82rem; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.good-list p { margin: 0; color: var(--ink-soft); font-size: .94rem; }
.good-list .g-title { font-weight: 900; color: var(--ink); }
.sheet-meta-line { font-size: .86rem; opacity: .85; }
.err { color: #b3261e; font-weight: 700; }
.ok-msg { color: var(--good); font-weight: 700; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.hero-extra { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
