/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.15_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.15_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!../../packages/ui-primitives/src/tokens.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * BalancePoint Design Tokens — Notion-style
 * 순백 배경 · 미니멀 크롬 · 타이포그래피 우선 · 인라인 SVG 아이콘
 */

:root {
  /* ─── Neutral palette (Notion 참고) ─── */
  --bp-color-bg: #ffffff;
  --bp-color-bg-subtle: #f7f7f5;
  --bp-color-bg-hover: #efefee;
  --bp-color-bg-active: #e9e9e7;
  --bp-color-border: #e9e9e7;
  --bp-color-border-strong: #d3d3cf;

  --bp-color-text: #37352f;
  --bp-color-text-muted: #787774;
  --bp-color-text-faint: #9b9a97;
  --bp-color-text-inverse: #ffffff;

  /* ─── Semantic: 관점 극성 ─── */
  --bp-color-support: #2f7d57;
  --bp-color-support-bg: #e8f3ed;
  --bp-color-conditional: #c98a17;
  --bp-color-conditional-bg: #fbf1dc;
  --bp-color-neutral: #787774;
  --bp-color-neutral-bg: #f1f1ef;
  --bp-color-oppose: #a8382a;
  --bp-color-oppose-bg: #f7e4e1;

  /* ─── Accent (최소 사용) ─── */
  --bp-color-accent: #2e6fd6;
  --bp-color-accent-hover: #1f5ab5;
  --bp-color-accent-bg: #e6eefb;

  /* ─── Status ─── */
  --bp-color-success: #2f7d57;
  --bp-color-warning: #c98a17;
  --bp-color-danger: #a8382a;

  /* ─── Typography ─── */
  --bp-font-sans: "Pretendard", "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Noto Sans KR", sans-serif;
  --bp-font-mono: "JetBrains Mono", ui-monospace, Menlo, Monaco, Consolas,
    monospace;

  --bp-text-xs: 12px;
  --bp-text-sm: 14px;
  --bp-text-base: 16px;
  --bp-text-lg: 18px;
  --bp-text-xl: 24px;
  --bp-text-2xl: 30px;
  --bp-text-3xl: 40px;

  --bp-leading-tight: 1.25;
  --bp-leading-snug: 1.4;
  --bp-leading-normal: 1.55;
  --bp-leading-relaxed: 1.65;

  --bp-weight-regular: 400;
  --bp-weight-medium: 500;
  --bp-weight-semibold: 600;
  --bp-weight-bold: 700;

  /* ─── Spacing (4px grid) ─── */
  --bp-space-0: 0;
  --bp-space-1: 4px;
  --bp-space-2: 8px;
  --bp-space-3: 12px;
  --bp-space-4: 16px;
  --bp-space-5: 20px;
  --bp-space-6: 24px;
  --bp-space-8: 32px;
  --bp-space-10: 40px;
  --bp-space-12: 48px;
  --bp-space-16: 64px;
  --bp-space-20: 80px;
  --bp-space-24: 96px;

  /* ─── Radius ─── */
  --bp-radius-sm: 3px;
  --bp-radius-md: 6px;
  --bp-radius-lg: 10px;
  --bp-radius-xl: 14px;
  --bp-radius-pill: 9999px;

  /* ─── Shadow (최소 사용 — border 우선) ─── */
  --bp-shadow-none: none;
  --bp-shadow-sm: 0 1px 2px rgba(15, 15, 15, 0.05);
  --bp-shadow-md: 0 2px 6px rgba(15, 15, 15, 0.06);
  --bp-shadow-popover: 0 4px 12px rgba(15, 15, 15, 0.08);

  /* ─── Layout ─── */
  --bp-content-width: 900px;
  --bp-content-width-wide: 1200px;
  --bp-sidebar-width: 260px;

  /* ─── Motion ─── */
  --bp-duration-fast: 120ms;
  --bp-duration-base: 200ms;
  --bp-duration-slow: 300ms;
  --bp-easing-out: cubic-bezier(0.19, 1, 0.22, 1);

  /* ─── Z-index scale ─── */
  --bp-z-dropdown: 10;
  --bp-z-sticky: 20;
  --bp-z-overlay: 30;
  --bp-z-modal: 40;
  --bp-z-popover: 50;
  --bp-z-toast: 60;
}

/* ─── Base reset / typographic defaults ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--bp-color-bg);
  color: var(--bp-color-text);
  font-family: var(--bp-font-sans);
  font-size: var(--bp-text-base);
  line-height: var(--bp-leading-relaxed);
  font-weight: var(--bp-weight-regular);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  line-height: var(--bp-leading-tight);
  font-weight: var(--bp-weight-semibold);
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: var(--bp-color-accent);
  text-decoration: none;
  transition: color var(--bp-duration-fast) var(--bp-easing-out);
}

a:hover {
  color: var(--bp-color-accent-hover);
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--bp-color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── Icon base ─── */
.bp-icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  color: currentColor;
}

