/* İp uzunluğu hesaplayıcısı (/tools/friendship-bracelet-string-length-calculator/) — tools.css üstüne yalnız bu sayfanın parçaları */
.sltool { grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); grid-template-areas: "name chart" "opts chart"; grid-template-rows: auto 1fr; }
.sltool .t-name .seg { margin-bottom: 16px; }
.sltool .t-name .grp { font-size: 13px; color: var(--c-ink-2); margin: 14px 0 6px; }
.sltool .namein { width: 100%; }
.sl-check { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 15px; }
.sl-chart { overflow-x: auto; margin-top: 12px; }
.sl-chart svg { max-width: 100%; height: auto; margin: 0 auto; display: block; max-height: 520px; }
.sl-chart .knot { cursor: pointer; }
.sl-chart .knot:hover circle { stroke-width: 2; }
.sltool .t-chart .h3x { margin: 0 0 4px; }
.sltool .t-chart .sl-srchead { margin-top: 22px; }
.sl-readout { margin-bottom: 16px; }
.sl-table th[scope="row"] { font-weight: 600; white-space: nowrap; }
.sl-table .sw, .sl-ex .sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--c-line); vertical-align: -1px; margin: 0 6px 0 0; }
.sl-tag { display: inline-block; font: 500 10.5px/1.5 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink-2); border: 1px solid var(--c-line); border-radius: 999px; padding: 0 7px; margin-left: 4px; vertical-align: 1px; }
.sl-tag-hi { color: var(--c-accent); border-color: currentColor; }
.sl-most th[scope="row"], .sl-most td { background: color-mix(in oklch, var(--c-accent) 6%, transparent); }
.sl-barcell { width: 32%; min-width: 90px; }
.sl-bar { display: block; height: 10px; border-radius: 5px; background: var(--c-line); overflow: hidden; }
.sl-bar i { display: block; height: 100%; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(27, 33, 64, .25); }
.sl-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sl-sources { margin: 8px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.5; color: var(--c-ink-2); }
.sl-sources li { margin: 4px 0; }
.sl-ex td:last-child { min-width: 180px; }
/* alpha kipinde legend'den sonraki ilk alan gizli olunca "legend + *" temizlemesi gizli alana düşüyordu; görünen alan float'lı legend'in yanına sıkışıp sağa taşıyordu */
.sltool .t-opts .gauge { clear: both; }
/* alpha tablosu 7 sütun: başlıklar ve ip adları kırılsın, çubuk sütunu ekranda yok */
.sl-table thead th { white-space: normal; vertical-align: bottom; }
.sl-table-a th[scope="row"] { white-space: normal; }
.sl-table-a .sl-barcell { display: none; }
.sl-ex thead th { white-space: normal; vertical-align: bottom; }
.sl-ex th[scope="row"] { white-space: normal; }
/* tools.css .kt-table th.n nowrap (0,2,1) başlıkları tek satırda tutuyordu */
.sl-table thead th.n, .sl-ex thead th.n { white-space: normal; }
/* brand.css son satırda yalnız td çizgisini kaldırıyor; satır başlığının (th) çizgisi yarım kalıyordu */
.sl-table tr:last-child th, .sl-ex tr:last-child th { border-bottom: 0; }
@media (max-width: 860px) {
  .sltool { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "opts" "chart"; grid-template-rows: none; }
  .sl-barcell { display: none; }
  .sl-table th[scope="row"] { white-space: normal; }
  .sl-table th, .sl-table td, .sl-ex th, .sl-ex td { padding: 9px 8px; }
  .sl-table thead th, .sl-ex thead th { letter-spacing: .04em; font-size: 10.5px; }
}
@media print {
  body[data-print="strings"] main > section.tool-hero { display: block; }
  body[data-print="strings"] .tool-hero .sechead, body[data-print="strings"] .sltool .t-name, body[data-print="strings"] .sltool .t-opts, body[data-print="strings"] .pj-savebar { display: none; }
  body[data-print="strings"] .sltool { display: block; }
  body[data-print="strings"] .sl-barcell { display: table-cell; }
  body[data-print="strings"] .sl-bar i, body[data-print="strings"] .sl-table .sw { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body[data-print="strings"] .sl-table tr { break-inside: avoid; }
  body[data-print="strings"] .sl-sources { color: #333; font-size: 9.5pt; }
}
