:root {
  color-scheme: dark;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  background: #0c1317;
  color: #edf4f2;
  --bg: #0c1317;
  --sidebar: #10191e;
  --panel: #142025;
  --panel-hi: #19282e;
  --line: #283a3f;
  --muted: #8ca0a3;
  --soft: #b5c3c2;
  --accent: #a9ed76;
  --accent-ink: #172313;
  --cyan: #7cd5d7;
  --amber: #f7bf73;
  --red: #f39386;
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html,
body,
#app {
  min-height: 100%;
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
::selection {
  background: #a9ed7655;
}
body {
  overflow-x: hidden;
}
.brand-name,
.brand-sub {
  display: block;
}
@media (max-width: 1250px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .rack-layout {
    grid-template-columns: 230px minmax(340px, 1fr);
  }
  .rack-layout > .rack-side {
    grid-column: 1/-1;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: fixed;
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: 20px 0 60px #0008;
    overflow-y: auto;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .mobile-overlay.show {
    display: block;
    position: fixed;
    inset: 0;
    background: #0009;
    z-index: 19;
  }
  .mobile-header {
    display: flex;
  }
  .topbar {
    padding: 0 22px;
  }
  .content {
    padding: 27px 22px 50px;
  }
  .rack-layout {
    grid-template-columns: 1fr 1.5fr;
  }
  .network-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 650px) {
  .topbar {
    height: 62px;
    padding: 0 17px;
  }
  .breadcrumb > span,
  .breadcrumb > svg { display: none; }
  .breadcrumb { gap: 8px; white-space: nowrap; }
  .top-actions { gap: 8px; min-width: 0; }
  .account-control--header { max-width: 160px; }
  .account-control--header .account-control-copy small { display: none; }
  .top-actions .live,
  .top-divider,
  .top-actions .icon-button {
    display: none;
  }
  .content {
    padding: 23px 16px 45px;
  }
  .page-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-title {
    font-size: 29px;
  }
  .stat-grid {
    gap: 10px;
  }
  .stat-card {
    padding: 15px;
    min-height: 116px;
  }
  .stat-number {
    font-size: 28px;
  }
  .dashboard-grid,
  .split,
  .network-grid,
  .rack-layout,
  .steps {
    grid-template-columns: 1fr;
  }
  .rack-layout > .rack-side {
    grid-column: auto;
  }
  .hero-illustration {
    opacity: 0.35;
    right: -25px;
  }
  .hero-content {
    max-width: 290px;
  }
  .hero-card {
    padding: 24px;
  }
  .search,
  .search input {
    width: 100%;
  }
  .toolbar-left,
  .toolbar-right {
    width: 100%;
  }
  .toolbar-left .search {
    flex: 1;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .modal-body {
    padding: 18px;
  }
  .modal-head {
    padding: 20px 18px 16px;
  }
}
@media (max-width: 480px) {
  .topbar .site-filter { display: none; }
  .mobile-site-select { display: block; margin: 0 4px 20px; }
  .mobile-site-select .site-filter { width: 100%; max-width: none; }
  .mobile-site-select .site-filter select { max-width: none; flex: 1; }
  .account-control--header { max-width: 170px; }
  .account-control--header .account-control-copy strong,
  .account-control--header .account-control-copy small { display: none; }
  .account-control--header .account-control-mobile-id {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #eaf5e8;
    font-size: 11px;
    font-weight: 750;
  }
}
@media (max-width: 360px) {
  .account-control--header { max-width: 136px; }
  .account-control--header .account-control-arrow { display: none; }
}
.service-log {
  padding: 11px 0;
  border-top: 1px solid #2d3e40;
}
.service-log strong {
  display: inline-block;
  color: #e2eee8;
  font-size: 12px;
}
.service-log span {
  float: right;
  color: #829b98;
  font-size: 11px;
}
.service-log p {
  clear: both;
  margin: 6px 0 0;
  color: #95aaa5;
  font-size: 11px;
  line-height: 1.45;
}
.install-guide > p {
  font-size: 13px;
  color: #a6b9b2;
  line-height: 1.6;
  margin: 0 0 17px;
}
.install-guide h3 {
  font-size: 14px;
  margin: 22px 0 10px;
}
.install-guide a {
  color: var(--accent);
}
.install-tabs {
  display: grid;
  gap: 8px;
}
.install-tabs strong {
  font-size: 12px;
  color: #e0eee4;
  margin-top: 6px;
}
.install-modal { width: min(100%, 850px); max-height: 94vh; }
.install-modal .modal-head { padding: 25px 28px 20px; }
.install-modal .modal-head .eyebrow { margin: 0 0 8px; }
.install-modal .modal-head h2 { font-size: 25px; letter-spacing: -.035em; }
.install-modal .modal-head p:not(.eyebrow) { font-size: 14px; }
.install-modal .modal-body { padding: 24px 28px 25px; }
.install-modal-intro { display: flex; gap: 14px; align-items: center; border: 1px solid #4b7150; background: linear-gradient(115deg, #2b4737, #1c3131); border-radius: 13px; padding: 16px 18px; }
.install-modal-intro > span { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 11px; color: #c3f2a9; background: #3a5d45; }
.install-modal-intro strong { font-size: 16px; }
.install-modal-intro p { margin: 5px 0 0; color: #adc9b1; font-size: 14px; line-height: 1.5; }
.install-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 15px; }
.install-choice { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 21px; border: 1px solid #3a5050; border-radius: 13px; background: #142329; }
.install-choice-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #2c403a; color: #b9eaa0; }
.install-choice .eyebrow { margin: 18px 0 6px; font-size: 12px; }
.install-choice h3 { margin: 0; font-size: 20px; }
.install-choice p:not(.eyebrow) { min-height: 72px; color: #a1b6af; font-size: 15px; line-height: 1.5; margin: 9px 0 16px; }
.install-choice-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.install-choice-actions .btn { min-height: 41px; font-size: 14px; padding: 9px 12px; }
.install-choice > small { display: block; color: #98ada7; line-height: 1.45; margin-top: 11px; font-size: 13px; }
.install-choice .code-block { width: 100%; margin: 13px 0 0; padding: 11px 12px; font-size: 13px; white-space: pre-wrap; }
.install-choice code { color: #c4ebaa; }
.install-wget { margin-top: 14px; padding: 16px 18px; border: 1px solid #36584d; border-radius: 13px; background: #172b2b; }
.install-wget > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.install-wget .eyebrow { margin: 0 0 5px; }
.install-wget h3 { margin: 0; font-size: 15px; }
.install-wget .code-block { overflow-x: auto; margin: 13px 0 9px; padding: 12px 14px; color: #c8edba; font-size: 12px; line-height: 1.65; white-space: pre; }
.install-wget small { color: #9fb8ae; font-size: 12px; line-height: 1.5; }
.install-modal-footer { display: flex; gap: 9px; align-items: center; margin-top: 18px; color: #a2b8ad; }
.install-modal-footer svg { color: var(--accent); flex: none; }
.install-modal-footer p { margin: 0; font-size: 13px; line-height: 1.45; }
.install-modal .form-actions { margin-top: 20px; }
.login-screen {
  min-height: 100vh;
  background: #0c1519;
  display: grid;
  place-items: center;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.login-ambient {
  position: absolute;
  width: 850px;
  height: 850px;
  border-radius: 50%;
  background: radial-gradient(circle, #315a39 0, transparent 65%);
  opacity: 0.42;
  top: -440px;
  right: -220px;
  pointer-events: none;
}
.login-card {
  position: relative;
  width: min(100%, 430px);
  background: linear-gradient(150deg, #1b2b2e, #142125);
  border: 1px solid #3b5150;
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 32px 110px #0008;
}
.login-card .brand {
  padding: 0;
  margin-bottom: 45px;
}

/* Account access */
.auth-screen { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(440px, .94fr); background: #0d1519; }
.auth-story { position: relative; display: flex; flex-direction: column; overflow: hidden; min-height: 100vh; padding: 39px clamp(35px, 5.4vw, 90px) 36px; background: radial-gradient(circle at 66% 49%, #315d47 0, transparent 35%), radial-gradient(circle at -8% 110%, #284249 0, transparent 48%), linear-gradient(140deg, #1e3a32, #102622 62%, #102528); border-right: 1px solid #34534a; }
.auth-story::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(#c2f2c9 1px, transparent 1px), linear-gradient(90deg, #c2f2c9 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(150deg, transparent 5%, #000 70%); pointer-events: none; }
.auth-story::after { content: ""; position: absolute; width: 600px; height: 600px; border: 1px solid #8ec7a52b; border-radius: 50%; bottom: -240px; left: -140px; box-shadow: 0 0 0 100px #a9ed7606, 0 0 0 200px #a9ed7604; pointer-events: none; }
.auth-story-head { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; }
.auth-story-head .brand-mark { width: 43px; height: 43px; border-radius: 12px; }
.auth-story-head strong { display: block; font-size: 18px; letter-spacing: .09em; }
.auth-story-head small { display: block; margin-top: 2px; color: #a8c9bb; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.auth-story-body { position: relative; z-index: 2; width: min(100%, 650px); margin: auto 0; padding: 75px 0 95px; }
.auth-overline { display: inline-flex; align-items: center; gap: 8px; color: #c7edbe; font-size: 11px; font-weight: 750; letter-spacing: .2em; }
.auth-overline i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px #a9ed7620; }
.auth-story-body h1 { margin: 25px 0 21px; color: #f1f9ee; font-size: clamp(50px, 6vw, 92px); font-weight: 760; letter-spacing: -.067em; line-height: .99; }
.auth-story-body h1 em { color: #b6ee90; font-style: normal; }
.auth-story-body > p { max-width: 490px; color: #b4d0c2; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.65; }
.auth-story-foot { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; color: #a9c7b8; font-size: 12px; }
.auth-story-pulse { width: 7px; height: 7px; border-radius: 50%; background: #b8ee95; box-shadow: 0 0 0 5px #a9ed7620; }
.auth-network { position: relative; width: min(100%, 520px); height: 240px; margin-top: 34px; }
.auth-network::before { content: ""; position: absolute; width: 220px; height: 220px; top: 18px; left: 170px; border: 1px dashed #b7e7bd57; border-radius: 50%; }
.auth-network::after { content: ""; position: absolute; width: 345px; height: 155px; top: 48px; left: 105px; border: 1px solid #b7e7bd22; border-radius: 50%; transform: rotate(-17deg); }
.auth-node { position: absolute; z-index: 2; display: grid; place-items: center; width: 54px; height: 54px; color: #bdf0bd; background: #2b5747; border: 1px solid #87bb8e8a; border-radius: 16px; box-shadow: 0 13px 30px #071b1780, inset 0 1px #dcffc82b; }
.auth-node.main { top: 96px; left: 255px; width: 73px; height: 73px; background: #9fe57f; color: #173323; border-color: #d9ffc9; border-radius: 21px; box-shadow: 0 0 48px #a9ed7650, 0 19px 35px #061d1980; }
.auth-node.node-one { top: 17px; left: 103px; }
.auth-node.node-two { top: 5px; left: 407px; }
.auth-node.node-three { top: 168px; left: 65px; }
.auth-node.node-four { top: 177px; left: 414px; }
.auth-wire { position: absolute; z-index: 1; left: 290px; top: 130px; height: 1px; background: linear-gradient(90deg, #a9ed76, #79bbba88); transform-origin: left; box-shadow: 0 0 9px #a9ed7660; }
.auth-wire.wire-one { width: 178px; transform: rotate(209deg); }
.auth-wire.wire-two { width: 170px; transform: rotate(320deg); }
.auth-wire.wire-three { width: 205px; transform: rotate(163deg); }
.auth-wire.wire-four { width: 175px; transform: rotate(29deg); }
.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; min-width: 0; min-height: 100vh; padding: 45px clamp(25px, 5vw, 75px); background: radial-gradient(circle at 100% 0, #19302c 0, transparent 32%), #0d1519; }
.auth-mobile-brand { display: none; }
.auth-card { width: min(100%, 485px); padding: clamp(29px, 4vw, 48px); border: 1px solid #35504a; border-radius: 24px; background: linear-gradient(155deg, #19292d, #122024 70%); box-shadow: 0 34px 100px #0008, inset 0 1px #ffffff0b; }
.auth-card-top { display: flex; align-items: center; justify-content: space-between; }
.auth-eyebrow { color: #afe58c; font-size: 11px; font-weight: 800; letter-spacing: .19em; }
.auth-lock { display: grid; place-items: center; width: 34px; height: 34px; color: #b4e89d; border: 1px solid #49664e; background: #2a4439; border-radius: 10px; }
.auth-card h2 { margin: 18px 0 7px; font-size: clamp(32px, 3vw, 40px); line-height: 1.12; letter-spacing: -.05em; }
.auth-subtitle { margin: 0 0 28px; color: #a5bab6; font-size: 14px; line-height: 1.6; }
.auth-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin-bottom: 22px; padding: 4px; background: #0f1b1e; border: 1px solid #2c4140; border-radius: 11px; }
.auth-tabs button { border: 0; border-radius: 8px; padding: 10px 12px; color: #9db3ae; background: transparent; font-size: 13px; font-weight: 700; }
.auth-tabs button.active { color: #e4f1e8; background: #2b473a; box-shadow: inset 0 1px #ffffff13; }
.auth-form, .auth-modal form { display: grid; gap: 18px; }
.auth-field { display: grid; gap: 8px; min-width: 0; color: #dbe9e2; font-size: 13px; font-weight: 650; }
.auth-field input { width: 100%; min-height: 48px; padding: 12px 14px; color: #f4faf6; background: #101d20; border: 1px solid #3a5250; border-radius: 10px; outline: none; font-size: 14px; font-weight: 450; transition: border-color .15s, box-shadow .15s; }
.auth-field input::placeholder { color: #6d8581; }
.auth-field input:focus { border-color: #a9ed76; box-shadow: 0 0 0 3px #a9ed761c; }
.auth-submit { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 49px; margin-top: 5px; color: #193021; background: #b6ed88; border: 0; border-radius: 10px; font-size: 14px; font-weight: 800; box-shadow: 0 8px 25px #a9ed761d; transition: transform .15s, background .15s; }
.auth-submit:hover { background: #c9f4a5; transform: translateY(-1px); }
.auth-submit:disabled, .auth-provider:disabled, .auth-passkey:disabled { opacity: .6; cursor: wait; transform: none; }
.auth-passkey, .auth-provider { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; margin-top: 10px; border: 1px solid #4c6861; border-radius: 10px; color: #e4f0e9; background: #213730; text-decoration: none; font-size: 13px; font-weight: 750; }
.auth-passkey:hover, .auth-provider:hover { border-color: #94ca9a; background: #284638; }
.auth-provider { justify-content: flex-start; padding: 0 15px; background: #142328; }
.auth-provider svg:last-child { margin-left: auto; }
.microsoft-mark { display: grid; grid-template-columns: repeat(2, 8px); gap: 2px; }
.microsoft-mark i { width: 8px; height: 8px; background: #f35325; }
.microsoft-mark i:nth-child(2) { background: #81bc06; }
.microsoft-mark i:nth-child(3) { background: #05a6f0; }
.microsoft-mark i:nth-child(4) { background: #ffba08; }
.auth-separator { display: flex; align-items: center; gap: 12px; margin: 19px 0 11px; color: #809792; font-size: 12px; text-align: center; }
.auth-separator::before, .auth-separator::after { content: ""; height: 1px; flex: 1; background: #354946; }
.auth-help { color: #849e97; font-size: 12px; line-height: 1.55; margin: 18px 0 0; }
.auth-text-action { display: block; margin: 20px auto 0; color: #aee187; background: none; border: 0; font-size: 13px; font-weight: 700; }
.auth-main-foot { margin: 0; color: #637d77; font-size: 11px; letter-spacing: .02em; text-align: center; }
.auth-error { margin: 0 0 16px; padding: 11px 13px; color: #ffb9ae; background: #5d302d5c; border: 1px solid #8e4842; border-radius: 9px; font-size: 13px; line-height: 1.45; }
.auth-error[hidden] { display: none; }

/* Account security settings */
.account-panel { margin-bottom: 18px; background: radial-gradient(circle at 96% 0%, #7cd5d70c, transparent 37%), #17262a; }
.account-panel-head { display: flex; align-items: center; gap: 15px; padding: 24px 28px 20px; }
.account-panel-icon { display: grid; place-items: center; width: 45px; height: 45px; flex: none; color: #9ee4db; background: #254344; border: 1px solid #416664; border-radius: 14px; }
.account-panel-head > div { flex: 1; min-width: 0; }
.account-panel-head .eyebrow { margin: 0 0 5px; color: #92d8d2; }
.account-panel-head h2 { margin: 0; font-size: 22px; letter-spacing: -.035em; }
.account-panel-head p:last-child { margin: 5px 0 0; color: #9ab4ad; font-size: 13px; }
.account-provider { flex: none; padding: 7px 10px; border: 1px solid #416159; border-radius: 999px; color: #c0ded4; background: #223a38; font-size: 11px; font-weight: 750; }
.account-profile-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 28px; overflow: hidden; border: 1px solid #35504b; border-radius: 11px; background: #35504b; }
.account-profile-meta > div { display: grid; gap: 5px; min-width: 0; padding: 13px 16px; background: #192c2d; }
.account-profile-meta small { color: #8da9a2; font-size: 10px; font-weight: 800; letter-spacing: .11em; }
.account-profile-meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.account-profile-form { padding: 21px 28px 24px; }
.account-profile-form .auth-error, .account-password .auth-error { margin: 16px 0 0; }
.account-profile-form .form-actions { margin-top: 18px; }
.account-password { border-top: 1px solid #35504b; }
.account-password summary { display: flex; align-items: center; gap: 12px; padding: 17px 28px; cursor: pointer; list-style: none; }
.account-password summary::-webkit-details-marker { display: none; }
.account-password summary:hover { background: #203a35; }
.account-password-lock { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; color: #b9eaa0; background: #2b4438; }
.account-password summary > span:nth-child(2) { display: grid; flex: 1; gap: 3px; }
.account-password summary strong { font-size: 13px; }
.account-password summary small { color: #8eaaa0; font-size: 11px; }
.account-password summary > svg { color: #90aa9d; transition: transform .18s; }
.account-password[open] summary > svg { transform: rotate(180deg); }
.account-password form { padding: 3px 28px 24px; }
.account-managed-note { display: flex; align-items: flex-start; gap: 10px; margin: 21px 28px 26px; padding: 14px; border: 1px solid #3c5b59; border-radius: 11px; color: #b8d4cb; background: #1f3435; font-size: 13px; line-height: 1.5; }
.account-managed-note svg { flex: none; color: #92d8d2; }
.security-panel { margin-bottom: 20px; padding: 27px 30px 30px; background: radial-gradient(circle at 93% 0, #a9ed7611, transparent 32%), #17262a; }
.security-heading { display: flex; justify-content: space-between; gap: 18px; }
.security-heading .eyebrow { margin: 0 0 8px; color: #a9ed76; }
.security-heading h2 { margin: 0; font-size: 23px; letter-spacing: -.035em; }
.security-heading p:not(.eyebrow) { margin: 7px 0 0; color: #9fb6b0; font-size: 13px; }
.security-shield { display: grid; place-items: center; width: 44px; height: 44px; flex: none; color: #b5eba0; background: #2b4638; border-radius: 13px; }
.security-identity { display: flex; align-items: center; gap: 12px; margin: 24px 0 0; padding: 16px; border: 1px solid #40584f; border-radius: 13px; background: #213a32; }
.security-avatar { display: grid; place-items: center; width: 42px; height: 42px; flex: none; color: #193323; background: #afe988; border-radius: 12px; font-weight: 800; }
.security-identity > div { display: grid; min-width: 0; gap: 3px; }
.security-identity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.security-identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #a4bdb0; font-size: 12px; }
.security-identity .btn { margin-left: auto; flex: none; }
.security-methods { display: grid; gap: 0; margin-top: 16px; }
.security-method { display: flex; align-items: center; gap: 13px; padding: 18px 0; border-bottom: 1px solid #314540; }
.security-method-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; color: #aee69a; background: #2b4238; border-radius: 11px; }
.security-method > div { flex: 1; min-width: 0; }
.security-method strong { display: block; font-size: 14px; }
.security-method p { margin: 4px 0 0; color: #91a9a1; font-size: 12px; line-height: 1.45; }
.security-badge { flex: none; padding: 5px 8px; color: #a7bbb1; background: #263a37; border: 1px solid #3d514b; border-radius: 7px; font-size: 11px; font-weight: 750; }
.security-badge.enabled { color: #c4f1ac; background: #284532; border-color: #507b55; }
.security-passkeys { padding-top: 17px; }
.security-passkeys h3 { margin: 0 0 10px; font-size: 13px; }
.security-passkey { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #344b44; border-radius: 10px; background: #142326; margin-top: 6px; }
.security-passkey > span { color: #afdf9c; }
.security-passkey > div { display: grid; gap: 3px; flex: 1; min-width: 0; }
.security-passkey strong { font-size: 12px; }
.security-passkey small { color: #879f97; font-size: 11px; }
.security-provider-note { margin-top: 17px; color: #a8beb4; font-size: 13px; line-height: 1.55; }
.security-modal { width: min(100%, 560px); }
.security-modal .modal-head .eyebrow { margin: 0 0 8px; color: #a9ed76; }
.security-modal .modal-body { padding: 25px 28px 27px; }
.security-steps { display: grid; gap: 8px; margin: 0 0 22px; padding-left: 22px; color: #afc5ba; font-size: 13px; line-height: 1.5; }
.security-steps li::marker { color: #b9e995; font-weight: 800; }
.security-secret { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 13px; border: 1px solid #506d55; border-radius: 10px; background: #1e3830; }
.security-secret span { width: 100%; color: #9bc88e; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.security-secret code { flex: 1; overflow-wrap: anywhere; color: #e5f5d8; font-size: 15px; letter-spacing: .075em; }
.security-setup-link { display: inline-flex; align-items: center; gap: 2px; margin: 12px 0 24px; color: #afe786; font-size: 12px; font-weight: 700; }
.security-modal .auth-field { margin-bottom: 12px; }
.security-modal .form-actions { margin-top: 20px; }
.recovery-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.recovery-codes code { padding: 11px 12px; color: #d9eecb; background: #0f1e1f; border: 1px solid #425947; border-radius: 8px; font-size: 13px; text-align: center; }
.security-warning { margin: 18px 0 0; color: #f3c691; font-size: 12px; }

/* Server HTTPS configuration */
.tls-panel { margin-bottom: 20px; border-color: #3d6154; background: #142326; }
.tls-hero { position: relative; display: flex; align-items: center; gap: 18px; overflow: hidden; min-height: 145px; padding: 26px 29px; background: radial-gradient(circle at 89% 5%, #a9ed7624, transparent 33%), linear-gradient(115deg, #1f4938, #18342f 55%, #162a2b); }
.tls-hero::after { content: ""; position: absolute; right: -30px; top: -82px; width: 260px; height: 260px; border: 1px solid #aadba322; border-radius: 50%; box-shadow: 0 0 0 31px #aadba309, 0 0 0 68px #aadba306; pointer-events: none; }
.tls-hero > * { position: relative; z-index: 1; }
.tls-hero-icon { display: grid; place-items: center; width: 56px; height: 56px; flex: none; color: #d7f9bd; background: #345a42; border: 1px solid #64956b; border-radius: 17px; box-shadow: 0 12px 30px #102b2780, inset 0 1px #ffffff36; }
.tls-hero > div { flex: 1; min-width: 0; }
.tls-hero .eyebrow { margin: 0 0 8px; color: #bceca6; }
.tls-hero h2 { margin: 0; font-size: clamp(25px, 3vw, 31px); letter-spacing: -.045em; }
.tls-hero p:last-child { max-width: 580px; margin: 7px 0 0; color: #b4d3c0; font-size: 13px; line-height: 1.5; }
.tls-status { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 8px 11px; border: 1px solid #638069; border-radius: 999px; color: #dcf7d1; background: #315b3d; font-size: 11px; font-weight: 800; white-space: nowrap; }
.tls-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 9px currentColor; }
.tls-status.pending { color: #ffe0a6; border-color: #967955; background: #605039; }
.tls-status.bad { color: #ffc5bc; border-color: #a66b60; background: #673c38; }
.tls-current { display: flex; align-items: center; gap: 20px; padding: 20px 28px; border-bottom: 1px solid #36504b; background: #1a302c; }
.tls-origin { flex: 1; min-width: 0; }
.tls-origin > small { display: block; margin-bottom: 6px; color: #9dbba6; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.tls-origin > div { display: flex; align-items: center; gap: 8px; }
.tls-origin code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e6f9d7; font-size: 14px; font-weight: 750; }
.tls-origin .icon-button { min-width: 30px; min-height: 30px; color: #afddae; }
.tls-origin > span { display: block; margin-top: 5px; color: #9ab3a4; font-size: 11px; }
.tls-current .btn { flex: none; }
.tls-cert-details { display: grid; grid-template-columns: 1.4fr 1.4fr .8fr 1.4fr; gap: 1px; border-bottom: 1px solid #36504b; background: #36504b; }
.tls-cert-details > div { display: grid; align-content: start; gap: 5px; min-width: 0; padding: 14px 21px; background: #182a2b; }
.tls-cert-details small { color: #839e96; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.tls-cert-details strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 650; }
.tls-cert-empty { display: flex; align-items: center; gap: 10px; padding: 16px 29px; border-bottom: 1px solid #36504b; color: #99b0a8; font-size: 12px; }
.tls-cert-empty svg { color: #b4d7a7; }
.tls-notice { display: flex; align-items: flex-start; gap: 10px; margin: 17px 28px 0; padding: 12px 14px; border: 1px solid #5f7654; border-radius: 10px; color: #d3e8c2; background: #2a4031; font-size: 12px; line-height: 1.5; }
.tls-notice svg { flex: none; color: #bce696; }
.tls-alert { display: grid; gap: 4px; margin: 17px 28px 0; padding: 13px 15px; border: 1px solid #9c6556; border-radius: 10px; color: #f6c6ba; background: #653d3652; font-size: 12px; line-height: 1.5; }
.tls-alert strong { color: #ffdfd5; }
.tls-config { padding: 26px 28px 29px; }
.tls-config-head { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.tls-config-head .eyebrow { margin: 0 0 5px; }
.tls-config-head h3 { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.tls-mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.tls-mode { position: relative; display: grid; justify-items: start; align-content: start; gap: 6px; min-height: 150px; padding: 18px 19px; border: 1px solid #38544c; border-radius: 13px; color: #dcebe2; background: #182b2b; text-align: left; transition: border-color .18s, transform .18s, background .18s; }
.tls-mode:hover { border-color: #8abc8a; transform: translateY(-2px); }
.tls-mode.selected { border-color: #abe483; background: linear-gradient(130deg, #284539, #1d3834); box-shadow: inset 0 0 0 1px #abe48329; }
.tls-mode-icon { display: grid; place-items: center; width: 35px; height: 35px; margin-bottom: 5px; border-radius: 10px; color: #bdeba5; background: #2d4938; }
.tls-mode strong { font-size: 14px; }
.tls-mode small { max-width: 330px; color: #a1b7ad; font-size: 11px; line-height: 1.45; }
.tls-mode-pill { position: absolute; top: 18px; right: 17px; padding: 4px 7px; border: 1px solid #53815c; border-radius: 999px; color: #c3f3aa; background: #33553d; font-size: 10px; font-weight: 750; }
.tls-mode-pill.neutral { color: #b4d3cc; border-color: #486766; background: #294444; }
.tls-config-form { margin-top: 14px; padding: 22px; border: 1px solid #3b574e; border-radius: 13px; background: #102024; }
.tls-form-heading { display: flex; gap: 11px; align-items: center; margin-bottom: 19px; }
.tls-form-icon { display: grid; place-items: center; width: 37px; height: 37px; flex: none; color: #bceba7; background: #2c4838; border-radius: 10px; }
.tls-form-heading strong { font-size: 14px; }
.tls-form-heading p { margin: 3px 0 0; color: #8fa9a0; font-size: 12px; }
.tls-config-form .field input { min-height: 43px; }
.tls-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.tls-steps span { padding: 8px 10px; border: 1px solid #385a4a; border-radius: 8px; color: #add1b6; background: #20372e; font-size: 11px; }
.tls-steps strong { color: #e3f2df; }
.tls-explain { margin: 13px 0 0; color: #9cb5ab; font-size: 12px; line-height: 1.55; }
.tls-terms { display: flex; align-items: flex-start; gap: 10px; margin-top: 21px; padding: 13px 14px; border: 1px solid #406650; border-radius: 9px; background: #1e362d; color: #c4dbca; font-size: 12px; line-height: 1.45; }
.tls-terms input { width: 16px; height: 16px; flex: none; margin: 1px 0 0; accent-color: #a9ed76; }
.tls-terms a { color: #d9f9ac; font-weight: 700; }
.tls-config-form .auth-error { margin: 16px 0 0; }
.tls-config-form .form-actions { margin-top: 18px; }
.tls-upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.tls-upload { display: grid; justify-items: start; gap: 5px; min-width: 0; padding: 18px; border: 1px dashed #557460; border-radius: 12px; background: #1b302e; cursor: pointer; }
.tls-upload:hover { border-color: #b0e28d; background: #223c33; }
.tls-upload > span { color: #b8eaa1; }
.tls-upload strong { font-size: 13px; }
.tls-upload small { color: #95b0a5; font-size: 11px; }
.tls-upload input { width: 100%; margin-top: 10px; color: #bad1c3; font-size: 11px; }
.tls-upload input::file-selector-button { margin-right: 9px; padding: 7px 9px; border: 1px solid #658364; border-radius: 7px; color: #e4f5d8; background: #2f4b39; cursor: pointer; }
.tls-paste { margin-top: 15px; border: 1px solid #304a44; border-radius: 10px; }
.tls-paste summary { display: flex; justify-content: space-between; padding: 12px 14px; color: #c3d9cc; cursor: pointer; list-style: none; font-size: 12px; font-weight: 700; }
.tls-paste summary::-webkit-details-marker { display: none; }
.tls-paste summary svg { transition: transform .18s; }
.tls-paste[open] summary svg { transform: rotate(180deg); }
.tls-paste .form-grid { padding: 0 14px 15px; }
.tls-paste textarea { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
@media (max-width: 900px) { .tls-cert-details { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .account-panel-head, .tls-hero { flex-wrap: wrap; padding: 21px; }
  .account-provider, .tls-status { margin-left: 0; }
  .account-profile-meta { margin: 0 21px; }
  .account-profile-form, .account-password form { padding-left: 21px; padding-right: 21px; }
  .account-password summary { padding-left: 21px; padding-right: 21px; }
  .tls-current { flex-wrap: wrap; padding: 18px 21px; }
  .tls-cert-details { grid-template-columns: 1fr 1fr; }
  .tls-cert-details > div { padding: 12px 14px; }
  .tls-config { padding: 21px; }
  .tls-mode-grid, .tls-upload-grid { grid-template-columns: 1fr; }
  .tls-mode { min-height: 126px; }
  .tls-config-form { padding: 17px; }
  .tls-config-form .form-grid, .account-profile-form .form-grid, .account-password .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1050px) { .auth-screen { grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); } .auth-network { transform: scale(.82); transform-origin: left top; margin-bottom: -34px; } .auth-story-body h1 { font-size: clamp(48px, 6vw, 70px); } }
@media (max-width: 760px) { .auth-screen { display: block; } .auth-story { display: none; } .auth-main { min-height: 100vh; padding: 26px 18px 35px; justify-content: center; } .auth-mobile-brand { display: flex; align-items: center; gap: 10px; align-self: flex-start; width: min(100%, 485px); margin: 0 auto auto; font-size: 16px; letter-spacing: .09em; } .auth-mobile-brand .brand-mark { width: 37px; height: 37px; } .auth-card { margin: 20px 0; } .auth-main-foot { margin-top: auto; } }
@media (max-width: 520px) { .auth-card { padding: 26px 21px; border-radius: 18px; } .auth-card h2 { font-size: 32px; } .security-panel { padding: 22px 18px; } .security-identity { flex-wrap: wrap; } .security-identity .btn { margin-left: 54px; } .security-method { flex-wrap: wrap; } .security-method > div { flex-basis: calc(100% - 60px); } .security-method .btn { margin-left: 52px; } .security-modal .modal-body { padding: 20px; } }

/* Discovery workspace */
.discovery-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  min-height: 220px;
  padding: 30px 34px;
  border: 1px solid #36534a;
  border-radius: 20px;
  background: radial-gradient(circle at 86% 20%, #315a42 0, transparent 42%), linear-gradient(120deg, #1b332e, #142326 65%);
  box-shadow: inset 0 1px #ffffff10;
}
.discovery-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(#bddfbd 1px, transparent 1px), linear-gradient(90deg, #bddfbd 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(90deg, transparent 44%, #000);
  pointer-events: none;
}
.discovery-hero > div { position: relative; z-index: 1; }
.discovery-hero h2 { margin: 8px 0 12px; font-size: clamp(26px, 3vw, 38px); line-height: 1.05; letter-spacing: -.04em; }
.discovery-hero p:not(.eyebrow) { max-width: 540px; margin: 0; color: #b0c7bb; font-size: 13px; line-height: 1.65; }
.discovery-hero-art { display: flex; align-items: center; justify-content: center; gap: 4px; }
.discovery-hero-art span { width: 66px; height: 66px; display: grid; place-items: center; border: 1px solid #608469; border-radius: 19px; background: #294b3a; color: #c1f4ad; box-shadow: 0 16px 30px #0b1c1a80, inset 0 1px #e0ffbd2b; }
.discovery-hero-art span:last-child { width: 54px; height: 54px; border-radius: 16px; background: #1d3b3f; color: #8fd6d6; }
.discovery-hero-art i { width: 32px; height: 1px; background: #8bc597; box-shadow: 0 0 10px #a9ed76; }
.discovery-capabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0 29px; }
.discovery-capabilities > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 11px; align-items: center; padding: 14px 17px; border: 1px solid #2b4140; border-radius: 13px; background: #16262a; }
.cap-icon { grid-row: span 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #29413a; color: var(--accent); }
.cap-icon svg { width: 18px; }
.discovery-capabilities strong { font-size: 12px; color: #e4f3e9; }
.discovery-capabilities small { font-size: 11px; color: #91a9a3; margin-top: 2px; }
.agent-downloads { overflow: hidden; margin-bottom: 27px; background: radial-gradient(circle at 100% 0%, #a9ed7614, transparent 38%), #17282a; }
.agent-trust-note { display: flex; align-items: flex-start; gap: 13px; margin: 0 0 20px; padding: 17px 18px; border: 1px solid #80784e; border-radius: 13px; color: #e7e0bd; background: radial-gradient(circle at 100% 0%, #f7bf7312, transparent 48%), #302e26; }
.agent-trust-note.manual { color: #c5ded2; border-color: #4b665a; background: #1c322f; }
.agent-trust-icon { display: grid; place-items: center; width: 37px; height: 37px; flex: none; color: #ffe0a0; background: #584d2d; border-radius: 10px; }
.agent-trust-note.manual .agent-trust-icon { color: #b6dfc7; background: #2b4a3f; }
.agent-trust-copy { flex: 1; min-width: 0; }
.agent-trust-copy .eyebrow { margin: 0 0 5px; color: #f4ca82; font-size: 10px; }
.agent-trust-note.manual .eyebrow { color: #a7d8bc; }
.agent-trust-copy > strong { display: block; font-size: 14px; letter-spacing: -.01em; }
.agent-trust-copy p:not(.eyebrow) { margin: 5px 0 0; color: #c8c4ac; font-size: 12px; line-height: 1.5; }
.agent-trust-note.manual p:not(.eyebrow) { color: #a4bfb1; }
.agent-trust-copy small { display: block; margin-top: 10px; color: #a9a68f; font-size: 10px; line-height: 1.4; }
.agent-trust-copy code { display: block; margin-top: 3px; overflow-wrap: anywhere; color: #f4dfb3; font-size: 10px; }
.agent-trust-note > .btn { flex: none; align-self: center; border-color: #a68c57; color: #fff0c8; background: #57482e; font-size: 11px; }
.agent-trust-note > .btn:hover { border-color: #e3c781; background: #665536; }
.agent-downloads > .agent-trust-note { margin: 0 25px 22px; }
.install-modal .agent-trust-note { margin: 0 0 20px; }
@media (max-width: 760px) { .agent-trust-note { flex-wrap: wrap; } .agent-trust-note > .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; } }
@media (max-width: 520px) { .agent-downloads > .agent-trust-note { margin: 0 18px 18px; } }
.agent-downloads-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding: 23px 25px; }
.agent-downloads-head .eyebrow { margin: 0 0 7px; }
.agent-downloads-head h2 { margin: 0; font-size: 22px; letter-spacing: -.035em; }
.agent-downloads-head p:not(.eyebrow) { max-width: 540px; margin: 7px 0 0; color: #9fb8ac; font-size: 13px; line-height: 1.5; }
.agent-download-version { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 7px 10px; border: 1px solid #446b52; border-radius: 999px; color: #c9efaf; background: #274136; font-size: 11px; font-weight: 750; white-space: nowrap; }
.agent-download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 25px 22px; }
.agent-download-card { min-width: 0; padding: 21px; border: 1px solid #3c5550; border-radius: 14px; background: #142328; }
.agent-download-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 11px; color: #bcef9e; background: #2b493c; }
.agent-download-card .eyebrow { margin: 17px 0 5px; }
.agent-download-card h3 { margin: 0; font-size: 19px; letter-spacing: -.025em; }
.agent-download-card > p:not(.eyebrow) { min-height: 57px; margin: 8px 0 15px; color: #9eb6ac; font-size: 13px; line-height: 1.5; }
.agent-download-card small { display: block; margin-top: 10px; color: #90a99f; font-size: 11px; line-height: 1.5; }
.agent-download-actions, .agent-binary-links { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.agent-download-actions .btn { min-height: 40px; padding: 8px 12px; font-size: 12px; }
.agent-binary-links { margin-top: 16px; padding-top: 13px; border-top: 1px solid #304744; }
.agent-binary-links > span { width: 100%; color: #92aca1; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.agent-binary-links .btn { min-height: 31px; padding: 5px 8px; font-size: 11px; }
.agent-download-foot { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 25px; border-top: 1px solid #344c46; background: #1c322d; }
.agent-download-foot span { display: inline-flex; align-items: center; gap: 8px; color: #bed4c2; font-size: 12px; line-height: 1.45; }
.agent-download-foot span svg { flex: none; color: #a9ed76; }
.agent-download-foot .btn { flex: none; min-height: 34px; padding: 7px 10px; font-size: 11px; }
.agent-download-unavailable { display: flex; align-items: center; gap: 12px; padding: 22px 25px; border-top: 1px solid #314944; }
.agent-download-unavailable > span { flex: none; color: #bce895; }
.agent-download-unavailable > div { flex: 1; }
.agent-download-unavailable strong { font-size: 13px; }
.agent-download-unavailable p { margin: 4px 0 0; color: #91a99e; font-size: 12px; }
.agent-download-unavailable .btn { min-height: 36px; padding: 7px 11px; font-size: 11px; }
.section-intro { display: flex; align-items: end; justify-content: space-between; margin: 0 1px 12px; }
.section-intro h2 { font-size: 19px; margin: 3px 0 0; }
.section-intro > span { color: #8ea7a1; font-size: 12px; }
.agent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.agent-card-new { padding: 15px; align-items: stretch; border: 1px solid #2b4040; transition: border-color .18s, background .18s; }
.agent-card-new.selected { border-color: #7daf80; background: #1b302d; }
.agent-pick { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; padding: 0; border: 0; background: none; color: inherit; text-align: left; }
.agent-pick .agent-icon { width: 43px; height: 43px; border-radius: 12px; }
.agent-identity { display: grid; min-width: 0; gap: 4px; }
.agent-identity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.agent-identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: #94aaa5; }
.agent-card-side { display: grid; justify-items: end; gap: 5px; min-width: 92px; }
.agent-card-side > small { color: #8ca39d; font-size: 10px; white-space: nowrap; }
.agent-card-side .btn { margin-top: 2px; padding: 6px 8px; font-size: 10px; min-height: 28px; }
.agent-card-side .btn svg { width: 13px; height: 13px; }
.agent-operations { margin-bottom: 18px; background: radial-gradient(circle at 92% 0%, #a9ed7613, transparent 35%), linear-gradient(145deg, #172629, #111c20); }
.agent-ops-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 26px 22px; }
.agent-ops-head .eyebrow { margin: 0 0 8px; }
.agent-ops-head h2 { margin: 0; font-size: 23px; letter-spacing: -.035em; }
.agent-ops-head p:last-child { color: #9cb2ad; font-size: 14px; margin: 6px 0 0; }
.agent-ops-head p span { margin: 0 3px; color: #68827c; }
.agent-ops-version { display: grid; justify-items: end; gap: 3px; flex: none; }
.agent-ops-version small, .agent-ops-facts small { color: #9ab1aa; font-size: 12px; }
.agent-ops-version strong { font-size: 20px; letter-spacing: -.025em; }
.agent-ops-version .status { margin-top: 4px; }
.agent-ops-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #30423f; border-bottom: 1px solid #30423f; background: #17282a8c; }
.agent-ops-facts > div { display: grid; gap: 5px; min-width: 0; padding: 15px 24px; border-right: 1px solid #30423f; }
.agent-ops-facts > div:last-child { border-right: 0; }
.agent-ops-facts strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 650; }
.agent-ops-networks { display: flex; align-items: flex-start; gap: 17px; padding: 17px 25px; border-bottom: 1px solid #30423f; }
.agent-ops-networks > span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: #a7c0b6; font-size: 14px; font-weight: 700; }
.agent-ops-networks > span svg { color: var(--accent); }
.agent-ops-networks > div { display: flex; flex-wrap: wrap; gap: 6px; }
.agent-ops-networks code { border: 1px solid #38534b; border-radius: 6px; background: #223b35; color: #c5e6cb; padding: 4px 7px; font-size: 13px; }
.agent-ops-networks small { color: #9fb5ad; font-size: 13px; }
.agent-update-zone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr); gap: 28px; padding: 24px 26px 27px; }
.agent-update-title { display: flex; align-items: center; gap: 12px; }
.agent-update-title h3 { font-size: 17px; margin: 0 0 4px; }
.agent-update-title p { font-size: 14px; color: #9fb5ad; margin: 0; line-height: 1.45; }
.update-indicator { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; color: var(--accent); background: #284337; }
.update-indicator.downloading, .update-indicator.applying { color: #8adbdc; background: #204143; }
.update-indicator.failed { color: #ffb2a5; background: #4f302e; }
.update-cadence { margin: 14px 0 0 50px; color: #a1b8ae; font-size: 13px; line-height: 1.5; }
.update-alert { margin: 14px 0 0 50px; border: 1px solid #806d3c; background: #554b2d61; border-radius: 9px; padding: 10px 12px; color: #f0d99a; font-size: 13px; line-height: 1.5; }
.update-alert.error { border-color: #88504c; background: #57332e61; color: #ffc1b5; }
.agent-update-controls { border: 1px solid #385049; background: #1c302e; border-radius: 13px; padding: 17px; }
.update-policy { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.update-policy > div { display: grid; gap: 4px; }
.update-policy strong { font-size: 14px; }
.update-policy small, .update-release small { color: #a6b9b0; font-size: 13px; line-height: 1.4; }
.update-switch { display: flex; align-items: center; width: 39px; height: 23px; flex: none; padding: 3px; border: 1px solid #50675e; border-radius: 20px; background: #33483f; }
.update-switch i { display: block; width: 15px; height: 15px; border-radius: 50%; background: #bed2c4; transition: transform .18s ease; }
.update-switch.active { background: #a9ed76; border-color: #a9ed76; }
.update-switch.active i { transform: translateX(16px); background: #24402b; }
.update-switch:disabled { opacity: .45; cursor: not-allowed; }
.update-release { display: grid; gap: 8px; margin-top: 17px; padding-top: 17px; border-top: 1px solid #39524b; }
.update-release label { font-size: 14px; font-weight: 750; color: #d3e4d8; }
.update-release-row { display: flex; gap: 7px; }
.update-release-row select { min-width: 0; flex: 1; border: 1px solid #49665d; border-radius: 9px; padding: 9px 11px; background: #172722; color: #eaf5e8; font-size: 14px; }
.update-release-row .btn { min-height: 41px; padding: 9px 13px; font-size: 14px; }
.update-release-row select:disabled { opacity: .55; }
.update-clear { display: block; padding: 0; margin-top: 13px; color: #bce891; background: none; border: 0; font-size: 14px; font-weight: 700; }
.update-clear:hover, .update-catalog a:hover, .update-catalog button:hover { text-decoration: underline; }
.update-catalog { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #39524b; font-size: 12px; color: #a0b7a8; }
.update-catalog a, .update-catalog button { display: inline-flex; align-items: center; gap: 2px; flex: none; color: #b9e99c; text-decoration: none; font-size: 13px; font-weight: 750; background: none; border: 0; padding: 0; }
.topology-panel { overflow: hidden; margin-bottom: 18px; }
.topology-panel > .panel-header { padding: 21px 23px; margin: 0; }
.topology-panel .panel-header .eyebrow { margin: 0 0 6px; }
.topology-empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 44px 24px 48px; color: #a6bbb3; font-size: 13px; }
.topology-empty strong { color: #e8f3eb; font-size: 16px; }
.topology-empty p { max-width: 420px; margin: 0 0 6px; line-height: 1.55; }
.topology-empty .empty-icon { width: 52px; height: 52px; display: grid; place-items: center; color: #b7ef98; background: #2a4639; border-radius: 14px; }
.topology-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #2d4140; border-bottom: 1px solid #2d4140; background: #17272b; }
.topology-stats > div { display: flex; align-items: baseline; gap: 7px; padding: 12px 22px; border-right: 1px solid #2d4140; }
.topology-stats > div:last-child { border-right: 0; }
.topology-stats strong { font-size: 20px; color: #d6f5cd; }
.topology-stats span { color: #91aaa2; font-size: 11px; }
.topology-workspace { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 280px; }
.switch-list { padding: 10px; border-right: 1px solid #2d4140; background: #142226; }
.switch-choice { display: flex; gap: 9px; align-items: center; width: 100%; padding: 11px 9px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #e2efe8; text-align: left; }
.switch-choice:hover, .switch-choice.selected { border-color: #426553; background: #20372e; }
.switch-choice-icon { flex: none; color: #b3eaa1; }
.switch-choice > span:nth-child(2) { display: grid; min-width: 0; gap: 3px; }
.switch-choice strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; }
.switch-choice small { white-space: nowrap; font-size: 10px; color: #92aaa2; }
.switch-choice-count { margin-left: auto; color: #9db6aa; font-size: 10px; white-space: nowrap; }
.switch-data { min-width: 0; padding: 18px 21px 22px; }
.switch-data-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin-bottom: 17px; }
.switch-data-head > div:first-child { min-width: 0; }
.switch-data-head h3 { margin: 0 0 3px; font-size: 17px; overflow-wrap: anywhere; }
.switch-data-head p { margin: 0; font-size: 11px; color: #8ea6a0; }
.switch-data-head .switch-observed-name { color: #b5dfc7; margin-bottom: 4px; }
.switch-data-head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.switch-identity { margin: 1px 0 18px; padding: 15px; border: 1px solid #416155; border-radius: 12px; background: linear-gradient(115deg, #223b36, #1b302f); }
.switch-identity-title { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 12px; }
.switch-identity-title strong { color: #e7f4e5; font-size: 12px; }
.switch-identity-title small { color: #9bb7a5; font-size: 10px; }
.switch-identity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
.switch-identity-grid > div { min-width: 0; }
.switch-identity-grid small, .switch-identity-extra small { display: block; margin-bottom: 4px; color: #9ab3a7; font-size: 9px; }
.switch-identity-grid strong, .switch-identity-extra strong { display: block; overflow: hidden; color: #e8f5e7; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.switch-identity-extra { margin-top: 13px; padding-top: 10px; border-top: 1px solid #456357; }
.switch-identity-extra summary { color: #c6ebad; font-size: 10px; font-weight: 700; cursor: pointer; }
.switch-identity-extra > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 13px; }
.port-connected strong, .port-connected small, .port-learned small { display: block; }
.port-connected strong { max-width: 230px; overflow: hidden; color: #dcefd7; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.port-connected small, .port-learned small { margin-top: 3px; color: #98b4a4; font-size: 9px; }
.port-learned { color: #e4cc9d; font-size: 10px; }
.switch-data-section { padding: 15px 0; border-top: 1px solid #2c4140; }
.switch-data-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.switch-data-title h4 { margin: 0; font-size: 12px; color: #e2eee6; }
.switch-data-title span { color: #8da79d; font-size: 10px; }
.topology-expand { margin-left: auto; padding: 0; font-size: 10px; white-space: nowrap; }
.topology-table { font-size: 11px; }
.topology-table td { vertical-align: middle; }
.topology-table td small { display: block; margin-top: 3px; color: #8aa29a; }
.topology-mobile-hint { display: none; margin: 0 0 12px; color: #90aaa1; font-size: 10px; }
.topology-muted, .topology-limit { margin: 8px 0; color: #90a79f; font-size: 11px; }
.topology-limit { margin: 16px 0 0; }
.port-state { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #879894; }
.port-state.up { background: var(--accent); box-shadow: 0 0 7px #a9ed76; }
.topology-poll-error, .topology-poll-warning { margin-bottom: 16px; padding: 12px 14px; border: 1px solid #8b5b50; border-radius: 10px; background: #49302b; color: #f6d4c8; font-size: 12px; }
.topology-poll-error p, .topology-poll-warning p { margin: 5px 0; }
.topology-poll-error small { color: #d8b2a7; }
.topology-poll-warning { border-color: #7f6846; background: #3b3426; color: #efd9aa; }
.topology-empty-diagnostic p { max-width: 650px; }
.topology-empty-diagnostic > small { color: #8fa99d; line-height: 1.45; }
.topology-empty-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 3px; }
.agent-activity { overflow: hidden; margin-bottom: 18px; background: radial-gradient(circle at 90% 0%, #a9ed7612, transparent 34%), #152529; }
.agent-activity-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 23px 25px; }
.agent-activity-head .eyebrow { margin: 0 0 7px; }
.agent-activity-head h2 { margin: 0; color: #eef7ec; font-size: 21px; letter-spacing: -.035em; }
.agent-activity-head p:not(.eyebrow) { margin: 6px 0 0; color: #9bb3a9; font-size: 12px; line-height: 1.5; }
.agent-activity-head .btn { flex: none; }
.agent-activity-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #2e4540; border-bottom: 1px solid #2e4540; background: #1b302d; }
.agent-activity-summary > div { min-width: 0; padding: 16px 22px; border-right: 1px solid #355048; }
.agent-activity-summary > div:last-child { border-right: 0; }
.agent-activity-summary small { display: block; margin-bottom: 7px; color: #9cb6a8; font-size: 11px; }
.agent-activity-summary strong { display: block; overflow: hidden; color: #ebf8e9; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.agent-activity-summary strong.has-issues { color: #f4c58e; }
.agent-activity-guidance, .agent-activity-error { display: flex; align-items: flex-start; gap: 9px; margin: 17px 24px 0; padding: 12px 14px; border: 1px solid #816b49; border-radius: 10px; color: #e8d7b3; background: #342f25; font-size: 12px; line-height: 1.5; }
.agent-activity-guidance svg { flex: none; }
.agent-activity-error { border-color: #8b5b50; color: #f6d4c8; background: #49302b; }
.agent-activity-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 19px 24px 14px; }
.agent-activity-toolbar > div { display: flex; flex-wrap: wrap; gap: 6px; }
.agent-activity-toolbar button { border: 1px solid #3b554d; border-radius: 8px; padding: 7px 11px; color: #a9beb2; background: #1b302d; font-size: 11px; font-weight: 700; cursor: pointer; }
.agent-activity-toolbar button.active { border-color: #89be81; color: #ddf4d4; background: #2b4938; }
.agent-activity-toolbar button span { margin-left: 3px; color: #f2c68e; }
.agent-activity-toolbar > span { color: #8ba79a; font-size: 11px; white-space: nowrap; }
.agent-event-list { margin: 0; padding: 0 24px 21px; list-style: none; }
.agent-event { display: flex; align-items: flex-start; gap: 12px; padding: 15px 2px; border-top: 1px solid #2c413d; }
.agent-event-mark { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border: 1px solid #41684e; border-radius: 9px; color: #bceaa7; background: #274334; }
.agent-event.warning .agent-event-mark { border-color: #856b44; color: #f2d39a; background: #4a3e29; }
.agent-event.error .agent-event-mark { border-color: #905e52; color: #f6b9ad; background: #51312d; }
.agent-event-content { min-width: 0; flex: 1; }
.agent-event-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-width: 0; }
.agent-event-category { color: #e1f1e5; font-size: 12px; font-weight: 750; text-transform: capitalize; }
.agent-event-level { padding: 2px 6px; border: 1px solid #395e4a; border-radius: 5px; color: #b5ddb8; background: #223a2e; font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.agent-event.warning .agent-event-level { border-color: #76603e; color: #f1d19b; background: #3d3526; }
.agent-event.error .agent-event-level { border-color: #80534b; color: #f5bdb3; background: #402d2a; }
.agent-event-meta code { padding: 2px 5px; border: 1px solid #35534a; border-radius: 4px; color: #b6d7c3; font-size: 10px; }
.agent-event-meta time { margin-left: auto; color: #91aa9d; font-size: 11px; white-space: nowrap; }
.agent-event-content p { margin: 5px 0 0; color: #c6d8cc; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.agent-activity-empty { display: grid; justify-items: center; gap: 9px; padding: 30px 24px 36px; border-top: 1px solid #2c413d; color: #9db7a7; text-align: center; }
.agent-activity-empty svg { color: #b4e5a4; }
.agent-activity-empty p { max-width: 520px; margin: 0; font-size: 12px; line-height: 1.55; }
.agent-activity-more { display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; padding: 12px; border: 0; border-top: 1px solid #2c413d; color: #bde9aa; background: #1a302b; font-size: 11px; font-weight: 750; cursor: pointer; }
.agent-activity-more:hover { background: #254337; }
.discovery-onboarding { margin-top: 18px; }

/* SNMP configuration */
.discovery-modal { width: min(100%, 880px); max-height: 94vh; }
.discovery-modal .modal-head { padding: 24px 28px 19px; }
.discovery-modal .modal-head .eyebrow { margin: 0 0 7px; }
.discovery-modal .modal-body { padding: 22px 28px 26px; }
.config-intro { display: flex; align-items: center; gap: 14px; padding: 17px; border: 1px solid #41634e; border-radius: 13px; background: linear-gradient(120deg, #263f31, #1b2b2b); }
.config-intro-icon { flex: none; width: 45px; height: 45px; display: grid; place-items: center; border-radius: 11px; color: #c3f2a9; background: #345540; }
.config-intro > div { min-width: 0; flex: 1; }
.config-intro strong { font-size: 14px; }
.config-intro p { margin: 4px 0 0; color: #abc3ad; font-size: 11px; line-height: 1.5; }
.master-switch { flex: none; position: relative; cursor: pointer; }
.master-switch input { position: absolute; opacity: 0; }
.master-switch i, .collector-toggle i { display: block; width: 39px; height: 22px; border-radius: 99px; border: 1px solid #597169; background: #4b625c; transition: background .15s; }
.master-switch i::after, .collector-toggle i::after { content: ""; display: block; width: 16px; height: 16px; margin: 2px; border-radius: 50%; background: #d4dfd7; transition: transform .15s; }
.master-switch input:checked + i, .collector-toggle input:checked + i { background: #a9ed76; border-color: #a9ed76; }
.master-switch input:checked + i::after, .collector-toggle input:checked + i::after { transform: translateX(17px); background: #1f351b; }
.master-switch input:focus-visible + i, .collector-toggle input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 3px; }
.config-advisory { margin: 13px 0 16px; padding: 11px 13px; border: 1px solid #3e5a50; border-radius: 10px; color: #b9d2c2; background: #1c302d; font-size: 11px; line-height: 1.55; }
.config-advisory.amber { border-color: #6f5941; color: #eed4a8; background: #372e25; }
.target-list { display: grid; gap: 13px; }
.auto-discovery-section { margin-top: 18px; padding: 18px; border: 1px solid #3f6451; border-radius: 15px; background: linear-gradient(145deg, #1b302d, #142529 55%, #17242a); }
.auto-discovery-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.auto-discovery-heading > div { min-width: 0; }
.auto-discovery-heading .eyebrow { margin: 0 0 5px; font-size: 10px; }
.auto-discovery-heading h3 { margin: 0; color: #eaf8e9; font-size: 18px; letter-spacing: -.02em; }
.auto-discovery-heading p { margin: 7px 0 0; color: #a9c1b5; font-size: 12px; line-height: 1.55; }
.auto-discovery-heading .master-switch { margin-top: 5px; }
.profile-order-note { display: flex; align-items: start; gap: 8px; margin: 15px 0; color: #afd0bb; font-size: 11px; line-height: 1.5; }
.profile-order-note svg { flex: none; }
.snmp-target, .snmp-profile { overflow: hidden; border: 1px solid #365151; border-radius: 14px; background: #142227; }
.snmp-profile { border-color: #4b755d; }
.profile-controls { display: flex; align-items: center; gap: 4px; }
.profile-controls .icon-button { width: 30px; height: 30px; font-size: 17px; }
.explicit-targets { margin-top: 20px; padding: 15px 17px 17px; border: 1px solid #35504c; border-radius: 14px; background: #142327; }
.explicit-targets > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; }
.explicit-targets > summary::-webkit-details-marker { display: none; }
.explicit-targets > summary::before { content: '▸'; color: #a9ed76; transition: transform .15s; }
.explicit-targets[open] > summary::before { transform: rotate(90deg); }
.explicit-targets > summary > span:first-child { flex: 1; }
.explicit-targets > summary strong { display: block; color: #e2f0e6; font-size: 13px; }
.explicit-targets > summary small { display: block; margin-top: 4px; color: #93aba2; font-size: 11px; line-height: 1.4; }
.explicit-targets > summary > span:last-child { color: #a7c5ae; font-size: 11px; white-space: nowrap; }
.explicit-targets .target-list { margin-top: 15px; }
.explicit-targets .add-target { margin-top: 15px; }
.target-header { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid #31494a; background: #1c3032; }
.target-header > div { display: flex; align-items: center; gap: 10px; }
.target-header > div > span:last-child { display: grid; gap: 2px; }
.target-header strong { color: #e6f3ea; font-size: 13px; }
.target-header small { color: #8fa8a1; font-size: 10px; }
.target-icon { width: 33px; height: 33px; display: grid; place-items: center; color: #baf0a2; background: #2a493e; border-radius: 9px; }
.target-body { padding: 16px; }
.target-credential-group { margin-top: 16px; }
.target-credential-group .config-advisory { margin: 0 0 12px; }
.target-field-wrap { grid-column: 1/-1; }
.target-divider { height: 1px; margin: 19px 0 15px; background: #304746; }
.target-section-heading strong { color: #e1efe6; font-size: 12px; }
.target-section-heading small { display: block; margin-top: 4px; color: #8da69e; font-size: 11px; }
.collector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px; }
.collector-toggle { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 11px; border: 1px solid #354b49; border-radius: 9px; background: #1b2d2d; cursor: pointer; }
.collector-toggle > span { display: grid; gap: 2px; }
.collector-toggle strong { font-size: 11px; color: #e0ede3; }
.collector-toggle small { font-size: 10px; color: #91a89f; }
.collector-toggle input { position: absolute; right: 18px; opacity: 0; }
.collector-toggle i { flex: none; transform: scale(.84); transform-origin: right; }
.target-advanced { margin-top: 15px; color: #afd2b0; font-size: 11px; }
.target-advanced summary { cursor: pointer; }
.target-advanced .form-grid { margin-top: 12px; }
.add-target { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 12px; padding: 14px 16px; border: 1px dashed #5a836a; border-radius: 11px; color: #c9f0b5; background: #1d302b; font-size: 12px; font-weight: 700; }
.add-target:hover { background: #294236; }
.add-target span { margin-left: auto; color: #92ae9b; font-size: 10px; font-weight: 500; }
.config-footnote { margin: 15px 0 0; color: #88a099; font-size: 11px; line-height: 1.5; }
.config-footnote code { color: #d2e6bd; }
.config-error { margin-top: 14px; padding: 10px 12px; border: 1px solid #a36558; border-radius: 9px; color: #ffded3; background: #482e2b; font-size: 12px; }
[hidden] { display: none !important; }
@media (max-width: 1000px) {
  .agent-grid { grid-template-columns: 1fr; }
  .agent-update-zone { grid-template-columns: 1fr; gap: 22px; }
  .topology-workspace { grid-template-columns: 190px minmax(0, 1fr); }
  .topology-stats > div { padding: 12px; }
}
@media (max-width: 650px) {
  .install-modal .modal-head { padding: 20px 18px 16px; }
  .install-modal .modal-body { padding: 17px 18px 20px; }
  .install-modal-intro { align-items: flex-start; }
  .install-choice-grid { grid-template-columns: 1fr; }
  .install-choice p:not(.eyebrow) { min-height: 0; }
  .install-wget > div { align-items: flex-start; }
  .install-wget .btn { flex: none; }
  .discovery-hero { grid-template-columns: 1fr; min-height: 0; padding: 24px; }
  .discovery-hero-art { justify-content: start; transform: scale(.8); transform-origin: left; }
  .discovery-capabilities { grid-template-columns: 1fr; margin-bottom: 25px; }
  .agent-downloads-head { display: grid; padding: 20px 18px; }
  .agent-download-version { justify-self: start; }
  .agent-download-grid { grid-template-columns: 1fr; padding: 0 18px 18px; }
  .agent-download-card > p:not(.eyebrow) { min-height: 0; }
  .agent-download-foot { flex-wrap: wrap; align-items: start; padding: 14px 18px; }
  .agent-download-unavailable { flex-wrap: wrap; padding: 19px 18px; }
  .agent-download-unavailable > div { flex-basis: calc(100% - 42px); }
  .agent-card-new { flex-wrap: wrap; }
  .agent-card-side { display: flex; width: 100%; align-items: center; justify-content: space-between; }
  .agent-card-side > small { display: none; }
  .agent-ops-head { padding: 21px 19px; align-items: flex-start; }
  .agent-ops-head h2 { font-size: 19px; }
  .agent-ops-version strong { font-size: 15px; }
  .agent-ops-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agent-ops-facts > div { padding: 12px 18px; }
  .agent-ops-facts > div:nth-child(2) { border-right: 0; }
  .agent-ops-facts > div:nth-child(-n+2) { border-bottom: 1px solid #30423f; }
  .agent-ops-networks { display: grid; padding: 16px 18px; gap: 9px; }
  .agent-update-zone { padding: 19px 18px; }
  .update-cadence, .update-alert { margin-left: 0; }
  .topology-panel > .panel-header { align-items: start; gap: 12px; }
  .topology-stats { grid-template-columns: repeat(2, 1fr); }
  .topology-stats > div:nth-child(2) { border-right: 0; }
  .topology-stats > div:nth-child(-n+2) { border-bottom: 1px solid #2d4140; }
  .topology-workspace { grid-template-columns: 1fr; }
  .switch-list { display: flex; overflow-x: auto; gap: 6px; border-right: 0; border-bottom: 1px solid #2d4140; }
  .switch-choice { min-width: 190px; }
  .switch-data { padding: 17px; }
  .topology-mobile-hint { display: block; }
  .discovery-modal .modal-head { padding: 20px 18px 16px; }
  .discovery-modal .modal-body { padding: 17px 18px 20px; }
  .config-intro { align-items: start; flex-wrap: wrap; }
  .config-intro > div { flex-basis: calc(100% - 60px); }
  .auto-discovery-section { padding: 14px; }
  .explicit-targets { padding: 13px; }
  .collector-grid { grid-template-columns: 1fr; }
}
.login-card h1 {
  font-size: 35px;
  letter-spacing: -0.05em;
  margin: 8px 0;
}
.login-card > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.6;
  color: #9fb5ac;
  margin: 0 0 25px;
}
.login-card form {
  display: grid;
  gap: 17px;
}
.login-card form .btn {
  width: 100%;
}
.login-card small {
  display: block;
  color: #7f9790;
  font-size: 11px;
  margin-top: 18px;
  line-height: 1.5;
}
.observation-card {
  border: 1px solid #365249;
  background: #1d332d;
  border-radius: 11px;
  padding: 13px;
  margin-top: 18px;
}
.observation-card .detail-heading {
  color: var(--accent);
}
.observed-diff {
  display: block;
  color: var(--amber);
  font-size: 10px;
  font-style: normal;
  margin-top: 3px;
}
.device-name-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  margin: 0 0 9px;
  border: 1px solid #436858;
  border-radius: 999px;
  background: #203a2e;
  color: #b7edbf;
  font-size: 10px;
  font-weight: 700;
}
.detail-panel .detail-actions { flex-wrap: wrap; }
.device-name-source {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #365449;
  border-radius: 12px;
  background: #1c322b;
}
.device-name-source > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 10px;
  background: #2b4a39;
  color: #bcefae;
}
.device-name-source div { min-width: 0; }
.device-name-source small { display: block; color: #94b7a7; font-size: 10px; font-weight: 700; letter-spacing: .11em; }
.device-name-source strong { display: block; margin-top: 3px; color: #edf7ef; overflow-wrap: anywhere; }
.device-name-modal .form-grid { grid-template-columns: 1fr; }
.device-name-modal .form-actions .device-name-clear { margin-right: auto; }
.device-name-readonly {
  display: flex;
  align-items: center;
  min-height: 39px;
  padding: 9px 11px;
  border: 1px solid #314b44;
  border-radius: 9px;
  background: #1b302a;
  color: #d7ebdd;
  font-size: 13px;
  overflow-wrap: anywhere;
}

/* Tenant and site navigation */
.tenant-control {
  margin: -20px 4px 25px;
  padding: 14px;
  border: 1px solid #344a46;
  border-radius: 15px;
  background: linear-gradient(150deg, #20352f, #172822);
}
.tenant-control > label {
  display: block;
  margin-bottom: 9px;
  color: #a4bbb2;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
}
.tenant-select-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
}
.tenant-select-wrap select {
  flex: 1;
  min-width: 0;
  border: 0;
  appearance: none;
  background: transparent;
  color: #f3f8f3;
  font-size: 15px;
  font-weight: 700;
  outline-offset: 5px;
}
.tenant-select-wrap option,
.site-filter option {
  color: #152125;
}
.tenant-add {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  padding: 8px 0 0;
  border: 0;
  border-top: 1px solid #375047;
  width: 100%;
  background: none;
  color: #d2e5d6;
  font-size: 13px;
  font-weight: 650;
}
.site-filter {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 250px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #344844;
  border-radius: 11px;
  background: #1a2a28;
  color: #e5f1e7;
}
.site-filter > span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: #a9c7b6;
  font-size: 13px;
  font-weight: 700;
}
.site-filter select {
  min-width: 0;
  max-width: 125px;
  appearance: none;
  border: 0;
  background: transparent;
  color: #f2f8f3;
  font-size: 14px;
  font-weight: 700;
  padding-right: 15px;
}
.site-filter > svg:last-child {
  position: absolute;
  right: 10px;
  pointer-events: none;
}
.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 17px;
  margin-bottom: 24px;
}
.site-card {
  min-width: 0;
  padding: 23px;
  border: 1px solid #324643;
  border-radius: 18px;
  background: linear-gradient(140deg, #1b302b, #142126 72%);
  box-shadow: 0 13px 30px #00000012;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.site-card:hover {
  border-color: #739b70;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px #0000002b;
}
.site-card.selected {
  border-color: #a9ed76;
  box-shadow: inset 0 0 0 1px #a9ed7636;
}
.site-card-top,
.site-card-actions,
.site-metrics,
.site-how,
.tenant-panel,
.tenant-panel-actions {
  display: flex;
  align-items: center;
}
.site-card-top,
.site-card-actions,
.tenant-panel {
  justify-content: space-between;
}
.site-icon,
.site-how-icon,
.workspace-access-icon {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  flex: none;
  border-radius: 14px;
  background: #314a37;
  color: var(--accent);
}
.site-card-status {
  color: #a9c3b7;
  font-size: 13px;
}
.site-card h2 {
  margin: 25px 0 3px;
  color: #f4faf5;
  font-size: 22px;
  letter-spacing: -.03em;
}
.site-card > p {
  margin: 0;
  min-height: 42px;
  color: #a8bdb4;
  font-size: 14px;
  line-height: 1.5;
}
.site-metrics {
  gap: 30px;
  margin: 18px 0 21px;
  padding: 16px 0;
  border-top: 1px solid #355047;
  border-bottom: 1px solid #355047;
}
.site-metrics div {
  display: grid;
  gap: 2px;
}
.site-metrics strong {
  color: #ecf8ee;
  font-size: 23px;
}
.site-metrics span {
  color: #9eb5a9;
  font-size: 13px;
}
.site-card-actions {
  gap: 7px;
  flex-wrap: wrap;
}
.site-card-actions .icon-button {
  margin-left: auto;
}
.site-how {
  gap: 20px;
  justify-content: space-between;
  padding: 23px 26px;
  margin-bottom: 23px;
  background: linear-gradient(120deg, #203a2b, #172929);
}
.site-how > div:first-child {
  display: flex;
  align-items: flex-start;
  gap: 17px;
}
.site-how h2,
.tenant-panel h2 {
  margin: 2px 0 7px;
  font-size: 20px;
}
.site-how p:not(.eyebrow),
.tenant-panel p:not(.eyebrow) {
  max-width: 640px;
  margin: 0;
  color: #b7cbbd;
  font-size: 14px;
  line-height: 1.55;
}
.tenant-panel {
  gap: 20px;
  padding: 23px 26px;
}
.tenant-panel-actions {
  gap: 8px;
  flex-wrap: wrap;
}
.site-empty {
  margin-bottom: 23px;
}
.install-site {
  padding: 19px;
  margin-bottom: 19px;
  border: 1px solid #405848;
  border-radius: 14px;
  background: linear-gradient(110deg, #21372c, #192a2c);
}
.install-site h3 {
  margin: 0 0 4px;
  font-size: 17px;
}
.install-site p:not(.eyebrow),
.install-site small {
  color: #bdd0c3;
  font-size: 13px;
  line-height: 1.55;
}
.install-site-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0 9px;
}
.install-site-controls label {
  font-size: 14px;
  font-weight: 700;
}
.install-site-controls select {
  min-width: 175px;
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #486457;
  border-radius: 9px;
  background: #122320;
  color: #f2f7f1;
}
.site-modal {
  max-width: 560px;
}
.site-key-value {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid #5f7f55;
  border-radius: 11px;
  background: #203a2b;
}
.site-key-value code {
  overflow-wrap: anywhere;
  user-select: all;
  color: #e7ffce;
  font-size: 15px;
}
.workspace-access {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  padding: 30px;
  background: radial-gradient(circle at 75% 10%, #254535, transparent 35%), var(--bg);
}
.workspace-access-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  letter-spacing: .08em;
}
.workspace-access-card {
  width: min(100%, 560px);
  padding: clamp(25px, 5vw, 45px);
  border: 1px solid #37534b;
  border-radius: 22px;
  background: linear-gradient(155deg, #1b302b, #122024);
  box-shadow: 0 26px 70px #0006;
}
.workspace-access-card h1 {
  margin: 15px 0 10px;
  font-size: clamp(28px, 4vw, 39px);
  letter-spacing: -.05em;
}
.workspace-access-card > p:not(.eyebrow) {
  color: #b8cdc0;
  font-size: 16px;
  line-height: 1.6;
}
.workspace-access-identity { display: grid; gap: 3px; margin-top: 22px; padding: 13px 15px; border: 1px solid #496b57; border-radius: 11px; background: #223b30; }
.workspace-access-identity span { color: #a3c3aa; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.workspace-access-identity strong { overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.workspace-access-identity small { overflow: hidden; text-overflow: ellipsis; color: #afc7b4; font-size: 12px; }
.workspace-access-card > .btn {
  margin: 14px 10px 0 0;
}
.workspace-join-form {
  margin-top: 25px;
}
.workspace-join-form > label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
}
.workspace-join-form > div {
  display: flex;
  gap: 9px;
}
.workspace-join-form input {
  min-width: 0;
  flex: 1;
  padding: 11px 12px;
  border: 1px solid #466050;
  border-radius: 10px;
  background: #122320;
  color: #fff;
}
@media (max-width: 900px) {
  .site-filter { max-width: 190px; }
  .site-filter > span { display: none; }
}
@media (max-width: 650px) {
  .site-filter { max-width: 150px; }
  .site-how,
  .tenant-panel { align-items: flex-start; flex-direction: column; }
  .site-how > div:first-child { flex-direction: column; }
  .tenant-panel-actions,
  .workspace-join-form > div { align-items: stretch; flex-direction: column; width: 100%; }
}

/* Rack studio */
.rack-workspace { display: grid; grid-template-columns: minmax(210px, 244px) minmax(390px, 1fr) minmax(270px, 300px); gap: 15px; align-items: start; }
.rack-workspace > .panel { min-width: 0; overflow: hidden; }
.rack-library { padding: 19px 14px 15px; background: linear-gradient(155deg, #192b2b, #142125 55%); }
.rack-library-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 6px; }
.rack-library-top .eyebrow { margin: 0; }
.rack-library-top > span { display: grid; place-items: center; min-width: 25px; height: 25px; padding: 0 6px; border: 1px solid #45634d; border-radius: 8px; color: #c7e7b8; background: #294237; font-size: 11px; font-weight: 800; }
.rack-library-list { display: grid; gap: 6px; margin-top: 13px; }
.rack-library-item { display: flex; align-items: center; gap: 9px; min-width: 0; width: 100%; padding: 10px; border: 1px solid transparent; border-radius: 11px; background: #132227; color: #e4f0e9; text-align: left; }
.rack-library-item:hover { border-color: #547563; background: #20352e; }
.rack-library-item.selected { border-color: #81ad72; background: linear-gradient(110deg, #2c4d3b, #1d342e); box-shadow: inset 3px 0 0 #b9ed91; }
.rack-library-mark, .rack-tray-icon { display: grid; place-items: center; flex: none; width: 33px; height: 33px; border-radius: 8px; color: #b9e99c; background: #2b4539; }
.rack-library-name { flex: 1; min-width: 0; }
.rack-library-name strong, .rack-tray-device strong { display: block; overflow: hidden; color: #e5f1e9; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.rack-library-name small, .rack-tray-device small { display: block; overflow: hidden; margin-top: 3px; color: #8fa99d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.rack-library-usage { color: #b8de9c; font-size: 10px; font-weight: 800; }
.rack-library-divider { height: 1px; margin: 18px 5px; background: #38504b; }
.rack-library-help { margin: 10px 6px 13px; color: #9bb3a9; font-size: 11px; line-height: 1.5; }
.rack-tray { display: grid; gap: 7px; max-height: 280px; overflow-y: auto; }
.rack-tray-device { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 9px; border: 1px solid #344c49; border-radius: 10px; background: #15272a; cursor: grab; }
.rack-tray-device.dragging, .rack-mounted.dragging { opacity: .5; }
.rack-tray-device > div { flex: 1; min-width: 0; }
.rack-tray-icon { width: 28px; height: 28px; }
.rack-tray-place { display: inline-flex; align-items: center; gap: 2px; padding: 5px 1px 5px 5px; border: 0; background: transparent; color: #bdf09b; font-size: 10px; font-weight: 750; }
.rack-tray-place:hover { color: white; }
.rack-tray-empty { margin: 0; padding: 14px 10px; border: 1px dashed #3c5450; border-radius: 10px; color: #9fb4aa; font-size: 11px; line-height: 1.5; }
.rack-library-add { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 37px; margin-top: 11px; border: 1px dashed #5a7867; border-radius: 9px; background: #1d342e; color: #c9edb6; font-size: 11px; font-weight: 750; }
.rack-library-add:hover { background: #2d4a39; }
.rack-library-add-actions { display: grid; gap: 7px; }
.rack-library-add.secondary { min-height: 32px; margin-top: 0; border-color: #3d5a52; background: transparent; color: #a8c4b4; }
.rack-library-add.secondary:hover { background: #233a32; color: #e7f4e8; }

.rack-editor { background: radial-gradient(circle at 80% -8%, #73b48026, transparent 32%), #17272b; }
.rack-editor-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 20px 22px 15px; }
.rack-editor-head .eyebrow { margin: 0 0 6px; }
.rack-editor-head h2 { margin: 0; font-size: 22px; letter-spacing: -.035em; }
.rack-editor-head p:not(.eyebrow) { margin: 5px 0 0; color: #9eb7ad; font-size: 11px; }
.rack-editor-size { display: grid; place-items: center; min-width: 42px; height: 37px; border: 1px solid #6a8d73; border-radius: 10px; color: #d2f0bd; background: #2d4839; font-size: 13px; font-weight: 800; }
.rack-editor-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0 22px 15px; overflow: hidden; border: 1px solid #35514a; border-radius: 10px; background: #35514a; }
.rack-editor-stats > div { display: grid; gap: 2px; padding: 10px 7px; background: #1a302d; text-align: center; }
.rack-editor-stats strong { color: #e8f6e7; font-size: 16px; line-height: 1; }
.rack-editor-stats strong small { color: #91a99f; font-size: 10px; }
.rack-editor-stats span { color: #9bb5a6; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.rack-placement-banner { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 22px 14px; padding: 10px 12px; border: 1px solid #7eab66; border-radius: 9px; color: #d7f4c1; background: #2a4837; font-size: 11px; }
.rack-placement-banner span { display: inline-flex; align-items: center; gap: 7px; }
.rack-placement-banner button { border: 0; background: transparent; color: #dff9cb; font-size: 11px; font-weight: 750; text-decoration: underline; }
.rack-frame-scroll { max-height: min(74vh, 730px); margin: 0 22px; overflow: auto; border: 1px solid #5a766c; border-radius: 13px; box-shadow: 0 18px 40px #07100f88; scrollbar-color: #567c68 #142522; }
.rack-visual-frame { min-width: 345px; padding: 12px 9px; border: 7px solid #3b5553; background: repeating-linear-gradient(90deg, #122321 0 1px, #10201f 1px 28px); box-shadow: inset 0 0 0 2px #789286; }
.rack-visual-canvas { position: relative; }
.rack-visual-unit { display: grid; grid-template-columns: 25px minmax(0, 1fr) 22px; gap: 5px; align-items: center; height: 46px; }
.rack-unit-index { color: #93a99e; font: 10px ui-monospace, SFMono-Regular, monospace; text-align: center; }
.rack-unit-rail { display: flex; flex-direction: column; align-items: center; justify-content: space-around; height: 100%; }
.rack-unit-rail i { width: 3px; height: 3px; border-radius: 50%; background: #779084; }
.rack-open-unit, .rack-occupied-continuation { min-width: 0; width: 100%; height: 42px; border: 1px dashed #35504b; border-radius: 6px; background: #142625; }
.rack-open-unit { display: flex; align-items: center; justify-content: space-between; padding: 0 12px; color: #607f73; font-size: 10px; text-align: left; }
.rack-open-unit svg { opacity: 0; }
.rack-open-unit:hover, .rack-open-unit:focus-visible, .rack-open-unit.placing, .rack-open-unit.drag-target { border-color: #a9ed76; background: #284434; color: #d5f5bd; }
.rack-open-unit.relocating { border-style: solid; background: #355541; }
.rack-open-unit:hover svg, .rack-open-unit:focus-visible svg, .rack-open-unit.placing svg, .rack-open-unit.drag-target svg { opacity: 1; }
.rack-occupied-continuation { border-style: solid; border-color: #3e6660; background: #1a3435; }
.rack-mounted { position: relative; z-index: 2; display: flex; align-self: start; align-items: center; gap: 8px; min-width: 0; width: 100%; height: calc(46px * var(--rack-span) - 3px); padding: 0 9px; overflow: hidden; border: 1px solid #527b73; border-left: 4px solid #83c7a3; border-radius: 7px; background: linear-gradient(105deg, #284548, #21383e 55%, #1a3237); box-shadow: 0 3px 9px #0006, inset 0 1px #ffffff16; color: #e7f5e9; text-align: left; cursor: grab; }
.rack-mounted:hover { border-color: #a5e4a3; background: linear-gradient(105deg, #315557, #284a4d 55%, #203d43); }
.rack-mounted.selected { border-color: #b7ec8e; border-left-color: #b7ec8e; box-shadow: 0 0 0 2px #a9ed7650, 0 5px 14px #0008; }
.rack-face-icon { display: grid; place-items: center; flex: none; width: 27px; height: 27px; border: 1px solid #709a86; border-radius: 6px; color: #d1f5b8; background: #2e5147; }
.rack-face-copy { flex: 1; min-width: 0; }
.rack-face-copy strong, .rack-face-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rack-face-copy strong { font-size: 11px; font-weight: 800; }
.rack-face-copy small { margin-top: 2px; color: #a8c6b8; font-size: 9px; }
.rack-face-pattern { display: flex; flex: none; align-items: center; gap: 3px; max-width: 105px; }
.rack-face-pattern.jacks { display: grid; grid-template-columns: repeat(5, 12px); gap: 3px; }
.rack-face-pattern.jacks i { width: 12px; height: 8px; border: 1px solid #9bbbad; border-radius: 1px 1px 3px 3px; background: #102225; box-shadow: inset 0 2px #44695f; }
.rack-face-pattern.drives i { width: 16px; height: 23px; border: 1px solid #89aaa0; border-radius: 3px; background: linear-gradient(90deg, #172b2e, #345358 80%, #1b3438); }
.rack-face-pattern.power i { width: 17px; height: 10px; border-radius: 2px; background: #659e84; box-shadow: inset 0 2px #b4dfa9; }
.rack-face-pattern.vents i { width: 3px; height: 17px; background: #8eb1a6; }
.rack-face-pattern.cable-loops i { width: 12px; height: 14px; border: 2px solid #a4d5ab; border-radius: 6px; box-shadow: inset 0 0 0 2px #254a43; }
.rack-face-pattern.brush { gap: 2px; padding: 3px 5px; border: 1px solid #5e8275; border-radius: 3px; background: #172a2a; }
.rack-face-pattern.brush i { width: 2px; height: 13px; background: #a5baa9; }
.rack-face-pattern.blanking i { width: 92px; height: 15px; border: 1px solid #6d9689; border-radius: 3px; background: linear-gradient(#3c6259, #203c3b); box-shadow: inset 0 3px #779b8b, inset 0 -3px #152f2e; }
.rack-face-pattern.shelf { display: grid; grid-template-columns: repeat(4, 10px); gap: 4px 8px; padding: 4px 9px; border: 1px solid #63877d; border-radius: 3px; background: #1a3537; }
.rack-face-pattern.shelf i { width: 10px; height: 3px; border-radius: 2px; background: #90b2a1; }
.rack-face-pattern.outlets i { width: 14px; height: 16px; border: 1px solid #b7c0a8; border-radius: 3px; background: #122423; box-shadow: inset 0 3px #687d65; }
.rack-face-pattern.fans i { width: 19px; height: 19px; border: 2px solid #9cc4ae; border-radius: 50%; background: radial-gradient(circle, #a9d2b7 0 2px, #274742 3px 5px, #102728 6px); }
.rack-face-pattern.drawer i { width: 76px; height: 17px; border: 1px solid #7f9e91; border-radius: 3px; background: linear-gradient(#32534e, #203b3a); box-shadow: inset 0 -3px #132d2d; }
.rack-face-pattern.drawer i::after { content: ""; display: block; width: 22px; height: 3px; margin: 6px auto; border-radius: 2px; background: #c5d9c5; }
.rack-face-pattern.console i { width: 72px; height: 25px; border: 3px solid #708e87; border-radius: 4px; background: linear-gradient(120deg, #152f38, #33616c); box-shadow: inset 0 0 0 2px #12292e; }
.rack-face-end { display: grid; justify-items: center; gap: 3px; flex: none; width: 30px; }
.rack-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #7d928b; box-shadow: 0 0 0 3px #87988e25; }
.rack-live-dot.online { background: #a9ed76; box-shadow: 0 0 0 3px #a9ed7633, 0 0 10px #a9ed76; }
.rack-live-dot.offline { background: #f39386; box-shadow: 0 0 0 3px #f3938633; }
.rack-face-end small { color: #b2d1b7; font-size: 8px; white-space: nowrap; }
.rack-wire-overlay { position: absolute; z-index: 3; top: 0; right: 0; width: 34px; height: 100%; overflow: visible; pointer-events: none; }
.rack-wire-overlay path { fill: none; stroke-width: 1.6; opacity: .85; }
.rack-editor-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 14px; padding: 14px 22px 17px; color: #a5bdb0; font-size: 10px; }
.rack-editor-foot span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.rack-editor-foot i { width: 8px; height: 8px; border-radius: 2px; }
.rack-legend-device { background: #77b593; }
.rack-legend-empty { border: 1px dashed #6d9180; }
.rack-legend-cable { background: #a9ed76; }
.rack-editor-foot small { flex-basis: 100%; color: #8ea69b; font-size: 10px; }

.rack-inspector { padding: 20px; background: linear-gradient(155deg, #1b2d2d, #142125 65%); }
.rack-inspector-heading { display: flex; align-items: start; gap: 10px; min-width: 0; }
.rack-inspector-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid #648e71; border-radius: 10px; color: #c7efaf; background: #2e4b3d; }
.rack-inspector-heading > div { min-width: 0; }
.rack-inspector-heading .eyebrow { margin: 0 0 5px; }
.rack-inspector-heading h2 { overflow-wrap: anywhere; margin: 0; font-size: 18px; line-height: 1.2; letter-spacing: -.025em; }
.rack-inspector-heading span:not(.rack-inspector-icon) { display: block; margin-top: 5px; color: #9bb4a7; font-size: 11px; }
.rack-inspector-status { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 18px; }
.rack-inspector-status > span:last-child { color: #9ab5a4; font-size: 10px; }
.rack-item-tag { display: inline-flex; align-items: center; min-height: 24px; padding: 4px 8px; border: 1px solid #5d8068; border-radius: 6px; color: #c8ecb5; background: #294435; font-size: 10px; font-weight: 750; }
.rack-inspector-facts { display: grid; gap: 0; margin-top: 17px; border: 1px solid #35514b; border-radius: 10px; overflow: hidden; }
.rack-inspector-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 11px; border-top: 1px solid #35514b; font-size: 11px; }
.rack-inspector-facts > div:first-child { border-top: 0; }
.rack-inspector-facts span, .rack-capacity-line span { color: #91aba0; }
.rack-inspector-facts strong { max-width: 60%; overflow-wrap: anywhere; font-weight: 650; text-align: right; }
.rack-inspector-section-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 22px; }
.rack-inspector-section-head .eyebrow { margin: 0 0 4px; }
.rack-inspector-section-head strong { font-size: 13px; }
.rack-inspector-add { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #537a61; border-radius: 8px; background: #284332; color: #c7f3aa; }
.rack-inspector-add:hover { background: #3b6040; }
.rack-inspector-links { display: grid; gap: 6px; margin-top: 12px; }
.rack-inspector-link-row { display: flex; align-items: center; gap: 6px; }
.rack-inspector-link-row .rack-inspector-link { flex: 1; min-width: 0; }
.rack-inspector-link-row .icon-button { flex: none; }
.rack-inspector-link { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px; border: 1px solid #3c5c53; border-radius: 9px; background: #182c2d; color: #d8eadd; text-align: left; }
.rack-inspector-link:hover { border-color: #93c790; }
.rack-inspector-link > span:nth-child(2) { flex: 1; min-width: 0; }
.rack-inspector-link strong, .rack-inspector-link small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rack-inspector-link strong { font-size: 10px; }
.rack-inspector-link small { margin-top: 3px; color: #9ab3a5; font-size: 9px; }
.rack-link-line { width: 3px; height: 28px; border-radius: 3px; background: #a9ed76; }
.rack-inspector-muted { margin: 0; padding: 12px 0; color: #93aca1; font-size: 11px; line-height: 1.5; }
.rack-inspector-actions, .rack-inspector-rack-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.rack-inspector-actions .btn { min-height: 34px; padding: 7px 9px; font-size: 10px; }
.rack-inspector-blank { padding: 18px 4px 6px; color: #9db8a8; }
.rack-inspector-blank svg { color: #b1e793; }
.rack-inspector-blank h2 { margin: 12px 0 5px; color: #e9f7e8; font-size: 17px; }
.rack-inspector-blank p { margin: 0; font-size: 11px; line-height: 1.55; }
.rack-inspector-rack { margin-top: 23px; padding-top: 2px; border-top: 1px solid #3b554e; }
.rack-capacity-line { display: flex; justify-content: space-between; gap: 8px; margin: 15px 0 7px; font-size: 11px; }
.rack-capacity-line strong { color: #d9eadb; }
.rack-inspector-rack .progress { height: 6px; }
.rack-inspector-rack-actions { margin-top: 19px; }
.rack-inspector-rack-actions .btn { font-size: 10px; }
@media (max-width: 1200px) {
  .rack-workspace { grid-template-columns: minmax(205px, 245px) minmax(0, 1fr); }
  .rack-inspector { grid-column: 1/-1; }
}
@media (max-width: 720px) {
  .rack-workspace { grid-template-columns: minmax(0, 1fr); }
  .rack-inspector { grid-column: auto; }
  .rack-frame-scroll { margin: 0 14px; }
  .rack-editor-head { padding: 18px 14px 14px; }
  .rack-editor-stats { margin: 0 14px 14px; }
  .rack-editor-foot { padding: 13px 14px 16px; }
  .rack-placement-banner { margin: 0 14px 13px; }
}
@media (max-width: 430px) {
  .rack-face-pattern { display: none !important; }
  .rack-editor-stats strong { font-size: 14px; }
}

/* Rack equipment catalog */
.rack-equipment-modal { width: min(100%, 940px); max-height: 92vh; }
.rack-equipment-modal .modal-head { padding: 24px 27px 21px; }
.rack-equipment-modal .modal-head .eyebrow { margin: 0 0 7px; color: #b6e894; font-size: 10px; letter-spacing: .12em; }
.rack-equipment-modal .modal-head h2 { font-size: 25px; letter-spacing: -.035em; }
.rack-equipment-modal .modal-head p:not(.eyebrow) { font-size: 13px; }
.rack-equipment-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(350px, 1fr); min-height: 520px; }
.rack-equipment-catalog { max-height: calc(92vh - 110px); overflow-y: auto; padding: 22px 17px 23px 22px; border-right: 1px solid #365049; background: radial-gradient(circle at 5% 0%, #3b6b4930, transparent 45%), #142523; scrollbar-color: #547760 #142523; }
.rack-equipment-catalog > .eyebrow { margin: 0 0 13px 5px; color: #9bbc9d; font-size: 10px; letter-spacing: .12em; }
.rack-equipment-preset-list { display: grid; gap: 7px; }
.rack-equipment-group { margin: 9px 0 0 5px; color: #7f9f8b; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rack-equipment-group:first-child { margin-top: 0; }
.rack-equipment-preset { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 62px; padding: 9px 11px; border: 1px solid #36554e; border-radius: 11px; background: #1a302e; color: #e4f2e8; text-align: left; cursor: pointer; }
.rack-equipment-preset:hover, .rack-equipment-preset:focus-visible { outline: none; border-color: #8fbd7c; background: #27453a; }
.rack-equipment-preset.selected { border-color: #a9ed76; background: linear-gradient(110deg, #2e503d, #203b35); box-shadow: inset 3px 0 #b9ec8e; }
.rack-equipment-preset-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border: 1px solid #5d8868; border-radius: 8px; color: #c4eda9; background: #31513e; }
.rack-equipment-preset > span:nth-child(2) { min-width: 0; flex: 1; }
.rack-equipment-preset strong, .rack-equipment-preset small { display: block; }
.rack-equipment-preset strong { font-size: 12px; }
.rack-equipment-preset small { overflow: hidden; margin-top: 3px; color: #9ab5a4; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.rack-equipment-preset-face { display: grid; place-items: center; width: 96px; height: 31px; flex: none; overflow: hidden; border: 2px solid #54766a; border-radius: 5px; background: #1b3535; }
.rack-equipment-preset-face .rack-face-pattern { transform: scale(.8); }
.rack-equipment-config { min-width: 0; padding: 24px 26px 23px; }
.rack-equipment-selected { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 14px; border: 1px solid #567662; border-radius: 12px; background: linear-gradient(120deg, #2a4937, #1d3533); }
.rack-equipment-selected > span { display: grid; place-items: center; width: 43px; height: 43px; flex: none; border: 1px solid #6b9a71; border-radius: 10px; color: #c8f0ad; background: #365844; }
.rack-equipment-selected > div { min-width: 0; }
.rack-equipment-selected .eyebrow { margin: 0 0 3px; color: #a9cc9c; font-size: 9px; }
.rack-equipment-selected strong { display: block; color: #eef9e9; font-size: 15px; }
.rack-equipment-selected small { display: block; margin-top: 3px; color: #abc8af; font-size: 11px; }
.rack-equipment-config .form-grid { gap: 14px; }
.rack-equipment-form-foot > p { margin: 16px 0 0; color: #96afa4; font-size: 11px; line-height: 1.5; }
.rack-equipment-error { margin-top: 12px; padding: 10px 12px; border: 1px solid #aa695d; border-radius: 8px; background: #4b302d; color: #ffe0d7; font-size: 12px; line-height: 1.45; }
.rack-equipment-config .form-actions { margin-top: 18px; padding-top: 17px; }
.rack-equipment-device-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 17px; padding: 3px 0; border: 0; background: transparent; color: #b9e999; font-size: 11px; font-weight: 700; text-align: left; }
.rack-equipment-device-link:hover { color: #efffe2; }
@media (max-width: 760px) {
  .rack-equipment-layout { display: block; }
  .rack-equipment-catalog { max-height: 235px; padding: 17px; border-right: 0; border-bottom: 1px solid #365049; }
  .rack-equipment-config { padding: 20px; }
  .rack-equipment-modal .modal-head { padding: 20px; }
}
@media (max-width: 520px) {
  .rack-equipment-preset-face { display: none; }
  .rack-equipment-modal .form-grid { grid-template-columns: 1fr; }
  .rack-equipment-modal .field.full { grid-column: auto; }
  .rack-equipment-config .form-actions { flex-direction: column-reverse; }
  .rack-equipment-config .form-actions button { width: 100%; }
}
@media (max-width: 760px) {
  .agent-activity-head { flex-wrap: wrap; padding: 20px 18px; }
  .agent-activity-head .btn { width: 100%; justify-content: center; }
  .agent-activity-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agent-activity-summary > div { padding: 13px 16px; }
  .agent-activity-summary > div:nth-child(2) { border-right: 0; }
  .agent-activity-summary > div:nth-child(-n+2) { border-bottom: 1px solid #355048; }
  .agent-activity-guidance, .agent-activity-error { margin: 15px 17px 0; }
  .agent-activity-toolbar { flex-wrap: wrap; padding: 18px 17px 13px; }
  .agent-event-list { padding: 0 17px 18px; }
}
@media (max-width: 520px) {
  .agent-event-meta time { width: 100%; margin-left: 0; }
  .topology-empty-actions { width: 100%; }
  .topology-empty-actions .btn { flex: 1 1 100%; justify-content: center; }
  .switch-identity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Read-only, automatically built connection evidence */
.observed-map { overflow: hidden; margin-bottom: 18px; border-color: #496b5a; background: radial-gradient(circle at 83% -30%, #467e5933, transparent 38%), #132326; }
.observed-map-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; padding: 24px 27px 21px; }
.observed-map-head .eyebrow { margin: 0 0 7px; color: #b9ed92; }
.observed-map-head h2 { margin: 0 0 6px; color: #eff8ee; font-size: 23px; letter-spacing: -.035em; }
.observed-map-head p:not(.eyebrow) { max-width: 650px; margin: 0; color: #abc1b5; font-size: 12px; line-height: 1.55; }
.observed-map-actions { display: flex; align-items: center; gap: 18px; }
.observed-map-actions .btn { white-space: nowrap; }
.observed-map-count { display: grid; justify-items: end; min-width: 95px; color: #a8beae; }
.observed-map-count strong { color: #c9f3ab; font-size: 27px; line-height: 1; }
.observed-map-count span { margin-top: 5px; font-size: 10px; white-space: nowrap; }
.observed-map-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; padding: 12px 27px; border-top: 1px solid #36524a; border-bottom: 1px solid #36524a; background: #1a302d; color: #c6d9ca; font-size: 11px; }
.observed-map-summary > span { display: inline-flex; align-items: center; gap: 7px; }
.observed-map-summary small { margin-left: auto; color: #9bb6a5; font-size: 10px; }
.observed-map-summary .observed-map-alert { padding: 5px 7px; border: 1px solid #a57d54; border-radius: 6px; background: #44372a; color: #f0d2a3; font-size: 10px; }
.observed-key { width: 18px; height: 3px; border-radius: 3px; }
.observed-key.neighbor { background: #a9ed76; }
.observed-key.possible { height: 0; border-top: 2px dashed #e5ba78; }
.observed-map-layout { display: grid; grid-template-columns: 218px minmax(0, 1fr); min-height: 350px; }
.observed-map-switches { overflow-y: auto; max-height: 1100px; padding: 15px 11px; border-right: 1px solid #36524a; background: #142522; }
.observed-map-switches-head { display: flex; justify-content: space-between; padding: 2px 10px 12px; color: #d9e9d7; font-size: 11px; }
.observed-map-switches-head span { color: #97b29d; }
.observed-switch { display: flex; align-items: center; gap: 9px; width: 100%; margin-bottom: 5px; padding: 11px 9px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #e5f1e8; text-align: left; cursor: pointer; }
.observed-switch:hover, .observed-switch.selected { border-color: #719d70; background: #284337; }
.observed-switch.selected { box-shadow: inset 3px 0 #b9ed8e; }
.observed-switch-icon { display: grid; place-items: center; width: 29px; height: 29px; flex: none; border-radius: 8px; background: #304c3e; color: #b7ed99; }
.observed-switch > span:nth-child(2) { min-width: 0; flex: 1; }
.observed-switch strong, .observed-switch small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.observed-switch strong { font-size: 12px; }
.observed-switch small { margin-top: 3px; color: #a4b9aa; font-size: 9px; }
.observed-switch em { display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 4px; border-radius: 7px; background: #355641; color: #c8ebac; font-size: 10px; font-style: normal; }
.observed-map-stage { min-width: 0; padding: 0 0 12px; }
.observed-map-scroll { overflow: auto; max-height: 980px; scrollbar-color: #537867 #172b29; }
.observed-map-canvas { position: relative; width: 970px; min-width: 970px; background-image: radial-gradient(#42614955 .7px, transparent .7px); background-size: 17px 17px; }
.observed-map-side-label { position: absolute; top: 18px; color: #84a394; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.observed-map-side-label.source { left: 40px; }
.observed-map-side-label.peer { left: 595px; }
.observed-map-lines { position: absolute; inset: 0; width: 970px; height: 100%; overflow: visible; pointer-events: none; }
.observed-wire { fill: none; stroke: #a9ed76; stroke-width: 2.5; filter: drop-shadow(0 0 5px #a9ed7655); }
.observed-wire.possible { stroke: #e6b778; stroke-width: 2; stroke-dasharray: 7 7; filter: none; }
.observed-wire.stale { opacity: .42; }
.observed-source { position: absolute; left: 40px; display: grid; width: 255px; min-height: 116px; padding: 11px 14px 12px; border: 1px solid #88bb80; border-radius: 13px; background: linear-gradient(135deg, #2b4a3b, #1b3331); box-shadow: 0 12px 26px #08151088; }
.observed-source > span { position: absolute; top: 13px; right: 14px; color: #c6f3a8; }
.observed-source small { color: #b5e394; font-size: 9px; font-weight: 800; letter-spacing: .11em; }
.observed-source strong { overflow: hidden; margin-top: 5px; color: #f0f8ec; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.observed-source p { overflow: hidden; margin: 3px 0; color: #bfd2bf; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.observed-source code { color: #a5cfb4; font-size: 10px; }
.observed-source.stale { border-color: #708676; }
.observed-peer { position: absolute; left: 590px; width: 346px; min-height: 98px; padding: 11px 13px; border: 1px solid #5c886e; border-radius: 11px; background: #203832; box-shadow: 0 9px 20px #08171366; }
.observed-peer.possible { border-color: #9b815a; background: #353329; }
.observed-peer.stale { opacity: .72; }
.observed-peer-top, .observed-peer-foot, .observed-peer-ports { display: flex; justify-content: space-between; align-items: center; gap: 9px; }
.observed-peer-name { display: inline-flex; align-items: center; gap: 7px; min-width: 0; color: #e9f4e7; }
.observed-peer-name svg { flex: none; color: #b8e99f; }
.observed-peer-name strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.observed-protocol { padding: 4px 6px; border-radius: 5px; background: #3b6048; color: #d3f3b8; font-size: 8px; font-weight: 800; letter-spacing: .05em; }
.observed-protocol.possible { background: #68543d; color: #f4d7a8; }
.observed-peer-ports { justify-content: start; margin-top: 9px; color: #d2e3d5; font-size: 11px; }
.observed-peer-ports span { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.observed-peer-ports i { color: #98c98b; font-style: normal; }
.observed-peer-foot { margin-top: 9px; color: #9db7a7; }
.observed-peer-foot small { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.observed-peer-foot button { display: inline-flex; align-items: center; gap: 2px; padding: 0; border: 0; background: none; color: #c6ef9e; font-size: 10px; font-weight: 700; cursor: pointer; }
.observed-peer-foot button:hover { color: #efffde; }
.observed-saved { color: #b4d7a4; font-size: 9px; }
.observed-map-paging { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 16px 0; color: #9eb7a8; font-size: 10px; }
.observed-map-paging > div { display: flex; gap: 6px; }
.observed-map-no-links, .observed-map-empty { display: grid; justify-items: center; align-content: center; gap: 10px; min-height: 340px; padding: 30px 20px; color: #a8bdb0; text-align: center; }
.observed-map-empty { min-height: 260px; border-top: 1px solid #36524a; }
.observed-map-no-links svg, .observed-map-empty svg { color: #b9e695; }
.observed-map-no-links strong, .observed-map-empty strong { color: #e6f2e6; font-size: 13px; }
.observed-map-no-links p, .observed-map-empty p { max-width: 450px; margin: 0; font-size: 11px; line-height: 1.5; }
.observed-map-caption { margin: 0; padding: 13px 27px 16px; border-top: 1px solid #36524a; color: #9db4a6; font-size: 10px; line-height: 1.5; }
@media (max-width: 780px) {
  .observed-map-head { padding: 20px; }
  .observed-map-head h2 { font-size: 19px; }
  .observed-map-summary { padding: 12px 20px; }
  .observed-map-layout { grid-template-columns: 1fr; }
  .observed-map-switches { display: flex; gap: 6px; overflow-x: auto; max-height: none; padding: 10px 13px; border-right: 0; border-bottom: 1px solid #36524a; }
  .observed-map-switches-head { display: none; }
  .observed-switch { min-width: 185px; margin: 0; }
  .observed-map-caption { padding: 13px 20px; }
}
@media (max-width: 530px) {
  .observed-map-head { flex-wrap: wrap; }
  .observed-map-actions { width: 100%; justify-content: space-between; }
  .observed-map-count { display: flex; align-items: baseline; gap: 7px; }
  .observed-map-summary small { width: 100%; margin-left: 0; }
  .observed-map-paging { flex-wrap: wrap; }
}
