/* R99: one type scale for Market, contributor and review workspaces. No remote font. */
html[data-bn-workspace-ui]{--bn-type-face:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans","Noto Sans CJK SC","PingFang SC","Microsoft YaHei",sans-serif;--bn-type-ink:#20354a;--bn-type-muted:#60758a;--bn-type-line:#dce4eb}
html[data-bn-workspace-ui]:lang(ja){--bn-type-face:system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans CJK JP",sans-serif}
html[data-bn-workspace-ui]:lang(ko){--bn-type-face:system-ui,-apple-system,"Apple SD Gothic Neo","Malgun Gothic","Noto Sans CJK KR",sans-serif}
html[data-bn-workspace-ui]:lang(zh-Hant){--bn-type-face:system-ui,-apple-system,"PingFang TC","Microsoft JhengHei","Noto Sans CJK TC",sans-serif}
html[data-bn-workspace-ui] body{font-family:var(--bn-type-face)!important;font-size:14px;line-height:1.55;font-weight:400;color:var(--bn-type-ink);-webkit-text-size-adjust:100%}
html[data-bn-workspace-ui] body :is(button,input,select,textarea,dialog,.bnui-dialog,.bn-purchases-page){font-family:var(--bn-type-face)!important;letter-spacing:normal}
html[data-bn-workspace-ui] body :is(h1,h2,h3,h4,.bnui-title){font-family:var(--bn-type-face)!important;font-weight:500!important;letter-spacing:0;overflow-wrap:break-word;text-wrap:pretty}
html[data-bn-workspace-ui] body :is(.bn-portal-toolbar h1,.bn-ws-heading h1,.pagehead h1){font-size:24px!important;line-height:1.3!important;margin:0}
html[data-bn-workspace-ui] body :is(.bn-contributor-panel h2,.bn-sales-panel h2,.bn-sale-panel h2,.bn-purchases h2,.panel h2,.bn-portal-dialoghead h2){font-size:20px!important;line-height:1.4!important}
html[data-bn-workspace-ui] body :is(.bn-portal-cardtitle,.bn-p-row h3,.bn-contributor-panel h3,.bn-market-modal-title){font-size:16px!important;line-height:1.45!important}
html[data-bn-workspace-ui] body :is(.bn-portal-side a,.bn-ws-nav a,.bn-ws-back,.bn-workspace-back,.bn-contributor-btn,.bnui-btn,.bn-p-row>button){font-size:14px!important;line-height:1.45;font-weight:400}
html[data-bn-workspace-ui] body :is(.bn-portal-eyebrow,.bn-ws-group,.bn-contributor-stats strong){font-size:11px!important;line-height:1.5!important;font-weight:500;letter-spacing:.06em}
html[data-bn-workspace-ui] body :is(.bn-contributor-help,.bn-contributor-panel-head p,.bn-p-meta,.bn-p-detail dt,.bn-p-footer,.bn-portal-meta,.bn-portal-badge,.bn-contributor-badge){font-size:12px!important;line-height:1.55!important;font-weight:400}
html[data-bn-workspace-ui] body :is(.bn-p-filters label,.bn-contributor-form-grid label,.bn-portal-filterrow label,.bn-p-columns,thead th){font-size:13px!important;font-weight:500!important;line-height:1.5}
html[data-bn-workspace-ui] body :is(.bn-portal-detailcopy,.bn-contributor-panel,.bn-purchases-page,.bn-purchases){font-family:var(--bn-type-face)!important;font-size:14px;line-height:1.55}
html[data-bn-workspace-ui] body :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:14px;line-height:1.5;font-weight:400}
html[data-bn-workspace-ui] body :is(.bn-p-paid,.bn-p-date,.bn-sale-money,.bn-sales-stats strong,.bn-exchange-estimate strong){font-variant-numeric:tabular-nums}
html[data-bn-workspace-ui] body :is(.bn-p-filters,.bnui-actions,.bn-portal-review-actions){gap:10px;flex-wrap:wrap}
html[data-bn-workspace-ui] body .bn-p-filters label{min-width:0;flex:1 1 125px}html[data-bn-workspace-ui] body .bn-p-filters label:first-child{flex:3 1 250px}
/* Compact account summary: a credit action, usage value and quiet capacity line. */
html[data-bn-workspace-ui] body #bn_market_account_card.bn-account-mini{padding:4px 2px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html[data-bn-workspace-ui] body .bn-account-credit{min-height:28px!important;padding:2px 0!important;border:0!important;font-size:12px!important;border-radius:4px!important}
html[data-bn-workspace-ui] body .bn-account-credit strong{font-size:13px!important;font-weight:500!important}
html[data-bn-workspace-ui] body .bn-account-storage{padding-top:0!important;gap:2px!important}
html[data-bn-workspace-ui] body #bn_market_storage_value{font-size:11px!important;line-height:1.5!important}
html[data-bn-workspace-ui] body .bn-account-meter{height:2px!important;margin-top:0!important}
/* The same header, spacing and type for information, warning and error confirmations. */
html[data-bn-workspace-ui] body #bnui-root .bnui-dialog{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:20px 14px;width:min(100%,480px);padding:24px;border:1px solid #dce4eb;border-radius:14px;background:#fff;box-shadow:0 16px 48px #172b4226;font:400 14px/1.55 var(--bn-type-face)!important}
html[data-bn-workspace-ui] body #bnui-root .bnui-overlay{backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);background:#1c2b3c4d}
html[data-bn-workspace-ui] body #bnui-root .bnui-head{display:contents!important}
html[data-bn-workspace-ui] body #bnui-root .bnui-title{grid-column:1;grid-row:1;display:flex;align-items:center;gap:9px;margin:0!important;font:500 20px/1.4 var(--bn-type-face)!important;letter-spacing:0!important;color:var(--bn-type-ink)}
html[data-bn-workspace-ui] body #bnui-root .bnui-close{grid-column:2;grid-row:1;align-self:center;width:34px;height:34px;background:#f2f5f7;transform:none}
html[data-bn-workspace-ui] body #bnui-root .bnui-mark{width:18px;height:18px;flex:0 0 18px;border:0;background:transparent;border-radius:0;color:#607a91}
html[data-bn-workspace-ui] body #bnui-root .bnui-mark svg{width:18px;height:18px;stroke-width:1.5}
html[data-bn-workspace-ui] body #bnui-root[data-tone=warning] .bnui-mark{color:#95691e}html[data-bn-workspace-ui] body #bnui-root[data-tone=error] .bnui-mark{color:#b24740}html[data-bn-workspace-ui] body #bnui-root[data-tone=success] .bnui-mark{color:#34735a}
html[data-bn-workspace-ui] body #bnui-root :is(.bnui-body,.bnui-actions){grid-column:1/-1;margin:0!important}
html[data-bn-workspace-ui] body #bnui-root .bnui-body{font:400 14px/1.6 var(--bn-type-face)!important;color:var(--bn-type-muted)}
html[data-bn-workspace-ui] body #bnui-root .bnui-actions{justify-content:flex-end;gap:10px;padding-top:2px}
html[data-bn-workspace-ui] body #bnui-root .bnui-btn{min-height:40px;height:auto;padding:9px 15px;border-radius:6px;font:500 14px/1.45 var(--bn-type-face)!important;box-shadow:none;transform:none;white-space:normal}
html[data-bn-workspace-ui] body #bnui-root .bnui-btn-danger{background:#20394f;color:#fff;border-color:#20394f}html[data-bn-workspace-ui] body #bnui-root .bnui-btn-danger:hover{background:#2e4c65;color:#fff}
html[data-bn-workspace-ui] body #bnui-root .bn-exchange-estimate{gap:14px;margin:0 0 20px}
html[data-bn-workspace-ui] body #bnui-root .bn-exchange-estimate>span{gap:20px;align-items:baseline}
html[data-bn-workspace-ui] body #bnui-root .bn-exchange-estimate strong{font:500 18px/1.4 var(--bn-type-face)!important;font-variant-numeric:tabular-nums!important;color:var(--bn-type-ink)}
html[data-bn-workspace-ui] body #bnui-root .bn-exchange-estimate>span:nth-child(2){padding:12px 0;border-block:1px solid #e6edf2}
html[data-bn-workspace-ui] body :is(button,a,input,select,textarea):focus-visible{outline:2px solid #47749a;outline-offset:3px}
@media(max-width:650px){html[data-bn-workspace-ui] body :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important}html[data-bn-workspace-ui] body #bnui-root{padding:14px}html[data-bn-workspace-ui] body #bnui-root .bnui-dialog{padding:20px;gap:18px 12px}html[data-bn-workspace-ui] body #bnui-root .bnui-btn{flex:1 1 110px;min-height:44px}html[data-bn-workspace-ui] body :is(.bn-portal-toolbar h1,.bn-ws-heading h1,.pagehead h1){font-size:22px!important}html[data-bn-workspace-ui] body .bn-p-row>button{min-height:44px}html[data-bn-workspace-ui] body .bn-p-filters label{flex-basis:110px}html[data-bn-workspace-ui] body .bn-p-filters label:first-child{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){html[data-bn-workspace-ui] body #bnui-root *{transition:none!important;animation:none!important}}

html[data-bn-workspace-ui] body :is(.bn-sales-metrics dt,.bn-sales-table th,.bn-sales-detail-meta){font-size:12px!important;line-height:1.5!important;letter-spacing:0;font-weight:400}
html[data-bn-workspace-ui] body :is(.bn-sales-metrics dd,.bn-contributor-stats span){font-family:var(--bn-type-face)!important;font-size:24px!important;line-height:1.3!important;font-weight:400;font-variant-numeric:tabular-nums}
html[data-bn-workspace-ui] body :is(.bn-sales-work-title,.bn-sales-detail-title){font-family:var(--bn-type-face)!important;font-size:16px!important;font-weight:500!important;line-height:1.45!important}
html[data-bn-workspace-ui] body .bn-sales-detail-title{font-size:20px!important}
/* R100: the homepage sidebar is the single navigation control. */
html[data-bn-workspace-ui] body :is(.bn-ws-header,.bn-portal-header,body.bn-call-workspace>header){justify-content:initial;gap:14px;padding-inline:18px}
html[data-bn-workspace-ui] body :is(.bn-portal-brand,.bn-ws-brand){margin-right:auto}
html[data-bn-workspace-ui] body button.bn-workspace-sidebar-toggle{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;min-height:32px;margin:0;padding:6px;border:0;border-radius:5px;background:transparent;color:#53687d;box-shadow:none;cursor:pointer}
html[data-bn-workspace-ui] body button.bn-workspace-sidebar-toggle:hover{background:#eaf0f4}
html[data-bn-workspace-ui] body button.bn-workspace-sidebar-toggle svg{display:block;width:19px;height:19px;flex:none}
@media(min-width:701px){body.bn-portal.bn-ws-sidebar-collapsed .bn-portal-frame,body.bn-call-workspace.bn-ws-sidebar-collapsed .shell{grid-template-columns:minmax(0,1fr)}body.bn-portal.bn-ws-sidebar-collapsed #bn-portal-nav,body.bn-call-workspace.bn-ws-sidebar-collapsed .side{display:none}}
html[data-bn-workspace-ui] body .bn-ws-side-bottom{padding:6px 12px 10px!important;gap:0!important}
html[data-bn-workspace-ui] body #bn_market_account_card.bn-account-mini{padding:0!important}
html[data-bn-workspace-ui] body .bn-account-credit,html[data-bn-workspace-ui] body .bn-account-storage{font-family:var(--bn-type-face)!important;letter-spacing:0}
html[data-bn-workspace-ui] body .bn-account-credit{color:var(--bn-type-muted);line-height:1.4!important}
html[data-bn-workspace-ui] body .bn-account-meter{opacity:.65}
/* Status and actions share one rail; metadata remains above it. */
html[data-bn-workspace-ui] body .bn-portal-cardbody{gap:7px;padding:12px}
html[data-bn-workspace-ui] body .bn-portal-cardtitle{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:14px!important;line-height:1.5!important;min-height:42px;text-align:left}
html[data-bn-workspace-ui] body .bn-card-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding-top:3px;grid-column:1/-1}
html[data-bn-workspace-ui] body .bn-card-actions .bn-portal-badge{margin:0 auto 0 0;padding:0;background:transparent;white-space:normal;font-size:11px!important}
html[data-bn-workspace-ui] body .bn-card-actions .bn-portal-info{margin:0;padding:3px 5px;border:0;background:transparent;font-size:12px;min-height:30px;color:#315778;border-radius:4px;box-shadow:none}
html[data-bn-workspace-ui] body .bn-card-actions .bn-portal-info:hover{background:#edf2f6}
html[data-bn-workspace-ui] body .bn-portal-meta{gap:7px}
@media(pointer:coarse){html[data-bn-workspace-ui] body .bn-card-actions .bn-portal-info{min-height:40px}html[data-bn-workspace-ui] body button.bn-workspace-sidebar-toggle{min-width:40px;width:40px;min-height:40px;height:40px;flex-basis:40px}}
html[data-bn-workspace-ui] body .bn-ai-assistance{grid-column:1/-1;padding:0 0 12px;border-bottom:1px solid var(--bn-type-line)}
html[data-bn-workspace-ui] body .bn-ai-assistance>p{margin:0 0 7px;color:var(--bn-type-muted);font-size:13px}
html[data-bn-workspace-ui] body .bn-ai-assistance summary{display:list-item;cursor:pointer;color:#315778;font-size:13px;width:fit-content}
html[data-bn-workspace-ui] body .bn-ai-assistance details>label{display:grid;gap:5px;margin:12px 0 8px;font-size:13px}
html[data-bn-workspace-ui] body .bn-ai-assistance textarea{min-height:64px;resize:vertical}
html[data-bn-workspace-ui] body .bn-ai-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
html[data-bn-workspace-ui] body .bn-ai-actions button{font:inherit;font-size:13px;padding:7px 11px;min-height:36px;border:1px solid #ccd8e2;background:white;color:#315778;border-radius:5px;cursor:pointer}
html[data-bn-workspace-ui] body .bn-ai-actions button:hover{background:#edf3f7}html[data-bn-workspace-ui] body .bn-ai-actions button:disabled{color:#798998;cursor:wait}
html[data-bn-workspace-ui] body .bn-ai-assistance small{display:block;margin-top:8px;color:var(--bn-type-muted);font-size:12px}
html[data-bn-workspace-ui] body .bn-ai-status{margin:8px 0 0;font-size:13px;color:var(--bn-type-muted)}html[data-bn-workspace-ui] body .bn-ai-status:empty{display:none}
html[data-bn-workspace-ui] body .bn-ai-result{box-sizing:border-box;width:min(560px,calc(100vw - 28px));max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--bn-type-line);border-radius:12px;color:var(--bn-type-ink);background:#fff;box-shadow:0 16px 48px #172b4226}
html[data-bn-workspace-ui] body .bn-ai-result::backdrop{background:#1c2b3c4d}
html[data-bn-workspace-ui] body .bn-ai-result header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid var(--bn-type-line)}
html[data-bn-workspace-ui] body .bn-ai-result h2{font-size:20px;margin:0}html[data-bn-workspace-ui] body .bn-ai-result header button{width:34px;height:34px;min-height:34px;flex:none;border:0;border-radius:50%;background:#f2f5f7;font-size:23px;color:#3c536a;cursor:pointer}
html[data-bn-workspace-ui] body .bn-ai-result-body{display:grid;gap:16px;padding:20px 22px}
html[data-bn-workspace-ui] body .bn-ai-result-body label{display:grid;gap:5px;font-size:13px}
html[data-bn-workspace-ui] body .bn-ai-result :is(input,textarea){box-sizing:border-box;width:100%;padding:8px 10px;border:1px solid #cdd9e3;border-radius:5px;color:inherit;font:inherit;resize:vertical}
html[data-bn-workspace-ui] body .bn-ai-result small{color:var(--bn-type-muted);font-size:12px}.bn-ai-result .bn-ai-actions{justify-content:flex-end}
html[data-bn-workspace-ui] body .bn-ai-quote{display:grid;gap:8px;margin:16px 0;font-variant-numeric:tabular-nums}
html[data-bn-workspace-ui] body .bn-ai-quote>p{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin:0!important;line-height:1.5}
html[data-bn-workspace-ui] body .bn-ai-quote>p>span{color:var(--bn-type-muted)}
html[data-bn-workspace-ui] body .bn-ai-result::backdrop{backdrop-filter:none}

@media(min-width:701px){body.bn-call-workspace.bn-ws-sidebar-collapsed .layout{grid-template-columns:minmax(0,1fr)}body.bn-call-workspace.bn-ws-sidebar-collapsed #sidebar{display:none}}
@media(max-width:700px){body.bn-call-workspace .side.is-open,body.bn-call-workspace #sidebar.is-open{transform:none}}
html[data-bn-workspace-ui] body.bn-call-workspace>header>.brand{margin-right:auto}

/* Translation and generation are separate actions; supplement belongs only to generation. */
html[data-bn-workspace-ui] body .bn-ai-translation{display:flex;align-items:center;gap:8px;font-size:13px;margin:8px 0;font-weight:400}
html[data-bn-workspace-ui] body .bn-ai-translation input{width:14px;height:14px;margin:0;flex:none}
html[data-bn-workspace-ui] body .bn-ai-assistance>details{margin-top:12px}
html[data-bn-workspace-ui] body .bn-ai-dialog .bnui-dialog{max-width:620px}
html[data-bn-workspace-ui] body .bn-ai-dialog .bnui-body{max-height:55vh;overflow:auto;text-align:left;overscroll-behavior:contain}
html[data-bn-workspace-ui] body .bn-ai-review section{margin:0 0 14px}
html[data-bn-workspace-ui] body .bn-ai-review section>span{color:var(--bn-type-muted);font-size:12px}
html[data-bn-workspace-ui] body .bn-ai-review section>p{margin:4px 0 0;font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}

/* R104: compact choices and one consistent status/result surface. */
html[data-bn-workspace-ui] body #bn_contributor_upload_form .bn-upload-mode{gap:8px}
html[data-bn-workspace-ui] body #bn_contributor_upload_form .bn-upload-mode>.bn-upload-eyebrow{display:none}
html[data-bn-workspace-ui] body #bn_contributor_upload_form .bn-upload-mode h3{font-size:15px;margin:0 0 2px}
html[data-bn-workspace-ui] body #bn_contributor_upload_form .bn-upload-mode-choices{gap:8px}
html[data-bn-workspace-ui] body #bn_contributor_upload_form .bn-upload-mode-choices button{padding:11px 13px;gap:4px;border-radius:5px}
html[data-bn-workspace-ui] body #bn_contributor_upload_form .bn-upload-choice-title{font-size:14px;line-height:1.4}
html[data-bn-workspace-ui] body #bn_contributor_upload_form .bn-required-note{font-size:12px;margin:0 0 10px;color:var(--bn-type-muted)}
html[data-bn-workspace-ui] body .bn-ai-assistance{margin:0 0 16px;padding:0 0 14px;display:grid;gap:8px}
html[data-bn-workspace-ui] body .bn-ai-assistance>p,html[data-bn-workspace-ui] body .bn-ai-assistance>details,html[data-bn-workspace-ui] body .bn-ai-assistance>label{margin:0}
html[data-bn-workspace-ui] body .bn-ai-assistance [hidden]{display:none!important}
html[data-bn-workspace-ui] body .bn-ai-hint{margin:0 0 10px;font-size:12px;line-height:1.5;color:var(--bn-type-muted)}
html[data-bn-workspace-ui] body .bn-ai-assistance details>label{display:grid;gap:5px;margin:10px 0 8px;font-size:12px}
html[data-bn-workspace-ui] body .bn-ai-assistance details textarea{min-height:60px;max-height:140px;font-size:13px;line-height:1.5}
html[data-bn-workspace-ui] body .bn-ai-assistance summary{font-size:13px;cursor:pointer;min-height:28px;line-height:28px;color:var(--bn-type-ink)}
html[data-bn-workspace-ui] body .bn-ai-status-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
html[data-bn-workspace-ui] body .bn-ai-status{display:flex;align-items:start;gap:7px;flex:1 1 230px;margin:0;font-size:13px;line-height:1.5}
html[data-bn-workspace-ui] body .bn-ai-status:empty{display:none}
html[data-bn-workspace-ui] body .bn-ai-status>svg{width:16px;height:16px;margin-top:2px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
html[data-bn-workspace-ui] body .bn-ai-status[data-tone=success]{color:#286448}
html[data-bn-workspace-ui] body .bn-ai-status[data-tone=warning]{color:#8c4f16}
html[data-bn-workspace-ui] body .bn-ai-status[data-tone=busy]>svg{animation:bn-ai-spin 1s linear infinite}
html[data-bn-workspace-ui] body .bn-ai-status .bn-ai-total{margin:0 0 0 auto;padding:0;border:0;background:none;white-space:nowrap}
html[data-bn-workspace-ui] body .bn-ai-status .bn-ai-total span{display:none}
html[data-bn-workspace-ui] body #bnui-root.bn-ai-dialog .bnui-dialog{width:min(620px,calc(100vw - 32px));padding:22px;border-radius:10px}
html[data-bn-workspace-ui] body #bnui-root.bn-ai-dialog .bnui-body{font-size:14px;line-height:1.55;max-height:58dvh;padding-right:6px}
html[data-bn-workspace-ui] body .bn-ai-review{display:grid;gap:16px}
html[data-bn-workspace-ui] body .bn-ai-review section{margin:0}
html[data-bn-workspace-ui] body .bn-ai-review section>span{display:block;margin-bottom:5px;font-size:12px;color:var(--bn-type-muted)}
html[data-bn-workspace-ui] body .bn-ai-review section>p{margin:0;line-height:1.55;font-size:14px;color:var(--bn-type-ink)}
html[data-bn-workspace-ui] body .bn-ai-keywords{display:flex;flex-wrap:wrap;gap:5px}
html[data-bn-workspace-ui] body .bn-ai-keywords>span{padding:3px 7px;background:#f2f5f7;border-radius:4px;font-size:12px;line-height:1.4;color:var(--bn-type-ink)}
html[data-bn-workspace-ui] body .bn-ai-total{margin:0;padding:12px 0 0;border-top:1px solid var(--bn-type-line);font-variant-numeric:tabular-nums}
html[data-bn-workspace-ui] body .bn-ai-total strong{font-size:16px;font-weight:500;color:var(--bn-type-ink)}
html[data-bn-workspace-ui] body .bn-ai-review small{font-size:12px;line-height:1.5;color:var(--bn-type-muted)}
@keyframes bn-ai-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){html[data-bn-workspace-ui] body .bn-ai-status[data-tone=busy]>svg{animation:none}}

/* Market R37 geometry is the baseline for both contributor and review shells. */
html[data-bn-workspace-ui]{--bn-shell-header:48px;--bn-shell-rail:184px;--bn-shell-gutter:18px;--bn-shell-control:34px}
html[data-bn-workspace-ui] body:is(.bn-market-workspace,.bn-portal){--ws-header:var(--bn-shell-header);--ws-rail:var(--bn-shell-rail);--bn-workspace-gutter:var(--bn-shell-gutter)}
html[data-bn-workspace-ui] body :is(.bn-ws-header,.bn-portal-header){height:var(--bn-shell-header);min-height:var(--bn-shell-header);padding:0 var(--bn-shell-gutter);gap:14px;box-sizing:border-box}
html[data-bn-workspace-ui] body.bn-portal .bn-portal-frame{height:calc(100% - var(--bn-shell-header));grid-template-columns:var(--bn-shell-rail) minmax(0,1fr)}
html[data-bn-workspace-ui] body.bn-portal .bn-portal-brand{font-size:16px;line-height:1.25;letter-spacing:2px}
html[data-bn-workspace-ui] body.bn-portal .bn-portal-brand span{font-size:8px;line-height:1.25;letter-spacing:1.8px;margin-top:3px}
html[data-bn-workspace-ui] body.bn-portal .bn-portal-side{padding:18px 10px 12px;gap:3px}
html[data-bn-workspace-ui] body.bn-portal .bn-portal-side>a:not(.bn-portal-subnav){min-height:40px;padding:9px 12px}
html[data-bn-workspace-ui] body.bn-portal .bn-portal-main>.bn-portal-toolbar{margin:0 var(--bn-shell-gutter) 10px;padding:8px 0;min-height:51px;gap:12px;border-bottom:1px solid var(--bn-type-line);align-items:center}
html[data-bn-workspace-ui] body.bn-portal .bn-portal-main>.bn-portal-toolbar>div{min-width:0}
html[data-bn-workspace-ui] body.bn-portal .bn-portal-main>.bn-portal-toolbar .bn-portal-eyebrow{display:none}
html[data-bn-workspace-ui] body.bn-portal .bn-portal-main>.bn-portal-toolbar :is(button,a.bn-workspace-button){min-height:var(--bn-shell-control);font-size:13px}
html[data-bn-workspace-ui] body.bn-portal .bn-portal-main>.bn-portal-toolbar .bn-workspace-back{width:32px;height:32px;min-height:32px;flex-basis:32px}
html[data-bn-workspace-ui] body.bn-portal .bn-portal-main>.bn-portal-scroll{padding:0 var(--bn-shell-gutter) 16px}
html[data-bn-workspace-ui] body.bn-portal :is(.bn-portal-controls,.bn-management-filters,#portal-controls){padding:0 var(--bn-shell-gutter) 10px}
html[data-bn-workspace-ui] body.bn-portal .bn-portal-pager{padding-inline:var(--bn-shell-gutter)}
html[data-bn-workspace-ui] body.bn-portal .bn-portal-controls :is(input,select,button){min-height:var(--bn-shell-control);font-size:13px}
html[data-bn-workspace-ui] body.bn-portal #bn_contributor_upload_form .bn-upload-fields-column{padding:18px;gap:14px}
@media(min-width:701px){html[data-bn-workspace-ui] body.bn-portal.bn-ws-sidebar-collapsed .bn-portal-frame{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1080px) and (min-width:701px){html[data-bn-workspace-ui] body.bn-portal .bn-workspace-links{display:flex;max-width:60vw;overflow:auto}html[data-bn-workspace-ui] body.bn-portal .bn-workspace-global{padding:5px 9px;margin-right:0;border-radius:24px}}
@media(max-width:1000px){html[data-bn-workspace-ui]{--bn-shell-rail:164px}html[data-bn-workspace-ui] body.bn-portal .bn-workspace-links a{font-size:12px;padding:5px 7px}}
@media(max-width:700px){html[data-bn-workspace-ui]{--bn-shell-gutter:12px}html[data-bn-workspace-ui] body :is(.bn-ws-header,.bn-portal-header){gap:10px}html[data-bn-workspace-ui] body.bn-portal .bn-workspace-global{display:none}html[data-bn-workspace-ui] body.bn-portal .bn-portal-frame{grid-template-columns:minmax(0,1fr)}html[data-bn-workspace-ui] body.bn-portal .bn-portal-side{top:var(--bn-shell-header);width:220px;z-index:18}html[data-bn-workspace-ui] body.bn-portal .bn-portal-main>.bn-portal-toolbar{flex-wrap:wrap;gap:8px}}
@media(pointer:coarse){html[data-bn-workspace-ui] body.bn-portal .bn-portal-main>.bn-portal-toolbar :is(button,a.bn-workspace-button){min-height:44px}}

html[data-bn-workspace-ui] body.bn-portal .bn-portal-main>.bn-portal-toolbar :is(button:not([aria-label]),a.bn-workspace-button){padding:5px 12px;line-height:1.5}

/* R105: one compact notice treatment for guidance, balances and blocked actions. */
html[data-bn-workspace-ui] body .bn-ai-notice{display:flex;align-items:flex-start;gap:9px;margin:0;padding:11px 12px;border:1px solid #cfdee9;border-radius:6px;background:#f0f6fa;color:#24485f;font-size:13px;line-height:1.5}
html[data-bn-workspace-ui] body .bn-ai-notice[data-tone=warning]{background:#fff7e9;border-color:#e9ce9f;color:#784608}
html[data-bn-workspace-ui] body .bn-ai-notice>svg{width:18px;height:18px;flex:none;margin-top:1px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
html[data-bn-workspace-ui] body .bn-ai-notice>span{flex:1;min-width:0}
html[data-bn-workspace-ui] body .bn-ai-notice>strong{font-size:15px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-bn-workspace-ui] body .bn-ai-notice small{display:block;margin-top:5px;font-size:12px;line-height:1.5;color:inherit}
html[data-bn-workspace-ui] body .bn-ai-translation.is-disabled{color:#71808b;cursor:default}
html[data-bn-workspace-ui] body .bn-ai-translation.is-disabled input{opacity:.55;cursor:default}
html[data-bn-workspace-ui] body .bn-ai-mode-hint{font-size:12px;line-height:1.5;color:var(--bn-type-muted)}
html[data-bn-workspace-ui] body .bn-ai-status .bn-ai-total span{display:inline;margin-right:8px;font-size:12px}

/* R106: common card baseline. Grid rows stretch; status and actions stay together. */
html[data-bn-workspace-ui] body .bn-portal-grid:not(.bn-portal-as-list){align-items:stretch;gap:16px}
html[data-bn-workspace-ui] body .bn-portal-grid:not(.bn-portal-as-list)>.bn-portal-card{display:flex;flex-direction:column;min-width:0}
html[data-bn-workspace-ui] body .bn-portal-grid:not(.bn-portal-as-list) .bn-portal-thumb{flex:none}
html[data-bn-workspace-ui] body .bn-portal-grid:not(.bn-portal-as-list) .bn-portal-cardbody{display:flex;flex-direction:column;flex:1;gap:7px;padding:12px;min-width:0}
html[data-bn-workspace-ui] body .bn-portal-grid:not(.bn-portal-as-list) .bn-portal-cardtitle{min-height:42px!important;height:42px;line-height:21px!important;flex:none;font-size:14px!important;font-weight:500!important}
html[data-bn-workspace-ui] body .bn-portal-grid:not(.bn-portal-as-list) .bn-card-actions{margin-top:auto;padding-top:8px}
html[data-bn-workspace-ui] body .bn-card-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;align-items:start}
html[data-bn-workspace-ui] body .bn-card-actions .bn-portal-badge{min-height:18px;line-height:18px;margin:0;align-self:start;overflow-wrap:anywhere}
html[data-bn-workspace-ui] body .bn-card-action-links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px 10px;min-height:30px}
html[data-bn-workspace-ui] body .bn-card-action-links .bn-portal-info{padding:4px 0;min-height:30px;line-height:20px;font-size:12px;white-space:normal;text-align:left}
html[data-bn-workspace-ui] body .bn-intake-deadline{margin:0;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
html[data-bn-workspace-ui] body .bn-portal-as-list .bn-card-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px}
html[data-bn-workspace-ui] body .bn-portal-as-list .bn-card-action-links{margin-left:auto}
html[data-bn-workspace-ui] body .bn-portal-filterrow{gap:10px 12px}
html[data-bn-workspace-ui] body .bn-portal-controls form{margin-bottom:10px}
/* One spacing rhythm for quotes and notices, with visible financial hierarchy. */
html[data-bn-workspace-ui] body #bnui-root .bnui-body>div>p{margin:0 0 10px}
html[data-bn-workspace-ui] body #bnui-root .bnui-body small{display:block;font-size:12px;line-height:1.5;color:var(--bn-type-muted)}
html[data-bn-workspace-ui] body .bn-ai-quote{padding-block:10px;border-block:1px solid var(--bn-type-line);gap:6px;margin:14px 0}
html[data-bn-workspace-ui] body .bn-ai-quote>p{color:var(--bn-type-ink);font-weight:500}
html[data-bn-workspace-ui] body .bn-ai-quote>p>span{font-weight:400}
html[data-bn-workspace-ui] body .bn-ai-status .bn-ai-total{border:0;margin:0;padding:0}
html[data-bn-workspace-ui] body .bn-ai-status-row>button{font:inherit;font-size:12px;line-height:1.5;min-height:32px;padding:5px 10px;border:1px solid var(--bn-type-line);border-radius:5px;background:#fff;color:var(--bn-type-ink);cursor:pointer}
html[data-bn-workspace-ui] body .bn-ai-assistance .bn-ai-notice{padding:9px 10px}
html[data-bn-workspace-ui] body .bn-ai-assistance summary:focus-visible{outline:2px solid #47749a;outline-offset:3px;border-radius:3px}
html[data-bn-workspace-ui] body .bn-ai-assistance button:disabled{cursor:default}
html[data-bn-workspace-ui] body .bn-ai-assistance[aria-busy=true] .bn-ai-actions button{cursor:wait}
html[data-bn-workspace-ui] body #bnui-root .bnui-actions{flex-wrap:wrap}
@media(pointer:coarse){html[data-bn-workspace-ui] body .bn-card-action-links .bn-portal-info{min-height:40px;padding-block:10px}}

/* Guest actions use the same informational symbol and dialog rhythm. */
html[data-bn-workspace-ui] body dialog.bn-ws-auth-panel{width:min(440px,calc(100vw - 28px));padding:22px;border-radius:10px;font:400 14px/1.55 var(--bn-type-face)}
html[data-bn-workspace-ui] body .bn-ws-auth-panel .bn-ws-save-head{padding:0;border:0;gap:14px;align-items:center}
html[data-bn-workspace-ui] body .bn-ws-auth-panel .bn-ws-save-head h2{display:flex;align-items:center;gap:9px;font-size:20px!important;line-height:1.4!important;margin:0}
html[data-bn-workspace-ui] body .bn-ws-auth-mark{width:18px;height:18px;flex:none;fill:none;stroke:#607a91;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
html[data-bn-workspace-ui] body .bn-ws-auth-panel .bn-ws-save-body{padding:16px 0 0}
html[data-bn-workspace-ui] body .bn-ws-auth-copy{margin:0;color:var(--bn-type-muted);font-size:14px;line-height:1.6}
html[data-bn-workspace-ui] body .bn-ws-auth-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:22px}
html[data-bn-workspace-ui] body .bn-ws-auth-actions a{font:500 14px/1.45 var(--bn-type-face);min-height:40px;padding:9px 14px;border-radius:6px;box-sizing:border-box;text-align:center}
html[data-bn-workspace-ui] body .bn-portal-grid:not(.bn-portal-as-list)>.bn-portal-card.is-awaiting-details{border-top-width:1px;box-shadow:inset 0 2px #a6bfd1}
@media(max-width:650px){html[data-bn-workspace-ui] body .bn-ws-auth-actions a{flex:1 1 130px;min-height:44px}}

/* R109: one AI disclosure in Upload and nested Manage media forms. */
html[data-bn-workspace-ui] body .bn-ai-assistance>details{padding:0;border:0;background:transparent;box-shadow:none;min-width:0}
html[data-bn-workspace-ui] body .bn-ai-assistance>details>summary{display:flex;align-items:center;gap:7px;width:fit-content;max-width:100%;min-height:32px;height:auto;margin:0;padding:4px 0;border:0;border-radius:0;background:transparent;box-shadow:none;list-style:none;font:400 13px/1.5 var(--bn-type-face,system-ui,sans-serif);color:var(--bn-type-ink,#28445e);text-align:left;white-space:normal}
html[data-bn-workspace-ui] body .bn-ai-assistance>details>summary::-webkit-details-marker{display:none}
html[data-bn-workspace-ui] body .bn-ai-assistance>details>summary::after{content:none;display:none}
html[data-bn-workspace-ui] body .bn-ai-assistance>details>summary::before{content:'';width:6px;height:6px;flex:none;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);margin:0 3px 0 1px}
html[data-bn-workspace-ui] body .bn-ai-assistance>details[open]>summary::before{transform:rotate(45deg) translateY(-2px)}

/* A30: keep translation review actions compact and reachable on short screens. */
html[data-bn-workspace-ui] body #bnui-root.bn-ai-dialog .bnui-dialog{box-sizing:border-box;max-height:calc(100dvh - 28px);grid-template-rows:auto minmax(0,1fr) auto}
html[data-bn-workspace-ui] body #bnui-root.bn-ai-dialog .bnui-body{min-height:0}
html[data-bn-workspace-ui] body #bnui-root.bn-ai-dialog .bnui-actions .bnui-btn{flex:0 0 auto}
html[data-bn-workspace-ui] body .bn-ai-source-review>summary{cursor:pointer;padding-block:4px;margin-bottom:8px}

/* One card cap owns the top corners, both at rest and while the context row sticks. */
body.bn-portal .bn-portal-legacy #bn-contributor-media.bn-media-editor.bn-editor-ready{
  padding-top:0;border-top:0;border-radius:8px;
}
body.bn-portal .bn-media-editor.bn-editor-ready > .bn-contributor-panel-head {
  position:sticky;top:0;z-index:12;display:grid;
  grid-template-columns:minmax(180px,270px) minmax(0,1fr);gap:28px;
  align-items:start;padding:24px 24px 13px;margin:0 -25px 16px;
  background:#fff;border:1px solid var(--portal-line,#dce4eb);border-bottom:0;border-radius:8px 8px 0 0;
  box-shadow:0 -8px 0 var(--portal-paper,#f7f8f6);
}
body.bn-portal .bn-media-editor.bn-editor-ready > .bn-contributor-panel-head::before{
  content:none;
}
body.bn-portal .bn-media-editor.bn-editor-ready > .bn-contributor-panel-head::after{
  content:"";position:absolute;pointer-events:none;bottom:0;inset-inline:24px;border-bottom:1px solid #e4e8eb;
}
body.bn-portal .bn-media-editor .bn-editor-summary{min-width:0;display:grid;gap:6px}
body.bn-portal .bn-media-editor .bn-editor-summary .bn-contributor-asset-head{margin:0}
body.bn-portal .bn-media-editor.bn-editor-ready .bn-contributor-asset-media{top:var(--bn-editor-context-height,140px)}
body.bn-portal .bn-media-editor.bn-editor-ready :is(input,textarea,select,button,summary){scroll-margin-top:var(--bn-editor-context-height,140px)}
body.bn-portal .bn-media-editor .bn-draft-trash{
  display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;
  padding:12px 0 0;margin:12px 0 0;border-top:1px solid #e4e8eb;
}
body.bn-portal .bn-media-editor .bn-draft-trash-button{
  display:inline-flex;align-items:center;gap:7px;min-height:40px;
  padding:6px 8px;border:1px solid transparent;border-radius:5px;
  background:transparent;color:#934338;font:inherit;font-size:13px;cursor:pointer;
}
body.bn-portal .bn-media-editor .bn-draft-trash-button:hover:not(:disabled){background:transparent;border-color:transparent;color:#6d3028}
body.bn-portal .bn-media-editor .bn-draft-trash-button:focus-visible{outline:2px solid #477cad;outline-offset:2px}
body.bn-portal .bn-media-editor .bn-draft-trash-button:disabled{opacity:.55;cursor:default}
body.bn-portal .bn-media-editor .bn-draft-trash :is(svg){width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
body.bn-portal .bn-media-editor .bn-draft-trash-note{display:flex;align-items:center;gap:7px;margin:0;color:#657488;font-size:12px;line-height:1.6;flex:1;min-width:min(230px,100%)}
body.bn-portal .bn-media-editor .bn-draft-trash-status{flex-basis:100%;color:#934338;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
body.bn-portal .bn-media-editor .bn-draft-trash-status:empty{display:none}
@media(max-width:850px){
  body.bn-portal .bn-media-editor.bn-editor-ready > .bn-contributor-panel-head{grid-template-columns:1fr;gap:6px;padding:17px 16px 11px;margin:0 -17px 16px}
  body.bn-portal .bn-media-editor.bn-editor-ready > .bn-contributor-panel-head::after{inset-inline:16px}
  body.bn-portal .bn-media-editor.bn-editor-ready > .bn-contributor-panel-head > div:first-child p{display:none}
  body.bn-portal .bn-media-editor.bn-editor-ready > .bn-contributor-panel-head h2{font-size:16px;margin:0}
  body.bn-portal .bn-media-editor .bn-editor-summary .bn-contributor-asset-head > strong{font-size:14px;line-height:1.4;min-width:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  body.bn-portal .bn-media-editor .bn-editor-summary .bn-contributor-asset-meta{font-size:11px;line-height:1.5}
  body.bn-portal .bn-media-editor .bn-draft-trash{gap:3px 10px}
  body.bn-portal .bn-media-editor .bn-draft-trash-button{min-height:44px}
}

/* The same information mark as the editor notice; translated text remains a text node. */
body.bn-portal .bn-owner-trash-row .bn-trash-expiry{display:flex;align-items:flex-start;gap:6px;line-height:1.6}
body.bn-portal .bn-owner-trash-row .bn-trash-expiry>svg{width:16px;height:16px;flex:none;margin-top:calc((1.6em - 16px)/2);fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
body.bn-portal .bn-owner-trash-row .bn-trash-expiry>span{min-width:0;overflow-wrap:anywhere}

/* The attachment section owns the divider before the editor; never stack two borders. */
body.bn-portal .bn-portal-legacy .bn-media-editor .bn-contributor-asset-details{
  border-top:0;
}
body.bn-portal .bn-media-editor .bn-edit-feedback{
  scroll-margin-top:var(--bn-editor-context-height,140px);
}

/* Usage guidance follows the document drawer proportions and close control. */
:root body .bn-usage-scope .bn-usage-scope-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 8px}
:root body .bn-usage-scope .bn-usage-scope-head>strong{margin:0;font-size:14px;font-weight:500}
:root body .bn-usage-scope .bn-usage-guide-trigger{display:inline-flex;align-items:center;gap:6px;width:auto;min-height:34px;height:auto;margin:0;padding:4px 0;border:0;border-radius:3px;background:none;box-shadow:none;color:#496c87;font:400 12px/1.5 var(--bn-type-face,system-ui,sans-serif);white-space:normal;cursor:pointer;text-align:start}
:root body .bn-usage-guide-trigger>svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5}
:root body .bn-usage-guide-trigger:hover{color:#1d466a;text-decoration:underline;text-underline-offset:3px}
:root body .bn-usage-guide-trigger:focus-visible{outline:2px solid #557b98;outline-offset:4px}
:root.bn-usage-guide-open{overflow:hidden}
:root body dialog.bn-usage-guide{position:fixed;inset:0 0 0 auto;box-sizing:border-box;margin:0;padding:0;width:min(780px,58vw);min-width:520px;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-left:1px solid #dbe4ef;border-radius:0;background:#fff;color:#24394d;box-shadow:-24px 0 70px #0f172a29;font:400 14px/1.65 var(--bn-type-face,system-ui,sans-serif);overflow:hidden;overscroll-behavior:contain}
:root body dialog.bn-usage-guide[open]{display:flex;flex-direction:column;animation:bnUsageGuideIn .2s cubic-bezier(.2,.78,.24,1)}
:root body dialog.bn-usage-guide::backdrop{background:#0f172a29}
:root body .bn-usage-guide *{box-sizing:border-box}
:root body .bn-usage-guide>header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex:0 0 auto;padding:20px 24px 16px;border-bottom:1px solid #e1e7ec;background:#fff}
:root body .bn-usage-guide header small{display:block;color:#60788f;font-size:10px;letter-spacing:.14em;line-height:1.5;margin:0 0 4px}
:root body .bn-usage-guide h2{margin:0;color:#1a2d40;font-size:19px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
:root body .bn-usage-guide .bn-usage-guide-close{position:relative;flex:0 0 34px;width:34px;min-width:34px;min-height:34px;height:34px;margin:0;padding:0;border:1px solid transparent;border-radius:9px;background:transparent;color:#53667f;font-size:0;box-shadow:none;cursor:pointer}
:root body .bn-usage-guide-close::before,:root body .bn-usage-guide-close::after{content:'';position:absolute;top:50%;left:50%;width:12px;height:1.5px;border-radius:99px;background:currentColor;transform-origin:center}
:root body .bn-usage-guide-close::before{transform:translate(-50%,-50%) rotate(45deg)}
:root body .bn-usage-guide-close::after{transform:translate(-50%,-50%) rotate(-45deg)}
:root body .bn-usage-guide .bn-usage-guide-close:hover{border-color:#23437a1f;background:#23437a0e;color:#183f6c}
:root body .bn-usage-guide-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable;padding:24px 28px 28px}
:root body .bn-usage-guide h3{margin:0 0 7px;font-size:15px;font-weight:500;line-height:1.5;color:#1d3b55}
:root body .bn-usage-guide p{margin:0 0 12px;line-height:1.7;overflow-wrap:anywhere;white-space:normal}
:root body .bn-usage-guide .bn-usage-guide-intro{color:#60758a;font-size:13px;margin:0 0 22px}
:root body .bn-usage-guide-choice{border:1px solid #dce5ec;border-radius:6px;padding:18px;margin:0 0 14px;background:#fff}
:root body .bn-usage-guide .bn-usage-guide-example{font-size:12px;color:#667e92;line-height:1.65;margin:10px 0 0}
:root body .bn-usage-guide-ai{margin:24px 0}
:root body .bn-usage-guide-ai p{font-size:13px;color:#526d83}
:root body .bn-usage-guide-checks{padding:0 0 0 18px;margin:12px 0;color:#5b7185;font-size:12px;line-height:1.7}
:root body .bn-usage-guide-checks li{margin:0 0 9px;padding:0 0 0 2px;overflow-wrap:anywhere}
:root body .bn-ai-usage-summary .bn-ai-usage-help{margin:10px 0 0;padding:0;border:0;color:#66798a;font-size:12px;line-height:1.65;white-space:normal;overflow-wrap:anywhere}
:root body .bn-ai-usage-summary dl>div{align-items:flex-start}
:root body .bn-ai-usage-summary dt,:root body .bn-ai-usage-summary dd{min-width:0;overflow-wrap:anywhere}
:root body .bn-usage-guide details{margin:0 0 22px;border:0;border-top:1px solid #e5ebef;padding-top:15px;background:none}
:root body .bn-usage-guide summary{cursor:pointer;font-size:13px;font-weight:500;color:#375a75;list-style:disclosure-closed;padding:3px 0}
:root body .bn-usage-guide details[open]>summary{list-style:disclosure-open}
:root body .bn-usage-guide details>div{margin-top:14px;font-size:12px;color:#5b7185}
:root body .bn-usage-guide-unsure{display:flex;align-items:flex-start;gap:9px;padding:0;margin:0 0 24px;font-size:12px;color:#5f7588}
:root body .bn-usage-guide-unsure>svg{flex:0 0 16px;width:16px;height:16px;margin-top:2px;fill:none;stroke:currentColor;stroke-width:1.5}
:root body .bn-usage-guide-unsure strong{font-weight:500;color:#294860}
:root body .bn-usage-guide-unsure p{margin:3px 0 0}
:root body .bn-usage-guide-sources{display:flex;flex-wrap:wrap;align-items:center;gap:5px 16px;font-size:11px;color:#60758a}
:root body .bn-usage-guide-sources small{flex-basis:100%;font-size:11px}
:root body .bn-usage-guide a{color:#3b627f;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
:root body .bn-usage-guide>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;padding:14px 24px max(14px,env(safe-area-inset-bottom));border-top:1px solid #e1e7ec;background:#fff;font-size:12px}
:root body .bn-usage-guide footer button{border:1px solid #d1dce5;border-radius:5px;background:#fff;color:#254a67;min-height:38px;height:auto;width:auto;padding:8px 14px;font:400 13px/1.5 var(--bn-type-face,system-ui,sans-serif);white-space:normal;cursor:pointer;box-shadow:none}
:root body .bn-usage-guide footer button:hover{background:#f4f7f9;border-color:#acbfce}
:root body .bn-usage-guide :is(button,a,summary):focus-visible{outline:2px solid #557b98;outline-offset:3px}
:root body .bn-usage-guide-body:focus-visible{outline:2px solid #557b98;outline-offset:-3px}
@keyframes bnUsageGuideIn{from{transform:translateX(24px);opacity:.5}to{transform:translateX(0);opacity:1}}
@media(max-width:900px){:root body dialog.bn-usage-guide{width:100vw;min-width:0;border-left:0}:root body .bn-usage-guide>header{padding:16px}:root body .bn-usage-guide-body{padding:18px}:root body .bn-usage-guide>footer{padding:12px 16px max(12px,env(safe-area-inset-bottom))}:root body .bn-usage-guide-choice{padding:16px}:root body .bn-usage-guide h2{font-size:18px}}
@media(pointer:coarse){:root body .bn-usage-guide .bn-usage-guide-close{width:44px;height:44px;flex-basis:44px}:root body .bn-usage-guide footer button,:root body .bn-usage-guide-trigger{min-height:44px}}
@media(prefers-reduced-motion:reduce){:root body dialog.bn-usage-guide[open]{animation:none}}
@media(forced-colors:active){:root body dialog.bn-usage-guide,:root body .bn-usage-guide-choice,:root body .bn-usage-guide button{border:1px solid CanvasText}}

/* Content origin: one local choice group, no nested card borders or divider stacks. */
:root body .bn-content-origin{display:grid;gap:14px;padding:0;margin:0 0 24px;min-width:0;border:0;background:transparent}
:root body .bn-content-origin[hidden],:root body .bn-content-origin [hidden]{display:none!important}
:root body .bn-origin-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
:root body .bn-origin-caption{font-size:11px;font-weight:600;letter-spacing:.04em;color:#667887}
:root body .bn-origin-guide{display:contents}
:root body .bn-origin-guide>summary{display:flex;align-items:center;gap:6px;list-style:none;cursor:pointer;font-size:12px;color:#465e70;margin:0;padding:3px 0;border:0;background:transparent}
:root body .bn-origin-guide>summary::-webkit-details-marker{display:none}
:root body .bn-origin-guide>summary svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
:root body .bn-origin-guide-copy{flex:0 0 100%;display:grid;gap:10px;padding:12px 0 4px;line-height:1.65;font-size:12px;color:#566b7a}
:root body .bn-origin-guide:not([open])>.bn-origin-guide-copy{display:none}
:root body .bn-origin-guide-copy p{margin:0}
:root body fieldset.bn-origin-group{display:block;min-width:0;border:0;background:transparent;padding:0;margin:0}
:root body .bn-origin-group legend{float:none;width:100%;padding:0;margin:0 0 12px;font-size:16px;font-weight:600;color:#233b4d;line-height:1.5}
:root body .bn-origin-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
:root body label.bn-origin-choice{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr) 14px;gap:10px;align-items:start;padding:14px 12px;min-width:0;margin:0;cursor:pointer;border:1px solid #dce3e8;border-radius:8px;background:#fff;box-shadow:none;color:#597080;transition:border-color .12s}
:root body label.bn-origin-choice:hover{border-color:#8a9dab}
:root body label.bn-origin-choice.is-selected{border-color:#314f64;box-shadow:inset 0 0 0 .5px #314f64;color:#233b4d}
:root body label.bn-origin-choice>input{grid-column:3;grid-row:1;position:static;appearance:auto;accent-color:#314f64;width:14px;height:14px;min-width:14px;min-height:14px;margin:3px 0 0;padding:0;opacity:1;pointer-events:auto}
:root body label.bn-origin-choice>svg{grid-column:1;grid-row:1;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
:root body label.bn-origin-choice>span{grid-column:2;grid-row:1;display:grid;gap:4px;min-width:0}
:root body label.bn-origin-choice strong{font-size:13px;line-height:1.5;font-weight:600;color:inherit;overflow-wrap:anywhere}
:root body label.bn-origin-choice small{font-size:11px;line-height:1.55;font-weight:400;color:#6b7e8b;overflow-wrap:anywhere}
:root body .bn-origin-choice:focus-within,:root body .bn-origin-guide summary:focus-visible{outline:2px solid #477792;outline-offset:3px}
:root body .bn-origin-location{display:grid;gap:6px;min-width:0}
:root body .bn-origin-location>label{display:grid;gap:7px;position:relative;margin:0;min-width:0}
:root body .bn-origin-location-title{display:flex;gap:8px;align-items:baseline;font-size:13px;color:#304b60}
:root body .bn-origin-required{font-size:10px;color:#7a8c99;font-weight:400}
:root body .bn-origin-location input[type=text]{width:100%;box-sizing:border-box;min-width:0}
:root body .bn-origin-location-hint,:root body .bn-origin-unknown{font-size:11px;line-height:1.6;color:#718592;display:block}
@media(max-width:480px){:root body .bn-origin-choices{grid-template-columns:1fr}:root body label.bn-origin-choice{padding:12px}:root body .bn-content-origin{margin-bottom:20px}}

/* Shared help entries are attached to their heading in every form and language. */
:root body .bn-help-heading,:root body .bn-usage-scope .bn-usage-scope-head.bn-help-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:4px 12px;width:100%;min-width:0;grid-column:1/-1;margin:0 0 10px;padding:0;border:0;background:none}
:root body .bn-help-heading>.bn-origin-caption,:root body .bn-help-heading>strong{display:block;flex:0 1 auto;width:auto;margin:0;padding:0;font:500 14px/1.5 var(--bn-type-face,system-ui,sans-serif);letter-spacing:0;color:#304b60}
html[data-bn-workspace-ui] body .bn-help-heading>.bn-origin-caption{font-size:14px!important;line-height:1.5!important}
:root body .bn-help-heading>.bn-inline-help,:root body .bn-usage-scope .bn-help-heading>.bn-inline-help{display:inline-flex;align-items:center;justify-content:flex-start;flex:0 1 auto;gap:6px;width:auto;min-width:0;min-height:32px;height:auto;margin:0;padding:4px 2px;border:0;border-radius:3px;background:transparent;box-shadow:none;text-align:start;font:400 12px/1.5 var(--bn-type-face,system-ui,sans-serif);letter-spacing:0;color:#536d80;cursor:pointer;white-space:normal}
:root body .bn-help-heading>.bn-inline-help>span{display:block;font:inherit;color:inherit;overflow-wrap:anywhere}
:root body .bn-help-heading>.bn-inline-help>svg{display:block;width:16px;height:16px;flex:0 0 16px;margin:0}
:root body .bn-help-heading>.bn-inline-help:hover{color:#234e6b;text-decoration:underline;text-underline-offset:3px}
:root body .bn-help-heading>.bn-inline-help:focus-visible{outline:2px solid #557b98;outline-offset:3px}
:root body .bn-content-origin{gap:0}
:root body .bn-content-origin>.bn-origin-group{margin:0}
:root body .bn-content-origin>.bn-origin-location{margin-top:14px}
:root body .bn-origin-group>legend.bn-origin-legend{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);padding:0!important;margin:-1px!important;white-space:nowrap;border:0}
:root body .bn-usage-guide .bn-guide-section{margin:0 0 24px}
:root body .bn-usage-guide .bn-guide-key{padding:16px 18px;border:0;border-left:2px solid #91a8b8;border-radius:0;background:#f5f8fa;margin:0 0 22px}
:root body .bn-usage-guide .bn-guide-key h3{font-size:14px}
:root body .bn-usage-guide .bn-guide-key>p{font-size:13px;margin:0;color:#536b7d}
:root body .bn-usage-guide .bn-guide-choice{margin:0 0 16px;padding:17px 18px;border:1px solid #e0e7ed;border-radius:7px;background:#fff}
:root body .bn-usage-guide .bn-guide-choice>h3{display:flex;align-items:baseline;gap:10px;margin:0 0 9px;font-size:15px;font-weight:500}
:root body .bn-usage-guide .bn-guide-number{flex:0 0 auto;font:400 11px/1.5 var(--bn-type-face,system-ui,sans-serif);color:#7b90a0;font-variant-numeric:tabular-nums}
:root body .bn-usage-guide .bn-guide-choice>p{font-size:13px;color:#4c657a;line-height:1.7;margin:0 0 10px}
:root body .bn-usage-guide .bn-guide-choice .bn-guide-example,:root body .bn-usage-guide .bn-guide-example{font-size:12px;line-height:1.65;color:#6b8091;margin:10px 0 0}
:root body .bn-usage-guide .bn-guide-example strong{font-weight:500;color:#4c657a}
:root body .bn-usage-guide .bn-guide-location{margin-top:26px}
:root body .bn-usage-guide h4{font-size:12px;line-height:1.6;font-weight:500;margin:12px 0 5px;color:#3c5d76}
:root body .bn-usage-guide .bn-guide-location>div>p{font-size:13px;margin:0 0 12px;color:#5c7487}
:root body .bn-usage-guide .bn-guide-section>p{font-size:13px}
:root body .bn-usage-guide .bn-guide-legal{font-size:12px;color:#617789}
:root body .bn-usage-guide .bn-guide-legal>p{font-size:12px}
:root body .bn-usage-guide .bn-usage-guide-sources{display:grid;grid-template-columns:1fr;gap:8px;margin-top:24px;padding-top:18px;border-top:1px solid #e2e9ed;font-size:11px}
:root body .bn-usage-guide-sources h3{font-size:12px;margin:0 0 2px}
:root body .bn-usage-guide details>div>section+section{margin-top:17px}
:root body .bn-usage-guide details>div h4{margin:0 0 5px}
:root body .bn-usage-guide .bn-guide-note,:root body .bn-ai-usage-summary .bn-ai-usage-help.bn-ui-note{display:flex;align-items:flex-start;gap:7px;border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;margin:10px 0 0;color:#6b8091;font:400 11px/1.65 var(--bn-type-face,system-ui,sans-serif);letter-spacing:0;white-space:normal}
:root body .bn-ui-note-icon{display:block;flex:0 0 14px;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round;margin-top:2px}
:root body .bn-ai-usage-summary .bn-ui-note>span,:root body .bn-guide-note>span{display:block;min-width:0;flex:1 1 auto;font:inherit;line-height:inherit;color:inherit;overflow-wrap:anywhere}
:root body .bn-ai-usage-summary h4{font-size:13px;font-weight:500;line-height:1.5}
@media(pointer:coarse){:root body .bn-help-heading>.bn-inline-help,:root body .bn-usage-scope .bn-help-heading>.bn-inline-help{min-height:44px}}
@media(max-width:480px){:root body .bn-usage-guide .bn-guide-choice,:root body .bn-usage-guide .bn-guide-key{padding:15px}:root body .bn-usage-guide .bn-guide-section{margin-bottom:22px}}
@media(forced-colors:active){:root body .bn-usage-guide .bn-guide-key,:root body .bn-usage-guide .bn-guide-choice{border:1px solid CanvasText}}

/* The glyph conveys meaning; colour only reinforces it. */
:root body svg.bn-ui-symbol{display:block;flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
html:root body #bnui-root .bnui-title{display:flex;align-items:center;gap:9px}
html:root body #bnui-root .bnui-mark{width:18px;height:18px;flex:0 0 18px;border:0;border-radius:0;background:transparent;color:#607a91}
html:root body #bnui-root .bnui-mark svg{width:18px;height:18px;stroke-width:1.5}
html:root body #bnui-root[data-tone=warning] .bnui-mark{color:#607a91}
html:root body #bnui-root[data-tone=danger] .bnui-mark{color:#b24740}
html:root body #bnui-root[data-tone=error] .bnui-mark{color:#b24740}
html:root body #bnui-root[data-tone=success] .bnui-mark{color:#34735a}
html:root body #bnui-root:not([data-tone=danger]) [data-bnui-confirm]{background:#35566e;border-color:#35566e;color:#fff}
html:root body #bnui-root[data-tone=danger] [data-bnui-confirm]{background:#aa3f3a;border-color:#aa3f3a;color:#fff}
html:root body #bnui-root [data-bnui-confirm]:focus-visible{outline:2px solid currentColor;outline-offset:3px}
:root body .bn-ui-note>.bn-ui-symbol,:root body .bn-guide-note>.bn-ui-symbol{width:14px;height:14px;flex:0 0 14px;margin-top:2px}
:root body .bn-ai-usage-summary button.bn-ai-usage-help.bn-ai-rules-trigger{display:flex;align-items:flex-start;gap:7px;width:100%;min-height:44px;margin:10px 0 0;padding:4px 0;border:0;border-radius:3px;background:none;box-shadow:none;text-align:start;white-space:normal;font:400 11px/1.65 var(--bn-type-face,system-ui,sans-serif);color:#627b8d;cursor:pointer}
:root body .bn-ai-rules-trigger>.bn-ai-rules-copy{flex:1;min-width:0;display:block;font:inherit;color:inherit}
:root body .bn-ai-rules-trigger .bn-ai-rules-label{display:block;margin-top:4px;font-size:11px;font-weight:500;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#b3c1cb}
:root body .bn-ai-rules-trigger>.bn-ui-symbol{width:14px;height:14px;flex:0 0 14px;margin-top:2px}
:root body .bn-ai-rules-trigger::after{content:'';width:5px;height:5px;flex:0 0 5px;border:solid currentColor;border-width:0 1.4px 1.4px 0;transform:rotate(-45deg);margin:6px 3px 0 4px}
:root body .bn-ai-rules-trigger:hover{color:#234e6b;background:none}
:root body .bn-ai-rules-trigger:focus-visible{outline:2px solid #557b98;outline-offset:4px}
:root body .bn-usage-guide .bn-ai-guide-current{padding:14px 16px;background:#f5f8fa;border-left:2px solid #91a8b8;margin:0 0 24px}
:root body .bn-ai-guide-current dl{margin:0}
:root body .bn-ai-guide-current dl>div{display:flex;justify-content:space-between;gap:16px;padding:4px 0;font-size:12px}
:root body .bn-ai-guide-current dd{margin:0;text-align:end}
:root body .bn-usage-guide .bn-ai-guide-states>p{margin:8px 0 0}
:root body.bn-portal .bn-key-notice:before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='4'/%3E%3Cpath d='M12 7.5v6m0 3v1'/%3E%3C/g%3E%3C/svg%3E")}

/* Form density follows the width of the editing column, not the whole screen. */
:root body .bn-upload-fields-column,:root body .bn-contributor-asset-body{container-type:inline-size;container-name:bn-editor}
:root body .bn-content-origin{margin-bottom:14px}
:root body .bn-content-origin>.bn-help-heading{margin-bottom:6px}
:root body .bn-origin-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
:root body label.bn-origin-choice{grid-template-columns:18px minmax(0,1fr) 14px;align-items:center;gap:8px;padding:10px;min-height:46px;border-radius:6px}
:root body label.bn-origin-choice>svg{width:18px;height:18px;align-self:center}
:root body label.bn-origin-choice>input{margin:0}
:root body label.bn-origin-choice strong{font-size:13px;font-weight:500;line-height:1.45}
:root body label.bn-origin-choice small{display:none}
:root body .bn-content-origin>.bn-origin-location{margin-top:12px;gap:4px}
:root body .bn-origin-location>label{gap:5px}
:root body .bn-origin-location-hint,:root body .bn-origin-unknown{font-size:11px;line-height:1.55}
:root body .bn-help-heading>.bn-inline-help{min-height:30px}
html[data-bn-workspace-ui] body #bn_contributor_upload_form .bn-upload-mode h3{font-size:14px!important;line-height:1.5!important;margin-bottom:8px}
:root body #bn_contributor_upload_form .bn-upload-mode{margin:0;padding:0}
:root body #bn_contributor_upload_form .bn-upload-mode-choices{gap:6px}
:root body #bn_contributor_upload_form [data-upload-mode]{padding:9px 11px;min-height:44px}
:root body #bn_contributor_upload_form .bn-upload-choice-title{font-size:13px;line-height:1.45}
:root body #bn_contributor_upload_form .bn-upload-choice-copy{font-size:11px;margin-top:3px;line-height:1.5}
:root body .bn-contributor-asset-edit,:root body #bn_contributor_upload_form .bn-upload-metadata{gap:12px}
:root body .bn-contributor-asset-edit>label,:root body #bn_contributor_upload_form .bn-upload-metadata>label{gap:5px}
:root body :is(.bn-contributor-asset-edit,#bn_contributor_upload_form) textarea[name=description_text]{min-height:72px;max-height:240px}
:root body :is(.bn-contributor-asset-edit,#bn_contributor_upload_form) textarea[name=keywords]{min-height:54px}
:root body .bn-submission-details{padding-top:14px}
:root body .bn-submission-details>.bn-detail-visual,:root body .bn-secondary-classification{gap:12px}
:root body .bn-submission-details h4{font-size:13px;padding-top:14px}
:root body .bn-submission-details .bn-detail-visual>button[data-category-action]{justify-self:start;width:auto;min-height:32px;padding:4px 0;background:none;border:0;font-size:12px;color:#43667d;box-shadow:none}
:root body .bn-submission-details .bn-detail-visual>button[data-category-action]:hover{text-decoration:underline;text-underline-offset:3px}
:root body .bn-date-fields{margin-top:12px;gap:12px}
:root body .bn-date-field{gap:5px}
:root body .bn-date-field>small{font-size:11px;line-height:1.55}
:root body .bn-ai-assistance:not(.bn-ai-category-action){display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin:0;padding:0 0 12px;border-top:0;border-bottom:1px solid #e1e7ec;min-width:0}
:root body .bn-ai-assistance:not(.bn-ai-category-action)>.bn-ai-notice{flex:0 0 100%;margin:0 0 2px;padding:0;border:0;border-radius:0;background:none;font-size:12px;line-height:1.6;color:#536d80}
:root body .bn-ai-assistance>.bn-ai-translation{display:inline-flex;align-items:center;flex:0 1 auto;gap:7px;margin:0;padding:0;min-height:34px;font-size:12px;line-height:1.5}
:root body .bn-ai-assistance>.bn-ai-translation>span{font-size:12px}
:root body .bn-ai-assistance>.bn-ai-tools{flex:1 1 160px;min-width:0;margin:0;padding:0;border:0}
:root body .bn-ai-assistance>.bn-ai-tools>summary{font-size:12px;line-height:1.5;min-height:34px;display:flex;align-items:center;gap:7px;padding:4px 0;cursor:pointer;list-style:none}
:root body .bn-ai-assistance>.bn-ai-tools>summary::before{content:'';width:5px;height:5px;flex:0 0 5px;border:solid currentColor;border-width:0 1.4px 1.4px 0;transform:rotate(-45deg);margin:0 3px}
:root body .bn-ai-assistance>.bn-ai-tools>summary::-webkit-details-marker{display:none}
:root body .bn-ai-assistance>.bn-ai-tools[open]>summary::before{transform:rotate(45deg)}
:root body .bn-ai-assistance>.bn-ai-tools[open]{flex-basis:100%}
:root body .bn-ai-assistance>.bn-ai-translation-help,:root body .bn-ai-assistance>.bn-ai-mode-hint{flex:0 0 100%;font-size:11px;line-height:1.55;margin:0}
:root body .bn-ai-status-row{flex:0 0 100%;min-width:0}
:root body .bn-ai-status-row:has(>.bn-ai-status:empty):has(>button[hidden]){display:none}
:root body .bn-usage-scope{margin:0!important;padding:10px 0!important}
:root body .bn-usage-scope .bn-help-heading{margin-bottom:4px}
:root body .bn-usage-scope .bn-contributor-radio-row{margin-top:0;gap:8px 16px}
:root body .bn-usage-scope .bn-contributor-radio-row label{flex-basis:200px}
:root body .bn-ai-usage-form{padding-top:12px}
:root body .bn-ai-usage-form .bn-ai-usage-choice{padding:10px 0}
:root body .bn-ai-usage-form .bn-ai-usage-help{margin:5px 0 10px;font-size:12px;line-height:1.55}
:root body .bn-upload-rights{gap:10px;padding-top:12px}
:root body .bn-owner-review-note{margin:0 0 12px;padding:0 0 12px;gap:8px;line-height:1.6}
:root body .bn-owner-review-note strong{font-size:12px;font-weight:500}
:root body .bn-owner-review-note>span>span{font-size:11px;line-height:1.6}
:root body .bn-usage-guide a[target=_blank]{display:inline-flex;align-items:baseline;gap:5px;width:fit-content;max-width:100%}
:root body .bn-usage-guide a[target=_blank]>.bn-ui-symbol{width:12px;height:12px;flex:0 0 12px;align-self:baseline;position:relative;top:1px}
@container bn-editor (min-width:540px){
 :root body .bn-submission-details>.bn-detail-visual,:root body .bn-secondary-classification,:root body .bn-date-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 :root body .bn-detail-visual>:is(h4,button,div,p,section){grid-column:1/-1}
 :root body .bn-secondary-classification>div{grid-column:1/-1}
}
@container bn-editor (max-width:300px){:root body .bn-origin-choices{grid-template-columns:1fr}}
@media(pointer:coarse){
 :root body .bn-help-heading>.bn-inline-help,:root body .bn-ai-assistance>.bn-ai-tools>summary,:root body .bn-ai-assistance>.bn-ai-translation,:root body .bn-submission-details .bn-detail-visual>button[data-category-action]{min-height:44px}
 :root body .bn-origin-choice{min-height:48px}
}


/* Assistance state and category actions: native disclosure, explicit prerequisites. */
html:root body .bn-ai-assistance>.bn-ai-tools>summary::before{transform:rotate(45deg)}
html:root body .bn-ai-assistance>.bn-ai-tools[open]>summary::before{transform:rotate(225deg)}
html:root body .bn-ai-assistance .bn-ai-context-help,html:root body .bn-ai-assistance .bn-ai-input-hint{display:block;font:400 11px/1.6 var(--bn-type-face,system-ui,sans-serif);color:#536b7c;white-space:normal;overflow-wrap:anywhere;max-width:100%;margin:5px 0 0}
html:root body .bn-ai-assistance .bn-ai-input-hint[hidden]{display:none}
html:root body .bn-ai-assistance button:disabled{cursor:not-allowed;opacity:.55}
html:root body .bn-submission-details button[data-category-kind]{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;text-align:start;white-space:normal;max-width:100%;line-height:1.5}
html:root body .bn-submission-details button[data-category-kind]>span{min-width:0;overflow-wrap:anywhere}
html:root body .bn-submission-details .bn-category-action-icon{display:block;width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
html:root body .bn-secondary-classification>div:last-child{display:flex;flex-wrap:wrap;gap:6px 16px}
html:root body .bn-submission-details button[data-category-kind][hidden]{display:none}
html:root body .bn-submission-details button[data-category-kind]:focus-visible{outline:2px solid #557b98;outline-offset:4px}
@media(pointer:coarse){html:root body .bn-ai-tools>summary,html:root body .bn-ai-assistance button,html:root body .bn-submission-details button[data-category-kind]{min-height:44px}}

/* Caution requires attention; danger discards data. Shape and words carry meaning. */
html:root body #bnui-root[data-tone=caution] .bnui-mark{color:#91611b}
html:root body #bnui-root[data-tone=caution] [data-bnui-confirm]{background:#8b5c18;border-color:#8b5c18;color:#fff}
html:root body #bnui-root .bnui-dialog{max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box}
@media(max-width:640px){html:root body #bnui-root .bnui-actions{flex-direction:column;flex-wrap:nowrap;gap:8px}html:root body #bnui-root .bnui-actions .bnui-btn{flex:0 0 auto;min-height:44px;width:100%}}
@media(pointer:coarse){html:root body #bnui-root .bnui-close{width:44px;height:44px}html:root body #bnui-root .bnui-btn{min-height:44px}}
