/* A8: desktop and medium sidebars; the existing phone rules stay in control. */
@media (min-width:1151px) { .calm .shell,.client .shell,.platform .shell { grid-template-columns:255px minmax(0,1fr); } }
@media (min-width:761px) and (max-width:1150px) { .calm .shell,.client .shell,.platform .shell { grid-template-columns:209px minmax(0,1fr); } }
/* A7: fixed 791px sheet / 720px text; the remaining pane is off-white. */
@media (min-width:1101px) {
  .calm .lm-workspace { grid-template-columns:minmax(0,1fr) clamp(300px,calc(300px + (100vw - 1440px)*.134),450px); gap:20px; }
  .calm .lm-workspace .memo-paper { box-sizing:border-box; width:791px; min-width:791px; max-width:791px; padding:35px 34.5px; margin:25px auto; }
  .calm .lm-workspace .b4-reading-column { width:720px; max-width:720px; margin-inline:auto; }
  .calm .lm-workspace.reading-mode { grid-template-columns:1fr; }
}
/* A1: other-label passages remain ordinary context, in precisely the same boxes. */
.calm .memo-paper .passage.final-context { background:transparent!important; box-shadow:none!important; opacity:1!important; outline:none!important; -webkit-text-stroke:0!important; }
.calm .memo-paper .passage.filtered-out { opacity:1; }
.lm-labelbar .filter[aria-pressed='true'],.filter-group [data-work-filter][aria-pressed='true'] { outline:1px solid currentColor; outline-offset:2px; }
/* A2: one existing filter row with the existing fluorescent colour marks. */
[data-work-filter] .bb-swatch { display:inline-block; width:8px; height:8px; margin-right:7px; border-radius:50%; }
/* A3: the two exact-record destinations share one wrapping row. */
.final-outcome-links { display:flex; flex-wrap:wrap; gap:10px 24px; margin-top:18px; }
/* B8: separate review controls, outside the page being approved. */
.final-review-panel { position:relative; z-index:100; background:#fff; border-bottom:1px solid #bdcbb6; padding:8px 18px; font:12px/1.6 Arial,sans-serif; color:#233e31; }
.final-review-panel>summary { cursor:pointer; }
.final-review-controls { display:flex; gap:14px; flex-wrap:wrap; align-items:flex-start; padding:12px 0; }
.final-review-panel .preview-popover { display:block!important; position:static!important; box-shadow:none!important; border:0!important; padding:0!important; width:auto!important; }
.final-review-panel .form-field { min-width:180px; }
.final-review-panel .b4-preview-note,.final-review-panel .sandbox-banner { margin:0; padding:6px 0; border:0; background:none; font-size:11px; }
/* B5: one compact, honest currentness line below the hero. */
.final-record-status { display:flex; gap:14px; flex-wrap:wrap; align-items:center; margin:12px 0 24px; color:var(--muted); font:11px/1.6 var(--sans); }
.final-record-status .text-link { font-size:11px; }
/* B9: the seal has the same retained location for missing identities. */
.b4-seal.final-no-identity { cursor:default; font-size:10px; line-height:1.5; }
/* A5: one current action card and one wrapping row of solid decisions. */
.final-action-card { margin:22px 0 28px; }
.final-action-card .wp-offer-buttons { display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.final-action-card .bb-composer { border:0; padding:24px 0 0; margin:0; box-shadow:none; }
.final-action-card>[data-final-findings] { margin-top:16px; }
.bb-findings>.button { margin:0 0 20px; }
.bb-findings>.bb-composer { margin:0 0 24px; }
.final-round-status { margin:20px 0 28px; }
@media(max-width:760px) { .final-action-card .wp-offer-buttons { flex-direction:column; align-items:stretch; } .bb-findings>.button { width:100%; } }
.final-action-card+.bb-review-intro { margin-top:28px; }
.bb-findings li [data-final-draft] { margin-top:13px; font-size:12px; }
/* B6: literal round requests, in their retained sequence. */
.final-request-item { padding:20px 0; border-bottom:1px solid var(--line); }
.final-request-item h3 { font-size:18px; margin-bottom:10px; }
.final-request-item p+p { margin-top:12px; }
/* A4: the unavailable line is outside the three known classification totals. */
.final-unavailable-count { font-size:12px; color:var(--muted); margin:0 0 20px; }
.b4-project-next button { border:0; padding:0; text-align:right; font:inherit; background:transparent; color:inherit; }
.b4-project-next button:hover { text-decoration:underline; }
/* B3: the existing source-file operations in one quiet, named view. */
.final-source-files { margin-top:24px; }
.final-source-file { display:flex; justify-content:space-between; gap:24px; padding:24px 0; border-bottom:1px solid var(--line); }
.final-source-file:last-child { border:0; }
.final-source-file h2 { font-size:19px; margin-bottom:10px; }
.final-source-file .button-row { align-self:flex-start; flex-shrink:0; }
@media(max-width:760px) { .final-source-file { flex-direction:column; } }
/* A9: retain the PBC round/item layout for an unpublished draft round. */
.final-draft-round { margin-bottom:24px; }
.final-draft-round .wp-round-head>.button-row { margin-top:20px; }
.final-publish-list { padding-left:20px; }
.final-publish-list>li { padding:14px 0; border-bottom:1px solid var(--line); }
.final-request-form { margin-top:24px; }
.final-request-form .form-field { margin-bottom:18px; }
@media(max-width:760px) { .final-draft-round .button-row,.final-request-form .button-row { flex-direction:column; align-items:stretch; } }
/* A11: an indented doorway under Engagement, with no journey node of its own. */
.calm .sidebar .a11-source-subitem { padding-left:42px; font-size:11px; }
.calm .b4-journey .a11-source-subitem::after { content:none; }