/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.15_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.15_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!../../packages/ui-primitives/src/styles.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * BalancePoint UI Primitives — 컴포넌트 스타일
 * tokens.css 를 반드시 먼저 import 할 것.
 */

/* ─── Button ─── */
.bp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bp-space-2);
  border: 1px solid transparent;
  border-radius: var(--bp-radius-md);
  font-weight: var(--bp-weight-medium);
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color var(--bp-duration-fast) var(--bp-easing-out),
    border-color var(--bp-duration-fast) var(--bp-easing-out),
    color var(--bp-duration-fast) var(--bp-easing-out);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.bp-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.bp-button--sm {
  height: 28px;
  padding: 0 var(--bp-space-3);
  font-size: var(--bp-text-sm);
}
.bp-button--md {
  height: 36px;
  padding: 0 var(--bp-space-4);
  font-size: var(--bp-text-sm);
}
.bp-button--lg {
  height: 44px;
  padding: 0 var(--bp-space-5);
  font-size: var(--bp-text-base);
}

.bp-button--full {
  width: 100%;
}

.bp-button__icon {
  display: inline-flex;
  align-items: center;
}

/* primary */
.bp-button--primary {
  background-color: var(--bp-color-text);
  color: var(--bp-color-text-inverse);
  border-color: var(--bp-color-text);
}
.bp-button--primary:hover:not(:disabled) {
  background-color: #23211c;
  border-color: #23211c;
}

/* secondary */
.bp-button--secondary {
  background-color: var(--bp-color-bg);
  color: var(--bp-color-text);
  border-color: var(--bp-color-border-strong);
}
.bp-button--secondary:hover:not(:disabled) {
  background-color: var(--bp-color-bg-hover);
}

/* ghost */
.bp-button--ghost {
  background-color: transparent;
  color: var(--bp-color-text);
  border-color: transparent;
}
.bp-button--ghost:hover:not(:disabled) {
  background-color: var(--bp-color-bg-hover);
}

/* danger */
.bp-button--danger {
  background-color: var(--bp-color-danger);
  color: var(--bp-color-text-inverse);
  border-color: var(--bp-color-danger);
}
.bp-button--danger:hover:not(:disabled) {
  background-color: #8c2d22;
}

/* ─── Card ─── */
.bp-card {
  position: relative;
  background-color: var(--bp-color-bg);
  border: 1px solid var(--bp-color-border);
  border-radius: var(--bp-radius-lg);
  transition: border-color var(--bp-duration-fast) var(--bp-easing-out);
}

.bp-card--pad-none { padding: 0; }
.bp-card--pad-sm   { padding: var(--bp-space-3); }
.bp-card--pad-md   { padding: var(--bp-space-5); }
.bp-card--pad-lg   { padding: var(--bp-space-6); }

.bp-card--interactive {
  cursor: pointer;
}
.bp-card--interactive:hover {
  border-color: var(--bp-color-border-strong);
  background-color: var(--bp-color-bg-subtle);
}

/* polarity accent: 좌측 2px 띠 */
.bp-card--accent-support,
.bp-card--accent-conditional,
.bp-card--accent-neutral,
.bp-card--accent-oppose {
  padding-left: calc(var(--bp-space-5) - 2px);
  border-left-width: 3px;
}
.bp-card--accent-support      { border-left-color: var(--bp-color-support); }
.bp-card--accent-conditional  { border-left-color: var(--bp-color-conditional); }
.bp-card--accent-neutral      { border-left-color: var(--bp-color-neutral); }
.bp-card--accent-oppose       { border-left-color: var(--bp-color-oppose); }

.bp-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bp-space-3);
  margin-bottom: var(--bp-space-3);
}
.bp-card__title {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-space-2);
  font-size: var(--bp-text-lg);
  font-weight: var(--bp-weight-semibold);
  color: var(--bp-color-text);
}
.bp-card__body {
  color: var(--bp-color-text);
}
.bp-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bp-space-2);
  margin-top: var(--bp-space-4);
  padding-top: var(--bp-space-3);
  border-top: 1px solid var(--bp-color-border);
}

/* ─── Badge ─── */
.bp-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-space-1);
  padding: 2px var(--bp-space-2);
  border-radius: var(--bp-radius-pill);
  font-size: var(--bp-text-xs);
  font-weight: var(--bp-weight-medium);
  line-height: 1.4;
  white-space: nowrap;
}
.bp-badge__icon {
  display: inline-flex;
}

