.pos-table {
    width:100%;
    border-collapse:collapse;
    font-size:14px
}
.pos-table th,.pos-table td {
    padding:10px 8px;
    border-bottom:1px solid #eee;
    vertical-align:top
}
.pos-table thead th {
    background:#1f5f0a;
    color:#fff;
    position:sticky;
    top:0;
    z-index:1
}
.pos-striped tbody tr:nth-child(odd){
    background:#fafafa
}
.pos-order-group{
    background:#f0f5ed;
    font-weight:600;
    align-items:center;
    justify-content:space-between
}
.pos-order-group .label{padding:10px 8px}
.pos-badge{
    display:inline-block;
    padding:.25em .6em;
    border-radius:999px;
    background:#1e73be;
    color:#fff;
    font-size:12px
}
.pos-btn{
    display:inline-flex;
    align-items:center;
    gap:.4em;
    padding:.35em .7em;
    border:1px solid #ff0000;
    background:#e0e0e0;
    border-radius:8px;
    cursor:pointer;
    margin-right:8px;
    font-size:12px;
    color:black
}
.pos-btn:hover{
    background:#a1a1a1;
    color:black
}
.pos-debug{
    font:12px/1.4 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    background:#fef3c7;
    border:1px solid #f59e0b;
    color:#92400e;
    padding:8px 10px;
    margin:6px 0;
    border-radius:6px
}
.pos-modal-backdrop{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999
}
.pos-modal{
    background:#fff;
    width:min(1100px,96vw);
    max-height:86vh;
    overflow:auto;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.25)
}
.pos-modal header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 18px;
    border-bottom:1px solid #eee
}
.pos-modal header h3{margin:0;font-size:16px}
.pos-modal .pos-modal-body{padding:12px 18px}
.pos-kv{
    margin-bottom:12px;
    width:100%;
    border-collapse:collapse;
	font-size: 12px
}
.pos-kv th,.pos-kv td{
    padding:6px 8px;
    border-bottom:1px solid #f2f2f2;
    text-align:left;
    vertical-align:top
}
.pos-lines{width:100%;border-collapse:collapse}
.pos-lines th,.pos-lines td{
    padding:8px 10px;
    border-bottom:1px solid #f2f2f2;
    text-align:left;
    vertical-align:top
}
.pos-close{
    border:none;
    background:transparent;
    font-size:20px;
    cursor:pointer
}
tr.pos-order-row{font-size:12px}

thead.pos-lines-header {
    font-size: 12px;
	background-color: lightgray
}

tbody.pos-lines-row {
    font-size: 10px;
}