:root {
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#253042;
  background:#f6f8fa;
  font-synthesis:none;
  --muted:#768192;
  --line:#e7ebf0;
  --green:#248768;
  --nav:#132a29;
  --accent:#256e5b
}

* {
  box-sizing:border-box
}
body {
  margin:0
}
button,input,select {
  font:inherit
}
button,a,input,select {
   -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
a {
  color:inherit;
  text-decoration:none
}
button:disabled {
  cursor:wait;
  opacity:.6
}
[hidden] {
  display:none!important
}
:focus-visible {
  outline:3px solid #69bda4;
  outline-offset:3px
}
button {
  color:inherit
}
h1,h2,h3,p {
  margin:0
}
.boot {
  min-height:100vh;
  display:grid;
  place-items:center;
  color:var(--muted)
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:24px;
  font-weight:650;
  letter-spacing:-.9px;
  color:#fff
}
.brand-mark {
  width:32px;
  height:32px;
  background:#3e8c75;
  display:grid;
  place-items:center;
  border-radius:8px;
  font-size:23px;
  font-weight:400
}
.brand-dot {
  color:#8fcdb4;
  margin-left:-10px
}
.eyebrow {
  font-size:10px;
  font-weight:650;
  letter-spacing:1.7px;
  color:var(--muted)
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:40px;
  padding:10px 15px;
  border-radius:7px;
  font-size:12px;
  font-weight:600;
  border:1px solid transparent
}
.primary {
  background:var(--accent);
  color:#fff
}
.primary:hover {
  background:#1c5849
}
.secondary {
  background:#fff;
  border-color:#dce2e8;
  box-shadow:0 1px 2px #1c2b3c06
}
.secondary:hover {
  background:#f0f4f3
}
.secondary>span {
  font-size:19px
}
.muted {
  color:var(--muted);
  font-size:11px
}
.online-dot {
  display:inline-block;
  width:6px;
  height:6px;
  background:#3c9e7a;
  border-radius:50%;
  flex-shrink:0
}
.icon-button {
  background:none;
  border:0;
  font-size:23px;
  padding:4px 6px;
  border-radius:4px;
  color:var(--muted)
}
.form-error {
  color:#b13c3c;
  font-size:13px;
  min-height:20px;
  margin:16px 0 8px
}
.login-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:100vh
}
.login-brand {
  background:var(--nav);
  padding:48px 10%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  color:#fff
}
.login-copy {
  padding:70px 0
}
.login-copy .eyebrow {
  color:#9fc3b6
}
.login-copy h1 {
  font-size:clamp(30px,3.4vw,52px);
  line-height:1.15;
  font-weight:550;
  letter-spacing:-1.8px;
  margin:22px 0
}
.login-copy p {
  font-size:14px;
  line-height:1.8;
  color:#aec2bb
}
.login-flow {
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:40px;
  font-size:11px;
  color:#c4d8d0
}
.login-flow span {
  padding:10px 12px;
  border:1px solid #446059;
  border-radius:6px
}
.login-flow b {
  font-weight:400;
  color:#749e8e
}
.login-foot {
  font-size:11px;
  color:#9ab7aa
}
.login-main {
  display:grid;
  place-items:center;
  padding:40px
}
.login-form {
  width:100%;
  max-width:340px
}
.login-form h2 {
  font-size:28px;
  letter-spacing:-.7px;
  margin:14px 0 10px
}
.login-form>p {
  font-size:13px;
  color:var(--muted)
}
.login-form label {
  display:block;
  font-size:12px;
  font-weight:600;
  margin:28px 0 9px
}
.login-form input {
  width:100%;
  padding:13px;
  border:1px solid #d8dfe5;
  border-radius:7px;
  background:white;
  min-height:44px
}
.login-form .button {
  width:100%;
  justify-content:space-between
}
.login-form .form-error {
  color:#b13c3c
}
.login-form .login-note {
  text-align:center;
  font-size:11px;
  margin-top:24px
}

