/* Consistent feedback and data-entry surfaces across the workspace. */
@media screen {
  .list-empty { padding: 48px 24px 52px; text-align: center; }
  .list-empty .empty-symbol { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #f3f4f5; color: #79818a; margin-bottom: 18px; }
  .list-empty :is(h2,h3) { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.5; }
  .list-empty p { margin: 12px auto 22px; max-width: 480px; color: var(--muted); font-size: 13px; line-height: 1.8; }
  .list-empty .button-group { justify-content: center; flex-wrap: wrap; gap: 12px; }
  .empty-panel { max-width: 900px; }
  .pagination nav { display: flex; gap: 18px; align-items: center; }
  .pagination nav a { padding: 10px 4px; }
  .meter-period-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
  .meter-period-heading h2 { font-size: 18px; margin: 0 0 6px; }
  .meter-period-heading p { margin: 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
  .meter-help { max-width: 440px; }
  .meter-help summary { cursor: pointer; color: var(--muted); font-size: 13px; padding: 8px 0; }
  .meter-grid-scroll { max-height: min(62vh,720px); overflow: auto; overscroll-behavior: contain; }
  .meter-table { min-width: 680px; }
  .meter-table thead th { position: sticky; top: 0; z-index: 2; background: #f5f6f8; }
  .meter-table :is(th,td):first-child { position: sticky; left: 0; background: #fff; z-index: 1; width: 88px; min-width: 88px; }
  .meter-table thead th:first-child { z-index: 3; background: #f5f6f8; }
  .meter-table tbody th { font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--line); }
  .meter-table :is(input,td) { font-variant-numeric: tabular-nums; }
  .meter-table tr:focus-within :is(th,td) { background: #faf6f2; }
  .meter-table input[aria-invalid='true'] { border-color: var(--danger); }
  .meter-save-actions { margin: 0; justify-content: space-between; gap: 16px; }
  .meter-save-actions .muted { font-size: 12px; line-height: 1.7; }
  .workspace-ui .meter-period-selector { display: grid; grid-template-columns: minmax(160px,240px) auto minmax(0,1fr); align-items: start; }
  .meter-period-selector > .button { margin-top: 28px; }
  .meter-period-selector > .muted { margin-top: 40px; font-size: 12px; }
  .meter-period-selector .errorlist { max-width: 340px; }
}
@media screen and (max-width: 760px) {
  .workspace-ui .financial-metrics .metric-currency { font-size: clamp(17px,4.7vw,26px); white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
  .meter-period-heading { align-items: flex-start; flex-direction: column; gap: 8px; padding: 18px; }
  .meter-save-actions { flex-direction: column; align-items: stretch; }
  .meter-save-actions .button { width: 100%; }
  .meter-grid-scroll { max-height: 55vh; }
  .list-empty { padding: 36px 20px 40px; }
  .pagination { gap: 12px; flex-wrap: wrap; }
}

@media screen and (max-width: 600px) {
  .workspace-ui .meter-period-selector { grid-template-columns: minmax(0,1fr) auto; }
  .meter-period-selector > .muted { grid-column: 1 / -1; margin-top: 0; }
}
