.quote-letter-button {
  border-color: rgba(250, 180, 0, 0.55);
  background: #fff7df;
}

.quote-letter-document,
.halo-quote-template {
  min-height: 1350px;
  color: #1e293b;
  background: #ffffff;
  font-family: Nunito, Arial, "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-synthesis: none;
  font-kerning: normal;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.quote-letter-document *,
.quote-letter-document *::before,
.quote-letter-document *::after,
.halo-quote-template *,
.halo-quote-template *::before,
.halo-quote-template *::after {
  box-sizing: border-box;
  font-family: Nunito, Arial, "Helvetica Neue", sans-serif !important;
  font-synthesis: none;
}

.quote-letter-document strong,
.quote-letter-document b,
.quote-letter-document th,
.quote-letter-document h1,
.quote-letter-document h2,
.quote-letter-document h3,
.halo-quote-template strong,
.halo-quote-template b,
.halo-quote-template th,
.halo-quote-template h1,
.halo-quote-template h2,
.halo-quote-template h3 {
  font-weight: 700;
}

.halo-quote-logo {
  display: grid;
  place-items: center;
  width: 108px;
  min-width: 108px;
  height: 74px;
  padding: 8px;
  border-radius: 8px;
  background: #ffffff;
}

.halo-quote-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.quote-logo-fallback {
  display: none;
  place-items: center;
  width: 74px;
  height: 48px;
  border-radius: 8px;
  color: #16325b;
  background: #fab400;
  font-weight: 700;
}

.hq-card {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(22, 50, 91, 0.08);
}

.hq-card--clear {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hq-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.hq-section-title span {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 999px;
  color: #16325b;
  background: #fab400;
  font-weight: 700;
}

.hq-section-title h2 {
  margin: 0;
  color: #16325b;
  font-size: 1.2rem;
}

.hq-path {
  margin: 0 0 14px;
  padding: 14px;
  border-left: 4px solid #fab400;
  border-radius: 8px;
  color: #16325b;
  background: #fff8e6;
  line-height: 1.45;
}

.hq-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.hq-metrics div {
  min-height: 86px;
  padding: 14px;
  border-radius: 8px;
  background: #f5f7fb;
}

.hq-metrics span,
.hq-metrics strong {
  display: block;
}

.hq-metrics span {
  margin-bottom: 7px;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hq-metrics strong {
  color: #16325b;
  line-height: 1.25;
}

.hq-tuition-grid,
.hq-compact-main,
.hq-color-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 16px;
  align-items: start;
}

.hq-color-grid {
  grid-template-columns: 1fr 1fr;
}

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

.hq-course-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}

.hq-course-row:last-child {
  border-bottom: 0;
}

.hq-course-row > div:first-child {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 8px;
}

.hq-course-row > div:first-child span,
.hq-step b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #16325b;
  background: #fab400;
  font-weight: 700;
}

.hq-course-row small,
.hq-step small {
  display: block;
  color: #64748b;
  font-size: 0.82rem;
}

.hq-course-row > div:last-child {
  text-align: right;
}

.hq-total {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 8px;
  color: #ffffff;
  background: #16325b;
}

.hq-total div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.hq-total span {
  opacity: 0.82;
}

.hq-total-final {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hq-total-final strong {
  color: #fab400;
  font-size: 1.45rem;
}

.hq-payment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hq-payment article {
  padding: 18px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #ffffff;
}

.hq-payment article > span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: #16325b;
  background: #fab400;
  font-size: 0.78rem;
  font-weight: 700;
}

.hq-payment h3 {
  margin: 10px 0 12px;
  color: #16325b;
}

.hq-payment ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hq-payment li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #64748b;
  font-size: 0.92rem;
}

.hq-payment table,
.hq-table {
  width: 100%;
  border-collapse: collapse;
}

.hq-payment td,
.hq-table th,
.hq-table td {
  padding: 10px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.hq-payment td:last-child,
.hq-table th:nth-child(n+3),
.hq-table td:nth-child(n+3) {
  text-align: right;
}

.hq-payment-full {
  border-color: #fab400 !important;
  background: #fffaf0 !important;
}

.hq-payment-full > strong {
  display: block;
  margin: 10px 0;
  color: #16325b;
  font-size: 1.9rem;
}

.hq-payment-full p,
.hq-payment-full small {
  margin: 10px 0 0;
  color: #64748b;
  line-height: 1.35;
}

.hq-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hq-benefits--compact {
  grid-template-columns: 1fr;
}

.hq-benefit {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  background: #f5f7fb;
}

.hq-benefit span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #16325b;
  background: #fab400;
  font-weight: 700;
}

.hq-benefit p {
  margin: 0;
  line-height: 1.45;
}

.hq-referral {
  margin-top: 12px;
  padding: 14px;
  border-radius: 8px;
  color: #16325b;
  background: #fff8e6;
  font-weight: 700;
}

.hq-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  margin-top: 22px;
  padding: 22px;
  border-radius: 8px;
  color: #ffffff;
  background: #16325b;
}

.hq-footer p,
.hq-footer small {
  margin: 0 0 6px;
  line-height: 1.45;
}

.hq-footer small {
  opacity: 0.78;
}

.hq-consultant {
  min-width: 230px;
  text-align: right;
}

.hq-consultant span,
.hq-consultant small {
  display: block;
  opacity: 0.78;
}

.hq-consultant strong {
  display: block;
  margin: 6px 0;
  color: #fab400;
  font-size: 1.18rem;
}

.hq-soft-header,
.hq-color-header,
.hq-premium-header,
.hq-compact-header,
.hq-detailed-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-radius: 8px;
  color: #ffffff;
  background: #16325b;
}

.hq-soft-header > div:first-child,
.hq-color-header,
.hq-company,
.hq-compact-header > div:first-child,
.hq-detailed-header {
  align-items: center;
}

.hq-soft-header > div:first-child,
.hq-company,
.hq-compact-header > div:first-child {
  display: flex;
  gap: 14px;
}

.hq-soft-header h1,
.hq-color-header h1,
.hq-premium-title h1,
.hq-compact-header h1,
.hq-document-title {
  margin: 6px 0;
  color: #fab400;
  font-size: 2.2rem;
  line-height: 1.1;
}

.halo-quote-template--soft {
  background: #f1f5f9;
}

.halo-quote-template--colorful {
  background: #f3f6f9;
}

.quote-letter-document.halo-quote-template--colorful {
  --bg-main: #f3f6f9;
  --text-dark: #1e293b;
  --text-gray: #64748b;
  --white: #ffffff;
  --halo-blue: #16325b;
  --halo-yellow: #fab400;
  --gradient-halo: linear-gradient(135deg, #16325b 0%, #2b5c9e 100%);
  --gradient-accent: linear-gradient(135deg, #ff4b2b 0%, #ff416c 100%);
  --gradient-yellow: linear-gradient(135deg, #fab400 0%, #ffc72c 100%);
  --gradient-green: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --gradient-purple: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%);
  --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  --radius: 16px;
  padding: 40px 20px;
  color: var(--text-dark);
  background-color: var(--bg-main);
  font-family: Nunito, Arial, "Helvetica Neue", sans-serif;
  line-height: 1.5;
}

.halo-quote-template--colorful .dashboard-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.halo-quote-template--colorful .card {
  position: relative;
  overflow: hidden;
  padding: 25px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--card-shadow);
}

.halo-quote-template--colorful .col-span-2 {
  grid-column: span 2;
}

.halo-quote-template--colorful .header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  color: var(--white);
  background: var(--gradient-halo);
}

