/* Aluminex · hesaplama araçları v2 */
.hsp { display: grid; gap: 18px; }
.hc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hc-grid.hc-tek { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 900px) { .hc-grid { grid-template-columns: 1fr; } }
.hc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 2.4vw, 26px); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hc-hd { display: flex; gap: 14px; align-items: flex-start; }
.hc-hd h3 { font-size: 18px; margin: 0 0 2px; }
.hc-hd p { margin: 0; font-size: 13.5px; color: var(--muted); }
.hc-i { width: 42px; height: 42px; border-radius: 11px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.hc-i .ico { width: 21px; height: 21px; }
.hc-fields { display: grid; gap: 10px; }
.hc-f3 { grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, .7fr); }
.hc-f5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hc-f5 .hf:last-child { grid-column: 1 / -1; }
@media (max-width: 560px) {
  .hc-f3 { grid-template-columns: 1fr 1fr; } .hc-f3 .hf-kod, .hc-f3 .hf-ara { grid-column: 1 / -1; }
  .hc-f5 { grid-template-columns: 1fr 1fr; }
}
.hf { display: grid; gap: 5px; position: relative; min-width: 0; margin: 0; }
.hf > span:first-child { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hf input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-size: 15.5px; font-weight: 600; color: var(--ink); background: var(--surface); font-variant-numeric: tabular-nums; transition: border-color .15s, background .15s, box-shadow .15s; min-width: 0; }
.hf input:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px var(--red-100); }
.hf-in { position: relative; display: block; }
.hf-in .ico { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.hf-in input { padding-inline-start: 38px; text-transform: uppercase; }
.hf-ara .hf-in input { text-transform: none; }
.hf-sug { position: absolute; z-index: 40; top: 100%; margin-top: 6px; inset-inline: 0; list-style: none; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); max-height: 300px; overflow-y: auto; }
.hf-sug li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: var(--radius-sm); cursor: pointer; font-size: 13.5px; }
.hf-sug li:hover, .hf-sug li.aktif { background: var(--surface); }
.hf-sug b { color: var(--ink); font-weight: 700; }
.hf-sug span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hf-sug em { font-style: normal; font-weight: 600; color: var(--red); font-variant-numeric: tabular-nums; }

/* sonuç kutusu */
.hr { margin-top: auto; border-radius: var(--radius); background: var(--ink); color: #b7bec7; padding: 16px 18px; min-height: 104px; display: flex; flex-direction: column; justify-content: center; gap: 4px; position: relative; overflow: hidden; }
.hr::after { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; border: 22px solid rgba(255,255,255,.04); }
.hr-big { font-size: clamp(28px, 3vw, 36px); font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hr-big small { font-size: .5em; font-weight: 600; color: #9aa2ad; margin-inline-start: 4px; letter-spacing: 0; }
.hr-sub { font-size: 13px; margin: 0; line-height: 1.45; }
.hr-info { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.hr-chip { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.08); color: #dfe3e8; }
.hr-chip.red { background: rgba(189,10,39,.35); color: #fff; }
.hr-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.hr .btn { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
.hr-kgm { display: grid; grid-template-columns: repeat(3, auto); gap: 4px 18px; font-size: 12.5px; margin-top: 6px; }
.hr-kgm b { color: #fff; font-weight: 600; display: block; font-size: 14px; font-variant-numeric: tabular-nums; }

/* standart profil tip seçici: kesit ikonlu çipler */
.st-tipler { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 900px) { .st-tipler { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .st-tipler { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.st-tip { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--ink-3); text-align: center; line-height: 1.25; transition: border-color .15s, background .15s, color .15s, box-shadow .15s; min-width: 0; }
.st-tip:hover { border-color: var(--ink); }
.st-tip svg { width: 38px; height: 38px; }
.st-tip svg .k { fill: var(--surface-2); stroke: var(--ink-3); stroke-width: 1.6; stroke-linejoin: round; }
.st-tip[aria-checked="true"] { border-color: var(--red); background: var(--red-50); color: var(--red-700); box-shadow: 0 0 0 1px var(--red) inset; }
.st-tip[aria-checked="true"] svg .k { fill: #f6c9d0; stroke: var(--red); }
.st-tip small { font-size: 11px; color: var(--muted); font-weight: 500; }
.st-fields { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.st-dims { display: contents; }
.st-sekil { display: flex; gap: 6px; }
.st-sekil button { flex: 1; height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); font-size: 13px; font-weight: 600; }
.st-sekil button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.st-count { margin: 0; font-size: 13.5px; color: var(--muted); font-weight: 500; }

/* tablolar */
.ht-wrap { overflow: auto; max-height: 520px; border: 1px solid var(--line); border-radius: var(--radius); }
.ht { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.ht th { position: sticky; top: 0; z-index: 1; background: var(--surface); text-align: start; padding: 10px 12px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--line); white-space: nowrap; }
[dir="rtl"] .ht th { letter-spacing: 0; }
.ht td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ht tr:last-child td { border-bottom: 0; }
.ht tbody tr:hover td { background: #fbf6f7; }
.ht .n { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ht .k { font-weight: 700; color: var(--ink); white-space: nowrap; }
.ht .t { color: var(--steel); }
.ht .tot { font-weight: 700; color: var(--ink); }
.ht-bos { text-align: center; color: var(--muted); padding: 22px !important; }
.ht-tag { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--red-50); color: var(--red-700); margin-inline-start: 6px; vertical-align: 1px; }
.ht-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink-3); background: #fff; transition: background .15s, color .15s, border-color .15s; }
.ht-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.ht-btn .ico { width: 15px; height: 15px; }
.h-not { font-size: 12.5px; color: var(--muted); margin: 0; max-width: 100ch; line-height: 1.55; }
.h-more { margin: 0; }
.hsp-kompakt .hc-grid { gap: 18px; }
