/* Horizontal workspace: input (left) and result tree (right), stretched to a very wide max width. */
.json-page .json-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:stretch;width:min(1560px,calc(100% - 40px));max-width:none}
/* Align the hero (breadcrumb / heading / description) and the SEO bands below to the same wide track. */
.json-page .tool-hero .container,
.json-page .json-seo-grid,
.json-page .soft-band .container{width:min(1560px,calc(100% - 40px));max-width:none}
.json-page .editor-card{display:flex;flex-direction:column}
.json-page .input-card textarea{flex:1 1 auto;height:auto;min-height:clamp(360px,58vh,720px)}
.json-page .result-card .json-output{flex:1 1 auto;height:auto;min-height:clamp(360px,58vh,720px)}

/* Tablet & below: stack input above result, return to a comfortable reading width. */
@media(max-width:900px){
  .json-page .json-layout,
  .json-page .tool-hero .container,
  .json-page .json-seo-grid,
  .json-page .soft-band .container{width:min(1180px,calc(100% - 32px))}
  .json-page .json-layout{grid-template-columns:minmax(0,1fr)}
  .json-page .input-card textarea{min-height:300px}
  .json-page .result-card .json-output{min-height:360px}
}
@media(max-width:620px){
  .json-page .input-card textarea{min-height:240px}
  .json-page .result-card .json-output{min-height:320px}
}

