/* Livestock tools · the shared style of the four tool windows (Faz 2 plan §5.0, §13.6 T1): port of the prototype's
   araclar-ortak/araclar.css. Loaded on the tool pages after site.css and livestock-site.css. Every class opens with
   ar- inside the dark tool window (.ar-pencere = .app-window built by tool-parts.mjs toolWindow); the map rules of
   the live site (wm-) are scoped to .ar-harita. The lemon marks the selected item, the cursor, "now" and the target;
   the livestock accent (--ls-acc, gold) is used in drawings only. */

.ar-pencere {
  --ls-acc: #e0b84a;
  --ls-acc-soft: rgba(224, 184, 74, 0.2);
  --ls-lemon: #d8f36a;
  --ls-lemon-ink: #13210c;
  --ls-dark-track: #10231c;
  --ls-ramp: linear-gradient(90deg, #10231c, #2c6b55, #42d39c, #d8f36a);
}
.app-window {
  --ar-gece: #0b1a15;
  --ar-alaca: #3a3f5e;
  --ar-safak: #c7795a;
  --ar-gunduz: rgba(240, 214, 96, 0.82);
  --ar-cizgi: rgba(255, 255, 255, 0.08);
  --ar-kutu: rgba(255, 255, 255, 0.05);
  --ar-yazi-2: #b3c3bb;
  --ar-yazi-3: #8a9b93;
}

/* ---------- Düzen: girişler solda, sonuçlar sağda; 900 px altında alt alta ---------- */
.ar-duzen { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.4fr); gap: 18px; align-items: start; }
.ar-duzen.esit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ar-yigin { display: grid; gap: 14px; min-width: 0; }
.ar-blok { min-width: 0; padding: 14px 16px; border-radius: 12px; background: var(--ar-kutu); border: 1px solid var(--ar-cizgi); }
.ar-blok-ust { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin-bottom: 12px; }
.ar-baslik { margin: 0; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-mint); }
.ar-aciklama { margin: 0; font-size: 0.86rem; line-height: 1.5; color: var(--ar-yazi-2); }
@media (max-width: 900px) { .ar-duzen, .ar-duzen.esit { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Konum girişi: bağlantı, koordinat ya da hazır yer ---------- */
.ar-giris { position: relative; padding: 18px 18px 16px; border-radius: 16px; background: linear-gradient(180deg, rgba(19, 41, 33, 0.94), rgba(10, 24, 19, 0.96)); border: 1px solid rgba(66, 211, 156, 0.24); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.ar-giris::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 50% at 100% 0%, rgba(216, 243, 106, 0.1), rgba(216, 243, 106, 0) 70%); }
.ar-giris > * { position: relative; }
.ar-giris-ust { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ar-pin { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: rgba(216, 243, 106, 0.12); color: var(--ls-lemon); }
.ar-pin svg { width: 18px; height: 18px; }
.ar-giris-baslik { margin: 0; font-size: 1.02rem; font-weight: 750; letter-spacing: -0.01em; color: #fff; }
.ar-etiket { display: block; margin-bottom: 8px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #8fa49b; }
.ar-alan { position: relative; }
.ar-metin { display: block; width: 100%; min-height: 52px; padding: 13px 44px 13px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(3, 10, 8, 0.55); color: #fff; font: 500 0.95rem/1.45 var(--mono); resize: vertical; word-break: break-all; transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease); }
textarea.ar-metin { min-height: 76px; }
.ar-metin::placeholder { color: #6f8279; }
.ar-metin:focus { outline: none; border-color: rgba(216, 243, 106, 0.7); box-shadow: 0 0 0 3px rgba(216, 243, 106, 0.16); }
.ar-temizle { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; border: 0; background: rgba(255, 255, 255, 0.08); color: #cfe3d9; cursor: pointer; }
.ar-temizle:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.ar-temizle svg { width: 14px; height: 14px; }
.ar-temizle[hidden] { display: none; }
@media (pointer: coarse) { .ar-temizle::before { content: ''; position: absolute; inset: -8px; border-radius: 12px; } }
.ar-oku { min-height: 1.45em; margin: 10px 0 0; font-size: 0.86rem; line-height: 1.45; color: var(--ar-yazi-2); }
.ar-oku b { font-family: var(--mono); font-weight: 600; color: var(--ls-lemon); }
.ar-oku.is-hata { color: #ffb8ad; }
.ar-bicimler { margin: 8px 0 0; font-size: 0.78rem; line-height: 1.5; color: var(--ar-yazi-3); }
.ar-gizlilik { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid rgba(66, 211, 156, 0.16); font-size: 0.78rem; line-height: 1.5; color: var(--ar-yazi-3); }
.ar-gizlilik svg { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--brand-mint); }
@media (max-width: 560px) { .ar-giris { padding: 16px 14px 14px; } .ar-metin { font-size: 16px; } }

/* Hazır yerler: dünya örnekleri önce, Türkiye ikinci seçenek (tek dokunuşla 81 şehir) */
.ar-yerler { margin-top: 14px; }
.ar-yerler-k { display: block; margin-bottom: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: #8fa49b; }
.ar-cipler { display: flex; flex-wrap: wrap; gap: 6px; }
.ar-cip { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); color: #dbe7e1; font: inherit; font-size: 0.85rem; font-weight: 650; cursor: pointer; transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease); }
.ar-cip small { font-size: 0.72rem; font-weight: 600; color: var(--ar-yazi-3); }
.ar-cip:hover { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.ar-cip[aria-pressed='true'] { background: var(--ls-lemon); border-color: var(--ls-lemon); color: var(--ls-lemon-ink); }
.ar-cip[aria-pressed='true'] small { color: rgba(19, 33, 12, 0.7); }
.ar-cip.is-tr { border-style: dashed; }
.ar-sec { display: block; width: 100%; min-height: 44px; margin-top: 10px; padding: 0 38px 0 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(3, 10, 8, 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23b3c3bb' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; color: #fff; font: inherit; font-size: 0.92rem; -webkit-appearance: none; appearance: none; }
.ar-sec:focus { outline: none; border-color: rgba(216, 243, 106, 0.7); box-shadow: 0 0 0 3px rgba(216, 243, 106, 0.16); }
.ar-sec[hidden] { display: none; }
.ar-sec option { background: #0a1813; color: #fff; }
@media (pointer: coarse) { .ar-cip { min-height: 44px; } }

/* ---------- Rozetler: beş kanıt etiketi, koyu zeminde ---------- */
.ar-rozet { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; border: 1px solid currentColor; color: #cfdcd5; background: rgba(255, 255, 255, 0.04); }
.ar-rozet::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.ar-rozet.is-forecast { color: #f6c86a; background: rgba(240, 200, 106, 0.1); }
.ar-rozet.is-measured { color: #ffffff; }
.ar-rozet.is-simulated { color: var(--brand-mint); background: rgba(66, 211, 156, 0.08); }
.ar-rozet.is-literature { color: #9fb4ff; background: rgba(79, 109, 245, 0.1); }
.ar-rozet.is-concept { color: #c2b0f7; background: rgba(102, 70, 196, 0.14); }
.ar-rozetler { display: inline-flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Sonuç kartları ---------- */
.ar-kartlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 138px), 1fr)); gap: 10px; margin: 0; }
.ar-kart { position: relative; min-width: 0; padding: 12px 14px 13px; border-radius: 12px; background: var(--ar-kutu); border: 1px solid var(--ar-cizgi); }
.ar-kart dt { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 0.72rem; line-height: 1.3; color: var(--ar-yazi-2); }
.ar-kart dd { margin: 6px 0 0; font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 750; letter-spacing: -0.02em; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ar-kart dd small { margin-left: 4px; font-size: 0.5em; font-weight: 600; letter-spacing: 0; color: var(--ar-yazi-2); }
.ar-kart .ar-alt { display: block; margin-top: 6px; font-size: 0.76rem; font-weight: 500; line-height: 1.4; color: var(--ar-yazi-3); white-space: normal; }
.ar-kart.is-ana { background: linear-gradient(180deg, rgba(216, 243, 106, 0.08), rgba(216, 243, 106, 0.02)); border-color: rgba(216, 243, 106, 0.35); }
.ar-kart.is-ana dd { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.ar-kart.is-bos dd { color: var(--ar-yazi-3); }
@media (prefers-reduced-motion: no-preference) { .ar-kart dd { transition: color var(--dur-2) var(--ease); } .ar-kart.is-yeni dd { animation: ar-gel var(--dur-3) var(--ease) both; } }
@keyframes ar-gel { from { opacity: 0; transform: translateY(4px); } }

/* ---------- Gün şeridi: 24 saatte gece, sivil alacakaranlık ve gündüz ---------- */
.ar-gun { --sd: 6; --d: 6.5; --b: 17.5; --sa: 18; position: relative; height: 34px; border-radius: 8px; overflow: visible;
  background: linear-gradient(90deg,
    var(--ar-gece) 0, var(--ar-gece) calc(var(--sd) * 100% / 24),
    var(--ar-safak) calc(var(--d) * 100% / 24),
    var(--ar-gunduz) calc((var(--d) + 0.9) * 100% / 24), var(--ar-gunduz) calc((var(--b) - 0.9) * 100% / 24),
    var(--ar-safak) calc(var(--b) * 100% / 24),
    var(--ar-gece) calc(var(--sa) * 100% / 24), var(--ar-gece) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.ar-gun.ince { height: 14px; border-radius: 5px; }
.ar-gun-katman { position: absolute; left: calc(var(--a) * 100% / 24); width: calc((var(--z) - var(--a)) * 100% / 24); bottom: 0; height: 30%; background: var(--ls-acc); border-radius: 0 0 3px 3px; box-shadow: 0 0 0 1.5px rgba(7, 18, 15, 0.9); }
.ar-gun-katman.ust { top: 0; bottom: auto; border-radius: 3px 3px 0 0; }
.ar-gun-isaret { position: absolute; top: -4px; bottom: -4px; left: calc(var(--t) * 100% / 24); width: 2px; margin-left: -1px; border-radius: 1px; background: rgba(255, 255, 255, 0.55); }
.ar-gun-isaret.is-simdi { background: var(--ls-lemon); box-shadow: 0 0 0 3px rgba(216, 243, 106, 0.18); }
.ar-gun-eksen { position: relative; height: 18px; margin-top: 6px; font-size: 0.7rem; color: var(--ar-yazi-3); font-variant-numeric: tabular-nums; }
.ar-gun-eksen span { position: absolute; left: calc(var(--t) * 100% / 24); transform: translateX(-50%); white-space: nowrap; }
.ar-gun-eksen span:first-child { transform: none; }
.ar-gun-eksen span:last-child { transform: translateX(-100%); }
.ar-olaylar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; }
.ar-olaylar div { min-width: 0; }
.ar-olaylar dt { font-size: 0.7rem; color: var(--ar-yazi-3); }
.ar-olaylar dd { margin: 2px 0 0; font-size: 1rem; font-weight: 750; color: #fff; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .ar-olaylar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ar-gun-eksen span.ara { display: none; } }

/* ---------- Yıl şeridi: 12 ay, değer çubuğu ve seçili ay ---------- */
.ar-yil { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; align-items: end; list-style: none; margin: 0; padding: 0; }
.ar-yil li { display: grid; grid-template-rows: auto 72px auto; justify-items: center; gap: 4px; min-width: 0; }
.ar-yil li > span { align-self: end; width: 100%; max-width: 26px; height: calc(max(var(--v, 0), 0.02) * 100%); border-radius: 4px 4px 2px 2px; background: var(--ls-acc); opacity: 0.9; transition: height var(--dur-3) var(--ease); }
.ar-yil li > b { font-size: 0.68rem; font-weight: 700; color: var(--ar-yazi-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ar-yil li > small { font-size: 0.68rem; color: var(--ar-yazi-3); }
.ar-yil li.is-isaretli > span { background-color: var(--ls-acc-soft); background-image: repeating-linear-gradient(45deg, var(--ls-acc) 0 1.5px, transparent 1.5px 5px); }
.ar-yil li.is-sec > span { background: var(--ls-lemon); opacity: 1; }
.ar-yil li.is-sec > small, .ar-yil li.is-sec > b { color: var(--ls-lemon); }
.ar-yil.tikla li { cursor: pointer; }
@media (max-width: 560px) { .ar-yil li { grid-template-rows: auto 56px auto; } .ar-yil li > b { font-size: 0.6rem; } .ar-yil li > small { font-size: 0.62rem; } }
@media (prefers-reduced-motion: reduce) { .ar-yil li > span { transition: none; } }

/* ---------- Kaydıraç ---------- */
.ar-kaydirac { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 12px; }
.ar-kaydirac label { font-size: 0.84rem; font-weight: 650; color: #eef4f0; }
.ar-kaydirac output { font-size: 0.95rem; font-weight: 750; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ar-kaydirac output small { margin-left: 3px; font-size: 0.72rem; font-weight: 600; color: var(--ar-yazi-2); }
.ar-kaydirac .ar-aralik, .ar-kaydirac .ar-olcek { grid-column: 1 / -1; }
.ar-aralik { --p: 50%; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.ar-aralik:focus { outline: none; }
.ar-aralik::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--brand-mint) 0 var(--p), rgba(207, 230, 218, 0.16) var(--p) 100%); }
.ar-aralik::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(207, 230, 218, 0.16); }
.ar-aralik::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--brand-mint); }
.ar-aralik::-webkit-slider-thumb { width: 20px; height: 20px; margin-top: -7px; border-radius: 50%; border: 3px solid #0a1813; background: var(--ls-lemon); box-shadow: 0 0 0 1px rgba(216, 243, 106, 0.6); -webkit-appearance: none; appearance: none; transition: box-shadow var(--dur-1) var(--ease); }
.ar-aralik::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; border: 3px solid #0a1813; background: var(--ls-lemon); box-shadow: 0 0 0 1px rgba(216, 243, 106, 0.6); }
.ar-aralik:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px rgba(216, 243, 106, 0.6), 0 0 0 6px rgba(216, 243, 106, 0.22); }
.ar-aralik:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 1px rgba(216, 243, 106, 0.6), 0 0 0 6px rgba(216, 243, 106, 0.22); }
.ar-olcek { display: flex; justify-content: space-between; margin-top: -2px; font-size: 0.7rem; color: var(--ar-yazi-3); font-variant-numeric: tabular-nums; }
.ar-kaydiraclar { display: grid; gap: 16px; }

/* ---------- Lejant: renk rampası (ısı haritası) ---------- */
.ar-rampa { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; font-size: 0.72rem; color: var(--ar-yazi-2); font-variant-numeric: tabular-nums; }
.ar-rampa-cubuk { position: relative; grid-column: 1 / -1; height: 10px; border-radius: 5px; background: var(--rampa, var(--ls-ramp)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.ar-rampa-cubuk i { position: absolute; top: -4px; bottom: -4px; left: calc(var(--t) * 100%); width: 2px; margin-left: -1px; border-radius: 1px; background: var(--ls-lemon); }
.ar-rampa > span:nth-of-type(3) { text-align: center; color: var(--ls-lemon); }
.ar-rampa > span:last-child { text-align: right; }
.ar-rampa small { color: var(--ar-yazi-3); }

/* ---------- Harita kutusu (map.mjs çizer; wm- kuralları yalnız bu kutuda) ---------- */
.ar-harita { position: relative; min-height: 120px; border-radius: 12px; overflow: hidden; background: rgba(3, 9, 7, 0.55); }
.ar-harita-alt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 8px; font-size: 0.78rem; color: var(--ar-yazi-2); }
.ar-harita-alt b { color: #fff; font-weight: 700; }
.ar-harita .wm-svg { display: block; width: 100%; height: auto; border-radius: 10px; }
.ar-harita .wm-sea { fill: rgba(3, 9, 7, 0.55); }
.ar-harita .wm-land { fill: rgba(207, 230, 218, 0.06); stroke: rgba(207, 230, 218, 0.16); stroke-width: 0.6; vector-effect: non-scaling-stroke; }
.ar-harita .wm-reg { fill: rgba(66, 211, 156, 0.13); stroke: rgba(7, 18, 15, 0.95); stroke-width: 0.7; vector-effect: non-scaling-stroke; transition: fill var(--dur-3) var(--ease-out); }
.ar-harita .wm-reg.is-on { fill: rgba(66, 211, 156, 0.44); }
.ar-harita .wm-outline { fill: none; stroke: rgba(238, 244, 240, 0.5); stroke-width: 1.1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ar-harita .wm-sel { fill: none; stroke: var(--brand-mint); stroke-width: 1.8; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ar-harita .wm-halo { fill: rgba(216, 243, 106, 0.24); transform-box: fill-box; transform-origin: center; animation: ar-nabiz 2.4s var(--ease-out) infinite; }
.ar-harita .wm-pt { fill: var(--ls-lemon); stroke: #07120f; }
.ar-harita .wm-label { fill: #eef4f0; font-family: var(--font); font-weight: 600; letter-spacing: 0.01em; paint-order: stroke; stroke: rgba(6, 16, 12, 0.88); stroke-linejoin: round; }
.ar-harita .wm-world { background: rgba(3, 9, 7, 0.55); }
.ar-harita .wm-wland { fill: rgba(207, 230, 218, 0.1); stroke: rgba(207, 230, 218, 0.2); stroke-width: 0.5; }
.ar-harita .wm-wtint { stroke: rgba(66, 211, 156, 0.55); stroke-width: 0.6; }
.ar-harita .wm-world .wm-mk[role='button'] { cursor: pointer; outline: none; }
.ar-harita .wm-world .wm-mk .wm-pt { fill: #eef4f0; }
.ar-harita .wm-world .wm-mk.is-on .wm-pt { fill: var(--ls-lemon); }
.ar-harita .wm-world .wm-mk:not(.is-on) .wm-label { fill: rgba(238, 244, 240, 0.72); }
.ar-harita .wm-world .wm-mk[role='button']:hover .wm-label, .ar-harita .wm-world .wm-mk[role='button']:focus-visible .wm-label { fill: var(--ls-lemon); }
.ar-harita .wm-world .wm-mk[role='button']:focus-visible .wm-pt { stroke: var(--ls-lemon); }
@keyframes ar-nabiz { 0% { transform: scale(0.55); opacity: 0.9; } 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ar-harita .wm-halo { animation: none; opacity: 0.6; } .ar-harita .wm-reg { transition: none; } }

/* ---------- Ay evresi diski ---------- */
.ar-ay { --y: 1; --e: 0; --boy: 64px; --ay-isik: #efe9d2; --ay-golge: #1a2a24; position: relative; flex: none; width: var(--boy); height: var(--boy); border-radius: 50%; overflow: hidden; background: var(--ay-golge); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 24px rgba(239, 233, 210, 0.08); }
.ar-ay::before { content: ''; position: absolute; top: 0; bottom: 0; width: 50%; left: calc(25% + var(--y) * 25%); background: var(--ay-isik); }
.ar-ay::after { content: ''; position: absolute; top: 0; bottom: 0; left: calc(50% - var(--e) * 50%); width: calc(var(--e) * 100%); border-radius: 50%; background: var(--ay-golge); }
.ar-ay.is-dolgun::after { background: var(--ay-isik); }
.ar-ay-satir { display: flex; align-items: center; gap: 14px; }

/* ---------- Durum satırı ve küçük tablo ---------- */
.ar-durum { display: flex; align-items: center; gap: 8px; min-height: 1.4em; margin: 0; font-size: 0.8rem; color: var(--ar-yazi-3); }
.ar-durum::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-mint); }
.ar-durum[data-state='loading']::before { background: var(--ls-lemon); animation: ar-yanip 1s steps(2, jump-none) infinite; }
.ar-durum[data-state='error'] { color: #ffb8ad; }
.ar-durum[data-state='error']::before { background: #ff8a7a; }
@keyframes ar-yanip { 50% { opacity: 0.2; } }
@media (prefers-reduced-motion: reduce) { .ar-durum[data-state='loading']::before { animation: none; } }
.ar-tablo-kap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--ar-cizgi); }
.ar-tablo { width: 100%; border-collapse: collapse; font-size: 0.8rem; font-variant-numeric: tabular-nums; color: #dbe7e1; }
.ar-tablo caption { padding: 10px 12px 0; text-align: left; font-size: 0.74rem; color: var(--ar-yazi-3); caption-side: bottom; }
.ar-tablo th, .ar-tablo td { padding: 8px 10px; border-bottom: 1px solid var(--ar-cizgi); text-align: right; white-space: nowrap; }
.ar-tablo th:first-child, .ar-tablo td:first-child { text-align: left; }
.ar-tablo thead th { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ar-yazi-3); background: rgba(255, 255, 255, 0.03); }
.ar-tablo tbody tr:last-child td { border-bottom: 0; }
.ar-tablo tr.is-sec td { color: var(--ls-lemon); }

/* ---------- Dijital ikiz sahnesi (three.js tuvali, üst bilgi, yükleme durumu) ---------- */
.ar-sahne { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: radial-gradient(120% 90% at 85% 0%, rgba(15, 154, 108, 0.18), rgba(15, 154, 108, 0) 55%), var(--ink-0); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.ar-sahne canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: none; }
.ar-sahne-ust { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.ar-sahne-ust > * { pointer-events: auto; }
.ar-sahne-cip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: 7px; background: rgba(7, 18, 15, 0.72); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.72rem; font-weight: 700; color: #eef4f0; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ar-sahne-cip b { color: var(--ls-lemon); font-variant-numeric: tabular-nums; }
.ar-sahne-durum { position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.84rem; color: var(--ar-yazi-2); background: rgba(7, 18, 15, 0.6); }
.ar-sahne-durum[hidden] { display: none; }
@media (max-width: 640px) { .ar-sahne { aspect-ratio: 4 / 3; } }

/* ---------- Odak ---------- */
.ar-cip:focus-visible, .ar-temizle:focus-visible, .ar-yil li:focus-visible { outline: 2px solid var(--ls-lemon); outline-offset: 2px; }


/* ---------- Window frame, note line and charts of the tools (ortak/wone.css parts the live site.css does not carry) ---------- */
.ar-pencere .aw-body { padding: 20px; }
.ar-pencere .aw-badge { color: #f6c86a; }
.ar-pencere .aw-note { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.8rem; line-height: 1.5; color: #a9bbb3; }
.ar-pencere .data-credit { margin-top: 6px; }
.ar-pencere .chart { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font); font-variant-numeric: tabular-nums; }
.ar-pencere .chart .g { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; fill: none; }
.ar-pencere .chart .ax { fill: #8a9b93; font-size: 11px; }
.ar-pencere .chart .lbl { fill: #a9bbb3; font-size: 10.5px; font-weight: 600; }
.ar-pencere .chart .val { fill: #fff; font-size: 12px; font-weight: 750; }
.ar-pencere .chart .tgt { fill: none; stroke: var(--ls-lemon); stroke-width: 1.5; stroke-dasharray: 5 4; }
.ar-pencere .chart .sel { fill: rgba(216, 243, 106, 0.06); }
.ar-pencere .kpis { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); margin: 0; }
.ar-pencere .kpis > div { padding: 0 16px; border-left: 1px solid rgba(255, 255, 255, 0.12); min-width: 0; }
.ar-pencere .kpis > div:first-child { padding-left: 0; border-left: 0; }
.ar-pencere .kpis dt { font-size: 0.72rem; line-height: 1.3; color: #a9bbb3; }
.ar-pencere .kpis dd { margin: 4px 0 0; font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 750; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; }
.ar-pencere .kpis dd small { margin-left: 5px; font-size: 0.42em; font-weight: 600; letter-spacing: 0; color: #a9bbb3; }
.ar-pencere .legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 10px 0 0; font-size: 0.76rem; color: #b3c3bb; }
.ar-pencere .legend .k { display: inline-flex; align-items: center; gap: 6px; }
.ar-pencere .legend .k::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--k, var(--ls-acc)); }
.ar-pencere .legend .k.line::before { height: 2px; border-radius: 1px; width: 14px; }
.ar-pencere .legend .k.dash::before { height: 0; width: 14px; border-top: 1.5px dashed var(--k, var(--ls-lemon)); background: none; }
.ar-pencere .legend .u { margin-left: auto; color: #8a9b93; }
.ar-pencere .pill-tabs button[aria-pressed='true'] { background: var(--ls-lemon); color: var(--ls-lemon-ink); }
.ar-baslik-satir { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
@media (max-width: 560px) { .ar-pencere .aw-body { padding: 14px; } .ar-pencere .kpis > div { padding: 0 10px; } .ar-pencere .kpis dd small { display: block; margin: 2px 0 0; font-size: 0.68rem; } .ar-pencere .aw-bar { gap: 8px; padding: 0 12px; } .ar-pencere .aw-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

/* ---------- Forecast consent and request states (the strings of Your greenhouse, tool-parts.mjs consentField) ---------- */
.ar-onay { padding: 16px 18px; border-radius: 12px; background: rgba(240, 200, 106, 0.06); border: 1px dashed rgba(240, 200, 106, 0.45); }
.ar-onay[hidden] { display: none; }
.ar-onay-t { margin: 0; font-size: 0.95rem; font-weight: 750; color: #fff; }
.ar-onay-x { margin: 6px 0 0; font-size: 0.86rem; line-height: 1.5; color: #cfdcd5; }
.ar-onay-btn { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ar-onay-foot { margin: 10px 0 0; font-size: 0.78rem; color: #8a9b93; }
.ar-onay-foot a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ar-tahmin-durum { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; padding: 12px 0 4px; font-size: 0.9rem; color: #b3c3bb; }
.ar-tahmin-durum[hidden] { display: none; }
.ar-tahmin-durum[data-state='error'] { color: #ffb8ad; }
.ar-tahmin-durum button { min-height: 36px; padding: 0 12px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.05); color: #fff; font: inherit; font-size: 0.84rem; font-weight: 700; cursor: pointer; }
.ar-tahmin-durum button[hidden] { display: none; }

/* ---------- Evidence labels of a tool, related pages (fallback of the shell's parts) ---------- */
.ar-kanit { display: grid; gap: 0; margin: 0; }
.ar-kanit > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 18px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ar-kanit > div:first-child { padding-top: 0; }
.ar-kanit dd { margin: 0; color: var(--fg-2); line-height: 1.55; }
.ar-rel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.ar-rel-link { position: relative; display: grid; gap: 4px; padding: 18px 44px 18px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: inherit; text-decoration: none; }
.ar-rel-link:hover { border-color: var(--line-2); }
.ar-rel-k { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.ar-rel-t { font-size: 0.88rem; color: var(--fg-2); }
.ar-rel-go { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--fg-3); }
@media (max-width: 560px) { .ar-kanit > div { grid-template-columns: minmax(0, 1fr); } }
