/* Reusable stage pieces: block card, schema row, form field, panel, window, tile. Positions that belong to one episode live in its stage.css. */
.intro {
    position: absolute;
    left: 92px;
    top: 226px;
    width: 1100px;
}
.intro .i-eyebrow {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-ink);
}
.intro .i-title {
    font-size: 84px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.035em;
    color: var(--fg-strong);
    margin-top: 14px;
}
.intro .i-sub {
    font-size: 27px;
    color: var(--fg-muted);
    margin-top: 22px;
}
.intro.tall {
    top: 176px;
}
.blk {
    position: absolute;
    top: 0;
    width: 240px;
    height: 104px;
    background: var(--surface);
    border: 1.5px solid var(--line-strong);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.08);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
}
.chip {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: grid;
    place-items: center;
}
.chip svg {
    width: 24px;
    height: 24px;
}
.t-form .chip,
.chip.t-form {
    background: var(--form-bg);
    color: var(--form-fg);
}
.t-math .chip,
.chip.t-math {
    background: var(--math-bg);
    color: var(--math-fg);
}
.t-action .chip,
.chip.t-action {
    background: var(--action-bg);
    color: var(--action-fg);
}
.chip.t-token {
    background: var(--token-bg);
    color: var(--token-fg);
}
.chip.t-prim {
    background: var(--primary-soft);
    color: var(--primary-ink);
}
.blk .b-label {
    font-size: 19px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--fg-strong);
}
.blk .b-type {
    font-size: 14.5px;
    font-weight: 500;
    margin-top: 4px;
}
.t-form .b-type,
.t-form .v-t {
    color: var(--form-fg);
}
.t-math .b-type,
.t-math .v-t {
    color: var(--math-fg);
}
.t-action .v-t {
    color: var(--action-fg);
}
.edge {
    position: absolute;
    top: 46px;
    width: 60px;
    height: 12px;
}
.edge .ln {
    position: absolute;
    left: 2px;
    top: 5px;
    width: 48px;
    height: 2px;
    background: var(--canvas-edge);
    transform-origin: 0 50%;
}
.edge .ah {
    position: absolute;
    right: 2px;
    top: 1px;
    border-left: 9px solid var(--canvas-edge);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}
/* The moving dot and the label under a block of the chain. Both names are shared and unprefixed: an episode
   must not use `pulse` or `tag` as a class of its own. */
