/* ============ Hesaplama aracı ============ */
.calc-hero { padding-bottom: 120px; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 760px; margin-top: 32px; }
.mode { display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px 18px; border-radius: 16px; border: 1.5px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #c9d2de; cursor: pointer; min-height: 72px; transition: border-color .2s, background .2s, color .2s; }
.mode:hover { border-color: rgba(255, 255, 255, .32); }
.mode i { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; flex: none; color: #fff; }
.mode i svg { width: 22px; height: 22px; }
.mode b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 16px; color: #fff; }
.mode small { display: block; font-size: 14px; color: #9aa6b6; }
.mode.is-on { background: #fff; border-color: #fff; }
.mode.is-on i { background: var(--sun-500); color: var(--ink-900); }
.mode.is-on b { color: var(--ink-900); }
.mode.is-on small { color: var(--text-2); }

body[data-mode="ozel"] .only-kutu, body[data-mode="kutu"] .only-ozel { display: none !important; }

.calc { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: -72px; position: relative; z-index: 2; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 28px; }
.step-h { display: flex; gap: 14px; align-items: flex-start; margin: 28px 0 14px; }
.step-h:first-child { margin-top: 0; }
.step-h h2 { font-size: 20px; margin: 0 0 2px; }
.step-h p { margin: 0; color: var(--text-2); font-size: 15px; }
.n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink-900); color: var(--sun-400); font-family: var(--font-head); font-weight: 600; font-size: 14px; display: grid; place-items: center; flex: none; margin-top: 1px; }
.q { padding: 16px 0; border-top: 1px solid var(--line); }
.q__label { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.q__label small { color: var(--text-3); font-weight: 600; font-size: 13px; }

/* Senaryolar */
.scen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.scen button { border: 1.5px solid var(--line-2); background: #fff; border-radius: 14px; padding: 12px 4px; cursor: pointer; font-weight: 700; font-size: 13px; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 72px; justify-content: center; color: var(--text-2); transition: border-color .2s, background .2s, color .2s; }
.scen button svg { width: 24px; height: 24px; }
.scen button:hover { border-color: var(--ink-900); color: var(--text); }
.scen button.is-on { border-color: var(--sun-500); background: var(--sun-50); color: var(--sun-700); box-shadow: 0 0 0 3px rgba(245, 165, 36, .18); }

/* Segment */
.seg { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 8px; }
.seg button { border: 1.5px solid var(--line-2); background: #fff; border-radius: 12px; padding: 10px 8px; cursor: pointer; font-weight: 700; font-size: 15px; display: flex; flex-direction: column; align-items: center; gap: 1px; min-height: 52px; justify-content: center; color: var(--text); transition: border-color .2s, background .2s; }
.seg button:hover { border-color: var(--ink-900); }
.seg button.is-on { border-color: var(--sun-500); background: var(--sun-50); color: var(--sun-700); box-shadow: 0 0 0 3px rgba(245, 165, 36, .18); }
.seg button small { font-weight: 600; font-size: 12px; color: var(--text-3); }

/* Cihazlar (kart düzeni) */
.devs { display: grid; gap: 10px; }
.dev { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.dev:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.dev__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--sun-50); color: var(--sun-700); display: grid; place-items: center; }
.dev__icon svg { width: 24px; height: 24px; }
.dev__main { min-width: 0; display: grid; gap: 10px; }
.dev__top { display: flex; align-items: center; gap: 10px; min-height: 32px; }
.dev__name { flex: 1; min-width: 0; }
.dev__name b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 16px; line-height: 1.3; }
.dev__name .input { min-height: 38px; padding: 7px 10px; font-size: 15px; }
.dev__wh { flex: none; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--text); background: var(--bg-2); padding: 4px 10px; border-radius: 999px; }
.dev__wh small { font-family: var(--font-body); font-weight: 600; font-size: 12px; color: var(--text-3); margin-left: 2px; }
.dev__del { width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: var(--text-3); cursor: pointer; display: grid; place-items: center; flex: none; }
.dev__del:hover { background: #fef2f2; color: var(--danger); }
.dev__del svg { width: 16px; height: 16px; }
.dev__ctrl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mini { display: inline-flex; align-items: center; height: 40px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; overflow: hidden; }
.mini:focus-within { border-color: var(--sun-600); box-shadow: 0 0 0 3px rgba(245, 165, 36, .2); }
.mini input { width: 58px; border: 0; outline: none; padding: 6px 2px 6px 10px; font-weight: 700; font-size: 15px; background: transparent; }
.mini em { font-style: normal; font-size: 12px; color: var(--text-3); font-weight: 700; padding-right: 10px; white-space: nowrap; }
.when { display: inline-flex; background: var(--bg-2); border-radius: 12px; padding: 3px; gap: 2px; }
.when button { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: var(--text-2); font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.when button svg { width: 15px; height: 15px; }
.when button:hover { color: var(--text); }
.when button.is-on { background: #fff; color: var(--sun-700); box-shadow: var(--shadow-sm); }
.dev__qty { display: inline-flex; align-items: center; gap: 2px; background: var(--bg-2); border-radius: 12px; padding: 3px; margin-left: auto; }
.dev__qty button { width: 34px; height: 34px; border: 0; border-radius: 9px; background: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.dev__qty button svg { width: 14px; height: 14px; }
.dev__qty b { min-width: 24px; text-align: center; font-family: var(--font-head); font-size: 15px; }
.dev-empty { padding: 28px; text-align: center; color: var(--text-3); border: 1.5px dashed var(--line-2); border-radius: 16px; }
.add-dev { margin-top: 10px; border-style: dashed; color: var(--text-2); font-weight: 600; }

/* Tüketim dağılımı */
.bd { margin-top: 14px; padding: 16px; border-radius: 16px; background: var(--bg-2); }
.bd:empty { display: none; }
.bd__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.bd__head span { font-size: 14px; font-weight: 700; color: var(--text-2); }
.bd__head b { font-family: var(--font-head); font-weight: 600; font-size: 20px; }
.bd__bar { display: flex; height: 12px; border-radius: 8px; overflow: hidden; gap: 2px; background: #fff; }
.bd__bar i { display: block; min-width: 3px; }
.bd__legend { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.bd__legend li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); font-weight: 600; }
.bd__legend i { width: 10px; height: 10px; border-radius: 3px; }
.bd__legend b { color: var(--text); }

/* Kutu kartı ekleri */
.box__cell { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--leaf-600); background: var(--leaf-50); padding: 3px 10px; border-radius: 99px; }
.box__cell svg { width: 14px; height: 14px; }
.box__spec .is-sample { background: #fff; border: 1.5px dashed var(--line-2); }
.box__spec .is-sample dt::after { content: ' · örnek'; color: var(--sky-500); }
.box__extra { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.box__extra svg { width: 18px; height: 18px; color: var(--sun-700); }

.data-source { display: flex; gap: 8px; align-items: flex-start; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.data-source svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }

/* Sonuçlar */
.results { min-width: 0; display: grid; gap: 24px; }
.results > .only-ozel, .results > .only-kutu { display: grid; gap: 24px; }
.hero-res { background: var(--ink-900); color: #fff; border-radius: var(--r-xl); padding: 28px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-res::before { content: ''; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 165, 36, .38), transparent 65%); }
.hero-res > * { position: relative; }
.hero-res__label { color: #9aa6b6; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.hero-res__big { font-family: var(--font-head); font-size: clamp(44px, 6vw, 60px); font-weight: 600; letter-spacing: -.04em; line-height: 1; margin: 12px 0 8px; }
.hero-res__big small { font-size: .3em; color: var(--sun-400); letter-spacing: 0; margin-left: 8px; font-weight: 500; }
.hero-res__sub { color: #c9d2de; font-size: 15px; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
.kpi { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 16px; position: relative; }
.kpi > i { position: absolute; top: 14px; right: 14px; color: #5f6f86; }
.kpi > i svg { width: 22px; height: 22px; }
.kpi small { display: block; color: #9aa6b6; font-size: 13px; font-weight: 600; }
.kpi b { display: block; font-family: var(--font-head); font-size: 22px; font-weight: 600; margin: 4px 0 2px; letter-spacing: -.02em; }
.kpi span { color: #9aa6b6; font-size: 13px; line-height: 1.4; display: block; }
.kpi--sun b { color: var(--sun-400); }
.auto { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(5, 150, 105, .14); color: #a7f3d0; font-size: 15px; }
.auto i, .auto svg { width: 18px; height: 18px; flex: none; }
.auto b { color: #fff; }
.results.is-empty .kpis, .results.is-empty .auto { opacity: .4; }
.best { display: flex; gap: 14px; align-items: center; margin-top: 20px; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.best > i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); flex: none; }
.best > i svg { width: 22px; height: 22px; }
.best small { display: block; color: #9aa6b6; font-size: 13px; font-weight: 600; }
.best b { display: block; font-family: var(--font-head); font-size: 22px; font-weight: 600; }
.best span { color: #c9d2de; font-size: 14px; }
.best--ok > i { background: var(--leaf-500); color: #fff; }
.best--warn > i { background: var(--sun-500); color: var(--ink-900); }

.chart-card { box-shadow: var(--shadow); }
.chart-card h3 { font-size: 18px; margin-bottom: 4px; }
.chart-card > p, .chart-head p { font-size: 14px; color: var(--text-3); margin-bottom: 14px; }
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.select--sm { width: auto; min-height: 40px; padding: 8px 36px 8px 12px; font-size: 14px; font-weight: 600; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart-empty { color: var(--text-3); text-align: center; padding: 40px 0; margin: 0; }
.note { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.note:empty { display: none; }
.note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.note--ok { background: var(--leaf-50); color: #065f46; }
.note--warn { background: #fff7ed; color: #9a3412; }
.note--info { background: var(--sky-50); color: #075985; font-weight: 500; }

.boxes { display: grid; gap: 12px; }
.box { border: 1.5px solid var(--line); border-radius: 16px; padding: 18px; transition: border-color .2s, box-shadow .2s; }
.box.is-best { border-color: var(--leaf-500); box-shadow: 0 0 0 3px rgba(5, 150, 105, .14); }
.box__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.box__head h4 { font-size: 17px; margin: 0 0 4px; }
.sample { display: inline-block; font-size: 12px; font-weight: 700; color: var(--sky-500); background: var(--sky-50); padding: 2px 8px; border-radius: 99px; }
.status { font-family: var(--font-head); font-weight: 500; font-size: 13px; padding: 5px 12px; border-radius: 99px; white-space: nowrap; }
.status--ok { background: var(--leaf-50); color: #065f46; }
.status--part { background: #fff7ed; color: #9a3412; }
.status--no { background: #fef2f2; color: #991b1b; }
.box__spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 12px; }
.box__spec div { background: var(--bg-2); border-radius: 10px; padding: 8px 10px; }
.box__spec dt { font-size: 12px; color: var(--text-3); font-weight: 700; }
.box__spec dd { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.meter { height: 8px; border-radius: 8px; background: var(--bg-3); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--sun-500); border-radius: 8px; transition: width .4s var(--ease); }
.box--ok .meter span { background: var(--leaf-500); }
.box--no .meter span { background: #cbd5e1; }
.box__why { font-size: 14px; color: var(--text-2); margin: 10px 0 0; }

.pkgs { display: grid; gap: 10px; }
.pkg { display: flex; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s; }

.pkg img, .pkg > i { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; background: var(--bg-2); }
.pkg > i { display: grid; place-items: center; color: var(--sun-700); }
.pkg > i svg { width: 26px; height: 26px; }
.pkg b { display: block; font-size: 15px; line-height: 1.35; }
.pkg small { color: var(--text-3); font-weight: 600; font-size: 13px; }
.assume { font-size: 13px; color: var(--text-3); margin: 16px 0 0; line-height: 1.6; }
.assume b { color: var(--text-2); }

.calc-bar { display: none; }

@media (max-width: 1140px) {
  .calc { grid-template-columns: 1fr; }
  .scen { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 760px) {
  .dev { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .dev__icon { width: 40px; height: 40px; border-radius: 12px; }
  .dev__icon svg { width: 20px; height: 20px; }
  .when { order: 3; width: 100%; }
  .when button { flex: 1; justify-content: center; padding: 0 4px; }
  .when button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .dev__qty { margin-left: auto; }
  .calc-hero { padding-bottom: 96px; }
  .modes { grid-template-columns: 1fr; }
  .mode { min-height: 64px; padding: 12px 14px; }
  .calc { margin-top: -60px; gap: 20px; }
  .panel, .hero-res { padding: 20px 16px; border-radius: 20px; }
  .scen { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .scen button { font-size: 12px; min-height: 64px; padding: 8px 2px; }
  .scen button svg { width: 22px; height: 22px; }
  .seg button { font-size: 14px; padding: 8px 4px; }
  .kpi { padding: 14px 12px; }
  .kpi b { font-size: 18px; }
  .kpi > i { display: none; }
  .box__spec { grid-template-columns: repeat(2, 1fr); }
  .chart-head { flex-direction: column; }
  .calc-bar { display: flex; position: fixed; left: 12px; right: 84px; bottom: 16px; z-index: 55; background: var(--ink-900); color: #fff; border-radius: 16px; padding: 10px 10px 10px 16px; align-items: center; justify-content: space-between; gap: 10px; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .5); transition: transform .3s, opacity .3s; }
  .calc-bar.is-hidden { transform: translateY(150%); opacity: 0; }
  .calc-bar div { line-height: 1.2; font-size: 12px; color: #9aa6b6; font-weight: 600; }
  .calc-bar b { color: var(--sun-400); font-size: 15px; display: block; }
  .calc-bar .btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }
}
@media (max-width: 380px) {
  .scen { grid-template-columns: repeat(3, 1fr); }
  .kpis { grid-template-columns: 1fr; }
}

.est { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); color: #fcd581; font-size: 11px; letter-spacing: .08em; vertical-align: 2px; }
.data-source a { color: inherit; font-weight: 700; text-decoration: underline; }

/* =========== Hesaplama v3: kullanım tipi, kurulum, panel listesi =========== */
body[data-use="mobil"] .not-mobil { display: none !important; }
body:not([data-use="sanayi"]) .only-sanayi { display: none !important; }

.usetypes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.usetypes button { display: flex; align-items: center; gap: 12px; text-align: left; min-height: 72px; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.usetypes button > svg { width: 28px; height: 28px; flex: none; color: var(--text-2); }
.usetypes b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 16px; color: var(--text); }
.usetypes small { display: block; font-size: 13px; color: var(--text-3); line-height: 1.35; }
.usetypes button:hover { border-color: var(--ink-900); }
.usetypes button.is-on { border-color: var(--sun-500); background: var(--sun-50); box-shadow: 0 0 0 3px rgba(245, 165, 36, .18); }
.usetypes button.is-on > svg { color: var(--sun-700); }

.monthly { padding: 16px; border-radius: 16px; background: var(--bg-2); }
.grid-2f { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.monthly .field > span:first-child { font-size: 14px; font-weight: 700; }
.monthly .field small { font-size: 12px; color: var(--text-3); }
.mini--lg { height: 48px; width: 100%; }
.mini--lg input { width: 100%; font-size: 18px; }

.orient { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
.compass { display: grid; grid-template-columns: repeat(3, 48px); grid-template-rows: repeat(3, 48px); gap: 6px; padding: 10px; border-radius: 50%; background: radial-gradient(circle, var(--bg-2) 62%, transparent 63%); }
.compass button { border: 1.5px solid var(--line-2); background: #fff; border-radius: 12px; font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--text-2); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.compass button:hover { border-color: var(--ink-900); color: var(--text); }
.compass button.is-on { background: var(--sun-500); border-color: var(--sun-500); color: var(--ink-900); }
.compass button[data-dir="G"]:not(.is-on) { border-color: var(--leaf-500); color: var(--leaf-600); }
.compass__c { display: grid; place-items: center; color: var(--text-3); }
.compass__c svg { width: 22px; height: 22px; }
.compass.is-off button { opacity: .45; }
.tilt { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.tilt button { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--text-2); cursor: pointer; font-weight: 700; font-size: 13px; transition: border-color .2s, background .2s, color .2s; }
.tilt button svg { width: 40px; height: 24px; }
.tilt button:hover { border-color: var(--ink-900); }
.tilt button.is-on { border-color: var(--sun-500); background: var(--sun-50); color: var(--sun-700); }
.q .hint, #orientHint { font-size: 13px; color: var(--text-3); margin: 10px 0 0; }

.orient-res { display: grid; gap: 8px; margin-top: 10px; }
.orient-res:empty { display: none; }
.orient-res > div { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: #c9d2de; font-size: 14px; }
.orient-res svg { width: 18px; height: 18px; flex: none; color: var(--sun-400); }
.orient-res b { color: #fff; }
.orient-res .warn { color: #fed7aa; }

@media (max-width: 760px) {
  .usetypes { grid-template-columns: 1fr; }
  .usetypes button { min-height: 60px; }
  .orient { grid-template-columns: 1fr; justify-items: start; }
  .grid-2f { grid-template-columns: 1fr; }
  .tilt button svg { width: 32px; }
}


/* ============ Açık tema v4 (hesaplama) ============ */
.mode { background: rgba(255, 255, 255, .6); border-color: rgba(19, 36, 58, .1); color: var(--text-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.mode:hover { border-color: rgba(19, 36, 58, .25); }
.mode i { background: var(--sun-50); color: var(--sun-700); }
.mode b { color: var(--text); }
.mode small { color: var(--text-3); }
.mode.is-on { background: #fff; border-color: var(--sun-500); box-shadow: 0 0 0 3px rgba(245, 165, 36, .18); }
.n { background: var(--sun-500); color: var(--text); }
.hero-res { background: linear-gradient(160deg, rgba(255, 255, 255, .95) 0%, rgba(234, 243, 253, .95) 100%); color: var(--text); border: 1px solid rgba(19, 36, 58, .08); }
.hero-res::before { background: radial-gradient(circle, rgba(245, 165, 36, .25), transparent 65%); }
.hero-res__label { color: var(--text-3); }
.hero-res__big small { color: var(--sun-700); }
.hero-res__sub { color: var(--text-2); }
.kpi { background: rgba(255, 255, 255, .85); border-color: rgba(19, 36, 58, .08); }
.kpi > i { color: #b8c6d6; }
.kpi small, .kpi span { color: var(--text-3); }
.kpi--sun b { color: var(--sun-700); }
.auto { background: var(--leaf-50); color: var(--leaf-600); }
.auto b { color: var(--text); }
.best { background: #fff; border-color: rgba(19, 36, 58, .08); }
.best > i { background: var(--bg-2); }
.best small { color: var(--text-3); }
.best span { color: var(--text-2); }
.est { background: var(--sun-50); color: var(--sun-700); }
.orient-res > div { background: var(--bg-2); color: var(--text-2); }
.orient-res svg { color: var(--sun-600); }
.orient-res b { color: var(--text); }
.orient-res .warn { color: #9a3412; }
@media (max-width: 760px) {
  .calc-bar { background: rgba(255, 255, 255, .9); color: var(--text); border: 1px solid rgba(19, 36, 58, .1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 16px 30px -14px rgba(19, 36, 58, .35); }
  .calc-bar div { color: var(--text-3); }
  .calc-bar b { color: var(--sun-700); }
}

/* ============ Yeşil tonlar v5 (hesaplama) ============ */
.hero-res { background: linear-gradient(160deg, rgba(250, 254, 251, .95) 0%, rgba(220, 241, 229, .95) 100%); border-color: rgba(30, 90, 60, .12); }
.kpi { background: rgba(250, 254, 251, .9); border-color: rgba(30, 90, 60, .1); }
.best { border-color: rgba(30, 90, 60, .1); }
.best > i, .orient-res > div { background: #e2f3ea; }
.mode { background: rgba(246, 252, 248, .66); border-color: rgba(30, 90, 60, .14); }
.dev, .box { border-color: #dbe8df; }
@media (max-width: 760px) { .calc-bar { background: rgba(241, 249, 244, .92); border-color: rgba(30, 90, 60, .14); } }


/* ============ Liquid glass v6 (hesaplama) ============ */
.panel, .hero-res, .dev, .box, .chart-card { background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .75); box-shadow: 0 10px 30px -18px rgba(31, 80, 60, .35), inset 0 1px 0 rgba(255, 255, 255, .9); }
.hero-res { background: linear-gradient(160deg, rgba(255, 255, 255, .7) 0%, rgba(200, 236, 216, .55) 100%); }
.kpi, .best { background: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); }
.mode { background: rgba(255, 255, 255, .45); border-color: rgba(255, 255, 255, .75); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); }
.mode.is-on { background: rgba(255, 255, 255, .85); }
.scen button, .seg button, .usetypes button, .compass button, .tilt button { background: rgba(255, 255, 255, .6); }
@media (max-width: 760px) { .calc-bar { background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .8); border-radius: 22px; -webkit-backdrop-filter: blur(22px) saturate(185%); backdrop-filter: blur(22px) saturate(185%); box-shadow: 0 14px 34px -14px rgba(31, 80, 60, .4), inset 0 1px 0 rgba(255, 255, 255, .9); } }


/* ============ Kurumsal palet v7 (hesaplama) ============ */
.hero-res { background: linear-gradient(160deg, rgba(255, 255, 255, .78) 0%, rgba(214, 233, 236, .6) 100%); }
.best > i, .orient-res > div { background: var(--brand-50); }
.mode.is-on { border-color: var(--sun-500); }
.n { background: var(--brand-700); color: #fff; }
.auto { background: var(--brand-50); color: var(--brand-700); }


/* ============ Güneşlenme süresi (illere göre) ============ */
.sun-time { margin-top: 20px; padding: 18px; border-radius: 18px; background: #f3f8f8; border: 1px solid #dce7e9; }
.sun-time__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.sun-time__head small, .sun-time__kpis small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.sun-time__head b { font-family: var(--font-head); font-size: 22px; font-weight: 600; color: var(--brand-700); }
.sun-time__head span { font-size: 14px; color: var(--text-3); }
.sun-time__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sun-time__kpis > div { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #e3ecee; }
.sun-time__kpis b { display: block; margin-top: 4px; font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--text); }
.sun-time__kpis em { font-style: normal; font-size: 13px; color: var(--text-3); font-weight: 600; }
.sun-time__all { margin-top: 14px; }
.sun-time__all summary { cursor: pointer; font-weight: 600; color: var(--brand-700); font-size: 15px; list-style: none; }
.sun-time__all summary::-webkit-details-marker { display: none; }
.sun-time__all summary::before { content: '+ '; }
.sun-time__all[open] summary::before { content: '– '; }
.sun-time__all ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; max-height: 360px; overflow-y: auto; }
.sun-time__all li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 10px; font-size: 14px; color: var(--text-2); }
.sun-time__all li b { font-family: var(--font-head); font-weight: 600; color: var(--text); white-space: nowrap; }
.sun-time__all li.is-on { background: var(--brand-50); color: var(--brand-900); font-weight: 600; }
@media (max-width: 560px) { .sun-time__kpis, .sun-time__all ol { grid-template-columns: 1fr; } }

/* ============ Paket özelleştirme ============ */
.pkg-tune { margin: 0 0 16px; padding: 16px; border-radius: 18px; background: #f3f8f8; border: 1px solid #dce7e9; }
.pkg-tune__head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.pkg-tune__head b { font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--text); }
.pkg-tune__head span { font-size: 14px; color: var(--text-3); }
.pkg-tune__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pkg-tune__row label { display: grid; gap: 6px; }
.pkg-tune__row label > span { font-size: 13px; font-weight: 700; color: var(--text-2); }
@media (max-width: 560px) { .pkg-tune__row { grid-template-columns: 1fr; } }

/* Konum adımı: seçilen ilin güneş özeti */
.sun-line { margin: 10px 2px 0; font-size: 15px; color: var(--text-2); line-height: 1.5; }
.sun-line b { color: var(--brand-700); font-family: var(--font-head); }
.sun-time__text { margin: 0 0 12px; font-size: 15px; color: var(--text-2); line-height: 1.6; }

/* Kurulum önizlemesi (yön + eğim) */
.house-sim__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.house-sim__fig { margin: 0; }
.house-sim__fig svg { width: 100%; height: auto; display: block; }
.house-sim__fig figcaption { margin-top: 6px; text-align: center; font-size: 13px; font-weight: 700; color: var(--text-3); }
.hs-ground { fill: #eef5f6; }
.hs-house { fill: #ffffff; stroke: #c3d4d8; stroke-width: 1.5; }
.hs-base { stroke: #9fb3b9; stroke-width: 2; }
.hs-panel { fill: #0f5e6b; stroke: #0f5e6b; }
line.hs-panel { stroke-width: 6; stroke-linecap: round; }
.hs-arrow { stroke: #e3a13c; stroke-width: 3; stroke-linecap: round; }
.hs-lbl { font-size: 12px; font-weight: 700; fill: #4a5b66; font-family: var(--font-head); }
.house-sim__note { margin: 10px 2px 0; font-size: 14px; color: var(--text-2); }
.sun-line b { color: var(--brand-700); }
.house-sim__fig svg { max-width: 220px; margin: 0 auto; }
@media (max-width: 560px) { .house-sim__grid { gap: 8px; } .house-sim__fig figcaption { font-size: 12px; } }


/* ==========================================================================
   Hesaplama tasarımı v2 — adım kartları, konum ve dönem seçimi, kurulum önizlemesi
   Yalnızca görünüm; işaretleme ve davranış değişmez.
   ========================================================================== */

/* Adım başlıkları */
.step-h { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.step-h .n { width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(180deg, #17798a, #0f5e6b); color: #fff; box-shadow: 0 10px 20px -12px rgba(15, 94, 107, .9); font-size: 15px; }
.step-h h2 { font-size: 22px; margin: 0; }
.step-h p { margin: 2px 0 0; color: var(--text-3); font-size: 15px; }

/* Adım içi bölümler */
.q { padding: 20px 0; border-top: 1px solid #e3ecee; }
.q__label { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 12px; letter-spacing: -.005em; }
.q__label small { font-size: 12px; font-weight: 600; color: var(--text-3); background: #eef4f5; padding: 3px 9px; border-radius: 999px; }

/* Şehir seçimi: büyük, net alan */
.select { min-height: 52px; padding: 0 44px 0 16px; border-radius: 14px; border: 1.5px solid #cfdde0; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f5e6b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; font-size: 16px; font-weight: 600; color: var(--text); appearance: none; box-shadow: 0 6px 16px -14px rgba(15, 94, 107, .6); transition: border-color .2s, box-shadow .2s; }
.select:focus { outline: none; border-color: #0f5e6b; box-shadow: 0 0 0 4px rgba(15, 94, 107, .12); }

/* Güneş özeti: vurgulu kart */
.sun-line { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, #fff8e8 0%, #ffffff 70%); border: 1px solid #f4e1b4; font-size: 15px; color: var(--text-2); line-height: 1.45; }
.sun-line::before { content: '☀'; flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fbe7b5; font-size: 20px; color: #a86400; }
.sun-line b { display: inline-block; font-family: var(--font-head); font-size: 22px; font-weight: 600; color: #0f5e6b; margin: 0 2px; letter-spacing: -.01em; }

/* Dönem ve diğer segment seçimler: hap şeklinde sekmeler */
.seg { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 6px; padding: 5px; border-radius: 18px; background: #eef4f5; border: 1px solid #e0eaec; }
.seg button { min-height: 58px; padding: 10px 8px; border: 0; border-radius: 14px; background: transparent; color: var(--text-2); font-weight: 700; font-size: 15px; box-shadow: none; transition: background .2s, color .2s, box-shadow .2s; }
.seg button small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--text-3); }
.seg button:hover { color: var(--text); background: rgba(255, 255, 255, .6); }
.seg button.is-on { background: #fff; color: #0f5e6b; box-shadow: 0 8px 18px -12px rgba(15, 94, 107, .7), inset 0 0 0 1.5px rgba(15, 94, 107, .18); }
.seg button.is-on small { color: #0f5e6b; opacity: .8; }

/* Yön pusulası: daha yumuşak, daha okunur */
.compass { padding: 14px; border-radius: 24px; background: radial-gradient(circle, #ffffff 0%, #eef5f6 70%); border: 1px solid #e0eaec; box-shadow: inset 0 1px 0 #fff; }
.compass button { width: 52px; height: 52px; border-radius: 16px; background: #fff; border: 1px solid #d6e3e6; font-size: 13px; font-weight: 800; color: var(--text-2); box-shadow: 0 6px 14px -12px rgba(15, 94, 107, .6); }
.compass button:hover { border-color: #0f5e6b; color: #0f5e6b; }
.compass button.is-on { background: linear-gradient(180deg, #17798a, #0f5e6b); border-color: #0f5e6b; color: #fff; box-shadow: 0 10px 20px -12px rgba(15, 94, 107, .9); }
.compass__c { color: #9bb0b6; }

/* Eğim: kart düğmeleri */
.tilt { gap: 8px; }
.tilt button { padding: 12px 6px 10px; border-radius: 16px; background: #fff; border: 1px solid #d6e3e6; color: var(--text-2); box-shadow: 0 6px 14px -12px rgba(15, 94, 107, .5); }
.tilt button svg { color: #6b8a92; }
.tilt button.is-on { background: #fff8e8; border-color: #e3a13c; color: #94601a; box-shadow: 0 0 0 3px rgba(227, 161, 60, .18); }
.tilt button.is-on svg { color: #c8842a; }

/* Kurulum önizlemesi: bilgilendirici kart */
.house-q { border-top: 1px solid #e3ecee; }
.house-sim { padding: 16px; border-radius: 22px; background: linear-gradient(180deg, #f6fbfb 0%, #eef5f6 100%); border: 1px solid #e0eaec; }
.house-sim__grid { gap: 14px; }
.house-sim__fig svg { border-radius: 18px; }
.hs-ground { fill: #ffffff; }
.hs-house { fill: #f3f8f8; stroke: #bcd0d4; }
.house-sim__fig figcaption { color: var(--text-3); font-weight: 700; }
.house-sim__note { margin: 14px 4px 0; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid #e3ecee; color: var(--text-2); font-size: 15px; text-align: center; }

/* Hesaplama modu sekmeleri */
.modes .mode { border-radius: 20px; }
.mode.is-on { box-shadow: 0 14px 30px -18px rgba(15, 94, 107, .6), inset 0 0 0 1.5px #e3a13c; }

@media (max-width: 560px) {
  .step-h h2 { font-size: 19px; }
  .seg button { min-height: 52px; font-size: 14px; }
  .sun-line { padding: 12px; }
  .sun-line b { font-size: 20px; }
}
.pkg-tune__row .select { min-height: 46px; font-size: 14px; padding-right: 38px; text-overflow: ellipsis; }


/* ============ Yön: çatı görseli + tek satır yön seçimi, kompakt eğim ============ */
.orient { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 22px; align-items: start; }
.orient > div { min-width: 0; }
.roof { padding: 14px; border-radius: 22px; background: linear-gradient(180deg, #f7fbfb 0%, #eaf3f4 100%); border: 1px solid #e0eaec; }
.roof svg { width: 100%; height: auto; display: block; max-width: 340px; margin: 0 auto; }
.roof__base { fill: #ffffff; stroke: #c8d8dc; stroke-width: 2; }
.roof__side { fill: #e6eff1; stroke: #c8d8dc; stroke-width: 1.5; cursor: pointer; transition: fill .2s; }
.roof__side:hover { fill: #d3e6ea; }
.roof__side.is-sel { fill: #cfe7ea; }
.roof__side:focus-visible { outline: none; }
.roof__ridge { stroke: #c8d8dc; stroke-width: 1.5; stroke-dasharray: 4 4; }
.roof__panel { stroke: #0f5e6b; stroke-width: 9; stroke-linecap: round; }
.roof__arrow { stroke: #e3a13c; stroke-width: 3; stroke-linecap: round; }
.roof__lbl { font-family: var(--font-head); font-size: 13px; font-weight: 700; fill: #4a5b66; }
.compass { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin-top: 12px; padding: 6px; border-radius: 16px; background: #eef5f6; border: 1px solid #e0eaec; }
.compass button { width: auto; height: 42px; border-radius: 12px; font-size: 13px; }
.tilt { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tilt button { padding: 8px 4px 7px; }
.tilt button svg { width: 34px; height: 20px; }
.house-sim { margin-top: 12px; padding: 10px; border-radius: 16px; background: #f6fbfb; border: 1px solid #e0eaec; }
.house-sim svg { width: 100%; max-width: 240px; height: auto; display: block; margin: 0 auto; }
.house-sim__note { margin: 6px 0 0; font-size: 13px; text-align: center; color: var(--text-2); }
@media (max-width: 760px) {
  .orient { grid-template-columns: 1fr; gap: 14px; }
  .compass button { height: 40px; font-size: 12px; }
}

/* Yön satırı: eski 3x3 yerleşimin kalıntılarını temizle */
.compass { grid-template-rows: none; height: auto; border-radius: 16px; background: #eef5f6; }
.compass button[data-dir="G"]:not(.is-on) { border-color: #d6e3e6; color: var(--text-2); }
.roof svg { max-width: 420px; }

/* ============ Hesaplama formu: açılır adımlar + kompakt cihaz satırları ============ */
.step-acc { margin: 0 0 14px; border-radius: 22px; background: #fff; border: 1px solid #e0eaec; box-shadow: 0 14px 30px -26px rgba(15, 94, 107, .5); overflow: hidden; transition: box-shadow .2s; }
.step-acc[open] { box-shadow: 0 22px 40px -28px rgba(15, 94, 107, .55); }
.step-acc__sum { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 20px; }
.step-acc__sum::-webkit-details-marker { display: none; }
.step-acc__sum .step-h { flex: 1; margin: 0; }
.step-acc__sum::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid #0f5e6b; border-bottom: 2px solid #0f5e6b; transform: rotate(45deg); margin: 0 6px 4px 8px; transition: transform .25s; }
.step-acc[open] > .step-acc__sum::after { transform: rotate(-135deg); margin: 4px 6px 0 8px; }
.step-acc__sum:hover .step-h h2 { color: #0f5e6b; }
.step-acc__body { padding: 0 20px 12px; }
.step-acc__body > .q:first-child { border-top: 0; padding-top: 4px; }
.step-acc__body > .q { padding: 16px 0; }
.dev { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: 16px; }
.dev__icon { width: 40px; height: 40px; border-radius: 12px; }
.dev__top { min-height: 0; }
.dev__name b { font-size: 15px; }
.dev__ctrl { gap: 6px; }
.dev__ctrl .mini { height: 36px; }
.dev__ctrl .mini input { width: 64px; font-size: 14px; }
.dev__ctrl .when { width: auto; }
.dev__ctrl .when button { height: 32px; padding: 0 8px; font-size: 12px; }
.dev__ctrl .when button span { display: inline; }
.dev__qty { margin-left: 0; }
.dev__qty button { width: 30px; height: 30px; }
@media (max-width: 760px) { .dev__ctrl .when { width: 100%; } .dev__ctrl .when button span { display: none; } .dev__ctrl .when button { flex: 1; } }


/* Sol-sağ denge: sonuç özeti sabit, grafikler sol sütunda */
.calc-left { display: grid; gap: 20px; align-content: start; min-width: 0; }
.calc-below { display: grid; gap: 20px; }
.results { position: sticky; top: 96px; align-self: start; }
.results > .only-ozel { gap: 16px; }

/* Neden bu paket? */
.pkg-why { margin: 0 0 16px; padding: 18px; border-radius: 18px; background: linear-gradient(180deg, #f5fafa 0%, #ffffff 100%); border: 1px solid #dce7e9; }
.pkg-why__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.pkg-why__head b { font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--text); }
.pkg-why__head span { font-size: 13px; font-weight: 700; color: #0f5e6b; background: #e6f2f3; padding: 4px 10px; border-radius: 999px; }
.pkg-why__head span.is-manual { color: #94601a; background: #fbf1dc; }
.pkg-why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pkg-why__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-2); line-height: 1.5; }
.pkg-why__list li i { flex: none; width: 24px; height: 24px; border-radius: 8px; background: #0f5e6b; color: #fff; font-style: normal; font-size: 12px; font-weight: 700; display: grid; place-items: center; margin-top: 1px; }

@media (max-width: 1000px) {
  .results { position: static; }
}

/* Mobil: adımlar bağımsız açılır; son adımdan sonra doğrudan sonuç, sonra grafikler */
@media (max-width: 1000px) {
  .calc { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .calc-left { display: contents; }
  .calc-left > form { order: 1; }
  .results { order: 2; position: static; }
  .calc-below { order: 3; }
}


/* Paket: mod seçimi ve ortalama ev girdileri */
.pkg-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: #eef4f5; margin-bottom: 12px; }
.pkg-mode button { min-height: 40px; border: 0; border-radius: 11px; background: transparent; font-weight: 700; font-size: 14px; color: var(--text-2); cursor: pointer; }
.pkg-mode button.is-on { background: #fff; color: #0f5e6b; box-shadow: 0 6px 14px -10px rgba(15, 94, 107, .6); }
.pkg-ref { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.pkg-ref label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.pkg-ref p { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--text-3); }
@media (max-width: 480px) { .pkg-ref { grid-template-columns: 1fr; } }


/* ===== Açılış animasyonu: adım açılınca içerik yumuşakça gelir ===== */
.step-acc[open] > .step-acc__body { animation: stepIn .5s cubic-bezier(.2, .8, .2, 1); }
.step-acc[open] > .step-acc__body > * { animation: childIn .55s cubic-bezier(.2, .8, .2, 1) both; }
.step-acc[open] > .step-acc__body > *:nth-child(2) { animation-delay: .06s; }
.step-acc[open] > .step-acc__body > *:nth-child(3) { animation-delay: .12s; }
.step-acc[open] > .step-acc__body > *:nth-child(4) { animation-delay: .18s; }
.step-acc[open] > .step-acc__body > *:nth-child(5) { animation-delay: .24s; }
@keyframes stepIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes childIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.step-acc__sum .step-h .n { transition: transform .3s; }
.step-acc[open] > .step-acc__sum .step-h .n { transform: scale(1.08); }

/* Sonuç kartı: "Sistem tercihleri" değişince altta vurgulanır */
.chart-card.is-flash { animation: flashRing 1.2s ease; }
@keyframes flashRing { 0% { box-shadow: 0 0 0 0 rgba(15, 94, 107, .5); } 100% { box-shadow: 0 0 0 18px rgba(15, 94, 107, 0); } }

/* ===== Yön: daha büyük, dört sütunlu, etiketli ===== */
.orient { gap: 26px; }
.roof { padding: 20px; border-radius: 26px; }
.roof svg { max-width: 480px; }
.compass { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 10px; border-radius: 20px; margin-top: 14px; }
.compass button { height: 64px; border-radius: 18px; font-size: 16px; font-weight: 800; }
.tilt { gap: 10px; }
.tilt button { min-height: 104px; border-radius: 20px; font-size: 15px; }
.tilt button svg { width: 52px; height: 32px; }
.house-sim { padding: 14px; border-radius: 20px; }

/* ===== Gölge: kompakt satır ===== */
.q:has(> [data-seg="shade"]) { padding: 14px 0; }
.q:has(> [data-seg="shade"]) .seg { min-height: 0; }
.q:has(> [data-seg="shade"]) .seg button { min-height: 46px; padding: 6px 8px; }
.q:has(> [data-seg="shade"]) .seg button small { display: none; }


/* Paket: sistem tercihleri açılana kadar gizli; açılınca yavaşça belirir */
.chart-card.pkg-hidden { display: none; }
.chart-card.pkg-reveal { animation: revealIn 1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes revealIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

/* Adım açılışı: daha yavaş ve belirgin */
.step-acc[open] > .step-acc__body { animation: stepSlow 1s cubic-bezier(.2, .8, .2, 1) both; }
.step-acc[open] > .step-acc__body > * { animation: childSlow .9s cubic-bezier(.2, .8, .2, 1) both; }
.step-acc[open] > .step-acc__body > *:nth-child(2) { animation-delay: .15s; }
.step-acc[open] > .step-acc__body > *:nth-child(3) { animation-delay: .3s; }
.step-acc[open] > .step-acc__body > *:nth-child(4) { animation-delay: .45s; }
.step-acc[open] > .step-acc__body > *:nth-child(5) { animation-delay: .6s; }
.step-acc[open] > .step-acc__body > *:nth-child(n+6) { animation-delay: .7s; }
@keyframes stepSlow { from { opacity: 0; transform: translateY(-22px); } to { opacity: 1; transform: none; } }
@keyframes childSlow { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }


/* Adım gövdesi: yükseklik geçişi JS ile yapılır; CSS yalnızca satırları sıralı belirtir */
.step-acc[open] > .step-acc__body { animation: none; }
.step-acc[open] > .step-acc__body > * { animation: childSlow .8s cubic-bezier(.2, .8, .2, 1) both; }
.step-acc__body { overflow: hidden; }

/* Sistem özeti penceresi (sistem girildiğinde açılır) */
.sys-modal[hidden] { display: none !important; }
.sys-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(15, 30, 40, .45); opacity: 0; transition: opacity .25s ease; }
.sys-modal.is-open { opacity: 1; }
.sys-modal__box { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; padding: 26px; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); transform: translateY(14px) scale(.98); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.sys-modal.is-open .sys-modal__box { transform: none; }
.sys-modal__box h3 { margin: 0 40px 6px 0; font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--text); }
.sys-modal__box > p { margin: 0 0 16px; font-size: 14px; color: var(--text-3); }
.sys-modal__x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eef4f5; color: #0f5e6b; font-size: 22px; line-height: 1; cursor: pointer; }
.sys-modal__list { margin: 0 0 18px; display: grid; }
.sys-modal__list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid #e6eef0; }
.sys-modal__list dt { font-size: 14px; color: var(--text-3); }
.sys-modal__list dd { margin: 0; font-size: 14px; font-weight: 700; color: var(--text); text-align: right; }
.sys-modal__act { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.sys-modal__act [hidden] { display: none !important; }
.sys-modal__form { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: #f4f8f9; border: 1px solid #e2eaec; }
.sys-modal__form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sys-modal__form .field { margin: 0; }
.sys-modal__act [data-sysform-open], .sys-modal__form button[type=submit] { background: #0f5e6b; border-color: #0f5e6b; color: #fff; }
.sys-modal__act [data-sysform-open]:hover, .sys-modal__form button[type=submit]:hover { background: #0b4a55; border-color: #0b4a55; color: #fff; }
.sys-modal__form label small { font-weight: 400; color: var(--text-3); }
.sys-modal__form .form-note { margin: 0; font-size: 12px; color: var(--text-3); }
.sys-modal__form.is-sent .form-row, .sys-modal__form.is-sent .field, .sys-modal__form.is-sent button[type=submit] { display: none; }
@media (max-width: 420px) { .sys-modal__form .form-row { grid-template-columns: minmax(0, 1fr); } }

/* Sistem tercihleri sonu: hesaplama düğmesi */
.calc-go { margin-top: 18px; }

/* Örnek hesap: hesaplama sayfasının başlık alanında */
.calc-ex { margin-top: 28px; max-width: 560px; }
.calc-sample--hero { margin: 0; }

/* Sistem özeti penceresi: satır ikonları */
.sys-modal__list > div { align-items: center; }
.sys-modal__ic { flex: none; width: 36px; height: 36px; border-radius: 12px; background: #e6f2f3; color: #0f5e6b; display: grid; place-items: center; }
.sys-modal__ic svg { width: 18px; height: 18px; }
.sys-modal__list dt { flex: 1; }

/* ===== Yön ve eğim: modern kart tasarımı ===== */
.orient { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.orient > div { display: grid; gap: 14px; align-content: start; padding: 20px; border-radius: 24px; border: 1px solid #dfeaec; background: linear-gradient(160deg, #f6fbfb 0%, #ffffff 65%); box-shadow: 0 16px 34px -28px rgba(15, 94, 107, .55); }
.roof { padding: 0; border-radius: 18px; background: #eaf4f5; overflow: hidden; }
.roof svg { display: block; width: 100%; max-width: none; height: auto; }
.compass { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, 52px); gap: 8px; padding: 0; margin-top: 0; background: none; border: 0; }
.compass::before { content: 'Ev'; grid-area: 2 / 2; display: grid; place-items: center; border-radius: 50%; background: #0f5e6b; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 10px 20px -12px rgba(15, 94, 107, .8); }
.compass button { grid-area: auto; height: 52px; border: 1px solid #dfeaec; border-radius: 16px; background: #fff; color: #27424d; font-size: 15px; font-weight: 800; }
.compass button.is-on { background: #0f5e6b; border-color: #0f5e6b; color: #fff; }
.compass [data-dir="K"] { grid-area: 1 / 2; }
.compass [data-dir="KB"] { grid-area: 1 / 1; }
.compass [data-dir="KD"] { grid-area: 1 / 3; }
.compass [data-dir="B"] { grid-area: 2 / 1; }
.compass [data-dir="D"] { grid-area: 2 / 3; }
.compass [data-dir="GB"] { grid-area: 3 / 1; }
.compass [data-dir="G"] { grid-area: 3 / 2; }
.compass [data-dir="GD"] { grid-area: 3 / 3; }
.tilt { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.tilt button { min-height: 92px; padding: 10px 4px; border: 1px solid #dfeaec; border-radius: 16px; background: #fff; color: #27424d; font-size: 14px; font-weight: 800; }
.tilt button.is-on { background: #0f5e6b; border-color: #0f5e6b; color: #fff; }
.tilt button svg { width: 44px; height: 28px; margin: 0 auto 6px; }
.house-sim { padding: 14px; border-radius: 18px; background: #eaf4f5; border: 0; }
.house-sim svg { display: block; width: 100%; max-width: 260px; height: auto; margin: 0 auto; }
.house-sim__note { margin: 6px 0 0; font-size: 13px; color: var(--text-3); text-align: center; }
.hero-res__why { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--text-2); max-width: 46ch; }
@media (max-width: 760px) { .orient { grid-template-columns: 1fr; } }

/* Sistem özeti penceresi: neden bu sistem */
.sys-modal__why { margin: 0 0 18px; }
.sys-modal__why b { display: block; margin-bottom: 8px; font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--text); }
.sys-modal__why ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; line-height: 1.5; color: var(--text-2); }

/* ===== Adım başlıkları: modern kart görünümü ===== */
.step-acc { margin: 0 0 16px; border-radius: 24px; border: 1px solid #e3edef; background: #fff; box-shadow: 0 18px 36px -30px rgba(15, 94, 107, .55); overflow: hidden; position: relative; transition: box-shadow .3s ease, border-color .3s ease; }
.step-acc[open] { border-color: #cfe3e6; box-shadow: 0 26px 44px -30px rgba(15, 94, 107, .6); }
.step-acc[open]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #e3a13c, #0f5e6b); }
.step-acc__sum { display: flex; align-items: center; gap: 14px; padding: 18px 20px 18px 22px; cursor: pointer; background: linear-gradient(90deg, #f7fbfb 0%, #fff 70%); transition: background .3s ease; }
.step-acc[open] > .step-acc__sum { background: linear-gradient(90deg, #eef7f8 0%, #fff 80%); }
.step-acc__sum:hover { background: #f3f9f9; }
.step-acc__sum .step-h { flex: 1; margin: 0; align-items: center; gap: 16px; }
.step-acc__sum .step-h .n { width: 42px; height: 42px; border-radius: 14px; font-size: 16px; font-weight: 800; background: linear-gradient(160deg, #1b8497, #0b4d58); box-shadow: 0 12px 22px -14px rgba(15, 94, 107, .9), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .3s, background .3s; }
.step-acc[open] > .step-acc__sum .step-h .n { background: linear-gradient(160deg, #f2b458, #d98a1e); box-shadow: 0 12px 22px -14px rgba(217, 138, 30, .9), inset 0 1px 0 rgba(255, 255, 255, .35); transform: none; }
.step-acc__sum .step-h h2 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--text); transition: color .2s; }
.step-acc__sum .step-h p { margin: 3px 0 0; font-size: 14px; color: var(--text-3); line-height: 1.45; }
.step-acc__sum::after { content: ""; flex: none; width: 34px; height: 34px; margin: 0; border: 0; transform: none; border-radius: 50%; background: #eef6f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f5e6b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .35s cubic-bezier(.2, .8, .2, 1), background-color .3s; }
.step-acc[open] > .step-acc__sum::after { transform: rotate(180deg); background-color: #0f5e6b; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); margin: 0; }
.step-acc__sum:hover .step-h h2 { color: #0f5e6b; }
.step-acc__body { padding: 4px 22px 20px; }
.step-acc__body > .q { padding: 18px 0; }
.step-acc__body > .q:first-child { border-top: 0; padding-top: 6px; }
@media (max-width: 760px) {
  .step-acc__sum { padding: 16px 16px 16px 18px; gap: 12px; }
  .step-acc__sum .step-h { gap: 12px; }
  .step-acc__sum .step-h .n { width: 36px; height: 36px; border-radius: 12px; font-size: 14px; }
  .step-acc__sum .step-h h2 { font-size: 17px; }
  .step-acc__sum::after { width: 30px; height: 30px; }
  .step-acc__body { padding: 2px 16px 18px; }
}

/* Sonuç kartındaki Hesapla düğmesi */
.hero-res__btn { margin-top: 18px; }

/* Alana göre sığan paneller */
.fit-list { display: grid; gap: 8px; margin-top: 12px; }
.fit-list__t { margin: 0 0 2px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.fit { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 16px; background: #f4f9f9; border: 1px solid #e0eced; }
.fit b { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--text); }
.fit small { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; }
.fit__n { font-size: 13px; color: var(--text-2); white-space: nowrap; }
.fit__n b { font-size: 18px; color: #0f5e6b; }
.fit__w { font-size: 14px; font-weight: 700; color: #0f5e6b; white-space: nowrap; background: #e6f2f3; padding: 5px 10px; border-radius: 999px; }
.fit.is-no { opacity: .6; }
.fit.is-no .fit__w { background: #fbeaea; color: #a33a3a; }

/* Konum ve kurulum sonundaki Hesapla düğmesi */
.step-acc__body > .calc-go { margin-top: 18px; }

/* "Sonuç" çubuğu: masaüstünde de görünür; ortada, WhatsApp düğmesine çakışmaz */
.calc-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 22px; margin: 0 auto; width: min(560px, calc(100% - 200px)); z-index: 55; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 18px; background: rgba(255, 255, 255, .92); border: 1px solid rgba(19, 36, 58, .1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 16px 30px -14px rgba(19, 36, 58, .35); color: var(--text); transition: transform .3s, opacity .3s; }
.calc-bar.is-hidden { transform: translateY(150%); opacity: 0; }
.calc-bar div { line-height: 1.2; font-size: 12px; color: var(--text-3); font-weight: 600; }
.calc-bar b { display: block; color: var(--sun-700); font-size: 15px; }
.calc-bar .btn { min-height: 40px; padding: 8px 16px; font-size: 14px; }

/* ===== Eğim: dikey liste (listbox) ===== */
.tilt { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 18px; background: #fff; border: 1px solid #dfeaec; }
.tilt button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 0; padding: 9px 12px; border: 0; border-radius: 12px; background: transparent; color: #27424d; text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.tilt button:hover { background: #f0f7f8; }
.tilt button.is-on { background: #0f5e6b; color: #fff; box-shadow: 0 10px 18px -14px rgba(15, 94, 107, .9); }
.tilt-row__ang { flex: none; width: 46px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: #eef6f7; color: #0f5e6b; }
.tilt button.is-on .tilt-row__ang { background: rgba(255, 255, 255, .16); color: #fff; }
.tilt-row__ang svg { width: 30px; height: 20px; }
.tilt-row__t { display: flex; flex-direction: column; min-width: 0; }
.tilt-row__t b { font-size: 15px; font-weight: 800; }
.tilt-row__t small { font-size: 12px; opacity: .75; }

/* ===== Çatı: kuşbakışı görünüm ===== */
.roof { padding: 12px; }
.roof__base { fill: #ffffff; stroke: #d5e3e6; stroke-width: 2; }
.roof__shadow { fill: #0f5e6b; opacity: .08; }
.roof__side { fill: #edf4f5; stroke: #ffffff; stroke-width: 3; cursor: pointer; transition: fill .25s; }
.roof__side:hover { fill: #dcecee; }
.roof__side.is-sel { fill: #bfe0e5; }
.roof__ridge { stroke: #c3d6da; stroke-width: 2; stroke-dasharray: 5 5; }
.roof__panel { fill: none; stroke: #0f5e6b; stroke-width: 9; stroke-linecap: round; }
.roof__lbl { font-family: var(--font-head); font-size: 13px; font-weight: 800; fill: #4a5b66; }

/* ===== Çatı kartı: kiremitli gerçek çatı, panel seçilen yönde ===== */
.roof { padding: 16px; border-radius: 22px; background: linear-gradient(160deg, #f4fafa 0%, #e2eff2 100%); border: 1px solid #d8e8eb; }
.roof svg { display: block; width: 100%; max-width: none; height: auto; }
.roof__face { fill: #e4eef1; stroke: #ffffff; stroke-width: 1.5; cursor: pointer; transition: fill .25s; }
.roof__face--K { fill: #eef5f7; }
.roof__face--D { fill: #d6e7ec; }
.roof__face--G { fill: #c6dce2; }
.roof__face--B { fill: #dce9ed; }
.roof__face:hover { fill: #cde5ea; }
.roof__face.is-sel { fill: #b3d9e0; }
.roof__tex { fill: url(#rfTiles); pointer-events: none; }
.roof__ridge { stroke: #7f969d; stroke-width: 2.5; stroke-linecap: round; }
.roof__eave { fill: none; stroke: #8aa3aa; stroke-width: 3; stroke-linejoin: round; }
.roof__pv { fill: url(#rfPv); stroke: #c9d6e0; stroke-width: 2; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .25)); }
.roof__shadow { fill: #0f5e6b; opacity: .12; }

/* ===== Eğim: açılır liste ===== */
.tilt-sel { display: grid; gap: 8px; }
.tilt-sel .select { width: 100%; }

/* ===== Taşınabilir istasyon kartı (hero altı): ürün görseli ve net çağrı ===== */
.calc-hero .modes { grid-template-columns: minmax(0, 1fr); }
.station-promo { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 0; margin-top: 16px; border-radius: 26px; overflow: hidden; background: linear-gradient(120deg, #0d4a55 0%, #0f5e6b 55%, #17798a 100%); color: #fff; box-shadow: 0 26px 46px -30px rgba(15, 94, 107, .8); }
.station-promo__img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; }
.station-promo__body { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 26px 28px; }
.station-promo__eb { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.station-promo__eb svg { width: 16px; height: 16px; color: #f2b458; }
.station-promo h2 { margin: 0; font-family: var(--font-head); font-size: 26px; font-weight: 700; line-height: 1.2; color: #fff; }
.station-promo p { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .85); max-width: 52ch; }
.station-promo__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.station-promo .link-arrow { color: #fff; }
body[data-mode="kutu"] .station-promo { display: none; }
@media (max-width: 760px) {
  .station-promo { grid-template-columns: 1fr; }
  .station-promo__img { min-height: 0; height: 200px; }
  .station-promo__body { padding: 20px; }
  .station-promo h2 { font-size: 22px; }
}

/* Taşınabilir istasyon: hero'dan ayrı, kendi bölümü */
.station-sec { padding-top: 8px; padding-bottom: 28px; }
.station-sec .station-promo { margin-top: 0; }
body[data-mode="kutu"] .station-sec { display: none; }

/* Taşınabilir istasyon kartı: açık, hafif ürün şeridi (koyu blok yerine) */
.station-sec + section .calc { margin-top: 0; }
.station-promo { grid-template-columns: minmax(180px, 230px) minmax(0, 1fr); align-items: stretch; gap: 26px; padding: 14px; background: #fff; color: var(--text); border: 1px solid #e0ebee; border-radius: 26px; box-shadow: 0 22px 40px -32px rgba(15, 94, 107, .55); overflow: visible; }
.station-promo__img { border-radius: 18px; min-height: 230px; }
.station-promo__body { padding: 10px 14px 10px 0; gap: 10px; }
.station-promo__eb { background: #e6f2f3; color: #0f5e6b; }
.station-promo__eb svg { color: #d98a1e; }
.station-promo h2 { color: var(--text); font-size: 24px; }
.station-promo p { color: var(--text-2); }
.station-promo .link-arrow { color: #0f5e6b; }
@media (max-width: 760px) { .station-promo { grid-template-columns: 1fr; padding: 10px; } .station-promo__img { border-radius: 16px; } .station-promo__body { padding: 8px 10px 14px; } }

/* Taşınabilir alternatif: sonuç kartının altında, sakin bir öneri */
.portable-alt { margin: 14px 0 0; }
.pa { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 22px; background: #fff; border: 1px dashed #c9dfe3; }
.pa__ic { flex: none; width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: #fdf3e2; color: #d98a1e; }
.pa__ic svg { width: 22px; height: 22px; }
.pa__body { display: grid; gap: 4px; min-width: 0; }
.pa__eb { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0f5e6b; }
.pa__body b { font-family: var(--font-head); font-size: 16px; color: var(--text); }
.pa__body p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.pa .link-arrow { justify-self: start; font-size: 14px; }

/* Taşınabilir alternatif kartı: görsel + özellikler + neye göre */
.pa--card { display: flex; gap: 0; align-items: stretch; padding: 0; border: 1px solid #e0ebee; border-radius: 22px; overflow: hidden; background: #fff; }
.pa__img { flex: 0 0 150px; }
.pa__img img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; display: block; }
.pa--card .pa__body { padding: 16px 18px; gap: 8px; min-width: 0; }
.pa--card .pa__body > b { font-size: 18px; }
.pa__specs { display: flex; flex-wrap: wrap; gap: 6px; }
.pa__specs span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #e6f2f3; color: #0f5e6b; }
.pa__why { margin-top: 4px; }
.pa__why summary { cursor: pointer; font-size: 14px; font-weight: 800; color: var(--text); }
.pa__why ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.pa__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; align-items: center; padding: 9px 11px; border-radius: 12px; background: #f6fafa; }
.pa__row b { font-size: 13px; color: var(--text); }
.pa__row small { grid-column: 1 / -1; font-size: 12.5px; line-height: 1.45; color: var(--text-2); }
.pa__st { justify-self: start; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: #e6f2f3; color: #0f5e6b; }
.pa__row--part .pa__st { background: #fbf1dc; color: #94601a; }
.pa__row--no .pa__st { background: #fbeaea; color: #a33a3a; }
@media (max-width: 640px) { .pa--card { flex-direction: column; } .pa__img { flex: none; } .pa__img img { min-height: 0; height: 170px; } }

/* Taşınabilir alternatif: yatay görsel, görselin üstünde */
.pa--card { flex-direction: column; }
.pa__img { flex: none; }
.pa__img img { width: 100%; height: auto; aspect-ratio: 16 / 9; min-height: 0; object-fit: cover; }
.pa--card .pa__body { padding: 16px 20px 18px; }
@media (max-width: 640px) { .pa__img img { aspect-ratio: 16 / 9; height: auto; } }

/* Taşınabilir alternatif: görsel ürünü ortalar */
.pa__img img { aspect-ratio: 4 / 3; object-position: 50% 70%; }

/* Mobil kullanım: hazır istasyon paketleri (kullanım tipi altında) */
.mobile-packs { margin: 14px 0 0; }
.mp__t { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #0f5e6b; }
.mp__grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.mp { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid #e0ebee; }
.mp__top { display: flex; align-items: center; gap: 10px; }
.mp__top b { font-size: 14px; color: var(--text); line-height: 1.3; }
.mp__ic { flex: none; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: #fdf3e2; color: #d98a1e; }
.mp__ic svg { width: 18px; height: 18px; }
.mp dl { margin: 0; display: grid; gap: 6px; }
.mp dl div { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.mp dt { color: var(--text-3); }
.mp dd { margin: 0; font-weight: 700; color: var(--text); }
.mp .link-arrow { margin-top: auto; font-size: 14px; }

/* Fabrika ve arazi: seçilebilir yön bölgeleri */
.roof__zone { fill: rgba(255, 255, 255, .45); stroke: #b3c9ce; stroke-width: 1.5; stroke-dasharray: 4 4; cursor: pointer; transition: fill .2s; }
.roof__zone:hover { fill: rgba(179, 217, 224, .5); }
.roof__zone.is-on { fill: transparent; stroke: none; }

/* Sonucu paylaş / PDF düğmeleri ve bildirim */
.sys-modal__share { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sys-modal__share .btn { min-height: 44px; font-size: 14.5px; gap: 8px; }
.sys-modal__share .btn svg { width: 17px; height: 17px; }
/* Telefonda iki düğme yan yana sığmıyor; alt alta dizilir, pencere taşmaz */
@media (max-width: 420px) { .sys-modal__share { grid-template-columns: minmax(0, 1fr); } }
.calc-toast { position: fixed; left: 50%; bottom: 96px; z-index: 400; transform: translate(-50%, 12px); opacity: 0; padding: 10px 18px; border-radius: 999px; background: #0e2a33; color: #fff; font-size: 14.5px; font-weight: 600; pointer-events: none; transition: opacity .25s, transform .25s; }
.calc-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* PDF / yazdırma: yalnızca özet sayfası */
.print-summary { display: none; }
@media print {
  @page { size: A4; margin: 16mm; }
  body.is-printing > *:not(.print-summary) { display: none !important; }
  body.is-printing { padding: 0 !important; background: #fff !important; }
  body.is-printing .print-summary { display: block; color: #111; font: 11pt/1.5 "Source Sans 3", system-ui, sans-serif; }
  .print-summary header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 10pt; margin-bottom: 12pt; border-bottom: 2px solid #0f5e6b; }
  .print-summary header img { height: 28pt; width: auto; }
  .print-summary header div { text-align: right; }
  .print-summary header b { display: block; font-size: 15pt; color: #0f5e6b; }
  .print-summary header span { font-size: 10pt; color: #555; }
  .print-summary h3 { margin: 14pt 0 6pt; font-size: 12pt; color: #0f5e6b; }
  .print-summary table { width: 100%; border-collapse: collapse; }
  .print-summary th, .print-summary td { text-align: left; padding: 5pt 6pt; border-bottom: 1px solid #ddd; vertical-align: top; }
  .print-summary th { width: 38%; font-weight: 600; color: #333; }
  .print-summary ol { margin: 0; padding-left: 16pt; }
  .print-summary__note { margin-top: 14pt; padding: 8pt 10pt; background: #f1f6f7; border-radius: 6pt; font-size: 9.5pt; color: #444; }
  .print-summary footer { margin-top: 16pt; padding-top: 8pt; border-top: 1px solid #ddd; display: flex; flex-direction: column; gap: 2pt; font-size: 8.5pt; color: #666; }
  .print-summary footer a { color: #0f5e6b; font-weight: 600; text-decoration: none; }
}
