@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-500.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-700.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/inter-800.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #050506;
  --panel: #0c0c0f;
  --panel-2: #131317;
  --panel-3: #1c1c22;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --muted: #a0a0aa;
  --muted-2: #74747f;
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --cyan: #38bdf8;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #fb7185;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 16px 48px -16px rgba(0, 0, 0, 0.6);
  font-family: "Segoe UI Variable Text", "Segoe UI", "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  background-color: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scrollbar-color: var(--panel-3) var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
  color-scheme: dark;
  accent-color: var(--purple);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-2);
  opacity: 1;
}

select option {
  color: var(--text);
  background: var(--panel-2);
}

button {
  color: inherit;
}

strong,
b {
  font-weight: 500;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
}

*::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

*::-webkit-scrollbar-track {
  background: var(--bg);
}

*::-webkit-scrollbar-thumb {
  border: 3px solid var(--bg);
  border-radius: 999px;
  background: var(--panel-3);
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--muted-2);
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
}

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

#ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(ellipse 60% 38% at 50% 0%, rgba(124, 58, 237, 0.08), transparent 70%);
  background-size:
    48px 48px,
    48px 48px,
    auto;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  z-index: -1;
}

.boot-screen {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 24px;
}

.boot-line {
  width: 120px;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.boot-line span {
  display: block;
  width: 48%;
  height: 100%;
  background: var(--purple);
  animation: loading 1.1s ease-in-out infinite;
}

@keyframes loading {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(220%);
  }
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(167, 139, 250, 0.22);
  background: #09060d;
}

.brand-logo.large {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  box-shadow: 0 14px 44px rgba(124, 58, 237, 0.25);
}

.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(480px, 1.1fr);
}

.login-panel {
  display: flex;
  flex-direction: column;
  padding: 48px clamp(28px, 6vw, 96px);
  border-right: 1px solid var(--line);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.login-copy {
  margin: auto 0;
  max-width: 560px;
}

.eyebrow {
  color: var(--purple-light);
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.15em;
}

.login-copy h1 {
  margin: 20px 0 18px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  max-width: 760px;
}

.login-copy > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  max-width: 520px;
}

.login-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.login-footnote {
  color: var(--muted-2);
  font-size: 12px;
}

.login-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 8vw 6vw;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
}

.login-visual::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(139, 92, 246, 0.23);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(139, 92, 246, 0.035),
    0 0 0 140px rgba(139, 92, 246, 0.02);
}

.preview-window {
  position: relative;
  width: min(680px, 100%);
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: rgba(13, 16, 23, 0.88);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
  backdrop-filter: blur(24px);
}

.preview-bar {
  display: flex;
  gap: 6px;
  padding-bottom: 16px;
}

.preview-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted-2);
}

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

.preview-column {
  min-height: 320px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}

.preview-heading {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-heading span {
  color: var(--text);
}

.preview-card {
  margin-top: 12px;
  padding: 14px;
  border-radius: 11px;
  background: var(--panel-3);
  border: 1px solid var(--line);
}

.preview-card b {
  display: block;
  font-size: 12px;
  margin-bottom: 20px;
}

.preview-card small {
  color: var(--muted);
}

.preview-card.accent {
  border-color: rgba(139, 92, 246, 0.4);
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.15), var(--panel-3));
}

.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    opacity 160ms ease;
}

.button > span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
}

.button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 0;
}

.button:hover {
  transform: none;
}

.button:active {
  transform: translateY(0);
}

.button.primary {
  background: var(--purple);
  color: #fff;
  box-shadow: none;
}

.button.primary:hover {
  background: #7c3aed;
}

.button.discord {
  background: #5865f2;
  color: white;
}

.button.secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: transparent;
}

.button.secondary:hover,
.button.ghost:hover {
  background: var(--panel-3);
}

.button.ghost {
  min-height: 36px;
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  border-color: var(--line);
}

.button.danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.discord-icon {
  font-size: 16px;
}

.landing {
  min-height: 100vh;
}

.landing-container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.landing-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 60px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 6, 0.82);
  backdrop-filter: blur(16px);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.landing-links {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 2px;
  transform: translateX(-50%);
}

