@import
	url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap')
	;

@import
	url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,400,0,0')
	;

.history-actions {
	display: grid;
	flex: 0 0 164px;
	gap: 8px;
}

.history-actions .btn {
	white-space: nowrap;
}

@media ( max-width :767.98px) {
	.history-item>.history-actions {
		min-width: 0;
	}
	.history-actions {
		flex: 1 1 calc(100% - 58px);
		width: calc(100% - 58px);
		margin-left: 58px;
		grid-template-columns: 1fr 1fr;
	}
	.history-actions [data-my-practice-action] {
		grid-column: 1/-1;
	}
	.history-actions .btn {
		white-space: normal;
	}
}

:root {
	--ink: #172b43;
	--muted: #627187;
	--navy: #143c67;
	--blue: #1769aa;
	--blue-bright: #1b75bb;
	--line: #e2e8ef;
	--soft: #f5f8fb;
	--mint: #e6f4f1;
	--radius-lg: 22px;
	--shadow-card: 0 12px 34px rgba(26, 54, 84, .08);
}

.material-symbols-outlined {
	font-family: 'Material Symbols Outlined';
	font-weight: 400;
	font-style: normal;
	font-size: 1.15em;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	font-feature-settings: 'liga';
	-webkit-font-feature-settings: 'liga';
	-webkit-font-smoothing: antialiased;
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	font-family: 'Noto Sans KR', system-ui, -apple-system, 'Segoe UI',
		sans-serif;
	line-height: 1.65;
	background: #fff;
}

a {
	color: inherit;
}

button, input, select {
	font: inherit;
}

.skip-link {
	position: absolute;
	z-index: 2000;
	top: -60px;
	left: 12px;
	padding: .75rem 1rem;
	border-radius: 10px;
	color: #fff;
	background: #102f52;
}

.skip-link:focus {
	top: 10px;
}

.utility-bar {
	min-height: 34px;
	color: #dae5ef;
	background: #173755;
	font-size: .76rem;
}

.utility-bar .container {
	min-height: 34px;
}

.utility-bar a {
	color: #fff;
	text-decoration: none;
}

.site-header, .sim-topbar {
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid #e8edf2;
	box-shadow: 0 2px 12px rgba(22, 46, 72, .035);
}

.navbar-brand {
	color: var(--ink);
	text-decoration: none;
	line-height: 1.25;
}

.navbar-brand strong {
	font-size: 1.3rem;
	letter-spacing: -.05em;
}

.navbar-brand small {
	color: #7a8796;
	font-size: .68rem;
	letter-spacing: 0;
}

.brand-mark {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	color: #fff;
	background: linear-gradient(145deg, #2879ad, #16446c);
	font-size: 1.2rem;
}

.navbar-nav .nav-link {
	color: #526174;
	font-weight: 600;
	padding-inline: .8rem !important;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover {
	color: #135d99;
}

.btn-access {
	border: 1px solid #cbd7e3;
	border-radius: 999px;
	padding: .55rem 1rem;
	color: #274664;
	background: #fff;
	font-weight: 600;
}

.btn-access:hover, .btn-access[aria-pressed="true"] {
	color: #fff;
	background: #173f66;
	border-color: #173f66;
}

.btn-primary {
	--bs-btn-bg: #1769aa;
	--bs-btn-border-color: #1769aa;
	--bs-btn-hover-bg: #105b96;
	--bs-btn-hover-border-color: #105b96;
	--bs-btn-active-bg: #0e5289;
	--bs-btn-active-border-color: #0e5289;
}

.btn-outline-primary {
	--bs-btn-color: #1769aa;
	--bs-btn-border-color: #9ab8d1;
	--bs-btn-hover-bg: #1769aa;
	--bs-btn-hover-border-color: #1769aa;
}

.form-control:focus, .form-check-input:focus, .btn:focus-visible, a:focus-visible
	{
	outline: 3px solid #ffbf47;
	outline-offset: 2px;
	box-shadow: 0 0 0 .2rem rgba(255, 191, 71, .2);
}

/* 공통 헤더 버튼 아이콘 & 텍스트 수직 중앙 정렬 */
.site-header .btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	vertical-align: middle;
	line-height: 1 !important;
}

.site-header .btn .material-symbols-outlined {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 1.22rem;
	line-height: 1 !important;
	vertical-align: middle;
}
/* 한글 폰트 고유의 하단 처짐 보정 -> 텍스트를 살짝 올려서 아이콘과 1:1 완벽 수평 정렬 */
.site-header .btn>span:not(.material-symbols-outlined) {
	position: relative;
	top: -1.5px;
	line-height: 1 !important;
}

.site-header .dropdown-toggle::after {
	position: relative;
	top: -1px;
}

.hero-section {
	overflow: hidden;
	position: relative;
	padding: 80px 0 76px;
	color: #fff;
	background: radial-gradient(ellipse at 83% 45%, rgba(87, 157, 194, .22),
		transparent 38%),
		linear-gradient(110deg, #10345a 0%, #164d79 55%, #22678b 100%);
}

.hero-section::after {
	position: absolute;
	right: -140px;
	bottom: -270px;
	width: 620px;
	height: 620px;
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 50%;
	content: '';
}

.hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	align-items: center;
	gap: 46px;
}

.hero-copy {
	max-width: 630px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	color: #2670a8;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .02em;
}

.hero-copy .eyebrow {
	color: #b5d9ef;
}

.hero-copy h1 {
	margin: 18px 0 19px;
	font-size: clamp(2.1rem, 4.1vw, 3.35rem);
	line-height: 1.28;
	font-weight: 800;
	letter-spacing: -.055em;
}

.hero-copy h1 span {
	color: #a9d9ec;
}

.hero-copy p {
	margin: 0;
	color: #d6e4ef;
	font-size: 1.02rem;
	line-height: 1.8;
}

.hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	color: #d5e7f4;
	font-size: .82rem;
}

