.quick-check-page {
  background: #f5f7fa;
}
.check-intro {
  max-width: 860px;
  margin: 0 auto;
  padding: 165px 24px 48px;
  text-align: center;
}
.check-intro h1 {
  margin: 18px 0 24px;
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}
.check-intro h1 span {
  color: var(--blue);
}
.check-intro > p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.7;
}
.domain-form {
  margin-top: 32px;
  text-align: left;
}
.domain-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.85rem;
  font-weight: 650;
}
.domain-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  background: white;
  border: 1px solid #b5c3d3;
  border-radius: 12px;
  box-shadow: 0 8px 30px #15263e08;
}
.domain-field > span {
  color: var(--blue);
  font-size: 1.5rem;
}
.domain-field input {
  flex: 1;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  font: inherit;
  color: var(--ink);
  background: transparent;
}
.domain-field:focus-within {
  outline: 3px solid #0770ff30;
  border-color: var(--blue);
}
.domain-field input:focus {
  outline: none;
}
.domain-field .button {
  border: 0;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}
.domain-field button:disabled {
  opacity: 0.65;
  cursor: wait;
}
#check-scope {
  margin: 12px 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.8rem;
}
.check-intro > .check-privacy {
  font-size: 0.75rem;
}
.check-privacy a {
  text-decoration: underline;
}
.check-intro > .check-status {
  margin-top: 18px;
  font-size: 0.9rem;
}
.check-intro > .check-error {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid #eeb0b0;
  border-radius: 8px;
  color: #9a2525;
  background: #fff2f2;
}
.check-results {
  max-width: 1240px;
  padding: 16px 24px 60px;
  margin: 0 auto;
  scroll-margin-top: 110px;
}
.result-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.result-caption p {
  font-size: 0.8rem;
  color: var(--muted);
}
.admin-window {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  border: 1px solid #ccd5df;
  border-radius: 12px;
  overflow: hidden;
  background: #edf1f5;
  box-shadow: 0 24px 70px #15263e12;
}
.admin-sidebar {
  background: #24364b;
  color: #fff;
  padding: 22px 12px;
}
.admin-logo {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 9px 32px;
  color: #51b4ff;
  font-size: 1.65rem;
  font-weight: 750;
}
.admin-logo span {
  font-size: 0.76rem;
  color: white;
  font-weight: 500;
}
.admin-nav-label {
  margin: 10px 8px 16px;
  font-size: 0.6rem;
  color: #a8bbce;
  letter-spacing: 0.08em;
}
.admin-nav-current {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #354e6c;
  border-left: 3px solid #38aaff;
  border-radius: 4px;
  font-size: 0.85rem;
}
.admin-sidebar-note {
  margin: 35px 10px;
  font-size: 0.7rem;
  line-height: 1.8;
}
.admin-sidebar-note span {
  color: #a8bbce;
}
.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background: white;
  border-bottom: 1px solid #dce2e8;
  font-size: 0.72rem;
  color: #64778a;
}
.admin-topbar > span > span {
  margin: 0 9px;
}
.preview-badge {
  color: #0877c9;
  font-weight: 650;
}
.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 25px 24px;
}
.admin-heading h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.admin-heading h2 span {
  color: #7e8c9b;
  font-weight: 400;
}
.admin-heading p {
  margin: 0;
  color: #637588;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}
.complete-badge {
  flex-shrink: 0;
  color: #17764f;
  background: #dcefe5;
  padding: 7px 10px;
  font-size: 0.66rem;
  border-radius: 4px;
}
.admin-tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 24px;
  border-bottom: 1px solid #cbd5e0;
  color: #637588;
  font-size: 0.75rem;
}
.admin-tabs > span:first-child {
  padding: 12px 2px;
  border-bottom: 2px solid #189eff;
  color: #0877c9;
  font-weight: 650;
}
.admin-tabs b {
  margin-left: 5px;
  background: #e0e9f2;
  padding: 2px 7px;
  border-radius: 3px;
}
.issue-list {
  margin: 20px 24px 0;
  background: white;
  border: 1px solid #d5dde6;
  border-radius: 5px;
  overflow: hidden;
}
/* ShopAgent entity listing: task, affected items and five-star importance. */
.issue-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.8rem;
}
.task-column {
  width: auto;
}
.importance-column {
  width: 140px;
}
.issue-table th {
  height: 58px;
  padding: 16px 20px;
  font-size: 0.76rem;
  font-weight: 650;
  text-align: left;
  border-bottom: 1px solid #ccd3dc;
}
.issue-table th + th,
.issue-table td + td {
  border-left: 1px solid #dce1e8;
}
.issue-table td {
  padding: 20px;
  vertical-align: top;
  border-bottom: 1px solid #e5e9ef;
}
.issue-table tbody tr:nth-child(even) {
  background: #f8f9fc;
}
.issue-table summary {
  color: #1475c5;
  cursor: pointer;
  line-height: 1.5;
}
.issue-table summary:focus-visible {
  outline: 2px solid #0770ff;
  outline-offset: 4px;
}
.issue-table details p {
  color: #617287;
  font-size: 0.75rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  margin: 12px 0 0;
}
.issue-table .issue-solution {
  color: #275c88;
}
.importance-stars {
  display: inline-flex;
  gap: 1px;
  white-space: nowrap;
  font-size: 1rem;
  line-height: 1.5;
}
.star-filled {
  color: #f1c400;
}
.star-empty {
  color: #b7bec6;
}
#locked-issues {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: #f9fafc;
}
#pixel-rows {
  opacity: 0.75;
  overflow: hidden;
}
.pixel-row {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 94px;
  padding: 20px;
  border-bottom: 1px solid #dce2e8;
  filter: blur(1px);
}
.pixel-row span {
  display: block;
  height: 26px;
  background:
    repeating-linear-gradient(90deg, #bdc9d8 0 7px, transparent 7px 11px),
    repeating-linear-gradient(0deg, #dce2eb 0 6px, #a9b9ca 6px 12px);
  image-rendering: pixelated;
}
.pixel-title {
  width: 65%;
}
.pixel-badge {
  width: 46px;
  margin-left: auto;
}
.unlock-card {
  position: absolute;
  inset: 30px 9%;
  border: 1px solid #d5dde6;
  border-radius: 8px;
  box-shadow: 0 8px 32px #15263e0d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px;
  text-align: center;
  background: #fffffff5;
}
.lock-symbol {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #c8d6e6;
  color: #0770ff;
  border-radius: 8px;
  font-size: 1.4rem;
}
.unlock-card h3 {
  font-size: 1.1rem;
  margin: 0;
}
.unlock-card p {
  max-width: 390px;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #617287;
}
.unlock-card .button {
  font-size: 0.75rem;
  padding: 12px 18px;
}
.unlock-note {
  font-size: 0.65rem;
  color: #64778a;
}
.analysis-footnote {
  margin: 18px 24px;
  color: #64778a;
  font-size: 0.65rem;
  line-height: 1.6;
}
.empty-result {
  padding: 30px;
  color: #178257;
  line-height: 1.6;
}
.empty-result p {
  color: #617287;
  font-size: 0.85rem;
}
.check-explainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  max-width: 1030px;
  padding: 55px 24px;
  margin: auto;
  border-top: 1px solid #d8e0e9;
}
.check-explainer h2 {
  font-size: 2rem;
  margin: 15px 0;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.check-explainer p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
}
.check-explainer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-explainer li {
  display: flex;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid #d8e0e9;
  font-size: 0.85rem;
}
.check-explainer li span {
  color: #1681e2;
  font-family: var(--font-geist-mono);
  font-size: 0.7rem;
}
.check-limit {
  max-width: 850px;
  margin: 0 auto 60px;
  padding: 0 24px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.8;
  text-align: center;
}
.quick-check-page .legal-footer {
  max-width: 1180px;
  margin: auto;
  padding: 28px 24px;
}
@media (max-width: 850px) {
  .admin-window {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-sidebar {
    display: none;
  }
  .result-caption {
    display: block;
  }
  .check-explainer {
    gap: 30px;
  }
}
@media (max-width: 600px) {
  .check-intro {
    padding-top: 130px;
  }
  .quick-check-page .site-header nav {
    display: none;
  }
  .domain-field {
    flex-wrap: wrap;
    padding: 12px;
    gap: 8px;
  }
  .domain-field input {
    flex-basis: 80%;
  }
  .domain-field button {
    width: 100%;
    justify-content: center;
  }
  .check-results {
    padding: 16px 12px 40px;
  }
  .admin-heading {
    align-items: start;
    flex-direction: column;
    padding: 20px 14px;
  }
  .admin-topbar {
    padding: 14px;
  }
  .admin-tabs {
    margin: 0 14px;
  }
  .issue-list {
    margin: 16px 10px 0;
  }
  .importance-column {
    width: 92px;
  }
  .issue-table th,
  .issue-table td {
    padding: 16px 8px;
  }
  .issue-table th {
    font-size: 0.65rem;
  }
  .issue-table {
    font-size: 0.72rem;
  }
  .importance-stars {
    font-size: 0.8rem;
    gap: 0;
  }
  .unlock-card {
    padding: 18px 12px;
  }
  .check-explainer {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }
}

.admin-main {
  background: #fff;
}
.admin-logo {
  padding: 0 0 28px;
  justify-content: center;
  font-size: 2rem;
  color: white;
}
.admin-logo span,
.admin-nav-label,
.admin-sidebar-note {
  display: none;
}
.admin-nav-current {
  padding: 12px 0;
  justify-content: center;
  font-size: 0;
}
.admin-nav-current > span {
  font-size: 20px;
  color: #ffdb00;
}
.admin-tabs {
  margin: 0;
  padding: 0 24px;
  background: #f8f9fb;
}
.issue-list {
  margin: 0;
  border: 0;
  border-radius: 0;
}
.pixel-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px 100px;
}
.pixel-title {
  width: 85%;
}
.pixel-badge {
  width: 90px;
}
@media (max-width: 600px) {
  .pixel-row {
    grid-template-columns: minmax(0, 1fr) 32px 70px;
    gap: 10px;
    padding: 12px;
  }
  .pixel-badge {
    width: 65px;
  }
}

.admin-tabs {
  justify-content: flex-start;
  gap: 22px;
  overflow-x: auto;
  white-space: nowrap;
}
.admin-tabs button {
  padding: 14px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #637588;
  font: inherit;
  cursor: pointer;
}
.admin-tabs button:hover {
  color: #0877c9;
}
.admin-tabs button:focus-visible,
.solve-button:focus-visible {
  outline: 2px solid #0770ff;
  outline-offset: -2px;
}
.action-column {
  width: 150px;
}
.issue-list {
  overflow-x: auto;
}
.issue-table {
  min-width: 660px;
}
.solve-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid #b9cadc;
  border-radius: 4px;
  background: #fff;
  color: #0877c9;
  font: inherit;
  font-size: 0.74rem;
  white-space: nowrap;
  cursor: pointer;
}
.solve-button:hover {
  background: #edf6ff;
  border-color: #189eff;
}
.upgrade-dialog {
  width: min(540px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 42px 32px 32px;
  border: 1px solid #cbd5e0;
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 90px #15263e44;
}
.upgrade-dialog::backdrop {
  background: #14253d99;
  backdrop-filter: blur(3px);
}
.upgrade-dialog h2 {
  margin: 18px 0;
  font-size: 1.65rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.upgrade-dialog p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.upgrade-dialog .button {
  font-size: 0.85rem;
  text-align: center;
}
.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  border-radius: 5px;
  width: 32px;
  height: 32px;
  background: #edf1f5;
  color: #24364b;
  cursor: pointer;
  font-size: 1.5rem;
}

#locked-issues {
  min-width: 660px;
}
.pixel-row {
  grid-template-columns: minmax(0, 1fr) 100px 110px;
}
.pixel-action {
  width: 100px;
}

.upgrade-topics {
  margin: 0 0 26px;
  padding-left: 20px;
  color: #34485f;
  font-size: 0.9rem;
  line-height: 1.6;
}
.upgrade-topics li + li {
  margin-top: 7px;
}
