/* H3 / Geohash dönüştürücü (h3-geohash-converter*.html) sayfa stilleri.
   Önceden js/h3-geohash-converter.js DOMContentLoaded'da <style> olarak ekliyordu; ilk boyamadan sonra gelince panel düzeni
   kayıyordu (masaüstü CLS). Artık <head>'de statik bağlantı, marka CSS'inden sonra (eski ekleme sırası).
   Kurallar betikteki dizginin birebir aynısı. */
.tool-layout > [data-area]{min-width:0;}
.hg-row{display:flex;flex-wrap:wrap;gap:.45rem;align-items:flex-end;}
.hg-row > *{flex:1 1 auto;min-width:0;}
.hg-row > .rds-btn{flex:0 0 auto;}
.hg-grid2{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;}
.hg-field{margin-top:.75rem;}
.hg-check{display:inline-flex;align-items:center;gap:.45rem;font-size:.86rem;color:var(--rds-text);cursor:pointer;min-height:36px;margin-right:.8rem;}
.hg-check input{width:18px;height:18px;accent-color:var(--rds-primary);}
.hg-status{font-size:.84rem;font-weight:600;min-height:1.1rem;color:var(--rds-muted);margin:.55rem 0 0;line-height:1.45;}
.hg-status.err{color:var(--rds-danger);}
.hg-small{font-size:.78rem;color:var(--rds-muted);line-height:1.5;margin:.5rem 0 0;}
.hg-small svg,.hg-small i{width:.9rem;height:.9rem;display:inline-block;vertical-align:-2px;color:var(--rds-ok);}
.hg-sec{margin-top:.2rem;}
.hg-sec + .hg-sec{margin-top:1rem;}
.hg-sec h3{display:flex;align-items:center;gap:.45rem;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--rds-muted);margin:0 0 .2rem;}
.hg-sw{display:inline-block;width:12px;height:12px;border-radius:3px;flex:0 0 auto;}
.hg-kv .kv-label{flex:0 0 118px;}
.hg-kv .kv-val{font-size:.84rem;}
.hg-kv .kv-copy{min-height:30px;}
.hg-drop{display:flex;align-items:center;gap:.8rem;padding:.9rem 1rem;border:1.5px dashed var(--rds-border-strong);border-radius:12px;cursor:pointer;background:var(--rds-surface-2);transition:border-color .15s,background .15s;}
.hg-drop:hover,.hg-drop:focus-visible,.hg-drop.is-over{border-color:var(--rds-primary);background:var(--rds-soft);outline:none;}
.hg-drop svg,.hg-drop i{width:22px;height:22px;color:var(--rds-primary);flex:0 0 auto;}
.hg-drop strong{display:block;color:var(--rds-text);font-size:.92rem;}
.hg-drop small{display:block;color:var(--rds-muted);font-size:.76rem;margin-top:.1rem;}
.hg-table-wrap{overflow:auto;max-height:420px;border:1px solid var(--rds-border);border-radius:11px;}
.hg-table{width:100%;border-collapse:collapse;font-family:var(--rds-font-mono);font-size:.76rem;}
.hg-table th{position:sticky;top:0;background:var(--rds-surface-2);text-align:left;font-family:inherit;font-size:.68rem;text-transform:uppercase;letter-spacing:.04em;color:var(--rds-muted);}
.hg-table th,.hg-table td{padding:.4rem .55rem;border-bottom:1px solid var(--rds-border);white-space:nowrap;color:var(--rds-text);}
.hg-table td.new,.hg-table th.new{background:rgba(31,166,255,.08);}
.hg-exp{display:grid;grid-template-columns:1fr 1fr;gap:.45rem;margin-top:.8rem;}
.hg-exp .rds-btn{min-height:42px;padding:.45rem .5rem;font-size:.84rem;}
.hg-legend{background:var(--rds-surface,#fff);color:var(--rds-text,#0f172a);border:1px solid var(--rds-border,#e2e8f0);border-radius:10px;box-shadow:0 2px 10px rgba(0,0,0,.2);padding:.35rem .55rem;font-size:11px;line-height:1.35;}
.hg-legend div{display:flex;align-items:center;gap:.35rem;white-space:nowrap;}
.hg-legend i{display:inline-block;width:14px;height:3px;border-radius:2px;}
.hg-basemap{display:flex;gap:2px;flex-wrap:wrap;}
.hg-basemap .bar-btn{padding:5px 8px;}
.hg-content{max-width:780px;}
.hg-content h2{font-size:1.35rem;font-weight:800;color:var(--rds-text);margin:2rem 0 .7rem;letter-spacing:-.01em;}
.hg-content h2:first-child{margin-top:0;}
.hg-content p,.hg-content li{color:var(--rds-muted);font-size:.95rem;line-height:1.7;}
.hg-content p{margin:0 0 .8rem;}
.hg-content ul,.hg-content ol{margin:0 0 1rem;padding-left:1.25rem;}
.hg-content ul{list-style:disc;}.hg-content ol{list-style:decimal;}
.hg-content li{margin:.3rem 0;}
.hg-content strong{color:var(--rds-text);}
.hg-content a{color:var(--rds-primary-ink);font-weight:600;text-decoration:underline;}
.hg-content table{border-collapse:collapse;font-size:.85rem;margin:0 0 1rem;width:100%;}
.hg-content th,.hg-content td{border-bottom:1px solid var(--rds-border);padding:.35rem .5rem;text-align:left;color:var(--rds-muted);}
.hg-content th{color:var(--rds-text);font-weight:700;}
@media (max-width:639px){.hg-basemap{margin-bottom:46px !important;margin-left:8px !important;}.hg-basemap .bar-btn{padding:4px 6px;font-size:11px;}#hgMap .leaflet-control-attribution{font-size:10px;line-height:1.35;}.hg-kv .kv-label{flex-basis:92px;}}
