/* User-mandated design contract. Last override: no pill-shaped workspace UI. */
body.unified-workspace{--settings-ink:#23364b;--settings-muted:#66768a;--settings-line:#dce3ec;--settings-blue:#245fbe;--control-radius:4px;--panel-radius:6px}
body.unified-workspace #viewRoot :is(button,.btn,input:not([type=checkbox]):not([type=radio]),select,textarea,.tag,.chip,.badge,.pt-chip,.ai-tab,.ai-ratio,.ai-size,.business-outputs>span,.guide-label,.xj-setup-actions a),
body.unified-workspace .uw-header :is(button,.btn),body.unified-workspace #agentRail :is(button,.rail-item,.xj-setup-state){border-radius:4px!important}
body.unified-workspace #viewRoot :is(.uc-card,.brand-list-block,.pf-section,.sum-card,.xj-setup-nudge,.business-launch,.business-launch form,.business-area,.artifact-card,.help-sec,.help-hero,.guide-step,#guideCard){border-radius:6px!important}
body.unified-workspace #viewRoot .business-launch{background:#fff!important;border:1px solid var(--settings-line);box-shadow:none;padding:22px}
body.unified-workspace #viewRoot .business-launch form{box-shadow:none;border-radius:4px!important}
body.unified-workspace #viewRoot .business-launch h1{font-size:30px;margin:12px 0 8px}
body.unified-workspace #viewRoot .business-launch p{margin-bottom:16px}
body.unified-workspace #viewRoot .xj-setup-nudge{margin:12px 22px;padding:10px 14px;border-left-width:3px;box-shadow:none;background:#fffafa}
body.unified-workspace #viewRoot .xj-setup-message b{font-size:13px}
body.unified-workspace #viewRoot .xj-setup-message p{margin-top:3px;font-size:12px}
body.unified-workspace #viewRoot .xj-setup-actions a{min-height:36px;padding:6px 10px}
body.unified-workspace #viewRoot .business-area{border-radius:6px!important}
body.unified-workspace #viewRoot .business-area-icon,body.unified-workspace #viewRoot .business-arrow{border-radius:4px!important}
/* One account entry. Help never repeats setup alerts. */
body.unified-workspace :is(#uwHelpBadge,.rail-help-group .rail-badge){display:none!important}
body.unified-workspace #uwAccount{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;min-width:0}
body.unified-workspace #uwAccount #railUserInfo{display:flex;align-items:center;gap:12px;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
body.unified-workspace #uwAccount .xj-account-entry{display:flex;align-items:center;gap:7px;min-height:38px;max-width:190px;padding:3px 0;text-decoration:none;color:#fff;background:transparent!important;border:0;box-shadow:none;border-radius:0!important}
body.unified-workspace #uwAccount .xj-account-entry .avatar{width:28px;height:28px;flex:none;border-radius:50%!important;background:#edf3fb}
body.unified-workspace #uwAccount .xj-account-copy{display:block;min-width:0}
body.unified-workspace #uwAccount .rail-uname{display:block;max-width:108px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:22px;color:inherit}
body.unified-workspace #uwAccount .xj-account-chevron{font-size:14px;color:#c0cfdf;flex:none}
body.unified-workspace #uwAccount .xj-setup-count{height:18px;min-width:18px;width:18px;padding:0;font-size:11px;box-shadow:none;animation:none;border:0;border-radius:50%!important;flex:none}
body.unified-workspace #uwAccount #navLogout{border:0!important;border-left:1px solid #ffffff33!important;border-radius:0!important;background:transparent!important;color:#c9d7e6!important;padding:0 0 0 12px!important;min-height:28px;box-shadow:none;font-size:12px}
body.unified-workspace #uwAccount .xj-account-entry:focus-visible{outline:2px solid #8db8f7;outline-offset:4px}
.xj-account-hint{position:fixed;z-index:8000;width:250px;box-sizing:border-box;padding:12px 34px 12px 14px;background:#fff;border:1px solid #b9cbe2;border-radius:4px;color:#23364b;box-shadow:0 6px 24px #152a4526;line-height:1.5}
.xj-account-hint:before{content:'';position:absolute;top:-7px;left:var(--hint-arrow,180px);width:12px;height:12px;transform:rotate(45deg);border-left:1px solid #b9cbe2;border-top:1px solid #b9cbe2;background:#fff}
.xj-account-hint strong{display:block;font-size:13px;font-weight:650}
.xj-account-hint p{margin:3px 0 0;font-size:12px;color:#66768a}
.xj-account-hint button{position:absolute;right:6px;top:5px;width:26px;height:26px;border:0;background:transparent;color:#66768a;font-size:19px;border-radius:4px;cursor:pointer}
.xj-account-hint[hidden],body:has(#xjTour) .xj-account-hint{display:none!important}
/* Legacy view CSS is injected after the shell; enforce the contract explicitly. */
body.unified-workspace header.uw-header #uwBack{border-radius:4px!important}
body.unified-workspace #viewRoot .business-launch-tools .business-send{background:#245fbe!important;box-shadow:none!important;border:1px solid #245fbe}
body.unified-workspace header.uw-header nav a{border-radius:4px!important}
body.unified-workspace .xj-tour-panel{border-radius:6px!important}
body.unified-workspace .xj-tour-panel button{border-radius:4px!important}