.bp-badge--neutral {
  background-color: var(--bp-color-neutral-bg);
  color: var(--bp-color-text-muted);
}
.bp-badge--support {
  background-color: var(--bp-color-support-bg);
  color: var(--bp-color-support);
}
.bp-badge--conditional {
  background-color: var(--bp-color-conditional-bg);
  color: var(--bp-color-conditional);
}
.bp-badge--oppose {
  background-color: var(--bp-color-oppose-bg);
  color: var(--bp-color-oppose);
}
.bp-badge--accent {
  background-color: var(--bp-color-accent-bg);
  color: var(--bp-color-accent);
}

/* ─── PerspectiveCard 확장 ─── */
.bp-perspective__issues-label {
  font-size: var(--bp-text-xs);
  font-weight: var(--bp-weight-medium);
  color: var(--bp-color-text-muted);
  margin-bottom: var(--bp-space-2);
  letter-spacing: 0.02em;
}
.bp-perspective__issues {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--bp-space-2);
}
.bp-perspective__issues li {
  position: relative;
  padding-left: var(--bp-space-4);
  font-size: var(--bp-text-sm);
  line-height: var(--bp-leading-snug);
  color: var(--bp-color-text);
}
.bp-perspective__issues li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.6em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--bp-color-text-faint);
}

.bp-perspective__more {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-space-1);
  border: 0;
  background: transparent;
  color: var(--bp-color-text-muted);
  font-size: var(--bp-text-sm);
  padding: var(--bp-space-1) 0;
  transition: color var(--bp-duration-fast) var(--bp-easing-out);
}
.bp-perspective__more:hover {
  color: var(--bp-color-text);
}

/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.15_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.15_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* ─── Public portal layout ─── */
.bp-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bp-color-bg);
}

.bp-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: var(--bp-z-sticky);
  background-color: var(--bp-color-bg);
  border-bottom: 1px solid var(--bp-color-border);
}
.bp-header__inner {
  max-width: var(--bp-content-width);
  margin: 0 auto;
  padding: var(--bp-space-4) var(--bp-space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bp-space-4);
}
.bp-header__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-space-2);
  font-weight: var(--bp-weight-semibold);
  font-size: var(--bp-text-base);
  color: var(--bp-color-text);
}
.bp-header__nav {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-space-6);
}
.bp-header__link {
  color: var(--bp-color-text-muted);
  font-size: var(--bp-text-sm);
  transition: color var(--bp-duration-fast) var(--bp-easing-out);
}
.bp-header__link:hover {
  color: var(--bp-color-text);
}

.bp-main {
  flex: 1 1;
}

.bp-container {
  max-width: var(--bp-content-width);
  margin: 0 auto;
  padding: 0 var(--bp-space-6);
}

/* ─── Hero ─── */
.bp-hero {
  padding: var(--bp-space-24) 0 var(--bp-space-16);
  text-align: center;
}
.bp-hero__title {
  font-size: var(--bp-text-3xl);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--bp-color-text);
  margin-bottom: var(--bp-space-5);
}
.bp-hero__subtitle {
  font-size: var(--bp-text-lg);
  color: var(--bp-color-text-muted);
  max-width: 640px;
  margin: 0 auto var(--bp-space-10);
  line-height: var(--bp-leading-relaxed);
}
.bp-hero__search {
  max-width: 560px;
  margin: 0 auto var(--bp-space-5);
  display: flex;
  align-items: center;
  gap: var(--bp-space-2);
  border: 1px solid var(--bp-color-border-strong);
  border-radius: var(--bp-radius-lg);
  padding: var(--bp-space-2) var(--bp-space-4);
  background-color: var(--bp-color-bg);
  transition: border-color var(--bp-duration-fast) var(--bp-easing-out);
}
.bp-hero__search:focus-within {
  border-color: var(--bp-color-accent);
}
.bp-hero__search input {
  flex: 1 1;
  border: 0;
  outline: none;
  font-size: var(--bp-text-base);
  color: var(--bp-color-text);
  background: transparent;
  padding: var(--bp-space-2) 0;
}
.bp-hero__search input::placeholder {
  color: var(--bp-color-text-faint);
}
.bp-hero__sub {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--bp-space-4);
  font-size: var(--bp-text-sm);
  color: var(--bp-color-text-muted);
  justify-content: center;
}
.bp-hero__sub span {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-space-1);
}

/* ─── Sections ─── */
.bp-section {
  padding: var(--bp-space-16) 0;
  border-top: 1px solid var(--bp-color-border);
}
.bp-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--bp-space-4);
  margin-bottom: var(--bp-space-8);
}
.bp-section__title {
  font-size: var(--bp-text-xl);
  color: var(--bp-color-text);
}
.bp-section__link {
  font-size: var(--bp-text-sm);
  color: var(--bp-color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--bp-space-1);
}
.bp-section__link:hover {
  color: var(--bp-color-text);
}

