/* Native desktop shell adapted for the public product section; components live in Shadow DOM. */
.sd-section .sec-inner{max-width:1320px}.sd-app{font:15px/1.5 'Segoe UI',system-ui,sans-serif;color:#0c1725;background:#f8fafc;border:1px solid #cbd5e1;border-radius:16px;overflow:hidden;box-shadow:0 30px 70px -32px #0c172554,0 4px 12px #0c172511;text-align:left}
.sd-app button{font:inherit;cursor:pointer}.sd-app button:focus-visible{outline:3px solid #f97316;outline-offset:2px}.sd-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;background:#0c1725;color:#fff}.sd-top strong{display:block;font-size:22px}.sd-top small{display:block;color:#cbd5e1;font-size:12px}.sd-top button{border:1px solid #ffffff45;background:#ffffff10;color:white;border-radius:8px;padding:10px 14px;min-height:44px}.sd-toolbar{display:flex;align-items:center;gap:12px;padding:10px 18px;border-bottom:1px solid #e2e8f0;background:white}.sd-toolbar span{flex:1;font-size:13px;color:#475569}.sd-toolbar button{border:1px solid #cbd5e1;border-radius:8px;background:#f3f6fa;padding:9px 12px;min-height:44px}.sd-layout{display:grid;grid-template-columns:248px minmax(0,1fr);height:700px}.sd-nav{padding:12px;overflow:auto;background:#f3f6fa;border-right:1px solid #e2e8f0}.sd-nav button{display:flex;align-items:center;gap:12px;width:100%;min-height:54px;border:1px solid transparent;border-radius:10px;background:transparent;padding:8px 10px;text-align:left;color:#0c1725;margin:2px 0}.sd-nav button:hover{background:#e6ecf4}.sd-nav button[aria-current=page]{background:#fff;border-color:#cbd5e1;box-shadow:0 2px 5px #0c172508;font-weight:650}.sd-nav button>span{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:9px;color:var(--menu-accent);background:color-mix(in srgb,var(--menu-accent) 10%,white)}.sd-nav svg{width:22px;height:22px}.sd-work{overflow:auto;min-width:0;background:#f8fafc}.sd-status{margin:0;padding:10px 20px;border-top:1px solid #e2e8f0;background:white;font-size:12px;color:#475569}.sd-app.sd-nav-hidden .sd-nav{display:none}.sd-app.sd-nav-hidden .sd-layout{grid-template-columns:minmax(0,1fr)}.sd-app:fullscreen{border-radius:0;display:flex;flex-direction:column;max-width:none;width:100%;height:100%;background:#f8fafc}.sd-app:fullscreen .sd-layout{flex:1;min-height:0;height:auto}
@media(max-width:760px){.sd-layout{grid-template-columns:190px minmax(0,1fr);height:650px}.sd-top{padding:14px;align-items:flex-start}.sd-top small{max-width:210px}.sd-top button{font-size:12px}.sd-nav{padding:6px}.sd-nav button{font-size:13px;gap:8px}.sd-toolbar{flex-wrap:wrap;padding:10px}.sd-toolbar span{min-width:120px}.sd-app:not(.sd-nav-hidden) .sd-layout{grid-template-columns:1fr}.sd-app:not(.sd-nav-hidden) .sd-nav{max-height:250px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid #cbd5e1}.sd-app:not(.sd-nav-hidden) .sd-layout{height:auto}.sd-app:not(.sd-nav-hidden) .sd-work{height:600px}.sd-section .sec-inner{padding-inline:12px}}
/* These rules also load inside the isolated component shadow root. */
:host{display:block;font:14px/1.5 'Segoe UI',system-ui,sans-serif;color:#0c1725;min-width:0} :host *{box-sizing:border-box} :host [hidden]{display:none!important} :host button,:host input,:host select,:host textarea{font:inherit} :host button,:host summary{cursor:pointer} :host button:disabled{cursor:not-allowed;opacity:.55} :host :focus-visible{outline:3px solid #f97316;outline-offset:2px} :host .workspace-pane{padding:24px;min-width:0} :host h2{margin:0 0 6px;font-size:25px;line-height:1.25} :host h3{font-size:17px;margin:0 0 12px} :host p{margin:0 0 16px} :host .subtle{color:#64748b} :host .demo-boundary{padding:12px 16px;border:1px solid #fed7aa;background:#fff7ed;border-radius:9px;font-size:13px;margin:16px 0} :host .actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0} :host button,:host .sf-branch-status-pill{min-height:44px;border:1px solid #cbd5e1;border-radius:8px;background:white;padding:10px 14px;color:#0c1725} :host button.primary{background:#2563eb;border-color:#2563eb;color:#fff} :host .workspace-search{display:block;width:100%;min-height:44px;padding:10px 14px;margin:16px 0;border:1px solid #cbd5e1;border-radius:8px;background:#fff} :host .orders-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px} :host .order-list{display:grid;gap:10px;align-content:start} :host .order-card{text-align:left;display:grid;grid-template-columns:1fr auto;gap:5px;padding:16px} :host .order-card[aria-pressed=true]{border-color:#2563eb;background:#eff6ff} :host .order-card small{color:#64748b} :host .order-detail,:host .info-card{background:white;border:1px solid #e2e8f0;border-radius:12px;padding:18px;min-width:0} :host .order-detail ul{list-style:none;padding:0} :host .order-detail li{border-bottom:1px solid #e2e8f0;padding:10px 0} :host .order-detail li small{display:block;color:#64748b} :host .order-total{font-size:22px;font-weight:700} :host pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;background:#fff;padding:16px;border:1px dashed #cbd5e1;border-radius:6px} :host .empty{padding:28px;background:#fff;border:1px dashed #cbd5e1;border-radius:12px} :host .stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px} :host .stat-grid strong{font-size:26px;display:block} :host .native{min-width:0} :host .native img{max-width:100%;height:auto} :host .native input:not([type=checkbox]):not([type=radio]),:host .native textarea,:host .native select{max-width:100%;min-height:44px;border:1px solid #cbd5e1;border-radius:6px;padding:8px;background:white} :host .native .sf-ap-overview-list{display:grid;gap:12px} :host .native .sf-ap-overview-card{display:flex;flex-wrap:wrap;padding:16px;gap:16px;border:1px solid #e2e8f0;border-radius:12px;background:white} :host .native .sf-ap-overview-thumb{width:70px;flex:0 0 70px} :host .native .sf-ap-overview-main{flex:1;min-width:150px} :host .native .sf-ap-overview-main h4{margin:0;font-size:17px} :host .native .sf-ap-overview-actions,:host .native [data-sf-products-page],:host .native .sf-ap-inline-slot{display:none} :host .native .sf-quick-add__main,:host .native .sf-general-settings__grid{grid-template-columns:repeat(2,minmax(0,1fr))} :host .sf-branch-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px} :host .sf-branch-stat-card{min-width:0;padding:12px;background:white;border:1px solid #e2e8f0;border-radius:10px;display:flex;flex-wrap:wrap;gap:8px} :host .sf-branch-stat-icon svg{width:22px;height:22px;fill:none;stroke:#2563eb;stroke-width:1.7} :host .sf-branch-stat-card__label{font-size:12px;display:block} :host .sf-branch-stat-card__value{font-size:23px;display:block} :host .sf-branch-status-filters{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0} :host .sf-branch-status-pill{display:inline-flex;align-items:center;gap:8px;font-size:12px;text-decoration:none;cursor:pointer} :host .sf-branch-status-pill.is-active{background:#eff6ff;border-color:#2563eb} :host .sf-branch-status-menu__popup{z-index:5} :host .draft-output{margin-top:14px;white-space:pre-wrap} :host .native .sf-quick-add__category{display:block!important}
@media(max-width:900px){:host .orders-grid{grid-template-columns:1fr}:host .sf-branch-stats{grid-template-columns:repeat(2,minmax(0,1fr))}:host .native .sf-quick-add__main,:host .native .sf-general-settings__grid{grid-template-columns:1fr}}
@media(max-width:480px){:host .workspace-pane{padding:14px}:host .stat-grid{grid-template-columns:1fr}:host .sf-branch-stat-card{padding:9px}:host h2{font-size:22px}}
.sd-app:fullscreen .sd-layout{overflow:hidden}.sd-app:fullscreen .sd-work{height:auto;min-height:0}
@media(max-width:760px){.sd-app:fullscreen:not(.sd-nav-hidden) .sd-layout{grid-template-rows:auto minmax(0,1fr)}.sd-app:fullscreen .sd-nav{max-height:30vh}}

/* Both shells use the homepage hardware CSS; the app stays mounted in place. */
.sd-device-stage:not(.is-terminal){max-width:1180px;margin-inline:auto;position:relative;isolation:isolate}
/* Scale the whole register together; zoom also reduces its layout footprint.
   Keep the original working width inside, and full-size controls on small screens. */
@media(min-width:1000px){
 .sd-section .sec-inner{container-type:inline-size}
 .sd-device-stage:not(.is-terminal){width:min(1180px,100cqi);zoom:.8}
 .sd-device-stage:not(.is-terminal):has(.sd-app:fullscreen){zoom:1}
}
.sd-device-stage:not(.is-terminal) .hp-hardware{--hp-printer-width:clamp(120px,18%,180px)}
.sd-device-stage:not(.is-terminal) .hp-monitor{margin-top:0}
.sd-device-stage:not(.is-terminal) .hp-cash-drawer{left:8%;width:62%}
.sd-device-stage:not(.is-terminal) .hp-printer{right:8%}
.sd-device-stage:not(.is-terminal) .sd-app:not(:fullscreen){border-radius:10px 10px 2px 2px;box-shadow:none}
.sd-device-stage.is-terminal :is(.hp-chin,.hp-stand,.hp-foot,.hp-cash-drawer,.hp-printer){display:none}
.sd-device-stage .hp-paper[hidden]{display:none}
@media(max-width:600px){.sd-device-stage:not(.is-terminal) .hp-hardware{--hp-printer-width:clamp(98px,24%,142px)}.sd-device-stage:not(.is-terminal) .hp-cash-drawer{left:0;width:calc(100% - var(--hp-printer-width) - 18px)}.sd-device-stage:not(.is-terminal) .hp-printer{right:0}}
@media(prefers-reduced-motion:reduce){.sd-device-stage .hp-printer.is-printing :is(.hp-paper,.hp-printer-brand i){animation:none}}
.sd-device-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:900px;margin:0 auto 28px}.sd-device-choices button{display:flex;align-items:center;gap:14px;text-align:left;min-height:88px;padding:18px;border:1px solid #e6ddd1;border-radius:15px;background:#fff;color:#57534e;cursor:pointer;transition:background .2s,border-color .2s,box-shadow .2s;font:inherit}.sd-device-choices button[aria-pressed=true]{border-color:#d76b32;background:linear-gradient(115deg,#fff1e1,#fffaf4);color:#963d16;box-shadow:0 6px 22px #ce6b1912,inset 3px 0 #d76b32}.sd-device-choices button:hover{border-color:#d76b32}.sd-device-choices button:focus-visible{outline:3px solid #f97316;outline-offset:3px}.sd-choice-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:11px;background:#fff1e1;color:#b34b1d}.sd-choice-icon svg{width:24px;height:24px}.sd-device-choices strong{display:block;font-size:14px;line-height:1.5}.sd-device-choices small{display:block;font-size:12px;line-height:1.6;margin-top:3px;color:#70675c}
.sd-device-stage{min-width:0}.sd-device-stage:not(.is-terminal)>.live-terminal{filter:none}.sd-device-stage:not(.is-terminal) .live-paper-window,.sd-device-stage:not(.is-terminal) .live-printer,.sd-device-stage:not(.is-terminal) .live-terminal-signature{display:none}.sd-device-stage:not(.is-terminal) .live-terminal-screen{border:0;border-radius:0;background:none;box-shadow:none;padding:0;margin:0;min-height:0;overflow:visible}
.sd-device-stage.is-terminal{width:100%;max-width:none}.sd-device-stage.is-terminal>.live-terminal{margin-inline:auto}.sd-work{container-type:inline-size;overscroll-behavior:contain}.sd-device-stage.is-terminal .sd-register-screen>.sd-app:not(:fullscreen){display:flex;flex-direction:column;height:100%;min-height:0;flex:1;border:0;border-radius:0;box-shadow:none}.sd-terminal-app:not(:fullscreen) .sd-top{padding:10px 12px;gap:8px}.sd-terminal-app:not(:fullscreen) .sd-top strong{font-size:17px}.sd-terminal-app:not(:fullscreen) .sd-top small{font-size:10px;line-height:1.45}.sd-terminal-app:not(:fullscreen) .sd-top button{font-size:11px;padding:7px;flex:0 0 86px}.sd-terminal-app:not(:fullscreen) .sd-toolbar{padding:8px;gap:6px;flex-wrap:wrap}.sd-terminal-app:not(:fullscreen) .sd-toolbar span{font-size:11px;flex:1;min-width:110px}.sd-terminal-app:not(:fullscreen) .sd-toolbar button{font-size:12px;padding:8px}.sd-terminal-app:not(:fullscreen) .sd-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);position:relative;flex:1;min-height:0;height:auto;overflow:hidden}.sd-terminal-app:not(:fullscreen) .sd-work{height:auto;min-height:0;grid-area:1/1}.sd-terminal-app:not(:fullscreen):not(.sd-nav-hidden) .sd-nav{display:block;position:absolute;inset:0 12% 0 0;z-index:10;max-height:none;border-right:1px solid #cbd5e1;box-shadow:12px 0 25px #0c172522;padding:8px;background:#f3f6fa;overflow:auto}.sd-terminal-app:not(:fullscreen) .sd-nav button{font-size:14px;min-height:48px}.sd-terminal-app:not(:fullscreen) .sd-status{font-size:10px;line-height:1.5;padding:7px 10px;max-height:58px;overflow:auto;flex-shrink:0}
@container(max-width:520px){:host .workspace-pane{padding:14px}:host h2{font-size:23px}:host .orders-grid{grid-template-columns:minmax(0,1fr)}:host .sf-branch-stats{grid-template-columns:repeat(2,minmax(0,1fr))}:host .sf-branch-stat-card{padding:10px;gap:6px}:host .sf-branch-stat-card__value{font-size:21px}:host .native.sf-branch-page{padding:0}:host .native .sf-quick-add__main,:host .native .sf-general-settings__grid{grid-template-columns:minmax(0,1fr)}:host .native .sf-color-settings__section{padding:12px}:host .native .sf-quick-add__identity{display:block}:host .native .sf-quick-add__field{min-width:0}:host .stat-grid{grid-template-columns:minmax(0,1fr)}:host .native .sf-ap-overview-card{padding:12px;gap:10px}:host .native .sf-ap-overview-main{min-width:130px}:host .native .sf-ap-overview-thumb{flex-basis:50px;width:50px}:host .sf-branch-status-menu__popup{max-width:240px}:host .native input,:host .native textarea,:host .native select{min-width:0;width:100%}:host .native input[type=checkbox],:host .native input[type=radio]{width:auto}:host .native .sf-opening-hours__day{display:flex;flex-direction:column;align-items:stretch;gap:10px}:host .native .sf-opening-hours__times{display:flex;flex-wrap:wrap}}
@media(max-width:600px){.sd-device-choices{grid-template-columns:1fr;gap:10px;margin-bottom:18px}.sd-device-choices button{min-height:76px;padding:13px}.sd-device-choices strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.sd-device-choices button{transition:none}.sd-device-stage .live-paper.is-printing{animation:none!important}}

/* The existing app reserves the exact hardware height while the customer's till covers it. */
.sd-device-stage .sd-register-screen{height:auto;--hp-navy:#0c1725;--hp-popup:#07121f;--hp-alert:#ffa03f;--hp-surface:#f3f6fa}
.sd-register-screen [hidden],.sd-app [hidden]{display:none!important}
.sd-register-screen>[data-register],.sd-register-screen>.hp-shortcut,.sd-register-taskbar{display:none}
.sd-register-screen.sd-intro-enabled>[data-register]{display:flex;position:absolute;inset:0 0 34px;height:auto}
.sd-register-screen.sd-intro-enabled>.hp-shortcut,.sd-register-screen.sd-intro-enabled>.sd-register-taskbar{display:flex}
.sd-register-screen.sd-intro-enabled:not(.sd-data-open)>.sd-app{visibility:hidden;pointer-events:none}
.sd-register-screen.sd-data-open>[data-register],.sd-register-screen.sd-data-open>.sd-register-taskbar{visibility:hidden;pointer-events:none}
.sd-device-stage.is-terminal .sd-register-screen{display:flex;flex-direction:column;flex:1;min-height:0;border-radius:0}
.sd-device-stage .sd-top{position:relative}.sd-device-stage .sd-top>div{flex:1;min-width:0}
.sd-register-screen .hp-taskbar{justify-content:space-between;gap:8px}
.sd-register-screen .hp-notifications,.sd-app:fullscreen>.hp-notifications{max-height:calc(100% - 76px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.sd-register-screen .hp-notification>.hp-notification-info{white-space:pre-line;overflow-wrap:anywhere;font-size:13px;line-height:1.6;max-height:150px;overflow:auto}
.sd-register-screen .hp-notification>.hp-notification-action{font-size:13px;line-height:32px}
.sd-notification-confirm{padding:18px;background:#07121f;border:1px solid #a16c42;border-left:4px solid #ffa03f;color:#f2f5fb;font:14px/1.6 'Segoe UI',sans-serif;box-shadow:0 8px 25px #0003;animation:hp-notify .25s ease-out}
.sd-app:fullscreen{position:relative;--hp-navy:#0c1725;--hp-popup:#07121f;--hp-alert:#ffa03f}
.sd-app:fullscreen>.hp-notifications .hp-notification-info{white-space:pre-line}
.sd-app:fullscreen [data-workspace-close]:not([hidden]){display:inline-flex}
.sd-device-stage:not(.is-terminal) .sd-register-screen .hp-register-body{gap:20px;padding:24px;grid-template-columns:minmax(0,1fr) minmax(230px,.65fr)}
.sd-device-stage:not(.is-terminal) .sd-register-screen .hp-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.sd-device-stage:not(.is-terminal) .sd-register-screen .hp-products button{min-height:125px}
.sd-device-stage:not(.is-terminal) .sd-register-screen :is(.hp-product-name,.hp-products button>small,.hp-register-line,.hp-register-line b){font-size:16px}
.sd-device-stage:not(.is-terminal) .sd-register-screen :is(.hp-register-title,.hp-basket .hp-register-title){font-size:18px}
.sd-device-stage:not(.is-terminal) .sd-register-screen :is(.hp-product-kind,.hp-register-note,.hp-basket-columns,.hp-register-bar>span,.hp-register-bar>small){font-size:11px}
@media(max-width:760px){
 .sd-device-stage:not(.is-terminal) .sd-register-screen .hp-register-body{padding:12px;gap:12px;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
 .sd-device-stage:not(.is-terminal) .sd-register-screen .hp-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .sd-device-stage:not(.is-terminal) .sd-register-screen .hp-products button{min-height:90px}
 .sd-device-stage:not(.is-terminal) .sd-register-screen :is(.hp-product-name,.hp-products button>small,.hp-register-line,.hp-register-line b){font-size:13px}
 .sd-device-stage .sd-top{gap:6px;flex-wrap:wrap}.sd-device-stage:not(.is-terminal) .sd-top>div{flex-basis:100%}
 .sd-register-screen .hp-taskbar>span:last-child{font-size:8px}
}
@media(prefers-reduced-motion:reduce){.sd-register-screen .hp-notification,.sd-notification-confirm{animation:none}.sd-register-screen .hp-shortcut{transition:none}}

/* Homepage shells keep their physical dimensions; the shared app fills their screens. */
[data-home-workspace]{--hp-navy:#0c1725;--hp-popup:#07121f;--hp-alert:#ffa03f;--hp-surface:#f3f6fa}
[data-home-workspace] .sd-register-screen.sd-intro-enabled>[data-register]{inset:0 0 34px}
[data-home-workspace] .sd-register-screen>.sd-app:not(:fullscreen){position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;border:0;border-radius:inherit;box-shadow:none}
[data-home-workspace] .sd-register-screen .sd-layout{flex:1;min-height:0;height:auto;grid-template-columns:170px minmax(0,1fr);overflow:hidden}
[data-home-workspace] .sd-register-screen .sd-nav{padding:5px}
[data-home-workspace] .sd-register-screen .sd-nav button{font-size:12px;min-height:44px;gap:7px;padding:6px}
[data-home-workspace] .sd-register-screen .sd-nav button>span{flex-basis:26px;height:28px}
[data-home-workspace] .sd-register-screen .sd-nav svg{width:18px;height:18px}
[data-home-workspace] .sd-top{padding:8px 10px;gap:6px;flex-wrap:wrap;flex-shrink:0}
[data-home-workspace] .sd-top>div{flex:1;min-width:120px}
[data-home-workspace] .sd-top strong{font-size:17px}
[data-home-workspace] .sd-top small{font-size:10px}
[data-home-workspace] .sd-top button{font-size:11px;min-height:44px;padding:7px}
[data-home-workspace] .sd-toolbar{padding:5px 8px;gap:6px;flex-wrap:wrap;flex-shrink:0}
[data-home-workspace] .sd-toolbar span{font-size:11px;min-width:90px}
[data-home-workspace] .sd-toolbar button{font-size:12px;padding:6px 8px}
[data-home-workspace] .sd-status{font-size:10px;line-height:1.5;padding:5px 10px;max-height:42px;overflow:auto;flex-shrink:0}
[data-home-workspace] .sd-register-screen .sd-app.sd-nav-hidden .sd-layout{grid-template-columns:minmax(0,1fr)}
[data-home-workspace] .home-data-terminal-mount{display:flex;flex:1;min-height:0;position:relative}
[data-home-workspace] .home-data-terminal-mount>.sd-app:not(:fullscreen){position:relative;display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;border:0;border-radius:0;box-shadow:none}
[data-home-workspace] .sd-app>.hp-notifications{z-index:20;max-height:calc(100% - 76px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
[data-home-workspace] .sd-app>.hp-notifications .hp-notification-info{white-space:pre-line;overflow-wrap:anywhere}
[data-home-workspace] .sd-register-screen.sd-data-open>.hp-shortcut{z-index:7}
@media(max-width:760px){
 [data-home-workspace] .sd-register-screen .sd-app:not(.sd-nav-hidden) .sd-layout{grid-template-columns:minmax(0,1fr);position:relative}
 [data-home-workspace] .sd-register-screen .sd-app:not(.sd-nav-hidden) .sd-nav{position:absolute;inset:0 12% 0 0;z-index:10;max-height:none;display:block;box-shadow:12px 0 25px #0c172522}
 [data-home-workspace] .sd-register-screen .sd-work{height:auto;min-height:0}
}

/* Mobile register monitor (all pages). Root cause of the tall "phone" monitor: on phones the screen took its height
   from the app (stacked menu + a 600px work area), or from a fixed portrait height (414–670px). Now the whole register
   keeps one 560px landscape working width, zoomed as a unit by workspace-device.js (.sd-register-scaled), with a
   fixed 16:10 screen. The app fills the screen and scrolls inside it. Desktop and the terminal are not affected. */
@media(max-width:760px){
 .hp-restaurant-pos .hp-hardware.sd-register-scaled{width:560px;max-width:none;min-width:0;margin-inline:auto;zoom:var(--sd-register-zoom,1)}
 .hp-restaurant-pos .sd-register-scaled .hp-desktop{height:auto;min-height:0;aspect-ratio:16/10;overflow:hidden}
 .hp-restaurant-pos .sd-register-scaled .sd-register-screen>.sd-app:not(:fullscreen):not(.sd-app-expanded){position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;border:0;border-radius:inherit;box-shadow:none}
 .hp-restaurant-pos .sd-register-scaled .sd-register-screen .sd-app .sd-layout{flex:1;min-height:0;height:auto;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);position:relative;overflow:hidden}
 .hp-restaurant-pos .sd-register-scaled .sd-register-screen .sd-app .sd-work{height:auto;min-height:0;grid-area:1/1}
 .hp-restaurant-pos .sd-register-scaled .sd-register-screen .sd-app:not(.sd-nav-hidden) .sd-nav{position:absolute;inset:0 12% 0 0;z-index:10;display:block;max-height:none;padding:5px;background:#f3f6fa;border-right:1px solid #cbd5e1;box-shadow:12px 0 25px #0c172522;overflow:auto}
 .hp-restaurant-pos .sd-register-scaled .sd-register-screen .sd-top{flex-shrink:0;flex-wrap:nowrap;align-items:center;gap:6px;padding:8px 10px}
 .hp-restaurant-pos .sd-register-scaled .sd-register-screen .sd-top>div{flex:1 1 auto;min-width:0}
 .hp-restaurant-pos .sd-register-scaled .sd-register-screen .sd-top strong{font-size:17px}
 .hp-restaurant-pos .sd-register-scaled .sd-register-screen .sd-top small{font-size:10px;max-width:none}
 .hp-restaurant-pos .sd-register-scaled .sd-register-screen .sd-top button{flex-shrink:0;font-size:11px;min-height:40px;padding:6px 8px}
 .hp-restaurant-pos .sd-register-scaled .sd-register-screen .sd-toolbar{flex-shrink:0;flex-wrap:nowrap;gap:6px;padding:5px 8px}
 .hp-restaurant-pos .sd-register-scaled .sd-register-screen .sd-toolbar span{min-width:0;font-size:11px}
 .hp-restaurant-pos .sd-register-scaled .sd-register-screen .sd-toolbar button{font-size:12px;min-height:38px;padding:6px 8px}
 .hp-restaurant-pos .sd-register-scaled .sd-register-screen .sd-status{flex-shrink:0;font-size:10px;line-height:1.5;padding:5px 10px;max-height:42px;overflow:auto}
 .hp-restaurant-pos .sd-register-scaled .sd-register-screen>[data-register]{overflow:hidden}
 .hp-restaurant-pos .sd-register-scaled .sd-register-screen .hp-register-body{min-height:0;overflow:auto;overscroll-behavior:contain}
}

/* Mobile "Större arbetsyta": the same app in a full-screen layer (data-workspace.js), also where the Fullscreen API
   is missing. Session, orders and view are kept because the element itself moves, and moves back on close. */
html.sd-expanded-open,html.sd-expanded-open body{overflow:hidden;overscroll-behavior:none}
.sd-expanded-layer{position:fixed;inset:0;z-index:100000;display:flex;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:#0c1725;animation:sd-expand-in .24s cubic-bezier(.2,.7,.2,1)}
.sd-expanded-layer>.sd-app.sd-app-expanded{position:relative;flex:1;display:flex;flex-direction:column;width:100%;max-width:none;height:100%;min-width:0;min-height:0;border:0;border-radius:0;box-shadow:none;visibility:visible;pointer-events:auto;--hp-navy:#0c1725;--hp-popup:#07121f;--hp-alert:#ffa03f;--hp-surface:#f3f6fa}
.sd-app-expanded .sd-top{flex-shrink:0;flex-wrap:nowrap;align-items:center;gap:8px;padding:10px 12px}
.sd-app-expanded .sd-top>div{flex:1 1 auto;min-width:0}
.sd-app-expanded .sd-top strong{font-size:18px}
.sd-app-expanded .sd-top small{font-size:11px;max-width:none}
.sd-app-expanded .sd-top button{flex-shrink:0;font-size:12px;min-height:44px;padding:8px 10px}
.sd-app-expanded .sd-toolbar{flex-shrink:0;flex-wrap:nowrap;gap:8px;padding:6px 10px}
.sd-app-expanded .sd-toolbar span{min-width:0;font-size:12px}
.sd-app-expanded .sd-layout{flex:1;min-height:0;height:auto;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);position:relative;overflow:hidden}
.sd-app-expanded .sd-work{height:auto;min-height:0;grid-area:1/1;overflow:auto;-webkit-overflow-scrolling:touch}
.sd-app-expanded:not(.sd-nav-hidden) .sd-nav{position:absolute;inset:0 15% 0 0;z-index:10;display:block;max-height:none;padding:8px;background:#f3f6fa;border-right:1px solid #cbd5e1;box-shadow:12px 0 25px #0c172522;overflow:auto}
.sd-app-expanded .sd-nav button{font-size:15px;min-height:52px}
.sd-app-expanded .sd-status{flex-shrink:0;max-height:58px;overflow:auto;font-size:11px;padding:6px 12px}
.sd-app-expanded>.hp-notifications{z-index:20;max-height:calc(100% - 76px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.sd-app-expanded>.hp-notifications .hp-notification-info{white-space:pre-line;overflow-wrap:anywhere}
.sd-app-expanded [data-workspace-close]:not([hidden]){display:inline-flex}
@keyframes sd-expand-in{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.sd-expanded-layer{animation:none}}
