/* ==========================================================================
   KobaltTech Website — product marketing CSS
   Brand tokens/fonts: Theme.Rcl. Keep only product aliases + marketing layout.
   ========================================================================== */

:root {
  /* Product aliases / extras not in Theme.Rcl */
  --kt-drawer-bg: #0D121B;
  --kt-text-primary: var(--kt-text);
  --kt-text-muted: var(--kt-muted);
  --kt-app-bar-bg: color-mix(in srgb, var(--kt-canvas) 92%, var(--kt-surface));
  --kt-table-hover: rgba(79, 123, 255, 0.08);
  --kt-table-striped: rgba(255, 255, 255, 0.02);
  --kt-code-bg: #0A0D14;
  --kt-gold-soft: rgba(245, 196, 81, 0.14);
  --kt-teal-soft: rgba(34, 211, 167, 0.14);
  --kt-red-tint: #FF8A98;
  --kt-red-soft: rgba(255, 92, 114, 0.14);
  --kt-font-heading: var(--kt-font-head);
  --kt-radius-default: var(--kt-radius);
  --kt-radius-tile: 10px;
  --kt-glow-progress: 0 0 16px rgba(79, 123, 255, 0.55);
  --kt-appbar-height: 72px;
  --kt-drawer-width: 260px;
}

.kt-mode-light,
[data-theme="light"] {
  --kt-drawer-bg: #EAEFF7;
  --kt-text-primary: var(--kt-text);
  --kt-text-muted: var(--kt-muted);
  --kt-app-bar-bg: #FFFFFF;
  --kt-table-hover: rgba(79, 123, 255, 0.06);
  --kt-table-striped: rgba(11, 15, 23, 0.02);
  --kt-code-bg: #E8EEF8;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  color: var(--kt-text-primary);
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Kill load-time white focus ring on first heading; keep keyboard focus. */
:focus:not(:focus-visible) {
  outline: none;
}

/* Form controls are excluded: they light their OWN border on focus (Theme's
   .mud-input-outlined rule), so a ring on top reads as two borders around one field. */
:focus-visible:not(input):not(textarea):not(select) {
  outline: 2px solid var(--kt-cobalt);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--kt-font-heading);
  letter-spacing: -0.02em;
  color: var(--kt-text-primary);
  font-weight: 700;
}

h1 { font-size: 1.4rem; font-weight: 800; line-height: 1.25; }
h2 { font-size: 1.75rem; font-weight: 800; line-height: 1.2; }
h3 { font-size: 1.15rem; line-height: 1.3; }
h4 { font-size: 1rem; }

.num-tabular, .kt-tabular {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Noise Overlay */
.kt-noise-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* App Shell Layout */
.kt-app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.kt-appbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--kt-appbar-height);
  background: var(--kt-app-bar-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid var(--kt-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
}

.kt-appbar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.kt-appbar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Top Navigation Bar */
.kt-top-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0 1.5rem;
}

.kt-top-nav-link {
  font-family: var(--kt-font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--kt-text-muted);
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: var(--kt-radius-tile);
  transition: all 180ms ease;
  white-space: nowrap;
}

.kt-top-nav-link:hover {
  color: var(--kt-text-primary);
  background-color: var(--kt-fill-subtle);
}

.kt-top-nav-link.active {
  color: var(--kt-cobalt-tint);
  background-color: var(--kt-cobalt-soft);
}

@media (max-width: 1120px) {
  .kt-top-nav {
    display: none;
  }
}

.kt-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--kt-text-primary);
  font-family: var(--kt-font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
}

.kt-brand-tile {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--kt-cobalt-deep);
  box-shadow: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  color: #fff;
}

.kt-brand-tile img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.kt-brand-text {
  display: flex;
  flex-direction: column;
}

.kt-brand-name {
  font-family: var(--kt-font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--kt-text-primary);
}

.kt-brand-tag {
  display: block;
  font-family: var(--kt-font-body);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--kt-text-muted);
  margin-top: -2px;
}

/* Main Layout Split */
.kt-main-container {
  display: flex;
  margin-top: var(--kt-appbar-height);
  min-height: calc(100vh - var(--kt-appbar-height));
}

