/* Isı haritası oluşturucu (heatmap-generator*.html) sayfa stilleri.
   Önceden js/heatmap-generator.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;}
.hm-drop{display:flex;align-items:center;gap:.8rem;padding:.95rem 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;}
.hm-drop:hover,.hm-drop:focus-visible,.hm-drop.is-over{border-color:var(--rds-primary);background:var(--rds-soft);outline:none;}
.hm-drop svg,.hm-drop i{width:24px;height:24px;color:var(--rds-primary);flex:0 0 auto;}
.hm-drop strong{display:block;color:var(--rds-text);font-size:.95rem;}
.hm-drop small{display:block;color:var(--rds-muted);font-size:.76rem;margin-top:.1rem;}
.hm-row{display:flex;flex-wrap:wrap;gap:.45rem;}
.hm-row > *{flex:1 1 auto;min-width:0;}
.hm-grid2{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;}
.hm-field{margin-top:.75rem;}
.hm-range{width:100%;accent-color:var(--rds-primary);min-height:28px;}
.hm-check{display:inline-flex;align-items:center;gap:.45rem;font-size:.86rem;color:var(--rds-text);cursor:pointer;min-height:36px;}
.hm-check input{width:18px;height:18px;accent-color:var(--rds-primary);}
.hm-status{font-size:.84rem;font-weight:600;min-height:1.1rem;color:var(--rds-muted);margin:.6rem 0 0;line-height:1.45;}
.hm-status.err{color:var(--rds-danger);}
.hm-note{font-size:.8rem;line-height:1.5;border-radius:10px;padding:.5rem .7rem;margin-top:.5rem;background:rgba(245,158,11,.12);border:1px solid rgba(245,158,11,.35);color:var(--rds-text);}
.hm-small{font-size:.78rem;color:var(--rds-muted);line-height:1.5;margin:.5rem 0 0;}
.hm-small svg,.hm-small i{width:.9rem;height:.9rem;display:inline-block;vertical-align:-2px;color:var(--rds-ok);}
.hm-exp{display:grid;grid-template-columns:repeat(3,1fr);gap:.45rem;margin-top:.8rem;}
.hm-exp .rds-btn{min-height:42px;padding:.45rem .5rem;font-size:.84rem;}
.hm-units{grid-template-columns:1fr 1fr;}
.hm-units .u-val{font-size:.92rem;word-break:break-word;}
.hm-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:.4rem .6rem;font-size:11.5px;line-height:1.3;max-width:210px;}
.hm-legend summary{cursor:pointer;font-weight:700;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.1rem 0;}
.hm-legend summary::-webkit-details-marker{display:none;}
.hm-legend summary::after{content:'+';color:var(--rds-muted,#64748b);}
.hm-legend details[open] summary::after{content:'-';}
.hm-legend details[open] summary{margin-bottom:.25rem;}
.hm-legend ul{list-style:none;margin:0;padding:0;}
.hm-legend li{display:flex;align-items:center;gap:.4rem;padding:1px 0;white-space:nowrap;font-family:var(--rds-font-mono,monospace);font-size:11px;}
.hm-legend .sw{display:inline-block;width:14px;height:12px;border-radius:3px;border:1px solid rgba(0,0,0,.25);flex:0 0 auto;}
.hm-legend .bar{height:10px;border-radius:5px;margin:.2rem 0;}
.hm-legend .ends{display:flex;justify-content:space-between;color:var(--rds-muted,#64748b);}
.hm-legend .sub{color:var(--rds-muted,#64748b);font-weight:500;font-size:10.5px;margin-top:.2rem;white-space:normal;}
.hm-basemap{display:flex;gap:2px;flex-wrap:wrap;}
.hm-basemap .bar-btn{padding:5px 8px;}
.hm-table-wrap{position:relative;overflow-x:auto;-webkit-overflow-scrolling:touch;}
.hm-table{width:100%;border-collapse:collapse;font-size:.84rem;min-width:520px;}
.hm-table th{font-size:.68rem;text-transform:uppercase;letter-spacing:.04em;color:var(--rds-muted);font-weight:700;text-align:right;padding:.45rem .4rem;border-bottom:1px solid var(--rds-border);}
.hm-table th:nth-child(2),.hm-table td:nth-child(2){text-align:left;}
.hm-table td{padding:.4rem .4rem;border-bottom:1px solid var(--rds-border);text-align:right;font-family:var(--rds-font-mono);font-variant-numeric:tabular-nums;color:var(--rds-text);}
.hm-table td:nth-child(2){font-size:.76rem;word-break:break-all;}
.hm-mini{display:inline-flex;align-items:center;gap:.25rem;font-size:.72rem;font-weight:700;min-height:32px;color:var(--rds-text);background:var(--rds-surface);border:1px solid var(--rds-border-strong);border-radius:8px;padding:.25rem .55rem;cursor:pointer;font-family:inherit;}
.hm-mini:hover,.hm-mini:focus-visible{color:var(--rds-primary-ink);border-color:var(--rds-primary);outline:none;}
.hm-pop{font-size:.8rem;line-height:1.45;}
.hm-pop code{font-size:.72rem;word-break:break-all;}
.hm-content{max-width:780px;}
.hm-content h2{font-size:1.35rem;font-weight:800;color:var(--rds-text);margin:2rem 0 .7rem;letter-spacing:-.01em;}
.hm-content h2:first-child{margin-top:0;}
.hm-content p,.hm-content li{color:var(--rds-muted);font-size:.95rem;line-height:1.7;}
.hm-content p{margin:0 0 .8rem;}
.hm-content ul,.hm-content ol{margin:0 0 1rem;padding-left:1.25rem;}
.hm-content ul{list-style:disc;}.hm-content ol{list-style:decimal;}
.hm-content li{margin:.3rem 0;}
.hm-content strong{color:var(--rds-text);}
.hm-content a{color:var(--rds-primary-ink);font-weight:600;text-decoration:underline;}
@media (max-width:639px){.hm-legend{font-size:10.5px;max-width:170px;}.hm-basemap{margin-bottom:46px !important;margin-left:8px !important;}.hm-basemap .bar-btn{padding:4px 6px;font-size:11px;}#hmMap .leaflet-control-attribution{font-size:10px;line-height:1.35;}.hm-exp{grid-template-columns:1fr 1fr;}}
