* {
  box-sizing: border-box
}

html {
  color-scheme: light
}

body {
  --theme-primary: #2563eb;
  --theme-primary-hover: #1d4ed8;
  --theme-accent: #06b6d4;
  --theme-soft: #eff6ff;
  --theme-border: #bfdbfe;
  --theme-text: #1d4ed8;
  --theme-rgb: 37, 99, 235;
  margin: 0;
  background: #f5f7fa;
  color: #10263d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased
}

body[data-theme=emerald] {
  --theme-primary: #059669;
  --theme-primary-hover: #047857;
  --theme-accent: #14b8a6;
  --theme-soft: #ecfdf5;
  --theme-border: #a7f3d0;
  --theme-text: #047857;
  --theme-rgb: 5, 150, 105
}

body[data-theme=violet] {
  --theme-primary: #7c3aed;
  --theme-primary-hover: #6d28d9;
  --theme-accent: #a855f7;
  --theme-soft: #f5f3ff;
  --theme-border: #ddd6fe;
  --theme-text: #6d28d9;
  --theme-rgb: 124, 58, 237
}

body[data-theme=coral] {
  --theme-primary: #e85d4a;
  --theme-primary-hover: #cf4938;
  --theme-accent: #f59e0b;
  --theme-soft: #fff3f0;
  --theme-border: #fecaca;
  --theme-text: #c24132;
  --theme-rgb: 232, 93, 74
}

body[data-theme=sunset] {
  --theme-primary: #ea580c;
  --theme-primary-hover: #c2410c;
  --theme-accent: #eab308;
  --theme-soft: #fff7ed;
  --theme-border: #fed7aa;
  --theme-text: #c2410c;
  --theme-rgb: 234, 88, 12
}

body[data-theme=cyan] {
  --theme-primary: #0891b2;
  --theme-primary-hover: #0e7490;
  --theme-accent: #2563eb;
  --theme-soft: #ecfeff;
  --theme-border: #a5f3fc;
  --theme-text: #0e7490;
  --theme-rgb: 8, 145, 178
}

body[data-theme=berry] {
  --theme-primary: #db2777;
  --theme-primary-hover: #be185d;
  --theme-accent: #8b5cf6;
  --theme-soft: #fdf2f8;
  --theme-border: #fbcfe8;
  --theme-text: #be185d;
  --theme-rgb: 219, 39, 119
}

button,
input {
  font: inherit
}

.install-shell {
  min-height: 100vh
}

.install-topbar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 58px);
  background: #fff;
  border-bottom: 1px solid #e1e7ee
}

.install-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #102846;
  text-decoration: none;
  font-size: 17px
}

.install-brand em {
  font-style: normal;
  color: var(--theme-primary);
  font-weight: 700
}

.brand-mark,
.summary-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--theme-primary);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 7px 16px rgba(var(--theme-rgb), .16)
}

.topbar-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #687b90;
  font-size: 12px;
  font-weight: 700
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #20a568
}

.install-main {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 20px
}

.install-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px
}

.install-eyebrow {
  display: block;
  color: var(--theme-primary);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .1em
}

.install-heading h1,
.install-success-panel h1,
.install-lock h1 {
  margin: 7px 0 5px;
  font-size: 25px;
  letter-spacing: -.025em
}

.install-heading p,
.install-success-panel p,
.install-lock p {
  margin: 0;
  color: #74859a;
  font-size: 13px;
  line-height: 1.55
}

.install-version {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  color: var(--theme-primary);
  font-size: 13px;
  font-weight: 900
}

.install-version small {
  color: #91a0ae;
  font-weight: 600
}

.wizard-frame {
  overflow: hidden;
  border: 1px solid #dbe4ed;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(25, 48, 71, .055)
}

.wizard-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 17px 22px;
  border-bottom: 1px solid #e8edf2;
  background: #fff
}

.wizard-step {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  padding: 0 16px 0 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: #8190a1;
  cursor: pointer
}

.wizard-step:not(:last-child):after {
  content: "";
  position: absolute;
  right: 12px;
  top: 17px;
  width: calc(100% - 122px);
  height: 1px;
  background: #dfe6ed;
  transform: translateX(100%)
}

.wizard-step>span {
  grid-row: 1/3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #d9e3ed;
  border-radius: 50%;
  background: #fff;
  color: #60768c;
  font-size: 12px;
  font-weight: 900;
  z-index: 1
}

.wizard-step b {
  font-size: 12px;
  color: #536a80
}

