:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #18323b;
  background: #f5f6f2;
  font-synthesis: none;
  font-weight: 400;
  line-height: 1.5;
  --ink: #18323b;
  --muted: #687c80;
  --line: #dce4df;
  --paper: #fff;
  --green: #126b59;
  --pale: #e5f2eb;
  --danger: #a93636;
  --nav: #132d36;
  --shadow: 0 12px 36px #18323b0b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a {
  color: var(--green);
  text-underline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #4eae94;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.17;
  letter-spacing: -0.04em;
  font-weight: 650;
  margin-bottom: 10px;
}
h2 {
  font-size: 1.03rem;
  letter-spacing: -0.018em;
  font-weight: 650;
  margin-bottom: 5px;
}
h3 {
  font-size: 0.95rem;
  font-weight: 650;
  margin-bottom: 7px;
}
small,
.small {
  font-size: 0.78rem;
}
.muted {
  color: var(--muted);
}
.mono {
  font-variant-numeric: tabular-nums;
}
.nowrap {
  white-space: nowrap;
}
.wrap {
  overflow-wrap: anywhere;
}
.hidden {
  display: none !important;
}
.skip-link {
  position: fixed;
  left: 10px;
  top: -60px;
  z-index: 100;
  background: white;
  padding: 10px;
  border-radius: 7px;
}
.skip-link:focus {
  top: 10px;
}
.boot {
  min-height: 100vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 12px;
}
.boot .brand-mark {
  margin: auto;
}
.noscript {
  padding: 24px;
  background: #fff0db;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  border-radius: 11px;
  background: #b6e7d4;
  color: #183c37;
  font-size: 27px;
  font-weight: 500;
  flex-shrink: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
}
.brand-name {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
.brand-name small {
  display: block;
  font-weight: 400;
  font-size: 0.65rem;
  color: #9bb3b8;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-top: 3px;
}
.shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--nav);
  padding: 30px 19px 22px;
  display: flex;
  flex-direction: column;
  color: #c3d2d4;
}
.sidebar .brand {
  padding: 0 9px 39px;
}
.nav-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #86a1a7;
  margin: 14px 13px 10px;
  font-weight: 600;
}
.nav {
  display: grid;
  gap: 5px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #b8cbd0;
  text-decoration: none;
  font-size: 0.86rem;
  padding: 11px 13px;
  border-radius: 7px;
  transition:
    background 0.15s,
    color 0.15s;
}
.nav-link:hover {
  color: #fff;
  background: #ffffff09;
}
.nav-link.active {
  background: #24463f;
  color: #d3f3e4;
}
.nav-link.active:after {
  content: "";
  margin-left: auto;
  width: 5px;
  height: 5px;
  background: #98d6b9;
  border-radius: 50%;
}
.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 24px 11px 0;
  font-size: 0.74rem;
}
.sidebar-note {
  border: 1px solid #365159;
  border-radius: 9px;
  padding: 13px;
  margin-bottom: 22px;
  line-height: 1.55;
}
.sidebar-note strong {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  color: #d8e9e4;
  margin-bottom: 5px;
}
.sidebar-note p {
  font-size: 0.7rem;
  margin: 0;
  color: #9eb6bc;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #96c8af;
  flex-shrink: 0;
}
.dot.live {
  background: #f0bc72;
}
.sidebar-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #89a4aa;
}
.logout {
  border: 0;
  padding: 4px;
  color: #b8cbd0;
  background: transparent;
  font-size: 0.72rem;
}
.workspace {
  min-width: 0;
}
.topbar {
  height: 75px;
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffffba;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 11px;
}
.breadcrumb strong {
  color: #314a51;
  font-weight: 500;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.timezone {
  font-size: 0.72rem;
  color: var(--muted);
}
.avatar {
  height: 30px;
  width: 30px;
  border: 1px solid #d7e5dd;
  background: #edf3ed;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 700;
  color: #487160;
}
.content {
  max-width: 1480px;
  margin: 0 auto;
  padding: 37px 38px 50px;
}
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.page-header p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0;
  max-width: 760px;
}
.eyebrow {
  font-size: 0.67rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 11px;
}
.button-row {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: #fff;
  color: #29474d;
  padding: 10px 15px;
  line-height: 1.25;
  font-size: 0.79rem;
  font-weight: 550;
  text-decoration: none;
  min-height: 38px;
  white-space: nowrap;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.button:hover {
  background: #f3f6f2;
  border-color: #b9cdc4;
}
.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 2px 4px #17644b13;
}
.button.primary:hover {
  background: #0c5c4b;
}
.button.danger {
  color: var(--danger);
  border-color: #e7c5c5;
  background: #fff;
}
.button.small {
  padding: 6px 10px;
  min-height: 31px;
  font-size: 0.73rem;
}
.button.ghost {
  background: transparent;
  border-color: transparent;
}
.button .icon {
  width: 16px;
  height: 16px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}
