/**
 * BBC YAPI MÜHENDİSLİK — İnşaat Malzeme & Metraj Hesaplama Sayfası
 * ----------------------------------------------------------------------------
 * Yalnızca page-hesaplama.php şablonunda kuyruğa alınır (bkz. functions.php
 * bbc_enqueue_template_style). Tüm seçiciler `.hs-` ön ekli veya `.hs-page`
 * kapsamındadır; sitenin geri kalanını etkilemez.
 *
 * Mobil öncelikli: taban stiller telefona göre, kırılımlar genişledikçe.
 */

/*
 * Tema `html, body { overflow-x: hidden !important }` kullanıyor; bu, body'yi
 * kaydırma kabı yapar ve yapışkan (sticky) sekme çubuğunu bozar. Yalnızca bu
 * sayfada (sınıf page-hesaplama.js tarafından eklenir) `clip` kullanılır:
 * yatay taşmayı aynı şekilde gizler ama kaydırma kabı oluşturmaz.
 * Desteklemeyen tarayıcıda bildirim yok sayılır, temanın kuralı geçerli kalır.
 */
html.hs-clip,
html.hs-clip body {
	overflow-x: clip !important;
}

.hs-page {
	--hs-ink: #0A0D14;
	--hs-ink-2: #11151F;
	--hs-ink-3: #1A2030;
	--hs-line-dark: rgba(255, 255, 255, 0.09);
	--hs-amber: var(--brand-primary, #F5A623);
	--hs-amber-2: var(--brand-primary-hover, #DC8F12);
	--hs-amber-soft: rgba(245, 166, 35, 0.12);
	--hs-ok: #22C55E;
	--hs-bad: #EF4444;
	--hs-radius: 14px;
	--hs-radius-sm: 10px;
	--hs-shadow: 0 1px 2px rgba(14, 15, 16, 0.05), 0 12px 32px -12px rgba(14, 15, 16, 0.18);
	--hs-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--hs-sticky-top: 64px;

	background: var(--surface-alt, #FAFAF8);
	color: var(--text-body, #4A4A47);
}

.hs-page h1,
.hs-page h2,
.hs-page h3 {
	font-family: var(--font-display, "Archivo", sans-serif);
	color: var(--text-heading, #0E0F10);
	letter-spacing: -0.01em;
	line-height: 1.15;
}

.hs-page code {
	font-family: var(--font-mono, ui-monospace, monospace);
}

/* ===========================================================================
   ORTAK BAŞLIK
   ======================================================================== */
.hs-section-head {
	max-width: 680px;
	margin: 0 auto 28px;
	text-align: center;
}

.hs-section-head h2 {
	font-size: clamp(1.6rem, 5vw, 2.4rem);
	font-weight: 900;
	margin: 10px 0 10px;
}

.hs-section-head p {
	color: var(--text-muted, #6B6B67);
	font-size: 1rem;
}

.hs-kicker {
	display: inline-block;
	font-family: var(--font-mono, monospace);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hs-amber-2);
	padding-left: 26px;
	position: relative;
}

.hs-kicker::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 18px;
	height: 2px;
	background: var(--hs-amber);
}

.hs-head-dark h2 { color: #FFFFFF; }
.hs-head-dark p { color: rgba(255, 255, 255, 0.62); }
.hs-head-dark .hs-kicker { color: var(--hs-amber); }

/* ===========================================================================
   HERO
   ======================================================================== */
.hs-hero {
	position: relative;
	overflow: hidden;
	background: var(--hs-ink);
	color: #FFFFFF;
	padding: 112px 0 92px;
	isolation: isolate;
}

.hs-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(900px 520px at 85% -5%, rgba(245, 166, 35, 0.24), transparent 62%),
		radial-gradient(700px 420px at -10% 110%, rgba(59, 130, 246, 0.10), transparent 60%);
	z-index: -1;
}

.hs-hero-grid-bg {
	position: absolute;
	inset: -40px;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
	background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
	-webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
	animation: hs-grid-pan 28s linear infinite;
}

@keyframes hs-grid-pan {
	to { transform: translate3d(80px, 80px, 0); }
}

.hs-hero-inner {
	display: grid;
	gap: 40px;
	align-items: center;
}

.hs-eyebrow-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-bottom: 18px;
}

.hs-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-mono, monospace);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hs-amber);
	background: var(--hs-amber-soft);
	border: 1px solid rgba(245, 166, 35, 0.3);
	padding: 6px 14px;
	border-radius: 999px;
}

.hs-eyebrow svg { width: 15px; height: 15px; }

.hs-badge-glow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-mono, monospace);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #4ADE80;
	background: rgba(34, 197, 94, 0.12);
	border: 1px solid rgba(34, 197, 94, 0.35);
	padding: 6px 12px;
	border-radius: 999px;
	box-shadow: 0 0 16px rgba(34, 197, 94, 0.2);
}

.hs-badge-glow svg { width: 14px; height: 14px; color: #4ADE80; }

.hs-hero h1 {
	color: #FFFFFF;
	font-size: clamp(2.1rem, 8vw, 3.9rem);
	font-weight: 900;
	line-height: 1.04;
	margin-bottom: 18px;
}

.hs-hero h1 span {
	display: block;
	background: linear-gradient(90deg, #FFD27A, var(--hs-amber) 45%, #FF8A3D);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hs-lead {
	color: rgba(255, 255, 255, 0.72);
	font-size: 1.04rem;
	max-width: 560px;
	margin-bottom: 26px;
}

.hs-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 30px;
}

.hs-hero-actions .btn svg { width: 17px; height: 17px; }

.hs-hero-stats {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--hs-line-dark);
	border: 1px solid var(--hs-line-dark);
	border-radius: var(--hs-radius-sm);
	overflow: hidden;
	max-width: 580px;
}

