.lt-account {
    --account-ink: #28323b;
    --account-muted: #626c74;
    --account-border: #e6e2da;
    --account-red: #e51b2b;
    min-height: calc(100vh - 78px);
    padding: 32px 24px 56px;
    background: linear-gradient(140deg, #f3f3eb, #f7f4ef 440px, #faf9f6 780px);
    color: var(--account-ink);
    font: 16px/1.5 Arial, Helvetica, sans-serif;
}
.lt-account *, .lt-account *::before, .lt-account *::after { box-sizing: border-box; }
.lt-account [ng-cloak] { display: none !important; }
.lt-account__wrap { max-width: 1220px; margin: 0 auto; }
.lt-account h1 {
    margin: 0 0 22px;
    color: inherit;
    font-size: clamp(27px, 4vw, 34px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.7px;
}
.lt-account h2, .lt-account h3 { margin: 0; color: inherit; line-height: 1.25; font-weight: 700; }
.lt-account h2 { font-size: 21px; letter-spacing: -.3px; }
.lt-account h3 { font-size: 16px; }
.lt-account p, .lt-account address { margin: 0; }
.lt-account a { color: inherit; }
.lt-account :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #356db5; outline-offset: 3px; }

.lt-account__layout { display: grid; grid-template-columns: minmax(190px, 224px) minmax(0, 1fr); gap: 22px; align-items: start; }
.lt-account__content { min-width: 0; }
.lt-account__card, .lt-account__nav {
    min-width: 0;
    border: 1px solid var(--account-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 20px rgb(40 50 59 / 5%);
}
.lt-account__card { padding: 24px; }
.lt-account__card > :not(:last-child) { margin-bottom: 16px; }
.lt-account__nav { padding: 7px; }
.lt-account__nav ul, .lt-account__orders, .lt-account__addresses, .lt-account__items {
    margin: 0;
    padding: 0;
    list-style: none;
}
.lt-account__nav ul { display: grid; gap: 3px; }
.lt-account__nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.lt-account__nav a:hover { background: #f6f4f0; }
.lt-account__nav a[aria-current] { background: #fbe9eb; color: #a71e2d; font-weight: 700; }

.lt-account__form { display: grid; gap: 16px; max-width: 620px; }
.lt-account__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lt-account__field { display: grid; gap: 6px; min-width: 0; margin: 0; color: inherit; font-size: 14px; font-weight: 600; }
.lt-account__field :is(input, select, textarea) {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #b9b8b3;
    border-radius: 10px;
    background: #fff;
    color: var(--account-ink);
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
}
.lt-account__field select { appearance: auto; }
.lt-account__field textarea { resize: vertical; }
.lt-account__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lt-account :is(button, a).lt-account__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 44px;
    padding: 9px 16px;
    border: 1px solid var(--account-red);
    border-radius: 10px;
    background: var(--account-red);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.lt-account :is(button, a).lt-account__button:hover { border-color: #bd1422; background: #bd1422; }
.lt-account :is(button, a).lt-account__button--secondary { border-color: #d9d4ca; background: #fff; color: var(--account-ink); }
.lt-account :is(button, a).lt-account__button--secondary:hover { border-color: #b9b2a5; background: #f7f4ef; }
.lt-account button.lt-account__button:disabled { border-color: #eeeae5; background: #eeeae5; color: #686560; cursor: not-allowed; }
.lt-account__error { padding: 10px 12px; border-radius: 10px; background: #fff0f0; color: #a71928; }
.lt-account__lookup { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.lt-account__lookup .lt-account__field { flex: 1 1 145px; }
.lt-account__verify-row { grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: stretch; }
.lt-account__verify-row > label,
.lt-account__verify-row > input:last-child { grid-column: 1 / -1; }
.lt-account__verify-row > label,
.lt-account__verify-row > .lt-account__button { margin: 0; }
.lt-account__verification { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--account-border); border-radius: 10px; }
.lt-account__verification legend { padding: 0 5px; color: inherit; font-size: 15px; font-weight: 700; }
.lt-account__verification p { overflow-wrap: anywhere; }
.lt-account__verification .lt-account__button { justify-self: start; }
.lt-account .lt-account__notice { color: #236840; }

.lt-account__order, .lt-account__address, .lt-account__restaurant, .lt-account__card-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}
.lt-account__order, .lt-account__address { padding: 15px 0; border-bottom: 1px solid var(--account-border); }
.lt-account__order:first-child, .lt-account__address:first-child { border-top: 1px solid var(--account-border); }
.lt-account__order-copy, .lt-account__address > div, .lt-account__restaurant > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.lt-account__order-copy > p, .lt-account__address p, .lt-account address { color: var(--account-muted); font-size: 14px; }
.lt-account__order-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; }
.lt-account__order-meta strong { color: var(--account-ink); }
.lt-account__order .lt-account__button { flex-shrink: 0; }
.lt-account__logo {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    padding: 4px;
    border: 1px solid var(--account-border);
    border-radius: 10px;
    background: #fff;
    object-fit: contain;
}
.lt-account__status {
    display: inline-block;
    width: fit-content;
    padding: 3px 8px;
    border-radius: 7px;
    background: #f4efe5;
    color: #6e5733;
    font-size: 12px;
    font-weight: 700;
}
.lt-account__status--confirmed { background: #e6f2e9; color: #26563a; }
.lt-account__status--problem { background: #fbe9eb; color: #a71e2d; }
.lt-account__card-heading { justify-content: space-between; flex-wrap: wrap; }

.lt-account__back { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.lt-account__order-detail > .lt-account__back { margin-bottom: 10px; }
.lt-account__detail-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: 14px; }
.lt-account__detail-main { display: grid; min-width: 0; gap: 14px; }
.lt-account__detail-grid .lt-account__card { padding: 18px; }
.lt-account__items li, .lt-account__totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.lt-account__items li { padding: 10px 0; border-top: 1px solid var(--account-border); overflow-wrap: anywhere; }
.lt-account__items li > span, .lt-account__totals dd { flex-shrink: 0; margin: 0; font-variant-numeric: tabular-nums; }
.lt-account__items small { display: block; color: var(--account-muted); }
.lt-account__totals { display: grid; gap: 7px; margin: 0; padding-top: 12px; border-top: 1px solid var(--account-border); }
.lt-account__total { margin-top: 5px; padding-top: 10px; border-top: 1px solid var(--account-border); font-size: 20px; font-weight: 800; }
.lt-account__support h3 { margin-bottom: 4px; }
.lt-account__rating { min-width: 0; margin: 0; padding: 0; border: 0; }
.lt-account__rating legend { margin: 0 0 6px; border: 0; color: inherit; font: inherit; font-weight: 700; }
.lt-account__rating-options { display: flex; flex-wrap: wrap; gap: 6px; }
.lt-account__rating-options label { position: relative; margin: 0; }
.lt-account__rating-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.lt-account__rating-options label > span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--account-border);
    border-radius: 8px;
    cursor: pointer;
}
.lt-account__rating-options input:checked + span { border-color: var(--account-red); background: #fbe9eb; color: #a71e2d; }
.lt-account__rating-options input:focus-visible + span { outline: 3px solid #356db5; outline-offset: 2px; }

@media (max-width: 1020px) {
    .lt-account__detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .lt-account { padding: 20px 14px 36px; }
    .lt-account h1 { margin-bottom: 15px; }
    .lt-account__layout { grid-template-columns: 1fr; gap: 14px; }
    .lt-account__nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lt-account__card { padding: 16px; }
    .lt-account__order { flex-wrap: wrap; gap: 10px; }
    .lt-account .lt-account__order .lt-account__button { width: 100%; }
    .lt-account__logo { width: 52px; height: 52px; }
}
@media (max-width: 380px) {
    .lt-account__fields { grid-template-columns: 1fr; }
}
