:root {
  --kt-ink: #101421;
  --kt-muted: #667085;
  --kt-paper: #f8f3ea;
  --kt-card: #fffdf7;
  --kt-white: #fff;
  --kt-blue: #1546c8;
  --kt-blue-dark: #0b2f90;
  --kt-gold: #ffd447;
  --kt-line: rgba(18, 24, 38, .10);
  --kt-line-strong: rgba(18, 24, 38, .17);
  --kt-ok: #067647;
  --kt-danger: #b42318;
  --kt-shadow: 0 28px 90px rgba(15, 23, 42, .12);
}

* {
  box-sizing: border-box;
}

html {
  direction: rtl;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--kt-ink);
  background: var(--kt-paper);
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  text-align: right;
}

button,
input,
select {
  font: inherit;
}

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

.kt-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 18px 0 64px;
  background:
    radial-gradient(circle at 86% 7%, rgba(255, 212, 71, .34), transparent 24rem),
    radial-gradient(circle at 10% 12%, rgba(21, 70, 200, .18), transparent 30rem),
    linear-gradient(180deg, #0d1220 0, #111827 268px, #f6efe1 269px, #f8f3ea 100%);
}

.kt-page::before,
.kt-page::after {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  content: "";
}

.kt-page::before {
  top: 68px;
  left: -170px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 212, 71, .12), transparent 68%);
}

.kt-page::after {
  top: -210px;
  right: -270px;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 80px rgba(255, 255, 255, .04);
}

.kt-top,
.kt-shell {
  width: min(1600px, calc(100vw - 44px));
  margin-inline: auto;
}

.kt-top {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 26px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px);
}

.kt-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.kt-brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #111827;
  background: linear-gradient(135deg, var(--kt-gold), #f59e0b);
  box-shadow: 0 18px 40px rgba(245, 158, 11, .28);
  font-size: 1.18rem;
  font-weight: 1000;
}

.kt-brand strong,
.kt-brand small {
  display: block;
}

.kt-brand strong {
  font-size: 1.05rem;
}

.kt-brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .66);
  font-size: .82rem;
  font-weight: 700;
}

.kt-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 15px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  text-decoration: none;
  font-weight: 900;
  transition: background .18s ease, transform .18s ease;
}

.kt-back:hover {
  background: rgba(255, 255, 255, .15);
  transform: translateY(-1px);
}

.kt-shell {
  margin-top: 28px;
}

.kt-progress-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(600px, 1.65fr) minmax(220px, .55fr);
  grid-template-rows: auto auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 36px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .08)),
    radial-gradient(circle at 8% 18%, rgba(255, 212, 71, .18), transparent 28rem),
    #101828;
  box-shadow: 0 34px 110px rgba(0, 0, 0, .18);
}

.kt-progress-panel::before {
  position: absolute;
  right: auto;
  bottom: -220px;
  left: -120px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: rgba(21, 70, 200, .26);
  filter: blur(8px);
  content: "";
}

.kt-progress-panel > * {
  position: relative;
  z-index: 1;
}

.kt-progress-head {
  grid-row: 1 / 3;
}

.kt-progress-head h1 {
  margin: .1rem 0 .45rem;
  color: #fff;
  font-size: clamp(1.4rem, 1.8vw, 2.2rem);
  line-height: 1.2;
}

.kt-progress-head > p:last-child {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, .68);
  line-height: 1.75;
}

.kt-kicker {
  margin: 0 0 5px;
  color: var(--kt-blue);
  font-size: .77rem;
  font-weight: 950;
}

.kt-progress-head .kt-kicker {
  color: var(--kt-gold);
}

.kt-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kt-progress li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  align-content: center;
  min-height: 104px;
  padding: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 24px;
  color: rgba(255, 255, 255, .84);
  background: rgba(255, 255, 255, .06);
  transition: border-color .22s ease, background .22s ease;
}

.kt-progress li > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 15px;
  color: rgba(255, 255, 255, .70);
  background: rgba(255, 255, 255, .10);
  font-size: .82rem;
  font-weight: 1000;
}

.kt-progress li strong {
  color: #fff;
  font-size: .94rem;
}

.kt-progress li small {
  color: rgba(255, 255, 255, .55);
  font-size: .73rem;
  font-weight: 800;
}

.kt-progress li.is-active,
.kt-progress li.is-done {
  border-color: rgba(255, 212, 71, .48);
  background: linear-gradient(135deg, rgba(255, 212, 71, .18), rgba(255, 255, 255, .08));
}

