/* Push quota and purchasing. Uses the existing DELOR blue / yellow palette. */
.push-overview { position: relative; display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr auto; align-items: center; gap: 16px; margin: -8px 0 27px; padding: 17px 20px 13px; background: #d5e1f8; border: 1px solid #b2c7e9; border-radius: 11px; overflow: hidden; }
.push-overview-identity { display: flex; align-items: center; gap: 11px; min-width: 0; }
.push-channel-icon { width: 34px; height: 38px; display: grid; place-items: center; flex-shrink: 0; border-radius: 5px 10px 10px 10px; background: #001774; color: #ffeb13; }
.push-channel-icon .icon { width: 18px; height: 18px; }
.push-overview h2 { font-size: var(--type-small); font-weight: 750; color: #001774; margin: 0; }
.push-overview-identity p { font-size: var(--type-small); color: #566f9c; margin: 5px 0 0; }
.push-overview-metric strong { display: block; font-size: 23px; font-weight: 650; line-height: 1.2; letter-spacing: -.7px; font-variant-numeric: tabular-nums; }
.push-overview-metric span { display: block; font-size: var(--type-small); color: #566f9c; margin-top: 5px; }
.push-overview-last > span { display: block; font-size: var(--type-small); color: #566f9c; }
.push-overview-last > strong { display: block; font-size: var(--type-small); font-weight: 650; margin-top: 5px; white-space: nowrap; }
.push-overview-last > small { display: block; font-size: var(--type-small); color: #566f9c; margin-top: 2px; }
.push-topup-link { display: inline-flex; gap: 9px; align-items: center; color: #001774; background: #ffeb13; border-radius: 7px; padding: 10px 12px; font-size: var(--type-small); font-weight: 750; }
.push-topup-link:hover { color: #001774; background: #fff36c; }
.push-overview-footer { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; border-top: 1px solid #b6c8e9; padding-top: 9px; color: #5c759d; font-size: var(--type-small); }
.push-overview-footer a { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: #001774; }
.push-quota-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #c1d2f0; }
.push-quota-progress > span { display: block; height: 100%; background: #001774; }
.push-quota-progress[hidden] { display: none; }
.push-center { color: #001774; }
.push-account { padding: 19px 23px 15px; background: #d2dff6; border: 1px solid #b0c5e7; border-radius: 13px; }
.push-account-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.push-account-heading h2 { font-size: var(--type-body); font-weight: 700; }
.push-account-heading > span { font-size: var(--type-small); color: #536c99; }
.push-account-metrics { display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 20px; margin-top: 17px; }
.push-account-metrics > div + div { border-left: 1px solid #aec2e5; padding-left: 22px; }
.push-account-metrics strong { display: block; font-size: 29px; font-weight: 600; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.push-account-metrics span { display: block; font-size: var(--type-small); color: #546d99; margin-top: 6px; }
.push-account-metrics > div:last-child strong { font-size: 16px; letter-spacing: -.4px; padding-top: 9px; }
#push-account-note { font-size: var(--type-small); color: #536c97; border-top: 1px solid #b4c7e7; margin: 17px 0 0; padding-top: 10px; }
.push-purchase-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 29px 0 17px; }
.push-purchase-heading h2 { font-size: 24px; letter-spacing: -.8px; font-weight: 700; margin: 7px 0 0; }
.push-mode-switch { display: flex; gap: 3px; padding: 4px; border: 1px solid #b0c4e6; border-radius: 9px; background: #cedcf6; }
.push-mode-switch button { border: 0; background: transparent; color: #526a96; font-size: var(--type-small); padding: 9px 13px; border-radius: 6px; white-space: nowrap; }
.push-mode-switch button[aria-pressed="true"] { color: #ffeb13; background: #001774; }
.push-mode-switch button span { font-size: 17px; margin-left: 7px; line-height: .5; vertical-align: -1px; }
.push-purchase-layout { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(260px,1fr); gap: 19px; align-items: stretch; }
.push-configurator { min-width: 0; padding: 24px; background: #edf3ff; border: 1px solid #b3c7e8; border-radius: 13px; }
.push-configurator h3 { font-size: var(--type-body); font-weight: 750; margin: 0 0 20px; }
.push-presets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.push-presets button { position: relative; text-align: left; border: 1px solid #b2c5e5; border-radius: 9px; background: #dce7fa; padding: 20px 13px 15px; min-width: 0; color: #001774; }
.push-presets button strong { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.8px; white-space: nowrap; }
.push-presets button span { display: block; font-size: var(--type-small); color: #5f76a0; margin: 5px 0 19px; }
.push-presets button small { display: block; font-size: var(--type-small); color: #506a97; white-space: nowrap; }
.push-presets button em { display: none; }
.push-presets button[aria-pressed="true"] { background: #001774; border-color: #001774; color: #ffeb13; }
.push-presets button[aria-pressed="true"] span,.push-presets button[aria-pressed="true"] small { color: #b4c7f3; }
.push-presets button[aria-pressed="true"]::after { content: 'ВЫБРАНО'; position: absolute; right: 9px; top: -7px; border-radius: 3px; padding: 3px 5px; background: #ffeb13; color: #001774; font-size: var(--type-small); font-weight: 800; letter-spacing: .5px; }
.push-custom-quantity { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 24px; }
.push-custom-quantity label { font-size: var(--type-small); font-weight: 650; }
.push-custom-quantity p { font-size: var(--type-small); color: #5c749e; margin: 5px 0 0; }
.push-stepper { display: flex; align-items: center; background: #dce7fa; border: 1px solid #adc1e4; border-radius: 7px; min-width: 0; }
.push-stepper button { width: 33px; height: 38px; border: 0; color: #001774; font-size: 18px; background: transparent; flex-shrink: 0; }
.push-stepper button:disabled { opacity: .35; }
.push-stepper input { width: 86px; min-width: 0; font-size: var(--type-body); font-weight: 650; text-align: center; color: #001774; background: transparent; padding: 7px 2px; border: 0; outline-offset: 2px; appearance: textfield; }
.push-stepper input::-webkit-inner-spin-button,.push-stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.push-package-detail { display: flex; align-items: flex-start; gap: 7px; border-top: 1px solid #c1d1ec; padding-top: 16px; margin-top: 23px; color: #506a97; font-size: var(--type-small); line-height: 1.8; }
.push-package-detail .icon { flex-shrink: 0; width: 14px; height: 14px; margin-top: 2px; color: #287964; }
.push-demo-prices { color: #7587a8; font-size: var(--type-small); margin: 17px 0 0; }
.push-unlimited-intro { display: flex; align-items: center; gap: 22px; padding: 13px 0 20px; }
.push-unlimited-intro > span { font-size: 88px; line-height: 1; color: #001774; letter-spacing: -7px; }
.push-unlimited-intro h4 { font-size: 22px; letter-spacing: -.7px; font-weight: 700; }
.push-unlimited-intro p { font-size: var(--type-small); color: #5a739e; margin-top: 10px; line-height: 1.8; }
.push-unlimited-features { display: flex; gap: 20px; flex-wrap: wrap; color: #425f90; font-size: var(--type-small); }
.push-unlimited-features span { display: flex; align-items: center; gap: 6px; }
.push-unlimited-features .icon { width: 13px; height: 13px; color: #287964; }
.push-checkout { padding: 23px; border: 1px solid #8ea8d8; border-radius: 13px; background: #c8d9f5; min-width: 0; }
.push-checkout h3 { font-size: 21px; font-weight: 700; letter-spacing: -.6px; margin: 10px 0 5px; }
#push-checkout-detail { color: #506b99; font-size: var(--type-small); }
.push-checkout-line { display: flex; justify-content: space-between; gap: 9px; border-top: 1px solid #a4bde3; border-bottom: 1px solid #a4bde3; padding: 14px 0; margin-top: 20px; font-size: var(--type-small); color: #46618f; }
.push-checkout-line strong { font-weight: 650; color: #001774; }
.push-checkout-total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 18px; }
.push-checkout-total > span { font-size: var(--type-small); color: #46618f; }
.push-checkout-total > strong { font-size: 29px; font-weight: 650; letter-spacing: -.9px; white-space: nowrap; font-variant-numeric: tabular-nums; }
#push-after-purchase { font-size: var(--type-small); line-height: 1.7; color: #4c6794; margin-top: 10px; min-height: 34px; }
#push-buy-button { display: flex; align-items: center; justify-content: space-between; gap: 9px; width: 100%; padding: 13px 14px; border: 0; border-radius: 8px; background: #ffeb13; color: #001774; font-size: var(--type-small); font-weight: 800; margin-top: 20px; }
#push-buy-button:hover { background: #fff16e; }
#push-buy-button:disabled { background: #acbfdf; color: #526e9b; cursor: default; }
.push-checkout-note { font-size: var(--type-small); color: #566f9d; margin: 12px 0 0; line-height: 1.7; }
.push-input-error { color: #ab3532; font-size: var(--type-small); margin-top: 10px; line-height: 1.7; }
.push-purchase-feedback { padding: 12px 15px; border: 1px solid #9cbfad; background: #d7eadf; color: #276949; border-radius: 9px; margin: 15px 0 0; font-size: var(--type-small); line-height: 1.7; }
.push-history { margin-top: 27px; border: 1px solid #b2c5e6; border-radius: 13px; background: #eaf1ff; overflow: hidden; }
.push-history-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px 13px; }
.push-history-heading h2 { font-size: 18px; font-weight: 700; }
.push-demo-send { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #b2c5e4; background: #d5e2f8; color: #476492; padding: 7px 9px; border-radius: 6px; font-size: var(--type-small); }
.push-demo-send:disabled { opacity: .5; }
.push-history-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 22px; border-bottom: 1px solid #b5c8e8; }
.push-history-tabs { display: flex; gap: 22px; }
.push-history-tabs button { position: relative; border: 0; background: none; padding: 12px 0; color: #677ea5; font-size: var(--type-small); }
.push-history-tabs button[aria-selected="true"] { color: #001774; font-weight: 700; }
.push-history-tabs button[aria-selected="true"]::after { content: ''; height: 3px; background: #001774; border-radius: 2px; position: absolute; bottom: -1px; left: 0; right: 0; }
#push-history-period { border: 1px solid #b1c5e6; border-radius: 6px; padding: 6px; background: #d9e5fa; color: #536e99; font-size: var(--type-small); }
.push-history-table-wrap { overflow-x: auto; }
.push-history-table { border-collapse: collapse; width: 100%; }
.push-history-table th { background: #dce7fa; color: #5f76a0; font-weight: 500; font-size: var(--type-small); padding: 11px 22px; white-space: nowrap; }
.push-history-table td { border-top: 1px solid #cfddf0; padding: 13px 22px; color: #496592; font-size: var(--type-small); }
.push-history-table td strong { display: block; color: #001774; font-size: var(--type-small); font-weight: 600; }
.push-history-table td small { display: block; margin-top: 4px; font-size: var(--type-small); color: #6d84aa; }
.push-history-table time { white-space: nowrap; font-size: var(--type-small); font-variant-numeric: tabular-nums; }
.push-history-table .push-count-cell { white-space: nowrap; font-weight: 650; color: #001774; font-variant-numeric: tabular-nums; }
.push-history-table td button { display: grid; place-items: center; border: 1px solid #b7c9e7; padding: 7px; background: #dce7f9; color: #001774; border-radius: 6px; }
.push-source-unlimited { color: #001774; white-space: nowrap; }
.push-history-caption { padding: 11px 22px; border-top: 1px solid #c2d2ec; color: #6880a7; font-size: var(--type-small); }
@media(max-width:1199px) {
  .push-overview { grid-template-columns: 1.3fr .8fr .8fr 1fr auto; gap: 11px; padding: 15px; }
  .push-overview-identity { gap: 7px; }
  .push-overview h2 { font-size: var(--type-small); }
  .push-overview-identity p { font-size: var(--type-small); }
  .push-channel-icon { width: 28px; height: 32px; }
  .push-overview-metric strong { font-size: 21px; }
  .push-overview-metric span { font-size: var(--type-small); }
  .push-topup-link { padding: 9px; gap: 5px; font-size: var(--type-small); }
  .push-purchase-layout { grid-template-columns: minmax(0,1.7fr) minmax(240px,1fr); gap: 13px; }
  .push-configurator,.push-checkout { padding: 19px; }
  .push-presets { gap: 7px; }
  .push-presets button { padding: 17px 9px 12px; }
  .push-presets button strong { font-size: 22px; }
  .push-presets button small { font-size: var(--type-small); }
  .push-custom-quantity { gap: 10px; flex-wrap: wrap; }
  .push-account-metrics { gap: 14px; }
  .push-account-metrics > div + div { padding-left: 14px; }
}
@media(max-width:767px) {
  .push-overview { grid-template-columns: 1fr 1fr; gap: 15px 18px; padding: 16px; margin: 0 0 25px; }
  .push-overview-identity { grid-column: 1 / -1; padding-right: 92px; }
  .push-overview h2 { font-size: var(--type-small); }
  .push-overview-identity p { font-size: var(--type-small); }
  .push-overview-metric strong { font-size: 27px; }
  .push-overview-metric span { font-size: var(--type-small); }
  .push-topup-link { position: absolute; top: 17px; right: 15px; font-size: var(--type-small); padding: 9px 10px; }
  .push-overview-last { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; }
  .push-overview-last > span,.push-overview-last > small { font-size: var(--type-small); margin: 0; }
  .push-overview-last > strong { font-size: var(--type-small); margin: 0; }
  .push-overview-footer { flex-wrap: wrap; gap: 7px 12px; font-size: var(--type-small); }
  .push-overview-footer a { margin-left: 0; }
  .push-account { padding: 17px; }
  .push-account-heading { align-items: flex-start; }
  .push-account-heading > span { font-size: var(--type-small); max-width: 140px; text-align: right; }
  .push-account-metrics { grid-template-columns: 1fr 1fr; gap: 17px; }
  .push-account-metrics > div + div { border: 0; padding: 0; }
  .push-account-metrics strong { font-size: 27px; }
  .push-account-metrics span { font-size: var(--type-small); }
  .push-account-metrics > div:last-child strong { padding: 2px 0 0; font-size: var(--type-body); line-height: 1.5; }
  .push-purchase-heading { flex-wrap: wrap; gap: 17px; }
  .push-purchase-heading h2 { font-size: 23px; }
  .push-mode-switch { width: 100%; }
  .push-mode-switch button { flex: 1; padding: 11px; }
  .push-purchase-layout { grid-template-columns: 1fr; gap: 13px; }
  .push-configurator,.push-checkout { padding: 18px 16px; }
  .push-presets { gap: 7px; }
  .push-presets button { padding: 18px 9px 13px; }
  .push-presets button strong { font-size: 23px; }
  .push-presets button span { font-size: var(--type-small); margin-bottom: 15px; }
  .push-presets button small { font-size: var(--type-small); }
  .push-custom-quantity { margin-top: 20px; gap: 14px; }
  .push-custom-quantity > div:first-child { flex: 1 1 100%; }
  .push-stepper { width: 100%; }
  .push-stepper input { flex: 1; font-size: 16px; }
  .push-stepper button { width: 43px; height: 43px; }
  .push-package-detail { margin-top: 19px; }
  .push-unlimited-intro { gap: 17px; }
  .push-unlimited-intro > span { font-size: 73px; }
  .push-unlimited-intro h4 { font-size: 21px; }
  .push-unlimited-intro p { font-size: var(--type-small); }
  .push-checkout h3 { font-size: 24px; }
  .push-checkout-total > strong { font-size: 33px; }
  .push-history-heading { padding: 17px 16px 10px; }
  .push-history-toolbar { padding: 0 16px; }
  .push-history-tabs { gap: 17px; }
  #push-history-period { max-width: 128px; }
  .push-history-table th { padding: 10px 12px; font-size: var(--type-small); }
  .push-history-table td { padding: 11px 12px; font-size: var(--type-small); }
  .push-history-table time { font-size: var(--type-small); }
  .push-history-table td strong { font-size: var(--type-small); min-width: 120px; }
  .push-history-table th:first-child,.push-history-table td:first-child { padding-left: 16px; }
  .push-history-table,.push-history-table tbody { display: block; width: 100%; }
  .push-history-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .push-history-table tbody tr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px 15px; padding: 13px 16px; border-top: 1px solid #cfddf0; }
  .push-history-table tbody td { display: block; padding: 0; border: 0; }
  .push-history-table tbody td:first-child { grid-column: 1; grid-row: 1; padding: 0; }
  .push-history-table tbody td:nth-child(2) { grid-column: 1; grid-row: 2; }
  .push-history-table tbody td:nth-child(3) { grid-column: 2; grid-row: 2; text-align: right; }
  .push-history-table tbody td:nth-child(4) { grid-column: 2; grid-row: 1; font-size: var(--type-small); text-align: right; }
  .push-history-table tbody td:nth-child(4) button { margin-left: auto; padding: 5px; }
  .push-history-table tbody td strong { min-width: 0; font-size: var(--type-small); line-height: 1.5; }
  .push-history-table tbody td time { font-size: var(--type-small); }
  #push-deliveries-list .push-count-cell::after { content: 'отправок'; display: block; font-size: var(--type-small); font-weight: 400; color: #607aa2; margin-top: 4px; }
  .push-history-table tbody td[colspan] { grid-column: 1 / -1; padding: 12px 0; }
  .push-history-caption { padding: 11px 16px; }
}
@media(max-width:359px) {
  .push-presets button { padding-left: 7px; padding-right: 7px; }
  .push-presets button strong { font-size: 20px; }
  .push-presets button small { font-size: var(--type-small); }
}
