:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: #f4efe6;
  background: #0b0a09;
  color-scheme: dark;
  accent-color: #d9bf8d;
  --bg: #0b0a09;
  --side: #11100e;
  --panel: #171512;
  --raised: #1d1a16;
  --field: #100f0d;
  --line: #373128;
  --soft: #29251f;
  --text: #f4efe6;
  --muted: #a79d90;
  --accent: #d9bf8d;
  --accent2: #f0d8aa;
  --success: #86c9a2;
  --warning: #e7bb68;
  --danger: #e48b80;
  --shadow: 0 18px 60px #0005;
}

.audit-secondary { margin-top: 28px; }
.audit-secondary label { min-width: 150px; font-size: 12px; color: #78716c; }
.audit-secondary select, .audit-filters select { width: 100%; margin-top: 6px; border: 1px solid #ded8cd; border-radius: 10px; background: #fff; padding: 10px 12px; color: #292524; }
.audit-cards { margin-bottom: 16px; }
.audit-filters { display: grid; grid-template-columns: minmax(240px, 1fr) 190px 150px auto auto; align-items: center; gap: 10px; }
.audit-toggle { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 12px; color: #57534e; }
.audit-toggle input { width: auto; }
.investigation-list { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 14px; }
.investigation-account { flex: 0 0 auto; display: grid; gap: 3px; min-width: 220px; padding: 11px 13px; border: 1px solid #ded8cd; border-radius: 12px; background: #fff; color: #292524; text-align: left; box-shadow: none; }
.investigation-account:hover { border-color: #9d8966; background: #faf8f4; }
.investigation-account small { color: #78716c; }
.risk { display: inline-flex; border-radius: 999px; padding: 4px 8px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.risk.low { color: #166534; background: #dcfce7; }
.risk.medium { color: #92400e; background: #fef3c7; }
.risk.high { color: #991b1b; background: #fee2e2; }
@media (max-width: 1050px) { .audit-filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .audit-filters { grid-template-columns: 1fr; } }
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}
button,
input,
select,
textarea {
  font: inherit;
}
.hidden {
  display: none !important;
}
.muted,
small {
  color: var(--muted);
}
.error,
.formStatus {
  color: var(--danger);
}
.eyebrow,
.section-kicker {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-kicker {
  display: block;
  margin-bottom: 7px;
}
button {
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  background: var(--accent);
  color: #211b12;
  font-weight: 800;
  cursor: pointer;
  transition: 0.16s;
}
button:hover {
  transform: translateY(-1px);
  background: var(--accent2);
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #d9bf8d3d;
  outline-offset: 2px;
}
.ghost {
  background: #28231c;
  color: #d1c8bb;
  border: 1px solid var(--line);
}
.ghost:hover {
  background: #332d24;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--field);
  color: var(--text);
  border-radius: 9px;
  padding: 12px 13px;
  outline: none;
}
input::placeholder,
textarea::placeholder {
  color: #756d62;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
}
input[readonly] {
  color: #b7aea1;
  background: #15130f;
  cursor: not-allowed;
}
textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.55;
}
label {
  display: grid;
  gap: 7px;
  color: #d1c8bb;
  font-size: 0.88rem;
  font-weight: 650;
}
label small {
  display: block;
  font-weight: 450;
  line-height: 1.4;
}
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at 12% 18%, #342c20 0, transparent 32%),
    linear-gradient(115deg, #0b0a09 0 56%, #17140f 56%);
}
.login-wrap {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 84px;
  align-items: center;
}
.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent);
  color: #211b12;
  font-size: 1.45rem;
  font-weight: 950;
  box-shadow: 0 12px 35px #d9bf8d29;
}
.brand-mark.small {
  width: 38px;
  height: 38px;
  font-size: 1rem;
  border-radius: 9px;
}
.login-intro .eyebrow {
  margin: 26px 0 12px;
}
.login-intro h1 {
  margin: 0 0 24px;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}
.login-intro > p:not(.eyebrow) {
  max-width: 530px;
  color: #c1b7aa;
  font-size: 1.06rem;
  line-height: 1.75;
}
.login-points {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.login-points span {
  border: 1px solid #4a4032;
  border-radius: 99px;
  padding: 8px 12px;
  color: #d8cdbd;
  font-size: 0.78rem;
}
.login-card {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #171512f5;
  box-shadow:
    24px 28px 0 #070605,
    var(--shadow);
}
.login-card .eyebrow {
  margin: 0 0 9px;
}
.login-card h2 {
  margin: 0;
  font-size: 2rem;
}
.login-card > label {
  margin-top: 19px;
}
.login-card > button {
  width: 100%;
  margin-top: 24px;
}
.login-card .error {
  min-height: 20px;
}
.login-foot {
  display: block;
  text-align: center;
}
.shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  min-height: 100vh;
}
aside {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 26px 18px 20px;
  background: var(--side);
  border-right: 1px solid var(--soft);
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 24px;
  border-bottom: 1px solid var(--soft);
}
.brand > div {
  display: grid;
  gap: 3px;
}
.brand small {
  font-size: 0.72rem;
}
nav {
  display: grid;
  gap: 5px;
  margin-top: 18px;
}
.nav-label {
  margin: 18px 13px 4px;
  color: #776f64;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.17em;
}
nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 12px 13px;
  background: transparent;
  color: #b8aea1;
  text-align: left;
  font-weight: 650;
  border: 1px solid transparent;
}
nav button span {
  width: 19px;
  color: #82796d;
  font-size: 1.05rem;
  text-align: center;
}
nav button:hover,
nav button.active {
  transform: none;
  background: #211e19;
  color: var(--text);
  border-color: #322c24;
}
nav button.active {
  box-shadow: inset 3px 0 var(--accent);
}
nav button.active span {
  color: var(--accent);
}
.user {
  margin-top: auto;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--soft);
  border-radius: 12px;
  background: #15130f;
}
.user-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2b261e;
  color: var(--accent);
  font-weight: 800;
}
.user > div:nth-child(2) {
  display: grid;
  font-size: 0.8rem;
}
.user button {
  padding: 5px;
  background: none;
  color: var(--muted);
  font-size: 0.75rem;
}
main {
  min-width: 0;
  padding: 0 38px 64px;
  background:
    radial-gradient(circle at 88% -15%, #282116 0, transparent 26%), var(--bg);
}
.topbar {
  height: 76px;
  margin: 0 -38px 34px;
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--soft);
  background: #11100ee6;
  backdrop-filter: blur(12px);
}
.global-search,
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #847b6f;
}
.global-search {
  width: min(360px, 45vw);
  padding: 3px 14px;
  border: 1px solid var(--soft);
  border-radius: 99px;
  background: #0d0c0a;
}
.global-search input,
.search-field input {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.82rem;
}
.top-actions b {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  margin-left: 9px;
  border-radius: 50%;
  background: var(--accent);
  color: #211b12;
  font-size: 0.74rem;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px #86c9a21c;
}
header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
header .eyebrow {
  margin: 0 0 8px;
}
header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  letter-spacing: -0.04em;
}
.page-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
}
.health {
  flex: none;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--panel);
  color: #d1c8bb;
  font-size: 0.82rem;
}
.health i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--warning);
}
.health.ok i {
  background: var(--success);
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 14px;
}
.card,
article,
.table-wrap {
  border: 1px solid var(--soft);
  border-radius: 15px;
  background: linear-gradient(145deg, var(--raised), #14120f);
  box-shadow: 0 12px 34px #0002;
}
.card {
  min-height: 128px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.card:after {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -38px;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  border: 18px solid #d9bf8d0a;
}
.card small {
  display: block;
  font-size: 0.77rem;
}
.card strong {
  display: block;
  margin: 9px 0 5px;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
}
.card .good,
.good {
  color: var(--success);
}
.card .warn {
  color: var(--warning);
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
  gap: 18px;
  margin-top: 18px;
}
article {
  padding: 21px;
}
article h2,
.section-toolbar h2 {
  margin: 0;
  font-size: 1.02rem;
}
.article-head,
.chart-title,
.section-toolbar,
.section-row,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.section-toolbar {
  margin-bottom: 17px;
  align-items: flex-end;
}
.section-toolbar p {
  margin: 6px 0 0;
  font-size: 0.87rem;
}
.progress {
  height: 9px;
  margin: 15px 0;
  overflow: hidden;
  border-radius: 9px;
  background: #0b0a09;
}
.progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #a98955, var(--accent2));
}
.stats-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted);
  font-size: 0.83rem;
}
.quick {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}
.quick button {
  display: flex;
  justify-content: space-between;
  background: #252119;
  color: #d1c8bb;
  border: 1px solid var(--soft);
  text-align: left;
}
.quick button:hover {
  background: #302a21;
}
.filterbar {
  display: flex;
  margin-bottom: 12px;
}
.search-field {
  width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  background: var(--panel);
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--soft);
  text-align: left;
  font-size: 0.84rem;
  vertical-align: middle;
}
th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #12100e;
  color: #8e8579;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