.hero-trust i {
	margin-right: 5px;
	color: #8fe0ca;
}

.hero-visual {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 390px;
}

.visual-orbit {
	position: absolute;
	border: 1px solid rgba(205, 236, 255, .19);
	border-radius: 50%;
}

.orbit-one {
	width: 440px;
	height: 300px;
	transform: rotate(-22deg);
}

.orbit-two {
	width: 360px;
	height: 390px;
	transform: rotate(34deg);
}

.visual-card-main {
	position: relative;
	z-index: 1;
	width: min(100%, 440px);
	padding: 26px;
	border: 1px solid rgba(255, 255, 255, .65);
	border-radius: 24px;
	color: var(--ink);
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 24px 70px rgba(4, 24, 44, .3);
}

.mini-tag {
	padding: 5px 10px;
	border-radius: 999px;
	color: #175c8d;
	background: #e9f3f8;
	font-size: .75rem;
	font-weight: 700;
}

.visual-card-main h2 {
	color: var(--ink);
}

.preview-choice {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-top: 10px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 13px;
}

.preview-choice.selected {
	border-color: #62a4cf;
	background: #f2f8fc;
}

.choice-icon {
	display: grid;
	flex: 0 0 36px;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 11px;
	color: #1769aa;
	background: #e3f0f8;
}

.preview-choice b, .preview-choice small {
	display: block;
}

.preview-choice b {
	font-size: .84rem;
}

.preview-choice small {
	margin-top: 2px;
	color: var(--muted);
	font-size: .68rem;
}

.progress-label {
	display: flex;
	justify-content: space-between;
	margin-bottom: 7px;
	color: #5a687a;
	font-size: .75rem;
}

.progress {
	height: 8px;
	background: #e9eff4;
}

.progress-bar {
	background: #1b75bb;
}

.floating-note {
	position: absolute;
	z-index: 2;
	right: -10px;
	bottom: 0;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 12px 16px;
	border: 1px solid #e7edf2;
	border-radius: 14px;
	color: #294a68;
	background: #fff;
	box-shadow: 0 10px 25px rgba(8, 33, 53, .16);
	font-size: .78rem;
	font-weight: 600;
}

.floating-note i {
	color: #e69b25;
	font-size: 1.1rem;
}

.stats-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	position: relative;
	z-index: 3;
	margin-top: -1px;
	padding-top: 28px;
	padding-bottom: 28px;
	border-bottom: 1px solid #edf1f4;
}

.stats-strip>div {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
}

.stats-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	color: #1769aa;
	background: #e9f3f8;
	font-size: 1.2rem;
}

.stats-strip b, .stats-strip small {
	display: block;
}

.stats-strip b {
	font-size: .87rem;
}

.stats-strip small {
	color: var(--muted);
	font-size: .74rem;
}

.section-space {
	padding: 76px 0;
}

.bg-soft {
	background: #f6f8fb;
}

.section-heading h2 {
	margin: 8px 0;
	color: var(--ink);
	font-size: clamp(1.65rem, 3vw, 2.1rem);
	font-weight: 800;
	letter-spacing: -.045em;
}

.section-heading p {
	margin: 0;
	color: var(--muted);
}

.scenario-search {
	position: relative;
	width: min(100%, 280px);
}

