/* Current Books only; the spreadsheet's cell widths, virtual row geometry,
   selections, keyboard model and native financial state remain authoritative. */
html[data-bleu-unified] #shell #content[data-onbleu-books] .bk.bkc-ready .bk-head{--font-ui:Geist,system-ui,sans-serif;font-family:var(--font-ui);display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title actions" "tabs tabs";gap:12px 16px;align-items:start;min-width:0;max-width:100%}
html[data-bleu-unified] #shell #content[data-onbleu-books] .bk.bkc-ready .bk-titles{grid-area:title;min-width:0}
html[data-bleu-unified] #shell #content[data-onbleu-books] .bk.bkc-ready .bk-tabs{grid-area:tabs;justify-self:start;max-width:100%;overflow-x:auto}
html[data-bleu-unified] #shell #content[data-onbleu-books] .bk.bkc-ready .bk-hact{grid-area:actions;align-items:center;flex-wrap:wrap;justify-content:flex-end}
html[data-bleu-unified] #shell #content[data-onbleu-books] .bk.bkc-ready .bk-sub{font-size:13px;line-height:1.45;max-width:70ch}
#content .bk.bkc-ready .bk-count::after{content:" loaded";font-size:12px;font-weight:400}
#content .bk.bkc-ready .bk-tools{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px 16px;overflow:visible;padding:0}
#content .bk.bkc-ready .ob-query,#content .bk.bkc-ready .ob-secondary{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
#content .bk.bkc-ready .ob-query{flex:1 1 380px;min-width:0}
#content .bk.bkc-ready .ob-secondary{flex:0 1 auto}
#content .bk.bkc-ready .bkc-find{display:inline-flex;justify-content:flex-start;gap:8px;min-width:200px;max-width:100%;padding:10px 12px;font-size:14px;white-space:normal}
#content .bk.bkc-ready :is(.bk-tools button,.bk-tools select,.bk-tools summary,.bk-hact button,.bk-tabs [role=tab],.bk-tools .bk-sel){min-height:44px}
#content .bk.bkc-ready :is(.bk-ib,.bk-chip button){min-width:44px}
#content .bk.bkc-ready .bk-chip{height:auto;min-height:44px;white-space:normal;max-width:100%}
#content .bk.bkc-ready .bk-chip button{height:44px;flex:none}
#content .bk.bkc-ready .bk-sel{height:auto;max-width:100%;min-width:0}
#content .bk.bkc-ready .bk-sel select{height:42px;min-width:0;max-width:100%}
#content .bk.bkc-ready .bkc-results{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 16px;padding:4px 0 10px;border-bottom:1px solid var(--hairline);font:400 13px/1.5 var(--font-ui,var(--sans));color:var(--stone);font-variant-numeric:tabular-nums}
#content .bk.bkc-ready .bkc-result-count{font-weight:600;color:var(--ink)}
#content .bk.bkc-ready .bkc-native-scope{font-size:12px!important}
#content .bk.bkc-ready .bkc-history{position:relative}
#content .bk.bkc-ready .bkc-history>summary{display:flex;align-items:center;cursor:pointer;padding:8px 12px;border:1px solid var(--field-border);border-radius:8px;background:var(--card);font-size:13px}
#content .bk.bkc-ready .bkc-history>.bkc-popover{position:absolute;right:0;z-index:30;min-width:220px;max-width:calc(100vw - 32px);padding:12px;background:var(--sheet);border:1px solid var(--field-border);border-radius:10px;box-shadow:0 10px 30px #071a3d18}
#content .bk.bkc-ready .bkc-history>.bkc-popover>*{display:block;width:100%;margin:0 0 8px;text-align:left}
#content .bk.bkc-ready .bkc-source-review{flex:1 1 100%;min-width:0;border-block:1px solid var(--hairline);font-size:13px;line-height:1.5}
#content .bk.bkc-ready .bkc-source-review>summary{min-height:44px;display:list-item;align-content:center;cursor:pointer;color:var(--stone)}
#content .bk.bkc-ready .bkc-source-review>.bkc-popover{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;padding:0 0 12px}
#content .bk.bkc-ready .fd-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:0;padding:0;border:0;background:transparent}
#content .bk.bkc-ready .fd-tools p{flex:1 1 320px;font-size:13px;line-height:1.5;margin:0}
#content .bk.bkc-ready .fd-tools button{min-height:44px}
#content .bk.bkc-ready .bs-status{flex:none;min-height:32px;padding:6px 10px;gap:8px;flex-wrap:wrap;font-size:12px;line-height:1.4}
#content .bk.bkc-ready .bs-find{flex-wrap:wrap;gap:8px}
#content .bk.bkc-ready .bs-find-q{min-height:44px;flex:1 1 180px;min-width:0;max-width:none}
#content .bk.bkc-ready .bs-find .bs-ib{min-height:44px;min-width:44px}
#content .bk.bkc-short-sheet:not(.is-full):not(:has(.bk-main.has-side)){height:auto;min-height:0}
#content .bk.bkc-short-sheet:not(.is-full):not(:has(.bk-main.has-side)) .bk-panel{flex:none}
#content .bk.bkc-short-sheet:not(.is-full):not(:has(.bk-main.has-side)) .bk-main{flex:none;height:var(--bkc-grid-height,280px);min-height:0}
#content .bk.bkc-ready :is(.bkc-history>summary,.bkc-source-review>summary,.bkc-find):focus-visible{outline:2px solid var(--bleu);outline-offset:3px}
@media(max-width:760px){html[data-bleu-unified] #shell #content[data-onbleu-books] .bk.bkc-ready .bk-head{grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "actions" "tabs";gap:10px}html[data-bleu-unified] #shell #content[data-onbleu-books] .bk.bkc-ready .bk-hact{justify-content:flex-start}#content .bk.bkc-ready .ob-query,#content .bk.bkc-ready .ob-secondary{flex:1 1 100%}#content .bk.bkc-ready .bkc-find{flex:1 1 180px}#content .bk.bkc-ready .bkc-results{font-size:12px}#content .bk.bkc-ready .bkc-history>.bkc-popover{left:0;right:auto}}

html[data-bleu-unified] #shell #content[data-onbleu-books] .bk.bkc-ready .bk-head :is(h1,p,button,a,[role=tab],.bk-count){font-family:var(--font-ui);line-height:1.4}
html[data-bleu-unified] #shell #content[data-onbleu-books] .bk.bkc-ready h1.view.bk-h1{line-height:1.2}
/* Match the existing native workspace owner specificity; preserve its grid. */
html[data-bleu-unified] #shell #content[data-onbleu-books] .bk.bkc-ready .ob-toolbar{padding-bottom:0;margin-block:0}
html[data-bleu-unified] #shell #content[data-onbleu-books] .bk.bkc-ready .bk-panel{padding-top:8px;gap:8px}
html[data-bleu-unified] #shell #content[data-onbleu-books] .bk.bkc-ready .bkc-results{padding:0 0 8px}
@media(max-width:760px){html[data-bleu-unified] #shell #content[data-onbleu-books] .bk.bkc-ready .bk-tools :is([data-bk-undo],[data-bk-redo]):disabled{display:none}}
