/* ---------------------------------------------------------------
   Utility Cache — design system
   Dark navy, electric blue/cyan accents, restrained chrome/silver
   highlights. Glow is reserved for primary interactive elements —
   not applied everywhere. System font stack only.
------------------------------------------------------------------*/

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --max-width: 1240px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --bg: #05070d;
  --bg-raised: #0a0e18;
  --bg-inset: #0d1220;
  --bg-elevated: #10162a;

  --ink: #eaf0fa;
  --ink-dim: #9aa7c2;
  --ink-faint: #5e6a86;

  --silver: #cdd6e4;
  --silver-dim: #8b96ab;

  --blue: #3b82f6;
  --blue-bright: #5b9dff;
  --cyan: #22d3ee;

  --line: #1a2135;
  --line-strong: #262f49;

  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;

  --glow-focus: 0 0 0 3px rgba(59, 130, 246, 0.35);
  --glow-soft: 0 0 24px rgba(34, 211, 238, 0.12);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 1200px 600px at 15% -10%, rgba(59, 130, 246, 0.10), transparent 60%),
    radial-gradient(ellipse 900px 500px at 100% 0%, rgba(34, 211, 238, 0.06), transparent 55%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--blue-bright); text-decoration: none; }
a:hover { color: var(--cyan); }

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  padding: 0.75em 1.25em;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; margin: 0; }

/* ---------------------------------------------------------------
   Buttons
------------------------------------------------------------------*/

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { color: inherit; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #2563eb);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 4px 16px rgba(59, 130, 246, 0.35);
}
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 4px 22px rgba(59, 130, 246, 0.5); color: #fff; transform: translateY(-1px); }

.btn-ghost {
  background: var(--bg-elevated);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--ink); }

.btn-outline {
  background: transparent;
  color: var(--silver);
  border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-sm { padding: 0.4rem 0.75rem; font-size: 0.82rem; }
.btn-danger { background: rgba(248, 113, 113, 0.12); color: var(--danger); border-color: rgba(248, 113, 113, 0.35); }
.btn-danger:hover { background: rgba(248, 113, 113, 0.2); color: var(--danger); }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------
   Header
------------------------------------------------------------------*/

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 13, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.75rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.site-logo:hover { color: var(--ink); }
.site-logo img { height: 30px; width: 30px; }
.site-logo .word-utility { color: var(--silver); }
.site-logo .word-cache {
  background: linear-gradient(120deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 0 auto;
  font-size: 0.92rem;
  font-weight: 500;
}
.site-nav a { color: var(--ink-dim); position: relative; padding: 0.3rem 0; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-search-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.header-search-btn:hover { color: var(--cyan); border-color: var(--cyan); }

.mobile-nav-toggle {
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding: 0.5rem 1.5rem 1rem;
  background: var(--bg-raised);
}
.mobile-nav a { color: var(--ink-dim); padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav[data-open="true"] { display: flex; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .mobile-nav-toggle { display: flex; align-items: center; justify-content: center; }
}

/* ---------------------------------------------------------------
   Hero + search
------------------------------------------------------------------*/

.hero {
  padding-block: 3.5rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.hero__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.hero__brand img { height: 56px; width: 56px; filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.25)); }
.hero__brand-word { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.hero__brand-word .word-utility { color: var(--silver); }
.hero__brand-word .word-cache {
  background: linear-gradient(120deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.75rem);
  margin-bottom: 0.75rem;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero__subtitle {
  color: var(--ink-dim);
  font-size: 1.08rem;
  max-width: 54ch;
  margin: 0 auto 2rem;
}

.search-hero {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}
.search-hero__form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.search-hero__form:focus-within {
  border-color: var(--blue);
  box-shadow: var(--shadow-card), var(--glow-focus), var(--glow-soft);
}
.search-hero__icon { color: var(--ink-faint); flex-shrink: 0; }
.search-hero__input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--ink);
  font-size: 1.05rem;
  padding: 0.7rem 0;
  min-width: 0;
}
.search-hero__input:focus { outline: none; }
.search-hero__input::placeholder { color: var(--ink-faint); }
.search-hero__submit { border-radius: var(--radius); }

.search-suggestions {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0; right: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  z-index: 60;
  display: none;
  text-align: left;
  max-height: 380px;
  overflow-y: auto;
}
.search-suggestions[data-open="true"] { display: block; }
.search-suggestions li { border-radius: var(--radius-sm); }
.search-suggestions a {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.6rem 0.75rem;
  color: var(--ink);
  border-radius: var(--radius-sm);
}
.search-suggestions a:hover,
.search-suggestions li[data-active="true"] a { background: var(--bg-inset); color: var(--ink); }
.search-suggestions .sugg-name { font-weight: 600; }
.search-suggestions .sugg-tagline { font-size: 0.82rem; color: var(--ink-faint); }
.search-empty { padding: 0.6rem 0.75rem; color: var(--ink-faint); font-size: 0.88rem; }

.quick-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  max-width: 780px;
  margin: 2rem auto 0;
}
.quick-category-btn {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-dim);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
}
.quick-category-btn:hover { border-color: var(--blue); color: var(--ink); }

/* ---------------------------------------------------------------
   Sections
------------------------------------------------------------------*/

.section { padding-block: 3rem; }
.section + .section { border-top: 1px solid var(--line); }
.section--tight { padding-block: 2rem; }

.section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.section__title { font-size: 1.4rem; }
.section__subtitle { color: var(--ink-faint); font-size: 0.92rem; margin-top: 0.3rem; }
.section__link { font-size: 0.88rem; font-weight: 600; white-space: nowrap; }

.stats-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.stat { text-align: center; }
.stat__value { font-size: 1.6rem; font-weight: 800; color: var(--ink); }
.stat__value .accent { color: var(--cyan); }
.stat__label { font-size: 0.8rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.15rem; }

/* ---------------------------------------------------------------
   Category grid
------------------------------------------------------------------*/

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}