.kt-progress li.is-active > span,
.kt-progress li.is-done > span {
  color: #111827;
  background: linear-gradient(135deg, var(--kt-gold), #f59e0b);
}

.kt-progress-meter {
  grid-column: 2;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.kt-progress-meter span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--kt-gold), #f59e0b, var(--kt-blue));
  transition: width .3s ease;
}

.kt-progress-summary {
  grid-column: 3;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  color: rgba(255, 255, 255, .76);
  background: rgba(255, 255, 255, .07);
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.75;
}

.kt-alert {
  display: none;
  margin: 18px 0;
  padding: 14px 17px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(15, 23, 42, .08);
  line-height: 1.75;
  font-weight: 800;
}

.kt-alert.is-show {
  display: block;
}

.kt-alert.is-danger {
  border-color: rgba(180, 35, 24, .18);
  color: var(--kt-danger);
  background: #fef3f2;
}

.kt-alert.is-ok {
  border-color: rgba(6, 118, 71, .16);
  color: var(--kt-ok);
  background: #ecfdf3;
}

.kt-panel {
  display: none;
  min-width: 0;
  margin-top: 22px;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--kt-line);
  border-radius: 38px;
  background: rgba(255, 253, 247, .92);
  box-shadow: var(--kt-shadow);
  animation: ktFadeIn .24s ease;
}

.kt-panel.is-active {
  display: block;
}

@keyframes ktFadeIn {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

.kt-step-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 4px 18px;
}

.kt-title {
  margin: .1rem 0 .45rem;
  color: #111827;
  font-size: clamp(1.75rem, 2.4vw, 3.15rem);
  line-height: 1.18;
}

.kt-sub {
  max-width: 830px;
  margin: 0;
  color: var(--kt-muted);
  font-size: 1rem;
  line-height: 1.9;
}

.kt-form-section,
.kt-summary,
.kt-table-card,
.kt-result-panel {
  border: 1px solid var(--kt-line);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 20px 64px rgba(15, 23, 42, .07);
}

.kt-form-section {
  margin-top: 18px;
  padding: clamp(18px, 2.5vw, 28px);
}

.kt-section-head,
.kt-card-heading,
.kt-table-heading,
.kt-result-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.kt-section-head {
  margin-bottom: 20px;
}

.kt-section-number,
.kt-card-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--kt-blue), var(--kt-blue-dark));
  box-shadow: 0 13px 30px rgba(21, 70, 200, .19);
  font-size: .82rem;
  font-weight: 1000;
}

.kt-section-head h3,
.kt-card-heading h3,
.kt-table-heading h3,
.kt-price h3,
.kt-result-panel-head h3 {
  margin: 0;
  color: #111827;
  font-size: 1.2rem;
}

.kt-section-head p,
.kt-result-panel-head p {
  margin: 5px 0 0;
  color: var(--kt-muted);
  font-size: .9rem;
  line-height: 1.7;
}

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

.kt-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 154px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--kt-line);
  border-radius: 23px;
  color: inherit;
  background: linear-gradient(180deg, #fff, #fbfaf8);
  text-align: right;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.kt-choice::after {
  position: absolute;
  inset: auto 16px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: transparent;
  transform: scaleX(.3);
  transition: background .18s ease, transform .18s ease;
  content: "";
}

.kt-choice:hover,
.kt-choice.is-selected {
  border-color: rgba(21, 70, 200, .36);
  box-shadow: 0 20px 48px rgba(21, 70, 200, .12);
  transform: translateY(-2px);
}

.kt-choice.is-selected::after {
  background: var(--kt-blue);
  transform: scaleX(1);
}

.kt-choice-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 13px;
  border-radius: 14px;
  color: var(--kt-blue);
  background: rgba(21, 70, 200, .09);
  font-size: 1.2rem;
  font-weight: 1000;
}

.kt-choice strong {
  margin-bottom: 7px;
  color: #111827;
  font-size: 1.05rem;
}

.kt-choice > span:last-child {
  color: var(--kt-muted);
  font-size: .88rem;
  line-height: 1.7;
}

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

.kt-field {
  display: block;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(17, 24, 39, .07);
  border-radius: 21px;
  background: #f8fafc;
}

.kt-field > span {
  display: block;
  margin-bottom: 8px;
  color: #344054;
  font-size: .89rem;
  font-weight: 950;
}

