/* Public form (typeform-style) */
* { box-sizing: border-box; margin: 0; }
.hp-trap { position: absolute; left: -9999px; top: -9999px; height: 1px; width: 1px; overflow: hidden; }
html { -webkit-font-smoothing: antialiased; }
html, body { height: 100%; }
/* Embedded in an iframe. Classic (multi-step) mode collapses to its content height so the host
   script can size the iframe to fit — a long form shouldn't be a tall fixed box. Typeform
   (one-question-per-screen) mode is deliberately NOT collapsed: it keeps the default
   html,body{height:100%} so the body fills the iframe and each screen stays vertically centered
   exactly like the standalone page — for ANY iframe height, and even if the host's resize script
   isn't running. form.js also posts a centered height so the iframe right-sizes when it is. */
html.sendl-embed-fit, html.sendl-embed-fit body { height: auto; min-height: 0; }
body {
  font-family: var(--font, 'Inter', system-ui, sans-serif);
  background: var(--bg, #ffffff);
  color: var(--q, #1f242e);
  display: flex; justify-content: center;
  padding: 24px;
}
body.classic-mode { padding-top: 64px; }

#form-root { width: 100%; max-width: 720px; }

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 4px;
  background: color-mix(in srgb, var(--q) 10%, transparent); z-index: 10;
}
.progress-fill {
  height: 100%; width: 0; background: var(--btn, #1f242e);
  transition: width .5s cubic-bezier(.22, .9, .35, 1);
}
.form-logo { position: fixed; top: 24px; left: 28px; max-height: 40px; max-width: 160px; }
.branding {
  position: fixed; bottom: 14px; right: 16px; font-size: 12px;
  color: var(--q); opacity: .4; text-decoration: none;
  background: color-mix(in srgb, var(--q) 7%, transparent); padding: 5px 11px; border-radius: 7px;
  transition: opacity .15s;
}
.branding:hover { opacity: .8; }

.card-q {
  opacity: 0; transform: translateY(30px);
  transition: opacity .45s cubic-bezier(.22, .9, .35, 1), transform .45s cubic-bezier(.22, .9, .35, 1);
}
.card-q.enter-down { transform: translateY(-30px); }
.card-q.in { opacity: 1; transform: translateY(0); }
.card-q.center { text-align: center; }

.q-num { font-size: 14px; color: var(--a, #2c5ce6); margin-bottom: 12px; font-weight: 500; }
.q-num .arrow { opacity: .7; }
.q-title { font-size: clamp(22px, 3.4vw, 28px); font-weight: 500; line-height: 1.35; letter-spacing: -0.015em; }
.q-title.big { font-size: clamp(28px, 4.6vw, 38px); margin-bottom: 14px; letter-spacing: -0.02em; }
.req { color: var(--a); }
.q-desc { margin-top: 10px; opacity: .62; font-size: 17px; line-height: 1.55; white-space: pre-line; }
.q-desc.sm { font-size: 14px; margin: 4px 0 8px; }
.q-label { font-size: 17px; font-weight: 550; margin-bottom: 8px; letter-spacing: -0.01em; }

.input-wrap { margin-top: 28px; }
.tf-input {
  width: 100%; background: transparent; border: none;
  border-bottom: 2px solid color-mix(in srgb, var(--a) 30%, transparent);
  color: var(--a, #2c5ce6); font-size: 26px; font-family: inherit;
  padding: 8px 2px; outline: none; transition: border-color .2s;
  border-radius: 0;
}
.tf-input::placeholder { color: var(--a); opacity: .32; }
.tf-input:focus { border-bottom-color: var(--a); }
.tf-textarea { resize: vertical; min-height: 84px; font-size: 22px; line-height: 1.45; }
.hint { margin-top: 12px; font-size: 13px; opacity: .55; }

.choices { display: flex; flex-direction: column; gap: 9px; max-width: 460px; }
.choice {
  display: flex; align-items: center; gap: 12px;
  background: color-mix(in srgb, var(--a) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--a) 38%, transparent);
  color: var(--a); border-radius: 9px; padding: 11px 15px;
  font-size: 17px; font-family: inherit; cursor: pointer; text-align: left;
  transition: background .14s, border-color .14s, transform .1s;
}
.choice:hover { background: color-mix(in srgb, var(--a) 16%, transparent); }
.choice:active { transform: scale(.99); }
.choice.picked {
  background: color-mix(in srgb, var(--a) 22%, transparent);
  border-color: var(--a);
  box-shadow: 0 0 0 1px var(--a);
}
.choice .key {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border: 1px solid color-mix(in srgb, var(--a) 55%, transparent);
  border-radius: 5px; font-size: 12px; font-weight: 650; flex: none;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
}
.choice .tick { margin-left: auto; opacity: 0; font-weight: 700; transition: opacity .12s; }
.choice.picked .tick { opacity: 1; }

/* Searchable dropdown (single-select) — compact alternative to a wall of choice cards */
.tf-combo { position: relative; max-width: 460px; }
.tf-combo-list {
  display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
  margin-top: 6px; max-height: 264px; overflow-y: auto;
  background: var(--bg, #fff); border: 1px solid color-mix(in srgb, var(--a) 30%, transparent);
  border-radius: 9px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); padding: 5px;
}
.tf-combo.open .tf-combo-list { display: block; }
.tf-combo-opt {
  padding: 10px 13px; border-radius: 6px; color: var(--a); font-size: 16px;
  cursor: pointer; transition: background .1s;
}
.tf-combo-opt:hover, .tf-combo-opt.active { background: color-mix(in srgb, var(--a) 14%, transparent); }
.tf-combo-opt.picked { background: color-mix(in srgb, var(--a) 22%, transparent); font-weight: 600; }
.tf-combo-none { padding: 10px 13px; opacity: .55; font-size: 15px; }
body[data-style=flat] .tf-combo-list, body[data-style=flat] .tf-combo-opt { border-radius: 0; }

.rating { display: flex; gap: 8px; }
.star {
  background: none; border: none; font-size: 44px; cursor: pointer; line-height: 1;
  color: color-mix(in srgb, var(--a) 26%, transparent); transition: color .12s, transform .12s;
  padding: 2px;
}
.star.hover, .star.lit { color: var(--a); }
.star:hover { transform: scale(1.14); }

.scale { display: flex; gap: 7px; flex-wrap: wrap; }
.scale-n {
  min-width: 48px; height: 54px; font-size: 18px; font-family: inherit; font-weight: 500;
  background: color-mix(in srgb, var(--a) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--a) 38%, transparent);
  color: var(--a); border-radius: 9px; cursor: pointer;
  transition: background .14s, border-color .14s;
}
.scale-n:hover { background: color-mix(in srgb, var(--a) 18%, transparent); }
.scale-n.picked { background: var(--btn); border-color: var(--btn); color: var(--btn-text); }
.scale-labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; opacity: .58; max-width: 580px; }

.tf-file { color: var(--q); font-size: 16px; }

.q-error {
  margin-top: 12px; color: #e0524a; font-size: 15px; font-weight: 550;
  opacity: 0; transition: opacity .2s; min-height: 20px;
}
.q-error.show { opacity: 1; }

.q-nav { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.btn-ok {
  background: var(--btn, #1f242e); color: var(--btn-text, #fff);
  border: none; border-radius: 9px; padding: 12px 26px;
  font-size: 18px; font-weight: 650; font-family: inherit; cursor: pointer;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--btn) 55%, transparent);
  transition: filter .15s, transform .1s, box-shadow .15s;
}
.btn-ok:hover { filter: brightness(1.12); box-shadow: 0 6px 20px -5px color-mix(in srgb, var(--btn) 65%, transparent); }
.btn-ok:active { transform: scale(.97); }
.btn-ok.lg { padding: 15px 36px; font-size: 20px; margin-top: 24px; }
.enter-hint { font-size: 12px; font-weight: 400; opacity: .72; margin-left: 8px; }
.btn-back {
  background: none; border: none; color: var(--q); opacity: .5;
  font-size: 14px; font-family: inherit; cursor: pointer; transition: opacity .15s;
}
.btn-back:hover { opacity: 1; }

.score-line { font-size: 22px; margin-top: 18px; }

.classic { opacity: 0; transition: opacity .45s; }
.classic.in { opacity: 1; }
.classic-q {
  margin-top: 30px; padding: 24px 26px;
  background: color-mix(in srgb, var(--q) 3%, transparent);
  border: 1px solid color-mix(in srgb, var(--q) 9%, transparent);
  border-radius: 14px;
}
.classic-q .input-wrap { margin-top: 10px; }
.classic-q .tf-input { font-size: 19px; }
.classic .btn-ok { margin: 36px 0 64px; }

.closed-screen { text-align: center; }
.closed-screen p { margin-top: 12px; opacity: .62; font-size: 18px; }

@media (max-width: 640px) {
  .q-title { font-size: 21px; }
  .q-title.big { font-size: 26px; }
  .tf-input { font-size: 20px; }
  .scale-n { min-width: 40px; height: 46px; }
  .form-logo { position: static; display: block; margin: 0 auto 20px; }
}

/* ===== Flat & geometric style (theme.style = "flat") ===== */
body[data-style=flat] .choice,
body[data-style=flat] .scale-n,
body[data-style=flat] .btn-ok,
body[data-style=flat] .classic-q,
body[data-style=flat] .branding,
body[data-style=flat] .choice .key { border-radius: 0; }
body[data-style=flat] .btn-ok { box-shadow: none; }
body[data-style=flat] .btn-ok:hover { box-shadow: none; transform: translate(-1px, -1px); }
body[data-style=flat] .choice {
  background: transparent;
  border: 2px solid var(--a);
  transition: background .12s, color .12s;
}
body[data-style=flat] .choice:hover { background: color-mix(in srgb, var(--a) 12%, transparent); }
body[data-style=flat] .choice.picked {
  background: var(--a); color: var(--bg); box-shadow: none;
}
body[data-style=flat] .choice.picked .key { border-color: var(--bg); background: transparent; }
body[data-style=flat] .choice .key { border: 1px solid var(--a); background: transparent; border-radius: 0; }
body[data-style=flat] .scale-n { background: transparent; border: 2px solid var(--a); }
body[data-style=flat] .scale-n:hover { background: color-mix(in srgb, var(--a) 12%, transparent); }
body[data-style=flat] .scale-n.picked { background: var(--a); border-color: var(--a); color: var(--bg); }
body[data-style=flat] .tf-input { border-bottom: 3px solid var(--a); font-weight: 500; }
body[data-style=flat] .tf-input::placeholder { opacity: .28; }
body[data-style=flat] .q-title { font-weight: 650; letter-spacing: -0.02em; }
body[data-style=flat] .q-num { font-weight: 650; }
body[data-style=flat] .progress { background: color-mix(in srgb, var(--q) 14%, transparent); }
body[data-style=flat] .classic-q { border: 2px solid color-mix(in srgb, var(--q) 16%, transparent); background: transparent; }
body[data-style=flat] .star { color: color-mix(in srgb, var(--a) 22%, transparent); }

/* ===== drop-zone uploader ===== */
.upz {
  border: 2px dashed color-mix(in srgb, var(--a) 40%, transparent);
  border-radius: 12px; padding: 34px 26px; text-align: center;
  color: var(--a); cursor: pointer; max-width: 480px;
  transition: border-color .15s, background .15s, transform .12s;
}
.upz:hover, .upz.drag { background: color-mix(in srgb, var(--a) 8%, transparent); border-color: var(--a); }
.upz.drag { transform: scale(1.01); }
.upz.busy, .upz.done { cursor: default; text-align: left; padding: 18px 20px; border-style: solid; }
.upz.done { border-color: color-mix(in srgb, var(--a) 55%, transparent); background: color-mix(in srgb, var(--a) 6%, transparent); }
.upz-icon { opacity: .75; margin-bottom: 10px; }
.upz-text { font-size: 17px; color: var(--q); }
.upz-text strong { color: var(--a); font-weight: 600; }
.upz-hint { font-size: 12.5px; opacity: .5; margin-top: 6px; color: var(--q); }
.upz-err { font-size: 13.5px; color: #e0524a; font-weight: 550; margin-top: 10px; }
.upz-row { display: flex; align-items: center; gap: 13px; }
.upz-fic { display: inline-flex; opacity: .85; flex: none; }
.upz-fic.big svg { width: 38px; height: 38px; }
.upz-thumb {
  width: 52px; height: 52px; object-fit: cover; border-radius: 7px; flex: none;
  border: 1px solid color-mix(in srgb, var(--a) 35%, transparent);
}
.upz-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.upz-name { font-size: 15px; font-weight: 550; color: var(--q); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upz-size { font-size: 12.5px; opacity: .55; color: var(--q); }
.upz-pct { font-size: 13px; font-weight: 600; flex: none; }
.upz-check {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--a); color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.upz-track {
  height: 5px; border-radius: 99px; margin-top: 14px;
  background: color-mix(in srgb, var(--a) 16%, transparent); overflow: hidden;
}
.upz-bar { height: 100%; width: 0; background: var(--a); border-radius: 99px; transition: width .25s ease; }
.upz-actions { display: flex; gap: 8px; margin-top: 13px; }
.upz-btn {
  border: 1px solid color-mix(in srgb, var(--a) 45%, transparent); background: transparent;
  color: var(--a); border-radius: 7px; padding: 5px 13px;
  font-size: 13px; font-weight: 550; font-family: inherit; cursor: pointer;
  transition: background .12s;
}
.upz-btn:hover { background: color-mix(in srgb, var(--a) 12%, transparent); }

/* flat variant */
body[data-style=flat] .upz, body[data-style=flat] .upz-thumb,
body[data-style=flat] .upz-btn, body[data-style=flat] .upz-track,
body[data-style=flat] .upz-bar { border-radius: 0; }
body[data-style=flat] .upz { border-width: 2px; }
body[data-style=flat] .upz.busy, body[data-style=flat] .upz.done { border: 2px solid var(--a); background: transparent; }
body[data-style=flat] .upz-btn { border: 2px solid var(--a); }
body[data-style=flat] .upz-check { border-radius: 0; }

/* ===== question media layouts ===== */
/* Auto vertical margins center the shell when it fits and collapse to top-aligned when the
   screen is TALLER than the viewport — unlike body{align-items:center}, which pushed tall
   content above the top edge where no amount of scrolling could reach it. */
.form-shell { display: flex; width: 100%; max-width: 720px; align-items: center; gap: 0; transition: max-width .3s; margin: auto 0; }
/* Classic mode: the shell must hug its content and top-align it. Without align-self it
   stretches to the viewport height (body is a flex container), and .form-shell's own
   align-items:center then splits a taller form's overflow ABOVE the top of the page,
   where no scrolling can reach it. */
body.classic-mode .form-shell { margin: 0; align-items: flex-start; align-self: flex-start; }
.form-col { flex: 1; min-width: 0; }
.form-shell.media-left, .form-shell.media-right { max-width: 1240px; gap: 56px; }
.form-shell.media-left { flex-direction: row; }
.form-shell.media-right { flex-direction: row-reverse; }
.media-pane { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; }
.media-pane[hidden] { display: none; }  /* explicit display overrides [hidden]; restore it */
.media-pane img {
  width: 100%; height: min(72vh, 600px); border-radius: 12px; object-fit: cover;
  box-shadow: 0 24px 60px -22px rgba(0, 0, 0, .35);
}
.media-pane iframe, .media-pane video {
  width: 100%; aspect-ratio: 16 / 9; border: none; border-radius: 12px;
  box-shadow: 0 24px 60px -22px rgba(0, 0, 0, .35);
}
body[data-style=flat] .media-pane img, body[data-style=flat] .media-pane iframe, body[data-style=flat] .media-pane video { border-radius: 0; box-shadow: none; }
.media-bg { position: fixed; inset: 0; background-size: cover; background-position: center; z-index: -1; }
.media-bg-dim { position: absolute; inset: 0; background: #000; }
body.has-media-bg { --q: #ffffff; }
.classic-media { margin: -24px -26px 18px; }
.classic-media img { width: 100%; max-height: 280px; object-fit: cover; border-radius: 14px 14px 0 0; display: block; }
.classic-media iframe, .classic-media video { width: 100%; aspect-ratio: 16/9; border: none; border-radius: 14px 14px 0 0; display: block; }
body[data-style=flat] .classic-media img { border-radius: 0; }

@media (max-width: 860px) {
  .form-shell.media-left, .form-shell.media-right { flex-direction: column; gap: 22px; }
  .media-pane img { height: 30vh; width: 100%; }
}

/* ===== picture choice / product cards ===== */
.pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; max-width: 560px; }
.pic-card {
  display: flex; flex-direction: column; padding: 0; overflow: hidden; text-align: left;
  background: color-mix(in srgb, var(--a) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--a) 35%, transparent);
  border-radius: 10px; cursor: pointer; font-family: inherit; color: var(--a);
  transition: border-color .14s, background .14s, transform .1s;
}
.pic-card:hover { background: color-mix(in srgb, var(--a) 14%, transparent); }
.pic-card:active { transform: scale(.985); }
.pic-card.picked { border-color: var(--a); box-shadow: 0 0 0 1px var(--a); }
.pic-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pic-ph { width: 100%; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; opacity: .35; }
.pic-foot { display: flex; align-items: center; gap: 7px; padding: 9px 10px; font-size: 14px; min-width: 0; }
.pic-foot .key { width: 20px; height: 20px; font-size: 10.5px; flex: none; }
.pic-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.pic-price { font-weight: 650; font-size: 13.5px; flex: none; }
.pic-foot .tick { opacity: 0; font-weight: 700; flex: none; }
.pic-card.picked .tick { opacity: 1; }
.total-line { font-weight: 650; font-size: 15px !important; opacity: .9 !important; }
body[data-style=flat] .pic-card { border-radius: 0; border-width: 2px; background: transparent; }
body[data-style=flat] .pic-card.picked { background: var(--a); color: var(--bg); box-shadow: none; }
body[data-style=flat] .pic-card.picked .key { border-color: var(--bg); }

/* ===== ranking ===== */
.rank-list .rank-item .rank-n { background: transparent; font-weight: 700; }
.rank-list .rank-item.picked .rank-n { background: var(--a); color: var(--bg); border-color: var(--a); }
body[data-style=flat] .rank-list .rank-item.picked .rank-n { background: var(--bg); color: var(--a); }

/* ===== endings / payment / turnstile ===== */
a.ending-cta { display: inline-block; text-decoration: none; }
.ts-slot { position: fixed; bottom: 16px; left: 16px; z-index: 20; }
.pay-note {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  background: #b3322a; color: #fff; font-size: 14px; font-weight: 550;
  padding: 9px 18px; border-radius: 8px; z-index: 40; transition: opacity .4s;
}
.pay-note.gone { opacity: 0; }

/* Cookie-consent bar — gates tracking pixels on hosted form pages. Themed off the form's own
   vars so it never clashes; embeds don't show it (the host site's CMP drives consent). */
.consent-bar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px;
  width: calc(100% - 32px); max-width: 620px; z-index: 60;
  display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap;
  background: color-mix(in srgb, var(--bg) 88%, var(--q));
  color: var(--q); border: 1px solid color-mix(in srgb, var(--q) 16%, transparent);
  border-radius: 12px; padding: 12px 16px; font-size: 14px; line-height: 1.4;
  box-shadow: 0 12px 44px -14px rgba(0, 0, 0, .4);
}
.consent-text { flex: 1; min-width: 220px; }
.consent-btns { display: flex; gap: 8px; margin-left: auto; }
.consent-bar button { font: inherit; cursor: pointer; border-radius: 8px; padding: 8px 16px; border: 1px solid transparent; white-space: nowrap; }
.consent-no { background: transparent; border-color: color-mix(in srgb, var(--q) 26%, transparent); color: var(--q); }
.consent-yes { background: var(--btn); color: var(--btn-text); }
body[data-style=flat] .consent-bar, body[data-style=flat] .consent-bar button { border-radius: 0; }

/* ---- repeatable group (field type "group"): entry cards + add button ---- */
.grp { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; text-align: left; }
.grp-card { border: 1px solid color-mix(in srgb, var(--a, var(--q)) 35%, transparent); border-radius: 8px; padding: 10px 14px; background: color-mix(in srgb, var(--a, var(--q)) 5%, transparent); }
.grp-card.open { padding: 14px 16px; }
.grp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.grp-label { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grp-acts { display: flex; gap: 6px; flex-shrink: 0; }
.grp-acts button { font: inherit; font-size: 13px; cursor: pointer; background: transparent; color: var(--a, var(--q)); border: 1px solid color-mix(in srgb, var(--a, var(--q)) 40%, transparent); border-radius: 6px; padding: 3px 10px; }
.grp-rm { min-width: 28px; }
.grp-q { margin-top: 14px; }
.grp-q .q-label.sm { font-size: 14.5px; margin-bottom: 4px; }
.grp-q .tf-input { font-size: 16px; padding: 8px 2px; }
.grp-done { margin-top: 14px; font-size: 14px; padding: 8px 18px; }
.btn-ok.sm { font-size: 14px; padding: 8px 18px; }
.grp-add { font: inherit; cursor: pointer; align-self: flex-start; background: transparent; color: var(--a, var(--q)); border: 1px dashed color-mix(in srgb, var(--a, var(--q)) 45%, transparent); border-radius: 8px; padding: 9px 16px; font-size: 15px; }
.grp-add:hover { background: color-mix(in srgb, var(--a, var(--q)) 8%, transparent); }
body[data-style=flat] .grp-card, body[data-style=flat] .grp-acts button, body[data-style=flat] .grp-add { border-radius: 0; }

/* ---- type-to-filter box above long choice lists (8+ options) ---- */
.choice-filter { font-size: 17px; padding: 8px 2px; margin-bottom: 14px; }
.choice-filter-none { padding: 8px 2px; opacity: .6; font-size: 14px; }

/* ---- time field: compound hour / minute / AM-PM control ---- */
.tf-timebox { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.tf-timerow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tf-time { display: inline-flex; align-items: center; gap: 6px; }
.tf-time-lab { font-size: 14px; opacity: .7; min-width: 34px; }
.tf-time-sep { opacity: .35; }
.tf-time-sel {
  font: inherit; font-size: 16px; color: var(--q); background: var(--bg);
  border: 1px solid rgba(128,128,128,.32); border-radius: 4px; padding: 9px 8px;
  min-width: 68px; cursor: pointer; appearance: menulist;
}
.tf-time-sel:focus-visible { outline: 2px solid var(--a); outline-offset: 1px; border-color: var(--a); }
.tf-time-h, .tf-time-m { min-width: 62px; }
.tf-time-rm {
  font: inherit; line-height: 1; cursor: pointer; border: 1px solid rgba(128,128,128,.32);
  background: transparent; color: var(--q); border-radius: 4px; padding: 8px 11px; opacity: .7;
}
.tf-time-rm:hover { opacity: 1; }
.tf-time-add {
  font: inherit; font-size: 14px; cursor: pointer; background: transparent; color: var(--a);
  border: 1px dashed rgba(128,128,128,.4); border-radius: 4px; padding: 8px 12px;
}
.tf-time-add:hover { border-color: var(--a); }

/* ---- date field: custom calendar ---- */
.tf-date { position: relative; display: inline-block; }
.tf-date.has-js .tf-date-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tf-date-btn {
  font: inherit; font-size: 17px; color: var(--q); background: var(--bg); cursor: pointer;
  border: 1px solid rgba(128,128,128,.32); border-radius: 4px; padding: 11px 14px; min-width: 232px; text-align: left;
}
.tf-date-btn.is-empty { opacity: .55; }
.tf-date-btn:focus-visible { outline: 2px solid var(--a); outline-offset: 1px; border-color: var(--a); }
.tf-cal {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; width: 288px; padding: 12px;
  background: var(--bg); border: 1px solid rgba(128,128,128,.22); border-radius: 4px;
  box-shadow: 0 8px 28px rgba(0,0,0,.14);
}
.tf-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.tf-cal-title { font-weight: 600; font-size: 15px; }
.tf-cal-nav {
  font: inherit; font-size: 18px; line-height: 1; cursor: pointer; background: transparent;
  color: var(--q); border: 1px solid transparent; border-radius: 4px; padding: 4px 10px;
}
.tf-cal-nav:hover { background: rgba(128,128,128,.1); }
.tf-cal-nav:focus-visible { outline: 2px solid var(--a); outline-offset: 1px; }
.tf-cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 4px; }
.tf-cal-dow span { text-align: center; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; opacity: .5; }
.tf-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.tf-cal-pad { display: block; }
.tf-cal-day {
  font: inherit; font-size: 14px; cursor: pointer; background: transparent; color: var(--q);
  border: 1px solid transparent; border-radius: 4px; padding: 8px 0; text-align: center;
}
.tf-cal-day:hover:not(:disabled) { background: rgba(128,128,128,.12); }
.tf-cal-day.is-today { border-color: rgba(128,128,128,.45); font-weight: 600; }
.tf-cal-day.is-sel { background: var(--a); color: var(--btn-text, #fff); border-color: var(--a); font-weight: 600; }
.tf-cal-day.is-off { opacity: .28; cursor: default; }
.tf-cal-day:focus-visible { outline: 2px solid var(--a); outline-offset: 1px; }
.tf-cal-foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(128,128,128,.16); }
.tf-cal-today, .tf-cal-clear {
  font: inherit; font-size: 13px; cursor: pointer; background: transparent; color: var(--a);
  border: none; padding: 4px 6px; border-radius: 4px;
}
.tf-cal-clear { opacity: .7; color: var(--q); }
.tf-cal-today:hover, .tf-cal-clear:hover { background: rgba(128,128,128,.1); }

@media (max-width: 480px) {
  .tf-cal { width: min(288px, calc(100vw - 48px)); }
  .tf-date-btn { min-width: 0; width: 100%; }
  .tf-timerow { gap: 8px; }
  .tf-time-sel { min-width: 58px; padding: 10px 6px; }
}

/* ---- "answer in your own words" ----
   Shown before the first question on any form that asks for writing. Tinted with the form's own
   accent rather than a warning colour: this is a request, not a telling-off, and a candidate who
   feels accused before they have written a word is exactly the one who reaches for a model. */
.ai-notice {
  text-align: left;
  margin: 22px 0;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--a, #d97757) 32%, transparent);
  background: color-mix(in srgb, var(--a, #d97757) 7%, var(--bg, #fff));
}
.ai-notice h2 {
  margin: 0 0 8px;
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--q, #1f242e);
}
.ai-notice p { margin: 0 0 8px; font-size: 14px; line-height: 1.55; opacity: .9; }
.ai-notice p:last-child { margin-bottom: 0; }
.classic .ai-notice { margin: 18px 0 26px; }