.hs-hero-stats li {
	background: rgba(10, 13, 20, 0.85);
	padding: 14px 12px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.hs-hero-stats strong {
	font-family: var(--font-display, sans-serif);
	font-size: 1.55rem;
	font-weight: 900;
	color: #FFFFFF;
	font-variant-numeric: tabular-nums;
}

.hs-hero-stats span {
	font-size: 0.74rem;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.3;
}

/* Hero görseli: kendini çizen bina kesiti */
.hs-hero-visual {
	position: relative;
	max-width: 460px;
	width: 100%;
	margin: 0 auto;
}

.hs-blueprint {
	width: 100%;
	height: auto;
	display: block;
	overflow: visible;
}

.hs-bp-draw path {
	stroke: rgba(255, 255, 255, 0.78);
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 1400;
	stroke-dashoffset: 1400;
}

.hs-bp-rebar path {
	stroke: var(--hs-amber);
	stroke-width: 1.6;
	stroke-dasharray: 6 5;
	opacity: 0;
}

.hs-bp-dim path {
	stroke: rgba(245, 166, 35, 0.55);
	stroke-width: 1;
	opacity: 0;
}

.hs-bp-tags text {
	fill: rgba(255, 255, 255, 0.55);
	font-family: var(--font-mono, monospace);
	font-size: 11px;
	text-anchor: middle;
	opacity: 0;
}

.hs-ready .hs-bp-draw path {
	animation: hs-draw 2.6s var(--hs-ease) forwards;
}

.hs-ready .hs-bp-draw path:nth-child(2) { animation-delay: 0.25s; }
.hs-ready .hs-bp-draw path:nth-child(3) { animation-delay: 0.45s; }
.hs-ready .hs-bp-draw path:nth-child(4) { animation-delay: 0.6s; }
.hs-ready .hs-bp-draw path:nth-child(5) { animation-delay: 0.9s; }
.hs-ready .hs-bp-draw path:nth-child(n+6) { animation-delay: 1.1s; }

.hs-ready .hs-bp-rebar path { animation: hs-fade 0.8s ease 1.9s forwards, hs-dash 1.6s linear 1.9s infinite; }
.hs-ready .hs-bp-dim path,
.hs-ready .hs-bp-tags text { animation: hs-fade 0.8s ease 2.1s forwards; }

@keyframes hs-draw { to { stroke-dashoffset: 0; } }
@keyframes hs-fade { to { opacity: 1; } }
@keyframes hs-dash { to { stroke-dashoffset: -22; } }

.hs-float-chip {
	position: absolute;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	column-gap: 9px;
	align-items: center;
	padding: 9px 13px;
	background: rgba(17, 21, 31, 0.82);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7);
	opacity: 0;
	transform: translateY(14px);
}

.hs-float-chip svg {
	grid-row: span 2;
	width: 30px;
	height: 30px;
	padding: 6px;
	border-radius: 8px;
	color: var(--hs-ink);
	background: var(--hs-amber);
}

.hs-float-chip span {
	font-size: 0.68rem;
	color: rgba(255, 255, 255, 0.55);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	line-height: 1.2;
}

.hs-float-chip b {
	font-family: var(--font-mono, monospace);
	font-size: 0.8rem;
	color: #FFFFFF;
	white-space: nowrap;
}

.hs-chip-a { top: 4%; left: -2%; }
.hs-chip-b { top: 38%; right: -4%; }
.hs-chip-c { bottom: 2%; left: 4%; }
.hs-chip-d { bottom: 12%; right: -2%; }

.hs-visual-glass {
	position: relative;
	background: rgba(17, 21, 31, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	padding: 12px;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hs-bp-slab {
	stroke: var(--hs-amber) !important;
	stroke-width: 2 !important;
}

.hs-bp-roof {
	stroke: #60A5FA !important;
}

.hs-ready .hs-float-chip {
	animation: hs-chip-in 0.7s var(--hs-ease) forwards, hs-bob 6s ease-in-out infinite;
}

.hs-ready .hs-chip-a { animation-delay: 1.4s, 2.1s; }
.hs-ready .hs-chip-b { animation-delay: 1.7s, 2.4s; }
.hs-ready .hs-chip-c { animation-delay: 2s, 2.7s; }
.hs-ready .hs-chip-d { animation-delay: 2.3s, 3s; }

@keyframes hs-chip-in { to { opacity: 1; transform: translateY(0); } }
@keyframes hs-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-7px); }
}

.hs-scroll-cue {
	position: absolute;
	left: 50%;
	bottom: 22px;
	transform: translateX(-50%);
	width: 24px;
	height: 38px;
	border: 2px solid rgba(255, 255, 255, 0.28);
	border-radius: 14px;
	display: none;
}

.hs-scroll-cue span {
	position: absolute;
	left: 50%;
	top: 7px;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 2px;
	background: var(--hs-amber);
	animation: hs-cue 1.8s ease-in-out infinite;
}

@keyframes hs-cue {
	0% { transform: translateY(0); opacity: 1; }
	70% { transform: translateY(12px); opacity: 0; }
	100% { transform: translateY(0); opacity: 0; }
}

/* ===========================================================================
   HAZIR ŞANTİYE SENARYOLARI (PRESETS)
   ======================================================================== */
.hs-presets {
	position: relative;
	margin-top: -46px;
	z-index: 3;
	margin-bottom: 24px;
}

