: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 */
.update-upload { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.4fr); gap: 22px; align-items: center; padding: 24px; }
.update-upload h3 { margin: 8px 0 5px; }
.update-upload p, .update-main p { margin: 0; color: var(--muted); }
.update-upload-form { display: flex; gap: 12px; align-items: center; }
.update-upload-form input { min-width: 0; flex: 1; padding: 12px; border: 1px dashed rgba(104, 153, 211, .36); border-radius: 9px; color: var(--muted); background: rgba(4, 10, 19, .5); }
.update-progress { grid-column: 1 / -1; min-height: 18px; color: var(--blue-bright); font-size: 12px; }
.update-list { display: grid; }
.update-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 20px 22px; border-top: 1px solid rgba(100, 143, 194, .13); }
.update-row:first-child { border-top: 0; }
.update-main { min-width: 0; display: grid; gap: 5px; }
.update-main span, .update-main code { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.update-status { padding: 7px 9px; border: 1px solid rgba(83, 181, 255, .3); border-radius: 999px; color: #8ecaff; font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.update-status.succeeded { color: #65e6b0; border-color: rgba(101, 230, 176, .35); }
.update-status.failed { color: #ff9aa8; border-color: rgba(255, 104, 128, .35); }
.update-status.applying { color: #ffd17a; border-color: rgba(255, 209, 122, .35); }
.update-actions { display: flex; gap: 8px; }
.update-actions .button { white-space: nowrap; text-decoration: none; }

@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; }
  .update-row { grid-template-columns: minmax(0, 1fr) auto; }
  .update-actions { grid-column: 1 / -1; }
  .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; }
  .update-upload { grid-template-columns: 1fr; }
  .update-upload-form { align-items: stretch; flex-direction: column; }
  .update-progress { grid-column: auto; }
  .update-row { grid-template-columns: 1fr; }
  .update-status { justify-self: start; }
  .update-actions { grid-column: auto; flex-direction: column; }
}

/* MOVE CLOUD CORE · Silver glass interface 2026 */
:root {
  --bg: #dce3e8;
  --surface: rgba(248, 250, 252, .58);
  --surface-2: rgba(235, 241, 246, .68);
  --surface-3: rgba(224, 233, 240, .72);
  --line: rgba(255, 255, 255, .76);
  --line-strong: rgba(149, 166, 185, .45);
  --text: #101827;
  --muted: #657185;
  --faint: #929daf;
  --canvas-text: #101827;
  --canvas-muted: #59687c;
  --canvas-accent: #465d78;
  --blue: #6b61ef;
  --blue-bright: #6258e8;
  --green: #13ad50;
  --site-background: url("/assets/core-silver-background.jpg?v=20260809-1");
  --login-background: url("/assets/core-silver-background.jpg?v=20260809-1");
  --shadow: 0 22px 60px rgba(75, 91, 106, .13), inset 0 1px rgba(255, 255, 255, .72);
  color: var(--text);
  background: #dce3e8;
}

html, body { background-color: #dce3e8; }
body {
  color: var(--text);
  background-image: var(--site-background);
  background-position: center;
  background-size: cover;
}
body::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(104, 126, 146, .23) 0 23%, rgba(255, 255, 255, .12) 23.05% 100%),
    radial-gradient(circle at 52% 10%, rgba(255, 255, 255, .44), transparent 39%),
    linear-gradient(180deg, rgba(247, 249, 246, .08), rgba(72, 94, 110, .08));
}
.ambient { display: none; }

