html {
  /* Site-wide scale ≈ Chrome zoom 125% (Chromium/Edge). */
  zoom: 1.25;
  font-size: 15px;
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Half-screen / iPad / laptop: drop artificial zoom so pages fit and can scroll normally. */
@media (max-width: 1400px) {
  html {
    zoom: 1;
  }
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

body.app-shell,
body.portal-shell {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html,
body,
button,
input,
select,
textarea,
.btn,
.form-control,
.form-select,
.navbar,
.card,
.dropdown-menu,
.modal,
.table,
h1, h2, h3, h4, h5, h6,
.form-label,
.nav-link {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

.quote-shell,
.quote-shell button,
.quote-shell input,
.quote-shell select,
.quote-shell textarea,
.quote-shell .btn,
.quote-shell .form-control,
.quote-shell .form-select,
.quote-shell .card,
.quote-shell .navbar,
.quote-shell h1,
.quote-shell h2,
.quote-shell h3,
.quote-shell h4,
.quote-shell h5,
.quote-shell h6,
.quote-shell .form-label,
.quote-shell .nav-link {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

.hero-panel {
  background: linear-gradient(135deg, #0b1c2c 0%, #1BA8E0 100%);
  color: #fff;
}

.card {
  border-radius: 1rem;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(27, 168, 224, 0.35);
}

html {
  position: relative;
  min-height: 100%;
}

body:not(.app-shell):not(.portal-shell) {
  margin-bottom: 60px;
  background-color: #f4f6f9;
}

/* Ã¢â‚¬â€Ã¢â‚¬â€ App chrome Ã¢â‚¬â€Ã¢â‚¬â€ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(1.4) blur(20px);
  -webkit-backdrop-filter: saturate(1.4) blur(20px);
  border-bottom: 1px solid rgba(16, 32, 43, 0.08);
}

.site-header .btn {
  border-radius: 980px;
}

.quote-shell .site-header {
  background: #080e14;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.quote-shell .site-header .navbar {
  background: transparent !important;
}

.quote-shell .site-header .navbar,
.quote-shell .site-header .navbar-brand span,
.quote-shell .site-header .nav-link,
.quote-shell .site-header .text-dark,
.quote-shell .site-header .btn-link {
  color: rgba(255, 255, 255, 0.95) !important;
}

.quote-shell .site-header .nav-link:hover,
.quote-shell .site-header .nav-link:focus {
  color: #fff !important;
  background: rgba(27, 168, 224, 0.28);
}

/* Modern open dropdowns */
.site-header .dropdown-menu {
  --bs-dropdown-min-width: 15.5rem;
  margin-top: 0.45rem !important;
  padding: 0.45rem;
  border: 1px solid rgba(16, 32, 43, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px) saturate(1.25);
  box-shadow:
    0 18px 40px rgba(8, 24, 40, 0.14),
    0 2px 8px rgba(8, 24, 40, 0.06);
  animation: site-dropdown-in 0.18s ease-out;
}

.site-header .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.85rem;
  margin: 0.1rem 0;
  border-radius: 0.7rem;
  color: #2a3b4a;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: background 0.14s ease, color 0.14s ease, transform 0.14s ease;
}

.site-header .dropdown-item::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(27, 168, 224, 0.35);
  flex-shrink: 0;
  transition: background 0.14s ease, transform 0.14s ease;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
  color: #0B6FA0;
  background: rgba(27, 168, 224, 0.12);
  transform: translateX(2px);
}

.site-header .dropdown-item:hover::before,
.site-header .dropdown-item:focus::before {
  background: #1BA8E0;
  transform: scale(1.35);
}

.site-header .dropdown-item:active {
  color: #fff;
  background: linear-gradient(135deg, #1BA8E0, #0B6FA0);
}

.site-header .dropdown-item:active::before {
  background: #fff;
}

.quote-shell .site-header .dropdown-menu {
  background: rgba(10, 26, 40, 0.94);
  border: 1px solid rgba(104, 199, 239, 0.18);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.quote-shell .site-header .dropdown-item {
  color: rgba(255, 255, 255, 0.9);
}

.quote-shell .site-header .dropdown-item::before {
  background: rgba(104, 199, 239, 0.45);
}

.quote-shell .site-header .dropdown-item:hover,
.quote-shell .site-header .dropdown-item:focus {
  color: #fff;
  background: rgba(27, 168, 224, 0.22);
}

.quote-shell .site-header .dropdown-item:active {
  color: #041018;
  background: linear-gradient(135deg, #68C7EF, #1BA8E0);
}

@keyframes site-dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.quote-shell .site-header .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
}

.quote-shell .site-header .navbar-toggler-icon {
  filter: invert(1) brightness(1.4);
}

.site-header .navbar {
  margin-bottom: 0 !important;
}

.site-header .nav-link {
  font-weight: 600;
  color: #445463;
  border-radius: 980px;
  padding: 0.45rem 0.85rem !important;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: #0B6FA0;
  background: rgba(27, 168, 224, 0.08);
}

.navbar-logo {
  height: 40px;
  width: auto;
  display: block;
}

.navbar-logo--light {
  display: none;
}

.quote-shell .site-header .navbar-logo--dark {
  display: none;
}

.quote-shell .site-header .navbar-logo--light {
  display: block;
}

.navbar.bg-white .navbar-brand {
  line-height: 1;
}

/* Ã¢â‚¬â€Ã¢â‚¬â€ Quote shell atmosphere Ã¢â‚¬â€Ã¢â‚¬â€ */
.quote-shell {
  background:
    radial-gradient(900px 420px at 8% 8%, rgba(104, 199, 239, 0.14), transparent 55%),
    radial-gradient(700px 380px at 92% 12%, rgba(27, 168, 224, 0.1), transparent 50%),
    #ffffff;
  min-height: 100vh;
  color: #0e1a22;
}

.quote-container {
  max-width: 1360px;
  padding-top: 1.35rem;
  padding-bottom: 2rem;
}

.quote-sidebar {
  position: relative;
  height: 100%;
}

.quote-sidebar__pin {
  position: sticky;
  top: 4.85rem;
  z-index: 1020;
}

/* Ã¢â‚¬â€Ã¢â‚¬â€ Quote page Ã¢â‚¬â€Ã¢â‚¬â€ */
.quote-page {
  --qp-ink: #0e1a22;
  --qp-muted: #62707c;
  --qp-accent: #1BA8E0;
  --qp-accent-bright: #68C7EF;
  --qp-accent-deep: #0B6FA0;
  --qp-accent-soft: rgba(62, 174, 226, 0.16);
  --qp-line: rgba(14, 26, 34, 0.1);
  --qp-surface: rgba(255, 255, 255, 0.86);
  --qp-wash: rgba(14, 26, 34, 0.035);
  --qp-radius: 1.25rem;
  --qp-shadow: 0 24px 60px rgba(7, 19, 26, 0.12);
  color: var(--qp-ink);
  counter-reset: quote-step;
}

/* Liquid-glass hero (iOS-style) */
.quote-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 1rem;
  padding: 0.7rem 1.1rem;
  border-radius: 1.15rem;
  color: #fff;
  /* Same family as .app-header (navy â†’ blue), but lighter for dark title text */
  background:
    linear-gradient(105deg,
      rgba(4, 22, 46, 0.14) 0%,
      rgba(11, 61, 122, 0.22) 34%,
      rgba(23, 116, 205, 0.28) 68%,
      rgba(47, 155, 255, 0.32) 100%);
  border: 1px solid rgba(23, 116, 205, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 -1px 0 rgba(4, 22, 46, 0.08) inset,
    0 18px 50px rgba(23, 116, 205, 0.14),
    0 4px 16px rgba(4, 22, 46, 0.06);
  backdrop-filter: blur(28px) saturate(1.85);
  -webkit-backdrop-filter: blur(28px) saturate(1.85);
  animation: quote-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.quote-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0.14) 30%, transparent 58%),
    radial-gradient(120% 80% at 12% -10%, rgba(255, 255, 255, 0.4), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.quote-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  pointer-events: none;
  z-index: 2;
}

.quote-hero__glow {
  position: absolute;
  inset: auto -8% -45% auto;
  width: 55%;
  height: 120%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, rgba(47, 155, 255, 0.35), transparent 58%),
    radial-gradient(circle at 70% 60%, rgba(23, 116, 205, 0.28), transparent 62%);
  filter: blur(22px);
  pointer-events: none;
  z-index: 0;
  animation: quote-pulse 7s ease-in-out infinite;
}

.quote-hero__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.18) 48%, transparent 62%);
  opacity: 0.55;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
  animation: quote-glass-sheen 8s ease-in-out infinite;
}

.quote-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.quote-hero--vcenter .quote-hero__content {
  align-items: center;
}

.quote-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.quote-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #04324a;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.quote-badge--ghost {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(11, 111, 160, 0.22);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.quote-title {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #042536;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.quote-subtitle {
  margin: 0.65rem 0 0;
  max-width: 36rem;
  color: rgba(4, 37, 54, 0.72);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
}

.quote-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.quote-stat {
  min-width: 7.5rem;
  padding: 0.4rem 0.7rem;
  border-radius: 0.75rem;
  color: #042536;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 4px 14px rgba(11, 111, 160, 0.08);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

.quote-stat--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 0.75rem;
  min-width: 11rem;
}

.quote-stat__label,
.quote-metric__label,
.quote-offer-chip__label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(4, 37, 54, 0.55);
}

.quote-metric__label,
.quote-section--side .quote-metric__label,
.quote-offer-inline .quote-metric__label {
  color: var(--qp-muted);
}

.quote-stat__value,
.quote-metric__value,
.quote-offer-chip__value {
  display: block;
  margin-top: 0.05rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #042536;
  line-height: 1.2;
  word-break: break-word;
}

.quote-metric__value,
.quote-offer-inline .quote-metric__value {
  color: var(--qp-ink);
}

.quote-stat__hint {
  grid-column: 1 / -1;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(11, 111, 160, 0.85);
}

.quote-alert {
  border: 0;
  border-radius: 1rem;
  box-shadow: var(--qp-shadow);
}

/* Quote wizard steps */
.quote-wizard__nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.65rem;
  margin: 0 0 1.35rem;
  padding: 0.75rem 1rem 0.55rem;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(11, 111, 160, 0.45) rgba(14, 26, 34, 0.06);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 12px 28px rgba(8, 24, 40, 0.05);
}

.quote-wizard__nav::-webkit-scrollbar {
  height: 6px;
}

.quote-wizard__nav::-webkit-scrollbar-track {
  background: rgba(14, 26, 34, 0.06);
  border-radius: 999px;
  margin: 0 0.75rem;
}

.quote-wizard__nav::-webkit-scrollbar-thumb {
  background: rgba(11, 111, 160, 0.45);
  border-radius: 999px;
}

.quote-wizard__nav::-webkit-scrollbar-thumb:hover {
  background: rgba(11, 111, 160, 0.65);
}

.quote-wizard__tab {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--qp-muted, #62707c);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.quote-wizard__tab-index {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(14, 26, 34, 0.08);
  color: inherit;
}

.quote-wizard__tab.is-active {
  color: #042536;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.quote-wizard__tab.is-active .quote-wizard__tab-index {
  background: #0B6FA0;
  color: #fff;
}

.quote-wizard__tab.is-done .quote-wizard__tab-index {
  background: rgba(11, 111, 160, 0.18);
  color: #0B6FA0;
}

.quote-wizard__connector {
  flex: 0 0 2rem;
  height: 2px;
  border-radius: 999px;
  background: rgba(14, 26, 34, 0.1);
}

.quote-wizard__stage {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quote-wizard__stage-body {
  flex: 1 1 auto;
  min-width: 0;
}

.quote-wizard__next {
  --next-size: 4.85rem;
  flex: 0 0 auto;
  position: sticky;
  top: 42vh;
  z-index: 2;
  display: grid;
  place-items: center;
  width: var(--next-size);
  height: var(--next-size);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  align-self: center;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.quote-wizard__next-glass {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.62) 0%,
      rgba(255, 255, 255, 0.22) 38%,
      rgba(255, 255, 255, 0.08) 68%,
      rgba(200, 230, 245, 0.14) 100%
    );
  backdrop-filter: blur(48px) saturate(2.35) brightness(1.12);
  -webkit-backdrop-filter: blur(48px) saturate(2.35) brightness(1.12);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.95) inset,
    0 -1.5px 0 rgba(255, 255, 255, 0.28) inset,
    1.5px 0 0 rgba(255, 255, 255, 0.4) inset,
    -1.5px 0 0 rgba(255, 255, 255, 0.18) inset,
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.55),
    0 1px 2px rgba(255, 255, 255, 0.35),
    0 14px 34px rgba(8, 24, 40, 0.14),
    0 4px 14px rgba(27, 168, 224, 0.14),
    0 0 0 0.5px rgba(255, 255, 255, 0.35);
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.35s ease,
    transform 0.35s ease;
}

/* Top specular highlight Ã¢â‚¬â€ iOS Control Center style */
.quote-wizard__next-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 28% -8%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.35) 34%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.18) 36%, transparent 55%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.55) 0%, transparent 42%, rgba(255, 255, 255, 0.12) 100%);
  mix-blend-mode: soft-light;
  opacity: 0.95;
}

/* Inner rim + soft refraction edge */
.quote-wizard__next-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 78%, rgba(104, 199, 239, 0.22), transparent 42%),
    radial-gradient(circle at 50% 110%, rgba(255, 255, 255, 0.2), transparent 48%);
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.65),
    inset 0 10px 18px rgba(255, 255, 255, 0.18),
    inset 0 -8px 16px rgba(11, 111, 160, 0.08);
  animation: quote-next-glass-breathe 6.5s ease-in-out infinite;
}

@keyframes quote-next-glass-breathe {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

.quote-wizard__next-icon {
  position: relative;
  z-index: 1;
  width: 62%;
  height: 62%;
  display: block;
  overflow: visible;
  pointer-events: none;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.65))
    drop-shadow(0 2px 8px rgba(11, 111, 160, 0.35));
}

.quote-wizard__next-arrow {
  fill: var(--qp-accent, #1BA8E0);
  opacity: 0.92;
}

.quote-wizard__next:hover,
.quote-wizard__next:focus-visible {
  transform: scale(1.08);
  outline: none;
}

.quote-wizard__next:hover .quote-wizard__next-glass,
.quote-wizard__next:focus-visible .quote-wizard__next-glass {
  border-color: rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(230, 245, 252, 0.38) 40%,
      rgba(160, 214, 240, 0.2) 100%
    );
  backdrop-filter: blur(56px) saturate(2.6) brightness(1.18);
  -webkit-backdrop-filter: blur(56px) saturate(2.6) brightness(1.18);
  box-shadow:
    0 2.5px 0 rgba(255, 255, 255, 1) inset,
    0 -1.5px 0 rgba(255, 255, 255, 0.4) inset,
    1.5px 0 0 rgba(255, 255, 255, 0.5) inset,
    -1.5px 0 0 rgba(255, 255, 255, 0.25) inset,
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.75),
    0 16px 40px rgba(11, 111, 160, 0.18),
    0 0 36px rgba(104, 199, 239, 0.28),
    0 4px 14px rgba(8, 24, 40, 0.1);
}

.quote-wizard__next:hover .quote-wizard__next-glass::before,
.quote-wizard__next:focus-visible .quote-wizard__next-glass::before {
  opacity: 1;
}

.quote-wizard__next:active {
  transform: scale(0.96);
}

.quote-wizard__next:active .quote-wizard__next-glass {
  backdrop-filter: blur(36px) saturate(2) brightness(1.05);
  -webkit-backdrop-filter: blur(36px) saturate(2) brightness(1.05);
}