.app-layout {
  display:flex;
  min-height:100vh
}
.sidebar {
  width:224px;
  position:fixed;
  top:0;
  bottom:0;
  background:var(--nav);
  padding:28px 18px 18px;
  color:#adc1ba;
  display:flex;
  flex-direction:column
}
.sidebar .brand {
  padding-left:9px;
  font-size:23px
}
.sidebar-section {
  font-size:9px;
  letter-spacing:1.6px;
  color:#7f9a8e;
  margin:49px 12px 16px
}
.nav-item {
  display:flex;
  gap:12px;
  align-items:center;
  padding:12px;
  border-radius:6px;
  font-size:12px
}
.nav-item.active {
  background:#28463c;
  color:#f1f7f4
}
.nav-item>span {
  font-size:19px;
  color:#a2ceb9
}
.sidebar-info {
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:auto 12px 24px;
  font-size:11px;
  padding-top:40px
}
.sidebar-info .online-dot {
  margin-top:4px
}
.sidebar-info small {
  display:block;
  color:#76968a;
  font-size:10px;
  margin-top:6px
}
.sidebar-bottom {
  display:flex;
  align-items:center;
  border-top:1px solid #304a40;
  padding-top:18px;
  gap:10px
}
.avatar {
  display:grid;
  place-items:center;
  background:#38594a;
  color:#d9e9e0;
  width:30px;
  height:30px;
  border-radius:50%;
  font-size:11px
}
.account-info {
  min-width:0;
  flex:1
}
.account-info strong {
  display:block;
  font-size:11px;
  font-weight:500;
  color:#e4eee8;
  overflow:hidden;
  text-overflow:ellipsis
}
.account-info small {
  display:block;
  font-size:9px;
  margin-top:4px
}
.sidebar .icon-button {
  color:#9db7ab
}
.workspace {
  margin-left:224px;
  flex:1;
  min-width:0
}
.topbar {
  height:65px;
  border-bottom:1px solid var(--line);
  padding:0 36px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#fff
}
.breadcrumb {
  font-size:11px;
  color:var(--muted);
  display:flex;
  gap:17px
}
.breadcrumb span {
  color:#cad1d8
}
.breadcrumb strong {
  color:#4a5665;
  font-weight:500
}
.readonly {
  font-size:10px;
  color:#63776d;
  background:#f2f6f3;
  padding:6px 9px;
  border-radius:5px;
  border:1px solid #e1e9e4
}
.content {
  padding:34px 36px 20px;
  max-width:1580px;
  margin:0 auto
}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:28px
}
.page-heading h1 {
  font-size:27px;
  font-weight:600;
  letter-spacing:-.9px;
  margin:9px 0 8px
}
.page-heading p {
  font-size:12px;
  color:var(--muted)
}
.metrics {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:26px
}
.metric {
  background:#fff;
  border:1px solid var(--line);
  border-radius:9px;
  padding:19px 19px 18px;
  box-shadow:0 2px 3px #1b2c3c02
}
.metric>div {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:11px;
  font-weight:500;
  color:#697582;
  gap:8px;
  min-height:25px
}
.metric>div>span {
  font-size:19px;
  color:#879e93;
  width:27px;
  height:27px;
  border-radius:6px;
  background:#f1f6f3;
  display:grid;
  place-items:center
}
.metric strong {
  display:block;
  font-size:31px;
  font-weight:600;
  letter-spacing:-1px;
  margin:13px 0 8px
}
.metric small {
  font-size:10px;
  color:#8a94a0;
  line-height:1.4
}
.metric.alert strong {
  color:#b05a3c
}
.metric.alert>div>span {
  background:#fdf1e9;
  color:#b05a3c
}
.inventory-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:9px;
  overflow:hidden;
  box-shadow:0 2px 3px #1b2c3c02
}
.inventory-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:23px 22px 20px
}
.inventory-heading h2 {
  font-size:14px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:8px
}
.count-pill {
  font-size:10px;
  font-weight:500;
  color:#728078;
  background:#f0f4f1;
  padding:3px 6px;
  border-radius:5px
}
.inventory-heading p {
  color:var(--muted);
  font-size:11px;
  margin-top:7px
}
.toolbar {
  padding:0 22px 15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap
}
.tabs {
  display:flex;
  gap:4px;
  background:#f3f5f7;
  border-radius:6px;
  padding:3px
}
.tab {
  font-size:10px;
  font-weight:500;
  color:#7c8793;
  padding:7px 9px;
  border:0;
  background:none;
  border-radius:4px;
  white-space:nowrap
}
.tab.selected {
  background:#fff;
  color:#345d4d;
  box-shadow:0 1px 4px #233a2715
}
.filters {
  display:flex;
  gap:7px;
  flex-wrap:wrap
}
.search {
  display:flex;
  align-items:center;
  border:1px solid #e0e5eb;
  border-radius:5px;
  padding:0 8px;
  min-height:32px;
  gap:6px
}
.search span {
  font-size:19px;
  color:#919da8
}
.search input {
  font-size:10px;
  outline:none;
  border:0;
  width:174px;
  background:transparent;
  padding:8px 0;
  min-width:0
}
.filters select {
  font-size:10px;
  color:#687482;
  border:1px solid #e0e5eb;
  border-radius:5px;
  padding:7px 6px;
  background:#fff;
  max-width:150px
}
.table-scroll {
  overflow-x:auto
}
table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  min-width:760px
}
thead {
  background:#f8f9fb
}
th {
  font-size:9px;
  color:#85909d;
  letter-spacing:.7px;
  font-weight:550;
  padding:8px 12px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  white-space:nowrap
}
td {
  padding:7px 12px;
  border-bottom:1px solid #eef1f5;
  font-size:11px;
  vertical-align:middle;
  line-height:1.3
}
tbody tr:hover {
  background:#fafcfb
}
tbody tr:last-child td {
  border-bottom:none
}
.cell-title {
  font-size:11px;
  color:#354354;
  font-weight:500;
  word-break:break-word;
  max-width:260px
}
.cell-sub {
  display:block;
  font-size:10px;
  color:#95a0ab;
  margin-top:3px;
  max-width:250px;
  overflow-wrap:anywhere
}
.mono {
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:10px
}
.endpoint-port {
  color:#467662
}
.source-badge {
  font-size:9px;
  font-weight:550;
  border-radius:4px;
  padding:3px 6px;
  display:inline-block;
  white-space:nowrap
}
.source-docker {
  color:#4b789c;
  background:#edf4fb
}
.source-pm2 {
  color:#7b68a1;
  background:#f2eef9
}
.source-process {
  color:#82724b;
  background:#f6f2e9
}
.source-unknown {
  color:#77828d;
  background:#f0f2f5
}
.status-badge {
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:10px;
  white-space:nowrap
}
.status-badge:before {
  content:'';
  width:5px;
  height:5px;
  background:currentColor;
  border-radius:50%
}
.status-accepted {
  color:#338462
}
.status-refused,.status-error,.status-timeout {
  color:#b77148
}
.status-not-checked {
  color:#89939c
}
.details-button {
  border:0;
  background:transparent;
  color:#8c9aab;
  font-size:17px;
  padding:2px 6px;
  min-height:24px;
  border-radius:4px
}
.table-footer {
  padding:10px 12px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:9px;
  color:#909ba6
}
.table-footer>span:last-child {
  display:flex;
  align-items:center;
  gap:6px
}
.table-footer .online-dot {
  width:4px;
  height:4px
}
.empty-state {
  padding:48px;
  text-align:center;
  color:var(--muted)
}
.empty-state>span {
  font-size:35px
}
.empty-state h3 {
  font-size:14px;
  margin:12px 0 8px;
  color:#556473
}
.empty-state p {
  font-size:12px
}
.sources-section {
  margin-top:28px
}
.section-label {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-bottom:13px
}
.section-label h2 {
  font-size:12px;
  font-weight:600
}
.section-label>span {
  font-size:10px;
  color:#96a0aa
}
.sources-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px
}
.source-card {
  border:1px solid var(--line);
  border-radius:7px;
  background:#fff;
  padding:14px;
  display:flex;
  align-items:center;
  gap:9px;
  font-size:11px
}
.source-card .source-icon {
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  border-radius:6px;
  background:#f4f7f5;
  color:#708e7d;
  font-size:15px
}
.source-card strong {
  font-size:10px;
  font-weight:550
}
.source-card small {
  display:block;
  font-size:9px;
  margin-top:4px;
  color:#899a90
}
.source-card.failed small {
  color:#b77549
}
.source-card .online-dot {
  margin-left:auto;
  width:5px;
  height:5px
}
.source-card.failed .online-dot {
  background:#c69c6b
}
.page-footer {
  display:flex;
  justify-content:space-between;
  gap:16px;
  font-size:10px;
  color:#98a3ac;
  padding:24px 0 6px
}
.page-footer>span {
  font-size:9px;
  text-align:right
}
.notice {
  padding:12px 15px;
  margin-bottom:20px;
  background:#fff5e8;
  border:1px solid #f0dcba;
  color:#88643a;
  border-radius:6px;
  font-size:12px;
  line-height:1.6
}
.notice.error {
  background:#fff0ef;
  border-color:#f1d5d2;
  color:#a24943
}
.diagnostics {
  margin-top:18px;
  border:1px solid #e9dfcf;
  padding:16px;
  border-radius:7px;
  background:#fffcf7
}
.diagnostics h2 {
  font-size:12px
}
.diagnostics ul {
  margin:10px 0 0;
  padding-left:18px
}
.diagnostics li {
  font-size:11px;
  color:#8a765c;
  line-height:1.8
}
dialog {
  border:1px solid var(--line);
  border-radius:12px;
  padding:25px;
  width:min(540px,90vw);
  box-shadow:0 20px 100px #112f2540;
  color:#354354
}
dialog::backdrop {
  background:#0e242d55;
  backdrop-filter:blur(3px)
}
.dialog-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px
}
.dialog-heading h2 {
  font-size:18px
}
dl {
  display:grid;
  grid-template-columns:140px 1fr;
  gap:16px 12px;
  font-size:12px;
  margin:25px 0 0
}
dt {
  color:var(--muted)
}
dd {
  margin:0;
  overflow-wrap:anywhere;
  line-height:1.5
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}