.wizard-step small {
  font-size: 9px;
  color: #98a6b5;
  margin-top: 2px
}

.wizard-step.active>span,
.wizard-step.done>span {
  border-color: var(--theme-primary);
  background: var(--theme-primary);
  color: #fff
}

.wizard-step.active b {
  color: var(--theme-primary)
}

.wizard-step.done>span {
  background: #fff;
  color: #15945f;
  border-color: #b9e7d3
}

.wizard-step.done b {
  color: #345269
}

.wizard-body {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(310px, .72fr);
  min-height: 520px
}

.wizard-content {
  padding: 28px 30px
}

.wizard-page {
  display: none;
  animation: pageIn .18s ease
}

.wizard-page.active {
  display: block
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(4px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.page-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px
}

.title-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--theme-soft);
  color: var(--theme-primary);
  font-size: 11px;
  font-weight: 900
}

.page-title h2 {
  margin: 5px 0 4px;
  font-size: 18px;
  letter-spacing: -.015em
}

.page-title p {
  margin: 0;
  color: #77899c;
  font-size: 12px;
  line-height: 1.5
}

.requirements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #e1e8ef;
  border-radius: 11px;
  overflow: hidden
}

.requirement-item {
  min-height: 70px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #edf1f5
}

.requirement-item:nth-child(odd) {
  border-right: 1px solid #edf1f5
}

.requirement-item:nth-last-child(-n+2) {
  border-bottom: 0
}

.requirement-status {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900
}

.requirement-item.is-ok .requirement-status {
  background: #eaf8f2;
  color: #15945f
}

.requirement-item.is-bad .requirement-status {
  background: #fff0ef;
  color: #c64646
}

.requirement-item strong {
  display: block;
  font-size: 11px
}

.requirement-item small {
  display: block;
  margin-top: 3px;
  color: #8b99a8;
  font-size: 9px
}

.requirement-item>b {
  font-size: 10px;
  color: #15945f
}

.requirement-item.is-bad>b {
  color: #c64646
}

.install-alert {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  flex-direction: column;
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid;
  border-radius: 9px;
  font-size: 10px
}

.install-alert b {
  font-size: 11px
}

.install-alert-success {
  border-color: #c3ead8;
  background: #f0fbf6;
  color: #197b55
}

.install-alert-danger {
  border-color: #f3c8c5;
  background: #fff5f4;
  color: #a73f39
}

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

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

.span-2 {
  grid-column: 1/-1
}

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

.field>span {
  font-size: 10px;
  font-weight: 800;
  color: #263d55
}

.field>span small {
  font-weight: 600;
  color: #91a0af
}

.field input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d6e0e9;
  border-radius: 8px;
  background: #fff;
  color: #1d344b;
  outline: 0;
  transition: .14s
}

.field input:focus {
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(var(--theme-rgb), .08)
}

.password-field {
  position: relative
}

.password-field input {
  padding-right: 58px
}

.password-field button {
  position: absolute;
  right: 5px;
  top: 5px;
  height: 32px;
  padding: 0 9px;
  border: 0;
  border-radius: 6px;
  background: #f5f7f9;
  color: #718397;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer
}

.password-field button:hover {
  background: var(--theme-soft);
  color: var(--theme-primary)
}

.choice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0
}

.check-choice,
.confirm-choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e0e7ee;
  border-radius: 9px;
  background: #fff;
  cursor: pointer
}

.check-choice:hover,
.confirm-choice:hover {
  border-color: var(--theme-border);
  background: color-mix(in srgb, var(--theme-soft) 45%, #fff)
}

.check-choice input,
.confirm-choice input {
  margin: 2px 0 0;
  accent-color: var(--theme-primary)
}

.check-choice b,
.confirm-choice b {
  display: block;
  font-size: 10px
}

.check-choice small,
.confirm-choice small {
  display: block;
  margin-top: 3px;
  color: #8494a4;
  font-size: 9px;
  line-height: 1.45
}

.connection-result {
  margin: 12px 0;
  padding: 11px 13px;
  border-radius: 8px;
  background: #f0fbf6;
  border: 1px solid #c3ead8;
  color: #197b55;
  font-size: 10px
}

.connection-result.error {
  background: #fff5f4;
  border-color: #f3c8c5;
  color: #a73f39
}

.install-btn {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: .14s
}

.install-btn:disabled {
  opacity: .45;
  cursor: not-allowed
}

.install-btn-primary {
  background: var(--theme-primary);
  border-color: var(--theme-primary);
  color: #fff
}

.install-btn-primary:hover:not(:disabled) {
  background: var(--theme-primary-hover);
  border-color: var(--theme-primary-hover)
}

.install-btn-secondary {
  background: #fff;
  border-color: #d6e0e9;
  color: #345068
}

.install-btn-secondary:hover:not(:disabled) {
  border-color: var(--theme-border);
  background: var(--theme-soft);
  color: var(--theme-text)
}

.theme-block {
  margin-top: 18px
}

.theme-block-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 10px
}

