:root{--g:#2a7d4f;--gd:#1f6b41;--ink:#15201b;--mute:#5b6660;--line:#e2e5e0;--bg:#f4f5f2;--dark:#1b2420;--red:#a3271a}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif}
.wrap{max-width:460px;margin:0 auto;padding:20px 16px 40px}
.top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.dealer{font-weight:600}
.lang{border:1px solid var(--line);background:#fff;border-radius:16px;padding:6px 12px;font:inherit;font-size:14px;min-height:36px}
h1{font-size:28px;line-height:1.15;margin:0 0 6px}
.sub{color:var(--mute);margin:0 0 18px}
fieldset{border:0;padding:0;margin:0 0 16px}
legend{font-weight:600;margin-bottom:8px}
.opt{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin-bottom:8px;min-height:48px}
.opt input{accent-color:var(--g);width:20px;height:20px;margin:0}
label{display:block;font-weight:600;margin:12px 0 6px}
input[type=text],input[type=tel],select{width:100%;height:48px;border:1px solid #c9d0cb;border-radius:10px;padding:0 12px;font:inherit;background:#fff}
.chk{display:flex;gap:10px;align-items:flex-start;font-weight:400;font-size:14px}
.chk input{accent-color:var(--g);width:20px;height:20px;margin:2px 0 0;flex-shrink:0}
.btn{display:flex;align-items:center;justify-content:center;width:100%;height:52px;border:0;border-radius:26px;background:var(--g);color:#fff;font:inherit;font-weight:600;margin-top:18px;text-decoration:none}
.btn:disabled{opacity:.6}
.btn2{flex:1;height:46px;border:1px solid #c9d0cb;border-radius:23px;background:#fff;font:inherit;font-weight:500;color:var(--ink)}
.btn2.danger{color:var(--red)}
.row{display:flex;gap:8px;margin-top:12px}
.err{color:var(--red);font-size:14px;min-height:1em;margin:10px 0 0}
.fine{color:var(--mute);font-size:13px;margin-top:14px}
.call{max-width:720px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column;background:#0f1512}
.stage{position:relative;flex:1;min-height:56vh;background:var(--dark);display:flex;align-items:center;justify-content:center}
.stage video#remote{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.pip{position:absolute;right:12px;bottom:12px;width:96px;height:128px;object-fit:cover;border-radius:12px;border:2px solid #0f1512;background:#2c3a33;z-index:2}
.status{position:relative;z-index:1;color:#dfe7e2;text-align:center;padding:0 24px}
.timer{position:absolute;top:12px;right:12px;z-index:2;background:rgba(15,21,18,.78);color:#fff;border-radius:10px;padding:4px 10px;font:13px ui-monospace,monospace}
.panel{background:#fff;border-radius:20px 20px 0 0;margin-top:-16px;position:relative;z-index:3;padding:18px 16px 24px}
.panel h1{font-size:20px}
.info{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:14px;margin:8px 0}
.info dt{color:var(--mute)}.info dd{margin:0}
[hidden]{display:none!important}
/* breathing room above the video (phones: below the notch; desktop: off the browser bar) */
.call{padding-top:max(12px, env(safe-area-inset-top))}
.stage{margin:0 12px;border-radius:16px;overflow:hidden}
@media (min-width:760px){.call{margin-top:24px;padding-top:16px;border-radius:20px 20px 0 0;overflow:hidden}}
