@charset "utf-8";
/* ==================================================================
   비즈차이나 - 서비스관리 디자인 시스템 (sm- 네임스페이스)
   시안: servicemain.html / user_purchasing_list.html 기준
   ================================================================== */

:root {
	--sm-navy:   #0f172a;
	--sm-navy2:  #1e3a5f;
	--sm-p:      #007bff;
	--sm-cyan:   #0099cc;
	--sm-cyan-l: #00b8e6;
	--sm-gold:   #ffc53d;
	--sm-text:   #1e293b;
	--sm-text2:  #64748b;
	--sm-text3:  #94a3b8;
	--sm-bg:     #ffffff;
	--sm-bg2:    #f8fafc;
	--sm-line:   #e8edf2;
	--sm-line2:  rgba(0, 123, 255, .15);
	--sm-mono:   "Consolas", "JetBrains Mono", monospace;
	--sm-r:      14px;
	--sm-shadow:    0 4px 24px rgba(15, 23, 42, .06);
	--sm-shadow-lg: 0 12px 40px rgba(15, 23, 42, .08);
}

/* ── 레이아웃 ─────────────────────────────────────────────── */
.sm-page { background: var(--sm-bg2); min-height: 100vh; }

.sm-wrap {
	max-width: 100%;
	margin: 0 auto;
}

