/* Self-serve screen chrome only. Legal templates and print styles are separate. */
@font-face {
    font-family: 'Darker Grotesque';
    src: url('assets/darker-grotesque-400.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Darker Grotesque';
    src: url('assets/darker-grotesque-500.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Darker Grotesque';
    src: url('assets/darker-grotesque-700.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

.blg-shell {
    --blg-ink: #292a2d;
    --blg-muted: #555b65;
    --blg-border: #858b94;
    --blg-yellow: #ffc60b;
    background: #f5f6f7;
    color: var(--blg-ink);
    font: 400 16px/1.5 'Darker Grotesque', sans-serif;
    min-height: 100vh;
}
.blg-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px max(24px, calc((100% - 1072px)/2));
    background: white;
}
.blg-header img {
    width: 184px;
    max-width: 100%;
}
.blg-header > a {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    min-height: 44px;
}
.blg-help {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
}
.blg-help a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--blg-ink);
    font-weight: 500;
    white-space: nowrap;
}
.blg-help a:hover {
    color: #005a7d;
    text-decoration: underline;
}
.blg-shell nav {
    background: white;
    border-top: 1px solid #e4e6e9;
}
.blg-progress {
    display: flex;
    justify-content: space-between;
    list-style: none;
    max-width: 880px;
    margin: auto;
    padding: 16px;
    gap: 12px;
}
.blg-progress li {
    flex: 1;
    text-align: center;
    font-size: 14px;
    color: var(--blg-muted);
}
.blg-progress li span {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--blg-border);
    width: 32px;
    height: 32px;
    margin: 0 auto 6px;
    background: white;
}
.blg-progress [aria-current] {
    color: var(--blg-ink);
    font-weight: 600;
}
.blg-progress [aria-current] span {
    background: var(--blg-yellow);
    border: 2px solid var(--blg-ink);
}
.blg-masthead {
    background: #d8eff5 url('assets/Buy-Low-Gas-Cityscape-Masthead-Bkgd.jpg') center/cover;
    padding: 16px;
    text-align: center;
}
.blg-masthead h1 {
    display: inline-block;
    color: #163944;
    background: #eaf7faed;
    border-radius: 8px;
    padding: 0 16px 4px;
    font: 700 36px/1.2 'Darker Grotesque', sans-serif;
    margin: 0;
}
.blg-main {
    max-width: 1120px;
    margin: auto;
    padding: 24px;
}
.blg-main > .page-section {
    padding: 0 !important;
}
.blg-main > .page-section > .card {
    border: 1px solid #dfe2e6;
    border-radius: 12px;
    box-shadow: 0 2px 6px #20283208;
}
.blg-main > .page-section > .card > .card-body {
    padding: 24px;
}
.blg-collect .card {
    border: 0;
    box-shadow: none;
    background: transparent;
}
.blg-collect .card-body {
    padding: 0;
}
.blg-collect h2, .blg-collect legend {
    font: 700 24px/1.25 'Darker Grotesque', sans-serif;
    color: var(--blg-ink);
    margin: 0 0 16px;
}
.blg-collect legend, .blg-collect h2, .blg-review h5, .blg-review h6 {
    scroll-margin-top: 16px;
}
.blg-dots, .blg-collect hr {
    height: 4px;
    border: 0;
    background: radial-gradient(circle, #ad9248 1px, transparent 1.5px) 0 0/12px 4px;
    margin: 20px 0;
}
.blg-collect .blg-account-heading {
    align-items: center;
    margin-bottom: 24px;
}
.blg-collect .blg-account-heading legend,
.blg-collect .blg-account-heading .form-group {
    margin-bottom: 0;
}
.blg-collect .blg-account-heading .form-row {
    margin: 0;
}
.blg-collect .form-row {
    margin-left: -8px;
    margin-right: -8px;
}
.blg-collect .form-row > [class*=col] {
    padding-left: 8px;
    padding-right: 8px;
    min-width: 0;
}
.blg-collect .form-group {
    margin-bottom: 16px;
}
.blg-collect .input-group .form-control, .blg-collect .custom-select {
    font: 400 16px/24px 'Darker Grotesque', sans-serif;
    color: var(--blg-ink);
    border: 1px solid var(--blg-border);
    border-radius: 6px;
    min-height: 48px;
    background-color: white;
}
/* Keep labels above values at every size: long labels must not collide with entered text. */
.blg-collect .form-label-group {
    display: flex;
    flex-direction: column;
}
.blg-collect .form-label-group > label {
    position: static;
    order: -1;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0 0 6px;
    font: 400 14px/20px 'Darker Grotesque', sans-serif;
    color: var(--blg-muted);
    white-space: normal;
    pointer-events: auto;
    transform: none;
}
.blg-collect .form-label-group > label > span {
    background: none;
}
.blg-collect .form-label-group > .blg-field-label {
    display: flex;
    align-items: center;
    gap: 8px;
    order: -1;
    margin-bottom: 6px;
}
.blg-collect .blg-field-label > label {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    font: 400 14px/20px 'Darker Grotesque', sans-serif;
    color: var(--blg-muted);
    white-space: normal;
    transform: none;
}
.blg-optional {
    white-space: nowrap;
    font-weight: 400;
}
.blg-field-error {
    margin: 6px 0 0;
    font: 400 14px/20px 'Darker Grotesque', sans-serif;
    color: #a51d2d;
    overflow-wrap: anywhere;
}
.blg-collect .form-label-group input.form-control,
.blg-collect .form-label-group select.form-control {
    height: 48px;
    padding: 11px 12px;
    line-height: 24px;
}
.blg-collect .form-label-group select.form-control {
    padding-right: 32px;
}
.blg-collect .input-group .form-control:disabled, .blg-collect .input-group .form-control[readonly] {
    color: #4b515b;
    background-color: #f1f3f5;
    opacity: 1;
}
.blg-collect .input-group .form-control {
    top: 0;
}
.blg-collect .input-group {
    align-items: stretch;
    border: 0;
    background: transparent;
    box-shadow: none !important;
}
.blg-collect .input-group .input-group-append .input-group-text {
    padding: 0 !important;
    margin: 0 !important;
    background: #f5f6f7;
    border-color: var(--blg-border);
}
.blg-collect .input-group-append .btn {
    border: 0;
    min-width: 44px;
    height: 46px;
    min-height: 44px;
    padding: 8px;
    border-radius: 0 6px 6px 0;
}
.blg-collect .form-label-group .help-link {
    position: static !important;
    margin: 0 0 4px !important;
    order: -2;
    font-size: 14px !important;
}
.blg-collect .help-link a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #005a7d;
    text-decoration: underline;
}
.blg-collect .alert {
    font-size: 14px;
    line-height: 1.5;
    padding: 12px 48px 12px 16px;
    color: #005675;
    box-shadow: none;
}
.blg-collect .alert p:last-child {
    margin-bottom: 0;
}
.blg-collect .custom-control-label {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--blg-ink);
}
/* Outrank the shared theme, including its macOS-specific offsets. */
.blg-shell .blg-collect .custom-control:not(.custom-switch) .custom-control-label::before,
.blg-shell .blg-collect .custom-control:not(.custom-switch) .custom-control-label::after {
    top: calc(50% - .5rem);
}
.blg-collect .custom-control-label::before {
    border-color: #727985;
}
.blg-collect .custom-control-input:checked ~ .custom-control-label::before {
    border: 2px solid #292a2d;
}
.blg-collect .custom-control-input:checked ~ .custom-control-label::after {
    background-image: radial-gradient(circle, #292a2d 35%, transparent 40%);
}
.blg-collect .form-row:has(> .form-group #id_phone) {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
}
.blg-collect .form-row:has(> .form-group #id_phone) > .form-group {
    width: 100%;
    max-width: none;
}
.blg-collect .form-row:has(> .form-group #id_phone) > .form-group:has(#id_phone),
.blg-collect .form-row:has(> .form-group #id_phone) > .form-group:has(#id_cell) {
    grid-column: 1 / span 5;
}
.blg-collect .form-row:has(> .form-group #id_phone) > .form-group:has(#id_extension) {
    grid-column: 6 / span 2;
}
.blg-collect .form-row:has(> .form-group #id_phone) > .form-group:has(#id_is_cell_same_as_phone) {
    grid-column: 6 / span 3;
}
.blg-collect .form-row:has(> .form-group #id_phone) > .form-group:has(#id_has_requested_sms_verification) {
    grid-column: 9 / span 4;
}
.blg-collect #mailingAddressContainer > .form-row:has(#id_mailing_province),
.blg-collect .site-info > .form-row:has(.site-province) {
    display: flex;
    flex-wrap: wrap;
}
.blg-collect #mailingAddressContainer > .form-row:has(#id_mailing_province) > .form-group,
.blg-collect .site-info > .form-row:has(.site-province) > .form-group {
    flex: 1 1 240px;
    max-width: none;
}
.blg-collect .site-info > .form-row:has(.site-account-number) > .form-group {
    flex: 1 1 220px;
    max-width: none;
}
.blg-collect .site-info {
    min-width: 0;
}
.blg-collect .site-info > .form-row {
    align-items: flex-end;
}
.blg-collect .site-info-container + .site-info-container {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #dfe2e6;
}
.blg-collect .site-info-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}
.blg-collect .btn-delete-site {
    margin-top: 0 !important;
}
.blg-collect .locations-and-products-container > .form-row.d-flex > legend {
    flex: 1;
    width: auto;
    max-width: none;
}
.blg-collect #addSite {
    align-self: center;
    margin: 0 8px 16px 0 !important;
}
.blg-collect .select2-container {
    max-width: 100%;
    flex: 1;
    min-width: 0;
}
.blg-collect .select2-container .select2-selection--single {
    display: flex;
    align-items: center;
    padding: 0;
    height: 48px;
    border: 1px solid var(--blg-border);
    border-radius: 6px;
    background: white;
}
.blg-collect .select2-selection--single .select2-selection__rendered {
    width: 100%;
    padding: 0 32px 0 12px;
    font: 400 16px/24px 'Darker Grotesque', sans-serif;
    color: var(--blg-ink);
}
.blg-collect .select2-selection--single .select2-selection__arrow {
    height: 46px;
}
.blg-page > .select2-container {
    font: 400 16px/1.5 'Darker Grotesque', sans-serif;
}
.blg-page .select2-results__option--highlighted[aria-selected] {
    color: #292a2d;
}
.blg-shell .btn {
    font: 500 16px/1.25 'Darker Grotesque', sans-serif;
    padding: 12px 20px;
    border-radius: 6px;
    min-height: 48px;
    height: auto;
    white-space: normal;
}
.blg-shell .btn-primary {
    background: var(--blg-yellow);
    color: #231f20;
    border: 1px solid #765a00 !important;
}
.blg-shell .btn-secondary {
    color: var(--blg-ink);
    background: white;
    border: 1px solid var(--blg-border);
}
.blg-shell .btn:not(:disabled):not(.disabled):hover {
    text-decoration: underline;
    box-shadow: 0 2px 5px #292a2d20;
}
.blg-shell .btn:disabled, .blg-shell .btn.disabled {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none;
}
.blg-shell .btn-icon {
    padding: 10px;
    min-width: 44px;
}
.blg-collect .form-control:focus-visible {
    outline: none;
}
.blg-shell :focus-visible {
    outline: 2px solid #163944;
    outline-offset: 3px;
}
.blg-collect .form-control:focus, .blg-collect .select2-container--focus .select2-selection {
    border-color: #163944 !important;
    box-shadow: 0 0 0 1px #163944 !important;
}
.blg-collect .form-control.is-invalid, .blg-collect [aria-invalid=true] {
    border: 2px solid #a12622 !important;
}
.blg-shell .errorlist, .blg-shell [data-error-field] {
    color: #a12622;
    overflow-wrap: anywhere;
}
.blg-shell .hidden {
    display: none !important;
}
.blg-collect #backForm, .blg-collect #submitForm {
    margin-left: 8px;
}
.blg-review .btn-group {
    gap: 12px;
}
.blg-review .btn-group > .btn {
    border-radius: 6px;
}
.plan-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin: 24px auto;
}
.plan-card {
    position: relative;
    flex: 0 0 calc((100% - 48px)/3);
    max-width: calc((100% - 48px)/3);
    background: white;
    border: 2px solid #858b94;
    border-radius: 10px;
    padding: 20px 16px;
    color: #292a2d;
    cursor: pointer;
    font: 500 18px/1.4 'Darker Grotesque', sans-serif;
    box-shadow: 0 2px 4px #20283208;
}
.plan-grid[data-count="4"] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
.plan-grid[data-count="4"] .plan-card {
    grid-column: 2 / span 2;
    max-width: none;
    width: 100%;
}
.plan-grid[data-count="4"] .plan-card:nth-child(even) {
    grid-column: 4 / span 2;
}
.plan-card:hover {
    background: #fffaf0;
}
.plan-card[aria-checked="true"] {
    border-color: #4b3b00;
    background: #fff9e5;
    box-shadow: inset 0 0 0 1px #4b3b00;
}
.plan-card[aria-checked="true"]::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    color: #292a2d;
    font-size: 20px;
}
.plan-card img, .plan-card__icon--placeholder {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px;
}
.plan-card__icon--placeholder {
    background: #fff6d6;
    border-radius: 50%;
    color: #554100;
    font-size: 44px;
}
.plan-card__label, .plan-card__price {
    display: block;
    overflow-wrap: anywhere;
}
.plan-card__price {
    font-size: 32px;
    font-weight: 600;
    margin-top: 4px;
}
.plan-card small {
    display: block;
    font-size: 14px;
    font-weight: 400;
}
.blg-product-values {
    max-width: 700px;
    margin: auto;
}
.blg-product-values > label {
    display: block;
    margin: 0 0 6px;
    color: var(--blg-muted);
    font: 400 14px/20px 'Darker Grotesque', sans-serif;
}
.blg-collect .blg-product-values .form-control {
    height: 48px;
    font: 400 16px/24px 'Darker Grotesque', sans-serif;
    padding: 11px 32px 11px 12px;
    border: 1px solid var(--blg-border);
    border-radius: 6px;
    color: var(--blg-ink);
    margin-bottom: 8px;
}
.blg-product-values p, #blg-terms {
    font-size: 14px;
    line-height: 1.6;
}
.blg-footer {
    background: #4d4d4f;
    text-align: left;
}
.blg-footer-main {
    padding: 16px max(24px, calc((100% - 1072px)/2));
}
.blg-footer-main img {
    height: 48px;
    width: auto;
    max-width: 100%;
    margin: 0;
}
.blg-copyright {
    background: #ffc60b;
    color: #292a2d;
    padding: 12px 16px;
    font-size: 13px;
    text-align: center;
}
.blg-copyright a {
    color: inherit;
    text-decoration: underline;
}
.blg-shell video {
    width: 100%;
    max-height: 45vh;
    display: block;
}
.blg-shell .modal-dialog {
    margin: 16px auto;
    padding: 0 8px;
}
.blg-shell .modal-content {
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    border-radius: 12px;
}
.blg-shell .modal-header, .blg-shell .modal-body, .blg-shell .modal-footer {
    padding: 16px;
}
.blg-shell .modal-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: white;
}
.blg-shell .modal-title {
    font: 500 20px/1.4 'Darker Grotesque', sans-serif;
}
.blg-shell .close {
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
    margin: 0;
    opacity: 1;
    color: #292a2d;
}
.blg-shell .alert .close {
    position: absolute;
    right: 0;
    top: 0;
}
#blg-video .modal-content, #blg-bill .modal-content {
    padding: 16px;
    gap: 16px;
}
#blg-video .close, #blg-bill .close {
    position: sticky;
    top: 0;
    align-self: flex-end;
    z-index: 2;
    background: white;
    border: 1px solid #858b94;
    border-radius: 6px;
}
#blg-video h5, #blg-bill h5 {
    font: 500 18px/1.4 'Darker Grotesque', sans-serif;
    margin: 0;
}
.blg-bill-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.blg-bill-details figure {
    margin: 0;
    min-width: 0;
    padding: 12px;
    border: 1px solid #dfe2e6;
    border-radius: 6px;
}
.blg-bill-details figcaption {
    margin-bottom: 8px;
    font-weight: 500;
}
.blg-bill-details svg {
    display: block;
    width: 100%;
    height: auto;
}
.blg-video-help {
    margin-top: 24px;
}
#blg-completion-overlay {
    background: #17262e99;
}
.blg-completion {
    width: calc(100% - 32px);
    max-width: 640px !important;
    max-height: calc(100dvh - 32px);
    overflow: auto;
    margin: 16px;
    border: 0;
    border-radius: 12px;
    background: white;
    color: #292a2d;
    font: 400 16px/1.5 'Darker Grotesque', sans-serif;
    box-shadow: 0 8px 40px #17262e40;
}
.blg-completion .toast-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    padding: 16px;
    background: #fff1bf;
    color: #292a2d;
    font-size: 18px;
}
.blg-completion .toast-body {
    padding: 16px;
    overflow-wrap: anywhere;
}
.blg-completion video {
    margin-bottom: 16px;
}
.blg-progress .blg-progress-restart,
.blg-progress .blg-progress-restart:hover {
    display: block;
    color: var(--blg-ink);
    text-decoration: none;
}
.blg-shell .blg-completion .blg-completion-restart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 22px;
    padding: 12px 24px;
    border: 2px solid var(--blg-ink);
    border-radius: 999px;
    background: white;
    color: var(--blg-ink);
    font-weight: 700;
    text-align: center;
}
.blg-shell .blg-completion .blg-completion-restart:hover {
    background: #fffbea;
    color: var(--blg-ink);
}
.blg-progress-restart:focus-visible,
.blg-shell .blg-completion .blg-completion-restart:focus-visible {
    outline: 3px solid var(--blg-ink);
    outline-offset: 3px;
}
.blg-shell canvas {
    touch-action: none;
}
.blg-page .pace .pace-progress {
    top: 0;
    background: #ffc60b;
}
.blg-page .pace .pace-progress-inner {
    box-shadow: 0 0 10px #ffc60b;
}
.blg-page .pace .pace-activity {
    border-top-color: #ffc60b;
    border-left-color: #ffc60b;
}