.category-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.category-card:hover { border-color: var(--blue); transform: translateY(-2px); color: var(--ink); }

.category-card__icon {
  font-size: 1.5rem;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.category-card__name { font-weight: 700; font-size: 0.98rem; margin-bottom: 0.2rem; }
.category-card__desc { font-size: 0.83rem; color: var(--ink-faint); line-height: 1.4; margin-bottom: 0.4rem; }
.category-card__count { font-size: 0.78rem; color: var(--cyan); font-weight: 600; }

/* ---------------------------------------------------------------
   Tool cards — compact, information-dense
------------------------------------------------------------------*/

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tool-grid--list { grid-template-columns: 1fr; }

.tool-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tool-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-card); }

.tool-card__top { display: flex; align-items: flex-start; gap: 0.7rem; }
.tool-card__icon {
  font-size: 1.35rem;
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.tool-card__icon img { width: 24px; height: 24px; object-fit: contain; border-radius: 4px; }
.tool-card__title-wrap { min-width: 0; flex: 1; }
.tool-card__name-row { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.tool-card__name { font-size: 1rem; font-weight: 700; color: var(--ink); }
.tool-card__name:hover { color: var(--cyan); }
.tool-card__category { font-size: 0.76rem; color: var(--ink-faint); margin-top: 0.1rem; }
.tool-card__source a { color: var(--ink-faint); text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color 0.15s; }
.tool-card__source a:hover { color: var(--cyan); text-decoration-color: currentColor; }

.tool-card__tagline { font-size: 0.88rem; color: var(--ink-dim); line-height: 1.45; margin: 0; }

.rating-row { display: flex; align-items: center; gap: 0.45rem; font-size: 0.84rem; }
.rating-stars { color: var(--warning); letter-spacing: 1px; font-size: 0.82rem; white-space: nowrap; }
.rating-stars .star-empty { color: var(--line-strong); }
.rating-value { font-weight: 700; color: var(--ink); }
.rating-count { color: var(--ink-faint); }
.rating-none { color: var(--ink-faint); font-size: 0.84rem; }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.22rem 0.5rem;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
  background: var(--bg-inset);
  white-space: nowrap;
}
.badge-free { color: var(--success); border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.08); }
.badge-freemium { color: var(--blue-bright); border-color: rgba(59, 130, 246, 0.35); background: rgba(59, 130, 246, 0.08); }
.badge-paid { color: var(--silver); }
.badge-opensource { color: var(--cyan); border-color: rgba(34, 211, 238, 0.35); background: rgba(34, 211, 238, 0.08); }
.badge-editors-pick { color: #0b0f1a; background: linear-gradient(120deg, #fbbf24, #f59e0b); border-color: transparent; }
.badge-own { color: #c7d2fe; background: rgba(99, 102, 241, .16); border-color: rgba(129, 140, 248, .45); }
.badge-verified { color: var(--success); }
.badge-no-signup { }

.tool-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--ink-faint);
  margin-top: 0.1rem;
}
.tool-card__verified { display: flex; align-items: center; gap: 0.3rem; }
.tool-card__verified.is-flagged { color: var(--warning); }
.tool-card__link-out { font-weight: 600; color: var(--ink-dim); }
.tool-card__link-out:hover { color: var(--cyan); }

