:root {
  color-scheme: light;
  --ink: #16251f;
  --muted: #68756f;
  --line: #dfe5e1;
  --soft: #f4f6f4;
  --paper: #fbfcfb;
  --white: #fff;
  --green: #1f6b4f;
  --green-dark: #164d3a;
  --green-soft: #e7f3ed;
  --blue-soft: #e9f0f7;
  --blue: #385f87;
  --red: #a43f38;
  --red-soft: #faecea;
  --amber: #936b1d;
  --amber-soft: #f8f0dc;
  --shadow: 0 18px 54px rgba(28, 45, 37, 0.1);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(31, 107, 79, 0.22);
  outline-offset: 2px;
}

.shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  display: flex;
  width: 248px;
  flex-direction: column;
  border-right: 1px solid #264c3d;
  color: #eaf3ef;
  background: radial-gradient(circle at 0 100%, rgba(78, 141, 111, 0.22), transparent 45%), #173e30;
}

.brand {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 11px;
  padding: 16px 22px;
  color: white;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand small {
  display: block;
  margin-top: 1px;
  color: #a8c5b8;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-grid;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 11px 11px 11px 3px;
  color: #173e30;
  background: #e5f1eb;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 700;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.44);
}

.nav-label {
  margin: 22px 22px 9px;
  color: #8fb3a2;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sidebar nav {
  display: grid;
  gap: 4px;
  padding: 0 11px;
}

.sidebar nav button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  border: 0;
  border-radius: 8px;
  color: #bed2c9;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.sidebar nav button:hover {
  color: white;
  background: rgba(255, 255, 255, 0.06);
}

.sidebar nav button.nav-active {
  color: #173e30;
  background: #edf4f0;
  box-shadow: 0 7px 16px rgba(6, 28, 19, 0.17);
}

.sidebar svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.sidebar-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: auto 14px 16px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
}

.sidebar-foot strong,
.sidebar-foot small {
  display: block;
}

.sidebar-foot strong {
  font-size: 11px;
  font-weight: 650;
}

.sidebar-foot small {
  margin-top: 2px;
  color: #94b4a5;
  font-size: 10px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #72d5a6;
  box-shadow: 0 0 0 4px rgba(114, 213, 166, 0.12);
}

.workspace {
  min-height: 100vh;
  margin-left: 248px;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 69px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 31px;
  background: rgba(251, 252, 251, 0.94);
  backdrop-filter: blur(14px);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #89948f;
  font-size: 12px;
}

.breadcrumbs b {
  color: #c5cbc8;
}

.breadcrumbs strong {
  color: var(--ink);
  font-weight: 650;
}

.identity {
  display: flex;
  align-items: center;
  gap: 9px;
}

.avatar {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 10px;
  font-weight: 800;
}

.avatar.large {
  width: 48px;
  height: 48px;
  font-size: 14px;
}

.identity strong,
.identity small {
  display: block;
}

.identity strong {
  max-width: 150px;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.identity small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.quiet-button,
.row-action,
.secondary,
.primary,
.danger {
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.quiet-button {
  margin-left: 10px;
  border: 1px solid var(--line);
  padding: 7px 10px;
  color: var(--muted);
  background: white;
}

.content {
  width: min(1380px, 100%);
  min-height: calc(100vh - 69px);
  margin: 0 auto;
  padding: 39px 39px 64px;
}

.content:focus {
  outline: 0;
}

.page-heading {
  display: flex;
  min-height: 80px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.page-heading h1 {
  margin-bottom: 7px;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1;
}

.page-heading p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.primary,
.secondary,
.danger {
  border: 1px solid transparent;
  padding: 10px 15px;
}

.primary {
  color: white;
  background: var(--green);
  box-shadow: 0 7px 16px rgba(31, 107, 79, 0.16);
}

.primary:hover {
  background: var(--green-dark);
}

.secondary {
  border-color: var(--line);
  background: white;
}

.danger {
  color: white;
  background: var(--red);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card,
.panel,
.table-panel,
.tenant-card,
.empty-card {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 7px 20px rgba(29, 52, 42, 0.035);
}

.metric-card {
  position: relative;
  min-height: 155px;
  overflow: hidden;
  border-radius: 10px;
  padding: 21px;
}

.metric-card::after {
  position: absolute;
  right: -28px;
  bottom: -50px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--soft);
  content: "";
}

.metric-card p {
  margin: 12px 0 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.metric-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
}

.metric-card small {
  display: block;
  margin-top: 5px;
  color: #8b9591;
  font-size: 9px;
}

.metric-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 7px;
}

.metric-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.metric-icon.green,
.exception-icon.green {
  color: var(--green);
  background: var(--green-soft);
}

.metric-icon.blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.metric-icon.ink {
  color: #4c5c55;
  background: #edf0ee;
}

.metric-icon.red,
.exception-icon.red {
  color: var(--red);
  background: var(--red-soft);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  margin-top: 14px;
}

.panel {
  border-radius: 10px;
  padding: 24px;
}

.panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.panel-title h2 {
  margin-bottom: 20px;
  font-size: 21px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.status-pill.healthy {
  color: var(--green);
  background: var(--green-soft);
}

.status-pill.pending {
  color: var(--amber);
  background: var(--amber-soft);
}

.status-pill.muted {
  color: #755955;
  background: #f2eae8;
}

.access-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border-radius: 9px;
  background: var(--soft);
}

.access-row strong {
  font-size: 12px;
}

.access-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.detail-list {
  margin: 18px 0 0;
}

.detail-list:not(.stacked) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.detail-list div {
  min-width: 0;
}

.detail-list dt {
  margin-bottom: 4px;
  color: #8a948f;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
  font-size: 11px;
  font-weight: 650;
}

.exception-row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  background: transparent;
  text-align: left;
}

.exception-row:hover b {
  transform: translateX(3px);
}

.exception-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  font-weight: 800;
}