tbody tr {
  transition: background 0.15s;
}
tbody tr:hover {
  background: #d9bf8d09;
}
tr:last-child td {
  border-bottom: 0;
}
td > b {
  color: #eee6da;
}
.usage {
  min-width: 180px;
}
.usage small {
  display: block;
}
.mini {
  height: 6px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 6px;
  background: #0b0a09;
}
.mini i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a98b5c, var(--accent));
}
.pill {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid #86c9a233;
  border-radius: 99px;
  background: #86c9a217;
  color: #a7dfbb;
  font-size: 0.72rem;
}
.pill.off {
  border-color: #e48b802e;
  background: #e48b8014;
  color: #eda59d;
}
.edit,
.delete {
  padding: 6px 8px;
  background: transparent;
  color: var(--accent);
}
.edit:hover,
.delete:hover {
  transform: none;
  background: #28231c;
}
.delete {
  color: var(--danger);
}
.infra-cards {
  grid-template-columns: repeat(5, minmax(130px, 1fr));
}
.charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.chart-title strong {
  color: var(--accent);
  font-size: 1.1rem;
}
.chart {
  height: 190px;
  margin-top: 15px;
}
.chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.chart-grid {
  stroke: #383228;
  stroke-width: 1;
}
.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}
.chart-area {
  fill: #d9bf8d1c;
}
.infra-bottom {
  margin-top: 18px;
}
.ports {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.port {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border: 1px solid var(--soft);
  border-radius: 9px;
  background: #100f0d;
}
.port i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
}
.port.ok i {
  background: var(--success);
}
.service-health {
  display: grid;
  gap: 12px;
}
.health-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--soft);
  font-size: 0.87rem;
}
dialog {
  width: min(650px, calc(100% - 28px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 0;
  border: 1px solid #463e32;
  border-radius: 17px;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 32px 100px #000b;
}
dialog.wide {
  width: min(960px, calc(100% - 28px));
}
dialog.mail-dialog {
  width: min(760px, calc(100% - 28px));
}
dialog::backdrop {
  background: #050403d6;
  backdrop-filter: blur(5px);
}
dialog form {
  padding: 25px;
}
.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--soft);
}
.dialog-head h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}
.dialog-head p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.icon {
  min-width: 38px;
  padding: 4px;
  border-radius: 8px;
  background: #252119;
  color: var(--muted);
  font-size: 1.55rem;
}
.form-section {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--soft);
  border-radius: 12px;
  background: #13110e;
}
.form-section h3 {
  margin: 0 0 -3px;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mailbox-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  border: 1px solid #514633;
  border-radius: 10px;
  background: #211c15;
}
.mailbox-preview span {
  color: var(--muted);
  font-size: 0.78rem;
}
.mailbox-preview strong {
  overflow-wrap: anywhere;
  color: var(--accent2);
  text-align: right;
}
.mailbox-preview.compact {
  padding-block: 10px;
}
.password-field {
  position: relative;
  display: block;
}
.password-field input {
  padding-right: 86px;
}
.field-action {
  position: absolute;
  top: 50%;
  right: 7px;
  min-width: auto;
  padding: 7px 10px;
  transform: translateY(-50%);
  border: 0;
  background: var(--soft);
  color: var(--accent2);
  font-size: 0.75rem;
}
.table-message {
  padding: 34px 16px !important;
  color: var(--muted);
  text-align: center;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.split,
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.range-field {
  grid-template-columns: 1fr auto;
  align-items: center;
}
.range-field output {
  min-width: 72px;
  padding: 6px 9px;
  border-radius: 8px;
  background: #2c261d;
  color: var(--accent2);
  text-align: center;
  font-size: 0.84rem;
}
.range-field input[type="range"] {
  grid-column: 1/-1;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #332d24;
  cursor: pointer;
}
.range-scale {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
}
.switch-label {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: end;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--field);
}
.switch-label input {
  width: 19px;
  height: 19px;
  flex: none;
}
.switch-label span {
  display: grid;
  gap: 2px;
}
.modal-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  background: #201c16;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
.account-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 18px;
}
.account-meta span {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--soft);
  border-radius: 10px;
  background: #100f0d;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}
