.bkApp{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100dvh;background:var(--bg,#edf3f8);color:var(--text,#15304a)}.bkSidebar{padding:24px 16px;background:var(--panel,#fff);border-right:1px solid var(--line,#dbe5ee);display:flex;flex-direction:column;gap:32px;position:sticky;top:0;height:100dvh}.bkBrand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text,#15304a);font-size:11px;font-weight:900;letter-spacing:.02em}.bkBrand img{width:42px;height:42px;border-radius:12px}.bkBrand small{display:block;color:var(--muted,#687d90);font-size:10px;letter-spacing:.12em;margin-top:5px}.bkNav{display:grid;gap:5px}.bkNav button{border:0;background:transparent;color:var(--muted,#687d90);padding:13px 14px;min-height:48px;border-radius:12px;display:flex;align-items:center;gap:12px;text-align:left;font:inherit;font-size:13px;font-weight:750;cursor:pointer}.bkNav svg,.bkMobile svg,.bkTopbar svg,.bkLaunchGrid svg,.bkPrimary svg,.bkMenu svg,.bkStats svg{width:21px;height:21px;flex:0 0 auto}.bkNav button:hover,.bkNav button.active{background:var(--accent2,#e8f1fb);color:var(--accent,#1769aa)}.bkSideFoot{margin-top:auto;padding:14px;display:grid;gap:8px;font-size:12px}.bkSideFoot span{color:var(--muted,#687d90);font-size:11px}.bkMain{min-width:0}.bkTopbar{height:76px;display:flex;justify-content:space-between;align-items:center;padding:0 32px;border-bottom:1px solid var(--line,#dbe5ee);background:var(--panel,#fff)}.bkTopbar>span:first-child{display:flex;align-items:center;gap:10px}.bkPrivacy{color:var(--muted,#687d90);font-size:12px}.bkPage{padding:28px 32px 44px;max-width:1500px;margin:auto}.bkWorkspace{display:grid;gap:24px;min-width:0}.bkHero{padding:38px;border-radius:24px;background:linear-gradient(120deg,#0d2b47,#195a82);color:#fff;box-shadow:0 18px 40px #0e31501a}.bkKicker{font-size:10px;font-weight:850;letter-spacing:.14em;color:var(--muted,#6f859a)}.bkHero .bkKicker{color:#b4d8f1}.bkHero h1{font-size:clamp(30px,4vw,46px);letter-spacing:-.045em;line-height:1.08;margin:18px 0 14px;color:#fff}.bkHero p{max-width:540px;font-size:14px;line-height:1.65;color:#d2e4ef;margin:0 0 24px}.bkPrimary{display:inline-flex;align-items:center;gap:18px;min-height:48px;padding:12px 18px;border:0;border-radius:12px;background:#fff;color:#123b5b;font-weight:850;cursor:pointer}.bkStats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.bkStats>button{background:var(--panel,#fff);border:1px solid var(--line,#dbe5ee);border-radius:18px;padding:22px;text-align:left;color:inherit;cursor:pointer;display:grid;gap:12px}.bkStats>button>span{font-size:12px;color:var(--muted,#687d90)}.bkStats b{font-size:30px;line-height:1}.bkStats small{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:750;color:var(--accent,#1769aa)}.bkStats small svg{width:15px;height:15px}.bkSectionHead{margin-bottom:14px}.bkSectionHead h2{font-size:20px;margin:0 0 6px}.bkSectionHead p,.bkHeading p{color:var(--muted,#687d90);font-size:13px;line-height:1.6;margin:0}.bkLaunchGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bkLaunchGrid button{display:flex;align-items:center;gap:16px;padding:21px;border:1px solid var(--line,#dbe5ee);border-radius:16px;color:inherit;background:var(--panel,#fff);text-align:left;cursor:pointer}.bkLaunchGrid button>svg:first-child{background:var(--accent2,#e8f1fb);color:var(--accent,#1769aa);box-sizing:content-box;padding:12px;border-radius:13px}.bkLaunchGrid button>span{flex:1;display:grid;gap:6px}.bkLaunchGrid b{font-size:13px}.bkLaunchGrid small{font-size:11px;line-height:1.5;color:var(--muted,#687d90)}.bkLaunchGrid button>svg:last-child{width:16px;color:var(--muted,#687d90)}.bkHeading{display:flex;justify-content:space-between;align-items:center;gap:20px}.bkHeading h1{font-size:30px;line-height:1.15;letter-spacing:-.035em;margin:9px 0 10px}.bkReadOnly,.bkStatus{font-size:10px;font-weight:800;border-radius:99px;padding:7px 10px;display:inline-block;background:var(--accent2,#e8f1fb);color:var(--accent,#1769aa);white-space:nowrap}.bkReadOnly{background:var(--panel,#fff);color:var(--muted,#687d90);border:1px solid var(--line,#dbe5ee)}.bkStatus.bkGood{background:#e3f4ec;color:#167653}.bkToolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.bkToolbar label{font-size:12px;font-weight:750}.bkToolbar input{min-width:180px;max-width:420px;flex:1;min-height:46px;margin:0!important}.bkToolbar select{width:auto!important;min-width:150px;margin:0!important;min-height:44px}.bkToolbar>span{color:var(--muted,#687d90);font-size:12px;margin-left:auto}.bkPanel{background:var(--panel,#fff);border:1px solid var(--line,#dbe5ee);border-radius:18px;overflow:hidden;padding:0}.bkTableWrap{overflow-x:auto;max-width:100%}.bkTable{width:100%;border-collapse:collapse;font-size:12px;min-width:590px}.bkTable th{text-align:left;color:var(--muted,#687d90);font-size:10px;text-transform:uppercase;letter-spacing:.08em;padding:16px 20px;border-bottom:1px solid var(--line,#dbe5ee);background:var(--panel2,#f6f9fc)}.bkTable td{padding:18px 20px;border-bottom:1px solid var(--line,#dbe5ee);vertical-align:middle}.bkTable tr:last-child td{border-bottom:0}.bkTextLink{background:transparent;border:0;color:var(--accent,#1769aa);font:inherit;font-weight:800;text-align:left;padding:8px 0;cursor:pointer;min-height:40px}.bkDetails{padding:24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.bkDetails div{display:grid;gap:8px;overflow-wrap:anywhere}.bkDetails span{font-size:11px;color:var(--muted,#687d90)}.bkDetails b{font-size:14px}.bkEmpty{text-align:center;padding:48px 24px;color:var(--muted,#687d90)}.bkEmpty svg{width:32px;height:32px;color:var(--accent,#1769aa);margin-bottom:12px}.bkEmpty h2{font-size:18px;margin:0 0 8px;color:var(--text,#15304a)}.bkEmpty p{font-size:12px;line-height:1.6;margin:0}.bkMuted{font-size:11px;color:var(--muted,#687d90)}#bkPayroll>.bkToolbar{padding:18px 20px;border-bottom:1px solid var(--line,#dbe5ee)}#bkPayrollRetry{margin:0 24px 24px}.bkMobile{display:none}.bkMenu{border:1px solid var(--line,#dbe5ee);border-radius:20px;background:var(--panel,#fff);color:var(--text,#15304a);padding:20px;width:min(460px,calc(100% - 24px));max-height:calc(100dvh - 40px);overflow:auto}.bkMenu::backdrop{background:#071b2c88}.bkMenu header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}.bkMenu h2{font-size:18px;margin:0}.bkMenu>button{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:12px;border:0;background:transparent;color:inherit;font:inherit;font-size:13px;text-align:left;cursor:pointer}.bkMenu>button span{flex:1}.bkWorkspace button:focus-visible,.bkNav button:focus-visible,.bkMobile button:focus-visible{outline:3px solid var(--accent,#1769aa);outline-offset:3px}:root[data-nm-theme="dark"] .bkStatus.bkGood,:root[data-nm-theme="black"] .bkStatus.bkGood{background:#173f35;color:#a5e5c7}@media(max-width:1000px){.bkApp{grid-template-columns:220px minmax(0,1fr)}.bkPage{padding:24px}.bkHero{padding:30px}.bkTopbar{padding:0 24px}.bkLaunchGrid{grid-template-columns:1fr}}@media(max-width:760px){.bkApp{display:block}.bkSidebar{display:none}.bkTopbar{height:64px;padding:0 18px}.bkPrivacy{font-size:10px}.bkPage{padding:18px 14px 100px}.bkHero{padding:28px 24px;border-radius:20px}.bkHero h1{font-size:34px}.bkStats{gap:8px}.bkStats>button{padding:16px 12px;border-radius:14px}.bkStats>button>span{font-size:10px;line-height:1.4;min-height:28px}.bkStats b{font-size:25px}.bkStats small{font-size:10px;gap:4px}.bkHeading{align-items:flex-start;flex-direction:column;gap:12px}.bkHeading h1{font-size:26px}.bkMobile{position:fixed;bottom:0;left:0;right:0;z-index:80;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:var(--panel,#fff);border-top:1px solid var(--line,#dbe5ee);padding:8px 8px max(10px,env(safe-area-inset-bottom))}.bkMobile button{min-height:48px;border:0;background:transparent;color:var(--muted,#687d90);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;font:inherit;font-size:9px;font-weight:750;cursor:pointer}.bkMobile button.active{color:var(--accent,#1769aa)}.bkMobile svg{width:21px;height:21px}.bkDetails{grid-template-columns:1fr;padding:20px}.bkLaunchGrid button{padding:18px}.bkToolbar input{min-width:0;width:100%;flex-basis:100%}.bkToolbar>span{margin-left:0}}@media print{.bkSidebar,.bkTopbar,.bkMobile,.bkToolbar button,.bkTextLink{display:none!important}.bkApp,.bkMain,.bkPage{display:block!important;padding:0!important;margin:0!important}.bkTable{min-width:0}.bkPanel{border-color:#bbb}.bkTable th,.bkTable td{color:#111;background:#fff}}

.bkBookTabs{display:flex;flex-wrap:wrap;gap:7px}.bkBookTabs button{border:1px solid var(--line,#dbe5ee);border-radius:10px;padding:11px 14px;min-height:44px;background:var(--panel,#fff);color:var(--muted,#687d90);font:inherit;font-size:12px;font-weight:750;cursor:pointer}.bkBookTabs button.active{color:var(--accent,#1769aa);border-color:var(--accent,#1769aa);background:var(--accent2,#e8f1fb)}.bkContextNote{font-size:12px;line-height:1.65;color:var(--muted,#687d90);margin:0}.bkFeedHead{padding:24px;display:grid;gap:16px}.bkFeedHead h2,.bkFeedHead h3,.bkFeedHead p{margin:0}.bkFeedHead>p{font-size:12px;line-height:1.65;color:var(--muted,#687d90)}#bkFinanceRetry{margin:0 24px 24px}.bkFeedHead .bkTableWrap{border:1px solid var(--line,#dbe5ee);border-radius:12px}.bkFeedHead .bkEmpty{padding:28px 14px}@media(max-width:760px){.bkBookTabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px;max-width:100%}.bkBookTabs button{flex:0 0 auto}.bkFeedHead{padding:18px}}

.bkRecordDetails summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--accent,#1769aa);font-weight:750}.bkRecordDetails dl{margin:0;min-width:210px;display:grid;gap:10px}.bkRecordDetails dl>div{display:grid;grid-template-columns:1fr 1.3fr;gap:10px}.bkRecordDetails dt{font-size:10px;color:var(--muted,#687d90)}.bkRecordDetails dd{margin:0;font-size:11px;overflow-wrap:anywhere}.bkPendingActions{padding:0 24px 24px}

/* Explicit contrast survives legacy page typography in both themes. */
body.bk-shell #page .bkWorkspace .bkHero h1{color:#fff!important}body.bk-shell #page .bkWorkspace .bkHero p{color:#d2e4ef!important}
.bk-shell .bkApp #addWorkerDoc{display:none!important}

/* Bookkeeper readability, issue 21. Presentation only; retain existing routes,
   read-only permissions, View As behavior, hidden states and financial data. */
:is(body.bk-shell,.bkOwnerPreview) .bkApp,
:is(body.bk-shell,.bkOwnerPreview) .bkMenu {
  --bk-ink:#18324b;
  --bk-muted:#52677c;
  --bk-surface:#ffffff;
  --bk-soft:#f4f7fb;
  --bk-canvas:#eef3f8;
  --bk-line:#c9d6e3;
  --bk-control-line:#7c91a6;
  --bk-accent:#135fa7;
  --bk-action-ink:#ffffff;
  --bk-selected:#e7f0fb;
  --bk-good-ink:#136444;
  --bk-good-bg:#e3f4ec;
  font-size:16px;
  line-height:1.55;
  color:var(--bk-ink);
  background:var(--bk-canvas);
}
:root:is([data-nm-theme="dark"],[data-nm-theme="black"]) :is(body.bk-shell,.bkOwnerPreview) .bkApp,
:root:is([data-nm-theme="dark"],[data-nm-theme="black"]) :is(body.bk-shell,.bkOwnerPreview) .bkMenu {
  --bk-ink:#ecf3f9;
  --bk-muted:#b2c3d4;
  --bk-surface:#14283a;
  --bk-soft:#1a3248;
  --bk-canvas:#0d1c2b;
  --bk-line:#536b80;
  --bk-control-line:#6d859b;
  --bk-accent:#a6d2ff;
  --bk-action-ink:#0d1c2b;
  --bk-selected:#203f5d;
  --bk-good-ink:#a5e5c7;
  --bk-good-bg:#173f35;
}
:is(body.bk-shell,.bkOwnerPreview) .bkApp :is(.bkSidebar,.bkTopbar,.bkPanel,.bkMobile),
:is(body.bk-shell,.bkOwnerPreview) .bkApp :is(.bkStats,.bkLaunchGrid)>button,
:is(body.bk-shell,.bkOwnerPreview) .bkMenu {
  background:var(--bk-surface);
  border-color:var(--bk-line);
  color:var(--bk-ink);
}
:is(body.bk-shell,.bkOwnerPreview) .bkApp :is(.bkBrand,.bkEmpty h2,.bkDetails b) {color:var(--bk-ink);}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkBrand {font-size:14px;line-height:1.4;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkBrand small {font-size:14px;letter-spacing:.07em;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp :is(.bkNav button,.bkSideFoot,.bkSideFoot span,.bkTopbar,.bkPrivacy) {font-size:16px;line-height:1.5;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp :is(.bkSideFoot span,.bkPrivacy,.bkKicker,.bkSectionHead p,.bkHeading p,.bkLaunchGrid small,.bkStats>button>span,.bkDetails span,.bkEmpty p,.bkMuted,.bkContextNote,.bkFeedHead>p,.bkToolbar>span,.bkRecordDetails dt) {color:var(--bk-muted);}
:is(body.bk-shell,.bkOwnerPreview) .bkApp :is(.bkKicker,.bkStats small,.bkLaunchGrid small,.bkDetails span,.bkMuted,.bkRecordDetails dt) {font-size:14px;line-height:1.55;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkKicker {letter-spacing:.08em;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp :is(.bkSectionHead p,.bkHeading p,.bkHero p,.bkStats>button>span,.bkLaunchGrid b,.bkDetails b,.bkEmpty p,.bkContextNote,.bkFeedHead>p,.bkToolbar label,.bkToolbar>span,.bkRecordDetails dd) {font-size:16px;line-height:1.6;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkHero .bkKicker {color:#b4d8f1;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkStats small,
:is(body.bk-shell,.bkOwnerPreview) .bkApp :is(.bkTextLink,.bkRecordDetails summary,.bkLaunchGrid button>svg:first-child) {color:var(--bk-accent);}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkNav button {color:var(--bk-muted);}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkNav button:is(:hover,.active),
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkBookTabs button.active {
  color:var(--bk-accent);
  background:var(--bk-selected);
}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkLaunchGrid button>svg:first-child {background:var(--bk-selected);}
:is(body.bk-shell,.bkOwnerPreview) .bkApp :where(button,input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea),
:is(body.bk-shell,.bkOwnerPreview) .bkMenu button {
  min-height:48px;
  font-size:16px;
  line-height:1.45;
}
/* Match the existing shared .btn specificity without changing other pages. */
:is(body.bk-shell,.bkOwnerPreview) .bkApp #page :is(button,input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea) {font-size:16px!important;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp :where(.btn:not(.primary):not(.green):not(.red),input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea),
:is(body.bk-shell,.bkOwnerPreview) .bkMenu .btn {
  color:var(--bk-ink);
  background:var(--bk-surface);
  border-color:var(--bk-control-line);
}
:is(body.bk-shell,.bkOwnerPreview) .bkApp :is(.btn:not(:disabled):hover,.bkBookTabs button:hover),
:is(body.bk-shell,.bkOwnerPreview) .bkMenu button:not(:disabled):hover {background:var(--bk-soft);}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkPrimary {color:#123b5b;background:#fff;padding:14px 20px;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .btn.primary {color:var(--bk-action-ink);background:var(--bk-accent);border-color:var(--bk-accent);}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkToolbar {gap:14px;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkToolbar label {color:var(--bk-ink);}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkToolbar :is(input,select) {max-width:100%;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkBookTabs {gap:10px;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkBookTabs button {color:var(--bk-muted);background:var(--bk-surface);border-color:var(--bk-line);padding:12px 16px;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp :is(.bkReadOnly,.bkStatus) {
  font-size:14px;
  font-weight:800;
  line-height:1.5;
  padding:8px 12px;
  white-space:normal;
  overflow-wrap:anywhere;
  color:var(--bk-accent);
  background:var(--bk-selected);
}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkReadOnly {color:var(--bk-muted);background:var(--bk-surface);border-color:var(--bk-line);}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkStatus.bkGood {color:var(--bk-good-ink);background:var(--bk-good-bg);}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkTableWrap {max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkTable {font-size:16px;line-height:1.55;min-width:640px;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkTable th {font-size:14px;line-height:1.5;letter-spacing:.04em;color:var(--bk-muted);background:var(--bk-soft);padding:16px 20px;border-color:var(--bk-line);}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkTable td {font-size:16px;line-height:1.55;padding:18px 20px;color:var(--bk-ink);border-color:var(--bk-line);overflow-wrap:anywhere;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkTextLink {min-height:48px;padding:10px 4px;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkRecordDetails summary {min-height:48px;padding:8px 0;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkRecordDetails dl {min-width:220px;gap:14px;padding:8px 0;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkRecordDetails dl>div {gap:16px;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp .bkEmpty {padding:42px 24px;color:var(--bk-muted);}
/* Own-profile header remains in the existing bookkeeper shell and keeps its
   existing name, role, saved rate and document actions. No preview/session rule. */
:is(body.bk-shell,.bkOwnerPreview) .bkApp #page .profileHero h2 {font-size:clamp(24px,3vw,32px);line-height:1.2;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp #page .profileHero p {font-size:16px;line-height:1.6;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp #page .profileHero :is(.eyebrow,.pill) {font-size:14px;line-height:1.5;font-weight:800;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp #page .profileHero .actionRow {flex-wrap:wrap;gap:12px;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp #page .profileInfoGrid .infoTile span {font-size:14px;line-height:1.5;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp #page .profileInfoGrid .infoTile b {font-size:16px;line-height:1.5;overflow-wrap:anywhere;}
:is(body.bk-shell,.bkOwnerPreview) .bkMenu {padding:24px;}
:is(body.bk-shell,.bkOwnerPreview) .bkMenu h2 {font-size:22px;line-height:1.3;}
:is(body.bk-shell,.bkOwnerPreview) .bkMenu>button {min-height:56px;padding:14px 12px;}
:is(body.bk-shell,.bkOwnerPreview) .bkApp :is(button,a,input,select,textarea,summary):focus-visible,
:is(body.bk-shell,.bkOwnerPreview) .bkMenu :is(button,a,input,select,textarea,summary):focus-visible {outline:3px solid var(--bk-accent)!important;outline-offset:3px;}
/* Native hidden states remain authoritative over author display rules. */
:is(body.bk-shell,.bkOwnerPreview) .bkApp [hidden],:is(body.bk-shell,.bkOwnerPreview) .bkMenu [hidden] {display:none!important;}
@media(max-width:760px) {
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkTopbar {height:auto;min-height:72px;padding:16px 18px;gap:16px;flex-wrap:wrap;}
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkPrivacy {font-size:14px;}
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkPage {padding-bottom:144px;}
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkMobile {gap:4px;padding:8px 6px max(12px,env(safe-area-inset-bottom));}
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkMobile button {font-size:14px;min-height:72px;padding:6px 2px;line-height:1.35;color:var(--bk-muted);}
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkMobile button span {max-width:100%;overflow-wrap:anywhere;}
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkMobile button.active {color:var(--bk-accent);}
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkStats>button {padding:20px 16px;}
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkStats>button>span {min-height:0;}
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkStats b {font-size:30px;}
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkStats small {gap:8px;}
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkHeading {min-width:0;}
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkBookTabs {padding:2px 3px 12px;}
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkToolbar :is(input,select) {width:100%!important;min-width:0;flex-basis:100%;}
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkRecordDetails dl>div {grid-template-columns:1fr;gap:4px;}
}
@media(max-width:520px) {
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkStats {grid-template-columns:1fr;gap:12px;}
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkStats>button {grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 20px;}
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkStats small {grid-column:1/-1;}
}
@media print {
  :is(body.bk-shell,.bkOwnerPreview) .bkApp {--bk-ink:#111;--bk-muted:#333;--bk-surface:#fff;--bk-soft:#fff;--bk-canvas:#fff;--bk-line:#aaa;}
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkTable {min-width:0;font-size:14px;}
  :is(body.bk-shell,.bkOwnerPreview) .bkApp .bkTable :is(th,td) {font-size:14px;color:#111;background:#fff;}
}
