/* Shared subpage title, independent of each module's own styles. */
body > main > .bec-page-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;flex:none;min-width:0;padding:10px 0 12px;margin:0 0 12px;border-bottom:1px solid var(--theme-border);background:transparent;box-shadow:none;line-height:1.25}
body > main > .bec-page-heading > h1{font-size:clamp(17px,2.1vw,23px);font-weight:750;letter-spacing:.065em;text-transform:uppercase;line-height:1.3;color:var(--theme-text);margin:0;padding:0;flex:1 1 180px;min-width:0;overflow-wrap:anywhere}
.bec-page-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;max-width:100%}
body > main > .bec-page-heading .bec-page-home,body > main > .bec-page-heading .bec-page-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:6px 10px;text-decoration:none;font:600 12px/1.3 system-ui,sans-serif;color:var(--theme-text);background:var(--theme-panel);border:1px solid var(--theme-border);border-radius:7px;white-space:normal;overflow-wrap:anywhere;box-shadow:none}
body > main > .bec-page-heading .bec-page-home{background:var(--theme-soft)}
body > main > .bec-page-heading a:hover{border-color:var(--theme-accent);background:var(--theme-soft)}
body > main > .bec-page-heading a:focus-visible{outline:2px solid var(--theme-accent);outline-offset:2px}
body > main > .bec-page-heading + .panel{margin-top:0}
body:has(.chat-layout)>main>.bec-page-heading{padding:3px 0 5px;margin:0;gap:6px}
body:has(.chat-layout)>main>.bec-page-heading>h1{font-size:16px}
@media(max-width:600px){body > main > .bec-page-heading{padding:7px 0 8px;margin-bottom:8px;gap:6px}body > main > .bec-page-heading > h1{flex-basis:120px}body > main > .bec-page-heading .bec-page-home,body > main > .bec-page-heading .bec-page-action{min-height:34px;padding:6px 8px}}
/* M08.02: existing header content and links remain in place. */
body > main > .bec-page-heading > div:first-child{flex:1 1 180px;min-width:0;overflow-wrap:anywhere}
body > main > .bec-page-heading .fui-page-title,body > main > .bec-page-heading > h1{font-size:clamp(1.1rem,2vw,1.42rem);letter-spacing:0;text-transform:none;font-weight:700;line-height:1.3}
.fui-page-title{display:flex;align-items:center;gap:9px;min-width:0;overflow-wrap:anywhere}
.fui-page-title>.fui-page-icon{width:1.25em;height:1.25em;flex:none;color:var(--theme-text,currentColor)}
body > main > .bec-page-heading > a{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:6px 10px;border:1px solid var(--theme-border);border-radius:8px;color:var(--theme-text);background:var(--theme-panel);font-size:.85rem;text-decoration:none;overflow-wrap:anywhere;max-width:100%}
body > main > .bec-page-heading > a:focus-visible{outline:2px solid var(--theme-accent);outline-offset:3px}
