/* Stage pieces for the methodology review screens: statuses and chips, the editor's review controls, the review dialogs, the Reviews list and the review page, the calculation and schema dialogs, comments, the docked review panel, the activity timeline and the Playground parts a review needs (rv-). Built on pieces.css (se-, we-), pieces-manager.css (mg-) and tokens.css. */
/* The one colour the manager has for an info notice and tokens.css lacks. Light first, then dark, switched as tokens.css switches. The verifier role chip uses --purple-* of tokens.css. */
:root {
    --rv-info-bg: rgb(239 246 255);
    --rv-info-border: rgb(191 219 254);
    --rv-info-fg: rgb(29 78 216);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme='light']) {
        --rv-info-bg: rgb(25 38 59);
        --rv-info-border: rgb(35 64 111);
        --rv-info-fg: rgb(147 197 253);
    }
}
:root[data-theme='dark'] {
    --rv-info-bg: rgb(25 38 59);
    --rv-info-border: rgb(35 64 111);
    --rv-info-fg: rgb(147 197 253);
}

/* Icons the review screens need beyond mg-i: lucide paths as masks, <i class="mg-i rv-i-NAME"></i>. */
.rv-i-message-square {
    -webkit-mask-image: 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='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
    mask-image: 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='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
}
.rv-i-message-square-plus {
    -webkit-mask-image: 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='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3Cpath d='M12 7v6'/%3E%3Cpath d='M9 10h6'/%3E%3C/svg%3E");
    mask-image: 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='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3Cpath d='M12 7v6'/%3E%3Cpath d='M9 10h6'/%3E%3C/svg%3E");
}
.rv-i-badge-check {
    -webkit-mask-image: 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='M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
    mask-image: 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='M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}
.rv-i-pen-line {
    -webkit-mask-image: 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='M12 20h9'/%3E%3Cpath d='M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z'/%3E%3C/svg%3E");
    mask-image: 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='M12 20h9'/%3E%3Cpath d='M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z'/%3E%3C/svg%3E");
}
.rv-i-flag {
    -webkit-mask-image: 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='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cline x1='4' x2='4' y1='22' y2='15'/%3E%3C/svg%3E");
    mask-image: 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='M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z'/%3E%3Cline x1='4' x2='4' y1='22' y2='15'/%3E%3C/svg%3E");
}
.rv-i-play {
    -webkit-mask-image: 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%3Cpolygon points='6 3 20 12 6 21 6 3'/%3E%3C/svg%3E");
    mask-image: 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%3Cpolygon points='6 3 20 12 6 21 6 3'/%3E%3C/svg%3E");
}
.rv-i-undo-2 {
    -webkit-mask-image: 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 14 4 9l5-5'/%3E%3Cpath d='M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11'/%3E%3C/svg%3E");
    mask-image: 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 14 4 9l5-5'/%3E%3Cpath d='M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11'/%3E%3C/svg%3E");
}
.rv-i-corner-down-right {
    -webkit-mask-image: 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%3Cpolyline points='15 10 20 15 15 20'/%3E%3Cpath d='M4 4v7a4 4 0 0 0 4 4h12'/%3E%3C/svg%3E");
    mask-image: 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%3Cpolyline points='15 10 20 15 15 20'/%3E%3Cpath d='M4 4v7a4 4 0 0 0 4 4h12'/%3E%3C/svg%3E");
}
.rv-i-layers {
    -webkit-mask-image: 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='m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z'/%3E%3Cpath d='m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65'/%3E%3Cpath d='m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65'/%3E%3C/svg%3E");
    mask-image: 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='m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z'/%3E%3Cpath d='m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65'/%3E%3Cpath d='m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65'/%3E%3C/svg%3E");
}
.rv-i-list-checks {
    -webkit-mask-image: 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='m3 17 2 2 4-4'/%3E%3Cpath d='m3 7 2 2 4-4'/%3E%3Cpath d='M13 6h8'/%3E%3Cpath d='M13 12h8'/%3E%3Cpath d='M13 18h8'/%3E%3C/svg%3E");
    mask-image: 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='m3 17 2 2 4-4'/%3E%3Cpath d='m3 7 2 2 4-4'/%3E%3Cpath d='M13 6h8'/%3E%3Cpath d='M13 12h8'/%3E%3Cpath d='M13 18h8'/%3E%3C/svg%3E");
}
.rv-i-history {
    -webkit-mask-image: 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='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3Cpath d='M12 7v5l4 2'/%3E%3C/svg%3E");
    mask-image: 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='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3Cpath d='M12 7v5l4 2'/%3E%3C/svg%3E");
}
.rv-i-sigma {
    -webkit-mask-image: 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='M18 7V5a1 1 0 0 0-1-1H6.5a.5.5 0 0 0-.4.8l4.5 6a2 2 0 0 1 0 2.4l-4.5 6a.5.5 0 0 0 .4.8H17a1 1 0 0 0 1-1v-2'/%3E%3C/svg%3E");
    mask-image: 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='M18 7V5a1 1 0 0 0-1-1H6.5a.5.5 0 0 0-.4.8l4.5 6a2 2 0 0 1 0 2.4l-4.5 6a.5.5 0 0 0 .4.8H17a1 1 0 0 0 1-1v-2'/%3E%3C/svg%3E");
}
.rv-i-function-square {
    -webkit-mask-image: 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='18' x='3' y='3' rx='2'/%3E%3Cpath d='M9 17c2 0 2.8-1 2.8-2.8V10c0-2 1-3.3 3.2-3'/%3E%3Cpath d='M9 11.2h5.7'/%3E%3C/svg%3E");
    mask-image: 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='18' x='3' y='3' rx='2'/%3E%3Cpath d='M9 17c2 0 2.8-1 2.8-2.8V10c0-2 1-3.3 3.2-3'/%3E%3Cpath d='M9 11.2h5.7'/%3E%3C/svg%3E");
}
.rv-i-log-in {
    -webkit-mask-image: 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='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpolyline points='10 17 15 12 10 7'/%3E%3Cline x1='15' x2='3' y1='12' y2='12'/%3E%3C/svg%3E");
    mask-image: 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='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpolyline points='10 17 15 12 10 7'/%3E%3Cline x1='15' x2='3' y1='12' y2='12'/%3E%3C/svg%3E");
}
.rv-i-log-out {
    -webkit-mask-image: 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 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' x2='9' y1='12' y2='12'/%3E%3C/svg%3E");
    mask-image: 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 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' x2='9' y1='12' y2='12'/%3E%3C/svg%3E");
}
.rv-i-logout {
    -webkit-mask-image: 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='M15 4h3a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-3M10 17l5-5-5-5M15 12H4'/%3E%3C/svg%3E");
    mask-image: 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='M15 4h3a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-3M10 17l5-5-5-5M15 12H4'/%3E%3C/svg%3E");
}
.rv-i-user-plus {
    -webkit-mask-image: 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='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cline x1='19' x2='19' y1='8' y2='14'/%3E%3Cline x1='22' x2='16' y1='11' y2='11'/%3E%3C/svg%3E");
    mask-image: 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='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cline x1='19' x2='19' y1='8' y2='14'/%3E%3Cline x1='22' x2='16' y1='11' y2='11'/%3E%3C/svg%3E");
}
.rv-i-monitor-play {
    -webkit-mask-image: 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='M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M8 21h8'/%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3C/svg%3E");
    mask-image: 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='M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M8 21h8'/%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3C/svg%3E");
}
.rv-i-workflow {
    -webkit-mask-image: 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='8' height='8' x='3' y='3' rx='2'/%3E%3Cpath d='M7 11v4a2 2 0 0 0 2 2h4'/%3E%3Crect width='8' height='8' x='13' y='13' rx='2'/%3E%3C/svg%3E");
    mask-image: 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='8' height='8' x='3' y='3' rx='2'/%3E%3Cpath d='M7 11v4a2 2 0 0 0 2 2h4'/%3E%3Crect width='8' height='8' x='13' y='13' rx='2'/%3E%3C/svg%3E");
}
.rv-i-git-pull-request {
    -webkit-mask-image: 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='18' cy='18' r='3'/%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Cpath d='M13 6h3a2 2 0 0 1 2 2v7'/%3E%3Cline x1='6' x2='6' y1='9' y2='21'/%3E%3C/svg%3E");
    mask-image: 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='18' cy='18' r='3'/%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Cpath d='M13 6h3a2 2 0 0 1 2 2v7'/%3E%3Cline x1='6' x2='6' y1='9' y2='21'/%3E%3C/svg%3E");
}
.rv-i-paperclip {
    -webkit-mask-image: 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='m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48'/%3E%3C/svg%3E");
    mask-image: 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='m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48'/%3E%3C/svg%3E");
}
.rv-i-file-spreadsheet {
    -webkit-mask-image: 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='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M8 13h2'/%3E%3Cpath d='M14 13h2'/%3E%3Cpath d='M8 17h2'/%3E%3Cpath d='M14 17h2'/%3E%3C/svg%3E");
    mask-image: 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='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M8 13h2'/%3E%3Cpath d='M14 13h2'/%3E%3Cpath d='M8 17h2'/%3E%3Cpath d='M14 17h2'/%3E%3C/svg%3E");
}
.rv-i-file-text {
    -webkit-mask-image: 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='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 9H8'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E");
    mask-image: 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='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 9H8'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E");
}
.rv-i-mouse-pointer-click {
    -webkit-mask-image: 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='M14 4.1 12 6'/%3E%3Cpath d='m5.1 8-2.9-.8'/%3E%3Cpath d='m6 12-1.9 2'/%3E%3Cpath d='M7.2 2.2 8 5.1'/%3E%3Cpath d='M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z'/%3E%3C/svg%3E");
    mask-image: 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='M14 4.1 12 6'/%3E%3Cpath d='m5.1 8-2.9-.8'/%3E%3Cpath d='m6 12-1.9 2'/%3E%3Cpath d='M7.2 2.2 8 5.1'/%3E%3Cpath d='M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z'/%3E%3C/svg%3E");
}
.rv-i-terminal-square {
    -webkit-mask-image: 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='m7 11 2-2-2-2'/%3E%3Cpath d='M11 13h4'/%3E%3Crect width='18' height='18' x='3' y='3' rx='2' ry='2'/%3E%3C/svg%3E");
    mask-image: 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='m7 11 2-2-2-2'/%3E%3Cpath d='M11 13h4'/%3E%3Crect width='18' height='18' x='3' y='3' rx='2' ry='2'/%3E%3C/svg%3E");
}
.rv-i-clock {
    -webkit-mask-image: 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%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
    mask-image: 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%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}
.rv-i-check-check {
    -webkit-mask-image: 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='M18 6 7 17l-5-5'/%3E%3Cpath d='m22 10-7.5 7.5L13 16'/%3E%3C/svg%3E");
    mask-image: 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='M18 6 7 17l-5-5'/%3E%3Cpath d='m22 10-7.5 7.5L13 16'/%3E%3C/svg%3E");
}
.rv-i-archive {
    -webkit-mask-image: 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='20' height='5' x='2' y='3' rx='1'/%3E%3Cpath d='M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8'/%3E%3Cpath d='M10 12h4'/%3E%3C/svg%3E");
    mask-image: 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='20' height='5' x='2' y='3' rx='1'/%3E%3Cpath d='M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8'/%3E%3Cpath d='M10 12h4'/%3E%3C/svg%3E");
}
.rv-i-save {
    -webkit-mask-image: 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='M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z'/%3E%3Cpath d='M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7'/%3E%3Cpath d='M7 3v4a1 1 0 0 0 1 1h7'/%3E%3C/svg%3E");
    mask-image: 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='M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z'/%3E%3Cpath d='M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7'/%3E%3Cpath d='M7 3v4a1 1 0 0 0 1 1h7'/%3E%3C/svg%3E");
}
.rv-i-user-check {
    -webkit-mask-image: 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='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpolyline points='16 11 18 13 22 9'/%3E%3C/svg%3E");
    mask-image: 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='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpolyline points='16 11 18 13 22 9'/%3E%3C/svg%3E");
}
.rv-i-target {
    -webkit-mask-image: 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%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
    mask-image: 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%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
}
.rv-i-list-ordered {
    -webkit-mask-image: 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%3Cline x1='10' x2='21' y1='6' y2='6'/%3E%3Cline x1='10' x2='21' y1='12' y2='12'/%3E%3Cline x1='10' x2='21' y1='18' y2='18'/%3E%3Cpath d='M4 6h1v4'/%3E%3Cpath d='M4 10h2'/%3E%3Cpath d='M6 18H4c0-1 2-2 2-3s-1-1.5-2-1'/%3E%3C/svg%3E");
    mask-image: 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%3Cline x1='10' x2='21' y1='6' y2='6'/%3E%3Cline x1='10' x2='21' y1='12' y2='12'/%3E%3Cline x1='10' x2='21' y1='18' y2='18'/%3E%3Cpath d='M4 6h1v4'/%3E%3Cpath d='M4 10h2'/%3E%3Cpath d='M6 18H4c0-1 2-2 2-3s-1-1.5-2-1'/%3E%3C/svg%3E");
}
.rv-i-arrow-up-right {
    -webkit-mask-image: 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='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E");
    mask-image: 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='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E");
}
.rv-i-image {
    -webkit-mask-image: 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='18' x='3' y='3' rx='2' ry='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21'/%3E%3C/svg%3E");
    mask-image: 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='18' x='3' y='3' rx='2' ry='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21'/%3E%3C/svg%3E");
}
.rv-i-pencil-line {
    -webkit-mask-image: 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='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E");
    mask-image: 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='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E");
}
.rv-i-refresh {
    -webkit-mask-image: 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='M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3Cpath d='M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16'/%3E%3Cpath d='M8 16H3v5'/%3E%3C/svg%3E");
    mask-image: 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='M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3Cpath d='M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16'/%3E%3Cpath d='M8 16H3v5'/%3E%3C/svg%3E");
}

/* ========== A. Small parts: statuses, chips, people ========== */

/* The 8 px status dot of every rv piece: .rv-dot with a tone class rv-dot-brand, -warn, -ok, -bad or -hollow (grey by default). mg-dot is not used: its brand tone meets the site stylesheet's global .brand and stretches. */
.rv-dot {
    display: inline-block;
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mg-subtle);
}
.rv-dot-brand {
    background: var(--primary-ink);
}
.rv-dot-warn {
    background: var(--mg-warn-dot);
}
.rv-dot-ok {
    background: var(--mg-ok-dot);
}
.rv-dot-bad {
    background: var(--bad-line);
}
.rv-dot-hollow {
    background: transparent;
    border: 1px solid var(--line-strong);
}
/* A review or test state: a dot (mg-dot) and a label, one line. .mut is the muted look of a state outside the review flow. */
.rv-st {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: none;
    font-size: var(--mg-fs-sm);
    color: var(--fg);
    white-space: nowrap;
}
.rv-st.mut {
    color: var(--fg-muted);
}
.rv-st.cap {
    font-size: var(--mg-fs-cap);
}
/* A chip: tone .neutral (the default), .soft (brand), .amber, .red, .green. Icons inside are 13 px. */
.rv-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: none;
    height: 22px;
    padding: 0 9px;
    border: 1px solid transparent;
    border-radius: var(--r-chip);
    background: var(--hover);
    color: var(--fg);
    font-size: var(--mg-fs-cap);
    white-space: nowrap;
}
.rv-chip .mg-i {
    width: 13px;
    height: 13px;
}
.rv-chip.soft {
    border-color: var(--primary-border);
    background: var(--primary-soft);
    color: var(--primary-ink);
}
.rv-chip.amber {
    background: var(--mg-warn-bg);
    color: var(--mg-warn-fg);
}
.rv-chip.red {
    background: var(--mg-danger-bg);
    color: var(--bad-fg);
}
.rv-chip.green {
    background: var(--ok-bg);
    color: var(--ok-fg);
}
.rv-chip.out {
    border-color: var(--line-strong);
    background: var(--surface);
    color: var(--fg-secondary);
}
/* A mono chip with a border: the version "v1.0.0", "Round 1". */
.rv-mono {
    display: inline-flex;
    align-items: center;
    flex: none;
    height: 22px;
    padding: 0 8px;
    border: 1px solid var(--line);
    border-radius: var(--r-chip);
    background: var(--hover);
    color: var(--fg);
    font-family: var(--mono);
    font-size: var(--mg-fs-meta);
    white-space: nowrap;
}
/* Plain mono text in the muted colour: a content hash, a time, a key. */
.rv-m {
    font-family: var(--mono);
    font-size: var(--mg-fs-mono);
    color: var(--fg-muted);
    white-space: nowrap;
}
/* A count chip: mono on a tint. Tone .blue, .amber, .red; neutral by default. */
.rv-count {
    display: inline-flex;
    align-items: center;
    flex: none;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--r-chip);
    background: var(--hover);
    color: var(--fg-secondary);
    font-family: var(--mono);
    font-size: var(--mg-fs-meta);
    white-space: nowrap;
}
.rv-count.blue {
    background: var(--primary-soft);
    color: var(--primary-ink);
}
.rv-count.amber {
    background: var(--mg-warn-bg);
    color: var(--mg-warn-fg);
}
.rv-count.red {
    background: var(--mg-danger-bg);
    color: var(--bad-fg);
}
/* A manager role chip: a pill with the role's icon. Tone .admin, .editor, .verifier; .sm is the small one of lists, comments and the user menu. */
.rv-role {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: none;
    height: 25px;
    padding: 0 10px;
    border: 1px solid var(--primary-border);
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-ink);
    font-size: var(--mg-fs-cap);
    font-weight: 500;
    white-space: nowrap;
}
.rv-role .mg-i {
    width: 14px;
    height: 14px;
}
.rv-role.editor {
    border-color: var(--line-strong);
    background: var(--surface);
    color: var(--fg);
}
.rv-role.verifier {
    border-color: var(--purple-border);
    background: var(--purple-bg);
    color: var(--purple-fg);
}
.rv-role.sm {
    height: 21px;
    padding: 0 8px;
    font-size: var(--mg-fs-meta);
}
.rv-role.sm .mg-i {
    width: 11.5px;
    height: 11.5px;
}
/* An initials avatar in the person's role tone: brand (Admin) by default, .editor, .verifier. Sizes .s20, .s24 (the default), .s28, .lg. */
.rv-av {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary-ink);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1;
}
.rv-av.s20 {
    width: 23px;
    height: 23px;
    font-size: 10.5px;
}
.rv-av.s28 {
    width: 32px;
    height: 32px;
    font-size: var(--mg-fs-cap);
}
.rv-av.lg {
    width: 37px;
    height: 37px;
    font-size: var(--mg-fs-cap);
}
.rv-av.editor {
    background: var(--hover);
    color: var(--fg);
}
.rv-av.verifier {
    background: var(--purple-bg);
    color: var(--purple-fg);
}
/* Overlapping avatars: each ringed in the surface colour. */
.rv-stack {
    display: inline-flex;
    align-items: center;
}
.rv-stack > * {
    box-shadow: 0 0 0 2px var(--surface);
}
.rv-stack > * + * {
    margin-left: -6px;
}
/* The key hint dot of an unbound control: a filled red record dot. */
.rv-rec {
    display: inline-block;
    flex: none;
    width: 13px;
    height: 13px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--mg-danger-solid);
}
/* A small separator of a people line: the "·" between name and detail. */
.rv-dot-sep {
    color: var(--mg-subtle);
}
/* The ⓘ-hint bubble text is never drawn; the greyed look of a control that is switched off. */
.rv-off {
    opacity: 0.5;
}

