.acc-page { padding: 8px 16px 48px; }
.acc-card { max-width: 440px; margin: 0 auto; background: #fff; border: 1px solid #e4e4e4; border-radius: 16px; padding: 28px 26px; box-shadow: 0 1px 3px rgba(0,0,0,.05); color: #1c1c1c; }
.acc-card--wide { max-width: 520px; }
.acc-title { font-style: normal !important; text-transform: none; letter-spacing: 0; font-size: 26px; line-height: 1.2; margin: 0 0 6px; text-align: center; }
.acc-sub { margin: 0 0 22px; text-align: center; color: #666; font-size: 15px; line-height: 1.5; }
.acc-form { margin: 0; }
.acc-field { margin-bottom: 16px; }
.acc-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .02em; margin-bottom: 6px; color: #333; text-transform: none; }
.acc-label small { font-weight: 400; color: #777; }
.acc-input { display: block; width: 100%; min-height: 50px; border: 1px solid #cfcfcf; border-radius: 12px; padding: 0 14px; font: inherit; font-size: 16px; color: #1c1c1c; background: #fff; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.acc-input:focus { outline: none; border-color: #c8102e; box-shadow: 0 0 0 3px rgba(200,16,46,.15); }
.acc-input[aria-invalid="true"] { border-color: #c8102e; background: #fff8f8; }
.acc-pw { position: relative; }
.acc-pw .acc-input { padding-right: 52px; }
.acc-eye { position: absolute; right: 4px; top: 4px; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; color: #666; display: flex; align-items: center; justify-content: center; border-radius: 10px; padding: 0; }
.acc-eye:hover { background: #f3f3f3; color: #1c1c1c; }
.acc-eye svg { width: 22px; height: 22px; }
.acc-eye .acc-eye-off { display: none; }
.acc-eye[aria-pressed="true"] .acc-eye-on { display: none; }
.acc-eye[aria-pressed="true"] .acc-eye-off { display: block; }
.acc-error { display: block; color: #c8102e; font-size: 13px; line-height: 1.4; margin-top: 6px; min-height: 0; }
.acc-error:empty { display: none; }
.acc-hint { display: block; color: #777; font-size: 12.5px; margin-top: 6px; }
.acc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.acc-phone { display: flex; align-items: stretch; }
.acc-phone__code { display: flex; align-items: center; padding: 0 12px; border: 1px solid #cfcfcf; border-right: 0; border-radius: 12px 0 0 12px; background: #f5f5f5; font-size: 15px; color: #444; font-weight: 600; }
.acc-phone .acc-input { border-radius: 0 12px 12px 0; }
.acc-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 8px; }
.acc-meter i { height: 5px; border-radius: 3px; background: #e4e4e4; display: block; }
.acc-meter[data-level="1"] i:nth-child(-n+1) { background: #d93025; }
.acc-meter[data-level="2"] i:nth-child(-n+2) { background: #f0a000; }
.acc-meter[data-level="3"] i:nth-child(-n+3) { background: #7cb342; }
.acc-meter[data-level="4"] i { background: #1f9d55; }
.acc-meter-label { font-size: 12.5px; color: #777; margin-top: 4px; display: block; min-height: 18px; }
.acc-btn, .acc-btn:link, .acc-btn:visited { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; border-radius: 12px; border: 1px solid #c8102e; background: #c8102e; color: #fff !important; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; text-decoration: none; text-transform: none; letter-spacing: 0; padding: 0 18px; box-sizing: border-box; }
.acc-btn:hover { background: #a80d26; border-color: #a80d26; color: #fff !important; }
.acc-btn:disabled { opacity: .65; cursor: progress; }
.acc-btn--ghost, .acc-btn--ghost:link, .acc-btn--ghost:visited { background: #fff; color: #1c1c1c !important; border-color: #1c1c1c; }
.acc-btn--ghost:hover { background: #f3f3f3; color: #1c1c1c !important; border-color: #1c1c1c; }
.acc-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 14px 0 0; font-size: 14px; }
.acc-links a { color: #444; text-decoration: underline; }
.acc-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 16px; color: #777; font-size: 13px; }
.acc-divider::before, .acc-divider::after { content: ""; flex: 1; height: 1px; background: #e4e4e4; }
.acc-benefits { list-style: none; margin: 0 0 16px; padding: 0; font-size: 14px; color: #555; }
.acc-benefits li { padding-left: 24px; position: relative; margin-bottom: 6px; line-height: 1.45; }
.acc-benefits li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; background: #1f9d55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat; border-radius: 50%; }
.acc-card .validation-summary-errors, .acc-card .success, .acc-alert { display: block; margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; line-height: 1.5; }
.acc-card .validation-summary-errors, .acc-alert--error { background: #fff1f1; border: 1px solid #f2b8b8; color: #8a1010; }
.acc-card .success, .acc-alert--ok { background: #ecf8f1; border: 1px solid #b7e2c8; color: #14633a; }
.acc-card .success a { color: inherit; font-weight: 700; text-decoration: underline; }
.acc-card .validation-summary-valid { display: none; }
.acc-card .text-danger ul { margin: 0; padding: 0; list-style: none; }
.acc-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; color: #444; }
.acc-check label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13.5px; cursor: pointer; margin: 0; }
.acc-check input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: #c8102e; }
.acc-check a { color: #1c1c1c; text-decoration: underline; }
.acc-ts { margin: 4px 0 16px; min-height: 65px; }
@media (max-width: 480px) {
    .acc-page { padding: 4px 12px 36px; }
    .acc-card { padding: 22px 18px; border-radius: 14px; }
    .acc-title { font-size: 23px; }
    .acc-row { grid-template-columns: 1fr; gap: 0; }
}

.ah-page { max-width: 1120px; margin: 0 auto; padding: 8px 16px 56px; color: #1c1c1c; }
.ah-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 8px 0 20px; }
.ah-hello { font-style: normal !important; text-transform: none; letter-spacing: 0; font-size: 28px; line-height: 1.2; margin: 0; }
.ah-email { margin: 4px 0 0; color: #666; font-size: 14.5px; }
.ah-quick { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ah-quick > * { margin: 0 !important; vertical-align: middle; }
.ah-chipbtn, .ah-chipbtn:link, .ah-chipbtn:visited { display: inline-flex; align-items: center; box-sizing: border-box; height: 40px; line-height: 1; padding: 0 16px; margin: 0; border-radius: 999px; border: 1px solid #cfcfcf; background: #fff; color: #1c1c1c !important; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; text-transform: none; letter-spacing: 0; cursor: pointer; }
.ah-chipbtn:hover { background: #f3f3f3; }
.ah-chipbtn--muted { color: #666 !important; }
.ah-alert { max-width: none; margin-bottom: 16px; }
.ah-notice { background: #fff8e6; border: 1px solid #f3dd9b; color: #5c4400; border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-size: 14.5px; line-height: 1.5; }
.ah-notice p { margin: 4px 0 0; }
.ah-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.ah-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.ah-head h2 { font-style: normal !important; text-transform: none; letter-spacing: 0; font-size: 20px; margin: 0; }
.ah-count { color: #777; font-size: 14px; }
.ah-order { background: #fff; border: 1px solid #e4e4e4; border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.ah-order__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ah-order__no, .ah-order__no:link, .ah-order__no:visited { font-weight: 700; font-size: 16px; color: #1c1c1c; text-decoration: none; }
.ah-order__no:hover { color: #c8102e; }
.ah-order__date { display: block; color: #777; font-size: 13px; margin-top: 2px; }
.ah-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #fff4f5; color: #c8102e; border: 1px solid #f0b3ba; }
.ah-badge--done { background: #ecf8f1; color: #1a7f46; border-color: #b7e2c8; }
.ah-badge--cancel { background: #f3f3f3; color: #666; border-color: #d8d8d8; }
.ah-steps { list-style: none; margin: 16px 0 4px; padding: 0; display: flex; }
.ah-steps li { flex: 1; text-align: center; position: relative; font-size: 12px; line-height: 1.3; color: #888; padding: 0 2px; }
.ah-steps li::before { content: ""; display: block; width: 20px; height: 20px; margin: 0 auto 6px; border-radius: 50%; background: #e4e4e4; position: relative; z-index: 1; }
.ah-steps li::after { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px; background: #e4e4e4; }
.ah-steps li:first-child::after { display: none; }
.ah-steps li.is-done { color: #1c1c1c; }
.ah-steps li.is-done::before { background: #1f9d55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.ah-steps li.is-done::after, .ah-steps li.is-current::after { background: #1f9d55; }
.ah-steps li.is-current { color: #c8102e; font-weight: 700; }
.ah-steps li.is-current::before { background: #c8102e; box-shadow: 0 0 0 4px #fde3e6; }
.ah-items { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #f0f0f0; }
.ah-thumbs { display: flex; gap: 8px; align-items: center; flex: none; }
.ah-thumbs img { width: 56px; height: 56px; object-fit: contain; border: 1px solid #eee; border-radius: 10px; background: #fafafa; display: block; }
.ah-more { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border: 1px dashed #cfcfcf; border-radius: 10px; color: #666; font-weight: 700; font-size: 14px; }
.ah-names { min-width: 0; font-size: 14.5px; line-height: 1.4; }
.ah-names span { display: block; font-weight: 600; overflow-wrap: anywhere; }
.ah-names small { display: block; color: #777; font-size: 13px; }
.ah-names .ah-custom { color: #c8102e; }
.ah-order__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid #f0f0f0; }
.ah-order__info strong { font-size: 18px; }
.ah-track { display: block; font-size: 13px; color: #555; margin-top: 2px; }
.ah-track a { text-decoration: underline; color: inherit; }
.ah-order__actions { display: flex; align-items: center; gap: 14px; }
.ah-order__actions form { margin: 0; }
.ah-btn, .ah-btn:link, .ah-btn:visited { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid #c8102e; background: #c8102e; color: #fff !important; font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; text-transform: none; letter-spacing: 0; cursor: pointer; box-sizing: border-box; }
.ah-btn:hover { background: #a80d26; border-color: #a80d26; }
.ah-btn--ghost, .ah-btn--ghost:link, .ah-btn--ghost:visited { background: #fff; color: #1c1c1c !important; border-color: #1c1c1c; }
.ah-btn--ghost:hover { background: #f3f3f3; border-color: #1c1c1c; }
.ah-btn--block { display: flex; width: 100%; }
.ah-link { border: 0; background: transparent; color: #777; font: inherit; font-size: 13.5px; text-decoration: underline; cursor: pointer; padding: 6px 0; }
.ah-link:hover { color: #c8102e; }
.ah-empty { background: #fff; border: 1px dashed #cfcfcf; border-radius: 14px; padding: 36px 20px; text-align: center; }
.ah-empty h3 { font-style: normal !important; text-transform: none; letter-spacing: 0; margin: 0 0 6px; font-size: 19px; }
.ah-empty p { margin: 0 0 16px; color: #666; }
.ah-side { display: flex; flex-direction: column; gap: 16px; }
.ah-card { background: #fff; border: 1px solid #e4e4e4; border-radius: 14px; padding: 18px 20px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.ah-card__title { font-style: normal !important; text-transform: none; letter-spacing: 0; font-size: 17px; margin: 0 0 12px; }
.ah-form .ah-label { display: block; font-size: 13px; font-weight: 700; margin: 0 0 5px; color: #333; text-transform: none; }
.ah-input { display: block; width: 100%; min-height: 46px; border: 1px solid #cfcfcf; border-radius: 10px; padding: 0 12px; font: inherit; font-size: 16px; box-sizing: border-box; margin-bottom: 12px; background: #fff; }
.ah-input:focus { outline: none; border-color: #c8102e; box-shadow: 0 0 0 3px rgba(200,16,46,.15); }
.ah-address { font-size: 14.5px; line-height: 1.5; margin-bottom: 14px; color: #333; }
.ah-address p { margin: 0 0 4px; }
.ah-muted { color: #777; font-size: 14px; margin: 0 0 12px; }
.ah-links { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.ah-links li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.ah-links li:last-child { border-bottom: 0; }
.ah-links a { color: #1c1c1c; text-decoration: none; font-weight: 600; }
.ah-links a:hover { color: #c8102e; }
@media (max-width: 860px) {
    .ah-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .ah-page { padding: 4px 12px 40px; }
    .ah-hello { font-size: 23px; }
    .ah-order { padding: 16px 14px; }
    .ah-steps li { font-size: 10.5px; }
    .ah-thumbs img, .ah-more { width: 48px; height: 48px; }
    .ah-order__foot { flex-direction: column; align-items: stretch; }
    .ah-order__actions { justify-content: space-between; }
    .ah-order__actions .ah-btn { flex: 1; }
}

.nm-overlay { position: fixed; inset: 0; z-index: 100000; background: rgba(15,15,15,.55); display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; }
.nm-overlay[hidden] { display: none; }
.nm-panel { position: relative; background: #fff; width: 100%; max-width: 460px; border-radius: 18px; padding: 28px 26px 24px; box-shadow: 0 24px 70px rgba(0,0,0,.35); max-height: 94vh; overflow-y: auto; color: #1c1c1c; box-sizing: border-box; }
.nm-panel--small { max-width: 400px; }
.nm-close { position: absolute; right: 12px; top: 10px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 28px; line-height: 1; color: #666; cursor: pointer; border-radius: 10px; padding: 0; }
.nm-close:hover { background: #f3f3f3; color: #1c1c1c; }
.nm-title { font-style: normal !important; text-transform: none; letter-spacing: 0; font-size: 22px; line-height: 1.25; margin: 0 28px 8px 0; }
.nm-text { margin: 0 0 18px; color: #555; font-size: 14.5px; line-height: 1.55; }
.nm-form { margin: 0; }
.nm-field { margin-bottom: 14px; }
.nm-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: #333; text-transform: none; }
.nm-input { display: block; width: 100%; min-height: 50px; border: 1px solid #cfcfcf; border-radius: 12px; padding: 0 14px; font: inherit; font-size: 16px; box-sizing: border-box; background: #fff; }
.nm-input:focus { outline: none; border-color: #c8102e; box-shadow: 0 0 0 3px rgba(200,16,46,.15); }
.nm-error { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #fff1f1; border: 1px solid #f2b8b8; color: #8a1010; font-size: 14px; line-height: 1.4; }
.nm-error[hidden] { display: none; }
.nm-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; border-radius: 12px; border: 1px solid #c8102e; background: #c8102e; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; text-transform: none; letter-spacing: 0; }
.nm-btn:hover { background: #a80d26; }
.nm-btn:disabled { opacity: .65; cursor: progress; }
.nm-link { display: block; text-align: center; margin-top: 14px; font-size: 14px; color: #666; text-decoration: underline; }
.nm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.nm-panel .acc-alert { margin-bottom: 14px; }
.nm-panel .acc-alert[hidden] { display: none; }
.account-alert { display: block; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; line-height: 1.5; }
.account-alert--success { background: #ecf8f1; border: 1px solid #b7e2c8; color: #14633a; }
.account-alert[hidden] { display: none; }
.account-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 20px 0 4px; }
.account-pagination a, .account-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid #cfcfcf; border-radius: 10px; background: #fff; color: #1c1c1c; text-decoration: none; font-size: 14px; font-weight: 600; box-sizing: border-box; }
.account-pagination a:hover { background: #f3f3f3; }
.account-pagination .is-active { background: #1c1c1c; border-color: #1c1c1c; color: #fff; }
.ah-info { margin: 0; }
.ah-info dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #777; margin: 0 0 2px; }
.ah-info dd { margin: 0 0 14px; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.ah-info dd:last-child { margin-bottom: 0; }
@media (max-width: 480px) {
    .nm-panel { padding: 24px 18px 20px; border-radius: 16px; }
    .nm-actions { grid-template-columns: 1fr; }
}

.ad-back, .ad-back:link, .ad-back:visited { display: inline-block; margin: 6px 0 0; color: #666; font-size: 14px; text-decoration: none; }
.ad-back:hover { color: #c8102e; }
.ad-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ad-card { background: #fff; border: 1px solid #e4e4e4; border-radius: 14px; padding: 18px 20px; box-shadow: 0 1px 2px rgba(0,0,0,.04); display: flex; flex-direction: column; min-width: 0; }
.ad-card.is-primary { border-color: #b7e2c8; box-shadow: 0 0 0 1px #b7e2c8; }
.ad-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ad-card__head h2 { font-style: normal !important; text-transform: none; letter-spacing: 0; font-size: 18px; margin: 0; overflow-wrap: anywhere; }
.ad-person { margin: 0 0 6px; font-weight: 700; font-size: 15px; }
.ad-address { font-style: normal; color: #444; font-size: 14.5px; line-height: 1.55; margin: 0 0 8px; overflow-wrap: anywhere; }
.ad-phone { margin: 0 0 14px; color: #555; font-size: 14px; }
.ad-card__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; border-top: 1px solid #f0f0f0; }
.ad-card__foot .ah-btn { min-height: 40px; padding: 0 16px; }
.ad-danger { color: #a71922 !important; margin-left: auto; }
@media (max-width: 760px) {
    .ad-grid { grid-template-columns: 1fr; }
}

.od-steps { margin-bottom: 16px; }
.od-track { margin: 14px 0 0; text-align: center; font-size: 14.5px; color: #444; }
.od-track a { color: #c8102e; font-weight: 700; text-decoration: underline; }
.od-lines { list-style: none; margin: 0; padding: 0; }
.od-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid #f0f0f0; align-items: start; }
.od-line:last-child { border-bottom: 0; padding-bottom: 0; }
.od-line:first-child { padding-top: 0; }
.od-line__img img { width: 72px; height: 72px; object-fit: contain; border: 1px solid #eee; border-radius: 10px; background: #fafafa; display: block; }
.od-line__body { min-width: 0; }
.od-line__name, .od-line__name:link, .od-line__name:visited { display: block; font-weight: 700; font-size: 15.5px; color: #1c1c1c; text-decoration: none; overflow-wrap: anywhere; }
.od-line__name:hover { color: #c8102e; }
.od-line__meta { display: block; font-size: 13.5px; color: #666; margin-top: 3px; }
.od-line__meta strong { color: #1c1c1c; }
.od-line__custom { display: block; font-size: 13.5px; color: #c8102e; margin-top: 3px; font-weight: 600; }
.od-custom-previews { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; cursor: zoom-in; }
.od-custom-previews img { width: 64px; height: 64px; object-fit: contain; border: 1px solid #eee; border-radius: 8px; background: #fafafa; }
.od-line__total { font-weight: 700; font-size: 16px; white-space: nowrap; }
.od-summary { margin: 0; }
.od-summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14.5px; color: #444; }
.od-summary dt { margin: 0; }
.od-summary dd { margin: 0; font-weight: 600; color: #1c1c1c; }
.od-summary__total { border-top: 1px solid #e4e4e4; margin-top: 6px; padding-top: 12px !important; font-size: 17px !important; }
.od-summary__total dt, .od-summary__total dd { font-weight: 700; color: #1c1c1c; }
.od-hide { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid #f0f0f0; }
@media (max-width: 480px) {
    .od-line { grid-template-columns: 60px minmax(0, 1fr); }
    .od-line__img img { width: 60px; height: 60px; }
    .od-line__total { grid-column: 2; }
}
