/* [next]/internal/font/google/bricolage_grotesque_79ceeebb.module.css [app-client] (css) */
@font-face {
  font-family: Bricolage Grotesque;
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/033400d475fad6b1-s.197tvtifbphtu.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Bricolage Grotesque;
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/26daee0352f50a5f-s.p.2e115y8-hourl.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Bricolage Grotesque;
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/017d9bea37084d9b-s.p.41rroleoq1br7.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Bricolage Grotesque Fallback;
  src: local(Arial);
  ascent-override: 88.21%;
  descent-override: 25.61%;
  line-gap-override: 0.0%;
  size-adjust: 105.43%;
}

.bricolage_grotesque_79ceeebb-module__I-SuRG__className {
  font-family: Bricolage Grotesque, Bricolage Grotesque Fallback;
  font-style: normal;
}

.bricolage_grotesque_79ceeebb-module__I-SuRG__variable {
  --font-bricolage: "Bricolage Grotesque", "Bricolage Grotesque Fallback";
}

/* [next]/internal/font/google/instrument_sans_633b1778.module.css [app-client] (css) */
@font-face {
  font-family: Instrument Sans;
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/c7f47671e39f7787-s.p.0klc_mi0-5f4_.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Instrument Sans;
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/f06bf9da926bae75-s.p.2874ccu1_u7jf.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Instrument Sans Fallback;
  src: local(Arial);
  ascent-override: 94.42%;
  descent-override: 24.33%;
  line-gap-override: 0.0%;
  size-adjust: 102.74%;
}

.instrument_sans_633b1778-module__5Ninaa__className {
  font-family: Instrument Sans, Instrument Sans Fallback;
  font-style: normal;
}

.instrument_sans_633b1778-module__5Ninaa__variable {
  --font-instrument: "Instrument Sans", "Instrument Sans Fallback";
}

