/* Order form: a spec ticket in the system font. Monospace only for prices and product ids,
   one orange accent, thin separators, small uppercase labels. Every rule is scoped under .qf. */
.qf {
  --qf-accent: #ff6b00;
  --qf-accent-hover: #ff8f33;
  --qf-ink: #e8e8e8;
  --qf-dim: #8a99ab;
  --qf-line: #1a3a5c;
  --qf-ground: #0b1a2b;
  --qf-field: #091724;
  margin: 0 0 2.5rem;
  border: 1px solid var(--qf-accent);
  border-radius: 10px;
  background: var(--qf-ground);
  color: var(--qf-ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}
.qf [hidden] { display: none !important; }
.qf .qf-mono, .qf .qf-sku, .qf .qf-pills span { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
.qf .qf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.qf .qf-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0; padding: 0.65rem 1.1rem; border-bottom: 1px solid var(--qf-line); }
.qf .qf-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--qf-accent); }
.qf .qf-sku { font-size: 0.78rem; color: var(--qf-dim); overflow-wrap: anywhere; text-align: right; }

.qf .qf-form { display: grid; gap: 1rem; margin: 0; padding: 1.1rem 1.1rem 1.2rem; }
.qf .qf-sentence { margin: 0; font-size: 1.2rem; line-height: 2.25; }
.qf .qf-sentence strong { font-weight: 700; color: var(--qf-ink); }
.qf .qf-field select {
  font: inherit; font-size: 1.05rem; line-height: 1.6;
  color: var(--qf-ink); background-color: var(--qf-field);
  border: 1px solid var(--qf-line); border-bottom: 2px solid var(--qf-accent); border-radius: 6px;
  margin: 0 0.1rem; padding: 0.1rem 1.9rem 0.1rem 0.55rem;
  -webkit-appearance: none; appearance: none; cursor: pointer; max-width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23ff6b00' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.55rem center; background-size: 0.7rem;
}
.qf .qf-field select:focus-visible { outline: 2px solid var(--qf-accent); outline-offset: 2px; }

.qf .qf-ticket { display: grid; margin: 0; border: 1px dashed var(--qf-line); border-radius: 8px; }
.qf .qf-row { display: grid; grid-template-columns: 8rem 1fr; align-items: center; gap: 0.75rem; margin: 0; padding: 0.55rem 0.9rem; border-top: 1px solid var(--qf-line); }
.qf .qf-row:first-child { border-top: 0; }
.qf .qf-k { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--qf-dim); }
.qf .qf-v { min-width: 0; }
.qf .qf-plan-row { grid-template-columns: 8rem auto 1fr; }
.qf .qf-pills { display: inline-flex; border: 1px solid var(--qf-line); border-radius: 6px; overflow: hidden; }
.qf .qf-pills label { position: relative; margin: 0; cursor: pointer; }
.qf .qf-pills input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.qf .qf-pills span { display: block; min-width: 2.9rem; padding: 0.5rem 0.95rem; text-align: center; font-weight: 700; color: var(--qf-ink); }
.qf .qf-pills label + label span { border-left: 1px solid var(--qf-line); }
.qf .qf-pills input:checked + span { background: var(--qf-accent); color: var(--qf-field); }
.qf .qf-pills input:focus-visible + span { outline: 2px solid var(--qf-ink); outline-offset: -3px; }
.qf .qf-suggested { justify-self: start; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--qf-accent); }
.qf .qf-band { margin: 0; padding: 0.5rem 0.9rem 0.6rem; border-top: 1px solid var(--qf-line); font-weight: 500; }
.qf .qf-big { font-size: 1.35rem; font-weight: 700; }
.qf .qf-fact { margin: 0; padding: 0.6rem 0.9rem; border-top: 1px solid var(--qf-line); font-size: 0.9rem; color: var(--qf-dim); }
.qf .qf-go {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  margin: 0.25rem 0.9rem 0.9rem; border-radius: 8px;
  background: var(--qf-accent); color: var(--qf-field); font-weight: 800; font-size: 1.02rem; text-decoration: none;
}
.qf .qf-go:hover { background: var(--qf-accent-hover); color: var(--qf-field); text-decoration: none; }
.qf .qf-go:focus-visible { outline: 2px solid var(--qf-ink); outline-offset: 2px; }

.qf .qf-fallback { list-style: none; display: grid; gap: 0.5rem; margin: 0; padding: 1rem 1.1rem; }
.qf .qf-fallback li { margin: 0; }
.qf .qf-fallback a { font-weight: 600; }
.qf .qf-note { margin: 0; padding: 0.7rem 1.1rem 0.9rem; border-top: 1px solid var(--qf-line); font-size: 0.8rem; color: var(--qf-dim); }
.qf .qf-note a, .qf .qf-fallback a { color: var(--qf-ink); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 640px) {
  .qf .qf-form { padding: 0.9rem; }
  .qf .qf-sentence { font-size: 1.05rem; line-height: 2.3; }
  .qf .qf-row { grid-template-columns: 6.5rem 1fr; padding: 0.55rem 0.75rem; }
  .qf .qf-plan-row { grid-template-columns: 6.5rem auto; }
  .qf .qf-plan-row .qf-suggested { grid-column: 2; }
}
