.app-shell{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:14px;width:min(1480px,100%);min-height:100vh;margin:0 auto;padding:24px 28px}.site-header{display:flex;flex-direction:column;gap:10px}.site-header-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.site-brand{display:flex;align-items:baseline;gap:10px}.site-brand h1{margin:0;color:var(--text-1);font-size:1.5rem;font-weight:800;letter-spacing:-.02em;line-height:1}.brand-accent{color:var(--accent)}.brand-tagline{color:var(--text-3);font-size:.78rem;font-weight:500;letter-spacing:.01em}.privacy-chip{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px;border:1px solid var(--accent-border);border-radius:var(--radius-pill);background:var(--accent-subtle);color:var(--accent-soft);font-size:.74rem;font-weight:600;letter-spacing:.02em;white-space:nowrap}.format-tabs{display:flex;align-items:center;gap:4px;padding:0;margin:0;border-bottom:1px solid var(--border)}.format-tab{position:relative;padding:8px 14px 10px;margin-bottom:-1px;border:0;background:transparent;color:var(--text-2);font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;cursor:default}.format-tab.active{color:var(--text-1);border-bottom:2px solid var(--accent)}.action-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:10px 14px;border:1px solid var(--border);border-radius:var(--radius-panel);background:linear-gradient(180deg,var(--surface-2),var(--surface))}.action-bar-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.action-bar-divider{width:1px;height:22px;background:var(--border-mid)}.indent-control{display:inline-flex;align-items:center;gap:4px}.indent-label{color:var(--text-3);font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin-right:4px}.indent-control fieldset{display:inline-flex;align-items:center;gap:2px;padding:3px;margin:0;border:1px solid var(--border);border-radius:var(--radius-button);background:var(--surface)}.indent-control legend{display:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 14px;border:1px solid var(--border);border-radius:var(--radius-button);background:var(--surface-3);color:var(--text-1);font-size:.85rem;font-weight:600;white-space:nowrap;cursor:pointer;transition:background .13s ease,border-color .13s ease,box-shadow .13s ease,transform 90ms ease,opacity .13s ease,color .13s ease}.button:hover:not(:disabled){background:var(--button-hover-bg);border-color:var(--button-hover-border)}.button.primary{border-color:transparent;background:var(--accent);color:#1a0d04;font-weight:700}.button.primary:hover:not(:disabled){background:var(--accent-hover);box-shadow:0 4px 22px #f9731659}.button.ghost{border-color:transparent;background:transparent;color:var(--text-2);min-height:30px;padding:0 10px;font-size:.78rem}.button.ghost:hover:not(:disabled){background:#f9731612;color:var(--accent-soft)}.button.ghost.danger:hover:not(:disabled){background:#f8717114;color:var(--danger-hover-color)}.button:active:not(:disabled){transform:translateY(1px)}.button:disabled{cursor:not-allowed;opacity:.32}.button:focus-visible,.segmented:has(input:focus-visible),.editor:focus-visible,.view-option:focus-visible{outline:none;box-shadow:var(--accent-glow)}.kbd-hint{display:inline-flex;align-items:center;margin-left:4px;padding:1px 5px;border-radius:4px;background:var(--kbd-bg);color:var(--kbd-color);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.68rem;font-weight:700;letter-spacing:.02em}.button.ghost .kbd-hint{background:var(--ghost-kbd-bg);color:var(--text-3)}.segmented{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:26px;padding:0 8px;border-radius:6px;color:var(--text-2);font-size:.82rem;font-weight:700;cursor:pointer;transition:background .13s ease,color .13s ease}.segmented input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.segmented.active{background:var(--accent);color:#1a0d04}.workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;min-height:0}.editor-panel{display:grid;grid-template-rows:auto minmax(420px,1fr) auto;min-width:0;min-height:0;border:1px solid var(--border);border-radius:var(--radius-panel);background:var(--surface);overflow:hidden}.editor-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:7px 12px 7px 16px;border-bottom:1px solid var(--border);background:var(--surface-2)}.editor-header-left{display:flex;align-items:center;gap:12px;min-width:0}.editor-header label{color:var(--text-2);font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.editor-header-actions{display:inline-flex;align-items:center;gap:2px}.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:30px;padding:4px 16px 6px;border-top:1px solid var(--border);background:var(--surface-2)}.text-stats{margin:0;color:var(--text-3);font-size:.74rem;font-variant-numeric:tabular-nums;white-space:nowrap}.editor-body{position:relative;min-height:0;display:flex;background:var(--editor-bg)}.editor-body:has(.editor[readonly]){background:var(--editor-bg-ro)}.editor{width:100%;height:100%;min-height:420px;padding:18px;border:0;resize:none;background:var(--editor-bg);color:var(--editor-text);font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.875rem;line-height:1.7;-moz-tab-size:2;tab-size:2;caret-color:var(--accent)}.editor::placeholder{color:var(--text-3)}.editor[readonly]{background:var(--editor-bg-ro);color:var(--editor-text-ro)}.output-empty{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;color:var(--text-3);text-align:center;pointer-events:none}.output-empty .empty-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--surface-2);color:var(--text-2)}.output-empty p{margin:0;max-width:24ch;font-size:.85rem;line-height:1.5}.view-toggle{display:inline-flex;gap:2px;padding:2px;border:1px solid var(--border);border-radius:7px;background:var(--surface)}.view-option{min-height:24px;padding:0 10px;border-radius:5px;background:transparent;color:var(--text-2);font-size:.74rem;font-weight:700;letter-spacing:.04em;cursor:pointer;transition:background .13s ease,color .13s ease}.view-option.active{background:var(--accent);color:#1a0d04}.view-option:disabled{cursor:not-allowed;opacity:.32}.tree-view{flex:1;min-height:420px;padding:16px;overflow:auto;background:var(--editor-bg-ro);color:var(--tree-text);font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.875rem;line-height:1.7}.tree-node,.tree-children{min-width:max-content}.tree-row,.tree-toggle{min-height:26px}.tree-row{display:flex;align-items:center}.tree-toggle{display:flex;align-items:center;gap:4px;width:100%;border-radius:5px;background:transparent;color:inherit;text-align:left;cursor:pointer;transition:background .1s ease}.tree-toggle:hover{background:var(--tree-hover-bg)}.tree-toggle:focus-visible{outline:none;box-shadow:var(--accent-glow)}.tree-key{color:var(--accent-soft)}.tree-summary{color:var(--tree-summary);font-weight:700}.tree-string{color:var(--tree-string)}.tree-number{color:var(--tree-number)}.tree-boolean{color:var(--tree-boolean)}.tree-null{color:var(--text-2)}.status-line{display:flex;align-items:center;gap:8px;min-height:32px;padding:4px 6px;font-size:.85rem;line-height:1.4;color:var(--text-2);border-top:1px solid var(--border)}.status-line.ready,.status-line.info{color:var(--text-2)}.status-line.info .status-icon{color:var(--info)}.status-line.success{color:var(--text-1)}.status-line.success .status-icon{color:var(--success)}.status-line.error{color:var(--text-1)}.status-line.error .status-icon{color:var(--error)}.status-line .status-icon{display:inline-flex;align-items:center}.status-line .status-message{flex:1;min-width:0}.status-line .status-timing{color:var(--text-3);font-variant-numeric:tabular-nums}.site-footer{display:flex;align-items:center;justify-content:center;padding:10px;color:var(--text-3);font-size:.74rem}.site-footer p{margin:0}.site-footer a{color:var(--accent-soft);text-decoration:none}.site-footer a:hover{text-decoration:underline}.privacy-dialog{max-width:min(660px,calc(100vw - 32px));max-height:calc(100dvh - 48px);width:100%;padding:0;border:1px solid var(--border);border-radius:var(--radius-panel);background:var(--surface);color:var(--text-1);overflow:hidden}.privacy-dialog::backdrop{background:#0000008c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.privacy-dialog-inner{display:flex;flex-direction:column;max-height:calc(100dvh - 48px)}.privacy-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--border);background:var(--surface-2);flex-shrink:0}.privacy-dialog-title{margin:0;font-size:1rem;font-weight:700;color:var(--text-1)}.privacy-close-btn{flex-shrink:0}.privacy-dialog-body{padding:24px 28px;overflow-y:auto;line-height:1.65;color:var(--text-1)}.privacy-dialog-body h3{margin:24px 0 8px;font-size:.875rem;font-weight:700;letter-spacing:.01em;color:var(--text-1)}.privacy-dialog-body h3:first-of-type{margin-top:16px}.privacy-dialog-body p{margin:0 0 12px;font-size:.875rem;color:var(--text-2)}.privacy-lead{padding:12px 16px;border-radius:8px;border-left:3px solid var(--accent);background:var(--accent-subtle);color:var(--text-1)!important;font-size:.875rem}.privacy-dialog-body ul{margin:0 0 12px;padding-left:20px}.privacy-dialog-body li{margin-bottom:4px;font-size:.875rem;color:var(--text-2)}.privacy-dialog-body a{color:var(--accent-soft);text-decoration:none}.privacy-dialog-body a:hover{text-decoration:underline}.privacy-dialog-body code{padding:1px 5px;border-radius:4px;background:var(--surface-3);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.82em;color:var(--text-1)}.privacy-table{width:100%;border-collapse:collapse;margin-bottom:12px;font-size:.875rem}.privacy-table th,.privacy-table td{padding:8px 12px;text-align:left;border:1px solid var(--border)}.privacy-table th{background:var(--surface-2);color:var(--text-2);font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.privacy-table td{color:var(--text-2)}.privacy-updated{margin-top:24px!important;font-size:.78rem!important;color:var(--text-3)!important}.footer-link{display:inline;padding:0;border:0;background:transparent;color:var(--text-3);font:inherit;font-size:.74rem;cursor:pointer;text-decoration:none;transition:color .13s ease}.footer-link:hover{color:var(--accent-soft);text-decoration:underline}.share-action{display:inline-flex;align-items:center;gap:6px}.share-size-chip{display:inline-flex;align-items:center;padding:2px 7px;border-radius:var(--radius-pill);font-size:.68rem;font-weight:700;letter-spacing:.02em;white-space:nowrap;cursor:default}.share-size-warn{background:#f59e0b1f;color:#f59e0b}.share-size-too-large{background:#f871711f;color:var(--error)}.share-btn-copied{color:var(--success)!important}.share-btn-error{color:var(--error)!important}.theme-toggle{min-height:32px;min-width:32px;padding:0 8px}@media (max-width: 920px){.app-shell{min-height:auto;padding:18px;gap:12px}.action-bar{align-items:stretch;flex-direction:column}.action-bar-divider{display:none}.action-bar-group{justify-content:flex-start}.action-bar-group .button{flex:1;justify-content:center}.workspace{grid-template-columns:1fr}.editor-panel{grid-template-rows:auto minmax(280px,40vh) auto}.editor,.tree-view,.output-empty{min-height:280px}.kbd-hint{display:none}}@media (max-width: 560px){.app-shell{gap:10px;padding:14px}.site-header-row{flex-direction:column;align-items:flex-start;gap:8px}.site-brand h1{font-size:1.35rem}.editor-header{flex-wrap:wrap;align-items:center;gap:6px;padding:8px 12px}.editor-header-left{width:100%;justify-content:space-between}.editor-header-actions{width:100%;justify-content:flex-end;gap:4px}.share-size-chip{display:none}}@media (hover: none) and (pointer: coarse){.button{min-height:44px}.button.ghost{min-height:44px;padding:0 14px}.theme-toggle{min-height:44px;min-width:44px;padding:0}.segmented{min-height:38px;min-width:44px}.view-option{min-height:36px;padding:0 14px}}:root{--bg: #0a0812;--surface: #100e1a;--surface-2: #171426;--surface-3: #1e1b30;--border: #262236;--border-mid: #322d48;--accent: #f97316;--accent-hover: #ea6c0b;--accent-soft: #fb923c;--accent-subtle: rgba(249, 115, 22, .1);--accent-border: rgba(249, 115, 22, .3);--accent-glow: 0 0 0 3px rgba(249, 115, 22, .28);--text-1: #f3f1fc;--text-2: #7a7499;--text-3: #46415e;--success: #34d399;--error: #f87171;--info: #818cf8;--editor-bg: #08060d;--editor-bg-ro: #060409;--editor-text: #d6d2ee;--editor-text-ro: #b6b1d2;--button-hover-bg: #2a2640;--button-hover-border: #3a3554;--danger-hover-color: #fca5a5;--tree-text: #c4c0e4;--tree-hover-bg: rgba(255, 255, 255, .04);--tree-summary: #e2deff;--tree-string: #6ee7b7;--tree-number: #fcd34d;--tree-boolean: #c4b5fd;--kbd-bg: rgba(0, 0, 0, .2);--kbd-color: rgba(255, 255, 255, .7);--ghost-kbd-bg: rgba(255, 255, 255, .04);--body-gradient: radial-gradient( 1100px 600px at 80% -10%, rgba(249, 115, 22, .06), transparent 60% );--radius-panel: 12px;--radius-button: 8px;--radius-pill: 999px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text-1);background:var(--bg);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[data-theme=light]{--bg: #faf9ff;--surface: #ffffff;--surface-2: #f5f4fc;--surface-3: #ece9f8;--border: #dddce8;--border-mid: #ccc9de;--text-1: #1e1b30;--text-2: #6b6888;--text-3: #a8a6c0;--editor-bg: #f8f7fe;--editor-bg-ro: #f4f3fc;--editor-text: #2a2640;--editor-text-ro: #4a4868;--button-hover-bg: #ece9f8;--button-hover-border: #dddce8;--danger-hover-color: #dc2626;--tree-text: #3a3858;--tree-hover-bg: rgba(0, 0, 0, .04);--tree-summary: #1e1b30;--tree-string: #059669;--tree-number: #b45309;--tree-boolean: #6d28d9;--kbd-bg: rgba(0, 0, 0, .06);--kbd-color: rgba(0, 0, 0, .6);--ghost-kbd-bg: rgba(0, 0, 0, .04);--body-gradient: radial-gradient( 1100px 600px at 80% -10%, rgba(249, 115, 22, .07), transparent 60% )}*{box-sizing:border-box}html{min-width:320px;min-height:100%}body{min-width:320px;min-height:100vh;margin:0;background:var(--body-gradient),var(--bg)}button,textarea,input{font:inherit}button{border:0}#root{min-height:100vh}
