/* ============================================================
   SIGN-OFFS — THE REGISTER (v4 design, 2026-07)
   Light, filterable catalogue: progress card, placement tabs,
   state chips, signable-here band, register rows.
   Scoped to body.forms-page; approved mockup:
   docs/student-signoffs-path.html
   ============================================================ */

body.app-dashboard.forms-page {
  --sor-brand: #1f6fd6;
  --sor-brand-2: #1559b0;
  --sor-brand-tint: #eaf2fd;
  --sor-ink: #16233f;
  --sor-slate: #5d6b84;
  --sor-mist: #8a97ad;
  --sor-line: #e9edf4;
  --sor-line-soft: #f1f4f9;
  --sor-ground: #f6f8fc;
  --sor-clinic: #0d9488;
  --sor-green: #1a9e54;
  --sor-green-t: #e4f5eb;
  --sor-amber-ink: #b96f0c;
  --sor-amber-t: #fdf1df;
  --sor-site: #3fc1b4;
  --sor-sh: 0 1px 2px rgba(20, 33, 64, 0.04), 0 2px 8px rgba(20, 33, 64, 0.05);
  --sor-display: var(--font-application-display);
}

body.app-dashboard.forms-page .forms-title-block h1 {
  font-family: var(--sor-display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--sor-ink);
}

body.app-dashboard.forms-page .forms-subtitle {
  color: var(--sor-slate);
  font-size: 13.5px;
}

/* ---- progress card: both counts, quiet meters ---- */
body.app-dashboard.forms-page .sor-progress {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid var(--sor-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--sor-sh);
  margin-top: 14px;
  overflow: hidden;
}

body.app-dashboard.forms-page .sor-prog {
  padding: 15px 20px 17px;
}

body.app-dashboard.forms-page .sor-prog + .sor-prog {
  border-left: 1px solid var(--sor-line-soft);
}

body.app-dashboard.forms-page .sor-prog-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sor-mist);
}

body.app-dashboard.forms-page .sor-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: var(--sor-site);
}

body.app-dashboard.forms-page .sor-dot--ink {
  background: var(--sor-ink);
}

body.app-dashboard.forms-page .sor-prog-stat {
  margin: 7px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--sor-ink);
  font-variant-numeric: tabular-nums;
}

body.app-dashboard.forms-page .sor-prog-stat span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sor-slate);
}

body.app-dashboard.forms-page .sor-meter {
  height: 3px;
  background: var(--sor-line);
  border-radius: 3px;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

body.app-dashboard.forms-page .sor-meter-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 3px;
  background: var(--sor-site);
  transition: width 0.35s ease;
}

body.app-dashboard.forms-page .sor-meter-fill--ink {
  background: var(--sor-ink);
}

body.app-dashboard.forms-page .sor-meter .sor-seg-mark {
  position: absolute;
  top: -1px;
  bottom: -1px;
  width: 2px;
  background: #fff;
}

/* ---- placement tabs: the year in one row ---- */
body.app-dashboard.forms-page .sor-ptabs {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}

body.app-dashboard.forms-page .sor-ptab {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--sor-line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sor-slate);
  cursor: pointer;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
}

body.app-dashboard.forms-page .sor-ptab i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: var(--sor-ptab-dot, #7db4f0);
}

body.app-dashboard.forms-page .sor-ptab b {
  font-weight: 500;
  color: inherit;
}

body.app-dashboard.forms-page .sor-ptab.is-active {
  background: var(--sor-brand-tint);
  border-color: #bcd6f5;
  color: var(--sor-brand-2);
}

/* ---- filter row ---- */
body.app-dashboard.forms-page .sor-filters {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  align-items: center;
  flex-wrap: wrap;
}

body.app-dashboard.forms-page .sor-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

body.app-dashboard.forms-page .sor-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--sor-line);
  background: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--sor-slate);
  cursor: pointer;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
}

body.app-dashboard.forms-page .sor-chip .forms-count {
  color: inherit;
  font-weight: 500;
}

body.app-dashboard.forms-page .sor-chip .forms-count:empty {
  display: none;
}

body.app-dashboard.forms-page .sor-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
  background: var(--sor-site);
}

body.app-dashboard.forms-page .sor-chip.is-active {
  background: var(--sor-ink);
  border-color: var(--sor-ink);
  color: #fff;
}

/* ---- signable here: the slim accelerator ---- */
body.app-dashboard.forms-page .sor-today {
  margin-top: 16px;
  border: 1px solid #bfe3de;
  background: linear-gradient(180deg, #f2fbf9, #fff 80%);
  border-radius: 14px;
  box-shadow: var(--sor-sh);
  overflow: hidden;
}

body.app-dashboard.forms-page .sor-today-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 2px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sor-clinic);
}

body.app-dashboard.forms-page .sor-today-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sor-clinic);
  animation: sor-pulse 2.2s infinite;
}

body.app-dashboard.forms-page .sor-today-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 18px;
}

body.app-dashboard.forms-page .sor-today-row + .sor-today-row {
  border-top: 1px dashed #d3ece7;
}

body.app-dashboard.forms-page .sor-today-row p {
  flex: 1;
  font-size: 13px;
  color: var(--sor-slate);
  line-height: 1.45;
  min-width: 0;
  margin: 0;
}

body.app-dashboard.forms-page .sor-today-row p b {
  color: var(--sor-ink);
  font-weight: 700;
}

body.app-dashboard.forms-page .sor-btn-req {
  display: inline-block;
  border: 0;
  border-radius: 9px;
  padding: 8px 15px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, #3585e6, var(--sor-brand) 48%, var(--sor-brand-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 5px 14px rgba(31, 111, 214, 0.3);
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}

/* ---- the register ---- */
body.app-dashboard.forms-page .sor-register {
  margin-top: 20px;
  border: 1px solid var(--sor-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--sor-sh);
  overflow: hidden;
}

body.app-dashboard.forms-page .sor-group-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 15px 18px 7px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sor-mist);
}

body.app-dashboard.forms-page .sor-group-head b {
  color: var(--sor-slate);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

body.app-dashboard.forms-page .sor-group-head .sor-group-chip {
  margin-left: 4px;
  font-size: 9px;
  letter-spacing: 0.06em;
  border: 1px solid #bcd6f5;
  background: var(--sor-brand-tint);
  color: var(--sor-brand-2);
  border-radius: 999px;
  padding: 1.5px 8px;
}

body.app-dashboard.forms-page .sor-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1.15fr) minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  padding: 11px 18px;
  border-top: 1px solid var(--sor-line-soft);
  cursor: pointer;
}

body.app-dashboard.forms-page .sor-row:hover,
body.app-dashboard.forms-page .sor-row.is-selected {
  background: #fbfcfe;
}

body.app-dashboard.forms-page .sor-mark {
  width: 17px;
  height: 17px;
  position: relative;
  flex: none;
  justify-self: center;
  border-radius: 50%;
}

body.app-dashboard.forms-page .sor-mark--done {
  background: var(--sor-green);
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.app-dashboard.forms-page .sor-mark--sent {
  border: 2px solid var(--sor-brand);
}

body.app-dashboard.forms-page .sor-mark--sent::after {
  content: "";
  position: absolute;
  inset: 3.5px;
  border-radius: 50%;
  background: var(--sor-brand);
}

body.app-dashboard.forms-page .sor-mark--draft {
  border: 2px solid #9fc4ef;
  background: linear-gradient(0deg, #7fb1ea 50%, transparent 50%);
}

body.app-dashboard.forms-page .sor-mark--todo {
  border: 1.5px dashed #b7c3d7;
}

body.app-dashboard.forms-page .sor-row-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

body.app-dashboard.forms-page .sor-row-title b {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--sor-ink);
}

body.app-dashboard.forms-page .sor-row--todo .sor-row-title b {
  color: var(--sor-slate);
  font-weight: 700;
}

body.app-dashboard.forms-page .sor-tag {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sor-mist);
  border: 1px solid var(--sor-line);
  border-radius: 4px;
  padding: 1px 6px;
  white-space: nowrap;
}

body.app-dashboard.forms-page .sor-tag--today {
  color: #0b7a70;
  border-color: #bfe3de;
  background: #e9f7f5;
}

body.app-dashboard.forms-page .sor-tag--returned {
  color: var(--sor-amber-ink);
  border-color: #f3ddb8;
  background: var(--sor-amber-t);
}

body.app-dashboard.forms-page .sor-row-meta {
  font-size: 12.5px;
  color: var(--sor-slate);
  min-width: 0;
  font-variant-numeric: tabular-nums;
}

body.app-dashboard.forms-page .sor-row-meta em {
  font-style: normal;
  color: var(--sor-mist);
}

body.app-dashboard.forms-page .sor-row-act {
  justify-self: end;
}

body.app-dashboard.forms-page .sor-btn-ghost {
  display: inline-block;
  border: 1px solid var(--sor-line);
  border-radius: 999px;
  background: #fff;
  padding: 6px 13px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sor-brand-2);
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}

body.app-dashboard.forms-page .sor-btn-ghost:disabled {
  color: var(--sor-mist);
  cursor: default;
}

body.app-dashboard.forms-page .sor-register .forms-empty {
  padding: 26px 18px;
  color: var(--sor-mist);
  font-size: 13px;
  text-align: center;
}

/* ---- detail drawer refresh (existing structure, register skin) ---- */
body.app-dashboard.forms-page .forms-side {
  border: 1px solid var(--sor-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--sor-sh);
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  body.app-dashboard.forms-page .sor-progress {
    grid-template-columns: 1fr;
  }

  body.app-dashboard.forms-page .sor-prog + .sor-prog {
    border-left: 0;
    border-top: 1px solid var(--sor-line-soft);
  }

  body.app-dashboard.forms-page .sor-row {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    row-gap: 6px;
  }

  body.app-dashboard.forms-page .sor-mark {
    margin-top: 2px;
  }

  body.app-dashboard.forms-page .sor-row-meta {
    grid-column: 2;
    font-size: 12px;
  }

  body.app-dashboard.forms-page .sor-row-act {
    grid-column: 2;
    justify-self: start;
  }

  body.app-dashboard.forms-page .sor-today-row {
    flex-wrap: wrap;
  }

  body.app-dashboard.forms-page .sor-today-row p {
    flex: 1 1 100%;
  }
}

@keyframes sor-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  body.app-dashboard.forms-page .sor-today-kicker i {
    animation: none;
  }
}

/* ============================================================
   FORM EDITOR — the document, not the wizard (fce-*)
   One scrollable page inside the continue overlay: rail with
   section marks, prefilled details strip, send-off finale.
   ============================================================ */

body.app-dashboard.forms-page .forms-continue-modal {
  display: flex;
  flex-direction: column;
  width: min(1020px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  background: var(--sor-ground);
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
}

body.app-dashboard.forms-page .fce-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 22px;
  background: #fff;
  border-bottom: 1px solid var(--sor-line);
  flex: none;
}

body.app-dashboard.forms-page .fce-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sor-slate);
  border: 1px solid var(--sor-line);
  border-radius: 999px;
  padding: 6px 13px;
  background: #fff;
  white-space: nowrap;
  cursor: pointer;
}

body.app-dashboard.forms-page .fce-title {
  min-width: 0;
}

body.app-dashboard.forms-page .fce-title-row {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

body.app-dashboard.forms-page .fce-title-row h2 {
  font-family: var(--sor-display);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--sor-ink);
  margin: 0;
}

body.app-dashboard.forms-page .fce-stamp {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sor-slate);
  border: 1.5px solid currentColor;
  border-radius: 4px;
  padding: 1px 6px;
  transform: rotate(-2deg);
  opacity: 0.7;
}

body.app-dashboard.forms-page .forms-continue-pill {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 2.5px 9px;
  background: var(--sor-brand-tint);
  color: var(--sor-brand-2);
}

body.app-dashboard.forms-page .fce-attempt {
  background: var(--sor-ground);
  color: var(--sor-slate);
  border: 1px solid var(--sor-line);
}

body.app-dashboard.forms-page .fce-sub {
  font-size: 11.5px;
  color: var(--sor-mist);
  margin: 2px 0 0;
}

body.app-dashboard.forms-page .fce-head-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

body.app-dashboard.forms-page .fce-save {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sor-mist);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.app-dashboard.forms-page .fce-save .forms-autosave-indicator {
  color: #c3cfe2;
  font-size: 10px;
}

body.app-dashboard.forms-page .fce-save .forms-autosave-indicator.is-saved {
  color: var(--sor-green);
}

body.app-dashboard.forms-page .fce-save .forms-autosave-indicator.is-saving {
  color: var(--sor-brand);
}

body.app-dashboard.forms-page .fce-save .forms-autosave-indicator.is-error {
  color: #e0493b;
}

body.app-dashboard.forms-page .fce-menu-wrap {
  position: relative;
}

body.app-dashboard.forms-page .fce-menu {
  width: 30px;
  height: 30px;
  border: 1px solid var(--sor-line);
  border-radius: 8px;
  background: #fff;
  color: var(--sor-slate);
  font-weight: 600;
  cursor: pointer;
}

body.app-dashboard.forms-page .fce-menu-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--sor-line);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(20, 33, 64, 0.16);
  padding: 6px;
  display: grid;
  gap: 2px;
  min-width: 170px;
  z-index: 30;
}

body.app-dashboard.forms-page .fce-menu-pop button {
  border: 0;
  background: none;
  text-align: left;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sor-ink);
  padding: 8px 10px;
  border-radius: 7px;
  cursor: pointer;
}

body.app-dashboard.forms-page .fce-menu-pop button:hover {
  background: var(--sor-ground);
}

body.app-dashboard.forms-page .fce-menu-pop .fce-danger {
  color: #c43a2e;
}

/* banner: returned / in review / signed */
body.app-dashboard.forms-page .fce-banner {
  margin: 14px 22px 0;
  border: 1px solid #bcd6f5;
  background: var(--sor-brand-tint);
  border-radius: 12px;
  padding: 11px 16px;
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 13px;
  color: var(--sor-ink);
  line-height: 1.5;
  flex: none;
}

body.app-dashboard.forms-page .fce-banner p {
  margin: 0;
  flex: 1;
  min-width: 0;
}

body.app-dashboard.forms-page .fce-banner b {
  font-weight: 700;
}

body.app-dashboard.forms-page .fce-banner a {
  font-size: 12px;
  font-weight: 600;
  color: var(--sor-brand-2);
  white-space: nowrap;
  cursor: pointer;
}

body.app-dashboard.forms-page .fce-banner--signed {
  border-color: #bfe3cf;
  background: var(--sor-green-t);
}

/* body: rail + document */
body.app-dashboard.forms-page .fce-body {
  flex: 1;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 22px 26px;
  align-items: start;
}

body.app-dashboard.forms-page .fce-rail {
  position: sticky;
  top: 0;
}

body.app-dashboard.forms-page .fce-rail-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sor-mist);
  margin-bottom: 10px;
}

body.app-dashboard.forms-page .forms-continue-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 0;
  border: 0;
  background: none;
  align-items: start;
}

body.app-dashboard.forms-page .forms-continue-step {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sor-slate);
  border: 0;
  background: none;
  box-shadow: none;
  text-align: left;
  cursor: pointer;
  width: 100%;
  min-height: 0;
  min-width: 0;
}

body.app-dashboard.forms-page .forms-continue-step::before,
body.app-dashboard.forms-page .forms-continue-step::after {
  display: none;
}

body.app-dashboard.forms-page .forms-continue-step.is-active,
body.app-dashboard.forms-page .forms-continue-step.is-active.is-done {
  background: #fff;
  box-shadow: var(--sor-sh);
  color: var(--sor-ink);
  font-weight: 600;
  border: 0;
}

body.app-dashboard.forms-page .forms-continue-step.is-done {
  background: none;
  border: 0;
  color: var(--sor-slate);
}

body.app-dashboard.forms-page .forms-continue-step-status {
  color: #b7c3d7;
  font-size: 13px;
  flex: none;
}

