/* ==========================================================================
   SmartPaisa Offer Comparison Tool — Modern Design System (2026)
   100% Vanilla CSS3. Mobile-First. Dark Mode Support. High Performance.
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Color Palette - Light Mode Default */
  --bg-main: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --bg-surface-alt: #F8FAFC;
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-tertiary: #64748B;
  --text-muted: #94A3B8;

  --border-color: #E2E8F0;
  --border-focus: #3B82F6;

  /* Brand Accents */
  --primary-emerald: #059669;
  --primary-emerald-hover: #047857;
  --primary-emerald-light: #ECFDF5;

  --brand-indigo: #4F46E5;
  --brand-indigo-light: #EEF2FF;

  --accent-amber: #D97706;
  --accent-amber-light: #FEF3C7;

  --accent-rose: #E11D48;

  /* Winner Badge Highlight */
  --winner-border: #10B981;
  --winner-glow: rgba(16, 185, 129, 0.15);
  --winner-bg: #F0FDF4;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.25);

  /* Radius & Transitions */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 250ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Dark Mode Overrides (System Preference & Manual Toggle) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-main: #0B0F19;
    --bg-surface: #111827;
    --bg-surface-elevated: #1F2937;
    --bg-surface-alt: #182232;

    --text-primary: #F9FAFB;
    --text-secondary: #9CA3AF;
    --text-tertiary: #6B7280;
    --text-muted: #4B5563;

    --border-color: #1F2937;
    --border-focus: #60A5FA;

    --primary-emerald: #10B981;
    --primary-emerald-hover: #059669;
    --primary-emerald-light: rgba(16, 185, 129, 0.12);

    --brand-indigo: #6366F1;
    --brand-indigo-light: rgba(99, 102, 241, 0.12);

    --winner-border: #10B981;
    --winner-glow: rgba(16, 185, 129, 0.25);
    --winner-bg: rgba(16, 185, 129, 0.08);
  }
}

:root[data-theme="dark"], [data-theme="dark"] {
  --bg-main: #0B0F19 !important;
  --bg-surface: #111827 !important;
  --bg-surface-elevated: #1F2937 !important;
  --bg-surface-alt: #182232 !important;

  --text-primary: #F9FAFB !important;
  --text-secondary: #9CA3AF !important;
  --text-tertiary: #6B7280 !important;
  --text-muted: #4B5563 !important;

  --border-color: #1F2937 !important;
  --border-focus: #60A5FA !important;

  --primary-emerald: #10B981 !important;
  --primary-emerald-hover: #059669 !important;
  --primary-emerald-light: rgba(16, 185, 129, 0.12) !important;

  --brand-indigo: #6366F1 !important;
  --brand-indigo-light: rgba(99, 102, 241, 0.12) !important;

  --winner-border: #10B981 !important;
  --winner-glow: rgba(16, 185, 129, 0.25) !important;
  --winner-bg: rgba(16, 185, 129, 0.08) !important;
}

:root[data-theme="light"], [data-theme="light"] {
  --bg-main: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --bg-surface-alt: #F8FAFC;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-tertiary: #64748B;
  --text-muted: #94A3B8;

  --border-color: #E2E8F0;
  --border-focus: #3B82F6;

  --primary-emerald: #059669;
  --primary-emerald-hover: #047857;
  --primary-emerald-light: #ECFDF5;

  --brand-indigo: #4F46E5;
  --brand-indigo-light: #EEF2FF;

  --winner-border: #10B981;
  --winner-glow: rgba(16, 185, 129, 0.15);
  --winner-bg: #F0FDF4;
}

/* --- Base Reset & Defaults --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--bg-main);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--brand-indigo);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  text-decoration: underline;
}

/* Accessibility Focus States */
:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

/* --- Header / Navigation --- */
.site-header {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--primary-emerald), var(--brand-indigo));
  color: #FFFFFF;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
}

.brand-tag {
  font-size: 0.75rem;
  background: var(--primary-emerald-light);
  color: var(--primary-emerald);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

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

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-emerald);
  text-decoration: none;
}

.theme-toggle-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--border-color);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* --- Container & Layout --- */
.main-wrapper {
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem 1.25rem;
}

/* Hero Section */
.hero-section {
  text-align: center;
  max-width: 840px;
  margin: 1rem auto 2.5rem auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-emerald-light);
  color: var(--primary-emerald);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary-emerald), var(--brand-indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
  color: var(--text-tertiary);
  background: var(--bg-surface-elevated);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

/* --- Offer Comparison Controls Bar --- */
.calculator-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 1rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-primary {
  background: var(--primary-emerald);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--primary-emerald-hover);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: var(--bg-surface-elevated);
}

