:root {
  --ink: #172b42;
  --muted: #617287;
  --nav: #142b44;
  --blue: #2563b8;
  --line: #dde5ed;
  --paper: #f3f6fa;
  --good: #187255;
  --warn: #965b12;
  --bad: #b43943;
  --radius: 12px;
  font-family: "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
select,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:disabled {
  cursor: default;
  opacity: 0.48;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #6d9fdc;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -0.8px;
  font-weight: 700;
  line-height: 1.4;
}
h2 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0.2px;
}
h3 {
  font-size: 15px;
  font-weight: 650;
}
.muted,
.footnote {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 30;
  padding: 10px;
  background: white;
}
.skip:focus {
  top: 12px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  background: var(--nav);
  color: #c7d5e5;
  padding: 30px 18px 22px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: white;
  padding: 0 12px 36px;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: 2px;
}
.brand:hover {
  text-decoration: none;
}
.brand-sub {
  display: block;
  color: #aec2d8;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  margin-top: 1px;
}
.nav-label {
  color: #92aac2;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 0 15px 12px;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.sidebar nav a {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 12px 14px;
  color: #c7d5e5;
  border-radius: 7px;
  min-height: 46px;
  font-weight: 500;
}
.sidebar nav a:hover {
  background: #203c59;
  text-decoration: none;
}
.sidebar nav a.active {
  background: #2d4a67;
  color: white;
  box-shadow: inset 3px 0 #83b9fa;
}
.nav-icon {
  font-size: 21px;
  line-height: 1;
}
.nav-count {
  margin-left: auto;
  font-family: Consolas, monospace;
  font-size: 11px;
  background: #15324d;
  border-radius: 5px;
  min-width: 23px;
  text-align: center;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 22px 12px 0;
  border-top: 1px solid #30465b;
}
.sidebar-bottom a {
  color: #dbe7f5;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}
.sidebar-note {
  font-size: 10px;
  margin-top: 10px;
  color: #96aec6;
}
.sidebar-logout {
  border: 0;
  color: #afc3d8;
  background: none;
  padding: 14px 0 0;
  font-size: 12px;
}
.content-shell {
  margin-left: 224px;
}
.topbar {
  height: 68px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  font-size: 12px;
  color: var(--muted);
}
.topbar > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar strong {
  color: var(--ink);
  font-weight: 600;
  font-family: Consolas, monospace;
}
.topbar-sep {
  color: #c1ccd8;
}
.host-dot {
  width: 7px;
  height: 7px;
  background: #5485b6;
  border-radius: 50%;
}
.timezone {
  font-size: 11px;
}
.preview-banner {
  background: #edf3fc;
  border-bottom: 1px solid #d4e2f5;
  color: #365a83;
  padding: 8px 34px;
  display: flex;
  gap: 14px;
  font-size: 11px;
}
.preview-banner strong {
  white-space: nowrap;
}
.connection-error {
  background: #fff0ef;
  color: #9e303a;
  padding: 14px 34px;
}
main {
  padding: 30px 34px 18px;
  max-width: 1600px;
  margin: auto;
  min-height: calc(100vh - 148px);
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.2px;
  color: #697e95;
  font-weight: 600;
  margin-bottom: 7px;
}
.subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.button {
  border: 1px solid transparent;
  border-radius: 7px;
  min-height: 42px;
  padding: 9px 16px;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
  transition: background 0.15s;
}
.primary {
  background: var(--blue);
  color: white;
}
.primary:hover:enabled {
  background: #1e5198;
}
.secondary {
  background: white;
  border-color: #cdd9e4;
  color: #304f70;
}
.secondary:hover:enabled {
  background: #eaf0f7;
}
.overview-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 28px;
  background: #fffaf2;
  border: 1px solid #e9d7bc;
  border-left: 4px solid #c99343;
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.overview-status.good {
  background: #f0f8f5;
  border-color: #cce2d7;
  border-left-color: #408e71;
}
.overview-status.unknown {
  background: #f1f4f8;
  border-color: #d5dfe9;
  border-left-color: #8a9bae;
}
.status-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--warn);
}
.overview-status h2 {
  font-size: 22px;
  letter-spacing: -0.3px;
  margin: 4px 0;
}
.overview-status p {
  font-size: 12px;
  color: #647386;
  max-width: 640px;
}
.status-side {
  min-width: 150px;
  padding-left: 25px;
  border-left: 1px solid #e2ddcf;
  display: grid;
  text-align: right;
  gap: 4px;
}
.status-side span,
.status-side small {
  font-size: 10px;
  color: var(--muted);
}
.status-side strong {
  font-family: Consolas, monospace;
  font-size: 13px;
  font-weight: 500;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(265px, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 23px 17px;
}
.panel-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.legend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
}
.legend i {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  display: inline-block;
}
.cpu-key {
  background: #2d6dc4;
}
.ram-key {
  background: #58a895;
  margin-left: 9px;
}
.resource-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 3px 23px 0;
  gap: 12px;
}
.resource-metric {
  border-right: 1px solid var(--line);
  padding-right: 7px;
}
.resource-metric:last-child {
  border: 0;
}
.resource-metric .label {
  font-size: 10px;
  color: var(--muted);
}
.resource-metric strong {
  display: block;
  font-size: 27px;
  letter-spacing: -1px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-weight: 500;
  line-height: 1.5;
}
.resource-metric strong small {
  font-size: 13px;
  letter-spacing: 0;
  margin-left: 3px;
  color: #697e95;
}
.chart {
  height: 160px;
  margin: 10px 23px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chart svg {
  height: 100%;
  width: 100%;
  overflow: visible;
}
.chart-footer {
  display: flex;
  justify-content: space-between;
  padding: 0 23px;
  font-size: 11px;
  color: #617287;
}
.resource-footer {
  margin-top: 19px;
  padding: 12px 23px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.text-button {
  color: var(--blue);
  border: 0;
  background: transparent;
  padding: 3px;
  font-size: 11px;
  white-space: nowrap;
}
.round-count {
  border-radius: 50%;
  width: 27px;
  height: 27px;
  background: #faf0de;
  color: var(--warn);
  font-family: Consolas, monospace;
  display: grid;
  place-items: center;
}
.attention {
  display: flex;
  flex-direction: column;
}
.attention-item {
  display: flex;
  gap: 12px;
  margin: 0 23px;
  padding: 16px 0;
  border-top: 1px solid #edf0f4;
}
.attention-symbol {
  height: 23px;
  width: 23px;
  flex-shrink: 0;
  background: #fff1d9;
  color: var(--warn);
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 12px;
}
.attention-item h3 {
  font-size: 12px;
}
.attention-item p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.attention-link {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 23px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
}
.text-link {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 23px 22px;
  gap: 0;
}
.service-tile {
  padding: 17px 16px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-tile:nth-child(4n + 1) {
  border-left: 0;
}
.service-tile .tile-top {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}
.service-tile h3 {
  font-size: 13px;
}
.service-tile p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.pill {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-weight: 500;
}
.pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.pill.ok {
  background: #eaf6f0;
  color: var(--good);
}
.pill.warn {
  background: #fff3df;
  color: var(--warn);
}
.pill.error {
  background: #fcecef;
  color: var(--bad);
}
.pill.unknown {
  background: #edf1f5;
  color: #697b8e;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 22px;
  margin-top: 22px;
}
.compact {
  padding: 21px 23px;
}
.compact h3 {
  font-size: 14px;
  line-height: 1.8;
}
.compact p:not(.eyebrow) {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 10px;
}
.footer {
  max-width: 1600px;
  padding: 22px 34px;
  color: #617287;
  font-size: 11px;
  letter-spacing: 0.3px;
  display: flex;
  justify-content: space-between;
  margin: auto;
}
.search input {
  height: 38px;
  max-width: 100%;
  border: 1px solid #d7e0e9;
  background: #f8fafc;
  border-radius: 6px;
  padding: 0 12px;
  width: 230px;
  color: var(--ink);
  font-size: 12px;
}
.service-row {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 2fr 0.7fr;
  gap: 20px;
  padding: 19px 23px;
  border-top: 1px solid #e8edf3;
  align-items: center;
}
.service-row p {
  font-size: 11px;
  color: var(--muted);
}
.service-row strong {
  font-size: 13px;
}
.service-row .check-time {
  font-family: Consolas, monospace;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}
.mobile-version {
  display: none;
}
.footnote {
  font-size: 11px;
  margin-top: 17px;
}
.report-summary {
  display: flex;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.summary-box {
  flex: 1;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 17px 23px;
}
.summary-box strong {
  display: block;
  font-family: Consolas, monospace;
  font-size: 27px;
  font-weight: 500;
}
.summary-box span {
  color: var(--muted);
  font-size: 11px;
}
.summary-box.warn strong {
  color: var(--warn);
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 10px;
  letter-spacing: 0.5px;
  background: #f8fafc;
  color: var(--muted);
  font-weight: 600;
  padding: 12px 23px;
  white-space: nowrap;
}
td {
  font-size: 12px;
  padding: 18px 23px;
  border-top: 1px solid #e8edf3;
  vertical-align: top;
}
td strong {
  display: block;
  font-weight: 600;
}
td small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.report-panel {
  margin-top: 22px;
}
.report-panel details {
  border-top: 1px solid var(--line);
  padding: 16px 23px;
  font-size: 12px;
}
.report-panel summary {
  cursor: pointer;
  color: #35597d;
}
.report-panel pre {
  white-space: pre-wrap;
  font:
    12px/1.9 "Microsoft JhengHei",
    sans-serif;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.versions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 15px;
}
.version-row {
  font-size: 11px;
  overflow-wrap: anywhere;
  color: var(--muted);
}
.version-row b {
  color: var(--ink);
}
.missing {
  padding: 0 23px 18px;
  color: var(--warn);
  font-size: 12px;
}
.info-box {
  border: 1px solid #bdd3ee;
  background: #edf4fc;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #305780;
}
.setting-panel {
  margin-bottom: 20px;
  padding: 25px 28px;
}
.setting-heading {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 23px;
}
.setting-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.setting-icon {
  height: 42px;
  width: 42px;
  background: #edf3fb;
  border-radius: 9px;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}
.field {
  display: grid;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  max-width: 280px;
  flex: 1;
  min-width: 145px;
}
.field select,
.field input {
  width: 100%;
  background: white;
  border: 1px solid #cbd7e3;
  border-radius: 7px;
  height: 43px;
  padding: 0 12px;
  color: var(--ink);
  font-weight: 400;
}
.fields {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.field-hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 14px;
}
.notice-panel {
  border-left: 3px solid #aebed1;
  padding: 5px 20px;
  margin: 25px 0;
}
.notice-panel h3 {
  font-size: 12px;
}
.notice-panel p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
  max-width: 880px;
}
.save-bar {
  position: sticky;
  bottom: 16px;
  background: #fff;
  box-shadow: 0 4px 20px #1e3b5710;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.save-bar strong {
  display: block;
  font-size: 12px;
}
.save-bar span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: calc(50% + 112px);
  transform: translateX(-50%);
  max-width: min(560px, 85vw);
  background: #17334f;
  color: #fff;
  border-radius: 8px;
  padding: 14px 22px;
  box-shadow: 0 6px 24px #122c4633;
  font-size: 13px;
  z-index: 30;
}
.toast.error {
  background: #862d39;
}
.empty {
  padding: 35px 23px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #edf2f8;
}
.login-panel {
  background: white;
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: 14px;
  width: min(440px, calc(100% - 40px));
  padding: 45px;
  box-shadow: 0 20px 80px #1834510b;
}
.login-panel .eyebrow {
  margin-top: 25px;
}
.login-panel > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
  margin-top: 14px;
}
.login-panel h1 {
  font-size: 27px;
}
#google-button {
  margin-top: 28px;
  min-height: 44px;
}
.login-foot {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 20px;
  color: var(--muted);
  font-size: 10px;
  line-height: 2;
}
@media (min-width: 1600px) {
  main {
    padding-top: 40px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  }
  .chart {
    height: 190px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 196px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .content-shell {
    margin-left: 196px;
  }
  main {
    padding: 25px 24px;
  }
  .topbar,
  .preview-banner {
    padding-left: 24px;
    padding-right: 24px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
    gap: 16px;
  }
  .resource-metrics {
    gap: 6px;
  }
  .resource-metric strong {
    font-size: 24px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-tile:nth-child(2n + 1) {
    border-left: 0;
  }
  .bottom-grid {
    gap: 16px;
  }
  .compact {
    padding: 18px;
  }
  .toast {
    left: calc(50% + 98px);
  }
}
@media (max-width: 900px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .attention-item {
    padding: 14px 0;
  }
  .bottom-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bottom-grid > .panel:last-child {
    grid-column: 1/-1;
  }
  .overview-status {
    padding: 20px;
  }
  .status-side {
    min-width: 130px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .service-row {
    grid-template-columns: 1.2fr 0.8fr 1.5fr;
  }
  .service-row .check-time {
    grid-column: 1 / -1;
    text-align: left;
  }
  .check-time::before {
    content: "檢查：";
  }
  .resource-footer {
    font-size: 11px;
  }
}
@media (max-width: 650px) {
  .sidebar {
    position: sticky;
    top: 0;
    inset: auto;
    width: 100%;
    padding: 0;
    z-index: 10;
  }
  .brand {
    font-size: 17px;
    padding: 12px 18px;
    gap: 10px;
    letter-spacing: 1px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .brand-sub {
    display: inline;
    margin-left: 10px;
    font-size: 11px;
    letter-spacing: 0.5px;
  }
  .nav-label,
  .sidebar-note,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 0;
    border-top: 1px solid #30465b;
    padding: 0 8px;
  }
  .sidebar nav a {
    justify-content: center;
    flex: 1;
    font-size: 11px;
    padding: 10px 5px;
    min-height: 44px;
    border-radius: 0;
    gap: 6px;
  }
  .sidebar nav a.active {
    box-shadow: inset 0 -3px #83b9fa;
  }
  .nav-icon {
    font-size: 17px;
  }
  .nav-count {
    display: none;
  }
  .content-shell {
    margin-left: 0;
  }
  .topbar {
    height: 43px;
    padding: 0 18px;
    font-size: 10px;
  }
  .topbar > div {
    gap: 7px;
  }
  .timezone {
    font-size: 9px;
  }
  .preview-banner {
    padding: 8px 18px;
    font-size: 10px;
    gap: 8px;
  }
  .connection-error {
    padding: 12px 18px;
    font-size: 12px;
  }
  main {
    padding: 23px 16px 12px;
  }
  .page-heading {
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
  }
  .page-heading .button {
    min-height: 38px;
    padding: 7px 12px;
    font-size: 11px;
  }
  h1 {
    font-size: 25px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .subtitle {
    font-size: 11px;
  }
  .overview-status {
    display: block;
    padding: 18px;
    margin-bottom: 16px;
  }
  .overview-status h2 {
    font-size: 20px;
  }
  .overview-status p {
    font-size: 11px;
  }
  .status-side {
    border-left: 0;
    border-top: 1px solid #e2ddcf;
    padding: 11px 0 0;
    margin-top: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 8px;
  }
  .status-side strong {
    font-size: 11px;
  }
  .status-side small {
    font-size: 9px;
  }
  .overview-grid {
    margin-bottom: 16px;
  }
  .panel-heading {
    padding: 18px 17px 14px;
    gap: 10px;
    flex-wrap: wrap;
  }
  h2 {
    font-size: 15px;
  }
  .panel-heading p {
    font-size: 10px;
  }
  .legend {
    font-size: 9px;
  }
  .resource-metrics {
    padding: 3px 17px 0;
    gap: 8px;
  }
  .resource-metric strong {
    font-size: 23px;
  }
  .resource-metric .label {
    font-size: 9px;
  }
  .resource-metric strong small {
    font-size: 10px;
  }
  .chart {
    margin: 12px 17px 0;
    height: 145px;
  }
  .chart-footer {
    padding: 0 17px;
  }
  .resource-footer {
    padding: 11px 17px;
    flex-wrap: wrap;
    font-size: 10px;
  }
  .attention-item {
    margin: 0 17px;
  }
  .attention-link {
    padding: 13px 17px;
  }
  .service-grid {
    padding: 0 17px 16px;
  }
  .service-tile {
    padding: 13px 10px;
  }
  .service-tile .tile-top {
    gap: 7px;
    flex-wrap: wrap;
  }
  .service-tile h3 {
    font-size: 12px;
  }
  .service-tile p {
    font-size: 9px;
  }
  .pill {
    font-size: 9px;
    padding: 2px 6px;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }
  .bottom-grid > .panel:last-child {
    grid-column: auto;
  }
  .compact {
    padding: 17px;
  }
  .footer {
    padding: 20px 17px;
    gap: 10px;
    font-size: 8px;
  }
  .search {
    width: 100%;
  }
  .search input {
    width: 100%;
  }
  .service-row {
    padding: 16px 17px;
    grid-template-columns: 1fr auto;
    gap: 9px;
  }
  .service-row .service-evidence {
    grid-column: 1/-1;
  }
  .report-summary {
    gap: 10px;
  }
  .summary-box {
    min-width: 0;
    padding: 14px;
    flex: 1;
  }
  .summary-box strong {
    font-size: 23px;
  }
  .summary-box span {
    font-size: 10px;
  }
  th,
  td {
    padding: 12px 14px;
    font-size: 11px;
  }
  th:nth-child(2),
  td:nth-child(2) {
    display: none;
  }
  td .mobile-version {
    display: block;
  }
  td small {
    font-size: 9px;
  }
  .report-panel details {
    padding: 15px 17px;
  }
  .versions {
    grid-template-columns: 1fr;
  }
  .missing {
    padding-left: 17px;
    padding-right: 17px;
  }
  .setting-panel {
    padding: 20px 17px;
  }
  .setting-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .setting-heading p {
    font-size: 11px;
  }
  .setting-icon {
    width: 35px;
    height: 35px;
    font-size: 21px;
  }
  .fields {
    gap: 15px;
  }
  .field {
    max-width: none;
  }
  .notice-panel {
    padding-left: 14px;
  }
  .notice-panel p {
    font-size: 11px;
  }
  .save-bar {
    bottom: 10px;
    padding: 14px;
    gap: 10px;
  }
  .save-bar span {
    font-size: 10px;
  }
  .save-bar .button {
    padding: 9px 12px;
  }
  .toast {
    left: 50%;
    bottom: 20px;
    font-size: 12px;
  }
  .login-panel {
    padding: 30px;
  }
}
.process-panel {
  margin-top: 22px;
}
.process-panel summary {
  padding: 16px 23px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}
.process-panel summary span {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 15px;
}
.process-item {
  padding: 12px 23px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.process-item small {
  color: var(--muted);
  margin-left: 12px;
}
.process-item b {
  font-family: Consolas, monospace;
  font-weight: 500;
}
.mobile-logout {
  display: none;
}
@media (max-width: 650px) {
  .mobile-logout {
    display: block;
    font-size: 10px;
  }
  .footer {
    flex-wrap: wrap;
  }
  .process-panel summary span {
    display: block;
    margin: 5px 0 0;
  }
  .process-panel summary,
  .process-item {
    padding-left: 17px;
    padding-right: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 650px) {
  .timezone, .eyebrow, .legend, .resource-metric .label,
  .service-tile p, .pill, td small, .footer,
  .status-side small, .chart-footer { font-size: 11px; }
  .text-button { min-height: 40px; }
}
