    body{
      font-family:'Inter',sans-serif;
      -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
    }

    .calc-label{
      display:block;
      margin-bottom:8px;
      font-size:12px;
      line-height:1.2;
      font-weight:700;
      color:#64748b;
      text-transform:uppercase;
      letter-spacing:.08em;
    }

    /* Form fields use a balanced two-column layout from small screens upward. */
    .calc-input,
    .calc-input option{
      max-width:100%;
    }

    .calc-input{
      width:100%;
      min-width:0;
      height:52px;
      padding:0 16px;
      border:2px solid #e2e8f0;
      border-radius:14px;
      background:#fff;
      color:#1e293b;
      font-size:16px;
      font-weight:600;
      outline:none;
      transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
      -webkit-appearance:none;
      appearance:none;
      box-sizing:border-box;
    }

    .calc-input::placeholder{
      color:#94a3b8;
      font-weight:400;
    }

    .calc-input:focus{
      border-color:#60a5fa;
      box-shadow:0 0 0 4px rgba(96,165,250,.15);
    }

    select.calc-input{
      padding-right:46px;
      background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      background-repeat:no-repeat;
      background-position:right 14px center;
      background-size:18px;
    }

    input[type="number"].calc-input::-webkit-outer-spin-button,
    input[type="number"].calc-input::-webkit-inner-spin-button{
      -webkit-appearance:none;
      margin:0;
    }

    input[type="number"].calc-input{
      -moz-appearance:textfield;
    }

    .helper-text{
      margin-top:8px;
      font-size:13px;
      line-height:1.5;
      color:#64748b;
    }

    .section-head{
      font-size:12px;
      font-weight:700;
      text-transform:uppercase;
      letter-spacing:.12em;
      color:#94a3b8;
      padding:6px 0 12px;
      margin-top:4px;
    }

    .result-row{
      display:flex;
      justify-content:space-between;
      align-items:flex-start;
      gap:16px;
      padding:14px 0;
      border-bottom:1px solid #f1f5f9;
    }

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

    .result-label{
      font-size:14px;
      line-height:1.55;
      color:#475569;
      flex:1;
      min-width:0;
    }

    .result-value{
      font-size:14px;
      line-height:1.4;
      font-weight:700;
      color:#1e293b;
      text-align:right;
      white-space:nowrap;
      flex-shrink:0;
    }

    .result-deduction{
      font-size:14px;
      line-height:1.4;
      font-weight:700;
      color:#dc2626;
      text-align:right;
      white-space:nowrap;
      flex-shrink:0;
    }

    .result-total{
      border-top:2px solid #e2e8f0;
      margin-top:8px;
      padding-top:14px;
    }

    .card-soft{
      box-shadow:0 1px 2px rgba(15,23,42,.05), 0 8px 24px rgba(15,23,42,.04);
    }

    .table-wrap{
      overflow-x:auto;
      -webkit-overflow-scrolling:touch;
    }

    .table-wrap table{
      min-width:720px;
    }

    .faq-content{
      max-height:0;
      overflow:hidden;
      transition:max-height .3s ease;
    }

    @media (max-width: 1023px){
      #resultPanel{
        margin-top:4px;
      }
    }

    /* Page frame and brand styling: align this calculator with MyIndiaSpeedPost's orange-and-white theme. */
    body.text-slate-800.bg-slate-50{
      background:#f8fafc!important;
      color:#27313b;
    }
    main[role="main"]{
      background:#fff!important;
      border-color:#efcfb9!important;
      border-radius:24px;
      box-shadow:0 12px 36px rgba(112,58,21,.08);
      margin-top:16px;
      margin-bottom:32px;
    }
    main[role="main"] > section:first-of-type{
      background:linear-gradient(135deg,#fff1e5 0%,#fffaf5 54%,#fff 100%)!important;
      border-color:#efcfb9!important;
      position:relative;
      isolation:isolate;
      overflow:hidden;
    }
    main[role="main"] > section:first-of-type:before{
      content:"";
      position:absolute;
      width:240px;
      height:240px;
      right:-78px;
      top:-125px;
      border-radius:50%;
      background:rgba(233,101,18,.10);
      z-index:-1;
      pointer-events:none;
    }
    .sp-bg-orange-100{background-color:#fff1e5!important;}
    .sp-text-orange-800{color:#a94308!important;}
    .sp-border-orange-200{border-color:#efcfb9!important;}
    .sp-bg-orange-500{background-color:#e96512!important;}
    .sp-hover-bg-orange-600:hover{background-color:#c9510b!important;}
    .sp-text-orange-700{color:#c9510b!important;}
    .calc-label{line-height:1.4;min-height:1.4em;}
    .calc-input{display:block;}
    .helper-text{min-height:0;}
    #resultPanel{min-width:0;}
    @media (min-width:768px){
      #resultPanel{margin-top:0;}
    }
    @media (max-width:767px){
      main[role="main"]{margin-top:10px;border-radius:18px;}
      main[role="main"] > section:first-of-type:before{width:180px;height:180px;right:-80px;top:-85px;}
    }

    @media (max-width: 640px){
      .calc-input{
        height:50px;
        padding:0 14px;
        border-radius:12px;
        font-size:15px;
      }

      .helper-text{
        font-size:12px;
      }

      .result-row{
        gap:10px;
        padding:12px 0;
      }

      .result-label,
      .result-value,
      .result-deduction{
        font-size:13px;
      }

      .section-head{
        font-size:11px;
      }
    }

    /* Match the shared Blogs page frame: restrained canvas, warm border and consistent margins. */
    body.text-slate-800.bg-slate-50 { background:#f8fafc!important; }
    .calculator-main {
      width:calc(100% - 32px);
      max-width:1120px;
      margin:24px auto 40px!important;
      border:1px solid #efcfb9!important;
      border-radius:24px;
      background:#fff!important;
      box-shadow:0 16px 42px rgba(112,58,21,.08)!important;
      overflow:hidden;
    }
    .calculator-main > section:first-of-type {
      background:linear-gradient(135deg,#fff1e5 0%,#fffaf5 54%,#fff 100%)!important;
      border-color:#f4dfcf!important;
    }
    /* Critical: the generic .calc-input display rule must never reveal hidden custom fields. */
    .calc-input.hidden { display:none!important; }
    .calc-form-grid { display:grid!important; grid-template-columns:minmax(0,1fr); align-items:start; gap:18px 20px!important; }
    .calc-form-grid > div { min-width:0; display:flex; flex-direction:column; align-self:stretch; }
    .calc-label { margin:0 0 7px!important; min-height:2.6em; display:flex; align-items:flex-end; }
    .calc-input { width:100%; min-width:0; margin-top:0; }
    .calc-form-grid .helper-text { margin-top:7px; }
    .calc-form-grid .calc-input + .calc-input { margin-top:8px; }
    .calc-form-grid > .sm\\:col-span-2 { grid-column:1 / -1; }
    @media (min-width:640px) {
      .calc-form-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
      .calc-form-grid > .sm\\:col-span-2 { grid-column:1 / -1; }
    }
    @media (max-width:639px) {
      .calculator-main { width:calc(100% - 16px); margin:14px auto 24px!important; border-radius:18px; }
      .calculator-main > section:first-of-type { padding:1.6rem 1rem!important; }
      .calc-label { min-height:0; }
      .calc-form-grid { gap:17px!important; }
    }

  