/* ─── Grid ─── */
.bp-grid-2 {
  display: grid;
  grid-gap: var(--bp-space-5);
  gap: var(--bp-space-5);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .bp-grid-2 {
    grid-template-columns: 1fr;
  }
  .bp-hero {
    padding: var(--bp-space-16) 0 var(--bp-space-12);
  }
  .bp-hero__title {
    font-size: var(--bp-text-2xl);
  }
}

/* ─── Policy summary card ─── */
.bp-policy-card__meta {
  display: flex;
  align-items: center;
  gap: var(--bp-space-3);
  color: var(--bp-color-text-muted);
  font-size: var(--bp-text-sm);
  margin-top: var(--bp-space-3);
}
.bp-policy-card__meta .sep {
  color: var(--bp-color-text-faint);
}

/* ─── How it works ─── */
.bp-how {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: var(--bp-space-8);
  gap: var(--bp-space-8);
}
.bp-how__item {
  display: flex;
  flex-direction: column;
  gap: var(--bp-space-3);
}
.bp-how__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--bp-radius-md);
  background-color: var(--bp-color-bg-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bp-color-text);
}
.bp-how__title {
  font-size: var(--bp-text-base);
  font-weight: var(--bp-weight-semibold);
  color: var(--bp-color-text);
}
.bp-how__desc {
  font-size: var(--bp-text-sm);
  color: var(--bp-color-text-muted);
  line-height: var(--bp-leading-relaxed);
}

@media (max-width: 720px) {
  .bp-how {
    grid-template-columns: 1fr;
    gap: var(--bp-space-6);
  }
}

/* ─── Footer ─── */
.bp-footer {
  border-top: 1px solid var(--bp-color-border);
  padding: var(--bp-space-8) 0;
  color: var(--bp-color-text-muted);
  font-size: var(--bp-text-sm);
  background-color: var(--bp-color-bg-subtle);
}
.bp-footer__inner {
  max-width: var(--bp-content-width);
  margin: 0 auto;
  padding: 0 var(--bp-space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-space-4);
  align-items: center;
  justify-content: space-between;
}
.bp-footer__links {
  display: inline-flex;
  gap: var(--bp-space-4);
}
.bp-footer__links a {
  color: var(--bp-color-text-muted);
}
.bp-footer__links a:hover {
  color: var(--bp-color-text);
}

/* ─── Small utilities ─── */
.bp-inline {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-space-1);
}

/* ─── Breadcrumb ─── */
.bp-breadcrumb {
  padding: var(--bp-space-6) 0 var(--bp-space-3);
  font-size: var(--bp-text-sm);
  color: var(--bp-color-text-muted);
}
.bp-breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bp-space-2);
}
.bp-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-space-2);
}
.bp-breadcrumb a {
  color: var(--bp-color-text-muted);
}
.bp-breadcrumb a:hover {
  color: var(--bp-color-text);
}
.bp-breadcrumb__sep {
  color: var(--bp-color-text-faint);
}
.bp-breadcrumb li[aria-current="page"],
.bp-breadcrumb li > span:last-child {
  color: var(--bp-color-text);
}

/* ─── Policies index ─── */
.bp-policies__head {
  margin-bottom: var(--bp-space-8);
}
.bp-policies__title {
  font-size: var(--bp-text-2xl);
  color: var(--bp-color-text);
  margin-bottom: var(--bp-space-3);
}
.bp-policies__desc {
  color: var(--bp-color-text-muted);
  font-size: var(--bp-text-base);
  max-width: 640px;
}

/* ─── Policy detail ─── */
.bp-detail {
  padding-bottom: var(--bp-space-24);
}
.bp-detail__hero {
  padding: var(--bp-space-4) 0 var(--bp-space-12);
}
.bp-detail__title {
  font-size: var(--bp-text-3xl);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--bp-space-4);
}
.bp-detail__tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--bp-space-2);
  margin-bottom: var(--bp-space-5);
}
.bp-detail__summary {
  font-size: var(--bp-text-lg);
  color: var(--bp-color-text);
  line-height: var(--bp-leading-relaxed);
  max-width: 780px;
  margin-bottom: var(--bp-space-5);
}
.bp-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bp-space-5);
  color: var(--bp-color-text-muted);
  font-size: var(--bp-text-sm);
}

.bp-detail__section {
  padding: var(--bp-space-8) 0 var(--bp-space-12);
  border-top: 1px solid var(--bp-color-border);
}

.bp-empty {
  padding: var(--bp-space-12) var(--bp-space-6);
  text-align: center;
  background-color: var(--bp-color-bg-subtle);
  border-radius: var(--bp-radius-lg);
  color: var(--bp-color-text-muted);
}
.bp-empty h3 {
  margin: var(--bp-space-3) 0 var(--bp-space-2);
  color: var(--bp-color-text);
  font-size: var(--bp-text-lg);
}
.bp-empty p {
  max-width: 480px;
  margin: 0 auto;
  font-size: var(--bp-text-sm);
}

