/* Akvaryum Hesaplayıcı — her kural .ta-hs içinde; renk ve yazı tipi sitenin --ta-* değişkenlerinden. */
.ta-hs {
  --hs-ink: var(--ta-text, #1a2b33);
  --hs-deep: var(--ta-deep, #023047);
  --hs-accent: var(--ta-mid, #0077b6);
  --hs-light: var(--ta-light, #48cae4);
  --hs-bg: var(--ta-bg, #f4f8fa);
  --hs-muted: var(--ta-muted, #5a6b73);
  --hs-surface: #ffffff;
  --hs-line: #d4e2e9;
  --hs-soft: #e2f1f8;
  --hs-radius: var(--ta-radius, 12px);
  --hs-iyi: #2d7a3c; --hs-iyi-bg: #e1f1e3;
  --hs-dikkat: #8a5800; --hs-dikkat-bg: #f7ead0;
  --hs-kotu: #a1392b; --hs-kotu-bg: #f7dfda;
  --hs-data: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color: var(--hs-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  display: grid;
  gap: 20px;
  margin-block: 8px 32px;
}
.ta-hs *, .ta-hs *::before, .ta-hs *::after { box-sizing: border-box; }
.ta-hs [hidden] { display: none !important; }
.ta-hs .hs-giris { margin: 0; color: var(--hs-muted); font-size: 17px; max-width: 62ch; }
.ta-hs .hs-kart { background: var(--hs-surface); border: 1px solid var(--hs-line); border-radius: var(--hs-radius); box-shadow: var(--ta-shadow, 0 2px 16px rgba(2, 48, 71, .07)); padding: 20px; display: grid; gap: 16px; min-width: 0; }
@media (max-width: 600px) { .ta-hs .hs-kart { padding: 16px; } }
.ta-hs h2 { margin: 0; font-size: 22px; line-height: 1.2; color: var(--hs-deep); }
.ta-hs .hs-olculer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .ta-hs .hs-olculer { grid-template-columns: minmax(0, 1fr); } }
.ta-hs .hs-olculer label { display: grid; gap: 4px; font-weight: 700; color: var(--hs-deep); font-size: 15px; margin: 0; }
.ta-hs .hs-olculer label span { display: flex; align-items: center; gap: 6px; font-weight: 500; color: var(--hs-muted); }
.ta-hs input[type="number"], .ta-hs input[type="search"] { width: 100%; min-height: 44px; padding: 8px 12px; margin: 0; border: 1px solid var(--hs-line); border-radius: 8px; background: var(--hs-bg); color: var(--hs-ink); font: 500 16px inherit; font-family: inherit; }
.ta-hs .hs-olculer input { font-family: var(--hs-data); }
.ta-hs :focus-visible { outline: 3px solid var(--hs-light); outline-offset: 2px; }
.ta-hs .hs-sonuclar { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0; }
.ta-hs .hs-sonuclar div { background: var(--hs-bg); border-radius: 8px; padding: 10px 12px; min-width: 0; }
.ta-hs .hs-sonuclar dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--hs-muted); font-weight: 600; margin: 0; }
.ta-hs .hs-sonuclar dd { margin: 2px 0 0; font-family: var(--hs-data); font-size: 18px; font-variant-numeric: tabular-nums; color: var(--hs-deep); }
.ta-hs .hs-sonuclar .hs-buyuk { background: var(--hs-soft); }
.ta-hs .hs-sonuclar .hs-buyuk dd { font-size: 26px; font-weight: 700; color: var(--hs-accent); }
.ta-hs .hs-not { margin: 0; font-size: 13px; color: var(--hs-muted); max-width: 80ch; }
.ta-hs .hs-etiket { font-weight: 700; color: var(--hs-deep); display: block; margin-bottom: 6px; }
.ta-hs .hs-ara-kutu { position: relative; max-width: 520px; }
.ta-hs .hs-oneriler { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: var(--hs-surface); border: 1px solid var(--hs-line); border-radius: 8px; box-shadow: 0 8px 24px rgba(2, 48, 71, .14); max-height: 320px; overflow-y: auto; }
.ta-hs .hs-oneriler li { padding: 8px 10px; border-radius: 6px; cursor: pointer; display: flex; flex-wrap: wrap; gap: 0 8px; align-items: baseline; }
.ta-hs .hs-oneriler li em { color: var(--hs-muted); font-size: 13px; }
.ta-hs .hs-oneriler li[aria-selected="true"], .ta-hs .hs-oneriler li:hover { background: var(--hs-soft); }
.ta-hs .hs-oneriler li.hs-yok { color: var(--hs-muted); cursor: default; }
.ta-hs .hs-stok { display: grid; gap: 8px; }
.ta-hs .hs-satir { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto 32px; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--hs-line); border-radius: 10px; }
@media (max-width: 560px) { .ta-hs .hs-satir { grid-template-columns: 44px minmax(0, 1fr) 32px; } .ta-hs .hs-adet { grid-column: 2; } .ta-hs .hs-pay { grid-column: 3; grid-row: 2; justify-self: end; } }
.ta-hs .hs-satir img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; margin: 0; background: var(--hs-soft); }
.ta-hs .hs-ad { min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.ta-hs .hs-ad a { color: var(--hs-deep); text-decoration: none; }
.ta-hs .hs-ad a:hover { color: var(--hs-accent); }
.ta-hs .hs-ad small { display: block; font-weight: 400; color: var(--hs-muted); font-size: 13px; }
.ta-hs .hs-adet { display: inline-flex; align-items: center; border: 1px solid var(--hs-line); border-radius: 8px; overflow: hidden; }
.ta-hs .hs-adet button { width: 36px; height: 38px; border: 0; background: var(--hs-bg); color: var(--hs-deep); font-size: 18px; cursor: pointer; padding: 0; }
.ta-hs .hs-adet button:hover { background: var(--hs-soft); }
.ta-hs .hs-adet input { width: 54px; min-height: 38px; border: 0; border-radius: 0; text-align: center; font-family: var(--hs-data); background: var(--hs-surface); padding: 4px; }
.ta-hs .hs-pay { font-family: var(--hs-data); font-size: 14px; color: var(--hs-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ta-hs .hs-sil { width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--hs-muted); font-size: 20px; cursor: pointer; padding: 0; }
.ta-hs .hs-sil:hover { background: var(--hs-kotu-bg); color: var(--hs-kotu); }
.ta-hs .hs-ornek, .ta-hs .hs-bos { margin: 0; color: var(--hs-muted); font-size: 14px; }
.ta-hs .hs-olcer { border-radius: 10px; padding: 14px 16px; display: grid; gap: 8px; }
.ta-hs .hs-olcer.iyi { background: var(--hs-iyi-bg); color: var(--hs-iyi); }
.ta-hs .hs-olcer.dikkat { background: var(--hs-dikkat-bg); color: var(--hs-dikkat); }
.ta-hs .hs-olcer.kotu { background: var(--hs-kotu-bg); color: var(--hs-kotu); }
.ta-hs .hs-olcer-ust { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.ta-hs .hs-olcer-ust strong { font-size: 22px; }
.ta-hs .hs-olcer-ust span { font-family: var(--hs-data); font-variant-numeric: tabular-nums; }
.ta-hs .hs-olcer p { margin: 0; color: var(--hs-ink); }
.ta-hs .hs-cubuk { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .7); overflow: hidden; }
.ta-hs .hs-cubuk i { display: block; height: 100%; background: currentColor; border-radius: inherit; }
.ta-hs .hs-uyarilar { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: var(--hs-dikkat); font-size: 14px; }
.ta-hs .hs-paylas { display: flex; flex-wrap: wrap; gap: 8px; }
.ta-hs .hs-paylas input { flex: 1 1 260px; min-width: 0; min-height: 40px; padding: 6px 10px; border: 1px solid var(--hs-line); border-radius: 8px; font: 500 13px var(--hs-data); background: var(--hs-bg); color: var(--hs-ink); }
.ta-hs .hs-dugme { min-height: 40px; padding: 8px 16px; border-radius: 8px; border: 1px solid var(--hs-accent); background: transparent; color: var(--hs-accent); font: 700 15px inherit; font-family: inherit; cursor: pointer; }
.ta-hs .hs-dugme:hover { background: var(--hs-soft); }
.ta-hs .hs-kaynak { margin: 0; color: var(--hs-muted); font-size: 13px; }
.ta-hs .hs-kaynak a { color: var(--hs-accent); }
.ta-hs .hs-bildirim { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 9999; background: var(--hs-deep); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; font-size: 14px; }
