/* ═══════════════════════════════════════════════════════════════════════
   공개 화면 · 내 메뉴 개편(2026-09-27) — body.site-shell 아래에만 걸립니다.
   참고: 토스 디자인의 밝고 여백 많은 느낌. 브랜드(나비 인디고 · 로고 · 메뉴 · 주소 · 문구)는 그대로 두고
   "보이는 언어" 만 바꿉니다(리디자인 - 유지).
     · 한 테마: 밝은 페이지 한가운데 검은 띠를 두지 않습니다(홈 · ESG · 다운로드 히어로 · 사전가입 칸).
     · 한 강조색: 채운 단추 · 현재 탭 · 쪽 번호는 모두 나비 인디고(흰 글자 대비는 눌림 색 primary-pressed).
     · 선보다 면: 테두리 대신 옅은 회색 면(grey-50 · 100), 모서리는 카드 20px · 단추 14px · 탭 알약.
     · 넉넉한 여백: 구역 사이 96px(폰 64px), 큰 제목은 굵고 촘촘하게(-0.03em).
   색 · 간격 · 모서리는 tokens.css 변수만 씁니다(spec/lint/design_tokens_spec.rb).
   움직임은 누름 · 올림 정도만 두고, "움직임 줄이기" 설정이면 tokens.css 가 모두 멈춥니다.
   ═══════════════════════════════════════════════════════════════════════ */

.site-shell {
  background: var(--color-background);
  color: var(--color-grey-900);
  letter-spacing: -0.01em;
}

.site-shell main h1,
.site-shell main h2,
.site-shell main h3 {
  color: var(--color-grey-900);
  letter-spacing: -0.03em;
}

.site-shell main h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: var(--font-weight-bold);
}

/* ── 머리말: 흰 반투명 + 흐림, 옅은 선 한 줄(홈에서도 밝게) ─────────── */
.site-shell .site-header,
.site-shell .site-header:has(~ main.home-page) {
  height: 68px;
  border-bottom: 1px solid var(--color-grey-100);
  background: color-mix(in srgb, var(--color-background) 88%, transparent);
  box-shadow: none;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}

.site-shell .site-header:has(~ main.home-page) .site-header__logo,
.site-shell .site-header:has(~ main.home-page) .site-header__nav a,
.site-shell .site-header:has(~ main.home-page) .site-header__login,
.site-shell .site-header:has(~ main.home-page) .site-header__my-menu,
.site-shell .site-header:has(~ main.home-page) .site-header__toggle {
  color: var(--color-grey-900);
}

.site-shell .site-header__nav a {
  color: var(--color-grey-700);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-card);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-shell .site-header:has(~ main.home-page) .site-header__nav a {
  color: var(--color-grey-700);
}

.site-shell .site-header__nav a:hover {
  background: var(--color-grey-100);
  color: var(--color-grey-900);
}

.site-shell .site-header__nav a[aria-current="page"],
.site-shell .site-header:has(~ main.home-page) .site-header__nav a[aria-current="page"] {
  background: var(--color-grey-100);
  color: var(--color-grey-900);
  font-weight: var(--font-weight-bold);
}

.site-shell .site-header__picks,
.site-shell .site-header:has(~ main.home-page) .site-header__picks {
  background: var(--color-grey-100);
  color: var(--color-grey-700);
  border-radius: var(--radius-card);
}

.site-shell .site-header__signup {
  border-radius: var(--radius-card);
  background: var(--color-primary-pressed);
  color: var(--color-background);
}

/* ── 단추 공통: 채운 단추는 나비 인디고, 두 번째 단추는 회색 면 ─────────── */
.site-shell .auth-form__submit,
.site-shell .points-pay__submit {
  border-radius: 14px;
  transition: transform 0.12s ease, background-color 0.15s ease;
}

.site-shell .auth-form__submit:active,
.site-shell .points-pay__submit:active {
  transform: scale(0.98);
}

/* 업무 계정의 업무 대시보드 바로가기(기업 · 검수 · 통역) — 옅은 초록 알약 */
.site-shell .site-header__work-home {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-card);
  background: var(--color-indigo-50);
  color: var(--color-indigo-700);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  white-space: nowrap;
}

