:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color-scheme: dark;
  --bg: #0b1420;
  --panel: #122032;
  --panel2: #18283b;
  --ink: #eff3f7;
  --muted: #a4b3c5;
  --line: rgba(193, 211, 226, 0.14);
  --accent: #84d8bf;
  --gold: #e0c292;
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  min-width: 320px;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.hidden {
  display: none !important;
}
.muted {
  color: var(--muted);
}
.eyebrow,
.kicker {
  letter-spacing: 0.16em;
  font-size: 10px;
  font-weight: 800;
  color: var(--accent);
}
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
  background:
    radial-gradient(circle at 0% 0%, #1d3443 0, transparent 39%),
    linear-gradient(137deg, #0d1c2c, #0c1421 64%, #162433);
}
.ambient span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.2;
}
.ambient span:nth-child(1) {
  width: 500px;
  height: 500px;
  left: -210px;
  bottom: -180px;
  background: #285c6b;
  animation: drift 23s ease-in-out infinite alternate;
}
.ambient span:nth-child(2) {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -190px;
  background: #54777f;
  animation: drift 32s ease-in-out infinite alternate-reverse;
}
.ambient span:nth-child(3) {
  width: 240px;
  height: 240px;
  right: 38%;
  bottom: 1%;
  background: #7b917e;
  animation: drift 29s ease-in-out infinite alternate;
}
@keyframes drift {
  from {
    transform: translateY(-16px) scale(0.96);
  }
  to {
    transform: translateY(45px) scale(1.06);
  }
}
.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  min-height: 100dvh;
  max-width: 1800px;
  margin: auto;
}
.welcome {
  padding: clamp(28px, 4.5vw, 75px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 670px;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.welcome::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(219, 234, 230, 0.12);
  border-radius: 50%;
  bottom: 21%;
  right: 4%;
  box-shadow:
    0 0 0 60px rgba(255, 255, 255, 0.019),
    0 0 0 120px rgba(255, 255, 255, 0.01);
  pointer-events: none;
}
.logo {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  font-size: 23px;
  letter-spacing: -0.06em;
  font-weight: 850;
  width: max-content;
}
.logo small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.logo-mark {
  background: linear-gradient(140deg, #eaf8f0, #91d3be);
  color: #143b38;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -0.14em;
  box-shadow: 0 10px 27px rgba(28, 135, 104, 0.15);
}
.logo-mark span {
  color: #518d7e;
  font-size: 32px;
}
.logo-mark.small {
  width: 37px;
  height: 37px;
  font-size: 21px;
  border-radius: 10px;
  flex-shrink: 0;
}
.logo-mark.small span {
  font-size: 25px;
}
.welcome-copy {
  max-width: 690px;
  position: relative;
  z-index: 1;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  margin-bottom: 22px;
}
.status-pulse {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(132, 216, 191, 0.1);
}
.welcome h1 {
  font-size: clamp(42px, 5.1vw, 78px);
  line-height: 1.09;
  letter-spacing: -0.064em;
  margin: 0 0 28px;
  font-weight: 700;
}
.welcome h1 em,
.page-intro h3 em {
  font-style: normal;
  color: var(--accent);
}
.welcome-copy > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  max-width: 550px;
}
.welcome-features {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 43px;
}
.welcome-features span {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 11px 14px;
  color: #bdd1dd;
  font-size: 11px;
}
.welcome-foot {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  color: #97acbc;
  font-size: 11px;
}
.login-panel {
  display: grid;
  place-items: center;
  padding: 40px 35px;
}
.login-card {
  width: min(100%, 435px);
  padding: clamp(27px, 3vw, 48px);
  border: 1px solid rgba(236, 244, 247, 0.12);
  background: linear-gradient(
    144deg,
    rgba(30, 49, 65, 0.96),
    rgba(18, 31, 48, 0.96)
  );
  border-radius: 26px;
  box-shadow: 0 27px 90px rgba(0, 0, 0, 0.21);
}
.lock-icon {
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  border-radius: 15px;
  font-size: 26px;
  background: rgba(132, 216, 191, 0.14);
  border: 1px solid rgba(132, 216, 191, 0.26);
  color: var(--accent);
  margin-bottom: 29px;
}
.login-card h2 {
  font-size: 34px;
  letter-spacing: -0.05em;
  margin: 10px 0 10px;
}
.login-card > p {
  font-size: 13px;
  line-height: 1.75;
}
.login-card p strong {
  color: #e9f2f1;
}
.login-card form {
  margin-top: 30px;
  display: grid;
  gap: 10px;
}
.login-card label {
  font-size: 12px;
  font-weight: 720;
  color: #d5e0ea;
  margin-top: 9px;
}
.login-card input {
  background: #0b1928;
  border: 1px solid #34485a;
  color: #eef7f5;
  border-radius: 10px;
  height: 49px;
  width: 100%;
  padding: 0 14px;
  font-size: 14px;
  transition: border-color 0.2s;
}
.login-card input:focus {
  outline: 2px solid rgba(132, 216, 191, 0.25);
  border-color: var(--accent);
}
.login-card input::placeholder {
  color: #8194a4;
}
.primary-button {
  width: 100%;
  border: 0;
  background: var(--accent);
  color: #103a38;
  border-radius: 11px;
  min-height: 50px;
  padding: 12px 15px;
  font-size: 13px;
  font-weight: 830;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 17px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.primary-button:hover {
  transform: translateY(-2px);
  background: #acf1db;
}
.primary-button:disabled {
  opacity: 0.7;
  transform: none;
}
.message {
  min-height: 0;
  font-size: 12px;
  line-height: 1.55;
}
.message:not(:empty) {
  border-radius: 10px;
  border: 1px solid rgba(231, 186, 135, 0.25);
  padding: 12px 14px;
  color: #e9c59e;
  background: rgba(210, 149, 99, 0.11);
  margin: 14px 0;
}
.security-foot {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  gap: 12px;
  color: #9cb1bf;
}
.security-foot > span {
  font-size: 21px;
  color: var(--accent);
}
.security-foot p {
  font-size: 11px;
  line-height: 1.75;
  margin: 2px 0;
}
.console {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}
.sidebar {
  display: flex;
  flex-direction: column;
  background: #0d1927;
  border-right: 1px solid var(--line);
  padding: 29px 17px;
  position: sticky;
  top: 0;
  height: 100dvh;
}
.sidebar-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 12px 41px;
}
.sidebar-brand > div {
  display: grid;
  gap: 3px;
}
.sidebar-brand strong {
  font-size: 19px;
  letter-spacing: -0.065em;
}
.sidebar-brand small {
  font-size: 9px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.12em;
}
.sidebar-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 850;
  color: #728b9c;
  padding: 0 17px 13px;
}
.sidebar-label.second {
  padding-top: 29px;
}
.sidebar-links {
  display: grid;
  gap: 5px;
  align-content: start;
}
.sidebar-link {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 0;
  color: #b9c9d7;
  text-align: left;
  background: transparent;
  padding: 10px 11px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 650;
}
.sidebar-link.active {
  background: rgba(132, 216, 191, 0.12);
  color: #a8ebd3;
  border: 1px solid rgba(132, 216, 191, 0.22);
}
.sidebar-link:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}
.sidebar-link:disabled {
  color: #6d8596;
}
.sidebar-link small {
  margin-left: auto;
  font-size: 8px;
  letter-spacing: 0.09em;
  opacity: 0.8;
}
.nav-symbol {
  font-size: 19px;
  line-height: 1;
  width: 25px;
  text-align: center;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 25px 11px 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}
