.menu-ops-overview {
  grid-template-columns: minmax(340px, 0.72fr) minmax(560px, 1.28fr) !important;
  align-items: start !important;
  gap: 20px !important;
  padding: 18px !important;
}

.menu-ops-copy {
  min-height: 620px;
  align-content: start !important;
  padding: 28px 2px 18px;
}

.menu-ops-copy h2 {
  max-width: 520px !important;
  font-size: 29px !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

.menu-ops-copy p {
  max-width: 560px !important;
  line-height: 1.62 !important;
}

.menu-ops-stats {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
}

.menu-ops-stats span {
  min-height: 42px !important;
  justify-content: flex-start;
}

.menu-ops-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.menu-ops-flow span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid rgba(8, 122, 67, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--color-text-primary, #15231d);
  font-size: 13px;
  font-weight: 900;
}

.menu-ops-flow b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: var(--green-2, #e8f6ee);
  color: var(--green, #087a43);
  font-size: 15px;
}

.menu-ops-grid {
  grid-template-columns: repeat(2, minmax(240px, 1fr)) !important;
  gap: 12px !important;
  align-items: stretch;
}

.menu-ops-card {
  min-height: 216px !important;
  align-content: start;
  grid-template-rows: auto auto minmax(44px, 1fr) auto;
  padding: 15px !important;
}

.menu-ops-card-head strong {
  font-size: 22px !important;
}

.menu-ops-card p,
.menu-ops-card small {
  display: block;
  overflow: hidden;
}

.menu-ops-entry {
  align-self: end;
}

@media (max-width: 1180px) {
  .menu-ops-overview {
    grid-template-columns: 1fr !important;
  }

  .menu-ops-copy {
    min-height: 0;
    padding: 0;
  }
}

@media (max-width: 760px) {
  .menu-ops-grid,
  .menu-ops-stats,
  .menu-ops-flow {
    grid-template-columns: 1fr !important;
  }
}

.smart-customer-review-cockpit.compact .smart-review-cockpit-head {
  grid-template-columns: minmax(360px, 0.82fr) minmax(420px, 1.18fr) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

.smart-customer-review-cockpit.compact .smart-review-cockpit-head > div:first-child {
  display: grid;
  align-content: center;
  min-height: 150px;
}

.smart-customer-review-cockpit.compact h3 {
  max-width: 520px;
  letter-spacing: 0 !important;
}

.smart-customer-review-cockpit.compact .smart-review-cockpit-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
}

.smart-customer-review-cockpit.compact .smart-review-cockpit-metrics span {
  min-height: 118px !important;
  justify-content: center;
}

.smart-customer-package-board {
  display: grid !important;
  gap: 14px !important;
}

.smart-customer-package-head {
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr) !important;
  align-items: stretch !important;
}

.smart-customer-scope-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.smart-customer-coverage-strip {
  grid-template-columns: minmax(320px, 0.9fr) minmax(380px, 1.1fr) auto !important;
  align-items: center !important;
}

.smart-customer-package-grid {
  grid-template-columns: repeat(2, minmax(320px, 1fr)) !important;
  gap: 12px !important;
}

.smart-customer-package-empty {
  min-height: 170px !important;
  align-content: center !important;
}

@media (max-width: 1120px) {
  .smart-customer-review-cockpit.compact .smart-review-cockpit-head,
  .smart-customer-package-head,
  .smart-customer-coverage-strip {
    grid-template-columns: 1fr !important;
  }

  .smart-customer-scope-facts,
  .smart-customer-package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .smart-customer-review-cockpit.compact .smart-review-cockpit-metrics,
  .smart-customer-scope-facts,
  .smart-customer-package-grid {
    grid-template-columns: 1fr !important;
  }
}

.smart-manual-generator.smart-generator-workbook {
  max-width: 1480px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)),
    radial-gradient(circle at 16% 0%, rgba(8, 122, 67, 0.08), transparent 32%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.smart-manual-generator .smart-generator-workbook-head,
.smart-manual-generator.has-result .smart-generator-workbook-head {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px) !important;
  align-items: center !important;
  gap: 18px !important;
  margin-bottom: 18px !important;
  padding: 20px !important;
  border-radius: 14px !important;
  background: #0f172a !important;
  color: #f8fafc !important;
}