.landing-links a {
  padding: 7px 13px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.landing-links a:hover {
  color: var(--text);
  background: var(--panel-3);
}

.nav-login {
  min-height: 34px;
  padding-inline: 14px;
}

.landing-hero {
  min-height: 720px;
  display: grid;
  place-items: center;
  padding: 150px 24px 90px;
}

.hero-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-badge,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 27px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--purple-light);
  background: var(--panel-2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.landing-hero h1 {
  max-width: 900px;
  margin: 28px 0 20px;
  color: var(--text);
  font-size: clamp(48px, 7vw, 82px);
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -0.055em;
}

.landing-hero h1 span {
  color: var(--purple-light);
}

.landing-hero p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-primary {
  min-height: 44px;
  padding-inline: 21px;
}

.landing-hero .hero-note {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 11px;
}

.landing-stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid > div {
  padding: 22px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stats-grid > div:last-child {
  border-right: 0;
}

.stats-grid strong,
.stats-grid span {
  display: block;
}

.stats-grid strong {
  color: var(--text);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.stats-grid span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-section {
  padding: 100px 0;
}

.landing-section-alt {
  background: var(--panel);
}

.section-head {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2,
.landing-cta h2 {
  margin: 17px 0 12px;
  color: var(--text);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.section-head p,
.landing-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.feature-card {
  min-height: 230px;
  padding: 30px;
  background: var(--panel);
  transition: background 160ms ease;
}

.feature-card:hover {
  background: var(--panel-2);
}

.feature-card.feature-wide {
  grid-column: span 2;
}

.feature-index {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--purple-light);
  background: var(--panel-3);
  font-size: 11px;
  font-weight: 500;
}

.feature-card h3,
.workflow-grid h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
}

.feature-card p,
.workflow-grid p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.workflow-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
}

.workflow-grid article > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--purple-light);
  background: var(--panel-3);
  font-size: 13px;
  font-weight: 500;
}

.landing-cta {
  padding: 110px 24px;
  text-align: center;
}

.landing-cta h2 {
  margin-top: 0;
}

.landing-cta .button {
  margin-top: 30px;
}

.landing-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11px;
}

.landing-footer .landing-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pending-layout {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.pending-card {
  width: min(560px, 100%);
  padding: 46px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(17, 20, 27, 0.86);
  box-shadow: var(--shadow);
}

.pending-symbol {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
  border: 1px solid rgba(245, 158, 11, 0.24);
  border-radius: 50%;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.08);
  font-size: 26px;
}

.pending-card h1 {
  font-size: 32px;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
}

.pending-card p {
  color: var(--muted);
  line-height: 1.7;
}

.pending-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 30px;
  padding: 7px 12px 7px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 13px;
}

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

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 244px;
  display: flex;
  flex-direction: column;
  padding: 24px 16px 18px;
  border-right: 1px solid var(--line);
  background: rgba(5, 5, 6, 0.9);
  backdrop-filter: blur(24px);
  z-index: 20;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 24px;
}

.sidebar-brand strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.sidebar-brand span {
  color: var(--muted-2);
  font-size: 11px;
}

.nav-label {
  margin: 18px 11px 8px;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  text-align: left;
}

.nav-button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.nav-button.active {
  color: white;
  background: rgba(139, 92, 246, 0.14);
  font-weight: 500;
}

.nav-icon {
  width: 19px;
  color: currentColor;
  display: grid;
  place-items: center;
}

.nav-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  color: #ddd6fe;
  background: rgba(139, 92, 246, 0.22);
  font-size: 10px;
  font-weight: 500;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.user-chip {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  text-align: left;
}

.user-chip:hover {
  background: rgba(255, 255, 255, 0.03);
}

.avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--panel-3);
  border: 1px solid var(--line-strong);
  object-fit: cover;
  font-size: 12px;
  font-weight: 500;
}

.avatar.small {
  width: 28px;
  height: 28px;
  font-size: 10px;
}

.avatar.tiny {
  width: 22px;
  height: 22px;
  font-size: 9px;
}

.user-chip-copy {
  min-width: 0;
  flex: 1;
}

.user-chip-copy strong,
.user-chip-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-chip-copy strong {
  font-size: 12px;
}

.user-chip-copy span {
  color: var(--muted-2);
  font-size: 10px;
  margin-top: 2px;
}

.main {
  grid-column: 2;
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 6, 0.82);
  backdrop-filter: blur(22px);
}

