:root {
  --ss-primary: #EBBA36;
  --ss-primary-rgb: 235, 186, 54;
  --ss-on-primary: #090909;
  --ss-secondary: #F4D77A;
  --ss-secondary-rgb: 244, 215, 122;
  --ss-on-secondary: #090909;
  --ss-bg: #070707;
  --ss-bg-raised: #0D0D0D;
  --ss-surface: #111111;
  --ss-surface-raised: #171717;
  --ss-border: rgba(var(--ss-primary-rgb), .20);
  --ss-border-strong: rgba(var(--ss-primary-rgb), .42);
  --ss-text: #F7F4EC;
  --ss-muted: #AAA69C;
  --ss-focus: 0 0 0 3px rgba(var(--ss-primary-rgb), .24);
  --bg: var(--ss-bg);
  --bg-alt: var(--ss-bg-raised);
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: var(--ss-surface);
  --surface-soft: var(--ss-surface-raised);
  --surface-hover: rgba(var(--ss-primary-rgb), .07);
  --border: var(--ss-border);
  --border-strong: var(--ss-border-strong);
  --text: #ffffff;
  --muted: var(--ss-muted);
  --muted-strong: #D8D4CA;
  --primary: var(--ss-primary);
  --primary-dark: #B98A15;
  --primary-soft: rgba(var(--ss-primary-rgb), .14);
  --accent: var(--ss-secondary);
  --violet: var(--ss-secondary);
  --success: #34d399;
  --warning: #f59e0b;
  --danger: #f87171;
  --info: #60a5fa;
  --closed: #94a3b8;
  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 20px 54px rgba(0, 0, 0, .42);
  --glow: 0 0 32px rgba(var(--ss-primary-rgb), .16);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  min-height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  text-rendering: optimizeLegibility;
}

[dir="rtl"] body {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--accent);
  text-decoration: none;
}

.language-switcher {
  margin: 0;
}

.language-switcher select {
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 0.35rem 0.65rem;
  font-weight: 700;
}

.language-switcher select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem var(--primary-soft);
  outline: 0;
}

.language-switcher option {
  color: #111827;
}

[dir="rtl"] .marketing-actions,
[dir="rtl"] .header-actions,
[dir="rtl"] .action-row,
[dir="rtl"] .side-nav a,
[dir="rtl"] .side-nav-heading,
[dir="rtl"] .app-brand,
[dir="rtl"] .marketing-brand,
[dir="rtl"] .current-company-menu,
[dir="rtl"] .user-menu,
[dir="rtl"] .breadcrumbs {
  direction: rtl;
}

[dir="rtl"] .global-search i {
  left: auto;
  right: 1rem;
}

[dir="rtl"] .global-search input {
  padding-left: 1rem;
  padding-right: 2.75rem;
}

[dir="rtl"] .auth-form,
[dir="rtl"] .auth-aside,
[dir="rtl"] .panel,
[dir="rtl"] .page-heading {
  text-align: right;
}

img,
svg {
  max-width: 100%;
}

::selection {
  background: rgba(var(--ss-primary-rgb), .28);
  color: #ffffff;
}

.marketing-site {
  overflow-x: hidden;
}

.marketing-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(var(--ss-primary-rgb), 0.12), transparent 26%),
    linear-gradient(225deg, rgba(var(--ss-secondary-rgb), 0.12), transparent 34%),
    linear-gradient(180deg, #050505 0%, #0b0b0f 52%, #050505 100%);
}

.marketing-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), transparent 76%);
}

.simple-help-site {
  background: #333333;
}

.simple-help-site .simple-help-shell {
  display: grid;
  min-height: 100svh;
  overflow: auto;
  background: #333333;
}

.simple-help-site .marketing-shell::before {
  display: none;
}

.simple-help-site .simple-help-main {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100svh;
  padding: clamp(1rem, 4vw, 2rem);
}

.simple-help-language {
  position: fixed;
  top: 1rem;
  inset-inline-end: 1rem;
  z-index: 50;
}

.simple-help-language select {
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  outline: none;
}

.simple-help-login {
  display: grid;
  place-items: center;
  width: 100%;
}

.simple-help-card {
  display: grid;
  gap: 0.75rem;
  width: min(100%, 385px);
  padding: 3.4rem 4.35rem 3rem;
  color: #1f2937;
  background: #ffffff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
}

.simple-help-title {
  margin-bottom: 0.35rem;
  text-align: center;
}

.simple-help-title h1,
.simple-help-title p {
  margin: 0;
  font-weight: 400;
  line-height: 1.12;
  color: #2fa33d;
}

.simple-help-title h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
}

.simple-help-title p {
  margin-top: 0.25rem;
  font-size: clamp(1.8rem, 4.5vw, 2.25rem);
}

.simple-help-card label {
  margin-top: 0.15rem;
  color: #c97a86;
  font-size: 1rem;
  line-height: 1.1;
}

.simple-help-card input {
  width: 100%;
  min-height: 34px;
  padding: 0.15rem 0 0.45rem;
  color: #4b5563;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #dedede;
  border-radius: 0;
  outline: none;
  font-size: 1.05rem;
}

.simple-help-card input:focus {
  border-bottom-color: #2fa33d;
}

.simple-help-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: end;
  gap: 0.75rem;
}

.simple-help-input-row input {
  min-width: 0;
}

.simple-help-card button {
  min-height: 52px;
  margin-top: 2rem;
  color: #ffffff;
  background: #2fa33d;
  border: 0;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  transition: transform 0.16s ease, background 0.16s ease;
}

.simple-help-card button:hover {
  background: #278b34;
  transform: translateY(-1px);
}

.simple-help-card .simple-help-icon-submit {
  display: inline-grid;
  place-items: center;
  min-height: 54px;
  width: 54px;
  margin: 0;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(47, 163, 61, 0.28);
}

.simple-help-history,
.simple-help-dev-code {
  margin: 0;
  color: #111827;
  font-size: 0.95rem;
  line-height: 1.4;
}

.simple-help-history a {
  color: #0b63ce;
  text-decoration: underline;
}

.simple-help-card-otp .simple-help-title p {
  color: #6b7280;
  font-size: 1rem;
}

.simple-help-staff-link {
  position: fixed;
  inset-inline-start: 1.2rem;
  bottom: 1rem;
  z-index: 50;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  text-decoration: none;
}

.simple-help-staff-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

[dir="rtl"] .simple-help-card {
  text-align: right;
}

[dir="rtl"] .simple-help-title {
  text-align: center;
}

.simple-help-login-codepen {
  min-height: min(640px, 100svh);
}

.simple-help-login-codepen .simple-help-card-interactive {
  display: block;
  position: relative;
  width: min(100%, 400px);
  padding: 0;
  color: #333333;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.simple-help-card-interactive .simple-help-title {
  position: relative;
  z-index: 4;
  margin: 0;
  padding: 2rem 2.5rem 1.65rem;
  background: #ffffff;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.16);
}

.simple-help-card-interactive .simple-help-title h1,
.simple-help-card-interactive .simple-help-title p {
  color: #2fa33d;
  letter-spacing: 0;
}

.simple-help-card-interactive .simple-help-title h1 {
  font-size: clamp(2rem, 5vw, 2.55rem);
}

.simple-help-card-interactive .simple-help-title p {
  color: #2fa33d;
  font-size: clamp(1.75rem, 4.5vw, 2.25rem);
}

.simple-help-input-section {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
  height: 75px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.simple-help-input-section:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 22px 90px rgba(0, 0, 0, 0.24);
}

.simple-help-card-interactive .simple-help-input-section input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 75px;
  min-height: 75px;
  margin: 0;
  padding: 1.25rem 2.5rem;
  color: #6b65bb;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  font-size: 1rem;
}

.simple-help-card-interactive .simple-help-input-section input::placeholder {
  color: #8f8fd6;
  font-weight: 400;
}

.simple-help-card-interactive .simple-help-input-section input:focus {
  border: 0;
}

.simple-help-card-interactive .simple-help-animated-button {
  flex: 0 0 20%;
  min-width: 76px;
  min-height: 75px;
  width: 20%;
  height: 75px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: #9999f8;
  background: #d4d4ff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.simple-help-card-interactive .simple-help-animated-button:hover,
.simple-help-card-interactive .simple-help-animated-button:focus-visible {
  color: #ffffff;
  background: #8f8fd6;
  transform: none;
}

.simple-help-animated-button span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 75px;
  transition: transform 0.2s ease-in;
}

.simple-help-animated-button i {
  color: currentColor;
  font-size: 1.55rem;
}

.simple-help-animated-button .simple-help-icon-next {
  transform: translateY(0);
}

.simple-help-card-interactive:not(.has-value) .simple-help-icon-next {
  transform: translateY(0);
}

.simple-help-card-interactive.has-value .simple-help-icon-envelope {
  transform: translateY(-75px);
}

.simple-help-card-interactive.has-value .simple-help-icon-next {
  transform: translateY(-75px);
}

.simple-help-card-interactive .simple-help-history {
  position: relative;
  z-index: 2;
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.simple-help-card-interactive .simple-help-history a {
  color: #ffffff;
  font-weight: 700;
}

[dir="rtl"] .simple-help-card-interactive .simple-help-input-section input {
  text-align: right;
}

.marketing-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  gap: 1rem;
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  min-height: 76px;
  margin: 0 auto;
  padding: 0.7rem 0;
  backdrop-filter: blur(18px);
}

.marketing-brand,
.app-brand {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-height: 56px;
  color: #ffffff;
}

.marketing-brand:hover,
.app-brand:hover {
  color: #ffffff;
}

.brand-glyph,
.nav-icon,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
}

.brand-glyph {
  width: 42px;
  height: 42px;
  color: #031014;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 32px rgba(var(--ss-primary-rgb), 0.24);
}

.brand-glyph i {
  font-size: 1.05rem;
}

.brand-glyph-logo {
  padding: 0.35rem;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.14), 0 0 32px rgba(var(--ss-primary-rgb), 0.14);
}

.brand-glyph-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  object-fit: contain;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.94);
}

.marketing-brand strong,
.marketing-brand small,
.app-brand strong,
.app-brand small {
  display: block;
}

.marketing-brand small,
.app-brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.marketing-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.marketing-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: 999px;
  padding: 0 0.8rem;
  color: var(--muted-strong);
  font-size: 0.93rem;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.marketing-links a:hover,
.marketing-links a:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateY(-1px);
}

.marketing-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.marketing-main {
  position: relative;
  z-index: 1;
}

.hero-section {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.8rem 0 1.7rem;
}

.hero-bg {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  filter: blur(18px);
  opacity: 0.72;
}

.hero-bg-one {
  inset: 7% auto auto 42%;
  width: 44%;
  height: 28%;
  transform: skewY(-14deg);
  background: linear-gradient(90deg, rgba(var(--ss-primary-rgb), 0.18), rgba(var(--ss-secondary-rgb), 0.1), transparent);
}

.hero-bg-two {
  inset: auto 8% 10% auto;
  width: 34%;
  height: 22%;
  transform: skewY(11deg);
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.13), rgba(var(--ss-primary-rgb), 0.12));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: 3.5rem;
  align-items: center;
  min-height: 0;
}

.hero-copy {
  max-width: 680px;
}

.hero-copy h1 {
  margin: 0;
  max-width: 780px;
  color: #ffffff;
  font-size: clamp(2.25rem, 4vw, 3.65rem);
  line-height: 1.04;
  font-weight: 850;
}

.hero-copy p {
  max-width: 620px;
  margin: 1rem 0 0;
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 1.25rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.trust-row span,
.contact-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.035);
}

.hero-visual {
  position: relative;
  min-height: 420px;
  perspective: 1100px;
}

