@font-face{font-family:Lato;src:url('/assets/brand/fonts/lato-regular.woff2') format('woff2');font-display:swap}@font-face{font-family:Lato;src:url('/assets/brand/fonts/lato-bold.woff2') format('woff2');font-weight:700;font-display:swap}:root{--brand:#39764a;--panel:#fff;--text:#26382a;--muted:#627166;--border:#c4d0c2;--erp-crumb-bg:#d9e5d1}*{box-sizing:border-box}body{margin:0;background:#f3f7f1;color:var(--text);font-family:Lato,Arial,sans-serif}body.dark{--panel:#22382a;--text:#edf3e9;--muted:#bccabb;--border:#536c58;--erp-crumb-bg:#36513d;background:#18291e}button,input,select,textarea{font:inherit;color:inherit;border:1px solid var(--border);background:var(--panel);border-radius:8px;padding:10px 13px;min-height:42px}button{cursor:pointer}button:hover,button:focus-visible{background:var(--erp-crumb-bg)}button:disabled{opacity:.55;cursor:not-allowed}a{color:inherit}input,textarea{max-width:100%}:focus,:focus-visible,:focus-within{outline:none;box-shadow:none}.pos-header{position:fixed;z-index:110;top:0;left:0;right:0;height:94px;display:flex;align-items:center;gap:20px;padding:7px 28px;background:#dde7d9;border-bottom:1px solid var(--border)}.dark .pos-header{background:#283f2d}.pos-header img{border:0;background:none;padding:0}.pos-header h1{font-size:24px;margin:0}.pos-header #pos-identity{flex:1;font-size:14px}main{padding:118px 40px 70px;max-width:1700px;margin:auto}.pos-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.pos-tabs [aria-current=page]{background:var(--erp-crumb-bg);font-weight:700}.pos-notice{padding:14px 18px;background:#f9e8c8;border:1px solid #d8bf8c;border-radius:10px;color:#56401d}.pos-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr);gap:24px}.pos-panel{padding:20px;border:1px solid var(--border);border-radius:14px;background:var(--panel);margin:14px 0}.pos-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.pos-field{display:grid;gap:6px;margin:12px 0}.pos-field>span{font-weight:700;font-size:14px}.pos-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;margin:16px 0}.pos-product{text-align:left;min-height:110px;display:grid;gap:7px}.pos-product strong{font-size:16px}.pos-product small,.pos-muted{color:var(--muted)}.pos-total{font-size:28px;font-weight:700;text-align:right;padding:16px 0}.pos-primary{background:var(--brand);color:white;border-color:var(--brand)}table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:10px;border-bottom:1px solid var(--border)}.pos-scroll{overflow:auto}h2{font-size:23px}h3{font-size:19px}.pos-error{color:#a63832}body.dark .pos-error{color:#ffb0a1}dialog{color:var(--text);background:var(--panel);border:1px solid var(--border);border-radius:14px;padding:24px;max-width:calc(100vw - 24px);width:760px;max-height:90dvh;overflow:auto}dialog::backdrop{background:#15251aaa}.pos-receipt{max-width:420px;margin:auto;font-size:14px}.pos-receipt h2{text-align:center}.pos-receipt pre{white-space:pre-wrap}.pos-statistics{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}.pos-statistics div{padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--panel)}.pos-statistics strong{display:block;font-size:25px}#pos-status{min-height:24px}.pos-login{max-width:600px;margin:60px auto;padding:30px;background:var(--panel);border-radius:14px}.pos-checkbox{display:flex;gap:10px;align-items:center}.pos-checkbox input{min-height:24px}.pos-full{width:100%}@media(max-width:800px){.pos-header{gap:8px;padding:7px 12px;flex-wrap:wrap}.pos-header h1{font-size:19px}.pos-header img{width:64px;height:64px}.pos-header #pos-identity{max-width:140px;font-size:12px}.pos-header button,.pos-header a:not(:first-child){font-size:12px;min-height:34px;padding:6px}main{padding:110px 16px 70px}.pos-grid{grid-template-columns:1fr}.pos-panel{padding:14px}.pos-products{grid-template-columns:repeat(auto-fill,minmax(135px,1fr))}}@media print{body{background:white;color:black}.pos-header,body>main,.pos-tabs,#pos-dialog-close,.tc-offline-status,dialog button{display:none!important}dialog{display:block!important;position:static;border:0;max-height:none;width:100%;padding:0}dialog::backdrop{display:none}.pos-receipt{width:76mm;max-width:76mm;font-size:11px}}

.pos-tabs a{display:inline-flex;align-items:center;text-decoration:none;border:1px solid var(--border);border-radius:8px;padding:10px 13px;min-height:42px;background:var(--panel)}.pos-tabs a:hover,.pos-tabs a:focus-visible{background:var(--erp-crumb-bg)}.pos-tabs a[hidden]{display:none}
/* The shared ERP sheets own the header and dark palette; the workstation keeps its POS layout. */
:root{--erp-header-height:94px;--border:#d7e1d1;--text:#362d29;--muted:#667a65}body{background:#faf8f5;font-size:15px;-webkit-font-smoothing:antialiased}body.dark,:root[data-erp-theme=dark] body{--panel:var(--erp-dark-surface);--text:var(--erp-dark-text);--muted:var(--erp-dark-muted);--border:var(--erp-dark-line);--erp-crumb-bg:var(--erp-dark-selected);--brand:var(--erp-dark-primary);background:var(--erp-dark-bg)}.pos-header,.dark .pos-header{background:var(--erp-header-bg);color:var(--erp-header-ink);border-bottom-color:var(--erp-search-border)}.pos-header h1{color:inherit}.pos-header .pos-erp-return,.pos-header #pos-theme,.pos-header #pos-logout{background:#edf2e9;color:#47654e;border:1px solid var(--erp-search-border);text-decoration:none}.pos-header .pos-erp-return{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:41px;padding:0 13px;border-radius:8px;white-space:nowrap;font-size:13px;font-weight:700}.pos-header #pos-theme,.pos-header #pos-logout{width:48px;height:48px;min-height:0;flex:0 0 auto;display:grid;place-items:center;padding:0;border-radius:50%}.pos-header :is(.pos-erp-return,#pos-theme,#pos-logout):is(:hover,:focus-visible){background:#cbdcc2;color:#294831}.pos-return-short{display:none}:root[data-erp-theme=dark] .pos-header :is(.pos-erp-return,#pos-theme,#pos-logout){background:var(--erp-dark-raised);color:var(--erp-dark-accent)}:root[data-erp-theme=dark] .pos-header :is(.pos-erp-return,#pos-theme,#pos-logout):is(:hover,:focus-visible){background:var(--erp-dark-selected);color:var(--erp-dark-text)}.pos-catalog-erp{font-size:12px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}.pos-catalog-erp:hover{color:var(--text)}
