/* MBF v8 UI polish: low-noise, accessible, business-distinct styling.
   This file is intentionally loaded LAST and is scoped to MBF only.
   No hotel styles, Firestore, calculations, or authentication are changed. */
:root{--v8-ink:#1b3448;--v8-muted:#51697b;--v8-line:#dbe5eb;--v8-shadow:0 5px 18px rgba(23,50,72,.045);--v8-radius:14px}
html{scroll-behavior:smooth}body{font-size:14px;line-height:1.5;color:var(--v8-ink);background:#f6f8fb;-webkit-font-smoothing:antialiased}
#shell{min-width:0}h1,h2,h3{letter-spacing:-.025em}p{line-height:1.65}
button,a,input,select,textarea{touch-action:manipulation}button{transition:background-color .18s,border-color .18s,box-shadow .18s}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #347fbe;outline-offset:3px}
input,select,textarea{min-height:40px;border-radius:10px;border-color:#c8d7e1;font-size:13px;line-height:1.4}
input::placeholder,textarea::placeholder{color:#687f91;opacity:1}
label,.field label{font-size:12px;line-height:1.4;color:#456075}
.small,.muted-small,.section-note,.inline-muted,.v7-note,.v7-footnote{font-size:12px;line-height:1.65;color:var(--v8-muted)}
.eyebrow,.dash-label,.smart-overline,.v7-kicker{letter-spacing:.10em;font-size:11px}
/* Mobile navigation is collapsed by default; expands on explicit request. */
.mbf-mobile-nav-toggle{display:none}
body.mbf-business-active .brand-icon{color:#fff!important;background:#ffffff25!important}
body.mbf-business-active:not(.mbf-dark) .sidebar-foot b{color:#27455b}
body.mbf-business-active:not(.mbf-dark) .sidebar-foot span{color:#597587}
/* Header: a predictable two-row layout at tablet widths, no overlapping icons. */
.masthead{height:auto;min-height:76px;padding:12px clamp(16px,2.4vw,34px);gap:13px 18px;background:#183a53;box-shadow:0 2px 12px #142d3b15}
.brand-wrap{min-width:210px;flex-shrink:0}.brand-name{font-size:17px;line-height:1.25}.brand-name span{font-weight:600}.brand-sub{color:#d6e8f4;font-size:11px}
.brand-icon{height:40px;width:40px;border-radius:11px;flex:none}
.header-tools{gap:9px;flex-wrap:wrap;justify-content:flex-end}
.header-tools a{color:#eef6ff!important;font-size:12px!important;font-weight:600;text-underline-offset:4px}
.header-tools select{min-height:36px;font-size:12px;border-radius:9px;background:#274d68;color:#fff;border-color:#5a839c}
.demo-pill{color:#edf6ff;background:#ffffff16;border:1px solid #ffffff30;font-size:10px;letter-spacing:.04em;padding:7px 11px}
.mbf-header-actions{gap:6px;flex-wrap:nowrap}.mbf-icon-btn{min-width:37px;min-height:37px;border-radius:9px;border:1px solid #ffffff38;color:#fff;background:#ffffff0b}
.mbf-icon-btn:hover{background:#ffffff20}.mbf-search-open{min-width:99px;justify-content:center}.mbf-search-open kbd{font-size:10px}
.accounting-menubar{margin-left:10px;gap:4px}.accounting-menubar button{border-radius:8px;font-size:12px}
/* Balanced page widths and consistent cards. */
.app-shell{grid-template-columns:246px minmax(0,1fr);min-height:calc(100vh - 76px)}
.sidebar{position:sticky;top:0;align-self:start;height:calc(100vh - 76px);overflow-y:auto;overscroll-behavior:contain;background:#f0f5f8;border-right:1px solid var(--v8-line);padding:16px 11px;scrollbar-width:thin;scrollbar-color:#b7cdd8 transparent}
.sidebar-kicker{font-size:11px;letter-spacing:.11em;color:#476a7c;margin:9px 11px 13px}
.side-nav{display:grid;gap:7px}
.nav-item{border-radius:9px;min-height:39px;padding:10px 11px;font-size:12.5px;line-height:1.5;font-weight:650;white-space:normal;overflow-wrap:anywhere}
.nav-glyph{font-size:17px;min-width:20px}.nav-item.voucher{font-size:12px;padding:9px 11px;min-height:35px}
.sidebar-foot{position:sticky;bottom:-16px;margin-top:auto;background:inherit;padding:13px 8px;border-top:1px solid #cbdde7}
.dash-nav-heading{color:#557185;font-size:10px;letter-spacing:.10em;font-weight:800;margin:10px 9px 7px}
.mbf-nav-group{border:1px solid transparent;border-radius:11px;padding:1px 3px 5px}
.mbf-nav-group[open]{border-color:#dbe7ed;background:#ffffff9e}
.mbf-nav-group>summary{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:39px;list-style:none;cursor:pointer;padding:8px 10px;color:#445f71;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;border-radius:9px;user-select:none}
.mbf-nav-group>summary::-webkit-details-marker{display:none}
.mbf-nav-group>summary .mbf-nav-chevron{font-size:18px;line-height:1;font-weight:500;transition:transform .18s}
.mbf-nav-group[open]>summary .mbf-nav-chevron{transform:rotate(90deg)}
.mbf-nav-group .nav-item{width:100%}
.mbf-nav-group>summary:hover{background:#e8eff4}
.mbf-nav-pinned{padding:3px 5px 8px;border-bottom:1px solid #dce7ec;margin-bottom:3px}
.workspace{max-width:1480px;width:100%;padding:25px clamp(18px,2.6vw,38px) 35px;margin:0 auto}
.workspace-top{align-items:center;min-width:0;gap:14px;margin:0 0 22px}.workspace-top h1{font-size:clamp(22px,2.1vw,27px);line-height:1.28}
.workspace-top .eyebrow{color:#4e788c}.business-select{min-width:210px;max-width:320px;width:28%}
.workspace-footer{font-size:11.5px;line-height:1.6;margin-top:30px;border-top:1px solid var(--v8-line);padding-top:18px}
.card,.metric,.v6-panel,.v7-panel,.smart-card,.dash-panel,.smart-kpi,.dash-kpi,.v6-kpi{border:1px solid var(--v8-line);border-radius:var(--v8-radius);box-shadow:var(--v8-shadow)}
.card,.v6-panel,.v7-panel,.smart-card,.dash-panel{padding:clamp(16px,1.8vw,24px)}
.card h2,.v6-panel h3,.v7-section-header h3,.smart-section-heading h3{font-size:16px;line-height:1.35}
.card p,.v6-note,.v6-disclaimer,.smart-disclaimer,.dash-notice{font-size:12px;line-height:1.7}
.table-wrap,.v6-table-scroll,.smart-table-wrap,.dash-table-wrap{max-width:100%;overflow:auto;border-radius:9px}
th,.dash-table th,.v6-table th,.smart-table th{font-size:11px;letter-spacing:.015em;color:#4c6476;background:#f1f5f8;line-height:1.4}
td,.dash-table td,.v6-table td,.smart-table td{font-size:12.5px;line-height:1.55;color:#263d50}
th,td{padding:12px 13px}tr:hover td{background:#f5f9fb}
.v6-table{min-width:650px}.v6-table td{white-space:normal}.v6-table td.num{white-space:nowrap}
.v6-kpi span,.v6-kpi small,.smart-kpi-top,.dash-kpi-name{font-size:12px;line-height:1.45;color:#506779}
.v6-kpi strong,.dash-kpi strong,.smart-kpi strong{font-size:clamp(18px,1.65vw,24px);line-height:1.25;overflow-wrap:anywhere}
.v6-link,.smart-link{font-size:12.5px;font-weight:700}
.v6-btn,.v7-main-btn,.v7-outline-btn,.smart-button,.outline-button,.primary-button{min-height:40px;border-radius:10px;font-size:12.5px;line-height:1.4}
/* Home: clean hero and financial information hierarchy. */
body.mbf-landing .workspace{max-width:1420px;padding-top:27px}
body.mbf-landing .workspace-top{display:none}
.v7-landing-hero{background:linear-gradient(115deg,#193b54,#205e72);border:1px solid #275d70;border-radius:17px;box-shadow:0 8px 27px #1d43571c;padding:30px clamp(22px,3vw,38px);margin-bottom:25px}
.v7-landing-hero:after{font-size:220px;color:#ffffff08;right:70px}
.v7-kicker{opacity:1;color:#d0eaf0;letter-spacing:.11em}
.v7-landing-hero h2{font-size:clamp(24px,2.3vw,32px);line-height:1.3;margin:9px 0}
.v7-landing-hero p{font-size:13px;line-height:1.65;color:#e3f0f6}
.v7-hero-side{border-color:#ffffff35;background:#ffffff12;min-width:158px}.v7-hero-side strong{font-size:24px}.v7-hero-side span{font-size:12px;color:#e0f0f5}
.v7-landing-head{margin:28px 0 15px}.v7-landing-head h3{font-size:20px}.v7-landing-head p{font-size:12.5px}
.v7-landing-actions button{min-height:39px;font-size:12px;padding:9px 13px}
.v7-tile-grid{gap:13px;margin-bottom:18px}
.v7-tile{padding:19px 21px;border-radius:13px;box-shadow:none;background:#fff;animation:none}
.v7-tile:before{height:3px}.v7-tile-top{font-size:12.5px;color:#4e6578;align-items:center}
.v7-tile strong{font-size:clamp(20px,1.8vw,25px);margin-top:10px;letter-spacing:-.03em}
.v7-tile small{font-size:11.5px;line-height:1.5;color:#567185}
.v7-balance-strip{padding:18px 22px;background:#edf4f7;border-color:#d5e3e9;border-radius:13px}
.v7-balance-strip span,.v7-balance-strip p{font-size:12px;line-height:1.6}.v7-balance-strip strong{font-size:19px}
/* Business cards: preserve a unique identity without nine blinding gradients. */
.v7-business-grid{gap:15px}
.v7-business-card{background:#fff!important;border:1px solid #dce6ec;border-top:4px solid var(--v7-card-primary);color:#19374d!important;min-height:210px;padding:18px 20px 16px;border-radius:14px;box-shadow:0 4px 18px #20394d09;transition:border-color .2s,box-shadow .2s,transform .2s}
.v7-business-card:before{border-color:color-mix(in srgb,var(--v7-card-primary) 8%,transparent);width:150px;height:150px;right:-75px;top:-100px}
.v7-business-card:hover{box-shadow:0 10px 22px #172f461a;transform:translateY(-2px);border-color:color-mix(in srgb,var(--v7-card-primary) 55%,#e1e8ec)}
.v7-business-card strong{font-size:15px;line-height:1.5;color:#19374d!important;font-weight:750}
.v7-business-card>small{font-size:11px;color:#62798a!important}
.v7-business-card-top{margin-bottom:13px}
.v7-icon{background:color-mix(in srgb,var(--v7-card-primary) 12%,white);color:var(--v7-card-dark);width:44px;height:44px;font-size:23px;border-radius:11px}
.v7-card-arrow{font-size:22px;color:var(--v7-card-dark)}
.v7-card-numbers{gap:12px;border-top:1px solid #e3ebf0;margin:17px 0 11px;padding-top:12px}
.v7-card-numbers span{font-size:11px;color:#51697b}.v7-card-numbers b{font-size:13px;color:#1d4057;margin-top:5px}
.v7-enter-hint{font-size:12px;color:var(--v7-card-dark);letter-spacing:0;font-weight:750}
.v7-main-btn{background:var(--v7-dark,#125565);color:#fff}
/* Business identity: a gently tinted whole workspace with a clear brand banner. */
body.mbf-business-active .masthead{background:linear-gradient(100deg,#19384f,var(--v7-dark) 90%)!important}
body.mbf-business-active .sidebar{background:color-mix(in srgb,var(--v7-soft) 40%,#f5f8fa 60%)!important;border-right:1px solid color-mix(in srgb,var(--v7-accent) 23%,#d4e2e9 77%)!important}
body.mbf-business-active .sidebar .nav-item{color:#284c60!important}
body.mbf-business-active .sidebar .nav-item.active{background:var(--v7-dark)!important;color:#fff!important}
body.mbf-business-active .sidebar .nav-item:hover:not(.active){background:color-mix(in srgb,var(--v7-soft) 65%,#e2ecf2 35%)!important}
body.mbf-business-active .workspace{background:linear-gradient(180deg,color-mix(in srgb,var(--v7-soft) 42%,#f7f9fb 58%) 0%,#f7f9fb 420px,#f7f9fb 100%)!important;min-height:calc(100vh - 76px)}
body.mbf-business-active .workspace-top{border-bottom:1px solid #dce6ed!important;padding-bottom:16px}
body.mbf-business-active .workspace-top h1{color:#19394e!important}
.v7-business-banner{background:linear-gradient(110deg,var(--v7-dark),color-mix(in srgb,var(--v7-dark) 68%,var(--v7-accent) 32%));border:1px solid #ffffff2a;box-shadow:0 6px 18px #14384715;border-radius:14px;padding:22px 24px;gap:18px;margin:0 0 20px}
.v7-business-banner span,.v7-business-banner small{font-size:11.5px;line-height:1.55;color:#e3f0f6}
.v7-business-banner strong{font-size:19px;line-height:1.4;margin:6px 0}
.v7-business-snapshot{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-width:670px}
.v7-business-snapshot>span{border:1px solid #ffffff28;background:#ffffff12;padding:11px 12px;font-size:11px;line-height:1.4}
.v7-business-snapshot b{font-size:14px;line-height:1.35;margin-top:5px}
.v7-panel{padding:22px}
.v7-section-header h3{font-size:17px}.v7-section-header p{font-size:12px;line-height:1.65}
.v7-color-option{font-size:12px;line-height:1.45;padding:11px}
.v7-form label{font-size:12px;gap:6px}.v7-form label input,.v7-form label select{font-size:13px;min-height:42px}
.v7-destination{background:#fff;border-color:#dce6ec;padding:17px}.v7-destination-top{font-size:11px}
.v7-destination strong{font-size:15px;line-height:1.4}.v7-destination small,.v7-destination p{font-size:12px;color:#526e81;line-height:1.5}
.v7-alert,.v7-warning{font-size:12px;line-height:1.65}
/* Compact identity strip outside the Overview page: less repeated visual noise. */
body.mbf-business-active:not([data-mbf-page="overview"]) .v7-business-banner{padding:12px 17px;gap:15px;box-shadow:none}
body.mbf-business-active:not([data-mbf-page="overview"]) .v7-business-banner>div:first-child{flex:0 0 245px;min-width:0}
body.mbf-business-active:not([data-mbf-page="overview"]) .v7-business-banner strong{font-size:14px;margin:2px 0;line-height:1.35}
body.mbf-business-active:not([data-mbf-page="overview"]) .v7-business-banner small{display:none}
body.mbf-business-active:not([data-mbf-page="overview"]) .v7-business-snapshot{grid-template-columns:repeat(5,minmax(0,1fr));max-width:none;gap:6px}
body.mbf-business-active:not([data-mbf-page="overview"]) .v7-business-snapshot>span{padding:8px 9px;font-size:10px}
body.mbf-business-active:not([data-mbf-page="overview"]) .v7-business-snapshot b{font-size:11px;margin-top:4px}
@media(max-width:1150px){body.mbf-business-active:not([data-mbf-page="overview"]) .v7-business-snapshot{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:740px){body.mbf-business-active:not([data-mbf-page="overview"]) .v7-business-banner{padding:12px 14px}body.mbf-business-active:not([data-mbf-page="overview"]) .v7-business-banner>div:first-child{flex:1 1 auto}body.mbf-business-active:not([data-mbf-page="overview"]) .v7-business-snapshot{display:none}}
/* Other advanced dashboards: harmonize surface, grid and labels. */
.v6-hero,.smart-hero{border-radius:15px;box-shadow:0 8px 24px #1a395316}
.v6-kpi-grid,.smart-kpis{gap:12px}.v6-kpi,.smart-kpi{box-shadow:none;padding:17px}
.v6-mini-grid .v6-kpi{min-width:0}.v6-mini-grid .v6-kpi strong{font-size:17px}
.smart-section-heading p,.v6-panel-head small{font-size:12px}
.smart-filterbar,.v6-filterbar,.smart-searchfilters{gap:12px}
.dash-kpis{gap:12px}.dash-kpi{min-height:125px}.dash-kpi-meta{font-size:11px;color:#567287}
.dash-panel h3{font-size:16px}.dash-panel p{font-size:12px}
/* Dark mode: avoid light content-on-light surfaces in hybrid v5-v7 components. */
body.mbf-dark{--v8-ink:#e5edf5;--v8-muted:#afc1d0;--v8-line:#3a5161;background:#10202c;color:#e5edf5}
body.mbf-dark .sidebar{background:#192d3d;border-color:#354d60}
body.mbf-dark .mbf-mobile-nav-toggle{background:#223e50;border-color:#3a5668;color:#e5f2fa}
body.mbf-dark .mbf-nav-group[open]{background:#21394a;border-color:#345166}
body.mbf-dark .mbf-nav-group>summary{color:#d0e0ec}
body.mbf-dark .mbf-nav-group>summary:hover{background:#2b4354}
body.mbf-dark .mbf-nav-pinned{border-color:#345166}
body.mbf-dark .v7-business-card{background:#1f3648!important;border-color:#3a5364;border-top-color:var(--v7-card-primary);color:#edf6ff!important}
body.mbf-dark .v7-business-card strong,body.mbf-dark .v7-card-numbers b{color:#edf6ff!important}
body.mbf-dark .v7-business-card>small,body.mbf-dark .v7-card-numbers span{color:#c4d4df!important}
body.mbf-dark .v7-icon{background:#324b5e;color:#f2f8ff}
body.mbf-dark .v7-card-arrow,body.mbf-dark .v7-enter-hint{color:#e0effa}
body.mbf-dark .v7-card-numbers{border-color:#426075}
body.mbf-dark.mbf-business-active .sidebar{background:#1c3041!important}
body.mbf-dark.mbf-business-active .sidebar .nav-item{color:#d7e6f1!important}
body.mbf-dark.mbf-business-active .workspace{background:linear-gradient(180deg,#192f40,#112330 420px)!important}
body.mbf-dark.mbf-business-active .workspace-top h1{color:#edf7ff!important}
body.mbf-dark .v7-tile,body.mbf-dark .v7-panel,body.mbf-dark .v7-destination{background:#1c3142;color:#e6f1fa;border-color:#3a5366}
body.mbf-dark .v7-tile strong,body.mbf-dark .v7-section-header h3,body.mbf-dark .v7-destination strong{color:#edf5fc}
body.mbf-dark .v7-tile-top,body.mbf-dark .v7-tile small,body.mbf-dark .v7-section-header p,body.mbf-dark .v7-destination p,body.mbf-dark .v7-destination small{color:#bfd2df}
body.mbf-dark .v7-balance-strip{background:#1c3445;border-color:#395568}
body.mbf-dark .v7-balance-strip strong{color:#f0f8fd}body.mbf-dark .v7-balance-strip span,body.mbf-dark .v7-balance-strip p{color:#bed2e0}
body.mbf-dark .v7-color-option{background:#213b4b;border-color:#426073;color:#eaf5fb}
body.mbf-dark th,body.mbf-dark .v6-table th,body.mbf-dark .dash-table th,body.mbf-dark .smart-table th{background:#294356;color:#d5e7f3}
body.mbf-dark td,body.mbf-dark .v6-table td,body.mbf-dark .dash-table td,body.mbf-dark .smart-table td{color:#e0edf7}
body.mbf-dark tr:hover td{background:#2b4657}
/* Clear responsive layouts: header/nav no overlap, cards remain legible. */
@media(max-width:1280px){
 .masthead{display:grid;grid-template-columns:minmax(0,1fr) auto;row-gap:10px}
 .brand-wrap{grid-column:1;grid-row:1}.header-tools{grid-column:2;grid-row:1}
 .accounting-menubar{grid-column:1;grid-row:2;margin:0}.mbf-header-actions{grid-column:2;grid-row:2;justify-self:end}
 .app-shell{grid-template-columns:226px minmax(0,1fr)}
 .v7-business-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
 .v7-business-grid,.v7-destination-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v7-business-banner{flex-direction:column;align-items:stretch}
 .v7-business-snapshot{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr))}
 .v7-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v6-kpi-grid,.smart-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:740px){
 .masthead{display:flex;flex-direction:column;align-items:stretch;padding:12px 14px;gap:10px}
 .brand-wrap{min-width:0;width:100%}.brand-name{font-size:16px}
 .header-tools{width:100%;justify-content:space-between;flex-wrap:nowrap;gap:10px}
 .header-tools a{min-width:0;max-width:calc(100% - 102px);line-height:1.35;white-space:normal!important;text-decoration:none!important;color:#f3faff!important}
 .header-tools select{flex:none;max-width:96px}
 .mbf-header-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}
 .accounting-menubar{order:4;margin:0;overflow-x:auto;width:100%;white-space:nowrap}
 .app-shell{display:block;min-height:0}
 .sidebar{position:static;height:auto;max-height:none;overflow:visible;padding:10px 12px;background:#eff4f7}
 .mbf-mobile-nav-toggle{display:flex;width:100%;min-height:43px;align-items:center;gap:10px;padding:10px 13px;color:#244a61;background:#fff;border:1px solid #d4e2ea;border-radius:10px;font-size:13px;font-weight:750;text-align:left}
 .mbf-mobile-nav-arrow{margin-left:auto;font-size:20px;transition:transform .2s}
 body.mbf-mobile-menu-open .mbf-mobile-nav-arrow{transform:rotate(180deg)}
 .sidebar .side-nav,.sidebar .sidebar-foot{display:none}
 body.mbf-mobile-menu-open .sidebar .side-nav{display:grid;margin-top:8px}
 body.mbf-mobile-menu-open .sidebar .sidebar-foot{display:flex}
 .side-nav{display:grid;grid-template-columns:1fr;gap:4px;min-width:0}
 .sidebar-kicker{display:none}
 .mbf-nav-group{padding:0 3px 4px}
 .mbf-nav-group .nav-item{width:100%;text-align:left;white-space:normal}
 .mbf-nav-pinned{display:none}
 .sidebar-foot{position:static;padding:8px 5px}
 .workspace{padding:18px 14px 32px}
 .workspace-top{flex-wrap:wrap;margin-bottom:17px}.workspace-top h1{font-size:22px}
 .business-select{width:100%;max-width:none}
 .v7-landing-hero{padding:22px 19px;gap:15px}.v7-landing-hero h2{font-size:25px}
 .v7-tile,.v7-panel,.v6-panel,.smart-card{padding:16px}
 .v7-business-grid,.v7-destination-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .v7-business-card{padding:15px;min-height:193px}
 .v7-business-card strong{font-size:14px}
 .v7-business-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v7-form{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v7-wide{grid-column:span 2}
 .v6-grid-two,.smart-two-cols,.dash-split{grid-template-columns:1fr}
}
@media(max-width:490px){
 .brand-name{font-size:15px}.brand-sub{font-size:10px}
 .demo-pill{display:none}.header-tools a{font-size:11px!important}
 .mbf-search-open{min-width:42px}.mbf-search-open .search-text,.mbf-search-open kbd{display:none}
 .header-tools a{font-size:12px!important;max-width:calc(100% - 108px)}
 .v7-landing-hero,.v7-business-banner{flex-direction:column;align-items:stretch}
 .v7-hero-side{text-align:left}
 .v7-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .v7-tile{padding:14px 13px}.v7-tile strong{font-size:18px}.v7-tile-top{font-size:11px}
 .v7-business-grid,.v7-destination-grid{grid-template-columns:1fr}
 .v7-business-card{min-height:170px}
 .v7-business-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v7-business-snapshot>span:last-child{grid-column:span 2}
 .v7-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v7-form{grid-template-columns:1fr}.v7-wide{grid-column:auto}
 .v6-kpi-grid,.smart-kpis,.dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v7-balance-strip{padding:15px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.v7-business-card,.nav-item,.mbf-icon-btn{transition:none!important}.v7-business-card:hover{transform:none!important}}
body.mbf-no-motion .v7-business-card,body.mbf-no-motion .nav-item{transition:none!important}
@media print{
 .masthead,.sidebar,.mbf-nav-pinned,.mbf-palette,.header-tools,.mbf-header-actions{display:none!important}
 .workspace{padding:0;max-width:none}.v7-business-card{box-shadow:none!important;border:1px solid #888!important;color:#111!important}
 .v7-business-card strong,.v7-card-numbers b{color:#111!important}
 .v7-tile,.v6-panel,.v7-panel,.smart-card{box-shadow:none!important;border:1px solid #aaa!important}
}
