/* The staff app finished (GitHub issue 203, Phase 1f, build F1; docs/adr/0085). The third interface review
   (2026-10-21) found these on the staff screens; this sheet loads after staff-polish.css. Sizes are tokens. */

/* ---------- The change calendar: seven columns, an agenda on a phone ---------- */
/* Admin settings' business calendars use .calendar-grid for a list of fields (auto-fit columns of 200 px), which
   left this month grid 5 tracks wide under 7 weekday headings: days sat under the wrong weekday. */
#calendarGrid.change-month-grid { grid-template-columns:repeat(7, minmax(0, 1fr)); align-items:stretch; gap:var(--space-75); }
.change-month-grid .calendar-day-weekday, .change-month-grid .calendar-agenda-detail { display:none; }
.change-month-grid .calendar-agenda-empty { display:none; }
.change-month-grid .calendar-event-pill { white-space:normal; font-size:var(--text-xs); line-height:var(--leading-tight); }
.change-month-grid .calendar-pill-text { display:block; overflow:hidden; overflow-wrap:break-word; }
.calendar-nav .square-action { width:var(--control-height-sm); height:var(--control-height-sm); color:var(--ink); font-size:var(--text-xl); line-height:1; }
@media (max-width:700px) {
  #changeCalendarPanel .calendar-weekday-row { display:none; }
  #calendarGrid.change-month-grid { grid-template-columns:minmax(0, 1fr); gap:var(--space-100); margin-top:var(--space-150); }
  .change-month-grid .calendar-day { display:none; min-height:0; }
  .change-month-grid .calendar-day.has-events:not(.other-month), .change-month-grid .calendar-day.today:not(.other-month) { display:flex; }
  .change-month-grid .calendar-day-weekday, .change-month-grid .calendar-agenda-detail { display:inline; }
  .change-month-grid .calendar-day-number { font-size:var(--text-sm); }
  .change-month-grid .calendar-event-pill { font-size:var(--text-sm); padding:var(--space-75) var(--space-100); }
  .change-month-grid .calendar-pill-text {; overflow-wrap:break-word; }
  .change-month-grid .calendar-agenda-empty { display:block; margin:0; color:var(--muted); font-size:var(--text-sm); }
}

