:root{--bl-canvas:#f5f7fb;--bl-surface:#fff;--bl-soft:#f0f3f8;--bl-text:#1c2e47;--bl-muted:#7a879b;--bl-accent:#4167e8;--bl-active:#edf2ff;--bl-sidebar:236px;--bl-topbar:72px}.dark{--bl-canvas:#101927;--bl-surface:#1b2738;--bl-soft:#243246;--bl-text:#e5edf8;--bl-muted:#9baac0;--bl-accent:#91adff;--bl-active:#293c60}.bl-admin,.bl-auth{background:var(--bl-canvas);color:var(--bl-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;font-size:14px;line-height:1.6}.bl-admin *{box-sizing:border-box}.bl-admin .bl-icon{display:block;flex:0 0 20px;width:20px;height:20px}.bl-icon-button{border:0;background:transparent;color:var(--bl-muted);width:36px;height:36px;display:inline-grid;place-items:center;line-height:0;flex:0 0 36px;border-radius:10px;cursor:pointer}.bl-icon-button:hover{background:var(--bl-soft);color:var(--bl-text)}.bl-admin button:focus-visible,.bl-admin a:focus-visible,.bl-admin summary:focus-visible{outline:3px solid #97aff7;outline-offset:3px}.bl-topbar{position:fixed;z-index:40;inset:0 0 auto;height:var(--bl-topbar);display:flex;align-items:center;gap:28px;background:var(--bl-surface);padding:0 28px}.bl-brand{display:flex;align-items:center;gap:10px;color:var(--bl-text);min-width:180px}.bl-brand>span{font-size:21px;font-weight:750;letter-spacing:-.7px;line-height:1.1}.bl-brand small{font-size:8px;display:block;letter-spacing:2.2px;color:var(--bl-muted);margin-top:5px}.bl-top-actions{display:flex;align-items:center;gap:12px;margin-left:auto}.bl-company{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--bl-muted)}.bl-topbar select,.admin-legacy select{appearance:none;background:var(--bl-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%237a879b' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;border:0!important;border-radius:9px;color:var(--bl-text);padding-right:36px!important;min-height:40px;font-size:12px}.bl-company select{width:170px}.bl-account{position:relative}.bl-account summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;font-size:12px;padding:8px 10px;border-radius:9px}.bl-account summary::-webkit-details-marker{display:none}.bl-account[open] summary{background:var(--bl-soft)}.bl-account-menu{position:absolute;right:0;top:48px;background:var(--bl-surface);padding:10px;width:190px;border-radius:13px;box-shadow:0 15px 55px #142c4c22}.bl-account-menu strong{display:block;color:var(--bl-muted);font-size:11px;padding:9px 10px}.bl-account-menu a{display:block;padding:10px;border-radius:7px;font-size:12px}.bl-account-menu a:hover{background:var(--bl-soft)}.bl-notice-link{min-width:0;flex:1;color:var(--bl-muted);max-width:400px}.bl-notice-link #notice-container{height:24px;overflow:hidden;position:relative}.bl-notice-link #notice-content{position:absolute;width:100%;height:100%}.bl-notice-link #notice-content>div{font-size:11px!important;justify-content:flex-start!important}.bl-mobile-toggle{display:none}.bl-sidebar{position:fixed;left:0;top:var(--bl-topbar);bottom:0;z-index:35;width:var(--bl-sidebar);display:flex;flex-direction:column;background:var(--bl-surface);padding:25px 16px 18px;transition:width .2s,transform .2s}.bl-sidebar-caption{font-size:9px;letter-spacing:1.8px;color:var(--bl-muted);font-weight:600;margin:0 14px 16px}.bl-menu{display:flex;flex-direction:column;gap:5px;overflow-y:auto;flex:1}.bl-menu-link{display:flex;align-items:center;gap:13px;min-height:44px;padding:11px 14px;border-radius:10px;color:#687990;font-size:13px;font-weight:500;white-space:nowrap}.dark .bl-menu-link{color:var(--bl-muted)}.bl-menu-link:hover{background:var(--bl-soft);color:var(--bl-text)}.bl-menu-link.is-active{background:var(--bl-active);color:var(--bl-accent);font-weight:650}.bl-submenu{display:flex;flex-direction:column;padding-left:48px;gap:3px;margin:0 0 6px}.bl-submenu a{font-size:12px;padding:7px 0;color:var(--bl-muted)}.bl-submenu a[aria-current]{color:var(--bl-accent);font-weight:600}.bl-sidebar-bottom{display:flex;align-items:center;justify-content:space-between;padding:18px 10px 0;gap:8px}.bl-sidebar-bottom>span{font-size:9px;letter-spacing:1.5px;font-weight:600;color:var(--bl-muted)}.bl-sidebar-bottom small{display:block;font-size:10px;letter-spacing:0;font-weight:400;margin-top:3px}.bl-sidebar-mobile{display:none}.bl-sidebar-backdrop{position:fixed;inset:0;background:#12233d66;z-index:45}.bl-admin>div.flex.pt-16{padding-top:var(--bl-topbar);background:var(--bl-canvas);overflow:visible;min-height:100vh}.bl-admin #main-content{margin-left:var(--bl-sidebar);background:var(--bl-canvas)!important;min-width:0;overflow:visible;width:calc(100% - var(--bl-sidebar));min-height:calc(100vh - var(--bl-topbar))}.admin-content{width:100%;max-width:1600px;margin:auto;min-width:0}.admin-legacy{padding:32px}.admin-legacy>div[class*="px-4"]{padding-left:0!important;padding-right:0!important;padding-top:0!important}.admin-legacy>div:empty{display:none}.bl-page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 28px}.bl-eyebrow{font-size:10px;letter-spacing:1.9px;font-weight:650;color:var(--bl-accent)}.bl-page-heading h1{font-size:29px;line-height:1.3;font-weight:750;letter-spacing:-1.2px;margin:9px 0}.bl-page-heading p{font-size:13px;color:var(--bl-muted);margin:0}.bl-primary-link{display:inline-flex;align-items:center;justify-content:center;gap:12px;color:white;background:#4167e8;padding:12px 17px;border-radius:10px;font-size:12px;font-weight:600;white-space:nowrap}.bl-primary-link:hover{background:#3154cc}.bl-footer{display:flex;justify-content:space-between;gap:12px;color:var(--bl-muted);font-size:10px;padding:25px 32px;max-width:1600px;width:100%;margin:auto}.bl-sidebar-collapsed{--bl-sidebar:80px}.bl-sidebar-collapsed .bl-menu-link span,.bl-sidebar-collapsed .bl-sidebar-caption,.bl-sidebar-collapsed .bl-sidebar-bottom>span,.bl-sidebar-collapsed .bl-submenu{display:none}.bl-sidebar-collapsed .bl-menu-link{justify-content:center;padding:12px}.bl-sidebar-collapsed .bl-sidebar-bottom{padding:18px 0 0;justify-content:center}
/* Shared surfaces for existing operational pages, including dynamically rendered rows. */
.admin-legacy :is(div,section,article,form)[class~="bg-white"]:is([class*="rounded"],[class*="shadow"]){border-width:0!important;background:var(--bl-surface)!important;border-radius:16px!important;box-shadow:0 4px 24px #162c4604!important}.admin-legacy :is(div,section,article)[class~="border"]:is([class~="border-gray-200"],[class~="border-gray-300"]){border-width:0!important}.admin-legacy :is(div,section,article)[class~="border-r"],.admin-legacy :is(div,section,article)[class~="border-l"]{border-left-width:0!important;border-right-width:0!important}.admin-legacy :is(div,section,article)[class~="bg-white"]:is([class~="p-4"],[class~="p-5"],[class~="p-6"],[class~="p-3"]){padding:24px!important}.admin-legacy nav[aria-label="Breadcrumb"],.admin-legacy .bl-original-title{display:none!important}.admin-legacy h2,.admin-legacy h3{color:var(--bl-text);letter-spacing:-.35px}.admin-legacy h2{font-size:18px}.admin-legacy h3{font-size:16px}.admin-legacy input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),.admin-legacy textarea{border:0!important;background:var(--bl-soft)!important;color:var(--bl-text)!important;border-radius:9px!important;min-height:40px;font-size:13px!important}.admin-legacy input:focus,.admin-legacy select:focus,.admin-legacy textarea:focus{outline:0;box-shadow:0 0 0 3px #4167e827!important}.admin-legacy button:not([role=switch]){border-radius:9px;border-color:transparent}.admin-legacy button[class~="bg-white"]{background:var(--bl-soft)!important;color:var(--bl-text)}.admin-legacy button[class~="bg-blue-600"],.admin-legacy button[class~="bg-primary-700"]{background:#4167e8}.admin-legacy button svg{flex-shrink:0}.admin-legacy button:disabled{opacity:.45;cursor:not-allowed}.admin-legacy table{font-size:13px!important;line-height:1.6}.admin-legacy table th{background:var(--bl-soft)!important;color:var(--bl-muted)!important;font-size:11px!important;letter-spacing:.15px;font-weight:550;padding:14px 16px!important;white-space:nowrap;border-width:0!important}.admin-legacy table td{padding:17px 16px!important;font-size:12px!important;border-color:var(--bl-soft)!important}.admin-legacy table tbody{background:var(--bl-surface)!important}.admin-legacy table tbody tr{border-color:var(--bl-soft)!important}.admin-legacy table tbody tr:hover{background:var(--bl-soft)!important}.admin-legacy .overflow-x-auto{border-radius:12px}.admin-legacy .shadow-sm,.admin-legacy .shadow{box-shadow:none}.admin-legacy :is(.text-gray-900,.text-gray-800,.text-gray-700){color:var(--bl-text)}.admin-legacy :is(.text-gray-500,.text-gray-400){color:var(--bl-muted)}.admin-legacy .space-y-8>*+*{margin-top:24px}.admin-legacy :is(.bg-blue-50,.bg-indigo-50){border-color:transparent!important}.admin-legacy .border-blue-500.bg-blue-50{box-shadow:inset 0 0 0 1.5px #4167e8}.admin-legacy .bg-gray-50{background-color:var(--bl-soft)}.admin-legacy .bl-detail-label{font-size:12px;color:var(--bl-muted)}
/* Remove density overrides from the old product editors without changing form behavior. */
.admin-legacy :is(#product-page-compact,#pa-compact,#pd-compact){font-size:13px;line-height:1.6}.admin-legacy #product-page-compact .p-4{padding:24px!important}.admin-legacy #product-page-compact table :is(th,td){padding:15px 16px!important}.admin-legacy #product-page-compact .mb-6{margin-bottom:24px!important}.admin-legacy :is(#pa-compact,#pd-compact) .f-label{font-size:12px;min-height:20px;margin-bottom:7px}.admin-legacy #vending-table{min-width:760px;table-layout:auto!important}.admin-legacy #vending-table col{width:auto!important}.admin-legacy [id="vm-search"]{width:240px;padding-left:32px}.admin-legacy [data-ui="vending-toolbar"]{flex-wrap:wrap;gap:16px;background:var(--bl-surface);padding:18px;border-radius:14px;margin-bottom:20px}.admin-legacy [data-ui="vending-toolbar"]>div:last-child{flex-wrap:wrap;min-width:0}.bl-auth>main{background:var(--bl-canvas)}.bl-auth form input:not([type=checkbox]){border:0;background:var(--bl-soft);min-height:46px;border-radius:10px}.bl-auth .max-w-xl{max-width:440px;border-radius:20px;box-shadow:0 15px 60px #162c4608;padding:32px}.bl-auth .max-w-xl button[type=submit]{width:100%;border-radius:10px}.bl-auth .max-w-xl h2{font-size:23px;letter-spacing:-.7px}.bl-auth .max-w-xl .space-y-6>*+*{margin-top:20px}
/* Dashboard */
.bl-dashboard-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:16px}.bl-dashboard-toolbar p{font-size:12px;color:var(--bl-muted)}.bl-month-selector{display:flex;align-items:center;gap:10px;background:var(--bl-surface);padding:6px;border-radius:11px}.bl-month-selector>span{min-width:100px;text-align:center;font-size:14px;font-weight:650}.bl-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.bl-kpi{background:var(--bl-surface);border-radius:15px;padding:24px}.bl-kpi>span{font-size:12px;color:var(--bl-muted)}.bl-kpi strong{display:block;font-size:28px;letter-spacing:-1px;color:var(--bl-text);margin:12px 0 8px;line-height:1.2}.bl-kpi small{font-size:10px;color:var(--bl-muted)}.bl-dash-grid{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(240px,1fr);gap:22px;margin-bottom:24px}.bl-dash-panel{background:var(--bl-surface);padding:26px;border-radius:16px;min-width:0}.bl-dash-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:18px}.bl-dash-panel-head h2{font-size:18px;font-weight:650;margin:5px 0}.bl-dash-panel-head p{font-size:11px;color:var(--bl-muted)}.bl-dash-change{font-size:10px;color:var(--bl-muted);text-align:right}.bl-dash-change #chart-change{white-space:nowrap}.bl-dash-feature{background:#183453;color:#fff;border-radius:16px;padding:26px;display:flex;flex-direction:column;justify-content:space-between;gap:24px}.bl-dash-feature .bl-eyebrow{color:#9fb9f5}.bl-dash-feature h2{font-size:24px;color:white;line-height:1.45;letter-spacing:-.7px;font-weight:650;margin:16px 0}.bl-dash-feature p{color:#b4c7dc;font-size:12px;line-height:1.9}.bl-dash-feature a{display:flex;align-items:center;justify-content:space-between;padding:14px;background:#ffffff12;border-radius:9px;font-size:12px;color:white}.bl-dash-links{display:grid;gap:9px}.bl-dash-links a{font-size:12px;padding:12px 0;display:flex;align-items:center;justify-content:space-between;color:var(--bl-muted)}.bl-rank-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.bl-ranking{display:flex;flex-direction:column;gap:16px}.bl-ranking li{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:9px;font-size:12px}.bl-ranking .bl-rank-number{color:var(--bl-accent);font-size:11px}.bl-ranking .bl-rank-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bl-ranking strong{font-size:12px}.bl-ranking .bl-empty{display:block;font-size:12px;color:var(--bl-muted);padding:30px 0}.bl-dash-error{background:#fff1ed;color:#a64f37;padding:14px 18px;border-radius:12px;margin-bottom:18px;font-size:12px}.bl-dash-error button{margin-left:10px;text-decoration:underline}.bl-dash-chart-footer{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--bl-muted);margin-top:10px}.bl-dash-chart-footer a{color:var(--bl-accent)}
@media(max-width:1250px){.bl-notice-link{display:none}.bl-dash-grid{grid-template-columns:1fr}.bl-dash-feature{display:grid;grid-template-columns:1fr 1fr;align-items:center}.bl-dash-feature h2{font-size:21px}.bl-kpi{padding:20px}.bl-kpi strong{font-size:23px}.bl-rank-grid{gap:16px}}@media(max-width:1023px){.bl-admin{--bl-sidebar:0px}.bl-admin #main-content{margin-left:0!important;width:100%}.bl-sidebar{width:280px!important;transform:translateX(-100%);top:0;z-index:50;padding-top:20px}.bl-sidebar.show{transform:translateX(0)}.bl-sidebar-mobile{display:flex;justify-content:space-between;align-items:center;margin:0 12px 24px}.bl-sidebar-collapsed .bl-menu-link span,.bl-sidebar-collapsed .bl-sidebar-caption{display:block}.bl-sidebar-collapsed .bl-menu-link{justify-content:flex-start;padding:11px 14px}.bl-sidebar-collapsed .bl-submenu{display:flex}.bl-sidebar-bottom{display:none}.bl-mobile-toggle{display:inline-grid}.bl-topbar{padding:0 20px;gap:12px}.bl-brand{min-width:0}.bl-top-actions{gap:8px}.bl-menu-open{overflow:hidden}.admin-legacy{padding:26px}.bl-page-heading h1{font-size:27px}}@media(max-width:680px){.bl-topbar{padding:0 16px;flex-wrap:wrap;gap:0;height:auto;min-height:72px}.bl-brand>span{font-size:18px}.bl-account summary>span{display:none}.bl-account summary{padding:8px}.bl-top-actions{gap:4px}.bl-company{position:absolute;left:16px;right:16px;top:72px;height:48px;background:var(--bl-surface);justify-content:space-between;padding-bottom:9px}.bl-company select{width:75%;min-height:36px}.bl-admin:has(.bl-company){--bl-topbar:120px}.bl-topbar:has(.bl-company){height:120px;align-items:flex-start;padding-top:17px}.admin-legacy{padding:22px 16px}.bl-page-heading{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:24px}.bl-page-heading h1{font-size:26px}.bl-page-heading p{font-size:12px}.bl-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bl-kpi{padding:18px 15px}.bl-kpi strong{font-size:22px}.bl-kpi small{font-size:9px}.bl-dashboard-toolbar{align-items:flex-start;flex-direction:column}.bl-dash-panel{padding:20px}.bl-dash-feature{display:flex;padding:24px}.bl-rank-grid{grid-template-columns:1fr}.bl-dash-panel-head{gap:10px}.bl-footer{padding:22px 16px}.bl-footer>span:last-child{display:none}.admin-legacy :is(div,section,article)[class~="bg-white"]:is([class~="p-4"],[class~="p-5"],[class~="p-6"],[class~="p-3"]){padding:18px!important}.admin-legacy [data-ui="vending-toolbar"]>div:last-child{width:100%}.admin-legacy #vm-search{width:100%}.admin-legacy [data-ui="vending-toolbar"]>div:last-child>.relative{flex:1;min-width:150px}.admin-legacy #product-page-compact .p-4{padding:18px!important}.bl-dash-chart-footer{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.bl-sidebar{transition:none}}@media(forced-colors:active){.bl-topbar select,.admin-legacy select{appearance:auto;background-image:none}}@media print{.bl-topbar,.bl-sidebar,.bl-sidebar-backdrop,.bl-footer{display:none!important}.bl-admin #main-content{width:100%;margin:0!important}.bl-admin>div.flex.pt-16{padding-top:0}.admin-legacy{padding:0}}

.bl-dash-feature .bl-dash-links a{background:transparent;color:#c3d4e7;padding:12px 0}.bl-dash-feature .bl-dash-links{margin-top:10px}

.admin-legacy [class~="w-px"]{display:none}.admin-legacy [class~="border-t"],.admin-legacy [class~="border-b"]{border-color:var(--bl-soft)!important}
.admin-legacy .bl-date-presets{display:flex;flex-wrap:wrap;gap:8px;margin-left:0}.admin-legacy .bl-date-presets>*{margin-left:0!important;white-space:nowrap}.bl-sales-filters{gap:18px;flex-wrap:wrap}.admin-legacy .bl-sales-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.admin-legacy .bl-sales-metrics>div{padding:18px!important;border:0;background:var(--bl-soft);border-radius:12px}.admin-legacy .bl-sales-metrics h5{font-size:12px;font-weight:500;color:var(--bl-muted)}.admin-legacy .bl-sales-metrics p[id]:not([id$=caption]){font-size:23px;letter-spacing:-.6px;margin-top:12px}.admin-legacy table :is(td,th){word-break:keep-all}.admin-legacy [class*="rounded"]:is(.border-purple-200,.border-indigo-200,.border-blue-200,.border-green-200,.border-gray-200){border-width:0}.admin-legacy [data-page="discount-event-management"] button{white-space:nowrap}@media(max-width:680px){.admin-legacy .bl-sales-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-legacy .bl-sales-metrics>div{padding:15px!important}.admin-legacy .bl-sales-metrics p[id]:not([id$=caption]){font-size:19px}.bl-sales-filters [date-rangepicker]{width:100%;margin-bottom:12px}.bl-sales-filters [date-rangepicker]>.relative{min-width:0;flex:1}.admin-legacy .bl-date-presets button{font-size:11px}.admin-legacy table{min-width:600px}.admin-legacy table table{min-width:0}}

/* Compact workspace: content first, with distinct controls and consistent tabs. */
.bl-admin .admin-content{max-width:none;margin:0}
.bl-admin .admin-legacy{padding:20px 16px}
.bl-admin .bl-footer{max-width:none;padding:16px}
.bl-admin .bl-menu-link.is-active{background:#dce6ff;color:#244cc4;font-weight:700}
.dark .bl-admin .bl-menu-link.is-active{background:#304872;color:#d8e5ff}
.admin-legacy [role="tablist"]{gap:4px;padding:5px;background:var(--bl-soft);border:0;border-radius:12px;overflow:hidden}
.admin-legacy [role="tablist"]>li{border:0!important}
.admin-legacy button[role="tab"]{border:0!important;border-radius:8px!important;background:transparent!important;color:var(--bl-text)!important;padding:11px 18px;box-shadow:none!important}
.admin-legacy button[role="tab"][aria-selected="true"]{background:#315cda!important;color:#fff!important;font-weight:700}
.admin-legacy button[role="tab"][aria-selected="false"]:hover{background:#dfe6f2!important}
.dark .admin-legacy button[role="tab"][aria-selected="false"]:hover{background:#34445b!important}
.admin-legacy input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),.admin-legacy select{box-shadow:inset 0 0 0 1px #d9e1ed;background-color:#eef2f8!important}
.dark .admin-legacy input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),.dark .admin-legacy select{background-color:#26354a!important;box-shadow:inset 0 0 0 1px #40516b}
.admin-legacy .bl-promotion-layout{display:flex;flex-direction:column;gap:14px}
.admin-legacy .bl-promotion-actions{display:flex;justify-content:flex-end}
.bl-promotion-actions>div{display:flex;gap:10px;margin:0!important}
.bl-promotion-actions button{margin:0!important}
.admin-legacy #fullWidthTabContent{border:0}
.admin-legacy [data-ui="vending-toolbar"]{gap:12px;padding:0 0 14px;background:transparent;border-radius:0;margin:0}
.admin-legacy [data-ui="vending-toolbar"]>div:last-child{margin-left:auto}
.bl-list-count{font-size:12px;color:var(--bl-muted);font-weight:500}
.bl-product-searchbar{margin:0 0 14px;max-width:700px}
.bl-product-search input{min-width:100px}
.bl-machine-photo{width:clamp(120px,12vw,190px);flex-shrink:0;align-self:center;background:var(--bl-soft);border-radius:12px;padding:12px}
.bl-machine-photo img{width:100%;height:260px;object-fit:contain}
.bl-dialog{width:min(440px,calc(100vw - 32px));padding:26px;border:0;border-radius:18px;background:var(--bl-surface);color:var(--bl-text);box-shadow:0 24px 80px #09182f40}
.bl-dialog::backdrop{background:#11213b80;backdrop-filter:blur(3px)}
.bl-dialog h2{font-size:18px;font-weight:700;margin:0 0 12px}
.bl-dialog p{font-size:14px;white-space:pre-line;margin:0 0 20px;color:var(--bl-muted)}
.bl-dialog input{width:100%;padding:12px}
.bl-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}
.bl-dialog-actions button{padding:10px 20px;background:var(--bl-soft);border-radius:9px;font-weight:600}
.bl-dialog-actions #bl-dialog-submit{background:#315cda;color:white}
@media(max-width:680px){.bl-admin .admin-legacy{padding:16px 12px}.admin-legacy [data-ui="vending-toolbar"]>div:last-child{margin-left:0}.bl-machine-photo{width:100px;padding:6px}.bl-machine-photo img{height:220px}.bl-product-search select{max-width:105px}.bl-product-search button{min-width:60px!important;padding-left:12px;padding-right:12px}}
.bl-admin .trainer-page,.bl-admin .member-page,.bl-admin .report-page{max-width:none;padding:20px 16px}
.bl-admin .trainer-page>div,.bl-admin .member-page>div{max-width:none}
.bl-admin .bl-compact-actions{display:flex;justify-content:flex-end;align-items:center;margin:0 0 14px;gap:12px}
.bl-admin .rp-header h1.sr-only{margin:0;width:1px;height:1px}
.bl-admin .rp-header .rp-button{margin:0}
@media(max-width:680px){.bl-admin .trainer-page,.bl-admin .member-page,.bl-admin .report-page{padding:16px 12px}}
#vending-settings-page .bl-machine-info>table{min-width:0!important;table-layout:fixed;flex:1;width:0}
#vending-settings-page .bl-machine-info td{padding:10px!important;overflow-wrap:anywhere}
@media(max-width:680px){#vending-settings-page .bl-machine-info{flex-direction:column;align-items:stretch}#vending-settings-page .bl-machine-info>table{width:100%;flex:none}#vending-settings-page .bl-machine-photo{width:140px}#vending-settings-page .bl-machine-photo img{height:180px}}
/* Member history */
.mh-page{color:var(--bl-text)}.mh-header,.mh-identity,.mh-coach,.mh-section-head,.mh-dates{display:flex;align-items:center;gap:14px}.mh-header{justify-content:space-between;margin-bottom:20px}.mh-back{font-size:12px;color:var(--bl-muted)}.mh-identity{margin-top:6px;flex-wrap:wrap;gap:10px}.mh-identity h1{font-size:23px;font-weight:750}.mh-identity>span{font-size:12px}.mh-badge{padding:3px 9px;background:var(--bl-active);color:var(--bl-accent);border-radius:8px}.mh-coach img{width:36px;height:36px;object-fit:cover;border-radius:10px}.mh-coach strong{font-size:13px}.mh-coach small,.mh-summary small,.mh-entry small{display:block;color:var(--bl-muted);font-size:11px;margin-top:4px}.mh-filters{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:18px}.mh-presets,.mh-tabs{display:flex;gap:4px;background:var(--bl-soft);padding:4px;border-radius:11px;width:fit-content}.mh-page button{padding:8px 14px;font-size:12px;white-space:nowrap}.mh-page button[aria-pressed=true],.mh-page #mh-apply{background:#315cda;color:white}.mh-dates{gap:8px}.mh-dates label{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--bl-muted)}.mh-dates input{padding:8px;max-width:150px}.mh-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.mh-surface{background:var(--bl-surface);border-radius:15px;padding:20px}.mh-summary article>span{font-size:12px;color:var(--bl-muted)}.mh-summary article>strong{display:block;font-size:25px;letter-spacing:-.6px;margin:8px 0}.mh-section-head{justify-content:space-between;flex-wrap:wrap;margin-bottom:14px}.mh-page h2{font-size:16px;font-weight:700}.mh-section-head>span{font-size:11px;color:var(--bl-muted)}.mh-chart-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.mh-chart-grid article>span{font-size:12px;color:var(--bl-muted)}.mh-value{display:flex;align-items:center;justify-content:space-between;margin-top:6px}.mh-value strong{font-size:23px}.mh-value small,.mh-value>span{font-size:12px;color:var(--bl-muted)}.mh-chart-grid svg{width:100%;height:110px}.mh-chart-dates{display:flex;justify-content:space-between;color:var(--bl-muted);font-size:11px}.mh-records{margin-top:24px}.mh-tabs{margin-bottom:20px}.mh-day{display:grid;grid-template-columns:110px minmax(0,1fr);gap:20px;margin-bottom:18px}.mh-day>h3{padding-top:14px;font-size:13px!important;font-weight:650}.mh-day>h3 small{display:block;font-size:11px;color:var(--bl-muted);font-weight:400;margin-top:4px}.mh-day-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mh-log{background:var(--bl-surface);border-radius:14px;padding:20px;min-width:0}.mh-log h3{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:13px;font-weight:700;margin-bottom:14px}.mh-log h3 span{font-size:11px;font-weight:400;color:var(--bl-muted)}.mh-entry{display:flex;gap:14px;margin-top:14px}.mh-entry time,.mh-duration{color:var(--bl-accent);font-size:11px;min-width:40px;padding-top:2px}.mh-entry strong{font-size:13px;font-weight:600}.mh-body-values{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.mh-body-values small{font-size:11px;color:var(--bl-muted)}.mh-body-values strong{display:block;font-size:18px;margin-top:6px}.mh-note p{font-size:13px;line-height:1.8}.mh-empty{text-align:center;padding:32px;color:var(--bl-muted);font-size:13px}.mh-more{display:block;margin:20px auto;background:var(--bl-surface)}.mh-more[hidden]{display:none}.mh-provenance{font-size:11px;color:var(--bl-muted);margin-top:30px}#mh-error{color:#c33;font-size:13px;margin:12px 0}
@media(max-width:850px){.mh-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.mh-day{grid-template-columns:1fr;gap:8px}.mh-chart-grid{gap:12px}.mh-dates{flex-wrap:wrap}.mh-coach{display:none}}
@media(max-width:540px){.mh-chart-grid,.mh-day-grid{grid-template-columns:1fr}.mh-dates label{flex-direction:column;align-items:flex-start}.mh-dates input{width:132px}.mh-summary{gap:10px}.mh-surface,.mh-log{padding:16px}.mh-summary article>strong{font-size:21px}.mh-tabs{max-width:100%;flex-wrap:wrap}.mh-tabs button{padding:8px 12px}}
