:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  color: #192d43;
  background: #f5f7fa;
  font-synthesis: none;
  --nav: #132c43;
  --ink: #192d43;
  --muted: #5d7082;
  --line: #e0e6ec;
  --teal: #138374;
  --blue: #3069ad;
  --purple: #7863aa;
  --amber: #a76b18;
  --rail: 240px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.48;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
select,
summary,
a {
  cursor: pointer;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #228cc8;
  outline-offset: 3px;
}
button:disabled {
  cursor: wait;
  opacity: 0.58;
}
button {
  background: none;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(27px, 2.4vw, 39px);
  line-height: 1.18;
  letter-spacing: -1.4px;
  font-weight: 690;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.55px;
  font-weight: 660;
}
h3 {
  font-size: 16px;
}
.icon {
  flex-shrink: 0;
  vertical-align: middle;
}
.loading {
  margin: 10vh auto;
  width: max-content;
  color: var(--muted);
}
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail);
  background: var(--nav);
  color: #dae6ed;
  display: flex;
  flex-direction: column;
  z-index: 8;
  padding: 0 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  height: 90px;
  margin: 0 9px;
  border-bottom: 1px solid #ffffff21;
}
.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.95;
  color: white;
}
.wordmark b {
  font-size: 29px;
  font-weight: 850;
  letter-spacing: -2.5px;
  font-style: italic;
}
.wordmark small {
  font-size: 8px;
  letter-spacing: 2.3px;
  font-weight: 740;
  margin-top: 4px;
}
.brand-name {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  border-left: 1px solid #ffffff40;
  padding-left: 12px;
  letter-spacing: 0.1px;
}
.nav-section {
  padding: 26px 0 8px;
}
.nav-section h2 {
  font-size: 11px;
  color: #a8bfce;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0 14px;
  margin-bottom: 11px;
}
.navitem {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 46px;
  border-radius: 7px;
  padding: 9px 14px;
  margin: 3px 0;
  text-align: left;
  font-size: 14px;
  font-weight: 520;
  color: #cddbe5;
}
.navitem:hover {
  background: #1f3b53;
}
.navitem.active {
  background: #2b485d;
  color: white;
  box-shadow: inset 3px 0 #60d0bd;
}
.navitem.active .icon {
  color: #84dfcd;
}
.navitem em {
  font-size: 11px;
  font-style: normal;
  background: #375166;
  color: #e2edf2;
  border-radius: 5px;
  min-width: 23px;
  text-align: center;
  margin-left: auto;
  padding: 1px 4px;
}
.rail nav {
  overflow: auto;
  flex: 1;
}
.railfoot {
  border-top: 1px solid #ffffff22;
  margin: 12px 5px 0;
  padding: 15px 0 17px;
}
.railfoot .navitem {
  margin: 0;
}
.workspace-type {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b6c6d2;
  font-size: 12px;
  padding: 8px 14px 0;
}
.workspace-type i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #69c9b8;
}
.shell {
  margin-left: var(--rail);
  min-height: 100vh;
}
.topbar {
  height: 72px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  position: sticky;
  top: 0;
  z-index: 5;
}
.crumb,
.top-actions,
.actions,
.pair,
.metric-top,
.panel-head,
.heading,
.form-actions,
.trend-value,
.legend,
.attain,
.person-cell,
.person-intro,
.row-head,
.toolbar,
.tabs,
.step,
.checkrow {
  display: flex;
  align-items: center;
}
.crumb {
  gap: 12px;
  color: #6b7d8c;
  font-size: 14px;
}
.crumb b {
  color: #273e51;
  font-weight: 580;
}
.top-actions {
  gap: 12px;
}
.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
}
.iconbtn:hover,
.profilebtn:hover {
  background: #edf2f5;
}
.profilebtn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0 4px 14px;
  border-left: 1px solid var(--line);
  text-align: left;
}
.profilebtn b,
.profilebtn small,
.person-cell b,
.person-cell small,
.record b,
.record small,
.attention-row b,
.attention-row small,
.facts small {
  display: block;
}
.profilebtn b {
  font-size: 14px;
}
.profilebtn small,
.record small,
.person-cell small,
.attention-row small,
.facts small {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}
.avatar {
  display: inline-grid;
  place-items: center;
  position: relative;
  vertical-align: middle;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  width: 37px;
  height: 37px;
  background: #e1eaf2;
  color: #203c52;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
}
.avatar.large { width: 64px; height: 64px; font-size: 23px; }
.profilebtn .avatar { width: 42px; height: 42px; }
.avatar-photo { position: absolute; inset: 0; background: center / cover no-repeat; }
.content {
  max-width: 1590px;
  margin: 0 auto;
  padding: 31px clamp(20px, 2.5vw, 46px) 46px;
}
.heading {
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}
.heading p,
.panel-head p,
.subtitle,
.muted {
  color: var(--muted);
}
.heading p {
  font-size: 15px;
  margin-top: 7px;
}
.date-line {
  font-size: 12px;
  color: #587183;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.actions,
.form-actions {
  gap: 8px;
  flex-wrap: wrap;
}
.btn,
.compact,
.period-select,
.searchfield,
.field input,
.field select,
.field textarea,
.toolbar select,
.builder-row input {
  border: 1px solid #d5dee5;
  border-radius: 7px;
  background: white;
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.25;
  min-height: 42px;
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 580;
  white-space: nowrap;
}
.btn:hover {
  background: #f2f6f8;
}
.btn.primary {
  background: #1d625b;
  border-color: #1d625b;
  color: white;
}
.btn.primary:hover {
  background: #164f49;
}
.btn.small {
  min-height: 38px;
  padding: 8px 12px;
}
.period {
  display: inline-flex;
  align-items: center;
  position: relative;
}
.period > .icon {
  position: absolute;
  left: 11px;
  pointer-events: none;
  color: #546a7b;
}
.period-select {
  padding-left: 36px !important;
  font-weight: 550;
}
.compact,
.period-select,
.toolbar select,
select {
  appearance: none;
  padding: 8px 36px 8px 12px;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23586b7c' stroke-width='1.6'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") !important;
  background-position: right 10px center !important;
  background-size: 15px !important;
  background-repeat: no-repeat !important;
  min-height: 40px;
  font-size: 14px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 19px;
}
.metric,
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 2px 4px #1b354705;
}
.metric {
  padding: 16px 18px 14px;
  overflow: hidden;
}
.metric-top {
  gap: 9px;
}
.metric-top h3 {
  font-size: 14px;
  color: #455b6e;
  font-weight: 550;
}
.tile {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 9px;
}
.blue {
  background: #e9f0fb;
  color: var(--blue);
}
.teal {
  background: #e0f2ed;
  color: var(--teal);
}
.amber {
  background: #fcf0d9;
  color: var(--amber);
}
.purple {
  background: #efeafa;
  color: var(--purple);
}
.metric-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 11px 0 2px;
  gap: 5px;
}
.metric-main strong,
.trend-value strong {
  font-size: 31px;
  line-height: 1.15;
  letter-spacing: -1.5px;
  font-weight: 660;
  font-variant-numeric: tabular-nums;
}
.metric-foot {
  font-size: 13px;
  color: var(--muted);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(245px, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}
.panel {
  overflow: hidden;
  min-width: 0;
  margin-bottom: 18px;
}
.dashboard-grid > .panel {
  margin: 0;
}
.panel-head {
  justify-content: space-between;
  padding: 19px 21px 16px;
  gap: 12px;
}
.panel-head p {
  font-size: 13px;
  margin-top: 3px;
}
.trend-value {
  padding: 0 22px;
  gap: 10px;
  margin-bottom: 6px;
}
.trend-value strong {
  font-size: 28px;
}
.change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 7px;
  background: #e3f3ed;
  color: #216d57;
  border-radius: 5px;
}
.change.neg {
  background: #fff0dc;
  color: #885c24;
}
.chart {
  display: block;
  width: calc(100% - 42px);
  height: 150px;
  overflow: visible;
  margin: 1px 21px 0;
}
.chart text {
  fill: #627588;
  font:
    12px Arial,
    sans-serif;
}
.legend {
  gap: 19px;
  margin: 12px 22px 18px;
  font-size: 12px;
  color: #556c7d;
}
.legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.legend i {
  width: 16px;
  border-top: 3px solid #178575;
  border-radius: 2px;
}
.legend b {
  width: 17px;
  border-top: 2px dashed #91a0b0;
}
.count {
  font-size: 13px;
  border-radius: 20px;
  background: #edf2f5;
  color: #4b6071;
  padding: 2px 9px;
  font-weight: 640;
}
.attention .count {
  background: #fcf1dd;
  color: #86611d;
}
.attention-items {
  padding: 0 19px;
}
.attention-row,
.record {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  width: 100%;
}
.attention-row {
  padding: 11px 0;
  border-bottom: 1px solid #e9edf1;
  min-height: 59px;
}
.attention-row b,
.record b,
.person-cell b {
  font-size: 14px;
  font-weight: 620;
}
.attention-row > .icon:last-child,
.record > .icon:last-child {
  margin-left: auto;
  color: #81909d;
}
.attention-row:hover,
.record:hover,
.person-cell:hover {
  background: #f6f9fa;
}
.attention > .attention-row,
.dashboard-grid > .panel:not(.attention) > .attention-row {
  padding-left: 20px;
  padding-right: 20px;
}
.attention-items .attention-row:last-child {
  border: 0;
}
.textbtn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #256b64;
  min-height: 38px;
}
.attention-link {
  margin: 3px 18px 9px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
th {
  background: #f7f9fb;
  color: #607183;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}
th,
td {
  padding: 11px 15px;
  border-top: 1px solid #e8edf1;
}
th:first-child,
td:first-child {
  padding-left: 21px;
}
td:last-child {
  padding-right: 15px;
}
td {
  color: #465d70;
}
.person-cell {
  gap: 11px;
  text-align: left;
  padding: 0;
  min-height: 42px;
  color: var(--ink);
}
.attain {
  gap: 9px;
}
.attain b {
  font-size: 13px;
  color: #3e5261;
}
.meter {
  display: inline-block;
  width: 69px;
  height: 6px;
  border-radius: 8px;
  background: #e7edef;
  overflow: hidden;
}
.meter i {
  display: block;
  background: #429685;
  height: 100%;
  border-radius: inherit;
}
.meter.gold i {
  background: #d2a35a;
}
.tag {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 560;
  padding: 3px 9px;
  border-radius: 14px;
  line-height: 1.5;
}
.tag.green {
  color: #296d57;
  background: #e6f3eb;
}
.tag.amber {
  color: #835914;
  background: #fbefd7;
}
.tag.slate {
  color: #4a6178;
  background: #eaf0f5;
}
.tag.green:before,
.tag.amber:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 6px;
}
.record {
  padding: 14px 20px;
  border-top: 1px solid var(--line);
}
.record-title {
  flex: 1;
  min-width: 0;
}
.empty {
  padding: 30px 20px;
  text-align: center;
  color: var(--muted);
}
.empty svg,
.empty strong {
  display: block;
  margin: 0 auto 6px;
}
.empty strong {
  color: var(--ink);
  font-size: 15px;
}
.empty p {
  font-size: 14px;
}
.toolbar {
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.searchfield {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
}
.searchfield input {
  background: transparent;
  border: 0;
  min-height: 42px;
  max-width: 100%;
  font-size: 14px;
}
.tabs {
  gap: 3px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 17px;
}
.tabs button {
  min-height: 44px;
  padding: 8px 15px;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.tabs .active {
  color: #1e695d;
  border-color: #318878;
  font-weight: 620;
}
.padded {
  padding: 0 22px 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 12px 0;
  min-width: 0;
  font-size: 14px;
  font-weight: 550;
}
.field input,
.field textarea,
.field select {
  padding-block: 10px;
  padding-inline-start: 12px;
  min-height: 42px;
  width: 100%;
  font-size: 16px;
  font-weight: 400;
}
.field textarea {
  resize: vertical;
}
.field input,
.field textarea {
  padding-inline-end: 12px;
}
.pair {
  gap: 12px;
  flex-wrap: wrap;
}
.pair > * {
  flex: 1;
  min-width: 125px;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.kpi-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 9px 0;
}
.kpi-field small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.kpi-field .field {
  max-width: 210px;
}
.form-actions {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  justify-content: flex-end;
}
.notice {
  background: #edf4f7;
  border-radius: 7px;
  padding: 10px 13px;
  font-size: 14px;
  color: #38596d;
  margin: 13px 0;
}
.report-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 22px 18px;
  gap: 10px;
}
.report-summary > div {
  display: flex;
  justify-content: space-between;
  background: #f5f8fa;
  padding: 11px;
  border-radius: 7px;
  font-size: 14px;
}
.dlg {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  width: min(610px, calc(100% - 26px));
  max-height: 88dvh;
  scroll-padding-block: 64px 12px;
  color: var(--ink);
  box-shadow: 0 20px 90px #14273835;
}
.dlg::backdrop {
  background: #12233469;
}
.dlg-head {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 15px 20px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  z-index: 1;
}
.dlg-body {
  padding: 16px 22px 22px;
}
.dlg-body h3 {
  margin: 16px 0 6px;
}
.dlg-body .subtitle {
  font-size: 14px;
  margin-bottom: 7px;
}
.dlg-body details {
  border-block-start: 1px solid var(--line);
  padding: 12px 0;
  margin-top: 14px;
}
.dlg-body summary {
  font-weight: 580;
  font-size: 14px;
}
.dlg-body .textbtn {
  margin-right: 10px;
}
.facts {
  margin: 16px 0;
}
.facts > div {
  padding: 9px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.facts dt {
  color: #5d6e7c;
}
.facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
}
.step {
  color: #486c75;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  margin: 12px 0;
}
.step .meter {
  flex: 1;
}
.ratings {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin-top: 16px;
}
.ratings legend {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.ratings label {
  position: relative;
}
.ratings input {
  position: absolute;
  opacity: 0;
}
.ratings span {
  display: block;
  text-align: center;
  padding: 10px 2px;
  border-radius: 7px;
  border: 1px solid var(--line);
  font-size: 11px;
  height: 100%;
  cursor: pointer;
}
.ratings b {
  display: block;
  font-size: 20px;
}
.ratings input:checked + span {
  background: #e1f1ed;
  border-color: #5c9c8b;
  color: #195a4b;
}
.ratings input:focus-visible + span {
  outline: 3px solid #3079bb;
}
.score {
  background: #e8f4ef;
  padding: 15px;
  border-radius: 8px;
  margin: 14px 0;
}
.score strong {
  display: block;
  font-size: 30px;
}
.score small {
  font-size: 16px;
}
.builder-group {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 3px;
}
.builder-row {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafb;
  margin: 10px 0;
}
.row-head {
  justify-content: space-between;
  text-transform: capitalize;
}
.checkrow {
  gap: 10px;
  min-height: 44px;
}
.checkrow input {
  width: 18px;
  height: 18px;
}
.person-intro {
  gap: 12px;
  margin-bottom: 18px;
}
.person-intro h3 {
  margin: 0;
}
.person-intro p {
  color: var(--muted);
  font-size: 14px;
}
.error {
  background: #fff0ed;
  color: #8d372c;
  padding: 10px 12px;
  border-radius: 6px;
  margin: 8px 0;
  font-size: 14px;
}
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 20;
  border-radius: 8px;
  background: #21473f;
  color: white;
  padding: 12px 17px;
  font-size: 14px;
  box-shadow: 0 4px 20px #0c263526;
}
.mobile-menu {
  display: none;
}
.badge-notify {
  position: relative;
}
.badge-notify i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3d9989;
  top: 11px;
  right: 13px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 10px;
  background: white;
  padding: 10px;
  z-index: 99;
}
.skip:focus {
  top: 8px;
}
.login-page {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(340px, 3fr);
  min-height: 100vh;
  min-height: 100svh;
  background: #f8f9fb;
}
.login-hero {
  container-type: size;
  --fade-extension: 100px;
  --fade-width: calc(16px + 2 * var(--fade-extension));
  --fade-direction: to right;
  display: grid;
  align-items: center;
  position: relative;
  color: white;
}
.login-hero::before {
  content: "";
  position: absolute;
  inset: 0 calc(0px - var(--fade-extension)) 0 0;
  pointer-events: none;
  /* The source has a 20% right bleed. Size the original frame before panning it. */
  --frame-width: calc(100cqw + var(--fade-extension));
  --photo-width: max(var(--frame-width), calc(100cqh * 1280 / 1143));
  background: url("/hub/login-office.webp") no-repeat;
  background-size: calc(var(--photo-width) * 1.2) auto;
  background-position: calc((var(--frame-width) - var(--photo-width)) * .18 - 100px) center;
  mask-image: linear-gradient(var(--fade-direction),
    #000 calc(100% - var(--fade-width)), transparent calc(100% - 50px));
}
.login-hero-copy {
  position: relative;
  margin-inline: 5.3vw 2vw;
}
.login-headline {
  font-size: clamp(2.7rem, 4.2vw, 6.2rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.08;
  text-shadow: 0 2px 12px #10192266;
}
.login-tagline {
  max-width: 42ch;
  margin-top: .9em;
  font-size: clamp(1.125rem, 1.55vw, 2.1rem);
  line-height: 1.38;
  text-wrap: pretty;
  text-shadow: 0 1px 6px #101922aa;
}
.login-panel {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  align-items: center;
  padding: clamp(24px, 3vw, 64px);
  color: #182b4c;
  text-align: center;
}
.login-content { width: min(100%, 26rem); padding-block: 2rem; }
.development-label {
  display: inline-block;
  padding: .15rem .5rem;
  border: 1px solid #cfac68;
  border-radius: .375rem;
  background: #fff3d8;
  color: #694511;
  font-size: .75rem;
  font-weight: 650;
}
.login-content .development-label { margin-bottom: .75rem; }
.login-logo { display: block; width: min(80%, clamp(180px, 19vw, 382px)); height: auto; margin: 0 auto 2rem; }
.login-intro { margin: .65rem auto 1.8rem; max-width: 32ch; color: #526075; }
.login-content form { text-align: left; }
.login-content label { display: block; margin-bottom: .5rem; font-weight: 600; }
.login-content input {
  width: 100%;
  padding: .9rem 1rem;
  border: 1px solid #9da8b7;
  border-radius: 8px;
  background: white;
  color: #182b4c;
  box-shadow: 0 2px 5px #1429420d;
}
.login-primary {
  width: 100%;
  display: grid;
  place-items: center;
  min-height: 50px;
  padding: .8rem 1rem;
  border-radius: 8px;
  background: #152f54;
  color: white;
  font-weight: 600;
  box-shadow: 0 3px 8px #14294226;
}
.login-content form .login-primary { margin-top: 1rem; }
.login-primary:hover { background: #20446f; }
.login-footer { color: #526075; font-size: .875rem; }
.login-footer p { margin-top: .25rem; }
.login-notice { margin: 0 0 1rem; padding: .75rem 1rem; background: #e9eef6; border-radius: 6px; text-align: left; }
@media (max-width: 900px), (max-aspect-ratio: 7/5) {
  .login-page { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .login-hero {
    container-type: normal;
    padding: 2rem max(1.5rem, 6vw);
    --fade-width: calc(10px + 2 * var(--fade-extension));
    --fade-direction: to bottom;
    padding-bottom: 4rem;
  }
  .login-hero::before {
    inset: 0 0 calc(0px - var(--fade-extension));
    background: linear-gradient(90deg, #101a22ba, #17233252), url("/hub/login-office-banner.webp") center / cover no-repeat, #283641;
  }
  .login-hero-copy { margin: 0; }
  .login-headline { font-size: clamp(2rem, 6.5vw, 2.8rem); }
  .login-tagline { margin-top: .65rem; font-size: 1rem; }
  .login-panel { padding: 1.5rem; }
  .login-content { padding-block: 1rem 2rem; }
  .login-logo { width: 156px; margin-bottom: 1.25rem; }
}
@media (forced-colors: active) {
  .login-hero { background: Canvas; color: CanvasText; padding: 2rem; }
  .login-hero::before { content: none; }
  .login-hero-copy { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}
.signin {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--nav);
}
.signin article {
  width: min(420px, 100%);
  background: #fff;
  padding: 35px;
  border-radius: 14px;
}
.signin h1 {
  font-size: 29px;
  margin: 16px 0;
}
.signin p {
  margin: 14px 0;
  color: var(--muted);
}
.rail.slim {
  width: 76px;
}
.rail.slim .brand-name,
.rail.slim .navitem span,
.rail.slim .navitem em,
.rail.slim h2,
.rail.slim .workspace-type,
.rail.slim .railfoot .navitem span {
  display: none;
}
.rail.slim .brand {
  margin: 0;
  justify-content: center;
}
.rail.slim + .shell {
  margin-left: 76px;
}
.rail.slim .navitem {
  justify-content: center;
  padding-inline: 0;
}
.shade {
  display: none;
}
.issue-note {
  font-size: 13px;
  color: var(--muted);
}
.mobile-nav {
  display: none;
}
@media (min-width: 1700px) {
  .content {
    max-width: 1440px;
  }
}
@media (max-width: 1200px) {
  :root {
    --rail: 210px;
  }
  .content {
    padding: 24px;
  }
  .topbar {
    padding-inline: 24px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 13px;
  }
  .metric-top {
    gap: 7px;
  }
  .metric-top h3 {
    font-size: 13px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(225px, 1fr);
  }
  .spark {
    max-width: 48px;
  }
  .heading {
    gap: 10px;
  }
  .heading .actions {
    justify-content: flex-end;
  }
}
@media (max-width: 980px) {
  :root {
    --rail: 76px;
  }
  .brand-name,
  .rail .navitem span,
  .rail .navitem em,
  .rail h2,
  .workspace-type {
    display: none;
  }
  .brand {
    margin: 0;
    justify-content: center;
  }
  .navitem {
    justify-content: center;
    padding-inline: 0;
  }
  .topbar {
    height: 62px;
  }
  .metric-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(225px, 1fr);
  }
  .heading p {
    font-size: 14px;
  }
}
@media (max-width: 730px) {
  :root {
    --rail: 0px;
  }
  .rail,
  .rail.slim {
    width: 245px;
    transform: translateX(-100%);
  }
  .rail.open {
    transform: none;
  }
  .rail.open .brand {
    justify-content: flex-start;
    margin: 0 10px;
  }
  .rail.open .brand-name,
  .rail.open .navitem span,
  .rail.open h2,
  .rail.open .workspace-type {
    display: block;
  }
  .rail.open .navitem {
    justify-content: flex-start;
    padding-inline: 15px;
  }
  .rail.open + .shell,
  .rail.slim + .shell {
    margin: 0;
  }
  .shade.show {
    display: block;
    position: fixed;
    inset: 0;
    background: #14283a66;
    z-index: 7;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .topbar {
    padding: 0 12px;
    height: 60px;
  }
  .crumb {
    gap: 6px;
  }
  .crumb > span,
  .crumb > .icon {
    display: none;
  }
  .top-actions {
    gap: 2px;
  }
  .profilebtn {
    padding-left: 7px;
    gap: 5px;
  }
  .profilebtn > span:not(.avatar) {
    display: none;
  }
  .content {
    padding: 20px 14px 82px;
  }
  .heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 17px;
  }
  .heading .actions {
    justify-content: flex-start;
  }
  .heading h1 {
    font-size: 29px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metric-top {
    flex-direction: row;
    align-items: center;
  }
  .metric-main strong {
    font-size: 27px;
  }
  .tile {
    width: 30px;
    height: 30px;
    border-radius: 7px;
  }
  .metric-foot {
    font-size: 12px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .panel-head {
    padding: 16px;
  }
  .chart {
    width: calc(100% - 24px);
    margin-inline: 12px;
  }
  .trend-value {
    padding-inline: 16px;
  }
  .chart text {
    font-size: 14px;
  }
  .report-summary {
    grid-template-columns: 1fr 1fr;
  }
  .period-select,
  select,
  .btn {
    min-height: 44px;
  }
  .table-wrap {
    max-width: 100%;
  }
  .record {
    gap: 8px;
    padding: 12px;
  }
  .record small {
    font-size: 12px;
  }
  .kpi-field {
    align-items: stretch;
    flex-direction: column;
  }
  .kpi-field .field {
    max-width: none;
  }
  .ratings {
    grid-template-columns: repeat(3, 1fr);
  }
  .toast {
    left: 14px;
    right: 14px;
    bottom: 68px;
  }
  .mobile-nav {
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    background: white;
    border-top: 1px solid var(--line);
    display: flex;
    z-index: 4;
    justify-content: space-around;
  }
  .mobile-nav button {
    min-height: 56px;
    font-size: 11px;
    display: grid;
    place-items: center;
    gap: 0;
  }
  .mobile-nav .active {
    color: #1b7063;
  }
  .facts > div {
    flex-wrap: wrap;
  }
  .facts dd {
    max-width: 100%;
  }
  .dlg-body {
    padding: 14px;
  }
  .profilebtn .avatar {
    width: 36px;
    height: 36px;
  }
  .searchfield {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media print {
  .rail,
  .topbar,
  .actions,
  .mobile-nav,
  .toast,
  .toolbar,
  .skip {
    display: none !important;
  }
  .shell {
    margin: 0;
  }
  .content {
    padding: 0;
  }
  .panel {
    break-inside: avoid;
  }
  body {
    background: white;
  }
}
.mobile-sample {
  display: none;
}
@media (max-width: 980px) {
  .mobile-sample {
    display: inline;
    color: #4f6976;
    border-left: 1px solid #c5d1d8;
    padding-left: 8px;
  }
}
@media (max-width: 730px) {
  .rail:not(.open) {
    visibility: hidden;
  }
  .rail.open {
    visibility: visible;
  }
  .rail.open .workspace-type {
    display: flex;
  }
}

.employee-week {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 12px 20px;
}
.employee-week b,
.employee-week small {
  display: block;
}
.employee-week b {
  font-size: 14px;
  font-weight: 620;
}
.employee-week small {
  color: var(--muted);
  font-size: 13px;
}
.earlier-weeks summary {
  padding: 11px 20px;
  color: #256b64;
  font-weight: 580;
  font-size: 14px;
  border-top: 1px solid var(--line);
}
.tag.missed {
  background: #fbe9e5;
  color: #933f31;
}
.employee-grid {
  align-items: start;
}
@media (max-width: 1050px) {
  .employee-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .employee-week {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px 16px;
    gap: 5px 8px;
  }
  .employee-week > .btn {
    grid-column: 1/-1;
    justify-self: start;
  }
  .employee-week .tag {
    align-self: start;
  }
}

.guiding-questions {
  padding-left: 1.25rem;
  margin: 10px 0 18px;
}
.guiding-questions li + li {
  margin-top: 6px;
}
.week-help {
  font-size: 14px;
  margin: 10px 0;
}
.week-evidence {
  padding: 12px 0;
}
.week-evidence summary {
  font-size: 14px;
  font-weight: 600;
}

.week-check {
  margin: 16px 0 20px;
}
.week-check legend {
  font-weight: 600;
  margin-bottom: 6px;
}
.week-check label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  margin: 2px 8px 2px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}
.week-check label:has(:checked) {
  background: #eaf6f2;
  border-color: var(--teal);
}
.week-check input {
  accent-color: var(--teal);
  margin: 0;
}
.review-route {
  padding-left: 24px;
}

.performance-record { padding: .75rem 0; border-bottom: 1px solid var(--line, #d8dfe3); }
.performance-record summary { cursor: pointer; }
.performance-record dd { white-space: pre-wrap; overflow-wrap: anywhere; }

/* Role permissions */
.access-panel { min-width: 0; }
.access-header { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem 2rem; padding: 1.25rem; border-bottom: 1px solid var(--line); }
.access-header .field { width: min(100%, 20rem); margin: 0; }
.access-header details { align-self: center; font-size: .875rem; }
.access-header summary { cursor: pointer; }
#access-settings { padding: 0 1.25rem 1.25rem; }
.matrix-note { margin: 1rem 0; color: var(--muted); font-size: .875rem; }
.matrix-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: .65rem; }
.access-matrix { width: 100%; min-width: 0; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.access-matrix th, .access-matrix td { text-align: center; padding: 0; white-space: normal; }
.access-matrix thead th { padding: .7rem .25rem; font-size: .85rem; font-weight: 650; color: var(--ink); background: #f5f7f9; text-transform: none; letter-spacing: normal; }
.access-matrix th:first-child { width: 46%; text-align: left; padding-left: 1rem; }
.access-matrix tbody th { padding: .6rem .75rem; border-top: 1px solid var(--line); background: white; font-size: .87rem; font-weight: 550; color: var(--ink); text-transform: none; letter-spacing: normal; }
.access-matrix tbody th small { display: block; margin-top: .1rem; font-size: .76rem; color: var(--muted); font-weight: 400; }
.access-matrix td, .access-matrix thead th + th { border-left: 1px solid var(--line); }
.access-matrix .unavailable { color: #8b98a4; }
.matrix-check { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 42px; cursor: pointer; }
.matrix-check input { accent-color: var(--teal); width: 18px; height: 18px; cursor: inherit; }
.matrix-check:has(input:disabled) { cursor: default; }
.matrix-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#access-settings .form-actions { justify-content: flex-end; margin-top: 1rem; }
@media (max-width: 600px) {
  .access-header { padding: .85rem; gap: .65rem; }
  #access-settings { padding: 0 .6rem .75rem; }
  .access-matrix th:first-child { width: 39%; padding-left: .5rem; }
  .access-matrix thead th { font-size: .69rem; padding-inline: .05rem; }
  .access-matrix tbody th { font-size: .78rem; padding: .45rem; }
  .access-matrix tbody th small { font-size: .68rem; }
}
.navitem[aria-busy="true"] { background: #2b485d; box-shadow: inset 3px 0 #84dfcd; }
#nav-status:not(:empty) { display: block; padding: 4px 14px; color: white; font-size: .8rem; }
button[aria-busy="true"] { cursor: progress; }
.railfoot a.navitem { text-decoration: none; }

.member-row { cursor: pointer; }
.member-row:hover, .member-row:focus-within { background: #f2f7f8; }
.member-profile { display: grid; gap: 18px; min-width: 0; }
.member-profile > * { min-width: 0; }
.profile-identity { display: flex; align-items: center; gap: 16px; background: #152f45; color: white; padding: 22px; border-radius: 10px; }
.profile-identity h3 { margin: 0; color: inherit; font-size: 1.5rem; }
.profile-identity p, .profile-identity small { color: #d5e6ed; }
.profile-filters { display: flex; flex-wrap: wrap; gap: 14px; }
.profile-filters label { display: grid; gap: 4px; font-weight: 600; font-size: .85rem; }
.profile-filters select { padding-block: .45rem; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); }
.member-profile h3.profile-period { margin: 0 0 -8px; font-size: 1.1rem; }
.profile-metrics { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(155px, 100%), 1fr)); gap: 10px; }
.profile-metrics div, .profile-section { background: white; border: 1px solid var(--line); border-radius: 9px; padding: 14px; }
.profile-metrics dt, .profile-metrics small, .profile-section > p { font-size: .85rem; color: var(--muted); }
.profile-metrics dd { margin: 4px 0; font-size: 1.65rem; font-weight: 650; }
.profile-section h3 { margin: 0; }
.profile-section .table-wrap, .profile-months { margin-top: 12px; }
.profile-section th small { display: block; font-weight: normal; color: var(--muted); }
.profile-months { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 4px; }
.profile-months button { display: grid; gap: 5px; place-items: center; border: 1px solid transparent; border-radius: 6px; padding: 6px 2px; font-size: .78rem; }
.profile-months button:hover, .profile-months button[aria-pressed=true] { background: #edf7f4; border-color: #9dcac2; }
.month-track { height: 42px; width: 12px; display: flex; align-items: end; background: #eaf0f2; border-radius: 3px; overflow: hidden; }
.month-track i { width: 100%; background: var(--teal); }
@media (max-width: 680px) {
  .profile-months { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .profile-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .profile-filters { gap: 8px; }
}

.profile-identity { flex-wrap: wrap; }
.profile-name { flex: 1 1 160px; min-width: 0; overflow-wrap: anywhere; }
.profile-identity:has(.progress-badge) {
  display: grid; grid-template-columns: auto minmax(0,1fr); grid-template-areas: "rings name" "rings legend";
  align-items: center; gap: 14px 24px; padding: 24px;
}
.profile-identity:has(.progress-badge) .profile-name { grid-area: name; }
.progress-badge { grid-area: rings; position: relative; width: 178px; aspect-ratio: 1; display: grid; place-items: center; }
.progress-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.progress-badge .avatar.large { width: 53%; height: 53%; }
.profile-identity > .avatar.large { width: 84px; height: 84px; }
.ring-month { --ring-color: #53e8cc; }
.ring-quarter { --ring-color: #ffac76; }
.ring-track { stroke: var(--ring-color); opacity: .17; }
.ring-fill { stroke: var(--ring-color); stroke-linecap: round; }
.ring-tip { fill: #152f45; }
.ring-check { stroke: #152f45; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ring-legend { grid-area: legend; display: grid; width: fit-content; max-width: 100%; gap: 5px; margin: 0; }
.ring-key { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 16px; font-size: .875rem; }
.ring-key dt { color: #d5e6ed; }
.ring-key dt::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-inline-end: .55em; border-radius: 50%; background: var(--ring-color); }
.ring-key dd { margin: 0; text-align: end; font-weight: 650; font-variant-numeric: tabular-nums; }
@media (max-width: 620px) {
  .profile-identity:has(.progress-badge) { grid-template-columns: minmax(84px, 34%) minmax(0, 1fr); grid-template-areas: "name name" "rings legend"; gap: 12px; padding: 16px; }
  .progress-badge { width: 100%; max-width: 138px; }
  .ring-key { gap: 8px; }
}

.section-links { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0 0 1rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.section-link { padding-inline: .8rem; }
.section-link, .section-more select { min-height: 38px; padding-block: .45rem; border: 1px solid transparent; border-radius: 6px; font: inherit; font-size: .88rem; background: transparent; color: var(--ink); cursor: pointer; }
.section-link:hover, .section-more select:hover { background: #edf4f4; }
.section-link.active, .section-more select:has(option:checked:not([value=""])) { background: #deedeb; color: #124944; font-weight: 650; }
.section-more select { border-color: var(--line); max-width: 100%; }

@media (min-width: 981px) {
  .company-metrics { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}

[aria-invalid="true"] { outline: 2px solid #aa3439; outline-offset: 1px; }
.field-error { color: #98292e; font-size: .88rem; margin: .25rem 0 .8rem; }
