:root {
  color-scheme: light;
  --background: #f1f5f9;
  --foreground: #05080f;
  --card: #ffffff;
  --primary: #0284c7;
  --accent: #ea580c;
  --border: #cbd5e1;
  --color-primary: #0284c7;
  --color-primary-dark: #0369a1;
  --color-secondary: #0f172a;
  --color-background: #f1f5f9;
  --color-surface: #ffffff;
  --color-text: #05080f;
  --color-text-muted: #334155;
  --color-border: #cbd5e1;
  --color-border-heavy: #0f172a;
  --color-success: #047857;
  --color-success-bg: #d1fae5;
  --color-warning: #b45309;
  --color-warning-bg: #fef3c7;
  --color-danger: #b91c1c;
  --color-accent: #ea580c;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-condensed: "DIN Alternate", "Roboto Condensed", "Franklin Gothic Medium", "Arial Narrow", -apple-system, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --radius: 0px;
  --shadow-industrial: 3px 3px 0px #0f172a;
  --shadow-sm: 2px 2px 0px #0f172a;
  line-height: 1.45;
}

* {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html, body {
  color-scheme: light;
  overflow-x: hidden;
  max-width: 100vw;
  background-color: var(--color-background);
  color: var(--color-text);
}

body,
.tabular-nums,
[data-numeric="true"],
[data-artifact-preview],
[data-artifact-preview] dd,
[data-artifact-preview] td,
[data-artifact-preview] span,
.metric-value,
.job-time {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
}

a,
button,
input,
select,
textarea,
[role="button"] {
  min-height: 44px;
  min-width: 44px;
  box-sizing: border-box;
}

a {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

a:hover {
  color: var(--color-secondary);
}

/* Site Header & Navigation Rail */
.site-header {
  background: var(--color-secondary);
  color: #ffffff;
  border-bottom: 3px solid var(--color-accent);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  overflow-x: clip;
}

.nav-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  min-width: 44px;
  font-family: var(--font-condensed);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-link strong {
  color: #ffffff;
}

.nav-rail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  max-width: 100%;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.85rem;
  font-family: var(--font-condensed);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #e2e8f0;
  text-decoration: none;
  border: 1px solid transparent;
}

.nav-link:hover {
  background: #1e293b;
  color: #ffffff;
  border-color: #475569;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 1rem;
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--color-accent);
  border: 2px solid #ffffff;
  text-decoration: none;
  box-shadow: 2px 2px 0px #000000;
}

.nav-btn:hover {
  background: #c2410c;
  color: #ffffff;
}

main {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

/* Badges & Industrial Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #e2e8f0;
  color: var(--color-secondary);
  border: 1px solid #94a3b8;
  vertical-align: middle;
}

.badge-warning {
  background: var(--color-warning-bg);
  color: var(--color-warning);
  border-color: #d97706;
}

.badge-zip {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #0284c7;
}

.badge-ok {
  background: var(--color-success-bg);
  color: var(--color-success);
  border-color: #059669;
}

/* Typography & Hero */
.hero-section {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 10px 0 14px 0 !important;
  margin-bottom: 0.5rem !important;
}

.hero-section h1 {
  font-family: var(--font-condensed);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0.35rem 0 0.35rem;
  color: var(--color-secondary);
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.45;
  color: #1e293b;
  margin: 0 0 0.5rem;
  max-width: 58rem;
}

.hero-meta {
  background: #f8fafc;
  border-left: 4px solid var(--color-primary);
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.hero-meta p {
  margin: 0.25rem 0;
}

.hero-price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Industrial Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-condensed);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid var(--color-border-heavy);
  box-shadow: var(--shadow-sm);
  transition: transform 0.05s ease;
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0px 0px 0px #000;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  border-color: #0369a1;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
}

.btn-secondary {
  background: var(--color-secondary);
  color: #ffffff;
  border-color: #000000;
}

.btn-secondary:hover {
  background: #1e293b;
  color: #ffffff;
}

.btn-accent {
  background: var(--color-accent);
  color: #ffffff;
  border-color: #7c2d12;
}

.btn-accent:hover {
  background: #c2410c;
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  color: var(--color-secondary);
  border-color: var(--color-border-heavy);
}

.btn-outline:hover {
  background: #e2e8f0;
}