/* ---------- The app's date picker (staff-finish.js fsDatePicker) ---------- */
.fs-date { position:relative; display:block; min-width:0; }
.fs-date-trigger { display:flex; align-items:center; gap:var(--space-100); width:100%; min-height:var(--control-height); padding:var(--space-100) var(--space-150); border:var(--control-border-width) solid var(--control-border); border-radius:var(--radius-lg); background:var(--field-bg, var(--surface)); color:var(--ink); font:var(--weight-regular) var(--text-md)/var(--leading-tight) var(--font-ui); text-align:left; cursor:pointer; }
.fs-date-trigger:hover:not(:disabled) { border-color:var(--control-hover); }
.fs-date-trigger:focus-visible { border-color:var(--spruce); outline:0; box-shadow:0 0 0 var(--focus-ring-width) var(--control-focus); }
.fs-date-trigger:disabled { background:var(--field-muted-bg); color:var(--muted); cursor:not-allowed; }
.fs-date-icon { flex:0 0 auto; width:1.1em; height:1.1em; color:var(--muted); }
.fs-date-value, .fs-date-empty { flex:1 1 auto; min-width:0; overflow:hidden; overflow-wrap:break-word; white-space:normal; }
.fs-date-empty { color:var(--field-placeholder); }
.fs-date-pop { position:absolute; top:calc(100% + var(--space-50)); left:0; z-index:var(--z-popover); width:17.5rem; max-width:calc(100vw - 2 * var(--viewport-gap)); padding:var(--space-150); border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--surface); box-shadow:var(--shadow-pop); }
.fs-date-pop[hidden] { display:none; }
.fs-date-head { display:flex; align-items:center; justify-content:space-between; gap:var(--space-100); margin-bottom:var(--space-100); color:var(--ink); font-size:var(--text-md); }
.fs-date-nav { display:grid; place-items:center; width:var(--control-height-sm); height:var(--control-height-sm); padding:0; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--surface); color:var(--ink); font-size:var(--text-lg); line-height:1; cursor:pointer; }
.fs-date-nav:hover { background:var(--hover-bg); }
.fs-date-weekdays, .fs-date-grid { display:grid; grid-template-columns:repeat(7, minmax(0, 1fr)); gap:var(--space-25); }
.fs-date-weekdays span { padding:var(--space-50) 0; color:var(--muted); font-size:var(--text-xs); font-weight:var(--weight-semibold); text-align:center; }
.fs-date-day { min-height:var(--control-height-sm); padding:0; border:1px solid transparent; border-radius:var(--radius-md); background:none; color:var(--ink); font:var(--weight-regular) var(--text-sm) var(--font-ui); cursor:pointer; }
.fs-date-day:hover:not(:disabled) { background:var(--hover-bg); }
.fs-date-day:focus-visible { outline:0; box-shadow:0 0 0 var(--focus-ring-width) var(--control-focus); }
.fs-date-day.is-other { color:var(--muted); }
.fs-date-day.is-today { border-color:var(--spruce); font-weight:var(--weight-semibold); }
.fs-date-day[aria-pressed="true"] { background:var(--spruce); border-color:var(--spruce); color:#fff; font-weight:var(--weight-semibold); }
.fs-date-day:disabled { color:var(--muted); opacity:.45; cursor:not-allowed; }
.fs-date-time { display:flex; align-items:center; gap:var(--space-100); margin:var(--space-150) 0 0; color:var(--ink-2); font-size:var(--text-sm); font-weight:var(--weight-semibold); }
.fs-date-time select { flex:1 1 auto; min-width:0; }
.fs-date-foot { display:flex; align-items:center; gap:var(--space-200); margin-top:var(--space-150); padding-top:var(--space-100); border-top:1px solid var(--line); }
.fs-date-done { margin-left:auto; min-height:var(--control-height-sm); padding:var(--space-50) var(--space-200); }
[data-theme="dark"] .fs-date-day[aria-pressed="true"] { color:var(--paper); }

/* ---------- No box that scrolls inside the page ---------- */
/* The ticket page's right rail scrolls with the page; it stays in view while the conversation scrolls only when all
   of it fits (staff-finish.js fsCheckRail). */
@media (min-width:901px) {
  .tw.tp .detail-sidebar { position:static; max-height:none; overflow:visible; padding-right:0; }
  .tw.tp .detail-sidebar.tp-rail-fits { position:sticky; }
}
.people-list { max-height:none; min-height:0; overflow:visible; }
.cmdb-types { max-height:none; overflow:visible; position:static; }
#rpEditor .rp-builder { max-height:none; overflow:visible; position:static; }
.problem-incidents ul, .problem-update-list, .sch-filter-list { max-height:none; overflow:visible; }
.fs-folded > :nth-child(n+7) { display:none; }
.fs-show-all { margin:var(--space-50) 0 var(--space-100); font-size:var(--text-sm); }

/* ---------- An open report: chart and table in the main column ---------- */
#rpEditor .rp-body { grid-template-columns:18.75rem minmax(0, 1fr); }
#rpEditor.rp-locked:not(.rp-settings-open) .rp-body { grid-template-columns:minmax(0, 1fr); }
/* A report on a module this workspace doesn't have (reports.js rpRenderNotHere): no settings column. */
#rpEditor .rp-body.rp-not-here { grid-template-columns:minmax(0, 1fr); }
#rpEditor.rp-locked:not(.rp-settings-open) .rp-builder { display:none; }
@media (max-width:1100px) { #rpEditor .rp-body { grid-template-columns:minmax(0, 1fr); } }
#rpEditor .rp-actions { display:flex; flex-wrap:wrap; align-items:center; gap:var(--space-100); }

/* A menu's chevron (the ▾ triangles were the only ones in the app). */
.menu-chevron { width:1em; height:1em; margin-left:var(--space-25); vertical-align:-.15em; }

/* ---------- A ticket's Tasks tab: the add row on one line, every box one height ---------- */
.ticket-detail.tp .tp-task-add .task-composer-row { display:grid; grid-template-columns:minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, 1.2fr) auto; align-items:end; gap:var(--space-100) var(--space-150); }
.tp .tp-task-add .task-composer-row > label, .tp .tp-task-add .tp-task-field { display:grid; gap:var(--space-50); min-width:0; margin:0; color:var(--ink-2); font-size:var(--text-xs); font-weight:var(--weight-semibold); line-height:var(--leading-tight); }
.tp .tp-task-add :is(.tp-task-input, .custom-select-trigger, .fs-date-trigger) { box-sizing:border-box; height:var(--control-height); min-height:var(--control-height); margin:0; font-size:var(--text-md); font-weight:var(--weight-regular); }
.tp .tp-task-add .tp-task-input { padding:var(--space-100) var(--space-150); border:var(--control-border-width) solid var(--control-border); border-radius:var(--radius-lg); background:var(--field-bg); color:var(--ink); box-shadow:none; }
.tp .tp-task-add #addTaskButton { min-height:var(--control-height); margin:0; }
.tp .tp-task-add .fs-date-pop { left:auto; right:0; }
.tp-tasks-help { margin:var(--space-50) 0 0; color:var(--muted); font-size:var(--text-sm); }
@media (max-width:700px) {
  .ticket-detail.tp .tp-task-add .task-composer-row { grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); }
  .tp .tp-task-add .tp-task-field, .tp .tp-task-add #addTaskButton { grid-column:1 / -1; }
  .tp .tp-task-add .fs-date-pop { left:auto; right:0; }
}