/* [project]/app/globals.css [app-client] (css) */
:root, [data-theme="light"] {
  --bg: #f8f8f5;
  --surface: #fff;
  --surface-2: #f4f3ef;
  --surface-sunk: #efede8;
  --border: #e8e6e0;
  --border-strong: #d8d4cc;
  --ink: #16233a;
  --ink-deep: #0e1726;
  --text: #1c2942;
  --text-2: #55607a;
  --text-3: #6e7890;
  --text-disabled: #a3aabb;
  --accent: #2e7cf6;
  --accent-hover: #2368db;
  --accent-active: #1d57ba;
  --accent-weak: #eaf1fe;
  --on-accent: #fff;
  --joy: #f0a840;
  --joy-tint: #fdf4e3;
  --joy-text: #8a5a12;
  --ring-gradient: linear-gradient(135deg, #4cc3f7, #2e7cf6);
  --button-gradient: linear-gradient(180deg, #3f8dff, #2e7cf6);
  --focus-ring: #2e7cf6;
  --pillar-awareness: #2563eb;
  --pillar-reasoning: #0e8c8b;
  --pillar-navigation: #6d4ab8;
  --ok-dot: #1a9a55;
  --ok-tint: #e7f6ed;
  --ok-text: #136b39;
  --ok-line: #bfe3cc;
  --warn-dot: #d97706;
  --warn-tint: #fdf3e3;
  --warn-text: #8a5300;
  --warn-line: #f0d9a8;
  --crit-dot: #dc4a3f;
  --crit-tint: #fbecea;
  --crit-text: #a02b22;
  --crit-line: #ebc5bf;
  --info-tint: #eaf1fe;
  --info-text: #1e4fa8;
  --info-line: #c9dbf9;
  --tag-bg: #f0efea;
  --tag-text: #4a5468;
  --tag-border: #e2e0d9;
  --avatar-bg: #e8eef9;
  --avatar-text: #2e4b7a;
  --backdrop: #0e172673;
  --side-bg: linear-gradient(180deg, #182741 0%, #131f35 55%, #101a2c 100%);
  --side-line: #ffffff14;
  --side-text: #a7b3cb;
  --side-text-strong: #f2f5fa;
  --side-hover: #ffffff0f;
  --side-active: #2e7cf629;
  --font-sans: var(--font-instrument), "Segoe UI", system-ui, sans-serif;
  --font-display: var(--font-bricolage), var(--font-instrument), "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --detail-pane-width: clamp(440px, 27vw, 500px);
  --side-pane-width: var(--detail-pane-width);
  --admin-pane-width: clamp(380px, 23vw, 440px);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-full: 9999px;
  --e-1: 0 1px 2px #16233a0d, 0 3px 10px #16233a0a;
  --e-2: 0 2px 6px #16233a12, 0 12px 32px #16233a1f;
  --e-3: 0 8px 20px #16233a24, 0 24px 64px #16233a2e;
  --dur-fast: .14s;
  --dur-base: .2s;
  --dur-slow: .32s;
  --ease: cubic-bezier(.2, 0, .2, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
}

body {
  background: radial-gradient(1100px 420px at 78% -12%, #2e7cf60e, transparent 62%),
    var(--bg);
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-sans);
  letter-spacing: 0;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

button, input, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled, input:disabled, textarea:disabled, select:disabled {
  cursor: not-allowed;
  opacity: .5;
}

:focus-visible {
  box-shadow: none;
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

::selection {
  background: #2e7cf638;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--r-full);
  background-clip: content-box;
  border: 3px solid #0000;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-3);
}

.app-shell {
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
  display: grid;
}

.mobile-app-bar, .mobile-nav, .mobile-sheet-backdrop, .mobile-only, .mobile-card-list {
  display: none;
}

html {
  -webkit-tap-highlight-color: transparent;
}

button, [role="button"], select, a {
  touch-action: manipulation;
}

.auth-shell {
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  display: grid;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--e-3);
  border-radius: 20px;
  grid-template-columns: minmax(340px, 440px) minmax(0, 1fr);
  justify-self: center;
  width: min(100%, 920px);
  max-width: 920px;
  min-height: 520px;
  padding: 0;
  display: grid;
  overflow: hidden;
}

.auth-content {
  align-content: center;
  gap: 16px;
  padding: 40px 36px;
  display: grid;
}

.auth-headline {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  margin: 4px 0 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 32px;
}

.auth-copy {
  color: var(--text-2);
  max-width: 36ch;
  margin: 0;
  font-size: 14px;
}

.auth-visual {
  background-image: linear-gradient(215deg, #16233a1f 0%, #101a2cc7 78%), url("/assets/arnt-operations-map.webp");
  background-position: 100%;
  background-size: cover;
  align-content: end;
  gap: 6px;
  min-height: 100%;
  padding: 32px;
  display: grid;
}

.auth-visual-claim {
  color: #f2f5fa;
  font-family: var(--font-display);
  letter-spacing: -.01em;
  text-wrap: balance;
  max-width: 18ch;
  margin: 0;
  font-size: 22px;
  font-weight: 650;
  line-height: 28px;
}

.auth-visual-sub {
  color: #e2e9f5bf;
  margin: 0;
  font-size: 13px;
}

.auth-brand {
  border-bottom: 0;
  height: auto;
  padding: 0;
}

.auth-brand .brand-word strong {
  color: var(--ink);
}

.auth-brand .brand-word span {
  color: var(--text-3);
}

.sidebar {
  background: var(--side-bg);
  color: var(--side-text);
  border-right: 1px solid #0e1726e6;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  display: grid;
  position: sticky;
  top: 0;
}

.brand {
  border-bottom: 1px solid var(--side-line);
  align-items: center;
  gap: 10px;
  height: 64px;
  padding: 0 18px;
  display: flex;
}

.brand-mark {
  border-radius: var(--r-sm);
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  display: inline-flex;
  overflow: visible;
}

.product-icon {
  object-fit: contain;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  flex: none;
  display: block;
}

.mobile-product-icon {
  width: 28px;
  height: 28px;
}

.sidebar-brand {
  flex-wrap: wrap;
  justify-content: flex-start;
  row-gap: 10px;
  height: auto;
  padding: 16px 18px;
}

.sidebar-logo {
  aspect-ratio: 1531 / 463;
  filter: brightness(0) invert();
  object-fit: cover;
  width: 100%;
  height: auto;
}

.auth-logo {
  aspect-ratio: 1531 / 463;
  object-fit: cover;
  width: 100%;
  max-width: 260px;
  height: auto;
}

.brand-word {
  gap: 0;
  display: grid;
}

.brand-word strong {
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: .02em;
  font-size: 16px;
  font-weight: 700;
  line-height: 18px;
}

.brand-word span {
  color: var(--text-3);
  font-size: 11px;
  line-height: 14px;
}

.sidebar .brand-word strong {
  color: var(--side-text-strong);
}

.sidebar .brand-word span {
  color: var(--side-text);
}

.nav {
  flex-direction: column;
  gap: 2px;
  min-height: 0;
  padding: 14px 10px;
  display: flex;
  overflow-y: auto;
}

.nav-group-label {
  color: #a7b3cb9e;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 14px 10px 5px;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 14px;
}

.nav-item {
  color: var(--side-text);
  text-align: left;
  min-height: 40px;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  background: none;
  border: 0;
  border-radius: 10px;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 7px 10px;
  display: flex;
  position: relative;
}

.nav-item:hover {
  background: var(--side-hover);
  color: var(--side-text-strong);
}

.nav-item.active {
  background: var(--side-active);
  color: var(--side-text-strong);
  font-weight: 600;
}

.nav-item.active:before {
  background: var(--ring-gradient);
  border-radius: var(--r-full);
  content: "";
  width: 3px;
  height: 18px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.nav-icon {
  color: inherit;
  opacity: .85;
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.nav-item.active .nav-icon {
  color: #7db4ff;
  opacity: 1;
}

.nav-expand-icon {
  opacity: .58;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-base) var(--ease);
  margin-left: auto;
}

.nav-item:hover .nav-expand-icon, .nav-item.active .nav-expand-icon {
  opacity: 1;
}

.nav-expand-icon.expanded {
  transform: rotate(180deg);
}

.assistant-sidebar-slot {
  opacity: 0;
  max-height: 0;
  transition: max-height .28s var(--ease-out), opacity var(--dur-base) var(--ease), padding var(--dur-base) var(--ease);
  overflow: hidden;
}

.assistant-sidebar-slot.expanded {
  opacity: 1;
  max-height: min(42vh, 380px);
  padding: 5px 0 8px 12px;
}

.sidebar-footer {
  border-top: 1px solid var(--side-line);
  gap: 10px;
  padding: 12px;
  display: grid;
}

.user-menu {
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 8px;
  display: grid;
}

.user-menu strong {
  color: var(--side-text-strong);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13.5px;
  line-height: 17px;
  display: block;
  overflow: hidden;
}

.user-menu .muted {
  color: var(--side-text);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 15px;
  display: block;
  overflow: hidden;
}

.sidebar .icon-button {
  color: var(--side-text);
}

.sidebar .icon-button:hover {
  background: var(--side-hover);
  color: var(--side-text-strong);
}

.auth-panel {
  border-top: 1px solid var(--side-line);
  gap: 8px;
  padding-top: 10px;
  display: grid;
}

.auth-panel.standalone {
  border-top: 0;
  padding-top: 0;
}

.auth-title {
  color: inherit;
  align-items: center;
  gap: 8px;
  display: flex;
}

.sidebar .auth-title {
  color: var(--side-text-strong);
}

.auth-title h2 {
  margin: 0;
}

.auth-error {
  color: #f2b8b2;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 16px;
}

.auth-shell .auth-error, .modal .auth-error {
  color: var(--crit-text);
}

.avatar {
  background: var(--avatar-bg);
  border-radius: var(--r-full);
  color: var(--avatar-text);
  border: 1px solid #0000;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  font-size: 12px;
  font-weight: 650;
  display: inline-flex;
}

.main {
  grid-template-rows: 56px minmax(0, 1fr);
  min-width: 0;
  display: grid;
}

.toolbar {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 5;
  background: #ffffffd1;
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 420px) auto;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 0 18px;
  display: grid;
  position: relative;
}

.breadcrumb {
  color: var(--text-2);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13.5px;
  overflow: hidden;
}

.toolbar-actions {
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  display: flex;
}

.toolbar-actions input {
  flex: 1;
  min-width: 0;
}

.toolbar-actions select {
  width: auto;
  min-width: 140px;
}

.tracking-controls-panel {
  padding: 10px;
}

.tracking-controls {
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
}

.tracking-controls .search {
  flex: 240px;
  min-width: 220px;
}

.tracking-controls select {
  flex: none;
  min-width: 160px;
}

.search {
  background: var(--surface-sunk);
  color: var(--text-3);
  height: 36px;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  border: 1px solid #0000;
  border-radius: 10px;
  grid-template-columns: 16px 1fr;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  display: grid;
}

.search:focus-within {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-weak);
}

.search input {
  color: var(--text);
  background: none;
  border: 0;
  outline: 0;
  min-width: 0;
}

.content {
  min-height: 0;
  padding: 20px 22px 28px;
  overflow: auto;
}

.content.assistant-content {
  padding: 0;
  overflow: hidden;
}

.content .page {
  animation: page-in var(--dur-slow) var(--ease-out);
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dot {
  border-radius: var(--r-full);
  flex: none;
  width: 8px;
  height: 8px;
  display: inline-block;
}

.dot.green {
  background: var(--ok-dot);
}

.dot.yellow {
  background: var(--warn-dot);
}

.dot.red {
  background: var(--crit-dot);
}

.dot.awareness {
  background: var(--pillar-awareness);
}

.dot.reasoning {
  background: var(--pillar-reasoning);
}

.page {
  gap: 14px;
  display: grid;
}

.page-header {
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  min-height: 40px;
  display: flex;
}

.product-page-header {
  align-items: center;
  padding-bottom: 2px;
}

.page-heading-main {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  display: grid;
}

.page-heading-copy {
  min-width: 0;
}

.page-heading-action {
  flex: none;
  align-items: center;
  display: flex;
}

.page-title {
  font-family: var(--font-display);
  letter-spacing: -.015em;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.page-subtitle {
  color: var(--text-2);
  margin: 2px 0 0;
}

.panel-title {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  line-height: 22px;
}

.icon-chip {
  background: var(--accent-weak);
  color: var(--accent);
  border-radius: 12px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  display: inline-flex;
}

.icon-chip.lg {
  border-radius: 14px;
  width: 46px;
  height: 46px;
}

.icon-chip.sm {
  border-radius: 9px;
  width: 28px;
  height: 28px;
}

.icon-chip.neutral {
  background: var(--tag-bg);
  color: var(--tag-text);
}

.icon-chip.ok {
  background: var(--ok-tint);
  color: var(--ok-dot);
}

.icon-chip.warn {
  background: var(--warn-tint);
  color: var(--warn-dot);
}

.icon-chip.crit {
  background: var(--crit-tint);
  color: var(--crit-dot);
}

.icon-chip.joy {
  background: var(--joy-tint);
  color: var(--joy-text);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--e-1);
}

.team-grid {
  grid-template-columns: minmax(520px, 1fr) var(--detail-pane-width);
  gap: 14px;
  display: grid;
}

.team-grid.full {
  grid-template-columns: minmax(0, 1fr);
}

.desktop-team {
  gap: 14px;
  display: grid;
}

.table-shell {
  overflow: auto;
}

.data-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 680px;
}

.team-table {
  table-layout: fixed;
  min-width: 600px;
}

.team-col-status {
  width: 132px;
}

.team-col-name {
  width: 30%;
}

.team-col-role {
  width: 26%;
}

.team-col-notes {
  width: 58px;
}

.team-col-sparring {
  width: 86px;
}

.tracking-table {
  table-layout: fixed;
  min-width: 720px;
}

.tracking-col-leader {
  width: 26%;
}

.tracking-col-class {
  width: 116px;
}

.tracking-col-number {
  width: 76px;
}

.tracking-col-active {
  width: 96px;
}

.tracking-col-last {
  width: 104px;
}

.user-table {
  table-layout: fixed;
  min-width: 640px;
}

.user-col-name {
  width: 36%;
}

.user-col-role {
  width: 120px;
}

.user-col-team {
  width: 70px;
}

.user-col-login {
  width: 128px;
}

.user-col-actions {
  width: 116px;
}

.data-table th {
  background: var(--surface);
  border-bottom: 1px solid var(--border-strong);
  color: var(--text-3);
  letter-spacing: .06em;
  text-align: left;
  text-transform: uppercase;
  z-index: 1;
  height: 38px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 650;
  position: sticky;
  top: 0;
}

.data-table td {
  border-bottom: 1px solid var(--border);
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
  vertical-align: middle;
  height: 34px;
  padding: 10px;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.team-table th:first-child, .team-table td:first-child {
  padding-left: 12px;
  padding-right: 6px;
}

.team-table .numeric, .tracking-table .numeric, .user-table .numeric {
  padding-left: 6px;
  padding-right: 10px;
}

.team-table .cell-ellipsis {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
}

.data-table tr {
  transition: background var(--dur-fast) var(--ease);
}

.data-table tbody tr:hover {
  background: var(--surface-2);
}

.data-table tbody tr.selected {
  background: var(--accent-weak);
  box-shadow: inset 3px 0 0 var(--accent);
}

.data-table tbody tr[tabindex] {
  cursor: pointer;
}

.data-table tbody tr.empty-table-row, .data-table tbody tr.empty-table-row:hover {
  background: none;
}

.empty-table-row td {
  height: 72px;
}

.table-empty {
  justify-content: center;
}

.data-table tbody tr:focus-visible {
  z-index: 2;
  position: relative;
}

.sort-button {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  transition: color var(--dur-fast) var(--ease);
  background: none;
  border: 0;
  border-radius: 6px;
  align-items: center;
  gap: 5px;
  padding: 2px 4px;
  display: inline-flex;
}

.sort-button:hover {
  color: var(--text);
}

.sort-button.active {
  color: var(--accent);
}

.sort-button svg {
  opacity: .55;
}

.sort-button.active svg {
  opacity: 1;
}

.numeric {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.muted {
  color: var(--text-3);
}

.status-pill, .type-pill, .tag-pill, .class-pill, .role-pill {
  border-radius: var(--r-full);
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 550;
  display: inline-flex;
}

.status-pill.green {
  background: var(--ok-tint);
  border: 1px solid var(--ok-line);
  color: var(--ok-text);
}

.status-pill.yellow {
  background: var(--warn-tint);
  border: 1px solid var(--warn-line);
  color: var(--warn-text);
}

.status-pill.red {
  background: var(--crit-tint);
  border: 1px solid var(--crit-line);
  color: var(--crit-text);
}

.tag-pill {
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  color: var(--tag-text);
}

.reminder-pill {
  background: var(--warn-tint);
  border: 1px solid var(--warn-line);
  border-radius: var(--r-full);
  color: var(--warn-text);
  margin-top: 4px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 650;
  line-height: 16px;
  display: inline-flex;
}

.type-pill.staerke {
  background: var(--ok-tint);
  border: 1px solid var(--ok-line);
  color: var(--ok-text);
}

.type-pill.herausforderung, .class-pill.inactive {
  background: var(--warn-tint);
  border: 1px solid var(--warn-line);
  color: var(--warn-text);
}

.class-pill.hard {
  background: var(--accent-weak);
  border: 1px solid var(--info-line);
  color: var(--info-text);
}

.class-pill.soft {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text-2);
}

.class-pill.critical {
  background: var(--crit-tint);
  border: 1px solid var(--crit-line);
  color: var(--crit-text);
}

.role-pill.owner {
  background: var(--surface);
  border: 1px solid var(--accent);
  color: var(--accent);
}

.role-pill.admin {
  background: var(--info-tint);
  border: 1px solid var(--info-line);
  color: var(--info-text);
}

.role-pill.leader {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text-2);
}

.detail-pane {
  grid-template-rows: auto auto minmax(0, 1fr);
  min-height: 520px;
  max-height: calc(100vh - 124px);
  display: grid;
  overflow: hidden;
}

.pane-head {
  border-bottom: 1px solid var(--border);
  gap: 12px;
  padding: 16px;
  display: grid;
}

.panel > .pane-head:only-child, section.panel.pane-head, aside.panel.pane-head {
  border-bottom: 0;
}

.pane-title {
  grid-template-columns: 32px 1fr auto;
  align-items: start;
  gap: 10px;
  display: grid;
}

.pane-title h2 {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  margin: 0;
  font-size: 17px;
  font-weight: 650;
  line-height: 22px;
}

.pane-tabs {
  border-bottom: 1px solid var(--border);
  gap: 4px;
  padding: 0 12px;
  display: flex;
}

.tab {
  color: var(--text-2);
  min-height: 40px;
  transition: color var(--dur-fast) var(--ease);
  background: none;
  border: 0;
  padding: 8px 10px;
  position: relative;
}

.tab:after {
  background: var(--accent);
  content: "";
  height: 2px;
  transition: transform var(--dur-base) var(--ease-out);
  border-radius: 2px 2px 0 0;
  position: absolute;
  bottom: -1px;
  left: 8px;
  right: 8px;
  transform: scaleX(0);
}

.tab:hover {
  color: var(--text);
}

.tab.active {
  color: var(--text);
  font-weight: 600;
}

.tab.active:after {
  transform: scaleX(1);
}

.tab:disabled {
  color: var(--text-disabled);
}

.pane-body {
  min-height: 0;
  padding: 16px;
  overflow: hidden auto;
}

.pane-body .toolbar-actions {
  flex-wrap: wrap;
}

.pane-body .button {
  flex: auto;
}

.segmented {
  background: var(--surface-sunk);
  border: 1px solid var(--border);
  border-radius: 10px;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 3px;
  display: grid;
}

.segment {
  color: var(--text-2);
  min-height: 30px;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  background: none;
  border: 0;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  display: flex;
}

.segment:hover {
  color: var(--text);
}

.segment.active {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 1px 3px #16233a1f;
}

.notes-list {
  gap: 0;
  display: grid;
}

.note-row {
  border-bottom: 1px solid var(--border);
  gap: 8px;
  min-width: 0;
  padding: 12px 0;
  display: grid;
}

.note-row:first-child {
  padding-top: 0;
}

.note-row:last-child {
  border-bottom: 0;
}

.note-meta {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.note-actions {
  margin-left: auto;
}

.note-text {
  color: var(--text);
  overflow-wrap: anywhere;
  margin: 0;
}

.form-grid {
  gap: 12px;
  display: grid;
}

.history-row {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 4px 0;
  display: flex;
}

.field {
  gap: 6px;
  display: grid;
}

.field-label-with-icon {
  align-items: center;
  gap: 10px;
  min-height: 36px;
  display: flex;
}

.field label {
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 650;
}

input, select, textarea {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  min-height: 40px;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  border-radius: 10px;
  width: 100%;
  padding: 9px 12px;
}

textarea {
  resize: vertical;
  min-height: 96px;
}

input:focus, select:focus, textarea:focus {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-weak);
  outline: none;
}

input::placeholder, textarea::placeholder {
  color: var(--text-3);
}

.button {
  min-height: 38px;
  transition: background var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
  white-space: nowrap;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-weight: 550;
  display: inline-flex;
}

.button:active:not(:disabled) {
  transform: translateY(1px);
}

.button.primary {
  background: var(--button-gradient);
  border: 1px solid var(--accent-hover);
  color: var(--on-accent);
  box-shadow: 0 1px 2px #1d57ba59, inset 0 1px #ffffff38;
}

.button.primary:hover:not(:disabled) {
  background: linear-gradient(#4c96ff, #3583f8);
  box-shadow: 0 3px 10px #2e7cf659, inset 0 1px #ffffff38;
}

.button.primary:active:not(:disabled) {
  background: var(--accent-active);
  box-shadow: none;
}

.button.secondary {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  box-shadow: 0 1px 2px #16233a0d;
}

.button.secondary:hover:not(:disabled), .button.ghost:hover:not(:disabled) {
  background: var(--surface-2);
}

.button.ghost {
  color: var(--text-2);
  background: none;
  border: 1px solid #0000;
}

.button.destructive {
  background: var(--surface);
  border: 1px solid var(--crit-line);
  color: var(--crit-text);
}

.button.destructive:hover:not(:disabled) {
  background: var(--crit-tint);
}

.icon-button {
  border-radius: var(--r-sm);
  color: var(--text-2);
  height: 36px;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  background: none;
  border: 1px solid #0000;
  justify-content: center;
  align-items: center;
  width: 36px;
  display: inline-flex;
}

.icon-button:hover {
  background: var(--surface-2);
  color: var(--text);
}

.kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}

.kpi-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--e-1);
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 16px;
  display: flex;
  overflow: hidden;
}

.kpi-copy {
  gap: 2px;
  min-width: 0;
  display: grid;
}

.kpi-value {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
}

.kpi-label {
  color: var(--text-3);
  font-size: 12px;
  font-weight: 650;
}

.meter {
  background: var(--surface-sunk);
  border-radius: var(--r-full);
  height: 8px;
  overflow: hidden;
}

.meter-fill {
  background: var(--ring-gradient);
  border-radius: var(--r-full);
  height: 100%;
  transition: width var(--dur-slow) var(--ease-out);
}

.info-strip, .error-strip {
  border-radius: var(--r-md);
  overflow-wrap: anywhere;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 10px 12px;
  display: flex;
}

.info-strip {
  background: var(--info-tint);
  border: 1px solid var(--info-line);
  color: var(--info-text);
}

.error-strip {
  background: var(--crit-tint);
  border: 1px solid var(--crit-line);
  color: var(--crit-text);
}

.dictation-layout, .sparring-layout, .settings-layout, .analytics-layout {
  grid-template-columns: minmax(0, 1fr) var(--side-pane-width);
  align-items: start;
  gap: 14px;
  display: grid;
}

.user-admin-panel {
  gap: 14px;
  margin-top: 12px;
  padding: 16px;
  display: grid;
}

.user-admin-layout {
  grid-template-columns: minmax(0, 1fr) var(--admin-pane-width);
  gap: 14px;
  display: grid;
}

.user-form h3 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 15px;
  line-height: 20px;
}

.row-actions {
  gap: 4px;
  display: flex;
}

.secret-box {
  background: var(--warn-tint);
  border: 1px solid var(--warn-line);
  border-radius: var(--r-md);
  color: var(--warn-text);
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  display: flex;
}

.secret-box div {
  gap: 3px;
  min-width: 0;
  display: grid;
}

.secret-box small {
  color: var(--warn-text);
  font-size: 12px;
}

.secret-box code {
  color: var(--text);
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
}

.empty-state {
  color: var(--text-3);
  align-items: center;
  gap: 8px;
  min-height: 40px;
  display: flex;
}

.empty-hero {
  background: radial-gradient(280px 140px at 50% 0%, #2e7cf60d, transparent 70%),
    var(--surface-2);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text-2);
  text-align: center;
  place-items: center;
  gap: 10px;
  padding: 32px 20px;
  display: grid;
}

.empty-hero h3 {
  color: var(--text);
  font-family: var(--font-display);
  margin: 0;
  font-size: 16px;
  line-height: 22px;
}

.empty-hero p {
  color: var(--text-2);
  max-width: 340px;
  margin: 0;
}

.arnt-ring {
  background: var(--surface);
  border-radius: var(--r-full);
  flex: none;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  position: relative;
}

.arnt-ring:before {
  background: var(--ring-gradient);
  border-radius: var(--r-full);
  content: "";
  -webkit-mask-composite: xor;
  padding: 2px;
  position: absolute;
  inset: -2px;
  -webkit-mask-image: linear-gradient(#fff 0 0), linear-gradient(#fff 0 0);
  mask-image: linear-gradient(#fff 0 0), linear-gradient(#fff 0 0);
  -webkit-mask-position: 0 0, 0 0;
  mask-position: 0 0, 0 0;
  -webkit-mask-size: auto, auto;
  mask-size: auto, auto;
  -webkit-mask-repeat: repeat, repeat;
  mask-repeat: repeat, repeat;
  -webkit-mask-clip: content-box, border-box;
  mask-clip: content-box, border-box;
  -webkit-mask-origin: content-box, border-box;
  mask-origin: content-box, border-box;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  -webkit-mask-source-type: auto, auto;
  mask-mode: match-source, match-source;
}

.arnt-ring.pulsing:before {
  animation: ring-pulse 1.6s var(--ease) infinite;
}

@keyframes ring-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .6;
    transform: scale(1.08);
  }
}

.checkbox-list {
  border: 0;
  gap: 8px;
  max-height: 220px;
  margin: 0;
  padding: 0;
  display: grid;
  overflow: auto;
}

.checkbox-list legend {
  color: var(--text-2);
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 650;
}

.checkbox-list label {
  grid-template-columns: 18px 1fr;
  align-items: flex-start;
  gap: 8px;
  display: grid;
}

.checkbox-list input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  min-height: 0;
  margin-top: 2px;
  padding: 0;
}

.checkbox-list small {
  color: var(--text-3);
  font-size: 12px;
  display: block;
}

.dictation-results, .side-stack {
  gap: 14px;
  display: grid;
}

.candidate {
  border-bottom: 1px solid var(--border);
  gap: 8px;
  padding: 12px 0;
  display: grid;
}

.candidate:first-child {
  padding-top: 0;
}

.transcript {
  gap: 0;
  max-height: 460px;
  display: grid;
  overflow: auto;
}

.turn {
  border-bottom: 1px solid var(--border);
  gap: 6px;
  padding: 14px 0;
  display: grid;
}

.speaker {
  color: var(--text-3);
  font-size: 12px;
  font-weight: 650;
}

.template-pills {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.template-pill {
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--r-full);
  color: #fff;
  min-width: 0;
  transition: background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 550;
  display: inline-flex;
}

.template-pill:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px #2e7cf64d;
}

