.app-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;background-color:hsl(var(--bars));border-bottom:1px solid hsl(var(--border))}.app-title{font-size:1.5rem;font-weight:700}.user-menu{display:flex;align-items:center;gap:1rem}@media (max-width: 768px){.app-header{display:flex;justify-content:space-between;align-items:start;font-size:.8rem}.app-title{font-size:1.5rem;font-weight:700}}.sidebar{width:240px;background-color:hsl(var(--bars));padding:1rem;border-right:1px solid hsl(var(--border));flex-shrink:0;transition:margin-left .3s ease-in-out;height:100%}.sidebar-closed .sidebar{margin-left:-240px}.sidebar ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem;height:100%}.sidebar ul li a{display:flex;align-items:center;padding:.75rem 1rem;color:hsl(var(--foreground) / .8);text-decoration:none;border-radius:var(--radius);transition:background-color .2s,color .2s;font-weight:500}.sidebar-icon{display:inline-block;margin-right:1rem;font-size:1.25rem;width:24px;text-align:center}.sidebar ul li a:hover{background-color:hsl(var(--primary) / .4);color:hsl(var(--foreground))}.sidebar ul li a.active{background-color:hsl(var(--primary));color:hsl(var(--primary-foreground))}@media (max-width: 768px){.sidebar{position:fixed;left:0;top:0;height:100%;z-index:100;margin-left:0!important;transform:translate(-100%);transition:transform .3s ease-in-out}.sidebar-open .sidebar{transform:translate(0)}}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-top:2rem}.stat-card{text-align:left;padding:1.5rem;border:1px solid transparent;transition:transform .2s ease-in-out,box-shadow .2s ease-in-out,border-color .2s ease-in-out}.stat-card h4{margin-top:0;margin-bottom:.5rem;opacity:.8}.stat-card:hover{transform:translateY(-5px);border-color:hsl(var(--primary) / .5);box-shadow:0 8px 25px hsl(var(--primary) / .1)}.stat-value{font-size:2.5rem;font-weight:600;color:hsl(var(--luminance));margin-bottom:1rem}.stat-unit{font-size:1.5rem;opacity:.6;margin-left:.25rem;font-weight:400}.progress-bar-container{height:8px;width:100%;background-color:hsl(var(--border));border-radius:var(--radius);overflow:hidden;margin-top:1rem}.progress-bar{height:100%;background-color:hsl(var(--primary));transition:width .5s ease-in-out;border-radius:var(--radius)}.stat-percent{margin-top:.5rem;font-size:.9em;opacity:.8;text-align:right}.skeleton-title{height:20px;width:60%;margin-bottom:1rem}.skeleton-value{height:40px;width:80%;margin-bottom:1.5rem}.skeleton-progress{height:8px;width:100%}.skeleton{background-color:hsl(var(--border));border-radius:var(--radius);animation:pulse 1.5s cubic-bezier(.4,0,.6,1) infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.notification-container{position:fixed;bottom:20px;left:50%;transform:translate(-50%);z-index:1001;display:flex;flex-direction:column;gap:1rem;align-items:center}.notification-toast{display:flex;align-items:center;gap:1rem;min-width:300px;padding:1rem 1.5rem;border-radius:var(--radius);color:#fff;font-weight:500;box-shadow:0 4px 12px #0003;animation:slide-in .5s cubic-bezier(.25,1,.5,1)}.notification-toast.exit{animation:slide-out .5s cubic-bezier(.5,0,.75,0) forwards}.notification-toast.success{background-color:#2e7d32}.notification-toast.error{background-color:#d32f2f}.notification-toast.info{background-color:#0288d1}.undo-btn{border:none;color:inherit;font-weight:700;text-transform:uppercase;font-size:.8em;padding:.5rem 1rem;border-radius:var(--radius);cursor:pointer;transition:background-color .2s}.undo-btn:hover{background:#ffffff4d}@keyframes slide-in{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes slide-out{0%{transform:translateY(0);opacity:1}to{transform:translateY(20px);opacity:0}}.modal-overlay{position:fixed;inset:0;background-color:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;opacity:1;transition:opacity .3s ease-in-out}.modal-content{background-color:hsl(var(--card));padding:2rem;border-radius:var(--radius);max-width:500px;width:90vw;max-height:90vh;overflow-y:auto;box-shadow:0 10px 30px #0003;transform:scale(1);opacity:1;transition:transform .3s ease-in-out,opacity .3s ease-in-out}.modal-overlay-entering{opacity:0}.modal-content-entering{opacity:0;transform:scale(.95)}.modal-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid hsl(var(--border));padding-bottom:1rem;margin-bottom:1rem}.modal-title{margin:0}.modal-close-btn{background:none;border:none;font-size:2rem;line-height:1;cursor:pointer;color:hsl(var(--foreground) / .6);transition:color .2s}.modal-close-btn:hover{color:hsl(var(--foreground))}.modal-body img{max-width:100%;height:auto;border-radius:var(--radius)}.modal-body pre{white-space:pre-wrap;word-wrap:break-word;background-color:hsl(var(--background));padding:1rem;border-radius:var(--radius)}.confirmation-content p{margin-top:0;margin-bottom:2.5rem;font-size:1.15rem;line-height:1.6;color:hsl(var(--foreground) / .9)}.confirmation-actions{display:flex;justify-content:flex-end;gap:1rem}.confirmation-actions .btn-danger{background-color:red;color:hsl(var(--primary-foreground))}.confirmation-actions .btn-danger:hover{background-color:red}.form-container{display:flex;flex-direction:column;gap:1.5rem}.form-group label{font-weight:500;opacity:.9}.form-container input[type=text],.form-container input[type=password],.form-container select{width:100%;padding:.75rem 1rem;border:1px solid hsl(var(--border));background-color:hsl(var(--background));color:hsl(var(--foreground));border-radius:var(--radius);font-size:1rem;transition:border-color .2s,box-shadow .2s}.form-container input:focus,.form-container select:focus{outline:none;border-color:hsl(var(--primary));box-shadow:0 0 0 2px hsl(var(--primary) / .2)}.form-container button[type=submit]{margin-top:1rem;align-self:center;padding:.75rem 2.5rem}.collapsible-header{width:100%;text-align:left;justify-content:space-between;display:flex;align-items:center;padding:0;background:none;border:none;color:hsl(var(--foreground));cursor:pointer}.actions-column{text-align:right;width:1%}.actions-cell{text-align:right;white-space:nowrap;display:flex;gap:.5rem;justify-content:flex-end}.db-viewer,.sql-executor{text-align:left;background-color:hsl(var(--card));padding:1.5rem;margin-top:2rem;border:1px solid hsl(var(--border));border-radius:var(--radius)}.table-list{display:flex;gap:.5rem;margin-bottom:1rem}.table-content{margin-top:1rem}textarea{font-family:monospace;width:100%;background-color:hsl(var(--background));color:hsl(var(--foreground));padding:.5rem;box-sizing:border-box;margin-bottom:1rem;border:1px solid hsl(var(--border));border-radius:var(--radius)}.query-result pre{max-height:300px;background-color:hsl(var(--background));padding:1rem;overflow-y:auto;border:1px solid hsl(var(--border));border-radius:var(--radius)}table{width:100%;margin-top:1rem;border-collapse:collapse}th,td{text-align:left;padding:.5rem;border:1px solid hsl(var(--border))}th{background-color:hsl(var(--card))}.table-wrapper{overflow-x:auto}.settings-group{text-align:left;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:1px solid hsl(var(--border))}.settings-group:last-of-type{border-bottom:none;margin-bottom:0}.settings-group h4{margin-top:0;margin-bottom:1rem;opacity:.8}.choice-group{display:flex;flex-wrap:wrap;gap:.5rem}.choice-group input[type=radio]{display:none}.choice-group label{padding:.5rem 1rem;border:1px solid hsl(var(--border));border-radius:var(--radius);cursor:pointer;transition:background-color .2s,color .2s}.choice-group input[type=radio]:checked+label{background-color:hsl(var(--primary));color:hsl(var(--primary-foreground));border-color:hsl(var(--primary))}.color-picker-wrapper{position:relative;width:50px;height:50px;border-radius:50%;border:2px solid hsl(var(--border));overflow:hidden;cursor:pointer}.color-picker-wrapper input[type=color]{position:absolute;top:-10px;left:-10px;width:80px;height:80px;border:none;cursor:pointer;padding:0;margin:0}.collapsible-header{width:100%;text-align:left;justify-content:space-between;display:flex;align-items:center;padding:0;background:none;border:none;color:hsl(var(--foreground))}.collapsible-header:after{content:"›";font-size:2em;transition:transform .3s;margin-right:.5rem}.collapsible-header.open:after{transform:rotate(90deg)}.collapsible-section{overflow:hidden;transition:max-height .5s cubic-bezier(.4,0,.2,1),padding-top .5s;padding-top:0}.collapsible-section.closed{max-height:0}.collapsible-section.open{max-height:500px;padding-top:2rem}.file-list{list-style:none;padding-left:0;text-align:left;margin-top:1rem}.file-item{display:flex;align-items:center;padding:.5rem;flex-grow:1;border-radius:var(--radius);transition:background-color .2s}.file-icon{margin-right:.75rem;font-size:1.2em}.file-item--directory{cursor:pointer;font-weight:500}.file-item--directory:hover{background-color:hsl(var(--border))}.file-item--directory:after{content:"›";margin-left:auto;font-size:1.5em;color:hsl(var(--foreground) / .5)}.file-item-container{display:flex;align-items:center;justify-content:space-between}.file-item-container:hover .delete-btn{opacity:1}.breadcrumbs{display:flex;align-items:center;gap:.5rem;padding-bottom:1rem;font-size:1.1em;font-weight:500}.breadcrumb-item{cursor:pointer;padding:.25rem .5rem;border-radius:var(--radius);transition:background-color .2s}.breadcrumb-item:hover{background-color:hsl(var(--border));color:hsl(var(--primary))}.breadcrumb-separator{color:hsl(var(--foreground) / .5)}.item-actions{display:flex;align-items:center}.action-btn{background:none;border:none;cursor:pointer;font-size:1.2rem;padding:.5rem;opacity:0;transition:opacity .2s,transform .2s}.action-btn:disabled{opacity:0}.file-item-container:hover .action-btn{opacity:1}.action-btn:hover{transform:scale(1.1)}.delete-btn:hover{color:#f44336}.file-input-wrapper{display:flex;gap:1rem;align-items:center}.file-input-hidden{display:none}.file-input-label{display:inline-block;padding:.75rem 1.5rem;background-color:hsl(var(--border));border-radius:var(--radius);cursor:pointer;transition:background-color .2s}.file-input-label:hover{background-color:hsl(var(--primary) / .5)}.action-form{max-width:500px;padding:1.5rem;margin-top:1rem;background-color:hsl(var(--background));border-radius:var(--radius);display:flex;flex-direction:column;gap:1rem}.action-form h3{margin:0 0 .5rem}.action-form input[type=text]{width:100%;padding:.75rem;border:1px solid hsl(var(--border));background-color:hsl(var(--background));color:hsl(var(--foreground));border-radius:var(--radius)}.action-form button{align-self:flex-start}/**
* Copyright (c) 2014 The xterm.js authors. All rights reserved.
* Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
* https://github.com/chjj/term.js
* @license MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* Originally forked from (with the author's permission):
*   Fabrice Bellard's javascript vt100 for jslinux:
*   http://bellard.org/jslinux/
*   Copyright (c) 2011 Fabrice Bellard
*   The original design remains. The terminal itself
*   has been extended to include xterm CSI codes, among
*   other features.
*/.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;inset:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;inset:0;z-index:10;color:transparent;pointer-events:none}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:1rem}.list-header-actions{display:flex;gap:.5rem}.list-tabs{display:flex;border-bottom:1px solid hsl(var(--border));margin-bottom:2rem;overflow-x:auto;overflow-y:hidden;white-space:nowrap;-webkit-mask-image:linear-gradient(to right,transparent,black 1rem,black 95%,transparent);mask-image:linear-gradient(to right,transparent,black 1rem,black 95%,transparent)}.tab{display:flex;align-items:center;background:transparent;border:none;border-bottom:2px solid transparent;cursor:pointer;color:hsl(var(--foreground) / .6);position:relative;bottom:-1px;padding:.75rem .25rem;transition:color .2s,border-color .2s}.tab:before,.tab:after{content:"";position:absolute;bottom:0;width:2px;height:100%;background:linear-gradient(to top,hsl(var(--primary)),transparent);opacity:0;transition:opacity .3s ease-in-out}.tab:before{left:0}.tab:after{right:0}.tab.active:before,.tab.active:after{opacity:.5}.tab:hover{background:linear-gradient(to top,hsl(var(--primary) / .1),transparent)}.tab.active{color:hsl(var(--foreground));border-bottom-color:hsl(var(--primary));font-weight:500}.tab-name{padding:0 1rem}.shared-badge{font-size:.7rem;background-color:hsl(var(--primary));color:hsl(var(--primary-foreground));padding:.1rem .4rem;border-radius:99px;margin-top:5px;margin-left:10px}.delete-tab-btn{background:none;border:none;color:hsl(var(--foreground) / .4);font-size:1.5rem;cursor:pointer;padding:0 .5rem;border-radius:50%;line-height:1;transition:color .2s,background-color .2s}.tab:hover .delete-tab-btn{color:hsl(var(--foreground) / .6)}.delete-tab-btn:hover{background-color:hsl(var(--border));color:#d32f2f}.list-content-grid{display:grid;grid-template-columns:1fr;gap:2rem}@media (min-width: 992px){.list-content-grid{grid-template-columns:1fr 1fr}}.list-section{background-color:hsl(var(--card));padding:1.5rem;border-radius:var(--radius);display:flex;flex-direction:column;max-height:70vh}.list-section h3{margin-top:0;border-bottom:1px solid hsl(var(--border));padding-bottom:1rem;margin-bottom:1rem;flex-shrink:0}.groups-container{overflow-y:auto;flex-grow:1;padding-right:.5rem}.list-group{background-color:hsl(var(--background));border-radius:var(--radius);padding:1rem 1.5rem;margin-bottom:1.5rem}.list-group-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.list-group-header h4{margin:0}.list-group-actions{display:flex;align-items:center;gap:.75rem}.action-btn{background:none;border:none;font-size:1.5rem;line-height:1;opacity:.3;cursor:pointer;color:hsl(var(--foreground));transition:all .2s;padding:0;font-family:sans-serif}.list-group:hover .action-btn{opacity:1}.delete-group-btn:hover{color:#d32f2f}.item-list{list-style:none;padding:0;margin:0}.item-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;padding:.75rem .25rem;border-bottom:1px solid hsl(var(--border))}.item-row:last-child{border-bottom:none}.item-text{cursor:pointer}.completed-group .item-row .custom-checkbox{visibility:hidden}.item-creator{font-size:.8rem;opacity:.5;justify-self:end;cursor:help;white-space:pre}.item-text-input{width:100%;padding:.25rem .5rem;margin:-.25rem -.5rem;font-size:1rem;background-color:hsl(var(--background));border:1px solid hsl(var(--primary));border-radius:var(--radius);color:hsl(var(--foreground));outline:none}.add-item-form,.add-group-form{display:flex;gap:1rem}.add-item-form{margin-top:1rem}.add-item-form input,.add-group-form input{flex-grow:1;background-color:hsl(var(--background));border:1px solid hsl(var(--border));border-radius:var(--radius);padding:.75rem 1rem;color:hsl(var(--foreground));font-size:1rem}.add-item-form button{flex-shrink:0;border-radius:var(--radius);border:none;background-color:hsl(var(--primary));color:hsl(var(--primary-foreground));font-weight:500;cursor:pointer;padding:0 1rem;font-size:1.2rem}.form-group .custom-checkbox{display:flex;flex-direction:row;align-items:center;cursor:pointer}.trash-item-row{display:flex;align-items:center;justify-content:space-between;padding:.75rem .25rem;border-bottom:1px solid hsl(var(--border))}.trash-item-row .item-text{text-decoration:line-through;opacity:.5}.custom-checkbox{display:block;position:relative;cursor:pointer;width:22px;height:22px}.custom-checkbox input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.checkmark{position:absolute;top:0;left:0;height:22px;width:22px;background-color:hsl(var(--background));border:2px solid hsl(var(--border));border-radius:var(--radius);transition:all .2s}.custom-checkbox:hover input~.checkmark{border-color:hsl(var(--primary))}.custom-checkbox input:checked~.checkmark{background-color:hsl(var(--primary));border-color:hsl(var(--primary))}.checkmark:after{content:"";position:absolute;display:none;left:7px;top:3px;width:5px;height:10px;border:solid hsl(var(--primary-foreground));border-width:0 3px 3px 0;transform:rotate(45deg)}.custom-checkbox input:checked~.checkmark:after{display:block}#root>.form-container{height:100vh;display:grid;place-content:center;width:320px;margin:0 auto}.form-container{display:flex;flex-direction:column;gap:1rem;background-color:hsl(var(--card));padding:2rem;border-radius:var(--radius);border:1px solid hsl(var(--border))}.form-container h2{margin-top:0}.form-group{display:flex;flex-direction:column;text-align:left;gap:.5rem}.form-group label{font-weight:500}.form-group input,.form-group select{width:100%;padding:.75rem;border:1px solid hsl(var(--border));background-color:hsl(var(--background));color:hsl(var(--foreground));border-radius:var(--radius)}.form-group input:focus{outline:2px solid hsl(var(--primary));border-color:transparent}.message{padding:.75rem;border-radius:var(--radius);margin-top:1rem;font-weight:500}.message.success{background-color:#2e7d32;color:#fff}.message.error{background-color:#d32f2f;color:#fff}.app-container{display:flex;flex-direction:column;height:100vh}.app-body{display:flex;flex-grow:1;overflow:hidden}.main-content{flex-grow:1;padding:2rem;overflow-y:auto;transition:margin-left .3s ease-in-out}.login-page-wrapper{display:grid;place-items:center;height:100vh;width:100vw}.login-page-wrapper .form-container{width:100%;max-width:380px}.sidebar-backdrop{display:none}.content-container{width:100%;max-width:960px;margin-left:auto;margin-right:auto}.card{margin-bottom:2rem}@media (max-width: 768px){.main-content,.sidebar-closed .main-content{margin-left:0!important}.sidebar-backdrop{display:block;position:fixed;inset:0;background-color:#00000080;z-index:99}}:root{--radius: .5rem}*,*:before,*:after{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;background-color:hsl(var(--background));color:hsl(var(--foreground));transition:background-color .2s,color .2s}button{border-radius:var(--radius);border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;cursor:pointer;transition:border-color .25s,background-color .25s;background-color:hsl(var(--primary));color:hsl(var(--primary-foreground))}button:hover{filter:brightness(1.1)}button:disabled{opacity:.5;cursor:not-allowed}.card{background-color:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);padding:1.5rem;margin-bottom:2rem}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:hsl(var(--background) / .5)}::-webkit-scrollbar-thumb{background:hsl(var(--border));border-radius:4px}::-webkit-scrollbar-thumb:hover{background:hsl(var(--primary) / .5)}
