@scope (#original-content) {

    #hm-json-formatter-tool,
    #hm-json-formatter-tool * {
      box-sizing: border-box;
    }

    #hm-json-formatter-tool {
      --jft-green-950: #12351d;
      --jft-green-900: #17622b;
      --jft-green-800: #237334;
      --jft-green-700: #2f873f;
      --jft-green-600: #40a951;
      --jft-green-300: #bdebc4;
      --jft-green-100: #f2fbf3;
      --jft-white: #ffffff;
      --jft-ink: #1f2a24;
      --jft-muted: #5d6f62;
      --jft-border: rgba(64, 169, 81, 0.34);
      --jft-shadow: 0 22px 70px rgba(25, 94, 44, 0.11);
      --jft-card-shadow: 0 14px 40px rgba(23, 98, 43, 0.08);
      width: 100%;
      max-width: 1240px;
      margin: 0 auto;
      padding: 20px;
      background: linear-gradient(180deg, #ffffff 0%, #f5fbf3 100%);
      color: var(--jft-ink);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
      line-height: 1.75;
      border: 1px solid var(--jft-border);
      border-radius: 26px;
      box-shadow: var(--jft-shadow);
    }

    #hm-json-formatter-tool h1,
    #hm-json-formatter-tool h2,
    #hm-json-formatter-tool h3,
    #hm-json-formatter-tool h4 {
      color: var(--jft-green-800);
      line-height: 1.18;
      margin: 0 0 16px;
      font-weight: 950;
      letter-spacing: -0.035em;
    }

    #hm-json-formatter-tool h1 {
      text-align: center;
      font-size: clamp(2.1rem, 5vw, 4.2rem);
      margin: 10px 0 12px;
    }

    #hm-json-formatter-tool h2 {
      text-align: center;
      font-size: clamp(1.55rem, 3.2vw, 2.65rem);
      padding-bottom: 18px;
      border-bottom: 3px solid rgba(64, 169, 81, 0.42);
    }

    #hm-json-formatter-tool h3 {
      font-size: clamp(1.28rem, 2.2vw, 1.95rem);
    }

    #hm-json-formatter-tool h4 {
      font-size: 1.15rem;
      color: var(--jft-green-700);
    }

    #hm-json-formatter-tool p,
    #hm-json-formatter-tool li,
    #hm-json-formatter-tool td,
    #hm-json-formatter-tool th {
      font-size: 1rem;
      color: #203025;
      font-weight: 560;
    }

    #hm-json-formatter-tool strong {
      font-weight: 950;
      color: #17251b;
    }

    #hm-json-formatter-tool a {
      color: var(--jft-green-800);
      font-weight: 900;
      text-decoration: underline;
      text-underline-offset: 4px;
    }

    #hm-json-formatter-tool .jft-hero {
      background:
        radial-gradient(circle at top left, rgba(97, 189, 112, 0.24), transparent 34%),
        radial-gradient(circle at bottom right, rgba(23, 98, 43, 0.12), transparent 28%),
        #ffffff;
      border: 1px solid var(--jft-border);
      border-radius: 24px;
      padding: clamp(22px, 4vw, 44px);
      margin-bottom: 24px;
      box-shadow: var(--jft-card-shadow);
      overflow: hidden;
      position: relative;
    }

    #hm-json-formatter-tool .jft-subtitle {
      max-width: 980px;
      margin: 0 auto;
      text-align: center;
      color: var(--jft-muted);
      font-size: clamp(1.02rem, 2vw, 1.18rem);
      font-weight: 750;
    }

    #hm-json-formatter-tool .jft-badges,
    #hm-json-formatter-tool .jft-columns,
    #hm-json-formatter-tool .jft-pair,
    #hm-json-formatter-tool .jft-triple,
    #hm-json-formatter-tool .jft-four,
    #hm-json-formatter-tool .jft-summary,
    #hm-json-formatter-tool .jft-two-col,
    #hm-json-formatter-tool .jft-actions,
    #hm-json-formatter-tool .jft-chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }

    #hm-json-formatter-tool .jft-badges {
      justify-content: center;
      margin: 22px 0 0;
      gap: 10px;
    }

    #hm-json-formatter-tool .jft-badge {
      background: var(--jft-green-100);
      border: 1px solid var(--jft-border);
      color: var(--jft-green-800);
      padding: 8px 12px;
      border-radius: 999px;
      font-size: 0.9rem;
      font-weight: 900;
    }

    #hm-json-formatter-tool .jft-columns {
      align-items: flex-start;
      margin-top: 22px;
      gap: 22px;
    }

    #hm-json-formatter-tool .jft-col-main {
      flex: 1 1 590px;
      min-width: 280px;
    }

    #hm-json-formatter-tool .jft-col-side {
      flex: 1 1 440px;
      min-width: 280px;
    }

    #hm-json-formatter-tool .jft-card,
    #hm-json-formatter-tool .jft-panel {
      background: rgba(255, 255, 255, 0.96);
      border: 1px solid var(--jft-border);
      border-radius: 24px;
      padding: clamp(22px, 4vw, 34px);
      box-shadow: var(--jft-card-shadow);
    }

    #hm-json-formatter-tool .jft-panel {
      margin: 22px 0;
      background: linear-gradient(180deg, #ffffff 0%, #f7fff7 100%);
    }

    #hm-json-formatter-tool .jft-pair > .jft-field,
    #hm-json-formatter-tool .jft-two-col > div {
      flex: 1 1 260px;
      min-width: 240px;
    }

    #hm-json-formatter-tool .jft-triple > .jft-field {
      flex: 1 1 185px;
      min-width: 180px;
    }

    #hm-json-formatter-tool .jft-four > .jft-field {
      flex: 1 1 145px;
      min-width: 140px;
    }

    #hm-json-formatter-tool .jft-field {
      margin: 16px 0;
    }

    #hm-json-formatter-tool label {
      display: block;
      margin-bottom: 8px;
      font-size: 1rem;
      color: #26342a;
      font-weight: 950;
    }

    #hm-json-formatter-tool input,
    #hm-json-formatter-tool select,
    #hm-json-formatter-tool textarea {
      width: 100%;
      min-height: 56px;
      border: 1.8px solid rgba(64, 169, 81, 0.82);
      border-radius: 12px;
      background: #fbfffb;
      color: #18241c;
      padding: 12px 16px;
      font-size: 1.02rem;
      font-weight: 750;
      outline: none;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    #hm-json-formatter-tool textarea {
      min-height: 265px;
      resize: vertical;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
      line-height: 1.65;
    }

    #hm-json-formatter-tool input:focus,
    #hm-json-formatter-tool select:focus,
    #hm-json-formatter-tool textarea:focus {
      border-color: var(--jft-green-700);
      box-shadow: 0 0 0 5px rgba(64, 169, 81, 0.18);
    }

    #hm-json-formatter-tool .jft-actions {
      margin-top: 20px;
    }

    #hm-json-formatter-tool button {
      border: none;
      border-radius: 12px;
      padding: 14px 20px;
      min-height: 52px;
      cursor: pointer;
      font-size: 1rem;
      font-weight: 950;
      transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    }

    #hm-json-formatter-tool button:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(23, 98, 43, 0.14);
    }

    #hm-json-formatter-tool .jft-btn-primary {
      background: var(--jft-green-600);
      color: #ffffff;
    }

    #hm-json-formatter-tool .jft-btn-soft {
      background: #b6df87;
      color: #17311c;
    }

    #hm-json-formatter-tool .jft-btn-outline {
      background: #ffffff;
      color: var(--jft-green-800);
      border: 1px solid var(--jft-border);
    }

    #hm-json-formatter-tool .jft-error {
      display: none;
      margin-top: 12px;
      padding: 12px 14px;
      border: 1px solid #f0b7b7;
      background: #fff4f4;
      color: #7d1f1f;
      border-radius: 12px;
      font-weight: 900;
    }

    #hm-json-formatter-tool .jft-error.jft-show {
      display: block;
    }

    #hm-json-formatter-tool .jft-result-box {
      display: block;
      margin-top: 24px;
      border: 1px solid rgba(64, 169, 81, 0.38);
      border-radius: 18px;
      background: linear-gradient(135deg, #eefbf0, #ffffff);
      padding: 22px;
    }

    #hm-json-formatter-tool .jft-result-main {
      display: block;
      margin: 8px 0;
      color: #112217;
      font-size: clamp(1.35rem, 3vw, 2.25rem);
      font-weight: 950;
      line-height: 1.2;
      overflow-wrap: anywhere;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    }

    #hm-json-formatter-tool .jft-summary-card {
      flex: 1 1 165px;
      min-width: 155px;
      background: #f7fff7;
      border: 1px solid var(--jft-border);
      border-radius: 16px;
      padding: 16px;
    }

    #hm-json-formatter-tool .jft-summary-card span {
      display: block;
      color: var(--jft-green-800);
      font-size: 0.82rem;
      font-weight: 950;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 5px;
    }

    #hm-json-formatter-tool .jft-summary-card strong {
      display: block;
      font-size: clamp(1rem, 1.8vw, 1.3rem);
      overflow-wrap: anywhere;
    }

    #hm-json-formatter-tool .jft-table-wrap {
      overflow-x: auto;
      border: 1px solid var(--jft-border);
      border-radius: 18px;
      background: #ffffff;
      margin: 18px 0;
    }

    #hm-json-formatter-tool table {
      width: 100%;
      border-collapse: collapse;
      min-width: 860px;
    }

    #hm-json-formatter-tool th {
      background: #eaf8ed;
      color: var(--jft-green-900);
      font-weight: 950;
      text-align: left;
    }

    #hm-json-formatter-tool th,
    #hm-json-formatter-tool td {
      border-bottom: 1px solid rgba(64, 169, 81, 0.2);
      padding: 13px 14px;
      vertical-align: top;
    }

    #hm-json-formatter-tool tr:last-child td {
      border-bottom: 0;
    }

    #hm-json-formatter-tool code {
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
      font-weight: 900;
      background: #f4fbf5;
      border: 1px solid rgba(64, 169, 81, 0.2);
      border-radius: 8px;
      padding: 3px 6px;
      overflow-wrap: anywhere;
    }

    #hm-json-formatter-tool .jft-formula {
      margin-top: 16px;
      padding: 16px;
      border-radius: 14px;
      background: #ffffff;
      border: 1px dashed rgba(64, 169, 81, 0.5);
      color: #203025;
      overflow-x: auto;
      font-weight: 750;
    }

    #hm-json-formatter-tool .jft-note {
      border-left: 5px solid var(--jft-green-600);
      background: #f3fff4;
      padding: 18px 20px;
      border-radius: 14px;
      margin: 18px 0;
      font-weight: 780;
    }

    #hm-json-formatter-tool .jft-small {
      font-size: 0.92rem;
      color: var(--jft-muted);
      font-weight: 680;
    }

    #hm-json-formatter-tool .jft-chip-row {
      gap: 10px;
      margin-top: 14px;
    }

    #hm-json-formatter-tool .jft-chip {
      background: #ffffff;
      color: var(--jft-green-800);
      border: 1px solid rgba(64, 169, 81, 0.42);
      border-radius: 999px;
      padding: 9px 12px;
      font-size: 0.9rem;
      font-weight: 950;
      cursor: pointer;
    }

    #hm-json-formatter-tool .jft-bars {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: 18px;
    }

    #hm-json-formatter-tool .jft-bar-row {
      display: flex;
      gap: 10px;
      align-items: center;
      font-size: 0.92rem;
      font-weight: 900;
    }

    #hm-json-formatter-tool .jft-bar-label {
      flex: 0 0 150px;
    }

    #hm-json-formatter-tool .jft-bar-track {
      flex: 1 1 auto;
      height: 12px;
      background: #e9f7eb;
      border-radius: 999px;
      overflow: hidden;
      border: 1px solid rgba(64, 169, 81, 0.22);
    }

    #hm-json-formatter-tool .jft-bar-fill {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, #40a951, #9bd56a);
      border-radius: 999px;
    }

    #hm-json-formatter-tool .jft-bar-value {
      flex: 0 0 110px;
      text-align: right;
    }

    #hm-json-formatter-tool .jft-svg {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 22px;
      background: #ffffff;
      border: 1px solid var(--jft-border);
      margin-top: 18px;
      box-shadow: 0 16px 42px rgba(23, 98, 43, 0.09);
    }

    #hm-json-formatter-tool .jft-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 5px 10px;
      border-radius: 999px;
      background: #effaf1;
      color: var(--jft-green-800);
      border: 1px solid var(--jft-border);
      font-size: 0.82rem;
      font-weight: 950;
      white-space: nowrap;
    }

    #hm-json-formatter-tool .jft-pill-warn {
      background: #fff8e8;
      color: #8a5a00;
      border-color: #f1d58a;
    }

    #hm-json-formatter-tool .jft-pill-danger {
      background: #fff0f0;
      color: #8a1d1d;
      border-color: #f0b7b7;
    }

    #hm-json-formatter-tool details {
      border: 1px solid var(--jft-border);
      border-radius: 16px;
      background: #ffffff;
      padding: 16px 18px;
      margin: 12px 0;
    }

    #hm-json-formatter-tool summary {
      cursor: pointer;
      color: var(--jft-green-800);
      font-weight: 950;
      font-size: 1.05rem;
    }

    @media (max-width: 920px) {
      #hm-json-formatter-tool {
        padding: 14px;
        border-radius: 18px;
      }

      #hm-json-formatter-tool .jft-actions button {
        width: 100%;
      }

      #hm-json-formatter-tool .jft-bar-row {
        align-items: stretch;
        flex-direction: column;
      }

      #hm-json-formatter-tool .jft-bar-label,
      #hm-json-formatter-tool .jft-bar-value {
        flex: 1 1 auto;
        text-align: left;
      }
    }

    @media (max-width: 560px) {
      #hm-json-formatter-tool h1 {
        font-size: 2.1rem;
      }

      #hm-json-formatter-tool .jft-card,
      #hm-json-formatter-tool .jft-panel,
      #hm-json-formatter-tool .jft-hero {
        padding: 20px;
      }
    }

    @media print {
      #hm-json-formatter-tool .jft-actions,
      #hm-json-formatter-tool .jft-chip-row {
        display: none !important;
      }

      #hm-json-formatter-tool {
        box-shadow: none;
        border: 0;
      }
    }
  
}