.visual-mesh {
  position: absolute;
  inset: 8% 5% 10% 7%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(var(--ss-primary-rgb), 0.18), transparent 32%),
    linear-gradient(225deg, rgba(var(--ss-secondary-rgb), 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--glow), 0 36px 80px rgba(0, 0, 0, 0.4);
  transform: rotateX(58deg) rotateZ(-35deg);
  animation: floatPanel 8s ease-in-out infinite;
}

.visual-mesh::before,
.visual-mesh::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}

.visual-mesh::after {
  inset: 25%;
  border-color: rgba(var(--ss-primary-rgb), 0.26);
  box-shadow: inset 0 0 26px rgba(var(--ss-primary-rgb), 0.12);
}

.signal-plane {
  position: absolute;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.plane-one {
  top: 7%;
  right: 10%;
  width: 175px;
  height: 96px;
  transform: rotate(-8deg);
}

.plane-two {
  left: 0;
  bottom: 16%;
  width: 150px;
  height: 150px;
  transform: rotate(12deg);
}

.plane-three {
  right: 6%;
  bottom: 9%;
  width: 210px;
  height: 72px;
  transform: rotate(7deg);
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(var(--ss-primary-rgb), 0.22);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-24deg);
}

.ring-one {
  inset: 10% 9%;
}

.ring-two {
  inset: 24% 18%;
  border-color: rgba(var(--ss-secondary-rgb), 0.22);
}

.glass-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.visual-card {
  position: absolute;
  display: grid;
  gap: 0.25rem;
  min-width: 188px;
  padding: 1rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.visual-card:hover {
  border-color: rgba(var(--ss-primary-rgb), 0.4);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-4px);
}

.visual-card span,
.visual-card small {
  color: var(--muted);
}

.visual-card strong {
  color: #ffffff;
  font-size: 2.1rem;
  line-height: 1;
}

.visual-card-one {
  top: 18%;
  left: 4%;
}

.visual-card-two {
  right: 0;
  top: 40%;
}

.visual-card-three {
  left: 17%;
  bottom: 10%;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.section-header {
  max-width: 780px;
  margin-bottom: 1.6rem;
}

.section-header.compact {
  margin-bottom: 0;
}

.section-header h2,
.cta-band h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.05;
  font-weight: 820;
}

.section-header p,
.cta-band p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.about-section {
  padding-top: 2rem;
}

.metric-grid,
.service-grid,
.reason-grid,
.tech-grid,
.industry-grid {
  display: grid;
  gap: 1rem;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-card,
.service-card,
.reason-item,
.industry-card,
.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.metric-card {
  padding: 1.1rem;
}

.metric-card strong {
  display: block;
  color: #ffffff;
  font-size: 2.15rem;
  line-height: 1;
}

.metric-card span,
.industry-card span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  position: relative;
  min-height: 236px;
  padding: 1.15rem;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(var(--ss-primary-rgb), 0.16), transparent 48%, rgba(var(--ss-secondary-rgb), 0.1));
  transition: opacity 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--ss-primary-rgb), 0.32);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: var(--shadow), var(--glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(var(--ss-primary-rgb), 0.28);
  border-radius: 12px;
  color: #cffafe;
  background: rgba(var(--ss-primary-rgb), 0.1);
  font-weight: 850;
}

.service-card h3,
.industry-card strong {
  margin: 1rem 0 0;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 760;
}

.service-card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 2rem;
  align-items: center;
}

.reason-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reason-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 76px;
  padding: 1rem;
}

.reason-item span {
  width: 12px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--success));
  box-shadow: 0 0 24px rgba(var(--ss-primary-rgb), 0.24);
}

.reason-item strong {
  color: #ffffff;
  font-size: 1rem;
}

.tech-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.tech-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 760;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease;
}

.tech-grid span:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--ss-primary-rgb), 0.3);
  color: #ffffff;
}

.industry-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.industry-card {
  min-height: 136px;
  padding: 1rem;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--ss-primary-rgb), 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid rgba(var(--ss-primary-rgb), 0.18);
  border-radius: 22px;
  padding: 2.25rem;
  background:
    linear-gradient(135deg, rgba(var(--ss-primary-rgb), 0.13), transparent 46%),
    linear-gradient(225deg, rgba(var(--ss-secondary-rgb), 0.14), transparent 42%),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.72fr);
  gap: 2rem;
  align-items: start;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.055);
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.form-success {
  border: 1px solid rgba(52, 211, 153, 0.32);
  border-radius: var(--radius);
  padding: 0.85rem;
  color: #bbf7d0;
  background: rgba(52, 211, 153, 0.1);
}

.enterprise-app {
  background:
    linear-gradient(135deg, rgba(var(--ss-primary-rgb), 0.07), transparent 32%),
    linear-gradient(225deg, rgba(var(--ss-secondary-rgb), 0.08), transparent 38%),
    var(--bg-alt);
}

.app-shell {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  min-height: 100vh;
  width: 100%;
  overflow-x: clip;
}

.app-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 0;
  padding: 1rem;
  border-right: 1px solid var(--border);
  background: rgba(5, 5, 5, 0.86);
  color: #f8fafc;
  backdrop-filter: blur(18px);
}

.mobile-sidebar-close,
.mobile-nav-toggle,
.sidebar-backdrop {
  display: none;
}

.side-nav {
  display: grid;
  flex: 1 1 auto;
  gap: 0.25rem;
  margin-top: 1.5rem;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-right: 0.25rem;
}

