*, *::before, *::after { box-sizing: border-box; }
  html, body { height: 100%; margin: 0; }
  body { background: var(--background); color: var(--foreground); font-family: var(--font-sans); font-size: var(--text-sm); overflow: hidden; }
  .sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
    overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
  a { color: var(--dok-navy-400); text-decoration: none; }
  a:hover { color: var(--dok-navy); text-decoration: underline; }
  button { font: inherit; color: inherit; }
  :focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-thumb { background: #D7D6DB; border-radius: 99px; border: 3px solid #fff; }
  ::-webkit-scrollbar-thumb:hover { background: #B9B8BF; }

  /* ---------- shell ---------- */
  .app { display: grid; grid-template-rows: 60px 1fr; height: 100%; }
  .topbar { display: flex; align-items: center; gap: var(--space-4); padding: 0 var(--space-4) 0 var(--space-5);
            border-bottom: 1px solid var(--border); background: #fff; z-index: 900; min-width: 0; }
  .topbar nav { flex: none; }
  .topbar nav a { white-space: nowrap; }
  .topbar nav a:hover { background: var(--secondary); color: var(--foreground) !important; }
  .brand { flex: none; }
  .modes { flex: none; }
  .brand { display: flex; align-items: center; gap: 10px; padding-right: var(--space-4); border-right: 1px solid var(--border); height: 32px; }
  .mark { width: 28px; height: 28px; border-radius: 8px; background: var(--dok-navy); display: grid; place-items: center;
          box-shadow: var(--shadow-navy-sm); }
  .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: -0.02em; color: var(--dok-navy); }
  .wordmark span { color: var(--dok-gold-600); font-weight: 700; }

  .search { position: relative; flex: 1 1 260px; min-width: 168px; max-width: 380px; }
  .search input { width: 100%; height: 36px; padding: 0 34px 0 34px; border: 1px solid var(--input); border-radius: var(--radius-md);
                  background: #fff; font-size: var(--text-sm); color: var(--foreground); }
  .search input::placeholder { color: var(--muted-foreground); }
  .search input:focus { border-color: var(--dok-navy-300); box-shadow: 0 0 0 3px rgb(2 0 97 / 0.08); outline: none; }
  .search .ic { position: absolute; left: 10px; top: 9px; color: var(--muted-foreground); pointer-events: none; }
  .ac { position: absolute; top: 42px; left: 0; right: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg); overflow: hidden; z-index: 1000; display: none; }
  .ac.open { display: block; }
  .ac-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; cursor: pointer; }
  .ac-item + .ac-item { border-top: 1px solid #F1F0F3; }
  .ac-item:hover, .ac-item.sel { background: var(--dok-navy-50); }
  .ac-item .t { font-weight: 550; }
  .ac-item .s { color: var(--muted-foreground); font-size: var(--text-xs); margin-left: auto; }

  .modes { display: flex; gap: 2px; background: var(--secondary); padding: 3px; border-radius: var(--radius-md); }
  .mode-btn { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 0; background: transparent;
              border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: 550; color: var(--muted-foreground); cursor: pointer; }
  .mode-btn:hover { color: var(--foreground); }
  .mode-btn[aria-selected="true"] { background: #fff; color: var(--dok-navy); box-shadow: var(--shadow-sm); }

  .spacer { flex: 1; }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 12px;
         border: 1px solid var(--border); background: #fff; border-radius: var(--radius-md); font-size: var(--text-sm);
         font-weight: 550; cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s, transform .08s; }
  .btn:hover { background: var(--secondary); border-color: #D5D4D9; }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--dok-navy); border-color: var(--dok-navy); color: #fff; box-shadow: var(--shadow-navy-sm); }
  .btn-primary:hover { background: var(--dok-navy-600); border-color: var(--dok-navy-600); }
  .btn-ghost { border-color: transparent; background: transparent; }
  .btn-ghost:hover { background: var(--secondary); border-color: transparent; }
  .btn-sm { height: 28px; padding: 0 10px; font-size: var(--text-xs); }
  .btn-icon { width: 34px; padding: 0; }

  .veh { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px 0 12px; border: 1px solid var(--border);
         border-radius: var(--radius-md); background: #fff; }
  .veh label { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-foreground); font-weight: 600; }
  .veh select { border: 0; background: transparent; font: inherit; font-weight: 550; color: var(--dok-navy); cursor: pointer; max-width: 150px; }

  .live { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs); color: var(--muted-foreground); font-weight: 550; }
  .dot-live { width: 7px; height: 7px; border-radius: 99px; background: var(--iso-approved); box-shadow: 0 0 0 0 rgb(16 185 129 / .55); animation: pulse 2.4s infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(16 185 129 / .5); } 70% { box-shadow: 0 0 0 7px rgb(16 185 129 / 0); } 100% { box-shadow: 0 0 0 0 rgb(16 185 129 / 0); } }

  /* ---------- body grid ---------- */
  .body { display: grid; grid-template-columns: 336px 0fr 1fr; min-height: 0; position: relative; transition: grid-template-columns .22s cubic-bezier(.4,0,.2,1); }
  .body.list-open { grid-template-columns: 336px 372px 1fr; }
  .body.rail-closed { grid-template-columns: 0px 0fr 1fr; }
  .body.rail-closed.list-open { grid-template-columns: 0px 372px 1fr; }

  .rail { grid-column: 1; border-right: 1px solid var(--border); background: #fff; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
  .rail-head { padding: 14px var(--space-4) 12px; border-bottom: 1px solid var(--border); }
  .rail-count { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; letter-spacing: -0.02em; color: var(--dok-navy); line-height: 1; }
  .rail-sub { margin-top: 5px; color: var(--muted-foreground); font-size: var(--text-xs); }
  .rail-scroll { overflow-y: auto; flex: 1; padding-bottom: 8px; }
  .rail-foot { border-top: 1px solid var(--border); padding: 10px var(--space-4); display: flex; align-items: center; gap: 8px; background: #FBFBFC; }

  .fgroup { border-bottom: 1px solid #F1F0F3; padding: 12px var(--space-4) 14px; }
  .fgroup > h4 { margin: 0 0 10px; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-foreground);
                 font-weight: 700; display: flex; align-items: center; gap: 8px; }
  .fgroup > h4 .n { margin-left: auto; font-size: 10px; letter-spacing: 0; text-transform: none; color: var(--dok-gold-600); }
  .chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: var(--radius-full);
          border: 1px solid var(--border); background: #fff; font-size: var(--text-xs); font-weight: 550; cursor: pointer;
          transition: all .12s; color: var(--secondary-foreground); white-space: nowrap; }
  .chip:hover { border-color: var(--dok-gold-400); background: var(--dok-gold-50); }
  .chip[aria-pressed="true"] { background: var(--dok-navy); border-color: var(--dok-navy); color: #fff; }
  .chip[aria-pressed="true"] .cnt { color: rgb(255 255 255 / .6); }
  .chip .cnt { color: var(--muted-foreground); font-variant-numeric: tabular-nums; font-size: 11px; }
  .chip .sw { width: 8px; height: 8px; border-radius: 3px; }

  .switch-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; }
  .switch-row + .switch-row { border-top: 1px solid #F6F5F8; }
  .switch { width: 34px; height: 20px; border-radius: 99px; background: #DEDDE2; position: relative; flex: none; transition: background .16s; }
  .switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 99px; background: #fff;
                   box-shadow: var(--shadow-sm); transition: transform .16s cubic-bezier(.4,0,.2,1); }
  .switch-row[aria-checked="true"] .switch { background: var(--iso-approved); }
  .switch-row[aria-checked="true"] .switch::after { transform: translateX(14px); }
  .switch-row .lbl { font-weight: 550; }
  .switch-row .hint { color: var(--muted-foreground); font-size: var(--text-xs); margin-left: auto; font-variant-numeric: tabular-nums; }

  input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 0; }
  input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--dok-navy) var(--pct, 50%), #E7E6EA var(--pct, 50%)); }
  input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 99px;
      background: #fff; border: 2px solid var(--dok-navy); box-shadow: var(--shadow-sm); cursor: pointer; }
  .range-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; }
  .range-val { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 600; color: var(--dok-navy); }
  .range-scale { display: flex; justify-content: space-between; color: var(--muted-foreground); font-size: 10px; font-family: var(--font-mono); }

  .oplist { display: flex; flex-direction: column; max-height: 194px; overflow-y: auto; margin: 0 -6px; }
  .oprow { display: flex; align-items: center; gap: 9px; padding: 6px; border-radius: var(--radius-sm); cursor: pointer; }
  .oprow:hover { background: var(--dok-navy-50); }
  .cbx { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid #CFCED4; flex: none; display: grid; place-items: center; background: #fff; }
  .oprow[aria-checked="true"] .cbx { background: var(--dok-navy); border-color: var(--dok-navy); }
  .oprow[aria-checked="true"] .cbx svg { display: block; }
  .cbx svg { display: none; }
  .oprow .nm { font-weight: 550; }
  .oprow .ct { margin-left: auto; color: var(--muted-foreground); font-size: 11px; font-variant-numeric: tabular-nums; }
  .sel-field { width: 100%; height: 34px; border: 1px solid var(--input); border-radius: var(--radius-md); background: #fff;
               padding: 0 10px; font: inherit; font-weight: 550; color: var(--foreground); }
  .helper { color: var(--muted-foreground); font-size: var(--text-xs); margin-top: 7px; line-height: 1.45; }
  .vehicle-picker { display: grid; gap: 7px; }
  .vehicle-picker .sel-field:disabled { background: #F6F7F9; color: #94A3B8; cursor: not-allowed; }
  .vehicle-spec-card { margin-top: 9px; padding: 10px; border: 1px solid #DDE5F1; border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #F7F9FF, #FCFCFD); }
  .vehicle-spec-head { display: flex; align-items: flex-start; gap: 8px; }
  .vehicle-spec-head strong { color: var(--dok-navy); font-size: var(--text-xs); line-height: 1.35; }
  .vehicle-spec-head .verified { margin-left: auto; flex: none; color: #06735A; background: #E7F7F1; border-radius: 99px;
    padding: 3px 7px; font-size: 9px; font-weight: 750; letter-spacing: .02em; }
  .vehicle-specs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; margin-top: 9px; }
  .vehicle-specs span { display: block; min-width: 0; padding: 7px; border-radius: 7px; background: #fff; border: 1px solid #E8EBF1; }
  .vehicle-specs small { display: block; color: #64748B; font-size: 9px; text-transform: uppercase; letter-spacing: .05em; }
  .vehicle-specs b { display: block; margin-top: 2px; color: #0F172A; font: 650 11px/1.25 var(--font-mono); }
  .vehicle-fit-note { margin-top: 8px; color: #475569; font-size: 10px; line-height: 1.4; }
  .vehicle-source { display: inline-flex; margin-top: 8px; color: #1D4ED8; font-size: 10px; font-weight: 650; text-decoration: none; }
  .vehicle-source:hover { text-decoration: underline; }

  /* ---------- list column ---------- */
  .listcol { background: #FBFBFC; border-right: 1px solid var(--border); display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
  .list-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: #fff; }
  .list-head .ttl { font-weight: 650; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .07em; color: var(--muted-foreground); }
  .list-scroll { overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
  .nearby-more { width: 100%; min-height: 44px; flex: none; border-color: #C7D2FE; background: #F4F7FF; color: var(--dok-navy); font-weight: 750; }
  .nearby-more:hover { border-color: #A5B4FC; background: #EEF2FF; }
  .nearby-btn { color: var(--dok-navy); }
  .nearby-btn[aria-pressed="true"] { background: var(--dok-navy); border-color: var(--dok-navy); color: #fff; }
  .nearby-btn[aria-busy="true"] .geo-icon { animation: geoSpin .8s linear infinite; }
  @keyframes geoSpin { to { transform: rotate(360deg); } }
  .list-nearby { height: 28px; padding: 0 9px; font-size: var(--text-xs); }
  .nearby-summary { display: grid; grid-template-columns: minmax(0,1fr) 28px; gap: 8px; align-items: center;
    padding: 9px 12px; border-bottom: 1px solid #DDE5F1; background: linear-gradient(100deg, #F4F7FF, #F8FAFC); }
  .nearby-summary[hidden] { display: none; }
  .nearby-summary strong { display: block; color: var(--dok-navy); font-size: 11px; line-height: 1.2; }
  .nearby-summary small { display: block; margin-top: 2px; color: #64748B; font-size: 10px; line-height: 1.3; }
  .nearby-clear { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #D7DFEC;
    border-radius: 8px; background: #fff; color: #64748B; cursor: pointer; }
  .nearby-clear:hover { color: var(--dok-navy); border-color: #A5B4FC; }
  .user-location-marker { position: relative; display: block; width: 20px; height: 20px; border: 4px solid #fff; border-radius: 99px; background: #2563EB;
    box-shadow: 0 0 0 4px rgb(37 99 235 / .2), 0 4px 12px rgb(15 23 42 / .28); }
  .user-location-marker::after { content: ""; position: absolute; inset: 4px; border-radius: inherit; background: #fff; opacity: .9; }
  .scard { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 11px 12px; cursor: pointer;
           transition: box-shadow .14s, border-color .14s, transform .14s; }
  .scard:hover { border-color: var(--dok-navy-200); box-shadow: var(--shadow-md); transform: translateY(-1px); }
  .scard.active { border-color: var(--dok-navy); box-shadow: 0 0 0 3px rgb(2 0 97 / .07); }
  .scard .r1 { display: flex; align-items: flex-start; gap: 8px; }
  .scard .nm { font-weight: 650; font-size: var(--text-sm); line-height: 1.3; letter-spacing: -0.01em; }
  .scard .op { color: var(--muted-foreground); font-size: var(--text-xs); margin-top: 2px; }
  .scard .r2 { display: flex; align-items: center; gap: 6px; margin-top: 9px; flex-wrap: wrap; }
  .tag { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 7px; border-radius: 6px; background: var(--secondary);
         font-size: 11px; font-weight: 600; color: var(--secondary-foreground); font-variant-numeric: tabular-nums; }
  .tag.kw { background: var(--dok-navy-50); color: var(--dok-navy); }
  .tag.price { background: var(--dok-gold-50); color: var(--dok-gold-700); }
  .tag.green { background: #E7F7F1; color: #06735A; }
  .tag.amber { background: #FEF4E4; color: #92610A; }
  .tag.red { background: #FDECEB; color: #A3231A; }
  .avail { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 650; }
  .avdot { width: 8px; height: 8px; border-radius: 99px; flex: none; }

  /* ---------- map ---------- */
  .mapwrap { grid-column: 3; position: relative; min-width: 0; overflow: hidden; }
  #map { position: absolute; inset: 0; background: #EDEBE4; }
  .leaflet-tile-pane { filter: grayscale(.9) saturate(.55) contrast(.94) brightness(1.06); }
  .leaflet-container { font-family: var(--font-sans); background: #EDEBE4; }
  .leaflet-control-attribution { font-size: 10px; background: rgb(255 255 255 / .82) !important; color: var(--muted-foreground); }
  .leaflet-control-attribution a { color: var(--muted-foreground); }

  .pin { position: relative; display: inline-flex; }
  .pin .bubble { display: flex; align-items: center; justify-content: center; gap: 3px; height: 24px; min-width: 24px; padding: 0 6px;
        border-radius: 8px 8px 8px 2px; background: #fff; border: 1.5px solid var(--dok-navy); color: var(--dok-navy);
        font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; box-shadow: var(--shadow-md);
        line-height: 1; white-space: nowrap; transform-origin: bottom left; transition: transform .12s; }
  .pin.ac .bubble { border-radius: 99px; padding: 0 7px; }
  .pin.s-green .bubble { border-color: #0E9E7A; color: #06603E; background: #F2FCF8; }
  .pin.s-amber .bubble { border-color: #E08C0B; color: #8A5A08; background: #FFFBF2; }
  .pin.s-red .bubble { border-color: #DA3429; color: #A3231A; background: #FFF6F5; }
  .pin .bar { position: absolute; left: 3px; right: 3px; bottom: -3px; height: 2px; border-radius: 99px; background: currentColor; opacity: .25; }
  .pin:hover .bubble { transform: scale(1.14); z-index: 5; }
  .pin.ultra .bubble { box-shadow: 0 0 0 3px rgb(200 169 125 / .38), var(--shadow-md); }
  .pin.selected .bubble { background: var(--dok-navy); border-color: var(--dok-navy); color: #fff; transform: scale(1.2); }
  .pin.flash .bubble { animation: flash .9s ease-out; }
  @keyframes flash { 0% { box-shadow: 0 0 0 0 rgb(2 0 97 / .35); } 100% { box-shadow: 0 0 0 18px rgb(2 0 97 / 0); } }

  .cluster { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 99px;
             background: rgb(2 0 97 / .93); color: #fff; line-height: 1;
             font-weight: 700; font-variant-numeric: tabular-nums; box-shadow: var(--shadow-lg); border: 2px solid rgb(255 255 255 / .85);
             transition: transform .12s; letter-spacing: -0.02em; }
  .cluster:hover { transform: scale(1.08); }
  .cluster .cn { line-height: 1; }
  .cluster .ring { position: absolute; inset: -6px; border-radius: 99px; border: 1.5px solid var(--dok-gold-400); opacity: .55; }
  .cluster .sub { font-size: 9px; font-weight: 600; opacity: .82; letter-spacing: .02em; line-height: 1; margin-top: 3px; white-space: nowrap; }
  .leaflet-tooltip.clu-tip { background: var(--dok-navy); color: #fff; border: 0; box-shadow: var(--shadow-md); font-size: 11px;
             font-weight: 600; padding: 5px 9px; border-radius: 7px; }
  .leaflet-tooltip.clu-tip::before { border-top-color: var(--dok-navy); }

  .hovercard { position: absolute; z-index: 700; width: 244px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
               box-shadow: var(--shadow-xl); padding: 11px 12px; pointer-events: none; opacity: 0; transform: translateY(4px);
               transition: opacity .12s, transform .12s; }
  .hovercard.show { opacity: 1; transform: translateY(0); }

  .map-overlay { position: absolute; z-index: 600; }
  .ov-tl { top: 12px; left: 12px; right: 58px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
  .ov-tr { top: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
  .ov-bl { bottom: 16px; left: 12px; right: 12px; display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
  .ov-br { bottom: 26px; right: 12px; }
  .float { background: rgb(255 255 255 / .96); backdrop-filter: blur(8px); border: 1px solid var(--border);
           border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
  .intent-btn { color: var(--dok-navy); }
  .intent-btn[aria-pressed="true"] { border-color: var(--dok-navy); background: var(--dok-navy); color: #fff; }
  .zoomctl { display: flex; flex-direction: column; overflow: hidden; }
  .zoomctl button { width: 34px; height: 32px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--dok-navy); }
  .zoomctl button + button { border-top: 1px solid var(--border); }
  .zoomctl button:hover { background: var(--dok-navy-50); }
  .legend { padding: 10px 12px; min-width: 168px; }
  .legend h5 { margin: 0 0 8px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-foreground); font-weight: 700; }
  .legend-row { display: flex; align-items: center; gap: 8px; font-size: 11px; padding: 2.5px 0; color: var(--secondary-foreground); }
  .legend-row .k { width: 22px; height: 15px; border-radius: 5px; border: 1.5px solid; display: grid; place-items: center; font-size: 8px; font-weight: 700; }
  .kpis { display: flex; gap: 1px; overflow: hidden; flex-wrap: wrap; }
  .kpi { padding: 8px 14px; background: rgb(255 255 255 / .5); }
  .kpi .v { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); letter-spacing: -0.02em; color: var(--dok-navy); line-height: 1.1; }
  .kpi .l { font-size: 10px; color: var(--muted-foreground); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-top: 1px; }

  /* ---------- detail panel ---------- */
  .detail { position: absolute; top: 0; right: 0; bottom: 0; width: 408px; background: #fff; border-left: 1px solid var(--border);
            box-shadow: -18px 0 40px -24px rgb(2 0 97 / .28); z-index: 800; display: flex; flex-direction: column;
            transform: translateX(101%); transition: transform .26s cubic-bezier(.32,.72,0,1); }
  .detail.open { transform: none; }
  .d-head { padding: 16px var(--space-5) 14px; border-bottom: 1px solid var(--border); position: relative; }
  .d-op { display: flex; align-items: center; gap: 8px; }
  .opbadge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--dok-navy);
             color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .01em; }
  .d-title { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin: 9px 0 4px; }
  .d-addr { color: var(--muted-foreground); font-size: var(--text-xs); }
  .d-scroll { flex: 1; overflow-y: auto; }
  .d-sec { padding: 16px var(--space-5); border-bottom: 1px solid #F1F0F3; }
  .d-sec h5 { margin: 0 0 11px; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-foreground); font-weight: 700; }
  .socket-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 7px; }
  .socket { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 8px 9px; background: #FBFBFC; }
  .socket .t { font-size: 11px; font-weight: 700; letter-spacing: -0.01em; }
  .socket .kw { font-family: var(--font-mono); font-size: 10px; color: var(--muted-foreground); margin-top: 1px; }
  .socket .st { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 10px; font-weight: 700; }
  .socket.free { background: #F2FCF8; border-color: #C8EFE1; }
  .socket.busy { background: #FFFBF2; border-color: #F6E3BE; }
  .socket.fault { background: #FFF6F5; border-color: #F7D4D1; }
  .kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: var(--text-sm); }
  .kv + .kv { border-top: 1px solid #F6F5F8; }
  .kv .k { color: var(--muted-foreground); }
  .kv .v { font-weight: 600; font-variant-numeric: tabular-nums; }
  .d-foot { padding: 12px var(--space-5); border-top: 1px solid var(--border); display: flex; gap: 8px; background: #FBFBFC; }
  .bars { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: #EFEEF2; }
  .bars i { display: block; }

  /* ---------- route mode ---------- */
  .route-panel { display: none; }
  .mode-route .route-panel { display: block; }
  .mode-route .filters-panel { display: none; }
  .mode-route .body,
  .mode-route .body.list-open,
  .mode-route .body.rail-closed,
  .mode-route .body.rail-closed.list-open { grid-template-columns: 336px 0 1fr; }
  .mode-route .listcol { display: none; }
  .leg { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 10px 0; }
  .leg + .leg { border-top: 1px solid #F1F0F3; }
  .leg .idx { width: 26px; height: 26px; border-radius: 99px; background: var(--dok-navy); color: #fff; display: grid; place-items: center;
              font-size: 11px; font-weight: 700; }
  .leg.stop .idx { background: var(--dok-gold-500); }
  .leg .nm { font-weight: 650; font-size: var(--text-sm); }
  .leg .meta { color: var(--muted-foreground); font-size: var(--text-xs); margin-top: 3px; display: flex; gap: 10px; flex-wrap: wrap; }
  .soc { height: 6px; border-radius: 99px; background: #EFEEF2; margin-top: 7px; overflow: hidden; }
  .soc i { display: block; height: 100%; background: linear-gradient(90deg, var(--iso-approved), #34D399); }
  .route-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .route-choice .chip { width: 100%; justify-content: center; }
  .route-summary { padding: 12px; border: 1px solid #DDE4F3; border-radius: 13px; background: linear-gradient(145deg,#F7F9FF,#FFF); }
  .route-summary strong { display: block; color: var(--dok-navy); font-size: 13px; }
  .route-summary small { display: block; margin-top: 3px; color: var(--muted-foreground); font-size: 11px; line-height: 1.4; }
  .route-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: 9px; }
  .route-stat { padding: 7px 5px; border: 1px solid #E6EAF3; border-radius: 9px; background: #fff; text-align: center; }
  .route-stat b { display: block; color: var(--dok-navy); font-size: 13px; }
  .route-stat span { display: block; margin-top: 2px; color: #64748B; font-size: 9px; }
  .route-cost-card { margin-top: 9px; padding: 10px; border: 1px solid #D8E1F2; border-radius: 12px; background: #fff; }
  .route-cost-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
  .route-cost-head strong { color: #172033; font-size: 11px; }
  .route-cost-head span { margin-left: auto; color: #64748B; font-size: 9px; }
  .route-plan-options { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .route-plan-option { min-width: 0; padding: 8px 9px; border: 1px solid #E2E8F0; border-radius: 10px; background: #F8FAFC;
    color: #172033; text-align: left; cursor: pointer; }
  .route-plan-option:hover { border-color: #A5B4FC; background: #F8FAFF; }
  .route-plan-option[aria-pressed="true"] { border-color: #6B8FD4; background: #EBF0FA; box-shadow: inset 0 0 0 1px rgb(2 0 97 / .05); }
  .route-plan-option .kind { display: block; color: #64748B; font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }
  .route-plan-option .price { display: block; margin-top: 3px; color: var(--dok-navy); font-family: var(--font-display); font-size: 18px; font-weight: 800; line-height: 1.05; }
  .route-plan-option .time { display: block; margin-top: 4px; color: #475569; font-size: 9px; line-height: 1.3; }
  .route-cost-ceiling { display: flex; align-items: center; gap: 8px; margin-top: 7px; padding-top: 7px; border-top: 1px solid #EEF2F7;
    color: #64748B; font-size: 9px; line-height: 1.3; }
  .route-cost-ceiling b { margin-left: auto; color: #7C2D12; font-size: 11px; white-space: nowrap; }
  .route-cost-note { margin-top: 6px; color: #7D7C86; font-size: 8.5px; line-height: 1.35; }
  .route-warning { margin: 8px 0; padding: 9px 10px; border: 1px solid #F3D8A6; border-radius: 10px; background: #FFFBEB; color: #7C520B; font-size: 11px; line-height: 1.4; }
  .route-station-list { display: grid; gap: 6px; max-height: 430px; overflow: auto; overscroll-behavior: contain; padding-right: 2px; }
  .route-station { width: 100%; display: grid; grid-template-columns: 32px minmax(0,1fr) auto; gap: 8px; align-items: center;
    padding: 8px; border: 1px solid #E5E7EB; border-radius: 11px; background: #fff; color: inherit; text-align: left; cursor: pointer; }
  .route-station:hover { border-color: #A5B4FC; background: #F8FAFF; }
  .route-station .km { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: #EEF2FF;
    color: #3730A3; font-size: 9px; font-weight: 800; line-height: 1.05; text-align: center; }
  .route-station .copy { min-width: 0; }
  .route-station .copy strong { display: block; overflow: hidden; color: #172033; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .route-station .copy small { display: block; margin-top: 2px; overflow: hidden; color: #64748B; font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
  .route-station .power { color: var(--tc,var(--dok-navy)); font-size: 10px; font-weight: 800; white-space: nowrap; }
  .route-locate { position: relative; }
  .route-locate[aria-busy="true"] svg { animation: geoSpin .8s linear infinite; }

  /* ---------- compare ---------- */
  .tray { position: absolute; left: 50%; bottom: 20px; transform: translate(-50%, 130%); z-index: 810; display: flex; align-items: center; gap: 10px;
          padding: 9px 10px 9px 14px; background: var(--dok-navy); color: #fff; border-radius: var(--radius-full); box-shadow: var(--shadow-navy);
          transition: transform .24s cubic-bezier(.32,.72,0,1); }
  .tray.show { transform: translate(-50%, 0); }
  .tray .cnt { font-size: var(--text-xs); font-weight: 600; opacity: .85; }
  .tray-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 6px 0 10px; border-radius: 99px;
               background: rgb(255 255 255 / .12); font-size: 11px; font-weight: 600; }
  .tray-chip button { border: 0; background: transparent; color: rgb(255 255 255 / .7); cursor: pointer; display: grid; place-items: center; padding: 0; }
  .tray-chip button:hover { color: #fff; }

  .modal-bg { position: fixed; inset: 0; background: rgb(8 8 22 / .42); backdrop-filter: blur(3px); z-index: 1200; display: none;
              align-items: center; justify-content: center; padding: 32px; }
  .modal-bg.open { display: flex; }
  .modal { background: #fff; border-radius: var(--radius-2xl); box-shadow: var(--shadow-xl); max-width: 940px; width: 100%;
           max-height: 100%; display: flex; flex-direction: column; overflow: hidden; animation: rise .22s cubic-bezier(.32,.72,0,1); }
  @keyframes rise { from { opacity: 0; transform: translateY(10px) scale(.99); } }
  .modal-head { display: flex; align-items: center; gap: 12px; padding: 16px var(--space-6); border-bottom: 1px solid var(--border); }
  .modal-head h3 { margin: 0; font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; letter-spacing: -0.02em; }
  .modal-body { overflow: auto; padding: var(--space-6); }
  table.cmp { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
  table.cmp th, table.cmp td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
  table.cmp thead th { background: var(--muted); font-size: var(--text-xs); }
  table.cmp tbody th { color: var(--muted-foreground); font-weight: 500; width: 168px; font-size: var(--text-xs); }
  table.cmp td.best { background: #F2FCF8; }
  table.cmp td.best::after { content: " en iyi"; font-size: 10px; font-weight: 700; color: #06735A; }

  .empty { position: absolute; inset: 0; display: none; place-items: center; z-index: 550; pointer-events: none; }
  .empty.show { display: grid; }
  .empty .box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-2xl); box-shadow: var(--shadow-lg);
                padding: 26px 28px; max-width: 330px; text-align: center; pointer-events: auto; }
  .empty h4 { font-family: var(--font-display); margin: 12px 0 6px; font-size: var(--text-lg); }
  .empty p { margin: 0 0 16px; color: var(--muted-foreground); font-size: var(--text-sm); }
  .toast { position: fixed; bottom: 22px; left: 22px; z-index: 1300; background: var(--dok-navy); color: #fff; padding: 11px 15px;
           border-radius: var(--radius-lg); box-shadow: var(--shadow-navy); font-size: var(--text-sm); font-weight: 550;
           transform: translateY(140%); transition: transform .24s cubic-bezier(.32,.72,0,1); display: flex; gap: 9px; align-items: center; }
  .toast.show { transform: none; }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  @media (prefers-reduced-motion: reduce) { * { animation-duration: .001s !important; transition-duration: .001s !important; } }

  /* ============ renkli katman ============ */
  :root { --t-ac: #3B82F6; --t-fast: #14B8A6; --t-ultra: #F59E0B; --t-super: #D946EF;
          --t-ac-ink: #1D4ED8; --t-fast-ink: #0F766E; --t-ultra-ink: #B45309; --t-super-ink: #86198F; }
  .topbar { border-bottom: 0; position: relative; }
  .topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, var(--t-ac) 0%, var(--t-fast) 34%, var(--t-ultra) 68%, var(--t-super) 100%); }
  .mark { background: linear-gradient(145deg, var(--dok-navy) 5%, #3A2AC0 60%, var(--t-super) 135%) !important; }
  .rail-count { background: linear-gradient(96deg, var(--dok-navy), #3A2AC0 60%, var(--t-super));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  .fgroup > h4::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--gc, var(--dok-gold-400)); flex: none; }
  .fgroup > h4 .n { color: var(--gc, var(--dok-gold-600)); font-weight: 700; }
  .chip[aria-pressed="true"] { background: var(--gc, var(--dok-navy)); border-color: var(--gc, var(--dok-navy)); color: #fff;
    box-shadow: 0 3px 10px -4px var(--gc, var(--dok-navy)); }
  .chip:hover { border-color: var(--gc, var(--dok-gold-400)); background: color-mix(in srgb, var(--gc, var(--dok-gold-400)) 8%, #fff); }
  .switch-row[aria-checked="true"] .switch { background: var(--gc, var(--iso-approved)); }

  /* pins */
  .pin .bubble { background: var(--pc) !important; border: 1.5px solid rgb(255 255 255 / .95) !important; color: #fff !important;
    font-weight: 800 !important; height: 25px !important; min-width: 25px !important; border-radius: 9px 9px 9px 3px !important;
    box-shadow: 0 5px 14px -4px rgb(10 8 40 / .55) !important; }
  .pin.ac .bubble { border-radius: 99px !important; }
  .pin .sd { position: absolute; top: -4px; right: -5px; width: 10px; height: 10px; border-radius: 99px; border: 2px solid #fff;
    box-shadow: 0 1px 3px rgb(0 0 0 / .25); }
  .pin.super .bubble { box-shadow: 0 0 0 3px rgb(217 70 239 / .28), 0 5px 14px -4px rgb(10 8 40 / .5) !important; }
  .pin.selected .bubble { transform: scale(1.24); box-shadow: 0 0 0 4px rgb(255 255 255 / .85), 0 8px 20px -5px rgb(10 8 40 / .6) !important; }
  .cluster { border-width: 2.5px; }
  .cluster .ring { border-color: rgb(255 255 255 / .5); }
  .hovercard { border-left: 4px solid var(--tc, var(--dok-navy)); }
  .kpi { border-top: 3px solid var(--kc, var(--dok-navy)); }
  .kpi .v { color: var(--kc, var(--dok-navy)); }
  .legend-row .k { color: #fff !important; border: 0 !important; font-size: 10px !important; height: 17px; width: 26px; font-weight: 800; }
  .legend-row { font-size: 11.5px; }
  .scard { border-left: 4px solid var(--sc, var(--border)); }
  .scard:hover { border-color: var(--border); border-left-color: var(--sc, var(--dok-navy-200)); }
  .scard.active { border-color: var(--dok-navy); border-left-color: var(--sc, var(--dok-navy)); }
  .d-head::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--tc, var(--dok-navy)); }
  .rating-pill { display: inline-flex; align-items: center; gap: 5px; min-height: 23px; padding: 3px 8px; border-radius: 99px;
    border: 1px solid #E2E8F0; background: #F8FAFC; color: #64748B; font-size: 11px; font-weight: 800; line-height: 1; white-space: nowrap; }
  .rating-pill svg { width: 13px; height: 13px; fill: currentColor; }
  .rating-pill small { font-size: 9px; font-weight: 700; opacity: .78; }
  .rating-pill[data-rating-tier="poor"] { color: #B42318; background: #FEF2F2; border-color: #F5C2BE; }
  .rating-pill[data-rating-tier="weak"] { color: #B45309; background: #FFF7ED; border-color: #FED7AA; }
  .rating-pill[data-rating-tier="fair"] { color: #8A6508; background: #FFFBEB; border-color: #FDE68A; }
  .rating-pill[data-rating-tier="great"] { color: #047857; background: #ECFDF5; border-color: #A7F3D0; }
  .rating-pill[data-rating-tier="elite"] { color: #62420A; border-color: #E8C56C;
    background: linear-gradient(120deg, #FFF8D6, #FFE6A3 58%, #FFF6D0); box-shadow: 0 4px 12px -8px #8A5A08; }
  .scard.rating-elite { background: linear-gradient(112deg, #fff 0%, #fff 64%, #FFF8DF 125%);
    box-shadow: inset -3px 0 #E6B94E, 0 8px 22px -18px #8A5A08; }
  .scard.rating-elite:hover { box-shadow: inset -3px 0 #D9A92F, 0 12px 24px -16px #8A5A08; }
  .scard.rating-poor { background: linear-gradient(112deg, #fff 0%, #fff 72%, #FEF2F2 130%); box-shadow: inset -3px 0 #E9A6A1; }
  .pin.rating-elite .bubble::after { content: "★"; position: absolute; right: -8px; bottom: -7px; width: 15px; height: 15px;
    display: grid; place-items: center; border-radius: 99px; border: 1.5px solid #fff; background: #F6C453; color: #67430A; font-size: 8px;
    box-shadow: 0 2px 6px rgb(103 67 10 / .35); }
  .pin.rating-poor .bubble { box-shadow: 0 0 0 2px rgb(180 35 24 / .2), 0 5px 14px -4px rgb(10 8 40 / .5) !important; }

  /* Topluluk puanı: tek bakışta seviye, tek dokunuşla puan. */
  .feedback-mount { display: grid; gap: 13px; }
  .feedback-loading { min-height: 72px; display: grid; place-items: center; color: #64748B; font-size: 12px;
    border: 1px dashed #CBD5E1; border-radius: 13px; background: #F8FAFC; }
  .feedback-rate-block { min-width: 0; padding: 11px 12px; border: 1px solid #E2E8F0; border-radius: 13px; background: #fff; }
  .feedback-rate-title { display: block; color: #334155; font-size: 11.5px; }
  .feedback-star-picker { display: flex; align-items: center; gap: 3px; margin-top: 5px; }
  .feedback-star-button { width: 38px; height: 38px; padding: 5px; display: grid; place-items: center; border: 0; border-radius: 10px;
    background: transparent; color: #CBD5E1; cursor: pointer; transition: color .12s, background .12s, transform .08s; }
  .feedback-star-button svg { width: 27px; height: 27px; fill: currentColor; filter: drop-shadow(0 1px 1px rgb(0 0 0 / .08)); }
  .feedback-star-button:hover, .feedback-star-button:focus-visible, .feedback-star-button.preview { color: #E7A91D; background: #FFF8DF; }
  .feedback-star-button.selected { color: #E7A91D; }
  .feedback-star-button:active { transform: scale(.9); }
  .feedback-star-button:disabled { cursor: wait; opacity: .62; }
  .feedback-report-wrap { display: grid; gap: 8px; }
  .feedback-report-trigger { width: 100%; min-height: 58px; display: grid; grid-template-columns: 38px minmax(0,1fr) 24px;
    align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid #F1B9B4; border-radius: 13px;
    background: linear-gradient(120deg,#FFF7F6,#fff); color: #8F2019; text-align: left; cursor: pointer;
    transition: border-color .15s, box-shadow .15s, transform .08s; }
  .feedback-report-trigger:hover, .feedback-report-trigger:focus-visible { border-color: #D85A50; box-shadow: 0 8px 20px -16px #B42318; }
  .feedback-report-trigger:active { transform: scale(.985); }
  .feedback-report-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #FEE4E2; color: #B42318; }
  .feedback-report-icon svg { width: 21px; height: 21px; }
  .feedback-report-copy { min-width: 0; display: grid; gap: 2px; }
  .feedback-report-copy strong { color: #8F2019; font-size: 11.5px; }
  .feedback-report-copy small { color: #8A5551; font-size: 9.5px; line-height: 1.35; }
  .feedback-report-chevron { color: #B42318; font-size: 20px; line-height: 1; text-align: center; }
  .feedback-report-panel { display: grid; gap: 10px; padding: 12px; border: 1px solid #F2CDCA; border-radius: 13px; background: #FFFBFA; }
  .feedback-report-title { color: #44201E; font-size: 12px; }
  .feedback-report-note { margin: -5px 0 0; color: #7A5A57; font-size: 9.5px; line-height: 1.45; }
  .feedback-report-categories { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .feedback-report-category { min-height: 38px; padding: 6px 8px; border: 1px solid #E5CFCD; border-radius: 9px; background: #fff;
    color: #5D4542; font-size: 10px; font-weight: 700; line-height: 1.25; cursor: pointer; }
  .feedback-report-category:hover, .feedback-report-category:focus-visible { border-color: #D9847D; background: #FFF5F4; }
  .feedback-report-category.selected { border-color: #B42318; background: #FEE4E2; color: #8F2019; box-shadow: inset 0 0 0 1px #B42318; }
  .feedback-report-input { width: 100%; min-height: 70px; resize: vertical; padding: 8px 9px; border: 1px solid #DFC4C1; border-radius: 9px;
    background: #fff; color: #44201E; font: inherit; font-size: 11px; line-height: 1.45; }
  .feedback-report-input:focus { outline: 2px solid #F8C5C0; border-color: #D85A50; }
  .feedback-report-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #8A6662; font-size: 8.5px; line-height: 1.35; }
  .feedback-report-submit { min-height: 36px; flex: none; padding: 0 12px; border: 0; border-radius: 9px; background: #B42318; color: #fff;
    font-size: 10.5px; font-weight: 800; cursor: pointer; box-shadow: 0 7px 16px -10px #7A1711; }
  .feedback-report-submit:disabled { opacity: .48; cursor: not-allowed; box-shadow: none; }
  .feedback-message { padding: 9px 11px; border-radius: 10px; font-size: 11px; line-height: 1.4; }
  .feedback-message.error { color: #9F241B; background: #FEF2F2; border: 1px solid #F5C2BE; }
  .feedback-message.success { color: #047857; background: #ECFDF5; border: 1px solid #A7F3D0; }
  .feedback-comments { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid #EEF2F7; }
  .feedback-comments-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .feedback-comments-heading strong { display: block; color: #1E293B; font-size: 12px; }
  .feedback-comments-heading span { display: block; margin-top: 2px; color: #64748B; font-size: 9.5px; }
  .feedback-comment-form { padding: 10px; border: 1px solid #DCE3EC; border-radius: 12px; background: #F8FAFC; }
  .feedback-comment-input { width: 100%; min-height: 70px; resize: vertical; padding: 8px 9px; border: 1px solid #CBD5E1; border-radius: 9px;
    background: #fff; color: #1E293B; font: inherit; font-size: 11.5px; line-height: 1.45; }
  .feedback-comment-input:focus { outline: 2px solid #C7D2FE; border-color: #818CF8; }
  .feedback-comment-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 7px; color: #64748B; font-size: 9px; }
  .feedback-comment-submit { min-height: 34px; padding: 0 12px; border: 0; border-radius: 9px; background: var(--dok-navy); color: #fff;
    font-size: 10.5px; font-weight: 750; cursor: pointer; }
  .feedback-comment-submit:disabled { opacity: .6; cursor: wait; }
  .feedback-login-callout { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 11px;
    border: 1px solid #DCE3EC; border-radius: 11px; background: #F8FAFC; color: #475569; font-size: 10.5px; line-height: 1.35; }
  .feedback-login-callout a { flex: none; min-height: 32px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: 8px;
    background: #EEF2FF; color: #3730A3; font-weight: 800; }
  .feedback-comment-list { display: grid; gap: 8px; }
  .feedback-comment { padding: 10px 11px; border: 1px solid #EEF2F7; border-radius: 11px; background: #fff; }
  .feedback-comment-head { display: flex; align-items: center; gap: 8px; }
  .feedback-comment-avatar { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 99px;
    background: linear-gradient(145deg,#EDE9FE,#DBEAFE); color: #3730A3; font-size: 10px; font-weight: 850; }
  .feedback-comment-author strong { display: block; color: #334155; font-size: 10.5px; }
  .feedback-comment-author span { display: block; color: #94A3B8; font-size: 8.5px; margin-top: 1px; }
  .feedback-comment p { margin: 7px 0 0; color: #475569; font-size: 10.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
  .feedback-comment-empty { padding: 12px; border-radius: 10px; background: #F8FAFC; color: #64748B; font-size: 10.5px; text-align: center; }
  .socket.free { background: linear-gradient(160deg, #ECFDF5, #F7FEFB); border-color: #A7E8CF; }
  .socket.busy { background: linear-gradient(160deg, #FFFBEB, #FFFDF6); border-color: #F5DDA8; }
  .socket.fault { background: linear-gradient(160deg, #FEF2F2, #FFF8F7); border-color: #F5C8C4; }
  .fit { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 6px;
    font-size: 11px; font-weight: 800; color: #fff; }
  .tray { background: linear-gradient(100deg, var(--dok-navy), #3A2AC0 70%, #6D28D9); }

  /* profil / giriş */
  .veh { display: none !important; }
  .profile-chip { min-width: 178px; height: 38px; padding: 0 13px 0 7px; gap: 9px; border-radius: 99px; }
  .avatar { width: 27px; height: 27px; border-radius: 99px; display: grid; place-items: center; color: #fff; font-size: 11px;
    font-weight: 800; background: linear-gradient(145deg, var(--dok-navy), var(--t-super)); flex: none; }
  .pinfo { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
  .pinfo .pn { font-size: 12px; font-weight: 700; }
  .pinfo .pv { font-size: 10px; color: var(--muted-foreground); font-weight: 600; }
  .profile-chip.account-pending { pointer-events: none; cursor: wait; }
  .profile-chip.account-pending .avatar,
  .profile-chip.account-pending .pn,
  .profile-chip.account-pending .pv { color: transparent; background: linear-gradient(100deg, #E8EAF0 20%, #F7F8FA 44%, #E8EAF0 68%);
    background-size: 220% 100%; animation: accountSkeleton 1.35s ease-in-out infinite; }
  .profile-chip.account-pending .pn { display: block; width: 78px; height: 9px; border-radius: 99px; }
  .profile-chip.account-pending .pv { display: block; width: 104px; height: 7px; margin-top: 4px; border-radius: 99px; }
  @keyframes accountSkeleton { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
  .btn-maps { background: #fff; border-color: var(--t-ac); color: #1D4ED8; font-weight: 700; }
  .btn-maps:hover { background: #EFF6FF; border-color: #1D4ED8; }
  .btn-maps-solid { background: linear-gradient(100deg, #1D4ED8, #3B82F6); border-color: #1D4ED8; color: #fff;
    box-shadow: 0 6px 16px -8px #1D4ED8; }
  .btn-maps-solid:hover { background: linear-gradient(100deg, #1A44BF, #2E76F0); }
  .mini-maps { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--border); background: #fff; display: grid;
    place-items: center; cursor: pointer; color: #1D4ED8; flex: none; }
  .mini-maps:hover { background: #EFF6FF; border-color: var(--t-ac); }

  .gate { position: fixed; inset: 0; z-index: 1400; display: none; align-items: center; justify-content: center; padding: 26px;
    background: radial-gradient(1100px 620px at 14% 6%, #241A8F 0%, #0C0844 46%, #05041C 100%); }
  .gate.open { display: flex; }
  .gate-card { width: 100%; max-width: 950px; max-height: 100%; background: #fff; border-radius: 22px; overflow: hidden;
    display: grid; grid-template-columns: 336px 1fr; box-shadow: 0 44px 90px -34px rgb(0 0 0 / .65); animation: rise .28s cubic-bezier(.32,.72,0,1); }
  .gate-side { padding: 26px 26px 24px; color: #fff; display: flex; flex-direction: column;
    background: linear-gradient(158deg, #020061 0%, #3A2AC0 52%, #A855F7 128%); }
  .gate-side h2 { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 700; letter-spacing: -0.02em;
    line-height: 1.18; margin: 22px 0 10px; color: #fff; }
  .gate-side p { color: rgb(255 255 255 / .78); font-size: var(--text-sm); line-height: 1.5; }
  .gate-benefit { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; font-size: var(--text-xs);
    color: rgb(255 255 255 / .9); border-top: 1px solid rgb(255 255 255 / .18); }
  .gate-form { padding: 26px 30px 24px; overflow-y: auto; }
  .gate-step { display: none; }
  .gate-step.on { display: block; }
  .gate-form h3 { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; letter-spacing: -0.02em; }
  .field { margin-bottom: 13px; }
  .field > .label { display: block; margin-bottom: 5px; }
  .inp { width: 100%; height: 38px; border: 1px solid var(--input); border-radius: var(--radius-md); padding: 0 11px; font: inherit;
    background: #fff; color: var(--foreground); }
  .inp:focus { border-color: var(--dok-navy-300); box-shadow: 0 0 0 3px rgb(2 0 97 / .08); outline: none; }
  .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .seg { display: flex; gap: 6px; }
  .seg button { flex: 1; height: 36px; border-radius: var(--radius-md); border: 1px solid var(--border); background: #fff;
    font-weight: 650; font-size: var(--text-xs); cursor: pointer; }
  .seg button[aria-pressed="true"] { background: var(--dok-navy); border-color: var(--dok-navy); color: #fff; }
  .err { color: var(--destructive); font-size: var(--text-xs); margin-top: 6px; display: none; }
  .err.on { display: block; }
  /* ---------- responsive topbar / overlays (en sonda: kaynak sırası kazanır) ---------- */
  .topnav { display: flex; gap: 2px; }
  @media (max-width: 1400px) {
    .topbar { gap: 10px; }
    .live { display: none; }
  }
  @media (max-width: 1240px) {
    .topnav { display: none; }
    .veh label { display: none; }
    .veh select { max-width: 108px; }
  }
  @media (max-width: 1080px) {
    .profile-chip { min-width: 38px; padding-right: 5px; }
    .pinfo { display: none; }
    .btn-lbl { display: none; }
    .ov-br { display: none; }
  }
  @media (max-width: 900px) {
    .veh { display: none; }
    .ov-bl { display: none; }
  }
  @media (max-width: 520px) {
    .feedback-star-picker { justify-content: space-between; }
    .feedback-star-button { width: 44px; height: 44px; }
    .feedback-star-button svg { width: 30px; height: 30px; }
    .feedback-report-trigger { min-height: 62px; }
    .feedback-report-category { min-height: 44px; font-size: 10.5px; }
    .feedback-report-foot { align-items: stretch; flex-direction: column; }
    .feedback-report-submit { width: 100%; min-height: 44px; }
  }
  @keyframes evSweep { 0% { transform: translateX(-170%) skewX(-16deg); } 55%, 100% { transform: translateX(340%) skewX(-16deg); } }
  @keyframes evBolt { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.14); } }
  @keyframes evBar1 { 0%, 100% { opacity: .28; } 22% { opacity: 1; } }
  @keyframes evBar2 { 0%, 100% { opacity: .28; } 48% { opacity: 1; } }
  @keyframes evBar3 { 0%, 100% { opacity: .28; } 74% { opacity: 1; } }
  .ev-cta { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 13px 0 8px;
    border-radius: var(--radius-md); background: linear-gradient(118deg, #020061 0%, #241B8F 58%, #4C1D95 135%); color: #fff;
    font-size: var(--text-sm); font-weight: 700; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
    box-shadow: 0 8px 18px -10px rgb(2 0 97 / .7), inset 0 1px 0 rgb(255 255 255 / .18); }
  .ev-cta:hover { box-shadow: 0 0 0 3px rgb(200 169 125 / .34), 0 12px 22px -10px rgb(2 0 97 / .8); }
  .ev-cta .ic { position: relative; width: 22px; height: 22px; border-radius: 7px; background: rgb(255 255 255 / .15); display: grid; place-items: center; flex: none; }
  .ev-cta .ic svg { animation: evBolt 2.4s ease-in-out infinite; }
  .ev-cta .bars { position: relative; display: flex; align-items: flex-end; gap: 3px; height: 12px; }
  .ev-cta .bars i { display: block; width: 3px; border-radius: 2px; background: #EBDBC5; }
  .ev-cta .bars i:nth-child(1) { height: 6px; animation: evBar1 1.9s ease-in-out infinite; }
  .ev-cta .bars i:nth-child(2) { height: 9px; animation: evBar2 1.9s ease-in-out infinite; }
  .ev-cta .bars i:nth-child(3) { height: 12px; animation: evBar3 1.9s ease-in-out infinite; }
  .ev-cta .sweep { position: absolute; top: 0; bottom: 0; left: 0; width: 32px; pointer-events: none;
    background: linear-gradient(90deg, rgb(255 255 255 / 0), rgb(255 255 255 / .32), rgb(255 255 255 / 0));
    animation: evSweep 3.8s cubic-bezier(.4,0,.2,1) infinite; }
  @media (prefers-reduced-motion: reduce) { .ev-cta svg, .ev-cta .bars i, .ev-cta .sweep { animation: none !important; } }
  @media (max-width: 1160px) { .ev-cta .bars, .ev-cta span.lbl { display: none; } .ev-cta { padding: 0 6px; } }
  /* ---------- canlı harita animasyonları ---------- */
  .pin .halo { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px;
    border-radius: 99px; background: var(--pc); opacity: 0; pointer-events: none; }
  .pin.charging .halo { animation: chargeHalo 2.4s ease-out infinite; }
  .pin.selected .halo { animation: chargeHalo 1.5s ease-out infinite; }
  @keyframes chargeHalo { 0% { transform: scale(.55); opacity: .4; } 70% { transform: scale(2.4); opacity: 0; } 100% { opacity: 0; } }
  .pin .bubble { animation: pinIn .2s cubic-bezier(.32,.72,0,1); }
  @keyframes pinIn { from { transform: translateY(3px) scale(.82); opacity: 0; } }
  .pin .bubble .pb { margin-right: 2px; opacity: .85; }
  .pin.super .bubble .pb, .pin.ultra .bubble .pb { animation: boltFlick 2.8s ease-in-out infinite; }
  @keyframes boltFlick { 0%, 100% { opacity: .5; } 45% { opacity: 1; } 60% { opacity: .78; } }
  .pin .sd.free { animation: dotBreath 2.2s ease-in-out infinite; }
  @keyframes dotBreath { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgb(16 185 129 / .55); }
    50% { transform: scale(1.2); box-shadow: 0 0 0 4px rgb(16 185 129 / 0); } }
  .cluster .ring { animation: ringBreath 3.4s ease-in-out infinite; }
  @keyframes ringBreath { 0%, 100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.13); opacity: .16; } }
  .route-flow { stroke-dasharray: 10 8; animation: dashFlow 1.1s linear infinite; }
  @keyframes dashFlow { to { stroke-dashoffset: -18; } }

  /* ---------- anlamlı filtre chip'leri ve hız dili ---------- */
  .chips { align-items: stretch; }
  .fgroup > h4::before { width: 6px; height: 6px; border-radius: 99px; background: #CBD5E1; }
  .fgroup > h4 .n { color: #64748B; }
  .fgroup.power-group > h4::before { width: 20px; height: 4px;
    background: linear-gradient(90deg, var(--t-ac), var(--t-fast), var(--t-ultra), var(--t-super)); }
  .fgroup.power-group > h4 .n { color: #64748B; }
  .chip { min-width: 0; max-width: 100%; min-height: 36px; height: auto; padding: 7px 10px; gap: 7px;
    background: #F8FAFC; border-color: #E2E8F0; border-radius: 10px; line-height: 1.2; overflow: hidden; }
  .chip:hover { border-color: #A5B4FC; background: #F6F7FF; }
  .chip[aria-pressed="true"] { background: var(--dok-navy); border-color: var(--dok-navy); color: #fff;
    box-shadow: 0 3px 10px -4px rgb(2 0 97 / .45); }
  .chip .chip-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .chip .sw { width: 9px; height: 9px; border-radius: 99px; flex: none; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 8%, transparent); }
  .chip .cnt, .switch-row .hint, .oprow .ct { flex: none; min-width: 26px; padding: 2px 6px; border-radius: 99px;
    background: #EEF2F7; color: #64748B; text-align: center; font-size: 10px; font-weight: 700; line-height: 1.45; }
  .chip[aria-pressed="true"] .cnt { background: rgb(255 255 255 / .18); color: #fff; }
  .connector-chips { display: grid; grid-template-columns: 1fr 1fr; }
  .connector-chips .chip { width: 100%; justify-content: flex-start; }
  .connector-chips .chip:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .utility-chips { display: grid; grid-template-columns: 1fr 1fr; }
  .utility-chips .chip { width: 100%; justify-content: space-between; }

  .tag { min-width: 0; max-width: 100%; min-height: 23px; height: auto; padding: 3px 8px; border-radius: 99px;
    border: 1px solid transparent; line-height: 1.15; }
  .tag .tag-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tag.status-tag { color: #475569; background: #F1F5F9; border-color: #E2E8F0; }
  .tag.status-tag.green { color: #06735A; background: #E7F7F1; border-color: #BCE8D8; }
  .tag.status-tag.amber { color: #92610A; background: #FEF4E4; border-color: #F3D8A6; }
  .tag.status-tag.red { color: #A3231A; background: #FDECEB; border-color: #F2C7C3; }
  .tag.status-tag.status-stale { color: #8A5A08; background: #FFFBEB; border-color: #F5DDA8; }
  .tag.status-tag .avdot { width: 7px; height: 7px; }
  .tag.connector-tag { max-width: 128px; color: #334155; background: #F8FAFC; border-color: #E2E8F0; }
  .tag.energy-tag { color: #06735A; background: #ECFDF5; border-color: #C7F0E0; }
  .tag.price { border-color: #F1DFC1; }
  .tag.distance-tag { color: #1D4ED8; background: #EFF6FF; border-color: #BFDBFE; font-weight: 750; }
  .tag.data-warning { color: #8A5A08; background: #FFFBEB; border-color: #F5DDA8; }
  .scard .r2 { gap: 5px; }
  .d-op { flex-wrap: wrap; }

  .power-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
  .power-chip { --gc: var(--dok-navy); position: relative; width: 100%; min-width: 0; min-height: 58px; padding: 8px 9px;
    display: grid; grid-template-columns: 20px minmax(0,1fr) auto; align-items: center; gap: 8px; text-align: left;
    border: 1px solid color-mix(in srgb, var(--gc) 24%, #E2E8F0); border-radius: 12px; background: #fff;
    cursor: pointer; transition: border-color .14s, background .14s, box-shadow .14s, transform .08s; }
  .power-chip:hover { border-color: var(--gc); background: color-mix(in srgb, var(--gc) 7%, #fff); }
  .power-chip:active { transform: translateY(1px); }
  .power-chip[aria-pressed="true"] { border-color: var(--gc); background: color-mix(in srgb, var(--gc) 11%, #fff);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--gc) 14%, transparent); }
  .power-chip[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 5px; right: 6px; width: 15px; height: 15px;
    display: grid; place-items: center; border-radius: 99px; background: var(--gc); color: #fff; font-size: 9px; font-weight: 900; }
  .power-meter { width: 20px; height: 23px; display: flex; align-items: flex-end; gap: 2px; }
  .power-meter i { display: block; width: 4px; border-radius: 3px 3px 1px 1px; background: #E2E8F0; }
  .power-meter i:nth-child(1) { height: 7px; }
  .power-meter i:nth-child(2) { height: 11px; }
  .power-meter i:nth-child(3) { height: 16px; }
  .power-meter i:nth-child(4) { height: 22px; }
  .power-meter.level-1 i:nth-child(-n+1), .power-meter.level-2 i:nth-child(-n+2),
  .power-meter.level-3 i:nth-child(-n+3), .power-meter.level-4 i:nth-child(-n+4) { background: var(--gc); }
  .power-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .power-copy strong { color: var(--gc); font-size: 12px; font-weight: 800; line-height: 1.05; }
  .power-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #64748B; font-size: 10px; font-weight: 600; }
  .power-count { align-self: end; color: #64748B; font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
  .power-chip[aria-pressed="true"] .power-count { color: var(--gc); }

  .speed-tag { --gc: var(--dok-navy); flex: none; min-height: 24px; height: auto; padding: 4px 8px; border-radius: 7px;
    background: color-mix(in srgb, var(--gc) 11%, #fff) !important; color: var(--gc) !important;
    border: 1px solid color-mix(in srgb, var(--gc) 20%, transparent); white-space: nowrap; }
  .speed-mini { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 11px; }
  .speed-mini i { width: 2.5px; border-radius: 2px; background: color-mix(in srgb, var(--gc) 24%, transparent); }
  .speed-mini i:nth-child(1) { height: 4px; }.speed-mini i:nth-child(2) { height: 6px; }
  .speed-mini i:nth-child(3) { height: 8px; }.speed-mini i:nth-child(4) { height: 11px; }
  .speed-mini.level-1 i:nth-child(-n+1), .speed-mini.level-2 i:nth-child(-n+2),
  .speed-mini.level-3 i:nth-child(-n+3), .speed-mini.level-4 i:nth-child(-n+4) { background: var(--gc); }
  .scard .r1 > div:first-child { min-width: 0; flex: 1; }
  .scard .nm { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .scard .op { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .oprow { min-width: 0; padding: 7px 6px; }
  .oprow .nm { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .oprow[aria-checked="true"] { background: var(--dok-navy-50); color: var(--dok-navy); }
  .switch-row { min-width: 0; }
  .switch-row .lbl { min-width: 0; flex: 1; overflow-wrap: anywhere; }
  .switch-row[aria-checked="true"] .switch { background: var(--iso-approved); }
  .range-scale span:nth-child(2) { max-width: 56%; text-align: center; line-height: 1.25; }
  .rail-head-top { display: flex; align-items: center; gap: 10px; }
  .mobile-panel-close, .mobile-apply, .mobile-list-close, .panel-scrim { display: none; }

  .speed-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; min-width: 214px; }
  .speed-legend-item { --gc: var(--dok-navy); display: grid; grid-template-columns: 19px 1fr; gap: 7px; align-items: center;
    padding: 7px; border-radius: 9px; background: color-mix(in srgb, var(--gc) 8%, #fff); border: 1px solid color-mix(in srgb, var(--gc) 16%, transparent); }
  .speed-legend-item strong { display: block; color: var(--gc); font-size: 10px; line-height: 1.1; }
  .speed-legend-item small { display: block; color: #64748B; font-size: 8.5px; margin-top: 2px; white-space: nowrap; }
  .legend-row.no-live { padding: 7px 8px; border: 1px solid #E2E8F0; border-radius: 8px; background: #F8FAFC;
    color: #64748B; line-height: 1.3; }
  .dot-live[data-state="catalog"] { background: #64748B; box-shadow: none; animation: none; }

  @media (max-width: 760px) {
    .list-scroll .scard { content-visibility: auto; contain-intrinsic-size: auto 94px; }
    .app { grid-template-rows: 58px 1fr; }
    .topbar { min-width: 0; gap: 7px; padding: 0 9px; }
    .brand { padding-right: 8px; height: 30px; }
    .brand img { width: 91px !important; max-width: 24vw; }
    .search { min-width: 0; max-width: none; flex: 1 1 auto; }
    .search input { min-width: 0; padding-right: 10px; font-size: 12px; }
    .ev-cta, .profile-chip { display: none !important; }
    .modes { flex: none; }
    .mode-btn { width: 32px; padding: 0; justify-content: center; gap: 0; font-size: 0; }
    .mode-btn svg { width: 15px; height: 15px; }

    .body, .body.list-open, .body.rail-closed, .body.rail-closed.list-open { display: block; min-width: 0; }
    .mapwrap { position: absolute; inset: 0; }
    .rail { position: fixed; top: 58px; bottom: 0; left: 0; z-index: 1060; width: min(360px, calc(100vw - 24px));
      border-right: 0; border-radius: 0 16px 16px 0; box-shadow: 18px 0 44px -22px rgb(2 0 97 / .42);
      transform: translateX(0); transition: transform .22s cubic-bezier(.32,.72,0,1); }
    .body.rail-closed .rail { transform: translateX(-105%); pointer-events: none; }
    .rail-head { padding: 13px 14px 11px; }
    .rail-count { font-size: 21px; }
    .rail-scroll { overscroll-behavior: contain; }
    .fgroup { padding: 12px 14px 14px; }
    .rail-foot { padding: 9px 12px 11px; flex-wrap: wrap; }
    .rail-foot #clear { flex: 1; justify-content: flex-start; }
    .mobile-panel-close, .mobile-list-close { display: grid; place-items: center; flex: none; width: 32px; height: 32px;
      padding: 0; border: 1px solid var(--border); border-radius: 9px; background: #fff; cursor: pointer; }
    .mobile-apply { display: inline-flex; width: 100%; height: 38px; }
    .power-grid { gap: 6px; }
    .power-chip { min-height: 56px; }

    .listcol { position: fixed; top: 58px; right: 0; bottom: 0; left: 0; z-index: 1050; display: flex;
      transform: translateX(102%); transition: transform .22s cubic-bezier(.32,.72,0,1); }
    .body.list-open .listcol { transform: none; }
    .body:not(.list-open) .listcol { pointer-events: none; }
    .list-head { min-height: 48px; }
    .list-head .ttl { display: none; }
    .list-nearby { width: 30px; padding: 0; justify-content: center; }
    .list-nearby .nearby-label, .map-nearby .nearby-label { display: none; }
    .intent-btn { display: none; }
    .mobile-list-close { margin-left: 2px; }
    .panel-scrim { position: fixed; inset: 58px 0 0; z-index: 1040; border: 0; background: rgb(2 0 97 / .2);
      backdrop-filter: blur(2px); cursor: default; }
    .body:not(.rail-closed) .panel-scrim, .body.list-open .panel-scrim { display: block; }
    .detail { position: fixed; top: 58px; width: 100%; z-index: 1100; }
    .ov-tl { top: 10px; left: 10px; }
    .ov-tr { top: 10px; right: 10px; }
    .legend { display: none; }
  }

  @media (max-width: 350px) {
    .power-grid { grid-template-columns: 1fr; }
    .modes { display: none; }
  }
