: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;
  }
  .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;
  }
  .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;
  }
}
.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 */
.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; }
@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-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 h3 { margin: 0 0 3px; font-size: 17px; }
.switch-data-head p { margin: 0; font-size: 11px; color: #8ea6a0; }
.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; }
.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; }
.snmp-target { overflow: hidden; border: 1px solid #365151; border-radius: 14px; background: #142227; }
.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); }
  .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;
}

/* 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-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 { 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-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%; }
}