.stat-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 21px;
}
.stat-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.76rem;
  margin-bottom: 12px;
}
.stat-label .icon {
  color: #78a18f;
}
.stat-value {
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.stat-sub {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 8px;
}
.stat-card.highlight {
  background: #e9f2eb;
  border-color: #cadfd0;
}
.stat-card.highlight .stat-value {
  color: #22674f;
}
.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(290px, 1fr);
  gap: 22px;
}
.grid-equal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.stack {
  display: grid;
  gap: 22px;
  align-content: start;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 2px 3px #233c3002;
  overflow: hidden;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 21px 23px;
  border-bottom: 1px solid #e7ece8;
}
.card-header p {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}
.card-body {
  padding: 23px;
}
.card-footer {
  padding: 15px 23px;
  border-top: 1px solid #e7ece8;
  background: #fbfcf9;
  font-size: 0.75rem;
  color: var(--muted);
}
.card-footer .button-row {
  justify-content: flex-end;
}
.section-gap {
  margin-top: 23px;
}
.notice {
  display: flex;
  gap: 11px;
  border: 1px solid #d5e5db;
  border-radius: 8px;
  background: #eef5ef;
  padding: 14px 16px;
  color: #416552;
  font-size: 0.78rem;
  line-height: 1.55;
  margin-bottom: 22px;
}
.notice .icon {
  margin-top: 2px;
}
.notice p {
  margin: 0;
}
.notice strong {
  font-weight: 650;
}
.notice.warning {
  background: #fcf6e9;
  border-color: #ebdfc3;
  color: #806439;
}
.notice.error {
  background: #fcf0f0;
  border-color: #ebd0d0;
  color: #933c3c;
}
.notice.plain {
  background: #f7f9f7;
  color: #5a7171;
  border-color: #e0e8e1;
}
.process-list {
  display: grid;
  gap: 0;
}
.process-step {
  display: flex;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid #edf0eb;
}
.process-step:first-child {
  padding-top: 0;
}
.process-step:last-child {
  border: 0;
  padding-bottom: 0;
}
.step-number {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 1px solid #d5e4d9;
  background: #f4f8f2;
  color: #568569;
  font-size: 0.73rem;
  font-weight: 600;
}
.process-step h3 {
  margin: 1px 0 3px;
  font-size: 0.82rem;
}
.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}
.process-step a {
  font-size: 0.74rem;
  margin-top: 8px;
  display: inline-block;
  text-decoration: none;
}
.empty {
  padding: 43px 25px;
  text-align: center;
  color: var(--muted);
}
.empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: #edf4ed;
  color: #739583;
  margin: 0 auto 13px;
}
.empty-icon .icon {
  width: 22px;
  height: 22px;
}
.empty h3 {
  color: #455e63;
  font-size: 0.87rem;
  margin-bottom: 5px;
}
.empty p {
  font-size: 0.77rem;
  max-width: 350px;
  margin: 0 auto 15px;
}
.empty p:last-child {
  margin-bottom: 0;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 0.77rem;
}
th {
  background: #fafbf8;
  color: #768982;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  padding: 13px 20px;
  white-space: nowrap;
}
td {
  padding: 16px 20px;
  border-top: 1px solid #e8ede7;
  vertical-align: middle;
}
td strong {
  font-size: 0.78rem;
  font-weight: 600;
}
.cell-secondary {
  font-size: 0.69rem;
  color: var(--muted);
  margin-top: 3px;
}
.table-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 0.64rem;
  font-weight: 600;
  white-space: nowrap;
  background: #edf0ed;
  color: #65756b;
  line-height: 1.3;
}
.badge.green {
  background: #e3f2e7;
  color: #347447;
}
.badge.amber {
  background: #fbf0d7;
  color: #9b7131;
}
.badge.red {
  background: #f9e5e3;
  color: #a34840;
}
.badge.blue {
  background: #e6f0f5;
  color: #507c91;
}
.badge.outline {
  background: transparent;
  border: 1px solid #d2e3d9;
  color: #487663;
  padding: 5px 9px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 23px;
  border-bottom: 1px solid #e7ece8;
}
.toolbar .field {
  margin: 0;
  max-width: 310px;
  flex: 1;
}
.count {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
  min-width: 0;
}
.field:last-child {
  margin-bottom: 0;
}
.field label,
.field-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #3d565b;
}
.field input,
.field select,
.field textarea,
input.search {
  border: 1px solid #d6e0d9;
  border-radius: 6px;
  background: #fff;
  padding: 10px 11px;
  font-size: 0.81rem;
  color: var(--ink);
  width: 100%;
  min-height: 41px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #a0ada7;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #67a48c;
}
.field textarea {
  resize: vertical;
  line-height: 1.6;
  min-height: 130px;
}
.field textarea.code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.73rem;
}
.field small {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.45;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 17px;
}
.form-grid.thirds {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.form-grid .full {
  grid-column: 1/-1;
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.78rem;
  color: #435d62;
  line-height: 1.5;
  margin: 12px 0;
}
.check-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  margin: 3px 0 0;
  flex-shrink: 0;
}
.check-row small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  margin-top: 4px;
}
.inline-checks {
  display: grid;
  gap: 7px;
  margin-bottom: 19px;
}
.inline-checks .check-row {
  margin: 0;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}