.env-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #85d8bf;
}
.workspace {
  min-width: 0;
  background:
    radial-gradient(
      circle at 85% -10%,
      rgba(58, 95, 105, 0.15),
      transparent 35%
    ),
    #101c2b;
  display: flex;
  flex-direction: column;
}
.workspace-header {
  min-height: 102px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(22px, 4vw, 64px);
}
.workspace-context {
  color: #8ca2b5;
  font-size: 9px;
  letter-spacing: 0.16em;
  font-weight: 850;
}
.workspace-header h2 {
  margin: 9px 0 0;
  letter-spacing: -0.04em;
  font-size: 24px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}
.access-tag {
  border: 1px solid rgba(132, 216, 191, 0.28);
  border-radius: 30px;
  background: rgba(132, 216, 191, 0.07);
  color: #a4e8ce;
  letter-spacing: 0.09em;
  padding: 11px 14px;
  font-size: 10px;
  font-weight: 830;
  white-space: nowrap;
}
.logout-button {
  background: transparent;
  color: #d8e4eb;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 39px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
}
.logout-button:hover {
  border-color: var(--accent);
}
.workspace-body {
  padding: clamp(23px, 4vw, 63px);
  max-width: 1540px;
  width: 100%;
  margin: auto;
  flex: 1;
}
.dashboard-message {
  max-width: 700px;
}
.page-intro {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 38px;
}
.page-intro h3 {
  font-size: clamp(33px, 4.1vw, 55px);
  line-height: 1.14;
  letter-spacing: -0.055em;
  font-weight: 680;
  margin: 19px 0;
}
.page-intro p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 655px;
  margin: 0;
}
.introduction-index {
  align-self: flex-end;
  color: #748ea1;
  font-size: 10px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.metric {
  padding: 23px 21px;
  min-height: 165px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #18283a;
}
.metric-accent {
  background: linear-gradient(130deg, #1f5a57, #254a4f);
  border-color: rgba(132, 216, 191, 0.28);
}
.metric-heading {
  font-size: 12px;
  font-weight: 740;
  color: #c9d7e2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.metric-heading span {
  font-size: 18px;
  color: var(--accent);
}
.metric-number {
  font-size: clamp(34px, 3.7vw, 49px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.1;
  margin: 18px 0;
}
.metric-foot {
  font-size: 10px;
  color: #9aafbf;
}
.dashboard-grid,
.organization-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  background: rgba(24, 40, 58, 0.75);
}
.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}
.panel h4 {
  font-size: 21px;
  letter-spacing: -0.04em;
  margin: 10px 0 13px;
}
.panel p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 530px;
}
.panel small {
  font-size: 10px;
  color: #92a9b9;
  line-height: 1.7;
}
.panel-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  background: rgba(132, 216, 191, 0.11);
  border-radius: 10px;
  color: var(--accent);
  font-size: 21px;
}
.progress {
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin: 25px 0 15px;
}
.progress span {
  display: block;
  width: 34%;
  height: 100%;
  background: var(--accent);
  border-radius: 10px;
}
.session-details {
  display: grid;
  gap: 11px;
  margin: 12px 0 24px;
}
.session-details div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}
.session-details dt {
  color: var(--muted);
}
.session-details dd {
  color: #e6f2ef;
  font-weight: 730;
  margin: 0;
}
.organization-info {
  margin-top: 30px;
}
.organization-info .panel h4 {
  font-size: 25px;
}
.workspace-footer {
  padding: 22px clamp(22px, 4vw, 64px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  color: #8398a9;
}
@media (max-width: 1160px) {
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-intro {
    align-items: start;
  }
  .introduction-index {
    display: none;
  }
}
@media (max-width: 920px) {
  .login-layout {
    grid-template-columns: 1fr;
  }
  .welcome {
    min-height: 430px;
    padding: 34px 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .welcome-copy {
    padding: 65px 0 35px;
  }
  .welcome h1 {
    font-size: clamp(38px, 7vw, 60px);
  }
  .welcome-foot {
    display: none;
  }
  .login-panel {
    padding: 35px 22px 70px;
  }
  .console {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 18px 20px;
    min-height: unset;
  }
  .sidebar-brand {
    padding: 0 0 18px;
  }
  .sidebar-label,
  .sidebar-label.second,
  .sidebar-bottom {
    display: none;
  }
  .sidebar-links {
    display: flex;
    overflow-x: auto;
    padding-bottom: 5px;
    gap: 6px;
  }
  .sidebar-link {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
    min-height: 39px;
    padding: 8px 12px;
  }
  .sidebar-link small {
    display: none;
  }
  .nav-symbol {
    width: 15px;
  }
  .workspace-header {
    min-height: 90px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 610px) {
  .welcome {
    min-height: 0;
  }
  .welcome-copy {
    padding: 52px 0 12px;
  }
  .welcome h1 {
    font-size: clamp(36px, 9vw, 49px);
  }
  .welcome-features {
    margin-top: 25px;
    gap: 8px;
  }
  .welcome-features span {
    font-size: 10px;
    padding: 8px 9px;
  }
  .login-card {
    padding: 24px 21px;
  }
  .login-panel {
    padding: 22px 15px 50px;
  }
  .workspace-header {
    padding: 19px 20px;
    align-items: flex-start;
    gap: 16px;
  }
  .workspace-header h2 {
    font-size: 21px;
  }
  .header-actions {
    gap: 7px;
  }
  .access-tag {
    display: none;
  }
  .workspace-body {
    padding: 25px 18px;
  }
  .page-intro {
    display: block;
    margin-bottom: 29px;
  }
  .page-intro h3 {
    font-size: 34px;
  }
  .page-intro p {
    font-size: 12px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 17px 14px;
    min-height: 135px;
  }
  .metric-number {
    font-size: 34px;
    margin: 13px 0;
  }
  .metric-heading,
  .metric-foot {
    font-size: 10px;
  }
  .dashboard-grid,
  .organization-info {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .panel {
    padding: 21px;
  }
  .workspace-footer {
    padding: 19px;
    display: block;
    line-height: 1.6;
  }
  .workspace-footer span {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ambient span {
    animation: none;
  }
  .primary-button,
  .sidebar-link,
  .logout-button {
    transition: none !important;
    transform: none !important;
  }
}
/* MFA enrollment, private QR and recovery-code presentation. */
.mfa-panel,
.recovery-panel {
  margin-top: 23px;
  border-top: 1px solid var(--line);
  padding-top: 23px;
}
.mfa-panel h3,
.recovery-panel h3 {
  font-size: 23px;
  letter-spacing: -0.04em;
  margin: 10px 0;
}
.mfa-panel p,
.recovery-panel p {
  font-size: 12px;
  line-height: 1.75;
}
.mfa-enroll {
  display: grid;
  gap: 7px;
}
.mfa-qr {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  width: min(100%, 268px);
  min-height: 264px;
  margin: 10px auto;
  display: grid;
  place-items: center;
}
.mfa-qr svg,
.mfa-qr img,
.mfa-qr canvas {
  max-width: 100%;
  height: auto;
}
.manual-key-label {
  color: var(--muted);
}
.manual-key {
  display: block;
  padding: 13px 15px;
  font:
    700 12px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.11em;
  word-break: break-all;
  background: #071420;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #c8e8da;
}
.mfa-panel form {
  margin-top: 19px;
}
.text-button {
  background: none;
  border: 0;
  padding: 15px 0;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 12px;
}
.recovery-codes {
  padding: 17px;
  border-radius: 11px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #dbede5;
  font:
    700 13px/1.9 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  background: #081825;
  border: 1px solid var(--line);
}
@media (max-width: 480px) {
  .mfa-qr {
    padding: 10px;
    min-height: 245px;
  }
  .recovery-codes {
    font-size: 11px;
  }
}

.sandbox-portal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line, #e0e4e9);
  flex-wrap: wrap;
}
.sandbox-portal-row a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#sandbox-portal-form select {
  width: 100%;
  max-width: 620px;
  padding: 11px 12px;
  border: 1px solid #acb5bf;
  border-radius: 8px;
  background: var(--paper, #fff);
  color: var(--ink, #182b3a);
}
#sandbox-career-row[hidden] {
  display: none;
}

/* Developer portal workspace: dark theme contrast and usable tenant cards. */
#sandbox-portal-form select {
  color-scheme: dark;
  background: #132638;
  color: #f5f9fc;
  border: 1px solid #7391a9;
  min-height: 47px;
  font-weight: 680;
}
#sandbox-portal-form select option {
  color: #f5f9fc;
  background-color: #132638;
}
#sandbox-portal-form select:disabled {
  opacity: 0.68;
}
#sandbox-portal-form select:focus-visible,
.portal-logo-input:focus-visible,
.portal-action:focus-visible,
.portal-remove-logo:focus-visible {
  outline: 3px solid #84d8bf;
  outline-offset: 3px;
}
.portal-management-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.portal-management-grid .panel {
  max-width: 1000px;
}
#sandbox-portal-form {
  display: grid;
  gap: 12px;
  margin: 23px 0;
  max-width: 730px;
}
#sandbox-portal-form label {
  color: #ecf5f8;
  font-size: 12px;
  font-weight: 750;
  margin-top: 9px;
}
#sandbox-portal-form .primary-button {
  max-width: 440px;
}
#sandbox-portal-list {
  display: grid;
  gap: 13px;
  padding-top: 13px;
}
.sandbox-portal-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) minmax(230px, 1.25fr);
  gap: 18px;
  background: #172b3f;
  border: 1px solid #37516a;
  border-radius: 14px;
  padding: 18px;
  align-items: center;
  color: #f0f7fc;
}
.portal-logo-preview {
  width: 72px;
  height: 72px;
  border: 1px dashed #628399;
  border-radius: 13px;
  background: #102131;
  color: #adbfcb;
  display: grid;
  place-items: center;
  padding: 8px;
  font-size: 10px;
  text-align: center;
}
.portal-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.portal-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.portal-name {
  color: #f5f9fc;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.portal-state {
  font-size: 11px;
  color: #c1d6e5;
  font-weight: 730;
}
.portal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 12px;
}
.portal-action,
.portal-logo-label,
.portal-remove-logo {
  border: 1px solid #658095;
  border-radius: 9px;
  background: #213a52;
  color: #e7f2f9;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 720;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}
.portal-action:hover,
.portal-logo-label:hover,
.portal-remove-logo:hover {
  background: #34536c;
  color: #fff;
}
.portal-logo-label {
  position: relative;
  overflow: hidden;
}
.portal-logo-input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  cursor: pointer;
}
.portal-logo-message {
  width: 100%;
  color: #bad7e7;
  font-size: 11px;
}
@media (max-width: 1150px) {
  .sandbox-portal-row {
    grid-template-columns: 75px minmax(0, 1fr);
  }
  .portal-actions {
    grid-column: 1 / -1;
  }
}
@media (max-width: 610px) {
  .sandbox-portal-row {
    grid-template-columns: 60px minmax(0, 1fr);
    padding: 14px;
  }
  .portal-logo-preview {
    width: 60px;
    height: 60px;
  }
  #sandbox-portal-form select {
    font-size: 14px;
  }
}

