/* Basic styling for Quote App */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}:root {
  --brand-primary: #1f4e79;
  --brand-on-primary: #ffffff;
  --ui-nav-bg: #1f2937;
  --ui-nav-fg: #ffffff;
  --ui-table-head-bg: #334155;
  --ui-table-head-fg: #ffffff;
}h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}h2 {
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem 0;
  color: #2c3e50;
}h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 1rem 0;
  color: #34495e;
}a {
  color: #2c3e50;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}@media (max-width: 768px) {
  .navbar-container {
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .navbar-toggle {
    display: inline-flex;
  }

  .navbar-menu {
    width: 100%;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-1);
    margin-top: 0.25rem;
  }

  .navbar-menu-public {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: var(--space-1);
  }

  .navbar-container.menu-open .navbar-menu {
    display: grid;
  }

  .navbar-menu li {
    margin-bottom: 0;
  }

  .navbar-menu a {
    display: block;
    padding: 0.45rem 0.55rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
  }

  .account-menu {
    width: 100%;
  }

  .account-menu-trigger {
    width: 100%;
    justify-content: flex-start;
  }

  .account-dropdown {
    position: static;
    margin-top: 0.35rem;
    width: 100%;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
  }

  .account-dropdown a {
    color: #fff;
  }

  .account-dropdown a:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.2rem;
  }

  .quote-items-responsive {
    overflow: visible;
  }

  .quote-items-responsive .quote-items-table {
    min-width: 0;
  }

  .table-responsive table {
    min-width: 680px;
  }

  .customers-table-desktop {
    display: none;
  }

  .customers-mobile-list {
    display: grid;
    gap: 0.75rem;
  }

  table {
    font-size: 0.9rem;
  }

  table th,
  table td {
    padding: 0.5rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .follow-up-summary {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .quote-summary-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .search-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-bar input[type="text"] {
    min-width: 0;
  }

  .search-bar input[type="submit"],
  .search-bar .btn,
  .header-actions .btn,
  form input[type="submit"],
  .actions .btn,
  .actions .button_to,
  .quote-toolbar .btn,
  .quote-toolbar .button_to,
  .quote-card-actions .btn,
  .quote-card-actions .button_to,
  .customer-task-actions .btn,
  .customer-task-actions .button_to {
    width: 100%;
  }

  .quote-queue-toolbar-grid {
    grid-template-columns: 1fr;
  }

  .quote-action-primary {
    width: 100%;
  }

  .customer-task-card {
    align-items: stretch;
  }

  .customer-task-actions {
    width: 100%;
  }

  .customer-follow-up-meta {
    flex-direction: column;
    gap: 0.2rem;
  }

  .quote-toolbar {
    align-items: stretch;
  }

  .quote-toolbar-left,
  .quote-toolbar-right,
  .quote-toolbar-right-secondary,
  .quote-toolbar-right-primary {
    width: 100%;
  }

  .quote-toolbar-right-secondary,
  .quote-toolbar-right-primary {
    justify-content: flex-start;
  }

  .quote-total-box {
    max-width: 100%;
  }

  .landing-hero {
    grid-template-columns: 1fr;
  }

  .landing-hero-copy,
  .landing-hero-panel,
  .landing-section,
  .landing-bottom-cta {
    padding: 0.95rem;
  }

  .landing-proof {
    grid-template-columns: 1fr;
  }

  .landing-feature-grid {
    grid-template-columns: 1fr;
  }

  .landing-steps {
    grid-template-columns: 1fr;
  }

  .landing-contact-layout {
    grid-template-columns: 1fr;
  }

  .landing-contact-grid {
    grid-template-columns: 1fr;
  }

  .landing-contact-submit-wrap {
    align-items: stretch;
  }

  .quote-document,
  .customer-details,
  .quote-details,
  .search-section {
    padding: 1rem;
  }

  .quote-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.2rem;
  }

  .customer-list-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-1);
    overflow: visible;
    padding-bottom: 0;
  }

  .quote-filter-pill {
    white-space: nowrap;
  }

  .customer-list-filters .quote-filter-pill {
    text-align: center;
    padding: 0.45rem 0.35rem;
    white-space: normal;
  }

  .quote-edit-summary {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }

  .quote-form-grid {
    grid-template-columns: 1fr;
  }

  .quote-form-grid-span-2 {
    grid-column: auto;
  }

  .quote-form-section-totals {
    grid-template-columns: 1fr;
  }

  .quote-meta-grid {
    grid-template-columns: 1fr;
  }

  .quote-doc-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .quote-card-layout {
    flex-direction: column;
  }

  .quote-card-side {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
  }

  .quote-card-badges {
    justify-content: flex-start;
  }

  .quote-card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .quote-card-actions .button_to {
    width: 100%;
  }

  .quote-card-actions .btn {
    width: 100%;
  }

  h1 {
    overflow-wrap: anywhere;
  }

  .form-page-back-link {
    display: block;
    margin-top: 1rem;
  }

  .quote-doc-logo-wrap {
    text-align: left;
  }

  .product-search .js-product-name {
    min-width: 140px;
  }

  .quote-items-responsive .quote-items-table input[type="text"],
  .quote-items-responsive .quote-items-table input[type="number"],
  .quote-items-responsive .quote-items-table textarea,
  .quote-items-responsive .quote-items-table .btn {
    min-height: 40px;
  }

  .quote-items-responsive .quote-items-table {
    min-width: 0;
    border-spacing: 0;
    background: transparent;
  }

  .quote-items-responsive .quote-items-table thead {
    display: none;
  }

  .quote-items-responsive .quote-items-table,
  .quote-items-responsive .quote-items-table tbody,
  .quote-items-responsive .quote-items-table tr,
  .quote-items-responsive .quote-items-table td {
    display: block;
    width: 100%;
  }

  .quote-items-responsive .quote-items-table tr {
    margin-bottom: 0.65rem;
    border: 1px solid #d8e1eb;
    border-radius: 10px;
    overflow: visible;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  }

  .quote-items-responsive .quote-items-table td {
    border: none;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 0.55rem 0.65rem;
  }

  .quote-items-responsive .quote-items-table td:last-child {
    border-bottom: none;
  }

  .quote-items-responsive .quote-items-table td::before {
    display: block;
    margin-bottom: 0.35rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
  }

  .quote-items-responsive .quote-items-table td:nth-child(1)::before { content: "Product Name"; }
  .quote-items-responsive .quote-items-table td:nth-child(2)::before { content: "Description"; }
  .quote-items-responsive .quote-items-table td:nth-child(3)::before { content: "Specifications"; }
  .quote-items-responsive .quote-items-table td:nth-child(4)::before { content: "Add-ons"; }
  .quote-items-responsive .quote-items-table td:nth-child(5)::before { content: "Unit Price"; }
  .quote-items-responsive .quote-items-table td:nth-child(6)::before { content: "Quantity"; }
  .quote-items-responsive .quote-items-table td:nth-child(7)::before { content: "Action"; }

  .quote-items-responsive .quote-col-product,
  .quote-items-responsive .quote-col-desc,
  .quote-items-responsive .quote-col-specs,
  .quote-items-responsive .quote-col-addons,
  .quote-items-responsive .quote-col-price,
  .quote-items-responsive .quote-col-qty,
  .quote-items-responsive .quote-col-remove {
    width: 100%;
  }

  .quote-items-responsive .quote-col-remove .btn {
    width: 100%;
  }

  .quote-items-responsive .product-search {
    gap: 6px;
  }

  .quote-items-responsive .product-search .js-product-toggle {
    flex: 0 0 34px;
  }

  .quote-items-responsive .product-search .js-product-dropdown {
    max-height: 160px;
  }

  .auth-page {
    min-height: auto;
    padding-top: 0.5rem;
  }

  .auth-card {
    max-width: 100%;
    padding: 1rem;
  }

  main {
    margin: 1rem auto;
  }
}:root {
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --ui-radius-sm: 8px;
  --ui-radius-md: 10px;
  --ui-radius-lg: 12px;
  --ui-border: #dbe3ee;
  --ui-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}h1 {
  margin: 0 0 var(--space-2) 0;
  font-size: 2rem;
  line-height: 1.2;
}h2 {
  margin: var(--space-3) 0 var(--space-2) 0;
  font-size: 1.5rem;
  line-height: 1.25;
}h3 {
  margin: var(--space-3) 0 var(--space-2) 0;
  font-size: 1.25rem;
  line-height: 1.3;
}