.app-header-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; }
body.trial-mode { background: #fbf7ed; color: #2b332e; }
body.trial-mode .app-header { background: #fffdf7; border-bottom-color: #eadfc9; }
body.trial-mode .header-link { color: #176b5b; }
.trial-journey { max-width: 900px; margin: clamp(24px, 5vw, 58px) auto 34px; padding: 0 4px; }
.trial-journey[hidden], .trial-step[hidden] { display: none !important; }
.trial-journey-card { overflow: hidden; border: 1px solid #ecdcc1; border-radius: 26px; background: #fffefa; box-shadow: 0 24px 70px rgb(97 70 28 / 10%); }
.trial-journey-intro { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start; padding: clamp(24px, 5vw, 48px); background: radial-gradient(circle at 88% 8%, rgb(239 194 106 / 30%), transparent 32%), linear-gradient(130deg, #fff1db, #fffaf0 62%, #eef8e9); }
.trial-spark { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 18px; background: #f0c56f; color: #70562e; font-size: 28px; box-shadow: 0 8px 18px rgb(147 103 34 / 14%); }
.trial-journey-intro .eyebrow { margin: 0 0 12px; color: #176b5b; }
.trial-journey-intro h1 { max-width: 720px; margin: 0 0 12px; color: #25352e; font-size: clamp(32px, 5vw, 52px); line-height: 1.03; letter-spacing: -.04em; }
.trial-journey-intro p:last-child { max-width: 660px; margin: 0; color: #59685d; font-size: 17px; line-height: 1.65; }
.trial-progress-wrap { padding: 20px clamp(24px, 5vw, 48px) 22px; border-bottom: 1px solid #f0e5d2; background: #fffdf8; }
.trial-progress-heading { display: flex; justify-content: space-between; gap: 16px; color: #43564b; font-size: 14px; }
.trial-progress-heading span { color: #176b5b; font-weight: 800; }
.trial-progress-track { height: 10px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: #f0e6d4; }
.trial-progress-track > span { display: block; width: 10%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #dc8652, #efc35e 55%, #3a8d6f); transition: width .35s ease; }
.trial-progress-wrap > p { margin: 9px 0 0; color: #687469; font-size: 14px; }
.trial-step { padding: clamp(24px, 5vw, 42px) clamp(24px, 5vw, 48px); }
.trial-step-heading { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.trial-step-number { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 14px; background: #f7e6bd; color: #785a2a; font-weight: 800; }
.trial-step-heading .eyebrow { margin: 1px 0 7px; color: #a26539; }
.trial-step-heading h2 { margin: 0 0 8px; color: #2b3a31; font-size: clamp(24px, 3.6vw, 34px); letter-spacing: -.03em; }
.trial-step-heading p:last-child { max-width: 650px; margin: 0; color: #657267; line-height: 1.6; }
.trial-code-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.trial-journey label { display: grid; gap: 7px; color: #3e4e43; font-size: 14px; font-weight: 700; }
.trial-journey label span { color: #718074; font-size: 12px; font-weight: 500; }
.trial-journey input:not([type="checkbox"]):not([type="color"]):not([type="file"]), .trial-journey select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #dfd2bd; border-radius: 11px; background: #fff; color: #29362f; font: inherit; }
.trial-journey input[type="color"] { width: 100%; min-height: 46px; padding: 4px; border: 1px solid #dfd2bd; border-radius: 11px; background: #fff; }
.trial-journey input[type="file"] { width: 100%; max-width: 100%; min-height: 42px; padding: 8px; border: 1px dashed #d8c9af; border-radius: 11px; background: #fffdf8; color: #536255; font: inherit; }
.trial-journey input:focus-visible, .trial-journey select:focus-visible, .trial-journey button:focus-visible, .trial-journey a:focus-visible { outline: 3px solid rgb(222 145 77 / 45%); outline-offset: 2px; }
.trial-journey .button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid #176b5b; border-radius: 11px; background: #176b5b; color: #fff; font: inherit; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; }
.trial-journey .button.secondary { border-color: #d8c9af; background: #fffdf8; color: #43564b; }
.trial-journey .button:disabled { cursor: wait; opacity: .65; }
.trial-accepted { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; padding: 13px 15px; border: 1px solid #cce2cf; border-radius: 14px; background: #f0f8ee; color: #315b41; }
.trial-accepted > span { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #4b9a70; color: white; font-weight: 900; }
.trial-accepted p { margin: 0; line-height: 1.45; }
.trial-profile-form { display: grid; gap: 22px; }
.trial-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.trial-branding-fields { margin: 0; padding: 20px; border: 1px solid #eadfc9; border-radius: 16px; background: #fffaf0; }
.trial-branding-fields legend { padding: 0 8px; color: #375044; font-size: 16px; font-weight: 800; }
.trial-branding-fields > p { margin: 0 0 16px; color: #718074; font-size: 14px; }
.trial-branding-grid { display: grid; grid-template-columns: minmax(110px, .7fr) minmax(110px, .7fr) minmax(200px, 1.4fr) auto; gap: 14px; align-items: end; }
.trial-logo-preview { max-width: 130px; max-height: 70px; padding: 5px; border: 1px solid #e2d1b1; border-radius: 10px; object-fit: contain; background: #fff; }
.trial-consent { display: flex !important; grid-template-columns: auto minmax(0, 1fr); gap: 10px !important; align-items: start; color: #57675b !important; font-weight: 500 !important; line-height: 1.5; }
.trial-consent input { margin: 3px 0 0; accent-color: #176b5b; }
.trial-consent a, .trial-support a { color: #176b5b; font-weight: 800; }
.trial-form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.trial-form-status { min-height: 1.5em; margin: 14px 0 0; color: #43564b; font-weight: 700; line-height: 1.5; }
.trial-support { margin: 16px 4px 0; color: #6b766d; font-size: 14px; text-align: center; }
@media (max-width: 700px) {
  .app-header-actions { gap: 8px 12px; }
  .header-link { font-size: .82rem; }
  .trial-journey { margin-top: 18px; }
  .trial-journey-card { border-radius: 20px; }
  .trial-journey-intro { grid-template-columns: 1fr; gap: 14px; }
  .trial-spark { width: 44px; height: 44px; border-radius: 14px; font-size: 22px; }
  .trial-code-entry, .trial-profile-grid, .trial-branding-grid { grid-template-columns: 1fr; }
  .trial-code-entry .button, .trial-form-actions .button { width: 100%; }
  .trial-branding-fields { padding: 16px; }
  .trial-logo-preview { max-width: 160px; }
}

/* TEMRIC INVITED PLAN SUMMARY */
/* TEMRIC INVITED PLAN SUMMARY */
.trial-plan-summary {
  display: grid;
  gap: 4px;
  margin: -6px 0 20px 54px;
  padding: 13px 16px;
  border: 1px solid #c9ddce;
  border-left: 4px solid #176b5b;
  border-radius: 13px;
  background: #f2f8f0;
}
.trial-plan-summary .eyebrow { margin: 0; color: #176b5b; font-size: 11px; }
.trial-plan-summary strong { color: #25352e; font-size: 17px; }
.trial-plan-summary small { color: #657267; line-height: 1.45; }
@media (max-width: 700px) { .trial-plan-summary { margin-left: 0; } }