.guide-arrow {
    position: absolute;
    z-index: 500;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffc60b;
    box-shadow: 0 3px 12px #231f204d;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: top .45s ease, left .45s ease
}

.guide-arrow:not(.review-guide-arrow) {
    animation: blg-nudge 1.1s ease-in-out infinite;
}

.guide-arrow:not(.review-guide-arrow).is-unit {
    animation-name: blg-unit-nudge;
}

.guide-arrow.is-unit svg {
    transform: rotate(90deg);
}

.guide-arrow[hidden] {
    display: none;
}

.guide-arrow svg {
    width: 20px;
    height: 20px;
    fill: #231f20;
}

/* The review guide has its own empty left rail, including signing dialogs.
   No contract/PDF spacing is changed by these screen-only reservations. */
@media screen {
    .blg-shell .blg-review {
        padding-left: 64px !important;
    }
    .blg-page :is(.modal-signature, .modal-initials) .modal-content {
        padding-left: 64px;
    }
}
@media screen and (max-width: 600px) {
    .blg-page :is(.modal-signature, .modal-initials) .modal-footer .btn {
        padding-inline: 12px;
        white-space: nowrap;
    }
}
@media print {
    .review-guide-arrow {
        display: none !important;
    }
}

.guide-active {
    animation: blg-ring 1.6s ease-in-out infinite;
    border-radius: 12px
}

