.jse-theme-dark{--jse-theme:dark;--jse-theme-color:#2f6dd0;--jse-theme-color-highlight:#467cd2;--jse-background-color:#1e1e1e;--jse-text-color:#d4d4d4;--jse-text-color-inverse:#4d4d4d;--jse-main-border:1px solid #4f4f4f;--jse-menu-color:#fff;--jse-modal-background:#2f2f2f;--jse-modal-overlay-background:#00000080;--jse-modal-code-background:#2f2f2f;--jse-tooltip-color:var(--jse-text-color);--jse-tooltip-background:#4b4b4b;--jse-tooltip-border:1px solid #737373;--jse-tooltip-action-button-color:inherit;--jse-tooltip-action-button-background:#737373;--jse-panel-background:#333;--jse-panel-background-border:1px solid #464646;--jse-panel-color:var(--jse-text-color);--jse-panel-color-readonly:#737373;--jse-panel-border:1px solid #3c3c3c;--jse-panel-button-color-highlight:#e5e5e5;--jse-panel-button-background-highlight:#464646;--jse-navigation-bar-background:#656565;--jse-navigation-bar-background-highlight:#7e7e7e;--jse-navigation-bar-dropdown-color:var(--jse-text-color);--jse-context-menu-background:#4b4b4b;--jse-context-menu-background-highlight:#595959;--jse-context-menu-separator-color:#595959;--jse-context-menu-color:var(--jse-text-color);--jse-context-menu-pointer-background:#737373;--jse-context-menu-pointer-background-highlight:#818181;--jse-context-menu-pointer-color:var(--jse-context-menu-color);--jse-key-color:#9cdcfe;--jse-value-color:var(--jse-text-color);--jse-value-color-number:#b5cea8;--jse-value-color-boolean:#569cd6;--jse-value-color-null:#569cd6;--jse-value-color-string:#ce9178;--jse-value-color-url:#ce9178;--jse-delimiter-color:#949494;--jse-edit-outline:2px solid var(--jse-text-color);--jse-selection-background-color:#464646;--jse-selection-background-inactive-color:#333;--jse-hover-background-color:#343434;--jse-active-line-background-color:#ffffff0f;--jse-search-match-background-color:#343434;--jse-collapsed-items-background-color:#333;--jse-collapsed-items-selected-background-color:#565656;--jse-collapsed-items-link-color:#b2b2b2;--jse-collapsed-items-link-color-highlight:#ec8477;--jse-search-match-color:#724c27;--jse-search-match-outline:1px solid #966535;--jse-search-match-active-color:#9f6c39;--jse-search-match-active-outline:1px solid #bb7f43;--jse-tag-background:#444;--jse-tag-color:#bdbdbd;--jse-table-header-background:#333;--jse-table-header-background-highlight:#424242;--jse-table-row-odd-background:#ffffff1a;--jse-input-background:#3d3d3d;--jse-input-border:var(--jse-main-border);--jse-button-background:gray;--jse-button-background-highlight:#7a7a7a;--jse-button-color:#e0e0e0;--jse-button-secondary-background:#494949;--jse-button-secondary-background-highlight:#5d5d5d;--jse-button-secondary-background-disabled:#9d9d9d;--jse-button-secondary-color:var(--jse-text-color);--jse-a-color:#55abff;--jse-a-color-highlight:#4387c9;--jse-svelte-select-background:#3d3d3d;--jse-svelte-select-border:1px solid #4f4f4f;--list-background:#3d3d3d;--item-hover-bg:#505050;--multi-item-bg:#5b5b5b;--input-color:#d4d4d4;--multi-clear-bg:#8a8a8a;--multi-item-clear-icon-color:#d4d4d4;--multi-item-outline:1px solid #696969;--list-shadow:0 2px 8px 0 #0006;--jse-color-picker-background:#656565;--jse-color-picker-border-box-shadow:#8c8c8c 0 0 0 1px}:root{color:#18211c;font-synthesis:none;text-rendering:optimizelegibility;--bg:#f3f5f2;--surface:#fff;--surface-soft:#f7f8f6;--border:#dfe4df;--text:#18211c;--muted:#738078;--green:#16794b;--green-dark:#0d6039;--green-soft:#e8f5ed;--red:#c83c3c;--red-soft:#fff0ef;--shadow:0 10px 30px #192e220f;background:#f3f5f2;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{color:#e8ede9;--bg:#111612;--surface:#181e1a;--surface-soft:#1d241f;--border:#303a33;--text:#e8ede9;--muted:#94a299;--green:#39a96d;--green-dark:#5bc386;--green-soft:#173425;--red:#f06b67;--red-soft:#39201f;--shadow:0 12px 36px #0000003d;background:#111612}*{box-sizing:border-box}body{background:var(--bg);min-width:320px;min-height:100vh;color:var(--text);margin:0}button,textarea{font:inherit}button{color:inherit}.app-shell{flex-direction:column;width:min(1600px,100%);min-height:100vh;margin:0 auto;padding:0 32px 18px;display:flex}.topbar{align-items:center;gap:18px;min-height:82px;display:flex}.brand{align-items:center;gap:12px;display:flex}.brand-mark{color:#fff;background:linear-gradient(145deg,#238e5d,#0e603a);border-radius:12px;justify-content:center;align-items:center;gap:3px;width:42px;height:42px;font:700 16px/1 ui-monospace,monospace;display:flex;box-shadow:0 6px 14px #16794b33}.brand-mark i{background:#a9dfbe;border-radius:50%;width:4px;height:4px}.brand h1{letter-spacing:-.02em;margin:0;font-size:19px}.brand p{color:var(--muted);letter-spacing:.08em;margin:2px 0 0;font-size:11px}.privacy{color:var(--muted);align-items:center;gap:7px;margin-left:auto;font-size:12px;display:flex}.privacy span{width:7px;height:7px;box-shadow:0 0 0 4px var(--green-soft);background:#32a36a;border-radius:50%}.icon-button{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.icon-button:hover{border-color:var(--green);color:var(--green)}.toolbar{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:14px;justify-content:space-between;align-items:stretch;gap:28px;padding:9px;display:flex}.toolbar-group{align-items:center;gap:6px;min-width:0;display:flex}.toolbar-group.tree-actions{border-left:1px solid var(--border);margin-left:auto;padding-left:18px}.toolbar-label{color:var(--muted);letter-spacing:.08em;white-space:nowrap;margin:0 5px 0 3px;font-size:10px;font-weight:700}.toolbar button{white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:7px;height:36px;padding:0 13px;font-size:13px;font-weight:560;display:inline-flex}.toolbar button:hover{background:var(--surface-soft);border-color:var(--border)}.toolbar button.primary{color:#fff;background:var(--green)}.toolbar button.primary:hover{background:var(--green-dark);border-color:#0000}.toolbar button.danger{color:var(--red)}.toolbar button.danger:hover{background:var(--red-soft);border-color:#0000}.toolbar svg,.icon-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.notice{border-radius:9px;align-items:center;gap:9px;min-height:36px;margin:10px 1px;padding:8px 12px;font-size:12px;display:flex}.notice.success{color:var(--green-dark);background:var(--green-soft)}.notice.error{color:var(--red);background:var(--red-soft);border-left:3px solid var(--red)}.notice-icon{border:1px solid;border-radius:50%;flex:0 0 18px;place-items:center;width:18px;height:18px;font-size:11px;font-weight:800;display:grid}.workspace{flex:1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;min-height:0;display:grid}.panel{border:1px solid var(--border);background:var(--surface);min-width:0;min-height:520px;box-shadow:var(--shadow);border-radius:14px;flex-direction:column;display:flex;overflow:hidden}.panel-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:61px;padding:12px 16px;display:flex}.panel-heading h2{margin:1px 0 0;font-size:14px;font-weight:650}.eyebrow{color:var(--green);letter-spacing:.13em;font-size:9px;font-weight:750}.stats{color:var(--muted);font:11px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace}.editable-badge{color:var(--green-dark);background:var(--green-soft);border-radius:5px;padding:4px 7px;font-size:10px;font-weight:650}textarea{resize:none;width:100%;min-height:0;color:var(--text);background:var(--surface);tab-size:2;border:0;outline:0;flex:1;padding:19px 22px;font:13px/1.65 Cascadia Code,SFMono-Regular,Consolas,monospace}textarea::placeholder{color:var(--muted);opacity:.6}.preview-content{flex:1;min-height:0;display:flex;position:relative;overflow:hidden}.json-editor-host{flex:1;min-height:0;overflow:hidden}.json-editor-host.is-hidden{visibility:hidden;pointer-events:none}.json-editor-host>.jse-main{border:0;height:100%}.preview-placeholder{text-align:center;background:var(--surface);flex-direction:column;justify-content:center;align-items:center;padding:30px;display:flex;position:absolute;inset:0}.preview-placeholder-icon{border:1px solid var(--border);width:46px;height:46px;color:var(--green);background:var(--green-soft);border-radius:14px;place-items:center;margin-bottom:13px;font:750 16px/1 ui-monospace,SFMono-Regular,Consolas,monospace;display:grid}.preview-placeholder strong{font-size:14px}.preview-placeholder p{max-width:430px;color:var(--muted);overflow-wrap:anywhere;margin:8px 0 0;font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace}.preview-placeholder.invalid .preview-placeholder-icon{color:var(--red);background:var(--red-soft);border-color:color-mix(in srgb, var(--red) 30%, transparent)}.preview-placeholder.invalid strong,.preview-placeholder.invalid p{color:var(--red)}.json-editor-host button.jse-expand{border:1px solid color-mix(in srgb, var(--green) 45%, var(--border))!important;width:22px!important;height:22px!important;color:var(--green-dark)!important;background-color:var(--green-soft)!important;opacity:1!important;cursor:pointer!important;background-size:17px 17px!important;border-radius:6px!important;margin-inline:1px 4px!important}.json-editor-host button.jse-expand:hover,.json-editor-host button.jse-expand:focus-visible{transform:scale(1.08);color:#fff!important;background-color:var(--green)!important;border-color:var(--green)!important;box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 20%, transparent)!important}footer{min-height:38px;color:var(--muted);justify-content:space-between;align-items:flex-end;padding:10px 4px 0;font-size:10px;display:flex}@media (width<=900px){.app-shell{padding:0 14px 16px}.workspace{grid-template-columns:1fr}.panel{min-height:460px}.toolbar{flex-wrap:wrap;gap:8px}.toolbar-group{width:100%;overflow-x:auto}.toolbar-group.tree-actions{border-top:1px solid var(--border);border-left:0;margin-left:0;padding:7px 0 0}}@media (width<=560px){.topbar{min-height:72px}.privacy{display:none}.icon-button{margin-left:auto}.toolbar{border-radius:11px}.toolbar button{padding-inline:10px}footer{flex-direction:column;align-items:flex-start;gap:8px}}@media (prefers-reduced-motion:no-preference){button{transition:background-color .16s,border-color .16s,color .16s,transform .16s}button:active{transform:translateY(1px)}}
