[data-sms-billing] { margin: 24px 0; padding: 24px; border: 1px solid #dcdad5; border-radius: 12px; background: #fff; color: #111; }
[data-sms-billing] * { box-sizing: border-box; }
[data-sms-billing] h3 { margin: 0 0 12px; font-size: 23px; line-height: 1.25; }
[data-sms-billing] p { margin: 0 0 18px; }
[data-sms-billing] .billing-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 24px; margin: 24px 0; }
[data-sms-billing] label { display: flex; flex-direction: column; gap: 8px; min-width: 0; font-weight: 650; font-size: 15px; line-height: 1.4; }
[data-sms-billing] label small { display: block; font-size: 13px; line-height: 1.5; font-weight: 400; color: #575754; }
[data-sms-billing] input,[data-sms-billing] select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #bcbdbb; border-radius: 6px; background: white; color: #111; font: inherit; font-size: 16px; }
[data-sms-billing] input:focus-visible,[data-sms-billing] select:focus-visible,[data-sms-billing] button:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
[data-sms-billing] .billing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px 0 0; }
[data-sms-billing] button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; max-width: 100%; padding: 12px 17px; border: 1px solid #111; border-radius: 6px; background: #111; color: white; font: inherit; font-weight: 650; font-size: 14px; line-height: 1.35; text-align: center; cursor: pointer; }
[data-sms-billing] button.secondary { background: white; color: #111; border-color: #c4c4c0; }
[data-sms-billing] button:disabled { opacity: .45; cursor: default; }
[data-sms-billing] [data-billing-error]:empty { display: none; }
[data-sms-billing] [data-billing-error] { color: #8b2020; margin: 18px 0 0; }
[data-sms-billing] [data-billing-output] { margin-top: 28px; padding-top: 24px; border-top: 1px solid #deddd8; }
[data-sms-billing] [hidden] { display: none !important; }
[data-sms-billing] .billing-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin: 20px 0; }
[data-sms-billing] .billing-results h4 { font-size: 18px; line-height: 1.3; margin: 0 0 16px; }
[data-sms-billing] dl { margin: 0; }
[data-sms-billing] dt { color: #5c5c58; font-size: 14px; line-height: 1.5; margin: 16px 0 5px; }
[data-sms-billing] dd { margin: 0; font-size: 21px; line-height: 1.35; font-weight: 650; overflow-wrap: anywhere; }
[data-sms-billing] .billing-footnote { font-size: 14px; line-height: 1.65; color: #52524e; margin-top: 20px; }
@media(max-width: 660px) {
 [data-sms-billing] { padding: 20px; }
 [data-sms-billing] .billing-fields,[data-sms-billing] .billing-results { grid-template-columns: 1fr; gap: 20px; }
 [data-sms-billing] .billing-results>div+div { border-top: 1px solid #deddd8; padding-top: 20px; }
 [data-sms-billing] button { flex: 1 1 100%; }
}
.sms-event-matrix { container-type: inline-size; width: 100%; max-width: 100%; overflow: visible !important; }
.sms-event-matrix table { width: 100%; min-width: 0 !important; }
.sms-event-matrix th,.sms-event-matrix td { vertical-align: top; white-space: normal; }
@container (max-width: 600px) {
 .sms-event-table,.sms-event-table tbody,.sms-event-table tr,.sms-event-table th,.sms-event-table td { display: block; width: auto; min-width: 0 !important; }
 .sms-event-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
 #article .sms-event-table tr { padding: 16px; border: 0; border-top: 1px solid #deddd8; }
 #article .sms-event-table tr:first-child { border-top: 0; }
 #article .sms-event-table th[scope="row"] { padding: 0 0 10px; border: 0; text-align: left; background: transparent; }
 #article .sms-event-table td { padding: 6px 0; border: 0; background: transparent; }
 .sms-event-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; color: #555550; font-weight: 650; font-size: 14px; }
}
