/* Axis Forms — front end. Colours follow the Axis360 theme palette when available. */
.axf, .axf-dialog, .axf-launch {
  --axf-primary: rgb(var(--ax-forest, 32 77 60));
  --axf-primary-dark: rgb(var(--ax-deep, 24 61 49));
  --axf-ink: rgb(var(--ax-ink, 23 43 38));
  --axf-muted: rgb(var(--ax-muted, 90 104 95));
  --axf-accent: rgb(var(--ax-clay, 185 99 63));
  --axf-eyebrow: rgb(var(--ax-rust, 156 87 58));
  --axf-border: #bec9bd;
  --axf-soft: rgb(var(--ax-tint, 237 240 229));
  --axf-bg: #fff;
  --axf-danger: #b3261e;
  --axf-radius: 5px;
  --axf-serif: Georgia, 'Times New Roman', serif;
  color: var(--axf-ink);
  font-size: 15px;
}
.axf *, .axf-dialog * { box-sizing: border-box; }
.axf-header { margin-bottom: 22px; }
.axf-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--axf-eyebrow); margin-bottom: 14px; }
.axf-title { font: 400 clamp(28px, 3.4vw, 40px)/1.12 var(--axf-serif); letter-spacing: -1px; margin: 0 0 12px; color: var(--axf-ink); }
.axf-desc { color: var(--axf-muted); line-height: 1.7; }
.axf-desc p { margin: 0 0 10px; }

.axf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.axf-field { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0; }
.axf-field.axf-w-half { grid-column: auto; }
.axf-field[hidden], .axf [hidden] { display: none !important; }
fieldset.axf-field { min-inline-size: 0; }
.axf-label { display: block; font-size: 12px; font-weight: 700; margin: 0 0 7px; padding: 0; color: var(--axf-ink); }
.axf-req { color: var(--axf-accent); }
.axf-help { margin: 6px 0 0; font-size: 12px; color: var(--axf-muted); line-height: 1.5; }
.axf-error { margin: 6px 0 0; font-size: 12px; font-weight: 600; color: var(--axf-danger); min-height: 0; }
.axf-error:empty { display: none; }

.axf input[type=text], .axf input[type=email], .axf input[type=tel], .axf input[type=number], .axf input[type=url],
.axf input[type=date], .axf input[type=time], .axf input[type=datetime-local], .axf input[type=password], .axf input[type=search], .axf select, .axf textarea {
  display: block; width: 100%; padding: 12px; font: inherit; font-size: 15px; color: var(--axf-ink);
  background: var(--axf-bg); border: 1px solid var(--axf-border); border-radius: var(--axf-radius);
  transition: border-color .15s, box-shadow .15s; appearance: auto; min-height: 46px; margin: 0;
}
.axf textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.axf select[multiple] { min-height: 120px; padding: 6px; }
.axf input:focus, .axf select:focus, .axf textarea:focus { outline: none; border-color: var(--axf-primary); box-shadow: 0 0 0 3px rgba(32, 77, 60, .15); }
.axf ::placeholder { color: #8f9a93; }
.axf .has-error input, .axf .has-error select, .axf .has-error textarea, .axf .has-error .axf-drop { border-color: var(--axf-danger); background: #fffafa; }

/* Sub-fields (name, address) */
.axf-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.axf-sub label { display: block; grid-column: 1 / -1; }
.axf-sub label.axf-w-half, .axf-sub-2 > label:not(.axf-w-full) { grid-column: auto; }
.axf-sub label.axf-w-full { grid-column: 1 / -1; }
.axf-sub label > span { display: block; font-size: 11px; color: var(--axf-muted); margin-bottom: 5px; }

/* Choices */
.axf-choices { display: flex; flex-direction: column; gap: 10px; }
.axf-choices.is-inline { flex-direction: row; flex-wrap: wrap; gap: 10px 20px; }
.axf-choice { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; line-height: 1.5; }
.axf-choice input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--axf-primary); }
.axf-consent { font-size: 13px; color: var(--axf-muted); }
.axf-consent a { color: var(--axf-primary); }

