/* ui.css: the shared interface components. Every screen on the site is composed from the includes in _includes/ui/ and the rules here (S-1134).
   Loads after app.css on every page. It declares no token and holds no hex colour: it uses the --u-* set, --s, --head, --body and --mono, and four tints that the base css wrote
   as hex and has no token for (chrome rgb(249 250 252), Truefill's step tint rgb(228 247 238), the docked panel rgb(251 252 253), the progress end rgb(47 190 134)), written as rgb(). The BASE rules are the finished frame (reduced motion, ?nomotion and a released scene show it); a finite entrance sits
   under html.anim. Nothing loops. Only opacity and transform move.
   Part 1, moved out of watch.css (the receipt, the tracker list, the rules check, the grade strip, the run rows) and hero.css (the S-1131 run and
   review panel), byte for byte except for the colours (#fff is var(--u-0), the four tints above are rgb() so there is no hex) and the class .k, which is now .tl__k because Home uses .k.
   Proved by a pixel diff of /watch/ (nine steps, 1440 and 390) and of the two Home screens, before and after, against claude/s1134-base. */

/* ===== from watch.css: the receipt ===== */
/* the receipt */
.rc { position: relative; background: var(--u-0); border-radius: calc(14*var(--s)); overflow: hidden; box-shadow: var(--u-obj), 0 calc(14*var(--s)) calc(30*var(--s)) calc(-14*var(--s)) rgba(11, 26, 49, .22); font: 400 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-body); }
.rc:focus { outline: none; }
.rc:focus-visible { outline: calc(2*var(--s)) solid var(--u-ink); outline-offset: calc(2*var(--s)); }
.rc__top { display: flex; align-items: center; gap: calc(12*var(--s)); padding: calc(10*var(--s)) calc(18*var(--s)); background: linear-gradient(var(--u-ok-wash), rgba(61, 220, 151, .05)); box-shadow: inset 0 -1px 0 rgba(31, 157, 107, .22); }
.rc__seal { display: grid; place-items: center; width: calc(32*var(--s)); height: calc(32*var(--s)); border-radius: 50%; background: var(--u-ok); color: var(--u-0); box-shadow: 0 0 0 calc(4*var(--s)) rgba(31, 157, 107, .16); flex: none; }
.rc__seal .ico { stroke-width: 2.4; }
.rc__sent { display: grid; gap: 1px; min-width: 0; }
.rc__sent b { font: 600 calc(14*var(--s))/calc(18*var(--s)) var(--body); letter-spacing: -.01em; color: var(--u-ink); }
.rc__sent small { font: 400 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-ok-ink); }
.rc__tag { margin-left: auto; font: 600 calc(12*var(--s))/calc(16*var(--s)) var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--u-slate); }

.rc__role { display: flex; align-items: flex-start; gap: calc(14*var(--s)); padding: calc(14*var(--s)) calc(18*var(--s)) calc(2*var(--s)); min-width: 0; }
.rc__role > div { display: grid; gap: calc(2*var(--s)); min-width: 0; }
.rc__role b { font: 600 calc(15*var(--s))/calc(20*var(--s)) var(--body); letter-spacing: -.01em; color: var(--u-ink); text-wrap: balance; }
.rc__role > div > span { font: 500 calc(13*var(--s))/calc(17*var(--s)) var(--body); color: var(--u-body); }
.rc__role small { font: 400 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-slate); }

