.pos-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:22px;align-items:start}.pos-card{background:var(--paper,#fff);border:1px solid #e6d7d2;padding:24px;border-radius:20px;min-width:0}.pos-card label,.customer-dialog label{display:grid;gap:7px;margin:12px 0;font-size:14px;font-weight:600}.pos-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pos-line{padding:18px;margin:18px 0;background:#faf5f2;border:1px solid #e6d7d2;border-radius:14px}.pos-total,.pos-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0}.pos-total output{font-size:20px;font-weight:700}.pos-receipt{background:white;color:#111;max-width:700px;margin:24px auto;padding:30px;border:1px solid #ddd}.pos-receipt header{text-align:center}.pos-receipt img{border-radius:50%}.pos-receipt table{width:100%;border-collapse:collapse}.pos-receipt td,.pos-receipt th{padding:10px 4px;border-bottom:1px solid #ddd;text-align:left}.pos-receipt small{display:block}.pos-receipt dl div{display:flex;justify-content:space-between;margin:10px 0}.pos-receipt dd{margin:0}.pos-payment-line{font-size:13px}.customer-dialog{width:min(660px,94vw);max-height:88dvh;overflow:auto;border:1px solid #d4bba9;border-radius:20px;padding:24px;color:var(--ink);background:var(--paper)}.customer-dialog::backdrop{background:#24061399}.customer-search-control{margin:8px 0}.customer-add{margin-top:8px}.customer-directory article{padding:16px 0;border-bottom:1px solid #eadfd8}.pos-card .table-card{overflow:auto}.pos-card [hidden]{display:none!important}
@media(max-width:1000px){.pos-layout{grid-template-columns:1fr}.pos-card{padding:18px}.pos-summary{position:static}}
@media(max-width:600px){.pos-fields{grid-template-columns:1fr;gap:0}.pos-line{padding:12px}.pos-card input,.pos-card select,.customer-dialog input,.customer-dialog select{font-size:16px}.pos-actions .button{min-height:44px}.pos-receipt{padding:15px}.customer-dialog{padding:16px}.pos-no-print h1{font-size:28px}}
@media print{.section-pos .sidebar,.section-pos .mobile-admin-bar,.section-pos .sidebar-backdrop,.section-pos .desktop-menu-trigger,.section-pos footer,.section-pos .pos-no-print,.section-pos .notice,.section-pos dialog{display:none!important}.section-pos .admin-shell{display:block!important}.section-pos .admin-main{padding:0!important}.pos-receipt{margin:0;max-width:none;border:0;padding:8mm;font-size:11pt}.pos-receipt tr{break-inside:avoid}.pos-receipt thead{display:table-header-group}}

.receipt-shop{padding-bottom:20px;border-bottom:2px solid #481025;margin-bottom:20px}
.receipt-shop img{display:block;width:100px;height:100px;object-fit:contain;margin:0 auto 12px}
.receipt-shop h2{font-size:23px;margin:8px 0}.receipt-shop h3{font-size:16px;letter-spacing:.08em;margin:20px 0 8px}
.receipt-shop p{font-size:13px;line-height:1.5;margin:3px 0;white-space:normal;overflow-wrap:anywhere}
.pos-receipt td:last-child,.pos-receipt th:last-child{text-align:right}
.pos-receipt dl{border-top:2px solid #481025;padding-top:10px}.pos-receipt dl div:nth-child(3),.pos-receipt dl div:last-child{font-weight:700}
.receipt-thanks{text-align:center;border-top:1px solid #ddd;padding-top:18px;margin-top:24px}
@media print{.receipt-shop img{width:25mm;height:25mm}.receipt-shop{break-inside:avoid}.pos-receipt dl{break-inside:avoid}}
