/* Poster-first guidance. Existing controls and visual tokens stay intact. */
.help-center #guideCard{margin:24px 0;border:1px solid var(--border,#dce5ef);border-radius:16px;background:var(--surface,#fff);overflow:hidden;color:var(--navy-900,#16314c)}
.help-center #guideCard .guide-head{display:flex;align-items:center;gap:10px;padding:20px 24px;cursor:pointer;list-style:none;font-size:18px}
.help-center #guideCard .guide-head::-webkit-details-marker{display:none}
.help-center #guideCard .guide-head svg{width:22px;height:22px;color:var(--blue-600,#1565d8)}
.help-center #guideCard .guide-count{margin-left:auto;font-size:13px;color:var(--muted,#536378)}
.help-center #guideCard .guide-caret:after{content:'展开';font-size:12px;color:var(--blue-600,#1565d8)}
.help-center #guideCard[open] .guide-caret:after{content:'收起'}
.help-center #guideCard .guide-bar{height:3px;background:#e9eff8}
.help-center #guideCard .guide-bar i{display:block;height:100%;background:var(--blue-600,#1565d8)}
.help-center #guideCard .guide-sub{margin:18px 24px;color:var(--muted,#536378);font-size:14px;line-height:1.7}
.help-center #guideCard .guide-steps{list-style:none;margin:0;padding:0 24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.help-center #guideCard .guide-step{display:flex;gap:12px;padding:18px 16px;border:1px solid var(--border,#dce5ef);border-radius:12px;min-width:0;align-items:flex-start}
.help-center #guideCard .guide-step:nth-child(n+4){grid-column:span 1;border-style:dashed;background:transparent}
.help-center #guideCard .guide-tick{width:30px;height:30px;flex-shrink:0;display:grid;place-items:center;border:1px solid #abc8eb;border-radius:50%;background:#edf5ff;color:#18569e;font:600 13px inherit;padding:0}
.help-center #guideCard button.guide-tick{cursor:pointer}
.help-center #guideCard .is-done .guide-tick{background:#e8f5ee;border-color:#a5cdb8;color:#216742}
.help-center #guideCard .guide-body{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0;height:100%}
.help-center #guideCard .guide-body b{font-size:15px;line-height:1.5}
.help-center #guideCard .guide-body p{font-size:13px;line-height:1.7;margin:0;color:var(--navy-900,#263c55)}
.help-center #guideCard .guide-body em{font-size:12px;font-style:normal;line-height:1.6;color:var(--muted,#536378)}
.help-center #guideCard .guide-label{font-size:11px;padding:2px 7px;border-radius:4px;background:var(--bg,#f0f3f8);color:var(--muted,#536378)}
.help-center #guideCard .guide-label--main{background:#edf4ff;color:#245f9d}
.help-center #guideCard .guide-auto{font-size:11px;color:var(--muted,#536378)}
.help-center #guideCard .guide-go{margin-top:auto;display:inline-flex;align-items:center;min-height:40px;text-decoration:none;color:var(--blue-600,#1565d8);font-size:13px;font-weight:600}
.help-center #guideCard .guide-progress-note{margin:18px 24px;font-size:11px;color:var(--muted,#536378);line-height:1.6}
.help-center .help-hero h1{max-width:100%;font-size:clamp(24px,2.5vw,36px)}
.help-center #guideCard :focus-visible,.uc-main :focus-visible{outline:3px solid #1565d8;outline-offset:4px}
.uc-main .uc-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;margin:20px 22px 28px;align-items:start}
.uc-main .uc-content-layout>#card-brand{grid-column:1;grid-row:1}
.uc-main .uc-content-layout>#card-profile{grid-column:1;grid-row:2}
.uc-main .uc-content-layout>#card-security{grid-column:1;grid-row:3}
.uc-main .uc-content-layout>.uc-agreement{grid-column:1;grid-row:4}
.uc-main .uc-content-layout>.uc-card,.uc-main .uc-content-layout>.uc-agreement{margin:0;min-width:0}
.uc-main .uc-account-sidebar{grid-column:2;grid-row:1/5;position:sticky;top:20px;min-width:0}
.uc-main .uc-account-sidebar .sum-grid{grid-template-columns:1fr;margin:0;gap:16px}
.uc-main .uc-account-sidebar .sum-card{padding:18px;box-shadow:none}
.uc-main .uc-account-sidebar .sum-dash-inner{flex-direction:column;gap:18px}
.uc-main .uc-account-sidebar .dash-tiles{width:100%;gap:18px 12px}
.uc-main .uc-account-sidebar .sum-card-head{flex-wrap:wrap;gap:10px}
.uc-main .uc-account-sidebar .sum-card.dash{background:#174d8f}
.uc-main .uc-account-sidebar .sum-card:not(.dash){background:var(--surface,#fff);border-color:var(--border,#dce5ef)}
.uc-main .uc-account-sidebar .sum-card:not(.dash) :is(.sum-card-title,.rc-row b){color:var(--navy-900,#16314c)}
.uc-main .uc-account-sidebar .sum-card:not(.dash) :is(.sum-card-go,.ic){color:var(--blue-600,#1565d8)}
.uc-main .uc-account-sidebar .sum-card:not(.dash) :is(.rc-row span,.rc-tip){color:var(--muted,#536378)}
.uc-main #card-brand .uc-card-head{display:block}
.uc-main #card-brand .uc-card-hint{display:block;margin-top:8px;line-height:1.6}
.uc-main #card-brand .brand-grid{grid-template-columns:1fr}
.uc-main #card-brand .brand-list-block{padding-bottom:16px;border-bottom:1px solid var(--border,#e3eaf2);min-width:0}
.uc-main #card-brand .brand-list-head{flex-wrap:wrap;gap:10px;align-items:center}
.uc-main #card-brand .brand-list-head button{min-height:40px}
.uc-main #card-brand .brand-tip{margin:8px 0;font-size:12px;line-height:1.7;color:var(--muted,#536378)}
.uc-main #card-brand .brand-list{min-height:0}
.uc-main #card-brand .pf-actions{flex-wrap:wrap;gap:10px}
.uc-main #card-brand .brand-save-status{margin:0 20px 20px;font-size:13px;line-height:1.7;color:var(--blue-600,#1565d8)}
.uc-main #card-profile .pf-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.uc-main :is(#card-brand,#card-profile,#brand-contact-block){scroll-margin-top:20px}
@media(max-width:1150px){.help-center #guideCard .guide-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.uc-main .uc-content-layout{grid-template-columns:minmax(0,1fr) 260px;gap:16px;margin:16px}.uc-main #card-profile .pf-fields{grid-template-columns:1fr}}
@media(max-width:900px){.uc-main .uc-content-layout{grid-template-columns:minmax(0,1fr)}.uc-main .uc-content-layout>.uc-account-sidebar{grid-column:1;grid-row:2;position:static}.uc-main .uc-content-layout>#card-profile{grid-row:3}.uc-main .uc-content-layout>#card-security{grid-row:4}.uc-main .uc-content-layout>.uc-agreement{grid-row:5}.uc-main .uc-account-sidebar .sum-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}
@media(max-width:600px){.help-center #guideCard .guide-steps{grid-template-columns:1fr;padding:0 16px}.help-center #guideCard .guide-head{padding:18px 16px;font-size:16px}.help-center #guideCard .guide-sub,.help-center #guideCard .guide-progress-note{margin:16px}.uc-main .uc-content-layout{margin:12px;gap:16px}.uc-main .uc-account-sidebar .sum-grid{grid-template-columns:1fr}.uc-main #card-brand .brand-grid{padding:16px}.uc-main #card-brand .brand-list-head{align-items:flex-start;flex-direction:column}.uc-main .brand-label{white-space:normal}.uc-main .brand-list{flex-wrap:wrap}.uc-main .brand-slot{max-width:100%}}
@media(prefers-reduced-motion:reduce){.uc-main .sum-card,.uc-main .gauge-bar{transition:none}}
@media print{.help-center #guideCard{break-inside:auto}.help-center #guideCard .guide-steps{display:block}.help-center #guideCard .guide-step{break-inside:avoid;margin-bottom:12px}}
.help-center .help-hero{padding:24px 28px}
.help-center #guideCard .guide-optional{margin:16px 24px 0;border-top:1px solid var(--border,#e3eaf2);padding-top:14px}
.help-center #guideCard .guide-optional>summary{cursor:pointer;font-size:13px;color:var(--muted,#536378);padding:4px 0 12px}
.help-center #guideCard .guide-optional .guide-steps{padding:0;grid-template-columns:repeat(2,minmax(0,1fr))}
.uc-main :is(#card-brand,#card-profile,#brand-contact-block){scroll-margin-top:110px}
.uc-main .brand-optional{border:1px solid var(--border,#e3eaf2);border-radius:10px;padding:12px 16px}
.uc-main .brand-optional>summary{cursor:pointer;font-size:13px;color:var(--muted,#536378)}
.uc-main .brand-optional .brand-list-block{margin-top:16px}
@media(max-width:600px){.help-center .help-hero{padding:20px}.help-center #guideCard .guide-optional{margin:16px}.help-center #guideCard .guide-optional .guide-steps{grid-template-columns:1fr}}

.help-center #guideCard[hidden],.help-center .help-paths[hidden]{display:none!important}
body.unified-workspace .uc-main .uc-content-layout>.uc-card{margin:0;padding:20px}
.uc-main #card-brand .uc-card-head h3{margin:0;line-height:1.5}
.uc-main #card-brand .brand-grid{padding:12px 0 4px}
.uc-main #card-brand .brand-slot{width:156px}
.uc-main #card-brand .brand-slot-acts{flex-direction:row;flex-wrap:wrap;gap:6px}
.uc-main #card-brand .brand-slot-acts .btn{width:auto;min-width:0;padding:6px 10px}
.uc-main #card-brand .brand-save-status{margin:0 0 8px}
@media(min-width:1200px){.uc-main #card-brand .brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.uc-main #card-brand #brand-contact-block{grid-column:auto!important}.uc-main #card-brand .brand-optional{grid-column:1/-1}.uc-main #card-brand .brand-list-head{align-items:flex-start;flex-direction:column}}

/* Profile-width repair: grid cards own their width; the old page-wide profile
   illustration and centered-card margins must not shrink the main column. */
body.unified-workspace .uc-main .uc-content-layout > .uc-card,
body.unified-workspace .uc-main .uc-content-layout > .uc-agreement {
  width:100%;max-width:none;min-width:0;box-sizing:border-box;
  margin:0!important;justify-self:stretch;
}
body.unified-workspace .uc-main .uc-content-layout > .uc-card {
  padding:24px!important;
}
body.unified-workspace .uc-main .uc-content-layout > .uc-card > .uc-card-head {
  display:block;min-height:0;padding:0 0 12px;
}
body.unified-workspace .uc-main .uc-card-head h3 {
  margin:0;white-space:normal;line-height:1.5;
}
body.unified-workspace .uc-main .uc-card-head .uc-card-hint {
  display:block;margin:8px 0 0!important;line-height:1.7;
}
body.unified-workspace .uc-main #card-profile > .uc-card-head .profile-memory-art {
  display:none;
}
body.unified-workspace .uc-main #profileForm,
body.unified-workspace .uc-main #secForm {
  width:100%;min-width:0;box-sizing:border-box;padding:0;
}
body.unified-workspace .uc-main #profileForm .pf-section {
  width:100%;min-width:0;box-sizing:border-box;padding:20px;margin:16px 0;
}
body.unified-workspace .uc-main #profileForm .pf-fields {
  align-items:stretch;
}
body.unified-workspace .uc-main #profileForm .pf-fields > .field {
  display:flex;flex-direction:column;min-width:0;
}
body.unified-workspace .uc-main #profileForm .pf-fields > .field > :is(input,select,textarea) {
  margin-top:auto;max-width:100%;min-width:0;
}
body.unified-workspace .uc-main #profileForm .pf-actions {
  margin:0;padding:8px 0 0;flex-wrap:wrap;
}
body.unified-workspace .uc-main #pfAvatarRow {
  min-width:0;flex-wrap:wrap;
}
@media(max-width:600px){
  body.unified-workspace .uc-main .uc-content-layout > .uc-card{padding:16px!important}
  body.unified-workspace .uc-main #profileForm .pf-section{padding:14px}
}
body.unified-workspace .uc-main #card-profile > .uc-card-head {
  min-height:0;padding:0 0 12px;
}

/* Visible account setup: red badges plus explicit, always-available actions. */
body.unified-workspace :is(.uw-help-badge,.rail-help-group .rail-badge,.xj-setup-count){
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  min-width:21px;height:21px;box-sizing:border-box;padding:0 6px;border-radius:999px;
  background:#cf293c!important;color:#fff!important;font-size:12px;font-weight:750;
  border:1px solid #fff;box-shadow:0 0 0 3px #cf293c20;
  animation:xj-setup-pulse 2.6s ease-out 3;
}
body.unified-workspace :is(.uw-help-badge,.rail-help-group .rail-badge,.xj-setup-count)[hidden]{display:none!important}
@keyframes xj-setup-pulse{0%,100%{box-shadow:0 0 0 2px #cf293c25}55%{box-shadow:0 0 0 7px #cf293c00}}
#uwAccount .xj-account-entry{display:flex;align-items:center;gap:7px;text-decoration:none;color:#173951;min-height:40px}
#uwAccount .xj-account-copy{display:flex;flex-direction:column;gap:1px;line-height:1.25;min-width:0}
#uwAccount .xj-account-copy b{font-size:13px;white-space:nowrap}
#uwAccount .xj-account-copy .rail-uname{font-size:10px;color:#63748b;max-width:76px;display:block;white-space:nowrap}
#uwAccount .xj-setup-count{margin-right:3px}
body.unified-workspace #agentRail:not(.rail-hidden) .rail-setup-group{flex:0 0 auto!important;gap:3px;padding:10px 0!important;border-block:1px solid #d8e1f1}
body.unified-workspace #agentRail .rail-setup-group .rail-item{flex:0 0 auto!important;min-height:42px!important}
.xj-setup-label{font-size:11px;font-weight:600;color:#677b94;padding:0 12px 5px}
.xj-setup-state{margin-left:auto;font-size:11px;white-space:nowrap;color:#65758b}
.xj-setup-state.is-pending{background:#fff0f1;border:1px solid #f3bec5;color:#b91f33;padding:2px 5px;border-radius:5px}
.xj-setup-state.is-ready{color:#367652}
.xj-setup-nudge{display:flex;align-items:center;gap:12px;flex:none;margin:16px 22px;padding:16px 20px;border:1px solid #efc5ca;border-left:4px solid #ce3043;border-radius:10px;background:#fff8f8;box-sizing:border-box;min-width:0}
.xj-setup-nudge[hidden]{display:none!important}
.xj-setup-message{min-width:0}.xj-setup-message b{display:block;font-size:15px;color:#3e2630;line-height:1.5}.xj-setup-message p{margin:5px 0 0;font-size:12px;color:#755963;line-height:1.7}
.xj-setup-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;flex:none}
.xj-setup-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border:1.5px solid #ff0000;border-radius:7px;background:#fff;color:#d9251c;font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap}
.xj-setup-actions a+a{background:#fff;color:#d9251c}
.xj-setup-dismiss{margin-left:auto}
.xj-account-entry:focus-visible,.xj-setup-actions a:focus-visible{outline:3px solid #b52339;outline-offset:3px}
@media(max-width:1100px){.xj-setup-nudge{align-items:flex-start;flex-direction:column;gap:10px}}
@media(max-width:600px){.xj-setup-nudge{margin:12px;padding:14px}.xj-setup-actions{width:100%}.xj-setup-actions a{flex:1}#uwAccount .xj-account-copy .rail-uname{max-width:60px}#uwAccount .xj-account-entry{gap:5px}}
@media(prefers-reduced-motion:reduce){body.unified-workspace :is(.uw-help-badge,.rail-help-group .rail-badge,.xj-setup-count){animation:none}}
