:root {
  --go2-bg: #f3f8ff;
  --go2-panel: rgba(255, 255, 255, 0.68);
  --go2-panel-strong: rgba(255, 255, 255, 0.86);
  --go2-border: rgba(255, 255, 255, 0.86);
  --go2-text: #16224a;
  --go2-muted: #5b6678;
  --go2-soft: #9aa3b2;
  --go2-blue: #2d8bba;
  --go2-cyan: #37bef0;
  --go2-shadow: 0 24px 70px rgba(40, 90, 170, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--go2-text);
  overflow-x: hidden;
  background:
    radial-gradient(820px 620px at 84% 10%, rgba(80, 165, 235, 0.20), transparent 60%),
    radial-gradient(760px 680px at 8% 92%, rgba(50, 120, 215, 0.16), transparent 62%),
    radial-gradient(620px 520px at 52% 56%, rgba(120, 210, 238, 0.13), transparent 66%),
    linear-gradient(180deg, #ffffff 0%, var(--go2-bg) 100%);
}

a {
  color: var(--go2-blue);
  text-decoration: none;
}

.shell {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  padding: 28px 28px 0;
}

.login-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(500px, 1fr) minmax(440px, 504px);
  align-items: center;
  gap: clamp(82px, 10vw, 150px);
  max-width: 1365px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 44px 54px 38px;
}

.auth-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 34px 22px;
}

.auth-card {
  width: min(420px, 100%);
}

.liquid-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(820px 620px at 84% 10%, rgba(80, 165, 235, 0.20), transparent 60%),
    radial-gradient(760px 680px at 8% 92%, rgba(50, 120, 215, 0.16), transparent 62%),
    radial-gradient(620px 520px at 52% 56%, rgba(120, 210, 238, 0.13), transparent 66%),
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.aurora,
.drop {
  position: absolute;
  display: block;
}

.aurora {
  border-radius: 50%;
  filter: blur(48px);
}

.aurora-one {
  top: -160px;
  right: 6%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(80, 165, 235, 0.22), transparent 68%);
  animation: auroraDrift 18s ease-in-out infinite;
}

.aurora-two {
  bottom: -200px;
  left: -60px;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(55, 190, 239, 0.16), transparent 70%);
  animation: auroraDrift 22s ease-in-out infinite reverse;
}

.drop > span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(120, 195, 240, 0.42));
  box-shadow:
    inset 0 8px 18px rgba(255, 255, 255, 0.82),
    inset 0 -12px 26px rgba(50, 120, 200, 0.22),
    0 22px 46px rgba(50, 110, 190, 0.22);
  backdrop-filter: blur(6px) saturate(160%);
}

.drop-one {
  top: 120px;
  right: 25%;
  width: 132px;
  height: 132px;
  animation: floaty 7s ease-in-out infinite;
}

.drop-one > span::after,
.drop-two > span::after {
  content: "";
  position: absolute;
  top: 22%;
  left: 26%;
  width: 30px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%);
  transform: rotate(-45deg);
  filter: blur(2px);
}

.drop-two {
  right: 10%;
  bottom: 23%;
  width: 84px;
  height: 84px;
  animation: floaty2 9s ease-in-out infinite;
}

.drop-two > span::after {
  width: 20px;
  height: 26px;
  filter: blur(1.5px);
}

.drop-three {
  top: 36%;
  right: 33%;
  width: 52px;
  height: 52px;
  animation: floaty3 6s ease-in-out infinite;
}

.drop-four {
  left: 36%;
  bottom: 13%;
  width: 168px;
  height: 168px;
  opacity: 0.7;
  filter: blur(3px);
  animation: floaty 11s ease-in-out infinite;
}

.drop-four > span {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(120, 200, 240, 0.22));
}

@keyframes floaty {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes floaty2 {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(16px); }
}

@keyframes floaty3 {
  0%,
  100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, -14px); }
}

@keyframes auroraDrift {
  0%,
  100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
}

.login-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  height: calc(100vh - 82px);
}

.login-logo {
  align-self: flex-start;
  position: fixed;
  top: 52px;
  left: 54px;
  z-index: 2;
}

.login-hero-copy {
  min-width: 0;
  max-width: 500px;
  padding-top: clamp(64px, 10vh, 96px);
  padding-bottom: 0;
  transform: none;
}