/* ---------------------------------------------------------------
   Filter bar / search results
------------------------------------------------------------------*/

.results-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .results-layout { grid-template-columns: 1fr; } }

.filters-panel {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  position: sticky;
  top: 5.5rem;
}
.filters-panel h2 { font-size: 0.95rem; margin-bottom: 1rem; }
.filter-group { margin-bottom: 1.3rem; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group__label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  margin-bottom: 0.55rem;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-dim);
  padding: 0.28rem 0;
  cursor: pointer;
}
.filter-check input { accent-color: var(--blue); width: 15px; height: 15px; }
.filter-check:hover { color: var(--ink); }
.filters-panel select {
  width: 100%;
  background: var(--bg-elevated);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.6rem;
  font-size: 0.88rem;
}

.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.results-count { font-size: 0.9rem; color: var(--ink-dim); }
.results-count strong { color: var(--ink); }
.sort-control { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--ink-faint); }
.sort-control select {
  background: var(--bg-elevated);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
}

/* ---------------------------------------------------------------
   Pagination
------------------------------------------------------------------*/

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  min-width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 0.88rem;
  padding: 0 0.6rem;
}
.pagination a:hover { border-color: var(--blue); color: var(--ink); }
.pagination .is-current { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 700; }
.pagination .is-disabled { opacity: 0.35; pointer-events: none; }

/* ---------------------------------------------------------------
   Breadcrumbs
------------------------------------------------------------------*/

.breadcrumbs {
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.breadcrumbs a { color: var(--ink-faint); }
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs .sep { color: var(--line-strong); }

/* ---------------------------------------------------------------
   Tool detail page
------------------------------------------------------------------*/

.detail-header {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.detail-header__icon {
  font-size: 2.2rem;
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  flex-shrink: 0;
  overflow: hidden;
}
.detail-header__icon img { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; }
.detail-header__main { flex: 1; min-width: 240px; }
.detail-header__title-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.35rem; }
.detail-header__title { font-size: 1.85rem; }
.detail-header__developer { color: var(--ink-faint); font-size: 0.9rem; margin-bottom: 0.6rem; }
.detail-header__source { color: var(--ink-faint); font-size: 0.9rem; margin: -0.3rem 0 0.6rem; }
.detail-header__source a { color: var(--cyan); }
.detail-header__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.9rem; }