.kt-field > span small,
.kt-field > small {
  color: var(--kt-muted);
  font-size: .78rem;
  font-weight: 700;
}

.kt-field > small {
  display: block;
  margin-top: 7px;
  line-height: 1.6;
}

.kt-field input,
.kt-field select {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid rgba(17, 24, 39, .11);
  border-radius: 15px;
  outline: none;
  color: #111827;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .035);
  direction: rtl;
  text-align: right;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.kt-field input:focus,
.kt-field select:focus {
  border-color: rgba(21, 70, 200, .42);
  box-shadow: 0 0 0 4px rgba(21, 70, 200, .10);
}

.kt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 24px;
}

.kt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.kt-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.kt-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--kt-blue), var(--kt-blue-dark));
  box-shadow: 0 18px 42px rgba(21, 70, 200, .23);
}

.kt-btn--ghost {
  border-color: var(--kt-line-strong);
  color: #111827;
  background: #fff;
}

.kt-btn:disabled {
  opacity: .56;
  cursor: wait;
  transform: none;
}

.kt-review {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}

.kt-summary,
.kt-price,
.kt-table-card,
.kt-result-panel {
  padding: clamp(19px, 2.4vw, 28px);
}

.kt-card-heading {
  align-items: center;
  margin-bottom: 18px;
}

.kt-card-heading .kt-kicker,
.kt-table-heading .kt-kicker {
  margin-bottom: 3px;
}

.kt-summary dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.kt-summary dl > div {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(17, 24, 39, .07);
  border-radius: 17px;
  background: #f8fafc;
}

.kt-summary dt {
  color: var(--kt-muted);
  font-size: .77rem;
}

.kt-summary dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  color: #111827;
  font-weight: 900;
}

.kt-price {
  padding: clamp(22px, 2.7vw, 34px);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 8% 0, rgba(255, 212, 71, .22), transparent 18rem),
    linear-gradient(145deg, #111827, #1f2937);
  box-shadow: 0 26px 80px rgba(15, 23, 42, .18);
}

.kt-price .kt-kicker {
  color: var(--kt-gold);
}

.kt-price h3 {
  color: #fff;
}

.kt-price .amount {
  margin-top: 10px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 1000;
  line-height: 1.2;
}

.kt-price .days {
  margin-top: 7px;
  color: rgba(255, 255, 255, .62);
  font-weight: 800;
}

.kt-list {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.kt-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 15px;
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .07);
  font-size: .83rem;
}

.kt-list strong {
  color: #fff;
  white-space: nowrap;
}

.kt-table-card {
  margin-top: 18px;
}

.kt-table-heading {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.kt-table-heading > span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--kt-blue);
  background: rgba(21, 70, 200, .08);
  font-size: .75rem;
  font-weight: 900;
}

.kt-table-wrap {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--kt-line);
  border-radius: 18px;
  -webkit-overflow-scrolling: touch;
}

.kt-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
  font-size: .84rem;
}

.kt-table th,
.kt-table td {
  padding: 12px 13px;
  border-bottom: 1px solid var(--kt-line);
  text-align: right;
  white-space: nowrap;
}

.kt-table th {
  color: #344054;
  background: #f8fafc;
  font-weight: 950;
}

.kt-table tbody tr:last-child td {
  border-bottom: 0;
}

.kt-login {
  margin-top: 13px;
  color: var(--kt-danger);
  font-weight: 800;
  line-height: 1.8;
}

.kt-login a {
  display: inline-block;
  margin-inline-start: 10px;
  color: inherit;
  font-weight: 950;
}

.kt-result-tabs-card {
  margin: 2px 0 18px;
  padding: 13px;
  border: 1px solid var(--kt-line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 14% 0, rgba(21, 70, 200, .10), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 250, 242, .88));
  box-shadow: 0 22px 72px rgba(15, 23, 42, .08);
}

.kt-result-tabs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 9px 13px;
}

.kt-result-tabs-head strong {
  display: block;
  margin-top: 4px;
  color: #111827;
  font-size: .95rem;
}

.kt-result-tabs-eyebrow {
  display: block;
  color: var(--kt-muted);
  font-size: .76rem;
  font-weight: 950;
}

.kt-result-priority {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(18, 183, 106, .16);
  border-radius: 999px;
  color: #027a48;
  background: rgba(18, 183, 106, .10);
  font-size: .77rem;
  font-weight: 950;
}