.exception-icon.amber {
  color: var(--amber);
  background: var(--amber-soft);
}

.exception-row span:nth-child(2) {
  flex: 1;
}

.exception-row strong,
.exception-row small {
  display: block;
}

.exception-row strong {
  font-size: 11px;
}

.exception-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.exception-row b {
  color: var(--muted);
  font-size: 15px;
  transition: transform 160ms ease;
}

.generated {
  margin: 15px 2px;
  color: #99a19d;
  font-size: 9px;
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.search {
  position: relative;
  display: block;
  width: min(390px, 100%);
}

.search span {
  position: absolute;
  top: 8px;
  left: 12px;
  color: #7e8984;
  font-size: 20px;
  transform: rotate(-15deg);
}

.search input,
.filter-bar select,
.drawer-form input,
.drawer-form select,
.drawer-form textarea {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
}

.search input {
  width: 100%;
  padding: 10px 13px 10px 37px;
  font-size: 11px;
}

.filter-bar select {
  min-width: 145px;
  padding: 9px 29px 9px 11px;
  font-size: 10px;
}

.table-panel {
  overflow: hidden;
  border-radius: 10px;
}

.table-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
}

.table-meta strong {
  font-size: 11px;
}

.table-meta span {
  color: var(--muted);
  font-size: 9px;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}

th,
td {
  padding: 13px 17px;
  border-bottom: 1px solid #ebefec;
  text-align: left;
  vertical-align: middle;
}

th {
  color: #7e8984;
  background: #fafbfa;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody tr {
  transition: background 120ms ease;
}

tbody tr:hover {
  background: #fafcfb;
}

tbody tr:last-child td {
  border-bottom: 0;
}

td strong,
.cell-sub {
  display: block;
}

.cell-sub {
  margin-top: 4px;
  color: #919a96;
  font-size: 8px;
}

.mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 9px;
}

.subtle {
  color: var(--muted);
}

.row-action {
  border: 1px solid var(--line);
  padding: 6px 9px;
  color: var(--green);
  background: white;
}

.source-tag {
  display: inline-block;
  border: 1px solid #d8e4de;
  border-radius: 4px;
  padding: 3px 6px;
  color: var(--green-dark);
  background: #f5faf7;
  font-size: 8px;
  font-weight: 700;
}

.empty-row {
  padding: 42px;
  color: var(--muted);
  text-align: center;
}

.load-more {
  display: flex;
  justify-content: center;
  padding: 15px;
  border-top: 1px solid var(--line);
}

.tenant-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tenant-card {
  border-radius: 10px;
  padding: 21px;
}

.tenant-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tenant-glyph {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 8px 8px 8px 2px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 10px;
  font-weight: 800;
}

.tenant-card h2 {
  margin: 18px 0 4px;
  font-size: 20px;
}

.tenant-card > p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  text-overflow: ellipsis;
}

.tenant-card dl {
  margin: 19px 0;
  border-top: 1px solid var(--line);
}

.tenant-card dl div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
}

.tenant-card dt {
  color: var(--muted);
}

.tenant-card dd {
  margin: 0;
  font-weight: 650;
}

.tenant-card > small {
  color: #929b97;
  font-size: 8px;
}

.notice-banner {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  border: 1px solid #ead8ae;
  border-radius: 8px;
  padding: 11px 14px;
  color: #68501d;
  background: #fcf7eb;
  font-size: 10px;
}

.notice-banner span {
  color: #826b38;
}

.timeline {
  position: relative;
  padding-left: 4px;
}

.timeline::before {
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 10px;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 0 0 22px 30px;
}

.timeline-dot {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 1px;
  width: 19px;
  height: 19px;
  border: 5px solid var(--paper);
  border-radius: 50%;
}

.timeline-dot.success {
  background: var(--green);
}

.timeline-dot.failure {
  background: var(--red);
}

.timeline-main {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: white;
}

.timeline-main > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.timeline-main strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 500;
}

.timeline-main p {
  margin: 7px 0 5px;
  color: var(--muted);
  font-size: 9px;
}

.timeline-main small {
  color: #959e9a;
  font-size: 8px;
}