.go2-wordmark {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.go2-wordmark-page,
.go2-wordmark-card {
  width: 100px;
}

.go2-wordmark-topbar {
  width: 94px;
}

.go2-wordmark-main {
  display: inline-flex;
  align-items: flex-start;
  color: #586273;
  font-weight: 850;
  letter-spacing: 0;
}

.go2-wordmark-main sup {
  margin-left: 2px;
  color: var(--go2-blue);
  font-weight: 850;
  line-height: 1;
}

.go2-wordmark-sub {
  margin-top: 8px;
  color: #98a4b5;
  font-weight: 600;
  letter-spacing: 5.4px;
  white-space: nowrap;
}

.go2-wordmark-page .go2-wordmark-main {
  font-size: 30px;
}

.go2-wordmark-page .go2-wordmark-main sup {
  font-size: 13px;
}

.go2-wordmark-page .go2-wordmark-sub {
  font-size: 10px;
}

.go2-wordmark-card .go2-wordmark-main {
  font-size: 30px;
}

.go2-wordmark-card .go2-wordmark-main sup {
  font-size: 13px;
}

.go2-wordmark-card .go2-wordmark-sub {
  font-size: 10px;
  letter-spacing: 5.2px;
}

.go2-wordmark-topbar .go2-wordmark-main {
  font-size: 28px;
}

.go2-wordmark-topbar .go2-wordmark-main sup {
  font-size: 12px;
}

.go2-wordmark-topbar .go2-wordmark-sub {
  margin-top: 7px;
  font-size: 9px;
  letter-spacing: 4.6px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 56px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  padding: 8px 15px;
  color: var(--go2-blue);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 28px rgba(40, 90, 170, 0.10);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--go2-cyan);
  box-shadow: 0 0 18px rgba(55, 190, 240, 0.72);
}

.hero-title {
  margin: 0 0 16px;
  max-width: 520px;
  font-size: clamp(40px, 3.65vw, 48px);
  line-height: 1.09;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 430px;
  margin: 0;
  color: var(--go2-muted);
  font-size: 17px;
  line-height: 1.6;
}

.glass-card {
  border: 1px solid var(--go2-border);
  border-radius: 24px;
  background: linear-gradient(150deg, var(--go2-panel-strong), rgba(255, 255, 255, 0.46));
  box-shadow: var(--go2-shadow), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(28px) saturate(180%);
}

.login-card {
  align-self: center;
  position: relative;
  min-width: 0;
  width: min(100%, 504px);
  min-height: 520px;
  padding: 48px 40px 42px;
  overflow: hidden;
}

.is-local-mode .login-card {
  min-height: 590px;
}

.login-card-brand {
  margin: 0 0 22px;
}

