:root {
  color-scheme: light;
  --brand-dark: #0f1419;
  --brand-dark-soft: #1f2937;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --text: #1a1a2e;
  --text-on-dark: #f8fafc;
  --muted: #5c6370;
  --muted-strong: #475569;
  --muted-on-dark: #cbd5e1;
  --accent: #f97316;
  --accent-strong: #ea580c;
  --accent-soft: #fff7ed;
  --accent-glow: rgba(249, 115, 22, .24);
  --ok-bg: #dcfce7;
  --ok-text: #166534;
  --warn-bg: #fff8e1;
  --warn-text: #8a5d00;
  --down-bg: #ffebee;
  --down-text: #c62828;
  --focus: #58a6ff;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

a {
  color: var(--accent);
  overflow-wrap: anywhere;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

a:hover { color: var(--accent-strong); }

code {
  color: var(--muted-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.tg-shell {
  width: min(1240px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 44px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  margin: 0 calc((100vw - min(1240px, calc(100vw - 32px))) / -2);
  padding: 10px calc((100vw - min(1240px, calc(100vw - 32px))) / 2);
  background: rgba(15, 20, 25, .94);
  border-bottom: 2px solid var(--accent);
  backdrop-filter: blur(12px);
}

.topbar-inner,
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--text-on-dark);
  text-decoration: none;
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}

.brand-name {
  color: var(--text-on-dark);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-home:hover .brand-name {
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar { display: none; }

.nav a,
.button,
.segment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.nav a { padding: 0 10px; }
.button { padding: 0 10px; }

.nav a {
  border-color: transparent;
  background: transparent;
  color: var(--muted-on-dark);
}

.nav a:hover {
  background: var(--brand-dark-soft);
  color: var(--text-on-dark);
}

.nav a[aria-current="page"] {
  background: rgba(255, 255, 255, .10);
  color: var(--text-on-dark);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px var(--accent-glow);
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.button:focus-visible,
.segment-button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 32%, transparent);
  outline-offset: 2px;
}

.page-head {
  align-items: flex-end;
  margin: 28px 0 16px;
}

h1, h2, h3 { margin: 0; letter-spacing: 0; }
h1 { font-size: 28px; line-height: 1.15; }
h2 { font-size: 18px; line-height: 1.25; }
h3 { font-size: 16px; line-height: 1.25; }

.sub,
.meta,
.hint {
  color: var(--muted);
  font-size: 13px;
}

.meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.status-pill.ok { background: var(--ok-bg); color: var(--ok-text); }
.status-pill.warn { background: var(--warn-bg); color: var(--warn-text); }
.status-pill.down { background: var(--down-bg); color: var(--down-text); }

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.metric {
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.metric-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.metric-value {
  margin-top: 5px;
  font-size: 25px;
  font-weight: 850;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.metric-value.small {
  font-size: 15px;
  line-height: 1.3;
}

.metric-foot {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  margin: 16px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.search {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text);
  font: inherit;
  padding: 0 11px;
}

.segments {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.segment-button {
  min-height: 30px;
  border: 0;
  background: transparent;
  padding: 0 10px;
  color: var(--muted-strong);
}

.segment-button[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent-strong);
  box-shadow: var(--shadow);
}

.section {
  margin-top: 22px;
}

.app-hero {
  margin-top: 18px;
}

.app-hero .section-head {
  margin-bottom: 6px;
}

.app-hero h1 {
  font-size: 30px;
}

.app-hero p,
.sedori-scan-workspace .section-head p {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted-strong);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.kicker,
.tool-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lead {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted-strong);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.hero-panel dl,
.hero-panel dt,
.hero-panel dd {
  margin: 0;
}

.hero-panel dl {
  display: grid;
  gap: 10px;
}

.hero-panel dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.hero-panel dd {
  font-size: 15px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.search-hero {
  align-items: center;
  background:
    radial-gradient(circle at 90% 10%, rgba(249, 115, 22, .14), transparent 42%),
    var(--surface);
}

.hero-search {
  display: grid;
  gap: 6px;
  margin-top: 20px;
}

.hero-search label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.hero-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.hero-search-row input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text);
  font: inherit;
  padding: 0 12px;
}

.hero-search-row .button { min-height: 42px; }

.search-steps {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.search-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  color: var(--muted-strong);
  font-weight: 750;
}

.search-steps strong {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.search-tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.scan-console {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  gap: 18px;
  align-items: end;
  min-height: 520px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(15, 20, 25, .82), rgba(15, 20, 25, .28) 52%, rgba(15, 20, 25, .08)),
    var(--hero-image) center / cover;
  box-shadow: var(--shadow);
}

.scan-copy {
  align-self: end;
  max-width: 560px;
  padding: 28px;
  color: var(--text-on-dark);
}

.scan-copy .kicker {
  color: #fed7aa;
}

.scan-copy h1 {
  font-size: 58px;
  line-height: .98;
}

.scan-copy .lead {
  color: #f8fafc;
  font-size: 18px;
  max-width: 420px;
  margin: 10px 0 0;
  font-weight: 750;
}

.readiness-console {
  display: grid;
  gap: 12px;
  align-self: stretch;
  margin: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 44px rgba(15, 23, 42, .22);
  backdrop-filter: blur(10px);
}

.console-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.console-head strong {
  color: var(--accent-strong);
  font-size: 34px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.readiness-meter {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.readiness-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f766e, var(--accent));
  transition: width .18s ease;
}

.console-summary {
  min-height: 42px;
  margin: 0;
  color: var(--muted-strong);
  font-weight: 750;
}

.readiness-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.readiness-checks legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.readiness-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.readiness-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.next-shot-box {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.next-shot-box ol {
  display: grid;
  gap: 6px;
  margin: 6px 0 0;
  padding-left: 20px;
  color: var(--muted-strong);
  font-weight: 750;
}

.scan-shot-guide {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.scan-shot-guide p {
  margin: 4px 0 0;
  color: var(--muted-strong);
  font-weight: 750;
}

.scan-form {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 12px;
}

.legal-page {
  max-width: 920px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer a {
  color: var(--muted-strong);
  font-weight: 800;
}

.site-footer p {
  margin: 0;
  text-align: right;
}

.form-panel,
.result-band,
.form-error-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 14px;
}

.photo-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.photo-type {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  font-weight: 800;
  cursor: pointer;
}

.photo-type input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.file-field,
.input-grid label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.file-field input,
.input-grid input,
.input-grid select,
.input-grid textarea {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text);
  font: inherit;
  padding: 0 10px;
}

.input-grid textarea {
  min-height: 92px;
  padding: 9px 10px;
  resize: vertical;
}

.file-field input {
  padding: 7px 10px;
}

.input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.form-error,
.form-error-panel {
  color: var(--down-text);
  font-weight: 750;
}

.form-error-panel {
  margin-top: 12px;
  padding: 12px;
}

.form-error-panel ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.result-band {
  padding: 14px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.next-shot-list {
  display: grid;
  gap: 7px;
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--muted-strong);
  font-weight: 750;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.section-subhead {
  margin: 14px 0 8px;
}

.section-subhead p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tool-card {
  min-height: 112px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.tool-card h2 {
  margin-top: 4px;
  font-size: 16px;
}

.tool-card p {
  margin: 7px 0 0;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 650;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: var(--surface);
}

th, td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

tr:last-child td { border-bottom: 0; }

th {
  background: #f1f5f9;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 800;
}

tbody tr:hover { background: #fafcff; }

.name {
  font-weight: 800;
  white-space: nowrap;
}

.muted-line {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.number {
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.url-cell {
  max-width: 360px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.empty-row {
  color: var(--muted);
  text-align: center;
}

.row-hidden,
.group-hidden {
  display: none;
}

.analytics-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(760px, calc(100vw - 36px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: #111820;
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
}

.analytics-consent[hidden] { display: none; }
.analytics-consent strong { display: block; margin-bottom: 5px; font-size: 15px; }
.analytics-consent p { margin: 0; color: #d7e0e2; font-size: 12px; line-height: 1.65; }
.analytics-consent a { color: #fff; font-weight: 850; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.analytics-consent-actions .button { white-space: nowrap; }

.copy-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--brand-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease;
  pointer-events: none;
}

.copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.analytics-grid .section {
  margin-top: 0;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.mini-metrics div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.mini-metrics strong,
.mini-metrics span {
  display: block;
}

.mini-metrics strong {
  font-size: 24px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.mini-metrics span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.bar-list,
.breakdown-list {
  display: grid;
  gap: 8px;
}

.bar-row,
.breakdown-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
}

.breakdown-row {
  grid-template-columns: minmax(0, 1fr) 48px;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.breakdown-row span {
  overflow-wrap: anywhere;
}

.breakdown-row strong,
.bar-value {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.bar-label {
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.bar-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #ffedd5;
}

.bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.compact-bars {
  padding: 4px 0;
}

.split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.split-list h3 {
  margin-bottom: 8px;
}

.deal-head .ad-note {
  color: var(--muted);
  font-size: 12px;
}

.deal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.deal-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.deal-chip.is-strong {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.inference-panel {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: 12px;
}

.reading-card,
.match-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.reading-card {
  padding: 14px;
}

.reading-card h3 {
  margin-top: 8px;
}

.compact-dl {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

.compact-dl div {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.compact-dl dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.compact-dl dd {
  margin: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.match-list {
  display: grid;
  gap: 8px;
}

.match-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 12px;
  align-items: center;
  min-height: 92px;
  padding: 12px;
}

.match-card strong,
.match-card p {
  display: block;
  margin-top: 7px;
}

.match-card p {
  color: var(--muted);
  font-size: 12px;
}

.match-score {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.match-score span,
.match-score small {
  display: block;
}

.match-score span {
  color: var(--accent-strong);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.match-score small {
  margin-top: 6px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 800;
}

.ai-note {
  margin-top: 14px;
  padding: 11px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: var(--accent-soft);
}

.ai-note span {
  display: block;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
}

.ai-note p {
  margin: 6px 0 0;
  color: var(--text);
  font-weight: 750;
}

.ai-checks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.check-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 800;
}

.photo-readiness {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  gap: 12px;
}

.photo-check-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.photo-check {
  min-height: 104px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.photo-check span,
.photo-check strong,
.photo-check small {
  display: block;
}

.photo-check span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.photo-check strong {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.photo-check small {
  margin-top: 8px;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 850;
}

.photo-check.is-ok {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.photo-check.needs-photo {
  border-color: #fed7aa;
  background: var(--accent-soft);
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.feedback-card {
  min-height: 150px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feedback-card h3 {
  margin-top: 6px;
}

.feedback-card p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 12px;
}

.feedback-card strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.feedback-card.priority-high {
  border-color: #fed7aa;
  background: var(--accent-soft);
}

.value-grid,
.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.value-card,
.destination-card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.value-card {
  display: grid;
  grid-template-rows: 112px 1fr auto;
  overflow: hidden;
}

.card-media {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, #f8fafc, #fff7ed);
  border-bottom: 1px solid var(--line);
}

.card-media .mini-icon {
  width: 58px;
  height: 58px;
}

.card-body,
.destination-card {
  padding: 13px;
}

.card-eyebrow {
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.spec-line {
  margin-top: 8px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 750;
}

.risk-note {
  margin-top: 8px;
  padding: 8px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
}

.card-actions,
.destination-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 13px 13px;
}

.destination-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.destination-card p {
  margin: 12px 0;
  color: var(--muted-strong);
}

.mini-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: currentColor;
}

.mini-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hidden {
  display: none !important;
}

.scan-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.scan-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted-strong);
}

.scan-steps li.is-current {
  border-color: #fdba74;
  background: var(--accent-soft);
  color: var(--text);
}

.scan-steps span {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--line-strong);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.scan-steps .is-current span {
  background: var(--accent);
  color: #fff;
}

.scan-steps strong { font-size: 13px; }
.scan-steps small { color: var(--muted); font-size: 11px; }

.sedori-scan-workspace {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.scan-status-stack {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}

.scan-device-grid {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(360px, 1.1fr);
  gap: 16px;
  align-items: start;
}

.scan-device {
  display: grid;
  gap: 10px;
  align-content: start;
}

.scan-result-column {
  display: grid;
  gap: 10px;
  align-content: start;
}

.scan-viewport {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(15, 20, 25, .96), rgba(31, 41, 55, .88)),
    #0f1419;
  color: var(--text-on-dark);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.scan-viewport video,
.scan-viewport img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.scan-viewport video[hidden],
.scan-viewport img[hidden] {
  display: none;
}

.scan-viewport.is-frozen::after,
.scan-viewport.is-live::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 8px;
  pointer-events: none;
}

.scan-idle {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.scan-idle[hidden],
.scan-viewport.is-live .scan-idle,
.scan-viewport.is-frozen .scan-idle {
  display: none;
}

.capture-button {
  display: inline-grid;
  gap: 10px;
  place-items: center;
  min-width: 150px;
  min-height: 128px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: var(--text-on-dark);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.capture-button:hover {
  border-color: rgba(255, 255, 255, .58);
  background: rgba(255, 255, 255, .14);
}

.freeze-button {
  position: absolute;
  left: 50%;
  bottom: 54px;
  z-index: 3;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .64);
  border-radius: 999px;
  background: rgba(248, 250, 252, .94);
  color: #111827;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
  transform: translateX(-50%);
  cursor: pointer;
  touch-action: manipulation;
}

.freeze-button[hidden] {
  display: none;
}

.freeze-button-dot {
  width: 14px;
  height: 14px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.freeze-button:active {
  transform: translateX(-50%) scale(.97);
}

.capture-button-mark {
  position: relative;
  width: 50px;
  height: 38px;
  border: 3px solid currentColor;
  border-radius: 8px;
}

.capture-button-mark::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 9px;
  width: 14px;
  height: 14px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.capture-button-mark::after {
  content: "";
  position: absolute;
  left: 8px;
  top: -9px;
  width: 16px;
  height: 8px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

.scan-hint {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(15, 20, 25, .72);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.scan-device-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.scan-result-summary {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  box-shadow: var(--shadow-soft);
}

.scan-result-summary[hidden] {
  display: none;
}

.scan-result-summary.is-ready {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.scan-result-summary.is-hold {
  border-color: #fed7aa;
  background: #fff7ed;
}

.scan-result-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.scan-result-summary-head strong {
  font-size: 16px;
  line-height: 1.35;
}

.scan-result-summary-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.scan-result-summary-facts div {
  display: grid;
  gap: 3px;
  min-height: 58px;
  padding: 8px;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}

.scan-result-summary-facts dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.scan-result-summary-facts dd {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.scan-result-summary p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 750;
}

.scan-result-summary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scan-result-summary-links a {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.next-photo-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: #fffbeb;
}

.next-photo-panel[hidden] {
  display: none;
}

.next-photo-head,
.next-photo-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.next-photo-head h3 {
  margin-top: 4px;
}

.next-photo-list {
  display: grid;
  gap: 8px;
}

.next-photo-card {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: var(--surface);
}

.next-photo-card strong {
  font-size: 14px;
  line-height: 1.35;
}

.next-photo-card p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 750;
}

.next-photo-card small {
  color: var(--text);
  font-weight: 900;
}

.next-photo-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.next-photo-actions .button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.analysis-panel-live {
  display: grid;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}

.analysis-state[hidden] {
  display: none !important;
}

.analysis-state {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.analysis-state h3 {
  font-size: 22px;
}

.analysis-state p {
  margin: 0;
  color: var(--muted-strong);
  font-weight: 700;
}

.analysis-empty {
  align-content: center;
  min-height: inherit;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, .86), rgba(255, 255, 255, 1));
}

.analysis-empty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 2px;
}

.analysis-empty-grid div {
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.analysis-empty-grid strong {
  font-size: 13px;
}

.analysis-empty-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.result-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.market-highlight {
  min-height: 44px;
  padding: 11px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--muted-strong);
  font-weight: 800;
}

.market-warnings {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 10px 10px 10px 28px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: #fffbeb;
  color: var(--warn-text);
  font-weight: 750;
}

.market-prices-list {
  display: grid;
  gap: 8px;
}

.price-row {
  min-height: 38px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.price-row strong {
  color: var(--muted-strong);
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.scan-results-drawer {
  display: grid;
  gap: 12px;
  margin-top: 2px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.scan-results-drawer[hidden] {
  display: none;
}

.scan-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.scan-results-head h3 {
  margin-top: 4px;
}

.scan-results-list {
  display: grid;
  gap: 8px;
}

.search-result-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text);
  text-decoration: none;
}

.search-result-group-label {
  margin: 10px 0 2px;
  padding: 8px 10px;
  border-left: 4px solid var(--accent);
  background: var(--surface-soft);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 900;
}

.scan-feedback {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 2px solid rgba(13, 148, 136, 0.28);
  border-radius: 8px;
  background: rgba(240, 253, 250, 0.72);
}

.scan-feedback p {
  margin: 4px 0 0;
  color: var(--muted-strong);
  font-size: 12px;
}

.scan-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scan-feedback form {
  display: grid;
  gap: 8px;
}

.local-history-list {
  display: grid;
  gap: 8px;
}

.local-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.local-history-item div,
.local-history-item strong,
.local-history-item span {
  display: block;
}

.local-history-item span,
.local-history-item time {
  color: var(--muted);
  font-size: 12px;
}

.search-result-card:hover {
  border-color: var(--accent);
  background: #fff;
}

.search-result-thumb {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.search-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.search-result-body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.search-result-body > strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
}

.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.search-result-meta span {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.search-result-side {
  display: grid;
  justify-items: end;
  gap: 4px;
  min-width: 96px;
}

.search-result-side strong {
  color: var(--accent-strong);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.search-result-side span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.search-result-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.search-result-fallback {
  justify-self: start;
}

@media (max-width: 900px) {
  .tg-shell {
    width: min(100%, 1240px);
    max-width: calc(100vw - 20px);
    padding-top: 14px;
    overflow-x: hidden;
  }

  .topbar {
    margin: 0 -10px;
    min-height: 48px;
    padding: 8px 10px;
  }

  .page-head,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-tool-grid { grid-template-columns: 1fr; }

  .topbar-inner {
    display: flex;
    height: auto;
    width: 100%;
  }

  .topbar .brand {
    display: flex;
  }

  .topbar .brand-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .topbar .brand-name {
    display: inline;
    font-size: 14px;
  }

  .topbar .nav {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    margin-left: auto;
    overflow: visible;
    width: auto;
  }

  .topbar .nav a {
    flex: 0 0 auto;
    min-height: 30px;
    min-width: 0;
    padding: 0 8px;
  }

  .meta {
    align-items: flex-start;
    text-align: left;
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .analytics-grid,
  .split-list,
  .hero,
  .scan-console,
  .scan-device-grid,
  .scan-form,
  .legal-grid,
  .inference-panel,
  .photo-readiness,
  .result-grid,
  .value-grid,
  .destination-grid {
    grid-template-columns: 1fr;
  }

  .scan-console {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(15, 20, 25, .78), rgba(15, 20, 25, .20)),
      var(--hero-image) center / cover;
  }

  .scan-copy {
    padding: 22px;
  }

  .scan-copy .lead {
    max-width: 310px;
    font-size: 16px;
  }

  .scan-copy h1 {
    font-size: 42px;
  }

  .readiness-console {
    margin: 0 12px 12px;
    min-width: 0;
  }

  .photo-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feedback-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    justify-content: flex-start;
  }

  .scan-status-stack {
    justify-items: start;
    text-align: left;
  }

  .scan-steps {
    grid-template-columns: 1fr;
  }

  .scan-steps li {
    min-height: 48px;
  }

  .sedori-scan-workspace,
  .scan-device,
  .scan-result-column,
  .analysis-panel-live,
  .readiness-console,
  .console-summary,
  .next-shot-box,
  .tool-card {
    max-width: 100%;
    min-width: 0;
  }

  .workflow-summary .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-summary .tool-card {
    min-height: auto;
  }

  .scan-result-summary-facts {
    grid-template-columns: 1fr;
  }

  .search-result-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .search-result-side {
    grid-column: 2;
    justify-items: start;
  }

  .search-result-thumb {
    width: 58px;
    height: 58px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .summary-grid {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 24px; }

  .hero-search-row { grid-template-columns: 1fr; }

  .analytics-consent { grid-template-columns: 1fr; right: 10px; bottom: 10px; width: calc(100vw - 20px); }
  .analytics-consent-actions { justify-content: stretch; }
  .analytics-consent-actions .button { flex: 1 1 150px; }

  .scan-console {
    width: 100%;
  }

  .scan-copy {
    padding: 20px 18px;
  }

  .scan-copy h1 {
    font-size: 40px;
  }

  .console-head {
    align-items: flex-start;
    gap: 10px;
  }

  .console-head strong {
    font-size: 28px;
  }

  .console-summary,
  .next-shot-box ol,
  .scan-shot-guide p {
    overflow-wrap: anywhere;
  }

  .metric {
    min-height: auto;
  }

  .readiness-checks {
    grid-template-columns: 1fr;
  }

  .photo-type-grid,
  .input-grid {
    grid-template-columns: 1fr;
  }

  .scan-viewport {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .scan-device-actions .button {
    flex: 1 1 calc(50% - 8px);
    min-height: 42px;
  }

  .scan-device-actions .button:first-child {
    flex-basis: 100%;
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-strong);
  }

  .analysis-panel-live {
    min-height: 300px;
  }

  .analysis-empty-grid {
    grid-template-columns: 1fr;
  }

  .workflow-summary .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}