.theme-block-head b {
  display: block;
  font-size: 11px
}

.theme-block-head small {
  display: block;
  margin-top: 3px;
  color: #8393a4;
  font-size: 9px
}

.theme-block-head>span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--theme-soft);
  color: var(--theme-text);
  font-size: 9px;
  font-weight: 800
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px
}

.theme-card {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid #dfe7ee;
  border-radius: 9px;
  background: #fff;
  text-align: left;
  cursor: pointer
}

.theme-card:hover {
  border-color: var(--swatch-primary);
  transform: translateY(-1px)
}

.theme-card.selected {
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 2px rgba(var(--theme-rgb), .08)
}

.theme-swatch {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  width: 38px;
  height: 38px;
  padding: 6px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--swatch-primary) 8%, #fff)
}

.theme-swatch i {
  display: block;
  width: 7px;
  border-radius: 4px
}

.theme-swatch i:nth-child(1) {
  height: 23px;
  background: var(--swatch-primary)
}

.theme-swatch i:nth-child(2) {
  height: 16px;
  background: var(--swatch-accent)
}

.theme-swatch i:nth-child(3) {
  height: 10px;
  background: #fff;
  border: 1px solid #dce4ec
}

.theme-card b {
  display: block;
  font-size: 10px
}

.theme-card small {
  display: block;
  margin-top: 3px;
  color: #8b99a8;
  font-size: 8px
}

.theme-card em {
  position: absolute;
  right: 7px;
  top: 7px;
  display: none;
  font-style: normal;
  color: var(--theme-primary);
  font-weight: 900
}

.theme-card.selected em {
  display: block
}

.install-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--theme-primary);
  border-radius: 0 8px 8px 0;
  background: var(--theme-soft)
}

.install-note b {
  display: block;
  font-size: 10px;
  color: var(--theme-text)
}

.install-note span {
  display: block;
  margin-top: 3px;
  color: #6d8093;
  font-size: 9px;
  line-height: 1.5
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

.review-card {
  padding: 14px;
  border: 1px solid #e0e7ee;
  border-radius: 9px;
  background: #fff
}

.review-card span {
  display: block;
  color: #8b99a8;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase
}

.review-card strong {
  display: block;
  margin-top: 8px;
  font-size: 12px
}

.review-card small {
  display: block;
  margin-top: 4px;
  color: #8191a2;
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.confirm-choice {
  margin-top: 14px
}

.wizard-summary {
  padding: 28px 24px;
  border-left: 1px solid #e3eaf1;
  background: linear-gradient(160deg, #fbfdff, #f7faff)
}

.summary-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px
}

.summary-icon {
  width: 36px;
  height: 36px
}

.summary-head b {
  display: block;
  font-size: 12px
}

.summary-head small {
  display: block;
  margin-top: 3px;
  color: #8595a5;
  font-size: 9px
}

.summary-list {
  overflow: hidden;
  border: 1px solid #e0e7ef;
  border-radius: 9px;
  background: #fff
}

.summary-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 57px;
  padding: 9px 11px;
  border-bottom: 1px solid #edf1f5
}

.summary-item:last-child {
  border-bottom: 0
}

.summary-item>span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f3f6;
  color: #7c8d9e;
  font-size: 10px;
  font-weight: 900
}

.summary-item b {
  display: block;
  font-size: 10px;
  color: #355068
}

.summary-item small {
  display: block;
  margin-top: 3px;
  color: #8d9aaa;
  font-size: 8px
}

.summary-item.active>span {
  background: var(--theme-primary);
  color: #fff
}

.summary-item.active b {
  color: var(--theme-primary)
}

.summary-item.done>span {
  background: #eaf8f2;
  color: #15945f
}

.summary-art {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

.summary-art p {
  margin: 14px 0 0;
  color: #8a99a8;
  font-size: 9px
}

.art-ring {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--theme-soft);
  opacity: .7
}