.scenario-search i {
	position: absolute;
	z-index: 1;
	left: 15px;
	top: 50%;
	color: #8390a0;
	transform: translateY(-50%);
}

.scenario-search .form-control {
	padding-left: 42px;
	border-radius: 999px;
}

.scenario-card {
	overflow: hidden;
	border: 1px solid #e3e9ef;
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: 0 7px 20px rgba(31, 58, 84, .035);
	transition: transform .18s ease, box-shadow .18s ease;
}

.scenario-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-card);
}

.scenario-art {
	position: relative;
	display: flex;
	overflow: hidden;
	align-items: flex-start;
	justify-content: space-between;
	height: 160px;
	padding: 20px;
}

.art-move {
	background: linear-gradient(125deg, #e6f2f8, #d9ebf0);
}

.art-id {
	background: linear-gradient(125deg, #f7ede4, #efdfd2);
}

.art-chip {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 11px;
	border-radius: 999px;
	color: #375d74;
	background: rgba(255, 255, 255, .77);
	font-size: .75rem;
	font-weight: 700;
}

.art-illustration {
	position: absolute;
	right: 35px;
	bottom: -4px;
	color: rgba(21, 88, 127, .62);
	font-size: 7.6rem;
}

.art-id .art-illustration {
	color: rgba(161, 104, 69, .6);
}

.art-sun {
	position: absolute;
	right: 53px;
	top: 20px;
	width: 73px;
	height: 73px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .63);
}

.scenario-body {
	padding: 21px;
}

.status-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 9px;
	border-radius: 999px;
	font-size: .7rem;
	font-weight: 700;
}

.status-pill i {
	font-size: .48rem;
}

.status-pill.available {
	color: #287052;
	background: #e7f5ed;
}

.status-pill.upcoming {
	color: #667387;
	background: #eef1f4;
}

.scenario-body h3, .scenario-suggest h3 {
	margin: 16px 0 7px;
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: -.03em;
}

.scenario-body p, .scenario-suggest p {
	min-height: 50px;
	margin: 0;
	color: var(--muted);
	font-size: .84rem;
}

.scenario-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 13px;
	padding-top: 16px;
	margin-top: 15px;
	border-top: 1px solid #edf0f3;
	color: #617186;
	font-size: .74rem;
}

.scenario-meta i {
	margin-right: 3px;
	color: #377ba8;
}

.scenario-suggest {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 25px;
	border: 1px dashed #b6c5d2;
	border-radius: var(--radius-lg);
	background: #fff;
}

.scenario-suggest p {
	min-height: 0;
	margin-bottom: 18px;
}

.suggest-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 17px;
	border-radius: 15px;
	color: #59816f;
	background: #e9f4ed;
	font-size: 1.35rem;
}

.how-grid {
	max-width: 1000px;
	margin-inline: auto;
}

.how-card {
	position: relative;
	height: 100%;
	padding: 27px;
	border: 1px solid #e5ebf0;
	border-radius: 20px;
	background: #fff;
}

.step-number {
	position: absolute;
	top: 20px;
	right: 22px;
	color: #c8d5df;
	font-size: .78rem;
	font-weight: 800;
}

.how-icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	margin-bottom: 22px;
	border-radius: 17px;
	color: #1769aa;
	background: #eaf3f9;
	font-size: 1.4rem;
}

.how-card h3 {
	font-size: 1.04rem;
	font-weight: 800;
}

.how-card p {
	margin-bottom: 0;
	color: var(--muted);
	font-size: .82rem;
}