@media(min-width:1500px) {
  .content {
  padding-top:45px
}
.page-heading {
  margin-bottom:35px
}
.metrics {
  margin-bottom:30px
}
.metric {
  padding:24px
}
.inventory-heading {
  padding-top:27px;
  padding-bottom:24px
}
}

@media(max-width:1150px) {
  .sidebar {
  width:190px
}
.workspace {
  margin-left:190px
}
.content {
  padding:28px 24px
}
.topbar {
  padding:0 24px
}
.metrics {
  gap:10px
}
.metric {
  padding:15px 12px
}
.metric>div {
  font-size:10px
}
.sources-grid {
  grid-template-columns:repeat(3,minmax(0,1fr))
}

}

@media(max-width:800px) {
  .sidebar {
  width:70px;
  padding:22px 10px
}
.sidebar .brand {
  font-size:0;
  padding-left:8px
}
.sidebar .brand-mark {
  font-size:23px
}
.sidebar .brand-dot,.sidebar-section,.sidebar-info,.sidebar .nav-item,.account-info,.avatar {
  display:none
}
.sidebar-bottom {
  margin-top:auto;
  justify-content:center
}
.workspace {
  margin-left:70px
}
.content {
  padding:24px 18px
}
.page-heading h1 {
  font-size:24px
}
.metrics {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.metric {
  padding:18px
}
.topbar {
  padding:0 18px
}
.sources-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.inventory-heading {
  padding:19px 16px
}
.toolbar {
  padding:0 16px 15px
}
.filters {
  width:100%
}
.search {
  flex:1
}
.search input {
  width:100%;
  min-width:120px
}
.inventory-heading>.muted {
  font-size:9px;
  max-width:110px;
  text-align:right
}
.section-label>span {
  display:none
}
.page-footer {
  line-height:1.5
}
.page-footer>span {
  max-width:75%
}
.login-layout {
  grid-template-columns:1fr
}
.login-brand {
  min-height:130px;
  padding:28px
}
.login-copy,.login-foot {
  display:none
}
.login-main {
  padding:50px 28px
}
.login-form {
  max-width:380px
}

}

@media(max-width:480px) {
  .sidebar {
  display:none
}
.workspace {
  margin-left:0
}
.topbar {
  height:52px
}
.content {
  padding:24px 14px
}
.metrics {
  gap:9px
}
.metric {
  padding:14px
}
.metric small {
  font-size:9px
}
.metric>div>span {
  display:none
}
.page-heading p {
  max-width:210px;
  line-height:1.6
}
.page-heading .button {
  padding:8px;
  font-size:10px
}
.table-footer {
  flex-direction:column;
  line-height:1.5
}
.search {
  width:100%;
  flex-basis:100%
}
.filters select {
  flex:1;
  max-width:none
}
.tab {
  padding:7px 8px
}
.section-label {
  margin-top:24px
}
dl {
  grid-template-columns:100px 1fr
}
.page-footer {
  flex-direction:column
}
.page-footer>span {
  text-align:left;
  max-width:none
}

}


/* Page navigation stays available when the sidebar is hidden on small screens. */
.page-navigation {
  display: flex;
  gap: 6px;
  font-size: 11px;
}
.page-navigation a {
  padding: 8px 10px;
  color: var(--muted);
  border-radius: 5px;
}
.page-navigation a.active {
  background: #edf4f0;
  color: #345d4d;
  font-weight: 600;
}
.sidebar .nav-item + .nav-item {
  margin-top: 5px;
}
.simple-ports table {
  min-width: 260px;
}
.simple-ports th:first-child,
.simple-ports td:first-child {
  width: 130px;
}
.simple-ports td:last-child {
  overflow-wrap: anywhere;
}