/* ---------- One ticket row: the Overview's Your work and My workspace's My tickets look like the ticket list ---------- */
.work-ticket-table .ticket-number { color:var(--ink-2); font-size:var(--text-md); font-weight:var(--weight-semibold); font-variant-numeric:tabular-nums; }
.work-ticket-table .work-title-link { color:#2f6b5c; font-size:var(--text-md); font-weight:var(--weight-bold); }
[data-theme="dark"] .work-ticket-table .work-title-link { color:var(--spruce); }
.work-ticket-table .work-row:hover .work-title-link { text-decoration:underline; text-underline-offset:var(--space-25); }
.work-ticket-table .ticket-requester { display:block; margin-top:var(--space-25); color:var(--muted); font-size:var(--text-xs); font-weight:var(--weight-regular); }
.work-ticket-table .work-col-breach, .work-ticket-table .work-col-state, .work-ticket-table .work-col-priority { white-space:nowrap; }
.work-ticket-table .work-col-action { width:1%; text-align:right; }
#overviewView .ov-work-table:not(.has-action) .work-col-action { display:none; }
#overviewView .ov-work-list { margin:0; }
#overviewView .ov-work-table { width:100%; }
#overviewView .ov-work-table th { padding:var(--space-100) var(--space-150); color:var(--muted); font-size:var(--text-xs); font-weight:var(--weight-semibold); text-align:left; text-transform:uppercase; letter-spacing:.04em; border-bottom:1px solid var(--line); }
#overviewView .ov-work-table td { padding:var(--space-150); border-bottom:1px solid var(--line); vertical-align:middle; }
#overviewView .ov-work-table .work-row { cursor:pointer; }
#overviewView .ov-work-table .work-row:hover { background:var(--hover-bg-subtle); }
@media (max-width:700px) {
  .work-ticket-table tr.work-row:has(> .work-col-action) { grid-template-areas:"number state priority" "title title title" "breach breach action"; }
  .work-ticket-table .work-col-action { grid-area:action; width:auto; }
  #overviewView .ov-work-table td { padding:0; border:0; }
  #overviewView .ov-work-table:not(.has-action) tr.work-row { grid-template-areas:"number state priority" "title title title" "breach breach breach"; }
}

/* ---------- The ticket list: quick views beside Filters ---------- */
.ticket-quick-views { display:flex; flex-wrap:wrap; gap:var(--space-75); }
.ticket-quick-view { min-height:var(--control-height-sm); padding:var(--space-50) var(--space-150); border:1px solid var(--line); border-radius:var(--radius-pill); background:var(--surface); color:var(--ink-2); font:var(--weight-medium) var(--text-sm) var(--font-ui); cursor:pointer; }
.ticket-quick-view:hover { border-color:var(--control-hover); background:var(--hover-bg); }
.ticket-quick-view[aria-pressed="true"] { border-color:var(--spruce); background:var(--spruce-pale); color:var(--spruce-dark); }
[data-theme="dark"] .ticket-quick-view[aria-pressed="true"] { background:var(--hover-bg); color:var(--ink); }
.ticket-quick-view:focus-visible { outline:0; box-shadow:0 0 0 var(--focus-ring-width) var(--control-focus); }
@media (max-width:700px) { .ticket-quick-views { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; max-width:100%; } .ticket-quick-view { flex:0 0 auto; } }

/* ---------- A change: why a state can't be chosen yet; who approves it before Submit; a CI from the CMDB ---------- */
.change-state-note { margin:var(--space-75) 0 0; color:var(--muted); font-size:var(--text-sm); line-height:var(--leading-normal); }
.ce-review-approvers { margin:var(--space-200) 0; padding:var(--space-150) var(--space-200); border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--surface); }
.ce-review-approvers h3 { margin:0 0 var(--space-100); color:var(--ink); font-size:var(--text-md); font-weight:var(--weight-semibold); }
.ce-approvers { display:grid; gap:var(--space-75); margin:0; padding:0; list-style:none; }
.ce-approvers li { display:flex; flex-wrap:wrap; align-items:baseline; gap:var(--space-50) var(--space-100); color:var(--ink); font-size:var(--text-md); }
.ce-approvers li span { color:var(--muted); font-size:var(--text-sm); }
.ce-approvers-none { margin:0; color:var(--ink-2); font-size:var(--text-md); }
.ce-ci-combo { position:relative; }
.ce-ci-suggest { position:absolute; top:calc(100% + var(--space-50)); left:0; right:0; z-index:var(--z-menu); display:grid; max-height:none; padding:var(--space-50); border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--surface); box-shadow:var(--shadow-pop); }
.ce-ci-suggest[hidden] { display:none; }
.ce-ci-option { display:grid; gap:var(--space-25); padding:var(--space-100) var(--space-150); border:0; border-radius:var(--radius-md); background:none; color:var(--ink); font:inherit; text-align:left; cursor:pointer; }
.ce-ci-option b { font-weight:var(--weight-semibold); }
.ce-ci-option small { color:var(--muted); font-size:var(--text-xs); }
.ce-ci-option:hover, .ce-ci-option.is-active { background:var(--hover-bg); }
.ce-ci-option.is-typed { border-top:1px solid var(--line); border-radius:0 0 var(--radius-md) var(--radius-md); }
.ce-ci-not-cmdb { display:inline-block; padding:0 var(--space-75); border-radius:var(--radius-pill); background:var(--saffron-pale); color:var(--warn-ink); font-size:var(--text-xs); font-weight:var(--weight-semibold); }
.ce-ci-typed-hint { margin-top:var(--space-75); }