.section-eyebrow {
  margin: 0 0 8px;
  color: var(--go2-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 22px;
  font-size: 28px;
  line-height: 1.2;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
}

.form-field label {
  color: #246da8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.form-note {
  display: grid;
  gap: 6px;
  margin: 4px 0 18px;
  border: 1px solid rgba(50, 110, 190, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  color: #56637f;
  background: rgba(255, 255, 255, 0.58);
}

.form-note strong {
  color: var(--go2-text);
  font-size: 14px;
}

.form-note span {
  font-size: 13px;
  line-height: 1.45;
}

.form-help {
  margin: -4px 0 18px;
  color: var(--go2-muted);
  font-size: 13px;
  line-height: 1.5;
}

.input {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(50, 110, 190, 0.16);
  border-radius: 14px;
  padding: 0 16px;
  color: var(--go2-text);
  background: rgba(255, 255, 255, 0.74);
  outline: none;
  font-size: 15px;
}

.input-icon-control {
  position: relative;
}

.input-icon-control > svg {
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 1;
  width: 18px;
  height: 18px;
  color: var(--go2-blue);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transform: translateY(-50%);
  pointer-events: none;
}

.input-icon-control .input {
  padding-left: 44px;
}

.input:focus {
  border-color: rgba(55, 190, 240, 0.72);
  box-shadow: 0 0 0 4px rgba(55, 190, 240, 0.14);
}

.input[readonly] {
  color: #66738a;
  background: rgba(232, 241, 249, 0.68);
  cursor: not-allowed;
}

.input[readonly]:focus {
  border-color: rgba(50, 110, 190, 0.16);
  box-shadow: none;
}

.password-control {
  position: relative;
}

.password-control .input {
  padding-right: 52px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  color: var(--go2-blue);
  background: transparent;
  cursor: pointer;
}

.password-toggle:hover {
  background: rgba(55, 190, 240, 0.12);
}

.password-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.password-toggle {
  transform: translateY(-50%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  width: 100%;
  color: #fff;
  background: linear-gradient(100deg, var(--go2-blue), var(--go2-cyan) 55%, #76d1ee);
  box-shadow: 0 12px 30px rgba(55, 190, 239, 0.36), inset 0 1px 1px rgba(255, 255, 255, 0.55);
}

.btn-secondary {
  width: 100%;
  color: #1f2d4a;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42));
}

.btn-link {
  width: 100%;
  margin-top: 12px;
  color: var(--go2-blue);
  background: transparent;
  box-shadow: none;
}

.forgot-link {
  display: block;
  margin-top: 16px;
  color: var(--go2-blue);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.login-local-form .btn-link {
  min-height: 24px;
  margin-top: 8px;
}

.login-intro {
  margin: 0 0 30px;
  max-width: 380px;
  color: var(--go2-muted);
  font-size: 15px;
  line-height: 1.55;
}

.login-choice,
.login-local-form {
  transition: opacity 180ms ease, transform 180ms ease;
}

.login-local-form {
  display: none;
}

.is-local-mode .login-choice {
  display: none;
}

.is-local-mode .login-local-form {
  display: block;
}

@media (max-width: 1120px) {
  .login-shell {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 640px;
    padding: 36px 28px;
  }

  .login-hero {
    height: auto;
    min-height: auto;
    gap: 30px;
    justify-content: flex-start;
    text-align: center;
  }

  .login-logo {
    position: static;
    align-self: center;
    justify-self: center;
  }

  .login-hero-copy {
    width: 100%;
    max-width: none;
    align-self: auto;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-badge {
    margin-bottom: 28px;
  }

  .hero-title,
  .hero-copy {
    margin-right: auto;
    margin-left: auto;
  }
}

.language-switch {
  position: absolute;
  top: 18px;
  right: 20px;
  display: inline-flex;
  gap: 4px;
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.language-switch a {
  min-width: 32px;
  padding: 6px 8px;
  border-radius: 999px;
  text-align: center;
  color: var(--go2-muted);
  font-size: 11px;
  font-weight: 800;
}

.language-switch a.is-active {
  color: #fff;
  background: linear-gradient(100deg, var(--go2-blue), var(--go2-cyan));
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  color: var(--go2-soft);
  font-size: 12px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(50, 110, 190, 0.14);
}

.alert {
  margin-bottom: 18px;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
}

.alert-error {
  color: #8a1f2d;
  background: rgba(255, 228, 232, 0.88);
  border: 1px solid rgba(200, 70, 90, 0.18);
}

.alert-success {
  color: #0f6848;
  background: rgba(221, 249, 238, 0.86);
  border: 1px solid rgba(55, 170, 120, 0.20);
}

.toast-stack {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1200;
  display: grid;
  gap: 12px;
  width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: 12px 1fr 34px;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 22px;
  color: var(--go2-ink);
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.96), rgba(231, 248, 255, 0.9)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(45, 90, 150, 0.20);
  backdrop-filter: blur(22px);
  pointer-events: auto;
  animation: toast-in 180ms ease-out both;
}

.toast.is-hiding {
  animation: toast-out 180ms ease-in both;
}

.toast-marker {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--go2-blue), var(--go2-cyan));
  box-shadow: 0 0 0 6px rgba(56, 174, 220, 0.14);
}

.toast-error .toast-marker {
  background: linear-gradient(135deg, #d94862, #ff8d75);
  box-shadow: 0 0 0 6px rgba(217, 72, 98, 0.12);
}

.toast-content {
  display: grid;
  gap: 5px;
}

.toast-content strong {
  font-size: 14px;
  line-height: 1.2;
}

.toast-content p {
  margin: 0;
  color: var(--go2-muted);
  font-size: 13px;
  line-height: 1.45;
}

.toast-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  color: var(--go2-blue);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(75, 130, 190, 0.08);
}

.toast-close:hover {
  color: var(--go2-ink);
  background: rgba(255, 255, 255, 0.96);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translate3d(18px, -6px, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate3d(18px, -6px, 0) scale(0.98);
  }
}

.topbar {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 24px;
  margin-bottom: 30px;
  overflow: visible;
}

.topbar-brand {
  display: flex;
  align-items: center;
  font-weight: 800;
}

.topbar-nav,
.topbar-actions,
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-nav {
  margin: 0 22px 0 auto;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.topbar-nav a {
  border-radius: 999px;
  padding: 9px 14px;
  color: #43516c;
  font-size: 14px;
  font-weight: 750;
}

.topbar-nav a.is-active {
  color: #fff;
  background: linear-gradient(100deg, var(--go2-blue), var(--go2-cyan));
  box-shadow: 0 10px 22px rgba(45, 139, 186, 0.20);
}

.topbar-actions {
  gap: 8px;
}

.icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 16px;
  color: var(--go2-blue);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.icon-button.compact {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  font-size: 18px;
  line-height: 1;
}

.icon-button.danger {
  color: #b33c4a;
}

.icon-button.is-loading {
  color: transparent;
  cursor: wait;
  pointer-events: none;
}

.icon-button.is-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(45, 139, 186, 0.18);
  border-top-color: var(--go2-blue);
  border-right-color: var(--go2-cyan);
  border-radius: 999px;
  animation: buttonSpin 680ms linear infinite;
}

.icon-button.compact.is-loading::after {
  width: 15px;
  height: 15px;
}

@keyframes buttonSpin {
  to { transform: rotate(360deg); }
}

.notification-dot {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 7px;
  height: 7px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--go2-cyan);
}

.notification-dot.is-hidden {
  display: none;
}

.notification-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ef5d6c, #ff8b7b);
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
}

.dropdown-menu {
  position: relative;
  z-index: 110;
}

.dropdown-menu summary {
  list-style: none;
}

.dropdown-menu summary::-webkit-details-marker {
  display: none;
}

.language-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  min-width: 64px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  padding: 0 13px;
  color: #293651;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.48));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-weight: 800;
}

.language-pill::after {
  content: "";
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23526079' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  padding: 0 8px 0 16px;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
}

.user-pill span {
  max-width: 120px;
  overflow: hidden;
  color: #293651;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-pill strong,
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--go2-blue), var(--go2-cyan));
  font-size: 12px;
}

