.hdb-command,.hdb-card,.hdb-kpis article,.hdb-attention{background:#fff;border:1px solid #dfe8f2;border-radius:18px;box-shadow:0 12px 32px rgba(10,39,76,.055)}
.hdb-command{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 22px;margin-bottom:16px}
.hdb-business{display:flex;align-items:center;gap:14px;min-width:250px}.hdb-business-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#e9f2ff;color:#0a6fe8;font-size:20px}.hdb-business h2{margin:0;color:#082449;font-size:20px;line-height:1.2}.hdb-business p{margin:5px 0 0;color:#71839a;font-size:12px}
.hdb-command-actions{display:flex;align-items:stretch;justify-content:flex-end;gap:10px;flex-wrap:wrap}.hdb-command-actions label,.hdb-period,.hospitality-current-plan{min-width:130px;padding:8px 12px;border:1px solid #e1e9f3;border-radius:11px;background:#f9fbfe;color:#71839a;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.hdb-command-actions select{display:block;width:100%;margin-top:3px;border:0;background:transparent;color:#082449;font-size:12px;font-weight:800;outline:0}.hdb-period strong,.hospitality-current-plan strong{display:block;margin-top:4px;color:#082449;font-size:12px;text-transform:none;letter-spacing:0}.hospitality-current-plan i{display:inline-block;margin-top:4px;color:#159c63;font-size:9px;font-style:normal}.hdb-command-actions>button{border:0;border-radius:11px;padding:0 17px;background:#0874e8;color:#fff;font:800 12px inherit;cursor:pointer}.hdb-command-actions>button span{margin-left:8px}
.hdb-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:16px}.hdb-kpis article{position:relative;min-height:132px;padding:17px;overflow:hidden}.hdb-kpis article:after{content:"";position:absolute;right:-24px;bottom:-34px;width:90px;height:90px;border-radius:50%;background:#f3f7fc}.hdb-kpis article>i{display:grid;place-items:center;width:31px;height:31px;margin-bottom:13px;border-radius:9px;background:#eaf2ff;color:#0d70e6;font-style:normal;font-weight:900}.hdb-kpis article>i.is-green{background:#e8f8f1;color:#109761}.hdb-kpis article>i.is-red{background:#fff0f1;color:#db3948}.hdb-kpis article>span{display:block;color:#71839a;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.hdb-kpis article>strong{position:relative;z-index:1;display:block;margin:7px 0 4px;color:#082449;font-size:25px;letter-spacing:-.03em}.hdb-kpis article>small{position:relative;z-index:1;color:#71839a;font-size:10px}
.hdb-attention{border-color:#f3d4d8;margin-bottom:16px;overflow:hidden}.hdb-attention>header{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;background:#fff9f9;border-bottom:1px solid #f5dfe2}.hdb-attention>header>div{display:flex;align-items:center;gap:10px}.hdb-attention>header>div>i{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#fee9eb;color:#d93646;font-style:normal;font-weight:900}.hdb-attention h3,.hdb-card h3{margin:0;color:#082449;font-size:14px}.hdb-attention p,.hdb-card p{margin:3px 0 0;color:#8291a4;font-size:10px}.hdb-attention>header>span{color:#8796aa;font-size:10px}.hdb-attention-grid{display:grid;grid-template-columns:repeat(4,1fr)}.hdb-attention-grid button{display:flex;gap:11px;padding:15px 17px;border:0;border-right:1px solid #edf1f5;background:#fff;text-align:left;cursor:pointer}.hdb-attention-grid button:last-child{border-right:0}.hdb-attention-grid button:hover{background:#fbfdff}.hdb-attention-grid button>i{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:9px;background:#fff0f1;color:#da3546;font-style:normal;font-weight:900}.hdb-attention-grid button span>*{display:block}.hdb-attention-grid strong{color:#163251;font-size:11px}.hdb-attention-grid strong b{color:#da3546}.hdb-attention-grid small{margin-top:3px;color:#8796aa;font-size:9px}.hdb-attention-grid em{margin-top:7px;color:#0874e8;font-size:9px;font-style:normal;font-weight:800}
.hdb-analytics-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(390px,.9fr);gap:16px;margin-bottom:16px}.hdb-bottom-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.hdb-card{min-width:0;overflow:hidden}.hdb-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;border-bottom:1px solid #edf1f6}.hdb-card>header>div{display:flex;align-items:center;gap:10px}.hdb-card>header>div>i{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#eaf2ff;color:#0d70e6;font-style:normal;font-weight:900}.hdb-card header button{padding:0;border:0;background:none;color:#0b70dc;font-size:10px;font-weight:800;cursor:pointer}.hdb-legend{display:flex!important;gap:13px!important;color:#71839a;font-size:9px}.hdb-legend span{display:flex;align-items:center;gap:5px}.hdb-legend i{width:8px!important;height:8px!important;border-radius:50%!important;background:#0c73e8!important}.hdb-legend i.is-profit{background:#18ad73!important}
.hdb-chart{height:235px;padding:20px 18px 10px}.hdb-chart svg{display:block;width:100%;height:190px;overflow:visible}.hdb-chart .hdb-grid line{stroke:#e8eef5;stroke-width:.45}.hdb-chart polyline{fill:none;stroke:#0a74e8;stroke-width:2;vector-effect:non-scaling-stroke}.hdb-chart polyline.is-profit{stroke:#19ad73}.hdb-chart-labels{display:flex;justify-content:space-between;color:#8b98aa;font-size:9px}.hdb-table-wrap{overflow:auto}.hdb-table-wrap table{width:100%;border-collapse:collapse;white-space:nowrap}.hdb-table-wrap th{padding:12px 10px;background:#f8fafd;color:#8492a4;font-size:8px;text-align:left;text-transform:uppercase;letter-spacing:.05em}.hdb-table-wrap td{padding:13px 10px;border-top:1px solid #eef2f6;color:#52657c;font-size:10px}.hdb-table-wrap td strong{color:#102c4d}.hdb-table-wrap td span{padding:4px 7px;border-radius:8px;background:#e8f8f1;color:#0e945e;font-weight:800}.hdb-table-wrap td span.is-warning{background:#fff2db;color:#ae6a00}.hdb-empty{text-align:center!important;color:#8796aa!important}
.hdb-inventory-body{padding:16px}.hdb-stock-value{padding:14px;border-radius:12px;background:linear-gradient(135deg,#08274d,#0d4480);color:#fff}.hdb-stock-value span,.hdb-stock-value small{display:block;color:#bed0e7;font-size:9px}.hdb-stock-value strong{display:block;margin:5px 0;font-size:23px}.hdb-inventory ul{padding:0;margin:13px 0 0;list-style:none}.hdb-inventory li{display:flex;justify-content:space-between;gap:12px;padding:8px 3px;border-bottom:1px solid #eef2f6;color:#52657c;font-size:10px}.hdb-inventory li b{color:#d63848}.hdb-inventory li.is-empty{color:#8796aa}.hdb-live>header>div>i{background:#e9faf2;color:#12a167}.hdb-live-state{color:#10a267;font-size:10px;font-weight:800}.hdb-live>div{display:grid;grid-template-columns:repeat(3,1fr)}.hdb-live section{min-width:0;padding:19px 14px;border-right:1px solid #edf1f5}.hdb-live section:last-child{border-right:0}.hdb-live section>span,.hdb-live section>small{display:block;color:#8492a4;font-size:9px}.hdb-live section>strong{display:block;margin:7px 0;color:#082449;font-size:23px}.hdb-live section>button{border:0;padding:0;background:none;color:#0b70dc;font-size:9px;font-weight:800;cursor:pointer}.hdb-activity-mix{padding:15px 17px}.hdb-activity-mix>div{display:grid;grid-template-columns:1fr auto;gap:5px;margin-bottom:13px;color:#64768c;font-size:10px}.hdb-activity-mix b{color:#102d4f}.hdb-activity-mix i{grid-column:1/-1;height:5px;border-radius:9px;background:#edf2f7;overflow:hidden}.hdb-activity-mix em{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,#0a72e7,#18ac73)}
[data-finance-section][hidden],[data-finance-alert][hidden],.hdb-kpis article[hidden]{display:none!important}
@media(max-width:1300px){.hdb-kpis{grid-template-columns:repeat(3,1fr)}.hdb-bottom-grid{grid-template-columns:1fr 1fr}.hdb-products{grid-column:1/-1}}
@media(max-width:1020px){.hdb-command{align-items:flex-start;flex-direction:column}.hdb-command-actions{width:100%;justify-content:flex-start}.hdb-attention-grid{grid-template-columns:1fr 1fr}.hdb-attention-grid button:nth-child(2){border-right:0}.hdb-analytics-grid{grid-template-columns:1fr}.hdb-bottom-grid{grid-template-columns:1fr}.hdb-products{grid-column:auto}}
@media(max-width:720px){.hdb-kpis{grid-template-columns:1fr 1fr}.hdb-command-actions>*{flex:1;min-width:125px}.hdb-attention-grid{grid-template-columns:1fr}.hdb-attention-grid button{border-right:0;border-bottom:1px solid #edf1f5}.hdb-attention>header{align-items:flex-start;gap:10px}.hdb-live>div{grid-template-columns:1fr}.hdb-live section{border-right:0;border-bottom:1px solid #edf1f5}.hdb-chart{height:205px}.hdb-chart svg{height:160px}}
@media(max-width:470px){.hdb-kpis{grid-template-columns:1fr}.hdb-business h2{font-size:17px}.hdb-command{padding:15px}.hdb-attention>header>span{display:none}}

/* Premium BIVA command-centre visual system */
.hospitality-page-content{position:relative;background:
  radial-gradient(circle at 8% 3%,rgba(29,117,229,.09),transparent 24rem),
  radial-gradient(circle at 91% 20%,rgba(18,174,115,.055),transparent 23rem),
  linear-gradient(180deg,#f7faff 0%,#f2f6fb 52%,#f7f9fc 100%)}
.hospitality-page-content:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.36;background-image:linear-gradient(rgba(12,58,111,.028) 1px,transparent 1px),linear-gradient(90deg,rgba(12,58,111,.028) 1px,transparent 1px);background-size:32px 32px}
.hospitality-page-content>*{position:relative;z-index:1}
.hdb-command,.hdb-card,.hdb-kpis article,.hdb-attention{border-color:rgba(177,196,220,.62);box-shadow:0 18px 48px rgba(8,35,70,.075),0 2px 6px rgba(8,35,70,.035)}
.hdb-command{position:relative;isolation:isolate;overflow:hidden;min-height:92px;padding:18px 20px;background:linear-gradient(125deg,rgba(255,255,255,.98),rgba(248,251,255,.97))}
.hdb-command:before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:radial-gradient(circle at 4% 0%,rgba(38,123,235,.1),transparent 32%),linear-gradient(90deg,rgba(14,94,198,.025),transparent 44%)}
.hdb-command.is-biva-business{border-color:rgba(69,138,229,.48);background:linear-gradient(122deg,#06182f 0%,#0a2e5c 46%,#0d58a7 100%);box-shadow:0 24px 58px rgba(5,33,70,.28),inset 0 1px 0 rgba(255,255,255,.12)}
.hdb-command.is-biva-business:before{background:radial-gradient(circle at 8% 0%,rgba(31,122,240,.48),transparent 31%),radial-gradient(circle at 86% 120%,rgba(28,211,137,.28),transparent 30%),linear-gradient(115deg,transparent 55%,rgba(255,255,255,.07) 55%,rgba(255,255,255,.01) 72%)}
.hdb-command.is-biva-business:after{content:"BIVA";position:absolute;z-index:-1;right:21%;top:50%;transform:translateY(-50%);color:rgba(255,255,255,.035);font-size:76px;font-weight:950;letter-spacing:.08em}
.hdb-business-icon,.hdb-kpis article>i,.hdb-card>header>div>i,.hdb-attention-grid button>i,.hdb-attention>header>div>i{border:1px solid rgba(92,145,209,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 7px 16px rgba(17,71,135,.08)}
.hdb-business-icon svg,.hdb-kpis article>i svg,.hdb-card>header>div>i svg,.hdb-attention-grid button>i svg,.hdb-attention>header>div>i svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hdb-business-icon{width:48px;height:48px;border-radius:15px;background:linear-gradient(145deg,#e7f2ff,#d8e9ff)}
.hdb-business-icon svg{width:22px;height:22px}
.hdb-eyebrow{display:block;margin-bottom:3px;color:#2577d5;font-size:8px;font-weight:950;letter-spacing:.14em}
.hdb-command.is-biva-business .hdb-business-icon{border-color:rgba(255,255,255,.2);background:linear-gradient(145deg,#1980ed,#0d5bb9);color:#fff;box-shadow:0 12px 30px rgba(4,18,39,.32),inset 0 1px 0 rgba(255,255,255,.25)}
.hdb-command.is-biva-business .hdb-eyebrow{color:#73e5b0}.hdb-command.is-biva-business .hdb-business h2{color:#fff}.hdb-command.is-biva-business .hdb-business p{color:#bed0e8}
.hdb-command.is-biva-business .hdb-command-actions label,.hdb-command.is-biva-business .hdb-period,.hdb-command.is-biva-business .hospitality-current-plan{border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.09);color:#9fb7d5;box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}
.hdb-command.is-biva-business .hdb-command-actions select,.hdb-command.is-biva-business .hdb-period strong,.hdb-command.is-biva-business .hospitality-current-plan strong{color:#fff}.hdb-command.is-biva-business .hdb-command-actions select option{color:#082449}.hdb-command.is-biva-business .hdb-command-actions>button{background:linear-gradient(135deg,#ffd45a,#f3b51d);color:#09264a;box-shadow:0 9px 22px rgba(0,0,0,.22)}
.hdb-kpis article{min-height:126px;padding:16px;background:linear-gradient(150deg,rgba(255,255,255,.99),rgba(249,252,255,.96));transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.hdb-kpis article:hover{transform:translateY(-3px);border-color:rgba(75,135,208,.5);box-shadow:0 22px 46px rgba(8,49,99,.11)}
.hdb-kpis article:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#1478e6,#23b77c);opacity:.82}
.hdb-kpis article:after{background:radial-gradient(circle,rgba(31,119,224,.09),rgba(31,119,224,0) 69%)}
.hdb-kpis article>i{width:34px;height:34px;border-radius:10px}.hdb-kpis article>strong{font-size:23px}
.hdb-card{background:linear-gradient(155deg,rgba(255,255,255,.99),rgba(249,252,255,.97))}.hdb-card>header{min-height:64px;padding:14px 16px;background:linear-gradient(180deg,rgba(251,253,255,.95),rgba(255,255,255,.92))}
.hdb-card>header>div>i{width:34px;height:34px;border-radius:10px}
.hdb-card header button,.hdb-attention-grid em{transition:color .18s ease,transform .18s ease}.hdb-card header button:hover,.hdb-attention-grid button:hover em{color:#0756b2;transform:translateX(2px)}
.hdb-attention{background:#fff}.hdb-attention>header{background:linear-gradient(90deg,#fff7f7,#fffdfd)}.hdb-attention-grid button{transition:background .18s ease,transform .18s ease}.hdb-attention-grid button:hover{z-index:1;background:linear-gradient(145deg,#fff,#f7fbff);transform:translateY(-2px);box-shadow:0 12px 25px rgba(8,47,93,.07)}
.hdb-stock-value{position:relative;overflow:hidden;background:linear-gradient(125deg,#061a35,#0b3972 62%,#0d62b7);box-shadow:0 15px 28px rgba(5,37,77,.2)}.hdb-stock-value:after{content:"";position:absolute;width:100px;height:100px;right:-28px;top:-40px;border-radius:50%;background:rgba(36,217,145,.18)}
.hdb-live-state{padding:5px 9px;border:1px solid #b9ead5;border-radius:99px;background:#eaf9f2}
@media(max-width:720px){.hdb-command.is-biva-business:after{right:-6%;font-size:56px}.hdb-command.is-biva-business .hdb-command-actions{position:relative}.hospitality-page-content{background:linear-gradient(180deg,#f6f9fd,#f2f6fb)}}

/* Compact KPI proportions and structured command toolbar */
.hdb-command{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px;min-height:0;padding:16px 18px}
.hdb-command-head{display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:0}
.hdb-business{min-width:0}.hdb-business p{white-space:normal}.hdb-command.is-biva-business:after{right:29%;font-size:64px}
.hospitality-network-state{flex:0 0 auto;min-width:190px;padding:10px 14px;border-radius:12px}
.hdb-command-actions{display:grid;grid-template-columns:minmax(190px,1.25fr) minmax(155px,.9fr) minmax(190px,1.05fr) minmax(170px,.9fr);align-items:stretch;width:100%;gap:9px}
.hdb-command-actions label,.hdb-period,.hospitality-current-plan{display:flex;align-items:center;gap:10px;min-width:0;min-height:52px;padding:8px 11px;border-radius:12px;text-transform:none;letter-spacing:0}
.hdb-control-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border:1px solid rgba(126,164,211,.2);border-radius:9px;background:rgba(255,255,255,.1);color:#77b7ff}
.hdb-control-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hdb-control-copy{display:block;min-width:0;flex:1}.hdb-control-copy>small{display:block;margin:0 0 3px;color:inherit;font-size:8px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.hdb-command-actions select{margin:0;padding:0;border:0}.hdb-period strong,.hospitality-current-plan strong{margin:0;font-size:12px}.hdb-plan-line{display:flex;align-items:center;gap:7px}.hospitality-current-plan i{margin:0;padding:3px 7px;border-radius:99px;background:rgba(24,195,126,.14)}
.hdb-command-actions>button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:8px 14px;border-radius:12px;text-align:left}
.hdb-upgrade-copy small,.hdb-upgrade-copy strong{display:block}.hdb-upgrade-copy small{margin-bottom:2px;font-size:8px;font-weight:750;opacity:.72}.hdb-upgrade-copy strong{font-size:12px}.hdb-upgrade-arrow{display:grid;place-items:center;width:27px;height:27px;margin:0!important;border-radius:50%;background:rgba(8,38,73,.12);font-size:16px}
.hdb-command.is-biva-business .hdb-control-icon{border-color:rgba(255,255,255,.13);background:rgba(255,255,255,.09);color:#9bc9ff}
.hdb-command.is-biva-business .hospitality-network-state{border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.08)}
.hdb-kpis article{display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:10px;align-content:center;min-height:104px;padding:13px 15px}
.hdb-kpis article>i{grid-column:1;grid-row:1;width:34px;height:34px;margin:0}.hdb-kpis article>span{grid-column:2;grid-row:1;align-self:center;line-height:1.25}.hdb-kpis article>strong{grid-column:1/-1;grid-row:2;margin:8px 0 2px;font-size:22px;line-height:1}.hdb-kpis article>small{grid-column:1/-1;grid-row:3;line-height:1.3}.hdb-kpis{gap:11px}
@media(max-width:1280px){.hdb-command-actions{grid-template-columns:repeat(2,minmax(180px,1fr))}.hdb-command.is-biva-business:after{right:10%}}
@media(max-width:1020px){.hdb-command-head{width:100%}.hdb-command-actions{grid-template-columns:repeat(2,minmax(165px,1fr))}}
@media(max-width:720px){.hdb-command{padding:14px}.hdb-command-head{align-items:flex-start;flex-direction:column}.hospitality-network-state{width:100%;min-width:0}.hdb-command-actions{grid-template-columns:1fr}.hdb-command-actions>*{width:100%;min-width:0!important}.hdb-kpis article{min-height:100px}.hdb-command.is-biva-business:after{right:-8%;top:30%;font-size:50px}}

/* Single-line compact command bar */
.hdb-command{display:flex;flex-direction:row;align-items:center;gap:14px;min-height:76px;padding:11px 14px;border-radius:17px}
.hdb-command:before{border-radius:inherit}.hdb-command.is-biva-business:after{right:18%;top:50%;font-size:54px}
.hdb-business{flex:1 1 300px;gap:10px;min-width:230px}.hdb-business-icon{flex:0 0 38px;width:38px;height:38px;border-radius:11px}.hdb-business-icon svg{width:18px;height:18px}.hdb-eyebrow{font-size:7px}.hdb-business h2{font-size:16px}.hdb-business p{margin-top:2px;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:330px}
.hdb-business .hospitality-network-state{display:inline-flex;align-items:center;gap:5px;min-width:0;width:auto;margin-top:3px;padding:0;border:0;background:transparent;box-shadow:none}.hdb-business .hospitality-network-state i{flex:0 0 6px;width:6px;height:6px;box-shadow:0 0 0 3px rgba(49,210,141,.14)}.hdb-business .hospitality-network-state strong,.hdb-business .hospitality-network-state small{display:inline;margin:0;color:#a9c2df;font-size:8px;font-weight:700}.hdb-business .hospitality-network-state small:before{content:"· ";margin-left:1px}
.hdb-command-actions{display:flex;flex:0 1 auto;width:auto;align-items:center;gap:7px}.hdb-command-actions label,.hdb-period,.hospitality-current-plan{flex:0 1 auto;gap:7px;width:auto;min-width:138px;min-height:42px;padding:5px 8px;border-radius:10px}.hdb-command-actions #hospitalityBranchFilterLabel{min-width:165px}.hdb-control-icon{flex-basis:27px;width:27px;height:27px;border-radius:8px}.hdb-control-icon svg{width:14px;height:14px}.hdb-control-copy>small{margin-bottom:1px;font-size:7px}.hdb-command-actions select,.hdb-period strong,.hospitality-current-plan strong{font-size:10px}.hospitality-current-plan{min-width:150px}.hospitality-current-plan i{padding:2px 5px;font-size:7px}.hdb-command-actions>button{flex:0 0 auto;min-height:42px;padding:5px 10px;border-radius:10px}.hdb-upgrade-copy small{display:none}.hdb-upgrade-copy strong{font-size:10px;white-space:nowrap}.hdb-upgrade-arrow{width:23px;height:23px;font-size:13px}
.hdb-command.is-biva-business .hdb-command-actions label,.hdb-command.is-biva-business .hdb-period,.hdb-command.is-biva-business .hospitality-current-plan{background:rgba(255,255,255,.075)}
@media(max-width:1280px){.hdb-command{flex-wrap:wrap}.hdb-business{flex-basis:100%}.hdb-business p{max-width:70vw}.hdb-command-actions{width:100%;flex-wrap:nowrap}.hdb-command-actions>*{flex:1 1 0!important;min-width:0!important}.hdb-command.is-biva-business:after{right:5%}}
@media(max-width:850px){.hdb-command-actions{flex-wrap:wrap}.hdb-command-actions>*{flex:1 1 calc(50% - 7px)!important}.hdb-command{padding:12px}.hdb-business .hospitality-network-state{width:auto}}
@media(max-width:520px){.hdb-command-actions>*{flex-basis:100%!important}.hdb-business p{max-width:72vw}}

/* Equal-height desktop controls: Branch, Period, Plan and Upgrade */
.hdb-command .hdb-command-actions{flex-wrap:nowrap}
.hdb-command .hdb-command-actions>label,.hdb-command .hdb-command-actions>.hospitality-current-plan,.hdb-command .hdb-command-actions>#hospitalityOpenPlans{box-sizing:border-box;height:42px;min-height:42px;max-height:42px;margin:0}
.hdb-command #hospitalityBranchFilterLabel{display:flex;align-items:center;gap:7px;min-width:165px;color:#9fb7d5;font-size:10px;font-weight:800;letter-spacing:0;text-transform:none}
.hdb-command #hospitalityDashboardBranch,.hdb-command #hospitalityDashboardPeriod{display:block;width:100%;min-width:0;height:auto;min-height:0;margin:0;padding:0 17px 0 0;appearance:none;border:0;border-radius:0;background-color:transparent;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 6px) 50%,calc(100% - 2px) 50%;background-size:4px 4px,4px 4px;background-repeat:no-repeat;box-shadow:none;color:#fff;font:inherit;font-size:10px;font-weight:800;line-height:1.2;outline:0;cursor:pointer}
.hdb-command #hospitalityDashboardBranch:hover,.hdb-command #hospitalityDashboardBranch:focus,.hdb-command #hospitalityDashboardPeriod:hover,.hdb-command #hospitalityDashboardPeriod:focus{border:0;box-shadow:none;transform:none}
.hdb-command #hospitalityDashboardBranch option,.hdb-command #hospitalityDashboardPeriod option{color:#071426;background:#fff}
@media(max-width:850px){.hdb-command .hdb-command-actions{flex-wrap:wrap}.hdb-command .hdb-command-actions>*{max-height:none}}

/* Dashboard plan picker must remain a viewport modal. The generic
   .hospitality-page-content > * rule above must never place it in page flow. */
.hospitality-page-content>.hospitality-plan-modal{
  position:fixed!important;
  inset:0!important;
  z-index:5000!important;
  display:grid;
  place-items:center;
  width:auto;
  height:auto;
  margin:0;
  padding:20px;
  overflow:hidden;
  background:rgba(3,15,32,.8);
  backdrop-filter:blur(8px);
}
.hospitality-page-content>.hospitality-plan-modal[hidden]{display:none!important}
.hospitality-page-content>.hospitality-plan-modal>.hospitality-plan-modal-card{
  position:relative;
  width:min(1240px,calc(100vw - 40px));
  max-height:calc(100vh - 40px);
  margin:0;
  overflow:auto;
  overscroll-behavior:contain;
  border:1px solid rgba(255,255,255,.55);
  border-radius:22px;
  box-shadow:0 34px 100px rgba(0,0,0,.38);
}
@media(max-width:700px){
  .hospitality-page-content>.hospitality-plan-modal{padding:10px}
  .hospitality-page-content>.hospitality-plan-modal>.hospitality-plan-modal-card{width:calc(100vw - 20px);max-height:calc(100vh - 20px);padding:18px}
}
