        /* Hesaplayıcı'ya özel ek stiller (asistron-shell.css üstüne) */
        .calc-hero {
            position: relative;
            padding: 130px 0 30px;
            text-align: center;
        }
        .calc-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                radial-gradient(700px 400px at 50% 30%, rgba(251,133,0,0.15), transparent 60%),
                radial-gradient(500px 300px at 80% 80%, rgba(196,19,121,0.10), transparent 60%);
            pointer-events: none;
        }
        .calc-hero > * { position: relative; z-index: 1; }
        .calc-hero h1 {
            font-size: clamp(32px, 4.8vw, 52px);
            font-weight: 800;
            letter-spacing: -0.035em;
            line-height: 1.05;
            margin: 18px 0;
        }
        .calc-hero h1 .grad {
            background: var(--grad-brand);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .calc-hero p {
            color: var(--muted);
            font-size: clamp(15px, 1.3vw, 17px);
            max-width: 640px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .calc-section { padding: 50px 0 80px; }

        /* Senaryo grid */
        .calc-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 18px;
        }
        @media (max-width: 991px) { .calc-grid { grid-template-columns: 1fr; } }

        .calc-card {
            background: linear-gradient(155deg, var(--surface) 0%, var(--bg-2) 100%);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 22px 22px 18px;
            display: flex;
            flex-direction: column;
            gap: 14px;
            position: relative;
            transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
        }
        .calc-card.best {
            border-color: var(--green);
            box-shadow: 0 0 0 1px var(--green), 0 20px 50px rgba(47,212,122,0.12);
        }
        .calc-card.worst {
            opacity: 0.85;
        }

        .calc-card-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .calc-card-head h3 {
            font-size: 16px;
            font-weight: 700;
            margin: 0;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .calc-card-head h3 .num-circle {
            width: 24px; height: 24px;
            border-radius: 50%;
            background: var(--surface-2);
            display: inline-flex; align-items: center; justify-content: center;
            font-size: 12px; font-weight: 800;
            color: var(--muted);
        }
        .calc-card.best .num-circle {
            background: var(--green);
            color: #042b14;
        }
        .calc-best-badge {
            display: inline-flex; align-items: center; gap: 5px;
            font-size: 11px; font-weight: 700;
            padding: 4px 10px;
            border-radius: 999px;
            background: rgba(47,212,122,0.12);
            color: var(--green);
            border: 1px solid rgba(47,212,122,0.4);
            text-transform: uppercase;
            letter-spacing: 0.4px;
        }
        .calc-tag {
            font-size: 11px; font-weight: 600;
            padding: 4px 10px;
            border-radius: 999px;
            background: var(--surface-2);
            color: var(--muted);
            border: 1px solid var(--border);
        }

        .calc-field {
            display: flex; flex-direction: column; gap: 6px;
        }
        .calc-field label {
            font-size: 11.5px;
            color: var(--muted);
            font-weight: 500;
            letter-spacing: 0.2px;
            display: flex; align-items: center; justify-content: space-between;
            gap: 8px;
        }
        .calc-field label .hint {
            color: var(--faded);
            font-size: 10.5px;
            font-weight: 400;
        }
        .calc-input, .calc-select {
            background: var(--bg-2);
            border: 1px solid var(--border);
            color: var(--text);
            padding: 9px 12px;
            border-radius: 9px;
            font-size: 13.5px;
            font-family: inherit;
            font-variant-numeric: tabular-nums;
            transition: border-color 0.2s, box-shadow 0.2s;
            width: 100%;
        }
        .calc-input:focus, .calc-select:focus {
            outline: none;
            border-color: var(--orange);
            box-shadow: 0 0 0 3px rgba(251,133,0,0.15);
        }
        .calc-select {
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a8b0bf' d='M6 8.825L1.175 4 2.05 3.125 6 7.075 9.95 3.125 10.825 4z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            padding-right: 30px;
        }

        .calc-grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        /* Sonuç bloğu */
        .calc-result {
            margin-top: 4px;
            padding: 14px 16px;
            background: var(--bg-2);
            border-radius: 10px;
            border: 1px dashed var(--border);
        }
        .calc-card.best .calc-result {
            background: rgba(47,212,122,0.06);
            border-color: rgba(47,212,122,0.4);
            border-style: solid;
        }
        .calc-result-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 5px 0;
            font-size: 13px;
        }
        .calc-result-row .lbl { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
        .calc-result-row .val {
            font-weight: 600;
            font-variant-numeric: tabular-nums;
        }
        .calc-result-row .val.neg { color: var(--danger); }
        .calc-result-row.total {
            margin-top: 8px;
            padding-top: 10px;
            border-top: 1px solid var(--border);
            font-size: 15px;
        }
        .calc-card.best .calc-result-row.total {
            border-top-color: rgba(47,212,122,0.3);
        }
        .calc-result-row.total .lbl { color: var(--text); font-weight: 700; }
        .calc-result-row.total .val.profit { color: var(--green); font-size: 17px; font-weight: 800; }
        .calc-result-row.total .val.loss { color: var(--danger); font-size: 17px; font-weight: 800; }

        .calc-result-row.marj {
            font-size: 11.5px;
            color: var(--faded);
            padding-top: 0;
            margin-top: -2px;
            justify-content: flex-end;
        }
        .calc-result-row.marj .val { color: var(--muted); font-weight: 500; }

        /* Karşılaştırma özet kartı */
        .calc-summary {
            margin-top: 22px;
            padding: 22px 26px;
            background: linear-gradient(135deg, rgba(251,133,0,0.05), rgba(196,19,121,0.05));
            border: 1px solid var(--border-2);
            border-radius: var(--radius-lg);
            display: grid;
            grid-template-columns: 1fr auto;
            gap: 18px;
            align-items: center;
        }
        @media (max-width: 768px) {
            .calc-summary { grid-template-columns: 1fr; text-align: center; }
        }
        .calc-summary .summary-info h4 {
            font-size: 17px;
            margin-bottom: 6px;
        }
        .calc-summary .summary-info p {
            color: var(--muted);
            font-size: 13.5px;
            line-height: 1.5;
        }
        .calc-summary .summary-info strong {
            color: var(--green);
        }

        /* Sıfırla butonu */
        .calc-actions {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            margin-bottom: 18px;
        }

        /* Reset highlight */
        .calc-card.changed {
            animation: pulse-orange 0.5s ease;
        }
        @keyframes pulse-orange {
            0% { box-shadow: 0 0 0 0 rgba(251,133,0,0.0); }
            50% { box-shadow: 0 0 0 4px rgba(251,133,0,0.15); }
            100% { box-shadow: 0 0 0 0 rgba(251,133,0,0); }
        }

        /* ===== GOREV-1198 — Tek ürün kârlılık hesaplayıcı (panel port, homeNew token) ===== */
        .qk-calc { margin-top: 50px; }
        .qk-head { text-align: center; margin-bottom: 28px; }
        .qk-head h2 {
            font-size: clamp(24px, 3vw, 34px);
            font-weight: 800;
            letter-spacing: -0.03em;
            margin: 14px 0 8px;
        }
        .qk-head h2 .grad {
            background: var(--grad-brand);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .qk-head p { color: var(--muted); font-size: 14px; }

        .qk-layout {
            display: grid;
            grid-template-columns: 1.35fr 1fr;
            gap: 20px;
            align-items: start;
        }
        @media (max-width: 991px) { .qk-layout { grid-template-columns: 1fr; } }
        .qk-col { display: flex; flex-direction: column; gap: 20px; }

        .qk-card:hover { transform: none; box-shadow: none; }
        .qk-card-head {
            display: flex; align-items: center; gap: 12px;
            margin-bottom: 18px;
        }
        .qk-card-head .icon-tile { margin-bottom: 0; width: 42px; height: 42px; font-size: 20px; }
        .qk-card-head h3 { font-size: 16px; font-weight: 700; }

        /* Girdiler grid + input group */
        .qk-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
        .qk-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
        @media (max-width: 480px) {
            .qk-grid-2, .qk-grid-3 { grid-template-columns: 1fr; }
        }
        .qk-ig { position: relative; }
        .qk-ig .calc-input { padding-right: 30px; }
        .qk-suffix {
            position: absolute; right: 12px; top: 50%;
            transform: translateY(-50%);
            color: var(--faded); font-size: 13px; font-weight: 600;
            pointer-events: none;
        }

        /* İhracat switch + hedef marj */
        .qk-controls {
            display: flex; flex-wrap: wrap; gap: 14px;
            align-items: center; justify-content: space-between;
            margin-top: 14px; padding-top: 14px;
            border-top: 1px solid var(--border);
        }
        .qk-switch {
            display: inline-flex; align-items: center; gap: 8px;
            font-size: 12.5px; color: var(--muted); cursor: not-allowed;
        }
        .qk-target { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
        .qk-target > label { font-size: 12.5px; color: var(--muted); }
        .qk-range { accent-color: var(--orange); width: 110px; }
        .qk-target-badge {
            font-size: 12px; font-weight: 700; color: var(--orange);
            background: rgba(251,133,0,0.12);
            padding: 3px 8px; border-radius: 6px;
            min-width: 42px; text-align: center;
        }

        /* Girdiler footer — hedef fiyat çıktısı */
        .qk-footer {
            display: flex; flex-wrap: wrap; gap: 14px;
            align-items: center; justify-content: space-between;
            margin-top: 16px; padding-top: 16px;
            border-top: 1px solid var(--border);
        }
        .qk-footer-label { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
        .qk-target-result {
            font-size: 20px; font-weight: 800; color: var(--orange);
            font-variant-numeric: tabular-nums;
        }

        /* Dağılım grafik legend */
        #bar { max-width: 100%; margin: 4px 0 14px; }
        .qk-legend { display: flex; flex-direction: column; }
        .qk-legend li {
            display: flex; justify-content: space-between; align-items: center;
            padding: 7px 0; font-size: 13px;
            border-bottom: 1px solid var(--border);
        }
        .qk-legend li:last-child { border-bottom: 0; }
        .qk-legend li span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
        .qk-legend li strong { font-variant-numeric: tabular-nums; }
        .qk-legend-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex-shrink: 0; }
        .qk-dot-maliyet  { background: var(--orange-2); }
        .qk-dot-komisyon { background: var(--cyan); }
        .qk-dot-kargo    { background: var(--purple); }
        .qk-dot-kdv      { background: var(--orange); }
        .qk-dot-kar      { background: var(--green); }

        /* Karlılık özeti tile'ları */
        .qk-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
        .qk-tiles.qk-tiles-3 { grid-template-columns: repeat(3, 1fr); margin-top: 12px; }
        @media (max-width: 480px) {
            .qk-tiles, .qk-tiles.qk-tiles-3 { grid-template-columns: 1fr; }
        }
        .qk-stat-tile {
            background: var(--bg-2);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 12px 14px;
        }
        .qk-tile-label {
            font-size: 11.5px; color: var(--muted);
            display: flex; align-items: center; gap: 5px;
            margin-bottom: 5px;
        }
        .qk-tile-label i { color: var(--faded); cursor: help; }
        .qk-tile-val {
            font-size: 17px; font-weight: 800;
            font-variant-numeric: tabular-nums;
        }

        /* Kesinti / KDV listeleri */
        .qk-list { display: flex; flex-direction: column; }
        .qk-list li {
            display: flex; justify-content: space-between; align-items: center;
            padding: 8px 0; font-size: 13px;
            border-bottom: 1px solid var(--border);
        }
        .qk-list li:last-child { border-bottom: 0; }
        .qk-list li span { color: var(--muted); }
        .qk-list li strong { font-variant-numeric: tabular-nums; }
        .qk-list li.qk-list-total {
            margin-top: 4px; border-top: 2px solid var(--border-2); border-bottom: 0;
        }
        .qk-list li.qk-list-total span { color: var(--text); font-weight: 600; }

        /* Nasıl Hesaplanıyor */
        .qk-info-alert {
            background: rgba(251,133,0,0.06);
            border: 1px solid rgba(251,133,0,0.18);
            border-radius: 10px;
            padding: 14px 16px;
            margin-bottom: 16px;
        }
        .qk-info-alert p { font-size: 13px; line-height: 1.65; color: var(--muted); }
        .qk-info-alert strong { color: var(--text); }
        .qk-info-grid {
            display: grid; grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
        @media (max-width: 575px) { .qk-info-grid { grid-template-columns: 1fr; } }
        .qk-info-item {
            background: var(--bg-2);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 12px 14px;
        }
        .qk-info-item h5 { font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
        .qk-info-item p { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

        /* ===== GOREV-1208 — Boş alan işareti + Hedef Marj buton kilidi ===== */
        /* Boş zorunlu alan — panel --xx-danger #ff6b6b paletine uyumlu */
        .calc-input.is-invalid {
            border-color: var(--danger);
            box-shadow: 0 0 0 3px rgba(255,107,107,0.15);
        }
        .calc-input.is-invalid:focus {
            border-color: var(--danger);
            box-shadow: 0 0 0 3px rgba(255,107,107,0.25);
        }
        /* Hedef Marj butonu — ana hesap yapılmadan kilitli görseli */
        #btnCalcTargetMargin:disabled,
        #btnCalcTargetMargin[disabled] {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* ===== GOREV-1210 — Hedef Marj kâr bazı seçici ===== */
        /* Kompakt select — .calc-select görünümüyle uyumlu, .qk-target satırına sığacak boyutta */
        .qk-select {
            background: var(--bg-2);
            border: 1px solid var(--border);
            color: var(--text);
            font-size: 12px;
            font-family: inherit;
            padding: 4px 24px 4px 8px;
            border-radius: 7px;
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a8b0bf' d='M6 8.825L1.175 4 2.05 3.125 6 7.075 9.95 3.125 10.825 4z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 7px center;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .qk-select:hover { border-color: var(--orange); }
        .qk-select:focus {
            outline: none;
            border-color: var(--orange);
            box-shadow: 0 0 0 3px rgba(251,133,0,0.15);
        }
        /* Önerilen fiyatın altında "hangi baza göre %X" notu */
        .qk-target-basis-note {
            font-size: 11.5px;
            color: var(--muted);
            margin-top: 3px;
        }

        /* ===== GOREV-1211 — Pazaryeri seçici + kesinti kalemleri ===== */
        /* Girdiler kartı üstündeki pazaryeri seçici alanı */
        .qk-pazaryeri-field { margin-bottom: 14px; }
        /* Tam genişlik select varyantı — GOREV-1210 .qk-select token'larıyla uyumlu */
        .qk-select-full {
            width: 100%;
            font-size: 13.5px;
            padding: 9px 30px 9px 12px;
            border-radius: 9px;
            background-position: right 12px center;
        }
        /* Hizmet Bedeli satırı altındaki dinamik kesinti kalemleri konteyneri */
        .qk-list li.qk-kesinti-kalemleri-wrap {
            display: block;
            padding: 0;
            border-bottom: 0;
        }
        .qk-kesinti-kalem {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
            font-size: 13px;
            border-bottom: 1px solid var(--border);
        }
        .qk-kesinti-kalem span { color: var(--muted); }
        .qk-kesinti-kalem strong { font-variant-numeric: tabular-nums; }

        /* ── GOREV-1361 — CSS-only tooltip utility (native title yerine) ── */
        .qk-tooltip { position: relative; cursor: help; }
        .qk-tooltip:hover::after,
        .qk-tooltip:focus-visible::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: calc(100% + 8px);
            left: 50%;
            transform: translateX(-50%);
            background: #1f2937;
            color: #fff;
            padding: 6px 10px;
            border-radius: 6px;
            font-size: 12px;
            line-height: 1.4;
            white-space: normal;
            width: max-content;
            max-width: 260px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.18);
            z-index: 50;
            pointer-events: none;
        }
        .qk-tooltip:hover::before,
        .qk-tooltip:focus-visible::before {
            content: '';
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 5px solid transparent;
            border-top-color: #1f2937;
            z-index: 50;
            pointer-events: none;
        }
        @media (prefers-reduced-motion: no-preference) {
            .qk-tooltip::after, .qk-tooltip::before { transition: opacity .12s ease; }
        }