/* Mobile Navigation Drawer */
.kt-drawer {
  width: var(--kt-drawer-width);
  background-color: var(--kt-drawer-bg);
  border-right: 1px solid var(--kt-hairline);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--kt-appbar-height);
  bottom: 0;
  left: 0;
  z-index: 900;
  padding: 1.25rem 0.75rem;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 250ms ease;
}

.kt-drawer.open {
  transform: translateX(0);
}

.kt-nav-section {
  margin-bottom: 1.5rem;
}

.kt-nav-overline {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--kt-text-muted);
  padding: 0 0.75rem 0.5rem 0.75rem;
}

.kt-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--kt-radius-tile);
  color: var(--kt-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  margin-bottom: 2px;
  position: relative;
  transition: all 180ms ease;
}

.kt-nav-item:hover {
  background-color: var(--kt-fill-subtle);
  color: var(--kt-text-primary);
}

.kt-nav-item.active {
  background: linear-gradient(135deg, rgba(79,123,255,0.22), rgba(79,123,255,0.08));
  color: var(--kt-cobalt-tint);
  font-weight: 600;
}

.kt-content {
  flex: 1;
  width: 100%;
  padding: 0;
  max-width: none;
}

.kt-page-body {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 1.35rem 1.5rem 2.75rem;
}

.kt-section-head {
  margin-bottom: 1.5rem;
}

.kt-section-head h2 {
  margin-top: 0.25rem;
}

.kt-section-head p {
  color: var(--kt-text-muted);
  font-size: 0.88rem;
  margin-top: 0.35rem;
  max-width: 640px;
}

.kt-panel {
  border-top: 1px solid var(--kt-hairline);
  padding: 1.25rem 0;
}

.kt-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* User & Icon Chips */
.kt-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--kt-radius-pill);
  border: 1px solid var(--kt-hairline);
  background: var(--kt-fill-subtle);
  color: var(--kt-text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 180ms ease;
}

.kt-icon-btn:hover {
  background: var(--kt-cobalt-soft);
  border-color: var(--kt-cobalt);
  color: var(--kt-cobalt-tint);
}

.kt-hamburger-btn {
  display: none;
}

@media (max-width: 1120px) {
  .kt-hamburger-btn {
    display: inline-flex;
  }
}

/* Buttons */
.kt-btn {
  font-family: var(--kt-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none;
  padding: 0.65rem 1.35rem;
  border-radius: var(--kt-radius-default);
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 180ms ease;
  line-height: 1.75;
}

.kt-btn-primary {
  background: var(--kt-cobalt-deep);
  color: #FFFFFF;
  box-shadow: none;
}

.kt-btn-primary:hover {
  filter: brightness(1.08);
}

.kt-btn-primary:active {
  transform: translateY(1px);
}

.kt-btn-secondary {
  background-color: var(--kt-fill-subtle);
  border-color: var(--kt-hairline);
  color: var(--kt-text-primary);
}

.kt-btn-secondary:hover {
  background-color: var(--kt-cobalt-soft);
  border-color: var(--kt-cobalt);
  color: var(--kt-cobalt-tint);
}

.kt-btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  border-radius: 8px;
}

.kt-live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 211, 167, 0.55);
  animation: kt-ripple 1.8s infinite cubic-bezier(0, 0.2, 0.8, 1);
}

@keyframes kt-ripple {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 167, 0.55); opacity: 1; }
  100% { box-shadow: 0 0 0 7px rgba(34, 211, 167, 0); opacity: 0; }
}

.kt-pill-cobalt { background-color: var(--kt-cobalt-soft); border-color: rgba(79, 123, 255, 0.35); color: var(--kt-cobalt-tint); }
.kt-pill-gold { background-color: var(--kt-gold-soft); border-color: rgba(245, 196, 81, 0.35); color: var(--kt-gold); }
.kt-pill-teal { background-color: var(--kt-teal-soft); border-color: rgba(34, 211, 167, 0.35); color: var(--kt-teal); }
.kt-pill-red { background-color: var(--kt-red-soft); border-color: rgba(255, 92, 114, 0.35); color: var(--kt-red); }

.kt-kpi::after,
.kt-kpi-icon { display: none !important; }

.kt-kpi:hover {
  border-color: color-mix(in srgb, var(--kt-cobalt) 28%, transparent);
}

