body.books-workspace-mode { background: #fff; }
/* Documents introductions and the local proposal dialog do not expose storage controls. */
.b11-workspace .bw-top { height:auto; min-height:58px; flex-wrap:wrap; }
.b11-workspace .bw-button,.b11-folder .bw-button { white-space:normal; overflow-wrap:anywhere; }
.b11-workspace .bw-identity { overflow-wrap:anywhere; }
.b11-workspace .bw-sidebar .bw-active { background:#315fcb; color:white; }
.bw-app.b11-workspace .b11-blocked,.b11-folder .bw-button:disabled { opacity:1; color:#535d6e; border-color:#d4d8e1; background:#f3f4f7; cursor:not-allowed; }
.b11-blocked-wrap { display:inline-flex; flex-direction:column; align-items:center; gap:8px; max-width:100%; }
.b11-workspace .b11-blocked-wrap small { color:#535d6e; line-height:1.5; }
.b11-workspace .bw-main small { color:#535d6e; }
.b11-nav { display:flex; flex-direction:column; min-height:calc(100vh - 240px); gap:6px; }
.bw-app .b11-nav h2 { font-size:24px; font-weight:500; margin:12px 2px 26px; }
.b11-nav .b11-blocked-wrap { align-items:stretch; }
.b11-nav .b11-blocked-wrap small { padding:0 12px; font-size:12px; }
.b11-nav-label,.b11-folders-heading { color:#586276; font-size:12px; text-transform:uppercase; margin:22px 0 8px; }
.b11-folders-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.b11-workspace .b11-folders-heading [data-b11] { width:36px; padding:7px; flex-shrink:0; }
.b11-folders-heading .b11-blocked-wrap { flex-basis:100%; text-transform:none; }
.b11-folder-source,.b11-folder-memory { color:#535d6e; padding:6px 12px; font-size:12px; overflow-wrap:anywhere; }
.b11-folder-memory:empty { display:none; }
.b11-trash { margin-top:auto; padding-top:55px; }
.b11-source { margin:0; padding:12px 22px; border-bottom:1px solid #e5e7ed; color:#535d6e; line-height:1.5; }
.b11-title { padding:18px 22px; border-bottom:1px solid #e5e7ed; }
.b11-workspace h1,.b11-workspace h2 { overflow-wrap:anywhere; }
.b11-files { min-height:calc(100vh - 210px); padding:70px 22px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:16px; }
.bw-app .b11-files h1 { font-size:21px; margin:0; }
.b11-files p { margin:0; }
.b11-autoscan-icon .bw-icon { width:52px; height:52px; color:#343b4b; }
.b11-caption { font-size:12px; color:#535d6e; }
.b11-scroll { height:calc(100dvh - 225px); min-height:440px; overflow:auto; overscroll-behavior:contain; }
.b11-statement-intro { text-align:center; padding:62px 24px 36px; max-width:960px; margin:0 auto; }
.bw-app .b11-statement-intro h2,.bw-app .b11-diagram-band h2 { font-size:23px; font-weight:500; margin:0 0 18px; }
.b11-statement-intro>p { color:#535d6e; }
.b11-stages { counter-reset:stage; list-style:none; margin:46px auto 38px; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,7em),1fr)); max-width:660px; gap:26px; }
.b11-stages li { display:flex; flex-direction:column; align-items:center; gap:18px; position:relative; min-width:0; }
.b11-stages li>span:last-child::before { counter-increment:stage; content:counter(stage) ". "; }
.b11-stage-icon { display:flex; align-items:center; justify-content:center; width:72px; height:72px; border-radius:8px; background:#e6edf9; color:#35578d; }
.b11-stages li:nth-child(2) .b11-stage-icon { background:#e5f0eb; color:#33674f; }
.b11-stages li:nth-child(3) .b11-stage-icon { background:#f4ecdf; color:#765828; }
.b11-stage-icon .bw-icon { width:34px; height:34px; }
.b11-help { text-align:center; padding:36px 24px 42px; }
.b11-diagram-band { padding:42px 24px 48px; background:#f8f9fc; text-align:center; }
.b11-diagram-band figure { margin:34px auto 0; max-width:1000px; }
.b11-flow { display:grid; grid-template-columns:1fr 32px 2fr 32px 1fr; gap:14px; align-items:center; }
.b11-flow-sources { display:grid; gap:32px; }
.b11-flow-sources>div,.b11-flow-destination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:14px; border:1px solid #8baad5; padding:18px 12px; background:#edf4fa; border-radius:4px; }
.b11-flow-inbox { display:flex; flex-direction:column; gap:20px; border:1px solid #8baad5; border-radius:4px; padding:24px; min-height:290px; background:#f0f6fc; }
.b11-flow-inbox>span:not(.bw-icon) { padding:8px 0; border-bottom:1px solid #d2dfeb; color:#46586e; }
.b11-flow svg { width:28px; height:28px; color:#477399; }
.b11-flow-arrow { color:#477399; font-size:26px; }
.b11-diagram-band figcaption { color:#535d6e; font-size:12px; margin-top:24px; }
.b11-workspace .b11-flow * { overflow-wrap:anywhere; }
.b11-folder { box-sizing:border-box; width:min(590px,calc(100% - 24px)); max-height:calc(100dvh - 24px); padding:0; border:1px solid #d6dce6; border-radius:6px; color:#272b3d; font:14px/1.5 Arial,sans-serif; overflow:hidden; }
.b11-folder[open] { display:flex; flex-direction:column; }
.b11-folder::backdrop { background:#20253299; }
.b11-folder * { box-sizing:border-box; letter-spacing:0; }
.b11-folder header,.b11-folder footer { display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding:18px 22px; border-bottom:1px solid #e5e7ed; flex-shrink:0; }
.b11-folder header h2 { font:500 20px/1.4 Arial,sans-serif; margin:0; flex:1; }
.b11-folder svg { width:20px; height:20px; }
.b11-folder form { display:flex; flex-direction:column; min-height:0; margin:0; }
.b11-modal-body { overflow:auto; padding:20px 22px; min-height:0; }
.b11-folder label { display:block; margin:12px 0 7px; }
.b11-folder label span,.b11-folder legend span { color:#535d6e; font-size:12px; }
.b11-folder input[type=text],.b11-folder input:not([type]) { display:block; width:100%; min-width:0; padding:9px 10px; border:1px solid #b8c1d1; border-radius:4px; font:inherit; }
.b11-folder fieldset { min-width:0; margin:24px 0 16px; padding:0; border:0; }
.b11-folder fieldset label { display:flex; align-items:flex-start; gap:9px; }
.b11-folder input[type=radio] { margin:4px 0 0; width:16px; height:16px; flex-shrink:0; }
.b11-folder p,.b11-folder small { overflow-wrap:anywhere; }
.b11-folder small,.b11-folder #b11-local-note { color:#535d6e; }
.b11-folder p { color:#465164; }
.b11-info { background:#edf3fc; border-radius:6px; padding:12px; }
.b11-error { color:#a11e2e; margin:6px 0; }
.b11-error:empty { display:none; }
.b11-folder footer { border-top:1px solid #e5e7ed; border-bottom:0; background:#fff; }
.b11-folder button { font:inherit; }
.b11-folder .bw-primary { background:#315fcb; border-color:#315fcb; color:white; }
.b11-folder :focus-visible,.b11-workspace :focus-visible { outline:2px solid #315fcb; outline-offset:3px; }
@media(max-width:850px) { .b11-nav { min-height:0; }.b11-trash { padding-top:20px; }.b11-scroll { height:700px; }.b11-flow { grid-template-columns:1fr; max-width:470px; margin:auto; }.b11-flow-arrow { transform:rotate(90deg); }.b11-flow-sources { grid-template-columns:1fr 1fr; gap:16px; } }
@media(max-width:560px) { .b11-statement-intro { padding:35px 16px; }.b11-stages { gap:12px; }.b11-stage-icon { width:52px; height:52px; }.b11-stages li>span:last-child { overflow-wrap:anywhere; }.b11-diagram-band { padding:32px 16px; }.b11-source { padding:12px 16px; }.b11-folder header,.b11-folder footer,.b11-modal-body { padding:16px; }.b11-folder footer .bw-button { min-height:44px; }.b11-scroll { height:640px; } }
/* Batch 10 uses the shared shell; contained tables override global mobile cards. */
.b10-workspace .bw-top { height:auto; min-height:58px; flex-wrap:wrap; }
.b10-workspace .bw-button { white-space:normal; overflow-wrap:anywhere; }
.b10-workspace .bw-main,.b10-workspace .bw-title { min-width:0; }
.b10-workspace .bw-title { gap:14px; flex-wrap:wrap; }
.b10-workspace .bw-identity { overflow-wrap:anywhere; }
.b10-workspace .b10-note { color:#525d70; margin:12px 22px; overflow-wrap:anywhere; }
.bw-app.b10-workspace .b10-blocked { opacity:1; color:#596273; background:#f3f4f7; border-color:#d4d8e1; }
.b10-actions,.b10-controls { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.b10-controls { padding:12px 22px; }
.b10-controls label { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.b10-budget-intro { padding:105px 22px; text-align:center; }
.bw-app .b10-budget-intro h2 { font-size:24px; margin-bottom:12px; }
.b10-budget-intro .bw-button { margin:18px 0; }
.b10-form-fields { padding:16px 22px 40px; max-width:1000px; min-height:65vh; }
.b10-field { display:grid; grid-template-columns:210px minmax(0,500px); align-items:start; gap:20px; margin:18px 0; }
.b10-field>label,.b10-field>span { padding:9px 0; }
.b10-field input,.b10-field select,.b10-account-trigger { width:100%; }
.b10-field select { white-space:normal; }
.b10-account-trigger { justify-content:flex-start; border-style:dashed; }
.bw-app .b10-section-label { color:#525d70; font-size:14px; text-transform:uppercase; margin:40px 0 20px; }
.b10-error { display:block; color:#a11e2e; }
.b10-error:empty { display:none; }
.b10-chosen { margin:8px 0 0; padding-left:20px; }
.b10-editor-footer { position:sticky; bottom:0; padding:15px 22px; background:white; border-top:1px solid #e1e4ec; display:flex; align-items:center; flex-wrap:wrap; gap:10px; z-index:3; }
.b10-editor-footer>span { flex:1 1 240px; color:#525d70; }
.b10-lock-config { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:12px; background:#faf6ed; padding:12px 22px; }
.b10-locks { padding:10px 22px 60px; max-width:1150px; }
.b10-lock-row { display:flex; align-items:center; gap:18px; padding:20px; border:1px solid #e6e8ee; border-radius:6px; margin:14px 0; box-shadow:0 2px 8px #24263c08; }
.b10-lock-row>div { flex:1; min-width:0; }
.b10-lock-icon { padding:14px; border:1px solid #e6e8ee; border-radius:5px; color:#6b747f; }
.b10-lock-icon svg { width:22px; height:22px; }
.bw-app .b10-lock-row h2 { font-size:19px; margin-bottom:8px; }
.b10-lock-all { padding:22px; background:#faf6ed; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:15px; }
.b10-lock-all p { color:#343d51; }
.b10-tabs { display:flex; flex-wrap:wrap; gap:16px; border-bottom:1px solid #e5e7ed; padding:0 22px; min-width:0; }
.b10-tabs button { background:none; color:#525d70; padding:12px 0; border:0; border-bottom:3px solid transparent; }
.b10-tabs [aria-selected=true] { color:#252b3c; border-color:#315fcb; font-weight:bold; }
.b10-table-wrap { position:relative; overflow:auto; max-width:100%; overscroll-behavior:contain; }
.bw-app table.b10-table { display:table; table-layout:fixed; width:100%; border-collapse:collapse; margin:0; }
.bw-app .b10-table thead { display:table-header-group; }
.bw-app .b10-table tbody { display:table-row-group; }
.bw-app .b10-table tr { display:table-row; border:0; }
.bw-app.b10-workspace .b10-table th,.bw-app.b10-workspace .b10-table td { display:table-cell; width:auto; position:static; padding:15px 16px; vertical-align:top; white-space:normal; overflow-wrap:anywhere; border:0; border-bottom:1px solid #e5e7ed; background:white; }
.bw-app.b10-workspace .b10-table th { position:sticky; top:0; background:#f7f8fb; z-index:2; color:#555e72; text-transform:uppercase; font-size:12px; text-align:left; }
.bw-app .b10-table td::before { display:none; }
.bw-app table.b10-assets { min-width:max(1060px,76em); }
.bw-app .b10-assets th:first-child { width:45px; }
.bw-app .b10-assets th:nth-child(2) { width:22%; }
.bw-app .b10-assets th:nth-child(6),.bw-app .b10-assets th:nth-child(7) { width:17%; }
.bw-app .b10-assets td:nth-child(6),.bw-app .b10-assets td:nth-child(7) { text-align:right; font-variant-numeric:tabular-nums; }
.b10-active-status { color:#286a48; text-transform:uppercase; font-size:12px; }
.bw-app.b10-workspace .b10-unavailable-link { border:0; background:none; padding:0; color:#3e5793; opacity:1; text-align:left; white-space:normal; overflow-wrap:anywhere; }
.b10-report-shell .bw-sidebar { width:160px; padding:15px 6px; }
.b10-report-shell .bw-sidebar .bw-button { flex-direction:column; justify-content:center; padding:10px 4px; gap:3px; text-align:center; }
.b10-report-shell .bw-sidebar .bw-button,.b10-report-shell .bw-sidebar .bw-nav-pending { overflow-wrap:normal; word-break:normal; }
.b10-report-shell .bw-sidebar .bw-nav-pending { padding:10px 4px; }
.b10-report-shell .bw-main { margin-left:160px; }
.b10-reports { display:grid; grid-template-columns:260px minmax(0,1fr); gap:22px; padding:10px 22px 22px; }
.b10-categories { height:calc(100vh - 250px); min-height:380px; overflow:auto; overscroll-behavior:contain; padding:10px 12px; border-right:1px solid #e1e4ec; }
.b10-categories button { display:block; width:100%; text-align:left; border:0; background:none; padding:12px 10px; border-radius:4px; color:#343d51; white-space:normal; overflow-wrap:anywhere; }
.b10-categories .b10-blocked { background:none; }
.b10-categories .b10-current { background:#edf1fa; color:#254ca9; }
.bw-app .b10-categories h2 { font-size:12px; color:#525d70; text-transform:uppercase; margin:28px 10px 12px; }
.b10-report-main { min-width:0; position:relative; }
.b10-report-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding:10px 16px; border-bottom:1px solid #e5e7ed; }
.b10-report-toolbar .bw-button { margin-left:auto; }
.b10-report-toolbar>span { color:#525d70; }
.b10-report-scroll { height:calc(100vh - 306px); min-height:330px; padding-bottom:45px; }
.bw-app table.b10-catalog { min-width:max(780px,56em); }
.bw-app .b10-catalog th:first-child { width:36%; }
.bw-app .b10-catalog th:nth-child(2) { width:26%; }
.b10-report-name { display:flex; gap:10px; align-items:flex-start; }
.b10-star { padding:0; background:none; border:0; color:#59687b; flex:0 0 24px; min-height:24px; }
.b10-star[aria-pressed=true] { color:#946600; }
.b10-top { position:absolute; bottom:12px; right:12px; background:white; border-color:#9da9bd; z-index:3; width:40px; height:40px; padding:8px; }
.b10-top svg { transform:rotate(-90deg); width:20px; height:20px; }
.b10-picker { box-sizing:border-box; width:min(650px,calc(100% - 24px)); max-height:calc(100dvh - 24px); padding:0; border:1px solid #d6dce6; border-radius:6px; color:#272b3d; font:14px/1.5 Arial,sans-serif; }
.b10-picker[open] { display:flex; flex-direction:column; }
.b10-picker::backdrop { background:#20253299; }
.b10-picker header,.b10-picker footer { display:flex; align-items:center; gap:12px; padding:16px 20px; flex-shrink:0; border-bottom:1px solid #e5e7ed; }
.b10-picker header h2 { font-size:19px; margin:0; flex:1; }
.b10-picker header svg { width:18px; height:18px; }
.b10-picker p { margin:0; padding:12px 20px; color:#525d70; }
.b10-picker-body { overflow:auto; min-height:0; padding:10px 20px; }
.b10-picker-row { display:flex; gap:12px; align-items:flex-start; padding:12px 0; border-bottom:1px solid #e5e7ed; }
.b10-picker-row input { margin-top:5px; width:17px; height:17px; flex-shrink:0; }
.b10-picker-row small { display:block; color:#525d70; }
.b10-picker button { font:inherit; white-space:normal; }
.b10-picker .bw-primary { background:#315fcb; border-color:#315fcb; color:white; }
.b10-picker :focus-visible { outline:2px solid #315fcb; outline-offset:2px; }
@media(max-width:1100px) { .b10-reports { grid-template-columns:215px minmax(0,1fr); gap:12px; padding:10px 14px 22px; } }
@media(max-width:850px) { .b10-report-shell .bw-main { margin-left:0; }.b10-report-shell .bw-sidebar { width:100%; }.b10-report-shell .bw-sidebar nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }.b10-report-shell .bw-nav-bottom { grid-column:1/-1; }.b10-reports { grid-template-columns:230px minmax(0,1fr); }.b10-field { grid-template-columns:160px minmax(0,1fr); }.b10-categories { height:620px; }.b10-report-scroll { height:560px; } }
@media(max-width:560px) { .b10-reports { display:block; padding:8px 12px; }.b10-categories { height:210px; min-height:0; margin-bottom:16px; border:1px solid #e1e4ec; }.b10-report-scroll { height:520px; }.b10-field { display:block; margin:18px 0; }.b10-field>label { display:block; }.b10-form-fields { padding:12px; }.b10-lock-row { padding:14px; gap:12px; flex-wrap:wrap; }.b10-lock-icon { display:none; }.b10-lock-row>div { flex-basis:100%; }.b10-editor-footer { position:static; padding:12px; }.b10-budget-intro { padding:60px 16px; }.b10-locks { padding:10px 12px 30px; }.b10-picker header,.b10-picker footer { padding:12px; flex-wrap:wrap; }.b10-picker>p { max-height:20vh; overflow:auto; }.b10-picker-body { padding:0 12px; } }
.books-workspace-mode #app { display: block; }
.books-workspace-mode #app > .sidebar, .books-workspace-mode .main > .topbar { display: none; }
.books-workspace-mode .main { margin: 0; padding: 0; min-width: 0; }
.books-workspace-mode #page { padding: 0; max-width: none; }
.bw-app { --blue: #4777e8; color: #272b3d; font: 14px/1.5 Arial, sans-serif; letter-spacing: 0; background: white; min-height: 100vh; }
.bw-app *, .bw-app *::before, .bw-app *::after { box-sizing: border-box; letter-spacing: 0; }
.bw-app [hidden] { display: none !important; }
.bw-app h1 { font-size: 21px; font-weight: 500; margin: 0; }
.bw-app h2 { font-size: 16px; font-weight: 500; margin: 0; }
.bw-app p { margin: 0 0 10px; }
.bw-app button, .bw-app input, .bw-app select, .bw-app textarea { font: inherit; }
.bw-app button { cursor: pointer; }
.bw-app button:disabled { cursor: not-allowed; opacity: .6; }
.bw-app :focus-visible { outline: 2px solid #205ed3; outline-offset: 3px; }
.bw-app input, .bw-app select, .bw-app textarea { min-width: 0; max-width: 100%; padding: 9px 10px; border: 1px solid #d9dce6; border-radius: 5px; color: #34384d; background: white; }
.bw-app input[type=checkbox], .bw-app input[type=radio] { accent-color: var(--blue); width: 16px; height: 16px; vertical-align: middle; }
.bw-app input[aria-invalid=true] { border-color: #ba2838; }
.bw-app small { display: block; color: #586276; font-size: 12px; }
.bw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.bw-top { height: 58px; background: #24263c; color: #fff; display: flex; align-items: center; gap: 20px; padding: 8px 20px; position: sticky; top: 0; z-index: 20; }
.bw-brand { width: 180px; flex-shrink: 0; display: flex; align-items: center; gap: 12px; font-size: 20px; }
.bw-logo { object-fit: contain; width: 94px; height: 39px; background: #fff; padding: 4px; border-radius: 4px; }
.bw-search { display: flex; align-items: center; background: #383b51; border: 1px solid #54566a; border-radius: 6px; padding: 0 8px; width: 330px; max-width: 35%; }
.bw-search input { background: transparent; color: #fff; border: 0; width: 100%; }
.bw-search input::placeholder { color: #c0c4d5; }
.bw-search button { background: none; border: 0; color: white; padding: 4px; }
.bw-identity { margin-left: auto; text-align: right; font-size: 13px; }
.bw-identity small { color: #bdc4df; }
.bw-button { border: 1px solid #dfe2eb; padding: 7px 12px; min-height: 36px; background: #f7f8fb; border-radius: 5px; color: #33394b; display: inline-flex; align-items: center; justify-content: center; gap: 7px; text-decoration: none; }
.bw-button:hover { background: #edf2ff; }
.bw-top .bw-button { background: transparent; border-color: #69718b; color: white; }
.bw-primary { background: #315fcb; color: white; border-color: #315fcb; }
.bw-primary:hover { background: #315fcb; }
.bw-icon { display: inline-flex; width: 18px; height: 18px; flex-shrink: 0; }
.bw-icon svg { width: 100%; height: 100%; }
.bw-sidebar { position: fixed; top: 58px; bottom: 0; left: 0; width: 215px; padding: 22px 12px; background: #f7f7fd; border-right: 1px solid #eeeef5; overflow-y: auto; }
.bw-sidebar .bw-button { width: 100%; justify-content: start; border: 0; background: none; }
.bw-sidebar .bw-active { background: #315fcb; color: white; }
.bw-sidebar summary { cursor: pointer; padding: 9px 12px; }
.bw-sidebar details .bw-button { padding-left: 32px; }
.bw-nav-pending { padding: 10px 12px; color: #505971; }
.bw-nav-pending small { font-size: 10px; }
.bw-nav-bottom { border-top: 1px solid #dddfea; margin-top: 20px; padding-top: 12px; }
.bw-main { margin-left: 215px; min-width: 0; }
.bw-mode { font-size: 12px; background: #fff7e4; color: #775719; padding: 7px 20px; border-bottom: 1px solid #eaddbd; }
.bw-status { margin: 0 22px; color: #246243; }
.bw-status:not(:empty) { padding: 10px 0; }
.bw-greeting { display: flex; align-items: center; gap: 12px; padding: 24px 22px 12px; background: #fafbff; }
.bw-greeting p { margin: 2px 0 0; color: #586276; }
.bw-tabs { display: flex; gap: 18px; border-bottom: 1px solid #ebedf4; padding: 0 22px; background: #fafbff; }
.bw-tabs .bw-button { background: none; border: 0; border-radius: 0; padding: 14px 0; border-bottom: 3px solid transparent; }
.bw-tabs .bw-active { border-bottom-color: #5f88f0; }
.bw-dashboard { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; padding: 22px; max-width: 1250px; }
.bw-panel { border: 1px solid #e9ecf5; box-shadow: 0 3px 12px #29334e05; border-radius: 8px; min-width: 0; overflow: hidden; }
.bw-panel > header { background: #f7f8fd; padding: 14px 20px; display: flex; justify-content: space-between; gap: 12px; align-items: center; border-bottom: 1px solid #eceef6; flex-wrap: wrap; }
.bw-meta { color: #686e7e; font-size: 12px; }
.bw-panel-body { padding: 18px 20px; }
.bw-panel-body p { color: #586276; }
.bw-total { font-size: 20px; font-weight: 500; overflow-wrap: anywhere; }
.bw-aging { height: 12px; background: #eb8433; margin: 18px 0 22px; }
.bw-aging span { display: block; width: 60%; background: #4777e8; height: 100%; }
.bw-split { display: flex; gap: 24px; margin-top: 16px; flex-wrap: wrap; color: #666b7c; }
.bw-split b { color: #333846; font-weight: 500; }
.bw-wide { grid-column: 1 / -1; }
.bw-cash { display: grid; grid-template-columns: minmax(0, 1fr) 235px; gap: 25px; padding: 26px 20px; align-items: center; }
.bw-cash dl { margin: 0; text-align: right; }
.bw-cash dt { color: #586276; }
.bw-cash dd { margin: 5px 0 24px; font-size: 17px; overflow-wrap: anywhere; }
.bw-chart { padding: 15px; min-width: 0; }
.bw-chart svg { width: 100%; height: auto; display: block; }
.bw-chart svg text { font-size: 11px; fill: #586276; }
.bw-chart p { font-size: 11px; color: #586276; margin: 12px 0 0; }
.bw-grid { fill: none; stroke: #e1e7f1; stroke-width: 1; stroke-dasharray: 2 3; }
.bw-area { fill: #eef3ff; }
.bw-line { fill: none; stroke: #5282e8; stroke-width: 2; }
.bw-income { fill: #69b88b; }
.bw-expense { fill: #c56071; }
.bw-legend { display: flex; gap: 20px; padding: 20px 25px 0; }
.bw-legend span::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 6px; background: #69b88b; border-radius: 2px; }
.bw-legend span + span::before { background: #c56071; }
.bw-breakdown { display: flex; align-items: center; gap: 22px; padding: 25px; flex-wrap: wrap; }
.bw-donut { width: 180px; height: 180px; flex-shrink: 0; border-radius: 50%; background: conic-gradient(#69b88b 0 60%, #eb8433 60% 85%, #5282e8 85%); display: grid; place-items: center; }
.bw-donut span { width: 136px; height: 136px; border-radius: 50%; background: white; display: flex; flex-direction: column; justify-content: center; text-align: center; font-size: 11px; }
.bw-breakdown ul { margin: 0; padding: 0; list-style: none; flex: 1; }
.bw-breakdown li { padding: 10px 0; }
.bw-breakdown b { display: block; font-weight: 500; }
.bw-empty { padding: 55px 24px; min-height: 180px; display: grid; place-items: center; text-align: center; color: #586276; }
.bw-bank-status { padding: 12px 20px; background: #fff6ec; color: #825523; }
.bw-bank-list { list-style: none; margin: 0; padding: 5px 20px; }
.bw-bank-list li { padding: 18px 0; border-bottom: 1px solid #eeeef3; display: flex; gap: 20px; justify-content: space-between; }
.bw-bank-list b { font-weight: 500; white-space: nowrap; }
.bw-footer { background: #fbfbfd; border-top: 1px solid #eee; padding: 36px 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; color: #767d8a; }
.bw-footer h2 { color: #434957; margin-bottom: 15px; }
.bw-footer > small { grid-column: 1 / -1; }
.bw-title { padding: 20px 24px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #e8ebf2; }
.bw-title h1 { margin-right: auto; }
.bw-title > div { display: flex; gap: 8px; }
.bw-filters { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; padding: 12px 24px; background: #f9fafc; }
.bw-filters label { display: flex; gap: 8px; align-items: center; }
.bw-filters select { padding: 5px; }
.bw-table-wrap { overflow-x: auto; }
.bw-app table { border-collapse: collapse; width: 100%; font-size: 13px; }
.bw-app th { font-size: 11px; text-transform: uppercase; color: #586276; background: #f8f9fc; text-align: left; padding: 12px; font-weight: 500; }
.bw-app td { padding: 17px 12px; border-bottom: 1px solid #eceef3; }
.bw-app td:nth-child(4), .bw-app td:nth-child(6) { white-space: nowrap; }
.bw-link { border: 0; padding: 0; background: none; color: #375ed2; text-align: left; }
.bw-footnote { padding: 16px 24px; color: #586276; font-size: 12px; }
.bw-notice { margin: 14px 24px !important; padding: 14px; background: #edf3ff; color: #3a557c; border-radius: 5px; }
.bw-item-top { display: grid; grid-template-columns: minmax(0, 720px) 240px; gap: 50px; padding: 24px; background: #f9f9fc; }
.bw-field { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: start; gap: 20px; margin: 16px 0; min-width: 0; }
.bw-field > label { padding-top: 8px; }
.bw-field > label > span { color: #b93a43; }
.bw-field textarea { height: 70px; resize: vertical; }
.bw-type { display: flex; border: 0; margin: 0; padding: 0; gap: 20px; }
.bw-type legend { float: left; width: 170px; padding: 0; }
.bw-image { border: 1px dashed #d7dbe8; border-radius: 6px; background: white; padding: 16px; text-align: center; align-self: start; }
.bw-image label { display: grid; justify-items: center; gap: 12px; cursor: pointer; }
.bw-image .bw-icon { width: 36px; height: 36px; margin-top: 20px; }
.bw-image img { max-width: 160px; height: 100px; object-fit: contain; }
.bw-image input { width: 100%; font-size: 11px; margin: 14px 0; }
.bw-info { border: 0; border-bottom: 1px solid #eceef4; padding: 22px 24px 28px; margin: 0; }
.bw-info > legend { padding-top: 20px; font-size: 16px; }
.bw-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 45px; max-width: 1200px; }
.bw-info > .bw-field { max-width: 560px; }
.bw-combo-wrap { position: relative; min-width: 0; }
.bw-combo-wrap input { width: 100%; }
.bw-options { position: absolute; z-index: 15; background: white; border: 1px solid #dce1ee; box-shadow: 0 5px 15px #262c4a20; border-radius: 5px; max-height: 230px; overflow-y: auto; overscroll-behavior: contain; width: 100%; padding: 5px; }
.bw-options [role=option] { padding: 9px 10px; cursor: pointer; }
.bw-options-above { bottom: calc(100% + 4px); }
.bw-options [role=option]:hover, .bw-option-active { background: #587fed; color: white; border-radius: 4px; }
.bw-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 16px 24px; background: white; border-top: 1px solid #e4e7ee; position: sticky; bottom: 0; z-index: 10; }
.bw-form-actions span { font-size: 12px; color: #586276; }
#bw-errors:not(:empty) { color: #a6293d; padding: 12px 24px; background: #fff0f2; }
.bw-detail { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 24px; }
.bw-detail dd { margin: 0; }
.bw-menu { display: none; }
.bc-editor { padding-top: 24px; }
.bc-identity, .bc-tab-content { padding: 12px 24px 30px; max-width: 1100px; }
.bc-editor .bw-field { grid-template-columns: 190px minmax(0,385px); }
.bc-identity > .bw-type { margin: 10px 0 24px; }
.bc-identity > .bw-type legend { width: 210px; }
.bc-primary { display: flex; align-items: end; gap: 10px; }
.bc-primary .bw-field:first-child { flex: 0 1 355px; }
.bc-primary .bw-field:not(:first-child) { display: block; flex: 0 1 170px; }
.bc-primary .bw-field:not(:first-child) label { display: block; font-size: 11px; padding: 0; margin-bottom: 4px; color: #636c7c; }
.bc-primary input { width: 100%; }
.bc-phone { display: flex; gap: 22px; flex-wrap: wrap; }
.bc-phone .bw-field:first-child { flex: 0 1 455px; }
.bc-phone .bw-field:last-child { grid-template-columns: 65px 180px; }
.bc-note { margin: -8px 0 18px 210px !important; max-width: 385px; font-size: 11px; color: #6b7386; }
.bc-pending { font-size: 12px; color: #586276; padding: 10px 0; }
.bc-expand { margin: 18px 0; }
.bc-tabs { flex-wrap: wrap; }
.bc-tab-content { min-height: 280px; }
.bs-pending { display: block; color: #61687b; font-size: 12px; }
.bs-fields, .bs-body { padding: 26px 24px; max-width: 1250px; }
.bs-customer { padding: 26px 24px; background: #f7f8fc; }
.bs-customer .bw-field, .bs-fields > .bw-field { max-width: 750px; }
.bs-fields > .bs-pending { margin: -6px 0 22px 210px; }
.bs-pair, .bs-bottom, .bs-terms { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; }
.bs-pair > *, .bs-bottom > *, .bs-terms > * { min-width:0; }
.bs-terms input[type=file] { width:100%; min-width:0; }
.bs-fields .bw-field { grid-template-columns: 190px minmax(0,1fr); }
.bs-lines { border: 1px solid #e4e6ee; border-radius: 6px; }
.bs-lines header { display:flex; justify-content:space-between; gap:16px; padding:16px; background:#f7f8fc; }
.bs-lines h2 { font-size:15px; margin:0; }
.bs-lines table { min-width: 950px; width:100%; table-layout:fixed; }
.bs-lines th:first-child { width:30%; }
.bs-lines th:nth-child(5) { width:18%; }
.bs-lines td { vertical-align:top; }
.bs-lines input:not([type=checkbox]), .bs-lines select, .bs-lines textarea { width:100%; min-width:0; }
.bs-lines textarea { min-height:75px; margin-top:8px; }
.bs-lines label { display:block; font-size:12px; margin-top:10px; }
.bs-lines td:last-child .bw-button { padding:5px; }
.bs-row-actions { display:flex; gap:12px; margin:20px 0; flex-wrap:wrap; }
.bs-bottom .bw-field, .bs-terms .bw-field { grid-template-columns:1fr; }
.bs-summary { padding:18px; background:#f7f8fc; border-radius:6px; }
.bs-summary dl { display:grid; grid-template-columns:1fr auto; gap:12px; }
.bs-summary dd { margin:0; overflow-wrap:anywhere; }
.bs-summary small { color:#61687b; }
.bs-summary p, .bs-lifecycle p { color:#586276; }
.bp-allocation-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.bw-settlement { --blue:#315fcb; }
.bw-settlement .bw-primary,.bw-settlement .bw-sidebar .bw-active { background:#315fcb; border-color:#315fcb; color:white; }
.bw-settlement .bw-main small,.bw-settlement .bw-main .bs-pending,.bw-settlement .bw-empty { color:#586276; }
.bp-summary { margin:24px 0 24px auto; width:min(610px,100%); }
.bp-tax { border:0; padding:16px 0; display:flex; flex-wrap:wrap; gap:16px; }
.bp-tax legend { margin-bottom:12px; }
.bp-tax label,.bp-thankyou { display:flex; align-items:center; gap:8px; }
.bp-thankyou { margin:28px 0; }
#bp-files { max-width:100%; }
#bp-form ul { overflow-wrap:anywhere; }
#bp-errors:not(:empty) { padding:18px 24px; background:#fff0f2; color:#a6293d; }
.bp-recurring { min-height:540px; }
.bp-lifecycle { min-height:460px; text-align:center; }
.bp-lifecycle ol { list-style:decimal; max-width:760px; margin:35px auto; padding-left:35px; text-align:left; }
.bp-lifecycle li { border-bottom:1px solid #dce1e8; padding:18px 10px; }
.bp-flow { margin:36px auto; max-width:850px; }
.bp-flow-node { margin:0 auto 35px; width:min(260px,100%); position:relative; }
.bp-flow-node::after { content:''; position:absolute; left:50%; top:100%; height:35px; border-left:1px dashed #6085d8; }
.bp-flow-node,.bp-flow-branches > div { border:1px solid #90afe9; border-radius:4px; padding:14px; display:flex; align-items:center; justify-content:center; gap:10px; }
.bp-flow-branches { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.bp-flow svg { width:22px; height:22px; flex-shrink:0; color:#487cd2; }
@media(max-width:600px) { .bp-flow-branches { grid-template-columns:1fr; } }
.bw-title h1 small { font-size:14px; display:block; color:#61687b; margin-top:8px; }
.bs-lines td small { display:block; white-space:normal; }
#bp-form .bs-body > .bw-field { grid-template-columns:1fr; }
.bs-terms { padding:26px 24px; background:#f7f8fc; }
.bs-terms textarea { min-height:110px; }
.bs-terms input { max-width:100%; }
.bs-empty { min-height:430px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:20px; padding:24px; text-align:center; }
.bs-empty h2 { font-size:24px; margin:0; }
.bs-empty-icon { color:#5185e9; padding:24px; background:#f3f7ff; }
.bs-empty-icon svg { width:64px; height:64px; }
.bs-lifecycle, .bs-insights { padding:24px; background:#f7f8fc; }
.bs-lifecycle h2 { font-size:18px; }
#bs-errors:not(:empty) { padding:18px 24px; background:#fff0f2; color:#a6293d; }
@media(max-width:1100px){ .bs-pair { grid-template-columns:1fr; gap:0; } }
@media(max-width:600px){ .bs-bottom,.bs-terms { grid-template-columns:minmax(0,1fr); } .bs-fields .bw-field { grid-template-columns:1fr; } .bs-fields > .bs-pending { margin:0 0 20px; } .bs-summary dl { grid-template-columns:1fr; } }
.bc-upload-options { border: 1px solid #dce1ee; border-radius: 5px; padding: 12px; box-shadow: 0 4px 12px #242c4e14; margin: 6px 0; max-width: 300px; }
.bc-upload-options p { margin: 10px 0; }
.bc-files { margin: 8px 0; padding-left: 16px; overflow-wrap: anywhere; }
.bc-files li { padding: 5px 0; }
.bc-files button { margin-left: 8px; }
.bc-no-match { padding: 10px; color: #586276; }
.bc-address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bc-address-grid fieldset { border: 0; padding: 0; min-width: 0; }
.bc-address-grid .bw-field { grid-template-columns: 90px minmax(0,1fr); }
#bc-errors:not(:empty) { padding: 12px 24px; background: #fff0f2; color: #a6293d; }
.bw-quick { width: min(1180px, calc(100% - 32px)); max-height: calc(100dvh - 100px); border: 1px solid #e4e6ed; border-radius: 7px; padding: 22px; color: #34394d; box-shadow: 0 8px 30px #20293830; }
.bw-quick::backdrop { background: #17213b22; }
.bw-quick header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.bw-quick-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 24px; }
.bw-quick h3 { font-size: 12px; text-transform: uppercase; color: #586276; font-weight: 500; }
.bw-quick-grid section > div, .bw-quick-grid section > button { margin: 16px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bw-quick small { width: 100%; font-size: 10px; }
@media(max-width:850px) { .bc-primary { flex-wrap: wrap; } .bc-primary .bw-field:first-child { flex-basis: 100%; } .bc-primary .bw-field:not(:first-child) { margin-top: 20px; } .bw-quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .bc-address-grid { grid-template-columns: 1fr; } }
@media(max-width:560px) { .bc-editor .bw-field, .bc-phone .bw-field:last-child { grid-template-columns: 1fr; } .bc-primary { display: block; } .bc-note { margin-left: 0 !important; } .bc-identity > .bw-type { flex-wrap: wrap; } .bc-identity > .bw-type legend { float: none; width: 100%; margin-bottom: 10px; } .bc-phone { display: block; } .bc-tabs { gap: 5px 14px; } .bw-quick { padding: 16px; } .bw-quick-grid { gap: 16px; } }
@media (max-width: 1100px) { .bw-sidebar { width: 180px; } .bw-main { margin-left: 180px; } .bw-brand { width: 145px; } .bw-item-top { grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; } .bw-field { grid-template-columns: 120px minmax(0, 1fr); gap: 10px; } .bw-form-grid { gap: 22px; } .bw-type legend { width: 130px; } .bw-cash { grid-template-columns: minmax(0, 1fr) 180px; } }
@media (max-width: 850px) { .bw-top { height: auto; min-height: 58px; flex-wrap: wrap; gap: 10px; position: relative; } .bw-brand { width: auto; } .bw-identity { margin-left: auto; } .bw-menu { display: inline-flex; } .bw-sidebar { display: none; position: relative; top: auto; width: 100%; } .bw-mobile-open { display: block; } .bw-main { margin-left: 0; } .bw-search { order: 5; width: 100%; max-width: none; } .bw-dashboard { gap: 20px; } .bw-form-grid { grid-template-columns: 1fr; } .bw-cash { grid-template-columns: 1fr; } .bw-cash dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; } .bw-cash dd { margin: 0; } }
@media (max-width: 560px) { .bw-top { padding: 10px 12px; } .bw-brand { font-size: 17px; } .bw-logo { width: 78px; } .bw-identity { width: 100%; text-align: left; order: 4; } .bw-dashboard { grid-template-columns: 1fr; padding: 14px; } .bw-wide { grid-column: auto; } .bw-tabs { gap: 12px; padding: 0 14px; flex-wrap: wrap; } .bw-tabs .bw-button { font-size: 13px; } .bw-item-top { grid-template-columns: 1fr; padding: 16px; } .bw-field { grid-template-columns: 1fr; gap: 5px; } .bw-field > label { padding: 0; } .bw-image { max-width: 250px; } .bw-title { padding: 16px; flex-wrap: wrap; } .bw-info { padding: 16px; } .bw-footer { grid-template-columns: 1fr; } .bw-bank-list li { flex-wrap: wrap; } .bw-form-actions { padding: 12px 16px; } .bw-app td, .bw-app th { padding: 12px 8px; } .bw-filters { padding: 12px 16px; } .bw-top .bw-button, .bw-form-actions .bw-button { min-height: 44px; } }

.bsm-workspace { min-width: 0; }
.bsm-tabs { overflow-x: auto; padding-bottom: 1px; scrollbar-width: thin; }
.bsm-tabs .bw-button { flex: 0 0 auto; white-space: nowrap; }
.bsm-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); gap: 18px; padding: 18px 22px 28px; align-items: start; }
.bsm-layout > .bw-panel { min-width: 0; }
.bsm-layout .bw-panel { margin: 0; }
.bsm-link { appearance: none; border: 0; background: none; color: #315fbd; cursor: pointer; font: inherit; font-weight: 700; padding: 0; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.bsm-link:focus-visible { outline: 3px solid #315fbd; outline-offset: 3px; }
.bsm-detail .bw-detail { grid-template-columns: minmax(130px, .65fr) minmax(0, 1fr); }
.bsm-detail .bw-detail dd { overflow-wrap: anywhere; }
.bsm-editor { margin: 18px 22px 28px; }
.bsm-editor .bw-form-grid { padding: 22px; }
.bsm-wide { grid-column: 1 / -1; }
.bsm-wide textarea { min-height: 150px; resize: vertical; }
.bsm-check input { width: 20px; height: 20px; justify-self: start; }
.bsm-error { color: #8c1d18; background: #fff4f2; border: 1px solid #e9aaa4; padding: 12px 16px; }
.bsm-evidence { display: grid; gap: 6px; margin: 0 18px 18px; border-left: 4px solid #3f7652; background: #f1f8f3; padding: 12px 14px; overflow-wrap: anywhere; }

@media (max-width: 980px) {
  .bsm-tabs { flex-wrap: wrap; overflow-x: visible; }
  .bsm-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .bsm-layout { padding: 12px; }
  .bsm-editor { margin: 12px; }
  .bsm-editor .bw-form-grid { padding: 16px; }
  .bsm-detail .bw-detail { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .bw-app * { scroll-behavior: auto !important; transition: none !important; } }
.bu-workspace { --blue: #315fcb; }
.bu-editor { padding: 24px 28px 120px; max-width: 1500px; }
.bu-editor .bw-field { grid-template-columns: 220px minmax(0,490px); margin-bottom: 18px; }
.bu-editor input:not([type=checkbox]),.bu-editor select,.bu-editor textarea { min-width: 0; width: 100%; max-width: 100%; }
.bu-editor textarea { min-height: 82px; }
.bu-identity { max-width: 900px; padding-bottom: 28px; }
.bu-primary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.bu-primary .bw-field { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.bu-tabs { flex-wrap: wrap; margin: 14px 0 30px; }
.bu-pending { color: #586276; margin: 16px 0 24px; max-width: 760px; line-height: 1.6; }
.bu-expense-layout { display: grid; grid-template-columns: minmax(0,800px) minmax(220px,320px); gap: 40px; }
.bu-section { padding: 24px 0; border-bottom: 1px solid #e0e4ec; }
.bu-files { align-self: start; padding: 22px; border: 1px dashed #aab4c5; border-radius: 6px; margin: 24px 0; max-width: 710px; overflow-wrap: anywhere; }
.bu-files h2 { font-size: 16px; margin: 0 0 18px; }
.bu-files label { display: block; margin: 12px 0; }
.bu-files p { font-size: 13px; line-height: 1.6; color: #586276; }
.bu-files ul { padding-left: 18px; }
.bu-totals { background: #f4f6fa; padding: 20px; margin-top: 24px; line-height: 1.7; }
.bu-totals small { display: block; color: #586276; }
.bu-summary { margin: 16px 20px; padding: 16px; background: #f5f6fa; }
.bu-summary dl { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.bu-summary dd { margin: 10px 0; font-weight: 600; }
.bu-summary p { color: #586276; }
.bu-workspace .bw-table-wrap table { min-width: 1150px; }
.bu-workspace th,.bu-workspace .bw-form-actions span { color: #586276; }
.bu-workspace .bw-main > .bu-pending { margin-left: 20px; margin-right: 20px; }
.bu-workspace .bw-table-wrap td { vertical-align: top; overflow-wrap: anywhere; }
.bu-workspace .bw-table-wrap .bw-link { white-space: normal; text-align: left; }
.bu-workspace #bu-errors:not(:empty) { background: #fff2f1; color: #a3261c; padding: 16px; margin-bottom: 20px; }
.bu-workspace .bw-tabs { gap: 12px; }
.bu-workspace .bw-tabs strong { align-self: center; }
@media(max-width:1100px) {
  .bu-expense-layout { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .bu-editor .bw-field { grid-template-columns: minmax(140px,30%) minmax(0,1fr); }
  .bu-summary dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
  .bu-editor { padding: 18px 16px 150px; }
  .bu-editor .bw-field { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
  .bu-primary { grid-template-columns: minmax(0,1fr); gap: 0; }
  .bu-summary dl { grid-template-columns: minmax(0,1fr); }
  .bu-workspace .bw-title { flex-wrap: wrap; gap: 12px; }
  .bu-workspace .bw-tabs { flex-wrap: wrap; }
}
/* Batch 08: banking evidence and memory-only journal preparation. */
.bk-workspace { color:#252a34; min-width:0; }
.bk-workspace p { text-align:left; color:#525b6a; }
.bk-warning p { color:inherit; }
.bk-bulk p,.bk-provider-empty p { text-align:center; }
.bk-chevron { width:7px; height:7px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); margin:0 3px 4px; }
.bk-workspace h2 { font-size:18px; }
.bk-workspace h3 { font-size:16px; }
.bk-actions { display:flex; gap:8px; flex-wrap:wrap; align-items:center; position:relative; }
.bk-workspace .bw-button { white-space:normal; overflow-wrap:anywhere; }
.bw-app .bk-workspace button:disabled { opacity:1; background:#f2f3f6; color:#505968; border-color:#d5d9e1; cursor:not-allowed; }
.bk-notice { color:#525b6a; line-height:1.55; margin:16px 0; max-width:1100px; }
.bk-summary { margin:24px; border-bottom:1px solid #dce1e9; padding:16px 0 24px; }
.bk-summary-head { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; padding-bottom:20px; border-bottom:1px solid #e5e8ed; }
.bk-workspace select { max-width:100%; padding:9px; border:1px solid #b7bfcd; border-radius:4px; color:#252a34; background:white; font:inherit; }
.bk-workspace select:disabled,.bk-editor input:disabled { background:#f1f3f6; color:#505968; opacity:1; }
.bk-metrics { display:grid; grid-template-columns:1fr 1fr 1fr; gap:24px; padding:32px 0; }
.bk-metrics>div { display:flex; flex-direction:column; gap:8px; }
.bk-metrics strong { font-size:20px; }
.bk-metrics small,.bk-meta,.bk-table small,.bk-files p,.bk-totals small,.bk-basis small { color:#525b6a; }
.bk-account-list { margin:24px; }
.bk-table { margin-top:14px; }
.bk-table table { width:100%; min-width:980px; }
.bk-table td { vertical-align:top; padding:18px 12px; line-height:1.6; max-width:340px; overflow-wrap:anywhere; }
.bk-table th { white-space:normal; color:#525b6a; }
.bk-table td small { display:block; margin-top:3px; }
.bk-filters { flex-wrap:wrap; gap:15px; }
.bk-filters label { display:flex; align-items:center; gap:8px; }
.bk-tag { padding:4px 7px; background:#f8eeee; color:#7b3838; border-radius:3px; }
.bk-empty { padding:70px 24px; text-align:center; }
.bk-choice { margin:24px; max-width:1260px; border-bottom:1px solid #dce1e9; padding:0 0 24px; }
.bk-choice header { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:16px; background:#f7f8fa; padding:16px; }
.bk-provider-empty { padding:55px 24px; text-align:center; color:#525b6a; }
.bk-provider-empty>.bw-icon { width:44px; height:44px; }
.bk-menu { position:absolute; right:0; top:100%; z-index:40; background:white; border:1px solid #cbd1de; border-radius:4px; box-shadow:0 5px 16px #18233225; padding:6px; width:240px; max-width:calc(100vw - 48px); }
.bk-menu button { font:inherit; padding:12px; color:#505968; background:#f2f3f6; border:0; width:100%; text-align:left; }
.bk-fields { padding:20px 0 30px; max-width:1050px; }
.bk-editor .bk-fields .bw-field { margin:16px 0; }
.bk-check { display:block; margin:18px 0 18px 200px; max-width:600px; }
.bk-basis { border:0; padding:0; margin:22px 0; display:flex; gap:16px; flex-wrap:wrap; }
.bk-basis legend { margin-bottom:12px; }
.bk-basis small { flex-basis:100%; }
.bk-lines table { min-width:1200px; width:100%; }
.bk-lines td { padding:8px; vertical-align:top; }
.bk-lines td:first-child { min-width:200px; }
.bk-lines td:nth-child(2) { min-width:190px; }
.bk-lines input { width:120px; }
.bk-lines td select { min-width:140px; width:100%; }
.bk-lines .bw-table-wrap { margin-bottom:16px; }
.bk-row-tools { display:flex; gap:4px; }
.bk-row-tools .bw-button { padding:5px; min-width:30px; }
.bk-totals { max-width:740px; margin:28px 0 30px auto; padding:20px; border-radius:6px; background:#f6f7fa; }
.bk-total-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr); gap:18px; font-variant-numeric:tabular-nums; }
.bk-total-grid>* { overflow-wrap:anywhere; }
.bk-difference { color:#9e2929; }
.bk-files { margin:30px 0 50px; max-width:760px; }
.bk-files label { display:block; margin-bottom:10px; }
.bk-files input { width:100%; }
.bk-files li { overflow-wrap:anywhere; }
.bk-draft-strip { display:flex; align-items:center; flex-wrap:wrap; gap:15px; padding:12px 24px; background:#f6f8fa; }
#bk-errors:not(:empty) { color:#a32222; background:#fff2f2; border-left:3px solid #a32222; padding:14px; margin-top:12px; }
.bk-bulk { text-align:center; padding:75px 24px; }
.bk-bulk h1 { font-size:26px; }
.bk-bulk-visual { color:#315fcb; display:flex; align-items:center; justify-content:center; gap:10px; height:100px; }
.bk-bulk-visual .bw-icon,.bk-bulk-visual svg { width:64px; height:64px; }
.bk-warning { max-width:850px; margin:28px auto; padding:22px; background:#fff5df; color:#684500; border-left:4px solid #b47d0a; }
.bk-bulk .bk-notice { margin:22px auto; }
@media(max-width:800px) { .bk-metrics { grid-template-columns:1fr; padding:24px 0; }.bk-check { margin-left:0; }.bk-summary,.bk-account-list,.bk-choice { margin:18px 12px; }.bk-filters label { flex-wrap:wrap; }.bk-bulk { padding:40px 16px; }.bk-bulk h1 { font-size:22px; }.bk-totals { padding:12px; }.bk-total-grid { gap:12px; } }
/* Batch 09: read-only chart and memory-only accountant proposals. */
.a9-notice { margin:14px 22px; max-width:1100px; color:#505968; font-size:13px; line-height:1.5; }
.a9-filters { display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.a9-filters label { display:flex; flex-wrap:wrap; align-items:center; gap:7px; min-width:0; }
.a9-filters select { max-width:100%; padding:8px; border:1px solid #a7b0c0; border-radius:4px; background:white; color:#252a34; font:inherit; }
.a9-empty { padding:35px 22px; text-align:center; color:#505968; }
.a9-chart { max-height:calc(100dvh - 290px); min-height:260px; overflow:auto; overscroll-behavior:contain; }
.a9-chart table { min-width:1100px; width:100%; table-layout:fixed; }
.a9-chart .a9-pick { width:44px; }.a9-chart .a9-name { width:31%; }.a9-chart .a9-tool { width:95px; }
.a9-chart th { position:sticky; top:0; z-index:1; background:#f6f7fa; white-space:normal; }
.bw-app .a9-chart td { height:55px; vertical-align:middle; overflow-wrap:anywhere; white-space:normal; }
.a9-chart th,.a9-chart td { padding:10px 12px; }
.a9-chart svg,.a9-modal svg,.a9-blocked svg,.a9-filters svg { width:18px; height:18px; flex-shrink:0; }
.a9-account-name { position:relative; padding-left:calc(var(--a9-depth) * 20px); color:#2455b2; line-height:1.5; }
.a9-account-name small { display:block; color:#505968; }
.a9-child:before { content:''; position:absolute; left:calc(var(--a9-depth) * 20px - 16px); top:-18px; width:12px; height:32px; border-left:1px solid #9ba5b7; border-bottom:1px solid #9ba5b7; }
.a9-context { background:#f4f7fa; }
.a9-chart .bw-button { padding:6px; min-width:30px; }
.a9-fx-table table { width:100%; min-width:700px; }
.a9-chart,.a9-fx-table { position:relative; }
/* Keep accountant columns intact inside their scroll region on narrow screens. */
.a9-chart table,.a9-fx-table table { display:table; }
.a9-chart thead,.a9-fx-table thead { display:table-header-group; }
.a9-chart tbody,.a9-fx-table tbody { display:table-row-group; }
.a9-chart tr,.a9-fx-table tr { display:table-row; border:0; border-radius:0; padding:0; }
.a9-chart td,.a9-fx-table td { display:table-cell; border-bottom:1px solid #e6e9ef; }
.a9-chart td::before,.a9-fx-table td::before { display:none; }
.a9-modal { width:700px; max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); border:1px solid #cbd1de; border-radius:8px; padding:0; color:#252a34; background:white; font:14px/1.5 Arial,sans-serif; overflow:hidden; letter-spacing:0; }
.a9-filter-modal { width:980px; }
.a9-modal::backdrop { background:rgba(25,29,42,.65); }
.a9-modal[open] { display:flex; flex-direction:column; }
.a9-modal header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 22px; background:#f7f8fb; border-bottom:1px solid #e3e6ed; flex-shrink:0; }
.a9-modal h2 { margin:0; font-size:20px; line-height:1.4; overflow-wrap:anywhere; }
.a9-modal form { display:flex; flex-direction:column; min-height:0; }
.a9-modal-scroll { overflow:auto; min-height:0; padding:8px 22px 18px; overscroll-behavior:contain; }
.a9-field { display:flex; flex-direction:column; gap:6px; margin:18px 0; min-width:0; }
.a9-modal input,.a9-modal select,.a9-modal textarea { min-width:0; width:100%; padding:9px 10px; border:1px solid #a7b0c0; border-radius:4px; background:#fff; color:#252a34; font:inherit; }
.a9-modal select:disabled { opacity:1; color:#505968; background:#f1f3f6; }
.a9-modal textarea { min-height:70px; resize:vertical; }
.a9-modal .a9-notice { margin:14px 0; }
.a9-criteria { max-width:690px; padding:5px 0; }
.a9-criteria>.a9-field,.a9-range { display:grid; grid-template-columns:150px minmax(0,1fr); align-items:center; gap:12px; margin:16px 0; }
.a9-range>div { display:grid; grid-template-columns:1fr 1fr; gap:25px; min-width:0; }
.a9-range .a9-field { margin:0; }
.a9-range label { font-size:13px; color:#505968; }
.a9-rate { display:flex; flex-wrap:wrap; align-items:center; border:1px solid #a7b0c0; border-radius:4px; background:#f7f8fb; }
.a9-rate span { padding:8px; overflow-wrap:anywhere; }
.a9-rate input { flex:1 1 140px; width:140px; border:0; border-radius:0; }
.a9-modal footer { display:flex; gap:8px; flex-wrap:wrap; padding:16px 22px; border-top:1px solid #e3e6ed; flex-shrink:0; }
.a9-modal .bw-button { font:inherit; white-space:normal; min-height:38px; }
.a9-modal .bw-primary { background:#315fcb; color:white; border-color:#315fcb; }
.a9-modal .bw-button:disabled { opacity:1; background:#f2f3f6; color:#505968; border-color:#d5d9e1; cursor:not-allowed; }
.a9-modal :focus-visible,.a9-chart:focus-visible { outline:2px solid #315fcb; outline-offset:2px; }
.a9-modal [aria-invalid=true] { border-color:#a32222; }
#a9-errors:not(:empty) { color:#a32222; background:#fff2f2; border-left:3px solid #a32222; padding:12px; margin:12px 0; }
#a9-message:not(:empty) { color:#24542f; background:#f0f8f1; padding:12px; margin:12px 0; }
@media(max-width:600px) { .a9-chart { max-height:65dvh; }.a9-filters { align-items:stretch; }.a9-filters label { flex:1 1 100%; }.a9-notice { margin:12px; }.a9-modal header,.a9-modal footer { padding:12px; }.a9-modal-scroll { padding:5px 12px 15px; }.a9-criteria>.a9-field,.a9-range { display:flex; flex-direction:column; align-items:stretch; }.a9-range>div { gap:12px; }.a9-rate input { flex-basis:100%; }.a9-modal h2 { font-size:18px; } }
/* Batch 07: local project preparation and accessible time-entry dialog. */
.bt-section { padding:24px 0; border-bottom:1px solid #e3e6ed; max-width:1250px; }
.bt-section table { width:100%; min-width:650px; }
.bt-section td { vertical-align:top; }
.bt-section td input:not([type=checkbox]),.bt-section td select,.bt-section td textarea { width:100%; }
.bt-file { display:grid; grid-template-columns:200px minmax(0,490px); gap:12px; padding:16px 0; }
.bt-file ul { grid-column:2; margin:0; padding-left:20px; overflow-wrap:anywhere; }
.bt-filters { display:flex; gap:20px; padding:18px 22px; flex-wrap:wrap; background:#f7f8fb; }
.bt-filters .bw-field { display:flex; align-items:center; gap:10px; margin:0; min-width:0; }
.bt-filters select { min-width:0; width:100%; }
.bw-title > div { display:flex; gap:8px; flex-wrap:wrap; min-width:0; max-width:100%; }
.bk-filters label { min-width:0; max-width:100%; }
.bk-filters select { min-width:0; max-width:100%; }
.bt-filters select { max-width:230px; padding:8px; border:1px solid #cbd1de; border-radius:4px; background:white; color:#252a34; }
.bt-empty { padding:85px 22px; text-align:center; min-height:380px; }
.bt-empty h2 { font-size:22px; }
.bt-empty p { color:#525b6a; }
.bt-lifecycle { min-height:340px; }
.bt-boundaries { padding:35px 22px 80px; max-width:900px; margin:auto; }
.bt-boundaries h2 { font-size:18px; }
.bt-boundaries dl { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.bt-log { width:600px; max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); border:1px solid #cbd1de; border-radius:8px; padding:0; color:#252a34; background:white; font:14px/1.5 Arial,sans-serif; overflow:hidden; }
.bt-log::backdrop { background:rgba(25,29,42,.65); }
.bt-log[open] { display:flex; flex-direction:column; }
.bt-log header { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:16px 22px; border-bottom:1px solid #e3e6ed; flex-shrink:0; }
.bt-log h2 { font-size:20px; margin:0; }
.bt-log form { display:flex; flex-direction:column; min-height:0; }
.bt-log-scroll { overflow:auto; min-height:0; padding:10px 22px 22px; overscroll-behavior:contain; }
.bt-log .bw-field { display:flex; flex-direction:column; align-items:stretch; gap:6px; margin:18px 0; }
.bt-log input:not([type=checkbox]),.bt-log select,.bt-log textarea { min-width:0; width:100%; border:1px solid #a7b0c0; border-radius:4px; padding:10px; font:inherit; background:white; color:#252a34; }
.bt-log select:disabled { background:#f1f3f6; color:#505968; opacity:1; }
.bt-log textarea { min-height:85px; resize:vertical; }
.bt-log-check { display:block; margin-top:18px; }
.bt-log footer { padding:16px 22px; border-top:1px solid #e3e6ed; display:flex; flex-wrap:wrap; gap:8px; flex-shrink:0; }
.bt-log .bw-button { white-space:normal; font:inherit; }
.bt-log .bw-primary { background:#315fcb; border-color:#315fcb; color:#fff; }
.bt-log :focus-visible { outline:2px solid #315fcb; outline-offset:2px; }
#bt-errors:not(:empty),#blog-errors:not(:empty) { color:#a32222; background:#fff2f2; border-left:3px solid #a32222; padding:14px; }
.bt-log [aria-invalid=true],.bt-editor [aria-invalid=true] { border-color:#a32222; }
@media(max-width:600px) { .bt-file { display:flex; flex-direction:column; }.bt-file input { width:100%; }.bt-boundaries dl { grid-template-columns:1fr; }.bt-filters { flex-direction:column; }.bt-filters .bw-field { align-items:stretch; flex-direction:column; }.bt-filters select { max-width:100%; }.bt-empty { padding:45px 16px; }.bt-log header,.bt-log footer { padding:12px; }.bt-log-scroll { padding:0 12px 16px; } }
/* Batch 06: purchase drafts share the existing Books shell and contained tables. */
.bv-editor { min-width:0; padding:0 22px; color:#252a34; }
.bv-editor .bw-field { grid-template-columns:200px minmax(0,490px); max-width:850px; margin:10px 0; }
.bv-editor input,.bv-editor select,.bv-editor textarea { max-width:100%; min-width:0; font:inherit; color:#252a34; }
.bv-editor select,.bv-editor input:not([type=checkbox]):not([type=file]),.bv-editor textarea { border:1px solid #cbd1de; border-radius:4px; background:#fff; padding:9px 10px; }
.bv-editor textarea { min-height:68px; resize:vertical; width:100%; }
.bv-editor input:focus,.bv-editor select:focus,.bv-editor textarea:focus { outline:2px solid #315fcb; outline-offset:2px; }
.bv-vendor { margin:0 -22px; padding:24px 22px 12px; background:#f7f8fb; border-bottom:1px solid #e3e6ed; }
.bv-fields { padding:18px 0; max-width:1150px; }
.bv-fields .bu-pending { max-width:850px; }
.bv-modes { display:flex; flex-wrap:wrap; gap:20px; margin:18px 0; }
.bv-modes .bw-field { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:0; }
.bv-modes select { max-width:260px; }
.bv-purchase-body { max-width:1450px; border-top:1px solid #e3e6ed; padding-top:15px; }
.bv-lines { min-width:0; }
.bv-lines header,.bv-allocation-head { display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.bv-lines header { background:#f6f7fa; border:1px solid #e3e6ed; padding:12px; }
.bv-editor h2,.bv-overview h2,.bv-lifecycle h2 { font-size:17px; margin:8px 0; }
.bv-lines table { min-width:1080px; width:100%; }
.bv-lines td { vertical-align:top; padding:8px; }
.bv-lines th { white-space:normal; }
.bv-lines td:first-child { width:26%; min-width:220px; }
.bv-lines td select { width:100%; }
.bv-lines td input { width:96px; }
.bv-lines td textarea { display:block; margin-top:8px; }
.bv-row-tools { display:flex; gap:3px; }
.bv-row-tools .bw-button { padding:6px; min-height:32px; }
.bv-row-tools [data-direction] .bw-icon { transform:rotate(90deg); }
.bv-total-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; gap:25px; margin:28px 0; }
.bv-total-row .bw-field { grid-template-columns:150px minmax(0,220px); }
.bv-totals { background:#f6f8fa; border-radius:6px; padding:16px; min-width:0; }
.bv-totals dl { margin:0; }
.bv-totals dl>div { display:flex; justify-content:space-between; gap:16px; padding:10px 0; border-bottom:1px solid #e0e5eb; }
.bv-totals dd { margin:0; text-align:right; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.bv-totals small { display:block; color:#525b6a; margin-top:12px; }
.bv-end { padding:25px 0 40px; border-top:1px solid #e3e6ed; max-width:1450px; }
.bv-end>.bw-field { display:block; max-width:none; margin:20px 0; }
.bv-end>.bw-field label { display:block; margin-bottom:8px; }
.bv-end>.bu-files { max-width:640px; }
.bv-payment-fields { margin:0; padding:0; border:0; min-width:0; }
.bv-payment-fields:disabled { color:#505968; }
.bv-payment-fields:disabled input,.bv-payment-fields:disabled select,.bv-payment-fields:disabled textarea { opacity:1; background:#f1f3f6; color:#505968; }
.bv-payment-fields .bv-totals { max-width:640px; margin-left:auto; }
.bv-allocation { max-width:1450px; border-top:1px solid #e3e6ed; padding-top:12px; }
.bv-allocation table { min-width:850px; width:100%; }
.bv-allocation td input { width:140px; }
.bv-overview { padding:55px 20px; text-align:center; }
.bv-overview .bw-button { margin:12px 5px; }
.bv-lifecycle { padding:30px 20px; background:#f7f8fb; text-align:center; }
.bv-lifecycle ol { display:flex; list-style:none; flex-wrap:wrap; justify-content:center; gap:22px; padding:25px 0; }
.bv-lifecycle li { display:flex; align-items:center; gap:8px; padding:12px; border:1px solid #889ec7; border-radius:4px; }
#bv-errors:not(:empty) { color:#a32222; background:#fff2f2; border-left:3px solid #a32222; padding:14px; margin:15px 0; }
.bv-editor .bw-form-actions { margin-left:-22px; margin-right:-22px; flex-wrap:wrap; }
.bv-editor [aria-invalid=true] { border-color:#a32222; }
@media(max-width:1000px) { .bv-total-row { grid-template-columns:minmax(0,1fr); }.bv-editor .bw-field { grid-template-columns:160px minmax(0,1fr); } }
@media(max-width:600px) { .bv-editor { padding:0 12px; }.bv-vendor { margin:0 -12px; padding:18px 12px; }.bv-editor .bw-field { display:flex; flex-direction:column; align-items:stretch; gap:7px; }.bv-modes { display:block; }.bv-modes .bw-field { margin:15px 0; }.bv-editor .bw-form-actions { margin-left:-12px; margin-right:-12px; position:static; }.bv-row-tools { flex-direction:column; }.bv-totals dl>div { flex-wrap:wrap; }.bv-editor .bw-form-actions .bw-button { white-space:normal; }.bv-lifecycle ol { flex-direction:column; align-items:center; } }

/* Verified commands are an integration band within the modular Books workspace. */
.bc-command-band { border-top:1px solid #d8dde7; border-bottom:1px solid #d8dde7; background:#f7f8fa; padding:20px 24px 32px; margin-top:28px; color:#252a34; }
.bc-command-band>header { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; flex-wrap:wrap; max-width:1220px; margin:0 auto 18px; }
.bc-command-band h2 { font-size:20px; margin:2px 0 0; }
.bc-eyebrow { display:block; color:#536075; font-size:12px; font-weight:700; text-transform:uppercase; }
.bc-transport { display:inline-flex; align-items:center; min-height:32px; max-width:520px; padding:6px 10px; border:1px solid #b9c2d1; border-radius:5px; background:#fff; color:#3d485b; overflow-wrap:anywhere; }
.bc-transport-ready { border-color:#7ca58d; color:#245c3d; background:#f0f8f3; }
.bc-transport-contract_mismatch,.bc-transport-contract_unavailable { border-color:#cb9198; color:#842936; background:#fff3f4; }
.bc-lifecycle-detail { max-width:1220px; margin:0 auto 16px; color:#6a3340; overflow-wrap:anywhere; }
.bc-command-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; max-width:1220px; margin:0 auto; }
.bc-command-row { min-width:0; border:1px solid #d8dde7; border-radius:6px; background:#fff; padding:16px; }
.bc-command-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:12px; }
.bc-command-heading h3 { margin:0 0 4px; font-size:16px; }
.bc-command-heading p { margin:0; color:#566174; overflow-wrap:anywhere; }
.bc-command-state { flex:0 0 auto; padding:4px 7px; border:1px solid #c7ceda; border-radius:4px; background:#f4f5f7; color:#465064; font-size:12px; }
.bc-state-pending { color:#704f08; border-color:#d5ba73; background:#fff7df; }
.bc-state-succeeded { color:#245c3d; border-color:#7ca58d; background:#f0f8f3; }
.bc-state-failed,.bc-state-outcome_unknown { color:#842936; border-color:#cb9198; background:#fff3f4; }
.bc-command-source { display:grid; grid-template-columns:max-content minmax(0,1fr); gap:4px 10px; margin:0 0 14px; font-size:12px; }
.bc-command-source dt { color:#606b7d; }
.bc-command-source dd { margin:0; min-width:0; overflow-wrap:anywhere; }
.bc-command-source code,.bc-command-result code { white-space:normal; overflow-wrap:anywhere; }
.bc-command-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:14px 0; }
.bc-command-fields label,.bc-command-reason { display:flex; flex-direction:column; gap:5px; color:#3f4959; }
.bc-command-fields input,.bc-command-reason textarea { width:100%; }
.bc-command-reason { margin:14px 0; }
.bc-command-reason textarea { min-height:72px; resize:vertical; }
.bc-command-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:14px; }
.bc-command-actions .bw-button { white-space:normal; }
.bc-command-result { margin-top:14px; padding:12px; border-left:3px solid #8794a8; background:#f5f7fa; overflow-wrap:anywhere; }
.bc-result-succeeded { border-color:#3f865e; background:#f0f8f3; }
.bc-result-failed,.bc-result-outcome_unknown { border-color:#aa3c49; background:#fff3f4; }
.bc-command-result p { margin:6px 0; color:#485465; }
.bc-command-result dl { display:grid; grid-template-columns:max-content minmax(0,1fr); gap:5px 12px; margin:10px 0; }
.bc-command-result dt { color:#566174; }
.bc-command-result dd { margin:0; min-width:0; overflow-wrap:anywhere; }
.bc-blocked { max-width:1220px; margin:18px auto 0; border-top:1px solid #d8dde7; padding-top:14px; }
.bc-blocked summary { cursor:pointer; color:#465064; font-weight:600; }
.bc-blocked ul { list-style:none; margin:12px 0 0; padding:0; }
.bc-blocked li { display:grid; grid-template-columns:minmax(180px,1fr) minmax(240px,2fr) auto; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid #e2e5eb; }
.bc-blocked li span,.bc-blocked li strong { min-width:0; overflow-wrap:anywhere; }
.bc-blocked li strong { color:#566174; font-weight:400; }
@media(max-width:900px) { .bc-command-list { grid-template-columns:minmax(0,1fr); }.bc-blocked li { grid-template-columns:minmax(0,1fr) auto; }.bc-blocked li strong { grid-column:1/-1; grid-row:2; } }
@media(max-width:560px) { .bc-command-band { padding:18px 12px 24px; }.bc-command-fields { grid-template-columns:minmax(0,1fr); }.bc-command-heading { flex-direction:column; }.bc-command-actions .bw-button { width:100%; min-height:44px; }.bc-command-result dl,.bc-command-source { display:block; }.bc-command-result dt,.bc-command-source dt { margin-top:8px; }.bc-blocked li { display:flex; flex-direction:column; align-items:stretch; }.bc-blocked li .bw-button { min-height:44px; } }

/* Authenticated core-domain wiring reuses the restrained Books work surface. */
.bcore-workspace { min-width:0; color:#252a34; }
.bcore-toolbar { display:flex; flex-wrap:wrap; align-items:end; gap:12px; padding:14px 22px; border-block:1px solid #e1e5ec; background:#f7f8fa; }
.bcore-toolbar label { display:flex; flex-direction:column; gap:5px; min-width:150px; color:#485465; font-size:12px; font-weight:600; }
.bcore-toolbar label:first-child { min-width:min(310px,100%); }
.bcore-toolbar select { width:100%; min-height:38px; border:1px solid #aeb7c5; border-radius:4px; background:#fff; color:#252a34; padding:7px 9px; font:inherit; }
.bcore-workspace .bsm-layout { align-items:start; }
.bcore-workspace .bw-panel { min-width:0; border-radius:4px; }
.bcore-workspace .bw-table-wrap { max-height:600px; overflow:auto; }
.bcore-workspace table { min-width:720px; }
.bcore-workspace td,.bcore-workspace th { overflow-wrap:anywhere; }
.bcore-pages { display:flex; align-items:center; justify-content:flex-end; gap:8px; padding:12px 16px; border-top:1px solid #e1e5ec; }
.bcore-detail .bw-detail { max-height:560px; overflow:auto; }
.bcore-editor { margin:18px 22px; }
.bcore-editor .bw-form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 20px; padding:18px; }
.bcore-editor .bw-field { display:flex; flex-direction:column; align-items:stretch; gap:6px; min-width:0; }
.bcore-editor .bsm-wide { grid-column:1/-1; }
.bcore-editor input:not([type=checkbox]),.bcore-editor select,.bcore-editor textarea { width:100%; min-width:0; border:1px solid #aeb7c5; border-radius:4px; background:#fff; color:#252a34; padding:9px 10px; font:inherit; }
.bcore-editor textarea { min-height:94px; resize:vertical; }
.bcore-editor input:focus,.bcore-editor select:focus,.bcore-editor textarea:focus,.bcore-toolbar select:focus { outline:2px solid #315fcb; outline-offset:2px; }
.bcore-attachments { margin:16px; padding:14px; border-top:1px solid #e1e5ec; background:#f8f9fb; }
.bcore-attachments h3 { margin:0 0 8px; font-size:15px; }
.bcore-attachments p,.bcore-attachments ul { margin:6px 0; }
.bcore-attachments small { color:#566174; overflow-wrap:anywhere; }
@media(max-width:900px) { .bcore-workspace .bsm-layout { grid-template-columns:minmax(0,1fr); }.bcore-editor .bw-form-grid { grid-template-columns:minmax(0,1fr); }.bcore-editor .bsm-wide { grid-column:auto; } }
@media(max-width:600px) { .bcore-toolbar { display:grid; grid-template-columns:minmax(0,1fr); padding:12px; }.bcore-toolbar label,.bcore-toolbar label:first-child { min-width:0; }.bcore-editor { margin:12px; }.bcore-editor .bw-form-grid { padding:12px; }.bcore-workspace .bw-table-wrap { max-height:none; }.bcore-pages { justify-content:stretch; }.bcore-pages .bw-button { flex:1; min-height:44px; } }

/* Reconciled report evidence and CEO read-only evidence. */
.b10-report-evidence { display:grid; gap:12px; min-width:0; }
.b10-workspace .bw-brand { width:max-content; max-width:100%; }
.b10-workspace .bw-logo { flex-shrink:0; }
@media(min-width:851px) { .b10-workspace .bw-sidebar { top:var(--report-header-height,58px); } }
.b10-dashboard-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:12px; }
.b10-evidence-card { display:grid; gap:7px; border:1px solid #d8dde5; border-radius:6px; padding:14px; background:#fff; min-width:0; }
.b10-evidence-card span,.b10-evidence-card small { color:#5f6775; }
.b10-evidence-card strong { font-size:1.05rem; overflow-wrap:anywhere; }
.b10-evidence-card code { font-size:.72rem; overflow-wrap:anywhere; }
.b10-danger { color:#9f1d20; font-weight:700; }
@media(max-width:540px) { .b10-dashboard-grid { grid-template-columns:1fr; }.b10-report-evidence .b10-report-toolbar { align-items:flex-start; flex-direction:column; }.b10-report-evidence .b10-table { min-width:720px; } }
/* Preparation remains within the existing Documents content band. */
.mp-preparation { padding: 20px; min-width: 0; }
.mp-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.mp-field { display: grid; gap: 6px; min-width: 0; margin: 12px 0; }
.mp-field input,.mp-field textarea,.mp-field select { box-sizing: border-box; width: 100%; min-width: 0; padding: 8px; font: inherit; }
.mp-preparation fieldset { min-width: 0; margin: 18px 0; }
.mp-preparation dl { overflow-wrap: anywhere; }
.mp-preparation .bw-form-actions { display: flex; flex-wrap: wrap; gap: 8px; position: static; }
.bw-app.b11-workspace:has(.mp-preparation) .bw-brand { width: auto; }
@media(min-width:851px) { .bw-app.b11-workspace:has(.mp-preparation) .bw-sidebar { top:var(--report-header-height,58px); } }
.mp-preparation table { width: 100%; }
@media(max-width:600px) { .mp-grid { grid-template-columns: minmax(0,1fr); } .mp-preparation { padding: 12px; } }
.bw-app:has(.iv-preparation) .bw-top { height:auto; min-height:58px; flex-wrap:wrap; }
.bw-app:has(.iv-preparation) .bw-brand { width:max-content; max-width:100%; }
@media(min-width:851px) { .bw-app:has(.iv-preparation) .bw-sidebar { top:var(--report-header-height,58px); } }

/* Scoped usability: fields remain usable at narrow widths and text zoom. */
#bi-shared-form .bw-info{min-width:0;padding:16px;}
#bi-shared-form input:not([type=checkbox]),#bi-shared-form textarea,#bi-shared-form select,#bc-shared-form input,#bc-shared-form textarea{max-width:100%;box-sizing:border-box;}
