.work-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.bal { text-align: right; }
.bal-k {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500;
  color: var(--muted);
}
.bal-k::before {
  content: ""; width: 15px; height: 15px; background: var(--amber);
  -webkit-mask: var(--i-coin) center / contain no-repeat; mask: var(--i-coin) center / contain no-repeat;
}
.bal-v { display: block; margin-top: 3px; font-size: 26px; font-weight: 600; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; }
.bal-v.neg { color: var(--red); }
.bal-held { display: block; max-width: 300px; margin: 4px 0 0 auto; font-size: 12px; line-height: 1.45;
  color: var(--muted); }
.bal-held[hidden] { display: none; }
.head-r { display: flex; align-items: center; gap: 18px; }
.amt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.amt {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.amt:hover { border-color: rgba(14, 26, 43, 0.32); }
.amt.is-on {
  background: var(--t100);
  border-color: var(--t400);
  color: var(--t800);
  font-weight: 600;
}
.amt-custom { position: relative; }
.amt-cur {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13.5px;
  color: var(--dim);
  pointer-events: none;
}
.amt-custom .fld { padding-left: 26px; }
.amt-custom .fld::-webkit-outer-spin-button,
.amt-custom .fld::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.amt-custom .fld { -moz-appearance: textfield; appearance: textfield; }
.tag-dim { background: var(--bg-soft); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-soft); }
.tag-dim::before { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(14, 26, 43, 0.5); }

@media (max-width: 1224px) {
  .head-r { width: 100%; justify-content: space-between; }
  .amt-grid { grid-template-columns: repeat(2, 1fr); }
}

.keys-msg {
  padding: 20px 16px;
  font-size: 13.5px;
  color: var(--dim);
}
.keys-msg.err { color: var(--red); }
.keys-wrap { overflow-x: auto; }
.keys { min-width: 720px; }
.tbl.keys td { vertical-align: middle; }
.keys-name { font-weight: 600; color: var(--text); }
.keys-name::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 28px; height: 28px; margin: -6px 11px -6px 0; border-radius: 9px;
  background: var(--i-key) center / 15px no-repeat var(--t50);
  box-shadow: inset 0 0 0 1px var(--t200);
}
.keys-mask { font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; color: var(--muted); }

.keys .dim { color: var(--dim); }
.keys-act { text-align: right; white-space: nowrap; }
.linkbtn {
  padding: 4px 8px;
  margin: -4px -8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
}
.linkbtn:hover { background: rgba(14, 26, 43, 0.05); color: var(--text); }
.linkbtn.danger { color: var(--red); }
.linkbtn.danger:hover { background: var(--r50); color: var(--red); }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 9px 0 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.tag-warn { background: var(--a50); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(150, 101, 10, 0.2); }
.tag-ok { background: var(--t50); color: var(--t800); box-shadow: inset 0 0 0 1px var(--t200); }
.tag-ok::before { background: var(--t500); }
.tag-ver { background: var(--bg-soft); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-soft); font-variant-numeric: tabular-nums; }
.tag-ver::before { display: none; }

