/* kalkulatori/energjia.html — page-specific styles (extracted from inline <style>) */
@layer page {
.main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; margin-bottom: 14px; }
.panel { background: var(--surface); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 20px 22px; }
.panel__label { font-size: .625rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.form-rows { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-size: .8125rem; font-weight: 500; color: var(--text-2); }
.form-label small { font-weight: 400; color: var(--text-3); font-size: .75rem; }
.input-wrap { position: relative; }
.input-wrap .suffix { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: .8125rem; color: var(--text-3); pointer-events: none; }
.form-input, .form-select { width: 100%; height: 44px; background: var(--bg-1); border: 1px solid rgba(255,255,255,.10); border-radius: 8px; color: var(--text); font-size: .9375rem; outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.form-input { padding: 0 13px; }
.form-input.has-suffix { padding-right: 48px; }
.form-input:focus, .form-select:focus { border-color: rgba(var(--accent-rgb),.5); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.1); }
.form-input::placeholder { color: var(--text-4); }
.form-select { padding: 0 32px 0 13px; cursor: pointer; }
.form-select option { background: var(--bg-1); }
.select-wrap { position: relative; }
.select-wrap::after { content: ''; position: absolute; right: 11px; top: 50%; transform: translateY(-50%); width: 13px; height: 13px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235e6470'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E"); background-size: contain; pointer-events: none; }
.tariff-hours-badge { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
.hours-pill { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.hours-pill.high { background: rgba(251,191,36,.1); color: #fbbf24; border: 1px solid rgba(251,191,36,.2); }
.hours-pill.low { background: rgba(96,165,250,.1); color: #60a5fa; border: 1px solid rgba(96,165,250,.2); }
.slider-row { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.slider-row input[type=range] { -webkit-appearance: none; appearance: none; flex: 1; height: 4px; background: rgba(255,255,255,.1); border-radius: 2px; outline: none; cursor: pointer; border: none; }
.slider-row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); cursor: pointer; transition: transform .15s; }
.slider-row input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.2); }
.slider-row input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: none; cursor: pointer; }
.slider-val { font-size: .8125rem; font-weight: 600; color: var(--text); min-width: 64px; text-align: right; }
.kesco-card { background: var(--bg-1); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 14px; }
.kesco-toggle-label { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.kesco-toggle-label input[type=checkbox] { display: none; }
.kesco-switch { width: 36px; height: 20px; background: #2d3138; border-radius: 10px; position: relative; flex-shrink: 0; transition: background .2s; }
.kesco-switch::after { content: ''; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
input#kescoCheck:checked ~ * .kesco-switch, .kesco-toggle-label input:checked + .kesco-switch { background: var(--accent); }
.kesco-toggle-label input:checked + .kesco-switch::after { transform: translateX(16px); }
.kesco-toggle-text { display: flex; flex-direction: column; gap: 1px; }
.kesco-toggle-title { font-size: .8125rem; font-weight: 700; color: var(--text); }
.kesco-toggle-sub { font-size: .7rem; color: var(--text-3); }
.kesco-fields { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.kesco-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kesco-mini-group { display: flex; flex-direction: column; gap: 4px; }
.kesco-badges { display: flex; flex-wrap: wrap; gap: 3px; margin-bottom: 3px; }
.kesco-badge { display: inline-flex; align-items: center; font-size: .6rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 4px; }
.kesco-badge.day { background: rgba(251,191,36,.12); color: #fbbf24; }
.kesco-badge.night { background: rgba(96,165,250,.12); color: #60a5fa; }
.kesco-badge.b1 { background: rgba(var(--accent-rgb),.12); color: var(--accent); }
.kesco-badge.b2 { background: rgba(248,113,113,.12); color: #f87171; }
.kesco-mini-label { font-size: .75rem; font-weight: 600; color: var(--text-2); }
.calc-btn { width: 100%; height: 46px; margin-top: 14px; background: var(--accent); color: #fff; border: none; border-radius: 9px; font-size: .9375rem; font-weight: 700; transition: background .15s, transform .1s; }
.calc-btn:hover { background: var(--accent-hover); }
.calc-btn:active { transform: scale(.98); }
.result-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; gap: 10px; color: var(--text-4); text-align: center; }
.result-placeholder__icon { font-size: 2.5rem; opacity: .4; }
.result-placeholder__text { font-size: .875rem; }
.result-hero { margin-bottom: 14px; }
.result-hero__label { font-size: .625rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
.result-hero__value { font-size: 2.5rem; font-weight: 700; color: var(--accent); line-height: 1.1; letter-spacing: -.5px; }
.result-hero__sub { font-size: .8125rem; color: var(--text-3); margin-top: 4px; }
.result-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.stat-box { background: var(--bg-1); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: 12px 14px; }
.stat-box__label { font-size: .625rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
.stat-box__value { font-size: 1.125rem; font-weight: 700; color: var(--text); }
.stat-box__sub { font-size: .75rem; color: var(--text-3); margin-top: 1px; }
.tier-bar-wrap { margin-bottom: 14px; }
.tier-bar-label { font-size: .625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.tier-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; }
.tier-seg { height: 100%; border-radius: 3px; transition: width .5s ease; min-width: 0; }
.tier-legend { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; }
.tier-row { display: flex; align-items: center; gap: 8px; }
.tier-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.tier-name { color: var(--text-2); flex: 1; font-size: .75rem; }
.tier-kwh { color: var(--text-3); font-size: .75rem; }
.tier-amt { color: var(--text); font-weight: 600; font-size: .75rem; margin-left: 8px; }
.tariff-section { background: var(--surface); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.tariff-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.06); cursor: pointer; user-select: none; }
.tariff-header__title { font-size: .8125rem; font-weight: 700; color: var(--text); }
.tariff-toggle { font-size: .75rem; font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: 4px; }
.tariff-toggle__icon { transition: transform .2s; display: inline-block; }
.tariff-toggle__icon.open { transform: rotate(180deg); }
.tariff-body { display: none; }
.tariff-body.open { display: block; }
.tariff-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.tariff-table th { background: var(--bg-1); padding: 8px 16px; text-align: left; font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid rgba(255,255,255,.05); }
.tariff-table td { padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.04); color: var(--text-2); }
.tariff-table tr:last-child td { border-bottom: none; }
.tariff-table tr.active-row td { background: rgba(var(--accent-rgb),.05); color: var(--text); font-weight: 600; }
.tariff-table .rate-day { color: #fbbf24; font-weight: 700; }
.tariff-table .rate-night { color: #60a5fa; font-weight: 700; }
.info-box { background: var(--surface); border: 1px solid rgba(255,255,255,.07); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 12px 16px; font-size: .8125rem; color: var(--text-2); line-height: 1.7; margin-bottom: 14px; }
.info-box strong { color: var(--text); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeUp .22s ease; }
@media (max-width: 680px) {
  .main-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .panel { padding: 16px; }
  .kesco-field-row { grid-template-columns: 1fr; }
}
@keyframes sosPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }
}
/* Monochrome icon set (Lucide, ISC licence) — replaces colour emoji */
@layer skin {
[class^="ei-"], [class*=" ei-"] { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -.17em; flex-shrink: 0; font-style: normal;
  background-color: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
[class^="ei-dot-"], [class*=" ei-dot-"] { width: .62em; height: .62em; border-radius: 50%; vertical-align: .02em; -webkit-mask: none; mask: none; }
.ei-circle-alert { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <circle cx=%2212%22 cy=%2212%22 r=%2210%22 /> <line x1=%2212%22 x2=%2212%22 y1=%228%22 y2=%2212%22 /> <line x1=%2212%22 x2=%2212.01%22 y1=%2216%22 y2=%2216%22 /> </svg>"); }
.ei-clipboard-list { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <rect width=%228%22 height=%224%22 x=%228%22 y=%222%22 rx=%221%22 ry=%221%22 /> <path d=%22M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2%22 /> <path d=%22M12 11h4%22 /> <path d=%22M12 16h4%22 /> <path d=%22M8 11h.01%22 /> <path d=%22M8 16h.01%22 /> </svg>"); }
.ei-clock { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <circle cx=%2212%22 cy=%2212%22 r=%2210%22 /> <path d=%22M12 6v6l4 2%22 /> </svg>"); }
.ei-dot-b { background-color: #60a5fa; }
.ei-dot-g { background-color: #20d39b; }
.ei-dot-y { background-color: #fbbf24; }
.ei-file-text { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z%22 /> <path d=%22M14 2v5a1 1 0 0 0 1 1h5%22 /> <path d=%22M10 9H8%22 /> <path d=%22M16 13H8%22 /> <path d=%22M16 17H8%22 /> </svg>"); }
.ei-flag { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528%22 /> </svg>"); }
.ei-snowflake { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22m10 20-1.25-2.5L6 18%22 /> <path d=%22M10 4 8.75 6.5 6 6%22 /> <path d=%22m14 20 1.25-2.5L18 18%22 /> <path d=%22m14 4 1.25 2.5L18 6%22 /> <path d=%22m17 21-3-6h-4%22 /> <path d=%22m17 3-3 6 1.5 3%22 /> <path d=%22M2 12h6.5L10 9%22 /> <path d=%22m20 10-1.5 2 1.5 2%22 /> <path d=%22M22 12h-6.5L14 15%22 /> <path d=%22m4 10 1.5 2L4 14%22 /> <path d=%22m7 21 3-6-1.5-3%22 /> <path d=%22m7 3 3 6h4%22 /> </svg>"); }
.ei-sun { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <circle cx=%2212%22 cy=%2212%22 r=%224%22 /> <path d=%22M12 2v2%22 /> <path d=%22M12 20v2%22 /> <path d=%22m4.93 4.93 1.41 1.41%22 /> <path d=%22m17.66 17.66 1.41 1.41%22 /> <path d=%22M2 12h2%22 /> <path d=%22M20 12h2%22 /> <path d=%22m6.34 17.66-1.41 1.41%22 /> <path d=%22m19.07 4.93-1.41 1.41%22 /> </svg>"); }
.ei-zap { --i: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 > <path d=%22M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z%22 /> </svg>"); }
}