.site-shell .site-header__work-home:hover {
  background: var(--color-indigo-100);
}

/* ── 쪽 번호 · 탭 · 검색: 검정 채움을 걷어 내고 한 강조색으로 ─────────── */
.site-shell .pagination__page.is-current {
  background: var(--color-primary-pressed);
  color: var(--color-background);
}

.site-shell .pagination__prev,
.site-shell .pagination__next {
  border-color: var(--color-grey-200);
  border-radius: var(--radius-card);
}

.site-shell .explore-search__submit {
  background: var(--color-primary-pressed);
  color: var(--color-background);
  border-radius: 14px;
}

.site-shell .explore-tabs {
  background: var(--color-grey-100);
  border-radius: var(--radius-pill);
}

.site-shell .explore-tabs__tab {
  border-radius: var(--radius-pill);
  color: var(--color-grey-700);
}

.site-shell .explore-tabs__tab.is-selected {
  background: var(--color-background);
  color: var(--color-grey-900);
  box-shadow: var(--shadow-sm);
}

.site-shell input[type="search"].explore-search__input,
.site-shell .explore-search input[type="search"] {
  background: var(--color-grey-100);
  border: 0;
  border-radius: 14px;
}

/* ── 홈 히어로: 검은 띠 → 밝은 회색 면, 큰 글자 위계 ─────────────── */






/* ── 홈 구역 사이 여백 · 카드(선 대신 면) ───────────────────────────── */
.site-shell .home-page > section,
.site-shell .home-page > div > section {
  margin-bottom: var(--space-24);
}

.site-shell .home-how__card,
.site-shell .home-wings__card {
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--color-grey-50);
  box-shadow: none;
}

.site-shell .home-how__icon,
.site-shell .home-wings__icon {
  border-radius: 14px;
  background: var(--color-background);
  color: var(--color-primary-pressed);
}

.site-shell .home-how__step-label {
  color: var(--color-primary-pressed);
}

.site-shell .home-how__description,
.site-shell .home-wings__description,
.site-shell .home-how__step-description,
.site-shell .home-wings__description-text {
  color: var(--color-grey-700);
}

/* ── 홈 사전가입 칸: 검은 칸 → 밝은 회색 면 ──────────────────────────── */
.site-shell .home-prelaunch__panel {
  padding: var(--space-12);
  border-radius: var(--radius-sheet);
  background: var(--color-grey-50);
  color: var(--color-grey-900);
}

.site-shell .home-prelaunch__heading {
  color: var(--color-grey-900);
  letter-spacing: -0.03em;
}

.site-shell .home-prelaunch__description,
.site-shell .home-prelaunch__form label,
.site-shell .home-prelaunch__role-legend,
.site-shell .home-prelaunch__role-description {
  color: var(--color-grey-700);
}

.site-shell .home-prelaunch__form input {
  border: 1px solid var(--color-grey-200);
  border-radius: 14px;
  background: var(--color-background);
  color: var(--color-grey-900);
}

.site-shell .home-prelaunch__form input::placeholder {
  color: var(--color-grey-700);
}

.site-shell .home-prelaunch__form input:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-indigo-100);
}

.site-shell .home-prelaunch__role-label {
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-card);
  background: var(--color-background);
  color: var(--color-grey-900);
}

.site-shell .home-prelaunch__role-icon {
  background: var(--color-indigo-50);
  color: var(--color-primary-pressed);
}

/* 고른 역할 카드 — 진한 초록 바탕에 흰 글자(바탕만 어두워지고 글자가 그대로라 안 보이던 문제 · 2026-09-27).
   /prelaunch 와 첫 화면 아래 사전가입 칸이 같은 컴포넌트를 씁니다. */
.site-shell .home-prelaunch__role-input:checked + .home-prelaunch__role-label {
  border-color: var(--color-primary-pressed);
  background: var(--color-primary-pressed);
  color: var(--color-background);
  box-shadow: 0 0 0 1px var(--color-primary-pressed);
}

.site-shell .home-prelaunch__role-input:checked + .home-prelaunch__role-label .home-prelaunch__role-title,
.site-shell .home-prelaunch__role-input:checked + .home-prelaunch__role-label .home-prelaunch__role-description {
  color: var(--color-background);
}

