:root{--red:#bd1018;--red2:#8d080e;--dark:#171315;--yellow:#ffc928;--bg:#f5f2f3;--line:#e6dcde;--muted:#70666a;--green:#198754}*{box-sizing:border-box}.dp-pos-body{margin:0;background:var(--bg);color:var(--dark);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.dp-pos-body.admin-bar .dp-pos-header{top:32px}.dp-pos-app{min-height:100vh}.dp-pos-header{position:sticky;z-index:20;top:0;display:flex;min-height:76px;padding:10px clamp(18px,4vw,54px);align-items:center;justify-content:space-between;color:#fff;background:linear-gradient(110deg,#ca111a,#8c080e);box-shadow:0 8px 28px #59030833}.dp-pos-brand{display:flex;align-items:center;gap:12px;color:#fff!important;text-decoration:none!important}.dp-pos-brand img{width:110px;height:55px;object-fit:contain}.dp-pos-brand span,.dp-pos-brand strong,.dp-pos-brand small{display:block}.dp-pos-brand strong{font-size:21px;line-height:1}.dp-pos-brand small{margin-top:3px;color:#ffffffb8;font-size:10px;letter-spacing:.09em}.dp-pos-connection{display:flex;padding:8px 12px;align-items:center;gap:7px;border:1px solid #ffffff38;border-radius:99px;font-size:12px;font-weight:800;background:#4d00042e}.dp-pos-connection span{width:8px;height:8px;border-radius:50%;background:var(--yellow)}.dp-pos-connection.is-online span{background:#52d78b}.dp-pos-main{width:min(1420px,calc(100% - 36px));margin:auto;padding:38px 0 70px}.dp-pos-kicker{display:inline-block;margin-bottom:8px;color:var(--red);font-size:11px;font-weight:950;letter-spacing:.12em}.dp-pos-pair{display:grid;max-width:980px;margin:20px auto;grid-template-columns:1fr 380px;gap:60px;align-items:center}.dp-pos-pair-copy h1,.dp-pos-welcome h1{margin:0 0 18px;font-size:clamp(34px,4.6vw,55px);font-weight:950;letter-spacing:-.045em;line-height:1.04}.dp-pos-pair-copy>p{color:var(--muted);font-size:18px}.dp-pos-pair-copy ol{margin:28px 0;padding:0;counter-reset:pair;list-style:none}.dp-pos-pair-copy li{position:relative;min-height:40px;margin:13px 0;padding:7px 0 0 50px;font-weight:700}.dp-pos-pair-copy li:before{position:absolute;top:0;left:0;display:grid;width:36px;height:36px;border-radius:11px;counter-increment:pair;content:counter(pair);place-items:center;color:#fff;background:var(--red);font-size:12px}.dp-pos-code-card{padding:28px;border:1px solid var(--line);border-radius:28px;text-align:center;background:#fff;box-shadow:0 25px 65px #3d1d2121}.dp-pos-code{display:grid;min-height:260px;padding:13px;border:1px solid #eee;border-radius:19px;place-items:center}.dp-pos-code img,.dp-pos-code canvas{max-width:100%;height:auto!important}.dp-pos-code-card p{margin:19px 0 2px;color:var(--muted);font-size:11px;font-weight:850;letter-spacing:.1em}.dp-pos-code-card>strong{display:block;color:var(--red);font-size:31px;letter-spacing:.18em}.dp-pos-code-card>small{display:block;margin-top:6px;color:var(--muted)}button,input,select,textarea{font:inherit}.dp-pos-primary,.dp-pos-secondary,.dp-pos-danger,.dp-pos-danger-outline{min-height:44px;padding:10px 17px;border-radius:12px;font-weight:850;cursor:pointer}.dp-pos-primary{border:1px solid var(--red);color:#fff;background:var(--red)}.dp-pos-primary:hover{background:var(--red2)}.dp-pos-secondary{border:1px solid #d9cdd0;color:#4b3e42;background:#fff}.dp-pos-secondary:hover{border-color:var(--red);color:var(--red)}.dp-pos-danger{border:1px solid #7b080d;color:#fff;background:#7b080d}.dp-pos-danger-outline{border:1px solid #d9a9ac;color:#a30b12;background:#fff}.dp-pos-full{width:100%}button:disabled{cursor:not-allowed;opacity:.45}.dp-pos-welcome{display:flex;margin-bottom:20px;align-items:center;justify-content:space-between;gap:20px}.dp-pos-welcome h1{margin-bottom:5px;font-size:clamp(29px,3vw,42px)}.dp-pos-welcome p{margin:0;color:var(--muted)}.dp-pos-setup{margin-bottom:18px;padding:16px 20px;border-radius:16px;color:#fff;background:linear-gradient(125deg,var(--red),#78060c)}.dp-pos-setup-head{display:flex;align-items:end;justify-content:space-between}.dp-pos-setup-head h2{margin:0 0 3px;color:#fff;font-size:16px}.dp-pos-setup-head p{margin:0;color:#ffffffb8;font-size:11px}.dp-pos-progress{height:6px;margin-top:12px;overflow:hidden;border-radius:99px;background:#ffffff2b}.dp-pos-progress span{display:block;height:100%;background:var(--yellow)}.dp-pos-nav{display:flex;margin-bottom:18px;padding:7px;gap:5px;overflow:auto;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 8px 26px #351c1f0a}.dp-pos-nav button{display:flex;min-width:105px;padding:10px 15px;align-items:center;justify-content:center;gap:8px;border:0;border-radius:11px;color:#65585c;background:transparent;font-weight:850;cursor:pointer}.dp-pos-nav button b{font-size:13px}.dp-pos-nav button.is-active{color:#fff;background:var(--red);box-shadow:0 8px 18px #9b081133}.dp-pos-workspace{min-height:440px}.dp-pos-hero-grid{display:grid;margin-bottom:18px;grid-template-columns:repeat(3,1fr);gap:14px}.dp-pos-metric{padding:21px;border:1px solid var(--line);border-radius:19px;background:#fff}.dp-pos-metric small,.dp-pos-metric span,.dp-pos-metric strong{display:block}.dp-pos-metric small{color:var(--muted);font-weight:750}.dp-pos-metric strong{margin:7px 0;font-size:29px}.dp-pos-metric span{color:var(--muted);font-size:11px}.dp-pos-metric.is-positive{border-color:#b9dfcb;background:#f4fff8}.dp-pos-metric.is-warning{border-color:#f0d889;background:#fffbed}.dp-pos-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.dp-pos-panel{padding:20px;border:1px solid var(--line);border-radius:20px;background:#fff}.dp-pos-panel-head,.dp-pos-section-title{display:flex;margin-bottom:16px;align-items:center;justify-content:space-between;gap:16px}.dp-pos-panel-head h2,.dp-pos-section-title h2{margin:0;font-size:20px}.dp-pos-panel-head p,.dp-pos-section-title p{margin:3px 0 0;color:var(--muted);font-size:12px}.dp-pos-section-title h2{font-size:30px}.dp-pos-list{display:grid;gap:8px}.dp-pos-list-row{display:flex;width:100%;padding:12px;border:1px solid #eee7e8;border-radius:12px;align-items:center;justify-content:space-between;gap:10px;background:#fff;text-align:left}.dp-pos-list-row strong,.dp-pos-list-row small{display:block}.dp-pos-list-row small{margin-top:3px;color:var(--muted);font-size:10px}.dp-pos-list-row.is-button{cursor:pointer}.dp-pos-list-row.is-button:hover{border-color:#d5aeb1}.dp-pos-icon-button{width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}.dp-pos-mini-modules{display:grid;grid-template-columns:1fr 1fr;gap:9px}.dp-pos-mini-modules>div{display:flex;padding:10px;align-items:center;gap:9px;border-radius:11px;background:#f9f6f7}.dp-pos-mini-modules b{display:grid;width:27px;height:27px;border-radius:8px;place-items:center;color:#fff;background:var(--red)}.dp-pos-mini-modules strong,.dp-pos-mini-modules small{display:block}.dp-pos-mini-modules strong{font-size:12px}.dp-pos-mini-modules small{margin-top:2px;color:var(--muted);font-size:9px}.dp-pos-status{display:inline-flex;padding:5px 8px;border-radius:99px;color:#774c00;background:#fff0b8;font-size:9px;font-weight:900;white-space:nowrap}.dp-pos-status.is-preparing{color:#9a4c00;background:#ffe7cd}.dp-pos-status.is-ready,.dp-pos-status.is-done{color:#12643b;background:#d9f7e8}.dp-pos-status.is-cancelled{color:#7c6d71;background:#eee9ea}.dp-pos-alert{display:flex;margin-bottom:15px;padding:16px 19px;align-items:center;justify-content:space-between;border:1px solid #f0d889;border-radius:15px;background:#fffbed}.dp-pos-alert strong{font-size:14px}.dp-pos-alert p{margin:3px 0 0;color:#7f6b2a;font-size:11px}.dp-pos-sale-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:16px}.dp-pos-catalog,.dp-pos-cart{padding:20px;border:1px solid var(--line);border-radius:20px;background:#fff}.dp-pos-cart{align-self:start;position:sticky;top:96px}.dp-pos-catalog-tools{display:grid;margin-bottom:15px;gap:12px}.dp-pos-catalog-tools>label span{display:block;margin-bottom:5px;color:var(--muted);font-size:10px;font-weight:850}.dp-pos-catalog-tools input,.dp-pos-field input,.dp-pos-field select,.dp-pos-field textarea,.dp-pos-inline-form input,.dp-pos-inline-form select{width:100%;min-height:44px;padding:10px 12px;border:1px solid #d8cdd0;border-radius:11px;background:#fff}.dp-pos-category-chips{display:flex;gap:7px;overflow:auto}.dp-pos-category-chips button{padding:8px 12px;border:1px solid var(--line);border-radius:99px;background:#fff;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer}.dp-pos-category-chips button.is-active{border-color:var(--red);color:#fff;background:var(--red)}.dp-pos-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.dp-pos-product{display:flex;min-height:105px;padding:11px;align-items:center;gap:11px;border:1px solid #eee6e8;border-radius:15px;background:#fff;text-align:left;cursor:pointer}.dp-pos-product:hover{border-color:#cf9296;box-shadow:0 8px 18px #5b292d12}.dp-pos-product img,.dp-pos-product-image{display:grid;width:67px;height:67px;flex:0 0 67px;border-radius:11px;object-fit:cover;place-items:center;color:#fff;background:linear-gradient(140deg,var(--red),#f05b63);font-weight:900}.dp-pos-product span small,.dp-pos-product span strong,.dp-pos-product span b{display:block}.dp-pos-product span small{color:var(--muted);font-size:9px}.dp-pos-product span strong{margin:4px 0;font-size:12px}.dp-pos-product span b{color:var(--red);font-size:10px}.dp-pos-cart-items{display:grid;max-height:390px;gap:8px;overflow:auto}.dp-pos-cart-item{display:flex;padding:10px;border-radius:11px;justify-content:space-between;gap:8px;background:#f8f5f6}.dp-pos-cart-item strong,.dp-pos-cart-item small{display:block}.dp-pos-cart-item strong{font-size:12px}.dp-pos-cart-item small{margin-top:2px;color:var(--muted);font-size:9px}.dp-pos-cart-item>span{text-align:right}.dp-pos-cart-item>span b{display:block;color:var(--red);font-size:11px}.dp-pos-cart-item button{margin-top:4px;border:0;color:#9c777b;background:transparent;cursor:pointer}.dp-pos-cart-total{display:flex;margin:15px 0;padding:14px 0;border-top:1px dashed #d9cccf;border-bottom:1px dashed #d9cccf;align-items:center;justify-content:space-between}.dp-pos-cart-total strong{font-size:22px}.dp-pos-field{display:block;margin:12px 0}.dp-pos-field>span{display:block;margin-bottom:5px;color:#56494d;font-size:11px;font-weight:850}.dp-pos-ticket-grid,.dp-pos-kitchen-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.dp-pos-ticket-card,.dp-pos-kitchen-card{padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 7px 22px #351c1f0b}.dp-pos-ticket-head,.dp-pos-kitchen-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.dp-pos-ticket-head small,.dp-pos-kitchen-card header small{color:var(--red);font-size:9px;font-weight:900;letter-spacing:.1em}.dp-pos-ticket-head h3,.dp-pos-kitchen-card h3{margin:3px 0 0;font-size:19px}.dp-pos-ticket-card>p,.dp-pos-kitchen-customer{color:var(--muted);font-size:10px}.dp-pos-ticket-items,.dp-pos-kitchen-items{display:grid;min-height:75px;padding:11px;gap:4px;border-radius:11px;background:#f8f5f6;font-size:11px}.dp-pos-ticket-items span{display:block}.dp-pos-ticket-total{display:flex;padding:13px 0;justify-content:space-between}.dp-pos-ticket-actions,.dp-pos-kitchen-card footer{display:flex;gap:7px;flex-wrap:wrap}.dp-pos-ticket-actions button,.dp-pos-kitchen-card footer button{flex:1;font-size:10px}.dp-pos-kitchen-card{border-top:5px solid #e2bc36}.dp-pos-kitchen-card.is-preparing{border-top-color:#ef8623}.dp-pos-kitchen-card.is-ready{border-top-color:#20a564}.dp-pos-kitchen-items{min-height:130px;margin:13px 0}.dp-pos-kitchen-items div{padding-bottom:7px;border-bottom:1px solid #eadfe1}.dp-pos-kitchen-items strong,.dp-pos-kitchen-items small{display:block}.dp-pos-kitchen-items small{margin-top:3px;color:var(--muted);font-size:9px}.dp-pos-awaiting{display:flex;align-items:center;color:#9a4c00;font-size:10px;font-weight:850}.dp-pos-cash-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.dp-pos-cash-summary{display:grid;grid-column:1/-1;grid-template-columns:repeat(3,1fr);gap:1px;overflow:hidden;border-radius:18px;background:#ddd}.dp-pos-cash-summary>div{padding:21px;background:linear-gradient(145deg,#b50d15,#85070d);color:#fff}.dp-pos-cash-summary small,.dp-pos-cash-summary strong,.dp-pos-cash-summary span{display:block}.dp-pos-cash-summary strong{margin:7px 0;font-size:25px}.dp-pos-cash-summary span{color:#ffffffb8;font-size:10px}.dp-pos-payment-summary{display:grid;gap:9px}.dp-pos-payment-summary div,.dp-pos-event-list>div{display:flex;padding:11px;border-radius:10px;align-items:center;justify-content:space-between;background:#f8f5f6;font-size:11px}.dp-pos-inline-form{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dp-pos-inline-form input[name=note],.dp-pos-inline-form button{grid-column:span 1}.dp-pos-event-list{display:grid;margin-top:12px;gap:6px}.dp-pos-event-list strong,.dp-pos-event-list small{display:block}.dp-pos-event-list time,.dp-pos-event-list small{color:var(--muted);font-size:9px}.dp-pos-centered-card{max-width:520px;margin:30px auto;padding:35px;border:1px solid var(--line);border-radius:24px;text-align:center;background:#fff}.dp-pos-centered-card>p{color:var(--muted)}.dp-pos-big-icon{display:grid;width:70px;height:70px;margin:0 auto 18px;border-radius:22px;place-items:center;color:#fff;background:var(--red);font-size:20px;font-weight:950}.dp-pos-training{display:grid;grid-template-columns:1fr 1.1fr;gap:15px}.dp-pos-training-copy,.dp-pos-training-stage,.dp-pos-training-list{padding:26px;border:1px solid var(--line);border-radius:20px;background:#fff}.dp-pos-training-copy h2{font-size:30px}.dp-pos-training-copy p,.dp-pos-training-stage p{color:var(--muted)}.dp-pos-training-progress{height:8px;margin:25px 0 8px;overflow:hidden;border-radius:99px;background:#eee}.dp-pos-training-progress span{display:block;height:100%;background:var(--red)}.dp-pos-training-stage{background:linear-gradient(145deg,#bd1018,#7c060c);color:#fff}.dp-pos-training-stage>span{display:grid;width:50px;height:50px;border-radius:16px;place-items:center;color:var(--dark);background:var(--yellow);font-weight:950}.dp-pos-training-stage h3{font-size:27px}.dp-pos-training-stage p{color:#ffffffc7}.dp-pos-training-stage>div{display:flex;gap:8px}.dp-pos-training-list{display:grid;grid-column:1/-1;grid-template-columns:repeat(5,1fr);gap:8px}.dp-pos-training-list button{display:flex;padding:10px;gap:8px;border:1px solid var(--line);border-radius:12px;background:#fff;text-align:left;cursor:pointer}.dp-pos-training-list button>b{display:grid;width:26px;height:26px;flex:0 0 26px;border-radius:8px;place-items:center;color:#fff;background:#9a8f92}.dp-pos-training-list button.is-active{border-color:var(--red);background:#fff5f6}.dp-pos-training-list button.is-active>b,.dp-pos-training-list button.is-done>b{background:var(--red)}.dp-pos-training-list strong,.dp-pos-training-list small{display:block}.dp-pos-training-list strong{font-size:10px}.dp-pos-training-list small{margin-top:2px;color:var(--muted);font-size:8px}.dp-pos-modal[hidden]{display:none}.dp-pos-modal{position:fixed;z-index:100;inset:0;display:grid;padding:20px;place-items:center}.dp-pos-modal-backdrop{position:absolute;inset:0;background:#16070ad9;backdrop-filter:blur(3px)}.dp-pos-modal-card{position:relative;width:min(620px,100%);max-height:90vh;padding:28px;overflow:auto;border-radius:22px;background:#fff;box-shadow:0 30px 90px #0006}.dp-pos-modal-close{position:absolute;top:13px;right:13px;display:grid;width:38px;height:38px;border:0;border-radius:50%;place-items:center;color:#675a5e;background:#f1edef;font-size:24px;cursor:pointer}.dp-pos-modal-card h2{margin:0 40px 6px 0;font-size:27px}.dp-pos-modal-description{color:var(--muted);font-size:12px}.dp-pos-modal-card fieldset{margin:18px 0;padding:0;border:0}.dp-pos-modal-card legend{margin-bottom:8px;font-size:12px;font-weight:900}.dp-pos-modal-card legend small{color:var(--muted);font-weight:500}.dp-pos-options{display:grid;grid-template-columns:1fr 1fr;gap:7px}.dp-pos-option input{position:absolute;opacity:0}.dp-pos-option span{display:flex;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:10px;align-items:center;justify-content:space-between;font-size:11px;cursor:pointer}.dp-pos-option input:checked+span{border-color:var(--red);color:var(--red);background:#fff1f2}.dp-pos-option b{font-size:9px}.dp-pos-modal-actions{display:flex;margin-top:20px;justify-content:flex-end;gap:8px}.dp-pos-modal-open{overflow:hidden}.dp-pos-loading{display:flex;min-height:360px;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-weight:750}.dp-pos-loading span{width:22px;height:22px;border:3px solid #eadfe1;border-top-color:var(--red);border-radius:50%;animation:spin .8s linear infinite}.dp-pos-empty{padding:30px 12px;color:var(--muted);font-size:12px;text-align:center}.dp-pos-empty-wide{grid-column:1/-1}.dp-pos-message{position:fixed;z-index:150;right:22px;bottom:22px;max-width:410px;padding:14px 18px;border-radius:13px;color:#fff;background:#2a2225;box-shadow:0 15px 40px #0004;font-size:13px;font-weight:700}.dp-pos-message.is-error{background:#9f0b12}.dp-pos-footer{padding:20px;color:#7c7073;background:#ebe6e7;font-size:11px;text-align:center}.dp-pos-receipt{display:none}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1100px){.dp-pos-product-grid,.dp-pos-ticket-grid,.dp-pos-kitchen-grid{grid-template-columns:repeat(2,1fr)}.dp-pos-sale-layout{grid-template-columns:minmax(0,1fr) 310px}}
@media(max-width:820px){.dp-pos-body.admin-bar .dp-pos-header{top:46px}.dp-pos-header{padding:8px 14px}.dp-pos-brand img{width:83px}.dp-pos-brand span{display:none}.dp-pos-connection{font-size:9px}.dp-pos-main{width:calc(100% - 22px);padding-top:25px}.dp-pos-pair{grid-template-columns:1fr;gap:25px}.dp-pos-code-card{max-width:380px;margin:auto}.dp-pos-welcome{align-items:flex-start;flex-direction:column}.dp-pos-hero-grid,.dp-pos-columns,.dp-pos-sale-layout,.dp-pos-cash-grid,.dp-pos-training{grid-template-columns:1fr}.dp-pos-cart{position:static}.dp-pos-cash-summary{grid-template-columns:1fr}.dp-pos-training-list{grid-template-columns:1fr 1fr}.dp-pos-product-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.dp-pos-nav button{min-width:82px;padding:9px}.dp-pos-nav button span{font-size:10px}.dp-pos-setup{display:none}.dp-pos-product-grid,.dp-pos-ticket-grid,.dp-pos-kitchen-grid{grid-template-columns:1fr}.dp-pos-section-title{align-items:flex-start;flex-direction:column}.dp-pos-section-title>button{width:100%}.dp-pos-product{min-height:88px}.dp-pos-product img,.dp-pos-product-image{width:56px;height:56px;flex-basis:56px}.dp-pos-training-list{grid-template-columns:1fr}.dp-pos-options{grid-template-columns:1fr}.dp-pos-inline-form{grid-template-columns:1fr}.dp-pos-inline-form>*{grid-column:1!important}}
@media print{body>*{display:none!important}.dp-pos-app{display:block!important}.dp-pos-header,.dp-pos-main>section:not(.dp-pos-receipt),.dp-pos-message,.dp-pos-footer{display:none!important}.dp-pos-receipt{display:block!important;width:76mm;margin:0;padding:4mm;color:#000;background:#fff;font:12px/1.35 monospace}.dp-pos-receipt-brand{text-align:center}.dp-pos-receipt-brand strong,.dp-pos-receipt-brand span{display:block}.dp-pos-receipt h1{font-size:17px;text-align:center}.dp-pos-receipt hr{border:0;border-top:1px dashed #000}.dp-pos-receipt-item,.dp-pos-receipt-total{display:flex;justify-content:space-between;gap:10px}.dp-pos-receipt small{display:block}.dp-pos-receipt-total{font-size:15px}.dp-pos-main{width:auto;padding:0}}
.dp-pos-barcode-field{padding:12px;border:1px solid #efc2c5;border-radius:14px;background:#fff4f5}.dp-pos-barcode-field span{color:var(--red)!important;font-size:11px!important}.dp-pos-barcode-field input{border-color:#d8999d!important;background:#fff!important}.dp-pos-barcode-field input:focus{outline:3px solid #bd101822;border-color:var(--red)!important}.dp-pos-cash-help{margin-top:10px;padding:10px;border-radius:10px;color:#725b10;background:#fff7d7;font-size:10px;line-height:1.45}