.kt-result-priority::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #12b76a;
  box-shadow: 0 0 0 4px rgba(18, 183, 106, .14);
  content: "";
}

.kt-result-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.kt-result-tab {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  width: 100%;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--kt-line-strong);
  border-radius: 21px;
  color: #344054;
  background: rgba(255, 255, 255, .76);
  text-align: right;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.kt-result-tab::after {
  position: absolute;
  inset: auto 16px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: transparent;
  transform: scaleX(.35);
  transition: background .18s ease, transform .18s ease;
  content: "";
}

.kt-result-tab:hover {
  color: #111827;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .09);
  transform: translateY(-2px);
}

.kt-result-tab.is-active {
  border-color: rgba(21, 70, 200, .42);
  color: #111827;
  background: linear-gradient(135deg, #fff, #f4f7ff);
  box-shadow: 0 18px 42px rgba(21, 70, 200, .16);
}

.kt-result-tab.is-active::after {
  background: var(--kt-blue);
  transform: scaleX(1);
}

.kt-result-tab-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 15px;
  color: var(--kt-blue);
  background: rgba(21, 70, 200, .10);
  font-size: 1.3rem;
  font-weight: 1000;
}

.kt-result-tab-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.kt-result-tab-text strong,
.kt-result-tab-text small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kt-result-tab-text strong {
  font-size: .96rem;
  font-weight: 950;
}

.kt-result-tab-text small {
  color: var(--kt-muted);
  font-size: .77rem;
  font-weight: 800;
}

.kt-result-tab em {
  align-self: start;
  padding: 5px 8px;
  border-radius: 999px;
  color: #475467;
  background: rgba(102, 112, 133, .10);
  font-size: .7rem;
  font-style: normal;
  font-weight: 950;
}

.kt-result-tab.is-active em {
  color: var(--kt-blue);
  background: rgba(21, 70, 200, .10);
}

.kt-result-panel[hidden] {
  display: none !important;
}

.kt-result-panel-head {
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 15px;
}

.kt-result-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(18, 183, 106, .16);
  border-radius: 999px;
  color: #027a48;
  background: rgba(18, 183, 106, .10);
  font-size: .72rem;
  font-weight: 950;
}

.kt-result-badge.is-soft {
  border-color: rgba(21, 70, 200, .16);
  color: var(--kt-blue);
  background: rgba(21, 70, 200, .09);
}

.kt-result-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 560px;
  max-width: 100%;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--kt-line);
  border-radius: 27px;
  background:
    linear-gradient(135deg, #efe1cd, #fff8e7),
    radial-gradient(circle at 76% 20%, rgba(21, 70, 200, .12), transparent 18rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 18px 50px rgba(23, 32, 51, .08);
}

.kt-result-box img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 760px;
  height: auto;
  margin-inline: auto;
  border-radius: 18px;
  background: #fff;
  object-fit: contain;
}

.kt-result-figure {
  width: 100%;
  margin: 0;
}

.kt-result-note {
  max-width: 850px;
  margin: 13px auto 0;
  color: var(--kt-muted);
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.75;
  text-align: center;
}

.kt-empty-state,
.kt-result-error,
.kt-loader {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: 620px;
  padding: 13px 16px;
  border-radius: 16px;
  text-align: center;
  font-weight: 900;
  line-height: 1.75;
}

.kt-empty-state {
  color: var(--kt-muted);
  background: rgba(255, 255, 255, .74);
}

.kt-result-error {
  border: 1px solid rgba(180, 35, 24, .14);
  color: var(--kt-danger);
  background: rgba(254, 243, 242, .94);
}

.kt-loader {
  color: var(--kt-blue);
  background: rgba(255, 255, 255, .82);
}

.kt-loader::before {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(21, 70, 200, .20);
  border-top-color: var(--kt-blue);
  border-radius: 999px;
  animation: ktSpin .8s linear infinite;
  content: "";
}

@keyframes ktSpin {
  to { transform: rotate(360deg); }
}

.kt-cut-list-card {
  margin-top: 20px;
}

.kt-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 13px;
  padding: 12px 14px;
  border: 1px dashed rgba(21, 70, 200, .20);
  border-radius: 16px;
  color: var(--kt-muted);
  background: rgba(21, 70, 200, .045);
  font-size: .77rem;
  line-height: 1.7;
}

.kt-meta b {
  color: #344054;
}

.kt-meta-hash {
  direction: ltr;
  unicode-bidi: isolate;
}