.site-shell .home-prelaunch__role-input:checked + .home-prelaunch__role-label .home-prelaunch__role-icon {
  background: color-mix(in srgb, var(--color-background) 18%, transparent);
  color: var(--color-background);
}

.site-shell .home-prelaunch__role-input:checked + .home-prelaunch__role-label .home-prelaunch__role-check {
  background: var(--color-background);
  color: var(--color-primary-pressed);
}

/* 보내기 단추는 <input type="submit"> 이라 바로 위 입력창 규칙(.home-prelaunch__form input)에 지지 않게 같이 적습니다. */
.site-shell .home-prelaunch__form button[type="submit"],
.site-shell .home-prelaunch__form input[type="submit"],
.site-shell .home-prelaunch__submit {
  border: 0;
  border-radius: 14px;
  background: var(--color-primary-pressed);
  color: var(--color-background);
}

/* ── ESG 히어로 · 다운로드 히어로: 밝은 회색 면 ─────────────────────── */
.site-shell .esg-home__hero,
/* 다운로드 · 쇼핑 머리 — 머리말에 붙은 네모 띠 대신 둥근 옅은 면 */
.site-shell .page-hero {
  margin-top: var(--space-8);
  border-radius: var(--radius-sheet);
  background: var(--color-grey-50);
  color: var(--color-grey-900);
}

/* 다운로드 · 쇼핑 카드 — 선 대신 면(옅은 회색), 모서리는 한 단계 크게 */
.site-shell .shop-categories__card {
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--color-grey-50);
}

.site-shell .shop-info__card {
  border-color: var(--color-grey-100);
  border-radius: var(--radius-lg);
}

.site-shell .shop-cta {
  border-radius: var(--radius-lg);
}

.site-shell .esg-home__hero-title,
.site-shell .page-hero__title {
  color: var(--color-grey-900);
  letter-spacing: -0.035em;
}

.site-shell .esg-home__hero-lead,
.site-shell .esg-home__hero-description,
.site-shell .page-hero__desc {
  color: var(--color-grey-700);
}

.site-shell .page-hero__tag {
  border: 0;
  background: var(--color-indigo-50);
  color: var(--color-indigo-700);
}

/* ── 서포터 안내 히어로: 머리말에 붙지 않게 · 선 대신 면 ───────────────── */
.site-shell .supporter-intro__hero {
  margin-top: var(--space-8);
  padding: var(--space-12) var(--space-8);
  border-radius: var(--radius-sheet);
  background: var(--color-grey-50);
}

.site-shell .supporter-intro__lead {
  color: var(--color-grey-700);
}

/* ── 로그인 · 가입 · 포인트 카드: 선보다 면 ─────────────────────────── */
.site-shell .auth-card {
  border-color: var(--color-grey-100);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--color-grey-900) 6%, transparent);
}

.site-shell .points-pay,
.site-shell .points-me__balance {
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--color-grey-50);
}

/* ── 바닥글: 옅은 회색 면, 넉넉한 여백 ───────────────────────────────── */
.site-shell .site-footer {
  margin-top: var(--space-24);
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
  border-top: 0;
  background: var(--color-grey-50);
}

.site-shell .site-footer ul a {
  color: var(--color-grey-700);
}

/* ── 회원 영역(/me) — 돌아가기 링크 · 역할 카드 ───────────────── */
/* 돌아가기 링크를 본문과 같은 폭에 맞추고, 파란 기본 링크 대신 옅은 회색 글자로 */
.site-shell .me-layout__back {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-4) 0;
}

.site-shell .me-layout__back a {
  color: var(--color-grey-700);
  font-size: var(--font-size-caption);
  text-decoration: none;
}

.site-shell .me-layout__back a::before {
  content: "← ";
}

.site-shell .me-layout__back a:hover {
  color: var(--color-grey-900);
}

.site-shell .me-hub__welcome {
  margin: var(--space-6) 0 var(--space-12);
}

/* 역할 카드 — 테두리 대신 옅은 회색 면, "이용 가능" 배지는 한 줄로 */
.site-shell .role-cards {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-3);
}