.halo-quote-template--colorful .header-left h1 {
  margin: 0;
  color: var(--halo-yellow);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.halo-quote-template--colorful .header-left p {
  margin: 5px 0 0;
  font-size: 15px;
  opacity: 0.9;
}

.halo-quote-template--colorful .logo-img {
  height: 60px;
  padding: 10px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  object-fit: contain;
}

.halo-quote-template--colorful .metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.halo-quote-template--colorful .metric-box {
  display: flex;
  justify-content: center;
  padding: 15px;
  color: var(--white);
  border-radius: 12px;
  flex-direction: column;
}

.halo-quote-template--colorful .metric-box .label {
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.9;
  text-transform: uppercase;
}

.halo-quote-template--colorful .metric-box .value {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.halo-quote-template--colorful .box-1 {
  background: var(--gradient-halo);
}

.halo-quote-template--colorful .box-2 {
  background: var(--gradient-purple);
}

.halo-quote-template--colorful .box-3 {
  background: var(--gradient-accent);
}

.halo-quote-template--colorful .box-4 {
  background: var(--gradient-green);
}

.halo-quote-template--colorful .section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
}

.halo-quote-template--colorful .course-item {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.halo-quote-template--colorful .course-item:last-child {
  border-bottom: none;
}

.halo-quote-template--colorful .course-name {
  min-width: 0;
  font-weight: 700;
}

.halo-quote-template--colorful .course-price {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  color: var(--text-gray);
  font-weight: 700;
  text-align: right;
}

.halo-quote-template--colorful .course-price .price-old {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  text-decoration: line-through;
}

.halo-quote-template--colorful .course-price .price-arrow {
  color: #cbd5e1;
  font-weight: 700;
}

.halo-quote-template--colorful .total-box {
  padding: 20px;
  margin-top: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.halo-quote-template--colorful .total-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  font-weight: 700;
}

.halo-quote-template--colorful .total-row.discount {
  color: #ef4444;
}

.halo-quote-template--colorful .final-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 15px;
  padding-top: 15px;
  color: var(--halo-blue);
  border-top: 2px dashed #cbd5e1;
  font-size: 22px;
  font-weight: 700;
}

.halo-quote-template--colorful .final-amount {
  color: var(--halo-yellow);
  text-shadow: 1px 1px 0 #000000;
  white-space: nowrap;
}

.halo-quote-template--colorful .payment-card {
  overflow: visible;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.halo-quote-template--colorful .plans-wrapper {
  display: flex;
  gap: 20px;
  height: 100%;
  padding-top: 14px;
}

.halo-quote-template--colorful .plan-card {
  position: relative;
  display: flex;
  flex: 1;
  padding: 25px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  flex-direction: column;
}

.halo-quote-template--colorful .plan-card.premium {
  z-index: 2;
  border-color: var(--halo-yellow);
  background: #fffaf0;
  box-shadow: 0 15px 30px rgba(250, 180, 0, 0.15);
  transform: scale(1.05);
}

.halo-quote-template--colorful .plan-badge {
  position: absolute;
  z-index: 3;
  top: -12px;
  left: 50%;
  padding: 4px 15px;
  color: #ffffff;
  border-radius: 20px;
  background: var(--gradient-accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}

.halo-quote-template--colorful .plan-title {
  margin-bottom: 10px;
  color: var(--text-gray);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.halo-quote-template--colorful .premium .plan-title {
  color: var(--halo-yellow);
}

.halo-quote-template--colorful .plan-price {
  margin: 10px 0;
  color: var(--halo-blue);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}

.halo-quote-template--colorful .plan-price span {
  font-size: 16px;
}

.halo-quote-template--colorful .plan-total {
  color: var(--text-gray);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.halo-quote-template--colorful .plan-strike {
  color: #94a3b8;
  font-weight: 600;
  text-align: center;
  text-decoration: line-through;
}

.halo-quote-template--colorful .plan-details {
  margin: 20px 0 0;
  padding: 0;
  font-size: 14px;
  list-style: none;
}

.halo-quote-template--colorful .plan-details li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid #f1f5f9;
}

.halo-quote-template--colorful .plan-details li.is-last {
  border-bottom: none;
}

.halo-quote-template--colorful .plan-details strong {
  color: var(--halo-blue);
  white-space: nowrap;
}

.halo-quote-template--colorful .plan-discount-pill {
  align-self: center;
  margin-top: 15px;
  padding: 5px 15px;
  color: var(--halo-yellow);
  border-radius: 8px;
  background: var(--halo-blue);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.halo-quote-template--colorful .plan-note {
  margin: 20px 0 0;
  color: var(--text-gray);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.halo-quote-template--colorful .benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.halo-quote-template--colorful .benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border-radius: 10px;
  background: #f8fafc;
}

.halo-quote-template--colorful .benefit-icon {
  font-size: 24px;
  line-height: 1;
}

.halo-quote-template--colorful .benefit-text {
  font-size: 14px;
  font-weight: 600;
}

.halo-quote-template--colorful .promo-box {
  padding: 20px;
  margin-top: 20px;
  color: #1e293b;
  border-radius: 12px;
  background: var(--gradient-yellow);
  font-weight: 700;
  text-align: center;
}

.halo-quote-template--colorful .promo-box span {
  font-size: 15px;
  font-weight: 600;
}

.halo-quote-template--colorful .footer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.halo-quote-template--colorful .thank-you {
  flex: 2;
  padding-right: 40px;
  color: var(--text-gray);
  font-size: 15px;
  font-style: italic;
}

.halo-quote-template--colorful .thank-you p {
  margin: 0 0 8px;
}

.halo-quote-template--colorful .signature-box {
  flex: 1;
  padding: 20px;
  text-align: center;
  border-bottom: 4px solid var(--halo-blue);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--card-shadow);
}

.halo-quote-template--colorful .signature-label {
  margin-bottom: 20px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
}

.halo-quote-template--colorful .signature-box h4 {
  margin: 0;
  color: var(--halo-blue);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.halo-quote-template--colorful .signature-box p {
  margin: 2px 0;
  color: var(--text-gray);
  font-size: 13px;
  font-weight: 600;
}

.halo-quote-template--colorful .hq-color-header {
  background: linear-gradient(135deg, #16325b 0%, #2b5c9e 100%);
}

.hq-color-course {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #cbd5e1;
}

.hq-color-course strong {
  color: #16325b;
}

.halo-quote-template--colorful .hq-payment-full,
.halo-quote-template--colorful .hq-referral {
  background: #fff0f3 !important;
}

.halo-quote-template--premium {
  background: #f8fafc;
}

.hq-premium-header {
  border-top: 10px solid #fab400;
  background: #101828;
}

.hq-premium-intro,
.hq-intro {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border-left: 6px solid #fab400;
  border-radius: 8px;
  background: #ffffff;
}

.hq-premium-intro p,
.hq-intro p {
  margin: 0;
  line-height: 1.5;
}

.hq-premium-intro strong {
  color: #16325b;
  font-size: 1.7rem;
  white-space: nowrap;
}

.quote-letter-document.halo-quote-template--premium {
  --halo-blue: #16325b;
  --halo-yellow: #fab400;
  --halo-white: #ffffff;
  --light-blue: #f4f7fb;
  --light-yellow: #fffaf0;
  --text-main: #1a202c;
  --border-color: #cbd5e1;
  padding: 30px 20px;
  color: var(--text-main);
  background-color: #e2e8f0;
  font-family: Nunito, Arial, "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

.halo-quote-template--premium .document-container {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  padding: 50px 60px;
  background: var(--halo-white);
  box-shadow: 0 10px 30px rgba(22, 50, 91, 0.15);
}

.halo-quote-template--premium .document-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--halo-blue) 50%, var(--halo-yellow) 50%);
}

.halo-quote-template--premium h1,
.halo-quote-template--premium h2,
.halo-quote-template--premium h3,
.halo-quote-template--premium h4,
.halo-quote-template--premium .font-heading {
  font-family: Nunito, Arial, "Helvetica Neue", sans-serif;
}

.halo-quote-template--premium .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--halo-blue);
}

.halo-quote-template--premium .company-info {
  color: #4a5568;
  font-size: 13px;
  line-height: 1.6;
}

.halo-quote-template--premium .company-info .org-name {
  margin-top: 4px;
  color: var(--halo-blue);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.halo-quote-template--premium .logo-box {
  text-align: right;
}

.halo-quote-template--premium .logo-box img {
  width: 280px;
  height: auto;
  object-fit: contain;
}

.halo-quote-template--premium .document-title {
  margin: 30px 0;
  color: var(--halo-blue);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-align: center;
  text-transform: uppercase;
}

.halo-quote-template--premium .intro-text {
  margin-bottom: 30px;
  font-size: 15px;
  text-align: justify;
}

.halo-quote-template--premium .intro-text p {
  margin: 0 0 12px;
}

.halo-quote-template--premium .highlight-text {
  color: var(--halo-blue);
  font-weight: 700;
}

.halo-quote-template--premium .highlight-red {
  color: #e53e3e;
  font-weight: 700;
}

.halo-quote-template--premium .section-title {
  position: relative;
  display: inline-block;
  margin: 40px 0 20px;
  padding: 10px 15px;
  color: var(--halo-white);
  background-color: var(--halo-blue);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.halo-quote-template--premium .section-title::after {
  content: "";
  position: absolute;
  top: 0;
  right: -15px;
  border-width: 22px 0 22px 15px;
  border-style: solid;
  border-color: transparent transparent transparent var(--halo-blue);
}

.halo-quote-template--premium .info-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px 15px;
  margin-bottom: 25px;
  padding: 25px;
  border-left: 4px solid var(--halo-yellow);
  background: var(--light-blue);
}

.halo-quote-template--premium .info-label {
  color: var(--halo-blue);
  font-weight: 600;
}

.halo-quote-template--premium .info-value ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.halo-quote-template--premium .info-value li {
  margin-bottom: 4px;
}

.halo-quote-template--premium .student-name {
  font-size: 16px;
}

.halo-quote-template--premium table {
  width: 100%;
  margin-bottom: 25px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.halo-quote-template--premium th,
.halo-quote-template--premium td {
  padding: 12px 15px;
  border: 1px solid var(--border-color);
}

.halo-quote-template--premium th {
  color: var(--halo-white);
  background-color: var(--halo-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  text-transform: uppercase;
}

.halo-quote-template--premium .text-center {
  text-align: center;
}

.halo-quote-template--premium .text-right {
  text-align: right;
}

.halo-quote-template--premium .row-total td {
  color: var(--halo-blue);
  background-color: var(--light-blue);
  font-size: 15px;
  font-weight: 700;
}

.halo-quote-template--premium .row-discount td {
  color: #4a5568;
  font-style: italic;
}

.halo-quote-template--premium .row-saving td {
  color: var(--halo-blue);
  border: 2px solid var(--halo-yellow);
  background-color: var(--halo-yellow);
  font-size: 16px;
  font-weight: 700;
}

.halo-quote-template--premium .row-final td {
  color: var(--halo-white);
  border: 2px solid var(--halo-blue);
  background-color: var(--halo-blue);
  font-size: 16px;
  font-weight: 700;
}

.halo-quote-template--premium .payment-plan-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
  margin-top: 30px;
}

.halo-quote-template--premium .payment-box {
  border: 2px solid var(--border-color);
  background: #ffffff;
}

.halo-quote-template--premium .payment-box-title {
  padding: 15px;
  color: var(--halo-blue);
  border-bottom: 2px solid var(--halo-blue);
  background-color: var(--light-blue);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.halo-quote-template--premium .installment-table {
  margin-bottom: 0;
  border: 0;
  font-size: 14px;
}

.halo-quote-template--premium .installment-table th {
  color: var(--text-main);
  border-top: 0;
  border-bottom: 2px solid var(--border-color);
  background: #ffffff;
}

.halo-quote-template--premium .installment-table th:first-child {
  border-left: 0;
}

.halo-quote-template--premium .installment-table th:last-child {
  border-right: 0;
}

.halo-quote-template--premium .payment-total {
  padding: 15px;
  color: var(--halo-blue);
  border-top: 1px solid var(--border-color);
  background: var(--light-blue);
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}

.halo-quote-template--premium .payment-total span {
  font-size: 18px;
  font-weight: 700;
}

.halo-quote-template--premium .payment-full-box {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  color: var(--halo-blue);
  border: 3px solid var(--halo-blue);
  background: linear-gradient(135deg, var(--halo-yellow) 0%, #ffc824 100%);
  box-shadow: 10px 10px 0 rgba(22, 50, 91, 0.1);
  text-align: center;
  transform: scale(1.02);
}

.halo-quote-template--premium .payment-full-box .badge-recommend {
  position: absolute;
  top: -15px;
  padding: 5px 20px;
  color: #ffffff;
  background: #e53e3e;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.halo-quote-template--premium .payment-full-box h3 {
  margin: 10px 0 5px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.halo-quote-template--premium .payment-full-box .note {
  margin: 0 0 15px;
  font-size: 14px;
  font-weight: 500;
}

.halo-quote-template--premium .badge-discount {
  margin: 10px 0 20px;
  padding: 8px 20px;
  color: var(--halo-yellow);
  border-radius: 4px;
  background: var(--halo-blue);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.halo-quote-template--premium .payment-full-strike {
  color: #718096;
  font-size: 16px;
  font-weight: 600;
  text-decoration: line-through;
}

.halo-quote-template--premium .payment-full-price {
  margin-top: 5px;
  color: var(--halo-blue);
  font-size: 32px;
  font-weight: 700;
}

.halo-quote-template--premium .benefits-list {
  padding-left: 20px;
}

.halo-quote-template--premium .benefits-list li {
  margin-bottom: 12px;
  text-align: justify;
}

.halo-quote-template--premium .promo-banner {
  padding: 20px;
  margin-top: 25px;
  border: 2px dashed var(--halo-yellow);
  background: var(--light-yellow);
  text-align: center;
}

.halo-quote-template--premium .promo-banner h4 {
  margin: 0 0 10px;
  color: #e53e3e;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.halo-quote-template--premium .promo-banner p {
  margin: 0;
  font-size: 15px;
}

.halo-quote-template--premium .footer-section {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
}

.halo-quote-template--premium .closing-text {
  flex: 2;
  padding-right: 50px;
  color: #4a5568;
  font-style: italic;
  text-align: justify;
}

.halo-quote-template--premium .closing-text p {
  margin: 0 0 10px;
}

.halo-quote-template--premium .closing-text .closing-regards {
  margin-top: 20px;
  font-weight: 600;
}

.halo-quote-template--premium .consultant-card {
  flex: 1;
  text-align: center;
}

.halo-quote-template--premium .consultant-card .consultant-title {
  color: var(--halo-blue);
  font-size: 16px;
}

.halo-quote-template--premium .signature-space {
  height: 76px;
}

.halo-quote-template--premium .consultant-card h4 {
  margin: 0;
  color: var(--halo-blue);
  font-size: 17px;
}

.halo-quote-template--premium .consultant-card p {
  margin: 5px 0;
  color: #4a5568;
  font-size: 14.5px;
}

.quote-letter-document.halo-quote-template--compact {
  --halo-blue: #16325b;
  --halo-blue-light: #eff4fa;
  --halo-yellow: #fab400;
  --halo-yellow-light: #fffaf0;
  --text-main: #334155;
  --text-light: #64748b;
  --divider: #e2e8f0;
  min-height: auto;
  padding: 30px 10px;
  color: var(--text-main);
  background-color: #cbd5e1;
  font-family: Nunito, Arial, "Helvetica Neue", sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.6;
}

.halo-quote-template--compact .page-container {
  max-width: 794px;
  margin: 0 auto;
  padding: 45px 50px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.halo-quote-template--compact .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px dashed var(--divider);
}

.halo-quote-template--compact .brand-text {
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.halo-quote-template--compact .brand-text strong {
  display: block;
  margin-top: 4px;
  color: var(--halo-blue);
  font-size: 18px;
  font-weight: 700;
}

.halo-quote-template--compact .logo img {
  width: 180px;
  height: auto;
}

.halo-quote-template--compact .title-box {
  margin-bottom: 30px;
  text-align: center;
}

.halo-quote-template--compact .title-box h1 {
  margin: 0 0 10px;
  color: var(--halo-blue);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
}

.halo-quote-template--compact .title-box p {
  margin: 0;
  color: var(--text-light);
  font-size: 14px;
}

.halo-quote-template--compact .sec-title {
  display: inline-block;
  margin: 30px 0 15px;
  padding: 6px 15px;
  color: var(--halo-blue);
  border: 1px solid var(--halo-yellow);
  border-radius: 20px;
  background: var(--halo-yellow-light);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.halo-quote-template--compact .student-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--halo-blue-light);
}

.halo-quote-template--compact .profile-item {
  display: flex;
  flex-direction: column;
}

.halo-quote-template--compact .profile-label {
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.halo-quote-template--compact .profile-value {
  color: var(--halo-blue);
  font-size: 15px;
  font-weight: 700;
}

.halo-quote-template--compact .profile-value.highlight {
  color: #e11d48;
}

.halo-quote-template--compact .roadmap {
  padding: 20px;
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: #ffffff;
}

.halo-quote-template--compact .roadmap-title {
  margin-bottom: 15px;
  color: var(--halo-blue);
  font-size: 15px;
  font-weight: 700;
}

.halo-quote-template--compact .steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.halo-quote-template--compact .step {
  display: flex;
  align-items: center;
  gap: 15px;
}

.halo-quote-template--compact .step-num {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #ffffff;
  border-radius: 50%;
  background: var(--halo-blue);
  font-size: 12px;
  font-weight: 700;
}

.halo-quote-template--compact .step-info {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-width: 0;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--divider);
}

.halo-quote-template--compact .step:last-child .step-info {
  border-bottom: none;
}

.halo-quote-template--compact .step-name {
  color: var(--text-main);
  font-weight: 700;
}

.halo-quote-template--compact .step-desc {
  color: var(--text-light);
  font-size: 12.5px;
}

.halo-quote-template--compact .step-price {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 5px;
  color: var(--text-main);
  font-weight: 700;
  text-align: right;
}

.halo-quote-template--compact .step-price-old {
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: line-through;
}

.halo-quote-template--compact .step-price-arrow {
  color: #94a3b8;
}

.halo-quote-template--compact .table-clean {
  width: 100%;
  border-collapse: collapse;
}

.halo-quote-template--compact .table-clean th {
  padding: 12px 10px;
  color: var(--text-light);
  border-bottom: 2px solid var(--halo-blue);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
}

.halo-quote-template--compact .table-clean td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--divider);
  font-weight: 600;
}

.halo-quote-template--compact .table-clean .right {
  text-align: right;
}

.halo-quote-template--compact .table-clean .center {
  text-align: center;
}

.halo-quote-template--compact .row-total td {
  padding-top: 20px;
  color: var(--halo-blue);
  border-bottom: none;
  font-weight: 700;
}

.halo-quote-template--compact .row-discount td {
  padding-top: 5px;
  padding-bottom: 5px;
  color: #e11d48;
  border-bottom: none;
}

.halo-quote-template--compact .row-final td {
  padding-top: 15px;
  color: var(--halo-blue);
  border-top: 1px dashed var(--divider);
  font-size: 18px;
  font-weight: 700;
}

.halo-quote-template--compact .payment-cards {
  display: flex;
  gap: 20px;
}

.halo-quote-template--compact .card-pay {
  flex: 1;
  padding: 20px;
  border: 2px solid var(--divider);
  border-radius: 12px;
  background: #ffffff;
}

.halo-quote-template--compact .card-pay-title {
  margin-bottom: 15px;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.halo-quote-template--compact .list-pay {
  padding: 0;
  margin: 0;
  list-style: none;
}

.halo-quote-template--compact .list-pay li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--text-light);
  font-weight: 500;
}

.halo-quote-template--compact .list-pay li strong {
  flex-shrink: 0;
  color: var(--text-main);
  font-weight: 700;
}

.halo-quote-template--compact .pay-total-inline {
  padding-top: 10px;
  margin-top: 15px;
  border-top: 1px solid var(--divider);
  font-weight: 700;
  text-align: center;
}

.halo-quote-template--compact .card-pay.recommended {
  position: relative;
  border-color: var(--halo-yellow);
  background: var(--halo-yellow-light);
}

.halo-quote-template--compact .card-pay.recommended .card-pay-title {
  color: var(--halo-blue);
}

.halo-quote-template--compact .badge-rec {
  position: absolute;
  top: -12px;
  left: 50%;
  padding: 4px 15px;
  color: var(--halo-blue);
  border-radius: 20px;
  background: var(--halo-yellow);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}

.halo-quote-template--compact .price-big {
  margin: 10px 0;
  color: var(--halo-blue);
  font-size: 26px;
  font-weight: 700;
  text-align: center;
}

.halo-quote-template--compact .price-old {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: line-through;
}

.halo-quote-template--compact .note-box {
  padding: 10px;
  margin-top: 15px;
  color: var(--halo-blue);
  border: 1px dashed var(--halo-yellow);
  border-radius: 8px;
  background: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.halo-quote-template--compact .benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.halo-quote-template--compact .benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 15px;
  border-radius: 8px;
  background: var(--halo-blue-light);
}

.halo-quote-template--compact .b-icon {
  color: var(--halo-blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.halo-quote-template--compact .b-text {
  font-size: 13px;
  font-weight: 500;
  text-align: justify;
}

.halo-quote-template--compact .b-text strong {
  color: var(--halo-blue);
}

.halo-quote-template--compact .promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  margin-top: 20px;
  color: var(--halo-blue);
  border-radius: 8px;
  background: linear-gradient(90deg, var(--halo-yellow) 0%, #ffc824 100%);
}

.halo-quote-template--compact .promo-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.halo-quote-template--compact .promo-desc {
  font-size: 13px;
  font-weight: 600;
}

.halo-quote-template--compact .footer-sig {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 25px;
  margin-top: 40px;
  border-top: 2px dashed var(--divider);
}

.halo-quote-template--compact .thank-you {
  flex: 1;
  padding-right: 40px;
  color: var(--text-light);
  font-style: italic;
  font-weight: 500;
  text-align: justify;
}

.halo-quote-template--compact .thank-you p {
  margin: 0 0 8px;
}

.halo-quote-template--compact .sig-box {
  width: 220px;
  text-align: center;
}

.halo-quote-template--compact .sig-title {
  margin-bottom: 60px;
  color: var(--halo-blue);
  font-weight: 700;
  text-transform: uppercase;
}

.halo-quote-template--compact .sig-name {
  color: var(--text-main);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.halo-quote-template--compact .sig-contact {
  margin-top: 4px;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
}

.quote-letter-document.halo-quote-template--detailed {
  --halo-blue: #16325b;
  --halo-yellow: #fab400;
  --halo-white: #ffffff;
  --light-blue: #eef2f7;
  --light-yellow: #fffdf5;
  --text-main: #2c3e50;
  --border-color: #d1d9e6;
  min-height: auto;
  padding: 20px;
  color: var(--text-main);
  background-color: #e5e9f0;
  font-family: Nunito, Arial, "Helvetica Neue", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

.halo-quote-template--detailed .document-container {
  max-width: 850px;
  margin: 0 auto;
  padding: 45px 55px;
  border-top: 8px solid var(--halo-blue);
  border-radius: 4px;
  background: var(--halo-white);
  box-shadow: 0 8px 25px rgba(22, 50, 91, 0.1);
}

.halo-quote-template--detailed .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.halo-quote-template--detailed .company-info {
  color: #555555;
  font-size: 13px;
  line-height: 1.5;
}

.halo-quote-template--detailed .company-info .org-name {
  color: var(--halo-blue);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.halo-quote-template--detailed .logo-box {
  text-align: right;
}

.halo-quote-template--detailed .logo-box img {
  width: 260px;
  height: auto;
  object-fit: contain;
}

.halo-quote-template--detailed .document-title {
  margin: 20px 0 25px;
  color: var(--halo-blue);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

.halo-quote-template--detailed .intro-text {
  margin-bottom: 25px;
  text-align: justify;
}

.halo-quote-template--detailed .intro-text p {
  margin: 0 0 12px;
}

.halo-quote-template--detailed .highlight-text {
  color: var(--halo-blue);
  font-weight: 700;
}

.halo-quote-template--detailed .section-title {
  padding: 8px 0 8px 12px;
  margin: 35px 0 15px;
  color: var(--halo-blue);
  border-left: 5px solid var(--halo-yellow);
  border-radius: 0 4px 4px 0;
  background-color: var(--light-blue);
  font-size: 18px;
  font-weight: 700;
}

.halo-quote-template--detailed .info-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px 15px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(250, 180, 0, 0.2);
  border-radius: 6px;
  background: var(--light-yellow);
}

.halo-quote-template--detailed .info-label {
  color: var(--halo-blue);
  font-weight: 700;
}

.halo-quote-template--detailed .info-value ul {
  margin: 5px 0 0;
  padding-left: 20px;
}

.halo-quote-template--detailed table {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
  font-size: 14px;
}

.halo-quote-template--detailed th,
.halo-quote-template--detailed td {
  padding: 12px 10px;
  border: 1px solid var(--border-color);
}

.halo-quote-template--detailed th {
  color: var(--halo-white);
  background-color: var(--halo-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  text-transform: uppercase;
}

.halo-quote-template--detailed .text-center {
  text-align: center;
}

.halo-quote-template--detailed .text-right {
  text-align: right;
}

.halo-quote-template--detailed .row-total td {
  color: var(--halo-blue);
  background-color: var(--light-blue);
  font-weight: 700;
}

.halo-quote-template--detailed .row-discount td {
  color: #555555;
  font-style: italic;
}

.halo-quote-template--detailed .row-saving td {
  color: var(--halo-blue);
  border-color: #e5a400;
  background-color: var(--halo-yellow);
  font-size: 15px;
  font-weight: 700;
}

.halo-quote-template--detailed .row-final td {
  color: var(--halo-white);
  border-color: var(--halo-blue);
  background-color: var(--halo-blue);
  font-size: 16px;
  font-weight: 700;
}

.halo-quote-template--detailed .payment-plan-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.halo-quote-template--detailed .payment-box {
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 6px;
}

.halo-quote-template--detailed .payment-box-title {
  padding: 12px;
  color: var(--halo-blue);
  border-bottom: 2px solid var(--halo-yellow);
  background-color: var(--light-blue);
  font-weight: 700;
  text-align: center;
}

.halo-quote-template--detailed .installment-table {
  margin-bottom: 0;
  border: none;
  font-size: 13px;
}

.halo-quote-template--detailed .installment-table th {
  color: var(--halo-blue);
  border-top: none;
  border-bottom: 2px solid var(--halo-blue);
  background: #ffffff;
}

.halo-quote-template--detailed .installment-table th:first-child,
.halo-quote-template--detailed .installment-table td:first-child {
  border-left: none;
}

.halo-quote-template--detailed .installment-table th:last-child,
.halo-quote-template--detailed .installment-table td:last-child {
  border-right: none;
}

.halo-quote-template--detailed .installment-table tr:last-child td {
  border-bottom: none;
}

.halo-quote-template--detailed .payment-total {
  padding: 12px;
  color: var(--halo-blue);
  border-top: 1px solid var(--border-color);
  background: var(--light-blue);
  font-weight: 700;
  text-align: right;
}

.halo-quote-template--detailed .payment-full-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  color: var(--halo-white);
  border-radius: 6px;
  background-color: var(--halo-blue);
  box-shadow: 0 4px 10px rgba(22, 50, 91, 0.2);
  text-align: center;
}

.halo-quote-template--detailed .payment-full-box h3 {
  margin: 0 0 5px;
  color: var(--halo-yellow);
  font-weight: 700;
}

.halo-quote-template--detailed .payment-full-box .note {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
}

.halo-quote-template--detailed .badge-discount {
  padding: 6px 15px;
  margin: 15px 0;
  color: var(--halo-blue);
  border-radius: 20px;
  background: var(--halo-yellow);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.halo-quote-template--detailed .payment-full-strike {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  text-decoration: line-through;
}

.halo-quote-template--detailed .payment-full-price {
  margin-top: 5px;
  color: var(--halo-yellow);
  font-size: 26px;
  font-weight: 700;
}

.halo-quote-template--detailed .benefits-list {
  padding-left: 20px;
}

.halo-quote-template--detailed .benefits-list li {
  margin-bottom: 10px;
  text-align: justify;
}

.halo-quote-template--detailed .promo-banner {
  padding: 18px 20px;
  margin-top: 20px;
  border: 1px solid var(--halo-yellow);
  border-left: 6px solid var(--halo-yellow);
  border-radius: 4px;
  background: var(--light-yellow);
}

.halo-quote-template--detailed .promo-banner h4 {
  margin: 0 0 8px;
  color: var(--halo-blue);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.halo-quote-template--detailed .promo-banner p {
  margin: 0;
}

.halo-quote-template--detailed .footer-section {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.halo-quote-template--detailed .closing-text {
  flex: 2;
  padding-right: 50px;
  color: #555555;
  font-style: italic;
  text-align: justify;
}

.halo-quote-template--detailed .closing-text p {
  margin: 0 0 10px;
}

.halo-quote-template--detailed .consultant-card {
  flex: 1;
  text-align: center;
}

.halo-quote-template--detailed .consultant-card .consultant-title {
  color: var(--halo-blue);
  font-size: 15px;
}

.halo-quote-template--detailed .signature-space {
  height: 76px;
}

.halo-quote-template--detailed .consultant-card h4 {
  margin: 0;
  color: var(--halo-blue);
  text-transform: uppercase;
}

.halo-quote-template--detailed .consultant-card p {
  margin: 4px 0;
  font-size: 14px;
}

.quote-letter-sheet.is-hidden {
  display: none;
}

.quote-letter-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.quote-letter-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 19, 39, 0.52);
}

.quote-letter-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: 94vh;
  border-radius: 16px 16px 0 0;
  background: #ffffff;
  box-shadow: 0 -22px 48px rgba(8, 19, 39, 0.22);
  overflow: hidden;
}

.quote-letter-header,
.quote-letter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid #dfe5ee;
}

.quote-letter-header h2 {
  margin: 0;
  color: #16325b;
  font-size: 1.15rem;
}

.icon-button {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #16325b;
  background: #f5f7fb;
  font-size: 1.6rem;
  line-height: 1;
}

.quote-letter-content {
  display: grid;
  gap: 14px;
  padding: 14px;
  overflow: auto;
}

.quote-letter-form {
  display: grid;
  gap: 12px;
}

.quote-letter-form fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #ffffff;
}

.quote-letter-form legend {
  padding: 0 6px;
  color: #16325b;
  font-weight: 700;
}

.quote-letter-form label {
  display: grid;
  gap: 6px;
}

.quote-letter-form label span,
.quote-letter-form label > span {
  color: #647083;
  font-size: 0.82rem;
  font-weight: 700;
}

.quote-letter-form input,
.quote-letter-form select,
.quote-letter-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  color: #172033;
  background: #ffffff;
  font: inherit;
}

.quote-letter-form textarea {
  min-height: 74px;
  resize: vertical;
}

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

.template-options {
  display: grid;
  gap: 8px;
}

.template-options label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #f5f7fb;
}

.template-options input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: #fab400;
}

.template-options strong,
.template-options small {
  display: block;
  line-height: 1.35;
}

.template-options label > span {
  font-weight: 400;
}

.template-options strong {
  color: #16325b;
  font-size: 0.92rem;
  font-weight: 600;
}

.template-options small {
  margin-top: 3px;
  color: #647083;
  font-size: 0.78rem;
  font-weight: 400;
}

.section-visibility-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.section-visibility-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #fffaf0;
}

.section-visibility-options input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  accent-color: #fab400;
}

.section-visibility-options span {
  color: #16325b;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}

.quote-letter-preview-shell {
  min-height: 360px;
  padding: 10px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #f5f7fb;
  overflow-y: auto;
  overflow-x: hidden;
}

.quote-letter-preview {
  position: relative;
  width: 100%;
  min-height: 300px;
  --quote-export-width: 1080px;
  --quote-preview-scale: 0.32;
  overflow: hidden;
}

.quote-letter-preview > .quote-letter-document {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--quote-export-width, 1080px);
  max-width: none;
  transform: translateX(-50%) scale(var(--quote-preview-scale, 0.32));
  transform-origin: top center;
}

.quote-letter-preview > .empty-note {
  margin: 0;
}

.quote-letter-actions {
  flex-wrap: wrap;
  border-top: 1px solid #dfe5ee;
  border-bottom: 0;
}

.quote-letter-actions .primary-button,
.quote-letter-actions .secondary-button {
  flex: 1 1 140px;
}

.quote-letter-export-area {
  position: fixed;
  top: 0;
  left: -99999px;
  width: var(--quote-export-width, 1080px);
  background: #ffffff;
  pointer-events: none;
}

.quote-letter-export-area .quote-letter-document {
  width: var(--quote-export-width, 1080px);
  max-width: none;
  transform: none;
}

.quote-letter-document {
  width: 1080px;
  min-height: 1350px;
  padding: 48px;
  color: #172033;
  background: #ffffff;
  font-family: Nunito, Arial, "Helvetica Neue", sans-serif;
  letter-spacing: 0;
}

.quote-letter-document * {
  box-sizing: border-box;
}

.letter-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 28px;
  border-radius: 18px;
  color: #ffffff;
  background: #16325b;
}

.letter-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.letter-logo-text {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 18px;
  color: #16325b;
  background: #fab400;
  font-size: 1.35rem;
  font-weight: 700;
}

.letter-brand strong,
.letter-brand span,
.letter-title span,
.letter-title p {
  display: block;
}

.letter-brand strong {
  font-size: 1.12rem;
}

.letter-brand span,
.letter-title span {
  opacity: 0.78;
}

.letter-title {
  text-align: right;
}

.letter-title p {
  margin: 0 0 8px;
  color: #fab400;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.letter-title h1 {
  margin: 0 0 8px;
  font-size: 2.2rem;
  line-height: 1.1;
}

.letter-intro {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 18px 22px;
  border-left: 6px solid #fab400;
  border-radius: 12px;
  background: #fff8e6;
}

.letter-intro p,
.letter-section p,
.letter-note,
.letter-footer p {
  margin: 0;
  line-height: 1.55;
}

.letter-intro span {
  flex: 0 0 auto;
  color: #16325b;
  font-weight: 700;
}

.letter-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.letter-metric {
  min-height: 96px;
  padding: 18px;
  border: 1px solid #dfe5ee;
  border-radius: 14px;
  background: #ffffff;
}

.letter-metric span {
  display: block;
  margin-bottom: 8px;
  color: #647083;
  font-size: 0.9rem;
  font-weight: 700;
}

.letter-metric strong {
  color: #16325b;
  font-size: 1.1rem;
  line-height: 1.25;
}

.letter-section {
  margin-top: 20px;
  padding: 22px;
  border: 1px solid #dfe5ee;
  border-radius: 16px;
  background: #ffffff;
}

.letter-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.letter-section-title span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #16325b;
  background: #fab400;
  font-weight: 700;
}

.letter-section-title h3 {
  margin: 0;
  color: #16325b;
  font-size: 1.2rem;
}

.commitment-box,
.learning-path-text,
.letter-policy-names,
.letter-note,
.referral-box {
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  background: #f5f7fb;
  color: #16325b;
  font-weight: 700;
}

.letter-course-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 12px;
}