.pulse {
    position: absolute;
    top: 45px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-ink);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary-ink) 25%, transparent);
}
.tag {
    position: absolute;
    top: 124px;
    width: 240px;
    text-align: center;
}
.tag span {
    display: inline-block;
    font-size: 15.5px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid;
}
.tag.t-form span {
    background: var(--form-bg);
    color: var(--form-fg);
    border-color: var(--form-border);
}
.tag.t-math span {
    background: var(--math-bg);
    color: var(--math-fg);
    border-color: var(--math-border);
}
.chk {
    position: absolute;
    top: -13px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ok-solid);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 3px var(--bg);
}
.chk svg {
    width: 18px;
    height: 18px;
    stroke-width: 3;
}
.panel {
    position: absolute;
    top: 158px;
    height: 512px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-panel);
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
}
.p-eyebrow {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fg-muted);
}
.p-title {
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--fg-strong);
    margin-top: 2px;
}
.p-meta {
    font-size: 16px;
    color: var(--fg-muted);
    margin-top: 2px;
}
.srow {
    border-top: 1px solid var(--line);
    padding: 10px 0 9px;
}
.srows {
    margin-top: 14px;
}
.srow .s-top {
    display: flex;
    align-items: center;
    gap: 10px;
}
.srow .s-tag {
    font-family: var(--mono);
    font-size: 16.5px;
    color: var(--fg-strong);
}
.srow .s-type {
    font-size: 13px;
    font-weight: 500;
    padding: 1px 8px;
    border-radius: 4px;
    background: var(--system-bg);
    color: var(--system-fg);
}
.srow .s-new {
    margin-left: auto;
    font-size: 12.5px;
    font-weight: 600;
    padding: 1px 9px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-ink);
    border: 1px solid var(--primary-border);
}
.srow .s-rule {
    font-size: 14.5px;
    color: var(--fg-muted);
    margin-top: 2px;
}
.p-foot {
    margin-top: auto;
    font-size: 15px;
    color: var(--fg-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
    margin-top: 16px;
}
.fld {
    height: 114px;
    min-width: 0;
}
.fld.wide {
    grid-column: 1 / -1;
}
.f-label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--fg);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.f-label .req,
.se-f label .req {
    margin-left: 4px;
    font-style: normal;
    color: var(--bad-line);
}
.inp {
    margin-top: 5px;
    height: 46px;
    border: 1.5px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    padding: 0 13px;
    font-size: 18px;
    color: var(--fg-strong);
    display: flex;
    align-items: center;
}
.inp.ph {
    color: var(--fg-muted);
}
.inp.sel::after {
    content: '';
    flex: none;
    margin-left: auto;
    width: 14px;
    height: 14px;
    background: var(--fg-muted);
    -webkit-mask: var(--se-ic-chev) center / contain no-repeat;
    mask: var(--se-ic-chev) center / contain no-repeat;
}
.inp.focus {
    border-color: var(--primary-ink);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-ink) 28%, transparent);
}
.inp.bad {
    border-color: var(--bad-line);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad-line) 22%, transparent);
}
.f-err {
    font-size: 13px;
    line-height: 1.2;
    color: var(--bad-fg);
    margin-top: 4px;
}
.m-head {
    display: flex;
    align-items: center;
    gap: 14px;
}
.m-cols {
    display: grid;
    grid-template-columns: 310px 1fr 380px;
    gap: 26px;
    margin-top: 20px;
    flex: 1;
    min-height: 0;
}
.m-col-title {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fg-muted);
    margin-bottom: 10px;
}
.m-in {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
    background: var(--sunken);
}
.m-in .n {
    font-family: var(--mono);
    font-size: 19px;
    font-weight: 500;
    color: var(--fg-strong);
}
.m-in .s {
    font-size: 14px;
    margin-top: 3px;
}
.m-in.from-form .s {
    color: var(--form-fg);
}
.m-in.from-const .s {
    color: var(--token-fg);
}
.m-note {
    font-size: 14.5px;
    color: var(--fg-muted);
}
.m-mid {
    border: 1px dashed var(--math-border);
    background: color-mix(in srgb, var(--math-bg) 45%, transparent);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
}
.m-var {
    font-family: var(--mono);
    font-size: 18px;
    color: var(--math-fg);
    font-weight: 500;
}
.m-expr {
    position: relative;
    height: 62px;
    width: 100%;
    margin-top: 12px;
}
.m-expr > div {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--mono);
    font-size: 34px;
    font-weight: 500;
    color: var(--fg-strong);
    white-space: nowrap;
}
.m-eq {
    margin-top: 10px;
    font-size: 44px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--fg-strong);
    font-variant-numeric: tabular-nums;
}
.m-eq small {
    font-size: 22px;
    font-weight: 500;
    color: var(--fg-muted);
}
.m-res {
    border-top: 1px solid var(--line);
    padding: 8px 10px 7px;
    position: relative;
}
.m-res .l {
    font-size: 14px;
    color: var(--fg-muted);
}
.m-res .v {
    font-family: var(--mono);
    font-size: 18.5px;
    font-weight: 500;
    color: var(--fg-strong);
    font-variant-numeric: tabular-nums;
}
.m-res .hl {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: var(--ok-bg);
    border: 1.5px solid var(--ok-solid);
}
.m-res > div:not(.hl) {
    position: relative;
}
.rec {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 13px 14px;
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 14px;
    background: var(--sunken);
}
.rec .r-name {
    font-size: 18.5px;
    font-weight: 600;
    color: var(--fg-strong);
}
.rec .r-line {
    font-size: 15px;
    color: var(--fg-muted);
    margin-top: 2px;
}
.rec .r-rev {
    margin-left: auto;
    font-family: var(--mono);
    font-size: 14.5px;
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--primary-soft);
    color: var(--primary-ink);
    border: 1px solid var(--primary-border);
    white-space: nowrap;
}
.rec-note {
    margin-top: 18px;
    font-size: 16.5px;
    color: var(--fg);
    border-left: 3px solid var(--primary-border);
    padding-left: 12px;
}
.ev {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 12px;
    background: var(--sunken);
}
.ev i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-ink);
    flex: none;
}
.ev .e-name {
    font-family: var(--mono);
    font-size: 18.5px;
    font-weight: 500;
    color: var(--fg-strong);
}
.ev .e-what {
    margin-left: auto;
    font-size: 14.5px;
    color: var(--fg-muted);
}
.endcard {
    position: absolute;
    left: 0;
    top: 498px;
    width: 1280px;
    text-align: center;
}
.endcard .e1 {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--fg-strong);
}
.endcard .e2 {
    font-size: 21px;
    color: var(--fg-muted);
    margin-top: 8px;
}
.win {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-panel);
    overflow: hidden;
}
.win-bar {
    height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    background: var(--sunken);
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    font-weight: 600;
    color: var(--fg-muted);
}
.win-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--line-strong);
}
.win-bar span {
    margin-left: 6px;
}
.win-bar .ver {
    margin-left: auto;
    font-size: 13.5px;
    padding: 2px 11px;
    border-radius: 999px;
    background: var(--system-bg);
    color: var(--system-fg);
}
.win-bar .ver.pub {
    background: var(--ok-bg);
    color: var(--ok-fg);
}
.mg-body {
    position: absolute;
    inset: 44px 0 0 0;
    padding: 20px 24px;
}
.mg-body.canvas {
    padding: 0;
    background-color: var(--bg);
    background-image: radial-gradient(circle at 1.5px 1.5px, var(--canvas-dot) 1.5px, transparent 0);
    background-size: 24px 24px;
}
.vb {
    position: absolute;
    left: 100px;
    width: 340px;
    height: 56px;
    background: var(--surface);
    border: 1.5px solid var(--line-strong);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.07);
}
.vb .chip {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}
.vb .chip svg {
    width: 20px;
    height: 20px;
}
.vb .v-l {
    font-size: 16.5px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--fg-strong);
}
.vb .v-t {
    font-size: 13px;
    font-weight: 500;
}
.vb::before {
    content: '';
    position: absolute;
    left: 167px;
    top: -21.5px;
    width: 2px;
    height: 20px;
    background: var(--canvas-edge);
}
.vb.first::before {
    display: none;
}
.vb .v-role {
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--action-bg);
    color: var(--action-fg);
    border: 1px solid var(--action-border);
    white-space: nowrap;
}
.pt-head {
    height: 54px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 24px;
    font-size: 18px;
    font-weight: 600;
}
.pt-body {
    position: absolute;
    inset: 98px 0 0 0;
    padding: 18px 24px;
}
.pt-title {
    font-size: 21px;
    font-weight: 600;
    color: var(--fg-strong);
    height: 38px;
}
.pf {
    height: 82px;
}
.st {
    position: absolute;
    left: 24px;
    right: 24px;
    height: 52px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--sunken);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    font-size: 17px;
    font-weight: 600;
    color: var(--fg-strong);
}
.st .dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--line-strong);
    flex: none;
    display: grid;
    place-items: center;
    color: transparent;
}
.st .dot svg {
    width: 14px;
    height: 14px;
    stroke-width: 3.5;
}
.st.done .dot {
    background: var(--ok-solid);
    border-color: var(--ok-solid);
    color: #fff;
}
.st .s-new {
    margin-left: auto;
    font-size: 12.5px;
    font-weight: 600;
    padding: 1px 9px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-ink);
    border: 1px solid var(--primary-border);
}
.note {
    position: absolute;
    left: 92px;
    top: 262px;
    width: 256px;
    background: var(--math-bg);
    border: 1px solid var(--math-border);
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: var(--shadow-panel);
}
.note .p-eyebrow {
    color: var(--math-fg);
}
.note .n-text {
    font-size: 22px;
    line-height: 1.3;
    color: var(--fg-strong);
    margin-top: 6px;
}
.note b {
    font-weight: 600;
}
.pp-step {
    position: relative;
    height: 54px;
    border-radius: 10px;
    border: 1.5px solid var(--line-strong);
    background: var(--surface);
    display: flex;
    align-items: center;
    padding: 0 18px;
    font-size: 19px;
    font-weight: 600;
    color: var(--fg-strong);
    margin-bottom: 26px;
}
.pp-step::after {
    content: '';
    position: absolute;
    left: 28px;
    top: calc(100% + 1.5px);
    width: 2px;
    height: 26px;
    background: var(--canvas-edge);
}
.pp-step.last {
    opacity: 0.35;
    margin-bottom: 16px;
}
.pp-step.last::after {
    display: none;
}
.pp-wait {
    font-size: 16px;
    font-weight: 500;
    color: var(--bad-fg);
}
.lt {
    --surface: rgb(255 255 255);
    --sunken: rgb(248 249 251);
    --line: rgb(225 228 234);
    --line-strong: rgb(203 209 217);
    --fg-strong: rgb(15 23 41);
    --fg: rgb(52 64 84);
    --fg-muted: rgb(107 114 128);
    --system-bg: rgb(233 236 239);
    --system-fg: rgb(70 81 97);
}
.dk {
    --surface: rgb(20 23 28);
    --sunken: rgb(15 18 22);
    --line: rgb(39 44 53);
    --line-strong: rgb(50 56 68);
    --fg-strong: rgb(230 232 235);
    --fg: rgb(195 200 208);
    --fg-muted: rgb(138 145 157);
    --system-bg: rgb(34 39 47);
    --system-fg: rgb(147 158 174);
}
.mini {
    position: absolute;
    top: 136px;
    width: 340px;
    height: 300px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-panel);
    overflow: hidden;
    color: var(--fg);
}
.mini .m-bar {
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}
.mini .m-body {
    padding: 16px 18px;
}
.mini .m-chips {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.mini .m-chips span {
    font-size: 13.5px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--system-bg);
    color: var(--system-fg);
}
.mini .m-role {
    margin-top: 16px;
    font-size: 17px;
    font-weight: 600;
    color: var(--fg-strong);
    border-top: 1px solid var(--line);
    padding-top: 13px;
}
.tile {
    position: absolute;
    top: 286px;
    width: 340px;
    height: 214px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-panel);
    padding: 22px;
}
.tile .t-h {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--fg-strong);
    margin-top: 14px;
}
.tile .t-p {
    font-size: 16px;
    line-height: 1.4;
    color: var(--fg);
    margin-top: 6px;
}

