.guest-bill { margin: 14px 0; overflow: hidden; border:1px solid var(--line); border-radius:12px; background:white; }
.guest-bill > summary, .guest-bill-actions button { display:flex; align-items:center; gap:8px; }
.guest-bill > summary { cursor:pointer; padding:13px; font-size:.94rem; font-weight:650; list-style:none; }
.guest-bill > summary::-webkit-details-marker { display:none; }
.guest-bill > summary .cu-icon:last-child { margin-left:auto; width:14px; }
.guest-bill[open] > summary .cu-icon:last-child { transform:rotate(180deg); }
.guest-bill-body { border-top:1px solid var(--line); padding:14px; }
.guest-bill-body [data-guest-content] { display:grid; gap:12px; }
.guest-bill-body small,.guest-bill-ticket p,.guest-bill-body p { display:block; color:var(--muted); font-size:.84rem; line-height:1.5; margin:0; overflow-wrap:anywhere; }
.guest-bill-heading { display:grid; gap:3px; }
.guest-bill-ticket h4 { font-size:.85rem; margin:0 0 5px; }
.guest-bill-ticket ul { padding:0; list-style:none; margin:0; }
.guest-bill-ticket li,.guest-bill-totals div { display:flex; justify-content:space-between; align-items:baseline; gap:8px; }
.guest-bill-ticket li span { min-width:0; overflow-wrap:anywhere; }
.guest-bill-ticket li { font-size:.9rem; padding:3px 0; }
.guest-bill-ticket b { flex:none; font-weight:550; }
.guest-bill-totals { display:grid; gap:6px; margin:0; padding-top:12px; border-top:1px dashed var(--line); font-size:.92rem; }
.guest-bill-totals dd { margin:0; font-variant-numeric:tabular-nums; }
.guest-bill-totals div:last-child { font-weight:700; }
.guest-bill-actions,.guest-visit-form,.guest-visit-form label { display:grid; gap:8px; min-width:0; }
.guest-bill-actions button { justify-content:center; white-space:normal; text-align:center; }
.guest-qr { display:grid; gap:9px; padding:12px; background:var(--paper); border-radius:9px; }
.guest-qr a { display:grid; justify-items:center; gap:6px; color:inherit; font-size:.87rem; }
.guest-qr img { display:block; width:min(100%,215px); height:auto; background:white; }
.guest-visit-form input { width:100%; min-height:44px; padding:8px 10px; border:1px solid var(--field-line); border-radius:7px; font:inherit; }
.visit-code { font-size:.85rem; } .visit-code summary { cursor:pointer; }
.visit-code code { display:block; margin:7px 0; font-size:.96rem; }
.guest-bill-message:not(:empty) { margin-top:8px; }
