.invoice-option{margin:10px 0;padding:0}
.invoice-option>.invoice-check{width:calc((100% - 12px)/2);min-height:50px;padding:10px 8px;border:1px solid #c8d6ec;border-radius:11px;background:#f8fbff;font-size:13px;box-sizing:border-box}
.invoice-option>.invoice-check:has(input:checked){border-color:#2457ed;background:#edf2ff}
.invoice-option .invoice-check small{display:none}
@media(max-width:760px){.invoice-option>.invoice-check{width:calc((100% - 8px)/2);font-size:14px}}
.invoice-check{display:flex!important;align-items:center;gap:10px!important;cursor:pointer}
.invoice-check input[type=checkbox]{width:21px!important;height:21px!important;min-height:21px!important;flex:0 0 21px;margin:0;padding:0;accent-color:#2457ed}
.invoice-check small{display:block;font-size:12px;font-weight:400;margin-top:4px;color:#62718a}
.invoice-option button{margin-top:8px;border:0;background:none;color:#2457ed;cursor:pointer}
.invoice-option p{font-size:13px;margin:8px 0 0}
.invoice-dialog{width:520px;max-width:calc(100vw - 24px);max-height:90dvh;padding:22px;border:0;border-radius:20px;color:#17263d;box-sizing:border-box;overflow:auto}
.invoice-dialog::backdrop{background:rgb(15 23 42 / .5)}
.invoice-dialog h2{margin:0 0 16px;font-size:25px}
.invoice-dialog form>label{display:flex;flex-direction:column;gap:6px;margin-top:15px;font-size:15px;font-weight:600}
.invoice-dialog input:not([type=checkbox]),.invoice-dialog select,.invoice-dialog textarea{width:100%;box-sizing:border-box;min-height:44px;padding:10px;border:1px solid #cbd5e1;border-radius:9px;font:inherit;font-size:16px;color:#17263d;background:#fff}
.invoice-prices{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:16px;background:#eef7ff;border:1px solid #c9e2fa;border-radius:12px}
.invoice-prices span:last-child{grid-column:1/-1;border-top:1px solid #c9e2fa;padding-top:10px}
.invoice-prices b{display:block;font-size:24px;margin-top:5px;color:#17263d}
.invoice-dialog p{font-size:13px;line-height:1.6;margin:12px 0;color:#64748b}
.invoice-dialog .invoice-amount{font-size:17px;color:#17263d}.invoice-amount b{color:#2457ed}
.invoice-dialog details{margin:16px 0}.invoice-dialog summary{color:#2457ed;cursor:pointer;font-weight:600}
.invoice-dialog img{width:100%;height:auto;margin-top:12px;border:1px solid #ddd}
.invoice-actions{display:flex;gap:12px;margin-top:16px}.invoice-actions button{flex:1;min-height:46px;border:0;border-radius:10px;font-size:16px;font-weight:700;cursor:pointer;background:#edf1f7;color:#17263d}
.invoice-actions button[type=submit]{background:#2457ed;color:white}.invoice-dialog button:disabled{opacity:.5;cursor:wait}
.invoice-dialog .invoice-message{color:#a43b12}
@media(max-width:480px){.invoice-dialog{padding:18px}.invoice-dialog h2{font-size:23px}}

.invoice-dialog form>label.invoice-check{flex-direction:row}

.invoice-dialog-header{position:sticky;top:-22px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;margin:-22px -22px 16px;padding:16px 22px;border-bottom:1px solid #e2e8f0}
.invoice-dialog-header h2{margin:0}
.invoice-dialog-header button{flex:0 0 auto;min-width:80px;min-height:44px;border:1px solid #cbd5e1;border-radius:10px;background:#edf1f7;color:#17263d;font:inherit;font-weight:700;cursor:pointer}
.invoice-dialog-header button:focus-visible{outline:3px solid #2457ed;outline-offset:2px}
@media(max-width:480px){.invoice-dialog-header{top:-18px;margin:-18px -18px 16px;padding:12px 18px}}

.invoice-dialog textarea{resize:vertical;min-height:86px;line-height:1.5}