body.app-dashboard.forms-page .forms-continue-step.is-done .forms-continue-step-status {
  color: var(--sor-green);
}

body.app-dashboard.forms-page .fce-rail-req {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--sor-slate);
  font-weight: 600;
  line-height: 1.5;
  border-top: 1px solid var(--sor-line);
  padding-top: 12px;
}

/* document column */
body.app-dashboard.forms-page .forms-continue-body {
  display: grid;
  gap: 14px;
}

body.app-dashboard.forms-page .fce-strip {
  background: #fff;
  border: 1px solid var(--sor-line);
  border-radius: 14px;
  box-shadow: var(--sor-sh);
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

body.app-dashboard.forms-page .fce-strip p {
  font-size: 13px;
  color: var(--sor-slate);
  flex: 1;
  min-width: 0;
  margin: 0;
  line-height: 1.5;
}

body.app-dashboard.forms-page .fce-strip p b {
  color: var(--sor-ink);
  font-weight: 700;
}

body.app-dashboard.forms-page .fce-edit {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sor-brand-2);
  border: 1px solid var(--sor-line);
  border-radius: 999px;
  background: #fff;
  padding: 5px 12px;
  white-space: nowrap;
  cursor: pointer;
}

body.app-dashboard.forms-page .forms-continue-panel {
  background: #fff;
  border: 1px solid var(--sor-line);
  border-radius: 14px;
  box-shadow: var(--sor-sh);
  padding: 18px 22px 20px;
}

body.app-dashboard.forms-page .forms-continue-panel.fce-collapsed {
  display: none;
}

body.app-dashboard.forms-page .forms-continue-panel h3 {
  font-family: var(--sor-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--sor-ink);
}

body.app-dashboard.forms-page .forms-continue-panel > .note {
  font-size: 12.5px;
  color: var(--sor-slate);
  margin-top: 4px;
  line-height: 1.5;
}

/* send-off finale */
body.app-dashboard.forms-page .forms-continue-panel.fce-send {
  border: 1.5px solid #bcd6f5;
  background: linear-gradient(180deg, #f7faff, #fff 70%);
}

body.app-dashboard.forms-page .fce-quickpick {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

body.app-dashboard.forms-page .fce-quickpick:empty {
  display: none;
}

body.app-dashboard.forms-page .fce-person {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--sor-line);
  border-radius: 999px;
  background: #fff;
  padding: 5px 14px 5px 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sor-slate);
  cursor: pointer;
}

body.app-dashboard.forms-page .fce-person.on {
  border-color: var(--sor-brand);
  box-shadow: 0 0 0 1px var(--sor-brand);
  color: var(--sor-ink);
}

body.app-dashboard.forms-page .fce-person .fce-avatar {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--sor-brand-tint);
  color: var(--sor-brand-2);
  font-size: 9.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

body.app-dashboard.forms-page .fce-person small {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--sor-mist);
}

body.app-dashboard.forms-page .fce-send-next {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--sor-slate);
  line-height: 1.55;
  border-top: 1px dashed #d5e3f6;
  padding-top: 13px;
}

body.app-dashboard.forms-page .fce-send-next b {
  color: var(--sor-ink);
  font-weight: 700;
}

body.app-dashboard.forms-page .fce-send-cta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

body.app-dashboard.forms-page .fce-send-btn {
  font-size: 13.5px;
  padding: 11px 20px;
  border-radius: 11px;
}

/* footer */
body.app-dashboard.forms-page .fce-foot {
  flex: none;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--sor-line);
  padding: 11px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

body.app-dashboard.forms-page .fce-foot-note {
  font-size: 11.5px;
  color: var(--sor-mist);
  font-weight: 600;
}

body.app-dashboard.forms-page .fce-spacer {
  flex: 1;
}

body.app-dashboard.forms-page .fce-foot-req {
  font-size: 12px;
  font-weight: 600;
  color: var(--sor-slate);
}

body.app-dashboard.forms-page .forms-continue-status-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--sor-mist);
}

body.app-dashboard.forms-page .forms-continue-status-text.is-error {
  color: #c43a2e;
}

body.app-dashboard.forms-page .forms-continue-status-text.is-success {
  color: var(--sor-green);
}

@media (max-width: 860px) {
  body.app-dashboard.forms-page .forms-continue-modal {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
  }

  body.app-dashboard.forms-page .fce-body {
    grid-template-columns: 1fr;
  }

  body.app-dashboard.forms-page .fce-rail {
    position: static;
  }

  body.app-dashboard.forms-page .forms-continue-steps {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }

  body.app-dashboard.forms-page .forms-continue-step {
    width: auto;
    border: 1px solid var(--sor-line);
    background: #fff;
  }

  body.app-dashboard.forms-page .fce-rail-label,
  body.app-dashboard.forms-page .fce-rail-req {
    display: none;
  }

  body.app-dashboard.forms-page .fce-head {
    flex-wrap: wrap;
  }

  body.app-dashboard.forms-page .fce-head-right {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }

  body.app-dashboard.forms-page .fce-foot-note {
    display: none;
  }
}

/* drawer retired — the register runs full width, rows open the editor */
body.app-dashboard.forms-page .forms-layout {
  display: block;
}

body.app-dashboard.forms-page .forms-main {
  width: 100%;
  max-width: none;
}

/* editor: guidance + signed feedback panels */
body.app-dashboard.forms-page .fce-guide,
body.app-dashboard.forms-page .fce-feedback {
  background: #fff;
  border: 1px solid var(--sor-line);
  border-radius: 14px;
  box-shadow: var(--sor-sh);
  padding: 14px 18px 15px;
}

body.app-dashboard.forms-page .fce-guide {
  background: #fbfcfe;
}

body.app-dashboard.forms-page .fce-guide-kicker {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sor-mist);
  margin-bottom: 7px;
}

body.app-dashboard.forms-page .fce-guide p {
  font-size: 12.5px;
  color: var(--sor-slate);
  line-height: 1.55;
  margin: 0 0 7px;
}

body.app-dashboard.forms-page .fce-guide ul {
  margin: 0;
  padding-left: 17px;
  display: grid;
  gap: 4px;
}

body.app-dashboard.forms-page .fce-guide li {
  font-size: 12.5px;
  color: var(--sor-slate);
  line-height: 1.5;
}

body.app-dashboard.forms-page .fce-feedback {
  border-color: #bfe3cf;
}

body.app-dashboard.forms-page .fce-rates {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

body.app-dashboard.forms-page .fce-rate {
  font-size: 11.5px;
  font-weight: 600;
  border: 1px solid var(--sor-line);
  background: var(--sor-ground);
  border-radius: 999px;
  padding: 4px 11px;
  color: var(--sor-slate);
}

body.app-dashboard.forms-page .fce-rate b {
  color: var(--sor-green);
  font-weight: 700;
}

body.app-dashboard.forms-page .fce-rate b.fce-rate--above,
body.app-dashboard.forms-page .fce-rate b.fce-rate--positive {
  color: var(--sor-brand-2);
}

body.app-dashboard.forms-page .fce-rate b.fce-rate--below,
body.app-dashboard.forms-page .fce-rate b.fce-rate--warning {
  color: var(--sor-amber-ink);
}

body.app-dashboard.forms-page .fce-quote {
  border-left: 3px solid #cdeeda;
  padding: 2px 0 2px 12px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--sor-ink);
  line-height: 1.55;
}

body.app-dashboard.forms-page .fce-quote small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sor-mist);
  margin-bottom: 3px;
}

/* page head: title left, record export right */
body.app-dashboard.forms-page .forms-page-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

body.app-dashboard.forms-page .sor-export {
  margin-top: 6px;
}

/* sent-banner quick actions */
body.app-dashboard.forms-page .fce-banner a + a {
  margin-left: 12px;
}

