/* Shared desktop and online workspace. Small, bounded transitions only. */
.workspace,.workspace main,.pos-layout,.panel,.cart-panel,.kitchen-column,.form-grid>*,.team-overview>article{min-width:0}
button,input,select,textarea,.button{font-family:inherit}
.view-dashboard .overview-intro{padding-bottom:20px;margin-bottom:20px;gap:20px;align-items:center}
.view-dashboard .overview-intro h1{font-size:clamp(29px,3vw,41px);line-height:1.1;margin:10px 0}
.view-dashboard .overview-intro>div>p:last-child{margin:10px 0 0;max-width:66ch;font-size:13px}
.view-dashboard .overview-date{gap:8px}.view-dashboard .overview-date strong{font-size:20px}
.view-dashboard .stats{margin-bottom:20px}.view-dashboard .stat{min-width:0}
.view-dashboard .stat{display:flex;flex-direction:column;align-items:flex-start}
.stat>.value{display:block;margin:8px 0 10px;max-width:100%;font-size:clamp(21px,1.9vw,28px);line-height:1.2;overflow-wrap:anywhere}
.stat>small{display:block;margin-top:auto;font-size:11px;line-height:1.55}
.view-dashboard .owner-tools{margin-bottom:18px;gap:10px}.view-dashboard .owner-tools a{padding:14px 35px 14px 15px;gap:5px}
.page-head{gap:18px}.page-head>div:first-child{min-width:0}.page-head p{max-width:72ch;line-height:1.65}
.panel-head{gap:12px}.panel-head h2{line-height:1.3}.panel-head p{line-height:1.55}
.table-wrap{position:relative;max-width:100%;overscroll-behavior-x:contain}
th.num,td.num,.money,.stat .value,.flow-stat strong{font-variant-numeric:tabular-nums lining-nums;letter-spacing:-.02em}
th.num,td.num{white-space:nowrap}.toolbar{gap:10px}.toolbar select{max-width:100%}
.field label,.field>span{line-height:1.45}.field small{line-height:1.5}
.button{touch-action:manipulation;transition:background-color 140ms ease,border-color 140ms ease,box-shadow 140ms ease}
.button:active:not(:disabled){transform:translateY(1px)}.button:disabled{cursor:wait}
.recipe-next-step{margin-bottom:16px}.recipe-next-step a{text-underline-offset:3px;font-weight:650}
.access-toggle{display:flex;align-items:center;gap:9px;min-height:44px;padding:5px 3px;border:0;background:transparent;color:var(--ink,#20362c);text-align:left;font-family:inherit;font-size:12px;font-weight:600;line-height:1.4;cursor:pointer;white-space:nowrap;touch-action:manipulation}
.access-toggle-track{width:36px;height:22px;flex:0 0 36px;background:#9ba7a0;border:1px solid #798b81;border-radius:12px;padding:2px;transition:background-color 150ms ease}
.access-toggle-track>span{display:block;width:16px;height:16px;border-radius:50%;background:white;box-shadow:0 1px 3px #132b2b28;transition:transform 150ms ease}
.access-toggle[aria-checked="true"] .access-toggle-track{background:#285b43;border-color:#285b43}.access-toggle[aria-checked="true"] .access-toggle-track>span{transform:translateX(14px)}
.access-toggle:disabled{opacity:.58;cursor:wait}.access-toggle:focus-visible{outline:3px solid #a7c899;outline-offset:3px;border-radius:7px}
.workspace-apps-button{flex-shrink:0;text-align:left;border:1px solid #ffffff24;border-radius:9px;color:#e7eee3;background:transparent;padding:11px 12px;margin:8px 0;font:inherit;font-size:12px;cursor:pointer;min-height:42px}
.workspace-apps-button:hover{background:#ffffff0d}.workspace-apps-button:focus-visible{outline:3px solid #a7c899;outline-offset:2px}
.workspace-apps-dialog{width:min(640px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #d4dfd2;border-radius:20px;color:#20362c;background:#fffef9}
.workspace-apps-dialog .modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px;border-bottom:1px solid #dde4d9}.workspace-apps-dialog .modal-head h2{margin:0;font-size:23px}
.workspace-apps-dialog .modal-body{padding:22px;line-height:1.65}.workspace-apps-dialog h3{margin:22px 0 8px}.workspace-apps-dialog .muted{font-size:12px;line-height:1.65}.workspace-apps-dialog::backdrop{background:#102c2460;backdrop-filter:blur(3px)}
.workspace-apps-dialog [data-desktop-download][hidden]{display:none}
.workspace-device-roles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0}.workspace-device-roles article{background:#edf2e7;padding:12px;border-radius:10px}.workspace-device-roles strong,.workspace-device-roles span{display:block}.workspace-device-roles span{font-size:11px;line-height:1.5;margin-top:4px}
@media(max-width:760px){.page-head{gap:14px;align-items:flex-start}.page-head .actions{flex-wrap:wrap}.team-overview{gap:10px}.team-overview article{padding:16px 12px}.team-overview strong{font-size:27px}.panel-head{flex-wrap:wrap}.toolbar>*{min-width:0}.workspace-device-roles{grid-template-columns:1fr}.workspace-device-roles article{padding:10px 14px}.workspace-device-roles span{font-size:12px}.kitchen-layout{gap:12px}.access-toggle{min-height:46px}}
@media(max-width:760px){
 .view-employees .team-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .view-employees .team-overview article{display:flex;flex-direction:column;align-items:flex-start;padding:13px 11px;gap:6px}
 .view-employees .team-overview article>span{font-size:11px;line-height:1.5}.view-employees .team-overview article>strong{font-size:26px;order:1}.view-employees .team-overview article>small{display:none}
 .team-register .table-wrap{overflow:visible;padding:0 12px 12px}.team-register table{display:block;min-width:0;width:100%}.team-register thead{display:none}.team-register tbody{display:grid;gap:12px}
 .team-register tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;padding:16px;border:1px solid #dce4d7;border-radius:12px;background:#fffefb}
 .team-register td{display:block;min-width:0;border:0;padding:0;text-align:left;white-space:normal;overflow-wrap:anywhere}
 .team-register td:first-child{grid-column:1/-1;padding-bottom:10px;border-bottom:1px solid #e2e8df}.team-register td:nth-child(2){grid-column:1/-1}.team-register td:last-child{grid-column:1/-1}
 .team-register td[data-label]::before{content:attr(data-label);display:block;color:#657366;font-size:10px;letter-spacing:.03em;margin-bottom:4px}
 .team-register td:last-child .button{width:100%;justify-content:center}.team-register .access-toggle{width:100%;justify-content:space-between;border:1px solid #d2ddce;border-radius:8px;padding:8px 12px;margin-top:8px;flex-direction:row-reverse}
}
@media(prefers-reduced-motion:reduce){.button,.access-toggle-track,.access-toggle-track>span{transition:none}.button:active:not(:disabled){transform:none}}
