/* V5.8.5 workspace. Screen only: retain the original A4/thermal document print rules. */
@media screen {
:root{--bg:#f4f6fb;--card:#fff;--ink:#18243d;--muted:#56657b;--primary:#215dcc;--primary-dark:#1648a7;--line:#dce3ee;--ux-text:#18243d;--ux-muted:#56657b;--ux-teal:#215dcc;--ux-line:#dce3ee;--ux-bg:#f4f6fb;--ux-navy:#152e66;--space:16px}
body{font:15px/1.5 'Segoe UI',system-ui,sans-serif;color:var(--ink);background:var(--bg)}
.app-shell{min-width:0;align-items:flex-start}.content{flex:1 1 0%;min-width:0;max-width:100%;padding:24px clamp(14px,2vw,32px);overflow:visible;container-type:inline-size}.content>*{min-width:0;max-width:100%}
.sidebar{width:218px;min-width:218px;flex:0 0 218px;height:100dvh;background:#142d65;box-shadow:none;padding:16px 10px;scrollbar-width:thin}.sidebar-heading{padding:4px 8px 16px;gap:10px}.sidebar .nav-title{margin:12px 0 3px}.sidebar .nav-link{font-size:13px;font-weight:500;padding:9px 10px;margin:2px 0;line-height:1.4;overflow-wrap:anywhere}.sidebar .nav-link.is-active{background:#315fc3;border-left:3px solid #c3b0ff;padding-left:7px}.sidebar .nav-group-toggle{font-size:11px;padding:7px 8px;letter-spacing:.035em}.sidebar .nav-search-wrap input{padding:10px 28px 10px 10px;background:#223e7a}.sidebar .nav-link span:not(.nav-count){min-width:0}.sidebar .brand-modern{background:#3169d9;border-radius:10px}.sidebar-foot{margin-top:16px}
.topbar{display:flex;align-items:center;gap:12px;margin:0 0 24px;padding:12px 16px;background:#fff;border-radius:12px;border:1px solid var(--line);box-shadow:none}.topbar>div:first-of-type{flex:1;min-width:0}.topbar h1{font-size:17px;line-height:1.35;overflow-wrap:anywhere}.topbar p{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.topbar-actions{flex:0 1 auto;display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap;width:auto}.topbar-actions .btn{width:auto;font-size:13px!important}.content .topbar .btn.danger{background:#fff!important;color:#a42135;border:1px solid #e8ccd0}.content .topbar .btn.danger:hover{background:#fff0f2!important}.workspace-nav-toggle{flex:none;min-width:40px;min-height:40px!important;background:#eaf0ff!important;color:#215dcc!important;border:1px solid #d8e2fb!important;padding:8px!important}.workspace-nav-toggle svg{width:20px;height:20px;display:block}.workspace-expanded .sidebar{display:none}.workspace-expanded .content{flex-basis:100%}
.content .card{margin-bottom:16px;padding:clamp(14px,1.6vw,22px);background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 5px #213a6106;overflow:visible;min-width:0;max-width:100%;overflow-wrap:anywhere}.content .card:hover{transform:none;box-shadow:0 2px 5px #213a6106}.content h2{font-size:clamp(22px,2vw,28px);letter-spacing:-.025em;line-height:1.25;margin:0 0 12px}.content h3{font-size:18px;line-height:1.35;margin:0 0 12px}.content h4{font-size:15px}.content p{overflow-wrap:anywhere}.section-title,.card-head,.ux-page-heading,.page-heading{flex-wrap:wrap;align-items:center;gap:12px}.section-title>* ,.card-head>* ,.ux-page-heading>*{min-width:0}.section-icon{flex:none;width:40px;height:40px;border-radius:10px}.ux-page-heading{margin:0 0 20px}.content .actions,.content .actions.compact,.content .ux-actions,.content .ux-quick{gap:8px;flex-wrap:wrap;overflow:visible;max-width:100%;min-width:0}.content .actions>*{min-width:0;max-width:100%}.content .btn,.content button{white-space:normal;overflow-wrap:anywhere;line-height:1.35;font-size:14px;min-height:40px;padding:9px 13px;border-radius:8px;max-width:100%;font-weight:600;box-shadow:none}.content .actions.compact .btn,.content .actions.compact button{min-height:34px;padding:6px 9px;font-size:12px}.content .btn:not(.secondary):not(.danger):not(.success),.content button:not(.secondary):not(.danger):not(.success){background:#215dcc}.content .btn.secondary{color:#254a91;background:#f4f7fd;border:1px solid #dce4f3}.content .btn.success,.content button.success{background:#187647;color:white}.content .btn:hover,.content button:hover{filter:brightness(.96)}
.content .grid,.content .summary,.content .balance-grid,.content .ux-summary,.content .permission-grid,.content .module-grid{gap:16px;min-width:0;max-width:100%}.content .grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.content .grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.content .grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.content .grid>*{min-width:0;max-width:100%}.content .summary,.content .balance-grid,.content .ux-summary{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}.content .summary .num,.content .balance-card strong,.content .ux-summary strong{font-size:clamp(18px,1.65vw,24px);line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.content .tile,.content .balance-card,.content .ux-summary>div{min-width:0;overflow-wrap:anywhere;padding:16px;border-radius:10px}.content .dashboard-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px}.content .performance-grid{grid-template-columns:minmax(0,1fr)}.dashboard-hero{padding:18px 20px;margin:0 0 16px;border-radius:12px;background:white;box-shadow:none;gap:12px}.dashboard-hero .hero-side{min-width:0}.dashboard-hero h2{font-size:28px}.dashboard-hero p{max-width:75ch}.dashboard-quick-illustrations.ux-dash-quick{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:12px;margin:0 0 20px}.content .ux-dash-quick a{display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;gap:2px 10px;align-items:center;padding:13px;text-align:left;min-width:0}.ux-dash-quick a span{grid-row:1/3;align-self:center;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#eaf0ff;margin:0}.ux-dash-quick a strong,.ux-dash-quick a small{grid-column:2;min-width:0;line-height:1.4}.cash-flow-chart{gap:2px;padding:12px 4px 0;min-width:0;max-width:100%}.flow-day{min-width:0;flex:1 1 0;gap:1px}.flow-day i{width:45%;min-width:0}.chart-legend,.pl-list li,.expense-bar>div{flex-wrap:wrap;gap:6px}.donut-wrap{max-width:100%;min-width:0}.donut{max-width:100%;aspect-ratio:1;height:auto}.donut>div{overflow-wrap:anywhere;font-size:clamp(12px,1.4vw,17px)}
.content label{font-size:14px;font-weight:600;line-height:1.4;min-width:0;max-width:100%}.content :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=hidden]){min-width:0!important;max-width:100%;font-size:15px;min-height:42px;border-radius:8px;padding:10px 11px;line-height:1.4;border:1px solid #cbd6e7}.content select{width:100%;text-overflow:ellipsis}.content textarea{resize:vertical;min-height:90px}.content input[type=checkbox],.content input[type=radio]{accent-color:#215dcc;flex:none}.content .filter-form,.content .ux-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:14px;margin:0 0 16px;background:#f7f9fd;border:1px solid #e4eaf4;border-radius:10px}.content .filter-form label,.content .ux-filter label{flex:1 1 165px;min-width:0;max-width:100%}.content .filter-form>* ,.content .ux-filter>*{min-width:0;max-width:100%}.content .filter-form select.searchable-select+.searchable-select-ui,.content .searchable-table-wrap .searchable-select-ui{min-width:0;max-width:100%}.content .searchable-select-ui{min-width:0;max-width:100%}.content .searchable-select-list,.content .line-table .searchable-select-list{position:static;min-width:0;max-width:100%;width:100%;max-height:200px;margin-top:4px;box-shadow:none;border-radius:8px;overflow-y:auto;overflow-x:visible}.content button.searchable-select-option{background:white!important;color:#18243d!important;white-space:normal;overflow-wrap:anywhere;text-align:left;min-height:36px;font-weight:500}.content button.searchable-select-option:hover,.content button.searchable-select-option.selected{background:#e9efff!important;color:#2548a6!important}.content .native-select-hidden{min-width:0!important;min-height:0!important;width:1px!important;height:1px!important;padding:0!important;border:0!important}.content .service-choice-panel{min-width:0}.content img,.content video,.content canvas{max-width:100%;height:auto}.content pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}
/* Native tables on roomy screens; the same DOM becomes labelled record grids when narrow. No omitted columns or cloned inputs. */
.content .table-wrap,.content .searchable-table-wrap,.content .card .table-wrap,.content .dedicated-pos .table-wrap{overflow:visible;min-width:0;max-width:100%;width:100%;border:0;border-radius:0}.content table,.content .dedicated-pos .line-table{width:100%;max-width:100%;min-width:0!important;table-layout:fixed;border-collapse:collapse;border-spacing:0;font-size:13px;background:white}.content table :is(td,th){min-width:0!important;max-width:100%;padding:10px 9px;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;vertical-align:middle;line-height:1.45;border-bottom:1px solid #e3e9f2}.content table th{background:#eef2fa;color:#304363;font-size:12px;font-weight:650;text-transform:none;letter-spacing:0}.content table tbody tr:nth-child(even){background:#fafbfe}.content table tbody tr:hover{background:#f4f7ff}.content table td .badge{white-space:normal!important;max-width:100%;overflow-wrap:anywhere}.content table td :is(form,label,input,select,textarea,.searchable-select-ui,.actions){min-width:0!important;max-width:100%}.content table td .btn,.content table td button{font-size:12px;min-height:34px;padding:6px 8px}.content .line-table td{position:static}.content .line-table .price,.content .line-table select[name="price_tier[]"],.content .line-table .searchable-select-input,.content .service-item-qty{min-width:0!important}.content table td .ux-row-menu{position:static;min-width:0}.content .ux-row-menu summary{white-space:normal;overflow-wrap:anywhere}.content .ux-row-menu[open] .ux-actions{display:flex;flex-wrap:wrap}
.content table.bbs-record-grid{display:block;table-layout:auto;background:transparent}.content table.bbs-record-grid>thead,.content table.bbs-record-grid .bbs-header-row{position:absolute!important;clip-path:inset(50%);width:1px!important;height:1px!important;overflow:hidden!important;white-space:nowrap!important;padding:0!important;border:0!important}.content table.bbs-record-grid>:is(tbody,tfoot){display:block;width:100%}.content table.bbs-record-grid tr:not(.bbs-header-row){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:0 14px;align-items:start;border:1px solid #dce4ef;border-radius:10px;padding:9px 13px;margin:0 0 10px;background:white;min-width:0}.content table.bbs-record-grid tr[hidden]{display:none!important}.content table.bbs-record-grid tr:not(.bbs-header-row)>:is(td,th){display:block;min-width:0;max-width:100%;width:auto!important;height:auto!important;padding:9px 0;border:0;background:none;font-size:14px;text-align:left;overflow-wrap:anywhere}.content table.bbs-record-grid tr>:is(td,th)[data-bbs-label]::before{content:attr(data-bbs-label);display:block;color:#52617b;font-size:11px;font-weight:650;line-height:1.4;margin-bottom:4px}.content table.bbs-record-grid tr>:is(td,th)[colspan]:not([colspan="1"]){grid-column:1/-1}.content table.bbs-record-grid.bbs-entry-grid tr:not(.bbs-header-row){grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:0 16px;border-left:3px solid #8a7be4}.content table.bbs-record-grid.bbs-entry-grid tr>td{padding:7px 0}.content table.bbs-record-grid.bbs-entry-grid tr>td :is(input,select){margin-top:3px}.content table.bbs-record-grid.bbs-entry-grid.bbs-roomy tr>td.bbs-wide-cell{grid-column:span 2}.content table.bbs-record-grid tr>td.bbs-action-cell{grid-column:1/-1;padding-top:8px;border-top:1px solid #edf0f6}.content table.bbs-record-grid tr>td.bbs-action-cell .actions{margin:0}.content table.bbs-record-grid tr>td.bbs-action-cell:empty{display:none}.content table.bbs-record-grid tr>td.line-total{font-weight:700;color:#215dcc}.content table.bbs-record-grid tr>td.bbs-record-title{font-weight:650;color:#1b3158}.content table.bbs-record-grid tr>td.bbs-record-title::before{font-weight:500}
/* Dedicated POS remains a separate workspace, with basket and payment fields never horizontally clipped. */
body.pos-workspace .content{max-width:1700px;width:100%;padding:20px clamp(12px,2vw,28px);margin:0 auto}body.pos-workspace .topbar{max-width:none;margin:0 0 16px;background:#fff;color:#18243d}body.pos-workspace .topbar h1,body.pos-workspace .topbar p{color:#18243d}body.pos-workspace .pos-workspace-heading{background:#183d87;border-radius:12px;padding:16px 18px;flex-wrap:wrap}body.pos-workspace .pos-workspace-heading h2{font-size:25px;color:#fff}body.pos-workspace .pos-layout{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px;align-items:start}body.pos-workspace .pos-catalog-panel,body.pos-workspace .pos-checkout-panel{min-width:0;padding:16px;max-width:100%;border-radius:12px}body.pos-workspace .pos-catalog-controls{flex-wrap:wrap;gap:8px}body.pos-workspace .pos-catalog-controls input{flex:1 1 180px}body.pos-workspace .pos-catalog-controls select{flex:1 1 125px}body.pos-workspace .pos-catalog-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:10px;overflow-y:auto;overflow-x:visible;max-height:600px}body.pos-workspace .pos-product-tile{min-width:0;min-height:112px;max-width:100%;overflow-wrap:anywhere;padding:12px}body.pos-workspace .pos-basket-preview{max-height:340px;overflow-y:auto;overflow-x:visible;min-width:0;min-height:70px}body.pos-workspace .pos-basket-line{grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;overflow-wrap:anywhere}body.pos-workspace .pos-basket-controls{flex-wrap:wrap}body.pos-workspace .pos-basket-controls button{min-width:40px;min-height:40px}body.pos-workspace .pos-live-total{background:#215dcc;gap:10px;flex-wrap:wrap}body.pos-workspace .pos-live-total strong{overflow-wrap:anywhere}body.pos-workspace .pos-payment-area{padding:12px;background:#f6f8fd;border-color:#dce4ef}body.pos-workspace .pos-payment-area .grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}body.pos-workspace .pos-finalize{background:#6432bf!important;min-height:48px}body.pos-workspace #posLineDetails{overflow:visible}body.pos-workspace .pos-checkout-panel{position:static}body.pos-workspace .pos-panel-title{flex-wrap:wrap}body.pos-workspace .pos-panel-title>*{min-width:0}
.login-page{background:#eef2fb}.login-shell{padding:20px;min-height:100dvh}.login-card{max-width:440px;width:100%;padding:32px;border:1px solid #dce4f2;box-shadow:0 14px 50px #1d3d7c12;border-radius:16px}.login-logo{background:#215dcc;border-radius:12px}.login-card h1{font-size:25px;line-height:1.3}.login-card label{margin:0 0 12px}.login-card input,.login-card select{min-height:44px;font-size:16px}.login-card .actions button{background:#215dcc;width:100%;min-height:46px}
@container (max-width:900px){.content .grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.content .dashboard-grid{grid-template-columns:minmax(0,1fr)}}
@container (max-width:680px){.content .grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.content .grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (max-width:430px){.content .grid.two,.content .grid.three,.content .grid.four{grid-template-columns:minmax(0,1fr)}.content .summary,.content .balance-grid,.content .ux-summary{grid-template-columns:minmax(0,1fr)}.content .filter-form label,.content .ux-filter label{flex-basis:100%}.content .filter-form .btn,.content .ux-filter .btn{flex:1 1 auto}.content .card{padding:14px}.content table.bbs-record-grid tr:not(.bbs-header-row){grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr));padding:8px 12px;gap:0 12px}.content table.bbs-record-grid.bbs-entry-grid tr:not(.bbs-header-row){grid-template-columns:minmax(0,1fr)}.content table.bbs-record-grid.bbs-entry-grid tr>td.bbs-wide-cell{grid-column:auto}.content .pos-payment-area .grid.four{grid-template-columns:minmax(0,1fr)}}
@media(min-width:901px){.workspace-nav-toggle{display:inline-flex;align-items:center;justify-content:center}.mobile-menu-toggle{display:none!important}}
@media(max-width:900px){.workspace-nav-toggle{display:none!important}.workspace-expanded .sidebar{display:block}.sidebar{width:min(285px,85vw);min-width:0;height:100dvh}.content{padding:14px}.topbar{gap:10px;align-items:center;margin-bottom:18px;padding:12px}.topbar>div:first-of-type{flex:1 1 150px}.topbar-actions{flex:1 1 100%;justify-content:flex-start}.mobile-menu-toggle{flex:none;background:#eaf0ff!important;color:#215dcc!important}.content .ux-page-heading .btn{width:auto}body.pos-workspace .pos-layout{grid-template-columns:minmax(0,1fr)}body.pos-workspace .pos-catalog-grid{max-height:440px}.dashboard-hero h2{font-size:24px}}
@media(max-width:480px){.content{padding:10px}.topbar-actions .btn{flex:1 1 auto;text-align:center}.content .ux-dash-quick{grid-template-columns:repeat(2,minmax(0,1fr))}.content .ux-dash-quick a{grid-template-columns:minmax(0,1fr);padding:11px}.content .ux-dash-quick a span,.content .ux-dash-quick a strong,.content .ux-dash-quick a small{grid-column:1;grid-row:auto}body.pos-workspace .pos-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.pos-workspace .pos-catalog-panel,body.pos-workspace .pos-checkout-panel{padding:12px}.login-card{padding:22px}.content .section-title h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
}

@media screen{
@container (min-width:350px) and (max-width:430px){.content .ux-summary,.content .summary,.content .balance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.content .ux-summary>div,.content .summary .tile,.content .balance-card{padding:12px}.content .ux-summary strong,.content .summary .num,.content .balance-card strong{font-size:17px}.content .ux-summary small{font-size:12px}.content .ux-page-heading{margin-bottom:14px}}
}

@media screen{
.content .workspace-disclosure{border:1px solid var(--line);border-radius:10px;padding:12px 15px;margin:14px 0;background:#f9faff;min-width:0;max-width:100%;overflow:visible}.content .workspace-disclosure>summary{cursor:pointer;font-size:14px;font-weight:650;color:#4e369d;line-height:1.5;overflow-wrap:anywhere}.content .workspace-disclosure[open]>summary{margin-bottom:14px}.content .workspace-disclosure .card{box-shadow:none;margin:0}.content .workspace-disclosure .grid{margin-bottom:8px}.content .workspace-disclosure:focus-within{border-color:#9aaee1}.content .pos-basket-controls{grid-column:1/-1}.content .pos-basket-controls .btn{flex:0 1 auto}.content .workspace-disclosure input[hidden],.content .workspace-disclosure select[hidden]{display:none!important}
}

/* 5.8.6 business design system: calm canvas, saturated blue/purple accents, readable financial data. */
@media screen{
:root{--bg:#f4f7fc;--ink:#192743;--muted:#536581;--primary:#1555bf;--primary-dark:#124396;--line:#d6e0ef;--ux-text:#192743;--ux-muted:#536581;--ux-teal:#1555bf;--ux-line:#d6e0ef;--ux-bg:#f4f7fc;--ux-navy:#17366d}
body{font-family:'Segoe UI',system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;letter-spacing:0;font-weight:400;line-height:1.55}
.sidebar{background:linear-gradient(165deg,#13356f 0%,#164996 62%,#44318b 100%)}
.sidebar .nav-link{font-size:13.5px;line-height:1.45}.sidebar .nav-link.is-active{background:#2867cd;border-left-color:#c7b5ff}.sidebar .nav-group-toggle{color:#e1eaff}
.content h2{font-weight:750;letter-spacing:-.018em}.content h3{font-weight:650;letter-spacing:-.01em}
.content .btn:not(.secondary):not(.danger):not(.success),.content button:not(.secondary):not(.danger):not(.success){background:#1555bf}
.content .btn.secondary{color:#204b99;background:#f0f5ff;border-color:#d2def2}.content .btn.danger{background:#b42339}.content .btn.success{background:#15734b}
.content .card{border-color:#d6e0ef;box-shadow:0 2px 8px #18396808}.content table th{background:#eaf0fc;color:#203b70;font-weight:650}.content table tbody tr:nth-child(even){background:#f9fbff}.content table td{font-variant-numeric:tabular-nums}
.content input:focus,.content select:focus,.content textarea:focus{outline:2px solid #8056d8;outline-offset:1px}.content .ux-summary>div{border-top:3px solid #3674d6}.content .ux-summary>div:nth-child(2){border-top-color:#7952c7}.content .ux-summary>div:nth-child(3){border-top-color:#c77a13}.content .ux-summary>div:nth-child(4){border-top-color:#21885b}
.content .dashboard-hero{background:linear-gradient(110deg,#eaf2ff,#f2ecff);border:1px solid #d5dff5;color:#192743;padding:20px 24px;gap:16px;border-radius:14px}.content .dashboard-hero h2,.content .dashboard-hero p{color:#192743}.content .dashboard-hero p{max-width:65ch}.content .dashboard-hero .fy-pill{background:#e5dcfa;color:#4b279b}.business-hero-art{width:180px;max-width:100%;height:auto;display:block}.login-business-art{width:126px;height:auto;margin:0 auto 8px;display:block}
.login-page{background:linear-gradient(145deg,#e7f0ff,#f1ebfc)}.login-card .actions button{background:#1555bf}.login-card h1{color:#192743}
.network-status-banner,.network-status-banner.offline,.network-status-banner.online{position:static;inset:auto;transform:none;z-index:auto;max-width:100%;width:auto;box-shadow:none;border-radius:8px;margin:0 0 14px;padding:8px 12px;font-size:12px;font-weight:550;text-align:left;line-height:1.45;overflow-wrap:anywhere;pointer-events:none}
.network-status-banner.online{background:#eef8f2;color:#16623c;border:1px solid #cee8d8}.network-status-banner.offline{background:#fff5e5;color:#854c08;border:1px solid #f0d8af}
.pwa-install-btn{position:static;inset:auto;transform:none;z-index:auto;box-shadow:none;border-radius:8px;font-size:13px;padding:8px 12px;max-width:100%}
@media(max-width:600px){.content .dashboard-hero{padding:16px}.business-hero-art{width:100px}.login-business-art{width:96px}}
}
@media print{.network-status-banner,.pwa-install-btn,.business-hero-art,.login-business-art{display:none!important}}

@media screen{.content .ux-dash-quick a span svg{width:24px;height:24px;display:block;flex:none}.content .ux-dash-quick a span{color:#2058be;background:#e8f0ff}.content .ux-dash-quick a:nth-child(2) span,.content .ux-dash-quick a:nth-child(5) span{color:#6331b7;background:#eee8fb}.content .ux-dash-quick a:nth-child(4) span{color:#187647;background:#e6f4eb}}

/* 5.8.7 presentation edition — restrained navy, indigo and violet, based on the supplied BBS identity. */
@media screen {
:root{--bg:#f6f7fb;--ink:#18213a;--muted:#626d83;--primary:#3949bb;--primary-dark:#29348d;--line:#e2e5ef;--ux-text:#18213a;--ux-muted:#626d83;--ux-teal:#3949bb;--ux-line:#e2e5ef;--ux-bg:#f6f7fb;--ux-navy:#1b2154}
body{font-family:'Segoe UI',system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;font-size:14px;line-height:1.55;color:var(--ink);background:#f6f7fb}
.sidebar{background:linear-gradient(165deg,#37318b 0%,#25265f 54%,#151d46 100%);border-right:1px solid #29265c}.sidebar-heading{gap:9px;padding:10px 6px 20px}.sidebar .brand-modern{width:64px;min-width:64px;height:42px;background:transparent;box-shadow:none;padding:0;display:flex;align-items:center;justify-content:center}.sidebar .brand-modern img{width:64px;height:auto;max-height:39px;object-fit:contain}.sidebar-heading>div{min-width:0}.sidebar-heading>div strong{font-size:14px;letter-spacing:.025em}.sidebar-heading>div small{font-size:9px;letter-spacing:.08em}.sidebar .nav-link.is-active{background:#414cbb;border-left-color:#aaa9ff}.sidebar .nav-link:hover{background:#ffffff12}.sidebar .nav-search-wrap input{background:#ffffff12;color:white;border-color:#ffffff30}.sidebar .nav-group-toggle{color:#d6dbf7}.sidebar-foot{color:#c5c9df}.content .card,.content .tile,.content .balance-card,.content .ux-summary>div{border:1px solid #e4e7ef;border-radius:12px;background:#fff;box-shadow:0 2px 7px #20285005}.content .card{padding:clamp(14px,1.6vw,22px)}.content .topbar{background:white;border:1px solid #e6e8f0;border-radius:12px;box-shadow:none}.content h2{font-weight:700;letter-spacing:-.025em;color:#171e37}.content h3{font-weight:650;letter-spacing:-.012em;color:#232b44}.content .btn:not(.secondary):not(.danger):not(.success),.content button:not(.secondary):not(.danger):not(.success){background:#3949bb}.content .btn.secondary{background:#f5f6fc;border-color:#dde1ee;color:#39438f}.content .btn.danger{background:#b42339}.content .btn.success{background:#147c51}.content table th{background:#f0f2f9;color:#343c63;font-size:12px;font-weight:650}.content table td{font-size:13px;line-height:1.5}.content table tbody tr:nth-child(even){background:#fafbfe}.content .dashboard-hero{background:#fff;border-color:#e4e7ef;box-shadow:none;padding:20px 22px}.content .dashboard-hero h2{color:#17203a;font-size:clamp(23px,2vw,30px)}.content .dashboard-hero p{color:#626d83}.content .dashboard-hero .fy-pill{background:#f0ecfc;color:#51349d}.content .ux-dash-quick a{border:1px solid #e4e7ef;box-shadow:none}.content .ux-dash-quick a span{background:#e8edfc;color:#3949bb}.content .dashboard-summary .tile,.content .balance-grid .balance-card{color:#18213a}.content .balance-grid .balance-card small{color:#626d83}.content .dashboard-summary .tile{min-height:108px}.content .dashboard-summary .tile .num{font-weight:700;letter-spacing:-.025em}.content .dashboard-summary .tile:nth-child(4){border-top:3px solid #7944d1}.content .dashboard-summary .tile:nth-child(1){border-top:3px solid #3983da}.content .dashboard-summary .tile:nth-child(2){border-top:3px solid #e69a39}.content .dashboard-summary .tile:nth-child(3){border-top:3px solid #db7a43}.content .dashboard-summary .tile:nth-child(5){border-top:3px solid #21996a}.content .expense-bar p i{background:linear-gradient(90deg,#4531ae,#a575e9)}.bbs-login-brand{display:block;max-width:170px;height:auto;margin:0 auto 18px}.login-page{background:radial-gradient(ellipse at 10% 10%,#e9e8fa,transparent 60%),#f6f7fb}.login-card{border-color:#e1e4ee;box-shadow:0 16px 70px #20255012;padding:36px}.login-card .actions button{background:#3949bb}.login-card h1{font-size:23px;letter-spacing:-.025em}.content .field-photo-panel{border:1px solid #dce0ee;border-radius:12px;padding:clamp(12px,2vw,20px);margin:18px 0;background:#fafbff}.field-photo-panel h3{margin:0 0 6px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}.field-photo-optional{font-size:11px;font-weight:500;border-radius:20px;background:#eeedf8;padding:3px 9px;color:#5b4788}.field-photo-picker{display:grid!important;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:center;background:#fff;border:1px dashed #a8afe0;border-radius:10px;padding:16px;cursor:pointer;color:#3949bb}.field-photo-picker svg{width:32px;height:32px}.field-photo-picker small{display:block;color:#626d83;font-weight:400}.field-photo-picker input{grid-column:1/-1;width:100%;min-width:0;max-width:100%;font-size:13px}.field-photo-status{min-height:1.4em;color:#626d83;font-size:13px;margin:10px 0}.field-photo-preview,.field-photo-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:12px;align-items:start;max-width:100%}.field-photo-preview figure,.field-photo-gallery figure{margin:0;min-width:0;border:1px solid #e2e5ef;border-radius:9px;padding:8px;background:white;break-inside:avoid}.field-photo-preview img,.field-photo-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;border-radius:5px;background:#f2f4f9}.field-photo-preview figcaption,.field-photo-gallery figcaption{padding:6px 2px;overflow-wrap:anywhere;font-size:12px;color:#414961}.field-photo-gallery small{display:block;color:#626d83}.field-photo-preview button{align-self:start}.bbs-dash-figure{margin:0;width:100%;min-width:0}.bbs-dash-figure svg{width:100%;height:auto;display:block}.bbs-dash-figure figcaption{font-size:12px;color:#626d83;margin-top:8px}.bbs-dash-kpi-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e9efff;color:#3949bb;flex:none}.bbs-dash-kpi-icon svg{width:20px;height:20px}.bbs-dash-kpi{display:flex;gap:11px;align-items:flex-start;min-width:0}.bbs-dash-kpi>div{min-width:0}.bbs-dash-kpi .num{font-variant-numeric:tabular-nums}.bbs-dash-kpi .trend{font-weight:400}.content .bbs-dash-secondary{margin:16px 0}.content .bbs-dash-secondary>summary{cursor:pointer;color:#39438f;font-weight:650}.content .bbs-dash-secondary[open]>summary{margin-bottom:16px}.bbs-dash-amount-list{list-style:none;padding:0;margin:14px 0;display:grid;gap:8px}.bbs-dash-amount-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;border-bottom:1px solid #eef0f5;padding:8px 0}.bbs-dash-amount-list li strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.bbs-dash-heading{display:flex;align-items:center;gap:10px}.bbs-dash-heading img{width:72px;height:auto}.bbs-dash-caption{font-size:12px;color:#626d83;line-height:1.5}.content .dashboard-grid .card{margin-bottom:0}.content .dashboard-grid{margin-bottom:16px;align-items:stretch}.content .dashboard-hero .hero-side{display:flex;align-items:center;justify-content:flex-end}.content .dashboard-hero .hero-side img{max-width:100px}
@container(max-width:600px){.bbs-dash-heading img{width:52px}.content .bbs-dash-kpi{display:block}.bbs-dash-kpi-icon{margin-bottom:8px}.content .dashboard-hero .hero-side img{display:none}.field-photo-picker{grid-template-columns:28px minmax(0,1fr);padding:10px}.field-photo-gallery{grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr))}}
}
@media print{.field-photo-panel,.field-photo-preview,.field-photo-optional{display:none!important}.field-photo-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.field-photo-gallery figure{margin:0;break-inside:avoid;page-break-inside:avoid}.field-photo-gallery img{width:100%;max-height:240px;object-fit:contain}.field-photo-gallery figcaption{font-size:10pt;overflow-wrap:anywhere}.field-photo-gallery small{display:block}.field-photo-gallery a.no-print{display:none!important}}
@media screen{
.content .bbs-primary-kpis .tile{background:#fff!important;border:1px solid #e4e7ef!important;min-height:105px}.bbs-primary-kpis .tile:nth-child(1) .bbs-dash-kpi-icon{background:#dbf3e7;color:#147c51}.bbs-primary-kpis .tile:nth-child(2) .bbs-dash-kpi-icon{background:#e0e9fc;color:#315cbb}.bbs-primary-kpis .tile:nth-child(3) .bbs-dash-kpi-icon{background:#ffedda;color:#b66b19}.bbs-primary-kpis .tile:nth-child(4) .bbs-dash-kpi-icon{background:#efe5fb;color:#713abb}.content .dashboard-hero{padding:14px 18px}.content .dashboard-hero p{max-width:85ch}.content .bbs-dash-figure{margin:12px 0 0}.content .chart-card .chart-legend .dot.in{background:#19965e!important}.content .chart-card .chart-legend .dot.out{background:#d94d63!important}.bbs-profit-layout{display:grid;grid-template-columns:minmax(112px, .65fr) minmax(0,1.35fr);gap:14px;align-items:center;min-width:0}.bbs-profit-layout .donut{width:min(100%,145px);height:auto;aspect-ratio:1}.bbs-profit-layout .donut>div{width:74%;height:74%;padding:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;line-height:1.25;font-size:13px;box-shadow:none}.bbs-profit-layout .donut small{font-size:9px;margin-top:3px}.bbs-profit-layout .bbs-dash-amount-list{font-size:12px}.bbs-profit-layout .bbs-dash-amount-list li{gap:3px;line-height:1.4;padding:6px 0}.content .bbs-dash-secondary .dashboard-grid .card{border:0;padding:10px 0;box-shadow:none}.content .bbs-dash-secondary .summary{margin:8px 0}.content .bbs-dash-secondary .card-head{flex-wrap:wrap}
@container(max-width:740px){.bbs-profit-layout{grid-template-columns:minmax(0,1fr)}.bbs-profit-layout .donut{width:122px}.bbs-primary-kpis .tile{min-height:0}}
}

/* BBS mobile and cross-browser compatibility — final screen overrides.
   Retain original markup, transaction inputs, JS hooks, and print profiles. */
@media screen {
  html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
  body { min-width:0; max-width:100%; font-family:"Segoe UI",Arial,Helvetica,sans-serif; }
  *, *::before, *::after { box-sizing:border-box; }
  [hidden] { display:none !important; }
  .app-shell, .content, .content > *, .card, .grid > *, .summary > *, .balance-grid > * { min-width:0; max-width:100%; }
  .app-shell { align-items:flex-start; }
  .content { flex:1 1 0%; overflow:visible; }
  .content .card { overflow:visible; word-wrap:break-word; overflow-wrap:break-word; }
  .topbar, .topbar-actions, .card-head, .section-title, .dashboard-hero, .company-header, .actions, .actions.compact, .receipt-title-row, .work-report-tabs { flex-wrap:wrap; min-width:0; }
  .topbar > *, .topbar-actions > *, .actions > *, .card-head > *, .section-title > *, .company-header > * { min-width:0; max-width:100%; }
  .topbar h1,.topbar p,.sidebar a,.sidebar .nav-link,.content td,.content th,.content label { word-wrap:break-word; overflow-wrap:break-word; overflow-wrap:anywhere; }
  .sidebar { flex-shrink:0; height:100vh; height:100dvh; overflow-y:auto; overflow-x:hidden; -webkit-overflow-scrolling:touch; overscroll-behavior-y:contain; }
  .sidebar .nav-link, .sidebar .nav-group-toggle { min-height:40px; line-height:1.45; }
  .sidebar-heading > div { min-width:0; }
  .sidebar-heading strong,.sidebar-heading small { white-space:normal; overflow-wrap:break-word; }
  .sidebar .nav-search-wrap input { min-width:0; width:100%; }
  .sidebar .nav-link span:not(.nav-count) { min-width:0; }
  .sidebar .nav-link .nav-count { float:none; flex-shrink:0; }
  .content input,.content select,.content textarea,.login-card input,.login-card select { max-width:100%; min-width:0; }
  input[type="checkbox"],input[type="radio"] { width:auto; margin:0 5px 0 0; vertical-align:middle; }
  .content input[type="checkbox"],.content input[type="radio"] { min-height:0; }
  .content textarea { resize:vertical; }
  .content input[type="file"] { width:100%; white-space:normal; }
  .content .filter-form label,.content .ux-filter label,.filter-form input[type="search"],.filter-form select.searchable-select + .searchable-select-ui { min-width:0; max-width:100%; }
  .content .filter-form,.content .ux-filter { align-items:flex-end; }
  .content img,.content video,.content canvas,.company-logo,.login-logo-img { max-width:100%; height:auto; }
  .content pre { white-space:pre-wrap; overflow-wrap:break-word; }
  .content .table-wrap,.content .searchable-table-wrap,.content .card .table-wrap,.content .dedicated-pos .table-wrap { width:100%; max-width:100%; min-width:0; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .content table,.content .dedicated-pos .line-table { width:100%; max-width:100%; min-width:0 !important; table-layout:fixed; }
  .content table th,.content table td { min-width:0 !important; white-space:normal !important; word-wrap:break-word; overflow-wrap:break-word; overflow-wrap:anywhere; }
  .content table td .badge { max-width:100%; white-space:normal !important; }
  .content table td input,.content table td select,.content table td textarea,.content .line-table .price,.content .line-table .searchable-select-input,.content .line-table select[name="price_tier[]"],.content .service-item-qty,.content .service-choice-panel { min-width:0 !important; max-width:100%; }
  .content .searchable-select-ui,.content .searchable-table-wrap .searchable-select-ui { min-width:0; max-width:100%; }
  .content .searchable-select-list,.content .line-table .searchable-select-list { position:static; width:100%; min-width:0; max-width:100%; max-height:240px; margin-top:4px; overflow-y:auto; overflow-x:hidden; box-shadow:none; }
  .content .searchable-select-option { white-space:normal; overflow-wrap:break-word; }
  .content .native-select-hidden { min-width:0 !important; min-height:0 !important; width:1px !important; height:1px !important; padding:0 !important; }
  /* Never cover transaction actions with floating notices. */
  .network-status-banner,.network-status-banner.offline,.network-status-banner.online { position:static; left:auto; right:auto; top:auto; bottom:auto; transform:none; z-index:auto; width:auto; max-width:100%; margin:10px 0; border-radius:8px; box-shadow:none; overflow-wrap:break-word; pointer-events:none; }
  .pwa-install-btn { position:static; left:auto; right:auto; top:auto; bottom:auto; transform:none; z-index:auto; max-width:100%; margin:8px 12px; white-space:normal; }
  .dedicated-pos .sale-total-card { position:static; bottom:auto; }
  .login-card { width:100%; max-width:480px; }
  .login-page,.login-shell { min-height:100vh; min-height:100dvh; }
  .hero-side { min-width:0; max-width:100%; }
  .fy-pill { white-space:normal; max-width:100%; }
  /* :focus is a fallback on browsers without :focus-visible. */
  a:focus, button:focus, input:focus, select:focus, textarea:focus, summary:focus { outline:2px solid #5068db; outline-offset:2px; }
  .sidebar a:focus,.sidebar button:focus { outline:2px solid #d4c8ff; outline-offset:-2px; }
  @supports selector(:focus-visible) {
    a:focus:not(:focus-visible),button:focus:not(:focus-visible),summary:focus:not(:focus-visible) { outline:none; }
  }
  /* Replace a nested min() grid formula with a widely supported fallback. */
  .content .summary,.content .balance-grid,.content .ux-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  @media (min-width:1200px) { .content .summary,.content .balance-grid,.content .ux-summary { grid-template-columns:repeat(4,minmax(0,1fr)); } }
}
@media screen and (max-width:900px) {
  .app-shell { display:block; }
  .content, body.pos-workspace .content { width:100%; max-width:100%; padding:12px; }
  .content { padding-left:calc(12px + env(safe-area-inset-left,0px)); padding-right:calc(12px + env(safe-area-inset-right,0px)); }
  .sidebar,body.workspace-expanded .sidebar { display:block; position:fixed; top:0; bottom:0; left:0; right:auto; width:85%; max-width:320px; min-width:0; height:100vh; height:100dvh; padding:16px 12px 24px; padding-top:calc(16px + env(safe-area-inset-top,0px)); padding-bottom:calc(24px + env(safe-area-inset-bottom,0px)); z-index:10000; transform:translateX(-105%); visibility:hidden; pointer-events:none; transition:transform .2s ease,visibility .2s; box-shadow:12px 0 36px rgba(17,24,55,.22); }
  .sidebar.sidebar-open,body.sidebar-open .sidebar { transform:translateX(0); visibility:visible; pointer-events:auto; }
  /* The original legacy controller uses body.sidebar-open and a separate fixed menu. */
  body.sidebar-open .sidebar:not(.sidebar-open) { padding-top:76px; }
  .sidebar-overlay { position:fixed; top:0; right:0; bottom:0; left:0; z-index:9999; }
  .mobile-menu-toggle,.sidebar-close { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; min-width:44px; min-height:44px; padding:8px 12px; }
  .sidebar-close { margin-left:auto; color:white; background:transparent; font-size:26px; }
  .mobile-sidebar-toggle { min-height:44px; top:12px; top:calc(12px + env(safe-area-inset-top,0px)); }
  .workspace-nav-toggle { display:none !important; }
  .sidebar .nav-link,.sidebar .nav-group-toggle,.sidebar a:not(.brand) { min-height:44px; padding-top:11px; padding-bottom:11px; }
  .sidebar .nav-search-wrap input { font-size:16px; min-height:44px; }
  .topbar { padding:12px; gap:10px; align-items:center; }
  .topbar > div:first-of-type { flex:1 1 140px; }
  .topbar-actions { flex:1 1 100%; width:100%; justify-content:flex-start; gap:8px; }
  .topbar-actions .btn { width:auto; flex:1 1 auto; text-align:center; }
  .content .btn,.content button,.content .actions.compact .btn,.content .actions.compact button,.content table td .btn,.content table td button { min-height:44px; white-space:normal; line-height:1.35; }
  .content input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.content select,.content textarea,.login-card input,.login-card select { font-size:16px !important; min-height:44px; }
  .content .native-select-hidden { min-height:0 !important; }
  .content .filter-form,.content .ux-filter { gap:10px; padding:12px; }
  .content .filter-form label,.content .ux-filter label { flex:1 1 180px; }
  .content .card { padding:14px; }
  .content .dashboard-grid,.content .performance-grid { grid-template-columns:minmax(0,1fr); }
  .content .grid.four,.content .grid.three { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .content table th,.content table td { padding:8px 6px; }
  .dedicated-pos .sale-total-card,body.pos-workspace .pos-checkout-panel { position:static; }
  body.pos-workspace .pos-layout { grid-template-columns:minmax(0,1fr); }
  body.pos-workspace .sidebar,body.pos-workspace .mobile-menu-toggle,body.pos-workspace .mobile-sidebar-toggle { display:none !important; }
  .pos-catalog-controls,.pos-panel-title,.pos-workspace-heading,.pos-basket-controls { flex-wrap:wrap; }
  .pos-catalog-controls input,.pos-catalog-controls select { min-width:0; max-width:100%; }
  .login-shell { padding:16px; }
  .login-card { padding:22px; }
}
@media screen and (max-width:600px) {
  .content .grid.two,.content .grid.three,.content .grid.four,.content .module-grid,.content .permission-grid,.content .dashboard-quick-illustrations,.content .dashboard-quick-illustrations.ux-dash-quick { grid-template-columns:minmax(0,1fr) !important; }
  .content .summary,.content .balance-grid,.content .ux-summary { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .content .summary .tile,.content .balance-card { padding:10px; }
  .content .summary .num,.content .balance-card strong,.content .ux-summary strong { font-size:18px; word-wrap:break-word; }
  .content .filter-form label,.content .ux-filter label { flex-basis:100%; }
  .content .filter-form > .btn,.content .filter-form > button { flex:1 1 auto; }
  .content .actions.compact { flex-wrap:wrap; }
  .topbar h1 { font-size:17px; }
  .content .card { padding:12px; }
  body.pos-workspace .pos-catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  body.pos-workspace .pos-catalog-panel,body.pos-workspace .pos-checkout-panel { padding:12px; min-width:0; }
  .pos-catalog-controls input,.pos-catalog-controls select { flex:1 1 100%; width:100%; }
}
@media screen and (max-width:360px) {
  .content .summary,.content .balance-grid,.content .ux-summary { grid-template-columns:minmax(0,1fr); }
  .content .topbar-actions .btn { padding:8px; }
  body.pos-workspace .pos-catalog-grid { grid-template-columns:minmax(0,1fr); }
}
@media screen and (min-width:901px) {
  .sidebar { position:sticky; top:0; visibility:visible; pointer-events:auto; transform:none; }
  .mobile-menu-toggle,.mobile-sidebar-toggle,.sidebar-close,.sidebar-overlay { display:none !important; }
  body.sidebar-open { overflow:auto; }
}
@media screen and (prefers-reduced-motion:reduce) {
  .sidebar,.sidebar-overlay,.card,.btn,button,.module-card,.balance-card { transition:none !important; animation:none !important; }
}
@media print {
  .sidebar,.sidebar-overlay,.mobile-sidebar-toggle,.mobile-menu-toggle,.workspace-nav-toggle,.pwa-install-btn,.network-status-banner { display:none !important; }
  .content,.content .card,.content .table-wrap { overflow:visible; }
}
/* 5.8.8 presentation depth: understated raised surfaces, no layout movement. */
@media screen {
  .content .card,.content .tile,.content .balance-card,.content .ux-summary>div,.login-card{box-shadow:0 1px 2px rgba(25,30,70,.06),0 5px 16px rgba(34,40,91,.065);border-color:#e0e4f1;}
  .content .card:hover,.content .tile:hover,.content .balance-card:hover{transform:none;box-shadow:0 1px 3px rgba(25,30,70,.07),0 6px 18px rgba(34,40,91,.08);}
  .content .btn:not(.secondary):not(.danger):not(.success),.content button:not(.secondary):not(.danger):not(.success):not(.mobile-menu-toggle):not(.workspace-nav-toggle):not(.searchable-select-option){box-shadow:0 2px 4px rgba(57,73,187,.16);}
  .permission-grid label{min-width:0;overflow-wrap:anywhere;display:flex;align-items:center;gap:9px;}
  .permission-grid input[type=checkbox]{width:18px;min-width:18px;min-height:18px;height:18px;margin:0;flex:0 0 auto;}
  .bbs-logo-stage{display:flex;align-items:center;justify-content:center;perspective:850px;min-height:86px;margin-bottom:12px;}
  .bbs-logo-stage img{max-width:100%;height:auto;transform-origin:center;filter:drop-shadow(0 9px 8px rgba(35,26,115,.22));animation:bbsLogoReveal .85s cubic-bezier(.2,.65,.25,1) both;}
  @keyframes bbsLogoReveal{0%{opacity:.15;transform:rotateY(-65deg) rotateX(12deg) scale(.87)}65%{opacity:1;transform:rotateY(8deg) rotateX(-2deg) scale(1.02)}100%{opacity:1;transform:none}}
  @media(prefers-reduced-motion:reduce){.bbs-logo-stage img{animation:none;transform:none;}}
  .ux-empty{color:#5b6580;line-height:1.6;}
  .content .ux-empty:before{content:'';display:block;width:32px;height:32px;margin:6px auto 12px;border:2px solid #9daae0;border-radius:9px;background:linear-gradient(135deg,#eef2ff,#fff);box-shadow:2px 3px 0 #dce2f4;}
}
@media print{.bbs-logo-stage{display:none!important}.content .card,.content .tile{box-shadow:none!important;}}

/* V5.9.0: receipt issuer and location must fit normal and thermal print widths. */
.company-header > div { min-width:0; max-width:100%; overflow-wrap:anywhere; }
.company-header .company-logo { flex:0 0 auto; width:86px; max-width:100%; height:auto; max-height:86px; object-fit:contain; }
.company-header .document-location { font-size:.86em; line-height:1.4; }
@media screen and (max-width:480px) { .company-header {flex-wrap:wrap;gap:10px;} .company-header .company-logo{width:64px;max-height:64px;} }
@media screen { .thermal-receipt .company-header .company-logo {width:56px;max-height:56px;} }
@media print { .thermal-receipt.thermal-58 .company-header .company-logo {width:24px;max-height:24px;} .thermal-receipt.thermal-80 .company-header .company-logo {width:30px;max-height:30px;} .company-header .document-location {overflow-wrap:anywhere;} }

/* 5.9.1 client workspace: preserve warnings and financial definitions. */
.bbs-client-mode .bbs-training-note,.network-status-banner[hidden]{display:none!important}
.bbs-operation-help{margin:8px 0;color:var(--muted);font-size:.9rem}.bbs-operation-help summary{cursor:pointer;font-weight:600}.bbs-operation-help p{margin:8px 0}

/* Client sign-in hierarchy */
.login-card .login-logo-img{display:block;margin:0 auto 14px;max-width:100%;width:auto;max-height:110px;object-fit:contain}.login-card .bbs-logo-stage{margin-bottom:0}.login-card .bbs-login-brand{margin:0 auto}.login-card .login-tagline{margin:12px auto 18px;text-align:center;line-height:1.5;overflow-wrap:anywhere}.login-card .login-sign-in{text-align:center;margin:0 0 24px}.login-card .version-badge{display:table;margin:0 auto 14px}.login-card .stacked-form{text-align:left}.login-card .network-status-banner{margin-bottom:16px}