.site-shell .role-cards__card {
  height: 100%;
  flex-wrap: wrap;
  padding: var(--space-6);
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--color-grey-50);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.site-shell .role-cards__card:hover,
.site-shell .role-cards__card:focus-visible {
  background: var(--color-grey-100);
}

.site-shell .role-cards__card:active {
  transform: scale(0.98);
}

.site-shell .role-cards__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--color-background);
  color: var(--color-primary-pressed);
}

.site-shell .role-cards__body {
  flex: 1 1 140px;
}

.site-shell .role-cards__label {
  color: var(--color-grey-900);
  font-size: var(--font-size-body);
}

.site-shell .role-cards__description {
  color: var(--color-grey-700);
  line-height: 1.55;
}

.site-shell .role-cards .status-badge {
  flex: 0 0 auto;
  white-space: nowrap;
  border-radius: var(--radius-pill);
}

/* ── 포인트 · 나비기프트 · 키즈 · 지원 작품 — 채운 입력칸 · 알약 선택지 ─── */
.site-shell .points-me,
.site-shell .points-checkout {
  padding-top: var(--space-12);
  padding-bottom: var(--space-16);
}

.site-shell .points-me__rule {
  color: var(--color-grey-700);
  line-height: 1.6;
}

/* 금액 · 결제 수단 묶음 — 테두리 상자 대신 제목 + 알약 선택지 */
.site-shell .points-me__presets,
.site-shell .points-me__methods {
  gap: var(--space-2);
  margin: var(--space-4) 0 var(--space-2);
  padding: 0;
  border: 0;
}

.site-shell .points-me__presets legend,
.site-shell .points-me__methods legend {
  margin-bottom: var(--space-3);
  padding: 0;
  color: var(--color-grey-700);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-bold);
}

.site-shell .points-me__preset,
.site-shell .points-me__methods > label {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-4);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-pill);
  background: var(--color-background);
  color: var(--color-grey-800);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.site-shell .points-me__preset:has(input[type="radio"]:checked),
.site-shell .points-me__methods > label:has(input[type="radio"]:checked) {
  border-color: var(--color-primary-pressed);
  background: var(--color-indigo-50);
  color: var(--color-grey-900);
}

.site-shell .points-me__preset input[type="radio"],
.site-shell .points-me__methods input[type="radio"] {
  accent-color: var(--color-primary-pressed);
}

.site-shell .gifts__form {
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.site-shell .gifts__form > label {
  gap: var(--space-2);
  color: var(--color-grey-700);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-bold);
}

/* 입력칸 — 옅은 회색으로 채우고, 누르면 흰 바탕 + 초록 테두리 */
.site-shell .points-me input[type="text"],
.site-shell .points-me input[type="email"],
.site-shell .points-me input[type="number"],
.site-shell .points-me input[type="tel"],
.site-shell .points-me textarea,
.site-shell .points-me select,
.site-shell .kids__form input[type="text"],
.site-shell .kids__form select {
  width: 100%;
  min-height: 52px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--color-grey-100);
  color: var(--color-grey-900);
  font: inherit;
  font-weight: var(--font-weight-regular, 400);
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.site-shell .points-me textarea {
  min-height: 104px;
  resize: vertical;
}

/* "직접 입력" 알약 안의 작은 칸 — 위 100% 폭 규칙보다 뒤에 둬야 이깁니다 */
.site-shell .points-me__preset--custom {
  white-space: nowrap;
}

.site-shell .points-me__preset--custom input[type="number"] {
  width: 8em;
  min-height: 36px;
  padding: var(--space-1) var(--space-3);
  border-radius: 10px;
}

.site-shell .points-me section {
  margin-top: var(--space-12);
}

