@import url("./tokens.css");
@font-face {
  font-family: Roboto;
  src: url("./fonts/roboto-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("./fonts/roboto-condensed-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 15px/1.48 var(--f);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -0.04em;
  line-height: 1.14;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.016em;
  line-height: 1.3;
  margin: 0 0 17px;
}
h3 {
  font-size: 16px;
}
a {
  color: var(--petrol);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--action);
  color: var(--on-action);
  font-weight: 650;
  padding: 9px 15px;
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.quiet,
#dismiss {
  background: var(--surface);
  color: var(--petrol);
  border-color: var(--border);
}
.skip,
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  z-index: 9;
  width: auto;
  height: auto;
  clip-path: none;
  background: var(--surface);
  padding: 12px;
}
:focus-visible {
  outline: 3px solid var(--petrol);
  outline-offset: 3px;
}
.top {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  position: sticky;
  top: 0;
  z-index: 4;
}
.bar {
  max-width: 1340px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
  min-height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  display: block;
}
.top nav {
  align-self: stretch;
  display: flex;
  align-items: stretch;
  gap: 2px;
}
.top nav a {
  display: grid;
  align-items: center;
  border-bottom: 3px solid transparent;
  color: var(--text-2);
  font-weight: 550;
  padding: 3px 12px 0;
  white-space: nowrap;
}
.top nav a:hover,
.top nav a[aria-current] {
  color: var(--text);
  text-decoration: none;
  background: var(--petrol-100);
}
.top nav a[aria-current] {
  border-color: var(--cyan);
}
.find {
  margin-left: auto;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.find kbd {
  margin-left: 7px;
  font: 11px var(--fc);
  color: var(--text-2);
}
.theme-control {
  flex: none;
  margin: 0;
}
.theme-control select {
  width: auto;
  min-height: 36px;
  font-size: 13px;
  padding: 4px 6px;
}
.preview-label + .theme-control {
  margin-left: auto;
}
.account {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 650 13px var(--fc);
  color: var(--text);
  background: var(--petrol-100);
  color: var(--petrol-700);
  flex: none;
}
.top :focus-visible {
  outline-color: var(--text);
}
.container {
  max-width: 1200px;
  margin: auto;
  padding: 26px clamp(16px, 3.2vw, 44px) 72px;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-2);
  font-size: 13px;
  margin-bottom: 13px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.period {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  background: var(--surface);
  font: 650 14px var(--fc);
  white-space: nowrap;
}
.panel,
.block,
.stats {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.panel,
.block {
  padding: 22px;
  margin: 0 0 18px;
  min-width: 0;
}
.stats {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  overflow: hidden;
  margin-bottom: 20px;
}
.stats a {
  padding: 17px 22px;
  display: grid;
  gap: 4px;
  color: var(--text);
}
.stats a + a {
  border-left: 1px solid var(--border-soft);
}
.stats a:hover {
  background: var(--petrol-100);
  text-decoration: none;
}
.stats span,
.result-count,
th {
  font-family: var(--fc);
  color: var(--text-2);
  font-weight: 600;
}
.stats strong {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.dash-grid,
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(245px, 1fr);
  gap: 18px;
}
.grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
th,
td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--border-soft);
}
th:first-child,
td:first-child {
  padding-left: 0;
}
th:last-child,
td:last-child {
  padding-right: 0;
}
th {
  font-size: 13px;
}
td {
  font-size: 14px;
}
.table-rail {
  overflow-x: auto;
}
.text-link {
  font-weight: 650;
  font-size: 13px;
  white-space: nowrap;
}
.table-rail + .text-link {
  display: inline-block;
  margin-top: 15px;
}
.person-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font: 650 13px var(--fc);
  color: var(--petrol-700);
  background: var(--petrol-100);
}
.tone1 {
  background: var(--cyan-100);
}
.tone2 {
  background: var(--surface-2);
}
.tone3 {
  background: var(--petrol-100);
}
small {
  display: block;
  color: var(--text-2);
  font-size: 12.5px;
}
.tag,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 100px;
  font: 600 12px var(--fc);
  white-space: nowrap;
}
.tag:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 100px;
  background: currentColor;
}
.neutral,
.pill {
  background: var(--surface-2);
  color: var(--text-2);
}
.good {
  color: var(--ok);
  background: var(--surface-2);
}
.attention {
  color: var(--text);
  background: var(--orange-100);
}
.attention:before {
  background: var(--orange);
}
.completion {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.completion strong {
  font-size: 21px;
}
.ring {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  border-radius: 100%;
  background: conic-gradient(var(--cyan) var(--value), var(--surface-2) 0);
}
.ring:before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  background: var(--surface);
  z-index: -1;
}
.ring b {
  font: 650 21px var(--fc);
}
.legend {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  font-size: 14px;
  color: var(--text-2);
}
.legend b {
  color: var(--text);
}
.row,
.task-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border-soft);
}
.task-row a {
  font-weight: 650;
}
.task-row small {
  margin-top: 4px;
}
.empty {
  color: var(--text-2);
  padding: 14px 0;
}
.result-count {
  padding: 14px 0 4px;
  font-size: 13px;
}
label {
  display: grid;
  gap: 5px;
  font-weight: 550;
  font-size: 14px;
  margin: 0 0 12px;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  color: var(--text);
  background-color: var(--field-fill);
  border: 1px solid var(--field-edge);
  border-radius: 6px;
  padding: 9px 10px;
}
input::placeholder,
textarea::placeholder {
  color: var(--field-hint);
  opacity: 1;
}
input:not([type="radio"]):not([type="checkbox"]):focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--petrol);
  outline-offset: 2px;
  border-color: var(--petrol);
}
input[type="search"] {
  padding-inline-start: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235b817c' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='6.5'/%3E%3Cpath d='m15 15 6 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
}
textarea {
  min-height: 76px;
  resize: vertical;
}
.filterbar {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 16px;
}
.filterbar label {
  flex: 1;
  margin: 0;
}
.filterbar label:first-child {
  flex: 1.6;
}
.filterbar button {
  flex: none;
}
.block summary {
  font-weight: 650;
  cursor: pointer;
  color: var(--petrol);
}
details[open] > summary {
  margin-bottom: 16px;
}
.metrics {
  list-style: none;
  padding: 0;
  margin: 0;
}
.metrics li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--border-soft);
}
.metrics small {
  min-width: 100px;
  font: 600 13px var(--fc);
}
.metrics strong {
  margin-left: auto;
}
.pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}
.tabs a {
  min-width: 0;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  color: var(--petrol-700);
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.tabs a:hover {
  background: var(--petrol-100);
  border-color: var(--petrol);
  text-decoration: none;
}
.tabs a[aria-current] {
  background: var(--action);
  border-color: var(--action);
  color: var(--on-action);
}
.tabs a:active {
  box-shadow: inset 0 0 0 2px currentColor;
}
article {
  scroll-margin-top: 80px;
}
article + article {
  margin-top: 18px;
}
.selected-task {
  border-left: 3px solid var(--petrol);
  padding-left: 14px;
}
.panel form,
.block form {
  max-width: 660px;
}
form p,
.panel > p {
  margin-bottom: 12px;
}
.panel > p:last-child {
  margin-bottom: 0;
}
p[data-progress] {
  font: 650 14px var(--fc);
  color: var(--petrol);
}
#notice {
  padding: 10px 15px;
  border-left: 3px solid var(--petrol);
  background: var(--petrol-100);
  margin-bottom: 14px;
}
.muted {
  color: var(--text-2);
  font-size: 14px;
}
dialog {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: min(550px, 94vw);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  max-height: 80vh;
}
dialog::backdrop {
  background: var(--backdrop);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.dialog-head h2 {
  margin: 0;
}
#matches a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--border-soft);
  padding: 10px 4px;
}
@media (max-width: 1050px) {
  .bar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 9px 18px 0;
  }
  .top nav {
    order: 4;
    width: 100%;
    overflow-x: auto;
  }
  .top nav a {
    padding: 8px 11px;
  }
}
@media (max-width: 970px) {
  .dash-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(205px, 1fr);
  }
}
@media (max-width: 720px) {
  .dash-grid,
  .grid {
    display: block;
  }
  .container {
    padding-top: 18px;
  }
  .stats {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats a {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-soft);
  }
  .stats strong {
    font-size: 26px;
  }
  .stats a:nth-child(odd) {
    border-left: 0;
  }
  .filterbar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .filterbar label {
    min-width: 44%;
  }
  .filterbar label:first-child {
    flex-basis: 100%;
  }
  .panel,
  .block {
    padding: 16px;
  }
  .period {
    font-size: 12px;
    padding: 4px 8px;
  }
  .top nav a {
    font-size: 14px;
  }
  .page-heading {
    align-items: start;
  }
  .metrics li {
    flex-wrap: wrap;
    gap: 5px;
  }
  .table-rail:not(.report-table) th:nth-child(2),
  .table-rail:not(.report-table) td:nth-child(2) {
    display: none;
  }
  .find kbd {
    display: none;
  }
}
.profile-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  margin-bottom: 14px;
}
.launch {
  padding-top: 42px;
}
.launch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  gap: 20px;
  align-items: start;
}
.launch-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 2px;
  color: var(--text);
  border-top: 1px solid var(--border-soft);
}
.launch-row:hover {
  background: var(--petrol-100);
}
.go {
  margin-left: auto;
  color: var(--petrol);
  font-weight: 600;
  font-size: 13px;
}
.walk {
  padding-left: 24px;
}
.walk li {
  padding: 4px 0 14px 6px;
}
.walk li::marker {
  color: var(--petrol);
  font-weight: 700;
}
.preview-label {
  color: var(--text-2);
}
.preview-switch {
  color: var(--petrol);
  margin-left: auto;
  font-size: 13px;
}
@media (max-width: 720px) {
  .launch-grid {
    display: block;
  }
  .bar:has(.preview-label) {
    padding: 10px 18px;
  }
  .stats a:only-child {
    border: 0;
  }
}
.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
}
.score-row legend {
  padding: 0 5px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.score-row legend small {
  display: inline;
  padding-right: 8px;
  font-family: var(--fc);
}
.scale {
  display: flex;
  gap: 5px;
}
.scale label {
  margin: 0;
  position: relative;
}
.scale input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.scale span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 36px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  cursor: pointer;
}
.scale input:checked + span {
  background: var(--action);
  color: var(--on-action);
  border-color: var(--action);
}
.scale input:focus-visible + span {
  outline: 2px solid var(--petrol);
  outline-offset: 2px;
}
.callout {
  border-left: 3px solid var(--cyan);
  padding: 10px 14px;
  margin-bottom: 14px;
  background: var(--cyan-100);
}
.report-table + button {
  margin-top: 14px;
}
.profile-line {
  font-size: 14px;
}
.task-row > div:first-child {
  margin-right: auto;
}
.panel button + .muted,
.panel form + .muted {
  margin-top: 12px;
}
#palette {
  width: min(480px, 94vw);
  max-height: 78dvh;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  color: var(--text);
  padding: 20px;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.dialog-head h2 {
  margin: 0;
}
#matches a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--border-soft);
}
@media (max-width: 720px) {
  .report-table th:nth-child(2),
  .report-table td:nth-child(2) {
    display: table-cell;
  }
  .launch-grid {
    display: block;
  }
  .scale span {
    min-height: 44px;
  }
  .task-row {
    flex-wrap: wrap;
  }
}
/* Task-first home and responsive workspace navigation. */
.nav-icon {
  width: 18px;
  height: 18px;
  flex: none;
}
.top nav a {
  display: flex;
  align-items: center;
  gap: 7px;
}
.product-name {
  border-left: 1px solid var(--border);
  padding-left: 12px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(285px, 1fr);
  align-items: start;
  gap: 20px;
}
.home-grid > div {
  min-width: 0;
}
.action-list {
  display: grid;
}
.action-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 12px 0;
  border-top: 1px solid var(--border-soft);
  text-decoration: none;
}
.action-list a:hover b {
  text-decoration: underline;
}
.action-list a > span:last-child {
  font-size: 18px;
}
.action-list b,
.task-row b {
  font-weight: 650;
}
.action-list small {
  margin-top: 2px;
}
.section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
}
.section-tabs a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 13px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  font-weight: 550;
}
.section-tabs a[aria-current] {
  background: var(--petrol-100);
  border-color: var(--petrol);
}
.scale-choice {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}
.scale-choice legend {
  font-weight: 600;
  margin-bottom: 8px;
}
.scale span {
  min-width: 44px;
  min-height: 44px;
}
.home-grid .panel {
  padding: 20px 22px;
}
@media (max-width: 760px) {
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }
  .top .bar {
    min-height: 52px;
    flex-wrap: nowrap;
    padding: 7px 14px;
    gap: 10px;
  }
  .top .brand {
    font-size: 15px;
  }
  .top .brand img {
    width: 28px;
    height: 28px;
  }
  .top .product-name {
    font-size: 12px;
    padding-left: 7px;
  }
  .top #nav {
    position: fixed;
    z-index: 5;
    inset: auto 0 0;
    width: 100%;
    display: flex;
    order: initial;
    gap: 0;
    overflow: visible;
    border-top: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-md);
    padding: 2px 6px calc(2px + env(safe-area-inset-bottom));
  }
  .top #nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    min-height: 54px;
    color: var(--text-2);
    border: 0;
    border-radius: 6px;
    font-size: 12px;
  }
  .top #nav a[aria-current] {
    background: var(--petrol-100);
    color: var(--petrol);
  }
  .top #nav .nav-icon {
    width: 21px;
    height: 21px;
  }
  .top #find {
    min-height: 38px;
  }
  .top #identity {
    min-width: 38px;
    min-height: 38px;
  }
  .container {
    padding: 13px 12px 18px;
  }
  .page-heading {
    margin-bottom: 15px;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
  }
  .crumb {
    margin-bottom: 8px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .period {
    white-space: normal;
  }
  .home-grid {
    display: block;
  }
  .home-grid .panel,
  .panel,
  .block {
    padding: 15px;
  }
  .home-grid .task-row {
    align-items: flex-start;
  }
  .action-list a {
    min-height: 48px;
  }
  .scale-choice .scale {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }
  .scale-choice .scale span {
    width: 100%;
  }
  .profile-line + .tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .tabs a,
  .section-tabs a {
    min-height: 44px;
  }
  .section-tabs {
    gap: 5px;
  }
  .section-tabs a {
    font-size: 13px;
    padding: 5px 10px;
  }
  .score-row {
    padding: 8px;
    margin: 0 0 9px;
  }
  .score-row .scale {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .score-row .scale span {
    min-width: 0;
    width: 100%;
  }
  button,
  .button,
  input,
  textarea,
  select {
    min-height: 44px;
  }
  .filterbar input,
  .filterbar select,
  form input,
  form select,
  form textarea {
    font-size: 16px;
  }
  .panel form {
    max-width: none;
  }
  .top .find kbd {
    display: none;
  }
}

.crumb[hidden] {
  display: none;
}
.crumb a,
.text-link,
.home-tools a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
}
.home-tools {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-soft);
}
.home-grid .panel {
  box-shadow: none;
}
.home-grid h2 {
  margin-bottom: 7px;
}
.home-grid .action-list a {
  color: var(--text);
}
.home-grid .action-list a > span:last-child {
  color: var(--petrol);
}
.home-grid .action-list a:first-child {
  border-top: 0;
}
.period {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--text-2);
  font-family: inherit;
  font-weight: 500;
}
.review-controls {
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
}
.review-controls > div {
  display: flex;
  gap: 8px;
}
.review-controls [data-progress] {
  color: var(--text-2);
  font-size: 14px;
}
.score-row {
  min-inline-size: 0;
}
.score-group {
  margin: 18px 0 9px;
  color: var(--text-2);
  font-size: 14px;
}
.list-filters > summary {
  color: var(--petrol-700);
  font-weight: 600;
  cursor: pointer;
  padding: 10px 0;
  min-height: 44px;
}
.action-list small {
  display: block;
}
@media (max-width: 760px) {
  .top .bar {
    gap: 6px;
    padding: 3px 10px;
  }
  .top .brand {
    min-width: 0;
    margin-right: auto;
  }
  .top #find,
  .top #identity,
  .top .theme-control select {
    min-height: 44px;
    min-width: 44px;
  }
  .top #find {
    margin-left: 0;
  }
  .top #nav a {
    min-width: 0;
    padding-inline: 2px;
  }
  .crumb {
    display: none;
  }
  .page-heading {
    margin: 4px 0 14px;
    gap: 4px;
    flex-direction: column;
    align-items: flex-start;
  }
  .home-grid .panel {
    margin-bottom: 12px;
    padding: 14px 16px 6px;
  }
  .home-grid .panel form {
    margin-bottom: 10px;
  }
  .action-list a {
    min-height: 48px;
    padding: 9px 0;
  }
  .section-tabs {
    gap: 3px;
  }
  .section-tabs a {
    padding-inline: 7px;
  }
  .task-row > div:first-child a,
  [data-work-screen] a,
  .block > summary {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .block > summary {
    display: list-item;
    padding-block: 10px;
  }
  .review-controls {
    position: sticky;
    bottom: calc(58px + env(safe-area-inset-bottom));
    z-index: 2;
    flex-wrap: nowrap;
  }
  .review-controls button {
    padding: 7px 9px;
  }
  .score-row {
    border: 0;
    border-bottom: 1px solid var(--border-soft);
    border-radius: 0;
    padding: 4px 0 10px;
    margin-bottom: 8px;
  }
  .score-row legend {
    padding: 0;
  }
  .score-row .scale span,
  .scale-choice .scale span {
    min-height: 44px;
  }
  .panel:has(form[data-action="review"]) {
    padding-bottom: 0;
  }
  html {
    scroll-padding-block: 60px calc(130px + env(safe-area-inset-bottom));
  }
  .list-filters .filterbar {
    display: grid;
    grid-template-columns: 1fr;
  }
  .section-tabs a,
  .tabs a {
    justify-content: center;
  }
  .home-grid .empty {
    margin: 8px 0;
  }
}
@media (max-width: 420px) {
  .top .product-name {
    display: none;
  }
}