/* 상단 네이비 스트립 */
.sm-topbar {
	background: linear-gradient(135deg, #060d1a, #0f2140);
	border-bottom: 1px solid rgba(0, 184, 230, .25);
}
.sm-topbar-inner {
	max-width: 100%;
	margin: 0 auto;
	padding: 14px clamp(1rem, 4vw, 2rem);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}
.sm-brand {
	font-family: var(--sm-mono);
	font-size: 10px;
	letter-spacing: .16em;
	color: #00d4ff;
	font-weight: 700;
	text-decoration: none;
}
.sm-brand:hover { color: #7ee7ff; }
.sm-member { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #94a3b8; }
.sm-member em { font-style: normal; color: #fff; font-weight: 700; }
.sm-tier {
	padding: 4px 10px;
	border: 1px solid rgba(255, 197, 61, .4);
	background: rgba(255, 197, 61, .1);
	color: var(--sm-gold);
	border-radius: 6px;
	font-size: 10px;
	font-weight: 700;
}
.sm-topbar-home {
	font-size: 11px; font-weight: 700; color: #94a3b8; text-decoration: none;
	padding: 4px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 6px;
}
.sm-topbar-home:hover { color: #fff; border-color: rgba(255,255,255,.3); }

/* 흰 본문 카드 */
.sm-body {
	background: var(--sm-bg);
	border-radius: 0 0 20px 20px;
	box-shadow: var(--sm-shadow);
	padding: 36px clamp(1rem, 4vw, 2rem) 48px;
	margin-bottom: 24px;
}

/* ── 히어로 ───────────────────────────────────────────────── */
.sm-hero { margin-bottom: 28px; }
.sm-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sm-eyebrow::before {
	content: ""; width: 24px; height: 2px;
	background: linear-gradient(90deg, var(--sm-cyan), transparent);
}
.sm-eyebrow span {
	font-family: var(--sm-mono);
	font-size: 10px; letter-spacing: .14em;
	color: var(--sm-cyan); font-weight: 700;
}
.sm-hero h1 {
	font-size: clamp(24px, 3.5vw, 30px);
	font-weight: 900; letter-spacing: -.04em;
	color: var(--sm-navy); margin-bottom: 8px;
}
.sm-hero h1 em { font-style: normal; color: var(--sm-navy2); }
.sm-hero p { font-size: 14px; color: var(--sm-text2); max-width: 560px; }

/* ── KPI ─────────────────────────────────────────────────── */
.sm-kpi {
	display: grid;
	grid-template-columns: 1.2fr repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 32px;
}
.sm-kpi-item {
	background: var(--sm-bg);
	border: 1px solid var(--sm-line);
	border-radius: var(--sm-r);
	padding: 22px;
	box-shadow: var(--sm-shadow);
	transition: box-shadow .3s, transform .3s;
}
.sm-kpi-item:hover { box-shadow: var(--sm-shadow-lg); transform: translateY(-2px); }
.sm-kpi-item.main {
	background: linear-gradient(145deg, #060d1a, #152a4a);
	border-color: rgba(0, 184, 230, .2);
	color: #fff;
}
.sm-kpi-item.main .sm-kpi-k,
.sm-kpi-item.main .sm-kpi-s { color: #64748b; }
.sm-kpi-item.main .sm-kpi-v { color: #fff; }
.sm-kpi-item.main .sm-kpi-v .unit { color: #94a3b8; }

.sm-kpi-k {
	font-family: var(--sm-mono);
	font-size: 9px; letter-spacing: .12em;
	color: var(--sm-text3); text-transform: uppercase;
	margin-bottom: 8px; font-weight: 700;
}
.sm-kpi-v {
	font-size: 26px; font-weight: 900;
	letter-spacing: -.03em; color: var(--sm-navy);
	line-height: 1.25; word-break: break-all;
}
.sm-kpi-v .unit { font-size: 12px; font-weight: 600; color: var(--sm-text2); margin-left: 4px; }
.sm-kpi-s { font-size: 11px; color: var(--sm-text3); margin-top: 6px; }
.sm-kpi-action {
	display: inline-block; margin-top: 12px;
	padding: 8px 16px;
	background: linear-gradient(135deg, #007bff, #0056b3);
	color: #fff; font-size: 11px; font-weight: 700;
	text-decoration: none; border-radius: 8px;
}
.sm-kpi-action:hover { color: #fff; filter: brightness(1.1); }

/* ── 섹션 헤더 ────────────────────────────────────────────── */
.sm-sec-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sm-sec-hd::before {
	content: ""; width: 3px; height: 16px;
	background: linear-gradient(180deg, var(--sm-cyan), var(--sm-p));
	border-radius: 2px;
}
.sm-sec-hd h2 {
	font-size: 13px; font-weight: 800;
	letter-spacing: .06em; text-transform: uppercase;
	color: var(--sm-navy); margin: 0;
}
.sm-sec-hd span { font-size: 12px; color: var(--sm-text3); margin-left: 4px; }

/* ── 서비스 현황 ──────────────────────────────────────────── */
.sm-status { margin-bottom: 28px; }

.sm-status-banner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 20px; padding: 22px 28px;
	background: linear-gradient(135deg, #060d1a 0%, #0f2140 55%, #152a4a 100%);
	border-radius: var(--sm-r) var(--sm-r) 0 0;
	border: 1px solid rgba(0, 184, 230, .15);
	border-bottom: none;
	position: relative; overflow: hidden;
	flex-wrap: wrap;
}
.sm-status-banner::before {
	content: ""; position: absolute; inset: 0;
	background:
		radial-gradient(ellipse 60% 80% at 100% 0%, rgba(0, 212, 255, .12), transparent),
		linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
	background-size: auto, 24px 24px, 24px 24px;
	pointer-events: none;
}
.sm-status-banner > * { position: relative; z-index: 1; }
.sm-status-banner-k {
	font-family: var(--sm-mono); font-size: 9px; letter-spacing: .14em;
	color: #00d4ff; font-weight: 700; margin-bottom: 6px;
}
.sm-status-banner h3 { font-size: 18px; font-weight: 900; color: #fff; letter-spacing: -.03em; margin: 0; }
.sm-status-banner p { font-size: 12px; color: #64748b; margin-top: 4px; }
.sm-status-banner-stats { display: flex; gap: 28px; flex-shrink: 0; }
.sm-status-banner-stat { text-align: right; }
.sm-status-banner-stat b {
	display: block; font-family: var(--sm-mono);
	font-size: 28px; font-weight: 800; color: #fff;
	letter-spacing: -.03em; line-height: 1;
}
.sm-status-banner-stat span {
	font-size: 10px; color: #64748b;
	letter-spacing: .08em; text-transform: uppercase;
}
.sm-status-banner-stat.gold b { color: var(--sm-gold); }

.sm-status-grid {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 1px; background: var(--sm-line);
	border: 1px solid var(--sm-line); border-top: none;
	border-radius: 0 0 var(--sm-r) var(--sm-r);
	overflow: hidden; box-shadow: var(--sm-shadow-lg);
}

.sm-status-card {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"head    ring"
		"name    ring"
		"metrics ring"
		"foot    foot";
	gap: 0 16px;
	padding: 22px 24px;
	background: #fff;
	text-decoration: none; color: inherit;
	position: relative;
	transition: background .35s;
	min-height: 168px;
}
.sm-status-card::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0;
	width: 3px; background: var(--st-accent, var(--sm-cyan));
	opacity: 0; transition: opacity .3s;
}
.sm-status-card:hover { background: #fafbfd; z-index: 1; }
.sm-status-card:hover::before { opacity: 1; }
.sm-status-card.is-top {
	grid-column: span 2;
	background: linear-gradient(145deg, #fafbfd 0%, #fff 100%);
	min-height: 148px;
}
.sm-status-card.is-top::after {
	content: ""; position: absolute; top: 0; right: 0;
	width: 180px; height: 100%;
	background: radial-gradient(circle at 100% 0%, rgba(0, 123, 255, .06), transparent 70%);
	pointer-events: none;
}

.sm-st-idx {
	position: absolute; top: 14px; right: 18px;
	font-family: var(--sm-mono); font-size: 42px; font-weight: 900;
	color: #f1f5f9; line-height: 1; letter-spacing: -.04em;
	pointer-events: none;
}
.sm-status-card.is-top .sm-st-idx { color: rgba(0, 123, 255, .08); font-size: 56px; }

.sm-st-head { grid-area: head; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.sm-st-code {
	font-family: var(--sm-mono); font-size: 10px; font-weight: 800;
	letter-spacing: .1em; padding: 4px 10px; border-radius: 6px;
	background: rgba(0, 153, 204, .08);
	border: 1px solid rgba(0, 123, 255, .12);
	color: var(--st-accent, var(--sm-cyan));
}
.sm-st-badge {
	font-size: 9px; font-weight: 700; letter-spacing: .06em;
	padding: 3px 8px; border-radius: 999px;
	background: rgba(16, 185, 129, .1); color: #059669;
	border: 1px solid rgba(16, 185, 129, .2);
}
.sm-st-name {
	grid-area: name; font-size: 15px; font-weight: 800;
	color: var(--sm-navy); letter-spacing: -.02em; margin: 0 0 12px;
}
.sm-status-card.is-top .sm-st-name { font-size: 17px; }

.sm-st-metrics { grid-area: metrics; align-self: end; margin-bottom: 14px; }
.sm-st-count strong {
	font-family: var(--sm-mono); font-size: 32px; font-weight: 900;
	color: var(--sm-navy); letter-spacing: -.04em; line-height: 1;
}
.sm-status-card.is-top .sm-st-count strong { font-size: 40px; }
.sm-st-count span { font-size: 13px; font-weight: 700; color: var(--sm-text3); margin-left: 4px; }

.sm-st-foot {
	grid-area: foot; display: flex; align-items: center; justify-content: space-between;
	padding-top: 14px; border-top: 1px solid #f1f5f9; gap: 12px;
}
.sm-st-date { font-family: var(--sm-mono); font-size: 11px; color: var(--sm-text3); }
.sm-st-date em { font-style: normal; color: var(--sm-text2); font-weight: 600; }
.sm-st-cta {
	font-size: 11px; font-weight: 800; color: var(--sm-navy2);
	letter-spacing: .02em; transition: color .2s, transform .2s;
}
.sm-status-card:hover .sm-st-cta { color: var(--sm-p); transform: translateX(3px); }

.sm-st-ring-wrap { grid-area: ring; align-self: center; position: relative; width: 64px; height: 64px; }
.sm-st-ring-wrap svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.sm-st-ring-pct {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	font-family: var(--sm-mono); font-size: 11px; font-weight: 800; color: var(--sm-navy);
}
.sm-st-share-lbl {
	position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%);
	font-size: 8px; letter-spacing: .1em; color: var(--sm-text3);
	text-transform: uppercase; white-space: nowrap;
}

/* ── 바로가기 카드 ────────────────────────────────────────── */
.sm-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
.sm-qcard {
	display: block; padding: 18px;
	background: var(--sm-bg); border: 1px solid var(--sm-line);
	border-radius: var(--sm-r); text-decoration: none; color: var(--sm-text);
	box-shadow: var(--sm-shadow); transition: all .25s;
}
.sm-qcard:hover { border-color: var(--sm-line2); transform: translateY(-3px); box-shadow: var(--sm-shadow-lg); color: var(--sm-text); }
.sm-qcard-code {
	font-family: var(--sm-mono); font-size: 9px; color: var(--sm-cyan);
	letter-spacing: .1em; margin-bottom: 6px; font-weight: 700;
}
.sm-qcard-name { font-size: 14px; font-weight: 800; margin-bottom: 4px; color: var(--sm-navy); }
.sm-qcard-meta { font-size: 11px; color: var(--sm-text3); }
.sm-qcard-meta strong { font-family: var(--sm-mono); color: var(--sm-p); }
.sm-qcard.charge {
	background: linear-gradient(145deg, #060d1a, #152a4a);
	border-color: rgba(0, 184, 230, .2); color: #fff;
}
.sm-qcard.charge .sm-qcard-code { color: #00d4ff; }
.sm-qcard.charge .sm-qcard-name { color: #fff; }
.sm-qcard.charge .sm-qcard-meta { color: #64748b; }
.sm-qcard.charge .sm-qcard-meta strong { color: #00d4ff; }

/* ── 이용 가이드 ──────────────────────────────────────────── */
.sm-guide-section { margin-bottom: 32px; }

.sm-guide-hero {
	position: relative; padding: 28px 32px 26px;
	background: linear-gradient(135deg, #060d1a 0%, #0f2140 50%, #152a4a 100%);
	border-radius: var(--sm-r); border: 1px solid rgba(0, 212, 255, .15);
	margin-bottom: 14px; overflow: hidden; box-shadow: var(--sm-shadow-lg);
}
.sm-guide-hero::before {
	content: ""; position: absolute; inset: 0;
	background:
		radial-gradient(ellipse 50% 80% at 0% 0%, rgba(255, 197, 61, .1), transparent),
		radial-gradient(ellipse 40% 60% at 100% 100%, rgba(0, 212, 255, .1), transparent);
	pointer-events: none;
}
.sm-guide-hero > * { position: relative; z-index: 1; }
.sm-guide-hero-hd {
	display: flex; align-items: flex-start; justify-content: space-between;
	gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.sm-guide-hero-code {
	font-family: var(--sm-mono); font-size: 10px; letter-spacing: .14em;
	color: var(--sm-gold); font-weight: 800; margin-bottom: 8px;
}
.sm-guide-hero h3 { font-size: 22px; font-weight: 900; color: #fff; letter-spacing: -.03em; margin: 0 0 6px; }
.sm-guide-hero p { font-size: 13px; color: #94a3b8; max-width: 480px; line-height: 1.7; }
.sm-guide-hero-badge {
	font-family: var(--sm-mono); font-size: 9px; letter-spacing: .12em;
	padding: 6px 12px; border: 1px solid rgba(255, 197, 61, .35);
	border-radius: 999px; color: var(--sm-gold);
	background: rgba(255, 197, 61, .08); white-space: nowrap;
}

.sm-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sm-gcard {
	display: flex; flex-direction: column; padding: 0;
	background: var(--sm-bg); border: 1px solid var(--sm-line);
	border-radius: var(--sm-r); box-shadow: var(--sm-shadow);
	overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.sm-gcard:hover { transform: translateY(-4px); box-shadow: var(--sm-shadow-lg); border-color: var(--sm-line2); }
.sm-gcard-accent { height: 3px; background: linear-gradient(90deg, var(--g-accent, var(--sm-cyan)), var(--g-accent2, var(--sm-p))); }
.sm-gcard-body { padding: 20px 22px 18px; flex: 1; display: flex; flex-direction: column; }
.sm-gcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.sm-gcard-code {
	font-family: var(--sm-mono); font-size: 9px; font-weight: 800; letter-spacing: .1em;
	color: var(--g-accent, var(--sm-cyan));
}
.sm-gcard-tag {
	font-size: 10px; font-weight: 700; color: var(--sm-text2);
	background: var(--sm-bg2); border: 1px solid var(--sm-line);
	padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.sm-gcard-hd { font-size: 15px; font-weight: 800; color: var(--sm-navy); letter-spacing: -.02em; margin-bottom: 8px; }
.sm-gcard p { font-size: 12px; color: var(--sm-text2); line-height: 1.7; margin-bottom: 14px; }

.sm-gcard-steps-lbl {
	font-family: var(--sm-mono); font-size: 8px; letter-spacing: .12em;
	color: var(--sm-text3); text-transform: uppercase; font-weight: 700; margin-bottom: 8px;
}
.sm-gsteps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.sm-gstep { display: inline-flex; align-items: center; gap: 5px; }
.sm-gstep-n {
	display: inline-flex; align-items: center; justify-content: center;
	width: 17px; height: 17px; border-radius: 50%;
	background: var(--g-accent, var(--sm-cyan)); color: #fff;
	font-family: var(--sm-mono); font-size: 9px; font-weight: 800; flex-shrink: 0;
}
.sm-gstep-t { font-size: 11px; font-weight: 600; color: var(--sm-text); }
.sm-gconn { color: #cbd5e1; font-size: 10px; }

.sm-gtip {
	font-size: 11px; color: var(--sm-text2); line-height: 1.6;
	background: var(--sm-bg2); border-left: 3px solid var(--g-accent, var(--sm-cyan));
	padding: 9px 12px; border-radius: 0 6px 6px 0; margin-bottom: 14px;
}
.sm-glinks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.sm-glinks a {
	font-size: 11px; font-weight: 700; text-decoration: none;
	padding: 7px 12px; border-radius: 8px;
	background: var(--sm-navy); color: #fff; transition: .2s;
}
.sm-glinks a.ghost {
	background: #fff; color: var(--sm-navy2); border: 1px solid var(--sm-line);
}
.sm-glinks a:hover { filter: brightness(1.15); }
.sm-glinks a.ghost:hover { background: var(--sm-bg2); filter: none; }

/* 가이드 히어로 내부 스텝(첫 카드용) */
.sm-guide-hero .sm-gstep-n { background: rgba(255, 197, 61, .9); color: #0f172a; }
.sm-guide-hero .sm-gstep-t { color: #cbd5e1; }
.sm-guide-hero .sm-gconn { color: #475569; }
.sm-guide-hero .sm-gtip {
	background: rgba(255, 255, 255, .05); color: #94a3b8;
	border-left-color: rgba(255, 197, 61, .6);
}
.sm-guide-hero .sm-gcard-steps-lbl { color: #64748b; }
.sm-guide-hero .sm-glinks a { background: rgba(255, 197, 61, .92); color: #0f172a; }
.sm-guide-hero .sm-glinks a.ghost {
	background: rgba(255, 255, 255, .06); color: #cbd5e1;
	border-color: rgba(255, 255, 255, .18);
}

/* ==================================================================
   목록 페이지 (신청 내역)
   ================================================================== */
.sm-list-wrap {
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
	padding: 36px clamp(1rem, 4vw, 2rem) 56px;
}

/* 브레드크럼 */
.sm-crumb {
	display: flex; align-items: center; flex-wrap: wrap; gap: 2px;
	font-size: 12px; color: var(--sm-text2); margin-bottom: 24px;
}
.sm-crumb a { color: var(--sm-text2); text-decoration: none; }
.sm-crumb a:hover { color: var(--sm-navy2); }
.sm-crumb .sep { margin: 0 7px; color: #cbd5e1; }
.sm-crumb .current { color: var(--sm-navy2); font-weight: 700; }

/* 페이지 히어로 */
.sm-page-hero {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 24px; flex-wrap: wrap;
	margin-bottom: 28px; padding-bottom: 28px;
	border-bottom: 1px solid #f1f5f9;
	position: relative;
}
.sm-page-hero::after {
	content: ""; position: absolute; left: 0; bottom: -1px;
	width: 64px; height: 3px;
	background: linear-gradient(90deg, #3b5bdb, #7ec8ff);
	border-radius: 2px;
}
.sm-page-hero-text { flex: 1; min-width: 240px; }
.sm-page-title {
	font-size: clamp(24px, 3.8vw, 32px); font-weight: 800;
	color: #0f2240; letter-spacing: -.045em; line-height: 1.15; margin: 0 0 8px;
}
.sm-page-desc { font-size: 14px; color: var(--sm-text2); font-weight: 500; margin: 0; }

/* 요약 스탯 칩 */
.sm-stat-row { display: flex; gap: 12px; flex-wrap: wrap; }
.sm-stat-chip {
	min-width: 120px; padding: 14px 18px;
	background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
	box-shadow: 0 1px 2px rgba(15, 34, 64, .05);
}
.sm-stat-chip .lbl {
	display: block; font-size: 11px; font-weight: 700; color: var(--sm-text2);
	letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px;
}
.sm-stat-chip .val {
	font-size: 20px; font-weight: 800; color: #0f2240;
	letter-spacing: -.03em; line-height: 1.2;
}
.sm-stat-chip .val small { font-size: 13px; font-weight: 700; color: var(--sm-text2); }
.sm-stat-chip.is-accent {
	background: linear-gradient(145deg, #f0f5ff 0%, #fff 100%);
	border-color: rgba(59, 91, 219, .25);
}
.sm-stat-chip.is-accent .val { color: #3b5bdb; }

/* 유형 전환 탭 */
.sm-type-tabs {
	display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap;
}
.sm-type-tab {
	flex: 1; min-width: 150px; text-align: center;
	padding: 13px 16px; font-size: 13.5px; font-weight: 700;
	color: var(--sm-text2); text-decoration: none;
	background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
	transition: all .2s;
}
.sm-type-tab:hover { border-color: #cbd5e1; color: #163058; }
.sm-type-tab.active {
	background: linear-gradient(180deg, #163058 0%, #0f2240 100%);
	border-color: #0f2240; color: #fff;
	box-shadow: 0 4px 14px rgba(15, 34, 64, .22);
}

/* 목록 패널 */
.sm-list-panel {
	background: #fff; border: 1px solid #e2e8f0; border-radius: 18px;
	box-shadow: 0 1px 2px rgba(15, 34, 64, .04), 0 12px 32px rgba(15, 34, 64, .08);
	overflow: hidden; position: relative;
}
.sm-list-panel::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
	background: linear-gradient(90deg, #163058 0%, #2a5088 55%, #3b5bdb 100%);
}
.sm-list-panel-hd {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; padding: 22px 28px;
	border-bottom: 1px solid #f1f5f9;
	background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}
.sm-list-panel-title {
	display: flex; align-items: center; gap: 12px;
	font-size: 16px; font-weight: 800; color: #0f2240;
	letter-spacing: -.025em; margin: 0;
}
.sm-list-panel-title::before {
	content: ""; width: 4px; height: 18px;
	background: linear-gradient(180deg, #3b5bdb, #1e4070);
	border-radius: 2px; box-shadow: 0 2px 6px rgba(59, 91, 219, .3);
}
.sm-total-count {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 14px; background: #f1f5f9; border: 1px solid #e2e8f0;
	border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--sm-text2);
}
.sm-total-count em { font-style: normal; font-weight: 800; color: #163058; font-size: 14px; }

/* 데이터 테이블 */
.sm-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sm-data-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.sm-data-table thead th {
	padding: 15px 20px; text-align: center;
	font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .75);
	text-transform: uppercase; letter-spacing: .07em;
	background: linear-gradient(180deg, #163058 0%, #0f2240 100%);
	border-bottom: 2px solid #3b5bdb; white-space: nowrap;
}
.sm-data-table thead th.col-id,
.sm-data-table tbody td.col-id { text-align: left; padding-left: 32px; }
.sm-data-table tbody tr { transition: background .2s ease; }
.sm-data-table tbody tr:hover { background: linear-gradient(90deg, rgba(59,91,219,.08) 0%, rgba(255,255,255,0) 80%); }
.sm-data-table tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 #3b5bdb; }
.sm-data-table tbody td {
	padding: 16px 16px; text-align: center; font-size: 14px;
	border-bottom: 1px solid #f1f5f9; vertical-align: middle;
	white-space: nowrap;
}
.sm-data-table tbody td.wrap { white-space: normal; word-break: break-word; }
.sm-data-table tbody tr:last-child td { border-bottom: none; }

.sm-cell-id {
	font-family: var(--sm-mono); font-size: 13px; font-weight: 600;
	color: #163058; letter-spacing: -.02em;
}
.sm-cell-date { font-size: 13px; font-weight: 500; color: #334155; font-variant-numeric: tabular-nums; }
.sm-cell-qty {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 50px; padding: 5px 14px;
	background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 999px;
	font-size: 13px; font-weight: 700; color: #163058;
}
.sm-cell-amount {
	font-size: 15px; font-weight: 800; color: #3b5bdb;
	letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.sm-cell-amount .unit { font-size: 11px; font-weight: 700; color: var(--sm-text2); margin-left: 3px; letter-spacing: 0; }

/* 상태 배지 */
.sm-sbadge {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 6px 14px 6px 12px; border-radius: 999px;
	font-size: 12px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap;
}
.sm-sbadge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.sm-sbadge.st-gray    { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }
.sm-sbadge.st-gray::before { background: #94a3b8; }
.sm-sbadge.st-blue    { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.sm-sbadge.st-blue::before { background: #3b82f6; }
.sm-sbadge.st-purple  { background: #ede9fe; color: #5b21b6; border: 1px solid #ddd6fe; }
.sm-sbadge.st-purple::before { background: #8b5cf6; }
.sm-sbadge.st-green   { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.sm-sbadge.st-green::before { background: #10b981; }
.sm-sbadge.st-red     { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }
.sm-sbadge.st-red::before { background: #f43f5e; }
.sm-sbadge.st-orange  { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.sm-sbadge.st-orange::before { background: #f97316; }
.sm-sbadge.st-gold    { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.sm-sbadge.st-gold::before { background: #d4a017; }

/* 버튼 */
.sm-btn-view {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-width: 96px; padding: 9px 16px;
	font-size: 13px; font-weight: 700; color: #163058;
	background: #fff; border: 1px solid #cbd5e1; border-radius: 9px;
	text-decoration: none; letter-spacing: -.02em; transition: all .22s ease;
}
.sm-btn-view::after { content: "→"; font-size: 14px; opacity: .5; transition: transform .22s, opacity .22s; }
.sm-btn-view:hover {
	border-color: #1e4070; color: #0f2240; background: #f8fafc;
	box-shadow: 0 1px 2px rgba(15, 34, 64, .05);
}
.sm-btn-view:hover::after { opacity: 1; transform: translateX(2px); }
.sm-btn-edit {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 8px 14px; font-size: 12px; font-weight: 700;
	color: #047857; background: #ecfdf5; border: 1px solid #a7f3d0;
	border-radius: 8px; text-decoration: none; transition: all .2s;
}
.sm-btn-edit:hover { background: #d1fae5; color: #065f46; }

/* 빈 목록 */
.sm-empty { text-align: center; padding: 60px 20px; color: var(--sm-text3); }
.sm-empty-ic { font-size: 40px; margin-bottom: 12px; }
.sm-empty-tx { font-size: 15px; font-weight: 600; color: var(--sm-text2); }

/* 모바일 카드 */
.sm-mobile-cards { display: none; }
.sm-mcard {
	margin: 16px; padding: 20px; background: #fff;
	border: 1px solid #e2e8f0; border-radius: 12px;
	box-shadow: 0 1px 2px rgba(15, 34, 64, .05);
}
.sm-mcard-head {
	display: flex; align-items: flex-start; justify-content: space-between;
	gap: 12px; margin-bottom: 16px; padding-bottom: 14px;
	border-bottom: 1px solid #f1f5f9;
}
.sm-mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-bottom: 16px; }
.sm-mfield .lbl {
	display: block; font-size: 10px; font-weight: 700; color: var(--sm-text2);
	letter-spacing: .05em; text-transform: uppercase; margin-bottom: 4px;
}
.sm-mfield .val { font-size: 14px; font-weight: 600; color: var(--sm-text); }

/* 페이지네이션 */
.sm-paging { margin-top: 22px; text-align: center; }
.sm-paging a, .sm-paging strong, .sm-paging span {
	display: inline-block; min-width: 34px; padding: 8px 10px; margin: 0 2px;
	border: 1px solid #e2e8f0; border-radius: 8px; background: #fff;
	font-size: 13px; font-weight: 700; color: var(--sm-text2); text-decoration: none;
}
.sm-paging a:hover { border-color: #3b5bdb; color: #3b5bdb; }
.sm-paging strong { background: #0f2240; border-color: #0f2240; color: #fff; }

/* CTA 배너 */
.sm-cta {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; flex-wrap: wrap;
	margin-top: 32px; padding: 24px 28px;
	background: linear-gradient(135deg, #0f2240 0%, #1e4070 100%);
	border-radius: 18px; box-shadow: 0 12px 36px rgba(15, 34, 64, .22);
	position: relative; overflow: hidden;
}
.sm-cta::before {
	content: ""; position: absolute; top: -40%; right: -5%;
	width: 280px; height: 280px;
	background: radial-gradient(circle, rgba(59, 91, 219, .2) 0%, transparent 70%);
	pointer-events: none;
}
.sm-cta-text { position: relative; z-index: 1; }
.sm-cta-title { font-size: 16px; font-weight: 800; color: #fff; letter-spacing: -.02em; margin: 0 0 4px; }
.sm-cta-sub { font-size: 13px; color: rgba(255, 255, 255, .65); font-weight: 500; margin: 0; }
.sm-btn-primary {
	position: relative; z-index: 1;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-width: 200px; padding: 15px 32px;
	font-size: 15px; font-weight: 800; color: #fff;
	background: linear-gradient(180deg, #4c6ef5 0%, #3b5bdb 50%, #2f49b8 100%);
	border: none; border-radius: 10px; text-decoration: none; cursor: pointer;
	letter-spacing: -.02em;
	box-shadow: 0 4px 16px rgba(59, 91, 219, .4), inset 0 1px 0 rgba(255, 255, 255, .15);
	transition: transform .2s, box-shadow .2s; flex-shrink: 0;
}
.sm-btn-primary:hover {
	transform: translateY(-2px); color: #fff;
	box-shadow: 0 8px 24px rgba(59, 91, 219, .45), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.sm-btn-primary .icon-plus {
	display: grid; place-items: center; width: 22px; height: 22px;
	background: rgba(255, 255, 255, .18); border-radius: 6px;
	font-size: 16px; font-weight: 800; line-height: 1;
}

@media (max-width: 768px) {
	.sm-list-wrap { padding: 24px 1rem 40px; }
	.sm-page-hero { margin-bottom: 20px; padding-bottom: 20px; }
	.sm-stat-row { width: 100%; }
	.sm-stat-chip { flex: 1; min-width: 0; padding: 12px 14px; }
	.sm-stat-chip .val { font-size: 17px; }
	.sm-table-scroll { display: none; }
	.sm-mobile-cards { display: block; }
	.sm-list-panel-hd { padding: 16px 18px; }
	.sm-cta { flex-direction: column; align-items: stretch; padding: 20px; }
	.sm-btn-primary { width: 100%; min-width: 0; }
}

/* ── 반응형 ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.sm-kpi { grid-template-columns: repeat(2, 1fr); }
	.sm-quick { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
	.sm-status-grid { grid-template-columns: repeat(2, 1fr); }
	.sm-status-card.is-top { grid-column: span 2; }
	.sm-guide-grid { grid-template-columns: repeat(2, 1fr); }
	.sm-status-banner { flex-direction: column; align-items: flex-start; }
	.sm-status-banner-stats { gap: 20px; }
	.sm-status-banner-stat { text-align: left; }
}

@media (max-width: 640px) {
	.sm-body { padding: 26px 1rem 36px; border-radius: 0 0 14px 14px; }
	.sm-kpi { grid-template-columns: 1fr; }
	.sm-quick { grid-template-columns: 1fr; }
	.sm-status-grid { grid-template-columns: 1fr; }
	.sm-status-card.is-top { grid-column: span 1; }
	.sm-guide-grid { grid-template-columns: 1fr; }
	.sm-guide-hero { padding: 22px 20px; }
	.sm-st-ring-wrap { display: none; }
	.sm-status-card { grid-template-columns: 1fr; grid-template-areas: "head" "name" "metrics" "foot"; }
}

/* ==================================================================
   [A] 공통 오버라이드 — 기존 bc- 페이지를 시안 톤으로 통일
   sub/common.css 뒤에 로드되어 색/모양만 재정의 (구조·기능 무변경)
   ================================================================== */
:root {
	/* 벽돌색 계열 → 비즈차이나 네이비·블루 */
	--bc-red:     #163058;
	--bc-red-d:   #0f2240;
	--bc-red-l:   rgba(59, 91, 219, .10);
	--bc-blue:    #3b5bdb;
	--bc-blue-l:  rgba(59, 91, 219, .10);
	--bc-green:   #047857;
	--bc-green-l: rgba(16, 185, 129, .10);
	--bc-orange:  #c2410c;
	--bc-gold:    #b45309;
	--bc-purple:  #5b21b6;
	--bc-text:    #1a2332;
	--bc-dim:     #64748b;
	--bc-border:  #e2e8f0;
	--bc-r:       12px;
}

/* 페이지 배경 */
.content-wrapper { background: var(--sm-bg2) !important; }

/* 하단 푸터 고정 해제 (콘텐츠 가림 방지) */
.main-footer {
	position: static !important;
	width: auto !important;
	z-index: auto !important;
	margin-left: 0 !important;
	background: #fff;
	border-top: 1px solid #e2e8f0;
	color: var(--sm-text2);
	font-size: 13px;
	padding: 18px clamp(1rem, 2.4vw, 34px);
}
.main-footer strong { color: #163058; }

/* 래퍼 폭 통일 */
.bc-wrap { max-width: 100%; margin: 0 auto; padding: 32px clamp(1rem, 2.4vw, 34px) 72px; }

/* 페이지 헤더 → 시안 히어로 톤 */
.bc-page-hd {
	margin-bottom: 28px; padding-bottom: 28px;
	border-bottom: 1px solid #f1f5f9; position: relative;
}
.bc-page-hd::after {
	content: ""; position: absolute; left: 0; bottom: -1px;
	width: 64px; height: 3px;
	background: linear-gradient(90deg, #3b5bdb, #7ec8ff); border-radius: 2px;
}
.bc-page-ttl {
	font-size: clamp(24px, 3.8vw, 32px); font-weight: 800;
	color: #0f2240; letter-spacing: -.045em; line-height: 1.15; margin: 0 0 8px;
}
.bc-breadcrumb { font-size: 13px; color: var(--sm-text2); font-weight: 500; }

/* 카드 → 시안 패널 톤 (상단 그라디언트 바) */
.bc-card {
	background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
	box-shadow: 0 1px 2px rgba(15, 34, 64, .04), 0 12px 32px rgba(15, 34, 64, .08);
	margin-bottom: 18px; position: relative;
	/* overflow:hidden 금지 — 카드 안 드롭다운/셀렉트가 잘림 */
}
.bc-card::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
	background: linear-gradient(90deg, #163058 0%, #2a5088 55%, #3b5bdb 100%);
	border-radius: 16px 16px 0 0;
	pointer-events: none;
}
/* 카드 안 커스텀 드롭다운이 다음 카드 위로 올라오도록 */
.bc-month-selector, .bc-card .bc-filter-bar { position: relative; z-index: 20; }
.bc-card-hd {
	padding: 20px 24px; border-bottom: 1px solid #f1f5f9;
	background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
	display: flex; align-items: center; gap: 11px;
}
.bc-card-hd h3 {
	display: flex; align-items: center; gap: 12px;
	font-size: 16px; font-weight: 800; color: #0f2240; letter-spacing: -.025em; margin: 0;
}
.bc-card-hd h3::before {
	content: ""; width: 4px; height: 18px;
	background: linear-gradient(180deg, #3b5bdb, #1e4070);
	border-radius: 2px; box-shadow: 0 2px 6px rgba(59, 91, 219, .3);
}
.bc-card-body { padding: 22px 24px; }

/* 테이블 → 네이비 헤더 */
.bc-tbl { border: none; border-radius: 0; }
.bc-tbl thead tr { background: transparent; }
.bc-tbl th {
	padding: 15px 20px; font-size: 11px; font-weight: 700;
	color: rgba(255, 255, 255, .75); text-transform: uppercase; letter-spacing: .07em;
	background: linear-gradient(180deg, #163058 0%, #0f2240 100%);
	border-bottom: 2px solid #3b5bdb;
}
.bc-tbl td {
	padding: 13px 14px; font-size: 14px; border-bottom: 1px solid #f1f5f9;
	white-space: nowrap;   /* 컬럼이 많을 때 글자가 세로로 쪼개지는 것 방지 */
}
/* 줄바꿈이 필요한 셀만 예외 */
.bc-tbl td.wrap,
.bc-tbl td.prod-name,
.bc-tbl td.mgmt-no,
.bc-tbl td .bc-memo { white-space: normal; word-break: break-word; }
.bc-tbl tbody tr:hover { background: linear-gradient(90deg, rgba(59,91,219,.07) 0%, rgba(255,255,255,0) 80%); }
.bc-tbl tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 #3b5bdb; }
.bc-num { font-weight: 800; color: #3b5bdb; font-variant-numeric: tabular-nums; }

/* 버튼 */
.bc-btn { border-radius: 9px; font-size: 14px; font-weight: 700; letter-spacing: -.02em; padding: 11px 20px; }
.bc-btn-sm { padding: 8px 14px; font-size: 12.5px; }
.bc-btn-primary {
	background: linear-gradient(180deg, #4c6ef5 0%, #3b5bdb 50%, #2f49b8 100%);
	color: #fff; box-shadow: 0 4px 14px rgba(59, 91, 219, .32);
}
.bc-btn-primary:hover { filter: brightness(1.08); background: linear-gradient(180deg, #4c6ef5 0%, #3b5bdb 50%, #2f49b8 100%); }
.bc-btn-secondary { background: #fff; color: #163058; border: 1px solid #cbd5e1; }
.bc-btn-secondary:hover { background: #f8fafc; border-color: #1e4070; }
.bc-btn-blue { background: #3b5bdb; color: #fff; }
.bc-btn-green { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.bc-btn-green:hover { background: #d1fae5; }

/* 배지 → 점 달린 알약 */
.bc-badge {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 6px 14px 6px 12px; border-radius: 999px;
	font-size: 12px; font-weight: 700; letter-spacing: -.01em;
}
.bc-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.bc-bd-gray   { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }
.bc-bd-gray::before   { background: #94a3b8; }
.bc-bd-blue   { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.bc-bd-blue::before   { background: #3b82f6; }
.bc-bd-purple { background: #ede9fe; color: #5b21b6; border: 1px solid #ddd6fe; }
.bc-bd-purple::before { background: #8b5cf6; }
.bc-bd-green  { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.bc-bd-green::before  { background: #10b981; }
.bc-bd-red    { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }
.bc-bd-red::before    { background: #f43f5e; }
.bc-bd-orange { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.bc-bd-orange::before { background: #f97316; }
.bc-bd-gold   { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.bc-bd-gold::before   { background: #d4a017; }

/* 폼 */
.bc-fc { border-radius: 9px; border-color: #e2e8f0; font-size: 15px; padding: 12px 14px; }
.bc-fc:focus { border-color: #3b5bdb; box-shadow: 0 0 0 3px rgba(59, 91, 219, .12); }
.bc-fg label { font-size: 13px; font-weight: 700; color: #334155; }

/* 통계 카드 → 스탯 칩 */
.bc-stat-card { border-radius: 12px; border-color: #e2e8f0; box-shadow: 0 1px 2px rgba(15, 34, 64, .05); }
.bc-s-lbl { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sm-text2); }
.bc-s-val { font-size: 24px; font-weight: 800; color: #0f2240; letter-spacing: -.03em; }

/* 탭 */
.bc-tab.active { color: #3b5bdb; border-bottom-color: #3b5bdb; }

/* 페이지네이션 */
.bc-pg-btn { border-radius: 8px; border-color: #e2e8f0; font-weight: 700; color: var(--sm-text2); }
.bc-pg-btn:hover { background: #eff6ff; border-color: #3b5bdb; color: #3b5bdb; }
.bc-pg-btn.active { background: #0f2240; border-color: #0f2240; color: #fff; }

/* 필터바 */
.bc-filter-bar { border-radius: 12px; border-color: #e2e8f0; box-shadow: 0 1px 2px rgba(15, 34, 64, .05); }

/* 알림 */
.bc-alert { border-radius: 12px; font-size: 14px; }
.bc-alert-info { background: #eff6ff; border-left-color: #3b5bdb; color: #1e40af; }

/* C머니 카드 → 네이비 */
.bc-tm-card { background: linear-gradient(145deg, #060d1a, #152a4a); border-radius: 14px; }

/* 선택형 옵션 */
.bc-ship-opt:hover, .bc-ship-opt.sel,
.bc-wh-opt:hover, .bc-wh-opt.sel,
.bc-work-opt:hover, .bc-work-opt.sel,
.bc-output-opt:hover, .bc-output-opt.sel { border-color: #3b5bdb; background: rgba(59, 91, 219, .07); }
.bc-pack-btn:hover, .bc-pack-btn.sel { border-color: #3b5bdb; background: rgba(59, 91, 219, .07); color: #3b5bdb; }
.bc-step-badge { background: #163058 !important; }
.bc-step.active .bc-step-c { background: #3b5bdb; border-color: #3b5bdb; }
.bc-step.active::after { background: #3b5bdb; }
.bc-step.active .bc-step-lbl { color: #3b5bdb; }

/* 개인통관번호 박스 */
.bc-cx-box { background: #f5f8ff; border-color: #c7d2fe; border-radius: 12px; }
.bc-cx-title { color: #1e3a8a; }

/* 링크 hover 색 복구 (common.css 의 전역 a:hover{color:#fff} 상쇄)
   ※ class 없는 순수 링크만 대상 — 버튼(.sm-btn-*, .bc-btn-* 등)은 자기 hover 색을 유지 */
.bc-wrap a:not([class]):hover,
.sm-page a:not([class]):hover { color: inherit; }

/* class 를 가진 링크형 카드도 글자색 유지 */
.sm-status-card:hover, .sm-qcard:hover, .sm-mcard a:hover { color: inherit; }
.sm-qcard.charge:hover { color: #fff; }
.sm-crumb a:hover { color: #1e4070; }
.sm-guide-list a:hover { color: #1d4ed8; }
.sm-cta a:hover { color: #fff; }

/* bc- 버튼 hover 글자색 명시 (전역 a:hover{color:#fff} 로 글자가 사라지는 것 방지) */
.bc-btn-primary:hover, .bc-btn-blue:hover { color: #fff; }
.bc-btn-secondary:hover { color: #0f2240; }
.bc-btn-green:hover { color: #065f46; }
.bc-btn-excel:hover { color: #fff; }
.bc-pg-btn:hover { color: #3b5bdb; }

/* ==================================================================
   [B] 상세 페이지 컴포넌트 (purchase_member_panels.css 기반)
   ================================================================== */

/* 상단 요약 바 */
.sm-summary-bar {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
	background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
	overflow: hidden; margin-bottom: 16px;
	box-shadow: 0 2px 12px rgba(30, 45, 70, .06);
}
.sm-summary-item { padding: 14px 18px; border-right: 1px solid #e2e8f0; }
.sm-summary-item:last-child { border-right: none; }
.sm-summary-item .s-label { display: block; font-size: 12px; color: var(--sm-text2); font-weight: 600; margin-bottom: 4px; }
.sm-summary-item .s-value { font-size: 14px; font-weight: 700; color: #1a2332; word-break: break-all; }
.sm-summary-item .s-value.status-val { color: #2563eb; }

/* 패널 공통 */
.sm-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.sm-panel {
	background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
	overflow: hidden; box-shadow: 0 2px 12px rgba(30, 45, 70, .06);
	margin-bottom: 16px;
}
.sm-panel-hd {
	padding: 12px 16px; background: #f8fafc; border-bottom: 1px solid #e2e8f0;
	font-size: 14px; font-weight: 800; color: #1a2332;
}
.sm-panel-hd-sub {
	display: block; font-size: 12px; font-weight: 500;
	color: var(--sm-text2); margin-top: 4px; line-height: 1.45;
}
.sm-panel-bd { padding: 16px; }
.sm-panel-bd-flush { padding: 0; }

/* 진행 타임라인 */
.sm-progress-timeline { padding: 18px; overflow-y: auto; max-height: 340px; }
.sm-prog-item { display: grid; grid-template-columns: 22px 1fr; gap: 0 12px; position: relative; padding-bottom: 18px; }
.sm-prog-item:last-child { padding-bottom: 0; }
.sm-prog-item::before {
	content: ""; position: absolute; left: 10px; top: 22px; bottom: 0;
	width: 2px; background: #e2e8f0;
}
.sm-prog-item:last-child::before { display: none; }
.sm-prog-item.done::before { background: #bbf7d0; }
.sm-prog-item.current::before { background: linear-gradient(#22c55e, #e2e8f0); }
.sm-prog-dot {
	width: 22px; height: 22px; border-radius: 50%;
	border: 2px solid #cbd5e1; background: #fff;
	display: grid; place-items: center;
	font-size: 9px; font-weight: 800; color: #94a3b8;
	position: relative; z-index: 1;
}
.sm-prog-item.done .sm-prog-dot { border-color: #22c55e; background: #dcfce7; color: #15803d; }
.sm-prog-item.current .sm-prog-dot {
	border-color: #2563eb; background: #2563eb; color: #fff;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, .18);
}
.sm-prog-title { font-size: 13px; font-weight: 700; color: #334155; line-height: 1.4; }
.sm-prog-item.done .sm-prog-title { color: #1a2332; }
.sm-prog-item.current .sm-prog-title { color: #1d4ed8; }
.sm-prog-item.pending .sm-prog-title { color: #94a3b8; }
.sm-prog-meta { font-size: 11px; color: #94a3b8; margin-top: 3px; line-height: 1.45; }
.sm-prog-item.done .sm-prog-meta { color: var(--sm-text2); }
.sm-prog-badge {
	display: inline-block; margin-top: 5px;
	font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
	background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe;
}

/* 검품관리 */
.sm-panel-bd-inspect { padding: 14px 16px 16px; text-align: center; }
.sm-inspect-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.sm-inspect-stat { padding: 12px 14px; border-radius: 10px; border: 1px solid #e2e8f0; background: #f8fafc; text-align: center; }
.sm-inspect-stat-label { display: block; font-size: 11px; font-weight: 600; color: var(--sm-text2); margin-bottom: 4px; }
.sm-inspect-stat-value { font-size: 18px; font-weight: 800; color: #1a2332; line-height: 1.2; }
.sm-inspect-stat-value .unit { font-size: 11px; font-weight: 600; color: var(--sm-text2); margin-left: 3px; }
.sm-inspect-table-wrap { border: 1px solid #e2e8f0; border-radius: 10px; overflow-x: auto; }
.sm-inspect-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 12px; }
.sm-inspect-table th {
	padding: 9px 10px; text-align: center; font-size: 11px; font-weight: 700;
	color: var(--sm-text2); background: #f1f5f9; border-bottom: 1px solid #e2e8f0; white-space: nowrap;
}
.sm-inspect-table td { padding: 10px; border-bottom: 1px solid #eef2f7; text-align: center; color: #1a2332; }
.sm-inspect-table tr:last-child td { border-bottom: none; }
.sm-inspect-round { font-weight: 800; }
.sm-inspect-fee { font-weight: 800; color: #e11d48; white-space: nowrap; }
.sm-inspect-foot {
	display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
	gap: 8px 16px; margin-top: 12px; padding: 12px 14px; border-radius: 10px;
	background: linear-gradient(135deg, #eff6ff, #f8fafc); border: 1px solid #bfdbfe;
}
.sm-inspect-foot-label { font-size: 13px; font-weight: 700; color: #1e40af; }
.sm-inspect-foot-value { font-size: 16px; font-weight: 800; color: #e11d48; }
.sm-inspect-note { margin-top: 10px; font-size: 10px; color: var(--sm-text2); line-height: 1.5; }

/* 주문정보 듀얼 패널 */
.sm-order-dual { display: grid; grid-template-columns: 1fr 1fr; }
.sm-order-panel { display: flex; flex-direction: column; min-height: 0; }
.sm-order-panel + .sm-order-panel { border-left: 1px solid #e2e8f0; }
.sm-order-panel-hd {
	padding: 12px 18px; font-size: 13px; font-weight: 700; color: #1a2332;
	background: #fafbfc; border-bottom: 1px solid #e2e8f0;
}
.sm-order-panel-bd { flex: 1; display: flex; flex-direction: column; }
.sm-order-row {
	display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 8px;
	padding: 12px 14px; min-height: 48px; border-bottom: 1px solid #e2e8f0;
}
.sm-order-row:last-child { border-bottom: none; }
.sm-order-row.row-money { background: linear-gradient(135deg, #fafbff 0%, #f4f7ff 100%); }
.sm-cell-label { font-size: 12px; font-weight: 600; color: var(--sm-text2); white-space: nowrap; }
.sm-cell-value { font-size: 15px; font-weight: 700; color: #1e293b; text-align: right; line-height: 1.35; }
.sm-order-row.row-money .sm-cell-value { font-size: 16px; font-weight: 800; color: #1e3a8a; letter-spacing: -.02em; }
.sm-cell-unit, .sm-money-unit { font-size: 11px; font-weight: 600; color: var(--sm-text2); margin-left: 3px; }
.sm-cell-value.is-minus, .sm-cell-value.is-minus .sm-money-unit { color: #dc2626; }

/* 상품 테이블 (1·2·3차 입고 포함) */
.sm-tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sm-tbl-wrap::-webkit-scrollbar { height: 8px; }
.sm-tbl-wrap::-webkit-scrollbar-thumb { background: rgba(100, 120, 150, .35); border-radius: 4px; }
.sm-in-table { width: 100%; border-collapse: collapse; }
.sm-in-table th, .sm-in-table td {
	border: 1px solid #d8dfe8; padding: 10px 8px;
	text-align: center; vertical-align: middle; font-size: 12px; white-space: nowrap;
}
.sm-in-table td { color: #2c3e50; background: #fff; }
.sm-in-table tbody tr:nth-child(even) td { background: #fafbfc; }
.sm-in-table th.th-base { background: #3d4a5c; color: #fff; font-weight: 700; }
.sm-in-table th.th-group { color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.sm-in-table th.th-group-1 { background: #9f1239; }
.sm-in-table th.th-group-2 { background: #1e40af; }
.sm-in-table th.th-group-3 { background: #047857; }
.sm-in-table th.th-in { font-weight: 700; font-size: 11px; color: #1a2332; }
.sm-in-table th.th-in1, .sm-in-table td.td-in1 { background: #fff1f2 !important; }
.sm-in-table th.th-in1-hd { background: #fecdd3 !important; }
.sm-in-table th.th-in2, .sm-in-table td.td-in2 { background: #eff6ff !important; }
.sm-in-table th.th-in2-hd { background: #bfdbfe !important; }
.sm-in-table th.th-in3, .sm-in-table td.td-in3 { background: #ecfdf5 !important; }
.sm-in-table th.th-in3-hd { background: #a7f3d0 !important; }
.sm-in-table .idx { width: 42px; color: #5a6a7e; font-weight: 700; }
.sm-in-table .prod-name {
	min-width: 180px; max-width: 260px; white-space: normal;
	text-align: left; line-height: 1.45; color: #1a2332;
}
.sm-in-table .mgmt-no { font-size: 11px; word-break: break-all; white-space: normal; max-width: 130px; text-align: left; }
.sm-in-table .prod-url a { color: #2563eb; text-decoration: underline; font-size: 11px; }
.sm-in-table .money { font-weight: 700; color: #1a2332; }
.sm-in-table .money .sym { color: var(--sm-text2); font-weight: 600; margin-right: 2px; }
.sm-in-table .empty { color: #b0bac8; }
.sm-in-table .calc { font-weight: 600; }
.sm-in-table tfoot .total-row td {
	background: #eef2ff !important; font-size: 12px; font-weight: 700;
	color: #e11d48; border-top: 2px solid #c7d2fe;
}
.sm-img-box {
	width: 56px; height: 56px; border: 1px dashed #c5ced9; border-radius: 8px;
	display: grid; place-items: center; color: #94a3b8; font-size: 10px;
	background: #f8fafc; margin: 0 auto; overflow: hidden;
}
.sm-img-box img { width: 100%; height: 100%; object-fit: cover; }

/* 범례 */
.sm-legend {
	display: flex; flex-wrap: wrap; gap: 10px 16px;
	padding: 12px 18px 14px; border-top: 1px solid #e2e8f0; background: #fafbfc;
}
.sm-legend-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--sm-text2); }
.sm-legend-dot { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }

/* 하단 액션 */
.sm-page-actions {
	display: flex; align-items: center; justify-content: center;
	gap: 12px; flex-wrap: wrap; margin-top: 20px;
}
.sm-page-actions .sm-act {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 28px; border-radius: 10px; font-size: 14px; font-weight: 700;
	text-decoration: none; cursor: pointer; border: none; transition: all .15s;
}
.sm-act-edit {
	background: linear-gradient(135deg, #163058 0%, #0f2240 100%);
	color: #fff; box-shadow: 0 4px 14px rgba(15, 34, 64, .25);
}
.sm-act-edit:hover { box-shadow: 0 6px 20px rgba(15, 34, 64, .32); color: #fff; }
.sm-act-list { background: #fff; color: #163058; border: 1px solid #e2e8f0; }
.sm-act-list:hover { background: #f8fafc; color: #0f2240; }

/* 빈 패널 안내 */
.sm-panel-empty {
	text-align: center; padding: 34px 16px;
	color: #94a3b8; font-size: 13px; font-weight: 600;
}

@media (max-width: 900px) {
	.sm-panel-grid { grid-template-columns: 1fr; }
	.sm-order-dual { grid-template-columns: 1fr; }
	.sm-order-panel + .sm-order-panel { border-left: none; border-top: 1px solid #e2e8f0; }
	.sm-summary-bar { grid-template-columns: 1fr 1fr; }
	.sm-summary-item:nth-child(2) { border-right: none; }
	.sm-summary-item { border-bottom: 1px solid #e2e8f0; }
	.sm-summary-item:nth-last-child(-n+2) { border-bottom: none; }
	.sm-progress-timeline { max-height: none; }
}
@media (max-width: 520px) {
	.sm-summary-bar { grid-template-columns: 1fr; }
	.sm-summary-item { border-right: none; }
	.sm-inspect-summary { grid-template-columns: 1fr; }
	.sm-page-actions { flex-direction: column; }
	.sm-page-actions .sm-act { width: 100%; }
}

/* ==================================================================
   [C] 신청 폼 / 충전 신청
   ================================================================== */
.sm-charge-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr); gap: 18px; align-items: start; }
.sm-charge-aside { display: flex; flex-direction: column; gap: 16px; }
.sm-form-body { padding: 26px 28px 28px; }

/* 폼 그룹 */
.sm-fg { margin-bottom: 22px; }
.sm-fg > label { display: block; font-size: 13px; font-weight: 800; color: #1a2332; margin-bottom: 8px; letter-spacing: -.01em; }
.sm-req { color: #dc2626; }
.sm-fhint { font-size: 12px; color: var(--sm-text2); margin: 7px 0 0; line-height: 1.6; }

.sm-fc {
	width: 100%; padding: 13px 15px; font-size: 15px; font-weight: 600;
	color: #1a2332; background: #fff;
	border: 1px solid #e2e8f0; border-radius: 10px;
	outline: none; box-sizing: border-box; transition: border-color .15s, box-shadow .15s;
}
.sm-fc:focus { border-color: #3b5bdb; box-shadow: 0 0 0 3px rgba(59, 91, 219, .12); }
.sm-fc::placeholder { color: #b6bcc6; font-weight: 500; }

/* 금액 입력 */
.sm-input-money { position: relative; }
.sm-input-money .sm-fc {
	padding: 16px 52px 16px 18px; font-size: 24px; font-weight: 800;
	text-align: right; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.sm-input-suffix {
	position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
	font-size: 15px; font-weight: 700; color: var(--sm-text2); pointer-events: none;
}

/* 빠른 금액 */
.sm-quick-amt { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sm-quick-amt button {
	padding: 8px 13px; font-size: 12.5px; font-weight: 700;
	color: #163058; background: #fff; border: 1px solid #e2e8f0;
	border-radius: 8px; cursor: pointer; transition: all .15s;
}
.sm-quick-amt button:hover { border-color: #3b5bdb; background: #eff6ff; color: #1d4ed8; }
.sm-quick-amt .sm-quick-clear { color: var(--sm-text2); margin-left: auto; }
.sm-quick-amt .sm-quick-clear:hover { border-color: #cbd5e1; background: #f8fafc; color: #475569; }

/* 환산 박스 */
.sm-convert-box {
	background: linear-gradient(145deg, #060d1a, #152a4a);
	border: 1px solid rgba(0, 184, 230, .2);
	border-radius: 14px; padding: 20px 22px; margin-bottom: 22px;
}
.sm-convert-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sm-convert-k { font-family: var(--sm-mono); font-size: 10px; letter-spacing: .1em; color: #64748b; font-weight: 700; text-transform: uppercase; }
.sm-convert-v { font-size: 18px; font-weight: 800; color: #cbd5e1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sm-convert-v em { font-style: normal; font-size: 11px; font-weight: 600; color: #64748b; margin-left: 4px; }
.sm-convert-arrow { text-align: center; color: #334155; font-size: 13px; margin: 8px 0; }
.sm-convert-row.is-main .sm-convert-k { color: #00d4ff; }
.sm-convert-row.is-main .sm-convert-v { font-size: 26px; color: #fff; }
.sm-convert-row.is-main .sm-convert-v em { color: #94a3b8; }

/* 업로드 */
.sm-upload {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 6px; padding: 30px 20px; text-align: center; cursor: pointer;
	background: #f8fafc; border: 2px dashed #cbd5e1; border-radius: 12px;
	transition: all .18s;
}
.sm-upload:hover { border-color: #3b5bdb; background: #eff6ff; }
.sm-upload-ic { font-size: 30px; line-height: 1; }
.sm-upload-tx { font-size: 13.5px; font-weight: 700; color: #334155; word-break: break-all; }
.sm-upload-sub { font-size: 11px; color: var(--sm-text3); font-weight: 600; letter-spacing: .04em; }
.sm-upload-preview { margin-top: 12px; }
.sm-upload-preview img {
	max-width: 220px; width: 100%; border-radius: 10px;
	border: 1px solid #e2e8f0; display: block;
}
.sm-upload-exist { display: block; font-size: 11px; color: var(--sm-text3); margin-top: 6px; }

/* 계좌 카드 */
.sm-bank-card {
	background: linear-gradient(145deg, #060d1a, #152a4a);
	border-radius: 14px; padding: 22px; color: #fff; text-align: center;
	border: 1px solid rgba(0, 184, 230, .2);
}
.sm-bank-name { font-size: 12px; font-weight: 700; color: #94a3b8; letter-spacing: .06em; margin-bottom: 8px; }
.sm-bank-no {
	font-family: var(--sm-mono); font-size: 21px; font-weight: 800;
	color: #fff; letter-spacing: -.01em; margin-bottom: 6px; word-break: break-all;
}
.sm-bank-owner { font-size: 12.5px; color: #cbd5e1; font-weight: 600; }
.sm-bank-copy {
	margin-top: 14px; width: 100%; padding: 10px;
	font-size: 12.5px; font-weight: 700; color: #0f172a;
	background: var(--sm-gold); border: 0; border-radius: 8px; cursor: pointer;
	transition: filter .15s;
}
.sm-bank-copy:hover { filter: brightness(1.08); }

.sm-notice {
	margin-top: 14px; padding: 12px 14px;
	background: #fff1f2; border: 1px solid #fecdd3; border-left: 3px solid #f43f5e;
	border-radius: 0 8px 8px 0; font-size: 12.5px; color: #be123c; line-height: 1.6;
}
.sm-notice strong { font-weight: 800; }

/* 안내 리스트 */
.sm-guide-list { margin: 0; padding-left: 18px; font-size: 12.5px; color: var(--sm-text2); line-height: 1.85; }
.sm-guide-list li + li { margin-top: 4px; }
.sm-guide-list a { color: #3b5bdb; font-weight: 700; }

/* 위험 버튼 */
.sm-act-danger { background: #fff; color: #dc2626; border: 1px solid #fecaca; }
.sm-act-danger:hover { background: #fef2f2; border-color: #fca5a5; color: #b91c1c; }
.sm-act:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

@media (max-width: 1024px) {
	.sm-charge-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.sm-form-body { padding: 20px 18px 24px; }
	.sm-input-money .sm-fc { font-size: 20px; }
}
