/* v7: business-first, color-distinct, accessible layout. Accent applied by app.js. */
body.mbf-landing .app-shell{grid-template-columns:minmax(0,1fr)}
body.mbf-landing .sidebar,body.mbf-landing .workspace-top .business-select{display:none!important}
body.mbf-landing .workspace{max-width:1600px;width:100%;margin:0 auto}
body.mbf-landing #pageTitle{font-size:22px}
body.mbf-business-active{--primary:var(--v7-accent);--smart-brand:var(--v7-accent)}
body.mbf-business-active .masthead{background:linear-gradient(110deg,var(--v7-dark),var(--v7-accent) 88%)!important}
body.mbf-business-active .sidebar{background:linear-gradient(180deg,var(--v7-soft),color-mix(in srgb,var(--v7-soft) 58%,#ffffff 42%))!important;border-right:3px solid var(--v7-accent)!important}
body.mbf-business-active .sidebar .nav-item{color:var(--v7-dark)!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-accent) 16%,white)!important}
body.mbf-business-active .workspace{background:linear-gradient(155deg,var(--v7-soft) 0%,#f7fafc 53%,#fff 100%)!important;min-height:100vh}
body.mbf-business-active .workspace-top{border-bottom:1px solid color-mix(in srgb,var(--v7-accent) 24%,transparent)!important}
body.mbf-business-active .workspace-top h1{color:var(--v7-dark)!important}
body.mbf-business-active .brand-icon{background:rgba(255,255,255,.21)!important}
body.mbf-dark.mbf-business-active .sidebar{background:linear-gradient(170deg,color-mix(in srgb,var(--v7-dark) 55%,#1c2f43),#182b3c)!important}
body.mbf-dark.mbf-business-active .sidebar .nav-item{color:#dceaf6!important}
body.mbf-dark.mbf-business-active .sidebar .nav-item:hover:not(.active){background:#2b4157!important}
body.mbf-dark.mbf-business-active .workspace{background:linear-gradient(140deg,color-mix(in srgb,var(--v7-dark) 42%,#132636),#11202d 54%)!important}
body.mbf-dark.mbf-business-active .workspace-top h1{color:#fff!important}
.v7-landing-hero{background:linear-gradient(117deg,#153c56,#166679 70%,#318ba6);border-radius:19px;padding:30px 33px;color:white;display:flex;justify-content:space-between;gap:24px;align-items:center;box-shadow:0 14px 40px #103c5524;margin-bottom:19px;position:relative;overflow:hidden}
.v7-landing-hero:after{content:'◉';position:absolute;right:140px;top:-100px;font-size:260px;color:#ffffff0a;pointer-events:none}
.v7-landing-hero>div{position:relative;z-index:1}.v7-kicker{display:block;letter-spacing:.19em;font-size:10px;font-weight:800;opacity:.82}
.v7-landing-hero h2{font-size:29px;font-weight:800;margin:8px 0 12px;color:white;line-height:1.3}.v7-landing-hero p{font-size:12px;line-height:1.8;max-width:620px;color:#daecf5;margin:0}
.v7-hero-side{padding:14px 21px;display:grid;gap:6px;text-align:center;background:#ffffff16;border:1px solid #ffffff35;border-radius:14px;white-space:nowrap}.v7-hero-side span{font-size:10px;color:#d2e8ee}.v7-hero-side strong{font-size:23px;color:white}
.v7-landing-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0 13px}.v7-landing-head h3{color:var(--smart-ink,#16344a);font-size:17px;margin:0}.v7-landing-head p{color:var(--smart-muted,#60788d);font-size:11px;margin:5px 0 0;line-height:1.5}.v7-landing-actions,.v7-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.v7-landing-actions button{border:1px solid var(--smart-stroke,#d3e0e8);background:var(--smart-surface,#fff);color:var(--smart-ink,#17394e);font-size:11px;font-weight:750;padding:10px 13px;border-radius:9px}.v7-landing-actions button:hover{border-color:#3a98ab}
.v7-tile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.v7-tile{background:var(--smart-surface,#fff);border:1px solid var(--smart-stroke,#dce7ef);border-radius:14px;padding:17px 19px;box-shadow:0 8px 23px #1134490a;min-width:0;position:relative;overflow:hidden;animation:v7-rise .4s ease-out both}.v7-tile:before{content:'';height:4px;background:#418cad;position:absolute;left:0;right:0;top:0}.v7-tile.capital:before{background:#8767c3}.v7-tile.positive:before{background:#16a58b}.v7-tile.blue:before{background:#4186c9}.v7-tile.copper:before{background:#b9783b}.v7-tile.negative:before{background:#d8706f}.v7-tile-top{display:flex;justify-content:space-between;gap:7px;color:var(--smart-muted,#648096);font-size:11px}.v7-dot{height:8px;width:8px;border-radius:100%;background:#c6d9e3;flex:none}.v7-tile strong{font-size:22px;display:block;margin-top:14px;color:var(--smart-ink,#173e54);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.v7-tile small{display:block;font-size:10px;color:var(--smart-muted,#72879b);margin-top:7px}
.v7-balance-strip{border:1px solid var(--smart-stroke,#d8e6eb);padding:17px 20px;border-radius:13px;background:var(--smart-surface-soft,#f1f7fa);display:flex;justify-content:space-between;gap:18px;align-items:center}.v7-balance-strip>div{flex:0 0 30%}.v7-balance-strip span{display:block;font-size:10px;color:var(--smart-muted,#667e91)}.v7-balance-strip strong{display:block;font-size:17px;color:var(--smart-ink,#143349);margin-top:7px}.v7-balance-strip p{font-size:10px;color:var(--smart-muted,#658095);line-height:1.65;max-width:730px;margin:0}
.v7-business-head{margin-top:29px}.v7-business-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:20px}.v7-business-card{appearance:none;border:0;text-align:left;color:#fff;background:linear-gradient(134deg,var(--v7-card-dark),var(--v7-card-primary));border-radius:17px;min-width:0;min-height:223px;padding:20px 22px;position:relative;overflow:hidden;cursor:pointer;box-shadow:0 11px 27px #143a4a19;display:flex;flex-direction:column;align-items:stretch;transition:transform .23s ease,box-shadow .23s ease}.v7-business-card:before{content:'';height:200px;width:200px;border:28px solid #ffffff0b;position:absolute;right:-70px;top:-100px;border-radius:100%}.v7-business-card:hover{transform:translateY(-5px);box-shadow:0 16px 33px #143a4a32}.v7-business-card:focus-visible{outline:3px solid #1a86db;outline-offset:4px}.v7-business-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.v7-icon{font-size:25px;display:grid;place-items:center;height:48px;width:48px;background:#ffffff29;border-radius:13px}.v7-card-arrow{font-size:20px;color:#ffffffbd}.v7-business-card strong{color:#fff;font-size:16px;line-height:1.45;z-index:1}.v7-business-card>small{font-size:10px;color:#e8f2ffca;margin-top:4px}.v7-card-numbers{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:17px 0 11px;border-top:1px solid #ffffff42;padding-top:13px}.v7-card-numbers span{font-size:10px;color:#e1ecf7}.v7-card-numbers b{font-size:12px;display:block;color:#fff;margin-top:6px;overflow-wrap:anywhere}.v7-enter-hint{font-size:10px;font-weight:750;margin-top:auto;color:#fff}
.v7-loading,.v7-empty,.v7-alert,.v7-warning{padding:17px 20px;border-radius:13px;background:var(--smart-surface,#fff);border:1px solid var(--smart-stroke,#dce7ed);font-size:12px;color:var(--smart-muted,#668097);margin:13px 0}.v7-alert{background:#f0f8ff;border-color:#b7dcef;color:#245876}.v7-warning{background:#fff5e9;color:#8b561b;border-color:#f5d6a5}.v7-footnote,.v7-note{font-size:11px;line-height:1.8;color:var(--smart-muted,#6b8597);margin:13px 0}.v7-main-btn,.v7-outline-btn{padding:11px 17px;background:var(--v7-accent,#168e9f);color:#fff;border:0;border-radius:10px;font-size:12px;font-weight:800;cursor:pointer}.v7-outline-btn{background:var(--smart-surface,#fff);color:var(--smart-ink,#23445b);border:1px solid var(--smart-stroke,#d5e3ee)}.v7-main-btn:hover{filter:brightness(1.07)}.v7-outline-btn:hover{border-color:var(--v7-accent,#289ba6)}
.v7-business-banner{background:linear-gradient(116deg,var(--v7-dark,#0d506f),var(--v7-accent,#1389a2));color:white;padding:18px 22px;border-radius:15px;margin:0 0 16px;display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:0 10px 23px #10364d1a}.v7-business-banner>div:first-child{min-width:180px}.v7-business-banner span{font-size:10px;display:block;color:#e0f2fa;font-weight:650}.v7-business-banner strong{display:block;color:#fff;font-size:17px;margin:7px 0}.v7-business-banner small{color:#e1edf5;font-size:10px;line-height:1.7}.v7-business-snapshot{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;min-width:0;flex:1;max-width:820px}.v7-business-snapshot>span{border:1px solid #ffffff45;background:#ffffff17;padding:9px 12px;border-radius:8px;min-width:0;font-size:10px}.v7-business-snapshot b{display:block;color:white;overflow-wrap:anywhere;font-size:12px;margin-top:7px;font-variant-numeric:tabular-nums}
.v7-panel{background:var(--smart-surface,#fff);border:1px solid var(--smart-stroke,#dce5ed);border-radius:15px;padding:21px 24px;margin:0 0 16px;box-shadow:0 8px 25px #0b3c4e08}.v7-section-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.v7-section-header h3{margin:4px 0 5px;font-size:17px;color:var(--smart-ink,#15354b)}.v7-section-header p{font-size:11px;color:var(--smart-muted,#60798f);margin:0}.v7-appearance-preview{background:linear-gradient(110deg,var(--v7-card-dark),var(--v7-card-primary));padding:26px;border-radius:13px;color:white;display:grid;gap:9px;margin-bottom:18px}.v7-appearance-preview strong{font-size:20px;color:white}.v7-appearance-preview small{font-size:11px;color:#e6f6fc}.v7-color-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.v7-color-option{display:flex;align-items:center;gap:8px;border:1px solid var(--smart-stroke,#dce6ec);border-radius:10px;padding:13px 11px;background:var(--smart-surface,#fff);color:var(--smart-ink,#203c52);text-align:left;font-size:10px;font-weight:700}.v7-color-option.selected{border:2px solid var(--v7-accent,#198e9a)}.v7-color-option:disabled{opacity:.8;cursor:not-allowed}.v7-color-dot{height:19px;width:19px;border-radius:6px;flex:none}.v7-color-option strong{margin-left:auto}
.v7-subhero{padding:20px 24px}.v7-subhero h2{font-size:22px}.v7-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.v7-form label{display:flex;flex-direction:column;gap:7px;color:var(--smart-muted,#688093);font-size:11px;min-width:0}.v7-form label input,.v7-form label select{height:43px;width:100%;font-size:12px}.v7-wide{grid-column:span 3}.v7-destination-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.v7-destination{border:1px solid var(--smart-stroke,#dae3ed);background:var(--smart-surface-soft,#f8fbfd);border-radius:12px;padding:17px;min-width:0}.v7-destination.disabled{opacity:.55}.v7-destination-top{display:flex;justify-content:space-between;gap:7px;font-size:10px;color:var(--smart-muted,#608099)}.v7-state{background:#d8f1ec;color:#147b62;padding:4px 6px;border-radius:7px}.v7-destination strong{display:block;color:var(--smart-ink,#14364a);font-size:14px;margin:12px 0 6px}.v7-destination small,.v7-destination p{font-size:10px;line-height:1.6;color:var(--smart-muted,#647f93);margin:5px 0}.v7-destination .v7-actions{margin-top:14px}.v7-count{background:var(--smart-surface-soft,#ecf5fa);color:var(--smart-ink,#25435a);border-radius:8px;padding:7px 10px;font-size:11px}
.v7-account-detail{margin-top:6px}.v7-account-detail select{width:100%}
body.mbf-dark .v7-alert{background:#203a50;color:#d1ebfc;border-color:#335c76}body.mbf-dark .v7-warning{background:#493828;color:#f8d4a9;border-color:#705331}
@keyframes v7-rise{from{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(max-width:1200px){.v7-business-grid,.v7-destination-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v7-business-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.v7-landing-hero,.v7-business-banner{flex-direction:column;align-items:stretch}.v7-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v7-form{grid-template-columns:repeat(2,minmax(0,1fr))}.v7-wide{grid-column:span 2}.v7-color-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.v7-balance-strip{display:block}.v7-balance-strip>div{margin-bottom:12px}}
@media(max-width:530px){.v7-landing-hero h2{font-size:23px}.v7-business-grid,.v7-destination-grid{grid-template-columns:1fr}.v7-landing-head{align-items:start;flex-direction:column}.v7-tile strong{font-size:16px}.v7-tile{padding:13px}.v7-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v7-form{grid-template-columns:1fr}.v7-wide{grid-column:span 1}.v7-business-banner{padding:14px}.v7-business-snapshot b{font-size:11px}}
@media(prefers-reduced-motion:reduce){.v7-tile{animation:none}.v7-business-card{transition:none}.v7-business-card:hover{transform:none}}
body.mbf-no-motion .v7-tile{animation:none!important}body.mbf-no-motion .v7-business-card{transition:none!important}body.mbf-no-motion .v7-business-card:hover{transform:none!important}
@media print{.v7-landing-actions,.v7-color-grid,.v7-form,.v7-business-card .v7-card-arrow{display:none!important}.v7-business-card{background:white!important;color:black;min-height:0;border:1px solid #888}.v7-business-card strong,.v7-card-numbers b{color:black}.v7-business-banner{background:#eee!important;color:#111}.v7-business-banner strong,.v7-business-snapshot b{color:#111}}

.v7-back-home{background:#ffffff25;border:1px solid #ffffff55;color:#fff;border-radius:7px;padding:6px 9px;font-size:10px;font-weight:700;margin-bottom:10px;cursor:pointer}.v7-back-home:hover{background:#ffffff3d}