.template-pill:disabled {
  opacity: .55;
}

.history-controls {
  gap: 8px;
  display: grid;
}

.history-controls .search {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  height: 40px;
}

.history-controls .search:focus-within {
  border-color: var(--accent);
}

.history-list {
  gap: 6px;
  display: grid;
}

.history-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  text-align: left;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  display: flex;
}

.history-item:hover {
  background: var(--accent-weak);
  border-color: var(--accent);
  box-shadow: var(--e-1);
  transform: translateY(-1px);
}

.history-item svg {
  color: var(--text-3);
  flex: none;
}

.history-item-main {
  gap: 2px;
  min-width: 0;
  display: grid;
}

.history-item-main strong {
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.history-item-main .muted {
  font-size: 12px;
}

.toast-stack {
  z-index: 20;
  gap: 8px;
  max-width: 380px;
  display: grid;
  position: fixed;
  bottom: 42px;
  right: 16px;
}

.toast {
  animation: toast-in var(--dur-base) var(--ease-out);
  border-radius: var(--r-md);
  box-shadow: var(--e-3);
  color: #e8edf6;
  background: #182741;
  border: 1px solid #ffffff1a;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  display: flex;
}

.toast .icon-button {
  color: #e8edf699;
  width: 24px;
  height: 24px;
  margin: -2px -4px -2px auto;
}

.toast .icon-button:hover {
  color: #fff;
  background: #ffffff1a;
}

.toast.success svg:first-child {
  color: #4ade80;
}

.toast.error svg:first-child {
  color: #f8867d;
}

.toast.info svg:first-child {
  color: #7db4ff;
}

.toast.success svg path, .toast.success svg polyline {
  animation: check-draw .48s var(--ease-out);
  stroke-dasharray: 24;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px)scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0)scale(1);
  }
}