.letter-course-table th,
.letter-course-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #dfe5ee;
  text-align: left;
  vertical-align: top;
}

.letter-course-table th {
  color: #16325b;
  background: #f5f7fb;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.letter-course-table td small {
  display: block;
  margin-top: 4px;
  color: #647083;
  font-size: 0.82rem;
}

.letter-course-table td:last-child,
.letter-course-table th:last-child {
  text-align: right;
}

.letter-total-box {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 16px;
  background: #16325b;
  color: #ffffff;
}

.letter-total-box div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.letter-total-box span {
  opacity: 0.8;
}

.letter-total-box strong {
  font-size: 1.05rem;
}

.letter-final-total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.letter-final-total strong {
  color: #fab400;
  font-size: 1.45rem;
}

.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.payment-options article {
  position: relative;
  padding: 18px;
  border: 1px solid #dfe5ee;
  border-radius: 14px;
  background: #ffffff;
}

.payment-options p,
.payment-options h4 {
  margin: 0;
}

.payment-options p {
  color: #647083;
  font-weight: 700;
}

.payment-options h4 {
  margin-top: 6px;
  color: #16325b;
  font-size: 1.12rem;
}

.payment-options ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.payment-options li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.92rem;
}

.recommended-payment {
  border-color: #fab400 !important;
  background: #fffaf0 !important;
}