.site-shell .points-me input:focus-visible,
.site-shell .points-me textarea:focus-visible,
.site-shell .points-me select:focus-visible,
.site-shell .kids__form input:focus-visible,
.site-shell .kids__form select:focus-visible {
  outline: none;
  border-color: var(--color-primary-pressed);
  background: var(--color-background);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.site-shell .points-pay__submit,
.site-shell .points-pay form button {
  min-height: 56px;
  margin-top: var(--space-4);
  border-radius: 16px;
  background: var(--color-primary-pressed);
  font-size: var(--font-size-body);
  transition: transform 0.12s ease, background-color 0.15s ease;
}

.site-shell .points-pay__submit:hover,
.site-shell .points-pay form button:hover {
  background: var(--color-indigo-700);
}

.site-shell .points-pay__submit:active,
.site-shell .points-pay form button:active {
  transform: scale(0.98);
}

.site-shell .points-pay__row {
  border-bottom-color: var(--color-grey-100);
}

.site-shell .kids__item,
.site-shell .supporter-works__item {
  padding: var(--space-6);
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--color-grey-50);
}

.site-shell .gifts__message {
  border-left: 0;
  border-radius: var(--radius-lg);
  background: var(--color-grey-50);
}

/* ── 본문 안 이름 없는 링크 — 기본 파랑 대신 초록 글자 + 옅은 밑줄(색만으로 구분하지 않게 밑줄 유지) ── */
:where(.site-shell main) a:not([class]) {
  color: var(--color-primary-pressed);
  text-decoration: underline;
  text-decoration-color: var(--color-indigo-300);
  text-underline-offset: 3px;
}

:where(.site-shell main) a:not([class]):hover {
  text-decoration-color: currentColor;
}

/* ── 공통 단추(.button) — 여러 화면이 쓰지만 모양 정의가 없어 브라우저 기본 회색이던 것 ── */
.site-shell .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-6);
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--color-grey-100);
  color: var(--color-grey-900);
  font: inherit;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.12s ease;
}

.site-shell .button:hover:not(:disabled) {
  background: var(--color-grey-200);
}

.site-shell .button:active:not(:disabled) {
  transform: scale(0.98);
}

.site-shell .button--primary {
  background: var(--color-primary-pressed);
  color: var(--color-background);
}

.site-shell .button--primary:hover:not(:disabled) {
  background: var(--color-indigo-700);
}

.site-shell .button--ghost {
  background: transparent;
  color: var(--color-grey-700);
}

.site-shell .button--ghost:hover:not(:disabled) {
  background: var(--color-grey-100);
}

.site-shell .button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ── 회원 · 포털 입력 칸 바탕 — 이름 없는 입력 칸만 채운 칸으로(화면별 클래스가 있으면 그쪽이 이깁니다) ── */
:where(.site-shell) :where(main) :where(select, textarea,
  input[type="text"], input[type="email"], input[type="number"], input[type="tel"],
  input[type="url"], input[type="search"], input[type="date"], input[type="datetime-local"], input[type="month"]) {
  min-height: 48px;
  padding: 0 var(--space-4);
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--color-grey-100);
  color: var(--color-grey-900);
  font: inherit;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

:where(.site-shell) :where(main) :where(textarea) {
  padding: var(--space-3) var(--space-4);
}

:where(.site-shell) :where(main) :where(select, textarea, input):focus-visible {
  outline: none;
  border-color: var(--color-primary-pressed);
  background: var(--color-background);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

:where(.site-shell) :where(input[type="checkbox"], input[type="radio"]) {
  accent-color: var(--color-primary-pressed);
}

/* 이름 없는 제출 단추(저장 · 검색 등) — 채운 초록 */
:where(.site-shell) :where(main) :where(button[type="submit"]:not([class]), input[type="submit"]:not([class])) {
  min-height: 44px;
  padding: 0 var(--space-6);
  border: 0;
  border-radius: 12px;
  background: var(--color-primary-pressed);
  color: var(--color-background);
  font: inherit;
  font-weight: var(--font-weight-bold);
  cursor: pointer;
}

/* ── 회원 설정 · 탭 ────────────────────────────────────────────────── */
.site-shell .settings-form__section {
  margin-bottom: var(--space-6);
  padding: var(--space-8);
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--color-grey-50);
}

.site-shell .settings-form__section :where(select, input[type="text"]) {
  background: var(--color-background);
}

.site-shell .settings-form__section h2 {
  font-size: 20px;
}