.continue-card {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 27px;
	border: 1px solid #dfe8ef;
	border-radius: 20px;
	background: linear-gradient(110deg, #f0f6fa, #f6f8fb);
}

.continue-icon {
	display: grid;
	flex: 0 0 54px;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 17px;
	color: #1769aa;
	background: #fff;
	font-size: 1.5rem;
}

.continue-card h2 {
	margin: 3px 0;
	font-size: 1.12rem;
	font-weight: 800;
}

.continue-card p {
	color: var(--muted);
	font-size: .82rem;
}

.site-footer {
	padding: 28px 0;
	color: #d6e1ea;
	background: #173755;
	font-size: .8rem;
}

.site-footer b {
	color: #fff;
	font-size: 1rem;
}

.footer-note {
	max-width: 520px;
}

.footer-note strong {
	color: #fff;
}

.footer-note p {
	margin-top: 3px;
	color: #c1d1df;
	font-size: .76rem;
}

/* Large text display setting */
html[data-text-size="large"] {
	font-size: 112.5%;
}

html[data-text-size="larger"] {
	font-size: 125%;
}

html[data-text-size="largest"] {
	font-size: 137.5%;
}

body.large-text-mode :focus-visible {
	outline-width: 4px;
	outline-offset: 3px;
}

body.high-contrast {
	--ink: #090f16;
	--muted: #293747;
}

body.high-contrast :is(.hero-section, .site-footer, .utility-bar) {
	filter: contrast(1.15);
}

@media ( max-width : 991.98px) {
	.hero-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.hero-copy {
		max-width: 760px;
	}
	.hero-visual {
		min-height: 370px;
	}
	.floating-note {
		right: max(0px, calc(( 100% - 440px)/2- 18px));
	}
	.sim-title-row {
		align-items: flex-start;
		flex-direction: column;
	}
	.sim-title-actions {
		align-self: flex-end;
	}
}

@media ( max-width : 767.98px) {
	.utility-bar .container {
		font-size: .68rem;
	}
	.hero-section {
		padding: 55px 0 50px;
	}
	.hero-copy h1 {
		font-size: 2.1rem;
	}
	.hero-visual {
		min-height: 340px;
	}
	.visual-card-main {
		padding: 20px;
	}
	.floating-note {
		right: 4px;
		bottom: -6px;
		font-size: .7rem;
	}
	.stats-strip {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 23px 12px;
	}
	.stats-strip>div {
		justify-content: flex-start;
	}
	.section-space {
		padding: 54px 0;
	}
	.section-heading {
		align-items: flex-start !important;
	}
	.scenario-search {
		width: 100%;
	}
	.continue-card {
		align-items: flex-start;
		flex-wrap: wrap;
	}
	.continue-card>a {
		width: 100%;
	}
	.sim-container {
		padding-top: 20px;
	}
	.sim-title-actions {
		align-self: stretch;
		justify-content: space-between;
	}
	.sim-card {
		padding: 22px 19px 0;
	}
	.sim-card-footer {
		align-items: stretch;
		flex-direction: column-reverse;
		margin: 22px -19px 0;
		padding: 15px 19px;
	}
	.sim-card-footer>div {
		justify-content: space-between;
	}
	.sim-step-content {
		min-height: 270px;
	}
	.sim-retention-note {
		align-items: flex-start;
		margin-top: 18px;
	}
	.step-labels {
		font-size: .6rem;
	}
	.gov24-form-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.gov24-form-panel {
		padding: 24px 18px;
	}
	.gov24-form-panel h3 {
		margin-bottom: 28px;
	}
	.gov24-form-field {
		margin-bottom: 34px;
	}
	.gov24-phone-fields {
		gap: 8px;
	}
	.gov24-phone-fields .form-control {
		min-width: 0;
		width: 29%;
	}
	.gov24-reason-grid {
		grid-template-columns: 1fr;
		gap: 13px;
	}
	.gov24-address-controls {
		align-items: stretch;
		flex-wrap: wrap;
	}
	.gov24-address-controls .form-select {
		flex: 1 1 45%;
		width: auto;
	}
	.gov24-address-controls .btn {
		flex: 1 0 100%;
	}
	.gov24-current-address-field {
		flex: 1 1 100%;
		width: 100%;
	}
	.gov24-address-controls .gov24-current-address-field+.btn {
		flex: 1 0 100%;
	}
	.gov24-building-fields {
		grid-template-columns: 1fr 1fr;
	}
	.gov24-building-type {
		grid-column: 1/-1;
	}
	.gov24-building-help {
		grid-column: 1/-1;
		justify-self: start;
	}
	.gov24-result-table th {
		width: 42%;
	}
	.gov24-result-table th, .gov24-result-table td {
		padding: 11px;
	}
	.gov24-consent-options {
		justify-content: flex-start;
	}
	.gov24-before {
		padding: 17px;
	}
	.gov24-notices {
		font-size: .82rem;
	}
	.review-list>div {
		grid-template-columns: 110px 1fr;
	}
	.site-footer .container {
		flex-direction: column;
	}
}

@media ( prefers-reduced-motion : reduce) {
	*, *::before, *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}

/* Entry, account, and service screens for the Figma-ready prototype */
.entry-page, .login-page {
	min-height: 100vh;
	background: radial-gradient(ellipse at 15% 10%, #eaf3fa, transparent 34%),
		linear-gradient(145deg, #f4f7fa, #fff 55%, #f1f7f8);
}

.entry-shell, .login-shell {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 36px 20px;
}

.entry-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 30px;
	color: var(--ink);
	text-decoration: none;
}

.entry-brand b {
	display: block;
	font-size: 1.35rem;
	letter-spacing: -.04em;
}

.entry-brand small {
	display: block;
	color: #718096;
	font-size: .75rem;
}

.entry-card, .login-card {
	width: min(100%, 550px);
	padding: 38px;
	border: 1px solid #e3eaf0;
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(25, 54, 83, .1);
}

.entry-card h1, .login-card h1 {
	margin: 9px 0 8px;
	font-size: 1.8rem;
	font-weight: 800;
	letter-spacing: -.05em;
}

.entry-card>p {
	margin-bottom: 26px;
}

.mode-options {
	display: grid;
	gap: 12px;
	margin-top: 24px;
}

.mode-option {
	display: flex;
	width: 100%;
	align-items: center;
	gap: 14px;
	padding: 17px;
	border: 1px solid #e1e7ee;
	border-radius: 16px;
	color: var(--ink);
	background: #fff;
	text-align: left;
}

.mode-option.selected {
	border: 2px solid #2879b5;
	background: #f2f8fc;
}

.mode-option .mode-icon {
	display: grid;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	place-items: center;
	border-radius: 13px;
	color: #1769aa;
	background: #e7f1f8;
	font-size: 1.25rem;
}

.mode-option strong, .mode-option small {
	display: block;
}

.mode-option small {
	margin-top: 2px;
	color: #718096;
	font-size: .78rem;
}

.mode-check {
	margin-left: auto;
	color: #1769aa;
	font-size: 1.2rem;
}

.entry-note {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
	color: #68798a;
	font-size: .76rem;
}

.entry-note i {
	color: #37917a;
}

.entry-footer {
	margin: 24px 0 0;
	color: #8591a0;
	font-size: .8rem;
}

.login-card {
	width: min(100%, 470px);
}

.login-heading {
	margin-bottom: 26px;
	text-align: center;
}

.login-heading h1 {
	margin-top: 3px;
}

.login-heading p {
	margin: 0;
	color: #728093;
}

.login-symbol {
	display: grid;
	width: 62px;
	height: 62px;
	margin: 0 auto 14px;
	place-items: center;
	border-radius: 20px;
	color: #1769aa;
	background: #eaf3f9;
	font-size: 1.65rem;
}

.login-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 21px 0;
	color: #95a0ad;
	font-size: .8rem;
}

.login-divider::before, .login-divider::after {
	height: 1px;
	flex: 1;
	background: #e7ebef;
	content: '';
}

.prototype-note {
	color: #718096;
	font-size: .76rem;
	line-height: 1.6;
}

.prototype-note i {
	margin-right: 5px;
	color: #5584aa;
}

.back-link {
	margin-top: 24px;
	color: #607287;
	text-decoration: none;
	font-size: .86rem;
}

.home-welcome {
	padding: 49px 0;
	color: #fff;
	background: radial-gradient(ellipse at 84% 20%, rgba(111, 184, 204, .3),
		transparent 34%), linear-gradient(115deg, #14395d, #1a587e);
}

.home-welcome-grid {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	align-items: center;
	gap: 36px;
}

.home-welcome h1 {
	margin: 12px 0;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	letter-spacing: -.055em;
	line-height: 1.3;
}

.home-welcome h1 span {
	color: #b7e5ed;
}

.home-welcome p {
	margin-bottom: 22px;
	color: #d5e3ed;
}

.welcome-progress {
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 20px;
	background: rgba(255, 255, 255, .1);
}

.welcome-progress .progress {
	height: 9px;
	background: rgba(255, 255, 255, .26);
}

.welcome-progress .progress-bar {
	background: #92e0c5;
}

.welcome-progress small {
	display: block;
	margin-top: 13px;
	color: #d3e2ec;
}

.home-saved-progress-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-top: 19px;
}

.home-saved-progress-heading strong {
	color: #fff;
	font-size: 1.2rem;
}

.home-saved-progress-heading span {
	color: #d3e2ec;
	font-size: .86rem;
}

.home-stage-progress {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
	margin-top: 20px;
}

.home-stage-progress span {
	height: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .24);
}

