/* A calm, task-first office surface. Scoped independently from public themes. */
body[data-surface=cms] .office-workbench{--cms-canvas:#f4f7fc;--cms-panel:#fff;--cms-field:#fff;--cms-ink:#182b49;--cms-muted:#5b6c83;--cms-line:#dce4ef;--cms-link:#2455df;--ink:#182b49;--muted:#5b6c83;--line:#dce4ef;--surface:#fff;grid-template-columns:250px minmax(0,1fr);background:#f4f7fc;font-family:'Source Sans 3','Segoe UI',sans-serif;min-height:100vh}
body[data-surface=cms] .office-workbench .workspace-sidebar{background:#fff;border-right:1px solid #dce4ef;padding:24px 16px;color:#182b49;max-height:100vh;overflow-y:auto}
body[data-surface=cms] .office-workbench .workspace-sidebar .brand{color:#132b4d;padding:0 7px;font-size:22px;margin-bottom:24px;letter-spacing:-.04em}
body[data-surface=cms] .office-workbench .brand-mark{background:#2455df;color:white;width:34px;height:34px;font-size:17px;letter-spacing:-.1em}
body[data-surface=cms] .office-workbench .ow-identity{padding:14px;background:#f3f6ff;border:1px solid #e5eaff;border-radius:12px;margin-bottom:24px}
.ow-identity strong,.ow-identity small{display:block}.ow-identity strong{font-size:14px}.ow-identity small{font-size:12px;margin-top:4px;color:#5b6c83}
body[data-surface=cms] .office-workbench .workspace-sidebar nav section{margin-bottom:20px}.office-workbench nav section>p{font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;margin:0 12px 8px;color:#7b899b}
body[data-surface=cms] .office-workbench .workspace-sidebar nav a{display:flex;align-items:center;gap:11px;color:#4c5e77;border:0;border-radius:9px;padding:10px 12px;margin:3px 0;font-size:14px;font-weight:550;line-height:1.3;background:transparent}
body[data-surface=cms] .office-workbench .workspace-sidebar nav a:hover{background:#f4f7fc;color:#2455df}
body[data-surface=cms] .office-workbench .workspace-sidebar nav a.active{background:#ebf0ff;color:#2455df;font-weight:650;box-shadow:inset 3px 0 #2455df}
.office-workbench nav .portal-icon{width:19px;height:19px;flex:none}.office-workbench nav a b{margin-left:auto;font-size:11px;background:#2455df;color:#fff;min-width:22px;text-align:center;border-radius:20px;padding:3px}
.ow-nav-more summary{font-size:12px;font-weight:650;color:#61738b;padding:12px;cursor:pointer}.ow-side-footer{display:flex;flex-direction:column;gap:9px;border-top:1px solid #e4eaf3;margin:24px 6px 0;padding:18px 6px}.ow-side-footer .text-link{font-size:13px;justify-content:flex-start;text-align:left;align-self:flex-start}
body[data-surface=cms] .office-workbench .workspace-top{background:#ffffffed;backdrop-filter:blur(14px);padding:17px 32px;min-height:76px;border-color:#dce4ef;gap:18px;position:sticky;top:0;z-index:20}
.ow-breadcrumb{font-size:13px;color:#758297}.ow-breadcrumb span{padding:0 10px;color:#b1bbca}.ow-breadcrumb strong{color:#304762;font-weight:600}.ow-user{display:flex;gap:11px;align-items:center}.ow-user strong,.ow-user small{display:block}.ow-user strong{font-size:13px}.ow-user small{font-size:11px;color:#6d7c92;max-width:230px}.office-workbench .avatar{background:#eaf0ff;color:#2455df;width:36px;height:36px;font-size:12px}
body[data-surface=cms] .office-workbench .workspace-content{padding:0 32px 48px;max-width:1600px;margin:0 auto;width:100%;min-width:0}
body[data-surface=cms] .office-workbench .persistence-status{background:transparent;color:#76879c;border:0;font-size:10px;padding:10px 0;margin:0}
body[data-surface=cms] .office-workbench .page-head{padding:24px 0 28px;min-height:0;margin:0;align-items:center;text-align:left;gap:24px}
body[data-surface=cms] .office-workbench .page-head>div:first-child{max-width:780px}.office-workbench .page-head .eyebrow{font-size:10px;letter-spacing:.13em;color:#2455df;margin-bottom:10px}
body[data-surface=cms] .office-workbench .page-head h1{font-family:'Sora','Segoe UI',sans-serif;font-size:clamp(25px,2.5vw,36px);line-height:1.25;letter-spacing:-.045em;color:#182b49;max-width:none;margin:0;text-align:left}
body[data-surface=cms] .office-workbench .page-head .lede{font-size:15px;line-height:1.65;max-width:780px;color:#5b6c83;margin:12px 0 0;text-align:left}
body[data-surface=cms] .office-workbench .panel{background:white;border:1px solid #dce4ef;border-radius:14px;padding:24px;box-shadow:0 3px 12px #15366603;margin-bottom:20px}
body[data-surface=cms] .office-workbench .panel h2{font-family:'Sora','Segoe UI',sans-serif;font-size:18px;letter-spacing:-.035em;line-height:1.4;color:#182b49}
body[data-surface=cms] .office-workbench .panel h3{font-family:inherit;font-weight:650;font-size:17px;line-height:1.4;color:#182b49}
body[data-surface=cms] .office-workbench .panel p{color:#5b6c83;font-size:14px;line-height:1.65}.office-workbench .panel-head{gap:16px;margin-bottom:20px}.office-workbench .panel-head p{margin:6px 0 0}
body[data-surface=cms] .office-workbench .btn{border-radius:8px;background:#2455df;color:#fff;border:1px solid #2455df;min-height:40px;font-size:13px;font-weight:650;padding:10px 16px;box-shadow:none}
body[data-surface=cms] .office-workbench .btn.secondary,body[data-surface=cms] .office-workbench .icon-button{background:#fff;color:#304762;border:1px solid #ced9e8}.office-workbench .btn:hover{filter:brightness(.97)}
body[data-surface=cms] .office-workbench .field :is(input,select,textarea),body[data-surface=cms] .office-workbench input:not([type=checkbox]){background:#fff;border:1px solid #cdd8e8;color:#182b49;border-radius:8px;font-family:inherit;font-size:14px;min-height:43px;box-shadow:none}
.office-workbench .field{margin:0 0 17px}.office-workbench .field>span{font-size:12px;font-weight:650}.office-workbench textarea{min-height:170px}.office-workbench .check{font-size:13px;align-items:flex-start;line-height:1.5}
body[data-surface=cms] .office-workbench .badge{background:#edf2fa;border:0;color:#50657e;border-radius:6px;font-size:11px;padding:5px 9px;white-space:normal}.office-workbench .badge.review{background:#fff3dc!important;color:#875c15!important}.office-workbench .badge.good{background:#e5f5ef!important;color:#1a6c50!important}
.ow-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.ow-stats>a{position:relative;display:flex;flex-direction:column;padding:22px;border:1px solid #dce4ef;border-radius:13px;background:#fff;text-decoration:none;color:#182b49}.ow-stats>a:hover{border-color:#aabff4}.ow-stats strong{font:600 31px 'Sora',sans-serif;letter-spacing:-.06em}.ow-stats span{font-size:13px;color:#63768d;margin-top:7px}.ow-stats svg{position:absolute;right:18px;top:25px;width:22px;color:#93a9d6}
.ow-home-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:22px}.ow-guide{background:linear-gradient(145deg,#fff,#f0f5ff)!important}.ow-guide ol{list-style:none;counter-reset:office-step;padding:0;margin:22px 0}.ow-guide li{counter-increment:office-step;display:flex;gap:12px;align-items:flex-start;font-size:14px;line-height:1.6;color:#526981;margin-bottom:16px}.ow-guide li:before{content:counter(office-step);display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:50%;background:#e2ebff;color:#2455df;font-size:12px;font-weight:700}
.ow-work-card{display:flex;gap:14px;align-items:center;padding:19px 0;border-top:1px solid #e9eef5;text-decoration:none;min-width:0;color:#29415c}.ow-work-card:hover h3{color:#2455df!important}.ow-work-card>div{flex:1;min-width:0}.ow-work-card h3{margin:4px 0!important;overflow-wrap:anywhere}.ow-work-card small{font-size:11px;color:#7a8b9e}.ow-work-card p{font-size:12px!important;margin:0!important}.ow-work-symbol{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;color:#2455df;background:#eff4ff;flex:none}.ow-work-symbol svg{width:20px}.ow-work-card.needs-action .ow-work-symbol{background:#e5ecff}.ow-mini-row{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #edf1f7;padding:14px 0;text-decoration:none;color:#29415c;font-size:13px}
.ow-tabs{display:flex;gap:6px;padding:5px;border:1px solid #dce4ef;background:#eaf0f8;border-radius:11px;width:fit-content;max-width:100%;overflow-x:auto;margin-bottom:22px}.ow-tabs a{padding:9px 13px;color:#5b6c83;text-decoration:none;font-size:13px;white-space:nowrap;border-radius:7px}.ow-tabs a[aria-current=page]{background:white;color:#2455df;box-shadow:0 1px 5px #1938660c;font-weight:650}.ow-inbox-search{display:block;max-width:470px;font-size:12px;font-weight:650;color:#6a7d94;margin-bottom:12px}.ow-inbox-search input{width:100%;margin-top:6px}.ow-incoming{padding:20px 0;border-top:1px solid #e5ebf3}.ow-incoming form{display:flex;gap:15px;align-items:end;margin-top:15px}.ow-incoming .field{margin:0;flex:1}
.ow-case-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #dce4ef;border-radius:13px;padding:18px 22px;gap:20px;margin-bottom:22px}.ow-case-summary small{display:block;font-size:9px;letter-spacing:.1em;color:#8392a5;margin-bottom:6px}.ow-case-summary strong{font-size:13px;line-height:1.4;color:#304762;display:block;overflow-wrap:anywhere}.ow-case-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px}.ow-case-grid>div,.ow-case-grid aside{min-width:0}.ow-case-grid .panel{padding:23px}.office-workbench .conversation-stages{margin:0 0 22px}.office-workbench .conversation-stages span{font-size:11px;background:#eaf0f8;color:#61728a}.office-workbench .conversation-stages [aria-current=step]{background:#e1eaff;color:#2455df;border-color:#b8cafa}.office-workbench .conversation-body{font-size:15px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}.office-workbench .notice{background:#f1f6ff;border:1px solid #d9e6fd;border-radius:9px;padding:14px;color:#435d7b!important;font-size:13px;margin:14px 0}.office-workbench .empty{padding:32px 18px;background:#fafcff;border:1px dashed #dce4ef;border-radius:10px}.office-workbench .empty h3{font-size:17px}.office-workbench .empty p{font-size:13px}
.ow-case-workflow summary{cursor:pointer;list-style:none}.ow-case-workflow summary strong,.ow-case-workflow summary small{display:block}.ow-case-workflow summary strong{font-size:15px}.ow-case-workflow summary small{font-size:12px;color:#6f8298;margin-top:6px}.ow-case-workflow[open] summary{margin-bottom:22px}.ow-case-workflow summary:after{content:'Edit workflow ↗';display:block;color:#2455df;font-size:12px;margin-top:12px}.ow-case-workflow[open] summary:after{display:none}.ow-case-grid details summary,.ow-return summary{font-size:13px;cursor:pointer;font-weight:600}.ow-return form{padding-top:16px}.ow-case-help .form-footer{display:flex;flex-wrap:wrap}.ow-case-grid .form-footer{gap:10px}
.ow-checkbox-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px 18px;margin:12px 0 20px}.ow-checkbox-grid .check{margin:0;padding:10px;background:#f6f9fd;border:1px solid #e1e8f2;border-radius:7px}.ow-person{display:flex;align-items:center;gap:14px;padding:20px 0;border-top:1px solid #e7edf5}.ow-person>div:nth-child(2){flex:1;min-width:0}.ow-person h3{margin:0!important}.ow-person p{margin:3px 0!important;overflow-wrap:anywhere}.ow-person small{display:block;line-height:1.7;color:#718399;font-size:12px}.ow-person .actions{flex-wrap:wrap}.ow-access-assignment{padding:18px 0;border-top:1px solid #e7edf5}.ow-access-assignment summary{cursor:pointer;font-size:15px;font-weight:650}.ow-access-assignment summary span{font-size:12px;margin-left:14px;color:#76879c}.ow-company-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px}.ow-company-grid article{margin:0!important}.ow-company-grid h2{margin:16px 0 10px}.ow-company-grid p{min-height:42px}.ow-company-grid .portal-icon{width:26px;color:#2455df}
body[data-surface=cms] #modal{background:#fff;color:#182b49;border:1px solid #dce4ef;border-radius:16px}body[data-surface=cms] #modal .field :is(input,select,textarea){background:#fff;border-color:#cdd8e8;color:#182b49;border-radius:8px}body[data-surface=cms] #modal fieldset{border:1px solid #dce4ef;border-radius:10px;padding:16px;margin:14px 0}body[data-surface=cms] #modal legend{font-size:13px;font-weight:650}
@media(min-width:1500px){.ow-case-grid{grid-template-columns:minmax(0,1fr) 360px}.ow-home-grid{grid-template-columns:minmax(0,2fr) minmax(300px,1fr)}}
@media(max-width:1100px){body[data-surface=cms] .office-workbench{grid-template-columns:220px minmax(0,1fr)}body[data-surface=cms] .office-workbench .workspace-content{padding:0 22px 40px}body[data-surface=cms] .office-workbench .workspace-top{padding:15px 22px}.ow-home-grid,.ow-case-grid{grid-template-columns:minmax(0,1fr)}.ow-case-grid aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.ow-case-grid aside .panel{margin:0}.ow-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ow-breadcrumb{display:none}}
@media(max-width:760px){body[data-surface=cms] .office-workbench{display:block}body[data-surface=cms] .office-workbench .workspace-sidebar{display:none}body[data-surface=cms] .office-workbench .workspace-top{padding:12px 18px;flex-wrap:wrap;gap:12px;position:sticky}.office-workbench .mobile-work-nav{display:block!important;width:100%;max-width:100%!important;order:2;min-height:42px}.ow-user{width:100%;font-size:12px}.ow-user>div{flex:1}.ow-user small{max-width:none}.ow-stats{gap:10px}.ow-stats>a{padding:17px}.ow-stats strong{font-size:25px}.ow-stats svg{display:none}body[data-surface=cms] .office-workbench .workspace-content{padding:0 16px 30px}body[data-surface=cms] .office-workbench .page-head{padding:20px 0;display:block}.office-workbench .page-head>.actions{margin-top:16px}body[data-surface=cms] .office-workbench .panel{padding:19px}.ow-case-summary{grid-template-columns:repeat(2,minmax(0,1fr));padding:17px;gap:16px}.ow-case-grid aside{display:block}.ow-case-grid aside .panel{margin-bottom:18px}.ow-work-card{gap:10px}.ow-work-card>.badge{max-width:78px}.ow-work-card h3{font-size:15px!important}.ow-person{flex-wrap:wrap}.ow-person>div:nth-child(2){flex-basis:calc(100% - 55px)}.ow-person .actions{margin-left:50px}.ow-incoming form{display:block}.ow-incoming .btn{margin-top:14px}.office-workbench .conversation-stages{display:grid;grid-template-columns:repeat(2,1fr)}.office-workbench .panel-head{flex-wrap:wrap}.office-workbench .form-footer .btn{max-width:100%;white-space:normal}}
@media(prefers-reduced-motion:reduce){.office-workbench *{scroll-behavior:auto!important;transition:none!important}}

.office-workbench .ow-next-compose summary{cursor:pointer;font-size:13px;font-weight:650;color:#2455df}.office-workbench .ow-next-compose[open] summary{margin-bottom:18px}

body[data-surface=cms] .office-workbench .workspace-sidebar{scrollbar-color:#c6d2e5 #f7f9fc;scrollbar-width:thin}