.recommended-payment b {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #16325b;
  background: #fab400;
  font-size: 0.78rem;
}

.payment-save {
  margin-top: 14px;
  color: #0d8065;
  font-weight: 700;
}

.full-payment-total {
  margin-top: 8px;
  color: #16325b;
  font-size: 1.9rem;
  font-weight: 700;
}

.recommended-payment small {
  display: block;
  margin-top: 10px;
  color: #647083;
  line-height: 1.45;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-grid li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 12px;
  background: #f5f7fb;
}

.benefit-grid span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #16325b;
  background: #fab400;
  font-weight: 700;
}

.benefit-grid p {
  margin: 0;
  line-height: 1.45;
}

.referral-box {
  background: #fff8e6;
}

.letter-note {
  margin-top: 20px;
  color: #647083;
  font-weight: 700;
}

.letter-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 22px;
  border-radius: 16px;
  color: #ffffff;
  background: #16325b;
}

.letter-footer p {
  max-width: 620px;
}

.letter-footer div {
  min-width: 240px;
  text-align: right;
}

.letter-footer span,
.letter-footer small {
  display: block;
  opacity: 0.78;
}

.letter-footer strong {
  display: block;
  margin: 6px 0;
  color: #fab400;
  font-size: 1.18rem;
}

.quote-letter-soft {
  background: #f5f7fb;
}