/* Half-screen / iPad / compact desktop */
@media (max-width: 1199.98px) {
  .quote-container {
    max-width: 100%;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .quote-hero {
    margin-bottom: 1rem;
    padding: 1rem 1rem 0.9rem;
    border-radius: 1.25rem;
  }

  .quote-hero__content {
    gap: 0.75rem;
    align-items: stretch;
    flex-direction: column;
  }

  .quote-title {
    font-size: clamp(1.2rem, 2.8vw, 1.55rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
  }

  .quote-hero__meta {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .quote-stat {
    min-width: 0;
    padding: 0.5rem 0.7rem;
    border-radius: 0.85rem;
  }

  .quote-stat--split {
    grid-column: 1 / -1;
    min-width: 0;
    gap: 0.4rem 0.75rem;
    padding: 0.5rem 0.7rem;
  }

  .quote-stat__label,
  .quote-metric__label,
  .quote-offer-chip__label {
    font-size: 0.62rem;
  }

  .quote-stat__value,
  .quote-metric__value,
  .quote-offer-chip__value {
    font-size: 0.92rem;
    margin-top: 0.05rem;
  }

  .quote-stat__hint {
    font-size: 0.64rem;
  }

  .quote-wizard__nav {
    gap: 0.35rem;
    padding: 0.55rem 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    flex-wrap: nowrap;
  }

  .quote-wizard__connector {
    flex: 0 0 0.85rem;
  }

  .quote-wizard__tab {
    flex: 0 0 auto;
    gap: 0.35rem;
    padding: 0.4rem 0.55rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .quote-wizard__tab-index {
    width: 1.4rem;
    height: 1.4rem;
    font-size: 0.72rem;
  }

  .quote-wizard__stage {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .quote-wizard__next {
    --next-size: 3.85rem;
    align-self: flex-end;
    position: sticky;
    bottom: 0.85rem;
    top: auto;
  }

  /* Raylar split: stack Kabin / KarÃ…Å¸Ã„Â± on narrow widths */
  .quote-page .col-6.pe-3,
  .quote-page .col-6.ps-3 {
    width: 100%;
    max-width: 100%;
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5) !important;
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5) !important;
  }

  .quote-page .col-6.border-start {
    border-left: 0 !important;
    border-top: 1px solid rgba(14, 26, 34, 0.08);
    padding-top: 1rem;
    margin-top: 0.5rem;
  }

  .butkon-block {
    padding: 0.85rem 0.9rem;
  }

  .quote-actions {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .quote-actions__btns {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .quote-actions__btns .btn {
    flex: 1 1 auto;
    min-width: 7.5rem;
  }
}

/* Phone / narrow half-screen */
@media (max-width: 767.98px) {
  .quote-container {
    padding-top: 0.85rem;
    padding-bottom: 1.25rem;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .quote-hero {
    padding: 0.8rem 0.75rem;
    border-radius: 1rem;
    margin-bottom: 0.85rem;
  }

  .quote-title {
    font-size: clamp(1.1rem, 4.8vw, 1.35rem);
  }

  .quote-hero__meta {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .quote-stat,
  .quote-stat--split {
    padding: 0.45rem 0.6rem;
  }

  .quote-wizard__nav {
    gap: 0.25rem;
    padding: 0.45rem 0.5rem;
    margin-bottom: 1rem;
  }

  .quote-wizard__tab-label {
    display: none;
  }

  .quote-wizard__tab {
    padding: 0.35rem;
  }

  .quote-wizard__connector {
    flex: 0 0 0.45rem;
  }

  .quote-wizard__stage {
    flex-direction: column;
    align-items: stretch;
  }

  .quote-wizard__next {
    --next-size: 3.5rem;
    align-self: flex-end;
    position: sticky;
    bottom: 0.75rem;
    top: auto;
  }

  .quote-page .quote-section .card-body,
  .quote-page .quote-section.card .card-body {
    padding: 0.9rem 0.85rem;
  }

  .quote-section__head {
    font-size: 0.95rem;
    padding: 0.75rem 0.85rem;
  }

  .quote-metrics .col-md-4,
  .quote-metrics .col-md-3,
  .quote-page .col-md-1,
  .quote-page .col-md-2,
  .quote-page .col-md-3,
  .quote-page .col-md-4,
  .quote-page .col-md-6,
  .quote-page .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .butkon-block__title {
    flex-wrap: wrap;
    font-size: 0.95rem;
  }

  .quote-actions {
    position: sticky;
    bottom: 0.35rem;
    padding: 0.75rem;
    border-radius: 1rem;
  }

  .quote-actions__btns .btn {
    width: 100%;
    min-width: 0;
  }
}

.quote-wizard[data-quote-step="1"] .quote-wizard__panel--2,
.quote-wizard[data-quote-step="1"] .quote-wizard__panel--3,
.quote-wizard[data-quote-step="2"] .quote-wizard__panel--1,
.quote-wizard[data-quote-step="2"] .quote-wizard__panel--3,
.quote-wizard[data-quote-step="3"] .quote-wizard__panel--1,
.quote-wizard[data-quote-step="3"] .quote-wizard__panel--2,
.quote-wizard[data-quote-step="4"] .quote-wizard__panel--1,
.quote-wizard[data-quote-step="4"] .quote-wizard__panel--2,
.quote-wizard[data-quote-step="5"] .quote-wizard__panel--1,
.quote-wizard[data-quote-step="5"] .quote-wizard__panel--2,
.quote-wizard[data-quote-step="6"] .quote-wizard__panel--1,
.quote-wizard[data-quote-step="6"] .quote-wizard__panel--2,
.quote-wizard[data-quote-step="7"] .quote-wizard__panel--1,
.quote-wizard[data-quote-step="7"] .quote-wizard__panel--2,
.quote-wizard[data-quote-step="8"] .quote-wizard__panel--1,
.quote-wizard[data-quote-step="8"] .quote-wizard__panel--2,
.quote-wizard[data-quote-step="9"] .quote-wizard__panel--1,
.quote-wizard[data-quote-step="9"] .quote-wizard__panel--2 {
  display: none !important;
}

/* Step 3: Kabin + SÃƒÂ¼spansiyon + AÃ„Å¸Ã„Â±rlÃ„Â±k Ã…Âasesi + Tampon + next */
.quote-wizard[data-quote-step="3"] .quote-wizard__panel--3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
}

.quote-wizard[data-quote-step="3"] .quote-wizard__panel--3 > :not(.quote-wizard__step-3) {
  display: none !important;
}

.quote-wizard[data-quote-step="3"] .quote-wizard__panel--3 > .quote-wizard__step-3.card {
  grid-column: 1;
}

.quote-wizard[data-quote-step="3"] .quote-wizard__panel--3 > .quote-wizard__next.quote-wizard__step-3 {
  grid-column: 2;
  grid-row: 1 / span 20;
  align-self: center;
}

/* Step 4: Raylar + Konsollar + next */
.quote-wizard[data-quote-step="4"] .quote-wizard__panel--3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
}

.quote-wizard[data-quote-step="4"] .quote-wizard__panel--3 > :not(.quote-wizard__step-4) {
  display: none !important;
}

.quote-wizard[data-quote-step="4"] .quote-wizard__panel--3 > .quote-wizard__step-4.card {
  grid-column: 1;
}

.quote-wizard[data-quote-step="4"] .quote-wizard__panel--3 > .quote-wizard__next.quote-wizard__step-4 {
  grid-column: 2;
  grid-row: 1 / span 20;
  align-self: center;
}

.quote-wizard[data-quote-step="4"] .quote-wizard__step-4--rails { order: 1; }
.quote-wizard[data-quote-step="4"] .quote-wizard__step-4--konsollar { order: 2; }
.quote-wizard[data-quote-step="4"] .quote-wizard__next.quote-wizard__step-4 { order: 3; }

/* Step 5: Halat SeÃƒÂ§imi + next */
.quote-wizard[data-quote-step="5"] .quote-wizard__panel--3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
}

.quote-wizard[data-quote-step="5"] .quote-wizard__panel--3 > :not(.quote-wizard__step-5) {
  display: none !important;
}

.quote-wizard[data-quote-step="5"] .quote-wizard__panel--3 > .quote-wizard__step-5.card {
  grid-column: 1;
}

.quote-wizard[data-quote-step="5"] .quote-wizard__panel--3 > .quote-wizard__next.quote-wizard__step-5 {
  grid-column: 2;
  grid-row: 1 / span 20;
  align-self: center;
}

/* Step 6: KapÃ„Â± SeÃƒÂ§imi + next */
.quote-wizard[data-quote-step="6"] .quote-wizard__panel--3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
}

.quote-wizard[data-quote-step="6"] .quote-wizard__panel--3 > :not(.quote-wizard__step-6) {
  display: none !important;
}

.quote-wizard[data-quote-step="6"] .quote-wizard__panel--3 > .quote-wizard__step-6.card {
  grid-column: 1;
}

.quote-wizard[data-quote-step="6"] .quote-wizard__panel--3 > .quote-wizard__next.quote-wizard__step-6 {
  grid-column: 2;
  grid-row: 1 / span 20;
  align-self: center;
}

/* Step 7: Pano SeÃƒÂ§imi + next */
.quote-wizard[data-quote-step="7"] .quote-wizard__panel--3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
}

.quote-wizard[data-quote-step="7"] .quote-wizard__panel--3 > :not(.quote-wizard__step-7) {
  display: none !important;
}

.quote-wizard[data-quote-step="7"] .quote-wizard__panel--3 > .quote-wizard__step-7.card {
  grid-column: 1;
}

.quote-wizard[data-quote-step="7"] .quote-wizard__panel--3 > .quote-wizard__next.quote-wizard__step-7 {
  grid-column: 2;
  grid-row: 1 / span 20;
  align-self: center;
}

/* Step 8: Butonlar SeÃƒÂ§imi + next */
.quote-wizard[data-quote-step="8"] .quote-wizard__panel--3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
}

.quote-wizard[data-quote-step="8"] .quote-wizard__panel--3 > :not(.quote-wizard__step-8) {
  display: none !important;
}

.quote-wizard[data-quote-step="8"] .quote-wizard__panel--3 > .quote-wizard__step-8.card {
  grid-column: 1;
}

.quote-wizard[data-quote-step="8"] .quote-wizard__panel--3 > .quote-wizard__next.quote-wizard__step-8 {
  grid-column: 2;
  grid-row: 1 / span 20;
  align-self: center;
}

/* Step 9: Hesaplama Ãƒâ€“nizleme (fullscreen) + save actions */
.quote-wizard[data-quote-step="9"] .quote-wizard__panel--3 > :not(.quote-wizard__step-9) {
  display: none !important;
}

.quote-wizard[data-quote-step="9"] .quote-hero {
  display: none !important;
}

body.quote-shell:has(.quote-wizard[data-quote-step="9"]) .quote-container {
  max-width: none;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

.quote-wizard[data-quote-step="9"] .quote-wizard__nav {
  position: sticky;
  top: 0;
  z-index: 40;
  margin-bottom: 0.75rem;
  backdrop-filter: blur(12px);
  overflow-x: auto;
}

.quote-wizard[data-quote-step="9"] .quote-layout-row,
.quote-wizard[data-quote-step="9"] .quote-main,
.quote-wizard[data-quote-step="9"] .quote-wizard__panel--3 {
  width: 100%;
  max-width: none;
  flex: 1 1 auto;
}

.quote-wizard[data-quote-step="9"] .quote-wizard__panel--3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  min-height: 0;
}

.quote-wizard[data-quote-step="9"] .quote-step9 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  flex: 0 0 auto;
  min-height: 0;
  width: fit-content;
  max-width: min(100%, 52rem);
  margin-inline: auto;
  padding: 0.35rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(27, 168, 224, 0.18), transparent 55%),
    radial-gradient(100% 80% at 100% 20%, rgba(104, 199, 239, 0.16), transparent 50%),
    linear-gradient(180deg, rgba(244, 248, 251, 0.65), rgba(232, 239, 245, 0.4));
}

.quote-wizard[data-quote-step="9"] .quote-preview--fullscreen {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: auto;
  width: 100%;
  max-width: none;
  margin-bottom: 0 !important;
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.28) 100%) !important;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 -1px 0 rgba(255, 255, 255, 0.15) inset,
    0 18px 48px rgba(10, 24, 34, 0.12),
    0 4px 14px rgba(27, 168, 224, 0.08);
}

.quote-wizard[data-quote-step="9"] .quote-preview--fullscreen .quote-preview__head {
  background: linear-gradient(
    120deg,
    rgba(11, 28, 36, 0.72) 0%,
    rgba(22, 121, 168, 0.55) 55%,
    rgba(27, 168, 224, 0.42) 100%
  ) !important;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
  letter-spacing: 0.02em;
}

.quote-wizard[data-quote-step="9"] .quote-preview--fullscreen .card-body {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 1.1rem 1.25rem 1.15rem;
  background: transparent;
}

.quote-wizard[data-quote-step="9"] .quote-preview--fullscreen .quote-preview__markup {
  width: 100%;
  max-width: 100%;
  align-self: stretch;
}

.quote-preview__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.25rem;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.quote-preview__main {
  min-width: 0;
}

.quote-preview__summary {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.85rem 1.15rem;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.quote-preview__aside {
  display: grid;
  gap: 0.65rem;
  justify-items: stretch;
  align-content: center;
  align-self: center;
  justify-self: center;
  width: 13.75rem;
  max-width: 100%;
}

.quote-wizard[data-quote-step="9"] .quote-preview--fullscreen .quote-preview__total-card {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.quote-wizard[data-quote-step="9"] .quote-preview--fullscreen .quote-preview__total-card--main {
  background: linear-gradient(
    135deg,
    rgba(62, 174, 226, 0.32),
    rgba(255, 255, 255, 0.35)
  );
  border-color: rgba(27, 168, 224, 0.28);
}

.quote-wizard[data-quote-step="9"] .quote-preview--fullscreen .quote-preview__markup .form-control,
.quote-wizard[data-quote-step="9"] .quote-preview--fullscreen .quote-preview__markup .input-group-text {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.quote-wizard[data-quote-step="9"] .quote-preview__table {
  flex: 0 0 auto;
  max-height: none;
  overflow: visible;
}

.quote-wizard[data-quote-step="9"] .quote-actions {
  margin-top: 0.65rem;
  position: sticky;
  bottom: 0.75rem;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  border-radius: 1.15rem;
  gap: 0.75rem;
}

/* Stack step content + next on half-screen / tablet / phone
   (must follow desktop grid rules above so it wins) */
@media (max-width: 1199.98px) {
  .quote-wizard[data-quote-step="3"] .quote-wizard__panel--3,
  .quote-wizard[data-quote-step="4"] .quote-wizard__panel--3,
  .quote-wizard[data-quote-step="5"] .quote-wizard__panel--3,
  .quote-wizard[data-quote-step="6"] .quote-wizard__panel--3,
  .quote-wizard[data-quote-step="7"] .quote-wizard__panel--3,
  .quote-wizard[data-quote-step="8"] .quote-wizard__panel--3 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  .quote-wizard[data-quote-step="3"] .quote-wizard__panel--3 > .quote-wizard__step-3.card,
  .quote-wizard[data-quote-step="4"] .quote-wizard__panel--3 > .quote-wizard__step-4.card,
  .quote-wizard[data-quote-step="5"] .quote-wizard__panel--3 > .quote-wizard__step-5.card,
  .quote-wizard[data-quote-step="6"] .quote-wizard__panel--3 > .quote-wizard__step-6.card,
  .quote-wizard[data-quote-step="7"] .quote-wizard__panel--3 > .quote-wizard__step-7.card,
  .quote-wizard[data-quote-step="8"] .quote-wizard__panel--3 > .quote-wizard__step-8.card {
    grid-column: auto;
    width: 100%;
  }

  .quote-wizard[data-quote-step="3"] .quote-wizard__panel--3 > .quote-wizard__next.quote-wizard__step-3,
  .quote-wizard[data-quote-step="4"] .quote-wizard__panel--3 > .quote-wizard__next.quote-wizard__step-4,
  .quote-wizard[data-quote-step="5"] .quote-wizard__panel--3 > .quote-wizard__next.quote-wizard__step-5,
  .quote-wizard[data-quote-step="6"] .quote-wizard__panel--3 > .quote-wizard__next.quote-wizard__step-6,
  .quote-wizard[data-quote-step="7"] .quote-wizard__panel--3 > .quote-wizard__next.quote-wizard__step-7,
  .quote-wizard[data-quote-step="8"] .quote-wizard__panel--3 > .quote-wizard__next.quote-wizard__step-8 {
    grid-column: auto;
    grid-row: auto;
    align-self: flex-end;
    position: sticky;
    bottom: 0.85rem;
    top: auto;
    margin-top: 0.25rem;
    order: 99;
  }
}

/* Butonlar: LOP / COP / LIP color blocks */
.butkon-block {
  position: relative;
  margin: 0 0 1rem;
  padding: 1rem 1.1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  border-left-width: 4px;
}

.butkon-block:last-child {
  margin-bottom: 0;
}

.butkon-block__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.butkon-block__title .quote-section__include {
  margin-left: auto;
}

.butkon-block.is-section-disabled > :not(.butkon-block__title):not(.quote-section__disabled-note) {
  display: none !important;
}

.butkon-block.is-section-disabled > .quote-section__disabled-note {
  display: block;
  margin-bottom: 0;
}

.door-block {
  position: relative;
  margin: 0 0 1rem;
  padding: 1rem 1.1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(14, 26, 34, 0.08);
  background: rgba(255, 255, 255, 0.55);
}

/* Tip / Panel Tipi need more room than GeniÅŸlik / AÃ§ma */
.door-block__fields .door-field--wide .form-select {
  min-width: 0;
  padding-right: 2.35rem;
  white-space: nowrap;
}

.door-block__fields .door-field--wide {
  min-width: 10.5rem;
}

@media (max-width: 1199.98px) {
  .door-block__fields .door-field--wide {
    flex: 1 1 12rem;
    max-width: none;
    width: auto;
  }

  .door-block__fields .door-field--sm {
    flex: 0 1 7.5rem;
    max-width: none;
    width: auto;
  }

  .door-block__fields .form-select {
    font-size: 0.92rem;
  }
}

.door-block:last-of-type {
  margin-bottom: 0.75rem;
}

.door-block__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  font-weight: 700;
  font-size: 1rem;
}

.door-block__title .quote-section__include {
  margin-left: auto;
}

.door-block.is-section-disabled > :not(.door-block__title):not(.quote-section__disabled-note) {
  display: none !important;
}

.door-block.is-section-disabled > .quote-section__disabled-note {
  display: block;
  margin-bottom: 0;
}

.butkon-block__badge {
  display: inline-grid;
  place-items: center;
  min-width: 2.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: #fff;
}

.butkon-block--lop {
  --butkon-accent: #0B6FA0;
  background: linear-gradient(160deg, rgba(27, 168, 224, 0.14), rgba(255, 255, 255, 0.55));
  border-color: rgba(11, 111, 160, 0.22);
  border-left-color: var(--butkon-accent);
}

.butkon-block--lop .butkon-block__title {
  color: #0B6FA0;
}

.butkon-block--lop .butkon-block__badge {
  background: #0B6FA0;
  box-shadow: 0 4px 12px rgba(11, 111, 160, 0.25);
}

.butkon-block--cop {
  --butkon-accent: #1F8A4C;
  background: linear-gradient(160deg, rgba(46, 160, 90, 0.14), rgba(255, 255, 255, 0.55));
  border-color: rgba(31, 138, 76, 0.22);
  border-left-color: var(--butkon-accent);
}

.butkon-block--cop .butkon-block__title {
  color: #176b3b;
}

.butkon-block--cop .butkon-block__badge {
  background: #1F8A4C;
  box-shadow: 0 4px 12px rgba(31, 138, 76, 0.25);
}

.butkon-block--lip {
  --butkon-accent: #C47A12;
  background: linear-gradient(160deg, rgba(232, 162, 54, 0.16), rgba(255, 255, 255, 0.55));
  border-color: rgba(196, 122, 18, 0.24);
  border-left-color: var(--butkon-accent);
}

.butkon-block--lip .butkon-block__title {
  color: #9a5f0c;
}

.butkon-block--lip .butkon-block__badge {
  background: #C47A12;
  box-shadow: 0 4px 12px rgba(196, 122, 18, 0.25);
}

.butkon-block--other {
  --butkon-accent: #64748b;
  background: linear-gradient(160deg, rgba(100, 116, 139, 0.12), rgba(255, 255, 255, 0.55));
  border-color: rgba(100, 116, 139, 0.22);
  border-left-color: var(--butkon-accent);
}

.butkon-block--other .butkon-block__title {
  color: #334155;
}

.butkon-block--other .butkon-block__badge {
  background: #64748b;
  box-shadow: 0 4px 12px rgba(100, 116, 139, 0.25);
}

/* Label + switch row (LOP / COP / LIP / Denge Zincir) */
.butkon-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 1.55rem;
}

.butkon-toggle__label {
  font-weight: 700;
  color: inherit;
  line-height: 1.25;
  user-select: none;
}

/* Shared iOS-style toggle (blue ON) Ã¢â‚¬â€ KapÃ„Â± ÃƒÅ“stÃƒÂ¼ / Denge Zincir */
.liftup-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-left: 0;
  min-height: 0;
  flex: 0 0 auto;
}

.liftup-switch .form-check-input {
  width: 2.75rem;
  height: 1.55rem;
  margin: 0;
  float: none;
  cursor: pointer;
  background-color: #d1d5db;
  background-image: none;
  border: 0;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 2px rgba(14, 26, 34, 0.18),
    inset 0 0 0 1px rgba(14, 26, 34, 0.06);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  --bs-form-switch-bg: transparent;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
}

.liftup-switch .form-check-input::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(14, 26, 34, 0.28);
  transition: transform 0.2s ease;
}

.liftup-switch .form-check-input:focus {
  box-shadow:
    inset 0 1px 2px rgba(14, 26, 34, 0.18),
    0 0 0 0.2rem rgba(27, 168, 224, 0.28);
}

.liftup-switch .form-check-input:checked {
  background-color: #1BA8E0;
  background-image: none;
  border-color: transparent;
  box-shadow:
    inset 0 1px 2px rgba(8, 70, 100, 0.22),
    inset 0 0 0 1px rgba(11, 111, 160, 0.15);
}

.liftup-switch .form-check-input:checked::after {
  transform: translateX(1.2rem);
}