.json-page .json-seo-band{padding-top:6px}.json-page .json-seo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.json-page .json-seo-card{position:relative;padding:26px 22px 22px;border:1px solid #dce7f4;border-radius:18px;background:linear-gradient(145deg,#fff,#f8fbff);box-shadow:0 12px 28px #20385a0d}.json-page .json-seo-card h2{margin:14px 0 10px;font-size:19px}.json-page .json-seo-card p,.json-page .json-seo-card li{color:#5a6a80;font-size:14px;line-height:1.75}.json-page .json-seo-card p{margin:0 0 10px}.json-page .json-seo-card ol{margin:0;padding-left:20px}.json-page .seo-icon{display:inline-grid;place-items:center;min-width:34px;height:28px;padding:0 8px;border-radius:9px;background:#e8f0ff;color:#1d4ed8;font-weight:900;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.json-page .json-seo-card:nth-child(4) .seo-icon{background:#fff1c7;color:#9a6100}@media(max-width:780px){.json-page .json-seo-grid{grid-template-columns:1fr}.json-page .json-seo-card{padding:21px}}

/* Search-oriented learning content: a visual developer guide rather than a keyword wall. */
.json-page .json-knowledge-band{position:relative;padding:clamp(48px,5vw,72px) 0 clamp(56px,6vw,84px);overflow:hidden;background:radial-gradient(circle at 8% 3%,#dcecff 0,transparent 24rem),radial-gradient(circle at 95% 64%,#fff1c5 0,transparent 20rem),linear-gradient(180deg,#f7fbff 0,#fff 70%)}
.json-page .json-knowledge-band:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.55;background-image:linear-gradient(#dfeafb80 1px,transparent 1px),linear-gradient(90deg,#dfeafb80 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(to bottom,#000,transparent 78%)}
.json-page .json-knowledge-layout{position:relative;width:min(1560px,calc(100% - 40px));max-width:none}
.json-page .json-knowledge-copy{position:relative;counter-reset:knowledge-section}
.json-page .json-knowledge-header{position:relative;overflow:hidden;padding:clamp(28px,4vw,46px);border:1px solid #ccdef5;border-radius:26px;background:linear-gradient(135deg,#fff 0,#fbfdff 54%,#ecf4ff 100%);box-shadow:0 20px 50px #193a6b12}
.json-page .json-knowledge-header:before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:5px;background:linear-gradient(90deg,#2563eb,#6d5dfc 54%,#f7be2c)}
.json-page .json-knowledge-header:after{content:"{ }";position:absolute;right:clamp(18px,4vw,50px);top:50%;transform:translateY(-50%);color:#2563eb0d;font:900 clamp(96px,15vw,210px)/1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:-.14em;pointer-events:none}
.json-page .json-knowledge-header>*{position:relative;z-index:1}
.json-page .json-knowledge-header .eyebrow{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #cddfff;border-radius:999px;background:#eef5ff;color:#1d55cf;font-size:11px;font-weight:900;letter-spacing:.04em}
.json-page .json-knowledge-header .eyebrow:before{content:"</>";font:800 10px/1 ui-monospace,SFMono-Regular,Consolas,monospace}
.json-page .json-knowledge-header h2{max-width:920px;margin:18px 0 14px;color:#12284b;font-size:clamp(28px,3.25vw,44px);line-height:1.2;letter-spacing:-.04em}
.json-page .json-knowledge-header p{max-width:820px;margin:0;color:#53637a;font-size:clamp(15px,1.35vw,17px);line-height:1.9}
.json-page .json-knowledge-topics{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:18px;margin-top:18px}
.json-page .json-knowledge-topic{position:relative;padding:26px;border:1px solid #dce7f4;border-radius:20px;background:#fff;box-shadow:0 12px 30px #20385a0a;counter-increment:knowledge-section}
.json-page .json-knowledge-topic h3{display:flex;align-items:center;gap:10px;margin:0 0 16px;color:#172f55;font-size:20px;line-height:1.35}
.json-page .json-knowledge-topic h3:before{content:counter(knowledge-section,decimal-leading-zero);display:inline-grid;place-items:center;flex:0 0 auto;width:29px;height:29px;border-radius:9px;background:#e9f1ff;color:#1d55cf;font:900 11px/1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.02em}
.json-page .json-use-cases{background:linear-gradient(145deg,#fff 0,#f8fbff 100%)}
.json-page .json-check-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:0;padding:0;list-style:none}
.json-page .json-check-list li{position:relative;min-height:74px;padding:13px 13px 13px 39px;border:1px solid #dce7f4;border-radius:13px;background:#fff;color:#465974;font-size:14px;line-height:1.65;transition:transform .2s,border-color .2s,box-shadow .2s}
.json-page .json-check-list li:before{content:"✓";position:absolute;inset-block-start:14px;inset-inline-start:14px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#e4f5eb;color:#087b42;font-size:12px;font-weight:900}
.json-page .json-check-list li:hover{transform:translateY(-2px);border-color:#aac8f1;box-shadow:0 8px 18px #1b4d8a12}
.json-page .json-errors{background:linear-gradient(145deg,#fffdf8 0,#fff7e8 100%);border-color:#f1dfbd}
.json-page .json-errors>p{margin:0;color:#6c6251;font-size:14px;line-height:1.7}
.json-page .json-error-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.json-page .json-error-grid>div{min-height:96px;padding:14px;border:1px solid #f4dfb4;border-inline-start:4px solid #f59e0b;border-radius:12px;background:#fffdf8}
.json-page .json-error-grid strong,.json-page .json-error-grid span{display:block}
.json-page .json-error-grid strong{margin-bottom:5px;color:#8a5200;font-size:14px}
.json-page .json-error-grid span{color:#655f56;font-size:13px;line-height:1.62}
.json-page .json-knowledge-faq{margin-top:24px;padding:clamp(23px,3vw,34px);background:linear-gradient(145deg,#fff 0,#fbfdff 100%)}
.json-page .json-faq-list{display:grid;gap:10px}
.json-page .json-faq-list details{overflow:hidden;border:1px solid #dce7f4;border-radius:13px;background:#fff;transition:border-color .2s,box-shadow .2s}
.json-page .json-faq-list details[open]{border-color:#b9d1f4;box-shadow:0 9px 20px #193f770d}
.json-page .json-faq-list summary{position:relative;padding:17px 52px 17px 18px;cursor:pointer;color:#173b73;font-size:15px;font-weight:800;line-height:1.55;list-style:none}
.json-page .json-faq-list summary::-webkit-details-marker{display:none}
.json-page .json-faq-list summary:after{content:"+";position:absolute;inset-inline-end:17px;top:50%;display:grid;place-items:center;width:24px;height:24px;transform:translateY(-50%);border-radius:8px;background:#edf4ff;color:#2159cf;font-size:19px;font-weight:500;line-height:1}
.json-page .json-faq-list details[open] summary{background:#f4f8ff}
.json-page .json-faq-list details[open] summary:after{content:"−"}
.json-page .json-faq-list p{margin:0;padding:0 18px 18px;border-inline-start:3px solid #bed6fa;color:#53637a;font-size:14px;line-height:1.8}
.json-page .json-knowledge-related{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;padding:21px 24px;border:1px solid #d7e5f7;border-radius:18px;background:linear-gradient(135deg,#f4f8ff,#fff)}
.json-page .json-knowledge-related h3{margin:0;color:#173b73;font-size:17px;white-space:nowrap}
.json-page .json-related-tools{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px}
.json-page .json-related-tools a{display:inline-flex;align-items:center;gap:7px;padding:10px 14px;border:1px solid #bdd3f0;border-radius:999px;background:#fff;color:#1855a5;font-size:14px;font-weight:800;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s}
.json-page .json-related-tools a:after{content:"→";font-size:15px;transition:transform .2s}
.json-page .json-related-tools a:hover{transform:translateY(-2px);border-color:#2563eb;box-shadow:0 8px 16px #1d4ed81c}
.json-page .json-related-tools a:hover:after{transform:translateX(2px)}
@media(max-width:900px){.json-page .json-knowledge-layout{width:min(1180px,calc(100% - 32px))}.json-page .json-knowledge-topics{grid-template-columns:1fr}.json-page .json-errors{min-height:auto}}
@media(max-width:700px){.json-page .json-knowledge-band{padding:40px 0 52px}.json-page .json-knowledge-layout{width:calc(100% - 24px)}.json-page .json-knowledge-header{padding:27px 20px;border-radius:21px}.json-page .json-knowledge-header:after{right:12px;font-size:106px}.json-page .json-knowledge-header h2{font-size:clamp(27px,8vw,34px)}.json-page .json-knowledge-topics{gap:13px;margin-top:13px}.json-page .json-knowledge-topic{padding:21px 17px;border-radius:17px}.json-page .json-knowledge-topic h3{font-size:18px}.json-page .json-check-list,.json-page .json-error-grid{grid-template-columns:1fr}.json-page .json-check-list li{min-height:0}.json-page .json-knowledge-faq{margin-top:15px}.json-page .json-faq-list summary{padding:15px 48px 15px 15px}.json-page .json-faq-list p{padding:0 15px 16px}.json-page .json-knowledge-related{display:block;margin-top:14px;padding:19px 16px}.json-page .json-knowledge-related h3{white-space:normal}.json-page .json-related-tools{display:grid;grid-template-columns:1fr;margin-top:14px}.json-page .json-related-tools a{justify-content:space-between;border-radius:12px}}