.hs-presets-card {
	background: #FFFFFF;
	border: 1px solid var(--border-card, #EBEBE7);
	border-radius: 18px;
	padding: 24px 22px;
	box-shadow: var(--hs-shadow);
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.hs-presets-head {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.hs-presets-badge {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-mono, monospace);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hs-amber-2);
	background: var(--brand-primary-soft, #FFF3D6);
	padding: 4px 10px;
	border-radius: 999px;
}

.hs-presets-badge svg { width: 14px; height: 14px; }

.hs-presets-head h3 {
	font-size: 1.25rem;
	font-weight: 900;
	color: var(--text-heading, #0E0F10);
	margin: 0;
}

.hs-presets-head p {
	font-size: 0.92rem;
	color: var(--text-muted, #6B6B67);
	margin: 0;
}

.hs-presets-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 12px;
}

.hs-preset-btn {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-align: left;
	padding: 18px 16px;
	border-radius: 14px;
	border: 1.5px solid var(--border-card, #EBEBE7);
	background: var(--neutral-50, #FAFAF8);
	cursor: pointer;
	font: inherit;
	transition: all 0.25s var(--hs-ease);
}

.hs-preset-btn:hover {
	border-color: var(--hs-amber);
	background: #FFFFFF;
	transform: translateY(-3px);
	box-shadow: 0 12px 28px -10px rgba(245, 166, 35, 0.4);
}

.hs-preset-btn:active {
	transform: scale(0.98);
}

.hs-pb-icon {
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--brand-primary-soft, #FFF3D6);
	color: var(--hs-amber-2);
	transition: all 0.2s ease;
}

.hs-pb-icon svg { width: 19px; height: 19px; }

.hs-preset-btn:hover .hs-pb-icon {
	background: var(--hs-amber);
	color: var(--hs-ink);
}

.hs-pb-meta {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.hs-pb-meta strong {
	font-size: 0.96rem;
	font-weight: 800;
	color: var(--text-heading, #0E0F10);
	line-height: 1.25;
}

.hs-pb-meta small {
	font-size: 0.8rem;
	color: var(--text-muted, #6B6B67);
	line-height: 1.45;
}

.hs-pb-tag {
	align-self: flex-start;
	margin-top: auto;
	font-family: var(--font-mono, monospace);
	font-size: 0.68rem;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.05);
	color: var(--text-muted, #6B6B67);
}

.hs-preset-btn:hover .hs-pb-tag {
	background: rgba(245, 166, 35, 0.18);
	color: #925807;
}

/* ===========================================================================
   YÖNTEM ŞERİDİ
   ======================================================================== */
.hs-method {
	position: relative;
	margin-top: 14px;
	z-index: 2;
}

.hs-steps {
	list-style: none;
	display: grid;
	gap: 12px;
}

.hs-steps li {
	background: #FFFFFF;
	border: 1px solid var(--border-card, #EBEBE7);
	border-radius: var(--hs-radius);
	padding: 18px 20px;
	box-shadow: var(--hs-shadow);
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 14px;
	align-items: baseline;
}

.hs-step-no {
	grid-row: span 2;
	font-family: var(--font-display, sans-serif);
	font-weight: 900;
	font-size: 1.7rem;
	color: transparent;
	-webkit-text-stroke: 1.4px var(--hs-amber);
	line-height: 1;
}

.hs-steps h3 { font-size: 1.02rem; }
.hs-steps p { font-size: 0.9rem; color: var(--text-muted, #6B6B67); }

.hs-master-formula {
	margin: 18px auto 0;
	max-width: 760px;
	text-align: center;
	font-family: var(--font-mono, monospace);
	font-size: 0.88rem;
	color: var(--text-heading, #0E0F10);
	background: var(--brand-primary-soft, #FFF3D6);
	border: 1px dashed rgba(220, 143, 18, 0.5);
	border-radius: 999px;
	padding: 10px 18px;
}

.hs-master-formula span { font-weight: 800; }

/* ===========================================================================
   HESAPLAYICILAR
   ======================================================================== */
.hs-tools {
	padding: 56px 0 64px;
}

.hs-tabs-wrap {
	position: -webkit-sticky;
	position: sticky;
	top: var(--hs-sticky-top);
	z-index: 50;
	padding: 8px 0;
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.hs-tabs-wrap.is-stuck {
	background: rgba(250, 250, 248, 0.88);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 1px 0 var(--border-card, #EBEBE7), 0 10px 24px -18px rgba(0, 0, 0, 0.35);
}

.hs-tabs {
	position: relative;
	display: flex;
	gap: 6px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	padding: 4px;
	background: #FFFFFF;
	border: 1px solid var(--border-card, #EBEBE7);
	border-radius: 999px;
	box-shadow: var(--hs-shadow);
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}

.hs-tabs::-webkit-scrollbar { display: none; }

.hs-tab {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 15px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--text-body, #4A4A47);
	font-family: var(--font-body, sans-serif);
	font-size: 0.9rem;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	scroll-snap-align: center;
	transition: color 0.25s ease;
	-webkit-tap-highlight-color: transparent;
}

.hs-tab svg { width: 17px; height: 17px; transition: transform 0.3s var(--hs-ease); }
.hs-tab:hover { color: var(--text-heading, #0E0F10); }
.hs-tab:hover svg { transform: translateY(-1px) rotate(-6deg); }
.hs-tab.is-active { color: #FFFFFF; }
.hs-tab.is-active svg { color: var(--hs-amber); }

.hs-tab:focus-visible {
	outline: 2px solid var(--hs-amber);
	outline-offset: 2px;
}

.hs-tab-title {
	display: inline-block;
}

.hs-tab-badge {
	display: inline-flex;
	align-items: center;
	font-family: var(--font-mono, monospace);
	font-size: 0.65rem;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.06);
	color: var(--text-muted, #6B6B67);
	transition: background-color 0.25s ease, color 0.25s ease;
}

.hs-tab.is-active .hs-tab-badge {
	background: rgba(245, 166, 35, 0.25);
	color: #FFE3AE;
}

@media (max-width: 600px) {
	.hs-tab-badge {
		display: none;
	}
}

.hs-tab-ink {
	position: absolute;
	z-index: 0;
	top: 4px;
	bottom: 4px;
	left: 0;
	width: 0;
	border-radius: 999px;
	background: var(--hs-ink);
	box-shadow: 0 6px 16px -6px rgba(10, 13, 20, 0.6);
	transition: transform 0.45s var(--hs-ease), width 0.45s var(--hs-ease);
	pointer-events: none;
}

.hs-workbench {
	margin-top: 18px;
	min-height: 420px;
}

.hs-noscript {
	padding: 20px;
	background: #FFFFFF;
	border: 1px solid var(--border-card, #EBEBE7);
	border-radius: var(--hs-radius);
}

/* Hesap kartı */
.hs-card {
	display: grid;
	background: #FFFFFF;
	border: 1px solid var(--border-card, #EBEBE7);
	border-radius: 18px;
	box-shadow: var(--hs-shadow);
	overflow: hidden;
}

.hs-card.hs-enter {
	animation: hs-card-in 0.5s var(--hs-ease);
}

@keyframes hs-card-in {
	from { opacity: 0; transform: translateY(16px) scale(0.99); }
	to { opacity: 1; transform: none; }
}

.hs-card-form {
	padding: 22px 18px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.hs-card-head {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.hs-card-icon {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	color: var(--hs-ink);
	background: linear-gradient(135deg, #FFD27A, var(--hs-amber));
	box-shadow: 0 8px 20px -8px rgba(245, 166, 35, 0.8);
}

.hs-card-icon svg { width: 22px; height: 22px; }

.hs-card-head h3 {
	font-size: 1.28rem;
	font-weight: 900;
	margin-bottom: 4px;
}

.hs-card-head p {
	font-size: 0.9rem;
	color: var(--text-muted, #6B6B67);
	line-height: 1.45;
}

.hs-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 12px;
}

.hs-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	animation: hs-field-in 0.35s var(--hs-ease) both;
}

.hs-field[hidden] { display: none; }
.hs-wide { grid-column: 1 / -1; }

@keyframes hs-field-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

.hs-label {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--text-heading, #0E0F10);
	line-height: 1.25;
}

.hs-label em {
	font-style: normal;
	font-weight: 500;
	color: var(--text-muted, #6B6B67);
}

.hs-input-wrap {
	display: flex;
	align-items: stretch;
	gap: 6px;
	width: 100%;
}

.hs-input-wrap .hs-input {
	flex: 1 1 auto;
	min-width: 0;
}

.hs-stepper-btn {
	flex: 0 0 38px;
	width: 38px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid var(--border-card, #EBEBE7);
	border-radius: var(--hs-radius-sm);
	background: var(--neutral-50, #FAFAF8);
	color: var(--text-heading, #0E0F10);
	font-family: var(--font-mono, monospace);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.hs-stepper-btn:hover {
	background: #FFFFFF;
	border-color: var(--hs-amber);
	color: var(--hs-amber-2);
	box-shadow: 0 2px 8px rgba(245, 166, 35, 0.15);
}

.hs-stepper-btn:active {
	background: var(--brand-primary-soft, #FFF3D6);
	transform: scale(0.92);
}

.hs-stepper-btn:focus-visible {
	outline: 2px solid var(--hs-amber);
	outline-offset: 1px;
}

.hs-input,
.hs-select {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--neutral-50, #FAFAF8);
	border: 1.5px solid var(--border-card, #EBEBE7);
	border-radius: var(--hs-radius-sm);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hs-input:focus-within,
.hs-select:focus-within {
	border-color: var(--hs-amber);
	background: #FFFFFF;
	box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.16);
}

.hs-input input::-webkit-outer-spin-button,
.hs-input input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.hs-input input[type=number] {
	-moz-appearance: textfield;
}

.hs-input input {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	border: 0;
	background: transparent;
	padding: 12px 4px 12px 12px;
	font-family: var(--font-mono, monospace);
	font-size: 1rem; /* 16px: iOS yakınlaştırmasını önler */
	font-weight: 600;
	color: var(--text-heading, #0E0F10);
	outline: none;
	font-variant-numeric: tabular-nums;
}

.hs-unit {
	flex: 0 0 auto;
	padding: 0 12px 0 4px;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--text-muted, #6B6B67);
	white-space: nowrap;
}

.hs-select::after {
	content: "";
	position: absolute;
	right: 14px;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	border-right: 2px solid var(--text-muted, #6B6B67);
	border-bottom: 2px solid var(--text-muted, #6B6B67);
	transform: rotate(45deg);
	pointer-events: none;
}

.hs-select select {
	width: 100%;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: 0;
	background: transparent;
	padding: 12px 36px 12px 12px;
	font-family: var(--font-body, sans-serif);
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-heading, #0E0F10);
	outline: none;
	cursor: pointer;
	text-overflow: ellipsis;
}

.hs-field.is-invalid .hs-input {
	border-color: var(--hs-bad);
	box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
	animation: hs-shake 0.35s ease;
}

@keyframes hs-shake {
	25% { transform: translateX(-3px); }
	75% { transform: translateX(3px); }
}

/* Segment düğmeleri */
.hs-seg {
	display: flex;
	gap: 4px;
	padding: 4px;
	background: var(--neutral-100, #F4F4F1);
	border-radius: 12px;
	overflow-x: auto;
	scrollbar-width: none;
}

.hs-seg::-webkit-scrollbar { display: none; }

.hs-seg-btn {
	flex: 1 0 auto;
	border: 0;
	background: transparent;
	padding: 9px 12px;
	border-radius: 9px;
	font-family: var(--font-body, sans-serif);
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--text-body, #4A4A47);
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.hs-seg-btn:hover { color: var(--text-heading, #0E0F10); }

.hs-seg-btn.is-on {
	background: #FFFFFF;
	color: var(--text-heading, #0E0F10);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px -4px rgba(0, 0, 0, 0.18);
}

.hs-seg-btn:focus-visible {
	outline: 2px solid var(--hs-amber);
	outline-offset: 1px;
}

/* Formül şeridi */
.hs-formula {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 12px 14px;
	border-radius: var(--hs-radius-sm);
	background: var(--hs-ink);
	color: rgba(255, 255, 255, 0.86);
	margin-top: auto;
}

.hs-formula-tag {
	flex: 0 0 auto;
	font-family: var(--font-mono, monospace);
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hs-ink);
	background: var(--hs-amber);
	padding: 3px 7px;
	border-radius: 5px;
	margin-top: 1px;
}

.hs-formula code {
	font-size: 0.8rem;
	line-height: 1.55;
	word-break: break-word;
}

/* Sonuç paneli */
.hs-card-result {
	position: relative;
	background: var(--hs-ink);
	color: #FFFFFF;
	padding: 20px 18px 22px;
	overflow: hidden;
}

.hs-card-result::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(500px 260px at 100% 0%, rgba(245, 166, 35, 0.16), transparent 60%),
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 100% 28px;
	pointer-events: none;
}

.hs-card-result > * { position: relative; }

.hs-result-head {
	display: flex;
	align-items: center;
	gap: 9px;
	font-family: var(--font-mono, monospace);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 16px;
}

.hs-live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--hs-ok);
	box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
	animation: hs-pulse 2s infinite;
}

@keyframes hs-pulse {
	0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
	70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
	100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hs-result-actions {
	margin-left: auto;
	display: flex;
	gap: 6px;
}

.hs-icon-btn {
	position: relative;
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	border: 1px solid var(--hs-line-dark);
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.78);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.hs-icon-btn svg { width: 16px; height: 16px; grid-area: 1 / 1; transition: opacity 0.2s ease, transform 0.25s var(--hs-ease); }
.hs-icon-btn:hover { background: rgba(245, 166, 35, 0.14); border-color: rgba(245, 166, 35, 0.45); color: var(--hs-amber); }
.hs-icon-btn:active { transform: scale(0.94); }
.hs-icon-btn:focus-visible { outline: 2px solid var(--hs-amber); outline-offset: 2px; }
.hs-icon-btn .hs-ok-icon { opacity: 0; transform: scale(0.5); color: var(--hs-ok); }
.hs-icon-btn.is-done svg:not(.hs-ok-icon) { opacity: 0; transform: scale(0.5); }
.hs-icon-btn.is-done .hs-ok-icon { opacity: 1; transform: scale(1); }
.hs-icon-btn.is-done { border-color: rgba(34, 197, 94, 0.5); }

.hs-result-body.hs-in .hs-metric,
.hs-result-body.hs-in .hs-rows > div {
	animation: hs-rise 0.5s var(--hs-ease) both;
	animation-delay: calc(var(--i, 0) * 60ms);
}

.hs-result-body.hs-in .hs-rows > div {
	animation-delay: calc(180ms + var(--i, 0) * 35ms);
}

@keyframes hs-rise {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}

.hs-main-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.hs-metric {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid var(--hs-line-dark);
	min-width: 0;
}

.hs-metric-lead {
	grid-column: 1 / -1;
	background: linear-gradient(135deg, rgba(245, 166, 35, 0.2), rgba(245, 166, 35, 0.05));
	border-color: rgba(245, 166, 35, 0.4);
}

.hs-metric-label {
	font-size: 0.74rem;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.3;
}

.hs-metric-val {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0 6px;
}

.hs-metric-val b {
	font-family: var(--font-display, sans-serif);
	font-size: 1.5rem;
	font-weight: 900;
	color: #FFFFFF;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
	word-break: break-all;
}

.hs-metric-lead .hs-metric-val b {
	font-size: 2.2rem;
	color: var(--hs-amber);
}

.hs-metric-val small {
	font-size: 0.8rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.55);
}

.hs-metric-hint {
	font-family: var(--font-mono, monospace);
	font-size: 0.74rem;
	color: rgba(255, 255, 255, 0.5);
}

.hs-metric-badge {
	align-self: flex-start;
	margin-top: 2px;
	font-size: 0.7rem;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 999px;
}

.hs-st-ok .hs-metric-badge { background: rgba(34, 197, 94, 0.16); color: #4ADE80; }
.hs-st-bad .hs-metric-badge { background: rgba(239, 68, 68, 0.16); color: #F87171; }
.hs-st-bad { border-color: rgba(239, 68, 68, 0.45); }

.hs-warn {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 11px 13px;
	margin-bottom: 12px;
	border-radius: 10px;
	background: rgba(245, 166, 35, 0.1);
	border: 1px solid rgba(245, 166, 35, 0.35);
	color: #FFE3AE;
	font-size: 0.84rem;
	line-height: 1.45;
}

.hs-warn svg { flex: 0 0 auto; width: 17px; height: 17px; color: var(--hs-amber); margin-top: 1px; }

/* Dağılım çubuğu */
.hs-split {
	margin-top: 14px;
	padding: 14px;
	border-radius: 12px;
	border: 1px solid var(--hs-line-dark);
	background: rgba(255, 255, 255, 0.03);
}

.hs-split-title {
	display: block;
	font-size: 0.74rem;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 10px;
}

.hs-split-bar {
	display: flex;
	height: 10px;
	gap: 3px;
	border-radius: 999px;
	overflow: hidden;
}

.hs-split-seg {
	width: var(--w);
	border-radius: 999px;
	transform-origin: left;
	animation: hs-grow 0.9s var(--hs-ease) both;
}

.hs-split-seg:nth-child(2) { animation-delay: 0.12s; }
.hs-split-seg:nth-child(3) { animation-delay: 0.24s; }

@keyframes hs-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hs-seg-0 { background: var(--hs-amber); }
.hs-seg-1 { background: #60A5FA; }
.hs-seg-2 { background: #A3E635; }

.hs-split-legend {
	list-style: none;
	display: grid;
	gap: 6px;
	margin-top: 12px;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.75);
}

.hs-split-legend li { display: flex; align-items: center; gap: 8px; }
.hs-split-legend i { width: 10px; height: 10px; border-radius: 3px; flex: 0 0 auto; }
.hs-split-legend b { margin-left: auto; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.hs-split-legend small { color: rgba(255, 255, 255, 0.45); min-width: 34px; text-align: right; }

/* İkincil satırlar */
.hs-rows {
	margin-top: 14px;
	border-top: 1px solid var(--hs-line-dark);
}

.hs-rows > div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 9px 2px;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.hs-rows dt {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.68);
}

.hs-rows dd {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.6);
	white-space: nowrap;
	text-align: right;
}

.hs-rows dd b {
	color: #FFFFFF;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.hs-rows dd small { display: block; font-size: 0.72rem; color: rgba(255, 255, 255, 0.42); }

.hs-note {
	display: flex;
	gap: 8px;
	margin-top: 14px;
	font-size: 0.8rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.52);
}

.hs-note svg { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 2px; color: rgba(255, 255, 255, 0.45); }

.hs-empty {
	display: grid;
	place-items: center;
	text-align: center;
	gap: 10px;
	min-height: 220px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.92rem;
}

.hs-empty svg { width: 30px; height: 30px; color: var(--hs-bad); }

/* Sonuç Kartı Alt Aksiyonu: Büyük PDF Rapor CTA */
.hs-result-footer-actions {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--hs-line-dark);
}

.hs-pdf-cta {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 13px 18px;
	border-radius: 12px;
	border: 1px solid rgba(245, 166, 35, 0.4);
	background: linear-gradient(135deg, rgba(245, 166, 35, 0.22), rgba(245, 166, 35, 0.08));
	color: #FFFFFF;
	cursor: pointer;
	text-align: left;
	font: inherit;
	transition: transform 0.25s var(--hs-ease), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
	position: relative;
	overflow: hidden;
}

.hs-pdf-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
	transform: translateX(-100%);
	transition: transform 0.6s ease;
}

.hs-pdf-cta:hover::before {
	transform: translateX(100%);
}

.hs-pdf-cta:hover {
	transform: translateY(-2px);
	border-color: var(--hs-amber);
	background: linear-gradient(135deg, rgba(245, 166, 35, 0.32), rgba(245, 166, 35, 0.14));
	box-shadow: 0 10px 24px -8px rgba(245, 166, 35, 0.4);
}

.hs-pdf-cta:active {
	transform: scale(0.98);
}

.hs-pdf-cta > svg:first-child {
	width: 24px;
	height: 24px;
	color: var(--hs-amber);
	flex: 0 0 auto;
}

.hs-pdf-cta span {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.hs-pdf-cta span b {
	font-family: var(--font-display, sans-serif);
	font-size: 0.98rem;
	font-weight: 800;
	color: #FFFFFF;
	letter-spacing: 0.01em;
}

.hs-pdf-cta span small {
	font-size: 0.74rem;
	color: rgba(255, 255, 255, 0.65);
	line-height: 1.3;
}

.hs-pdf-cta > svg:last-child {
	width: 18px;
	height: 18px;
	color: var(--hs-amber);
	flex: 0 0 auto;
	transition: transform 0.25s var(--hs-ease);
}

.hs-pdf-cta:hover > svg:last-child {
	transform: translateY(2px);
}

/* ===========================================================================
   PDF RAPOR MODAL PENCERESİ
   ======================================================================== */
html.hs-modal-open,
html.hs-modal-open body {
	overflow: hidden !important;
}

.hs-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s var(--hs-ease), visibility 0.25s ease;
}

.hs-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.hs-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 13, 20, 0.78);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.hs-modal-box {
	position: relative;
	width: 100%;
	max-width: 520px;
	background: #FFFFFF;
	border: 1px solid var(--border-card, #EBEBE7);
	border-radius: 20px;
	padding: 28px 24px 22px;
	box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45);
	transform: scale(0.94) translateY(12px);
	transition: transform 0.3s var(--hs-ease);
	max-height: 90vh;
	overflow-y: auto;
}

.hs-modal.is-open .hs-modal-box {
	transform: scale(1) translateY(0);
}

.hs-modal-x {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid var(--border-hairline, #DEDEDA);
	background: var(--neutral-50, #FAFAF8);
	color: var(--text-muted, #6B6B67);
	cursor: pointer;
	transition: all 0.2s ease;
}

.hs-modal-x:hover {
	background: var(--neutral-100, #F4F4F1);
	color: var(--text-heading, #0E0F10);
	transform: rotate(90deg);
}

.hs-modal-x svg { width: 18px; height: 18px; }

.hs-modal-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 20px;
	padding-right: 36px;
}

.hs-modal-icon {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: var(--brand-primary-soft, #FFF3D6);
	color: var(--hs-amber-2);
	flex: 0 0 auto;
}

.hs-modal-icon svg { width: 22px; height: 22px; }

.hs-modal-head h3 {
	font-size: 1.25rem;
	font-weight: 900;
	color: var(--text-heading, #0E0F10);
	margin: 0;
}

.hs-modal-sub {
	font-size: 0.84rem;
	color: var(--text-muted, #6B6B67);
	margin-top: 2px;
}

.hs-modal-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.hs-mf {
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--text-heading, #0E0F10);
}

.hs-mf-wide {
	grid-column: 1 / -1;
}

.hs-mf input,
.hs-mf textarea {
	width: 100%;
	border: 1.5px solid var(--border-card, #EBEBE7);
	border-radius: var(--hs-radius-sm);
	background: var(--neutral-50, #FAFAF8);
	padding: 10px 12px;
	font-family: var(--font-body, sans-serif);
	font-size: 0.92rem;
	color: var(--text-heading, #0E0F10);
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hs-mf input:focus,
.hs-mf textarea:focus {
	border-color: var(--hs-amber);
	background: #FFFFFF;
	box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.18);
}

.hs-mf textarea {
	resize: vertical;
	min-height: 70px;
}

.hs-modal-actions {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 10px;
	padding-top: 14px;
	border-top: 1px solid var(--border-card, #EBEBE7);
}

.hs-btn-ghost {
	border: 0;
	background: transparent;
	padding: 10px 16px;
	border-radius: 10px;
	font-family: var(--font-body, sans-serif);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-muted, #6B6B67);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.hs-btn-ghost:hover {
	background: var(--neutral-100, #F4F4F1);
	color: var(--text-heading, #0E0F10);
}

.hs-modal-tip {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 14px;
	padding: 9px 12px;
	border-radius: var(--hs-radius-sm);
	background: var(--brand-primary-soft, #FFF3D6);
	font-size: 0.78rem;
	color: #6B4A0B;
	line-height: 1.4;
}

.hs-modal-tip svg {
	width: 15px;
	height: 15px;
	color: var(--hs-amber-2);
	flex: 0 0 auto;
	margin-top: 1px;
}

@media (max-width: 500px) {
	.hs-modal-form {
		grid-template-columns: 1fr;
	}
	.hs-modal-actions {
		flex-direction: column-reverse;
	}
	.hs-modal-actions .btn,
	.hs-modal-actions .hs-btn-ghost {
		width: 100%;
		text-align: center;
		justify-content: center;
	}
}

/* ===========================================================================
   FORMÜL KÜTÜPHANESİ
   ======================================================================== */
.hs-formulas {
	position: relative;
	background: var(--hs-ink);
	padding: 64px 0;
	overflow: hidden;
}

.hs-formulas::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(700px 380px at 0% 0%, rgba(245, 166, 35, 0.12), transparent 60%),
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 40px 40px,
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 40px 40px;
	pointer-events: none;
}

.hs-formulas > .container { position: relative; }

.hs-formula-grid {
	display: grid;
	gap: 12px;
}

.hs-formula-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-align: left;
	padding: 18px 46px 18px 18px;
	border-radius: var(--hs-radius);
	border: 1px solid var(--hs-line-dark);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
	color: #FFFFFF;
	cursor: pointer;
	font: inherit;
	transition: transform 0.3s var(--hs-ease), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.hs-formula-card:hover,
.hs-formula-card:focus-visible {
	transform: translateY(-4px);
	border-color: rgba(245, 166, 35, 0.5);
	box-shadow: 0 18px 40px -20px rgba(245, 166, 35, 0.45);
	outline: none;
}

.hs-fc-title {
	font-family: var(--font-display, sans-serif);
	font-size: 0.98rem;
	font-weight: 700;
}

.hs-fc-eq {
	font-size: 0.86rem;
	color: var(--hs-amber);
	background: rgba(245, 166, 35, 0.08);
	border-left: 2px solid var(--hs-amber);
	padding: 7px 10px;
	border-radius: 0 6px 6px 0;
	line-height: 1.5;
}

.hs-fc-note {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.45;
}

.hs-fc-go {
	position: absolute;
	top: 16px;
	right: 14px;
	width: 26px;
	height: 26px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.05);
	transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s var(--hs-ease);
}

.hs-fc-go svg { width: 15px; height: 15px; }

.hs-formula-card:hover .hs-fc-go {
	color: var(--hs-ink);
	background: var(--hs-amber);
	transform: rotate(45deg);
}

/* ===========================================================================
   REFERANS TABLOLAR
   ======================================================================== */
.hs-reference {
	padding: 64px 0;
}

.hs-ref-grid {
	display: grid;
	gap: 14px;
}

.hs-ref-card {
	background: #FFFFFF;
	border: 1px solid var(--border-card, #EBEBE7);
	border-radius: var(--hs-radius);
	padding: 20px 16px;
	box-shadow: var(--hs-shadow);
	min-width: 0;
}

.hs-ref-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.hs-ref-header svg,
.hs-ref-card h3 svg {
	width: 36px;
	height: 36px;
	padding: 7px;
	border-radius: 10px;
	color: var(--hs-amber-2);
	background: var(--brand-primary-soft, #FFF3D6);
	flex: 0 0 auto;
}

.hs-ref-header h3,
.hs-ref-card h3 {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--text-heading, #0E0F10);
	display: flex;
	align-items: center;
	gap: 9px;
}

.hs-ref-header small {
	font-size: 0.8rem;
	color: var(--text-muted, #6B6B67);
	display: block;
	margin-top: 2px;
}

.hs-ref-note {
	margin-top: 12px;
	font-size: 0.82rem;
	color: var(--text-muted, #6B6B67);
}

.hs-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 0 -4px;
	padding: 0 4px;
}

.hs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.86rem;
	min-width: 420px;
}

.hs-table th {
	text-align: left;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted, #6B6B67);
	padding: 8px 10px;
	border-bottom: 2px solid var(--hs-ink);
	white-space: nowrap;
}

.hs-table td {
	padding: 9px 10px;
	border-bottom: 1px solid var(--border-card, #EBEBE7);
	color: var(--text-body, #4A4A47);
}

.hs-table td:first-child {
	font-weight: 700;
	color: var(--text-heading, #0E0F10);
	white-space: nowrap;
}

.hs-table tbody tr { transition: background-color 0.2s ease; }
.hs-table tbody tr:hover { background: var(--brand-primary-soft, #FFF3D6); }
.hs-table-num td { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Çubuk grafik */
.hs-bars {
	list-style: none;
	display: grid;
	gap: 10px;
}

.hs-bars li {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: "label val" "track track";
	gap: 5px 10px;
	align-items: center;
}

.hs-bar-label { grid-area: label; font-size: 0.86rem; font-weight: 600; color: var(--text-heading, #0E0F10); }
.hs-bar-val { grid-area: val; font-family: var(--font-mono, monospace); font-size: 0.8rem; color: var(--text-muted, #6B6B67); }

.hs-bar-track {
	grid-area: track;
	height: 8px;
	border-radius: 999px;
	background: var(--neutral-100, #F4F4F1);
	overflow: hidden;
}

.hs-bar-fill {
	display: block;
	height: 100%;
	width: var(--w);
	border-radius: 999px;
	background: linear-gradient(90deg, var(--hs-ink-3), var(--hs-ink));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 1s var(--hs-ease);
}

.hs-bars-amber .hs-bar-fill { background: linear-gradient(90deg, #FFD27A, var(--hs-amber-2)); }
.hs-bars.is-in .hs-bar-fill { transform: scaleX(1); }
.hs-bars li:nth-child(2) .hs-bar-fill { transition-delay: 0.06s; }
.hs-bars li:nth-child(3) .hs-bar-fill { transition-delay: 0.12s; }
.hs-bars li:nth-child(4) .hs-bar-fill { transition-delay: 0.18s; }
.hs-bars li:nth-child(5) .hs-bar-fill { transition-delay: 0.24s; }
.hs-bars li:nth-child(6) .hs-bar-fill { transition-delay: 0.3s; }
.hs-bars li:nth-child(7) .hs-bar-fill { transition-delay: 0.36s; }
.hs-bars li:nth-child(8) .hs-bar-fill { transition-delay: 0.42s; }
.hs-bars li:nth-child(9) .hs-bar-fill { transition-delay: 0.48s; }
.hs-bars li:nth-child(10) .hs-bar-fill { transition-delay: 0.54s; }

/* Tanım listesi */
.hs-dl { display: grid; }

.hs-dl > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px dashed var(--border-hairline, #DEDEDA);
	font-size: 0.88rem;
}

.hs-dl dt { color: var(--text-body, #4A4A47); }
.hs-dl dd { font-family: var(--font-mono, monospace); font-weight: 700; color: var(--text-heading, #0E0F10); text-align: right; }

/* ===========================================================================
   KAPANIŞ: STANDARTLAR + CTA
   ======================================================================== */
.hs-closing {
	padding: 0 0 72px;
}

.hs-standards {
	background: #FFFFFF;
	border: 1px solid var(--border-card, #EBEBE7);
	border-radius: var(--hs-radius);
	padding: 22px 18px;
	box-shadow: var(--hs-shadow);
	margin-bottom: 18px;
}

.hs-standards-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}

.hs-standards-header svg,
.hs-standards h3 svg {
	width: 38px;
	height: 38px;
	padding: 8px;
	border-radius: 12px;
	color: var(--hs-ok);
	background: rgba(34, 197, 94, 0.14);
	flex: 0 0 auto;
}

.hs-standards-header h3,
.hs-standards h3 {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 900;
	color: var(--text-heading, #0E0F10);
	display: flex;
	align-items: center;
	gap: 9px;
}

.hs-standards-header p {
	margin: 2px 0 0;
	font-size: 0.85rem;
	color: var(--text-muted, #6B6B67);
}

.hs-standards ul {
	list-style: none;
	display: grid;
	gap: 8px;
	margin-bottom: 16px;
}

.hs-standards li {
	font-size: 0.88rem;
	padding-left: 16px;
	position: relative;
}

.hs-standards li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 2px;
	background: var(--hs-amber);
}

.hs-standards li strong { color: var(--text-heading, #0E0F10); margin-right: 4px; }

.hs-disclaimer {
	display: flex;
	gap: 10px;
	padding: 13px 14px;
	border-radius: var(--hs-radius-sm);
	background: var(--brand-primary-soft, #FFF3D6);
	color: #6B4A0B;
	font-size: 0.85rem;
	line-height: 1.5;
}

.hs-disclaimer svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--hs-amber-2); margin-top: 2px; }

.hs-cta {
	position: relative;
	display: grid;
	gap: 20px;
	padding: 28px 22px;
	border-radius: 18px;
	background: var(--hs-ink);
	color: #FFFFFF;
	overflow: hidden;
	isolation: isolate;
}

.hs-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(520px 280px at 100% 100%, rgba(245, 166, 35, 0.35), transparent 60%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 22px);
}

.hs-cta h2 {
	color: #FFFFFF;
	font-size: clamp(1.4rem, 4.6vw, 2rem);
	font-weight: 900;
	margin: 8px 0 8px;
}

.hs-cta p { color: rgba(255, 255, 255, 0.7); font-size: 0.96rem; }
.hs-cta .hs-kicker { color: var(--hs-amber); }

.hs-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hs-cta-actions .btn svg { width: 17px; height: 17px; }

/* ===========================================================================
   MOBİL YÜZEN HIZLI ERİŞİM VE AKSİYON ÇUBUĞU (FLOATING BAR)
   ======================================================================== */
.hs-mobile-bar {
	display: none;
}

@media (max-width: 767px) {
	.hs-mobile-bar {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 100;
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 4px;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
		background: rgba(10, 13, 20, 0.94);
		-webkit-backdrop-filter: blur(16px);
		backdrop-filter: blur(16px);
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
	}

	.hs-closing {
		padding-bottom: 100px !important;
	}

	.hs-mb-btn {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		padding: 7px 4px;
		border: 0;
		border-radius: 10px;
		background: transparent;
		color: rgba(255, 255, 255, 0.72);
		font-family: var(--font-body, sans-serif);
		font-size: 0.68rem;
		font-weight: 600;
		cursor: pointer;
		text-decoration: none;
		transition: all 0.2s ease;
		-webkit-tap-highlight-color: transparent;
	}

	.hs-mb-btn svg {
		width: 18px;
		height: 18px;
		color: rgba(255, 255, 255, 0.82);
		transition: transform 0.2s ease, color 0.2s ease;
	}

	.hs-mb-btn:active {
		background: rgba(255, 255, 255, 0.08);
		transform: scale(0.92);
	}

	.hs-mb-btn:hover,
	.hs-mb-btn:active {
		color: #FFFFFF;
	}

	.hs-mb-btn:hover svg {
		color: var(--hs-amber);
	}

	.hs-mb-wa {
		color: #4ADE80;
	}

	.hs-mb-wa svg {
		color: #4ADE80;
	}
}

/* ===========================================================================
   SCROLL REVEAL VE MİKRO ANİMASYONLAR
   ======================================================================== */
[data-animate="fade-up"] {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s var(--hs-ease), transform 0.6s var(--hs-ease);
}

[data-animate="zoom-in"] {
	opacity: 0;
	transform: scale(0.96);
	transition: opacity 0.5s var(--hs-ease), transform 0.5s var(--hs-ease);
}

.hs-ready [data-animate] {
	opacity: 1;
	transform: none;
}

/* ===========================================================================
   KIRILIMLAR
   ======================================================================== */
@media (max-width: 480px) {
	.hs-hero-stats { grid-template-columns: repeat(2, 1fr); }
	.hs-fields { grid-template-columns: 1fr; }
	.hs-main-grid { grid-template-columns: 1fr; }
	.hs-hero-stats strong { font-size: 1.3rem; }
	.hs-float-chip { display: none; }
	.hs-presets-card { padding: 18px 14px; }
	.hs-presets { margin-top: -24px; }
}

@media (max-width: 767px) {
	.hs-hero-actions .btn { flex: 1 1 100%; }
	.hs-cta-actions .btn { flex: 1 1 100%; }
	.hs-float-chip { padding: 7px 10px; }
	.hs-float-chip svg { width: 26px; height: 26px; }
	.hs-tabs-wrap > .container { padding: 0 12px; }
	.hs-presets-grid { grid-template-columns: 1fr; }
}

@media (min-width: 600px) {
	.hs-steps { grid-template-columns: repeat(3, 1fr); }
	.hs-steps li { grid-template-columns: 1fr; row-gap: 6px; }
	.hs-step-no { grid-row: auto; }
	.hs-formula-grid { grid-template-columns: repeat(2, 1fr); }
	.hs-ref-grid { grid-template-columns: repeat(2, 1fr); }
	.hs-ref-wide { grid-column: 1 / -1; }
	.hs-standards ul { grid-template-columns: repeat(2, 1fr); }
	.hs-presets-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
	.hs-hero { padding: 150px 0 120px; }
	.hs-scroll-cue { display: block; }
	.hs-card-form { padding: 28px; }
	.hs-card-result { padding: 26px 26px 28px; }
	.hs-ref-card { padding: 24px 22px; }
	.hs-standards { padding: 26px 26px; }
	.hs-cta { padding: 40px 36px; }
}

@media (min-width: 992px) {
	.hs-hero-inner { grid-template-columns: 1.08fr 0.92fr; gap: 56px; }
	.hs-hero-visual { max-width: none; }
	.hs-card { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
	.hs-card-result { border-left: 1px solid var(--hs-line-dark); }
	.hs-formula-grid { grid-template-columns: repeat(3, 1fr); }
	.hs-tabs { justify-content: flex-start; }
	.hs-cta { grid-template-columns: 1fr auto; align-items: center; }
	.hs-cta-actions { flex-direction: column; }
	.hs-tools { padding-top: 72px; }
	.hs-presets-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1200px) {
	.hs-ref-grid { grid-template-columns: repeat(3, 1fr); }
	.hs-ref-wide { grid-column: span 2; grid-row: span 2; }
	.hs-tabs { -webkit-mask-image: none; mask-image: none; }
}

/* ===========================================================================
   HAREKET AZALTMA
   ======================================================================== */
@media (prefers-reduced-motion: reduce) {
	.hs-page *,
	.hs-page *::before,
	.hs-page *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		animation-delay: 0s !important;
		transition-duration: 0.001ms !important;
		transition-delay: 0s !important;
	}

	.hs-bp-draw path { stroke-dashoffset: 0; }
	.hs-bp-rebar path,
	.hs-bp-dim path,
	.hs-bp-tags text,
	.hs-float-chip { opacity: 1; transform: none; }
	.hs-bar-fill { transform: none; }
}

/* ===========================================================================
   YAZDIRMA — "Yazdır" düğmesi yalnızca aktif hesap kartını basar
   ======================================================================== */
@media print {
	body.hs-print-mode * { visibility: hidden !important; }

	body.hs-print-mode .hs-workbench,
	body.hs-print-mode .hs-workbench * { visibility: visible !important; }

	body.hs-print-mode .hs-workbench {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		margin: 0;
	}

	body.hs-print-mode .hs-result-actions,
	body.hs-print-mode .hs-result-footer-actions,
	.hs-mobile-bar,
	.hs-modal,
	.hs-presets { display: none !important; }

	.hs-card,
	.hs-card-result,
	.hs-formula,
	.hs-metric,
	.hs-split,
	.hs-warn {
		background: #FFFFFF !important;
		color: #111111 !important;
		border-color: #CCCCCC !important;
		box-shadow: none !important;
	}

	.hs-card { display: block !important; border: 1px solid #CCCCCC !important; }
	.hs-card-result::before { display: none !important; }
	.hs-card-result *,
	.hs-formula * { color: #111111 !important; }
	.hs-metric-lead .hs-metric-val b { color: #111111 !important; }
	.hs-formula-tag { background: #EEEEEE !important; }
	.hs-input, .hs-select { background: #FFFFFF !important; }
	.hs-select::after { display: none; }
	.hs-page *, .hs-page *::before, .hs-page *::after { animation: none !important; transition: none !important; }

	.hs-hero,
	.hs-formulas,
	.hs-cta { background: #FFFFFF !important; color: #111111 !important; }
}
