/* Additions to the owner-approved board CSS (board-list.css / board-card.css, extracted verbatim). Only what the boards do not contain:
   the sign-in card (built from board classes and variables), the amber error toast, the red refusal line of the invoice form, and narrow-screen scrolling.
   No new colours: every value is a board variable. */
#app{display:block}
.lgw{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:20px}
.lgcard{width:400px;max-width:100%;border-radius:14px;background:var(--panel);border:1px solid var(--line);box-shadow:0 24px 60px rgba(0,0,0,.45);padding:24px;display:flex;flex-direction:column;gap:14px}
.lgcard h1{margin:0;font-size:20px;font-weight:600;color:var(--tx)}
.lgcard p{margin:0;color:var(--sub);font-size:13px;line-height:1.5}
.lgcard .btn{height:36px;justify-content:center}
.lgerr{min-height:18px;font-size:12.5px;color:var(--bad)}
.toast.na .ok{background:var(--wk);color:var(--bg)}
.ufn.bad{color:var(--bad)}
.btn[aria-disabled="true"]{cursor:not-allowed}
/* Narrow screens (the boards are desktop-only): nothing is clipped; wide tables scroll sideways inside their block,
   the page may scroll vertically. Desktop (> 900 px) keeps the boards' exact fixed-height layout. */
@media (max-width:900px){
  .pg{height:auto;min-height:100vh;overflow:visible}
  .top,.tb,.hdr,.obar,.osend,.hm,.acct{flex-wrap:wrap;height:auto;row-gap:8px}
  .top{padding-top:8px;padding-bottom:8px}
  .main{flex:none;overflow:visible}
  .tbl{flex:none;max-height:72vh;overflow-x:auto}
  .tbl .th,.tbl .body,.tbl .foot{min-width:1100px}
  .mr{flex:none;flex-direction:column}
  .ml2{flex:none;width:100%;max-height:300px;overflow-x:auto}
  .ml2 .lh,.ml2 .lcols,.ml2 .ll,.ml2 .foot{min-width:560px}
  .mf{flex:none;width:100%;min-height:560px;overflow-x:auto}
  .mf>*{min-width:600px}
  .ofull{flex:none;overflow:auto}
  .dcs,.dcl{min-width:0}
  .drw,.updr,.mdl{width:min(440px,100vw);max-width:100vw}
  .toast{max-width:calc(100vw - 24px);white-space:normal}
  .pills{flex-wrap:wrap}                                  /* six status pills would widen the page and push the drawers off the screen */
}
@media (max-width:900px){
  .tbl .empty{position:sticky;left:0;width:calc(100vw - 48px);padding-left:12px;padding-right:12px}
}
.pg .toast{background:#3a3a3c;color:#f5f5f7;border:1px solid rgba(255,255,255,.12);animation:none}   /* the list board's dark toast, for the card family too */