.btn-tel {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.touch-control {
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
}

/* Banners */
.banner {
  background: #fef3c7;
  color: #78350f;
  border: 2px solid #d97706;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* Interactive Calculator Section */
.workbench-section {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 12px 0 24px 0 !important;
  margin-bottom: 1.5rem;
}

.workbench-card {
  background: #ffffff;
  border: 3px solid var(--color-border-heavy);
  box-shadow: var(--shadow-industrial);
  padding: 1.5rem;
}

[data-workbench-control="true"],
[data-stage-1-control="true"],
[data-ux-section="product"] button {
  min-height: 52px;
  box-sizing: border-box;
}

.section-header h2 {
  font-family: var(--font-condensed);
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0.5rem 0 0.25rem;
  color: var(--color-secondary);
}

.section-header p {
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
}

.workbench-controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  background: #f8fafc;
  border: 2px solid var(--color-border);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.control-group label {
  display: block;
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #334155;
  margin-bottom: 0.35rem;
}

.control-group select,
.control-group input {
  width: 100%;
  border: 2px solid #334155;
  background: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
}

.control-actions {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
}

.diagram-wrapper {
  border: 2px solid var(--color-border-heavy);
  background: #ffffff;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.diagram-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

.diagram-title {
  font-family: var(--font-condensed);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.status-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border: 1px solid currentColor;
}

.status-warning {
  background: #fef3c7;
  color: #92400e;
  border-color: #d97706;
}

.status-success {
  background: #d1fae5;
  color: #065f46;
  border-color: #059669;
}

.dispatch-timeline-svg {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #cbd5e1;
}

/* Standby Candidates Roster */
.standby-candidates-roster {
  border: 0;
  background: transparent;
  padding: 0.5rem 0;
  margin-bottom: 1.5rem;
}

.roster-header h3 {
  font-family: var(--font-condensed);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0.35rem 0;
  color: var(--color-secondary);
}

.candidate-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.standby-candidate-card {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  padding: 0.85rem;
  box-shadow: 2px 2px 0px #cbd5e1;
}

.highlight-candidate {
  border: 2px solid var(--color-accent);
  box-shadow: 3px 3px 0px var(--color-secondary);
}

.candidate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.candidate-rank {
  font-family: var(--font-condensed);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-accent);
}

.candidate-score {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  background: #e2e8f0;
  padding: 0.15rem 0.4rem;
}

.candidate-name {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.candidate-specs {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: #4a5568;
}

.candidate-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.fill-explanation-box {
  background: #ecfdf5;
  border: 2px solid #059669;
  padding: 1rem;
  margin-top: 1rem;
}

.fill-explanation-box h4 {
  margin: 0 0 0.5rem;
  color: #065f46;
  font-family: var(--font-condensed);
  font-size: 1.15rem;
  text-transform: uppercase;
}

.fill-explanation-box ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Metrics Summary Grid */
.metrics-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.metric-box {
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  padding: 1.25rem;
  text-align: center;
}

.metric-box.highlight {
  background: #0f172a;
  border-color: #000000;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.metric-label {
  display: block;
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
  margin-bottom: 0.5rem;
}

.metric-box.highlight .metric-label {
  color: #94a3b8;
}

.metric-value {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-secondary);
}

.metric-box.highlight .metric-value {
  color: #38bdf8;
}

.metric-sub {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 0.35rem;
}

.metric-box.highlight .metric-sub {
  color: #34d399;
}

.text-success {
  color: #047857 !important;
}

.text-accent {
  color: #38bdf8 !important;
}

/* Callout Section to Compare */
.compare-callout-section {
  margin-bottom: 2rem;
}

.compare-callout-card {
  background: #ffffff;
  border: 3px solid var(--color-border-heavy);
  box-shadow: var(--shadow-industrial);
  padding: 1.5rem;
}

.compare-callout-card h2 {
  font-family: var(--font-condensed);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0.5rem 0 0.35rem;
}

.compare-callout-card p {
  color: #334155;
  margin: 0 0 1rem;
  max-width: 50rem;
}

/* Comparison Section on /compare */
.comparison-section {
  background: #ffffff;
  border: 3px solid var(--color-border-heavy);
  box-shadow: var(--shadow-industrial);
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.comparison-section h2 {
  font-family: var(--font-condensed);
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--color-border-heavy);
  margin-bottom: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

table th {
  background: var(--color-secondary);
  color: #ffffff;
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid #000;
}

table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #cbd5e1;
  vertical-align: top;
}

table tr:nth-child(even) td {
  background: #f8fafc;
}

table tr.highlight-row td {
  background: #f0fdf4 !important;
  border-top: 2px solid #059669;
  border-bottom: 2px solid #059669;
  color: #064e3b;
  font-weight: 600;
}

.comparison-analysis {
  background: #f8fafc;
  border-left: 4px solid var(--color-primary);
  padding: 1rem;
  font-size: 0.95rem;
  color: #334155;
}

/* Pricing Card */
.pricing-card {
  max-width: 34rem;
  margin: 0 auto;
  background: #ffffff;
  border: 3px solid var(--color-border-heavy);
  box-shadow: var(--shadow-industrial);
  padding: 2.25rem;
}

.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid #cbd5e1;
  padding-bottom: 0.75rem;
}

.pricing-header h2 {
  font-family: var(--font-condensed);
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
}

.pricing-amount {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1;
}

.pricing-term {
  font-family: var(--font-condensed);
  font-size: 1.15rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  line-height: 2.1;
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
}

/* Waitlist Form */
.waitlist-card {
  background: #ffffff;
  border: 3px solid var(--color-border-heavy);
  box-shadow: var(--shadow-industrial);
  padding: 2rem;
}

.waitlist-card h2 {
  font-family: var(--font-condensed);
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row label,
.form-row-compact label,
.dispatch-form-card label {
  display: block;
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

input, select {
  width: 100%;
  border: 2px solid #334155;
  background: #ffffff;
  padding: 0.55rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
}

input:focus, select:focus {
  outline: 3px solid var(--color-primary);
  border-color: var(--color-primary-dark);
}

/* App Dispatch Board */
.board-top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.board-clock-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--color-secondary);
  color: #ffffff;
  padding: 0.25rem 0.65rem;
}

.board-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--color-border-heavy);
  padding-bottom: 0.75rem;
}

