.mail-workspace .page-heading { margin-bottom: 32px; }
.mail-workspace .page-heading p { max-width: 65ch; }
.mail-list-heading,
.mail-request-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(128px, .28fr) 88px 112px;
  align-items: center;
  gap: 24px;
}
.mail-list-heading {
  padding: 14px 12px;
  border-top: 1px solid var(--theme-text);
  color: var(--theme-text-muted);
  font-size: .8125rem;
}
.mail-request-list { margin: 0; padding: 0; list-style: none; }
.mail-request-list li { border-top: 1px solid var(--theme-border); }
.mail-request-list li:last-child { border-bottom: 1px solid var(--theme-border); }
.mail-request-row {
  width: 100%;
  min-height: 104px;
  padding: 18px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--theme-text);
  text-align: left;
  cursor: pointer;
}
.mail-request-row:hover { background: var(--theme-surface-muted); }
.mail-request-row:active { background: var(--theme-accent-soft); }
.mail-request-row:focus-visible { outline: 2px solid var(--theme-accent-strong); outline-offset: -2px; }
.mail-request-copy { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.mail-request-copy strong { font-size: .9375rem; line-height: 1.4; font-weight: 700; }
.mail-request-subject { color: var(--theme-text); font-size: .875rem; line-height: 1.5; }
.mail-request-copy small { color: var(--theme-text-muted); font-size: .75rem; line-height: 1.5; }
.mail-request-owner,
.mail-request-row time { font-size: .8125rem; line-height: 1.5; overflow-wrap: anywhere; }
.mail-request-owner.is-unassigned,
.mail-request-row time { color: var(--theme-text-muted); }
.mail-request-row time { font-variant-numeric: tabular-nums; }
.mail-request-action { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-size: .8125rem; font-weight: 600; }
.mail-request-action svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mail-list-loading { padding: 20px 12px; color: var(--theme-text-muted); }
.mail-list-loading div { height: 72px; margin-top: 12px; border-radius: 4px; background: var(--theme-surface-muted); }
.mail-quotation-panel > p { max-width: 65ch; font-size: .9375rem; line-height: 1.5; }
.mail-quotation-rooms { display: grid; gap: 16px; margin: 20px 0; padding: 0; list-style: none; }
.mail-quotation-rooms li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; font-size: .875rem; }
.mail-quotation-rooms small { grid-column: 1 / -1; color: var(--theme-text-muted); overflow-wrap: anywhere; line-height: 1.5; }
.mail-quotation-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.mail-quotation-actions button { min-height: 44px; }
.mail-quotation-actions button:disabled { opacity: .6; cursor: wait; }
@media (max-width: 1100px) {
  .mail-list-heading,
  .mail-request-row { grid-template-columns: minmax(0, 1fr) 120px 72px; gap: 16px; }
  .mail-list-heading > :last-child,
  .mail-request-action { display: none; }
}
@media (max-width: 720px) {
  .mail-list-heading { display: none; }
  .mail-request-list { border-top: 1px solid var(--theme-text); }
  .mail-request-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; padding: 18px 4px; }
  .mail-request-copy { grid-column: 1; grid-row: 1; }
  .mail-request-row time { grid-column: 2; grid-row: 1; align-self: start; padding-top: 2px; }
  .mail-request-owner { grid-column: 1; grid-row: 2; }
  .mail-request-action { display: flex; grid-column: 2; grid-row: 2; }
}
