/* Светлая пастельная тема личного кабинета. Загружается после account.css и перекрывает поздние стили виджетов. */
:root{
  --bg:#fff9ef!important;
  --panel:#ffffffdc!important;
  --panel2:#fffdf8!important;
  --ink:#21143c!important;
  --muted:#5d4d75!important;
  --pink:#ff7bbd!important;
  --purple:#8b65ff!important;
  --cyan:#8ed8ff!important;
  --lime:#82f3cc!important;
  --red:#c84467!important;
  --line:#21143c1c!important;
  --line2:#21143c35!important;
  --shadow:0 22px 70px #38235a20!important;
}

html{background:#fff9ef!important;color-scheme:light!important}
body{
  color:#21143c!important;
  background:
    radial-gradient(42rem 30rem at 5% 0%,#ff7bbd4f 0%,transparent 69%),
    radial-gradient(38rem 28rem at 96% 7%,#8ed8ff62 0%,transparent 71%),
    radial-gradient(34rem 26rem at 14% 94%,#ffd36a3d 0%,transparent 72%),
    radial-gradient(38rem 28rem at 90% 90%,#82f3cc3d 0%,transparent 72%),
    linear-gradient(180deg,#fff9ef 0%,#f7edff 52%,#fff9ef 100%)!important;
  background-attachment:fixed!important;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.55;
  background-image:
    radial-gradient(circle at 11% 20%,#fff 0 2px,transparent 3px),
    radial-gradient(circle at 25% 12%,#ffd36a 0 2px,transparent 3px),
    radial-gradient(circle at 48% 28%,#ff7bbd 0 2px,transparent 3px),
    radial-gradient(circle at 72% 13%,#8ed8ff 0 2px,transparent 3px),
    radial-gradient(circle at 88% 37%,#82f3cc 0 2px,transparent 3px),
    radial-gradient(circle at 77% 78%,#8b65ff 0 2px,transparent 3px);
}

.panel,
.auth,
.topbar,
.tabs,
.section-panel{
  border-color:#21143c1f!important;
  background:#ffffffdc!important;
  color:#21143c!important;
  box-shadow:0 18px 55px #38235a1d!important;
  backdrop-filter:blur(18px) saturate(1.06)!important;
}
.auth{background:#ffffffea!important}

h1,h2,h3,
.notification-copy b,
.order b,
.address-row h3{
  color:#21143c!important;
}
.muted,
#profileSummary,
#notificationChannelHint,
#telegramState,
#telegramHint,
.notification-copy small,
.notification-security-note,
.address-row p,
.address-empty,
.order-items,
.user-pill{
  color:#5d4d75!important;
}
.eyebrow{color:#6849d7!important}

label{color:#593ca8!important}
.check{color:#4e4164!important}
input,textarea,select{
  border-color:#6d568b4f!important;
  background:#fffdf9!important;
  color:#21143c!important;
  caret-color:#6849d7!important;
  box-shadow:inset 0 1px 0 #fff!important;
}
input::placeholder,textarea::placeholder{color:#75668f!important;opacity:.78!important}
input:focus,textarea:focus,select:focus{
  border-color:#8b65ffaa!important;
  box-shadow:0 0 0 4px #8b65ff1f!important;
}
input[readonly]{background:#f5f0f8!important;color:#5d4d75!important}
select option{background:#fffdf9!important;color:#21143c!important}

.button{
  color:#352650!important;
  background:#fffdf9!important;
  border-color:#6d568b38!important;
  box-shadow:0 8px 22px #38235a13!important;
}
.button:hover{filter:brightness(1.02)!important;box-shadow:0 12px 28px #38235a20!important}
.button.primary{
  color:#fff!important;
  border-color:transparent!important;
  background:linear-gradient(135deg,#8b65ff,#ff7bbd 58%,#ffbd7b)!important;
}
.button.secondary{
  color:#31566b!important;
  border-color:#8ed8ff8a!important;
  background:#eaf8ff!important;
}
.button.ghost{
  color:#593ca8!important;
  border-color:#8b65ff54!important;
  background:#fff9efed!important;
}
.button.danger{
  color:#a52f50!important;
  border-color:#d94f706b!important;
  background:#fff0f4!important;
}
.link{color:#6849d7!important;font-weight:850!important}

.notice{
  border-color:#8ed8ff8f!important;
  background:#eaf8ff!important;
  color:#342354!important;
}
.user-pill{border-color:#6d568b32!important;background:#fffdf8!important}

.tabs{gap:8px!important}
.tab{
  color:#5d4d75!important;
  background:transparent!important;
}
.tab:hover{background:#f7f0ff!important;color:#593ca8!important}
.tab.active{
  color:#43259f!important;
  border-color:#8b65ff75!important;
  background:#f0e9ff!important;
}

.address-list,
.address-editor,
.notification-matrix,
.order{
  border-color:#6d568b2d!important;
  background:#fffdf9d9!important;
  color:#21143c!important;
}
.address-row{
  border-bottom-color:#6d568b1f!important;
  background:transparent!important;
  color:#21143c!important;
}
.address-row:hover,.address-row.active{
  background:#f3edff!important;
}
.address-row.active{box-shadow:inset 3px 0 0 #8b65ff!important}
.badge{
  background:#f3edff!important;
  color:#6849d7!important;
}
.badge.default{
  background:#e9fff5!important;
  color:#28725b!important;
}

.notification-matrix{overflow:hidden!important}
.notification-row{
  border-bottom-color:#6d568b22!important;
  color:#21143c!important;
}
.notification-header{
  background:#f3edff!important;
  color:#5d4d75!important;
}
.notification-channel{
  border-color:#6d568b30!important;
  background:#fffdf8!important;
  color:#3f3356!important;
}
.notification-channel:has(input:checked){
  border-color:#8b65ff72!important;
  background:#f3edff!important;
}
.notification-channel.channel-muted{
  color:#786d88!important;
  background:#faf7fb!important;
}
.notification-security-note{color:#5d4d75!important}
.notification-connector{background:#fffdf9d9!important}

.order{
  box-shadow:0 8px 22px #38235a0d!important;
}
.order-top,.order-line{color:#21143c!important}
.order-status{color:#28725b!important}
.order-items{border-top-color:#6d568b24!important}
.empty{
  border-color:#6d568b45!important;
  background:#ffffff9c!important;
  color:#5d4d75!important;
}

/* Адресные подсказки: стили добавляются JavaScript после загрузки страницы. */
.gar-hint{color:#655775!important}
.gar-suggestions,
.cdek-suggestions{
  border-color:#8b65ff70!important;
  background:#fffdf9!important;
  box-shadow:0 18px 48px #38235a2a!important;
}
.gar-suggestion,
.cdek-suggestion{
  border-bottom-color:#6d568b20!important;
  background:transparent!important;
  color:#21143c!important;
}
.gar-suggestion:hover,
.cdek-suggestion:hover{background:#f3edff!important}
.gar-suggestion b,
.cdek-suggestion b{color:#21143c!important}
.gar-suggestion span,
.cdek-suggestion span,
.gar-suggestion-state,
.cdek-suggestion-state{color:#5d4d75!important}
.gar-suggestion-state.error,
.cdek-suggestion-state.error{color:#b33358!important}

/* Предпочтительный ПВЗ СДЭК. */
.cdek-preference{
  border-color:#8ed8ff8f!important;
  background:#eaf8ffbf!important;
  color:#21143c!important;
}
.cdek-preference-fields select{
  border-color:#6d568b4f!important;
  background:#fffdf9!important;
  color:#21143c!important;
}
.cdek-point-card{
  border-color:#6d568b2e!important;
  background:#fffdf9!important;
  color:#21143c!important;
}
.cdek-point-card b{color:#21143c!important}
.cdek-point-card span,.cdek-point-card small{color:#5d4d75!important}

/* VK и подключаемые каналы. */
.vk-code-box{
  border-color:#8ed8ff8a!important;
  background:#eaf8ff!important;
  color:#21143c!important;
}
.vk-code-box code{color:#31566b!important}

/* История заказов загружает account-orders-v3.css динамически после основной темы. */
.orders-dashboard article{
  border-color:#6d568b2b!important;
  background:linear-gradient(145deg,#fffdf9,#f7f0ff)!important;
  color:#21143c!important;
  box-shadow:0 8px 22px #38235a0d!important;
}
.orders-dashboard span{color:#5d4d75!important}
.orders-dashboard strong{color:#21143c!important}
.order-filter{
  border-color:#6d568b30!important;
  background:#fffdf9!important;
  color:#5d4d75!important;
}
.order-filter:hover{border-color:#8b65ff70!important;color:#593ca8!important}
.order-filter.active{
  border-color:#8b65ff7d!important;
  background:#f0e9ff!important;
  color:#43259f!important;
}
.order-card{
  border-color:#6d568b2e!important;
  background:linear-gradient(145deg,#fffdf9,#fbf7ff)!important;
  color:#21143c!important;
  box-shadow:0 12px 36px #38235a14!important;
}
.order-card[data-tone="payment"]{border-color:#e1b74f70!important}
.order-card[data-tone="success"]{border-color:#63b98e70!important}
.order-card[data-tone="danger"]{border-color:#d94f7070!important}
.order-card[data-tone="transit"]{border-color:#68b9df80!important}
.order-number b,
.order-total strong{color:#21143c!important}
.order-date,
.order-total small{color:#6a5a7d!important}
.order-status-pill{
  background:#f1edf5!important;
  color:#594d67!important;
}
.order-status-pill.payment{background:#fff4d5!important;color:#7c5a0e!important}
.order-status-pill.success{background:#e7f9ef!important;color:#267051!important}
.order-status-pill.danger{background:#fff0f4!important;color:#a52f50!important}
.order-status-pill.transit{background:#eaf8ff!important;color:#315f76!important}
.order-status-pill.neutral{background:#f1edf5!important;color:#594d67!important}
.order-fact{
  border-color:#6d568b2c!important;
  background:#ffffffb8!important;
  color:#655775!important;
}
.order-progress-step{color:#857894!important}
.order-progress-step::before{
  border-color:#c8bfd3!important;
  background:#fffdf9!important;
}
.order-progress-step::after{background:#d8d0e0!important}
.order-progress-step.done,
.order-progress-step.current{color:#47375e!important}
.order-progress-step.done::before{
  border-color:#6dbdde!important;
  background:#8ed8ff!important;
}
.order-progress-step.done::after{background:#8ed8ff!important}
.order-progress-step.current::before{
  border-color:#5ab788!important;
  background:#fffdf9!important;
  box-shadow:0 0 0 4px #82f3cc35!important;
}
.order-attention{
  border-color:#e1b74f65!important;
  background:#fff7de!important;
  color:#6c521d!important;
}
.order-attention.success{
  border-color:#63b98e65!important;
  background:#e9fff5!important;
  color:#285b49!important;
}
.order-attention.danger{
  border-color:#d94f7065!important;
  background:#fff0f4!important;
  color:#99304f!important;
}
.order-details{
  border-top-color:#6d568b25!important;
  background:#faf7fce6!important;
  color:#21143c!important;
}
.order-detail-box{
  border-color:#6d568b2d!important;
  background:#fffdf9!important;
  color:#21143c!important;
}
.order-detail-box h3,
.order-item-row b,
.order-total-row,
.order-meta-list dd,
.order-timeline-copy b{color:#21143c!important}
.order-item-row small,
.order-meta-list dt,
.order-timeline-copy small{color:#655775!important}
.order-totals{border-top-color:#6d568b26!important}
.order-timeline-row::before{background:#d8d0e0!important}
.order-timeline-dot{
  border-color:#6dbdde!important;
  background:#fffdf9!important;
}
.order-copy{
  border-color:#8b65ff55!important;
  background:#f3edff!important;
  color:#593ca8!important;
}
.order-cancel-dialog{
  border-color:#6d568b45!important;
  background:#fffdf9!important;
  color:#21143c!important;
  box-shadow:0 28px 90px #38235a35!important;
}
.order-cancel-dialog::backdrop{background:#30244166!important}
.order-cancel-dialog h2{color:#21143c!important}

.message{color:#b33358!important}
.toast{background:#82f3cc!important;color:#173d31!important;box-shadow:0 16px 40px #38235a2f!important}
.toast.error{background:#d94f70!important;color:#fff!important}

@media(max-width:620px){
  .panel,.section-panel,.auth{border-radius:18px!important}
}
@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important}
}