/* who did each step: green is Truefill, dark is you */
.rc__steps { list-style: none; margin: 0; padding: calc(12*var(--s)) calc(12*var(--s)) 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rc__steps li { position: relative; display: grid; justify-items: center; align-content: start; gap: calc(6*var(--s)); text-align: center; }
.rc__steps li + li::before { content: ""; position: absolute; top: calc(15*var(--s)); left: -50%; width: 100%; height: calc(2*var(--s)); background: var(--u-ok); transform-origin: left center; }

.rc__steps li.is-you::before { background: linear-gradient(90deg, var(--u-ok), var(--u-ink)); }
.rc__steps i { position: relative; z-index: 1; display: grid; place-items: center; width: calc(32*var(--s)); height: calc(32*var(--s)); border-radius: 50%; font-style: normal; }
.rc__steps .is-tf i { background: rgb(228 247 238); color: var(--u-ok-ink); box-shadow: inset 0 0 0 1.5px var(--u-ok); }
.rc__steps .is-you i { background: var(--u-ink); color: var(--u-0); box-shadow: 0 1px calc(2*var(--s)) rgba(11, 26, 49, .3); }
.rc__steps b { font: 600 calc(12*var(--s))/calc(15*var(--s)) var(--body); color: var(--u-ink); max-width: 9ch; text-wrap: balance; }

.rc__sec { padding: calc(12*var(--s)) calc(18*var(--s)) 0; }
.rc__sec h6 { margin: 0 0 calc(6*var(--s)); font: 600 calc(12*var(--s))/calc(16*var(--s)) var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--u-slate); }
.rc__doc { display: flex; align-items: center; gap: calc(10*var(--s)); padding: calc(7*var(--s)) calc(10*var(--s)); margin-bottom: calc(5*var(--s)); border-radius: calc(10*var(--s)); background: var(--u-1); box-shadow: inset 0 0 0 1px var(--u-rule); min-width: 0; }
.rc__doc > div { display: grid; gap: 1px; min-width: 0; }
.rc__doc > div > b { font: 600 calc(12.5*var(--s))/calc(16*var(--s)) var(--mono); letter-spacing: 0; color: var(--u-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc__doc small { font: 400 calc(12*var(--s))/calc(15*var(--s)) var(--body); color: var(--u-slate); }
.rc__doc small b { font: 600 calc(12*var(--s))/calc(15*var(--s)) var(--body); color: var(--u-ink); }
.rc__pdf { display: grid; place-items: center; width: calc(30*var(--s)); height: calc(36*var(--s)); border-radius: calc(6*var(--s)); background: var(--u-ink); color: var(--u-0); font: 700 calc(11*var(--s))/1 var(--body); font-style: normal; letter-spacing: .03em; flex: none; }
.rc__doc--none { background: none; box-shadow: inset 0 0 0 1px var(--u-rule); }
.rc__doc--none > div > b { font-family: var(--body); font-weight: 600; color: var(--u-slate); }
.rc__pdf--off { background: var(--u-track); color: var(--u-slate); width: calc(30*var(--s)); height: calc(30*var(--s)); border-radius: 50%; }

.rc__ans { list-style: none; margin: 0; padding: 0; }
.rc__ans li { display: grid; grid-template-columns: calc(112*var(--s)) minmax(calc(74*var(--s)), 1fr) auto; gap: 0 calc(8*var(--s)); align-items: baseline; padding: calc(5*var(--s)) 0; border-top: 1px solid var(--u-rule); }
.rc__ans li > span { font: 400 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-slate); }
.rc__ans li > b { font: 600 calc(13*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-ink); white-space: nowrap; }
.rc__ans li > em { display: inline-flex; align-items: center; justify-content: flex-end; gap: calc(5*var(--s)); font: 500 calc(12*var(--s))/calc(15*var(--s)) var(--body); font-style: normal; color: var(--u-ok-ink); text-align: right; white-space: nowrap; }
.rc__ans li > em .ico { flex: none; width: calc(12*var(--s)); height: calc(12*var(--s)); }
.rc__ans li > em.caught { color: var(--u-need-ink); }
.rc__ans .is-yours > b, .rc__ans .is-yours > em { color: var(--u-ink); }
.rc__ans .is-none > b, .rc__ans .is-none > em { color: var(--u-slate); }
.rc__ans { margin-top: calc(4*var(--s)); }

/* the tear line */
.rc__foot { position: relative; display: grid; grid-template-columns: auto 1fr; gap: calc(6*var(--s)) calc(22*var(--s)); margin: calc(12*var(--s)) 0 0; padding: calc(11*var(--s)) calc(18*var(--s)) calc(12*var(--s)); border-top: 1.5px dashed var(--u-edge); }
.rc__foot::before, .rc__foot::after { content: ""; position: absolute; top: calc(-9*var(--s)); width: calc(16*var(--s)); height: calc(16*var(--s)); border-radius: 50%; background: var(--u-1); box-shadow: inset 0 1px calc(2*var(--s)) rgba(11, 26, 49, .12); }
.rc__foot::before { left: calc(-8*var(--s)); } .rc__foot::after { right: calc(-8*var(--s)); }
.rc__foot div { display: grid; gap: 1px; }
.rc__foot dt { font: 400 calc(12*var(--s))/calc(15*var(--s)) var(--body); color: var(--u-slate); }
.rc__foot dd { margin: 0; font: 600 calc(13*var(--s))/calc(17*var(--s)) var(--body); color: var(--u-ink); }


/* ===== from watch.css: the tracker list ===== */
/* the tracker, with the same five steps shown small on every application */
.tl { background: var(--u-0); border-radius: calc(14*var(--s)); box-shadow: var(--u-obj); padding: calc(14*var(--s)) calc(16*var(--s)) calc(6*var(--s)); min-width: 0; }
.tl__head { display: flex; align-items: baseline; justify-content: space-between; gap: calc(8*var(--s)); margin-bottom: calc(4*var(--s)); }
.tl__head h6 { margin: 0; font: 600 calc(12*var(--s))/calc(16*var(--s)) var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--u-ink); }
.tl__head span { font: 400 calc(12*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-slate); }
.tl__rows { list-style: none; margin: 0; padding: 0; }
.tl__row { display: grid; grid-template-columns: calc(34*var(--s)) minmax(0, 1fr); gap: calc(5*var(--s)) calc(11*var(--s)); padding: calc(11*var(--s)) 0 calc(12*var(--s)); border-top: 1px solid var(--u-rule); }
.tl__row .wtco { grid-row: 1 / span 3; align-self: start; margin-top: 1px; }
.tl__id { display: grid; gap: 1px; min-width: 0; }
.tl__id b { font: 600 calc(13*var(--s))/calc(17*var(--s)) var(--body); letter-spacing: -.005em; color: var(--u-ink); }
.tl__id small { font: 400 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-slate); }
.tl__track { display: grid; grid-template-columns: repeat(5, 1fr); gap: calc(3*var(--s)); margin-top: calc(2*var(--s)); }
.tl__track i { height: calc(5*var(--s)); border-radius: calc(3*var(--s)); background: var(--u-track); }
.tl__track[data-done="5"] i, .tl__track[data-done="3"] i:nth-child(-n+3), .tl__track[data-done="1"] i:first-child { background: var(--u-ok); }
.tl__track[data-done="3"] i:nth-child(4) { background: var(--u-need); }
.tl__track[data-done="1"] i:nth-child(2) { background: linear-gradient(90deg, var(--u-ok) 45%, var(--u-track) 45%); }
.tl__state { margin: 0; font: 500 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-slate); }
.tl__state.is-ok { color: var(--u-ok-ink); }
.tl__state.is-wait { color: var(--u-need-ink); }
.tl__state.is-ok::before, .tl__state.is-wait::before { content: ""; display: inline-block; width: calc(13*var(--s)); height: calc(13*var(--s)); margin: 0 calc(5*var(--s)) calc(-2*var(--s)) 0; background: var(--g-check) center / contain no-repeat; }
.tl__state.is-wait::before { background-image: var(--g-alert); }
.tl__key { display: flex; flex-wrap: wrap; gap: calc(4*var(--s)) calc(14*var(--s)); margin: 0; padding: calc(10*var(--s)) 0 calc(8*var(--s)); border-top: 1px solid var(--u-rule); font: 400 calc(12*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-slate); }
.tl__key span { display: inline-flex; align-items: center; gap: calc(6*var(--s)); }
.tl__k { display: inline-block; width: calc(10*var(--s)); height: calc(10*var(--s)); border-radius: 50%; }
.tl__k--tf { background: rgb(228 247 238); box-shadow: inset 0 0 0 1.5px var(--u-ok); }
.tl__k--you { background: var(--u-ink); }
.tl__k--wait { background: var(--u-need); }
.tl__row--new { margin: 0 calc(-8*var(--s)); padding: calc(11*var(--s)) calc(8*var(--s)) calc(12*var(--s)); border-top-color: transparent; border-radius: calc(10*var(--s)); background: var(--u-ok-wash); }
.tl__row--new + .tl__row { border-top-color: transparent; }
.tl__row:last-child { padding-bottom: calc(12*var(--s)); }

/* ===== from watch.css: the receipt animation keyframes (the html.anim rules that use them stay in watch.css, they belong to the player) ===== */
@keyframes rc-pop { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: none; } }
@keyframes rc-draw { from { transform: scaleX(0); } to { transform: none; } }
@keyframes rc-rise { from { opacity: 0; transform: translateY(calc(8*var(--s))); } to { opacity: 1; transform: none; } }

/* ===== from watch.css: the receipt in a narrow container ===== */
@container (max-width: 400px) {
  .rc__ans li { grid-template-columns: minmax(0, 1fr) auto; row-gap: calc(2*var(--s)); }
  .rc__ans li > b { text-align: right; }
  .rc__ans li > em { grid-column: 1 / -1; justify-content: flex-start; text-align: left; white-space: normal; }
  .rc__steps { padding-left: calc(4*var(--s)); padding-right: calc(4*var(--s)); }
  .rc__steps b { font-size: calc(11.5*var(--s)); max-width: 8ch; }
  .rc__top { padding: calc(12*var(--s)) calc(14*var(--s)); }
  .rc__role, .rc__sec { padding-left: calc(14*var(--s)); padding-right: calc(14*var(--s)); }
  .rc__foot { padding-left: calc(14*var(--s)); padding-right: calc(14*var(--s)); }
}

/* a small phone has no room for five labels in a row, so the steps stand in a column */
@keyframes rc-drawy { from { transform: scaleY(0); } to { transform: none; } }
@container (max-width: 310px) {
  .rc__steps { grid-template-columns: minmax(0, 1fr); gap: calc(10*var(--s)); padding: calc(12*var(--s)) calc(14*var(--s)) 0; }
  .rc__steps li { grid-template-columns: calc(32*var(--s)) minmax(0, 1fr); justify-items: start; align-items: center; gap: calc(12*var(--s)); text-align: left; }
  .rc__steps li + li::before, .rc__steps li.is-you::before { top: calc(-10*var(--s)); left: calc(15*var(--s)); width: calc(2*var(--s)); height: calc(10*var(--s)); background: var(--u-ok); transform-origin: top center; }
  .rc__steps li.is-you:nth-child(5)::before { background: var(--u-ink); }
  .rc__steps b { max-width: none; font-size: calc(12.5*var(--s)); }
  .rc__doc > div > b { font-size: calc(11.5*var(--s)); }
}
@container (max-width: 400px) {
  .rc__doc > div > b { white-space: normal; overflow-wrap: anywhere; }
}

/* ===== from watch.css: the rules check and the grade strip ===== */
/* the rules check that runs before an autonomous submit */
.wt__chk { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(6*var(--s)); }
.wt__chk li { display: flex; align-items: flex-start; gap: calc(8*var(--s)); font: 500 calc(13*var(--s))/calc(17*var(--s)) var(--body); color: var(--u-ink); transition: opacity 260ms ease calc(var(--k) * 520ms), transform 300ms ease calc(var(--k) * 520ms); }
.wt__chk .ico { flex: none; width: calc(15*var(--s)); height: calc(15*var(--s)); margin-top: 1px; padding: 1px; border-radius: 50%; background: var(--u-ok); color: var(--u-0); stroke-width: 2.6; }

