/* B edition: scoped to acquisition pages and their existing dialogs. */
#workspace.aw-active .content{background:linear-gradient(135deg,#f5faff,#f0f6fe)!important;padding:20px 24px}
#workspace .acb-page{color:#10285b;min-width:0}
#workspace .acb-page .aw-chrome{margin:0 0 16px}
#workspace .acb-hero{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:188px;padding:28px 36px;border:1px solid #dceaff;border-radius:16px;background:#e9f4ff url('/console/assets/creation-studio-hero.png') center 48%/cover no-repeat;overflow:hidden}
#workspace .acb-hero-copy{max-width:65%;position:relative;z-index:1}
#workspace .acb-hero .acb-eyebrow{color:#0875f9!important;font-size:12px;letter-spacing:3px;margin:0 0 12px}
#workspace .acb-hero h2{color:#0b2155!important;font-size:clamp(27px,3vw,44px);font-weight:750;line-height:1.25;margin:0 0 12px;letter-spacing:1px}
#workspace .acb-hero-copy>p:last-child{color:#356bba!important;font-size:16px;margin:0}
#workspace .acb-handwriting{white-space:pre-line;font-family:KaiTi,STKaiti,serif;font-size:21px;line-height:1.8;color:#1c63bf!important;transform:rotate(-8deg);text-align:center;padding-left:15px}
#workspace .acb-page .aw-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:5px;margin-top:12px;border:1px solid #dbe8fa;border-radius:12px;background:white}
#workspace .acb-page .aw-tab{justify-content:center;gap:10px;border:0!important;border-radius:8px;padding:14px 8px;font-size:15px;background:white!important;color:#284575!important;box-shadow:none!important;white-space:nowrap}
#workspace .acb-page .aw-tab[aria-current=page]{background:#e9f2ff!important;color:#0868ee!important;font-weight:650}
#workspace .acb-page .aw-icon{color:#0875f9}.acb-page [hidden]{display:none!important}
#workspace .acb-page .aw-flow{display:flex!important;margin:0 0 16px;background:white!important;border:1px solid #dbe8fa;border-radius:12px;padding:18px 22px;gap:15px;font-size:14px;color:#206bc8!important}
#workspace .acb-page #aw-live-status{font-size:12px;margin:8px 0;color:#7187a3!important}
#workspace .acb-task-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,1fr);gap:16px;align-items:start}
#workspace .acb-task-main,#workspace .acb-progress{background:white;border:1px solid #dbe8fa;border-radius:14px;padding:18px;min-width:0}
#workspace .acb-page .aw-heading{display:flex!important;background:none!important;border:0!important;box-shadow:none!important;min-height:0!important;padding:0!important;margin:0 0 16px!important;align-items:center}
#workspace .acb-page .aw-heading h2{font-size:22px;color:#122958!important}#workspace .acb-page .aw-heading p{font-size:12px;color:#7487a4!important}
#workspace .acb-page :is(.primary,.secondary){font-size:13px;border-radius:8px;padding:10px 15px}
#workspace .acb-page .primary{background:#0876fa!important;color:white!important;border:1px solid #0876fa!important;box-shadow:0 4px 12px #0876fa18!important}
#workspace .acb-page .secondary{background:white!important;border:1px solid #cee0f8!important;color:#2766b2!important}
#workspace .acb-page button:disabled{opacity:.45;cursor:not-allowed}
#workspace .acb-page #aw-task-list{display:block!important}
#workspace .acb-page #aw-task-list>.aw-task{position:relative;display:block!important;padding:18px 18px 18px 86px;border-radius:12px;border:1px solid #dce8f8!important;margin:0 0 12px;min-height:188px;box-shadow:none!important}
#workspace .acb-page #aw-task-list>.aw-task.acb-selected{border-color:#79acfa!important;background:#fbfdff!important}
#workspace .acb-task-mark{position:absolute;top:20px;left:15px;width:54px;height:68px;border-radius:10px;background:linear-gradient(145deg,#cde7ff,#eef6ff);display:grid;place-items:center;color:#1975d9;font-size:25px;font-weight:600;border:1px solid #d0e5ff}
#workspace .acb-page #aw-task-list .aw-task>.aw-run-progress{display:none}
#workspace .acb-page .aw-task h3{font-size:17px;color:#132d5d!important}
#workspace .acb-page .aw-row{gap:8px}#workspace .acb-page .aw-muted{font-size:12px;color:#7187a3!important}
#workspace .acb-page .aw-tags{gap:6px;margin:14px 0}#workspace .acb-page .aw-tags span{padding:4px 8px;background:#f0f6ff;color:#4d75ac!important;font-size:12px;border:0}
#workspace .acb-page .aw-actions{gap:7px;margin-top:8px}#workspace .acb-page .aw-actions button{font-size:12px;padding:8px 10px}
#workspace .acb-page .aw-badge{background:#ecf5ff;color:#0572ef;border-radius:20px;font-size:11px;padding:4px 10px}#workspace .acb-page .aw-warning{color:#a5651b;background:#fff3df}
#workspace .acb-progress h3{font-size:20px;margin:0 0 16px;color:#122958!important}#workspace .acb-progress h4{font-size:14px;margin:10px 0;color:#274674!important}
#workspace .acb-page .aw-execution-steps{padding-left:0;list-style:none;max-height:390px}
#workspace .acb-page .aw-execution-step{position:relative;padding:13px 10px 13px 29px;border:0;border-left:2px solid #deebff;border-radius:0;background:white!important}
#workspace .acb-page .aw-execution-step:before{content:'';position:absolute;left:-6px;top:18px;width:10px;height:10px;background:#b3c8e3;border-radius:50%;box-shadow:0 0 0 4px white}
#workspace .acb-page .aw-execution-step[data-status=succeeded]:before{background:#0876fa}#workspace .acb-page .aw-execution-step[data-status=running]:before{background:#00b6d9}
#workspace .acb-page .aw-execution-step[data-status=failed]:before{background:#dc6868}
#workspace .acb-page .aw-step-heading code{font-size:10px;opacity:.7}#workspace .acb-page .aw-step-detail{color:#7487a3;font-size:12px}
#workspace .acb-controls{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.acb-muted{font-size:12px;line-height:1.8;color:#7285a0;margin-top:12px}
#workspace .acb-page .aw-next{display:flex!important;margin-top:16px;border-radius:12px;border-color:#dbe8fa!important}#workspace .acb-page .aw-next h3{font-size:16px}
#workspace .acb-archive{margin:20px 0;padding:18px;border-radius:12px;border:1px solid #dbe8fa;background:white;font-size:13px}#workspace .acb-archive>summary{cursor:pointer;color:#52749f}
#workspace .acb-page .ar-layout{grid-template-columns:190px minmax(0,1.2fr) minmax(0,1fr)}
#workspace .acb-page>.card{padding:22px;border-radius:14px!important;border-color:#dbe8fa!important;min-width:0}
#workspace .acb-page .lw-filter{background:#f6f9ff!important;border:0;border-radius:10px;padding:12px;gap:14px}
#workspace .acb-page :is(input,select,textarea){background:white!important;border:1px solid #d5e3f5!important;border-radius:8px;padding:10px;color:#213f69!important;min-width:0}
#workspace .acb-page table{font-size:12px}#workspace .acb-page th{background:#f3f8ff!important;color:#59789f!important;font-weight:500}
#workspace .acb-page :is(th,td){border-color:#e6eef9!important;padding:14px 10px!important}#workspace .acb-page td{vertical-align:top}#workspace .acb-page tr:hover td{background:#f8fbff}
#workspace .acb-page .lw-identity{min-width:160px}#workspace .acb-page .lw-source{min-width:200px;max-width:320px}
#workspace .acb-dm-guide{padding:22px;border:1px solid #dbe8fa;background:linear-gradient(120deg,#edf5ff,#fff);border-radius:14px;margin:16px 0}
#workspace .acb-dm-guide h3{font-size:20px;color:#193661!important;margin:0}
#workspace .acb-page .mg-task{border-radius:14px!important}#workspace .acb-page .mg-task-person{background:#f8fbff!important;border:1px solid #e0ebfa;border-radius:10px;padding:18px;margin-top:12px}
#workspace .acb-page .mg-inbox{grid-template-columns:230px minmax(0,1fr) 260px;border:1px solid #dbe8fa;border-radius:14px;overflow:hidden;background:white}
#workspace .acb-page :is(.mg-people,.mg-thread,.mg-details){background:white!important;border-color:#e2ecf9!important;padding:18px;min-width:0}
#workspace .acb-page .mg-person{border:1px solid #e2ecf9!important;border-radius:9px;margin:10px 0;background:white!important;color:#21466d!important;padding:14px}
#workspace .acb-page .mg-person[aria-pressed=true]{background:#edf5ff!important;border-color:#87b8fa!important}
#workspace .acb-page .mg-bubble{background:#f2f6fc!important;color:#264260!important;border:1px solid #e2eaf5;border-radius:12px;padding:13px 16px;margin:14px 0;max-width:88%}
#workspace .acb-page .mg-bubble.outbound{background:#e5f1ff!important;color:#16477e!important;margin-left:auto;border-color:#cee4ff}
#workspace .acb-page .mg-bubble small{font-size:10px;color:#7d91aa!important}
#workspace .acb-page .mg-details small{color:#8494ac!important}#workspace .acb-page .mg-details>p{padding-bottom:12px;border-bottom:1px solid #edf2f9}
#project-dialog.acb-dialog{max-width:1060px;width:calc(100vw - 40px);background:#f5f9ff;border:1px solid #dce8fa;border-radius:16px;color:#19345a}
#project-dialog.acb-dialog .ae-header,#project-dialog.acb-dialog .ae-footer{background:white;border-color:#dce8fa}
#project-dialog.acb-dialog .ae-body{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:14px 20px;align-items:start}
#project-dialog.acb-dialog .ae-flow{grid-column:1/-1;background:#e9f3ff;color:#246cc4;margin:0}
#project-dialog.acb-dialog .ae-section{grid-column:1;background:white;border-color:#dae7f8;margin:0;border-radius:12px;padding:22px}
#project-dialog.acb-dialog .ae-number{color:#0876fa}#project-dialog.acb-dialog .acb-editor-summary{grid-column:2;grid-row:2/6;background:white;border:1px solid #dce8fa;border-radius:12px;padding:20px;position:sticky;top:0}
#project-dialog.acb-dialog .acb-summary-row{padding:12px 0;border-bottom:1px solid #edf2f9}#project-dialog.acb-dialog .acb-summary-row small{color:#7991af}#project-dialog.acb-dialog .acb-summary-row p{white-space:pre-line;margin:5px 0;font-size:13px;overflow-wrap:anywhere}
#project-dialog.acb-dialog :is(input,textarea,select){border-color:#d8e5f7;border-radius:8px;color:#24466d}#project-dialog.acb-dialog .primary{background:#0876fa;color:white}
:is(#aw-start-dialog,#lw-schedule-dialog,#lead-detail-dialog){border:1px solid #dce8fa;border-radius:15px;color:#244269;background:white}
:is(#aw-start-dialog,#lw-schedule-dialog,#lead-detail-dialog) .primary{background:#0876fa;color:white}
@media(max-width:1200px){#workspace .acb-task-layout{grid-template-columns:minmax(0,1fr)}#workspace .acb-page .mg-inbox{grid-template-columns:190px minmax(0,1fr)}#workspace .acb-page .mg-details{grid-column:1/-1}#workspace .acb-page .ar-layout{grid-template-columns:minmax(0,1fr)}#workspace .acb-page .ar-detail{grid-column:auto}}
@media(max-width:720px){#workspace.aw-active .content{padding:12px!important}#workspace .acb-hero{padding:22px 20px;min-height:155px;background-position:60% center}#workspace .acb-hero-copy{max-width:100%}#workspace .acb-handwriting{display:none}#workspace .acb-hero-copy>p:last-child{font-size:12px}#workspace .acb-page .aw-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}#workspace .acb-page .aw-tab{font-size:12px;padding:10px 5px;gap:5px}#workspace .acb-page .aw-flow{gap:8px;padding:13px;font-size:12px}#workspace .acb-page #aw-task-list>.aw-task{padding:16px}#workspace .acb-task-mark{display:none}#workspace .acb-page .aw-heading{flex-wrap:wrap}#workspace .acb-task-main,#workspace .acb-progress{padding:14px}#workspace .acb-page .mg-inbox{grid-template-columns:minmax(0,1fr)}#workspace .acb-page .mg-people{max-height:260px;overflow:auto}#project-dialog.acb-dialog .ae-body{display:block;padding:14px}#project-dialog.acb-dialog .ae-section{margin:12px 0}#project-dialog.acb-dialog .acb-editor-summary{position:static}#project-dialog.acb-dialog{width:calc(100vw - 16px)}#workspace .acb-page .lw-filter{flex-wrap:wrap}#workspace .acb-page .aw-next{flex-wrap:wrap}}
/* Override legacy dark dialog rules only inside B acquisition editor. */
#project-dialog.acb-dialog :is(.ae-header,.ae-footer,.ae-section,.acb-editor-summary){background:#fff!important;color:#203d67!important}
#project-dialog.acb-dialog .selection-grid label{background:#f3f8ff!important;color:#30557c!important;border:1px solid #d3e4fa!important;border-radius:8px}
#project-dialog.acb-dialog :is(input,textarea,select){background:white!important;color:#24466d!important}
#workspace .acb-record-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);gap:18px;align-items:start}
#workspace .acb-record-layout>div{min-width:0}#workspace .acb-record-detail{background:#f7faff;border:1px solid #dce8fa;border-radius:12px;padding:20px;min-width:0;overflow-wrap:anywhere}
#workspace .acb-record-detail h3{font-size:18px;color:#183764!important;margin:0 0 16px}#workspace .acb-record-detail h4{margin:12px 0}
#workspace .acb-record-detail .acb-summary-row{padding:12px 0;border-bottom:1px solid #e2ecf8}#workspace .acb-record-detail small{font-size:11px;color:#7b90aa}#workspace .acb-record-detail p{font-size:12px;line-height:1.7;white-space:pre-wrap}
#workspace .acb-record-open{display:block;margin-top:10px;font-size:12px}#workspace .acb-record-text{padding:14px;background:#eaf3ff;border-radius:8px}
@media(max-width:1100px){#workspace .acb-record-layout{grid-template-columns:minmax(0,1fr)}}
#workspace .acb-page .mg-details>p>span{color:#31547c!important}
#workspace .acb-page .mg-sync-note{border-color:#e0eafa!important}
#workspace .acb-progress{background:white!important}
#workspace .acb-page .lw-source{background:transparent!important;color:#31547c!important;border:0!important;padding:0!important}
#workspace .acb-page .mg-review-text{background:#edf5ff!important;color:#24496f!important;border-color:#d9e8fa!important;border-radius:8px}
#workspace .acb-page .tag.neutral{background:#f0f4fa!important;color:#687e9a!important;border-color:#dce5f0!important}
#lw-schedule-dialog :is(.mg-review-text,.mg-recipient,.mg-review-group,.mg-notice,.mg-account-summary){background:#f4f8ff!important;color:#24466d!important;border-color:#dce8fa!important}
/* Shared shell details approved with B artwork. */
#workspace.acb-shell .sidebar .brand{display:flex;align-items:center;gap:10px;padding:18px 12px;min-height:76px}
#workspace.acb-shell .sidebar .brand-logo,#workspace.acb-shell .sidebar .brand-wordmark small{display:none!important}
#workspace.acb-shell .acb-brand-orbit{display:block;width:38px;height:38px;flex:0 0 38px;color:#0876fa}
#workspace.acb-shell .acb-brand-orbit svg{width:100%;height:100%;overflow:visible}
#workspace.acb-shell .sidebar .brand-wordmark{font-size:23px;letter-spacing:0;font-weight:750;color:#102558!important;white-space:nowrap}
#workspace.acb-shell .sidebar{display:flex;flex-direction:column}
#workspace.acb-shell .acb-brand-footer{margin-top:auto;padding:24px 14px 20px;border-top:0;color:#879cc2!important;background:transparent!important}
#workspace.acb-shell .acb-brand-footer p{font-size:11px;line-height:1.8;white-space:nowrap;color:#879cc2!important;margin:10px 0}
#workspace.acb-shell .account{display:flex;align-items:center;gap:20px;position:relative}
#workspace.acb-shell .acb-material-button{display:flex;align-items:center;gap:8px;background:white!important;color:#0876fa!important;border:1px solid #dce9ff!important;border-radius:8px;padding:9px 14px;font-size:13px;white-space:nowrap}
#workspace.acb-shell .acb-material-button svg{width:20px;height:20px}
#workspace.acb-shell .acb-account-menu{position:relative;margin:0}
#workspace.acb-shell .acb-account-menu>summary{list-style:none;display:flex;align-items:center;gap:9px;cursor:pointer;color:#183c72;font-size:13px;white-space:nowrap;border-radius:8px}
#workspace.acb-shell .acb-account-menu>summary::-webkit-details-marker{display:none}
#workspace.acb-shell .acb-account-menu>summary:focus-visible{outline:2px solid #0876fa;outline-offset:4px}
#workspace.acb-shell .acb-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#d7eaff,#edf5ff);color:#2376d1;font-size:16px;font-weight:650;border:1px solid #d4e6fa}
#workspace.acb-shell .acb-account-panel{position:absolute;right:0;top:45px;min-width:235px;max-width:calc(100vw - 28px);padding:15px;display:flex;flex-direction:column;align-items:stretch;gap:12px;background:white;border:1px solid #dce8fa;border-radius:12px;box-shadow:0 10px 35px #17477518;z-index:40}
#workspace.acb-shell .acb-account-panel #identity{white-space:normal;overflow-wrap:anywhere;color:#6681a2;font-size:12px}
#workspace.acb-shell .acb-account-panel a{color:#4f75a3;font-size:12px;text-decoration:none}
#workspace.acb-shell .acb-account-panel #logout{color:#2768be;background:#edf5ff;border-radius:6px;text-align:left;padding:8px 10px}
@media(max-width:720px){#workspace.acb-shell .account{gap:8px}#workspace.acb-shell .acb-material-button{padding:7px;font-size:12px}#workspace.acb-shell .acb-avatar{width:28px;height:28px}#workspace.acb-shell .acb-account-menu>summary{gap:5px;font-size:12px}#workspace.acb-shell .acb-account-menu>summary>span:nth-child(2){max-width:75px;overflow:hidden;text-overflow:ellipsis}}