.home-stage-progress span.is-complete {
	background: #92e0c5;
}

.home-stage-progress span.is-current {
	background: #b7e5ed;
	box-shadow: 0 0 0 3px rgba(183, 229, 237, .17);
}

.welcome-progress small.home-saved-progress-help {
	margin-top: 14px;
}

.welcome-step {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 17px;
}

.welcome-step>span {
	display: grid;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	color: #c5edf0;
	font-weight: 800;
}

.welcome-step strong, .welcome-step small {
	display: block;
}

.welcome-step strong {
	color: #fff;
	font-size: .9rem;
}

.welcome-step small {
	margin-top: 2px;
}

.profile-chip {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 11px 5px 5px;
	border: 1px solid #e2e8ee;
	border-radius: 999px;
	color: var(--ink);
	text-decoration: none;
	font-size: .83rem;
	font-weight: 600;
}

.avatar {
	display: inline-grid;
	width: 31px;
	height: 31px;
	flex: 0 0 31px;
	place-items: center;
	border-radius: 50%;
	color: #1769aa;
	background: #d9edf8;
	font-size: .78rem;
	font-weight: 700;
}

.avatar-blue {
	color: #1769aa;
	background: #d9edf8;
}

.avatar-green {
	color: #23815c;
	background: #dff2e8;
}

