html,
body.uslog-public-calculator-page,
body.uslog-public-calculator-page #page,
body.uslog-public-calculator-page .site,
body.uslog-public-calculator-page .site-content,
body.uslog-public-calculator-page .content-area,
body.uslog-public-calculator-page #primary,
body.uslog-public-calculator-page .site-main,
body.uslog-public-calculator-page .ast-container {
    background: #eef4f9 !important;
}

body.uslog-public-calculator-page #page,
body.uslog-public-calculator-page .site,
body.uslog-public-calculator-page .site-content,
body.uslog-public-calculator-page .content-area,
body.uslog-public-calculator-page #primary,
body.uslog-public-calculator-page .site-main,
body.uslog-public-calculator-page .ast-container {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

body.uslog-public-calculator-page .site-content .ast-container,
body.uslog-public-calculator-page .ast-container,
body.uslog-public-calculator-page #primary,
body.uslog-public-calculator-page .site-main {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}

body.uslog-public-calculator-page .uslog-calc-shell,
body.uslog-public-calculator-page .uslog-calc-layout,
body.uslog-public-calculator-page .uslog-calc-main {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: #eef4f9 !important;
}

.uslog-calc-page,
.uslog-calc-page * {
    box-sizing: border-box;
}

.uslog-calc-page [hidden] {
    display: none !important;
}

.uslog-calc-page {
    width: 100%;
    height: auto !important;
    min-height: 72vh;
    overflow: visible !important;
    padding: 34px 18px 72px;
    background:
        radial-gradient(circle at 10% 0%, rgba(22, 133, 207, .10), transparent 32%),
        linear-gradient(180deg, #f5f9fc 0%, #edf4f9 100%);
    color: #182230;
}

.uslog-calc-shell {
    width: min(1148px, 100%);
    margin: 0 auto;
}

.uslog-calc-hero {
    position: relative;
    overflow: hidden;
    padding: 36px 40px 42px;
    border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 26px;
    background: linear-gradient(135deg, #12243d 0%, #1e416a 58%, #285a8d 100%);
    box-shadow: 0 22px 55px rgba(15, 23, 42, .13);
    color: #fff;
}

.uslog-calc-hero::after {
    content: "";
    position: absolute;
    right: -78px;
    top: -105px;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    box-shadow: 0 0 0 48px rgba(255, 255, 255, .025), 0 0 0 96px rgba(255, 255, 255, .018);
}

.uslog-calc-kicker {
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
    color: #78b9ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
}

.uslog-calc-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.uslog-calc-hero p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 15px 0 0;
    color: rgba(255, 255, 255, .79);
    font-size: 16px;
    line-height: 1.55;
}

.uslog-calc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
    gap: 22px;
    align-items: start;
    margin-top: 24px;
}

.uslog-calc-main {
    display: grid;
    gap: 22px;
}

.uslog-calc-card,
.uslog-calc-empty {
    padding: 26px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
}

.uslog-calc-empty {
    margin-top: 24px;
    text-align: center;
    font-weight: 800;
}

.uslog-calc-card-head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    margin-bottom: 22px;
}

.uslog-calc-card-head > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: #e8f4fc;
    color: #1685cf;
    font-size: 13px;
    font-weight: 900;
}

