@media screen {
 .mdl-visual-system .portal-workspace .experience-form {display:grid;gap:12px}
 .mdl-visual-system .portal-workspace .experience-form form {display:grid;gap:12px}
 .mdl-visual-system .portal-workspace .experience-filters {display:grid;grid-template-columns:minmax(160px,1fr) minmax(160px,1fr) auto;gap:12px;align-items:end}
 .mdl-visual-system .portal-workspace .experience-filters-short {grid-template-columns:minmax(160px,320px) auto;justify-content:start}
 .mdl-visual-system .portal-workspace .experience-route {display:block;margin-top:4px;color:var(--mdl-muted);font-size:.875rem;overflow-wrap:anywhere}
 .mdl-visual-system .portal-workspace .experience-feedback {padding:14px var(--portal-card-inset,18px);border-top:1px solid var(--mdl-line)}
 .mdl-visual-system .portal-workspace .experience-feedback summary {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;cursor:pointer;list-style:revert}
 .mdl-visual-system .portal-workspace .experience-feedback summary::before {content:'+';color:var(--mdl-primary);font-weight:700}
 .mdl-visual-system .portal-workspace .experience-feedback[open] summary::before {content:'−'}
 .mdl-visual-system .portal-workspace .experience-feedback summary>span:first-of-type {flex:1;min-width:0;overflow-wrap:anywhere}
 .mdl-visual-system .portal-workspace .experience-message {white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
 .mdl-visual-system .portal-workspace .experience-reply {padding:12px 16px;background:var(--mdl-soft);border-left:3px solid var(--mdl-primary);margin-block:12px}
 .mdl-visual-system .portal-workspace progress {accent-color:var(--mdl-primary);max-width:140px;vertical-align:middle}
 .mdl-site.mdl-public-editorial .mdl-editorial-table {width:100%;border-collapse:collapse;text-align:left;line-height:1.6}
 .mdl-site.mdl-public-editorial .mdl-editorial-table :is(th,td) {padding:14px;border-bottom:1px solid var(--mdl-line);vertical-align:top}
 .mdl-site.mdl-public-editorial .mdl-editorial-table th {background:#edf2ef;color:#103f43}
 .mdl-site.mdl-public-editorial .mdl-about-portrait-2026 img {height:auto;object-fit:contain;width:100%;border-radius:8px}
 .mdl-site.mdl-public-editorial .public-consent {position:fixed;inset:auto 16px 16px;z-index:1400;max-width:780px;margin-inline:auto;padding:20px;background:#faf9f5;color:#0c3744;border:1px solid #d5d7d3;border-radius:8px;box-shadow:0 8px 40px #103f4326;max-height:80vh;overflow:auto}
 .mdl-site.mdl-public-editorial .public-consent[hidden], .mdl-site.mdl-public-editorial [data-public-analytics] [hidden] {display:none}
 .mdl-site.mdl-public-editorial .public-consent h2 {font-size:1.4rem;margin:0 0 8px}
 .mdl-site.mdl-public-editorial .public-consent p {margin:0 0 12px;font-size:1rem;line-height:1.55}
 .mdl-site.mdl-public-editorial .public-consent .button-row {align-items:center;flex-wrap:wrap;gap:10px}
 .mdl-site.mdl-public-editorial .public-consent-preferences {display:block;margin:0 auto 12px;background:transparent;border:1px solid #d5d7d3;border-radius:4px;min-height:44px;padding:8px 16px;color:#103f43;font:inherit;cursor:pointer}
 .mdl-site.mdl-public-editorial [data-consent-status] {text-align:center;padding-inline:16px}
 @media(max-width:700px) {
  .mdl-visual-system .portal-workspace :is(.experience-filters,.experience-filters-short) {grid-template-columns:minmax(0,1fr)}
  .mdl-visual-system .portal-workspace .experience-feedback summary {flex-wrap:wrap}
  .mdl-site.mdl-public-editorial .public-consent {inset:auto 8px 8px;padding:16px}
 }
}

/* v53: private mailbox and compact message management. */
@media screen {
 .mdl-visual-system .app-frame.portal-workspace .portal-mailbox { position:relative; display:inline-flex; align-items:center; justify-content:center; width:44px; min-width:44px; min-height:44px; color:var(--mdl-ink, #103f43); border:1px solid #d4e1df; border-radius:8px; background:#fff; text-decoration:none; margin-inline-start:auto; }
 .mdl-visual-system .app-frame.portal-workspace .portal-mailbox-label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
 .mdl-visual-system .app-frame.portal-workspace .portal-mailbox-count { position:absolute; top:0; right:-5px; min-width:19px; padding:1px 4px; border-radius:12px; color:#fff; background:#a33c2e; font-size:11px; font-weight:700; text-align:center; }
 .mdl-visual-system .app-frame.portal-workspace .portal-inbox-row { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid #e1e9e7; }
 .mdl-visual-system .app-frame.portal-workspace .portal-inbox-row > div { min-width:0; overflow-wrap:anywhere; }
 .mdl-visual-system .app-frame.portal-workspace .portal-inbox-open,
 .mdl-visual-system .app-frame.portal-workspace .portal-message-preview { margin-block-start:16px; padding:16px; border:1px solid #d4e1df; border-radius:8px; background:#f5f8f7; }
 .mdl-visual-system .app-frame.portal-workspace .portal-recipient-roles { display:flex; flex-wrap:wrap; gap:4px 12px; }
 .mdl-visual-system .app-frame.portal-workspace .portal-sent-message { border-block-end:1px solid #e1e9e7; padding-block:12px; }
 .mdl-visual-system .app-frame.portal-workspace .assessment-page-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
 .mdl-visual-system .app-frame.portal-workspace .assessment-page-heading > div { flex:1; min-width:0; }
 .mdl-visual-system .app-frame.portal-workspace .assessment-create-top { flex-shrink:0; white-space:nowrap; }
}
@media screen and (max-width:640px) {
 .mdl-visual-system .app-frame.portal-workspace .portal-inbox-row,
 .mdl-visual-system .app-frame.portal-workspace .assessment-page-heading { flex-wrap:wrap; }
 .mdl-visual-system .app-frame.portal-workspace .portal-message-preview { padding:12px; }
}

/* v54: shared square account actions; color and labels come from AssessmentRowAction. */
@media screen {
 .mdl-visual-system .app-frame.portal-workspace .portal-user-actions { display:flex; flex-wrap:nowrap; align-items:center; gap:6px; width:max-content; }
 .mdl-visual-system .app-frame.portal-workspace .portal-user-actions .history-square-action { display:inline-flex; flex:0 0 44px; width:44px; height:44px; min-width:44px; min-height:44px; padding:10px; border-radius:8px; }
 .mdl-visual-system .app-frame.portal-workspace .portal-user-actions .history-square-action .mud-icon-root { width:22px; height:22px; }
}