/* ========== B. The workflow editor header in its review states, the canvas badge ========== */

/* The review chip of the editor header: message icon, state dot, label, count chips. .on is pressed (the panel is open). */
.rv-hchip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: none;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface);
    color: var(--fg);
    font-size: var(--mg-fs-cap);
    white-space: nowrap;
}
.rv-hchip.on {
    background: var(--hover);
}
.rv-hchip > .mg-i:first-child {
    width: 15px;
    height: 15px;
    color: var(--fg-muted);
}
/* The open-comment count on a canvas card: a brand pill with the surface halo, a message icon and a mono count. Put it in a .we-blk as .rv-badge.abs to sit on the card's top right corner. */
.rv-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex: none;
    height: 24px;
    padding: 0 8px;
    border: 1px solid var(--primary-border);
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-ink);
    font-family: var(--mono);
    font-size: var(--mg-fs-meta);
    box-shadow: 0 0 0 2px var(--surface);
}
.rv-badge .mg-i {
    width: 12px;
    height: 12px;
}
.rv-badge.abs {
    position: absolute;
    right: -9px;
    top: -9px;
    z-index: 2;
}
/* A greyed primary button with its hint: the header's Publish while the review is open. */
.se-btn.rv-wait {
    opacity: 0.5;
}

/* ========== C. The user menu and the Help guide list ========== */