.uslog-calc-card h2,
.uslog-calc-result h2 {
    margin: 0;
    color: #172033;
    font-size: 23px;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.uslog-calc-card-head p,
.uslog-calc-result-head p {
    margin: 7px 0 0;
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
}

.uslog-calc-field {
    display: block;
    min-width: 0;
    margin-top: 16px;
}

.uslog-calc-field > span {
    display: block;
    margin-bottom: 8px;
    color: #3b485b;
    font-size: 13px;
    font-weight: 900;
}

.uslog-calc-field input[type="number"],
.uslog-calc-field input[type="search"],
.uslog-calc-field input[type="text"],
.uslog-calc-field input[type="date"],
.uslog-calc-field select {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 1px solid #cbd7e4;
    border-radius: 13px;
    background: #fff;
    color: #172033;
    font: inherit;
    min-width: 0;
    max-width: 100%;
    font-size: 15px;
    font-weight: 750;
}

.uslog-calc-field input[type="date"] {
    display: block;
    min-width: 0;
    max-width: 100%;
    inline-size: 100%;
}

.uslog-calc-date-control {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 52px;
    padding: 0;
    border: 1px solid #cbd7e4;
    border-radius: 13px;
    background: #fff;
    color: #172033;
}

.uslog-calc-date-control:focus-within {
    border-color: #1685cf;
    box-shadow: 0 0 0 4px rgba(22, 133, 207, .12);
}

.uslog-calc-date-control input[type="date"] {
    position: absolute !important;
    z-index: 2;
    inset: 0;
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: inherit;
    opacity: 0;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
}

.uslog-calc-date-display {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    display: block;
    width: calc(100% - 92px);
    min-width: 0;
    max-width: calc(100% - 92px);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #172033;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.uslog-calc-date-display.is-placeholder {
    color: #94a0b0;
}

.uslog-calc-date-icon {
    position: absolute;
    z-index: 1;
    right: 16px;
    top: 50%;
    display: block;
    width: 17px;
    height: 16px;
    border: 2px solid #526174;
    border-radius: 3px;
    transform: translateY(-45%);
    pointer-events: none;
}

.uslog-calc-date-icon::before {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    top: 3px;
    border-top: 2px solid #526174;
}

.uslog-calc-date-icon::after {
    content: "";
    position: absolute;
    left: 3px;
    top: -4px;
    width: 7px;
    height: 4px;
    border-left: 2px solid #526174;
    border-right: 2px solid #526174;
}

.uslog-calc-commerce-control {
    position: relative;
    display: block;
    min-width: 0;
}

.uslog-calc-commerce-display,
.uslog-calc-commerce-arrow {
    display: none;
}

.uslog-calc-field input:focus,
.uslog-calc-field select:focus {
    outline: 0;
    border-color: #1685cf;
    box-shadow: 0 0 0 4px rgba(22, 133, 207, .12);
}

.uslog-calc-field input[readonly] {
    background: #f2f6fa;
    color: #526174;
}

.uslog-calc-auctions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.uslog-calc-auctions label {
    position: relative;
    margin: 0;
}

.uslog-calc-auctions input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.uslog-calc-auctions strong {
    display: grid;
    place-items: center;
    min-height: 52px;
    border: 1px solid #cbd7e4;
    border-radius: 13px;
    background: #f8fafc;
    color: #45566c;
    cursor: pointer;
    transition: .18s ease;
}

.uslog-calc-auctions input:checked + strong {
    border-color: #1685cf;
    background: #1685cf;
    color: #fff;
}

.uslog-calc-live-row,
.uslog-calc-delivery-breakdown > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 18px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-top: 12px;
    padding: 13px 15px;
    border-radius: 12px;
    background: #f2f7fb;
    color: #45566c;
    font-size: 14px;
    font-weight: 800;
}

.uslog-calc-live-row span,
.uslog-calc-delivery-breakdown span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.uslog-calc-live-row strong,
.uslog-calc-delivery-breakdown strong {
    min-width: 0;
    max-width: 100%;
    color: #1685cf;
    text-align: right;
    white-space: nowrap;
}


.uslog-calc-delivery-breakdown {
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid #d8e2ec;
    border-radius: 14px;
    background: #f8fbfd;
}

.uslog-calc-delivery-breakdown > div {
    margin-top: 0;
    border-radius: 0;
    background: transparent;
}

.uslog-calc-delivery-breakdown > div + div {
    border-top: 1px solid #e4ebf2;
}

.uslog-calc-delivery-breakdown > .is-total {
    background: #eef7fc;
}

.uslog-calc-delivery-breakdown > .is-total span,
.uslog-calc-delivery-breakdown > .is-total strong {
    color: #0f6ca8;
    font-weight: 900;
}

.uslog-calc-location-field {
    position: relative;
}

.uslog-calc-location-list {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: 320px;
    overflow: auto;
    padding: 8px;
    border: 1px solid #cbd7e4;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .16);
}

.uslog-calc-location-list button {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 12px 13px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #263449;
    text-align: left;
    cursor: pointer;
}

.uslog-calc-location-list button:hover,
.uslog-calc-location-list button:focus-visible {
    outline: 0;
    background: #eaf5fc;
}

.uslog-calc-location-list button strong {
    font-size: 14px;
}

.uslog-calc-location-list button span {
    color: #7b899c;
    font-size: 12px;
    text-align: right;
}

