/* NIB house text standard (16 Oct 2026). MASTER COPY: fusion-shell/house.css; run fusion-shell/sync.ps1 after editing. Applies to: typography, text colour, links, icons and motion only, in the content area.
   The side menu takes the same font, sizes and emoji tiles; its layout and colours stay. No layout, background colour or logic changes.
   Loaded last so these rules win. Printed and exported documents keep Cambria; code keeps Consolas. */
/* No web font is fetched (1 Nov 2026, data-protection plan item 12: nothing is loaded from Google). Roboto is used where the device has it;
   otherwise the system face: Segoe UI on Windows, the Apple system font, then Arial. */
:root{--house-font:Roboto,"Segoe UI",-apple-system,BlinkMacSystemFont,Arial,sans-serif}
main,main *,#main,#main *,.content,.content *,#app>:not(aside):not(header):not(#side):not(#hdr),#app>:not(aside):not(header):not(#side):not(#hdr) *{font-family:var(--house-font)}
main code,main pre,main kbd,.content code,.content pre,.content kbd{font-family:Consolas,"Courier New",monospace!important}
main,.content{font-size:16px;line-height:1.55;color:#000}
/* sizes */
main h1,.content h1{font-size:32px!important;font-weight:700!important;color:#000!important;line-height:1.2}
main .card>h2,main h2,.content .card>h2,.content h2{font-size:22px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;line-height:1.3}
main h3,.content h3{font-size:19px!important;font-weight:700!important;color:#000!important}
main .tabs a,.content .tabs a,main .tab,.content .tab{font-size:16px!important;font-weight:500!important}
main td,.content td{font-size:15.5px!important;color:#000!important}
main th,.content th{font-size:15.5px!important;font-weight:700!important}
main .note,main .mini,main small,main .pill,main .hint,main .sub,main .kv dt,.content .note,.content .mini,.content small,.content .pill,.content .hint,.content .sub,footer{font-size:14px!important}
main input,main select,main textarea,main button,main .btn,.content input,.content select,.content textarea,.content button,.content .btn{font-size:15.5px!important;font-family:var(--house-font)}
main .tile b,.content .tile b{font-size:30px!important;font-weight:700!important}
/* colour: black text; white on dark bars, tiles and pills; grey only for de-emphasised notes */
main p,main li,main dd,main dt,main label,main td,main th,main input,main select,main textarea,main h1,main h3,main h4,main summary,main .tabs a,.content p,.content li,.content td,.content th,.content label,.content h1,.content h3{color:#000!important}
main .note,main .mini,main .hint,.content .note,.content .mini,.content .hint,footer{color:#444!important}
/* NOT .tile: tiles are light in some systems (Hub home cards, IPT signatures) and dark in others (Registry), so each system's own stylesheet sets its tile text colour */
main .card>h2:first-child,main details.fold>summary h2,main .pill,main table.register th,.content .card>h2:first-child,.content .pill{color:#fff!important}
main .card>h2:first-child .note,main details.fold>summary .note{color:#fff!important}
main .tabs a.on,main button.gold,main button.danger,main .btn.gold,main .pnew,main .psec{color:#fff!important}
main a:not(.btn):not(.tabs a):not([data-go]):not(.pill):not(button),.content a:not(.btn):not([data-go]):not(.pill){color:#0000ee!important;text-decoration:underline}
main a[data-go],main a.btn,main .tabs a,.content a.btn{text-decoration:none!important}
/* icons: an emoji in a soft rounded tile at the start of page and card titles */
main .hemoji,.content .hemoji{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.18);font-size:20px;margin-right:10px;vertical-align:middle;font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif}
main h1 .hemoji,.content h1 .hemoji{width:46px;height:46px;border-radius:12px;background:#e8eef9;font-size:24px;margin-right:12px}
/* motion */
main a,main button,main .btn,main .card,main .tile,main tr.clk,main .tabs a,.content a,.content button,.content .card,.content .tile{transition:color .2s ease,background-color .2s ease,box-shadow .2s ease,transform .2s ease}
main .card:hover,main .tile:hover,.content .card:hover,.content .tile:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(20,51,92,.16)}
main>*,.content>main>*{animation:houseRise .35s ease both}
main>*:nth-child(2){animation-delay:.05s}main>*:nth-child(3){animation-delay:.1s}main>*:nth-child(4){animation-delay:.15s}main>*:nth-child(5){animation-delay:.2s}main>*:nth-child(n+6){animation-delay:.25s}
@keyframes houseRise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){main *,main *::before,main *::after,.content *{animation:none!important;transition:none!important}main .card:hover,main .tile:hover{transform:none}}
/* width: the content fills its column; no hard breaks inside paragraphs */
main,.content{max-width:none!important}
main p,.content p{white-space:normal}

/* ---- the side menu: same font, no text under 14.5px, white labels, emoji icon tiles (layout and colours unchanged) ---- */
.side,.side *,#side,#side *,aside.side *{font-family:var(--house-font)}
.side .navitem,.side .navtxt,.side .navcat-h,.side .navcat-t,.sidettl,.side .navquick button{font-size:16px!important;font-weight:500!important}
.side .mini,.side small,.side .bsub,.side .navcnt,.side .navedit-h{font-size:14.5px!important}
.side .navitem,.side .navtxt,.side .navcat-h,.side .navcat-t,.side .brand h1{color:#fff!important}
.side .bsub,.side .mini{color:#c9d3f2!important}
.navico{display:inline-flex!important;align-items:center;justify-content:center;width:46px!important;height:46px!important;min-width:46px;border-radius:12px!important;background:rgba(255,255,255,.12)!important;font-size:24px!important;line-height:1;font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif!important}
.navico svg{display:none!important}
.side.collapsed .navico,body.sidecollapsed .navico{width:40px!important;height:40px!important;min-width:40px}
.side .navitem,.side .navcat-h{transition:color .2s ease,background-color .2s ease,transform .2s ease}

/* tabs: black labels, the current one white on blue (stronger than the body-link rule) */
main div.tabs>a,.content div.tabs>a{color:#000!important;text-decoration:none!important}
main div.tabs>a.on.on.on.on,.content div.tabs>a.on.on.on.on{color:#fff!important}