/* The user menu panel under the avatar: .mg-menu, a little wider, with the person at the top. */
.mg-menu.rv-um {
    width: 268px;
}
.rv-um-head {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 5px 9px 9px;
}
.rv-um-text {
    min-width: 0;
    line-height: 1.25;
}
.rv-um-name {
    font-size: var(--mg-fs-sm);
    font-weight: 500;
    color: var(--fg-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rv-um-mail {
    margin-top: 2px;
    font-size: var(--mg-fs-sm);
    color: var(--fg-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rv-um-text .rv-role {
    margin-top: 7px;
}
/* A row of the Help dialog's guide list: the guide, a primary button at the right. */
.rv-guide {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface);
}
.rv-guide > b {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 9px;
    min-width: 0;
    font-size: var(--mg-fs);
    font-weight: 500;
    color: var(--fg-strong);
}
.rv-guide > b > .mg-i {
    color: var(--primary-ink);
}
.rv-guide .rv-tbtn {
    margin-left: auto;
}
/* The small primary button of the guide list: 32 px, white on the brand colour. */
.rv-tbtn {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 14px;
    border-radius: 6px;
    background: var(--primary);
    color: var(--on-primary);
    font-size: var(--mg-fs-sm);
    font-weight: 600;
}
/* The title line of a small dialog that has no tile: a heading and a sub line. */
.rv-dt {
    font-size: 17px;
    font-weight: 600;
    color: var(--fg-strong);
}
.rv-ds {
    margin-top: 3px;
    font-size: var(--mg-fs);
    color: var(--fg-muted);
}
/* The heading of the role guide: the sentence, the role chip and a hint mark in one row. */
.rv-rg-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}
/* A label over a list or a field: medium weight, normal case. */
.rv-lab {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
    font-size: var(--mg-fs-sm);
    font-weight: 500;
    color: var(--fg);
}

/* ========== D. Workflows list columns ========== */

/* Column templates for .we-trow rows (set the same class on the head row and every body row). */
.we-trow.rv-cols-wf {
    grid-template-columns: minmax(0, 2.3fr) minmax(0, 0.9fr) minmax(0, 0.75fr) minmax(0, 1.55fr) minmax(0, 1.1fr) minmax(0, 1.25fr) minmax(0, 0.65fr) minmax(0, 0.85fr) minmax(0, 0.9fr);
}
.we-trow.rv-cols-rv {
    gap: 6px;
    padding: 0 14px;
    grid-template-columns: minmax(0, 1fr) 128px 52px 134px 82px 142px 72px 124px 74px 58px;
}
.we-trow.rv-cols-blk {
    grid-template-columns: minmax(0, 2.5fr) minmax(0, 1.75fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 0.7fr);
}
.we-trow.rv-cols-tc {
    grid-template-columns: minmax(0, 2fr) minmax(0, 0.6fr) minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1.5fr);
}
/* The name cell of a list row: medium weight, strong colour. */
.rv-nm {
    font-weight: 500;
    color: var(--fg-strong);
}
/* The name of a request in the Reviews list: a button that opens the review. */
.rv-nm-row {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}
.rv-nm-row > b {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    color: var(--fg-strong);
}
.rv-nm-row > .rv-mono {
    flex: none;
}
/* A person in a cell: avatar and name. */
.rv-who-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.rv-who-cell > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========== E. Review dialogs: pick lists, notices, notes ========== */

/* A dialog group: a label row (label, hint mark, spacer, a count at the right) over a list or a field. */
.rv-grp {
    display: flex;
    flex-direction: column;
}
.rv-glab {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}
.rv-glab > b {
    font-size: var(--mg-fs-sm);
    font-weight: 500;
    color: var(--fg);
}
.rv-glab > .rv-m {
    margin-left: auto;
    margin-bottom: 0;
}
/* A pick list: a bordered box, an optional search row, rows with a check box. */
.rv-pick {
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: var(--surface);
    overflow: hidden;
}
.rv-pick-s {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--hover);
    background: var(--sunken);
    font-size: var(--mg-fs-sm);
    color: var(--mg-subtle);
}
.rv-pr {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    border-top: 1px solid var(--hover);
    font-size: var(--mg-fs);
}
.rv-pr:first-child {
    border-top: 0;
}
.rv-pr.sel {
    background: var(--primary-soft);
}
.rv-pr > .col {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}
.rv-pt {
    font-size: var(--mg-fs);
    font-weight: 500;
    color: var(--fg-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rv-ps {
    font-size: var(--mg-fs-meta);
    color: var(--fg-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* A check box or a radio without a label, as a pick row draws it. .on is ticked. */
.rv-cb {
    display: grid;
    place-items: center;
    flex: none;
    width: 17px;
    height: 17px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: var(--surface);
    color: var(--on-primary);
}
.rv-cb.on {
    border-color: var(--primary);
    background: var(--primary);
}
.rv-cb .mg-i {
    width: 12px;
    height: 12px;
}
.rv-cb:not(.on) .mg-i {
    display: none;
}
/* A notice line in a dialog or on a page: an icon, one line, an optional hint mark. Tone .amber, .green, .info. */
.rv-note {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 32px;
    padding: 5px 12px;
    border: 1px solid var(--mg-warn-border);
    border-radius: 8px;
    background: var(--mg-warn-bg);
    color: var(--mg-warn-fg);
    font-size: var(--mg-fs-sm);
    line-height: 1.35;
}
.rv-note > .mg-i {
    width: 15px;
    height: 15px;
}
.rv-note > span {
    flex: 1;
    min-width: 0;
}
.rv-note.green {
    border-color: var(--mg-ok-border);
    background: var(--ok-bg);
    color: var(--ok-fg);
}
.rv-note.info {
    border-color: var(--rv-info-border);
    background: var(--rv-info-bg);
    color: var(--rv-info-fg);
}
/* The muted line saying a decision is recorded in the audit ledger: a small lock and a sentence. */
.rv-led {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: var(--mg-fs-cap);
    line-height: 1.4;
    color: var(--fg-muted);
}
.rv-led .mg-i {
    width: 13px;
    height: 13px;
}
/* The content row of the request dialog: version, "Content", the short hash and a hint mark. */
.rv-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}
/* A text area of a dialog: three rows, the placeholder muted. */
.se-in.mg-area.rv-ta3 {
    min-height: 82px;
}
/* A two-column set of choice cards of a dialog. */
.rv-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

/* ========== F. The Reviews list ========== */

/* A toggle chip of a toolbar or a comments filter: a pill that is quiet until chosen. .on is chosen, .amber asks for a look, .red is a problem. The count is mono. */
.rv-tg {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    height: 28px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--fg-muted);
    font-size: var(--mg-fs-sm);
    white-space: nowrap;
}
.rv-tg b {
    font-family: var(--mono);
    font-size: var(--mg-fs-cap);
    font-weight: 400;
}
.rv-tg .mg-i {
    width: 12px;
    height: 12px;
}
.rv-tg.on {
    border-color: var(--line-strong);
    background: var(--hover);
    color: var(--fg-strong);
}
.rv-tg.amber {
    border-color: var(--mg-warn-border);
    background: var(--mg-warn-bg);
    color: var(--mg-warn-fg);
}
.rv-tg.red {
    border-color: var(--mg-danger-border);
    background: var(--mg-danger-bg);
    color: var(--bad-fg);
}
/* The row of toggle chips beside the filters of a toolbar. */
.rv-tgs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
/* The passed test cases of a request: a 56 px track with its fill, then "1 / 2". */
.rv-tbar {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.rv-tbar > i {
    display: block;
    flex: none;
    width: 55px;
    height: 5px;
    border-radius: 3px;
    background: var(--hover);
    overflow: hidden;
}
.rv-tbar > i > u {
    display: block;
    height: 100%;
    background: var(--mg-ok-dot);
    text-decoration: none;
}
.rv-tbar > span {
    font-family: var(--mono);
    font-size: var(--mg-fs-mono);
    color: var(--fg);
}

/* ========== G. The review page ========== */

/* The header row: back, crumb and name, chips, status, then the buttons at the right. */
.rv-rh {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}
.rv-rh .mg-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* A page tab bar: icons and counts, the open tab underlined. .mg-ptabs and .mg-ptab, with a neutral count (.mg-num). The reading size of the docked panel and the calculation dialog is .rv-tabs. */
/* The overview: a main column and a 22rem aside. */
.rv-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 16px;
}
.rv-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}
/* A row of a card that is a list: a person or a test case, ruled below. */
.rv-prow {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 18px;
    border-bottom: 1px solid var(--hover);
    font-size: var(--mg-fs);
}
.rv-prow:last-child {
    border-bottom: 0;
}
.rv-prow > .col {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}
/* The requester's note: plain text on a sunken fill behind a 2 px rule. */
.rv-quote {
    padding: 7px 12px;
    border-left: 2px solid var(--line-strong);
    border-radius: 5px;
    background: var(--sunken);
    color: var(--fg);
    font-size: var(--mg-fs);
    line-height: 1.5;
}
/* The count tiles of the aside: a label with a dot, a mono value, an optional "/ total" and a track. */
.rv-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.rv-stats.row {
    grid-template-columns: 1fr 1fr 1fr;
}
.rv-stat {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
    padding: 13px 18px;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: var(--surface);
}
.rv-stat-l {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: var(--mg-fs-cap);
    font-weight: 500;
    color: var(--fg-muted);
}
.rv-stat-v {
    display: flex;
    align-items: baseline;
    gap: 7px;
    font-family: var(--mono);
    font-size: 25px;
    font-weight: 600;
    line-height: 30px;
    color: var(--fg-strong);
}
.rv-stat-v > small {
    font-size: var(--mg-fs-mono);
    font-weight: 400;
    color: var(--fg-muted);
}
.rv-stat-t {
    display: flex;
    height: 5px;
    border-radius: 3px;
    background: var(--hover);
    overflow: hidden;
}
.rv-stat-t > u {
    display: block;
    height: 100%;
    background: var(--mg-ok-dot);
    text-decoration: none;
}
/* The decision card body: a caption over the buttons. */
.rv-dec {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rv-dec > .btns {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
/* A card header with a count at its right: the card is .mg-sc with .mg-sch.plain. */
.rv-sch-n {
    margin-left: auto;
    font-family: var(--mono);
    font-size: var(--mg-fs-mono);
    color: var(--fg-muted);
}

/* ---- Blocks tab ---- */

/* The block's type tile: 26 px, tinted in the block type's colour (.form, .math, .action, .system). */
.rv-bt {
    display: grid;
    place-items: center;
    flex: none;
    width: 27px;
    height: 27px;
    margin-top: 1px;
    border-radius: 6px;
    background: var(--system-bg);
    color: var(--system-fg);
}
.rv-bt .mg-i {
    width: 15px;
    height: 15px;
}
.rv-bt.form {
    background: var(--form-bg);
    color: var(--form-fg);
}
.rv-bt.math {
    background: var(--math-bg);
    color: var(--math-fg);
}
.rv-bt.action {
    background: var(--action-bg);
    color: var(--action-fg);
}
/* The block cell: type tile, then name and tag, a caption and the summary lines. */
.rv-blk {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
}
.rv-blk > .col {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.rv-bk-top {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}
.rv-bk-top > b {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    color: var(--fg-strong);
}
.rv-cap {
    font-size: var(--mg-fs-meta);
    line-height: 1.4;
    color: var(--fg-muted);
}
/* A summary line of a block: segments joined by a dot, the schema as a link. */
.rv-line {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    margin-top: 2px;
    font-size: var(--mg-fs-meta);
    line-height: 1.35;
    color: var(--fg-muted);
    white-space: nowrap;
    overflow: hidden;
}
.rv-line a {
    color: var(--primary-ink);
    font-weight: 500;
    text-decoration: none;
}
.rv-line i {
    font-style: normal;
    color: var(--mg-subtle);
}
/* A tag next to a block name: START, AUTO, SUB PROCESS, as the code writes them. */
.rv-tag {
    display: inline-flex;
    align-items: center;
    flex: none;
    height: 20px;
    padding: 0 7px;
    border-radius: var(--r-chip);
    background: var(--hover);
    color: var(--fg);
    font-size: var(--mg-fs-meta);
    white-space: nowrap;
}
/* A row of chips in a cell that may hold lines of them: write access, then "Edit:" and edit access. */
.rv-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
}
.rv-chips > .rv-chip {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Two or more stacked lines in a cell. */
.rv-stk {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
/* The latest comment on a block: author and text, one line, truncated. */
.rv-latest {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--mg-fs-meta);
    color: var(--fg-muted);
}
.rv-acts-r {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    overflow: visible;
}
/* A label of a .mg-kv row that carries a hint mark: the label and the mark on one line. */
.rv-kvl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ========== H. The calculation dialog and the schema dialog ========== */

/* A tab bar at reading size: icon, label, a mono count; the open tab underlined on the bar's rule. Used in the docked panel and the calculation dialog. */
.rv-tabs {
    display: flex;
    align-items: stretch;
    gap: 17px;
    flex: none;
    padding: 0 18px;
    box-shadow: inset 0 -1px 0 var(--line);
}
.rv-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 44px;
    border-bottom: 2px solid transparent;
    color: var(--fg-secondary);
    font-size: var(--mg-fs);
    font-weight: 500;
    white-space: nowrap;
}
.rv-tab .mg-i {
    width: 15px;
    height: 15px;
}
.rv-tab.on {
    border-bottom-color: var(--primary);
    color: var(--primary-ink);
}
/* The toolbar of the calculation dialog: the tabs at the left, a search box at the right, one rule under both. */
.rv-calc-bar {
    display: flex;
    align-items: stretch;
    gap: 14px;
    flex: none;
    padding-right: 18px;
    box-shadow: inset 0 -1px 0 var(--line);
}
.rv-calc-bar > .rv-tabs {
    flex: 1;
    box-shadow: none;
}
.rv-calc-bar > .mg-search {
    align-self: center;
    width: 294px;
    height: 34px;
    font-size: var(--mg-fs-sm);
}
/* A bordered list of rows with a rounded frame: formulas, inputs, outputs, schema fields. */
.rv-fl {
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface);
    overflow: hidden;
}
.rv-fr {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--hover);
    font-size: var(--mg-fs);
}
.rv-fr:last-child {
    border-bottom: 0;
}
.rv-fr.focus {
    background: var(--primary-soft);
}
.rv-fr.grp {
    border-left: 2px solid var(--primary);
}
.rv-fr > .col {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 11px;
    min-width: 0;
}
.rv-fr.slim > .col {
    gap: 2px;
}
.rv-fn {
    flex: none;
    width: 28px;
    padding-top: 7px;
    text-align: right;
    font-family: var(--mono);
    font-size: var(--mg-fs-mono);
    color: var(--fg-muted);
}
/* A formula typeset on the page: a boxed line in a maths face; names in italic, operators upright. */
.rv-fbox {
    display: inline-block;
    align-self: flex-start;
    max-width: 100%;
    padding: 8px 14px;
    border: 1px solid var(--hover);
    border-radius: 6px;
    background: var(--sunken);
    color: var(--fg-strong);
    font-family: 'Cambria Math', 'STIX Two Math', 'Times New Roman', Times, serif;
    font-size: 17px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
}
.rv-fbox i {
    font-style: italic;
}
.rv-fbox sub {
    font-size: 0.72em;
    line-height: 0;
}
/* The names a formula reads: a mono name, then where its value comes from. */
.rv-uses {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.rv-uses > dl {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    gap: 5px 14px;
    margin: 0;
}
.rv-uses dt {
    font-family: var(--mono);
    font-size: var(--mg-fs-mono);
    color: var(--fg-muted);
}
.rv-uses dd {
    margin: 0;
    min-width: 0;
    font-size: var(--mg-fs);
    color: var(--fg);
}
/* "-> Fills <field>" with the rounding chip. */
.rv-fills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    font-size: var(--mg-fs);
    color: var(--fg);
}
.rv-fills > .mg-i {
    width: 15px;
    height: 15px;
    color: var(--fg-muted);
}
.rv-fills b,
.rv-fr b.nm {
    font-weight: 500;
    color: var(--fg-strong);
}
/* A link to another row of the dialog: brand colour, medium weight, no underline. */
.rv-a {
    color: var(--primary-ink);
    font-weight: 500;
}
/* A heading row of a field list: a group of the schema, sunken, small and semibold. */
.rv-gh2 {
    padding: 13px 14px 5px;
    border-bottom: 1px solid var(--hover);
    background: var(--sunken);
    color: var(--fg-secondary);
    font-size: var(--mg-fs-cap);
    font-weight: 600;
}
/* A field of the read-only schema: name with its chips, the tag in mono, the type at the right. */
.rv-fld {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 9px 14px;
    border-bottom: 1px solid var(--hover);
}
.rv-fld:last-child {
    border-bottom: 0;
}
.rv-fld > .col {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.rv-fld .nm {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: var(--mg-fs);
    font-weight: 500;
    color: var(--fg-strong);
}
/* The type of a field as a mono chip in its type's tone (.text, .number, .date, .choice, .file, .structure, .location, .constant). */
.rv-ty {
    display: inline-flex;
    align-items: center;
    flex: none;
    height: 22px;
    padding: 0 8px;
    border: 1px solid var(--ft-text-border);
    border-radius: var(--r-chip);
    background: var(--ft-text-bg);
    color: var(--ft-text-fg);
    font-family: var(--mono);
    font-size: var(--mg-fs-meta);
    white-space: nowrap;
}
.rv-ty.number {
    border-color: var(--ft-number-border);
    background: var(--ft-number-bg);
    color: var(--ft-number-fg);
}
.rv-ty.date {
    border-color: var(--ft-date-border);
    background: var(--ft-date-bg);
    color: var(--ft-date-fg);
}
.rv-ty.choice {
    border-color: var(--ft-choice-border);
    background: var(--ft-choice-bg);
    color: var(--ft-choice-fg);
}
.rv-ty.file {
    border-color: var(--ft-file-border);
    background: var(--ft-file-bg);
    color: var(--ft-file-fg);
}
.rv-ty.structure {
    border-color: var(--ft-structure-border);
    background: var(--ft-structure-bg);
    color: var(--ft-structure-fg);
}
.rv-ty.location {
    border-color: var(--ft-location-border);
    background: var(--ft-location-bg);
    color: var(--ft-location-fg);
}
.rv-ty.constant {
    border-color: var(--ft-constant-border);
    background: var(--ft-constant-bg);
    color: var(--ft-constant-fg);
}

/* ========== I. Comments ========== */

/* The filter row above the threads: toggle chips (.rv-tg), the scoped chip last. */
.rv-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    flex: none;
    padding: 9px 18px;
    border-bottom: 1px solid var(--hover);
}
/* Threads on one anchor: a sunken heading row with the anchor chip and a count. */
.rv-gh {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 18px;
    border-bottom: 1px solid var(--hover);
    background: var(--sunken);
}
/* What a comment points at: an icon and a truncated label in a small box. */
.rv-anc {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: none;
    max-width: 100%;
    height: 27px;
    padding: 0 8px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--sunken);
    color: var(--fg-secondary);
    font-size: var(--mg-fs-cap);
    white-space: nowrap;
    overflow: hidden;
}
.rv-anc .mg-i {
    width: 13px;
    height: 13px;
}
.rv-anc .mg-i.form {
    color: var(--form-fg);
}
.rv-anc .mg-i.math {
    color: var(--math-fg);
}
.rv-anc .mg-i.action {
    color: var(--action-fg);
}
.rv-anc .mg-i.system {
    color: var(--system-fg);
}
/* A comment thread: author row, anchor, text, files, replies, actions. .res is a resolved thread (sunken). */
.rv-th {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--hover);
}
.rv-th.res {
    background: var(--sunken);
}
.rv-who {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    min-width: 0;
}
.rv-who > b {
    font-size: var(--mg-fs-sm);
    font-weight: 600;
    color: var(--fg-strong);
}
.rv-who > .sp {
    flex: 1;
}
.rv-body {
    font-size: var(--mg-fs);
    line-height: 1.55;
    color: var(--fg);
    white-space: pre-wrap;
}
.rv-reply {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 14px;
    padding-left: 14px;
    border-left: 2px solid var(--line);
}
/* The files of a comment: thumbnails and chips in one wrapping row. */
.rv-att {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 0;
}
.rv-thumb {
    display: grid;
    place-items: center;
    flex: none;
    width: 64px;
    height: 64px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: linear-gradient(135deg, var(--primary-soft), var(--sunken));
    color: var(--fg-muted);
    overflow: hidden;
}
.rv-thumb .mg-i {
    width: 22px;
    height: 22px;
}
.rv-file {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: none;
    max-width: 100%;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--sunken);
    color: var(--fg-secondary);
    font-size: var(--mg-fs-cap);
    white-space: nowrap;
    overflow: hidden;
}
.rv-file .mg-i {
    width: 15px;
    height: 15px;
}
.rv-file > .sz {
    color: var(--fg-muted);
}
.rv-file.err {
    border-color: var(--mg-danger-border);
    color: var(--bad-fg);
}
.rv-file.pend {
    padding-right: 3px;
}
.rv-file-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    background: var(--primary);
}
/* The quiet text actions of a thread: Resolve, Reopen, Edit. Reply is .mg-link. */
.rv-quiet {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: none;
    height: 28px;
    padding: 0 8px;
    border-radius: 6px;
    color: var(--fg-muted);
    font-size: var(--mg-fs-sm);
    font-weight: 500;
    white-space: nowrap;
}
.rv-quiet .mg-i {
    width: 14px;
    height: 14px;
}
.rv-tacts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
    margin-left: -8px;
}
/* The composer under the thread list. */
.rv-cmp {
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: none;
    padding: 13px 18px 14px;
    border-top: 1px solid var(--line);
    background: var(--surface);
}
.rv-on {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}
.rv-cmp-foot {
    display: flex;
    align-items: center;
    gap: 7px;
}
/* Menu rows at the height of a control, for the composer's Change menu. */
.mg-menu.rv-tight > .mg-mi {
    height: 34px;
}
.mg-menu.rv-tight > .mg-mi > .mg-i:first-child {
    width: 15px;
    height: 15px;
}

