@media (max-width:700px){.portal-header{height:66px}.portal-header__inner{gap:8px;width:calc(100% - 66px);margin:0 10px 0 54px}.brand{flex:none}.brand__logo{width:clamp(82px,25vw,104px)}.brand__divider,.brand__context{display:none}.header-actions{gap:8px;min-width:0}.connection-status{gap:7px;min-width:0}.connection-status strong{font-size:9px;line-height:1.25}.connection-status span{display:none}.session-logout{letter-spacing:0;padding:7px 8px;font-size:9px}.app-body{height:calc(100dvh - 66px);overflow:hidden}.left-sidebar--open{z-index:8;overscroll-behavior:contain;width:min(286px,86vw);height:100%;padding:18px 12px;position:absolute;inset:0 auto 0 0;overflow:hidden auto;box-shadow:14px 0 32px #00000052}.left-sidebar--closed{height:100%;padding:18px 0}.sidebar-toggle--corner{width:36px;height:36px;left:10px}.portal-stage--view{overscroll-behavior-x:none;width:100%;padding:24px 12px 34px}.product-dashboard,.branch-dashboard{width:100%;max-width:none;padding:0 0 28px}.club-lubry-view{width:100%;max-width:none}.product-dashboard__header,.branch-dashboard__header,.club-lubry-view__heading{margin-bottom:18px}.dashboard-filter-toggle{min-height:38px;padding:0 11px}.product-dashboard__header h1,.branch-dashboard__header h1,.club-lubry-view__heading h1{overflow-wrap:anywhere;font-size:clamp(23px,6vw,29px);line-height:1.15}.product-dashboard__header p,.branch-dashboard__header>div>p:last-child,.club-lubry-view__heading p:last-child{font-size:12px;line-height:1.5}.product-dashboard__layout,.branch-dashboard__layout{grid-template-columns:minmax(0,1fr);gap:12px}.product-dashboard__filters,.product-dashboard__results,.branch-dashboard__results{border-radius:11px;min-width:0}.product-dashboard__filter-heading{gap:8px;padding:13px 12px}.product-dashboard__filter-heading>div:first-child{min-width:0}.product-dashboard__selection-actions{gap:9px}.product-dashboard__selection-actions button{min-height:34px;font-size:10px}.product-dashboard__tree-search{padding:11px 12px}.product-tree{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;max-height:min(42dvh,360px)}.product-tree__row{min-height:42px}.product-dashboard__period{gap:10px;padding:14px 12px 13px}.product-dashboard__period-modes{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.product-dashboard__period-mode button{white-space:normal;width:100%;min-width:0;min-height:40px;padding:5px 4px;font-size:9px;line-height:1.25}.product-dashboard__date-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-dashboard__field select,.product-dashboard__field input{min-height:42px;font-size:12px}.product-dashboard__submit{min-height:44px}.product-dashboard__results,.branch-dashboard__results{padding:12px}.product-dashboard__result-heading,.branch-dashboard__summary-heading,.branch-dashboard__section-heading{align-items:flex-start;gap:8px}.product-dashboard__result-heading>span,.branch-dashboard__summary-heading>span,.branch-dashboard__section-heading>span{white-space:normal;text-align:left}.product-dashboard__metrics{grid-template-columns:minmax(0,1fr);gap:8px}.product-dashboard__metrics article,.branch-dashboard__metrics article{min-width:0;padding:14px}.product-dashboard__metrics article strong,.branch-dashboard__metrics article>strong{overflow-wrap:anywhere;font-size:clamp(18px,5.2vw,23px)}.product-dashboard__chart,.product-dashboard__detail,.branch-dashboard__chart,.branch-dashboard__customers,.branch-dashboard__client-detail,.branch-dashboard__client-products{min-width:0}.product-dashboard__chart-heading,.product-dashboard__section-heading,.branch-dashboard__section-heading{flex-wrap:wrap}.product-dashboard__chart-legend,.branch-dashboard__legend{gap:9px;font-size:9px}.product-dashboard__bars,.product-dashboard__bars--paired,.branch-dashboard__bars,.club-history-chart__scroll,.club-campaign-activity__details{overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;max-width:100%;overflow-x:auto}.product-dashboard__bars,.product-dashboard__bars--paired{grid-auto-columns:minmax(108px,1fr);gap:6px;padding-bottom:9px}.product-dashboard__bar-column{grid-template-rows:34px minmax(0,1fr) 30px;height:195px}.product-dashboard__bar-value,.product-dashboard__bar-month{font-size:10px}.product-dashboard__chart-insight{grid-template-columns:minmax(0,1fr);gap:8px;margin-top:10px;padding:10px}.product-dashboard__chart-insight-period,.product-dashboard__chart-insight-primary,.product-dashboard__chart-insight-secondary{min-width:0;padding:10px}.product-dashboard__chart-insight-primary strong,.product-dashboard__chart-insight-secondary strong{overflow-wrap:anywhere;font-size:clamp(16px,5vw,20px);line-height:1.25}.product-dashboard__detail-controls{flex-direction:column;align-items:stretch}.product-dashboard__detail-search,.product-dashboard__page-size{flex-basis:auto;width:100%}.product-dashboard__table-wrap,.branch-dashboard__table-wrap,.club-users-table-wrap{overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;max-width:100%;overflow-x:auto}.product-dashboard__table-wrap table,.branch-dashboard__table-wrap table,.club-users-table{width:max-content;min-width:720px}.product-dashboard__pagination,.club-users-pagination,.branch-dashboard__pagination{flex-direction:column;align-items:flex-start;gap:9px}.product-dashboard__pagination>div,.club-users-pagination>div,.branch-dashboard__pagination>div{justify-content:space-between;gap:7px;width:100%}.branch-dashboard__branch-list{grid-template-columns:minmax(0,1fr)}.branch-dashboard__branch-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.branch-dashboard__customer-controls{grid-template-columns:minmax(0,1fr) minmax(0,.75fr)}.branch-dashboard__customer-controls label:first-child{grid-column:1/-1}.branch-dashboard__customer-table-wrap{overflow-x:auto}.branch-dashboard__customer-table{width:max-content;min-width:660px}.branch-dashboard__client-detail .branch-dashboard__section-heading{align-items:flex-start}.club-lubry-view__cards,.club-balances-summary,.club-customer-balances,.club-history-metrics,.club-history-charts,.club-campaign-metrics,.club-campaign-selector{grid-template-columns:minmax(0,1fr)}.club-lubry-card,.club-balances-summary article,.club-customer-balances article,.club-history-metrics article,.club-campaign-metrics article{min-width:0;padding:16px}.club-lubry-card{min-height:0}.club-lubry-card strong,.club-balances-summary strong,.club-customer-balances strong,.club-history-metrics strong,.club-campaign-metrics strong{overflow-wrap:anywhere}.club-users-toolbar,.club-balances-toolbar,.club-history-filter{grid-template-columns:minmax(0,1fr);gap:10px;padding:13px}.club-history-filter__intro{grid-column:auto}.club-history-filter__modes{gap:6px}.club-history-filter__modes button,.club-history-filter>button{min-height:40px}.club-history-chart,.club-balances-ranking,.club-campaign-evolution,.club-campaign-customers{min-width:0;padding:15px 12px}.club-history-chart__heading,.club-campaign-heading{flex-direction:column;align-items:flex-start}.club-history-chart__plot,.club-campaign-plot,.club-campaign-activity__plot{width:max-content;min-width:max-content}.club-history-month,.club-campaign-month{min-width:100px}.club-campaign-activity__controls{flex-direction:column;align-items:stretch}.club-campaign-activity__controls label,.club-campaign-activity__controls select{width:100%;min-width:0}.club-balances-rank{grid-template-columns:minmax(0,1fr) auto;gap:8px 10px}.club-balances-rank__track{grid-area:2/1/auto/-1}.club-users-pagination>div{flex-wrap:wrap}.login-page{min-height:100svh;padding:18px 14px}.login-card{width:min(100%,440px);padding:24px 20px}}@media (max-width:420px){.portal-header__inner{gap:6px;width:calc(100% - 58px);margin-left:50px;margin-right:8px}.brand__logo{width:78px}.header-actions{gap:5px}.connection-status{gap:5px;max-width:74px}.connection-status strong{font-size:8px}.session-logout{padding:7px 6px;font-size:8px}.portal-stage--view{padding-left:10px;padding-right:10px}.product-dashboard__metrics article,.branch-dashboard__metrics article,.branch-dashboard__results{padding:12px}.branch-dashboard__branch-cards,.branch-dashboard__customer-controls{grid-template-columns:minmax(0,1fr)}.branch-dashboard__customer-controls label:first-child{grid-column:auto}.product-dashboard__chart-insight-primary strong,.product-dashboard__chart-insight-secondary strong{font-size:16px}.login-card{padding:22px 17px}.login-brand{gap:8px}.login-brand img{width:100px}.login-brand span{padding-left:9px;font-size:8px}}