/* the grade row under the resume */
.tfr__grade { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: calc(8*var(--s)) calc(22*var(--s)); align-items: center; padding: calc(12*var(--s)) calc(16*var(--s)); border-radius: calc(12*var(--s)); background: var(--u-0); box-shadow: inset 0 0 0 1px var(--u-rule); }
.tfr__gradeh { grid-column: 1 / -1; font: 600 calc(12.5*var(--s))/calc(14*var(--s)) var(--body); letter-spacing: .07em; text-transform: uppercase; color: var(--u-ink); }
.tfr__gs { display: flex; gap: calc(18*var(--s)); }
.tfr__gs > div { display: grid; justify-items: center; gap: calc(5*var(--s)); }
.tfr__gs .score { --sz: calc(46*var(--s)); --st: calc(4*var(--s)); font-size: calc(14*var(--s)); }
.tfr__gs small { font: 500 calc(12.5*var(--s))/calc(14*var(--s)) var(--body); color: var(--u-slate); text-align: center; }
.tfr__grade p { margin: 0; font: 400 calc(13*var(--s))/calc(18*var(--s)) var(--body); color: var(--u-slate); max-width: 46ch; }
@media (max-width: 640px) {
  .tfr__grade { grid-template-columns: minmax(0, 1fr); }
  .tfr__gs { justify-content: space-between; gap: calc(8*var(--s)); }
}

/* ===== from watch.css: the run rows, the Watch step nine batch ===== */
.bt { display: grid; gap: calc(10*var(--s)); width: 100%; }
.bt__head { display: flex; align-items: center; justify-content: space-between; gap: calc(10*var(--s)); flex-wrap: wrap; }
.bt__rules { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: calc(6*var(--s)); }
.bt__rules li { display: inline-flex; align-items: center; gap: calc(5*var(--s)); padding: calc(4*var(--s)) calc(10*var(--s)) calc(4*var(--s)) calc(8*var(--s)); border-radius: calc(999*var(--s)); background: var(--u-0); box-shadow: inset 0 0 0 1px var(--u-rule); font: 500 calc(12*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-body); }
.bt__rules .ico { color: var(--u-slate); flex: none; }
.bt__pause { display: inline-flex; align-items: center; gap: calc(6*var(--s)); padding: calc(5*var(--s)) calc(12*var(--s)); border-radius: calc(999*var(--s)); background: var(--u-0); box-shadow: inset 0 0 0 1px var(--u-edge); font: 600 calc(12*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-ink); }
.bt__legend { margin: 0; font: 400 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-slate); }
.bt__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(6*var(--s)); }
.bt__row { display: grid; grid-template-columns: calc(34*var(--s)) minmax(0, 1.2fr) auto minmax(0, 1fr); gap: 0 calc(10*var(--s)); align-items: center; padding: calc(9*var(--s)) calc(12*var(--s)); border-radius: calc(12*var(--s)); background: var(--u-0); box-shadow: var(--u-obj); min-width: 0; }
.bt__row--hold { background: var(--u-need-wash); box-shadow: inset 0 0 0 1.5px var(--u-need); }
.bt__id { display: grid; gap: 1px; min-width: 0; }
.bt__id b { font: 600 calc(13*var(--s))/calc(17*var(--s)) var(--body); color: var(--u-ink); }
.bt__id small { font: 400 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-slate); }
.bt__pipe { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, calc(26*var(--s))); }
.bt__pipe li { position: relative; display: grid; place-items: center; height: calc(14*var(--s)); }
.bt__pipe li + li::before { content: ""; position: absolute; top: calc(6*var(--s)); left: -50%; width: 100%; height: calc(2*var(--s)); background: var(--u-track); }
.bt__pipe i { position: relative; z-index: 1; width: calc(10*var(--s)); height: calc(10*var(--s)); border-radius: 50%; background: var(--u-track); }
.bt__pipe i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--u-ok); }
.bt__row--hold .bt__pipe li:nth-child(5) i::after { background: var(--u-need); }
.bt__st { display: inline-flex; align-items: center; gap: calc(6*var(--s)); margin: 0; font: 600 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-ok-ink); }
.bt__st .ico { flex: none; width: calc(13*var(--s)); height: calc(13*var(--s)); stroke-width: 2.4; }
.bt__st--hold { color: var(--u-need-ink); }
.bt__foot { display: flex; flex-wrap: wrap; gap: calc(6*var(--s)) calc(16*var(--s)); padding: calc(10*var(--s)) calc(2*var(--s)) 0; font: 600 calc(13*var(--s))/calc(18*var(--s)) var(--body); color: var(--u-ok-ink); }
.bt__foot span { display: inline-flex; align-items: center; gap: calc(6*var(--s)); }
.bt__foot .bt__foot--hold { color: var(--u-need-ink); }
.bt__note { margin: 0; font: 400 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-slate); }
@keyframes bt-dot { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes bt-fade { from { opacity: 0; } to { opacity: 1; } }
@container (max-width: 640px) {
  .bt__legend { display: none; }
  .bt__row { grid-template-columns: calc(34*var(--s)) minmax(0, 1fr); gap: calc(4*var(--s)) calc(10*var(--s)); }
  .bt__pipe { grid-column: 2; }
  .bt__st { grid-column: 2; }
}

/* ===== from hero.css: S-1131, the two home interface screens (the run .hv--run and the review panel .hv--panel). The run rows above are the Watch rules. These differ only inside .hv, so they are scoped ===== */
.hv .tfx__tab--app { background: rgb(249 250 252); color: var(--u-ink); font-weight: 600; box-shadow: 0 0 0 1px var(--u-rule); }
.hv .browser__bar { position: relative; z-index: 2; background: rgb(249 250 252); box-shadow: 0 1px 0 var(--u-rule), 0 calc(6*var(--s)) calc(8*var(--s)) calc(-6*var(--s)) rgba(11, 26, 49, .14); height: calc(40*var(--s)); }
.hv .tfa { position: relative; z-index: 1; }
.hv__main { container-type: inline-size; padding-top: calc(14*var(--s)); gap: calc(12*var(--s)); }

/* the run rows are the Watch rules above. The S-1131 run differs from the Watch step nine batch in three places, so those are scoped to .hv:
   the last column is a fixed width (the state is one short word), the foot sits closer to the rows (no .bt wrapper adds its gap), and in a narrow
   container the state stays beside the name instead of under it. */
.hv .bt__row { grid-template-columns: calc(34*var(--s)) minmax(0, 1.2fr) auto minmax(0, calc(84*var(--s))); }
.hv .bt__foot { padding: calc(2*var(--s)) calc(2*var(--s)) 0; }

/* the run: rows beside the one application that needs you */
.hv__split { display: grid; grid-template-columns: minmax(0, 1fr) calc(236*var(--s)); gap: calc(14*var(--s)); align-items: start; }
.hv__drawer { display: grid; gap: calc(8*var(--s)); padding: calc(12*var(--s)) calc(14*var(--s)) calc(14*var(--s)); border-radius: calc(12*var(--s)); background: var(--u-0); box-shadow: inset 0 0 0 1.5px var(--u-need); min-width: 0; }
.hv__dh { display: flex; align-items: center; gap: calc(10*var(--s)); min-width: 0; }
.hv__chip { display: inline-flex; align-items: center; gap: calc(6*var(--s)); width: fit-content; margin: 0; padding: calc(3*var(--s)) calc(10*var(--s)) calc(3*var(--s)) calc(8*var(--s)); border-radius: calc(999*var(--s)); background: var(--u-need-wash); box-shadow: inset 0 0 0 1px var(--u-need); font: 600 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-need-ink); }
.hv__chip .ico { flex: none; width: calc(13*var(--s)); height: calc(13*var(--s)); stroke-width: 2.2; }
.hv__why { margin: 0; display: grid; gap: calc(2*var(--s)); }
.hv__why b { font: 700 calc(19*var(--s))/calc(23*var(--s)) var(--head); letter-spacing: .04em; color: var(--u-need-ink); }
.hv__why span { font: 500 calc(13*var(--s))/calc(17*var(--s)) var(--body); color: var(--u-slate); }
.hv__do { margin: 0; font: 400 calc(13*var(--s))/calc(18*var(--s)) var(--body); color: var(--u-body); text-wrap: pretty; }
.hv__steps { list-style: none; margin: 0; padding: calc(8*var(--s)) 0 0; display: grid; gap: calc(5*var(--s)); border-top: 1px solid var(--u-rule); }
.hv__steps li { display: flex; align-items: center; gap: calc(7*var(--s)); font: 500 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-ok-ink); }
.hv__steps .ico { flex: none; width: calc(12*var(--s)); height: calc(12*var(--s)); stroke-width: 2.4; }
.hv__steps .is-wait { color: var(--u-need-ink); }
@container (max-width: 780px) { .hv__split { grid-template-columns: minmax(0, 1fr); } }
@container (max-width: 640px) {
  .hv .bt__row { grid-template-columns: calc(34*var(--s)) minmax(0, 1fr) auto; gap: calc(4*var(--s)) calc(10*var(--s)); }
  .hv .bt__pipe { grid-column: 2; }
  .hv .bt__st { grid-column: 3; grid-row: 1; }
}

