/* Workbench design tokens and shared primitives. */
:root {
  --bg: #f5f7fa;
  --bg2: #fff;
  --bg3: #f7f9fb;
  --bg-glass: #fff;
  --surf: #fff;
  --surf2: #eef0f3;
  --bdr: #e1e4e9;
  --bdr2: #ccd2db;
  --text: #182838;
  --text2: #5a6878;
  --text3: #697786;
  --blue: #0866e8;
  --blue-lt: #e8f1ff;
  --blue-lt2: #f2f7ff;
  --green: #19834c;
  --green-lt: #eaf6ef;
  --amber: #a46609;
  --amber-lt: #fff4df;
  --red: #cc3b37;
  --red-lt: #fff0ef;
  --purple: #7653b6;
  --purple-lt: #f2edfa;
  --r: 6px;
  --r2: 8px;
  --r3: 12px;
  --shadow: 0 1px 2px #18283803;
  --font: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  --display: "SF Pro Display",-apple-system,"PingFang SC",sans-serif;
  --mono: ui-monospace,"SF Mono",Menlo,monospace;
  --system-blue: var(--blue);
  --ui-blue: var(--blue);
  --ui-line: var(--bdr);
  --ink: var(--text);
  --ink-2: var(--text2);
  --ink-3: var(--text3);
  --cert-gold: #d8ad45;
  --cert-green: #25b982;
  --cert-orange: #ff9f0a;
  --cert-red: #ff453a;
}
*,*::before,*::after {
  box-sizing: border-box
}
html {
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.6 var(--font);
  -webkit-font-smoothing: antialiased
}
h1,h2,h3,h4,p {
  margin: 0
}
button,input,select,textarea {
  font: inherit
}
button {
  cursor: pointer;
  color: inherit
}
button {
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  background: var(--surf);
  padding: 7px 12px;
  line-height: 1.4;
  transition: background-color .15s,border-color .15s;
}
button:hover {
  background: var(--bg3)
}
button:disabled {
  opacity: .5;
  cursor: not-allowed
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline: 3px solid #80b5ff;
  outline-offset: 3px
}
input,select,textarea {
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--bdr2);
  border-radius: var(--r);
  padding: 8px 10px;
  background: var(--surf);
  color: var(--text)
}
input:not([type=checkbox]):not([type=radio]),select,textarea {
  width: 100%
}
input::placeholder,textarea::placeholder {
  color: var(--text3)
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  flex-shrink: 0
}
img,canvas {
  max-width: 100%
}
a {
  color: var(--blue)
}
[hidden] {
  display: none!important
}
.btn,.text-action,.decision-action,.community-btn,.hero-primary,.launch-compare,.topbar-primary,.empty-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  text-decoration: none;
  font-weight: 600
}
.btn.pri,.btn-run,.primary,.hero-primary,.topbar-primary,.empty-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff
}
:is(.btn.pri,.btn-run,.primary,.hero-primary,.topbar-primary,.empty-primary,.sheet-primary):hover {
  background: #0758c7;
  border-color: #0758c7;
  color: #fff
}
.cert-save-button:hover {
  background: #333b48;
  border-color: #333b48;
  color: #fff
}
.danger {
  color: var(--red);
  background: var(--red-lt)
}
.btn-sm {
  font-size: 12px;
  min-height: 32px;
  padding: 6px 10px
}
.text-action {
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: 4px
}
.card,.section-card {
  min-width: 0;
  background: var(--surf);
  border: 1px solid var(--bdr);
  border-radius: var(--r3);
  box-shadow: var(--shadow)
}
.card-hd,.section-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--bdr)
}
.card-ttl,.section-card-title {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4
}
.card-sub,.section-card-subtitle {
  font-size: 12px;
  color: var(--text2);
  margin-top: 4px
}
.card-bd {
  padding: 20px;
  min-width: 0
}
.field {
  margin-bottom: 16px
}
.field>label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px
}
.pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg3);
  color: var(--text2);
  white-space: nowrap
}
.pill.pass,.pill.green {
  color: var(--green);
  background: var(--green-lt)
}
.pill.warn,.pill.gold {
  color: var(--amber);
  background: var(--amber-lt)
}
.pill.fail {
  color: var(--red);
  background: var(--red-lt)
}
.pill.run {
  color: var(--blue);
  background: var(--blue-lt)
}
.privacy-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0
}
.empty-state,.history-empty,.signal-empty {
  padding: 24px 16px;
  color: var(--text2);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 12px
}
.recent-empty-copy {
  display: grid;
  gap: 8px;
  justify-items: center;
  max-width: 400px;
  padding: 8px
}
.recent-empty-copy strong {
  color: var(--text);
  font-size: 15px
}
.recent-empty-copy span {
  font-size: 13px
}
.metrics {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  margin: 16px 0
}
.mc {
  padding: 16px;
  background: var(--bg3);
  border-radius: 12px;
  min-width: 0
}
.mv {
  font-size: 28px;
  font-weight: 700
}
.ml {
  font-size: 12px;
  color: var(--text2)
}
.hi {
  color: var(--green)
}
.mi {
  color: var(--amber)
}
.lo {
  color: var(--red)
}
.prog-lbl {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--text2)
}
.prog-tr,.run-overview-track {
  height: 5px;
  border-radius: 4px;
  background: var(--surf2);
  overflow: hidden;
  margin-top: 12px
}
.prog-fi,.run-overview-fill {
  height: 100%;
  background: var(--blue);
  border-radius: inherit;
  transition: width .2s
}
.vbox {
  padding: 20px;
  background: var(--bg3);
  border-radius: 12px
}
.vt {
  font-weight: 600
}
.vtx {
  color: var(--text2);
  margin-top: 8px
}
.notice {
  padding: 12px;
  border-radius: 8px;
  background: var(--blue-lt2);
  color: var(--text2);
  font-size: 12px
}
.rep,.report-hidden,.probe-secret,.mtabs,.hdr {
  display: none
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 2000;
  background: #fff;
  padding: 12px
}
.skip-link:focus {
  top: 12px
}
@media(max-width:600px) {
  .btn,.topbar-primary,.hero-primary,.empty-primary,.decision-action {
    min-height: 40px
  }
  button {
    touch-action: manipulation
  }
  .card-hd,.section-card-head {
    padding: 16px;
    gap: 12px
  }
  .card-bd {
    padding: 16px
  }
  .card-ttl {
    font-size: 15px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important
  }
}
