    /* ===== Quick calculator ===== */
    .quick-calc {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
      padding: 28px;
      margin: 32px 0 8px;
    }
    .quick-calc h2 {
      font-size: 1.15rem; font-weight: 700;
      color: var(--primary-dark); margin-bottom: 4px;
    }
    .quick-calc .subtitle {
      font-size: 0.85rem; color: var(--text-lighter); margin-bottom: 18px;
    }

    .form-row {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 14px; margin-bottom: 14px;
    }
    .form-group { display: flex; flex-direction: column; gap: 5px; }
    .form-group label {
      font-size: 0.8rem; font-weight: 600; color: var(--text-light);
      text-transform: uppercase; letter-spacing: 0.04em;
    }
    .form-group label .hint {
      font-weight: 400; text-transform: none; letter-spacing: 0;
      color: var(--text-lighter); font-size: 0.75rem;
    }
    .form-group input,
    .form-group select {
      width: 100%; padding: 10px 12px;
      border: 1.5px solid var(--border); border-radius: 8px;
      font-size: 0.95rem; font-family: var(--font); color: var(--text);
      background: var(--white); transition: border-color 0.15s, box-shadow 0.15s;
      appearance: none;
    }
    .form-group select {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
      background-repeat: no-repeat; background-position: right 12px center;
      padding-right: 32px;
    }
    .form-group input:focus,
    .form-group select:focus {
      outline: none; border-color: var(--primary-light);
      box-shadow: 0 0 0 3px rgba(26,95,122,0.1);
    }
    .form-group input::placeholder { color: var(--text-lighter); }

    /* Disabled state when Full packing is selected */
    .form-group.disabled label,
    .form-group.disabled select {
      opacity: 0.5;
      cursor: not-allowed;
    }
    .form-group.disabled select { background-color: #f8fafc; }

    .btn-calc {
      width: 100%; padding: 13px;
      background: var(--accent); color: #fff;
      border: none; border-radius: 8px;
      font-size: 1rem; font-weight: 700; font-family: var(--font);
      cursor: pointer; transition: background 0.15s, transform 0.1s;
      margin-top: 4px;
    }
    .btn-calc:hover { background: var(--accent-hover); }
    .btn-calc:active { transform: scale(0.99); }
    .btn-calc:focus-visible {
      outline: 3px solid var(--primary); outline-offset: 2px;
    }

    .calc-result {
      display: none; margin-top: 20px; padding-top: 20px;
      border-top: 1.5px solid var(--border);
    }
    .calc-result.show {
      display: block;
      animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .result-total { text-align: center; margin-bottom: 16px; }
    .result-total .label {
      font-size: 0.85rem; color: var(--text-lighter);
      text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600;
    }
    .result-total .amount {
      font-size: 2rem; font-weight: 800;
      color: var(--primary-dark); letter-spacing: -0.02em;
    }

    .result-breakdown { list-style: none; font-size: 0.88rem; }
    .result-breakdown li {
      display: flex; justify-content: space-between;
      padding: 7px 0; border-bottom: 1px dashed var(--border);
      color: var(--text-light);
    }
    .result-breakdown li:last-child {
      border-bottom: none;
      border-top: 2px solid var(--primary-dark);
      margin-top: 6px;
      padding-top: 12px;
      font-weight: 700;
      color: var(--primary-dark);
    }
    .result-breakdown li span:last-child { font-weight: 600; color: var(--text); }
    .result-breakdown li:last-child span:last-child { color: var(--primary-dark); }

    .assumptions {
      background: #f8fafc;
      border: 1px dashed var(--border);
      border-radius: 8px;
      padding: 12px 16px;
      margin-top: 14px;
      font-size: 0.78rem;
      color: var(--text-lighter);
      line-height: 1.6;
    }
    .assumptions strong {
      display: block;
      font-size: 0.78rem;
      color: var(--text-light);
      margin-bottom: 4px;
    }

    .result-note {
      font-size: 0.78rem; color: var(--text-lighter);
      margin-top: 12px; line-height: 1.5;
    }
    .result-actions {
      display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap;
    }
    .result-actions .btn-secondary {
      flex: 1; min-width: 160px;
      padding: 11px 18px;
      border: 1.5px solid var(--border); border-radius: 8px;
      background: var(--white); color: var(--primary);
      font-size: 0.88rem; font-weight: 700; font-family: var(--font);
      cursor: pointer; transition: all 0.15s;
      text-align: center; text-decoration: none; display: inline-block;
    }
    .result-actions .btn-secondary:hover {
      border-color: var(--primary); background: var(--bg); text-decoration: none;
    }
    .result-actions .btn-secondary:focus-visible {
      outline: 2px solid var(--primary); outline-offset: 2px;
    }

    /* ===== Compare cards (DIY / Partial / Full) ===== */
    .compare-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 18px; margin: 24px 0;
    }
    .compare-card {
      background: var(--white); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
      position: relative;
    }
    .compare-card.recommended {
      border: 2px solid var(--green);
    }
    .badge-recommended {
      position: absolute; top: -10px; left: 20px;
      background: var(--green); color: #fff;
      font-size: 0.7rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.05em;
      padding: 3px 12px; border-radius: 100px;
    }
    .compare-card h4 {
      font-size: 1rem; font-weight: 700;
      color: var(--primary-dark); margin-bottom: 4px;
    }
    .compare-card .cost {
      font-size: 0.85rem; font-weight: 700;
      color: var(--accent-hover); margin-bottom: 12px;
    }
    .compare-card ul {
      list-style: none; margin: 0; font-size: 0.85rem;
      color: var(--text-light); line-height: 1.65;
    }
    .compare-card li {
      display: flex; gap: 8px; padding: 5px 0; align-items: flex-start;
    }
    .compare-card li.pro::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
    .compare-card li.con::before { content: '✗'; color: var(--red); font-weight: 700; flex-shrink: 0; }

    /* ===== Data source note ===== */
    .data-source {
      font-size: 0.82rem; color: var(--text-lighter);
      font-style: italic;
      margin: 8px 0 0; max-width: 760px; line-height: 1.6;
    }

    /* ===== Material cards ===== */
    .material-grid {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 18px; margin: 24px 0;
    }
    .material-card {
      background: var(--white); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 22px;
      box-shadow: var(--shadow-sm);
    }
    .material-card .icon {
      width: 40px; height: 40px; border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.2rem; margin-bottom: 12px;
    }
    .material-card h4 {
      font-size: 0.95rem; font-weight: 700;
      color: var(--primary-dark); margin-bottom: 4px;
    }
    .material-card .unit-price {
      font-size: 1.05rem; font-weight: 800; color: var(--accent-hover);
      letter-spacing: -0.02em; margin-bottom: 8px;
    }
    .material-card p {
      font-size: 0.82rem; color: var(--text-light);
      line-height: 1.55; margin: 0 0 8px;
    }
    .material-card .tip {
      font-size: 0.78rem; color: var(--text-lighter);
      border-top: 1px dashed var(--border); padding-top: 8px;
    }

    /* ===== Step list ===== */
    .step-list {
      list-style: none; counter-reset: step;
      margin: 20px 0 28px; max-width: 820px;
    }
    .step-list li {
      counter-increment: step;
      display: flex; gap: 16px;
      padding: 18px 0; border-bottom: 1px solid var(--border);
      font-size: 0.95rem; line-height: 1.65;
    }
    .step-list li:last-child { border-bottom: none; }
    .step-list li::before {
      content: counter(step);
      width: 30px; height: 30px; border-radius: 50%;
      background: var(--primary); color: #fff;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.82rem; font-weight: 700;
      flex-shrink: 0; margin-top: 2px;
    }
    .step-list li strong {
      display: block; color: var(--text);
      margin-bottom: 4px; font-size: 1rem;
    }
    .step-list li span { color: var(--text-light); font-size: 0.88rem; }

    /* ===== Next steps CTA ===== */
    .next-steps {
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      border-radius: var(--radius-lg);
      padding: 36px 32px; margin: 8px 0 0;
      color: #fff; max-width: 900px;margin:0 auto
    }
    .next-steps h2 {
      color: #fff !important;
      font-size: 1.35rem; margin-bottom: 8px;
    }
    .next-steps p {
      color: rgba(255,255,255,0.85);
      font-size: 0.95rem; margin-bottom: 20px; max-width: 620px;
    }
    .next-steps-actions {
      display: flex; flex-wrap: wrap; gap: 12px;
    }
    .next-steps-actions a {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 11px 20px; border-radius: 8px;
      font-size: 0.9rem; font-weight: 600;
      text-decoration: none; transition: background 0.15s, transform 0.15s;
    }
    .next-steps-actions a:hover {
      text-decoration: none; transform: translateY(-1px);
    }
    .next-steps-actions .primary-action {
      background: var(--accent); color: var(--primary-dark);
    }
    .next-steps-actions .primary-action:hover { background: var(--accent-hover); }
    .next-steps-actions .secondary-action {
      background: rgba(255,255,255,0.12); color: #fff;
      border: 1px solid rgba(255,255,255,0.25);
    }
    .next-steps-actions .secondary-action:hover { background: rgba(255,255,255,0.2); }

    /* ===== Page-level responsive overrides ===== */
    @media (max-width: 900px) {
      .compare-grid { grid-template-columns: 1fr; }
      .material-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 600px) {
      .quick-calc { padding: 20px; }
      .form-row { grid-template-columns: 1fr; gap: 12px; }
      .material-grid { grid-template-columns: 1fr; }
      .result-total .amount { font-size: 1.6rem; }
      .next-steps { padding: 28px 22px; }
      .next-steps-actions a {
        width: 100%; justify-content: center;
      }
    }

    /* ===== Page-level print overrides ===== */
    @media print {
      .quick-calc { display: none !important; }
      .next-steps { display: none !important; }

      .compare-card,
      .material-card,
      .cost-table { page-break-inside: avoid; }

      .compare-grid { grid-template-columns: 1fr 1fr 1fr; }
      .material-grid { grid-template-columns: 1fr 1fr; }
    }