@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/geist-001175b1.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/geist-98bbbccb.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/geist-mono-44745446.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/geist-mono-013b2f2f.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-geist-sans: "Geist";
  --font-geist-mono: "Geist Mono";
  --font-ui: var(--font-geist-sans, -apple-system), -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #070b12;
}

body {
  margin: 0;
  width: 100%;
  height: 100%;
  min-width: 320px;
  min-height: 0;
  overflow: hidden;
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.os-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark .os-icon { width: 20px; height: 20px; }
.search-trigger > .os-icon { width: 17px; height: 17px; }
.icon-button > .os-icon { width: 19px; height: 19px; }
.user-button > .os-icon { width: 15px; height: 15px; }
.module-icon .os-icon { width: 22px; height: 22px; }
.module-arrow .os-icon { width: 19px; height: 19px; }
.dock-icon .os-icon { width: 26px; height: 26px; }
.panel-module-icon .os-icon { width: 28px; height: 28px; }
.result-icon .os-icon { width: 18px; height: 18px; }
.window-control .os-icon { width: 9px; height: 9px; }
.login-brand-mark .os-icon { width: 23px; height: 23px; }
.orbit-core .os-icon { width: 38px; height: 38px; }
.orbit-node .os-icon { width: 16px; height: 16px; }
.auth-device .os-icon { width: 35px; height: 35px; }
.unlock-orb .os-icon { width: 42px; height: 42px; }

button:focus-visible,
input:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-main) 40%, transparent);
  outline-offset: 3px;
}

.os-shell {
  --accent-main: #4d8dff;
  --accent-rgb: 77, 141, 255;
  --bg: #070b12;
  --bg-soft: #0b111c;
  --surface: rgba(18, 25, 39, 0.72);
  --surface-solid: #121a28;
  --surface-bright: rgba(30, 40, 58, 0.8);
  --surface-hover: rgba(35, 46, 65, 0.85);
  --panel: rgba(13, 19, 31, 0.94);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f6f8fc;
  --text-soft: #aeb8c9;
  --text-muted: #768399;
  --shadow-soft: 0 22px 70px rgba(0, 0, 0, 0.22);
  --shadow-card: 0 15px 40px rgba(0, 0, 0, 0.16);
  color-scheme: dark;
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -25%, rgba(58, 105, 199, 0.16), transparent 46%),
    linear-gradient(180deg, #09101b 0%, var(--bg) 38%, #080c14 100%);
  transition: color 240ms ease, background 240ms ease;
}

.os-shell[data-theme="light"] {
  --bg: #eef2f8;
  --bg-soft: #e8edf5;
  --surface: rgba(255, 255, 255, 0.68);
  --surface-solid: #ffffff;
  --surface-bright: rgba(255, 255, 255, 0.9);
  --surface-hover: rgba(255, 255, 255, 0.98);
  --panel: rgba(249, 251, 255, 0.96);
  --line: rgba(28, 43, 68, 0.1);
  --line-strong: rgba(28, 43, 68, 0.16);
  --text: #152033;
  --text-soft: #56657a;
  --text-muted: #8290a3;
  --shadow-soft: 0 22px 70px rgba(43, 66, 102, 0.14);
  --shadow-card: 0 15px 40px rgba(50, 70, 102, 0.09);
  color-scheme: light;
  background:
    radial-gradient(circle at 50% -20%, rgba(83, 137, 255, 0.2), transparent 46%),
    linear-gradient(180deg, #f9fbff 0%, var(--bg) 42%, #edf2f8 100%);
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.22;
  pointer-events: none;
}

.ambient-one {
  top: 12%;
  right: -12rem;
  width: 28rem;
  height: 28rem;
  background: #325fae;
}

.ambient-two {
  bottom: -10rem;
  left: -13rem;
  width: 31rem;
  height: 31rem;
  background: #4c2e90;
  opacity: 0.12;
}

.topbar {
  position: relative;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: saturate(150%) blur(26px);
  backdrop-filter: saturate(150%) blur(26px);
}

.topbar-inner {
  width: min(1840px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand,
.nav-item,
.search-trigger,
.icon-button,
.user-button,
.section-heading button,
.mini-button,
.control-action,
.dock button,
.dock a,
.module-card,
.close-button,
.modal-footer button,
.result-group button,
.alert-list button,
.panel-actions button,
.panel-actions a,
.user-menu button,
.user-menu a,
.terminal-title-actions button,
.terminal-tools button,
.terminal-console header button,
.terminal-prompt button {
  border: 0;
  cursor: pointer;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 11px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), transparent 38%),
    linear-gradient(145deg, #76aaff 0%, #3979ef 48%, #2458bb 100%);
  box-shadow: 0 9px 22px rgba(45, 104, 219, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.15);
}

.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 5px;
  letter-spacing: -0.02em;
}

.brand-copy strong {
  font-size: 17px;
  font-weight: 690;
}

.brand-copy span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.05em;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 52%, transparent);
}

.nav-item {
  min-height: 32px;
  padding: 0 14px;
  color: var(--text-muted);
  border-radius: 8px;
  background: transparent;
  font-size: 13px;
  font-weight: 570;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  text-decoration: none;
}

.nav-item:hover {
  color: var(--text);
}

.nav-item.active {
  color: var(--text);
  background: var(--surface-bright);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), inset 0 0 0 1px var(--line);
}

.top-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-trigger {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 0 11px;
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-size: 12px;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.search-trigger:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--surface-bright);
}

.search-trigger kbd {
  min-width: 35px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: var(--text-muted);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: color-mix(in srgb, var(--bg) 54%, transparent);
  font-size: 10px;
  font-family: var(--font-ui);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.icon-button,
.mini-button,
.close-button {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--text-soft);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.icon-button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.icon-button:hover,
.icon-button.is-active,
.mini-button:hover,
.close-button:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--surface-bright);
}

.alert-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  color: white;
  border: 2px solid var(--bg);
  border-radius: 999px;
  background: #ff5364;
  font-size: 9px;
  font-weight: 760;
  box-shadow: 0 4px 9px rgba(255, 56, 78, 0.28);
}

.user-area {
  position: relative;
}

.user-button {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px 0 5px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  transition: border-color 160ms ease, background 160ms ease;
}

.user-button:hover,
.user-button.is-active {
  border-color: var(--line);
  background: var(--surface);
}

.avatar {
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #e9f1ff;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 10px;
  background: linear-gradient(145deg, #476897, #253752);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.03em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.os-shell[data-theme="light"] .avatar {
  color: #2c4d77;
  border-color: rgba(53, 92, 143, 0.15);
  background: linear-gradient(145deg, #e4efff, #c8d9ef);
}

.avatar-large {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-size: 12px;
}

.user-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  min-width: 78px;
}

.user-copy strong {
  font-size: 12px;
  font-weight: 650;
}

.user-copy small {
  margin-top: 1px;
  color: var(--text-muted);
  font-size: 9px;
}

.user-button > svg {
  color: var(--text-muted);
}

.user-menu {
  position: absolute;
  z-index: 70;
  top: calc(100% + 10px);
  right: 0;
  width: 242px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--panel);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  backdrop-filter: blur(28px) saturate(140%);
  box-shadow: var(--shadow-soft);
  transform-origin: top right;
  animation: menu-in 160ms ease-out;
}

.menu-profile {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 7px 9px;
}

.menu-profile > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.menu-profile strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-profile small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 10px;
}

.menu-divider {
  height: 1px;
  margin: 5px 3px;
  background: var(--line);
}

.user-menu button,
.user-menu a {
  width: 100%;
  height: 37px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  color: var(--text-soft);
  border-radius: 9px;
  background: transparent;
  font-size: 12px;
  text-align: left;
  transition: color 150ms ease, background 150ms ease;
  text-decoration: none;
}

.user-menu button:hover,
.user-menu a:hover {
  color: var(--text);
  background: var(--surface-bright);
}

.user-menu .danger-item {
  color: #ff7582;
}

.user-menu form {
  margin: 0;
}

.main-content {
  width: min(1800px, calc(100% - 36px));
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: clamp(18px, 2.7vh, 30px) 0 clamp(98px, 12vh, 120px);
  display: block;
  overflow: hidden;
}

.desktop-layout {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(430px, 27vw, 520px);
  align-items: stretch;
  gap: clamp(22px, 1.7vw, 32px);
}

.primary-workspace {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.welcome {
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  padding: 0 4px clamp(15px, 2.2vh, 22px);
  animation: stage-rise 520ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 560;
}

.environment-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 25px;
  padding: 0 9px;
  color: #79d7a4;
  border: 1px solid rgba(77, 211, 135, 0.16);
  border-radius: 999px;
  background: rgba(51, 190, 110, 0.08);
}

.environment-pill > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #54d78c;
  box-shadow: 0 0 0 4px rgba(84, 215, 140, 0.1), 0 0 9px rgba(84, 215, 140, 0.42);
}

.eyebrow-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.6;
}

.updated-copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.welcome h1 {
  margin: 0;
  font-size: clamp(38px, 3.5vw, 56px);
  font-weight: 640;
  line-height: 1.06;
  letter-spacing: -0.046em;
}

.welcome p {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.012em;
}

.hero-status {
  min-width: 300px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 3px;
  padding: 14px 17px 14px 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
}

