/* The trial form (public/js/trial-form.js), shared by / and /decorator.
   Uses the pages' own tokens: --surface-2, --line, --text, --muted, --accent, --hot. */
.try-form.tf{display:block;margin:1rem 0 .6rem}
.tf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem 1rem;margin-bottom:1rem}
.tf-field{display:flex;flex-direction:column;gap:.35rem;min-width:0;margin:0;padding:0;border:0}
.tf-field[hidden]{display:none}
.tf-wide{grid-column:1/-1}
.tf-field>label,.tf-field>legend{font:600 .88rem/1.3 var(--body);color:var(--text);padding:0}
.tf-req{color:var(--hot,#fbbf24)}
.tf-opt{font-weight:400;color:var(--muted)}
.try-form.tf input[type=text],.try-form.tf input[type=email],.try-form.tf select{flex:none;
  width:100%;min-width:0;min-height:48px;box-sizing:border-box;
  background:var(--surface-2);border:1px solid var(--line);border-radius:10px;
  color:var(--text);font:400 1rem/1.2 var(--body);padding:.75rem .85rem;color-scheme:dark}
.try-form.tf select{appearance:none;-webkit-appearance:none;padding-right:2.2rem;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a3adc0' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right .85rem center}
.tf input:focus,.tf select:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.tf [aria-invalid=true]{border-color:var(--stamp-red,#f06565)}
.tf-assoc legend{margin-bottom:.35rem}
.tf-checks{display:flex;flex-wrap:wrap;gap:.4rem .6rem}
.tf-check{display:inline-flex;align-items:center;gap:.45rem;min-height:44px;padding:0 .8rem;
  border:1px solid var(--line);border-radius:999px;background:var(--surface-2);
  font:500 .92rem/1 var(--body);color:var(--text);cursor:pointer}
.tf-check input{width:18px;height:18px;margin:0;accent-color:var(--hot,#fbbf24)}
.tf-check:has(input:checked){border-color:var(--hot,#fbbf24)}
.tf-check:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.tf .btn{width:auto}
/* The chooser: two radio cards above the fields (David 2026-10-10). */
.tf-choose{margin:0 0 1.2rem;padding:0;border:0;min-width:0}
.tf-choose-q{font:800 .72rem/1.3 var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--muted);padding:0;margin:0 0 .6rem}
.tf-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
.tf-card{position:relative;display:flex;flex-direction:column;gap:.55rem;min-width:0;cursor:pointer;
  border:1px solid var(--line);border-radius:12px;background:var(--surface-2);padding:1rem 1rem 1rem 3rem;
  transition:border-color .15s,box-shadow .15s}
.tf-card:hover{border-color:var(--muted)}
.tf-cards-one{grid-template-columns:1fr}
.tf-card-fixed{cursor:default;padding-left:1rem;border-color:var(--hot,#fbbf24)}
.tf-card-fixed:hover{border-color:var(--hot,#fbbf24)}
.tf-card input[type=radio]{position:absolute;left:1rem;top:1.15rem;width:20px;height:20px;margin:0;accent-color:var(--hot,#fbbf24)}
.tf-card:has(input:checked){border-color:var(--hot,#fbbf24);box-shadow:inset 0 0 0 1px var(--hot,#fbbf24)}
.tf-card:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:3px}
.tf-card-head{display:flex;flex-direction:column;gap:.15rem}
.tf-card-title{font:800 1.05rem/1.25 var(--body);color:var(--text)}
.tf-card-price{color:var(--hot-ink,var(--hot,#fbbf24))}
.tf-card-fine{font:600 .8rem/1.3 var(--body);color:var(--muted)}
.tf-card-body{font:400 .92rem/1.5 var(--body);color:var(--muted)}
.tf-card-pick{display:block;margin-top:.45rem;font-weight:600;color:var(--text)}
.tf-choose-note{margin:.7rem 0 0;font:500 .9rem/1.45 var(--body);color:var(--text)}
@media (max-width:560px){
  .tf-cards{grid-template-columns:1fr}
  .tf-grid{grid-template-columns:1fr}
  .tf .btn{width:100%}
}