.liftup-switch .form-check-label {
  margin: 0;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.butkon-block--lip .liftup-switch .form-check-label {
  color: #9a5f0c;
}

.quote-sidebar-col {
  display: none !important;
}

.quote-main {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
}

/* Sections */
.quote-main > .quote-section,
.quote-main .quote-wizard__panel > .quote-section {
  animation: quote-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.quote-main > .quote-section:nth-child(1) { animation-delay: 0.04s; }
.quote-main > .quote-section:nth-child(2) { animation-delay: 0.07s; }
.quote-main > .quote-section:nth-child(3) { animation-delay: 0.1s; }
.quote-main > .quote-section:nth-child(4) { animation-delay: 0.13s; }
.quote-main > .quote-section:nth-child(5) { animation-delay: 0.16s; }
.quote-main > .quote-section:nth-child(n+6) { animation-delay: 0.18s; }

.quote-section {
  background: var(--qp-surface);
  border-radius: var(--qp-radius) !important;
  box-shadow: var(--qp-shadow);
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  overflow: hidden;
  backdrop-filter: blur(14px) saturate(1.15);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.cabin-opsiyon {
  position: relative;
}

.cabin-opsiyon__trigger {
  display: flex;
  align-items: center;
  width: 100%;
  cursor: pointer;
}

.cabin-opsiyon__trigger.form-select {
  background-image: none;
  padding-right: 2.25rem;
}

.cabin-opsiyon__trigger::after {
  content: "";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #6b7c88;
  border-bottom: 2px solid #6b7c88;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.cabin-opsiyon.is-open .cabin-opsiyon__trigger::after {
  transform: translateY(-25%) rotate(225deg);
}

.cabin-opsiyon__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cabin-opsiyon__label.is-placeholder {
  color: #6c757d;
}

.cabin-opsiyon__panel {
  position: absolute;
  z-index: 1060;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  max-height: 16rem;
  overflow-y: auto;
  padding: 0.4rem;
  border: 1px solid var(--qp-line, #d9e2ea);
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 32, 44, 0.12);
}

.cabin-opsiyon__item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  padding: 0.45rem 0.55rem;
  border-radius: 0.45rem;
  cursor: pointer;
  font-size: 0.925rem;
  line-height: 1.3;
}

.cabin-opsiyon__item:hover {
  background: rgba(15, 118, 110, 0.08);
}

.cabin-opsiyon__item .form-check-input {
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

.cabin-opsiyon-selected {
  padding: 0.65rem 0.85rem;
  border: 1px dashed var(--qp-line, #d9e2ea);
  border-radius: 0.65rem;
  background: rgba(15, 118, 110, 0.04);
}

.cabin-opsiyon-selected__list {
  padding-left: 1.15rem;
}

.cabin-opsiyon-selected__list li {
  margin: 0.15rem 0;
  font-weight: 600;
}

.denge-zincir-popup {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: 0.85rem;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), transparent 55%),
    #f7fbfb;
  box-shadow: 0 8px 22px rgba(18, 32, 44, 0.06);
}

.denge-zincir-popup__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.65rem;
}

.denge-zincir-popup__details {
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(15, 118, 110, 0.28);
}

.quote-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 70px rgba(7, 19, 26, 0.14);
  border-color: rgba(62, 174, 226, 0.28) !important;
}

.quote-section__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 250, 251, 0.9)) !important;
  border-bottom: 1px solid var(--qp-line) !important;
  color: var(--qp-ink);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  padding: 1rem 1.2rem;
}

.quote-section__include {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  flex: 0 0 auto;
}

.quote-section__include-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--qp-muted, #62707c);
}

.quote-section.is-section-disabled > .card-body {
  opacity: 1;
  pointer-events: auto;
  user-select: auto;
}

.quote-section.is-section-disabled > .card-body > :not(.quote-section__manual-fallbacks):not(.quote-section__disabled-note) {
  display: none !important;
}

.quote-section__disabled-note {
  display: none;
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  background: rgba(14, 26, 34, 0.06);
  color: var(--qp-muted, #62707c);
  font-size: 0.85rem;
  font-weight: 600;
}

.quote-section.is-section-disabled .quote-section__disabled-note {
  display: block;
  opacity: 1 !important;
  pointer-events: none;
}

.quote-section__manual-fallbacks {
  display: none;
  margin-top: 0.35rem;
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: 1rem;
  border: 1.5px solid rgba(27, 168, 224, 0.45);
  background: #fff;
  box-shadow:
    0 0 0 3px rgba(27, 168, 224, 0.1),
    0 12px 28px rgba(11, 79, 108, 0.1);
}

.quote-section.is-section-disabled .quote-section__manual-fallbacks {
  display: block;
  opacity: 1 !important;
  pointer-events: auto !important;
  user-select: auto !important;
  filter: none !important;
}

.quote-section.is-section-disabled .quote-section__manual-fallbacks .form-label {
  color: #0b4f6c;
  font-weight: 650;
  opacity: 1;
}

.quote-section.is-section-disabled .quote-section__manual-fallbacks .form-control,
.quote-section.is-section-disabled .quote-section__manual-fallbacks .form-select {
  opacity: 1;
  background-color: #fff;
  color: #0e1a22;
  border-color: rgba(27, 168, 224, 0.35);
  box-shadow: none;
}

.quote-section__hand-note {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--qp-muted, #66748c);
}

.quote-metrics--hand .quote-metric {
  gap: 0.35rem;
}

.quote-metrics--hand .quote-metric__label {
  display: block;
  margin-bottom: 0.2rem;
}

.quote-section__manual-fallbacks-title {
  font-weight: 800;
  font-size: 0.98rem;
  color: #0b4f6c;
  margin-bottom: 0.85rem;
}

.quote-main > .quote-section > .quote-section__head::before {
  counter-increment: quote-step;
  content: counter(quote-step, decimal-leading-zero);
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.75rem;
  background: linear-gradient(145deg, rgba(62, 174, 226, 0.2), rgba(27, 168, 224, 0.12));
  color: var(--qp-accent-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px rgba(27, 168, 224, 0.12);
}

.quote-section--side > .quote-section__head::before {
  content: none;
}

.quote-section .card-body {
  padding: 1.25rem;
}

.quote-section--compact .card-body {
  padding: 1.05rem 1.2rem;
}

.quote-page .form-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--qp-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quote-page .form-control,
.quote-page .form-select {
  border: 1px solid transparent;
  border-radius: 980px;
  min-height: 2.75rem;
  background-color: rgba(120, 120, 128, 0.12);
  border: 1px solid transparent;
  box-shadow: none;
  padding-left: 1.15rem;
  padding-right: 1.15rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}

.quote-page textarea.form-control {
  border-radius: 1.35rem;
  min-height: 6.5rem;
  padding: 0.85rem 1.15rem;
}

/* Native selects only â€” searchable inputs use .lu-select::after */
.quote-page .form-select:not(.lu-select__input) {
  --qp-select-arrow: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23064d73' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  padding-right: 2.5rem;
  background-image: var(--qp-select-arrow);
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 14px 10px;
  cursor: pointer;
}

.quote-page .lu-select__input {
  padding-right: 2.5rem;
  background-image: none;
  cursor: text;
}

.quote-page .form-control:hover,
.quote-page .form-select:hover {
  background-color: rgba(120, 120, 128, 0.16);
  border-color: transparent;
}

.quote-page .form-control:focus,
.quote-page .form-select:focus {
  border-color: rgba(62, 174, 226, 0.45);
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 0.25rem var(--qp-accent-soft);
}

.quote-page .form-select:not(.lu-select__input):focus {
  background-image: var(--qp-select-arrow);
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 14px 10px;
}

.quote-page .form-select:not(.lu-select__input):disabled {
  background-color: #eef2f5;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2362707c' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 14px 10px;
  cursor: not-allowed;
  opacity: 0.9;
}

.quote-page .lu-select__input:disabled {
  background-color: #eef2f5;
  background-image: none;
  cursor: not-allowed;
  opacity: 0.9;
}

.quote-page .form-select[multiple],
.quote-page .form-select[size]:not([size="1"]) {
  padding-right: 0.75rem;
  background-image: none;
}

/* Firma / mÃ¼ÅŸteri typeahead â€” case-insensitive suggestions */
.quote-page .customer-suggest {
  position: relative;
  width: 100%;
}

.customer-suggest__panel,
.quote-page .customer-suggest__panel {
  position: absolute;
  z-index: 4000;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: min(16rem, 45vh);
  overflow-y: auto;
  padding: 0.4rem;
  border-radius: 1.35rem;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow:
    0 22px 48px rgba(8, 24, 40, 0.16),
    0 2px 8px rgba(8, 24, 40, 0.06);
}

.customer-suggest__panel[hidden] {
  display: none !important;
}

.customer-suggest__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin: 0.08rem 0;
  padding: 0.62rem 0.95rem;
  border: 0;
  border-radius: 980px;
  background: transparent;
  color: #243848;
  font: inherit;
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.customer-suggest__option:hover,
.customer-suggest__option.is-active {
  color: #0B6FA0;
  background: rgba(27, 168, 224, 0.12);
}

.customer-suggest__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-suggest__meta {
  flex-shrink: 0;
  font-size: 0.78rem;
  color: #7a8b98;
  font-weight: 600;
}

.customer-suggest__empty {
  padding: 0.75rem 0.8rem;
  color: #7a8b98;
  font-size: 0.875rem;
  text-align: center;
}

/* Custom modern select (native open lists cannot be styled) */
.quote-page .ms-wrap {
  position: relative;
  width: 100%;
}

.quote-page .ms-wrap > select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  min-height: 0 !important;
}

.quote-page .ms-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 0.95rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(14, 26, 34, 0.1);
  background: #fcfdfe;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #1a2b37;
  font: inherit;
  font-weight: 500;
  text-align: left;
  cursor: text;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.quote-page .ms-wrap--sm .ms-trigger {
  min-height: 2.35rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
}

.quote-page .ms-trigger:hover {
  border-color: rgba(27, 168, 224, 0.28);
}

.quote-page .ms-wrap.is-open .ms-trigger,
.quote-page .ms-trigger:focus-within {
  outline: none;
  border-color: rgba(62, 174, 226, 0.65);
  background: #fff;
  box-shadow: 0 0 0 0.25rem var(--qp-accent-soft), 0 10px 24px rgba(27, 168, 224, 0.08);
}

.quote-page .ms-wrap.is-placeholder .ms-trigger__input::placeholder {
  color: #7a8b98;
}

.quote-page .ms-wrap.is-disabled .ms-trigger {
  opacity: 0.62;
  cursor: not-allowed;
  background: rgba(14, 26, 34, 0.04);
}

.quote-page .ms-trigger__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 500;
  padding: 0;
  margin: 0;
  outline: none;
  box-shadow: none;
  width: 100%;
}

.quote-page .ms-trigger__input:disabled {
  cursor: not-allowed;
}

.quote-page .ms-trigger__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-page .ms-trigger__chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #6f8493;
  border-bottom: 2px solid #6f8493;
  transform: rotate(45deg) translateY(-1px);
  flex-shrink: 0;
  transition: transform 0.18s ease;
  cursor: pointer;
}

.quote-page .ms-wrap.is-open .ms-trigger__chevron {
  transform: rotate(225deg) translateY(-1px);
}

.ms-empty {
  padding: 0.7rem 0.8rem;
  text-align: center;
  color: #7a8b98;
  font-size: 0.875rem;
}

.ms-panel .ms-option.is-active {
  outline: none;
  color: #0B6FA0;
  background: rgba(27, 168, 224, 0.12);
}

.quote-page .ms-panel,
.ms-panel {
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  display: none;
  max-height: min(18rem, 50vh);
  overflow: auto;
  padding: 0.4rem;
  border-radius: 1rem;
  border: 1px solid rgba(104, 199, 239, 0.22);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow:
    0 22px 48px rgba(8, 24, 40, 0.18),
    0 2px 8px rgba(8, 24, 40, 0.06);
  animation: site-dropdown-in 0.16s ease-out;
}

.quote-page .ms-wrap.is-open .ms-panel,
.ms-panel[data-ms-owner] {
  display: block;
}

.ms-panel.is-drop-up {
  box-shadow:
    0 -18px 40px rgba(8, 24, 40, 0.16),
    0 2px 8px rgba(8, 24, 40, 0.05);
}

.quote-page .ms-option,
.ms-panel .ms-option {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.55rem;
  margin: 0.08rem 0;
  padding: 0.62rem 0.8rem;
  border: 0;
  border-radius: 0.7rem;
  background: transparent;
  color: #243848;
  font: inherit;
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, transform 0.12s ease;
}

.quote-page .ms-option::before,
.ms-panel .ms-option::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(27, 168, 224, 0.28);
  flex-shrink: 0;
}

.quote-page .ms-option:hover,
.quote-page .ms-option:focus,
.ms-panel .ms-option:hover,
.ms-panel .ms-option:focus {
  outline: none;
  color: #0B6FA0;
  background: rgba(27, 168, 224, 0.12);
  transform: translateX(2px);
}

.quote-page .ms-option:hover::before,
.quote-page .ms-option:focus::before,
.ms-panel .ms-option:hover::before,
.ms-panel .ms-option:focus::before {
  background: #1BA8E0;
}

.quote-page .ms-option.is-selected,
.ms-panel .ms-option.is-selected {
  color: #041018;
  background: linear-gradient(135deg, rgba(104, 199, 239, 0.35), rgba(27, 168, 224, 0.18));
  font-weight: 600;
}

.quote-page .ms-option.is-selected::before,
.ms-panel .ms-option.is-selected::before {
  background: #1BA8E0;
}

.quote-page .ms-option:disabled,
.quote-page .ms-option.is-placeholder,
.ms-panel .ms-option:disabled,
.ms-panel .ms-option.is-placeholder {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

.quote-page .ms-option:disabled:hover,
.quote-page .ms-option.is-placeholder:hover,
.ms-panel .ms-option:disabled:hover,
.ms-panel .ms-option.is-placeholder:hover {
  background: transparent;
  color: #243848;
  transform: none;
}

.quote-project-grid .ms-trigger {
  min-height: 2.5rem;
}

.quote-page .form-control:read-only {
  background: rgba(14, 26, 34, 0.04);
  color: #4b5c69;
}

.quote-page hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 26, 34, 0.12), transparent);
  opacity: 1;
  margin-block: 1.15rem;
}

.quote-metrics {
  margin-top: 0.2rem;
}

.quote-metric {
  height: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 0.95rem;
  background: var(--qp-wash);
  border: 1px solid rgba(14, 26, 34, 0.04);
}

.quote-metric--accent {
  background: linear-gradient(135deg, rgba(62, 174, 226, 0.16), rgba(27, 168, 224, 0.05));
  border-color: rgba(27, 168, 224, 0.16);
}

.quote-metric__value {
  font-size: 1rem;
  font-weight: 700;
}

.quote-project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.quote-project-field--full {
  grid-column: 1 / -1;
}

.quote-project-grid .form-control,
.quote-project-grid .form-select {
  min-height: 2.5rem;
}

/* Floating sidebar panel */
.quote-sidebar-panel {
  padding: 0.65rem;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 24px 60px rgba(7, 19, 26, 0.12);
  backdrop-filter: blur(18px) saturate(1.2);
}

.quote-sidebar-panel > .quote-section {
  margin-bottom: 0.75rem !important;
  box-shadow: none;
}

.quote-sidebar-panel > .quote-section:last-child {
  margin-bottom: 0 !important;
}

.quote-section--side {
  background: rgba(255, 255, 255, 0.92);
}

