.tools-container:has(.tool-page-mixed-content-checker) {
  width: min(1280px, calc(100% - 32px));
  max-width: 1280px;
  padding-left: 28px;
  padding-right: 28px;
}
.tool-page.tool-page-mixed-content-checker,
.shared-result-main.tool-page-mixed-content-checker { width: 100%; max-width: 100%; min-width: 0; color: var(--tf-text); }
.mc-page, .mc-results, .mc-report, .mc-table-wrap, .mc-raw { min-width: 0; max-width: 100%; }
.tool-page-mixed-content-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;
}
.mc-mark {
  grid-area: mark;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #2459e0;
  color: #fff;
}
.tool-page-mixed-content-checker .tool-header h1 { grid-area: title; margin: 0; font-size: 34px; line-height: 1.1; }
.tool-page-mixed-content-checker .tool-description { grid-area: text; margin: 4px 0 0; }
.tool-page-mixed-content-checker .tf-back { grid-area: back; align-self: start; }
.mc-page { display: grid; gap: 20px; }
.mc-card, .mc-report {
  background: var(--tf-card); border: 1px solid var(--tf-line); border-radius: 16px; padding: 24px;
}
.mc-card h2, .mc-report h2, .mc-next h3 { margin: 0; color: var(--tf-text); }
.mc-lead { margin: 8px 0 18px; color: var(--tf-muted); line-height: 1.5; }
.mc-label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 650; }
.mc-field { margin-top: 16px; }
.mc-entry { display: flex; gap: 10px; align-items: center; position: relative; }
.mc-entry-icon { position: absolute; left: 14px; color: #5c6b82; display: grid; }
.tool-page-mixed-content-checker .mc-input,
.tool-page-mixed-content-checker .mc-select,
.shared-result-main.tool-page-mixed-content-checker .mc-input,
.shared-result-main.tool-page-mixed-content-checker .mc-select {
  width: 100%; height: 50px; border-radius: 12px; border: 1px solid var(--tf-line);
  background: #fff; color: #182b49; padding: 0 16px; font-family: inherit; font-size: 16px; line-height: 1.4;
}
.tool-page-mixed-content-checker .mc-input { padding-left: 42px; }
.mc-entry .mc-input { flex: 1; min-width: 0; }
.mc-submit, .mc-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;
}
.mc-submit:disabled { opacity: 0.7; cursor: progress; }
.mc-hint { margin: 8px 0 0; color: var(--tf-muted); font-size: 14px; line-height: 1.45; }
.mc-note, .mc-footnote, .mc-sample, .mc-banner {
  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;
}
.mc-banner { flex-direction: column; gap: 4px; background: #ecfdf3; }
.mc-banner.is-warn { background: #fff7ed; }
.mc-banner strong, .mc-banner span { display: block; }
.mc-error { margin: 12px 0 0; color: #b42318; }
.mc-error[hidden], .mc-intro[hidden], [hidden] { display: none !important; }
.mc-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr); gap: 16px; }
.mc-look { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.mc-look article, .mc-rel { border: 1px solid var(--tf-line); border-radius: 14px; padding: 14px; }
.mc-look article { display: flex; gap: 10px; }
.mc-ico, .mc-rel-icon {
  width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 10px; background: #eef3ff; color: #2459e0;
}
.mc-look h3, .mc-steps strong { margin: 0 0 4px; font-size: 15px; }
.mc-look p, .mc-steps span, .mc-rel span span, .mc-covers p { margin: 0; color: var(--tf-muted); font-size: 13px; line-height: 1.45; }
.mc-steps { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 12px; counter-reset: mcstep; }
.mc-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.mc-steps li::before { counter-increment: mcstep; content: counter(mcstep); width: 28px; height: 28px; border-radius: 999px; background: #2459e0; color: #fff; display: grid; place-items: center; font-weight: 700; }
.mc-steps strong, .mc-steps li span { display: block; }
.mc-steps li span { margin-top: 4px; }
.mc-sample-link { border: 0; background: transparent; color: #2459e0; font-weight: 700; cursor: pointer; padding: 0; }
.mc-faq details { border-top: 1px solid var(--tf-line); }
.mc-faq summary {
  display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; cursor: pointer; font-weight: 650; list-style: none;
}
.mc-faq summary::-webkit-details-marker { display: none; }
.mc-faq summary::marker { content: ""; }
.mc-faq summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid #5c6b82; border-bottom: 2px solid #5c6b82; transform: rotate(45deg); }
.mc-faq details[open] summary::after { transform: rotate(-135deg); }
.mc-faq details:not([open]) > :not(summary) { display: none; }
.mc-faq { margin-top: 6px; }
.mc-faq p { margin: 0 0 16px; color: var(--tf-muted); line-height: 1.55; }
.mc-related { margin-top: 8px; }
.mc-related-head h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.3; }
.mc-related-head p { margin: 0 0 16px; color: var(--tf-muted); line-height: 1.5; }
.mc-rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mc-rel { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; background: var(--tf-card); }
.mc-rel strong, .mc-rel span span { display: block; }
.mc-rel-icon.https { background: #ecfdf3; color: #067647; }
.mc-rel-icon.ssl { background: #eef2ff; color: #4f46e5; }
.mc-report-head, .mc-actions { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.mc-report > .mc-actions { margin-top: 18px; }
.mc-kicker-result { margin: 4px 0 0; color: var(--tf-muted); font-size: 13px; }
.mc-share, .mc-actions button, .mc-tabs button, .mc-panel-raw button, #mc-panel-raw 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;
}
.mc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.mc-stats article { border: 1px solid var(--tf-line); border-radius: 14px; padding: 16px; }
.mc-stats b { display: block; font-size: 28px; line-height: 1.1; }
.mc-stats span, .mc-final span { color: var(--tf-muted); }
.mc-final { display: flex; gap: 12px; align-items: baseline; margin: 14px 0 0; overflow-wrap: anywhere; }
.mc-final code, .mc-value { overflow-wrap: anywhere; word-break: break-word; }
.mc-tabs { display: flex; gap: 10px; margin: 18px 0; flex-wrap: wrap; }
.mc-tabs button[aria-selected="true"] { color: #2459e0; border-color: #2459e0; }
.mc-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.tool-page-mixed-content-checker .mc-table th,
.tool-page-mixed-content-checker .mc-table td,
.shared-result-main.tool-page-mixed-content-checker .mc-table th,
.shared-result-main.tool-page-mixed-content-checker .mc-table td {
  text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--tf-line); vertical-align: top; line-height: 1.5;
}
.tool-page-mixed-content-checker .mc-table th,
.shared-result-main.tool-page-mixed-content-checker .mc-table th { font-size: 13px; color: var(--tf-muted); font-weight: 650; }
.mc-clear { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 28px 12px; }
.mc-clear span { color: var(--tf-muted); }
.mc-covers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.mc-covers article { border: 1px solid var(--tf-line); border-radius: 14px; padding: 14px; }
.mc-covers h4, .mc-kv dt { margin: 0 0 4px; }
.mc-next { margin-top: 18px; }
.mc-kv { display: grid; gap: 10px; margin: 0; }
.mc-kv div { display: grid; gap: 2px; }
.mc-kv dt { color: var(--tf-muted); font-size: 13px; }
.mc-kv dd { margin: 0; }
.mc-raw-note { margin: 0 0 8px; color: var(--tf-muted); }
.mc-raw {
  margin: 0 0 12px; max-height: 240px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.5;
  padding: 12px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--tf-line);
}
.mc-limits { display: grid; gap: 8px; margin: 14px 0 0; padding: 0 0 0 18px; color: var(--tf-muted); line-height: 1.5; }
.mc-results { scroll-margin-top: 96px; }
.mc-submit:focus-visible, .mc-select:focus-visible, .mc-input:focus-visible, .mc-tabs button:focus-visible,
.mc-actions button:focus-visible, .mc-share:focus-visible, .mc-sample-link:focus-visible, .mc-faq summary:focus-visible, #mc-panel-raw button:focus-visible {
  outline: 2px solid #2459e0; outline-offset: 2px;
}
[data-theme="dark"] .tool-page-mixed-content-checker .mc-input,
[data-theme="dark"] .tool-page-mixed-content-checker .mc-select,
[data-theme="dark"] .mc-related .mc-rel,
[data-theme="dark"] .tool-page-mixed-content-checker .mc-share,
[data-theme="dark"] .tool-page-mixed-content-checker .mc-actions button,
[data-theme="dark"] .shared-result-main.tool-page-mixed-content-checker .mc-share,
[data-theme="dark"] .shared-result-main.tool-page-mixed-content-checker .mc-actions button,
[data-theme="dark"] .mc-raw { background: #070d18; color: var(--tf-text); }
[data-theme="dark"] .mc-note, [data-theme="dark"] .mc-footnote, [data-theme="dark"] .mc-ico { background: #13203a; }
[data-theme="dark"] .mc-banner.is-warn { background: #3a2a14; }
[data-theme="dark"] .mc-banner { background: #123024; }
@media (max-width: 860px) {
  .tool-page-mixed-content-checker .tool-header { grid-template-columns: auto 1fr; grid-template-areas: "mark title" "text text" "back back"; }
  .tool-page-mixed-content-checker .tool-header h1 { font-size: 28px; }
}
@media (max-width: 900px) {
  .mc-split, .mc-stats, .mc-covers, .mc-rel-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .mc-entry, .mc-report-head, .mc-actions, .mc-final { flex-direction: column; align-items: stretch; }
  .mc-submit, .mc-share { width: 100%; }
  .mc-split, .mc-look, .mc-stats, .mc-covers, .mc-rel-grid { grid-template-columns: 1fr; }
  .mc-table thead { display: none; }
  .mc-table, .mc-table tbody, .mc-table tr, .mc-table td { display: block; width: auto; }
  .mc-table tr { padding: 14px 0; border-bottom: 1px solid var(--tf-line); }
  .tool-page-mixed-content-checker .mc-table td,
  .shared-result-main.tool-page-mixed-content-checker .mc-table td { border: 0; padding: 0 0 8px; }
  .mc-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: var(--tf-muted); font-size: 12px; font-weight: 650; }
}