.sequence {
  min-width: 45px;
  padding-top: 13px;
  color: #909995;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
}

.drawer-layer {
  position: fixed;
  z-index: 60;
  inset: 0;
}

.drawer-layer[hidden] {
  display: none;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(13, 32, 24, 0.4);
  backdrop-filter: blur(2px);
  cursor: default;
}

.drawer {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 auto;
  width: min(510px, calc(100vw - 24px));
  overflow-y: auto;
  padding: 27px;
  background: white;
  box-shadow: -14px 0 48px rgba(14, 36, 27, 0.16);
  animation: drawer-in 180ms ease-out;
}

@keyframes drawer-in {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 24px;
}

.drawer-head h2 {
  max-width: 390px;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 25px;
}

.drawer-close {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: white;
  font-size: 19px;
  line-height: 1;
}

.drawer-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border-radius: 8px;
  background: var(--soft);
}

.drawer-status > span:last-child {
  color: var(--muted);
  font-size: 9px;
}

.detail-list.stacked > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list.stacked dd {
  overflow-wrap: anywhere;
  text-align: right;
}

.drawer-section {
  margin-top: 25px;
}

.drawer-section h3 {
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mini-metrics span {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px;
  color: var(--muted);
  font-size: 8px;
}

.mini-metrics b {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 500;
}

pre {
  max-height: 340px;
  overflow: auto;
  border: 1px solid #dce3df;
  border-radius: 7px;
  padding: 14px;
  color: #30453b;
  background: #f6f8f7;
  font:
    9px / 1.65 "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.drawer-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.drawer-form {
  display: grid;
  gap: 16px;
}

.drawer-form label {
  display: grid;
  gap: 7px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.drawer-form input,
.drawer-form select,
.drawer-form textarea {
  width: 100%;
  padding: 10px 11px;
  font-size: 11px;
  font-weight: 450;
  letter-spacing: 0;
  text-transform: none;
}

.drawer-form textarea {
  min-height: 260px;
  resize: vertical;
  font-family: "SFMono-Regular", Consolas, monospace;
  line-height: 1.5;
}

.form-help {
  margin: -5px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.critical-form {
  margin-top: 25px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.confirm-command {
  display: block;
  overflow-wrap: anywhere;
  color: var(--red);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0;
  text-transform: none;
}

.drawer-loading,
.loading-page,
.boot,
.fatal,
.error-state {
  display: grid;
  min-height: 300px;
  place-content: center;
  justify-items: center;
  color: var(--muted);
  text-align: center;
}

.boot,
.fatal {
  min-height: 100vh;
}

.boot {
  background: #173e30;
  color: #dbe9e2;
}

.boot p {
  margin-top: 14px;
  font-size: 11px;
}

.boot .brand-mark {
  width: 50px;
  height: 50px;
}

.fatal {
  width: min(520px, calc(100% - 40px));
  margin: auto;
}

.fatal h1,
.error-state h1 {
  margin: 7px 0 10px;
  color: var(--ink);
  font-size: 30px;
}

.fatal p:not(.eyebrow),
.error-state p:not(.eyebrow) {
  max-width: 420px;
  font-size: 12px;
  line-height: 1.6;
}

.fatal button,
.error-state button {
  margin-top: 10px;
}

.error-state > span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
  place-items: center;
  border-radius: 50%;
  color: var(--red);
  background: var(--red-soft);
  font-weight: 800;
}

.spinner {
  display: block;
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
  border: 2px solid #dbe4df;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-page p,
.drawer-loading p {
  font-size: 10px;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  max-width: 380px;
  border: 1px solid #b9d4c7;
  border-radius: 8px;
  padding: 12px 15px;
  color: var(--green-dark);
  background: #edf7f2;
  box-shadow: var(--shadow);
  font-size: 10px;
  font-weight: 650;
}

.toast.toast-error,
.inline-error {
  color: var(--red);
  background: var(--red-soft);
}

.inline-error {
  border-radius: 7px;
  padding: 12px;
  font-size: 10px;
}

.empty-card {
  border-radius: 10px;
  padding: 40px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.mobile-only {
  display: none;
}

@media (max-width: 1050px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tenant-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sidebar {
    width: 240px;
    transform: translateX(-101%);
    transition: transform 180ms ease;
  }

  .sidebar.sidebar-open {
    box-shadow: 14px 0 45px rgba(9, 29, 20, 0.23);
    transform: translateX(0);
  }

  .workspace {
    margin-left: 0;
  }

  .mobile-only {
    display: grid;
  }

  .icon-button {
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: white;
  }

  .topbar {
    padding: 0 16px;
  }

  .breadcrumbs {
    display: none;
  }

  .identity small,
  .identity > div {
    display: none;
  }

  .quiet-button {
    margin-left: 0;
  }

  .content {
    padding: 28px 18px 50px;
  }

  .page-heading {
    min-height: 0;
  }

  .metric-grid,
  .overview-grid,
  .tenant-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .search {
    width: 100%;
  }

  .table-meta span {
    display: none;
  }

  .notice-banner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
