.tools-container:has(.tool-page-https-redirect-checker) {
  width: min(1280px, calc(100% - 32px));
  max-width: 1280px;
  padding-left: 28px;
  padding-right: 28px;
}
.tool-page.tool-page-https-redirect-checker,
.shared-result-main.tool-page-https-redirect-checker { width: 100%; max-width: 100%; min-width: 0; color: var(--tf-text); }
.rd-page, .rd-results, .rd-report, .rd-table-wrap, .rd-chain { min-width: 0; max-width: 100%; }
.tool-page-https-redirect-checker .tool-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "mark title back" "mark text back";
  column-gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}
.rd-mark {
  grid-area: mark;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #2459e0;
  color: #fff;
}
.tool-page-https-redirect-checker .tool-header h1 { grid-area: title; margin: 0; font-size: 34px; line-height: 1.1; }
.tool-page-https-redirect-checker .tool-description { grid-area: text; margin: 4px 0 0; }
.tool-page-https-redirect-checker .tf-back { grid-area: back; align-self: start; }
.rd-page { display: grid; gap: 20px; }
.rd-card, .rd-report {
  background: var(--tf-card);
  border: 1px solid var(--tf-line);
  border-radius: 16px;
  padding: 24px;
}
.rd-card h2, .rd-report h2, .rd-report h3 { margin: 0; color: var(--tf-text); }
.rd-report h3 { margin-top: 22px; }
.rd-lead { margin: 8px 0 18px; color: var(--tf-muted); line-height: 1.5; }
.rd-label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 650; }
.rd-entry { display: flex; gap: 10px; align-items: center; position: relative; }
.rd-entry-icon { position: absolute; left: 14px; color: #5c6b82; display: grid; }
.tool-page-https-redirect-checker .rd-input,
.shared-result-main.tool-page-https-redirect-checker .rd-input {
  width: 100%; height: 50px; border-radius: 12px; border: 1px solid var(--tf-line);
  background: #fff; color: #182b49; padding: 0 16px 0 42px; font-family: inherit; font-size: 16px; line-height: 1.4;
}
.rd-entry .rd-input { flex: 1; min-width: 0; }
.rd-submit, .rd-retry {
  height: 50px; padding: 0 18px; border: 0; border-radius: 12px; background: #2459e0; color: #fff;
  font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.rd-submit:disabled { opacity: 0.7; cursor: progress; }
.rd-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; }
.rd-check input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; }
.rd-check strong, .rd-check-help { display: block; }
.rd-check-help, .rd-muted, .rd-note-line { color: var(--tf-muted); line-height: 1.5; }
.rd-check-help { margin-top: 4px; font-size: 14px; }
.rd-note, .rd-sample, .rd-banner, .rd-alert {
  display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px;
  border-radius: 12px; background: #eef3ff; color: var(--tf-text); line-height: 1.5;
}
.rd-banner, .rd-alert { flex-direction: column; gap: 4px; }
.rd-banner.is-ok { background: #ecfdf3; }
.rd-banner.is-warn, .rd-alert { background: #fff7ed; }
.rd-banner.is-bad { background: #fef3f2; }
.rd-banner strong, .rd-banner span, .rd-alert strong, .rd-alert span { display: block; }
.rd-error { margin: 12px 0 0; color: #b42318; }
.rd-error[hidden], .rd-intro[hidden], [hidden] { display: none !important; }
.rd-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr); gap: 16px; }
.rd-look { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.rd-look article, .rd-rel { border: 1px solid var(--tf-line); border-radius: 14px; padding: 14px; }
.rd-look article { display: flex; gap: 10px; }
.rd-ico, .rd-rel-icon {
  width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 10px; background: #eef3ff; color: #2459e0;
}
.rd-look h3, .rd-steps strong { margin: 0 0 4px; font-size: 15px; }
.rd-look p, .rd-steps span, .rd-rel span span { margin: 0; color: var(--tf-muted); font-size: 13px; line-height: 1.45; }
.rd-steps { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 12px; }
.rd-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.rd-steps li > span { width: 28px; height: 28px; border-radius: 999px; background: #2459e0; color: #fff; display: grid; place-items: center; font-weight: 700; }
.rd-steps strong, .rd-steps li div span { display: block; }
.rd-sample-link { border: 0; background: transparent; color: #2459e0; font-weight: 700; cursor: pointer; padding: 0; }
.rd-faq details, .rd-details { border-top: 1px solid var(--tf-line); }
.rd-faq summary, .rd-details summary {
  display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; cursor: pointer; font-weight: 650; list-style: none;
}
.rd-faq summary::-webkit-details-marker, .rd-details summary::-webkit-details-marker { display: none; }
.rd-faq summary::marker, .rd-details summary::marker { content: ""; }
.rd-faq summary::after, .rd-details summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid #5c6b82; border-bottom: 2px solid #5c6b82; transform: rotate(45deg); }
.rd-faq details[open] summary::after, .rd-details[open] summary::after { transform: rotate(-135deg); }
.rd-faq details:not([open]) > :not(summary), .rd-details:not([open]) > :not(summary) { display: none; }
.rd-faq { margin-top: 6px; }
.rd-faq p, .rd-kv dd { margin: 0 0 16px; color: var(--tf-muted); line-height: 1.55; }
.rd-related { margin-top: 8px; }
.rd-related-head h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.3; }
.rd-related-head p { margin: 0 0 16px; color: var(--tf-muted); line-height: 1.5; }
.rd-rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rd-rel { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; background: var(--tf-card); }
.rd-rel strong, .rd-rel span span { display: block; }
.rd-rel-icon.ssl { background: #eef2ff; color: #4f46e5; }
.rd-rel-icon.headers { background: #ecfdf3; color: #067647; }
.rd-report-head, .rd-actions { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.rd-report > .rd-export { margin-top: 18px; }
.rd-share, .rd-actions button {
  border: 1px solid var(--tf-line); background: var(--tf-card); color: var(--tf-text); border-radius: 10px; padding: 8px 12px; font-weight: 650; cursor: pointer; font-family: inherit;
}
.rd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rd-badge, .rd-pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 700; }
.rd-badge { background: #eef3ff; color: #1d3f91; }
.rd-pill-ok { background: #ecfdf3; color: #067647; }
.rd-pill-warn { background: #fff7ed; color: #9a3412; }
.rd-pill-bad { background: #fef3f2; color: #b42318; }
.rd-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.rd-stats article { border: 1px solid var(--tf-line); border-radius: 14px; padding: 16px; }
.rd-stats b { display: block; font-size: 28px; line-height: 1.1; }
.rd-stats span, .rd-final span { color: var(--tf-muted); }
.rd-final { display: flex; gap: 12px; align-items: baseline; margin: 14px 0 0; }
.rd-final code, .rd-value, .rd-node { overflow-wrap: anywhere; word-break: break-word; }
.rd-chain { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.rd-node { border: 1px solid var(--tf-line); border-radius: 12px; padding: 10px 12px; max-width: 100%; }
.rd-arrow { display: grid; justify-items: center; color: var(--tf-muted); font-size: 13px; }
.rd-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.tool-page-https-redirect-checker .rd-table th,
.tool-page-https-redirect-checker .rd-table td,
.shared-result-main.tool-page-https-redirect-checker .rd-table th,
.shared-result-main.tool-page-https-redirect-checker .rd-table td {
  text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--tf-line); vertical-align: top; line-height: 1.5;
}
.tool-page-https-redirect-checker .rd-table th,
.shared-result-main.tool-page-https-redirect-checker .rd-table th { font-size: 13px; color: var(--tf-muted); font-weight: 650; }
.rd-kv { display: grid; gap: 10px; margin: 0; }
.rd-kv div { display: grid; gap: 2px; }
.rd-kv dt { color: var(--tf-muted); font-size: 13px; }
.rd-kv dd { margin: 0; }
.rd-submit:focus-visible, .rd-input:focus-visible, .rd-check input:focus-visible, .rd-actions button:focus-visible,
.rd-share:focus-visible, .rd-sample-link:focus-visible, .rd-faq summary:focus-visible, .rd-details summary:focus-visible, .rd-retry:focus-visible {
  outline: 2px solid #2459e0; outline-offset: 2px;
}
[data-theme="dark"] .tool-page-https-redirect-checker .rd-input,
[data-theme="dark"] .rd-related .rd-rel,
[data-theme="dark"] .tool-page-https-redirect-checker .rd-share,
[data-theme="dark"] .tool-page-https-redirect-checker .rd-actions button,
[data-theme="dark"] .shared-result-main.tool-page-https-redirect-checker .rd-share,
[data-theme="dark"] .shared-result-main.tool-page-https-redirect-checker .rd-actions button { background: #070d18; color: var(--tf-text); }
[data-theme="dark"] .rd-note, [data-theme="dark"] .rd-ico { background: #13203a; }
[data-theme="dark"] .rd-banner.is-ok { background: #123024; }
[data-theme="dark"] .rd-banner.is-warn, [data-theme="dark"] .rd-alert { background: #3a2a14; }
[data-theme="dark"] .rd-banner.is-bad { background: #3a1714; }
@media (max-width: 860px) {
  .tool-page-https-redirect-checker .tool-header { grid-template-columns: auto 1fr; grid-template-areas: "mark title" "text text" "back back"; }
  .tool-page-https-redirect-checker .tool-header h1 { font-size: 28px; }
}
@media (max-width: 900px) {
  .rd-split, .rd-stats, .rd-rel-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .rd-entry, .rd-report-head, .rd-actions, .rd-final { flex-direction: column; align-items: stretch; }
  .rd-submit, .rd-share { width: 100%; }
  .rd-split, .rd-look, .rd-stats, .rd-rel-grid { grid-template-columns: 1fr; }
  .rd-table thead { display: none; }
  .rd-table, .rd-table tbody, .rd-table tr, .rd-table td { display: block; width: auto; }
  .rd-table tr { padding: 14px 0; border-bottom: 1px solid var(--tf-line); }
  .tool-page-https-redirect-checker .rd-table td,
  .shared-result-main.tool-page-https-redirect-checker .rd-table td { border: 0; padding: 0 0 8px; }
  .rd-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--tf-muted); font-size: 12px; font-weight: 650; }
}
