/* Shared visual language for customer panels. */
:is(#shop,#help,#account,#chat,.legal-dialog){color:#293b55;font-size:13px;border-color:#e2e9f3;background:#f8faff}
:is(#shop,#help,#account,.legal-dialog) .service-dialog-header,#chat .chat-header{padding:18px 22px;background:#fff;border-bottom:1px solid #e5ebf4;gap:12px;min-height:70px}
:is(#shop,#help,#account,.legal-dialog) .service-dialog-header h2,#chat .chat-header h2{font-size:19px;line-height:1.35;font-weight:650;letter-spacing:-.35px;margin:0;color:#263b59}
:is(#shop,#help,#account,.legal-dialog) .service-dialog-header .eyebrow{display:none}
:is(#shop,#help,#account,.legal-dialog) .dialog-close,#chat #close-chat{width:36px;height:36px;min-width:36px;display:grid;place-items:center;border-radius:10px;background:#f0f4fa;color:#7486a0;font-size:24px;padding:0;line-height:1;border:0}
:is(#shop,#help,#account,.legal-dialog) .service-dialog-body{padding:20px 22px;font-size:13px;line-height:1.65}
:is(#shop,#help,#account,.legal-dialog) p{font-size:13px;line-height:1.65;color:#78879d}
:is(#shop,#help,#account,.legal-dialog) h3{font-size:14px;line-height:1.5;letter-spacing:0;margin:20px 0 10px;color:#354d6d}
:is(#shop,#help,#account,#chat,.legal-dialog) .primary{min-height:46px;border-radius:10px;font-size:13px;padding:12px 16px}
#shop .service-dialog-footer{padding:16px 22px;background:#fff;border-top:1px solid #e5ebf4}#shop-selection{font-size:12px}
#shop .shop-option{border-radius:11px;padding:13px 14px;background:#fff}#shop .shop-option strong{font-size:13px;line-height:1.5}#shop .shop-option>span:not(.option-mark){font-size:11px}#shop .shop-option b{font-size:14px}#shop .shop-option[aria-pressed=true]{background:#edf3ff}
#help .product-guides>details{border:1px solid #e2e9f3;border-radius:11px;background:#fff;margin-bottom:9px}#help .product-guides>details>summary{padding:14px;font-size:13px}#help .product-guides>details>summary span{font-size:11px}#help .dialog-note{font-size:12px;border-radius:11px}
#account .account-tabs{gap:7px;margin-bottom:20px}#account .account-tabs button{font-size:13px;padding:10px;border-radius:10px;min-height:42px}#account .account-heading{font-size:12px;gap:12px;padding:0 0 4px}#account .account-heading strong{font-weight:500}#account-logout{font-size:12px;padding:8px 10px;border-radius:8px;background:#edf2f9}
#account .account-balance{padding:18px 20px;margin:16px 0 22px;gap:6px;border-radius:13px;border:1px solid #dce7fa;background:#edf3ff}#account .account-balance>span{font-size:12px}#account .account-balance>strong{font-size:30px;line-height:1.2;font-weight:650}#account .account-balance small{font-size:11px;line-height:1.65}
#account #account-keys,#account #account-history{font-size:12px;line-height:1.7}#account .account-key{padding:12px 14px;margin-bottom:8px;background:#fff;border:1px solid #e2e9f3;border-radius:11px}#account .account-key strong{font-size:13px;font-weight:600}#account .account-key code{font-size:12px;line-height:1.8;margin-top:7px}#account .account-key small{font-size:11px}
#account .account-issue{margin:20px 0;border:1px solid #e2e9f3;border-radius:11px;background:#fff;padding:0 14px}#account .account-issue summary{font-size:12px;padding:14px 0}#account-cid-form{padding-bottom:14px}#account-form label,#account-cid-form label{font-size:12px;margin-bottom:14px}#account input,#account textarea{font-size:16px;line-height:1.5;border-radius:10px}#account input{height:46px}#account-refresh{font-size:12px;margin-top:14px}#account .account-note{font-size:11px!important;line-height:1.65;margin-top:18px!important}#account-error:empty{display:none}
#chat .chat-avatar{width:36px;height:36px;font-size:17px;border-radius:11px}#chat .chat-header p{font-size:11px;line-height:1.5;margin:4px 0 0}#chat-messages{padding:18px 20px;font-size:13px;background:#f8faff}#chat .chat-message p{font-size:13px;line-height:1.6}#chat .chat-message small{font-size:10px}#chat-form{padding:14px 18px;border-top:1px solid #e5ebf4;background:#fff}
@media(min-width:541px){
 #shop,#help,#account,.legal-dialog{width:min(600px,calc(100vw - 48px));max-width:600px;max-height:calc(100dvh - 64px);padding:0;border-radius:18px;overflow:hidden;box-shadow:0 20px 80px #1b365422}
 #account[open]{display:flex;flex-direction:column}#account .service-dialog-body{overflow:auto;min-height:0}
 #chat[open]{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(600px,calc(100vw - 48px));height:min(620px,calc(100dvh - 64px));max-height:calc(100dvh - 64px);max-width:600px;border-radius:18px;overflow:hidden;padding:0;margin:0;box-shadow:0 20px 80px #1b365422}
}
@media(max-width:540px){
 :is(#shop,#help,#account) .service-dialog-header,#chat .chat-header{padding:max(14px,env(safe-area-inset-top)) 18px 14px;min-height:64px}
 :is(#shop,#help,#account) .service-dialog-header h2,#chat .chat-header h2{font-size:18px}
 :is(#shop,#help,#account) .service-dialog-body{padding:18px 16px}#shop .service-dialog-footer{padding:12px 16px}
}
#account section.account-issue{padding:18px;margin:20px 0 24px;background:#fff;border:1px solid #e2e9f3;border-radius:12px}#account .account-issue h3{margin:0 0 7px;font-size:15px}#account .account-issue-description{font-size:12px;margin:0 0 16px}#account #account-cid-form{padding:0}#account #account-cid-form label{margin-bottom:8px}#account #account-iid{display:block;width:100%;min-height:108px;padding:12px;font-size:16px;line-height:1.6;resize:vertical;background:#f8faff}#account .account-iid-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0 16px;font-size:11px;color:#8793a5}#account-iid-clear{padding:6px;color:#627796;font-size:11px}#account-iid-count.complete{color:#258067}#account #account-issue-note{font-size:11px;line-height:1.6;margin:10px 0 0}#account #account-issue:disabled{cursor:default}
#account .account-photo-row{display:flex;align-items:center;gap:12px;margin:14px 0}#account #account-cid-form .account-photo-button{display:inline-flex;align-items:center;justify-content:center;margin:0;padding:11px 14px;border:1px solid #d8e4f8;border-radius:10px;background:#edf3ff;color:#3261aa;font-size:12px;cursor:pointer}#account-photo-cancel{font-size:12px;color:#7a899e}#account #account-photo-status{font-size:11px;line-height:1.6;margin:0 0 12px}#account-photo-status:empty{display:none}#account-photo[hidden]{display:none}
#account .account-iid-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}#account #account-cid-form .account-iid-heading label{margin:0}#account .account-photo-icon{display:grid;place-items:center;width:36px;height:36px;border:1px solid #e0e8f5;border-radius:9px;background:#f2f6fd;color:#5279b4;padding:7px;flex-shrink:0}#account .account-photo-icon svg{width:20px;height:20px}#account .account-photo-icon:hover{background:#e7efff;color:#2864e8}#account .account-photo-icon:focus-visible{outline:2px solid #2864e8;outline-offset:2px}#account .account-photo-icon:disabled{opacity:.5;cursor:wait}
#account .account-iid-actions{display:flex;align-items:center;gap:7px}#account .account-iid-tools .account-photo-icon{width:32px;height:32px;padding:6px;border:0;background:transparent;border-radius:8px}#account .account-iid-tools .account-photo-icon:hover{background:#edf3ff}#account .account-iid-tools .account-photo-icon svg{width:18px;height:18px}#account .account-iid-heading{margin-bottom:8px}
#account .account-balance{flex-direction:row;align-items:center;gap:6px;padding:15px 18px}#account .account-balance>span{font-size:14px}#account .account-balance>strong{font-size:16px;line-height:1.5}
#account .account-balance .account-buy-cid{margin-left:auto;padding:9px 12px;min-height:36px;border-radius:8px;background:#2864e8;color:#fff;font-size:12px;font-weight:600;white-space:nowrap}#account .account-balance .account-buy-cid:hover{background:#1b52ce}@media(max-width:360px){#account .account-balance{padding:12px;gap:5px}#account .account-balance>span{font-size:12px}#account .account-balance .account-buy-cid{padding:8px;font-size:11px}}
.legal-details{margin:18px 0;padding:0;border:1px solid #e2e9f3;border-radius:12px;background:#fff;overflow:hidden}.legal-details>div{padding:12px 14px;border-bottom:1px solid #edf1f7}.legal-details>div:last-child{border:0}.legal-details dt{font-size:11px;color:#8793a5;margin-bottom:4px}.legal-details dd{margin:0;font-size:13px;color:#354d6d;overflow-wrap:anywhere}.legal-dialog a{color:#2864e8;text-decoration:underline;text-underline-offset:3px}.legal-dialog ul{padding-left:20px}.legal-dialog li{font-size:13px;line-height:1.7;margin-bottom:10px}.legal-version{font-size:11px!important;color:#8793a5!important}.site-footer>span{font-size:11px;line-height:1.8}.site-footer>span small{font-size:10px}
.account-legal-links{font-size:11px!important}.account-legal-links button{color:#5276ad;text-decoration:underline;text-underline-offset:3px;font-size:11px;padding:4px 0}
.center>.site-footer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;width:100%;max-width:800px;margin:24px auto 0;padding:20px 0 10px;border-top:1px solid #e4eaf3}.site-footer>span{order:2;font-size:11px;color:#9aa6b8}.site-footer nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;max-width:560px;margin:0}.site-footer nav button{display:flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;border:1px solid #e3eaf4;border-radius:10px;background:#ffffff85;font-size:12px;line-height:1.4;color:#75859c;white-space:nowrap;transition:background .15s,border-color .15s}.site-footer nav button:hover{background:#edf3ff;border-color:#cadbf6;color:#2864e8;text-decoration:none}.site-footer nav button:focus-visible{outline:2px solid #7199ef;outline-offset:2px}@media(max-width:540px){.site-footer nav{gap:6px}.site-footer nav button{min-height:42px;padding:8px 5px;font-size:11px;border-radius:9px}.center>.site-footer{margin-top:20px;padding-top:16px;gap:12px}}@media(max-width:350px){.site-footer nav{grid-template-columns:repeat(2,minmax(0,1fr))}}
.site-footer nav{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 20px;max-width:none}.site-footer nav button{border:0;border-radius:0;background:none;min-height:36px;padding:6px 0;font-size:12px;color:#8190a6;white-space:nowrap}.site-footer nav button:hover{background:none;border:0;color:#2864e8;text-decoration:underline;text-underline-offset:3px}@media(max-width:540px){.site-footer nav{gap:2px 16px}.site-footer nav button{font-size:11px;min-height:36px;padding:6px 0;border-radius:0}}
