:root {
  --app-ink: #1d2433;
  --app-muted: #667085;
  --app-line: #e6eaf0;
  --app-bg: #f4f7fb;
  --app-panel: #ffffff;
  --app-primary: #155eef;
  --app-primary-dark: #0f3fbd;
  --app-teal: #21a7a3;
  --app-gold: #f4a100;
  --app-green: #138a4b;
  --app-slate: #5b6472;
}

* { letter-spacing: 0; }

body {
  background:
    radial-gradient(circle at top left, rgba(21, 94, 239, .13), transparent 24rem),
    radial-gradient(circle at top right, rgba(33, 167, 163, .12), transparent 22rem),
    linear-gradient(180deg, #f8fbff 0%, var(--app-bg) 100%);
  color: var(--app-ink);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.app-navbar {
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--app-line);
  box-shadow: 0 12px 30px rgba(29, 36, 51, .06);
  backdrop-filter: blur(12px);
}

.navbar-brand {
  align-items: center;
  display: flex;
  gap: .65rem;
  letter-spacing: 0;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--app-primary), var(--app-teal));
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 700;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.brand-logo {
  background: #fff;
  border: 1px solid var(--app-line);
  border-radius: 6px;
  height: 2.35rem;
  object-fit: contain;
  padding: .1rem;
  width: 3rem;
}

.nav-link {
  border-radius: 6px;
  color: #344054;
  font-weight: 500;
}

.nav-link:hover {
  background: #eef4ff;
  color: var(--app-primary-dark);
}

.user-nav {
  align-items: center;
  gap: .5rem;
}

.user-nav .user-name {
  align-items: center;
  display: inline-flex;
  min-height: 2rem;
  padding: .25rem .35rem;
}

.logout-form {
  align-items: center;
  display: flex;
  margin: 0;
}

.page-wrapper {
  padding-top: .85rem;
}

.page-body {
  margin-top: .75rem;
}

.page-header {
  margin: 0 0 .8rem;
}

.page-title,
.request-hero h1,
.section-heading h2,
.report-tile h2 {
  color: var(--app-ink);
  font-weight: 700;
}

.eyebrow {
  color: var(--app-teal);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: .5rem;
  text-transform: uppercase;
}

