:root {
  font-family: "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
  color: #202d3c;
  background: #f3f6fa;
  font-size: 14px;
  line-height: 1.45;
  --text: #202d3c;
  --muted: #596b7e;
  --blue: #215c93;
  --border: #d6e0eb;
  --line: #e7edf4;
  --selected: #eaf4ff;
  --selected-border: #abc9e8;
  --green: #226d46;
  --red: #a82c37;
  --amber: #87561a;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
button, select, input, textarea { font: inherit; color: inherit; }
button, input, select, textarea { margin: 0; }
button, select { cursor: pointer; }
button:disabled { cursor: default; opacity: .6; }
a { color: var(--blue); text-underline-offset: .16em; }
button:focus-visible, a:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #367fc2;
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.aero-icon {
  --icon-size: 23px;
  flex: none;
  display: inline-block;
  inline-size: var(--icon-size);
  block-size: var(--icon-size);
  background-image: url("icons-aero.webp");
  background-repeat: no-repeat;
  background-size: 400% 300%;
}
.icon-console  { background-position: 0 0; }
.icon-home     { background-position: 33.333% 0; }
.icon-server   { background-position: 66.667% 0; }
.icon-vpn      { background-position: 100% 0; }
.icon-site     { background-position: 0 50%; }
.icon-service  { background-position: 33.333% 50%; }
.icon-bot      { background-position: 66.667% 50%; }
.icon-local    { background-position: 100% 50%; }
.icon-review   { background-position: 0 100%; }
.icon-archive  { background-position: 33.333% 100%; }
.icon-star     { background-position: 66.667% 100%; }
.icon-topology { background-position: 100% 100%; }

.frame { max-width: 1500px; margin-inline: auto; padding-inline: 26px; }
.app-header {
  background: linear-gradient(#fff, #f7fbff);
  border-bottom: 1px solid var(--border);
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 14px;
  padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-icon { --icon-size: 44px; }
h1 { font-size: 24px; font-weight: 650; line-height: 1.13; letter-spacing: -.035em; }
h2 { font-size: 17px; font-weight: 650; line-height: 1.3; }
.subtitle { color: var(--muted); font-size: 12px; margin-top: 4px; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }

.button, .plain-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 6px;
  min-height: 34px;
  padding: 5px 11px;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
}
.button {
  border-color: var(--border);
  background: linear-gradient(#fff, #f6f9fd);
  color: var(--text);
  box-shadow: inset 0 1px 0 #fff;
}
.button:hover:not(:disabled), .button[aria-pressed="true"] {
  border-color: var(--selected-border);
  background: linear-gradient(#f9fcff, #e8f3ff);
  color: #144f83;
}
.plain-button { color: var(--blue); background: transparent; }
.plain-button:hover { background: var(--selected); }
.primary {
  color: #fff;
  border-color: #1f609f;
  background: linear-gradient(#387fbd, #215e99);
  box-shadow: inset 0 1px 0 #ffffff38;
}
.primary:hover:not(:disabled) { background: #1b538b; border-color: #1b538b; color: #fff; }
.refresh-glyph { font-size: 21px; line-height: .85; color: var(--blue); }
.account { position: relative; }
.account-toggle { cursor: pointer; list-style: none; }
.account-toggle::-webkit-details-marker { display: none; }
.account-initial {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid #bfd4ea;
  border-radius: 50%;
  background: linear-gradient(#eff8ff, #cce2f6);
  font-size: 11px;
  font-weight: 700;
  color: #275982;
}
#username { overflow: hidden; text-overflow: ellipsis; max-width: 110px; }
.caret {
  flex: none;
  width: 0;
  height: 0;
  border-inline: 4px solid transparent;
  border-top: 4px solid #62758a;
  margin-inline-start: 3px;
}
.account-menu {
  display: grid;
  min-width: 172px;
  position: absolute;
  z-index: 10;
  right: 0;
  top: calc(100% + 5px);
  padding: 4px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  box-shadow: 0 8px 20px #24385319;
}
.account-menu a, .account-menu button {
  display: block;
  text-align: left;
  text-decoration: none;
  color: var(--text);
  background: none;
  border: 0;
  border-radius: 4px;
  padding: 8px 10px;
}
.account-menu a:hover, .account-menu button:hover { background: var(--selected); }

.shell { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 18px; padding-block: 19px 32px; }
.panel { border: 1px solid var(--border); border-radius: 9px; background: #fff; box-shadow: 0 1px 3px #263d5810; }
.sidebar { align-self: start; position: sticky; top: 14px; }
.category-nav { padding: 9px 7px; }
.category-nav h2 {
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
  margin: 5px 10px 8px;
}
#category-links { display: grid; gap: 2px; }
.category-link {
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  line-height: 1.25;
  padding: 6px 7px;
  min-height: 36px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
}
.category-link .aero-icon { --icon-size: 21px; }
.category-link:hover { background: #f2f7fc; }
.category-link[aria-pressed="true"] {
  background: linear-gradient(#f4faff, #e3f1ff);
  border-color: var(--selected-border);
  color: #154e83;
  font-weight: 650;
}
.nav-count, .small-count {
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.small-count { padding-inline-start: 2px; }
.workspace { min-width: 0; }
.view-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
}
.view-switch { display: flex; gap: 4px; }
.view-switch button {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  padding: 5px 9px;
  min-height: 35px;
  font-weight: 600;
}
.view-switch button:hover { background: #fff; }
.view-switch button[aria-pressed="true"] {
  color: var(--blue);
  border-color: var(--border);
  background: linear-gradient(#fff, #f4f9ff);
  box-shadow: 0 1px 2px #263d580c;
}
.view-switch .aero-icon { --icon-size: 19px; }
.refresh-state { color: var(--muted); font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }

.summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-bottom: 13px; }
.summary-tile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  min-height: 53px;
  padding: 9px 12px;
  text-align: left;
  color: var(--muted);
}
.summary-tile:hover, .summary-tile[aria-pressed="true"] { border-color: var(--selected-border); background: #f9fcff; }
.summary-tile[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--selected-border); }
.summary-count { color: var(--text); font-size: 23px; line-height: 1.2; font-weight: 650; font-variant-numeric: tabular-nums; }
.summary-up .summary-count { color: var(--green); }
.summary-issues .summary-count { color: var(--red); }
.summary-unresolved .summary-count { color: var(--amber); }
.summary-label { font-size: 12px; line-height: 1.25; }

.toolbar { padding: 13px 15px 12px; }
.toolbar-title { display: flex; align-items: baseline; justify-content: space-between; gap: 9px; margin-bottom: 11px; }
.toolbar-title:has(#item-add) { flex-wrap: wrap; justify-content: start; align-items: center; }
#item-add { margin-inline-start: auto; }
.result-count { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.filter-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.filter-button .aero-icon { --icon-size: 17px; }
.mobile-category { display: none; }
input, select, textarea {
  border: 1px solid #c8d5e4;
  border-radius: 6px;
  min-height: 34px;
  background: #fff;
  padding: 6px 9px;
}
input::placeholder { color: #677b90; opacity: 1; }
.search-control { flex: 1 1 215px; position: relative; min-width: 0; }
.search-control::before, .search-control::after { content: ""; position: absolute; pointer-events: none; }
.search-control::before { border: 1.5px solid #65829f; border-radius: 50%; width: 10px; height: 10px; left: 11px; top: 11px; }
.search-control::after { background: #65829f; width: 6px; height: 1.5px; left: 19px; top: 20px; transform: rotate(45deg); }
.search-control input { width: 100%; padding-inline-start: 31px; }
.status-filter select { max-width: 183px; }
.attention-mark {
  display: inline-grid;
  align-items: center;
  justify-items: center;
  vertical-align: middle;
  flex: none;
  width: 15px;
  height: 15px;
  color: #7a4c19;
  border: 1px solid #e5c389;
  background: #fff1d7;
  border-radius: 50%;
  font-weight: 750;
  font-size: 10px;
  line-height: 1;
}

.list-heading, .row {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(100px, 1fr) minmax(155px, 1fr) 76px 33px;
  align-items: center;
  gap: 11px;
  padding-inline: 15px;
}
.list-heading {
  font-size: 11px;
  color: var(--muted);
  font-weight: 650;
  min-height: 29px;
  border-block: 1px solid var(--border);
  background: linear-gradient(#fcfdff, #f0f5fa);
}
.item + .item { border-top: 1px solid var(--line); }
.row { min-height: 54px; padding-block: 5px; }
.row:hover { background: #f7fbff; }
.item.is-open > .row { background: #f1f7fe; }
.item.highlight > .row { box-shadow: inset 3px 0 #458ad0; }
.item-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 7px;
  align-items: center;
  gap: 8px;
  padding: 3px 3px 3px 0;
  min-height: 42px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
}
.item-toggle .aero-icon { --icon-size: 27px; }
.identity { min-width: 0; }
.item-name { display: block; font-size: 13px; font-weight: 640; line-height: 1.25; overflow-wrap: anywhere; }
.address {
  display: block;
  color: var(--muted);
  font: 11px/1.35 "Cascadia Mono", Consolas, monospace;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.chevron {
  width: 6px;
  height: 6px;
  transform: rotate(-45deg);
  border-right: 1.5px solid #6f849b;
  border-bottom: 1.5px solid #6f849b;
}
.item-toggle[aria-expanded="true"] .chevron { transform: rotate(45deg); }
.location { color: var(--muted); font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
.state { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 5px; min-width: 0; }
.state .check-time { flex-basis: 100%; padding-left: 7px; }
.check-time { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.status-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #57697d;
  background: #eff3f7;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
}
.status-label::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-label[data-status="up"] { color: var(--green); background: #e9f7ee; }
.status-label[data-status="down"] { color: var(--red); background: #fcecef; }
.status-label[data-status="degraded"], .status-label[data-status="blocked"] { color: var(--amber); background: #fff4df; }
.status-label[data-status="stale"] { color: #6f588f; background: #f2edf7; }
.status-label[data-status="unmonitored"]::before { background: none; border: 1px solid currentColor; }
.open-link { color: var(--blue); font-size: 12px; padding: 8px 0; white-space: nowrap; text-decoration: none; }
a.open-link:hover { text-decoration: underline; }
.open-link.empty-link { color: #8796a7; }
.favorite {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  cursor: pointer;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #6b8096;
  font-size: 23px;
  line-height: 1;
}
.favorite:hover { color: #986a1d; border-color: #e7d2a8; background: #fffaf1; }
.favorite .aero-icon { --icon-size: 19px; }
.favorite[aria-pressed="true"] .star-outline, .favorite[aria-pressed="false"] .aero-icon { display: none; }

.details { padding: 13px 16px 16px 50px; background: #f9fbfe; border-top: 1px solid var(--border); }
.description { font-size: 13px; margin-bottom: 12px; max-width: 940px; overflow-wrap: anywhere; }
.details dl {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 7px 13px;
  margin: 12px 0;
}
.details dt { color: var(--muted); font-size: 12px; }
.details dd { margin: 0; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-top, .inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.related, .copy-button { min-height: 28px; font-size: 12px; padding: 3px 7px; white-space: normal; text-align: left; }
.related .aero-icon { --icon-size: 15px; }
.notes-form { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--border); max-width: 940px; }
.notes-form label { display: block; font-weight: 650; margin-bottom: 6px; font-size: 13px; }
.notes-form textarea { width: 100%; min-height: 97px; resize: vertical; }
.help, .note-status { font-size: 12px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 9px; }
.conflict { margin-top: 9px; }
.conflict p { white-space: pre-wrap; margin-bottom: 7px; }
.error, .notice { margin-bottom: 11px; padding: 9px 12px; border: 1px solid; border-radius: 6px; overflow-wrap: anywhere; font-size: 13px; }
.error { color: #8a2c37; background: #fff3f4; border-color: #e9bdc2; }
.notice { color: #275476; background: #eff7ff; border-color: #cadff2; }
#load-error .button { margin-top: 8px; }
.empty { padding: 25px 15px; text-align: center; color: var(--muted); }

.topology-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 355px);
  align-items: end;
  gap: 11px 16px;
  border-bottom: 1px solid var(--line);
}
.topology-head p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.node-picker { display: grid; gap: 4px; min-width: 0; font-size: 12px; color: var(--muted); }
.node-picker select { width: 100%; }
.topology-shortcuts { display: flex; flex-wrap: wrap; gap: 6px; grid-column: 1 / -1; }
.topology-shortcuts .button { min-height: 29px; font-size: 12px; white-space: normal; text-align: left; }
.topology-shortcuts .aero-icon { --icon-size: 17px; }
.topology-graph {
  --branch-gap: 36px;
  --wire-color: #92b0d0;
  display: grid;
  grid-template-columns: minmax(0, 300px);
  gap: var(--branch-gap);
  align-items: stretch;
  padding: 17px 18px;
  background: linear-gradient(#fafdff, #f6faff);
  border-radius: 0 0 9px 9px;
}
.topology-graph.has-downstream { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); }
.topology-graph.has-upstream { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.topology-graph.has-upstream.has-downstream { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) minmax(0, 1.2fr); }
.topology-lane { display: grid; grid-template-rows: auto 1fr; min-width: 0; align-items: center; }
.topology-lane h3 { font-size: 12px; color: var(--muted); font-weight: 650; margin-bottom: 9px; }
.topology-lane .nav-count { margin-left: 6px; }
.topology-root {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid #a8c5e4;
  border-radius: 8px;
  background: linear-gradient(#fff, #edf6ff);
  box-shadow: 0 2px 5px #294d7520;
}
.topology-root .aero-icon { --icon-size: 39px; }
.topology-root .map-node-name { font-size: 15px; }
.topology-root .button { justify-self: start; }
.root-heading, .map-node-main { display: flex; align-items: center; gap: 8px; min-width: 0; }
.root-heading > div, .map-identity { min-width: 0; }
.map-node-name { display: block; line-height: 1.25; font-size: 13px; font-weight: 640; overflow-wrap: anywhere; }
.root-monitor { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.branch-list { position: relative; display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.branch-list li { position: relative; min-width: 0; }
.branch-list::after, .branch-list li::before, .branch-list li::after {
  position: absolute;
  content: "";
  pointer-events: none;
  background: var(--wire-color);
}
.branch-list li::after { width: 1px; top: -3px; bottom: -3px; }
.branch-list li:first-child::after { top: 50%; }
.branch-list li:last-child::after { bottom: 50%; }
.branch-list::after, .branch-list li::before { width: calc(var(--branch-gap) / 2); height: 1px; top: 50%; }
.lane-downstream li::after, .lane-downstream li::before { left: calc(var(--branch-gap) / -2); }
.lane-downstream .branch-list::after { left: calc(var(--branch-gap) * -1); }
.lane-upstream li::after, .lane-upstream li::before { right: calc(var(--branch-gap) / -2); }
.lane-upstream .branch-list::after { right: calc(var(--branch-gap) * -1); }
.map-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 57px;
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  text-align: left;
}
.map-node:hover { border-color: #99bde4; background: #f2f8ff; }
.map-node .aero-icon { --icon-size: 24px; }
.map-node .status-label { margin-top: 4px; }
.map-node .chevron { flex: none; margin-right: 2px; }

dialog { width: min(440px, calc(100% - 25px)); padding: 21px; border: 1px solid var(--border); border-radius: 9px; background: #fff; color: var(--text); box-shadow: 0 12px 32px #172a4640; }
dialog::backdrop { background: #2845694d; }
dialog label, .login-box label { display: block; margin: 13px 0 5px; font-size: 13px; font-weight: 600; }
dialog input, .login-box input { width: 100%; min-height: 39px; }
#item-dialog select, #item-dialog textarea { width: 100%; }
#item-dialog textarea { resize: vertical; }
dialog .help, dialog .error { margin-top: 8px; }
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background: radial-gradient(ellipse at top, #fff, #f2f6fc);
}
.login-box { width: min(380px, 100%); padding: 24px; }
.login-box .brand { margin-bottom: 19px; }
.login-box p:not(.subtitle) { margin-top: 10px; }
.login-box .primary { min-height: 39px; margin-top: 17px; width: 100%; }

@media (max-width: 1190px) {
  .shell { grid-template-columns: 184px minmax(0, 1fr); gap: 14px; }
  .frame { padding-inline: 19px; }
  .list-heading, .row { grid-template-columns: minmax(0, 1.7fr) minmax(82px, .8fr) minmax(141px, 1fr) 66px 33px; gap: 8px; }
  .summary-tile { padding-inline: 10px; }
}

@media (max-width: 1020px) {
  .list-heading, .row { grid-template-columns: minmax(0, 1.55fr) minmax(135px, 1fr) 66px 33px; }
  .row .location, .list-heading .location { display: none; }
  .summary-tile { grid-template-columns: 1fr; align-content: start; gap: 2px; }
  .topology-graph { --branch-gap: 27px; padding-inline: 14px; }
}

@media (max-width: 840px) {
  .shell { grid-template-columns: minmax(0, 1fr); padding-top: 13px; }
  .sidebar { display: none; }
  .mobile-category { display: block; }
  .mobile-category select { max-width: 100%; }
  .summary-tile { grid-template-columns: auto minmax(0, 1fr); align-content: center; gap: 7px; }
}

@media (max-width: 670px) {
  .frame { padding-inline: 11px; }
  .masthead { min-height: 65px; padding-block: 8px; gap: 7px; }
  .brand { gap: 8px; }
  .brand-icon { --icon-size: 34px; }
  h1 { font-size: 21px; }
  .subtitle { font-size: 11px; }
  .header-actions { gap: 5px; }
  .refresh-text { display: none; }
  .refresh-button { width: 35px; padding: 4px; }
  .account-toggle { padding-inline: 6px; }
  #username { max-width: 65px; }
  .view-bar { flex-wrap: wrap; gap: 4px; }
  .refresh-state { margin-left: auto; font-size: 11px; }
  .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 9px; }
  .summary-tile { min-height: 42px; padding: 5px 9px; }
  .summary-count { font-size: 20px; }
  .toolbar { padding: 11px; }
  .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .search-control, .filter-buttons { grid-column: 1 / -1; }
  .mobile-category select, .status-filter select { width: 100%; max-width: none; }
  input, select, textarea { font-size: 16px; }
  .details input, .details textarea { font-size: 16px; }
  .list-heading { display: none; }
  .item:first-child { border-top: 1px solid var(--line); }
  .row { grid-template-columns: minmax(0, 1fr) 33px; gap: 0 6px; padding: 4px 9px 6px; }
  .item-toggle { grid-column: 1; }
  .item-toggle .aero-icon { --icon-size: 24px; }
  .item-name { font-size: 13px; }
  .row .favorite { grid-column: 2; grid-row: 1; min-height: 37px; }
  .row .state { grid-column: 1; grid-row: 2; padding-left: 32px; }
  .row .open-link { grid-column: 2; grid-row: 2; justify-self: end; padding-block: 6px; }
  .state .check-time { flex-basis: auto; padding-left: 0; }
  .row .state { padding-right: 21px; }
  .details { padding: 11px; }
  .details dl { grid-template-columns: 1fr; gap: 2px; }
  .details dt { margin-top: 6px; }
  .topology-toolbar { grid-template-columns: minmax(0, 1fr); }
  .topology-graph, .topology-graph.has-upstream, .topology-graph.has-downstream,
  .topology-graph.has-upstream.has-downstream { display: flex; flex-direction: column; gap: 14px; padding: 12px; }
  .lane-core { order: -1; }
  .branch-list { margin-left: 13px; }
  .branch-list::after { display: none; }
  .lane-upstream li::after, .lane-downstream li::after,
  .lane-upstream li::before, .lane-downstream li::before { left: -13px; right: auto; }
  .branch-list li::before { width: 13px; }
}

@media (max-width: 370px) {
  h1 { font-size: 19px; }
  .brand-icon { --icon-size: 30px; }
  #username { max-width: 47px; }
  .account-toggle .caret { display: none; }
  .account-initial { width: 16px; height: 16px; }
}