.board-header-row h1 {
  font-family: var(--font-condensed);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
}

.date-controls {
  display: flex;
  gap: 0.5rem;
}

/* Month Grid */
.month-selector-wrapper {
  background: #ffffff;
  border: 2px solid var(--color-border-heavy);
  padding: 0.75rem 0.25rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  max-width: 100%;
}

.month {
  display: grid;
  grid-template-columns: repeat(7, minmax(44px, 1fr));
  gap: 4px;
  max-width: 28rem;
  margin: 0 auto;
  width: 100%;
}

.month span, .month a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0;
  background: #ffffff;
  color: var(--color-secondary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 700;
  border: 1px solid #cbd5e1;
  box-sizing: border-box;
}

.month a[aria-current="date"] {
  background: var(--color-primary-dark);
  color: #ffffff;
  border-color: #000000;
  font-weight: 800;
}

.month i {
  display: block;
  width: 6px;
  height: 6px;
  margin: 3px auto 0;
  background: var(--color-accent);
}

.month a[aria-current="date"] i {
  background: #ffffff;
}

.wd {
  font-family: var(--font-condensed) !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  background: #f1f5f9 !important;
  border: none !important;
  min-height: 0 !important;
  padding: 0.25rem 0 !important;
  color: #475569 !important;
}

/* Standby Alerts for Cancelled Slots */
.standby-alerts-section {
  margin-bottom: 2rem;
}

.cancelled-slot-alert {
  background: #fffbeb;
  border: 3px solid #d97706;
  box-shadow: var(--shadow-industrial);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.alert-header {
  border-bottom: 2px dashed #d97706;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.standby-candidates-list {
  margin-top: 0.75rem;
}

.standby-card {
  background: #ffffff;
  border: 2px solid #0f172a;
  padding: 0.85rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
}

/* Tech Lanes Dispatch Grid */
.tech-lanes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.tech-column {
  background: #ffffff;
  border: 3px solid var(--color-border-heavy);
  box-shadow: var(--shadow-industrial);
  padding: 1rem;
}

.tech-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-secondary);
  color: #ffffff;
  padding: 0.65rem 0.85rem;
  margin: -1rem -1rem 1rem -1rem;
  border-bottom: 2px solid #000;
}

.tech-header h2 {
  font-family: var(--font-condensed);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
}

.slot-count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: var(--color-accent);
  padding: 0.15rem 0.5rem;
  font-weight: 700;
}

.job-card {
  background: #ffffff;
  border: 2px solid #334155;
  border-left: 6px solid var(--color-primary);
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e2e8f0;
}

.job-time {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-secondary);
}

.job-customer-name {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.job-phone {
  margin: 0 0 0.25rem;
}

.job-address {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: #475569;
}

.job-eq-info {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 0.35rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  margin: 0.5rem 0;
}

.reminder-status {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #047857;
  font-weight: 700;
  margin: 0.4rem 0 0.2rem;
}

.btn-text {
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-row-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.job-move-form {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 0.75rem;
  margin-top: 0.75rem;
}

/* Recall-Due Section */
.recall-due-section {
  background: #ffffff;
  border: 3px solid var(--color-border-heavy);
  box-shadow: var(--shadow-industrial);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.section-header-compact h2 {
  font-family: var(--font-condensed);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0.35rem 0 0.25rem;
}

.industrial-table {
  width: 100%;
  border-collapse: collapse;
}

.industrial-table th {
  background: var(--color-secondary);
  color: #ffffff;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid #000000;
}

.industrial-table td {
  padding: 0.65rem 0.85rem;
  border: 1px solid #cbd5e1;
  font-size: 0.9rem;
}

.industrial-table code {
  font-family: var(--font-mono);
  font-weight: 700;
  background: #f1f5f9;
  padding: 0.15rem 0.35rem;
  border: 1px solid #cbd5e1;
}

/* Forms Grid */
.forms-split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.dispatch-form-card {
  background: #ffffff;
  border: 3px solid var(--color-border-heavy);
  box-shadow: var(--shadow-industrial);
  padding: 1.5rem;
}

.dispatch-form-card h2 {
  font-family: var(--font-condensed);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
}

.dispatch-form-card label {
  margin-top: 0.5rem;
}

/* Utility text classes */
.text-muted {
  color: #475569;
}

footer {
  border-top: 3px solid var(--color-border-heavy);
  background: var(--color-secondary);
  color: #94a3b8;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
}

footer a {
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.5rem;
}

@media (max-width: 640px) {
  main {
    padding: 1rem 0.5rem 2rem;
  }
  .month-selector-wrapper {
    padding: 0.5rem 0.15rem;
  }
  .month {
    gap: 2px;
  }
}
