:root {
  --ink:#17313b;
  --muted:#687d86;
  --teal:#187c78;
  --teal-dark:#115d5a;
  --mint:#e5f2ee;
  --paper:#f5f7f7;
  --line:#dce5e7;
  --white:#fff;
  --navy:#153640;
  --amber:#9b6b11;
  --red:#b44141;
  --shadow:0 7px 25px rgba(24,49,58,.035);
  font-family:"Thonburi","Tahoma",system-ui,sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
button,input,select,textarea {
  font:inherit
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}
button,a {
  touch-action:manipulation
}
button {
  cursor:pointer
}
button:disabled {
  cursor:not-allowed;
  opacity:.5
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:3px solid #77bdbc;
  outline-offset:3px
}
a {
  color:var(--teal);
  text-decoration:none
}
h1,h2,h3,h4,p {
  margin-top:0
}
h1 {
  font-size:30px;
  font-weight:650;
  letter-spacing:-.7px;
  line-height:1.45;
  margin-bottom:8px
}
h2 {
  font-size:20px;
  font-weight:650;
  line-height:1.5;
  margin-bottom:14px
}
h3 {
  font-size:16px;
  font-weight:650;
  line-height:1.6;
  margin-bottom:8px
}
p {
  line-height:1.75
}
small,.small {
  font-size:12px
}
.muted {
  color:var(--muted)
}
.eyebrow {
  font-size:11px;
  letter-spacing:1.8px;
  font-weight:700;
  text-transform:uppercase;
  color:var(--teal);
  margin-bottom:12px
}
.brand {
  display:flex;
  gap:11px;
  align-items:center;
  font-weight:700;
  font-size:16px;
  letter-spacing:.2px
}
.brand small {
  display:block;
  color:var(--muted);
  font-size:10px;
  font-weight:500;
  letter-spacing:1.5px;
  margin-top:3px
}
.brand-mark {
  height:38px;
  width:38px;
  border-radius:11px;
  display:grid;
  place-items:center;
  background:var(--teal);
  color:white;
  font-size:22px;
  font-weight:650;
  position:relative;
  flex-shrink:0
}
.brand-mark:after {
  content:"";
  width:7px;
  height:7px;
  position:absolute;
  right:5px;
  top:5px;
  border:1px solid #b0e2d9;
  border-radius:50%
}
.topbar {
  height:84px;
  border-bottom:1px solid var(--line);
  background:white;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 42px;
  gap:18px
}
.topbar-right {
  display:flex;
  align-items:center;
  gap:18px
}
.avatar {
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#edf1f1;
  color:var(--teal);
  font-size:13px
}
.identity {
  display:flex;
  gap:9px;
  align-items:center;
  font-size:13px
}
.identity small {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:3px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:1px solid transparent;
  border-radius:8px;
  padding:11px 18px;
  font-size:13px;
  font-weight:600;
  line-height:1.5;
  background:var(--teal);
  color:white;
  min-height:43px
}
.button:hover:not(:disabled) {
  background:var(--teal-dark)
}
.button.secondary {
  background:white;
  color:var(--ink);
  border-color:var(--line)
}
.button.secondary:hover:not(:disabled) {
  background:#f1f6f5
}
.button.quiet {
  background:transparent;
  color:var(--muted);
  padding:8px 10px
}
.button.quiet:hover {
  background:#ecf1f0
}
.button.danger {
  background:#fff5f3;
  color:var(--red);
  border-color:#eed1cd
}
.button.small {
  font-size:12px;
  padding:7px 12px;
  min-height:34px
}
.button.full {
  width:100%
}
.pill {
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:5px;
  padding:5px 9px;
  font-size:11px;
  font-weight:600;
  white-space:nowrap;
  background:#edf2f3;
  color:#62747b
}
.pill.green {
  color:#15736c;
  background:var(--mint)
}
.pill.amber {
  color:var(--amber);
  background:#fcf4df
}
.pill.red {
  color:var(--red);
  background:#fae9e5
}
.pill.outline {
  background:transparent;
  border:1px solid var(--line)
}
.dot {
  height:6px;
  width:6px;
  border-radius:50%;
  background:currentColor
}
.card {
  background:var(--white);
  border:1px solid var(--line);
  border-radius:12px;
  padding:26px;
  box-shadow:var(--shadow)
}
.card-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:21px
}
.card-head h2,.card-head h3 {
  margin:0
}
.card-head p {
  margin:5px 0 0;
  font-size:12px;
  color:var(--muted)
}
.section-gap {
  margin-top:22px
}
.row {
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap
}
.between {
  justify-content:space-between
}
.stack {
  display:grid;
  gap:16px
}
.grid2 {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px
}
.grid3 {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px
}
.field {
  display:flex;
  flex-direction:column;
  gap:7px;
  margin-bottom:17px
}
.field label {
  font-size:12px;
  font-weight:600
}
.field input,.field select,.field textarea,input.control,select.control,textarea.control {
  width:100%;
  padding:11px 12px;
  border:1px solid #d4dfe1;
  border-radius:7px;
  background:white;
  color:var(--ink);
  min-height:44px
}
.field textarea,textarea.control {
  min-height:90px;
  resize:vertical;
  line-height:1.65
}
.field small {
  color:var(--muted);
  line-height:1.6
}
.field input::placeholder {
  color:#9aa9ae
}
.field:last-child {
  margin-bottom:0
}
.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px
}
.divider {
  height:1px;
  background:var(--line);
  margin:22px 0
}
.notice {
  border:1px solid #d6e7e2;
  background:#f1f8f5;
  border-radius:8px;
  padding:13px 15px;
  color:#38685e;
  font-size:12px;
  line-height:1.7
}
.notice.amber {
  background:#fffbf0;
  border-color:#ede0b7;
  color:#80642a
}
.notice.error {
  background:#fff3ef;
  border-color:#f0d0c9;
  color:#a14538
}
.empty {
  padding:38px 18px;
  text-align:center;
  color:var(--muted);
  line-height:1.8;
  font-size:13px
}
.empty-icon {
  height:56px;
  width:56px;
  border-radius:50%;
  background:#edf5f2;
  display:grid;
  place-items:center;
  color:var(--teal);
  font-size:24px;
  margin:0 auto 18px
}
.empty h3 {
  color:var(--ink)
}
.table-wrap {
  overflow:auto
}
table {
  border-collapse:collapse;
  width:100%;
  text-align:left;
  font-size:12px
}
th {
  font-size:10px;
  color:#758992;
  letter-spacing:.4px;
  font-weight:650;
  background:#f8fafa;
  padding:12px 13px;
  white-space:nowrap
}
td {
  border-top:1px solid #e8eeee;
  padding:13px;
  vertical-align:middle;
  line-height:1.65
}
tr:hover td {
  background:#fcfdfd
}
td .sub {
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-top:3px
}
.mono {
  font-family:ui-monospace,SFMono-Regular,monospace;
  font-size:11px
}
.text-right {
  text-align:right
}
.nowrap {
  white-space:nowrap
}
.footer {
  font-size:10px;
  color:#8a9a9f;
  text-align:center;
  padding:26px 10px;
  line-height:1.8
}
.boot {
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px
}
.boot p {
  margin:0;
  font-size:14px
}
.login-layout {
  max-width:1120px;
  margin:65px auto 25px;
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:75px;
  padding:0 30px;
  align-items:center
}
.login-intro h1 {
  font-size:44px;
  line-height:1.35;
  letter-spacing:-1px;
  margin:20px 0
}
.login-intro>p {
  color:var(--muted);
  max-width:430px;
  font-size:14px
}
.login-art {
  position:relative;
  height:200px;
  margin-top:35px;
  overflow:hidden
}
.art-node {
  position:absolute;
  border:1px solid #bdd7d2;
  background:#eff7f4;
  border-radius:13px;
  display:grid;
  place-items:center;
  color:var(--teal);
  width:71px;
  height:71px;
  font-size:12px;
  font-weight:700;
  transform:rotate(-5deg)
}
.art-node.main {
  left:170px;
  top:46px;
  width:92px;
  height:92px;
  background:var(--teal);
  color:white;
  transform:rotate(5deg);
  box-shadow:12px 12px 0 #e1eeea
}
.art-node.n1 {
  left:24px;
  top:16px
}
.art-node.n2 {
  left:50px;
  top:115px
}
.art-node.n3 {
  left:335px;
  top:61px
}
.art-line {
  height:1px;
  background:#bad4cf;
  position:absolute;
  width:180px;
  left:80px;
  top:80px;
  transform:rotate(20deg)
}
.art-line.l2 {
  transform:rotate(-20deg);
  top:125px
}
.art-line.l3 {
  left:240px;
  top:93px;
  width:120px;
  transform:rotate(0)
}
.login-form {
  padding:32px
}
.login-form h2 {
  font-size:23px
}
.login-form>p {
  font-size:12px;
  color:var(--muted);
  margin-bottom:25px
}
.login-caption {
  font-size:10px;
  color:var(--muted);
  margin:20px 0 0;
  text-align:center
}
.steps {
  display:flex;
  gap:22px;
  margin-top:28px
}
.step-mini {
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:11px
}
.step-mini b {
  display:grid;
  place-items:center;
  height:22px;
  width:22px;
  border-radius:50%;
  background:#e2ece9;
  color:var(--teal);
  font-size:10px
}
.participant-main {
  max-width:1050px;
  margin:35px auto 0;
  padding:0 28px
}
.participant-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:24px
}
.participant-heading p {
  font-size:12px;
  color:var(--muted);
  margin-bottom:0
}
.progress-panel {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:white;
  border:1px solid var(--line);
  border-radius:9px;
  padding:17px 22px;
  margin-bottom:24px;
  font-size:12px
}
.round-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #edf4f1;
  border: 1px solid #dce9e2;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.round-summary strong {
  color: var(--ink);
  font-weight: 600;
}
.numeric-table {
  min-width: 780px;
}
.revision-table {
  min-width: 470px;
}
.progress-panel .track {
  height:5px;
  background:#e7eeec;
  border-radius:6px;
  width:230px;
  overflow:hidden
}
.progress-panel .track i {
  height:100%;
  display:block;
  background:var(--teal);
  border-radius:6px
}
.step-label {
  display:flex;
  align-items:center;
  gap:10px
}
.step-label b {
  height:25px;
  width:25px;
  border-radius:50%;
  background:var(--mint);
  color:var(--teal);
  display:grid;
  place-items:center;
  font-size:11px
}
.voting-card {
  padding:30px
}
.question-heading {
  text-align:center;
  max-width:700px;
  margin:0 auto 24px
}
.question-heading h2 {
  font-size:21px;
  margin-bottom:9px
}
.question-heading p {
  font-size:12px;
  color:var(--muted);
  margin:0
}
.pair-grid {
  display:grid;
  grid-template-columns:1fr 34px 1fr;
  gap:15px;
  align-items:stretch;
  margin:25px 0
}
.criterion {
  padding:23px;
  text-align:left;
  border:1.5px solid #dce5e6;
  border-radius:10px;
  background:#fff;
  position:relative;
  transition:border .15s,background .15s;
  min-height:175px;
  color:var(--ink)
}
.criterion:hover:not(:disabled) {
  border-color:#77b5ae;
  background:#f8fcfa
}
.criterion.selected {
  border-color:var(--teal);
  background:#f0f8f4
}
.criterion .criterion-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:16px
}
.criterion .letter {
  height:28px;
  width:28px;
  border-radius:6px;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:700;
  background:#edf2f3;
  color:#58747b
}
.criterion.selected .letter {
  background:var(--teal);
  color:white
}
.criterion .radio {
  border:1.5px solid #b7c8ca;
  border-radius:50%;
  height:18px;
  width:18px
}
.criterion.selected .radio {
  border:5px solid var(--teal);
  background:white
}
.criterion h3 {
  font-size:18px;
  margin-bottom:9px
}
.criterion p {
  font-size:12px;
  color:var(--muted);
  margin:0;
  line-height:1.8
}
.versus {
  display:grid;
  place-items:center;
  color:#8ca09f;
  font-size:11px;
  font-weight:600
}
.equal-row {
  text-align:center;
  margin-bottom:26px
}
.equal-button {
  border:1px solid var(--line);
  background:#fff;
  color:var(--muted);
  border-radius:7px;
  padding:9px 20px;
  font-size:12px
}
.equal-button.selected {
  color:var(--teal);
  border-color:var(--teal);
  background:#f0f8f4
}
.scale-panel {
  padding:23px 0 9px;
  border-top:1px solid var(--line)
}
.scale-panel h3 {
  font-size:13px;
  margin-bottom:7px
}
.scale-panel p {
  font-size:11px;
  color:var(--muted)
}
.scale {
  display:grid;
  grid-template-columns:repeat(8,1fr);
  gap:8px
}
.scale button {
  height:48px;
  border-radius:7px;
  border:1px solid var(--line);
  color:#506b72;
  background:white;
  font-size:15px;
  font-weight:600
}
.scale button.selected {
  border-color:var(--teal);
  background:var(--teal);
  color:#fff;
  box-shadow:0 4px 9px #187c7820
}
.scale-labels {
  display:flex;
  justify-content:space-between;
  font-size:10px;
  color:#8a9b9f;
  margin-top:9px;
  gap:14px
}
.vote-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-top:23px;
  padding-top:22px;
  border-top:1px solid var(--line)
}
.vote-summary {
  font-size:12px;
  color:var(--muted)
}
.vote-summary strong {
  color:var(--teal)
}
.support-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:21px
}
.support-card {
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:16px 19px;
  color:var(--muted);
  font-size:11px
}
.support-card .support-icon {
  font-size:18px;
  color:var(--teal)
}
.support-card b {
  display:block;
  color:#425e65;
  margin-bottom:4px;
  font-size:11px
}
.support-card p {
  margin:0;
  line-height:1.8
}
.success-state {
  padding:33px 20px
}
.success-state .empty-icon {
  background:var(--mint);
  font-size:25px
}
.selected-answer {
  display:inline-block;
  background:#f0f7f4;
  color:var(--teal);
  border:1px solid #d6e8e0;
  border-radius:8px;
  margin:12px 0 20px;
  padding:12px 22px;
  font-size:13px
}
.sidebar {
  position:fixed;
  top:0;
  bottom:0;
  width:235px;
  background:white;
  border-right:1px solid var(--line);
  padding:28px 20px;
  display:flex;
  flex-direction:column;
  z-index:10
}
.sidebar .brand {
  margin:0 5px 37px
}
.sidebar-label {
  font-size:9px;
  font-weight:650;
  letter-spacing:1.5px;
  color:#91a0a5;
  padding:0 13px;
  margin:5px 0 12px
}
.nav-button {
  display:flex;
  align-items:center;
  gap:12px;
  background:none;
  border:0;
  border-radius:7px;
  padding:13px;
  width:100%;
  text-align:left;
  color:#6b7f87;
  font-size:12px;
  margin:3px 0
}
.nav-button.active {
  color:var(--teal);
  background:#eaf4ef;
  font-weight:650
}
.nav-icon {
  width:19px;
  text-align:center;
  font-size:17px;
  line-height:1
}
.sidebar-bottom {
  margin-top:auto;
  padding:16px 10px 0;
  border-top:1px solid var(--line);
  font-size:10px;
  line-height:1.8;
  color:#8a9a9f
}
.admin-shell {
  margin-left:235px
}
.admin-shell .topbar {
  height:73px;
  padding:0 32px
}
.breadcrumb {
  font-size:12px;
  color:var(--muted)
}
.breadcrumb strong {
  font-weight:500;
  color:var(--ink)
}
.admin-main {
  max-width:1350px;
  margin:auto;
  padding:31px 32px
}
.admin-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:25px
}
.admin-heading h1 {
  font-size:26px
}
.admin-heading p {
  font-size:12px;
  color:var(--muted);
  margin-bottom:0
}
.stats {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-bottom:24px
}
.stat {
  padding:18px 20px
}
.stat-label {
  font-size:11px;
  color:var(--muted);
  margin-bottom:11px
}
.stat-value {
  font-size:28px;
  font-weight:600;
  letter-spacing:-1px
}
.stat-value small {
  font-size:12px;
  font-weight:400;
  color:#92a1a6;
  letter-spacing:0;
  margin-left:4px
}
.stat-footer {
  font-size:10px;
  margin-top:8px;
  color:#85979d
}
.control-layout {
  display:grid;
  grid-template-columns:1.8fr 1fr;
  gap:22px
}
.control-pair {
  background:#f7faf9;
  border:1px solid #e0eae6;
  padding:18px;
  border-radius:9px;
  margin:18px 0
}
.control-pair h3 {
  font-size:16px
}
.control-pair p {
  font-size:12px;
  color:var(--muted);
  margin-bottom:8px
}
.control-buttons {
  display:flex;
  gap:10px;
  flex-wrap:wrap
}
.group-progress {
  padding:15px 0;
  border-bottom:1px solid #e8eeee
}
.group-progress:last-child {
  border-bottom:0
}
.group-progress .row {
  font-size:12px
}
.group-progress p {
  font-size:10px;
  color:var(--muted);
  margin:7px 0 0
}
.mini-track {
  height:4px;
  background:#e9efed;
  border-radius:4px;
  margin-top:11px;
  overflow:hidden
}
.mini-track i {
  height:100%;
  display:block;
  background:#71a99b
}
.check-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:9px;
  max-height:330px;
  overflow:auto;
  padding:2px
}
.check-item {
  display:flex;
  align-items:flex-start;
  gap:9px;
  border:1px solid #e1e9e7;
  border-radius:7px;
  padding:11px;
  font-size:11px;
  line-height:1.65;
  cursor:pointer
}
.check-item input {
  accent-color:var(--teal);
  margin-top:3px
}
.set-list {
  display:grid;
  gap:10px
}
.set-item {
  border:1px solid var(--line);
  border-radius:8px;
  padding:15px;
  display:flex;
  gap:15px;
  align-items:center;
  justify-content:space-between
}
.set-item h3 {
  font-size:13px;
  margin:0 0 5px
}
.set-item p {
  font-size:10px;
  color:var(--muted);
  margin:0
}
.results-toolbar {
  display:flex;
  gap:9px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:20px
}
.scope-tabs {
  display:flex;
  background:#eaf0ee;
  border-radius:8px;
  padding:4px;
  gap:4px
}
.scope-tabs button {
  border:0;
  background:transparent;
  border-radius:5px;
  padding:9px 15px;
  color:var(--muted);
  font-size:12px
}
.scope-tabs button.active {
  background:white;
  color:var(--teal);
  box-shadow:0 1px 4px #163a3910
}
.result-card {
  margin-top:17px
}
.weight-row {
  display:grid;
  grid-template-columns:minmax(160px,1.3fr) 2fr 70px;
  gap:15px;
  align-items:center;
  padding:11px 0;
  font-size:12px
}
.weight-label {
  display:flex;
  gap:9px;
  line-height:1.6
}
.rank {
  font-size:10px;
  color:#8aa39b;
  min-width:16px;
  padding-top:3px
}
.weight-track {
  height:15px;
  background:#f0f4f2;
  border-radius:3px;
  overflow:hidden
}
.weight-fill {
  height:100%;
  background:#599a8b;
  border-radius:3px;
  min-width:1px
}
.weight-value {
  text-align:right;
  font-variant-numeric:tabular-nums;
  font-weight:600
}
.result-metrics {
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  padding:16px 0 0;
  margin-top:15px;
  border-top:1px solid var(--line);
  font-size:11px;
  color:var(--muted)
}
.result-metrics strong {
  color:var(--ink);
  font-weight:600;
  margin-left:5px
}
.details {
  margin-top:18px;
  border-top:1px solid var(--line);
  padding-top:16px
}
.details summary {
  cursor:pointer;
  font-size:12px;
  color:var(--teal)
}
pre {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  background:#f7f9f8;
  padding:15px;
  border-radius:7px;
  font-size:11px;
  line-height:1.7;
  max-height:420px;
  overflow:auto;
  color:#50696e
}
.json-input {
  font-family:ui-monospace,monospace;
  font-size:11px;
  min-height:100px
}
.credential {
  padding:20px;
  border:1px solid #a2c9ba;
  background:#f3faf6;
  border-radius:8px;
  margin-bottom:20px;
  overflow-wrap:anywhere
}
.credential code {
  display:block;
  font-size:17px;
  color:var(--teal);
  padding:8px 0;
  user-select:all
}
dialog {
  border:1px solid var(--line);
  border-radius:13px;
  width:min(600px,94vw);
  padding:27px;
  color:var(--ink);
  max-height:85vh
}
dialog::backdrop {
  background:#17343d70;
  backdrop-filter:blur(3px)
}
dialog h2 {
  font-size:19px
}
dialog .modal-actions {
  display:flex;
  gap:9px;
  justify-content:flex-end;
  margin-top:23px
}
#toast {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  z-index:1000;
  max-width:min(90vw,550px);
  background:var(--navy);
  color:white;
  padding:13px 19px;
  border-radius:9px;
  box-shadow:0 10px 30px #183b3922;
  font-size:12px;
  line-height:1.7;
  display:none
}
#toast.visible {
  display:block
}
#toast.error {
  background:#963e32
}
.mobile-label {
  display:none
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0)
}
@media(min-width:1450px) {
  .admin-main {
    padding-top:40px
  }
  .login-layout {
    margin-top:100px
  }
  .participant-main {
    margin-top:45px
  }
}
@media(max-width:1050px) {
  .sidebar {
    width:190px;
    padding:25px 13px
  }
  .admin-shell {
    margin-left:190px
  }
  .admin-main {
    padding:25px 22px
  }
  .admin-shell .topbar {
    padding:0 22px
  }
  .control-layout {
    grid-template-columns:1fr
  }
  .stats {
    gap:10px
  }
  .stat {
    padding:16px
  }
  .login-layout {
    gap:40px
  }
  .login-intro h1 {
    font-size:35px
  }
  .art-node.n3 {
    left:280px
  }
}
@media(max-width:760px) {
  h1 {
    font-size:24px
  }
  .topbar {
    height:71px;
    padding:0 18px
  }
  .topbar-right {
    gap:7px
  }
  .identity small {
    display:none
  }
  .topbar-right>.pill {
    display:none
  }
  .brand {
    font-size:14px
  }
  .brand small {
    font-size:8px
  }
  .brand-mark {
    width:33px;
    height:33px;
    font-size:20px
  }
  .login-layout {
    display:block;
    max-width:500px;
    margin-top:30px;
    padding:0 20px
  }
  .login-intro {
    margin-bottom:25px
  }
  .login-intro h1 {
    font-size:29px;
    margin:10px 0
  }
  .login-intro p {
    font-size:12px
  }
  .login-art,.steps {
    display:none
  }
  .login-form {
    padding:24px
  }
  .sidebar {
    position:static;
    width:100%;
    padding:14px 16px 0;
    border-right:0;
    border-bottom:1px solid var(--line);
    display:block
  }
  .sidebar .brand {
    margin:0 0 14px
  }
  .sidebar-label,.sidebar-bottom {
    display:none
  }
  .sidebar nav {
    display:flex;
    overflow:auto;
    gap:4px;
    padding-bottom:9px
  }
  .nav-button {
    width:auto;
    white-space:nowrap;
    gap:7px;
    padding:10px;
    font-size:11px;
    margin:0
  }
  .nav-icon {
    font-size:15px;
    width:15px
  }
  .admin-shell {
    margin:0
  }
  .admin-shell .topbar {
    height:49px;
    padding:0 17px
  }
  .admin-shell .topbar .identity {
    font-size:11px
  }
  .admin-main {
    padding:23px 17px
  }
  .admin-heading {
    display:block
  }
  .admin-heading>.row {
    margin-top:15px
  }
  .admin-heading h1 {
    font-size:23px
  }
  .stats {
    grid-template-columns:repeat(2,1fr);
    gap:10px
  }
  .stat-value {
    font-size:25px
  }
  .grid2,.grid3,.form-row {
    grid-template-columns:1fr;
    gap:0
  }
  .grid2>.card,.grid3>.card {
    margin-bottom:17px
  }
  .card {
    padding:20px
  }
  .participant-main {
    padding:0 16px;
    margin-top:23px
  }
  .participant-heading h1 {
    font-size:23px
  }
  .participant-heading {
    gap:10px
  }
  .participant-heading>.pill {
    font-size:9px
  }
  .progress-panel {
    padding:15px;
    gap:10px;
    flex-wrap:wrap
  }
  .progress-panel .track {
    width:100%;
    order:3
  }
  .progress-panel .step-label {
    font-size:11px
  }
  .voting-card {
    padding:21px 17px
  }
  .question-heading h2 {
    font-size:18px
  }
  .pair-grid {
    grid-template-columns:1fr;
    gap:10px;
    margin:18px 0
  }
  .criterion {
    min-height:0;
    padding:16px
  }
  .criterion .criterion-top {
    margin-bottom:9px
  }
  .criterion h3 {
    font-size:16px
  }
  .criterion p {
    font-size:11px
  }
  .versus {
    display:none
  }
  .scale {
    gap:5px
  }
  .scale button {
    height:42px;
    font-size:13px
  }
  .scale-labels {
    font-size:8px
  }
  .vote-bottom {
    display:block
  }
  .vote-bottom>.button {
    width:100%;
    margin-top:16px
  }
  .support-grid {
    grid-template-columns:1fr;
    gap:10px
  }
  .support-card {
    padding:13px 17px
  }
  .support-card:last-child {
    display:none
  }
  .equal-row {
    margin-bottom:20px
  }
  .check-grid {
    grid-template-columns:1fr
  }
  .weight-row {
    grid-template-columns:1.4fr 1fr 53px;
    gap:10px;
    font-size:10px
  }
  .weight-track {
    height:12px
  }
  .result-metrics {
    gap:12px;
    font-size:10px
  }
  .scope-tabs {
    width:100%;
    overflow:auto
  }
  .scope-tabs button {
    flex:1;
    white-space:nowrap;
    font-size:11px;
    padding:9px 12px
  }
  .card-head {
    gap:10px
  }
  .card-head h2 {
    font-size:17px
  }
  .set-item {
    align-items:flex-start;
    flex-wrap:wrap
  }
  .credential code {
    font-size:14px
  }
  .footer {
    font-size:9px
  }
  .identity .avatar {
    display:none
  }
  .control-buttons .button {
    flex:1
  }
  .breadcrumb {
    font-size:10px
  }
  .notice {
    font-size:11px
  }
  .result-card .card-head {
    flex-wrap:wrap
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto;
    transition:none!important
  }
}

.demo-banner {
  background: #fff0ce;
  color: #725315;
  padding: 9px 18px;
  text-align: center;
  font-size: 12px;
  border-bottom: 1px solid #ecd5a3;
}
.demo-banner strong { letter-spacing: .12em; }