.art-window {
  position: relative;
  width: 125px;
  height: 82px;
  border: 4px solid color-mix(in srgb, var(--theme-primary) 70%, #183b67);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(var(--theme-rgb), .12)
}

.art-window:after {
  content: "";
  position: absolute;
  left: 37px;
  right: 37px;
  bottom: -12px;
  height: 8px;
  border-radius: 0 0 8px 8px;
  background: color-mix(in srgb, var(--theme-primary) 55%, #183b67)
}

.art-window i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--theme-primary);
  right: 12px;
  top: 12px
}

.art-window i:nth-child(2) {
  right: 24px;
  background: var(--theme-accent)
}

.art-window b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--theme-primary);
  font-size: 20px
}

.art-window em {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 15px;
  height: 4px;
  border-radius: 9px;
  background: var(--theme-accent)
}

.wizard-actions {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  border-top: 1px solid #e8edf2;
  background: #fff
}

.action-right {
  display: flex;
  align-items: center;
  gap: 12px
}

.action-right>span {
  font-size: 9px;
  color: #8594a4
}

.install-footer {
  text-align: center;
  padding: 4px 20px 24px;
  color: #96a3b0;
  font-size: 9px
}

.install-success-panel,
.install-lock {
  width: min(680px, calc(100% - 32px));
  margin: 9vh auto;
  padding: 42px;
  text-align: center;
  border: 1px solid #dce5ed;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(27, 49, 71, .07)
}

.success-icon,
.lock-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #eaf8f2;
  color: #15945f;
  font-size: 24px;
  font-weight: 900
}

.success-summary {
  width: min(390px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 22px auto;
  padding: 13px;
  border: 1px solid #e2e8ef;
  border-radius: 9px;
  text-align: left
}

.success-summary span {
  color: #8695a4;
  font-size: 9px
}

.success-summary strong {
  font-size: 10px;
  text-align: right
}

.success-summary .good {
  color: #15945f
}

.install-success-panel .install-btn,
.install-lock .install-btn {
  margin-top: 4px
}

@media(max-width:980px) {
  .wizard-body {
    grid-template-columns: 1fr
  }

  .wizard-summary {
    border-left: 0;
    border-top: 1px solid #e3eaf1
  }

  .summary-art {
    display: none
  }

  .theme-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media(max-width:760px) {
  .install-topbar {
    height: 60px
  }

  .topbar-copy {
    display: none
  }

  .install-main {
    width: min(100% - 20px, 1220px);
    padding-top: 18px
  }

  .install-heading {
    align-items: flex-start
  }

  .install-heading h1 {
    font-size: 21px
  }

  .install-version {
    display: none
  }

  .wizard-steps {
    grid-template-columns: repeat(5, 42px);
    justify-content: space-between;
    padding: 12px
  }

  .wizard-step {
    display: block;
    padding: 0
  }

  .wizard-step b,
  .wizard-step small,
  .wizard-step:after {
    display: none
  }

  .wizard-step>span {
    width: 32px;
    height: 32px
  }

  .wizard-content {
    padding: 20px 16px
  }

  .form-grid.two,
  .choice-row,
  .requirements-grid,
  .review-grid {
    grid-template-columns: 1fr
  }

  .span-2 {
    grid-column: auto
  }

  .requirement-item:nth-child(odd) {
    border-right: 0
  }

  .requirement-item:nth-last-child(-n+2) {
    border-bottom: 1px solid #edf1f5
  }

  .requirement-item:last-child {
    border-bottom: 0
  }

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

  .wizard-summary {
    padding: 20px 16px
  }

  .summary-list {
    display: grid;
    grid-template-columns: 1fr 1fr
  }

  .summary-item {
    border-right: 1px solid #edf1f5
  }

  .wizard-actions {
    padding: 10px 14px
  }

  .action-right>span {
    display: none
  }
}

@media(max-width:480px) {
  .install-brand {
    font-size: 15px
  }

  .page-title {
    gap: 10px
  }

  .title-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px
  }

  .theme-grid {
    grid-template-columns: 1fr
  }

  .summary-list {
    grid-template-columns: 1fr
  }

  .summary-item {
    border-right: 0
  }

  .wizard-actions .install-btn {
    padding: 0 12px
  }

  .install-success-panel,
  .install-lock {
    padding: 30px 20px
  }
}

/* m91: ringkasan instalasi disederhanakan menjadi ilustrasi saja */
.wizard-summary-art-only {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 34px
}

.wizard-summary-art-only .summary-art {
  width: 100%;
  min-height: 300px;
  justify-content: flex-start;
  padding-top: 38px
}

.wizard-summary-art-only .summary-art p {
  margin-top: 22px;
  text-align: center
}

.wizard-summary-art-only .art-ring {
  top: 26px
}

@media(max-width:980px) {
  .wizard-summary-art-only {
    display: none
  }
}

/* m92: compact vertical layout agar action bar tetap terlihat pada layar desktop umum */
@media (min-width:981px) {
  .wizard-body {
    min-height: 430px
  }

  .wizard-content {
    padding-top: 24px;
    padding-bottom: 22px
  }

  .wizard-summary-art-only {
    padding-top: 20px
  }

  .wizard-summary-art-only .summary-art {
    min-height: 230px;
    padding-top: 24px
  }

  .wizard-summary-art-only .art-ring {
    top: 12px
  }

  .wizard-summary-art-only .summary-art p {
    margin-top: 16px
  }

  .wizard-actions {
    min-height: 58px;
    padding: 9px 22px
  }
}

@media (min-width:981px) and (max-height:820px) {
  .install-main {
    padding-top: 20px
  }

  .install-heading {
    margin-bottom: 12px
  }

  .wizard-steps {
    padding-top: 14px;
    padding-bottom: 14px
  }

  .wizard-body {
    min-height: 390px
  }

  .wizard-content {
    padding-top: 20px;
    padding-bottom: 18px
  }

  .page-title {
    margin-bottom: 18px
  }

  .wizard-actions {
    min-height: 54px;
    padding-top: 7px;
    padding-bottom: 7px
  }
}

/* M116 · Beta 1 — CULS license step */
.license-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 16px
}

