@font-face {
  font-family: Estedad;
  src: url("/static/fonts/Estedad.a30f0be474a2.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("/static/Vazirmatn.f6d31671339d.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #f5f7fb;
  --surface: #fff;
  --surface-alt: #f8fafc;
  --text: #233149;
  --muted: #5b6980;
  --line: #dfe5ee;
  --accent: #245cdb;
  --accent-soft: #ecf2ff;
  --green: #117761;
  --green-soft: #e6f7f0;
  --amber: #8c600d;
  --amber-soft: #fff7e6;
  --red: #b63d4b;
  --red-soft: #fff0f1;
  --shadow: 0 12px 40px #1728430c;
  --radius: 12px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #101722;
  --surface: #172130;
  --surface-alt: #1c2839;
  --text: #e3eaf5;
  --muted: #a2afc3;
  --line: #2c3b50;
  --accent: #78adff;
  --accent-soft: #213854;
  --green: #79d7bd;
  --green-soft: #193c36;
  --amber: #e6c079;
  --amber-soft: #3c3221;
  --red: #ffa0ab;
  --red-soft: #412932;
  --shadow: none;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Estedad, Vazirmatn, Tahoma, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
:focus-visible {
  outline: 3px solid #75aaff;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 27px;
  line-height: 1.65;
  font-weight: 650;
  letter-spacing: -0.7px;
}
h2 {
  font-size: 18px;
  font-weight: 600;
}
h3 {
  font-size: 15px;
  font-weight: 550;
}
small,
.small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.mono,
[dir="ltr"],
bdi {
  font-variant-numeric: tabular-nums;
}
.mono {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 500;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.button:hover {
  background: var(--surface-alt);
  text-decoration: none;
}
.button.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
:root[data-theme="dark"] .button.primary {
  color: #0e1d33;
}
.button.primary:hover {
  filter: brightness(0.96);
}
.button.secondary {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: transparent;
}
.button.ghost {
  background: none;
  border-color: transparent;
  color: var(--muted);
}
.button.danger {
  color: var(--red);
  border-color: var(--red-soft);
  background: var(--red-soft);
}
.button.compact {
  min-height: 33px;
  padding: 4px 10px;
  font-size: 12px;
}
.button.icon-only {
  padding: 8px;
  min-width: 40px;
}
.full {
  width: 100%;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.stack {
  display: grid;
  gap: 18px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
  background: var(--surface-alt);
  color: var(--muted);
  border: 1px solid var(--line);
}
.pill.green {
  background: var(--green-soft);
  color: var(--green);
  border-color: transparent;
}
.pill.amber {
  background: var(--amber-soft);
  color: var(--amber);
  border-color: transparent;
}
.pill.blue {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: transparent;
}
.pill.red {
  background: var(--red-soft);
  color: var(--red);
  border-color: transparent;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
}
.brand > span {
  font-size: 20px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.5px;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
}
.topbar {
  height: 82px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  gap: 24px;
}
.topnav {
  display: flex;
  gap: 5px;
}
.topnav button {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 8px 14px;
  font-weight: 500;
  border-radius: 7px;
}
.topnav button.active {
  color: var(--accent);
  background: var(--accent-soft);
}
.demo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 7px 18px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 11px;
  border-bottom: 1px solid #d7b97233;
}
.page-width {
  max-width: 1370px;
  margin: auto;
  padding: 0 36px;
}
.public-hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 46px 0 34px;
}
.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 12px;
}
.public-hero h1 {
  font-size: 35px;
  letter-spacing: -1.3px;
  max-width: 650px;
}
.public-hero .lead {
  color: var(--muted);
  max-width: 600px;
  margin-top: 15px;
  line-height: 2;
}
.hero-tags {
  display: flex;
  gap: 9px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.network-panel {
  position: relative;
  min-height: 226px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, var(--accent-soft), transparent 67%),
    var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.network-grid {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image: radial-gradient(var(--muted) 0.7px, transparent 0.7px);
  background-size: 19px 19px;
}
.network-flow {
  display: flex;
  gap: 34px;
  align-items: center;
  direction: ltr;
  z-index: 1;
}
.network-node {
  display: grid;
  place-items: center;
  width: 63px;
  height: 63px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  position: relative;
  box-shadow: var(--shadow);
  color: var(--muted);
}
.network-node.center {
  width: 82px;
  height: 82px;
  background: var(--accent);
  color: white;
  border: 0;
}
.network-node .icon {
  width: 29px;
  height: 29px;
}
.network-node.center .icon {
  width: 36px;
  height: 36px;
}
.network-node:not(:last-child):after {
  content: "";
  position: absolute;
  width: 35px;
  height: 1px;
  background: var(--line);
  left: 100%;
  top: 50%;
}
.flow-pulse {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #78d6b9;
  top: 50%;
  left: 24%;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #78d6b91a;
}
.network-caption {
  position: absolute;
  bottom: 15px;
  text-align: center;
  right: 0;
  left: 0;
  color: var(--muted);
  font-size: 10px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 17px 19px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.metric-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}
.metric-icon {
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}
.metric-value {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.metric-value span {
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
  margin-inline-start: 7px;
}
.metric-foot {
  font-size: 10px;
  color: var(--muted);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 16px;
  gap: 16px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.panel-body {
  padding: 20px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  min-width: 220px;
  flex: 1;
  color: var(--muted);
}
.search-field input {
  border: 0;
  background: none;
  min-width: 0;
  outline: 0;
  box-shadow: none;
  padding: 9px 0;
  width: 100%;
  color: var(--text);
}
.filter-select {
  width: auto;
  min-width: 125px;
  padding: 8px 11px;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}
th {
  background: var(--surface-alt);
  color: var(--muted);
  font-weight: 500;
  font-size: 11px;
  text-align: right;
  padding: 10px 17px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 14px 17px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: var(--surface-alt);
}
td .name {
  font-size: 13px;
  font-weight: 550;
}
.subtext {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  max-width: 290px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.repo-name {
  display: flex;
  align-items: center;
  gap: 11px;
}
.repo-symbol {
  width: 35px;
  height: 35px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 650;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  color: var(--muted);
  direction: ltr;
  flex-shrink: 0;
}
.family-ubuntu {
  color: #bd4b21;
  background: #fff0e8;
  border-color: #ffddc7;
}
.family-alma {
  color: #2768a7;
  background: #eaf3ff;
  border-color: #d0e4ff;
}
.family-debian {
  color: #a92c58;
  background: #fff0f5;
  border-color: #ffdae8;
}
.family-docker {
  color: #126ac0;
  background: #eaf4ff;
  border-color: #d1e6ff;
}
.family-python {
  color: #8e7321;
  background: #fff9e4;
  border-color: #eee0aa;
}
.family-go {
  color: #087d91;
  background: #e9faff;
  border-color: #c9edf5;
}
.family-rust {
  color: #7c5645;
  background: #f9eee8;
  border-color: #edddd2;
}
.family-rocky-linux {
  color: #168164;
  background: #eaf9f2;
  border-color: #c9ecdc;
}
.family-mikrotik {
  color: #6556a4;
  background: #f1eefc;
  border-color: #e0d9fa;
}
.table-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}
.link-subtle {
  color: var(--muted);
}
.public-bottom {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
  margin: 22px 0 35px;
}
.info-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.info-line:last-child {
  border: 0;
}
.info-line .icon {
  color: var(--accent);
  margin-top: 3px;
}
.info-line p {
  font-size: 12px;
  color: var(--muted);
}
.site-footer {
  padding: 20px 0 25px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.admin-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: var(--surface);
  border-left: 1px solid var(--line);
  padding: 25px 17px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.sidebar .brand {
  padding: 0 8px 27px;
}
.sidebar .brand > span {
  font-size: 18px;
}
.nav-label {
  font-size: 10px;
  color: var(--muted);
  padding: 10px 12px;
  letter-spacing: 0.3px;
}
.side-nav {
  display: grid;
  gap: 5px;
}
.side-nav button {
  background: none;
  border: 0;
  text-align: right;
  color: var(--muted);
  padding: 10px 12px;
  display: flex;
  gap: 11px;
  align-items: center;
  border-radius: 8px;
  font-size: 12px;
  min-height: 42px;
}
.side-nav button:hover {
  background: var(--surface-alt);
}
.side-nav button.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 550;
}
.side-nav .badge-count {
  margin-right: auto;
  background: var(--surface);
  border-radius: 4px;
  font-size: 10px;
  padding: 0 5px;
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-box {
  margin: 18px 4px;
  padding: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 10px;
  color: var(--muted);
}
.sidebar-box strong {
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
}
.admin-main {
  min-width: 0;
}
.admin-topbar {
  height: 72px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  gap: 12px;
}
.breadcrumbs {
  color: var(--muted);
  font-size: 11px;
}
.breadcrumbs span {
  margin: 0 10px;
  color: var(--line);
}
.avatar {
  width: 33px;
  height: 33px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 550;
}
.admin-content {
  max-width: 1510px;
  padding: 27px 30px 40px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.page-heading h1 {
  font-size: 24px;
}
.two-columns {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 18px;
  margin-top: 20px;
}
.empty-state {
  padding: 40px 25px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.empty-state .icon {
  width: 35px;
  height: 35px;
  color: var(--muted);
  margin-bottom: 10px;
}
.empty-state h3 {
  color: var(--text);
  margin-bottom: 5px;
}
.empty-state .button {
  margin-top: 14px;
}
.notice {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 13px 16px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.95;
  border: 1px solid transparent;
}
.notice.amber,
.demo-notice {
  background: var(--amber-soft);
  color: var(--amber);
}
.notice p {
  font-size: 11px;
  margin-top: 3px;
}
.progress-track {
  height: 5px;
  min-width: 100px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
  margin-top: 7px;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transform-origin: right;
}
.progress-success .progress-fill {
  background: var(--green);
}
.job-card {
  border-bottom: 1px solid var(--line);
  padding: 17px 20px;
}
.job-card:last-child {
  border: 0;
}
.job-card .job-message {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.event-list {
  max-height: 220px;
  overflow: auto;
  margin-top: 12px;
  border-right: 1px solid var(--line);
  padding-right: 15px;
}
.event {
  position: relative;
  padding: 5px 0;
  font-size: 10px;
  color: var(--muted);
}
.event:before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--muted);
  border: 3px solid var(--surface);
  box-sizing: content-box;
  border-radius: 50%;
  position: absolute;
  right: -21px;
  top: 13px;
}
.schedule-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.schedule-options label {
  display: block;
  cursor: pointer;
}
.schedule-options input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.schedule-options span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 7px;
  min-width: 66px;
  text-align: center;
  padding: 7px;
  font-size: 11px;
}
.schedule-options input:checked + span {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.schedule-options input:focus-visible + span {
  outline: 3px solid var(--accent);
}
.settings-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
}
.settings-grid .panel {
  height: fit-content;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-grid .wide {
  grid-column: 1/-1;
}
label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
}
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 11px;
  min-width: 0;
  width: 100%;
  font-size: 12px;
  line-height: 1.8;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
}
input[readonly] {
  background: var(--surface-alt);
  color: var(--muted);
}
textarea {
  resize: vertical;
  min-height: 85px;
}
input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  vertical-align: middle;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  min-height: 36px;
}
.field-hint {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}
.form-error {
  font-size: 11px;
  color: var(--red);
  margin: 8px 0;
  white-space: pre-line;
}
.form-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.form-section h3 {
  margin-bottom: 10px;
}
.artifact-row {
  background: var(--surface-alt);
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 10px;
}
.artifact-row .form-grid {
  gap: 9px;
}
dialog {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  width: min(760px, calc(100% - 24px));
  max-height: 90vh;
  box-shadow: 0 30px 90px #00132c30;
}
dialog::backdrop {
  background: #101c31a8;
  backdrop-filter: blur(3px);
}
.dialog-head {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface);
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-body {
  padding: 20px 22px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  padding-top: 19px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 18px 0;
}
.detail-item {
  padding: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.detail-item span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.detail-item strong {
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.code-box {
  direction: ltr;
  text-align: left;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  position: relative;
  background: var(--surface-alt);
  color: var(--text);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font:
    12px/1.9 ui-monospace,
    Consolas,
    monospace;
}
.capacity-total {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--accent-soft);
  padding: 14px 18px;
  color: var(--accent);
  border-radius: 9px;
  margin-bottom: 16px;
}
.capacity-total strong {
  font-size: 24px;
  font-weight: 600;
}
.capacity-table td:nth-child(3) {
  font-size: 11px;
  font-family: ui-monospace, Consolas, monospace;
}
.capacity-table td:nth-child(2) {
  white-space: normal;
  min-width: 250px;
}
.capacity-table .subtext {
  white-space: normal;
  max-width: 570px;
}
.report-source {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}
.blank-chart {
  height: 144px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 35px,
    var(--line) 36px
  );
  margin: 15px 0;
  color: var(--muted);
  font-size: 11px;
}
.help-item {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.help-item:last-child {
  border: 0;
}
.help-item p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.initial-loading {
  min-height: 80vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  color: var(--muted);
}
#toasts {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 100;
  display: grid;
  gap: 10px;
  max-width: min(420px, calc(100vw - 36px));
}
.toast {
  padding: 13px 18px;
  background: var(--text);
  color: var(--surface);
  border-radius: 9px;
  font-size: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.toast.error {
  background: var(--red);
  color: #fff;
}
.login-body {
  background: var(--surface);
}
.back-link {
  position: absolute;
  left: 35px;
  top: 24px;
  font-size: 12px;
  color: var(--muted);
}
.login-layout {
  max-width: 1120px;
  margin: auto;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
  padding: 70px 35px;
}
.login-intro h1 {
  font-size: 30px;
  margin-bottom: 12px;
}
.login-intro > .muted {
  max-width: 390px;
  font-size: 12px;
}
.login-tags {
  display: flex;
  gap: 15px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 20px;
}
.login-tags span:before {
  content: "✓";
  color: var(--green);
  margin-left: 5px;
}
.login-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: var(--surface);
}
.login-card h2 {
  font-size: 23px;
  margin: 9px 0 5px;
}
.login-card > .muted {
  font-size: 12px;
  margin-bottom: 22px;
}
.login-card .notice {
  margin: 18px 0;
}
.login-card form label {
  margin-bottom: 13px;
}
.login-card > .small {
  margin-top: 22px;
}
.section-kicker {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 2px;
  font-family: Arial, sans-serif;
}
.divider {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  margin: 22px 0;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.shield-art {
  position: relative;
  height: 210px;
  max-width: 340px;
  display: grid;
  place-items: center;
  margin: 15px 0;
}
.shield-core {
  width: 100px;
  height: 115px;
  transform: rotate(-12deg) skewY(7deg);
  filter: drop-shadow(12px 18px 12px #1464ed1f);
}
.shield-core svg {
  width: 100%;
  height: 100%;
  fill: var(--accent-soft);
  stroke: var(--accent);
  stroke-width: 2;
}
.shield-core svg path + path {
  fill: none;
  stroke-width: 4;
}
.shield-orbit {
  position: absolute;
  width: 210px;
  height: 105px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: rotate(-20deg);
}
.orbit-two {
  width: 290px;
  height: 150px;
  transform: rotate(-20deg);
}
.shield-label {
  position: absolute;
  direction: ltr;
  font:
    8px/1.5 ui-monospace,
    Consolas,
    monospace;
  letter-spacing: 1px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 5px 8px;
  border-radius: 5px;
}
.label-a {
  left: 0;
  top: 38px;
}
.label-b {
  right: 0;
  bottom: 40px;
}
.qr-image {
  display: block;
  width: 200px;
  height: 200px;
  background: #fff;
  padding: 10px;
  margin: 15px auto;
}
.mobile-menu {
  display: none;
}
.hidden,
[hidden] {
  display: none !important;
}
.native-progress {
  display: block;
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--line);
  margin-top: 12px;
  accent-color: var(--accent);
}
.native-progress::-webkit-progress-bar {
  background: var(--line);
}
.native-progress::-webkit-progress-value {
  background: var(--accent);
  border-radius: 4px;
}
.native-progress::-moz-progress-bar {
  background: var(--accent);
  border-radius: 4px;
}
@media (min-width: 1500px) {
  .admin-content {
    padding: 32px 42px;
  }
  .sidebar {
    padding: 28px 20px;
  }
  .admin-layout {
    grid-template-columns: 244px minmax(0, 1fr);
  }
}
@media (max-width: 1150px) {
  .admin-layout {
    grid-template-columns: 195px minmax(0, 1fr);
  }
  .sidebar {
    padding: 22px 12px;
  }
  .admin-content {
    padding: 23px 20px;
  }
  .admin-topbar {
    padding: 0 20px;
  }
  .metric {
    padding: 14px;
  }
  .metric-value {
    font-size: 23px;
  }
  .two-columns {
    grid-template-columns: 1fr;
  }
  .public-hero {
    gap: 25px;
  }
  .public-hero h1 {
    font-size: 29px;
  }
  .topnav button {
    padding: 8px 9px;
  }
  .login-layout {
    gap: 45px;
  }
}
@media (max-width: 800px) {
  .topbar {
    padding: 0 20px;
    height: 70px;
  }
  .topnav {
    display: none;
  }
  .page-width {
    padding: 0 20px;
  }
  .public-hero {
    grid-template-columns: 1fr;
    padding: 30px 0 23px;
    gap: 22px;
  }
  .public-hero h1 {
    font-size: 29px;
  }
  .network-panel {
    min-height: 185px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .public-bottom {
    grid-template-columns: 1fr;
  }
  .admin-layout {
    display: block;
  }
  .sidebar {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 230px;
    height: 100dvh;
    z-index: 30;
    box-shadow: -30px 0 90px #00132c22;
    transform: translateX(110%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .mobile-menu {
    display: inline-flex;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading .row {
    gap: 7px;
  }
  .page-heading h1 {
    font-size: 22px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .login-layout {
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 530px;
    padding: 70px 24px 35px;
  }
  .login-intro {
    display: none;
  }
  .login-card {
    padding: 25px;
  }
  .admin-content {
    padding: 20px 16px;
  }
  .admin-topbar {
    padding: 0 16px;
    height: 64px;
  }
  .breadcrumbs {
    display: none;
  }
  .demo-strip {
    font-size: 10px;
    line-height: 1.9;
  }
  .capacity-total {
    gap: 10px;
  }
  .capacity-total strong {
    font-size: 20px;
  }
  .capacity-total .small {
    font-size: 10px;
  }
}
@media (max-width: 480px) {
  .page-width {
    padding: 0 14px;
  }
  .topbar {
    padding: 0 14px;
    gap: 10px;
  }
  .topbar .brand > span {
    font-size: 17px;
  }
  .topbar .brand img {
    width: 35px;
    height: 35px;
  }
  .topbar .row {
    gap: 5px;
  }
  .button {
    padding: 7px 11px;
    font-size: 12px;
  }
  .public-hero h1 {
    font-size: 26px;
  }
  .hero-tags .pill {
    font-size: 10px;
  }
  .metric {
    min-height: 104px;
    padding: 12px;
  }
  .metric-head {
    font-size: 10px;
  }
  .metric-value {
    font-size: 22px;
  }
  .metric-icon {
    padding: 4px;
  }
  .metric-icon .icon {
    width: 17px;
    height: 17px;
  }
  .page-heading {
    flex-direction: column;
    gap: 14px;
  }
  .page-heading > .row {
    width: 100%;
  }
  .page-heading .button.primary {
    flex: 1;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .wide {
    grid-column: auto;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .panel-head {
    padding: 14px;
  }
  .panel-body {
    padding: 15px;
  }
  .toolbar {
    padding: 12px;
    gap: 8px;
  }
  .search-field {
    min-width: 180px;
  }
  .filter-select {
    min-width: 110px;
  }
  .section-heading h2 {
    font-size: 16px;
  }
  .site-footer {
    flex-direction: column;
    gap: 8px;
  }
  .schedule-options {
    gap: 6px;
  }
  .schedule-options span {
    min-width: 58px;
  }
  .dialog-body {
    padding: 16px;
  }
  .dialog-head {
    padding: 13px 16px;
  }
  .job-card {
    padding: 14px;
  }
  .capacity-total {
    flex-wrap: wrap;
  }
  .topbar .button.icon-only {
    min-width: 33px;
    min-height: 33px;
    padding: 6px;
  }
  .login-card {
    padding: 20px;
  }
  .back-link {
    left: 24px;
  }
}

.flow-pulse {
  animation: flow 6s linear infinite;
}
.shield-core {
  animation: float 6s ease-in-out infinite;
}
.button {
  transition:
    background 0.15s,
    border-color 0.15s,
    filter 0.15s;
}
.sidebar {
  transition: transform 0.2s;
}
.progress-fill {
  transition: width 0.6s ease;
}
dialog[open] {
  animation: appear 0.16s ease-out;
}
.toast {
  animation: appear 0.2s ease-out;
}
@keyframes flow {
  0% {
    left: 24%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    left: 76%;
    opacity: 0;
  }
}
@keyframes float {
  50% {
    transform: translateY(-6px) rotate(-12deg) skewY(7deg);
  }
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

:root {
  --muted: #5b6980;
}
.family-python {
  color: #7c6317;
}
.family-go {
  color: #086e82;
}
.brand-logo {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}
.brand-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.logo-dark {
  display: none;
}
:root[data-theme="dark"] .logo-light {
  display: none;
}
:root[data-theme="dark"] .logo-dark {
  display: block;
}
.public-hero h1,
.login-intro h1 {
  letter-spacing: normal;
  font-weight: 620;
  line-height: 1.7;
}
.public-hero h1 {
  font-size: clamp(26px, 2.7vw, 35px);
}
.lead {
  font-weight: 380;
}
.eyebrow {
  font-size: 12px;
  font-weight: 500;
}
.section-heading h2,
.panel-head h3,
.page-heading h1 {
  letter-spacing: normal;
}
.panel,
.metric {
  box-shadow: 0 2px 3px #1c365003;
}
.button {
  position: relative;
  isolation: isolate;
  cursor: pointer;
}
.button:focus-visible,
.side-nav button:focus-visible,
.topnav button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.button.primary:hover:not(:disabled) {
  background: #194fc8;
  border-color: #194fc8;
  filter: none;
}
:root[data-theme="dark"] .button.primary:hover:not(:disabled) {
  background: #9bc2ff;
  border-color: #9bc2ff;
}
.button.secondary:hover:not(:disabled) {
  border-color: var(--accent);
}
.side-nav button:hover:not(.active),
.topnav button:hover:not(.active) {
  background: var(--surface-alt);
  color: var(--text);
}
.button[aria-busy="true"]::after {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
}
.login-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 11px;
}
.demo-strip {
  background: var(--accent-soft);
  color: #345ca3;
  border-bottom-color: var(--line);
  font-weight: 450;
}
:root[data-theme="dark"] .demo-strip {
  color: #a9c9ff;
}
.metric-value {
  letter-spacing: normal;
}
.network-node.center {
  box-shadow: 0 8px 24px #245cdb1a;
}
@media (hover: hover) and (pointer: fine) {
  .button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px #2331490d;
  }
  .button:hover:not(:disabled) > .icon {
    transform: translateY(-1px);
  }
  .side-nav button:hover > .icon {
    transform: translateX(-2px);
  }
}

.button,
.side-nav button,
.topnav button {
  transition:
    border-color 160ms,
    transform 160ms,
    box-shadow 160ms;
}
.button > .icon,
.side-nav .icon {
  transition: transform 160ms;
}
.button:active:not(:disabled) {
  transform: scale(0.975);
}
.button[aria-busy="true"]::after,
.pill.is-running .icon {
  animation: ui-spin 1s linear infinite;
}
@keyframes ui-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 800px) {
  body {
    font-size: 12px;
  }
  .button,
  .button.compact,
  .side-nav button,
  .topnav button,
  .topbar .button.icon-only {
    min-height: 44px;
  }
  .button.icon-only {
    min-width: 44px;
  }
  .topbar {
    gap: 12px;
  }
  .topbar .row {
    gap: 6px;
  }
  .brand > span {
    font-size: 18px;
  }
  .brand-logo {
    min-width: 38px;
    width: 38px;
    height: 38px;
    padding: 7px;
  }
  .brand-logo img {
    width: 24px;
    height: 24px;
  }
  .demo-strip {
    padding: 8px 12px;
    font-size: 10px;
  }
}
@media (max-width: 800px) {
  .sidebar {
    visibility: hidden;
  }
  .sidebar.open {
    visibility: visible;
  }
}
.operation-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr)); gap:18px; }
.plan-counts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:18px 0; }
.plan-counts div { border:1px solid var(--line); border-radius:12px; padding:12px 6px; text-align:center; }
.plan-counts strong { display:block; font-size:20px; font-variant-numeric:tabular-nums; }
.plan-counts span { display:block; color:var(--muted); font-size:11px; margin-top:6px; }
.adapter-json { min-height:180px; font-family:ui-monospace,monospace; font-size:12px; text-align:left; }
.file-path { max-width:320px; overflow-wrap:anywhere; }
.operation-cards .code-box { max-height:300px; overflow:auto; white-space:pre-wrap; word-break:break-all; }
@media(max-width:480px) { .plan-counts { grid-template-columns:repeat(2,minmax(0,1fr)); } }
