.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-period { padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.bp-period:empty { display: none; }
.bp-period .bp-plan { padding-bottom: 0; border-bottom: 0; }
.bp-days { margin-top: 0; }
.bp-spent { margin-top: 4px; font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bp-go { display: inline-block; margin-top: 10px; }
.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-row .ico { display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px;
  color: rgba(14, 26, 43, 0.5); }
.bp-v { flex: none; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.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 { position: relative; height: 4px; margin-top: 4px; border-radius: 999px; background: #EEF1F3; overflow: hidden; }
.bp-bar > i { position: absolute; inset: 0; border-radius: inherit; background: var(--t500); transform: translateX(-100%); }
.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,
  .st.warm::before, .tag-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; display: inline-flex; align-items: center; gap: 6px; }
.md-copy .cp-ic { width: 13px; height: 13px; margin-left: 0; }
.md-copy.is-copied { color: var(--t300, #90E1C4); }
.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; }
.spec > div > span.xp { display: block; width: fit-content; }
.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; }
.audit-kv { display: inline-block; max-width: 36ch; margin: 2px 6px 2px 0; padding: 1px 8px; border-radius: 6px;
  background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line-soft); font-size: 12px; line-height: 1.6;
  color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: top; }
.audit-who-id { display: block; white-space: nowrap; }
.audit-who-key { display: block; margin-top: 2px; font-size: 12px; color: var(--dim); white-space: nowrap; }
.tbl td.audit-on { overflow-wrap: break-word; }
.dh-tpl { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 24px; margin: 0;
  padding: 3px 12px; border-radius: var(--r-ctl); overflow: visible; font-family: var(--font-ui); font-size: 12.5px;
  font-weight: 500; letter-spacing: 0; }
.dh-tpl:has(> .dh-tpl-up:not([hidden])) { padding-right: 3px; }
.dh-tpl[hidden], .dh-tpl [hidden] { display: none; }
.dh-tpl-link { color: var(--blue); text-decoration: none; }
.dh-tpl-link:hover { text-decoration: underline; }
.dh-tpl-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.dh-tpl-link:not([href]) { color: inherit; }
.dh-tpl-link:not([href]):hover { text-decoration: none; }
.dh-tpl-ch { color: var(--t800); }
.dh-tpl-ch.is-beta { color: var(--amber); }
.dh-tpl-up { display: inline-flex; align-items: center; gap: 8px; padding-left: 10px; box-shadow: inset 1px 0 0 var(--line); }
.dh-tpl-new { color: var(--muted); }
.dh-tpl-btn { height: 24px; padding: 0 10px; font-size: 12.5px; }
.dh-tpl-said { color: var(--muted); }
@media (max-width: 640px) {
  .dh-tpl:has(> .dh-tpl-up:not([hidden])) { padding: 5px 12px 6px; }
  .dh-tpl-up { flex-basis: 100%; padding: 6px 0 0; box-shadow: inset 0 1px 0 var(--line); }
  .dh-name:has(> .dh-tpl:not([hidden])) { row-gap: 4px; }
  .dh-name:has(> .dh-tpl:not([hidden]))::after { content: ""; order: 1; flex-basis: 100%; height: 0; }
  .dh-name > .dh-tpl { order: 2; }
}
:is(.dhead, .work-head) > .head-steps { container-type: inline-size; }
:is(.dhead, .work-head) > .head-steps:has(> .head-steps-v) { display: flex; align-items: flex-start; gap: 8px; }
.head-steps-v { flex: none; margin-top: 4px; padding: 2px 7px; border-radius: 6px; background: var(--bg-soft);
  box-shadow: inset 0 0 0 1px var(--line-soft); font-family: var(--font-ui); font-size: 12px; font-weight: 600;
  line-height: 16px; color: var(--muted); }
.head-steps-v:empty { display: none; }
.head-steps > .lv-steps-head { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 92px);
  align-items: start; gap: 0; min-width: 0; }
.head-steps > .lv-steps-head > .lv-step { position: relative; display: block; padding: 0; border-radius: 0;
  background: none; font-size: 12.5px; white-space: nowrap; }
.head-steps > .lv-steps-head > .lv-step + .lv-step::before { display: none; }
.head-steps > .lv-steps-head > .lv-step:not(:last-child)::after { content: ""; position: absolute; top: 13px; left: 28px;
  right: 0; height: 2px; border-radius: 1px; background: var(--line); pointer-events: none; }
.head-steps > .lv-steps-head > .lv-done:not(:last-child)::after { background: var(--t300); }
.head-steps > .lv-steps-head .lv-step-go { display: grid; justify-items: start; row-gap: 3px; width: 100%;
  padding: 6px; border-radius: 10px; text-align: left; }
.head-steps > .lv-steps-head .lv-step-go.xp:focus-visible { border-radius: 10px; }
.head-steps > .lv-steps-head .lv-dur { display: block; font-size: 12px; }
.head-steps > .lv-steps-head .lv-dur[hidden] { display: none; }
.head-steps > .lv-steps-head .lv-bad .lv-dur { width: max-content; max-width: 10em; white-space: normal; }
@container (max-width: 600px) {
  .head-steps > .lv-steps-head { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 4px; }
  .head-steps > .lv-steps-head > .lv-step:nth-child(3n)::after { display: none; }
  .head-steps > .lv-steps-head > .lv-step { font-size: 12px; }
  .head-steps > .lv-steps-head .lv-bad .lv-dur { width: auto; }
  .head-steps > .lv-steps-head:has(> .lv-step:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .head-steps > .lv-steps-head:has(> .lv-step:nth-child(4):last-child) > .lv-step:nth-child(3)::after { display: block; }
  .head-steps > .lv-steps-head:has(> .lv-step:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.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); }
.ver-act-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tu-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); column-gap: 24px; }
.tu-h { margin: 16px 0 4px; font-size: 13px; font-weight: 600; color: var(--text); }
.tu-list { margin: 0; padding-left: 18px; font-size: 13.5px; }
.tu-list li { margin: 2px 0; }
.en-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 12px; }
.en-fact { display: grid; gap: 2px; }
.en-k { font-size: 12px; color: var(--muted); }
.en-fact b { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.en-sub { font-size: 11.5px; color: var(--dim); }
.modal-card .en-facts { margin-top: 16px; }
.modal-card .en-fact b { justify-self: start; }
.gpu-ico, .cpu-ico { width: 14px; height: 14px; flex: 0 0 auto; margin-right: 5px; vertical-align: -2px; fill: none;
  stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