.entity-cell .avatar {
  display: inline-flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  color: #fff;
  font-weight: 850;
  line-height: 1;
  text-align: center;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 120;
  min-width: 160px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 16px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(40, 90, 170, 0.18);
  backdrop-filter: blur(18px) saturate(160%);
}

.language-menu .dropdown-panel {
  min-width: 118px;
}

.settings-menu .dropdown-panel {
  min-width: 180px;
}

.notification-menu .dropdown-panel {
  min-width: 320px;
}

.notification-panel {
  padding: 12px;
}

.notification-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding: 0 2px;
}

.notification-panel-head strong {
  color: var(--go2-text);
  font-size: 14px;
}

.notification-panel-head span {
  color: var(--go2-blue);
  font-size: 12px;
  font-weight: 800;
}

.notification-list {
  display: grid;
  gap: 8px;
  max-height: 320px;
  overflow: auto;
}

.notification-item {
  position: relative;
  border: 1px solid rgba(50, 110, 190, 0.12);
  border-radius: 14px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.58);
}

.notification-item.is-unread {
  border-color: rgba(55, 190, 240, 0.34);
  background: rgba(222, 248, 252, 0.76);
}

.notification-item.is-unread::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 12px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--go2-cyan);
}

.notification-item strong {
  display: block;
  padding-right: 18px;
  color: var(--go2-text);
  font-size: 13px;
}

.notification-item p {
  margin: 5px 0 7px;
  color: var(--go2-muted);
  font-size: 12px;
  line-height: 1.4;
}

.notification-item time,
.notification-empty {
  color: rgba(91, 102, 120, 0.72);
  font-size: 11px;
}

