/* Small accessibility and live-state additions to the approved v2 template. */
:root { --live-error: #b0261f; --live-focus: #1a55a6; }
[hidden] { display: none !important; }
button:not(:disabled),a,input,select { touch-action: manipulation; }
button:disabled { cursor: not-allowed; }
.error { color: var(--live-error); }
.feeedit { width: 70px; min-height: 40px; }
.feetable { font-size: 12px; }
.feetable th,.feetable td { padding: 5px; }
#bookStamp { overflow-wrap: anywhere; }
#refreshPair { margin: 8px 0; min-height: 44px; }
#spotEx { max-width: 170px; }
#liveState { min-height: 2em; }
#s-settings .f:last-child { align-self: start; }
#s-settings .f:has(#feeTable) { grid-column: 1 / -1; }
#s-settings .f:has(#feeTable) .ctl { overflow-x:auto; }
.res tr[tabindex] { cursor: pointer; }
.res tr[tabindex]:focus-visible { outline: 2px solid var(--live-focus); outline-offset: -2px; }
#favList .linkbtn { min-height: 44px; }
@media (max-width: 719px) {
 .chip,.quick button,.step,.seg button,.star,.linkbtn { min-height: 44px; }
 .chip { min-width: 70px; }
 .star { min-width: 44px; }
 .opts { flex-wrap: wrap; }
 .opts label { min-width: 130px; }
 .card { cursor: pointer; }
 .gbtn { min-width: 0; }
 footer nav { flex-wrap: wrap; }
 .feeedit { width: 62px; }
}
.res .error { white-space: normal; max-width: 100px; display: inline-block; }
.res td { padding: 8px 6px; }
.two > div { min-width: 0; }
.verdict { display: block; }
.verdict > .vd { font-size: 19px; margin-bottom: 6px; }
.verdict > .vd svg { width: 28px; height: 28px; }
.verdict p+p { margin-top: 10px; }
@media (max-width: 719px) {
 .select { min-height: 44px; }
 .ledger { table-layout: fixed; }
 .ledger td:first-child { width: 55%; }
 .ledger td.v { white-space: normal; overflow-wrap: anywhere; }
 .ledger tr.total td.v { font-size: 18px; }
 .stat b { font-size: 18px; }
 .back { min-height: 44px; }
}
.list li > span { min-width: 0; }
.list li small { display: block; color: var(--muted); }
@media (max-width: 719px) {
 .top .logo,.top .cta-top { min-height: 44px; }
 footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
 .feetable,.feetable tbody { display: block; }
 .feetable tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding-bottom: 12px; }
 .feetable tr:first-child { display: none; }
 .feetable th { grid-column: 1 / -1; }
 .feetable td { display: grid; gap: 4px; text-align: left; border: 0; padding: 0; }
 .feetable td::before { content: attr(data-label); color: var(--muted); }
 .feeedit { width: 100%; min-height: 44px; }
}
.res td > small { display: block; font-size: 11px; }