/* the review panel and the sent summary, the Tracker with a top bar because the step 04 figure is narrow */
.hv--panel .tfa { grid-template-columns: minmax(0, 1fr); }
.hv--panel .tfa__rail { flex-direction: row; align-items: center; gap: calc(14*var(--s)); padding: calc(9*var(--s)) calc(14*var(--s)); box-shadow: inset 0 -1px 0 var(--u-rule); }
.hv--panel .tfa__nav { display: flex; gap: calc(2*var(--s)); }
.hv--panel .tfa__nav a { height: calc(28*var(--s)); }
.hv--panel .tfa__me { margin: 0 0 0 auto; padding: 0; border: 0; }
.hv--panel .tfa__me small { display: none; }
.hv--panel .hv__main { padding: calc(14*var(--s)) calc(18*var(--s)) calc(16*var(--s)); gap: calc(8*var(--s)); }
.hv__t2 { margin-top: calc(6*var(--s)); }
.hv__need { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(6*var(--s)); }
.hv__nd { display: grid; grid-template-columns: calc(30*var(--s)) minmax(0, 1fr) auto; gap: calc(1*var(--s)) calc(10*var(--s)); align-items: center; padding: calc(8*var(--s)) calc(12*var(--s)); border-radius: calc(12*var(--s)); background: var(--u-need-wash); box-shadow: inset 0 0 0 1.5px var(--u-need); min-width: 0; }
.hv__nd .comark { grid-row: 1 / span 2; align-self: start; }
.hv__nd .hv__chip { background: var(--u-0); }
.hv__reason { grid-column: 2 / -1; margin: 0; display: flex; flex-wrap: wrap; gap: 0 calc(10*var(--s)); font: 400 calc(12.5*var(--s))/calc(17*var(--s)) var(--body); }
.hv__reason b { font-weight: 600; color: var(--u-need-ink); }
.hv__reason span { color: var(--u-slate); }
.hv__sent { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(6*var(--s)); }
.hv__sent li { display: grid; grid-template-columns: calc(26*var(--s)) minmax(0, 1fr) auto; gap: 0 calc(9*var(--s)); align-items: center; padding: calc(7*var(--s)) calc(10*var(--s)); border-radius: calc(10*var(--s)); background: var(--u-0); box-shadow: var(--u-obj); min-width: 0; }
.hv__sent .bt__id b, .hv__sent .bt__id small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hv__sent li.hv__dg { display: flex; align-items: center; gap: calc(7*var(--s)); background: none; box-shadow: none; padding-inline: calc(4*var(--s)); font: 600 calc(13*var(--s))/calc(18*var(--s)) var(--body); color: var(--u-ok-ink); }
@media (max-width: 720px) {
  .hv--panel .tfa__nav { display: none; }
  .hv__sent { grid-template-columns: minmax(0, 1fr); }
  .hv__nd { grid-template-columns: calc(30*var(--s)) minmax(0, 1fr); }
  .hv__nd .hv__chip { grid-column: 2; grid-row: 3; }
  .hv__nd .hv__reason { grid-row: 2; }
}