.license-mode-card {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  gap: 10px;
  align-items: center;
  min-height: 76px;
  padding: 12px;
  border: 1px solid #dce5ee;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: .15s ease
}

.license-mode-card:hover {
  border-color: var(--theme-primary, #2563eb);
  background: var(--theme-soft, #eff6ff)
}

.license-mode-card.selected {
  border-color: var(--theme-primary, #2563eb);
  background: var(--theme-soft, #eff6ff);
  box-shadow: 0 0 0 3px rgba(var(--theme-rgb, 37, 99, 235), .08)
}

.license-mode-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.license-mode-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(var(--theme-rgb, 37, 99, 235), .10);
  color: var(--theme-primary, #2563eb);
  font-weight: 900
}

.license-mode-card b {
  display: block;
  font-size: .78rem;
  color: #1d334b
}

.license-mode-card small {
  display: block;
  margin-top: 3px;
  font-size: .64rem;
  line-height: 1.35;
  color: #7a8998
}

.license-mode-card em {
  font-style: normal;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--theme-primary, #2563eb);
  color: #fff;
  font-size: .62rem;
  opacity: 0
}

.license-mode-card.selected em {
  opacity: 1
}

.license-config {
  padding: 14px;
  border: 1px solid #e2e9f0;
  border-radius: 12px;
  background: #fbfdff
}

.license-config[hidden] {
  display: none !important
}

.install-alert-warning {
  background: #fff8e8;
  border-color: #efd89a;
  color: #76560b
}

.success-summary {
  grid-template-columns: auto 1fr !important
}

@media(max-width:760px) {
  .license-mode-grid {
    grid-template-columns: 1fr
  }

  .license-mode-card {
    min-height: 66px
  }
}

/* M133 — six-step installer stepper stays on one row */
.wizard-steps {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 0 !important;
  padding-left: 22px !important;
  padding-right: 22px !important;
}

.wizard-step {
  min-width: 0 !important;
  padding-right: 10px !important;
}

.wizard-step:not(:last-child):after {
  right: -2px !important;
  top: 17px !important;
  width: calc(100% - 56px) !important;
  transform: translateX(50%) !important;
  background: #dfe6ed !important;
}

.wizard-step b,
.wizard-step small {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

@media(max-width:760px) {
  .wizard-steps {
    grid-template-columns: repeat(6, 34px) !important;
    justify-content: space-between !important;
    padding: 12px 14px !important;
  }

  .wizard-step {
    padding: 0 !important
  }

  .wizard-step>span {
    width: 32px !important;
    height: 32px !important
  }

  .wizard-step:not(:last-child):after {
    display: none !important
  }
}

/* M135 — unified Candy fallback avatar */
.brand-avatar-fallback {
  background: var(--theme-primary) !important;
  color: #fff !important;
  border: 1px solid color-mix(in srgb, var(--theme-primary) 72%, #fff) !important;
  box-shadow: 0 7px 16px rgba(var(--theme-rgb), .18) !important;
}