.uslog-calc-location-empty {
    padding: 18px;
    color: #718096;
    text-align: center;
    font-size: 14px;
}

.uslog-calc-options {
    display: grid;
    gap: 12px;
}

.uslog-calc-option {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin: 0;
    padding: 14px;
    border: 1px solid #d8e2ec;
    border-radius: 15px;
    background: #fbfdff;
    cursor: pointer;
}

.uslog-calc-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.uslog-calc-option-toggle {
    position: relative;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #cbd5e1;
    transition: .18s ease;
}

.uslog-calc-option-toggle::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(15, 23, 42, .2);
    transition: .18s ease;
}

.uslog-calc-option input:checked + .uslog-calc-option-toggle {
    background: #1685cf;
}

.uslog-calc-option input:checked + .uslog-calc-option-toggle::after {
    transform: translateX(18px);
}

.uslog-calc-option strong,
.uslog-calc-option small {
    display: block;
}

.uslog-calc-option strong {
    color: #263449;
    font-size: 14px;
}

.uslog-calc-option small {
    margin-top: 3px;
    color: #718096;
    font-size: 12px;
    line-height: 1.4;
}

.uslog-calc-customs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
}

.uslog-calc-customs-full {
    grid-column: 1 / -1;
}

.uslog-calc-customs-actions {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-top: 20px;
}

.uslog-calc-customs-actions button {
    min-height: 50px;
    padding: 0 22px;
    border: 0;
    border-radius: 13px;
    background: #1685cf;
    color: #fff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.uslog-calc-customs-actions button:hover:not(:disabled),
.uslog-calc-customs-actions button:focus-visible:not(:disabled) {
    background: #1175b8;
}

.uslog-calc-customs-actions button:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.uslog-calc-customs-actions span {
    color: #718096;
    font-size: 13px;
    line-height: 1.45;
}

.uslog-calc-customs-actions span.is-error {
    color: #b42318;
}

.uslog-calc-result,
.uslog-calc-lines,
.uslog-calc-customs-main-lines,
.uslog-calc-customs-breakdown {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.uslog-calc-lines > div,
.uslog-calc-summary-section > div,
.uslog-calc-customs-main-lines > div,
.uslog-calc-customs-breakdown [data-uslog-customs-duty-lines] > div {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.uslog-calc-lines span,
.uslog-calc-summary-section > div span,
.uslog-calc-customs-main-lines span,
.uslog-calc-customs-breakdown span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.uslog-calc-result {
    position: sticky;
    top: 22px;
}

.uslog-calc-result-head > span {
    display: block;
    margin-bottom: 8px;
    color: #1685cf;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
}

.uslog-calc-placeholder {
    margin-top: 22px;
    padding: 26px 18px;
    border: 1px dashed #cbd7e4;
    border-radius: 16px;
    background: #f8fafc;
    color: #718096;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

.uslog-calc-lines {
    margin-top: 20px;
}

.uslog-calc-lines > div,
.uslog-calc-summary-section > div,
.uslog-calc-customs-main-lines > div,
.uslog-calc-customs-breakdown [data-uslog-customs-duty-lines] > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid #e4ebf2;
}

.uslog-calc-lines span,
.uslog-calc-summary-section > div span,
.uslog-calc-customs-main-lines span,
.uslog-calc-customs-breakdown span {
    color: #59697d;
    font-size: 13px;
    line-height: 1.4;
}

.uslog-calc-lines strong,
.uslog-calc-summary-section > div strong,
.uslog-calc-customs-main-lines strong,
.uslog-calc-customs-breakdown strong {
    color: #172033;
    font-size: 14px;
    text-align: right;
    white-space: nowrap;
}

.uslog-calc-lines .is-total {
    margin-top: 8px;
    padding: 17px 0 8px;
    border-bottom: 0;
}

.uslog-calc-lines .is-total span,
.uslog-calc-lines .is-total strong {
    color: #0f6ca8;
    font-size: 16px;
    font-weight: 900;
}

.uslog-calc-lines .is-final {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-top: 14px;
    padding: 16px;
    border-radius: 14px;
    background: #e9f6ee;
}

.uslog-calc-lines .is-final span,
.uslog-calc-lines .is-final strong {
    color: #18794e;
}

.uslog-calc-lines .is-final strong {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    text-align: right;
}

.uslog-calc-final-amount-usd,
.uslog-calc-final-amount-azn {
    display: block;
    color: inherit !important;
    font: inherit;
    white-space: nowrap;
}


.uslog-calc-result-section {
    margin-top: 18px;
}

.uslog-calc-result-section + .uslog-calc-result-section {
    margin-top: 10px;
    padding-top: 16px;
    border-top: 2px solid #dce8f2;
}

.uslog-calc-result-section h3 {
    margin: 0;
    padding: 0 0 10px;
    color: #263449;
    font-size: 15px;
    font-weight: 900;
}

.uslog-calc-summary-section > div {
    grid-template-columns: minmax(0, 1fr) max-content;
}

/* 1.0.32: preserve the 1.0.30 summary breakdown and add per-invoice totals to headings. */
.uslog-calc-invoice-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 18px;
    align-items: center;
}

.uslog-calc-invoice-heading span,
.uslog-calc-invoice-heading strong {
    color: #263449;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.35;
}

.uslog-calc-invoice-heading strong {
    text-align: right;
    white-space: nowrap;
}

/* Breakdown rows are explanatory; both labels and amounts use regular weight. */
.uslog-calc-summary-section > div strong {
    font-weight: 400;
}

/* One strong divider between Auction and Transportation; no extra thin rule. */
.uslog-calc-auction-summary > div:last-child {
    border-bottom: 0;
}

/* Same strong divider after the Transportation breakdown, before the grand total.
 * The pseudo-element overlays the final visible row's 1px rule, so optional
 * hidden rows cannot create a double separator. */
.uslog-calc-transport-summary {
    position: relative;
}

.uslog-calc-transport-summary::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #dce8f2;
    pointer-events: none;
}

.uslog-calc-bank-note {
    margin: 8px 0 0;
    color: #8793a4;
    font-size: 11px;
    line-height: 1.5;
}

.uslog-calc-customs-result {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 2px solid #dce8f2;
}

.uslog-calc-customs-main-lines {
    display: block !important;
    width: 100%;
    margin-top: 16px;
    padding-top: 8px;
    border-top: 2px solid #dce8f2;
}

.uslog-calc-customs-main-lines > div {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) max-content;
}