.bp-detail__cta {
  display: grid;
  grid-gap: var(--bp-space-4);
  gap: var(--bp-space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--bp-space-8);
}
.bp-detail__cta-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  grid-gap: var(--bp-space-5);
  gap: var(--bp-space-5);
  padding: var(--bp-space-5);
  border: 1px solid var(--bp-color-border);
  border-radius: var(--bp-radius-lg);
  background-color: var(--bp-color-bg);
}
.bp-detail__cta-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--bp-radius-md);
  background-color: var(--bp-color-bg-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bp-color-text);
}
.bp-detail__cta-body h3 {
  font-size: var(--bp-text-base);
  font-weight: var(--bp-weight-semibold);
  margin-bottom: var(--bp-space-1);
}
.bp-detail__cta-body p {
  font-size: var(--bp-text-sm);
  color: var(--bp-color-text-muted);
  line-height: var(--bp-leading-snug);
}

@media (max-width: 720px) {
  .bp-detail__cta {
    grid-template-columns: 1fr;
  }
  .bp-detail__cta-card {
    grid-template-columns: auto 1fr;
  }
  .bp-detail__cta-card > :last-child {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}

.bp-detail__notice {
  display: flex;
  align-items: flex-start;
  gap: var(--bp-space-2);
  margin-top: var(--bp-space-8);
  padding: var(--bp-space-4) var(--bp-space-5);
  background-color: var(--bp-color-bg-subtle);
  border-radius: var(--bp-radius-md);
  font-size: var(--bp-text-sm);
  color: var(--bp-color-text-muted);
  line-height: var(--bp-leading-snug);
}
.bp-detail__notice .bp-icon {
  margin-top: 2px;
  color: var(--bp-color-text);
  flex-shrink: 0;
}

/* ─── Empty page (404 등) ─── */
.bp-empty-page {
  padding: var(--bp-space-24) var(--bp-space-6);
  text-align: center;
  color: var(--bp-color-text-muted);
}
.bp-empty-page h1 {
  font-size: var(--bp-text-2xl);
  color: var(--bp-color-text);
  margin: var(--bp-space-4) 0 var(--bp-space-2);
}
.bp-empty-page p {
  font-size: var(--bp-text-base);
  margin-bottom: var(--bp-space-6);
}

/* ─────────────────────────────────────────────────────────
 * Phase 4 — Submission flow (P-04)
 * ───────────────────────────────────────────────────────── */
.bp-submit {
  padding-bottom: var(--bp-space-24);
}

.bp-submission {
  display: flex;
  flex-direction: column;
  gap: var(--bp-space-6);
  margin-top: var(--bp-space-6);
}

.bp-submission__card {
  border: 1px solid var(--bp-color-border);
  border-radius: var(--bp-radius-lg);
  padding: var(--bp-space-8);
  background: var(--bp-color-bg);
}

.bp-submission__heading {
  font-size: var(--bp-text-xl);
  color: var(--bp-color-text);
  margin-bottom: var(--bp-space-4);
}

.bp-submission__lead {
  color: var(--bp-color-text);
  font-size: var(--bp-text-base);
  line-height: var(--bp-leading-relaxed);
  margin-bottom: var(--bp-space-5);
}

.bp-submission__policy {
  padding: var(--bp-space-5);
  background: var(--bp-color-bg-subtle);
  border-radius: var(--bp-radius-md);
  margin-bottom: var(--bp-space-5);
}
.bp-submission__policy h3 {
  font-size: var(--bp-text-lg);
  margin-bottom: var(--bp-space-1);
}
.bp-submission__domain {
  font-size: var(--bp-text-sm);
  color: var(--bp-color-text-muted);
  margin-bottom: var(--bp-space-3);
}

.bp-submission__notice {
  display: flex;
  gap: var(--bp-space-3);
  align-items: flex-start;
  padding: var(--bp-space-3) var(--bp-space-4);
  background: var(--bp-color-bg-subtle);
  border-radius: var(--bp-radius-md);
  color: var(--bp-color-text-muted);
  font-size: var(--bp-text-sm);
  line-height: var(--bp-leading-snug);
  margin-bottom: var(--bp-space-5);
}
.bp-submission__notice .bp-icon {
  flex-shrink: 0;
  color: var(--bp-color-text);
  margin-top: 2px;
}
.bp-submission__notice strong {
  display: block;
  color: var(--bp-color-text);
  margin-bottom: 4px;
}
.bp-submission__notice p {
  margin: 0;
}

.bp-submission__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--bp-space-2);
  margin-top: var(--bp-space-5);
}
.bp-submission__actions--split {
  justify-content: space-between;
}
.bp-submission__actions--center {
  justify-content: center;
  flex-wrap: wrap;
}

