/* ============================================================
   Gazet AI Tools
   Concept: a quiet AI workbench, not a generic app directory.
   ============================================================ */

:root {
	--gzt-ink: #14151f;
	--gzt-ink-2: #343846;
	--gzt-muted: #737b8d;
	--gzt-soft: #f5f6fa;
	--gzt-paper: #ffffff;
	--gzt-line: #e2e6ef;
	--gzt-line-strong: #cfd6e4;
	--gzt-brand: #705cf6;
	--gzt-brand-2: #8d7bff;
	--gzt-brand-soft: #f0edff;
	--gzt-mint: #15b981;
	--gzt-mint-soft: #e8fbf4;
	--gzt-warm: #ffefe2;
	--gzt-signal: #ff7a59;
	--gzt-deep: #171422;
	--gzt-shadow: 0 18px 50px -32px rgba(20, 21, 31, .38);
	--gzt-shadow-tight: 0 12px 28px -22px rgba(20, 21, 31, .35);
	--gzt-shadow-float: 0 40px 90px -46px rgba(46, 32, 120, .5);
	--gzt-radius: 14px;
	--gzt-radius-sm: 8px;
	--gzt-mono: ui-monospace, 'SF Mono', 'Cascadia Code', 'JetBrains Mono', Menlo, Consolas, monospace;
	--gzt-blueprint: rgba(112, 92, 246, .12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.gzt-body {
	margin: 0;
	font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
	color: var(--gzt-ink);
	background: #f7f8fd;
	line-height: 1.65;
	word-break: keep-all;
	overflow-x: hidden;
}

/* ============================================================
   배경 워시 (fixed, 전 페이지 공유) — gpt-image-2 생성 이미지
   ============================================================ */
.gzt-bg {
	position: fixed; inset: 0; z-index: -1;
	pointer-events: none; overflow: hidden;
	background: #f7f8fd;
}
.gzt-bg__img {
	position: absolute; inset: -9%;
	background-position: center top;
	background-size: cover;
	background-repeat: no-repeat;
	will-change: transform;
	animation: gzt-bg-drift 44s ease-in-out infinite;
}
/* 하단부는 흰색으로 부드럽게 페이드 → 긴 페이지에서도 콘텐츠 가독성 유지 */
.gzt-bg::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 0 42%, rgba(247,248,253,.72) 100%);
}
@keyframes gzt-bg-drift {
	0%, 100% { transform: scale(1.02) translate(0, 0); }
	50% { transform: scale(1.06) translate(-1.4%, -1%); }
}
img { max-width: 100%; }
a { color: var(--gzt-brand); text-decoration: none; }
a:hover { text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid rgba(112,92,246,.28); outline-offset: 3px; }

.gzt-container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* Header — 모든 컨트롤 높이 통일(38px) + 수직 정렬 */
.gzt-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(250, 251, 255, .8);
	backdrop-filter: saturate(140%) blur(16px);
	-webkit-backdrop-filter: saturate(140%) blur(16px);
	border-bottom: 1px solid rgba(207, 216, 228, .5);
}
.gzt-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
.gzt-header__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.gzt-header__logo { display: inline-flex; align-items: center; }
.gzt-header__logo img { height: 27px; display: block; }

