:root{color-scheme:light;--ink:#18212f;--muted:#556477;--orange:#c44716;--line:#dce2e8;--canvas:#f4f6f8}*{box-sizing:border-box}html{scroll-behavior:smooth}body.dm-schema-page{margin:0;background:var(--canvas);color:var(--ink);font-family:'Segoe UI',Arial,sans-serif;font-size:15px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}button{min-height:40px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ac3c0c;outline-offset:3px}input,select,textarea{min-width:0;max-width:100%;font-size:14px!important}input[type=checkbox]{min-height:18px;width:18px;height:18px;accent-color:var(--orange)}input[type=number],input[type=url],input[type=text],input[type=date],input[type=time],input[type=datetime-local],select{min-height:44px}textarea{line-height:1.6!important}.site-header{background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:16px max(24px,calc((100vw - 1380px)/2));gap:24px}.brand-image{display:block;width:190px;height:50px;background:#0a0b0f;position:relative;overflow:hidden;border-radius:7px}.brand-image img{position:absolute;width:250px;max-width:none;height:125px;left:-30px;top:-35px}.site-header nav{display:flex;gap:28px;font-size:14px;color:var(--muted)}.site-header a:hover{color:var(--orange)}main{max-width:1428px!important;padding:0 24px!important}.tool-hero{padding:28px 0 26px}.breadcrumbs{display:flex;flex-wrap:wrap;gap:9px;font-size:12px;color:var(--muted)}.hero-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:21px 0 18px}.hero-heading h1{font-size:clamp(30px,3.5vw,46px);line-height:1.14;font-weight:760;letter-spacing:-1.6px;margin:0 0 14px}.hero-heading p{max-width:78ch;color:var(--muted);font-size:16px;line-height:1.65}.hero-code{font:700 72px/1 Consolas,monospace;color:#d5dde5;white-space:nowrap}.hero-code span{color:var(--orange);font-size:56px}.tool-facts{display:flex;gap:22px;flex-wrap:wrap;font-size:13px;color:var(--muted)}.tool-facts span:before{content:'✓';color:#116b58;font-weight:700;margin-right:7px}.toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:22px 0 9px}.toolbar button,.file-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;border:1px solid #ccd5df;border-radius:7px;background:#fff;padding:8px 13px;font-size:13px;font-weight:600;cursor:pointer}.toolbar button:hover,.file-button:hover{background:#edf2f6}.file-button{position:relative;overflow:hidden}.file-button input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.privacy-line{font-size:12px;color:var(--muted)}.type-picker{box-shadow:none!important;border-color:var(--line)!important;padding:22px!important}.type-picker h2{font-size:16px!important;letter-spacing:0!important;text-transform:none!important}.schema-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-top:16px}.schema-tab{background:#fff!important;border:1px solid #dce2e8!important;color:#435267!important;padding:12px!important;min-height:58px}.schema-tab .truncate{white-space:normal;overflow:visible;text-overflow:clip}.schema-tab .text-xs{font-size:12px;line-height:1.3}.schema-tab:hover{border-color:#acb9c7!important;background:#f7f9fb!important}.schema-tab.active{background:#fff3eb!important;border-color:var(--orange)!important;color:#782807!important;box-shadow:none!important}.schema-tab.active .tab-icon{background:var(--orange)!important;color:white!important}.tab-icon{background:#edf2f6!important;color:#65768c!important}.workspace{margin-top:24px!important;gap:24px!important}.workspace>div{min-width:0}.workspace .shadow-2xl{box-shadow:0 4px 20px -12px #1c30422b!important}.form-panel{padding:24px!important}.form-panel-heading{background:#f4f6f8!important}.form-panel-heading #form-title{font-size:18px}.form-panel-heading #form-subtitle{font-size:13px;margin-top:8px}.form-panel-heading>.flex{display:none}.form-panel-heading .uppercase{text-transform:none}.form-panel .space-y-4>div{margin-top:14px}.form-panel label{font-size:13px!important;line-height:1.5}.form-panel [id^=wrap-]{border-color:#dce2e8!important;background:white!important}.form-panel [id^=wrap-] input,.form-panel [id^=wrap-] textarea,.form-panel [id^=wrap-] select{background:#fafbfd!important;border-color:#bbc8d6!important}.form-panel .text-xs{line-height:1.6}#optional-fields{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}summary{cursor:pointer;min-height:44px;display:list-item;font-size:14px;font-weight:650;padding:8px 0}#optional-fields>div{margin-top:14px}#optional-fields:open>summary{margin-bottom:12px}.magma-gradient{background:var(--orange)!important;color:#fff!important;box-shadow:none!important}.magma-gradient:hover{background:#a9360b!important}.output-column h3{font-size:14px!important;text-transform:none!important;letter-spacing:0!important}.output-column>div{padding:22px!important}.output-column button.bg-orange-600,.output-column button.bg-purple-600,.output-column button.bg-emerald-600,.output-column button.bg-indigo-600{color:#fff!important}.output-column button.bg-purple-600{background:#48556a!important;box-shadow:none!important}.output-column button.bg-indigo-600,.output-column button.bg-emerald-600{background:#e9f1f5!important;color:#24495e!important;box-shadow:none!important;border:1px solid #c8dce5}.panel-note,.preview-note{font-size:12px;line-height:1.65;color:var(--muted);margin:10px 0}.bundle-toggle{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;margin-top:15px}.bundle-toggle input{flex-shrink:0}#graph-pills>span{background:#eff3f7;color:#364152;border-color:#cbd5e1}#graph-pills button{min-height:28px;min-width:28px}#audit-score-badge{font-size:12px;color:#255b4e;background:#eaf5ef;padding:5px 9px;border-radius:6px}#audit-messages{max-height:180px}#audit-messages p{margin:8px 0}#code-panel{scroll-margin-top:24px}#json-output-box{background:#18212f!important;color:#e8eef5!important;font:12px/1.7 Consolas,monospace!important;border:0!important;white-space:pre-wrap;overflow-wrap:anywhere;height:320px;padding:20px!important}#line-count-badge,#byte-size-badge{background:#2c394d!important;color:#d5e3ef!important;border-color:#506077!important}.output-column .flex.bg-slate-50{flex-wrap:wrap}#raw-editor{border-top:1px solid var(--line);margin-top:18px;padding-top:10px}#raw-editor textarea{display:block;width:100%;border:1px solid #bcc9d8;padding:12px;border-radius:7px;font-family:Consolas,monospace}#raw-editor button,.download-format{border:1px solid #bac8d6;border-radius:6px;padding:7px 12px;margin:10px 6px 0 0;background:#f3f6f8;font-size:13px}.help-section,.related-section{padding:36px 0;border-top:1px solid var(--line);margin-top:36px!important}.help-section h2,.related-section h2{font-size:25px;line-height:1.3;font-weight:700;letter-spacing:-.6px;margin:0 0 18px}.help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.help-grid h3{font-size:16px;font-weight:700;margin-bottom:8px}.help-section p,.related-section p{color:var(--muted);max-width:95ch;font-size:14px;line-height:1.8}.help-section details{padding:12px 0;border-bottom:1px solid var(--line);max-width:1000px}.help-section a{text-decoration:underline;color:#8f320c}.sources{font-size:12px!important;margin-top:24px}.related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:20px}.related-grid a{display:flex;flex-direction:column;gap:8px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:10px}.related-grid strong{font-size:14px}.related-grid span{font-size:12px;line-height:1.7;color:var(--muted)}.related-grid a:hover{border-color:var(--orange)}.site-footer{display:flex;flex-wrap:wrap;gap:22px;justify-content:space-between;padding:28px 0;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}#json-import-modal>div{background:white!important;max-height:90vh;overflow:auto}#json-import-modal h3{font-size:16px}#json-import-modal textarea{font:13px/1.7 Consolas,monospace;color:var(--ink)}#toast-container>div{background:#fff!important;color:#18212f;border:1px solid #bfcddd;box-shadow:0 8px 28px #18212f26}#toast-container{max-width:min(400px,calc(100vw - 32px));pointer-events:none;bottom:18px;right:16px}p,span,label,summary{overflow-wrap:anywhere}.skip-link{position:absolute;left:12px;top:-100px;background:white;padding:12px;z-index:100}.skip-link:focus{top:12px}.req-error-ring{border-color:#b91c1c!important;box-shadow:0 0 0 2px #b91c1c33}.jump-code{display:none!important}@media(min-width:1024px){.workspace{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)!important}.workspace>div{grid-column:auto!important}.output-column{position:static!important}}@media(max-width:1050px){.schema-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.help-grid{gap:20px}}@media(max-width:700px){.site-header{padding:12px 16px;gap:12px;flex-wrap:wrap}.site-header nav{gap:16px;font-size:12px}.brand-image{width:155px}.brand-image img{width:210px;height:105px;left:-28px;top:-26px}main{padding:0 16px!important}.hero-heading{margin-top:18px}.hero-heading h1{letter-spacing:-.8px}.hero-heading p{font-size:14px}.hero-code{display:none}.tool-facts{gap:8px 16px;font-size:12px}.toolbar{gap:6px}.toolbar button,.file-button{padding:7px 10px;font-size:12px}.type-picker{padding:16px!important}.schema-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.schema-tab{padding:9px!important}.schema-tab .tab-icon{width:24px!important;height:26px!important}.schema-tab .text-xs{font-size:12px}.workspace{gap:18px!important}.form-panel,.output-column>div{padding:16px!important}.form-panel-heading{padding:12px!important;display:block!important}.help-grid,.related-grid{grid-template-columns:1fr}.help-section,.related-section{padding:26px 0;margin-top:24px!important}.jump-code{display:inline-flex!important}.form-panel [class*=grid-cols-12]{display:flex;flex-wrap:wrap}.form-panel [class*=grid-cols-12] input{flex:1 1 125px}.form-panel .min-w-\[120px\]{min-width:0}.output-column .flex.justify-between{flex-wrap:wrap;gap:8px}#code-panel .grid-cols-2{grid-template-columns:1fr}#code-panel .col-span-2{grid-column:auto}.site-footer{justify-content:flex-start}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}

.json-key{color:#8bd5ff}.json-string{color:#b6e6b0}.json-number{color:#ffd39b}.json-boolean{color:#d1b4ff}.json-tag{color:#a8c8ed}
/* Studio 3: brand-led marine/copper palette and an interactive entity illustration. */
:root{--ink:#172d3b;--muted:#536a78;--orange:#c74413;--line:#dbe5ea;--canvas:#f1f5f7}
body.dm-schema-page{background:var(--canvas);font-family:'Segoe UI Variable','Segoe UI',Arial,sans-serif}
.site-header{background:#142c3b;border-bottom:1px solid #ffffff20;color:#fff;padding:19px max(28px,calc((100vw - 1380px)/2));gap:24px}
.brand-image{background:transparent;isolation:isolate;border-radius:0;width:190px;height:50px}
.brand-image img{mix-blend-mode:screen}
.brand-product{font-size:14px;color:#b9ced9;border-left:1px solid #ffffff30;padding-left:24px;margin-right:auto;white-space:nowrap}
.site-header nav{color:#e1ebf0;font-size:13px;gap:26px}.site-header a:hover{color:#ffb98a}
.tool-hero{position:relative;background:#142c3b;color:#fff;padding:25px 0 36px;box-shadow:0 0 0 100vmax #142c3b;clip-path:inset(0 -100vmax);margin:0!important}
.breadcrumbs{color:#b6cbd7;font-size:12px}.breadcrumbs a:hover{color:white;text-decoration:underline}
.hero-heading{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.8fr);gap:55px;align-items:center;margin:30px 0 0}
.hero-heading h1{font-size:clamp(30px,3.6vw,49px);font-weight:720;line-height:1.12;letter-spacing:-1.8px;max-width:650px;margin:0 0 18px;color:#fff}
.hero-heading>div>p{color:#c5d7e1;font-size:16px;max-width:58ch;line-height:1.75}
.tool-facts{margin-top:24px;gap:10px 22px;color:#dbe8ef;font-size:12px;max-width:530px}.tool-facts span:before{color:#ffb187}
.entity-visual{margin:0;padding:24px 22px 18px;border:1px solid #ffffff23;background:#ffffff05;border-radius:18px;position:relative}
.entity-visual figcaption{font-size:18px;font-weight:600;letter-spacing:-.4px;color:#f8fbfc;margin-bottom:22px}
.entity-visual>p{font-size:11px!important;color:#b5cad6!important;margin:19px 0 0!important;line-height:1.5!important}
.entity-node{display:flex;align-items:center;gap:11px;padding:14px 12px;background:#eaf2f6;color:#173446;border:1px solid #c1d6e2;border-radius:9px;text-align:left;min-width:0;min-height:68px;transition:transform .18s,border-color .18s,background .18s;position:relative;z-index:1}
.entity-node:hover{transform:translateY(-3px);background:#fff;border-color:#ffad7d}.entity-node:focus-visible{outline:3px solid #ffbe97;outline-offset:4px}
.entity-node i{font-size:18px;color:#41718a;flex-shrink:0}.entity-node span{font-size:12px;font-weight:700;line-height:1.4}.entity-node small{display:block;font-size:10px;color:#536f80;font-weight:400;margin-top:4px}.entity-node b{margin-left:auto;font-weight:400;font-size:20px}
.entity-article{margin:auto;width:68%;background:#fff5ed;border-color:#e7b48e}.entity-article i{color:#b94b13}
.entity-branches{height:55px;display:grid;grid-template-columns:1fr 1fr;position:relative;align-items:end;gap:14px;padding-bottom:5px;font-size:10px;color:#b7cedc;text-align:center}
.entity-branches:before{content:'';position:absolute;width:1px;height:18px;background:#7a9bad;left:50%;top:0}
.entity-branches:after{content:'';position:absolute;width:calc(50% + 7px);height:12px;border:1px solid #7a9bad;border-bottom:0;top:18px;left:calc(25% - 3.5px);border-radius:5px 5px 0 0}
.entity-children{display:grid;grid-template-columns:1fr 1fr;gap:14px}.entity-children .entity-node{padding:12px 10px;gap:7px}
.workspace-controls{padding:26px 0 22px;margin-top:0!important;border-bottom:1px solid #d5e1e7;margin-bottom:24px!important}.control-heading{display:flex;gap:15px;align-items:baseline;flex-wrap:wrap}.control-heading strong{font-size:17px;letter-spacing:-.4px}.control-heading span{font-size:13px;color:var(--muted)}
.toolbar{margin:15px 0 12px;gap:8px}.toolbar button,.file-button{border:1px solid #c8d7df;border-radius:8px;background:#fff;min-height:44px;padding:9px 14px;font-size:12px;box-shadow:0 1px 2px #14344708}.toolbar button:first-child{background:#c74413;border-color:#c74413;color:#fff}.toolbar button:first-child:hover{background:#a9350b}.toolbar button:hover,.file-button:hover{background:#e9f0f4;border-color:#93adbc}
.privacy-line{font-size:11px;color:#607784}.type-picker{border-radius:14px!important;padding:24px!important;background:#fff!important}.type-picker h2{font-size:17px!important;color:#203e50}
.schema-grid{gap:8px}.schema-tab{min-height:53px;border-radius:8px!important;border-color:#e0e8ed!important;background:#f9fbfc!important;padding:9px 11px!important}.schema-tab .tab-icon{background:transparent!important;color:#466579!important}.schema-tab.active{background:#fff3e9!important;border-color:#d97a4f!important;color:#86350f!important}.schema-tab.active .tab-icon{background:transparent!important;color:#b64613!important}
.form-panel{border-radius:14px!important;background:white!important;border:1px solid #dbe5ea!important}.form-panel-heading{border-radius:9px!important;background:#edf3f6!important;margin-bottom:24px!important}.form-panel [id^=wrap-]{border:0!important;background:transparent!important;padding:10px 0!important;box-shadow:none!important}.form-panel [id^=wrap-] input,.form-panel [id^=wrap-] textarea,.form-panel [id^=wrap-] select{background:#fbfcfd!important;border-color:#bdced8!important;border-radius:7px!important}.form-panel [id^=wrap-] input:focus,.form-panel [id^=wrap-] textarea:focus,.form-panel [id^=wrap-] select:focus{background:white!important;border-color:#47768e!important;box-shadow:0 0 0 3px #dfeef5!important}
.output-column>div{border:1px solid #dbe5ea!important;border-radius:14px!important}.output-column h3{font-weight:650!important;color:#203d4e}.output-column #code-panel{border-top:3px solid #d75420!important}.output-column button{border-radius:7px!important}.output-column button.bg-orange-600,.magma-gradient{background:#c74413!important;color:#fff!important}
#json-output-box{background:#142c3b!important;border-radius:9px!important;padding:20px!important}.output-column button.bg-indigo-600,.output-column button.bg-emerald-600{background:#edf4f7!important;color:#234d64!important}.panel-note,.preview-note{color:#607784}#optional-fields summary{color:#31566b}#optional-fields{background:#f7fafb;padding:12px 15px;border:1px solid #dde7ed;border-radius:9px}
.help-section h2,.related-section h2{color:#17384b;font-size:25px}.help-grid{gap:32px}.help-grid article{border-top:2px solid #afc8d5;padding-top:18px}.help-grid article:first-child{border-color:#d75420}.related-grid a{border-radius:9px;padding:20px;border-left:3px solid #b4cbd8}.related-grid a:hover{border-left-color:#c74413;background:#fbfdfe}.site-footer{color:#536c7b}
@media(min-width:1500px){.hero-heading{gap:80px;grid-template-columns:minmax(0,1.4fr) minmax(330px,.8fr)}}
@media(max-width:1050px){.hero-heading{gap:25px;grid-template-columns:minmax(0,1.15fr) minmax(270px,.9fr)}.hero-heading h1{font-size:37px}.entity-visual{padding:20px 16px}.brand-product{display:none}}
@media(max-width:760px){.site-header{padding:16px 20px;gap:16px}.site-header nav{font-size:12px;gap:17px}.hero-heading{grid-template-columns:1fr;gap:24px;margin-top:23px}.hero-heading h1{font-size:34px;max-width:520px;letter-spacing:-1.2px}.hero-heading>div>p{font-size:14px;max-width:60ch}.tool-hero{padding-bottom:26px}.tool-facts{margin-top:19px;gap:8px 18px}.entity-visual{max-width:460px;width:100%;padding:16px 18px}.entity-visual figcaption{font-size:15px;margin-bottom:14px}.entity-node{min-height:54px;padding:9px 12px}.entity-article{width:60%}.entity-branches{height:43px}.entity-branches:before{height:12px}.entity-branches:after{top:12px;height:8px}.entity-visual>p{margin-top:12px!important}.workspace-controls{padding:21px 0 19px}.control-heading{gap:4px 12px}.type-picker{padding:18px!important}.form-panel [id^=wrap-]{padding:8px 0!important}}
@media(max-width:420px){.site-header{padding:14px 16px;gap:12px}.site-header nav{width:100%;justify-content:space-between}.hero-heading h1{font-size:30px;letter-spacing:-1px}.hero-heading{gap:21px}.entity-visual{padding:15px}.entity-children{gap:10px}.entity-node span{font-size:11px}.entity-node small{font-size:10px}.entity-node i{font-size:15px}.toolbar button,.file-button{flex:1 1 auto;font-size:11px}.type-picker{padding:14px!important}.schema-tab{padding:9px!important}.schema-tab .text-xs{font-size:11px}.form-panel-heading #form-title{font-size:16px}.control-heading span{font-size:12px}}
@media(prefers-reduced-motion:reduce){.entity-node{transition:none}.entity-node:hover{transform:none}}
.brand-image{isolation:auto;mix-blend-mode:lighten}.brand-image img{mix-blend-mode:normal}
.entity-node i{display:flex;align-items:center;justify-content:center;width:30px;height:30px;background:#dbe9f0;border-radius:7px}.entity-article i{background:#f5dfcf}

