/* Shared website frame. Page-specific desktop controls stay independent. */
:root:not([data-support-enabled="true"]) [data-support-link],:root:not([data-support-enabled="true"]) #siteSupportContent{display:none!important}
:root{--site-width:1800px;--site-gutter:clamp(20px,3.2vw,64px);--site-blue:#3370ff;--site-line:#e7ecf4}
.site-legacy-header{display:none!important}
.site-header,.site-header *,.site-dialog,.site-dialog *{box-sizing:border-box}
.site-header{width:100%;flex:0 0 auto;background:#fff;border-bottom:1px solid var(--site-line);color:#202735;font:14px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue","Microsoft YaHei",sans-serif;position:relative;z-index:95}
.site-header [hidden],.site-dialog [hidden]{display:none!important}
.site-header-inner{height:64px;width:100%;max-width:var(--site-width);margin:0 auto;padding:0 var(--site-gutter);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}
.site-header a{text-decoration:none;color:inherit}
.site-header button{font:inherit;cursor:pointer;letter-spacing:normal}
.site-brand{display:flex;align-items:center;gap:9px;white-space:nowrap;width:max-content}
.site-brand img{width:28px;height:28px;display:block}.site-brand b{font-size:18px;letter-spacing:.4px}.site-brand small{font-size:12px;color:#97a1b1}
.site-navigation{display:flex;align-items:stretch;gap:32px;height:100%;white-space:nowrap}
.site-navigation a{position:relative;display:flex;align-items:center;color:#8994a6;font-weight:650}
.site-navigation a[aria-current=page]{color:#202735}.site-navigation a[aria-current=page]:after{content:"";position:absolute;bottom:0;left:0;right:0;background:var(--site-blue);height:3px;border-radius:3px}
.site-actions{display:flex;justify-self:end;align-items:center;gap:14px;min-width:0;white-space:nowrap;font-size:13px}
.site-online{display:flex;align-items:center;gap:6px;color:#20a471;font-size:12px}.site-online i{width:6px;height:6px;border-radius:50%;background:currentColor}.site-online.off{color:#96a0af}
.site-header .site-link{padding:4px 0;border:0;background:none;color:#8490a2;font-size:12px}.site-header .site-link:hover{color:var(--site-blue)}
.site-header .site-member{padding:6px 11px;background:#f2f6ff;border:0;border-radius:999px;color:#6c798e;font-size:12px}.site-member b{color:var(--site-blue);font-weight:650}
.site-message-wrap,.site-account-wrap{position:relative;display:flex;align-items:center}
.site-header .site-message{width:30px;min-width:30px;height:30px;padding:0;display:flex;align-items:center;justify-content:center;gap:5px;border:0;border-radius:999px;background:#eef4ff;color:var(--site-blue);position:relative}
.site-header .site-avatar{width:32px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:var(--site-blue);color:#fff;font-size:13px;font-weight:650}
.site-header .site-login{padding:6px 16px;background:var(--site-blue);color:white;border-radius:8px;font-size:13px}
.site-unread{position:absolute;right:-5px;top:-5px;min-width:15px;padding:0 3px;border-radius:9px;font-size:10px;background:#ed5555;color:#fff;border:1px solid #fff}
.site-panel{position:absolute;top:42px;right:0;z-index:100;padding:8px;background:white;border:1px solid var(--site-line);border-radius:12px;box-shadow:0 12px 35px #1b264023;white-space:normal}
.site-account-menu{width:230px}.site-account-email{overflow-wrap:anywhere;padding:9px 10px;color:#8994a6;font-size:12px;border-bottom:1px solid var(--site-line);margin-bottom:5px}
.site-account-menu a,.site-account-menu button{display:block;width:100%;padding:9px 10px;border:0;border-radius:7px;background:none;font-size:13px;text-align:left;color:#334158}
.site-account-menu a:hover,.site-account-menu button:hover{background:#f3f6fc}
.site-message-panel{width:390px;max-height:min(560px,75dvh);overflow-y:auto;padding:14px}.site-panel-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid var(--site-line)}
.site-message-list>p{padding:22px 4px;color:#8d98a8;text-align:center}.site-notice{padding:14px 3px;border-bottom:1px solid var(--site-line);font-size:12px;line-height:1.7}.site-notice:last-child{border:0}.site-notice time{color:#8d98a8;font-size:11px}.site-notice p{margin:7px 0;overflow-wrap:anywhere}.site-notice a{color:var(--site-blue)}.site-notice .site-link{margin-left:12px}.site-notice-read{color:#929cab}
.site-dialog{width:min(450px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:28px;border:1px solid var(--site-line);border-radius:16px;overflow-y:auto;color:#202735;background:white;font:14px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif}
.site-dialog::backdrop{background:#1c263455}.site-dialog h2{margin:0 0 8px;font-size:22px}.site-dialog p,.site-dialog small{color:#8490a2}.site-dialog label{display:block;font-weight:600;margin:18px 0 7px}.site-dialog input{width:100%;padding:11px;border:1px solid #d8e0eb;border-radius:8px;font:inherit}.site-dialog small{display:block;margin-top:7px;font-size:12px}.site-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.site-dialog button{padding:9px 15px;border:0;border-radius:8px;font:inherit;background:#eff3f9;color:#5c697c;cursor:pointer}.site-dialog .site-primary{background:var(--site-blue);color:white}.site-dialog button:disabled{opacity:.5;cursor:wait}
body.xf .app,body.xf .landing{max-width:var(--site-width);padding-left:var(--site-gutter);padding-right:var(--site-gutter)}
body.xf .app{height:calc(100dvh - 64px)}
body.site-page-monitor .main{width:100%;max-width:var(--site-width);margin:0 auto;padding-left:var(--site-gutter);padding-right:var(--site-gutter)}
body.site-page-services>main{max-width:var(--site-width);padding-left:var(--site-gutter);padding-right:var(--site-gutter)}
body.site-page-services .hero,body.site-page-services .plans,body.site-page-services .redeem,body.site-page-services .payment-note{max-width:1080px;margin-left:auto;margin-right:auto}
.site-local-status{color:#8a96a7;font-size:12px;margin-left:auto}
body.site-page-monitor{display:flex;flex-direction:column;height:100dvh}
body.site-page-monitor .app-shell{height:auto;min-height:0;flex:1;overflow:hidden}
@media(max-width:1100px){body.site-page-monitor{display:block;height:auto;min-height:100dvh}body.site-page-monitor .app-shell{min-height:0;overflow:visible}}
@media(max-width:1320px){.site-header-inner{height:auto;min-height:64px;grid-template-columns:1fr auto;gap:0 12px;padding-top:10px}.site-brand{grid-column:1;grid-row:1}.site-actions{grid-column:2;grid-row:1}.site-navigation{grid-column:1/-1;grid-row:2;justify-content:center;min-height:42px}.site-actions{gap:12px}body.xf .app{height:auto;min-height:calc(100dvh - 106px)}}
@media(max-width:700px){:root{--site-gutter:16px}.site-header-inner{padding-top:max(10px,env(safe-area-inset-top));gap:9px 8px}.site-brand{align-self:start;padding-top:2px}.site-brand small{display:none}.site-brand b{font-size:16px}.site-brand img{width:24px;height:24px}.site-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px 10px;max-width:240px}.site-online{order:5;width:100%;justify-content:flex-end;font-size:10px}.site-header .site-link{font-size:11px}.site-header .site-member{padding:5px 8px;font-size:11px}.site-message,.site-header .site-avatar{width:28px;height:28px}.site-navigation{min-height:40px;gap:28px;font-size:13px}.site-panel{position:fixed;right:12px;top:64px}.site-message-panel{width:calc(100vw - 24px);max-width:390px;max-height:calc(100dvh - 132px)}body.xf .app{min-height:0}.site-local-status{font-size:11px}}
@media(max-width:370px){.site-actions{max-width:210px;gap:8px}.site-header .site-member{font-size:10px}.site-header #siteNotify{font-size:10px}.site-brand b{font-size:14px}.site-brand{gap:5px}.site-brand img{width:21px;height:21px}}

.site-message-label{font-size:12px;font-weight:600}.site-notice ul{padding-left:18px;margin:10px 0;color:#59677c}.site-notice li+li{margin-top:6px}.site-notice-kind{display:inline-block;margin-left:8px;border-radius:5px;padding:0 5px;background:#edf3ff;color:var(--site-blue);font-size:10px}.site-notice.unread>b:before{content:"";display:inline-block;width:6px;height:6px;margin-right:7px;border-radius:50%;background:var(--site-blue)}
@media(max-width:700px){.site-message-label{display:none}.site-header .site-message{width:28px;padding:0;justify-content:center}}


/* Readable public pages: this shared sheet loads after each page's stylesheet.
   Keep desktop-app source styles and the private admin console independent. */
:root{--site-font-body:16px;--site-font-small:14px;--site-text-muted:#637087}
body:has(>.site-header){font-size:var(--site-font-body);line-height:1.6;--muted:var(--site-text-muted)}
body.xf{font-size:var(--site-font-body);line-height:1.6;--muted:var(--site-text-muted);--faint:#758197}
.site-header,.site-dialog{font-size:15px}
.site-navigation{font-size:16px}
.site-navigation a{color:#637087}
.site-brand small,.site-actions,.site-online,.site-header .site-link,
.site-header .site-member,.site-header .site-login,.site-account-email,
.site-account-menu a,.site-account-menu button,.site-notice,.site-notice time,
.site-dialog small,.site-local-status,
.site-support-content p,.site-support-link,.site-message-label{font-size:14px}
.site-brand small,.site-header .site-link,.site-account-email,.site-notice time,
.site-dialog p,.site-dialog small,.site-local-status,.site-support-content p{color:var(--site-text-muted)}
.site-support-content{font-size:16px}
.site-dialog input{font-size:16px;min-height:46px}
.site-dialog button,.site-account-menu a,.site-account-menu button{min-height:44px}

/* Purchase configuration, task progress and logs are primary reading content. */
.xf .desc,.xf .fld>span:first-child,.xf .lead,.xf .pspec,.xf .opt,
.xf .kv b,.xf .shop,.xf .feed li,.xf .ic-main b,.xf .orders{font-size:16px}
.xf .fld input,.xf .inp,.xf .sheet input,.xf .sheet select{font-size:16px;min-height:46px}
.xf .points span,.xf .msg,.xf .foot,.xf .agree,.xf .ltop-r,.xf .tag,
.xf .sub,.xf .st .k,.xf .st .v small,.xf .note,.xf .note a,.xf .textlink,
.xf .tgl,.xf .consent,.xf .code b,.xf .sh span,.xf .mini-link,.xf .kv span,
.xf .steps li,.xf .shop em,.xf .feed time,.xf .orders-head .r,.xf .ord,
.xf .orders-empty,.xf .lbl,.xf .ic-k,.xf .ic-s,.xf .ic-go,.xf .fld .hint,
.xf .purchase-step-title,.xf .apple-login-status,.xf .apple-login-account,
.xf .login-purchase-steps .consent,.xf .apple-login-error{font-size:14px}
.xf .sh h3{font-size:18px}
.xf .pname,.xf .sheet h3{font-size:24px}
.xf .opt{min-height:44px}
.xf .kv b,.xf .ic-main b,.xf .ic-s{white-space:normal;overflow-wrap:anywhere}
.xf .kv b{line-height:1.55}
.xf .feed li{padding:10px 0;line-height:1.65}
.xf .feed li>span:last-child{min-width:0;overflow-wrap:anywhere}
.xf .feed time{color:var(--site-text-muted);min-width:100px}
.xf .shop{padding:9px 10px}
.xf .shop b{white-space:normal;overflow-wrap:anywhere}
.xf .sh{gap:10px;flex-wrap:wrap}
.xf .ord{flex-wrap:wrap;overflow-wrap:anywhere}
/* Larger text must not squeeze task logs into the remaining viewport space. */
body.xf .app{height:auto;min-height:calc(100dvh - 64px)}
.xf .kv{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(60px,.45fr)}
.xf .feedsec{flex:0 0 auto;min-height:290px}
.xf .feed{flex:0 0 auto;min-height:220px;max-height:340px;overflow-y:auto}

/* Keep the login introduction and form together on wide screens. */
body.xf .landing{max-width:1320px;grid-template-columns:minmax(0,1fr) minmax(360px,420px);gap:40px;min-height:calc(100dvh - 64px);padding-top:32px;padding-bottom:40px}
.xf .intro{min-width:0;gap:24px}
.xf .shots{width:280px;height:290px}
.xf .landing h1{font-size:clamp(32px,2.8vw,42px);line-height:1.3}
.xf .points{gap:14px}
.xf .points b{font-size:16px;line-height:1.6}
.xf .login-card{justify-self:start;min-width:0}
.xf .tabpane h2{font-size:26px}
.xf .tabs button{min-height:42px;font-size:16px}
.xf .login-card .btn,.xf .login-card .ghost{min-height:46px;font-size:16px}
.site-monitor-access{margin:48px auto;padding:0 20px;font-size:16px;color:var(--site-text-muted)}
body.site-page-monitor .watch-toolbar{flex-wrap:wrap;gap:8px}
.site-monitor-status{margin-left:auto;color:var(--site-text-muted);font-size:14px;line-height:1.5}
.site-monitor-note{display:inline-flex;align-items:center;gap:6px;font-size:14px}
.site-monitor-note svg{flex:none}
body.site-page-monitor .app-shell[hidden],.site-monitor-access[hidden]{display:none!important}
@media(max-width:1200px) and (min-width:901px){body.xf .landing{min-height:calc(100dvh - 118px)}}
@media(max-width:900px){
  body.xf .landing{max-width:600px;grid-template-columns:minmax(0,1fr);gap:24px;min-height:0;padding-top:24px;padding-bottom:32px}
  .xf .intro{gap:10px}
  .xf .shots{width:230px;height:200px}
  .xf .landing h1{font-size:30px}
  .xf .lead{font-size:16px;line-height:1.7}
  .xf .login-card{justify-self:stretch;max-width:none}
  .xf .tabpane h2{font-size:24px}
}

/* The independent monitor keeps a desktop table and switches to task cards. */
.watch-grid>.field{font-size:15px}
#watchProductToggle,#watchCityToggle,#watchStoreToggle,.watch-action{font-size:16px;min-height:46px}
.fixed-mode,.watch-summary,.watch-task-head,.stock-legend,.store-stock,
.task-last,.task-last::before,.task-cities small,.task-products small,
.task-inventory small,.watch-task-toolbar h3 small{font-size:14px}
.watch-summary{line-height:1.7}
.watch-task-head{line-height:1.5}
.watch-task-head>span{line-height:1.5}
.watch-task-row{font-size:16px;min-height:100px}
.task-product-copy b{font-size:16px;line-height:1.5}
.task-product-copy,.task-inventory,.stock-group>div{min-width:0}
.task-products small,.task-cities small,.task-last small,.task-inventory small{color:var(--site-text-muted);font-size:14px}
.store-stock{padding:5px 8px;line-height:1.5}
.watch-task-toolbar h3{font-size:20px}
.watch-task-toolbar,.watch-legends{flex-wrap:wrap}
@media(min-width:701px){
  .watch-task-head>span{transform:none}
  .watch-task-head>:not(:nth-child(5)){justify-content:center;text-align:center}
  .watch-task-row>:not(:nth-child(5)){text-align:center}
  .watch-task-row .task-cities,.watch-task-row .task-last{align-items:center}
  .watch-task-row .task-product-visual,.watch-task-row .task-actions{justify-content:center}
  .watch-task-row .task-product-copy{align-items:center;text-align:center}
}
@media(min-width:1101px){
  .watch-task-head,#watchTaskBody{scrollbar-gutter:stable}
  .watch-task-head{overflow-y:hidden}
}
#watchProductDialog .choice-chip{font-size:16px;min-height:46px}
#watchProductDialog .watch-choice-note,.watch-choice-note,#watchProductStatus,
#watchCityPanel .panel-tools button,#watchStorePanel .panel-tools button,
#watchCityList label,#watchStoreList label{font-size:14px}
#watchCityList label,#watchStoreList label{min-height:44px}
#watchSoundPanel,.watch-sound-caption,.watch-sound-option button,.watch-volume{font-size:14px}
.watch-sound-head strong{font-size:16px}
.watch-sound-option{min-height:44px}
.empty-row{font-size:15px;line-height:1.7}

/* Service cards and payment/login dialogs share the same readable baseline. */
body:has(.plans) .payment-note,body:has(.plans) .recommend,
body:has(.plans) .buy-rules,body:has(.plans) .agree,
body:has(.plans) .form-msg,body:has(.plans) .purchase-account>div,
body:has(.plans) .purchase-account p,body:has(.plans) .purchase-account button{font-size:14px}
body:has(.plans) .field input,body:has(.plans) .dialog input{font-size:16px}
body:has(.plans) .plan,body:has(.plans) .dialog{overflow-wrap:anywhere}

@media(max-width:1100px){
  .site-header-inner{height:auto;min-height:64px}
  .site-navigation{min-height:44px}
}
@media(max-width:700px){
  .site-header-inner{grid-template-columns:minmax(0,1fr) auto;gap:10px 8px}
  .site-brand b{font-size:18px}
  .site-actions{max-width:min(280px,calc(100vw - 128px));gap:6px}
  .site-online,.site-header .site-link,.site-header .site-member,.site-local-status{font-size:13px}
  .site-header .site-member{padding:7px 9px}
  .site-header .site-message,.site-header .site-avatar{width:32px;min-width:32px;height:36px}
  .site-navigation{font-size:15px;gap:24px}
  .site-navigation a{min-height:44px}
  .site-panel{max-width:calc(100vw - 24px)}
  .site-dialog{padding:22px 18px}
  .xf .app{grid-template-columns:minmax(0,1fr)}
  .xf .left,.xf .right,.xf .sec{min-width:0}
  .xf .left{padding:18px}
  .xf .sec{padding:16px}
  .xf .kv{grid-template-columns:repeat(2,minmax(0,1fr))}
  .xf .shops{grid-template-columns:repeat(2,minmax(0,1fr))}
  .xf .steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px}
  .xf .feed li{flex-wrap:wrap;gap:5px 8px}
  .xf .feedsec{min-height:310px}
  .xf .feed{min-height:240px;max-height:360px}
  .xf .feed time{width:100%;min-width:0}
  .xf .feed li>span:last-child{flex:1}
  .xf .row input{min-width:0}
  .xf .ghost{padding:0 10px;font-size:14px}
  .xf .apple-login-account{margin-left:0;flex-wrap:wrap}
  .xf .purchase-step-title{flex-wrap:wrap}
  .xf .pname{font-size:22px;overflow-wrap:anywhere}
  .watch-summary{font-size:14px}
  .watch-task-toolbar h3{font-size:18px}
  .watch-task-row{min-height:0;gap:12px}
  .watch-task-row>:nth-child(4),.task-last::before{font-size:14px}
  .task-product-copy b{font-size:16px}
  .watch-grid>.field{font-size:14px}
  .watch-action{font-size:14px;padding:0 5px}
  .stock-legend{font-size:13px}
  .watch-legends .watch-delete-all{font-size:14px;min-height:36px}
  .watch-legends{gap:6px}
  #watchProductDialog h3{font-size:16px}
  #watchProductDialog .choice-chip{font-size:15px}
  #watchProductDialog .dialog-actions{flex-wrap:wrap}
  #watchProductDialog .dialog-actions .btn{flex:1;min-width:110px}
  body:has(.plans) main{padding-right:16px;padding-left:16px}
  body:has(.plans) .code-line input{min-width:0}
  body:has(.plans) .code-line button{padding:0 10px;font-size:14px}
}
@media(max-width:370px){
  .site-brand{gap:5px}.site-brand b{font-size:16px}
  .site-header #siteNotify,.site-header .site-member{font-size:13px}
  .site-actions{max-width:calc(100vw - 125px)}
  .site-navigation{gap:20px}
  .xf .left,.xf .sec{padding:14px}
  .stock-legend{padding:4px 5px}
}

.notification-types{border:0;padding:0;margin:18px 0;min-width:0}.notification-types legend{font-weight:600;margin-bottom:8px}.notification-types label{display:flex;align-items:flex-start;gap:10px;padding:8px 0;cursor:pointer}.notification-types input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:3px 0 0;accent-color:#3470ff}.notification-types small{display:block;font-size:12px;line-height:1.5;color:#7c879e;margin-top:3px}

/* Reserve the header until identity resolves, avoiding the guest-nav flash. */
.site-header[data-site-auth="pending"] .site-navigation,.site-header[data-site-auth="pending"] .site-actions{visibility:hidden}

.site-navigation [data-site-nav="pro"]{gap:5px}
.site-header .site-pro-badge{display:inline-flex;align-items:center;justify-content:center;position:relative;top:-6px;padding:2px 3px;border-radius:3px;background:#edf3ff;color:#3370ff;font-size:8px;font-weight:750;line-height:1;letter-spacing:.4px}
.site-pro-entry{position:relative;display:flex;align-items:stretch;gap:3px;height:100%}
.site-pro-entry:has([aria-current="page"]):after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:3px;background:var(--site-blue)}
.site-pro-entry [aria-current="page"]:after{display:none}
.site-header .site-pro-info{align-self:center;position:relative;top:-7px;display:flex;align-items:center;justify-content:center;width:22px;height:28px;margin:0 0 0 -3px;padding:0;border:0;background:transparent;color:#8b9db6}
.site-pro-info-mark{display:inline-flex;align-items:center;justify-content:center;width:13px;height:13px;border:1px solid #a4b3c8;border-radius:50%;font:650 8px/1 -apple-system,sans-serif}
.site-pro-info:hover .site-pro-info-mark,.site-pro-info[aria-expanded="true"] .site-pro-info-mark{color:#4f7bdd;border-color:#7e9bce}
.site-pro-info:focus-visible{outline:2px solid #b9d0ff;outline-offset:1px;border-radius:4px}
.site-pro-help{position:fixed;z-index:110;left:var(--pro-help-left,12px);top:var(--pro-help-top,74px);width:min(310px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow-y:auto;padding:18px 19px 15px;border:1px solid #e1e8f2;border-radius:10px;box-shadow:0 8px 25px #29436416;background:#fff;white-space:normal;color:#71839f;font:12px/1.7 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif}
.site-pro-help:before{content:"";position:fixed;left:calc(var(--pro-help-left,12px) + var(--pro-help-arrow,275px));top:calc(var(--pro-help-top,74px) - 4px);width:8px;height:8px;border-top:1px solid #e1e8f2;border-left:1px solid #e1e8f2;transform:rotate(45deg);background:#fff}
.site-pro-help-above:before{display:none}
.site-header .site-pro-help-close{position:absolute;right:10px;top:8px;padding:2px;border:0;background:none;color:#a6b3c6;font:400 16px/1 -apple-system,sans-serif}
.site-pro-help-row{display:grid;grid-template-columns:53px minmax(0,1fr);gap:9px;align-items:baseline;line-height:1.9}
.site-pro-help-row+.site-pro-help-row{margin-top:6px}
.site-pro-help-label{font-weight:650;color:#536987;white-space:nowrap}
.site-pro-help-note{font-size:11px;color:#92a1b8;margin-top:12px;line-height:1.7}
@media(max-width:700px){.site-navigation{gap:16px}}
@media(max-width:370px){.site-navigation{font-size:13px;gap:10px}.site-header .site-pro-info{width:20px}}

/* Support and inbox share one panel: fixed support row, scrollable messages. */
.site-header .site-message-panel{width:408px;max-height:min(650px,calc(100dvh - 112px));display:flex;flex-direction:column;overflow:hidden;padding:0;border-radius:14px}
.site-header .site-support-content{display:flex;align-items:center;gap:11px;flex:none;padding:18px 20px;text-align:left;border-bottom:1px solid var(--site-line)}
.site-support-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:12px;color:var(--site-blue);background:#edf3ff}
.site-support-copy{flex:1;min-width:0}.site-support-copy b{font-size:15px;font-weight:650}
.site-header .site-support-copy p{font-size:11px;line-height:1.6;margin:3px 0 0;color:#8490a2}
.site-header .site-support-link{flex:none;white-space:nowrap;padding:8px 11px;min-height:36px;border-radius:8px;font-size:12px;background:var(--site-blue);color:white}
#siteInboxContent{display:flex;flex-direction:column;min-height:0;flex:1}
.site-message-panel .site-panel-title{flex:none;margin:0 20px;padding:16px 0 13px}
.site-message-panel .site-panel-title>b{display:flex;align-items:center;font-size:16px}
.site-inbox-count{display:inline-block;min-width:17px;line-height:17px;margin-left:7px;padding:0 4px;border-radius:10px;text-align:center;color:white;background:#ed5555;font-size:10px;font-weight:500}
.site-message-panel .site-panel-title .site-link{font-size:12px}
.site-message-panel .site-message-list{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:0 20px;scrollbar-width:thin;scrollbar-color:#d3dbe8 transparent}
.site-message-panel .site-notice{padding:16px 0;font-size:13px;line-height:1.8}.site-message-panel .site-notice time{font-size:11px}
.site-message-panel .site-notice>b{font-size:14px}.site-message-panel .site-notice .site-link{font-size:12px}
.site-message-panel .site-message-list>p{font-size:13px}.site-message-panel .site-notice ul{margin:9px 0;padding-left:18px}
@media(max-width:700px){.site-header .site-message-panel{width:calc(100vw - 24px);max-width:408px;max-height:calc(100dvh - 112px)}.site-header .site-support-content{gap:9px;padding:17px 15px}.site-support-icon{width:36px;height:36px;border-radius:10px}.site-support-copy b{font-size:14px}.site-header .site-support-copy p{font-size:10px}.site-header .site-support-link{font-size:11px;padding:8px 9px}.site-message-panel .site-panel-title{margin:0 16px}.site-message-panel .site-message-list{padding-left:16px;padding-right:16px}}

/* Four equal navigation slots; PRO decorations do not change the label spacing. */
.site-navigation:has([data-site-nav="purchase"]:not([hidden])){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:clamp(440px,32vw,480px);column-gap:24px;justify-self:center}
.site-navigation a{justify-content:center}.site-pro-entry{min-width:0}
.site-navigation [data-site-nav="pro"]{width:100%;gap:0}
.site-header .site-pro-badge{position:absolute;left:calc(50% + 29px);top:calc(50% - 20px);white-space:nowrap}
.site-header .site-pro-info{position:absolute;left:calc(50% + 52px);top:calc(50% - 21px);width:18px;height:18px;margin:0;align-self:auto;z-index:1}
.site-navigation a[aria-current="page"]:after,.site-pro-entry:has([aria-current="page"]):after{left:50%;right:auto;width:64px;transform:translateX(-50%)}
@media(max-width:700px){.site-navigation:has([data-site-nav="purchase"]:not([hidden])){width:min(100%,408px);column-gap:8px;font-size:14px}.site-header .site-pro-badge{left:50%;top:1px}.site-header .site-pro-info{left:calc(50% + 24px);top:0;width:16px;height:16px}.site-pro-info-mark{width:11px;height:11px;font-size:7px}.site-navigation a[aria-current="page"]:after,.site-pro-entry:has([aria-current="page"]):after{width:56px}}
/* Enlarge the existing left-side product and status, preserving the content order. */
@media(min-width:901px){
 .xf .left .phone{flex-shrink:0;width:clamp(176px,26vh,300px);height:clamp(220px,33vh,380px)}
 .xf .left .pname{font-size:clamp(26px,2vw,32px);margin-top:18px}
 .xf .left .pspec{font-size:clamp(16px,1.1vw,18px);margin-top:4px}
 .xf .left .head{font-size:clamp(26px,2.2vw,34px);line-height:1.45;text-align:center;max-width:94%;margin-top:22px}
 .xf .left .sub{font-size:15px;line-height:1.6;text-align:center;max-width:90%}
 .xf .left .stats{gap:12px;margin-top:18px}.xf .left .st{padding:10px 14px}.xf .left .st .v{font-size:23px}
}

/* Success-count rules are available on demand beside the quota. */
.purchase-quota-success{position:relative}
.purchase-quota-help-button{display:inline-grid;place-items:center;flex:none;width:24px;height:24px;padding:0;margin:-3px 0;border:0;border-radius:50%;background:transparent;color:#8996aa;font:inherit;cursor:pointer}
.purchase-quota-help-button>span{display:block;box-sizing:border-box;width:16px;height:16px;border:1px solid currentColor;border-radius:50%;text-align:center;font-size:12px;font-weight:600;line-height:14px}
.purchase-quota-help-button:hover,.purchase-quota-help-button[aria-expanded="true"]{color:#316bff;background:#edf3ff}
.purchase-quota-help{display:block;position:absolute;z-index:110;top:calc(100% + 10px);left:0;box-sizing:border-box;width:min(400px,calc(100vw - 32px));padding:16px 18px;border:1px solid #e3e9f2;border-radius:12px;background:#fff;box-shadow:0 8px 28px #1c30531c;color:#59677c;font-size:13px;font-weight:400;line-height:1.8;text-align:left;white-space:normal;overflow-wrap:anywhere}
.purchase-quota-help[hidden]{display:none!important}

/* Purchase-mode rules beside the ordinary switch and PRO column heading. */
.purchase-mode-help-trigger{display:inline-flex;align-items:center;vertical-align:middle}
.purchase-mode-help-trigger .purchase-quota-help-button{margin:0}
.purchase-mode-help{position:fixed;z-index:120}
.purchase-mode-help-row{display:block;position:relative;padding-left:13px}
.purchase-mode-help-row::before{content:"";position:absolute;left:0;top:4px;width:3px;height:16px;background:#316bff}
.purchase-mode-help-row+.purchase-mode-help-row{margin-top:12px}
.purchase-mode-help-row strong{font-size:inherit;font-weight:600;color:#293449}
body.pro-web .advanced-task-grid-head>.purchase-mode-heading{display:flex;align-items:center;justify-content:center;gap:2px;white-space:nowrap}