/* The schema editor, as the Schemas track draws it: a window with the field grid and the inspector beside it. */
:root {
    --se-ic-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    --se-ic-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
    --se-ic-eye-off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.88 9.88a3 3 0 1 0 4.24 4.24'/%3E%3Cpath d='M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68'/%3E%3Cpath d='M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61'/%3E%3Cpath d='m2 2 20 20'/%3E%3C/svg%3E");
    --se-ic-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
}
/* A type family: the colours the type chip, the type dot and a section tile read. Add one family class beside the piece. */
.ft-text {
    --ft-bg: var(--ft-text-bg);
    --ft-fg: var(--ft-text-fg);
    --ft-border: var(--ft-text-border);
    --ft-accent: var(--ft-text-accent);
}
.ft-number {
    --ft-bg: var(--ft-number-bg);
    --ft-fg: var(--ft-number-fg);
    --ft-border: var(--ft-number-border);
    --ft-accent: var(--ft-number-accent);
}
.ft-date {
    --ft-bg: var(--ft-date-bg);
    --ft-fg: var(--ft-date-fg);
    --ft-border: var(--ft-date-border);
    --ft-accent: var(--ft-date-accent);
}
.ft-choice {
    --ft-bg: var(--ft-choice-bg);
    --ft-fg: var(--ft-choice-fg);
    --ft-border: var(--ft-choice-border);
    --ft-accent: var(--ft-choice-accent);
}
.ft-file {
    --ft-bg: var(--ft-file-bg);
    --ft-fg: var(--ft-file-fg);
    --ft-border: var(--ft-file-border);
    --ft-accent: var(--ft-file-accent);
}
.ft-structure {
    --ft-bg: var(--ft-structure-bg);
    --ft-fg: var(--ft-structure-fg);
    --ft-border: var(--ft-structure-border);
    --ft-accent: var(--ft-structure-accent);
}
.ft-location {
    --ft-bg: var(--ft-location-bg);
    --ft-fg: var(--ft-location-fg);
    --ft-border: var(--ft-location-border);
    --ft-accent: var(--ft-location-accent);
}
.ft-constant {
    --ft-bg: var(--ft-constant-bg);
    --ft-fg: var(--ft-constant-fg);
    --ft-border: var(--ft-constant-border);
    --ft-accent: var(--ft-constant-accent);
}
.se-win {
    left: 44px;
    top: 76px;
    width: 780px;
    height: 616px;
}
.se-head {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 54px;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
}
.se-name {
    min-width: 0;
    font-size: 17.5px;
    font-weight: 600;
    color: var(--fg-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.se-tabs {
    display: flex;
    flex: none;
    gap: 14px;
    margin-left: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--fg-muted);
}
.se-tabs span {
    padding: 15px 0 13px;
    border-bottom: 2px solid transparent;
}
.se-tabs span.on {
    color: var(--primary-ink);
    border-bottom-color: var(--primary-ink);
}
/* A count after a tab label, such as the fields that carry rules. */
.se-tabs small {
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: var(--r-chip);
    background: var(--primary-soft);
    color: var(--primary-ink);
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 500;
}
/* The schema name as a boxed input; .ph shows its placeholder. */
.se-name.box {
    padding: 5px 11px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    font-size: 15.5px;
}
.se-name.box.ph {
    font-weight: 400;
    color: var(--fg-muted);
}
.se-crumb {
    flex: none;
    font-size: 15px;
    color: var(--fg-muted);
}
/* The save state before Cancel: a dot and a label. It takes the free space, so Cancel and Save follow it at the right edge. */
.se-status {
    flex: none;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    color: var(--fg-muted);
}
.se-status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fg-muted);
}
.se-status.unsaved::before {
    background: var(--ft-number-accent);
}
.se-status.saved::before {
    background: var(--ok-solid);
}
.se-btn {
    flex: none;
    height: 36px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    display: inline-flex;
    align-items: center;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--fg-strong);
    white-space: nowrap;
}
.se-btn.pri {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--on-primary);
}
/* The tinted button next to the secondary ones, such as Add field. */
.se-btn.soft {
    background: var(--primary-soft);
    border-color: color-mix(in srgb, var(--primary) 30%, transparent);
    color: var(--primary-ink);
}
/* The borderless button, such as Cancel in the header. */
.se-btn.ghost {
    background: transparent;
    border-color: transparent;
    font-weight: 500;
    color: var(--fg);
}
/* A button that flags problems: a red outline. */
.se-btn.bad {
    border-color: var(--bad-line);
    color: var(--bad-fg);
}
/* A key hint inside a button, such as N or Ctrl S. */
.se-kbd {
    margin-left: 8px;
    padding: 0 5px;
    border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
    border-radius: var(--r-chip);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 400;
}
.se-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
}
.se-search {
    flex: 1;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-size: 14.5px;
    color: var(--fg-muted);
}
.se-group {
    margin: 0 18px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.se-gname {
    height: 40px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    font-size: 16px;
    font-weight: 600;
    color: var(--fg-strong);
}
.se-gname:last-child {
    border-bottom: 0;
}
.se-gname small {
    font-family: var(--mono);
    font-size: 13.5px;
    font-weight: 400;
    color: var(--fg-muted);
}
/* The group description after the count. It takes the free space, so a following + Field sits at the right edge. */
.se-gdesc {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 400;
    color: var(--fg-muted);
}
.se-row {
    display: grid;
    grid-template-columns: 1.5fr 1.25fr 0.95fr 0.6fr 1.4fr;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    border-top: 1px solid var(--line);
    font-size: 15.5px;
    color: var(--fg-strong);
    white-space: nowrap;
}
.se-row > * {
    overflow: hidden;
    text-overflow: ellipsis;
}
.se-row.th {
    height: 30px;
    border-top: 0;
    background: var(--sunken);
    font-size: 13px;
    font-weight: 600;
    color: var(--fg-muted);
}
/* A row with a drag handle and a selection box in front and a row menu behind; the header row and every row carry the three extra cells. */
.se-row.ext {
    grid-template-columns: 14px 16px 1.5fr 1.25fr 0.95fr 0.6fr 1.4fr 18px;
}
.se-grip,
.se-more {
    color: var(--fg-muted);
    text-align: center;
}
/* The sunken row that ends a group: a field name input, the type to add and the key hints. */
.se-quick {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 14px;
    border-top: 1px solid var(--line);
    background: var(--sunken);
    font-size: 14px;
    color: var(--fg-muted);
}
.se-quick .se-in {
    min-height: 30px;
    font-size: 14px;
}
.se-quick .se-in:first-child {
    flex: 1;
}
.se-row.sel {
    background: var(--primary-soft);
    box-shadow: inset 3px 0 0 var(--primary-ink);
}
.se-tag {
    font-family: var(--mono);
    font-size: 14px;
    color: var(--fg);
}
/* The type chip: mono and outlined. It is neutral until a type family class (ft-text, ft-number, ...) sits beside it. */
.se-type {
    justify-self: start;
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 500;
    padding: 1px 7px;
    border: 1px solid var(--ft-border, var(--system-border));
    border-radius: var(--r-chip);
    background: var(--ft-bg, var(--system-bg));
    color: var(--ft-fg, var(--system-fg));
}
/* The 6 px dot that names a type family in a list or beside a selected type. */
.se-dot {
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ft-accent, var(--fg-muted));
}
.se-req {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid var(--line-strong);
    display: grid;
    place-items: center;
    color: transparent;
}
.se-req.on {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.se-req svg {
    width: 11px;
    height: 11px;
    stroke-width: 3.5;
}
.se-det {
    display: flex;
    gap: 6px;
    font-size: 13.5px;
    color: var(--fg-muted);
}
/* A details chip: a small tag on the hover grey. A kind class beside it says what it is (rule, vis, priv, int, bad, const, hot). */
.se-det span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 1px 8px;
    border: 1px solid transparent;
    border-radius: var(--r-chip);
    background: var(--hover);
    color: var(--fg);
    white-space: nowrap;
}
.se-det span.hot {
    border-color: var(--primary-border);
    background: var(--primary-soft);
    color: var(--primary-ink);
}
.se-det span.rule {
    background: var(--validation-bg);
    color: var(--validation-fg);
}
.se-det span.vis {
    background: var(--sky-bg);
    color: var(--sky-fg);
}
.se-det span.priv {
    background: var(--purple-bg);
    color: var(--purple-fg);
}
.se-det span.int {
    border: 1px dashed var(--line-strong);
    background: transparent;
    color: var(--fg-secondary);
}
.se-det span.bad {
    border: 1px solid var(--bad-line);
    background: transparent;
    color: var(--bad-fg);
}
.se-det span.const {
    background: var(--ft-constant-bg);
    color: var(--ft-constant-fg);
}
.se-det span.priv::before,
.se-det span.int::before {
    content: '';
    flex: none;
    width: 12px;
    height: 12px;
    background: currentColor;
    -webkit-mask: var(--se-ic-lock) center / contain no-repeat;
    mask: var(--se-ic-lock) center / contain no-repeat;
}
.se-det span.int::before {
    -webkit-mask-image: var(--se-ic-eye-off);
    mask-image: var(--se-ic-eye-off);
}
/* The rule chips of the Validation tab: brand tinted and fully round. */
.se-det.round span {
    padding: 2px 11px;
    border: 1px solid color-mix(in srgb, var(--primary-ink) 30%, transparent);
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-ink);
    font-weight: 500;
}
.se-insp {
    left: 840px;
    top: 76px;
    width: 396px;
    height: 616px;
    padding: 0;
    display: block;
}
.se-ihead {
    min-height: 46px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    font-weight: 600;
    color: var(--fg-strong);
}
/* The field name over a mono caption such as "Group name · field 1 of 3", with the icon buttons at the right. */
.se-ititle {
    flex: 1;
    min-width: 0;
    padding: 6px 0;
}
.se-ititle small {
    display: block;
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 400;
    color: var(--fg-muted);
}
.se-ibtns {
    flex: none;
    display: flex;
    gap: 4px;
    color: var(--fg-muted);
}
.se-ibtns i {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    font-style: normal;
}
.se-sec {
    padding: 13px 18px 12px;
    border-bottom: 1px solid var(--line);
}
/* A section title: an uppercase eyebrow. An .se-tile may sit before it; an .se-info, a small badge and an .se-open link after it. */
.se-sec > b {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fg-muted);
}
.se-sec > b small {
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--primary-ink);
}
/* The 18 px icon tile before a section title: neutral, or brand, sky, validation, or a type family class. */
.se-tile {
    flex: none;
    width: 18px;
    height: 18px;
    border-radius: var(--r-chip);
    display: grid;
    place-items: center;
    background: var(--hover);
    color: var(--fg-secondary);
}
.se-tile .ic {
    width: 12px;
    height: 12px;
    stroke-width: 2.2;
}
.se-tile.brand {
    background: var(--primary-soft);
    color: var(--primary-ink);
}
.se-tile.sky {
    background: var(--sky-bg);
    color: var(--sky-fg);
}
.se-tile.validation {
    background: var(--validation-bg);
    color: var(--validation-fg);
}
.se-tile[class*='ft-'] {
    background: var(--ft-bg);
    color: var(--ft-fg);
}
/* The round info mark that stands for a hint; the hint text shows on hover in the product, so it is not drawn. */
.se-info {
    flex: none;
    width: 14px;
    height: 14px;
    background: var(--fg-muted);
    -webkit-mask: var(--se-ic-info) center / contain no-repeat;
    mask: var(--se-ic-info) center / contain no-repeat;
}
/* A link at the right end of a section title. */
.se-open {
    margin-left: auto;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--primary-ink);
}
.se-f {
    margin-bottom: 9px;
}
.se-f label,
.se-lab {
    display: block;
    margin-bottom: 4px;
    font-size: 13.5px;
    color: var(--fg-muted);
}
.se-in {
    min-height: 36px;
    padding: 0 11px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15.5px;
    color: var(--fg-strong);
    white-space: nowrap;
}
.se-in.mono {
    font-family: var(--mono);
    font-size: 14.5px;
}
.se-in.ph {
    color: var(--fg-muted);
}
/* A dropdown: the chevron sits at the right end. */
.se-in.dd::after {
    content: '';
    flex: none;
    margin-left: auto;
    width: 12px;
    height: 12px;
    background: var(--fg-muted);
    -webkit-mask: var(--se-ic-chev) center / contain no-repeat;
    mask: var(--se-ic-chev) center / contain no-repeat;
}
/* A control that cannot be changed: sunken and muted. */
.se-in.off {
    border-color: var(--line);
    background: var(--sunken);
    color: var(--fg-muted);
}
/* A read-only box that says why, with a padlock in front. */
.se-in.locked {
    border-color: var(--line);
    background: var(--sunken);
    color: var(--fg-muted);
}
.se-in.locked::before {
    content: '';
    flex: none;
    width: 13px;
    height: 13px;
    background: currentColor;
    -webkit-mask: var(--se-ic-lock) center / contain no-repeat;
    mask: var(--se-ic-lock) center / contain no-repeat;
}
.se-in.focus {
    border-color: var(--primary-ink);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-ink) 24%, transparent);
}
.se-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.se-tog {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 30px;
    font-size: 14.5px;
    color: var(--fg-strong);
}
.se-tog i:not(.se-info) {
    position: relative;
    flex: none;
    width: 32px;
    height: 18px;
    border-radius: 999px;
    background: var(--line-strong);
}
.se-tog i:not(.se-info)::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
}
.se-tog.on i:not(.se-info) {
    background: var(--primary);
}
.se-tog.on i:not(.se-info)::after {
    left: 16px;
}
.se-hint {
    font-size: 14px;
    line-height: 1.35;
    color: var(--fg-muted);
}
/* The dashed add button of an inspector section, such as + Add rule. */
.se-add {
    display: inline-flex;
    align-items: center;
    height: 28px;
    margin-top: 2px;
    padding: 0 10px;
    border: 1px dashed var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--fg-muted);
}
/* The text action, such as + Field in a group header. */
.se-add.link {
    height: auto;
    margin-top: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 600;
    color: var(--primary-ink);
}
/* A caption beside a mocked screen: the Academy's own words, never screen text. */
.se-note {
    position: absolute;
    font-size: 16px;
    line-height: 1.35;
    color: var(--fg);
    padding-left: 12px;
    border-left: 3px solid var(--primary-border);
}
.se-note b {
    color: var(--fg-strong);
}
/* A check row: the label at the left, an optional .se-info after it, the box at the right edge. */
.se-chk {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 30px;
    font-size: 15.5px;
    color: var(--fg-strong);
}
.se-chk .se-req {
    order: 1;
    margin-left: auto;
}
.se-chk.off {
    color: var(--fg-muted);
}
.se-pill {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--fg);
    white-space: nowrap;
}
.se-pill.on {
    border-color: var(--primary-ink);
    background: var(--primary-soft);
    color: var(--primary-ink);
}
.se-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* The workflow editor, as the Blocks track draws it: a canvas of block cards, the inspector beside it, and a modal over both. */
.we-win {
    left: 44px;
    top: 76px;
    width: 780px;
    height: 616px;
}
.we-head {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 54px;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}
.we-name {
    font-size: 17.5px;
    font-weight: 600;
    color: var(--fg-strong);
    white-space: nowrap;
}
.we-ver {
    font-family: var(--mono);
    font-size: 13px;
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--system-bg);
    color: var(--system-fg);
}
.we-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--fg-muted);
}
.we-status::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--math-fg);
}
.we-mode {
    margin-left: 10px;
    display: inline-flex;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    color: var(--fg-muted);
}
.we-mode span {
    height: 34px;
    padding: 0 12px;
    display: flex;
    align-items: center;
}
.we-mode span.on {
    background: var(--primary-soft);
    color: var(--primary-ink);
}
.we-canvas {
    position: absolute;
    inset: 98px 0 0 0;
    background-color: var(--bg);
    background-image: radial-gradient(circle at 1.5px 1.5px, var(--canvas-dot) 1.5px, transparent 0);
    background-size: 24px 24px;
}
/* A canvas card as the editor draws it: a small type chip, the type in its colour and the tag on the
   first row, the block name under it, summary lines, then the lifecycle strip. */
