/* web/styles/base.css */
:root {
  color-scheme: dark;
  --night: #030416;
  --metal: #192b41;
  --ice: #53e4ff;
  --paper: #eff6fa;
  --muted: #b9c8d5;
  --line: #2e4762;
  --edge: #7089a3;
  --hover: #223a56;
  --tint: #21455c;
  --good: #7be0a5;
  --warn: #ffd166;
  --bad: #ff9a8f;
  --mono:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  --radius: .4rem;
  --pad: 20px;
  --chosen: linear-gradient(var(--ice), var(--ice)) 0 0 / 3px 100% no-repeat var(--tint);
}
@media (max-width: 520px) {
  :root {
    --pad: 14px;
  }
}
[hidden] {
  display: none !important;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font: 16px/24px system-ui, sans-serif;
}
a {
  color: var(--ice);
  text-underline-offset: .25em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a[target=_blank] {
  overflow-wrap: anywhere;
}
:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 4px;
}
[tabindex="-1"]:focus-visible {
  outline: none;
}
h1,
h2,
h3,
h4 {
  font-weight: 700;
  overflow-wrap: anywhere;
}
h1 {
  font-size: 36px;
  line-height: 42px;
  margin: 0 0 12px;
}
h2 {
  font-size: 20px;
  line-height: 28px;
  margin: 0 0 10px;
}
h3 {
  font-size: 16px;
  margin: 16px 0 6px;
}
h4 {
  font-size: 14px;
  line-height: 20px;
  margin: 14px 0 4px;
  color: var(--muted);
}
h2 .hint,
h3 .hint {
  font-weight: 400;
}
p {
  margin: 0 0 10px;
}
.hint {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}
.mono,
code,
pre {
  font-family: var(--mono);
  font-size: 14px;
}
.error {
  color: var(--bad);
}
.ok {
  color: var(--good);
}
.warn {
  color: var(--warn);
}
.id {
  font: 12px var(--mono);
  color: var(--muted);
}
.unseen {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* web/styles/header.css */
header {
  border-bottom: 1px solid var(--metal);
}
header .bar,
main {
  width: min(100% - 3rem, 1080px);
  margin-inline: auto;
}
header .bar {
  display: flex;
  align-items: center;
  gap: 6px 16px;
  min-height: 60px;
}
a.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
a.brand img {
  display: block;
  width: 28px;
  height: 28px;
}
header .pulse {
  flex: 1;
  min-width: 0;
}
header .pulse:empty {
  display: none;
}
header .end {
  margin-left: auto;
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}
label.acting {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}
label.acting select {
  min-width: 0;
  max-width: 240px;
  padding-block: 4px;
  text-overflow: ellipsis;
}
label.acting.other select {
  border-color: var(--ice);
  color: var(--ice);
}
header > nav {
  width: min(100% - 1.75rem, 1100px);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
}
header > nav a {
  flex: none;
  padding: 8px 10px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
header > nav a:hover {
  color: var(--paper);
}
header > nav a[aria-current] {
  color: var(--paper);
  border-bottom-color: var(--ice);
}
header > nav a:focus-visible {
  outline-offset: -2px;
}
main {
  padding: 24px 0 64px;
}
main > .note {
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  header .bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    padding: 10px 0 4px;
  }
  header .end {
    display: contents;
  }
  .profile {
    grid-area: 1 / 2;
    justify-self: end;
  }
  label.acting {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  label.acting select {
    flex: 1;
    max-width: none;
  }
  header .pulse {
    grid-column: 1 / -1;
    grid-row: 3;
  }
  .profile > summary .who {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}

/* web/styles/controls.css */
section {
  background: var(--metal);
  border-radius: var(--radius);
  padding: 18px var(--pad);
  margin-bottom: 16px;
  min-width: 0;
}
:where(button, select, input, textarea, a.button) {
  font: inherit;
  padding: 6px 12px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--night);
  color: var(--paper);
}
:where(button, a.button) {
  background: transparent;
  cursor: pointer;
}
:where(button:not(:disabled, [aria-disabled=true]), a.button):hover {
  border-color: var(--paper);
}
button:disabled,
button[aria-disabled=true] {
  opacity: .55;
  cursor: default;
}
a.button {
  display: inline-block;
  color: var(--paper);
  text-decoration: none;
}
button.primary,
a.button.primary {
  background: var(--ice);
  border-color: var(--ice);
  color: var(--night);
  font-weight: 700;
}
button.primary:not(:disabled, [aria-disabled=true]):hover,
a.button.primary:hover {
  background: #8cedff;
  border-color: #8cedff;
}
button.danger {
  background: var(--bad);
  border-color: var(--bad);
  color: var(--night);
  font-weight: 700;
}
button.danger:hover {
  background: #ffb8b0;
  border-color: #ffb8b0;
}
button.quiet {
  border-color: transparent;
  background: none;
  color: var(--muted);
  padding: 2px 6px;
}
button.quiet:hover {
  border-color: transparent;
  color: var(--paper);
}
button.small,
a.button.small {
  padding: 2px 10px;
  font-size: 14px;
  line-height: 20px;
}
button.link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--ice);
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .25em;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: .75;
}
input[aria-invalid=true] {
  border-color: var(--bad);
}
input[readonly] {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}
input[type=checkbox],
input[type=radio] {
  flex: none;
  width: 16px;
  height: 16px;
  padding: 0;
  margin: 0;
  accent-color: var(--ice);
}
.row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.row.between {
  justify-content: space-between;
}
.row h2,
.row .row {
  margin-bottom: 0;
}
.check {
  display: inline-flex;
  gap: 8px;
  align-items: flex-start;
  cursor: pointer;
}
.check input {
  margin-top: 4px;
}
.check > span > .hint {
  display: block;
}
.tag {
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  padding: 0 8px;
  border-radius: var(--radius);
  border: 1px solid var(--edge);
  color: var(--muted);
  white-space: nowrap;
}
.tag.live {
  color: var(--good);
  border-color: currentColor;
}
.tag.nested {
  color: var(--ice);
  border-color: currentColor;
}
.tag.care {
  color: var(--bad);
  border-color: currentColor;
}
.title {
  font-size: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  overflow-wrap: anywhere;
}
.note {
  background: var(--night);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
}
.note.care {
  border-left: 3px solid var(--bad);
}
dl.facts {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 8px 16px;
  margin: 12px 0 0;
}
dl.facts dt {
  color: var(--muted);
}
dl.facts dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 520px) {
  dl.facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  dl.facts dd {
    margin-bottom: 8px;
  }
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 20px;
}
th,
td {
  text-align: left;
  padding: 7px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-weight: 500;
  color: var(--muted);
}
td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.calls td:not(.num) {
  overflow-wrap: anywhere;
}
@media (max-width: 520px) {
  .calls,
  .calls tbody {
    display: block;
  }
  .calls thead {
    display: none;
  }
  .calls tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 6px 0;
    border-bottom: 1px solid var(--line);
  }
  .calls td {
    border: 0;
    padding: 1px 0;
  }
  .calls td.num:first-child {
    text-align: left;
    color: var(--muted);
  }
  .calls td:nth-child(2) {
    grid-row: 2;
    grid-column: 1 / -1;
  }
}
tr.group th {
  padding-top: 14px;
  color: var(--paper);
}
tr.group b {
  font-weight: 700;
}
.scroll {
  max-height: 420px;
  overflow: auto;
}
.wide {
  overflow-x: auto;
}
pre {
  font-size: 13px;
  line-height: 20px;
  background: var(--night);
  padding: 10px;
  border-radius: var(--radius);
  overflow: auto;
  max-height: 340px;
  margin: 0;
  white-space: pre-wrap;
}
pre.code {
  white-space: pre;
  max-height: 440px;
  tab-size: 2;
}
pre.code.short {
  max-height: 220px;
}
pre.code.wrap {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
pre.log > div {
  overflow-wrap: anywhere;
}
details {
  margin-top: 8px;
}
summary {
  cursor: pointer;
  color: var(--muted);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}
.chip {
  font: 13px/20px var(--mono);
  padding: 1px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--night);
  color: var(--paper);
  text-decoration: none;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
button.chip,
a.chip {
  cursor: pointer;
  border-color: var(--edge);
}
button.chip:hover,
a.chip:hover {
  border-color: var(--paper);
}
.chip:focus-visible {
  outline-offset: 2px;
}
.chip.current {
  background: var(--ice);
  border-color: var(--ice);
  color: var(--night);
}
.chip.current .hint {
  color: var(--night);
}
.chip.deprecated {
  text-decoration: line-through;
  color: var(--muted);
}
.chip.more {
  border-style: dashed;
  color: var(--muted);
}
.chip.care {
  border-color: currentColor;
  color: var(--bad);
}
.segments {
  display: inline-flex;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  overflow: hidden;
}
.segments button {
  border: 0;
  border-radius: 0;
  border-left: 1px solid var(--edge);
}
.segments button:first-child {
  border-left: 0;
}
.segments button:focus-visible {
  outline-offset: -3px;
}
.segments button.current {
  background: var(--ice);
  color: var(--night);
}
.segments button.current:focus-visible {
  outline-color: var(--night);
}
.segments button.current .hint {
  color: inherit;
  opacity: .8;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.stat {
  background: var(--night);
  border-radius: var(--radius);
  padding: 8px 12px;
  min-width: 96px;
  max-width: 100%;
  display: grid;
}
.stat b {
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}
.diagnostics {
  list-style: none;
  margin: 6px 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.diagnostics li {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 8px;
  padding: 6px 8px;
  border-radius: var(--radius);
  background: var(--night);
  border-left: 3px solid var(--muted);
  overflow-wrap: anywhere;
}
.diagnostics .severity {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.diagnostics li.error {
  border-left-color: var(--bad);
  color: var(--paper);
}
.diagnostics li.error .severity {
  color: var(--bad);
}
.diagnostics li.warning {
  border-left-color: var(--warn);
}
.diagnostics li.warning .severity {
  color: var(--warn);
}

/* web/styles/columns.css */
.split {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.columns {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
@media (max-width: 1100px) {
  .columns {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}
.list button {
  display: block;
  width: 100%;
  text-align: left;
  margin-bottom: 6px;
  padding: 8px 12px;
}
.list button.current {
  border-color: var(--ice);
  background: var(--chosen);
}
.list .name {
  font-weight: 700;
  overflow-wrap: anywhere;
}
.releases div {
  margin-bottom: 6px;
}
iframe {
  width: 100%;
  height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.files {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}
.files button {
  font: 13px var(--mono);
  padding: 3px 8px;
}
.files button.current {
  border-color: var(--ice);
  background: var(--tint);
}

/* web/styles/packages.css */
.search {
  position: relative;
}
.search form {
  margin: 0;
}
.search form input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
}
.search form button {
  padding: 8px 16px;
}
.results {
  margin-top: 8px;
}
.result {
  display: block;
  padding: 7px 10px;
  border-radius: var(--radius);
  color: var(--paper);
  text-decoration: none;
}
.result:hover,
.result.current {
  background: var(--hover);
}
.result .name {
  font-weight: 700;
}
.search.over .results {
  position: absolute;
  z-index: 4;
  left: var(--pad);
  right: var(--pad);
  top: calc(100% - 6px);
  margin: 0;
  background: var(--metal);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  max-height: 60vh;
  overflow: auto;
  padding: 6px;
}
.package-body {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.versions {
  position: sticky;
  top: 12px;
  max-height: calc(100vh - 24px);
  display: flex;
  flex-direction: column;
}
.versions .row {
  margin-bottom: 6px;
}
.versions input[type=search] {
  flex: 1;
  min-width: 0;
}
.tags {
  margin-bottom: 8px;
}
.tags .chip {
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
}
.majors {
  flex: 1;
  min-height: 140px;
  overflow: auto;
  border-top: 1px solid var(--line);
  margin: 2px calc(-1 * var(--pad)) 0;
  padding: 0 var(--pad);
}
.major {
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.major > summary {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 7px 0;
  color: var(--paper);
  list-style: none;
}
.major > summary::-webkit-details-marker {
  display: none;
}
.major > summary::before {
  content: "\25b8";
  color: var(--muted);
  width: 10px;
}
.major[open] > summary::before {
  content: "\25be";
}
.major > summary:focus-visible {
  outline-offset: -2px;
}
.major > summary b {
  min-width: 22px;
}
.minors {
  padding-bottom: 6px;
}
.minor {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 6px;
  padding: 3px 0 3px 18px;
}
.minor-name {
  font: 13px/20px var(--mono);
  color: var(--muted);
  padding-top: 2px;
}
.lines {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  min-width: 0;
}
.kind-name {
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
}
.about {
  margin: 0;
  padding-top: 8px;
  min-height: 28px;
  border-top: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.empty {
  padding: 12px 0;
}
@media (max-width: 900px) {
  .package-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .versions {
    position: static;
    max-height: none;
  }
  .majors {
    max-height: 44vh;
  }
}
.version.leaving {
  opacity: .55;
  pointer-events: none;
}
.traits {
  list-style: none;
  padding: 0;
  margin: 12px 0 4px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
  gap: 5px 20px;
}
.traits li {
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.traits .mark {
  flex: none;
  width: 14px;
  text-align: center;
  font-weight: 700;
  color: var(--muted);
}
.traits .good .mark {
  color: var(--good);
}
.traits .care .mark {
  color: var(--bad);
}
.traits .unknown {
  color: var(--muted);
}
.browser {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.browser-side input {
  width: 100%;
  margin-bottom: 6px;
}
.file-list {
  max-height: 400px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.file-list button {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  text-align: left;
  font: 13px var(--mono);
  padding: 6px 8px;
}
.file-list button:hover {
  background: var(--hover);
}
.file-list button:focus-visible {
  outline-offset: -2px;
}
.file-list button.current {
  background: var(--chosen);
}
.file-list .path {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-list .hint {
  flex: none;
}
.file-list p {
  padding: 6px 8px;
  margin: 0;
}
.file-title {
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .browser {
    grid-template-columns: minmax(0, 1fr);
  }
  .file-list {
    max-height: 190px;
  }
}
.module-rows {
  border-top: 1px solid var(--line);
  margin: 8px 0;
}
.module {
  border-bottom: 1px solid var(--line);
}
.modules {
  container-type: inline-size;
}
.module-head,
.module.pattern {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr) minmax(0, 1fr) 176px 176px;
  grid-template-areas: "specifier found conditions types state";
  gap: 4px 12px;
  align-items: center;
  padding: 7px 6px;
}
.module-head {
  cursor: pointer;
}
.module-head:hover {
  background: var(--hover);
}
.module-head.labels {
  cursor: default;
  background: none;
  border-bottom: 1px solid var(--line);
  padding-block: 4px;
  grid-template-areas: none;
}
.module-head.labels .state {
  grid-area: auto;
}
.module.current > .module-head {
  background: var(--chosen);
}
.module .specifier {
  grid-area: specifier;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.module .found {
  grid-area: found;
}
.module .conditions {
  grid-area: conditions;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.module .types {
  grid-area: types;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 6px;
  align-items: center;
  min-width: 0;
}
.module-head.labels > span {
  grid-area: auto;
}
.cell-label {
  display: none;
}
.module .state {
  grid-area: state;
  justify-self: end;
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
  margin: 0;
}
.module.pattern {
  grid-template-areas: "specifier found conditions state state";
}
.module.pattern .state {
  flex-wrap: nowrap;
}
.module.pattern .state input {
  width: 220px;
  min-width: 0;
}
.condition {
  font: 12px var(--mono);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 4px;
}
.modules > input[type=search] {
  width: 100%;
  margin-bottom: 8px;
}
.module-rows .more {
  padding: 8px 6px;
  margin: 0;
}
.another {
  margin: 0;
}
.another label {
  width: 100%;
}
.another input {
  flex: 1;
  min-width: 120px;
  max-width: 320px;
}
.another code {
  margin-right: -4px;
}
@container (max-width: 760px) {
  .module-head,
  .module.pattern {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "specifier state" "found found" "conditions conditions" "types types";
  }
  .module.pattern {
    grid-template-areas: "specifier specifier" "found found" "conditions conditions" "state state";
  }
  .module.pattern .state {
    justify-self: start;
  }
  .module-head.labels {
    display: none;
  }
  .cell-label {
    display: inline;
  }
  .module .conditions:empty {
    display: none;
  }
}
@container (max-width: 420px) {
  .module-head {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "specifier" "state" "found" "conditions" "types";
  }
  .module .state {
    justify-self: start;
  }
}
.panel {
  padding: 14px;
  background: var(--night);
  border-top: 1px solid var(--line);
  min-width: 0;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
}
.panel-head .segments {
  max-width: 100%;
  overflow-x: auto;
}
.panel-head .segments button {
  flex: none;
  white-space: nowrap;
}
.tabs {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  margin: 8px 0 12px;
  overflow-x: auto;
}
.tabs button {
  flex: none;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  padding: 6px 12px;
  color: var(--muted);
  white-space: nowrap;
}
.tabs button:hover {
  color: var(--paper);
}
.tabs button:focus-visible {
  outline-offset: -2px;
}
.tabs button.current {
  color: var(--paper);
  font-weight: 700;
  border-bottom-color: var(--ice);
}
.tabs button.current .hint {
  font-weight: 400;
}
.panel pre {
  background: var(--metal);
}
.panel .stat,
.panel .diagnostics li {
  background: var(--metal);
}
.panel .names {
  font: 13px/20px var(--mono);
  overflow-wrap: anywhere;
}
.panel details {
  margin-top: 0;
}
.panel table {
  margin-top: 4px;
}
.verify {
  margin: 12px 0 0;
}

/* web/styles/graphs.css */
.pairs {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}
.pair {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
  gap: 6px;
}
.pair input {
  width: 100%;
  min-width: 0;
}
.graph-form textarea {
  width: 100%;
  margin-bottom: 4px;
  resize: vertical;
}
.graph-form.dropping {
  outline: 2px dashed var(--ice);
  outline-offset: -2px;
}
.graph-form details {
  margin: 4px 0 10px;
}
.graph-form details > p {
  margin-top: 6px;
}
.graph-form form > p {
  margin: 0;
}
.graph-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 16px;
  align-items: start;
}
.graph-body.drawn {
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 1180px) {
  .graph-body {
    grid-template-columns: minmax(0, 1fr);
  }
}
.why {
  background: var(--night);
  border-radius: var(--radius);
  padding: 14px;
  position: sticky;
  top: 12px;
}
.why h3 {
  margin-top: 0;
  overflow-wrap: anywhere;
}
.why p:last-child {
  margin-bottom: 0;
}
.reasons {
  margin: 0 0 8px;
  padding-left: 18px;
}
.reasons li {
  margin-bottom: 2px;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 8px;
}
.legend > span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}
.dot {
  display: inline-block;
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted);
  align-self: center;
}
.dot.nested {
  background: none;
  border: 2px solid var(--ice);
}
.line {
  display: inline-block;
  width: 22px;
  border-top: 2px solid var(--muted);
}
.line.peer {
  border-top-style: dashed;
}
.line.optional {
  border-top-style: dotted;
}
.tree {
  overflow-x: auto;
}
.tree ul {
  list-style: none;
  margin: 0 0 0 9px;
  padding: 0 0 0 10px;
  border-left: 1px solid var(--line);
}
.tree > ul {
  margin: 0;
  padding: 0;
  border-left: 0;
}
.node {
  display: flex;
  align-items: flex-start;
  border-radius: var(--radius);
}
.node:hover {
  background: var(--hover);
}
.node.current {
  background: var(--chosen);
}
.node.missing {
  gap: 8px;
  padding: 4px 6px 4px 0;
  align-items: baseline;
  flex-wrap: wrap;
}
.caret {
  flex: none;
  width: 20px;
  border: 0;
  background: none;
  padding: 4px 0;
  color: var(--muted);
  text-align: center;
}
.pick {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  align-items: baseline;
  border: 0;
  background: none;
  padding: 4px 6px 4px 2px;
  text-align: left;
}
.caret:focus-visible,
.pick:focus-visible {
  outline-offset: -2px;
}
.again {
  white-space: nowrap;
}
.canvas {
  overflow: auto;
  max-height: 72vh;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--night);
}
.drawing svg {
  display: block;
}
.edge {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.2;
  opacity: .75;
}
.edge.peer {
  stroke-dasharray: 5 4;
}
.edge.optional {
  stroke-dasharray: 1 4;
  stroke-linecap: round;
}
.edge.lit {
  stroke: var(--ice);
  stroke-width: 2;
  opacity: 1;
}
#arrow path {
  fill: var(--muted);
}
.box {
  cursor: pointer;
  outline: none;
}
.box rect {
  fill: var(--metal);
  stroke: var(--edge);
  stroke-width: 1.2;
}
.box text {
  font: 12px var(--mono);
  fill: var(--paper);
}
.box .name {
  font-weight: 700;
}
.box .version {
  fill: var(--muted);
}
.box.program {
  cursor: default;
}
.box.program rect {
  fill: var(--paper);
  stroke: var(--paper);
}
.box.program text {
  fill: var(--night);
}
.box.nested rect {
  stroke: var(--ice);
  stroke-width: 1.6;
  stroke-dasharray: 4 3;
}
.box:hover rect,
.box:focus-visible rect {
  stroke: var(--paper);
}
.box.current rect {
  fill: var(--tint);
  stroke: var(--ice);
  stroke-width: 2.4;
  stroke-dasharray: none;
}
.lighting .box:not(.lit) {
  opacity: .35;
}
.lighting .edge:not(.lit) {
  opacity: .12;
}
.delivery .button {
  margin-left: 4px;
}
.compiled {
  margin-bottom: 12px;
}
.compiled button {
  margin: 2px 0;
}
.compiled .hint {
  margin-top: 4px;
}

/* web/styles/modules.css */
.filters input {
  flex: 1;
  min-width: 160px;
}
.link-row {
  cursor: pointer;
}
.link-row:hover {
  background: var(--hover);
}
.modules-table td:first-child {
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .modules-table :is(th, td):nth-child(5),
  .modules-table :is(th, td):nth-child(7) {
    display: none;
  }
}

/* web/styles/times.css */
time.stamp {
  white-space: nowrap;
  cursor: pointer;
  border-radius: 3px;
}
time.stamp:hover {
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}

/* web/styles/profile.css */
.profile {
  position: relative;
  margin: 0;
}
.profile > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  color: var(--paper);
  padding: 4px;
  border-radius: var(--radius);
  white-space: nowrap;
}
.profile > summary::-webkit-details-marker {
  display: none;
}
.profile > summary::after {
  content: "\25be";
  font-size: 12px;
  color: var(--muted);
}
.profile > summary:hover,
.profile[open] > summary {
  background: var(--metal);
}
.profile > summary .who {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  width: 300px;
  max-width: calc(100vw - 3rem);
  background: var(--metal);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 14px;
}
.profile-menu .person {
  display: grid;
  overflow-wrap: anywhere;
}
.profile-menu nav {
  display: grid;
  gap: 2px;
  margin: 10px -6px 0;
  padding: 8px 0;
  border-block: 1px solid var(--line);
}
.profile-menu nav a {
  padding: 5px 6px;
  border-radius: var(--radius);
  color: var(--paper);
  text-decoration: none;
}
.profile-menu nav a:hover {
  background: var(--hover);
}
.profile-menu nav a[aria-current] {
  background: var(--chosen);
}
.profile-menu nav a:focus-visible {
  outline-offset: -2px;
}
.profile-menu fieldset {
  border: 0;
  padding: 0;
  margin: 12px 0;
  display: grid;
  gap: 8px;
}
.profile-menu legend {
  padding: 0;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
}
.profile-menu .foot {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

/* web/styles/outline.css */
.outline .filters {
  margin-top: 8px;
}
.outline-list {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  max-height: 560px;
  overflow: auto;
}
.outline-list > p {
  margin: 8px 0;
}
.outline-entry {
  display: grid;
  grid-template-columns: 86px minmax(120px, .6fr) minmax(0, 2fr);
  gap: 2px 10px;
  padding: 6px 2px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.outline-entry b,
.outline-entry code {
  overflow-wrap: anywhere;
}
.outline-entry code {
  color: var(--muted);
}
.kind {
  font: 12px/18px var(--mono);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 5px;
  justify-self: start;
}
.kind.function,
.kind.class,
.kind.value {
  color: var(--paper);
}
@container (max-width: 620px) {
  .outline-entry {
    grid-template-columns: 86px minmax(0, 1fr);
  }
  .outline-entry code {
    grid-column: 1 / -1;
  }
  .panel-head {
    align-items: flex-start;
  }
  .panel-head .segments {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex: 1;
  }
  .panel-head .segments button {
    white-space: normal;
    text-align: left;
    padding: 5px 6px;
    font-size: 14px;
    border-left: 0;
    border-top: 1px solid var(--edge);
  }
  .panel-head .segments button:nth-child(-n+2) {
    border-top: 0;
  }
  .panel-head .segments button:nth-child(even) {
    border-left: 1px solid var(--edge);
  }
  .panel-head .segments .hint {
    display: block;
  }
  .tabs .hint {
    display: none;
  }
}

/* web/styles/sandbox.css */
.sandbox-home {
  max-width: 920px;
}
.templates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 8px;
  margin: 10px 0 4px;
}
.template {
  display: grid;
  gap: 4px;
  align-content: start;
  text-align: left;
  padding: 14px;
}
.template:hover:not(:disabled) {
  border-color: var(--ice);
}
.template .name {
  font-weight: 700;
}
.template .do {
  justify-self: start;
  margin-top: 6px;
  padding: 1px 12px;
  border: 1px solid var(--ice);
  border-radius: var(--radius);
  color: var(--ice);
}
.template:disabled .do {
  display: none;
}
.sandbox-entry {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
}
.sandbox-entry > button {
  margin-bottom: 0;
}
.sandbox-entry > .quiet {
  flex: none;
  width: auto;
  padding: 6px 8px;
}
.sandbox-home .error:empty {
  display: none;
}
.bench-head .crumbs {
  margin: 0 0 2px;
}
.bench-head .row {
  margin-bottom: 0;
}
.bench-head .title {
  margin: 0;
}
.bench-head input {
  flex: 1;
  min-width: 0;
  max-width: 420px;
}
.runbar .row {
  margin-bottom: 0;
}
.runbar .stats {
  margin: 10px 0 0;
}
.runbar .keys {
  margin-left: auto;
}
.run-state:empty {
  display: none;
}
.run-state.running::before,
.wait:not(:empty)::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border: 2px solid var(--edge);
  border-top-color: var(--ice);
  border-radius: 50%;
  vertical-align: -1px;
  animation: spin .8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .run-state.running::before,
  .wait:not(:empty)::before {
    animation: none;
    border-color: var(--ice);
  }
}
.bench-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
@media (max-width: 980px) {
  .bench-body {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .runbar .keys {
    display: none;
  }
  .editor-frame {
    height: 320px;
  }
}
.sandbox-files .files {
  margin-bottom: 6px;
}
.badge {
  display: inline-block;
  min-width: 16px;
  margin-left: 6px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--bad);
  color: var(--night);
  font: 700 10px/16px system-ui, sans-serif;
  text-align: center;
}
.file-actions {
  min-height: 46px;
}
.file-actions input {
  flex: 1;
  min-width: 120px;
  max-width: 260px;
}
.editor-frame {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  height: min(56vh, 460px);
  min-height: 220px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night);
}
.editor-frame:focus-within {
  outline: 2px solid var(--ice);
  outline-offset: 4px;
}
.gutter {
  overflow: hidden;
  min-width: 40px;
  padding: 8px 0 48px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font: 12px/20px var(--mono);
  text-align: right;
  user-select: none;
}
.gutter span {
  display: block;
  padding: 0 8px 0 10px;
}
.gutter span.current {
  color: var(--paper);
  font-weight: 700;
}
.gutter span.warning {
  background: color-mix(in srgb, var(--warn) 22%, transparent);
  color: var(--warn);
}
.gutter span.error {
  background: color-mix(in srgb, var(--bad) 22%, transparent);
  color: var(--bad);
  font-weight: 700;
}
.editor textarea {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  outline: none;
  resize: none;
  padding: 8px 10px;
  background: transparent;
  font: 13px/20px var(--mono);
  tab-size: 2;
  white-space: pre;
  overflow: auto;
}
.editor-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin-top: 6px;
}
.problems h3:first-child {
  margin-top: 4px;
}
.problems .diagnostics li.leads {
  cursor: pointer;
}
.problems .diagnostics li.leads:hover {
  background: var(--tint);
}
.problems .where {
  font-weight: 700;
}
.message {
  white-space: pre-wrap;
}
pre.frame {
  margin-top: 6px;
  padding: 6px 8px;
  white-space: pre;
  max-height: none;
  background: var(--metal);
}
.preview iframe {
  height: 300px;
  display: block;
}
.preview h3 {
  margin-top: 12px;
}
.console {
  max-height: 240px;
  overflow: auto;
  border-radius: var(--radius);
  background: var(--night);
  font: 13px/20px var(--mono);
}
.console:empty {
  display: none;
}
.console > div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  padding: 3px 8px;
  border-bottom: 1px solid var(--line);
}
.console > div:last-child {
  border-bottom: 0;
}
.console .kind {
  border: 0;
  padding: 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}
.console .text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.console .warn,
.console .warn .kind {
  color: var(--warn);
}
.console .error,
.console .error .kind {
  color: var(--bad);
}
pre.printed {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 380px;
  margin-bottom: 8px;
}
pre.printed .stderr {
  color: var(--bad);
}
.reached {
  container-type: inline-size;
}
.reached-table {
  min-width: 440px;
}
@container (max-width: 500px) {
  .reached-table {
    min-width: 0;
    display: block;
  }
  .reached-table tr {
    display: flex;
    flex-wrap: wrap;
    gap: 0 14px;
    padding: 6px 0;
    border-bottom: 1px solid var(--line);
  }
  .reached-table tr:first-child,
  .reached-table tr.explained {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .reached-table tr:first-child {
    display: none;
  }
  .reached-table td {
    border: 0;
    padding: 1px 2px;
  }
  .reached-table td:first-child,
  .reached-table tr.reason td {
    flex-basis: 100%;
  }
  .reached-table td[data-label]::before {
    content: attr(data-label) " ";
    color: var(--muted);
  }
}
.reached-table td:first-child {
  overflow-wrap: anywhere;
}
.reached-table :is(td, th):not(:first-child) {
  white-space: nowrap;
}
.reached-table tr.explained td {
  border-bottom: 0;
  padding-bottom: 0;
}
.reached-table tr.reason td {
  white-space: normal;
  padding-top: 0;
}
.map-actions {
  margin: 8px 0;
}

/* web/styles/confirm.css */
dialog.confirm {
  width: min(440px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--metal);
  color: var(--paper);
}
dialog.confirm::backdrop {
  background: rgb(3 4 22 / .7);
}
dialog.confirm p {
  margin: 0;
}
dialog.confirm .row {
  justify-content: flex-end;
  margin: 18px 0 0;
}

/* web/styles/applications.css */
.application .title {
  margin: 0 0 2px;
}
.application .targets {
  margin-top: 8px;
}
.application .targets td.mono {
  font: 13px/20px var(--mono);
  overflow-wrap: anywhere;
}
.application .targets td:last-child {
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .application .targets thead {
    display: none;
  }
  .application .targets tr {
    display: grid;
    padding: 6px 0;
    border-bottom: 1px solid var(--line);
  }
  .application .targets td {
    border: 0;
    padding: 1px 0;
  }
  .application .targets td:last-child {
    text-align: left;
  }
}

/* web/styles/entry.css */
.entry {
  max-width: 460px;
  margin: clamp(8px, 7vh, 72px) auto 0;
}
.entry img.mark {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
}
.entry .lead {
  font-size: 20px;
  line-height: 28px;
  color: var(--paper);
  margin-bottom: 20px;
}
.entry > .note {
  margin-bottom: 20px;
}
.ways {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.ways > a.button {
  padding: 10px 14px;
  text-align: center;
}
.ways > p,
.ways .or {
  margin: 0;
}
.entry dl.facts {
  margin-bottom: 20px;
}
.lead {
  color: var(--muted);
  max-width: 64ch;
  margin-bottom: 20px;
}

/* web/styles/forms.css */
.form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  gap: 14px;
  max-width: 480px;
  margin: 0;
}
.form .row,
.form h3,
.form p {
  margin: 0;
}
.form.region {
  max-width: none;
  grid-template-columns: minmax(0, 480px);
  padding: 16px;
  margin-bottom: 16px;
  background: var(--night);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.entry .form {
  max-width: none;
}
.field {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-self: stretch;
  gap: 8px;
}
.field label {
  font-weight: 700;
}
.field label + .hint {
  margin-top: -4px;
}
.field input {
  width: 100%;
}
.field input[type=number] {
  width: 8rem;
}
.field select {
  justify-self: start;
  max-width: 100%;
}
.wait:empty {
  display: none;
}
.whole {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  vertical-align: top;
}

/* web/styles/identity.css */
.avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--edge);
  background: var(--night);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  object-fit: cover;
}
.identity {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  overflow-wrap: anywhere;
}
.identity > :last-child {
  min-width: 0;
}
.identity.large {
  gap: 14px;
}
.identity.large .avatar {
  width: 56px;
  height: 56px;
  font-size: 24px;
}
.identity h2 {
  margin: 0;
}

/* web/styles/account.css */
nav.sections {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-bottom: 20px;
  font-size: 14px;
}
nav.sections a {
  padding: 2px 0;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
nav.sections a:hover {
  color: var(--paper);
}
nav.sections a[aria-current] {
  color: var(--paper);
  border-bottom-color: var(--ice);
}
.crumbs {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
}
.page section > :last-child {
  margin-bottom: 0;
}
.note.whose {
  border-left: 3px solid var(--ice);
}
.note.whose button {
  margin-left: 4px;
}
.note.once {
  padding: 16px;
  margin-bottom: 16px;
  border-color: var(--ice);
}
.note.once h3 {
  margin-top: 0;
}
.note.once .row {
  margin: 4px 0 0;
}
.secret {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.secret code {
  flex: 1 1 260px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--metal);
  overflow-wrap: anywhere;
  user-select: all;
}

/* web/styles/folds.css */
.folding {
  container-type: inline-size;
}
.folds th {
  white-space: nowrap;
}
.folds td.acts {
  text-align: right;
  white-space: nowrap;
}
@container (min-width: 901px) {
  .tokens .folds td:nth-child(n+3) {
    white-space: nowrap;
  }
  .registry .folds td:nth-child(n+2) {
    white-space: nowrap;
  }
  .apps .folds td:nth-child(2),
  .apps .folds td:nth-child(n+4) {
    white-space: nowrap;
  }
}
.folds td.acts button + button {
  margin-left: 6px;
}
.folds tr.gone td {
  color: var(--muted);
}
.folds tr.editing > td {
  padding: 16px;
  background: var(--night);
}
@container (max-width: 900px) {
  .folds,
  .folds tbody {
    display: block;
  }
  .folds thead {
    display: none;
  }
  .folds tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .folds tbody tr:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .folds td {
    border: 0;
    padding: 1px 0;
    overflow-wrap: anywhere;
  }
  .folds tr.group {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .folds tr.group th {
    border: 0;
    padding: 0;
  }
  .folds td[data-label] {
    position: relative;
    padding-left: 122px;
    min-height: 22px;
  }
  .folds td[data-label]::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    top: 1px;
    width: 112px;
    color: var(--muted);
  }
  .folds td.acts {
    text-align: left;
    padding-top: 8px;
  }
  .folds td.acts:empty {
    display: none;
  }
  .folds tr.editing {
    padding: 0;
  }
  .folds tr.editing > td {
    padding: 14px;
  }
}

/* web/styles/repositories.css */
.commits {
  list-style: none;
  margin: 0;
  padding: 0;
}
.commits li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.commits li:first-child {
  border-top: 0;
  padding-top: 4px;
}
.commits .subject {
  font-weight: 500;
  overflow-wrap: anywhere;
}
.commits .hint {
  margin-top: 2px;
}
.repositories h1 {
  overflow-wrap: anywhere;
}
.repositories pre.message {
  margin-bottom: 16px;
}
.repositories dl.facts {
  margin-bottom: 20px;
}
.tag.added {
  color: var(--good);
  border-color: currentColor;
}
.tag.deleted {
  color: var(--bad);
  border-color: currentColor;
}
.difference .file {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--night);
}
.difference .file > summary {
  padding: 8px 12px;
  color: var(--paper);
}
.difference .file > summary:focus-visible {
  outline-offset: -2px;
}
.difference .file .path {
  overflow-wrap: anywhere;
}
.difference .places {
  border-top: 1px solid var(--line);
}
.difference .places > p {
  margin: 10px 12px;
}
.difference .where {
  padding: 4px 12px;
  background: var(--metal);
  font-size: 13px;
}
.difference .change {
  display: grid;
  grid-template-columns: 5ch 5ch 2ch minmax(0, 1fr);
  font: 13px/20px var(--mono);
}
.difference .change .at {
  padding-right: 1ch;
  color: var(--muted);
  text-align: right;
  user-select: none;
}
.difference .change .sign {
  text-align: center;
  user-select: none;
}
.difference .change .text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 2;
  padding-right: 8px;
}
.difference .change.added {
  background: color-mix(in srgb, var(--good) 14%, transparent);
}
.difference .change.removed {
  background: color-mix(in srgb, var(--bad) 14%, transparent);
}
.difference .change.added .sign {
  color: var(--good);
}
.difference .change.removed .sign {
  color: var(--bad);
}
.difference .ending {
  color: var(--muted);
  font-style: italic;
  user-select: none;
}
@media (max-width: 520px) {
  .difference .change {
    grid-template-columns: 4ch 2ch minmax(0, 1fr);
  }
  .difference .change .at:first-child {
    display: none;
  }
}

/* web/styles/registry.css */
.clients > p {
  margin: 14px 0 6px;
}
.clients > summary + p {
  margin-top: 10px;
}
.clients > .row {
  margin-top: 8px;
}

/* web/styles/apps.css */
.connect dl.facts {
  margin-bottom: 24px;
}
.connect .tag {
  margin-left: 4px;
}
.choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--metal);
}
.choice legend,
.choice h2 {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--paper);
}
.choice legend {
  padding: 0 6px;
}
.choice p {
  margin: 0;
}
.choice .check {
  display: flex;
}
.choice.asked {
  border-color: var(--edge);
}
.choice.asked > .hint {
  color: var(--paper);
  font-weight: 600;
}

/* web/styles.css */
