/* AMS Report desk — same design system as the marketing site. */
:root {
  --desk-navy: #0b1f3a;
  --desk-ink: #0f172a;
  --desk-muted: #64748b;
  --desk-line: #e2e8f0;
  --desk-card: #fff;
  --desk-blue: #2563eb;
  --desk-ok: #059669;
  --desk-warn: #b45309;
  --desk-alert: #b91c1c;
  --desk-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

#panel-home[hidden],
#panel-result[hidden] {
  display: none !important;
}

.page-desk .site-footer--premium .brand__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.page-desk .site-footer--premium .brand__tag {
  display: block;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
}

.desk-hero {
  padding-bottom: 3.5rem;
}
.desk-hero .hero-premium__lead {
  margin-bottom: 1.35rem;
}
.desk-hero__visual {
  min-height: 12rem;
}

.desk-search {
  background: var(--desk-card);
  border: 1px solid var(--desk-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.15rem 1.2rem 1.2rem;
  max-width: 36rem;
}
.desk-search label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--desk-muted);
  margin-bottom: 0.45rem;
}
.desk-search__row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.desk-search input {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--desk-line);
  border-radius: 8px;
  font: 700 1.05rem var(--desk-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--desk-navy);
  background: #fff;
}
.desk-search input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.desk-error {
  min-height: 1.2rem;
  margin: 0.65rem 0 0;
  color: var(--desk-alert);
  font-size: 0.88rem;
}
.desk-hint {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--desk-muted);
}
.desk-hint button {
  background: none;
  border: none;
  padding: 0;
  color: var(--desk-blue);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.desk-notes-section {
  padding-top: 0;
  padding-bottom: 4.5rem;
  background: var(--bg-subtle);
}
.desk-notes-section .section__head {
  margin-bottom: 1.75rem;
}
.desk-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.desk-notes .card {
  margin: 0;
}
.desk-notes .card h3 {
  font-size: 1.05rem;
}
.desk-notes .card p {
  margin: 0;
}

.desk-result-section {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 40%);
}
.desk-result-wrap {
  max-width: 52rem;
}

.desk-teaser,
.desk-unavailable,
.desk-receipt,
.desk-pay {
  background: var(--desk-card);
  border: 1px solid var(--desk-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.5rem 1.45rem;
  margin-top: 1.15rem;
}
.desk-unavailable h2,
.desk-teaser h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--desk-navy);
  margin: 0 0 0.5rem;
}
.desk-teaser__tail {
  font-family: var(--desk-mono);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--desk-navy);
  margin: 0;
}
.desk-teaser__id {
  margin: 0.2rem 0 0.85rem;
  color: var(--desk-muted);
}
.desk-lock {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  background: var(--bg-subtle);
  border: 1px dashed #94a3b8;
  border-radius: 10px;
  color: var(--desk-muted);
  font-size: 0.9rem;
}
.desk-lock strong {
  color: var(--desk-ink);
  display: block;
  margin-bottom: 0.2rem;
}
.desk-price {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}
.desk-pay-note {
  font-size: 0.8rem;
  color: var(--desk-muted);
  margin: 0 0 1rem;
  line-height: 1.45;
}
.desk-demo-label {
  margin: 0.75rem 0 0.45rem;
  font-size: 0.78rem;
  color: var(--desk-warn);
}

.desk-report {
  margin-top: 1.25rem;
  background: #fff;
  border: 1px solid var(--desk-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.desk-report__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: var(--navy);
  color: #fff;
}
.desk-report__bar strong { letter-spacing: 0.04em; }
.desk-report__bar span { font-size: 0.75rem; opacity: 0.85; }
.desk-report__ribbon {
  background: var(--navy-soft);
  color: #fff;
  text-align: center;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
}
.desk-report__hero {
  padding: 1.2rem 1.25rem 1rem;
  border-bottom: 3px solid var(--accent);
  background: var(--bg-subtle);
}
.desk-report__reg {
  font-family: var(--desk-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--desk-navy);
  margin: 0;
}
.desk-report__sub { margin: 0.2rem 0 0; color: #334155; }
.desk-trust { margin-top: 0.9rem; }
.desk-trust__score {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--desk-navy);
}
.desk-trust__of { color: var(--desk-muted); font-size: 0.95rem; }
.desk-trust__label { font-weight: 700; margin-left: 0.35rem; }
.desk-trust__note { margin: 0.35rem 0 0; font-size: 0.85rem; color: #334155; }
.desk-factors {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}
.desk-factors li {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--desk-line);
  padding: 0.25rem 0;
}
.desk-factors .off { color: var(--desk-muted); }

.desk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--desk-line);
}
.desk-grid section { padding: 1rem 1.25rem; }
.desk-grid section + section { border-left: 1px solid var(--desk-line); }
.desk-grid h2,
.desk-section h2 {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy-soft);
}
.desk-dl { margin: 0; display: grid; gap: 0.3rem; }
.desk-dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.4rem; font-size: 0.82rem; }
.desk-dl dt { color: var(--desk-muted); margin: 0; }
.desk-dl dd { margin: 0; font-weight: 600; }

.desk-section { padding: 0 0 1rem; }
.desk-section h2 {
  background: var(--navy);
  color: #fff;
  padding: 0.45rem 1.25rem;
  margin: 0 0 0.85rem;
}
.desk-flags {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.5rem;
  padding: 0 1.25rem 0.75rem;
}
.desk-flag {
  border: 1px solid var(--desk-line);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font-size: 0.8rem;
}
.desk-flag small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--desk-muted);
  font-weight: 700;
}
.desk-flag--ok { background: #ecfdf5; }
.desk-flag--warn { background: #fffbeb; }
.desk-flag--alert { background: #fef2f2; }
.desk-flag--ok strong { color: var(--desk-ok); }
.desk-flag--warn strong { color: var(--desk-warn); }
.desk-flag--alert strong { color: var(--desk-alert); }

.desk-table-wrap { padding: 0 1.25rem 1rem; overflow-x: auto; }
.desk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.desk-table th {
  text-align: left;
  background: var(--bg-subtle);
  color: var(--desk-navy);
  font-size: 0.68rem;
  text-transform: uppercase;
  padding: 0.45rem 0.55rem;
  border: 1px solid #cbd5e1;
}
.desk-table td {
  padding: 0.5rem 0.55rem;
  border: 1px solid var(--desk-line);
  vertical-align: top;
}
.desk-table .warn { background: #fffbeb; }
.desk-table .alert { background: #fef2f2; }
.desk-kind { font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; }
.desk-event-title { font-weight: 700; margin: 0; }
.desk-event-sum { margin: 0.15rem 0 0; color: #334155; }

.desk-foot {
  padding: 0.85rem 1.25rem 1.15rem;
  font-size: 0.72rem;
  color: var(--desk-muted);
  background: var(--bg-subtle);
  border-top: 1px solid var(--desk-line);
}

.desk-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 960px) {
  .page-desk .hero-premium__grid {
    gap: 1.75rem;
  }
  .page-desk .hero-premium__mascot {
    max-width: 168px;
  }
  .desk-notes { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .desk-grid { grid-template-columns: 1fr; }
  .desk-grid section + section { border-left: 0; border-top: 1px solid var(--desk-line); }
  .desk-search { max-width: none; }
  .desk-search__row .btn { width: 100%; }
}