.quote-letter-soft .letter-section,
.quote-letter-soft .letter-metric {
  box-shadow: 0 12px 30px rgba(22, 50, 91, 0.08);
}

.quote-letter-colorful {
  background:
    linear-gradient(135deg, #fff8e6 0, #ffffff 34%, #eef5ff 100%);
}

.quote-letter-colorful .letter-header {
  background:
    linear-gradient(135deg, #16325b 0, #234a82 100%);
}

.colorful-hero {
  display: grid;
  grid-template-columns: 1.05fr 1.4fr;
  gap: 16px;
  margin-top: 22px;
}

.colorful-hero > div:first-child {
  padding: 24px;
  border-radius: 18px;
  color: #ffffff;
  background: #0d8065;
}

.colorful-hero p,
.colorful-hero h2,
.colorful-hero span {
  margin: 0;
}

.colorful-hero h2 {
  margin: 14px 0 8px;
  color: #fab400;
  font-size: 2.3rem;
}

.colorful-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.quote-letter-colorful .letter-metric {
  border: 0;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(22, 50, 91, 0.12);
}

.letter-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 16px;
  align-items: start;
}

.quote-letter-colorful .letter-section {
  border: 0;
  box-shadow: 0 14px 34px rgba(22, 50, 91, 0.12);
}

.quote-letter-colorful .letter-total-box {
  margin-top: 20px;
  background:
    linear-gradient(180deg, #16325b 0, #0d8065 100%);
}

.colorful-table td:last-child strong {
  color: #0d8065;
}

.colorful-section {
  background: #fff8e6;
}

.template-section {
  margin-top: 20px;
  padding: 22px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #ffffff;
}

.template-section.is-tight {
  padding: 18px;
}

.template-section h2,
.template-section p {
  margin: 0;
}

.template-section h2,
.template-section-title h3 {
  color: #16325b;
}

.template-section p {
  line-height: 1.55;
}

.template-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.template-section-title span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #16325b;
  background: #fab400;
  font-weight: 700;
}

.template-section-title h3 {
  margin: 0;
  font-size: 1.2rem;
}

.template-commitment,
.template-path {
  margin-top: 12px !important;
  padding: 14px;
  border-radius: 8px;
  background: #f5f7fb;
  color: #16325b;
  font-weight: 700;
}

.template-course-list,
.template-benefit-list,
.template-payment-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.template-course-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.template-course-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  padding: 12px 14px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #f8fafc;
}