.notification-empty {
  margin: 0;
  padding: 10px 2px 4px;
}

.dropdown-panel a,
.dropdown-panel button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  border-radius: 11px;
  border: 0;
  padding: 0 12px;
  color: #526079;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.dropdown-panel a:hover,
.dropdown-panel button:hover {
  color: var(--go2-blue);
  background: rgba(55, 190, 240, 0.12);
}

.page {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  min-height: calc(100vh - 28px);
  max-width: 1360px;
  margin: 0 auto;
}

.page-heading {
  margin-bottom: 26px;
}

.page-heading h1 {
  margin: 0 0 6px;
  font-size: 34px;
}

.page-heading p {
  margin: 0;
  color: var(--go2-muted);
}

.page-heading-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.page-heading-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.btn-auto {
  width: auto;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.stat-card {
  padding: 18px 20px;
}

.stat-card span {
  color: var(--go2-muted);
  font-size: 13px;
  font-weight: 700;
}

.stat-card strong {
  display: block;
  margin-top: 6px;
  font-size: 30px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 42px;
}

.app-card {
  display: flex;
  flex-direction: column;
  min-height: 264px;
  border-radius: 22px;
  padding: 32px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.app-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 78px rgba(40, 90, 170, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.app-card.is-disabled {
  opacity: 0.58;
  filter: saturate(0.58);
}

.app-card.is-disabled:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: var(--go2-shadow), inset 0 1px 1px rgba(255, 255, 255, 0.82);
}

.app-card h2 {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.1;
}

.app-card p {
  margin: 16px 0 0;
  color: var(--go2-muted);
  line-height: 1.55;
}

.app-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.app-logo-frame,
.entity-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(210, 247, 250, 0.72);
  box-shadow: 0 12px 24px rgba(38, 123, 178, 0.16);
}

.app-logo-frame {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  padding: 7px;
}

.app-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.entity-logo {
  padding: 10px;
  object-fit: contain;
}

.app-role {
  display: block;
  color: var(--go2-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.app-card-action {
  margin-top: auto;
}

.app-card-action .btn {
  min-width: 106px;
}

.app-card-action .btn:disabled {
  cursor: not-allowed;
  opacity: 0.78;
}

.pill {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--go2-blue);
  background: rgba(55, 190, 240, 0.12);
  font-size: 12px;
  font-weight: 700;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--go2-blue);
  background: rgba(55, 190, 240, 0.12);
  font-size: 12px;
  font-weight: 750;
}

.chip-strong {
  color: #fff;
  background: linear-gradient(100deg, var(--go2-blue), var(--go2-cyan));
}

.muted,
.muted-link {
  color: var(--go2-muted);
}

.empty-state {
  padding: 28px;
  color: var(--go2-muted);
}

.data-panel {
  overflow: hidden;
  border-radius: 22px;
  padding: 4px;
}

.data-panel.datatable {
  overflow: visible;
}

.datatable-toolbar,
.datatable-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
}

.datatable-toolbar {
  border-bottom: 1px solid rgba(50, 110, 190, 0.10);
}

.datatable-search,
.datatable-filter,
.datatable-pager label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.datatable-search {
  flex: 1 1 280px;
}

.datatable-filter {
  flex: 0 0 180px;
}

.datatable-toolbar span,
.datatable-footer span {
  color: #34415f;
  font-size: 12px;
  font-weight: 800;
}

.datatable-export,
.datatable-pager {
  display: flex;
  align-items: end;
  gap: 8px;
}

.datatable-footer {
  border-top: 1px solid rgba(50, 110, 190, 0.10);
  color: var(--go2-muted);
}

.datatable-pager .input {
  width: 88px;
}

.datatable-pager .btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.table-wrap {
  width: 100%;
  overflow: visible;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(50, 110, 190, 0.10);
  text-align: left;
}

.table th {
  color: #34415f;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.admin-table td {
  position: relative;
  vertical-align: middle;
}

.entity-cell {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 220px;
}

.entity-cell strong,
.entity-cell span {
  display: block;
}

.entity-cell span {
  margin-top: 3px;
  color: var(--go2-muted);
  font-size: 13px;
}

.row-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.row-actions form {
  margin: 0;
}