.ownership-disclosure {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fcd34d;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.86rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 2rem;
}
.meta-item__label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-faint); margin-bottom: 0.3rem; }
.meta-item__value { font-size: 0.92rem; color: var(--ink); font-weight: 600; }
.meta-item__value a { font-weight: 600; }

.detail-body { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .detail-body { grid-template-columns: 1fr; } }

.detail-section { margin-bottom: 2.2rem; }
.detail-section h2 { font-size: 1.15rem; margin-bottom: 0.8rem; }
.detail-section p { color: var(--ink-dim); line-height: 1.65; }
.detail-section ul { margin: 0; padding-left: 1.2rem; color: var(--ink-dim); line-height: 1.7; }

.screenshot-strip { display: flex; gap: 0.8rem; overflow-x: auto; padding-bottom: 0.3rem; }
.screenshot-placeholder {
  flex-shrink: 0;
  width: 260px;
  aspect-ratio: 16/10;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  color: var(--ink-faint);
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}
.screenshot-thumb {
  flex-shrink: 0;
  width: 260px;
  aspect-ratio: 16/10;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-inset);
}

.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 560px) { .pros-cons-grid { grid-template-columns: 1fr; } }
.pros-cons-grid h3 { font-size: 0.9rem; margin-bottom: 0.6rem; }
.pros-list li::marker { color: var(--success); }
.cons-list li::marker { color: var(--danger); }

.sidebar-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.sidebar-card h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-faint); margin-bottom: 0.9rem; }
.sidebar-vote { text-align: center; }
.sidebar-vote__score { font-size: 2.2rem; font-weight: 800; color: var(--ink); }
.sidebar-vote__stars { font-size: 1.1rem; color: var(--warning); margin: 0.3rem 0; }
.sidebar-vote__count { font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 1rem; }
.vote-buttons { display: flex; justify-content: center; gap: 0.3rem; }
.vote-buttons button {
  width: 34px; height: 34px;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink-faint);
  cursor: pointer;
  font-size: 1rem;
}
.vote-buttons button:hover, .vote-buttons button.is-active { color: var(--warning); border-color: var(--warning); }

.review-card { border-bottom: 1px solid var(--line); padding-bottom: 1.1rem; margin-bottom: 1.1rem; }
.review-card:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.review-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem; }
.review-card__author { font-weight: 700; font-size: 0.88rem; }
.review-card__stars { color: var(--warning); font-size: 0.8rem; }
.review-card__body { color: var(--ink-dim); font-size: 0.88rem; line-height: 1.55; }

.report-link { font-size: 0.82rem; color: var(--ink-faint); }
.report-link:hover { color: var(--danger); }

/* ---------------------------------------------------------------
   Forms (submit, report, admin)
------------------------------------------------------------------*/

.form-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  max-width: 640px;
}
.form-row { margin-bottom: 1.2rem; }
.form-row label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-dim); margin-bottom: 0.4rem; }
.form-row .hint { font-size: 0.78rem; color: var(--ink-faint); margin-top: 0.3rem; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="url"],
.form-row input[type="password"],
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  padding: 0.6rem 0.75rem;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: var(--glow-focus);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row input[type="file"] { width: 100%; color: var(--ink-dim); font-size: 0.86rem; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.5rem; }
.form-actions { margin-top: 1.5rem; }
.form-error { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.35); color: var(--danger); border-radius: var(--radius-sm); padding: 0.8rem 1rem; font-size: 0.86rem; margin-bottom: 1.2rem; }
.form-success { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.35); color: var(--success); border-radius: var(--radius-sm); padding: 0.8rem 1rem; font-size: 0.9rem; margin-bottom: 1.2rem; }

.tracking-id {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.03em;
}

