/* case-board.css v1.2.1 (2026-11-24, Joseph: "the new button is not aligned to grid": the pin badge stays inside the title-bar button border) v1.2 (2026-11-24: .cb-open = the Case Board button in the Cases title bar, record-screen.js v7.2) v1.1 (2026-11-17, on the client tab: smaller side margins, keeps its frame inside the tab's plain-button rule) v1.0 (2026-11-17, Joseph: the Case Board): the logo + pin button on the Client Info Bar and its list. Theme colours (--t-*) as the user menu. */
.cb-btn{position:relative;flex:0 0 auto;align-self:center;width:34px;height:34px;margin:0 8px 0 4px;padding:0;display:grid;place-items:center;border:1px solid var(--t-border);border-radius:8px;background:var(--t-surface);cursor:pointer;box-shadow:0 1px 2px #0002}
.cb-btn:hover,.cb-btn[aria-expanded=true]{border-color:var(--t-accent);background:var(--t-selected)}
.cb-btn:focus-visible{outline:2px solid var(--t-accent);outline-offset:2px}
.cb-btn>.cb-logo,.cb-btn>.cb-pin{width:22px;height:22px}
.cb-badge{position:absolute;right:-5px;bottom:-5px;width:16px;height:16px;border-radius:50%;background:var(--t-surface);display:grid;place-items:center;box-shadow:0 0 0 1px var(--t-border)}
.cb-badge .cb-pin{width:12px;height:12px}
.cb-menu{position:fixed;z-index:120;width:260px;max-width:calc(100vw - 16px);overflow:auto;padding:6px 0;border:1px solid var(--t-border);border-radius:9px;background:var(--t-surface);color:var(--t-text);box-shadow:0 15px 55px #0005}
.cb-head{display:flex;align-items:center;gap:8px;padding:6px 14px 8px;border-bottom:1px solid var(--t-border);margin-bottom:4px;color:var(--t-strong);font-size:13px}
.cb-head .cb-logo{width:18px;height:18px}
.cb-item{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:transparent;border:0;border-radius:0;padding:7px 14px;font-size:12px;color:var(--t-text);cursor:pointer}
.cb-item:hover,.cb-item:focus-visible{background:var(--t-selected);outline:none}
.cb-item[disabled]{opacity:.45;cursor:default}
.cb-ic{width:18px;text-align:center;color:var(--t-accent)}
.cb-menu hr{border:0;border-top:1px solid var(--t-border);margin:5px 0}
.cb-wait{margin:8px 14px;font-size:12px;color:var(--t-muted)}
#clientStrip .client-slot .cb-btn.cb-on-tab{margin:0 2px 0 10px;width:30px;height:30px;padding:0;border:1px solid var(--t-border);border-radius:8px;background:var(--t-surface);box-shadow:0 1px 2px #0002}
#clientStrip .client-slot .cb-btn.cb-on-tab:hover,#clientStrip .client-slot .cb-btn.cb-on-tab[aria-expanded=true]{border-color:var(--t-accent);background:var(--t-selected)}
/* v1.2: the Case Board button in the Cases title bar: a normal title-bar button holding the same icon */
.cb-open{position:relative;display:inline-grid;place-items:center}
.cb-open>.cb-logo,.cb-open>.cb-pin{width:18px;height:18px;display:block}
.cb-open .cb-badge{right:3px;bottom:3px;width:12px;height:12px}
.cb-open .cb-badge .cb-pin{width:9px;height:9px}