.card {
  border: 1px solid var(--app-line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(29, 36, 51, .06);
}

.card-header {
  background: #fff;
  border-bottom-color: var(--app-line);
}

.metric-card {
  min-height: 88px;
  overflow: hidden;
  position: relative;
}

.metric-card::after {
  background: currentColor;
  content: "";
  height: 4px;
  inset: auto 0 0 0;
  opacity: .9;
  position: absolute;
}

.metric-card .h1 {
  font-weight: 700;
}

.status-strip {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
}

.dashboard-filter-row,
.dashboard-filter {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.dashboard-filter-row {
  justify-content: flex-end;
  margin-top: .75rem;
}

.dashboard-filter-title {
  align-self: center;
  color: var(--app-muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dashboard-filter {
  background: #fff;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  padding: .45rem;
}

.dashboard-filter label {
  display: grid;
  gap: .2rem;
}

.dashboard-filter span {
  color: var(--app-muted);
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.dashboard-filter input {
  border: 1px solid #d8dee8;
  border-radius: 6px;
  color: var(--app-ink);
  font-size: .82rem;
  min-height: 2rem;
  padding: .25rem .45rem;
}

.status-strip .card-body {
  padding: .85rem 1rem;
}

.status-strip .h1 {
  font-size: 1.35rem;
  margin: .2rem 0 0;
}

.status-open,
.status-for_inspection { border-color: rgba(21, 94, 239, .2); color: var(--app-primary); }
.status-pending { border-color: rgba(91, 100, 114, .22); color: var(--app-slate); }
.status-progress { border-color: rgba(244, 161, 0, .25); color: var(--app-gold); }
.status-for_recommendation { border-color: rgba(124, 58, 237, .24); color: #7c3aed; }
.status-for_approval { border-color: rgba(79, 70, 229, .24); color: #4f46e5; }
.status-resolved { border-color: rgba(19, 138, 75, .24); color: var(--app-green); }
.status-closed { border-color: rgba(91, 100, 114, .22); color: var(--app-slate); }

.badge-status {
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  padding: .35rem .6rem;
}

.badge-status.status-open { background: var(--app-primary); }
.badge-status.status-pending { background: var(--app-slate); }
.badge-status.status-for_inspection { background: var(--app-primary); }
.badge-status.status-in_progress { background: var(--app-gold); color: #332100; }
.badge-status.status-for_recommendation { background: #7c3aed; }
.badge-status.status-for_approval { background: #4f46e5; }
.badge-status.status-resolved { background: var(--app-green); }
.badge-status.status-closed { background: var(--app-slate); }
.badge-status.status-cancelled { background: #d92d20; }
.badge-status.status-awaiting_parts { background: #ea580c; }
.badge-status.status-referred_vendor { background: #4338ca; }
.badge-status.status-not_serviceable { background: #475467; }
.badge-status.status-returned { background: #b42318; }

.maxw-360 { max-width: 360px; }
.maxw-420 { max-width: 420px; }

.public-intake {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(280px, .75fr) minmax(420px, 1fr);
  min-height: auto;
}

.intake-panel {
  align-content: start;
  background:
    linear-gradient(145deg, rgba(15, 63, 189, .97), rgba(33, 167, 163, .93)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='white' stroke-opacity='.18'%3E%3Cpath d='M0 36h180M0 72h180M0 108h180M0 144h180M36 0v180M72 0v180M108 0v180M144 0v180'/%3E%3Ccircle cx='90' cy='90' r='46'/%3E%3C/g%3E%3C/svg%3E");
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(15, 63, 189, .22);
  color: #fff;
  display: grid;
  overflow: hidden;
  padding: 1.5rem;
  position: relative;
}

.intake-panel::after {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  content: "";
  height: 11rem;
  position: absolute;
  right: -4.5rem;
  top: -4rem;
  width: 11rem;
}

.dole-seal {
  align-items: center;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .16);
  color: #0f3fbd;
  display: inline-flex;
  font-size: .7rem;
  font-weight: 800;
  gap: .35rem;
  height: 3.2rem;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  width: 3.2rem;
  z-index: 1;
}

.dole-panel-logo {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .16);
  height: 5.2rem;
  margin-bottom: 1rem;
  object-fit: contain;
  padding: .15rem;
  position: relative;
  width: 5.9rem;
  z-index: 1;
}

.seal-triangle {
  border-bottom: 1.1rem solid #d92d20;
  border-left: .75rem solid transparent;
  border-right: .75rem solid transparent;
  height: 0;
  position: absolute;
  top: .45rem;
  width: 0;
}

.dole-seal span {
  bottom: .45rem;
  position: absolute;
}

.intake-panel .eyebrow,
.intake-panel h1,
.intake-panel p {
  color: #fff;
}

.intake-panel h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0 0 .65rem;
}

.gov-heading {
  border-left: 3px solid rgba(255, 255, 255, .7);
  display: grid;
  gap: .1rem;
  margin-bottom: 1.2rem;
  padding-left: .75rem;
  position: relative;
  z-index: 1;
}

.gov-heading span,
.gov-heading strong {
  color: #fff;
  font-size: .76rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.gov-heading strong {
  font-size: .86rem;
}

.intake-copy {
  font-size: .95rem;
  line-height: 1.55;
  opacity: .9;
}

.intake-guide {
  display: grid;
  gap: .7rem;
  margin: 1.2rem 0;
  position: relative;
  z-index: 1;
}

.guide-card {
  align-items: center;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  display: grid;
  gap: .7rem;
  grid-template-columns: 2rem 1fr;
  padding: .7rem;
}

.guide-card strong {
  align-items: center;
  background: #fff;
  border-radius: 8px;
  color: var(--app-primary);
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.guide-card span {
  color: #fff;
  font-size: .82rem;
  line-height: 1.35;
}

.support-clipart {
  height: 150px;
  margin: .4rem 0 1rem;
  position: relative;
  z-index: 1;
}

.clipart-monitor {
  background: rgba(255, 255, 255, .92);
  border-radius: 8px;
  bottom: 1.8rem;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .14);
  height: 76px;
  left: 1rem;
  position: absolute;
  width: 120px;
}

.clipart-monitor::before {
  background: linear-gradient(135deg, #dbeafe, #99f6e4);
  border-radius: 5px;
  content: "";
  inset: .55rem;
  position: absolute;
}

.clipart-monitor::after {
  background: rgba(255, 255, 255, .92);
  border-radius: 3px;
  bottom: -1.7rem;
  content: "";
  height: 1.7rem;
  left: 48px;
  position: absolute;
  width: 24px;
}

.clipart-ticket {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .12);
  height: 86px;
  position: absolute;
  right: 1.4rem;
  top: 1.2rem;
  transform: rotate(-7deg);
  width: 96px;
}

.clipart-ticket::before,
.clipart-ticket::after {
  background: #c7d7fe;
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 16px;
  position: absolute;
  width: 58px;
}

.clipart-ticket::before { top: 22px; }
.clipart-ticket::after { top: 42px; width: 44px; }

.clipart-spark {
  background: #fde68a;
  border-radius: 999px;
  height: 18px;
  position: absolute;
  right: 8.4rem;
  top: 1.1rem;
  width: 18px;
}

.intake-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.intake-pills span {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: .4rem .65rem;
}

.request-card,
.inspection-card,
.info-panel {
  border-top: 4px solid var(--app-primary);
}

.intake-form {
  align-self: start;
}

.intake-form .card-body,
.inspection-card .card-body {
  padding: 1.25rem;
}

.public-metrics {
  border: 1px solid var(--app-line);
  border-radius: 8px;
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 1rem;
  padding: .7rem;
}

.public-metrics div {
  background: #f7f9fc;
  border-radius: 6px;
  padding: .65rem;
}

.public-metrics strong {
  display: block;
  font-size: 1.2rem;
}

.public-metrics span {
  color: var(--app-muted);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.section-heading {
  align-items: flex-start;
  display: flex;
  gap: .85rem;
  margin-bottom: 1rem;
}

.section-heading span {
  align-items: center;
  background: #eef4ff;
  border: 1px solid #c7d7fe;
  border-radius: 8px;
  color: var(--app-primary);
  display: inline-flex;
  flex: 0 0 2.5rem;
  font-weight: 700;
  height: 2.5rem;
  justify-content: center;
}

.section-heading h2 {
  font-size: 1rem;
  margin: 0;
}

.section-heading p {
  color: var(--app-muted);
  font-size: .86rem;
  margin: .2rem 0 0;
}

.section-heading.compact {
  margin-bottom: 1rem;
}

.client-form-grid {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(12, 1fr);
}

.form-field {
  grid-column: span 12;
}

.span-4,
.span-6,
.span-12 {
  grid-column: span 12;
}

.form-field label,
.form-grid label {
  color: #344054;
  display: block;
  font-size: .84rem;
  font-weight: 600;
  margin-bottom: .4rem;
}

.form-field input,
.form-field select,
.form-field textarea,
.form-grid input:not([type="checkbox"]),
.form-grid select,
.form-grid textarea,
form input:not([type="checkbox"]),
form select,
form textarea {
  background: #fff;
  border: 1px solid #d8dee8;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(29, 36, 51, .04);
  color: var(--app-ink);
  display: block;
  font-size: .9rem;
  min-height: 2.65rem;
  padding: .5rem .7rem;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}

.form-field textarea,
form textarea {
  line-height: 1.55;
  min-height: 6.5rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
form input:focus,
form select:focus,
form textarea:focus {
  border-color: var(--app-primary);
  box-shadow: 0 0 0 4px rgba(21, 94, 239, .12);
  outline: 0;
}

form input[type="checkbox"] {
  height: 1rem;
  margin-right: .4rem;
  width: 1rem;
}

.request-actions {
  align-items: center;
  display: flex;
  gap: .75rem;
  justify-content: flex-end;
  padding: .85rem 1.25rem;
}

.btn {
  border-radius: 6px;
  font-weight: 600;
}

.btn-primary {
  background: var(--app-primary);
  border-color: var(--app-primary);
  box-shadow: 0 10px 20px rgba(21, 94, 239, .2);
}

.btn-primary:hover {
  background: var(--app-primary-dark);
  border-color: var(--app-primary-dark);
}

.detail-list {
  display: grid;
  gap: .8rem 1rem;
  grid-template-columns: minmax(140px, .55fr) 1fr;
  margin: 0;
}

.request-summary {
  background: #fff;
  border: 1px solid var(--app-line);
  border-left: 4px solid var(--app-teal);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(29, 36, 51, .06);
  display: grid;
  gap: .75rem;
  grid-template-columns: .8fr .8fr 1fr 2fr;
  padding: 1rem;
}

.preinspect-card .card-body {
  padding: 1rem;
}

.preinspect-layout {
  display: grid;
  gap: .85rem;
}

.preinspect-layout section {
  background: #f8fafc;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  padding: .85rem;
}

.preinspect-layout h3 {
  color: var(--app-primary-dark);
  font-size: .85rem;
  font-weight: 700;
  margin: 0 0 .7rem;
  text-transform: uppercase;
}

.preinspect-card .client-form-grid {
  gap: .65rem;
}

.preinspect-card .form-field label {
  font-size: .78rem;
  margin-bottom: .3rem;
}

.preinspect-card .form-field input,
.preinspect-card .form-field select,
.preinspect-card .form-field textarea {
  min-height: 2.35rem;
  padding: .42rem .6rem;
}

.preinspect-card .form-field textarea {
  min-height: 5rem;
}

.summary-item,
.summary-problem {
  min-width: 0;
}

.summary-item span,
.summary-problem span {
  color: var(--app-muted);
  display: block;
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: .25rem;
  text-transform: uppercase;
}

.summary-item strong {
  display: block;
  font-size: .95rem;
  overflow-wrap: anywhere;
}

.summary-item small {
  color: var(--app-muted);
  display: block;
  font-size: .78rem;
  margin-top: .1rem;
}

.summary-problem p {
  margin: 0;
  max-height: 4.75rem;
  overflow: auto;
}

.detail-list dt {
  color: var(--app-muted);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
}

.report-tile {
  border-top: 4px solid var(--app-teal);
  height: 100%;
}

.report-tile p:not(.eyebrow) {
  color: var(--app-muted);
}

.submitted-shell {
  display: grid;
  min-height: calc(100vh - 9rem);
  place-items: center;
}

.submitted-card {
  background: #fff;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(29, 36, 51, .12);
  max-width: 560px;
  padding: 2rem;
  text-align: center;
  width: 100%;
}

.submitted-card h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.submitted-meta {
  background: #f7f9fc;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  display: grid;
  gap: .5rem;
  margin: 1.25rem 0;
  padding: .85rem;
}

.submitted-meta span {
  font-weight: 600;
}

.track-shell,
.auth-shell {
  margin: 0 auto;
  max-width: 760px;
}

.compact-form {
  margin: 0 auto;
  max-width: 920px;
}

.tracking-result {
  background: #f7f9fc;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  margin-top: 1rem;
  padding: 1rem;
}

.tracking-result h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: .6rem 0 .2rem;
}

.pagination-wrap {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: .9rem;
}

.report-filter {
  border-top: 4px solid var(--app-primary);
}

.mini-bars {
  display: grid;
  gap: .7rem;
  min-height: 120px;
}

.bar-row {
  align-items: center;
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(120px, 1fr) minmax(180px, 3fr) 2rem;
}

.bar-row span {
  color: #344054;
  font-size: .82rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar-row div {
  background: #eef2f7;
  border-radius: 999px;
  height: .75rem;
  overflow: hidden;
}

.bar-row i {
  background: var(--app-teal);
  border-radius: inherit;
  display: block;
  height: 100%;
  min-width: .25rem;
}

.bar-row b {
  font-size: .82rem;
}

.mini-bars.purple .bar-row i { background: #a78bfa; }
.mini-bars.blue .bar-row i { background: #60a5fa; }
.mini-bars.warning .bar-row i { background: #f59e0b; }
.mini-bars.horizontal {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.mini-bars.horizontal .bar-row {
  grid-template-columns: 1fr;
  gap: .3rem;
}

.dashboard-panel {
  height: 100%;
}

.dashboard-panel .card-body {
  min-height: 220px;
}

.line-chart {
  display: grid;
  gap: .65rem;
  grid-template-columns: 2rem minmax(0, 1fr);
}

.line-chart-y {
  display: flex;
  flex-direction: column;
  height: 240px;
  justify-content: space-between;
  padding: .15rem 0 1.5rem;
}

.line-chart-y span,
.line-chart-x span {
  color: var(--app-muted);
  font-size: .72rem;
  font-weight: 500;
}

.line-chart-plot {
  min-width: 0;
}

.line-chart svg {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-left: 1px solid #dbe3ee;
  display: block;
  height: 240px;
  overflow: visible;
  width: 100%;
}

.line-grid {
  stroke: #edf1f6;
  stroke-width: .35;
}

.trend-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.15;
  vector-effect: non-scaling-stroke;
}

.trend-point {
  fill: #fff;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.line-chart-x {
  display: flex;
  justify-content: space-between;
  margin-top: .4rem;
  min-width: 0;
}

.line-chart-x span {
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trend-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .8rem;
  justify-content: center;
  margin-top: .75rem;
}

.trend-legend span {
  align-items: center;
  color: #344054;
  display: inline-flex;
  font-size: .76rem;
  font-weight: 600;
  gap: .35rem;
}

.trend-legend i {
  border-radius: 999px;
  display: inline-block;
  height: .65rem;
  width: 1.25rem;
}

.donut-wrap {
  display: grid;
  margin: .3rem auto 1rem;
  max-width: 190px;
  place-items: center;
  position: relative;
}

.donut-wrap.small {
  max-width: 170px;
}

.donut-chart {
  display: block;
  height: auto;
  transform: rotate(-90deg);
  width: 100%;
}

.donut-track,
.donut-segment {
  fill: none;
  stroke-width: 6;
}

.donut-track {
  stroke: #eef2f7;
}

.donut-segment {
  stroke-linecap: round;
}

.donut-center {
  align-items: center;
  background: #fff;
  border: 1px solid var(--app-line);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(29, 36, 51, .08);
  display: grid;
  height: 5.6rem;
  justify-items: center;
  left: 50%;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 5.6rem;
}

.donut-center strong {
  font-size: 1.45rem;
}

.donut-center span {
  color: var(--app-muted);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.legend-list {
  display: grid;
  gap: .45rem;
}

.legend-list div {
  align-items: center;
  display: grid;
  gap: .5rem;
  grid-template-columns: .7rem minmax(0, 1fr) auto;
}

.legend-list i {
  border-radius: 999px;
  display: block;
  height: .7rem;
  width: .7rem;
}

.legend-list span {
  color: #344054;
  font-size: .8rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.legend-list b {
  font-size: .82rem;
}

.problem-grid {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.problem-card {
  background: #f8fafc;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  padding: .85rem;
}

.problem-card-head {
  align-items: start;
  display: flex;
  gap: .75rem;
  justify-content: space-between;
  margin-bottom: .65rem;
}

.problem-card h3 {
  color: var(--app-ink);
  font-size: .9rem;
  font-weight: 700;
  margin: 0;
}

.problem-card-head strong {
  background: #eef4ff;
  border: 1px solid #c7d7fe;
  border-radius: 999px;
  color: var(--app-primary-dark);
  font-size: .78rem;
  padding: .15rem .5rem;
}

.mini-bars.compact {
  gap: .45rem;
  min-height: 0;
}

.mini-bars.compact .bar-row {
  gap: .5rem;
  grid-template-columns: minmax(92px, 1.35fr) minmax(70px, 1fr) 1.4rem;
}

.mini-bars.compact .bar-row span {
  font-size: .75rem;
}

.mini-bars.compact .bar-row div {
  height: .5rem;
}

.errorlist {
  color: #c92a2a;
  font-size: .8rem;
  margin: .35rem 0 0;
  padding-left: 1rem;
}

@media (min-width: 768px) {
  .span-4 { grid-column: span 4; }
  .span-6 { grid-column: span 6; }
  .span-12 { grid-column: span 12; }
}

@media (max-width: 767.98px) {
  .public-intake {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .intake-panel {
    min-height: 190px;
    padding: 1.25rem;
  }

  .request-summary {
    grid-template-columns: 1fr;
  }

  .status-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-filter-row,
  .dashboard-filter {
    align-items: stretch;
    width: 100%;
  }

  .dashboard-filter label,
  .dashboard-filter .btn {
    flex: 1 1 100%;
  }

  .dashboard-filter-row {
    justify-content: stretch;
  }

  .public-metrics {
    grid-template-columns: 1fr;
  }

  .request-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .request-actions .btn,
  .request-actions .btn-link {
    width: 100%;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .bar-row,
  .mini-bars.compact .bar-row {
    grid-template-columns: minmax(88px, 1fr) minmax(80px, 1.4fr) 1.5rem;
  }
}
