/* Stylesheet */

/* Preflight & Resets */
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #27272a; /* zinc-800 */
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    "Noto Sans",
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
}

body {
  margin: 0;
  line-height: inherit;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b,
strong {
  font-weight: bolder;
}

pre,
code {
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 1em;
  margin: 0;
}

p {
  margin: 0;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
  background-color: transparent;
  background-image: none;
  cursor: pointer;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

/* Ring & Shadow Core Variables */
*,
::before,
::after {
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
}

/* Layout, Position, Sizing & Display */
.hidden {
  display: none;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.inset-0 {
  inset: 0px;
}
.inset-y-0 {
  top: 0px;
  bottom: 0px;
}
.top-1\/2 {
  top: 50%;
}
.right-0 {
  right: 0px;
}
.right-3 {
  right: 0.75rem;
}
.-translate-y-1\/2 {
  transform: translateY(-50%);
}
.bottom-full {
  bottom: 100%;
}
.top-full {
  top: 100%;
}
.mb-1\.5 {
  margin-bottom: 0.375rem;
}
.mt-1\.5 {
  margin-top: 0.375rem;
}
.z-30 {
  z-index: 30;
}
.z-40 {
  z-index: 40;
}
.z-50 {
  z-index: 50;
}

.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.grid {
  display: grid;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-1 {
  flex: 1 1 0%;
}
.basis-full {
  flex-basis: 100%;
}

.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}
.items-end {
  align-items: flex-end;
}
.justify-start {
  justify-content: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-end {
  justify-content: flex-end;
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.col-span-full {
  grid-column: 1 / -1;
}

.h-0 {
  height: 0px;
}
.h-16 {
  height: 4rem;
}
.h-20 {
  height: 5rem;
}
.h-24 {
  height: 6rem;
}
.h-96 {
  height: 24rem;
}
.w-16 {
  width: 4rem;
}
.w-20 {
  width: 5rem;
}
.w-24 {
  width: 6rem;
}
.w-36 {
  width: 9rem;
}
.w-\[92\%\] {
  width: 92%;
}
.w-full {
  width: 100%;
}
.shrink-0 {
  flex-shrink: 0;
}
.min-w-0 {
  min-width: 0px;
}
.max-w-full {
  max-width: 100%;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.max-w-\[140px\] {
  max-width: 140px;
}
.max-w-\[180px\] {
  max-width: 180px;
}
.max-w-\[200px\] {
  max-width: 200px;
}
.max-h-12 {
  max-height: 3rem;
}
.max-h-14 {
  max-height: 3.5rem;
}
.max-h-16 {
  max-height: 4rem;
}
.max-h-20 {
  max-height: 5rem;
}
.max-h-56 {
  max-height: 14rem;
}
.max-h-\[85vh\] {
  max-height: 85vh;
}

.overflow-auto {
  overflow: auto;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-visible {
  overflow: visible;
}
.overflow-x-hidden {
  overflow-x: hidden;
}
.object-contain {
  object-fit: contain;
}

/* Spacing (Margin, Padding & Gap) */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-1\.5 {
  margin-top: 0.375rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-2\.5 {
  margin-top: 0.625rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-10 {
  margin-top: 2.5rem;
}
.mt-16 {
  margin-top: 4rem;
}
.pt-1 {
  padding-top: 0.25rem;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pt-3 {
  padding-top: 0.75rem;
}


.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-6 {
  padding: 1.5rem;
}

.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-3\.5 {
  padding-left: 0.875rem;
  padding-right: 0.875rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.pr-10 {
  padding-right: 2.5rem;
}

.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}

.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0.25rem;
}
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0.375rem;
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0.5rem;
}
.space-y-5 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1.25rem;
}

/* Typography */
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.font-bold {
  font-weight: 700;
}

.tracking-tight {
  letter-spacing: -0.025em;
}
.leading-none {
  line-height: 1;
}
.leading-5 {
  line-height: 1.25rem;
}
.leading-6 {
  line-height: 1.5rem;
}
.leading-snug {
  line-height: 1.375;
}

.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}

.whitespace-nowrap {
  white-space: nowrap;
}
.whitespace-pre-wrap {
  white-space: pre-wrap;
}
.break-words {
  overflow-wrap: break-word;
}

/* Text Colors */
.text-zinc-100 {
  color: #f4f4f5;
}
.text-zinc-200 {
  color: #e4e4e7;
}
.text-zinc-300 {
  color: #d4d4d8;
}
.text-zinc-400 {
  color: #a1a1aa;
}
.text-zinc-500 {
  color: #71717a;
}
.text-zinc-600 {
  color: #52525b;
}
.text-zinc-950 {
  color: #09090b;
}
.text-amber-300 {
  color: #fcd34d;
}
.text-sky-300 {
  color: #7dd3fc;
}
.text-emerald-300 {
  color: #6ee7b7;
}
.text-emerald-400 {
  color: #34d399;
}
.text-rose-300 {
  color: #fda4af;
}

/* Placeholder */
.placeholder\:text-zinc-600::placeholder {
  color: #52525b;
}

/* Backgrounds */
.bg-zinc-950 {
  background-color: #09090b;
}
.bg-zinc-950\/40 {
  background-color: rgb(9 9 11 / 0.4);
}
.bg-zinc-950\/60 {
  background-color: rgb(9 9 11 / 0.6);
}
.bg-zinc-950\/80 {
  background-color: rgb(9 9 11 / 0.8);
}
.bg-zinc-900 {
  background-color: #18181b;
}
.bg-zinc-900\/40 {
  background-color: rgb(24 24 27 / 0.4);
}
.bg-zinc-900\/60 {
  background-color: rgb(24 24 27 / 0.6);
}
.bg-zinc-900\/70 {
  background-color: rgb(24 24 27 / 0.7);
}
.bg-zinc-800 {
  background-color: #27272a;
}
.bg-zinc-400 {
  background-color: #a1a1aa;
}
.bg-zinc-100 {
  background-color: #f4f4f5;
}
.bg-black\/60 {
  background-color: rgb(0 0 0 / 0.6);
}
.bg-black\/70 {
  background-color: rgb(0 0 0 / 0.7);
}

.bg-amber-500\/15 {
  background-color: rgb(245 158 11 / 0.15);
}
.bg-sky-500\/15 {
  background-color: rgb(14 165 233 / 0.15);
}
.bg-emerald-500\/10 {
  background-color: rgb(16 185 129 / 0.1);
}
.bg-emerald-500\/15 {
  background-color: rgb(16 185 129 / 0.15);
}
.bg-emerald-500 {
  background-color: #10b981;
}
.bg-rose-500\/15 {
  background-color: rgb(244 63 94 / 0.15);
}
.bg-zinc-500\/15 {
  background-color: rgb(113 113 122 / 0.15);
}

/* --- 7. Borders, Dividers & Rounded --- */
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-b-2xl {
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
}
.rounded-full {
  border-radius: 9999px;
}

.border {
  border-width: 1px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-l {
  border-left-width: 1px;
}
.border-r {
  border-right-width: 1px;
}
.border-zinc-800 {
  border-color: #27272a;
}
.border-zinc-800\/80 {
  border-color: rgb(39 39 42 / 0.8);
}
.border-zinc-800\/60 {
  border-color: rgb(39 39 42 / 0.6);
}
.border-zinc-800\/40 {
  border-color: rgb(39 39 42 / 0.4);
}
.border-zinc-700 {
  border-color: #3f3f46;
}
.border-zinc-700\/60 {
  border-color: rgb(63 63 70 / 0.6);
}
.divide-y > :not([hidden]) ~ :not([hidden]) {
  border-top-width: 1px;
}
.divide-zinc-800 > :not([hidden]) ~ :not([hidden]) {
  border-color: #27272a;
}
.divide-zinc-800\/60 > :not([hidden]) ~ :not([hidden]) {
  border-color: rgb(39 39 42 / 0.6);
}
.gap-px {
  gap: 1px;
}

/* --- 8. Rings & Shadows --- */
.ring-1 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0
    var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0
    calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow:
    var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
    var(--tw-shadow, 0 0 #0000);
}

.ring-zinc-700 {
  --tw-ring-color: #3f3f46;
}
.ring-zinc-800 {
  --tw-ring-color: #27272a;
}
.ring-amber-500\/30 {
  --tw-ring-color: rgb(245 158 11 / 0.3);
}
.ring-sky-500\/30 {
  --tw-ring-color: rgb(14 165 233 / 0.3);
}
.ring-emerald-500\/30 {
  --tw-ring-color: rgb(16 185 129 / 0.3);
}
.ring-emerald-500\/40 {
  --tw-ring-color: rgb(16 185 129 / 0.4);
}
.ring-rose-500\/30 {
  --tw-ring-color: rgb(244 63 94 / 0.3);
}
.ring-zinc-500\/30 {
  --tw-ring-color: rgb(113 113 122 / 0.3);
}

.shadow-lg {
  --tw-shadow:
    0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored:
    0 10px 15px -3px var(--tw-shadow-color),
    0 4px 6px -4px var(--tw-shadow-color);
  box-shadow:
    var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
    var(--tw-shadow);
}
.shadow-xl {
  --tw-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored:
    0 20px 25px -5px var(--tw-shadow-color),
    0 8px 10px -6px var(--tw-shadow-color);
  box-shadow:
    var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
    var(--tw-shadow);
}

/* --- 9. Transitions & States --- */
.transition {
  transition-property:
    color, background-color, border-color, text-decoration-color, fill, stroke,
    opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.opacity-90 {
  opacity: 0.9;
}
.pointer-events-none {
  pointer-events: none;
}
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
:focus-visible {
  outline: 2px solid #a1a1aa;
  outline-offset: 2px;
}

/* Hover States */
.hover\:bg-white:hover {
  background-color: #ffffff;
}
.hover\:bg-zinc-800:hover {
  background-color: #27272a;
}
.hover\:bg-zinc-900\/60:hover {
  background-color: rgb(24 24 27 / 0.6);
}
.hover\:ring-zinc-700:hover {
  --tw-ring-color: #3f3f46;
}
.hover\:ring-emerald-500\/50:hover {
  --tw-ring-color: rgb(16 185 129 / 0.5);
}
.hover\:ring-emerald-500\/60:hover {
  --tw-ring-color: rgb(16 185 129 / 0.6);
}

.h-1 {
  height: 0.25rem;
}
.w-fit {
  width: fit-content;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0.75rem;
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1rem;
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1.5rem;
}
.leading-relaxed {
  line-height: 1.625;
}
.text-\[11px\] {
  font-size: 11px;
  line-height: 1rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.h-96 {
  height: 24rem;
}
.max-h-\[85vh\] {
  max-height: 85vh;
}
.border-zinc-700 {
  border-color: #3f3f46;
}
.bg-zinc-400 {
  background-color: #a1a1aa;
}
.bg-black\/70 {
  background-color: rgb(0 0 0 / 0.7);
}
.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow:
    var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
    var(--tw-shadow);
}

.h-1\.5 {
  height: 0.375rem;
}
.w-1\.5 {
  width: 0.375rem;
}
.h-3\.5 {
  height: 0.875rem;
}
.w-3\.5 {
  width: 0.875rem;
}
.h-4 {
  height: 1rem;
}
.w-px {
  width: 1px;
}
.p-0\.5 {
  padding: 0.125rem;
}
.p-1 {
  padding: 0.25rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}
.space-y-0\.5 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0.125rem;
}
.text-\[10px\] {
  font-size: 10px;
  line-height: 0.75rem;
}
.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ring-zinc-800\/80 {
  --tw-ring-color: rgb(39 39 42 / 0.8);
}
.ring-zinc-700\/60 {
  --tw-ring-color: rgb(63 63 70 / 0.6);
}

/* Additional Hover states */
.hover\:border-zinc-700:hover {
  border-color: #3f3f46;
}
.hover\:border-emerald-500\/50:hover {
  border-color: rgb(16 185 129 / 0.5);
}
.hover\:border-amber-500\/50:hover {
  border-color: rgb(245 158 11 / 0.5);
}
.hover\:border-rose-500\/50:hover {
  border-color: rgb(244 63 94 / 0.5);
}
.hover\:text-zinc-100:hover {
  color: #f4f4f5;
}
.hover\:text-emerald-400:hover {
  color: #34d399;
}
.hover\:text-amber-400:hover {
  color: #fbbf24;
}
.hover\:text-rose-400:hover {
  color: #fb7185;
}
.hover\:bg-zinc-900\/20:hover {
  background-color: rgb(24 24 27 / 0.2);
}
.hover\:bg-zinc-900\/40:hover {
  background-color: rgb(24 24 27 / 0.4);
}
.hover\:bg-zinc-900\/50:hover {
  background-color: rgb(24 24 27 / 0.5);
}
.hover\:text-zinc-200:hover {
  color: #e4e4e7;
}

html.scroll-smooth {
  scroll-behavior: smooth;
}

.scroll-mt-6 {
  scroll-margin-top: 1.5rem;
}
.space-y-12 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 3rem;
}
.space-y-10 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 2.5rem;
}
.pb-6 {
  padding-bottom: 1.5rem;
}
.pl-6 {
  padding-left: 1.5rem;
}
.p-3\.5 {
  padding: 0.875rem;
}
.gap-2\.5 {
  gap: 0.625rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-7 {
  margin-top: 1.75rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-12 {
  margin-top: 3rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-\[160px\] {
  max-width: 160px;
}
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0.625rem;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-lg {
  max-width: 32rem;
}
.bg-zinc-950\/70 {
  background-color: rgb(9 9 11 / 0.7);
}
.w-64 {
  width: 16rem;
}
.h-8 {
  height: 2rem;
}
.min-h-\[2rem\] {
  min-height: 2rem;
}
.h-\[104px\] {
  height: 104px;
}
.min-w-\[210px\] {
  min-width: 210px;
}
header + #pipeline {
  margin-top: 1.5rem !important;
}
.min-w-\[220px\] {
  min-width: 220px;
}
.py-3\.5 {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}
.font-sans {
  font-family: ui-sans-serif, system-ui, sans-serif;
}
.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.max-h-60 {
  max-height: 15rem;
}
.h-full {
  height: 100%;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.bg-emerald-400 {
  background-color: #34d399;
}
.bg-zinc-950\/20 {
  background-color: rgb(9 9 11 / 0.2);
}
.uppercase {
  text-transform: uppercase;
}
.tracking-wider {
  letter-spacing: 0.05em;
}
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.ring-4 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-zinc-950 {
  --tw-ring-color: #09090b;
}

/* Responsive Breakpoints */
/* sm: min-width 640px */
@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm\:col-span-2 {
    grid-column: span 2 / span 2;
  }
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .sm\:w-44 {
    width: 11rem;
  }
  .sm\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* md: min-width 768px */
@media (min-width: 768px) {
  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }
  .md\:col-span-3 {
    grid-column: span 3 / span 3;
  }
  .md\:col-span-4 {
    grid-column: span 4 / span 4;
  }
  .md\:flex-row {
    flex-direction: row;
  }
  .md\:items-center {
    align-items: center;
  }
  .md\:items-end {
    align-items: flex-end;
  }
  .md\:justify-between {
    justify-content: space-between;
  }
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .md\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .md\:pl-40 {
    padding-left: 10rem;
  }
  .md\:w-64 {
    width: 16rem;
  }
  .md\:pt-0 {
    padding-top: 0px;
  }
}

/* Sm additions */
@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
  .sm\:text-right {
    text-align: right;
  }
  .sm\:items-center {
    align-items: center;
  }
  .sm\:justify-between {
    justify-content: space-between;
  }
  .sm\:mt-6 {
    margin-top: 1.5rem;
  }
  .sm\:mt-7 {
    margin-top: 1.75rem;
  }
  .sm\:w-64 {
    width: 16rem;
  }
  .sm\:h-\[104px\] {
    height: 104px;
  }
  .sm\:inline {
    display: inline;
  }
  .sm\:inline-block {
    display: inline-block;
  }
  .sm\:p-4 {
    padding: 1rem;
  }
  .sm\:py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .sm\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  .sm\:divide-y-0 > :not([hidden]) ~ :not([hidden]) {
    border-top-width: 0px;
  }
  .sm\:border-b {
    border-bottom-width: 1px;
  }
  .sm\:border-b-0 {
    border-bottom-width: 0px;
  }
  .sm\:border-r {
    border-right-width: 1px;
  }
  .sm\:border-r-0 {
    border-right-width: 0px;
  }
  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* lg: min-width 1024px */
@media (min-width: 1024px) {
  .lg\:flex-row {
    flex-direction: row;
  }
  .lg\:items-center {
    align-items: center;
  }
  .lg\:justify-between {
    justify-content: space-between;
  }
  .lg\:pt-0 {
    padding-top: 0px;
  }
  .lg\:border-t-0 {
    border-top-width: 0px;
  }
  .lg\:border-r {
    border-right-width: 1px;
  }
  .lg\:border-r-0 {
    border-right-width: 0px;
  }
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Helpers & Animations */
.h-2 {
  height: 0.5rem;
}
.w-2 {
  width: 0.5rem;
}
.min-w-\[580px\] {
  min-width: 580px;
}
.overflow-x-auto {
  overflow-x: auto;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Micro-interactions & Transitions */
.duration-300 {
  transition-duration: 300ms;
}
.hover\:scale-\[1\.008\]:hover {
  transform: scale(1.008);
}
.hover\:scale-\[1\.02\]:hover {
  transform: scale(1.02);
}
.scale-105 {
  transform: scale(1.05);
}
.scale-110 {
  transform: scale(1.1);
}
.scale-115 {
  transform: scale(1.15);
}
.scale-120 {
  transform: scale(1.2);
}
.hover\:bg-zinc-900\/60:hover {
  background-color: rgba(24, 24, 27, 0.6);
}
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}
.group:hover .group-hover\:text-zinc-100 {
  color: #f4f4f5;
}

/* Sizing & Timeline Helpers */
.w-3 {
  width: 0.75rem;
}
.h-3 {
  height: 0.75rem;
}
.pl-4 {
  padding-left: 1rem;
}
.-left-1\.5 {
  left: -0.375rem;
}
.top-1\.5 {
  top: 0.375rem;
}
.border-l-2 {
  border-left-width: 2px;
}
.border-emerald-500\/40 {
  border-color: rgb(16 185 129 / 0.4);
}

/* --- 11. Light Mode Overrides --- */
body.light {
  background-color: #f8fafc;
  color: #0f172a;
}

body.light .bg-zinc-950 {
  background-color: #ffffff;
}

body.light .bg-zinc-950\/40,
body.light .bg-zinc-950\/60,
body.light .bg-zinc-950\/80 {
  background-color: #f1f5f9;
}

body.light .bg-zinc-900,
body.light .bg-zinc-900\/40,
body.light .bg-zinc-900\/60,
body.light .bg-zinc-900\/70 {
  background-color: #ffffff;
}

body.light .bg-zinc-800 {
  background-color: #e2e8f0;
}

body.light .border-zinc-800 {
  border-color: #e2e8f0;
}

body.light .divide-zinc-800 > :not([hidden]) ~ :not([hidden]) {
  border-color: #e2e8f0;
}

body.light .ring-zinc-800 {
  --tw-ring-color: #e2e8f0;
}

body.light .ring-zinc-700 {
  --tw-ring-color: #cbd5e1;
}

body.light .text-zinc-100 {
  color: #0f172a;
}

body.light .text-zinc-200 {
  color: #1e293b;
}

body.light .text-zinc-300 {
  color: #334155;
}

body.light .text-zinc-400 {
  color: #64748b;
}

body.light .text-zinc-500 {
  color: #475569;
}

body.light .hover\:bg-zinc-800:hover {
  background-color: #e2e8f0;
}

body.light .hover\:bg-zinc-900\/60:hover {
  background-color: #f1f5f9;
}

body.light pre#detailLogs {
  background-color: #f1f5f9;
  color: #0f172a;
  border-color: #e2e8f0;
}

body.light .bg-zinc-400 {
  background-color: #94a3b8;
}

body.light .border-zinc-700 {
  border-color: #cbd5e1;
}

body.light :focus-visible {
  outline-color: #334155;
}

/* Print Rules */
@media print {
  body {
    background-color: #ffffff !important;
    color: #000000 !important;
  }

  /* Hide interactive-only elements during report print */
  #themeToggle,
  #btnRun,
  #btnReset,
  #btnExport,
  #btnCv,
  #presetHappy,
  #presetRealistic,
  #presetBlock,
  #pipelineModeTabs,
  #runPlanModal,
  #vaultPreviewModal,
  #vaultFilterBtn,
  #vaultSearch,
  button {
    display: none !important;
  }

  /* Clean borders for printing */
  .ring-1 {
    box-shadow: none !important;
    border: 1px solid #cbd5e1 !important;
  }

  .bg-zinc-950,
  .bg-zinc-900,
  .bg-zinc-900\/40,
  .bg-zinc-950\/40 {
    background-color: #ffffff !important;
  }

  .text-zinc-100,
  .text-zinc-200,
  .text-zinc-300,
  .text-zinc-400 {
    color: #1e293b !important;
  }

  main {
    max-width: 100% !important;
    padding: 0 !important;
  }
}
