/* AGRICOIN – Welle 14 „Vor Ort & Verbinden“ (QR-Verbindung, Vor-Ort-Aufnahme, Nachrichten), tgo AG, 26.11.2026. Quelle: src/w14_vorort/vorort.css
   Gilt in Hof-App und Berater-Cockpit. Handy zuerst (360 px, Daumen: Knöpfe ≥ 48 px), hell/dunkel über die Farben der jeweiligen Seite (mit Ersatzwerten). */
.bv-gross{min-height:52px;font-size:1.02rem;font-weight:800;padding:10px 18px;border-radius:14px;width:100%;justify-content:center;text-align:center;box-sizing:border-box}
.bv-akt,.bv-dlg .akt{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.bv-akt>*{flex:1 1 160px}
.bv-link{background:none;border:0;padding:4px 2px;color:var(--blau,#2b3f8f);font:inherit;font-weight:700;text-decoration:underline;cursor:pointer;min-height:32px}
.bv-fehl{color:var(--bad,#b3261e);font-weight:700;margin:6px 0}
.bv-badge{display:inline-block;background:#fbb900;color:#1f2328;border-radius:999px;padding:1px 9px;font-size:.8rem;font-weight:800;vertical-align:middle}
.bv-chip{display:inline-block;background:var(--panel2,#f2f3ee);border:1px solid var(--line,#dde3e0);border-radius:999px;padding:1px 9px;font-size:.8rem;font-weight:700}
/* Dialog */
html.bv-dlg-an{overflow:hidden}
.bv-dlg-bg{position:fixed;inset:0;z-index:9000;background:rgba(15,20,25,.55);display:flex;align-items:flex-end;justify-content:center;padding:0}
@media (min-width:640px){.bv-dlg-bg{align-items:center;padding:16px}}
.bv-dlg{position:relative;background:var(--panel,#fff);color:var(--ink,#1f2328);width:100%;max-width:520px;max-height:92vh;overflow:auto;border-radius:20px 20px 0 0;padding:18px 16px calc(18px + env(safe-area-inset-bottom,0px));box-sizing:border-box;box-shadow:0 -8px 40px rgba(0,0,0,.25)}
@media (min-width:640px){.bv-dlg{border-radius:20px}}
.bv-dlg:focus{outline:none}
.bv-dlg h2{margin:0 36px 8px 0;font-size:1.2rem;line-height:1.25}.bv-dlg h3{margin:14px 0 6px;font-size:1rem}
.bv-dlg p{margin:6px 0}.bv-dlg-i{display:grid;gap:6px}
.bv-x{position:absolute;top:8px;right:8px;width:44px;height:44px;border-radius:999px;border:1px solid var(--line,#dde3e0);background:var(--panel2,#f6f4ee);color:inherit;font-size:1.1rem;cursor:pointer}
.bv-dlg .btn.pri,.bv-karte .btn.pri,.bv-vo-karte .btn.pri,.bv-chat .btn.pri{background:#fbb900;color:#1f2328;border:1px solid #c98a00}
.bv-dlg.bv-ok{border-top:6px solid #1b8a52}
.bv-ok-t{font-size:1.15rem;font-weight:800;color:var(--good,#1a6e3e)}
/* QR-Code groß */
.bv-qr{background:#fff;border-radius:14px;padding:8px;width:min(78vw,320px);margin:6px auto;line-height:0}
.bv-qr svg{width:100%;height:auto;display:block}
.bv-abgelaufen .bv-qr{opacity:.15}
.bv-code-l{text-align:center;font-size:.85rem;color:var(--mut,#5f686e);margin:4px 0 0!important}
.bv-code{text-align:center;font:800 2rem/1.1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.08em;margin:0!important;user-select:all}
.bv-ablauf{text-align:center;font-weight:700}
.bv-wartet{text-align:center;color:var(--mut,#5f686e)}
/* Rechte */
.bv-r{border:0;padding:0;margin:4px 0;display:grid;gap:6px}.bv-r legend{font-weight:800;margin-bottom:4px}
.bv-opt{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line,#dde3e0);border-radius:12px;padding:10px;cursor:pointer;min-height:48px;box-sizing:border-box}
.bv-opt.an{border-color:#fbb900;background:var(--glow,#fff4cc)}
.bv-opt input{width:22px;height:22px;margin:2px 0 0;flex:0 0 auto}.bv-opt span{display:grid;gap:2px}.bv-opt small{color:var(--mut,#5f686e)}
/* Code abtippen */
.bv-code-f{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end}
.bv-code-f label{display:grid;gap:4px;flex:1 1 200px;font-weight:600;font-size:.92rem}
.bv-code-f input{min-height:48px;font-size:1.1rem;padding:6px 10px;border-radius:10px;border:1px solid var(--line,#dde3e0);box-sizing:border-box;width:100%;background:var(--panel,#fff);color:inherit}
.bv-code-f input[name="code"]{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.06em;text-transform:uppercase}
.bv-code-f button{min-height:48px}
/* Nachrichten */
.bv-chat{display:grid;gap:8px;min-width:0}
.bv-ml{list-style:none;margin:0;padding:4px 0;display:grid;gap:8px;max-height:52vh;overflow:auto;overscroll-behavior:contain}
.bv-m{display:grid;justify-items:start;gap:2px;max-width:88%}
.bv-m.mein{justify-self:end;justify-items:end}
.bv-mb{background:var(--panel2,#f2f3ee);border:1px solid var(--line,#dde3e0);border-radius:14px 14px 14px 4px;padding:8px 12px;overflow-wrap:anywhere;min-width:0}
.bv-m.mein .bv-mb{background:var(--glow,#fff4cc);border-color:#fbb900;border-radius:14px 14px 4px 14px}
.bv-m.wartet .bv-mb{opacity:.7;border-style:dashed}
.bv-mb p{margin:2px 0}.bv-m small{color:var(--mut,#5f686e);font-size:.76rem}
.bv-img{display:block;max-width:100%;max-height:300px;border-radius:10px;margin-top:6px}
.bv-eing{display:grid;gap:6px}
.bv-eing textarea,.bv-notiz textarea{width:100%;box-sizing:border-box;min-height:64px;font:inherit;font-size:1rem;padding:8px 10px;border-radius:12px;border:1px solid var(--line,#dde3e0);background:var(--panel,#fff);color:inherit;resize:vertical}
.bv-eing-k{display:flex;gap:8px;flex-wrap:wrap}.bv-eing-k>*{flex:1 1 130px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.bv-bezug{margin:0}.bv-ro{color:var(--mut,#5f686e)}
.bv-karte details,.bv-fragen details{border:1px solid var(--line,#dde3e0);border-radius:14px;padding:8px 10px;margin:6px 0;min-width:0}
.bv-karte summary,.bv-fragen summary{cursor:pointer;min-height:40px;display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center}
.bv-vorschau-z{flex:1 1 100%;font-size:.85rem;color:var(--mut,#5f686e);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bv-mailcb{display:flex;gap:8px;align-items:center;margin-top:8px;font-size:.9rem}
.bv-mailcb input{width:22px;height:22px}
.bv-el{list-style:none;padding:0;margin:6px 0;display:grid;gap:6px}.bv-el li{border-left:3px solid var(--line,#dde3e0);padding-left:8px;overflow-wrap:anywhere}
.bv-el li.wartet{border-left-color:#fbb900}
/* Vor-Ort-Aufnahme (Hof-App, Berater-Modus) */
.bv-vo-karte{border:2px solid #fbb900;display:grid;gap:8px}
.bv-vo-karte h2{margin:0}.bv-stand{font-weight:700;margin:0}
.bv-kgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
@media (min-width:700px){.bv-kgrid{grid-template-columns:repeat(4,1fr)}}
.bv-kn{display:grid;align-content:center;gap:2px;min-height:64px;padding:10px;border-radius:14px;border:1px solid var(--line,#dde3e0);background:var(--panel2,#f6f4ee);color:inherit;font:inherit;font-weight:800;text-decoration:none;text-align:center;cursor:pointer;box-sizing:border-box}
.bv-kn small{font-weight:600;color:var(--good,#1a6e3e)}
.bv-notiz{display:grid;gap:8px}.bv-notiz label{display:grid;gap:4px;font-weight:600}
.bv-notiz select{min-height:48px;border-radius:10px;border:1px solid var(--line,#dde3e0);font:inherit;padding:4px 8px;background:var(--panel,#fff);color:inherit}
.bv-ueb-k{margin-top:4px}
.bv-sfrage{margin:8px 0;min-height:48px;width:100%}
.bv-neu-hin{border-left:6px solid #fbb900;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}
.bv-neu-hin p{margin:0;font-weight:700}
.bv-login-hin{font-weight:700}
.bv-was ul,.bv-vorschau ul{margin:4px 0;padding-left:20px}.bv-vorschau{background:var(--panel2,#f6f4ee);border-radius:12px;padding:8px 12px}
.bv-konf li{overflow-wrap:anywhere;font-size:.9rem}
/* Cockpit-Bereich */
.bv-bereich{display:grid;gap:10px}.bv-gross2{display:grid;gap:4px}
.bv-bereich h3{margin:8px 0 0}
.bv-ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}.bv-ol>li{border:1px solid var(--line,#dde3e0);border-radius:14px;padding:10px;display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
.bv-ol .akt{display:flex;flex-wrap:wrap;gap:8px}.bv-ol .akt>*{flex:1 1 150px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.bv-hin{font-weight:700}
.bv-scanhin{margin:0}
