:root {
  --ink: #15313c;
  --muted: #70818a;
  --brand: #087f72;
  --green: #bced74;
  --paper: #f5f7f8;
  --line: #e3e9ec;
  --nav: #102b35;
  --red: #b64444;
  --radius: 14px;
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  color: var(--ink);
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
}
[hidden] {
  display: none !important;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  letter-spacing: -1.4px;
  font-size: 34px;
  margin-bottom: 10px;
}
h2 {
  font-size: 24px;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 15px;
  margin-bottom: 7px;
}
p {
  line-height: 1.65;
}
.muted,
small {
  color: var(--muted);
}
small {
  font-size: 12px;
  line-height: 1.5;
}
.overline {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.9px;
  color: var(--muted);
  margin-bottom: 12px;
}
.brand {
  font-size: 26px;
  display: flex;
  align-items: center;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -1px;
  color: #fff;
}
.brand > span:last-child {
  font-weight: 400;
  color: #8fa9b1;
}
.brand-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--nav);
  font-size: 27px;
  border-radius: 11px;
  margin-right: 10px;
  font-family: Georgia, serif;
  font-style: italic;
}
.shell {
  display: flex;
  min-height: 100vh;
}
aside {
  width: 246px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--nav);
  padding: 30px 18px 18px;
  color: #e9f2f3;
  display: flex;
  flex-direction: column;
  z-index: 20;
  overflow: auto;
}
.workspace-name {
  display: flex;
  gap: 10px;
  padding: 21px 7px 24px;
  margin: 15px 0 8px;
  border-bottom: 1px solid #28434d;
  align-items: center;
}
.workspace-letter {
  display: grid;
  place-items: center;
  width: 31px;
  height: 33px;
  border: 1px solid #50656d;
  border-radius: 7px;
  font-weight: 700;
  flex: none;
}
.workspace-name strong {
  font-size: 12px;
  display: block;
  max-width: 148px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-name small {
  display: block;
  font-size: 10px;
  color: #8ba4ae;
  margin-top: 5px;
}
nav {
  flex: 1;
}
.nav-label {
  font-size: 9px;
  color: #718e99;
  letter-spacing: 1.6px;
  margin: 21px 13px 9px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  margin: 3px 0;
  border-radius: 8px;
  text-decoration: none;
  font-size: 12px;
  color: #acbfc6;
  border: 1px solid transparent;
}
.nav-item:hover {
  background: #1a3943;
  color: white;
}
.nav-item.active {
  background: #27454b;
  color: #d4fca5;
  border-color: #3b5657;
}
.nav-icon {
  font-size: 18px;
  width: 20px;
  text-align: center;
}
.nav-item b {
  margin-left: auto;
  background: #3c585c;
  color: #c5dfce;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
}
.sidebar-foot {
  margin-top: 30px;
  border-top: 1px solid #28434d;
  padding-top: 16px;
}
.local-indicator {
  font-size: 10px;
  color: #9fb9b4;
  padding: 0 9px 16px;
}
.local-indicator i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 7px;
}
.profile {
  width: 100%;
  border: 0;
  background: none;
  display: flex;
  text-align: left;
  align-items: center;
  gap: 9px;
  color: white;
  padding: 7px;
}
.profile strong {
  display: block;
  font-size: 11px;
}
.profile small {
  display: block;
  color: #8da4ad;
  font-size: 10px;
  margin-top: 3px;
}
.profile > span:last-child {
  margin-left: auto;
}
.avatar {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7eeea;
  color: #244b44;
  font-size: 11px;
  font-weight: 700;
  flex: none;
}
.logout {
  border: 0;
  background: none;
  color: #a6bac1;
  font-size: 10px;
  margin: 9px 0 0 43px;
}
.main {
  margin-left: 246px;
  width: calc(100% - 246px);
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: #ffffffd9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}
.crumb {
  font-size: 11px;
  color: #8e9ca3;
}
.crumb span {
  margin: 0 12px;
  color: #b4bfc5;
}
.crumb strong {
  color: #4f6570;
  font-weight: 500;
}
.header-right {
  display: flex;
  gap: 17px;
  align-items: center;
}
.search-button {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: none;
  color: #8b9aa3;
  font-size: 16px;
}
.search-button span {
  font-size: 11px;
}
.search-button kbd {
  font-size: 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 5px;
  margin-left: 35px;
}
.icon-btn {
  border: 0;
  background: transparent;
  font-size: 22px;
  min-width: 34px;
  min-height: 34px;
  position: relative;
}
.icon-btn b {
  position: absolute;
  right: -1px;
  top: 0;
  font-size: 9px;
  background: var(--green);
  border-radius: 8px;
  padding: 2px 4px;
}
#menu {
  display: none;
}
#content {
  padding: 36px 38px;
  max-width: 1660px;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.page-heading .overline {
  margin-bottom: 10px;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn {
  border: 1px solid #d9e2e6;
  background: #fff;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 11px;
  font-weight: 650;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  min-height: 38px;
}
.btn:hover {
  background: #f2f6f5;
}
.btn.primary {
  background: var(--nav);
  border-color: var(--nav);
  color: #fff;
}
.btn.primary:hover {
  background: #234652;
}
.btn.green {
  background: var(--green);
  border-color: var(--green);
  color: #20402e;
}
.btn.danger {
  color: var(--red);
  background: #fff4f2;
  border-color: #f0d5d0;
}
.btn.small {
  min-height: 30px;
  padding: 6px 9px;
  font-size: 10px;
}
.btn.wide {
  width: 100%;
}
.btn.link {
  border: 0;
  background: transparent;
  color: var(--brand);
  padding: 3px;
  min-height: 24px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: end;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}
.filters label {
  flex: 1;
  min-width: 115px;
  max-width: 190px;
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.filters input,
.filters select {
  height: 34px;
  padding: 6px 9px;
  margin-top: 6px;
  font-size: 11px;
}
.filters .filter-search {
  min-width: 180px;
  max-width: 260px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.metric {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 20px 21px;
  overflow: hidden;
}
.metric:first-child {
  background: #eff5e7;
  border-color: #dce9ca;
}
.metric-label {
  font-size: 11px;
  color: #6d807c;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.metric-label span {
  border: 1px solid #dce6df;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #76927c;
}
.metric-value {
  font-size: 33px;
  font-weight: 650;
  letter-spacing: -1.5px;
  margin: 14px 0 7px;
}
.metric small {
  font-size: 10px;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 20px;
  margin-bottom: 22px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 23px;
  min-width: 0;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}
.panel-head h3 {
  margin-bottom: 6px;
}
.panel-head p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  padding: 5px 8px;
  background: #eef3f5;
  border-radius: 5px;
  color: #61727c;
  white-space: nowrap;
}
.tag.good {
  background: #e9f5ed;
  color: #28815c;
}
.tag.warn {
  background: #fff5de;
  color: #9c771b;
}
.tag.bad {
  background: #fceeed;
  color: #b05449;
}
.tag.purple {
  background: #f0eefa;
  color: #7566aa;
}
.table-wrap {
  overflow: auto;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}
.panel .table-wrap {
  border: 0;
  border-radius: 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  white-space: nowrap;
  font-size: 11px;
}
th {
  font-size: 9px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 600;
  color: #87989f;
  background: #f9fbfc;
  text-align: left;
  padding: 14px 17px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 17px;
  border-bottom: 1px solid #eef1f3;
  color: #59707c;
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  font-weight: 650;
  color: var(--ink);
}
td small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
tbody tr:hover {
  background: #fcfefb;
}
.table-link {
  background: none;
  border: 0;
  font-weight: 650;
  color: var(--ink);
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.table-link:hover {
  color: var(--brand);
}
.table-foot {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}
.table-foot .actions {
  align-items: center;
}
.empty {
  padding: 46px 20px;
  text-align: center;
  white-space: normal;
  color: var(--muted);
}
.empty strong {
  display: block;
  color: #516e7a;
  margin-bottom: 8px;
}
.bar-chart {
  display: flex;
  align-items: end;
  gap: 22px;
  height: 205px;
  padding: 15px 5px 0;
  border-bottom: 1px solid var(--line);
}
.chart-group {
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.chart-bar {
  width: 100%;
  max-width: 52px;
  background: #bce794;
  border-radius: 5px 5px 0 0;
  min-height: 3px;
}
.chart-group:nth-child(even) .chart-bar {
  background: #245b54;
}
.chart-group b {
  font-size: 11px;
  font-weight: 600;
}
.chart-labels {
  display: flex;
  gap: 22px;
  margin: 12px 5px 0;
}
.chart-labels span {
  flex: 1;
  text-align: center;
  font-size: 9px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
}
.progress-row {
  margin: 19px 0;
}
.progress-row > div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 10px;
}
.progress-track {
  height: 6px;
  border-radius: 5px;
  background: #f1f4f5;
  overflow: hidden;
}
.progress-track i {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: #88b5a8;
}
.progress-row:nth-child(2n) i {
  background: #bddf8b;
}
.notice {
  padding: 13px 17px;
  border-radius: 9px;
  background: #edf4e5;
  border: 1px solid #dbe9ce;
  margin-bottom: 19px;
  line-height: 1.6;
  font-size: 11px;
  color: #657a4f;
}
.notice.warning {
  background: #fff8e9;
  border-color: #f2e6c6;
  color: #94752d;
}
.notice.error {
  background: #fff0ee;
  border-color: #eac7c1;
  color: #a74f43;
}
.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #edf1f3;
  font-size: 11px;
}
.list-row:last-child {
  border: 0;
}
.list-row strong {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
}
.list-row small {
  font-size: 10px;
}
.circle {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #e9f1eb;
  flex: none;
  font-size: 12px;
  font-weight: 650;
  color: #5d8777;
}
.row-label {
  display: flex;
  align-items: center;
  gap: 11px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.center-card {
  padding: 22px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.center-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 20px;
}
.center-card h3 {
  margin: 17px 0 6px;
  font-size: 17px;
}
.center-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 19px 0 18px;
  margin-top: 21px;
}
.center-stats b {
  font-size: 22px;
  display: block;
  font-weight: 650;
}
.center-stats small {
  font-size: 9px;
}
.center-card .actions {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  justify-content: space-between;
}
.tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.tabs .active {
  background: var(--nav);
  color: white;
}
.kanban {
  display: flex;
  gap: 15px;
  overflow: auto;
  padding-bottom: 15px;
}
.lane {
  min-width: 225px;
  flex: 1;
  background: #edf1f3;
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 12px;
}
.lane > h3 {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.lead-card {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  padding: 15px;
  text-align: left;
  margin-bottom: 10px;
}
.lead-card strong {
  display: block;
  font-size: 12px;
  margin-bottom: 7px;
}
.lead-card small {
  font-size: 10px;
  display: block;
  line-height: 1.8;
}
.lead-card b {
  display: block;
  font-size: 13px;
  margin-top: 12px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.detail-item small {
  display: block;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.7px;
  margin-bottom: 6px;
}
.detail-item {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.timeline {
  padding: 0 0 0 15px;
  border-left: 2px solid #dce7e3;
  margin: 20px 0;
}
.timeline-item {
  padding: 4px 0 18px;
  font-size: 12px;
}
.timeline-item p {
  margin: 8px 0;
  font-size: 12px;
  color: #617781;
  white-space: pre-wrap;
}
.timeline-item small {
  font-size: 10px;
}
label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #57707b;
}
input,
select,
textarea {
  border: 1px solid #dbe3e7;
  border-radius: 7px;
  background: white;
  color: var(--ink);
  padding: 10px 11px;
  width: 100%;
  margin-top: 7px;
  min-width: 0;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #c6dfb9;
  border-color: #83a876;
}
textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}
input[type="checkbox"] {
  width: auto;
  margin: 0 7px 0 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 18px;
}
.error {
  color: var(--red);
  font-size: 12px;
  min-height: 18px;
}
.field-help {
  font-size: 10px;
  font-weight: 400;
  display: block;
  margin-top: 6px;
  line-height: 1.6;
  color: var(--muted);
}
dialog {
  border: 0;
  border-radius: 18px;
  width: min(760px, calc(100% - 32px));
  padding: 28px;
  max-height: 88vh;
  box-shadow: 0 30px 100px #081c3652;
  color: var(--ink);
}
dialog::backdrop {
  background: #10263385;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 25px;
}
.dialog-heading h2 {
  margin-bottom: 0;
}
.dialog-heading .overline {
  margin-bottom: 9px;
}
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: min(500px, 90vw);
  border-radius: 10px;
  background: var(--nav);
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  padding: 15px 20px;
  box-shadow: 0 8px 40px #142e3922;
  z-index: 100;
  display: none;
}
.toast.visible {
  display: block;
}
footer {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #9cabb1;
  margin-top: 30px;
  gap: 20px;
}
.loading {
  position: fixed;
  inset: 0;
  background: var(--paper);
  display: grid;
  place-items: center;
  z-index: 80;
  font-size: 14px;
  color: #6a8585;
}
.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-story {
  background: var(--nav);
  padding: 55px 65px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}
.login-story:after {
  content: "";
  width: 400px;
  height: 400px;
  border: 1px solid #375b57;
  position: absolute;
  border-radius: 50%;
  bottom: -180px;
  right: -100px;
  pointer-events: none;
}
.login-story h1 {
  font-size: clamp(36px, 4vw, 63px);
  line-height: 1.14;
  letter-spacing: -2.5px;
}
.login-story em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--green);
}
.login-story p {
  max-width: 380px;
  font-size: 14px;
  color: #a5c0c3;
}
.login-story .overline {
  color: #90aba7;
}
.login-story small {
  color: #819fa5;
}
.login-form-wrap {
  display: grid;
  place-items: center;
  padding: 45px;
}
.login-form-wrap form {
  width: min(380px, 100%);
}
.login-form-wrap h2 {
  font-size: 30px;
}
.login-form-wrap label {
  margin: 22px 0;
}
.login-form-wrap p {
  font-size: 12px;
}
.login-form-wrap .btn {
  height: 45px;
  justify-content: space-between;
}
details {
  font-size: 11px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  color: #788b92;
  margin-top: 22px;
}
summary {
  cursor: pointer;
}
.demo-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.demo-choices button {
  font-size: 10px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px;
  border-radius: 5px;
  color: #607781;
}
.skip {
  position: absolute;
  top: -80px;
  left: 15px;
  padding: 12px;
  background: white;
  z-index: 100;
}
.skip:focus {
  top: 15px;
}
.metric-hint {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
  margin: 14px 0 0;
}
.settings-list {
  display: grid;
  gap: 15px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  margin-top: 8px;
}
.checklist {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.checklist label {
  font-size: 11px;
}
.compact tbody td {
  padding: 10px 15px;
}
.section-space {
  margin-top: 25px;
}
@media (min-width: 1600px) {
  #content {
    padding: 42px 50px;
  }
  .metric-grid {
    gap: 22px;
  }
  .grid {
    gap: 24px;
  }
}
@media (max-width: 1200px) {
  aside {
    width: 218px;
  }
  .main {
    margin-left: 218px;
    width: calc(100% - 218px);
  }
  #content {
    padding: 28px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .metric-grid {
    gap: 11px;
  }
  .metric {
    padding: 16px;
  }
  .grid {
    grid-template-columns: 1.4fr 1fr;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-heading {
    align-items: flex-start;
  }
  h1 {
    font-size: 29px;
  }
}
@media (max-width: 960px) {
  aside {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 246px;
  }
  .sidebar-open aside {
    transform: translateX(0);
    box-shadow: 10px 0 50px #092a3566;
  }
  .main {
    margin-left: 0;
    width: 100%;
  }
  #menu {
    display: block;
  }
  .topbar {
    gap: 13px;
  }
  .crumb {
    margin-right: auto;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .login-story {
    padding: 45px 30px;
  }
}
@media (max-width: 650px) {
  .topbar {
    height: 60px;
    padding: 0 14px;
  }
  .header-right {
    gap: 4px;
  }
  .search-button span,
  .search-button kbd {
    display: none;
  }
  .crumb {
    font-size: 10px;
  }
  .crumb span {
    margin: 0 6px;
  }
  #content {
    padding: 25px 16px;
  }
  .page-heading {
    display: block;
    margin-bottom: 22px;
  }
  .page-heading .actions {
    margin-top: 18px;
  }
  h1 {
    font-size: 29px;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .metric {
    padding: 16px 14px;
  }
  .metric-value {
    font-size: 29px;
  }
  .grid,
  .card-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 19px;
  }
  .filters {
    gap: 10px;
  }
  .filters label {
    max-width: none;
    width: calc(50% - 10px);
    min-width: 100px;
    flex: auto;
  }
  .filters .filter-search {
    max-width: none;
    width: 100%;
  }
  .filters .btn {
    flex: 1;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .detail-grid {
    gap: 12px;
  }
  .dialog-heading h2 {
    font-size: 21px;
  }
  dialog {
    padding: 21px;
    max-height: 92vh;
  }
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-story {
    display: none;
  }
  .login-form-wrap {
    min-height: 100vh;
    padding: 28px;
  }
  footer {
    flex-direction: column;
    gap: 7px;
  }
  .table-foot {
    flex-wrap: wrap;
  }
  .btn {
    min-height: 40px;
  }
  .tabs .btn {
    flex: 1;
  }
  .bar-chart {
    gap: 12px;
  }
  .chart-labels {
    gap: 12px;
  }
  .overline {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
aside {
  scrollbar-width: thin;
  scrollbar-color: #36515b transparent;
}
.nav-item {
  font-size: 12px;
}
#navShade {
  display: none;
}
.table-link:focus-visible,
.btn:focus-visible,
.icon-btn:focus-visible {
  outline: 2px solid var(--brand);
}
@media (max-width: 960px) {
  .sidebar-open #navShade {
    display: block;
    position: fixed;
    inset: 0;
    background: #0b233669;
    z-index: 19;
    border: 0;
  }
  .sidebar-open {
    overflow: hidden;
  }
}