.site-shell .me-tabs ul {
  gap: var(--space-1);
  width: max-content;
  max-width: 100%;
  margin: var(--space-4) 0 var(--space-8);
  padding: var(--space-1);
  border-radius: var(--radius-pill);
  background: var(--color-grey-100);
}

.site-shell .me-tabs a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 40px;
  padding: 0 var(--space-4);
  border: 0;
  border-radius: var(--radius-pill);
  color: var(--color-grey-700);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
}

.site-shell .me-tabs a[aria-current="page"] {
  background: var(--color-background);
  color: var(--color-grey-900);
  font-weight: var(--font-weight-bold);
  box-shadow: 0 1px 3px color-mix(in srgb, var(--color-grey-900) 8%, transparent);
}

/* ── 기업 대시보드 — 계약이 아직 없을 때 안내(첫 결제 전) ───────────────── */
.site-shell .esg-no-contract {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-16) 0 var(--space-20);
}

.site-shell .esg-no-contract__eyebrow {
  display: inline-block;
  margin: 0 0 var(--space-4);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--color-indigo-50);
  color: var(--color-indigo-700);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-bold);
}

.site-shell .esg-no-contract h1 {
  margin: 0 0 var(--space-4);
  font-size: clamp(28px, 3.2vw, 36px);
}

.site-shell .esg-no-contract__lead {
  margin: 0 0 var(--space-12);
  color: var(--color-grey-700);
  line-height: 1.7;
}

.site-shell .esg-no-contract__steps-title {
  margin: 0 0 var(--space-4);
  font-size: 20px;
}

.site-shell .esg-no-contract__steps {
  display: grid;
  gap: var(--space-3);
  margin: 0 0 var(--space-12);
  padding: 0;
  list-style: none;
  counter-reset: esg-step;
}

.site-shell .esg-no-contract__steps li {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-grey-50);
  color: var(--color-grey-800);
  counter-increment: esg-step;
}

.site-shell .esg-no-contract__steps li::before {
  content: counter(esg-step);
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: var(--color-background);
  color: var(--color-primary-pressed);
  font-weight: var(--font-weight-bold);
}

.site-shell .esg-no-contract__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ── 포털(통역사 /work · 검수 /review) — 왼쪽 메뉴 + 본문 ───────────────── */
/* 통역사 포털 맨 위 [업무용 앱 다운로드] 안내 띠(2026-10-06) — 머리말 바로 아래, 화면 폭에 맞춰 눈에 띄게 */
.portal-shell .work-app-banner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  /* 아래 본문 틀(.layout-sidebar-main · 최대 1360 · 옆 여백 24)과 좌우 끝을 맞춥니다. */
  width: calc(100% - 2 * var(--space-6));
  max-width: 1312px;
  margin: var(--space-6) auto 0;
  padding: var(--space-4) var(--space-6);
  border: 1px solid var(--color-indigo-100);
  border-radius: var(--radius-lg);
  background: var(--color-indigo-50);
}

.portal-shell .work-app-banner__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-card);
  background: var(--color-background);
  color: var(--color-primary-pressed);
}

.portal-shell .work-app-banner__copy {
  flex: 1;
  min-width: 0;
}

.portal-shell .work-app-banner__title {
  margin: 0;
  font-size: 20px;
  color: var(--color-grey-900);
}

.portal-shell .work-app-banner__description {
  margin: var(--space-1) 0 0;
  color: var(--color-grey-700);
  font-size: var(--font-size-caption);
}

.portal-shell .work-app-banner__action {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-1);
}

.portal-shell .work-app-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--button-height);
  padding: 0 var(--space-8);
  border-radius: 14px;
  background: var(--color-primary-pressed);
  color: var(--color-background);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  white-space: nowrap;
}

.portal-shell .work-app-banner__button--disabled {
  background: var(--color-grey-200);
  color: var(--color-grey-700);
  cursor: not-allowed;
}

.portal-shell .work-app-banner__requirement {
  color: var(--color-grey-700);
  font-size: var(--font-size-caption);
}

@media (max-width: 767px) {
  .portal-shell .work-app-banner {
    flex-wrap: wrap;
    width: calc(100% - 2 * var(--space-4));
    margin-top: var(--space-4);
    padding: var(--space-4);
  }

  .portal-shell .work-app-banner__action {
    width: 100%;
    align-items: stretch;
  }
}