/* motion */
@keyframes hv-rise { from { opacity: 0; transform: translateY(calc(8*var(--s))); } to { opacity: 1; transform: none; } }
@keyframes hv-dot { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes hv-fade { from { opacity: 0; } to { opacity: 1; } }
html.anim [data-anim] .hv .bt__row, html.anim [data-anim] .hv .hv__drawer, html.anim [data-anim] .hv .hv__nd, html.anim [data-anim] .hv .hv__sent li,
html.anim [data-anim] .hv .bt__st, html.anim [data-anim] .hv .hv__steps li, html.anim [data-anim] .hv .bt__foot, html.anim [data-anim] .hv .hv__nd .hv__chip,
html.anim [data-anim] .hv .bt__pipe i::after { opacity: 0; }
html.anim [data-anim].is-in .hv--run .bt__row { opacity: 1; animation: hv-rise 360ms var(--e-enter, ease-out) calc(250ms + var(--r) * 300ms) both; }
html.anim [data-anim].is-in .hv--run .bt__pipe i::after { opacity: 1; animation: hv-dot 240ms var(--e-commit, ease-out) calc(550ms + var(--r) * 300ms + var(--k) * 220ms) both; }
html.anim [data-anim].is-in .hv--run .bt__st { opacity: 1; animation: hv-fade 320ms ease calc(550ms + var(--r) * 300ms + 1100ms) both; }
html.anim [data-anim].is-in .hv--run .hv__drawer { opacity: 1; animation: hv-rise 420ms var(--e-enter, ease-out) 2300ms both; }
html.anim [data-anim].is-in .hv--run .hv__steps li { opacity: 1; animation: hv-fade 300ms ease calc(2600ms + var(--k) * 180ms) both; }
html.anim [data-anim].is-in .hv--run .bt__foot { opacity: 1; animation: hv-fade 400ms ease 3700ms both; }
html.anim [data-anim].is-in .hv--panel .hv__nd { opacity: 1; animation: hv-rise 360ms var(--e-enter, ease-out) calc(250ms + var(--r) * 260ms) both; }
html.anim [data-anim].is-in .hv--panel .hv__nd .hv__chip { opacity: 1; animation: hv-fade 280ms ease calc(550ms + var(--r) * 260ms) both; }
html.anim [data-anim].is-in .hv--panel .hv__sent li { opacity: 1; animation: hv-rise 340ms var(--e-enter, ease-out) calc(1200ms + var(--r) * 160ms) both; }
html.anim [data-anim].is-in .hv--panel .hv__sent .bt__st { opacity: 1; animation: hv-fade 280ms ease calc(1450ms + var(--r) * 160ms) both; }
.hv--panel .tfa__nav a, .hv--panel .tfa__me b { white-space: nowrap; }
/* S-1131: the review screen keeps the height of the screen it replaces (580 px at 1440), so the held #review scene fits and scales as before */
.hv--panel .tfa__rail { padding-block: calc(6*var(--s)); }
.hv--panel .hv__main { padding: calc(10*var(--s)) calc(18*var(--s)) calc(10*var(--s)); gap: calc(6*var(--s)); }
.hv--panel .hv__t2 { margin-top: calc(2*var(--s)); }
.hv--panel .hv__need { gap: calc(5*var(--s)); }
.hv--panel .hv__nd { padding-block: calc(6*var(--s)); }
.hv--panel .hv__sent { gap: calc(5*var(--s)); }
.hv--panel .hv__sent li { padding-block: calc(5*var(--s)); }
/* W5: the step 04 figure at 1024 px wide (container under 640 px) was 22 px shorter than the screen it replaced, which raised the held scene's scale from 0.889 to 0.914 and widened the figure. The extra 21 px keeps the scene exactly as tall as it was at that width. At 1440 the height already equals the old one. */
@container (max-width: 640px) { .hv--panel .hv__main { padding-bottom: calc(31*var(--s)); } }
/* S-1131 centring and truncation fixes: the mark centres on its card, and on a phone the sent rows wrap instead of cutting the text off */
.hv__nd .comark { align-self: center; }
@media (max-width: 720px) {
  .hv__sent .bt__id b, .hv__sent .bt__id small { overflow: visible; text-overflow: clip; white-space: normal; }
}
/* the top bar of the review screen is narrow, so the profile shows its avatar only and nothing is cut off at the frame edge */
.hv--panel .tfa__me > span:last-child { display: none; }

/* =====================================================================================================================================
   Part 2, new in S-1134: the shared shell, and the components that Watch has the pieces for but no finished view (answers, rules, facts, the
   import read, the adapted resume with its cover letter, the short form, the digest). Everything is on the --u-* set and calc(N*var(--s)).
   ===================================================================================================================================== */

/* ---------- the window: the Watch frame outside the Watch player ---------- */
.ui { text-align: left; }
.ui .tfx__tab--job { display: none; }
.ui--job .tfx__tab--job { display: inline-flex; }
.ui .tfx__tab.is-on { background: rgb(249 250 252); color: var(--u-ink); font-weight: 600; box-shadow: 0 0 0 1px var(--u-rule); }
.ui--app .browser__bar, .ui--job .browser__bar { position: relative; z-index: 2; background: rgb(249 250 252); box-shadow: 0 1px 0 var(--u-rule), 0 calc(6*var(--s)) calc(8*var(--s)) calc(-6*var(--s)) rgba(11, 26, 49, .14); height: calc(40*var(--s)); }
.ui--job .tfx__ext { background: var(--u-ok-wash); box-shadow: 0 0 0 1.5px var(--u-ok); }
.ui .tfx__fav.ui__fav { display: inline-grid; flex: none; line-height: 0; vertical-align: middle; width: auto; height: auto; border-radius: 0; background: none; font-size: 0; }
.ui .tfx__tab--job .comark { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.ui--app .tfa { position: relative; z-index: 1; }
.ui__stage { position: relative; background: var(--u-1); }
.ui__panel { display: grid; gap: calc(10*var(--s)); padding: calc(14*var(--s)) calc(16*var(--s)) calc(16*var(--s)); background: var(--u-1); }
.ui__main, .ui__panel { container-type: inline-size; }
.ui__tag { margin: 0; padding: calc(8*var(--s)) calc(16*var(--s)); background: var(--u-1); box-shadow: inset 0 1px 0 var(--u-rule); font: 400 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); letter-spacing: 0; color: var(--u-slate); }
.ui__tag::before { content: ""; display: inline-block; width: calc(6*var(--s)); height: calc(6*var(--s)); margin: 0 calc(9*var(--s)) 1px 0; border-radius: 50%; background: var(--u-mute); }
/* a made up mark in its slot, the same as Watch's .wtco */
.ui--steps { display: contents; }
/* two steps in a row that are yours, the line between them is dark too */
.rc__steps li.is-you + li.is-you::before { background: var(--u-ink); }
.ui-co { display: inline-grid; flex: none; line-height: 0; vertical-align: middle; }
.ui .tfj__id .ui-co { align-self: flex-start; margin-top: calc(2*var(--s)); }
.ui .tfd__head .ui-co { align-self: flex-start; }
.ui .tfe__brand .ui-co { margin-right: calc(2*var(--s)); }
.tl__row .ui-co { grid-row: 1 / span 3; align-self: start; margin-top: 1px; }
.ui-for { display: inline-flex; align-items: center; gap: calc(9*var(--s)); min-width: 0; }
/* the rail as a top bar, for a narrow figure (the same as the S-1131 review screen) */
.ui--bar .tfa { grid-template-columns: minmax(0, 1fr); }
.ui--bar .tfa__rail { flex-direction: row; align-items: center; gap: calc(14*var(--s)); padding: calc(7*var(--s)) calc(14*var(--s)); box-shadow: inset 0 -1px 0 var(--u-rule); }
.ui--bar .tfa__nav { display: flex; gap: calc(2*var(--s)); }
.ui--bar .tfa__nav a, .ui--bar .tfa__me b { white-space: nowrap; }
.ui--bar .tfa__nav a { height: calc(28*var(--s)); }
.ui--bar .tfa__rules, .ui--bar .tfa__me small, .ui--bar .tfa__me > span:last-child { display: none; }
.ui--bar .tfa__me { margin: 0 0 auto auto; padding: 0; border: 0; }
.ui--bar .tfa__main { padding: calc(14*var(--s)) calc(18*var(--s)) calc(16*var(--s)); gap: calc(12*var(--s)); }
@media (max-width: 720px) { .ui--bar .tfa__nav { display: none; } }
/* the wide screen scaling, for a figure that gives its width at 1440 as --fbn (the legacy roots are scaled by app.css) */
@media (min-width: 1441px) {
  .ui--w { --mk: calc(1 + (min(2560, var(--fsh, 0.61) * var(--vwn)) / var(--fbn, 762) - 1) * var(--wide) * var(--mkd, 0.5)); --ws: var(--mk); --s: calc(1px * var(--mk)); }
}

/* ---------- Watch's player rules that are scoped to .wt, repeated for a static screen ---------- */
.ui .tfr__paper { max-width: none; margin: 0; padding: calc(22*var(--s)) calc(22*var(--s)) calc(18*var(--s)); font-size: calc(10.5*var(--s)); }
.ui .tfe { grid-template-columns: minmax(0, 1fr) calc(276*var(--s)); min-height: 100%; background: var(--u-0); align-items: stretch; }
.ui .tfe__panel { background: rgb(251 252 253); box-shadow: inset 1px 0 0 var(--u-rule), calc(-12*var(--s)) 0 calc(28*var(--s)) calc(-16*var(--s)) rgba(11, 26, 49, .16); padding: calc(16*var(--s)); gap: 0; }
.ui .tfe__panel .line { display: grid; gap: 1px; padding: calc(8*var(--s)) 0; }
.ui .tfe__panel .line i { text-align: left; }
.ui .tfe__status i { display: inline-flex; }
.ui .tfe__status i.is-wait { background: var(--u-need-wash); color: var(--u-need-ink); }
.ui .tfe__prog i { transform: none; transition: none; background: linear-gradient(90deg, var(--u-ok), rgb(47 190 134)); }
.ui .tfe__prog i.is-wait { background: var(--u-need); }
.ui .tfe__prog i.is-part { transform: scaleX(.89); }
.ui .tfe__yours--auto .ico { color: var(--signal); }
.ui .fld .in.warn .v.ui-ph { color: var(--u-mute); }
.ui .wt__formsubmit .wt__btn { cursor: default; }
@media (max-width: 1000px) {
  .ui .tfe, .ui .formmock { grid-template-columns: minmax(0, 1fr); }
  .ui .tfe__panel { order: -1; box-shadow: inset 0 -1px 0 var(--u-rule); }
  .ui .formmock .side .line { display: none; }
  .ui .formmock .side { padding-bottom: calc(8*var(--s)); }
  .ui .fld .in { flex-wrap: wrap; row-gap: calc(4*var(--s)); padding-top: calc(5*var(--s)); padding-bottom: calc(5*var(--s)); }
  .ui .fld .mine { white-space: normal; }
}
@media (max-width: 640px) {
  .ui .formmock label { font-size: calc(13*var(--s)); }
  .ui .fld .in, .ui .fld .file { font-size: calc(14*var(--s)); }
  .ui .fld .mine { font-size: calc(12.5*var(--s)); }
  .ui .wt__formsubmit small { font-size: calc(13*var(--s)); }
}

/* ---------- run rows in Review mode ---------- */
.bt__row--ready .bt__pipe li:nth-child(5) i::after { opacity: 0; }
.bt__id .bt__why { color: var(--u-need-ink); font-weight: 500; }
.bt__state { display: grid; gap: 1px; min-width: 0; align-content: center; }
.bt__state .bt__why { font: 500 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-need-ink); }
@container (max-width: 640px) { .bt__state { grid-column: 2; } .hv .bt__state { grid-column: 3; grid-row: 1; } }
/* Review mode: Truefill has finished its part, so the row is green like any checked state. The last dot stays open because the person has not approved it. */
.bt__st--ready { color: var(--u-ok-ink); }