#sandbox-logo {
  max-width: 580px;
  border-radius: 10px;
  border: 1px dashed #7091a8;
  background: #132638;
  color: #f0f7fd;
  padding: 12px;
  font: inherit;
  font-size: 12px;
}
#sandbox-logo::file-selector-button {
  border: 0;
  border-radius: 7px;
  color: #102e34;
  background: #a8e8d6;
  padding: 8px 12px;
  margin-right: 12px;
  font-weight: 730;
  cursor: pointer;
}
#sandbox-logo-hint {
  color: #b8d0dd;
  font-size: 11px;
  line-height: 1.5;
}

/* Explicit per-tenant pilot publication, never implicit on tenant creation. */
.sandbox-portal-row {
  grid-template-columns: 76px minmax(0, 1fr) minmax(230px, 1.25fr);
}
.portal-publication {
  grid-column: 2 / -1;
  border-top: 1px solid #36556d;
  padding-top: 12px;
  width: 100%;
}
.portal-public-link {
  color: #a8e8d6;
  font-size: 12px;
  font-weight: 750;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.portal-publish-form {
  display: grid;
  gap: 11px;
  max-width: 530px;
}
.portal-publish-form label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 12px;
  font-weight: 730;
  color: #e9f5fa;
}
.portal-publish-form input {
  min-width: 190px;
  width: min(100%, 270px);
  min-height: 43px;
  color: #fff;
  background: #102b43;
  border: 1px solid #7da2b6;
  border-radius: 9px;
  padding: 10px;
}
.portal-publish-form input:read-only {
  opacity: 0.8;
}
.portal-domain-suffix {
  color: #c0d6e3;
}
.portal-publication-disclaimer {
  margin: 0;
  color: #bad0e0;
  line-height: 1.7;
  font-size: 12px;
}
.portal-publish-button {
  background: #a8e8d6;
  border: 1px solid #84d8bf;
  border-radius: 10px;
  color: #0c3432;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  min-height: 44px;
  padding: 11px 16px;
  cursor: pointer;
  justify-self: start;
}
.portal-publish-button:hover {
  background: #c2f4e5;
}
.portal-publish-button:disabled {
  opacity: 0.6;
  cursor: progress;
}
.portal-publish-button.portal-unpublish {
  background: transparent;
  color: #ffd5b2;
  border-color: #b48470;
}
.portal-publication-message {
  margin: 9px 0 0;
  color: #e5cba8;
  font-size: 12px;
}
@media (max-width: 1150px) {
  .sandbox-portal-row {
    grid-template-columns: 75px minmax(0, 1fr);
  }
  .portal-publication {
    grid-column: 1 / -1;
  }
}
@media (max-width: 610px) {
  .sandbox-portal-row {
    grid-template-columns: 60px minmax(0, 1fr);
  }
  .portal-publication {
    grid-column: 1 / -1;
  }
}

/* Editable hostname for both private and published portals. */
.portal-rename-form {
  display: grid;
  gap: 11px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #36556d;
  max-width: 540px;
}
.portal-rename-form label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 12px;
  font-weight: 730;
  color: #e9f5fa;
}
.portal-rename-form input {
  min-width: 190px;
  width: min(100%, 270px);
  min-height: 43px;
  color: #fff;
  background: #102b43;
  border: 1px solid #7da2b6;
  border-radius: 9px;
  padding: 10px;
}
.portal-rename-form input:focus-visible,
.portal-rename-button:focus-visible {
  outline: 3px solid #a8e8d6;
  outline-offset: 2px;
}
.portal-rename-button {
  background: #d0e1ed;
  border-color: #c5dcec;
  color: #0c2e4a;
}
.portal-reserved-domain {
  color: #c8d7e5;
  font-size: 12px;
  overflow-wrap: anywhere;
}