.avatar-violet {
	color: #684aa7;
	background: #ece5f8;
}

.avatar-large {
	width: 72px;
	height: 72px;
	flex-basis: 72px;
	color: #fff;
	background: rgba(255, 255, 255, .2);
	font-size: 1.6rem;
}

.home-content {
	padding-top: 48px;
	padding-bottom: 40px;
}

.section-title-row, .panel-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}

.section-title-row {
	margin-bottom: 19px;
}

.section-title-row h2, .panel-heading h2 {
	margin: 4px 0 2px;
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -.04em;
}

.section-title-row p {
	margin: 0;
	color: var(--muted);
	font-size: .88rem;
}

.text-link, .panel-heading>a {
	color: #1769aa;
	font-size: .84rem;
	font-weight: 600;
	text-decoration: none;
}

.service-card {
	display: flex;
	height: 100%;
	min-height: 250px;
	flex-direction: column;
	padding: 22px;
	border: 1px solid #e4eaf0;
	border-radius: 19px;
	color: var(--ink);
	background: #fff;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(31, 58, 84, .035);
	transition: transform .16s ease, box-shadow .16s ease;
}

.service-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-card);
}

.service-primary {
	border-color: #d2e5f2;
	background: linear-gradient(145deg, #f3f9fc, #fff);
}

.service-icon {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border-radius: 15px;
	color: #1769aa;
	background: #e7f2f9;
	font-size: 1.35rem;
}

.service-icon.lilac {
	color: #7154aa;
	background: #f0ebfa;
}

.service-icon.mint {
	color: #237e69;
	background: #e6f5ef;
}

.service-icon.peach {
	color: #bd704b;
	background: #fff0e7;
}

.service-kicker {
	margin-top: 17px;
	color: #8a97a5;
	font-size: .63rem;
	font-weight: 800;
	letter-spacing: .09em;
}

.service-card h3 {
	margin: 4px 0 7px;
	font-size: 1.08rem;
	font-weight: 800;
}

.service-card p {
	margin: 0;
	color: #68798c;
	font-size: .8rem;
}

.service-action {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding-top: 15px;
	color: #1769aa;
	font-size: .8rem;
	font-weight: 700;
}

.content-panel {
	padding: 22px;
	border: 1px solid #e4eaf0;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 7px 22px rgba(28, 53, 77, .035);
}

.panel-heading {
	margin-bottom: 18px;
}

.panel-heading h2 {
	font-size: 1.12rem;
}

.panel-heading p {
	margin: 4px 0 0;
	color: #758395;
	font-size: .8rem;
}

.subpage-container {
	max-width: 1080px;
	min-height: 75vh;
	padding-top: 32px;
	padding-bottom: 60px;
}

.subpage-heading {
	margin: 14px 0 28px;
}

.subpage-heading h1 {
	margin: 8px 0 7px;
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: -.05em;
}

.subpage-heading p {
	color: #68798c;
}

/* ========================================
   공통 브레드크럼
======================================== */

.breadcrumb-line{
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 25px;
    color: #8a97a5;
    font-size: 0.78rem;
    line-height: 1.65;
}

.breadcrumb-line a{
    color: #5c7187;
    text-decoration: none;
}

.breadcrumb-line .material-symbols-outlined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1;
}

body.large-text-mode .content-panel {
	border-width: 2px;
}

.signup-container {
	max-width: 850px;
}

.signup-stepper {
	max-width: 760px;
	margin: 30px auto 28px;
	gap: 0;
}

.signup-stepper li {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	padding: 0 10px;
	border-radius: 0;
	background: transparent;
	color: #586779;
}

.signup-stepper li:not(:last-child)::after {
	position: absolute;
	top: 12px;
	left: 34px;
	right: 0;
	height: 2px;
	background: #d7dce2;
	content: "";
}