/* ===== v5 ink ledger (Oscar-approved mockup ink-ledger-v5) ===== */
.forms-page-meta { align-items: center; }
.sor-funnel {
  flex: none; width: 44px; height: 44px; border-radius: 13px;
  background: #fff; border: 1px solid var(--pf-line, #e9edf4);
  display: grid; place-items: center; position: relative; cursor: pointer;
}
.sor-funnel svg { width: 19px; height: 19px; color: var(--pf-ink-2, #5d6b84); }
.sor-funnel-dot {
  position: absolute; top: 9px; right: 9px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--pf-brand, #1f6fd6); text-decoration: none;
}
.sor-scopeline {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: var(--pf-ink-2, #5d6b84);
  margin: 0 2px 12px;
}
.sor-scopeline b { color: var(--pf-brand, #1f6fd6); }
.sor-scopeline-x {
  margin-left: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: #eef1f6; border: none; cursor: pointer;
  display: grid; place-items: center; font-size: 9px; color: var(--pf-ink-2, #5d6b84);
}

/* the signature slip */
.sor-slip {
  position: relative; background: #fff; border: 1px solid var(--pf-line, #e9edf4);
  border-radius: 18px; padding: 16px 16px 15px; margin-bottom: 16px;
  box-shadow: 0 16px 38px -24px rgba(8, 31, 71, 0.4); overflow: hidden;
}
.sor-slip::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #3fc1b4, #0d9488);
}
.sor-slip-kick {
  display: flex; align-items: center; gap: 7px; margin: 0 0 9px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: #0d9488;
}
.sor-slip-kick i { width: 7px; height: 7px; border-radius: 50%; background: #0d9488; }
.sor-slip-title { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 3px; }
.sor-slip-where { font-size: 12.5px; color: var(--pf-ink-2, #5d6b84); margin: 0 0 16px; line-height: 1.5; }
.sor-slip-line { position: relative; border-bottom: 1.5px solid #cdd6e4; margin: 0 2px 13px; height: 30px; }
.sor-slip-line svg { position: absolute; left: 2px; bottom: 2px; height: 22px; width: 74px; color: #c3cddd; }
.sor-slip-line span {
  position: absolute; right: 0; bottom: 5px; font-size: 10px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: #b6c1d4;
}
.sor-slip-btn {
  display: block; width: 100%; text-align: center; border: none; cursor: pointer;
  background: linear-gradient(180deg, #3585e6, var(--pf-brand, #1f6fd6) 60%, var(--pf-brand-2, #1559b0));
  color: #fff; font: inherit; font-size: 14.5px; font-weight: 600;
  border-radius: 12px; padding: 13px;
  box-shadow: 0 12px 24px -12px rgba(31, 111, 214, 0.6);
}
.sor-slip-more { font-size: 12px; font-weight: 600; color: var(--pf-ink-2, #5d6b84); text-align: center; margin: 10px 0 0; }
.sor-slip-more b { color: var(--pf-brand, #1f6fd6); }

/* sectioned ledger */
.sor-sect {
  position: sticky; top: 0; z-index: 4;
  background: rgba(246, 248, 252, 0.94);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--pf-ink-3, #8a97ad); padding: 8px 2px;
}
.sor-sect b { color: var(--pf-ink, #16233f); font-size: 11px; }
.sor-sect-rows {
  background: #fff; border: 1px solid var(--pf-line, #e9edf4);
  border-radius: 16px; overflow: hidden; margin-bottom: 16px;
}
.sor-sect-rows .sor-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; border: none; border-top: 1px solid var(--pf-line, #e9edf4);
  border-radius: 0; background: none; box-shadow: none; margin: 0; cursor: pointer;
}
.sor-sect-rows .sor-row:first-child { border-top: none; }
.sor-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sor-row-title { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.sor-row-title em { font-style: normal; font-weight: 600; color: var(--pf-ink-3, #8a97ad); font-size: 12.5px; }
.sor-row-meta { font-size: 12px; color: var(--pf-ink-2, #5d6b84); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sor-chev { flex: none; color: #c3cddd; font-size: 16px; }
.sor-sig { flex: none; width: 30px; height: 22px; color: #22357c; }
.sor-mark--now { border: 2px solid #0d9488; color: #0d9488; }
.sor-mark--ret { border: 2px solid #d98324; color: #d98324; font-weight: 600; }
.sor-mark--wait { border: 2px solid #d9a514; color: #b8890a; font-weight: 600; }

/* evidence file link */
.sor-evlink {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--pf-line, #e9edf4); border-radius: 13px;
  padding: 12px 14px; font-size: 13px; font-weight: 600; color: var(--pf-ink, #16233f);
  text-decoration: none; margin-top: 2px;
}
.sor-evlink span { display: flex; align-items: center; gap: 8px; }
.sor-evlink i {
  font-style: normal; width: 24px; height: 24px; border-radius: 8px;
  background: #fdf6df; display: grid; place-items: center; font-size: 12px;
}
.sor-evlink b { color: #c3cddd; font-weight: 700; }

/* funnel sheet pills (rides the pp-sheet family) */
.sor-fs-lab {
  font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--pf-ink-3, #8a97ad); margin: 14px 2px 8px;
}
.sor-fs-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sor-fs-pill {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  border: 1px solid var(--pf-line, #e9edf4); background: #fff; border-radius: 999px;
  padding: 9px 15px; font: inherit; font-size: 13px; font-weight: 500; color: var(--pf-ink-2, #5d6b84);
}
.sor-fs-pill em { font-style: normal; color: var(--pf-ink-3, #8a97ad); font-weight: 500; font-variant-numeric: tabular-nums; }
.sor-fs-pill.is-on { background: var(--pf-brand, #1f6fd6); border-color: var(--pf-brand, #1f6fd6); color: #fff; }
.sor-fs-pill.is-on em { color: rgba(255, 255, 255, 0.8); }
.sor-fs-apply {
  display: block; width: 100%; text-align: center; border: none; cursor: pointer; margin-top: 18px;
  background: linear-gradient(180deg, #3585e6, var(--pf-brand, #1f6fd6) 60%, var(--pf-brand-2, #1559b0));
  color: #fff; font: inherit; font-size: 14.5px; font-weight: 600;
  border-radius: 13px; padding: 14px;
  box-shadow: 0 12px 24px -12px rgba(31, 111, 214, 0.6);
}

/* v5 layout enforcement — the legacy sor-row grid must not reassert */
.forms-page-meta {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
#forms-template-grid .sor-sect-rows .sor-row {
  display: flex !important;
  flex-direction: row !important;
  grid-template-columns: none !important;
  grid-template-areas: none !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 13px 14px !important;
  margin: 0 !important;
  border: none !important;
  border-top: 1px solid var(--pf-line, #e9edf4) !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
#forms-template-grid .sor-sect-rows .sor-row:first-child { border-top: none !important; }
/* The page frame declares `body.pf-frame-v1 .pf-toolbar{display:flex!important}`
   — one control row, one height, for every framed page. That is (0,2,1) and
   beats a bare `.is-hidden` (0,1,0) even though both carry !important, so
   hiding the search and the status segment in external-record mode needs a
   selector that out-weighs it rather than another !important. Checked in a
   real browser, not inferred. */
body.pf-frame-v1.forms-page .sor-tools.is-hidden { display: none !important; }

/* EXTERNAL-RECORD rows are not yours to act on here: the record is in
   SparkForms. They are not links and not buttons, so they must not offer a
   pointer or a hover response that says they are. */
body.app-dashboard.forms-page .sor-row--external,
#forms-template-grid .sor-sect-rows .sor-row--external { cursor: default !important; }
body.app-dashboard.forms-page .sor-row--external:hover { background: none; }
#forms-template-grid .sor-sect-rows .sor-row.is-selected {
  background: none !important;
  box-shadow: none !important;
  border-left: none !important;
}
#forms-template-grid .sor-row .sor-mark,
#forms-template-grid .sor-row .sor-sig {
  grid-area: auto !important;
  margin: 0 !important;
  align-self: center !important;
}
#forms-template-grid .sor-row .sor-row-main { display: flex !important; flex-direction: column !important; gap: 2px !important; }
#forms-template-grid .sor-row .sor-row-title,
#forms-template-grid .sor-row .sor-row-meta {
  grid-area: auto !important;
  margin: 0 !important;
  text-align: left !important;
  display: block !important;
}
#forms-template-grid .sor-row .sor-chev { grid-area: auto !important; margin-left: auto; }

/* funnel rides the title row */
.page-meta.forms-page-meta { flex-wrap: nowrap !important; }
.forms-page-meta .forms-title-block { flex: 1 !important; min-width: 0 !important; width: auto !important; }
.forms-page-meta .sor-funnel { margin-top: 4px; }

/* ================================================================
   v6 "The Good Pen" — pen masthead, page search, status segments,
   registry rows. Approved mockup 2026-07-29 (round 2, professional
   cut). The funnel keeps scope+kind; segments own status; search
   overrides segments with flat results + status chips.
   ================================================================ */

/* ---- masthead ---- */
body.app-dashboard.forms-page .sor-slip::before { content: none; }
.sor-pen-top { display: flex; align-items: center; gap: 12px; }
.sor-pen { flex: 1; min-width: 0; max-width: 300px; height: auto; display: block; }
.sor-ink-chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  background: #e9edf6; color: #22345c; font-size: 11.5px; font-weight: 500;
  border: none; border-radius: 999px; padding: 5px 11px; min-height: 28px;
  white-space: nowrap; cursor: pointer; font-family: inherit;
  position: relative;
}
.sor-ink-chip::before {
  content: ""; position: absolute; left: -6px; right: -6px;
  top: 50%; height: 44px; transform: translateY(-50%);
}
.sor-ink-chip::after { content: "›"; font-weight: 500; opacity: 0.55; }
.sor-pen-divide { height: 1px; background: #f1f4f9; margin: 12px -16px; }
.sor-now { display: flex; align-items: center; gap: 12px; }
.sor-now-main { flex: 1; min-width: 0; }
.sor-now-kick {
  display: flex; align-items: center; gap: 6px; margin: 0;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a7f76; /* fallback: old WebKit without color-mix */
  color: color-mix(in srgb, var(--sor-accent, #3fc1b4) 55%, #16233f);
}
.sor-now-kick i { width: 6px; height: 6px; border-radius: 50%; background: var(--sor-accent, #3fc1b4); flex: none; }
.sor-now-kick.is-idle { color: var(--pf-ink-3, #8a97ad); }
.sor-now-kick.is-idle i { background: #c4cede; }
.sor-now-kick.is-returned { color: #c23b2f; }
.sor-now-kick.is-returned i { background: #c23b2f; }
.sor-now-kick.is-done { color: #22345c; }
.sor-now-kick.is-done i { background: #22345c; }
.sor-now-title { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; margin: 3px 0 0; }
.sor-now-meta { font-size: 12.5px; color: var(--pf-ink-2, #5d6b84); margin: 1px 0 0; line-height: 1.45; }
.sor-now-btn {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border: none; border-radius: 999px;
  background: #16233f; color: #fff; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit; text-decoration: none;
}
.sor-now-btn.is-quiet { background: #e9edf6; color: #22345c; }
.sor-now-reason {
  margin: 10px 0 0; border-left: 3px solid #c23b2f; background: #faeae8;
  border-radius: 0 9px 9px 0; padding: 8px 12px; font-size: 12.5px;
  color: #8c2c22; line-height: 1.5;
}

/* ---- search + segments ---- */
.sor-tools { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.sor-search {
  display: flex; align-items: center; gap: 9px; background: #fff;
  border: 1px solid var(--pf-line, #e9edf4); border-radius: 12px;
  min-height: 44px; padding: 0 14px; color: var(--pf-ink-3, #8a97ad);
  cursor: text;
}
.sor-search svg { width: 16px; height: 16px; flex: none; }
.sor-search input {
  flex: 1; min-width: 0; border: none; outline: none; background: none;
  /* 16px floor: below this iOS Safari zooms the viewport on focus */
  font: inherit; font-size: 16px; color: var(--pf-ink, #16233f);
  padding: 10px 0; -webkit-appearance: none; appearance: none;
}
.sor-search input::placeholder { color: var(--pf-ink-3, #8a97ad); }
.sor-search:focus-within { border-color: #9fb0cf; box-shadow: 0 0 0 3px rgba(34, 52, 92, 0.07); color: var(--pf-ink-2, #5d6b84); }
.sor-seg { display: flex; background: #e6eaf2; border-radius: 12px; padding: 3px; gap: 2px; }
.sor-seg button {
  flex: 1; min-height: 36px; border: none; border-radius: 10px;
  background: none; font-family: inherit; font-size: 12.5px; font-weight: 600;
  color: var(--pf-ink-2, #5d6b84); display: flex; align-items: center;
  justify-content: center; gap: 5px; cursor: pointer; padding: 0 4px;
  white-space: nowrap;
}
.sor-seg button i { font-style: normal; font-size: 11px; font-weight: 600; color: var(--pf-ink-3, #8a97ad); }
.sor-seg button.is-on { background: #fff; box-shadow: 0 1px 3px rgba(20, 33, 64, 0.14); color: var(--pf-ink, #16233f); }
.sor-seg button.is-on i { color: #22345c; }

/* ---- rows: tile + visible verb ---- */
body.app-dashboard.forms-page #forms-template-grid .sor-row { align-items: center !important; gap: 12px !important; }
.sor-tile {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em;
  background: #e9edf6; color: #22345c;
}
.sor-tile.is-live {
  background: #e2f5f3; color: #2a7f76; /* fallback: old WebKit */
  background: color-mix(in srgb, var(--sor-accent, #3fc1b4) 16%, #fff);
  color: color-mix(in srgb, var(--sor-accent, #3fc1b4) 60%, #16233f);
}
.sor-tile.is-red { background: #faeae8; color: #c23b2f; }
.sor-pill {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 0 15px; border: none; border-radius: 999px;
  font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
  position: relative;
}
/* invisible 44px tap extension — near-misses hit the pill, not the row */
.sor-pill::before {
  content: ""; position: absolute; left: -6px; right: -6px;
  top: 50%; height: 44px; transform: translateY(-50%);
}
.sor-pill--ask {
  background: #e2f5f3; color: #2a7f76; /* fallback: old WebKit */
  background: color-mix(in srgb, var(--sor-accent, #3fc1b4) 16%, #fff);
  color: color-mix(in srgb, var(--sor-accent, #3fc1b4) 60%, #16233f);
}
.sor-pill--plan { background: #f1f4f9; color: var(--pf-ink-2, #5d6b84); }
.sor-pill--navy { background: #e9edf6; color: #22345c; }
.sor-pill--fix { background: #faeae8; color: #c23b2f; }
.sor-wait {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: var(--pf-ink-3, #8a97ad);
}
.sor-wait svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.sor-live {
  display: inline-flex; align-items: center; gap: 4px; margin-right: 2px;
  font-weight: 600;
  color: #2a7f76; /* fallback: old WebKit */
  color: color-mix(in srgb, var(--sor-accent, #3fc1b4) 60%, #16233f);
}
.sor-live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--sor-accent, #3fc1b4);
}
.sor-nib { width: 11px; height: 11px; fill: #22345c; margin-right: 4px; vertical-align: -1px; }
.sor-row-sub2 { display: block; font-size: 12px; color: var(--pf-ink-3, #8a97ad); margin-top: 1px; }
body.app-dashboard.forms-page #forms-template-grid .sor-row .sor-row-sub2 { grid-area: auto !important; margin: 1px 0 0 !important; text-align: left !important; }
.sor-st {
  flex: none; display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; border-radius: 6px; padding: 3px 8px;
}
.sor-st--draft, .sor-st--overdue { border: 1px solid #d3dae6; color: var(--pf-ink-2, #5d6b84); background: #fff; }
.sor-st--pending, .sor-st--awaiting-approval { background: #f1f4f9; color: var(--pf-ink-2, #5d6b84); }
.sor-st--signed { background: #e9edf6; color: #22345c; }
.sor-st--rejected { background: #faeae8; color: #c23b2f; }

/* ---- ink sheet ---- */
#forms-ink-sheet .sor-ink-title { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin: 3px 0 10px; }
.sor-ink-rows { border-top: 1px solid #f1f4f9; }
.sor-ink-row { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid #f1f4f9; }
.sor-ink-dot { width: 16px; height: 16px; border-radius: 5px; flex: none; }
.sor-ink-dot--approved { background: #16233f; }
.sor-ink-dot--pending { background: #fff; border: 2px solid #22345c; }
.sor-ink-dot--open { background: #fff; border: 2px dashed #c2ccdc; }
.sor-ink-main { flex: 1; min-width: 0; }
.sor-ink-main b { display: block; font-size: 14px; font-weight: 700; }
.sor-ink-main b em { font-style: normal; font-weight: 700; color: var(--pf-ink-3, #8a97ad); font-size: 12px; }
.sor-ink-main > span { display: block; font-size: 12px; color: var(--pf-ink-2, #5d6b84); margin-top: 1px; }
.sor-ink-state { flex: none; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--pf-ink-3, #8a97ad); text-transform: uppercase; }
.sor-ink-note {
  font-size: 12.5px; color: var(--pf-ink-2, #5d6b84); line-height: 1.6;
  margin: 13px 0 0; padding: 11px 13px; background: var(--pf-ground, #f6f8fc);
  border-radius: 11px;
}
.sor-ink-note b { color: var(--pf-ink, #16233f); }

/* desktop: keep the register column comfortable */
@media (min-width: 900px) {
  .sor-tools { flex-direction: row; align-items: center; }
  .sor-search { flex: 1; }
  .sor-seg { flex: none; min-width: 380px; }
}

/* ============================================================
   YEAR 6 — requirements with a PERSONAL checklist (2026-09-23)

   Built from the register's own materials: the white 16–18px
   cards, the hairline, the slip's accent bar, the segmented
   control. Two colour decisions carry meaning:

     · the student's OWN marks use the brand blue, never the teal
       and green this page uses for official "signable" and
       "approved" states — so a personal tick can't be mistaken
       for a sign-off at a glance;
     · every state also has a shape or a word (tick, pips,
       "Marked by you"), so none is carried by colour alone.
   ============================================================ */
body.app-dashboard.forms-page #forms-template-grid.sor-register--y6 {
  margin-top: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible;
}
/* The empty page-context band still took a margin and a grid gap. */
body.app-dashboard.forms-page .forms-panel--y6 > .pf-pagecontext { display: none; }

.y6c { display: grid; gap: 14px; color: var(--sor-ink, #16233f); }
.y6c-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---- the summary card ---- */
.y6c-summary {
  position: relative; background: #fff; border: 1px solid var(--sor-line, #e9edf4);
  border-radius: 18px; padding: 18px 20px 14px;
  box-shadow: 0 16px 38px -24px rgba(8, 31, 71, 0.4); overflow: hidden;
}
.y6c-summary::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #5b9bee, var(--sor-brand, #1f6fd6));
}
.y6c-kick {
  display: flex; align-items: center; gap: 7px; margin: 0 0 6px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--sor-brand, #1f6fd6);
}
.y6c-kick i { width: 7px; height: 7px; border-radius: 2px; background: var(--sor-brand, #1f6fd6); }
.y6c-figure {
  margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px;
  font-family: var(--sor-display); font-weight: 600; letter-spacing: -0.02em;
}
.y6c-figure:focus { outline: none; }
.y6c-figure b { font-size: 24px; color: var(--sor-ink, #16233f); }
.y6c-figure span { font-size: 14px; color: var(--sor-slate, #5d6b84); font-family: inherit; letter-spacing: -0.01em; }
.y6c-bar { height: 8px; margin: 12px 0 12px; border-radius: 99px; background: #edf1f7; overflow: hidden; }
.y6c-bar i {
  display: block; height: 100%; border-radius: inherit; min-width: 0;
  background: linear-gradient(90deg, #5b9bee, var(--sor-brand, #1f6fd6));
  transition: width 0.2s ease;
}
.y6c-summary-note { margin: 0; font-size: 13px; line-height: 1.55; color: var(--sor-slate, #5d6b84); max-width: 72ch; }
.y6c-summary-foot {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--sor-line-soft, #f1f4f9);
}
.y6c-save { margin: 0; flex: 1 1 320px; font-size: 12px; line-height: 1.5; color: var(--sor-mist, #8a97ad); }
.y6c-summary.is-unsaved .y6c-save { color: var(--sor-amber-ink, #b96f0c); font-weight: 600; }
.y6c-reset { flex: none; }
.y6c-link-btn {
  border: 0; background: none; padding: 2px 0; cursor: pointer; font: inherit;
  font-size: 12.5px; font-weight: 600; color: var(--sor-slate, #5d6b84); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-color: #c3cddd;
}
.y6c-link-btn:hover { color: var(--sor-ink, #16233f); }
.y6c-confirm p { margin: 0 0 8px; font-size: 12.5px; line-height: 1.5; color: var(--sor-ink, #16233f); max-width: 46ch; }
.y6c-confirm-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.y6c-btn {
  min-height: 34px; padding: 0 12px; border-radius: 10px; cursor: pointer; font: inherit;
  font-size: 12.5px; font-weight: 600; color: var(--sor-ink, #16233f);
  background: #fff; border: 1px solid #d6dde9;
}
.y6c-btn--danger { color: #b3261e; border-color: #efc4c0; background: #fdf3f2; }

/* ---- the two segmented controls ---- */
.y6c-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
body.app-dashboard.forms-page .y6c .sor-seg.y6c-seg { flex: none; min-width: 0; }
.y6c-seg button { padding: 0 14px; }
.y6c-seg button:focus-visible,
.y6c-group-toggle:focus-visible,
.y6c-step:focus-visible,
.y6c-btn:focus-visible,
.y6c-link-btn:focus-visible,
.y6c-record:focus-visible,
.y6c-sources a:focus-visible { outline: 2px solid var(--sor-brand, #1f6fd6); outline-offset: 2px; }

/* ---- groups ---- */
.y6c-groups { display: grid; gap: 12px; }
.y6c-group {
  position: relative; background: #fff; border: 1px solid var(--sor-line, #e9edf4); border-radius: 16px;
  box-shadow: var(--sor-sh); overflow: hidden;
}
/* The attachment you are standing in is the one to find: a brand edge, not a colour wash. */
.y6c-group.is-current::before {
  content: ""; position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--sor-brand, #1f6fd6); pointer-events: none;
}
.y6c-group-h { margin: 0; font: inherit; }
.y6c-group-toggle {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; align-items: center;
  gap: 8px 16px; padding: 14px 18px; border: 0; background: #fff; text-align: left; cursor: pointer;
  font: inherit; color: inherit; border-radius: 16px;
}
.y6c-group-toggle:hover { background: #fbfcfe; }
.y6c-group-title { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; }
.y6c-group-meta { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--sor-mist, #8a97ad); }
.y6c-group.is-current .y6c-group-meta { color: var(--sor-brand-2, #1559b0); }
.y6c-group-progress { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.y6c-group-count { font-size: 12px; color: var(--sor-slate, #5d6b84); }
.y6c-group-count b { font-size: 13px; font-weight: 700; color: var(--sor-ink, #16233f); font-variant-numeric: tabular-nums; }
.y6c-minibar { width: 72px; height: 6px; border-radius: 99px; background: #edf1f7; overflow: hidden; }
.y6c-minibar i { display: block; height: 100%; border-radius: inherit; background: var(--sor-brand, #1f6fd6); transition: width 0.2s ease; }
.y6c-chev { width: 18px; height: 18px; fill: none; stroke: var(--sor-mist, #8a97ad); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.15s ease; }
.y6c-group-toggle[aria-expanded="false"] .y6c-chev { transform: rotate(-90deg); }
.y6c-group-body { border-top: 1px solid var(--sor-line-soft, #f1f4f9); }
.y6c-group-body[hidden] { display: none; }
.y6c-group-summary { margin: 12px 18px 2px; font-size: 12.5px; line-height: 1.5; color: var(--sor-slate, #5d6b84); }

/* ---- rows ---- */
.y6c-rows { list-style: none; margin: 0; padding: 2px 0; }
.y6c-row {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 12px;
  align-items: start; padding: 12px 18px 12px 8px; border-top: 1px solid var(--sor-line-soft, #f1f4f9);
}
.y6c-row:first-child { border-top: 0; }
.y6c-lead { display: flex; justify-content: center; }
/* The whole 44px square is the checkbox — the native input is stretched over it,
   so it is a real, keyboard-operable control with a thumb-sized target. */
.y6c-check { position: relative; width: 44px; height: 44px; margin-top: -11px; display: grid; place-items: center; cursor: pointer; }
.y6c-box { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.y6c-box:disabled { cursor: default; }
.y6c-box-ui {
  width: 22px; height: 22px; border-radius: 7px; border: 2px solid #b4bfd2; background: #fff;
  display: grid; place-items: center; pointer-events: none;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.y6c-box-ui svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.y6c-box:checked + .y6c-box-ui { background: var(--sor-brand, #1f6fd6); border-color: var(--sor-brand, #1f6fd6); }
.y6c-box:checked + .y6c-box-ui svg { opacity: 1; }
.y6c-box:focus-visible + .y6c-box-ui { outline: 2px solid var(--sor-brand, #1f6fd6); outline-offset: 3px; }
.y6c-check:hover .y6c-box:not(:checked):not(:disabled) + .y6c-box-ui { border-color: var(--sor-brand, #1f6fd6); }
/* A counted requirement: one pip per time it is needed. */
.y6c-pips { width: 22px; margin-top: 2px; display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.y6c-pips i { width: 9px; height: 9px; border-radius: 3px; border: 1.5px solid #b4bfd2; background: #fff; }
.y6c-pips i.is-on { background: var(--sor-brand, #1f6fd6); border-color: var(--sor-brand, #1f6fd6); }

.y6c-row-main { min-width: 0; }
.y6c-row-title { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--sor-ink, #16233f); overflow-wrap: anywhere; }
.y6c-gate { margin-left: 2px; font-size: 11.5px; font-weight: 600; color: var(--sor-mist, #8a97ad); }
.y6c-row-meta { margin: 3px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--sor-slate, #5d6b84); overflow-wrap: anywhere; }
.y6c-mine {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; padding: 2px 9px 2px 7px;
  border-radius: 99px; background: var(--sor-brand-tint, #eaf2fd);
  font-size: 11.5px; font-weight: 600; color: var(--sor-brand-2, #1559b0);
}
.y6c-mine::before { content: "✓"; font-size: 11px; }
.y6c-mine[hidden] { display: none; }
.y6c-count {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 3px;
  border: 1px solid var(--sor-line, #e9edf4); border-radius: 11px; background: #fff;
}
.y6c-step {
  width: 34px; height: 34px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--sor-ground, #f6f8fc); font: inherit; font-size: 18px; line-height: 1; color: var(--sor-ink, #16233f);
}
.y6c-step[aria-disabled="true"] { color: #c3cddd; cursor: default; }
.y6c-count-out { min-width: 136px; padding: 0 4px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--sor-ink, #16233f); font-variant-numeric: tabular-nums; }
.y6c-row.is-partial .y6c-count { border-color: #c9dbf6; }
.y6c-row-record { margin: 1px 0 0; justify-self: end; text-align: right; font-size: 12.5px; line-height: 1.35; white-space: nowrap; }
.y6c-record-k { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--sor-mist, #8a97ad); }
.y6c-record { font-weight: 600; color: var(--sor-brand-2, #1559b0); text-decoration: none; }
.y6c-record:hover { text-decoration: underline; text-underline-offset: 3px; }
.y6c-record.is-plain { color: var(--sor-slate, #5d6b84); }
.y6c-note { margin: 2px 18px 10px 64px; font-size: 12px; line-height: 1.5; color: var(--sor-slate, #5d6b84); }
.y6c-sources {
  margin: 4px 18px 0; padding: 10px 0 12px; border-top: 1px dashed var(--sor-line, #e9edf4);
  font-size: 12px; line-height: 1.5; color: var(--sor-mist, #8a97ad); overflow-wrap: anywhere;
}
.y6c-sources-k { font-weight: 600; color: var(--sor-slate, #5d6b84); margin-right: 4px; }
.y6c-sources a { color: var(--sor-brand-2, #1559b0); font-weight: 600; text-decoration: none; }
.y6c-sources a:hover { text-decoration: underline; }
.y6c .forms-empty { margin: 0; }

/* ---- phone ---- */
@media (max-width: 768px) {
  /* The page already clears the fixed tab bar; a little more air above it. */
  .y6c { padding-bottom: 12px; gap: 12px; }
  .y6c-summary { padding: 16px 16px 12px; border-radius: 16px; }
  .y6c-figure b { font-size: 21px; }
  .y6c-controls { flex-direction: column; align-items: stretch; }
  body.app-dashboard.forms-page .y6c .sor-seg.y6c-seg { width: 100%; }
  .y6c-seg button { padding: 0 6px; }
  .y6c-group-toggle { grid-template-columns: minmax(0, 1fr) 18px; padding: 13px 14px; }
  .y6c-group-progress { grid-column: 1 / -1; grid-row: 2; }
  .y6c-chev { grid-column: 2; grid-row: 1; }
  .y6c-minibar { flex: 1; max-width: 120px; }
  .y6c-row { grid-template-columns: 44px minmax(0, 1fr); padding: 11px 14px 11px 4px; }
  .y6c-row-record { grid-column: 2; justify-self: start; text-align: left; margin-top: 6px; white-space: normal; }
  .y6c-record-k { display: inline; margin-right: 5px; }
  .y6c-count-out { min-width: 0; }
  .y6c-note { margin-left: 52px; margin-right: 14px; }
  .y6c-group-summary, .y6c-sources, .y6c-unassigned { margin-left: 14px; margin-right: 14px; }
}

/* ---- Year 6 · the whole year in three parts ---- */
.y6c-section { margin: 10px 2px -2px; }
.y6c-section:first-child { margin-top: 0; }
.y6c-section-title {
  margin: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--sor-slate, #5d6b84);
}
.y6c-section-note { margin: 3px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--sor-mist, #8a97ad); max-width: 72ch; }
.y6c-group.is-unscheduled .y6c-group-meta { font-style: normal; color: var(--sor-mist, #8a97ad); }

/* ---- Year 6 · a logbook: one form, its activities underneath ---- */
.y6c-pips--many { width: 37px; gap: 3px; justify-content: flex-start; margin-top: 4px; }
.y6c-pips--many i { width: 7px; height: 7px; border-radius: 2px; }
.y6c-sub-h { margin: 0; font: inherit; }
.y6c-sub-toggle {
  display: grid; grid-template-columns: minmax(0, 1fr) 18px; column-gap: 8px; align-items: start;
  width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit;
}
.y6c-sub-toggle .y6c-row-title { display: block; grid-column: 1; }
.y6c-sub-toggle .y6c-chev { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.y6c-sub-toggle[aria-expanded="false"] .y6c-chev { transform: rotate(-90deg); }
.y6c-sub-toggle:focus-visible { outline: 2px solid var(--sor-brand, #1f6fd6); outline-offset: 3px; border-radius: 6px; }
.y6c-sub-count {
  grid-column: 1; margin-top: 3px; font-size: 12.5px; font-weight: 600; color: var(--sor-brand-2, #1559b0);
  font-variant-numeric: tabular-nums;
}
.y6c-sub-toggle:hover .y6c-row-title { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #c3cddd; }
.y6c-legacy {
  display: flex; align-items: flex-start; gap: 4px 14px; flex-wrap: wrap;
  margin: 8px 0 0; padding: 7px 10px; border-radius: 10px; background: var(--sor-ground, #f6f8fc);
  font-size: 12px; line-height: 1.5; color: var(--sor-slate, #5d6b84);
}
.y6c-legacy p { flex: 1 1 260px; margin: 0; }
.y6c-legacy .y6c-link-btn { font-size: 12px; }
.y6c-legacy[hidden] { display: none; }
/* Saved marks that belong to no attachment: the same quiet card, under the
   group's header. Its list is read only and neutral — no brand blue, because
   nothing in it is counted. */
.y6c-unassigned { margin: 0 18px 14px; }
.y6c-unassigned-h { display: block; margin-bottom: 1px; font-weight: 600; color: var(--sor-ink, #16233f); }
.y6c-unassigned-list { flex: 1 1 100%; list-style: none; margin: 2px 0 2px; padding: 0; }
.y6c-unassigned-list[hidden] { display: none; }
.y6c-unassigned-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 2px 14px; flex-wrap: wrap;
  padding: 6px 0; border-top: 1px solid var(--sor-line, #e9edf4);
}
.y6c-unassigned-name { min-width: 0; color: var(--sor-ink, #16233f); overflow-wrap: anywhere; }
.y6c-unassigned-mark { font-weight: 600; white-space: nowrap; }
.y6c-pending { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: var(--sor-mist, #8a97ad); }

.y6c-acts {
  grid-column: 2 / -1; margin-top: 10px; padding: 4px 14px 12px; border-radius: 12px;
  background: var(--sor-ground, #f6f8fc); border: 1px solid var(--sor-line-soft, #f1f4f9);
}
.y6c-acts[hidden] { display: none; }
.y6c-acts-h {
  margin: 10px 0 2px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--sor-mist, #8a97ad);
}
.y6c-acts-list { list-style: none; margin: 0; padding: 0; }
.y6c-act {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 6px; align-items: start;
  padding: 7px 0 5px; border-top: 1px solid rgba(8, 31, 71, 0.06);
}
.y6c-act:first-child { border-top: 0; }
.y6c-act .y6c-check { margin-top: -12px; margin-left: -10px; }
.y6c-act-text { min-width: 0; }
.y6c-act-title { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--sor-ink, #16233f); overflow-wrap: anywhere; }
.y6c-act-meta { display: block; margin-top: 1px; font-size: 12px; line-height: 1.45; color: var(--sor-slate, #5d6b84); }
.y6c-acts-actions {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 16px;
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--sor-line, #e9edf4);
}
.y6c-action {
  display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 14px; border-radius: 10px;
  background: #fff; border: 1px solid #d6dde9; font-size: 12.5px; font-weight: 600;
  color: var(--sor-brand-2, #1559b0); text-decoration: none; white-space: nowrap;
}
.y6c-action:hover { border-color: var(--sor-brand, #1f6fd6); }
.y6c-action:focus-visible { outline: 2px solid var(--sor-brand, #1f6fd6); outline-offset: 2px; }
.y6c-action-note { flex: 1 1 280px; margin: 0; font-size: 12px; line-height: 1.5; color: var(--sor-slate, #5d6b84); }
.y6c-action-note b { display: block; font-size: 12.5px; color: var(--sor-ink, #16233f); }
.y6c-acts-note { margin: 10px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--sor-mist, #8a97ad); }

@media (max-width: 768px) {
  .y6c-acts { grid-column: 1 / -1; margin-left: 4px; padding: 2px 12px 12px; }
  .y6c-row--logbook .y6c-row-record { grid-row: auto; }
  .y6c-action { white-space: normal; }
}

/* Compact Year 6 procedural explanation; the requirement rows keep their layout. */
.y6c-procedural-guide { margin:12px 18px; border-block:1px solid var(--sor-line, #e3eaf3); scroll-margin-top:96px; }
.y6c-procedural-guide > summary { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:15px 0; min-height:48px; cursor:pointer; list-style:none; color:var(--sor-ink, #14213e); }
.y6c-procedural-guide > summary::-webkit-details-marker { display:none; }
.y6c-procedural-guide > summary b { display:block; font-size:14px; line-height:1.5; font-weight:650; }
.y6c-procedural-guide > summary small { display:block; margin-top:3px; font-size:12px; line-height:1.5; color:var(--sor-slate, #5d6b84); }
.y6c-procedural-guide[open] > summary .y6c-chev { transform:rotate(180deg); }
.y6c-procedural-body { padding:2px 0 17px; max-width:78ch; font-size:13px; line-height:1.65; color:var(--sor-slate, #5d6b84); }
.y6c-procedural-definitions { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin:8px 0 19px; }
.y6c-procedural-definitions dt, .y6c-procedural-body h4 { font-size:13px; font-weight:650; color:var(--sor-ink, #14213e); margin:0 0 5px; line-height:1.5; }
.y6c-procedural-definitions dd { margin:0; }
.y6c-procedural-body section { margin:17px 0; }
.y6c-procedural-body p { margin:5px 0; }
.y6c-procedural-body a { display:inline-flex; align-items:center; gap:5px; min-height:36px; color:var(--sor-brand-2, #1559b0); font-size:12px; font-weight:600; }
.y6c-procedural-links { display:flex; gap:4px 20px; flex-wrap:wrap; margin-top:10px; }
.y6c-procedural-body .y6c-procedural-oxygen { border-left:2px solid #d7e1ef; padding-left:12px; font-size:12px; }
.y6c-procedural-sources { margin-top:9px; font-size:12px; }
.y6c-procedural-sources summary { cursor:pointer; min-height:36px; padding:6px 0; box-sizing:border-box; }
.y6c-procedural-guide summary:focus-visible, .y6c-procedural-guide a:focus-visible { outline:2px solid var(--sor-brand, #1f6fd6); outline-offset:3px; }
.y6c [data-y6-group="year-procedural-skills"], .y6c [data-y6-group="year-completing"] { scroll-margin-top:96px; }
@media(max-width:700px) {
  .y6c-procedural-guide { margin-inline:14px; scroll-margin-top:64px; }
  .y6c-procedural-definitions { grid-template-columns:1fr; gap:16px; }
  .y6c-procedural-body a { min-height:44px; }
  .y6c [data-y6-group="year-procedural-skills"], .y6c [data-y6-group="year-completing"] { scroll-margin-top:64px; }
}

/* ================================================================
   SIGN-OFFS REGISTER — S1.3 B2.2 (owner-approved, 16 October 2026)
   Rendered by shared/signoff-register.js into #forms-slip (the
   overview and Now) and #forms-template-grid (the register). The
   B3.2 clinical-editorial language: a white canvas, hairlines group,
   one ink rule opens a section, uppercase labels name sections, IBM
   Plex Sans 600 for headings. State is a word plus a shape, never
   colour alone: green with a tick = verified · amber = awaiting
   someone else · red = returned, not approved or past due · grey =
   still to submit · slate dashed = not yet open or read-only.
   Year 6 (external records), the editor (fce-*) and the funnel sheet
   keep their own rules; earlier register rules above stay in place
   (this file is append-only) and are overridden here.
   ================================================================ */
body.app-dashboard.forms-page {
  --sgr-brand: #1f6fd6;
  --sgr-brand-2: #1559b0;
  --sgr-tint: #eaf2fd;
  --sgr-navy: #081f47;
  --sgr-navy-2: #12489e;
  --sgr-ink: #16233f;
  --sgr-slate: #5d6b84;
  --sgr-mist: #8a97ad;
  --sgr-rule: #dfe4ec;
  --sgr-rule-strong: #16233f;
  --sgr-line-soft: #f1f4f9;
  --sgr-open: #f6f8fb;
  --sgr-amber: #e08a1e;
  --sgr-amber-ink: #8a5208;
  --sgr-amber-tint: #fdf1df;
  --sgr-green: #1a9e54;
  --sgr-green-ink: #137a40;
  --sgr-green-tint: #e4f5eb;
  --sgr-red: #c8372b;
  --sgr-red-tint: #fdecea;
  --sgr-grey: #cfd6e2;
  --sgr-grey-tint: #eef1f6;
  --sgr-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sgr-state-col: 128px;
  --sgr-state-gap: 16px;
}
@media (max-width: 768px) {
  body.app-dashboard.forms-page { --sgr-state-col: 24px; --sgr-state-gap: 12px; }
}

/* ---- page head, context band and the funnel (Year 5) ---- */
body.app-dashboard.forms-page .forms-panel { max-width: 1040px; }
body.app-dashboard.forms-page .forms-page-meta .forms-subtitle { font-weight: 500; }
body.app-dashboard.forms-page .sor-funnel {
  width: auto; height: 36px; padding: 0 12px 0 10px; border-radius: 8px; border: 1px solid var(--sgr-rule);
  background: #fff; color: var(--sgr-ink); display: inline-flex; align-items: center; gap: 7px;
  font-family: inherit; font-weight: 600; font-size: 13px; line-height: 1;
}
body.app-dashboard.forms-page .sor-funnel::after { content: "Filter"; }
body.app-dashboard.forms-page .sor-funnel:hover { background: var(--sgr-tint); }
body.app-dashboard.forms-page .sor-funnel:focus-visible { outline: 2px solid var(--sgr-brand); outline-offset: 2px; }
body.app-dashboard.forms-page .sor-funnel svg { width: 16px; height: 16px; color: var(--sgr-slate); }
body.app-dashboard.forms-page .sor-funnel-dot { top: -3px; right: -3px; width: 8px; height: 8px; border: 2px solid #fff; box-sizing: content-box; }
body.app-dashboard.forms-page .sor-scopeline { font-size: 13px; font-weight: 500; color: var(--sgr-slate); margin: 0 0 14px; }
body.app-dashboard.forms-page .sor-scopeline b { color: var(--sgr-ink); font-weight: 600; }
body.app-dashboard.forms-page .sor-scopeline-x { background: var(--sgr-line-soft); color: var(--sgr-slate); width: 22px; height: 22px; font-size: 10px; }
body.app-dashboard.forms-page .pf-pagecontext:has(> .sor-scopeline.is-hidden:only-child) { margin: 0; }

/* ---- the overview host: no card ---- */
body.app-dashboard.forms-page #forms-slip {
  margin: 0 0 8px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible;
}
body.app-dashboard.forms-page #forms-slip::before { content: none; }

/* ---- the register host: no card ---- */
body.app-dashboard.forms-page #forms-template-grid.sgr-register,
body.app-dashboard.forms-page #forms-template-grid:has(> .forms-empty) {
  margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible;
}
body.app-dashboard.forms-page #forms-template-grid > .forms-empty {
  padding: 16px 0 8px; margin: 0; text-align: left; font-size: 15px; line-height: 1.5; color: var(--sgr-ink);
  border: 0; border-top: 1px solid var(--sgr-rule-strong); border-radius: 0; background: none; box-shadow: none; max-width: 64ch;
}
body.app-dashboard.forms-page #forms-template-grid > .forms-empty p { margin: 0 0 12px; max-width: 60ch; }
body.app-dashboard.forms-page #forms-template-grid > .forms-empty .btn {
  min-height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--sgr-rule); background: #fff; color: var(--sgr-ink);
  font-family: inherit; font-weight: 600; font-size: 14px; line-height: 1; box-shadow: none;
}
body.app-dashboard.forms-page #forms-template-grid > .forms-empty .btn:hover { background: var(--sgr-tint); }
/* Loading: the shape of the page it is about to be, never a blank register. */
body.app-dashboard.forms-page #forms-template-grid > .forms-empty.is-loading {
  border-top: 0; padding-top: 0; color: var(--sgr-slate); font-size: 13px; max-width: none;
}
body.app-dashboard.forms-page #forms-template-grid > .forms-empty.is-loading::before {
  content: ""; display: block; height: 196px; margin: 0 0 14px; border-radius: 6px;
  background:
    linear-gradient(var(--sgr-line-soft), var(--sgr-line-soft)) 0 0 / 260px 12px no-repeat,
    linear-gradient(var(--sgr-line-soft), var(--sgr-line-soft)) 0 24px / 180px 28px no-repeat,
    linear-gradient(var(--sgr-line-soft), var(--sgr-line-soft)) 0 66px / 100% 10px no-repeat,
    linear-gradient(var(--sgr-line-soft), var(--sgr-line-soft)) 0 88px / 320px 12px no-repeat,
    linear-gradient(var(--sgr-line-soft), var(--sgr-line-soft)) 0 124px / 100% 1px no-repeat,
    linear-gradient(var(--sgr-line-soft), var(--sgr-line-soft)) 0 140px / 60% 16px no-repeat,
    linear-gradient(var(--sgr-line-soft), var(--sgr-line-soft)) 0 168px / 42% 12px no-repeat;
  animation: sgr-pulse 1.6s ease-in-out infinite;
}
@keyframes sgr-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
/* Without a register there is nothing to search or filter. */
body.app-dashboard.forms-page:has(#forms-template-grid > .forms-empty) .sor-tools,
body.app-dashboard.forms-page:has(#forms-template-grid > .forms-empty) .sor-evlink:not(.sor-evlink--external) { display: none !important; }

/* ---- toolbar: requirement tabs as text with the thin blue line, a ghost search ---- */
body.app-dashboard.forms-page .sor-tools:not(.is-hidden) {
  margin: 20px 0 0; gap: 12px 20px; align-items: flex-end; flex-direction: row; flex-wrap: wrap;
}
body.app-dashboard.forms-page .sor-tools .sor-search {
  order: 2; flex: 0 1 300px; min-height: 40px; height: 40px; border: 1px solid var(--sgr-rule); border-radius: 8px;
  background: #fff; padding: 0 12px; color: var(--sgr-mist);
}
body.app-dashboard.forms-page .sor-tools .sor-search:focus-within { border-color: var(--sgr-brand); box-shadow: 0 0 0 3px var(--sgr-tint); }
body.app-dashboard.forms-page .sor-tools .sor-search input { font-size: 15px; padding: 8px 0; color: var(--sgr-ink); }
body.app-dashboard.forms-page .sor-tools .sor-search input::placeholder { color: var(--sgr-slate); opacity: 1; }
body.app-dashboard.forms-page #forms-status-seg {
  order: 1; flex: 1 1 auto; min-width: 0; height: auto; background: none; border-radius: 0; padding: 0; gap: 0;
  border-bottom: 1px solid var(--sgr-rule);
}
body.app-dashboard.forms-page #forms-status-seg > button {
  flex: none; min-height: 40px; height: 40px; padding: 0 2px; margin-right: 22px; border: 0; border-radius: 0;
  background: none; box-shadow: none; position: relative; font-size: 14.5px; font-weight: 500; color: var(--sgr-slate); gap: 7px;
}
body.app-dashboard.forms-page #forms-status-seg > button i { font-size: 12.5px; font-weight: 600; color: var(--sgr-slate); font-variant-numeric: tabular-nums; }
body.app-dashboard.forms-page #forms-status-seg > button:hover { color: var(--sgr-ink); }
body.app-dashboard.forms-page #forms-status-seg > button:focus-visible { outline: 2px solid var(--sgr-brand); outline-offset: 2px; }
body.app-dashboard.forms-page #forms-status-seg > button.is-on { color: var(--sgr-ink); font-weight: 600; background: none; box-shadow: none; }
body.app-dashboard.forms-page #forms-status-seg > button.is-on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--sgr-brand); border-radius: 1px;
}
@media (min-width: 900px) {
  body.app-dashboard.forms-page #forms-status-seg { flex: 1 1 auto; min-width: 0; }
}
@media (max-width: 768px) {
  body.app-dashboard.forms-page .sor-tools .sor-search { order: 1; flex: 1 1 100%; }
  body.app-dashboard.forms-page #forms-status-seg { order: 2; flex: 1 1 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  body.app-dashboard.forms-page #forms-status-seg::-webkit-scrollbar { display: none; }
  body.app-dashboard.forms-page #forms-status-seg > button { margin-right: 18px; min-height: 44px; height: 44px; }
}

/* ---- shared type, buttons and links ---- */
body.app-dashboard.forms-page .sgr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.app-dashboard.forms-page .sgr-label { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sgr-ink); }
body.app-dashboard.forms-page .sgr-notice { margin: 0; padding: 14px 0 0; border-top: 1px solid var(--sgr-rule-strong); font-size: 15px; line-height: 1.5; color: var(--sgr-ink); max-width: 64ch; }
body.app-dashboard.forms-page .sgr-btn {
  flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px;
  border-radius: 8px; border: 1px solid transparent; font-family: inherit; font-weight: 600; font-size: 14.5px; line-height: 1; cursor: pointer; text-decoration: none;
  transition: background-color 120ms ease, transform 80ms ease;
}
body.app-dashboard.forms-page .sgr-btn--primary { background: var(--sgr-navy); color: #fff; }
body.app-dashboard.forms-page .sgr-btn--primary:hover { background: var(--sgr-navy-2); }
body.app-dashboard.forms-page .sgr-btn--ghost { background: transparent; color: var(--sgr-ink); border-color: var(--sgr-rule); }
body.app-dashboard.forms-page .sgr-btn--ghost:hover { background: var(--sgr-tint); }
body.app-dashboard.forms-page .sgr-btn:active { transform: scale(0.98); }
body.app-dashboard.forms-page .sgr-link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 2px; border: 0; background: none;
  font-family: inherit; font-weight: 600; font-size: 14px; line-height: 1; color: var(--sgr-brand-2); cursor: pointer; text-decoration: none;
}
body.app-dashboard.forms-page .sgr-link:hover { text-decoration: underline; text-underline-offset: 4px; }
body.app-dashboard.forms-page :is(.sgr-btn, .sgr-link, .sgr-row-head, .sgr-row-act, .sgr-attempt-act):focus-visible { outline: 2px solid var(--sgr-brand); outline-offset: 2px; }
body.app-dashboard.forms-page .sgr-tick { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; fill: var(--sgr-green); stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
body.app-dashboard.forms-page .sgr-quote {
  margin: 10px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--sgr-red); font-size: 14.5px; line-height: 1.5; color: var(--sgr-ink); max-width: 62ch;
}

/* ---- overview: the scope field, the figure, the bar, its words ---- */
body.app-dashboard.forms-page .sgr-top { border-top: 1px solid var(--sgr-rule-strong); padding-top: 14px; }
body.app-dashboard.forms-page .sgr-top-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
body.app-dashboard.forms-page .sgr-top-ctx { margin: 0; font-size: 14px; color: var(--sgr-slate); }
body.app-dashboard.forms-page .sgr-top-body { margin-top: 14px; }
body.app-dashboard.forms-page .sgr-figure { margin: 0; font-size: 28px; line-height: 1.12; font-weight: 600; letter-spacing: -0.025em; color: var(--sgr-slate); font-variant-numeric: tabular-nums; text-wrap: balance; }
body.app-dashboard.forms-page .sgr-figure b { color: var(--sgr-ink); font-weight: 600; }
body.app-dashboard.forms-page .sgr-figure.is-done b { color: var(--sgr-green-ink); }
body.app-dashboard.forms-page .sgr-sub { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--sgr-slate); }
body.app-dashboard.forms-page .sgr-sub b { color: var(--sgr-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 768px) { body.app-dashboard.forms-page .sgr-figure { font-size: 24px; } }

body.app-dashboard.forms-page .sgr-ctag { display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--sgr-ink); }
body.app-dashboard.forms-page .sgr-ctag--done { color: var(--sgr-green-ink); }
body.app-dashboard.forms-page .sgr-ctag--muted { color: var(--sgr-slate); font-weight: 500; }

/* The scope field: a ghost control carrying the chosen scope and its count;
   the panel is a popover from 769px and a bottom sheet below. */
body.app-dashboard.forms-page .sgr-sp-wrap { position: relative; display: inline-block; max-width: 100%; }
body.app-dashboard.forms-page .sgr-sp-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px 0 14px; border: 1px solid var(--sgr-rule); border-radius: 8px;
  background: #fff; font-family: inherit; color: var(--sgr-ink); cursor: pointer; max-width: 100%;
  transition: background-color 120ms ease, border-color 120ms ease;
}
body.app-dashboard.forms-page .sgr-sp-btn:hover { background: var(--sgr-tint); border-color: #b9cdf0; }
body.app-dashboard.forms-page .sgr-sp-btn:focus-visible { outline: 2px solid var(--sgr-brand); outline-offset: 2px; }
body.app-dashboard.forms-page .sgr-sp-btn[aria-expanded="true"] { border-color: var(--sgr-brand); box-shadow: 0 0 0 3px var(--sgr-tint); }
body.app-dashboard.forms-page .sgr-sp-btn-name { font-size: 15px; font-weight: 600; letter-spacing: -0.008em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.app-dashboard.forms-page .sgr-sp-btn-count { padding-left: 10px; border-left: 1px solid var(--sgr-rule); }
body.app-dashboard.forms-page .sgr-sp-btn > svg { width: 18px; height: 18px; fill: none; stroke: var(--sgr-slate); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform 200ms var(--sgr-ease); }
body.app-dashboard.forms-page .sgr-sp-btn[aria-expanded="true"] > svg { transform: rotate(180deg); }
body.app-dashboard.forms-page .sgr-sp-scrim { position: fixed; inset: 0; z-index: 60; background: transparent; }
body.app-dashboard.forms-page .sgr-sp {
  position: absolute; z-index: 61; top: calc(100% + 6px); left: 0; min-width: 400px; max-width: min(520px, calc(100vw - 32px));
  padding: 10px 8px 8px; border: 1px solid var(--sgr-rule); border-radius: 12px; background: #fff; box-shadow: 0 18px 44px -18px rgba(8, 31, 71, 0.4);
}
body.app-dashboard.forms-page .sgr-sp-grab { display: none; }
body.app-dashboard.forms-page .sgr-sp-title { margin: 2px 10px 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sgr-ink); }
body.app-dashboard.forms-page .sgr-sp-group { margin: 10px 10px 2px; padding-top: 10px; border-top: 1px solid var(--sgr-rule); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sgr-slate); }
body.app-dashboard.forms-page .sgr-sp-group:first-of-type { border-top: 0; padding-top: 0; margin-top: 4px; }
body.app-dashboard.forms-page .sgr-sp-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; grid-template-areas: "name count mark" "ctx ctx mark"; column-gap: 12px; row-gap: 2px; align-items: center;
  width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: none; text-align: left; font-family: inherit; color: var(--sgr-ink); cursor: pointer;
}
body.app-dashboard.forms-page .sgr-sp-item:hover, body.app-dashboard.forms-page .sgr-sp-item:focus-visible { background: var(--sgr-open); outline: none; }
body.app-dashboard.forms-page .sgr-sp-item:focus-visible { box-shadow: inset 0 0 0 2px var(--sgr-brand); }
body.app-dashboard.forms-page .sgr-sp-item.is-current { background: var(--sgr-tint); }
body.app-dashboard.forms-page .sgr-sp-name { grid-area: name; font-size: 15px; font-weight: 600; }
body.app-dashboard.forms-page .sgr-sp-count { grid-area: count; }
body.app-dashboard.forms-page .sgr-sp-ctx { grid-area: ctx; font-size: 13px; color: var(--sgr-slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.app-dashboard.forms-page .sgr-sp-mark { grid-area: mark; width: 20px; height: 20px; visibility: hidden; }
body.app-dashboard.forms-page .sgr-sp-mark .sgr-tick { width: 18px; height: 18px; margin: 0; fill: var(--sgr-brand); }
body.app-dashboard.forms-page .sgr-sp-item.is-current .sgr-sp-mark { visibility: visible; }
@media (max-width: 768px) {
  body.app-dashboard.forms-page .sgr-sp-wrap { display: block; }
  body.app-dashboard.forms-page .sgr-sp-btn { width: 100%; min-height: 44px; justify-content: space-between; }
  body.app-dashboard.forms-page .sgr-sp-btn-name { flex: 1 1 auto; text-align: left; }
  body.app-dashboard.forms-page .sgr-sp-scrim { background: rgba(8, 31, 71, 0.28); }
  body.app-dashboard.forms-page .sgr-sp {
    position: fixed; top: auto; left: 0; right: 0; bottom: 0; min-width: 0; max-width: none; border-radius: 16px 16px 0 0;
    padding: 8px 10px calc(16px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -12px 32px -14px rgba(8, 31, 71, 0.35);
    max-height: 80vh; overflow-y: auto; z-index: 1300;
  }
  body.app-dashboard.forms-page .sgr-sp-scrim { z-index: 1299; }
  body.app-dashboard.forms-page .sgr-sp-grab { display: block; width: 36px; height: 4px; margin: 2px auto 10px; border-radius: 2px; background: var(--sgr-rule); }
  body.app-dashboard.forms-page .sgr-sp-item { padding: 12px 10px; min-height: 56px; }
  body.app-dashboard.forms-page .sgr-sp-ctx { white-space: normal; }
}

/* The required-submission bar: each segment a toggle (a 28px hit area
   around the 10px bar); hover or focus thickens it and names it. */
body.app-dashboard.forms-page .sgr-sbar { display: flex; gap: 3px; margin: 10px 0 0; max-width: 560px; height: 28px; align-items: center; }
body.app-dashboard.forms-page .sgr-seg { position: relative; flex-basis: 0; min-width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 4px; font-family: inherit; }
body.app-dashboard.forms-page .sgr-seg-fill { position: absolute; left: 0; right: 0; top: 9px; height: 10px; border-radius: 3px; background: var(--sgr-rule); transition: top 140ms var(--sgr-ease), height 140ms var(--sgr-ease), opacity 160ms ease; }
body.app-dashboard.forms-page .sgr-seg--done .sgr-seg-fill { background: var(--sgr-green); }
body.app-dashboard.forms-page .sgr-seg--wait .sgr-seg-fill { background: var(--sgr-amber); }
body.app-dashboard.forms-page .sgr-seg--alert .sgr-seg-fill { background: var(--sgr-red); }
body.app-dashboard.forms-page .sgr-seg--open .sgr-seg-fill { background: var(--sgr-grey); }
body.app-dashboard.forms-page .sgr-seg:hover .sgr-seg-fill, body.app-dashboard.forms-page .sgr-seg:focus-visible .sgr-seg-fill { top: 7px; height: 14px; }
body.app-dashboard.forms-page .sgr-seg:focus-visible { outline: 2px solid var(--sgr-brand); outline-offset: 1px; }
body.app-dashboard.forms-page .sgr-sbar.has-choice .sgr-seg:not(.is-on) .sgr-seg-fill { opacity: 0.28; }
body.app-dashboard.forms-page .sgr-seg.is-on .sgr-seg-fill { top: 6px; height: 16px; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--sgr-ink); }
body.app-dashboard.forms-page .sgr-seg::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translate(-50%, 4px); white-space: nowrap; pointer-events: none;
  padding: 5px 9px; border-radius: 6px; background: var(--sgr-navy); color: #fff; font-family: inherit; font-weight: 600; font-size: 12.5px; line-height: 1.2; opacity: 0;
  transition: opacity 120ms ease, transform 160ms var(--sgr-ease); z-index: 5;
}
body.app-dashboard.forms-page .sgr-seg:hover::after, body.app-dashboard.forms-page .sgr-seg:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
body.app-dashboard.forms-page .sgr-sbar .sgr-seg:first-child::after { left: 0; transform: translate(0, 4px); }
body.app-dashboard.forms-page .sgr-sbar .sgr-seg:first-child:is(:hover, :focus-visible)::after { transform: translate(0, 0); }
body.app-dashboard.forms-page .sgr-sbar .sgr-seg:last-child::after { left: auto; right: 0; transform: translate(0, 4px); }
body.app-dashboard.forms-page .sgr-sbar .sgr-seg:last-child:is(:hover, :focus-visible)::after { transform: translate(0, 0); }
@media (hover: none) { body.app-dashboard.forms-page .sgr-seg::after { display: none; } }

/* The words, equivalent buttons: a dot and a word, colour never alone. */
body.app-dashboard.forms-page .sgr-swords { display: flex; flex-wrap: wrap; gap: 2px 6px; margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; }
body.app-dashboard.forms-page .sgr-sw {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 8px; margin-left: -8px; margin-right: 6px; border: 0; border-radius: 6px;
  background: none; font: inherit; font-size: 14.5px; color: var(--sgr-slate); cursor: pointer; transition: background-color 120ms ease;
}
body.app-dashboard.forms-page .sgr-sw::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sgr-ink); flex: none; }
body.app-dashboard.forms-page .sgr-sw b { color: var(--sgr-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
body.app-dashboard.forms-page .sgr-sw--done::before { background: var(--sgr-green); }
body.app-dashboard.forms-page .sgr-sw--done b { color: var(--sgr-green-ink); }
body.app-dashboard.forms-page .sgr-sw--wait::before { background: var(--sgr-amber); }
body.app-dashboard.forms-page .sgr-sw--wait b { color: var(--sgr-amber-ink); }
body.app-dashboard.forms-page .sgr-sw--alert::before { background: var(--sgr-red); }
body.app-dashboard.forms-page .sgr-sw--alert b { color: var(--sgr-red); }
body.app-dashboard.forms-page .sgr-sw--open::before { background: var(--sgr-grey); }
body.app-dashboard.forms-page .sgr-sw:hover { background: var(--sgr-open); }
body.app-dashboard.forms-page .sgr-sw:focus-visible { outline: 2px solid var(--sgr-brand); outline-offset: 1px; }
body.app-dashboard.forms-page .sgr-sw.is-on { color: var(--sgr-ink); font-weight: 600; }
body.app-dashboard.forms-page .sgr-sw--done.is-on { background: var(--sgr-green-tint); }
body.app-dashboard.forms-page .sgr-sw--wait.is-on { background: var(--sgr-amber-tint); }
body.app-dashboard.forms-page .sgr-sw--alert.is-on { background: var(--sgr-red-tint); }
body.app-dashboard.forms-page .sgr-sw--open.is-on { background: var(--sgr-grey-tint); }
@media (max-width: 768px) {
  body.app-dashboard.forms-page .sgr-sbar { max-width: none; height: 32px; }
  body.app-dashboard.forms-page .sgr-seg { height: 32px; min-width: 32px; }
  body.app-dashboard.forms-page .sgr-seg-fill { top: 11px; }
  body.app-dashboard.forms-page .sgr-seg.is-on .sgr-seg-fill { top: 8px; }
  body.app-dashboard.forms-page .sgr-sw { min-height: 40px; font-size: 14px; }
}

/* The scope rows: navigation into the register; the chosen row carries the
   N1.3 current mark (2px blue inset) on the open-row tint and "Show all". */
body.app-dashboard.forms-page .sgr-navs { margin-top: 18px; border-top: 1px solid var(--sgr-rule); }
body.app-dashboard.forms-page .sgr-nav {
  display: grid; grid-template-columns: 148px minmax(0, 1fr) auto auto; column-gap: 20px; align-items: center; width: 100%; min-height: 44px; padding: 8px 0;
  border: 0; border-bottom: 1px solid var(--sgr-rule); background: none; text-align: left; font-family: inherit; color: var(--sgr-ink); cursor: pointer;
  position: relative; isolation: isolate;
}
body.app-dashboard.forms-page .sgr-nav::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: -1px; left: -12px; right: -12px; border-radius: 8px; background: transparent; transition: background-color 120ms ease; }
body.app-dashboard.forms-page .sgr-nav:hover::before { background: var(--sgr-open); }
body.app-dashboard.forms-page .sgr-nav.is-on::before { background: var(--sgr-open); box-shadow: inset 2px 0 0 var(--sgr-brand); border-radius: 0 8px 8px 0; }
body.app-dashboard.forms-page .sgr-nav:focus-visible { outline: none; }
body.app-dashboard.forms-page .sgr-nav:focus-visible::before { box-shadow: inset 0 0 0 2px var(--sgr-brand); }
body.app-dashboard.forms-page .sgr-nav-name { font-size: 14.5px; font-weight: 600; white-space: nowrap; }
body.app-dashboard.forms-page .sgr-nav-ctx { font-size: 14px; color: var(--sgr-slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.app-dashboard.forms-page .sgr-nav-icon { justify-self: end; width: 18px; height: 18px; fill: none; stroke: var(--sgr-mist); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 160ms var(--sgr-ease), stroke 120ms ease; }
body.app-dashboard.forms-page .sgr-nav:hover .sgr-nav-icon { stroke: var(--sgr-ink); transform: translateX(2px); }
body.app-dashboard.forms-page .sgr-nav-clear { justify-self: end; font-size: 13.5px; font-weight: 600; color: var(--sgr-brand-2); white-space: nowrap; }
body.app-dashboard.forms-page .sgr-nav:hover .sgr-nav-clear { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 768px) {
  body.app-dashboard.forms-page .sgr-nav { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "name count icon"; column-gap: 10px; min-height: 48px; }
  body.app-dashboard.forms-page .sgr-nav::before { left: -8px; right: -8px; }
  body.app-dashboard.forms-page .sgr-nav-name { grid-area: name; white-space: normal; }
  body.app-dashboard.forms-page .sgr-nav-ctx { display: none; }
  body.app-dashboard.forms-page .sgr-nav .sgr-ctag { grid-area: count; }
  body.app-dashboard.forms-page .sgr-nav :is(.sgr-nav-icon, .sgr-nav-clear) { grid-area: icon; }
}

/* ---- Now: one ink rule, the label, the item, the one primary action ---- */
body.app-dashboard.forms-page .sgr-now { margin: 24px 0 0; padding: 14px 0 0; border-top: 1px solid var(--sgr-rule-strong); }
body.app-dashboard.forms-page .sgr-now-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-top: 10px; }
body.app-dashboard.forms-page .sgr-now-main { min-width: 0; flex: 1 1 auto; }
body.app-dashboard.forms-page .sgr-now-kick { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--sgr-slate); display: flex; align-items: center; gap: 8px; }
body.app-dashboard.forms-page .sgr-now-kick::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sgr-mist); flex: none; }
body.app-dashboard.forms-page .sgr-now-kick.is-live { color: var(--sgr-ink); }
body.app-dashboard.forms-page .sgr-now-kick.is-live::before { background: var(--sgr-ink); }
body.app-dashboard.forms-page .sgr-now-kick.is-alert { color: var(--sgr-red); }
body.app-dashboard.forms-page .sgr-now-kick.is-alert::before { background: var(--sgr-red); }
body.app-dashboard.forms-page .sgr-now-kick.is-done { color: var(--sgr-green-ink); }
body.app-dashboard.forms-page .sgr-now-kick.is-done::before { background: var(--sgr-green); }
body.app-dashboard.forms-page .sgr-now-title { margin: 0; font-size: 22px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; color: var(--sgr-ink); text-wrap: balance; max-width: 34ch; overflow-wrap: anywhere; }
body.app-dashboard.forms-page .sgr-now-meta { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--sgr-slate); max-width: 62ch; }
@media (max-width: 768px) {
  body.app-dashboard.forms-page .sgr-now-row { flex-direction: column; align-items: stretch; gap: 14px; }
  body.app-dashboard.forms-page .sgr-now-title { font-size: 20px; max-width: none; }
}

/* ---- register: sections, the status line, groups and rows ---- */
body.app-dashboard.forms-page .sgr-sect { scroll-margin-top: 20px; }
body.app-dashboard.forms-page .sgr-sect + .sgr-sect { margin-top: 28px; }
body.app-dashboard.forms-page .sgr-sect-head {
  display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; margin: 0; padding: 12px 0 6px;
  border-top: 1px solid var(--sgr-rule-strong); font-size: inherit; font-weight: inherit; letter-spacing: 0; text-transform: none;
}
body.app-dashboard.forms-page .sgr-sect-head[tabindex="-1"]:focus { outline: none; }
body.app-dashboard.forms-page .sgr-sect-head[tabindex="-1"]:focus-visible { outline: 2px solid var(--sgr-brand); outline-offset: 4px; border-radius: 2px; }
body.app-dashboard.forms-page .sgr-sect-title { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
body.app-dashboard.forms-page .sgr-sect-meta { font-size: 14px; font-weight: 400; line-height: 1.4; color: var(--sgr-slate); }
body.app-dashboard.forms-page .sgr-sect-meta b { color: var(--sgr-ink); font-weight: 600; }
body.app-dashboard.forms-page .sgr-sect-count { padding-top: 1px; font-size: 13px; font-weight: 500; color: var(--sgr-slate); white-space: nowrap; font-variant-numeric: tabular-nums; }
body.app-dashboard.forms-page .sgr-sect-note { margin: 4px 0 6px; font-size: 14px; line-height: 1.5; color: var(--sgr-slate); max-width: 64ch; }
body.app-dashboard.forms-page .sgr-sect-note.sgr-empty { padding-top: 14px; border-top: 1px solid var(--sgr-rule-strong); color: var(--sgr-ink); font-size: 15px; }
body.app-dashboard.forms-page .sgr-rows { display: flex; flex-direction: column; }

body.app-dashboard.forms-page .sgr-filter {
  display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin: 0 0 4px; padding: 10px 0;
  border-top: 1px solid var(--sgr-rule-strong); scroll-margin-top: 20px; animation: sgr-fade 200ms var(--sgr-ease);
}
body.app-dashboard.forms-page .sgr-filter:focus { outline: none; }
body.app-dashboard.forms-page .sgr-filter-text { display: block; flex: 1 1 260px; font-size: 14.5px; line-height: 1.45; color: var(--sgr-slate); min-width: 0; }
body.app-dashboard.forms-page .sgr-filter-text b { color: var(--sgr-ink); font-weight: 600; }
body.app-dashboard.forms-page .sgr-filter-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; vertical-align: 1px; border-radius: 50%; background: var(--sgr-grey); }
body.app-dashboard.forms-page .sgr-filter--done .sgr-filter-dot { background: var(--sgr-green); }
body.app-dashboard.forms-page .sgr-filter--wait .sgr-filter-dot { background: var(--sgr-amber); }
body.app-dashboard.forms-page .sgr-filter--alert .sgr-filter-dot { background: var(--sgr-red); }
body.app-dashboard.forms-page .sgr-filter-clear { min-height: 36px; padding: 0 12px; border: 1px solid var(--sgr-rule); border-radius: 8px; background: #fff; font-family: inherit; font-weight: 600; font-size: 13.5px; line-height: 1; color: var(--sgr-ink); cursor: pointer; }
body.app-dashboard.forms-page .sgr-filter-clear:hover { background: var(--sgr-tint); }
body.app-dashboard.forms-page .sgr-filter-clear:focus-visible { outline: 2px solid var(--sgr-brand); outline-offset: 2px; }
body.app-dashboard.forms-page .sgr-filter + .sgr-sect .sgr-sect-head { border-top-color: var(--sgr-rule); }
@keyframes sgr-fade { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }

body.app-dashboard.forms-page .sgr-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 28px; grid-template-areas: "head act chev" "region region region";
  align-items: center; column-gap: 12px; cursor: pointer; border-top: 1px solid var(--sgr-rule); border-radius: 10px; transition: background-color 160ms ease;
}
body.app-dashboard.forms-page .sgr-rows > .sgr-row:first-child { border-top-color: transparent; }
body.app-dashboard.forms-page .sgr-row:hover:not(.is-open) { background: var(--sgr-open); }
body.app-dashboard.forms-page .sgr-row.is-open { background: var(--sgr-open); margin: 0 -16px; padding: 0 16px; border-top-color: transparent; }
body.app-dashboard.forms-page .sgr-row.is-open + .sgr-row { border-top-color: transparent; }
body.app-dashboard.forms-page .sgr-row-head {
  grid-area: head; display: grid; grid-template-columns: var(--sgr-state-col) minmax(0, 1fr); column-gap: var(--sgr-state-gap); align-items: center;
  width: 100%; min-height: 60px; padding: 12px 0; border: 0; background: none; text-align: left; cursor: pointer; font-family: inherit; color: var(--sgr-ink);
}
body.app-dashboard.forms-page .sgr-row-head:active { transform: scale(0.996); }
body.app-dashboard.forms-page .sgr-row-head:focus-visible { outline-offset: -2px; border-radius: 8px; }
body.app-dashboard.forms-page .sgr-state { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--sgr-slate); font-size: 13px; font-weight: 600; }
body.app-dashboard.forms-page :is(.sgr-state, .sgr-attempt) svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
body.app-dashboard.forms-page :is(.sgr-state, .sgr-attempt) svg .sgr-half { fill: currentColor; stroke: none; }
body.app-dashboard.forms-page .sgr-state--wait { color: var(--sgr-amber-ink); }
body.app-dashboard.forms-page .sgr-state--wait svg { stroke: var(--sgr-amber); }
body.app-dashboard.forms-page .sgr-state--alert { color: var(--sgr-red); }
body.app-dashboard.forms-page .sgr-state--done { color: var(--sgr-green-ink); }
body.app-dashboard.forms-page .sgr-state--done svg { fill: var(--sgr-green); stroke: #fff; stroke-width: 2; }
body.app-dashboard.forms-page .sgr-state--readonly svg { stroke: var(--sgr-mist); }
body.app-dashboard.forms-page .sgr-state-word { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.app-dashboard.forms-page .sgr-meta-word { display: none; }
body.app-dashboard.forms-page .sgr-row-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
body.app-dashboard.forms-page .sgr-row-title { font-size: 17px; line-height: 1.25; font-weight: 600; letter-spacing: -0.012em; color: var(--sgr-ink); overflow-wrap: anywhere; text-wrap: pretty; }
body.app-dashboard.forms-page :is(.sgr-row--verified, .sgr-row--readonly) .sgr-row-title { color: var(--sgr-slate); }
body.app-dashboard.forms-page .sgr-row-title em { font-style: normal; font-weight: 500; color: var(--sgr-slate); font-size: 14px; letter-spacing: 0; }
body.app-dashboard.forms-page .sgr-row-meta { font-size: 14px; line-height: 1.45; color: var(--sgr-slate); overflow-wrap: anywhere; }
body.app-dashboard.forms-page .sgr-row:not(.is-open) .sgr-row-meta { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.app-dashboard.forms-page .sgr-here { color: var(--sgr-ink); font-weight: 600; }
body.app-dashboard.forms-page .sgr-ctx { display: inline; color: var(--sgr-slate); font-weight: 500; }
body.app-dashboard.forms-page .sgr-ctx::after { content: " · "; color: var(--sgr-mist); }
body.app-dashboard.forms-page .sgr-chev { position: absolute; right: 2px; top: 50%; margin-top: -10px; width: 20px; height: 20px; fill: none; stroke: var(--sgr-mist); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--sgr-ease); }
body.app-dashboard.forms-page .sgr-row.is-open > .sgr-row-head .sgr-chev { transform: rotate(90deg); top: 30px; right: 18px; }
body.app-dashboard.forms-page .sgr-match { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 13.5px; font-weight: 600; color: var(--sgr-ink); }
body.app-dashboard.forms-page .sgr-match::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sgr-grey); flex: none; }
body.app-dashboard.forms-page .sgr-match--done::before { background: var(--sgr-green); }
body.app-dashboard.forms-page .sgr-match--wait::before { background: var(--sgr-amber); }
body.app-dashboard.forms-page .sgr-match--alert::before { background: var(--sgr-red); }
body.app-dashboard.forms-page .sgr-row-act {
  grid-area: act; justify-self: end; align-self: center; min-height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--sgr-rule);
  background: #fff; color: var(--sgr-ink); font-family: inherit; font-weight: 600; font-size: 13.5px; line-height: 1; cursor: pointer; white-space: nowrap; transition: background-color 120ms ease;
}
body.app-dashboard.forms-page .sgr-row-act:hover { background: var(--sgr-tint); }
body.app-dashboard.forms-page .sgr-row-act.is-text { border: 0; background: none; color: var(--sgr-slate); font-weight: 500; padding: 0 2px; cursor: default; }
body.app-dashboard.forms-page .sgr-row-act.is-text:empty { display: none; }
body.app-dashboard.forms-page .sgr-row-region { grid-area: region; }
@media (max-width: 768px) {
  body.app-dashboard.forms-page .sgr-row { grid-template-columns: minmax(0, 1fr) 24px; grid-template-areas: "head chev" "region region"; }
  body.app-dashboard.forms-page .sgr-row-act { display: none; }
  body.app-dashboard.forms-page .sgr-row.is-open { margin: 0 -12px; padding: 0 12px; }
  body.app-dashboard.forms-page .sgr-row.is-open > .sgr-row-head .sgr-chev { right: 14px; }
  body.app-dashboard.forms-page .sgr-state-word { display: none; }
  body.app-dashboard.forms-page .sgr-meta-word { display: inline; font-weight: 600; color: var(--sgr-ink); }
  body.app-dashboard.forms-page :is(.sgr-row--returned, .sgr-row--rejected, .sgr-row--overdue) .sgr-meta-word { color: var(--sgr-red); }
  body.app-dashboard.forms-page .sgr-row--verified .sgr-meta-word { color: var(--sgr-green-ink); }
  body.app-dashboard.forms-page :is(.sgr-row--sent, .sgr-row--awaiting) .sgr-meta-word { color: var(--sgr-amber-ink); }
}

/* The region: the full status, notes, feedback, about, tips, the path, actions. */
body.app-dashboard.forms-page .sgr-detail { padding: 2px 0 18px; margin-left: calc(var(--sgr-state-col) + var(--sgr-state-gap)); max-width: 64ch; font-size: 15px; line-height: 1.5; color: var(--sgr-ink); cursor: default; }
@media (max-width: 768px) { body.app-dashboard.forms-page .sgr-detail { margin-left: 0; } }
body.app-dashboard.forms-page .sgr-d-status { margin: 0 0 4px; }
body.app-dashboard.forms-page .sgr-d-status b { font-weight: 600; }
body.app-dashboard.forms-page .sgr-detail .sgr-quote { margin: 8px 0 14px; }
body.app-dashboard.forms-page .sgr-d-block { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--sgr-rule); }
body.app-dashboard.forms-page .sgr-d-h { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sgr-slate); }
body.app-dashboard.forms-page .sgr-d-p { margin: 0 0 6px; color: var(--sgr-ink); }
body.app-dashboard.forms-page .sgr-d-p b { font-weight: 600; }
body.app-dashboard.forms-page .sgr-d-sites { color: var(--sgr-slate); font-size: 14px; }
body.app-dashboard.forms-page .sgr-d-sub { margin: 10px 0 2px; font-size: 13px; font-weight: 600; color: var(--sgr-slate); }
body.app-dashboard.forms-page .sgr-tips { margin: 0; padding: 0 0 0 18px; color: var(--sgr-ink); }
body.app-dashboard.forms-page .sgr-tips li { margin: 2px 0; }
body.app-dashboard.forms-page .sgr-ratings { list-style: none; margin: 0 0 4px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 4px 16px; }
body.app-dashboard.forms-page .sgr-ratings li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--sgr-line-soft); font-size: 14px; color: var(--sgr-slate); }
body.app-dashboard.forms-page .sgr-ratings b { font-weight: 600; color: var(--sgr-ink); white-space: nowrap; }
body.app-dashboard.forms-page .sgr-ratings b.is-above { color: var(--sgr-green-ink); }
body.app-dashboard.forms-page .sgr-ratings b:is(.is-below, .is-borderline) { color: var(--sgr-amber-ink); }
body.app-dashboard.forms-page .sgr-path { margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--sgr-rule); }
body.app-dashboard.forms-page .sgr-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13.5px; color: var(--sgr-slate); }
body.app-dashboard.forms-page .sgr-steps li { display: flex; align-items: center; gap: 8px; min-width: 0; }
body.app-dashboard.forms-page .sgr-steps b { font-weight: 500; color: var(--sgr-slate); white-space: nowrap; }
body.app-dashboard.forms-page .sgr-steps li.is-current b { color: var(--sgr-ink); font-weight: 600; }
body.app-dashboard.forms-page .sgr-steps li.is-done b { color: var(--sgr-ink); }
body.app-dashboard.forms-page .sgr-step-note { margin: 6px 0 0; font-size: 13.5px; color: var(--sgr-slate); max-width: 60ch; }
body.app-dashboard.forms-page .sgr-step-mark { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--sgr-rule); background: #fff; }
body.app-dashboard.forms-page .sgr-steps li.is-done .sgr-step-mark { background: var(--sgr-ink); border-color: var(--sgr-ink); }
body.app-dashboard.forms-page .sgr-steps li.is-current .sgr-step-mark { border-color: var(--sgr-brand); border-width: 2.5px; }
body.app-dashboard.forms-page .sgr-steps li.is-pending .sgr-step-mark { border-color: var(--sgr-amber); border-width: 2.5px; }
body.app-dashboard.forms-page .sgr-d-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 16px; }
@media (max-width: 768px) { body.app-dashboard.forms-page .sgr-d-actions .sgr-btn { flex: 1 1 100%; } }

/* Submissions: one line each, the verb at the end; matches are tinted. */
body.app-dashboard.forms-page .sgr-attempts { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--sgr-rule); }
body.app-dashboard.forms-page .sgr-attempt {
  display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; column-gap: 12px; align-items: start; padding: 10px 0;
  border-bottom: 1px solid var(--sgr-line-soft); font-size: 14.5px; line-height: 1.45;
}
body.app-dashboard.forms-page .sgr-attempt:last-child { border-bottom: 0; }
body.app-dashboard.forms-page .sgr-attempt svg { margin-top: 1px; }
body.app-dashboard.forms-page .sgr-attempt.is-done svg { fill: var(--sgr-green); stroke: #fff; stroke-width: 2; }
body.app-dashboard.forms-page .sgr-attempt.is-wait svg { stroke: var(--sgr-amber); }
body.app-dashboard.forms-page .sgr-attempt.is-alert svg { stroke: var(--sgr-red); }
body.app-dashboard.forms-page .sgr-attempt:is(.is-open, .is-readonly) svg { stroke: var(--sgr-mist); }
body.app-dashboard.forms-page .sgr-attempt-main { min-width: 0; }
body.app-dashboard.forms-page .sgr-attempt-main b { font-weight: 600; color: var(--sgr-ink); }
body.app-dashboard.forms-page .sgr-attempt-state { font-weight: 600; }
body.app-dashboard.forms-page .sgr-attempt.is-done .sgr-attempt-state { color: var(--sgr-green-ink); }
body.app-dashboard.forms-page .sgr-attempt.is-wait .sgr-attempt-state { color: var(--sgr-amber-ink); }
body.app-dashboard.forms-page .sgr-attempt.is-alert .sgr-attempt-state { color: var(--sgr-red); }
body.app-dashboard.forms-page .sgr-attempt:is(.is-open, .is-readonly) .sgr-attempt-state { color: var(--sgr-slate); }
body.app-dashboard.forms-page .sgr-attempt-where { display: block; color: var(--sgr-slate); font-size: 14px; }
body.app-dashboard.forms-page .sgr-attempt-act {
  min-height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--sgr-rule); background: #fff; color: var(--sgr-ink);
  font-family: inherit; font-weight: 600; font-size: 13px; line-height: 1; cursor: pointer; white-space: nowrap; align-self: center;
}
body.app-dashboard.forms-page .sgr-attempt-act:hover { background: var(--sgr-tint); }
body.app-dashboard.forms-page .sgr-attempt.is-match { margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 6px; }
body.app-dashboard.forms-page .sgr-attempt.is-match--verified { background: var(--sgr-green-tint); }
body.app-dashboard.forms-page .sgr-attempt.is-match--waiting { background: var(--sgr-amber-tint); }
body.app-dashboard.forms-page .sgr-attempt.is-match--attention { background: var(--sgr-red-tint); }
body.app-dashboard.forms-page .sgr-attempt.is-match--remaining { background: var(--sgr-grey-tint); }
@media (max-width: 768px) {
  body.app-dashboard.forms-page .sgr-attempt { grid-template-columns: 20px minmax(0, 1fr); row-gap: 8px; }
  body.app-dashboard.forms-page .sgr-attempt-act { grid-column: 2; justify-self: start; min-height: 40px; padding: 0 14px; font-size: 14px; }
}

/* A placement group (previous / upcoming): a quiet disclosure. */
body.app-dashboard.forms-page .sgr-group { border-top: 1px solid var(--sgr-rule); }
body.app-dashboard.forms-page .sgr-sect-head + .sgr-group, body.app-dashboard.forms-page .sgr-group:first-of-type { border-top: 0; }
body.app-dashboard.forms-page .sgr-group-h { margin: 0; font-size: inherit; font-weight: inherit; }
body.app-dashboard.forms-page .sgr-group-head {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; column-gap: 12px; align-items: center; width: 100%; min-height: 56px; padding: 10px 0;
  border: 0; background: none; text-align: left; cursor: pointer; font-family: inherit; color: var(--sgr-ink); border-radius: 8px;
}
body.app-dashboard.forms-page .sgr-group-head:hover { background: var(--sgr-open); }
body.app-dashboard.forms-page .sgr-group-head:focus-visible { outline: 2px solid var(--sgr-brand); outline-offset: -2px; }
body.app-dashboard.forms-page .sgr-group-title { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.25; }
body.app-dashboard.forms-page .sgr-group-meta { display: block; margin-top: 2px; font-size: 14px; color: var(--sgr-slate); }
body.app-dashboard.forms-page .sgr-group-count { font-size: 14px; color: var(--sgr-slate); white-space: nowrap; font-variant-numeric: tabular-nums; }
body.app-dashboard.forms-page .sgr-group-head .sgr-chev { position: static; margin: 0; }
body.app-dashboard.forms-page .sgr-group.is-open > .sgr-group-h .sgr-chev { transform: rotate(90deg); }
body.app-dashboard.forms-page .sgr-group-body { padding: 0 0 8px; }
body.app-dashboard.forms-page .sgr-group-body .sgr-rows > .sgr-row:first-child { border-top-color: var(--sgr-rule); }
@media (min-width: 769px) { body.app-dashboard.forms-page .sgr-group-body { padding-left: 24px; } }
@media (max-width: 768px) { body.app-dashboard.forms-page .sgr-group-count { font-size: 13px; } }

/* The evidence-file link: a quiet secondary row. */
body.app-dashboard.forms-page .sor-evlink:not(.sor-evlink--external) {
  margin-top: 28px; padding: 14px 0; border: 0; border-top: 1px solid var(--sgr-rule); border-radius: 0; background: none;
  font-size: 14px; font-weight: 600; color: var(--sgr-brand-2);
}
body.app-dashboard.forms-page .sor-evlink:not(.sor-evlink--external):hover { text-decoration: underline; text-underline-offset: 4px; }
body.app-dashboard.forms-page .sor-evlink:not(.sor-evlink--external) i { display: none; }
body.app-dashboard.forms-page .sor-evlink:not(.sor-evlink--external) b { color: var(--sgr-brand-2); font-size: 16px; line-height: 1; }

/* The funnel sheet (forms.js's own): pills in ink, the apply button navy. */
body.app-dashboard.forms-page .sor-fs-pill { border-radius: 8px; padding: 9px 13px; color: var(--sgr-ink); border-color: var(--sgr-rule); }
body.app-dashboard.forms-page .sor-fs-pill.is-on { background: var(--sgr-navy); border-color: var(--sgr-navy); color: #fff; }
body.app-dashboard.forms-page .sor-fs-pill.is-on em { color: rgba(255, 255, 255, 0.75); }
body.app-dashboard.forms-page .sor-fs-lab { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--sgr-slate); }
body.app-dashboard.forms-page .sor-fs-apply { background: var(--sgr-navy); border-radius: 8px; box-shadow: none; min-height: 44px; padding: 0 18px; font-size: 14.5px; }
body.app-dashboard.forms-page .sor-fs-apply:hover { background: var(--sgr-navy-2); }

/* Reduced motion: state changes kept, movement removed. */
@media (prefers-reduced-motion: reduce) {
  body.app-dashboard.forms-page :is(.sgr-chev, .sgr-row, .sgr-btn, .sgr-row-act, .sgr-sp-btn, .sgr-sp-btn > svg, .sgr-seg-fill, .sgr-sw, .sgr-nav::before, .sgr-nav-icon) { transition: none; }
  body.app-dashboard.forms-page :is(.sgr-filter, .sgr-seg-fill) { animation: none; }
  body.app-dashboard.forms-page .sgr-seg::after { transition: none; }
  body.app-dashboard.forms-page #forms-template-grid > .forms-empty.is-loading::before { animation: none; }
}
/* Forced colours: shapes keep their stroke; the chosen marks are system lines. */
@media (forced-colors: active) {
  body.app-dashboard.forms-page .sgr-seg-fill { background: CanvasText; }
  body.app-dashboard.forms-page .sgr-seg.is-on .sgr-seg-fill { background: Highlight; }
  body.app-dashboard.forms-page #forms-status-seg > button.is-on::after { background: Highlight; }
  body.app-dashboard.forms-page .sgr-row.is-open { outline: 1px solid CanvasText; }
}

/* =============================================================================
   Year 6 in the B2.2 register (shared/year6-register.js) — appended.

   Personal marks only. The personal colour is the brand blue with an OUTLINED
   tick; the register's filled verified green is never used here, because
   PlacementFlow holds no Year 6 record and nothing here is verified.
   ========================================================================== */
body.app-dashboard.forms-page .y6r { display: flex; flex-direction: column; gap: 18px; }
body.app-dashboard.forms-page .y6r-kick { display: flex; align-items: center; gap: 7px; margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sgr-brand-2); }
body.app-dashboard.forms-page .y6r-kick i { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--sgr-brand); }
body.app-dashboard.forms-page .y6r-figure:focus { outline: none; }
body.app-dashboard.forms-page .y6r-figure:focus-visible { outline: 2px solid var(--sgr-brand); outline-offset: 3px; border-radius: 4px; }
body.app-dashboard.forms-page .y6r-bar { position: relative; height: 8px; margin: 12px 0 0; border-radius: 999px; background: var(--sgr-grey-tint); overflow: hidden; }
body.app-dashboard.forms-page .y6r-bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--sgr-brand); transition: width 240ms var(--sgr-ease); }
body.app-dashboard.forms-page .y6r-sw::before { background: var(--sgr-grey); }
body.app-dashboard.forms-page .y6r-sw--noted::before { background: #fff; box-shadow: inset 0 0 0 2px var(--sgr-brand); }
body.app-dashboard.forms-page .y6r-sw--noted b { color: var(--sgr-brand-2); }
body.app-dashboard.forms-page .y6r-count { font-variant-numeric: tabular-nums; color: var(--sgr-slate); font-weight: 600; }
body.app-dashboard.forms-page .y6r-save { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--sgr-slate); }
body.app-dashboard.forms-page .y6r-top.is-unsaved .y6r-save { color: var(--sgr-red); font-weight: 600; }

body.app-dashboard.forms-page .y6r-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
body.app-dashboard.forms-page .y6r-search { position: relative; flex: 1 1 260px; min-width: 0; }
body.app-dashboard.forms-page .y6r-search svg { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; margin-top: -9px; fill: none; stroke: var(--sgr-mist); stroke-width: 1.8; stroke-linecap: round; }
body.app-dashboard.forms-page .y6r-search input { width: 100%; min-height: 44px; padding: 0 12px 0 38px; border: 1px solid var(--sgr-rule); border-radius: 10px; background: #fff; font: inherit; font-size: 15px; color: var(--sgr-ink); }
body.app-dashboard.forms-page .y6r-search input:focus-visible { outline: 2px solid var(--sgr-brand); outline-offset: 1px; border-color: transparent; }
body.app-dashboard.forms-page .y6r-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--sgr-grey-tint); }
body.app-dashboard.forms-page .y6r-seg button { min-height: 38px; padding: 0 12px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--sgr-slate); cursor: pointer; white-space: nowrap; }
body.app-dashboard.forms-page .y6r-seg button.is-on { background: #fff; color: var(--sgr-ink); box-shadow: 0 1px 2px rgba(8, 31, 71, 0.12); }
body.app-dashboard.forms-page .y6r-seg button:focus-visible { outline: 2px solid var(--sgr-brand); outline-offset: 1px; }

body.app-dashboard.forms-page .y6r-state--noted { color: var(--sgr-brand-2); }
body.app-dashboard.forms-page .y6r-state--noted svg { stroke: var(--sgr-brand); }
body.app-dashboard.forms-page .y6r-state--partial { color: var(--sgr-brand-2); }
body.app-dashboard.forms-page .y6r-state--partial svg { stroke: var(--sgr-brand); }
body.app-dashboard.forms-page .y6r-state--reference { color: var(--sgr-mist); }
body.app-dashboard.forms-page .y6r-row--reference .sgr-row-title { color: var(--sgr-slate); }

body.app-dashboard.forms-page .y6r-control { grid-area: act; justify-self: end; align-self: center; display: flex; align-items: center; }
body.app-dashboard.forms-page .y6r-mark { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px 0 8px; border: 1px solid var(--sgr-rule); border-radius: 8px; background: #fff; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--sgr-ink); cursor: pointer; white-space: nowrap; }
body.app-dashboard.forms-page .y6r-mark:hover { background: var(--sgr-tint); }
body.app-dashboard.forms-page .y6r-mark:focus-visible { outline: 2px solid var(--sgr-brand); outline-offset: 2px; }
body.app-dashboard.forms-page .y6r-mark[disabled] { opacity: 0.55; cursor: not-allowed; }
body.app-dashboard.forms-page .y6r-mark-box { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 2px solid var(--sgr-grey); border-radius: 6px; background: #fff; }
body.app-dashboard.forms-page .y6r-mark-box svg { width: 14px; height: 14px; fill: none; stroke: transparent; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
body.app-dashboard.forms-page .y6r-mark.is-on { border-color: var(--sgr-brand); background: var(--sgr-tint); color: var(--sgr-brand-2); }
body.app-dashboard.forms-page .y6r-mark.is-on .y6r-mark-box { border-color: var(--sgr-brand); }
body.app-dashboard.forms-page .y6r-mark.is-on .y6r-mark-box svg { stroke: var(--sgr-brand); }
body.app-dashboard.forms-page .y6r-step { display: inline-flex; align-items: center; gap: 4px; }
body.app-dashboard.forms-page .y6r-step button { width: 40px; height: 40px; border: 1px solid var(--sgr-rule); border-radius: 8px; background: #fff; font: inherit; font-size: 18px; font-weight: 600; line-height: 1; color: var(--sgr-ink); cursor: pointer; }
body.app-dashboard.forms-page .y6r-step button:hover { background: var(--sgr-tint); }
body.app-dashboard.forms-page .y6r-step button:focus-visible { outline: 2px solid var(--sgr-brand); outline-offset: 2px; }
body.app-dashboard.forms-page .y6r-step button[aria-disabled="true"] { opacity: 0.4; cursor: default; }
body.app-dashboard.forms-page .y6r-step output { min-width: 118px; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--sgr-brand-2); font-variant-numeric: tabular-nums; }
body.app-dashboard.forms-page .y6r-step output span { font-weight: 500; color: var(--sgr-slate); }
body.app-dashboard.forms-page .y6r-act-text.is-text { color: var(--sgr-slate); }

body.app-dashboard.forms-page .y6r-d { margin: 0 0 8px; }
body.app-dashboard.forms-page .y6r-d b { font-weight: 600; }
body.app-dashboard.forms-page .y6r-d--quiet { color: var(--sgr-slate); font-size: 14px; }
body.app-dashboard.forms-page .y6r-mine { padding: 10px 12px; border-radius: 8px; background: var(--sgr-tint); color: var(--sgr-navy); font-size: 14px; }
body.app-dashboard.forms-page .y6r-official.is-plain { font-size: 14px; color: var(--sgr-slate); }
body.app-dashboard.forms-page .y6r-acts-h { margin: 10px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sgr-slate); }
body.app-dashboard.forms-page .y6r-acts { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 4px; }
body.app-dashboard.forms-page .y6r-acts li { display: flex; align-items: center; gap: 10px; min-height: 44px; }
body.app-dashboard.forms-page .y6r-mark--act { min-height: 40px; padding: 0 8px; }
body.app-dashboard.forms-page .y6r-act-text { display: flex; flex-direction: column; min-width: 0; font-size: 15px; }
body.app-dashboard.forms-page .y6r-act-text small { font-size: 13px; color: var(--sgr-slate); }

body.app-dashboard.forms-page .y6r-unassigned { margin: 6px 0 10px; padding: 10px 12px; border: 1px dashed var(--sgr-rule); border-radius: 8px; font-size: 14px; color: var(--sgr-slate); }
body.app-dashboard.forms-page .y6r-unassigned summary { cursor: pointer; font-weight: 600; color: var(--sgr-ink); min-height: 28px; }
body.app-dashboard.forms-page .y6r-unassigned ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
body.app-dashboard.forms-page .y6r-unassigned li { display: flex; justify-content: space-between; gap: 12px; }
body.app-dashboard.forms-page .y6r-sources { margin: 6px 0 4px; font-size: 13.5px; line-height: 1.6; color: var(--sgr-slate); }
body.app-dashboard.forms-page .y6r-sources-k { font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; margin-right: 6px; }
body.app-dashboard.forms-page .y6r-sources a { color: var(--sgr-brand-2); }
body.app-dashboard.forms-page .y6r-note { margin: 4px 0; }
body.app-dashboard.forms-page .y6r-foot { display: flex; flex-direction: column; gap: 12px; }
body.app-dashboard.forms-page .y6r-reset { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: var(--sgr-ink); }
body.app-dashboard.forms-page .y6r-flat > .sgr-rows { margin-top: 2px; }

@media (max-width: 768px) {
  body.app-dashboard.forms-page .y6r-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head act" "region region"; }
  body.app-dashboard.forms-page .y6r-row .sgr-chev { display: none; }
  body.app-dashboard.forms-page .y6r-row--counted { grid-template-areas: "head head" "act act" "region region"; }
  body.app-dashboard.forms-page .y6r-row--counted .y6r-control { justify-self: start; margin: -4px 0 10px calc(var(--sgr-state-col) + var(--sgr-state-gap)); }
  body.app-dashboard.forms-page .y6r-mark { width: 44px; height: 44px; padding: 0; justify-content: center; }
  body.app-dashboard.forms-page .y6r-mark-word { display: none; }
  body.app-dashboard.forms-page .y6r-mark--act { width: 44px; height: 44px; }
  body.app-dashboard.forms-page .y6r-step button { width: 44px; height: 44px; }
  body.app-dashboard.forms-page .y6r-step output { min-width: 104px; }
  body.app-dashboard.forms-page .y6r-seg { width: 100%; }
  body.app-dashboard.forms-page .y6r-seg button { flex: 1; padding: 0 6px; }
}
@media (prefers-reduced-motion: reduce) {
  body.app-dashboard.forms-page .y6r-bar i { transition: none; }
}
@media (forced-colors: active) {
  body.app-dashboard.forms-page .y6r-bar i { background: Highlight; }
  body.app-dashboard.forms-page .y6r-mark.is-on { outline: 2px solid Highlight; }
}

/* Year 6 personal submission summary (IDOPS n of N; ACE sessions without an invented total) — appended. */
body.app-dashboard.forms-page .y6r-subs { display: flex; flex-wrap: wrap; gap: 2px 0; margin-top: 4px; }
body.app-dashboard.forms-page .y6r-subs b { font-weight: 600; color: var(--sgr-brand-2); margin-right: 4px; }
body.app-dashboard.forms-page .y6r-sub-sep { color: var(--sgr-mist); white-space: pre; }
@media (max-width: 768px) { body.app-dashboard.forms-page .y6r-subs { flex-direction: column; } body.app-dashboard.forms-page .y6r-sub-sep { display: none; } }

/* Year 6: allocations PlacementFlow could not match (shown, never counted) — appended. */
body.app-dashboard.forms-page .y6r-unmatched ul { list-style: none; margin: 6px 0 4px; padding: 0; display: grid; gap: 6px; font-size: 14.5px; color: var(--sgr-ink); }
body.app-dashboard.forms-page .y6r-unmatched li { padding: 8px 12px; border: 1px dashed var(--sgr-rule); border-radius: 8px; overflow-wrap: anywhere; }
body.app-dashboard.forms-page .y6r-unmatched b { font-weight: 600; }

/* Year 6: how the personal checklist total is counted (auditable breakdown) — appended. */
body.app-dashboard.forms-page .y6r-breakdown { margin: 8px 0 2px; font-size: 14px; color: var(--sgr-slate); }
body.app-dashboard.forms-page .y6r-breakdown summary { cursor: pointer; min-height: 32px; font-weight: 600; color: var(--sgr-brand-2); }
body.app-dashboard.forms-page .y6r-breakdown ul { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 6px; }
body.app-dashboard.forms-page .y6r-breakdown li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; }
body.app-dashboard.forms-page .y6r-breakdown li > span { color: var(--sgr-ink); }
body.app-dashboard.forms-page .y6r-breakdown li > b { font-weight: 600; color: var(--sgr-brand-2); font-variant-numeric: tabular-nums; }
body.app-dashboard.forms-page .y6r-breakdown li > small { grid-column: 1 / -1; font-size: 13px; }
body.app-dashboard.forms-page .y6r-breakdown p { margin: 4px 0 0; font-size: 13px; }

/* Year 6 logbooks (19 Oct 2026): the activities' own progress, first in the
   expanded logbook, in the same words as the row. */
body.app-dashboard.forms-page .y6r-acts-sum { margin: 2px 0 6px; font-size: 13px; line-height: 1.4; color: var(--sgr-slate); }
body.app-dashboard.forms-page .y6r-acts-sum b { color: var(--sgr-ink, inherit); font-weight: 600; }

/* Year 6 logbooks (19 Oct 2026, named activities): verified external links,
   distinct from the personal checkbox; and the earlier-record note. */
body.app-dashboard.forms-page .y6r-act-link { display: inline-block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--sgr-blue, #2d5ae6); text-decoration: underline; text-underline-offset: 2px; min-height: 24px; }
body.app-dashboard.forms-page .y6r-act-link:focus-visible { outline: 3px solid var(--sgr-blue, #2d5ae6); outline-offset: 2px; border-radius: 3px; }
body.app-dashboard.forms-page .y6r-acts-links { margin-top: 10px; }
body.app-dashboard.forms-page .y6r-earlier { margin: 4px 0 8px; padding: 10px 12px; border-radius: 8px; background: #fff7e5; color: var(--sgr-ink, #1f2a3d); font-size: 13px; line-height: 1.45; }
body.app-dashboard.forms-page .y6r-earlier p { margin: 0 0 6px; }
body.app-dashboard.forms-page .y6r-earlier .sgr-link { min-height: 32px; }
/* A long activity name (or its link) never squeezes the personal checkbox
   below a comfortable tap target. */
body.app-dashboard.forms-page .y6r-acts li > .y6r-mark--act { flex: 0 0 auto; min-width: 44px; min-height: 44px; }
body.app-dashboard.forms-page .y6r-acts li > .y6r-act-text { min-width: 0; }
body.app-dashboard.forms-page .y6r-act-earlier { display: block; font-size: 12px; font-weight: 500; color: var(--sgr-slate); }
