  
    /* Global Styles */
    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: #ffffff; /* Glossy white */
      color: #08415c; /* Primary text color */
    }
    .container {
      max-width: 900px;
      margin: 20px auto;
      padding: 20px;
      border: 1px solid #6b818c;
      border-radius: 8px;
      background: #ffffff;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    h1, h2 {
      text-align: center;
      margin-bottom: 20px;
    }
    .input-section {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: space-between;
    }
    .input-group {
      flex: 1 1 30%;
      display: flex;
      flex-direction: column;
      margin-bottom: 15px;
    }
    .input-group label {
      margin-bottom: 5px;
      font-weight: bold;
    }
    .input-group input, .input-group select {
      padding: 8px;
      font-size: 16px;
      border: 1px solid #6b818c;
      border-radius: 4px;
    }
    /* Button Style */
    #calculateBtn {
      width: 100%;
      padding: 12px;
      font-size: 18px;
      background: #cc2936;
      color: #fff;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      margin-bottom: 20px;
    }
    #calculateBtn:hover {
      background: #b0222f;
    }
    /* Results Section */
    .results-section {
      margin-top: 20px;
    }
    /* Hidden Detailed Summary */
    .detailed-summary {
      display: none;
    }
    /* Visible Summary: All borders & partitioned values */
    .summary {
      margin-bottom: 20px;
    }
    .summary table {
      width: 100%;
      border-collapse: collapse;
    }
    .summary td {
      border: 1px solid #6b818c;
      padding: 8px;
      text-align: center;
    }
    @media (max-width: 600px) {
      .input-group {
        flex: 1 1 100%;
      }
    }
  