/* ---------- a list of rows: answers, rules, the import read ---------- */
.ui-ans, .ui-rl, .ui-facts, .ui-imp { display: grid; gap: calc(10*var(--s)); align-content: start; }
.ui-ans__h { display: flex; align-items: baseline; justify-content: space-between; gap: calc(10*var(--s)); flex-wrap: wrap; }
.ui-ans__h > b { font: 600 calc(12.5*var(--s))/calc(14*var(--s)) var(--body); letter-spacing: .07em; text-transform: uppercase; color: var(--u-ink); }
.ui-ans__h > span { font: 400 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-slate); }
.ui-ans__foot { margin: 0; display: flex; gap: calc(8*var(--s)); align-items: flex-start; font: 400 calc(12.5*var(--s))/calc(17*var(--s)) var(--body); color: var(--u-slate); }
.ui-ans__foot .ico { flex: none; color: var(--u-ink); margin-top: calc(2*var(--s)); }
.ui-rows { display: grid; background: var(--u-0); border-radius: calc(12*var(--s)); box-shadow: var(--u-obj); overflow: hidden; min-width: 0; }
.ui-row { display: grid; grid-template-columns: minmax(0, 1.1fr) auto auto; align-items: center; gap: calc(4*var(--s)) calc(12*var(--s)); padding: calc(10*var(--s)) calc(14*var(--s)); border-top: 1px solid var(--u-rule); min-width: 0; }
.ui-row:first-child { border-top: 0; }
.ui-row__k { display: flex; align-items: center; gap: calc(7*var(--s)); min-width: 0; font: 400 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-slate); }
.ui-row__k .ico { flex: none; width: calc(14*var(--s)); height: calc(14*var(--s)); color: var(--u-slate); }
.ui-row__v { font: 600 calc(13*var(--s))/calc(17*var(--s)) var(--body); color: var(--u-ink); text-align: right; }
.ui-row__v s { font-weight: 400; color: var(--u-mute); }
.ui-row__v--chg { display: grid; justify-items: end; gap: calc(2*var(--s)); }
.ui-tag { display: inline-flex; align-items: center; gap: calc(5*var(--s)); padding: calc(2*var(--s)) calc(8*var(--s)); border-radius: calc(6*var(--s)); background: rgba(11, 26, 49, .06); font: 500 calc(12*var(--s))/calc(15*var(--s)) var(--body); color: var(--u-slate); white-space: nowrap; }
.ui-tag .ico { flex: none; width: calc(12*var(--s)); height: calc(12*var(--s)); color: var(--u-ink); }
.ui-tag--ok { background: var(--u-ok-wash); color: var(--u-ok-ink); }
.ui-tag--ok .ico { color: var(--u-ok-ink); }
.ui-tag--edit { background: var(--u-0); color: var(--u-ink); box-shadow: inset 0 0 0 1px var(--u-ink); }
.ui-tag--out { background: var(--u-0); color: var(--u-slate); box-shadow: inset 0 0 0 1px var(--u-edge); }
.ui-row--chips { grid-template-columns: calc(150*var(--s)) minmax(0, 1fr); align-items: start; }
.ui-chips { display: flex; flex-wrap: wrap; gap: calc(6*var(--s)); min-width: 0; }
.ui-chip { display: inline-flex; align-items: center; padding: calc(3*var(--s)) calc(10*var(--s)); border-radius: calc(999*var(--s)); background: var(--u-1); box-shadow: inset 0 0 0 1px var(--u-rule); font: 500 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-body); }
.ui-row--floor { grid-template-columns: calc(150*var(--s)) minmax(0, 1fr) auto; }
.ui-track { position: relative; height: calc(6*var(--s)); border-radius: calc(3*var(--s)); background: var(--u-track); }
.ui-track i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 1%); border-radius: inherit; background: var(--u-ink); }
.ui-track u { position: absolute; top: 50%; left: calc(var(--p) * 1%); width: calc(16*var(--s)); height: calc(16*var(--s)); border-radius: 50%; background: var(--u-0); box-shadow: 0 0 0 1.5px var(--u-ink), 0 1px calc(2*var(--s)) rgba(11, 26, 49, .25); transform: translate(-50%, -50%); text-decoration: none; }
.ui-perm { display: grid; gap: calc(10*var(--s)); padding: calc(12*var(--s)) calc(14*var(--s)); border-radius: calc(12*var(--s)); background: var(--u-0); box-shadow: var(--u-obj); }
.ui-perm__c { margin: 0; font: 400 calc(12.5*var(--s))/calc(17*var(--s)) var(--body); color: var(--u-slate); }
.ui-seg { display: inline-flex; flex-wrap: wrap; justify-self: start; gap: calc(2*var(--s)); padding: calc(3*var(--s)); border-radius: calc(10*var(--s)); background: rgba(11, 26, 49, .06); }
.ui-seg__o { display: inline-flex; align-items: center; gap: calc(7*var(--s)); height: calc(32*var(--s)); padding: 0 calc(14*var(--s)); border-radius: calc(8*var(--s)); font: 500 calc(13*var(--s))/1 var(--body); color: var(--u-slate); }
.ui-seg__o .ico { color: var(--u-slate); }
.ui-seg__o.is-on { background: var(--u-0); color: var(--u-ink); font-weight: 600; box-shadow: var(--u-obj); }
.ui-seg__o.is-on .ico { color: var(--u-ok); }
/* a changed answer, the question, and the rule that is saved */
.ui-ask { display: flex; align-items: center; justify-content: space-between; gap: calc(12*var(--s)); flex-wrap: wrap; padding: calc(12*var(--s)) calc(14*var(--s)); border-radius: calc(12*var(--s)); background: var(--u-0); box-shadow: inset 0 0 0 1.5px var(--u-ink); }
.ui-ask > b { font: 600 calc(13.5*var(--s))/calc(18*var(--s)) var(--body); color: var(--u-ink); }
.ui-ask__btns { display: inline-flex; gap: calc(8*var(--s)); }
.ui-btn { display: inline-flex; align-items: center; height: calc(32*var(--s)); padding: 0 calc(16*var(--s)); border-radius: calc(8*var(--s)); background: var(--u-0); box-shadow: inset 0 0 0 1px var(--u-edge); font: 600 calc(13*var(--s))/1 var(--body); color: var(--u-ink); }
.ui-btn--on { background: var(--u-ink); box-shadow: none; color: var(--u-0); }
.ui-saved { margin: 0; display: flex; align-items: center; gap: calc(8*var(--s)); padding: calc(10*var(--s)) calc(14*var(--s)); border-radius: calc(10*var(--s)); background: var(--u-ok-wash); color: var(--u-ok-ink); font: 500 calc(13*var(--s))/calc(17*var(--s)) var(--body); }
.ui-saved b { font-weight: 600; }
.ui-saved .ico { flex: none; stroke-width: 2.4; }
/* the facts a resume is written from */
.ui-rows--facts { background: none; box-shadow: none; border-radius: 0; overflow: visible; gap: calc(6*var(--s)); }
.ui-fact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: calc(4*var(--s)) calc(12*var(--s)); align-items: start; padding: calc(10*var(--s)) calc(12*var(--s)); border-radius: calc(10*var(--s)); background: var(--u-0); box-shadow: var(--u-obj); }
.ui-fact__t { display: grid; gap: calc(3*var(--s)); min-width: 0; }
.ui-fact p { margin: 0; font: 400 calc(13*var(--s))/calc(18*var(--s)) var(--body); color: var(--u-ink); text-wrap: pretty; }
.ui-fact__was { color: var(--u-mute); text-decoration: line-through; }
.ui-fact--out { background: none; box-shadow: inset 0 0 0 1px var(--u-rule); }
.ui-fact--out .ui-fact__now { color: var(--u-mute); }
/* the first read of a resume file */
.ui-imp__file { display: flex; align-items: center; gap: calc(10*var(--s)); padding: calc(8*var(--s)) calc(12*var(--s)); border-radius: calc(10*var(--s)); background: var(--u-0); box-shadow: var(--u-obj); }
.ui-imp__file > div { display: grid; gap: 1px; min-width: 0; }
.ui-imp__file b { font: 600 calc(12.5*var(--s))/calc(16*var(--s)) var(--mono); color: var(--u-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-imp__file small { font: 400 calc(12*var(--s))/calc(15*var(--s)) var(--body); color: var(--u-slate); }

/* ---------- the resume adapted for a posting, its notes and its cover letter ---------- */
.ui-adapt { display: flex; align-items: center; gap: calc(8*var(--s)); flex-wrap: wrap; font: 400 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-slate); }
.ui-adapt__h { font: 600 calc(12.5*var(--s))/calc(14*var(--s)) var(--body); letter-spacing: .07em; text-transform: uppercase; color: var(--u-ink); }
.ui-adapt__tab { display: inline-flex; align-items: center; gap: calc(7*var(--s)); height: calc(30*var(--s)); padding: 0 calc(12*var(--s)) 0 calc(8*var(--s)); border-radius: calc(8*var(--s)); background: rgba(11, 26, 49, .06); font: 500 calc(12.5*var(--s))/1 var(--body); color: var(--u-body); }
.ui-adapt__tab.is-on { background: var(--u-0); color: var(--u-ink); font-weight: 600; box-shadow: 0 0 0 1px var(--u-edge); }
.ui-adapt__n { margin-left: auto; }
.ui-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(8*var(--s)); }
.ui-notes > div { display: grid; gap: calc(2*var(--s)); align-content: start; padding: calc(10*var(--s)) calc(12*var(--s)); border-radius: calc(10*var(--s)); background: var(--u-0); box-shadow: inset 0 0 0 1px var(--u-rule); }
.ui-notes b { font: 600 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-ink); }
.ui-notes span { font: 400 calc(12.5*var(--s))/calc(17*var(--s)) var(--body); color: var(--u-slate); }
.ui-letter { display: grid; gap: calc(8*var(--s)); padding: calc(14*var(--s)) calc(16*var(--s)); border-radius: calc(12*var(--s)); background: var(--u-0); box-shadow: var(--u-obj); }
.ui-letter__h { display: flex; align-items: center; justify-content: space-between; gap: calc(10*var(--s)); flex-wrap: wrap; }
.ui-letter__h > b { font: 600 calc(12.5*var(--s))/calc(14*var(--s)) var(--body); letter-spacing: .07em; text-transform: uppercase; color: var(--u-ink); }
.ui-letter p { margin: 0; font: 400 calc(13*var(--s))/calc(19*var(--s)) var(--body); color: var(--u-body); text-wrap: pretty; }
@media (max-width: 640px) { .ui-notes { grid-template-columns: minmax(0, 1fr); } .ui-row--chips, .ui-row--floor { grid-template-columns: minmax(0, 1fr); } }
/* in a tile the tag drops under the question so a long question and a long value both have room */
@container (max-width: 470px) {
  .ui-row:not(.ui-row--chips):not(.ui-row--floor) { grid-template-columns: minmax(0, 1fr) auto; }
  .ui-row:not(.ui-row--chips):not(.ui-row--floor) > .ui-tag { grid-column: 1 / -1; justify-self: start; }
  .ui-row--chips, .ui-row--floor { grid-template-columns: calc(112*var(--s)) minmax(0, 1fr) auto; }
  .ui-row--chips { grid-template-columns: calc(112*var(--s)) minmax(0, 1fr); }
}

