/* BragaPartners: a calm, legible working desk. Scoped to the two admin workspaces. */
html body:is(.admin-desk-page.cm-app.ao-app,.bp-admin-workspace) {
  --desk-ink:#203c36; --desk-muted:#53655f; --desk-paper:#f5f3ed;
  --desk-green:#245b4d; --desk-line:#d7ddd5; --desk-soft:#edf2eb;
  --care-ink:var(--desk-ink); --care-muted:var(--desk-muted); --care-line:var(--desk-line);
  --care-blue:var(--desk-green); --care-mint-strong:var(--desk-green);
  --care-coral:#a24e39; --care-lavender-strong:#765341;
  --ink:var(--desk-ink); --muted:var(--desk-muted); --line:var(--desk-line);
  --accent:var(--desk-green); --paper:var(--desk-paper);
  font-family:'Segoe UI',system-ui,-apple-system,sans-serif!important;
  font-size:16px; line-height:1.6; color:var(--desk-ink);
  background:var(--desk-paper)!important; background-image:none!important;
  -webkit-font-smoothing:antialiased; text-shadow:none;
}
html body:is(.admin-desk-page.cm-app.ao-app,.bp-admin-workspace) :is(button,input,select,textarea) {font-family:inherit;font-size:1rem;}
html body:is(.admin-desk-page.cm-app.ao-app,.bp-admin-workspace) :is(h1,h2,h3,h4,p,small,label,strong,b,span,a,summary) {text-shadow:none;}
html body:is(.admin-desk-page.cm-app.ao-app,.bp-admin-workspace) :is(p,small) {line-height:1.6;}
html body:is(.admin-desk-page.cm-app.ao-app,.bp-admin-workspace) :is(h3,h4) {font-family:inherit;line-height:1.35;font-weight:600;letter-spacing:0;}
html body:is(.admin-desk-page.cm-app.ao-app,.bp-admin-workspace) :is(strong,b,label) {font-weight:600;}
html body:is(.admin-desk-page.cm-app.ao-app,.bp-admin-workspace) [hidden] {display:none!important;}
html body:is(.admin-desk-page.cm-app.ao-app,.bp-admin-workspace) :focus-visible {outline:3px solid #936344!important;outline-offset:4px;}
html body:is(.admin-desk-page.cm-app.ao-app,.bp-admin-workspace) :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {
  color:var(--desk-ink);background:#fff;border:1px solid #879b90;border-radius:9px;
  min-height:46px;max-width:100%;box-shadow:none;font-weight:400;
}
html body:is(.admin-desk-page.cm-app.ao-app,.bp-admin-workspace) :is(input,textarea)::placeholder {color:#66766e;opacity:1;}
html body:is(.admin-desk-page.cm-app.ao-app,.bp-admin-workspace) :is(button,.btn) {
  min-height:44px;font-weight:600;letter-spacing:0;border-radius:9px;box-shadow:none;
  text-transform:none;transition:background-color .15s ease,border-color .15s ease;
}
html body:is(.admin-desk-page.cm-app.ao-app,.bp-admin-workspace) :is(button,.btn):hover {transform:none;}
html body:is(.admin-desk-page.cm-app.ao-app,.bp-admin-workspace) :is(button,.btn):disabled {opacity:.58;cursor:not-allowed;}
html body.admin-desk-page.cm-app.ao-app :is(.btn-blue,.btn-primary,.admin-care-row>button,.admin-care-host button),
body.bp-admin-workspace :is(.primary-button,.btn-primary) {background:var(--desk-green);border-color:var(--desk-green);color:#fff;box-shadow:none;}
html body.admin-desk-page.cm-app.ao-app :is(.btn-blue,.btn-primary,.admin-care-row>button,.admin-care-host button):hover,
body.bp-admin-workspace :is(.primary-button,.btn-primary):hover {background:#173f35;border-color:#173f35;box-shadow:none;}
html body:is(.admin-desk-page.cm-app.ao-app,.bp-admin-workspace) :is(.btn-outline,.secondary-button,.quiet-button) {background:#fff;color:var(--desk-green);border:1px solid #9aaa9d;}
html body.admin-desk-page.cm-app.ao-app::before,html body.admin-desk-page.cm-app.ao-app::after {display:none;}
/* Two deliberate header rows prevent account tools and navigation colliding. */
html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header {
  position:sticky;top:0;z-index:80;display:grid!important;grid-template-columns:minmax(190px,1fr) auto;
  align-items:center;gap:12px 24px;padding:17px 28px 0;min-height:0;
  background:#fcfbf7!important;color:var(--desk-ink)!important;border:0;border-bottom:1px solid var(--desk-line);
  box-shadow:0 2px 8px #203c3606;backdrop-filter:none;
}
html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header .cm-product-mark {grid-column:1;grid-row:1;min-width:0;color:var(--desk-ink);padding:0;border:0;background:none;}
html body.admin-desk-page.cm-app.ao-app .cm-product-mark strong {font:600 22px/1.1 Georgia,'Times New Roman',serif;letter-spacing:-.6px;color:var(--desk-ink);}
html body.admin-desk-page.cm-app.ao-app .cm-product-mark small {font:400 12px/1.5 'Segoe UI',sans-serif;letter-spacing:.07em;color:var(--desk-muted);margin-top:4px;}
html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header .header-actions {grid-column:2;grid-row:1;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin:0;min-width:0;}
html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header .admin-primary-nav {
  grid-column:1/-1;grid-row:2;display:flex!important;flex-wrap:wrap;gap:4px 8px;
  width:100%;min-width:0;max-width:none;padding:0;margin:0;background:none!important;border:0!important;box-shadow:none;overflow:visible;justify-content:flex-start;
}
html body.admin-desk-page.cm-app.ao-app .admin-primary-nav a {
  display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:10px 15px;
  color:var(--desk-muted)!important;background:transparent!important;border:0!important;
  border-bottom:3px solid transparent!important;border-radius:0!important;
  font:500 15px/1.4 'Segoe UI',sans-serif;white-space:nowrap;box-shadow:none!important;
}
html body.admin-desk-page.cm-app.ao-app .admin-primary-nav a::before {display:none!important;}
html body.admin-desk-page.cm-app.ao-app .admin-primary-nav a:is(.active,.is-active,[aria-current=page],[aria-current=true]) {
  color:var(--desk-green)!important;background:#edf2eb!important;border-bottom-color:var(--desk-green)!important;
}
html body.admin-desk-page.cm-app.ao-app .admin-primary-nav a:hover {color:var(--desk-green)!important;background:#edf2eb!important;}
html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header :is(.btn,.header-actions>a) {color:var(--desk-green);background:transparent;border:1px solid var(--desk-line);padding:8px 14px;font-size:14px;box-shadow:none;}
html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header .lang-switch {background:#eaf0e8;border:1px solid var(--desk-line);box-shadow:none;border-radius:9px;padding:3px;color:var(--desk-green);}
html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header .lang-switch label {color:var(--desk-green);font-size:13px;}
html body.admin-desk-page.cm-app.ao-app .cm-admin-shell {max-width:1400px;width:100%;margin:0 auto;padding:28px 32px 64px;background:none;}
html body.admin-desk-page.cm-app.ao-app .cm-admin-content {min-width:0;width:100%;background:none;}
html body.admin-desk-page.cm-app.ao-app :is(.desk-panel,.live-admin-panel) {background:#fff;border:1px solid var(--desk-line);border-radius:16px;box-shadow:0 3px 14px #203c3605;}
html body.admin-desk-page.cm-app.ao-app :is(.desk-panel,.live-admin-panel)::before {display:none;}
html body.admin-desk-page.cm-app.ao-app :is(.admin-care-heading,.admin-panel-header,.admin-care-queue-heading) {background:#fcfbf7;border-color:var(--desk-line);padding:28px 32px;gap:24px;}
html body.admin-desk-page.cm-app.ao-app :is(.admin-care-heading,.admin-panel-header,.admin-care-queue-heading) h2,
html body.admin-desk-page.cm-app.ao-app #admin-desk-signin-card h2,
body.bp-admin-workspace :is(.view-heading h1,.view-header h1,.login-panel h1,#mp-plans-title,#mp-quality-title,#mp-sources-title,#mp-channels-title,#mp-studio-title,#mp-queue-title,#mp-outcomes-title) {
  font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(28px,3vw,40px);
  line-height:1.18;letter-spacing:-.8px;color:var(--desk-ink);margin:0 0 12px;
}
html body.admin-desk-page.cm-app.ao-app :is(.cm-script,.admin-panel-eyebrow,.admin-care-list-heading>div>p,.admin-care-host p),
body.bp-admin-workspace .eyebrow {font:600 12px/1.5 'Segoe UI',sans-serif!important;letter-spacing:.1em;text-transform:uppercase;color:#785540;}
html body.admin-desk-page.cm-app.ao-app :is(.admin-panel-header>small,.admin-panel-header small,.admin-care-controls>small) {font-size:14px;color:var(--desk-muted);}
html body.admin-desk-page.cm-app.ao-app .admin-care-heading {grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);}
html body.admin-desk-page.cm-app.ao-app .admin-care-controls label>span {text-transform:none;letter-spacing:0;font-size:14px;font-weight:600;}
html body.admin-desk-page.cm-app.ao-app .admin-care-host {background:var(--desk-soft);border:1px solid #cfdbce;border-left:3px solid #7d9371;border-radius:12px;margin:24px 32px;padding:24px;box-shadow:none;}
html body.admin-desk-page.cm-app.ao-app .admin-care-host h3 {color:var(--desk-ink);font-size:21px;line-height:1.4;font-weight:600;margin-bottom:8px;}
html body.admin-desk-page.cm-app.ao-app .admin-care-host :is(span,small) {color:var(--desk-muted);font-size:15px;}
html body.admin-desk-page.cm-app.ao-app .admin-care-host .admin-care-host-avatar {display:grid;place-items:center;background:#fff;border:1px solid #c7d2c3;border-radius:50%;color:var(--desk-green);font-family:Georgia,serif;font-size:26px;box-shadow:none;}
html body.admin-desk-page.cm-app.ao-app .admin-care-host p {color:var(--desk-green);margin-bottom:8px;}
html body.admin-desk-page.cm-app.ao-app :is(.admin-care-list-heading,.admin-care-queue-list-heading) {padding:12px 32px 18px;background:#fff;}
html body.admin-desk-page.cm-app.ao-app :is(.admin-care-list,.admin-care-queue-list-panel) {margin:0 32px 28px;border:1px solid var(--desk-line);border-radius:12px;overflow:hidden;box-shadow:none;}
html body.admin-desk-page.cm-app.ao-app .admin-care-row {background:#fff;padding:23px 24px;gap:20px;grid-template-columns:minmax(180px,.95fr) minmax(240px,1.35fr) minmax(140px,.6fr) auto;border-color:var(--desk-line);}
html body.admin-desk-page.cm-app.ao-app .admin-care-row:hover {background:#fcfcf8;}
html body.admin-desk-page.cm-app.ao-app .admin-care-row::before {width:3px;}
html body.admin-desk-page.cm-app.ao-app .admin-care-row :is(strong,b) {font-weight:600;line-height:1.45;}
html body.admin-desk-page.cm-app.ao-app .admin-care-row :is(small,.admin-care-issue span) {font-size:14px;line-height:1.55;color:var(--desk-muted);}
html body.admin-desk-page.cm-app.ao-app .admin-care-person {gap:13px;}
html body.admin-desk-page.cm-app.ao-app .admin-care-avatar {background:#edf2eb;color:var(--desk-green);border:1px solid var(--desk-line);box-shadow:none;}
html body.admin-desk-page.cm-app.ao-app .admin-care-filters button {background:#fff;border:1px solid #bac8bc;color:var(--desk-muted);padding:8px 13px;font-size:14px;}
html body.admin-desk-page.cm-app.ao-app .admin-care-filters button[aria-pressed=true] {background:var(--desk-green);color:#fff;border-color:var(--desk-green);}
html body.admin-desk-page.cm-app.ao-app .admin-care-marketing {margin:24px 32px;padding:22px;background:#f6eee6;border:1px solid #ddcebd;border-radius:12px;box-shadow:none;color:var(--desk-ink);}
html body.admin-desk-page.cm-app.ao-app .admin-care-marketing :is(small,em) {color:#704e39;font-size:14px;}
html body.admin-desk-page.cm-app.ao-app .admin-care-marketing>span:first-child {background:#fffaf3;color:#83593f;box-shadow:none;border:1px solid #ddcebd;border-radius:10px;}
html body.admin-desk-page.cm-app.ao-app .admin-care-shortcuts {margin:20px 32px 28px;gap:12px;}
html body.admin-desk-page.cm-app.ao-app .admin-care-shortcuts a {background:#fff;border:1px solid var(--desk-line);color:var(--desk-green);border-radius:10px;box-shadow:none;padding:14px;}
html body.admin-desk-page.cm-app.ao-app :is(.admin-queue-filters,.admin-account-toolbar,.admin-report-question-picker) {background:#f1f4ee;border:1px solid var(--desk-line);border-radius:12px;box-shadow:none;}
html body.admin-desk-page.cm-app.ao-app :is(.admin-report-card,.admin-account-card,.admin-account-create,.admin-account-directory,.admin-account-stat,.admin-report-start) {background:#fff;border:1px solid var(--desk-line);border-radius:12px;box-shadow:none;}
html body.admin-desk-page.cm-app.ao-app :is(.admin-report-card h4,.admin-account-card h3) {font-size:19px;font-weight:600;}
html body.admin-desk-page.cm-app.ao-app :is(details,dialog) {border-color:var(--desk-line);border-radius:12px;box-shadow:none;}
html body.admin-desk-page.cm-app.ao-app summary {padding-top:14px;padding-bottom:14px;line-height:1.5;font-weight:600;}
html body.admin-desk-page.cm-app.ao-app :is(th,td) {padding:15px 17px;border-color:var(--desk-line);font-size:14px;line-height:1.5;}
html body.admin-desk-page.cm-app.ao-app th {background:#edf2eb;color:var(--desk-ink);font-weight:600;text-transform:none;}
html body.admin-desk-page.cm-app.ao-app :is(.admin-care-empty,.empty-state) {padding:30px;color:var(--desk-muted);background:#fcfbf7;font-size:16px;}
html body.admin-desk-page.cm-app.ao-app #admin-desk-signin-card {max-width:620px;margin:24px auto;padding:32px;}
html body.admin-desk-page.cm-app.ao-app #admin-desk-signin-card header {padding:0;background:none;}
html body.admin-desk-page.cm-app.ao-app #admin-desk-signin-card .lead {font-size:17px;}
html body.admin-desk-page.cm-app.ao-app section[id] {scroll-margin-top:160px;}
.bp-desk-illustration {display:block;width:92px;height:66px;color:#486e52;margin:0 0 17px;flex-shrink:0;}
/* Explicitly retire the legacy header's forced dark colors and typefaces. */
html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header,
html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header :not(.cm-nav-mark) {font-family:'Segoe UI',system-ui,sans-serif!important;}
html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header .cm-product-mark strong {font-family:Georgia,'Times New Roman',serif!important;color:var(--desk-ink)!important;}
html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header .cm-product-mark small {color:var(--desk-muted)!important;}
html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header .admin-primary-nav a {font-weight:500!important;color:var(--desk-muted)!important;background:transparent!important;border-color:transparent!important;}
html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header .admin-primary-nav a:is(.active,.is-active,[aria-current=page],:hover) {color:var(--desk-green)!important;background:#edf2eb!important;border-bottom-color:var(--desk-green)!important;}
html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header .admin-language-switch {background:#edf2eb!important;border-color:var(--desk-line)!important;box-shadow:none;color:var(--desk-green)!important;}
html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header .admin-language-switch button {font-size:13px;color:var(--desk-green)!important;}
html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header .cm-profile-button {color:var(--desk-green)!important;background:transparent!important;border-color:#a5b4a8!important;}
html body.admin-desk-page.cm-app.ao-app :is(h1,h2,h3,h4,h5,p,small,label,strong,b,span,a,summary,button,input,select,textarea) {font-family:inherit;}
html body.admin-desk-page.cm-app.ao-app :is(.admin-care-heading,.admin-panel-header,.admin-care-queue-heading) h2,
html body.admin-desk-page.cm-app.ao-app #admin-desk-signin-card h2 {font-family:Georgia,'Times New Roman',serif!important;font-weight:400!important;}
html body.admin-desk-page.cm-app.ao-app .admin-care-host button,
html body.admin-desk-page.cm-app.ao-app .admin-care-row>button {color:#fff!important;background:var(--desk-green)!important;box-shadow:none!important;padding:10px 16px;white-space:normal;height:auto;max-width:100%;}
html body.admin-desk-page.cm-app.ao-app #admin-desk-signin-card {max-width:620px!important;}
html body.admin-desk-page.cm-app.ao-app #admin-desk-signin-card>header {display:block;}
html body.admin-desk-page.cm-app.ao-app .admin-detail-panel {--ticket-ink:var(--desk-ink);--ticket-muted:var(--desk-muted);--ticket-line:var(--desk-line);--ticket-blue:var(--desk-green);--ticket-blue-dark:#173f35;--ticket-paper:#fff;background:var(--desk-paper);}
html body.admin-desk-page.cm-app.ao-app .admin-detail-panel>header {background:#edf2eb;color:var(--desk-ink);box-shadow:none;}
html body.admin-desk-page.cm-app.ao-app .admin-detail-panel>header :is(h2,p,small) {color:var(--desk-ink);}
/* Marketing shares the same materials while keeping the campaign queue in front. */
body.bp-admin-workspace .workspace-shell {grid-template-columns:242px minmax(0,1fr);background:var(--desk-paper);}
body.bp-admin-workspace .sidebar {background:#edf2eb;border-color:#d5ddd1;padding:28px 22px;color:var(--desk-ink);}
body.bp-admin-workspace .brand-mark {background:var(--desk-green);color:#fff;border-radius:12px 12px 12px 3px;}
body.bp-admin-workspace .brand {color:var(--desk-ink);}
body.bp-admin-workspace .workspace-label {font-size:13px;letter-spacing:0;color:var(--desk-muted);}
body.bp-admin-workspace .workspace-nav button {font-size:15px;font-weight:500;padding:13px 14px;line-height:1.4;color:var(--desk-ink);border-radius:9px;}
body.bp-admin-workspace .workspace-nav button:is(.active,[aria-current=page]) {background:var(--desk-green);color:#fff;}
body.bp-admin-workspace .workspace-nav button:not(.active):not([aria-current=page]):hover {background:#dfe8da;}
body.bp-admin-workspace .mp-more-tools {border:1px solid #c7d2c2;border-radius:10px;}
body.bp-admin-workspace .mp-more-tools summary {font-size:14px;color:var(--desk-green);padding:13px;}
body.bp-admin-workspace .sidebar-bottom a {color:var(--desk-green);font-size:14px;line-height:1.5;min-height:44px;}
body.bp-admin-workspace .sidebar-note {font-size:14px;color:var(--desk-muted);}
body.bp-admin-workspace .topbar {background:#fcfbf7;border-color:var(--desk-line);min-height:100px;gap:18px;}
body.bp-admin-workspace .topbar-title {font-weight:500;color:var(--desk-ink);}
body.bp-admin-workspace .topbar-title>span:first-child {font:600 12px/1.5 'Segoe UI',sans-serif;letter-spacing:.09em;}
body.bp-admin-workspace #mp-main {padding-top:24px;}
body.bp-admin-workspace :is(.panel,.login-panel,.metric-card,.mp-plan-card,.mp-card,.mp-ceo-card,.mp-programme-card,.mp-source-card,.mp-quality-card,.mp-cinematic-card,.mp-channel-card,.preview-card,.editorial-note) {border-color:var(--desk-line);background:#fff;border-radius:14px;box-shadow:0 3px 14px #203c3605;}
body.bp-admin-workspace :is(.panel-header,.mp-card-header,.mp-plan-header) {border-color:var(--desk-line);background:#fcfbf7;}
body.bp-admin-workspace :is(.panel-header h2,.mp-plan-card h2,.mp-card h2) {font-size:21px;font-weight:600;letter-spacing:-.3px;}
body.bp-admin-workspace :is(.field-help,.muted,.mp-meta,.mp-help,.preview-note,.workspace-status,.save-state) {font-size:14px;line-height:1.6;color:var(--desk-muted);}
body.bp-admin-workspace :is(.mp-plan-card,.mp-card,.panel) p {line-height:1.6;}
body.bp-admin-workspace .section-heading {padding-top:12px;}
body.bp-admin-workspace .workspace-footer {font-size:13px;color:var(--desk-muted);gap:16px;}
body.bp-admin-workspace :is(.error-notice,.mp-error) {color:#812f26;background:#fff1eb;border-color:#d7a397;}
body.bp-admin-workspace .login-panel {gap:32px;padding:28px;}
body.bp-admin-workspace .login-panel h1 {font-size:32px;}
body.bp-admin-workspace .login-panel .bp-desk-illustration {width:76px;height:54px;margin-bottom:12px;}
html body.admin-desk-page.cm-app.ao-app .cm-nav-mark {display:none;}
html body.admin-desk-page.cm-app.ao-app .admin-nav-badge {background:#e4eadd;color:#345343;border:1px solid #c6d1bf;box-shadow:none;font-size:12px;}
body.bp-admin-workspace .button.primary {background:var(--desk-green);color:#fff;border-color:var(--desk-green);}
body.bp-admin-workspace .button.secondary {background:#fff;color:var(--desk-green);border-color:#9aaa9d;}
body.bp-admin-workspace :is(.card,.mc-card,.mc-list-item,.mm-job,.mm-scene,.md-workspace) {background:#fff;border:1px solid var(--desk-line);border-radius:12px;box-shadow:none;}
body.bp-admin-workspace .mc-workspace {padding:28px;margin-top:22px;}
body.bp-admin-workspace .mc-list {grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:18px;}
body.bp-admin-workspace .mc-list-item {padding:22px;}
body.bp-admin-workspace .mc-list-item>h4 {font-size:18px;line-height:1.45;margin:0 0 10px;}
body.bp-admin-workspace .mm-job {background:#f5f7f1;padding:17px;margin-top:16px;}
body.bp-admin-workspace .mm-job h5 {font-size:17px;line-height:1.45;font-weight:600;margin:0 0 12px;}
body.bp-admin-workspace :is(.mc-note,.mc-status,.mc-field label,.mm-source-refs,.mm-scene-guide,.md-disclosure li,.mc-source-impact-item p,.mc-source-impact-item li) {font-size:14px;line-height:1.65;}
body.bp-admin-workspace .mc-queue>.mc-card {padding:20px 22px;background:#eef3e9;border-color:#cbd8c5;margin:20px 0;}
body.bp-admin-workspace :is(.mc-status,.mc-next-step) {background:#edf2eb;border-color:#7d9371;}
body.bp-admin-workspace :is(.mc-saved-inputs,.mc-source-impact,.mm-reading,.md-disclosure,.md-lookup) summary {font-size:14px;min-height:44px;padding-top:12px;padding-bottom:12px;}
@media(max-width:1100px) {
  html body.admin-desk-page.cm-app.ao-app .admin-care-row {grid-template-columns:minmax(0,1fr) auto;}
  html body.admin-desk-page.cm-app.ao-app .admin-care-row :is(.admin-care-person,.admin-care-issue,.admin-care-owner) {grid-column:1;}
  html body.admin-desk-page.cm-app.ao-app .admin-care-row>button {grid-column:2;grid-row:1/4;align-self:center;}
}
@media(max-width:940px) {
  body.bp-admin-workspace .workspace-shell {grid-template-columns:1fr;}
  body.bp-admin-workspace .sidebar {padding:20px;border-right:0;border-bottom:1px solid var(--desk-line);}
  body.bp-admin-workspace .workspace-nav {gap:8px;}
  body.bp-admin-workspace .sidebar-bottom {margin-top:16px;}
  html body.admin-desk-page.cm-app.ao-app .admin-care-heading {grid-template-columns:1fr;}
}
@media(max-width:700px) {
  html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header {position:relative;padding:18px 16px 0;grid-template-columns:1fr;gap:16px;}
  html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header .header-actions {grid-column:1;grid-row:2;justify-content:flex-start;gap:8px;}
  html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header .admin-primary-nav {grid-row:3;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 6px;}
  html body.admin-desk-page.cm-app.ao-app .admin-primary-nav a {font-size:14px;white-space:normal;min-width:0;padding:11px 10px;}
  html body.admin-desk-page.cm-app.ao-app .cm-admin-shell {padding:18px 12px 40px;}
  html body.admin-desk-page.cm-app.ao-app :is(.admin-care-heading,.admin-panel-header,.admin-care-queue-heading) {padding:24px 20px;}
  html body.admin-desk-page.cm-app.ao-app :is(.admin-care-host,.admin-care-marketing,.admin-care-shortcuts) {margin:18px 16px;padding:18px;}
  html body.admin-desk-page.cm-app.ao-app .admin-care-list {margin:0 16px 20px;}
  html body.admin-desk-page.cm-app.ao-app .admin-care-queue-list-panel {margin:0 0 20px;}
  html body.admin-desk-page.cm-app.ao-app :is(.admin-care-list-heading,.admin-care-queue-list-heading) {padding:12px 20px 18px;}
  html body.admin-desk-page.cm-app.ao-app .admin-care-row {grid-template-columns:minmax(0,1fr);padding:20px;gap:14px;}
  html body.admin-desk-page.cm-app.ao-app .admin-care-row>button {grid-column:1;grid-row:auto;justify-self:start;}
  html body.admin-desk-page.cm-app.ao-app .admin-care-row>* {min-width:0;overflow-wrap:anywhere;}
  html body.admin-desk-page.cm-app.ao-app .admin-care-host {grid-template-columns:1fr;}
  html body.admin-desk-page.cm-app.ao-app .admin-care-controls {grid-template-columns:1fr;}
  html body.admin-desk-page.cm-app.ao-app section[id] {scroll-margin-top:16px;}
  html body.admin-desk-page.cm-app.ao-app #admin-desk-signin-card {padding:24px;margin:12px auto;}
  body.bp-admin-workspace .topbar {padding:20px;flex-wrap:wrap;}
  body.bp-admin-workspace #mp-main {padding:20px 16px;}
  body.bp-admin-workspace .login-panel {padding:22px;gap:20px;}
  body.bp-admin-workspace .workspace-nav button {font-size:14px;}
  body.bp-admin-workspace .workspace-footer {padding:20px 16px;}
}
@media(prefers-reduced-motion:reduce) {
  html body:is(.admin-desk-page.cm-app.ao-app,.bp-admin-workspace) *,html body:is(.admin-desk-page.cm-app.ao-app,.bp-admin-workspace) *::before,html body:is(.admin-desk-page.cm-app.ao-app,.bp-admin-workspace) *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important;}
}

body.bp-admin-workspace .button.text-button {background:transparent;color:var(--desk-green);border-color:transparent;padding:10px 12px;text-decoration:underline;text-underline-offset:3px;}

/* The legacy phone dock used five/six tiny columns. Keep navigation in document flow. */
@media(max-width:700px) {
  html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header .admin-primary-nav.cm-dashboard-nav {
    position:static!important;inset:auto!important;z-index:auto!important;
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:3px 8px!important;width:100%!important;min-height:0!important;padding:0!important;
    background:transparent!important;border:0!important;border-radius:0!important;
    box-shadow:none!important;backdrop-filter:none!important;
  }
  html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header .admin-primary-nav.cm-dashboard-nav a {
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    gap:8px!important;min-height:48px!important;padding:10px!important;
    font-size:14px!important;font-weight:500!important;line-height:1.4!important;
    text-align:left!important;grid-template-rows:none!important;
  }
  html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header .admin-primary-nav.cm-dashboard-nav a[hidden] {display:none!important;}
  html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header .admin-primary-nav .admin-nav-badge {
    position:static!important;inset:auto!important;min-width:20px!important;min-height:20px!important;
    padding:1px 5px!important;font-size:12px!important;flex-shrink:0;
  }
  html body.admin-desk-page.cm-app.ao-app .cm-admin-dashboard-header .cm-nav-mark {display:none!important;}
}

/* Carry the same visual language through reports, access and secondary rooms. */
html body.admin-desk-page.cm-app.ao-app .admin-dashboard-home-banner {
  padding:10px 16px!important;margin:0 0 18px!important;min-height:44px;
  background:#f4f5ef!important;border:1px solid var(--desk-line)!important;
  border-radius:9px!important;box-shadow:none!important;color:var(--desk-muted)!important;
}
html body.admin-desk-page.cm-app.ao-app .admin-dashboard-home-banner :is(strong,span,p) {font-size:14px;font-weight:500;color:var(--desk-muted)!important;}
html body.admin-desk-page.cm-app.ao-app .admin-dashboard-home-button {
  background:#fff!important;color:var(--desk-green)!important;border:1px solid #a5b4a8!important;
  border-radius:8px!important;padding:9px 14px!important;box-shadow:none!important;
  font-size:14px!important;font-weight:600!important;min-height:42px;
}
html body.admin-desk-page.cm-app.ao-app .admin-report-question-picker>button {background:#fff!important;border:1px solid var(--desk-line)!important;color:var(--desk-ink)!important;box-shadow:none!important;}
html body.admin-desk-page.cm-app.ao-app .admin-report-question-picker>button.is-active {background:var(--desk-green)!important;color:#fff!important;border-color:var(--desk-green)!important;}
html body.admin-desk-page.cm-app.ao-app .admin-report-question-picker>button:not(.is-active) small {color:var(--desk-muted)!important;}
html body.admin-desk-page.cm-app.ao-app .admin-report-answer {border-color:var(--desk-line);border-radius:12px;overflow:hidden;box-shadow:none;}
html body.admin-desk-page.cm-app.ao-app .admin-report-answer-header {background:var(--desk-green)!important;border-color:var(--desk-green);color:#fff!important;padding:24px;}
html body.admin-desk-page.cm-app.ao-app .admin-report-answer-header :is(h3,p,small,strong) {color:#fff!important;}
html body.admin-desk-page.cm-app.ao-app .admin-report-record {padding:24px;background:#fff!important;border-color:var(--desk-line);box-shadow:none;}
html body.admin-desk-page.cm-app.ao-app .admin-report-record :is(h3,h4) {font-size:21px;font-weight:600;}
html body.admin-desk-page.cm-app.ao-app .admin-account-access-panel {
  --access-ink:var(--desk-ink);--access-muted:var(--desk-muted);--access-line:var(--desk-line);
  --access-blue:var(--desk-green);--access-green:var(--desk-green);--access-mint:#edf2eb;
  --access-sky:#eff3ec;--access-lilac:#f2ece4;--access-rose:#fff1eb;
}
html body.admin-desk-page.cm-app.ao-app .admin-account-access-heading h2 {
  font:400 clamp(28px,3vw,40px)/1.18 Georgia,'Times New Roman',serif;letter-spacing:-.8px;color:var(--desk-ink);
}
html body.admin-desk-page.cm-app.ao-app :is(.admin-account-create-card,.admin-account-directory,.admin-account-access-summary article) {box-shadow:none;border-radius:12px;}
html body.admin-desk-page.cm-app.ao-app .admin-account-create-card>header {background:var(--desk-green);color:#fff;}
html body.admin-desk-page.cm-app.ao-app .admin-account-create-card>header :is(p,h3) {color:#fff;}
html body.admin-desk-page.cm-app.ao-app .admin-account-directory-tools {background:#f1f4ee;}
html body.admin-desk-page.cm-app.ao-app .admin-account-avatar {background:#edf2eb;color:var(--desk-green);font-weight:600;}

/* Reply cards keep their natural height inside the bounded scrolling list. */
html body.admin-desk-page.cm-app.ao-app :is(.admin-ticket-smart-reply-list,.admin-ticket-reply-catalog-list) {
  grid-auto-rows:max-content;align-content:start;gap:12px;
}
html body.admin-desk-page.cm-app.ao-app .admin-ticket-smart-reply-list {
  scrollbar-gutter:stable;scroll-padding-block:8px;
}
html body.admin-desk-page.cm-app.ao-app .admin-ticket-reply-choice {
  height:auto;min-height:max-content;min-width:0;max-width:100%;align-items:start;
}
html body.admin-desk-page.cm-app.ao-app .admin-ticket-reply-copy {
  min-width:0;white-space:normal;overflow-wrap:anywhere;gap:6px;
}
html body.admin-desk-page.cm-app.ao-app .admin-ticket-reply-copy b {
  font-size:15px;line-height:1.45;
}
html body.admin-desk-page.cm-app.ao-app .admin-ticket-reply-copy :is(small,em) {
  font-size:14px;line-height:1.5;
}