/* Step indicator */
.bp-steps {
  display: flex;
  justify-content: space-between;
  gap: var(--bp-space-2);
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
}
.bp-steps::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--bp-color-border);
  z-index: 0;
}
.bp-steps__item {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--bp-space-2);
  position: relative;
  z-index: 1;
}
.bp-steps__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bp-color-bg);
  border: 2px solid var(--bp-color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--bp-text-sm);
  font-weight: var(--bp-weight-semibold);
  color: var(--bp-color-text-muted);
}
.bp-steps__label {
  font-size: var(--bp-text-sm);
  color: var(--bp-color-text-muted);
}
.bp-steps__item--active .bp-steps__dot {
  border-color: var(--bp-color-text);
  color: var(--bp-color-text);
  background: var(--bp-color-bg);
}
.bp-steps__item--active .bp-steps__label {
  color: var(--bp-color-text);
  font-weight: var(--bp-weight-medium);
}
.bp-steps__item--done .bp-steps__dot {
  background: var(--bp-color-text);
  border-color: var(--bp-color-text);
  color: var(--bp-color-text-inverse);
}
.bp-steps__item--done .bp-steps__label {
  color: var(--bp-color-text-muted);
}

/* Verify box */
.bp-verify {
  display: flex;
  flex-direction: column;
  gap: var(--bp-space-3);
  padding: var(--bp-space-4);
  border: 1px solid var(--bp-color-border);
  border-radius: var(--bp-radius-md);
  margin: var(--bp-space-5) 0;
}
.bp-verify__row {
  display: flex;
  gap: var(--bp-space-3);
  align-items: flex-start;
}
.bp-verify__row .bp-icon {
  color: var(--bp-color-text);
  margin-top: 2px;
  flex-shrink: 0;
}
.bp-verify__row strong {
  display: block;
  font-size: var(--bp-text-sm);
  color: var(--bp-color-text);
}
.bp-verify__row small {
  font-size: var(--bp-text-xs);
  color: var(--bp-color-text-muted);
  line-height: var(--bp-leading-snug);
}

/* Submission levers */
.bp-submission__levers {
  display: flex;
  flex-direction: column;
  gap: var(--bp-space-6);
  padding: var(--bp-space-5);
  background: var(--bp-color-bg-subtle);
  border-radius: var(--bp-radius-md);
  margin-bottom: var(--bp-space-5);
}

.bp-public-lever {
  display: flex;
  flex-direction: column;
  gap: var(--bp-space-2);
}
.bp-public-lever__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.bp-public-lever__label {
  font-weight: var(--bp-weight-medium);
  color: var(--bp-color-text);
}
.bp-public-lever__value {
  font-family: var(--bp-font-mono);
  color: var(--bp-color-accent);
  font-weight: var(--bp-weight-semibold);
}
.bp-public-lever__slider {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: var(--bp-color-border);
  border-radius: var(--bp-radius-pill);
  accent-color: var(--bp-color-accent);
  cursor: pointer;
}
.bp-public-lever__meta {
  display: flex;
  justify-content: space-between;
  gap: var(--bp-space-3);
  font-size: var(--bp-text-xs);
  color: var(--bp-color-text-muted);
}
.bp-public-lever__desc {
  flex: 1 1;
  text-align: center;
  color: var(--bp-color-text-faint);
}

/* Free text */
.bp-submission__free {
  display: flex;
  flex-direction: column;
  gap: var(--bp-space-2);
  margin-bottom: var(--bp-space-5);
}
.bp-submission__free-label {
  font-weight: var(--bp-weight-medium);
  font-size: var(--bp-text-sm);
  color: var(--bp-color-text);
}
.bp-submission__free textarea {
  width: 100%;
  font-family: var(--bp-font-sans);
  font-size: var(--bp-text-base);
  color: var(--bp-color-text);
  padding: var(--bp-space-3);
  border: 1px solid var(--bp-color-border-strong);
  border-radius: var(--bp-radius-md);
  resize: vertical;
  background: var(--bp-color-bg);
  line-height: var(--bp-leading-relaxed);
}
.bp-submission__free textarea:focus {
  outline: 2px solid var(--bp-color-accent);
  outline-offset: 1px;
  border-color: var(--bp-color-accent);
}
.bp-submission__char {
  font-size: var(--bp-text-xs);
  color: var(--bp-color-text-muted);
  text-align: right;
  font-family: var(--bp-font-mono);
}
.bp-submission__char--over {
  color: var(--bp-color-danger);
  font-weight: var(--bp-weight-semibold);
}

/* Done screen */
.bp-submission__done {
  text-align: center;
  padding-top: var(--bp-space-12);
  padding-bottom: var(--bp-space-12);
}
.bp-submission__done-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  background: var(--bp-color-support-bg);
  color: var(--bp-color-support);
  border-radius: 50%;
  margin-bottom: var(--bp-space-4);
}

