:root {
  --bg: #05080e;
  --surface: #0a111d;
  --surface-2: #0d1726;
  --surface-3: #101d2e;
  --line: rgba(112, 157, 211, .15);
  --line-strong: rgba(63, 157, 255, .42);
  --text: #f3f8ff;
  --muted: #8b9bb1;
  --faint: #56677e;
  --canvas-text: #14243a;
  --canvas-muted: #536b87;
  --canvas-accent: #1676d2;
  --blue: #2c93ff;
  --blue-bright: #65bdff;
  --cyan: #2dd7e9;
  --green: #36e59a;
  --amber: #ffc45b;
  --red: #ff7083;
  --purple: #9073ff;
  --site-background: url("/assets/idf-mcc.svg?v=20260803-1");
  --login-background: url("/assets/idf-mcc-login.svg?v=20260803-1");
  --radius: 18px;
  --shadow: 0 28px 80px rgba(0, 0, 0, .38);
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
}

/* Move Standard · gestão oficial de keys */
.standard-keys-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.standard-keys-heading h2 { margin: 3px 0 5px; color: var(--canvas-text); font-size: 30px; letter-spacing: -.035em; }
.standard-keys-heading p:last-child { margin: 0; color: #718299; }
.standard-key-security {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: #14734e;
  border: 1px solid rgba(29, 153, 102, .25);
  border-radius: 999px;
  background: rgba(34, 164, 109, .1);
  font-size: 10px;
  font-weight: 750;
}
.standard-key-security i { width: 7px; height: 7px; border-radius: 50%; background: #27d795; box-shadow: 0 0 10px rgba(39, 215, 149, .55); }
.standard-key-tools { display: grid; grid-template-columns: minmax(330px, .85fr) minmax(600px, 1.65fr); gap: 16px; margin-bottom: 16px; }
.standard-key-generate-card,
.standard-key-filters {
  min-height: 112px;
  border: 1px solid rgba(83, 133, 194, .2);
  border-radius: 15px;
  background: linear-gradient(145deg, #111923, #151d29);
  box-shadow: 0 14px 34px rgba(15, 31, 52, .12);
}
.standard-key-generate-card { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; padding: 18px; color: #f3f7ff; }
.standard-key-generate-card > div:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.standard-key-generate-card strong { font-size: 13px; }
.standard-key-generate-card span { color: #9aabc0; font-size: 10px; }
.standard-key-symbol { width: 46px; height: 46px; display: grid; place-items: center; color: #8cc9ff; border: 1px solid rgba(61, 146, 241, .25); border-radius: 13px; background: rgba(31, 112, 205, .14); font-size: 25px; }
.standard-key-filters { display: grid; grid-template-columns: repeat(7, minmax(74px, 1fr)); gap: 8px; padding: 14px; }
.standard-key-filter {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #c9d6e6;
  border: 1px solid rgba(100, 136, 181, .18);
  border-radius: 10px;
  background: rgba(7, 13, 22, .34);
  cursor: pointer;
}
.standard-key-filter span { font-size: 8px; font-weight: 850; letter-spacing: .04em; }
.standard-key-filter strong { color: white; font-size: 14px; }
.standard-key-filter:hover { border-color: rgba(67, 153, 248, .38); background: rgba(28, 93, 165, .16); }
.standard-key-filter.active { color: #86c7ff; border-color: rgba(59, 151, 255, .72); background: rgba(28, 106, 199, .25); box-shadow: inset 0 0 0 1px rgba(88, 173, 255, .12); }
.standard-keys-panel { overflow: hidden; padding: 0; }
.standard-keys-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 20px 16px; border-bottom: 1px solid rgba(91, 130, 177, .14); }
.standard-keys-panel-head h3 { margin: 0 0 3px; color: #f1f6ff; text-transform: uppercase; }
.standard-keys-panel-head p { margin: 0; color: #7f91a8; font-size: 10px; }
.standard-key-table-wrap { min-height: 375px; padding: 0 16px; }
.standard-key-table { min-width: 1080px; }
.standard-key-table th { padding-block: 14px; color: #8296af; font-size: 9px; }
.standard-key-table td { height: 66px; padding-block: 10px; color: #dbe6f4; }
.standard-key-token { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.standard-key-token > div { display: flex; align-items: center; gap: 7px; }
.standard-key-token strong { color: #f5f8ff; font-size: 11px; letter-spacing: .01em; }
.standard-key-token button { padding: 2px 4px; color: #85bff6; border: 0; background: transparent; cursor: pointer; font-size: 10px; }
.standard-key-token span { padding: 3px 8px; color: #d7b8ff; border: 1px solid rgba(164, 85, 226, .35); border-radius: 5px; background: rgba(110, 43, 155, .35); font-size: 8px; font-weight: 800; }
.standard-key-status { display: inline-flex; align-items: center; justify-content: center; min-width: 76px; padding: 6px 9px; border: 1px solid; border-radius: 8px; font-size: 9px; font-weight: 800; }
.standard-key-status.available { color: #a8d7ff; border-color: rgba(60, 148, 240, .48); background: rgba(31, 102, 178, .34); }
.standard-key-status.active { color: #77e9bc; border-color: rgba(42, 190, 131, .45); background: rgba(26, 120, 86, .26); }
.standard-key-status.warning { color: #ffcf74; border-color: rgba(230, 160, 45, .5); background: rgba(144, 88, 16, .28); }
.standard-key-status.expired,
.standard-key-status.blocked { color: #ffaaa6; border-color: rgba(235, 83, 76, .55); background: rgba(150, 42, 36, .42); }
.standard-key-status.admin { color: #ffe088; border-color: rgba(224, 170, 33, .55); background: rgba(129, 91, 11, .4); }
.standard-key-row-actions { display: flex; align-items: center; gap: 7px; }
.standard-key-row-actions .key-renew-button { min-width: 112px; min-height: 34px; padding: 7px 10px; color: #d9e8fa; border: 1px solid rgba(117, 155, 202, .32); background: rgba(17, 29, 43, .68); font-size: 9px; }
.key-more-button { width: 34px; height: 34px; color: #d7e4f4; border: 1px solid rgba(117, 155, 202, .32); border-radius: 9px; background: rgba(17, 29, 43, .68); cursor: pointer; font-weight: 900; letter-spacing: 1px; }
.key-more-button:hover,
.standard-key-row-actions .key-renew-button:hover { border-color: rgba(72, 160, 255, .65); background: rgba(31, 91, 158, .25); }
.standard-key-pagination { min-height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 14px 20px; border-top: 1px solid rgba(91, 130, 177, .14); }
.standard-key-pagination > span { color: #8294ab; font-size: 9px; }
.standard-key-pagination > div { display: flex; gap: 6px; }
.standard-key-pagination > .button { justify-self: end; }
.standard-key-page { width: 34px; height: 34px; color: #98abc3; border: 1px solid rgba(99, 139, 189, .24); border-radius: 9px; background: rgba(15, 27, 41, .65); cursor: pointer; }
.standard-key-page.active { color: white; border-color: #3e9eff; background: rgba(37, 119, 211, .42); }
.standard-key-modal { width: min(760px, calc(100vw - 32px)); }
.standard-key-modal .modal-head h2 { margin: 0; color: #f4f8ff; font-size: 25px; letter-spacing: -.025em; }
.key-modal-section { margin-top: 14px; }
.key-modal-section > b { display: flex; align-items: center; gap: 10px; color: #f0f5ff; font-size: 12px; }
.key-modal-section > b > i { width: 28px; height: 28px; display: grid; place-items: center; color: #dcecff; border: 1px solid rgba(125, 163, 208, .4); border-radius: 50%; font-style: normal; }
.key-modal-section > p { margin: 13px 0 0; color: #93a4b9; font-size: 10px; }
.key-duration-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; margin-top: 12px; }
.key-duration-option { min-height: 94px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #e2ebf8; border: 1px solid rgba(104, 143, 191, .26); border-radius: 11px; background: rgba(7, 13, 21, .52); cursor: pointer; }
.key-duration-option span { font-size: 11px; font-weight: 850; }
.key-duration-option small { color: #8497ae; font-size: 9px; }
.key-duration-option.active { color: #8dccff; border-color: #3c9fff; background: rgba(28, 99, 184, .25); box-shadow: inset 0 0 0 1px rgba(83, 173, 255, .12); }
.key-duration-option.active small { color: #9ec7eb; }
.key-lifetime-note { display: flex; flex-direction: column; gap: 4px; margin: 12px 0; padding: 12px 14px; color: #a9d6ff; border: 1px solid rgba(49, 145, 239, .5); border-radius: 10px; background: rgba(21, 83, 150, .2); }
.key-lifetime-note strong { font-size: 10px; }
.key-lifetime-note span { color: #8fa8c2; font-size: 9px; }
.key-generate-submit { width: 100%; min-height: 45px; margin: 12px 0; font-size: 13px; }
.key-generated-result { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 7px 9px 7px 16px; border: 1px solid rgba(106, 144, 190, .28); border-radius: 10px; background: rgba(4, 9, 15, .6); }
.key-generated-result strong { min-width: 0; overflow: hidden; color: #9aacbf; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.key-once-note { display: block; margin-top: 11px; color: #8092aa; font-size: 9px; }
.key-information-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }
.key-information-grid > div { min-height: 65px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 11px 13px; border: 1px solid rgba(105, 143, 190, .27); border-radius: 10px; background: rgba(5, 10, 16, .5); }
.key-information-grid span { color: #7790ad; font-size: 8px; font-weight: 850; }
.key-information-grid strong { color: #eff5ff; font-size: 10px; }
.key-information-grid .standard-key-status { align-items: center; }
.key-quick-actions { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 12px; }
.key-quick-actions button { min-height: 40px; padding: 8px; color: #dce8f8; border: 1px solid rgba(104, 143, 191, .32); border-radius: 9px; background: rgba(7, 13, 21, .55); cursor: pointer; font-size: 9px; font-weight: 750; }
.key-quick-actions button:nth-child(4) { grid-column: span 3; }
.key-quick-actions button:nth-child(5) { grid-column: span 3; }
.key-quick-actions button:hover:not(:disabled) { border-color: rgba(61, 153, 251, .65); background: rgba(28, 89, 157, .24); }
.key-quick-actions button.danger:hover:not(:disabled) { color: #ffc2bf; border-color: rgba(237, 83, 77, .6); background: rgba(145, 38, 34, .28); }
.key-quick-actions button:disabled { opacity: .38; cursor: not-allowed; }

@media (max-width: 1220px) {
  .standard-key-tools { grid-template-columns: 1fr; }
  .standard-key-filters { min-height: 96px; }
}
@media (max-width: 760px) {
  .standard-keys-heading { align-items: flex-start; flex-direction: column; }
  .standard-key-security { border-radius: 10px; }
  .standard-key-generate-card { grid-template-columns: 44px 1fr; }
  .standard-key-generate-card .button { grid-column: 1 / -1; width: 100%; }
  .standard-key-filters { grid-template-columns: repeat(2, 1fr); }
  .standard-key-filter { min-height: 68px; }
  .standard-keys-panel-head { align-items: stretch; flex-direction: column; }
  .standard-key-pagination { grid-template-columns: 1fr; }
  .standard-key-pagination > div,
  .standard-key-pagination > .button { justify-self: start; }
  .key-duration-grid { grid-template-columns: repeat(2, 1fr); }
  .key-information-grid { grid-template-columns: 1fr; }
  .key-quick-actions { grid-template-columns: 1fr 1fr; }
  .key-quick-actions button:nth-child(4),
  .key-quick-actions button:nth-child(5) { grid-column: auto; }
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #03050a;
  background-image: var(--site-background);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}
button, input, textarea { font: inherit; }
button { color: inherit; }
.hidden { display: none !important; }
.ambient {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(120px);
  opacity: .22;
}
.ambient-one { width: 420px; height: 420px; right: 4%; top: -250px; background: #127bd4; }
.ambient-two { width: 360px; height: 360px; left: -180px; bottom: -180px; background: #6027bd; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--blue-bright);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .18em;
  font-weight: 850;
}
.muted { color: var(--muted); line-height: 1.55; }
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(54, 229, 154, .9);
}

/* Login */
.login-view {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
  align-items: center;
  min-height: 100vh;
  max-width: 1480px;
  margin: 0 auto;
  padding: 58px clamp(28px, 6vw, 96px);
  gap: clamp(56px, 8vw, 120px);
}
.brand-emblem {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(91, 175, 255, .38);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(38, 137, 237, .25), rgba(9, 21, 37, .86));
  box-shadow: inset 0 0 25px rgba(39, 141, 244, .12), 0 14px 32px rgba(0, 0, 0, .28);
}
.brand-emblem img { width: 84%; height: 84%; object-fit: contain; }
.brand-emblem-large { width: 72px; height: 72px; margin-bottom: 34px; border-radius: 22px; }
.login-presentation h1 {
  max-width: 800px;
  margin: 18px 0 22px;
  font-size: clamp(48px, 5.2vw, 80px);
  line-height: .98;
  letter-spacing: -.058em;
}
.login-presentation h1 span {
  color: transparent;
  background: linear-gradient(100deg, #65c3ff, #398fff 48%, #9d80ff);
  -webkit-background-clip: text;
  background-clip: text;
}
.login-description {
  max-width: 650px;
  color: #a1afc2;
  font-size: 17px;
  line-height: 1.65;
}
.login-features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.login-features span {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  color: #8090a6;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 15, 25, .62);
  font-size: 11px;
  font-weight: 650;
}
.login-access { display: flex; justify-content: flex-end; }
.login-card {
  width: min(100%, 470px);
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(91, 160, 240, .24);
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(16, 25, 40, .95), rgba(6, 11, 19, .95));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .04);
  backdrop-filter: blur(20px);
}
.login-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.login-card-head h2 { margin: 0; font-size: 27px; letter-spacing: -.03em; }
.access-symbol {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, #2396f5, #5c50e8);
  box-shadow: 0 12px 30px rgba(41, 142, 237, .27);
  font-size: 20px;
  font-weight: 900;
}
form label {
  display: block;
  margin: 20px 0 8px;
  color: #bdc9d8;
  font-size: 12px;
  font-weight: 750;
}
input, textarea {
  width: 100%;
  color: var(--text);
  border: 1px solid rgba(110, 151, 200, .2);
  border-radius: 12px;
  outline: none;
  background: rgba(3, 7, 13, .76);
  padding: 13px 14px;
  transition: border-color .14s, box-shadow .14s, background .14s;
}
input:focus, textarea:focus {
  border-color: var(--blue);
  background: rgba(4, 10, 19, .95);
  box-shadow: 0 0 0 3px rgba(44, 147, 255, .13);
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 58px; }
.password-wrap .icon-button { position: absolute; top: 6px; right: 7px; }
.icon-button {
  min-width: 40px;
  height: 36px;
  padding: 0 8px;
  border: 0;
  border-radius: 10px;
  color: #8494aa;
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 850;
}
.icon-button:hover { color: white; background: rgba(76, 138, 215, .1); }
.form-error { min-height: 20px; margin: 12px 0 0; color: var(--red); font-size: 12px; }
.button {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 780;
  transition: filter .12s, transform .12s, border-color .12s;
}
.button:hover { filter: brightness(1.12); }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .56; cursor: not-allowed; filter: none; }
.button-primary {
  color: white;
  background: linear-gradient(110deg, #177ddd, #3b9eff);
  box-shadow: 0 10px 25px rgba(36, 139, 241, .2);
}
.button-secondary {
  color: #dceaff;
  border-color: rgba(102, 155, 220, .24);
  background: rgba(28, 47, 75, .54);
}
.button-ghost {
  color: #9eb0c6;
  border-color: var(--line);
  background: transparent;
}
.button-large {
  width: 100%;
  min-height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.secure-note {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #718198;
  font-size: 11px;
}

/* App frame */
.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 22px 15px 14px;
  border-right: 1px solid rgba(97, 144, 201, .17);
  background:
    radial-gradient(circle at 0 0, rgba(31, 101, 181, .1), transparent 31%),
    linear-gradient(180deg, rgba(7, 12, 21, .97), rgba(4, 8, 14, .97));
  box-shadow: 14px 0 38px rgba(3, 9, 18, .08);
  backdrop-filter: blur(22px);
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px 24px;
  border-bottom: 1px solid var(--line);
}
.sidebar-brand > div:last-child { display: flex; flex-direction: column; }
.sidebar-brand strong { font-size: 17px; letter-spacing: .16em; }
.sidebar-brand span { color: #8190a5; font-size: 9px; letter-spacing: .19em; }
#mainNavigation {
  padding-top: 12px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #1d5d9e transparent;
}
.nav-group {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 20px 12px 8px;
  color: #7f91a8;
  font-size: 9px;
  letter-spacing: .17em;
  font-weight: 850;
}
.nav-group::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(105, 151, 207, .17), transparent);
}
.nav-item {
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: 31px 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 2px 0;
  padding: 0 12px;
  color: #9aa9bc;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.nav-icon { color: #8297b1; font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.nav-item b { font-size: 12px; }
.nav-item i {
  min-width: 20px;
  padding: 3px 5px;
  border-radius: 99px;
  color: #8396ae;
  background: rgba(55, 105, 168, .16);
  font-size: 9px;
  font-style: normal;
  text-align: center;
}
.nav-item:hover { color: #e8f2ff; background: rgba(43, 105, 177, .11); }
.nav-item.active {
  color: white;
  border-color: rgba(60, 150, 255, .24);
  background: linear-gradient(100deg, rgba(27, 111, 211, .24), rgba(20, 46, 79, .17));
  box-shadow: inset 3px 0 var(--blue), 0 8px 22px rgba(3, 12, 24, .16);
}
.nav-item.active .nav-icon { color: var(--blue-bright); }
.nav-chevron {
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.nav-item[aria-expanded="false"] .nav-chevron {
  transform: rotate(-45deg) translate(1px, -1px);
}
.nav-submenu {
  display: grid;
  gap: 4px;
  max-height: 190px;
  margin: 5px 4px 10px 26px;
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgba(91, 143, 205, .13);
  border-radius: 12px;
  background: rgba(4, 10, 18, .46);
  opacity: 1;
  transition: max-height .22s ease, opacity .16s ease, margin .22s ease, padding .22s ease, border-color .16s ease;
}
.nav-submenu.collapsed {
  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
  opacity: 0;
  pointer-events: none;
}
.nav-subitem {
  width: 100%;
  min-height: 36px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 9px;
  padding: 4px 7px;
  color: #93a4b8;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color .14s, background .14s, border-color .14s;
}
.nav-subitem > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(75, 151, 238, .2);
  border-radius: 8px;
  color: #6ebcff;
  background: rgba(30, 101, 181, .13);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .04em;
}
.nav-subitem > b { font-size: 10px; font-weight: 680; }
.nav-subitem:hover {
  color: #e5f0ff;
  border-color: rgba(77, 148, 230, .13);
  background: rgba(37, 99, 170, .12);
}
.nav-subitem.active {
  color: #f2f7ff;
  border-color: rgba(68, 153, 251, .24);
  background: linear-gradient(100deg, rgba(34, 126, 230, .2), rgba(26, 66, 111, .12));
  box-shadow: inset 2px 0 var(--blue);
}
.nav-subitem.active > span {
  color: #dff2ff;
  border-color: rgba(77, 169, 255, .35);
  background: rgba(36, 130, 230, .25);
  box-shadow: 0 0 18px rgba(34, 130, 229, .12);
}
.sidebar-owner {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 14px 8px 4px;
  border-top: 1px solid var(--line);
}
.owner-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #216aaf, #5143cb);
  font-weight: 900;
}
.sidebar-owner > div:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.sidebar-owner strong { font-size: 11px; }
.sidebar-owner span { color: #91a0b4; font-size: 9px; }
.workspace { min-width: 0; padding: 0 clamp(20px, 3.5vw, 54px) 56px; }
.topbar {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.topbar h1 {
  margin: 0;
  color: var(--canvas-text);
  font-size: 28px;
  letter-spacing: -.035em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .75);
}
.topbar .eyebrow,
.content > .eyebrow,
.access-overview-heading .eyebrow { color: var(--canvas-accent); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.stage-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  color: #16734e;
  border: 1px solid rgba(27, 139, 94, .28);
  border-radius: 999px;
  background: rgba(36, 170, 112, .13);
  font-size: 10px;
  font-weight: 750;
}
.content { max-width: 1540px; margin: 0 auto; padding-top: 28px; }

/* Shared components */
.hero {
  position: relative;
  min-height: 188px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(55, 153, 255, .25);
  border-radius: 23px;
  background:
    radial-gradient(circle at 87% 0%, rgba(40, 137, 247, .23), transparent 42%),
    linear-gradient(120deg, rgba(12, 29, 50, .96), rgba(7, 12, 21, .95));
  box-shadow: var(--shadow);
}
.hero::after {
  content: "";
  position: absolute;
  right: -74px;
  top: -128px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(68, 164, 255, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(58, 140, 230, .025), 0 0 0 76px rgba(58, 140, 230, .018);
}
.hero > * { position: relative; z-index: 1; }
.hero h2 { max-width: 820px; margin: 0 0 10px; font-size: clamp(29px, 3vw, 43px); letter-spacing: -.046em; }
.hero p { max-width: 760px; margin: 0; color: #94a4ba; line-height: 1.58; }
.stage-orbit {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(68, 173, 255, .38);
  border-radius: 50%;
  background: rgba(5, 14, 26, .76);
  box-shadow: inset 0 0 35px rgba(42, 139, 238, .14), 0 0 50px rgba(27, 116, 216, .13);
  text-align: center;
}
.stage-orbit strong { display: block; color: var(--green); font-size: 25px; }
.stage-orbit span { color: #78889e; font-size: 8px; letter-spacing: .13em; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.metric-card, .panel, .module-card, .step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(13, 20, 32, .9), rgba(7, 11, 19, .88));
  box-shadow: inset 0 1px rgba(255, 255, 255, .02);
}
.metric-card { min-height: 128px; padding: 20px; }
.metric-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #78899f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.metric-symbol {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--blue-bright);
  border-radius: 9px;
  background: rgba(43, 139, 236, .12);
  font-size: 9px;
}
.metric-card strong { display: block; margin: 17px 0 4px; font-size: 30px; letter-spacing: -.045em; }
.metric-card small { color: #627188; }
.grid-two { display: grid; grid-template-columns: 1.35fr .65fr; gap: 16px; margin-top: 16px; }
.panel { min-width: 0; padding: 22px; }
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 19px;
}
.panel-head h2, .panel-head h3 { margin: 0; font-size: 18px; letter-spacing: -.025em; }
.panel-head p { margin: 6px 0 0; color: #708097; font-size: 11px; }
.section-space { margin-top: 18px; }
.module-list { display: grid; gap: 10px; }
.module-row {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 13px;
  border: 1px solid rgba(98, 135, 181, .11);
  border-radius: 13px;
  background: rgba(7, 12, 21, .52);
}
.module-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(64, 151, 247, .19);
  border-radius: 13px;
  color: var(--blue-bright);
  background: rgba(35, 112, 196, .11);
  font-size: 10px;
  font-weight: 850;
}
.module-row strong { display: block; margin-bottom: 4px; font-size: 12px; }
.module-row small { color: #65758b; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 194, 85, .21);
  border-radius: 999px;
  color: #e4b86d;
  background: rgba(126, 84, 20, .1);
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}
.status-badge.connected {
  color: #8fe0b9;
  border-color: rgba(53, 226, 148, .2);
  background: rgba(26, 111, 73, .11);
}
.timeline { display: grid; gap: 0; }
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  min-height: 72px;
}
.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 28px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline-index {
  position: relative;
  z-index: 1;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #73859d;
  background: #0a111d;
  font-size: 9px;
  font-weight: 850;
}
.timeline-item.current .timeline-index {
  color: white;
  border-color: var(--blue);
  background: linear-gradient(145deg, #1979d0, #3d9eff);
  box-shadow: 0 0 22px rgba(44, 147, 255, .22);
}
.timeline-item strong { display: block; margin: 4px 0 4px; font-size: 12px; }
.timeline-item p { margin: 0; color: #66768c; font-size: 10px; line-height: 1.45; }
.section-heading { margin: 0 0 5px; font-size: 25px; letter-spacing: -.04em; }
.section-description { max-width: 800px; margin: 0 0 22px; color: #7e8da2; line-height: 1.58; }
.content > .section-heading,
.access-overview-heading .section-heading { color: var(--canvas-text); }
.content > .section-description,
.access-overview-heading .section-description {
  color: var(--canvas-muted);
  font-weight: 560;
}
.module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.module-card { position: relative; overflow: hidden; padding: 23px; }
.module-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -54px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(69, 153, 246, .1);
  border-radius: 50%;
}
.module-card-top { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 14px; }
.module-card .module-mark { width: 48px; height: 48px; }
.module-card h3 { margin: 20px 0 6px; font-size: 21px; letter-spacing: -.035em; }
.module-card .category { color: var(--blue-bright); font-size: 9px; letter-spacing: .12em; font-weight: 850; text-transform: uppercase; }
.module-card p { min-height: 46px; color: #7d8ca1; line-height: 1.55; font-size: 12px; }
.module-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.module-card-footer small { color: #586980; }

/* Central de Controle: cérebro (Core) e coração (Move Server) */
.control-center-hero {
  position: relative;
  min-height: 178px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  padding: 30px 32px;
  border: 1px solid rgba(55, 151, 248, .26);
  border-radius: 22px;
  color: #f3f8ff;
  background:
    radial-gradient(circle at 92% 0, rgba(42, 135, 236, .24), transparent 42%),
    linear-gradient(120deg, rgba(11, 28, 48, .98), rgba(7, 13, 22, .97));
  box-shadow: 0 22px 58px rgba(5, 16, 29, .18);
}
.control-center-hero::after {
  content: "";
  position: absolute;
  right: -76px;
  top: -130px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(74, 166, 255, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(58, 140, 230, .025), 0 0 0 76px rgba(58, 140, 230, .016);
}
.control-center-hero > * { position: relative; z-index: 1; }
.control-center-hero h2 { max-width: 760px; margin: 0 0 10px; font-size: clamp(27px, 2.6vw, 39px); letter-spacing: -.045em; }
.control-center-hero p:not(.eyebrow) { max-width: 760px; margin: 0; color: #9eb0c6; line-height: 1.58; }
.heart-status {
  min-width: 214px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 111, 131, .23);
  border-radius: 15px;
  background: rgba(55, 20, 29, .54);
}
.heart-status.online { border-color: rgba(54, 229, 154, .27); background: rgba(15, 68, 49, .45); }
.heart-status div { display: grid; gap: 4px; }
.heart-status small { color: #8294aa; font-size: 8px; font-weight: 850; letter-spacing: .13em; }
.heart-status strong { color: #ff9aa9; font-size: 11px; letter-spacing: .04em; }
.heart-status.online strong { color: #80e8b7; }
.heart-pulse {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(255, 112, 131, .09), 0 0 18px rgba(255, 112, 131, .55);
}
.heart-status.online .heart-pulse {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(54, 229, 154, .09), 0 0 18px rgba(54, 229, 154, .55);
  animation: heart-pulse 1.8s ease-in-out infinite;
}
@keyframes heart-pulse { 50% { transform: scale(.78); opacity: .7; } }
.control-principle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 17px;
  padding: 12px 15px;
  border: 1px solid rgba(49, 111, 179, .16);
  border-radius: 12px;
  color: #536b87;
  background: rgba(245, 250, 255, .72);
  font-size: 11px;
  line-height: 1.45;
}
.control-principle b { flex: 0 0 auto; color: #176fbe; font-size: 9px; letter-spacing: .11em; }
.runtime-control-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.runtime-control-card {
  min-width: 0;
  overflow: hidden;
  padding: 19px;
  border: 1px solid rgba(91, 145, 209, .2);
  border-radius: 18px;
  color: #eaf2fc;
  background:
    radial-gradient(circle at 100% 0, rgba(42, 126, 219, .13), transparent 39%),
    linear-gradient(145deg, rgba(13, 22, 36, .98), rgba(7, 12, 20, .97));
  box-shadow: 0 16px 38px rgba(6, 15, 27, .15), inset 0 1px rgba(255, 255, 255, .025);
}
.runtime-card-head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
}
.runtime-card-head > div:nth-child(2) { min-width: 0; }
.runtime-card-head span:not(.runtime-confirmation) { color: #71859e; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.runtime-card-head h3 { overflow: hidden; margin: 3px 0 0; font-size: 16px; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.runtime-confirmation {
  padding: 5px 7px;
  border: 1px solid rgba(242, 184, 86, .19);
  border-radius: 999px;
  color: #e7bc70;
  background: rgba(133, 87, 20, .12);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .08em;
}
.runtime-confirmation.confirmed { color: #84deb1; border-color: rgba(50, 206, 136, .2); background: rgba(21, 104, 68, .14); }
.runtime-state-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 18px 0 13px;
  padding: 13px;
  border: 1px solid rgba(93, 139, 193, .13);
  border-radius: 12px;
  background: rgba(2, 7, 13, .4);
}
.runtime-state-pair > div { min-width: 0; display: grid; gap: 6px; }
.runtime-state-pair span { color: #657991; font-size: 7px; font-weight: 850; letter-spacing: .08em; }
.runtime-state-pair strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.runtime-state-pair > i { color: #45617f; font-style: normal; }
.state-online { color: var(--green); }
.state-offline { color: #ff8c9c; }
.state-maintenance { color: var(--amber); }
.state-error { color: var(--red); }
.state-unknown { color: #8d9caf; }
.runtime-process-line { display: flex; align-items: center; gap: 7px; color: #8fa0b5; font-size: 9px; }
.runtime-process-line time { margin-left: auto; color: #61738a; }
.process-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #58687c; }
.process-dot.running { background: var(--green); box-shadow: 0 0 10px rgba(54, 229, 154, .62); }
.runtime-message { min-height: 31px; margin: 10px 0 0; color: #71839a; font-size: 9px; line-height: 1.45; }
.runtime-state-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 15px; }
.runtime-state-button {
  min-height: 35px;
  padding: 7px 5px;
  border: 1px solid rgba(94, 137, 187, .18);
  border-radius: 9px;
  color: #98a9bc;
  background: rgba(22, 37, 58, .55);
  cursor: pointer;
  font-size: 8px;
  font-weight: 850;
  transition: filter .13s, transform .13s, border-color .13s, background .13s;
}
.runtime-state-button:hover:not(:disabled) { filter: brightness(1.2); transform: translateY(-1px); }
.runtime-state-button.online { color: #85deb2; }
.runtime-state-button.maintenance { color: #f0c36e; }
.runtime-state-button.offline { color: #ef929f; }
.runtime-state-button:disabled { cursor: default; opacity: 1; }
.runtime-state-button.online:disabled { border-color: rgba(54, 229, 154, .3); background: rgba(23, 112, 75, .22); }
.runtime-state-button.maintenance:disabled { border-color: rgba(255, 196, 91, .3); background: rgba(135, 89, 18, .2); }
.runtime-state-button.offline:disabled { border-color: rgba(255, 112, 131, .29); background: rgba(126, 37, 50, .2); }
.notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px;
  border: 1px solid rgba(63, 156, 255, .18);
  border-radius: 14px;
  color: #8fa5bf;
  background: rgba(28, 94, 164, .08);
  font-size: 11px;
  line-height: 1.55;
}
.notice b { color: var(--blue-bright); }
.workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step-card { min-height: 190px; padding: 22px; }
.step-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--blue-bright);
  border-radius: 10px;
  background: rgba(42, 135, 232, .12);
  font-size: 10px;
  font-weight: 900;
}
.step-card h3 { margin: 28px 0 8px; font-size: 17px; }
.step-card p { margin: 0; color: #74849a; font-size: 11px; line-height: 1.55; }
.step-card.pending { opacity: .68; }
.empty-state {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 40px;
  text-align: center;
}
.empty-state-inner { max-width: 590px; }
.empty-symbol {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px solid rgba(64, 153, 247, .23);
  border-radius: 18px;
  color: var(--blue-bright);
  background: rgba(38, 119, 204, .11);
  font-size: 11px;
  font-weight: 900;
}
.empty-state h2 { margin: 0 0 10px; font-size: 25px; }
.empty-state p { color: #77879c; line-height: 1.6; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  padding: 11px 12px;
  color: #5f7087;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
}
.data-table td { padding: 13px 12px; border-bottom: 1px solid rgba(107, 146, 193, .09); color: #a4b3c5; font-size: 11px; }
.data-table tr:last-child td { border-bottom: 0; }
.log-level { color: var(--green); font-weight: 800; text-transform: uppercase; font-size: 9px; }
.log-level.warning { color: var(--amber); }
.session-list { display: grid; gap: 10px; }
.session-card {
  display: grid;
  grid-template-columns: 43px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(6, 11, 20, .5);
}
.session-card strong { display: block; margin-bottom: 4px; font-size: 12px; }
.session-card small { color: #64758b; }
.edit-grid { display: grid; gap: 16px; }
.field-label { display: block; margin-bottom: 8px; color: #b8c5d6; font-size: 11px; font-weight: 750; }
.modal-backdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 4, 10, .78);
  backdrop-filter: blur(8px);
}
.modal {
  width: min(100%, 590px);
  padding: 25px;
  border: 1px solid rgba(86, 156, 237, .27);
  border-radius: 21px;
  background: #0a111d;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
}
.modal-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.modal-head h2 { margin: 0 0 6px; font-size: 22px; }
.modal-head p { margin: 0; color: #74849a; font-size: 11px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.toast-root { position: fixed; z-index: 80; right: 22px; bottom: 22px; display: grid; gap: 10px; }
.toast {
  max-width: 380px;
  padding: 13px 16px;
  border: 1px solid rgba(58, 218, 146, .23);
  border-radius: 12px;
  color: #c5f5dc;
  background: rgba(9, 43, 30, .96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
  font-size: 11px;
}
.toast.error { color: #ffd0d7; border-color: rgba(255, 103, 125, .28); background: rgba(57, 17, 25, .97); }
.loading-layout { display: grid; gap: 16px; }
.skeleton-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.skeleton {
  min-height: 130px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(100deg, #09111d 20%, #101e30 38%, #09111d 58%);
  background-size: 200% 100%;
  animation: shimmer 1.25s linear infinite;
}
.skeleton-hero { min-height: 190px; }
@keyframes shimmer { to { background-position-x: -200%; } }
.mobile-navigation { display: none; }

/* Gestão de acessos por software e bot */
.access-overview-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}
.access-overview-heading .section-description { margin-bottom: 0; }
.access-overview-totals {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}
.access-overview-totals span {
  padding: 9px 12px;
  color: #9bacbf;
  border: 1px solid rgba(92, 139, 194, .2);
  border-radius: 999px;
  background: rgba(7, 14, 24, .78);
  font-size: 10px;
  white-space: nowrap;
}
.access-overview-totals b { margin-right: 4px; color: #eef6ff; font-size: 12px; }
.access-overview-totals .online { color: #8fe0b9; border-color: rgba(54, 229, 154, .25); }
.access-overview-totals .online b { color: var(--green); }
.access-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.access-product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 23px;
  border: 1px solid rgba(93, 150, 216, .21);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(38, 131, 225, .16), transparent 38%),
    linear-gradient(145deg, rgba(13, 22, 36, .96), rgba(7, 12, 21, .95));
  box-shadow: 0 18px 45px rgba(6, 15, 26, .15), inset 0 1px rgba(255, 255, 255, .025);
}
.access-product-card::after {
  content: "";
  position: absolute;
  right: -58px;
  top: -72px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(74, 160, 248, .09);
  border-radius: 50%;
  pointer-events: none;
}
.access-product-card > * { position: relative; z-index: 1; }
.access-product-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.access-product-top .category {
  color: #a3b6cd;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.access-product-title { margin: 21px 0 18px; }
.access-product-title h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.035em; }
.access-product-title small { color: #91a8c2; font-size: 9px; letter-spacing: .08em; }
.access-product-metrics {
  display: grid;
  grid-template-columns: minmax(125px, 1.25fr) repeat(2, minmax(92px, .75fr));
  overflow: hidden;
  border: 1px solid rgba(100, 143, 194, .14);
  border-radius: 14px;
  background: rgba(3, 8, 15, .46);
}
.access-product-metrics > div { min-height: 83px; padding: 15px; }
.access-product-metrics > div + div { border-left: 1px solid rgba(100, 143, 194, .13); }
.access-total span {
  display: block;
  margin-bottom: 7px;
  color: #99aabe;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .08em;
}
.access-total strong { font-size: 29px; letter-spacing: -.05em; }
.access-presence {
  display: grid;
  grid-template-columns: 8px 1fr;
  align-content: center;
  gap: 5px 7px;
}
.access-presence i, .presence-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #607087;
}
.access-presence span { color: #a4b3c6; font-size: 9px; }
.access-presence strong { grid-column: 1 / -1; font-size: 21px; }
.access-presence.online i { background: var(--green); box-shadow: 0 0 12px rgba(54, 229, 154, .72); }
.access-presence.online strong { color: var(--green); }
.access-product-restrictions {
  display: flex;
  gap: 8px;
  margin: 13px 0 17px;
  color: #96a7ba;
  font-size: 9px;
}
.access-product-restrictions span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(111, 144, 184, .15);
}
.access-details-button { width: 100%; }
.detail-back-button {
  margin: 0 0 16px;
  padding: 0;
  color: #5f7692;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
}
.detail-back-button:hover { color: var(--blue); }
.module-access-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(88, 151, 224, .22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(42, 142, 240, .18), transparent 42%),
    linear-gradient(125deg, rgba(12, 28, 48, .97), rgba(7, 14, 25, .96));
  box-shadow: 0 18px 48px rgba(4, 12, 22, .16);
}
.module-access-identity { display: flex; align-items: center; gap: 17px; min-width: 0; }
.module-access-identity .module-mark { flex: 0 0 auto; width: 52px; height: 52px; }
.module-access-identity .eyebrow { margin-bottom: 5px; }
.module-access-identity h2 { margin: 0 0 6px; font-size: 27px; letter-spacing: -.04em; }
.module-access-identity p:last-child { margin: 0; color: #778aa2; font-size: 11px; }
.access-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin: 15px 0;
}
.access-summary-grid .metric-card { min-height: 116px; }
.access-management-panel { padding: 0; overflow: hidden; }
.access-management-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.access-management-head h3 { margin: 0 0 5px; font-size: 17px; }
.access-management-head p { margin: 0; color: #687990; font-size: 10px; }
.access-search-form { display: flex; gap: 8px; width: min(100%, 410px); }
.access-search-form input { min-width: 0; height: 40px; padding-block: 8px; }
.access-table { min-width: 1010px; }
.access-table th:first-child, .access-table td:first-child { padding-left: 22px; }
.access-table th:last-child, .access-table td:last-child { padding-right: 22px; }
.access-table code {
  color: #8ca2bb;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 10px;
}
.person-cell { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.person-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(72, 157, 250, .25);
  border-radius: 10px;
  color: var(--blue-bright);
  background: rgba(35, 119, 210, .12);
  font-size: 11px;
  font-weight: 900;
}
.person-cell strong { display: block; margin-bottom: 4px; color: #dce7f4; font-size: 11px; }
.person-cell small { color: #64758b; font-size: 9px; }
.presence-badge, .access-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}
.presence-badge { color: #7d8da2; background: rgba(90, 111, 139, .1); }
.presence-badge.online { color: #8fe0b9; background: rgba(36, 137, 91, .12); }
.presence-badge.online i { background: var(--green); box-shadow: 0 0 9px rgba(54, 229, 154, .65); }
.access-status.allowed { color: #8fe0b9; background: rgba(36, 137, 91, .12); }
.access-status.blocked { color: #ffd080; background: rgba(154, 101, 22, .13); }
.access-status.banned { color: #ff9aaa; background: rgba(160, 45, 62, .14); }
.source-restriction {
  display: block;
  max-width: 130px;
  margin-top: 5px;
  color: #8a7658;
  font-size: 8px;
  line-height: 1.35;
}
.access-actions { display: flex; gap: 5px; }
.access-action {
  min-height: 31px;
  padding: 6px 8px;
  border-radius: 8px;
  color: #8fa0b5;
  border-color: rgba(102, 146, 198, .16);
  background: rgba(27, 45, 70, .38);
  font-size: 9px;
}
.access-action.allow { color: #82d9ad; }
.access-action.block { color: #e8bd73; }
.access-action.ban { color: #ec8797; }
.access-action:disabled { color: #4e5d70; opacity: .45; }
.access-empty {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #687a91;
  text-align: center;
}
.access-empty strong { color: #dbe7f5; font-size: 15px; }
.access-empty .button { margin-top: 8px; }

/* Login inspirado no antigo Move Cloud Core */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.software-login {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #03060c;
  background-image: var(--login-background);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.software-login-panel {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(32vw, 460px);
  min-width: 380px;
  padding: 32px 34px 34px;
  overflow: hidden;
  border: 1px solid rgba(157, 205, 238, .52);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(20, 48, 73, .82), rgba(9, 27, 45, .72));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .22),
    inset 0 0 0 1px rgba(110, 173, 218, .08),
    0 26px 70px rgba(25, 68, 103, .24),
    0 8px 24px rgba(19, 49, 74, .18);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  transform: translate(-50%, -50%);
}
.software-login-heading { margin-bottom: 19px; text-align: center; }
.software-login-heading .eyebrow {
  margin-bottom: 7px;
  color: rgba(169, 199, 229, .62);
  font-size: 8px;
  letter-spacing: .26em;
}
.software-login-heading h1 {
  margin: 0;
  color: #f4f7fb;
  font-size: 18px;
  line-height: 1;
  letter-spacing: .08em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .65);
}
.software-login-panel form { width: 100%; }
.software-field {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid rgba(139, 166, 194, .54);
}
.software-field:focus-within {
  border-bottom-color: #d6e3ef;
  box-shadow: 0 8px 16px -15px rgba(196, 224, 249, .8);
}
.software-field input {
  height: 47px;
  padding: 0 52px 0 35px;
  color: #eef4fb;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  letter-spacing: .015em;
}
.software-field input:focus { border: 0; background: transparent; box-shadow: none; }
.software-field input::placeholder { color: rgba(176, 190, 207, .66); opacity: 1; }
.software-field-icon {
  position: absolute;
  left: 2px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  color: transparent;
}
.software-field-user .software-field-icon::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 1px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(171, 202, 231, .75);
  border-radius: 50%;
}
.software-field-user .software-field-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: 1px;
  width: 15px;
  height: 9px;
  border: 1px solid rgba(171, 202, 231, .75);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}
.software-field-password .software-field-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 3px;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(171, 202, 231, .75);
  border-radius: 50%;
}
.software-field-password .software-field-icon::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 11px;
  width: 11px;
  height: 1px;
  background: rgba(171, 202, 231, .75);
  box-shadow: 6px 3px 0 rgba(171, 202, 231, .75);
  transform: rotate(-42deg);
  transform-origin: left center;
}
.software-password-toggle {
  position: absolute;
  right: 3px;
  top: 50%;
  min-width: 42px;
  height: 28px;
  padding: 0 5px;
  transform: translateY(-50%);
  color: rgba(172, 192, 213, .64);
  border: 0;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .08em;
}
.software-password-toggle:hover { color: white; background: rgba(202, 221, 239, .07); }
.software-login-error {
  min-height: 20px;
  margin: 8px 0 4px;
  color: #ff9aa8;
  font-size: 10px;
  text-align: center;
  text-shadow: 0 1px 10px #000;
}
.software-enter-button {
  width: 100%;
  min-height: 41px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(161, 181, 204, .46);
  border-radius: 7px;
  color: #f7f9fc;
  background:
    linear-gradient(180deg, rgba(64, 74, 88, .76), rgba(39, 47, 59, .82));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .08),
    0 8px 24px rgba(0, 0, 0, .26);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  transition: border-color .12s, filter .12s, transform .12s;
}
.software-enter-button:hover {
  border-color: rgba(211, 225, 239, .72);
  filter: brightness(1.14);
}
.software-enter-button:active { transform: translateY(1px); }
.software-enter-button:disabled { opacity: .55; cursor: not-allowed; filter: none; }

/* Responsive */
@media (max-width: 1100px) {
  .login-view { grid-template-columns: 1fr 420px; gap: 48px; padding-inline: 36px; }
  .login-presentation h1 { font-size: 54px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-two { grid-template-columns: 1fr; }
  .access-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .runtime-control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .login-view { grid-template-columns: 1fr; justify-items: center; padding-block: 42px; }
  .login-presentation { text-align: center; }
  .brand-emblem-large { margin-inline: auto; }
  .login-description { margin-inline: auto; }
  .login-features { justify-content: center; }
  .login-access { width: 100%; justify-content: center; }
  .sidebar { display: none; }
  .app-shell { display: block; }
  .workspace { padding-inline: 18px; padding-bottom: 100px; }
  .topbar { min-height: 96px; }
  .mobile-navigation {
    position: fixed;
    z-index: 40;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 7px;
    border: 1px solid rgba(104, 153, 211, .2);
    border-radius: 18px;
    background: rgba(8, 13, 22, .94);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .48);
    backdrop-filter: blur(18px);
  }
  .mobile-navigation button {
    min-height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #708198;
    border: 0;
    border-radius: 12px;
    background: transparent;
    font-size: 9px;
    font-weight: 750;
  }
  .mobile-navigation button span { color: #566a83; font-size: 8px; }
  .mobile-navigation button.active { color: white; background: rgba(39, 126, 220, .18); }
  .mobile-navigation button.active span { color: var(--blue-bright); }
  .module-grid { grid-template-columns: 1fr; }
  .workflow { grid-template-columns: 1fr; }
  .software-login {
    background-position: center center;
    background-size: auto 100vh;
  }
  .software-login-panel {
    top: 50%;
    width: min(84vw, 420px);
    min-width: 0;
    padding: 30px 30px 32px;
  }
}
@media (max-width: 620px) {
  .login-view { padding: 28px 18px 40px; }
  .login-presentation h1 { font-size: 42px; }
  .login-description { font-size: 15px; }
  .login-features span:nth-child(n+2) { display: none; }
  .login-card { padding: 26px 22px; }
  .topbar { align-items: flex-start; padding-block: 22px; }
  .topbar-actions .stage-pill { display: none; }
  .topbar h1 { font-size: 24px; }
  .hero { grid-template-columns: 1fr; padding: 24px; }
  .control-center-hero { align-items: flex-start; flex-direction: column; padding: 24px; }
  .heart-status { width: 100%; min-width: 0; }
  .control-principle { align-items: flex-start; flex-direction: column; }
  .runtime-control-grid { grid-template-columns: 1fr; }
  .stage-orbit { width: 96px; height: 96px; }
  .metric-grid { grid-template-columns: 1fr; }
  .access-overview-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .access-overview-totals { justify-content: flex-start; }
  .access-product-grid { grid-template-columns: 1fr; }
  .access-product-card { padding: 19px; }
  .access-product-metrics { grid-template-columns: 1fr 1fr; }
  .access-product-metrics .access-total { grid-column: 1 / -1; }
  .access-product-metrics > div:nth-child(2) { border-left: 0; border-top: 1px solid rgba(100, 143, 194, .13); }
  .access-product-metrics > div:nth-child(3) { border-top: 1px solid rgba(100, 143, 194, .13); }
  .module-access-header { align-items: flex-start; flex-direction: column; padding: 20px; }
  .module-access-header > .button { width: 100%; }
  .module-access-identity { align-items: flex-start; }
  .module-access-identity h2 { font-size: 23px; }
  .access-summary-grid { grid-template-columns: 1fr 1fr; }
  .access-summary-grid .metric-card { min-height: 105px; padding: 16px; }
  .access-management-head { align-items: stretch; flex-direction: column; }
  .access-search-form { width: 100%; }
  .module-row { grid-template-columns: 42px 1fr; }
  .module-row .status-badge { grid-column: 1 / -1; justify-self: start; }
  .session-card { grid-template-columns: 42px 1fr; }
  .session-card .status-badge { grid-column: 1 / -1; justify-self: start; }
  .toast-root { left: 14px; right: 14px; bottom: 86px; }
  .toast { max-width: none; }
  .software-login { padding: 0; }
  .software-login-panel {
    top: 50%;
    width: min(88vw, 360px);
    padding: 24px 22px 26px;
    border-radius: 20px;
  }
  .software-login-heading { margin-bottom: 12px; }
  .software-login-heading .eyebrow { display: none; }
  .software-login-heading h1 { font-size: 16px; }
  .software-field { min-height: 44px; }
  .software-field input { height: 43px; font-size: 13px; }
  .software-enter-button { min-height: 39px; }
}
