:root {
  color-scheme: light dark;
  font:
    15px/1.5 system-ui,
    sans-serif;
  --bg: #0d1218;
  --panel: #171e26;
  --ink: #e5edf5;
  --sub: #a9b7c7;
  --line: #394555;
  --action: #faac77;
  --on-action: #1a1b1c;
  --passed: #74c49a;
  --failed: #e88c7d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}
h1,
h2 {
  font-weight: 650;
}
.skip {
  position: absolute;
  inset: 0.5rem auto auto 1rem;
  z-index: 1;
  transform: translateY(-180%);
  background: var(--panel);
  padding: 0.5rem 0.8rem;
}
.skip:focus {
  transform: none;
}
.venue-header {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  column-gap: 1rem;
  padding: 0.6rem max(1rem, calc((100% - 1020px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.wordmark {
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: -0.045em;
  text-decoration: none;
  color: var(--ink);
}
.wordmark span {
  color: var(--action);
}
.context {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  color: var(--sub);
}
.venue-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1rem;
  justify-self: end;
  font-size: 0.87rem;
}
.venue-header nav a {
  color: var(--sub);
  text-decoration: none;
  line-height: 2;
  white-space: nowrap;
}
.venue-header nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.venue-header button {
  margin: 0;
  font-size: 0.86rem;
  white-space: nowrap;
}
main {
  max-width: 1050px;
  margin: 2rem auto 5rem;
  padding: 0 1rem;
}
h1 {
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}
h2 {
  font-size: 1.15rem;
  margin: 0 0 0.8rem;
}
p {
  color: var(--sub);
  overflow-wrap: anywhere;
}
section {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 1.2rem;
  margin: 1rem 0;
}
a {
  color: var(--action);
}
.bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: end;
}
.desk-entry { padding: 0; overflow: hidden; }
.desk-entry summary {
  padding: 0.8rem 1.2rem;
}
.desk-entry summary h2 { display: inline; }
.desk-entry .demo-body { padding: 1rem 1.2rem; border-top: 1px solid var(--line); }
#free-demo, #demo-notice:empty { margin: 0; }
#free-demo .bar a { font-size: 0.85rem; }
#free-demo label { max-width: 34rem; }
#free-demo .bar { align-items: center; }
#desk-access {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.6rem 0.8rem;
  margin-bottom: 1rem;
}
#desk-access[open] summary { margin-bottom: 0.8rem; }
#uat-results { scroll-margin-block-start: 1rem; }
form.bar {
  max-width: 100%;
}
.workspace-membership {
  padding: 0.75rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.workspace-membership p {
  margin: 0 0 0.4rem;
}
.membership-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  font-size: 0.88rem;
}
#link-workspace {
  overflow-wrap: anywhere;
}
.settings {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr));
  margin: 1rem 0;
}
label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.83rem;
  color: var(--sub);
  min-width: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 4px;
  padding: 0.45rem 0.65rem;
}
button {
  cursor: pointer;
  margin: 0.25rem 0.3rem 0.25rem 0;
}
button:enabled:not([aria-disabled='true']):hover {
  border-color: var(--action);
}
button:disabled,
button[aria-disabled='true'] {
  opacity: 0.5;
}
button[aria-disabled='true'] {
  cursor: progress;
}
button.primary {
  background: var(--action);
  color: var(--on-action);
  border-color: var(--action);
  font-weight: 650;
}
details {
  margin: 0.8rem 0;
}
summary {
  cursor: pointer;
}
pre {
  font:
    12px/1.6 ui-monospace,
    Consolas,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#notice,
#status {
  color: var(--ink);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --bg: #f5f7fa;
    --panel: #fff;
    --ink: #1b2a37;
    --sub: #47596b;
    --line: #c8d2dc;
    --action: #a84d16;
    --on-action: #fff;
    --passed: #20683f;
    --failed: #a0392b;
  }
}

:root[data-theme='light'] {
  color-scheme: light;
  --bg: #f5f7fa;
  --panel: #fff;
  --ink: #1b2a37;
  --sub: #47596b;
  --line: #c8d2dc;
  --action: #a84d16;
  --on-action: #fff;
  --passed: #20683f;
  --failed: #a0392b;
}
:root[data-theme='dark'] {
  color-scheme: dark;
}
#notice:empty {
  display: none;
}
#notice:not(:empty) {
  border-left: 3px solid var(--action);
  padding: 0.45rem 0.75rem;
  background: var(--panel);
}
[hidden] {
  display: none !important;
}
#config {
  width: 100%;
  resize: vertical;
  margin-bottom: 0.75rem;
}
#editor,
#manual,
#runner {
  padding: 0.5rem 0;
}
#profiles > .bar,
#report > .bar {
  margin: 0.65rem 0;
}
#report h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}
#report [data-state='failed'] {
  color: var(--failed);
}
#report [data-state='passed'] {
  color: var(--passed);
}
#rows td {
  overflow-wrap: anywhere;
}
#rows td:first-child {
  font-family: ui-monospace, monospace;
}
fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1rem 0;
  padding: 0.6rem 0 0;
  min-width: 0;
}
legend,
caption {
  font-weight: 600;
  color: var(--ink);
}
legend {
  padding-right: 0.6rem;
}
textarea,
pre,
td:nth-child(2),
td:nth-child(3) {
  font-family: ui-monospace, Consolas, monospace;
}
.grid textarea {
  width: 100%;
  resize: vertical;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
caption {
  text-align: left;
  margin-bottom: 0.5rem;
}
th,
td {
  text-align: left;
  border-top: 1px solid var(--line);
  padding: 0.45rem;
}
th {
  color: var(--sub);
}
tr[data-result='passed'] td:nth-child(4) {
  color: var(--passed);
}
tr[data-result='failed'] td:nth-child(4) {
  color: var(--failed);
}
summary:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--action);
  outline-offset: 2px;
}
@media (max-width: 620px) {
  .venue-header {
    grid-template-columns: auto 1fr auto;
    gap: 0.15rem 0.7rem;
    padding-block: 0.45rem;
  }
  .context {
    padding-left: 0.7rem;
    font-size: 0.9rem;
  }
  .venue-header nav {
    grid-area: 2 / 1 / 3 / -1;
    justify-self: start;
  }
  .venue-header button {
    grid-area: 1 / 3;
  }
  input:not([type='file']), select, textarea {
    font-size: 16px;
  }
}
