/* Sales visual proposal: scoped presentation only, no transaction changes. */
#posView .pos-view-header { align-items:center; gap:16px; margin:0 0 18px; }
#posView .pos-view-header h2 { font:700 28px/1.2 Arial,sans-serif; letter-spacing:-.5px; color:#172b49; margin:0; }
#posView .pos-view-header .eyebrow { display:none; }
#posView .pos-view-subtitle { color:#687a92; font-size:14px; }
#posView .header-actions { display:flex; flex-wrap:wrap; gap:8px; }
#posView .header-actions button { background:#fff; color:#314863; border:1px solid #dce3ed; border-radius:8px; min-height:42px; font-size:13px; box-shadow:none; }
#posView .pos-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(340px,390px); align-items:start; gap:20px; }
#posView .product-area,#posView .cart-panel { min-width:0; border:1px solid #e0e6ef; border-radius:12px; background:#fff; box-shadow:none; padding:18px; }
#posView .product-toolbar { display:flex; flex-direction:column; align-items:stretch; gap:14px; padding:0; background:transparent; }
#posView .pos-section-heading { display:none; }
#posView .pos-search-primary { width:100%; flex:auto; font-size:13px; font-weight:600; letter-spacing:0; text-transform:none; }
#posView .pos-search-primary input { min-height:46px; font-size:15px; border:1px solid #dce3ed; border-radius:8px; background:#f9fbfe; }
#posView .pos-group-tabs { display:flex; flex-wrap:wrap; gap:7px; }
#posView .pos-group-tabs button { flex:1 1 100px; min-width:0; min-height:42px; padding:9px; border:1px solid #dce3ed; border-radius:8px; background:#f7f9fc; color:#3e526f; box-shadow:none; font-size:13px; }
#posView .pos-group-tabs button.active { background:#173153; border-color:#173153; color:#fff; }
#posView .pos-group-tabs small { font-size:11px; opacity:.75; }
#posView .pos-favorites-panel { padding:12px; border:1px solid #e3e8f1; background:#f7f9fc; border-radius:9px; gap:9px; }
#posView .pos-favorites-heading strong { font-size:13px; color:#425872; }
#posView .pos-favorites-heading span { display:none; }
#posView .pos-favorite-products { display:flex; flex-wrap:wrap; overflow:visible; gap:7px; padding:0; }
#posView .pos-favorite-products button { max-width:100%; min-height:42px; grid-template-columns:minmax(0,1fr) auto; gap:8px; padding:8px 10px; border-radius:7px; }
#posView #categoryTabs { gap:6px; }
#posView #categoryTabs .category-tab { min-width:0; min-height:38px; padding:7px 11px; font-size:12px; box-shadow:none; }
#posView .product-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(145px,1fr)); gap:10px; margin-top:16px; }
#posView .product-card .product-btn { min-height:150px; padding:12px; border:1px solid #dce3ed; border-radius:9px; background:#fff; box-shadow:none; }
#posView .product-card .product-thumb { height:48px; }
#posView .product-card .product-btn strong { color:#223c5b; font-size:14px; line-height:1.35; }
#posView .product-card .product-btn span { font-size:12px; }
#posView .product-card .product-btn b { font-size:18px; color:#143f53; }
#posView .cart-panel > .panel-title { margin:0 0 14px; padding-bottom:12px; border-bottom:1px solid #e7ecf3; }
#posView .cart-panel h3 { font:700 18px/1.3 Arial,sans-serif; color:#172b49; }
#posView .cart-items.empty-state { min-height:100px; padding:24px 12px; border:1px dashed #dce3ed; border-radius:8px; background:#fafbfd; color:#76859a; font-size:14px; }
#posView .cart-controls { gap:12px; }
#posView .cart-controls label { font-size:13px; color:#425872; }
#posView .cart-controls input,#posView .cart-controls select { font-size:15px; min-height:44px; }
#posView #completeSaleBtn { min-height:48px; font-size:16px; border-radius:8px; background:#173153; }
@media(min-width:1250px){#posView .cart-panel{position:sticky;top:16px;}}
@media(max-width:1100px){#posView .pos-layout{grid-template-columns:minmax(0,1fr);}#posView .cart-panel{position:static;}}
@media(max-width:600px){#posView .pos-view-header{align-items:flex-start;flex-direction:column;}#posView .product-area,#posView .cart-panel{padding:12px;}#posView .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));}#posView .pos-view-header h2{font-size:25px;}#posView .header-actions{width:100%;}#posView .header-actions button{flex:1 1 130px;}#posView .pos-group-tabs button{flex:1 1 90px;}}

body:has(#posView.active) #closedDayReadOnlyBanner { width:auto; display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin:0; padding:0; border:0; background:none; box-shadow:none; font-size:12px; color:#6b7484; }
#closedDayReadOnlyBanner[hidden] { display:none!important; }
.closed-day-badge { display:inline-flex; align-items:center; gap:7px; padding:5px 10px; border-radius:20px; background:#f6f2e7; color:#76633a; font-size:12px; font-weight:600; }
.closed-day-badge::before { content:""; width:6px; height:6px; border-radius:50%; background:#9c8547; }
#closedDayReadOnlyBanner details { position:relative; }
#closedDayReadOnlyBanner summary { cursor:pointer; font-size:12px; color:#526680; }
#closedDayReadOnlyBanner details>div { max-width:560px; padding:13px 16px; border:1px solid #ded9cd; border-radius:8px; background:#fffdf8; color:#596273; font-size:13px; line-height:1.5; }
#closedDayReadOnlyBanner details>div strong { font-size:13px; }
#closedDayReadOnlyBanner details>div p { margin:7px 0 0; }
body:has(#posView.active) #closedDayReadOnlyBanner details[open]>div { position:absolute; right:0; top:26px; width:min(480px,75vw); z-index:48; box-shadow:0 8px 24px #14233b18; }
body:has(#posView.active) #businessDayOpeningSummary { border:1px solid #e0e5ee; border-radius:11px; background:#fff; box-shadow:none; padding:17px 21px; grid-template-columns:minmax(190px,1fr) minmax(165px,auto) auto; gap:22px; }
body:has(#posView.active) #businessDayOpeningSummary .business-day-opening-date strong { font-size:17px; }
body:has(#posView.active) #businessDayOpeningSummary .business-day-opening-cash { padding-left:22px; border-left:1px solid #e4e8ef; }
body:has(#posView.active) #businessDayOpeningSummary .business-day-opening-cash strong { font-size:20px; }
body:has(#posView.active) #businessDayOpeningSummary span { font-size:11px; font-weight:500; letter-spacing:0; text-transform:none; }
body:has(#posView.active) #businessDayOpeningSummary button { border:0; background:none; box-shadow:none; font-size:12px; padding:6px 8px; min-height:34px; }
body:has(#posView.active) #businessDayOpeningSummary.not-confirmed { border-color:#ce9a91; background:#fffaf8; }
body:has(#posView.active) #frontDeskQuickBar { position:relative; top:auto; z-index:45; margin:0 0 24px; padding:0; border:0; background:transparent; backdrop-filter:none; box-shadow:none; gap:13px; grid-template-columns:minmax(210px,1fr) auto; }
body:has(#posView.active) .front-desk-search-wrap>label { display:contents; }
body:has(#posView.active) .front-desk-search-wrap>label>span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
body:has(#posView.active) .front-desk-search-wrap>label>small { position:absolute; right:13px; top:13px; z-index:1; margin:0; font-size:10px; }
body:has(#posView.active) #globalMemberSearch { height:44px; padding:0 47px 0 14px; border:1px solid #dce2eb; border-radius:8px; font-size:16px; background:white; box-shadow:none; }
body:has(#posView.active) .front-desk-quick-actions { gap:8px; align-items:center; }
body:has(#posView.active) .front-desk-quick-actions button { min-height:44px; padding:9px 13px; border:1px solid #dce2eb; background:white; color:#42536c; border-radius:8px; font-size:13px; font-weight:600; box-shadow:none; }
body:has(#posView.active) .front-desk-quick-actions>[data-front-action=sale] { background:#172d54; border-color:#172d54; color:white; }
body:has(#posView.active) #onlinePurchaseNotificationsBtn { background:transparent; border-color:transparent; padding:6px; font-size:11px; }
body:has(#posView.active) .front-desk-more { position:relative; display:block; }
body:has(#posView.active) #frontDeskMoreBtn { display:block; }
body:has(#posView.active) .front-desk-secondary-actions { display:none; }
body:has(#posView.active) .front-desk-more.is-open>.front-desk-secondary-actions { display:grid; position:absolute; top:47px; right:0; min-width:190px; max-width:calc(100vw - 24px); transform:translateX(var(--more-shift,0px)); padding:5px; border:1px solid #dfe5ef; border-radius:9px; background:white; box-shadow:0 12px 30px #16274020; z-index:50; }
body:has(#posView.active) .front-desk-secondary-actions>button { text-align:left; border:0; background:none; color:#42536c; }
body:has(#posView.active) #frontDeskSyncPill { grid-column:1/-1; justify-self:end; min-height:24px; padding:1px 4px; border:0; background:transparent; box-shadow:none; font-size:11px; }
body:has(#posView.active) #frontDeskSyncPill.offline,body:has(#posView.active) #frontDeskSyncPill.blocked { padding:6px 9px; border:1px solid #efbbbb; background:#fff1f1; }
#dashboardView>.view-header { margin-bottom:14px; align-items:center; }
#dashboardManagementEyebrow { display:none; }
#dashboardManagementTitle { font:600 18px/1.3 var(--font-body,Arial,sans-serif); }
#dashboardView>.owner-dashboard-launch { margin:0 0 14px; padding:0; justify-content:flex-end; border:0; border-radius:0; background:none; box-shadow:none; }
#dashboardView>.owner-dashboard-launch>a { min-height:28px; padding:0; border:0; background:none; color:#526985; font-size:12px; font-weight:500; box-shadow:none; }
@media(max-width:1100px){body:has(#posView.active) #frontDeskQuickBar { grid-template-columns:1fr; }body:has(#posView.active) .front-desk-quick-actions { justify-content:flex-start; }}
@media(max-width:700px){body:has(#posView.active) .today-page-heading{align-items:flex-start;flex-direction:column;gap:11px}body:has(#posView.active) #businessDayOpeningSummary{grid-template-columns:1fr auto;gap:13px;padding:15px}body:has(#posView.active) #businessDayOpeningSummary .business-day-opening-date{grid-column:1/-1}body:has(#posView.active) #businessDayOpeningSummary .business-day-opening-cash{padding-left:0;border:0}body:has(#posView.active) #closedDayReadOnlyBanner details[open]>div{right:auto;left:-130px;width:min(340px,85vw)}#dashboardView .dashboard-date-controls{flex-wrap:wrap;justify-content:flex-start}body:has(#posView.active) .front-desk-quick-actions{gap:6px}body:has(#posView.active) .front-desk-quick-actions button{font-size:13px;padding:8px 10px}}

body:has(#posView.active) #frontDeskQuickBar .front-desk-search-wrap { order:0; grid-column:auto; }
body:has(#posView.active) #frontDeskQuickBar .front-desk-quick-actions { order:1; grid-column:auto; }
body:has(#posView.active) #frontDeskQuickBar #frontDeskSyncPill { order:2; }
@media(max-width:700px){
  body:has(#posView.active) #closedDayReadOnlyBanner details[open] { flex-basis:100%; width:100%; }
  body:has(#posView.active) #closedDayReadOnlyBanner details[open]>div { position:static; width:100%; max-width:100%; margin-top:8px; }
}

#posView .pos-group-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
#posView .pos-group-tabs button { display:flex; align-items:center; justify-content:space-between; gap:8px; text-align:left; }
#posView .pos-group-tabs button span { overflow-wrap:normal; word-break:normal; font-size:13px; line-height:1.3; }
#posView .pos-view-header { flex-wrap:wrap; }
#posView .pos-view-header > div:first-child { flex:1 1 200px; }
@media(max-width:600px){#posView .pos-group-tabs{grid-template-columns:repeat(2,minmax(0,1fr));}}

@media(max-width:1100px){body:has(#posView.active) #frontDeskQuickBar{display:flex;flex-direction:column;align-items:stretch;}body:has(#posView.active) #frontDeskQuickBar .front-desk-search-wrap{width:100%;min-width:0;}body:has(#posView.active) #frontDeskQuickBar .front-desk-quick-actions{display:flex;flex-wrap:wrap;width:100%;gap:7px;}body:has(#posView.active) #frontDeskQuickBar .front-desk-quick-actions>button{flex:0 1 auto;width:auto;min-width:0;}body:has(#posView.active) #frontDeskSyncPill{align-self:flex-end;}body:has(#posView.active) .front-desk-more{align-self:flex-start;}}
@media(max-width:600px){#posView .pos-view-header>div:first-child{flex:0 0 auto;}}
body:has(#posView.active) #frontDeskSyncPill > strong { position:static; width:auto; height:auto; overflow:visible; clip:auto; white-space:normal; }
