.jsonEditorApp{display:flex;flex-direction:column;height:100%}.jsonEditorApp .CodeEditor{background-color:var(--code-bg);color:var(--code-fg);height:100%}.jsonEditorApp .editor-error{background-color:var(--error-bg);border-top:1px solid var(--error);padding:4px 16px;color:var(--error-text-color);font-size:12px}.jsonEditorApp .icon{color:var(--error);width:20px;height:20px}.je-btn{color:var(--muted);font-size:13px;gap:4px;padding:4px 8px}.je-btn:hover{color:var(--text)}.ntp{display:flex;height:100%}.ntp .sidebar-list{padding:1rem 0;width:200px}.ntp .chat-title:before{padding-right:8px}.ntp :not(.sd-provider).filter{flex:1;overflow:auto;scrollbar-gutter:stable;padding-right:6px}.ntp .sd-provider .btn{padding:6px 12px;border-radius:0}.ntp .sd-provider.filter{padding:0;gap:0;flex:1}.ntp .sd-provider .pretty-select .input{padding:6px 8px;background:var(--panel-2)}.ntp .sd-provider .pretty-select ul{padding:4px}.ntp .sd-provider .pretty-select ._vl{display:flex;flex-direction:column;gap:2px}.ntp .sd-provider .pretty-select li{color:var(--muted);border-radius:.25rem}.ntp .sd-provider .pretty-select li:hover{color:var(--text);border-color:transparent}.ntp .sd-provider .pretty-select li.selected{color:var(--text);background:var(--chip-active);border:1px solid var(--chip-active-border)}.ntp .sd-provider .pretty-select .provider:not(:first-child):not(.selected){border-top:1px solid var(--border)}.ntp .sd-provider .pretty-select .model{padding-left:16px;font-size:12px}.ntp .sd-provider .pretty-select .splitter{pointer-events:none;justify-content:center}.ntp .col-detail{padding:12px 16px 0;background:var(--panel)}.ntp .tabs{display:flex;gap:16px}.ntp .tabs>button{border-radius:0;padding:10px 0;color:var(--muted);border-bottom:2px solid transparent;font-size:12px}.ntp .tabs>button:hover{color:var(--text)}.ntp .tabs>button.active{color:var(--accent);border-color:var(--accent)}.ntp .tab-content{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:16px}@media screen and (max-width:768px){.ntp{width:100%;min-height:100%;flex-direction:column}.ntp .sidebar-list{width:100%;padding:0;scrollbar-gutter:unset;touch-action:pan-x}.ntp .sidebar-list ._vl{padding:0;flex-direction:row;width:100%;overflow:auto}.ntp .sidebar-list ._vl::-webkit-scrollbar{display:none}}.preset-panel{--panel-width: 25vw;--accent: #8ab4f8;--danger: #f28b82;height:100%;background:var(--card);display:flex;flex-direction:column}.preset-panel .filter{background:var(--card)}.preset-panel>.filter{overflow:auto;scrollbar-gutter:stable;padding-right:4px}.preset-panel ul{flex:1;overflow-y:auto;margin:0;padding:0}.preset-panel ul::-webkit-scrollbar{width:6px}.preset-panel ul::-webkit-scrollbar-track{background:transparent}.preset-panel ul::-webkit-scrollbar-thumb{background:#555;border-radius:3px}.preset-panel .details{margin:0 .5rem}.preset-panel li{border-bottom:1px solid var(--border);transition:background .15s}.preset-panel li:hover{background:#ffffff0a}.preset-panel .summary{display:flex;align-items:center;gap:.6rem;padding:.5rem 1rem}.preset-panel .summary .index{color:var(--muted);font-size:.8rem;min-width:1.5em;text-align:right}.preset-panel .summary .name{flex:1;color:var(--text);font-size:.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preset-panel .summary .switch{width:42px;height:24px}.preset-panel .summary .slider{position:absolute;cursor:pointer;inset:0;background:#555;border-radius:24px;transition:background .25s}.preset-panel .summary .slider:before{content:"";position:absolute;height:18px;width:18px;left:3px;bottom:3px;background:#ddd;border-radius:50%;transition:transform .25s}.preset-panel__edit-btn,.preset-panel__delete-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:transparent;color:var(--muted);border-radius:6px;cursor:pointer;font-size:1.1rem;transition:background .15s,color .15s;flex-shrink:0}.preset-panel__edit-btn:hover{background:#ffffff14;color:var(--text)}.preset-panel__delete-btn{color:var(--danger)}.preset-panel__delete-btn:hover{background:#f28b8226;color:#ffb3b3}