/* Rating */
.axf-rating { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.axf-rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.axf-rating label { font-size: 30px; line-height: 1; color: #d6dbd2; cursor: pointer; transition: color .1s, transform .1s; }
.axf-rating label:hover, .axf-rating label:hover ~ label, .axf-rating input:checked ~ label { color: #d99a22; }
.axf-rating input:focus-visible + label { outline: 2px solid var(--axf-accent); outline-offset: 2px; border-radius: 3px; }

/* NPS */
.axf-nps { display: grid; grid-template-columns: repeat(11, 1fr); gap: 6px; }
.axf-nps label { cursor: pointer; }
.axf-nps input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.axf-nps span { display: flex; align-items: center; justify-content: center; height: 42px; border: 1px solid var(--axf-border); border-radius: var(--axf-radius); font-weight: 600; font-size: 14px; background: #fff; transition: .15s; }
.axf-nps input:checked + span { background: var(--axf-primary); border-color: var(--axf-primary); color: #fff; }
.axf-nps input:focus-visible + span { outline: 2px solid var(--axf-accent); outline-offset: 2px; }
.axf-nps-legend { display: flex; justify-content: space-between; font-size: 11px; color: var(--axf-muted); margin-top: 6px; }

/* Range */
.axf-range { display: flex; align-items: center; gap: 14px; }
.axf-range input { flex: 1; accent-color: var(--axf-primary); }
.axf-range output { min-width: 48px; text-align: center; font-weight: 700; background: var(--axf-soft); border-radius: 6px; padding: 6px 8px; }

/* Upload */
.axf-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 26px 16px; text-align: center;
  border: 2px dashed var(--axf-border); border-radius: 8px; background: #fbfbf8; cursor: pointer; transition: .15s; }
.axf-drop:hover, .axf-drop.is-over { border-color: var(--axf-primary); background: var(--axf-soft); }
.axf-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.axf-drop-icon { font-size: 22px; color: var(--axf-primary); line-height: 1; }
.axf-drop-text { font-weight: 600; font-size: 14px; }
.axf-drop-hint { font-size: 12px; color: var(--axf-muted); }
.axf-files { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13px; }
.axf-files li { padding: 6px 10px; background: var(--axf-soft); border-radius: 5px; margin-top: 6px; }
.axf-files small { color: var(--axf-muted); }

/* Layout fields */
.axf-section-title { font: 400 22px/1.25 var(--axf-serif); margin: 10px 0 4px; padding-top: 14px; border-top: 1px solid #e3e6de; }
.axf-section-text, .axf-html { color: var(--axf-muted); font-size: 14px; line-height: 1.7; }
.axf-section-text p, .axf-html p { margin: 0 0 8px; }

/* Buttons & nav */
.axf-nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.axf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--axf-radius); cursor: pointer;
  background: var(--axf-primary); color: #fff; padding: 16px 23px; font: 600 14px/1.2 inherit; font-family: inherit; transition: background .15s, opacity .15s; text-decoration: none; }
.axf-btn:hover { background: var(--axf-primary-dark); color: #fff; }
.axf-btn:focus-visible { outline: 3px solid var(--axf-accent); outline-offset: 3px; }
.axf-btn[disabled] { opacity: .65; cursor: progress; }
.axf-btn-ghost { background: transparent; color: var(--axf-ink); padding-left: 0; padding-right: 0; border-bottom: 1px solid currentColor; border-radius: 0; padding-top: 5px; padding-bottom: 5px; }
.axf-btn-ghost:hover { background: transparent; color: var(--axf-accent); }
.axf-captcha { width: 100%; }
.axf-spin { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: axfSpin .7s linear infinite; }
@keyframes axfSpin { to { transform: rotate(360deg); } }

/* Progress */
.axf-progress { margin-bottom: 24px; }
.axf-progress-label { font-size: 12px; color: var(--axf-muted); margin-bottom: 8px; }
.axf-progress-bar { height: 6px; background: var(--axf-soft); border-radius: 99px; overflow: hidden; }
.axf-progress-bar i { display: block; height: 100%; background: var(--axf-primary); border-radius: 99px; transition: width .3s ease; }
.axf-progress-steps { display: flex; list-style: none; margin: 0; padding: 0; gap: 0; counter-reset: s; }
.axf-progress-steps li { flex: 1; position: relative; display: flex; justify-content: center; }
.axf-progress-steps li:before { content: ''; position: absolute; top: 15px; left: -50%; right: 50%; height: 2px; background: #dde2d8; }
.axf-progress-steps li:first-child:before { display: none; }
.axf-progress-steps li span { position: relative; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid #dde2d8; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: var(--axf-muted); }
.axf-progress-steps li.is-current span { border-color: var(--axf-primary); color: var(--axf-primary); }
.axf-progress-steps li.is-done span { background: var(--axf-primary); border-color: var(--axf-primary); color: #fff; }
.axf-progress-steps li.is-done:before, .axf-progress-steps li.is-current:before { background: var(--axf-primary); }

/* Messages */
.axf-alert { margin-top: 16px; padding: 12px 14px; border-radius: 6px; background: #fbe9e4; color: #8a2f12; font-size: 14px; }
.axf-success { text-align: left; outline: none; }
.axf-success-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--axf-soft); color: var(--axf-primary); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.axf-success-title { font: 400 clamp(26px, 3vw, 36px)/1.15 var(--axf-serif); margin: 0 0 10px; }
.axf-success-msg { color: var(--axf-muted); line-height: 1.7; margin-bottom: 18px; }
.axf-closed p, .axf-notice { padding: 14px 16px; background: #f3ead5; color: #695a3d; border-radius: 6px; }
.axf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.axf.is-busy form { opacity: .85; }
.axf-loading { display: flex; align-items: center; gap: 10px; color: var(--axf-muted); padding: 30px 0; }

/* Pop-up */
.axf-dialog { width: min(680px, 94vw); max-height: 90vh; border: 0; border-radius: 10px; padding: 40px; background: #fff; overflow-y: auto; box-shadow: 0 30px 80px rgba(16, 44, 36, .3); }
.axf-dialog::backdrop { background: rgba(16, 44, 36, .72); }
.axf-dialog-close { position: absolute; top: 14px; right: 16px; background: transparent; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--axf-ink); padding: 4px 8px; }
.axf-dialog[open] { animation: axfIn .2s ease; }
@keyframes axfIn { from { opacity: 0; transform: translateY(10px); } }


/* Containers */
.axf-columns { display: grid; grid-template-columns: var(--axf-cols, 1fr 1fr); gap: 18px 20px; }
.axf-column { min-width: 0; }
.axf-column > .axf-grid { grid-template-columns: 1fr; }
details.axf-type-accordion { border: 1px solid #dde2d8; border-radius: 8px; background: #fff; }
.axf-acc-title { cursor: pointer; list-style: none; padding: 16px 18px; font: 400 19px/1.3 var(--axf-serif); display: flex; justify-content: space-between; align-items: center; }
.axf-acc-title::-webkit-details-marker { display: none; }
.axf-acc-title:after { content: '+'; font: 400 22px/1 system-ui, sans-serif; color: var(--axf-primary); transition: transform .2s; }
details[open] > .axf-acc-title:after { transform: rotate(45deg); }
.axf-acc-body { padding: 4px 18px 20px; border-top: 1px solid #edf0e8; }
.axf-acc-body > .axf-grid { margin-top: 14px; }

/* Sub-field grids */
.axf-sub-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.axf-sub-3 > label { grid-column: auto; }

/* Choice cards (multiple choice / image choices) */
.axf-cards { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.axf-cards .axf-choice { position: relative; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 14px; border: 1px solid var(--axf-border); border-radius: 8px; background: #fff; transition: .15s; }
.axf-cards .axf-choice:hover { border-color: var(--axf-primary); }
.axf-cards .axf-choice input { position: absolute; top: 12px; right: 12px; margin: 0; }
.axf-cards .axf-choice span { padding-right: 24px; font-weight: 600; }
.axf-cards .axf-choice:has(input:checked) { border-color: var(--axf-primary); background: var(--axf-soft); box-shadow: inset 0 0 0 1px var(--axf-primary); }
.axf-cards .axf-choice img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 5px; display: block; }
.axf-choice input:disabled + span, .axf-choice input:disabled ~ span { opacity: .55; }

/* Affix, colour, mask */
.axf-affix { display: flex; align-items: stretch; }
.axf-affix > span { display: flex; align-items: center; padding: 0 12px; background: var(--axf-soft); border: 1px solid var(--axf-border); color: var(--axf-muted); font-size: 14px; white-space: nowrap; }
.axf-affix > span:first-child { border-right: 0; border-radius: var(--axf-radius) 0 0 var(--axf-radius); }
.axf-affix > span:last-child { border-left: 0; border-radius: 0 var(--axf-radius) var(--axf-radius) 0; }
.axf-affix input { flex: 1; min-width: 0; border-radius: 0 !important; }
.axf-affix input:first-child { border-radius: var(--axf-radius) 0 0 var(--axf-radius) !important; }
.axf-affix input:last-child { border-radius: 0 var(--axf-radius) var(--axf-radius) 0 !important; }
.axf-color { display: flex; align-items: center; gap: 12px; }
.axf-color input[type=color] { width: 56px; height: 46px; padding: 3px; border: 1px solid var(--axf-border); border-radius: var(--axf-radius); background: #fff; cursor: pointer; }
.axf-color output { font: 600 13px/1 ui-monospace, monospace; color: var(--axf-muted); text-transform: uppercase; }
.axf-count { text-align: right; font-size: 11px; color: var(--axf-muted); margin-top: 4px; }
.axf-search { margin-bottom: 6px !important; min-height: 38px !important; padding: 8px 12px !important; font-size: 13px !important; background: #fbfbf8 !important; }

/* Checkable grid */
.axf-grid-wrap { overflow-x: auto; border: 1px solid #dde2d8; border-radius: 8px; }
.axf-gridtable { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 420px; }
.axf-gridtable th, .axf-gridtable td { padding: 11px 12px; text-align: center; border-bottom: 1px solid #edf0e8; }
.axf-gridtable thead th { font-size: 12px; font-weight: 700; background: var(--axf-soft); color: var(--axf-ink); }
.axf-gridtable tbody th { text-align: left; font-weight: 500; }
.axf-gridtable tbody tr:last-child > * { border-bottom: 0; }
.axf-gridtable tbody tr:nth-child(even) { background: #fbfbf8; }
.axf-gridtable label { display: flex; justify-content: center; cursor: pointer; }
.axf-gridtable input { width: 18px; height: 18px; accent-color: var(--axf-primary); margin: 0; }

/* Rich text */
.axf-rte { border: 1px solid var(--axf-border); border-radius: var(--axf-radius); background: #fff; overflow: hidden; }
.axf-rte:focus-within { border-color: var(--axf-primary); box-shadow: 0 0 0 3px rgba(32, 77, 60, .15); }
.axf-rte-bar { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; background: #f6f7f3; border-bottom: 1px solid #e3e6de; }
.axf-rte-bar button { border: 0; background: transparent; padding: 6px 10px; border-radius: 4px; cursor: pointer; font: 600 13px/1 inherit; color: var(--axf-ink); }
.axf-rte-bar button:hover { background: var(--axf-soft); color: var(--axf-primary); }
.axf-rte-bar button[data-cmd=italic] { font-style: italic; }
.axf-rte-bar button[data-cmd=underline] { text-decoration: underline; }
.axf-rte-area { padding: 12px; line-height: 1.65; outline: none; font-size: 15px; }
.axf-rte-area:empty:before { content: attr(data-placeholder); color: #8f9a93; }
.axf-rte-area ul, .axf-rte-area ol { margin: 0 0 0 20px; padding: 0; }
.axf-rte-area p { margin: 0 0 8px; }
.axf .has-error .axf-rte { border-color: var(--axf-danger); }

/* Ranking */
.axf-rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.axf-rank li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid var(--axf-border); border-radius: 6px; cursor: grab; user-select: none; }
.axf-rank li.is-drag { opacity: .5; border-style: dashed; }
.axf-rank-n { width: 26px; height: 26px; border-radius: 50%; background: var(--axf-primary); color: #fff; font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.axf-rank-l { flex: 1; font-size: 14px; }
.axf-rank-btns { display: flex; gap: 4px; }
.axf-rank-btns button { width: 30px; height: 30px; border: 1px solid #dde2d8; background: #fbfbf8; border-radius: 5px; cursor: pointer; color: var(--axf-ink); }
.axf-rank-btns button:hover { border-color: var(--axf-primary); color: var(--axf-primary); }

/* Repeater */
.axf-rep-rows { display: flex; flex-direction: column; gap: 10px; }
.axf-rep-row { display: flex; gap: 10px; align-items: flex-end; }
.axf-rep-row.is-card { padding: 16px; border: 1px solid #dde2d8; border-radius: 8px; background: #fbfbf8; align-items: flex-start; }
.axf-rep-cells { flex: 1; display: grid; grid-template-columns: repeat(var(--axf-rep, 2), minmax(0, 1fr)); gap: 10px; min-width: 0; }
.axf-rep-cell > span { display: block; font-size: 11px; color: var(--axf-muted); margin-bottom: 5px; }
.axf-rep-cell textarea { min-height: 46px; }
.axf-rep-cell [aria-invalid=true] { border-color: var(--axf-danger) !important; }
.axf-rep-del { width: 40px; height: 46px; flex: none; border: 1px solid #dde2d8; background: #fff; border-radius: var(--axf-radius); font-size: 20px; color: var(--axf-muted); cursor: pointer; }
.axf-rep-del:hover:not([disabled]) { color: var(--axf-danger); border-color: var(--axf-danger); }
.axf-rep-del[disabled] { opacity: .35; cursor: default; }
.axf-rep-add { margin-top: 12px; }

/* Save & resume */
.axf-save-msg { margin-top: 12px; padding: 14px; border-radius: 8px; background: var(--axf-soft); font-size: 13px; }
.axf-save-msg p { margin: 0 0 8px; }
.axf-save-link { display: flex; gap: 8px; }
.axf-save-link input { flex: 1; min-height: 40px !important; font-size: 13px !important; }
.axf-save-link .axf-btn { padding: 10px 16px; }

.axf-btn-block { width: 100%; }
.axf-type-submit_button { margin-top: 6px; }

/* ---------- Payments ---------- */
.axf-price { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid #dde2d8; border-radius: 8px; background: var(--axf-soft); }
.axf-price-l { font-weight: 600; }
.axf-price b { font: 400 24px/1 var(--axf-serif); color: var(--axf-primary); }
.axf-paychoices .axf-choice { align-items: center; padding: 12px 14px; border: 1px solid #dde2d8; border-radius: 8px; background: #fff; }
.axf-paychoices .axf-choice span { flex: 1; }
.axf-paychoices .axf-choice em { font-style: normal; font-weight: 700; color: var(--axf-primary); }
.axf-paychoices .axf-choice:has(input:checked) { border-color: var(--axf-primary); background: var(--axf-soft); }
.axf-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.axf-plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 16px; border: 1px solid #dde2d8; border-radius: 10px; background: #fff; cursor: pointer; transition: .15s; }
.axf-plan input { position: absolute; top: 14px; right: 14px; accent-color: var(--axf-primary); width: 18px; height: 18px; margin: 0; }
.axf-plan-n { font-weight: 700; padding-right: 26px; }
.axf-plan-p { color: var(--axf-muted); font-size: 13px; }
.axf-plan-p b { font: 400 26px/1 var(--axf-serif); color: var(--axf-ink); }
.axf-plan:has(input:checked) { border-color: var(--axf-primary); box-shadow: inset 0 0 0 1px var(--axf-primary); background: var(--axf-soft); }
.axf-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--axf-border); border-radius: var(--axf-radius); overflow: hidden; background: #fff; }
.axf-qty button { width: 44px; border: 0; background: var(--axf-soft); font-size: 18px; cursor: pointer; color: var(--axf-ink); }
.axf-qty button:hover { background: #dfe6d8; }
.axf .axf-qty input { width: 80px; border: 0 !important; border-radius: 0 !important; text-align: center; box-shadow: none !important; -moz-appearance: textfield; }
.axf-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.axf-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.axf-method { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #dde2d8; border-radius: 8px; background: #fff; cursor: pointer; font-weight: 600; font-size: 14px; }
.axf-method input { accent-color: var(--axf-primary); margin: 0; }
.axf-method:has(input:checked) { border-color: var(--axf-primary); background: var(--axf-soft); }
.axf-gw { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 5px; border-radius: 6px; color: #fff; font: 700 10px/1 system-ui, sans-serif; font-style: normal; letter-spacing: .3px; flex: none; }
.axf-paywith { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; color: var(--axf-muted); }
.axf-summary { border: 1px solid #dde2d8; border-radius: 10px; background: #fbfbf8; padding: 4px 16px; }
.axf-summary table { width: 100%; border-collapse: collapse; font-size: 14px; }
.axf-summary td, .axf-summary th { padding: 10px 0; border-bottom: 1px solid #e8ebe4; text-align: left; vertical-align: top; }
.axf-summary td:last-child, .axf-summary th:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.axf-summary small { color: var(--axf-muted); }
.axf-summary tr.is-disc td { color: var(--axf-primary); }
.axf-summary tfoot th { border-bottom: 0; font: 400 22px/1.2 var(--axf-serif); padding-top: 14px; }
.axf-summary-empty { margin: 12px 0; color: var(--axf-muted); font-size: 14px; }
.axf-coupon { display: flex; gap: 8px; }
.axf-coupon input { flex: 1; text-transform: uppercase; }
.axf-btn-sm { padding: 10px 16px; }
.axf-coupon-msg { margin: 6px 0 0; font-size: 12px; font-weight: 600; }
.axf-coupon-msg:empty { display: none; }
.axf-coupon-msg.is-ok { color: var(--axf-primary); }
.axf-coupon-msg.is-bad { color: var(--axf-danger); }
.axf-submit small { font-weight: 400; opacity: .8; }
.axf input.axf-calc { background: var(--axf-soft) !important; font-weight: 700; }
.axf-receipt { font-size: 12px; color: var(--axf-muted); border-top: 1px dashed #d5dbd0; padding-top: 10px; }
.axf-offline { background: var(--axf-soft); border-radius: 8px; padding: 14px 16px; margin-top: 12px; font-size: 14px; color: var(--axf-ink); }
.axf-offline p { margin: 0 0 4px; }
.axf-success.is-bad .axf-success-icon { background: #fbe9e4; color: #8a2f12; }
.axf-success.is-wait .axf-success-icon { background: #fff3dc; color: #8a5a00; }

/* ---------- Conversational ---------- */
.axf-convo .axf-step > .axf-grid { display: block; min-height: 170px; }
.axf-convo .axf-step > .axf-grid > .axf-field:not(.is-slide) { display: none !important; }
.axf-convo .axf-step > .axf-grid > .axf-field.is-slide { animation: axfUp .35s ease both; }
.axf-convo .axf-step > .axf-grid > .axf-field.is-slide.is-back { animation-name: axfDown; }
@keyframes axfUp { from { opacity: 0; transform: translateY(24px); } }
@keyframes axfDown { from { opacity: 0; transform: translateY(-24px); } }
.axf-convo .axf-step > .axf-grid > .axf-field > .axf-label, .axf-convo .axf-step > .axf-grid > fieldset > legend.axf-label { font: 400 clamp(22px, 2.6vw, 30px)/1.25 var(--axf-serif); letter-spacing: -.3px; margin-bottom: 18px; }
.axf-convo .axf-step > .axf-grid > .axf-field input[type=text], .axf-convo .axf-step > .axf-grid > .axf-field input[type=email], .axf-convo .axf-step > .axf-grid > .axf-field input[type=tel], .axf-convo .axf-step > .axf-grid > .axf-field input[type=number], .axf-convo .axf-step > .axf-grid > .axf-field input[type=url], .axf-convo .axf-step > .axf-grid > .axf-field textarea {
  font-size: 20px; border-width: 0 0 2px; border-radius: 0; background: transparent; padding: 10px 2px; box-shadow: none !important; }
.axf-convo .axf-choices:not(.axf-cards) .axf-choice { padding: 12px 14px; border: 1px solid #dde2d8; border-radius: 8px; background: #fff; max-width: 480px; font-size: 16px; }
.axf-convo .axf-choices:not(.axf-cards) .axf-choice:has(input:checked) { border-color: var(--axf-primary); background: var(--axf-soft); }
.axf-convo-top { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.axf-convo-top .axf-progress-bar { flex: 1; }
.axf-convo-count { font-size: 12px; color: var(--axf-muted); font-variant-numeric: tabular-nums; }
.axf-convo-nav { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.axf-convo-hint { font-size: 12px; color: var(--axf-muted); }
.axf-convo-arrows { margin-left: auto; display: flex; gap: 4px; }
.axf-convo-arrows button { width: 38px; height: 38px; border: 1px solid #dde2d8; background: #fff; border-radius: 6px; cursor: pointer; color: var(--axf-ink); }
.axf-convo-arrows button:hover { border-color: var(--axf-primary); color: var(--axf-primary); }
.axf-convo .axf-nav[hidden] { display: none !important; }

@media (max-width: 650px) {
  .axf-grid, .axf-sub, .axf-columns, .axf-rep-cells { grid-template-columns: 1fr; }
  .axf-rep-row { align-items: flex-start; }
  .axf-convo-hint { display: none; }
  .axf-field.axf-w-half, .axf-sub label.axf-w-half, .axf-sub-2 > label { grid-column: 1 / -1; }
  .axf-dialog { padding: 26px 20px; }
  .axf-nps { grid-template-columns: repeat(6, 1fr); }
}
