/* Customer-facing surfaces share the storefront palette, including forms loaded after page startup. */
:root {
  --es-ink:#edf4f9;
  --es-muted:#b3c4d2;
  --es-panel:#14212d;
  --es-inset:#0c1721;
  --es-line:#3e5568;
  --es-blue:#83d4ff;
  --es-lime:#b1ff4c;
}
.es-help-page {
  width:min(1060px,100%); margin:0 auto; padding:20px clamp(18px,4vw,48px) 64px; flex:1;
}
.es-help-crumb { display:flex; gap:10px; margin-bottom:25px; font-size:14px; color:var(--es-muted) }
.es-help-crumb a,.es-help-orders a { color:var(--es-blue) }
.es-help-page h1 { font-size:clamp(32px,5.1vw,58px); font-weight:650; line-height:1.09; letter-spacing:-.045em }
.es-help-intro { margin:14px 0 28px; max-width:620px; color:var(--es-muted); font-size:clamp(16px,2vw,18px); line-height:1.6 }
.es-help-grid { display:grid; grid-template-columns:1.08fr 1fr; gap:16px }
.es-help-grid article,.es-help-orders { padding:clamp(20px,3vw,32px); border:1px solid var(--es-line); border-radius:22px; min-width:0 }
.es-help-chat { background:radial-gradient(at 100% 0%,#1e4860,transparent 70%),#142635; display:flex; flex-direction:column; align-items:start }
.es-help-icon { color:var(--es-blue); margin-bottom:16px }
.es-help-page h2 { color:var(--es-ink); font-size:clamp(21px,3vw,28px); font-weight:600; line-height:1.2; letter-spacing:-.035em }
.es-help-grid p,.es-help-orders p { color:var(--es-muted); line-height:1.55; font-size:15px; margin:8px 0 18px }
.es-help-primary { display:inline-flex; gap:20px; align-items:center; min-height:48px; padding:10px 20px; margin-top:auto; border-radius:14px; background:var(--es-lime); color:#142009; font-weight:650 }
.es-help-primary:hover { background:#c2ff7b; color:#142009 }
.es-help-contacts,.es-help-orders { background:var(--es-panel) }
.es-help-contacts a { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 0; border-top:1px solid #344957; color:var(--es-blue) }
.es-help-contacts a:last-child { padding-bottom:0 }
.es-help-contacts small { display:block; font-size:13px; color:var(--es-muted) }
.es-help-contacts strong { display:block; margin-top:2px; overflow-wrap:anywhere; font-size:clamp(16px,2vw,19px); font-weight:550 }
.es-help-orders { margin-top:16px; scroll-margin-top:20px }
.es-help-orders p { margin-bottom:0 }
.es-help-orders ul { display:flex; flex-wrap:wrap; gap:8px; padding:0; margin:16px 0 0; list-style:none }
.es-help-orders li a { display:block; padding:9px 13px; background:#1c3040; border:1px solid var(--es-line); border-radius:10px }
header nav [data-orders-link] { display:inline-flex; align-items:center; justify-content:center; color:var(--es-ink); width:44px; height:44px; flex:none }
header nav [data-orders-link]:hover { color:var(--es-blue) }
.es-concept .es-mobile-nav a { color:var(--es-ink) }
.es-concept .theme-sidebar a[aria-current="page"] { background:#183344!important; border-color:#528199; color:var(--es-ink)!important }
.es-concept footer small { color:#acbcc9!important }
@media(max-width:700px) {
  .es-help-page { padding-top:2px; padding-bottom:36px }
  .es-help-crumb { margin-bottom:16px }
  .es-help-grid { grid-template-columns:1fr; gap:12px }
  .es-help-chat { position:relative; padding-right:28px }
  .es-help-icon { position:absolute; top:20px; right:20px; width:26px; height:26px }
  .es-help-chat h2 { padding-right:32px }
  .es-help-orders { margin-top:12px }
}
.es-chat-open { overflow:hidden }
dialog.es-chat:not([open]) { display:none!important }
dialog.es-chat[open] {
  position:fixed; inset:auto 20px 20px auto; margin:0; padding:0; display:flex; flex-direction:column;
  box-sizing:border-box; width:min(405px,calc(100% - 32px)); height:min(650px,calc(100dvh - 40px));
  max-width:none; max-height:none; background:#111d28; color:var(--es-ink); color-scheme:dark;
  border:1px solid #4a6478; border-radius:22px; box-shadow:0 18px 70px #02070db3; overflow:hidden;
}
dialog.es-chat::backdrop { background:#050b1265 }
dialog.es-chat .es-chat-head {
  position:static!important; padding:18px 20px; display:flex; align-items:center; gap:14px;
  background:linear-gradient(110deg,#263c4e,#193041)!important; border-bottom:1px solid var(--es-line)!important; color:var(--es-ink)!important;
}
dialog.es-chat .es-chat-head img { width:92px; height:auto; flex:none }
dialog.es-chat .es-chat-head div { min-width:0 }
dialog.es-chat .es-chat-head strong { line-height:1.2; font-size:16px; font-weight:650 }
dialog.es-chat .es-chat-head p { color:#b9cfdf!important; line-height:1.4; font-size:12px; margin:3px 0 0 }
dialog.es-chat .es-chat-head button {
  display:grid; place-items:center; width:40px; height:40px; flex:none; padding:0; border:1px solid #4a6477;
  color:var(--es-ink)!important; background:#182c3c; line-height:1; font-weight:400; font-size:25px; border-radius:50%;
}
dialog.es-chat .es-chat-start { padding:clamp(20px,4vw,28px); gap:14px; overscroll-behavior:contain }
.es-chat-start h2 { font-size:27px; line-height:1.2; font-weight:650; margin:2px 0 0; letter-spacing:-.035em }
.es-chat .es-chat-start p { color:var(--es-muted); margin:0; line-height:1.55; font-size:14px }
.es-chat .es-chat-start label { display:block; font-size:14px; line-height:1.4; font-weight:550 }
.es-chat-optional { color:var(--es-muted); font-weight:400 }
.es-chat .es-chat-start input,.es-chat .es-chat-compose textarea {
  display:block; box-sizing:border-box; width:100%; min-width:0; min-height:46px; border:1px solid #4b6578;
  border-radius:12px; background:var(--es-inset); color:var(--es-ink); font:inherit; font-size:16px; line-height:1.4; padding:10px 13px;
}
.es-chat .es-chat-start input { margin-top:6px }
.es-chat :is(input,textarea,button,a):focus-visible { outline:2px solid var(--es-blue)!important; outline-offset:2px!important }
.es-chat .es-chat-start button,.es-chat .es-chat-compose button {
  font:inherit; font-weight:650; border:0; background:var(--es-lime); color:#152008; min-height:46px; border-radius:12px; cursor:pointer;
}
.es-chat .es-chat-start button { margin-block:2px; padding:11px 18px }
.es-chat .es-chat-compose button { width:46px; flex:none; padding:0; font-size:23px }
.es-chat button:disabled { opacity:.62; cursor:wait }
.es-chat .es-chat-links { display:flex; flex-wrap:wrap; align-items:center; gap:12px }
.es-chat .es-chat-links a { color:var(--es-blue); text-underline-offset:3px }
.es-chat .es-chat-body { background:var(--es-inset); overscroll-behavior:contain }
.es-chat .es-chat-message { width:fit-content; color:var(--es-ink); background:#213543; border-color:#3a5061 }
.es-chat .es-chat-message.client { background:#193f50; border-color:#39677c }
.es-chat .es-chat-message time,.es-chat .es-chat-welcome,.es-chat .es-chat-status { color:#b2c6d4 }
.es-chat .es-chat-older { background:#263b4a; color:var(--es-blue); border:1px solid var(--es-line); min-height:38px }
.es-chat .es-chat-compose { border-color:var(--es-line); background:#152331 }
.es-chat .es-chat-compose textarea::placeholder { color:#a5b8c7 }
.es-chat .es-chat-error { color:#ffb0b9; background:#37232f; padding:10px 18px; max-height:25%; overflow:auto }
.es-chat .es-chat-status:empty,.es-chat .es-chat-error:empty { display:none }
@media(max-width:520px) {
  dialog.es-chat[open] { inset:0; width:100%; height:100dvh; max-height:100dvh; margin:0; border:0; border-radius:0 }
  dialog.es-chat .es-chat-head { padding:calc(12px + env(safe-area-inset-top,0px)) 16px 12px }
  dialog.es-chat .es-chat-start { padding:20px 20px max(20px,env(safe-area-inset-bottom)); gap:16px }
  .es-chat .es-chat-compose { padding-bottom:max(12px,env(safe-area-inset-bottom)) }
}
@media(max-width:350px) {
  dialog.es-chat .es-chat-head { gap:10px }
  dialog.es-chat .es-chat-head img { width:76px }
}
@media screen {
  .es-concept .legal-page { color:#dce8f2 }
  .es-concept .legal-page h1,.es-concept .legal-page h2 { color:var(--es-ink) }
  .es-concept .legal-page :is(.legal-subtitle,.legal-meta,.legal-eyebrow) { color:#a9bfce }
  .es-concept .legal-page a:not(.es-partner-links a) { color:var(--es-blue) }
  .es-concept .legal-page .legal-nav { border-color:var(--es-line) }
  .es-concept .legal-page .legal-nav a,.es-concept .legal-page .legal-requisites { background:#172d3b; color:var(--es-ink); border:1px solid var(--es-line) }
}
/* Order, gift redemption and activation templates have their own component names. */
body.es-flow { color-scheme:dark; background:#0b121b; color:var(--es-ink) }
.es-flow .site-header { border-bottom:1px solid #2e414e }
.es-flow .site-header a,.es-flow a,.es-flow .site-footer a { color:var(--es-blue) }
.es-flow :is(.card,.gift-card,.how-card,.sidebar nav,details,dialog) { background:var(--es-panel); color:var(--es-ink); border:1px solid #32495a }
.es-flow :is(.hero,.gift-hero),.es-flow .hero[data-tone],.es-flow .card.support { background:linear-gradient(125deg,#1e394c,#182a38); color:var(--es-ink) }
.es-flow .hero:after,.es-flow .hero[data-tone]:after,.es-flow .gift-hero:after { background:#305168 }
.es-flow :is(.breadcrumbs,.breadcrumbs span:last-child,.back,.hero p,.gift-hero p,.field-hint,.legal,.help-note,.muted,.site-footer,.site-footer a,.help-strip p,.delivery-note,.order-help,.refresh-note,.subscription-note,.product-row p,.processing-hint,.processing-heading p,.binding-expiry,.notification-description,.notification-footnote,.order-meta dt,.processing-help p,.processing-help ol,.progress li,.how-card li p,.sidebar a,.es-gift-buyer p,.es-gift-buyer-label) { color:var(--es-muted) }
.es-flow :is(.eyebrow,.section-number,.legal a,.dns-values code,.text-button,.processing-instruction-link,.steps li::marker,.sidebar a:hover) { color:var(--es-blue) }
.es-flow :is(.order-meta dd,.help-strip strong,.order-number,.es-gift-buyer-field input) { color:var(--es-ink) }
.es-flow :is(.date-item,.processing-help,.help-strip,.refresh-box,.waiting-art,.loading-panel,.note,.dns-values,code,.notice,.skip,details[open] summary,.delivery-code) { background:#1b3040; color:#daebf5; border-color:var(--es-line) }
.es-flow :is(.processing-link-field,.binding-field,.es-gift-buyer-field) input,
.es-flow :is(input:not([type=checkbox]):not([type=radio]),textarea),.es-flow #activation-data,.es-flow #zoom-intake-form input,.es-flow #telegram-claim input {
  background:var(--es-inset); color:var(--es-ink); border:1px solid #526b7c; font-size:16px;
}
.es-flow input::placeholder,.es-flow textarea::placeholder { color:#a9bac6 }
.es-flow :is(.primary,.button-primary,.button-activate),.flow-instructions .button { background:var(--es-lime); color:#16210b }
.es-flow :is(.button-dark,.support-button,.button-light,.button-white,.binding-field button) { background:#203748; color:#d9efff; border:1px solid #46677e }
.es-flow :is(.button-dark,.button-light,.button-white,.support-button):hover { background:#2d495e; color:#fff }
.es-flow :is(.product-icon,.status-mark,.processing-symbol,.progress li span,.notice-heading>span,.help-icon,.how-card li>span) { background:#274957; color:#b3e7ff }
.es-flow .product-icon:has(img) { background:#e5eff4 }
.es-flow :is(.error-message,.processing-form-error,.processing-reason,.error-notice,.error,.pill.error,.pill.failed),.es-flow .hero.error .status-mark,.es-flow .processing-card.has-error .processing-symbol { background:#452b35; color:#ffc0c8 }
.es-flow :is(.status-message,.pill,.note,.pill.confirmed) { background:#1a3547; color:#b2e1fb }
.es-flow :is(.pill.success,.pill.ready,.progress li.done span,.es-gift-buyer .es-gift-redeemed),.es-flow .hero.success .status-mark { background:#234437; color:#c0efcc }
.es-flow :is(.pill.warning,.pill.waiting,.pill.expired),.es-flow .hero.warning .status-mark,
.es-flow #activation-conditions,.es-flow #activation-confirm-apple { background:#423821; color:#f4dca9 }
.es-flow .date-item strong,.es-flow .progress li.done { color:#a4e8bd }
.es-flow #activation-state,.es-flow #activation-faq,.es-flow #activation-missing,.es-flow #activation-confirm { background:#1c3040; color:var(--es-ink); border-color:var(--es-line) }
.es-flow #account-activation[data-state=error] #activation-state { background:#452b35; color:#ffc0c8; border-color:#795264 }
.es-flow #account-activation[data-state=success] #activation-state { background:#234437; color:#c0efcc; border-color:#487563 }
.es-flow #activation-privacy { color:var(--es-muted) }
.es-flow .notification-card { background:#173e50 }
.es-flow .binding-fields label,.es-flow .binding-fields .binding-expiry { color:#d2eaf6 }
.es-flow :is(#waiting-panel>p,.expired-panel>p,.error-notice p,.notice p,.notice ol) { color:#c2d2df }
.es-flow .sidebar nav a { color:var(--es-muted) }
.es-flow button:focus-visible,.es-flow a:focus-visible,.es-flow input:focus-visible,.es-flow textarea:focus-visible { outline:2px solid var(--es-blue); outline-offset:2px }
@media print {
  .es-flow { color-scheme:light; background:white; color:#161a1d }
}