/* Legacy alias — no Y-lift */
.kt-kpi-tile {
  padding: 0.95rem 1.05rem 1rem;
  border-radius: var(--kt-radius-card);
  border: 1px solid var(--kt-hairline);
  background: var(--kt-surface);
  position: relative;
  overflow: hidden;
  box-shadow: var(--kt-shadow-feather);
  transition: border-color .18s ease;
}

.kt-kpi-tile:hover {
  box-shadow: var(--kt-shadow-card);
  border-color: rgba(79, 123, 255, 0.28);
  transform: none;
}

.kt-kpi-corner-glow { display: none !important; }

.kt-kpi-icon-chip {
  display: none !important;
}

.kt-card-interactive:hover,
.kt-card--hover:hover {
  transform: none;
  box-shadow: var(--kt-shadow-card);
  border-color: rgba(79, 123, 255, 0.28);
}

/* Hero — DESIGN-PROMPT box-fix geometry (2026-07-27) */
.kt-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--kt-radius-card);
  border: 1px solid var(--kt-hairline);
  background: var(--kt-hero-grad);
  padding: clamp(1.5rem, 3.5vw, 2.6rem) clamp(1.25rem, 4vw, 3rem)
           clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3rem);
  margin: 0 0 var(--kt-space-10);
  min-height: 0;
}

.kt-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.kt-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

@media (max-width: 960px) {
  .kt-hero-grid { grid-template-columns: 1fr; }
}

.kt-hero-title {
  font-family: var(--kt-font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--kt-text-primary);
  background: none;
  -webkit-text-fill-color: unset;
  margin: 0 0 0.75rem 0;
  text-align: left;
  max-width: 14ch;
}

.kt-hero-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.kt-hero-support {
  font-size: 0.95rem;
  color: var(--kt-text-muted);
  margin: 0 0 1rem;
  line-height: 1.55;
}

.kt-hero-cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}

.kt-hero-trust {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--kt-text-muted);
  letter-spacing: 0.01em;
}

.kt-inset--pad {
  padding: 0.85rem 1rem 1rem;
}

.kt-inset-label {
  font-family: var(--kt-font-body);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kt-cobalt-tint);
  margin-bottom: 0.5rem;
}

.kt-inset-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.kt-inset-list li {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--kt-text-muted);
}