/* ---------- the short form for a tile, and the digest as a view ---------- */
.ui-lines { display: grid; gap: calc(10*var(--s)); padding: calc(12*var(--s)) calc(14*var(--s)); border-radius: calc(12*var(--s)); background: var(--u-0); box-shadow: var(--u-obj); }
.ui-lines__h { display: flex; align-items: baseline; justify-content: space-between; gap: calc(8*var(--s)); flex-wrap: wrap; }
.ui-lines__h > b { font: 600 calc(13.5*var(--s))/calc(18*var(--s)) var(--body); color: var(--u-ink); }
.ui-lines__h > span { font: 400 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-slate); }
.ui-lines__grid { grid-template-columns: minmax(0, 1fr); gap: calc(8*var(--s)); }
.ui-lines__foot { padding: calc(2*var(--s)) 0 0; }
.ui-dg { display: grid; gap: calc(8*var(--s)); }
.ui-dg__head { display: flex; align-items: center; gap: calc(7*var(--s)); font: 600 calc(13*var(--s))/calc(18*var(--s)) var(--body); color: var(--u-ok-ink); }
.ui-dg__list { display: grid; gap: calc(6*var(--s)); }
.ui-dg__list > div { display: grid; grid-template-columns: calc(26*var(--s)) minmax(0, 1fr) auto; gap: 0 calc(9*var(--s)); align-items: center; padding: calc(7*var(--s)) calc(10*var(--s)); border-radius: calc(10*var(--s)); background: var(--u-0); box-shadow: var(--u-obj); min-width: 0; }
.ui-dg__list--wait > div { background: var(--u-need-wash); box-shadow: inset 0 0 0 1.5px var(--u-need); }

