/* Secondary workspace context, with native disclosures and focus behaviour. */
html:root body.wn-quiet-editorial .qh-activity-notice {
  display:flex; align-items:flex-start; gap:16px; padding:10px 14px!important;
  margin:8px 0!important; background:transparent!important; border:0!important;
}
html:root body.wn-quiet-editorial .qh-activity-details { flex:1; min-width:0; }
html:root body.wn-quiet-editorial .qh-activity-details > summary,
html:root body.wn-quiet-editorial .qh-workspace-information > details > summary,
html:root body.wn-quiet-editorial .qh-presence-details > summary {
  font-size:18px!important; line-height:1.5; cursor:pointer; padding:6px 0; min-height:32px; box-sizing:border-box;
}
html:root body.wn-quiet-editorial .qh-activity-details .wn-notice-title { display:none; }
html:root body.wn-quiet-editorial .qh-activity-details .wn-notice-summary { margin:10px 0 0; font-size:16px!important; line-height:1.5; }
html:root body.wn-quiet-editorial .qh-activity-notice > .wn-notice-action { min-height:44px; margin:0; }
html:root body.wn-quiet-editorial #mw-content-text > .ce-introduction.qh-workspace-information {
  padding:0!important; margin:8px 24px 12px 0!important; background:transparent!important; border:0!important;
}
html:root body.wn-quiet-editorial .qh-workspace-information .ce-private-label { display:block; margin:12px 0; }
html:root body.wn-quiet-editorial #mw-content-text > [data-wn-presence]:has(> .qh-presence-details) {
  padding:0!important; margin:8px 24px 12px 0!important; background:transparent!important; border:0!important;
}
html:root body.wn-quiet-editorial #mw-content-text > :is(.qh-workspace-information,[data-wn-presence]:has(> .qh-presence-details)) {
  display:inline-block!important; width:auto; max-width:100%; vertical-align:top;
}
html:root body.wn-quiet-editorial .qh-report-notice { padding:10px 14px!important; margin:12px 0!important; }
html:root body.wn-quiet-editorial :is(.human-details,.qh-activity-details,.qh-presence-details,.qh-workspace-information details) > summary:focus-visible { outline:3px solid var(--qe-link); outline-offset:4px; }
html:root body.wn-quiet-editorial .human-details { margin:24px 0; }
html:root body.wn-quiet-editorial .human-details > summary { cursor:pointer; font-size:18px!important; line-height:1.5; min-height:44px; padding:8px 0; }
html:root body.wn-quiet-editorial .human-details[open] > summary { margin-bottom:16px; }
html:root body.wn-quiet-editorial .human-details pre { max-width:100%; overflow:auto; }
@media(max-width:640px) {
  html:root body.wn-quiet-editorial .qh-activity-notice { flex-wrap:wrap; gap:8px; }
  html:root body.wn-quiet-editorial .qh-activity-details { flex-basis:100%; }
  html:root body.wn-quiet-editorial .qh-activity-notice > .wn-notice-action { padding:8px 12px; }
}

/* Keep both native disclosure controls aligned, including older notice overrides. */
html:root body.wn-quiet-editorial #mw-content-text > .ce-introduction.qh-workspace-information > details > summary,
html:root body.wn-quiet-editorial #mw-content-text > [data-wn-presence] > .qh-presence-details > summary {
  font-size:18px!important; line-height:27px!important; margin:0!important; padding:6px 0!important;
  min-height:39px!important;
}

/* Portal editorial review only. Native rows, links and table roles stay intact. */
@media screen and (max-width:700px) {
  html:root body.wn-quiet-editorial .ce-dashboard .ce-review-table,
  html:root body.wn-quiet-editorial .ce-dashboard .ce-review-table > tbody {
    display:block;
    width:100%;
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
    overflow:visible;
  }
  /* Keep the native column headers available to assistive technology. */
  html:root body.wn-quiet-editorial .ce-dashboard .ce-review-table > thead {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    border:0;
    overflow:hidden;
    clip:rect(0,0,0,0);
    clip-path:inset(50%);
    white-space:nowrap;
  }
  html:root body.wn-quiet-editorial .ce-dashboard .ce-review-table > tbody > tr {
    display:block;
    width:100%;
    min-width:0;
    box-sizing:border-box;
  }
  html:root body.wn-quiet-editorial .ce-dashboard .ce-review-table .ce-review-row {
    padding:4px 0 16px;
    margin:0 0 16px;
    border-bottom:1px solid var(--qe-line);
  }
  html:root body.wn-quiet-editorial .ce-dashboard .ce-review-table > tbody > tr > td {
    display:block;
    width:100%;
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
    border:0;
    padding:8px 12px;
    font-size:18px;
    line-height:1.5;
    white-space:normal;
    word-break:normal;
    overflow-wrap:anywhere;
  }
  html:root body.wn-quiet-editorial .ce-dashboard .ce-review-table .ce-project-row > td {
    margin-top:12px;
    font-weight:600;
    border-radius:4px;
  }
  html:root body.wn-quiet-editorial .ce-dashboard .ce-review-table .ce-review-row > td::before {
    content:attr(data-label);
    display:block;
    margin-bottom:2px;
    font-size:16px;
    line-height:1.4;
    font-weight:600;
    letter-spacing:0;
    text-transform:none;
  }
  html:root body.wn-quiet-editorial .ce-dashboard .ce-review-table .ce-review-row > td a {
    font-size:inherit;
    line-height:inherit;
    white-space:normal;
  }
}
@media screen and (max-width:700px) and (forced-colors:none) {
  html:root body.wn-quiet-editorial .ce-dashboard .ce-review-table > tbody > tr > td {
    color:var(--qe-ink);
    background:transparent;
  }
  html:root body.wn-quiet-editorial .ce-dashboard .ce-review-table .ce-project-row > td {
    color:var(--qe-ink);
    background:var(--qe-surface);
  }
  html:root body.wn-quiet-editorial .ce-dashboard .ce-review-table .ce-review-row > td::before {
    color:var(--qe-muted);
  }
}