.row-action-menu {
  display: inline-flex;
  justify-content: flex-end;
}

.row-action-menu[open] {
  z-index: 140;
}

.row-action-menu summary.icon-button {
  color: #526079;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 1px;
}

.row-action-panel {
  top: calc(100% + 8px);
  right: 0;
  z-index: 150;
  min-width: 230px;
  padding: 7px;
}

.row-action-panel form {
  margin: 0;
}

.row-action-panel button {
  justify-content: flex-start;
  min-height: 40px;
  white-space: nowrap;
}

.row-action-panel .menu-icon {
  display: inline-flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  color: var(--go2-blue);
  font-size: 15px;
  line-height: 1;
}

.row-action-panel .danger-menu-item,
.row-action-panel .danger-menu-item .menu-icon {
  color: #bf3850;
}

.row-action-panel .danger-menu-item:hover {
  color: #bf3850;
  background: rgba(239, 93, 108, 0.10);
}

.status-toggle {
  min-width: 94px;
  min-height: 32px;
  border: 1px solid rgba(50, 110, 190, 0.13);
  border-radius: 999px;
  color: #66738a;
  background: rgba(255, 255, 255, 0.64);
  font-weight: 800;
  cursor: pointer;
}

.status-toggle.is-on {
  color: #0f7d5a;
  background: rgba(225, 250, 239, 0.92);
}

.empty-table {
  padding: 32px !important;
  color: var(--go2-muted);
  text-align: center !important;
}

.modal {
  width: min(640px, calc(100vw - 32px));
  border: 0;
  border-radius: 24px;
  padding: 0;
  color: var(--go2-text);
  background: transparent;
}

.modal-wide {
  width: min(860px, calc(100vw - 32px));
}

.modal-access {
  max-height: calc(100vh - 32px);
  overflow: visible;
}

.modal-user-form {
  width: min(980px, calc(100vw - 32px));
}

.modal::backdrop {
  background: rgba(16, 30, 62, 0.28);
  backdrop-filter: blur(10px);
}

.modal-card {
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  padding: 26px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(240, 250, 255, 0.84));
  box-shadow: 0 28px 80px rgba(30, 80, 150, 0.26);
}

.access-modal-card {
  display: flex;
  max-height: calc(100vh - 64px);
  flex-direction: column;
  overflow: hidden;
}

.access-modal-card .modal-header,
.access-modal-card .modal-alert,
.access-modal-card .modal-actions {
  flex: 0 0 auto;
}

.access-modal-card .access-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
}

.modal-alert {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(217, 72, 98, 0.20);
  border-radius: 16px;
  padding: 12px 14px;
  margin: -4px 0 18px;
  color: #823145;
  background: rgba(255, 241, 244, 0.84);
  font-size: 13px;
  font-weight: 750;
}

.modal-alert p {
  margin: 0;
}

.modal-loading {
  display: grid;
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(240, 250, 255, 0.84));
  place-items: center;
  color: var(--go2-muted);
  font-weight: 750;
}

.modal-header,
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.modal-header {
  margin-bottom: 20px;
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
}

.modal-actions {
  justify-content: flex-end;
  margin-top: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.textarea {
  min-height: 96px;
  padding-top: 14px;
  resize: vertical;
}

.file-input {
  padding: 12px 14px;
  height: auto;
}

.dropzone {
  position: relative;
  display: flex;
  min-height: 128px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px dashed rgba(45, 139, 186, 0.38);
  border-radius: 18px;
  padding: 22px;
  color: #34415f;
  background: rgba(255, 255, 255, 0.50);
  cursor: pointer;
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dropzone svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--go2-blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.dropzone strong {
  font-size: 14px;
}

.dropzone.is-dragging {
  border-color: var(--go2-cyan);
  background: rgba(222, 248, 255, 0.72);
  transform: translateY(-1px);
}

.import-dropzone {
  min-height: 180px;
}

.form-field small {
  color: var(--go2-muted);
  font-size: 12px;
}

.settings-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(50, 110, 190, 0.12);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.42);
}

.settings-switch strong,
.settings-switch small {
  display: block;
}

.settings-switch strong {
  color: #16234d;
  font-size: 14px;
}