.template-course-list small {
  grid-column: 1 / -1;
  color: #647083;
  font-weight: 700;
}

.template-course-list.is-clean li {
  border-left: 4px solid #fab400;
}

.template-total-card {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 8px;
  color: #ffffff;
  background: #16325b;
}

.template-total-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.template-total-row span {
  opacity: 0.82;
}

.template-total-row.is-final {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.template-total-row.is-final strong {
  color: #fab400;
  font-size: 1.45rem;
}

.template-payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.template-payment-grid article {
  position: relative;
  padding: 18px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #ffffff;
}

.template-payment-grid article.is-featured {
  border-color: #fab400;
  background: #fffaf0;
}

.template-payment-grid h3,
.template-payment-grid p {
  margin: 8px 0 0;
}

.template-payment-grid h3 {
  color: #16325b;
}

.template-payment-grid ul {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.template-payment-grid li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.92rem;
}

.template-pill {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: #16325b;
  background: #fab400;
  font-size: 0.78rem;
  font-weight: 700;
}

.template-payment-total {
  display: block;
  margin-top: 14px;
  color: #16325b;
  font-size: 1.8rem;
}

.template-payment-grid small {
  display: block;
  margin-top: 10px;
  color: #647083;
  line-height: 1.45;
}

.template-benefit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.template-benefit-list.is-compact {
  grid-template-columns: 1fr;
}

.template-benefit-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 8px;
  background: #f5f7fb;
}

.template-benefit-list span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #16325b;
  background: #fab400;
  font-weight: 700;
}

.template-benefit-list p {
  margin: 0;
  line-height: 1.45;
}

.template-referral {
  margin-top: 12px;
  padding: 14px;
  border-radius: 8px;
  color: #16325b;
  background: #fff8e6;
  font-weight: 700;
}

.template-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 24px;
  margin-top: 22px;
  padding: 22px;
  border-radius: 8px;
  color: #ffffff;
  background: #16325b;
}

.template-footer p,
.template-footer small {
  margin: 0;
  line-height: 1.45;
}

.template-footer > small {
  grid-column: 1 / -1;
  opacity: 0.78;
}

.template-consultant {
  min-width: 240px;
  text-align: right;
}

.template-consultant span,
.template-consultant small {
  display: block;
  opacity: 0.78;
}

.template-consultant strong {
  display: block;
  margin: 6px 0;
  color: #fab400;
  font-size: 1.18rem;
}

.quote-template-premium {
  background: #f8fafc;
}

.template-premium-header {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 30px;
  border-top: 10px solid #fab400;
  border-radius: 8px;
  color: #ffffff;
  background: #101828;
}

.template-premium-header > div:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
}

.template-premium-header p,
.template-premium-header span,
.template-premium-header small {
  margin: 0;
  opacity: 0.82;
}

.template-premium-header h1 {
  margin: 8px 0;
  color: #fab400;
  font-size: 2.4rem;
}

.template-premium-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  margin-top: 18px;
}

.template-premium-hero > div:first-child {
  padding: 24px;
  border-radius: 8px;
  color: #ffffff;
  background: #16325b;
}

.template-premium-hero h2 {
  margin: 12px 0 4px;
  color: #fab400;
  font-size: 2.5rem;
}

