.loc-dialog { background: #fff; border: 1px solid #c5ddd7; border-radius: 12px; box-shadow: 0 24px 80px #173e4638; box-sizing: border-box; color: #173e46; font: inherit; font-size: 15px; line-height: 1.55; margin: auto; max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: 24px; width: min(720px, calc(100vw - 32px)); }
.loc-dialog::backdrop { background: #173e4670; }
body.loc-dialog-open { overflow: hidden; }
.loc-dialog [hidden] { display: none !important; }
.loc-header { align-items: start; display: flex; gap: 16px; justify-content: space-between; }
.loc-header h2 { color: #173e46; font-size: 22px; line-height: 1.35; margin: 8px 0 16px; }
.loc-dialog .loc-close { flex: 0 0 44px; font-size: 26px; line-height: 1; padding: 0; width: 44px; }
.loc-section { border-bottom: 1px solid #deebe7; padding: 16px 0; }
.loc-section h3 { color: #173e46; font-size: 15px; margin: 0 0 12px; }
.loc-section address { font-style: normal; overflow-wrap: anywhere; white-space: pre-line; }
.loc-items { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.loc-items li { overflow-wrap: anywhere; }
.loc-quantity { color: #567077; display: block; font-size: 13px; margin: 3px 0; }
.loc-items summary { color: #0b5f4a; cursor: pointer; font-size: 13px; padding: 5px 0; }
.loc-item-meta { font-size: 13px; margin: 4px 0; }
.loc-item-meta > div { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.loc-item-meta dt { font-weight: 400; }
.loc-item-meta dd { margin: 0; white-space: pre-wrap; }
.loc-facts { display: grid; gap: 9px; margin: 0; }
.loc-facts > div { align-items: baseline; display: grid; gap: 16px; grid-template-columns: minmax(120px, 1fr) minmax(0, 1.7fr); }
.loc-facts dt { color: #567077; font-weight: 400; }
.loc-facts dd { font-variant-numeric: tabular-nums; font-weight: 600; margin: 0; overflow-wrap: anywhere; text-align: right; }
.loc-totals { background: #edf9f4; border: 1px solid #c5ddd7; border-radius: 7px; margin: 20px 0 16px; padding: 16px; }
.loc-facts .loc-pay-now { border-top: 1px solid #c5ddd7; font-size: 20px; margin-top: 5px; padding-top: 12px; }
.loc-pay-now dt, .loc-pay-now dd { color: #0b5f4a; font-weight: 700; }
.loc-notice, .loc-message { color: #45636a; margin: 16px 0; }
.loc-error { background: #fff7eb; border: 1px solid #ead4ae; border-radius: 7px; color: #794c16; padding: 12px 14px; }
.loc-terms { align-items: flex-start; display: flex; gap: 10px; margin: 18px 0; }
.loc-terms input { accent-color: #0b5f4a; flex: 0 0 20px; height: 20px; margin: 2px 0; width: 20px; }
.loc-dialog a { color: #0b5f4a; text-decoration: underline; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.loc-dialog .loc-button { background: #0b5f4a; border: 1px solid #0b5f4a; border-radius: 7px; box-shadow: none; color: #fff; cursor: pointer; font: inherit; font-weight: 600; min-height: 44px; padding: 11px 16px; text-align: center; }
.loc-dialog .loc-secondary { background: #fff; color: #0b5f4a; }
.loc-dialog .loc-button:disabled { background: #edf2f0; border-color: #d5e1dc; color: #647870; cursor: not-allowed; }
.loc-help { align-items: center; border-top: 1px solid #deebe7; display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; padding-top: 12px; }
.loc-help .loc-button { border: 0; font-size: 13px; padding: 8px 0; text-decoration: underline; }
.loc-view { font-size: 13px; }
.loc-dialog :is(button, a, input, summary):focus-visible { outline: 3px solid #46b997; outline-offset: 3px; }
.loc-checkout-disclosure { border-left: 3px solid #0b5f4a; color: #45636a; font-size: 13px; line-height: 1.6; margin: 16px 0; padding: 8px 12px; }
.lightsign-order-continuation-detail { color: #567077; display: block; font-size: 12px; margin-top: 4px; white-space: normal; }
@media (max-width: 600px) { .loc-dialog { max-height: calc(100dvh - 16px); padding: 18px 16px max(18px, env(safe-area-inset-bottom)); width: calc(100vw - 16px); } .loc-header h2 { font-size: 20px; } .loc-facts > div { gap: 3px; grid-template-columns: 1fr; } .loc-facts dd { text-align: left; } .loc-pay-now { grid-template-columns: 1fr 1fr !important; } .loc-pay-now dd { text-align: right; } .loc-actions > button { flex: 1 1 100%; } }
