/* kalkulatori/dogana-makines.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 .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: 260px; 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; }
.total-cost-box { background: rgba(var(--accent-rgb),.07); border: 1px solid rgba(var(--accent-rgb),.2); border-radius: 12px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.total-cost-box__label { font-size: .8125rem; font-weight: 600; color: var(--text-2); }
.total-cost-box__value { font-size: 1.375rem; font-weight: 700; color: var(--accent); }
.breakdown-bar-wrap { margin-bottom: 6px; }
.breakdown-bar-label { font-size: .625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.breakdown-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; }
.bar-seg { height: 100%; border-radius: 3px; transition: width .4s ease; min-width: 0; }
.legend-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-top: 10px; font-size: .8125rem; }
.legend-row { display: flex; align-items: center; gap: 7px; }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.legend-name { color: var(--text-2); flex: 1; }
.legend-amt { color: var(--text); font-weight: 600; }
.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); }
.breakdown-header__title { font-size: .8125rem; font-weight: 700; color: var(--text); }
.breakdown-header__sub { font-size: .75rem; color: var(--text-3); margin-top: 2px; }
.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: 11px 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); font-size: .9rem; }
.breakdown-table tr.base-row td { color: var(--text); font-weight: 600; }
.breakdown-table .teal { color: var(--accent); }
.breakdown-table .neg { color: #f87171; }
.breakdown-table .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.breakdown-table .note { font-size: .7rem; color: var(--text-3); display: block; margin-top: 1px; font-weight: 400; }
.age-section { background: var(--surface); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.age-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; }
.age-header__title { font-size: .8125rem; font-weight: 700; color: var(--text); }
.age-toggle { font-size: .75rem; font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: 4px; }
.age-toggle__icon { transition: transform .2s; display: inline-block; }
.age-toggle__icon.open { transform: rotate(180deg); }
.age-body { display: none; }
.age-body.open { display: block; }
.age-table { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.age-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); }
.age-table td { padding: 9px 16px; border-bottom: 1px solid rgba(255,255,255,.04); color: var(--text-2); }
.age-table tr:last-child td { border-bottom: none; }
.age-table tr.active-row td { background: rgba(var(--accent-rgb),.06); color: var(--text); font-weight: 600; }
.age-table .dep-val { color: #f87171; font-weight: 600; }
.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; }
  .result-hero__value { font-size: 2rem; }
  .form-row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .panel { padding: 16px; }
}
@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-car { --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=%22M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2%22 /> <circle cx=%227%22 cy=%2217%22 r=%222%22 /> <path d=%22M9 17h6%22 /> <circle cx=%2217%22 cy=%2217%22 r=%222%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-coins { --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=%22M13.744 17.736a6 6 0 1 1-7.48-7.48%22 /> <path d=%22M15 6h1v4%22 /> <path d=%22m6.134 14.768.866-.5 2 3.464%22 /> <circle cx=%2216%22 cy=%228%22 r=%226%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-trending-down { --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=%22M16 17h6v-6%22 /> <path d=%22m22 17-8.5-8.5-5 5L2 7%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>"); }
}
