/* GOLIVE-CHAT-FORMS-0927 — one stylesheet for both faces, byte-identical on both boxes. Light by default, dark under html.fs-dark
   (the class both faces set), exactly as the chat and audience sheets do. The chat's own grammar (GOLIVE-CHAT /
   -AUDIENCE): hairlines, one accent (indigo #615dfa / periwinkle #8b87ff), type does the hierarchy, 44 px targets, no bubbles.
   Scoped: .lform (the card in the viewer's chat), .lfh (the host's Forms card in Live Control). */
.lform,.lfh{--lf-bg:#fff;--lf-soft:#f6f6fc;--lf-ink:#1d1d2e;--lf-sub:#5f6079;--lf-line:#e4e5ef;--lf-acc:#5b57ef;--lf-acc-ink:#4b47e6;--lf-fld:#fff;
  --lf-ok:#0b7a5b;--lf-ok-bg:#e8f6f0;--lf-bad:#b3123f;--lf-warn:#8a5300;--lf-warn-bg:#fdf6e7}
html.fs-dark .lform,html.fs-dark .lfh{--lf-bg:#1d1e2b;--lf-soft:#242536;--lf-ink:#eef0fb;--lf-sub:#a9aac4;--lf-line:#2e2f44;--lf-acc:#7470ff;--lf-acc-ink:#a9a6ff;
  --lf-fld:#14161f;--lf-ok:#5eead4;--lf-ok-bg:#12322b;--lf-bad:#ff8fb4;--lf-warn:#f0a52a;--lf-warn-bg:#2d2412}
.lform *,.lfh *{box-sizing:border-box}
.lform[hidden],.lform [hidden],.lfh [hidden]{display:none!important}
.lform svg,.lfh svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* ── the card in the chat ── */
.lform{position:relative;margin:10px 10px 4px;padding:12px 14px 12px;border:1px solid var(--lf-line);border-radius:12px;background:var(--lf-soft);color:var(--lf-ink);font:500 13.5px/1.45 Inter,system-ui,sans-serif}
.lform::before{content:'';position:absolute;left:-1px;top:10px;bottom:10px;width:3px;border-radius:2px;background:var(--lf-acc)}
.lform-k{display:flex;align-items:center;gap:6px;font:800 10.5px/1 Inter,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--lf-acc-ink)}
.lform-sp{flex:1}
.lform-pin{color:var(--lf-sub);display:grid;place-items:center}
.lform .lform-cta,.lform .lform-open,.lform .lform-link,.lform .lform-x{font-family:Inter,system-ui,sans-serif}
.lform .lform-x{width:44px;height:44px;margin:-14px -12px -14px 0;border:0;background:none;color:var(--lf-sub);display:grid;place-items:center;cursor:pointer;border-radius:8px}
.lform h4{margin:7px 0 2px;font:700 15px/1.3 Inter,sans-serif;color:var(--lf-ink)}
.lform-off{margin:0 0 10px;color:var(--lf-sub);font-size:13px}
.lform-form{display:grid;gap:8px}
.lform-f label{display:block;font:700 12px/1.2 Inter,sans-serif;color:var(--lf-ink);margin:0 0 4px}
.lform-in{width:100%;min-height:44px;border:1px solid var(--lf-line);background:var(--lf-fld);color:var(--lf-ink);border-radius:10px;padding:9px 11px;font:500 14px/1.3 Inter,sans-serif}
textarea.lform-in{min-height:64px;resize:vertical}
.lform .lform-who{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;font-size:13px;color:var(--lf-sub)}
.lform .lform-who>span{flex:1 1 auto;min-width:0}
.lform .lform-who>svg{display:inline-block}
.lform-who b{color:var(--lf-ink);font-weight:700;word-break:break-all}
.lform .lform-link{margin-left:auto;min-height:44px;border:0;background:none;color:var(--lf-acc-ink);font:700 13px Inter,sans-serif;cursor:pointer;padding:0 2px}
.lform-cb{display:flex;gap:10px;align-items:flex-start;min-height:44px;padding-top:2px;font-size:12.5px;color:var(--lf-sub);line-height:1.45;cursor:pointer}
.lform-cb input{width:22px;height:22px;margin:1px 0 0;flex:none;accent-color:var(--lf-acc)}
.lform .lform-cta{min-height:44px;border:0;border-radius:10px;background:var(--lf-acc);color:#fff;font:700 14px Inter,sans-serif;cursor:pointer}
.lform .lform-cta:disabled{opacity:.55;cursor:wait}
.lform-fine{margin:2px 0 0;font-size:11.5px;color:var(--lf-sub);line-height:1.45}
.lform-fine a{color:var(--lf-sub);text-decoration:underline;text-underline-offset:2px}
.lform-alt{display:flex;justify-content:space-between;gap:8px;align-items:center;padding-top:8px;border-top:1px solid var(--lf-line);font-size:12.5px;color:var(--lf-sub)}
.lform-alt a{color:var(--lf-acc-ink);font-weight:700;min-height:44px;display:inline-flex;align-items:center}
.lform-err{margin:0;color:var(--lf-bad);font-size:12.5px}
.lform-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.lform-ok{display:flex;gap:10px;align-items:flex-start}
.lform-okc{width:32px;height:32px;border-radius:50%;background:var(--lf-ok-bg);color:var(--lf-ok);display:grid;place-items:center;flex:none}
.lform-ok b{display:block;font:700 14px/1.3 Inter,sans-serif;margin:0 0 2px}
.lform-ok span{font-size:12.5px;color:var(--lf-sub)}
.lform-dl{margin-top:10px;min-height:42px;border:1px solid var(--lf-line);border-radius:10px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--lf-ink);font-weight:700;text-decoration:none;background:var(--lf-bg)}
.lform-min{padding:0;background:none;border:0}
.lform-min::before{display:none}
.lform .lform-open{width:100%;min-height:40px;border:1px dashed var(--lf-line);border-radius:10px;background:none;color:var(--lf-acc-ink);font:700 12.5px Inter,sans-serif;display:flex;align-items:center;gap:8px;padding:0 12px;cursor:pointer;text-align:left}
.lform-open span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lform button:focus-visible,.lform input:focus-visible,.lform select:focus-visible,.lform textarea:focus-visible,.lform a:focus-visible,
.lfh button:focus-visible,.lfh input:focus-visible,.lfh select:focus-visible,.lfh a:focus-visible{outline:2px solid var(--lf-acc);outline-offset:2px}

/* ── the host's Forms card (Live Control) ── */
.lfh{background:var(--lf-bg);border:1px solid var(--lf-line);border-radius:16px;color:var(--lf-ink);font:500 13.5px/1.45 Inter,system-ui,sans-serif;overflow:hidden;margin-bottom:16px}
.lfh-h{display:flex;align-items:center;gap:10px;padding:13px 16px 12px;border-bottom:1px solid var(--lf-line)}
.lfh-t{font:800 11px/1 Inter,sans-serif;letter-spacing:.07em;text-transform:uppercase;color:var(--lf-sub)}
.lfh-say{margin-left:auto;font:700 11.5px/1.2 Inter,sans-serif;color:var(--lf-ok)}
.lfh-say.bad{color:var(--lf-bad)}
.lfh-sec{padding:14px 16px;border-bottom:1px solid var(--lf-line);display:grid;gap:10px}
.lfh-sec:last-child{border-bottom:0}
.lfh-lb{font:800 10.5px/1 Inter,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--lf-sub)}
.lfh-hint{margin:0;font-size:12px;line-height:1.5;color:var(--lf-sub)}
.lfh-on{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.lfh-on b{font:700 15px/1.3 Inter,sans-serif}
.lfh-dot{font:800 10px/1 Inter,sans-serif;letter-spacing:.1em;color:var(--lf-ok);background:var(--lf-ok-bg);border-radius:20px;padding:4px 8px;display:inline-flex;gap:6px;align-items:center}
.lfh-dot::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--lf-ok)}
.lfh-figs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--lf-line);border-bottom:1px solid var(--lf-line)}
.lfh-figs div{padding:10px 10px 10px 0}
.lfh-figs div+div{padding-left:10px;border-left:1px solid var(--lf-line)}
.lfh-figs small{display:block;font:800 9.5px/1.2 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--lf-sub)}
.lfh-figs b{font:800 20px/1.25 Inter,sans-serif;font-variant-numeric:tabular-nums}
.lfh-rows{display:grid}
.lfh-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid var(--lf-line);font-size:13px}
.lfh-row:last-child{border-bottom:0}
.lfh-row small{display:block;color:var(--lf-sub);font-size:12px}
.lfh-tag{font:800 9.5px/1 Inter,sans-serif;letter-spacing:.06em;padding:3px 6px;border-radius:4px;margin-left:6px;box-shadow:inset 0 0 0 1px currentColor}
.lfh-tag.m{color:var(--lf-ok)}.lfh-tag.v{color:var(--lf-acc-ink)}.lfh-tag.h{color:var(--lf-warn)}
.lfh-acts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.lfh-btn{min-height:40px;padding:0 14px;border-radius:9px;border:1px solid var(--lf-line);background:var(--lf-bg);color:var(--lf-ink);font:700 13px Inter,sans-serif;cursor:pointer;display:inline-flex;align-items:center;gap:6px;text-decoration:none}
.lfh-btn.pri{background:var(--lf-acc);border-color:var(--lf-acc);color:#fff}
.lfh-btn.dng{color:var(--lf-bad)}
.lfh-btn.sm{min-height:36px;padding:0 10px;font-size:12.5px}
.lfh-seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:2px;background:var(--lf-soft);border-radius:10px;padding:3px}
.lfh-seg button{font:700 12.5px/1.2 Inter,sans-serif;color:var(--lf-sub);background:none;border:0;border-radius:8px;min-height:40px;padding:0 8px;cursor:pointer}
.lfh-seg button[aria-pressed="true"]{background:var(--lf-bg);color:var(--lf-ink);box-shadow:0 1px 2px rgba(20,20,40,.1),inset 0 0 0 1px var(--lf-line)}
.lfh-f label{display:block;font:700 11.5px/1.2 Inter,sans-serif;color:var(--lf-sub);margin:0 0 5px}
.lfh-f input,.lfh-f select{width:100%;font:500 13px/1.3 Inter,sans-serif;color:var(--lf-ink);background:var(--lf-fld);border:1px solid var(--lf-line);border-radius:9px;padding:9px 10px;min-height:44px}
.lfh-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.lfh-qr{font:500 12px/1.4 ui-monospace,Menlo,monospace;color:var(--lf-sub);word-break:break-all}
@media (max-width:640px){.lfh-two{grid-template-columns:1fr}.lfh-figs{grid-template-columns:repeat(2,minmax(0,1fr))}.lfh-figs div:nth-child(3){border-left:0;padding-left:0}.lfh-figs div:nth-child(n+3){border-top:1px solid var(--lf-line)}.lfh-btn{min-height:44px}}
