/* ob-v35 additions only: sign-in extras, account menu, Team Hub frame, staff chrome, Permissions screen. */
#login .rem{display:flex;gap:.5rem;align-items:center;margin:.5rem 0;font-size:.9rem}
#login .rem input{width:auto;margin:0}
.acctwrap{position:relative;display:inline-block}
#acct{white-space:nowrap}
.acctpop{position:absolute;right:0;top:100%;z-index:50;background:var(--bg,#fff);border:1px solid #cbd5e1;border-radius:8px;padding:.35rem;min-width:11rem;box-shadow:0 6px 18px rgba(0,0,0,.15);display:flex;flex-direction:column;gap:.25rem}
.acctpop[hidden]{display:none}
.acctpop button{text-align:left;width:100%}
.hubframe{display:block;width:100%;height:calc(100vh - var(--hdr,96px));border:0;background:#fff}
#staff .hubframe{height:calc(100vh - 3rem)}
#staff[hidden]{display:none}
.shdr{display:flex;gap:.6rem;align-items:center;padding:.5rem .8rem;background:#0f172a;color:#fff;height:3rem;box-sizing:border-box}
.shdr .sp{flex:1}.shdr button{background:#334155;color:#fff;border:0;border-radius:6px;padding:.35rem .6rem;cursor:pointer}
.permroot{max-width:1100px;margin:1rem auto;padding:0 .8rem;font-size:.95rem}
.permroot h2{margin:1.2rem 0 .4rem}
.permroot table{border-collapse:collapse;width:100%;background:var(--bg,#fff)}
.permroot th,.permroot td{border:1px solid #cbd5e1;padding:.4rem .5rem;text-align:left;vertical-align:top}
.permroot select,.permroot input{font:inherit}
.permroot .pill{display:inline-block;border-radius:999px;padding:0 .5rem;font-size:.75rem;background:#e2e8f0;color:#0f172a;margin-left:.3rem}
.permroot .pill.warn{background:#fee2e2;color:#991b1b}
.permroot .mods{background:#f8fafc}
.permroot .row-actions button{margin:.1rem .2rem .1rem 0}
.permroot .msg{min-height:1.2em;margin:.4rem 0}.permroot .msg.err{color:#b91c1c}.permroot .msg.ok{color:#166534}
.permroot ul.log{list-style:none;padding:0;margin:0;max-height:22rem;overflow:auto;border:1px solid #cbd5e1}
.permroot ul.log li{padding:.3rem .5rem;border-bottom:1px solid #e2e8f0;font-size:.85rem}
.permroot .card{border:1px solid #cbd5e1;border-radius:8px;padding:.7rem;margin:.6rem 0;background:var(--bg,#fff)}
.dark .permroot table,.dark .permroot .card,.dark .acctpop{background:#0f172a;color:#e2e8f0}
