body.atoz-ui {
    background-color: #f3f5f6;
    color: #25333d;
}

body.atoz-ui .company-bulletin {
    background-color: #eaf1f2;
    border-color: #dbe6e8;
    color: #3b5058;
}

body.atoz-ui main tbody tr:hover {
    background-color: #edf4f5;
}

.order-entry-page .hero,
.atoz-ui .desk-hero {
    padding: clamp(16px, 3vw, 28px);
    background: #e9f0f1;
    color: #25333d;
    border: 1px solid #d5e0e2;
    border-radius: 14px;
}

.atoz-ui .desk-hero h1,
.atoz-ui .desk-hero p {
    color: #25333d;
}

.atoz-ui .desk-tabs [aria-current] {
    background: #d8e9eb;
    color: #203c46;
    border-color: #a8c5c9;
    font-weight: 700;
}

.atoz-ui .desk-card,
.order-entry-page :is(.roadmap, .panel) {
    background: #fafbfb;
    border: 1px solid #d5e0e2;
    border-radius: 12px;
}

.atoz-ui .desk-list-card:hover {
    background: #edf4f5;
    border-color: #abc8cc;
}

.atoz-ui .desk-hero .button:not(.secondary),
.atoz-ui .desk-form .button,
.order-entry-page .order-entry-actions button,
.order-entry-page #application-plan-form button[value="save_plan"] {
    background: #356a73;
    border-color: #356a73;
    color: #fff;
}

.atoz-ui .desk-form [hidden],
.order-entry-page [data-party-status][hidden] {
    display: none;
}

.order-entry-page .order-entry-actions {
    margin-block: 14px;
}

.order-entry-page .person-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: 12px 16px;
    align-items: start;
}

.order-entry-page .person-fields label {
    display: grid;
    gap: 5px;
}

.order-entry-page [data-birth-date] {
    text-align: start;
    font-variant-numeric: tabular-nums;
}

.order-entry-page :is(.person-fields small, #manual-device p) {
    color: #465863;
}

.order-entry-page #add-device {
    scroll-margin-block-start: 6rem;
}

.order-entry-page #add-device .table-wrap {
    overflow-x: auto;
}

.order-entry-page #application-plan-dialog {
    padding: clamp(14px, 3vw, 24px);
    border: 1px solid #cfdddf;
    border-radius: 14px;
    background: #fafbfb;
}

.order-entry-page #application-plan-dialog::backdrop {
    background: #25333d73;
}

.order-entry-page #application-plan-form {
    display: grid;
    gap: 12px;
}

.order-entry-page #application-plan-form .actions {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .atoz-ui .desk-tabs a {
        border-radius: 8px;
        padding: 8px 10px;
    }

    .atoz-ui .desk-card summary {
        flex-wrap: wrap;
    }

    .order-entry-page .person-fields input {
        font-size: 16px;
    }
}

.order-entry-page .application-payment-scroll {
    overflow-x: auto;
}

.order-entry-page #application-payments {
    width: max-content;
    min-width: 100%;
}

.order-entry-page #application-payments :is(th,td) {
    min-width: 7rem;
    text-align: center;
    white-space: nowrap;
}

.order-entry-page #application-payments input {
    width: 6rem;
    text-align: center;
}

.order-entry-page [data-fee-actions][hidden] {
    display: none;
}

@media (min-width: 1500px) {
    .order-entry-page .person-fields {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