.topbar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.topbar-title strong {
  color: var(--text);
}

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

.mobile-menu {
  display: none;
}

.content {
  width: min(1600px, 100%);
  margin: 0 auto;
  padding: 42px clamp(22px, 4vw, 54px) 80px;
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.page-head h1 {
  margin: 6px 0 0;
  font-size: clamp(27px, 3vw, 34px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.page-head p {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.page-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.page-actions .button,
.topbar-actions .button {
  flex: 0 0 auto;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.metric-card {
  position: relative;
  min-height: 136px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.metric-card::after {
  content: "";
  position: absolute;
  top: 21px;
  right: 20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--metric-color, var(--purple));
  filter: none;
  opacity: 1;
}

.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-icon {
  color: var(--metric-color, var(--purple));
}

.metric-icon svg {
  width: 17px;
  height: 17px;
}

.metric-value {
  margin-top: 24px;
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.metric-note {
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 11px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 16px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.panel-head {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.panel-head h2 {
  margin: 0;
  font-size: 14px;
}

.panel-head span {
  color: var(--muted);
  font-size: 11px;
}

.activity-list,
.deadline-list {
  padding: 6px 20px;
}

.activity-row,
.deadline-row {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 68px;
  border-bottom: 1px solid var(--line);
}

.activity-row:last-child,
.deadline-row:last-child {
  border-bottom: 0;
}

.activity-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 5px rgba(139, 92, 246, 0.09);
}

.activity-copy,
.deadline-copy {
  min-width: 0;
  flex: 1;
}

.activity-copy strong,
.deadline-copy strong {
  display: block;
  font-size: 12px;
}

.activity-copy span,
.deadline-copy span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.deadline-date {
  text-align: right;
  font-size: 11px;
  color: var(--muted);
}

.deadline-date b {
  display: block;
  color: var(--text);
  font-size: 13px;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.search {
  position: relative;
  flex: 1;
}

.search input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
}

.search input:focus,
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(139, 92, 246, 0.65);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.09);
}

.search::before {
  content: "⌕";
  position: absolute;
  left: 14px;
  top: 9px;
  color: var(--muted);
  font-size: 18px;
}

.filter-select {
  min-height: 42px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--muted);
  background: var(--panel);
}

.task-scope-filter {
  min-width: 180px;
}

.board {
  display: grid;
  grid-template-columns: repeat(5, minmax(250px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x proximity;
}

.board-column {
  position: relative;
  min-height: 540px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.016);
  scroll-snap-align: start;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.board-column.is-drop-target {
  border-color: rgba(167, 139, 250, 0.65);
  background: rgba(124, 58, 237, 0.08);
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.22);
}

.board-column.is-drop-target::after {
  content: "Hier ablegen";
  position: absolute;
  inset: auto 12px 12px;
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(167, 139, 250, 0.48);
  border-radius: 9px;
  color: var(--purple-light);
  background: rgba(124, 58, 237, 0.08);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}

.column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 13px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.column-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.column-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.column-count {
  min-width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-size: 10px;
}

.task-card {
  position: relative;
  margin-bottom: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.task-card-draggable {
  cursor: grab;
}

.task-card-draggable:active {
  cursor: grabbing;
}

.task-card.is-dragging {
  opacity: 0.3;
  transform: scale(0.98);
}

.task-drag-handle {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted-2);
  background: var(--panel-2);
  cursor: grab;
  touch-action: none;
}

.task-drag-handle:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.task-drag-handle:active {
  cursor: grabbing;
}

.task-drag-handle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linecap: round;
}

.task-card-draggable .card-flags {
  padding-right: 30px;
}

.task-drag-ghost {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  max-height: 260px;
  overflow: hidden;
  opacity: 0.94;
  pointer-events: none;
  box-shadow: var(--shadow);
  transform-origin: center;
}

body.task-pointer-dragging {
  cursor: grabbing;
  user-select: none;
}

.task-card-own {
  border-color: rgba(167, 139, 250, 0.28);
  box-shadow: inset 2px 0 0 var(--purple-light);
}

.task-card-open {
  border-color: rgba(251, 191, 36, 0.25);
}

.task-card-image {
  position: relative;
  height: 126px;
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel-2);
}

.task-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.task-card-image span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  min-width: 28px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: white;
  background: rgba(5, 5, 6, 0.82);
  font-size: 10px;
}

.task-owner-banner,
.task-open-banner {
  width: max-content;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: -3px 0 12px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.task-owner-banner {
  color: var(--purple-light);
  background: rgba(124, 58, 237, 0.12);
}

.task-open-banner {
  color: var(--amber);
  background: rgba(251, 191, 36, 0.1);
}

.task-open-banner > span,
.task-needs-person > span {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--amber);
}

.task-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: var(--panel-2);
}

.card-flags {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pill.priority-kritisch {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.09);
  border-color: rgba(239, 68, 68, 0.16);
}

.pill.priority-hoch {
  color: #fdba74;
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.16);
}