.signup-step-number {
	z-index: 1;
	display: grid !important;
	width: 25px;
	height: 25px;
	place-items: center;
	border: 1px solid #c9d0d8;
	border-radius: 50%;
	color: #697789;
	background: #e9edf1;
	font-size: .72rem !important;
	font-weight: 700;
}

.signup-step-copy {
	display: grid;
	gap: 2px;
}

.signup-step-copy small {
	color: #718096;
	font-size: .72rem;
}

.signup-step-copy b {
	color: #172b4d;
	font-size: .85rem;
}

.signup-stepper li.active {
	background: transparent;
	color: #172b4d;
	box-shadow: none;
}

.signup-stepper li.active .signup-step-number {
	border-color: #1769ff;
	color: #fff;
	background: #1769ff;
	box-shadow: 0 0 0 3px #dceaff;
}

.signup-stepper li.complete .signup-step-number {
	border-color: #55a27a;
	color: #fff;
	background: #55a27a;
}

.signup-stepper li.complete::after {
	background: #8bc5a7;
}

.signup-stage-title {
	margin: 27px 0 25px;
}

.signup-stage-title>span {
	color: #697789;
	font-size: .9rem;
}

.signup-stage-title>span b {
	color: #1769ff;
}

.signup-stage-title h2 {
	margin: 12px 0 0;
	color: #172b4d;
	font-size: 1.55rem;
	font-weight: 750;
}

.signup-card {
	border-radius: 12px;
	box-shadow: none;
}

.terms-all {
	padding: 15px 2px 18px;
	border-bottom: 1px solid #dfe4e9;
	border-radius: 0;
	background: transparent;
}

.terms-all strong {
	font-size: 1rem;
}

.terms-list {
	border-top: 0;
}

.terms-list label {
	gap: 10px;
	min-height: 52px;
	padding: 10px 2px;
}

.terms-list label span {
	flex: 1;
	color: #172b4d;
	font-size: .9rem;
}

.terms-list input, .terms-all input {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
}

.terms-list em, .signup-fields em {
	color: #db593e;
	font-style: normal;
	font-weight: 500;
}

.terms-list .btn-link {
	color: #172b4d;
	white-space: nowrap;
}

.terms-subgroup {
	margin: 2px 0 10px;
	padding: 4px 14px;
	border-radius: 10px;
	background: #f3f5f7;
}

.terms-subgroup label:last-child {
	border-bottom: 0;
}

.signup-type-tabs {
	display: flex;
	overflow: hidden;
	margin-bottom: 27px;
	border: 1px solid #cbd3dc;
	border-radius: 8px;
}

.signup-type-tabs span {
	flex: 1;
	padding: 12px;
	color: #657388;
	text-align: center;
	font-weight: 700;
}

.signup-type-tabs .active {
	color: #fff;
	background: #104579;
}

.signup-fields {
	display: grid;
	gap: 22px;
	padding: 25px 24px;
	border: 1px solid #cbd3dc;
	border-radius: 12px;
}

.signup-fields h3 {
	margin: 0;
	color: #172b4d;
	font-size: 1.1rem;
	font-weight: 750;
}

.signup-field .form-label {
	margin-bottom: 10px;
	color: #23364c;
}

.signup-field .form-control, .signup-field .form-select {
	min-height: 48px;
	border-color: #9ca8b4;
	border-radius: 7px;
}

.signup-field .form-text {
	color: #2674aa;
}

.signup-fields .signup-actions {
	margin-top: 4px;
	padding-top: 20px;
	border-top: 1px solid #e5e9ed;
}

.signup-complete .signup-stage-title {
	text-align: left;
}

.signup-complete h3 {
	margin: 8px 0;
	font-size: 1.35rem;
	font-weight: 750;
}

.signup-footnote {
	align-items: center;
}

@media ( max-width :600px) {
	.signup-stepper {
		margin: 24px auto;
	}
	.signup-stepper li {
		display: flex;
		padding: 0 5px;
		text-align: left;
	}
	.signup-stepper li .signup-step-copy {
		display: grid;
		margin: 0;
	}
	.signup-step-copy b {
		font-size: .7rem;
	}
	.signup-card {
		padding: 20px 16px;
	}
	.signup-fields {
		padding: 19px 15px;
	}
	.signup-stage-title h2 {
		font-size: 1.35rem;
	}
	.terms-subgroup {
		padding: 4px 8px;
	}
}

.account-value-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.text-size-menu {
	min-width: 150px;
	padding: 6px;
	border-color: #dce5ef;
	border-radius: 12px;
	box-shadow: 0 10px 28px rgba(26, 51, 74, .13);
}