.kt-hidden {
  display: none !important;
}

@media (max-width: 1220px) {
  .kt-progress-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .kt-progress-head,
  .kt-progress-meter,
  .kt-progress-summary {
    grid-column: auto;
    grid-row: auto;
  }

  .kt-progress-head > p:last-child {
    max-width: 760px;
  }

  .kt-progress-summary {
    min-height: auto;
  }
}

@media (max-width: 980px) {
  .kt-grid,
  .kt-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .kt-top,
  .kt-shell {
    width: min(calc(100% - 24px), 1600px);
  }
}

@media (max-width: 760px) {
  .kt-page {
    padding-top: 10px;
    background: linear-gradient(180deg, #0d1220 0, #111827 210px, #f7f1e7 211px, #f7f1e7 100%);
  }

  .kt-top {
    top: 8px;
    align-items: stretch;
    min-height: 0;
    padding: 10px 12px;
    border-radius: 21px;
  }

  .kt-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .kt-brand small {
    display: none;
  }

  .kt-back {
    min-height: 40px;
    padding-inline: 12px;
    font-size: .82rem;
  }

  .kt-shell {
    margin-top: 14px;
  }

  .kt-progress-panel {
    gap: 11px;
    padding: 11px;
    border-radius: 24px;
  }

  .kt-progress-head,
  .kt-progress-summary {
    display: none;
  }

  .kt-progress {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 3px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .kt-progress::-webkit-scrollbar {
    height: 0;
  }

  .kt-progress li {
    flex: 0 0 auto;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 7px;
    align-items: center;
    min-width: 134px;
    min-height: 76px;
    padding: 10px;
    border-radius: 17px;
    scroll-snap-align: start;
  }

  .kt-progress li > span {
    grid-row: 1 / 3;
    width: 32px;
    height: 32px;
    border-radius: 11px;
  }

  .kt-progress li strong {
    font-size: .84rem;
  }

  .kt-progress li small {
    font-size: .69rem;
  }

  .kt-progress-meter {
    height: 7px;
  }

  .kt-panel {
    margin-top: 14px;
    padding: 17px;
    border-radius: 27px;
  }

  .kt-step-head {
    align-items: stretch;
    flex-direction: column;
    padding: 0 1px 10px;
  }

  .kt-step-head .kt-btn {
    width: 100%;
  }

  .kt-title {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
  }

  .kt-sub {
    font-size: .93rem;
    line-height: 1.75;
  }

  .kt-form-section,
  .kt-summary,
  .kt-price,
  .kt-table-card,
  .kt-result-panel {
    padding: 17px;
    border-radius: 23px;
  }

  .kt-result-tabs-head,
  .kt-result-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .kt-result-priority {
    width: 100%;
    justify-content: center;
  }

  .kt-result-tabs {
    grid-template-columns: 1fr;
  }

  .kt-result-box {
    min-height: 270px;
    padding: 9px;
    border-radius: 20px;
  }

  .kt-result-box img {
    border-radius: 13px;
  }

  .kt-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .kt-actions .kt-btn,
  .kt-actions a {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .kt-top,
  .kt-shell {
    width: calc(100% - 20px);
  }

  .kt-grid,
  .kt-fields,
  .kt-summary dl {
    grid-template-columns: 1fr;
  }

  .kt-choice {
    min-height: 132px;
  }

  .kt-section-head {
    align-items: center;
  }

  .kt-section-head p {
    display: none;
  }

  .kt-table-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .kt-result-tab {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .kt-result-tab em {
    display: none;
  }

  .kt-result-box {
    min-height: 220px;
  }
}

/* 3D model tab (AutoPal CAD) */
.kt-result-tabs.kt-result-tabs--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kt-result-box.kt-result-box--model {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: start;
}

@media (max-width: 760px) {
  .kt-result-tabs.kt-result-tabs--3 {
    grid-template-columns: 1fr;
  }
}

/* Account state in the header, from the live session */
.kt-account{margin-inline-start:auto;padding:8px 14px;border:1px solid #c9d1dc;border-radius:999px;background:#fff;color:#172033;font-weight:700;font-size:13px;line-height:1.2;text-decoration:none;white-space:nowrap;max-width:46vw;overflow:hidden;text-overflow:ellipsis}
.kt-account[data-state="in"]{border-color:#1546c8;color:#1546c8}
.kt-account:hover,.kt-account:focus-visible{border-color:#1546c8;color:#1546c8;outline:none}