.portal-shell .layout-sidebar-main {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: var(--space-12);
  max-width: 1360px;
  min-height: 0;
  margin: 0 auto;
  padding: var(--space-8) var(--space-6) var(--space-16);
}

.portal-shell .portal-nav {
  position: sticky;
  top: 88px;
  align-self: start;
  padding: 0;
  border-right: 0;
}

.portal-shell .portal-nav ul {
  gap: 2px;
}

.portal-shell .portal-nav a,
.portal-shell .portal-nav__disabled {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-4);
  border-radius: 12px;
  color: var(--color-grey-800);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: background-color 0.12s ease;
}

.portal-shell .portal-nav a:hover {
  background: var(--color-grey-100);
}

.portal-shell .portal-nav a[aria-current="page"] {
  background: var(--color-indigo-50);
  color: var(--color-primary-pressed);
  font-weight: var(--font-weight-bold);
}

.portal-shell .portal-nav__disabled {
  color: var(--color-grey-700);
}

.portal-shell main {
  min-width: 0;
}

.portal-shell main > :first-child,
.portal-shell main > section:first-child > h1:first-child {
  margin-top: 0;
}

.portal-shell main table {
  width: 100%;
  border-collapse: collapse;
}

.portal-shell main th {
  padding: var(--space-3);
  border-bottom: 1px solid var(--color-grey-100);
  color: var(--color-grey-700);
  font-size: var(--font-size-caption);
  text-align: left;
}

.portal-shell main td {
  padding: var(--space-3);
  border-bottom: 1px solid var(--color-grey-100);
}

/* 포털 안의 포인트 모양 감싸개(팀 화면 등) — 가운데 정렬 대신 메뉴 옆에 붙여서 */
.portal-shell .points-me {
  max-width: 880px;
  margin: 0;
  padding: 0;
}

/* 통역 포털 거르개 · 정렬 알약 — 밑줄 없이 회색 면, 고른 것만 초록 채움 */
.portal-shell .work-filters__tab,
.portal-shell .work-filters__sort-link {
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-grey-100);
  color: var(--color-grey-800);
  text-decoration: none;
}

.portal-shell .work-filters__tab[aria-current="true"],
.portal-shell .work-filters__sort-link[aria-current="true"] {
  background: var(--color-primary-pressed);
  color: var(--color-background);
}

@media (max-width: 1023px) {
  .portal-shell .layout-sidebar-main {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
    padding: var(--space-4) var(--space-4) var(--space-12);
  }

  /* 좁은 화면에서는 왼쪽 메뉴를 가로로 밀어 보는 알약 줄로 */
  .portal-shell .portal-nav {
    position: static;
    overflow-x: auto;
  }

  .portal-shell .portal-nav ul {
    flex-direction: row;
    gap: var(--space-1);
    width: max-content;
  }

  /* 넓은 표는 본문 안에서만 옆으로 밀어 봅니다(글자가 한 자씩 세로로 꺾이지 않게) */
  .portal-shell main table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .portal-shell .portal-nav a,
  .portal-shell .portal-nav__disabled {
    min-height: 40px;
    border-radius: var(--radius-pill);
    background: var(--color-grey-100);
    white-space: nowrap;
  }
}

/* ── 폰 ─────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  /* 폰에서는 헤더가 두 줄(로고 · 단추)로 접히므로 높이를 고정하지 않습니다 */
  .site-shell .site-header,
  .site-shell .site-header:has(~ main.home-page) {
    height: auto;
    min-height: 64px;
  }


  .site-shell .home-page > section,
  .site-shell .home-page > div > section {
    margin-bottom: var(--space-16);
  }

  .site-shell .home-prelaunch__panel {
    padding: var(--space-6);
  }

  .site-shell .supporter-intro__hero {
    margin-top: var(--space-4);
    padding: var(--space-8) var(--space-4);
  }

  .site-shell .site-footer {
    margin-top: var(--space-16);
  }
}

/* 프로필(/me) 로그아웃 단추(2026-10-02) */
.site-shell .me-hub__logout-form {
  margin-top: var(--space-4);
}