@keyframes check-draw {
  from {
    stroke-dashoffset: 24px;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.modal-backdrop {
  animation: backdrop-in var(--dur-base) var(--ease-out);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: var(--backdrop);
  z-index: 30;
  justify-content: center;
  align-items: center;
  padding: 16px;
  display: flex;
  position: fixed;
  inset: 0;
}

@keyframes backdrop-in {
  from {
    -webkit-backdrop-filter: blur();
    backdrop-filter: blur();
    opacity: 0;
  }

  to {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 1;
  }
}

.modal {
  animation: modal-in var(--dur-base) var(--ease-out);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--e-3);
  gap: 14px;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 48px);
  padding: 22px;
  display: grid;
  overflow-y: auto;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: scale(.96)translateY(8px);
  }

  to {
    opacity: 1;
    transform: scale(1)translateY(0);
  }
}

.modal h2 {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  margin: 0;
  font-size: 17px;
  line-height: 23px;
}

.modal-actions {
  justify-content: flex-end;
  gap: 8px;
  display: flex;
}

.auth-modal {
  gap: 14px;
}

.transcript-modal {
  max-width: 640px;
}

.transcript-modal-head {
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  display: flex;
}

.transcript-modal-title {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.readonly-badge {
  background: var(--tag-bg);
  border-radius: var(--r-full);
  color: var(--tag-text);
  letter-spacing: .02em;
  text-transform: uppercase;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 650;
  display: inline-flex;
}

.transcript.chat.readonly {
  flex: none;
  gap: 14px;
  min-height: 0;
  max-height: min(60vh, 520px);
  padding: 2px;
  overflow-y: auto;
}

.mobile-capture {
  display: none;
}

.sparring-panel {
  flex-direction: column;
  gap: 12px;
  height: calc(100vh - 140px);
  min-height: 340px;
  padding: 16px;
  display: flex;
}

.transcript.chat {
  flex: 1;
  align-content: start;
  gap: 14px;
  min-height: 0;
  max-height: none;
  padding: 4px 2px;
  display: grid;
  overflow-y: auto;
}

.chat-turn {
  animation: chat-in var(--dur-base) var(--ease-out);
  align-items: flex-end;
  gap: 10px;
  display: flex;
}

.chat-turn.self {
  justify-content: flex-end;
}

.chat-avatar {
  width: 32px;
  height: 32px;
}

.chat-bubble {
  border-radius: var(--r-lg);
  gap: 6px;
  max-width: min(78%, 560px);
  padding: 10px 14px;
  display: grid;
}

.chat-turn.coach .chat-bubble {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: var(--r-sm);
}

.chat-turn.self .chat-bubble {
  border-bottom-right-radius: var(--r-sm);
  background: linear-gradient(135deg, #3f8dff, #2e7cf6);
  box-shadow: 0 2px 8px #2e7cf640;
}

.chat-turn.self .note-text {
  color: #fff;
}

.chat-save {
  color: var(--text-3);
  transition: color var(--dur-fast) var(--ease);
  background: none;
  border: 0;
  justify-self: start;
  align-items: center;
  gap: 4px;
  padding: 0;
  font-size: 12px;
  display: inline-flex;
}

.chat-save:hover:not(:disabled) {
  color: var(--accent);
}

.chat-save:disabled {
  opacity: .7;
}

.composer {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-full);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  align-items: center;
  gap: 8px;
  padding: 5px 5px 5px 16px;
  display: flex;
}

.composer:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-weak);
}