.settings-switch small {
  margin-top: 4px;
  color: var(--go2-muted);
  font-size: 12px;
  line-height: 1.45;
}

.fieldset {
  margin: 0 0 16px;
  border: 1px solid rgba(50, 110, 190, 0.12);
  border-radius: 16px;
  padding: 14px;
}

.fieldset legend {
  padding: 0 6px;
  color: #34415f;
  font-size: 13px;
  font-weight: 750;
}

.app-permissions-fieldset,
.app-public-access {
  padding: 12px 14px;
}

.app-permissions-fieldset {
  margin-bottom: 12px;
}

.fieldset-help {
  margin: 0 0 12px;
  color: var(--go2-muted);
  font-size: 12px;
  line-height: 1.45;
}

.app-public-access-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(260px, 1.28fr);
  gap: 14px;
  align-items: end;
}

.app-public-switch {
  min-height: 50px;
  border: 1px solid rgba(50, 110, 190, 0.12);
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.46);
}

.app-default-role-field {
  margin-bottom: 0;
}

.app-default-role-field .input {
  height: 50px;
}

.app-active-switch {
  width: fit-content;
  margin-top: 4px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.check-card,
.switch-row,
.switch-control {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 14px;
  color: #34415f;
  font-weight: 750;
}

.check-card {
  border: 1px solid rgba(50, 110, 190, 0.12);
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.48);
}

.selectpicker {
  position: relative;
}

.selectpicker-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.selectpicker-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(75, 130, 190, 0.20);
  border-radius: 14px;
  padding: 0 16px;
  color: var(--go2-ink);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.selectpicker-toggle span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selectpicker-toggle i {
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--go2-soft);
  border-bottom: 2px solid var(--go2-soft);
  transform: rotate(45deg) translateY(-2px);
}

.selectpicker.is-open .selectpicker-toggle i {
  transform: rotate(225deg) translateY(-2px);
}

.selectpicker-panel {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 20;
  display: none;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 18px;
  padding: 12px;
  background: rgba(248, 253, 255, 0.98);
  box-shadow: 0 24px 60px rgba(45, 90, 150, 0.22);
  backdrop-filter: blur(18px);
}

.selectpicker.is-open .selectpicker-panel {
  display: grid;
  gap: 10px;
}

.selectpicker-search {
  min-height: 44px;
}

.selectpicker-options {
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow: auto;
  padding-right: 3px;
}

.selectpicker-group {
  display: grid;
  gap: 6px;
}

.selectpicker-group > strong {
  color: var(--go2-blue);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.selectpicker-option {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(50, 110, 190, 0.10);
  border-radius: 12px;
  padding: 10px;
  color: #34415f;
  background: rgba(255, 255, 255, 0.70);
  cursor: pointer;
  font-weight: 750;
}

.selectpicker-option:hover {
  background: rgba(223, 248, 255, 0.82);
}

.selectpicker-option small {
  color: var(--go2-muted);
  font-size: 12px;
  font-weight: 700;
}

.switch-row {
  width: fit-content;
  padding: 8px 0;
}

.switch-control {
  width: fit-content;
  cursor: pointer;
  padding: 8px 0;
}

.switch-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch-control i,
.switch-button i {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(120, 135, 158, 0.24);
  box-shadow: inset 0 1px 3px rgba(30, 55, 92, 0.16);
  transition: background 160ms ease;
}

.switch-control i::after,
.switch-button i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(30, 55, 92, 0.22);
  transition: transform 160ms ease;
}

.switch-control input:checked + i,
.switch-button.is-on i {
  background: linear-gradient(100deg, var(--go2-blue), var(--go2-cyan));
}

.switch-control input:checked + i::after,
.switch-button.is-on i::after {
  transform: translateX(20px);
}

.switch-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  color: #66738a;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.switch-button.is-on {
  color: #0f7d5a;
}

.compact-switch {
  min-width: 100px;
}

.access-list {
  display: grid;
  gap: 10px;
  max-height: min(520px, 65vh);
  overflow: auto;
  padding-right: 4px;
}

.compact-access-list {
  overflow-x: hidden;
}

.access-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.access-row {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) 180px auto;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(50, 110, 190, 0.10);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.50);
}

