/* Operational forms share the panel's typography and keyboard navigation. */
.fv-avatar { display:inline-grid; place-items:center; width:2rem; height:2rem; border-radius:50%; background:#e1eff2; color:#175267; font-size:.9rem; font-weight:700 }
.fv-stack { display:grid; gap:1.3rem; min-width:0 }
.fv-panel { border:1px solid #d7e2e6; border-radius:14px; background:#fff; color:#183442 }
.fv-card { padding:clamp(1rem,3vw,2rem) }
.fv-card h2,.fv-heading { font-size:1.15rem; font-weight:700; letter-spacing:-.02em }
.fv-tabs { display:flex; gap:.5rem; flex-wrap:wrap; border-bottom:1px solid #d7e2e6 }
.fv-tabs a { padding:.65rem 1rem; border-bottom:3px solid transparent; color:#546c79; font-weight:600 }
.fv-tabs a[aria-current] { color:#15576b; border-color:#15576b }
.fv-grid,.fv-facts { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap:1rem }
.fv-toolbar,.fv-inline { display:flex; align-items:center; flex-wrap:wrap; gap:.75rem }
.fv-toolbar { justify-content:space-between }
.fv-stack label,.fv-card label { display:grid; gap:.35rem; font-size:.9rem; font-weight:600 }
.fv-stack :is(input,select,textarea) { min-width:0; max-width:100%; background:white; color:#173645; border:1px solid #aebfc7; border-radius:7px; padding:.65rem .8rem; font:inherit; font-weight:400 }
.fv-stack :is(input,select,textarea):focus-visible,.fv-stack :is(a,button,summary):focus-visible { outline:3px solid #308498; outline-offset:2px }
.fv-stack :is(button,a).fv-primary,.fv-stack :is(button,a).fv-secondary { display:inline-flex; justify-content:center; align-items:center; padding:.65rem 1rem; border-radius:7px; cursor:pointer; font-size:.9rem; font-weight:650; text-decoration:none; line-height:1.4 }
.fv-primary { color:white; background:#15576b; border:1px solid #15576b }
.fv-secondary { color:#245063; border:1px solid #b3c6ce; background:white }
.fv-primary:hover { background:#10495b }
.fv-secondary:hover { background:#eef5f7 }
.fv-stack button:disabled { opacity:.55; cursor:default }
.fv-link,.fv-stack summary { color:#14586d; text-decoration:underline; text-underline-offset:3px; cursor:pointer }
.fv-muted,.fv-facts dt { color:#546c79; font-size:.88rem; font-weight:400 }
.fv-facts dt { margin-bottom:.2rem }
.fv-amount,.fv-facts dd { font-variant-numeric:tabular-nums }
.fv-table-wrap { overflow:auto }
.fv-table { width:100%; text-align:left; border-collapse:collapse; font-size:.9rem }
.fv-table :is(td,th) { padding:.85rem 1rem; border-bottom:1px solid #e3ebee }
.fv-table th { color:#506873; background:#f4f8fa; font-weight:650 }
.fv-table tr:last-child td { border:0 }
.fv-table .fv-empty { padding:2.5rem; text-align:center; color:#516774 }
.fv-card label.fv-upload { padding:1.2rem; border:1px dashed #8daab6; border-radius:10px; background:#f7fafb }
.fv-upload input { background:transparent; border:none; padding:.4rem 0 }
.fv-upload ::file-selector-button { background:white; color:#245063; padding:.4rem .7rem; border:1px solid #b3c6ce; border-radius:5px; margin-right:.7rem }
.fv-divider,.fv-line { border-top:1px solid #dce6ea }
.fv-line { padding-top:1rem; display:grid; gap:.45rem }
.fv-status { display:inline-block; border-radius:6px; padding:.2rem .55rem; background:#e8eff3; color:#264a60; font-size:.82rem; font-weight:650; white-space:nowrap }
.fv-status[data-state=sent],.fv-message { background:#e4f2ea; color:#21573e }
.fv-status:is([data-state=review],[data-state=uncertain],[data-state=unreadable]),.fv-alert { background:#fff1d9; color:#78480b }
.fv-message,.fv-alert { padding:.8rem 1rem; border-radius:8px }
.fv-issues { margin-left:1.25rem; list-style:disc; color:#754811 }
.fv-inset { padding:1rem 0 }
.fv-facts dd,.fv-line strong,.fv-alert { overflow-wrap:anywhere }
@media(max-width:600px){.fv-table :is(th,td){padding:.65rem}.fv-card{padding:1rem}.fv-stack{gap:1rem}}