.side-nav-group {
  display: grid;
  gap: 0.2rem;
  padding-block: 0.2rem 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.side-nav-group:last-child {
  border-bottom: 0;
}

.side-nav-heading {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.65rem 0.3rem;
  color: #7dd3fc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 42px;
  padding: 0.5rem 0.65rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted-strong);
  font-weight: 650;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.side-nav a:hover,
.side-nav a:focus {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transform: translateX(2px);
}

.nav-icon {
  width: 26px;
  height: 26px;
  color: #031014;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 0.82rem;
  box-shadow: 0 0 18px rgba(var(--ss-primary-rgb), 0.12);
}

.icon-dashboard { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.icon-companies,
.icon-company { background: linear-gradient(135deg, #60a5fa, #93c5fd); }
.icon-tickets,
.icon-my-tickets { background: linear-gradient(135deg, #a78bfa, #c4b5fd); }
.icon-import { background: linear-gradient(135deg, #34d399, var(--accent)); }
.icon-users,
.icon-requesters { background: linear-gradient(135deg, #fbbf24, #fde68a); }
.icon-roles { background: linear-gradient(135deg, #f87171, #fca5a5); }
.icon-setup { background: linear-gradient(135deg, #38bdf8, #818cf8); }
.icon-analytics { background: linear-gradient(135deg, #fb7185, #fda4af); }
.icon-settings { background: linear-gradient(135deg, #f59e0b, #fef3c7); }
.icon-diagnostics { background: linear-gradient(135deg, #fb7185, #fbbf24); }
.icon-assets { background: linear-gradient(135deg, #2dd4bf, #5eead4); }
.icon-computers { background: linear-gradient(135deg, var(--ss-primary), #a7f3d0); }
.icon-network { background: linear-gradient(135deg, #0ea5e9, #7dd3fc); }
.icon-external { background: linear-gradient(135deg, #14b8a6, #5eead4); }
.icon-create { background: linear-gradient(135deg, #2dd4bf, #99f6e4); }
.icon-staff { background: linear-gradient(135deg, #c084fc, #ddd6fe); }
.icon-otp { background: linear-gradient(135deg, #facc15, #fde68a); }

.sidebar-footer {
  margin-top: auto;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.045);
}

.sidebar-footer span,
.sidebar-footer strong {
  display: block;
}

.sidebar-footer span {
  color: var(--muted);
  font-size: 0.78rem;
}

.mobile-logout-form { display: none; margin-top: 0.85rem; }
.mobile-logout-form .btn { width: 100%; justify-content: center; }
.notification-panel-close { display: none; }

.company-contact-mini {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.65rem;
}

.company-contact-mini a {
  color: var(--muted-strong);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.app-main {
  min-width: 0;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 11, 15, 0.82);
  backdrop-filter: blur(16px);
  min-width: 0;
}

.app-header-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.app-header h1 {
  margin: 0;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 760;
}

.breadcrumbs {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.breadcrumbs a {
  color: var(--muted-strong);
}

.header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.global-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 280px;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 0.75rem;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
}

.global-search i {
  color: var(--primary);
}

.global-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
}

.global-search input::placeholder {
  color: #71717a;
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: rgba(var(--ss-primary-rgb), 0.1);
  color: var(--accent);
}

.icon-notifications {
  position: relative;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.11);
}

.notification-menu {
  position: relative;
}

.notification-badge {
  position: absolute;
  top: -5px;
  inset-inline-end: -5px;
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border: 2px solid #101116;
  border-radius: 999px;
  padding: 0 0.28rem;
  color: #14080a;
  font-size: 0.68rem;
  font-weight: 900;
  background: #fb7185;
}

.notification-panel {
  position: absolute;
  z-index: 80;
  top: calc(100% + 0.75rem);
  inset-inline-end: 0;
  width: min(420px, calc(100vw - 1.5rem));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.8rem;
  background: rgba(17, 19, 24, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
}

.notification-panel-head,
.notification-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.notification-panel-head {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.notification-panel-head strong,
.notification-item strong {
  display: block;
  color: var(--text);
}

.notification-panel-head small,
.notification-item small,
.notification-item time {
  display: block;
  color: var(--muted);
}

.notification-list {
  display: grid;
  gap: 0.45rem;
  max-height: min(54vh, 420px);
  overflow: auto;
  padding: 0.65rem 0;
}

.notification-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0.65rem;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.65rem;
  color: inherit;
  background: rgba(255, 255, 255, 0.035);
}

.notification-item:hover,
.notification-item.unread {
  border-color: rgba(var(--ss-primary-rgb), 0.22);
  background: rgba(var(--ss-primary-rgb), 0.08);
}

.notification-item-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: #031014;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.notification-empty {
  border: 1px dashed var(--border);
  border-radius: 10px;
  margin: 0.7rem 0;
  padding: 1rem;
  color: var(--muted);
  text-align: center;
}

.notification-panel-footer {
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
}

.user-menu {
  min-width: 180px;
}

.current-company-menu {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 42px;
  max-width: 290px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.35rem 0.45rem;
  background: rgba(255, 255, 255, 0.04);
}

.current-company-logo {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(var(--ss-primary-rgb), 0.22);
  border-radius: 8px;
  color: #031014;
  font-size: 0.78rem;
  font-weight: 850;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.current-company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.18rem;
  background: rgba(255, 255, 255, 0.96);
}

.current-company-menu form {
  min-width: 0;
}

.company-switcher {
  width: 100%;
  min-width: 150px;
  max-width: 210px;
  height: 32px;
  border: 0;
  outline: 0;
  color: var(--text);
  font-weight: 800;
  background: transparent;
}

.company-switcher option {
  color: #111827;
}

.company-logo-image-fallback,
.company-logo-container > span {
  display: none;
}

.company-logo-container {
  position: relative;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
}

.company-logo-container > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.18rem;
  background: rgba(255, 255, 255, 0.96);
}

.company-logo-container.is-fallback > img,
.current-company-logo.is-fallback > img {
  display: none;
}

.company-logo-container.is-fallback > span,
.current-company-logo.is-fallback .company-logo-image-fallback {
  display: inline-flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #031014;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 900;
}

.company-settings-link {
  display: inline-grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(var(--ss-primary-rgb), 0.34);
  border-radius: 8px;
  color: var(--accent);
  background: rgba(var(--ss-primary-rgb), 0.08);
  text-decoration: none;
}

.company-settings-link:hover,
.company-settings-link:focus-visible {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
}

.agent-row-focused > * {
  background: rgba(var(--ss-primary-rgb), 0.12) !important;
}

.current-company-name {
  min-width: 0;
}

.current-company-name span,
.current-company-name small,
.user-menu span,
.user-menu small {
  display: block;
  line-height: 1.2;
}

.current-company-name span,
.user-menu span {
  color: #ffffff;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.current-company-name small,
.user-menu small {
  color: var(--muted);
}

.current-company-name small {
  font-size: 0.74rem;
}

.page-shell {
  width: 100%;
  max-width: none;
  padding: clamp(1.25rem, 2vw, 2.5rem);
}

.system-error-state {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  width: min(760px, 100%);
  margin: clamp(2rem, 10vh, 7rem) auto;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid color-mix(in srgb, #fb7185 36%, var(--border));
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.11), var(--surface));
  box-shadow: var(--shadow);
}

.system-error-state-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9px;
  color: #3b0a13;
  background: linear-gradient(135deg, #fda4af, #fb7185);
  font-size: 1.25rem;
}

.system-error-state h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.system-error-state p {
  max-width: 60ch;
  margin: 0.65rem 0 1rem;
  color: var(--muted-strong);
}

.system-error-state .action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.system-error-reference {
  margin-bottom: 0 !important;
  color: var(--muted) !important;
  font-size: 0.78rem;
}

.system-error-reference code {
  overflow-wrap: anywhere;
}

@media (max-width: 540px) {
  .system-error-state {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-block: 1rem;
  }
}

.page-heading,
.panel-heading,
.setup-title,
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.page-heading {
  margin-bottom: 1rem;
}

.page-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.page-heading h2,
.page-heading h1,
.panel h2,
.panel h3,
.panel h4,
.auth-form h1 {
  margin: 0;
  color: var(--text);
  font-weight: 760;
}

.page-heading h1 {
  font-size: 1.5rem;
}

.eyebrow {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.panel,
.auth-form,
.auth-aside,
.list-card,
.empty-state {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel {
  padding: 1rem;
  margin-bottom: 1rem;
}

.panel-heading {
  margin-bottom: 0.9rem;
}

.panel-heading h2 {
  font-size: 1rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.settings-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.settings-section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.45rem;
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.82rem;
}

.settings-section-title:first-of-type {
  margin-top: 0;
}

.settings-switch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.settings-status-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
}

.settings-status-card i {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #061014;
}

.settings-status-card.active i {
  background: linear-gradient(135deg, #34d399, var(--accent));
}

.settings-status-card.inactive i {
  background: linear-gradient(135deg, #fbbf24, #fde68a);
}

.settings-status-card strong,
.settings-status-card span {
  display: block;
}

.settings-status-card span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.delivery-error-details summary {
  cursor: pointer;
  color: var(--primary);
  font-weight: 800;
}

.delivery-error-details pre {
  max-width: 520px;
  max-height: 220px;
  overflow: auto;
  margin: 0.45rem 0 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem;
  color: var(--muted);
  white-space: pre-wrap;
  word-break: break-word;
  background: rgba(0, 0, 0, 0.22);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.kpi-card {
  min-height: 112px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.kpi-card span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.kpi-card strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
}

.kpi-card small {
  color: var(--muted);
}

.dashboard-stats-footer {
  margin-top: 1rem;
}

.stats-footer-toggle {
  display: none;
}

.dashboard-stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-bottom: 0;
  gap: 0.55rem;
}

.workspace-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

.workspace-module-card {
  display: flex;
  min-width: 0;
  gap: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

a.workspace-module-card:hover,
a.workspace-module-card:focus {
  color: var(--text);
  border-color: rgba(var(--ss-primary-rgb), 0.36);
  background: rgba(var(--ss-primary-rgb), 0.07);
  transform: translateY(-2px);
}

.workspace-module-card strong,
.workspace-module-card small {
  display: block;
}

.workspace-module-card small {
  color: var(--muted);
}

.workspace-module-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 10px;
  color: #061014;
}

.workspace-module-icon.icon-core {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.workspace-module-icon.icon-ticket {
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
}

.workspace-module-icon.icon-assets {
  background: linear-gradient(135deg, #34d399, #5eead4);
}

.workspace-module-icon.icon-modules {
  background: linear-gradient(135deg, #fbbf24, #fb7185);
}

.workspace-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.workspace-mini-grid span {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.5rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.workspace-mini-grid strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1;
}

.stats-footer-card {
  min-height: 74px;
  padding: 0.68rem 0.78rem;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.stats-footer-card span {
  font-size: 0.74rem;
}

.stats-footer-card strong {
  margin-top: 0.28rem;
  font-size: 1.45rem;
}

.stats-footer-card small {
  display: block;
  margin-top: 0.16rem;
  font-size: 0.76rem;
}

.table-shell {
  min-width: 0;
}

.table-scroll {
  width: 100%;
  max-height: clamp(320px, 58vh, 720px);
  overflow: auto;
  border-radius: var(--radius-sm);
  scrollbar-color: rgba(255, 255, 255, 0.36) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

.table-scroll::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.table-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.table-scroll::-webkit-scrollbar-thumb {
  border: 2px solid rgba(17, 19, 24, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.table-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--ss-primary-rgb), 0.58);
}

.data-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(4, minmax(150px, 0.22fr)) auto;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.requester-ticket-toolbar {
  grid-template-columns: minmax(220px, 1fr) auto;
}

.archive-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 760;
  white-space: nowrap;
}

.archive-toggle input {
  accent-color: var(--primary);
}

.remember-login {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.25rem 0 0.8rem;
  color: var(--muted-strong);
  cursor: pointer;
}

.remember-login input {
  margin-top: 0.2rem;
  accent-color: var(--primary);
}

.remember-login span {
  display: grid;
  gap: 0.12rem;
}

.remember-login strong {
  color: var(--text);
  font-size: 0.9rem;
}

.remember-login small {
  color: var(--muted);
  line-height: 1.35;
}

tr.is-archived,
.ticket-type-card.is-archived {
  opacity: 0.78;
}

.table-meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.table-columns-menu {
  position: relative;
  flex: 0 0 auto;
}

.table-columns-menu summary {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.75rem;
  padding: .55rem .8rem;
  border: 1px solid rgba(var(--ss-primary-rgb), .42);
  border-radius: 6px;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

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

.table-columns-list {
  position: absolute;
  z-index: 30;
  right: 0;
  top: calc(100% + .4rem);
  display: grid;
  gap: .35rem;
  min-width: 12rem;
  padding: .7rem;
  background: var(--panel-bg, #17171d);
  border: 1px solid rgba(var(--ss-primary-rgb), .35);
  border-radius: 6px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .32);
}

.table-columns-list label {
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  font-size: .9rem;
}

.table-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.table-pagination[hidden] {
  display: none;
}

.table-pagination button {
  min-width: 2.35rem;
  min-height: 2.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.68rem;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.table-pagination button:hover:not(:disabled),
.table-pagination button:focus:not(:disabled) {
  border-color: rgba(var(--ss-primary-rgb), 0.42);
  color: #ffffff;
  background: rgba(var(--ss-primary-rgb), 0.12);
}

.table-pagination button.active {
  border-color: rgba(var(--ss-primary-rgb), 0.68);
  color: #031014;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.table-pagination button:disabled {
  opacity: 0.46;
  cursor: not-allowed;
}

.app-table,
.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--text);
  --bs-table-border-color: var(--border);
  width: 100%;
  min-width: 860px;
  margin: 0;
  color: var(--text);
  vertical-align: middle;
}

.app-table th,
.table th {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: default;
}

.table-scroll .app-table thead th,
.table-scroll .table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(24, 26, 32, 0.98), rgba(17, 19, 24, 0.98));
  box-shadow: 0 1px 0 var(--border);
}

.app-table th[data-sort] {
  cursor: pointer;
}

.app-table td,
.table td {
  color: var(--text);
}

td small,
.muted,
.timeline-item span,
.compact-list span,
.module-list span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.asset-type-cell {
  width: 5.25rem;
  min-width: 5.25rem;
}

.asset-table-primary-link {
    color: inherit;
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
}

.asset-table-primary-link:hover {
    color: var(--bs-primary);
    text-decoration: underline;
}

.inventory-summary { cursor: pointer; }
.inventory-summary::marker { color: var(--bs-primary); }
.inventory-table-shell { max-height: 32rem; overflow: auto; }
.live-performance-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.notification-read-form { margin: 0; }
.notification-read-form .notification-item { width: 100%; border: 0; text-align: start; color: inherit; font: inherit; }

.agent-ticket-body { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; background: var(--app-bg, #0b0d12); }
.agent-ticket-card { width: min(42rem, 100%); padding: 2rem; border: 1px solid var(--app-border, #30343d); border-radius: 1.25rem; background: var(--app-panel, #17191f); }
.agent-ticket-card .form-label { display: block; margin-top: 1rem; width: 100%; }

.asset-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.78rem;
  color: #031014;
  font-size: 1.08rem;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24), 0 0 22px rgba(var(--ss-primary-rgb), 0.12);
}

.asset-type-icon img {
  display: block;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.22));
}

.asset-type-computer { background: linear-gradient(135deg, var(--ss-secondary), #60a5fa); }
.asset-type-laptop { background: linear-gradient(135deg, var(--ss-secondary), #818cf8); }
.asset-type-desktop { background: linear-gradient(135deg, #38bdf8, #60a5fa); }
.asset-type-aio { background: linear-gradient(135deg, #2dd4bf, #a7f3d0); }
.asset-type-cloud-vm { background: linear-gradient(135deg, #7dd3fc, #c084fc); }
.asset-type-local-vm { background: linear-gradient(135deg, #fbbf24, #fb7185); }
.asset-type-monitor { background: linear-gradient(135deg, #a78bfa, #60a5fa); }
.asset-type-printer { background: linear-gradient(135deg, #fbbf24, #fb7185); }
.asset-type-storage { background: linear-gradient(135deg, #34d399, var(--ss-primary)); }
.asset-type-peripheral { background: linear-gradient(135deg, #f0abfc, #818cf8); }
.asset-type-mobile { background: linear-gradient(135deg, #4ade80, var(--ss-primary)); }
.asset-type-software { background: linear-gradient(135deg, #c084fc, #f472b6); }
.asset-type-key { background: linear-gradient(135deg, #fde68a, #f59e0b); }
.asset-type-network { background: linear-gradient(135deg, #38bdf8, #2dd4bf); }
.asset-type-other { background: linear-gradient(135deg, #d4d4d8, #94a3b8); }

.asset-holder {
  display: block;
  max-width: 24rem;
  color: var(--text);
  font-weight: 800;
  line-height: 1.35;
}

.asset-holder.muted {
  color: var(--muted);
  font-weight: 700;
}

.ip-address-inline {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  max-width: 100%;
  line-height: 1.55;
}

.ipv6-disclosure {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.ipv6-disclosure summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border: 1px solid rgba(var(--ss-primary-rgb), 0.46);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(var(--ss-primary-rgb), 0.1);
  cursor: pointer;
  list-style: none;
}

.ipv6-disclosure summary::-webkit-details-marker {
  display: none;
}

.ipv6-disclosure[open] summary {
  color: #031014;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.ipv6-disclosure small {
  position: absolute;
  z-index: 12;
  top: calc(100% + 0.35rem);
  inset-inline-start: 0;
  display: block;
  width: min(32rem, 80vw);
  border: 1px solid var(--border-strong);
  border-radius: 0.7rem;
  padding: 0.65rem 0.75rem;
  color: var(--muted-strong);
  background: rgba(17, 19, 24, 0.98);
  box-shadow: var(--shadow);
  white-space: normal;
  word-break: break-word;
}

.badge-status,
.badge-priority,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  border-radius: 999px;
  padding: 0.16rem 0.58rem;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.badge-status {
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: rgba(96, 165, 250, 0.12);
  color: #bfdbfe;
}

.status-new { background: rgba(96, 165, 250, 0.14); color: #bfdbfe; border-color: rgba(96, 165, 250, 0.32); }
.status-active { background: rgba(52, 211, 153, 0.13); color: #bbf7d0; border-color: rgba(52, 211, 153, 0.33); }
.status-assigned { background: rgba(var(--ss-secondary-rgb), 0.14); color: #ddd6fe; border-color: rgba(var(--ss-secondary-rgb), 0.32); }
.status-in-progress { background: rgba(var(--ss-primary-rgb), 0.14); color: #cffafe; border-color: rgba(var(--ss-primary-rgb), 0.34); }
.status-waiting { background: rgba(245, 158, 11, 0.13); color: #fde68a; border-color: rgba(245, 158, 11, 0.33); }
.status-resolved { background: rgba(52, 211, 153, 0.13); color: #bbf7d0; border-color: rgba(52, 211, 153, 0.33); }
.status-closed { background: rgba(148, 163, 184, 0.13); color: #e2e8f0; border-color: rgba(148, 163, 184, 0.28); }
.status-archived { background: rgba(148, 163, 184, 0.13); color: #d4d4d8; border-color: rgba(148, 163, 184, 0.28); }
.status-rejected { background: rgba(248, 113, 113, 0.13); color: #fecaca; border-color: rgba(248, 113, 113, 0.33); }

.priority-low { background: rgba(52, 211, 153, 0.12); color: #bbf7d0; border: 1px solid rgba(52, 211, 153, 0.32); }
.priority-medium { background: rgba(96, 165, 250, 0.12); color: #bfdbfe; border: 1px solid rgba(96, 165, 250, 0.32); }
.priority-high { background: rgba(245, 158, 11, 0.12); color: #fde68a; border: 1px solid rgba(245, 158, 11, 0.32); }
.priority-critical { background: rgba(248, 113, 113, 0.13); color: #fecaca; border: 1px solid rgba(248, 113, 113, 0.34); }

.auth-shell {
  display: grid;
  grid-template-columns: minmax(320px, 440px) minmax(300px, 1fr);
  gap: 1rem;
  width: min(980px, calc(100% - 2rem));
  margin: 5rem auto;
}

.auth-shell.compact {
  grid-template-columns: minmax(320px, 440px);
  justify-content: center;
}

.auth-form,
.auth-aside {
  padding: 1.5rem;
}

.auth-form,
.stack-form,
.ticket-form {
  display: grid;
  gap: 0.75rem;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-aside p {
  color: var(--muted);
}

.code-input {
  font-size: 1.55rem;
  font-weight: 800;
  text-align: center;
}

.code-area {
  min-height: 520px;
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.55;
  resize: vertical;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.template-card {
  display: grid;
  min-height: 150px;
  align-content: start;
  gap: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.template-card:hover,
.template-card:focus {
  color: var(--text);
  border-color: rgba(var(--ss-primary-rgb), 0.45);
  background: rgba(var(--ss-primary-rgb), 0.08);
  transform: translateY(-1px);
}

.template-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #031014;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 1.05rem;
  font-weight: 900;
}

.template-excel { background: linear-gradient(135deg, #22c55e, #bbf7d0); }
.template-csv { background: linear-gradient(135deg, #38bdf8, #bae6fd); }
.template-json { background: linear-gradient(135deg, #f59e0b, #fde68a); }
.template-ai { background: linear-gradient(135deg, #a78bfa, #f0abfc); }

.template-card small {
  color: var(--muted);
  line-height: 1.45;
}

.prompt-box {
  max-height: 460px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  color: var(--muted-strong);
  background: rgba(0, 0, 0, 0.22);
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.inline-form,
.mini-form,
.mini-grid-form {
  display: grid;
  gap: 0.55rem;
  align-items: center;
}

.inline-form {
  grid-template-columns: repeat(3, minmax(180px, 1fr)) auto;
}

.inline-form.wide {
  grid-template-columns: repeat(5, minmax(150px, 1fr)) auto auto;
}

.mini-form {
  grid-template-columns: minmax(150px, 1fr) auto;
}

.mini-grid-form {
  grid-template-columns: minmax(130px, 1fr) minmax(110px, 0.6fr) minmax(130px, 0.8fr) auto auto;
}

.ticket-form {
  max-width: 820px;
}

.form-section {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.035);
}

.form-section-title {
  margin-bottom: 0.75rem;
  font-weight: 760;
}

.required-mark {
  color: var(--danger);
  font-weight: 900;
}

.readonly-field {
  display: grid;
  gap: 0.2rem;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.035);
}

.readonly-field strong {
  color: var(--text);
  font-weight: 800;
}

.readonly-field small {
  color: var(--muted);
  line-height: 1.45;
}

.checkline,
.option-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  color: var(--muted-strong);
  white-space: nowrap;
}

.grid-list {
  display: grid;
  gap: 1rem;
}

.grid-list.two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.list-card {
  padding: 1rem;
}

.compact-list,
.module-list,
.setup-list,
.timeline,
.activity-list {
  display: grid;
  gap: 0.65rem;
}

.ticket-type-list {
  display: grid;
  gap: 0.65rem;
  max-height: 640px;
  overflow: auto;
}

.team-row {
  transition: background 160ms ease, box-shadow 160ms ease;
}

.team-row.is-selected {
  background: rgba(var(--ss-primary-rgb), 0.08);
  box-shadow: inset 3px 0 0 var(--primary);
}

.team-select-link {
  color: #ffffff;
}

.team-select-link:hover,
.team-select-link:focus {
  color: var(--accent);
}

.ticket-type-card {
  display: grid;
  gap: 0.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.ticket-type-card:hover,
.ticket-type-card:focus,
.ticket-type-card.is-selected {
  color: #ffffff;
  border-color: rgba(var(--ss-primary-rgb), 0.38);
  background: rgba(var(--ss-primary-rgb), 0.08);
  transform: translateY(-2px);
}

.ticket-type-card span:not(.badge-status) {
  color: var(--muted);
  font-size: 0.84rem;
}

.ticket-type-select-form {
  grid-template-columns: minmax(260px, 460px) 1fr;
}

.searchable-select {
  position: relative;
}

.searchable-select-toggle {
  display: flex;
  align-items: center;
  min-height: 46px;
  text-align: left;
}

.searchable-select-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 30;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.55rem;
  background: #181a20;
  box-shadow: var(--shadow);
}

.searchable-select-search {
  position: relative;
  margin-bottom: 0.45rem;
}

.searchable-select-search i {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  color: var(--primary);
  transform: translateY(-50%);
}

.searchable-select-search .form-control {
  min-height: 40px;
  padding-left: 2.25rem;
}

.searchable-select-options {
  display: grid;
  max-height: 320px;
  overflow: auto;
}

.searchable-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0;
  border-radius: 6px;
  padding: 0.62rem 0.7rem;
  color: var(--text);
  text-align: left;
  background: transparent;
}

.searchable-select-option:hover,
.searchable-select-option:focus,
.searchable-select-option.is-selected {
  color: #ffffff;
  background: rgba(var(--ss-primary-rgb), 0.12);
}

.searchable-select-option[hidden] {
  display: none;
}

.searchable-select-option small {
  color: var(--muted);
  white-space: nowrap;
}

.empty-state.compact {
  padding: 0.7rem 0.85rem;
}

.ticketing-master-detail .app-table {
  min-width: 0;
}

.ticketing-master-detail .app-table th,
.ticketing-master-detail .app-table td {
  white-space: normal;
}

.ticketing-master-detail .app-table th:first-child,
.ticketing-master-detail .app-table td:first-child {
  width: 170px;
  white-space: nowrap;
}

.selected-ticket-panel {
  min-height: 260px;
}

.ticket-queue-panel + .ticket-queue-panel {
  margin-top: 1rem;
}

.asset-form-top-actions {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(17, 19, 24, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.asset-form-top-actions strong,
.asset-form-top-actions small {
  display: block;
}

.asset-form-top-actions small {
  color: var(--muted);
}

.rich-note-editor {
  display: grid;
  gap: 0.45rem;
}

.rich-note-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.rich-note-toolbar button {
  display: inline-grid;
  width: 34px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.045);
}

.rich-note-toolbar button:hover {
  color: var(--text);
  border-color: rgba(var(--ss-primary-rgb), 0.28);
  background: rgba(var(--ss-primary-rgb), 0.1);
}

.rich-note-editor textarea {
  min-height: 108px;
}

.rich-note-editor.rich-note-expanded textarea {
  min-height: min(48vh, 420px);
}

.rich-note-help {
  color: var(--muted);
  font-size: 0.78rem;
}

.mention-menu {
  display: grid;
  gap: 0.25rem;
  max-height: 230px;
  overflow: auto;
  border: 1px solid rgba(var(--ss-primary-rgb), 0.24);
  border-radius: 10px;
  padding: 0.35rem;
  background: rgba(17, 19, 24, 0.98);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.mention-menu[hidden] {
  display: none;
}

.mention-option {
  display: grid;
  gap: 0.1rem;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  color: var(--text);
  text-align: start;
  background: transparent;
}

.mention-option:hover,
.mention-option:focus-visible {
  border-color: rgba(var(--ss-primary-rgb), 0.34);
  background: rgba(var(--ss-primary-rgb), 0.12);
}

.mention-option small {
  color: var(--muted);
}

.code-block {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem;
  color: #dbeafe;
  background: rgba(3, 7, 18, 0.68);
  font-size: 0.86rem;
  line-height: 1.55;
}

.compact-toolbar {
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 0.22fr) auto;
}

.chip-list.compact {
  gap: 0.25rem;
}

.chip-list.compact .chip {
  padding: 0.22rem 0.45rem;
  font-size: 0.72rem;
}

.compact-list div,
.module-list div,
.form-version,
.timeline-item,
.activity-item,
.empty-state {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.035);
}

.action-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.domain-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  background: rgba(255, 255, 255, 0.04);
}

.module-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-width: 140px;
}

.module-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.12rem 0.52rem;
  color: #dbeafe;
  font-size: 0.76rem;
  font-weight: 820;
  background: rgba(96, 165, 250, 0.12);
  white-space: nowrap;
}

.module-chip.module-core {
  color: #cffafe;
  border-color: rgba(var(--ss-primary-rgb), 0.28);
  background: rgba(var(--ss-primary-rgb), 0.12);
}

.module-chip.module-ticketing {
  color: #ddd6fe;
  border-color: rgba(var(--ss-secondary-rgb), 0.3);
  background: rgba(var(--ss-secondary-rgb), 0.13);
}

.module-chip.module-assets {
  color: #bbf7d0;
  border-color: rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.12);
}

.integration-card {
  display: grid;
  gap: 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.035);
}

.integration-card-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.integration-card-main i {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 10px;
  color: #031316;
}

.integration-card-main strong {
  display: block;
  color: var(--text);
}

.integration-card-main small {
  display: block;
  color: var(--muted);
}

/* Keep token history readable without turning each token into a large card. */
.scanner-token-list {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.scanner-token-list .integration-card {
  grid-template-columns: minmax(13rem, 1fr) minmax(17rem, 1.35fr);
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}

.scanner-token-list .integration-card:last-child {
  border-bottom: 0;
}

.scanner-token-list .integration-card-main i {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  border-radius: 8px;
  font-size: 0.8rem;
}

.scanner-token-list .integration-card-main small {
  font-size: 0.74rem;
}

.scanner-token-list .integration-card > .muted {
  margin: 0;
  font-size: 0.75rem;
  text-align: right;
}

@media (max-width: 700px) {
  .scanner-token-list .integration-card {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .scanner-token-list .integration-card > .muted {
    text-align: left;
  }
}

.mono-input {
  font-family: "Cascadia Mono", Consolas, "Courier New", monospace;
  font-size: 0.86rem;
}

.module-shell {
  display: grid;
  gap: 1rem;
}

.module-hero {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(var(--ss-primary-rgb), 0.18);
  border-radius: var(--radius);
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(var(--ss-primary-rgb), 0.12), transparent 40%),
    rgba(255, 255, 255, 0.035);
}

.module-hero h2,
.module-hero p {
  margin: 0;
}

.module-hero p {
  margin-top: 0.35rem;
  color: var(--muted);
}

.module-hero-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 12px;
  color: #031014;
  background: linear-gradient(135deg, var(--ss-primary), #5eead4);
  box-shadow: var(--glow);
  font-size: 1.35rem;
}

.module-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.module-info-grid > div {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.035);
}

.module-info-grid span,
.module-info-grid strong {
  display: block;
}

.module-info-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.module-info-grid strong {
  margin-top: 0.25rem;
  overflow-wrap: anywhere;
}

.readonly-permissions .permission-option {
  align-items: center;
}

.readonly-permissions .permission-option i {
  color: var(--success);
  margin-top: 0.1rem;
}

.domain-chip span,
.domain-chip small {
  display: inline;
}

.domain-chip small {
  color: var(--muted);
}

.company-preview,
.domain-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.035);
}

.company-preview {
  justify-content: flex-start;
}

.theme-color-input {
  width: 100%;
  min-height: 42px;
  padding: 0.35rem;
  cursor: pointer;
}

.company-registry-cell,
.select-company-card,
.company-info-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.company-registry-cell > div,
.select-company-card > div,
.company-info-card > div {
  min-width: 0;
}

.company-logo-mark,
.company-info-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid var(--border);
  border-radius: 9px;
  object-fit: contain;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.94);
}

.company-logo-mark.large {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
}

.company-info-logo {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
}

.company-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #031014;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 900;
  padding: 0;
  box-shadow: 0 0 24px rgba(var(--ss-primary-rgb), 0.18);
}

.select-company-card {
  margin-bottom: 1rem;
}

.select-company-card h2 {
  margin: 0;
}

.select-company-card p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.company-info-card {
  justify-content: flex-start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.035);
}

.company-info-card .badge-status {
  margin-left: auto;
}

.company-preview img {
  width: 54px;
  height: 54px;
  border: 1px solid var(--border);
  border-radius: 8px;
  object-fit: contain;
  padding: 0.3rem;
  background: rgba(255, 255, 255, 0.94);
}

.company-preview strong,
.company-preview small,
.domain-card strong,
.domain-card small {
  display: block;
}

.company-preview small,
.domain-card small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.requester-company-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(var(--ss-primary-rgb), 0.18);
  border-radius: var(--radius);
  padding: 0.85rem;
  margin-bottom: 1rem;
  background:
    linear-gradient(135deg, rgba(var(--ss-primary-rgb), 0.08), transparent),
    rgba(255, 255, 255, 0.035);
}

.requester-company-card .company-preview {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.company-contact-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: rgba(var(--ss-primary-rgb), 0.1);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
}

.icon-action:hover,
.icon-action:focus {
  border-color: rgba(var(--ss-primary-rgb), 0.45);
  background: rgba(var(--ss-primary-rgb), 0.16);
  color: #cffafe;
}

.icon-action.action-edit,
.icon-action.action-view {
  color: #93c5fd;
  background: rgba(96, 165, 250, 0.12);
}

.icon-action.action-add,
.icon-action.action-assign {
  color: #86efac;
  background: rgba(52, 211, 153, 0.12);
}

.icon-action.action-permissions {
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.12);
}

.icon-action.action-warning {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
}

.icon-action.action-success {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
}

.icon-action.danger {
  color: var(--danger);
  background: rgba(248, 113, 113, 0.1);
}

.setup-item {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.setup-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.setup-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.6fr);
  gap: 1rem;
}

.field-list,
.permission-list,
.stage-row,
.option-row,
.role-permission-grid {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.field-list span,
.permission-list span,
.stage-row span,
.role-permission-grid label {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
}

.permission-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.assignment-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.assignment-check-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.assignment-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 0.55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.assignment-check input {
  margin-top: 0.2rem;
  accent-color: var(--primary);
}

.assignment-check strong,
.assignment-check small {
  display: block;
}

.assignment-check strong {
  color: var(--text);
  line-height: 1.2;
}

.assignment-check small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}

.assignment-type-tree {
  display: grid;
  gap: 0.75rem;
  max-height: 360px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.025);
}

.assignment-type-group {
  display: grid;
  gap: 0.5rem;
}

.assignment-type-group h6 {
  margin: 0;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
}

.assignment-type-list {
  display: grid;
  gap: 0.55rem;
}

.assignment-type-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.035);
}

.assignment-type-card strong,
.assignment-type-card small {
  display: block;
}

.assignment-type-card strong {
  color: var(--text);
  line-height: 1.2;
}

.assignment-type-card small {
  color: var(--muted);
  font-size: 0.75rem;
}

.permission-mini-check {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
  cursor: pointer;
}

.permission-mini-check input {
  accent-color: var(--primary);
}

.permission-mini-check:has(input:checked) {
  border-color: rgba(var(--ss-primary-rgb), 0.36);
  background: rgba(var(--ss-primary-rgb), 0.12);
  color: var(--text);
}

.permission-module-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.035);
}

.permission-module-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.permission-module-heading small {
  color: var(--muted);
  font-weight: 700;
}

.module-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(var(--ss-primary-rgb), 0.28);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  color: var(--primary);
  background: rgba(var(--ss-primary-rgb), 0.09);
  font-weight: 900;
}

.permission-category {
  border-top: 1px solid var(--border);
  padding-top: 0.8rem;
  margin-top: 0.8rem;
}

.permission-category:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.permission-category h3 {
  margin: 0 0 0.55rem;
  color: var(--muted-strong);
  font-size: 0.9rem;
}

.permission-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.permission-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  min-height: 62px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.permission-option:hover,
.permission-option:focus-within {
  border-color: rgba(var(--ss-primary-rgb), 0.34);
  background: rgba(var(--ss-primary-rgb), 0.07);
  transform: translateY(-1px);
}

.permission-option input {
  margin-top: 0.15rem;
  accent-color: var(--primary);
}

.permission-option strong,
.permission-option small {
  display: block;
}

.permission-option strong {
  color: var(--text);
  line-height: 1.2;
}

.permission-option small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}

.compact-permission-tree {
  gap: 0.75rem;
}

.compact-permission-tree .permission-module-card {
  padding: 0.85rem;
}

.compact-permission-tree .permission-check-list {
  grid-template-columns: 1fr;
}

.compact-permission-tree .permission-option {
  min-height: 0;
  padding: 0.55rem;
}

.role-permission-groups {
  display: grid;
  gap: 0.65rem;
}

.role-permission-groups > div {
  min-width: 0;
}

.role-permission-groups strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted-strong);
  font-size: 0.82rem;
}

.field-usage {
  margin-left: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.stage-tracker {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  overflow: visible;
  margin: 0.75rem 0 1rem;
}

.stage-step {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 128px;
  min-width: 118px;
  max-width: 174px;
  min-height: 38px;
  padding: 0.42rem 1.1rem 0.42rem 0.82rem;
  color: var(--muted-strong);
  background: #1b1f28;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: normal;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%);
  margin-left: -8px;
}

.stage-step:first-child,
.stage-step.is-first {
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
  margin-left: 0;
}

button.stage-step {
  border: 0;
  outline: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.stage-step.is-clickable {
  box-shadow: inset 0 0 0 1px rgba(var(--ss-primary-rgb), 0.12);
}

.stage-step.is-clickable:hover,
.stage-step.is-clickable:focus {
  color: #031014;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  box-shadow: 0 0 28px rgba(var(--ss-primary-rgb), 0.2);
}

.stage-step.is-disabled {
  opacity: 0.72;
}

.stage-step.is-active,
.stage-step.is-done {
  color: #031014;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.stage-step.is-done {
  background: linear-gradient(90deg, #34d399, var(--primary));
}

.sla-indicator {
  border-left: 4px solid var(--success);
  padding: 0.7rem 0.85rem;
  color: #dcfce7;
  background: rgba(52, 211, 153, 0.09);
  border-radius: 8px;
}

.sla-indicator.warning {
  border-left-color: var(--warning);
  color: #fef3c7;
  background: rgba(245, 158, 11, 0.1);
}

.detail-grid {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 0.55rem 1rem;
  margin: 0;
}

.detail-grid dt {
  color: var(--muted);
  font-weight: 800;
}

.detail-grid dd {
  margin: 0;
}

.detail-action-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.attachment-list,
.attachment-card {
  display: grid;
  gap: 0.75rem;
}

.attachment-card {
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.035);
}

.attachment-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: #031014;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 900;
}

button.attachment-thumb {
  cursor: pointer;
}

.attachment-thumb:hover,
.attachment-thumb:focus {
  outline: 2px solid rgba(var(--ss-primary-rgb), 0.55);
  outline-offset: 2px;
}

.attachment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.attachment-thumb.pdf {
  background: linear-gradient(135deg, #f87171, #fbbf24);
}

.attachment-thumb.file {
  background: linear-gradient(135deg, #a1a1aa, #ffffff);
}

.attachment-meta {
  display: grid;
  min-width: 0;
  gap: 0.35rem;
}

.attachment-meta strong,
.attachment-meta span {
  overflow-wrap: anywhere;
}

.attachment-meta span {
  color: var(--muted);
  font-size: 0.86rem;
}

.attachment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.attachment-preview-modal .modal-body {
  min-height: min(72vh, 720px);
  background: rgba(0, 0, 0, 0.2);
}

.attachment-preview-image {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.attachment-preview-frame {
  width: 100%;
  min-height: 72vh;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
}

.timeline-item.internal {
  border-color: rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.08);
}

.timeline-item-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.timeline-body {
  margin-top: 0.55rem;
  color: var(--text);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.timeline-body p,
.timeline-body ul,
.timeline-body ol {
  margin: 0.35rem 0;
}

.timeline-body a {
  font-weight: 800;
}

.note-attachments-input {
  color: var(--muted-strong);
}

.compact-attachments {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.55rem;
}

.compact-attachments .attachment-card {
  padding: 0.55rem;
}

.chatter-composer {
  display: grid;
  gap: 0.7rem;
  border: 1px solid rgba(var(--ss-primary-rgb), 0.18);
  border-radius: 8px;
  padding: 0.85rem;
  margin-bottom: 1rem;
  background:
    linear-gradient(135deg, rgba(var(--ss-primary-rgb), 0.07), transparent),
    rgba(255, 255, 255, 0.035);
}

.chatter-composer textarea {
  min-height: 96px;
  resize: vertical;
}

.chatter-composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.status-in-store {
  background: rgba(96, 165, 250, 0.14);
  color: #bfdbfe;
  border-color: rgba(96, 165, 250, 0.32);
}

.status-in-use {
  background: rgba(52, 211, 153, 0.13);
  color: #bbf7d0;
  border-color: rgba(52, 211, 153, 0.33);
}

.status-in-repair {
  background: rgba(245, 158, 11, 0.13);
  color: #fde68a;
  border-color: rgba(245, 158, 11, 0.33);
}

.status-retired {
  background: rgba(148, 163, 184, 0.13);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.28);
}

.asset-toolbar {
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 0.22fr) minmax(150px, 0.22fr) auto;
}

.asset-status-panel {
  display: grid;
  gap: 1rem;
}

.asset-status-tracker .stage-step {
  max-width: 210px;
}

.asset-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 1rem;
  align-items: start;
}

.asset-identity {
  display: grid;
  grid-template-columns: minmax(170px, 230px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.asset-custody-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.035);
}

.asset-image-box {
  min-width: 0;
}

.asset-image-box .attachment-card {
  grid-template-columns: 1fr;
}

.asset-image-box .attachment-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}

.asset-image-placeholder {
  display: grid;
  min-height: 170px;
  place-items: center;
  gap: 0.5rem;
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}

.asset-image-placeholder i {
  color: var(--primary);
  font-size: 2rem;
}

.asset-placeholder-icon {
  display: block;
  width: min(5.5rem, 46%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(var(--ss-primary-rgb), 0.16));
}

.asset-content-grid {
  align-items: start;
}

.asset-single-grid {
  grid-template-columns: 1fr;
}

.asset-action-card {
  border: 1px solid rgba(var(--ss-primary-rgb), 0.16);
  border-radius: 10px;
  padding: 0.85rem;
  margin-top: 0.85rem;
  background:
    linear-gradient(135deg, rgba(var(--ss-primary-rgb), 0.055), transparent),
    rgba(255, 255, 255, 0.03);
}

.asset-action-card strong {
  color: var(--text);
}

.asset-form-section {
  display: grid;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.025);
}

.asset-form-section[hidden] {
  display: none;
}

.asset-form-section-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.asset-form-section-heading i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #031014;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 22px rgba(var(--ss-primary-rgb), 0.16);
}

.asset-form-section-heading h2 {
  margin: 0;
  font-size: 1rem;
}

.asset-form-section-heading p {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.asset-component-editor {
  display: grid;
  gap: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.025);
}

.asset-component-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.asset-component-heading strong {
  display: block;
  color: var(--text);
}

.asset-component-rows {
  display: grid;
  gap: 0.55rem;
}

.asset-component-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.2fr auto;
  gap: 0.55rem;
  align-items: center;
}

.asset-component-row-ram {
  grid-template-columns: 1fr 0.9fr 0.9fr 1fr 1.15fr auto;
}

.asset-component-row .btn-icon {
  width: 42px;
  height: 42px;
}

.asset-multi-value-list {
  display: grid;
  gap: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 0.78rem;
  background:
    linear-gradient(135deg, rgba(var(--ss-primary-rgb), 0.045), transparent),
    rgba(255, 255, 255, 0.025);
}

.asset-multi-value-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.asset-multi-value-heading strong,
.asset-multi-value-heading span {
  display: block;
}

.asset-multi-value-heading strong {
  color: var(--text);
}

.asset-multi-value-heading span {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  line-height: 1.35;
}

.asset-multi-value-rows {
  display: grid;
  gap: 0.5rem;
}

.asset-multi-value-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 0.5rem;
  align-items: center;
}

.asset-multi-value-row .btn-icon {
  width: 42px;
  height: 42px;
}

.asset-catalog-modal {
  display: grid;
  gap: 0.8rem;
}

.asset-catalog-card {
  display: grid;
  gap: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.035);
}

.asset-catalog-card strong {
  display: block;
  color: var(--text);
}

.asset-control-summary,
.asset-movement-current,
.asset-lifecycle-group {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.asset-control-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.9rem;
}

.asset-control-summary strong,
.asset-lifecycle-group strong {
  display: block;
  color: var(--text);
}

.asset-movement-current {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0.85rem;
}

.asset-movement-current span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.asset-movement-current strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--text);
}

.asset-lifecycle-group {
  display: grid;
  gap: 0.7rem;
  padding: 0.85rem;
}

.asset-lifecycle-group[hidden] {
  display: none;
}

.asset-mini-table {
  min-width: 660px;
}

.asset-mini-table form {
  margin: 0;
}

.linked-asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.7rem;
}

.linked-asset-card {
  display: grid;
  gap: 0.24rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
}

.linked-asset-card:hover,
.linked-asset-card:focus {
  border-color: rgba(var(--ss-primary-rgb), 0.42);
  color: var(--text);
  box-shadow: 0 0 24px rgba(var(--ss-primary-rgb), 0.12);
}

.linked-asset-card i,
.linked-asset-card span {
  color: var(--primary);
}

.linked-asset-icon {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(var(--ss-primary-rgb), 0.14));
}

.linked-asset-card small {
  color: var(--muted);
}

.compact-select {
  width: min(210px, 100%);
}

.audit-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.empty-state {
  color: var(--muted);
  text-align: center;
}

.btn {
  border-radius: 8px;
  font-weight: 760;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-primary {
  border-color: var(--primary);
  color: #031014;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 28px rgba(var(--ss-primary-rgb), 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: var(--accent);
  color: #031014;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.btn-outline-primary {
  color: #cffafe;
  border-color: rgba(var(--ss-primary-rgb), 0.5);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #031014;
  border-color: var(--primary);
  background: var(--primary);
}

.btn-outline-secondary,
.btn-outline-light {
  color: var(--muted-strong);
  border-color: var(--border-strong);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-light:hover,
.btn-outline-light:focus {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.09);
}

.btn-outline-danger {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.45);
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
  color: #ffffff;
  border-color: var(--danger);
  background: rgba(248, 113, 113, 0.14);
}

.btn-danger {
  color: #ffffff;
  border-color: rgba(248, 113, 113, 0.72);
  background: linear-gradient(135deg, #ef4444, #fb7185);
  box-shadow: 0 14px 28px rgba(248, 113, 113, 0.18);
}

.btn-danger:hover,
.btn-danger:focus {
  border-color: #fecaca;
  background: linear-gradient(135deg, #dc2626, #f43f5e);
}

label {
  color: var(--muted-strong);
  font-weight: 650;
}

.form-control,
.form-select {
  border-color: var(--border-strong);
  border-radius: 7px;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.045);
}

.form-control::placeholder {
  color: #71717a;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.065);
  box-shadow: 0 0 0 0.18rem rgba(var(--ss-primary-rgb), 0.14);
}

.form-select option {
  color: #111318;
  background: #ffffff;
}

.alert {
  border-radius: var(--radius);
  border-color: var(--border);
}

.modal-content {
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: #111318;
  box-shadow: var(--shadow);
}

.modal-header,
.modal-footer {
  border-color: var(--border);
}

.modal-title {
  color: #ffffff;
  font-weight: 760;
}

.modal-eyebrow {
  display: block;
  color: var(--danger);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.system-confirm-modal .modal-dialog {
  max-width: 460px;
}

.system-confirm-modal .modal-content {
  border-color: rgba(248, 113, 113, 0.28);
  box-shadow: var(--shadow), 0 0 44px rgba(248, 113, 113, 0.14);
}

.system-confirm-message {
  color: var(--muted-strong);
  font-size: 1rem;
  line-height: 1.6;
}

.page-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 1rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background:
    radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 34%),
    rgba(5, 5, 5, 0.68);
  backdrop-filter: blur(10px);
  transition: opacity 0.16s ease, visibility 0.16s ease;
}

.is-page-loading .page-loading-overlay {
  pointer-events: all;
  opacity: 1;
  visibility: visible;
}

.page-loading-card {
  display: inline-flex;
  min-width: min(280px, 92vw);
  align-items: center;
  gap: 0.9rem;
  border: 1px solid color-mix(in srgb, var(--primary) 34%, var(--border));
  border-radius: 18px;
  padding: 1rem 1.15rem;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035)),
    rgba(17, 19, 24, 0.94);
  box-shadow: var(--shadow), 0 0 42px color-mix(in srgb, var(--primary) 18%, transparent);
}

.page-loading-spinner {
  display: inline-grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  color: #031013;
  padding: 0.45rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.84));
  box-shadow: 0 0 24px color-mix(in srgb, var(--primary) 22%, transparent);
  animation: salman-logo-pulse 1.25s ease-in-out infinite;
}

.page-loading-logo-mark {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-loading-logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.42;
}

.page-loading-logo-fill {
  position: absolute;
  inset: -30%;
  background:
    linear-gradient(115deg,
      transparent 0%,
      transparent 32%,
      var(--primary) 43%,
      #ffffff 50%,
      var(--accent) 57%,
      transparent 68%,
      transparent 100%);
  mask: url("/images/system/salman-system-logo.png") center / contain no-repeat;
  -webkit-mask: url("/images/system/salman-system-logo.png") center / contain no-repeat;
  animation: salman-logo-sweep 1.35s ease-in-out infinite;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--primary) 55%, transparent));
}

@keyframes salman-logo-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.88;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes salman-logo-sweep {
  0% {
    transform: translateX(-52%) translateY(10%);
    opacity: 0.55;
  }

  45%,
  55% {
    opacity: 1;
  }

  100% {
    transform: translateX(52%) translateY(-10%);
    opacity: 0.62;
  }
}

.page-loading-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.page-loading-copy strong {
  font-size: 1.05rem;
  font-weight: 850;
}

.page-loading-copy small {
  color: var(--muted);
  font-size: 0.88rem;
}

.btn-close {
  filter: invert(1) grayscale(1);
  opacity: 0.8;
}

.modal-backdrop.show {
  opacity: 0.78;
}

@keyframes floatPanel {
  0%,
  100% {
    transform: rotateX(58deg) rotateZ(-35deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotateX(58deg) rotateZ(-35deg) translate3d(0, -10px, 12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .page-loading-spinner {
    animation: none !important;
  }

  .page-loading-logo-fill {
    animation: none !important;
  }
}

@media print {
  @page {
    size: A4;
    margin: 14mm;
  }

  html,
  body {
    min-height: auto;
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 11pt;
  }

  .app-shell,
  .app-main,
  .page-shell {
    display: block !important;
    min-height: auto !important;
    padding: 0 !important;
    background: #ffffff !important;
  }

  .app-sidebar,
  .app-header,
  .marketing-nav,
  .no-print,
  .modal,
  .modal-backdrop,
  .alert,
  .btn,
  .page-heading .action-row {
    display: none !important;
  }

  .page-heading,
  .content-grid {
    display: block !important;
  }

  .page-heading {
    border-bottom: 2px solid #111827;
    padding-bottom: 8mm;
    margin-bottom: 6mm;
  }

  .page-heading h1 {
    color: #111827 !important;
    font-size: 22pt;
  }

  .eyebrow,
  .muted,
  .timeline-item span,
  .detail-grid dt {
    color: #374151 !important;
  }

  .panel {
    break-inside: avoid;
    border: 1px solid #d1d5db !important;
    box-shadow: none !important;
    background: #ffffff !important;
    color: #111827 !important;
    margin-bottom: 6mm;
    padding: 5mm;
  }

  .panel-heading {
    display: block !important;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 3mm;
    margin-bottom: 4mm;
  }

  .panel h2,
  .panel h3,
  .panel h4,
  .detail-grid dd,
  .timeline-item strong,
  .timeline-item p {
    color: #111827 !important;
  }

  .detail-grid {
    grid-template-columns: 42mm minmax(0, 1fr);
  }

  .stage-tracker {
    overflow: visible;
    break-inside: avoid;
  }

  .stage-step {
    clip-path: none !important;
    margin-left: 0 !important;
    min-width: auto;
    border: 1px solid #d1d5db;
    color: #111827 !important;
    background: #f3f4f6 !important;
  }

  .stage-step.is-active,
  .stage-step.is-done {
    background: #dbeafe !important;
  }

  .badge-status,
  .badge-priority,
  .sla-indicator,
  .timeline-item,
  .attachment-card {
    border-color: #d1d5db !important;
    color: #111827 !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  .timeline {
    gap: 3mm;
  }

  .timeline-item {
    break-inside: avoid;
  }
}

@media (max-width: 1400px) {
  .marketing-nav {
    grid-template-columns: 1fr;
  }

  .marketing-links,
  .marketing-actions {
    justify-content: flex-start;
  }

  .hero-grid,
  .split-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-visual {
    min-height: 380px;
  }

  .metric-grid,
  .service-grid,
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 60;
    width: min(82vw, 320px);
    height: 100dvh;
    transform: translateX(-105%);
    transition: transform 220ms ease;
    box-shadow: 28px 0 48px rgba(0, 0, 0, 0.38);
  }

  .side-nav {
    grid-template-columns: 1fr;
    overflow: auto;
    padding-bottom: 1rem;
  }

  .mobile-sidebar-close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted-strong);
    background: rgba(255, 255, 255, 0.055);
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--primary);
    background: rgba(var(--ss-primary-rgb), 0.1);
  }

  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    border: 0;
    background: rgba(0, 0, 0, 0.56);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  body.sidebar-open {
    overflow: hidden;
  }

  body.sidebar-open .app-sidebar {
    transform: translateX(0);
  }

  body.sidebar-open .sidebar-backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .app-header {
    align-items: center;
    flex-direction: row;
    min-height: 64px;
    padding: 0.6rem 0.8rem;
    transition: transform 220ms ease, opacity 180ms ease;
  }

  body.mobile-header-hidden:not(.sidebar-open) .app-header {
    transform: translateY(-105%);
    opacity: 0;
    pointer-events: none;
  }

  .app-header-title {
    min-width: 0;
  }

  .app-header-title > div {
    min-width: 0;
  }

  .app-header h1 {
    max-width: 44vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.05rem;
  }

  .breadcrumbs {
    display: none;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 0.45rem;
  }

  .current-company-menu {
    max-width: 40vw;
    min-height: 38px;
    padding: 0.25rem;
    gap: 0.35rem;
  }

  .current-company-logo {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .company-switcher {
    min-width: 0;
    max-width: 28vw;
    height: 30px;
    font-size: 0.82rem;
  }

  .current-company-name {
    max-width: 28vw;
  }

  .current-company-name small {
    display: none;
  }

  .header-actions .global-search {
    display: none;
  }

  .header-actions .btn {
    display: none;
  }

  .user-menu {
    min-width: 0;
    max-width: 34vw;
  }

  .user-menu span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .user-menu small {
    display: none;
  }

  .page-heading,
  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .global-search {
    min-width: min(100%, 360px);
  }

  .content-grid,
  .setup-columns,
  .assignment-check-grid,
  .assignment-check-grid.compact,
  .module-info-grid,
  .permission-module-grid,
  .asset-overview-grid,
  .asset-identity,
  .auth-shell,
  .template-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .data-toolbar,
  .asset-toolbar,
  .inline-form,
  .inline-form.wide,
  .mini-grid-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .simple-help-site .simple-help-main {
    align-items: center;
    padding: 1rem;
  }

  .simple-help-card {
    width: min(100%, 23rem);
    padding: 2.35rem 1.85rem 2rem;
    border-radius: 16px;
  }

  .simple-help-input-row {
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 0.55rem;
  }

  .simple-help-card .simple-help-icon-submit {
    width: 48px;
    min-height: 48px;
  }

  .simple-help-title h1 {
    font-size: 2rem;
  }

  .simple-help-title p {
    font-size: 1.75rem;
  }

  .simple-help-card button {
    margin-top: 1.35rem;
  }

  .simple-help-language {
    top: 0.75rem;
    inset-inline-end: 0.75rem;
  }

  .asset-control-summary,
  .asset-movement-current {
    grid-template-columns: 1fr;
  }

  .asset-control-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .asset-component-heading,
  .asset-component-row,
  .asset-multi-value-heading,
  .asset-multi-value-row {
    grid-template-columns: 1fr;
  }

  .asset-component-heading,
  .asset-multi-value-heading {
    display: grid;
    align-items: stretch;
  }

  .asset-component-row .btn-icon,
  .asset-multi-value-row .btn-icon {
    width: 100%;
  }

  .assignment-type-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .permission-mini-check {
    justify-content: center;
  }

  .marketing-nav,
  .hero-section,
  .section {
    width: min(100% - 1rem, 1180px);
  }

  .marketing-nav {
    gap: 0.55rem;
    min-height: auto;
    padding: 0.65rem 0;
  }

  .marketing-brand {
    min-height: 44px;
  }

  .marketing-brand small {
    display: none;
  }

  .marketing-actions .btn {
    min-height: 34px;
    padding: 0.35rem 0.55rem;
    font-size: 0.86rem;
  }

  .marketing-links {
    display: none;
  }

  .marketing-actions,
  .hero-actions,
  .cta-band,
  .requester-company-card {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-section {
    padding: 1.6rem 0 1.3rem;
  }

  .hero-copy h1 {
    font-size: 2.15rem;
  }

  .hero-copy p {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .hero-visual {
    display: none;
  }

  .trust-row span,
  .contact-points span {
    min-height: 30px;
    padding: 0.28rem 0.58rem;
  }

  .metric-grid,
  .service-grid,
  .reason-grid,
  .tech-grid,
  .industry-grid,
  .permission-check-list,
  .form-grid.two,
  .form-row.two-column {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 1.2rem;
  }

  .page-shell {
    padding: 0.75rem;
  }

  .notification-panel {
    position: fixed;
    top: 76px;
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
  }

  .asset-form-top-actions {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }

  .side-nav,
  .dashboard-grid,
  .grid-list.two-cols,
  .ticket-type-select-form {
    grid-template-columns: 1fr;
  }

  .app-table {
    min-width: 760px;
  }

  .table-scroll {
    max-height: 62vh;
  }

  .table-pagination {
    justify-content: stretch;
  }

  .table-pagination button {
    flex: 1 1 auto;
  }

  .asset-mini-table {
    min-width: 620px;
  }

  .asset-status-tracker .stage-step {
    flex-basis: calc(50% + 8px);
    max-width: none;
    min-width: 120px;
    font-size: 0.82rem;
  }

  .asset-image-box .attachment-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .asset-image-box .attachment-thumb {
    width: 70px;
    height: 70px;
    aspect-ratio: auto;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-stats-footer {
    margin-top: 0.75rem;
  }

  .stats-footer-toggle {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.7rem 0.85rem;
    color: var(--text);
    background: linear-gradient(135deg, rgba(var(--ss-primary-rgb), 0.12), rgba(255, 255, 255, 0.035));
    box-shadow: var(--shadow);
  }

  .stats-footer-toggle span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-weight: 800;
  }

  .stats-footer-toggle i {
    color: var(--accent);
  }

  .stats-footer-toggle strong {
    color: var(--text);
    font-size: 1.25rem;
  }

  .dashboard-stats-footer .dashboard-stats-grid {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.55rem;
  }

  .dashboard-stats-footer.stats-open .dashboard-stats-grid {
    display: grid;
  }

  .stats-footer-card {
    min-height: 64px;
    padding: 0.62rem;
  }

  .stats-footer-card strong {
    font-size: 1.25rem;
  }
}

@media (max-width: 420px) {
  .dashboard-stats-footer .dashboard-stats-grid {
    grid-template-columns: 1fr;
  }
}
.agent-installed-indicator,
.agent-not-installed {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .55rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}

.agent-installed-indicator { color: #087f5b; background: #e6fcf5; border: 1px solid #96f2d7; }
.agent-not-installed { color: #868e96; background: #f1f3f5; border: 1px solid #dee2e6; }
.agent-result-json { max-width: 44rem; max-height: 20rem; overflow: auto; white-space: pre-wrap; font-size: .78rem; }
.agent-command-panel .agent-command-form + .agent-command-form { border-top: 1px solid var(--border-color, #dee2e6); padding-top: 1.25rem; }

/* SalmanSystem 2026 design foundation */
:where(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--ss-focus) !important;
}

.enterprise-app,
.marketing-site {
  background: var(--ss-bg);
  color: var(--ss-text);
}

.enterprise-app .app-sidebar {
  background: #090909;
  border-inline-end: 1px solid var(--ss-border);
  box-shadow: 14px 0 42px rgba(0, 0, 0, .25);
}

.enterprise-app .app-header {
  min-height: 76px;
  background: rgba(10, 10, 10, .96);
  border-bottom: 1px solid var(--ss-border);
  backdrop-filter: blur(16px);
}

.app-header h1,
.page-heading h1 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  letter-spacing: -.025em;
}

.side-nav a {
  border: 1px solid transparent;
  border-radius: 9px;
}

.side-nav a:hover,
.side-nav a:focus-visible,
.side-nav a[aria-current="page"] {
  color: var(--ss-primary);
  background: rgba(var(--ss-primary-rgb), .09);
  border-color: var(--ss-border);
}

.side-nav a[aria-current="page"]::before {
  content: "";
  width: 3px;
  align-self: stretch;
  background: var(--ss-primary);
  border-radius: 99px;
}

.panel,
.sub-panel,
.stat-card,
.auth-card,
.ticket-card,
.asset-card,
.modal-content {
  background: linear-gradient(145deg, rgba(255, 255, 255, .025), transparent 60%), var(--ss-surface);
  border-color: var(--ss-border) !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .22);
}

.panel:hover,
.ticket-card:hover,
.asset-card:hover {
  border-color: var(--ss-border-strong) !important;
}

.btn {
  min-height: 40px;
  border-radius: 9px;
  font-weight: 750;
  transition: transform .14s ease, background-color .14s ease, border-color .14s ease, color .14s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary,
.btn-primary:focus {
  color: var(--ss-on-primary) !important;
  background: var(--ss-primary) !important;
  border-color: var(--ss-primary) !important;
  box-shadow: none;
}

.btn-primary:hover {
  color: var(--ss-on-primary) !important;
  background: color-mix(in srgb, var(--ss-primary) 86%, white) !important;
  border-color: color-mix(in srgb, var(--ss-primary) 86%, white) !important;
}

.btn-outline-primary {
  color: var(--ss-primary);
  border-color: var(--ss-border-strong);
  background: rgba(var(--ss-primary-rgb), .025);
}

.btn-outline-primary:hover {
  color: var(--ss-on-primary);
  border-color: var(--ss-primary);
  background: var(--ss-primary);
}

.form-control,
.form-select,
select,
textarea {
  color: var(--ss-text);
  background-color: #0C0C0C;
  border-color: rgba(255, 255, 255, .12);
}

.form-control:hover,
.form-select:hover { border-color: var(--ss-border-strong); }

.form-control:focus,
.form-select:focus {
  color: var(--ss-text);
  background-color: #0C0C0C;
  border-color: var(--ss-primary);
  box-shadow: var(--ss-focus);
}

.table,
table { --bs-table-bg: transparent; --bs-table-color: var(--ss-text); }

.table > :not(caption) > * > *,
table th,
table td { border-color: rgba(var(--ss-primary-rgb), .12); }

table thead th {
  color: var(--ss-secondary);
  background: rgba(var(--ss-primary-rgb), .045);
  font-size: .74rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

table tbody tr:hover { background: rgba(var(--ss-primary-rgb), .04); }

.notification-badge {
  color: var(--ss-on-primary);
  background: var(--ss-primary);
}

.notification-panel {
  background: #101010;
  border-color: var(--ss-border-strong);
  box-shadow: var(--shadow);
}

.notification-item.unread { background: rgba(var(--ss-primary-rgb), .08); }

.empty-state,
.notification-empty {
  border: 1px dashed var(--ss-border-strong);
  border-radius: var(--radius-lg);
  background: rgba(var(--ss-primary-rgb), .025);
}

.branding-studio {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--ss-border);
  border-radius: var(--radius-lg);
  background: #0A0A0A;
}

.brand-presets { display: flex; flex-wrap: wrap; gap: .55rem; }
.branding-toggle { align-items: center; gap: .6rem; }
.branding-toggle .form-check-label { display: grid; gap: .1rem; }
.branding-studio.is-default-theme .brand-presets,
.branding-studio.is-default-theme .color-field,
.branding-studio.is-default-theme .theme-live-preview { opacity: .55; }
.brand-preset {
  min-height: 36px;
  padding: .4rem .8rem;
  color: var(--ss-text);
  background: #121212;
  border: 1px solid var(--ss-border);
  border-radius: 999px;
  font-weight: 700;
}
.brand-preset:hover { color: var(--ss-primary); border-color: var(--ss-primary); }
.color-field { display: grid; grid-template-columns: 50px 1fr; gap: .65rem; }
.theme-color-picker { width: 50px; height: 43px; padding: 3px; border: 1px solid var(--ss-border-strong); border-radius: 9px; background: #0C0C0C; }
.theme-hex-input { font-family: Consolas, monospace; text-transform: uppercase; }
.theme-live-preview {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 190px;
  overflow: hidden;
  color: #F7F4EC;
  background: #080808;
  border: 1px solid color-mix(in srgb, var(--preview-primary) 28%, transparent);
  border-radius: 13px;
}
.theme-preview-sidebar { display: grid; align-content: start; gap: .6rem; padding: 1rem .65rem; border-inline-end: 1px solid color-mix(in srgb, var(--preview-primary) 24%, transparent); background: #0B0B0B; }
.theme-preview-sidebar span { height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--preview-primary) 42%, #222); }
.theme-preview-content { padding: .8rem; }
.theme-preview-header { height: 20px; margin-bottom: .8rem; border-bottom: 1px solid color-mix(in srgb, var(--preview-primary) 22%, transparent); }
.theme-preview-card { display: grid; justify-items: start; gap: .45rem; padding: .9rem; border: 1px solid color-mix(in srgb, var(--preview-primary) 30%, transparent); border-radius: 10px; background: #121212; }
.theme-preview-card small { color: #AAA69C; }
.theme-preview-card button { padding: .45rem .75rem; color: #090909; background: var(--preview-primary); border: 0; border-radius: 7px; font-weight: 800; }

.status-pill { border-color: var(--ss-border-strong); }
.status-active { color: var(--ss-primary); background: rgba(var(--ss-primary-rgb), .09); }

@media (max-width: 720px) {
  .enterprise-app .app-header { min-height: 62px; padding-inline: .75rem; }
  .app-header-title .breadcrumbs,
  .app-language-switcher,
  .global-search { display: none !important; }
  .app-header-title h1 { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; }
  .header-actions { gap: .35rem; }
  .notification-panel {
    position: fixed !important;
    inset: auto .5rem .5rem .5rem !important;
    width: auto !important;
    max-height: min(72vh, 560px);
    border-radius: 18px;
    z-index: 1100;
  }
  .notification-list { max-height: calc(72vh - 150px); overflow-y: auto; }
  .page-heading { align-items: flex-start; }
  .page-heading .action-row,
  .toolbar,
  .filter-bar { width: 100%; }
  .page-heading .action-row .btn,
  .toolbar .btn { flex: 1 1 auto; }
  .form-row.two-column { grid-template-columns: 1fr !important; }
  .theme-live-preview { grid-template-columns: 54px 1fr; }

  table[data-responsive-cards="true"] thead { display: none; }
  table[data-responsive-cards="true"],
  table[data-responsive-cards="true"] tbody,
  table[data-responsive-cards="true"] tr,
  table[data-responsive-cards="true"] td { display: block; width: 100%; }
  table[data-responsive-cards="true"] tbody { display: grid; gap: .75rem; }
  table[data-responsive-cards="true"] tr { padding: .45rem .8rem; border: 1px solid var(--ss-border); border-radius: 12px; background: var(--ss-surface); }
  table[data-responsive-cards="true"] td { display: grid; grid-template-columns: minmax(7rem, 38%) 1fr; gap: .65rem; padding: .55rem 0; border-bottom: 1px solid rgba(var(--ss-primary-rgb), .1); overflow-wrap: anywhere; }
  table[data-responsive-cards="true"] td:last-child { border-bottom: 0; }
  table[data-responsive-cards="true"] td::before { content: attr(data-label); color: var(--ss-muted); font-size: .76rem; font-weight: 750; text-transform: uppercase; }
  table[data-responsive-cards="true"] td[colspan] { display: block; }
table[data-responsive-cards="true"] td[colspan]::before { display: none; }
}

@media (max-width: 720px) {
  .mobile-logout-form { display: block; }

  /* The panel is moved to body by site.js on small screens so transformed app
     shells cannot clip it on iOS Safari. Its bounds use the live visual viewport. */
  body > .notification-panel.notification-panel-mobile {
    position: fixed !important;
    top: var(--notification-mobile-top, calc(env(safe-area-inset-top) + .5rem)) !important;
    left: max(.5rem, env(safe-area-inset-left)) !important;
    right: max(.5rem, env(safe-area-inset-right)) !important;
    width: auto !important;
    max-height: var(--notification-mobile-max-height, calc(100dvh - env(safe-area-inset-top) - 1rem));
    z-index: 1200;
    overflow: hidden;
  }

  body > .notification-panel.notification-panel-mobile .notification-panel-head {
    position: sticky;
    top: 0;
    z-index: 1;
    background: inherit;
  }

  body > .notification-panel.notification-panel-mobile .notification-list {
    max-height: calc(var(--notification-mobile-max-height, 72dvh) - 132px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body > .notification-panel.notification-panel-mobile .notification-panel-close { display: inline-flex; }
}

/* Requester sign-in follows the same tenant theme. */
.simple-help-site,
.simple-help-site .simple-help-shell { background: var(--ss-bg); }
.simple-help-language select { color: var(--ss-text); background: #111; border-color: var(--ss-border-strong); }
.simple-help-card,
.simple-help-card-interactive .simple-help-title {
  color: var(--ss-text);
  background: var(--ss-surface);
  border: 1px solid var(--ss-border);
  box-shadow: var(--shadow);
}
.simple-help-card-interactive .simple-help-title { border-bottom: 0; }
.simple-help-title h1,
.simple-help-title p,
.simple-help-card-interactive .simple-help-title h1,
.simple-help-card-interactive .simple-help-title p { color: var(--ss-primary); }
.simple-help-input-section { background: #0C0C0C; border: 1px solid var(--ss-border); border-top: 0; box-shadow: 0 20px 46px rgba(0, 0, 0, .34); }
.simple-help-card-interactive .simple-help-input-section input {
  color: var(--ss-text);
  background: #0C0C0C;
}
.simple-help-card-interactive .simple-help-input-section input::placeholder { color: var(--ss-muted); }
.simple-help-card-interactive .simple-help-animated-button {
  color: var(--ss-on-primary);
  background: var(--ss-primary);
  border-inline-start: 1px solid var(--ss-border-strong);
}
.simple-help-card-interactive .simple-help-animated-button:hover,
.simple-help-card-interactive .simple-help-animated-button:focus-visible { color: var(--ss-on-secondary); background: var(--ss-secondary); }
.simple-help-card input { color: var(--ss-text); border-bottom-color: var(--ss-border-strong); }
.simple-help-card input:focus { border-bottom-color: var(--ss-primary); }
.simple-help-card button { color: var(--ss-on-primary); background: var(--ss-primary); }
.simple-help-card button:hover { color: var(--ss-on-secondary); background: var(--ss-secondary); }
.simple-help-history,
.simple-help-dev-code,
.simple-help-card-otp .simple-help-title p { color: var(--ss-muted); }
.simple-help-history a,
.simple-help-card-interactive .simple-help-history a { color: var(--ss-primary); }
.simple-help-staff-link { color: var(--ss-muted); }
.simple-help-staff-link:hover { color: var(--ss-primary); }

.otp-inline-message {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  margin-top: .15rem;
  padding: .55rem .7rem;
  border: 1px solid var(--ss-border);
  border-radius: 8px;
  color: var(--ss-muted);
  background: rgba(var(--ss-primary-rgb), .055);
  font-size: .82rem;
  line-height: 1.35;
}
.otp-inline-message i { margin-top: .12rem; color: var(--ss-primary); }
.otp-inline-message.warning { border-color: rgba(245, 158, 11, .32); background: rgba(245, 158, 11, .08); }
.otp-inline-message.warning i { color: var(--warning); }
.otp-inline-message.error { border-color: rgba(248, 113, 113, .34); background: rgba(248, 113, 113, .08); }
.otp-inline-message.error i { color: var(--danger); }
.simple-help-card-otp .otp-inline-message { width: 100%; }

@media (max-width: 360px) {
  .app-header-title h1 { max-width: 34vw; }
  .panel { padding: .8rem; }
  .btn { padding-inline: .65rem; }
  .color-field { grid-template-columns: 44px minmax(0, 1fr); }
}

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

.copyable-identifier { display: inline-flex; align-items: center; gap: .35rem; }
.copy-button {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: var(--ss-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
}
.copy-button:hover,
.copy-button.is-copied { color: var(--ss-primary); border-color: var(--ss-border-strong); background: rgba(var(--ss-primary-rgb), .08); }

.marketing-shell {
  background:
    radial-gradient(circle at 12% 8%, rgba(var(--ss-primary-rgb), .13), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(var(--ss-secondary-rgb), .08), transparent 26%),
    linear-gradient(180deg, #070707, #0D0D0D 52%, #070707);
}

@media (max-width: 720px) {
  .simple-help-site .simple-help-main,
  .simple-help-login {
    width: 100%;
    min-width: 0;
    max-width: 100vw;
  }
  .simple-help-login-codepen .simple-help-card-interactive {
    width: min(23rem, calc(100vw - 2rem));
    min-width: 0;
  }
  .header-actions .user-menu,
  .header-actions > form:last-child,
  .current-company-name { display: none; }
  .current-company-menu { padding: .2rem; border-color: transparent; background: transparent; }
}
.os-download-selector { display: grid; gap: 14px; }
.os-download-selector [data-os-option].is-active { background: var(--primary-color, #35d0e6); border-color: var(--primary-color, #35d0e6); color: #071013; }
.os-download-selector [data-os-panel] { min-width: 0; }

.download-command-guide {
    margin-top: 16px;
    border-top: 1px solid var(--border-color, rgba(255,255,255,.12));
    padding-top: 12px;
}
.download-command-guide > summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--primary-color, #35d0e6);
}
.download-command-guide > summary i { margin-right: 7px; }
.download-command-guide p { margin: 12px 0; }
.download-command-guide pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    margin: 0 0 12px;
    padding: 12px;
    border: 1px solid var(--border-color, rgba(255,255,255,.12));
    border-radius: 6px;
    background: rgba(0,0,0,.24);
    color: #dfeef3;
}
.command-argument-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.command-argument-grid > div { display: grid; grid-template-columns: minmax(130px, auto) 1fr; gap: 8px; align-items: start; font-size: .9rem; }
.command-argument-grid span { color: var(--muted-color, #aeb4be); }
@media (max-width: 760px) {
    .command-argument-grid { grid-template-columns: 1fr; }
    .command-argument-grid > div { grid-template-columns: 1fr; gap: 2px; }
}
.scanner-token-list { display: none; }
.token-needs-attention { box-shadow: inset 3px 0 0 #d9a441; }
.token-create-menu { position: relative; }
.token-create-menu summary, .row-actions-menu summary { list-style: none; cursor: pointer; }
.token-create-menu summary::-webkit-details-marker, .row-actions-menu summary::-webkit-details-marker { display: none; }
.row-actions-menu { position: relative; display: inline-block; }
.row-actions-panel { position: absolute; right: 0; z-index: 15; min-width: 220px; padding: 8px; display: grid; gap: 4px; background: #17181d; border: 1px solid var(--border-color); border-radius: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.row-actions-panel form { margin: 0; display: grid; gap: 6px; }
.row-actions-panel .dropdown-item { border: 0; background: transparent; color: inherit; text-align: left; padding: 7px 9px; border-radius: 4px; cursor: pointer; }
.row-actions-panel .dropdown-item:hover { background: rgba(255,255,255,.06); }