.access-card {
  display: flex;
  min-height: 214px;
  flex-direction: column;
  gap: 18px;
  border: 1px solid rgba(50, 110, 190, 0.12);
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.62);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.access-card:hover {
  background: rgba(255, 255, 255, 0.50);
  border-color: rgba(55, 190, 240, 0.38);
}

.access-card.is-disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.access-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.access-card-head > div {
  min-width: 0;
}

.access-card-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.access-card-head strong,
.access-card-head span {
  display: block;
}

.access-card-head strong {
  margin-top: 2px;
  font-size: 16px;
  line-height: 1.2;
}

.access-card-head span {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  color: var(--go2-muted);
  font-size: 13px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.access-card-controls {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.access-card-controls .input {
  min-height: 46px;
}

.access-card-controls .switch-control {
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid rgba(50, 110, 190, 0.10);
  padding-top: 12px;
}

.access-row strong,
.access-row span {
  display: block;
}

.access-row span {
  margin-top: 4px;
  color: var(--go2-muted);
  font-size: 13px;
  line-height: 1.35;
}

.page-footer {
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  margin-top: auto;
  border-top: 1px solid rgba(50, 110, 190, 0.14);
  padding: 18px 28px;
  color: rgba(91, 102, 120, 0.64);
  background: rgba(242, 248, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.assistant-footer-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 170;
}

.assistant-footer-widget iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.assistant-ai-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--go2-blue);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 30px rgba(40, 90, 170, 0.16), inset 0 1px 1px rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px) saturate(180%);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  cursor: pointer;
}

.assistant-ai-trigger svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.assistant-ai-panel {
  position: absolute;
  right: 0;
  bottom: 54px;
  display: flex;
  flex-direction: column;
  width: min(420px, calc(100vw - 32px));
  height: min(700px, calc(100vh - 104px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 18px;
  background: rgba(248, 252, 255, 0.96);
  box-shadow: 0 28px 70px rgba(40, 90, 170, 0.24), inset 0 1px 1px rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(22px) saturate(180%);
}

.assistant-ai-panel[hidden] {
  display: none;
}

.assistant-ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  border-bottom: 1px solid rgba(50, 110, 190, 0.12);
  padding: 0 14px 0 16px;
  color: var(--go2-blue);
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 850;
}

.assistant-ai-header span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.assistant-ai-header svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.assistant-ai-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--go2-blue);
  background: rgba(255, 255, 255, 0.72);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.assistant-ai-panel iframe {
  flex: 1 1 auto;
  min-height: 0;
}

.page-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 1360px);
  margin: 0 auto;
}

@media (max-width: 1240px) {
  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .assistant-footer-widget {
    right: 12px;
    bottom: 12px;
  }

  .assistant-ai-panel {
    right: 0;
    width: calc(100vw - 24px);
    height: min(640px, calc(100vh - 92px));
  }

  .login-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 22px;
  }

  .login-hero {
    min-height: auto;
    gap: 28px;
    text-align: center;
  }

  .login-logo {
    align-self: center;
    justify-self: center;
  }

  .login-hero-copy {
    width: 100%;
    max-width: none;
    transform: none;
  }

  .login-card {
    width: 100%;
    min-height: 0;
    padding: 34px 30px;
  }

  .hero-title,
  .hero-copy,
  .login-intro {
    overflow-wrap: anywhere;
  }

  .hero-badge {
    margin-bottom: 28px;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(34px, 9vw, 40px);
  }

  .drop-one,
  .drop-three {
    display: none;
  }

  .topbar,
  .page-heading-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .page-footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .page-heading-buttons {
    justify-content: stretch;
  }

  .topbar-nav,
  .topbar-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0;
  }

  .toast-stack {
    top: 14px;
    right: 14px;
    left: 14px;
    width: auto;
  }

  .datatable-toolbar,
  .datatable-footer,
  .datatable-export,
  .datatable-pager {
    align-items: stretch;
    flex-direction: column;
  }

  .datatable-search,
  .datatable-filter {
    flex: 1 1 auto;
  }

  .stat-grid,
  .app-grid,
  .form-grid,
  .check-grid,
  .access-card-grid,
  .access-row {
    grid-template-columns: 1fr;
  }

  .user-pill span {
    max-width: 180px;
  }
}