.status-timeline { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.status-step {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 0.6rem 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  font-size: 0.78rem;
  color: var(--ink-faint);
}
.status-step.is-active { border-color: var(--blue); color: var(--blue-bright); background: rgba(59, 130, 246, 0.08); }
.status-step.is-done { border-color: var(--success); color: var(--success); }
.status-step.is-rejected { border-color: var(--danger); color: var(--danger); }

/* ---------------------------------------------------------------
   Prose / static pages
------------------------------------------------------------------*/

.prose { max-width: 72ch; }
.prose h1 { margin-bottom: 1rem; }
.prose h2 { font-size: 1.15rem; margin-top: 2rem; margin-bottom: 0.7rem; }
.prose p { color: var(--ink-dim); line-height: 1.7; margin-bottom: 1rem; }
.prose ul { color: var(--ink-dim); line-height: 1.7; }
.prose code { font-family: var(--font-mono); background: var(--bg-inset); padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.88em; }
.prose pre { background: var(--bg-inset); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 1rem; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }

.page-header { padding-block: 2.5rem 1rem; }
.page-header h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.page-header p { color: var(--ink-dim); }

/* ---------------------------------------------------------------
   404 / empty states
------------------------------------------------------------------*/

.not-found { padding-block: 5rem; text-align: center; }
.not-found__code { font-size: 4.5rem; font-weight: 800; background: linear-gradient(120deg, var(--blue-bright), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 0.5rem; }
.empty-state { padding: 3rem 1.5rem; text-align: center; color: var(--ink-faint); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

/* ---------------------------------------------------------------
   Footer
------------------------------------------------------------------*/

.site-footer { border-top: 1px solid var(--line); margin-top: 3rem; background: var(--bg-raised); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-block: 3rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand { font-weight: 800; font-size: 1.05rem; margin-bottom: 0.6rem; }
.footer-brand .word-utility { color: var(--silver); }
.footer-brand .word-cache { background: linear-gradient(120deg, var(--blue-bright), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-tagline { color: var(--ink-faint); font-size: 0.86rem; max-width: 30ch; }
.footer-col h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-faint); margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { color: var(--ink-dim); font-size: 0.88rem; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 1.25rem;
  font-size: 0.82rem;
  color: var(--ink-faint);
  text-align: center;
}

/* ---------------------------------------------------------------
   Admin panel
------------------------------------------------------------------*/

.admin-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: 100vh; }   /* minmax(0, ...): long addresses in a table must wrap, not push the page wider than the screen */
@media (max-width: 800px) { .admin-shell { grid-template-columns: 1fr; } }

.admin-sidebar { background: var(--bg-raised); border-right: 1px solid var(--line); padding: 1.25rem 1rem; }
.admin-sidebar__brand { font-weight: 800; padding: 0.5rem 0.6rem 1.5rem; font-size: 1rem; }
.admin-sidebar nav a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--ink-dim);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
}
.admin-sidebar nav a:hover { background: var(--bg-elevated); color: var(--ink); }
.admin-sidebar nav a[aria-current="page"] { background: rgba(59, 130, 246, 0.12); color: var(--blue-bright); }
.admin-sidebar__count { margin-left: auto; background: var(--bg-elevated); border-radius: 999px; padding: 0.05rem 0.5rem; font-size: 0.72rem; color: var(--ink-faint); }

.admin-main { padding: 1.75rem 2rem 3rem; min-width: 0; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.75rem; flex-wrap: wrap; gap: 1rem; }
.admin-topbar h1 { font-size: 1.4rem; }

.stat-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.stat-card a { display: block; }
.stat-card__value { font-size: 1.7rem; font-weight: 800; color: var(--ink); }
.stat-card__label { font-size: 0.8rem; color: var(--ink-faint); margin-top: 0.2rem; }

.admin-table-wrap { overflow-x: auto; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.admin-table th { text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-faint); padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; overflow-wrap: anywhere; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg-inset); }

.status-pill { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.status-submitted, .status-pending_review { background: rgba(251, 191, 36, 0.12); color: var(--warning); }
.status-under_review { background: rgba(59, 130, 246, 0.12); color: var(--blue-bright); }
.status-changes_requested { background: rgba(248, 113, 113, 0.12); color: var(--danger); }
.status-approved, .status-resolved, .status-ok { background: rgba(52, 211, 153, 0.12); color: var(--success); }
.status-rejected, .status-dismissed { background: rgba(148, 163, 184, 0.12); color: var(--ink-faint); }
.status-open, .status-flagged_dead, .status-flagged_redirect, .status-flagged_ssl, .status-flagged_domain_change { background: rgba(248, 113, 113, 0.12); color: var(--danger); }
.status-unchecked, .status-reviewed { background: rgba(148, 163, 184, 0.12); color: var(--silver-dim); }

.admin-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 1.75rem; align-items: start; }
@media (max-width: 900px) { .admin-detail-grid { grid-template-columns: 1fr; } }
.admin-panel { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem; }
.admin-panel h2 { font-size: 0.95rem; margin-bottom: 1rem; }
.kv-list { display: flex; flex-direction: column; gap: 0.7rem; }
.kv-list div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.86rem; }
.kv-list .k { color: var(--ink-faint); }
.kv-list .v { color: var(--ink); font-weight: 600; text-align: right; }