.we-blk {
    position: absolute;
    width: 232px;
    padding: 9px 12px 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    align-content: start;
    column-gap: 7px;
    row-gap: 4px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
}
.we-blk > div:not(.chip) {
    display: contents;
}
.we-blk .chip {
    grid-row: 1;
    grid-column: 1;
    width: 20px;
    height: 20px;
    border-radius: 5px;
}
.we-blk .chip svg {
    width: 12px;
    height: 12px;
}
.we-blk small.ty {
    grid-row: 1;
    grid-column: 2;
    margin: 0;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.we-blk b {
    grid-column: 1 / -1;
    display: block;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 600;
    color: var(--fg-strong);
}
.we-blk small {
    grid-column: 1 / -1;
    display: block;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 400;
    color: var(--fg-muted);
}
.we-blk.t-form small.ty {
    color: var(--form-fg);
}
.we-blk.t-math small.ty {
    color: var(--math-fg);
}
.we-blk.t-action small.ty {
    color: var(--action-fg);
}
.we-blk.t-system small.ty {
    color: var(--system-fg);
}
.t-system .chip,
.chip.t-system {
    background: var(--system-bg);
    color: var(--system-fg);
}
.we-blk u {
    text-decoration: none;
    font-weight: 500;
    color: var(--primary-ink);
}
/* The lifecycle strip under every card. */
.we-blk::after {
    content: 'LIFECYCLE';
    grid-column: 1 / -1;
    margin: 5px -12px 0;
    padding: 0 12px;
    height: 20px;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--line);
    border-radius: 0 0 11px 11px;
    background: var(--sunken);
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--fg-muted);
}
.we-blk.sel {
    border-color: var(--primary-ink);
    box-shadow:
        0 0 0 1px var(--primary-ink),
        0 0 0 5px var(--primary-soft),
        0 6px 16px -4px rgb(0 0 0 / 0.18);
}
/* A block of a sub process carries the tint of that sub process: the first one violet, the second blue. */
.we-blk.sub1,
.we-blk.sub2 {
    border-width: 2px;
}
.we-blk.sub1 {
    background: var(--subprocess-1);
}
.we-blk.sub2 {
    background: var(--subprocess-2);
}
.we-blk.sub1:not(.sel) {
    border-color: var(--subprocess-1);
    box-shadow: 0 4px 6px -1px var(--subprocess-1);
}
.we-blk.sub2:not(.sel) {
    border-color: var(--subprocess-2);
    box-shadow: 0 4px 6px -1px var(--subprocess-2);
}
/* START, AUTO and SUB PROCESS are plain text on the first row; only SUB PROCESS is outlined. */
.we-tag {
    grid-row: 1;
    grid-column: 3;
    font-size: 9.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.06em;
    color: var(--fg-muted);
}
.we-tag.out {
    padding: 3px 5px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: var(--surface);
    color: var(--fg);
}
.we-wires {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.we-wires path {
    fill: none;
    stroke: var(--canvas-edge);
    stroke-width: 2;
}
.we-insp {
    left: 840px;
    top: 76px;
    width: 396px;
    height: 616px;
    padding: 0;
    display: block;
}
.we-ihead {
    height: 50px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16.5px;
    font-weight: 600;
    color: var(--fg-strong);
}
.we-ihead small {
    font-size: 13px;
    font-weight: 500;
    color: var(--fg-muted);
}
.we-tabs {
    display: flex;
    gap: 18px;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--fg-muted);
}
.we-tabs span {
    padding: 4px 0 10px;
    border-bottom: 2px solid transparent;
}
.we-tabs span.on {
    color: var(--primary-ink);
    border-bottom-color: var(--primary-ink);
}
.we-sw {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    font-size: 15px;
    color: var(--fg-strong);
}
.we-sw i {
    position: relative;
    flex: none;
    width: 34px;
    height: 20px;
    border-radius: 999px;
    background: var(--line-strong);
}
.we-sw i::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
}
.we-sw.on i {
    background: var(--primary);
}
.we-sw.on i::after {
    left: 16px;
}
.we-modal {
    position: absolute;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-panel);
    overflow: hidden;
}
.we-mtitle {
    height: 50px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    font-weight: 600;
    color: var(--fg-strong);
}
.we-mtabs {
    display: flex;
    gap: 18px;
    padding: 10px 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--fg-muted);
}
.we-mtabs span {
    padding-bottom: 9px;
    border-bottom: 2px solid transparent;
}
.we-mtabs span.on {
    color: var(--primary-ink);
    border-bottom-color: var(--primary-ink);
}
.we-trow {
    display: grid;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    color: var(--fg-strong);
}
.we-trow.th {
    min-height: 34px;
    background: var(--sunken);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--fg-muted);
}
.we-trow > * {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* A project page as the SDK draws it, for the result of an authoring step. */
.we-page {
    left: 840px;
    top: 76px;
    width: 396px;
    height: 616px;
    padding: 0;
    display: block;
    overflow: hidden;
}
.we-phead {
    height: 48px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}
.we-pbody {
    padding: 16px 18px;
}
.we-card {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    overflow: hidden;
}
.we-card > b {
    display: block;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    background: var(--sunken);
    font-size: 15px;
    font-weight: 600;
    color: var(--fg-strong);
}
.we-crow {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 14px;
    border-top: 1px solid var(--line);
    font-size: 14.5px;
    color: var(--fg);
}
.we-crow:first-of-type {
    border-top: 0;
}
.we-crow em {
    margin-left: auto;
    font-style: normal;
    font-weight: 600;
    color: var(--fg-strong);
}
.we-abtn {
    height: 34px;
    padding: 0 13px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    background: var(--primary);
    color: var(--on-primary);
    white-space: nowrap;
}
.we-abtn.alt {
    background: var(--surface);
    color: var(--fg-strong);
    border: 1px solid var(--line-strong);
}
