/* ============================================================
   Solve Us 데모킷 컴포넌트 — VENDORED SUBSET

   ⇄ source: solve-us/solve-us  docs/specs/_demo-kit/demo-kit.css (2026-07-31)

   이 앱에서 실제로 쓰는 su- 클래스만 원본 그대로 옮겼다.
   토큰은 tokens.css 가 제공한다. 값을 여기서 재정의하지 않는다.
   ⚠️ 원본 컴포넌트 구조가 바뀌면 해당 블록만 다시 복사하고 마커 날짜를 갱신할 것.
   ============================================================ */

.demo-shell,
.demo-shell * {
  font-family: var(--font-family);
}

/* [셸] 480px 모바일 컬럼 — 가짜 폰 프레임 없음
   ⇄ source: solve-us-app/src/app/home.module.css .page */
.demo-shell {
  min-height: 100vh;
  max-width: var(--mobile-max-width);
  margin: 0 auto;
  background: var(--color-background);
  color: var(--color-text-primary);
  position: relative;
}

.su-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 6px 18px 0;
  padding-bottom: var(--tab-bar-clearance);
}

/* [헤더] 뒤로가기 헤더 — ⇄ source: components/BackButton.module.css */
.su-bb-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--space-2) 0;
  margin-bottom: var(--space-4);
}
.su-bb-header--sticky {
  position: sticky;
  top: 0;
  padding: var(--space-4) var(--space-5);
  background: var(--color-background);
  z-index: var(--z-header);
  margin-bottom: 0;
}
.su-bb-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-tertiary);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  background: none;
  border: none;
  padding: var(--space-2);
  margin-left: calc(-1 * var(--space-2));
}
.su-bb-btn:hover {
  color: var(--color-black);
}
.su-bb-title {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.3;
}
.su-bb-right {
  justify-self: end;
}

/* [카드] — ⇄ source: components/Card.module.css */
.su-card {
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  box-sizing: border-box;
}
.su-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.su-card--default {
  background: var(--color-white);
  border: 1px solid var(--color-light-grey);
  box-shadow: var(--shadow-subtle);
  color: var(--color-text-primary);
}
.su-card--hero {
  background: var(--color-tint-greige);
  border: none;
  color: var(--color-text-primary);
}
.su-card--subcard {
  background: var(--color-ash-rose);
  border: none;
  box-shadow: var(--shadow-card);
  color: var(--color-white);
}
.su-card-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.su-card-text {
  font-size: 13.5px;
  color: var(--color-mid-grey);
  line-height: 1.5;
  margin: 0;
}
.su-card--subcard .su-card-text {
  color: rgba(255, 255, 255, 0.8);
}

/* [버튼] — ⇄ source: home.module.css .ctaBtn / .shareBtn */
.su-cta {
  width: 100%;
  height: 52px;
  background: var(--color-cta);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(92, 79, 74, 0.25);
  letter-spacing: -0.2px;
}
.su-btn-secondary {
  width: 100%;
  height: 44px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-charcoal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

/* [리스트] — ⇄ source: home.module.css .recentList / .recentItem */
.su-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.su-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border-radius: 10px;
}
.su-list-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-tint-greige);
  color: var(--color-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.su-list-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.su-list-main {
  font-size: 13.5px;
  color: var(--color-text-primary);
  line-height: 1.4;
}
.su-list-sub {
  font-size: 11.5px;
  color: var(--color-mid-grey);
  margin-top: 2px;
}

/* [칩 / 뱃지] — ⇄ source: home.module.css .resumeTag / .featureCardBadge */
.su-chip {
  font-size: var(--font-size-xs);
  color: var(--color-charcoal);
  background: var(--color-off-white);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}
.su-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-mid-grey);
  background: var(--color-off-white);
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.2px;
}
.su-badge--new {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--color-ash-rose);
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

/* [섹션 헤더] — ⇄ source: home.module.css .sectionTitle / .inlineHead */
.su-section-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  margin: 0;
}
.su-section-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-mid-grey);
  margin: 4px 0 0;
}
.su-inline-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.su-inline-link {
  font-size: 12.5px;
  color: var(--color-mid-grey);
  background: none;
  border: none;
  cursor: pointer;
}

/* [토스트] — ⇄ source: components/Toast.module.css */
.su-toast {
  position: fixed;
  bottom: var(--toast-bottom);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-black);
  color: var(--color-white);
  font-size: var(--font-size-sm);
  font-weight: 500;
  padding: var(--space-3) var(--space-5);
  border-radius: 999px;
  z-index: var(--z-toast);
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}