/* ─────────────────────────────────────────────────────────
 * Static articles (About · Privacy)
 * ───────────────────────────────────────────────────────── */
.bp-article {
  padding-bottom: var(--bp-space-24);
}
.bp-article__head {
  padding: var(--bp-space-8) 0 var(--bp-space-5);
  border-bottom: 1px solid var(--bp-color-border);
  margin-bottom: var(--bp-space-8);
}
.bp-article__head h1 {
  font-size: var(--bp-text-3xl);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--bp-space-3);
}
.bp-article__lead {
  font-size: var(--bp-text-lg);
  color: var(--bp-color-text);
  max-width: 720px;
  line-height: var(--bp-leading-relaxed);
}
.bp-article__section {
  margin-bottom: var(--bp-space-10);
  max-width: 760px;
}
.bp-article__section h2 {
  font-size: var(--bp-text-xl);
  margin-bottom: var(--bp-space-3);
  color: var(--bp-color-text);
}
.bp-article__section p {
  color: var(--bp-color-text);
  line-height: var(--bp-leading-relaxed);
  margin-bottom: var(--bp-space-3);
}
.bp-article__bullets {
  margin: var(--bp-space-3) 0 0;
  padding-left: var(--bp-space-5);
  color: var(--bp-color-text);
  line-height: var(--bp-leading-relaxed);
}
.bp-article__bullets li {
  margin-bottom: var(--bp-space-2);
}
.bp-article__dl {
  margin: 0;
}
.bp-article__dl > div {
  padding: var(--bp-space-3) 0;
  border-bottom: 1px solid var(--bp-color-border);
}
.bp-article__dl > div:last-child {
  border-bottom: 0;
}
.bp-article__dl dt {
  font-weight: var(--bp-weight-semibold);
  font-size: var(--bp-text-base);
  color: var(--bp-color-text);
  margin-bottom: var(--bp-space-1);
}
.bp-article__dl dd {
  margin: 0;
  color: var(--bp-color-text-muted);
  line-height: var(--bp-leading-relaxed);
}
.bp-privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--bp-space-3);
  font-size: var(--bp-text-sm);
}
.bp-privacy-table th,
.bp-privacy-table td {
  text-align: left;
  padding: var(--bp-space-3);
  border-bottom: 1px solid var(--bp-color-border);
}
.bp-privacy-table thead th {
  background: var(--bp-color-bg-subtle);
  color: var(--bp-color-text-muted);
  font-weight: var(--bp-weight-medium);
  font-size: var(--bp-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.bp-article__contact {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-space-1);
  color: var(--bp-color-text-muted);
  font-size: var(--bp-text-sm);
  margin-top: var(--bp-space-2);
}
.bp-article__foot {
  margin-top: var(--bp-space-12);
  padding-top: var(--bp-space-4);
  border-top: 1px solid var(--bp-color-border);
  font-size: var(--bp-text-xs);
  color: var(--bp-color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--bp-space-1);
}

/* About — how it works grid */
.bp-about-how {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: var(--bp-space-5);
  gap: var(--bp-space-5);
  margin-top: var(--bp-space-4);
}
.bp-about-how > div {
  padding: var(--bp-space-5);
  border: 1px solid var(--bp-color-border);
  border-radius: var(--bp-radius-md);
  background: var(--bp-color-bg);
}
.bp-about-how h3 {
  font-size: var(--bp-text-base);
  margin: var(--bp-space-3) 0 var(--bp-space-2);
}
.bp-about-how p {
  font-size: var(--bp-text-sm);
  color: var(--bp-color-text-muted);
  line-height: var(--bp-leading-relaxed);
  margin: 0;
}

@media (max-width: 720px) {
  .bp-about-how {
    grid-template-columns: 1fr;
  }
}

/* ─── 외부 링크 + 주석 박스 (about) ────────────────────────── */
.bp-article__extlink {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--bp-color-accent);
  text-decoration: none;
}
.bp-article__extlink:hover {
  text-decoration: underline;
}
.bp-article__note {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-space-2);
  margin-top: var(--bp-space-2);
  padding: var(--bp-space-2) var(--bp-space-3);
  background: var(--bp-color-bg-subtle);
  border-radius: 6px;
  color: var(--bp-color-text-muted);
  font-size: var(--bp-text-xs);
}

/* ─── 헤더 사용자 표시 ───────────────────────────────────── */
.bp-header__user {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-space-2);
}
.bp-header__alias {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-space-1);
  padding: 4px var(--bp-space-2);
  background: var(--bp-color-bg-subtle);
  border-radius: 999px;
  color: var(--bp-color-text);
  font-size: var(--bp-text-xs);
  font-weight: var(--bp-weight-medium);
}