.blg-ready {
    animation: blg-ready 1.1s ease-in-out 3
}

.blg-ready::after {
    content: ' →';
    display: inline-block;
    animation: blg-forward .45s ease both
}

@keyframes blg-forward {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.guide-arrow.in-dialog {
    z-index: 1060
}

@keyframes blg-ring {

    0%,
    100% {
        box-shadow: 0 0 0 3px #ffc60b66
    }

    50% {
        box-shadow: 0 0 0 7px #ffc60b26
    }
}

@keyframes blg-nudge {
    50% {
        transform: translateX(7px)
    }
}

@keyframes blg-unit-nudge {
    50% {
        transform: translateY(7px)
    }
}

@keyframes blg-ready {
    50% {
        transform: scale(1.05)
    }
}


.blg-review .card {
    font-family: "Fira Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.5
}

@media(max-width:759px) {
    .blg-collect .btn-group {
        display: flex;
        flex-direction: column;
        width: 100%
    }
}

.blg-readonly-value {
    display: none
}

/* Disabled fields cannot be scrolled to reveal long values. Reuse the existing
   readable spans on desktop as well as phones; printing retains the inputs. */
@media screen {
    /* Saved signatures must fit their column without changing print/PDF sizing. */
    .blg-shell .blg-review .img-signature {
        max-width: min(100%, 500px);
    }
    /* Review labels may wrap: align with their first line, keeping print intact. */
    .blg-shell .blg-review .custom-control:not(.custom-switch) .custom-control-label::before,
    .blg-shell .blg-review .custom-control:not(.custom-switch) .custom-control-label::after {
        top: calc(.75em - .5rem);
    }
    .blg-review input.blg-has-readable-value {
        display: none;
    }
    .blg-review .blg-readonly-value,
    .blg-review .fake-input-field {
        display: block;
        height: auto;
        min-height: 38px;
        white-space: normal;
        overflow-wrap: anywhere;
        background: #f6f7f9;
    }
}

/* The legal template's 10% initials column is too narrow for its signing prompt.
   Reserve readable space on screen and let the two text fields share the rest. */
@media screen and (min-width:760px) {
    .blg-shell .blg-review .row:has(> .form-group > .btn-initials) > .form-group {
        width: auto !important;
        flex: 1 1 0;
        min-width: 0;
    }
    .blg-shell .blg-review .row:has(> .form-group > .btn-initials) > .form-group:has(> .btn-initials) {
        flex: 0 0 10rem;
    }
}

/* Screen presentation only: legal includes and PDF/print styles stay authoritative. */
@media screen and (max-width:759px) {
    .blg-review .card {
        min-width: 0;
        overflow-wrap: anywhere
    }

    .blg-review .card-body {
        padding: 16px
    }

    .blg-review .card .row:not(.separator):not(.justify-content-center) {
        flex-direction: column
    }

    .blg-review .card .row:not(.separator)>[class*=col],
    .blg-review .card .row>.form-group {
        flex: 0 0 auto;
        width: 100% !important;
        max-width: 100%;
        min-width: 0
    }

    .blg-review .contract-header-bg>.col {
        text-align: left !important;
        margin-bottom: 16px
    }

    .blg-review .contract-header-bg img:not(.blg-icons) {
        width: 180px !important;
        height: auto !important;
        max-width: 100%
    }

    .blg-review .contract-number {
        font-size: 30px
    }

    .blg-review .form-row>.btn-group {
        display: flex;
        flex-direction: column;
        width: 100%
    }

    .blg-review .form-row {
        margin-left: 0;
        margin-right: 0
    }

    .blg-review .form-row>.btn-group>.btn {
        width: 100%;
        margin: 8px 0
    }
}



@media(max-width:959px) {
    .blg-collect .blg-account-heading legend {
        margin-bottom: 8px;
    }
    .blg-help {
        display: block;
        text-align: right;
        font-size: 14px;
    }
    .blg-help a {
        display: flex;
        justify-content: flex-end;
        min-height: 44px;
    }
    .blg-question, .blg-or {
        display: none;
    }
    .blg-collect .form-row {
        display: flex;
        flex-wrap: wrap;
    }
    .blg-collect .form-row > [class*=col] {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }
    .blg-collect .form-row:has(> .form-group #id_phone) {
        display: flex;
    }
    .blg-collect .site-info-container > .form-row > .col-auto {
        flex-basis: auto;
        width: auto;
    }
    .blg-collect #mailingAddressContainer > .form-row:has(#id_mailing_province) > .form-group,
    .blg-collect .site-info > .form-row:has(.site-province) > .form-group,
    .blg-collect .site-info > .form-row:has(.site-account-number) > .form-group {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .blg-collect #backForm, .blg-collect #submitForm {
        width: 100%;
        margin: 6px 0;
    }
    .blg-collect .text-right.flex-grow-1 {
        margin-right: 0 !important;
        padding: 0 8px;
    }
}
@media(max-width:759px) {
    .blg-header {
        padding: 12px 16px;
        gap: 12px;
    }
    .blg-header img {
        width: 124px;
    }
    .blg-help {
        font-size: 12px;
    }
    .blg-progress {
        padding: 12px 8px;
        gap: 4px;
    }
    .blg-progress li {
        font-size: 12px;
        line-height: 1.4;
    }
    .blg-masthead {
        padding: 12px 16px;
    }
    .blg-masthead h1 {
        font-size: 28px;
    }
    .blg-main {
        padding: 16px;
    }
    .blg-main > .page-section > .card > .card-body {
        padding: 16px;
    }
    .blg-collect #addSite {
        margin-right: 0 !important;
    }
    .blg-collect legend.col {
        padding-left: 0;
    }
    .blg-collect .locations-and-products-container > .form-row.d-flex > legend {
        flex: 1;
    }
    .blg-collect .site-info-container > .form-row > .col-auto {
        margin-bottom: 16px;
    }
    .plan-card {
        flex-basis: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        column-gap: 16px;
        align-content: center;
        text-align: left;
        min-height: 120px;
        padding: 14px 32px 14px 14px;
    }
    .plan-card img, .plan-card__icon--placeholder {
        grid-row: 1 / span 2;
        align-self: center;
        width: 56px;
        height: 56px;
        margin: 0;
    }
    .plan-card__label {
        font-size: 16px;
    }
    .plan-card__price {
        font-size: 26px;
        line-height: 1.25;
    }
    .plan-card small {
        display: inline-block;
        margin-left: 6px;
    }
    .blg-bill-details {
        grid-template-columns: minmax(0, 1fr);
    }
    .plan-grid[data-count="4"] {
        display: flex;
    }
    .plan-grid {
        gap: 16px;
    }
    .blg-footer-main {
        padding: 16px;
    }
    .blg-footer-main img {
        height: 44px;
    }
    .blg-copyright {
        font-size: 13px;
    }
    .blg-review .btn-group {
        gap: 0;
    }
    .blg-completion .toast-header {
        font-size: 16px;
    }
}
@media(max-width:600px) {
    .guide-arrow {
        width: 28px;
        height: 28px;
    }
    .guide-arrow svg {
        width: 16px;
        height: 16px;
    }
}

@media(max-width:390px) {
    .blg-shell .blg-collect .modal-delete-site .modal-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .blg-shell .blg-collect .modal-delete-site .modal-footer .btn {
        width: 100%;
        margin: 0;
    }
}

@media(prefers-reduced-motion:reduce) {
    .guide-active {
        animation: none;
        box-shadow: 0 0 0 3px #ffc60b66
    }

    .guide-arrow:not(.review-guide-arrow),
    .guide-arrow:not(.review-guide-arrow).is-unit,
    .guide-arrow svg,
    .blg-ready,
    .blg-ready::after {
        animation: none;
        transition: none
    }
}