.btn-share {
  background: linear-gradient(135deg, var(--brand-indigo), #3B82F6);
  color: #FFFFFF;
}

.btn-share:hover {
  opacity: 0.95;
  box-shadow: var(--shadow-md);
}

/* --- Comparison Grid Layout --- */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Individual Offer Card */
.offer-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.offer-card.is-winner {
  border: 2px solid var(--winner-border);
  box-shadow: var(--shadow-glow);
  background: var(--winner-bg);
}

.winner-badge {
  position: absolute;
  top: -14px;
  right: 1.25rem;
  background: var(--primary-emerald);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

.offer-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.offer-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.offer-card-title input {
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--text-primary);
  width: 100%;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
}

.offer-card-title input:focus {
  background: var(--bg-surface-elevated);
  outline: 1px solid var(--border-focus);
}

.remove-offer-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.2rem;
}

.remove-offer-btn:hover {
  color: var(--accent-rose);
}

/* Form Group & Controls */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

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

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

.input-prefix, .input-suffix {
  position: absolute;
  font-size: 0.9rem;
  color: var(--text-tertiary);
  font-weight: 500;
  pointer-events: none;
}

.input-prefix {
  left: 0.85rem;
}

.input-suffix {
  right: 0.85rem;
}

.form-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input.has-prefix {
  padding-left: 2.2rem;
}

.form-input.has-suffix {
  padding-right: 2.2rem;
}

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

.form-select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
}

/* Radio Toggle Pill Group */
.toggle-pill-group {
  display: flex;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.2rem;
  gap: 0.2rem;
}

.toggle-pill-option {
  flex: 1;
  text-align: center;
  position: relative;
}

.toggle-pill-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-pill-option label {
  display: block;
  padding: 0.4rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.toggle-pill-option input:checked + label {
  background: var(--bg-surface);
  color: var(--primary-emerald);
  box-shadow: var(--shadow-sm);
}

/* Advanced Settings Toggle Drawer */
.advanced-toggle-btn {
  background: transparent;
  border: none;
  color: var(--brand-indigo);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.75rem 0;
}

.advanced-drawer {
  display: none;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-color);
}

.advanced-drawer.open {
  display: block;
}

/* Result Metrics Box inside Card */
.result-box {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: auto;
}

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.875rem;
  border-bottom: 1px dashed var(--border-color);
}

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

.result-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.result-value {
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-sans);
}

.result-value.highlight-green {
  color: var(--primary-emerald);
  font-size: 1.15rem;
}

.result-value.highlight-total {
  color: var(--brand-indigo);
  font-size: 1.05rem;
}

/* --- Winner & Analytical Summary Section --- */
.summary-dashboard {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
}

.summary-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.summary-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

.verdict-box {
  background: var(--primary-emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

/* Summary Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.comparison-table th, .comparison-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: var(--bg-surface-elevated);
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.comparison-table tr:hover td {
  background: var(--bg-surface-elevated);
}

/* --- Formulas & Transparency Section --- */
.transparency-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.formula-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.formula-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.formula-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-emerald);
}

.formula-code {
  font-family: var(--font-mono);
  font-size: 0.825rem;
  background: var(--bg-main);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin: 0.5rem 0;
  color: var(--text-primary);
  word-break: break-all;
}

.formula-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Content / SEO Article Styling --- */
.content-article {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
}

.content-article h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.content-article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 0.85rem 0;
  color: var(--text-primary);
}

.content-article h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.5rem 0 0.6rem 0;
  color: var(--text-primary);
}

.content-article p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.content-article ul, .content-article ol {
  margin: 1rem 0 1.25rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.content-article li {
  margin-bottom: 0.5rem;
}

/* Answer Engine Optimization (AEO) Callout Box */
.aeo-direct-answer {
  background: var(--primary-emerald-light);
  border-left: 4px solid var(--primary-emerald);
  padding: 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1rem 0 1.5rem 0;
  font-size: 0.975rem;
  color: var(--text-primary);
  line-height: 1.6;
}

/* --- FAQ Accordion Section --- */
.faq-section {
  margin: 2.5rem 0;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  background: var(--bg-surface);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.25rem;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-answer {
  padding: 0 1.25rem 1.25rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 3rem 1.25rem 1.5rem 1.25rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--primary-emerald);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
  }

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

  .calculator-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .controls-group {
    justify-content: space-between;
  }
}

/* Quick Calculator Switcher Bar */
.quick-calc-switcher {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.quick-calc-switcher-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-calc-select {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.quick-calc-select:focus {
  border-color: var(--primary-emerald);
}