/* Abertura e login */
.software-login {
  z-index: 50;
  color: #111820;
  background-color: #dce3e8;
  background-image: var(--login-background);
  isolation: isolate;
  transition: opacity .72s ease, filter .72s ease, transform .72s cubic-bezier(.22,.8,.2,1);
}
.software-login::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(119deg, rgba(80, 107, 127, .2) 0 24.4%, rgba(255,255,255,.09) 24.45% 100%),
    radial-gradient(circle at 50% 14%, rgba(255,255,255,.52), transparent 44%);
}
.entrance-brand {
  position: absolute;
  z-index: 3;
  isolation: isolate;
  top: 50%;
  left: 50%;
  width: min(78vw, 1220px);
  height: clamp(150px, 18vw, 255px);
  transform: translate(-50%, -50%);
  transition: top 1.05s cubic-bezier(.2,.8,.2,1), transform 1.05s cubic-bezier(.2,.8,.2,1), width 1.05s ease, height 1.05s ease;
}
.entrance-title {
  position: absolute;
  left: 0;
  width: 100%;
  margin: 0;
  white-space: nowrap;
  font-family: "Segoe UI Variable Display", "Arial Nova", "Segoe UI", sans-serif;
  font-size: clamp(64px, 8vw, 150px);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -.058em;
  text-align: center;
}
.entrance-title-main {
  z-index: 2;
  top: 50%;
  color: transparent;
  background: linear-gradient(100deg, #bdc2c4 0%, #141718 26%, #020303 37%, #dadcdc 55%, #fafafa 60%, #373a3a 78%, #111313 100%);
  background-size: 160% 100%;
  filter: drop-shadow(0 14px 15px rgba(45, 52, 57, .13));
  transform: translateY(-50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.entrance-title-ghost {
  z-index: 0;
  color: transparent;
  opacity: .68;
  -webkit-text-stroke: 1.3px rgba(255, 255, 255, .94);
  text-shadow: 0 1px rgba(98, 111, 121, .15);
}
.entrance-title-top { top: 5%; z-index: 1; }
.entrance-title-bottom { bottom: -3%; z-index: 0; }
.entrance-lines i {
  position: absolute;
  z-index: 2;
  width: 23vw;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,.9), #1e2428);
  transform: scaleX(0);
}
.entrance-lines i:first-child { top: 25%; left: 0; transform-origin: left; }
.entrance-lines i:last-child { right: 0; bottom: 21.7%; background: linear-gradient(90deg, #1e2428, rgba(255,255,255,.9)); transform-origin: right; }
.entrance-domain {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 7.2%;
  color: rgba(39, 45, 49, .62);
  opacity: 0;
  transform: translateX(-50%) translateY(14px);
  font-size: clamp(14px, 1.25vw, 22px);
  text-decoration: none;
  transition: color .2s;
}
.entrance-domain:hover { color: #14191d; }
.entrance-running .entrance-title-main { animation: titleReveal 1.5s .22s cubic-bezier(.16,.85,.24,1) both, silverSweep 2.1s .5s ease both; }
.entrance-running .entrance-title-top { animation: ghostFromTop 1.35s .28s cubic-bezier(.16,.85,.24,1) both; }
.entrance-running .entrance-title-bottom { animation: ghostFromBottom 1.35s .28s cubic-bezier(.16,.85,.24,1) both; }
.entrance-running .entrance-lines i { animation: lineGrow 1.2s .7s cubic-bezier(.2,.8,.2,1) forwards; }
.entrance-running .entrance-domain { animation: domainReveal .8s 1.15s ease forwards; }
@keyframes titleReveal { from { opacity: 0; clip-path: inset(0 50%); transform: translateY(-50%) scale(.95); } to { opacity: 1; clip-path: inset(0); transform: translateY(-50%) scale(1); } }
@keyframes ghostFromTop { from { opacity: 0; transform: translateY(-35px); } to { opacity: .68; transform: none; } }
@keyframes ghostFromBottom { from { opacity: 0; transform: translateY(35px); } to { opacity: .68; transform: none; } }
@keyframes lineGrow { to { transform: scaleX(1); } }
@keyframes domainReveal { to { opacity: 1; transform: translateX(-50%); } }
@keyframes silverSweep { from { background-position: 100% center; } to { background-position: 0 center; } }

.software-login-panel {
  top: 49%;
  width: min(430px, calc(100vw - 32px));
  min-width: 0;
  padding: 25px 31px 29px;
  color: #111827;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(132, 141, 142, .58), rgba(104, 115, 116, .47));
  box-shadow: 0 24px 55px rgba(68, 78, 83, .16), inset 0 1px rgba(255,255,255,.58);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(20px) saturate(76%);
  -webkit-backdrop-filter: blur(20px) saturate(76%);
  transform: translate(-50%, 25px) scale(.96);
  transition: opacity .62s .42s ease, transform .8s .35s cubic-bezier(.2,.8,.2,1);
}
.login-ready .entrance-brand {
  top: 22%;
  width: min(52vw, 820px);
  height: 112px;
  transform: translate(-50%, -50%);
}
.login-ready .entrance-title {
  top: 50%;
  bottom: auto;
  font-size: clamp(52px, 4vw, 78px);
  letter-spacing: -.045em;
}
.login-ready .entrance-title-top {
  opacity: .24;
  transform: translateY(-84%);
}
.login-ready .entrance-title-bottom {
  opacity: .24;
  transform: translateY(-4%);
}
.login-ready .entrance-lines, .login-ready .entrance-domain { opacity: 0; transition: opacity .45s ease; }
.login-ready .software-login-panel { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.login-ready .entrance-title-main {
  background-position: center;
  background-size: 100% 100%;
  animation: none;
}
.software-login-heading { margin-bottom: 13px; }
.software-login-heading .eyebrow { color: rgba(27, 34, 38, .58); }
.software-login-heading h2 { margin: 0; color: #13191c; font-size: 17px; letter-spacing: .12em; text-shadow: 0 1px rgba(255,255,255,.35); }
.software-field { border-bottom-color: rgba(31, 42, 46, .3); background: transparent !important; }
.software-field input { color: #101619; background: transparent !important; caret-color: #101619; }
.software-field input::placeholder { color: rgba(21, 29, 32, .55); }
.software-field input:-webkit-autofill,
.software-field input:-webkit-autofill:hover,
.software-field input:-webkit-autofill:focus,
.software-field input:-webkit-autofill:active {
  -webkit-text-fill-color: #101619 !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  box-shadow: 0 0 0 1000px transparent inset !important;
  transition: background-color 999999s ease-out 0s !important;
}
.software-field-user .software-field-icon::before,
.software-field-user .software-field-icon::after,
.software-field-password .software-field-icon::before { border-color: rgba(24, 34, 38, .58); }
.software-field-password .software-field-icon::after { background: rgba(24,34,38,.58); box-shadow: 6px 3px 0 rgba(24,34,38,.58); }
.software-password-toggle { color: rgba(20, 27, 30, .57); }
.software-password-toggle:hover { color: #111; background: rgba(255,255,255,.2); }
.software-enter-button {
  color: #f7f8f8;
  border-color: rgba(255,255,255,.48);
  background: linear-gradient(180deg, rgba(59,65,67,.9), rgba(32,37,39,.92));
}
.login-exit { opacity: 0; filter: blur(12px); transform: scale(1.035); pointer-events: none; }

/* Estrutura geral do painel */
.app-shell {
  grid-template-columns: 280px minmax(0, 1fr);
  color: #111827;
  background: rgba(241, 245, 248, .12);
  opacity: 1;
  transition: opacity .72s ease, transform .72s cubic-bezier(.2,.8,.2,1), filter .72s ease;
}
.app-shell.app-entering { opacity: 0; filter: blur(12px); transform: translateY(18px) scale(.985); }
.sidebar {
  padding: 28px 20px 20px;
  color: #172132;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 0 20px 20px 0;
  background: linear-gradient(150deg, rgba(226,233,241,.68), rgba(176,192,208,.43));
  box-shadow: 12px 0 42px rgba(61,79,96,.11), inset 0 1px rgba(255,255,255,.75);
  backdrop-filter: blur(24px) saturate(116%);
  -webkit-backdrop-filter: blur(24px) saturate(116%);
}
.sidebar-brand { min-height: 92px; gap: 9px; padding: 0 10px 24px; border-bottom-color: rgba(120,139,159,.16); }
.sidebar-brand .brand-emblem { position: relative; width: 230px; height: 76px; border: 0; background: transparent; box-shadow: none; }
.sidebar-brand .brand-emblem img {
  position: absolute;
  width: 260px;
  height: auto;
  max-width: none;
  left: -14px;
  top: -48px;
  filter: drop-shadow(0 2px 4px rgba(53,72,92,.18));
  transform: none;
}
.sidebar-brand > div:last-child { display: none; }
.sidebar-brand strong { color: white; font-size: 23px; text-shadow: 0 2px 8px rgba(57,72,89,.25); }
.sidebar-brand span { color: rgba(255,255,255,.9); font-size: 10px; text-shadow: 0 2px 7px rgba(57,72,89,.25); }
#mainNavigation { padding-top: 12px; scrollbar-color: rgba(85,102,124,.25) transparent; }
.nav-group { height: 1px; margin: 18px 5px 12px; overflow: hidden; color: transparent; background: rgba(116,135,156,.13); }
.nav-group::after { display: none; }
.nav-item {
  min-height: 52px;
  grid-template-columns: 34px 1fr auto;
  color: #253144;
  border-radius: 14px;
  transition: background .18s, border-color .18s, transform .18s;
}
.nav-icon { width: 23px; height: 23px; display: grid; place-items: center; color: #40516a; }
.nav-icon svg, .global-search svg, .header-icon-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-item b { font-size: 13px; font-weight: 600; }
.nav-item:hover { color: #111827; background: rgba(255,255,255,.35); transform: translateX(2px); }
.nav-item.active {
  color: #101827;
  border-color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.42);
  box-shadow: inset 0 1px rgba(255,255,255,.72), 0 9px 25px rgba(75,91,108,.1);
}
.nav-item.active .nav-icon { color: #273a52; }
.nav-chevron { display: none; }
.nav-submenu { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.24); }
.nav-subitem { color: #425066; }
.nav-subitem:hover, .nav-subitem.active { color: #19263a; background: rgba(255,255,255,.42); border-color: rgba(255,255,255,.62); box-shadow: none; }
.sidebar-owner {
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 15px;
  background: rgba(255,255,255,.22);
}
.owner-avatar { color: white; background: linear-gradient(145deg, #b6a1ff, #756be5); }
.sidebar-owner strong { color: #172133; }
.sidebar-owner span { color: #69778a; }
.sidebar-owner .icon-button { color: #4c5c70; }

.workspace { padding: 0 32px 16px 48px; }
.topbar {
  min-height: 130px;
  display: grid;
  grid-template-columns: 315px minmax(330px, 500px) auto;
  border-bottom: 0;
}
.topbar h1 { color: #0c1421; font-size: 40px; font-weight: 700; text-shadow: 0 1px rgba(255,255,255,.7); }
.topbar .eyebrow { color: #415774; font-size: 10px; }
.global-search {
  min-width: 0;
  height: 54px;
  display: grid;
  grid-template-columns: 26px minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 0 13px 0 18px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 16px;
  background: rgba(255,255,255,.56);
  box-shadow: 0 12px 34px rgba(71,86,101,.1), inset 0 1px rgba(255,255,255,.8);
  backdrop-filter: blur(18px);
}
.global-search svg { color: #172338; }
.global-search input { height: 100%; padding: 0; color: #1d2a3f; border: 0; background: transparent; box-shadow: none; }
.global-search input:focus { border: 0; background: transparent; box-shadow: none; }
.global-search input::placeholder { color: #68748a; }
.global-search kbd { padding: 6px 8px; color: #263449; border: 1px solid rgba(123,139,157,.16); border-radius: 8px; background: rgba(255,255,255,.45); box-shadow: 0 2px 6px rgba(51,66,80,.06); font-family: inherit; }
.topbar-actions { justify-content: flex-end; }
.stage-pill { min-height: 52px; padding: 0 20px; color: #172132; border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.43); box-shadow: 0 10px 28px rgba(77,91,105,.08); }
.header-icon-button, .header-owner-chip {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #253147;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%;
  background: rgba(255,255,255,.48);
  box-shadow: 0 10px 28px rgba(77,91,105,.08);
}
.header-icon-button { cursor: pointer; }
.header-owner-chip { width: 82px; grid-template-columns: 1fr 11px; padding: 0 13px 0 18px; border-radius: 17px; font-weight: 700; }
.header-owner-chip i { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.content {
  width: 100%;
  max-width: 1840px;
  padding-top: 0;
  color: #111827;
  font-size: 14px;
}

/* Componentes claros em todas as áreas */
.metric-card, .panel, .module-card, .step-card,
.runtime-control-card, .module-access-header, .access-product-card,
.standard-key-generate-card, .standard-key-filters {
  color: #111827;
  border-color: rgba(255,255,255,.76);
  background: linear-gradient(145deg, rgba(255,255,255,.57), rgba(235,240,244,.42));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(116%);
}
.panel-head h2, .panel-head h3, .module-card h3, .metric-card strong,
.module-row strong, .content .section-heading, .standard-keys-heading h2,
.standard-keys-panel-head h3 { color: #111827; }
.panel-head p, .module-card p, .metric-card small, .section-description,
.standard-keys-heading p:last-child, .standard-keys-panel-head p { color: #657185; }
input, textarea { color: #1d293a; border-color: rgba(120,138,158,.23); background: rgba(255,255,255,.42); }
input:focus, textarea:focus { background: rgba(255,255,255,.68); }
.button-secondary, .button-ghost { color: #35445a; border-color: rgba(111,130,151,.22); background: rgba(255,255,255,.38); }
.module-row { color: #172132; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.3); }
table th { color: #65748a; }
table td { color: #26354a; border-color: rgba(113,132,153,.12); }

/* Visão geral fiel à referência */
.overview-hero {
  position: relative;
  min-height: 250px;
  display: grid;
  grid-template-columns: 420px minmax(620px, 1fr);
  align-items: center;
  gap: 34px;
  overflow: hidden;
  padding: 36px 42px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 21px;
  background: linear-gradient(145deg, rgba(255,255,255,.5), rgba(226,233,239,.34));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(120%);
}
.overview-hero-copy { position: relative; z-index: 2; }
.overview-hero .eyebrow { font-size: 12px; }
.overview-hero .section-heading { margin: 7px 0 10px; color: #111827; font-size: 32px; }
.overview-hero .section-description { max-width: 390px; margin: 0; color: #4e5d72; font-size: 15px; line-height: 1.68; }
.overview-metric-strip {
  position: relative;
  z-index: 2;
  min-height: 160px;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  margin-right: 145px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 17px;
  background: rgba(255,255,255,.17);
}
.overview-metric-strip > div { position: relative; min-width: 0; display: grid; grid-template-columns: 29px 1fr; align-content: center; padding: 23px 20px; }
.overview-metric-strip > div + div { border-left: 1px solid rgba(121,139,158,.13); }
.overview-metric-strip small { color: #202a3b; font-size: 12px; font-weight: 760; white-space: nowrap; }
.overview-metric-strip strong { grid-column: 1 / -1; margin: 12px 0 5px; color: #101827; font-size: 36px; font-weight: 600; }
.overview-metric-strip em { grid-column: 1 / -1; color: #5e6c80; font-size: 12px; font-style: normal; white-space: nowrap; }
.metric-line-icon { color: #27364c; font-size: 23px; line-height: 14px; }
.summary-dot { width: 12px; height: 12px; margin-top: 1px; border-radius: 50%; }
.summary-dot.online { background: #12ad4f; box-shadow: 0 0 12px rgba(18,173,79,.3); }
.summary-dot.offline { background: #aab7ca; }
.glass-art { position: absolute; z-index: 1; right: 3px; bottom: -4px; width: 195px; height: 195px; pointer-events: none; }
.glass-cube { position: absolute; right: 21px; top: 13px; width: 113px; height: 113px; border: 2px solid rgba(255,255,255,.65); border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.3), rgba(170,189,205,.16)); box-shadow: inset 12px 10px 28px rgba(255,255,255,.4), 7px 14px 20px rgba(91,108,122,.12); transform: rotate(17deg) skew(-4deg); }
.glass-sphere { position: absolute; left: 21px; bottom: 7px; width: 79px; height: 79px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: radial-gradient(circle at 31% 28%, rgba(255,255,255,.95), rgba(221,230,237,.67) 30%, rgba(134,155,172,.55) 70%, rgba(255,255,255,.48)); box-shadow: inset -13px -12px 22px rgba(76,96,112,.18), 8px 14px 21px rgba(80,98,112,.13); }

.access-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.access-product-card { min-height: 420px; padding: 29px 30px 27px; border-radius: 22px; }
.access-product-card::after { display: none; }
.access-product-card .module-mark { width: 64px; height: 64px; color: currentColor; border-color: rgba(121,139,160,.17); background: rgba(255,255,255,.38); font-size: 22px; }
.access-product-card.product-engine { --product-color: #f47612; color: #f47612; }
.access-product-card.product-muvy { --product-color: #7153f4; color: #7153f4; }
.access-product-card.product-standard { --product-color: #10a849; color: #10a849; }
.access-product-title { position: absolute !important; top: 38px; left: 116px; margin: 0; }
.access-product-title h3 { margin: 0; color: #111827; font-size: 24px; }
.access-product-top .category { padding: 8px 13px; color: #202c3f; border: 1px solid rgba(119,138,159,.16); background: rgba(255,255,255,.3); font-size: 11px; }
.access-product-metrics { margin-top: 25px; color: #111827; border: 0; border-top: 1px solid rgba(115,135,156,.12); border-bottom: 1px solid rgba(115,135,156,.12); border-radius: 0; background: transparent; }
.access-product-metrics > div { min-height: 101px; padding: 18px; }
.access-total span, .access-presence span { color: #536278; }
.access-total span { font-size: 11px; }
.access-total strong { font-size: 36px; }
.access-presence span { font-size: 12px; }
.access-presence strong { font-size: 28px; }
.access-total strong, .access-presence strong { color: #101827 !important; }
.access-presence.online i { background: #12ad4f; }
.access-presence.offline i { background: #a9b6c8; }
.product-sparkline { width: 100%; height: 68px; margin: 5px 0 9px; overflow: visible; color: var(--product-color); }
.product-sparkline circle { fill: var(--product-color); stroke: white; stroke-width: 1.4; }
.access-product-restrictions { margin: 0 0 18px; font-size: 12px; }
.access-product-restrictions span { padding: 7px 11px; color: #354257; border-color: rgba(113,132,153,.16); background: rgba(255,255,255,.28); }
.access-details-button { min-height: 50px; color: var(--product-color); border-color: color-mix(in srgb, var(--product-color) 31%, transparent); background: color-mix(in srgb, var(--product-color) 7%, rgba(255,255,255,.38)); box-shadow: none; font-size: 14px; }
.access-details-button:hover { background: color-mix(in srgb, var(--product-color) 12%, rgba(255,255,255,.44)); }

.overview-status-strip {
  min-height: 132px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.51), rgba(231,237,241,.37));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.overview-status-strip article { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 14px; padding: 21px 25px; }
.overview-status-strip article + article { border-left: 1px solid rgba(113,132,153,.13); }
.overview-status-strip article div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.overview-status-strip small { color: #607087; font-size: 11px; font-weight: 800; }
.overview-status-strip strong { color: #121b2a; font-size: 22px; font-weight: 600; }
.overview-status-strip em { overflow: hidden; color: #647287; font-size: 12px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.status-strip-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(255,255,255,.38); box-shadow: 0 5px 15px rgba(68,84,99,.08); font-size: 24px; }

/* Escala ergonômica da área principal; o menu lateral permanece inalterado. */
.content > .section-heading { font-size: 31px; }
.content > .section-description { font-size: 15px; }
.content .panel-head h2,
.content .panel-head h3 { font-size: 22px; }
.content .panel-head p { font-size: 13px; }
.content .button { font-size: 13px; }

.detail-back-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  margin: 0 0 20px;
  padding: 0 19px;
  color: #263a55;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 14px;
  background: rgba(255,255,255,.44);
  box-shadow: 0 9px 24px rgba(66,82,99,.1), inset 0 1px rgba(255,255,255,.72);
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
}
.detail-back-button:hover { color: #145fa5; background: rgba(255,255,255,.68); }
.module-access-header { min-height: 126px; padding: 30px 32px; }
.module-access-identity { gap: 21px; }
.module-access-identity .module-mark { width: 64px; height: 64px; font-size: 14px; }
.module-access-identity h2 { margin-bottom: 8px; font-size: 32px; }
.module-access-identity p:last-child { font-size: 14px; }
.module-access-header > .button { min-height: 50px; padding-inline: 21px; font-size: 14px; }
.access-summary-grid { gap: 18px; margin: 19px 0; }
.access-summary-grid .metric-card { min-height: 154px; padding: 25px 27px; }
.access-summary-grid .metric-card-header { font-size: 12px; }
.access-summary-grid .metric-card strong { margin: 17px 0 5px; font-size: 38px; }
.access-summary-grid .metric-card small { font-size: 13px; }
.access-management-head { padding: 25px 28px; }
.access-management-head h3 { font-size: 22px; }
.access-management-head p { font-size: 13px; }
.access-search-form { width: min(100%, 500px); }
.access-search-form input { height: 49px; padding-inline: 16px; font-size: 14px; }
.access-search-form .button { min-height: 49px; padding-inline: 20px; }
.access-table { min-width: 1200px; }
.access-table th { padding-block: 15px; font-size: 11px; }
.access-table td { padding-block: 17px; font-size: 14px; }
.access-table th:first-child, .access-table td:first-child { padding-left: 28px; }
.access-table th:last-child, .access-table td:last-child { padding-right: 28px; }
.access-table code { font-size: 12px; }
.person-cell { gap: 13px; min-width: 230px; }
.person-avatar { width: 42px; height: 42px; font-size: 13px; }
.person-cell strong { margin-bottom: 5px; font-size: 14px; }
.person-cell small { font-size: 11px; }
.presence-badge, .access-status { padding: 7px 10px; font-size: 11px; }
.access-actions { gap: 7px; }
.access-action { min-height: 39px; padding: 8px 11px; font-size: 11px; }
.status-strip-icon.orange { color: #ef7514; }
.status-strip-icon.green { color: #11a74b; }

/* Atualizações armazenadas, mensuráveis e recuperáveis */
.update-upload-form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.update-upload-form input[type="file"] {
  min-height: 48px;
  color: #46566b;
  border-color: rgba(105,126,149,.28);
  background: rgba(255,255,255,.4);
}
.update-progress { display: grid; gap: 7px; color: #40516a; }
.update-progress-track {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(109,128,149,.18);
  border-radius: 999px;
  background: rgba(132,150,169,.17);
}
.update-progress-track span {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #7655ef, #3aa8f3, #22b968);
  box-shadow: 0 0 14px rgba(77,122,231,.32);
  transition: width .18s linear;
}
.update-progress-track span.failed { background: #d94b63; }
.button-danger {
  color: #a83045;
  border: 1px solid rgba(190,67,88,.24);
  background: rgba(255,239,242,.5);
}
.button-danger:hover { color: #8d1f33; background: rgba(255,225,231,.72); }
.update-actions { flex-wrap: wrap; justify-content: flex-end; }

/* Consistência do vidro claro nas demais categorias. */
.hero,
.control-center-hero {
  color: #111827;
  border-color: rgba(255,255,255,.82);
  background:
    radial-gradient(circle at 92% 0, rgba(255,255,255,.46), transparent 43%),
    linear-gradient(145deg, rgba(255,255,255,.56), rgba(229,236,241,.4));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(118%);
}
.hero::after,
.control-center-hero::after {
  border-color: rgba(255,255,255,.54);
  box-shadow: 0 0 0 38px rgba(255,255,255,.08), 0 0 0 76px rgba(255,255,255,.045);
}
.hero h2,
.control-center-hero h2 { color: #101827; }
.hero p,
.control-center-hero p:not(.eyebrow) { color: #4c5c71; font-size: 15px; }
.hero .eyebrow,
.control-center-hero .eyebrow { color: #556b86; }
.stage-orbit {
  border-color: rgba(114,136,159,.28);
  background: rgba(255,255,255,.4);
  box-shadow: inset 0 1px rgba(255,255,255,.72), 0 12px 34px rgba(71,87,103,.1);
}
.stage-orbit span { color: #5d6b7e; }
.heart-status {
  border-color: rgba(186,73,91,.24);
  background: rgba(255,239,242,.5);
  box-shadow: inset 0 1px rgba(255,255,255,.68);
}
.heart-status.online { border-color: rgba(23,145,91,.27); background: rgba(225,248,237,.58); }
.heart-status small { color: #5c6b7e; font-size: 10px; }
.heart-status strong { color: #a83045; font-size: 13px; }
.heart-status.online strong { color: #11764c; }

.runtime-control-card { color: #172132; }
.runtime-card-head h3 { color: #101827; font-size: 18px; }
.runtime-card-head span:not(.runtime-confirmation) { color: #526278; font-size: 10px; }
.runtime-state-pair {
  border-color: rgba(116,136,157,.18);
  background: rgba(255,255,255,.34);
}
.runtime-state-pair span { color: #536278; font-size: 9px; }
.runtime-state-pair > i { color: #62748a; }
.runtime-process-line,
.runtime-process-line time,
.runtime-message { color: #536278; font-size: 11px; }
.runtime-state-button {
  min-height: 42px;
  color: #33445a;
  border-color: rgba(105,126,149,.22);
  background: rgba(255,255,255,.4);
  font-size: 10px;
}
.runtime-state-button.online { color: #13734e; }
.runtime-state-button.maintenance { color: #8a6114; }
.runtime-state-button.offline { color: #a83045; }

.session-card {
  padding: 17px;
  border-color: rgba(255,255,255,.68);
  background: rgba(255,255,255,.34);
  box-shadow: inset 0 1px rgba(255,255,255,.64);
}
.session-card strong { color: #172133; font-size: 14px; }
.session-card small { color: #4f6076; font-size: 12px; }
.status-badge.connected { color: #13734e; border-color: rgba(23,145,91,.25); background: rgba(222,246,234,.56); }

.update-upload-form input[type="file"] {
  min-height: 52px;
  padding: 6px;
  color: #33445a;
  border: 1px solid rgba(255,255,255,.78);
  background: rgba(255,255,255,.48);
  box-shadow: inset 0 1px rgba(255,255,255,.68);
  font-size: 13px;
}
.update-upload-form input[type="file"]::file-selector-button {
  min-height: 38px;
  margin-right: 12px;
  padding: 8px 14px;
  color: #24354b;
  border: 1px solid rgba(111,130,151,.22);
  border-radius: 9px;
  background: rgba(255,255,255,.68);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.update-upload-form input[type="file"]::file-selector-button:hover { background: rgba(255,255,255,.9); }

.loading-layout { animation: content-loading-in .16s ease both; }
.skeleton {
  border-color: rgba(255,255,255,.72);
  background: linear-gradient(100deg, rgba(255,255,255,.28) 20%, rgba(255,255,255,.66) 38%, rgba(255,255,255,.28) 58%);
  background-size: 200% 100%;
  box-shadow: var(--shadow);
}
@keyframes content-loading-in { from { opacity: 0; } to { opacity: 1; } }

.person-cell strong,
.access-empty strong { color: #172133; }
.person-cell small { color: #536278; }
.access-table code { color: #435873; }
.presence-badge { color: #536278; background: rgba(106,125,146,.12); }
.presence-badge.online,
.access-status.allowed { color: #13734e; background: rgba(24,151,95,.12); }
.access-status.blocked { color: #88600f; background: rgba(203,143,35,.14); }
.access-status.banned { color: #a83045; background: rgba(190,67,88,.12); }
.access-action { color: #41536a; border-color: rgba(102,126,151,.2); background: rgba(255,255,255,.38); }
.access-action.allow { color: #13734e; }
.access-action.block { color: #88600f; }
.access-action.ban { color: #a83045; }

.modal {
  color: #172132;
  border-color: rgba(255,255,255,.8);
  background: linear-gradient(145deg, rgba(248,250,252,.96), rgba(226,234,240,.94));
  box-shadow: 0 30px 90px rgba(58,73,87,.28), inset 0 1px rgba(255,255,255,.82);
}
.modal-backdrop { background: rgba(45,57,68,.26); }
.modal-head h2,
.standard-key-modal .modal-head h2,
.key-modal-section > b { color: #172132; }
.field-label,
.key-modal-section > p { color: #536278; }

.standard-key-generate-card { color: #172132; }
.standard-key-generate-card span { color: #5d6d82; }
.standard-key-filter,
.standard-key-page,
.key-duration-option,
.key-quick-actions button,
.standard-key-row-actions .key-renew-button,
.key-more-button,
.key-generated-result,
.key-information-grid > div {
  color: #33445a;
  border-color: rgba(111,132,154,.2);
  background: rgba(255,255,255,.36);
}
.standard-key-filter strong,
.standard-key-table td,
.standard-key-token strong,
.key-information-grid strong { color: #172132; }
.standard-key-filter.active,
.standard-key-page.active,
.key-duration-option.active {
  color: #5544d6;
  border-color: rgba(101,82,225,.48);
  background: rgba(110,89,235,.12);
}
.standard-key-filter.active strong { color: #4e3fc4; }
.standard-key-table th { color: #536278; font-size: 11px; }
.standard-key-table td { font-size: 13px; }
.standard-key-token button { color: #5544d6; }
.key-generated-result strong,
.key-duration-option small,
.key-information-grid span,
.standard-key-pagination > span { color: #536278; }

.content .data-table th { color: #435873; font-size: 11px; }
.content .data-table td { color: #33445a; font-size: 13px; }
.content .log-level { font-size: 11px; }
.content .empty-state p { color: #526278; font-size: 14px; }
.content .step-card p,
.content .update-upload p,
.content .update-main p { color: #526278; font-size: 13px; }
.content .update-main span,
.content .update-main code { color: #526278; font-size: 12px; }
.content .timeline-item strong { color: #172132; font-size: 14px; }
.content .timeline-item p { color: #526278; font-size: 12px; }

@media (max-width: 1380px) {
  .app-shell { grid-template-columns: 250px minmax(0,1fr); }
  .workspace { padding-left: 28px; padding-right: 24px; }
  .topbar { grid-template-columns: 260px minmax(280px, 1fr) auto; }
  .stage-pill { display: none; }
  .overview-hero { grid-template-columns: 310px 1fr; }
  .overview-metric-strip { margin-right: 110px; }
}
@media (max-width: 1120px) {
  .global-search { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .overview-hero { grid-template-columns: 1fr; }
  .overview-metric-strip { margin-right: 110px; }
  .access-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .overview-status-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .overview-status-strip article:nth-child(3) { border-left: 0; border-top: 1px solid rgba(113,132,153,.13); }
  .overview-status-strip article:nth-child(4) { border-top: 1px solid rgba(113,132,153,.13); }
}
@media (max-width: 860px) {
  .sidebar { display: none; }
  .app-shell { display: block; }
  .workspace { padding: 0 18px 100px; }
  .topbar { min-height: 105px; }
  .topbar h1 { font-size: 31px; }
  .overview-hero { padding: 24px; }
  .overview-metric-strip { grid-template-columns: repeat(2,1fr); margin-right: 0; }
  .overview-metric-strip > div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(121,139,158,.13); }
  .overview-metric-strip > div:nth-child(4) { border-top: 1px solid rgba(121,139,158,.13); }
  .glass-art { display: none; }
  .access-product-grid { grid-template-columns: 1fr; }
  .update-upload-form { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .entrance-brand { width: 92vw; }
  .entrance-title { font-size: clamp(39px, 12.4vw, 70px); }
  .login-ready .entrance-brand { top: 19%; width: 92vw; height: 82px; transform: translate(-50%,-50%); }
  .login-ready .entrance-title { font-size: clamp(36px, 10.5vw, 56px); }
  .entrance-lines i { width: 20vw; }
  .software-login-panel { top: 55%; width: min(88vw, 390px); padding: 23px 22px 26px; }
  .header-owner-chip { display: none; }
  .overview-hero { border-radius: 17px; }
  .overview-metric-strip { grid-template-columns: 1fr 1fr; }
  .overview-metric-strip > div { padding: 15px 12px; }
  .overview-metric-strip small { font-size: 7px; }
  .access-product-card { min-height: 375px; }
  .overview-status-strip { grid-template-columns: 1fr; }
  .overview-status-strip article + article { border-left: 0; border-top: 1px solid rgba(113,132,153,.13); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   Camada responsiva universal
   Preserva todas as funcoes entre 320px, tablets, notebooks e telas amplas.
   -------------------------------------------------------------------------- */
html {
  min-width: 0;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
main,
.app-shell,
.workspace,
.content,
.content > *,
.panel,
.hero,
.control-center-hero,
.overview-hero,
.access-product-card,
.metric-card,
.runtime-control-card {
  min-width: 0;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

button,
input,
select,
textarea {
  min-width: 0;
  max-width: 100%;
}

.table-wrap,
.standard-key-table-wrap,
.access-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

@media (pointer: coarse) {
  button,
  .nav-item,
  .nav-subitem,
  .mobile-navigation button,
  input,
  select {
    min-height: 44px;
  }
}

@media (max-width: 1180px) {
  .runtime-control-grid,
  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-two,
  .standard-key-tools {
    grid-template-columns: minmax(0, 1fr);
  }

  .standard-key-filters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .workspace {
    width: 100%;
    padding: 0 clamp(12px, 3vw, 20px) calc(96px + env(safe-area-inset-bottom));
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .topbar-actions {
    min-width: 0;
  }

  .mobile-navigation {
    position: fixed;
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    left: max(10px, env(safe-area-inset-left));
    z-index: 80;
    display: flex;
    gap: 5px;
    width: auto;
    max-width: calc(100vw - 20px);
    padding: 7px;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 20px;
    background: rgba(226, 233, 239, .84);
    box-shadow: 0 18px 48px rgba(48, 63, 78, .22);
    backdrop-filter: blur(20px) saturate(126%);
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .mobile-navigation::-webkit-scrollbar {
    display: none;
  }

  .mobile-navigation button {
    flex: 0 0 84px;
    min-width: 84px;
    min-height: 56px;
    padding: 7px 8px;
    scroll-snap-align: center;
    border-radius: 14px;
    font-size: 9px;
    white-space: nowrap;
  }

  .mobile-navigation button span {
    font-size: 8px;
  }

  .runtime-control-grid,
  .workflow,
  .module-grid,
  .access-product-grid,
  .grid-two,
  .standard-key-tools {
    grid-template-columns: minmax(0, 1fr);
  }

  .access-overview-heading,
  .panel-head,
  .update-actions,
  .standard-key-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .access-overview-totals {
    justify-content: flex-start;
  }

  .update-upload-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .update-upload-form button,
  .update-actions button {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .workspace {
    padding-inline: 12px;
  }

  .topbar {
    min-height: auto;
    padding: 15px 2px;
  }

  .topbar h1 {
    font-size: clamp(25px, 8vw, 31px);
    line-height: 1.05;
  }

  .topbar .eyebrow {
    font-size: 8px;
  }

  .topbar-actions {
    gap: 6px;
  }

  .header-icon-button,
  .owner-menu-button {
    min-width: 44px;
    min-height: 44px;
  }

  .overview-hero,
  .hero,
  .control-center-hero,
  .panel,
  .metric-card,
  .access-product-card,
  .runtime-control-card {
    padding: 18px;
    border-radius: 18px;
  }

  .overview-hero h2,
  .hero h2,
  .control-center-hero h2 {
    font-size: clamp(24px, 8.5vw, 34px);
    overflow-wrap: anywhere;
  }

  .overview-metric-strip,
  .access-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .access-product-metrics,
  .standard-key-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .access-product-metrics > div:nth-child(odd) {
    border-left: 0;
  }

  .access-product-metrics > div {
    min-height: 86px;
    padding: 13px;
  }

  .update-upload-form input[type="file"] {
    width: 100%;
    min-height: 58px;
    font-size: 12px;
  }

  .update-upload-form input[type="file"]::file-selector-button {
    min-height: 42px;
    margin-right: 8px;
    padding-inline: 10px;
  }

  .modal-backdrop {
    align-items: flex-end;
    padding: 8px;
  }

  .modal {
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
    border-radius: 20px 20px 14px 14px;
  }

  .modal-head,
  .modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .modal-actions button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .overview-metric-strip,
  .access-summary-grid,
  .access-product-metrics,
  .standard-key-filters,
  .skeleton-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .overview-metric-strip > div,
  .access-product-metrics > div {
    border-left: 0;
    border-top: 1px solid rgba(113, 132, 153, .13);
  }

  .overview-metric-strip > div:first-child,
  .access-product-metrics > div:first-child {
    border-top: 0;
  }

  .mobile-navigation button {
    flex-basis: 78px;
    min-width: 78px;
  }
}

.muvy-owner-cell,
.muvy-license-cell {
  display: grid;
  gap: 4px;
  min-width: 150px;
}

.muvy-owner-cell strong,
.muvy-license-cell strong {
  color: #28384d;
  font-size: 12px;
}

.muvy-owner-cell small,
.muvy-license-cell small {
  color: #667a92;
  font-size: 10px;
}

.muvy-access-actions {
  min-width: 330px;
  flex-wrap: wrap;
}

.access-action.renew {
  color: #5645c9;
  border-color: rgba(92, 71, 203, .24);
  background: rgba(111, 91, 224, .08);
}

.access-action.remove {
  color: #a92f49;
  border-color: rgba(180, 52, 77, .22);
  background: rgba(193, 61, 85, .08);
}

.muvy-license-modal .notice.danger {
  color: #8e2a41;
  border-color: rgba(186, 54, 80, .24);
  background: rgba(198, 66, 91, .08);
}

.button-danger {
  color: #fff;
  border-color: #a9324c;
  background: linear-gradient(135deg, #a9324c, #c64a63);
}

@media (max-width: 760px) {
  .muvy-access-actions {
    min-width: 260px;
  }

  .muvy-access-actions .access-action {
    flex: 1 1 calc(50% - 7px);
  }
}
