.guest-bill-page{margin:0;background:#eff5f2;color:#142f26;font:16px/1.45 system-ui,sans-serif}.guest-bill-page main{max-width:820px;margin:auto;padding:16px}.guest-bill-page *,.guest-bill-modal *{box-sizing:border-box;min-width:0}.guest-bill-page h1{font-size:24px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.guest-bill-page header p{font-size:14px}.guest-notice{padding:12px;background:#dcece5;border-left:4px solid #097258}.guest-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.guest-bill-page button,.guest-bill-modal button{font:inherit;min-height:44px;border:1px solid #88aa9c;border-radius:8px;padding:9px 12px;background:#e6f1ec;color:#153b2d;cursor:pointer}.guest-primary{background:#096b54!important;color:white!important}.guest-bill-group{margin:12px 0;padding:12px;border:1px solid #9bb8ab;border-radius:10px;background:#fff;color:#142f26;break-inside:avoid}.guest-bill-group h2{margin:0;display:flex;justify-content:space-between;font-size:20px;gap:8px}.guest-bill-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px 0;border-bottom:1px solid #cfddd6}.guest-bill-item>div{display:grid;gap:4px;overflow-wrap:anywhere}.guest-bill-item small{font-size:13px;color:#4c665a}.guest-bill-item label{grid-column:1/-1;display:flex;gap:8px;align-items:center;justify-content:space-between}.guest-bill-item select,.guest-category select{min-height:44px;font:inherit;padding:6px;background:white;color:#142f26;border:1px solid #87a394;border-radius:6px}.guest-fixed{display:flex;justify-content:space-between;gap:8px}.guest-category{padding:12px;border:1px solid #9bb8ab;border-radius:8px}.guest-category summary{cursor:pointer;font-weight:700;min-height:36px}.guest-category label{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0}.guest-bill-modal{font:16px/1.45 system-ui,sans-serif;color:var(--text,#142f26);background:var(--surface,#fff);border:1px solid #8eab9d;border-radius:14px;width:min(640px,calc(100vw - 20px));max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px);padding:16px;overflow:auto;overscroll-behavior:contain}.guest-bill-modal::backdrop{background:#00150fcc}.guest-bill-modal h2{font-size:20px;margin:0 0 12px}.guest-bill-modal p{font-size:14px}.guest-bill-modal label{display:grid;gap:5px;margin:8px 0}.guest-bill-modal textarea{width:100%;min-height:90px;font:14px system-ui;overflow-wrap:anywhere}.guest-bill-modal video{width:100%;max-height:240px}.guest-bill-modal button{white-space:normal}.guest-qr{max-width:360px;margin:auto;background:white;color:black}.guest-qr svg{display:block;width:100%;height:auto}.guest-bill-error{color:#b62828;overflow-wrap:anywhere}.billing-document-actions{display:flex;flex-wrap:wrap;gap:6px;margin:5px 0}.billing-document-actions button{min-height:40px;font-size:13px!important;padding:6px 10px!important}.guest-bill-modal .guest-bill-group{font-size:15px}.guest-bill-modal [hidden]{display:none!important}#guestBillPrint{display:none}
@media print{body>*{display:none!important}body>#guestBillPrint,body.guest-bill-page>main{display:block!important;position:static!important;background:white;color:black;width:auto;max-width:none;padding:0;font:11pt/1.35 sans-serif}#guestBillPrint h1{font-size:18pt}.guest-bill-group{break-inside:avoid;border:1px solid #aaa;box-shadow:none}.guest-bill-page .guest-actions,.guest-bill-page .guest-category,.guest-bill-page label,.guest-bill-page .guest-notice,.guest-bill-page dialog{display:none!important}.guest-bill-item{grid-template-columns:1fr auto}.guest-bill-item label{display:none}.guest-bill-page header p{font-size:10pt}#guestBillPrint .guest-bill-group{color:black;background:white}}
.billing-document-menu{margin:4px 0;font-size:13px}.billing-document-menu>summary{cursor:pointer;min-height:32px;display:list-item;padding:6px}.guest-bill-modal select{min-height:44px}
@media print{html,body{height:auto!important;min-height:0!important;overflow:visible!important;position:static!important}#guestBillPrint{margin:0!important}}
#billingDialog .billing-dialog:not(.billing-payment-dialog):not(.billing-payment-result)>.billing-title-row{grid-template-columns:minmax(0,1fr) auto 38px;gap:8px}#billingDialog .billing-document-menu{position:relative;z-index:5;margin:0}#billingDialog .billing-document-menu>summary{min-height:38px;padding:9px 7px;border:1px solid var(--line);border-radius:7px;background:var(--surface-strong);font-weight:700;white-space:nowrap}#billingDialog .billing-document-menu>.billing-document-actions{position:absolute;right:0;top:100%;width:230px;max-width:calc(100vw - 40px);padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 5px 16px #0005;display:grid;margin-top:5px}#billingDialog .billing-document-menu:not([open])>.billing-document-actions{display:none}#billingDialog .billing-document-actions button{width:100%}
#billingDialog .billing-dialog:not(.billing-payment-dialog):not(.billing-payment-result)>.billing-title-row{grid-template-columns:minmax(0,1fr) auto 38px!important}#billingDialog .billing-dialog:not(.billing-payment-dialog):not(.billing-payment-result)>.billing-title-row>.billing-document-menu{grid-column:2;grid-row:1}#billingDialog .billing-dialog:not(.billing-payment-dialog):not(.billing-payment-result)>.billing-title-row>.icon-action{grid-column:3;grid-row:1}
#billingDialog .billing-document-menu>.billing-document-actions{right:auto;inset-inline-end:0}
#guestProposalNotice{position:fixed;z-index:710;inset-inline:12px;bottom:max(10px,env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);margin-inline:auto;min-height:46px;padding:10px 14px;border:2px solid #f4bc46;border-radius:9px;background:#164d3b;color:white;font:700 14px/1.3 system-ui;box-shadow:0 3px 20px #0005}.guest-inbox-row{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.guest-submit-message{padding:10px;border-left:3px solid #087c50}.guest-submit-message:empty{display:none}.guest-category h2{font-size:18px;margin:0 0 8px}.guest-payment-summary{font-size:13px;line-height:1.4;padding:6px;background:var(--surface-strong);border:1px solid var(--line);border-radius:6px}@media print{body.guest-bill-page>main{display:none!important}}
.guest-demo-banner{padding:10px 12px;border:2px solid #b57400;border-radius:8px;background:#fff1c9;color:#513700;font-size:14px;line-height:1.4}.guest-demo-amount{display:block;font-size:28px;margin:12px 0}.guest-demo-payment input{font:18px system-ui;width:100%;min-height:48px;padding:10px;border:1px solid #91aa9c;border-radius:8px}.guest-demo-payment [data-demo-result]{overflow-wrap:anywhere}.guest-category [data-guest-pay]{flex:1 1 100%;background:#e7f3eb;font-weight:700}