.smart-manual-generator .smart-generator-workbook-head h2,
.smart-manual-generator.has-result .smart-generator-workbook-head h2 {
  max-width: 920px !important;
  color: #f8fafc !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

.smart-manual-generator .smart-generator-workbook-head p,
.smart-manual-generator.has-result .smart-generator-workbook-head p {
  max-width: 860px !important;
  color: rgba(226, 232, 240, 0.86) !important;
  font-size: 15px !important;
  line-height: 1.62 !important;
}

.smart-manual-generator .smart-generator-workbook-status {
  min-height: 132px !important;
  border-color: rgba(45, 212, 191, 0.28) !important;
  background: rgba(15, 118, 110, 0.24) !important;
  color: #ccfbf1 !important;
}

.smart-manual-generator .smart-generator-workbook-grid,
.smart-manual-generator.has-result .smart-generator-workbook-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
}

.smart-manual-generator .smart-generator-conditions,
.smart-manual-generator.has-result .smart-generator-conditions,
.smart-manual-generator .smart-generator-result-pane,
.smart-manual-generator.has-result .smart-generator-result-pane {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
}

.smart-manual-generator .smart-generator-conditions {
  order: 1;
  border: 1px solid rgba(8, 122, 67, 0.12) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 12px 28px rgba(8, 122, 67, 0.08) !important;
}

.smart-manual-generator .smart-generator-result-pane {
  order: 2;
  border: 1px solid rgba(14, 116, 144, 0.14) !important;
  border-radius: 16px !important;
  background: #f8fafc !important;
}

.smart-manual-generator .smart-manual-form-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding: 4px 2px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.smart-manual-generator .smart-manual-form-head strong {
  font-size: 22px !important;
  line-height: 1.2;
}

.smart-manual-generator .smart-manual-form-head span {
  max-width: 360px;
  color: #64748b !important;
  text-align: right;
}

.smart-manual-generator .smart-generator-conditions .smart-manual-core-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(180px, 1fr)) !important;
  gap: 12px !important;
  padding-top: 14px;
}

.smart-manual-generator .smart-generator-conditions .smart-manual-core-grid .form-field.full {
  grid-column: span 2 !important;
}

.smart-manual-generator .smart-menu-advanced-box {
  margin-top: 14px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
}

.smart-manual-generator .smart-manual-submit-row {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) auto auto auto !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 16px !important;
  padding: 14px !important;
  border: 1px solid rgba(8, 122, 67, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(10px);
}

.smart-manual-generator .smart-manual-submit-row .primary-action,
.smart-manual-generator .smart-manual-submit-row .ghost-action {
  min-height: 42px !important;
  white-space: nowrap;
}

.smart-manual-generator .smart-result-pane-head {
  position: sticky;
  top: 0;
  z-index: 3;
  border-radius: 12px !important;
  background: rgba(248, 250, 252, 0.94) !important;
  backdrop-filter: blur(10px);
}

.smart-manual-generator .smart-selfservice-output-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.smart-manual-generator .smart-generator-route {
  display: grid !important;
  grid-template-columns: auto repeat(3, minmax(180px, 1fr));
  gap: 10px !important;
  align-items: stretch !important;
  margin-top: 18px !important;
  padding: 12px !important;
  border-radius: 14px;
  background: #eef6f2;
}

.smart-manual-generator .smart-generator-route > strong {
  display: grid;
  place-items: center;
  min-width: 96px;
  color: #087a43;
}

.smart-manual-generator .smart-generator-route button {
  min-height: 70px;
}

@media (max-width: 1180px) {
  .smart-manual-generator .smart-generator-workbook-head,
  .smart-manual-generator.has-result .smart-generator-workbook-head,
  .smart-manual-generator .smart-generator-conditions .smart-manual-core-grid,
  .smart-manual-generator .smart-manual-submit-row,
  .smart-manual-generator .smart-generator-route {
    grid-template-columns: 1fr !important;
  }

  .smart-manual-generator .smart-manual-form-head {
    grid-template-columns: 1fr;
  }

  .smart-manual-generator .smart-manual-form-head span {
    max-width: none;
    text-align: left;
  }

  .smart-manual-generator .smart-generator-conditions .smart-manual-core-grid .form-field.full {
    grid-column: auto !important;
  }
}

@media (max-width: 760px) {
  .smart-manual-generator.smart-generator-workbook {
    padding: 12px;
    border-radius: 12px;
  }

  .smart-manual-generator .smart-selfservice-output-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.employee-generator-window {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3600;
}

.employee-generator-window.open {
  display: block;
}

.employee-generator-window__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 24, 20, 0.48);
  backdrop-filter: blur(10px);
}