/* 공통 컨트롤: 높이/정렬 일원화 */
.gzt-header__tools, .gzt-badge-safe, .gzt-btn-cta-sm {
	box-sizing: border-box;
	height: 38px; display: inline-flex; align-items: center;
	border-radius: 999px; white-space: nowrap;
	font-size: 13px; font-weight: 800; line-height: 1;
}
.gzt-header__tools {
	padding: 0 14px;
	border: 1px solid var(--gzt-line);
	background: rgba(255, 255, 255, .68);
	color: var(--gzt-muted);
	transition: color .16s ease, border-color .16s ease, background .16s ease;
}
.gzt-header__tools:hover { color: var(--gzt-brand); border-color: rgba(112, 92, 246, .42); background: #fff; }
.gzt-header__right { display: flex; align-items: center; gap: 10px; }
.gzt-badge-safe {
	gap: 7px; padding: 0 14px;
	background: var(--gzt-mint-soft);
	color: #08704d; font-size: 12.5px;
}
.gzt-badge-safe::before {
	content: ''; width: 7px; height: 7px; border-radius: 999px; background: var(--gzt-mint);
	box-shadow: 0 0 0 4px rgba(21, 185, 129, .14);
}
.gzt-btn-cta-sm {
	padding: 0 18px;
	background: var(--gzt-ink);
	color: #fff !important;
	box-shadow: var(--gzt-shadow-tight);
	transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.gzt-btn-cta-sm:hover { transform: translateY(-1px); background: var(--gzt-brand); box-shadow: 0 12px 24px -12px rgba(112, 92, 246, .6); }

/* Home hero */
.gzt-hero {
	position: relative;
	padding: 66px 0 46px;
	background: transparent; /* 고정 파랄랙스 배경이 히어로~콘텐츠까지 끊김 없이 흐르도록 */
}
.gzt-hero__grid {
	position: relative;
	display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, .78fr);
	gap: 34px; align-items: center;
}
.gzt-kicker {
	display: inline-flex; align-items: center; gap: 8px;
	margin-bottom: 18px; padding: 6px 10px;
	border: 1px solid var(--gzt-line);
	border-radius: 999px;
	background: rgba(255,255,255,.78);
	color: var(--gzt-brand);
	font-size: 12px; font-weight: 900;
	letter-spacing: .08em; text-transform: uppercase;
}
.gzt-kicker::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--gzt-brand); transform: rotate(45deg); }
.gzt-hero__title {
	max-width: 700px;
	margin: 0 0 16px;
	color: var(--gzt-ink);
	font-size: clamp(38px, 5vw, 68px);
	font-weight: 900;
	line-height: .98;
	letter-spacing: 0;
}
.gzt-hero__title em {
	position: relative;
	font-style: normal;
	color: var(--gzt-brand);
}
.gzt-hero__title em::after {
	content: '';
	position: absolute; left: 0; right: 0; bottom: .07em;
	height: .16em;
	background: var(--gzt-warm);
	z-index: -1;
}
.gzt-hero__desc {
	max-width: 640px;
	margin: 0 0 20px;
	color: var(--gzt-muted);
	font-size: 17px;
	line-height: 1.75;
}
.gzt-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.gzt-hero__badges span {
	display: inline-flex; align-items: center;
	min-height: 34px; padding: 0 12px;
	border: 1px solid var(--gzt-line);
	border-radius: 999px;
	background: rgba(255,255,255,.84);
	color: var(--gzt-ink-2);
	font-size: 13px; font-weight: 800;
}
.gzt-workbench {
	position: relative;
	padding: 14px;
	border: 1px solid rgba(20,21,31,.12);
	border-radius: 22px;
	background: var(--gzt-deep);
	color: #fff;
	box-shadow: 0 24px 72px -38px rgba(20,21,31,.66);
}
.gzt-workbench::after {
	content: '';
	position: absolute; inset: 10px;
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 16px;
	pointer-events: none;
}
.gzt-workbench__top {
	display: flex; align-items: center; gap: 7px;
	height: 30px; padding: 0 8px 10px;
	color: rgba(255,255,255,.68);
	font-size: 11px; font-weight: 900;
	letter-spacing: .08em; text-transform: uppercase;
}
.gzt-workbench__top strong { margin-left: auto; }
.gzt-workbench__dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.32); }
.gzt-workbench__dot:first-child { background: var(--gzt-signal); }
.gzt-workbench__dot:nth-child(2) { background: #f2c94c; }
.gzt-workbench__dot:nth-child(3) { background: var(--gzt-mint); }
.gzt-search {
	position: relative;
	padding: 18px;
	border-radius: 16px;
	background: #fff;
	color: var(--gzt-ink);
}
.gzt-search label {
	display: block;
	margin: 0 0 8px;
	color: var(--gzt-muted);
	font-size: 13px; font-weight: 900;
}
.gzt-search input {
	width: 100%; height: 54px;
	border: 1px solid var(--gzt-line);
	border-radius: 10px;
	background: var(--gzt-soft);
	color: var(--gzt-ink);
	padding: 0 16px;
	font-size: 16px;
	font-weight: 700;
	outline: none;
	transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.gzt-search input:focus { background: #fff; border-color: var(--gzt-brand); box-shadow: 0 0 0 4px rgba(112,92,246,.12); }
.gzt-quick-grid {
	display: grid; grid-template-columns: repeat(2, 1fr);
	gap: 8px; margin-top: 12px;
}
.gzt-quick-grid a {
	display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px;
	min-height: 48px; padding: 8px 10px;
	border: 1px solid rgba(255,255,255,.10);
	border-radius: 12px;
	background: rgba(255,255,255,.06);
	color: #fff;
}
.gzt-quick-grid a:hover { background: rgba(255,255,255,.11); border-color: rgba(141,123,255,.55); }
.gzt-quick-grid span { font-size: 18px; }
.gzt-quick-grid strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.gzt-quick-grid small { color: rgba(255,255,255,.55); font-size: 11px; font-weight: 800; }

/* Home sections */
.gzt-home-band {
	margin: 30px 0 16px;
	padding: 24px;
	border: 1px solid var(--gzt-line);
	border-radius: 22px;
	background: rgba(255,255,255,.82);
	box-shadow: var(--gzt-shadow-tight);
}
.gzt-section { padding: 28px 0 8px; }
.gzt-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.gzt-section__eyebrow { margin: 0 0 4px; color: var(--gzt-brand); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.gzt-section__title { margin: 0; color: var(--gzt-ink); font-size: 25px; font-weight: 900; line-height: 1.25; letter-spacing: -.01em; }
.gzt-section__title small { margin-left: 8px; color: var(--gzt-muted); font-size: 15px; font-weight: 700; }
.gzt-section__more {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 30px; padding: 0 11px;
	border: 1px solid var(--gzt-line);
	border-radius: 999px;
	color: var(--gzt-muted);
	background: #fff;
	font-size: 12px; font-weight: 900;
}
.gzt-section__more:hover { color: var(--gzt-brand); border-color: rgba(112,92,246,.42); }
.gzt-chiplist { display: flex; flex-wrap: wrap; gap: 10px; }
.gzt-chip {
	display: inline-flex; align-items: center;
	min-height: 40px; padding: 0 14px;
	border: 1px solid var(--gzt-line);
	border-radius: 999px;
	background: #fff;
	color: var(--gzt-ink-2);
	font-size: 14px; font-weight: 800;
	box-shadow: 0 1px 0 rgba(255,255,255,.9) inset;
	transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.gzt-chip:hover { transform: translateY(-1px); border-color: rgba(112,92,246,.5); color: var(--gzt-brand); box-shadow: var(--gzt-shadow-tight); }
.gzt-catnav {
	position: sticky; top: 72px; z-index: 30;
	display: flex; gap: 8px; overflow-x: auto;
	margin: 0 0 18px; padding: 12px 14px;
	background: rgba(251,252,255,.72);
	backdrop-filter: blur(12px);
	border: 1px solid var(--gzt-line);
	border-radius: 999px;
	box-shadow: var(--gzt-shadow-tight);
	scrollbar-width: none;
}
.gzt-catnav::-webkit-scrollbar { display: none; }
.gzt-catnav a {
	flex: 0 0 auto;
	display: inline-flex; align-items: center; gap: 6px;
	min-height: 36px; padding: 0 12px;
	border: 1px solid var(--gzt-line);
	border-radius: 999px;
	background: #fff;
	color: var(--gzt-muted);
	font-size: 13px; font-weight: 900;
}
.gzt-catnav a b { color: var(--gzt-brand); font-weight: 900; }
.gzt-catnav a:hover { color: var(--gzt-ink); border-color: rgba(112,92,246,.5); }
.gzt-cat-block {
	scroll-margin-top: 126px;
	margin: 14px 0;
	border: 1px solid var(--gzt-line);
	border-radius: 20px;
	background: rgba(255,255,255,.86);
	box-shadow: 0 1px 0 rgba(255,255,255,.9) inset;
	overflow: hidden;
}
.gzt-cat-block__head {
	display: flex; align-items: center; gap: 10px;
	min-height: 70px; padding: 16px 18px;
	cursor: pointer;
	user-select: none;
}
.gzt-cat-block__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px;
	border-radius: 14px;
	background: var(--gzt-brand-soft);
	font-size: 25px;
}
.gzt-cat-block__title { font-size: 21px; font-weight: 900; color: var(--gzt-ink); letter-spacing: -.01em; }
.gzt-cat-block__head small { color: var(--gzt-muted); font-size: 13px; font-weight: 800; }
.gzt-cat-block__head .gzt-section__more { margin-left: auto; }
.gzt-cat-block__head .arr { color: var(--gzt-muted); transition: transform .2s ease; }
.gzt-cat-block.is-open .arr { transform: rotate(180deg); }
.gzt-cat-block__body { display: none; padding: 0 18px 20px; }
.gzt-cat-block.is-open .gzt-cat-block__body { display: block; }
/* 큼지막·읽기 좋은 카드 그리드 (auto-fill 반응형: 데스크톱 3열, 태블릿 2열, 모바일 1열) */
.gzt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gzt-card {
	position: relative;
	display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
	min-height: 156px;
	padding: 22px 22px 20px;
	border: 1px solid var(--gzt-line);
	border-radius: 18px;
	background: #fff;
	color: var(--gzt-ink);
	box-shadow: 0 1px 0 rgba(255,255,255,.9) inset;
	transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.gzt-card__ic {
	display: inline-flex; align-items: center; justify-content: center;
	width: 54px; height: 54px; flex: none;
	border-radius: 16px;
	background: var(--gzt-brand-soft);
	font-size: 28px; line-height: 1;
	transition: transform .2s cubic-bezier(.2, .7, .2, 1), background .2s ease;
}
.gzt-card__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; width: 100%; }
.gzt-card::after {
	content: '';
	position: absolute; right: 18px; bottom: 16px;
	width: 22px; height: 2px;
	background: var(--gzt-line-strong);
	transition: width .16s ease, background .16s ease;
}
.gzt-card:hover { transform: translateY(-3px); border-color: rgba(112,92,246,.48); box-shadow: var(--gzt-shadow-tight); }
.gzt-card:hover::after { width: 38px; background: var(--gzt-brand); }
.gzt-card:hover .gzt-card__ic { transform: scale(1.07) rotate(-3deg); background: #e7e1ff; }
.gzt-card__name { color: var(--gzt-ink); font-size: 17px; font-weight: 800; line-height: 1.4; letter-spacing: -.01em; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.gzt-card__desc { color: var(--gzt-muted); font-size: 14px; line-height: 1.6; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }

/* Breadcrumb and tool pages */
.gzt-main { min-height: 52vh; }
.gzt-crumb { font-size: 13px; color: var(--gzt-muted); padding: 22px 0 0; }
.gzt-crumb a { color: var(--gzt-muted); font-weight: 800; }
.gzt-crumb a:hover { color: var(--gzt-brand); }
.gzt-crumb span { margin: 0 6px; color: var(--gzt-line-strong); }
.gzt-tool-head { padding: 18px 0 8px; }
.gzt-tool-head h1 { margin: 0 0 10px; color: var(--gzt-ink); font-size: 38px; font-weight: 900; line-height: 1.16; letter-spacing: -.02em; }
.gzt-tool-head p { margin: 0; color: var(--gzt-muted); font-size: 17px; line-height: 1.65; }
.gzt-panel {
	margin: 22px 0 10px;
	padding: 28px;
	border: 1px solid var(--gzt-line);
	border-radius: 20px;
	background: rgba(255,255,255,.92);
	box-shadow: var(--gzt-shadow);
}

/* Form controls */
.gzt-field { margin-bottom: 16px; }
.gzt-field label { display: block; margin-bottom: 6px; color: var(--gzt-ink); font-size: 13px; font-weight: 900; }
.gzt-field .gzt-hint { margin-left: 6px; color: var(--gzt-muted); font-size: 12px; font-weight: 600; }
.gzt-input, .gzt-select, .gzt-textarea {
	width: 100%;
	border: 1px solid var(--gzt-line);
	border-radius: 10px;
	background: #fff;
	color: var(--gzt-ink);
	padding: 12px 14px;
	font-size: 15px;
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.gzt-input:focus, .gzt-select:focus, .gzt-textarea:focus { border-color: var(--gzt-brand); box-shadow: 0 0 0 4px rgba(112,92,246,.12); }
.gzt-textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.gzt-input-suffix { position: relative; }
.gzt-input-suffix .gzt-suffix {
	position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
	color: var(--gzt-muted); font-size: 13px; pointer-events: none;
}
/* 커스텀 데이트피커 */
.gzt-date {
	cursor: pointer; padding-right: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23737b8d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='3'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 13px center;
}
.gzt-date:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23705cf6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='3'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E"); }
.gzt-datepop {
	position: fixed; z-index: 1000; width: 272px;
	background: #fff; border: 1px solid var(--gzt-line); border-radius: 16px;
	box-shadow: 0 22px 54px -18px rgba(20, 21, 31, .44);
	padding: 14px;
}
.gzt-datepop__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.gzt-datepop__title { font-weight: 900; font-size: 15.5px; color: var(--gzt-ink); }
.gzt-datepop__nav {
	width: 34px; height: 34px; flex: none;
	border: 1px solid var(--gzt-line); border-radius: 10px; background: #fff;
	cursor: pointer; font-size: 18px; line-height: 1; color: var(--gzt-ink-2);
	display: inline-flex; align-items: center; justify-content: center;
	transition: border-color .15s ease, color .15s ease;
}
.gzt-datepop__nav:hover { border-color: var(--gzt-brand); color: var(--gzt-brand); }
.gzt-datepop__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.gzt-datepop__w { text-align: center; font-size: 12px; font-weight: 800; color: var(--gzt-muted); padding: 4px 0 6px; }
.gzt-datepop__w.sun, .gzt-datepop__d.sun { color: #e0303a; }
.gzt-datepop__w.sat, .gzt-datepop__d.sat { color: #2f6bd8; }
.gzt-datepop__d {
	height: 34px; border: 0; background: none; border-radius: 9px;
	cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--gzt-ink);
	transition: background .12s ease;
}
.gzt-datepop__d.is-empty { visibility: hidden; pointer-events: none; }
.gzt-datepop__d:hover { background: var(--gzt-brand-soft); }
.gzt-datepop__d.is-today { box-shadow: inset 0 0 0 1.5px rgba(112, 92, 246, .4); }
.gzt-datepop__d.is-sel, .gzt-datepop__d.is-sel:hover { background: var(--gzt-brand); color: #fff !important; }
.gzt-datepop__foot { display: flex; justify-content: space-between; margin-top: 10px; }
.gzt-datepop__btn {
	border: 1px solid var(--gzt-line); border-radius: 9px; background: #fff;
	padding: 6px 14px; font-size: 13px; font-weight: 800; cursor: pointer; color: var(--gzt-ink-2);
	transition: border-color .15s ease, color .15s ease;
}
.gzt-datepop__btn:hover { border-color: var(--gzt-brand); color: var(--gzt-brand); }
.gzt-check { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.gzt-check input { width: 17px; height: 17px; accent-color: var(--gzt-brand); }
.gzt-row { display: flex; gap: 12px; flex-wrap: wrap; }
.gzt-row > .gzt-field { flex: 1; min-width: 180px; }
.gzt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	width: 100%;
	min-height: 50px;
	padding: 0 18px;
	border: 0;
	border-radius: 12px;
	background: var(--gzt-brand);
	color: #fff;
	cursor: pointer;
	font-size: 16px; font-weight: 900;
	min-width: 0; overflow-wrap: anywhere;
	box-shadow: 0 14px 30px -18px rgba(112,92,246,.75);
	transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.gzt-btn:hover { transform: translateY(-1px); background: #5d49e8; box-shadow: 0 18px 36px -20px rgba(112,92,246,.85); }
.gzt-btn:active { transform: translateY(0); }
.gzt-btn--ghost { background: #fff; color: var(--gzt-brand); border: 1px solid rgba(112,92,246,.36); box-shadow: none; }
.gzt-btn--ghost:hover { background: var(--gzt-brand-soft); }
.gzt-btn--sm { width: auto; min-height: 36px; padding: 0 14px; font-size: 13px; }

/* Results and upload areas */
.gzt-result { margin-top: 20px; }
.gzt-result:empty { display: none; }
.gzt-result-box { background: var(--gzt-soft); border: 1px solid var(--gzt-line); border-radius: 14px; padding: 18px 20px; max-width: 100%; overflow-x: auto; }
.gzt-result-rows { display: flex; flex-direction: column; }
.gzt-result-row {
	display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
	padding: 10px 0; border-bottom: 1px dashed var(--gzt-line-strong); font-size: 15px;
}
.gzt-result-row:last-child { border-bottom: 0; }
.gzt-result-row .k { color: var(--gzt-muted); font-weight: 800; min-width: 0; overflow-wrap: anywhere; }
.gzt-result-row .v { font-weight: 900; text-align: right; min-width: 0; overflow-wrap: anywhere; }
/* 대표 결과값 = 큼지막한 히어로 카드 (moneynestlab 벤치마킹) */
.gzt-result-row.em {
	flex-direction: column; align-items: flex-start; gap: 5px;
	margin: 2px 0 12px; padding: 16px 18px;
	border-bottom: 0; border-radius: 14px;
	background: linear-gradient(118deg, var(--gzt-brand-soft), rgba(240, 237, 255, .35));
	border: 1px solid rgba(112, 92, 246, .22);
}
.gzt-result-row.em .k { font-size: 13.5px; color: var(--gzt-brand); font-weight: 900; }
.gzt-result-row.em .v { color: var(--gzt-brand); font-size: 32px; line-height: 1.12; text-align: left; letter-spacing: -.01em; }
@media (max-width: 430px) { .gzt-result-row.em .v { font-size: 27px; } }
.gzt-copybar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; margin-top: 10px; gap: 8px; }
/* 액션 버튼 바 안의 버튼은 내용폭(width:100% 금지) — 라벨 줄바꿈/찌그러짐 방지, 높이 통일 */
.gzt-copybar .gzt-btn { width: auto; min-height: 40px; font-size: 14px; }
/* 가로 버튼 그룹(flex row)의 버튼도 내용폭 — 세로 전체폭 스택 방지.
   (커스텀 도구들이 flex 행에 .gzt-btn[width:100%]를 넣어 나란히 배치가 깨지던 문제)
   display:flex(무공백) / display: flex(JS 직렬화, 공백) / flex-wrap 모두 커버 */
[style*="flex"]:not([style*="column"]) > .gzt-btn { width: auto; }
.gzt-drop {
	padding: 42px 20px;
	border: 2px dashed rgba(112,92,246,.35);
	border-radius: 18px;
	background: rgba(112,92,246,.05);
	text-align: center;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}
.gzt-drop:hover, .gzt-drop.is-over { border-color: var(--gzt-brand); background: rgba(112,92,246,.09); }
.gzt-drop__icon { font-size: 34px; margin-bottom: 8px; }
.gzt-drop__label { font-size: 15px; font-weight: 900; }
.gzt-drop__sub { margin-top: 4px; color: var(--gzt-muted); font-size: 13px; }
.gzt-filelist { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.gzt-filelist__item {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	background: var(--gzt-soft); border: 1px solid var(--gzt-line); border-radius: 10px;
	padding: 9px 14px; font-size: 13px;
}
.gzt-preview { margin-top: 18px; text-align: center; }
.gzt-preview canvas, .gzt-preview img {
	max-width: 100%; max-height: 480px; border-radius: 12px;
	box-shadow: var(--gzt-shadow-tight);
	background: repeating-conic-gradient(#f0f0f4 0% 25%, #fff 0% 50%) 0 0/20px 20px;
}

/* Long-form content */
.gzt-content {
	max-width: 900px;
	margin: 34px auto 8px;
	padding: 6px 0;
}
.gzt-home-copy { max-width: 900px; }
.gzt-content h2 {
	margin: 0 0 10px;
	color: var(--gzt-ink);
	font-size: 21px;
	font-weight: 900;
	letter-spacing: 0;
}
.gzt-content h2:not(:first-child) { margin-top: 8px; }
.gzt-content p, .gzt-content li { color: #3d4352; font-size: 15px; line-height: 1.8; }
.gzt-content ol, .gzt-content ul { padding-left: 22px; margin: 8px 0 16px; }
.gzt-content li { margin-bottom: 6px; }
.gzt-content > h2, .gzt-content > p, .gzt-content > ol, .gzt-content > ul, .gzt-content > table, .gzt-content > .gzt-faq {
	padding: 20px;
	border: 1px solid var(--gzt-line);
	border-radius: 16px;
	background: rgba(255,255,255,.82);
}
.gzt-content > ol, .gzt-content > ul { padding-left: 40px; }
.gzt-content > table { margin: 0; } /* 박스 패딩이 여백 담당 (join 규칙이 상단여백 우선) */
.gzt-content > h2 { padding-bottom: 0; border-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.gzt-content > h2 + p, .gzt-content > h2 + ol, .gzt-content > h2 + ul, .gzt-content > h2 + table, .gzt-content > h2 + .gzt-faq {
	margin-top: -18px;
	padding-top: 28px;
	border-top: 0;
	border-top-left-radius: 0; border-top-right-radius: 0;
}
.gzt-content table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.gzt-content th { background: var(--gzt-soft); padding: 10px 14px; border: 1px solid var(--gzt-line); }
.gzt-content td { padding: 10px 14px; border: 1px solid var(--gzt-line); }
/* ============================================================
   콘텐츠 섹션 통일 디자인 (사용방법·유용해요·팁·FAQ)
   공통 카드 셸 + 아이콘 헤더, 섹션별 의미 있는 마커
   ============================================================ */
.gzt-sec {
	padding: 24px 26px;
	border: 1px solid var(--gzt-line);
	border-radius: 18px;
	background: rgba(255, 255, 255, .86);
	box-shadow: var(--gzt-shadow-tight);
	margin-bottom: 16px;
}
.gzt-sec:last-child { margin-bottom: 0; }
.gzt-content .gzt-sec > h2, .gzt-sec__head {
	display: flex; align-items: center; gap: 11px;
	margin: 0 0 18px; padding: 0 0 15px;
	border-bottom: 1px solid var(--gzt-line);
	font-size: 19px; font-weight: 900; color: var(--gzt-ink); line-height: 1.3;
}
.gzt-sec__ic {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; flex: 0 0 34px;
	border-radius: 10px; background: var(--gzt-brand-soft);
	font-size: 18px; line-height: 1;
}
.gzt-sec--use .gzt-sec__ic { background: var(--gzt-mint-soft); }
.gzt-sec--tips .gzt-sec__ic { background: var(--gzt-warm); }

/* 사용 방법 — 번호 타임라인 (순서가 정보이므로 번호 부여) */
.gzt-content ol.gzt-steps { list-style: none; margin: 0; padding: 0; counter-reset: gzt-step; }
.gzt-content .gzt-steps li {
	position: relative; counter-increment: gzt-step;
	margin: 0; padding: 2px 0 22px 48px;
	color: #3d4352; font-size: 15px; line-height: 1.75;
	overflow-wrap: anywhere; word-break: break-word;
}
.gzt-content .gzt-steps li:last-child { padding-bottom: 0; }
.gzt-content .gzt-steps li::before {
	content: counter(gzt-step); position: absolute; left: 0; top: -1px; z-index: 1;
	width: 32px; height: 32px; border-radius: 50%;
	background: linear-gradient(135deg, var(--gzt-brand), var(--gzt-brand-2));
	color: #fff; display: flex; align-items: center; justify-content: center;
	font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums;
	box-shadow: 0 6px 14px -6px rgba(112, 92, 246, .7);
}
.gzt-content .gzt-steps li::after {
	content: ''; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px;
	background: linear-gradient(var(--gzt-brand-soft), rgba(112, 92, 246, .04));
}
.gzt-content .gzt-steps li:last-child::after { display: none; }

/* 유용해요 / 팁 — 동일 레이아웃, 의미별 마커·색상 */
.gzt-content ul.gzt-marklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gzt-content .gzt-marklist li {
	position: relative; margin: 0; padding: 11px 14px 11px 44px;
	border-radius: 12px; font-size: 15px; line-height: 1.7; color: #3d4352;
	overflow-wrap: anywhere; word-break: break-word;
}
.gzt-content .gzt-marklist li::before {
	content: ''; position: absolute; left: 12px; top: 11px;
	width: 22px; height: 22px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 900;
}
.gzt-content .gzt-marklist--use li { background: rgba(21, 185, 129, .06); }
.gzt-content .gzt-marklist--use li::before { content: '✓'; background: var(--gzt-mint-soft); color: #0b8a5e; }
.gzt-content .gzt-marklist--tip li { background: rgba(255, 122, 89, .07); }
.gzt-content .gzt-marklist--tip li::before { content: '★'; background: var(--gzt-warm); color: var(--gzt-signal); font-size: 11px; }

/* body 세율표 등 */
.gzt-sec--body { overflow-x: auto; }
.gzt-content .gzt-sec--body table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.gzt-content .gzt-sec--body th { background: var(--gzt-soft); padding: 11px 14px; border: 1px solid var(--gzt-line); font-weight: 800; white-space: nowrap; }
.gzt-content .gzt-sec--body td { padding: 11px 14px; border: 1px solid var(--gzt-line); color: #3d4352; }

/* FAQ — 라운드 아코디언 (전 페이지 공통) */
.gzt-faq { margin: 0; }
.gzt-faq details {
	border: 1px solid var(--gzt-line); border-radius: 12px;
	background: rgba(255, 255, 255, .6); padding: 0 16px; margin-bottom: 8px;
	transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.gzt-faq details:last-child { margin-bottom: 0; }
.gzt-faq details[open] { border-color: rgba(112, 92, 246, .32); background: #fff; box-shadow: var(--gzt-shadow-tight); }
.gzt-faq summary {
	cursor: pointer; position: relative; list-style: none;
	padding: 15px 44px 15px 0;
	color: var(--gzt-ink); font-size: 15px; font-weight: 900; line-height: 1.5;
}
.gzt-faq summary::-webkit-details-marker { display: none; }
.gzt-faq summary::after {
	content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
	width: 26px; height: 26px; border-radius: 50%;
	background: var(--gzt-brand-soft); color: var(--gzt-brand);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 18px; font-weight: 800; line-height: 1;
	transition: transform .22s ease, background .22s ease, color .22s ease;
}
.gzt-faq details[open] summary::after { transform: translateY(-50%) rotate(135deg); background: var(--gzt-brand); color: #fff; }
.gzt-faq summary:hover::after { background: var(--gzt-brand); color: #fff; }
.gzt-faq details p { margin: 0 0 15px; color: #3d4352; font-size: 14.5px; line-height: 1.75; }
/* 긴 무공백 토큰(URL·영문·기호 나열) 줄바꿈 안전장치 */
.gzt-sec p, .gzt-faq summary, .gzt-faq details p { overflow-wrap: anywhere; word-break: break-word; }

/* CTA and footer */
.gzt-cta { padding: 54px 0 12px; }
.gzt-cta__box {
	position: relative; overflow: hidden; isolation: isolate;
	display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(220px, .55fr);
	align-items: center; gap: 32px;
	padding: 42px;
	border-radius: 24px;
	background:
		linear-gradient(120deg, rgba(112,92,246,.28), transparent 34%),
		var(--gzt-deep);
	color: #fff;
	box-shadow: 0 24px 70px -44px rgba(20,21,31,.72);
}
.gzt-cta__box::after {
	content: '';
	position: absolute; right: 36px; top: 34px; bottom: 34px;
	width: 1px;
	background: linear-gradient(180deg, transparent, rgba(255,255,255,.22), transparent);
}
.gzt-cta__logo { height: 22px; margin-bottom: 18px; opacity: .94; }
.gzt-cta__title { margin: 0 0 12px; font-size: 29px; font-weight: 900; line-height: 1.34; letter-spacing: 0; }
.gzt-cta__title em { color: #b8adff; font-style: normal; }
.gzt-cta__desc { margin: 0; color: rgba(255,255,255,.68); font-size: 15px; }
.gzt-cta__action { justify-self: end; position: relative; z-index: 1; }
.gzt-cta__btn {
	display: inline-flex; align-items: center; gap: 12px;
	min-height: 52px; padding: 0 24px;
	border-radius: 12px;
	background: #fff;
	color: var(--gzt-ink);
	font-size: 15px; font-weight: 900;
	transition: transform .18s ease, box-shadow .18s ease;
}
.gzt-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -18px rgba(255,255,255,.55); }
.gzt-footer { border-top: 1px solid var(--gzt-line); margin-top: 38px; background: rgba(255,255,255,.72); }
.gzt-footer__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding-top: 22px; padding-bottom: 26px; flex-wrap: wrap;
}
.gzt-footer__note { color: var(--gzt-muted); font-size: 12px; }
.gzt-footer__links { display: flex; gap: 16px; flex-wrap: wrap; }
.gzt-footer__links a { color: var(--gzt-muted); font-size: 12px; font-weight: 800; }
.gzt-footer__links a:hover { color: var(--gzt-brand); }

/* Related and 404 */
.gzt-related { padding: 8px 0; }
/* 관련 도구 그리드는 기본 .gzt-grid 반응형 규칙을 그대로 따른다 (이전의 4열 강제 오버라이드가 모바일 가로 오버플로우를 유발했음) */
.gzt-404 { text-align: center; padding: 90px 20px; }
.gzt-404 h1 { margin: 0 0 10px; font-size: 34px; font-weight: 900; }
.gzt-404 p { color: var(--gzt-muted); margin-bottom: 26px; }

/* 애드센스 광고 유닛 — 운영 도메인에서만 출력됨 */
.gzt-ad { margin: 28px 0; text-align: center; }
.gzt-ad .adsbygoogle { max-width: 100%; }
/* 광고 미채움(unfilled) 시 빈 공간 제거 — 구글 공식 collapse 방식 */
.gzt-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }
.gzt-ad ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }

/* ============================================================
   리디자인 — 모션 / 리빌 / 인터랙션
   ============================================================ */

/* 스크롤 리빌 (JS가 .gzt-reveal 부여 → 관측 시 .is-in).
   개별 translate 속성 사용 → transform(틸트/호버)과 독립 */
.gzt-reveal {
	opacity: 0;
	translate: 0 26px;
	transition: opacity .6s ease, translate .6s cubic-bezier(.2, .7, .2, 1);
	transition-delay: calc(var(--ri, 0) * 42ms);
}
.gzt-reveal.is-in { opacity: 1; translate: 0 0; }

/* 헤더 — 스크롤 시 응축 */
.gzt-header { transition: box-shadow .25s ease, background .25s ease, border-color .25s ease; }
.gzt-header.is-scrolled {
	background: rgba(251, 252, 255, .94);
	box-shadow: 0 10px 30px -24px rgba(20, 21, 31, .5);
	border-bottom-color: rgba(207, 216, 228, .95);
}

/* 모노 유틸 라벨 (계기판 느낌) */
.gzt-kicker, .gzt-workbench__top, .gzt-section__eyebrow { font-family: var(--gzt-mono); }
.gzt-catnav a b, .gzt-cat-block__head small, .gzt-quick-grid small,
.gzt-workbench__top strong { font-family: var(--gzt-mono); font-feature-settings: 'tnum'; }

/* 히어로 — 로드 시퀀스 + 깊이 (.gzt-anim 은 JS가 부여 → JS 없으면 항상 노출) */
.gzt-hero.gzt-anim .gzt-hero__title,
.gzt-hero.gzt-anim .gzt-hero__desc,
.gzt-hero.gzt-anim .gzt-hero__badges,
.gzt-hero.gzt-anim .gzt-kicker {
	opacity: 0; translate: 0 22px;
	transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1);
}
.gzt-hero.gzt-anim.is-loaded .gzt-kicker { transition-delay: .05s; }
.gzt-hero.gzt-anim.is-loaded .gzt-hero__title { transition-delay: .12s; }
.gzt-hero.gzt-anim.is-loaded .gzt-hero__desc { transition-delay: .22s; }
.gzt-hero.gzt-anim.is-loaded .gzt-hero__badges { transition-delay: .3s; }
.gzt-hero.gzt-anim.is-loaded .gzt-hero__title,
.gzt-hero.gzt-anim.is-loaded .gzt-hero__desc,
.gzt-hero.gzt-anim.is-loaded .gzt-hero__badges,
.gzt-hero.gzt-anim.is-loaded .gzt-kicker { opacity: 1; translate: 0 0; }

.gzt-workbench {
	transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease;
	transform-style: preserve-3d;
}
.gzt-hero.gzt-anim .gzt-workbench { opacity: 0; translate: 0 30px; }
.gzt-hero.gzt-anim.is-loaded .gzt-workbench { opacity: 1; translate: 0 0; transition: opacity .8s ease .28s, translate .8s cubic-bezier(.2, .7, .2, 1) .28s, transform .3s ease, box-shadow .3s ease; }
.gzt-workbench:hover { box-shadow: 0 40px 90px -40px rgba(20, 21, 31, .78); }
.gzt-workbench__top strong { color: #fff; letter-spacing: .12em; }

/* 애니메이션 밑줄 강조 (히어로 em) */
.gzt-hero.gzt-anim .gzt-hero__title em::after { transform-origin: left; animation: gzt-underline 1s cubic-bezier(.2, .7, .2, 1) .55s both; }
@keyframes gzt-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 카드 — 깊이/틸트 대응 (JS가 transform 관리) */
.gzt-grid { perspective: 1000px; }
.gzt-card { transform-style: preserve-3d; will-change: transform; }
.gzt-card::before {
	content: ''; position: absolute; inset: 0; border-radius: inherit;
	background: radial-gradient(120% 80% at 50% 0%, rgba(112, 92, 246, .09), transparent 70%);
	opacity: 0; transition: opacity .22s ease; pointer-events: none;
}
.gzt-card:hover::before { opacity: 1; }
.gzt-card__name { transition: color .18s ease; }
.gzt-card:hover .gzt-card__name { color: var(--gzt-brand); }

/* 칩 — 반짝임 hover */
.gzt-chip { position: relative; overflow: hidden; }
.gzt-chip::after {
	content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(112, 92, 246, .16), transparent);
	transform: skewX(-18deg); transition: left .5s ease;
}
.gzt-chip:hover::after { left: 130%; }

/* 부드러운 아코디언 (grid-rows 0fr→1fr) */
.gzt-cat-block__body {
	display: grid; grid-template-rows: 0fr;
	transition: grid-template-rows .42s cubic-bezier(.4, 0, .2, 1);
	padding: 0;
}
.gzt-cat-block.is-open .gzt-cat-block__body { grid-template-rows: 1fr; }
/* 접힘 요소는 패딩 없는 wrapper 로 — 패딩이 있으면 0fr 로도 완전히 접히지 않아 카드 상단이 삐져나옴 */
.gzt-cat-block__inner { overflow: hidden; min-height: 0; }
.gzt-cat-block__inner > .gzt-grid { padding: 2px 18px 20px; }
.gzt-cat-block__head { transition: background .2s ease; }
.gzt-cat-block__head:hover { background: rgba(112, 92, 246, .04); }
.gzt-cat-block__icon { transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.gzt-cat-block.is-open .gzt-cat-block__icon { transform: rotate(-6deg) scale(1.06); }

/* 도구 페이지 패널 — 떠 있는 느낌 */
.gzt-panel { box-shadow: var(--gzt-shadow-float); }

/* CTA 은은한 광택 */
.gzt-cta__box { position: relative; }
.gzt-cta__box::before {
	content: ''; position: absolute; inset: 0; z-index: 0;
	background: radial-gradient(80% 140% at 12% 0%, rgba(141, 123, 255, .22), transparent 60%);
	pointer-events: none;
}
.gzt-cta__lead, .gzt-cta__action { position: relative; z-index: 1; }

/* Responsive */
.gzt-br-md { display: none; }
@media (min-width: 768px) { .gzt-br-md { display: inline; } }
@media (max-width: 1040px) {
	.gzt-hero__grid { grid-template-columns: 1fr; }
	.gzt-workbench { max-width: 620px; }
}
@media (max-width: 760px) {
	.gzt-container { padding: 0 16px; }
	.gzt-header__inner { height: 58px; }
	.gzt-header__tools { display: none; }
	.gzt-badge-safe { display: none; }
	.gzt-btn-cta-sm { height: 36px; padding: 0 14px; font-size: 12.5px; }
	.gzt-hero { padding: 40px 0 28px; }
	.gzt-hero__title { font-size: clamp(34px, 11vw, 48px); }
	.gzt-hero__desc { font-size: 15px; }
	.gzt-workbench { padding: 10px; border-radius: 18px; }
	.gzt-search { padding: 14px; }
	.gzt-quick-grid { grid-template-columns: 1fr; }
	.gzt-catnav { top: 64px; margin: 0 0 14px; padding: 10px 12px; }
	.gzt-cat-block { scroll-margin-top: 118px; }
	.gzt-grid { gap: 12px; }
	.gzt-card { min-height: 138px; padding: 18px 18px 16px; }
	.gzt-card__ic { width: 48px; height: 48px; font-size: 25px; border-radius: 14px; }
	.gzt-cat-block__head { flex-wrap: wrap; }
	.gzt-cat-block__head .gzt-section__more { margin-left: 48px; }
	.gzt-tool-head h1 { font-size: 29px; }
	.gzt-panel { padding: 20px 16px; border-radius: 16px; }
	.gzt-sec { padding: 18px 16px; border-radius: 15px; }
	.gzt-content .gzt-sec > h2, .gzt-sec__head { font-size: 17px; }
	.gzt-content .gzt-steps li { padding-left: 44px; }
	.gzt-cta__box { grid-template-columns: 1fr; padding: 32px 22px; }
	.gzt-cta__box::after { display: none; }
	.gzt-cta__action { justify-self: start; }
	.gzt-footer__inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 430px) {
	.gzt-home-band { padding: 18px; }
	.gzt-cat-block__head .gzt-section__more { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.gzt-btn, .gzt-chip, .gzt-card, .gzt-cta__btn, .gzt-btn-cta-sm, .gzt-cat-block__head .arr { transition: none; }
	/* 모든 앰비언트/리빌 모션 정지 + 콘텐츠 즉시 노출 (배경 이미지는 유지) */
	.gzt-bg__img, .gzt-hero__title em::after { animation: none !important; }
	.gzt-bg__img { transform: scale(1.02) !important; }
	.gzt-reveal, .gzt-hero__title, .gzt-hero__desc, .gzt-hero__badges, .gzt-kicker, .gzt-workbench {
		opacity: 1 !important; translate: 0 0 !important; transition: none !important;
	}
	.gzt-chip::after { display: none; }
}
