:root {
  --navy: #102c50;
  --ink: #182b40;
  --muted: #52657a;
  --blue: #185adb;
  --gold: #cfab55;
  --silver: #cbd5e1;
  --paper: #f3f6fa;
  --line: #d9e2ec;
  --white: #fff;
  --green: #246248;
  --red: #a42e35;
  --radius: 16px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scrollbar-color: #8495a9 var(--paper);
  scrollbar-width: auto;
  scrollbar-gutter: stable;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:hover:not(:disabled) {
  filter: brightness(0.95);
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
a {
  color: var(--blue);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: "Arial Narrow", "Segoe UI", sans-serif;
  letter-spacing: -0.035em;
}
h1 {
  font-size: 36px;
  line-height: 1.15;
}
h2 {
  font-size: 23px;
}
h3 {
  font-size: 17px;
}
p {
  line-height: 1.6;
}
small,
.small {
  font-size: 12px;
  line-height: 1.5;
}
.muted {
  color: var(--muted);
}
.bold {
  font-weight: 700;
}
svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  flex-shrink: 0;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.grow {
  flex: 1;
  min-width: 0;
}
.stack {
  display: grid;
  gap: 22px;
}
.mt {
  margin-top: 24px;
}
.mt12 {
  margin-top: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  color: var(--ink);
  font-weight: 650;
  font-size: 13px;
  text-decoration: none;
  line-height: 1.4;
  text-align: center;
}
.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.btn.navy {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.btn.success {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.btn.danger {
  color: var(--red);
  border-color: #d5abb1;
}
.btn.ghost {
  background: transparent;
  border-color: transparent;
}
.btn.wide {
  width: 100%;
  min-height: 54px;
  font-size: 15px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 6px;
  background: #e9eff7;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}
.badge.green {
  background: #e5f2eb;
  color: var(--green);
}
.badge.orange {
  background: #fff1d7;
  color: #78510f;
}
.badge.red {
  background: #fae7e9;
  color: var(--red);
}
.badge.blue {
  background: #eaf0ff;
  color: #164bb2;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-width: 0;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}
.notice {
  padding: 14px 17px;
  border-radius: 10px;
  background: #eaf0f8;
  border: 1px solid #d4e0f0;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.6;
}
.notice.warning {
  background: #fff6e4;
  border-color: #ecd59f;
  color: #715014;
}
.notice.error {
  background: #fbeaed;
  border-color: #deb9c0;
  color: var(--red);
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.top {
  background: var(--navy);
  color: white;
}
.top-inner {
  max-width: 1400px;
  margin: auto;
  min-height: 82px;
  padding: 18px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mark {
  width: 41px;
  height: 41px;
  border: 1px solid #d7bf7e;
  border-radius: 50%;
  color: #e2ca90;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand b {
  font-size: 20px;
  letter-spacing: 0.025em;
}
.brand small {
  display: block;
  color: #bdcee2;
  font-size: 9px;
  letter-spacing: 0.21em;
  margin-top: 3px;
}
.top .status {
  color: #cfdaea;
  font-size: 12px;
}
.rolebar {
  background: white;
  border-bottom: 1px solid var(--line);
}
.role-inner {
  max-width: 1400px;
  margin: auto;
  padding: 14px 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.rolechoices {
  display: flex;
  gap: 8px;
  flex: 1;
}
.role {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.role[aria-pressed="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
  box-shadow: inset 0 -3px var(--gold);
}
.role small {
  display: block;
  color: inherit;
  font-size: 10px;
  opacity: 1;
}
.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e7eef7;
  font-size: 11px;
  color: var(--navy);
  font-weight: 750;
  flex-shrink: 0;
}
.samplebar {
  max-width: 1340px;
  margin: 18px auto 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #fff5e2;
  border: 1px solid #ebd2a0;
  border-radius: 9px;
  color: #74501a;
  font-size: 11px;
  line-height: 1.5;
}
.samplebar .btn {
  min-height: 30px;
  padding: 4px 8px;
  font-size: 11px;
  color: #74501a;
}
.navwrap {
  max-width: 1400px;
  margin: auto;
  padding: 20px 30px 0;
}
.tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  overflow: auto;
}
.tabs a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  min-height: 42px;
}
.tabs a[aria-current="page"] {
  color: var(--blue);
  background: #e7eefc;
}
.tabs a:hover {
  background: #e7edf6;
}
.counter {
  font-size: 10px;
  background: #e8d8af;
  padding: 1px 5px;
  border-radius: 4px;
  color: #634510;
}
.main {
  max-width: 1400px;
  margin: auto;
  padding: 28px 30px 50px;
}
.pagehead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.pagehead .eyebrow {
  margin-bottom: 8px;
}
.pagehead p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  max-width: 750px;
}
.datebox {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  line-height: 1.7;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  padding: 20px 22px;
  border-radius: 12px;
  min-width: 0;
}
.metric .row {
  justify-content: space-between;
}
.metric svg {
  color: var(--blue);
  width: 19px;
  height: 19px;
}
.metric label {
  font-size: 12px;
  color: var(--muted);
}
.metric strong {
  display: block;
  font-size: 33px;
  letter-spacing: -0.035em;
  margin: 8px 0 4px;
  line-height: 1.15;
}
.metric small {
  font-size: 10px;
  color: var(--muted);
}
.two {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 22px;
}
.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.dispatch {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #b9cce7;
  border-radius: 12px;
  padding: 20px 24px;
  background: #eaf0f8;
}
.dispatch .round {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: white;
  border-radius: 12px;
  color: var(--blue);
}
.dispatch h3 {
  font-size: 15px;
}
.dispatch p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.table-scroll {
  overflow: auto;
  scrollbar-gutter: stable;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
caption {
  font-size: 11px;
  color: var(--muted);
  text-align: left;
  line-height: 1.6;
  padding-bottom: 14px;
}
th {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #f4f7fb;
  color: var(--muted);
  padding: 12px 10px;
  font-weight: 700;
}
td {
  border-bottom: 1px solid var(--line);
  padding: 16px 10px;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
.table-scroll .btn {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 11px;
  white-space: nowrap;
}
td b {
  font-size: 12px;
}
.table-scroll small {
  font-size: 10px;
}
.taskline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
  min-height: 56px;
}
.taskline input {
  width: 22px;
  height: 22px;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.taskline:has(input:checked) {
  color: var(--green);
}
.jobcard {
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}
.card-art {
  height: 110px;
  background: #dce8ee;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  color: #6a8799;
  background-image: linear-gradient(
    145deg,
    transparent 40%,
    #c6d9e2 40%,
    #c6d9e2 65%,
    transparent 65%
  );
}
.card-art.port {
  background-color: #dce9e6;
  background-image: linear-gradient(
    145deg,
    transparent 40%,
    #bed4d0 40%,
    #bed4d0 65%,
    transparent 65%
  );
}
.card-art svg {
  width: 54px;
  height: 54px;
  stroke-width: 1.3;
}
.card-art .eyebrow {
  padding: 7px 9px;
  background: #ffffffde;
  border-radius: 5px;
  color: var(--navy);
  font-size: 9px;
}
.card-body {
  padding: 22px;
}
.card-body h2 {
  font-size: 22px;
  margin: 12px 0 6px;
}
.card-body p {
  font-size: 12px;
  color: var(--muted);
}
.card-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 17px 0;
  margin: 17px 0;
  border-block: 1px solid var(--line);
  font-size: 12px;
}
.card-detail small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
}
.line span {
  color: var(--muted);
}
.line b {
  text-align: right;
  max-width: 68%;
}
.flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.flow li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.step {
  width: 27px;
  height: 27px;
  border: 1px solid #c8d6e7;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
  flex-shrink: 0;
}
.flow b {
  font-size: 13px;
}
.flow p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0;
  flex-wrap: wrap;
}
.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chip {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 13px;
  background: white;
  color: var(--muted);
  font-size: 12px;
  min-height: 39px;
}
.chip[aria-pressed="true"] {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.search {
  position: relative;
  max-width: 300px;
  min-width: 200px;
}
.search input {
  height: 42px;
  border: 1px solid #bfcede;
  border-radius: 8px;
  padding: 10px 42px 10px 13px;
  width: 100%;
  background: white;
}
.search button {
  position: absolute;
  right: 4px;
  top: 4px;
  min-height: 34px;
  min-width: 34px;
  padding: 4px;
}
.field {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
  min-width: 0;
}
.field label {
  font-size: 12px;
  font-weight: 650;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #b7c8dc;
  border-radius: 8px;
  padding: 11px 12px;
  min-height: 46px;
  background: white;
  color: var(--ink);
}
.field textarea {
  resize: none;
  min-height: 110px;
  line-height: 1.5;
}
.field small {
  font-size: 10px;
  color: var(--muted);
}
[aria-invalid="true"] {
  border-color: var(--red) !important;
}
.err {
  font-size: 11px;
  color: var(--red);
  line-height: 1.5;
  min-height: 16px;
}
.error:not(:empty) {
  padding: 13px;
  background: #fbeaed;
  color: var(--red);
  border: 1px solid #dfbbc0;
  border-radius: 8px;
  line-height: 1.6;
}
.empty {
  padding: 35px 20px;
  text-align: center;
}
.empty p {
  font-size: 13px;
  color: var(--muted);
  max-width: 430px;
  margin: 12px auto 20px;
}
.progress {
  height: 6px;
  border-radius: 4px;
  overflow: hidden;
  background: #e4edf5;
  margin: 14px 0;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--blue);
}
.evidence {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px dashed #b9cde3;
  padding: 16px;
  border-radius: 10px;
  background: #f7f9fc;
}
.evidence svg {
  color: var(--blue);
}
.evidence p {
  font-size: 11px;
  color: var(--muted);
}
.evidence .btn {
  font-size: 11px;
  min-height: 38px;
}
.sitephoto {
  height: 150px;
  background: #e4edf3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #57758c;
}
.sitephoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sitephoto:has(img) {
  padding: 0;
}
.sitephoto svg {
  width: 52px;
  height: 52px;
}
.photo-input {
  display: grid;
  gap: 8px;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 16px;
}
.photo-input input {
  max-width: 100%;
  font-size: 11px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 90px #102c5040;
  width: min(760px, calc(100vw - 28px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 0;
  color: var(--ink);
}
dialog::backdrop {
  background: #0d234a9c;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.dialog-head h2 {
  font-size: 22px;
}
.dialog-head .btn {
  width: 38px;
  min-height: 38px;
  padding: 5px;
}
.dialog-body {
  padding: 24px;
}
.actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}
legend {
  font-size: 12px;
  font-weight: 650;
}
#notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: calc(100vw - 36px);
  background: var(--navy);
  color: white;
  border-radius: 10px;
  padding: 15px 20px;
  font-size: 12px;
  line-height: 1.6;
  box-shadow: 0 5px 25px #102c5030;
  z-index: 50;
}
#notice:empty {
  display: none;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 10px;
  margin-top: 30px;
  line-height: 1.6;
}
.skip {
  position: absolute;
  top: -60px;
  left: 10px;
  background: white;
  padding: 10px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.log {
  list-style: none;
  margin: 0;
  padding: 0;
}
.log li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
}
.log small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.pill-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.site-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.mini-site {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafcfe;
}
.mini-site h3 {
  font-size: 13px;
  margin-bottom: 10px;
}
.mini-site b {
  font-size: 24px;
  letter-spacing: -0.025em;
}
.mini-site small {
  font-size: 10px;
  color: var(--muted);
}
.filter-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.filter-fields .field {
  margin: 0;
}
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: var(--paper);
}
::-webkit-scrollbar-thumb {
  background: #8495a9;
  border: 3px solid var(--paper);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}
@media (max-width: 1050px) {
  .two {
    grid-template-columns: 1fr;
  }
  .three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .role-inner .identity {
    display: none;
  }
  .role {
    flex: 1;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 18px;
  }
  .samplebar {
    margin-inline: 30px;
  }
  .status {
    display: none;
  }
}
@media (max-width: 700px) {
  :root {
    scrollbar-gutter: auto;
  }
  .top-inner {
    min-height: 68px;
    padding: 14px 18px;
  }
  .brand b {
    font-size: 18px;
  }
  .brand small {
    font-size: 8px;
  }
  .top .badge {
    font-size: 9px;
  }
  .role-inner {
    padding: 12px 14px;
  }
  .rolechoices {
    gap: 6px;
  }
  .role {
    padding: 10px 7px;
    justify-content: center;
    text-align: center;
    min-height: 61px;
    font-size: 11px;
  }
  .role svg,
  .role small {
    display: none;
  }
  .role .role-label {
    max-width: 100px;
    line-height: 1.5;
  }
  .samplebar {
    margin: 12px 14px 0;
    padding: 9px 11px;
    font-size: 10px;
    gap: 8px;
  }
  .samplebar .btn {
    font-size: 10px;
    min-width: 45px;
  }
  .navwrap {
    padding: 12px 14px 0;
  }
  .tabs {
    gap: 4px;
    padding-bottom: 10px;
  }
  .tabs a {
    font-size: 11px;
    padding: 9px 10px;
    min-height: 41px;
  }
  .tabs svg {
    width: 17px;
    height: 17px;
  }
  .main {
    padding: 22px 16px 35px;
  }
  .pagehead {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 23px;
  }
  .pagehead h1 {
    font-size: 29px;
  }
  .pagehead p {
    font-size: 12px;
  }
  .pagehead .eyebrow {
    font-size: 9px;
  }
  .datebox {
    display: none;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    margin: 18px 0;
    gap: 10px;
  }
  .metric {
    padding: 15px;
  }
  .metric label {
    font-size: 10px;
  }
  .metric strong {
    font-size: 28px;
  }
  .metric small {
    font-size: 9px;
  }
  .metric svg {
    width: 16px;
    height: 16px;
  }
  .panel {
    padding: 19px;
  }
  .panel-head {
    flex-wrap: wrap;
  }
  .panel h2 {
    font-size: 21px;
  }
  .dispatch {
    padding: 15px;
    gap: 12px;
    align-items: flex-start;
  }
  .dispatch .round {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }
  .dispatch h3 {
    font-size: 14px;
  }
  .dispatch p {
    font-size: 11px;
  }
  .three {
    grid-template-columns: 1fr;
  }
  .card-art {
    height: 95px;
  }
  .card-body {
    padding: 20px;
  }
  .card-body h2 {
    font-size: 23px;
  }
  .card-body p {
    font-size: 13px;
  }
  .card-detail {
    font-size: 12px;
  }
  .card-detail small {
    font-size: 9px;
  }
  .taskline {
    font-size: 15px;
    min-height: 63px;
  }
  .taskline input {
    width: 24px;
    height: 24px;
  }
  .evidence {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .evidence .btn {
    width: 100%;
    min-height: 46px;
  }
  .btn {
    min-height: 46px;
  }
  .btn.wide {
    min-height: 54px;
  }
  .toolbar {
    gap: 12px;
  }
  .search {
    max-width: none;
    width: 100%;
  }
  .chip {
    font-size: 11px;
    padding: 9px 10px;
  }
  .table-scroll {
    margin-inline: -3px;
  }
  th {
    padding: 11px 8px;
    font-size: 9px;
  }
  td {
    padding: 14px 8px;
    font-size: 11px;
  }
  .table-scroll .btn {
    min-height: 38px;
  }
  .table-scroll .badge {
    font-size: 9px;
  }
  .dialog-head {
    padding: 18px;
  }
  .dialog-body {
    padding: 20px;
  }
  .actions .btn {
    flex: 1;
  }
  .line {
    flex-wrap: wrap;
  }
  .line b {
    max-width: 100%;
    text-align: left;
  }
  .filter-fields {
    grid-template-columns: 1fr;
  }
  .site-summary {
    grid-template-columns: 1fr 1fr;
  }
  .mini-site {
    padding: 12px;
  }
  .mini-site h3 {
    font-size: 12px;
  }
  .mini-site b {
    font-size: 22px;
  }
  .footer {
    font-size: 9px;
  }
  .empty {
    padding: 28px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (forced-colors: active) {
  :root {
    scrollbar-color: auto;
  }
  .badge,
  .btn,
  .role {
    border: 1px solid ButtonText;
  }
}
@media print {
  .top,
  .rolebar,
  .samplebar,
  .navwrap,
  .btn,
  #notice {
    display: none !important;
  }
  .main {
    padding: 0;
  }
  .panel,
  .metric {
    break-inside: avoid;
  }
}

/* Three-view design system: readable operations UI, desktop and field phone. */
@font-face {
  font-family: NPISans;
  src: url("./fonts/body-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: NPISans;
  src: url("./fonts/body-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: NPISans;
  src: url("./fonts/body-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --font-ui: NPISans, "Segoe UI", Arial, sans-serif;
  --font-size: 16px;
  --heading-size: 32px;
  --panel-heading: 21px;
  --sidebar-width: 232px;
  --page-padding: 32px;
  --radius: 12px;
  --blue: #2459a0;
  font-family: var(--font-ui);
  font-size: var(--font-size);
}
body {
  font: 400 16px/1.5 var(--font-ui);
}
h1,
h2,
h3 {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: -0.025em;
}
h1 {
  font-size: var(--heading-size);
  line-height: 1.2;
}
h2 {
  font-size: var(--panel-heading);
  line-height: 1.3;
}
h3 {
  font-size: 18px;
}
small,
.small {
  font-size: 14px;
}
p {
  line-height: 1.5;
}
.btn {
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 15px;
}
.btn:hover:not(:disabled) {
  box-shadow: 0 0 0 1px #6a829b;
}
.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
}
input,
select,
textarea {
  font-size: 16px;
}
b,
strong {
  font-weight: 700;
}
.badge {
  font-size: 13px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.4px;
}
.mobile-navigation {
  display: none;
}
.reference-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  overflow-y: auto;
  background: #0b1d31;
  color: #b8c9da;
  padding: 24px 12px;
  scrollbar-color: #8196ad #0b1d31;
}
.side-brand {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 0 12px 24px;
  border-bottom: 1px solid #2b3d51;
  text-align: left;
}
.brand-image.sidebar,
.brand-placeholder.sidebar {
  width: 44px;
  height: 44px;
  object-fit: contain;
  grid-row: span 2;
}
.brand-placeholder {
  display: grid;
  place-items: center;
  color: white;
  border: 1px solid #536b86;
  border-radius: 10px;
  background: #163552;
}
.brand-placeholder span {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.side-brand h2 {
  font-size: 18px;
  letter-spacing: 0.04em;
  color: white;
}
.side-brand p {
  font-size: 10px;
  letter-spacing: 1px;
}
.side-label {
  font-size: 10px;
  letter-spacing: 1.4px;
  margin: 24px 12px 12px;
}
.side-nav {
  display: grid;
  gap: 3px;
}
.side-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 10px 12px;
  color: #b8c9da;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-left: 3px solid transparent;
  border-radius: 7px;
}
.side-nav a:hover {
  background: #18354f;
  color: white;
}
.side-nav a[aria-current] {
  background: #24466a;
  color: white;
  border-left-color: #dabb72;
}
.side-nav svg {
  width: 18px;
  height: 18px;
}
.side-count {
  margin-left: auto;
  font-size: 12px;
  border-radius: 5px;
  background: #e6eef8;
  color: #1a3657;
  padding: 2px 7px;
}
.side-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 8px 0;
  border-top: 1px solid #2b3d51;
  padding-top: 18px;
  font-size: 13px;
}
.side-bottom p {
  font-size: 12px;
}
.side-bottom .btn {
  padding: 8px;
  color: white;
}
.reference-workspace {
  margin-left: var(--sidebar-width);
}
.reference-topbar {
  min-height: 80px;
  padding: 16px var(--page-padding);
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.top-crumb b {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #536b83;
}
.top-crumb p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
}
.top-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-controls label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.top-controls select {
  width: 224px;
  min-height: 44px;
  border: 1px solid #b9c8d8;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 8px 12px;
  font-size: 15px;
}
.bell-button {
  position: relative;
  border: 0;
  background: transparent;
  padding: 10px;
}
.bell-count {
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 11px;
  line-height: 1.4;
  background: #e7c977;
  color: #162a40;
  border-radius: 50%;
  min-width: 18px;
  padding: 1px 4px;
}
.top-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e8eef5;
  font-size: 14px;
  font-weight: 700;
}
.reference-workspace .main {
  max-width: 1512px;
  padding: 24px var(--page-padding) 40px;
  margin: auto;
}
.reference-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}
.reference-demo .btn {
  font-size: 13px;
  min-height: 36px;
  padding: 6px 10px;
}
.reference-content {
  margin-top: 28px;
}
.pagehead {
  margin-bottom: 24px;
  align-items: center;
  gap: 20px;
}
.pagehead h1 {
  font-size: var(--heading-size);
  margin: 7px 0 8px;
}
.pagehead p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
  max-width: 70ch;
}
.pagehead .eyebrow {
  font-size: 11px;
  letter-spacing: 1.6px;
}
.datebox {
  display: none;
}
.oversight-hero {
  background: #112d4e;
  border-left: 4px solid #dabb72;
  border-radius: 12px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  margin-bottom: 24px;
}
.oversight-hero > div > p {
  font-size: 11px;
  color: #b7cbe2;
  letter-spacing: 1.6px;
  font-weight: 600;
}
.oversight-hero h2 {
  font-size: 25px;
  line-height: 1.25;
  margin: 9px 0;
}
.oversight-hero > div > span {
  font-size: 15px;
  color: #cfdded;
}
.hero-stat {
  border-left: 1px solid #3c5570;
  min-width: 145px;
  text-align: center;
  padding-left: 26px;
}
.hero-stat strong {
  display: block;
  font-size: 32px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.hero-stat span {
  display: block;
  font-size: 13px;
  margin-top: 6px;
  color: #cfdded;
}
.metrics {
  gap: 16px;
  margin: 0 0 24px;
}
.metric {
  padding: 20px;
  min-height: 140px;
  border-radius: 12px;
  box-shadow: none;
}
.metric label {
  font-size: 14px;
}
.metric strong {
  font: 700 30px/1.2 var(--font-ui);
  letter-spacing: -0.02em;
  margin: 12px 0 6px;
  font-variant-numeric: tabular-nums;
}
.metric small {
  font-size: 13px;
}
.metric svg {
  width: 18px;
  height: 18px;
}
.oversight-grid {
  gap: 24px;
  align-items: start;
}
.panel {
  padding: 24px;
  border-radius: 12px;
  box-shadow: none;
  min-width: 0;
}
.panel-head {
  gap: 16px;
  flex-wrap: wrap;
}
.panel h2 {
  font-size: var(--panel-heading);
  font-family: var(--font-ui);
  letter-spacing: -0.02em;
}
.demo-updates {
  font-size: 12px;
  color: var(--muted);
  background: #f0f4f8;
  border-radius: 5px;
  padding: 5px 8px;
}
.activity-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.activity-row:last-child {
  border-bottom: 0;
}
.activity-symbol {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: #edf3fa;
  border-radius: 9px;
  color: #2b5e96;
}
.activity-row b {
  font-size: 16px;
}
.activity-row p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 3px;
}
.activity-row small {
  font-size: 12px;
  color: var(--muted);
}
.activity-status {
  font-size: 12px;
  min-height: 36px;
  white-space: normal;
  background: #edf3fa;
  color: #245286;
  border-color: transparent;
  padding: 6px 10px;
  max-width: 126px;
}
.attention-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.attention-list li {
  position: relative;
  font-size: 14px;
  line-height: 1.5;
  padding: 15px 0 15px 19px;
  border-bottom: 1px solid var(--line);
}
.attention-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #32659d;
}
.attention-list li > span {
  display: none;
}
.notice {
  font-size: 14px;
}
.table-scroll {
  max-width: 100%;
}
th {
  font-size: 12px;
}
td {
  font-size: 14px;
}
.footer {
  font-size: 12px;
  gap: 16px;
  flex-wrap: wrap;
}
.job-card h3 {
  font-size: 22px;
}
.login-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(500px, 1.1fr);
  min-height: 100dvh;
  background: #f6f8fb;
}
.login-brand-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #0b1d31;
  color: white;
  padding: clamp(40px, 6vw, 88px);
  position: relative;
}
.login-wordmark {
  font-size: 16px;
  letter-spacing: 1.4px;
  font-weight: 700;
  position: absolute;
  top: 40px;
  left: clamp(40px, 6vw, 88px);
}
.login-wordmark span {
  color: #dabb72;
}
.login-emblem {
  margin: 40px 0 28px;
}
.brand-image.login,
.brand-placeholder.login {
  width: 104px;
  height: 104px;
  object-fit: contain;
}
.brand-placeholder.login {
  border: 1px solid #4c657e;
  border-radius: 18px;
  background: #173552;
}
.brand-placeholder.login span {
  font-size: 34px;
}
.login-brand-copy .eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  color: #dfc37f;
}
.login-brand-copy h2 {
  font: 700 clamp(32px, 3.3vw, 48px)/1.15 var(--font-ui);
  letter-spacing: -0.03em;
  margin: 18px 0 24px;
}
.login-brand-copy > p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.65;
  color: #b9cce0;
  max-width: 350px;
}
.login-brand-copy > small {
  display: block;
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #b9cce0;
  margin-top: 48px;
}
.login-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}
.login-form-wrap {
  width: 100%;
  max-width: 440px;
}
.login-tag {
  display: inline-block;
  color: #2b5c96;
  background: #e8eff8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 5px 8px;
  border-radius: 4px;
}
.login-main h1 {
  font-size: 30px;
  line-height: 1.2;
  margin: 20px 0 10px;
}
.login-subtitle {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 28px;
}
.login-main .field {
  margin-bottom: 18px;
}
.login-main label {
  font-size: 14px;
  font-weight: 600;
}
.login-main input {
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 1px solid #b6c6d8;
  background: white;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
}
.password-row {
  display: flex;
  gap: 8px;
}
.password-row .btn {
  min-width: 64px;
  background: white;
}
.login-main .navy {
  height: 48px;
  font-size: 16px;
  background: var(--navy);
  justify-content: center;
}
.login-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 24px;
}
.login-links .btn {
  font-size: 13px;
  padding: 8px 4px;
}
.demo-roles {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.demo-roles h2 {
  font-size: 18px;
}
.demo-roles > p {
  font-size: 14px;
  color: var(--muted);
  margin: 7px 0 16px;
}
.login-role-grid {
  display: grid;
  gap: 8px;
}
.login-role-grid .role {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 16px;
  min-height: 48px;
  border: 1px solid #cbd7e5;
  border-radius: 8px;
  background: white;
  color: #1c3755;
  font-size: 15px;
  font-weight: 600;
  box-shadow: none;
}
.login-role-grid .role:after {
  content: "→";
  margin-left: auto;
  color: #667e97;
}
.login-disclaimer {
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
  line-height: 1.5;
}
.login-main .error:empty {
  display: none;
}
@media (max-width: 1199px) {
  :root {
    --page-padding: 24px;
    --sidebar-width: 216px;
  }
  .two {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .oversight-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
  .activity-row {
    flex-wrap: wrap;
  }
  .activity-row .activity-status {
    margin-left: 56px;
  }
  .top-controls label {
    display: none;
  }
  .three {
    grid-template-columns: 1fr;
  }
  .login-brand-panel {
    padding: 40px;
  }
  .login-wordmark {
    left: 40px;
  }
}
@media (max-width: 959px) {
  :root {
    --heading-size: 28px;
  }
  .reference-sidebar {
    display: none;
  }
  .reference-workspace {
    margin: 0;
  }
  .reference-topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 16px 24px;
    gap: 12px 20px;
  }
  .top-controls {
    gap: 10px;
  }
  .top-controls select {
    width: 205px;
    font-size: 14px;
  }
  .top-avatar {
    display: none;
  }
  .mobile-navigation {
    display: flex;
    align-items: center;
    gap: 12px;
    grid-column: 1/-1;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  .mobile-navigation label {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
  }
  .mobile-navigation select {
    min-width: 0;
    flex: 1;
    height: 44px;
    background: #f6f8fb;
    border: 1px solid #c6d3e1;
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--ink);
  }
  .oversight-grid {
    grid-template-columns: 1fr 1fr;
  }
  .login-layout {
    grid-template-columns: 1fr 1.25fr;
  }
  .login-brand-panel {
    padding: 32px;
  }
  .login-wordmark {
    left: 32px;
    font-size: 12px;
  }
  .login-main {
    padding: 36px 28px;
  }
  .login-brand-copy h2 {
    font-size: 36px;
  }
  .login-main h1 {
    font-size: 27px;
  }
}
@media (max-width: 640px) {
  :root {
    --page-padding: 16px;
    --heading-size: 27px;
    --panel-heading: 20px;
  }
  .reference-topbar {
    padding: 14px 16px;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .top-crumb {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
  .top-crumb b {
    font-size: 11px;
  }
  .top-crumb p {
    font-size: 12px;
    max-width: 55%;
    text-align: right;
  }
  .top-controls {
    width: 100%;
    display: flex;
  }
  .top-controls label {
    display: block;
    font-size: 12px;
  }
  .top-controls select {
    flex: 1;
    min-width: 0;
    width: auto;
    height: 44px;
    font-size: 14px;
  }
  .bell-button {
    min-width: 44px;
  }
  .mobile-navigation {
    padding-top: 10px;
    gap: 10px;
  }
  .mobile-navigation select {
    font-size: 16px;
  }
  .reference-workspace .main {
    padding: 16px 16px 32px;
  }
  .reference-demo {
    font-size: 12px;
    padding-bottom: 12px;
    gap: 8px;
  }
  .reference-demo .row {
    gap: 6px;
  }
  .reference-demo .btn {
    min-height: 40px;
    font-size: 12px;
    padding: 6px 9px;
  }
  .reference-demo [data-action="phone"] {
    display: none;
  }
  .reference-content {
    margin-top: 24px;
  }
  .pagehead {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 14px;
  }
  .pagehead h1 {
    margin: 6px 0 8px;
  }
  .pagehead p:not(.eyebrow) {
    font-size: 15px;
  }
  .pagehead > .btn {
    width: 100%;
  }
  .oversight-hero {
    padding: 20px;
    gap: 20px;
    display: block;
    margin-bottom: 20px;
  }
  .oversight-hero h2 {
    font-size: 22px;
    margin: 10px 0;
  }
  .oversight-hero > div > span {
    font-size: 14px;
  }
  .hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 0;
    border-top: 1px solid #3c5570;
    padding: 14px 0 0;
    margin-top: 18px;
    text-align: left;
    min-width: 0;
  }
  .hero-stat strong {
    font-size: 26px;
  }
  .hero-stat span {
    margin: 0;
    font-size: 13px;
  }
  .metrics {
    gap: 12px;
    margin-bottom: 20px;
  }
  .metric {
    min-height: 128px;
    padding: 16px;
  }
  .metric label {
    font-size: 13px;
  }
  .metric strong {
    font-size: 28px;
    margin: 10px 0 5px;
  }
  .metric small {
    font-size: 12px;
  }
  .metric svg {
    width: 16px;
    height: 16px;
  }
  .two,
  .three,
  .oversight-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .panel {
    padding: 20px;
  }
  .stack {
    gap: 20px;
  }
  .activity-row {
    gap: 12px;
    padding: 16px 0;
    flex-wrap: wrap;
  }
  .activity-row .grow {
    min-width: 160px;
  }
  .activity-row .activity-status {
    margin-left: 54px;
    max-width: none;
    font-size: 13px;
    min-height: 40px;
  }
  .activity-row p {
    font-size: 14px;
  }
  .activity-row small {
    font-size: 12px;
  }
  .panel-head {
    align-items: center;
  }
  .panel-head .btn {
    font-size: 13px;
  }
  .reference-workspace .footer {
    display: grid;
    font-size: 11px;
    margin-top: 24px;
    gap: 6px;
  }
  .login-layout {
    display: block;
  }
  .login-brand-panel {
    padding: 24px;
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 14px;
  }
  .login-wordmark {
    position: static;
    grid-column: 1/-1;
    font-size: 12px;
    margin-bottom: 4px;
  }
  .login-emblem {
    margin: 0;
  }
  .brand-image.login,
  .brand-placeholder.login {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }
  .brand-placeholder.login span {
    font-size: 18px;
  }
  .login-brand-copy .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  .login-brand-copy h2 {
    font-size: 20px;
    line-height: 1.3;
    margin: 5px 0 0;
    letter-spacing: -0.02em;
  }
  .login-brand-copy h2 br {
    display: none;
  }
  .login-brand-copy h2 br:after {
    content: " ";
  }
  .login-brand-copy > p:not(.eyebrow),
  .login-brand-copy > small {
    display: none;
  }
  .login-main {
    padding: 30px 24px;
  }
  .login-main h1 {
    font-size: 27px;
  }
  .login-main .field {
    margin-bottom: 18px;
  }
  .login-links {
    margin-bottom: 20px;
  }
  .login-role-grid .role {
    min-height: 52px;
    font-size: 16px;
  }
  .login-disclaimer {
    font-size: 12px;
  }
  .login-subtitle {
    margin-bottom: 24px;
  }
  dialog {
    max-width: calc(100vw - 24px);
  }
}
@media (min-width: 641px) {
  .phone-preview .reference-shell {
    max-width: 430px;
    margin: 24px auto;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: clip;
  }
  .phone-preview .reference-sidebar {
    display: none;
  }
  .phone-preview .reference-workspace {
    margin: 0;
  }
  .phone-preview .reference-topbar {
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
  }
  .phone-preview .top-controls {
    width: 100%;
  }
  .phone-preview .top-controls select {
    flex: 1;
    min-width: 0;
  }
  .phone-preview .top-controls label,
  .phone-preview .top-avatar {
    display: none;
  }
  .phone-preview .mobile-navigation {
    display: flex;
    width: 100%;
  }
  .phone-preview .main {
    padding: 16px;
  }
  .phone-preview .reference-demo {
    flex-wrap: wrap;
    font-size: 12px;
  }
  .phone-preview .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .phone-preview .two,
  .phone-preview .three {
    grid-template-columns: minmax(0, 1fr);
  }
  .phone-preview .oversight-hero {
    display: block;
    padding: 20px;
  }
  .phone-preview .hero-stat {
    border-left: 0;
    border-top: 1px solid #3c5570;
    margin-top: 16px;
    padding: 14px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .phone-preview .hero-stat span {
    margin: 0;
  }
  .phone-preview .pagehead {
    display: block;
  }
  .phone-preview .pagehead h1 {
    font-size: 27px;
  }
  .phone-preview .panel {
    padding: 20px;
  }
  .phone-preview .activity-row {
    flex-wrap: wrap;
  }
  .phone-preview .reference-demo [data-action="guide"] {
    display: none;
  }
}
@media print {
  .reference-sidebar,
  .reference-topbar,
  .reference-demo {
    display: none;
  }
  .reference-workspace {
    margin: 0;
  }
  .reference-workspace .main {
    padding: 0;
  }
}
@media (max-width: 640px) {
  body[data-role="worker"] .card-art {
    height: 64px;
    padding: 12px 20px;
  }
  body[data-role="worker"] .card-art svg {
    width: 34px;
    height: 34px;
  }
  body[data-role="worker"] .panel-head p.mt12 {
    margin-top: 4px;
  }
  .reference-demo [data-action="guide"] {
    white-space: nowrap;
  }
}
@media (max-width: 480px) {
  .site-summary {
    grid-template-columns: minmax(0, 1fr);
  }
  .mini-site {
    min-width: 0;
  }
  .mini-site .row {
    flex-wrap: wrap;
  }
  .panel-head .row {
    flex-wrap: wrap;
  }
}
.card-body p {
  font-size: 15px;
}
.card-detail {
  font-size: 14px;
}
.card-detail small {
  font-size: 11px;
  letter-spacing: 0.05em;
}
.field > label {
  font-size: 14px;
}
.card-art .eyebrow {
  font-size: 10px;
}
/* Shared management surfaces and phone field navigation. */
.schedule-list {
  display: grid;
}
.schedule-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.schedule-item:last-child {
  border-bottom: 0;
}
.schedule-item p {
  font-size: 15px;
  margin: 3px 0;
  color: var(--muted);
}
.schedule-item small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.schedule-marker {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #edf3fa;
  color: #285989;
  border-radius: 10px;
  flex-shrink: 0;
}
.schedule-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 300px;
}
.report-filters {
  align-items: end;
}
.report-filters .field {
  margin: 0;
  min-width: 175px;
}
.report-filters input {
  height: 44px;
}
.decision-log {
  list-style: none;
  margin: 0;
  padding: 0;
}
.decision-log li {
  border-left: 2px solid #c2d3e7;
  padding: 0 0 22px 18px;
}
.decision-log li:last-child {
  padding-bottom: 0;
}
.decision-log p {
  font-size: 15px;
}
.decision-log small {
  color: var(--muted);
  font-size: 13px;
}
.settings-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand-image.settings,
.brand-placeholder.settings {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-placeholder.settings span {
  font-size: 25px;
}
.integration-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.integration-row > div {
  flex: 1;
  min-width: 0;
}
.integration-row p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}
.integration-row .badge {
  font-size: 11px;
  white-space: nowrap;
}
.integration-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 9px;
  flex-shrink: 0;
}
.active-shift {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #e9f3ec;
  border: 1px solid #adcbb6;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 24px;
}
.active-shift .eyebrow {
  color: #28613d;
}
.active-shift h2 {
  margin: 6px 0;
}
.active-shift p {
  font-size: 14px;
  color: #375d44;
}
.assignments-heading {
  margin-bottom: 18px;
}
.worker-bottom-nav {
  display: none;
}
.has-site-photo {
  overflow: hidden;
}
.has-site-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.has-site-photo > .eyebrow,
.has-site-photo > svg {
  position: relative;
  z-index: 1;
}
#workbook-csv {
  font:
    13px/1.5 ui-monospace,
    monospace;
  min-height: 190px;
  overflow: auto;
}
.toolbar > .field {
  margin-bottom: 0;
}
.toolbar {
  gap: 16px;
}
.photo-input {
  font-size: 14px;
}
body[data-screen="schedule"] .reference-content > .panel + section,
body[data-screen="reports"] .reference-content > .panel + section,
body[data-screen="sheets"] .reference-content > .panel + section {
  margin-top: 24px;
}
@media (max-width: 959px) {
  body[data-role="worker"] .mobile-navigation {
    display: none;
  }
  .worker-bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    background: white;
    border-top: 1px solid var(--line);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    z-index: 20;
    box-shadow: 0 -4px 18px #12304d08;
  }
  .worker-bottom-nav a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    min-height: 55px;
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
    border-radius: 8px;
  }
  .worker-bottom-nav a[aria-current] {
    color: var(--blue);
    background: #edf3fa;
    font-weight: 700;
  }
  .worker-bottom-nav svg {
    width: 21px;
    height: 21px;
  }
  body[data-role="worker"] .reference-workspace .main {
    padding-bottom: 110px;
  }
  body[data-role="worker"] #notice {
    bottom: 90px;
  }
}
@media (max-width: 640px) {
  .schedule-item {
    flex-wrap: wrap;
    gap: 12px;
  }
  .schedule-item .grow {
    min-width: 175px;
  }
  .schedule-actions {
    margin-left: 54px;
    justify-content: flex-start;
    max-width: 100%;
  }
  .schedule-actions .btn {
    font-size: 13px;
  }
  .integration-row {
    flex-wrap: wrap;
  }
  .integration-row .badge {
    margin-left: 48px;
  }
  .active-shift {
    display: block;
    padding: 20px;
  }
  .active-shift > .btn {
    width: 100%;
    margin-top: 16px;
  }
  .report-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .report-filters .field {
    min-width: 0;
  }
  .report-filters .btn {
    grid-column: 1/-1;
  }
  .settings-brand {
    align-items: flex-start;
  }
  .settings-brand h3 {
    overflow-wrap: anywhere;
  }
  .reference-workspace .main .three {
    gap: 16px;
  }
  body[data-role="worker"] .reference-demo {
    padding: 0 0 12px;
  }
  body[data-role="worker"] .reference-content {
    margin-top: 20px;
  }
  body[data-role="worker"] .pagehead {
    margin-bottom: 24px;
  }
}
@media (min-width: 641px) {
  .phone-preview .worker-bottom-nav {
    display: none;
  }
  .phone-preview .schedule-item,
  .phone-preview .integration-row {
    flex-wrap: wrap;
  }
  .phone-preview .schedule-actions {
    margin-left: 0;
  }
  .phone-preview .report-filters {
    flex-wrap: wrap;
  }
}
.brand-image.login {
  width: 220px;
  height: 220px;
}
.brand-image.sidebar {
  width: 44px;
  height: 44px;
}
@media (max-width: 640px) {
  .brand-image.login {
    width: 48px;
    height: 48px;
  }
}
.stack {
  align-content: start;
}
.reference-content > .panel + section {
  margin-top: 24px;
}
.report-filters .field {
  min-width: 0;
}
.report-filters .field input {
  width: 100%;
  min-width: 0;
}
.report-filters .field label {
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .report-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.line {
  font-size: 14px;
}
.pill-note {
  font-size: 13px;
}
.flow p {
  font-size: 14px;
}
.flow small {
  font-size: 13px;
}
table caption {
  font-size: 13px;
}
.err {
  font-size: 13px;
}
.taskline {
  font-size: 16px;
}
.taskline small {
  font-size: 13px;
}
.line > b {
  overflow-wrap: anywhere;
}
.test-guide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  margin-top: 20px;
  background: #eaf2fc;
  border: 1px solid #b9cee9;
  border-radius: 10px;
}
.test-guide b {
  font-size: 14px;
  color: #234e80;
}
.test-guide p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.test-guide .btn {
  font-size: 13px;
}
.image-paste-zone {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 10px;
  min-height: 160px;
  border: 2px dashed #7897bc;
  border-radius: 12px;
  background: #f0f5fb;
  padding: 24px;
  margin-top: 20px;
  cursor: copy;
}
.image-paste-zone p {
  font-size: 14px;
  color: var(--muted);
}
.login-test-start {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}
.reference-demo > .row {
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .reference-demo {
    flex-wrap: wrap;
  }
  .test-guide {
    display: block;
  }
  .test-guide > .row {
    margin-top: 14px;
    gap: 8px;
  }
  .test-guide .btn {
    flex: 1;
    min-width: 100px;
  }
}
@media (max-width: 640px) {
  .reference-demo > .row {
    flex-shrink: 1;
    flex-wrap: wrap;
  }
  .test-guide {
    padding: 16px;
  }
  .test-guide .btn {
    font-size: 12px;
    padding: 8px;
  }
  .login-test-start .btn {
    min-height: 48px;
  }
}
/* Task-first simplification: sample-only controls never compete with the job. */
.welcome-start {
  display: grid;
  gap: 9px;
  margin: 0 0 28px;
}
.welcome-start > .btn {
  min-height: 54px;
  font-size: 17px;
}
.welcome-start > p {
  text-align: center;
  font-size: 13px;
}
.welcome-extras {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 14px;
}
.welcome-extras summary,
.sample-tools summary {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
  color: #405c7c;
  font-weight: 600;
}
.sample-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 0;
}
.reference-content {
  margin-top: 20px;
}
.sample-tools {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-size: 13px;
}
.sample-tools > .reference-demo {
  padding-top: 12px;
}
.sample-tools .test-guide {
  margin-top: 12px;
}
.worker-hours-strip {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  border-block: 1px solid var(--line);
  padding: 14px 0;
  margin: 18px 0 24px;
  font-size: 14px;
  color: var(--muted);
}
.worker-hours-strip b {
  display: block;
  color: var(--ink);
  font-size: 18px;
  margin-top: 3px;
}
.review-count {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}
.review-comparison {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  background: #f3f6fa;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 10px;
  margin: 18px 0;
}
.review-comparison > div {
  min-width: 0;
}
.review-comparison dt {
  font-size: 13px;
  color: var(--muted);
}
.review-comparison dd {
  font-size: 27px;
  font-weight: 700;
  margin: 5px 0 0;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.review-comparison small {
  font-size: 14px;
  font-weight: 400;
}
.review-card .panel-head {
  align-items: start;
}
.review-card > .row > .btn.primary {
  margin-left: auto;
}
.review-card > .row {
  gap: 10px;
}
.login-brand-copy h2 {
  max-width: 330px;
}
.reference-workspace #inline-feedback:not(:empty) {
  padding: 12px 16px;
  border: 1px solid #c4d8c9;
  background: #edf6ef;
  color: #244d32;
  font-size: 14px;
  border-radius: 8px;
  margin-top: 16px;
}
body:not([data-screen="login"]) #notice {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  padding: 0;
  border: 0;
  box-shadow: none;
}
#inline-feedback {
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .welcome-start {
    margin-bottom: 24px;
  }
  .login-main h1 {
    font-size: 28px;
  }
  .reference-workspace .main {
    padding-top: 12px;
  }
  .reference-content {
    margin-top: 16px;
  }
  .pagehead {
    margin-bottom: 20px;
  }
  .review-comparison {
    gap: 8px;
    padding: 14px 12px;
  }
  .review-comparison dt {
    font-size: 12px;
  }
  .review-comparison dd {
    font-size: 23px;
  }
  .review-card > .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .review-card > .row > .btn.primary {
    grid-column: 1/-1;
    width: 100%;
    margin: 0;
    min-height: 50px;
  }
  .review-card > .row > .btn {
    font-size: 13px;
  }
  .sample-tools summary {
    font-size: 12px;
  }
  .sample-tools .reference-demo {
    flex-wrap: wrap;
  }
  .worker-hours-strip {
    gap: 14px;
  }
  .login-brand-copy h2 {
    font-size: 20px;
    max-width: none;
  }
  .reference-workspace .pagehead > .btn {
    min-height: 40px;
    width: auto;
    font-size: 13px;
    padding: 8px 12px;
  }
  body[data-role="worker"] .pagehead {
    gap: 12px;
  }
  body[data-role="worker"] .reference-content {
    margin-top: 12px;
  }
}

/* Transparent logo and original site photograph presentation. */
.top-crumb > b {
  display: flex;
  align-items: center;
}
.sitephoto:has(img) {
  height: 220px;
  background: #0b1e32;
}
.sitephoto img {
  object-fit: contain;
}
.card-art.has-site-photo {
  height: 190px;
  background: #0b1e32;
}
.card-art.has-site-photo > img {
  object-fit: contain;
}
@media (max-width: 640px) {
  body[data-role="worker"] .card-art.has-site-photo {
    height: 132px;
    padding: 0;
  }
  .sitephoto:has(img) {
    height: 230px;
  }
}
.brand-image.header {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-right: 10px;
}

.site-photo-full {
  display: block;
  width: 100%;
  height: auto;
  max-height: 65vh;
  object-fit: contain;
  background: #0b1e32;
}
body[data-role="worker"] .jobcard .btn {
  scroll-margin-bottom: 100px;
}
