/* kalkulatori/tatimi-prone.html — page-specific styles (extracted from inline <style>) */
@layer page {
.mode-tabs { display: flex; gap: 6px; margin-bottom: 20px; }
.mode-tab { flex: 1; height: 42px; border-radius: 8px; font-size: .875rem; font-weight: 600; border: 1px solid rgba(255,255,255,.08); background: transparent; color: var(--text-2); transition: background .15s, border-color .15s, color .15s; }
.mode-tab.active { background: rgba(var(--accent-rgb),.12); border-color: rgba(var(--accent-rgb),.35); color: var(--accent); }
.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 .prefix { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: .875rem; font-weight: 600; color: var(--text-3); pointer-events: none; }
.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-prefix { padding-left: 32px; }
.form-input.has-suffix { padding-right: 40px; }
.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; }
.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: 60px; text-align: right; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-btn { width: 100%; height: 46px; margin-top: 6px; 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: 280px; 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; }
.stat-box.good .stat-box__value { color: var(--accent); }
.stat-box.warn .stat-box__value { color: #fbbf24; }
.stat-box.bad .stat-box__value { color: #f87171; }
.yield-meter { margin-bottom: 14px; }
.yield-meter__label { font-size: .625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.yield-bar-track { height: 8px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; }
.yield-bar-fill { height: 100%; border-radius: 4px; transition: width .5s ease, background .3s; }
.yield-zones { display: flex; justify-content: space-between; font-size: .6875rem; color: var(--text-3); margin-top: 5px; }
.breakdown-section { background: var(--surface); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.breakdown-header { padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.06); display: flex; align-items: center; justify-content: space-between; }
.breakdown-header__title { font-size: .8125rem; font-weight: 700; color: var(--text); }
.period-toggle { display: flex; gap: 4px; }
.period-btn { height: 28px; padding: 0 10px; border-radius: 6px; font-size: .75rem; font-weight: 600; border: 1px solid rgba(255,255,255,.08); background: transparent; color: var(--text-2); transition: background .15s, color .15s; }
.period-btn.active { background: rgba(var(--accent-rgb),.12); border-color: rgba(var(--accent-rgb),.3); color: var(--accent); }
.breakdown-table { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.breakdown-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); }
.breakdown-table th.num, .breakdown-table td.num { text-align: right; }
.breakdown-table td { padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.04); color: var(--text-2); font-variant-numeric: tabular-nums; }
.breakdown-table tr:last-child td { border-bottom: none; }
.breakdown-table tr.total-row td { background: rgba(var(--accent-rgb),.05); color: var(--text); font-weight: 700; border-top: 1px solid rgba(var(--accent-rgb),.15); }
.breakdown-table .teal { color: var(--accent); font-weight: 600; }
.breakdown-table .red { color: #f87171; }
.breakdown-table .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.rates-section { background: var(--surface); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.rates-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; }
.rates-header__title { font-size: .8125rem; font-weight: 700; color: var(--text); }
.rates-toggle { font-size: .75rem; font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: 4px; }
.rates-toggle__icon { transition: transform .2s; display: inline-block; }
.rates-toggle__icon.open { transform: rotate(180deg); }
.rates-body { display: none; }
.rates-body.open { display: block; }
.rates-table { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.rates-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); }
.rates-table td { padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.04); color: var(--text-2); }
.rates-table tr:last-child td { border-bottom: none; }
.rates-table tr.active-row td { background: rgba(var(--accent-rgb),.06); color: var(--text); font-weight: 600; }
.rates-table .rate-val { font-weight: 700; color: #fbbf24; }
.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); }
.warn-box { background: rgba(251,191,36,.06); border: 1px solid rgba(251,191,36,.2); border-radius: 10px; padding: 12px 16px; font-size: .8125rem; color: var(--text-2); line-height: 1.7; margin-bottom: 14px; display: flex; gap: 10px; }
.warn-box strong { color: #fbbf24; }
@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; }
  .form-row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .panel { padding: 16px; }
  .result-stats { grid-template-columns: 1fr 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-building { --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=%22M12 10h.01%22 /> <path d=%22M12 14h.01%22 /> <path d=%22M12 6h.01%22 /> <path d=%22M16 10h.01%22 /> <path d=%22M16 14h.01%22 /> <path d=%22M16 6h.01%22 /> <path d=%22M8 10h.01%22 /> <path d=%22M8 14h.01%22 /> <path d=%22M8 6h.01%22 /> <path d=%22M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3%22 /> <rect x=%224%22 y=%222%22 width=%2216%22 height=%2220%22 rx=%222%22 /> </svg>"); }
.ei-building-2 { --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 12h4%22 /> <path d=%22M10 8h4%22 /> <path d=%22M14 21v-3a2 2 0 0 0-4 0v3%22 /> <path d=%22M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2%22 /> <path d=%22M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16%22 /> </svg>"); }
.ei-chart-column { --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=%22M3 3v16a2 2 0 0 0 2 2h16%22 /> <path d=%22M18 17V9%22 /> <path d=%22M13 17V5%22 /> <path d=%22M8 17v-3%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-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-house { --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 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8%22 /> <path d=%22M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z%22 /> </svg>"); }
.ei-house-plus { --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=%22M12.35 21H5a2 2 0 0 1-2-2v-9a2 2 0 0 1 .71-1.53l7-6a2 2 0 0 1 2.58 0l7 6A2 2 0 0 1 21 10v2.35%22 /> <path d=%22M14.8 12.4A1 1 0 0 0 14 12h-4a1 1 0 0 0-1 1v8%22 /> <path d=%22M15 18h6%22 /> <path d=%22M18 15v6%22 /> </svg>"); }
.ei-landmark { --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 18v-7%22 /> <path d=%22M11.119 2.205a2 2 0 0 1 1.762 0l7.84 3.846A.5.5 0 0 1 20.5 7h-17a.5.5 0 0 1-.22-.949z%22 /> <path d=%22M14 18v-7%22 /> <path d=%22M18 18v-7%22 /> <path d=%22M3 22h18%22 /> <path d=%22M6 18v-7%22 /> </svg>"); }
.ei-scale { --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=%22M12 3v18%22 /> <path d=%22m19 8 3 8a5 5 0 0 1-6 0zV7%22 /> <path d=%22M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1%22 /> <path d=%22m5 8 3 8a5 5 0 0 1-6 0zV7%22 /> <path d=%22M7 21h10%22 /> </svg>"); }
.ei-store { --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 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5%22 /> <path d=%22M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244%22 /> <path d=%22M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05%22 /> </svg>"); }
.ei-triangle-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 > <path d=%22m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3%22 /> <path d=%22M12 9v4%22 /> <path d=%22M12 17h.01%22 /> </svg>"); }
.ei-wheat { --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=%22M2 22 16 8%22 /> <path d=%22M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z%22 /> <path d=%22M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z%22 /> <path d=%22M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z%22 /> <path d=%22M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z%22 /> <path d=%22M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z%22 /> <path d=%22M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z%22 /> <path d=%22M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z%22 /> </svg>"); }
}