.template-premium-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.quote-template-premium .letter-metric {
  border-left: 5px solid #fab400;
  border-radius: 8px;
}

.quote-template-compact {
  min-height: 1180px;
  padding: 42px;
  background: #ffffff;
}

.template-compact-header {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 22px;
  padding-bottom: 22px;
  border-bottom: 4px solid #fab400;
}

.template-compact-header > div:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #16325b;
}

.template-compact-header span,
.template-compact-header small {
  color: #647083;
  font-weight: 700;
}

.template-compact-header h1 {
  margin: 6px 0;
  color: #16325b;
  font-size: 2.1rem;
}

.template-compact-profile {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.template-compact-profile div {
  padding: 14px;
  border-radius: 8px;
  background: #f5f7fb;
}

.template-compact-profile span,
.template-compact-profile strong {
  display: block;
}

.template-compact-profile span {
  color: #647083;
  font-size: 0.82rem;
  font-weight: 700;
}

.template-compact-profile strong {
  margin-top: 6px;
  color: #16325b;
  line-height: 1.25;
}

.template-compact-main {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 18px;
  margin-top: 20px;
}

.template-compact-main > div,
.template-compact-total {
  padding: 20px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
}

.template-compact-total {
  color: #ffffff;
  background: #16325b;
}

.template-compact-total span,
.template-compact-total small {
  display: block;
  opacity: 0.82;
}

.template-compact-total strong {
  display: block;
  margin: 12px 0;
  color: #fab400;
  font-size: 2rem;
}

.quote-template-detailed {
  background: #eef2f7;
}

.template-detailed-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: 8px;
  color: #ffffff;
  background: #16325b;
}

.template-detailed-intro {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border-left: 6px solid #fab400;
  border-radius: 8px;
  background: #ffffff;
}

.template-detailed-intro p {
  margin: 0;
}

.template-course-table th,
.template-course-table td {
  text-align: left;
}

.template-course-table td:nth-child(n+3),
.template-course-table th:nth-child(n+3) {
  text-align: right;
}

@media (min-width: 900px) {
  .quote-letter-panel {
    left: 50%;
    right: auto;
    bottom: 24px;
    width: min(1180px, calc(100vw - 40px));
    max-height: calc(100vh - 48px);
    border-radius: 16px;
    transform: translateX(-50%);
  }

  .quote-letter-content {
    grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  }

}

@media (max-width: 520px) {
  .quote-letter-grid,
  .section-visibility-options,
  .payment-options,
  .benefit-grid,
  .letter-metrics,
  .colorful-hero,
  .letter-two-col,
  .template-payment-grid,
  .template-benefit-list,
  .template-premium-hero,
  .template-premium-metrics,
  .template-compact-profile,
  .template-compact-main,
  .template-compact-header,
  .template-footer,
  .template-detailed-intro,
  .hq-metrics,
  .hq-tuition-grid,
  .hq-payment,
  .hq-benefits,
  .hq-color-grid,
  .hq-compact-main,
  .hq-compact-profile,
  .hq-footer,
  .hq-premium-intro,
  .hq-intro {
    grid-template-columns: 1fr;
  }

  .quote-letter-panel {
    max-height: 96vh;
  }

  .quote-letter-content {
    padding: 12px;
  }

  .quote-letter-preview-shell {
    min-height: 300px;
  }

}

.quote-letter-document.halo-quote-template--soft {
  --halo-blue: #16325b;
  --halo-yellow: #fab400;
  --bg-main: #f1f5f9;
  --text-dark: #1e293b;
  --text-gray: #475569;
  --white: #ffffff;
  --card-shadow: 0 8px 24px rgba(22, 50, 91, 0.08);
  --radius: 16px;
  padding: 40px 20px;
  color: var(--text-dark);
  background-color: var(--bg-main);
  font-family: Nunito, Arial, "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

.halo-quote-template--soft .dashboard-container {
  max-width: 950px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.halo-quote-template--soft .card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--card-shadow);
}

.halo-quote-template--soft .header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 35px 40px;
  color: var(--white);
  border-bottom: 5px solid var(--halo-yellow);
  border-radius: 16px 16px 0 0;
  background: linear-gradient(135deg, #16325b 0%, #214b8a 100%);
}

.halo-quote-template--soft .header-left h1 {
  margin: 0;
  color: var(--halo-yellow);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.halo-quote-template--soft .header-left p {
  margin: 8px 0 0;
  color: #cbd5e1;
  font-size: 15px;
}

.halo-quote-template--soft .logo-img {
  height: 55px;
  max-width: 210px;
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
}

.halo-quote-template--soft .metrics-card {
  margin-top: -24px;
  padding-top: 0;
  border-radius: 0 0 16px 16px;
}

.halo-quote-template--soft .metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.halo-quote-template--soft .metric-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 18px;
  text-align: center;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  flex-direction: column;
}

.halo-quote-template--soft .metric-box .label {
  margin-bottom: 5px;
  color: var(--text-gray);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.halo-quote-template--soft .metric-box .value {
  color: var(--halo-blue);
  font-size: 18px;
  font-weight: 700;
}

.halo-quote-template--soft .section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--halo-blue);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.halo-quote-template--soft .tuition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.halo-quote-template--soft .course-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.halo-quote-template--soft .course-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 15px;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 15px;
}

.halo-quote-template--soft .course-name {
  flex: 1;
  min-width: 0;
  color: var(--halo-blue);
  font-weight: 700;
  line-height: 1.4;
}

.halo-quote-template--soft .course-session {
  white-space: nowrap;
}

.halo-quote-template--soft .course-price-wrap {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 1px;
  min-width: 78px;
  color: var(--text-gray);
  font-weight: 700;
  text-align: right;
}

.halo-quote-template--soft .price-old,
.halo-quote-template--soft .old-pay-total {
  color: #94a3b8;
  text-decoration: line-through;
}

.halo-quote-template--soft .price-old {
  margin-bottom: 0;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
}

.halo-quote-template--soft .price-new {
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}

.halo-quote-template--soft .total-box {
  display: flex;
  justify-content: center;
  padding: 25px;
  color: white;
  border-radius: 12px;
  background: var(--halo-blue);
  flex-direction: column;
}

.halo-quote-template--soft .total-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
  font-size: 15px;
}

.halo-quote-template--soft .col-label {
  flex: 1;
  min-width: 0;
  line-height: 1.4;
}

.halo-quote-template--soft .col-value {
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap !important;
}

.halo-quote-template--soft .total-row-original {
  color: #cbd5e1;
}

.halo-quote-template--soft .total-row.discount {
  color: var(--halo-yellow);
  font-weight: 700;
}

.halo-quote-template--soft .final-price {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-top: 15px;
  padding-top: 15px;
  color: var(--halo-yellow);
  border-top: 1px dashed rgba(255, 255, 255, 0.3);
  font-size: 22px;
  font-weight: 700;
}

.halo-quote-template--soft .payment-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  margin-top: 10px;
  border: 2px solid var(--halo-blue);
  border-radius: 12px;
}

.halo-quote-template--soft .pay-col {
  display: flex;
  padding: 25px;
  flex-direction: column;
}

.halo-quote-template--soft .pay-col.left {
  border-right: 1px solid #e2e8f0;
  background: #fff;
}

.halo-quote-template--soft .pay-col.right {
  position: relative;
  background: #fffaf0;
}

