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

    /* DaisyUI integration - ensure our CSS variables work with DaisyUI */
    :root {
      /* DaisyUI theme colors mapped to our variables */
      --rounded-box: var(--radius-lg);
      --rounded-btn: var(--radius);
      --rounded-badge: var(--radius);
    }
    
    /* Custom styles for navigation */
    .tab-nav-item.active {
      background-color: hsl(var(--p) / 0.1);
      color: hsl(var(--p));
    }
    
    /* Clean minimal tabs */
    .tabs-lifted {
      padding: 0;
      gap: 0;
    }
    
    .tabs-lifted .tab {
      padding: 6px 12px;
      min-height: auto;
      border-radius: 0;
    }
    
    .tabs-lifted .tab:first-child {
      border-top-left-radius: var(--radius);
    }
    
    .tabs-lifted .tab.tab-active {
      background-color: var(--bg);
      border-bottom-color: var(--bg);
      color: var(--primary);
      font-weight: 600;
    }
    
    .tabs-lifted .tab:not(.tab-active) {
      background-color: transparent;
      color: var(--text-muted);
    }
    
    .tabs-lifted .tab:not(.tab-active):hover {
      background-color: var(--bg-panel);
      color: var(--text);
    }

    :root {
      /* Brand colors - same for both modes */
      --brand-blue: #0066CC;
      --brand-orange: #FF6600;
      --brand-white: #FFFFFF;
      
      /* Light mode defaults */
      --primary: #0066CC;
      --primary-dark: #0052A3;
      --secondary: #FF6600;
      --danger: #ef4444;
      --warning: #f59e0b;
      --bg: #FFFFFF;
      --bg-panel: #F8F9FA;
      --bg-panel-light: #E9ECEF;
      --text: #333333;
      --text-muted: #666666;
      --border: #E0E0E0;
      --shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
      --radius: 8px;
      --radius-lg: 12px;
    }

    @media (prefers-color-scheme: dark) {
      :root {
        /* Dark mode overrides */
        --primary: #0066CC;
        --primary-dark: #0052A3;
        --secondary: #FF6600;
        --danger: #ef4444;
        --warning: #f59e0b;
        --bg: #1a1a1a;
        --bg-panel: #333333;
        --bg-panel-light: #555555;
        --text: #FFFFFF;
        --text-muted: #CCCCCC;
        --border: #555555;
        --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
      }
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
    }

    .container {
      max-width: 1800px;
      margin: 0 auto;
      padding: 20px;
    }

    .header {
      background: var(--bg-panel);
      padding: 24px;
      border-radius: var(--radius-lg);
      margin-bottom: 24px;
      box-shadow: var(--shadow);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .header h1 {
      font-size: 28px;
      font-weight: 700;
      color: var(--text);
    }

    .header .logo {
      max-height: 50px;
      max-width: 200px;
      height: auto;
      width: auto;
      object-fit: contain;
    }

    .service-selector {
      display: flex;
      gap: 12px;
      align-items: center;
      margin-bottom: 24px;
      background: var(--bg-panel);
      padding: 16px;
      border-radius: var(--radius-lg);
    }

    .service-selector select {
      flex: 1;
      padding: 10px 14px;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      color: var(--text);
      font-size: 14px;
    }

    .tabs {
      display: flex;
      gap: 8px;
      margin-bottom: 0;
      background: transparent;
      padding: 0;
      border-radius: var(--radius-lg);
      flex-wrap: wrap;
    }

    .tab {
      padding: 12px 24px;
      background: transparent;
      border: none;
      color: var(--text-muted);
      cursor: pointer;
      border-radius: var(--radius);
      font-size: 14px;
      font-weight: 600;
      transition: all 0.2s;
    }

    .tab.active {
      background: var(--primary);
      color: var(--brand-white);
    }

    .tab:hover:not(.active) {
      background: var(--bg-panel-light);
      color: var(--text);
    }

    .tab-content {
      display: none;
    }

    .tab-content.active {
      display: block;
    }

    .main-view {
      display: none;
    }

    .main-view.active {
      display: block;
    }

    .grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

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

    .panel {
      background: var(--bg-panel);
      border-radius: var(--radius-lg);
      padding: 24px;
      box-shadow: var(--shadow);
    }

    .panel h2 {
      font-size: 20px;
      margin-bottom: 20px;
      color: var(--text);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .btn {
      padding: 8px 14px;
      border: none;
      border-radius: var(--radius);
      cursor: pointer;
      font-size: 13px;
      font-weight: 600;
      transition: all 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

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

    .btn-primary:hover {
      background: var(--primary-dark);
      transform: translateY(-1px);
    }

    .btn-secondary {
      background: var(--bg-panel-light);
      color: var(--text);
      border: 1px solid var(--border);
    }

    .btn-secondary:hover {
      background: var(--border);
    }

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

    .btn-danger:hover {
      background: #dc2626;
    }

    .btn-small {
      padding: 5px 10px;
      font-size: 11px;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: var(--text);
      font-size: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%;
      padding: 10px 14px;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      color: var(--text);
      font-size: 14px;
      font-family: inherit;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    }

    .form-group textarea {
      resize: vertical;
      min-height: 80px;
    }

    .list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .list-item {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 16px;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      transition: all 0.2s;
      cursor: pointer;
    }

    .list-item:hover {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    }

    .list-item-content {
      flex: 1;
    }

    .list-item-content h3 {
      font-size: 16px;
      margin-bottom: 4px;
      color: var(--text);
    }

    .list-item-content p {
      font-size: 12px;
      color: var(--text-muted);
    }

    .item-actions {
      display: flex;
      gap: 8px;
    }

    .badge {
      border-radius: 3px;
      text-transform: uppercase;
    }

    .badge-primary {
      background: rgba(0, 102, 204, 0.2);
      color: var(--primary);
    }

    .badge-secondary {
      background: rgba(255, 102, 0, 0.2);
      color: var(--secondary);
    }

    .badge-warning {
      background: rgba(245, 158, 11, 0.2);
      color: var(--warning);
    }

    /* CRM Table Styles */
    .crm-table-container {
      overflow-x: auto;
      background: var(--bg-panel);
      border-radius: var(--radius);
      border: 1px solid var(--border);
    }

    .crm-table {
      width: 100%;
      border-collapse: collapse;
      min-width: 1200px;
    }

    .crm-table thead {
      background: var(--bg-panel-light);
      border-bottom: 2px solid var(--border);
    }

    .crm-table th {
      padding: 12px 16px;
      text-align: left;
      font-weight: 600;
      font-size: 12px;
      text-transform: uppercase;
      color: var(--text-muted);
      letter-spacing: 0.5px;
      white-space: nowrap;
    }

    .crm-table th:first-child {
      padding-left: 20px;
    }

    .crm-table th:last-child {
      padding-right: 20px;
    }

    .crm-table tbody tr {
      border-bottom: 1px solid var(--border);
      transition: background-color 0.15s;
      cursor: pointer;
    }

    .crm-table tbody tr:hover {
      background: var(--bg-panel-light);
    }

    .crm-table tbody tr:last-child {
      border-bottom: none;
    }

    .crm-table td {
      padding: 14px 16px;
      font-size: 14px;
      color: var(--text);
      vertical-align: middle;
    }

    .crm-table td:first-child {
      padding-left: 20px;
    }

    .crm-table td:last-child {
      padding-right: 20px;
    }

    .crm-table .status-badge {
      display: inline-block;
      padding: 4px 10px;
      border-radius: 12px;
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.3px;
    }

    .crm-table .status-new {
      background: rgba(245, 158, 11, 0.2);
      color: var(--warning);
    }

    .crm-table .status-contacted {
      background: rgba(255, 102, 0, 0.2);
      color: var(--secondary);
    }

    .crm-table .status-quoted {
      background: rgba(255, 102, 0, 0.2);
      color: var(--secondary);
    }

    .crm-table .status-converted {
      background: rgba(255, 102, 0, 0.3);
      color: var(--secondary);
      font-weight: 700;
    }

    .crm-table .status-lost {
      background: rgba(239, 68, 68, 0.2);
      color: var(--danger);
    }

    .crm-table .contact-name {
      font-weight: 600;
      color: var(--text);
    }

    .crm-table .contact-email {
      color: var(--primary);
      text-decoration: none;
    }

    .crm-table .contact-email:hover {
      text-decoration: underline;
    }

    .crm-table .contact-phone {
      color: var(--text-muted);
      font-size: 13px;
    }

    .crm-table .quote-amount {
      font-size: 14px;
      font-weight: 600;
      color: var(--secondary);
    }

    .crm-table .date-cell {
      color: var(--text-muted);
      font-size: 13px;
      white-space: nowrap;
    }

    .crm-table .actions-cell {
      display: flex;
      gap: 6px;
      align-items: center;
    }

    .crm-table .actions-cell button {
      padding: 6px 12px;
      font-size: 12px;
    }

    .crm-table .job-badge {
      display: inline-block;
      padding: 2px 6px;
      border-radius: 4px;
      font-size: 10px;
      background: var(--secondary);
      color: var(--brand-white);
      margin-left: 6px;
    }

    .preview-panel {
      background: var(--bg);
      color: var(--text);
      min-height: 600px;
      padding: 32px;
      border-radius: var(--radius-lg);
      position: relative;
      border: 1px solid var(--border);
    }

    .preview-panel h2 {
      color: var(--text);
      margin-bottom: 24px;
      font-size: 24px;
    }

    .wizard-progress {
      display: flex;
      justify-content: space-between;
      margin-bottom: 32px;
      position: relative;
      padding: 0 20px;
    }

    .wizard-progress::before {
      content: '';
      position: absolute;
      top: 20px;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--border);
      z-index: 0;
    }

    .wizard-step {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      flex: 1;
      cursor: pointer;
      transition: opacity 0.2s;
    }
    
    .wizard-step:hover {
      opacity: 0.8;
    }
    
    .wizard-step:active {
      opacity: 0.6;
    }

    .wizard-step-circle {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--bg);
      border: 2px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      color: var(--text-muted);
      margin-bottom: 8px;
    }

    .wizard-step.active .wizard-step-circle {
      background: var(--primary);
      border-color: var(--primary);
      color: var(--brand-white);
    }

    .wizard-step.completed .wizard-step-circle {
      background: var(--secondary);
      border-color: var(--secondary);
      color: var(--brand-white);
    }

    .wizard-step-label {
      font-size: 12px;
      color: var(--text-muted);
      text-align: center;
    }

    .wizard-step.active .wizard-step-label {
      color: var(--text);
      font-weight: 600;
    }
    
    .wizard-step.completed .wizard-step-label {
      color: var(--secondary);
    }
    
    .wizard-step:hover .wizard-step-circle {
      transform: scale(1.1);
      transition: transform 0.2s;
    }
    
    .wizard-step:hover .wizard-step-label {
      color: var(--primary);
    }

    .wizard-progress-percentage {
      margin-bottom: 24px;
    }

    .wizard-section-name {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 12px;
      color: var(--text);
    }

    .wizard-progress-percent {
      font-size: 14px;
      color: var(--text-muted);
      margin-top: 8px;
      text-align: right;
    }

    .wizard-content {
      min-height: 400px;
    }

    .wizard-section {
      display: none;
    }

    .wizard-section.active {
      display: block;
    }

    .wizard-section h3 {
      color: var(--text);
      margin-bottom: 24px;
      font-size: 20px;
      padding-bottom: 12px;
      border-bottom: 2px solid var(--border);
    }

    .wizard-navigation {
      display: flex;
      justify-content: space-between;
      margin-top: 32px;
      padding-top: 24px;
      border-top: 1px solid var(--border);
    }

    .wizard-navigation button {
      padding: 12px 24px;
      border: none;
      border-radius: var(--radius);
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s;
    }

    .wizard-btn-prev {
      background: var(--bg-panel-light);
      color: var(--text);
    }

    .wizard-btn-prev:hover {
      background: var(--border);
    }

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

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

    .wizard-btn-submit {
      background: var(--secondary);
      color: var(--brand-white);
    }

    .wizard-btn-submit:hover {
      background: #059669;
    }

    .preview-section {
      margin-bottom: 32px;
    }

    .preview-section h3 {
      color: var(--text);
      margin-bottom: 16px;
      font-size: 18px;
      padding-bottom: 8px;
      border-bottom: 2px solid var(--border);
    }

    .quote-summary {
      background: var(--bg-panel);
      border-radius: var(--radius-lg);
      padding: 24px;
      margin-bottom: 32px;
      border: 1px solid var(--border);
    }

    .quote-summary h3 {
      margin-bottom: 16px;
      color: var(--text);
    }

    .quote-amount {
      font-size: 48px;
      font-weight: 700;
      color: var(--secondary);
      text-align: center;
      margin: 24px 0;
    }

    .contact-form {
      margin-top: 32px;
    }

    .contact-form h3 {
      margin-bottom: 20px;
      color: var(--text);
    }

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

    .form-group-preview {
      margin-bottom: 20px;
    }

    .form-group-preview label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: var(--text);
      font-size: 14px;
    }

    .form-group-preview input,
    .form-group-preview textarea {
      width: 100%;
      padding: 12px 14px;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      color: var(--text);
      font-size: 14px;
      font-family: inherit;
    }

    .form-group-preview input:focus,
    .form-group-preview textarea:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    }

    .form-group-preview textarea {
      resize: vertical;
      min-height: 100px;
    }

    .validation-error {
      color: var(--danger);
      font-size: 12px;
      margin-top: 4px;
    }

    .preview-question {
      margin-bottom: 20px;
    }

    .preview-question label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: var(--text);
    }

    .preview-question input,
    .preview-question select {
      width: 100%;
      padding: 10px 14px;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      color: var(--text);
      font-size: 14px;
    }

    .preview-question input:focus,
    .preview-question select:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    }

    .calculation-panel {
      background: var(--bg-panel-light);
      border: 2px dashed var(--border);
      border-radius: var(--radius);
      padding: 16px;
      margin-top: 20px;
    }

    .calculation-panel h4 {
      margin-bottom: 12px;
      color: var(--text);
      font-size: 14px;
    }

    .calculation-formula {
      background: var(--bg);
      padding: 12px;
      border-radius: var(--radius);
      font-family: 'Courier New', monospace;
      font-size: 13px;
      color: var(--secondary);
      margin-bottom: 12px;
      word-break: break-all;
    }

    .calculation-result {
      font-size: 24px;
      font-weight: 700;
      color: var(--secondary);
      text-align: center;
      padding: 16px;
      background: var(--bg);
      border-radius: var(--radius);
    }

    .empty-state {
      text-align: center;
      padding: 40px;
      color: var(--text-muted);
    }

    .modal {
      display: none !important;
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important;
      width: 100% !important;
      height: 100% !important;
      background: rgba(0, 0, 0, 0.7) !important;
      z-index: 99999 !important;
      align-items: center !important;
      justify-content: center !important;
      visibility: hidden !important;
      opacity: 0 !important;
      transition: opacity 0.2s ease, visibility 0.2s ease;
      pointer-events: none !important;
    }

    .modal.active {
      display: flex !important;
      visibility: visible !important;
      opacity: 1 !important;
      pointer-events: auto !important;
    }
    
    .modal[style*="display: flex"] {
      display: flex !important;
      visibility: visible !important;
      opacity: 1 !important;
      pointer-events: auto !important;
    }

    .modal-content {
      background: var(--bg-panel);
      border-radius: var(--radius-lg);
      padding: 24px;
      max-width: 700px;
      width: 90%;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: var(--shadow-lg);
      position: relative !important;
      z-index: 100000 !important;
      pointer-events: auto !important;
    }

    .modal-content * {
      pointer-events: auto !important;
    }

    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }

    .modal-header h2,
    .modal-header h3 {
      font-size: 20px;
      margin: 0;
      color: var(--text);
    }

    .modal-body {
      margin-bottom: 20px;
    }

    .modal-footer {
      display: flex;
      justify-content: flex-end;
      gap: 12px;
      padding-top: 20px;
      border-top: 1px solid var(--border);
    }

    .modal-close {
      background: none;
      border: none;
      color: var(--text-muted);
      font-size: 28px;
      cursor: pointer;
      padding: 0;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: var(--radius);
      line-height: 1;
    }

    .modal-close:hover {
      background: var(--bg-panel-light);
      color: var(--text);
    }

    .close-btn {
      background: none;
      border: none;
      color: var(--text-muted);
      font-size: 24px;
      cursor: pointer;
      padding: 0;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: var(--radius);
    }

    .close-btn:hover {
      background: var(--bg-panel-light);
      color: var(--text);
    }

    .conditional-logic {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 12px;
      margin-top: 12px;
      font-size: 12px;
    }

    .conditional-logic label {
      font-size: 12px;
      margin-bottom: 4px;
    }

    .conditional-logic select,
    .conditional-logic input {
      font-size: 12px;
      padding: 6px 10px;
    }

    .options-list {
      margin-top: 12px;
    }

    .option-item {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 12px;
      margin-bottom: 12px;
      position: relative;
      transition: all 0.2s;
    }
    
    .option-item.dragging {
      opacity: 0.5;
      border-color: var(--primary);
      box-shadow: 0 0 0 2px var(--primary);
    }
    
    .option-item.drag-over {
      border-color: var(--primary);
      background: var(--bg-panel-light);
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .option-drag-handle {
      position: absolute;
      left: 8px;
      top: 50%;
      transform: translateY(-50%);
      cursor: grab;
      color: var(--text-muted);
      font-size: 20px;
      padding: 4px 8px;
      user-select: none;
      line-height: 1;
      transition: color 0.2s;
    }
    
    .option-drag-handle:hover {
      color: var(--primary);
    }
    
    .option-drag-handle:active {
      cursor: grabbing;
    }
    
    .option-item input,
    .option-item textarea,
    .option-item button {
      cursor: default;
    }
    
    .option-item.dragging .option-item input,
    .option-item.dragging .option-item textarea,
    .option-item.dragging .option-item button {
      pointer-events: none;
    }

    .option-item-header {
      display: flex;
      gap: 8px;
      margin-bottom: 8px;
      align-items: center;
      padding-left: 32px;
    }

    .option-item-header input {
      flex: 1;
      padding: 8px;
    }

    .option-item-description {
      margin-top: 8px;
    }

    .option-item-description textarea {
      width: 100%;
      padding: 8px;
      min-height: 60px;
      margin-bottom: 8px;
    }

    .option-item-image {
      margin-top: 8px;
    }

    .option-item-image input[type="file"] {
      width: 100%;
      padding: 8px;
      font-size: 12px;
    }

    .option-item-image-preview {
      margin-top: 8px;
      max-width: 200px;
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--border);
    }

    .option-item-image-preview img {
      width: 100%;
      height: auto;
      display: block;
    }

    .option-item-image-actions {
      display: flex;
      gap: 8px;
      margin-top: 8px;
    }

    .option-item button {
      padding: 8px 12px;
    }

    .section-container {
      background: var(--bg);
      border: 2px solid var(--border);
      border-radius: var(--radius);
      padding: 12px;
      margin-bottom: 10px;
    }

    .section-container.dragging {
      opacity: 0.5;
      border-color: var(--primary);
    }

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--border);
    }

    .section-header h3 {
      margin: 0;
      font-size: 16px;
    }

    .section-actions {
      display: flex;
      gap: 6px;
    }

    .question-in-section {
      background: var(--bg-panel-light);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 8px 10px;
      margin-bottom: 6px;
      cursor: move;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .question-in-section.dragging {
      opacity: 0.5;
      border-color: var(--primary);
    }

    .question-in-section:hover {
      border-color: var(--primary);
    }

    .question-in-section-content {
      flex: 1;
    }

    .question-in-section-content h4 {
      margin: 0 0 3px 0;
      font-size: 13px;
    }

    .question-in-section-content p {
      margin: 0;
      font-size: 11px;
      color: var(--text-muted);
    }

    .question-actions {
      display: flex;
      gap: 3px;
    }

    .drag-handle {
      cursor: move;
      color: var(--text-muted);
      padding: 3px 6px;
      margin-right: 6px;
    }

    .drag-handle:hover {
      color: var(--text);
    }

    .questions-container {
      min-height: 40px;
      padding: 6px;
      border-radius: var(--radius);
      transition: background-color 0.2s;
    }

    .no-section-questions {
      background: var(--bg);
      border: 1px dashed var(--border);
      border-radius: var(--radius);
      padding: 16px;
      margin-bottom: 16px;
    }

    .autocomplete-container {
      position: relative;
    }

    .autocomplete-dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--bg-panel);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      max-height: 200px;
      overflow-y: auto;
      z-index: 100;
      margin-top: 4px;
    }

    .autocomplete-item {
      padding: 10px 14px;
      cursor: pointer;
      border-bottom: 1px solid var(--border);
    }

    .autocomplete-item:hover {
      background: var(--bg-panel-light);
    }

    .autocomplete-item:last-child {
      border-bottom: none;
    }
    
    .autocomplete-item mark {
      background: var(--primary);
      color: var(--brand-white);
      padding: 0 2px;
      border-radius: 2px;
      font-weight: 600;
    }

    .calculation-builder {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 16px;
      margin-top: 16px;
    }

    .calculation-item {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      background: var(--bg-panel-light);
      border-radius: var(--radius);
      margin: 4px;
      font-family: 'Courier New', monospace;
      font-size: 13px;
    }

    .calculation-item button {
      padding: 2px 6px;
      font-size: 11px;
    }

    .service-info {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 24px;
    }

    .two-column {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    @media (max-width: 1200px) {
      .grid {
        grid-template-columns: 1fr;
      }
      .service-info,
      .two-column {
        grid-template-columns: 1fr;
      }
    }