:root {
  color-scheme: light;
  --canvas: light-dark(#fff, #1d2938);
  --panel: light-dark(#fff, #243142);
  --slate: light-dark(#f6f7f9, #2e3d50);
  --ink: light-dark(#192231, #e7edf5);
  --muted: light-dark(#4c586b, #c1cddd);
  --line: light-dark(#d9dfe7, #516177);
  --link: light-dark(#185abc, #adcfff);
  --visited: light-dark(#654977, #d4b7e5);
  font: 16px/1.5 system-ui, sans-serif;
  background: var(--canvas);
  color: var(--ink);
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: var(--link); text-underline-offset: 3px; }
main a:visited { color: var(--visited); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
header { border-bottom: 1px solid var(--line); background: var(--panel); }
.header-inner, main { max-width: 1080px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.header-inner, header nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.header-inner { justify-content: space-between; padding-block: 13px; }
nav { font-size: .875rem; }
.wordmark { text-decoration: none; color: var(--ink); font-size: 1.4rem; font-weight: 650; letter-spacing: -.03em; }
.wordmark small { font-size: .72rem; letter-spacing: normal; font-weight: 400; color: var(--muted); }
button, select, input[type="search"] { font: inherit; color: var(--ink); background: var(--slate); border: 1px solid var(--line); border-radius: 4px; padding: 6px 10px; }
button[aria-pressed="true"] { border-color: var(--link); }
main { padding-block: 26px 40px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(1.8rem, 5vw, 2.2rem); letter-spacing: -.035em; line-height: 1.15; }
h2 { font-size: 1.2rem; }
.intro { color: var(--muted); margin: 8px 0 18px; }
.browse { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.browse label { font-size: .85rem; font-weight: 600; }
.browse input, .browse select { display: block; width: 100%; margin-top: 4px; min-height: 42px; font-size: 1rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 12px; }
fieldset { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; margin: 0; padding: 4px 9px 8px; border: 1px solid var(--line); border-radius: 4px; font-size: .82rem; }
legend { font-weight: 650; }
fieldset label { display: inline-flex; align-items: center; gap: 4px; }
fieldset input { margin: 0; accent-color: var(--link); }
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-block: 12px; }
.status, .breadcrumb { color: var(--muted); font-size: .86rem; margin-block: 10px; }
.panel { border: 1px solid var(--line); border-radius: 5px; background: var(--panel); margin-block: 12px; }
.panel-heading { padding: 9px 14px; border-bottom: 1px solid var(--line); background: var(--slate); }
.panel-heading p, .tools small { color: var(--muted); }
.panel-heading p { font-size: .875rem; }
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 5px 14px; gap: 0 14px; }
.tools li { display: flex; align-items: start; gap: 7px; padding-block: 8px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.icon { display: inline-grid; place-items: center; width: 16px; height: 16px; flex: 0 0 16px; margin-top: 4px; vertical-align: middle; object-fit: contain; }
.initial { background: var(--slate); border-radius: 3px; color: var(--ink); font-size: .68rem; font-weight: 700; }
.tools small { display: block; font-size: .75rem; }
.panel-links { padding: 8px 14px; text-align: center; }
.full-list { padding-inline: 0; }
.profile-section { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.profile-section p, main > h1 ~ p { margin-block: 7px; }
.task-links { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; list-style: none; }
.skip { position: absolute; top: 0; left: 10px; transform: translateY(-150%); background: var(--panel); padding: 8px; }
.skip:focus { transform: none; }
@media (max-width: 720px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 470px) { .tools, .browse { grid-template-columns: minmax(0, 1fr); } }
@media (pointer: coarse) { fieldset label { min-height: 44px; } }

.browse input, .browse select {
  appearance: none;
  -webkit-appearance: none;
  height: 44px;
  font-weight: 400;
}
.browse select {
  padding-inline-end: 32px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: right 16px center, right 11px center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.task-grid {
  --task-columns: 3;
  column-count: var(--task-columns);
  column-gap: 12px;
  margin-top: 12px;
}
.task-grid .panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  break-inside: avoid;
  margin: 0 0 12px;
}
.task-grid.is-packed {
  display: grid;
  grid-template-columns: repeat(var(--task-columns), minmax(0, 1fr));
  grid-auto-rows: 1px;
  grid-auto-flow: row dense;
  align-items: start;
}
.task-grid.is-packed .panel { grid-row-end: span var(--task-span, 1); }
.task-grid .tools { grid-template-columns: minmax(0, 1fr); }
.task-grid .tools li { padding-block: 4px; border-bottom: 0; }
.task-grid .tools li:not([hidden]) ~ li:not([hidden]) { border-top: 1px solid var(--line); }
.task-grid .panel-links {
  padding: 0;
  background: var(--slate);
  border-radius: 0 0 4px 4px;
  font-size: .8125rem;
}
.task-grid .panel-links a {
  display: block;
  padding: 5px 12px;
}
.task-grid .panel-links a:focus-visible { outline-offset: -3px; }
@media (pointer: coarse) {
  .task-grid .panel-links a {
    display: grid;
    place-items: center;
    min-height: 44px;
  }
}
@media (max-width: 850px) {
  .task-grid { --task-columns: 2; }
}
@media (max-width: 560px) {
  .task-grid { --task-columns: 1; }
}
@media (pointer: coarse) {
  .task-grid .tools a { display: flex; align-items: center; min-height: 44px; }
  .task-grid .tools .icon { margin-top: 14px; }
}

.task-grid .panel-links:empty { display: none; }

.product-profile .profile-section { max-width: none; }
.product-profile > p, .product-profile figcaption { margin-block: 7px; }
.product-profile figure { margin: 1rem 0; }
.product-profile video, .product-profile figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 5px; }
.product-profile figcaption { color: var(--muted); }

.workflow-check { margin-top: 1rem; }
.review-result { padding: .75rem 1rem; background: var(--slate); border: 1px solid var(--line); border-radius: 5px; }
.review-evidence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-block: 1rem; }
.product-profile .review-evidence figure { margin: 0; }
.product-profile details { margin-block: .75rem; }
.product-profile summary { cursor: pointer; }
.product-profile video { max-width: 680px; }
@media (max-width: 700px) {
  .review-evidence { grid-template-columns: minmax(0, 1fr); }
}

/* Audit record */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.audit { display: grid; gap: 1.75rem; margin-top: 1.5rem; }
.audit-head { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 6px; background: var(--slate); }
.audit-kicker { display: flex; flex-wrap: wrap; gap: .4rem .75rem; align-items: center; font-size: .82rem; color: var(--muted); margin: 0; }
.audit-state { font-weight: 650; padding: .15rem .5rem; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-size: .78rem; }
.audit-state--current { border-color: light-dark(#b9dcc0,#33543d); color: light-dark(#1d5a2b,#a9d8b3); }
.audit-state--due, .audit-state--lapsed { border-color: light-dark(#e8d2a8,#5c4a28); color: light-dark(#7a4f0b,#e8c48a); }
.audit-state--suspended { border-color: light-dark(#e7b8b8,#5c3232); color: light-dark(#8a2020,#eda3a3); }
.audit-claim { font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.35; letter-spacing: -.015em; margin: .6rem 0 0; }
.audit-facts { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; list-style: none; margin: .9rem 0 0; padding: 0; font-size: .88rem; color: var(--muted); }
.audit-facts strong { color: var(--ink); }
.audit-warning { margin: .8rem 0 0; padding: .6rem .75rem; border-left: 3px solid light-dark(#e8d2a8,#5c4a28); background: var(--panel); font-size: .9rem; }
.audit-section { margin: 0; }
.audit-section h2 { font-size: 1.05rem; margin-bottom: .5rem; }
.audit-section h3 { font-size: .95rem; margin: .25rem 0 .4rem; }
.audit-intro { margin-block: .5rem; }
.audit-disclosure { max-width: none; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 5px; background: var(--panel); font-size: .9rem; color: var(--muted); }
table.summary-table, table.check-table { width: 100%; border-collapse: collapse; font-size: .875rem; margin-top: .6rem; }
table.summary-table th, table.summary-table td, table.check-table th, table.check-table td { text-align: left; vertical-align: top; padding: .45rem .55rem; border-bottom: 1px solid var(--line); }
table.summary-table thead th, table.check-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-bottom-width: 2px; }
table.summary-table td:not(:first-child), table.summary-table th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
table.summary-table tfoot th, table.summary-table tfoot td { border-top: 2px solid var(--line); font-weight: 650; }
table.check-table th[scope="row"] { width: 3.2rem; font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
table.check-table td:nth-child(3) { width: 8.5rem; }
.check-row--unrun { color: var(--muted); }
.check-status { display: inline-block; padding: .1rem .45rem; border-radius: 3px; font-size: .76rem; font-weight: 650; white-space: nowrap; border: 1px solid transparent; }
.check-status--pass { background: light-dark(#e6f3e8,#203528); color: light-dark(#1d5a2b,#a9d8b3); border-color: light-dark(#b9dcc0,#33543d); }
.check-status--fail { background: light-dark(#fbe9e9,#3a2222); color: light-dark(#8a2020,#eda3a3); border-color: light-dark(#e7b8b8,#5c3232); }
.check-status--partial { background: light-dark(#fdf3e2,#3a3020); color: light-dark(#7a4f0b,#e8c48a); border-color: light-dark(#e8d2a8,#5c4a28); }
.check-status--na, .check-status--not-run { background: var(--slate); color: var(--muted); border-color: var(--line); }
.audit-legend { font-size: .8rem; color: var(--muted); margin-top: .7rem; }
.finding { border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 5px; padding: .8rem .95rem; margin-block: .7rem; background: var(--panel); }
.finding--critical { border-left-color: light-dark(#8a2020,#e07070); }
.finding--high { border-left-color: light-dark(#b0501f,#e8975a); }
.finding--medium { border-left-color: light-dark(#8a6a1f,#d9b35e); }
.finding--low { border-left-color: light-dark(#4c6a8a,#7fa6cc); }
.finding-head { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .78rem; color: var(--muted); margin: 0; }
.severity { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.severity--critical, .severity--high { color: light-dark(#8a2020,#e8975a); }
.finding h3 { font-size: 1rem; margin: .35rem 0 .4rem; }
.finding-checks { font-size: .8rem; color: var(--muted); }
.audit-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .6rem 1.5rem; margin: .6rem 0; }
.audit-figures dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.audit-figures dd { margin: .15rem 0 0; }
.audit-gap { padding: .7rem .9rem; border: 1px dashed var(--line); border-radius: 5px; background: var(--slate); color: var(--muted); }
.audit-limits { margin: .5rem 0; padding-left: 1.2rem; font-size: .9rem; }
.audit-limits li { margin-block: .3rem; }
.audit-timeline { list-style: none; margin: .6rem 0; padding: 0; border-left: 2px solid var(--line); }
.audit-timeline li { padding: 0 0 .9rem 1rem; position: relative; font-size: .9rem; }
.audit-timeline li::before { content: ""; position: absolute; left: -.4rem; top: .4rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--line); }
.audit-timeline time { display: block; font-size: .78rem; color: var(--muted); }
.hash { font-family: ui-monospace, monospace; font-size: .72rem; }
@media (max-width: 720px) {
  table.check-table, table.summary-table { display: block; overflow-x: auto; }
}
.evidence-group + .evidence-group { margin-top: 1.4rem; }
.evidence-group h3 { font-size: .95rem; margin: .2rem 0 .3rem; }
.review-evidence--two { grid-template-columns: repeat(2, minmax(0, 380px)); }
.review-evidence--two figure img { width: 100%; max-width: 380px; }
.audit .review-evidence figure img { background: var(--slate); }
@media (max-width: 700px) {
  .review-evidence--two { grid-template-columns: minmax(0, 1fr); }
  .review-evidence--two figure img { max-width: none; }
}
.audit, .audit-section, .evidence-group { min-width: 0; }
.audit > * { min-width: 0; }
table.summary-table, table.check-table { max-width: 100%; }
@media (max-width: 720px) {
  table.check-table, table.summary-table { display: block; width: 100%; }
}
@media (max-width: 720px) {
  table.summary-table th:nth-child(3), table.summary-table td:nth-child(3),
  table.summary-table th:nth-child(4), table.summary-table td:nth-child(4),
  table.summary-table th:nth-child(5), table.summary-table td:nth-child(5) { display: none; }
}
@media (max-width: 720px) {
  table.check-table { display: block; overflow: visible; }
  table.check-table thead { display: none; }
  table.check-table tbody { display: block; }
  table.check-table tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .25rem .6rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  table.check-table th, table.check-table td { display: block; padding: 0; border: 0; }
  table.check-table th[scope="row"] { grid-column: 1; width: auto; color: var(--ink); font-weight: 700; }
  table.check-table td:nth-child(2) { grid-column: 2; }
  table.check-table td:nth-child(3) { grid-column: 1 / -1; width: auto; margin-top: .15rem; }
  table.check-table td:nth-child(4) { grid-column: 1 / -1; }
}
.audit-section p.audit-disclosure { max-width: none; }

/* Check kind and evidence basis */
.kind { display: inline-block; padding: .05rem .35rem; border-radius: 3px; font-size: .7rem; font-weight: 650; letter-spacing: .03em; text-transform: uppercase; background: var(--slate); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.kind--product { color: light-dark(#1d4f7a, #a8cbe8); border-color: light-dark(#b6d2e8, #3a5a75); }
.kind--control { color: light-dark(#5a4a7a, #c9b8e8); border-color: light-dark(#d2c8e8, #4d3f63); }
.kind--policy { color: light-dark(#6a5a1f, #d9c78e); border-color: light-dark(#ded0a0, #5c5230); }
.basis { display: block; margin-top: .25rem; font-size: .7rem; color: var(--muted); letter-spacing: .02em; }
.basis--stated, .basis--inferred { font-style: italic; }
table.check-table td:nth-child(3) { width: 6.5rem; }
table.check-table td:nth-child(4) { width: 9.5rem; }

/* Findings: category and rationale */
.finding-category { padding: .1rem .4rem; border-radius: 3px; background: var(--slate); border: 1px solid var(--line); font-size: .72rem; }
.finding-rationale { font-size: .86rem; color: var(--muted); }
.severity-method { margin-top: 1rem; }
.severity-method summary { cursor: pointer; font-weight: 600; }
.severity-scale { display: grid; gap: .5rem; margin: .7rem 0; }
.severity-scale div { display: grid; grid-template-columns: 6rem 1fr; gap: .6rem; }
.severity-scale dt { margin: 0; }
.severity-scale dd { margin: 0; font-size: .88rem; color: var(--muted); }

/* History */
.audit-history { list-style: none; margin: .6rem 0; padding: 0; }
.audit-history li { display: grid; grid-template-columns: 9rem 10rem minmax(0, 1fr); gap: .3rem 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.history-type { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 650; color: var(--muted); }
.history-type--retest, .history-type--remediation { color: light-dark(#1d5a2b, #a9d8b3); }
.history-type--finding { color: light-dark(#8a2020, #e8975a); }
.audit-history time { color: var(--muted); font-variant-numeric: tabular-nums; }

@media (max-width: 720px) {
  table.check-table td:nth-child(3) { grid-column: 1; width: auto; margin-top: .2rem; }
  table.check-table td:nth-child(4) { grid-column: 2; width: auto; margin-top: .2rem; }
  table.check-table td:nth-child(5) { grid-column: 1 / -1; }
  table.summary-table th:nth-child(3), table.summary-table td:nth-child(3) { display: table-cell; }
  table.summary-table th:nth-child(4), table.summary-table td:nth-child(4),
  table.summary-table th:nth-child(5), table.summary-table td:nth-child(5),
  table.summary-table th:nth-child(6), table.summary-table td:nth-child(6) { display: none; }
  .audit-history li { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
  .severity-scale div { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
}

/* Caveat, open findings, plain answers, service scope and permitted wording */
.audit-state--current { border-color: var(--line); color: var(--ink); background: var(--slate); }
.audit-caveat { margin: .5rem 0 0; font-size: .85rem; color: var(--muted); font-style: italic; }
.audit-open { margin: .8rem 0 0; padding: .6rem .75rem; border-left: 3px solid light-dark(#b0501f, #e8975a); background: var(--panel); font-size: .92rem; }
.plain-job { margin-top: 1.1rem; }
.plain-job h3 { font-size: 1rem; margin: 0 0 .4rem; }
.plain-qa { margin: 0; display: grid; gap: .7rem; }
.plain-qa dt { font-weight: 650; }
.plain-qa dd { margin: .15rem 0 0; }
.service-grid, .wording-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.6rem; margin-top: .6rem; }
.service-grid h3, .wording-grid h3 { font-size: .95rem; margin: 0 0 .3rem; }
.wording-yes { margin: 0; padding: .7rem .9rem; border: 1px solid var(--line); border-left: 3px solid light-dark(#1d5a2b, #a9d8b3); border-radius: 4px; background: var(--panel); font-size: .9rem; }
.wording-yes p { margin: 0; }
.wording-no { margin: 0; padding-left: 1.2rem; font-size: .9rem; color: var(--muted); }
.wording-no li { margin-block: .2rem; }
@media (max-width: 720px) {
  .service-grid, .wording-grid { grid-template-columns: minmax(0, 1fr); }
}

.finding-resolution { margin-top: .5rem; font-size: .86rem; padding: .45rem .6rem; border-left: 2px solid light-dark(#1d5a2b, #a9d8b3); background: var(--slate); border-radius: 3px; }

/* Rows link out to the vendor unless Dialegein has written a record. */
.task-grid .panel-links .show-all {
  width: 100%;
  border: 0;
  border-radius: 0 0 4px 4px;
  background: transparent;
  padding: 5px 12px;
  font: inherit;
  font-size: .8125rem;
  color: var(--link);
  cursor: pointer;
}
.task-grid .panel-links .show-all:focus-visible { outline-offset: -3px; }
@media (pointer: coarse) {
  .task-grid .panel-links .show-all { min-height: 44px; }
}

/* Footer */
.site-footer { margin-top: 3rem; border-top: 1px solid var(--line); background: var(--panel); }
.footer-inner { max-width: 1080px; margin-inline: auto; padding: 2rem clamp(16px, 4vw, 40px) 2.5rem; display: grid; gap: 1.5rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.5rem 2.5rem; align-items: start; }
.footer-brand .wordmark { font-size: 1.15rem; }
.footer-brand p { color: var(--muted); font-size: .9rem; margin: .6rem 0 0; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2rem; align-items: start; align-content: start; }
.footer-nav h2 { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; margin: 0 0 .45rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; font-size: .9rem; }
.footer-note { border-top: 1px solid var(--line); padding-top: 1rem; display: grid; gap: .55rem; font-size: .82rem; color: var(--muted); }
.footer-note p { margin: 0; }
.footer-note strong { color: var(--ink); }
.footer-small { font-size: .78rem; color: var(--muted); margin: 0; }
@media (max-width: 720px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}

/* Method page */
.method-section { margin-top: 1.4rem; }
.method-section h2 { font-size: 1.15rem; margin: 0 0 .5rem; }
.method-section p { margin-block: .55rem; }
.method-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: .7rem; }
.method-table th, .method-table td { text-align: left; vertical-align: top; padding: .5rem .6rem; border-bottom: 1px solid var(--line); }
.method-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-bottom-width: 2px; }
.method-table tbody th[scope="row"] { width: 15rem; font-weight: 650; }
.method-list { margin: .6rem 0; padding-left: 1.2rem; }
.method-list li { margin-block: .35rem; }
@media (max-width: 720px) {
  .method-table tbody th[scope="row"] { width: auto; }
  .method-table { display: block; overflow-x: auto; }
}

/* The heading icon is sized from the heading, not from the 16px list icon. */
.product-profile h1 .icon { width: 1em; height: 1em; flex: 0 0 1em; margin-top: 0; vertical-align: -.1em; border-radius: 3px; }
.product-profile h1 .icon.initial { font-size: .45em; line-height: 1; }

/* Submit page */
.button-link { display: inline-block; padding: .6rem 1rem; border: 1px solid var(--link); border-radius: 4px; font-weight: 600; text-decoration: none; }
.button-link:visited { color: var(--link); }
.prompt-block { margin-top: .8rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 5px; background: var(--slate); }
.prompt-block pre { margin: 0; white-space: pre-wrap; font-family: inherit; font-size: .88rem; line-height: 1.5; }
.copy-button { margin-top: .8rem; padding: .4rem .85rem; font: inherit; font-size: .85rem; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.copy-button:hover { border-color: var(--link); }

/* The theme toggle is a control, but it sits in the navigation and should read
   as one of the links rather than as a button in a toolbar. */
nav #theme {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* A tool with a record looks different from a link out. */
.tested-tag {
  display: inline-block;
  margin-left: .25rem;
  padding: 0 .28rem;
  border: 1px solid light-dark(#b9dcc0, #33543d);
  border-radius: 3px;
  background: light-dark(#e6f3e8, #203528);
  color: light-dark(#1d5a2b, #a9d8b3);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: 1px;
}

/* Footer: the tools that have a record, kept separate and horizontal. */
.footer-tested { border-top: 1px solid var(--line); padding-top: .9rem; }
.footer-tested h2 { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; margin: 0 0 .4rem; }
.footer-tested ul { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; list-style: none; margin: 0; padding: 0; font-size: .9rem; }

/* Product page: the single primary action and the scope warning. */
.product-action { margin: .9rem 0 0; }
.audit-not-tested { margin: .5rem 0 0; font-size: .85rem; color: var(--muted); }
.audit-not-tested strong { color: var(--ink); }

/* Homepage hierarchy: eight core jobs, then a quieter alphabetical remainder. */
.more-jobs { margin-top: 2.2rem; }
.more-jobs > h2 { font-size: 1.15rem; margin: 0 0 .3rem; }
.task-grid--primary {
  --task-columns: 4;
  display: grid;
  grid-template-columns: repeat(var(--task-columns), minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.task-grid--primary .panel { margin: 0; }
/* Packed mode uses 1px rows, so a row gap would be added once per row and blow
   the grid up. Spacing comes from the panel margin instead. */
.task-grid--primary.is-packed { row-gap: 0; }
.task-grid--primary.is-packed .panel { margin: 0 0 12px; }
/* Two lines of description, always, so every card starts its list at the same
   height whether the blurb is four words or ten. */
.task-grid--primary .panel-heading p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em;
}
/* One line per tool, so twelve rows are twelve rows whatever the name length.
   The full name is in the title attribute. */
.task-grid--primary .tools li > div { min-width: 0; display: flex; align-items: center; gap: .25rem; }
.task-grid--primary .tools a { min-width: 0; flex: 1 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-grid--primary .tools .tested-tag { flex: 0 0 auto; }
.task-grid--secondary { --task-columns: 4; }
.task-grid--secondary .panel-heading { padding: 7px 12px; }
.task-grid--secondary .panel-heading h2 { font-size: .95rem; }
.task-grid--secondary .tools { padding: 3px 12px; }
.task-grid--secondary .tools li { padding-block: 3px; }
@media (max-width: 1100px) { .task-grid--primary { --task-columns: 3; } .task-grid--secondary { --task-columns: 3; } }
@media (max-width: 850px) { .task-grid--primary { --task-columns: 2; } .task-grid--secondary { --task-columns: 2; } }
@media (max-width: 560px) { .task-grid--primary { --task-columns: 1; } .task-grid--secondary { --task-columns: 1; } }

.task-count { color: var(--muted); font-size: .8rem; white-space: nowrap; }

/* In-page contents for long reference pages. */
.page-contents { display: block; margin: 1rem 0 1.6rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 5px; background: var(--slate); }
.page-contents h2 { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 .55rem; }
.page-contents ul { columns: 2; column-gap: 2rem; list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.page-contents li { margin-bottom: .3rem; break-inside: avoid; }
@media (max-width: 560px) { .page-contents ul { columns: 1; } }

/* A record exists for the tool, but not for the job in this panel. */
.record-tag {
  display: inline-block;
  margin-left: .25rem;
  padding: 0 .28rem;
  border: 1px solid light-dark(#cfd3d8, #3b414a);
  border-radius: 3px;
  background: light-dark(#f2f3f5, #23272d);
  color: light-dark(#4a4f57, #a7adb6);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: 1px;
}

/* The long tail packs, so its rows can wrap instead of clipping a vendor name. */
.task-grid--secondary .tools a { white-space: normal; overflow: visible; text-overflow: clip; }

/* A shield for anything carrying an audit record: filled and ticked where the
   record covers this job, outlined where it covers others. */
.tag-icon { width: 9px; height: 9px; margin-right: 2px; vertical-align: -1px; }
.record-tag { text-decoration: none; }
.record-tag:hover { border-color: light-dark(#9aa0a8, #5c636d); }

/* Icon-only record marks: a filled green shield where the record covers this
   job, an outlined one where it covers others. The text is for screen readers. */
.record-mark { display: inline-flex; align-items: center; margin-left: .3rem; vertical-align: -1px; color: var(--muted); }
.record-mark--tested { color: light-dark(#1d7a3a, #79d093); }
.record-mark--other { color: light-dark(#8b9199, #9aa1ab); }
.record-mark .tag-icon { width: 12px; height: 12px; margin: 0; }
.record-mark:hover { color: var(--ink); }

/* The shield is solid so it reads at 12px; the tick is knocked out of it. */
:root { --shield-tick: light-dark(#ffffff, #101418); }
.record-mark--tested { color: light-dark(#1f7a3c, #86d79c); }