.status-orb {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #dfffee;
  border: 1px solid rgba(124, 237, 168, 0.2);
  border-radius: 12px;
  background: linear-gradient(145deg, #40ca79, #1e9e59);
  box-shadow: 0 7px 18px rgba(34, 178, 99, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.hero-status div {
  display: flex;
  flex-direction: column;
}

.hero-status strong {
  font-size: 13px;
  font-weight: 650;
}

.hero-status span:last-child {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 11px;
}

.summary-strip {
  flex: 0 0 clamp(64px, 8.4vh, 78px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 44%),
    var(--surface);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  backdrop-filter: blur(22px) saturate(125%);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.025);
  animation: stage-rise 560ms 70ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.summary-item {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
}

.summary-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 0;
  width: 1px;
  height: 60%;
  background: var(--line);
}

.summary-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 12px;
}

.summary-icon.success { color: #62d996; background: rgba(52, 197, 112, 0.08); border-color: rgba(98, 217, 150, 0.16); }
.summary-icon.blue { color: #71a6ff; background: rgba(74, 132, 235, 0.09); border-color: rgba(113, 166, 255, 0.17); }
.summary-icon.amber { color: #f4bd63; background: rgba(234, 162, 49, 0.09); border-color: rgba(244, 189, 99, 0.17); }
.summary-icon.violet { color: #bb92ff; background: rgba(144, 84, 232, 0.1); border-color: rgba(187, 146, 255, 0.17); }

.summary-item div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.summary-item strong {
  font-size: 16px;
  font-weight: 660;
  letter-spacing: -0.02em;
}

.summary-item div span {
  overflow: hidden;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex: 0 0 auto;
  padding: clamp(14px, 2.1vh, 22px) 3px clamp(11px, 1.5vh, 15px);
  animation: stage-rise 540ms 120ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.section-kicker {
  margin: 0 0 5px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 690;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2,
.control-header h3 {
  margin: 0;
  font-weight: 630;
  letter-spacing: -0.03em;
}

.section-heading h2 {
  font-size: 27px;
}

.section-title-row {
  display: flex;
  align-items: baseline;
  gap: 11px;
}

.section-title-row > span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 590;
}

.section-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-heading .all-apps-button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 6px 2px 6px 10px;
  color: #73a8ff;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
}

.section-heading .all-apps-button:hover {
  color: #9ac0ff;
}

.carousel-navigation {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.carousel-navigation > button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--text-soft);
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.carousel-navigation > button:hover {
  color: var(--text);
  background: var(--surface-bright);
  transform: scale(1.04);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.carousel-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--text-muted);
  opacity: 0.38;
  cursor: pointer;
  transition: width 240ms ease, opacity 240ms ease, background 240ms ease;
}

.carousel-dots button.is-active {
  width: 18px;
  background: #73a8ff;
  opacity: 1;
}

.module-carousel {
  min-width: 0;
  min-height: 0;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
}

.carousel-viewport {
  min-width: 0;
  min-height: 0;
  flex: 1 1 0;
  overflow: hidden;
  border-radius: 21px;
  touch-action: pan-y;
}

.carousel-track {
  width: 100%;
  height: 100%;
  display: flex;
  will-change: transform;
  transition: transform 560ms cubic-bezier(0.22, 0.78, 0.2, 1);
}

.module-page {
  min-width: 100%;
  height: 100%;
  flex: 0 0 100%;
}

.module-grid {
  --page-columns: 3;
  --page-rows: 3;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(var(--page-columns), minmax(0, 1fr));
  grid-template-rows: repeat(var(--page-rows), minmax(0, 1fr));
  gap: clamp(10px, 1vw, 15px);
}

.carousel-hint {
  flex: 0 0 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 5px;
  color: var(--text-muted);
  font-size: 8px;
  font-weight: 560;
  letter-spacing: 0.015em;
}

.module-card {
  --module-color: 91, 147, 255;
  position: relative;
  isolation: isolate;
  min-width: 0;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  grid-template-rows: minmax(0, 1fr) auto;
  column-gap: 12px;
  row-gap: 8px;
  align-items: center;
  overflow: hidden;
  padding: clamp(11px, 1vw, 15px);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 17px;
  background:
    radial-gradient(circle at 17% 2%, rgba(var(--module-color), 0.13), transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 55%),
    var(--surface);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  backdrop-filter: blur(20px) saturate(120%);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.025);
  text-align: left;
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease, background 190ms ease;
  animation: card-rise 520ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  text-decoration: none;
}

.module-card:nth-child(1) { animation-delay: 150ms; }
.module-card:nth-child(2) { animation-delay: 185ms; }
.module-card:nth-child(3) { animation-delay: 220ms; }
.module-card:nth-child(4) { animation-delay: 255ms; }
.module-card:nth-child(5) { animation-delay: 290ms; }
.module-card:nth-child(6) { animation-delay: 325ms; }
.module-card:nth-child(7) { animation-delay: 360ms; }
.module-card:nth-child(8) { animation-delay: 395ms; }
.module-card:nth-child(9) { animation-delay: 430ms; }

.module-card:hover {
  z-index: 2;
  border-color: rgba(var(--module-color), 0.26);
  background:
    radial-gradient(circle at 17% 2%, rgba(var(--module-color), 0.18), transparent 48%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 55%),
    var(--surface-hover);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(var(--module-color), 0.06);
  transform: translateY(-3px);
}

.os-shell[data-theme="light"] .module-card:hover {
  box-shadow: 0 20px 48px rgba(61, 82, 118, 0.14), 0 0 0 1px rgba(var(--module-color), 0.08);
}

.module-card-shine {
  position: absolute;
  z-index: -1;
  top: -60%;
  left: -20%;
  width: 70%;
  height: 120%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.055), transparent);
  transform: rotate(17deg) translateX(-80%);
  transition: transform 520ms ease;
}

.module-card-glow {
  position: absolute;
  z-index: -1;
  top: -35%;
  right: -30%;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(var(--module-color), 0.12);
  filter: blur(52px);
  opacity: 0.72;
  transition: opacity 220ms ease, transform 400ms ease;
}

.module-card:hover .module-card-glow {
  opacity: 1;
  transform: translate(-5%, 7%) scale(1.12);
}

.module-card:hover .module-card-shine {
  transform: rotate(17deg) translateX(230%);
}

.accent-blue { --module-color: 68, 139, 255; }
.accent-violet { --module-color: 153, 100, 255; }
.accent-green { --module-color: 55, 203, 118; }
.accent-pink { --module-color: 237, 82, 157; }
.accent-cyan { --module-color: 52, 200, 226; }
.accent-orange { --module-color: 245, 145, 55; }
.accent-red { --module-color: 245, 82, 94; }
.accent-indigo { --module-color: 98, 111, 240; }
.accent-teal { --module-color: 35, 194, 166; }
.accent-amber { --module-color: 232, 184, 55; }
.accent-navy { --module-color: 68, 118, 207; }

.module-topline {
  display: contents;
}

.module-icon,
.dock-icon,
.result-icon,
.panel-module-icon {
  color: rgb(var(--module-color));
}

.module-icon {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--module-color), 0.23);
  border-radius: 13px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 45%),
    rgba(var(--module-color), 0.13);
  box-shadow: 0 10px 22px rgba(var(--module-color), 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.module-arrow {
  grid-column: 3;
  grid-row: 1;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-radius: 9px;
  transition: color 170ms ease, background 170ms ease, border-color 170ms ease, transform 170ms ease;
}

.module-card:hover .module-arrow {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  transform: translateX(2px);
}

.module-copy {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin-top: 0;
}

.module-copy strong {
  overflow: hidden;
  font-size: clamp(16px, 1.15vw, 19px);
  font-weight: 650;
  letter-spacing: -0.026em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-copy > span {
  overflow: hidden;
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 10px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-footer {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 0;
  padding-top: 7px;
  border-top: 1px solid var(--line);
}

.module-footer > span,
.panel-title > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-soft);
  font-size: 9px;
  font-weight: 570;
}

.module-footer small {
  min-width: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.state-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
}

.state-operacional { background: #4bd184; box-shadow: 0 0 0 3px rgba(75, 209, 132, 0.09); }
.state-atenção { background: #f1b44d; box-shadow: 0 0 0 3px rgba(241, 180, 77, 0.09); }
.state-degradado { background: #ef5a68; box-shadow: 0 0 0 3px rgba(239, 90, 104, 0.09); }
.state-disponivel { background: #4bd184; box-shadow: 0 0 0 3px rgba(75, 209, 132, 0.09); }

.control-card {
  position: relative;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(23px, 1.8vw, 32px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(78, 130, 228, 0.1), transparent 43%),
    var(--surface);
  -webkit-backdrop-filter: blur(22px) saturate(120%);
  backdrop-filter: blur(22px) saturate(120%);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.025);
  animation: stage-rise 590ms 230ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.control-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.control-header h3 {
  font-size: clamp(21px, 1.5vw, 25px);
}

.control-status {
  width: 100%;
  min-width: 0;
  min-height: 62px;
  flex: 0 0 auto;
  justify-content: flex-start;
  margin: clamp(14px, 1.8vh, 19px) 0 0;
  padding: 11px 13px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.control-status:hover {
  border-color: rgba(90, 218, 145, 0.22);
  background: color-mix(in srgb, var(--surface-hover) 88%, rgba(47, 183, 109, 0.12));
  transform: translateY(-1px);
}

.control-status > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.control-status strong {
  font-size: 13px;
  font-weight: 660;
}

.control-status small {
  overflow: hidden;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.control-status > svg {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--text-muted);
}

.mini-button,
.close-button {
  width: 33px;
  height: 33px;
  border-radius: 10px;
}

.health-block {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: clamp(17px, 2.3vh, 24px) 2px clamp(14px, 1.8vh, 19px);
}

.health-ring {
  position: relative;
  flex: 0 0 auto;
  width: clamp(90px, 7vw, 108px);
  height: clamp(90px, 7vw, 108px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#4dd38b 0deg 360deg);
  box-shadow: 0 9px 27px rgba(44, 189, 111, 0.12);
}

.health-ring::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-solid);
  box-shadow: inset 0 3px 12px rgba(0, 0, 0, 0.13);
}

.health-ring div {
  z-index: 1;
  display: flex;
  align-items: baseline;
}

.health-ring strong {
  font-size: clamp(27px, 2vw, 32px);
  font-weight: 690;
  letter-spacing: -0.05em;
}

.health-ring span {
  margin-left: 1px;
  color: var(--text-muted);
  font-size: 11px;
}

.health-copy {
  display: flex;
  flex-direction: column;
}

.health-copy strong {
  font-size: 14px;
  font-weight: 650;
}

.health-copy span {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.5;
}

.health-copy .health-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #68d89a;
  font-size: 11px;
  font-weight: 630;
}

.control-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-bottom: clamp(10px, 1.3vh, 14px);
}

.control-metrics article {
  min-width: 0;
  min-height: clamp(70px, 8vh, 88px);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-bright) 58%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.control-metric-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 9px;
}

.control-metric-icon.blue { color: #78aaff; background: rgba(74, 132, 235, 0.08); border-color: rgba(120, 170, 255, 0.17); }
.control-metric-icon.amber { color: #f4bd63; background: rgba(234, 162, 49, 0.08); border-color: rgba(244, 189, 99, 0.17); }
.control-metric-icon.violet { color: #bb92ff; background: rgba(144, 84, 232, 0.09); border-color: rgba(187, 146, 255, 0.17); }

.control-metrics article > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.control-metrics strong {
  font-size: 15px;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.control-metrics article > div > span {
  overflow: hidden;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 9px;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.control-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: clamp(13px, 1.8vh, 18px) 5px 8px;
}

.control-section-heading span {
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 640;
}

.control-section-heading small {
  color: var(--text-muted);
  font-size: 9px;
}

.control-divider {
  height: 1px;
  background: var(--line);
}

.service-list {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 7px 0;
}

.service-list > div {
  min-width: 0;
  min-height: clamp(30px, 4.1vh, 39px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: color-mix(in srgb, var(--surface-bright) 38%, transparent);
}

.service-list > div:hover {
  background: rgba(255, 255, 255, 0.025);
}

.service-list span,
.service-list strong {
  display: inline-flex;
  align-items: center;
}

.service-list > div > span {
  min-width: 0;
  gap: 8px;
  color: var(--text-soft);
  font-size: 10px;
}

.service-list > div > span svg {
  flex: 0 0 auto;
}

.service-list strong {
  gap: 6px;
  font-size: 10px;
  font-weight: 590;
}

.service-list svg {
  color: var(--text-muted);
}

.service-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.service-dot.green { background: #4bd184; }
.service-dot.amber { background: #efb54f; }
.service-dot.red { background: #ef5a68; }
.service-dot.muted { background: var(--text-muted); opacity: 0.55; }

.control-action {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: auto;
  color: #8ab6ff;
  border: 1px solid rgba(93, 151, 245, 0.14);
  border-radius: 11px;
  background: rgba(70, 128, 226, 0.08);
  font-size: 11px;
  font-weight: 600;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.control-action:hover {
  color: #b2ceff;
  border-color: rgba(93, 151, 245, 0.23);
  background: rgba(70, 128, 226, 0.13);
}

.dock {
  position: fixed;
  z-index: 40;
  bottom: clamp(13px, 2.3vh, 22px);
  left: 50%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: color-mix(in srgb, var(--panel) 82%, transparent);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
  backdrop-filter: blur(28px) saturate(145%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateX(-50%);
  animation: dock-rise 650ms 260ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.os-shell[data-theme="light"] .dock {
  box-shadow: 0 18px 50px rgba(49, 68, 98, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.dock button,
.dock a {
  position: relative;
  padding: 0;
  border-radius: 16px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.dock button::before,
.dock a::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  padding: 6px 8px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--panel);
  font-size: 9px;
  white-space: nowrap;
  box-shadow: 0 8px 23px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.dock button:hover::before,
.dock a:hover::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

.dock-icon {
  width: clamp(58px, 4.3vw, 66px);
  height: clamp(58px, 4.3vw, 66px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--module-color), 0.17);
  border-radius: 19px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 45%),
    rgba(var(--module-color), 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 9px 20px rgba(0, 0, 0, 0.12);
  transition: transform 210ms cubic-bezier(0.2, 0.8, 0.2, 1), background 180ms ease, box-shadow 180ms ease;
}

.dock button:hover .dock-icon,
.dock a:hover .dock-icon {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 45%),
    rgba(var(--module-color), 0.17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 15px 26px rgba(0, 0, 0, 0.2);
  transform: translateY(-8px) scale(1.08);
}

.terminal-dock-icon {
  --module-color: 58, 207, 123;
  color: #8af0b6;
  border-color: rgba(89, 226, 148, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 43%),
    linear-gradient(145deg, #17251e, #0b1410);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(22, 148, 78, 0.13);
}

.dock button:hover .terminal-dock-icon,
.dock a:hover .terminal-dock-icon {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 43%),
    linear-gradient(145deg, #1c3025, #0d1913);
}

.dock-running-dot {
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-soft);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 160ms ease;
}

.dock button.is-running .dock-running-dot {
  opacity: 0.9;
}

.dock-all {
  color: var(--text-soft);
  border-color: var(--line-strong);
  background: var(--surface-bright);
}

.dock-divider {
  width: 1px;
  height: 42px;
  margin: 0 3px;
  background: var(--line-strong);
}

.terminal-overlay {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 6, 11, 0.68);
  -webkit-backdrop-filter: blur(18px) saturate(82%);
  backdrop-filter: blur(18px) saturate(82%);
  animation: overlay-in 190ms ease-out;
}

.terminal-overlay.is-maximized {
  padding: 12px;
}

.terminal-window {
  width: min(1440px, 100%);
  height: min(840px, calc(100dvh - 48px));
  min-height: min(600px, calc(100dvh - 48px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: color-mix(in srgb, var(--panel) 96%, #08110c 4%);
  box-shadow: 0 45px 130px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.025), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: terminal-window-in 360ms cubic-bezier(0.16, 1, 0.3, 1);
  transition: width 260ms cubic-bezier(0.16, 1, 0.3, 1), height 260ms cubic-bezier(0.16, 1, 0.3, 1), border-radius 260ms ease;
}

.terminal-window.is-maximized {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 18px;
}

.terminal-titlebar {
  position: relative;
  flex: 0 0 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-bright) 42%, transparent);
}

.window-controls {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-control {
  position: relative;
  width: 12px;
  height: 12px;
  display: grid;
  place-items: center;
  padding: 0;
  color: rgba(20, 24, 28, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.27);
  cursor: pointer;
  transition: filter 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.window-control svg {
  opacity: 0;
  transition: opacity 110ms ease;
}

.window-controls:hover .window-control svg,
.window-control:focus-visible svg {
  opacity: 0.82;
}

.window-control:hover {
  filter: brightness(1.08);
  transform: scale(1.08);
}

.window-control:active {
  transform: scale(0.92);
}

.window-control.close { background: #ff5f57; }
.window-control.minimize { background: #febc2e; }
.window-control.maximize { background: #28c840; }

.terminal-title {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 9px;
}

.terminal-title > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #8eeab5;
  border: 1px solid rgba(87, 221, 144, 0.17);
  border-radius: 9px;
  background: rgba(45, 190, 107, 0.08);
}

.terminal-title > div {
  display: flex;
  flex-direction: column;
}

.terminal-title strong {
  font-size: 13px;
  font-weight: 650;
}

.terminal-title small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 10px;
}

.terminal-title-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 7px;
}

.terminal-title-actions button {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.terminal-title-actions button:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--surface-bright);
  transform: translateY(-1px);
}

.session-status {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
  padding: 0 9px;
  color: #80dca7;
  border: 1px solid rgba(75, 209, 132, 0.14);
  border-radius: 999px;
  background: rgba(52, 190, 111, 0.06);
  font-size: 10px;
  font-weight: 590;
}

.session-status > span,
.console-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4bd184;
  box-shadow: 0 0 0 3px rgba(75, 209, 132, 0.08), 0 0 8px rgba(75, 209, 132, 0.35);
}

.terminal-toolbar {
  flex: 0 0 94px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 13px 19px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 45%, transparent);
}

.terminal-toolbar > label {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.terminal-toolbar > label > span {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.target-field {
  min-width: 0;
  max-width: 480px;
  height: 47px;
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 52%, transparent);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.target-field:focus-within {
  border-color: rgba(88, 220, 145, 0.34);
  background: color-mix(in srgb, var(--bg) 68%, transparent);
  box-shadow: 0 0 0 3px rgba(61, 205, 122, 0.07), inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.target-field > svg {
  flex: 0 0 auto;
  color: #70d19a;
}

.target-field input {
  min-width: 0;
  flex: 1;
  color: var(--text);
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  font-size: 14px;
}

.target-field input::placeholder {
  color: var(--text-muted);
}

.execution-origin {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-right: 3px;
}

.origin-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: #75a9ff;
  border: 1px solid rgba(90, 147, 240, 0.16);
  border-radius: 10px;
  background: rgba(62, 122, 221, 0.07);
}

.execution-origin > span:last-child {
  display: flex;
  flex-direction: column;
}

.execution-origin small {
  color: var(--text-muted);
  font-size: 9px;
}

.execution-origin strong {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 610;
}

.terminal-workspace {
  min-height: 0;
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  flex: 1;
}

.terminal-tools {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 14px 14px;
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 28%, transparent);
}

.terminal-tools-heading {
  display: flex;
  flex-direction: column;
  padding: 0 4px 12px;
}

.terminal-tools-heading span {
  font-size: 12px;
  font-weight: 650;
}

.terminal-tools-heading small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 9px;
}

.terminal-tools-grid {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.terminal-tools button {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  color: var(--text-soft);
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.terminal-tools button:hover:not(:disabled) {
  color: var(--text);
  border-color: var(--line);
  background: var(--surface-bright);
  transform: translateX(2px);
}

.terminal-tools button:disabled {
  cursor: wait;
  opacity: 0.46;
}

.terminal-tools button > span:first-child {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #78dda4;
  border: 1px solid rgba(80, 210, 136, 0.13);
  border-radius: 9px;
  background: rgba(48, 190, 108, 0.06);
}

.terminal-tools button > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.terminal-tools button strong {
  font-size: 11px;
  font-weight: 620;
}

.terminal-tools button small {
  overflow: hidden;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.terminal-tools button > svg {
  color: var(--text-muted);
}

.terminal-security-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 10px;
  color: #68d296;
  border: 1px solid rgba(75, 209, 132, 0.11);
  border-radius: 11px;
  background: rgba(52, 190, 111, 0.045);
}

.terminal-security-note > svg {
  flex: 0 0 auto;
}

.terminal-security-note p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.terminal-security-note strong {
  font-size: 10px;
  font-weight: 620;
}

.terminal-security-note span {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 8px;
}

.terminal-console {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin: 13px;
  overflow: hidden;
  color: #bdc8d7;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    radial-gradient(circle at 80% 0%, rgba(48, 157, 100, 0.055), transparent 36%),
    #05080d;
  box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.5), 0 12px 30px rgba(0, 0, 0, 0.12);
}

.terminal-console > header {
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 12px 0 14px;
  color: #7c8999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  background: rgba(255, 255, 255, 0.018);
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  font-size: 11px;
}

.terminal-console > header > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.terminal-console header button {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 7px;
  color: #687585;
  border-radius: 7px;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 10px;
  transition: color 140ms ease, background 140ms ease;
}

.terminal-console header button:hover {
  color: #c2cbd7;
  background: rgba(255, 255, 255, 0.045);
}

.terminal-output {
  min-height: 0;
  flex: 1;
  overflow: auto;
  padding: 16px 18px;
  color: #aeb9c7;
  font-family: var(--font-geist-mono), "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  line-height: 1.65;
  scrollbar-color: rgba(255, 255, 255, 0.13) transparent;
}

.terminal-output > div {
  min-height: 1.7em;
  white-space: pre-wrap;
  word-break: break-word;
}

.terminal-output .command-line {
  color: #86e6ae;
}

.terminal-output .success-line {
  color: #6ed89b;
}

.terminal-output .error-line {
  color: #ff8a96;
}

.terminal-output .terminal-meta-line {
  color: #647286;
  font-size: 11px;
}

.terminal-processing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 0;
}

.terminal-processing span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #63d594;
  animation: terminal-pulse 900ms ease-in-out infinite;
}

.terminal-processing span:nth-child(2) { animation-delay: 120ms; }
.terminal-processing span:nth-child(3) { animation-delay: 240ms; }

.terminal-prompt {
  flex: 0 0 55px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px 7px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.018);
}

.prompt-symbol {
  color: #64db97;
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  font-size: 14px;
  font-weight: 680;
}

.terminal-prompt input {
  min-width: 0;
  flex: 1;
  color: #d2dae4;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font-geist-mono), "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.terminal-prompt input::placeholder {
  color: #525e6d;
}

.terminal-prompt button {
  min-height: 33px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  color: #baf5d2;
  border: 1px solid rgba(77, 211, 132, 0.17);
  border-radius: 9px;
  background: rgba(48, 181, 103, 0.11);
  font-size: 10px;
  font-weight: 620;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease, transform 150ms ease, opacity 150ms ease;
}

.terminal-prompt button:hover:not(:disabled) {
  color: #e2ffed;
  border-color: rgba(77, 211, 132, 0.28);
  background: rgba(48, 181, 103, 0.18);
  transform: translateY(-1px);
}

.terminal-prompt button:disabled {
  cursor: default;
  opacity: 0.35;
}

.terminal-footer {
  flex: 0 0 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 17px;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 38%, transparent);
  font-size: 9px;
}

.terminal-footer > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.terminal-footer > span:first-child > svg {
  color: #65d493;
}

.terminal-footer kbd {
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--text-soft);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--surface-bright);
  font-family: var(--font-ui);
  font-size: 9px;
}

.overlay,
.panel-overlay {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: flex;
  padding: 24px;
  background: rgba(3, 7, 13, 0.6);
  -webkit-backdrop-filter: blur(13px) saturate(80%);
  backdrop-filter: blur(13px) saturate(80%);
  animation: overlay-in 160ms ease-out;
}

.overlay {
  align-items: flex-start;
  justify-content: center;
}

.spotlight {
  width: min(680px, 100%);
  max-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-top: 8vh;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: modal-in 190ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.spotlight-input-row {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.spotlight-input-row > svg {
  flex: 0 0 auto;
  color: var(--text-muted);
}

.spotlight-input-row input {
  min-width: 0;
  flex: 1;
  color: var(--text);
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
  letter-spacing: -0.015em;
}

.spotlight-input-row input::placeholder {
  color: var(--text-muted);
}

.spotlight-input-row kbd,
.spotlight-footer kbd {
  color: var(--text-muted);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-bright);
  font-family: var(--font-ui);
  font-size: 8px;
}

.spotlight-input-row kbd {
  padding: 5px 7px;
}

.spotlight-body {
  overflow-y: auto;
  padding: 10px;
  scrollbar-color: var(--line-strong) transparent;
}

.result-group + .result-group {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.result-label {
  display: block;
  padding: 4px 9px 7px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 680;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.result-group button {
  width: 100%;
  min-height: 54px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 7px 10px;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  transition: background 140ms ease;
}

.result-group button:hover,
.result-group button:focus-visible {
  background: var(--surface-bright);
}

.result-group button > svg {
  color: var(--text-muted);
}

.result-icon {
  --module-color: 93, 151, 255;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--module-color), 0.16);
  border-radius: 10px;
  background: rgba(var(--module-color), 0.09);
}

.result-icon.neutral {
  color: var(--text-soft);
  border-color: var(--line-strong);
  background: var(--surface-bright);
}

.result-group button > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.result-group strong {
  font-size: 12px;
  font-weight: 620;
}

.result-group small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 9px;
}

.empty-search {
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--text-muted);
  text-align: center;
}

.empty-search strong {
  margin-top: 15px;
  color: var(--text-soft);
  font-size: 12px;
}

.empty-search span {
  margin-top: 6px;
  font-size: 10px;
}

.spotlight-footer {
  min-height: 37px;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 0 18px;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
  font-size: 8px;
}

.spotlight-footer span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.spotlight-footer kbd {
  min-width: 19px;
  height: 18px;
  display: grid;
  place-items: center;
}

.alerts-modal {
  width: min(600px, 100%);
  overflow: hidden;
  margin: auto;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: modal-in 190ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-header {
  min-height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 17px 15px 19px;
  border-bottom: 1px solid var(--line);
}

.modal-header > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #ff7b87;
  border: 1px solid rgba(255, 95, 112, 0.17);
  border-radius: 12px;
  background: rgba(245, 69, 89, 0.09);
}

.modal-header h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.modal-header p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 9px;
}

.alert-list {
  padding: 8px;
}

.alert-list button,
.dashboard-alert-row {
  width: 100%;
  min-height: 94px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 13px;
  padding: 14px 11px;
  border-radius: 13px;
  background: transparent;
  text-align: left;
  transition: background 150ms ease;
  color: inherit;
  text-decoration: none;
}

.alert-list button:hover,
.dashboard-alert-row:hover {
  background: var(--surface-bright);
}

.alert-list button > svg,
.dashboard-alert-row > svg {
  align-self: center;
  color: var(--text-muted);
}

.alert-level {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

.alert-level.critical { color: #ff7180; background: rgba(244, 69, 88, 0.09); }
.alert-level.warning { color: #efb44f; background: rgba(226, 156, 44, 0.09); }
.alert-level.info { color: #6ca4ff; background: rgba(66, 124, 224, 0.09); }

.alert-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.alert-copy > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.alert-copy strong {
  font-size: 12px;
  font-weight: 630;
}

.alert-copy time {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 8px;
}

.alert-copy small {
  margin-top: 4px;
  color: #7aaaff;
  font-size: 9px;
  font-weight: 580;
}

.alert-copy > span:nth-child(2) {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 10px;
  line-height: 1.45;
}

.module-card.has-operational-alert {
  border-color: rgba(245, 69, 89, 0.48);
  box-shadow: 0 16px 38px rgba(245, 69, 89, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.module-alert-count {
  position: absolute;
  z-index: 5;
  top: 10px;
  right: 38px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 2px solid var(--panel);
  border-radius: 999px;
  color: #fff;
  background: #f54559;
  box-shadow: 0 6px 16px rgba(245, 69, 89, 0.32);
  font-size: 9px;
  font-weight: 760;
}

.module-alert-count[hidden] { display: none; }

.alert-copy p {
  margin: 7px 0 0;
  color: var(--text-muted);
  font-size: 9px;
  line-height: 1.45;
}

.modal-footer {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 16px;
  border-top: 1px solid var(--line);
}

.modal-footer button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 8px;
  color: #79aaff;
  background: transparent;
  font-size: 10px;
  font-weight: 600;
}

.panel-overlay {
  justify-content: flex-end;
  padding: 14px;
}

.module-panel {
  --module-color: 93, 151, 255;
  width: min(390px, 100%);
  height: 100%;
  overflow-y: auto;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    radial-gradient(circle at 15% 0%, rgba(var(--module-color), 0.17), transparent 32%),
    var(--panel);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: panel-in 230ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.module-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-module-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--module-color), 0.22);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), transparent 45%),
    rgba(var(--module-color), 0.13);
  box-shadow: 0 12px 27px rgba(var(--module-color), 0.1);
}

.panel-title {
  padding: 30px 2px 24px;
}

.panel-title > span {
  margin-bottom: 12px;
}

.panel-title h2 {
  margin: 0;
  font-size: 31px;
  font-weight: 650;
  letter-spacing: -0.045em;
}

.panel-title p {
  margin: 7px 0 0;
  color: var(--text-soft);
  font-size: 12px;
}

.panel-metric {
  display: flex;
  flex-direction: column;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.panel-metric span {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel-metric strong {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 640;
}

.panel-metric small {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 9px;
}

.panel-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 18px;
}

.panel-actions button,
.panel-actions a {
  min-height: 63px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  text-align: left;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
  color: var(--text);
  text-decoration: none;
}

.panel-actions button:hover,
.panel-actions a:hover {
  border-color: var(--line-strong);
  background: var(--surface-bright);
  transform: translateX(-2px);
}

.panel-actions button > svg:first-child,
.panel-actions a > svg:first-child {
  color: rgb(var(--module-color));
}

.panel-actions button > svg:last-child,
.panel-actions a > svg:last-child {
  color: var(--text-muted);
}

.panel-actions button span,
.panel-actions a span {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.panel-actions strong {
  font-size: 11px;
  font-weight: 620;
}

.panel-actions small {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 8px;
}

.toast {
  position: fixed;
  z-index: 100;
  bottom: 111px;
  left: 50%;
  min-height: 39px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px 8px 9px;
  color: var(--text-soft);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--panel);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.28);
  font-size: 10px;
  transform: translateX(-50%);
  animation: toast-in 210ms ease-out;
}

.toast > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #caffdf;
  border-radius: 8px;
  background: #2fb76d;
}

@keyframes stage-rise {
  from { opacity: 0; transform: translateY(14px); filter: blur(3px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes card-rise {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes dock-rise {
  from { opacity: 0; transform: translate(-50%, 22px) scale(0.94); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@keyframes terminal-window-in {
  from { opacity: 0; transform: translateY(20px) scale(0.965); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes terminal-pulse {
  0%, 60%, 100% { opacity: 0.25; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-5px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes panel-in {
  from { opacity: 0; transform: translateX(22px) scale(0.99); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 8px) scale(0.98); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@media (max-width: 1120px) {
  .topbar-inner {
    grid-template-columns: auto 1fr auto;
  }

  .primary-nav {
    justify-self: start;
  }

  .desktop-layout {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 18px;
  }

  .module-card {
    padding: 12px;
  }

  .module-copy strong {
    font-size: 17px;
  }
}

@media (max-width: 900px) {
  .topbar-inner {
    width: min(100% - 28px, 1480px);
  }

  .primary-nav {
    display: none;
  }

  .topbar-inner {
    grid-template-columns: 1fr auto;
  }

  .main-content {
    width: min(100% - 34px, 1380px);
  }

  .summary-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .summary-item:nth-child(2)::after {
    display: block;
  }

  .summary-item:nth-child(-n + 2) {
    border-bottom: 0;
  }

  .desktop-layout {
    grid-template-columns: 1fr;
  }

  .control-card {
    display: none;
  }

  .module-card {
    padding: clamp(14px, 2.4vw, 22px);
  }

  .module-copy strong {
    font-size: clamp(18px, 2.8vw, 24px);
  }

  .terminal-window {
    height: min(800px, calc(100dvh - 28px));
    min-height: min(560px, calc(100dvh - 28px));
  }

  .terminal-toolbar {
    gap: 18px;
  }

  .terminal-workspace {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .terminal-tools {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 720px) {
  .terminal-overlay {
    padding: 8px;
  }

  .terminal-window {
    height: calc(100dvh - 16px);
    min-height: 0;
    border-radius: 19px;
  }

  .terminal-titlebar {
    grid-template-columns: auto 1fr auto;
    padding: 0 12px;
  }

  .terminal-title {
    justify-self: start;
  }

  .terminal-title small,
  .session-status {
    display: none;
  }

  .terminal-toolbar {
    flex-basis: 72px;
    grid-template-columns: 1fr;
    padding: 10px 13px;
  }

  .execution-origin {
    display: none;
  }

  .terminal-toolbar > label {
    width: 100%;
  }

  .target-field {
    max-width: none;
  }

  .terminal-workspace {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .terminal-tools {
    padding: 10px 11px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .terminal-tools-heading,
  .terminal-security-note {
    display: none;
  }

  .terminal-tools-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(62px, 1fr));
    gap: 5px;
  }

  .terminal-tools button {
    min-height: 56px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    text-align: center;
  }

  .terminal-tools button:hover:not(:disabled) {
    transform: translateY(-2px);
  }

  .terminal-tools button > span:first-child {
    width: 27px;
    height: 27px;
  }

  .terminal-tools button > span:nth-child(2) small,
  .terminal-tools button > svg {
    display: none;
  }

  .terminal-console {
    margin: 9px;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    width: calc(100% - 20px);
    height: 62px;
    gap: 10px;
  }

  .brand-copy span,
  .search-trigger > span,
  .search-trigger kbd,
  .user-copy,
  .user-button > svg {
    display: none;
  }

  .search-trigger {
    width: 36px;
    justify-content: center;
    padding: 0;
  }

  .user-button {
    width: 38px;
    padding: 0 3px;
  }

  .user-menu {
    position: fixed;
    top: 69px;
    right: 10px;
  }

  .main-content {
    width: calc(100% - 20px);
    padding: 15px 0 76px;
  }

  .welcome {
    min-height: 0;
    align-items: center;
    flex-direction: row;
    gap: 14px;
    padding: 0 3px 12px;
  }

  .welcome h1 {
    font-size: 30px;
  }

  .welcome p {
    display: none;
  }

  .hero-status {
    display: none;
  }

  .summary-strip {
    display: none;
  }

  .section-heading {
    align-items: center;
    padding: 8px 3px 11px;
  }

  .section-heading h2 {
    font-size: 21px;
  }

  .section-title-row > span,
  .section-heading .all-apps-button {
    display: none;
  }

  .section-actions {
    gap: 0;
  }

  .module-grid {
    grid-template-columns: repeat(var(--page-columns), minmax(0, 1fr));
  }

  .module-card {
    min-height: 0;
    padding: clamp(24px, 7vw, 34px);
  }

  .module-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .module-copy strong {
    font-size: clamp(28px, 9vw, 38px);
  }

  .module-copy > span {
    font-size: 14px;
  }

  .carousel-hint {
    display: none;
  }

  .dock {
    bottom: 11px;
    max-width: calc(100% - 20px);
    gap: 3px;
    padding: 6px;
  }

  .dock button:nth-child(5) {
    display: none;
  }

  .dock-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .dock-icon svg {
    width: 21px;
    height: 21px;
  }

  .dock-divider {
    height: 32px;
    margin: 0 1px;
  }

  .overlay {
    padding: 10px;
  }

  .spotlight {
    max-height: calc(100vh - 24px);
    margin-top: 2px;
    border-radius: 18px;
  }

  .spotlight-input-row {
    min-height: 61px;
    padding: 0 13px;
  }

  .spotlight-input-row input {
    font-size: 13px;
  }

  .spotlight-input-row kbd,
  .spotlight-footer {
    display: none;
  }

  .alerts-modal {
    border-radius: 18px;
  }

  .alert-copy > span {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .panel-overlay {
    padding: 7px;
  }

  .module-panel {
    width: 100%;
    border-radius: 18px;
  }

  .terminal-overlay {
    padding: 0;
  }

  .terminal-window {
    height: 100dvh;
    border-width: 0;
    border-radius: 0;
  }

  .terminal-titlebar {
    flex-basis: 57px;
    gap: 10px;
  }

  .window-controls {
    gap: 6px;
  }

  .window-control {
    width: 10px;
    height: 10px;
  }

  .terminal-title > span {
    display: none;
  }

  .terminal-title-actions button:first-of-type {
    display: none;
  }

  .terminal-toolbar > label > span {
    display: none;
  }

  .terminal-tools-grid {
    grid-template-columns: repeat(6, minmax(48px, 1fr));
    overflow-x: auto;
  }

  .terminal-tools button strong {
    font-size: 7px;
  }

  .terminal-output {
    padding: 13px;
    font-size: 11px;
  }

  .terminal-prompt {
    padding-left: 12px;
  }

  .terminal-prompt button {
    width: 34px;
    justify-content: center;
    padding: 0;
    font-size: 0;
  }

  .terminal-footer > span:last-child {
    display: none;
  }

  .toast {
    bottom: 76px;
  }
}

@media (max-height: 720px) and (min-width: 641px) {
  .main-content {
    padding-top: 11px;
    padding-bottom: 88px;
  }

  .welcome {
    padding-bottom: 9px;
  }

  .welcome p {
    display: none;
  }

  .welcome h1 {
    font-size: 32px;
  }

  .hero-status {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .summary-strip {
    flex-basis: 58px;
  }

  .summary-item {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .section-heading {
    padding-top: 10px;
    padding-bottom: 8px;
  }

  .module-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .module-copy {
    margin-top: 0;
  }

  .module-footer {
    margin-top: 0;
    padding-top: 5px;
  }

  .carousel-hint {
    flex-basis: 18px;
  }

  .control-card {
    padding: 15px;
  }

  .control-status {
    min-height: 52px;
    margin-top: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .control-status .status-orb {
    width: 34px;
    height: 34px;
  }

  .health-block {
    padding-top: 13px;
    padding-bottom: 11px;
  }

  .health-ring {
    width: 70px;
    height: 70px;
  }

  .health-ring strong {
    font-size: 21px;
  }

  .health-copy > span:last-child {
    display: none;
  }

  .control-metrics {
    gap: 6px;
    padding-bottom: 10px;
  }

  .control-metrics article {
    min-height: 62px;
    gap: 7px;
    padding: 8px;
  }

  .control-metric-icon {
    width: 25px;
    height: 25px;
  }

  .control-section-heading {
    padding-top: 9px;
    padding-bottom: 3px;
  }

  .service-list {
    padding: 6px 0;
  }

  .service-list > div {
    min-height: 28px;
  }

  .control-action {
    min-height: 36px;
  }

  .dock {
    bottom: 9px;
    padding: 7px;
  }

  .dock-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }
}

@media (max-height: 610px) and (min-width: 641px) {
  .summary-strip {
    display: none;
  }

  .section-heading {
    padding-top: 8px;
  }

  .hero-status {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* NETTOOLS 13 · SAME BRAND AS THE APPLICATION MODULES */
.brand.has-custom-logo .brand-mark,
.brand.has-custom-logo .brand-copy,
.login-brand.has-custom-logo .login-brand-mark,
.login-brand.has-custom-logo > span:last-child {
  display: none;
}

.brand.has-custom-logo,
.login-brand.has-custom-logo {
  min-width: 9.5rem;
  min-height: 2.35rem;
}

.os-brand-logo {
  display: block;
  width: auto;
  max-width: 9.5rem;
  height: 2.35rem;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 640px) {
  .brand.has-custom-logo,
  .login-brand.has-custom-logo { min-width: 7.5rem; }
  .os-brand-logo { max-width: 7.5rem; }
}

/* NetTools OS · Experiência de autenticação */
.login-shell {
  --login-text: #f6f9ff;
  --login-soft: #a7b4c8;
  --login-muted: #6f7d92;
  --login-line: rgba(255, 255, 255, 0.1);
  --login-blue: #5c9dff;
  --login-blue-rgb: 92, 157, 255;
  position: fixed;
  z-index: 500;
  inset: 0;
  isolation: isolate;
  min-width: 320px;
  min-height: 0;
  overflow: hidden;
  color: var(--login-text);
  color-scheme: dark;
  background:
    radial-gradient(circle at 62% -18%, rgba(82, 132, 228, 0.2), transparent 37%),
    radial-gradient(circle at 9% 88%, rgba(82, 54, 174, 0.14), transparent 35%),
    linear-gradient(145deg, #080d16 0%, #070b12 46%, #06090f 100%);
}

.login-shell button,
.login-shell input {
  font: inherit;
}

.login-shell button {
  color: inherit;
}

.login-aurora,
.login-grid-light {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.login-aurora {
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.22;
  animation: login-aurora-drift 14s ease-in-out infinite alternate;
}

.login-aurora-one {
  top: -22%;
  right: 13%;
  width: min(46vw, 680px);
  aspect-ratio: 1;
  background: #376dc7;
}

.login-aurora-two {
  bottom: -38%;
  left: -9%;
  width: min(45vw, 650px);
  aspect-ratio: 1;
  background: #5535a2;
  opacity: 0.13;
  animation-delay: -5s;
}

.login-grid-light {
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 38% 48%, black 0%, transparent 69%);
}

.login-topbar {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(76px, 9vh, 94px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(26px, 4.5vw, 76px);
}

.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.login-brand-mark {
  position: relative;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 13px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), transparent 39%),
    linear-gradient(145deg, #79afff 0%, #4282ef 49%, #2859bb 100%);
  box-shadow: 0 13px 30px rgba(45, 104, 219, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.login-brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.19);
}

.login-brand > span:last-child {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.login-brand strong {
  font-size: 19px;
  font-weight: 690;
  letter-spacing: -0.035em;
}

.login-brand small {
  color: var(--login-muted);
  font-size: 11px;
  font-weight: 690;
  letter-spacing: 0.08em;
}

.login-environment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--login-soft);
  border: 1px solid var(--login-line);
  border-radius: 999px;
  background: rgba(17, 24, 38, 0.48);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  font-size: 10px;
  font-weight: 590;
}

.login-environment > span,
.trust-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #50d68c;
  box-shadow: 0 0 0 4px rgba(80, 214, 140, 0.08), 0 0 12px rgba(80, 214, 140, 0.36);
}

.login-layout {
  width: min(1540px, calc(100% - clamp(52px, 8vw, 142px)));
  height: 100dvh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 530px);
  align-items: center;
  gap: clamp(54px, 7vw, 124px);
  padding: clamp(96px, 11vh, 118px) 0 clamp(62px, 7vh, 76px);
}

.login-showcase {
  position: relative;
  height: min(670px, 77vh);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vh, 36px) 0 2px;
  animation: login-showcase-in 760ms 100ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.login-showcase-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.login-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #87b6ff;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.login-showcase h1 {
  max-width: 700px;
  margin: clamp(18px, 2.5vh, 28px) 0 0;
  font-size: clamp(50px, 5.1vw, 82px);
  line-height: 0.98;
  font-weight: 620;
  letter-spacing: -0.068em;
}

.login-showcase h1 em {
  color: transparent;
  background: linear-gradient(105deg, #edf5ff 4%, #83b7ff 48%, #8a8ff6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
}

.login-showcase-copy > p {
  max-width: 520px;
  margin: clamp(18px, 2.7vh, 28px) 0 0;
  color: var(--login-soft);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.62;
  letter-spacing: -0.018em;
}

.login-orbit {
  position: absolute;
  top: 47%;
  right: 3%;
  width: clamp(270px, 24vw, 390px);
  aspect-ratio: 1;
  transform: translateY(-24%);
  opacity: 0.92;
}

.login-orbit::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 132, 228, 0.14), transparent 68%);
  filter: blur(24px);
}

.login-orbit-ring {
  position: absolute;
  border: 1px solid rgba(128, 172, 240, 0.15);
  border-radius: 50%;
}

.login-orbit-ring::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #78a9f8;
  box-shadow: 0 0 13px rgba(92, 157, 255, 0.85);
}

.ring-one { inset: 5%; animation: login-spin 18s linear infinite; }
.ring-two { inset: 20%; border-style: dashed; animation: login-spin 14s linear infinite reverse; }
.ring-three { inset: 34%; animation: login-spin 10s linear infinite; }

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(120, 172, 255, 0.25);
  border-radius: 29px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), transparent 48%),
    rgba(30, 54, 93, 0.68);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3), 0 0 52px rgba(65, 124, 222, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translate(-50%, -50%) rotate(-6deg);
}

.orbit-core > span {
  color: #a9ceff;
}

.orbit-core > i {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 9px;
  height: 9px;
  border: 2px solid #172235;
  border-radius: 50%;
  background: #4fd488;
  box-shadow: 0 0 12px rgba(79, 212, 136, 0.48);
}

.orbit-node {
  position: absolute;
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  color: #86b6ff;
  border: 1px solid rgba(120, 172, 255, 0.2);
  border-radius: 13px;
  background: rgba(17, 28, 47, 0.78);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: login-node-float 4.4s ease-in-out infinite;
}

.node-one { top: 8%; left: 31%; }
.node-two { right: 3%; bottom: 26%; animation-delay: -1.4s; }
.node-three { bottom: 2%; left: 20%; color: #7cdda8; animation-delay: -2.8s; }

.login-trust-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--login-muted);
  font-size: 9px;
  font-weight: 610;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.login-trust-row > span {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.018);
}

.login-card {
  position: relative;
  width: 100%;
  max-height: min(760px, calc(100dvh - 154px));
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(30px, 3.2vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.115);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% -5%, rgba(91, 145, 237, 0.1), transparent 38%),
    rgba(15, 22, 35, 0.78);
  -webkit-backdrop-filter: blur(36px) saturate(128%);
  backdrop-filter: blur(36px) saturate(128%);
  box-shadow: 0 46px 120px rgba(0, 0, 0, 0.43), 0 0 0 1px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  scrollbar-width: none;
  animation: login-card-in 640ms 180ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.login-card::-webkit-scrollbar {
  display: none;
}

.login-card.is-shaking {
  animation: login-shake 420ms ease;
}

.login-card-highlight {
  position: absolute;
  top: 0;
  left: 17%;
  width: 66%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(151, 192, 255, 0.54), transparent);
}

.login-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.login-card-header > small {
  color: var(--login-muted);
  font-size: 9px;
  font-weight: 620;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.login-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.login-stepper > span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  color: var(--login-muted);
  border: 1px solid var(--login-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  font-size: 8px;
  font-weight: 700;
  transition: color 260ms ease, border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.login-stepper > span.is-current {
  color: #fff;
  border-color: rgba(var(--login-blue-rgb), 0.45);
  background: rgba(var(--login-blue-rgb), 0.22);
  box-shadow: 0 0 0 5px rgba(var(--login-blue-rgb), 0.055), 0 0 18px rgba(var(--login-blue-rgb), 0.15);
}

.login-stepper > span.is-complete {
  color: #75e2a5;
  border-color: rgba(75, 209, 132, 0.24);
  background: rgba(75, 209, 132, 0.09);
}

.login-stage {
  animation: login-stage-in 440ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.profile-match-zone {
  height: 116px;
  display: grid;
  place-items: center;
  margin: 12px 0 2px;
}

.profile-placeholder {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  color: #71839d;
  border: 1px dashed rgba(146, 168, 202, 0.19);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  transition: color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.profile-placeholder > span {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
}

.profile-match-zone.state-checking .profile-placeholder {
  color: #8dbbff;
  border-color: rgba(92, 157, 255, 0.25);
}

.profile-placeholder > i {
  position: absolute;
  inset: -6px;
  border: 1px solid transparent;
  border-top-color: #6ba6ff;
  border-right-color: rgba(107, 166, 255, 0.25);
  border-radius: 50%;
  animation: login-spin 1.05s linear infinite;
}

.matched-profile {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  animation: profile-found 480ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.matched-profile > span:last-child {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.matched-profile strong {
  font-size: 13px;
  font-weight: 660;
}

.matched-profile small {
  margin-top: 2px;
  color: var(--login-muted);
  font-size: 9px;
}

.login-profile-photo {
  position: relative;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: visible;
  border: 2px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 23%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(145deg, #5897f4, #6454ca);
  box-shadow: 0 12px 30px rgba(30, 82, 175, 0.28), 0 0 0 5px rgba(92, 157, 255, 0.06);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.login-profile-photo.is-large {
  width: 70px;
  height: 70px;
  font-size: 18px;
  box-shadow: 0 16px 42px rgba(30, 82, 175, 0.34), 0 0 0 7px rgba(92, 157, 255, 0.055);
}

.login-profile-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.login-profile-photo > i {
  position: absolute;
  right: -2px;
  bottom: -1px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #10241a;
  border: 3px solid #111929;
  border-radius: 50%;
  background: #58da91;
  box-sizing: content-box;
}

.login-heading {
  text-align: center;
}

.login-heading > span {
  color: #85b6ff;
  font-size: 9px;
  font-weight: 690;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.login-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 2.15vw, 34px);
  line-height: 1.1;
  font-weight: 630;
  letter-spacing: -0.052em;
}

.login-heading p {
  max-width: 345px;
  margin: 10px auto 0;
  color: var(--login-soft);
  font-size: 11px;
  line-height: 1.55;
}

.login-stage form {
  margin-top: 27px;
}

.login-field {
  display: block;
}

.login-field > span,
.otp-fields legend {
  display: block;
  margin: 0 0 8px 3px;
  color: var(--login-soft);
  font-size: 9px;
  font-weight: 630;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.login-field > div {
  min-height: 54px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  color: #72829a;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 15px;
  background: rgba(4, 8, 14, 0.4);
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.12);
  transition: color 170ms ease, border-color 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.login-field > div:focus-within {
  color: #8bbaff;
  border-color: rgba(92, 157, 255, 0.4);
  background: rgba(8, 14, 24, 0.62);
  box-shadow: 0 0 0 4px rgba(92, 157, 255, 0.07), inset 0 1px 5px rgba(0, 0, 0, 0.1);
}

.login-field.is-confirmed > div {
  border-color: rgba(75, 209, 132, 0.22);
}

.login-field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--login-text);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 540;
}

.login-field input::placeholder {
  color: #59677a;
}

.login-field > small {
  display: block;
  min-height: 14px;
  margin: 7px 3px 0;
  color: var(--login-muted);
  font-size: 9px;
  transition: color 170ms ease;
}

.login-field > small.is-success,
.field-check {
  color: #64db98;
}

.login-spinner {
  animation: login-spin 850ms linear infinite;
}

.password-visibility {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--login-muted) !important;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.password-visibility:hover {
  color: var(--login-text) !important;
  background: rgba(255, 255, 255, 0.045);
}

.login-error {
  margin: 10px 0 -4px;
  color: #ff9099;
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}

.login-primary-button {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
  padding: 0 18px;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 52%),
    linear-gradient(125deg, #4e91f7, #416fd6);
  box-shadow: 0 15px 30px rgba(38, 94, 190, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 170ms ease, filter 170ms ease, box-shadow 170ms ease, opacity 170ms ease;
}

.login-primary-button:hover:not(:disabled) {
  filter: brightness(1.08);
  box-shadow: 0 18px 38px rgba(38, 94, 190, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.login-primary-button:active:not(:disabled) {
  transform: translateY(0) scale(0.99);
}

.login-primary-button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  box-shadow: none;
}

.login-back-button {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 15px auto 0;
  padding: 0 10px;
  color: var(--login-muted) !important;
  border: 0;
  background: transparent;
  font-size: 9px;
  cursor: pointer;
  transition: color 160ms ease;
}

.login-back-button:hover {
  color: var(--login-soft) !important;
}

a.login-back-button {
  width: max-content;
  text-decoration: none;
}

.recovery-code-field {
  margin-top: 4px;
}

.login-primary-button.is-loading {
  pointer-events: none;
  opacity: 0.72;
}

.compact-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.025);
}

.compact-profile > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.compact-profile strong {
  font-size: 11px;
  font-weight: 650;
}

.compact-profile small {
  margin-top: 3px;
  color: var(--login-muted);
  font-size: 9px;
}

.compact-profile > button,
.compact-profile > a {
  padding: 7px 9px;
  color: #80b2ff;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 9px;
  cursor: pointer;
  text-decoration: none;
}

.compact-profile > button:hover,
.compact-profile > a:hover {
  background: rgba(92, 157, 255, 0.07);
}

.password-heading {
  margin-top: 30px;
}

.password-options,
.otp-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 11px;
}

.password-options label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--login-muted);
  font-size: 8px;
  cursor: pointer;
}

.password-options input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: #5c9dff;
}

.password-options > button,
.otp-meta > button {
  padding: 0;
  color: #75aaff;
  border: 0;
  background: transparent;
  font-size: 8px;
  cursor: pointer;
}

.authenticator-visual {
  position: relative;
  width: 174px;
  height: 152px;
  margin: 10px auto -1px;
}

.auth-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(93, 157, 255, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: auth-pulse 2.7s ease-out infinite;
}

.pulse-one {
  width: 118px;
  height: 118px;
}

.pulse-two {
  width: 156px;
  height: 156px;
  animation-delay: 1.1s;
}

.auth-device {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 84px;
  height: 135px;
  padding: 8px 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 23px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 32%),
    linear-gradient(160deg, #263753, #101824 72%);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.38), 0 0 40px rgba(71, 130, 224, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: translateX(-50%) rotate(4deg);
  animation: auth-device-float 4s ease-in-out infinite;
}

.device-speaker {
  width: 20px;
  height: 3px;
  display: block;
  margin: 0 auto 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.device-screen {
  height: calc(100% - 9px);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: #81b4ff;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 30%, rgba(77, 140, 242, 0.17), transparent 54%),
    rgba(4, 8, 14, 0.76);
}

.device-screen > span {
  display: flex;
  gap: 4px;
  margin-top: 10px;
}

.device-screen > span i {
  width: 15px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #eaf3ff;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 8px;
  font-style: normal;
  font-weight: 680;
}

.device-screen small {
  margin-top: 7px;
  color: #62728a;
  font-size: 6px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-float,
.auth-confirm {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(21, 31, 48, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  animation: login-node-float 3.8s ease-in-out infinite;
}

.auth-float {
  width: 36px;
  height: 36px;
  color: #8ab9ff;
  border-radius: 12px;
}

.float-one { top: 20px; left: 2px; }
.float-two { right: 0; bottom: 19px; animation-delay: -1.7s; }

.auth-confirm {
  right: 27px;
  top: 11px;
  width: 27px;
  height: 27px;
  color: #183124;
  border-color: rgba(110, 232, 161, 0.32);
  border-radius: 50%;
  background: #63d99a;
  animation-delay: -2.4s;
}

.otp-heading h2 {
  font-size: clamp(25px, 2vw, 31px);
}

.otp-stage form {
  margin-top: 22px;
}

.otp-fields {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
}

.otp-fields legend {
  grid-column: 1 / -1;
}

.otp-fields input {
  width: 100%;
  min-width: 0;
  aspect-ratio: 0.9;
  color: var(--login-text);
  border: 1px solid rgba(255, 255, 255, 0.11);
  outline: 0;
  border-radius: 12px;
  background: rgba(4, 8, 14, 0.46);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.12);
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 650;
  text-align: center;
  caret-color: #72aaff;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.otp-fields input:focus {
  border-color: rgba(92, 157, 255, 0.48);
  background: rgba(23, 43, 73, 0.45);
  box-shadow: 0 0 0 4px rgba(92, 157, 255, 0.07), inset 0 1px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.otp-fields input:not(:placeholder-shown) {
  border-color: rgba(92, 157, 255, 0.23);
}

.otp-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--login-muted);
  font-size: 8px;
}

.otp-meta > span > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #53d78d;
  box-shadow: 0 0 8px rgba(83, 215, 141, 0.44);
}

.otp-meta strong {
  color: var(--login-soft);
  font-weight: 650;
}

.unlock-stage {
  min-height: 500px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.unlock-orb {
  position: relative;
  width: 156px;
  height: 156px;
  display: grid;
  place-items: center;
}

.unlock-orb > span {
  position: relative;
  z-index: 2;
  width: 91px;
  height: 91px;
  display: grid;
  place-items: center;
  color: #eafff2;
  border: 1px solid rgba(128, 242, 176, 0.32);
  border-radius: 31px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.19), transparent 45%),
    linear-gradient(145deg, #55d18c, #2ea56a);
  box-shadow: 0 25px 54px rgba(33, 174, 97, 0.27), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  animation: unlock-core 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.unlock-orb > i {
  position: absolute;
  inset: 17px;
  border: 1px solid rgba(95, 224, 149, 0.24);
  border-radius: 50%;
  animation: unlock-ring 1.6s ease-out infinite;
}

.unlock-orb > i:nth-of-type(2) { animation-delay: 420ms; }
.unlock-orb > i:nth-of-type(3) { animation-delay: 840ms; }

.unlock-stage .login-heading {
  margin-top: 18px;
}

.unlock-progress {
  width: 170px;
  height: 3px;
  overflow: hidden;
  margin-top: 31px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.unlock-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5a9dff, #5be09a);
  transform-origin: left;
  animation: unlock-progress 1.2s ease-in-out both;
}

.login-demo-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  margin: 22px -10px -13px;
  padding-top: 15px;
  color: #66758a;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 8px;
  line-height: 1.45;
  text-align: center;
}

.login-demo-note svg {
  flex: 0 0 auto;
  margin-top: -1px;
  color: #6d9dde;
}

.login-demo-note strong {
  color: #8ea1bc;
  font-weight: 650;
}

.login-footer {
  position: absolute;
  z-index: 10;
  right: clamp(26px, 4.5vw, 76px);
  bottom: clamp(21px, 3vh, 31px);
  left: clamp(26px, 4.5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
  color: #566477;
  font-size: 8px;
}

.login-footer > span,
.login-footer > button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.login-footer > span:first-child {
  margin-right: auto;
}

.login-footer > button {
  padding: 0;
  color: #6d7e94;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.login-footer > button:hover {
  color: #9aa9bd;
}

@keyframes login-card-in {
  from { opacity: 0; transform: translateY(18px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes login-showcase-in {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes login-stage-in {
  from { opacity: 0; transform: translateX(13px); filter: blur(5px); }
  to { opacity: 1; transform: translateX(0); filter: blur(0); }
}

@keyframes login-aurora-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(0.97); }
  to { transform: translate3d(4%, 4%, 0) scale(1.07); }
}

@keyframes login-spin {
  to { transform: rotate(360deg); }
}

@keyframes login-node-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes auth-device-float {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(4deg); }
  50% { transform: translateX(-50%) translateY(-7px) rotate(2deg); }
}

@keyframes auth-pulse {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.66); }
  34% { opacity: 0.72; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.16); }
}

@keyframes profile-found {
  from { opacity: 0; transform: scale(0.78); filter: blur(6px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes login-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}

@keyframes unlock-core {
  from { opacity: 0; transform: scale(0.58) rotate(-12deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes unlock-ring {
  from { opacity: 0.7; transform: scale(0.55); }
  to { opacity: 0; transform: scale(1.35); }
}

@keyframes unlock-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 1080px) {
  .login-layout {
    width: min(950px, calc(100% - 56px));
    grid-template-columns: minmax(0, 0.78fr) minmax(410px, 500px);
    gap: 48px;
  }

  .login-showcase h1 {
    font-size: clamp(43px, 6vw, 64px);
  }

  .login-orbit {
    right: -9%;
    width: 290px;
    opacity: 0.7;
  }

  .login-trust-row > span:nth-last-child(-n + 2) {
    display: none;
  }
}

@media (max-width: 850px) {
  .login-layout {
    width: min(530px, calc(100% - 34px));
    grid-template-columns: 1fr;
    padding-top: 92px;
    padding-bottom: 58px;
  }

  .login-showcase {
    display: none;
  }

  .login-card {
    max-height: calc(100dvh - 145px);
  }

  .login-footer > span:nth-child(2) {
    display: none;
  }
}

@media (max-width: 560px) {
  .login-topbar {
    height: 72px;
    padding: 0 18px;
  }

  .login-environment {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .login-layout {
    width: calc(100% - 20px);
    padding-top: 78px;
    padding-bottom: 46px;
  }

  .login-card {
    max-height: calc(100dvh - 128px);
    padding: 25px 21px;
    border-radius: 27px;
  }

  .login-heading h2 {
    font-size: 27px;
  }

  .profile-match-zone {
    height: 105px;
  }

  .login-demo-note {
    margin-inline: 0;
  }

  .login-footer {
    right: 18px;
    bottom: 16px;
    left: 18px;
  }

  .login-footer > span:first-child {
    display: none;
  }

  .login-footer > button {
    margin-left: auto;
  }
}

@media (max-height: 760px) and (min-width: 851px) {
  .login-showcase {
    min-height: 440px;
    height: 70vh;
  }

  .login-showcase h1 {
    font-size: clamp(45px, 4.7vw, 66px);
  }

  .login-orbit {
    width: 270px;
  }

  .login-card {
    max-height: calc(100dvh - 125px);
    padding-block: 27px;
  }

  .profile-match-zone {
    height: 96px;
    margin-top: 5px;
  }

  .authenticator-visual {
    height: 128px;
    transform: scale(0.86);
    transform-origin: top center;
    margin-bottom: -16px;
  }

  .login-stage form {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-shell *,
  .login-shell *::before,
  .login-shell *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
/* NETTOOLS_WIFI_ACCESSES_UI_V13_9_1 */
.wifi-access-filter-actions {
  align-items: center;
  justify-content: flex-start;
  margin-top: 1rem;
}

.wifi-access-filter-actions > button,
.wifi-access-filter-actions > .button-link {
  min-height: 2.55rem;
  margin: 0;
}
/* NETTOOLS_WIFI_LAYOUT_V13_9_2 */
.wifi-access-filter-actions,
.wifi-network-actions {
  align-items: center;
}

.wifi-access-filter-actions > button,
.wifi-access-filter-actions > .button-link,
.wifi-network-actions > button,
.wifi-network-actions > .button-link {
  align-self: center;
  min-height: 2.55rem;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
/* NETTOOLS_WIFI_FILTER_ALIGNMENT_V13_9_3 */
.wifi-access-filter-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem;
}

.wifi-access-filter-actions > button,
.wifi-access-filter-actions > .button-link {
  align-self: center !important;
  box-sizing: border-box;
  min-height: 2.55rem;
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  margin-block: 0 !important;
}
/* Ajuste final: ações Wi-Fi alinhadas verticalmente */
.wifi-access-filter-actions,
.page-title > .page-actions {
  display: flex;
  align-items: center;
}

.wifi-access-filter-actions > button,
.wifi-access-filter-actions > .button-link,
.page-title > .page-actions > button,
.page-title > .page-actions > .button-link {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  align-self: center;
  min-height: 2.55rem;
}

/* NETTOOLS_MIKROTIK_FLEET_V1 */
.mikrotik-fleet-page { --fleet-accent: #36d6a4; --fleet-blue: #63b3ff; }
.mikrotik-fleet-container { padding-bottom: 7rem; }
.mikrotik-module-bar { border-color: rgba(54, 214, 164, .22); }
.mikrotik-module-bar a:hover,
.mikrotik-module-bar a.is-active { color: #d9fff3; background: rgba(54, 214, 164, .12); }
.mikrotik-fleet-hero { position: relative; overflow: hidden; }
.mikrotik-fleet-hero::after { content: ""; position: absolute; inset: auto -8rem -9rem auto; width: 22rem; height: 22rem; border-radius: 50%; background: radial-gradient(circle, rgba(54,214,164,.14), transparent 66%); pointer-events: none; }
.mikrotik-fleet-metrics,
.mikrotik-device-metrics { margin-bottom: 1rem; }
.mikrotik-fleet-policy { margin: 1rem 0 1.4rem; }
.mikrotik-policy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin-top: 1rem; }
.mikrotik-policy-grid > span { display: grid; gap: .25rem; min-width: 0; padding: .85rem; border: 1px solid var(--border); border-radius: .85rem; background: rgba(255,255,255,.025); }
.mikrotik-policy-grid strong { font-size: .8rem; }
.mikrotik-policy-grid small { color: var(--muted); line-height: 1.45; }
.mikrotik-device-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.mikrotik-device-card { position: relative; display: grid; gap: 1rem; min-width: 0; padding: 1.1rem; color: inherit; text-decoration: none; overflow: hidden; transition: border-color .18s ease, transform .18s ease; }
.mikrotik-device-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--muted); opacity: .5; }
.mikrotik-device-card.state-online::before { background: var(--fleet-accent); opacity: 1; }
.mikrotik-device-card.state-offline::before { background: #ff6f7d; opacity: 1; }
.mikrotik-device-card.state-stale::before,
.mikrotik-device-card.state-never::before { background: #f3bf68; opacity: 1; }
.mikrotik-device-card:hover { transform: translateY(-3px); border-color: rgba(54,214,164,.38); }
.mikrotik-device-card h3 { margin: .15rem 0; }
.mikrotik-card-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: 0; }
.mikrotik-card-facts > div { min-width: 0; padding: .65rem; border-radius: .7rem; background: rgba(255,255,255,.03); }
.mikrotik-card-facts dt { color: var(--muted); font-size: .65rem; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.mikrotik-card-facts dd { margin: .25rem 0 0; overflow-wrap: anywhere; font-size: .78rem; }
.mikrotik-wan-strip { display: flex; flex-wrap: wrap; gap: .45rem; }
.mikrotik-wan-strip span { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .48rem; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: .68rem; }
.mikrotik-wan-strip i { width: .42rem; height: .42rem; border-radius: 50%; background: currentColor; }
.mikrotik-wan-strip .wan-up { color: var(--fleet-accent); }
.mikrotik-wan-strip .wan-down { color: #ff8390; }
.mikrotik-wan-strip .wan-degraded { color: #f3bf68; }
.mikrotik-device-card footer { display: flex; justify-content: space-between; gap: 1rem; padding-top: .8rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .7rem; }
.mikrotik-device-card footer strong { color: #bff8e7; }
.mikrotik-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0; }
.mikrotik-detail-grid > .panel { min-width: 0; padding: 1rem; }
.mikrotik-device-hero .page-actions form { margin: 0; }
.mikrotik-readiness-list li { align-items: start; }
.mikrotik-readiness-list small { display: block; margin-top: .2rem; color: var(--muted); }
.mikrotik-safety-note { margin: 1rem 0 0; font-size: .74rem; line-height: 1.5; }
@media (max-width: 980px) { .mikrotik-policy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .mikrotik-policy-grid, .mikrotik-detail-grid { grid-template-columns: 1fr; } .mikrotik-device-grid { grid-template-columns: 1fr; } .mikrotik-device-card footer { align-items: start; flex-direction: column; } }
