    .modern-core {
      background: #ffffff;
      border-radius: 28px;
      box-shadow: 0 12px 30px -8px rgba(0, 35, 65, 0.12);
      padding: 20px 16px 24px;
      margin: 16px auto;
      border: 1px solid rgba(144, 202, 249, 0.25);
      transition: box-shadow 0.2s;
    }
    /* 标题 */
    .modern-core > div:first-child {
      font-size: 20px;
      font-weight: 700;
      color: #0b3d5c;
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
    }
    .modern-core > div:first-child span {
      background: #0a66b9;
      width: 6px;
      height: 28px;
      border-radius: 20px;
      display: inline-block;
    }
    .taxpayer-tabs {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
      background: #f0f7fc;
      padding: 5px;
      border-radius: 60px;
      width: 100%;
      max-width: 440px;
      flex-wrap: wrap;
    }
    .taxpayer-tab {
      flex: 1 1 auto;
      padding: 10px 18px;
      border-radius: 40px;
      font-weight: 600;
      font-size: 16px;
      border: none;
      background: transparent;
      color: #3a627a;
      cursor: pointer;
      transition: 0.2s;
      text-align: center;
      white-space: nowrap;
      min-width: 85px;
    }
    .taxpayer-tab.active {
      background: #0a66b9;
      color: white;
    }
    /* 税率radio组 */
    .rate-radio-group {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 12px;
      margin: 12px 0 18px;
      padding: 6px 0 10px;
      border-bottom: 1px solid #e9f0f5;
    }
    .rate-radio-item {
      display: flex;
      align-items: center;
      background: #f8fbfe;
      padding: 4px 12px 4px 8px;
      border-radius: 40px;
      border: 1px solid #d9e6f2;
      transition: 0.15s;
      cursor: pointer;
      font-size: 14px;
    }
    .rate-radio-item input[type="radio"] {
      accent-color: #0a66b9;
      width: 16px;
      height: 16px;
      margin-right: 4px;
      cursor: pointer;
    }
    .rate-radio-item label {
      color: #1a3e60;
      font-size: 14px;
      cursor: pointer;
    }
    .input-group-modern {
      background: #f9fcff;
      border-radius: 20px;
      padding: 16px 14px 12px;
      margin-bottom: 16px;
      border: 1px solid #e2edf7;
    }
    .input-row-horizontal {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 12px;
      margin: 8px 0;
      flex-wrap: wrap;
    }
    .input-row-horizontal .radio-wrap {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
    }
    .input-row-horizontal input[type="radio"] {
      accent-color: #0a66b9;
      width: 18px;
      height: 18px;
      margin-right: 4px;
    }
    .input-row-horizontal label {
      font-weight: 500;
      color: #1e4663;
      font-size: 15px;
      white-space: nowrap;
    }
    .input-row-horizontal .modern-input {
      flex: 1;
      min-width: 120px;
      width: auto;
    }
    @media (max-width: 600px) {
      .input-row-horizontal {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
      }
      .input-row-horizontal .modern-input {
        width: 100%;
        min-width: 0;
      }
    }

    .modern-input {
      padding: 12px 16px;
      border: 1.5px solid #cbdde9;
      border-radius: 60px;
      font-size: 16px;
      background: white;
      transition: 0.2s;
      box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
      min-width: 0;
      box-sizing: border-box;
    }
    .modern-input:focus {
      border-color: #1e7ec5;
      outline: none;
      box-shadow: 0 0 0 4px rgba(25, 118, 210, 0.12);
    }
    .btn-group {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 8px;
      justify-content: flex-start;
    }
    .btn-reset-modern {
      background: linear-gradient(145deg, #ffffff, #f2f7fd);
      border: 1.5px solid #b8d1e3;
      color: #1f5270;
      font-weight: 600;
      padding: 0 20px;
      border-radius: 60px;
      font-size: 15px;
      height: 48px;
      line-height: 48px;
      letter-spacing: 0.3px;
      box-shadow: 0 4px 10px -6px rgba(0, 55, 100, 0.08);
      transition: all 0.2s;
      cursor: pointer;
      flex: 0 1 auto;
      min-width: 85px;
      text-align: center;
      display: inline-block;
    }
    .btn-primary {
      background: #0a66b9;
      border: 1px solid #0a66b9;
      color: white;
    }
    .btn-primary:hover {
      background: #0d5494;
    }
    /* 一般纳税人面板 */
    .general-taxpayer-panel {
      margin-top: 16px;
      padding: 16px;
      background: #f6fbfe;
      border-radius: 24px;
      border: 1px solid #cde3f3;
    }
    .general-input-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 16px;
    }
    .general-input-item {
      background: white;
      padding: 14px 12px;
      border-radius: 20px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    }
    .general-input-item label {
      display: block;
      font-weight: 600;
      color: #134570;
      margin-bottom: 8px;
      font-size: 14px;
    }
    .general-input-item .input-group {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }
    .general-input-item input {
      flex: 1;
      min-width: 80px;
      padding: 10px 12px;
      border: 1.5px solid #cbdde9;
      border-radius: 40px;
      font-size: 15px;
      background: white;
      box-sizing: border-box;
    }
    .general-input-item select {
      padding: 10px 8px;
      border: 1.5px solid #cbdde9;
      border-radius: 40px;
      background: white;
      font-size: 14px;
      width: auto;
      min-width: 70px;
    }
    .general-result-box {
      background: white;
      border-radius: 20px;
      padding: 16px 14px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-around;
      border: 1px solid #bdd8ec;
      gap: 12px;
    }
    .general-result-item {
      text-align: center;
      flex: 1 1 60px;
    }
    .general-result-item .label {
      font-size: 12px;
      color: #5f7d99;
    }
    .general-result-item .value {
      font-size: 22px;
      font-weight: 700;
      color: #0a4b7a;
    }
    .general-result-item.highlight .value {
      color: #d32f2f;
    }
    /* 历史记录 */
    .history-panel {
      margin: 20px 0 12px;
      background: #fafcfe;
      border-radius: 24px;
      padding: 14px 16px;
      border: 1px solid #d9e6f2;
    }
    .history-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
      flex-wrap: wrap;
    }
    .history-header h3 {
      font-size: 15px;
      color: #134570;
    }
    .btn-clear-history {
      background: none;
      border: 1px solid #cbdde9;
      color: #5f7d99;
      padding: 4px 14px;
      border-radius: 30px;
      font-size: 12px;
      cursor: pointer;
    }
    .history-list {
      max-height: 180px;
      overflow-y: auto;
    }
    .history-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 12px;
      background: white;
      border-radius: 40px;
      margin-bottom: 6px;
      border: 1px solid #e2edf7;
      cursor: pointer;
      flex-wrap: wrap;
      gap: 4px;
    }
    .history-item-content {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }
    .history-type-badge {
      background: #1e7ec5;
      color: white;
      padding: 2px 10px;
      border-radius: 30px;
      font-size: 11px;
      font-weight: 600;
    }
    .history-summary {
      color: #1a3e60;
      font-size: 13px;
    }
    .history-time {
      color: #7a9bb5;
      font-size: 11px;
    }
    .history-delete {
      background: none;
      border: none;
      color: #a0bcd3;
      cursor: pointer;
      font-size: 16px;
      padding: 0 6px;
    }
    /* 双计算器网格 */
    .dual-calc-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-top: 16px;
    }
    .calc-box-mini {
      background: #f5faff;
      border-radius: 24px;
      padding: 18px 14px;
      border: 1px solid #dbeafe;
    }
    .calc-box-mini h2 {
      font-size: 1.1rem;
      margin-top: 0;
      margin-bottom: 14px;
      color: #0d3f60;
      font-weight: 700;text-align:left;
      border-left: 5px solid #1e7ec5;
      padding-left: 12px;
    }
    .calc-box-mini input[type="text"],
    .calc-box-mini input[type="number"] {
      padding: 8px 10px;
      border-radius: 40px;
      border: 1.5px solid #bed9f0;
      font-size: 14px;
      background: white;
      width: 100px;
      max-width: 100%;
      margin: 4px 0;
      box-sizing: border-box;
    }
    .calc-box-mini .btn-sm {
      background: #1e7ec5;
      border: none;
      color: white;
      padding: 8px 20px;
      border-radius: 40px;
      font-weight: 600;
      font-size: 14px;
      box-shadow: 0 8px 14px -8px #0a4b7a;
      cursor: pointer;
      border: 1px solid #3082c6;
      margin-top: 8px;
    }
    .result-line {
      background: white;
      padding: 6px 14px;
      border-radius: 30px;
      margin: 8px 0;
      font-weight: 500;
      border: 1px solid #c7ddec;
      font-size: 14px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
    }
    .bg-soft-highlight { background: #F5FEFB; padding: 12px; border-radius: 16px; }
    .f14 { font-size: 14px; }
    .tl { text-align: left; }
    .wid.nr0 { max-width: 100%; margin: 0 auto; }
    .ad-placeholder { display: none; }
    .gg { margin: 20px 0; text-align: center; }
    @media (max-width: 600px) {
      .modern-core { padding: 16px 12px; }
      .general-input-grid { grid-template-columns: 1fr; }
      .dual-calc-grid { grid-template-columns: 1fr; }
      .taxpayer-tabs { max-width: 100%; }
      .taxpayer-tab { padding: 8px 12px; font-size: 14px; min-width: 60px; }
      .rate-radio-item { padding: 3px 10px 3px 6px; font-size: 13px; }
      .btn-reset-modern { padding: 0 14px; font-size: 13px; height: 40px; line-height: 40px; min-width: 65px; }
      .general-result-item .value { font-size: 20px; }
      .history-item { padding: 6px 10px; }
      .calc-box-mini input[type="text"] { width: 100%; max-width: 140px; }
      .box .bli { font-size: 12px; padding: 4px 12px; }
      h1 { font-size: 20px; }
    }
    @media (max-width: 400px) {
      .rate-radio-group { gap: 6px; }
      .rate-radio-item { font-size: 12px; }
      .taxpayer-tab { padding: 6px 8px; font-size: 12px; min-width: 50px; }
      .btn-reset-modern { padding: 0 10px; font-size: 12px; height: 34px; line-height: 34px; min-width: 55px; }
      .general-result-item .value { font-size: 18px; }
    }

    .modern-input {
      padding: 8px 14px !important;
      font-size: 14px !important;
      height: 40px !important;
      border-radius: 40px !important;
      box-sizing: border-box !important;
    }

    .input-row-horizontal input[type="radio"] {
      width: 16px !important;
      height: 16px !important;
    }
    .rate-radio-item input[type="radio"] {
      width: 14px !important;
      height: 14px !important;
    }

    .rate-radio-item {
      padding: 2px 8px 2px 4px !important;
      font-size: 13px !important;
    }
    .rate-radio-item label {
      font-size: 13px !important;
    }

    .input-row-horizontal {
      margin: 6px 0 !important;
      gap: 10px !important;
    }
    .input-row-horizontal label {
      font-size: 14px !important;
    }

    .general-input-item input,
    .general-input-item select {
      padding: 6px 10px !important;
      font-size: 13px !important;
      height: 36px !important;
      box-sizing: border-box !important;
    }

    .calc-box-mini input[type="text"],
    .calc-box-mini input[type="number"] {
      padding: 4px 8px !important;
      font-size: 13px !important;
      height: 32px !important;
      width: 80px !important;
      box-sizing: border-box !important;
    }
    .calc-box-mini .btn-sm {
      padding: 6px 14px !important;
      font-size: 13px !important;
    }

    .result-line {
      padding: 4px 12px !important;
      font-size: 13px !important;
      margin: 4px 0 !important;
    }

    @media (max-width: 600px) {
      .modern-input {
        padding: 6px 12px !important;
        font-size: 13px !important;
        height: 36px !important;
      }
      .rate-radio-item {
        padding: 2px 6px 2px 4px !important;
        font-size: 12px !important;
      }
      .rate-radio-item input[type="radio"] {
        width: 13px !important;
        height: 13px !important;
      }
      .input-row-horizontal label {
        font-size: 13px !important;
      }
      .general-input-item input,
      .general-input-item select {
        padding: 4px 8px !important;
        font-size: 12px !important;
        height: 32px !important;
      }
      .calc-box-mini input[type="text"],
      .calc-box-mini input[type="number"] {
        padding: 4px 6px !important;
        font-size: 12px !important;
        height: 28px !important;
        width: 60px !important;
      }
    }

    @media (max-width: 400px) {
      .modern-input {
        padding: 4px 10px !important;
        font-size: 12px !important;
        height: 32px !important;
      }
    }
    input, select, textarea {
      max-width: 100% !important;
      box-sizing: border-box !important;
    }