.halo-quote-template--soft .pay-header {
  margin-bottom: 15px;
  color: var(--text-gray);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.halo-quote-template--soft .right .pay-header {
  color: var(--halo-blue);
}

.halo-quote-template--soft .pay-total {
  margin-bottom: 20px;
  color: var(--halo-blue);
  font-size: 26px;
  font-weight: 700;
  text-align: center;
}

.halo-quote-template--soft .full-pay-total {
  margin-bottom: 5px;
  font-size: 32px;
}

.halo-quote-template--soft .old-pay-total {
  margin-bottom: 25px;
  color: #94a3b8;
  font-weight: 600;
  text-align: center;
}

.halo-quote-template--soft .savings-badge {
  margin-bottom: 20px;
  padding: 8px;
  color: white;
  border-radius: 6px;
  background: #e53e3e;
  box-shadow: 0 4px 10px rgba(229, 62, 62, 0.2);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.halo-quote-template--soft .installments-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.halo-quote-template--soft .installments-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  color: var(--text-gray);
  border-bottom: 1px solid #f1f5f9;
}

.halo-quote-template--soft .installments-list li strong {
  color: var(--halo-blue);
}

.halo-quote-template--soft .payment-comparison.is-many-installments .pay-col {
  padding-top: 20px;
  padding-bottom: 20px;
}

.halo-quote-template--soft .payment-comparison.is-many-installments .pay-total {
  margin-bottom: 10px;
  font-size: 22px;
}

.halo-quote-template--soft .installments-list.is-many-installments {
  font-size: 12px;
  line-height: 1.15;
}

.halo-quote-template--soft .installments-list.is-many-installments li {
  gap: 8px;
  padding: 4px 0;
}

.halo-quote-template--soft .installments-list.is-many-installments li strong {
  white-space: nowrap;
}

.halo-quote-template--soft .full-pay-note {
  margin-top: auto;
  padding: 15px;
  color: var(--halo-blue);
  border-radius: 8px;
  background: rgba(250, 180, 0, 0.2);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.halo-quote-template--soft .benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.halo-quote-template--soft .benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.halo-quote-template--soft .icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(250, 180, 0, 0.3);
  border-radius: 10px;
  background: #fffaf0;
}

.halo-quote-template--soft .icon-box svg {
  width: 24px;
  height: 24px;
  fill: var(--halo-blue);
}

.halo-quote-template--soft .benefit-text {
  padding-top: 4px;
  color: var(--text-dark);
  font-size: 14.5px;
  font-weight: 600;
}

.halo-quote-template--soft .promo-box {
  margin-top: 25px;
  padding: 20px;
  color: var(--halo-blue);
  border: 2px dashed var(--halo-yellow);
  border-radius: 12px;
  background: #fffaf0;
  font-weight: 700;
  text-align: center;
}

.halo-quote-template--soft .promo-box span {
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 600;
}

.halo-quote-template--soft .footer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.halo-quote-template--soft .thank-you {
  flex: 2;
  padding-right: 50px;
  color: var(--text-gray);
  font-size: 15px;
  font-style: italic;
}

.halo-quote-template--soft .thank-you p {
  margin: 0 0 8px;
}

.halo-quote-template--soft .signature-box {
  flex: 1;
  padding: 25px;
  text-align: center;
  border-bottom: 4px solid var(--halo-blue);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--card-shadow);
}

.halo-quote-template--soft .signature-label {
  margin-bottom: 15px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

.halo-quote-template--soft .signature-box h4 {
  margin: 0;
  color: var(--halo-blue);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.halo-quote-template--soft .signature-box p {
  margin: 3px 0;
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .halo-quote-template--soft .metrics-grid,
  .halo-quote-template--soft .tuition-grid,
  .halo-quote-template--soft .payment-comparison,
  .halo-quote-template--soft .benefits-grid {
    grid-template-columns: 1fr;
  }

  .halo-quote-template--soft .header-card,
  .halo-quote-template--soft .footer-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .halo-quote-template--soft .pay-col.left {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  .halo-quote-template--soft .footer-card {
    text-align: center;
  }

  .halo-quote-template--soft .thank-you {
    padding-right: 0;
  }
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .quote-letter-document.halo-quote-template--soft {
  width: var(--quote-export-width, 1080px);
  padding: 34px 26px;
  font-size: 23px;
  line-height: 1.42;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .dashboard-container {
  width: 100%;
  max-width: none;
  gap: 22px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .card {
  padding: 28px;
  border-radius: 14px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .header-card {
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 32px 36px;
  border-radius: 14px 14px 0 0;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .header-left {
  min-width: 0;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .header-left h1 {
  font-size: 42px;
  line-height: 1.1;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .header-left p {
  font-size: 22px;
  line-height: 1.35;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .logo-img {
  flex: 0 0 auto;
  height: 64px;
  max-width: 240px;
  padding: 10px 18px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .metrics-card {
  margin-top: -22px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .metrics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .metric-box {
  min-height: 108px;
  padding: 16px 12px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .metric-box .label {
  font-size: 17px;
  line-height: 1.2;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .metric-box .value {
  font-size: 24px;
  line-height: 1.18;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .section-title {
  gap: 12px;
  margin-bottom: 18px;
  font-size: 32px;
  line-height: 1.18;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .section-title svg {
  width: 32px;
  height: 32px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .tuition-grid {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .course-list {
  gap: 10px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .course-item {
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  font-size: 22px;
  line-height: 1.32;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .course-price-wrap {
  min-width: 148px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .price-old {
  font-size: 15px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .price-new {
  font-size: 22px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .total-box {
  padding: 24px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .total-row {
  gap: 14px;
  margin-bottom: 11px;
  font-size: 22px;
  line-height: 1.3;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .final-price {
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  font-size: 30px;
  line-height: 1.18;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .payment-comparison {
  grid-template-columns: 1fr 1fr;
  margin-top: 8px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .pay-col {
  padding: 24px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .pay-col.left {
  border-right: 1px solid #e2e8f0;
  border-bottom: 0;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .pay-header {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.22;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .pay-total {
  margin-bottom: 15px;
  font-size: 30px;
  line-height: 1.18;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .full-pay-total {
  font-size: 36px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .old-pay-total {
  margin-bottom: 18px;
  font-size: 20px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .savings-badge {
  margin-bottom: 16px;
  padding: 10px 12px;
  font-size: 20px;
  line-height: 1.25;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .installments-list {
  font-size: 21px;
  line-height: 1.25;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .installments-list li {
  gap: 10px;
  padding: 7px 0;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .payment-comparison.is-many-installments .pay-col {
  padding-top: 22px;
  padding-bottom: 22px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .payment-comparison.is-many-installments .pay-total {
  margin-bottom: 10px;
  font-size: 28px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .installments-list.is-many-installments {
  font-size: 18px;
  line-height: 1.18;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .installments-list.is-many-installments li {
  padding: 5px 0;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .full-pay-note {
  padding: 16px;
  font-size: 21px;
  line-height: 1.32;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .benefits-grid {
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .benefit-item {
  gap: 13px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .icon-box {
  width: 44px;
  height: 44px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .icon-box svg {
  width: 24px;
  height: 24px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .benefit-text {
  padding-top: 0;
  font-size: 21px;
  line-height: 1.34;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .promo-box {
  margin-top: 22px;
  padding: 18px;
  font-size: 23px;
  line-height: 1.3;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .promo-box span {
  font-size: 21px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .footer-card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.8fr);
  align-items: center;
  gap: 26px;
  text-align: left;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .thank-you {
  padding-right: 0;
  font-size: 21px;
  line-height: 1.4;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .signature-box {
  padding: 24px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .signature-label {
  margin-bottom: 12px;
  font-size: 16px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .signature-box h4 {
  font-size: 24px;
  line-height: 1.2;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--soft .signature-box p {
  font-size: 19px;
  line-height: 1.3;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .quote-letter-document.halo-quote-template--premium {
  width: var(--quote-export-width, 1080px);
  padding: 30px 20px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--premium .document-container {
  max-width: 900px;
  padding: 46px 56px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--premium .payment-plan-container {
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--premium .info-grid {
  grid-template-columns: 180px 1fr;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--premium .footer-section {
  display: flex;
  gap: 24px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .quote-letter-document.halo-quote-template--detailed {
  width: var(--quote-export-width, 1080px);
  padding: 20px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--detailed .document-container {
  max-width: 850px;
  padding: 45px 55px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--detailed .info-grid {
  grid-template-columns: 160px 1fr;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--detailed .payment-plan-container {
  grid-template-columns: 1.2fr 0.8fr;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--detailed .footer-section {
  flex-direction: row;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .quote-letter-document.halo-quote-template--compact {
  width: var(--quote-export-width, 1080px);
  padding: 30px 10px;
  font-size: 13.5px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--compact .page-container {
  max-width: 794px;
  padding: 45px 50px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--compact .student-profile {
  grid-template-columns: 1fr 1fr;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--compact .payment-cards {
  flex-direction: row;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--compact .benefits {
  grid-template-columns: 1fr 1fr;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--compact .footer-sig {
  flex-direction: row;
  text-align: left;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .quote-letter-document.halo-quote-template--colorful {
  width: var(--quote-export-width, 1080px);
  padding: 36px 20px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--colorful .dashboard-container {
  grid-template-columns: 1fr 1fr;
  max-width: 1000px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--colorful .col-span-2 {
  grid-column: span 2;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--colorful .metrics-grid {
  grid-template-columns: repeat(4, 1fr);
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--colorful .benefits-grid {
  grid-template-columns: 1fr 1fr;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--colorful .plans-wrapper {
  flex-direction: row;
  gap: 20px;
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--colorful .plan-card.premium {
  transform: scale(1.05);
}

:is(.quote-export-area--mobile, .quote-letter-preview--mobile) .halo-quote-template--colorful .footer-card {
  flex-direction: row;
  text-align: left;
}