.composer input {
  box-shadow: none;
  background: none;
  border: 0;
  min-height: 34px;
  padding: 4px 0;
}

.composer input:focus {
  box-shadow: none;
  border: 0;
}

.composer-send {
  background: var(--button-gradient);
  border-radius: var(--r-full);
  color: #fff;
  height: 36px;
  transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
  border: 0;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 36px;
  display: inline-flex;
  box-shadow: 0 1px 3px #1d57ba59;
}

.composer-send:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px #2e7cf666;
}

.composer-send:active:not(:disabled) {
  transform: translateY(0);
}

.composer-hint {
  color: var(--text-3);
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0 6px;
  font-size: 12px;
  display: flex;
}

.chat-bubble.typing {
  align-items: center;
  gap: 4px;
  min-height: 38px;
  display: flex;
}

.chat-bubble.typing span {
  animation: typing-dot 1s var(--ease) infinite;
  background: var(--text-3);
  border-radius: var(--r-full);
  width: 6px;
  height: 6px;
}

.chat-bubble.typing span:nth-child(2) {
  animation-delay: .16s;
}

.chat-bubble.typing span:nth-child(3) {
  animation-delay: .32s;
}

@keyframes typing-dot {
  0%, 60%, 100% {
    opacity: .35;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes chat-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.button.recording {
  animation: recording-pulse 1.6s var(--ease) infinite;
  border-color: var(--crit-dot);
  color: var(--crit-text);
}

@keyframes recording-pulse {
  0%, 100% {
    box-shadow: 0 0 #dc4a3f59;
  }

  50% {
    box-shadow: 0 0 0 6px #dc4a3f00;
  }
}

.celebration {
  pointer-events: none;
  z-index: 40;
  position: fixed;
  inset: 0;
}

.celebration-particle {
  animation: celebrate .65s var(--ease-out) var(--delay, 0s) both;
  background: var(--joy);
  border-radius: var(--r-full);
  width: 8px;
  height: 8px;
  position: absolute;
  top: 45%;
  left: 50%;
}

.celebration-particle:nth-child(3n) {
  background: var(--accent);
  width: 6px;
  height: 6px;
}

.celebration-particle:nth-child(4n) {
  background: var(--joy-tint);
  border: 1px solid var(--joy);
}

@keyframes celebrate {
  from {
    opacity: 1;
    transform: rotate(var(--angle, 0deg)) translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: rotate(var(--angle, 0deg)) translateY(-140px) scale(.4);
  }
}

.week-bars {
  align-items: end;
  gap: 8px;
  min-height: 120px;
  display: flex;
}

.week-bar {
  text-align: center;
  flex: 1;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  gap: 4px;
  height: 120px;
  display: grid;
}

.week-bar-fill {
  transition: height var(--dur-slow) var(--ease-out);
  background: linear-gradient(#4c96ff, #2e7cf6);
  border-radius: 6px 6px 2px 2px;
  align-self: end;
  width: 100%;
}

.cockpit-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
  display: grid;
}

.health-list {
  gap: 12px;
  display: grid;
}

.health-row {
  gap: 6px;
  display: grid;
}

.health-name {
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  display: flex;
}

.health-bar {
  border-radius: var(--r-full);
  gap: 2px;
  min-height: 22px;
  display: flex;
  overflow: hidden;
}

.health-seg {
  color: #fff;
  min-width: 22px;
  transition: flex-grow var(--dur-slow) var(--ease-out);
  border-radius: 3px;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 650;
  display: flex;
}

.health-seg.green {
  background: var(--ok-dot);
}

.health-seg.yellow {
  background: var(--warn-dot);
}

.health-seg.red {
  background: var(--crit-dot);
}

@media (max-width: 1120px) {
  .cockpit-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.reports-layout {
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  display: grid;
}

.report-list .segmented {
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}

.report-items {
  gap: 8px;
  display: grid;
}

.report-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-align: left;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  gap: 4px;
  padding: 12px;
  display: grid;
}

.report-item:hover {
  background: var(--surface-2);
  box-shadow: var(--e-1);
  transform: translateY(-1px);
}

.report-item.active {
  background: var(--accent-weak);
  border-color: var(--accent);
}

.report-badges {
  flex-wrap: wrap;
  gap: 4px;
  display: inline-flex;
}

.report-detail {
  min-height: 480px;
}

.report-editor {
  font-family: var(--font-mono);
  min-height: 380px;
  font-size: 13px;
  line-height: 1.6;
}

.report-content h3 {
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  margin: 18px 0 8px;
  padding-bottom: 4px;
  font-size: 16px;
}

.report-content h4 {
  margin: 12px 0 4px;
  font-size: 14px;
}

.report-content p {
  margin: 6px 0;
}

.report-content li {
  margin: 4px 0 4px 18px;
}

.panel-inset {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  gap: 10px;
  padding: 12px;
  display: grid;
}

.report-shares {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.report-shares .tag-pill {
  align-items: center;
  gap: 4px;
  display: inline-flex;
}

@media (max-width: 1120px) {
  .reports-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media print {
  .sidebar, .toolbar, .status-line, .mobile-app-bar, .mobile-nav, .mobile-capture, .report-list, .toast-stack, .no-print {
    display: none !important;
  }

  .app-shell {
    display: block;
  }

  .reports-layout {
    grid-template-columns: 1fr;
  }

  .panel, .report-detail {
    box-shadow: none;
    border: 0;
  }

  body {
    background: #fff;
  }
}

@media (max-width: 1280px) {
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-pane {
    min-height: 0;
  }

  .dictation-layout, .sparring-layout, .settings-layout, .analytics-layout, .user-admin-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .auth-shell {
    align-items: start;
    padding: 12px;
    overflow-x: hidden;
  }

  .auth-card {
    grid-template-columns: 1fr;
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    min-height: 0;
  }

  .auth-content {
    padding: 22px 20px;
  }

  .auth-visual {
    order: 2;
    min-height: 148px;
    padding: 18px 20px;
  }

  .auth-visual-claim {
    font-size: 17px;
    line-height: 22px;
  }

  .app-shell {
    min-height: 100dvh;
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
    display: block;
  }

  .sidebar {
    display: none;
  }

  .mobile-app-bar {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 15;
    background: #fafaf8e0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 8px 12px;
    display: grid;
    position: sticky;
    top: 0;
  }

  .mobile-brand {
    border-bottom: 0;
    min-width: 0;
    height: auto;
    padding: 0;
  }

  .mobile-brand .brand-word strong {
    color: var(--ink);
  }

  .mobile-brand .brand-word span {
    color: var(--text-3);
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 38vw;
    overflow: hidden;
  }

  .mobile-brand .brand-word {
    min-width: 0;
  }

  .mobile-app-actions {
    align-items: center;
    gap: 6px;
    min-width: 0;
    display: flex;
  }

  .mobile-app-actions select {
    width: 124px;
    max-width: 34vw;
    min-height: 34px;
    padding: 6px 28px 6px 9px;
  }

  .main {
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    display: grid;
    overflow-x: hidden;
  }

  .toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
    max-width: 100vw;
    height: auto;
    min-height: 0;
    padding: 10px 12px;
    overflow: hidden;
  }

  .breadcrumb, .toolbar-actions .company-select, .toolbar-actions .toolbar-dictation, .toolbar-actions .auth-toolbar-button {
    display: none;
  }

  .toolbar-actions .button.primary {
    grid-column: 1 / -1;
  }

  .toolbar-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: grid;
    overflow-x: hidden;
  }

  .toolbar .search {
    grid-column: 1 / -1;
  }

  .toolbar-actions select, .toolbar-actions .button {
    text-overflow: ellipsis;
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .role-banner {
    min-height: 34px;
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .product-page-header {
    align-items: stretch;
    gap: 10px;
    padding-bottom: 4px;
  }

  .page-title {
    font-size: 21px;
    line-height: 27px;
  }

  .page-heading-main {
    gap: 12px;
  }

  .page-heading-action, .page-heading-action > * {
    width: 100%;
  }

  .pane-body .toolbar-actions {
    flex-wrap: wrap;
  }

  .pane-body .button {
    flex: 180px;
  }

  .content {
    width: 100%;
    max-width: 100vw;
    padding: 14px 12px 20px;
    overflow-x: hidden;
  }

  .page {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .desktop-team {
    display: none;
  }

  .mobile-capture {
    gap: 12px;
    min-width: 0;
    display: grid;
  }

  .mobile-section-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    display: grid;
  }

  .mobile-section-head select {
    width: auto;
    min-height: 36px;
  }

  .mobile-quick-actions {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    display: grid;
  }

  .mobile-quick-actions .button {
    width: 100%;
    min-width: 0;
  }

  .mobile-dictation-card textarea {
    min-height: 92px;
  }

  .mobile-member-list {
    gap: 8px;
    display: grid;
  }

  .mobile-member {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--e-1);
    text-align: left;
    grid-template-columns: 34px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 64px;
    padding: 12px;
    display: grid;
  }

  .mobile-member.active {
    background: var(--accent-weak);
    border-color: var(--accent);
  }

  .mobile-member-main {
    gap: 2px;
    min-width: 0;
    display: grid;
  }

  .mobile-member-main strong, .mobile-member-main .muted {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .mobile-member-main .reminder-pill {
    justify-self: start;
    margin-top: 3px;
  }

  .mobile-member-meta {
    flex-wrap: wrap;
    grid-column: 2 / 3;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    min-width: 0;
    display: flex;
  }

  .mobile-member-meta .status-pill {
    min-height: 20px;
    padding: 1px 8px;
    font-size: 12px;
  }

  .panel, .detail-pane {
    grid-template-rows: auto auto auto;
    min-width: 0;
    max-width: 100%;
  }

  .pane-tabs {
    overflow-x: auto;
  }

  .tab {
    flex: none;
  }

  .dictation-layout, .sparring-layout, .settings-layout, .analytics-layout {
    gap: 10px;
  }

  .sparring-panel {
    height: auto;
    min-height: 0;
  }

  .sparring-panel .transcript.chat {
    min-height: 240px;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kpi-tile {
    min-height: 68px;
    padding: 12px 14px;
  }

  .kpi-value {
    font-size: 24px;
    line-height: 30px;
  }

  .toast-stack {
    bottom: calc(96px + env(safe-area-inset-bottom));
    max-width: none;
    left: 10px;
    right: 10px;
  }

  .mobile-pane-overlay {
    background: var(--bg);
    padding: 0 0 calc(16px + env(safe-area-inset-bottom));
    z-index: 30;
    flex-direction: column;
    display: flex;
    position: fixed;
    inset: 0;
    overflow-y: auto;
  }

  .mobile-pane-bar {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 2;
    background: #fafaf8eb;
    justify-content: space-between;
    align-items: center;
    min-height: 52px;
    padding: 8px 12px;
    display: flex;
    position: sticky;
    top: 0;
  }

  .mobile-nav {
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    box-sizing: border-box;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    z-index: 16;
    background: #fafaf8e6;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    align-items: stretch;
    gap: 2px;
    width: 100vw;
    display: grid;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .mobile-nav-item {
    border-radius: var(--r-md);
    color: var(--text-3);
    background: none;
    border: 0;
    place-items: center;
    gap: 3px;
    min-width: 0;
    min-height: 52px;
    padding: 6px 2px 4px;
    display: grid;
  }

  .mobile-nav-item span {
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    font-size: 10.5px;
    line-height: 12px;
    overflow: hidden;
  }

  .mobile-nav-item.active {
    color: var(--accent);
  }

  .mobile-fab-slot {
    place-items: start center;
    min-width: 64px;
    display: grid;
  }

  .mobile-fab {
    background: var(--button-gradient);
    border: 3px solid var(--bg);
    border-radius: var(--r-full);
    color: #fff;
    height: 54px;
    transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
    justify-content: center;
    align-items: center;
    width: 54px;
    margin-top: -22px;
    display: inline-flex;
    box-shadow: 0 6px 18px #2e7cf66b;
  }

  .mobile-fab:active {
    transform: scale(.96);
  }

  .mobile-fab-label {
    color: var(--text-3);
    margin-top: 2px;
    font-size: 10.5px;
    line-height: 12px;
  }

  .mobile-sheet-backdrop {
    animation: backdrop-in var(--dur-base) var(--ease-out);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    background: var(--backdrop);
    z-index: 25;
    align-items: end;
    display: flex;
    position: fixed;
    inset: 0;
  }

  .mobile-sheet {
    animation: sheet-in var(--dur-base) var(--ease-out);
    background: var(--surface);
    box-shadow: var(--e-3);
    padding: 10px 12px calc(18px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
    gap: 4px;
    width: 100%;
    display: grid;
  }

  .mobile-sheet:before {
    background: var(--border-strong);
    border-radius: var(--r-full);
    content: "";
    justify-self: center;
    width: 36px;
    height: 4px;
    margin-bottom: 8px;
  }

  .mobile-sheet-item {
    border-radius: var(--r-md);
    color: var(--text);
    text-align: left;
    background: none;
    border: 0;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 8px 10px;
    display: flex;
  }

  .mobile-sheet-item:hover, .mobile-sheet-item.active {
    background: var(--accent-weak);
  }

  @keyframes sheet-in {
    from {
      opacity: 0;
      transform: translateY(24px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .toolbar.mobile-toolbar-hidden {
    display: none;
  }

  input, select, textarea {
    font-size: 16px;
  }

  .button {
    min-height: 44px;
  }

  .icon-button {
    width: 40px;
    height: 40px;
  }

  .mobile-app-actions .icon-button {
    width: 36px;
    height: 36px;
  }

  .tab {
    min-height: 44px;
  }

  .mobile-member:active, .mobile-card:active, .history-item:active, .report-item:active {
    background: var(--surface-2);
  }

  .mobile-back {
    color: var(--accent);
    background: none;
    border: 0;
    align-items: center;
    gap: 2px;
    min-height: 40px;
    margin-left: -8px;
    padding: 0 10px 0 2px;
    font-size: 15.5px;
    font-weight: 600;
    display: inline-flex;
  }

  .mobile-pane-bar strong {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .mobile-pane-overlay .pane-title > .icon-button {
    display: none;
  }

  .mobile-pane-overlay .detail-pane {
    box-shadow: none;
    border: 0;
    border-radius: 0;
  }

  .desktop-table {
    display: none;
  }

  .mobile-card-list {
    gap: 8px;
    display: grid;
  }

  .mobile-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--e-1);
    text-align: left;
    gap: 10px;
    padding: 14px;
    display: grid;
  }

  .mobile-card-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    display: grid;
  }

  .mobile-card-head.with-avatar {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .mobile-card-title {
    gap: 2px;
    min-width: 0;
    display: grid;
  }

  .mobile-card-title strong, .mobile-card-title .muted {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .mobile-card-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    display: grid;
  }

  .mobile-card-stat {
    background: var(--surface-2);
    border-radius: var(--r-sm);
    padding: 8px 10px;
    display: grid;
  }

  .mobile-card-stat strong {
    text-align: left;
    font-size: 16px;
    line-height: 22px;
  }

  .mobile-card-stat span {
    color: var(--text-3);
    font-size: 12px;
  }

  .mobile-card-tags {
    flex-wrap: wrap;
    gap: 4px;
    display: flex;
  }

  .mobile-card-meta {
    color: var(--text-3);
    font-size: 13px;
  }

  .mobile-card-actions {
    flex-wrap: wrap;
    gap: 8px;
    display: flex;
  }

  .mobile-card-actions .button {
    flex: auto;
  }

  .sparring-panel {
    height: calc(100dvh - 260px - env(safe-area-inset-bottom));
    min-height: 400px;
    padding: 12px;
  }

  .template-pills {
    scrollbar-width: none;
    flex-wrap: nowrap;
    margin: 0 -12px;
    padding: 2px 12px;
    overflow-x: auto;
  }

  .template-pills::-webkit-scrollbar {
    display: none;
  }

  .template-pill {
    flex: none;
  }

  .chat-bubble {
    max-width: 85%;
  }

  .report-detail {
    display: none;
  }

  .report-detail.open {
    background: var(--bg);
    box-shadow: none;
    min-height: 0;
    padding: 0 12px calc(24px + env(safe-area-inset-bottom));
    z-index: 30;
    border: 0;
    border-radius: 0;
    flex-direction: column;
    display: flex;
    position: fixed;
    inset: 0;
    overflow-y: auto;
  }

  .report-detail.open > * {
    flex: none;
  }

  .report-detail.open > .mobile-pane-bar {
    margin: 0 -12px 6px;
  }

  .report-detail-head {
    flex-direction: column;
    gap: 10px;
    display: flex;
  }

  .report-detail-head .toolbar-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    display: flex;
  }

  .report-detail-head .toolbar-actions .button {
    flex: auto;
    width: auto;
  }

  .report-editor {
    min-height: 260px;
  }

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

  .modal {
    animation: sheet-in var(--dur-base) var(--ease-out);
    max-width: none;
    max-height: calc(100dvh - 32px);
    padding: 14px 16px calc(20px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 20px 20px 0 0;
  }

  .modal:before {
    background: var(--border-strong);
    border-radius: var(--r-full);
    content: "";
    justify-self: center;
    width: 36px;
    height: 4px;
  }

  .modal-actions {
    gap: 10px;
  }

  .modal-actions .button {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .tracking-controls, .mobile-quick-actions {
    grid-template-columns: 1fr;
  }

  .mobile-member {
    grid-template-columns: 34px minmax(0, 1fr) 14px;
  }

  .mobile-member-meta {
    flex-wrap: wrap;
    grid-column: 2 / 3;
    justify-content: flex-start;
    align-items: center;
    display: flex;
  }

  .mobile-member > svg {
    grid-area: 1 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0s !important;
    animation: none !important;
  }
}

.company-cell {
  align-items: center;
  gap: 10px;
  display: flex;
}

.company-identity {
  align-items: center;
  gap: 12px;
  min-width: 0;
  display: flex;
}

.company-logo {
  background: var(--surface);
  border: 1px solid var(--border);
  object-fit: contain;
  border-radius: 8px;
  flex: none;
  width: 30px;
  height: 30px;
  padding: 2px;
}

.company-logo.large {
  border-radius: var(--r-md);
  width: 52px;
  height: 52px;
  padding: 4px;
}

.company-logo.placeholder {
  background: var(--surface-sunk);
  color: var(--text-3);
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.tenant-brand {
  border-radius: var(--r-md);
  color: #ffffffd9;
  background: #ffffff0f;
  border: 1px solid #ffffff1f;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 6px 10px;
  font-size: 12.5px;
  display: flex;
  overflow: hidden;
}

.tenant-brand img {
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  flex: none;
  width: 24px;
  height: 24px;
  padding: 2px;
}

.tenant-brand span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.impersonation-pill {
  background: var(--warn-tint);
  border: 1px solid var(--warn-line);
  box-shadow: var(--e-2, 0 8px 24px #0e17262e);
  color: var(--warn-text);
  z-index: 70;
  border-radius: 999px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 14px;
  font-size: 13px;
  display: flex;
  position: fixed;
  bottom: 74px;
  left: 50%;
  transform: translateX(-50%);
}

.impersonation-pill .button {
  padding: 4px 12px;
}

@media (min-width: 900px) {
  .impersonation-pill {
    bottom: 18px;
  }
}

.signal-distribution {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  display: flex;
}

.signal-count {
  border-radius: 999px;
  padding: 3px 10px;
  font-weight: 600;
}

.signal-count.green {
  background: var(--ok-tint);
  border: 1px solid var(--ok-line);
  color: var(--ok-text);
}

.signal-count.yellow {
  background: var(--warn-tint);
  border: 1px solid var(--warn-line);
  color: var(--warn-text);
}

.signal-count.red {
  background: var(--crit-tint);
  border: 1px solid var(--crit-line);
  color: var(--crit-text);
}

.insight-presets {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  display: grid;
}

.insight-preset {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  text-align: left;
  gap: 3px;
  padding: 12px 14px;
  transition: border-color .12s, background .12s;
  display: grid;
}

.insight-preset:hover:not(:disabled) {
  background: var(--accent-weak);
  border-color: var(--accent);
}

.insight-preset:disabled {
  cursor: wait;
  opacity: .65;
}

.insight-preset .muted {
  font-size: 12.5px;
}

.insight-result {
  border-top: 1px solid var(--border);
  gap: 16px;
  padding-top: 14px;
  display: grid;
}

.insight-heading {
  margin: 0 0 8px;
  font-size: 14px;
}

.insight-theme-list {
  gap: 8px;
  display: grid;
}

.insight-theme {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  display: flex;
}

.trend-pill {
  border-radius: 999px;
  flex: none;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
}

.trend-pill.steigend {
  background: var(--crit-tint);
  color: var(--crit-text);
}

.trend-pill.stabil {
  background: var(--tag-bg);
  color: var(--tag-text);
}

.trend-pill.fallend {
  background: var(--ok-tint);
  color: var(--ok-text);
}

.insight-recommendations {
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  display: grid;
}

.insight-quote {
  border-left: 3px solid var(--accent);
  color: var(--text-2, var(--text));
  margin: 0 0 8px;
  padding: 4px 0 4px 12px;
  font-style: italic;
}

.ref-chip {
  background: var(--accent-weak);
  border: 1px solid var(--info-line);
  color: var(--info-text);
  cursor: pointer;
  font-family: var(--font-mono);
  vertical-align: 1px;
  border-radius: 6px;
  margin: 0 2px;
  padding: 1px 6px;
  font-size: 11.5px;
  font-weight: 600;
}

.ref-chip:hover {
  border-color: var(--accent);
}

.insight-summary-cell {
  color: var(--text-2, var(--text));
  max-width: 420px;
}

.insight-history-row {
  border: 0;
  border-top: 1px solid var(--border);
  cursor: pointer;
  text-align: left;
  background: none;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  width: 100%;
  padding: 10px 2px;
  display: flex;
}

.insight-history-row:hover .insight-history-question {
  color: var(--accent);
}

.insight-history-question {
  flex: 1;
  min-width: 200px;
  font-weight: 600;
}

.chat-transcript {
  gap: 10px;
  max-height: 55vh;
  padding-right: 4px;
  display: grid;
  overflow-y: auto;
}

.chat-line {
  border-radius: var(--r-md);
  gap: 3px;
  max-width: 88%;
  padding: 8px 12px;
  display: grid;
}

.chat-line p {
  white-space: pre-wrap;
  margin: 0;
}

.chat-line.user {
  background: var(--accent-weak);
  justify-self: flex-end;
}

.chat-line.assistant {
  background: var(--surface-sunk);
  justify-self: flex-start;
}

.chat-speaker {
  color: var(--text-3);
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 11.5px;
  font-weight: 600;
}

.spin {
  animation: .9s linear infinite insight-spin;
}

@keyframes insight-spin {
  to {
    transform: rotate(360deg);
  }
}

.platform-brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.platform-brand-tag {
  color: #ffffff9e;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 11.5px;
  font-weight: 600;
}

.mobile-admin-logo {
  aspect-ratio: 1531 / 463;
  object-fit: cover;
  width: auto;
  height: 30px;
}

.sort-header {
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  background: none;
  border: 0;
  align-items: center;
  gap: 4px;
  padding: 0;
  display: inline-flex;
}

.sort-header.active {
  color: var(--accent);
}

.live-panel {
  background: var(--surface-sunk);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  gap: 10px;
  padding: 12px 14px;
  display: grid;
}

.live-steps {
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.live-steps li {
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  display: flex;
}

.live-steps li.done {
  color: var(--text-3);
}

.live-steps li.current {
  color: var(--text);
  font-weight: 600;
}

.live-check {
  color: var(--ok-dot);
  flex: none;
  font-size: 12px;
}

.live-steps .spin {
  color: var(--accent);
  flex: none;
  align-self: center;
}

.live-stream {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text-3);
  font-family: var(--font-mono);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 180px;
  margin: 0;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.5;
  overflow-y: auto;
}

.live-cursor {
  color: var(--accent);
  animation: .9s step-end infinite live-blink;
}

@keyframes live-blink {
  50% {
    opacity: 0;
  }
}

.insight-history-list {
  display: grid;
}

/*# sourceMappingURL=%5Broot-of-the-server%5D__02d1i5b._.css.map*/