.form-section-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  color: var(--muted);
  margin: 1px 0 18px;
}
.form-message:empty {
  display: none;
}
.form-message {
  font-size: 0.77rem;
  border-radius: 6px;
  background: #faeeee;
  color: #9b3535;
  padding: 11px 13px;
  margin: 0 0 15px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.variable-list {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 8px 0 18px;
}
.variable {
  font-family: ui-monospace, Consolas, monospace;
  color: #42705e;
  background: #edf5ef;
  border: 1px solid #d6e8da;
  border-radius: 5px;
  padding: 5px 7px;
  font-size: 0.68rem;
}
.preview {
  background: #f8faf7;
  border: 1px solid #dce5dc;
  border-radius: 7px;
  min-height: 150px;
  padding: 17px;
  font-size: 0.81rem;
}
.preview-subject {
  padding-bottom: 12px;
  margin-bottom: 15px;
  border-bottom: 1px solid #dde7dc;
  font-weight: 600;
}
.preview-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.form-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 22px;
  flex-wrap: wrap;
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}
.template-title {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
}
.template-title h2 {
  font-size: 0.96rem;
}
.template-subject {
  font-size: 0.79rem;
  font-weight: 600;
  margin: 17px 0 9px;
  overflow-wrap: anywhere;
}
.template-excerpt {
  font-size: 0.77rem;
  line-height: 1.65;
  color: var(--muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.contact-picker {
  border: 1px solid var(--line);
  border-radius: 7px;
  max-height: 235px;
  overflow: auto;
}
.contact-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #e8eee8;
  font-size: 0.76rem;
}
.contact-option:last-child {
  border: 0;
}
.contact-option input {
  accent-color: var(--green);
  margin-top: 4px;
}
.contact-option .badge {
  margin-left: auto;
}
.result-list {
  display: grid;
  gap: 12px;
}
.result-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
}
.result-item h3 {
  font-size: 0.87rem;
  margin: 0 0 5px;
}
.result-item p {
  font-size: 0.77rem;
  color: var(--muted);
  margin: 0 0 12px;
}
.result-links {
  display: flex;
  gap: 15px;
  font-size: 0.73rem;
}
.maps-attribution {
  font-size: 0.74rem;
  font-weight: 600;
  color: #596c64;
  margin-top: 17px;
}
.event-list {
  padding: 0 23px;
}
.event-item {
  display: flex;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid #e8ede7;
  font-size: 0.77rem;
}
.event-item:last-child {
  border: 0;
}
.event-time {
  color: var(--muted);
  min-width: 130px;
  font-size: 0.69rem;
}
.event-detail {
  overflow-wrap: anywhere;
}
.event-detail strong {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 3px;
}
.progress-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f5f8f3;
  padding: 13px 15px;
  border-radius: 7px;
  font-size: 0.75rem;
  color: #5a7460;
  margin-top: 17px;
}
dialog {
  padding: 0;
  border: 1px solid #dae2dc;
  border-radius: 12px;
  width: min(650px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  color: var(--ink);
  box-shadow: 0 25px 100px #0b252542;
}
dialog::backdrop {
  background: #102d3970;
  backdrop-filter: blur(3px);
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 21px 24px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.dialog-header h2 {
  margin: 0;
  font-size: 1.12rem;
}
.dialog-close {
  border: 0;
  background: #f1f5ef;
  color: #5a7268;
  display: grid;
  place-items: center;
  border-radius: 5px;
  width: 29px;
  height: 29px;
}
.dialog-body {
  padding: 23px 24px;
}
.dialog-body > p {
  font-size: 0.81rem;
  color: var(--muted);
}
.dialog-body .notice {
  font-size: 0.74rem;
}
.detail-list {
  margin: 0;
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 13px;
  font-size: 0.79rem;
}
.detail-list dt {
  color: var(--muted);
}
.detail-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.toast-region {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 80;
  display: grid;
  gap: 9px;
  max-width: min(410px, calc(100vw - 32px));
}
.toast {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 8px;
  box-shadow: 0 8px 25px #18323b23;
  background: #183c32;
  color: white;
  font-size: 0.78rem;
  line-height: 1.5;
}
.toast.error {
  background: #873838;
}
.toast button {
  border: 0;
  background: none;
  color: inherit;
  padding: 0 0 0 10px;
  font-size: 1rem;
}
.toast > span {
  flex: 1;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.login-story {
  background: var(--nav);
  color: #fff;
  padding: 55px clamp(35px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 45px;
  position: relative;
  overflow: hidden;
}
.login-story:after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid #a5d9bf18;
  border-radius: 50%;
  right: -220px;
  bottom: -190px;
  box-shadow:
    0 0 0 55px #a5d9bf08,
    0 0 0 110px #a5d9bf04;
}
.login-copy {
  max-width: 490px;
  position: relative;
  z-index: 1;
}
.login-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.13;
  margin-bottom: 22px;
}
.login-copy h1 em {
  font-style: normal;
  color: #a9dec4;
}
.login-copy p {
  color: #a4bdc0;
  max-width: 370px;
  font-size: 0.92rem;
  line-height: 1.75;
}
.login-points {
  display: grid;
  gap: 14px;
  margin-top: 34px;
  color: #c4d8d6;
  font-size: 0.8rem;
}
.login-points span {
  display: flex;
  gap: 10px;
  align-items: center;
}
.login-points .icon {
  color: #a5d4bd;
}
.login-story-footer {
  font-size: 0.71rem;
  color: #83a2a8;
  z-index: 1;
}
.login-form-wrap {
  display: grid;
  place-items: center;
  padding: 40px;
}
.login-form {
  max-width: 370px;
  width: 100%;
}
.login-form h2 {
  font-size: 1.55rem;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.login-form > p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 32px;
}
.login-form .button {
  width: 100%;
  margin-top: 6px;
}
.login-lock {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  color: #8a9c92;
  margin-top: 22px;
  justify-content: center;
}
.login-lock .icon {
  width: 13px;
  height: 13px;
}
.loading-inline {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 24px;
  color: var(--muted);
  font-size: 0.8rem;
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #d5e3d7;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1500px) {
  .content {
    padding-top: 42px;
  }
  .stat-card {
    padding: 24px;
  }
  .card-header {
    padding-top: 23px;
    padding-bottom: 23px;
  }
}
@media (max-width: 1150px) {
  .shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .topbar {
    padding: 0 25px;
  }
  .content {
    padding: 28px 25px;
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .grid-two > .stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-card {
    padding: 17px 16px;
  }
  .timezone {
    display: none;
  }
  .table-actions {
    min-width: 135px;
  }
  .grid-equal {
    gap: 16px;
  }
}
@media (max-width: 850px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: relative;
    height: auto;
    padding: 16px 20px 0;
    display: block;
  }
  .sidebar .brand {
    padding: 0 0 14px;
  }
  .sidebar .brand-mark {
    height: 33px;
    width: 33px;
    font-size: 23px;
  }
  .brand-name small {
    display: none;
  }
  .sidebar .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .nav {
    display: flex;
    gap: 3px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
  }
  .nav + .nav {
    padding-top: 0;
  }
  .nav-link {
    padding: 8px 10px;
    white-space: nowrap;
    font-size: 0.77rem;
    gap: 7px;
  }
  .nav-link.active:after {
    display: none;
  }
  .nav-link .icon {
    height: 15px;
    width: 15px;
  }
  .nav-groups {
    display: flex;
    overflow-x: auto;
    gap: 3px;
  }
  .nav-groups .nav {
    overflow: visible;
    flex-shrink: 0;
  }
  .topbar {
    height: 59px;
    padding: 0 22px;
  }
  .content {
    padding: 26px 22px;
  }
  .page-header {
    margin-bottom: 23px;
  }
  .page-header p {
    font-size: 0.82rem;
  }
  .grid-equal {
    grid-template-columns: 1fr;
  }
  .stat-grid {
    gap: 10px;
  }
  .stat-label {
    font-size: 0.7rem;
  }
  .stat-label .icon {
    display: none;
  }
  .stat-value {
    font-size: 1.65rem;
  }
  .stat-sub {
    font-size: 0.65rem;
  }
  .login-page {
    grid-template-columns: 1fr 1fr;
  }
  .login-story {
    padding: 35px;
  }
  .login-form-wrap {
    padding: 30px;
  }
  .login-copy h1 {
    font-size: 2.35rem;
  }
  .template-grid {
    gap: 15px;
  }
  .mobile-logout {
    display: inline-flex !important;
  }
}
@media (max-width: 560px) {
  .sidebar {
    padding: 15px 15px 0;
  }
  .content {
    padding: 23px 15px 35px;
  }
  .topbar {
    padding: 0 15px;
  }
  .breadcrumb {
    font-size: 0.72rem;
    gap: 8px;
  }
  .topbar-right {
    gap: 8px;
  }
  .topbar-right .badge {
    font-size: 0.59rem;
  }
  .avatar {
    display: none;
  }
  .page-header {
    display: block;
  }
  .page-header .button-row {
    margin-top: 18px;
  }
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
  }
  .stat-card {
    padding: 16px;
  }
  .stat-label {
    margin-bottom: 10px;
  }
  .stat-label .icon {
    display: block;
    width: 16px;
    height: 16px;
  }
  .stat-sub {
    font-size: 0.66rem;
  }
  .grid-two,
  .stack,
  .grid-two > .stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .card-header,
  .card-body {
    padding: 18px;
  }
  .card-footer {
    padding: 13px 18px;
  }
  .card-header h2 {
    font-size: 0.93rem;
  }
  .card-header .button {
    font-size: 0.68rem;
    padding: 6px 8px;
  }
  .notice {
    font-size: 0.74rem;
    padding: 12px;
  }
  .form-grid,
  .form-grid.thirds {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .template-grid {
    grid-template-columns: 1fr;
  }
  .toolbar {
    padding: 13px 17px;
    flex-wrap: wrap;
  }
  .toolbar .field {
    max-width: none;
  }
  .toolbar .count {
    font-size: 0.68rem;
  }
  th,
  td {
    padding: 12px 16px;
  }
  .table-actions {
    min-width: 110px;
  }
  .dialog-header {
    padding: 18px;
  }
  .dialog-body {
    padding: 18px;
  }
  dialog {
    max-height: calc(100vh - 26px);
    width: calc(100vw - 22px);
  }
  .detail-list {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .detail-list dd {
    margin-bottom: 9px;
  }
  .event-list {
    padding: 0 17px;
  }
  .event-item {
    display: block;
  }
  .event-time {
    margin-bottom: 6px;
  }
  .login-page {
    display: block;
  }
  .login-story {
    padding: 24px;
    min-height: auto;
    gap: 25px;
  }
  .login-copy h1 {
    font-size: 1.9rem;
    margin-bottom: 8px;
  }
  .login-copy p {
    font-size: 0.8rem;
    margin: 0;
  }
  .login-points,
  .login-story-footer {
    display: none;
  }
  .login-form-wrap {
    padding: 33px 25px;
  }
  .login-form h2 {
    font-size: 1.3rem;
  }
  .login-form > p {
    margin-bottom: 25px;
  }
  .toast-region {
    bottom: 16px;
    right: 16px;
  }
  .result-links {
    flex-wrap: wrap;
  }
  .card-footer .button-row {
    justify-content: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.legal-footer {
  padding: 14px 20px;
  text-align: center;
  font-size: 12px;
  color: #52696d;
  background: #f6f7f2;
}