/* ========== J. The docked review panel ========== */

/* The panel: a column with a rule at its left, filling the height its host gives it. The product's is 36rem wide; the stage draws it at 460 px. Set the left, top, width and height (it is position absolute). */
.rv-panel {
    position: absolute;
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-left: 1px solid var(--line);
    background: var(--surface);
    overflow: hidden;
}
.rv-panel.in {
    position: relative;
}
.rv-ph {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: none;
    height: 52px;
    padding: 0 14px 0 18px;
    border-bottom: 1px solid var(--line);
}
.rv-ph > .mg-i:first-child {
    width: 18px;
    height: 18px;
    color: var(--fg-muted);
}
.rv-ph > b {
    font-size: var(--mg-fs-sm);
    font-weight: 600;
    color: var(--fg-strong);
}
.rv-ph > .sp {
    flex: 1;
}
/* The sub rows under the header: sunken, wrapping. */
.rv-sub {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    flex: none;
    padding: 9px 18px;
    border-bottom: 1px solid var(--hover);
    background: var(--sunken);
    color: var(--fg-secondary);
    font-size: var(--mg-fs-sm);
    line-height: 1.4;
}
.rv-sub.col {
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
}
/* The "Reviewing: <workflow> v1.0.0 · Whole workflow" label of the Playground panel, one line. */
.rv-lock {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 0 100%;
    min-width: 0;
    color: var(--fg-muted);
}
.rv-lock > b {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    color: var(--fg);
    white-space: nowrap;
}
.rv-pbody {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}
/* The footer of the panel: a caption (it wraps to give way), a spacer, the action buttons. */
.rv-foot {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: none;
    padding: 11px 18px;
    border-top: 1px solid var(--line);
    background: var(--sunken);
}
.rv-foot > .sp {
    flex: 1;
}
.rv-foot > .cap {
    min-width: 0;
    font-size: var(--mg-fs-cap);
    line-height: 1.35;
    color: var(--fg-muted);
}
.rv-foot > .se-btn {
    flex: none;
}
/* A test case of the panel's Test cases tab: flag, name and caption, status, play button. */
.rv-chk {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    border-bottom: 1px solid var(--hover);
}
.rv-chk > .flag {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--primary-ink);
}
.rv-chk > .nof {
    flex: none;
    width: 18px;
    height: 18px;
}
.rv-chk > .col {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

/* ========== K. The activity timeline ========== */

.rv-tl {
    margin: 0;
    padding: 8px 0;
    list-style: none;
}
/* An event: an icon tile on a vertical rule, the sentence, the time at the right. */
.rv-ti {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 14px;
    padding: 11px 18px;
    font-size: var(--mg-fs-sm);
    line-height: 1.45;
    color: var(--fg);
}
.rv-ti::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 31.5px;
    width: 1px;
    background: var(--line);
}
.rv-ti-ic {
    position: relative;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--hover);
    color: var(--fg-secondary);
    box-shadow: 0 0 0 3px var(--surface);
}
.rv-ti-ic .mg-i {
    width: 15px;
    height: 15px;
}
.rv-ti-ic.blue {
    background: var(--primary-soft);
    color: var(--primary-ink);
}
.rv-ti-ic.green {
    background: var(--ok-bg);
    color: var(--mg-ok-icon);
}
.rv-ti-ic.amber {
    background: var(--mg-warn-bg);
    color: var(--mg-warn-icon);
}
.rv-ti > .tx {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.rv-ti .l1 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 8px;
}
.rv-ti .l1 b {
    font-weight: 600;
    color: var(--fg-strong);
}
.rv-ti .l2 {
    font-size: var(--mg-fs-cap);
    line-height: 1.45;
    color: var(--fg-muted);
}
.rv-ti > .tm {
    padding-top: 3px;
    font-family: var(--mono);
    font-size: var(--mg-fs-mono);
    color: var(--fg-muted);
    white-space: nowrap;
}
/* The mark of a decision written to the audit ledger: a shield and "Recorded on ledger". */
.rv-ledger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: none;
    height: 25px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--fg-secondary);
    font-size: var(--mg-fs-cap);
    white-space: nowrap;
}
.rv-ledger .mg-i {
    width: 13px;
    height: 13px;
}
/* The round heading of the timeline: an eyebrow in capitals, from round 2 on. */
.rv-round {
    padding: 14px 18px 3px;
    font-size: var(--mg-fs-meta);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fg-muted);
}