.pill.priority-mittel {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.16);
}

.pill.note-count {
  color: #c4b5fd;
  border-color: rgba(167, 139, 250, 0.18);
  background: rgba(124, 58, 237, 0.08);
}

.pill.area-pill {
  color: var(--area-color);
  border-color: color-mix(in srgb, var(--area-color) 28%, transparent);
  background: color-mix(in srgb, var(--area-color) 9%, transparent);
}

.task-card h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.task-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 7px 0 15px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.task-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.task-date {
  color: var(--muted);
  font-size: 10px;
}

.task-date.missing {
  color: var(--amber);
  font-weight: 500;
}

.unassigned {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--amber);
  background: rgba(251, 191, 36, 0.08);
  font-size: 10px;
  font-weight: 500;
}

.changelog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 16px;
}

.changelog-list {
  display: grid;
  gap: 10px;
}

.change-row {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 84px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.change-type {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.change-type.hinzugefuegt {
  color: #86efac;
}

.change-type.bearbeitet {
  color: #93c5fd;
}

.change-type.entfernt {
  color: #fca5a5;
}

.change-copy strong {
  display: block;
  font-size: 13px;
}

.change-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.change-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 10px;
}

.change-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.change-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.danger-icon {
  color: var(--red);
}

.danger-icon:hover {
  border-color: rgba(251, 113, 133, 0.28);
  background: rgba(251, 113, 133, 0.1);
}

.pending-x {
  color: var(--red);
  font-size: 18px;
  font-weight: 800;
}

.approved-check {
  color: var(--green);
  font-size: 16px;
}

.info-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.info-card + .info-card {
  margin-top: 12px;
}

.info-card h3 {
  margin: 0 0 12px;
  font-size: 13px;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.legend {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
}

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

.review-card {
  padding: 20px;
  border: 1px solid rgba(239, 68, 68, 0.16);
  border-radius: 15px;
  background: var(--panel);
}

.review-card h3 {
  margin: 15px 0 7px;
  font-size: 15px;
}

.review-card p {
  min-height: 40px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.review-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.review-actions .button {
  flex: 1 1 auto;
}

.archive-list {
  display: grid;
  gap: 16px;
}

.archive-release {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.archive-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.archive-kicker {
  color: var(--purple-light);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive-head h2 {
  margin: 5px 0 9px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.archive-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 16px;
  color: var(--muted);
  font-size: 10px;
}

.archive-total {
  min-width: 76px;
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  font-weight: 500;
  text-align: right;
}

.archive-total span {
  display: block;
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.archive-summary > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  background: var(--bg);
  color: var(--muted);
  font-size: 10px;
}

.archive-summary b {
  color: var(--text);
  font-size: 14px;
}

.archive-summary .hinzugefuegt b {
  color: #86efac;
}

.archive-summary .bearbeitet b {
  color: #93c5fd;
}

.archive-summary .entfernt b {
  color: #fca5a5;
}

.archive-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-group {
  min-width: 0;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.archive-group:last-child {
  border-right: 0;
}

.archive-group h3 {
  margin: 0 0 13px;
}

.archive-entry {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.archive-entry:first-child {
  border-top: 0;
}

.archive-entry strong {
  overflow: hidden;
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archive-entry span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.archive-entry.empty-entry {
  color: var(--muted-2);
  font-style: italic;
}

.table-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.user-row {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) 160px minmax(180px, 1fr) 130px auto;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.user-area-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.area-badge {
  width: max-content;
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid color-mix(in srgb, var(--area-color) 30%, transparent);
  border-radius: 999px;
  color: var(--area-color);
  background: color-mix(in srgb, var(--area-color) 8%, transparent);
  font-size: 9px;
}

.area-badge i {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.area-empty {
  color: var(--muted-2);
  font-size: 9px;
}

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

.user-identity {
  display: flex;
  align-items: center;
  gap: 11px;
}

.user-identity strong,
.user-identity span {
  display: block;
}

.user-identity strong {
  font-size: 12px;
}

.user-identity span {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 10px;
}

.group-badge {
  width: max-content;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid color-mix(in srgb, var(--group-color) 30%, transparent);
  border-radius: 999px;
  color: var(--group-color);
  background: color-mix(in srgb, var(--group-color) 8%, transparent);
  font-size: 10px;
  font-weight: 500;
}

.group-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.status-text {
  color: var(--muted);
  font-size: 11px;
}

.status-text.pending {
  color: #fbbf24;
}

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

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

.group-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 2px solid var(--group-color);
  border-radius: var(--radius);
  background: var(--panel);
}

.group-card-head {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.group-card-title {
  display: flex;
  align-items: center;
  gap: 11px;
}

.group-color-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--group-color);
}

.group-card-title h2 {
  margin: 0;
  color: var(--text);
  font-size: 14px;
}

.group-card-title span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.group-permissions {
  min-height: 112px;
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  padding: 17px 18px;
}

.group-permissions > span {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--bg);
  font-size: 9px;
  font-weight: 400;
}

.group-permissions .no-permissions {
  border-style: dashed;
  color: var(--muted-2);
}

.group-card-foot {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px 8px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10px;
}

.area-card-copy {
  min-height: 112px;
  padding: 20px 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.protected-group {
  color: var(--purple-light);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.danger-text {
  color: var(--red);
}

.color-field {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0e1117;
}

.color-field input {
  width: 34px;
  height: 30px;
  padding: 2px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.color-field span {
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

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

.permission-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.permission-option:hover {
  border-color: var(--line-strong);
  background: var(--panel-2);
}

.permission-option:has(input:checked) {
  border-color: rgba(124, 58, 237, 0.38);
  background: rgba(124, 58, 237, 0.08);
}

.permission-option input {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  accent-color: var(--purple);
}

.permission-option span,
.permission-option strong,
.permission-option small {
  display: block;
}

.permission-option span {
  min-width: 0;
}

.permission-option strong {
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
}

.permission-option small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.empty {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 30px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.empty strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.modal {
  width: 100%;
  max-width: 680px;
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  color: var(--text);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(3, 5, 8, 0.78);
  backdrop-filter: blur(8px);
}

.modal-shell {
  position: relative;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 28px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.icon-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  line-height: 1;
  text-align: center;
}

.modal h2 {
  margin: 0 40px 6px 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.modal-subtitle {
  margin: 0 40px 24px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.tutorial-layer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

.tutorial-shade {
  position: fixed;
  background: rgba(2, 3, 7, 0.78);
  backdrop-filter: blur(3px);
  pointer-events: auto;
}

.tutorial-focus {
  position: fixed;
  border: 2px solid rgba(183, 121, 255, 0.95);
  border-radius: 14px;
  background: transparent;
  box-shadow:
    0 0 0 4px rgba(139, 92, 246, 0.2),
    0 0 34px rgba(139, 92, 246, 0.48);
  pointer-events: auto;
  transition: inset 180ms ease, width 180ms ease, height 180ms ease;
}

.tutorial-popup {
  position: fixed;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid rgba(183, 121, 255, 0.42);
  border-radius: 18px;
  color: var(--text);
  background:
    radial-gradient(circle at 100% 0, rgba(139, 92, 246, 0.18), transparent 42%),
    #111119;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
  pointer-events: auto;
}

.tutorial-kicker {
  margin-bottom: 10px;
  color: #c4b5fd;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tutorial-popup h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.tutorial-popup p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.tutorial-progress {
  display: flex;
  gap: 5px;
  margin: 20px 0;
}

.tutorial-progress i {
  height: 3px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.tutorial-progress i.active {
  background: linear-gradient(90deg, #8b5cf6, #d946ef);
}

.tutorial-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.tutorial-actions .button {
  min-width: 100px;
}

body.tutorial-active {
  overflow: hidden;
}

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

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

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  color: var(--text);
  background: #0e1117;
}

.field textarea {
  min-height: 94px;
  resize: vertical;
  line-height: 1.55;
}

.field-hint {
  color: var(--muted-2);
  font-size: 10px;
}

.task-image-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.task-image-picker {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 11px;
  color: var(--muted);
  background: var(--bg);
  cursor: pointer;
  text-transform: none;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.task-image-picker:hover {
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(124, 58, 237, 0.05);
}

.task-image-picker-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--purple-light);
  background: rgba(124, 58, 237, 0.12);
}

.task-image-picker-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.task-image-picker strong,
.task-image-picker small {
  display: block;
}

.task-image-picker strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
}

.task-image-picker small {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 10px;
}

.task-image-existing,
.task-image-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.task-image-preview:empty {
  display: none;
}

.task-image-edit-item,
.task-image-preview-item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  text-transform: none;
}

.task-image-edit-item img,
.task-image-preview-item img {
  width: 100%;
  height: 90px;
  display: block;
  object-fit: cover;
}

.task-image-edit-item > span,
.task-image-preview-item > span {
  display: block;
  overflow: hidden;
  padding: 8px 9px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-image-edit-item .task-image-remove {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 0;
  color: var(--red);
  white-space: normal;
}

.task-image-remove input {
  width: 14px;
  height: 14px;
  margin: 0;
}

.task-image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.task-image-gallery a {
  height: 150px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel-2);
}

.task-image-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 180ms ease;
}

.task-image-gallery a:hover img {
  transform: scale(1.025);
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.task-detail-roadmap {
  margin: 20px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.task-needs-person {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 18px 0;
  padding: 13px 14px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.07);
  text-align: left;
}

.task-area-warning {
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 10px;
  color: var(--amber);
  background: rgba(251, 191, 36, 0.06);
  font-size: 11px;
  line-height: 1.6;
}

.task-needs-person > span {
  margin-top: 5px;
}

.task-needs-person strong {
  display: block;
  color: var(--amber);
  font-size: 12px;
}

.task-needs-person p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.task-notes {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.task-notes-head {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.task-notes-head .eyebrow {
  font-size: 8px;
}

.task-notes-head h3 {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 14px;
}

.task-note-list {
  max-height: 310px;
  overflow-y: auto;
  padding: 0 16px;
}

.task-note {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

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

.task-note-author {
  display: flex;
  align-items: center;
  gap: 9px;
}

.task-note-author strong,
.task-note-author span {
  display: block;
}

.task-note-author strong {
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
}

.task-note-author span {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 9px;
}

.task-note p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.task-note-empty,
.task-note-readonly {
  padding: 20px 16px;
  color: var(--muted-2);
  font-size: 10px;
  text-align: center;
}

.task-note-form {
  display: grid;
  gap: 8px;
  padding: 15px 16px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.task-note-form label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.task-note-form textarea {
  width: 100%;
  min-height: 84px;
  padding: 11px 12px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  color: var(--text);
  background: var(--bg);
  font-size: 11px;
  line-height: 1.55;
}

.task-note-form textarea:focus {
  border-color: rgba(124, 58, 237, 0.55);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.09);
}

.task-note-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.task-note-form-foot > span {
  color: var(--muted-2);
  font-size: 9px;
}

.task-note-readonly {
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.task-detail-roadmap h4 {
  margin: 0 0 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.task-detail-roadmap p {
  margin: 0;
  color: var(--muted);
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 1.7;
}

.toast-root {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  display: grid;
  gap: 8px;
}

.toast {
  width: min(360px, calc(100vw - 44px));
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  background: rgba(22, 26, 35, 0.96);
  box-shadow: var(--shadow);
  font-size: 12px;
  animation: toast-in 180ms ease-out;
}

.toast.error {
  border-color: rgba(239, 68, 68, 0.3);
}

.confirm-dialog {
  text-align: center;
}

.confirm-dialog .modal-subtitle {
  max-width: 470px;
  margin: 0 auto 22px;
}

.confirm-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px solid rgba(251, 113, 133, 0.25);
  border-radius: 50%;
  color: var(--red);
  background: rgba(251, 113, 133, 0.1);
  font-size: 24px;
  line-height: 1;
}

.delete-preview {
  display: grid;
  gap: 8px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  text-align: left;
}

.delete-preview strong {
  color: var(--text);
  font-size: 13px;
}

.push-warning {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 13px 14px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 10px;
  color: var(--amber);
  background: rgba(251, 191, 36, 0.08);
  text-align: left;
}

.push-warning strong {
  font-size: 12px;
}

.push-warning span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

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

@media (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card.feature-wide {
    grid-column: span 1;
  }

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

  .login-visual {
    display: none;
  }

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

  .dashboard-grid,
  .changelog-layout {
    grid-template-columns: 1fr;
  }

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

  .info-card + .info-card {
    margin-top: 0;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .groups-grid {
    grid-template-columns: 1fr;
  }

  .archive-groups {
    grid-template-columns: 1fr;
  }

  .archive-group {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .archive-group:last-child {
    border-bottom: 0;
  }

  .user-row {
    grid-template-columns: minmax(190px, 1fr) 150px minmax(150px, 1fr) auto;
  }

  .user-row .status-text {
    display: none;
  }
}

@media (max-width: 760px) {
  .landing-container {
    width: min(100% - 36px, 1200px);
  }

  .landing-links {
    display: none;
  }

  .landing-hero {
    min-height: 660px;
    padding: 130px 18px 72px;
  }

  .landing-hero h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .landing-hero p {
    font-size: 14px;
  }

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

  .stats-grid > div:nth-child(2) {
    border-right: 0;
  }

  .stats-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .landing-section {
    padding: 72px 0;
  }

  .feature-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 210px;
  }

  .landing-footer .landing-container {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    transform: translateX(-105%);
    transition: transform 200ms ease;
  }

  body.menu-open .sidebar {
    transform: translateX(0);
  }

  .main {
    grid-column: 1;
  }

  .mobile-menu {
    display: grid;
  }

  .topbar {
    padding: 0 18px;
  }

  .content {
    padding: 30px 18px 70px;
  }

  .page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .metric-card {
    min-height: 122px;
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .change-row {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .archive-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .archive-total {
    text-align: left;
  }

  .change-type {
    grid-column: 1 / -1;
  }

  .changelog-aside {
    grid-template-columns: 1fr;
  }

  .user-row {
    grid-template-columns: 1fr auto;
    padding: 14px;
  }

  .permission-grid {
    grid-template-columns: 1fr;
  }

  .user-row .group-badge {
    display: none;
  }

  .user-row .user-area-list {
    display: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .landing-brand {
    font-size: 13px;
  }

  .landing-brand .brand-logo {
    width: 30px;
    height: 30px;
  }

  .landing-hero {
    min-height: 620px;
  }

  .hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-badge {
    font-size: 9px;
  }

  .feature-card {
    min-height: auto;
    padding: 24px;
  }

  .feature-index {
    margin-bottom: 28px;
  }

  .task-note-form-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .task-note-form-foot .button {
    width: 100%;
  }

  .login-panel {
    min-height: 100vh;
    padding: 28px 22px;
  }

  .login-copy h1 {
    font-size: 43px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .page-actions,
  .topbar-actions {
    width: 100%;
  }

  .topbar-actions {
    width: auto;
  }

  .page-actions .button {
    flex: 1;
  }

  .pending-card {
    padding: 32px 22px;
  }

  .tutorial-restart {
    width: 36px;
    min-width: 36px;
    padding: 0;
  }

  .tutorial-label {
    display: none;
  }

  .tutorial-popup {
    padding: 20px;
  }

  .tutorial-popup h2 {
    font-size: 19px;
  }
}

.remember-login-prompt {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.modal:has(#remember-login-prompt) .modal-close {
  display: none;
}

.remember-login-symbol {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 50%;
  color: var(--green);
  background: rgba(52, 211, 153, 0.09);
  font-size: 22px;
}

.remember-login-prompt h2 {
  margin-top: 11px;
}

.remember-login-options {
  display: grid;
  gap: 10px;
  margin-top: 25px;
}

.remember-option {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text);
  background: var(--panel-2);
  cursor: pointer;
  text-align: left;
}

.remember-option:hover {
  border-color: rgba(167, 139, 250, 0.48);
  background: var(--panel-3);
}

.remember-option span {
  font-size: 13px;
  font-weight: 500;
}

.remember-option small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.sidebar {
  overflow-y: auto;
}

.source-list {
  display: grid;
  gap: 14px;
}

.source-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.source-card-top,
.source-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.source-card-top {
  color: var(--muted-2);
  font-size: 11px;
}

.source-kind {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-light);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.source-kind svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.source-card h2 {
  margin: 22px 0 8px;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.source-copy {
  max-width: 1000px;
  margin: 22px 0 26px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.bug-card .source-copy {
  margin-top: 10px;
  color: var(--muted);
}

.source-card-foot {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.source-author,
.source-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.source-author {
  color: var(--muted);
  font-size: 12px;
}

.source-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.source-state {
  --source-color: var(--purple-light);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-size: 12px;
  white-space: nowrap;
}

.source-state i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--source-color);
}

.source-state-open {
  color: var(--muted);
  --source-color: var(--muted-2);
}

.source-state-missing {
  color: var(--red);
  --source-color: var(--red);
}

.source-task-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: var(--panel-2);
  cursor: pointer;
  font-size: 11px;
}

.source-task-link:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.report-media {
  width: min(620px, 100%);
  margin: 22px 0 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-2);
}

.report-media img,
.report-media video {
  width: 100%;
  max-height: 430px;
  display: block;
  object-fit: contain;
  background: #030304;
}

.report-media > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 14px;
  color: var(--muted);
  font-size: 11px;
}

.report-media > div span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.definition-card {
  position: relative;
  min-height: 520px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.definition-large {
  border-color: rgba(139, 92, 246, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.13), transparent 34%),
    var(--panel);
}

.definition-number {
  position: absolute;
  top: 22px;
  right: 26px;
  color: rgba(255, 255, 255, 0.05);
  font-size: 78px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.08em;
}

.definition-label {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--purple-light);
  background: var(--panel-2);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.definition-card h2 {
  max-width: 420px;
  margin: 28px 0 12px;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.definition-card > p,
.definition-card li,
.definition-rule p {
  color: var(--muted);
}

.definition-card ul {
  display: grid;
  gap: 13px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.definition-card li {
  position: relative;
  padding-left: 22px;
  line-height: 1.6;
}

.definition-card li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
}

.definition-example {
  margin-top: 30px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: var(--panel-2);
  line-height: 1.65;
}

.definition-example span {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.definition-rule {
  margin-top: 16px;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.definition-rule h2 {
  margin: 13px 0 8px;
  font-size: 20px;
}

.definition-rule p {
  max-width: 900px;
  margin: 0;
}

.optional-label {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 400;
}

.report-upload-picker {
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 11px;
  background: var(--panel-2);
  cursor: pointer;
}

.report-upload-picker:hover {
  border-color: rgba(167, 139, 250, 0.5);
}

.report-upload-picker > span:last-child {
  display: grid;
  gap: 4px;
}

.report-upload-picker b {
  color: var(--text);
  font-weight: 500;
}

.report-upload-picker small {
  color: var(--muted);
}

.report-upload-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--purple-light);
  background: rgba(124, 58, 237, 0.14);
}

.report-upload-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.report-file-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
}

.report-file-info span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-upload-progress {
  margin-top: 14px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-2);
}

.report-upload-progress > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
}

.report-upload-progress progress {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--panel-3);
}

.report-upload-progress progress::-webkit-progress-bar {
  background: var(--panel-3);
}

.report-upload-progress progress::-webkit-progress-value {
  background: var(--purple);
}

.report-upload-progress progress::-moz-progress-bar {
  background: var(--purple);
}

.source-preview {
  margin: 22px 0;
  padding: 14px 16px;
  border-left: 2px solid var(--purple);
  border-radius: 0 9px 9px 0;
  background: var(--panel-2);
}

.source-preview span {
  color: var(--purple-light);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.source-preview p {
  max-height: 120px;
  margin: 7px 0 0;
  overflow: auto;
  color: var(--muted);
  white-space: pre-wrap;
}

@media (max-width: 900px) {
  .definition-grid {
    grid-template-columns: 1fr;
  }

  .definition-card {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .source-card {
    padding: 19px;
  }

  .source-card-top,
  .source-card-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .source-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .source-task-link,
  .source-actions .button {
    width: 100%;
    justify-content: center;
  }

  .definition-card,
  .definition-rule {
    padding: 24px;
  }

  .definition-number {
    font-size: 58px;
  }
}