/* ─── 본인인증 페이지 ───────────────────────────────────── */
.bp-auth-layout {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--bp-space-5);
  background: var(--bp-color-bg-subtle);
}
.bp-auth-card {
  width: 100%;
  max-width: 480px;
  padding: var(--bp-space-6);
  background: var(--bp-color-bg);
  border: 1px solid var(--bp-color-border);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.bp-auth-card__back {
  margin-bottom: var(--bp-space-3);
}
.bp-auth-card__back a {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--bp-color-text-muted);
  font-size: var(--bp-text-sm);
  text-decoration: none;
}
.bp-auth-card__back a:hover {
  color: var(--bp-color-text);
}
.bp-auth-card__head {
  text-align: center;
  margin-bottom: var(--bp-space-5);
}
.bp-auth-card__head h1 {
  font-size: var(--bp-text-xl);
  margin: var(--bp-space-2) 0;
}
.bp-auth-card__head p {
  margin: 0;
  color: var(--bp-color-text-muted);
  font-size: var(--bp-text-sm);
  line-height: var(--bp-leading-relaxed);
}
.bp-auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--bp-space-4);
}
.bp-auth-providers {
  display: flex;
  flex-direction: column;
  gap: var(--bp-space-2);
  border: 0;
  padding: 0;
  margin: 0;
}
.bp-auth-providers legend {
  font-size: var(--bp-text-sm);
  font-weight: var(--bp-weight-medium);
  margin-bottom: var(--bp-space-2);
}
.bp-auth-provider {
  display: flex;
  align-items: center;
  gap: var(--bp-space-3);
  padding: var(--bp-space-3);
  border: 1px solid var(--bp-color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 120ms, background 120ms;
}
.bp-auth-provider:hover {
  background: var(--bp-color-bg-hover);
}
.bp-auth-provider--selected {
  border-color: var(--bp-color-accent);
  background: var(--bp-color-accent-bg);
}
.bp-auth-provider input[type='radio'] {
  accent-color: var(--bp-color-accent);
}
.bp-auth-provider__label {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bp-auth-provider__label strong {
  font-size: var(--bp-text-sm);
  font-weight: var(--bp-weight-semibold);
}
.bp-auth-provider__label small {
  color: var(--bp-color-text-muted);
  font-size: var(--bp-text-xs);
}
.bp-auth-field {
  display: flex;
  flex-direction: column;
  gap: var(--bp-space-2);
}
.bp-auth-field label {
  font-size: var(--bp-text-sm);
  font-weight: var(--bp-weight-medium);
}
.bp-auth-field label small {
  color: var(--bp-color-text-muted);
  font-weight: var(--bp-weight-regular);
}
.bp-auth-field input {
  font-family: inherit;
  font-size: var(--bp-text-sm);
  padding: var(--bp-space-2) var(--bp-space-3);
  border: 1px solid var(--bp-color-border-strong);
  border-radius: 6px;
  background: var(--bp-color-bg);
  color: var(--bp-color-text);
  transition: border-color 120ms, box-shadow 120ms;
}
.bp-auth-field input:focus {
  outline: none;
  border-color: var(--bp-color-accent);
  box-shadow: 0 0 0 3px var(--bp-color-accent-bg);
}
.bp-auth-note {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-space-2);
  margin: 0;
  padding: var(--bp-space-2);
  background: var(--bp-color-bg-subtle);
  border-radius: 4px;
  color: var(--bp-color-text-muted);
  font-size: var(--bp-text-xs);
}
.bp-auth-actions {
  display: flex;
  align-items: center;
  gap: var(--bp-space-3);
  margin-top: var(--bp-space-2);
}
.bp-form-required {
  color: var(--bp-color-danger);
}
.bp-form-cancel {
  color: var(--bp-color-text-muted);
  font-size: var(--bp-text-sm);
  text-decoration: none;
}
.bp-form-cancel:hover {
  color: var(--bp-color-text);
}
.bp-form-error {
  margin: 0;
  color: var(--bp-color-danger);
  font-size: var(--bp-text-xs);
}
.bp-form-error--general {
  display: inline-flex;
  align-items: center;
  gap: var(--bp-space-2);
  padding: var(--bp-space-2) var(--bp-space-3);
  background: var(--bp-color-oppose-bg);
  border-radius: 6px;
  font-size: var(--bp-text-sm);
}
.bp-auth-card__foot {
  margin-top: var(--bp-space-5);
  padding-top: var(--bp-space-3);
  border-top: 1px solid var(--bp-color-border);
  text-align: center;
}
.bp-auth-card__foot small {
  color: var(--bp-color-text-muted);
  font-size: var(--bp-text-xs);
}
.bp-auth-card__foot a {
  color: var(--bp-color-accent);
  text-decoration: none;
}