/* ========== L. The Playground parts a review needs ========== */

/* The page header: the title, a hint mark, the Preview | Test cases switch (.mg-seg), a spacer, the Review button. */
.rv-pgh {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
    padding: 20px 28px 14px;
}
/* The toolbar of the preview card: Record test case or the record bar, then Drafts | Published (.mg-seg). */
.rv-pgt {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
/* "Recording · 1 step": a red tinted bar with a dot. */
.rv-recbar {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: none;
    height: 36px;
    padding: 0 13px;
    border: 1px solid var(--mg-danger-border);
    border-radius: 8px;
    background: var(--mg-danger-bg);
    color: var(--bad-fg);
    font-size: var(--mg-fs);
    white-space: nowrap;
}
.rv-recbar > i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mg-danger-solid);
}
.rv-recbar b {
    font-family: var(--mono);
    font-weight: 400;
}
.rv-recbar .se-info {
    background: var(--bad-fg);
}
/* A secondary button with red text: Discard. */
.se-btn.rv-sdng {
    color: var(--bad-fg);
}
/* A test case's header: methodology and version, the name with its icon buttons, the caption line; Run and the delete icon at the right. */
.rv-case {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.rv-case > .col {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}
.rv-meth {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: var(--mg-fs-sm);
    color: var(--fg-secondary);
}
.rv-meth > .mg-i {
    width: 15px;
    height: 15px;
    color: var(--fg-muted);
}
.rv-ct {
    display: flex;
    align-items: center;
    gap: 6px;
}
.rv-ct > b {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--fg-strong);
    white-space: nowrap;
}
.rv-capr {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: var(--mg-fs-cap);
    color: var(--fg-muted);
}
.rv-capr > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.rv-case > .btns {
    display: flex;
    align-items: center;
    gap: 9px;
}
/* A bordered box of a run page: Steps, one block's output. */
.rv-box {
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: var(--surface);
    overflow: hidden;
}
.rv-bh {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 14px;
    font-size: var(--mg-fs);
}
.rv-bh.band {
    border-bottom: 1px solid var(--line);
    background: var(--sunken);
}
.rv-bh > b {
    font-weight: 500;
    color: var(--fg-strong);
}
.rv-bh > .mg-i {
    width: 15px;
    height: 15px;
    color: var(--fg-muted);
}
.rv-bh > .r {
    margin-left: auto;
    font-size: var(--mg-fs-sm);
    color: var(--fg-secondary);
}
.rv-h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: var(--mg-fs);
    font-weight: 600;
    color: var(--fg-strong);
}
/* A table of a run page: sunken head cells, ruled rows. .diff tints a changed row. */
.rv-tbl {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: var(--mg-fs);
    color: var(--fg-strong);
}
.rv-tbl th {
    height: 36px;
    padding: 0 14px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--sunken);
    color: var(--fg-muted);
    font-size: var(--mg-fs-cap);
    font-weight: 500;
}
.rv-tbl td {
    padding: 9px 14px;
    border-bottom: 1px solid var(--hover);
    vertical-align: top;
}
.rv-tbl tr:last-child td {
    border-bottom: 0;
}
.rv-tbl tr.diff td {
    background: var(--mg-danger-bg);
}
.rv-tbl .was {
    color: var(--bad-fg);
}
.rv-tbl .now {
    color: var(--ok-fg);
}
.rv-tbl td.mono,
.rv-tbl td .mono {
    font-family: var(--mono);
    font-size: var(--mg-fs-mono);
}
.rv-tbl .key {
    display: block;
    font-family: var(--mono);
    font-size: var(--mg-fs-meta);
    color: var(--fg-muted);
}
.rv-chg {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: var(--mg-fs-sm);
    font-weight: 500;
    color: var(--bad-fg);
}
.rv-chg .mg-i {
    width: 13px;
    height: 13px;
}
.rv-same {
    font-size: var(--mg-fs-sm);
    color: var(--fg-muted);
}
