:root {
  --brand: #3159e8;
  --brand-600: #294fd5;
  --brand-700: #213fae;
  --brand-50: #f1f4ff;
  --brand-100: #e4eaff;
  --ink: #171a24;
  --ink-soft: #313746;
  --muted: #6e7585;
  --muted-2: #969dac;
  --line: #e8eaf0;
  --line-strong: #d9dde7;
  --surface: #ffffff;
  --surface-2: #f8f9fc;
  --surface-3: #f2f4f8;
  --bg: #f6f7fb;
  --success: #0d8c62;
  --success-bg: #eaf8f2;
  --warning: #c96b14;
  --warning-bg: #fff4e7;
  --danger: #d13c4b;
  --danger-bg: #fff0f2;
  --info: #2d6bcf;
  --info-bg: #edf5ff;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-xs: 0 1px 2px rgba(23, 26, 36, .04);
  --shadow-sm: 0 8px 24px rgba(23, 32, 70, .06);
  --shadow-md: 0 18px 45px rgba(24, 34, 82, .10);
  --shadow-lg: 0 28px 70px rgba(24, 34, 82, .16);
  --header-h: 68px;
  --sidebar-w: 264px;
  font-family: Pretendard, "Pretendard Variable", "Noto Sans KR", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.55; letter-spacing: -.15px; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
svg { display: block; }
::selection { background: var(--brand-100); color: var(--brand-700); }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.container-wide { width: min(1320px, calc(100% - 40px)); margin: 0 auto; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.text-brand { color: var(--brand); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; stroke-width: 1.9; }
.icon-sm { width: 17px; height: 17px; }
.icon-lg { width: 24px; height: 24px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 900; letter-spacing: -.9px; white-space: nowrap; }
.brand-symbol { width: 35px; height: 35px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(145deg, #3d66f3, #284bd1); color: #fff; font-size: 23px; font-weight: 950; line-height: 1; box-shadow: 0 8px 20px rgba(49, 89, 232, .23); }
.brand-word { transform: translateY(-.5px); }
.brand-light .brand-symbol { background: #fff; color: var(--brand); box-shadow: none; }
.brand-light .brand-word { color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(225,228,237,.92); backdrop-filter: blur(18px); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 34px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { padding: 10px 12px; border-radius: 9px; font-size: 14px; font-weight: 750; color: var(--ink-soft); transition: .18s ease; }
.main-nav a:hover { background: var(--surface-3); color: var(--brand); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.header-user { display: flex; align-items: center; gap: 10px; padding-right: 4px; }
.avatar { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-700); font-weight: 900; }
.header-user-meta { display: grid; line-height: 1.25; }
.header-user-meta strong { font-size: 13px; }
.header-user-meta span { font-size: 11px; color: var(--muted); margin-top: 2px; }
.mobile-menu-btn { display: none; width: 42px; height: 42px; border: 0; background: transparent; border-radius: 10px; align-items: center; justify-content: center; }
.mobile-menu-btn:hover { background: var(--surface-3); }

/* Buttons */
.btn { min-height: 46px; border: 0; border-radius: 12px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 14px; line-height: 1; white-space: nowrap; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(49,89,232,.20); }
.btn-primary:hover:not(:disabled) { background: var(--brand-600); box-shadow: 0 11px 25px rgba(49,89,232,.26); }
.btn-secondary { background: #fff; color: var(--ink-soft); border: 1px solid var(--line-strong); box-shadow: var(--shadow-xs); }
.btn-secondary:hover:not(:disabled) { border-color: #bfc7d9; background: #fbfbfd; }
.btn-soft { background: var(--brand-50); color: var(--brand-700); }
.btn-soft:hover:not(:disabled) { background: var(--brand-100); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover:not(:disabled) { background: var(--surface-3); color: var(--ink); }
.btn-danger { background: var(--danger-bg); color: var(--danger); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-small { min-height: 38px; padding: 0 13px; border-radius: 10px; font-size: 13px; }
.btn-large { min-height: 54px; padding: 0 24px; border-radius: 14px; font-size: 15px; }
.btn-icon { width: 42px; min-width: 42px; padding: 0; }
.btn-block { width: 100%; }

/* Landing */
.landing-body { background: #fff; }
.hero { position: relative; overflow: hidden; padding: 86px 0 72px; background: radial-gradient(circle at 82% 14%, rgba(49,89,232,.15), transparent 31%), linear-gradient(180deg,#fbfcff 0%,#f6f8ff 58%,#fff 100%); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; top: -310px; left: -130px; border: 1px solid rgba(49,89,232,.11); box-shadow: 0 0 0 70px rgba(49,89,232,.025), 0 0 0 140px rgba(49,89,232,.018); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,1.04fr) minmax(420px,.96fr); gap: 70px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: 12px; font-weight: 850; border: 1px solid #dfe5ff; }
.hero-copy h1 { margin: 19px 0 18px; font-size: clamp(40px,4vw,58px); line-height: 1.12; letter-spacing: -3px; }
.hero-copy h1 em { color: var(--brand); font-style: normal; }
.hero-copy > p { margin: 0 0 28px; max-width: 620px; color: var(--muted); font-size: 18px; line-height: 1.75; letter-spacing: -.35px; }
.hero-search { max-width: 620px; display: flex; align-items: center; padding: 7px; background: #fff; border: 1px solid #dfe3ee; border-radius: 16px; box-shadow: var(--shadow-md); }
.hero-search .search-leading { width: 45px; height: 45px; display: grid; place-items: center; color: var(--muted-2); }
.hero-search input { min-width: 0; flex: 1; height: 48px; border: 0; outline: 0; padding: 0 8px; background: transparent; font-size: 16px; }
.hero-search input::placeholder { color: #9ba2b0; }
.hero-points { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; color: var(--muted); font-size: 13px; font-weight: 650; }
.hero-point { display: inline-flex; align-items: center; gap: 6px; }
.hero-point .icon { color: var(--success); width: 17px; height: 17px; }
.hero-product { position: relative; min-height: 500px; }
.hero-dashboard { position: absolute; inset: 18px 0 0 26px; padding: 20px; background: rgba(255,255,255,.96); border: 1px solid #e3e6ef; border-radius: 26px; box-shadow: var(--shadow-lg); }
.demo-topbar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.demo-dots { display: flex; gap: 5px; }
.demo-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d7dbe6; }
.demo-mini-brand { display: flex; align-items: center; gap: 7px; font-weight: 900; font-size: 12px; }
.demo-mini-symbol { width: 23px; height: 23px; border-radius: 7px; display: grid; place-items: center; color: #fff; background: var(--brand); font-size: 15px; }
.demo-layout { display: grid; grid-template-columns: 110px 1fr; gap: 17px; padding-top: 18px; }
.demo-side { display: grid; align-content: start; gap: 9px; }
.demo-side span { height: 9px; border-radius: 9px; background: #eceef4; }
.demo-side span:first-child { width: 80%; background: var(--brand-100); }
.demo-side span:nth-child(2) { width: 92%; }
.demo-side span:nth-child(3) { width: 68%; }
.demo-main { min-width: 0; }
.demo-welcome { display: flex; align-items: end; justify-content: space-between; margin-bottom: 15px; }
.demo-welcome strong { font-size: 15px; }
.demo-welcome span { color: var(--brand); font-size: 10px; font-weight: 800; }
.demo-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.demo-metric { padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.demo-metric span { display: block; color: var(--muted-2); font-size: 8px; }
.demo-metric strong { display: block; margin-top: 5px; font-size: 16px; }
.demo-request { margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.demo-request-head { display: flex; justify-content: space-between; gap: 10px; }
.demo-request-head strong { font-size: 11px; line-height: 1.45; }
.demo-badge { align-self: flex-start; padding: 3px 6px; border-radius: 999px; background: var(--success-bg); color: var(--success); font-size: 7px; font-weight: 900; }
.demo-chips { display: flex; gap: 5px; margin-top: 10px; }
.demo-chips span { padding: 4px 7px; border-radius: 999px; background: var(--surface-3); color: var(--muted); font-size: 7px; }
.demo-provider-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.demo-provider-avatar { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--brand); background: var(--brand-50); font-weight: 900; }
.demo-provider-row strong { display: block; font-size: 9px; }
.demo-provider-row span { display: block; color: var(--muted-2); font-size: 7px; }
.demo-provider-row button { border: 0; border-radius: 7px; background: var(--brand); color: #fff; font-size: 7px; padding: 6px 7px; }
.hero-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); font-size: 11px; font-weight: 800; }
.hero-float .float-icon { width: 31px; height: 31px; border-radius: 10px; display: grid; place-items: center; background: var(--success-bg); color: var(--success); }
.hero-float.one { left: -8px; bottom: 63px; }
.hero-float.two { right: -18px; top: 9px; }
.hero-float.two .float-icon { background: var(--warning-bg); color: var(--warning); }

.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { min-height: 76px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; border-right: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; font-weight: 750; }
.trust-item:last-child { border-right: 0; }
.trust-item .icon { color: var(--brand); }
.section { padding: 82px 0; }
.section-soft { background: var(--surface-2); }
.section-dark { background: #17203a; color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-kicker { display: block; margin-bottom: 8px; color: var(--brand); font-size: 12px; font-weight: 900; letter-spacing: .2px; }
.section-head h2 { margin: 0; font-size: 32px; line-height: 1.3; letter-spacing: -1.5px; }
.section-head p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 800; font-size: 13px; }
.category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.category-card { position: relative; min-height: 154px; padding: 21px; border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; transition: .2s ease; }
.category-card:hover { transform: translateY(-3px); border-color: #c8d1ff; box-shadow: var(--shadow-md); }
.category-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-50); color: var(--brand); margin-bottom: 17px; }
.category-card:nth-child(2n) .category-icon { background: #eef9f5; color: #168263; }
.category-card:nth-child(3n) .category-icon { background: #fff3e8; color: #c6691b; }
.category-card:nth-child(4n) .category-icon { background: #f6efff; color: #7c4bb7; }
.category-card strong { display: block; font-size: 16px; letter-spacing: -.35px; }
.category-card span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }
.category-card .arrow { position: absolute; right: 17px; bottom: 17px; color: var(--muted-2); }
.process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.process-card { position: relative; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.process-num { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 900; margin-bottom: 22px; }
.process-card h3 { margin: 0 0 9px; font-size: 18px; }
.process-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.process-line { position: absolute; top: 44px; right: -27px; width: 34px; height: 1px; background: var(--line-strong); z-index: 2; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.role-card { position: relative; min-height: 310px; padding: 34px; border-radius: 24px; overflow: hidden; }
.role-card.seller { background: linear-gradient(145deg,#eef2ff,#f8f9ff); border: 1px solid #dfe5ff; }
.role-card.provider { background: linear-gradient(145deg,#17203a,#26345b); color: #fff; }
.role-card h3 { margin: 18px 0 10px; font-size: 26px; letter-spacing: -1px; }
.role-card p { max-width: 430px; margin: 0 0 23px; color: var(--muted); line-height: 1.75; }
.role-card.provider p { color: #bfc8df; }
.role-card .role-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.role-card.provider .role-icon { background: rgba(255,255,255,.12); color: #fff; }
.role-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.role-features span { padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.7); color: var(--ink-soft); font-size: 12px; font-weight: 750; }
.role-card.provider .role-features span { background: rgba(255,255,255,.1); color: #e8edff; }
.role-watermark { position: absolute; right: -5px; bottom: -42px; color: rgba(49,89,232,.075); font-size: 170px; font-weight: 950; line-height: 1; }
.role-card.provider .role-watermark { color: rgba(255,255,255,.055); }
.cta-section { padding: 72px 0; }
.cta-box { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 48px 52px; background: linear-gradient(135deg,#3159e8,#2447bd); color: #fff; border-radius: 28px; box-shadow: 0 28px 65px rgba(49,89,232,.24); }
.cta-box::after { content: "ㅋ"; position: absolute; right: 35px; bottom: -82px; font-size: 220px; line-height: 1; font-weight: 950; color: rgba(255,255,255,.07); }
.cta-box h2 { position: relative; z-index: 1; margin: 0 0 8px; font-size: 30px; letter-spacing: -1.4px; }
.cta-box p { position: relative; z-index: 1; margin: 0; color: #dce4ff; }
.cta-box .btn { position: relative; z-index: 1; background: #fff; color: var(--brand-700); box-shadow: none; }
.footer { padding: 52px 0 38px; background: #111827; color: #d8ddea; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 60px; }
.footer .brand { color: #fff; }
.footer-desc { max-width: 470px; margin: 18px 0 0; color: #98a2b7; font-size: 13px; line-height: 1.8; }
.footer h4 { margin: 5px 0 15px; color: #fff; font-size: 13px; }
.footer-links { display: grid; gap: 9px; color: #aeb6c8; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); color: #7f899e; font-size: 12px; }

/* App shell */
.app-shell { min-height: 100vh; background: var(--bg); }
.app-shell .site-header { height: var(--header-h); }
.app-shell .header-inner { width: 100%; max-width: none; padding: 0 24px; }
.app-main { min-height: calc(100vh - var(--header-h)); }
.app-layout { display: grid; grid-template-columns: var(--sidebar-w) minmax(0,1fr); min-height: calc(100vh - var(--header-h)); }
.sidebar { position: sticky; top: var(--header-h); align-self: start; height: calc(100vh - var(--header-h)); padding: 20px 14px 28px; background: #fff; border-right: 1px solid var(--line); overflow-y: auto; }
.side-profile { display: flex; align-items: center; gap: 11px; padding: 12px; margin-bottom: 12px; border-radius: 14px; background: var(--surface-2); }
.side-profile-avatar { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; background: var(--brand-100); color: var(--brand-700); font-size: 15px; font-weight: 900; }
.side-profile-copy { min-width: 0; display: grid; }
.side-profile-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.side-profile-copy span { margin-top: 2px; color: var(--muted); font-size: 11px; }
.side-section-label { display: block; padding: 15px 12px 7px; color: var(--muted-2); font-size: 10px; font-weight: 850; letter-spacing: .6px; }
.side-nav { display: grid; gap: 3px; }
.side-nav a { min-height: 43px; display: flex; align-items: center; gap: 11px; padding: 0 12px; border-radius: 11px; color: #525967; font-size: 13px; font-weight: 700; transition: .16s ease; }
.side-nav a:hover { background: var(--surface-3); color: var(--ink); }
.side-nav a.active { background: var(--brand-50); color: var(--brand-700); font-weight: 850; }
.side-nav a.active .icon { color: var(--brand); }
.side-nav-separator { height: 1px; margin: 10px 9px; background: var(--line); }
.sidebar-help { margin: 18px 4px 0; padding: 15px; border-radius: 14px; background: linear-gradient(145deg,#eef2ff,#f8f9ff); border: 1px solid #e0e5ff; }
.sidebar-help strong { display: block; font-size: 12px; }
.sidebar-help p { margin: 5px 0 10px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.content-area { min-width: 0; padding: 34px 36px 80px; }
.content-inner { width: min(1050px,100%); margin: 0 auto; }
.mobile-bottom { display: none; }
.mobile-drawer-backdrop { display: none; }

/* App common */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.page-head h1 { margin: 0; font-size: 28px; line-height: 1.28; letter-spacing: -1.25px; }
.page-head p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.page-head-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--muted-2); font-size: 11px; font-weight: 700; }
.dashboard-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 25px; min-height: 190px; margin-bottom: 20px; padding: 30px 34px; border-radius: 22px; background: linear-gradient(135deg,#253f9f 0%,#3159e8 62%,#5575ee 100%); color: #fff; box-shadow: 0 18px 38px rgba(49,89,232,.17); }
.dashboard-hero::after { content: "ㅋ"; position: absolute; right: 30px; bottom: -86px; color: rgba(255,255,255,.07); font-size: 230px; font-weight: 950; line-height: 1; }
.dashboard-hero > * { position: relative; z-index: 1; }
.dashboard-hero-kicker { display: inline-flex; margin-bottom: 10px; color: #dce5ff; font-size: 12px; font-weight: 750; }
.dashboard-hero h2 { margin: 0 0 8px; font-size: 27px; letter-spacing: -1.1px; }
.dashboard-hero p { margin: 0; color: #dbe3ff; font-size: 14px; }
.dashboard-hero .btn { background: #fff; color: var(--brand-700); box-shadow: none; }
.dashboard-hero.provider { background: linear-gradient(135deg,#17203a,#2f416e); }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; margin-bottom: 28px; }
.metric { position: relative; min-height: 116px; padding: 19px; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: var(--shadow-xs); }
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.metric-label { color: var(--muted); font-size: 12px; font-weight: 700; }
.metric-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--surface-3); color: var(--muted); }
.metric:nth-child(1) .metric-icon { background: var(--brand-50); color: var(--brand); }
.metric:nth-child(2) .metric-icon { background: var(--success-bg); color: var(--success); }
.metric:nth-child(3) .metric-icon { background: var(--warning-bg); color: var(--warning); }
.metric:nth-child(4) .metric-icon { background: #f5efff; color: #7b4db7; }
.metric strong { display: block; margin-top: 13px; font-size: 25px; line-height: 1.1; letter-spacing: -.8px; }
.metric-note { display: block; margin-top: 6px; color: var(--muted-2); font-size: 10px; }
.content-section { margin-top: 30px; }
.content-section:first-child { margin-top: 0; }
.content-section-head { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.content-section-head h2 { margin: 0; font-size: 19px; letter-spacing: -.55px; }
.content-section-head p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-xs); }
.card-hover { transition: .18s ease; }
.card-hover:hover { transform: translateY(-2px); border-color: #cfd6ec; box-shadow: var(--shadow-sm); }
.card-pad { padding: 20px; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.card-top h3 { margin: 0; font-size: 16px; line-height: 1.45; letter-spacing: -.4px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.provider-card { overflow: hidden; }
.provider-cover { position: relative; height: 150px; background: linear-gradient(135deg,#e7ecff,#f9faff); overflow: hidden; }
.provider-cover img { width: 100%; height: 100%; object-fit: cover; }
.provider-cover-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(49,89,232,.18); font-size: 86px; font-weight: 950; }
.provider-cover::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent,rgba(10,16,37,.15)); pointer-events: none; }
.provider-favorite { position: absolute; z-index: 2; top: 12px; right: 12px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 11px; background: rgba(255,255,255,.9); color: #606879; box-shadow: 0 5px 14px rgba(18,27,58,.11); }
.provider-card-body { padding: 18px; }
.provider-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.provider-card h3 { margin: 0; font-size: 16px; }
.provider-sub { margin-top: 4px; color: var(--muted); font-size: 12px; }
.provider-summary { height: 42px; overflow: hidden; margin: 13px 0 0; color: #596071; font-size: 12px; line-height: 1.65; }
.provider-stats { display: flex; align-items: center; gap: 12px; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.provider-stats span { display: inline-flex; align-items: center; gap: 4px; }
.request-card { padding: 20px; }
.request-card + .request-card { margin-top: 12px; }
.request-title { margin: 10px 0 0; font-size: 17px; line-height: 1.5; letter-spacing: -.45px; }
.request-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 10px; color: var(--muted); font-size: 12px; }
.request-meta .meta-item { display: inline-flex; align-items: center; gap: 4px; }
.request-footer { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); }
.request-proposal-count { color: var(--muted); font-size: 11px; }
.request-proposal-count strong { color: var(--brand); }
.list { display: grid; gap: 12px; }
.list-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 66px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.list-item-main { min-width: 0; display: flex; align-items: center; gap: 12px; }
.list-item-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: var(--surface-3); color: var(--muted); }
.list-item-copy { min-width: 0; }
.list-item-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.list-item-copy span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.list-item-value { flex: 0 0 auto; font-weight: 850; }
.empty { grid-column: 1 / -1; min-height: 230px; display: grid; place-items: center; padding: 35px; text-align: center; border: 1px dashed #d9deea; border-radius: 18px; background: rgba(255,255,255,.65); color: var(--muted); }
.empty-inner { display: grid; justify-items: center; gap: 8px; }
.empty-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 17px; background: var(--surface-3); color: var(--muted-2); }
.empty strong { color: var(--ink-soft); font-size: 14px; }
.empty p { margin: 0; font-size: 12px; }

/* Chips, badges, notices */
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { min-height: 29px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border: 1px solid transparent; border-radius: 999px; background: var(--surface-3); color: #596171; font-size: 11px; font-weight: 750; line-height: 1.2; }
button.chip { cursor: pointer; }
button.chip:hover { background: #e9ecf3; }
.chip.brand { background: var(--brand-50); border-color: #dae1ff; color: var(--brand-700); }
.chip.success { background: var(--success-bg); color: var(--success); }
.chip.warning { background: var(--warning-bg); color: var(--warning); }
.chip.danger { background: var(--danger-bg); color: var(--danger); }
.status { min-height: 25px; display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; background: var(--surface-3); color: #687080; font-size: 10px; font-weight: 850; white-space: nowrap; }
.status.open, .status.active, .status.accepted, .status.chat_active, .status.completed, .status.business_verified, .status.admin_verified { background: var(--success-bg); color: var(--success); }
.status.pending, .status.sent, .status.viewed, .status.held, .status.review_pending, .status.confirmation_required { background: var(--warning-bg); color: var(--warning); }
.status.closed, .status.expired, .status.rejected, .status.cancelled, .status.failed, .status.review_hidden { background: var(--danger-bg); color: var(--danger); }
.status.fee_captured, .status.captured, .status.contact_disclosed, .status.paid { background: var(--brand-50); color: var(--brand-700); }
.notice { display: flex; align-items: flex-start; gap: 10px; padding: 14px 15px; border-radius: 13px; background: var(--info-bg); border: 1px solid #d9e9ff; color: #315b98; font-size: 12px; line-height: 1.65; }
.notice.warning { background: var(--warning-bg); border-color: #ffe0bd; color: #995217; }
.notice.success { background: var(--success-bg); border-color: #ccefe1; color: #08704d; }
.notice.danger { background: var(--danger-bg); border-color: #ffd6db; color: #a8303d; }
.notice .icon { margin-top: 1px; }

/* Forms */
.form-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-xs); }
.form-card h2 { margin: 0 0 18px; font-size: 18px; letter-spacing: -.5px; }
.form-card h3 { margin: 24px 0 11px; font-size: 14px; }
.form-card > p { color: var(--muted); font-size: 13px; line-height: 1.75; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.field { display: grid; gap: 8px; margin-bottom: 17px; }
.field:last-child { margin-bottom: 0; }
.field label { font-size: 12px; font-weight: 800; color: var(--ink-soft); }
.field-required::after { content: " *"; color: var(--danger); }
.field-help { color: var(--muted-2); font-size: 11px; line-height: 1.55; }
.input, .select, .textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 11px; background: #fff; outline: 0; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.input, .select { height: 46px; padding: 0 13px; }
.textarea { min-height: 122px; padding: 12px 13px; resize: vertical; line-height: 1.65; }
.input:focus, .select:focus, .textarea:focus { border-color: #9eb0fa; box-shadow: 0 0 0 4px rgba(49,89,232,.09); }
.input:disabled, .select:disabled, .textarea:disabled { background: var(--surface-3); color: var(--muted); }
.input::placeholder, .textarea::placeholder { color: #a4aab7; }
.input-group { position: relative; }
.input-group .leading { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted-2); }
.input-group .input { padding-left: 41px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 9px; }
.checkbox-row input { margin-top: 3px; accent-color: var(--brand); }
.checkbox-row span { color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.check-chips { padding: 3px 0; }
.check-chips .chip { min-height: 35px; padding: 7px 12px; border-color: var(--line); background: #fff; }
.check-chips .chip.brand { border-color: #b9c6ff; background: var(--brand-50); color: var(--brand-700); }
.filter-shell { margin-bottom: 20px; }
.filter-bar { display: grid; grid-template-columns: minmax(220px,1.8fr) repeat(3,minmax(130px,1fr)) auto; gap: 9px; padding: 13px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-xs); }
.filter-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--muted); font-size: 12px; }

/* Auth */
.auth-wrap { min-height: calc(100vh - 150px); display: grid; grid-template-columns: minmax(0,1fr) minmax(390px,470px); gap: 58px; align-items: center; padding: 30px 0 60px; }
.auth-visual { min-height: 540px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; border-radius: 26px; background: linear-gradient(145deg,#233f9e,#3159e8 62%,#6280f2); color: #fff; box-shadow: var(--shadow-lg); }
.auth-visual::before { content: "ㅋ"; position: absolute; top: -50px; right: -15px; font-size: 270px; line-height: 1; font-weight: 950; color: rgba(255,255,255,.07); }
.auth-visual h2 { position: relative; margin: 0 0 12px; font-size: 31px; letter-spacing: -1.4px; }
.auth-visual p { position: relative; max-width: 430px; margin: 0; color: #dbe4ff; line-height: 1.8; }
.auth-benefits { position: relative; display: grid; gap: 10px; margin-top: 28px; }
.auth-benefit { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.auth-benefit .icon { color: #b9ffd7; }
.login-card { padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-md); }
.login-card .brand { display: none; }
.auth-title { margin-bottom: 25px; }
.auth-title h1 { margin: 0; font-size: 27px; letter-spacing: -1.2px; }
.auth-title p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 17px 0; color: var(--muted-2); font-size: 11px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.demo-logins { display: grid; gap: 9px; margin-top: 13px; }
.demo-login-btn { justify-content: flex-start; min-height: 52px; padding: 0 14px; background: #fff; border: 1px solid var(--line); box-shadow: none; }
.demo-login-btn:hover { border-color: #bac5ef; background: var(--brand-50); }
.demo-role-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-50); color: var(--brand); }
.demo-login-copy { display: grid; text-align: left; line-height: 1.3; }
.demo-login-copy strong { font-size: 12px; }
.demo-login-copy span { color: var(--muted); font-size: 10px; font-weight: 600; margin-top: 2px; }
.auth-footer-link { margin-top: 16px; text-align: center; color: var(--muted); font-size: 12px; }
.auth-footer-link button { padding: 2px; border: 0; background: transparent; color: var(--brand); font-weight: 850; }

/* Provider detail */
.profile-hero { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-xs); }
.profile-cover { position: relative; height: 240px; background: linear-gradient(135deg,#e4eaff,#f8f9ff); overflow: hidden; }
.profile-cover img { width: 100%; height: 100%; object-fit: cover; }
.profile-cover-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(49,89,232,.18); font-size: 120px; font-weight: 950; }
.profile-cover::after { content: ""; position: absolute; inset: auto 0 0; height: 48%; background: linear-gradient(transparent,rgba(12,18,39,.3)); }
.profile-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 24px; }
.profile-title-wrap { display: flex; align-items: flex-start; gap: 16px; }
.profile-logo { width: 68px; height: 68px; margin-top: -50px; position: relative; z-index: 2; display: grid; place-items: center; flex: 0 0 auto; border: 4px solid #fff; border-radius: 19px; background: var(--brand); color: #fff; font-size: 34px; font-weight: 950; box-shadow: var(--shadow-sm); }
.profile-title h1 { margin: 0; font-size: 23px; letter-spacing: -.8px; }
.profile-title p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.profile-actions { display: flex; align-items: center; gap: 9px; }
.profile-trust { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.profile-trust-item { padding: 18px 22px; border-right: 1px solid var(--line); }
.profile-trust-item:last-child { border-right: 0; }
.profile-trust-item span { display: block; color: var(--muted); font-size: 11px; }
.profile-trust-item strong { display: block; margin-top: 4px; font-size: 16px; }
.profile-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 18px; margin-top: 18px; }
.profile-content { display: grid; gap: 18px; }
.profile-section { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.profile-section h2 { margin: 0 0 16px; font-size: 18px; }
.profile-section p { margin: 0; color: #4f5665; line-height: 1.85; }
.profile-side { display: grid; align-content: start; gap: 14px; }
.sticky-card { position: sticky; top: calc(var(--header-h) + 20px); padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.sticky-card h3 { margin: 0 0 8px; font-size: 16px; }
.sticky-card p { margin: 0 0 16px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.sticky-price { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 14px; padding: 12px; border-radius: 12px; background: var(--brand-50); }
.sticky-price span { color: var(--muted); font-size: 11px; }
.sticky-price strong { color: var(--brand-700); font-size: 14px; }

/* Wizard */
.wizard-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 18px; align-items: start; }
.wizard-side { position: sticky; top: calc(var(--header-h) + 22px); padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.wizard-side h3 { margin: 0 0 7px; font-size: 15px; }
.wizard-side p { margin: 0 0 20px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.wizard-progress-label { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.progress { height: 7px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: var(--surface-3); }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--brand),#6c85f3); transition: width .25s ease; }
.wizard-mini-steps { display: grid; gap: 12px; margin-top: 23px; }
.wizard-mini-step { display: flex; align-items: center; gap: 9px; color: var(--muted-2); font-size: 11px; }
.wizard-mini-step i { width: 21px; height: 21px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--surface-3); font-style: normal; font-size: 9px; font-weight: 900; }
.wizard-mini-step.active { color: var(--brand-700); font-weight: 800; }
.wizard-mini-step.active i { background: var(--brand); color: #fff; }
.wizard { min-height: 530px; display: flex; flex-direction: column; padding: 31px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-xs); }
.wizard-question { flex: 1; }
.wizard-step-label { display: inline-flex; min-height: 27px; align-items: center; padding: 0 9px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: 10px; font-weight: 900; }
.wizard-question h2 { margin: 18px 0 7px; font-size: 25px; letter-spacing: -1px; }
.wizard-question > p { margin: 0 0 25px; color: var(--muted); font-size: 13px; }
.option-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.option { min-height: 59px; display: flex; align-items: center; gap: 11px; padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 13px; background: #fff; text-align: left; font-weight: 750; font-size: 13px; transition: .16s ease; }
.option::before { content: ""; width: 18px; height: 18px; flex: 0 0 auto; border: 1.5px solid #cdd2df; border-radius: 6px; background: #fff; }
.option:hover { border-color: #aebbf1; background: #fbfcff; }
.option.selected { border-color: #95a9fb; background: var(--brand-50); color: var(--brand-700); box-shadow: 0 0 0 3px rgba(49,89,232,.06); }
.option.selected::before { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 4px var(--brand); }
.option-grid.single .option::before { border-radius: 50%; }
.wizard-input-wrap { max-width: 500px; margin-top: 22px; }
.wizard-confirm { display: grid; gap: 0; overflow: hidden; margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; }
.wizard-confirm-row { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.wizard-confirm-row:last-child { border-bottom: 0; }
.wizard-confirm-row span { color: var(--muted); font-size: 12px; }
.wizard-confirm-row strong { font-size: 12px; text-align: right; }
.wizard-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }

/* Wallet */
.wallet-balance { position: relative; overflow: hidden; padding: 28px; border-radius: 22px; background: linear-gradient(135deg,#202d50,#334a7b); color: #fff; box-shadow: var(--shadow-md); }
.wallet-balance::after { content: "₩"; position: absolute; right: 28px; bottom: -42px; color: rgba(255,255,255,.07); font-size: 155px; font-weight: 900; line-height: 1; }
.wallet-balance > * { position: relative; z-index: 1; }
.wallet-balance > span { color: #c7d0e6; font-size: 12px; }
.wallet-balance .amount { margin-top: 8px; font-size: 35px; font-weight: 900; letter-spacing: -1.4px; }
.wallet-split { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 25px; }
.wallet-split div { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.08); }
.wallet-split span { display: block; color: #b9c3dc; font-size: 10px; }
.wallet-split strong { display: block; margin-top: 4px; font-size: 13px; }
.charge-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; }
.charge-btn { min-height: 48px; }
.ledger-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ledger-row:last-child { border-bottom: 0; }
.ledger-type { display: flex; align-items: center; gap: 10px; }
.ledger-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-3); color: var(--muted); }
.ledger-type strong { display: block; font-size: 12px; }
.ledger-type span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.ledger-amount { text-align: right; font-weight: 900; }

/* Chat */
.chat-layout { height: calc(100vh - var(--header-h) - 110px); min-height: 560px; display: grid; grid-template-columns: 315px minmax(0,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-xs); }
.chat-list { overflow-y: auto; border-right: 1px solid var(--line); background: #fbfbfd; }
.chat-list-head { padding: 18px; border-bottom: 1px solid var(--line); background: #fff; }
.chat-list-head strong { font-size: 14px; }
.chat-room-item { position: relative; display: grid; grid-template-columns: 43px 1fr auto; gap: 11px; align-items: center; padding: 14px 15px; border-bottom: 1px solid var(--line); cursor: pointer; transition: .15s ease; }
.chat-room-item:hover { background: #f4f6fb; }
.chat-room-item.active { background: var(--brand-50); }
.chat-room-avatar { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--brand); font-weight: 900; }
.chat-room-copy { min-width: 0; }
.chat-room-copy strong { display: block; font-size: 12px; }
.chat-room-copy p { margin: 4px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 10px; }
.chat-room-time { align-self: start; color: var(--muted-2); font-size: 9px; }
.unread-dot { position: absolute; right: 15px; bottom: 14px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 9px; font-weight: 900; }
.chat-panel { min-width: 0; display: grid; grid-template-rows: auto 1fr auto; background: #fff; }
.chat-panel-head { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.chat-panel-head strong { display: block; font-size: 14px; }
.chat-panel-head span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.chat-messages { overflow-y: auto; padding: 22px; background: #f7f8fc; }
.message-row { display: flex; margin-bottom: 12px; }
.message-row.mine { justify-content: flex-end; }
.message-row.system { justify-content: center; }
.bubble { max-width: min(68%,520px); padding: 10px 13px; border-radius: 6px 14px 14px 14px; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; line-height: 1.65; box-shadow: var(--shadow-xs); }
.message-row.mine .bubble { border: 0; border-radius: 14px 6px 14px 14px; background: var(--brand); color: #fff; }
.message-row.system .bubble { max-width: 80%; padding: 6px 10px; border: 0; border-radius: 999px; background: #e9ecf3; color: var(--muted); font-size: 9px; box-shadow: none; }
.chat-compose { display: flex; align-items: flex-end; gap: 9px; padding: 14px; border-top: 1px solid var(--line); background: #fff; }
.chat-compose .input { flex: 1; }

/* Modal / toast */
.modal-backdrop { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; background: rgba(16,22,39,.56); backdrop-filter: blur(5px); }
.modal { width: min(570px,100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 25px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); animation: modalIn .18s ease; }
@keyframes modalIn { from { transform: translateY(10px) scale(.985); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.modal-head h2 { margin: 0; font-size: 20px; letter-spacing: -.7px; }
.modal-head p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.toast-wrap { position: fixed; z-index: 220; right: 22px; top: 82px; display: grid; gap: 8px; }
.toast { min-width: 270px; max-width: 420px; display: flex; align-items: center; gap: 9px; padding: 13px 15px; border-radius: 13px; background: #202638; color: #fff; box-shadow: var(--shadow-lg); font-size: 12px; font-weight: 700; animation: toastIn .2s ease; }
@keyframes toastIn { from { transform: translateY(-8px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Admin */
.admin-alert-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }
.admin-alert { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.admin-alert-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-alert-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--warning-bg); color: var(--warning); }
.admin-alert strong { display: block; margin-top: 14px; font-size: 21px; }
.admin-alert p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }

/* Legal / support */
.simple-page { min-height: 100vh; background: var(--surface-2); }
.simple-header .header-inner { justify-content: space-between; }
.simple-main { padding: 48px 0 80px; }
.simple-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 24px; align-items: start; }
.simple-nav { position: sticky; top: calc(var(--header-h) + 20px); padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.simple-nav a { display: block; padding: 10px 11px; border-radius: 9px; color: var(--muted); font-size: 12px; font-weight: 700; }
.simple-nav a:hover, .simple-nav a.active { background: var(--brand-50); color: var(--brand-700); }
.legal-card { padding: 36px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.legal-card h1 { margin: 0 0 8px; font-size: 28px; letter-spacing: -1.1px; }
.legal-card .updated { color: var(--muted); font-size: 12px; }
.legal-card h2 { margin: 32px 0 10px; font-size: 17px; }
.legal-card p, .legal-card li { color: #505767; font-size: 13px; line-height: 1.9; }
.legal-card ul { padding-left: 20px; }
.support-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; margin-top: 22px; }
.support-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.support-card .support-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-50); color: var(--brand); }
.support-card h3 { margin: 14px 0 6px; font-size: 15px; }
.support-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

/* Responsive */
@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: 1fr 430px; gap: 38px; }
  .hero-copy h1 { font-size: 46px; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .category-grid { grid-template-columns: repeat(4,1fr); }
  .filter-bar { grid-template-columns: minmax(200px,1.7fr) repeat(2,1fr) auto; }
  .filter-bar .hide-tablet { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .container, .container-wide { width: min(100% - 30px,1180px); }
  .main-nav { display: none; }
  .landing-body .header-actions .btn-secondary { display: none; }
  .hero { padding: 62px 0 55px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy > p, .hero-search { margin-left: auto; margin-right: auto; }
  .hero-points { justify-content: center; }
  .hero-product { width: min(540px,100%); margin: 0 auto; min-height: 450px; }
  .hero-dashboard { inset: 10px 15px 0; }
  .hero-float.one { left: 0; }
  .hero-float.two { right: 0; }
  .trust-inner { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .process-line { display: none; }
  .role-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1/-1; }
  .app-shell .header-inner { padding: 0 15px; }
  .mobile-menu-btn { display: inline-flex; }
  .app-layout { display: block; }
  .sidebar { position: fixed; z-index: 120; top: var(--header-h); left: 0; width: min(300px,84vw); height: calc(100vh - var(--header-h)); transform: translateX(-105%); transition: transform .22s ease; box-shadow: var(--shadow-lg); }
  .app-shell.drawer-open .sidebar { transform: translateX(0); }
  .mobile-drawer-backdrop { position: fixed; z-index: 110; inset: var(--header-h) 0 0; background: rgba(16,22,39,.45); }
  .app-shell.drawer-open .mobile-drawer-backdrop { display: block; }
  .content-area { padding: 26px 20px 90px; }
  .mobile-bottom { position: fixed; z-index: 75; left: 0; right: 0; bottom: 0; height: 67px; display: grid; grid-template-columns: repeat(5,1fr); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); backdrop-filter: blur(16px); }
  .mobile-bottom a { display: grid; place-items: center; align-content: center; gap: 3px; color: var(--muted); font-size: 9px; font-weight: 750; }
  .mobile-bottom a .icon { width: 20px; height: 20px; }
  .mobile-bottom a.active { color: var(--brand); }
  .profile-layout { grid-template-columns: 1fr; }
  .sticky-card { position: static; }
  .wizard-layout { grid-template-columns: 1fr; }
  .wizard-side { position: static; }
  .wizard-mini-steps { display: none; }
  .chat-layout { grid-template-columns: 250px minmax(0,1fr); }
  .simple-layout { grid-template-columns: 1fr; }
  .simple-nav { position: static; display: flex; overflow-x: auto; }
  .simple-nav a { white-space: nowrap; }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  .container, .container-wide { width: min(100% - 24px,1180px); }
  .site-header .brand-word { font-size: 19px; }
  .brand-symbol { width: 32px; height: 32px; border-radius: 10px; font-size: 21px; }
  .landing-body .header-actions .btn { min-height: 38px; padding: 0 12px; font-size: 12px; }
  .hero { padding: 48px 0 42px; }
  .hero-copy h1 { margin-top: 15px; font-size: 36px; letter-spacing: -2px; }
  .hero-copy > p { font-size: 15px; line-height: 1.7; }
  .hero-search { display: grid; grid-template-columns: 42px 1fr; padding: 6px; }
  .hero-search .btn { grid-column: 1/-1; width: 100%; margin-top: 5px; }
  .hero-point:nth-child(3) { display: none; }
  .hero-product { min-height: 355px; }
  .hero-dashboard { inset: 6px 0 0; padding: 14px; border-radius: 20px; }
  .demo-layout { grid-template-columns: 73px 1fr; gap: 10px; }
  .demo-metrics { gap: 5px; }
  .demo-metric { padding: 8px; }
  .hero-float { display: none; }
  .trust-inner { min-height: auto; }
  .trust-item { min-height: 58px; padding: 8px; font-size: 11px; }
  .section { padding: 56px 0; }
  .section-head { align-items: flex-start; margin-bottom: 21px; }
  .section-head h2 { font-size: 25px; }
  .section-head p { font-size: 13px; }
  .category-grid { gap: 10px; }
  .category-card { min-height: 137px; padding: 16px; }
  .category-icon { width: 40px; height: 40px; margin-bottom: 13px; }
  .process-card { padding: 22px; }
  .role-card { min-height: 280px; padding: 25px; }
  .role-card h3 { font-size: 23px; }
  .cta-section { padding: 50px 0; }
  .cta-box { display: block; padding: 31px 25px; border-radius: 22px; }
  .cta-box h2 { font-size: 24px; }
  .cta-box .btn { width: 100%; margin-top: 21px; }
  .footer { padding-top: 42px; }
  .footer-grid { grid-template-columns: 1fr; gap: 27px; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 7px; }
  .app-shell .site-header .header-actions .header-user-meta, .app-shell .site-header .header-actions .btn span.btn-label { display: none; }
  .app-shell .site-header .header-actions { gap: 5px; }
  .app-shell .site-header .btn { min-height: 38px; padding: 0 10px; }
  .content-area { padding: 21px 12px 88px; }
  .page-head { display: block; margin-bottom: 18px; }
  .page-head h1 { font-size: 24px; }
  .page-head-actions { margin-top: 14px; }
  .page-head-actions .btn { flex: 1; }
  .dashboard-hero { display: block; min-height: auto; padding: 25px; }
  .dashboard-hero h2 { font-size: 23px; }
  .dashboard-hero .btn { width: 100%; margin-top: 19px; }
  .metric-grid { gap: 9px; }
  .metric { min-height: 105px; padding: 15px; }
  .metric strong { font-size: 21px; }
  .cards { grid-template-columns: 1fr; }
  .provider-cover { height: 170px; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .filter-bar .input-group { grid-column: 1/-1; }
  .filter-bar .btn { grid-column: 1/-1; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 19px; border-radius: 16px; }
  .profile-cover { height: 185px; }
  .profile-head { grid-template-columns: 1fr; padding: 18px; }
  .profile-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .profile-actions .btn-primary { grid-column: 1/-1; }
  .profile-trust-item { padding: 14px; }
  .profile-trust-item strong { font-size: 14px; }
  .profile-layout { gap: 12px; margin-top: 12px; }
  .profile-section { padding: 19px; }
  .wizard { min-height: 490px; padding: 21px 17px; }
  .wizard-side { padding: 18px; }
  .wizard-question h2 { font-size: 22px; }
  .option-grid { grid-template-columns: 1fr; }
  .option { min-height: 55px; }
  .wizard-confirm-row { grid-template-columns: 105px 1fr; padding: 12px; }
  .wallet-split { gap: 6px; }
  .wallet-balance { padding: 22px; }
  .wallet-balance .amount { font-size: 30px; }
  .wallet-split div { padding: 9px; }
  .charge-grid { grid-template-columns: repeat(2,1fr); }
  .chat-layout { height: calc(100vh - var(--header-h) - 82px); min-height: 500px; grid-template-columns: 1fr; }
  .chat-list { display: block; border-right: 0; }
  .chat-panel { display: none; }
  .chat-layout.room-open .chat-list { display: none; }
  .chat-layout.room-open .chat-panel { display: grid; }
  .chat-back { display: inline-flex !important; }
  .bubble { max-width: 82%; }
  .modal-backdrop { align-items: end; padding: 0; }
  .modal { width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; padding: 22px 17px calc(22px + env(safe-area-inset-bottom)); }
  .toast-wrap { left: 12px; right: 12px; top: 72px; }
  .toast { min-width: 0; width: 100%; }
  .admin-alert-grid { grid-template-columns: 1fr; }
  .simple-main { padding: 27px 0 60px; }
  .legal-card { padding: 23px 18px; }
  .legal-card h1 { font-size: 24px; }
  .support-grid { grid-template-columns: 1fr; }
}


@media (max-width: 1180px) {
  .footer-disclaimer,
  .business-info-row {
    white-space: normal;
  }

  .business-info-row {
    flex-wrap: wrap;
    row-gap: 3px;
  }
}

/* 2026-08 연결 이용권·공통 푸터·모바일 안정화 */
html, body { max-width: 100%; overflow-x: hidden; }
.app-layout, .content-area, .content-inner, .page-head > *, .card, .form-card, .profile-content, .profile-side, .wizard, .wizard-layout > *, .list-item > *, .request-footer > * { min-width: 0; }
.mobile-full { max-width: 100%; }
.app-footer { padding-bottom: 95px; }
.business-footer-grid { align-items: start; }

.footer-business {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.09);
}

.footer-business-copy { min-width: 0; }

.footer-disclaimer {
  margin: 0 0 7px;
  color: #98a2b7;
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: -.1px;
  white-space: nowrap;
}

.business-info {
  color: #98a2b7;
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: -.1px;
}

.business-info-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  margin: 3px 0;
  white-space: nowrap;
}

.business-info-row > * {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.business-info-row > * + *::before {
  content: "·";
  margin: 0 7px;
  color: #657086;
}

.business-info a {
  color: #aeb6c8;
  text-decoration: none;
}

.business-info a:hover {
  color: #d8ddea;
  text-decoration: none;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-bottom: 2px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  color: #d8ddea;
  transition: transform .16s ease, background-color .16s ease, color .16s ease;
}

a.footer-social-link:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.18);
  color: #fff;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-social-link.is-disabled {
  opacity: .62;
  cursor: default;
}
.wallet-policy { margin: 17px 0 0; color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.6; }
.ticket-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ticket-purchase-btn { min-height: 78px; flex-direction: column; gap: 7px; white-space: normal; }
.ticket-purchase-btn strong { font-size: 17px; }
.ticket-purchase-btn span { color: var(--muted); font-size: 12px; }
.direct-ticket-form { display: grid; grid-template-columns: minmax(220px,1fr) minmax(170px,.7fr) auto; gap: 15px; align-items: end; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.ticket-quantity-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
.ticket-quantity-row > span { font-weight: 800; }
.ticket-total { min-height: 46px; display: flex; flex-direction: column; justify-content: center; padding: 9px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.ticket-total span { color: var(--muted); font-size: 11px; }
.ticket-total strong { margin-top: 3px; font-size: 16px; }
.list-item-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.support-contact-box { margin-top: 24px; padding: 22px; border-radius: 16px; background: var(--brand-50); }
.support-contact-box h2 { margin-top: 0; }
.support-contact-box p { margin: 4px 0; }
.support-contact-box a { color: var(--brand-700); font-weight: 800; }

@media (max-width: 900px) {
  .header-inner { gap: 12px; }
  .app-shell .header-inner { gap: 9px; }
  .app-footer { padding-bottom: 105px; }
  .page-head-actions { max-width: 100%; }
  .page-head-actions .btn { min-width: 0; }
  .filter-meta { flex-wrap: wrap; }
  .direct-ticket-form { grid-template-columns: 1fr 1fr; }
  .direct-ticket-form .btn { grid-column: 1/-1; }
}

@media (max-width: 640px) {
  .btn { max-width: 100%; min-height: 46px; padding: 0 14px; white-space: normal; word-break: keep-all; line-height: 1.3; text-align: center; }
  .btn-small { min-height: 40px; padding: 0 12px; }
  .mobile-full, .role-card .btn, .ticket-purchase .btn, .provider-profile .btn { width: 100%; }
  .landing-body .site-header .header-inner { gap: 8px; }
  .landing-body .header-actions { min-width: 0; }
  .landing-body .header-actions .btn-primary { max-width: 132px; padding: 0 10px; font-size: 11px; }
  .hero-copy h1 br { display: none; }
  .hero-search input, .input, .select, .textarea { min-width: 0; font-size: 16px; }
  .hero-search input { width: 100%; }
  .role-card .btn { margin-top: auto; }
  .page-head-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .page-head-actions .btn { width: 100%; }
  .profile-actions { width: 100%; }
  .profile-actions .btn { min-width: 0; }
  .request-footer { align-items: stretch; flex-direction: column; }
  .request-footer .card-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
  .request-footer .card-actions .btn { width: 100%; min-width: 0; }
  .card-actions { width: 100%; }
  .provider-card .card-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .provider-card .card-actions .btn { width: 100%; min-width: 0; }
  .list-item { align-items: flex-start; flex-direction: column; gap: 12px; }
  .list-item-main { width: 100%; }
  .list-item-copy strong { white-space: normal; overflow: visible; text-overflow: clip; word-break: keep-all; }
  .list-item-copy span { line-height: 1.55; word-break: break-word; }
  .list-item > .btn, .list-item-actions { width: 100%; }
  .list-item-actions { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .list-item-actions .btn { width: 100%; }
  .filter-bar { grid-template-columns: 1fr; }
  .filter-bar .input-group, .filter-bar .btn { grid-column: auto; }
  .filter-bar .select { width: 100%; }
  .filter-meta { display: grid; grid-template-columns: 1fr; }
  .wizard { min-height: 0; }
  .wizard-actions { position: sticky; bottom: calc(67px + env(safe-area-inset-bottom)); z-index: 6; margin: 24px -17px -21px; padding: 14px 17px calc(14px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); box-shadow: 0 -12px 24px rgba(15,23,42,.06); }
  .wizard-actions .btn { flex: 1; min-width: 0; }
  .wizard-confirm-row { grid-template-columns: 92px minmax(0,1fr); }
  .wizard-confirm-row strong { word-break: keep-all; overflow-wrap: anywhere; }
  .ticket-grid { grid-template-columns: 1fr; }
  .ticket-purchase-btn { width: 100%; min-height: 68px; }
  .direct-ticket-form { grid-template-columns: 1fr; }
  .direct-ticket-form .btn { grid-column: auto; }
  .wallet-split { grid-template-columns: 1fr; }
  .ledger-row { align-items: flex-start; gap: 10px; }
  .ledger-amount { flex: 0 0 auto; }
  .modal-head { align-items: flex-start; gap: 12px; }
  .modal-head h2 { font-size: 20px; word-break: keep-all; }
  .modal .checkbox-row { align-items: flex-start; }
  .chat-compose { grid-template-columns: minmax(0,1fr) 46px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .simple-header .header-inner { gap: 8px; }
  .simple-header .btn { flex: 0 0 auto; max-width: 118px; font-size: 11px; }
  .simple-nav { gap: 4px; scrollbar-width: none; }
  .simple-nav::-webkit-scrollbar { display: none; }
  .footer-business {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 15px;
  }

  .footer-disclaimer {
    font-size: 11px;
    white-space: normal;
    word-break: keep-all;
  }

  .business-info {
    font-size: 11px;
  }

  .business-info-row {
    flex-wrap: wrap;
    white-space: normal;
    row-gap: 3px;
    word-break: keep-all;
  }

  .footer-social {
    justify-content: flex-start;
    padding-bottom: 0;
  }

  .footer-links a { min-height: 32px; display: flex; align-items: center; }
}

@media (max-width: 380px) {
  .container, .container-wide { width: min(100% - 20px,1180px); }
  .site-header .brand-word { font-size: 17px; }
  .brand-symbol { width: 30px; height: 30px; font-size: 19px; }
  .landing-body .header-actions .btn-primary { max-width: 112px; font-size: 10px; }
  .app-shell .header-inner { padding: 0 10px; }
  .content-area { padding-left: 10px; padding-right: 10px; }
  .hero-copy h1 { font-size: 32px; }
  .metric-grid { grid-template-columns: 1fr; }
  .profile-trust { grid-template-columns: 1fr; }
  .profile-trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .profile-trust-item:last-child { border-bottom: 0; }
  .request-footer .card-actions, .provider-card .card-actions { grid-template-columns: 1fr; }
  .list-item-actions { grid-template-columns: 1fr; }
  .wizard-actions { flex-direction: column-reverse; }
  .wizard-actions .btn { width: 100%; }
}

/* Narrow mobile headline stability */
.dashboard-hero h2, .cta-box h2, .role-card h3, .wizard-question h2 { word-break: keep-all; overflow-wrap: break-word; }
@media (max-width: 380px) {
  .dashboard-hero h2 { font-size: 21px; letter-spacing: -.7px; }
}

/* 2026-08 로그인·회원가입 화면 전용 반응형 보정 */
.auth-page .app-layout {
  display: block;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
}

.auth-page .sidebar,
.auth-page .mobile-drawer-backdrop,
.auth-page .mobile-bottom,
.auth-page .mobile-menu-btn {
  display: none !important;
}

.auth-page .content-area {
  width: 100%;
  padding: 34px 24px 72px;
}

.auth-page .content-inner {
  width: min(1050px, 100%);
  margin: 0 auto;
}

.auth-page .auth-wrap {
  width: 100%;
  min-width: 0;
}

.auth-page .auth-wrap > *,
.auth-page .login-card,
.auth-page .login-card form,
.auth-page .login-card .field,
.auth-page .login-card .input-group {
  min-width: 0;
  max-width: 100%;
}

.auth-page .app-footer {
  padding-bottom: 38px;
}

@media (max-width: 900px) {
  .auth-page .content-area {
    padding: 28px 20px 56px;
  }

  .auth-page .content-inner {
    width: min(460px, 100%);
  }

  .auth-page .auth-wrap {
    display: block;
    min-height: auto;
    padding: 20px 0 40px;
  }

  .auth-page .auth-visual {
    display: none !important;
  }

  .auth-page .login-card {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 28px 24px;
    border-radius: 20px;
  }
}

@media (max-width: 640px) {
  .auth-page .site-header .header-inner {
    gap: 8px;
    padding: 0 14px;
  }

  .auth-page .site-header .brand {
    min-width: 0;
    margin-right: auto;
  }

  .auth-login-page .header-actions a[href="#login"] {
    display: none;
  }

  .auth-signup-page .header-actions {
    display: none;
  }

  .auth-page .content-area {
    padding: 18px 12px 42px;
  }

  .auth-page .content-inner {
    width: 100%;
  }

  .auth-page .auth-wrap {
    padding: 12px 0 28px;
  }

  .auth-page .login-card {
    padding: 24px 18px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(24, 34, 82, .08);
  }

  .auth-page .auth-title {
    margin-bottom: 22px;
  }

  .auth-page .auth-title h1 {
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -1px;
    word-break: keep-all;
  }

  .auth-page .auth-title p,
  .auth-page .checkbox-row span {
    word-break: keep-all;
  }

  .auth-page .login-card .input,
  .auth-page .login-card .select,
  .auth-page .login-card .textarea {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }

  .auth-page .login-card .btn {
    width: 100%;
  }

  .auth-page .auth-footer-link button {
    width: auto;
    min-height: 34px;
    padding: 4px;
  }
}

@media (max-width: 380px) {
  .auth-page .site-header .header-inner {
    padding: 0 10px;
  }

  .auth-page .site-header .brand-word {
    font-size: 17px;
  }

  .auth-login-page .header-actions .btn-primary {
    max-width: 104px;
    padding: 0 9px;
    font-size: 10px;
  }

  .auth-page .content-area {
    padding-left: 10px;
    padding-right: 10px;
  }

  .auth-page .login-card {
    padding: 22px 16px;
  }
}

/* 2026-08 인증 UX 보완: 비밀번호 보기·이메일 인증 확인창 */
.password-input-group .input {
  padding-right: 50px;
}

.password-toggle {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 6px;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted-2);
  transition: background-color .16s ease, color .16s ease;
}

.password-toggle:hover {
  background: var(--surface-3);
  color: var(--ink-soft);
}

.password-toggle:focus-visible {
  outline: 2px solid rgba(49,89,232,.35);
  outline-offset: 1px;
}

.password-toggle[data-visible="true"] {
  color: var(--brand);
}

.auth-notice-backdrop {
  place-items: center;
  padding: 20px;
}

.auth-notice-modal {
  width: min(430px, 100%);
  max-height: none;
  overflow: visible;
  padding: 30px;
  border-radius: 22px;
  text-align: center;
}

.auth-notice-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--brand-50);
  color: var(--brand);
}

.auth-notice-modal h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -.8px;
  word-break: keep-all;
}

.auth-notice-modal p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  word-break: keep-all;
}

.auth-notice-email {
  margin: 17px 0 20px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.auth-notice-modal .btn {
  margin-top: 20px;
}

@media (max-width: 640px) {
  .auth-notice-backdrop {
    align-items: center;
    padding: 18px;
  }

  .auth-notice-modal {
    width: 100%;
    max-height: calc(100dvh - 36px);
    padding: 26px 20px calc(24px + env(safe-area-inset-bottom));
    border-radius: 20px;
  }

  .auth-notice-modal h2 {
    font-size: 21px;
  }

  .auth-notice-modal p,
  .auth-notice-email {
    font-size: 12px;
  }
}