/* ---------- entrance for a screen that is not the S-1131 pair. Finite, ends on the finished frame, opacity and transform only ---------- */
html.anim .ui[data-anim]:not(.hv):not(.is-in) :is(.bt__row, .bt__st, .bt__foot, .ui-row, .ui-fact, .tl__row, .rc, .ui-saved, .ui-ask) { opacity: 0; }
html.anim .ui[data-anim]:not(.hv):not(.is-in) .bt__pipe i::after { opacity: 0; }
html.anim .ui[data-anim].is-in:not(.hv) .bt__row { animation: hv-rise 360ms var(--e-enter, ease-out) calc(250ms + var(--r) * 220ms) both; }
html.anim .ui[data-anim].is-in:not(.hv) :is(.ui-row, .ui-fact, .tl__row) { animation: hv-rise 360ms var(--e-enter, ease-out) calc(250ms + var(--k) * 220ms) both; }
html.anim .ui[data-anim].is-in:not(.hv) .rc { animation: rc-rise 420ms var(--e-enter, ease-out) both; }
html.anim .ui[data-anim].is-in:not(.hv) .bt__pipe i::after { animation: hv-dot 240ms var(--e-commit, ease-out) calc(550ms + var(--r) * 220ms + var(--k) * 180ms) both; }
html.anim .ui[data-anim].is-in:not(.hv) .bt__st { animation: hv-fade 320ms ease calc(550ms + var(--r) * 220ms + 1100ms) both; }
html.anim .ui[data-anim].is-in:not(.hv) .bt__foot { animation: hv-fade 400ms ease 2200ms both; }
html.anim .ui[data-anim].is-in:not(.hv) :is(.ui-ask, .ui-saved) { animation: hv-fade 400ms ease 900ms both; }
html.anim .ui[data-anim].is-in:not(.hv) .rc__steps i { animation: rc-pop 360ms var(--e-commit, ease-out) calc(300ms + var(--k) * 170ms) both; }
html.anim .ui[data-anim].is-in:not(.hv) .rc__seal { animation: rc-pop 420ms var(--e-commit, ease-out) 120ms both; }

/* ===== S-1134 refine: the Autonomous section screen (R6) =====
   The original dashboard (.au, app.css) in the standard shell. The shell's top bar is the app bar, so main carries no padding of its own (the dashboard rows set theirs). The rules are the shared chips and today's run is the shared run
   rows, so the card names are .au__chips and .au__run and not the old .au__rules that app.css styles as a two column list. */
.ui--bar .tfa__main.au__main { padding: 0; gap: 0; display: block; }
.au__chips { --c: 600ms; }
.au__chips .bt__rules { margin: 0; padding: 0; gap: calc(6*var(--s)); }
.au__run { --c: 12400ms; container-type: inline-size; }
.au__run .bt__rows { gap: calc(6*var(--s)); }
.au__mode .au__seg--r { color: var(--u-slate); font-weight: 500; }
html.anim [data-anim] .au__run .bt__row { opacity: 0; }
html.anim [data-anim].is-in .au__run .bt__row { opacity: 1; animation: none; transition: opacity 260ms var(--e-soft) calc(12500ms + var(--r) * 240ms); }
@media (max-width: 720px) { .au__chips { order: 1; } }
.au__foot { padding: 0 calc(18*var(--s)) calc(16*var(--s)); background: var(--u-1); }

/* ===== S-1134 refine: Home step 03, an employer's form filled and read back by Truefill alone (R9) =====
   state auto of ui/form.html. Every field fills in turn (the base rules at the field, app.css) and each is read back after, then the progress bar fills. It ends on the finished frame: every field confirmed. */
html.anim [data-anim]:not(.is-in) .ui-form--auto .tfe__prog i { transform: scaleX(.04); }
html.anim [data-anim].is-in .ui-form--auto .tfe__prog i { transform: none; transition: transform 4200ms linear 300ms; transform-origin: left center; }
.ui-form--auto .tfe__prog i { transform-origin: left center; }

/* ===== S-1134 refine: the resume as a full one page document (R8) =====
   A person with a summary is drawn as the page itself, US Letter proportion (17 by 22), with every length in em. The page's font size is its own width over 53, taken from the
   container (the paper's wrap), so the page scales as one piece like a preview in a viewer and never reflows or overflows: the same text, the same line breaks, at any width.
   Only the sentences chosen for the posting (li.hl) carry the green wash. */
.tfr__paperwrap { container-type: inline-size; }
.ui .tfr__paper.tfr__paper--page { font-size: calc(100cqw / 53); line-height: 1.4; aspect-ratio: 17 / 22; max-width: none; margin: 0; padding: 3.1em 3.4em 2.6em; overflow: hidden; border-radius: .5em; color: var(--u-ink); display: block; }
.tfr__paper--page h6 { font: 700 2.3em/1.15 var(--body); letter-spacing: -.02em; margin: 0; }
.tfr__paper--page .rtitle { font: 600 1.1em/1.3 var(--body); color: var(--u-body); margin: .3em 0 0; }
.tfr__paper--page .rcontact { font: 400 .92em/1.3 var(--body); color: var(--u-slate); margin: .25em 0 0; }
.tfr__paper--page .rsec { font: 700 .86em/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--u-ink); border-bottom: .08em solid var(--u-edge); padding-bottom: .25em; margin: 1.15em 0 .5em; display: block; }
.tfr__paper--page p { margin: 0 0 .35em; font: 400 1em/1.4 var(--body); color: var(--u-body); }
.tfr__paper--page .rrole { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; font: 700 1.06em/1.35 var(--body); color: var(--u-ink); margin-top: .65em; }
.tfr__paper--page .rrole span:last-child { font-weight: 500; color: var(--u-slate); white-space: nowrap; }
.tfr__paper--page .rorg { font: 400 1em/1.3 var(--body); font-style: italic; color: var(--u-slate); margin-bottom: .1em; }
.tfr__paper--page ul { margin: .2em 0 0; padding-left: 1.3em; }
.tfr__paper--page li { margin: 0 0 .2em; padding: 0 .3em; margin-left: -.3em; border-radius: .3em; font: 400 1em/1.4 var(--body); color: var(--u-body); }
.tfr__paper--page .tfr__list li { padding: 0 .3em; margin-left: -.3em; border-radius: .3em; }
.tfr__paper--page .tfr__list li:not(.hl)::before { content: none; }
.tfr__paper--page .tfr__list li.hl::before { border-radius: .3em; }
.tfr__paper--page p:first-of-type { margin-top: 0; }
.tl__sw { display: grid; gap: 1px; }
.tl__why { font: 500 calc(12.5*var(--s))/calc(16*var(--s)) var(--body); color: var(--u-need-ink); }

/* ===== S-1134 refine: Home step 04, the tracker and the receipt side by side (R10) ===== */
.ui-keep { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: calc(14*var(--s)); align-items: start; }
.ui-keep .rc__ans li { grid-template-columns: calc(86*var(--s)) minmax(0, 1fr) auto; }
.ui-keep .rc__ans li > b { overflow: hidden; text-overflow: ellipsis; }
.ui-keep .rc__ans li > em { white-space: normal; max-width: calc(120*var(--s)); }
.ui-keep__dg { margin: calc(12*var(--s)) 0 0; grid-template-columns: minmax(0, 1fr); }
@media (max-width: 720px) { .ui-keep { grid-template-columns: minmax(0, 1fr); } }
.tfr--page .tfr__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.tfr--page .tfr__paperwrap { padding: calc(12*var(--s)); }
@media (max-width: 720px) { .tfr--page .tfr__grid { grid-template-columns: minmax(0, 1fr); } }
.au__card .au__paper h6 { margin: 0; font: 700 calc(16*var(--s))/1.15 var(--body); letter-spacing: -.02em; text-transform: none; color: var(--u-ink); }

/* the step 04 screen is taller now (the tracker and a receipt), so on a wide window its column is as wide as the other tall figures' (the hold scales a tall figure down, so its column must be wider to keep its share) */
@media (min-width: 1441px) {
  #review.feat--flip.feat--wide { --fwx: min(var(--fig-cap), calc(61vw * var(--wide) * 1.18)); grid-template-columns: minmax(0, max(var(--fb), var(--fwx))) minmax(0, 1fr); }
}