/* ---------- Knowledge: a reviewer's cue ---------- */
.knowledge-review-cue { display:flex; flex-wrap:wrap; align-items:center; gap:var(--space-50) var(--space-150); margin:0 0 var(--space-200); padding:var(--space-150) var(--space-200); border:1px solid var(--accent-border, var(--line)); border-left:3px solid var(--spruce); border-radius:var(--radius-lg); background:var(--spruce-pale); color:var(--ink); font-size:var(--text-md); }
[data-theme="dark"] .knowledge-review-cue { background:var(--surface); }
.knowledge-review-cue .nt-link { font-size:var(--text-md); }
#knowledgeView .knowledge-sort .custom-select-wrapper { width:auto; min-width:11rem; }
#overviewView .work-ticket-table .work-title-link { color:#2f6b5c; font:var(--weight-bold) var(--text-md)/var(--leading-tight) var(--font-ui); }
[data-theme="dark"] #overviewView .work-ticket-table .work-title-link { color:var(--spruce); }
#overviewView .work-ticket-table .ticket-number { font-family:var(--font-ui); }
/* Your work has the ticket list's columns, so it takes the page's width below 1500 px; Your changes goes under it. */
@media (max-width:1499px) { #overviewView .ov-grid { grid-template-columns:minmax(0, 1fr); } }

/* ---------- An article: Details beside the article, History with the page's actions ---------- */
/* The article stops at a reading width (72 characters); its Details sit next to it, not at the far edge (a 170 px dead
   strip at 1440 px). */
@media (min-width:901px) {
  .record-page.rp-article { --rp-width:calc(42rem + 20rem + var(--space-300)); }
  .rp-article .rp-body { grid-template-columns:minmax(0, 42rem) 20rem; }
  .rp-article .ap-reader { max-width:none; }
}
.rp-article .rp-notices [data-kb-history] { display:none; }

/* ---------- Phones: compact summary tiles, the page's content first ---------- */
@media (max-width:700px) {
  /* CMDB: the description waits for a wider screen; the five figures are one row that scrolls sideways. */
  #cmdbView .page-heading .rp-sub { display:none; }
  #cmdbView .perf-kpis { display:flex; gap:var(--space-100); overflow-x:auto; scrollbar-width:none; margin-bottom:var(--space-200); padding-bottom:var(--space-25); }
  #cmdbView .perf-kpis .cmdb-kpi { flex:0 0 auto; width:auto; min-width:0; display:grid; grid-template-columns:auto auto; align-items:baseline; gap:0 var(--space-75); padding:var(--space-100) var(--space-150); }
  #cmdbView .perf-kpis .cmdb-kpi b { order:-1; font-size:var(--text-xl); line-height:var(--leading-tight); }
  #cmdbView .perf-kpis .cmdb-kpi span { font-size:var(--text-sm); }
  #cmdbView .perf-kpis .cmdb-kpi small { display:none; }
  /* My workspace: the eight counts are one row that scrolls sideways, each a number and a word. */
  .workspace-summary-strip { display:flex; gap:var(--space-100); overflow-x:auto; scrollbar-width:none; margin-bottom:var(--space-200); padding-bottom:var(--space-25); }
  .workspace-summary-strip .workspace-stat { flex:0 0 auto; display:flex; align-items:baseline; gap:var(--space-75); padding:var(--space-100) var(--space-150); border-radius:var(--radius-pill); }
  .workspace-summary-strip .workspace-stat strong { font-size:var(--text-lg); }
  .workspace-summary-strip .workspace-stat span { font-size:var(--text-sm); white-space:nowrap; }
}

/* ---------- The audit log on a phone: each entry a card, the event in full ---------- */
@media (max-width:700px) {
  .al-results .tableWrap { overflow:visible; background:none; }
  .al-table, .al-table tbody { display:block; width:100%; }
  .al-table thead { display:none; }
  .al-table tr.al-row { display:grid; grid-template-columns:minmax(0, 1fr) auto; grid-template-areas:"time entry" "person person" "event event" "ip ip"; gap:var(--space-50) var(--space-150); padding:var(--space-150) 0; border-bottom:1px solid var(--line); }
  .al-table tr.al-row > td { display:block; min-width:0; padding:0; border:0; }
  .al-table tr.al-row > td:nth-child(1) { grid-area:time; }
  .al-table tr.al-row > td:nth-child(2) { grid-area:person; }
  .al-table tr.al-row > td:nth-child(3) { grid-area:event; color:var(--ink); font-size:var(--text-md); overflow-wrap:anywhere; }
  .al-table tr.al-row > td:nth-child(4) { grid-area:ip; color:var(--muted); font-size:var(--text-xs); }
  .al-table tr.al-row > td:nth-child(5) { grid-area:entry; justify-self:end; color:var(--muted); font-size:var(--text-xs); }
  .al-table tr.al-row > td:nth-child(2) small { display:inline; margin-left:var(--space-75); }
  .al-table tr.al-detail, .al-table tr.al-detail > td { display:block; padding:var(--space-100) 0; }
  .al-table tr.al-row > td:nth-child(4)::before { content:"IP address "; }
}

/* ---------- The Scheduler ---------- */
/* (Its toolbar, filters and grid columns are the scheduler's frame's since its stage 2: scheduler.css.) */
#schedulingView .sch-empty { display:flex; flex-wrap:wrap; align-items:center; gap:var(--space-100) var(--space-150); margin-bottom:var(--space-150); }

/* ---------- Problems: one count look, the known-errors filter as the app's toggle chip, rows not taller than needed ---------- */
#problemOutageCount.related-count { padding:0; border:0; background:none; color:var(--muted); font-size:var(--text-sm); font-weight:var(--weight-regular); }
.pd-known-filter { display:inline-flex !important; align-items:center; align-self:end; gap:var(--space-75); min-height:var(--control-height); padding:0 var(--space-150); border:1px solid var(--line); border-radius:var(--radius-pill); background:var(--surface); color:var(--ink-2); font-size:var(--text-sm); font-weight:var(--weight-medium); cursor:pointer; }
.pd-known-filter:has(input:checked) { border-color:var(--spruce); background:var(--spruce-pale); color:var(--spruce-dark); }
[data-theme="dark"] .pd-known-filter:has(input:checked) { background:var(--hover-bg); color:var(--ink); }
#problemRegister td { padding-top:var(--space-150); padding-bottom:var(--space-150); vertical-align:middle; }
.field-hint { display:block; margin-top:var(--space-50); color:var(--muted); font-size:var(--text-xs); font-weight:var(--weight-regular); }

/* ---------- The bell: grouped by day; a new one is tinted, not only bold with a dot ---------- */
.bell-day { margin:var(--space-150) var(--space-100) var(--space-50); color:var(--muted); font-size:var(--text-xs); font-weight:var(--weight-semibold); letter-spacing:.04em; text-transform:uppercase; }
.bell-day:first-child { margin-top:var(--space-50); }
.bell-item.unread { background:var(--spruce-pale); }
.bell-item.unread:hover { background:var(--hover-bg); }
[data-theme="dark"] .bell-item.unread { background:var(--surface-2); }

/* ---------- People: columns with headings, the list growing with the page ---------- */
.people-head, .people-list .people-row { display:grid; grid-template-columns:2.125rem minmax(12rem, 2fr) minmax(8rem, 1.3fr) minmax(7rem, 1.1fr) minmax(7rem, .9fr) minmax(9rem, 1.2fr); align-items:center; gap:var(--space-150); }
.people-head { padding:var(--space-100) var(--space-150); border-bottom:1px solid var(--line); color:var(--muted); font-size:var(--text-xs); font-weight:var(--weight-semibold); letter-spacing:.04em; text-transform:uppercase; }
.people-list .people-row-main small { display:block; }
.people-col { min-width:0; color:var(--ink-2); font-size:var(--text-sm); overflow-wrap:anywhere; }
.people-col small { color:var(--muted); font-size:var(--text-sm); }
.people-col-raised b { color:var(--ink); font-weight:var(--weight-semibold); }
/* With someone's profile open beside the list, and on a phone, the list keeps the person and their counts. */
.people-layout.has-profile .people-head, .people-layout.has-profile .people-list .people-row { grid-template-columns:2.125rem minmax(0, 1fr) auto; }
.people-layout.has-profile :is(.people-col-role, .people-col-site, .people-col-assigned), .people-layout.has-profile .people-head > :nth-child(n+3) { display:none; }
@media (max-width:900px) {
  .people-head { display:none; }
  .people-list .people-row { grid-template-columns:2.125rem minmax(0, 1fr) auto; }
  .people-list :is(.people-col-role, .people-col-site) { display:none; }
  .people-list .people-col-assigned:has(.rp-muted) { display:none; }
}

/* ---------- Team performance: the agent scorecard fits at 1440 px ---------- */
/* Headings take two lines, cells are a little tighter, and the Resolved bar waits for a screen wider than 1600 px. */
.perf-scorecard-wrap .scorecard th { white-space:normal; vertical-align:bottom; min-width:0; line-height:var(--leading-tight); }
.perf-scorecard-wrap .scorecard th, .perf-scorecard-wrap .scorecard td { padding-left:var(--space-100); padding-right:var(--space-100); }
@media (max-width:1600px) { .perf-scorecard-wrap .scorecard .score-bar { display:none; } }
.perf-scorecard-wrap .scorecard td { font-size:var(--text-sm); }

/* ---------- Customer satisfaction: the latest responses as compact rows ---------- */
.csat-response-list { display:grid; gap:0; }
.csat-response-list .csat-response-card { grid-template-columns:3.5rem minmax(8rem, 1fr) minmax(10rem, 1.3fr) minmax(0, 2fr); grid-template-rows:auto; align-items:center; gap:var(--space-150); margin:0; padding:var(--space-100) var(--space-150); border:0; border-bottom:1px solid var(--line); border-radius:0; }
.csat-response-list .csat-response-card:last-child { border-bottom:0; }
.csat-response-list .csat-response-card > span { grid-row:auto; align-self:center; padding:var(--space-25) var(--space-75); font-size:var(--text-xs); }
.csat-response-list .csat-response-card :is(b, small, em) { margin:0; min-width:0; overflow:hidden; overflow-wrap:break-word; white-space:normal; }
.csat-response-list .csat-response-card small { font-size:var(--text-xs); }
.csat-response-list .csat-response-card em { color:var(--ink-2); font-size:var(--text-sm); }
@media (max-width:900px) {
  .csat-response-list .csat-response-card { grid-template-columns:3.5rem minmax(0, 1fr); }
  .csat-response-list .csat-response-card > span { grid-row:1 / span 3; align-self:start; }
  .csat-response-list .csat-response-card :is(b, small, em) { white-space:normal; }
}

/* ---------- Reports: a card's footer has room for its figure and who made it ---------- */
.rp-tile-foot { flex-direction:column; align-items:flex-start; gap:var(--space-25); }
.rp-tile-foot .rp-tile-headline { color:var(--ink-2); font-size:var(--text-sm); font-weight:var(--weight-semibold); }

/* ---------- Smaller things the review found ---------- */
/* A resolved ticket that met its SLA has the green "met" dot, not the amber of a warning. */
.tw-sla.tw-tone-done::before { background:var(--good); }
/* The ticket list's column headings and priority badges read at 12 px (the captions' size), not 11. */
#ticketsView .ticket-table-head, #ticketsView .ticket-row .pill, .work-ticket-table .pill { font-size:var(--text-xs); }
/* The requester's email is shown in full: a long one wraps onto the next line (the owner, 2026-11-14: "Wrap the text"). */
.tw .tw-email { display:inline-block; max-width:100%; white-space:normal; vertical-align:bottom; overflow-wrap:anywhere; }
/* The assistant's "New chat" stays on one line. */
.ai-head-actions .ai-link { white-space:nowrap; }
/* Global search dims the page behind it enough that the outage banner doesn't show through. */
.global-search-panel { background:rgba(20, 26, 23, .5); }
/* The start-up error explains in regular weight. */
.app-startup-error p, #appStartupStatus p { font-weight:var(--weight-regular); }
/* Change create: the time-zone help under the planned times reads like every other help line. */
#cePlannedZoneHint { font-weight:var(--weight-regular); }
/* The ticket views menu stands off the page in the dark theme. */
[data-theme="dark"] .view-manager { background:var(--surface-2); box-shadow:var(--shadow-pop); }
/* Knowledge: search is one row (the card was 130 px with a heading and a help line, pushing the list down). */
#knowledgeView .knowledge-hero { padding:var(--space-150) var(--space-200); }
#knowledgeView .knowledge-hero .hero-icon, #knowledgeView .knowledge-hero p { display:none; }
#knowledgeView .knowledge-hero h2 { margin:0; font-size:var(--text-lg); }
#knowledgeView .knowledge-hero .knowledge-search { flex:1 1 auto; max-width:40rem; }
@media (max-width:700px) { #knowledgeView .knowledge-hero { padding:var(--space-150); } #knowledgeView .knowledge-hero h2 { display:none; } #knowledgeView .knowledge-hero .knowledge-search { margin-top:0; } }
/* styles.css hid Your work's fourth column on a phone (it was Open, beside the title's link); it is the priority now. */
@media (max-width:640px) { #overviewView #ovAttnTable th.work-col-priority, #overviewView #ovAttnTable td.work-col-priority { display:block; } #overviewView #ovAttnTable thead { display:none; } }
/* What a CI's failure reaches (a change's, a ticket's or a problem's CIs): "and 4 more" after its services is read on
   the box's own amber, so it takes the box's text color (the muted gray was 4.4:1 there in dark mode; the global
   .rp-muted rule is !important). Phase 1f, the builds checked together. */
.ci-impact .ci-impact-services > .rp-muted { color:var(--ink-2) !important; }
/* The Changes overview's Change schedule: a long state ("Waiting for Approval") ran on under Type and risk, since the
   state was kept on one line (styles.css, span:nth-child(3)) in a column that may shrink. It takes two lines, its
   dot beside the first. */
.change-schedule-row > span.change-state-chip { align-items:flex-start; white-space:normal; }
.change-schedule-row > span.change-state-chip::before { margin-top:.4em; }
/* "Get IT help" in a department's side menu (docs/adr/0124): a link, drawn as the menu's other items. */
.sidebar a.nav-item { text-decoration:none; }
