/* DUHALINE Hesaplama • v1.1 • Windows / Android / Web */
:root{--ink:#202c40;--ink2:#526076;--muted:#8792a3;--red:#bd211c;--red-dark:#9b1c18;--navy:#202c53;--blue:#344b88;--paper:#f7f8fb;--line:#e7eaf0;--green:#168c70;--white:#fff;--shadow:0 9px 32px rgba(30,44,77,.035)}
*,*::before,*::after{box-sizing:border-box}
html{font-family:'Segoe UI Variable','Segoe UI',Inter,system-ui,sans-serif;color:var(--ink);background:var(--paper)}
body{margin:0;min-height:100vh;background:var(--paper);font-size:13px;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}a{text-decoration:none;color:inherit}button{cursor:pointer}button,a,summary{-webkit-tap-highlight-color:transparent}
.app-shell{display:flex;flex-direction:column;min-height:100vh}
.app-header{background:#fff;border-bottom:1px solid #edf0f4}
.header-inner{max-width:1250px;min-height:70px;padding:11px 26px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:15px}
.brand-lockup{display:flex;align-items:center;gap:17px;min-width:0}.brand-lockup img{width:147px;height:auto;display:block;object-fit:contain}
.brand-divider{display:block;width:1px;height:28px;background:#e5e8ef;flex-shrink:0}.brand-subtitle{font-size:12px;font-weight:700;white-space:nowrap;color:#4d5870;letter-spacing:.1px}
.header-actions{display:flex;align-items:center;gap:15px;color:var(--muted);font-size:12px;font-weight:600}.status-dot{display:inline-block;width:7px;height:7px;background:var(--green);border-radius:50%;margin-right:7px}.top-status{white-space:nowrap}
.header-download{color:#5b6578;border:1px solid #e7eaf0;background:#fafbfe;border-radius:9px;padding:9px 12px;white-space:nowrap}.header-download:hover{background:#f2f4f9;color:var(--red)}
.tabs-wrapper{background:white;border-bottom:1px solid #e7eaf0}
.main-tabs{max-width:1250px;margin:auto;padding:0 26px;display:flex;align-items:stretch;gap:26px;min-height:52px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#ddd transparent}
.main-tabs a{display:flex;flex-shrink:0;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#778194;white-space:nowrap;border-bottom:2px solid transparent;padding:0 2px;transition:color .15s}
.main-tabs a:hover{color:var(--ink)}.main-tabs a.active{color:var(--red);border-color:var(--red)}.tab-symbol{font-size:17px;line-height:1;width:19px;text-align:center;color:inherit}.tab-suffix{margin-left:-4px}.tab-download{margin-left:auto}
.main-container{width:100%;max-width:1250px;flex:1;margin:0 auto;padding:23px 26px 32px}
.site-footer{background:#fff;border-top:1px solid var(--line);padding:15px 26px;display:flex;gap:14px;align-items:center;justify-content:space-between;color:#8994a5;font-size:10px;line-height:1.5}.site-footer span:first-child{font-weight:750;color:#657284}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:21px;padding:1px 2px}.eyebrow{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:800;letter-spacing:1.4px;color:#ba2e29;margin-bottom:8px}.eyebrow-dot{display:inline-block;width:7px;height:7px;background:var(--red);border-radius:50%;box-shadow:0 0 0 4px #f9e8e8}
.page-heading h1{font-size:26px;line-height:1.12;letter-spacing:-.8px;margin:0;color:#1c2941;font-weight:800}.page-heading p{font-size:12.5px;color:#69768a;line-height:1.5;margin:8px 0 0}.heading-badge{display:flex;align-items:center;gap:12px;border:1px solid #eceef3;background:#fff;border-radius:13px;padding:10px 16px 10px 11px;box-shadow:0 5px 20px rgba(20,40,80,.025);white-space:nowrap;color:#8b95a4;font-size:10px;line-height:1.55}.heading-badge strong{font-size:11px;color:#4b5871}.badge-sun{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:#fff1e9;color:#d6682c;font-size:23px;line-height:1}
.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.02fr);gap:18px;align-items:start}.form-card,.result-card{background:#fff;border:1px solid #e9ebf1;border-radius:17px;box-shadow:var(--shadow);padding:22px 23px}.results-column{min-width:0}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px}.card-heading h2{font-size:17px;color:#202c40;margin:5px 0 0;line-height:1.25;letter-spacing:-.3px;font-weight:780}.section-kicker{font-size:10px;letter-spacing:1.1px;color:#99a2b0;font-weight:800}.subtle-action{background:transparent;border:0;color:#9a6370;padding:6px 0;font-size:11px;white-space:nowrap;font-weight:700}.subtle-action:hover{color:var(--red)}
.input-section-title{display:flex;align-items:center;gap:8px;margin:12px 0 11px;font-size:12px;font-weight:800;color:#4a566b}.mini-icon{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;border-radius:7px;background:#fff4ea;color:#e38a31;font-size:15px}.motor-icon{background:#f1f3fb;color:#576fa2}.section-hint{font-size:10px;font-weight:600;color:#b4bac5;margin-left:auto}
.form-grid{display:grid;gap:12px 14px;min-width:0}.form-grid.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid.advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding-top:14px}
.field{min-width:0;display:block}.field-title{display:flex;align-items:center;gap:6px;min-height:17px;margin-bottom:6px;position:relative}.field-title label{display:inline-block;font-size:11.2px;color:#647085;font-weight:650;line-height:1.35}.field-wrap{height:43px;display:flex;align-items:center;position:relative;background:#fbfcfe;border:1px solid #e3e7ed;border-radius:9px;transition:.2s;overflow:visible}.field-wrap:focus-within{border-color:#b72f36;box-shadow:0 0 0 3px #be242418;background:#fff}.field-wrap input,.field-wrap select{width:100%;height:100%;min-width:0;border:0;background:transparent;outline:0;padding:0 13px;color:#25334b;font-weight:750;font-size:13px;border-radius:9px}.field-wrap input{padding-right:51px}.field-wrap input::-webkit-outer-spin-button,.field-wrap input::-webkit-inner-spin-button{margin:0}.field-wrap i{position:absolute;right:11px;color:#9ba5b3;font-weight:700;font-size:10px;font-style:normal;pointer-events:none}.field-wrap select{cursor:pointer;appearance:auto}
.form-divider{height:1px;background:#eef0f4;margin:17px 0 15px}.segmented-control{display:grid;grid-template-columns:1fr 1fr;background:#f5f7fa;border:1px solid #e9edf3;border-radius:10px;gap:3px;padding:4px;margin:3px 0 14px}.segmented-control button{height:33px;border:1px solid transparent;background:transparent;border-radius:7px;color:#8792a1;font-weight:700;font-size:11px}.segmented-control button.is-selected{background:#fff;color:var(--red);border-color:#e8ebf1;box-shadow:0 1px 5px #17233c10}
.advanced-details{border-top:1px dashed #e5e9ef;margin-top:17px;padding-top:1px}.advanced-details>summary{display:flex;gap:12px;align-items:center;list-style:none;cursor:pointer;padding:14px 0 13px;color:#69768a;font-weight:800;font-size:11px}.advanced-details>summary::-webkit-details-marker{display:none}.advanced-details>summary>span{color:#aab3c0;font-size:10px;font-weight:600;margin-left:auto}.advanced-details>summary>b{font-size:17px;font-weight:500;color:#a0aabc;transition:transform .2s}.advanced-details[open]>summary>b{transform:rotate(180deg)}.helper-note{color:#9aa3b2;font-size:10.5px;line-height:1.5;margin:9px 0}
.primary-action{margin-top:12px;width:100%;border:0;background:var(--red);color:#fff;border-radius:10px;min-height:44px;font-size:12.5px;font-weight:800;position:relative;transition:background .15s,transform .15s}.primary-action:hover{background:var(--red-dark)}.primary-action:active{transform:scale(.995)}.action-arrow{font-size:20px;position:absolute;right:19px;top:8px;font-weight:500}
/* Native details tooltip: hover for desktop, click/tap for mobile, keyboard-accessible */
.info-tip{display:inline-flex;align-items:center;position:relative;flex:0 0 auto;z-index:5}.info-tip[open]{z-index:11}.info-tip summary{list-style:none;cursor:help;width:16px;height:16px;border-radius:50%;border:1px solid #cad2df;color:#8393a7;background:#f8fafd;display:flex;align-items:center;justify-content:center;font-size:10px;line-height:1;font-weight:800}.info-tip summary::-webkit-details-marker{display:none}.info-tip summary:hover,.info-tip[open] summary{background:#edf2fb;color:#314978;border-color:#a6b6ce}.info-tip-popover{display:none;position:absolute;top:23px;right:-7px;width:246px;max-width:calc(100vw - 36px);padding:11px 12px;border:1px solid #dfe5ef;background:white;border-radius:11px;box-shadow:0 12px 28px #1e2c4540;color:#52627b;font-size:11px;font-weight:500;line-height:1.5;text-align:left;white-space:normal;z-index:60}.info-tip[open] .info-tip-popover{display:block}@media(hover:hover){.info-tip:hover .info-tip-popover{display:block}}.info-tip summary:focus-visible{outline:2px solid #b5211e;outline-offset:3px}
.result-header{margin-bottom:15px}.frecon-mark{width:105px;max-height:27px;object-fit:contain;object-position:right center}.result-overview{display:grid;grid-template-columns:1.03fr 1fr;gap:11px;margin-bottom:16px}.big-metric,.range-metric{min-width:0;border-radius:12px;padding:17px 17px 15px}.big-metric{background:#fff7f6;border:1px solid #f7e4e1}.range-metric{background:#f6f8fc;border:1px solid #edf0f6}.big-metric>span,.range-metric>span,.single-result>span{font-size:9.5px;font-weight:850;letter-spacing:1px;color:#9b7a7a;line-height:1.4}.big-metric>div{display:flex;align-items:baseline;gap:8px;margin:3px 0 2px}.big-metric strong{color:var(--red);font-size:42px;font-weight:850;letter-spacing:-2px;line-height:1.05}.big-metric small{font-size:13px;font-weight:700;color:#a65959}.big-metric p,.range-metric p{font-size:10px;font-weight:600;color:#98777b;margin:7px 0 0;line-height:1.4}.range-metric>span{color:#75839c}.range-metric p{color:#92a0b2}.range-values{display:flex;align-items:center;gap:9px;margin-top:7px}.range-values>div{display:flex;align-items:baseline;gap:5px}.range-values small{color:#8d98aa;font-size:11px}.range-values strong{font-size:29px;color:#34476d;line-height:1.2;letter-spacing:-1px}.range-values>span{color:#b3bfd0;font-size:18px}
.array-graphic{padding:14px 15px;background:#fbfcfe;border:1px solid #ebeff5;border-radius:12px;margin-bottom:15px;overflow:hidden}.array-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.array-topline strong{font-size:11px;color:#4e5b70}.array-topline span{font-size:9px;color:#a6b0bd}.array-cells{display:grid;gap:8px}.solar-string{display:flex;gap:9px;align-items:center;min-width:0}.string-tag{font-size:9px;color:#9ba5b5;min-width:16px;font-weight:800}.string-modules{display:flex;align-items:center;gap:4px;flex:1;min-width:0}.module-cell{width:20px;height:26px;border:1px solid #5478aa;background:linear-gradient(135deg,#17446f 0%,#1d5b8e 100%);border-radius:2px;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);gap:2px;padding:3px;transform:skewY(-3deg);box-shadow:1px 2px 0 #c0d4ed;flex:0 0 auto}.module-cell i{background:#90bdd5;opacity:.85;border-radius:1px}.module-ellipsis{min-width:24px;text-align:center;font-size:17px;line-height:1;color:#8194b2;font-weight:800;letter-spacing:1px}.string-count{min-width:71px;text-align:right;font-size:14px;font-weight:850;color:#3d4c64;white-space:nowrap}.string-count small{font-size:9px;color:#9aa6b5;font-weight:600}.more-strings{padding-left:25px;font-size:10px;color:#8493aa}.flow-legend{display:flex;align-items:center;justify-content:center;gap:10px;border-top:1px solid #edf0f4;margin-top:13px;padding-top:10px;color:#8391a5;font-size:9.5px;font-weight:700}.flow-legend>span:nth-child(even){color:#bf4a44;font-size:13px}
.result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.result-grid>div{border:1px solid #edf0f4;border-radius:10px;padding:11px 12px;min-width:0}.result-grid span{display:block;color:#9aa5b5;font-size:10px;margin-bottom:6px}.result-grid strong{font-size:17px;font-weight:800;color:#34445f;white-space:nowrap}.result-grid strong small{font-size:10px;color:#9ba6b4;font-weight:700}
.voltage-section{margin-top:15px}.voltage-caption{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:10px;font-weight:700;color:#8390a4;margin-bottom:8px}.voltage-caption strong{font-size:11px;color:#526983}.progress-track{height:5px;border-radius:999px;background:#e9edf5;overflow:hidden}.progress-track span{height:100%;display:block;background:linear-gradient(90deg,#5b84a2,#bd413c);border-radius:999px}.voltage-section>small{display:block;color:#9ca8b7;font-size:10px;margin-top:6px}
.result-details{border-top:1px solid #edf0f4;margin-top:15px;padding-top:12px}.result-details>summary{cursor:pointer;font-size:11px;font-weight:750;color:#74849c}.result-details p{font-size:10.5px;color:#748296;line-height:1.65;margin:10px 0 0}.note-card{margin-top:10px;display:flex;gap:10px;align-items:flex-start;border:1px solid #ebeef3;background:#fdfefd;border-radius:11px;padding:11px 13px;color:#8190a1;line-height:1.55;font-size:10.5px}.note-card p{margin:0}.note-card strong{color:#68758a}.note-icon{width:19px;height:19px;border-radius:50%;background:#e9eff8;color:#627ba4;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;flex-shrink:0}
.single-result{background:linear-gradient(100deg,#fff7f6,#fff);border:1px solid #f5e6e4;border-radius:12px;padding:18px 20px;margin-bottom:16px}.single-result>div{display:flex;align-items:baseline;gap:9px;margin-top:5px}.single-result strong{color:var(--red);font-size:46px;font-weight:850;letter-spacing:-2px;line-height:1}.single-result small{font-size:16px;font-weight:750;color:#ad625c}.single-result p{margin:9px 0 0;font-size:11px;color:#9b7d80}.small-badge{border:1px solid #e9edf4;border-radius:8px;padding:6px 9px;font-size:9px;font-weight:850;color:#8b9bb0;white-space:nowrap;letter-spacing:.6px}
.cable-visual,.dc-path-visual{background:#f8fafd;border:1px solid #edf1f6;border-radius:12px;padding:16px 20px;display:flex;align-items:center;gap:15px;margin-bottom:15px;min-height:91px}.cable-start,.cable-end{display:flex;flex-direction:column;align-items:center;gap:3px}.cable-start>span,.cable-end>span{height:42px;width:42px;border-radius:11px;background:#e7eefb;color:#395a89;display:flex;align-items:center;justify-content:center;font-size:24px}.cable-end>span{background:#f9edec;color:#b3453c}.cable-start small,.cable-end small{font-size:8px;letter-spacing:.8px;font-weight:800;color:#9ba6b4}.cable-line{flex:1;min-width:0;text-align:center;color:#667995;font-size:10px}.line-wire{height:4px;border-radius:8px;background:linear-gradient(90deg,#466c9c,#bc6b62)}.cable-line b{font-size:10px;font-weight:700;display:block;margin-top:7px}.pv-tile,.inverter-tile{height:49px;width:53px;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#e6f1fc;color:#3d7eaf;font-size:21px;flex-shrink:0}.inverter-tile{background:#f8e9e8;color:#b6534d}.pv-tile small,.inverter-tile small{font-size:8px;font-weight:800}.dc-twin-lines{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;gap:9px;color:#647fa6}.dc-twin-lines i{font-style:normal;white-space:nowrap;font-size:10px;max-width:100%;overflow:hidden}.compact-formula{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:16px 0 3px;padding:11px 12px;border:1px solid #ebeff5;background:#f8fafd;border-radius:10px;font-size:10.5px;color:#8793a5}.compact-formula>b{font-size:11px;color:#506581}.compact-formula .info-tip{margin-left:auto}
.validation-box{padding:15px;background:#fff3f1;border:1px solid #f1d7d2;border-radius:11px;font-size:12px;color:#ae3e32}.validation-box p{margin:7px 0 0;line-height:1.5}.empty-result{min-height:150px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#96a2b2;text-align:center}.empty-result strong{font-size:29px;color:#cf8b43}.empty-result p{margin:8px 0;line-height:1.5}
/* İndir sayfası */
.download-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.download-card{background:#fff;border:1px solid #e9edf2;border-radius:15px;padding:25px;display:flex;flex-direction:column;align-items:flex-start;min-height:280px}.download-icon{width:49px;height:49px;display:flex;align-items:center;justify-content:center;background:#f4f6fb;color:#48658b;border-radius:13px;font-size:24px;margin-bottom:19px}.download-card h2{font-size:20px;margin:7px 0 4px}.download-card p{font-size:12px;color:#7e8a9e;line-height:1.7}.download-card small{color:#9fa9b6;font-size:10px;line-height:1.6;margin-top:12px}.unavailable-download{margin-top:auto;padding:11px 12px;background:#f4f5f8;border:1px solid #ebeef2;border-radius:9px;color:#8e98a8;font-size:11px;font-weight:700}.download-open{margin-top:auto;padding:11px 14px;background:var(--red);color:#fff;border-radius:9px;font-weight:700;font-size:11px}.download-footnote{margin-top:14px}
/* Önceki sürümdeki indir sayfası başlığını da kompakt göster */
.intro-banner.download-banner{display:flex;position:relative;align-items:center;border-radius:15px;background:#fff;border:1px solid #e9edf2;padding:20px 24px;margin-bottom:20px;min-height:100px;overflow:hidden}.intro-banner.download-banner .intro-left{max-width:100%}.download-banner .eyebrow{font-size:9px}.download-banner .eyebrow-line{width:7px;height:7px;background:var(--red);border-radius:50%}.download-banner h1{font-size:24px;color:#1f2b40;margin:5px 0}.download-banner h1 em{font-style:normal;color:var(--red)}.download-banner p{font-size:12px;color:#7b879b;margin:5px 0}.download-banner .intro-chips{display:flex;gap:9px;margin-top:10px}.download-banner .intro-chips span{font-size:10px;background:#f5f7fa;border-radius:6px;padding:5px 8px;color:#79869b}.download-art{display:none}
#blazor-error-ui{background:#f6e5df;bottom:0;box-shadow:0 -1px 2px #0003;display:none;left:0;padding:.6rem 1.25rem;position:fixed;width:100%;z-index:1000;font-size:12px}#blazor-error-ui .dismiss{cursor:pointer;position:absolute;right:.75rem;top:.5rem}
@media(max-width:1020px){.main-tabs{gap:21px}.header-inner,.main-tabs{padding-left:18px;padding-right:18px}.main-container{padding:19px 18px 27px}.workspace-grid{gap:12px}.form-card,.result-card{padding:18px}.page-heading h1{font-size:24px}.range-values strong{font-size:25px}.big-metric strong{font-size:39px}}
@media(max-width:780px){.workspace-grid{grid-template-columns:1fr;gap:12px}.form-card,.result-card{padding:19px}.main-container{max-width:660px}.header-actions .top-status{display:none}.site-footer{flex-wrap:wrap}.heading-badge{padding:7px 10px}.download-grid{grid-template-columns:1fr}.download-card{min-height:0}.result-overview{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.header-inner{min-height:58px;padding:8px 14px}.brand-lockup img{width:118px}.brand-lockup{gap:10px}.brand-divider{height:23px}.brand-subtitle{font-size:9px;letter-spacing:0}.header-download{padding:7px 9px;font-size:12px}.header-download span{display:none}.main-tabs{padding:0 14px;gap:21px;min-height:48px}.main-tabs a{font-size:11px}.main-container{padding:15px 12px 24px}.page-heading{margin-bottom:14px;gap:10px;align-items:flex-start}.page-heading h1{font-size:23px}.page-heading p{font-size:11px;margin-top:5px}.eyebrow{font-size:9px;margin-bottom:7px}.heading-badge{display:none}.form-card,.result-card{padding:16px;border-radius:14px}.card-heading{margin-bottom:14px}.card-heading h2{font-size:16px}.form-grid{gap:11px 10px}.field-title label{font-size:10px}.field-wrap{height:42px}.field-wrap input,.field-wrap select{font-size:12px;padding-left:11px}.input-section-title{font-size:11px}.form-divider{margin:14px 0}.range-metric,.big-metric{padding:13px 12px}.big-metric strong{font-size:38px}.range-values{gap:5px}.range-values strong{font-size:23px}.range-values small{font-size:9px}.range-metric>span,.big-metric>span{font-size:8px}.big-metric p,.range-metric p{font-size:9px}.string-modules{gap:3px}.module-cell{width:17px;height:23px;padding:2px}.string-count{min-width:61px;font-size:12px}.string-count small{font-size:8px}.array-graphic{padding:12px}.result-grid{gap:8px}.result-grid>div{padding:10px}.result-grid strong{font-size:15px}.result-grid span{font-size:9px}.frecon-mark{width:91px}.site-footer{padding:13px;font-size:9px}.site-footer span:nth-child(2){order:3;flex-basis:100%}}
@media(max-width:360px){.form-grid.two-col{grid-template-columns:1fr}.form-grid.advanced-grid{grid-template-columns:1fr}.result-overview{grid-template-columns:1fr 1fr}.brand-subtitle{display:none}.brand-divider{display:none}.page-heading h1{font-size:21px}.module-cell{width:16px;height:20px}.result-grid strong{font-size:13px}}
/* Masaüstünde ilk ekranı mümkün olduğunca kaydırmadan kullanabilme */
@media(min-width:1021px) and (max-height:1000px){
 .main-container{padding-top:17px;padding-bottom:19px}.page-heading{margin-bottom:16px}
 .form-card,.result-card{padding:18px 20px}.card-heading{margin-bottom:14px}
 .input-section-title{margin:8px 0}.form-grid{row-gap:9px}.field-wrap{height:40px}
 .form-divider{margin:12px 0}.segmented-control{margin-bottom:10px}
 .advanced-details{margin-top:11px}.advanced-details>summary{padding:10px 0}
 .primary-action{min-height:41px;margin-top:9px}.result-overview{margin-bottom:11px}
 .big-metric,.range-metric{padding:13px 14px}.array-graphic{padding:11px 13px;margin-bottom:11px}
 .result-grid{gap:8px}.result-grid>div{padding:9px 10px}.voltage-section{margin-top:11px}
 .result-details{margin-top:11px;padding-top:10px}.note-card{padding:8px 11px}
 .site-footer{padding-top:11px;padding-bottom:11px}
}


/* === DUHALINE refresh v1.1.3 === */
:root{
  --navy:#1f2f57;
  --navy-2:#152442;
  --navy-soft:#eef3ff;
  --red-soft:#fff3f1;
  --blue-soft:#f5f8ff;
}
body{background:#f3f5f9}
.app-header{background:linear-gradient(135deg,var(--navy) 0%, var(--navy-2) 100%);border-bottom:none;box-shadow:0 12px 30px rgba(11,24,53,.12)}
.header-inner{min-height:76px}
.brand-subtitle,.header-actions,.header-download,.top-status{color:#eef3ff}
.brand-divider{background:rgba(255,255,255,.22)}
.header-download{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14)}
.header-download:hover{background:rgba(255,255,255,.16);color:#fff}
.status-dot{background:#75d89c}
.tabs-wrapper{background:#fff;border-bottom:none;box-shadow:0 8px 22px rgba(22,34,63,.05)}
.main-tabs{min-height:58px;gap:18px}
.main-tabs a{font-size:12px;padding:0 8px;color:#5d6980;border-bottom:3px solid transparent}
.main-tabs a.active{color:var(--navy);border-color:#cf2c25}
.main-container{padding-top:18px}
.page-heading{background:linear-gradient(135deg,#243966 0%,#1a2d53 100%);border-radius:18px;padding:20px 22px;margin-bottom:18px;box-shadow:0 14px 34px rgba(20,33,63,.10)}
.page-heading h1{color:#fff;font-size:28px}
.page-heading p{color:#d9e2f4;max-width:680px}
.eyebrow{color:#ffd3d1}
.eyebrow-dot{background:#ff9089;box-shadow:0 0 0 4px rgba(255,255,255,.12)}
.heading-badge{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);box-shadow:none;color:#eff4ff}
.heading-badge strong{color:#fff}.badge-sun{background:rgba(255,255,255,.14);color:#fff}
.form-card,.result-card{border:none;border-radius:18px;box-shadow:0 12px 28px rgba(18,31,56,.08)}
.form-card{background:linear-gradient(180deg,#ffffff 0%,#fcfdff 100%);position:relative}
.result-card{background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%);position:relative}
.form-card::before,.result-card::before{content:'';position:absolute;left:0;top:0;right:0;height:5px;border-radius:18px 18px 0 0}
.form-card::before{background:linear-gradient(90deg,#1f2f57,#4d6fbe)}
.result-card::before{background:linear-gradient(90deg,#cf2c25,#ea6c49)}
.card-heading{padding-top:2px}
.section-kicker{color:#7a869b}
.card-heading h2{font-size:18px}
.input-section-title{margin-top:6px;padding:10px 12px;border-radius:12px;background:var(--navy-soft);color:#31456f}
.form-divider{margin:16px 0 14px;background:#ebeff6}
.field-wrap{background:#fff;border:1px solid #dfe6f1;height:46px}
.field-wrap:focus-within{border-color:#5e7dc0;box-shadow:0 0 0 3px rgba(83,114,184,.14)}
.field-title label{font-size:11px;color:#55627a;font-weight:700}
.segmented-control{background:#edf2fb;border:none;padding:5px}
.segmented-control button{height:36px;font-size:11px}
.segmented-control button.is-selected{color:#1f2f57;background:#fff;box-shadow:0 2px 8px rgba(31,47,87,.10)}
.primary-action{background:linear-gradient(135deg,#cf2c25,#b7221d);min-height:46px;font-size:13px}
.primary-action:hover{background:linear-gradient(135deg,#b7221d,#a31c18)}
.result-overview{gap:12px}
.big-metric{background:var(--red-soft);border-color:#f2d7d4}
.range-metric{background:var(--blue-soft);border-color:#dfe8fb}
.range-values strong{color:#223b68}
.array-graphic{background:#f8faff;border-color:#dde7f7}
.array-topline strong{color:#233a67}.array-topline span{color:#75839a}
.result-grid>div{background:#fff;border-color:#e7edf7}
.result-grid strong{color:#22385d}
.voltage-section{background:#f7f9fd;border:1px solid #e6edf8;border-radius:12px;padding:12px 13px;margin-top:12px}.voltage-section small{display:block;margin-top:7px;color:#7c8ca5;font-size:10px}
.progress-track{height:9px;background:#e9eef8;border-radius:999px;overflow:hidden;margin-top:8px}.progress-track span{display:block;height:100%;background:linear-gradient(90deg,#1f2f57,#d43029);border-radius:999px}
.note-card{background:#fffdf8;border:1px solid #efe6cf;color:#816b42}
.note-card strong{color:#6b5534}.note-icon{background:#fff1c7;color:#8a6b18}
.small-badge{background:#f3f6fb;color:#51627e;border-color:#dfe7f3}
.empty-result{min-height:160px;background:#f8fafc;border:1px dashed #d8e0ee;border-radius:14px}
.compact-formula{margin:14px 0 10px;padding:12px 14px;border-radius:12px;background:#f7faff;border:1px solid #dde7f8;display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.compact-formula span{font-size:10px;font-weight:800;color:#6d7b91}.compact-formula b{font-size:14px;color:#233a67}
@media(max-width:900px){
  .workspace-grid{grid-template-columns:1fr;gap:14px}
  .page-heading{padding:18px 16px;border-radius:16px}
  .page-heading h1{font-size:24px}
}
@media(max-width:520px){
  .app-header{position:sticky;top:0;z-index:20}
  .header-inner{min-height:66px}
  .page-heading{padding:16px 14px}
  .page-heading h1{font-size:22px}
  .form-card,.result-card{border-radius:16px}
  .form-card::before,.result-card::before{border-radius:16px 16px 0 0}
  .input-section-title{padding:9px 10px}
}


/* === v1.2.0 refinements === */
.brand-lockup{gap:14px;text-decoration:none}.brand-lockup img{height:42px;max-width:215px;object-fit:contain}.brand-texts{display:flex;flex-direction:column;gap:3px}.brand-title{font-size:12px;font-weight:800;letter-spacing:.08em;color:#fff}.brand-subtitle{font-size:14px;font-weight:700;color:#dbe7ff}.header-actions{gap:14px}.header-download{padding:10px 14px;border-radius:999px;font-size:12px;font-weight:800}.main-tabs a{padding-bottom:10px}.three-options{grid-template-columns:repeat(3,1fr)}.field-helper{margin-top:7px;font-size:11px;color:#6a7890}.inline-warning{margin:12px 0 0;padding:12px 13px;border-radius:12px;background:#fff7ef;border:1px solid #f1dfc7;color:#7a6441;font-size:12px;line-height:1.45}.inline-warning strong{color:#5d451b}.metric-breakdown{margin-top:12px;display:flex;align-items:center;justify-content:center;gap:10px}.metric-breakdown>div{min-width:92px;padding:10px 12px;border-radius:14px;background:#fff;border:1px solid #f0dfdd;display:flex;flex-direction:column;align-items:center;box-shadow:0 6px 16px rgba(207,44,37,.06)}.metric-breakdown strong{font-size:24px;line-height:1;color:#b9241f}.metric-breakdown small{margin-top:4px;font-size:11px;font-weight:800;color:#6f7b8f;text-transform:uppercase}.metric-breakdown>span{font-size:20px;font-weight:900;color:#cc4436}.emphasis-metric .single-value{font-size:26px}.string-tag{min-width:60px;padding:8px 10px;border-radius:999px;background:#eef3ff;color:#223d70;font-weight:800;text-align:center}.string-count{display:flex;align-items:baseline;gap:5px;min-width:88px;justify-content:flex-end}.string-count strong{font-size:24px;line-height:1;color:#233a67}.string-count small{font-size:11px;font-weight:800;color:#7a869b;text-transform:uppercase}.module-ellipsis{font-size:24px;line-height:1;color:#6f7b90;padding:0 8px}.ellipsis-row{display:flex;align-items:center;justify-content:center;gap:8px;color:#69758a;font-weight:800}.ellipsis-row span{font-size:28px;line-height:1}.array-topline span b{font-weight:900;color:#233a67}.cable-start small,.cable-end small{letter-spacing:.08em}.cable-start span,.cable-end span{font-size:22px}.cable-start{background:#eef3ff;border:1px solid #dce7fb}.cable-end{background:#fff3f1;border:1px solid #f3d8d5}.info-tip-host{position:relative;display:inline-flex;align-items:center}.info-tip-trigger{width:18px;height:18px;border:none;border-radius:999px;background:#eaf0fb;color:#38517f;font-size:11px;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1}.info-tip-trigger:hover{background:#dfe8fa}.info-tip-popover{position:absolute;top:24px;right:0;z-index:30;width:240px;padding:10px 11px;border-radius:12px;background:#1d2d52;color:#eef3ff;font-size:11px;line-height:1.45;box-shadow:0 16px 30px rgba(10,19,40,.24)}.download-footnote{display:none}@media(max-width:900px){.three-options{grid-template-columns:1fr}.brand-title{display:none}.brand-lockup img{height:36px}.header-actions{display:none}.metric-breakdown{gap:8px}.metric-breakdown>div{min-width:84px}}@media(max-width:560px){.string-count strong{font-size:20px}.string-count{min-width:auto}.solar-string{align-items:flex-start}.string-modules{overflow-x:auto;padding-bottom:4px}}/* DUHALINE v1.3 — erişilebilir, sade ve mobil uyumlu arayüz */
:root {
  --ink:#14243d; --ink2:#40546d; --navy:#152844; --navy-2:#22395e;
  --blue:#2c537d; --blue-soft:#edf4fe;
  --red:#b92320; --red-dark:#9e1c1b;
  --line:#e3eaf2; --paper:#f2f5fa;
}
html, body {background:var(--paper)}
.app-header {
  position:relative; z-index:30;
  background:linear-gradient(110deg,#162744 0%,#243e65 100%);
  box-shadow:0 7px 26px rgba(13,27,54,.13);
}
.header-inner {min-height:82px;max-width:1320px;padding:10px 24px;gap:26px}
.brand-lockup {min-width:0;display:flex;align-items:center;gap:17px;text-decoration:none}
.brand-lockup:hover {text-decoration:none}
.brand-logo-panel {
  display:flex;align-items:center;justify-content:center;
  width:188px;height:57px;padding:8px 10px;border-radius:11px;
  background:linear-gradient(135deg,#fff 0%,#f1f5fb 100%);
  box-shadow:0 3px 9px rgba(4,19,44,.14);
  flex:0 0 auto;
}
.brand-logo-panel img,.brand-lockup .brand-logo-panel img {
  display:block;width:100%;max-width:100%;height:auto;max-height:45px;object-fit:contain;
}
.brand-texts {display:flex;gap:3px;flex-direction:column;min-width:0}
.brand-overline {color:#a8c3e5;font-size:10px;font-weight:850;letter-spacing:2.5px}
.brand-subtitle {font-size:16px;font-weight:700;letter-spacing:-.25px;color:#fff;line-height:1.3;white-space:nowrap}
.header-actions {display:flex;align-items:center;gap:19px}
.top-status {font-size:11px;color:#c8d7eb;font-weight:700}
.status-dot {background:#6dd6ad;width:7px;height:7px}
.header-download {
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  white-space:nowrap;min-height:39px;padding:9px 15px;
  background:#fff;color:#1b3559;border:1px solid #fff;border-radius:9px;
  font-size:12px;font-weight:800;letter-spacing:.1px;
  box-shadow:0 2px 9px rgba(5,17,41,.12);
}
.header-download:hover {background:#f2f5fa;color:#1b3559}
.header-download span {font-size:17px}
.tabs-wrapper {box-shadow:0 3px 13px rgba(16,36,67,.045)}
.main-tabs {max-width:1320px;min-height:53px;padding-inline:24px;gap:19px}
.main-tabs a {height:53px;padding:0 8px 8px;font-size:12px;letter-spacing:.1px}
.main-container {max-width:1320px;padding:18px 24px 30px}
.page-heading {min-height:127px;background:linear-gradient(116deg,#1b3154 0%,#223d69 100%);padding:20px 25px;margin-bottom:16px;box-shadow:none;border-radius:17px}
.page-heading h1 {font-size:28px;font-weight:800;letter-spacing:-.6px}
.page-heading p {font-size:12px;color:#d9e4f6;line-height:1.55;max-width:600px}
.heading-badge {border-color:#ffffff20;background:#ffffff15}
.workspace-grid {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px}
.form-card,.result-card {border-radius:16px;background:#fff;padding:19px;box-shadow:0 6px 22px rgba(29,45,75,.055)}
.form-card::before,.result-card::before {height:4px;border-radius:16px 16px 0 0}
.card-heading {margin-bottom:14px}
.card-heading h2 {font-size:18px}
.frecon-input-logo {display:block;object-fit:contain;object-position:center right;width:112px;max-width:37%;height:30px}
.result-ready {font-size:10px;font-weight:750;padding:7px 10px;background:#eaf3ff;color:#30517b;border-radius:100px;white-space:nowrap}
.input-block {border:1px solid var(--line);border-radius:13px;padding:13px 14px 15px;margin-bottom:12px;position:relative;min-width:0}
.panel-input-block {background:#f7fbff;border-color:#d8e6f7}
.motor-input-block {background:#fbfcff;border-color:#e2e8f3}
.input-section-title {margin:0 0 12px;padding:0;border:none;background:transparent;color:#253e60;font-size:13px;display:flex;flex-wrap:wrap;gap:8px}
.input-section-title .mini-icon {width:27px;height:27px;font-size:17px}
.example-trigger {margin-left:auto;display:inline-flex;gap:5px;align-items:center;justify-content:center;border:1px solid #c9d8ed;background:#fff;color:#244d82;border-radius:8px;padding:7px 9px;font-size:11px;font-weight:800;line-height:1.2;white-space:normal;text-align:center}
.example-trigger:hover {background:#eaf3ff;border-color:#9eb8d8}
.form-grid {gap:11px 13px}
.field-title {margin-bottom:5px;min-height:20px}
.field-title label {font-size:11px;color:#43546a;font-weight:760}
.field-wrap {height:42px;border-radius:9px;background:#fff;border-color:#d6e0eb}
.field-wrap input,.field-wrap select {font-size:13px;color:#192d4d}
.field-wrap i {color:#7d90a8}
.field-helper {margin-top:5px;font-size:10.5px;line-height:1.3}
.motor-current-note {margin-top:11px;color:#63768e}
.segmented-control {margin:0 0 13px;background:#e9eef7}
.segmented-control button {height:37px;line-height:1.15;padding:3px 5px}
.three-options {grid-template-columns:repeat(3,minmax(0,1fr))}
.assumption-strip {display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border:1px solid #f2dfc6;border-radius:11px;background:#fff9ef;font-size:10.5px;line-height:1.5;color:#795f38;margin:2px 0 11px}
.assumption-strip span {font-size:15px;flex:0 0 auto}
.assumption-strip strong {color:#684b2f}
.primary-action {margin-top:0;min-height:45px}
.result-overview {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-bottom:13px}
.big-metric,.range-metric {padding:15px 15px 14px;border-radius:13px;min-width:0}
.big-metric>span,.range-metric>span {display:block;font-size:10px;font-weight:800;letter-spacing:.55px}
.emphasis-metric .metric-breakdown {margin:14px 0 10px;justify-content:center;gap:7px}
.emphasis-metric .metric-breakdown>div {flex:1 1 0;min-width:0;padding:9px 5px;border-radius:11px;box-shadow:none}
.emphasis-metric .metric-breakdown strong {font-size:26px;line-height:1.1;color:#b61f20}
.emphasis-metric .metric-breakdown small {font-size:9px;letter-spacing:.2px;text-align:center;white-space:normal;line-height:1.25;margin-top:3px;color:#69768a}
.emphasis-metric .metric-breakdown>span {font-size:20px}
.total-metric {display:flex;align-items:baseline;justify-content:center;gap:8px;padding-top:7px;border-top:1px dashed #efc9c5;color:#bd2424}
.total-metric small {font-size:10px;letter-spacing:.5px;font-weight:850;color:#975f5d}
.total-metric strong {font-size:36px;line-height:1;font-weight:850;letter-spacing:-1px}
.total-metric em {font-size:14px;font-style:normal;font-weight:800}
.range-values {display:flex;align-items:center;justify-content:space-between;gap:4px;margin:9px 0 8px}
.range-values>div {display:flex;flex-direction:column;align-items:center;gap:0;min-width:0}
.range-values strong {color:#233d69;font-size:31px;font-weight:850;letter-spacing:-.8px}
.range-values small {color:#7b8ba4;font-size:10px;font-weight:750}
.range-values>span {font-size:19px;color:#a6b4c6}
.range-total {padding:8px 8px;border-radius:9px;text-align:center;background:#fff;border:1px solid #d9e3f3;font-size:10.5px;color:#526987;line-height:1.4}
.range-total strong {display:block;font-size:15px;font-weight:850;color:#244a7c;margin-top:2px}
.nominal-maximum {font-size:10px!important;line-height:1.45!important;color:#657992!important;margin-top:9px!important;margin-bottom:0!important;font-weight:500!important}
.nominal-maximum strong {font-weight:800;color:#29496f}
.array-graphic {overflow:visible;padding:12px 12px;margin-bottom:12px}
.array-topline strong {font-size:12px}
.array-topline span {font-size:10px}
.solar-string {gap:7px}
.string-tag {min-width:28px;width:28px;height:28px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:11px;flex:0 0 auto;background:#e0e9f6;color:#31527b}
.string-modules {gap:4px;min-width:0;overflow:hidden;flex:1}
.module-cell {width:22px;height:28px;flex:0 0 auto}
.module-ellipsis {font-size:20px;padding:0 3px;min-width:20px}
.string-count {min-width:75px;display:flex;align-items:baseline;justify-content:flex-end;gap:4px;white-space:nowrap}
.string-count strong {color:#1c3d6a;font-size:22px;font-weight:850}
.string-count small {color:#68809d;font-size:10px;font-weight:800}
.ellipsis-row {background:#eef4fc;border-radius:9px;padding:3px}
.flow-legend {justify-content:center}
/* The old stylesheet hid every popover with display:none. Override it for both hover and touch. */
.info-tip-host {display:inline-flex;position:relative;align-items:center;z-index:auto;flex:0 0 auto}
.info-tip-trigger {position:relative;z-index:2;width:20px;height:20px;cursor:pointer;border-radius:50%;background:#dfeafb;color:#244a7c;touch-action:manipulation}
.info-tip-trigger:focus-visible {outline:2px solid #274d86;outline-offset:2px}
.info-tip-popover {
  display:block !important;position:absolute;left:50%;right:auto;top:27px;
  transform:translateX(-50%) translateY(-4px);
  width:256px;max-width:calc(100vw - 32px);
  padding:12px 13px;border:1px solid #324766;border-radius:11px;
  background:#172e51;color:#fff;font-size:11px;font-weight:500;
  line-height:1.5;white-space:normal;text-align:left;
  box-shadow:0 14px 28px rgba(19,39,76,.24);
  z-index:999;opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .12s ease,transform .12s ease,visibility .12s ease;
}
.info-tip-host.is-open {z-index:100}
.info-tip-host.is-open .info-tip-popover,
.info-tip-host:focus-within .info-tip-popover {
  opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);
  pointer-events:auto;
}
@media(hover:hover) and (pointer:fine){
  .info-tip-host:hover .info-tip-popover {opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);pointer-events:auto}
}
.form-grid .field:nth-child(even) .info-tip-popover {left:auto;right:0;transform:translateY(-4px)}
.form-grid .field:nth-child(even) .info-tip-host.is-open .info-tip-popover,
.form-grid .field:nth-child(even) .info-tip-host:focus-within .info-tip-popover {transform:translateY(0)}
@media(hover:hover) and (pointer:fine){.form-grid .field:nth-child(even) .info-tip-host:hover .info-tip-popover {transform:translateY(0)}}
.form-card,.result-card,.input-block,.field,.field-title,.field-wrap {overflow:visible}
.site-footer {background:#f6f8fb}
@media(max-width:1100px){
 .header-inner,.main-tabs {padding-left:18px;padding-right:18px}
 .main-container {padding-left:18px;padding-right:18px}
 .brand-logo-panel {width:155px;height:52px}
 .brand-subtitle {font-size:14px}
 .top-status {display:none}
}
@media(max-width:900px){
 .workspace-grid {grid-template-columns:minmax(0,1fr)}
 .main-container {max-width:760px}
 .header-actions {display:flex}
 .result-overview {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .app-header {position:relative}
 .header-inner {padding:9px 12px;min-height:65px;gap:8px}
 .brand-lockup {gap:9px}
 .brand-logo-panel {width:116px;min-width:116px;height:43px;padding:5px 6px;border-radius:8px}
 .brand-overline {font-size:8px;letter-spacing:1.4px}
 .brand-subtitle {font-size:11px;white-space:normal;max-width:126px}
 .header-actions {display:flex}
 .header-download {padding:7px 9px;min-height:35px;font-size:10px;white-space:normal;max-width:90px;text-align:center;line-height:1.15}
 .header-download span {display:none}
 .main-tabs {padding:0 12px;gap:13px;min-height:49px}
 .main-tabs a {height:49px;padding:0 2px 8px;font-size:11px}
 .main-container {padding:12px 11px 24px}
 .page-heading {min-height:0;padding:16px;border-radius:13px;gap:10px}
 .page-heading h1 {font-size:22px}
 .page-heading p {font-size:11px}
 .heading-badge {display:none}
 .form-card,.result-card {padding:14px}
 .input-block {padding:12px 11px}
 .form-grid.two-col {grid-template-columns:repeat(2,minmax(0,1fr))}
 .field-title label {font-size:10px}
 .field-wrap {height:41px}
 .example-trigger {font-size:10px;max-width:60%;min-height:32px}
 .three-options {grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}
 .three-options button {font-size:9.3px;height:39px;padding:3px}
 .assumption-strip {font-size:10px}
 .result-overview {grid-template-columns:1fr;gap:10px}
 .big-metric,.range-metric {padding:13px 14px}
 .emphasis-metric .metric-breakdown {max-width:360px;margin:10px auto}
 .emphasis-metric .metric-breakdown>div {max-width:150px}
 .array-graphic {padding:10px 9px}
 .solar-string {gap:4px}
 .string-tag {width:23px;height:23px;min-width:23px;font-size:9px}
 .string-count {min-width:56px;gap:2px}
 .string-count strong {font-size:19px}
 .string-count small {font-size:9px}
 .module-cell {width:17px;height:24px;padding:2px;gap:1px}
 .module-ellipsis {font-size:17px;min-width:13px;padding:0 1px}
 .string-modules {gap:3px}
 .array-topline span {font-size:9px}
 .site-footer {padding:12px}
}
@media(max-width:370px){
 .brand-logo-panel {width:105px;min-width:105px}
 .brand-subtitle {font-size:10px;max-width:115px}
 .brand-overline {font-size:7px}
 .header-download {max-width:72px;font-size:9px}
 .form-grid.two-col {grid-template-columns:1fr}
 .form-grid .field .info-tip-popover {left:50%;right:auto;transform:translateX(-50%) translateY(-4px)}
 .form-grid .field .info-tip-host.is-open .info-tip-popover {transform:translateX(-50%) translateY(0)}
 .three-options button {font-size:8.4px}
 .module-cell {width:14px;height:21px}
}

/* Bilgi balonunu alan başlığına sabitleyerek dar telefonlarda ekran dışına taşmasını önle. */
.field-title {position:relative}
.info-tip-host {position:static}
.info-tip-popover {left:0;right:auto;top:calc(100% + 5px);transform:translateY(-4px);width:min(256px, calc(100vw - 44px))}
.info-tip-host.is-open .info-tip-popover,.info-tip-host:focus-within .info-tip-popover {transform:translateY(0)}
@media(hover:hover) and (pointer:fine){.info-tip-host:hover .info-tip-popover {transform:translateY(0)}}
.field-title:has(.info-tip-host.is-open),.field-title:has(.info-tip-host:hover) {z-index:40}
.input-block:has(.info-tip-host.is-open),.input-block:has(.info-tip-host:hover) {z-index:35}
@media(max-width:370px){
 .form-grid .field .info-tip-popover {left:0;right:auto;transform:translateY(-4px)}
 .form-grid .field .info-tip-host.is-open .info-tip-popover {transform:translateY(0)}
}

/* DUHALINE v1.3.1: headline + readable STC/cold-voltage separation */
.brand-lockup{gap:16px}
.brand-texts{gap:4px;padding-left:14px;border-left:1px solid rgba(223,233,250,.25)}
.brand-name{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:7px;row-gap:1px;line-height:1.05}
.brand-name-first{font-family:'Trebuchet MS','Segoe UI',sans-serif;font-size:18px;letter-spacing:1.2px;font-weight:900;color:#f9fbff}
.brand-name-last{font-family:'Trebuchet MS','Segoe UI',sans-serif;font-size:11px;letter-spacing:2.3px;font-weight:700;color:#c8dcf4}
.brand-texts .brand-subtitle{font-family:'Segoe UI',system-ui,sans-serif;font-size:12px;line-height:1.3;letter-spacing:.15px;font-weight:500;color:#bacde6}
.range-metric>.nominal-maximum{color:#637993!important;margin-top:10px!important;font-size:10px!important;line-height:1.45!important}
.range-values strong{font-size:32px}
.cold-safety-note{display:flex;gap:11px;align-items:flex-start;background:#fff6ed;border:1px solid #f3d9b9;border-left:4px solid #ea9d37;border-radius:12px;padding:12px 14px;margin:0 0 13px;color:#76502a}
.cold-safety-icon{width:30px;height:30px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;background:#ffe4c1;color:#9b5c1e;border-radius:9px;font-size:17px}
.cold-safety-note strong{display:block;color:#825121;font-size:12px;font-weight:850;line-height:1.4}
.cold-safety-note p{font-size:11px;line-height:1.55;margin:5px 0 0;color:#806747}
@media(max-width:1100px){.brand-name-first{font-size:16px}.brand-name-last{font-size:10px;letter-spacing:1.8px}.brand-texts .brand-subtitle{font-size:11px}}
@media(max-width:900px){.brand-texts{padding-left:10px}.brand-name{max-width:190px}.brand-name-first{font-size:15px}.brand-name-last{font-size:9px}.brand-texts .brand-subtitle{font-size:11px}}
@media(max-width:520px){.brand-lockup{gap:9px}.brand-texts{padding-left:9px;gap:3px}.brand-name{column-gap:4px}.brand-name-first{font-size:11px;letter-spacing:.6px}.brand-name-last{font-size:7px;letter-spacing:1px}.brand-texts .brand-subtitle{font-size:10px;line-height:1.25;white-space:normal}.cold-safety-note{gap:8px;padding:10px}.cold-safety-note strong{font-size:11px}.cold-safety-note p{font-size:10px}}
@media(max-width:360px){.brand-name-first{font-size:10px}.brand-name-last{font-size:6.8px;letter-spacing:.6px}.brand-texts .brand-subtitle{font-size:9px}.brand-texts{padding-left:6px}.brand-lockup{gap:6px}.cold-safety-icon{width:26px;height:26px}}


/* v1.3.2 — sade üst menü / tek indirme bağlantısı */
.header-inner {justify-content:flex-start; gap:22px;}
.brand-lockup {flex:0 0 auto;}
.brand-lockup .brand-logo-panel {width:188px;min-width:188px;}
.header-purpose, .header-inner .top-status {
    display:inline-flex !important;
    align-items:center;
    gap:9px;
    color:#f4f8ff;
    font-size:14px;
    font-weight:750;
    letter-spacing:.1px;
    white-space:normal;
    line-height:1.25;
    margin:0;
}
.header-inner .top-status .status-dot {display:inline-block; flex:0 0 8px; margin:0; width:8px; height:8px; background:#6dd6ad;}
.header-actions {display:flex !important; margin-left:auto; flex:0 0 auto;}
.header-download {display:inline-flex; align-items:center; justify-content:center; gap:9px; max-width:none; white-space:nowrap;}
.download-icon-svg {width:20px; height:20px; flex:0 0 20px; display:block;}
.header-download .download-label-full {display:inline !important; font-size:12px;}
.header-download .download-label-short {display:none !important;}
@media(max-width:900px) {
    .header-inner {gap:14px;}
    .brand-lockup .brand-logo-panel {width:146px;min-width:146px;}
    .header-inner .top-status {font-size:12px;}
}
@media(max-width:600px) {
    .header-inner {min-height:70px; padding:9px 12px; gap:9px;}
    .brand-lockup .brand-logo-panel {width:112px;min-width:112px;height:45px;}
    .header-inner .top-status {font-size:11px;max-width:150px;}
    .header-download {padding:8px 10px;min-height:38px;max-width:none;gap:6px;white-space:nowrap;}
    .header-download .download-label-full {display:none !important;}
    .header-download .download-label-short {display:inline !important;font-size:11px;}
    .download-icon-svg {width:17px;height:17px;flex-basis:17px;}
}
@media(max-width:390px) {
    .header-inner {gap:8px;}
    .brand-lockup .brand-logo-panel {width:99px;min-width:99px;height:42px;padding:5px 6px;}
    .header-inner .top-status {font-size:10px;max-width:103px;}
    .header-download {padding:7px 8px;}
}
@media(max-width:340px) {
    .header-inner {gap:6px;}
    .brand-lockup .brand-logo-panel {width:85px;min-width:85px;height:38px;}
    .header-inner .top-status {font-size:9.5px;max-width:97px;gap:5px;}
    .header-download {padding:7px 6px;}
}


/* v1.3.3 refinements */
.warning-box{margin-top:12px;display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:14px;background:#fff7ef;border:1px solid #efd8b6;color:#7a6541;font-size:12px;line-height:1.5}
.warning-box p,.warning-box div{margin:0}.warning-box strong{color:#5f4516}.warning-icon{flex:0 0 22px;width:22px;height:22px;border-radius:999px;background:#fff1c8;border:1px solid #f0d79a;color:#946b10;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;line-height:1}.compact-warning{margin-top:10px}
.inline-warning{margin:12px 0 0}.note-card{background:#fff7ef;border:1px solid #efd8b6;color:#7a6541}.note-card .warning-icon{margin-top:1px}
.range-values{padding-inline:14px;gap:14px}.range-values>div{min-width:86px}.range-values>span{padding-inline:8px}
.solar-string-more{gap:7px}.string-tag-ghost,.string-count-ghost{visibility:hidden}.string-modules-more{justify-content:flex-start;gap:10px}.more-strings-label{font-size:11px;font-weight:800;color:#6f7b8f;white-space:nowrap}
.main-tabs a{border-radius:14px 14px 0 0;border:1px solid transparent;transition:all .18s ease}.main-tabs a.active{background:#f7e9e9;border-color:#ecd5d5;border-bottom:3px solid #cf2c25;padding-inline:14px;box-shadow:0 -1px 0 rgba(255,255,255,.7) inset}.main-tabs a:hover{background:#f9f4f4}
@media(max-width:560px){.range-values{padding-inline:10px}.more-strings-label{font-size:10px}.main-tabs a.active{padding-inline:10px}}


/* 1.4.0: güç şartına göre tutarlı sonuç / dizi görünümü / indirmeler */
.range-metric>span {font-size:10px;letter-spacing:.6px;line-height:1.5;display:block}
.range-total{line-height:1.5}
.range-values{padding-inline:16px;justify-content:space-between}
.range-values>div{min-width:0;flex:0 0 auto}
.solar-string-more{background:transparent;border:0;min-height:29px}
.solar-string-more .string-modules-more{gap:4px;justify-content:flex-start;align-items:center;overflow:visible}
.module-cell-placeholder{visibility:hidden;opacity:0;pointer-events:none;box-shadow:none}
.solar-string-more .module-ellipsis{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.solar-string-more .more-strings-label{margin-left:4px;white-space:nowrap;font-size:11px;font-weight:800;color:#607493}
.solar-string-more .string-tag-ghost,.solar-string-more .string-count-ghost{visibility:hidden}
.download-banner .eyebrow{color:#ba221f!important;font-weight:800;letter-spacing:1px}
.download-banner .eyebrow-line{background:#ba221f!important}
.download-icon{color:#275185;background:#edf3fc;border:1px solid #e3ebf7}
.download-icon svg{width:28px;height:28px;display:block;flex-shrink:0}
.download-card:nth-child(1) .download-icon{color:#43844f;background:#eff8f0;border-color:#d9ecde}
.download-card:nth-child(2) .download-icon{color:#2762a2;background:#eef5ff;border-color:#dbe9f8}
.download-card:nth-child(3) .download-icon{color:#405b9c;background:#f0f3ff;border-color:#e1e7fa}
@media(max-width:600px){.solar-string-more .string-modules-more{gap:3px}.solar-string-more .more-strings-label{font-size:10px;margin-left:3px}.range-values{padding-inline:10px}}
@media(max-width:600px){.solar-string-more{gap:4px}}

/* v1.4.1: 25 °C ana hesap ve ayrı soğuk hava güvenlik uyarısı */
.cold-safety-highlight{background:#fff1df;border:1px solid #efd4a8;border-radius:9px;padding:8px 10px;color:#78491e!important;font-weight:750}
.cold-safety-note p strong{display:inline;color:#774822;font-size:inherit}
.cold-safety-note .cold-safety-highlight span{font-size:11px;line-height:1.55}
@media(max-width:520px){.cold-safety-highlight{padding:8px}.cold-safety-note .cold-safety-highlight span{font-size:10px}}