.fld-l {
  display: block;
  margin-top: 16px;
  margin-bottom: 7px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
}
.req { color: var(--red); margin-left: 2px; }
.fld-lrow { display: flex; align-items: center; gap: 2px; margin-top: 16px; margin-bottom: 7px; }
.fld-lrow .fld-l { margin: 0; }
.modal-p.dm-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.dm-hint { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--red); }
.dm-hint[hidden] { display: none; }
.fld {
  width: 100%;
  height: 37px;
  padding: 0 12px;
  border: 1px solid rgba(14, 26, 43, 0.2);
  border-radius: var(--r-ctl);
  background: var(--bg);
  font-family: var(--font-ui);
  font-size: 13.5px;
  color: var(--text);
  transition: border-color 0.16s ease, box-shadow 0.2s ease;
}
.fld::placeholder { color: rgba(14, 26, 43, 0.6); }
.fld:hover { border-color: rgba(14, 26, 43, 0.34); }
.fld:focus {
  outline: none;
  border-color: var(--t600);
  box-shadow: var(--focus-ring);
}
.fld:disabled { background: var(--bg-soft); border-color: var(--line-soft); color: rgba(14, 26, 43, 0.55); }
select.fld {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 34px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23676F7A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7.5 10 4.5 4.5 4.5-4.5'/%3E%3C/svg%3E") right 10px center / 17px no-repeat;
}
.fld[hidden] { display: none; }
.fld-date { margin-top: 10px; }
.chk {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 13.5px;
  cursor: pointer;
  user-select: none;
}
.chk input, .filt-o input {
  -webkit-appearance: none; appearance: none; flex: 0 0 auto;
  width: 18px; height: 18px; margin: 0; border-radius: 6px;
  border: 1.5px solid rgba(14, 26, 43, 0.32); background: #fff;
  cursor: pointer; transition: background-color 0.16s ease, border-color 0.16s ease;
}
.chk input:hover, .filt-o input:hover { border-color: rgba(14, 26, 43, 0.5); }
.chk input[type="checkbox"]:checked, .filt-o input[type="checkbox"]:checked {
  border-color: var(--t600);
  background: var(--t500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 6.4 2.6 2.6L10 3.3' fill='none' stroke='%230E1A2B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.chk input[type="radio"], .filt-o input[type="radio"] { border-radius: 50%; }
.chk input[type="radio"]:checked, .filt-o input[type="radio"]:checked {
  border-color: var(--t600);
  background: radial-gradient(circle, var(--text) 0 3.6px, var(--t500) 4.2px);
}
.chk input:focus-visible, .filt-o input:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.modal-err {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--red);
}
.modal-err::before {
  content: ""; flex: 0 0 auto; width: 15px; height: 15px; margin-top: 1px; background: currentColor;
  -webkit-mask: var(--i-error) center / contain no-repeat; mask: var(--i-error) center / contain no-repeat;
}
.modal-err[hidden] { display: none; }
.modal-warn.danger {
  background: var(--r50);
  box-shadow: inset 0 0 0 1px rgba(179, 38, 30, 0.2);
}
.modal-warn.danger::before {
  background: var(--red);
  -webkit-mask-image: var(--i-error); mask-image: var(--i-error);
}

.acct-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 62px;
  padding: 12px 16px 12px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.acct-row:last-child { border-bottom: none; }

.acct-k { font-size: 12px; color: var(--dim); }
.acct-v { margin-top: 3px; font-size: 13.5px; font-weight: 500; word-break: break-word; }
.acct-v.mono { font-family: var(--font-mono); font-size: 13px; }
.acct-v.none { color: var(--dim); }

.acct-act { flex: 0 0 auto; }
.acct-danger { margin-top: 12px; box-shadow: 0 0 0 1px rgba(179, 38, 30, 0.28), var(--sh-1); }
.acct-danger .acct-row { border-bottom: none; }
.acct-danger .acct-k { color: var(--text); font-weight: 500; font-size: 13.5px; }
.acct-danger .acct-v { color: var(--dim); font-size: 13px; }
.stats.stats-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 864px) { .stats.stats-4 { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 864px) {
  .acct-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}
:root {
  --vlm: #1D4FA8;
  --fail: #B3261E;
}
.work-head { align-items: flex-end; }
.work-head .work-sub { margin: 7px 0 0; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-size: 13px; color: var(--muted); margin: -3px 0 12px -6px; }
.crumb a { padding: 3px 6px; border-radius: 7px; cursor: pointer; text-decoration: none; color: var(--muted); }
.crumb a:hover { background: var(--bg-soft); color: var(--text); }
.crumb > span { padding: 3px 6px; font-weight: 600; color: var(--text); }
.crumb svg { width: 14px; height: 14px; stroke: rgba(14, 26, 43, 0.35); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 30px 0 12px; min-height: 32px; }
.sec-h h2 { margin: 0; font-family: var(--font-display); font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.sec-h .meta { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.btn, .copy { height: 34px; padding: 0 14px; border-radius: var(--r-ctl); border: 1px solid var(--line);
  background: var(--bg-raised); color: var(--text); font-family: var(--font-ui); font-size: 13px; font-weight: 500;
  letter-spacing: -0.006em; cursor: pointer; box-shadow: var(--sh-1);
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.2s ease, transform 0.12s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; text-decoration: none; white-space: nowrap;
  max-width: 100%; overflow: hidden; }
.btn.wrap-text { white-space: normal; height: auto; min-height: 34px; padding: 7px 14px; line-height: 1.35;
  justify-content: flex-start; text-align: left; }
.btn[hidden], .copy[hidden] { display: none; }
.btn:hover, .copy:hover { border-color: rgba(14, 26, 43, 0.3); background: #FBFCFC; }
.btn:active:not(:disabled), .copy:active:not(:disabled) { transform: translateY(1px); }
.btn.btn-solid, .copy.km-primary { background: var(--t500); color: var(--text); border-color: rgba(16, 90, 70, 0.18); box-shadow: var(--sh-pri); }
.btn.btn-solid:hover, .copy.km-primary:hover { background: var(--t500-hover); }
.btn.btn-solid:active, .copy.km-primary:active { background: var(--t500-press); }
.btn.ru-danger, .btn.btn-danger { color: var(--red); border-color: rgba(179, 38, 30, 0.32); }
.btn.ru-danger:hover, .btn.btn-danger:hover { background: var(--r50); border-color: rgba(179, 38, 30, 0.55); }
.btn.btn-danger-solid, .copy.rv-danger { background: var(--red); border-color: var(--red); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 14px -8px rgba(179, 38, 30, 0.8); }
.btn.btn-danger-solid:hover, .copy.rv-danger:hover { background: #9E2019; }
.btn:disabled, .copy:disabled,
.btn.btn-solid:disabled, .copy.km-primary:disabled, .btn.btn-danger-solid:disabled, .copy.rv-danger:disabled {
  background: #EEF1F3; color: rgba(14, 26, 43, 0.4); border-color: transparent; box-shadow: none; cursor: not-allowed; }
.ev-sec[role="tabpanel"] { margin-top: 18px; }
.ev-h-tabbed { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.head-acts { display: flex; align-items: center; gap: 10px; }
:is(.dhead, .work-head) > .head-steps { flex: 1 1 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; }
:is(.dhead, .work-head) > .head-steps::-webkit-scrollbar { display: none; }
:is(.dhead, .work-head) > .head-steps:is(:empty, :has(> .lv-steps[hidden])) { display: none; }
:is(.dhead, .work-head):has(> .head-steps) { row-gap: 12px; }
.ev-edit-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px;
  padding: 8px 8px 8px 16px; border-radius: var(--r-ctl); background: var(--bg-soft); font-size: 13px; color: var(--muted); }
.ev-edit-bar[hidden] { display: none; }
.chk.ev-pick { margin: 0; }
.tbl th.tbl-pick, .tbl td.tbl-pick { width: 44px; }
.ev-note { margin: 0 0 12px; color: var(--t750); }
.bd-tools { display: flex; justify-content: flex-end; margin: 0 0 10px; }
.bd-tools:not(:has(> :not([hidden]))) { display: none; }
.rlist { margin-top: 4px; background: var(--bg-raised); border-radius: var(--r-card); box-shadow: var(--sh-card); overflow: hidden; }
.rlist-h, .prow { display: grid; gap: 18px; align-items: center; padding: 0 16px; }
.rlist-h { min-height: 38px; background: var(--head); border-bottom: 1px solid var(--line-soft);
  font-size: 11.5px; font-weight: 500; color: var(--dim); }
.prow { min-height: 54px; padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); font-size: 13px; color: var(--text); text-decoration: none; }
.prow:last-child { border-bottom: 0; }
a.prow { cursor: pointer; transition: background 0.14s ease; }
a.prow:hover { background: var(--side); }
a.prow:focus-visible { outline-offset: -2px; }
.rlist .r { justify-self: end; text-align: right; }
.plist .prow, .blist .prow, .alist .prow, .slist .prow { min-height: 44px; padding-top: 0; padding-bottom: 0; }
.plist .nm, .blist .nm, .alist .nm, .slist .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prow .ver { margin-left: 8px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 400; color: var(--dim); }
.prow .one { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plist .rlist-h, .plist .prow { grid-template-columns: 24px minmax(0, 1fr) 168px 104px 60px 104px 92px; }
.plist .prow > .st { justify-self: start; }
.blist .rlist-h, .blist .prow { grid-template-columns: 24px minmax(0, 1fr) 60px 96px 104px 92px; }
.alist .rlist-h, .alist .prow { grid-template-columns: 42px minmax(0, 1fr) minmax(0, 1.2fr) 140px; }
.aelist .rlist-h, .aelist .prow { grid-template-columns: minmax(0, 1.5fr) 60px minmax(0, 1fr) 120px; }
.dh-meta .ad-meta { font-size: 12px; }
.slist .rlist-h, .slist .prow { grid-template-columns: minmax(0, 1.5fr) 120px 90px minmax(0, 1fr) 100px; }
.nm { display: block; font-size: 13.5px; font-weight: 600; }
.id { display: block; margin-top: 3px; font-family: var(--font-mono); font-size: 11.5px; color: var(--dim); }
.id .v { margin-left: 10px; font-family: var(--font-ui); font-size: 11.5px; }
.sub { display: block; margin-top: 3px; font-size: 12px; color: var(--dim); }
.rlist .num, .num { font-variant-numeric: tabular-nums; }
.rlist .dim, .dim { color: var(--dim); }
.logo { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center;
  background: var(--bg-soft); font-size: 13px; font-weight: 600; overflow: hidden; }
.logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.logo:empty { background: var(--i-policy) center / 16px no-repeat var(--t50); box-shadow: inset 0 0 0 1px var(--t200); }
.prow[aria-hidden="true"] .logo:empty { background: var(--bg-soft); box-shadow: none; }
.st { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px 0 9px; border-radius: 999px;
  font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap;
  background: var(--bg-soft); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-soft); }
.st::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st.on { background: var(--t50); color: var(--t800); box-shadow: inset 0 0 0 1px var(--t200); }
.st.on::before { background: var(--t500); }
.st.off::before { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(14, 26, 43, 0.5); }
.st.busy { background: var(--b50); color: var(--blue); box-shadow: inset 0 0 0 1px rgba(29, 79, 168, 0.14); }
.st.busy::before { background: none; border: 1.5px solid currentColor; border-right-color: transparent;
  width: 8px; height: 8px; box-sizing: border-box; animation: st-spin 0.9s linear infinite; }
@keyframes st-spin { to { transform: rotate(360deg); } }
.st.warm { background: var(--a50); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(150, 101, 10, 0.18); }
.st.warm::before { background: none; border: 1.5px solid currentColor; border-right-color: transparent;
  width: 8px; height: 8px; box-sizing: border-box; animation: st-spin 0.9s linear infinite; }
.ei { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; display: inline-grid; place-items: center;
  overflow: hidden; vertical-align: middle; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-soft); }
.ei-logo { background: #fff; }
.ei-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.ei-fill img { object-fit: cover; padding: 0; }
.ei-none { box-shadow: inset 0 0 0 1px var(--t200); }
.ei-none.ei-policy { background: var(--i-policy) center / 14px no-repeat var(--t50); }
.ei-none.ei-bench { background: var(--i-bench) center / 14px no-repeat var(--t50); }
.ei-pair { display: inline-flex; align-items: center; vertical-align: middle; }
.ei-pair .ei + .ei { margin-left: -6px; }
.ei-pair > .ei:first-child { place-items: center start; padding-left: 3px; background-position: 4px center; }
.ei-pair > .ei-logo:first-child img { object-position: left center; padding-right: 7px; }
.ei-pair > .ei-fill:first-child { padding-left: 0; }
.ei-pair > .ei-fill:first-child img { padding-right: 0; }
.ei-pair .ei + .ei { box-shadow: 0 0 0 2px var(--bg-raised), inset 0 0 0 1px var(--line-soft); }
.ei-pair .ei-none + .ei-none, .ei-pair .ei + .ei-none { box-shadow: 0 0 0 2px var(--bg-raised), inset 0 0 0 1px var(--t200); }
a.prow:hover .ei-pair .ei + .ei { box-shadow: 0 0 0 2px var(--side), inset 0 0 0 1px var(--line-soft); }
.pass { display: inline-flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; font-weight: 500; }
.pass i { position: relative; width: 72px; height: 5px; border-radius: 3px; background: rgba(14, 26, 43, 0.1); }
.pass i b { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--t600); }
.pass em { font-style: normal; min-width: 34px; text-align: right; }
.pass.low { color: var(--amber); }
.pass.low i b { background: var(--amber); }
.dhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.dh-left { display: flex; gap: 14px; align-items: center; min-width: 0; }
.dh-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--font-display);
  font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -.018em; }
.dh-name :is(.st, .tag) { font-family: var(--font-ui); letter-spacing: 0; }
.dh-meta { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.dh-meta .id { margin: 0; }
.spec { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 20px; background: var(--bg-soft); border-radius: var(--r-card); }
.spec > div { padding: 13px 16px 14px; border-left: 1px solid var(--line-soft); min-width: 0; }
.spec > div:first-child { border-left: 0; }
.spec > div:nth-child(4n+1) { border-left: 0; }
.spec > div:nth-child(n+5) { border-top: 1px solid var(--line-soft); }
.spec span { display: block; font-size: 12px; color: var(--dim); }
.spec b { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.spec b.mono { font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; }
.spec b.ok { color: var(--t750); }
.spec small.spec-sub { display: block; margin-top: 2px; font-size: 12px; color: var(--dim); overflow-wrap: anywhere; }
.spec small.spec-sub .spec-sub-text { display: inline; font-size: inherit; color: inherit; }
@media (max-width: 1100px) {
  .spec { grid-template-columns: repeat(2, 1fr); }
  .spec > div:nth-child(odd) { border-left: 0; }
  .spec > div:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 1240px) {
  .plist .c-robots { display: none; }
  .plist .rlist-h, .plist .prow { grid-template-columns: 24px minmax(0, 1fr) 168px 104px 104px 92px; }
}
@media (max-width: 1100px) {
  .plist .c-last { display: none; }
  .plist .rlist-h, .plist .prow { grid-template-columns: 24px minmax(0, 1fr) 168px 104px 92px; }
}
@media (max-width: 1032px) {
  .blist .rlist-h, .blist .prow { grid-template-columns: 24px minmax(0, 1fr) 96px 92px; }
  .alist .rlist-h, .alist .prow { grid-template-columns: 42px minmax(0, 1fr) 140px; }
  .aelist .rlist-h, .aelist .prow { grid-template-columns: minmax(0, 1fr) 120px; }
  .slist .rlist-h, .slist .prow { grid-template-columns: minmax(0, 1fr) 90px; }
  .hide-sm { display: none; }
}
@media (max-width: 760px) {
  .plist .c-workers, .plist .c-upd, .blist .c-upd, .plist .st-more { display: none; }
  .plist .rlist-h, .plist .prow { grid-template-columns: 24px minmax(0, 1fr) auto; column-gap: 12px; }
  .blist .rlist-h, .blist .prow { grid-template-columns: 24px minmax(0, 1fr) auto; column-gap: 12px; }
  .alist .rlist-h, .alist .prow { grid-template-columns: 42px minmax(0, 1fr) auto; column-gap: 12px; }
  .rlist-h, .prow { padding-left: 14px; padding-right: 14px; }
  .hide-xs { display: none; }
}
.ev-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 8px; }
.ev-kv { color: var(--dim); font-size: 13px; font-variant-numeric: tabular-nums; }
.ev-sec { margin-top: 28px; }
.ev-h { font-family: var(--font-display); font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--text);
  margin: 0 0 12px; }
.ev-root > .tbl, .ev-sec > .tbl, .ev-prog > .tbl, .bd-hist > .tbl { border-radius: var(--r-card); box-shadow: var(--sh-card);
  border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--bg-raised); }
.ev-root > .tbl td, .ev-sec > .tbl td, .ev-prog > .tbl td, .bd-hist > .tbl td { vertical-align: middle; }
.bd-hist { container: bd-hist / inline-size; }
.bd-hist .tbl th, .bd-hist .tbl td { padding-left: 12px; padding-right: 12px; }
.bd-hist .tbl th:first-child, .bd-hist .tbl td:first-child { padding-left: 16px; }
.bd-hist .tbl th:last-child, .bd-hist .tbl td:last-child { padding-right: 16px; }
.bd-hist .c-when a { white-space: nowrap; }
.tbl .with-pair { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tbl .with-pair > span:last-child { min-width: 0; }
@container bd-hist (max-width: 700px) {
  .bd-hist .c-ep { display: none; }
}
@container bd-hist (max-width: 620px) {
  .bd-hist .bd-runs, .bd-hist .bd-runs tbody { display: block; }
  .bd-hist .bd-runs thead { display: none; }
  .bd-hist .bd-runs tr { display: grid; grid-template-columns: minmax(0, 1fr) fit-content(50%); column-gap: 12px; row-gap: 8px;
    grid-template-areas: "when status" "policy result" "policy cost"; padding: 12px 16px;
    border-bottom: 1px solid var(--line-soft); }
  .bd-hist .bd-runs tr:last-child { border-bottom: none; }
  .bd-hist .bd-runs td, .bd-hist .bd-runs td:first-child, .bd-hist .bd-runs td:last-child { padding: 0; border: none; }
  .bd-hist .c-when { grid-area: when; }
  .bd-hist .c-status { grid-area: status; justify-self: end; }
  .bd-hist .c-policy { grid-area: policy; }
  .bd-hist .c-result { grid-area: result; }
  .bd-hist .c-cost { grid-area: cost; }
  .bd-hist .bd-runs tr:has(> td.tbl-pick) { grid-template-columns: auto minmax(0, 1fr) fit-content(50%);
    grid-template-areas: "pick when status" "pick policy result" "pick policy cost"; }
  .bd-hist .bd-runs td.tbl-pick { grid-area: pick; width: auto; align-self: start; }
  .bd-hist .bd-runs tbody tr:hover { background: var(--side); }
  .bd-hist .bd-runs tbody tr:hover > td { background: none; }
}
@supports not (container-type: inline-size) {
  .bd-hist { overflow-x: auto; }
}
.tbl .ev-btn { margin-bottom: 0; }
.tbl + .ev-btn { margin-top: 12px; }
@media (max-width: 760px) {
  .work .tbl:not(.keys) { display: block; overflow-x: auto; }
  .work .tbl td:not(.num):not(.nw):not(.sel), .work .tbl td.num.wrap-text, .work .tbl th.wrap-text { min-width: 8em; }
  .ev-root > .tbl, .ev-sec > .tbl, .ev-prog > .tbl, .inv-doc .tbl, .inv-block .tbl { display: block;
    min-width: 0;
    overflow-x: auto; }
  .inv-doc { padding: 20px 18px; }
}
.ev-sec .tbl + .tbl { margin-top: 14px; }
.ev-list { margin: 0; padding-left: 18px; color: var(--text); font-size: 13px; line-height: 1.6; }
.ev-videos { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-btn { margin-bottom: 10px; }
.ev-row a, .inv-block .tbl a, .work-sub a, .ad-meta a {
  color: var(--t750); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 4px; text-decoration-color: rgba(19, 106, 82, 0.35); }
.ev-row a:hover, .inv-block .tbl a:hover, .work-sub a:hover, .ad-meta a:hover { text-decoration-color: currentColor; }
.mk-access { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 640px; }
.mk-access .work-sub { margin: 0; }
.mk-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.mk-acts .ev-btn { margin-bottom: 0; }
.wklist .rlist-h, .wklist .prow { grid-template-columns: minmax(0, 1.4fr) 110px 70px 96px 96px; }
.qlist .rlist-h, .qlist .prow { grid-template-columns: 70px minmax(0, 1fr) 110px; }
.ulist .rlist-h, .ulist .prow { grid-template-columns: minmax(0, 1fr) 100px 100px 100px 90px; }
.ulist, .wklist { margin-top: 12px; }
.mono-nm { font-family: var(--font-mono); font-weight: 500; font-size: 13px; }
.wk-why { line-height: 1.45; max-width: 64ch; }
.wk-why.is-bad { color: #8C1D18; }
.st.bad { background: var(--r50); color: var(--fail); box-shadow: inset 0 0 0 1px rgba(179, 38, 30, 0.16); }
.fq { margin-top: 18px; }
.fq-h { margin: 0; font-size: 13.5px; font-weight: 600; }
.fq-why { margin-top: 4px; margin-bottom: 10px; max-width: 72ch; }
.dalert { margin-top: 16px; font-size: 13px; }
.dalert b { font-weight: 600; }
.dalert-sub { display: block; margin-top: 6px; opacity: .85; }
.gc-card { position: relative; margin-top: 12px; border-radius: var(--r-card); box-shadow: var(--sh-card);
  background: var(--bg-raised); padding: 16px 18px 10px; }
.gc-key { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 6px; font-size: 12px; color: var(--dim); }
.gc-key i, .gc-tr i { display: inline-block; width: 14px; height: 2px; border-radius: 1px; vertical-align: middle;
  margin-right: 7px; }
.gc-k-util { background: #0E7C5E; }
.gc-k-mem { background: #2a78d6; }
.gc-fig { margin: 0; width: 100%; border-radius: 6px; }
.gc-fig:focus { outline: none; }
.gc-fig:focus-visible { outline: 2px solid var(--text); outline-offset: 6px; }
.gc-fig svg { display: block; width: 100%; height: auto; overflow: visible; }
.gc-grid { stroke: var(--line-soft); stroke-width: 1; shape-rendering: crispEdges; }
.gc-base { stroke: var(--line); stroke-width: 1; shape-rendering: crispEdges; }
.gc-lbl { fill: var(--dim); font-size: 11px; font-variant-numeric: tabular-nums; }
.gc-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.gc-line.gc-util { stroke: #0E7C5E; }
.gc-line.gc-mem { stroke: #2a78d6; }
.gc-solo.gc-util, .gc-dot.gc-util { fill: #0E7C5E; }
.gc-solo.gc-mem, .gc-dot.gc-mem { fill: #2a78d6; }
.gc-dot { stroke: var(--bg-raised); stroke-width: 2; }
.gc-hair { stroke: var(--text); stroke-opacity: .32; stroke-width: 1; shape-rendering: crispEdges; }
.gc-hit { fill: transparent; cursor: crosshair; }
.gc-tip { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .1s ease;
  white-space: nowrap; padding: 8px 11px; border-radius: 10px;
  background: var(--text); color: #fff; line-height: 1.35; box-shadow: 0 10px 24px -10px rgba(14, 26, 43, 0.5); }
.gc-tip .d { display: block; margin-bottom: 3px; font-size: 11.5px; opacity: .72; }
.gc-tr { display: block; font-size: 12px; }
.gc-tr b { font-weight: 600; font-variant-numeric: tabular-nums; }
.gc-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ev-prog { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 4px 0 14px; }
.ev-prog .tbl { flex-basis: 100%; }
.ev-bar { display: flex; width: min(320px, 100%); height: 6px; border-radius: 3px; overflow: hidden;
  background: rgba(14, 26, 43, 0.1); }
.ev-bar b { background: var(--t600); }
.ev-bar i { background: var(--t600); opacity: 0.35; }
.ev-wait { margin: 4px 0 6px; padding: 12px 14px; border-radius: 14px; background: var(--a50);
  box-shadow: inset 0 0 0 1px rgba(150, 101, 10, 0.22); }
.ev-wait-h { margin: 0; font-size: 13.5px; font-weight: 600; color: #7A5208; }
.ev-wait-kv { margin-top: 4px; font-size: 13px; color: var(--text); font-variant-numeric: tabular-nums; }
.ev-wait p.work-sub { margin-top: 6px; }

@media (max-width: 1032px) {
  .wklist .rlist-h, .wklist .prow { grid-template-columns: minmax(0, 1fr) 90px 60px 86px; }
  .ulist .rlist-h, .ulist .prow { grid-template-columns: minmax(0, 1fr) 90px 80px; }
}
@media (max-width: 760px) {
  .wklist .rlist-h, .wklist .prow { grid-template-columns: minmax(0, 1fr) auto auto; row-gap: 6px; column-gap: 16px; }
  .wklist .rlist-h > :first-child, .wklist .prow > :first-child { grid-column: 1 / -1; }
  .ulist .rlist-h, .ulist .prow { grid-template-columns: minmax(0, 1fr) 80px 62px; column-gap: 12px; }
}
.ulist .prow > :first-child { white-space: nowrap; }
.is-pending { visibility: hidden; }
.rail-bal { margin: 0 1px 14px; padding: 4px 12px 13px; font-family: var(--font-ui); font-size: 23px; font-weight: 600;
  letter-spacing: -0.03em; line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums;
  border: 1px solid var(--line-soft); border-top: 0; border-radius: 0 0 14px 14px; box-shadow: var(--sh-1);
  background: radial-gradient(circle 76px at calc(100% - 30px) -11px, rgba(255, 197, 61, 0.34),
    rgba(255, 197, 61, 0.1) 60%, rgba(255, 197, 61, 0)) #fff; }
.rail-bal.neg { color: var(--red); }
.rail-btm { position: relative; }
.rail-bal[role="button"] { cursor: pointer; }
.rail { z-index: 20; }
.bal-pop { position: absolute; left: calc(100% + 26px); z-index: 60; width: 288px; padding: 14px 16px 12px;
  background: #fff; border-radius: 14px; box-shadow: var(--sh-pop); font-family: var(--font-ui); font-size: 12.5px;
  color: var(--text); animation: bp-in 0.16s ease-out; }
.bal-pop[hidden] { display: none; }
@keyframes bp-in { from { opacity: 0; transform: translateX(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bal-pop { animation: none; } }
.bp-plan { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft); }
.bp-name { font-size: 14px; font-weight: 600; }
.bp-link { font-size: 12px; color: var(--t700); text-decoration: none; }
.bp-link:hover { text-decoration: underline; }
.bp-sec { padding-top: 10px; }
.bp-k { margin-bottom: 4px; font-size: 11.5px; font-weight: 500; color: var(--dim); }
.bp-s { margin-top: 5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bp-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 7px; }
.bp-v { color: var(--muted); font-variant-numeric: tabular-nums; }
.bp-row.is-full .bp-v { color: var(--amber); font-weight: 600; }
.bp-own { margin-left: 6px; font-size: 11px; color: var(--dim); border-bottom: 1px dotted currentColor; cursor: help; }
.bp-bar { height: 4px; margin-top: 4px; border-radius: 999px; background: #EEF1F3; overflow: hidden; }
.bp-bar > i { display: block; height: 100%; border-radius: inherit; background: var(--t500); }
.bp-bar.is-full > i { background: var(--amber); }
.skel { display: inline-block; vertical-align: middle; width: 100%; height: 12px; border-radius: 999px;
  background: linear-gradient(90deg, #E6ECEA 0%, #F3F7F5 45%, #E6ECEA 90%) 0 0 / 300% 100%;
  animation: skel-sheen 1.6s linear infinite; }
.skel-num { width: 4.2em; height: .72em; }
.skel-chip { width: 64px; height: 18px; border-radius: 9px; }
.skel-lines { display: block; }
.skel-lines .skel { display: block; height: 10px; margin: 7px 0 15px; }
.skel-lines .skel:nth-child(2) { width: 82%; }
.skel-lines .skel:nth-child(3) { width: 64%; }
@keyframes skel-sheen { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.fade-in { animation: fade-in .15s ease-out both; }
.modal.modal-fade:not([hidden]) { animation: fade-in .15s ease-out both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .skel, .fade-in, .modal:not([hidden]), .modal:not([hidden]) > .modal-card, .ru-menu, .st.busy::before { animation: none; }
  .skel { background: #EEF2F1; }
  .btn, .copy, .amt, .fld, .nav-item, a.prow, .lib-list .mrow { transition: none; }
}
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: 12px;
  font-family: var(--font-ui); font-size: 13px; color: var(--muted); }
.pager[hidden] { display: none; }
.pager-range { margin-right: 6px; font-variant-numeric: tabular-nums; }
.btn.pager-btn { width: 32px; height: 32px; padding: 0; font-size: 19px; line-height: 1; }
.btn.pager-btn:disabled { background: transparent; border-color: transparent; box-shadow: none;
  color: rgba(14, 26, 43, 0.2); cursor: default; }
.lib-list .lib-sec { display: flex; align-items: baseline; gap: 10px; padding: 12px 12px 6px;
  font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--dim); }
.lib-list .lib-sec code { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0;
  text-transform: none; color: var(--muted); }
.lib-list .lib-sec[hidden] { display: none; }
.lib-list .lib-sec .filt-sw { align-self: center; }
.lib-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.md-back { display: inline-block; margin-bottom: 18px; font-size: 13px; color: var(--muted); text-decoration: none; }
.md-back:hover { color: var(--text); }
.md-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.md-head .work-title { margin: 0; }
.md-facts { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px 18px; margin: 0 0 28px;
  padding: 18px 20px; border-radius: var(--r-card); background: var(--bg-raised); box-shadow: var(--sh-card); }
.md-facts dt { font-size: 12.5px; color: var(--dim); }
.md-facts dd { margin: 0; font-size: 13px; line-height: 1.6; color: var(--text); overflow-wrap: anywhere; }
.md-facts code { font-family: var(--font-mono); font-size: 11.5px; padding: 1px 6px; border-radius: 6px; background: var(--bg-soft); }
.work-sub code { font-family: var(--font-mono); font-size: 11.5px; padding: 1px 6px; border-radius: 6px; background: var(--bg-soft); }
.md-h { font-family: var(--font-display); font-size: 15.5px; font-weight: 600; margin: 0 0 12px; }
.md-code { margin-bottom: 14px; border-radius: var(--r-card); overflow: hidden; background: var(--text); }
.md-code-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px;
  font-family: var(--font-ui); font-size: 11px; color: #9FB0C0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.md-copy { font: inherit; color: #E6EDF2; background: rgba(255, 255, 255, 0.08); border: 0; border-radius: 6px;
  padding: 4px 10px; cursor: pointer; }
.md-copy:hover { background: rgba(255, 255, 255, 0.16); }
.md-code pre { margin: 0; padding: 14px 16px; overflow-x: auto; font-family: var(--font-mono); font-size: 12px;
  line-height: 1.6; color: #E6EDF2; }
.md-note { font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .md-facts { grid-template-columns: minmax(0, 1fr); gap: 2px 0; } .md-facts dd { margin-bottom: 8px; } }
.xp { cursor: help; text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 50%, transparent); }
.xp.xp-quiet { cursor: inherit; text-decoration: none; }
.xp:focus-visible { border-radius: 3px; }
.spec span.xp { display: inline; }
.xp-tip { position: fixed; left: 0; top: 0; z-index: 200; max-width: 300px; padding: 8px 11px; border-radius: 10px;
  background: var(--text); color: #fff; font-family: var(--font-body); font-size: 12.5px; font-weight: 400;
  line-height: 1.45; letter-spacing: 0; text-align: left; text-transform: none; white-space: normal;
  box-shadow: 0 10px 24px -10px rgba(14, 26, 43, 0.5); }
.xp-tip[hidden] { display: none; }
.xp-tip p { margin: 0 0 5px; }
.xp-tip ul { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.xp-tip b { font-weight: 600; }
@media (prefers-reduced-motion: no-preference) { .xp-tip:not([hidden]) { animation: xp-in 0.12s ease-out; } }
@keyframes xp-in { from { opacity: 0; transform: translateY(2px); } }
.xp.xp-i { text-decoration: none; }
.xp-i {
  --i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5.4'/%3E%3Ccircle cx='12' cy='7.7' r='0.7' fill='%23000' stroke='none'/%3E%3C/svg%3E");
  display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; margin: 0; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--dim); cursor: help; vertical-align: -6px;
  transition: color .12s ease, background-color .12s ease;
}
.xp-i::before { content: ''; width: 15px; height: 15px; background: currentColor;
  -webkit-mask: var(--i-info) center / contain no-repeat; mask: var(--i-info) center / contain no-repeat; }
.xp-i:hover, .xp-i:focus-visible { color: var(--text); background: color-mix(in srgb, var(--text) 7%, transparent); }
.xp-i:focus-visible { outline: none; box-shadow: var(--focus-ring); }
@media (prefers-reduced-motion: reduce) { .xp-i { transition: none; } }
.pill.pill-platform { background: var(--t50, #EFFBF6); color: var(--t800, #0F5A45); }
.audit-why { margin-top: 4px; min-width: 26ch; max-width: 60ch; color: var(--muted); line-height: 1.5; }
.tbl td.audit-on { overflow-wrap: break-word; }
.dh-tpl { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-family: var(--font-ui);
  font-size: 12.5px; font-weight: 500; letter-spacing: 0; }
.dh-tpl[hidden], .dh-tpl > [hidden] { display: none; }
.dh-tpl-link { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  color: var(--blue); background: var(--b50); box-shadow: inset 0 0 0 1px rgba(29, 79, 168, 0.18); text-decoration: none; }
.dh-tpl-link:hover { text-decoration: underline; }
.dh-tpl-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.dh-tpl-new { color: var(--muted); }
.dh-tpl-btn { height: 26px; padding: 0 10px; font-size: 12.5px; }
.dh-tpl-said { color: var(--muted); }
:is(.dhead, .work-head) > .head-steps:has(> .head-steps-v) { display: flex; align-items: center; }
.head-steps-v { flex: none; margin-right: 6px; font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.tbl td.nw, .tbl th.nw { white-space: nowrap; overflow-wrap: normal; }
.ver-src { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ver-dl { height: 26px; padding: 0 10px; font-size: 12.5px; }
.ver-dl:disabled { opacity: 0.45; cursor: not-allowed; }
.ver-dl-said { max-width: 260px; font-size: 12px; line-height: 1.45; color: var(--red); white-space: normal; }
.ver-dl-said[hidden] { display: none; }
.ver-code { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.bd-status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.tu-card { max-width: 560px; }
.tu-h { margin: 14px 0 4px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.tu-list { margin: 0; padding-left: 18px; font-size: 13.5px; }
.tu-list li { margin: 2px 0; }
.tu-keeps { margin-top: 14px; }
.tu-acts { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