.employee-generator-window__panel {
  position: absolute;
  inset: 18px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(196, 214, 207, 0.95);
  border-radius: 8px;
  background: #f8fbfa;
  box-shadow: 0 30px 90px rgba(13, 32, 27, 0.24);
}

.employee-generator-window__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(211, 224, 221, 0.96);
  background: #ffffff;
}

.employee-generator-window__head span {
  color: #5d716b;
  font-size: 12px;
  font-weight: 900;
}

.employee-generator-window__head h2 {
  margin: 4px 0 0;
  color: #102a24;
  font-size: 22px;
  letter-spacing: 0;
}

.employee-generator-window__head p {
  max-width: 840px;
  margin: 6px 0 0;
  color: #60756f;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.55;
}

.employee-generator-window__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.employee-generator-window__quick,
.employee-generator-window__close {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #d4e2dd;
  border-radius: 6px;
  background: #ffffff;
  color: #18342d;
  font-weight: 900;
  cursor: pointer;
}

.employee-generator-window__quick {
  border-color: rgba(0, 168, 112, 0.24);
  background: #eaf8f2;
  color: #007a52;
}

.employee-generator-window__quick:hover,
.employee-generator-window__close:hover {
  border-color: #00a870;
  color: #007a52;
}

.employee-generator-window__body {
  min-width: 0;
  overflow: auto;
  padding: 18px;
}

.employee-generator-window__body .smart-manual-generator.smart-generator-workbook {
  max-width: none;
  margin: 0;
  border-radius: 8px;
  box-shadow: none;
}

.employee-generator-window__body .smart-manual-generator.employee-generator-window-mode {
  display: grid;
  gap: 18px;
  padding: 18px;
  background: #f8fbfa !important;
}

.employee-generator-window__body .employee-generator-window-mode .smart-generator-workbook-head,
.employee-generator-window__body .employee-generator-window-mode.has-result .smart-generator-workbook-head {
  position: sticky;
  top: -18px;
  z-index: 5;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px) !important;
  align-items: center !important;
  margin: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.employee-generator-window__body .employee-generator-window-mode .smart-generator-workbook-grid,
.employee-generator-window__body .employee-generator-window-mode.has-result .smart-generator-workbook-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: stretch !important;
}

.employee-generator-window__body .employee-generator-window-mode .smart-generator-conditions,
.employee-generator-window__body .employee-generator-window-mode.has-result .smart-generator-conditions,
.employee-generator-window__body .employee-generator-window-mode .smart-generator-result-pane,
.employee-generator-window__body .employee-generator-window-mode.has-result .smart-generator-result-pane {
  order: initial !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  position: static !important;
  max-height: none !important;
  overflow: visible !important;
}

.employee-generator-window__body .employee-generator-window-mode .smart-generator-conditions {
  border-radius: 8px !important;
  background: #ffffff !important;
}

.employee-generator-window__body .employee-generator-window-mode .smart-generator-result-pane {
  border-radius: 8px !important;
  background: #f7faf9 !important;
}

.employee-generator-window__body .employee-generator-window-mode .smart-generator-conditions .smart-manual-core-grid {
  grid-template-columns: repeat(4, minmax(170px, 1fr)) !important;
}

.employee-generator-window__body .employee-generator-window-mode .smart-manual-submit-row {
  position: sticky !important;
  bottom: -18px !important;
  z-index: 6 !important;
}

.employee-generator-window__body .employee-generator-window-mode .smart-result-pane-head {
  position: sticky;
  top: 110px;
  z-index: 4;
}

.employee-generator-window__body .employee-generator-window-mode .smart-generated-sheet-wrap {
  max-height: none !important;
}

.employee-generator-window-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .employee-generator-window__panel {
    inset: 0;
    border-radius: 0;
  }

  .employee-generator-window__head {
    grid-template-columns: 1fr;
  }

  .employee-generator-window__actions {
    width: 100%;
  }

  .employee-generator-window__quick,
  .employee-generator-window__close {
    flex: 1 1 180px;
  }

  .employee-generator-window__body .employee-generator-window-mode .smart-generator-workbook-head,
  .employee-generator-window__body .employee-generator-window-mode.has-result .smart-generator-workbook-head,
  .employee-generator-window__body .employee-generator-window-mode .smart-generator-conditions .smart-manual-core-grid {
    grid-template-columns: 1fr !important;
  }
}
