

.tl-layer [hidden], .tl-sheet [hidden], .tl-sheet[hidden] { display: none !important; }

.tl-h, .seo-sidebar .tl-h, .tl-sheet .tl-h { margin: 0; }
.tl-sub { font-size: 12.5px; color: var(--text-muted); }
.tl-n { font-variant-numeric: tabular-nums; }

.tl-strip { padding: 2px 0 14px; margin: 0 0 12px; border-bottom: 1px solid var(--border); }
.tl-strip-head { display: flex; align-items: center; gap: 8px; min-height: 34px; margin: 0 0 10px; }
.tl-strip-head .tl-sub { flex: 1; }
.tl-open {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; box-sizing: border-box; cursor: pointer;
  background: #fff; border: 1px solid var(--border-hover); border-radius: var(--radius); font: 600 13px/1 var(--font); color: var(--text); white-space: nowrap;
  transition: background-color 120ms var(--ease), border-color 120ms var(--ease);
}
.tl-open svg { width: 16px; height: 16px; }
.tl-open:hover { background: var(--bg); }
.tl-open[aria-expanded="true"] { background: var(--filter-tint); border-color: var(--filter-line); color: var(--filter-accent); }
.tl-open-n { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 999px; background: var(--filter-accent); color: #fff; font-size: 11px; font-weight: 700; }

.tl-kind { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 3px; margin: 0 0 10px; background: var(--bg); border: 1px solid var(--border-hover); border-radius: var(--radius); }
.tl-kind-b { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; height: 30px; padding: 0 6px; border: 0; border-radius: 7px; background: none; font: 500 13px/1 var(--font); color: var(--text-secondary); cursor: pointer; white-space: nowrap; }
.tl-kind-b .tl-n { font-size: 12px; color: var(--text-muted); }
.tl-kind-b:hover { color: var(--text); }
.tl-kind-b.is-on { background: #fff; color: var(--filter-accent); font-weight: 600; box-shadow: var(--shadow-sm); }
.tl-kind-b.is-on .tl-n { color: var(--filter-accent); }

.tl-ops { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-op {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 5px; box-sizing: border-box; cursor: pointer;
  background: #fff; border: 1px solid #e7edf1; border-radius: var(--radius); font: 600 12.5px/1 var(--font); color: var(--text);
  transition: background-color 120ms var(--ease), border-color 120ms var(--ease);
}
.tl-op:hover { background: var(--bg); border-color: var(--border-hover); }
.tl-op.is-on { background: var(--filter-tint); border-color: var(--filter-accent); color: var(--filter-accent); }
.tl-op-mark { display: inline-flex; align-items: center; }
.tl-op .tl-mono { height: 24px; width: auto; padding: 0 6px; font-size: 11.5px; }
.tl-op-more { padding: 0 11px; color: var(--brand-dark); }
.tl-logo { width: 24px; height: 24px; border-radius: 5px; object-fit: contain; display: block; }
.tl-mono { display: inline-flex; align-items: center; justify-content: center; height: 24px; min-width: 24px; box-sizing: border-box; border-radius: 5px; background: var(--nav-tile-bg); color: var(--text); font-size: 10px; font-weight: 800; white-space: nowrap; }

.tl-ask { margin: 10px 0 0; padding: 10px 12px; background: var(--warm); border-radius: var(--radius); font-size: 13px; line-height: 1.5; color: var(--text-secondary); }
.tl-ask a { color: var(--brand-dark); font-weight: 600; text-decoration: none; white-space: nowrap; }
.tl-ask a:hover { text-decoration: underline; }
.tl-state { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0 0; padding: 8px 12px; background: var(--filter-tint); border-radius: var(--radius); font-size: 13px; color: var(--filter-accent); }
.tl-state-t { font-weight: 600; }
.tl-clear { flex: none; background: none; border: 0; padding: 0; font: 600 13px var(--font); color: var(--brand-dark); cursor: pointer; }
.tl-clear:hover { text-decoration: underline; }

.tl-open:focus-visible, .tl-op:focus-visible, .tl-kind-b:focus-visible, .tl-chip:focus-visible, .tl-oprow:focus-visible, .tl-sheet button:focus-visible {
  outline: none; box-shadow: 0 0 0 3px rgba(13,148,136,.15); border-color: var(--brand);
}

.tl-sheet {
  position: absolute; z-index: 7; top: 0; bottom: 0; left: 0; width: 440px; box-sizing: border-box;
  display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--border);
  box-shadow: 8px 0 24px rgba(15,20,25,.06);
}
.seo-split { position: relative; }
.seo-view-map .tl-sheet { display: none; }
.tl-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 12px 28px; border-bottom: 1px solid var(--border); }
.tl-sheet-x { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: var(--radius-sm); background: none; color: var(--text-muted); cursor: pointer; }
.tl-sheet-x svg { width: 18px; height: 18px; }
.tl-sheet-x:hover { background: var(--bg); color: var(--text); }
.tl-sheet-body { flex: 1; overflow-y: auto; padding: 4px 20px 20px 28px; }
.tl-sec { padding: 16px 0 18px; border-bottom: 1px solid var(--border); }
.tl-sec:last-child { border-bottom: 0; }
.tl-sec-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 8px; }
.tl-sec-h h3 { margin: 0; font-size: 14px; font-weight: 700; color: var(--text); }
.tl-sec-note { margin: 0 0 10px; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.tl-plan { display: inline-block; background: var(--pro); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 3px 8px; line-height: 1.2; }
.tl-free { font-size: 12px; color: var(--text-muted); }
.tl-row-h, .tl-group-h { display: block; margin: 14px 0 6px; font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.tl-sec-note + .tl-row-h { margin-top: 4px; }

.tl-oprows { display: grid; gap: 2px; }
.tl-oprow {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 40px; padding: 6px 8px; box-sizing: border-box;
  background: none; border: 1px solid transparent; border-radius: var(--radius); font: 600 13.5px/1.25 var(--font); color: var(--text); text-align: left; cursor: pointer;
}
.tl-oprow:hover { background: var(--bg); }
.tl-oprow.is-on { background: var(--filter-tint); border-color: var(--filter-line); color: var(--filter-accent); }
.tl-oprow-name small, .tl-table small { display: block; font-size: 12px; font-weight: 400; color: var(--text-muted); }
.tl-oprow .tl-n { font-size: 12.5px; font-weight: 500; color: var(--text-muted); }
.tl-oprow-mark { display: inline-flex; width: 24px; height: 24px; }
.tl-oprow-mark .tl-mono { font-size: 8.5px; padding: 0 2px; max-width: 24px; overflow: hidden; }

.tl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-chip {
  display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; box-sizing: border-box; cursor: pointer;
  background: #fff; border: 1px solid var(--border-hover); border-radius: 999px; font: 500 13px/1 var(--font); color: var(--text); white-space: nowrap;
}
.tl-chip:hover { background: var(--bg); }
.tl-chip .tl-n { font-size: 12px; color: var(--text-muted); }
.tl-chip.is-on { background: var(--filter-chip-bg); border-color: var(--filter-line); color: var(--filter-accent); font-weight: 600; }
.tl-chip.is-on .tl-n { color: var(--filter-accent); }
.tl-chip[data-zero] { color: var(--text-muted); cursor: default; }
.tl-chip[data-zero]:hover { background: #fff; }
.tl-ref { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.tl-ref-in { height: 34px; padding: 0 11px; border: 1px solid var(--border-hover); border-radius: var(--radius); font: 14px var(--font); color: var(--text); min-width: 0; }
.tl-ref-in:focus { outline: none; border-color: var(--filter-accent); box-shadow: 0 0 0 3px var(--filter-ring); }
.tl-ref-go { height: 34px; padding: 0 14px; border: 1px solid var(--border-hover); border-radius: var(--radius); background: #fff; font: 600 13px var(--font); color: var(--text); cursor: pointer; }

.tl-bars { display: block; width: 100%; height: 64px; }
.tl-bar-fill { fill: var(--brand); }
.tl-activity.is-filtered .tl-bar-fill { fill: var(--filter-accent); }
.tl-bar-hit { fill: transparent; }
.tl-bar:hover .tl-bar-fill { opacity: .75; }
.tl-bars-axis { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11.5px; color: var(--text-muted); }
.tl-act-tip { min-height: 18px; margin: 6px 0 0; font-size: 12.5px; color: var(--text-secondary); font-variant-numeric: tabular-nums; }

.tl-sheet-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px 20px 14px 28px; border-top: 1px solid var(--border); background: #fff; }
.tl-foot-clear, .tl-foot-show { height: 42px; border-radius: var(--radius); font: 700 14px var(--font); cursor: pointer; }
.tl-foot-clear { background: #fff; border: 1px solid var(--border-hover); color: var(--text); font-weight: 600; }
.tl-foot-clear:hover { background: var(--bg); }
.tl-foot-show { background: var(--brand); border: 1px solid var(--brand); color: #fff; }
.tl-foot-show:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

.tl-note { margin: 4px 0 8px; }
.tl-note-op { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 3px; font-size: 13.5px; }
.tl-note-mark { display: inline-flex; width: 18px; height: 18px; flex: none; }
.tl-note-mark .tl-logo { width: 18px; height: 18px; border-radius: 4px; }
.tl-note-mark .tl-mono { height: 18px; min-width: 18px; font-size: 7.5px; padding: 0 2px; max-width: 40px; overflow: hidden; }
.tl-note-name { font-weight: 600; color: var(--text); }
.tl-note-src { font-size: 12.5px; color: var(--text-muted); }
.tl-facts { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-secondary); }
.tl-dot { color: var(--border-strong); }
.tl-due { color: var(--status-warning); font-weight: 600; }
.tl-none { margin: 18px 0; font-size: 14px; color: var(--text-secondary); }

.tl-bottom { padding-bottom: 0; }
.tl-insight { margin: 0 0 8px; }
.tl-insight > p { max-width: 720px; margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.tl-table-wrap { max-width: 720px; overflow-x: auto; }
.tl-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tl-table th, .tl-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.tl-table thead th { font-size: 12px; font-weight: 600; color: var(--text-muted); border-bottom-color: var(--border-strong); }
.tl-table td, .tl-table thead th:not(:first-child) { width: 1%; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.tl-table tbody th { font-weight: 600; color: var(--text); }
.tl-table tbody th .tl-cell { display: flex; align-items: center; gap: 10px; }
.tl-table tbody th .tl-oprow-mark { flex: none; width: 20px; height: 20px; }
.tl-table tbody th .tl-logo { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .tl-strip { padding-top: 12px; }
  main.seo-page-wide .seo-split > .tl-sheet { position: fixed; inset: 0; z-index: 1000; width: auto; border: 0; box-shadow: none; }
  .tl-sheet-head { padding: 12px 10px 10px 14px; }
  .tl-sheet-body { padding: 0 14px 16px; }
  .tl-sheet-foot { padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); }
  body.tl-sheet-open { overflow: hidden; }
  
  main.seo-page-wide > .tl-bottom { width: 100%; box-sizing: border-box; }
  .tl-insight { width: 0; min-width: 100%; }
  .tl-table { font-size: 13px; }
  .tl-table th, .tl-table td { padding: 9px 8px 9px 0; }
  .tl-table thead th, .tl-table thead th:not(:first-child) { font-size: 11.5px; white-space: normal; }
}

.tl-sheet .tl-sec-h h3 { margin: 0; font-size: 14px; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--text); }

.tl-ops .tl-op[data-zero]:not(.is-on) { display: none; }

.tl-op { padding: 0 10px 0 6px; }
.tl-op:not(:has(.tl-op-mark)) { padding-left: 10px; }
.tl-op-name { font-weight: 600; color: var(--text); }
.tl-op .tl-n { font-weight: 500; color: var(--text-muted); }
.tl-op.is-on .tl-op-name, .tl-op.is-on .tl-n { color: var(--filter-accent); }

@media (min-width: 769px) {
  main.tl-app .seo-sidebar { width: 420px; padding-top: 14px; }
  main.tl-app .tl-sheet { width: 420px; }
  
  main.tl-app .tl-ops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  main.tl-app .tl-op { width: 100%; height: 40px; padding: 0 8px 0 6px; gap: 6px; justify-content: flex-start; }
  main.tl-app .tl-op-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-size: 12.5px; }
  main.tl-app .tl-op .tl-n { color: var(--text-muted); font-weight: 600; }
}

.tl-about { max-width: 820px; margin: 28px auto 8px; padding: 0 28px; }
.tl-about .seo-sidebar-towns { margin: 14px 0 0; }
@media (min-width: 769px) {
  
  main.tl-app .tl-op { height: 46px; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 7px; row-gap: 1px; align-content: center; text-align: left; }
  main.tl-app .tl-op .tl-op-mark { grid-row: 1 / span 2; }
  main.tl-app .tl-op .tl-op-name { grid-column: 2; font-size: 12.5px; line-height: 1.15; }
  main.tl-app .tl-op .tl-n { grid-column: 2; font-size: 11.5px; line-height: 1.15; }
  main.tl-app .tl-op:not(:has(.tl-op-mark)) .tl-op-name, main.tl-app .tl-op:not(:has(.tl-op-mark)) .tl-n { grid-column: 1 / -1; }
  main.tl-app .tl-op-more { display: flex; align-items: center; justify-content: center; }
}

@media (min-width: 769px) {
  main.tl-app { --tl-g: 28px; --tl-h: 36px; }

  main.tl-app .seo-sidebar { width: 420px; padding: 16px 20px 16px var(--tl-g); }
  main.tl-app .tl-strip { padding: 0 0 14px; margin: 0 0 12px; }
  main.tl-app .tl-strip-head { min-height: var(--tl-h); margin: 0 0 12px; }
  main.tl-app .tl-open { height: var(--tl-h); }
  main.tl-app .tl-kind { margin: 0 0 12px; }
  main.tl-app .tl-kind-b { height: 30px; font-size: 13px; }
  main.tl-app .tl-ops { gap: 8px; }
  main.tl-app .tl-op { height: 48px; padding: 0 10px 0 8px; border-color: var(--border); border-radius: var(--radius); }
  main.tl-app .tl-op .tl-op-name { font-size: 13px; font-weight: 600; }
  main.tl-app .tl-op .tl-n { font-size: 12px; font-weight: 500; }
  main.tl-app .tl-op .tl-logo { width: 26px; height: 26px; }
  
  main.tl-app .seo-app-list .app-card { padding: 16px 0; }
  main.tl-app .seo-app-list .app-card:hover { background: none; }
}

.tl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tl-rail .tl-op[data-zero]:not(.is-on) { display: none; }
.tl-open-more { width: 100%; justify-content: center; margin: 14px 0 0; }
.tl-note-mark .tl-logo, main.tl-app .tl-note-mark .tl-logo { width: 18px; height: 18px; }
.tl-note, .tl-note-op, .tl-facts { min-width: 0; overflow-wrap: anywhere; }
main.tl-app .seo-sidebar { overflow-x: hidden; }
@media (min-width: 769px) {
  main.tl-app { --tl-rail: 300px; }
  main.tl-app .seo-sidebar { width: 380px; }
  main.tl-app .tl-rail {
    order: 3; width: var(--tl-rail); flex-shrink: 0; box-sizing: border-box; overflow-y: auto; overflow-x: hidden;
    padding: 16px 20px; background: #fff; border-left: 1px solid var(--border);
  }
  main.tl-app .tl-rail .tl-strip { border-bottom: 0; margin: 0; padding: 0; }
  main.tl-app .tl-rail .tl-ops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  main.tl-app .tl-sheet { left: auto; right: var(--tl-rail); width: 380px; border-right: 0; border-left: 1px solid var(--border); box-shadow: -8px 0 24px rgba(15,20,25,.08); }
}
@media (max-width: 768px) {
  main.tl-app .tl-rail { order: -2; padding: 12px 14px 4px; background: #fff; }
  main.tl-app .tl-rail .tl-ops { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
  main.tl-app .tl-rail .tl-op { flex: none; width: auto; }
}

main.tl-app .seo-app-list .app-card-header { flex-wrap: wrap; row-gap: 6px; min-width: 0; }
main.tl-app .seo-app-list .app-ref { margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
main.tl-app .seo-app-list .app-card { min-width: 0; max-width: 100%; box-sizing: border-box; overflow: hidden; }

.tl-rail .tl-strip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-height: 0; margin: 0 0 12px; }
.tl-rail .tl-strip-head .tl-sub { flex: none; }
.tl-rail .tl-kind-b { flex-direction: column; gap: 1px; height: 40px; padding: 0 4px; line-height: 1.1; }
.tl-rail .tl-kind-b .tl-n { font-size: 11.5px; }
.tl-rail .tl-kind { margin: 0 0 14px; }

@media (min-width: 769px) and (max-width: 1199px) {
  main.tl-app .seo-split { flex-wrap: wrap; height: auto; }
  main.tl-app .tl-rail { order: -1; width: 100%; height: auto; overflow: visible; border-left: 0; border-bottom: 1px solid var(--border); padding: 10px var(--tl-g); display: flex; align-items: center; gap: 14px; }
  main.tl-app .tl-rail .tl-strip { display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; }
  main.tl-app .tl-rail .tl-strip-head { margin: 0; flex: none; }
  main.tl-app .tl-rail .tl-strip-head .tl-sub { display: none; }
  main.tl-app .tl-rail .tl-kind { margin: 0; flex: none; width: 250px; }
  main.tl-app .tl-rail .tl-ops { display: flex; flex-wrap: nowrap; overflow-x: auto; flex: 1; min-width: 0; gap: 6px; }
  main.tl-app .tl-rail .tl-op { flex: none; width: auto; height: 40px; }
  main.tl-app .tl-rail .tl-open-more { width: auto; margin: 0; flex: none; }
  main.tl-app .seo-sidebar, main.tl-app .seo-map { height: calc(calc(100vh / var(--bs-zoom, 1)) - var(--split-offset) - var(--tl-bar-h, 62px)); }
  main.tl-app .seo-sidebar { width: 360px; }
  main.tl-app .tl-sheet { right: 0; top: 62px; }
}

@media (max-width: 768px) {
  main.tl-app .tl-rail { order: 12; padding: 10px 14px; margin: 0; border-top: 1px solid var(--border); }
  main.tl-app .tl-rail .tl-strip-head .tl-sub { display: none; }
  main.tl-app .tl-rail .tl-open-more { margin: 10px 0 0; }
}
@media (max-width: 768px) {
  main.tl-app .tl-rail { order: 11; padding: 12px 0 14px; border-top: 0; border-bottom: 1px solid var(--border); margin-bottom: 10px; }
}
main.tl-app .tl-rail h2.tl-h { margin: 0; }
main.tl-app .tl-rail .tl-strip { padding-top: 0; }

.tl-rail-handle { display: none; }
@media (min-width: 1200px) {
  main.tl-app .tl-rail { position: relative; overflow: visible; transition: width 180ms var(--ease), padding 180ms var(--ease); }
  main.tl-app .tl-rail-body { height: 100%; overflow-y: auto; overflow-x: hidden; }
  main.tl-app .tl-rail-handle {
    display: inline-flex; align-items: center; justify-content: center; position: absolute; z-index: 8;
    left: -14px; top: 14px; width: 28px; height: 40px; padding: 0; cursor: pointer;
    background: #fff; border: 1px solid var(--border-hover); border-radius: 8px; box-shadow: var(--shadow-sm); color: var(--text-secondary);
  }
  main.tl-app .tl-rail-handle:hover { color: var(--text); border-color: var(--text-muted); }
  main.tl-app .tl-rail-handle svg { width: 16px; height: 16px; transition: transform 180ms var(--ease); }
  main.tl-app.tl-rail-min .tl-rail { width: 0; padding: 0; border-left: 1px solid var(--border); }
  main.tl-app.tl-rail-min .tl-rail-body { visibility: hidden; }
  main.tl-app.tl-rail-min .tl-rail-handle { left: -36px; width: 32px; }
  main.tl-app.tl-rail-min .tl-rail-handle svg { transform: rotate(180deg); }
  main.tl-app.tl-rail-min .tl-sheet { right: 0; }
}

.tl-sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; }
.tl-foot-clear { height: auto; padding: 8px 4px; background: none; border: 0; font: 600 14px var(--font); color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.tl-foot-clear:hover { background: none; color: var(--brand-dark); }
.tl-foot-show { height: 44px; padding: 0 22px; white-space: nowrap; font: 600 14px var(--font); }
@media (min-width: 1200px) {
  main.tl-app .tl-rail-handle { top: 50%; transform: translateY(-50%); }
  main.tl-app:has(.tl-sheet:not([hidden])) .tl-rail-handle { display: none; }
}

.tl-sheet.tl-in-dialog { position: static; width: auto; height: auto; border: 0; box-shadow: none; background: none; display: block; }
.tl-sheet.tl-in-dialog .tl-sheet-head { display: none; }
.tl-sheet.tl-in-dialog .tl-sheet-body { padding: 4px 0 0; overflow: visible; }
.tl-sheet.tl-in-dialog .tl-sheet-foot { position: sticky; bottom: 0; margin: 12px -22px -14px; padding: 14px 22px; background: var(--bg); }
#seo-filter-dialog[data-fd-active="telecoms"] .seo-filter-dialog-foot { display: none; }
.seo-fd-telecoms { padding: 4px 22px 14px; }

main.tl-app .tl-sheet.tl-in-dialog, .tl-sheet.tl-in-dialog { position: static; left: auto; right: auto; top: auto; bottom: auto; width: auto; max-width: none; height: auto; border: 0; box-shadow: none; display: block; }
.seo-fd-telecoms { padding: 4px 22px 0; }
@media (min-width: 769px) {
  .tl-in-dialog .tl-sec[data-sec="more"] { columns: 2; column-gap: 40px; }
  .tl-in-dialog .tl-sec[data-sec="more"] > .tl-sec-h, .tl-in-dialog .tl-sec[data-sec="more"] > .tl-ask { column-span: all; }
  .tl-in-dialog .tl-group { break-inside: avoid; }
}
.tl-sheet.tl-in-dialog .tl-sheet-foot { position: sticky; bottom: 0; z-index: 2; margin: 16px -22px 0; padding: 14px 22px; background: #fff; border-top: 1px solid var(--border); }

.tl-agents { margin: 16px 0 0; }
.tl-agents-h { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; font-size: 12.5px; font-weight: 600; color: var(--text-secondary); }
.tl-agents-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-ag { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 9px 0 5px; box-sizing: border-box; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; font: 600 12px var(--font); color: var(--text-secondary); }
.tl-ag:hover { border-color: var(--border-hover); background: var(--bg); }
.tl-ag-logo { width: 22px; height: 22px; border-radius: 4px; object-fit: contain; display: block; }
.tl-ag-mono { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 4px; background: var(--nav-tile-bg); color: var(--text); font-size: 9.5px; font-weight: 800; }
main.tl-app .tl-rail .tl-agents + .tl-open-more { margin-top: 12px; }
@media (max-width: 1199px) { main.tl-app .tl-rail .tl-agents { display: none; } }
@media (min-width: 769px) and (max-width: 1199px) { main.tl-app .tl-rail-body { flex: 1; min-width: 0; width: 100%; } }
@media (max-width: 768px) { main.tl-app .tl-rail-body { min-width: 0; } }

.tl-search { position: relative; }
.tl-search-ico { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--brand-dark); pointer-events: none; }

@media (min-width: 1200px) {
  main.tl-app .tl-rail { display: flex; flex-direction: column; }
  main.tl-app .tl-rail-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
  main.tl-app .tl-rail .tl-strip { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  main.tl-app .tl-rail .tl-ops { flex: 0 1 auto; min-height: 0; overflow-y: auto; align-content: start; gap: 6px; padding: 1px; }
  main.tl-app .tl-rail .tl-op { height: 38px; padding: 0 8px 0 6px; column-gap: 6px; }
  main.tl-app .tl-rail .tl-op .tl-logo { width: 20px; height: 20px; }
  main.tl-app .tl-rail .tl-op .tl-op-name { font-size: 12px; }
  main.tl-app .tl-rail .tl-op .tl-n { font-size: 11px; }
  main.tl-app .tl-rail .tl-agents, main.tl-app .tl-rail .tl-open-more { flex: none; }
  main.tl-app .tl-rail .tl-kind { flex: none; }
}

main.tl-app .seo-split.seo-view-list .seo-sidebar { width: auto; flex: 1 1 auto; min-width: 0; }

@media (max-width: 768px) {
  main.tl-app .tl-rail { padding: 10px 0 10px; margin: 0; }
  main.tl-app .tl-rail .tl-strip-head, main.tl-app .tl-rail .tl-open-more, main.tl-app .tl-rail .tl-agents { display: none; }
  main.tl-app .tl-rail .tl-kind { margin: 0 0 8px; padding: 2px; }
  main.tl-app .tl-rail .tl-kind-b { flex-direction: row; gap: 5px; height: 30px; font-size: 13px; }
  main.tl-app .tl-rail .tl-ops { padding-bottom: 2px; scrollbar-width: none; }
  main.tl-app .tl-rail .tl-ops::-webkit-scrollbar { display: none; }
  main.tl-app .tl-rail .tl-op { height: 34px; padding: 0 9px 0 5px; }
  main.tl-app .tl-rail .tl-op .tl-logo { width: 20px; height: 20px; }
}

.tl-ops-wrap { position: relative; }
.tl-ops-next { display: none; }
@media (max-width: 768px) {
  main.tl-app .tl-rail .tl-ops { margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 44px; scroll-behavior: smooth;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); }
  main.tl-app .tl-rail .tl-ops.is-end { -webkit-mask-image: none; mask-image: none; }
  main.tl-app .tl-ops-next {
    display: inline-flex; align-items: center; justify-content: center; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 30px; height: 30px; padding: 0; border-radius: 999px; background: #fff; border: 1px solid var(--border-hover); box-shadow: var(--shadow-sm); color: var(--text); cursor: pointer;
  }
  main.tl-app .tl-ops-next svg { width: 16px; height: 16px; }
  main.tl-app .tl-ops-next[hidden] { display: none; }
}

@media (min-width: 1200px) {
  main.tl-app:has(.tl-sheet:not([hidden])) .tl-rail-handle { display: inline-flex; }
}

.tl-sheet.tl-in-dialog .tl-sheet-foot { display: none; }
#seo-filter-dialog[data-fd-active="telecoms"] .seo-filter-dialog-foot { display: flex; }

@media (min-width: 769px) and (max-width: 1199px) { main.tl-app .tl-rail .tl-ops-wrap { flex: 1; min-width: 0; } }

@media (max-width: 768px) {
  main.tl-app .tl-rail { border-bottom: 0; margin-bottom: 0; padding-bottom: 4px; }
}

.tl-agents-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tl-ag { justify-content: flex-start; width: 100%; }

.tl-ag-table .tl-cell { display: inline-flex; align-items: center; gap: 8px; }

main.tl-app .seo-list-header { flex-wrap: wrap; row-gap: 8px; }
main.tl-app .seo-list-header > :first-child { white-space: normal; min-width: 0; }

.tl-sheet:not(.tl-paid) [data-sec="more"] .tl-chip,
.tl-sheet:not(.tl-paid) [data-sec="more"] .tl-ref-in,
.tl-sheet:not(.tl-paid) [data-sec="more"] .tl-ref-go { opacity: .5; }
.tl-sheet:not(.tl-paid) [data-sec="more"] .tl-chip { position: relative; padding-left: 26px; }
.tl-sheet:not(.tl-paid) [data-sec="more"] .tl-chip::before {
  content: ""; position: absolute; left: 9px; top: 50%; width: 11px; height: 11px; transform: translateY(-50%);
  background: currentColor; opacity: .8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tl-sheet:not(.tl-paid) [data-sec="more"] .tl-ask[data-ask="plan"][hidden] { display: block !important; margin: 0 0 14px; }

main.tl-app .tl-rail .tl-op.tl-op-extra { display: none; }
.tl-ops-all { display: block; width: 100%; margin: 8px 0 0; padding: 6px 0; background: none; border: 0; font: 600 13px var(--font); color: var(--brand-dark); text-align: left; cursor: pointer; }
.tl-ops-all:hover { text-decoration: underline; }
.tl-ops-all[hidden] { display: none; }
@media (max-width: 1199px) { .tl-ops-all { display: none !important; } main.tl-app .tl-rail .tl-op.tl-op-extra { display: inline-flex; } }
main.tl-app .tl-rail .tl-op.tl-op-none:not(.is-on) { display: none; }

@media (min-width: 1200px) {
  main.tl-app .tl-rail .tl-ops-wrap { flex: 0 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; }
  main.tl-app .tl-rail .tl-ops { overflow: visible; }
  main.tl-app .tl-rail .tl-ops-all, main.tl-app .tl-rail .tl-agents, main.tl-app .tl-rail .tl-open-more { flex: none; }
}

@media (min-width: 1200px) {
  main.tl-app .tl-rail .tl-strip { display: flex; flex-direction: column; height: 100%; min-height: 0; }
  main.tl-app .tl-rail .tl-ops-wrap { flex: 1 1 auto; min-height: 0; overflow: hidden; }
  main.tl-app .tl-rail .tl-ops-wrap:has(+ .tl-ops-all[aria-expanded="true"]) { overflow-y: auto; }
  main.tl-app .tl-rail .tl-ops { align-content: start; }
  main.tl-app .tl-rail .tl-ops-all { flex: none; margin: 6px 0 0; }
  main.tl-app .tl-rail .tl-agents { flex: none; margin-top: 12px; }
  main.tl-app .tl-rail .tl-open-more { flex: none; margin-top: 12px; }
}

.tl-head-search .seo-search { display: flex; gap: 6px; max-width: none; margin: 0; }
.tl-head-search .search-input { flex: 1; min-width: 0; height: 40px; box-sizing: border-box; padding: 0 10px 0 36px; font-size: 14px; border: 1.5px solid var(--border-hover); border-radius: var(--radius); }
.tl-head-search .search-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; box-sizing: border-box; padding: 0 14px; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.tl-head-search .tl-search-go { display: none; width: 18px; height: 18px; }

@media (max-width: 768px), (min-width: 1200px) {
  main.tl-app .tl-head-search .search-btn { width: 42px; padding: 0; }
  main.tl-app .tl-head-search .tl-search-go { display: block; }
  main.tl-app .tl-head-search .tl-search-btn-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 768px) {
  main.seo-page-wide .tl-head-search { order: 4; grid-column: 2 / 5; min-width: 0; margin: 12px 0 0; }
  .tl-head-search .search-input { height: 44px; font-size: 16px; } 
  main.tl-app .tl-head-search .search-btn { height: 44px; width: 46px; }
}
@media (min-width: 769px) and (max-width: 1199px) {
  main.tl-app .seo-toolbar:has(> .tl-head-search) { flex-wrap: wrap; }
  main.tl-app .tl-head-search { order: 2; flex: 0 0 100%; margin: 12px 0 0; }
}
@media (min-width: 1200px) {
  
  main.tl-app { --tl-rail: 320px; }
  main.tl-app .tl-head-search { position: absolute; top: 16px; bottom: 12px; right: var(--tl-g); width: calc(var(--tl-rail) - var(--tl-g)); display: flex; align-items: center; }
  main.tl-app .tl-head-search .seo-search { width: 100%; gap: 4px; }
  main.tl-app .tl-head-search .search-input { padding-left: 32px; font-size: 13.5px; }
  main.tl-app .tl-head-search .tl-search-ico { left: 9px; }
  
  main.tl-app .tl-rail { padding-right: var(--tl-g); }
}

@media (min-width: 1200px) {
  main.tl-app .tl-rail .tl-op { height: auto; min-height: 38px; padding-top: 5px; padding-bottom: 5px; }
  main.tl-app .tl-rail .tl-op .tl-op-name { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
}

@media (max-width: 1199px) {
  main.tl-app .tl-rail .tl-ops-wrap { position: static; min-width: 0; overflow: visible; }
  main.tl-app .tl-rail .tl-ops {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px;
    overflow: visible; margin: 0; padding: 0; -webkit-mask-image: none; mask-image: none;
  }
  main.tl-app .tl-rail .tl-op { width: 100%; min-width: 0; height: auto; min-height: 38px; padding: 5px 8px 5px 6px; }
  main.tl-app .tl-rail .tl-op .tl-op-name { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; min-width: 0; }
  main.tl-app .tl-rail .tl-op.tl-op-extra:not(.is-on) { display: none; }
  .tl-ops-all { display: block !important; }
  .tl-ops-all[hidden] { display: none !important; }
  .tl-ops-next { display: none !important; }
}

@media (min-width: 769px) and (max-width: 1199px) {
  main.tl-app .tl-rail .tl-strip { flex-wrap: wrap; row-gap: 10px; }
  main.tl-app .tl-rail .tl-strip-head { order: 1; }
  main.tl-app .tl-rail .tl-kind { order: 2; }
  main.tl-app .tl-rail .tl-open-more { order: 3; margin-left: auto; }
  main.tl-app .tl-rail .tl-ops-wrap { order: 4; flex: 0 0 100%; }
  main.tl-app .tl-rail .tl-ops-all { order: 5; flex: 0 0 100%; margin: 0; padding: 0; }
  main.tl-app .tl-rail .tl-ask, main.tl-app .tl-rail .tl-state { order: 6; flex: 0 0 100%; }
  main.tl-app .seo-sidebar, main.tl-app .seo-map { height: calc(calc(100vh / var(--bs-zoom, 1)) - var(--split-offset) - var(--tl-bar-h, 62px)); }
}

@media (max-width: 768px) {
  main.tl-app .tl-rail .tl-ops { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

@media (max-width: 1199px) {
  main.tl-app .seo-pills, main.tl-app .seo-sidebar-towns { flex-wrap: wrap; overflow-x: visible; }
  main.tl-app .seo-search .search-input { min-width: 0; }
}

@media (max-width: 560px) {
  .tl-table-wrap { overflow-x: visible; }
  .tl-table, .tl-table tbody { display: block; width: 100%; }
  .tl-table thead { display: none; }
  .tl-table tr { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .tl-table tbody th { flex: 0 0 100%; padding: 0; border: 0; }
  .tl-table td, .tl-table td.tl-n { width: auto; padding: 0; border: 0; text-align: left; white-space: normal; font-size: 13px; color: var(--text-secondary); }
  .tl-table td::before { content: attr(data-label) " "; color: var(--text-muted); }
  .tl-table td.tl-filed { flex: 0 0 100%; }
}

.tl-drawn { margin: 0 0 12px; padding: 9px 12px; background: var(--filter-tint); border-radius: var(--radius); font-size: 13px; line-height: 1.45; color: var(--filter-accent); }
.tl-drawn.is-flash { box-shadow: 0 0 0 2px var(--filter-line); }
body.tl-drawn-on .tl-rail .tl-op, body.tl-drawn-on .tl-rail .tl-kind-b:not(.is-on) { opacity: .55; }

.tl-sell { margin: 0 0 16px; }
.tl-sheet.tl-paid .tl-sell { display: none; }
.tl-sheet:not(.tl-paid) .tl-alert { display: none; }
.tl-sell-who { margin: 0 0 10px; font-size: 13.5px; line-height: 1.55; color: var(--text-secondary); }
.tl-sell-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.tl-sell-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; line-height: 1.45; color: var(--text); }
.tl-sell-list svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--brand); }
.tl-sell-n { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--text-secondary); }
.tl-sell-n strong { color: var(--text); }
.tl-sell .tl-sell-gate { position: static; margin: 0; }
.tl-sell .seo-fdc-gate-plan svg { width: 11px; height: 11px; }
.tl-sheet:not(.tl-paid) [data-sec="more"] .tl-sell ~ .tl-ask[data-ask="plan"], .tl-sheet:not(.tl-paid) [data-sec="more"] .tl-sell ~ .tl-ask[data-ask="plan"][hidden] { display: none !important; }