.kt-grid--kpi {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .kt-grid--kpi { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .kt-grid--kpi { grid-template-columns: 1fr; }
}

.kt-grid--cards {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 960px) {
  .kt-grid--asymmetric { grid-template-columns: 1fr; }
}

.kt-media-strip__mark {
  font-family: var(--kt-font-heading);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  color: var(--kt-text-muted);
  opacity: 0.55;
  line-height: 1;
}


/* Admin / auth unlock canvas */
.kt-auth-screen {
  position: relative;
  min-height: calc(100vh - var(--kt-appbar-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  overflow: hidden;
  background: #0B0F17;
}

.kt-auth-brand-tile {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #5D86FF 0%, #3A5BE0 100%);
  box-shadow: var(--kt-glow-cobalt);
  overflow: hidden;
}

.kt-auth-brand-tile img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.kt-auth-title-stack {
  margin-bottom: 1.25rem;
}

.kt-auth-brand-line {
  font-family: var(--kt-font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9AA6BC;
  margin-bottom: 0.25rem;
}

.kt-auth-app-name {
  font-family: var(--kt-font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: #E9EDF5;
  margin: 0;
}

.kt-btn-auth {
  background: linear-gradient(180deg, #5D86FF 0%, #3A5BE0 100%);
  color: #fff;
  box-shadow: none;
  font-family: var(--kt-font-body);
  font-weight: 600;
}

.kt-btn-auth:hover {
  filter: brightness(1.08);
}

.kt-auth-card h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 1rem 0 1.25rem;
}

.kt-auth-card input[type="password"] {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #E9EDF5;
  margin-bottom: 1rem;
  font-family: var(--kt-font-body);
}

.kt-faq-item {
  border-bottom: 1px solid var(--kt-hairline);
}

.kt-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-family: var(--kt-font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--kt-text-primary);
}

.kt-faq-item summary::-webkit-details-marker { display: none; }

.kt-faq-item p {
  padding: 0 0 1.1rem;
  font-size: 0.85rem;
  color: var(--kt-text-muted);
  line-height: 1.55;
  max-width: 720px;
}

.kt-list-row {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--kt-hairline);
}

.kt-list-row:last-child { border-bottom: none; }

/* Code Block */
.kt-code-block {
  background-color: var(--kt-code-bg);
  border: 1px solid var(--kt-hairline);
  border-radius: var(--kt-radius-default);
  padding: 1.25rem;
  font-family: 'Consolas', 'Fira Code', monospace;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #D4DCE8;
  overflow-x: auto;
}

.kt-code-kw { color: #5D86FF; font-weight: 600; }
.kt-code-cls { color: #22D3A7; }
.kt-code-str { color: #F5C451; }
.kt-code-cmt { color: #6C7A9C; font-style: italic; }

@media (max-width: 960px) {
  .kt-page-body {
    padding: 1.75rem 1rem 3rem;
  }
  .kt-page-body {
    padding: 1.35rem 1rem 2.75rem;
  }
}

/* Chart Gridlines (dotted round-cap) */
.kt-chart-gridline {
  stroke: rgba(154, 166, 188, 0.2);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 0.1 9;
}

.kt-loader-brand {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kt-loader-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.kt-loader-ring-pulse {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(79, 123, 255, 0.2);
}

.kt-loader-ring-pulse::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--kt-cobalt);
  animation: kt-spin 0.8s linear infinite;
}

@keyframes kt-spin {
  to { transform: rotate(360deg); }
}

.kt-loader-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--kt-text-muted);
}

/* Sticky header offset for hash targets (WCAG 2.2 2.4.11) */
section[id] {
  scroll-margin-top: 85px;
}

/* ---- Highlight JS overrides ---- */
pre code.hljs {
  background: var(--kt-canvas);
  padding: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  font-family: 'JetBrains Mono', 'Cascadia Code', 'Fira Code', Consolas, monospace;
  border-radius: 0;
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .kt-live-dot::after,
  .kt-loader-ring-pulse::after,
  .kt-hero-brand,
  .kt-hero-headline,
  .kt-hero-support,
  .kt-hero-cta,
  .kt-hero-trust {
    animation: none !important;
  }
  .kt-live-dot {
    background-color: var(--kt-teal);
    opacity: 1;
  }
  .kt-card-interactive:hover,
  .kt-btn,
  .kt-nav-item,
  .kt-icon-btn,
  .kt-matrix-dot,
  .kt-scrolltop {
    transition: none;
  }
  .kt-card-interactive:hover {
    transform: none;
  }
  .kt-scrolltop:hover {
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

.kt-reconnect-product {
  font-family: var(--kt-font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9AA6BC;
  margin: -0.35rem 0 0;
}

@keyframes kt-reconnect-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes kt-reconnect-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}

@media (prefers-reduced-motion: reduce) {
  .kt-reconnect-tile,
  .kt-reconnect-bar {
    animation: none !important;
    transition: none !important;
  }
}

/* Skip link */
.kt-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.65rem 1rem;
  background: var(--kt-cobalt-deep);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}
.kt-grain::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.03;
  background-image: var(--kt-noise, none);
  background-repeat: repeat;
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}
.kt-mode-light.kt-grain::before,
.mud-layout.kt-mode-light.kt-grain::before {
  opacity: 0.045;
  mix-blend-mode: multiply;
}

/* Drawer product line */
.kt-drawer-product {
  font-family: var(--kt-font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  color: var(--kt-text-primary);
  border-bottom: 1px solid var(--kt-hairline);
  padding: 10px 14px !important;
}

.kt-drawer-foot,
.kt-footer {
  display: none !important;
}

/* Scroll-to-top — DESIGN-PROMPT geometry */
.kt-scrolltop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--kt-cobalt-deep);
  color: #fff;
  border: 1px solid rgba(79,123,255,0.35);
  cursor: pointer;
  box-shadow: var(--kt-shadow-card);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, filter .15s ease;
  pointer-events: none;
  z-index: 1500;
  font-size: 1.05rem;
  font-weight: 700;
}
h1:focus-visible { outline: 2px solid var(--kt-cobalt); outline-offset: 2px; }

/* This sheet's universal reset (`*, *::before, *::after { padding: 0 }`) loads after
   Theme.Rcl and, having the same zero specificity, cancels the theme's default card
   padding. Restate the canonical values so cards here match every other app. */
:where(.kt-card) { padding: 1.25rem; }
:where(.kt-inset) { padding: 1rem 1.1rem; }