.account-meta b {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: #d1c8bb;
  text-overflow: ellipsis;
}
.relation-section {
  gap: 13px;
}
.section-row p {
  margin: 6px 0 0;
  font-size: 0.8rem;
}
.relation-tabs {
  display: flex;
  gap: 5px;
  padding: 4px;
  border-radius: 9px;
  background: #0e0d0b;
}
.relation-tabs button {
  flex: 1;
  background: transparent;
  color: var(--muted);
}
.relation-tabs button:hover,
.relation-tabs button.active {
  transform: none;
  background: #2b261e;
  color: var(--accent2);
}
.relation-help {
  margin: 0;
  font-size: 0.8rem;
}
.related-rows {
  display: grid;
  gap: 7px;
}
.related-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 12px;
  border: 1px solid var(--soft);
  border-radius: 9px;
  background: #0e0d0b;
  font-size: 0.84rem;
}
.related-row small {
  display: block;
  margin-top: 3px;
}
.actions {
  justify-content: flex-end;
  margin-top: 22px;
}
.sticky-actions {
  position: sticky;
  bottom: -25px;
  margin: 22px -25px -25px;
  padding: 16px 25px;
  border-top: 1px solid var(--soft);
  background: #171512f5;
  backdrop-filter: blur(10px);
}
.formStatus {
  min-height: 18px;
  margin-bottom: 0;
  font-size: 0.82rem;
}
#toast {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100% - 48px));
  padding: 13px 16px;
  border: 1px solid #4b4133;
  border-radius: 10px;
  background: #28231c;
  color: var(--text);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: 0.2s;
  pointer-events: none;
}
#toast.show {
  opacity: 1;
  transform: none;
}
@media (max-width: 1120px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .infra-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .account-meta {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .shell {
    grid-template-columns: 224px minmax(0, 1fr);
  }
  .grid,
  .charts {
    grid-template-columns: 1fr;
  }
  main {
    padding-inline: 24px;
  }
  .topbar {
    margin-inline: -24px;
    padding-inline: 24px;
  }
  .ports {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .login {
    padding: 20px;
    background: var(--bg);
  }
  .login-wrap {
    grid-template-columns: 1fr;
  }
  .login-intro {
    display: none;
  }
  .login-card {
    padding: 28px;
    box-shadow: var(--shadow);
  }
  .shell {
    display: block;
  }
  aside {
    position: relative;
    height: auto;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--soft);
  }
  .brand {
    padding-bottom: 14px;
  }
  nav {
    grid-template-columns: 1fr 1fr;
  }
  .nav-label {
    grid-column: 1/-1;
    margin-top: 9px;
  }
  .user {
    display: none;
  }
  main {
    padding: 0 16px 44px;
  }
  .topbar {
    height: 66px;
    margin: 0 -16px 25px;
    padding: 0 16px;
  }
  .global-search {
    width: 72%;
  }
  .top-actions > span:not(.live-dot) {
    display: none;
  }
  header,
  .section-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .section-toolbar > button {
    width: 100%;
  }
  .cards,
  .infra-cards {
    grid-template-columns: 1fr 1fr;
  }
  .split,
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .stats-row {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  nav {
    grid-template-columns: 1fr;
  }
  .nav-label {
    grid-column: auto;
  }
  .cards,
  .infra-cards,
  .account-meta,
  .ports {
    grid-template-columns: 1fr;
  }
  .health {
    width: 100%;
  }
  dialog form {
    padding: 18px;
  }
  .sticky-actions {
    bottom: -18px;
    margin: 20px -18px -18px;
    padding: 14px 18px;
  }
  .actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .actions button {
    width: 100%;
  }
  .mailbox-preview {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .mailbox-preview strong {
    text-align: left;
  }
}