.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.login-card { width: 100%; max-width: 380px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; }
.login-card h1 { font-size: 1.3rem; margin-bottom: 0.4rem; text-align: center; }
.login-card p.hint { text-align: center; margin-bottom: 1.5rem; }

/* ---------------------------------------------------------------
   Utility
------------------------------------------------------------------*/

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-faint { color: var(--ink-faint); }
.mt-0 { margin-top: 0; }
/* Admin > Link Autopilot: undone changes are dimmed */
.admin-table tr.is-muted td { opacity: .55; }
/* The Archive (archive.php) and the notice on an archived tool's page */
.archive-notice { background: rgba(148, 163, 184, 0.08); border: 1px solid rgba(148, 163, 184, 0.4); border-radius: var(--radius-sm); padding: 0.9rem 1rem; font-size: 0.9rem; margin-bottom: 1.5rem; line-height: 1.55; }
.archive-search { display: flex; gap: 0.6rem; margin: 0 0 1rem; max-width: 640px; }
.archive-search input { flex: 1; min-width: 0; background: var(--bg-elevated); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0.65rem 0.8rem; font: inherit; }
.archive-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.6rem; }
.archive-item { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.85rem 1rem; background: var(--bg-raised); }
.archive-item__name { font-weight: 600; margin-right: 0.6rem; }
.archive-item__why { font-size: 0.82rem; color: var(--ink-faint, #94a3b8); margin-right: 0.6rem; }
.archive-item__url { font-size: 0.82rem; font-family: ui-monospace, monospace; color: var(--ink-faint, #94a3b8); }
.archive-item__tagline { margin: 0.35rem 0 0; font-size: 0.88rem; }
/* Screenshot lightbox (assets/js/lightbox.js) */
.screenshot-link { display: block; cursor: zoom-in; border-radius: var(--radius-sm); }
.screenshot-link:focus-visible { outline: 2px solid var(--accent, #60a5fa); outline-offset: 3px; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(3, 6, 14, 0.88); display: flex; align-items: center; justify-content: center; padding: 3.5rem 4rem; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 9rem); object-fit: contain; border-radius: var(--radius-sm); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); cursor: default; background: #fff; }
.lightbox__caption { color: #cbd5e1; font-size: 0.85rem; text-align: center; }
.lightbox__close, .lightbox__nav { position: absolute; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(15, 23, 42, 0.8); color: #fff; border-radius: 999px; cursor: pointer; line-height: 1; display: flex; align-items: center; justify-content: center; }
.lightbox__close { top: 1rem; right: 1rem; width: 2.6rem; height: 2.6rem; font-size: 1.7rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 2.8rem; height: 2.8rem; font-size: 2rem; }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__nav[hidden] { display: none; }
.lightbox__close:hover, .lightbox__nav:hover, .lightbox__close:focus-visible, .lightbox__nav:focus-visible { background: rgba(30, 41, 59, 0.95); outline: none; border-color: #fff; }
html.lightbox-open { overflow: hidden; }
@media (max-width: 640px) { .lightbox { padding: 3.5rem 0.75rem; } .lightbox__nav { top: auto; bottom: 1rem; transform: none; } }
/* Homepage hero: the "Intent Engine" (index.php + assets/js/home-hero.js) */
.hero--engine { position: relative; overflow: hidden; padding-block: 5rem 3.25rem; isolation: isolate;
  background: radial-gradient(1100px 520px at 50% -10%, rgba(59, 130, 246, 0.16), transparent 70%),
              radial-gradient(700px 380px at 85% 110%, rgba(34, 211, 238, 0.10), transparent 70%), var(--bg); }
.hero--engine .hero__sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero--engine > .container { position: relative; z-index: 1; }
.hero--engine.is-pointing { cursor: pointer; }
.hero--engine .search-hero__form { background: rgba(16, 22, 42, 0.92); backdrop-filter: blur(6px); }
.hero__tip { position: absolute; z-index: 2; pointer-events: none; background: rgba(10, 14, 24, 0.95); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0.3rem 0.55rem; font-size: 0.8rem; white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); }
.hero__intents { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.45rem; margin: 1.4rem auto 0; max-width: 760px; }
.hero__intents-label { color: var(--ink-faint); font-size: 0.85rem; margin-right: 0.2rem; }
.hero__intent { font-size: 0.84rem; color: var(--silver); text-decoration: none; padding: 0.35rem 0.75rem; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(16, 22, 42, 0.75); transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease; }
.hero__intent:hover, .hero__intent:focus-visible { color: #fff; border-color: var(--blue-bright); background: rgba(59, 130, 246, 0.18); outline: none; }
.hero__live { margin: 1.6rem auto 0; color: var(--ink-dim); font-size: 0.88rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.35rem; }
.hero__live strong { color: var(--ink); }
.hero__live a { color: var(--blue-bright); }
.hero__live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: hero-pulse 2.4s ease-out infinite; }
@keyframes hero-pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
@media (prefers-reduced-motion: reduce) { .hero__live-dot { animation: none; } }
@media (max-width: 640px) { .hero--engine { padding-block: 3.5rem 2.5rem; } .hero__intents-label { flex-basis: 100%; text-align: center; } }
/* Submit form: "already on Utility Cache" notice (submit.php, assets/js/submit-check.js) */
.dup-box { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg-raised); padding: 0.85rem 1rem; margin: 0 0 1.1rem; font-size: 0.9rem; line-height: 1.5; }
.dup-box[hidden] { display: none; }
.dup-box--block { border-color: rgba(59, 130, 246, 0.55); background: rgba(59, 130, 246, 0.08); }
.dup-box ul { margin: 0.45rem 0; padding-left: 1.2rem; }
.dup-box p { margin: 0.35rem 0 0; }
/* Spam trap on forms (includes/spam-guard.php honeypot_field): off screen for people, still in the HTML for bots */
.hp-field { position: absolute !important; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Caution note on a tool page (tools.caution) */
.caution-notice { background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.4); border-radius: var(--radius-sm); padding: 0.85rem 1rem; font-size: 0.9rem; margin-bottom: 1.5rem; line-height: 1.5; }
/* Buttons and short labels in admin tables stay on one line (cells wrap long addresses) */
.admin-table td .btn, .admin-table td button, .admin-table th { white-space: nowrap; overflow-wrap: normal; }
.admin-table td:last-child { white-space: nowrap; }
/* Ad slots (includes/ads.php): reserved height so the page does not jump; clearly labelled */
.ad-slot { margin: 1.5rem 0; min-height: 280px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-raised); padding: 0.4rem 0.6rem 0.6rem; }
.ad-slot__label { display: block; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.35rem; }
.ad-slot ins.adsbygoogle { display: block; }
.admin-pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--bg-inset); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.7rem 0.8rem; font-size: 0.8rem; }

/* Site security card (includes/site-security.php) */
.sitesec-card__head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.8rem; }
.sec-grade { flex: 0 0 auto; width: 3.4rem; height: 3.4rem; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.55rem; font-weight: 800; border: 1px solid var(--line-strong); background: var(--bg-inset); color: var(--ink); }
.sec-grade--a { color: var(--success); border-color: rgba(52, 211, 153, 0.45); background: rgba(52, 211, 153, 0.1); }
.sec-grade--b { color: #a3e635; border-color: rgba(163, 230, 53, 0.4); background: rgba(163, 230, 53, 0.08); }
.sec-grade--c { color: var(--warning); border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.08); }
.sec-grade--d { color: #fb923c; border-color: rgba(251, 146, 60, 0.4); background: rgba(251, 146, 60, 0.08); }
.sec-grade--f, .sec-grade--bad { color: var(--danger); border-color: rgba(248, 113, 113, 0.45); background: rgba(248, 113, 113, 0.1); }
.sitesec-card__score { font-weight: 700; color: var(--ink); }
.sitesec-card__meta { font-size: 0.78rem; word-break: break-all; }
.sitesec-card__note { font-size: 0.85rem; }
.sitesec-card__warn { font-size: 0.85rem; color: var(--danger); background: rgba(248, 113, 113, 0.08); border: 1px solid rgba(248, 113, 113, 0.3); border-radius: var(--radius-sm); padding: 0.6rem 0.7rem; }
.sitesec-card__details summary { cursor: pointer; color: var(--blue-bright); font-size: 0.85rem; margin-bottom: 0.4rem; }
.sec-group { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-faint); margin: 0.8rem 0 0.35rem; }
.sec-list { list-style: none; margin: 0; padding: 0; }
.sec-item { display: flex; gap: 0.55rem; font-size: 0.8rem; line-height: 1.45; margin-bottom: 0.5rem; }
.sec-item__icon { flex: 0 0 1.1rem; font-weight: 800; text-align: center; }
.sec-item--pass .sec-item__icon { color: var(--success); }
.sec-item--warn .sec-item__icon { color: var(--warning); }
.sec-item--fail .sec-item__icon { color: var(--danger); }
.sec-item--info .sec-item__icon, .sec-item--na .sec-item__icon { color: var(--ink-faint); }
.sitesec-card__about { font-size: 0.74rem; line-height: 1.5; margin: 0.9rem 0 0; }
.sec-grade--sm { width: 2.1rem; height: 2.1rem; font-size: 0.95rem; border-radius: 8px; }
.inline-form { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.inline-form input[type="text"] { background: var(--bg-elevated); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 6px; padding: 0.45rem 0.7rem; }
.sitesec-wrap { max-width: 460px; margin: 1.5rem 0; }
.sitesec-card__method { margin-top: 0.4rem; }
.sitesec-card__scale { font-size: 0.74rem; line-height: 1.5; margin: 0.4rem 0 0; }
.sitesec-pts { display: inline-block; margin-left: 0.3rem; padding: 0 0.4rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.7rem; color: var(--ink-dim); white-space: nowrap; }
.sec-item--pass .sitesec-pts { color: var(--success); border-color: rgba(52, 211, 153, 0.4); }
.sec-item--warn .sitesec-pts { color: var(--warning); border-color: rgba(251, 191, 36, 0.4); }
.sec-item--fail .sitesec-pts { color: var(--danger); border-color: rgba(248, 113, 113, 0.4); }
.sitesec-result { color: var(--ink); }
.sitesec-what { font-size: 0.74rem; }
.sec-item--none .sec-item__icon { color: var(--ink-faint); }