.quote-offer-inline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Action dock */
.quote-actions {
  position: sticky;
  bottom: 0.9rem;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 0.35rem;
  padding: 0.95rem 1.15rem;
  border-radius: 1.2rem;
  background: rgba(10, 22, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 50px rgba(7, 19, 26, 0.28);
  backdrop-filter: blur(16px);
  color: #fff;
}

.quote-actions__copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.quote-actions__kicker {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(184, 233, 250, 0.9);
  font-weight: 700;
}

.quote-actions__copy strong {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.quote-actions__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.quote-page .quote-btn-primary,
.quote-page .btn-primary {
  background: linear-gradient(180deg, #68C7EF, #1BA8E0);
  border-color: transparent;
  border-radius: 0.85rem;
  font-weight: 700;
  padding-inline: 1.25rem;
  color: #063047;
  box-shadow: 0 10px 24px rgba(62, 174, 226, 0.35);
}

.quote-page .quote-btn-primary:hover,
.quote-page .btn-primary:hover {
  background: linear-gradient(180deg, #8AD7F5, #1596CC);
  border-color: transparent;
  color: #063047;
}

.quote-page .quote-btn-secondary,
.quote-page .btn-outline-primary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  border-radius: 0.85rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
}

.quote-page .quote-btn-secondary:hover,
.quote-page .btn-outline-primary:hover {
  background: rgba(62, 174, 226, 0.22);
  border-color: rgba(11, 111, 160, 0.48);
  color: #fff;
}

.quote-page .btn-outline-secondary {
  border-radius: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.18);
}

.quote-page .btn-outline-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.quote-page .btn-sm {
  border-radius: 0.7rem;
  font-weight: 600;
}

.quote-page .quote-section .btn-primary,
.quote-page .quote-section .btn-outline-primary,
.quote-page .quote-section .btn-outline-secondary,
.quote-page .quote-section .btn-success {
  color: inherit;
}

.quote-page .quote-section .btn-primary {
  background: linear-gradient(180deg, #3EAEE2, #1BA8E0);
  color: #fff;
  box-shadow: 0 8px 18px rgba(27, 168, 224, 0.22);
}

.quote-page .quote-section .btn-outline-primary {
  color: var(--qp-accent-deep);
  border-color: rgba(27, 168, 224, 0.35);
  background: #fff;
}

.quote-page .quote-section .btn-outline-secondary {
  color: #445463;
  border-color: rgba(14, 26, 34, 0.15);
}

/* Preview */
.quote-preview__head {
  background: linear-gradient(135deg, #0b1c24 0%, #1BA8E0 100%) !important;
  color: #fff !important;
  border-bottom: 0 !important;
  font-weight: 700;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.quote-preview__head::before {
  display: none !important;
}

.quote-preview__head-rates {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.quote-preview__head-rate {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.quote-preview__head-rate span:first-child {
  opacity: 0.82;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quote-preview__head-rate strong {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.quote-preview__markup .form-label {
  font-weight: 700;
  font-size: 0.9rem;
}

.quote-preview__markup .form-control {
  font-weight: 700;
}

.quote-preview__markup-input {
  max-width: 14rem;
}

.quote-preview__totals {
  display: grid;
  grid-template-columns: minmax(11rem, 13.5rem) minmax(9.5rem, 11.5rem);
  gap: 0.55rem 0.65rem;
  margin: 0;
  width: fit-content;
}

.quote-preview__totals-col {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.quote-preview__total-card {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.quote-preview__total-card dt {
  margin: 0;
  font-weight: 600;
  color: var(--qp-muted);
  font-size: 0.8rem;
}

.quote-preview__total-card dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.quote-preview__total-card--main {
  background: linear-gradient(135deg, rgba(62, 174, 226, 0.32), rgba(255, 255, 255, 0.35));
  border-color: rgba(27, 168, 224, 0.28);
}

.quote-preview__total-card--main dd {
  color: var(--qp-accent-deep);
  font-size: 1.1rem;
}

.quote-preview__offer-actions {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.55rem;
  align-items: stretch;
}

.quote-preview__aside .quote-preview__action {
  width: 100%;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .quote-wizard[data-quote-step="9"] .quote-step9 {
    width: 100%;
    max-width: 100%;
  }

  .quote-wizard[data-quote-step="9"] .quote-preview--fullscreen {
    width: 100%;
    max-width: none;
  }

  .quote-preview__body {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .quote-preview__summary {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .quote-preview__totals {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .quote-preview__aside {
    width: 100%;
  }

  .quote-preview__offer-actions {
    flex-direction: row;
  }
}

.quote-preview__action {
  min-height: 2.7rem;
  padding: 0.6rem 1.2rem !important;
  border-radius: 0.95rem !important;
  font-weight: 750 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.01em;
  line-height: 1.2;
  border-width: 1px !important;
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease, color 0.15s ease;
}

.quote-preview__action--preview {
  color: #fff !important;
  background:
    linear-gradient(145deg, rgba(27, 168, 224, 0.78) 0%, rgba(15, 111, 150, 0.72) 100%) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 -1px 0 rgba(4, 37, 54, 0.18) inset,
    0 12px 28px rgba(27, 168, 224, 0.32);
  text-shadow: 0 1px 1px rgba(4, 37, 54, 0.35);
}

.quote-preview__action--preview:hover,
.quote-preview__action--preview:focus {
  color: #fff !important;
  background:
    linear-gradient(145deg, rgba(27, 168, 224, 0.92) 0%, rgba(15, 111, 150, 0.85) 100%) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 -1px 0 rgba(4, 37, 54, 0.2) inset,
    0 14px 32px rgba(27, 168, 224, 0.4);
  transform: translateY(-1px);
}

.quote-preview__action--print {
  color: #042536 !important;
  background: rgba(255, 255, 255, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 24px rgba(10, 24, 34, 0.12);
}

.quote-preview__action--print:hover,
.quote-preview__action--print:focus {
  color: #042536 !important;
  background: rgba(255, 255, 255, 0.78) !important;
  border-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow:
    0 1px 0 #fff inset,
    0 12px 28px rgba(10, 24, 34, 0.16);
  transform: translateY(-1px);
}

.quote-offer-preview__header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.quote-offer-preview--page {
  border-radius: 1.15rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.quote-offer-preview--page > .card-body {
  padding: 1.25rem 1.35rem 1rem;
}

#quote-offer-preview-modal {
  z-index: 1080;
}

#quote-offer-preview-modal .modal-dialog {
  max-height: calc(100vh - 2rem);
  margin: 1rem auto;
}

#quote-offer-preview-modal .modal-content {
  max-height: calc(100vh - 2rem);
}

#quote-offer-preview-modal .modal-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.quote-offer-preview .modal-header {
  background: linear-gradient(135deg, #0b1c24 0%, #1BA8E0 100%);
  color: #fff;
}

.quote-offer-preview .btn-close {
  filter: invert(1);
}

.quote-offer-preview__top {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-start;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(14, 26, 34, 0.1);
}

.quote-offer-preview__firma {
  min-width: 0;
  flex: 1 1 auto;
}

.quote-offer-preview__firma-name {
  display: block;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.quote-offer-preview__address {
  margin-top: 0.2rem;
  color: #5b6b78;
  font-size: 0.9rem;
  line-height: 1.35;
}

.quote-offer-preview__meta {
  display: grid;
  gap: 0.55rem;
  text-align: right;
  flex: 0 0 auto;
  min-width: 9.5rem;
}

.quote-offer-preview__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a8a97;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.quote-offer-preview__specs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.quote-offer-preview__specs > div {
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(14, 26, 34, 0.04);
}

.quote-offer-preview__groups {
  --qop-ink: #0b1c24;
  --qop-muted: #6a7b88;
  --qop-line: rgba(14, 26, 34, 0.08);
  --qop-wash: #f4f8fb;
  --qop-accent: #1ba8e0;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--qop-line);
  display: grid;
  gap: 1rem;
  counter-reset: offer-group;
}

.quote-offer-group {
  border: 1px solid var(--qop-line);
  border-radius: 1.15rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 32px rgba(10, 24, 34, 0.06);
}

.quote-offer-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.85rem 1.05rem;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(104, 199, 239, 0.28), transparent 55%),
    linear-gradient(120deg, #0b1c24 0%, #123645 48%, #1679a8 100%);
  color: #fff;
}

.quote-offer-group__head-main {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.quote-offer-group__index {
  counter-increment: offer-group;
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.55rem;
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.quote-offer-group__index::before {
  content: counter(offer-group, decimal-leading-zero);
}

.quote-offer-group__title {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.quote-offer-group__sum {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.98rem;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.8rem 0.35rem 0.7rem;
  backdrop-filter: blur(8px);
}

.quote-offer-group__sum-label {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
  font-weight: 700;
}

.quote-offer-group__sum-unit {
  font-size: 0.7rem;
  opacity: 0.8;
  font-weight: 700;
}

.quote-offer-group__body {
  background: linear-gradient(180deg, var(--qop-wash), #fff 42%);
}

.quote-offer-preview__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

.quote-offer-preview__table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--qop-muted);
  background: rgba(244, 248, 251, 0.96);
  border-bottom: 1px solid var(--qop-line);
  white-space: nowrap;
  padding: 0.7rem 0.9rem;
  font-weight: 700;
}

.quote-offer-preview__table tbody td {
  vertical-align: middle;
  border-bottom: 1px solid rgba(14, 26, 34, 0.05);
  font-size: 0.9rem;
  padding: 0.85rem 0.9rem;
  color: var(--qop-ink);
}

.quote-offer-preview__table tbody tr:last-child td {
  border-bottom: 0;
}

.quote-offer-preview__table tbody tr {
  transition: background-color 0.15s ease;
}

.quote-offer-preview__table tbody tr:hover {
  background: rgba(27, 168, 224, 0.06);
}

.quote-offer-preview__table .col-material {
  min-width: 14rem;
}

.quote-offer-preview__table .col-brand {
  width: 8.5rem;
}

.quote-offer-preview__table .col-qty,
.quote-offer-preview__table .col-unit {
  width: 4.5rem;
}

.quote-offer-preview__table .col-unit-price,
.quote-offer-preview__table .col-total {
  width: 7.5rem;
}

.quote-offer-line__name {
  display: block;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.quote-offer-line__brand {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(27, 168, 224, 0.1);
  color: #0f6f96;
  border: 1px solid rgba(27, 168, 224, 0.18);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quote-offer-line__muted {
  color: #9aabb7;
}

.quote-offer-line__qty {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.quote-offer-line__unit {
  color: var(--qop-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.quote-offer-line__money,
.quote-offer-line__total {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  white-space: nowrap;
}

.quote-offer-line__money {
  color: #445463;
}

.quote-offer-line__total {
  font-weight: 800;
  color: var(--qop-ink);
}

.quote-offer-preview__totals {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 1.15rem;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(27, 168, 224, 0.12), transparent 50%),
    linear-gradient(180deg, #f7fbfe, #fff);
  border: 1px solid var(--qop-line);
  box-shadow: 0 12px 28px rgba(10, 24, 34, 0.05);
}

.quote-offer-preview__totals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.quote-offer-preview__totals-grid > div {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(14, 26, 34, 0.06);
}

.quote-offer-preview__totals-grid span,
.quote-offer-preview__totals-main span {
  color: var(--qop-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quote-offer-preview__totals-grid strong,
.quote-offer-preview__totals-main strong {
  font-variant-numeric: tabular-nums;
  color: var(--qop-ink);
  font-size: 0.98rem;
}

.quote-offer-preview__totals small {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--qop-muted);
  margin-left: 0.15rem;
}

.quote-offer-preview__totals-main {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 0.95rem;
  background: linear-gradient(120deg, rgba(11, 28, 36, 0.96), rgba(22, 121, 168, 0.92));
  color: #fff;
}

.quote-offer-preview__totals-main span {
  color: rgba(255, 255, 255, 0.72);
}

.quote-offer-preview__totals-main strong {
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.quote-offer-preview__totals-main small {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 991.98px) {
  .quote-offer-preview__top {
    flex-direction: column;
  }

  .quote-offer-preview__meta {
    text-align: left;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .quote-offer-preview__specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-offer-preview__totals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .quote-offer-preview__table .col-brand,
  .quote-offer-preview__table .col-unit {
    display: none;
  }

  .quote-offer-group__sum-label {
    display: none;
  }
}

.quote-print-root {
  display: none;
}

.quote-print-doc {
  --qpd-ink: #0b1c24;
  --qpd-muted: #4d5f6c;
  --qpd-line: #c9d4dc;
  --qpd-group: #0f4c6e;
  color: var(--qpd-ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 11.5pt;
  line-height: 1.35;
}

.quote-print-doc__brand {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  width: 100%;
}

.quote-print-doc__logo {
  width: 140px;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.quote-print-doc__company-text {
  flex: 1 1 auto;
  min-width: 0;
}

.quote-print-doc__company-name {
  color: #0a3d66;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.55rem;
  text-transform: uppercase;
  border-bottom: 3px double #0a3d66;
  display: block;
  width: 100%;
  padding-bottom: 0.2rem;
  margin-bottom: 0.35rem;
}

.quote-print-doc__company-office {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.quote-print-doc__company-line {
  font-size: 0.92rem;
  color: var(--qpd-ink);
  line-height: 1.45;
}

.quote-print-doc__parties {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1rem;
  margin-top: 1.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--qpd-line);
}

.quote-print-doc__section-title {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--qpd-muted);
  font-weight: 700;
}

.quote-print-doc__customer-name {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.quote-print-doc__customer {
  font-size: 0.9rem;
}

.quote-print-doc__project {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.quote-print-doc__project span {
  border: 1px solid var(--qpd-line);
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.quote-print-doc__project-block {
  margin-top: 0.85rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--qpd-line);
  border-radius: 0.45rem;
  background: #f7fafc;
}

.quote-print-doc__project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem 0.75rem;
}

.quote-print-doc__project-grid > div {
  display: grid;
  gap: 0.1rem;
}

.quote-print-doc__project-grid span {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--qpd-muted);
  font-weight: 700;
}

.quote-print-doc__project-grid strong {
  font-size: 0.9rem;
  font-weight: 700;
}

.quote-print-doc__meta {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.75rem;
}

.quote-print-doc__meta-list {
  margin: 0;
  display: grid;
  gap: 0.45rem;
  min-width: 11rem;
}

.quote-print-doc__meta-list > div {
  display: grid;
  gap: 0.05rem;
}

.quote-print-doc__meta-list dt {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--qpd-muted);
  font-weight: 700;
}

.quote-print-doc__meta-list dd {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.quote-print-doc__qr {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  flex: 0 0 auto;
}

.quote-print-doc__qr img {
  width: 120px;
  height: 120px;
  border: 1px solid var(--qpd-line);
  border-radius: 0.35rem;
  background: #fff;
}

.quote-print-doc__qr-placeholder {
  width: 120px;
  height: 120px;
  border: 1px dashed var(--qpd-line);
  border-radius: 0.35rem;
  display: grid;
  place-items: center;
  color: var(--qpd-muted);
  font-weight: 700;
  background: #fff;
}

.quote-print-doc__lines {
  margin-top: 1rem;
}

.quote-print-doc__table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.quote-print-doc__table thead th {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--qpd-muted);
  border-bottom: 1px solid var(--qpd-line);
  padding: 0.4rem 0.35rem;
  text-align: left;
  font-weight: 700;
}

.quote-print-doc__table td {
  padding: 0.38rem 0.35rem;
  border-bottom: 1px solid #e4ebf0;
  vertical-align: top;
  font-size: 0.84rem;
}

.quote-print-doc__group-row td {
  background: var(--qpd-group);
  color: #fff;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 0.45rem 0.45rem;
  border-bottom: 0;
}

.quote-print-doc__table .col-material { width: 34%; overflow-wrap: anywhere; }
.quote-print-doc__table .col-brand { width: 14%; overflow-wrap: anywhere; }
.quote-print-doc__table .col-qty { width: 8%; text-align: right; white-space: nowrap; }
.quote-print-doc__table .col-unit { width: 8%; white-space: nowrap; }
.quote-print-doc__table .col-unit-price,
.quote-print-doc__table .col-total {
  width: 18%;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.quote-print-doc__totals {
  margin-top: 0.9rem;
  display: flex;
  justify-content: flex-end;
}

.quote-print-doc__invoice-totals {
  width: 16rem;
  border-collapse: collapse;
}

.quote-print-doc__invoice-totals th,
.quote-print-doc__invoice-totals td {
  padding: 0.35rem 0.4rem;
  border-bottom: 1px solid var(--qpd-line);
  font-size: 0.9rem;
}

.quote-print-doc__invoice-totals th {
  text-align: left;
  font-weight: 650;
  color: var(--qpd-muted);
}

.quote-print-doc__invoice-totals td {
  text-align: right;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.quote-print-doc__invoice-totals tr:first-child th,
.quote-print-doc__invoice-totals tr:first-child td {
  border-top: 2px solid var(--qpd-ink);
  padding-top: 0.5rem;
  font-size: 1rem;
  color: var(--qpd-ink);
  font-weight: 800;
}

.quote-print-doc__invoice-totals tr:last-child th,
.quote-print-doc__invoice-totals tr:last-child td {
  border-bottom: 0;
}

@media print {
  html {
    zoom: 1 !important;
  }

  @page {
    size: A4 portrait;
    margin: 10mm 9mm 12mm;
  }

  body.quote-offer-printing {
    background: #fff !important;
    overflow: visible !important;
  }

  /* Hide everything except the print document (visibility leaves blank pages). */
  body.quote-offer-printing > *:not(#quote-print-root) {
    display: none !important;
  }

  body.quote-offer-printing #quote-print-root {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.quote-offer-printing .quote-print-doc__group-row td,
  body.quote-offer-printing .quote-print-doc__project-block {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

body.modal-open {
  overflow: hidden;
  padding-right: 0 !important;
}

.quote-preview__table .table {
  --bs-table-bg: transparent;
  font-size: 0.8rem;
}

.quote-preview__table thead th {
  color: var(--qp-muted);
  font-weight: 700;
  border-bottom-color: var(--qp-line);
  white-space: nowrap;
}

.quote-preview__table tbody td {
  border-color: rgba(14, 26, 34, 0.06);
  vertical-align: middle;
}

@keyframes quote-rise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes quote-pulse {
  0%, 100% { opacity: 0.7; transform: translate(-10%, 0) scale(1); }
  50% { opacity: 1; transform: translate(-4%, 4%) scale(1.08); }
}

@keyframes quote-glass-sheen {
  0%, 100% { transform: translateX(-8%) skewX(-12deg); opacity: 0.35; }
  50% { transform: translateX(10%) skewX(-12deg); opacity: 0.7; }
}

@media (min-width: 992px) {
  .quote-page .quote-layout-row {
    align-items: stretch;
  }

  .quote-page .quote-sidebar-col {
    min-height: 1px;
  }

  .quote-page .quote-sidebar {
    height: 100%;
  }

  .quote-page .quote-sidebar__pin {
    position: sticky;
    top: 4.85rem;
  }

  .quote-page .col-lg-8,
  .quote-page .quote-main {
    position: relative;
    z-index: 2;
  }

  .quote-page .chassis-price-card {
    position: relative;
    z-index: 3;
  }

  .quote-page .quote-section--side {
    animation: quote-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.1s;
  }
}

@media (max-width: 991.98px) {
  .quote-shell {
    background:
      radial-gradient(700px 320px at 15% 6%, rgba(104, 199, 239, 0.12), transparent 55%),
      #ffffff;
  }

  .quote-sidebar,
  .quote-sidebar__pin {
    position: static;
    max-height: none;
    overflow: visible;
    height: auto;
  }

  .quote-hero {
    padding: 0.9rem 0.85rem;
  }

  .quote-project-grid {
    grid-template-columns: 1fr;
  }

  .quote-actions {
    position: sticky;
    bottom: 0.5rem;
  }

  .quote-actions__copy {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-hero,
  .quote-section,
  .quote-main > .quote-section,
  .quote-hero__glow,
  .quote-hero__grid {
    animation: none !important;
  }

  .quote-section:hover {
    transform: none;
  }

  .type-select-card,
  .type-select-card::before {
    animation: none !important;
    transition: none !important;
  }
}

/* Ã¢â‚¬â€Ã¢â‚¬â€ Elevator type selection (Yeni Teklif) Ã¢â‚¬â€Ã¢â‚¬â€ */
.type-select-page {
  position: relative;
  max-width: none;
  margin: 0;
  width: 100%;
  padding-bottom: 1.75rem;
  container-type: inline-size;
  container-name: type-select;
}

/* Keep type-select flush with the app content column (next to the sidebar). */
body.quote-shell:has(.type-select-page) .app-shell__main {
  max-width: none;
}

.type-select-page .type-select-hero,
.type-select-page .type-select-footer,
.type-select-page .type-select-notice {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.type-select-page::before {
  content: "";
  position: absolute;
  inset: -3rem -2rem -1rem;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 38% at 12% 18%, rgba(11, 111, 160, 0.48), transparent 70%),
    radial-gradient(ellipse 38% 34% at 88% 12%, rgba(27, 100, 170, 0.4), transparent 68%),
    radial-gradient(ellipse 46% 40% at 50% 78%, rgba(8, 90, 140, 0.34), transparent 72%),
    radial-gradient(ellipse 30% 28% at 68% 42%, rgba(27, 140, 200, 0.32), transparent 70%),
    radial-gradient(ellipse 28% 26% at 28% 58%, rgba(20, 110, 170, 0.28), transparent 68%);
  filter: blur(36px) saturate(1.2);
}

.type-select-page > * {
  position: relative;
  z-index: 1;
}

.type-select-hero {
  margin-bottom: 1.35rem;
  padding: 1.25rem 1.35rem 1.15rem;
  border-radius: 1.85rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background:
    linear-gradient(145deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(27, 140, 190, 0.34) 45%,
      rgba(8, 90, 130, 0.38) 100%);
  backdrop-filter: blur(40px) saturate(1.85) brightness(0.98);
  -webkit-backdrop-filter: blur(40px) saturate(1.85) brightness(0.98);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 -1px 0 rgba(255, 255, 255, 0.12) inset,
    0 20px 50px rgba(8, 90, 140, 0.2),
    0 4px 18px rgba(8, 24, 40, 0.06);
  -webkit-mask-image: none;
  mask-image: none;
}

.type-select-hero .quote-title {
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
}

.type-select-hero .quote-badge {
  padding: 0.26rem 0.65rem;
  font-size: 0.72rem;
}

.type-select-notice {
  margin-bottom: 1.25rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(28px) saturate(1.7);
  -webkit-backdrop-filter: blur(28px) saturate(1.7);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--qp-ink, #0e1a22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 12px 30px rgba(8, 24, 40, 0.06);
}

.type-select-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 10.5rem);
  gap: 1.05rem;
  width: max-content;
  max-width: 100%;
  justify-content: start;
}

.type-select-grid--drive {
  grid-template-columns: repeat(2, 10.5rem);
  max-width: 100%;
  margin-inline: 0;
}

/* 3-option askÄ± / Ã‡ift HÄ±z step: equal columns so no wrapped orphan card */
.type-select-grid--drive.type-select-grid--roping {
  grid-template-columns: repeat(3, 10.5rem);
  max-width: 100%;
  margin-inline: 0;
}

.type-select-card {
  --glass-shine: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(200, 236, 255, 0.18) 22%,
    rgba(255, 255, 255, 0.95) 48%,
    rgba(120, 205, 255, 0.42) 62%,
    rgba(255, 255, 255, 0.08) 82%,
    rgba(255, 255, 255, 0.04) 100%
  );
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 10.5rem;
  height: 10.5rem;
  min-height: 0;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border-radius: 1.85rem;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.18);
  background-image:
    linear-gradient(
      155deg,
      rgba(255, 255, 255, 0.52) 0%,
      rgba(255, 255, 255, 0.12) 42%,
      rgba(255, 255, 255, 0.08) 100%
    );
  backdrop-filter: blur(40px) saturate(2) brightness(1.08);
  -webkit-backdrop-filter: blur(40px) saturate(2) brightness(1.08);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1.5px 0 rgba(255, 255, 255, 0.85) inset,
    0 -1px 0 rgba(255, 255, 255, 0.2) inset,
    1px 0 0 rgba(255, 255, 255, 0.28) inset,
    -1px 0 0 rgba(255, 255, 255, 0.12) inset,
    0 18px 40px rgba(27, 168, 224, 0.1),
    0 8px 24px rgba(8, 24, 40, 0.06),
    0 0 18px rgba(120, 210, 255, 0.22);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    backdrop-filter 0.35s ease;
  animation:
    quote-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both,
    type-card-wave-glow 6.2s ease-in-out 0.55s infinite;
}

.type-select-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: var(--glass-shine);
  background-size: 260% 260%;
  background-position: 0% 40%;
  opacity: 0.82;
  mix-blend-mode: soft-light;
  z-index: 2;
  transition: opacity 0.35s ease;
  animation: type-card-wave-shine 6.8s ease-in-out infinite;
}

.type-select-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, transparent 38%),
    radial-gradient(120% 80% at 8% 0%, rgba(255, 255, 255, 0.5), transparent 46%);
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.55),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12);
  opacity: 0.9;
  transition: opacity 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.type-select-card:nth-child(2) {
  animation-delay: 0.06s, 0.85s;
}
.type-select-card:nth-child(3) {
  animation-delay: 0.12s, 1.2s;
}
.type-select-card:nth-child(2)::before { animation-delay: 1.1s; }
.type-select-card:nth-child(3)::before { animation-delay: 2.2s; }

@keyframes type-card-wave-shine {
  0%, 100% { background-position: 0% 32%; }
  50% { background-position: 100% 68%; }
}

@keyframes type-card-wave-glow {
  0%, 100% {
    box-shadow:
      0 1.5px 0 rgba(255, 255, 255, 0.85) inset,
      0 -1px 0 rgba(255, 255, 255, 0.2) inset,
      1px 0 0 rgba(255, 255, 255, 0.28) inset,
      -1px 0 0 rgba(255, 255, 255, 0.12) inset,
      0 18px 40px rgba(27, 168, 224, 0.1),
      0 8px 24px rgba(8, 24, 40, 0.06),
      0 0 16px rgba(120, 210, 255, 0.2),
      0 0 34px rgba(70, 170, 255, 0.1);
  }
  50% {
    box-shadow:
      0 1.5px 0 rgba(255, 255, 255, 0.95) inset,
      0 -1px 0 rgba(255, 255, 255, 0.3) inset,
      1px 0 0 rgba(255, 255, 255, 0.38) inset,
      -1px 0 0 rgba(255, 255, 255, 0.18) inset,
      0 18px 44px rgba(27, 168, 224, 0.16),
      0 8px 24px rgba(8, 24, 40, 0.06),
      0 0 28px rgba(175, 235, 255, 0.45),
      0 0 54px rgba(80, 180, 255, 0.22);
  }
}

a.type-select-card:hover,
a.type-select-card:focus-visible {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(255, 255, 255, 0.78);
  background-image:
    linear-gradient(
      155deg,
      rgba(255, 255, 255, 0.62) 0%,
      rgba(210, 236, 250, 0.28) 48%,
      rgba(160, 214, 240, 0.18) 100%
    );
  backdrop-filter: blur(48px) saturate(2.2) brightness(1.12);
  -webkit-backdrop-filter: blur(48px) saturate(2.2) brightness(1.12);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.95) inset,
    0 -1px 0 rgba(255, 255, 255, 0.35) inset,
    1px 0 0 rgba(255, 255, 255, 0.4) inset,
    -1px 0 0 rgba(255, 255, 255, 0.22) inset,
    0 10px 28px rgba(27, 168, 224, 0.16),
    0 22px 48px rgba(11, 111, 160, 0.14),
    0 0 28px rgba(175, 235, 255, 0.42),
    0 0 52px rgba(104, 199, 239, 0.28);
  color: inherit;
  outline: none;
}

a.type-select-card:hover::before,
a.type-select-card:focus-visible::before {
  opacity: 1;
  animation-play-state: paused;
}

a.type-select-card:hover::after,
a.type-select-card:focus-visible::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, transparent 42%),
    radial-gradient(130% 90% at 10% -5%, rgba(255, 255, 255, 0.7), transparent 48%);
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.75),
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2);
  opacity: 1;
}

a.type-select-card:hover .type-select-card__title,
a.type-select-card:focus-visible .type-select-card__title {
  color: #0B6FA0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.type-select-card--soon {
  opacity: 0.78;
  cursor: not-allowed;
  filter: saturate(0.85);
}

.type-select-card__visual {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.65rem 0.55rem 0.2rem;
  min-height: 0;
  max-height: none;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.type-select-card__visual img {
  width: auto;
  height: auto;
  max-width: 72%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border: 0;
  mix-blend-mode: normal;
  opacity: 1;
}

.type-select-card--mrl .type-select-card__visual img,
.type-select-card--mr .type-select-card__visual img,
.type-select-card--hydraulic .type-select-card__visual img {
  height: auto;
  width: auto;
  max-height: 5.75rem;
  max-width: 68%;
  aspect-ratio: 326 / 490;
}

.type-select-card--aski-1 .type-select-card__visual,
.type-select-card--aski-2 .type-select-card__visual,
.type-select-card--aski-4 .type-select-card__visual,
.type-select-card--cift-hiz .type-select-card__visual {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  padding: 0.55rem 0.45rem 0.15rem;
  background: transparent;
  z-index: 4;
}

.type-select-card--aski-1 .type-select-card__visual img,
.type-select-card--aski-2 .type-select-card__visual img,
.type-select-card--aski-4 .type-select-card__visual img,
.type-select-card--cift-hiz .type-select-card__visual img,
.type-select-card--cift-hiz .type-select-card__icon-svg {
  width: auto;
  height: auto;
  min-height: 0;
  max-width: 78%;
  max-height: 5.5rem;
  object-fit: contain;
}

.type-select-card--cift-hiz .type-select-card__icon-svg {
  display: block;
  color: #1a2433;
}

[data-theme="dark"] .type-select-card--aski-1 .type-select-card__visual img,
[data-theme="dark"] .type-select-card--aski-2 .type-select-card__visual img,
[data-theme="dark"] .type-select-card--aski-4 .type-select-card__visual img {
  filter: invert(1) hue-rotate(180deg) brightness(1.05);
}

[data-theme="dark"] .type-select-card--cift-hiz .type-select-card__icon-svg {
  color: #f2f5f8;
}

.type-select-card__body {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  padding: 0.35rem 0.65rem 0.75rem;
  background: transparent;
  text-align: center;
}

.type-select-card__body--solo {
  align-items: center;
  width: 100%;
  flex: 1 1 auto;
  padding: 1rem 0.75rem;
  background: transparent;
}

.type-select-grid--drive .type-select-card {
  min-height: 0;
  height: 10.5rem;
  width: 10.5rem;
}

.type-select-grid--drive.type-select-grid--roping .type-select-card {
  min-height: 0;
}

.type-select-card__pill {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 4;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b5410;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 6px 16px rgba(8, 24, 40, 0.06);
}

.type-select-card__title {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--qp-ink, #0e1a22);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.type-select-footer {
  margin-top: 1.35rem;
}

.type-select-back {
  color: var(--qp-muted, #62707c) !important;
  text-decoration: none !important;
  font-weight: 600;
}

.type-select-back:hover {
  color: var(--qp-accent-deep, #0B6FA0) !important;
}

/* Half-width window / narrow content (sidebar open): keep 3 compact squares */
@container type-select (max-width: 960px) {
  .type-select-grid {
    grid-template-columns: repeat(3, 9rem);
    gap: 0.65rem;
  }

  .type-select-grid--drive {
    grid-template-columns: repeat(2, 9rem);
    max-width: 100%;
    gap: 0.65rem;
  }

  .type-select-grid--drive.type-select-grid--roping {
    grid-template-columns: repeat(3, 9rem);
  }

  .type-select-card,
  .type-select-grid--drive .type-select-card {
    width: 9rem;
    height: 9rem;
    min-height: 0;
    border-radius: 1.55rem;
  }

  .type-select-card__visual {
    padding: 0.45rem 0.35rem 0.1rem;
  }

  .type-select-card__body {
    padding: 0.25rem 0.45rem 0.6rem;
  }

  .type-select-card__title {
    font-size: 1rem;
  }

  .type-select-card__pill {
    top: 0.4rem;
    right: 0.4rem;
    padding: 0.16rem 0.4rem;
    font-size: 0.52rem;
  }

  .type-select-hero {
    margin-bottom: 1rem;
    padding: 0.85rem 0.9rem;
  }

  .type-select-hero .quote-title {
    font-size: clamp(1.25rem, 3.5vw, 1.6rem);
  }
}

@container type-select (max-width: 560px) {
  .type-select-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 0.55rem;
  }

  .type-select-grid--drive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .type-select-grid--drive.type-select-grid--roping {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .type-select-card,
  .type-select-grid--drive .type-select-card {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    min-height: 0;
  }
}

@media (max-width: 1199.98px) {
  .type-select-page {
    padding-bottom: 1.5rem;
  }

  .type-select-grid {
    grid-template-columns: repeat(3, 9.5rem);
    gap: 0.75rem;
  }

  .type-select-grid--drive {
    max-width: 100%;
    grid-template-columns: repeat(2, 9.5rem);
  }

  .type-select-grid--drive.type-select-grid--roping {
    grid-template-columns: repeat(3, 9.5rem);
  }

  .type-select-card,
  .type-select-grid--drive .type-select-card {
    width: 9.5rem;
    height: 9.5rem;
    min-height: 0;
    border-radius: 1.65rem;
  }

  .type-select-card__title {
    font-size: 1.05rem;
  }
}

@media (max-width: 991.98px) {
  .type-select-grid {
    grid-template-columns: repeat(3, 8.5rem);
    gap: 0.55rem;
  }

  .type-select-grid--drive {
    grid-template-columns: repeat(2, 8.5rem);
  }

  .type-select-grid--drive.type-select-grid--roping {
    grid-template-columns: repeat(3, 8.5rem);
  }

  .type-select-card,
  .type-select-grid--drive .type-select-card {
    width: 8.5rem;
    height: 8.5rem;
    min-height: 0;
    border-radius: 1.45rem;
  }

  .type-select-card__title {
    font-size: 0.95rem;
  }

  .type-select-hero {
    padding: 0.9rem 0.85rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 575.98px) {
  .type-select-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 0.55rem;
  }

  .type-select-grid--drive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .type-select-grid--drive.type-select-grid--roping {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .type-select-card,
  .type-select-grid--drive .type-select-card {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    min-height: 0;
    flex-direction: column;
  }

  .type-select-card__visual {
    width: 100%;
    padding: 0.4rem 0.3rem 0.1rem;
  }

  .type-select-card__body {
    width: 100%;
    padding: 0.2rem 0.4rem 0.55rem;
  }

  .type-select-card__title {
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .type-select-card,
  .type-select-card::before {
    animation: none !important;
    transition: none;
  }
}


/* English editable quotation â€” matches LIFTUP PDF / QOUTITATION (A4) */
.quote-en-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.quote-en-edit {
  max-width: 210mm;
  margin: 0 auto 2.5rem;
}

.quote-en-doc {
  --qe-blue: #00a0e3;
  --qe-blue-dark: #0082c4;
  --qe-ink: #111;
  --qe-muted: #555;
  --qe-bar: #d9d9d9;
  --qe-red: #c00000;
  color: var(--qe-ink);
  font-family: Arial, Helvetica, "Century Gothic", sans-serif;
  font-size: 10.5pt;
  line-height: 1.35;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  padding: 12mm 12mm 14mm;
}

.quote-en-page + .quote-en-page {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed #ccc;
}

.quote-en-doc__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.quote-en-doc__logo {
  width: 170px;
  height: auto;
  object-fit: contain;
}

.quote-en-doc__logo--sm {
  width: 120px;
}

.quote-en-doc__header-right {
  text-align: right;
  min-width: 210px;
}

.quote-en-doc__quotation-box {
  display: inline-block;
  border: 2px solid var(--qe-blue);
  padding: 0.2rem 1.1rem;
  font-size: 16pt;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: underline;
  margin-bottom: 0.35rem;
}

.quote-en-doc__meta-grid {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.15rem 0.35rem;
  align-items: center;
  justify-items: start;
  text-align: left;
  margin-left: auto;
  width: max-content;
}

.quote-en-doc__meta-grid .lbl { font-weight: 700; }
.quote-en-doc__meta-grid .sep { font-weight: 700; }
.quote-en-doc__lang {
  color: var(--qe-blue);
  font-weight: 700;
  font-size: 10pt;
  margin-top: 0.15rem;
}

.qe-input {
  border: 1px solid transparent;
  background: transparent;
  font: inherit;
  color: inherit;
  padding: 0.05rem 0.2rem;
  width: auto;
  min-width: 3rem;
  max-width: 100%;
  border-radius: 2px;
}

.qe-input:hover,
.qe-input:focus {
  border-color: #9ad4f0;
  background: #f7fcff;
  outline: none;
}

.qe-input--block { width: 100%; display: block; }
.qe-input--bold { font-weight: 700; font-size: 13pt; }
.qe-input--blue { color: var(--qe-blue); font-weight: 700; }
.qe-input--center { text-align: center; width: 3.2rem; }
.qe-input--right { text-align: right; width: 5.5rem; }
.qe-input--narrow { width: 4.5rem; }
.qe-input--accent { color: var(--qe-red); font-style: italic; }
.qe-textarea { width: 100%; resize: vertical; min-height: 2.4rem; }
.qe-same { color: var(--qe-muted); font-style: italic; font-size: 9.5pt; }

.qe-badge {
  display: inline-block;
  border: 1px solid #999;
  background: #eee;
  padding: 0.05rem 0.45rem;
  margin-left: 0.35rem;
  font-weight: 700;
  width: 4.2rem;
  text-align: center;
}

.qe-badge--red {
  background: #d11;
  color: #fff;
  border-color: #a00;
  width: 3.6rem;
}

.quote-en-doc__letter { margin: 0.5rem 0 1rem; }
.quote-en-doc__addr-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.quote-en-doc__salutation,
.quote-en-doc__closing { margin: 0.75rem 0 0.35rem; font-weight: 600; }

.quote-en-doc__fin-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0.75rem 0 0.4rem;
  flex-wrap: wrap;
}

.quote-en-doc__fin-table,
.quote-en-doc__inquiry,
.quote-en-doc__products {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.45rem;
}

.quote-en-doc__fin-table th,
.quote-en-doc__fin-table td,
.quote-en-doc__inquiry th,
.quote-en-doc__inquiry td,
.quote-en-doc__products th,
.quote-en-doc__products td {
  border: 1px solid #333;
  padding: 0.28rem 0.4rem;
  vertical-align: top;
}

.quote-en-doc__fin-table th,
.quote-en-doc__products th {
  background: #e8e8e8;
  font-weight: 700;
}

.quote-en-doc__fin-table .col-qty { width: 11%; text-align: center; }
.quote-en-doc__fin-table .col-money { width: 16%; text-align: right; }
.quote-en-doc__total-label {
  text-align: right;
  font-weight: 700;
  background: #eee;
}
.quote-en-doc__total-value {
  background: #d9f0ff;
  color: var(--qe-red);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.quote-en-doc__packing-note {
  font-size: 10pt;
  margin: 0.35rem 0 0.85rem;
}

.quote-en-doc__terms-title {
  color: var(--qe-blue);
  font-size: 12pt;
  font-weight: 700;
  margin: 0.5rem 0 0.45rem;
}

.quote-en-doc__term-row {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.3rem 0.55rem;
  margin-bottom: 0.35rem;
  font-size: 10pt;
}

.quote-en-doc__delivery {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.quote-en-doc__footer-marks {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-top: 1.25rem;
}

.quote-en-doc__certs { max-width: 55%; height: auto; }
.quote-en-doc__stamp { width: 110px; height: auto; }

.quote-en-doc__company-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 10pt;
}

.quote-en-doc__company-name {
  color: var(--qe-blue);
  font-weight: 700;
  font-size: 12pt;
}

.quote-en-doc__inquiry th {
  background: #eee;
  width: 14%;
  text-align: left;
}

.quote-en-doc__h2 {
  font-size: 13pt;
  font-weight: 700;
  margin: 0.7rem 0 0.35rem;
}

.quote-en-doc__h3 {
  font-size: 11pt;
  font-weight: 700;
  margin: 0.65rem 0 0.25rem;
}

.quote-en-doc__bar {
  background: var(--qe-bar);
  font-size: 11pt;
  font-weight: 700;
  margin: 0.85rem 0 0.25rem;
  padding: 0.2rem 0.45rem;
}

.quote-en-doc__spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 10pt;
}

.quote-en-doc__spec td {
  padding: 0.1rem 0.2rem;
  vertical-align: top;
  border-bottom: 1px solid #ececec;
}

.quote-en-doc__spec .n { width: 1.5rem; font-weight: 700; text-align: center; }
.quote-en-doc__spec .l { width: 27%; font-weight: 700; }
.quote-en-doc__spec .c { width: 0.9rem; }

.quote-en-doc__inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.quote-en-doc__pipe { color: var(--qe-red); font-weight: 700; }

.quote-en-doc__total-shaft .l {
  background: #111;
  color: #fff;
  padding: 0.15rem 0.35rem;
}

.quote-en-doc__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 10pt;
}

.quote-en-doc__features ol { margin: 0; padding-left: 1.2rem; }
.qe-check { font-weight: 600; margin-left: 0.25rem; }

.quote-en-doc__ref-photos {
  width: 100%;
  height: auto;
  margin: 0.35rem 0 0.75rem;
  border: 1px solid #ddd;
}

.quote-en-doc__note,
.quote-en-doc__nb { font-size: 9.5pt; margin: 0.45rem 0; }

.quote-en-doc__sign {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.4rem;
}

.quote-en-doc__sign-line {
  margin-top: 1.25rem;
  border-bottom: 1px solid #222;
  min-height: 1.5rem;
  padding-bottom: 0.1rem;
}

.page-break-before {
  break-before: page;
  page-break-before: always;
}

@media print {
  .quote-en-toolbar,
  .print-hide { display: none !important; }

  .quote-en-edit { max-width: none; margin: 0; }
  .quote-en-doc {
    box-shadow: none;
    padding: 0;
    max-width: none;
  }
  .quote-en-page + .quote-en-page {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
  }
  .qe-input,
  .qe-textarea {
    border: none !important;
    background: transparent !important;
    padding: 0;
  }
}


/* CRM enterprise grid */
.crm-grid-scroll { max-height: 70vh; overflow: auto; }
.crm-grid thead th { position: sticky; top: 0; z-index: 2; background: #f8f9fa; white-space: nowrap; }
.crm-grid thead th a { color: inherit; text-decoration: none; }
.crm-grid .crm-sticky-1,
.crm-grid .crm-sticky-2,
.crm-grid .crm-sticky-check {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 1;
}
.crm-grid thead .crm-sticky-1,
.crm-grid thead .crm-sticky-2,
.crm-grid thead .crm-sticky-check { z-index: 3; background: #f8f9fa; }
.crm-grid .crm-sticky-check { left: 0; }
.crm-grid .crm-sticky-1 { left: 2.25rem; }
.crm-grid .crm-sticky-2 { left: 7.5rem; min-width: 10rem; box-shadow: 4px 0 8px rgba(0,0,0,.04); }
.crm-grid-card { border: 1px solid #e5e9ef; }

/* CRM customer profile */
.crm-profile-tabs .nav-tabs { border-bottom: 0; }
.crm-profile-tabs .nav-link { white-space: nowrap; }
.crm-tab-panel.is-loading { opacity: .55; pointer-events: none; transition: opacity .15s ease; }

/* CRM opportunity pipeline */
.crm-pipeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  gap: .75rem;
  overflow-x: auto;
  padding-bottom: .5rem;
}
.crm-pipeline-col {
  background: #f4f6f8;
  border-radius: .5rem;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.crm-pipeline-col-head {
  padding: .75rem;
  border-bottom: 1px solid #e5e9ef;
}
.crm-pipeline-col-body {
  padding: .5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-height: 200px;
}
.crm-pipeline-col-body.is-drop-target {
  outline: 2px dashed #6c757d;
  outline-offset: -4px;
}
.crm-pipeline-card {
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: .4rem;
  padding: .65rem .75rem;
  cursor: grab;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.crm-pipeline-card.is-dragging { opacity: .5; }
@media (max-width: 1200px) {
  .crm-pipeline { grid-template-columns: repeat(3, minmax(200px, 1fr)); }
}
@media (max-width: 768px) {
  .crm-pipeline { grid-template-columns: repeat(1, minmax(240px, 1fr)); }
}

[data-theme="dark"] .crm-pipeline-col {
  background: #0a2748;
  border: 1px solid #1a4574;
}

[data-theme="dark"] .crm-pipeline-col-head {
  border-bottom-color: #1a4574;
  color: #fff;
}

[data-theme="dark"] .crm-pipeline-col-body.is-drop-target {
  outline-color: #6cc6f2;
}

[data-theme="dark"] .crm-pipeline-card {
  background: #0c2f5c;
  border-color: #1a4574;
  color: #fff;
  box-shadow: none;
}

[data-theme="dark"] .crm-pipeline-card a {
  color: #8ec5ff;
}

[data-theme="dark"] .crm-pipeline-card .text-muted {
  color: #c5d4e8 !important;
}

[data-theme="dark"] .crm-grid thead th,
[data-theme="dark"] .crm-grid thead .crm-sticky-1,
[data-theme="dark"] .crm-grid thead .crm-sticky-2,
[data-theme="dark"] .crm-grid thead .crm-sticky-check {
  background: #0a2748;
  color: #c5d4e8;
}

[data-theme="dark"] .crm-grid .crm-sticky-1,
[data-theme="dark"] .crm-grid .crm-sticky-2,
[data-theme="dark"] .crm-grid .crm-sticky-check {
  background: #0c2f5c;
  color: #fff;
}

[data-theme="dark"] .crm-grid-card {
  border-color: #1a4574;
}

[data-theme="dark"] .crm-dash-list > li {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .crm-dash-ai,
[data-theme="dark"] .crm-ai-summary {
  background: linear-gradient(160deg, #0a2748 0%, #0c2f5c 100%);
  color: #fff;
}

/* BirleÅŸik Timeline */
[data-theme="dark"] .list-group,
[data-theme="dark"] .list-group-item {
  --bs-list-group-color: #fff;
  --bs-list-group-bg: transparent;
  --bs-list-group-border-color: #1a4574;
  background-color: transparent;
  color: #fff;
  border-color: #1a4574;
}

[data-theme="dark"] .list-group-item strong,
[data-theme="dark"] .list-group-item a:not(.btn) {
  color: #fff;
}

[data-theme="dark"] .list-group-item a:not(.btn):hover {
  color: #9ad8ff;
}

/* CRM dashboard */
.crm-dash-kpi .fs-3 { line-height: 1.15; }
.crm-dash-bar { height: .45rem; }
.crm-dash-list > li { padding: .45rem 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.crm-dash-list > li:last-child { border-bottom: 0; }
.crm-dash-ai {
  background: linear-gradient(160deg, #f8fafc 0%, #eef4ff 100%);
}
.crm-ai-summary {
  background: linear-gradient(160deg, #f8fafc 0%, #eef4ff 100%);
}

/* Chapter 12 â€” a11y / responsive quality bar */
.skip-link {
  position: absolute;
  left: .75rem;
  top: -3rem;
  z-index: 1100;
  padding: .5rem .85rem;
  background: #0d6efd;
  color: #fff;
  border-radius: .35rem;
  font-weight: 600;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus {
  top: .75rem;
  color: #fff;
  outline: 2px solid #fff;
  outline-offset: 2px;
}
#main-content:focus {
  outline: none;
}
.crm-profile-tabs .nav-link:focus-visible,
.crm-pipeline-card:focus-visible,
.crm-grid a:focus-visible {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}
.crm-pipeline-card {
  min-height: 2.75rem;
}
.crm-dash-kpi {
  display: grid;
  gap: .75rem;
}
@media (max-width: 767.98px) {
  .crm-grid .crm-sticky-1,
  .crm-grid .crm-sticky-2,
  .crm-grid .crm-sticky-check,
  .crm-grid thead .crm-sticky-1,
  .crm-grid thead .crm-sticky-2,
  .crm-grid thead .crm-sticky-check {
    position: static;
    left: auto;
    box-shadow: none;
  }
  .crm-profile-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .crm-pipeline-card {
    min-height: 44px;
  }
}

/* Bootstrap 5.2+ `.text-bg-*` utilities, backported for the bundled 5.1 build.
   Without these the badges render as white text on a transparent background. */
.text-bg-primary {
  color: #fff !important;
  background-color: RGBA(var(--bs-primary-rgb, 13, 110, 253), var(--bs-bg-opacity, 1)) !important;
}
.text-bg-secondary {
  color: #fff !important;
  background-color: RGBA(var(--bs-secondary-rgb, 108, 117, 125), var(--bs-bg-opacity, 1)) !important;
}
.text-bg-success {
  color: #fff !important;
  background-color: RGBA(var(--bs-success-rgb, 25, 135, 84), var(--bs-bg-opacity, 1)) !important;
}
.text-bg-danger {
  color: #fff !important;
  background-color: RGBA(var(--bs-danger-rgb, 220, 53, 69), var(--bs-bg-opacity, 1)) !important;
}
.text-bg-warning {
  color: #000 !important;
  background-color: RGBA(var(--bs-warning-rgb, 255, 193, 7), var(--bs-bg-opacity, 1)) !important;
}
.text-bg-info {
  color: #000 !important;
  background-color: RGBA(var(--bs-info-rgb, 13, 202, 240), var(--bs-bg-opacity, 1)) !important;
}
.text-bg-light {
  color: #000 !important;
  background-color: RGBA(var(--bs-light-rgb, 248, 249, 250), var(--bs-bg-opacity, 1)) !important;
}
.text-bg-dark {
  color: #fff !important;
  background-color: RGBA(var(--bs-dark-rgb, 33, 37, 41), var(--bs-bg-opacity, 1)) !important;
}

/* Projeler index */
.projects-index {
  --pj-blue: var(--one-blue, #2563eb);
  --pj-text: var(--one-text, #0f172a);
  --pj-muted: var(--one-muted, #64748b);
  --pj-line: var(--one-border, #e8eef5);
  --pj-panel: var(--one-card, #fff);
  --pj-soft: var(--one-chip, #f1f5f9);
}

.projects-index__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.projects-index__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pj-muted);
}

.projects-index__title-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.projects-index__title-row h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 750;
  color: var(--pj-text);
}

.projects-index__mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  background: var(--pj-soft);
  color: var(--pj-text);
  border: 1px solid var(--pj-line);
}

.projects-index__lead {
  margin: 0.4rem 0 0;
  color: var(--pj-muted);
  font-size: 0.9rem;
  max-width: 40rem;
}

.projects-index__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--pj-blue);
  color: #fff;
  border: 0;
  border-radius: 0.85rem;
  padding: 0.7rem 1.05rem;
  font-weight: 600;
}

.projects-index__cta:hover {
  background: #1d4ed8;
  color: #fff;
}

.projects-index__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
  margin-bottom: 1rem;
}

.projects-index__search {
  position: relative;
  flex: 1 1 18rem;
  min-width: 0;
}

.projects-index__search svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.projects-index__search input {
  width: 100%;
  height: 2.75rem;
  border: 1px solid var(--pj-line);
  border-radius: 0.85rem;
  padding: 0 0.9rem 0 2.5rem;
  background: var(--pj-panel);
  color: var(--pj-text);
}

.projects-index__search input:focus {
  outline: 2px solid #bfdbfe;
  border-color: var(--pj-blue);
}

.projects-index__filter {
  position: relative;
}

.projects-index__filter > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 2.75rem;
  padding: 0 1rem;
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--pj-blue) 16%, var(--pj-panel));
  color: var(--pj-blue);
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.projects-index__filter > summary::-webkit-details-marker {
  display: none;
}

.projects-index__filter-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
  min-width: 18rem;
  padding: 0.9rem;
  background: var(--pj-panel);
  border: 1px solid var(--pj-line);
  border-radius: 0.85rem;
  box-shadow: 0 10px 30px var(--one-shadow, rgba(15, 23, 42, 0.08));
  color: var(--pj-text);
}

.projects-index__filter-panel label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--pj-muted);
  font-weight: 600;
}

.projects-index__empty {
  padding: 1.25rem;
  border: 1px solid var(--pj-line);
  border-radius: 0.85rem;
  background: var(--pj-soft);
  color: var(--pj-muted);
}

.projects-index__table-wrap {
  overflow-x: auto;
  background: var(--pj-panel);
  border-radius: 0.5rem;
  border: 1px solid var(--pj-line);
}

.projects-index__table {
  width: 100%;
  min-width: 62rem;
  border-collapse: collapse;
}

.projects-index__table th {
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  padding: 0.7rem 0.7rem 0.85rem;
  border-bottom: 1px solid var(--pj-line);
  white-space: nowrap;
}

.projects-index__table th a {
  color: inherit;
  text-decoration: none;
}

.projects-index__table td {
  padding: 0.95rem 0.7rem;
  border-bottom: 1px solid var(--pj-line);
  vertical-align: middle;
  color: var(--pj-text);
  font-size: 0.9rem;
}

.pj-code-cell {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.pj-doc {
  color: var(--pj-blue);
  margin-top: 0.15rem;
  flex: 0 0 auto;
}

.pj-code {
  font-weight: 700;
  color: var(--pj-blue);
  text-decoration: none;
}

.pj-code:hover {
  text-decoration: underline;
}

.pj-link {
  color: var(--pj-blue);
  font-weight: 600;
  text-decoration: none;
}

.pj-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--pj-muted);
}

.pj-status span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #cbd5e1;
}

.pj-status--on span {
  background: #22c55e;
}

.pj-confirm {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.pj-confirm--ok {
  color: #16a34a;
}

.pj-confirm--wait {
  color: #94a3b8;
}

.pj-muted {
  color: var(--pj-muted);
  font-size: 0.78rem;
}

.pj-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 650;
  white-space: nowrap;
}

.pj-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
}

.pj-pill--pay {
  background: #fff4e5;
  color: #c2410c;
}

.pj-pill--clear {
  background: #e8f1ff;
  color: #2563eb;
}

.pj-pill--wait {
  background: #f3e8ff;
  color: #7c3aed;
}

.pj-pill--block {
  background: #fee2e2;
  color: #b91c1c;
}

.pj-pill--go {
  background: #ecfdf3;
  color: #15803d;
}

.pj-pill--muted {
  background: #f1f5f9;
  color: #64748b;
}

.projects-index__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.15rem 0.2rem;
  color: var(--pj-muted);
  font-size: 0.85rem;
}

.projects-index__pager {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.projects-index__pager a,
.projects-index__pager span {
  min-width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.45rem;
  color: var(--pj-muted);
  text-decoration: none;
}

.projects-index__pager .is-current {
  background: var(--pj-blue);
  color: #fff;
  font-weight: 700;
}

.projects-index__pager .is-disabled {
  opacity: 0.35;
}

.projects-index__pagesize select {
  margin-left: 0.35rem;
  border: 1px solid #dbe4ee;
  border-radius: 0.45rem;
  padding: 0.2rem 0.4rem;
  background: #fff;
}

@media (max-width: 768px) {
  .projects-index__filter-panel {
    right: auto;
    left: 0;
  }
}

/* Project details */
.pj-crumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.pj-crumb a { color: inherit; text-decoration: none; }
.pj-crumb a:hover { color: #2563eb; }
.pj-hero {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  column-gap: 0.85rem;
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 1rem;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}
.pj-hero__photo {
  display: none;
}
.pj-hero__body,
.pj-hero__main {
  min-width: 0;
}
.pj-hero__title-block { min-width: 0; }
.pj-hero__top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.pj-hero__title { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.pj-hero__title h1 { margin: 0; font-size: 1.65rem; font-weight: 750; }
.pj-hero__code { display: flex; align-items: center; gap: 0.35rem; color: #64748b; font-weight: 650; margin-top: 0.2rem; }
.pj-hero__actions {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  justify-self: end;
  align-self: start;
}
.pj-icon-btn {
  border: 0;
  background: transparent;
  color: #64748b;
  padding: 0.15rem;
}
.pj-hero__meta {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 14rem);
  column-gap: 1.75rem;
  row-gap: 0.85rem;
  margin-top: 0.9rem;
  align-items: start;
  justify-content: start;
}
.pj-hero__meta span { display: block; color: #64748b; font-size: 0.75rem; }
.pj-hero__meta strong { display: block; }
.pj-hero__meta small { color: #64748b; }
.pj-hero__meta em { display: inline-block; margin-top: 0.25rem; font-style: normal; }
.pj-hero__eng {
  display: flex;
  align-self: center;
  justify-self: end;
}
.pj-hero__eng .pj-eng { width: 9.5rem; }
.pj-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.85rem 0.5rem 1rem;
  margin: 0 0 1rem;
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 1rem;
}
.pj-steps li { text-align: center; font-size: 0.85rem; font-weight: 650; color: #94a3b8; position: relative; }
.pj-steps li small { display: block; font-weight: 500; font-size: 0.72rem; }
.pj-steps__dot {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0 auto 0.35rem;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #fff;
}
.pj-steps li.is-done { color: #2563eb; }
.pj-steps li.is-done .pj-steps__dot { background: #2563eb; border-color: #2563eb; box-shadow: inset 0 0 0 3px #fff; }
.pj-steps li.is-current { color: #d97706; }
.pj-steps li.is-current .pj-steps__dot { border-color: #f59e0b; background: #fff7ed; }
.pj-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  border-bottom: 1px solid #e8eef5;
  margin-bottom: 1rem;
}
.pj-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 0.85rem;
  color: #64748b;
  text-decoration: none;
  font-weight: 650;
  border-bottom: 2px solid transparent;
}
.pj-tabs a.is-on { color: #2563eb; border-bottom-color: #2563eb; }
.pj-tabs em {
  font-style: normal;
  font-size: 0.72rem;
  background: #e8f1ff;
  color: #2563eb;
  border-radius: 999px;
  padding: 0.05rem 0.4rem;
}
.pj-card {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}
.pj-card h2 { font-size: 0.95rem; font-weight: 750; margin: 0 0 0.75rem; }
.pj-card__row { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.pj-more { font-size: 0.8rem; color: #2563eb; text-decoration: none; }
.pj-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0.85rem; margin-bottom: 0.85rem; }
.pj-split--docs { grid-template-columns: 1fr; }
.pj-statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.pj-stat {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 0.9rem;
  padding: 0.8rem;
}
.pj-stat span { display: block; color: #64748b; font-size: 0.75rem; }
.pj-stat strong { display: block; margin-top: 0.2rem; }
.pj-stat strong.ok { color: #16a34a; }
.pj-stat small { color: #94a3b8; }
.pj-pkg { list-style: none; padding: 0; margin: 0; }
.pj-pkg li { margin-bottom: 0.4rem; }
.pj-pkg span { color: #64748b; font-size: 0.8rem; }
.pj-docs { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.pj-doccard {
  width: 8.4rem;
  border: 1px solid #e8eef5;
  border-radius: 0.75rem;
  padding: 0.65rem;
  text-decoration: none;
  color: inherit;
  background: #f8fafc;
}
.pj-doccard em {
  display: inline-block;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  color: #dc2626;
  background: #fee2e2;
  border-radius: 0.3rem;
  padding: 0.05rem 0.3rem;
}
.pj-doccard strong { display: block; margin: 0.4rem 0 0.15rem; font-size: 0.8rem; }
.pj-doccard span { color: #64748b; font-size: 0.75rem; }
.pj-doccard.is-off { opacity: 0.7; }
.pj-eng {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.35rem;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  border-radius: 1rem;
  padding: 1.1rem;
  min-height: 9rem;
}
.pj-eng--hero {
  --eng-shine: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(200, 236, 255, 0.22) 22%,
    rgba(255, 255, 255, 0.95) 48%,
    rgba(120, 205, 255, 0.5) 62%,
    rgba(255, 255, 255, 0.1) 82%,
    rgba(255, 255, 255, 0.04) 100%
  );
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 9.5rem;
  min-height: 7.5rem;
  padding: 1.05rem 0.8rem;
  border-radius: 0.95rem;
  gap: 0.4rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background:
    linear-gradient(
      155deg,
      rgba(96, 165, 250, 0.95) 0%,
      rgba(37, 99, 235, 0.92) 48%,
      rgba(29, 78, 216, 0.95) 100%
    );
  box-shadow:
    0 1.5px 0 rgba(255, 255, 255, 0.55) inset,
    0 -1px 0 rgba(255, 255, 255, 0.12) inset,
    1px 0 0 rgba(255, 255, 255, 0.22) inset,
    -1px 0 0 rgba(255, 255, 255, 0.1) inset,
    0 18px 40px rgba(37, 99, 235, 0.28),
    0 8px 24px rgba(8, 24, 40, 0.1),
    0 0 18px rgba(96, 165, 250, 0.35),
    0 0 34px rgba(59, 130, 246, 0.22);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
  animation: pj-eng-wave-glow 6.2s ease-in-out infinite;
}
.pj-eng--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: var(--eng-shine);
  background-size: 260% 260%;
  background-position: 0% 40%;
  opacity: 0.85;
  mix-blend-mode: soft-light;
  z-index: 1;
  animation: type-card-wave-shine 6.8s ease-in-out infinite;
}
.pj-eng--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, transparent 42%),
    radial-gradient(120% 80% at 8% 0%, rgba(255, 255, 255, 0.45), transparent 48%);
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.4),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.55);
  opacity: 0.95;
}
.pj-eng--hero > * {
  position: relative;
  z-index: 3;
}
.pj-eng--hero span {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(15, 40, 90, 0.25);
}
.pj-eng--hero small {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.75rem;
  width: auto;
  margin-left: 0;
  margin-top: 0;
  line-height: 1.2;
}
.pj-eng__icon {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35));
}
.pj-eng--hero .pj-eng__icon {
  width: 2.35rem;
  height: 2.35rem;
}
@keyframes pj-eng-wave-glow {
  0%, 100% {
    box-shadow:
      0 1.5px 0 rgba(255, 255, 255, 0.55) inset,
      0 -1px 0 rgba(255, 255, 255, 0.12) inset,
      1px 0 0 rgba(255, 255, 255, 0.22) inset,
      -1px 0 0 rgba(255, 255, 255, 0.1) inset,
      0 18px 40px rgba(37, 99, 235, 0.28),
      0 8px 24px rgba(8, 24, 40, 0.1),
      0 0 16px rgba(96, 165, 250, 0.32),
      0 0 34px rgba(59, 130, 246, 0.18);
  }
  50% {
    box-shadow:
      0 1.5px 0 rgba(255, 255, 255, 0.75) inset,
      0 -1px 0 rgba(255, 255, 255, 0.22) inset,
      1px 0 0 rgba(255, 255, 255, 0.32) inset,
      -1px 0 0 rgba(255, 255, 255, 0.16) inset,
      0 18px 44px rgba(37, 99, 235, 0.38),
      0 8px 24px rgba(8, 24, 40, 0.1),
      0 0 28px rgba(175, 235, 255, 0.55),
      0 0 54px rgba(96, 165, 250, 0.35);
  }
}
a.pj-eng--hero:hover,
a.pj-eng--hero:focus-visible {
  color: #fff;
  animation-play-state: paused;
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(
      155deg,
      rgba(125, 185, 255, 0.98) 0%,
      rgba(37, 99, 235, 0.95) 50%,
      rgba(29, 78, 216, 0.98) 100%
    );
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.85) inset,
    0 -1px 0 rgba(255, 255, 255, 0.28) inset,
    1px 0 0 rgba(255, 255, 255, 0.35) inset,
    -1px 0 0 rgba(255, 255, 255, 0.18) inset,
    0 10px 28px rgba(37, 99, 235, 0.35),
    0 22px 48px rgba(29, 78, 216, 0.28),
    0 0 28px rgba(175, 235, 255, 0.5),
    0 0 52px rgba(96, 165, 250, 0.4);
}
a.pj-eng--hero:hover::before,
a.pj-eng--hero:focus-visible::before {
  opacity: 1;
  animation-play-state: paused;
}
.pj-eng:hover:not(.pj-eng--hero) { color: #fff; background: #1d4ed8; }
.pj-eng small { opacity: 0.85; }
.pj-eng.is-off {
  background: #94a3b8 !important;
  pointer-events: none;
  animation: none !important;
  box-shadow: none !important;
  border-color: transparent;
  transform: none !important;
}
.pj-eng.is-off::before,
.pj-eng.is-off::after {
  display: none;
}
.pj-triple { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; }
.pj-people, .pj-files, .pj-time { list-style: none; padding: 0; margin: 0 0 0.8rem; }
.pj-people li, .pj-files li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #eef2f7;
}
.pj-people span, .pj-files span { display: block; color: #64748b; font-size: 0.78rem; }
.pj-files em {
  flex: 0 0 2.3rem;
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 800;
  text-align: center;
  padding: 0.25rem 0;
  border-radius: 0.35rem;
  background: #e8f1ff;
  color: #2563eb;
}
.pj-add { display: grid; gap: 0.45rem; }
.pj-time li { padding: 0.55rem 0; border-bottom: 1px solid #eef2f7; }
.pj-time__when { color: #94a3b8; font-size: 0.75rem; }
.pj-time em {
  display: inline-block;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.68rem;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 0.05rem 0.45rem;
}
@media (max-width: 1100px) {
  .pj-hero__meta, .pj-split, .pj-split--docs, .pj-triple, .pj-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .pj-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .pj-hero__actions { justify-self: start; }
  .pj-hero__eng { justify-self: start; }
  .pj-hero__meta, .pj-split, .pj-split--docs, .pj-triple, .pj-statgrid, .pj-steps { grid-template-columns: 1fr; }
}

/* Yeni Proforma */
.pf-create {
  --pj-blue: #2563eb;
  --pj-text: #0f172a;
  --pj-muted: #64748b;
  --pj-line: #e8eef5;
}

.pf-create__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin: 0.35rem 0 1.15rem;
}

.pf-create__head h1 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 750;
  color: var(--pj-text);
}

.pf-create__head p {
  margin: 0.35rem 0 0;
  color: var(--pj-muted);
  max-width: 40rem;
}

.pf-create__head-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pf-create__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 1rem;
  align-items: start;
}

.pf-create__main,
.pf-create__side {
  display: grid;
  gap: 1rem;
}

.pf-card {
  background: #fff;
  border: 1px solid var(--pj-line);
  border-radius: 1rem;
  padding: 1.1rem 1.2rem 1.2rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.pf-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--pj-text);
}

.pf-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.pf-card__row h2 { margin: 0; }

.pf-grid {
  display: grid;
  gap: 0.75rem 1rem;
}

.pf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-grid--4 { grid-template-columns: 1.4fr 1fr 1fr auto; align-items: end; }

.pf-card label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--pj-muted);
}

.pf-card label .form-control,
.pf-card label .form-select { font-weight: 500; color: var(--pj-text); }

.pf-label {
  display: block;
  font-size: 0.75rem;
  color: var(--pj-muted);
  margin-bottom: 0.2rem;
}

.pf-load { padding-bottom: 0.05rem; }

.pf-readonly {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  color: var(--pj-muted);
  font-size: 0.8rem;
}

.pf-readonly strong {
  color: var(--pj-text);
  font-weight: 650;
}

.pf-info {
  background: #eff6ff;
  color: #1e40af;
  border-radius: 0.7rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.85rem;
}

.pf-sum { margin: 0; }
.pf-sum > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--pj-line);
}
.pf-sum dt { margin: 0; color: var(--pj-muted); font-weight: 500; }
.pf-sum dd { margin: 0; font-weight: 650; text-align: right; }
.pf-sum__total { color: var(--pj-blue); font-size: 1.05rem; }

.pf-quick {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pf-quick li { padding: 0.4rem 0; color: var(--pj-muted); }
.pf-quick li.is-off { opacity: 0.55; }
.pf-quick a { color: var(--pj-blue); text-decoration: none; font-weight: 600; }

.pf-count {
  margin-top: 0.35rem;
  text-align: right;
  color: var(--pj-muted);
  font-size: 0.75rem;
}

@media (max-width: 1100px) {
  .pf-create__layout,
  .pf-grid--3,
  .pf-grid--4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .pf-create__layout,
  .pf-grid--3,
  .pf-grid--4 { grid-template-columns: 1fr; }
}

/* Proforma list */
.pf-index {
  --pj-blue: var(--one-blue, #2563eb);
  --pj-text: var(--one-text, #0f172a);
  --pj-muted: var(--one-muted, #64748b);
  --pj-line: var(--one-border, #e8eef5);
  --pj-panel: var(--one-card, #fff);
  --pj-soft: var(--one-chip, #f8fafc);
}

.pf-index__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.pf-index__head h1 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 750;
  color: var(--pj-text);
}

.pf-index__head p {
  margin: 0.35rem 0 0;
  color: var(--pj-muted);
  max-width: 38rem;
}

.pf-index__cta {
  background: var(--pj-blue);
  color: #fff;
  border: 0;
  border-radius: 0.7rem;
  padding: 0.65rem 1rem;
  font-weight: 650;
}

.pf-index__cta:hover { background: #1d4ed8; color: #fff; }

.pf-index__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: end;
  background: var(--pj-panel);
  border: 1px solid var(--pj-line);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.pf-index__filters label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--pj-muted);
  margin: 0;
  min-width: 8.5rem;
}

.pf-index__search {
  flex: 1 1 14rem;
  min-width: 12rem;
}

.pf-index__search span {
  position: relative;
  display: block;
}

.pf-index__search svg {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.pf-index__search input { padding-left: 2.2rem; }

.pf-index__filter-btn {
  height: 2.4rem;
  white-space: nowrap;
}

.pf-index__pending {
  background: var(--pj-panel);
  border: 1px solid var(--pj-line);
  border-radius: 1rem;
  padding: 0.9rem 1rem 1rem;
  margin-bottom: 1rem;
}

.pf-index__pending h2 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.pf-index__empty {
  background: var(--pj-panel);
  border: 1px dashed var(--pj-line);
  border-radius: 1rem;
  padding: 1.4rem;
  color: var(--pj-muted);
}

.pf-index__table-wrap {
  overflow-x: auto;
  background: var(--pj-panel);
  border: 1px solid var(--pj-line);
  border-radius: 1rem;
}

.pf-index__table {
  width: 100%;
  min-width: 64rem;
  border-collapse: collapse;
}

.pf-index__table th {
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pj-muted);
  font-weight: 700;
  padding: 0.85rem 0.85rem 0.7rem;
  border-bottom: 1px solid var(--pj-line);
  white-space: nowrap;
}

.pf-index__table td {
  padding: 0.9rem 0.85rem;
  border-bottom: 1px solid var(--pj-line);
  vertical-align: middle;
  color: var(--pj-text);
  font-size: 0.9rem;
}

.pf-index__no {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.pf-index__no svg { color: var(--pj-blue); margin-top: 0.15rem; flex: 0 0 auto; }
.pf-index__no a {
  font-weight: 700;
  color: var(--pj-blue);
  text-decoration: none;
}
.pf-index__no a:hover { text-decoration: underline; }
.pf-index__no small { display: block; color: var(--pj-muted); font-size: 0.75rem; }

.pf-index__amt { font-weight: 650; white-space: nowrap; }

.pf-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 650;
  white-space: nowrap;
}

.pf-pill--partial { background: #e8f1ff; color: #2563eb; }
.pf-pill--paid { background: #ecfdf3; color: #15803d; }
.pf-pill--overdue { background: #fff4e5; color: #c2410c; }
.pf-pill--off { background: #f1f5f9; color: #64748b; }
.pf-pill--muted { background: #f8fafc; color: #64748b; border: 1px solid #e2e8f0; }
.pf-pill--free { background: #ecfdf3; color: #15803d; }
.pf-pill--block { background: #fee2e2; color: #b91c1c; }

.pf-index__acts {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
}

.pf-icon {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  color: var(--pj-muted);
  border-radius: 0.45rem;
}

.pf-icon:hover { background: #f1f5f9; color: var(--pj-blue); }

.pf-more { position: relative; }
.pf-more > summary {
  list-style: none;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 0.45rem;
  color: var(--pj-muted);
  font-weight: 800;
  letter-spacing: 0.05em;
}
.pf-more > summary::-webkit-details-marker { display: none; }
.pf-more > summary:hover { background: #f1f5f9; color: var(--pj-text); }
.pf-more > div {
  position: absolute;
  right: 0;
  top: calc(100% + 0.2rem);
  z-index: 4;
  min-width: 8rem;
  background: #fff;
  border: 1px solid var(--pj-line);
  border-radius: 0.65rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  padding: 0.35rem;
}
.pf-more a {
  display: block;
  padding: 0.4rem 0.55rem;
  color: var(--pj-text);
  text-decoration: none;
  border-radius: 0.4rem;
  font-size: 0.85rem;
}
.pf-more a:hover { background: #f8fafc; color: var(--pj-blue); }

.pf-index__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.15rem 0.2rem;
  color: var(--pj-muted);
  font-size: 0.85rem;
}

.pf-index__pager {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pf-index__pager a,
.pf-index__pager span {
  min-width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.45rem;
  color: var(--pj-muted);
  text-decoration: none;
}

.pf-index__pager .is-current {
  background: var(--pj-blue);
  color: #fff;
  font-weight: 700;
}

.pf-index__pager .is-disabled { opacity: 0.35; }

.pf-index__pagesize select {
  border: 1px solid #dbe4ee;
  border-radius: 0.45rem;
  padding: 0.25rem 0.45rem;
  background: #fff;
}

.pf-index__tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.15rem;
}

.pf-index__tips article {
  display: flex;
  gap: 0.7rem;
  background: #fff;
  border: 1px solid var(--pj-line);
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
}

.pf-index__tips span {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.7rem;
  background: #eff6ff;
  color: var(--pj-blue);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.pf-index__tips strong { display: block; font-size: 0.9rem; color: var(--pj-text); }
.pf-index__tips p { margin: 0.2rem 0 0; color: var(--pj-muted); font-size: 0.82rem; }

@media (max-width: 1100px) {
  .pf-index__tips { grid-template-columns: 1fr; }
}

/* Shared Satın Alma form modals (Controller sales, etc.) */
.sa-form-modal.modal .modal-dialog {
  max-width: 720px;
  margin: 1.25rem auto;
}
.sa-form-modal.modal .modal-content {
  pointer-events: auto;
}
.sa-form-modal.modal .modal-body {
  pointer-events: auto;
}
.sa-form-modal.modal input,
.sa-form-modal.modal textarea {
  pointer-events: auto;
  background: #fff;
}

.buton-order-modal.modal .modal-content {
  max-height: 65vh;
  height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
}

.buton-order-modal.modal .modal-header,
.buton-order-modal.modal .modal-footer {
  padding: 0.5rem 0.85rem !important;
  flex-shrink: 0;
}

.buton-order-modal.modal .modal-body {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(65vh - 5.5rem);
  padding: 0.75rem 1rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.buton-logo-preview {
  max-height: 48px;
  max-width: 120px;
  object-fit: contain;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 2px;
  background: #fff;
}

.buton-preview-logo {
  max-height: 40px;
  max-width: 100px;
  object-fit: contain;
  display: block;
  margin-bottom: 0.25rem;
}

/* Üretim module — manager dashboard */
.pr-module__header { margin-bottom: 1rem; }
.pr-module__eyebrow {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pr-meta {
  font-size: 0.82rem;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e8eef5;
  border-radius: 0.65rem;
  padding: 0.55rem 0.85rem;
}
.pr-bucket-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
@media (min-width: 992px) {
  .pr-bucket-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.pr-bucket {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 0.85rem;
  padding: 0.75rem;
  min-height: 7.5rem;
}
.pr-bucket__icon {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.55rem;
  background: #e8eef5 center/1.1rem no-repeat;
}
.pr-bucket--ready .pr-bucket__icon { background-color: #dcfce7; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2316a34a' viewBox='0 0 16 16'%3E%3Cpath d='M13.485 1.929a1 1 0 0 1 0 1.414l-7.071 7.071a1 1 0 0 1-1.414 0L2.515 6.414a1 1 0 1 1 1.414-1.414L6 6.586l6.071-6.071a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E"); }
.pr-bucket--waiting .pr-bucket__icon { background-color: #fef9c3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ca8a04' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z'/%3E%3Cpath d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0z'/%3E%3C/svg%3E"); }
.pr-bucket--purch .pr-bucket__icon { background-color: #dbeafe; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%232563eb' viewBox='0 0 16 16'%3E%3Cpath d='M0 1.5A.5.5 0 0 1 .5 1H2a.5.5 0 0 1 .485.379L2.89 3H14.5a.5.5 0 0 1 .491.592l-1.5 8A.5.5 0 0 1 13 12H4a.5.5 0 0 1-.491-.408L2.01 3.607 1.61 2H.5a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E"); }
.pr-bucket--prod .pr-bucket__icon { background-color: #fee2e2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc2626' viewBox='0 0 16 16'%3E%3Cpath d='M0 3.5A1.5 1.5 0 0 1 1.5 2h9A1.5 1.5 0 0 1 12 3.5V5h1.02a1.5 1.5 0 0 1 1.17.563l1.481 1.85a1.5 1.5 0 0 1 .329.938V10.5a1.5 1.5 0 0 1-1.5 1.5H14a2 2 0 1 1-4 0H5a2 2 0 1 1-3.998-.085A1.5 1.5 0 0 1 0 10.5v-7zm1.294 7.456A1.999 1.999 0 0 1 4.732 11h5.536a2.01 2.01 0 0 1 .732-.732V3.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .294.456z'/%3E%3C/svg%3E"); }
.pr-bucket--done .pr-bucket__icon { background-color: #ede9fe; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%237c3aed' viewBox='0 0 16 16'%3E%3Cpath d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z'/%3E%3C/svg%3E"); }
.pr-bucket--qc .pr-bucket__icon { background-color: #cffafe; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230891b2' viewBox='0 0 16 16'%3E%3Cpath d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z'/%3E%3C/svg%3E"); }
.pr-bucket--ship .pr-bucket__icon { background-color: #ccfbf1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230d9488' viewBox='0 0 16 16'%3E%3Cpath d='M4.268 1.013a1 1 0 0 1 1.464 0l8.962 9.532a1 1 0 0 1-.732 1.687H5.038a1 1 0 0 1-.732-1.687l8.962-9.532z'/%3E%3C/svg%3E"); }
.pr-bucket--plan .pr-bucket__icon { background-color: #ffedd5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ea580c' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5z'/%3E%3C/svg%3E"); }
.pr-bucket__label {
  font-size: 0.74rem;
  font-weight: 650;
  color: #475569;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}
.pr-bucket__stats {
  font-size: 0.82rem;
  color: #334155;
}
.pr-bucket__stats strong { font-size: 1.15rem; font-weight: 750; }
.pr-bucket__samples {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
}
.pr-bucket__samples li { margin-bottom: 0.15rem; }
.pr-bucket__samples code {
  font-size: 0.72rem;
  background: #f1f5f9;
  border-radius: 0.25rem;
  padding: 0.05rem 0.25rem;
}
.pr-quick {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.pr-quick__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  text-decoration: none;
  color: #334155;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.pr-quick__item:hover {
  background: #f8fafc;
  border-color: #e8eef5;
  color: #1e293b;
}
.pr-quick__icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  background: #eef2ff center/0.95rem no-repeat;
  flex-shrink: 0;
}
.pr-quick__icon--proj { background-color: #eef2ff; }
.pr-quick__icon--req { background-color: #ecfdf5; }
.pr-quick__icon--wo { background-color: #fff7ed; }
.pr-quick__icon--tag { background-color: #fdf4ff; }
.pr-quick__icon--rep { background-color: #f0f9ff; }
.pr-wo-kpi {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}
.pr-wo-kpi__item {
  background: #f8fafc;
  border: 1px solid #e8eef5;
  border-radius: 0.65rem;
  padding: 0.5rem 0.6rem;
  text-align: center;
}
.pr-wo-kpi__item span {
  display: block;
  font-size: 0.68rem;
  color: #64748b;
  margin-bottom: 0.1rem;
}
.pr-wo-kpi__item strong {
  font-size: 1.05rem;
  font-weight: 750;
}
.pr-wo-table thead th {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  border-bottom-width: 1px;
  font-weight: 650;
}
.pr-wo-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 650;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  white-space: nowrap;
}
.pr-wo-badge--pending { background: #fff7ed; color: #c2410c; }
.pr-wo-badge--prod { background: #dbeafe; color: #1d4ed8; }
.pr-wo-badge--done { background: #dcfce7; color: #15803d; }
.pr-wo-badge--warn { background: #fee2e2; color: #b91c1c; }

/* Satın Alma module — aligned with project Stok panel */
.sa-module__header {
  margin-bottom: 1rem;
}
.sa-module__header .sa-module__eyebrow {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.sa-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .sa-kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.sa-kpi {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 0.75rem;
  padding: 0.65rem 0.75rem;
}
.sa-kpi__label {
  color: #64748b;
  font-size: 0.75rem;
  margin-bottom: 0.15rem;
}
.sa-kpi__value {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}
.sa-kpi__dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  margin-right: 0.3rem;
  vertical-align: middle;
}
.sa-kpi__dot--pending { background: #dc3545; }
.sa-kpi__dot--purchased { background: #e6a700; }
.sa-kpi__dot--received { background: #198754; }

.sa-category {
  margin-top: 1rem;
}
.sa-category__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.sa-category__title {
  font-size: 0.88rem;
  font-weight: 750;
  margin: 0;
}

.sa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.sa-badge--pending { background: #dc3545; }
.sa-badge--purchased { background: #e6a700; color: #1a1a1a; }
.sa-badge--received { background: #198754; }
.sa-badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
}
.sa-badge--purchased::before { box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12); }

.sa-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.sa-edit-btn {
  border: 1px solid #ced4da;
  background: #fff;
  color: #2563eb;
  border-radius: 0.375rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}
.sa-edit-btn:hover { background: #f8fafc; }
.sa-edit-panel {
  display: none;
  width: 100%;
  margin-top: 0.15rem;
}
.sa-edit-panel.is-open { display: block; }
.sa-edit-panel form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.sa-edit-panel .form-select { max-width: 11rem; min-width: 9rem; }

.sa-motor-toggle {
  border: 0;
  background: none;
  padding: 0;
  color: #2563eb;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
}
.sa-motor-detail { display: none; }
.sa-motor-detail.is-open { display: table-row; }
.sa-motor-detail td { background: #f8fafc; border-top: 0; }

.sa-dia-panel {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: 100%;
  max-height: 14rem;
  overflow: auto;
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
}
.sa-dia-panel button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  padding: 0.45rem 0.65rem;
  font-size: 0.85rem;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}
.sa-dia-panel button:hover { background: #f4f7f8; }

.sa-dia-add {
  background: #f8fafc;
  border: 1px solid #e8eef5;
  border-radius: 0.75rem;
  padding: 0.85rem;
  margin-bottom: 1rem;
}

.sa-progress {
  height: 0.35rem;
  background: #e8eef5;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.35rem;
}
.sa-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, #198754, #22c55e);
  border-radius: 999px;
  min-width: 0;
}
.sa-progress__bar--warn {
  background: linear-gradient(90deg, #e6a700, #fbbf24);
}
.sa-progress__bar--danger {
  background: linear-gradient(90deg, #dc3545, #f87171);
}

.sa-project-row__meta {
  font-size: 0.75rem;
  color: #64748b;
}


/* ============================================================
   Dark mode — module surfaces (Proforma, Projeler, shared panels)
   ============================================================ */
[data-theme="dark"] .projects-index,
[data-theme="dark"] .pf-index {
  --pj-blue: #7ebeff;
  --pj-text: var(--one-text);
  --pj-muted: var(--one-muted);
  --pj-line: var(--one-border);
  --pj-panel: var(--one-card);
  --pj-soft: var(--one-chip);
}

[data-theme="dark"] .pj-crumb { color: var(--one-muted); }
[data-theme="dark"] .pj-crumb a:hover { color: #7ebeff; }

[data-theme="dark"] .pj-hero,
[data-theme="dark"] .pj-panel,
[data-theme="dark"] .pj-card,
[data-theme="dark"] .pj-tabs,
[data-theme="dark"] .pj-box,
[data-theme="dark"] .pj-grid > *,
[data-theme="dark"] .pf-more > div,
[data-theme="dark"] .pf-index__tips,
[data-theme="dark"] .pf-create__card,
[data-theme="dark"] .pf-create__side,
[data-theme="dark"] .proforma-offer,
[data-theme="dark"] .proforma-catalog-panel {
  background: var(--one-card) !important;
  border-color: var(--one-border) !important;
  color: var(--one-text);
}

[data-theme="dark"] .pj-hero__code,
[data-theme="dark"] .pj-hero__meta span,
[data-theme="dark"] .pj-hero__meta small,
[data-theme="dark"] .pj-steps li {
  color: var(--one-muted);
}

[data-theme="dark"] .pj-steps {
  background: var(--one-card);
  border-color: var(--one-border);
}

[data-theme="dark"] .pj-steps__dot,
[data-theme="dark"] .pj-icon-btn {
  background: var(--one-chip);
  border-color: var(--one-border);
  color: var(--one-text);
}

[data-theme="dark"] .pf-icon:hover,
[data-theme="dark"] .pf-more > summary:hover,
[data-theme="dark"] .pf-more a:hover,
[data-theme="dark"] .proforma-catalog-panel button:hover {
  background: var(--one-chip) !important;
  color: #7ebeff !important;
}

[data-theme="dark"] .pf-pill--partial { background: rgba(37, 99, 235, 0.22); color: #9ec5ff; }
[data-theme="dark"] .pf-pill--paid,
[data-theme="dark"] .pf-pill--free { background: rgba(22, 163, 74, 0.22); color: #86efac; }
[data-theme="dark"] .pf-pill--overdue { background: rgba(234, 88, 12, 0.22); color: #fdba74; }
[data-theme="dark"] .pf-pill--off,
[data-theme="dark"] .pf-pill--muted { background: rgba(255, 255, 255, 0.08); color: #c5ccd6; border-color: var(--one-border); }
[data-theme="dark"] .pf-pill--block { background: rgba(220, 38, 38, 0.22); color: #fca5a5; }

[data-theme="dark"] .pj-pill--pay { background: rgba(234, 88, 12, 0.22); color: #fdba74; }
[data-theme="dark"] .pj-pill--go,
[data-theme="dark"] .pj-pill--clear { background: rgba(22, 163, 74, 0.22); color: #86efac; }
[data-theme="dark"] .pj-pill--wait { background: rgba(37, 99, 235, 0.22); color: #9ec5ff; }
[data-theme="dark"] .pj-pill--block { background: rgba(220, 38, 38, 0.22); color: #fca5a5; }
[data-theme="dark"] .pj-pill--muted { background: rgba(255, 255, 255, 0.08); color: #c5ccd6; }

[data-theme="dark"] .proforma-offer__meta { color: var(--one-muted) !important; }

/* Bootstrap utility leftovers that force light panels in modules */
[data-theme="dark"] .app-shell .bg-white,
[data-theme="dark"] .app-shell .card.bg-white,
[data-theme="dark"] .app-shell .border.bg-white,
[data-theme="dark"] .portal-shell .bg-white {
  background-color: var(--one-card) !important;
  color: var(--one-text) !important;
}

[data-theme="dark"] .app-shell .table-light,
[data-theme="dark"] .app-shell thead.table-light,
[data-theme="dark"] .app-shell .bg-light {
  background-color: rgba(255, 255, 255, 0.06) !important;
  color: var(--one-text) !important;
}

[data-theme="dark"] .app-shell .text-dark,
[data-theme="dark"] .app-shell .text-black {
  color: var(--one-text) !important;
}

[data-theme="dark"] .app-shell .border,
[data-theme="dark"] .app-shell .border-bottom,
[data-theme="dark"] .app-shell .border-top {
  border-color: var(--one-border) !important;
}

[data-theme="dark"] .app-shell .shadow-sm,
[data-theme="dark"] .app-shell .shadow {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
}

/* Satınalma / shared list panels */
[data-theme="dark"] .sa-progress { background: rgba(255, 255, 255, 0.1); }
[data-theme="dark"] .sa-project-row__meta { color: var(--one-muted); }

/* Page title icons (e.g. Projeler mark) */
[data-theme="dark"] .projects-index__mark img,
[data-theme="dark"] .app-shell img.app-nav__icon-img {
  filter: invert(1) hue-rotate(180deg) brightness(1.2) contrast(1.08) saturate(1.25);
}

/* ── Engineering Material Tree (Technical BOM) ─────────────────────────── */
.mtree {
  --mtree-text: var(--one-text, #0f172a);
  --mtree-muted: var(--one-muted, #64748b);
  --mtree-line: var(--one-border, #e8eef5);
  --mtree-panel: var(--one-card, #fff);
  --mtree-soft: var(--one-chip, #f8fafc);
  --mtree-accent: var(--one-blue, #2563eb);
  --mtree-ok: #15803d;
  --mtree-ok-bg: #ecfdf3;
  --mtree-warn: #b45309;
  --mtree-warn-bg: #fffbeb;
  --mtree-info: #1d4ed8;
  --mtree-info-bg: #eff6ff;
  --mtree-neutral: #475569;
  --mtree-neutral-bg: #f1f5f9;
  color: var(--mtree-text);
}

.mtree__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.mtree__heading {
  font-size: 1.15rem;
  font-weight: 650;
  margin: 0 0 0.2rem;
  letter-spacing: -0.02em;
}

.mtree__sub {
  margin: 0;
  color: var(--mtree-muted);
  font-size: 0.86rem;
  max-width: 42rem;
}

.mtree__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--mtree-muted);
  white-space: nowrap;
}

.mtree__crumb a {
  color: var(--mtree-muted);
  text-decoration: none;
}

.mtree__crumb a:hover {
  color: var(--mtree-accent);
  text-decoration: underline;
}

.mtree__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.mtree__toolbar-filters {
  display: flex;
  flex: 1 1 28rem;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-items: center;
  min-width: 0;
}

.mtree__search {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 10rem;
  min-height: 2.35rem;
  padding: 0 0.75rem;
  background: var(--mtree-panel);
  border: 1px solid var(--mtree-line);
  border-radius: 0.65rem;
  color: var(--mtree-muted);
}

.mtree__search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--mtree-text);
  font: inherit;
  min-width: 0;
}

.mtree__filter,
.mtree__btn {
  min-height: 2.35rem;
  border: 1px solid var(--mtree-line);
  border-radius: 0.65rem;
  background: var(--mtree-panel);
  color: var(--mtree-text);
  font: inherit;
  font-size: 0.86rem;
  padding: 0 0.75rem;
}

.mtree__filter,
.mtree__toolbar-filters .lu-select {
  flex: 0 0 auto;
  width: auto;
  min-width: 9.5rem;
  max-width: 13rem;
}

.mtree__toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-left: auto;
}

.mtree__btn {
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

a.mtree__btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.mtree__btn:hover {
  background: var(--mtree-soft);
  border-color: color-mix(in srgb, var(--mtree-accent) 28%, var(--mtree-line));
}

.mtree__panel {
  background: var(--mtree-panel);
  border: 1px solid var(--mtree-line);
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.mtree__cols,
.mtree__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.5rem 4.5rem 7.5rem 4.25rem;
  gap: 0.5rem;
  align-items: center;
  padding: 0.7rem 0.9rem;
}

.mtree__cols {
  background: var(--mtree-soft);
  border-bottom: 1px solid var(--mtree-line);
  color: var(--mtree-muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mtree__col--qty,
.mtree__col--unit,
.mtree__qty,
.mtree__unit {
  text-align: right;
}

.mtree__col--status,
.mtree__status {
  text-align: left;
}

.mtree__col--actions,
.mtree__actions {
  text-align: right;
}

.mtree__row {
  border-bottom: 1px solid var(--mtree-line);
  padding-left: calc(0.9rem + (var(--mtree-depth, 0) * 1.15rem));
  transition: background 0.12s ease;
}

.mtree__row:hover {
  background: color-mix(in srgb, var(--mtree-soft) 80%, transparent);
}

.mtree__row:last-child {
  border-bottom: 0;
}

.mtree__item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  min-width: 0;
}

.mtree__toggle {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--mtree-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.mtree__toggle svg {
  transition: transform 0.15s ease;
}

.mtree__toggle[aria-expanded="true"] svg {
  transform: rotate(90deg);
}

.mtree__toggle--spacer {
  visibility: hidden;
  pointer-events: none;
}

.mtree__icon {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mtree-soft);
  color: var(--mtree-accent);
}

.mtree__icon--project { background: #eef2ff; color: #4338ca; }
.mtree__icon--panel { background: #ecfeff; color: #0e7490; }
.mtree__icon--rail { background: #f1f5f9; color: #334155; }
.mtree__icon--cabin { background: #fff7ed; color: #c2410c; }
.mtree__icon--door { background: #fdf2f8; color: #be185d; }
.mtree__icon--motor { background: #eff6ff; color: #1d4ed8; }
.mtree__icon--safety { background: #fef2f2; color: #b91c1c; }
.mtree__icon--button { background: #f5f3ff; color: #6d28d9; }
.mtree__icon--rope,
.mtree__icon--suspension,
.mtree__icon--weight { background: #f8fafc; color: #475569; }
.mtree__icon--part { background: #f8fafc; color: #64748b; }
.mtree__icon--folder { background: #f8fafc; color: #64748b; }

.mtree__text {
  min-width: 0;
}

.mtree__title {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.mtree__meta {
  margin-top: 0.15rem;
  color: var(--mtree-muted);
  font-size: 0.78rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.mtree__qty,
.mtree__unit {
  font-variant-numeric: tabular-nums;
  font-size: 0.88rem;
  color: var(--mtree-text);
}

.mtree__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.mtree__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}

.mtree__pill--linked,
.mtree__pill--project {
  background: var(--mtree-ok-bg);
  color: var(--mtree-ok);
}

.mtree__pill--kit,
.mtree__pill--partial {
  background: var(--mtree-info-bg);
  color: var(--mtree-info);
}

.mtree__pill--needs-link {
  background: var(--mtree-warn-bg);
  color: var(--mtree-warn);
}

.mtree__pill--open {
  background: var(--mtree-neutral-bg);
  color: var(--mtree-neutral);
}

.mtree__action {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--mtree-accent);
  text-decoration: none;
}

.mtree__action:hover {
  text-decoration: underline;
}

.mtree__action--warn {
  color: var(--mtree-warn);
}

.mtree__empty {
  padding: 1.5rem 1rem;
  color: var(--mtree-muted);
  text-align: center;
}

.mtree__children {
  display: block;
}

@media (max-width: 900px) {
  .mtree__header {
    flex-direction: column;
  }

  .mtree__cols {
    display: none;
  }

  .mtree__row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "item status"
      "item qty"
      "item actions";
    gap: 0.35rem 0.75rem;
  }

  .mtree__item { grid-area: item; }
  .mtree__status { grid-area: status; justify-self: end; }
  .mtree__qty { grid-area: qty; }
  .mtree__unit { display: inline; }
  .mtree__qty::after {
    content: " " attr(data-unit);
  }
  .mtree__actions { grid-area: actions; }
}

[data-theme="dark"] .mtree__icon--project { background: rgba(99, 102, 241, 0.18); color: #a5b4fc; }
[data-theme="dark"] .mtree__icon--panel { background: rgba(6, 182, 212, 0.16); color: #67e8f9; }
[data-theme="dark"] .mtree__icon--cabin { background: rgba(249, 115, 22, 0.16); color: #fdba74; }
[data-theme="dark"] .mtree__icon--door { background: rgba(236, 72, 153, 0.16); color: #f9a8d4; }
[data-theme="dark"] .mtree__icon--motor { background: rgba(37, 99, 235, 0.18); color: #93c5fd; }
[data-theme="dark"] .mtree__icon--safety { background: rgba(239, 68, 68, 0.16); color: #fca5a5; }
[data-theme="dark"] .mtree__pill--linked,
[data-theme="dark"] .mtree__pill--project { background: rgba(34, 197, 94, 0.16); color: #86efac; }
[data-theme="dark"] .mtree__pill--kit,
[data-theme="dark"] .mtree__pill--partial { background: rgba(59, 130, 246, 0.18); color: #93c5fd; }
[data-theme="dark"] .mtree__pill--needs-link { background: rgba(245, 158, 11, 0.18); color: #fcd34d; }
[data-theme="dark"] .mtree__pill--open { background: rgba(148, 163, 184, 0.16); color: #cbd5e1; }
[data-theme="dark"] .mtree__panel {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

/* Engineering technical configuration preview (Satın Alma / buton-style sheet) */
.eng-cfg-doc { font-size: .85rem; color: #1a1a1a; }
.eng-cfg-doc__title {
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .04em;
  margin-bottom: .75rem;
  border-bottom: 2px solid #333;
  padding-bottom: .45rem;
}
.eng-cfg-section {
  border: 1px solid #333;
  margin-bottom: .55rem;
  padding: .55rem .7rem;
  background: #fff;
}
.eng-cfg-section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  font-size: .8rem;
  margin-bottom: .5rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid #ccc;
}
.eng-cfg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .45rem .75rem;
}
.eng-cfg-grid span {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  color: #555;
  letter-spacing: .02em;
}
.eng-cfg-grid div div { font-weight: 600; min-height: 1.2em; }
@media (max-width: 768px) {
  .eng-cfg-grid { grid-template-columns: 1fr 1fr; }
}

.eng-cfg-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
button.eng-cfg-tile.pj-eng {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  text-align: left;
  width: 10.25rem;
  font: inherit;
}
button.eng-cfg-tile.pj-eng:hover,
button.eng-cfg-tile.pj-eng:focus-visible {
  transform: translateY(-3px) scale(1.015);
  outline: none;
}

.eng-id-card {
  border: 1px solid #e8eef6;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}
.eng-id-card__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.45rem;
}
.eng-id-card__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem;
  line-height: 1.15;
  margin-bottom: 0.15rem;
}
.eng-id-card__code {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: #db2777;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.eng-id-card__dot {
  color: #0f172a;
  font-weight: 700;
  font-size: 1.35rem;
}
.eng-id-card__ref {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  margin-bottom: 0.45rem;
}
.eng-id-card__customer {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

/* Checklist + Drawings (mock design) */
.eng-split-card {
  border: 1px solid #e8eef6;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  height: 100%;
}
.eng-split-card .card-body { padding: 1.15rem 1.2rem; }
.eng-check-head,
.eng-docs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.eng-check-head h2,
.eng-docs-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}
.eng-check-progress {
  font-size: 0.75rem;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  white-space: nowrap;
}
.eng-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.eng-check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}
.eng-check-item__main {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
}
.eng-check-item__icon {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  margin-top: 0.1rem;
}
.eng-check-item.is-ok .eng-check-item__icon {
  background: #dcfce7;
  color: #15803d;
}
.eng-check-item.is-missing .eng-check-item__icon {
  background: #fee2e2;
  color: #b91c1c;
}
.eng-check-item__label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.25;
}
.eng-check-item__detail {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
  margin-top: 0.1rem;
}
.eng-check-badge {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
}
.eng-check-badge--ok {
  background: #dcfce7;
  color: #166534;
}
.eng-check-badge--missing {
  background: #fee2e2;
  color: #991b1b;
}
.eng-check-empty {
  font-size: 0.86rem;
  font-weight: 500;
  color: #64748b;
  padding: 0.35rem 0.15rem;
}

.eng-docs-drop {
  border: 1.5px dashed #cbd5e1;
  border-radius: 0.85rem;
  background: #f8fafc;
  padding: 1rem;
  text-align: center;
  margin-bottom: 0.85rem;
}
.eng-docs-drop p {
  margin: 0 0 0.65rem;
  color: #64748b;
  font-size: 0.82rem;
}
.eng-docs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.4rem;
  margin: 0;
}
.eng-docs-table thead th {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  font-weight: 700;
  border: 0;
  padding: 0 0.55rem 0.2rem;
}
.eng-docs-table tbody tr {
  background: #f8fafc;
}
.eng-docs-table tbody td {
  border: 0;
  padding: 0.65rem 0.55rem;
  vertical-align: middle;
  font-size: 0.82rem;
}
.eng-docs-table tbody tr td:first-child {
  border-radius: 0.65rem 0 0 0.65rem;
}
.eng-docs-table tbody tr td:last-child {
  border-radius: 0 0.65rem 0.65rem 0;
}
.eng-docs-file {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
}
.eng-docs-file:hover { color: #2563eb; }
.eng-docs-file__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: #eff6ff;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  flex: 0 0 auto;
}
.eng-docs-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  background: #e2e8f0;
  color: #334155;
}
.eng-docs-status.is-ok { background: #dcfce7; color: #166534; }
.eng-docs-status.is-review { background: #dbeafe; color: #1d4ed8; }
.eng-docs-actions {
  display: flex;
  gap: 0.35rem;
  justify-content: flex-end;
}
.eng-docs-actions a,
.eng-docs-actions span {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: #fff;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  font-size: 0.75rem;
}
.eng-docs-actions a:hover { color: #2563eb; border-color: #bfdbfe; }
.eng-docs-empty {
  text-align: center;
  color: #94a3b8;
  font-size: 0.82rem;
  padding: 0.85rem 0.5rem;
}
.eng-docs-upload {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eef2f7;
}
