/* UX 2D visual fidelity layer. Screen presentation only. */
:root {
  --ux-sidebar: #0d3440;
  --ux-sidebar-active: #1c5961;
  --ux-canvas: #f2f7f8;
  --ux-line: #dce7ea;
  --ux-quiet: #58717b;
  --ux-teal: #007e72;
  --ux-ink: #0d2f4f;
  --ux-shadow: 0 2px 5px rgba(15, 52, 65, .035), 0 14px 35px rgba(15, 52, 65, .055);
  --ux-soft-shadow: 0 1px 2px rgba(15, 52, 65, .04), 0 7px 22px rgba(15, 52, 65, .035);
  --good-bg: #e2f4ed; --good-text: #086b55;
  --warn-bg: #fff1d9; --warn-text: #8a560b;
  --risk-bg: #fde9e9; --risk-text: #aa303c;
  --focus: #176ca1;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body { background: var(--ux-canvas); color: var(--ux-ink); }
button, input, select, textarea { font-family: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus) !important; outline-offset: 2px; }
button.primary, #m305-finalize, .m305-review-form .primary { background: linear-gradient(180deg,#078f81,#00786d); border-color: #00786d; color: #fff; box-shadow: 0 2px 5px #00786d25; }
button.primary:hover:not(:disabled), #m305-finalize:hover:not(:disabled) { background: #006d64; }
input, select, textarea { border-color: #bdcdd2; background: #fff; }
input::placeholder, textarea::placeholder { color: #708793; opacity: 1; }
small, .muted, .m305-muted { color: var(--ux-quiet); }
#m25-view h1, #m25-view h2, #m25-view h3 { color: var(--ux-ink); letter-spacing: -.025em; }
#m25-view h1:focus, #m25-view h2:focus { text-decoration: none; outline: none; }
#m25-view h1 { font-weight: 670; font-size: clamp(1.55rem,2.2vw,1.95rem); }
#m25-view h2 { font-weight: 650; }

/* Shell: the reference uses a dark continuous rail and a narrow utility bar. */
#manager25:not(.hidden) { grid-template-columns: 206px minmax(0,1fr); }
.m25-sidebar { display: flex; flex-direction: column; box-sizing: border-box; height: 100vh; background: linear-gradient(160deg,#103743 0%,#0a303c 58%,#123d48 100%); box-shadow: 5px 0 24px #0b34401a; padding: 1.18rem .7rem; }
body:has(#dev-personas:not(:empty)) .m25-sidebar { height: calc(100vh - 40px); }
.m25-brand { padding: .15rem .65rem 1.85rem; gap: .65rem; font-weight: 630; font-size: .91rem; }
#manager25 .m25-nav { gap: .18rem; }
#manager25 .m25-nav button { min-height: 40px; padding: .56rem .72rem; color: #c6dadd; border-radius: 7px; font-size: .88rem; font-weight: 540; transition: background .15s, color .15s; }
#manager25 .m25-nav button:hover { background: #ffffff14; color: #fff; }
#manager25 .m25-nav button.active { background: linear-gradient(90deg,#21636a,#1a515b); color: #fff; box-shadow: inset 3px 0 #6de1d6,0 3px 9px #092c3426; font-weight: 650; }
.m25-nav-icon { width: 21px; color: #b8d4d7; }
#manager25 .m25-nav button.active .m25-nav-icon { color: #e6fffc; }
.m25-sidebar-account { display: flex; align-items: center; gap: .55rem; margin-top: auto; padding: .8rem .55rem .3rem; border-top: 1px solid #ffffff1c; min-width: 0; }
.m25-sidebar-avatar { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: #668d98; color: #fff; font-size: .68rem; font-weight: 700; }
.m25-sidebar-account>span:last-child { display: grid; min-width: 0; }
.m25-sidebar-account strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #f3fbfb; font-size: .78rem; font-weight: 640; }
.m25-sidebar-account small { color: #b4d0d4; font-size: .72rem; }
.m25-main { max-width: 1500px; padding: 1.1rem clamp(1.1rem,2vw,2rem) 3rem; }
.m25-utility { min-height: 45px; margin-bottom: .35rem; }
#m25-global-search { height: 38px; width: min(430px,60%); box-shadow: var(--ux-soft-shadow); }
#m25-global-query { font-size: .83rem; }
.m25-user { font-size: .84rem; }
.m25-user-avatar { width: 30px; height: 30px; background: #397d84; }
#manager25 .m25-top { gap: .55rem; margin: 0 0 .8rem; padding-right: 0; }
#manager25 .m25-top select, #manager25 .m25-top button { min-height: 35px; border-color: var(--ux-line); box-shadow: var(--ux-soft-shadow); }
#manager25 .m25-top select { max-width: 290px; text-overflow: ellipsis; }
#manager25 .m25-top label { font-size: .82rem; }

/* Dashboard KPI cards reproduce the reference's distinct semantic tints. */
.m305-home { max-width: none; }
.m305-greeting { font-size: .89rem; margin-bottom: .1rem; }
.m305-home>h1 { margin: .06rem 0 .9rem !important; }
.m305-today { margin: .1rem 0 1.25rem; }
.m305-today-grid { gap: .88rem; }
.m305-today-grid .m305-kpi { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: .9rem; min-height: 104px; padding: .85rem 1.05rem; border: 1px solid #dbe9e8; border-radius: 9px; box-shadow: var(--ux-soft-shadow); transition: transform .15s, box-shadow .15s, border-color .15s; }
.m305-today-grid .m305-kpi:hover { transform: translateY(-2px); box-shadow: var(--ux-shadow); border-color: #add1cd; }
.m305-kpi--actions { background: linear-gradient(120deg,#e8f8f4,#f2faf8) !important; }
.m305-kpi--review { background: linear-gradient(120deg,#ebf3ff,#f3f8fe) !important; }
.m305-kpi--late { background: linear-gradient(120deg,#fff0f0,#fff8f8) !important; }
.m305-kpi--dossiers { background: linear-gradient(120deg,#f1f7f8,#f9fbfc) !important; }
.m305-kpi-icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: #cceee6; color: #087b68; }
.m305-kpi-icon svg { width: 26px; height: 26px; }
.m305-kpi--review .m305-kpi-icon { background: #dceaff; color: #2363c1; }
.m305-kpi--late .m305-kpi-icon { background: #ffe0e1; color: #cd3546; }
.m305-kpi--dossiers .m305-kpi-icon { background: #dcf0ed; color: #138575; }
.m305-kpi-copy { display: flex; flex-direction: column; align-items: flex-start; gap: .07rem; min-width: 0; }
.m305-kpi-copy strong { font-size: 1.8rem !important; line-height: 1.02; color: #0e4250; font-weight: 700; }
.m305-kpi--review .m305-kpi-copy strong { color: #143c83; }
.m305-kpi--late .m305-kpi-copy strong { color: #8d2630; }
.m305-kpi-copy>span { color: #234d57 !important; font-size: .85rem !important; font-weight: 620; line-height: 1.25; }
.m305-kpi-copy small { color: #087b68; font-size: .77rem; margin-top: .25rem; }
.m305-kpi--review .m305-kpi-copy small { color: #255fc1; }
.m305-kpi--late .m305-kpi-copy small { color: #b0373e; }

/* Dossiers and action rows use the compact table/list proportions in the PNG. */
.m305-section-heading { align-items: center; margin: 0 0 .65rem; }
.m305-section-heading h2 { font-size: 1.2rem !important; }
.m305-dossier-table-wrap, .m305-actions-table { border-color: var(--ux-line); border-radius: 10px; box-shadow: var(--ux-shadow); }
.m305-dossier-table { color: #244359; }
.m305-dossier-table thead { background: #f7fafb; color: #536c79; }
.m305-dossier-table th, .m305-dossier-table td { padding: .82rem .9rem; border-bottom-color: #e9eff1; }
.m305-dossier-table tbody tr { transition: background .14s; }
.m305-dossier-table tbody tr:hover { background: #f2faf9; }
.m305-dossier-table .m305-dossier-open { color: #0b3150 !important; font-weight: 670 !important; line-height: 1.25; }
.m305-dossier-table tbody th small { margin-top: .22rem; }
.m305-progress .m305-meter, .m305-dossier-summary .m305-meter { height: 7px; background: #e6edf1; }
.m305-progress .m305-meter i, .m305-dossier-summary .m305-meter i { background: linear-gradient(90deg,#249b86,#077a71); }
.m305-status-badge { border-radius: 6px; background: #e5f0ff; color: #195aa0; font-size: .72rem; font-weight: 650; }
.m305-row-open { font-size: 1.15rem; }
.m305-dossier-header, .m305-finding-content, .m305-findings, .m305-paper { box-shadow: var(--ux-soft-shadow); }
.m305-dossier-header { padding: 1.05rem 1.25rem; }
.m305-subnav button.active { border-bottom-width: 3px; }
.m305-findings>button.active { background: #e6f5f1; color: #075e57; }
.m305-action-list>button { border-color: var(--ux-line); }
.m305-action-list>button:hover { background: #f2faf9 !important; }
.m305-action-list>button.selected { background: #e8f6f3 !important; }

.m305-global { max-width: none; }
.m305-global>h1 { margin-bottom: .6rem !important; }
.m305-scope-toggle, .m305-status-strip { gap: .35rem; }
.m305-scope-toggle button, .m305-status-strip button { border-radius: 6px; }
.m305-scope-toggle button.active, .m305-status-strip button.active { background: #e4f3f0; border-color: #a7d4cc; color: #075f58; box-shadow: inset 0 -2px #087e73; }
.m305-filter-context { margin: .5rem 0; font-size: .77rem; }
.m305-filter-context button { color: #076c63; background: #f1faf8; border-color: #cce5df; }
.m305-advanced-filters { margin-bottom: .75rem; }
.m305-advanced-filters summary { padding: .38rem .6rem; border: 1px solid #d4e5e5; border-radius: 6px; background: #f6fbfa; }
.m305-actions-table .m305-action-card { min-height: 67px; padding: .7rem 1rem; border-bottom: 1px solid #e7eef0; transition: background .13s; }
.m305-actions-table .m305-action-card:hover { background: #f2faf9 !important; }
.m305-actions-table .m305-action-card.selected { background: #e9f6f3 !important; box-shadow: inset 3px 0 #07877a; }
.m305-action-card strong { font-size: .89rem; font-weight: 660; color: #103650; }
.m305-action-card span { font-size: .82rem; color: #5a7380; }
.m305-action-card small { font-size: .78rem; font-weight: 620; }

/* One scrolling drawer. Header remains visible as the contribution and history scroll. */
body:has(.m305-overlay:not([hidden])) { overflow: hidden; }
.m305-actions-table .m305-overlay, .m305-action-list .m305-overlay { width: min(42vw, 650px); min-width: 470px; overflow-y: auto; overscroll-behavior: contain; padding: 0 1.35rem 1.7rem; box-shadow: -14px 0 42px #0b344036; }
.m305-action-detail { min-width: 0; }
.m305-action-detail .m305-back { position: sticky; top: 0; z-index: 2; display: block; width: calc(100% + 2.7rem); margin: 0 -1.35rem .6rem; padding: .95rem 1.35rem !important; background: #fff !important; border-bottom: 1px solid var(--ux-line) !important; color: #0b6862 !important; text-align: right; font-size: .82rem; font-weight: 700; box-shadow: 0 2px 10px #0c35400a !important; }
.m305-action-detail .m305-back::after { content: " ×"; font-size: 1.35rem; line-height: .5; vertical-align: -.09em; }
.m305-action-detail h2 { margin: .3rem 0 .35rem; font-size: 1.34rem !important; line-height: 1.25; }
.m305-action-detail>p { margin: .35rem 0; }
.m305-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .4rem; margin: .9rem 0; }
.m305-facts>div { min-width: 0; padding: .58rem .65rem; border: 1px solid #e4ecee; border-radius: 7px; background: #f7fafb; }
.m305-facts small { font-size: .7rem; }
.m305-facts strong { font-size: .82rem; overflow-wrap: anywhere; }
.m305-action-detail h3 { margin: .95rem 0 .4rem; }
.m305-contribution { background: #f7faf9; border: 1px solid #e3eeeb; padding: .85rem; margin: 1rem 0; }
.m305-action-detail details { padding: .65rem 0; }
.m305-action-detail summary { color: #244b58; }

/* Documents, planning, forms, administration. The page itself stays the focal surface. */
.m305-report-head, .m305-report-toolbar { box-shadow: var(--ux-soft-shadow); }
.m305-report-head { padding: 1rem 1.2rem; }
.m305-report-head h1 { font-size: 1.35rem !important; }
.m305-report-toolbar { padding: .72rem .95rem; }
.m305-report-human { background: #fff3dd; color: #77500f; border-radius: 6px; padding: .35rem .55rem; font-weight: 600; }
.m305-document-nav { box-shadow: var(--ux-soft-shadow); }
.m305-document-nav a { color: #176c83; }
.m305-document-nav a:hover, .m305-document-nav a.active { background: #e8f5f5; color: #075c66; }
.m305-document { background: #e8eff2; padding: 1.15rem; }
.m305-page { max-width: 840px; margin: 0 auto; background: #fff; box-shadow: 0 9px 28px #153e4b20; }
.m305-page a { color: #086b81; }
.m25-table { background: #fff; }
.m25-table th { color: #526b77; background: #f7fafb; }
.m25-table tbody tr:hover { background: #f3faf9; }
.m305-paper a[href$="tracking.xlsx"] { display: inline-flex; margin-top: .8rem; padding: .6rem .8rem; color: #fff; background: #087d72; border-radius: 7px; text-decoration: none; font-size: .83rem; font-weight: 650; }
.m305-create-form, .m305-admin-form { gap: .65rem; }
.m305-paper summary { color: #0b6662; }
.m305-admin-links .m305-paper { min-height: 110px; }

/* Contributor and invitation share the same quiet document-like form. */
.field-body>header { background: linear-gradient(100deg,#103844,#0c303c); box-shadow: 0 3px 14px #0c344021; }
.field-body>header h1 { font-size: 1rem; font-weight: 660; }
.field-body [hidden] { display: none !important; }
.field-main { max-width: 1050px; padding-top: 1.1rem; }
.field-body .dev-personas { padding: .35rem .6rem; margin-bottom: .55rem; }
.field-body .dev-personas summary { margin: 0; padding: .55rem .7rem; }
.field-body .toolbar { margin-bottom: .8rem; }
.field-body #field-list, .field-inline-work, #field-task-action { border-color: var(--ux-line); box-shadow: var(--ux-shadow); }
.field-summary { gap: .5rem; }
.field-summary button { background: #f7fafb; border-radius: 8px; }
.field-summary button.active { background: #e4f5f0; border-color: #95ccc1; box-shadow: inset 0 -2px #07877a; }
.field-body #field-list>.card { min-height: 57px; margin: 0; border-radius: 0; border-bottom: 0; background: #fff; transition: background .12s; }
.field-body #field-list>.card:first-of-type { border-radius: 8px 8px 0 0; }
.field-body #field-list>.card:last-of-type { border-bottom: 1px solid var(--ux-line); border-radius: 0 0 8px 8px; }
.field-body #field-list>.card:hover { background: #f2faf9; }
.field-body #field-list>.card[aria-expanded="true"] { background: #eaf7f4; box-shadow: inset 3px 0 #087f72; }
.field-inline-work, #field-task-action { padding: 1.05rem 1.25rem; }
.field-work-head { padding-bottom: .6rem; }
.field-work-head h2 { font-size: 1.3rem !important; color: #0c3150; }
.field-work-head .statusline { padding: .3rem .6rem; border-radius: 5px; font-size: .76rem; font-weight: 650; }
.field-block { padding: .67rem 0; }
.field-block h3, #contribution-form .field-block>label { color: #1c4658; font-size: .82rem; font-weight: 680; letter-spacing: .025em; }
.field-block--source { background: #f8fbfc; border-color: #e0e9ec; }
#contribution-form { margin-top: .45rem !important; }
#contribution-form textarea[name=detailed] { min-height: 138px; border-color: #9fbfc2; box-shadow: inset 0 1px 3px #123e4b0c; }
#contribution-form .field-actions button { background: #f1faf8; border-color: #a8d6cd; color: #075c56; }
#contribution-form .field-actions button:hover { background: #e2f3ee; }
#contribution-form .field-submit-row { padding-top: .4rem; }
#contribution-form .submit-field { min-height: 46px; padding-inline: 1.15rem; }
.field-body .field-next-step { color: #526d75; }

@media (min-width:900px) {
  :is(.field-inline-work, #field-task-action):has(#contribution-form) { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); column-gap: 1.1rem; align-content: start; }
  :is(.field-inline-work, #field-task-action):has(#contribution-form) > .field-work-head { grid-column: 1 / -1; }
  :is(.field-inline-work, #field-task-action):has(#contribution-form) > .field-context { grid-column: 1; grid-row: 2; min-width: 0; }
  :is(.field-inline-work, #field-task-action):has(#contribution-form) > #contribution-form { grid-column: 2; grid-row: 2; min-width: 0; padding-left: 1rem; border-left: 1px solid var(--ux-line); }
  :is(.field-inline-work, #field-task-action):has(#contribution-form) > details { grid-column: 1 / -1; }
}

@media (max-width:1100px) { .m305-today-grid { gap: .55rem; } .m305-today-grid .m305-kpi { gap: .6rem; padding: .75rem; } .m305-kpi-icon { flex-basis: 43px; width: 43px; height: 43px; } }
@media (max-width:1000px) { #manager25:not(.hidden) { grid-template-columns: 66px minmax(0,1fr); } .m25-sidebar-account { justify-content: center; padding-inline: 0; } .m25-sidebar-account>span:last-child { display: none; } }
@media (max-width:760px) { #manager25:not(.hidden) { display: block; } .m25-sidebar { display: none; } .m25-sidebar.open { display: flex; } body:has(#dev-personas:not(:empty)) .m25-sidebar { top: 84px; height: calc(100vh - 84px); } .m25-sidebar.open .m25-sidebar-account { justify-content: flex-start; } .m25-sidebar.open .m25-sidebar-account>span:last-child { display: grid; } .m25-main { padding: .75rem .85rem 2rem; } .m305-today-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .m305-actions-table .m305-overlay, .m305-action-list .m305-overlay { min-width: 0; width: min(100vw,590px); } .m305-report-layout { grid-template-columns: 1fr; } .field-body>header { display: flex; } }
@media (max-width:540px) { .m305-today-grid .m305-kpi { min-height: 94px; gap: .5rem; padding: .65rem; } .m305-kpi-icon { flex-basis: 38px; width: 38px; height: 38px; } .m305-kpi-icon svg { width: 20px; height: 20px; } .m305-kpi-copy strong { font-size: 1.45rem !important; } .m305-kpi-copy>span { font-size: .75rem !important; } .m305-kpi-copy small { display: none; } .m305-facts { grid-template-columns: 1fr 1fr; } .m305-document { padding: .4rem; } .field-main { padding-inline: .7rem; } .field-inline-work, #field-task-action { padding: .8rem; } }
@media (prefers-reduced-motion: reduce) { .m305-kpi, .m305-action-card, .m305-dossier-table tbody tr { transition: none !important; } }
@media print { body:has(.m305-overlay:not([hidden])) { overflow: visible; } .m305-page { box-shadow: none; } }

/* UX 2E: shared proportions and type scale. The report paper keeps its own width. */
:root {
  --ux-title-size: clamp(1.75rem, 1.65vw, 2rem);
  --ux-section-size: clamp(1.25rem, 1.2vw, 1.5rem);
  --ux-card-size: 1.0625rem;
  --ux-body-size: .9375rem;
  --ux-meta-size: .875rem;
  --ux-control-height: 44px;
}
#m25-view, .field-main { font-size: var(--ux-body-size); line-height: 1.5; }
#m25-view h1 { font-size: var(--ux-title-size); line-height: 1.2; font-weight: 670; letter-spacing: -.025em; }
#m25-view h2 { font-size: var(--ux-section-size); line-height: 1.3; font-weight: 650; }
#m25-view h3, .field-work-head h2 { line-height: 1.35; }
#manager25 .m25-main { width: min(90%, 1600px); max-width: none; box-sizing: border-box; padding: 1.1rem 0 3rem; }
#manager25 .m25-top select, #manager25 .m25-top button { min-height: 40px; }
#m25-global-search { width: min(500px, 60%); height: 44px; }
#m25-global-query { font-size: var(--ux-meta-size); }

/* Dashboard: equal cards and a legible, full width dossier overview. */
.m305-home>h1 { margin-bottom: 1rem !important; }
.m305-today { margin-bottom: 1.6rem; }
.m305-today-grid { gap: clamp(.7rem, 1vw, 1.1rem); }
.m305-today-grid .m305-kpi { min-width: 0; min-height: 120px; gap: 1rem; padding: 1.05rem 1.15rem; }
.m305-kpi-icon { flex-basis: 52px; width: 52px; height: 52px; }
.m305-kpi-icon svg { width: 28px; height: 28px; }
.m305-kpi-copy strong { font-size: 2.1rem !important; line-height: 1; font-weight: 700; }
.m305-kpi-copy>span { font-size: .9375rem !important; font-weight: 600; line-height: 1.3; }
.m305-kpi-copy small { font-size: var(--ux-meta-size); line-height: 1.3; }
.m305-section-heading { margin-bottom: .75rem; }
.m305-section-heading h2 { font-size: var(--ux-section-size) !important; }
.m305-dossier-table { font-size: var(--ux-body-size); table-layout: fixed; }
.m305-dossier-table th:first-child { width: 43%; }
.m305-dossier-table th:nth-child(2) { width: 18%; }
.m305-dossier-table th:nth-child(3) { width: 12%; }
.m305-dossier-table th:nth-child(4) { width: 10%; }
.m305-dossier-table th:nth-child(5) { width: 12%; }
.m305-dossier-table th:last-child { width: 5%; }
.m305-dossier-table th, .m305-dossier-table td { padding: 1rem 1.05rem; }
.m305-dossier-table thead { font-size: var(--ux-meta-size); }
.m305-dossier-table tbody th small, .m305-dossier-table td small { font-size: var(--ux-meta-size); line-height: 1.4; }
.m305-dossier-table .m305-dossier-open { font-size: var(--ux-body-size); overflow-wrap: anywhere; }
.m305-progress { min-width: 0; }
.m305-progress .m305-meter { width: min(110px, 65%); height: 8px; }
.m305-status-badge { padding: .3rem .6rem; font-size: var(--ux-meta-size); }

/* Actions and dossier details follow the same readable rows and controls. */
.m305-global .m305-search { max-width: 500px; font-size: var(--ux-meta-size); }
.m305-global .m305-search input { min-height: var(--ux-control-height); padding: .45rem .7rem; font-size: var(--ux-body-size); }
.m305-scope-toggle button, .m305-status-strip button { min-height: 40px; padding: .4rem .7rem; font-size: var(--ux-meta-size); }
.m305-actions-table .m305-action-card { min-height: 76px; padding: .85rem 1.1rem; column-gap: 1rem; }
.m305-action-card strong { font-size: var(--ux-body-size); line-height: 1.35; font-weight: 650; }
.m305-action-card span { font-size: var(--ux-meta-size); line-height: 1.45; }
.m305-action-card small { font-size: var(--ux-meta-size); }
.m305-breadcrumb { font-size: var(--ux-meta-size); line-height: 1.45; }
.m305-workspace { grid-template-columns: minmax(235px, 280px) minmax(0, 1fr); gap: 1rem; }
.m305-findings { padding: .9rem; }
.m305-findings>button { font-size: var(--ux-meta-size); line-height: 1.45; padding: .7rem .6rem; }
.m305-finding-content { padding: 1.35rem 1.5rem; }
.m305-action-list>button { min-height: 60px; }

/* Report controls and framing; the preview sheet remains 840px wide. */
.m305-report-head { padding: 1.15rem 1.3rem; }
.m305-report-head h1 { font-size: clamp(1.35rem, 1.4vw, 1.65rem) !important; line-height: 1.25; }
.m305-report-toolbar { padding: .8rem 1rem; gap: .8rem; }
.m305-report-toolbar label, .m305-report-toolbar select, .m305-report-toolbar .m305-buttons button { font-size: var(--ux-meta-size); }
.m305-report-toolbar select, .m305-report-toolbar .m305-buttons button { min-height: 40px; }
.m305-document-nav { padding: .75rem; }
.m305-document-nav h2 { font-size: 1rem !important; }
.m305-document-nav a { padding: .48rem .55rem; font-size: var(--ux-meta-size); text-decoration: none; }
.m305-document-nav a:hover, .m305-document-nav a.active { text-decoration: underline; text-underline-offset: 3px; }
.m305-page { max-width: 840px; }

/* Contributor: a wider working canvas with source context beside the form. */
.field-main { width: min(calc(100% - 4rem), 1500px); max-width: none; box-sizing: border-box; margin-inline: auto; padding: 1rem 0 3rem; }
.field-body .toolbar select, .field-body .toolbar button { min-height: 40px; font-size: var(--ux-meta-size); }
.field-summary button { min-height: 68px; padding: .6rem .75rem; }
.field-summary button strong { font-size: 1.4rem; line-height: 1.1; }
.field-summary button span { font-size: var(--ux-meta-size); }
.field-inline-work, #field-task-action { padding: 1.2rem 1.4rem; }
.field-work-head h2 { font-size: 1.4rem !important; font-weight: 650; }
.field-block h3, #contribution-form .field-block>label { font-size: var(--ux-meta-size) !important; letter-spacing: .01em; }
.field-block p { font-size: var(--ux-body-size); line-height: 1.55; }
.field-block small, .field-body .field-next-step { font-size: var(--ux-meta-size); line-height: 1.45; }
.field-block--source { padding: 1rem 1.1rem; }
#contribution-form textarea[name=detailed] { min-height: 185px; padding: .7rem .8rem; font-size: var(--ux-body-size); line-height: 1.5; }
#contribution-form .field-actions button { min-height: var(--ux-control-height); padding: .65rem .9rem; font-size: var(--ux-body-size); }
#contribution-form .field-submit-row button { min-height: var(--ux-control-height); padding: .65rem 1rem; }
#contribution-form .submit-field { min-height: 48px; font-weight: 650; }
@media (min-width: 900px) {
  :is(.field-inline-work, #field-task-action):has(#contribution-form) { grid-template-columns: minmax(0, .46fr) minmax(0, .54fr); column-gap: 1.5rem; }
  :is(.field-inline-work, #field-task-action):has(#contribution-form) > #contribution-form { padding-left: 1.5rem; }
}
@media (max-width: 1100px) {
  .m305-today-grid .m305-kpi { min-height: 105px; gap: .65rem; padding: .8rem; }
  .m305-kpi-icon { flex-basis: 43px; width: 43px; height: 43px; }
  .m305-kpi-copy strong { font-size: 1.8rem !important; }
  .m305-kpi-copy>span { font-size: var(--ux-meta-size) !important; }
}
@media (max-width: 760px) {
  #manager25 .m25-main { width: 100%; padding: .75rem .85rem 2rem; }
  .m305-dossier-table { table-layout: auto; }
  .m305-workspace { display: block; }
  .field-main { width: 100%; padding: .7rem .85rem 2rem; }
  .field-inline-work, #field-task-action { padding: 1rem; }
}
@media (max-width: 540px) {
  .m305-today-grid .m305-kpi { min-height: 100px; gap: .5rem; padding: .65rem; }
  .m305-kpi-icon { flex-basis: 38px; width: 38px; height: 38px; }
  .m305-kpi-copy strong { font-size: 1.55rem !important; }
  .m305-kpi-copy>span { font-size: .78rem !important; }
  .m305-dossier-table th, .m305-dossier-table td { width: 100% !important; padding: 0; }
  .m305-actions-table .m305-action-card { min-height: 76px; padding: .8rem .9rem; }
  .field-summary button { min-height: 66px; }
  .field-work-head h2 { font-size: 1.3rem !important; }
  #contribution-form .field-actions button { min-width: 0; }
}

/* UX 3A: activity is distinct from outstanding work. */
#manager25 .m25-nav button .m3a-nav-label { flex: 1; min-width: 0; }
#manager25 .m25-nav button .m3a-pending,
#manager25 .m25-nav button .m3a-unread { flex: none; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 11px; font-size: .75rem; line-height: 1; font-weight: 750; }
#manager25 .m25-nav button .m3a-pending { background: #b7e9e2; color: #084c47; }
#manager25 .m25-nav button .m3a-unread { background: #e74c58; color: #fff; }
.m3a-feed { margin: 1rem 0 1.25rem; background: #fff; border: 1px solid var(--ux-line); border-radius: 10px; box-shadow: var(--ux-soft-shadow); overflow: hidden; }
.m3a-feed-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .75rem 1rem; border-bottom: 1px solid var(--ux-line); }
.m3a-feed-head h2 { margin: 0 !important; font-size: 1.08rem !important; }
.m3a-feed-head small { font-size: .84rem; }
.m3a-event { display: grid; grid-template-columns: 10px minmax(0,1fr) auto; align-items: center; gap: .8rem; width: 100%; min-height: 56px; padding: .6rem 1rem; border: 0; border-bottom: 1px solid #edf2f3; border-radius: 0; background: #fff; color: var(--ux-ink); text-align: left; }
.m3a-event:last-child { border-bottom: 0; }
.m3a-event:hover, .m3a-event:focus-visible { background: #f2faf8; }
.m3a-event strong { display: block; font-size: .92rem; }
.m3a-event small { display: block; margin-top: .1rem; font-size: .84rem; }
.m3a-event time { color: var(--ux-quiet); font-size: .82rem; white-space: nowrap; }
.m3a-event-dot { width: 8px; height: 8px; border-radius: 50%; background: #e64e59; }
.m3a-event.is-read .m3a-event-dot { background: #c8d6d9; }
.m3a-empty { margin: 0; padding: 1rem; color: var(--ux-quiet); }
.m3a-role-overview { margin: .1rem 0 1.25rem; }
.m3a-role-overview h2 { margin: 0 0 .65rem !important; font-size: 1.1rem !important; }
.m3a-role-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .85rem; }
.m3a-role-grid > * { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .3rem; min-height: 112px; padding: 1rem; border: 1px solid #dbe9e8; border-radius: 9px; background: #edf7f5; color: var(--ux-ink); text-align: left; box-shadow: var(--ux-soft-shadow); }
.m3a-role-grid > :nth-child(2) { background: #fff0f0; }
.m3a-role-grid > :nth-child(3) { background: #ebf3ff; }
.m3a-role-grid > :nth-child(4) { background: #f4f8f9; }
.m3a-role-grid strong { font-size: 2rem; line-height: 1; }
.m3a-role-grid span { font-size: .93rem; font-weight: 620; }
.m3a-stages { display: block; max-width: 260px; margin-top: .28rem !important; font-size: .8rem !important; line-height: 1.35; }
.field-body .field-source-language { display: block; margin-top: .35rem; color: #305665; font-weight: 600; }
.field-body #selected-files { margin-top: .6rem; }
.field-selected-file { display: flex; align-items: center; gap: .6rem; padding: .55rem .65rem; margin: .35rem 0; border: 1px solid #cfe2df; border-radius: 7px; background: #fff; }
.field-selected-file span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.field-selected-file strong, .field-selected-file small { display: block; font-size: .84rem; }
.field-selected-file button { min-height: 38px; padding: .3rem .55rem; font-size: .84rem; }
.field-body #contribution-form .field-actions button { background: #e2f4ef; border-color: #74bdb0; color: #07574d; font-weight: 670; }
.field-body #contribution-form .field-actions button:hover { background: #ceebe3; }
.field-body #field-notifications { margin-top: 1rem; }
.field-body #field-notifications h2 { font-size: 1.15rem; margin-bottom: .6rem; }
.field-activity-event { display: grid; gap: .12rem; width: 100%; min-height: 62px; padding: .65rem .8rem; margin: .35rem 0; border: 1px solid #d5e6e3; border-radius: 7px; background: #f7fbfa; color: var(--ux-ink); text-align: left; }
.field-activity-event strong { font-size: .93rem; }
.field-activity-event span, .field-activity-event small { font-size: .84rem; }
.field-body #field-list.field-has-selection { padding-top: .65rem; }
.field-body #field-list.field-has-selection > h2,
.field-body #field-list.field-has-selection > .field-summary,
.field-body #field-list.field-has-selection > .field-history-filters,
.field-body #field-list.field-has-selection > .card:not([aria-expanded="true"]) { display: none; }
.field-body #field-back { display: inline-flex; align-items: center; min-height: 40px; margin: 0 0 .6rem; padding: .35rem .6rem; border: 0; background: transparent; color: #086e67; font-size: .94rem; font-weight: 650; }
@media (max-width: 1100px) and (min-width: 761px) {
  #manager25 .m25-nav button .m3a-nav-label { display: none; }
  #manager25 .m25-nav button .m3a-pending, #manager25 .m25-nav button .m3a-unread { position: absolute; transform: translate(17px,-13px); min-width: 18px; height: 18px; font-size: .65rem; }
  #manager25 .m25-nav button { position: relative; }
}
@media (max-width: 760px) {
  .m3a-role-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #manager25 .m25-sidebar.open .m25-nav button .m3a-nav-label { display: inline; }
}
@media (max-width: 540px) {
  .m3a-event { grid-template-columns: 8px minmax(0,1fr); }
  .m3a-event time { grid-column: 2; }
  .field-selected-file { flex-wrap: wrap; }
}

/* UX 2F: dossier switching remains the native, immediate select control. */
#manager25 .m25-top { justify-content: center; gap: .9rem; margin: .2rem 0 1.15rem; }
#manager25 .m25-top label { gap: .65rem; font-size: .875rem; }
#manager25 #m25-dossier-label { flex: 0 1 495px; min-width: 0; }
#manager25 #m25-dossier { width: min(420px, 100%); max-width: none; min-height: 46px; font-size: 1rem; padding: .55rem .8rem; text-overflow: ellipsis; }
#manager25 #m25-locale, #manager25 #m25-refresh { min-height: 46px; font-size: .9375rem; padding: .5rem .8rem; }
#manager25 .m25-top button { min-width: 105px; }

/* Keep the new dossier workflow in the first dashboard viewport. */
.m305-home-intro { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.m305-home-intro > div { min-width: 0; }
.m305-home-intro h1 { margin: .1rem 0 0 !important; }
.m305-home-intro .m305-create { margin: 0; flex: none; }
.m305-home-intro .m305-create summary { min-height: 44px; display: inline-flex; align-items: center; padding: .55rem .95rem; border-radius: 7px; background: #007e72; color: #fff; box-shadow: 0 2px 5px #00786d25; }
.m305-home-intro .m305-create[open] { position: relative; }
.m305-home-intro .m305-create-form { position: absolute; z-index: 6; top: 100%; right: 0; width: min(480px, calc(100vw - 2rem)); max-height: min(76vh, 680px); overflow: auto; padding: 1rem; background: #fff; border: 1px solid var(--ux-line); border-radius: 9px; box-shadow: var(--ux-shadow); }
.m305-dossier-table tbody th { position: relative; padding-left: 3.35rem; }
.m305-dossier-table tbody th::before { content: ""; position: absolute; left: 1rem; top: 50%; width: 1.45rem; height: 1.45rem; transform: translateY(-50%); border-radius: 5px; background: #e3f2f0; }
.m305-dossier-table tbody th::after { content: "▰"; position: absolute; left: 1.29rem; top: 50%; transform: translateY(-55%); color: #087e73; font-size: 1rem; }

/* Contributor response has a clear working surface and larger touch controls. */
.field-body .field-main { line-height: 1.6; }
.field-body .field-block { padding: .9rem 0; }
.field-body .field-block p { margin: .4rem 0 .65rem; }
.field-body .field-work-head .statusline { border-radius: 6px; font-size: var(--ux-meta-size); }
.field-body #contribution-form { background: #f6fbfa; border: 1px solid #cfe4df; border-radius: 9px; padding: 1rem 1.15rem; }
.field-body #contribution-form textarea[name=detailed] { background: #fff; border-width: 1px; min-height: 190px; }
.field-body #contribution-form .field-actions button, .field-body #contribution-form .field-submit-row button { min-height: 48px; }
.field-body #contribution-form .field-submit-row { padding-top: .7rem; border-top: 1px solid var(--ux-line); }
.field-body .field-summary button, .field-body .statusline, .m305-status-badge { border-radius: 6px; }
@media (min-width: 900px) {
  :is(.field-inline-work, #field-task-action):has(#contribution-form) > #contribution-form { padding: 1rem 1.15rem; border-left: 1px solid #cfe4df; }
}
@media (max-width: 760px) {
  #manager25 .m25-top { justify-content: flex-start; gap: .65rem; }
  #manager25 #m25-dossier-label { flex: 1 1 100%; display: grid; gap: .3rem; }
  #manager25 #m25-dossier { width: 100%; }
  .m305-home-intro { align-items: flex-start; }
  .m305-home-intro .m305-create-form { right: 0; }
}
@media (max-width: 540px) {
  .m305-home-intro { display: block; }
  .m305-home-intro .m305-create { margin-top: .7rem; }
  .m305-home-intro .m305-create-form { left: 0; right: auto; }
  .m305-dossier-table tbody th { padding-left: 2.35rem !important; }
  .m305-dossier-table tbody th::before { left: 0; }
  .m305-dossier-table tbody th::after { left: .29rem; }
  .field-body #contribution-form { padding: .8rem; }
}

/* UX 2G: larger navigation and controls, with the approved mockup as the target. */
#manager25:not(.hidden) { grid-template-columns: 225px minmax(0, 1fr); }
.m25-sidebar { padding: 1.3rem .8rem; }
.m25-brand { padding: .2rem .55rem 1.9rem; gap: .75rem; font-size: 1.08rem; line-height: 1.16; }
#manager25 .m25-nav { gap: .3rem; }
#manager25 .m25-nav button { min-height: 47px; gap: .78rem; padding: .65rem .8rem; font-size: .96875rem; line-height: 1.25; }
.m25-nav-icon { flex: 0 0 23px; width: 23px; }
.m25-nav-icon svg { width: 20px; height: 20px; }
.m25-sidebar-account { gap: .7rem; padding: .95rem .55rem .4rem; }
.m25-sidebar-avatar { flex-basis: 36px; height: 36px; font-size: .78rem; }
.m25-sidebar-account strong { font-size: .9rem; }
.m25-sidebar-account small { font-size: .8rem; }

#manager25 .m25-main { width: min(92%, 1600px); padding-top: .95rem; }
.m25-utility { min-height: 48px; margin-bottom: .4rem; }
#m25-global-search { width: min(520px, 58%); height: 46px; }
#m25-global-query { font-size: .9rem; }
#manager25 .m25-top { min-height: 48px; gap: 1rem; margin: 0 0 1rem; }
#manager25 .m25-top label { gap: .55rem; font-size: .875rem; font-weight: 600; }
#manager25 #m25-dossier-label { flex: 0 1 555px; }
#manager25 #m25-dossier { width: min(470px, 100%); min-height: 48px; font-size: 1rem; }
#manager25 #m25-locale, #manager25 #m25-refresh { min-height: 48px; font-size: .9375rem; }

.m305-home-intro { margin-bottom: .95rem; }
.m305-home-intro .m305-create summary { min-height: 48px; gap: .42rem; padding: .65rem 1.2rem; font-size: 1rem; font-weight: 650; box-shadow: 0 4px 10px #006f6540; }
.m305-create-plus { font-size: 1.4rem; font-weight: 550; line-height: .8; }
.m305-home-intro .m305-create summary:hover { background: #006e64; box-shadow: 0 5px 14px #006f6550; }
.m305-home-intro .m305-create summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.m305-today-grid .m305-kpi { min-height: 122px; padding: 1.1rem 1.15rem; }
.m305-kpi-icon { flex-basis: 54px; width: 54px; height: 54px; }
.m305-kpi-icon svg { width: 29px; height: 29px; }
.m305-kpi-copy strong { font-size: 2.125rem !important; }
.m305-kpi-copy>span { font-size: .9375rem !important; }
.m305-kpi-copy small { font-size: .8125rem; }
.m305-section-heading h2 { font-size: 1.375rem !important; }
.m305-dossier-table th { font-size: .875rem; }
.m305-dossier-table td, .m305-dossier-table tbody th { font-size: .9375rem; }
.m305-dossier-table th, .m305-dossier-table td { padding-top: 1rem; padding-bottom: 1rem; }
.m305-progress .m305-meter, .m305-dossier-summary .m305-meter { height: 9px; }
.m305-status-badge { font-size: .8125rem; padding: .35rem .65rem; }

.m305-scope-toggle button, .m305-status-strip button { min-height: 42px; font-size: .875rem; }
.m305-action-card strong { font-size: 1rem; }
.m305-action-card span, .m305-action-card small { font-size: .875rem; }
.m305-filter-context { font-size: .875rem; }
.m305-advanced-filters summary { font-size: .875rem; }
.m305-report-toolbar label, .m305-report-toolbar select, .m305-report-toolbar .m305-buttons button { font-size: .9375rem; }
.m305-report-toolbar select, .m305-report-toolbar .m305-buttons button { min-height: 44px; }
.m305-document-nav a { font-size: .875rem; line-height: 1.45; }
.m305-report-human { font-size: .875rem; }

.field-body .toolbar label { font-size: .875rem; }
.field-body .toolbar select, .field-body .toolbar button { min-height: 44px; font-size: .9375rem; }
.field-body #field-list>.card { min-height: 62px; }
.field-body #field-list>.card strong { font-size: 1rem; }
.field-body #field-list>.card small { font-size: .875rem; }
.field-body .field-work-head h2 { font-size: 1.5rem !important; }
.field-body .field-block h3, .field-body #contribution-form .field-block>label { font-size: .875rem !important; }
.field-body .field-block p { font-size: 1rem; line-height: 1.52; }
.field-body .field-block small { font-size: .875rem; }
.field-body .field-block { padding: .75rem 0; }
.field-body .field-block--source { padding: .9rem 1rem; }
.field-body #contribution-form { background: #f3faf8; border-color: #bcded6; }
.field-body #contribution-form textarea[name=detailed] { min-height: 174px; font-size: 1rem; }
.field-body #contribution-form .field-actions button, .field-body #contribution-form .field-submit-row button { min-height: 46px; font-size: .9375rem; padding: .6rem .95rem; }
.field-body #contribution-form .submit-field { background: #007e72; color: #fff; border-color: #007e72; }
.field-body #contribution-form .submit-field:hover { background: #006e64; }
@media (min-width: 900px) {
  :is(.field-inline-work, #field-task-action):has(#contribution-form) { grid-template-columns: minmax(0, .45fr) minmax(0, .55fr); }
}
@media (max-width: 1100px) and (min-width: 761px) {
  #manager25:not(.hidden) { grid-template-columns: 70px minmax(0, 1fr); }
  .m25-brand { padding: .2rem .15rem 1.3rem; }
  .m25-nav button span:last-child, .m25-sidebar-account>span:last-child { display: none; }
  #manager25 .m25-nav button { justify-content: center; padding: .6rem; }
  .m25-sidebar-account { justify-content: center; padding-inline: 0; }
  #manager25 #m25-dossier-label { flex-basis: 470px; }
}
@media (max-width: 760px) {
  #manager25:not(.hidden) { display: block; }
  .m25-sidebar.open { width: min(290px, 85vw); }
  .m25-sidebar.open .m25-nav button span:last-child { display: inline; }
  .m25-menu-toggle { min-height: 48px; font-size: 1rem; }
  #manager25 .m25-main { width: 100%; padding: .8rem .9rem 2rem; }
  #m25-global-search { width: min(100%, 500px); }
  #manager25 .m25-top { gap: .65rem; }
  #manager25 #m25-dossier-label { flex: 1 1 100%; }
  #manager25 #m25-dossier { width: 100%; }
  .m305-today-grid .m305-kpi { min-height: 103px; }
  .field-main { width: 100%; padding: .75rem .85rem 2rem; }
}
@media (max-width: 540px) {
  .m305-home-intro .m305-create summary { min-height: 48px; }
  .m305-kpi-icon { flex-basis: 40px; width: 40px; height: 40px; }
  .m305-kpi-icon svg { width: 23px; height: 23px; }
  .m305-kpi-copy strong { font-size: 1.75rem !important; }
  .m305-kpi-copy>span { font-size: .875rem !important; }
  .m305-dossier-table th, .m305-dossier-table td { padding-top: 0; padding-bottom: 0; }
  .field-body #contribution-form .field-actions, .field-body #contribution-form .field-submit-row { grid-template-columns: 1fr 1fr; }
  .field-body #contribution-form .field-actions button, .field-body #contribution-form .field-submit-row button { min-width: 0; overflow-wrap: anywhere; }
}

/* UX 3A screenshot review: compact the utility bar and keep activity reachable. */
@media (min-width: 761px) {
  #manager25 .m25-main { width: min(94%, 1600px); padding-top: .65rem; }
  #manager25 .m25-utility { min-height: 50px; margin-bottom: .8rem; }
  #manager25 #m25-global-search { flex: 0 1 320px; width: auto; min-width: 170px; height: 42px; }
  #manager25 .m25-top { flex: 1 1 auto; justify-content: flex-end; min-width: 0; min-height: 42px; gap: .5rem; margin: 0; padding: 0; }
  #manager25 #m25-dossier-label { flex: 0 1 330px; min-width: 0; }
  #manager25 #m25-dossier { width: min(280px, 100%); min-height: 42px; }
  #manager25 #m25-locale, #manager25 #m25-refresh { min-height: 42px; }
  #manager25 .m25-top button { min-width: 0; }
  #manager25 .m25-user { flex: none; }
}
@media (min-width: 1101px) { #manager25:not(.hidden) { grid-template-columns: 206px minmax(0, 1fr); } }
@media (min-width: 761px) and (max-width: 1100px) { #manager25 .m25-utility { flex-wrap: wrap; } #manager25 .m25-top { order: 3; flex-basis: 100%; } }

/* Approved Logo1: full artwork in the rail, icon derivative in the collapsed rail. */
#manager25 .m25-brand { align-items: center; }
#manager25 .m25-brand-full { display: block; width: 150px; max-width: 100%; height: auto; border-radius: 6px; background: #fdfdfe; }
#manager25 .m25-brand-compact { display: none; width: 40px; height: 40px; border-radius: 6px; background: #fdfdfe; }
@media (max-width: 1100px) and (min-width: 761px) {
  #manager25 .m25-brand-full { display: none; }
  #manager25 .m25-brand-compact { display: block; }
}
body:has(#login:not(.hidden))>header { display: none; }
#m25-activity-shortcut { position: relative; display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 8px; border: 0; background: transparent; color: var(--ux-ink); box-shadow: none; }
#m25-activity-shortcut:hover { background: #e6f2f2; }
#m25-activity-shortcut svg { width: 22px; height: 22px; }
#manager25 #m25-dossier-label[hidden] { display: none !important; }
#m25-activity-count:not([hidden]) { position: absolute; top: 1px; right: 0; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 3px; border-radius: 9px; background: #dc3546; color: white; font-size: .65rem; font-weight: 700; }
.m3a-feed:has(.m3a-empty) { margin: .55rem 0 .8rem; }
.m3a-feed:has(.m3a-empty) .m3a-feed-head { padding: .45rem .8rem; border-bottom: 0; }
.m3a-feed:has(.m3a-empty) .m3a-empty { display: none; }
.m3a-role-grid > * { min-height: 100px; padding: .8rem 1rem; }
.m305-dossier-table th, .m305-dossier-table td { padding-top: .7rem; padding-bottom: .7rem; }
.field-main { width: min(calc(100% - 3rem), 1120px); }
.field-body #field-list>.card, .field-work-head, .field-context { min-width: 0; }
.field-body #field-list>.card strong, .field-body #field-list>.card small, .field-body .field-work-head, .field-body .field-work-head p { overflow-wrap: anywhere; white-space: normal; }
@media (max-width: 760px) {
  #manager25 .m25-utility { display: flex; flex-wrap: wrap; gap: .35rem; }
  #manager25 #m25-global-search { flex: 1 1 180px; min-width: 0; }
  #manager25 .m25-top { order: 3; flex: 1 1 100%; justify-content: flex-start; margin: .2rem 0 .55rem; }
  #manager25 .m25-user { flex: none; }
  .field-main { width: 100%; min-width: 0; }
  .field-body #field-list>.card { max-width: 100%; }
  .field-body #field-list>.card small { white-space: normal; }
  .field-body .field-work-head .statusline { white-space: normal; }
}
#manager25 .m35-review-card{padding:.8rem 1rem;gap:.32rem}
#manager25 .m35-review-card-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}
#manager25 .m35-review-card-head strong{font-size:1.03rem;line-height:1.3}
#manager25 .m35-review-open{color:#075e63;font-weight:750;white-space:nowrap}
#manager25 .m35-review-meta{display:flex;flex-wrap:wrap;gap:.15rem 1rem;color:#506b70}
#manager25 .m35-review-meta small{font-size:.78rem}
#manager25 .m35-review-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.3rem}
#manager25 .m35-review-columns>div{min-width:0;padding:1rem;border:1px solid #dce9e8;border-radius:10px}
#manager25 .m35-review-original{background:#f6f9f8}
#manager25 .m35-review-response{background:#fff}
#manager25 .m35-review-columns h2{margin:.1rem 0 .8rem;font-size:1.03rem;color:#103e49}
#manager25 .m35-review-columns h3{margin:.85rem 0 .25rem;font-size:.78rem;letter-spacing:.025em;text-transform:uppercase;color:#527077}
#manager25 .m35-review-columns p{white-space:pre-wrap;overflow-wrap:anywhere}
#manager25 .m35-accept-note{margin:.2rem 0;padding:.65rem .8rem;background:#eef5f2;border-left:3px solid #18806d;font-size:.82rem;line-height:1.45}
#manager25 .m35-reason-box[hidden]{display:none}
#manager25 .m35-reason-box{display:grid;gap:.5rem;padding:.8rem;background:#fff7eb;border:1px solid #eddbb8;border-radius:8px}
#manager25 .m35-history{list-style:none;margin:.8rem 0;padding:0 0 0 1rem;border-left:2px solid #b6d6d0}
#manager25 .m35-history li{position:relative;margin:0 0 1rem;padding:.1rem 0 .2rem 1rem}
#manager25 .m35-history li::before{content:'';position:absolute;left:-1.42rem;top:.4rem;width:.65rem;height:.65rem;border-radius:50%;background:#168775;box-shadow:0 0 0 3px #e4f3ef}
#manager25 .m35-history-head{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;color:#123e47}
#manager25 .m35-history small,#manager25 .m35-history time{color:#557078;font-size:.8rem}
#manager25 .m35-history p{white-space:pre-wrap;overflow-wrap:anywhere;margin:.4rem 0}
#manager25 .m35-history .m305-files{display:grid;justify-items:start;gap:.15rem}
#manager25 .m25-nav button .m3a-pending,#manager25 .m25-nav button .m3a-unread{position:static;transform:none}
#manager25 .m25-nav button .m3a-overdue{flex:none;display:grid;place-items:center;min-width:22px;height:22px;padding:0 4px;border-radius:11px;background:#b82b36;color:#fff;font-size:.75rem;font-weight:750;line-height:1}
#manager25 .m25-nav button{gap:.35rem}
@media(max-width:760px){#manager25 .m35-review-columns{grid-template-columns:1fr}#manager25 .m35-review-meta{display:grid;gap:.1rem}#manager25 .m35-review-card-head{align-items:flex-start}}
.field-timeline{list-style:none;margin:.8rem 0;padding:0 0 0 1rem;border-left:2px solid #b6d6d0}
.field-timeline li{margin:0 0 1rem;padding:.2rem 0 .2rem 1rem;overflow-wrap:anywhere}
.field-timeline p{white-space:pre-wrap;margin:.3rem 0}
.field-timeline small,.field-timeline time{color:#557078}
@media (min-width:761px) and (max-width:1100px){
  #manager25 .m25-nav button{position:relative;min-height:62px}
  #manager25 .m25-nav button .m3a-pending,#manager25 .m25-nav button .m3a-overdue,#manager25 .m25-nav button .m3a-unread{position:absolute;right:2px;transform:none;display:grid;min-width:17px;height:17px;padding:0 2px;font-size:.62rem}
  #manager25 .m25-nav button .m3a-pending{top:3px}
  #manager25 .m25-nav button .m3a-overdue{top:23px}
  #manager25 .m25-nav button .m3a-unread{top:43px}
}