.work-entry {
  border-bottom: 1px solid var(--border-soft);
}
.work-entry summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding-block: 8px;
  cursor: pointer;
}
.work-entry summary::-webkit-details-marker {
  display: none;
}
.work-entry summary small {
  display: block;
  margin-top: 3px;
  color: var(--text-2);
}
.work-entry summary b {
  font-weight: 600;
}
.work-entry .work-edit {
  color: var(--petrol-700);
  font-size: 14px;
  font-weight: 600;
}
.work-entry[open] summary {
  margin-bottom: 5px;
}
.work-entry form {
  margin-top: 4px;
}
.work-entry + .home-tools {
  border: 0;
}

.org-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  color: var(--text-2);
  margin: 0 0 16px;
}
.org-summary b {
  color: var(--text);
}
.org-team {
  margin-bottom: 12px;
}
.org-team > summary {
  min-height: 46px;
  cursor: pointer;
  padding-block: 6px;
}
.org-team > summary small {
  margin-left: 8px;
  color: var(--text-2);
}
.org-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--border-soft);
}
.org-row > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.org-row small {
  display: block;
  color: var(--text-2);
}
.org-row .text-link {
  flex: none;
}

.org-team section + section {
  margin-top: 16px;
}
.org-row[hidden],
.org-team[hidden] {
  display: none;
}
#org-match:empty {
  margin: 0;
}