.text-size-menu .dropdown-item {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 42px;
	border-radius: 8px;
	color: #31475e;
}

.text-size-menu .dropdown-item::before {
	display: grid;
	width: 23px;
	height: 23px;
	place-items: center;
	border: 1px solid #cbd5df;
	border-radius: 4px;
	color: #31475e;
	content: "가";
	font-size: .82rem;
	line-height: 1;
}

.text-size-menu .dropdown-item.active {
	color: #173b70;
	background: #eaf1f8;
	font-weight: 700;
}

.text-size-menu .dropdown-item.active::before {
	border-color: #174d80;
	color: #fff;
	background: #174d80;
}

.text-size-menu .dropdown-item[data-text-size="large"]::before {
	font-size: .95rem;
}

.text-size-menu .dropdown-item[data-text-size="larger"]::before {
	font-size: 1.08rem;
}

.text-size-menu .dropdown-item[data-text-size="largest"]::before {
	font-size: 1.20rem;
}

/* ========================================================
   [해봄 전용 확장 스타일 - common.css]
   ======================================================== */
:root {
	--main-color: #164166;
	--main-hover: #1e5585;
	--main-light: #eef4f9;
	--accent-blue: #0284c7;
	--accent-blue-light: #e0f2fe;
	--text-primary: #1e293b;
	--text-secondary: #64748b;
	--text-muted: #94a3b8;
	--border-color: #e2e8f0;
	--border-light: #f1f5f9;
	--bg-page: #ffffff;
	--bg-card: #f8fafc;
}

/* 본문이 남은 높이를 채워 푸터를 브라우저 최하단에 항상 밀착 고정 (Sticky Footer) */
body {
	display: flex !important;
	flex-direction: column !important;
	min-height: 100vh !important;
}

main {
	flex: 1 0 auto !important;
}

.site-footer {
	flex-shrink: 0 !important;
	margin-top: auto !important;
}

/* 1. 화이트 카드 박스 */
.hb-card {
	background-color: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: 20px;
	padding: 32px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -2px
		rgba(0, 0, 0, 0.02);
}

/* 2. 폼 그룹 및 라벨 */
.hb-form-group {
	margin-bottom: 20px;
}

.hb-label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 8px;
}

.hb-label .required {
	color: #ef4444;
	margin-left: 2px;
}

/* 3. 공통 인풋 / 셀렉트 / 텍스트에어리어 */
.hb-input, .hb-select, .hb-textarea {
	width: 100%;
	padding: 12px 16px;
	font-size: 15px;
	color: var(--text-primary);
	background-color: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	transition: all 0.2s ease;
}

.hb-input:focus, .hb-select:focus, .hb-textarea:focus {
	border-color: var(--main-color);
	outline: none;
	box-shadow: 0 0 0 3px rgba(22, 65, 102, 0.12);
}

.hb-input::placeholder, .hb-textarea::placeholder {
	color: var(--text-muted);
}

.hb-input:disabled, .hb-select:disabled, .hb-textarea:disabled {
	background-color: #f8fafc;
	color: #94a3b8;
	cursor: not-allowed;
}

/* 4. 공통 버튼 스타일 */
.hb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 18px;
	border-radius: 9999px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	border: 1px solid transparent;
	background: transparent;
	text-decoration: none;
	white-space: nowrap;
}

.hb-btn-outline {
	border-color: #cbd5e1;
	color: #475569;
	background-color: #ffffff;
}

.hb-btn-outline:hover {
	border-color: #94a3b8;
	background-color: #f8fafc;
	color: #1e293b;
}

.hb-btn-outline-blue {
	border-color: #38bdf8;
	color: #0284c7;
	background-color: #ffffff;
}

.hb-btn-outline-blue:hover {
	background-color: #f0f9ff;
	border-color: #0284c7;
}

.hb-btn-primary {
	background-color: var(--main-color);
	color: #ffffff;
}

.hb-btn-primary:hover {
	background-color: var(--main-hover);
}

/* 5. 공통 상태 뱃지 (.hb-badge) */
.hb-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 12px;
	border-radius: 9999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.hb-badge-success {
	background-color: #ecfdf5;
	color: #059669;
}

.hb-badge-warning {
	background-color: #fffbeb;
	color: #d97706;
}

.hb-badge-secondary {
	background-color: #f1f5f9;
	color: #64748b;
}

/* 6. 공통 모달(Modal) Bootstrap 5.3 보정 */
.modal-content.rounded-4 {
	border-radius: 20px !important;
}

#hbAlertModal .modal-title, #hbConfirmModal .modal-title {
	font-size: 18px;
	letter-spacing: -0.3px;
}