.site-shell .me-hub__logout {
  min-height: var(--touch-target-min);
  padding: var(--space-2) var(--space-5, 20px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: var(--color-background);
  color: var(--color-text);
  font-size: var(--font-size-body);
  cursor: pointer;
}

.site-shell .me-hub__logout:hover {
  background: var(--color-surface);
}

/* ── ESG 가격표(/esg/pricing) — 기업 담당자 전용(결정 66 · 67, 2026-10-11) ───────────── */
.site-shell .esg-price-list {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--space-16) 0 var(--space-20);
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.site-shell .esg-price-list__eyebrow {
  display: inline-block;
  margin: 0 0 var(--space-4);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--color-indigo-50);
  color: var(--color-indigo-700);
  font-size: 14px;
  font-weight: 600;
}

.site-shell .esg-price-list h1 {
  margin: 0 0 var(--space-4);
  font-size: clamp(28px, 3.2vw, 36px);
}

.site-shell .esg-price-list__lead {
  margin: 0 0 var(--space-4);
  color: var(--color-grey-700);
  line-height: 1.7;
}

.site-shell .esg-price-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin: 0;
  color: var(--color-grey-600);
  font-size: 14px;
}

.site-shell .esg-price-list__section h2 {
  margin: 0 0 var(--space-4);
  font-size: 20px;
}

.site-shell .esg-price-list__note {
  margin: var(--space-4) 0 0;
  color: var(--color-grey-600);
  font-size: 14px;
  line-height: 1.7;
}

.site-shell .esg-price-list__empty {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-grey-50);
  color: var(--color-grey-700);
}

.site-shell .esg-price-list__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}

.site-shell .esg-price-list__cards--tiers {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.site-shell .esg-price-card,
.site-shell .esg-price-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-6);
  border: 1px solid var(--color-grey-100);
  border-radius: var(--radius-lg);
  background: var(--color-grey-50);
}

.site-shell .esg-price-card--required,
.site-shell .esg-price-tier--recommended {
  border-color: var(--color-indigo-100);
  background: var(--color-indigo-50);
}

.site-shell .esg-price-card__badge,
.site-shell .esg-price-tier__summary,
.site-shell .esg-price-tier__badge {
  align-self: flex-start;
  padding: 2px var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--color-grey-900);
  color: var(--color-background);
  font-size: 12px;
  font-weight: 600;
}

.site-shell .esg-price-card--required .esg-price-card__badge,
.site-shell .esg-price-tier--recommended .esg-price-tier__summary,
.site-shell .esg-price-tier__badge {
  background: var(--color-indigo-700);
}

.site-shell .esg-price-card__title,
.site-shell .esg-price-tier__title {
  margin: 0;
  font-size: 17px;
}

.site-shell .esg-price-card__price,
.site-shell .esg-price-tier__yearly {
  margin: var(--space-2) 0 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-indigo-700);
}

.site-shell .esg-price-card__levels {
  display: grid;
  gap: var(--space-2);
  margin: var(--space-2) 0 0;
}

.site-shell .esg-price-card__level {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
}

.site-shell .esg-price-card__level dt {
  color: var(--color-grey-600);
}

.site-shell .esg-price-card__level dd {
  margin: 0;
  font-weight: 700;
}

.site-shell .esg-price-tier__caption {
  margin: var(--space-2) 0 0;
  color: var(--color-grey-600);
  font-size: 13px;
}

.site-shell .esg-price-tier__yearly {
  margin-top: 0;
  font-size: 20px;
  white-space: nowrap;
}

.site-shell .esg-price-tier__monthly {
  margin: 0;
  color: var(--color-grey-600);
  font-size: 14px;
}

.site-shell .esg-price-list__cycles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-shell .esg-price-cycle {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--color-grey-50);
}

.site-shell .esg-price-cycle small {
  color: var(--color-grey-600);
}

.site-shell .esg-price-list__contact {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-grey-50);
  line-height: 1.7;
}

.site-shell .esg-price-list__contact-email {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-2) 0 var(--space-4);
  font-weight: 600;
}

.site-shell .esg-price-list__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
