/* -------------------------------------------------------------
 * RoofCal.com - Design System & Stylesheet
 * ----------------------------------------------------------- */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-orange: #ea580c;
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-focus: #3b82f6;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

button, input, select {
  font-family: inherit;
}

/* Header & Navigation */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.brand-icon {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

.brand-suffix {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hero Section */
.hero-section {
  background: radial-gradient(circle at top right, #1e3a8a, #0f172a 75%);
  color: white;
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(147, 197, 253, 0.3);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 1.5rem;
}

.hero-highlights {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #94a3b8;
}

.hero-highlights span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-highlights svg {
  color: #38bdf8;
}

/* Main Container Layout */
.main-wrapper {
  max-width: 1280px;
  margin: -1.5rem auto 3rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

.app-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.75rem;
}

@media (max-width: 1024px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
}

/* Calculator Card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}

.card-body {
  padding: 1.5rem;
}

/* Tabs */
.tabs-nav {
  display: flex;
  background: #f1f5f9;
  padding: 0.3rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  gap: 0.25rem;
}

.tab-btn {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.tab-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Form Styles */
.form-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

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

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: normal;
}

.input-with-unit {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-unit input,
.input-with-unit select {
  width: 100%;
  padding: 0.65rem 2.8rem 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input-with-unit input:focus,
.input-with-unit select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.input-unit {
  position: absolute;
  right: 0.85rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  pointer-events: none;
}

/* Roof Style Selector (Radio Cards) */
.roof-style-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 600px) {
  .roof-style-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.style-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.style-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.style-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.style-card svg {
  color: var(--primary);
}

.style-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
}

/* Pitch Slider & Quick Pills */
.pitch-slider-container {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.pitch-display-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.85rem;
}

.pitch-title-tag {
  font-weight: 700;
  font-size: 0.95rem;
}

.pitch-big-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.pitch-sub-info {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pitch-range {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin-bottom: 1rem;
}

.pitch-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  transition: transform 0.1s ease;
}

.pitch-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.pitch-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pitch-pill {
  padding: 0.3rem 0.65rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.pitch-pill:hover,
.pitch-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Waste Factor Selector */
.waste-container {
  margin-bottom: 1.5rem;
}

.waste-slider-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.waste-pct-badge {
  background: #fef3c7;
  color: #b45309;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 60px;
  text-align: center;
}

/* Results & KPI Scorecard */
.results-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.kpi-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.kpi-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.kpi-box.featured {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(30, 58, 138, 0.6));
  border-color: rgba(96, 165, 250, 0.4);
}

.kpi-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.kpi-val-group {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.kpi-val {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.kpi-unit {
  font-size: 0.95rem;
  font-weight: 600;
  color: #38bdf8;
}

.kpi-sub {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

/* Secondary KPI Grid */
.kpi-sub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding-top: 1.25rem;
}

@media (max-width: 600px) {
  .kpi-sub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.kpi-mini {
  text-align: center;
}

.kpi-mini-label {
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
}

.kpi-mini-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
}

/* Visualizer Card (Right Column) */
.visualizer-card {
  display: flex;
  flex-direction: column;
}

.canvas-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.toggle-group {
  display: flex;
  background: #f1f5f9;
  border-radius: var(--radius-sm);
  padding: 2px;
}

.toggle-btn {
  padding: 0.35rem 0.75rem;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.toggle-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.canvas-wrapper {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  height: 320px;
}

#roof-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Materials Takeoff Checklist */
.takeoff-card {
  margin-top: 1.75rem;
}

.material-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.material-item-row:last-child {
  border-bottom: none;
}

.mat-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mat-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.mat-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

.mat-detail {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mat-qty {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  text-align: right;
}

.mat-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

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

.btn-accent {
  background: var(--accent-orange);
  color: white;
}

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

.btn-secondary {
  background: #f1f5f9;
  color: var(--text-main);
}

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

.btn-block {
  width: 100%;
}

/* Proposal Trigger Banner */
.proposal-cta-card {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .proposal-cta-card {
    flex-direction: column;
    text-align: center;
  }
}

.proposal-cta-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.proposal-cta-desc {
  font-size: 0.85rem;
  color: #bfdbfe;
}

/* Pitch Reference Table Section */
.pitch-table-section {
  max-width: 1280px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--dark);
}

.section-heading p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pitch-table-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

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

.data-table th {
  background: #f8fafc;
  padding: 0.85rem 1rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
}

.data-table tr:hover td {
  background: #f8fafc;
}

.data-table tr.highlight td {
  background: #eff6ff;
  font-weight: 600;
  color: var(--primary);
}

/* Multi-Section Builder Styles */
.sections-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.section-item-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.section-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-remove-sec {
  background: transparent;
  border: none;
  color: #dc2626;
  cursor: pointer;
  padding: 0.35rem;
  border-radius: var(--radius-sm);
}

.btn-remove-sec:hover {
  background: #fee2e2;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid #1e293b;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.footer-copy {
  font-size: 0.85rem;
}

/* Modal Overlay & Card */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  padding: 1rem 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-close {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 0.5rem;
}

.btn-close:hover {
  color: var(--dark);
}

/* Printable Document Styling */
.proposal-document {
  padding: 2.5rem;
  background: #ffffff;
  overflow-y: auto;
  font-size: 0.9rem;
  color: #1e293b;
}

.proposal-doc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand h2 {
  font-size: 1.5rem;
  color: var(--dark);
  font-weight: 800;
}

.brand .sub {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.doc-meta {
  text-align: right;
  font-size: 0.85rem;
}

.badge-proposal {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.35rem;
}

.proposal-parties-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}

.party-box h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.party-box .name {
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
}

.section-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.35rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.proposal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.75rem;
  font-size: 0.88rem;
}

.proposal-table th {
  background: #f1f5f9;
  text-align: left;
  padding: 0.65rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.proposal-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #e2e8f0;
}

.proposal-table tr.highlight-row td {
  background: #eff6ff;
  color: var(--primary-dark);
}

.proposal-table tr.highlight-row-alt td {
  background: #fef3c7;
  color: #92400e;
}

.cost-summary-table td.amount {
  text-align: right;
  font-weight: 600;
}

.cost-summary-table tr.total-row td {
  background: #0f172a;
  color: white;
  font-size: 1.1rem;
}

.cost-summary-table tr.total-row td.total-amount {
  text-align: right;
  color: #38bdf8;
}

.cost-summary-table tr.unit-rate-row td {
  text-align: right;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: #f8fafc;
}

.notes-section {
  background: #f8fafc;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.notes-section h4 {
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.doc-signatures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}

.sig-line .line {
  border-bottom: 1px solid #94a3b8;
  height: 40px;
  margin-bottom: 0.5rem;
}

.sig-line p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.doc-footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 2rem;
}

/* Print Stylesheet */
@media print {
  body * {
    visibility: hidden;
  }

  #printable-proposal,
  #printable-proposal * {
    visibility: visible;
  }

  #printable-proposal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
  }

  .no-print {
    display: none !important;
  }
}