.org-roots,
.org-children {
  list-style: none;
  margin: 0;
  padding: 0;
}
.org-children {
  margin: 0 0 6px 10px;
  padding-inline-start: 18px;
  border-inline-start: 2px solid var(--field-edge);
}
.org-roots > .org-node + .org-node {
  margin-top: 12px;
}
.org-team [hidden] {
  display: none;
}
.org-row {
  scroll-margin-top: 72px;
  flex-wrap: wrap;
}
.org-row > div {
  flex: 1 1 190px;
}
.org-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  max-width: 100%;
  padding: 0;
  text-align: start;
  color: var(--text);
  background: transparent;
  border: 0;
}
.org-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--petrol);
  border-bottom: 2px solid var(--petrol);
  transform: rotate(-45deg);
  flex: none;
  margin: 0 3px;
}
.org-toggle[aria-expanded="true"] .org-chevron {
  transform: rotate(45deg);
}
.org-toggle:hover b,
.org-reference:hover {
  text-decoration: underline;
}
.org-reference {
  background: transparent;
  border: none;
  min-height: 44px;
  padding: 4px 0;
  text-align: start;
  color: var(--petrol-700);
}
.org-reference span {
  color: var(--text-2);
  font-weight: 400;
}
.org-cross {
  border-top: 1px solid var(--border-soft);
}
.org-row .org-external {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
@media (max-width: 760px) {
  .org-children {
    margin-inline-start: 3px;
    padding-inline-start: 10px;
  }
  .org-children .org-children .org-children .org-children {
    margin-inline-start: 0;
    padding-inline-start: 2px;
    border-inline-start: 0;
  }
  .org-row {
    gap: 1px;
  }
}