.uslog-calc-customs-breakdown {
    margin-top: 10px;
}

.uslog-calc-customs-breakdown details {
    padding: 12px 14px;
    border: 1px solid #d8e2ec;
    border-radius: 13px;
    background: #f8fafc;
}

.uslog-calc-customs-breakdown summary {
    color: #344256;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.uslog-calc-note {
    margin: 22px 0 0;
    color: #8793a4;
    font-size: 12px;
    line-height: 1.55;
}

@media (max-width: 960px) {
    .uslog-calc-layout {
        grid-template-columns: 1fr;
    }

    .uslog-calc-result {
        position: static;
    }
}

@media (max-width: 620px) {
    /*
     * iOS WebKit automatically zooms the visual viewport when a focused form
     * control has a computed font size below 16px. Chrome on iPhone uses the
     * same WebKit behavior. The resulting zoom looks like document overflow,
     * survives a same-URL refresh, and resets after navigating to another
     * language route. Keep every native calculator control at the 16px
     * threshold so entering a bid or choosing a location cannot zoom the page.
     */
    .uslog-calc-page input,
    .uslog-calc-page select,
    .uslog-calc-page textarea {
        font-size: 16px !important;
    }

    /*
     * Keep the established mobile transparent native date layer. Desktop
     * must retain its native date-input appearance internally so Chrome on
     * macOS can open the calendar picker from the localized visual control.
     */
    .uslog-calc-date-control input[type="date"] {
        -webkit-appearance: none;
        appearance: none;
    }

    .uslog-calc-page {
        padding: 18px 12px 46px;
    }

    .uslog-calc-hero {
        padding: 26px 22px 30px;
        border-radius: 20px;
    }

    .uslog-calc-hero h1 {
        font-size: 34px;
    }

    .uslog-calc-hero p {
        font-size: 14px;
    }

    .uslog-calc-layout,
    .uslog-calc-main {
        gap: 16px;
    }

    .uslog-calc-layout {
        margin-top: 16px;
    }

    .uslog-calc-card {
        padding: 20px 17px;
        border-radius: 20px;
    }

    .uslog-calc-card-head {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 18px;
    }

    .uslog-calc-card-head > span {
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }

    .uslog-calc-card h2,
    .uslog-calc-result h2 {
        font-size: 20px;
    }

    .uslog-calc-customs-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    html,
    body.uslog-public-calculator-page,
    body.uslog-public-calculator-page #page,
    body.uslog-public-calculator-page .site,
    body.uslog-public-calculator-page .site-content,
    body.uslog-public-calculator-page .content-area,
    body.uslog-public-calculator-page #primary,
    body.uslog-public-calculator-page .site-main,
    body.uslog-public-calculator-page .ast-container,
    body.uslog-public-calculator-page .uslog-calc-page,
    body.uslog-public-calculator-page .uslog-calc-shell,
    body.uslog-public-calculator-page .uslog-calc-layout,
    body.uslog-public-calculator-page .uslog-calc-main {
        width: 100%;
        max-width: 100%;
        height: auto !important;
        min-height: 0 !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        background: #eef4f9 !important;
    }

    body.uslog-public-calculator-page {
        touch-action: pan-y;
    }

    body.uslog-public-calculator-page .uslog-calc-page,
    body.uslog-public-calculator-page .uslog-calc-shell,
    body.uslog-public-calculator-page .uslog-calc-layout,
    body.uslog-public-calculator-page .uslog-calc-main,
    body.uslog-public-calculator-page .uslog-calc-card,
    body.uslog-public-calculator-page .uslog-calc-result {
        min-width: 0;
        max-width: 100%;
    }

    .uslog-calc-commerce-control {
        min-height: 58px;
    }

    .uslog-calc-commerce-control select {
        position: absolute;
        z-index: 2;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        opacity: 0;
        cursor: pointer;
    }

    .uslog-calc-commerce-display {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 58px;
        padding: 9px 42px 9px 15px;
        border: 1px solid #cbd7e4;
        border-radius: 13px;
        background: #fff;
        color: #172033;
        font-size: 12px;
        font-weight: 750;
        line-height: 1.3;
        white-space: normal;
        overflow-wrap: anywhere;
        pointer-events: none;
    }

    .uslog-calc-commerce-control select:focus-visible + .uslog-calc-commerce-display {
        border-color: #1685cf;
        box-shadow: 0 0 0 4px rgba(22, 133, 207, .12);
    }

    .uslog-calc-commerce-arrow {
        position: absolute;
        right: 16px;
        top: 50%;
        display: block;
        width: 8px;
        height: 8px;
        border-right: 2px solid #526174;
        border-bottom: 2px solid #526174;
        transform: translateY(-65%) rotate(45deg);
        pointer-events: none;
    }

    .uslog-calc-customs-full {
        grid-column: auto;
    }

    .uslog-calc-customs-actions {
        grid-template-columns: 1fr;
    }

    .uslog-calc-customs-actions button {
        width: 100%;
    }

    .uslog-calc-live-row,
    .uslog-calc-selected-delivery {
        grid-template-columns: minmax(0, 1fr) max-content;
        gap: 10px;
        padding: 12px;
    }

    .uslog-calc-location-list button {
        display: block;
    }

    .uslog-calc-location-list button span {
        display: block;
        margin-top: 3px;
        text-align: left;
    }

    .uslog-calc-option {
        grid-template-columns: auto auto minmax(0, 1fr);
        padding: 13px 12px;
    }

    .uslog-calc-lines > div,
    .uslog-calc-customs-main-lines > div,
    .uslog-calc-customs-breakdown [data-uslog-customs-duty-lines] > div {
        gap: 10px;
    }

    .uslog-calc-customs-main-lines > div,
    .uslog-calc-customs-breakdown [data-uslog-customs-duty-lines] > div {
        grid-template-columns: minmax(0, 1fr) max-content;
    }

    .uslog-calc-customs-main-lines strong,
    .uslog-calc-customs-breakdown strong {
        white-space: nowrap;
    }

    .uslog-calc-lines .is-final {
        grid-template-columns: 1fr;
        gap: 7px;
        align-items: start;
    }

    .uslog-calc-lines .is-final strong {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 3px;
        max-width: 100%;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .uslog-calc-final-amount-usd,
    .uslog-calc-final-amount-azn {
        display: block;
        max-width: 100%;
    }
}
