*{margin:0;padding:0}*,*:before,*:after{box-sizing:border-box}:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:root{--bg-color: #242424;--text-color: #eee;--button-bg: #333;--button-text: #eee;--box-color: #000;--border-color: #ccc;--border-hover-color: #4caf50;--focus-ring: #646cff}@media (prefers-color-scheme: light){:root{--bg-color: #eee;--text-color: #242424;--button-bg: #aaa;--button-text: #242424;--box-color: light-box-color;--border-color: #242424;--border-hover-color: #646cff}}body.dark{--bg-color: #242424;--text-color: #eee;--button-bg: #333;--button-text: #eee;--box-color: #000;--border-color: #ccc;--border-hover-color: #4caf50}body.light{--bg-color: #eee;--text-color: #242424;--button-bg: #aaa;--button-text: #242424;--box-color: #ccc;--border-color: #242424;--border-hover-color: #646cff}body{min-width:320px;min-height:100vh;background-color:var(--bg-color);color:var(--text-color);transition:background-color .3s ease,color .3s ease}@media (min-width: 320px){body{font-size:smaller}}@media (min-width: 768px){body{font-size:small}}@media (min-width: 1024px){body{font-size:large}}ul{list-style:none}.hwr{font-family:Indie Flower,cursive;font-weight:400;font-style:normal}.section-title{font-size:2em;margin-bottom:.5em;font-weight:600}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:var(--border-hover-color)}.skeleton{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;border-radius:4px;animation:loading 1.5s infinite;margin-bottom:.5rem}.language-selector{background:transparent;border:1px solid var(--border-color);color:var(--text-color);padding:.3em;border-radius:4px;font-size:.75em;cursor:pointer}.language-selector option{background:var(--bg-color);color:var(--text-color)}@keyframes loading{0%{background-position:200% 0}to{background-position:-200% 0}}h1{font-size:3.2em;line-height:1.1}button,.button-link{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:var(--button-bg);color:var(--button-text);cursor:pointer;transition:all .3s ease}@media (min-width: 320px){button,.button-link{padding:.4em .8em;font-size:.9em}}button:hover{border-color:var(--border-hover-color);color:var(--border-hover-color);opacity:.9}button:focus,button:focus-visible{outline:2px solid var(--border-hover-color);outline-offset:2px}.no-button{background-color:transparent;padding:0;border:0;cursor:pointer}.form-container{max-width:600px;margin:1em inherit;padding:1em;background-color:rgba(var(--box-color),.8);border:2px solid var(--border-color);border-radius:8px}.input-style,.input-container select,.input-container textarea,.input-container input[type=password],.input-container input[type=email],.input-container input[type=text]{width:100%;padding:.5em;border:1px solid var(--border-color);border-radius:4px;font-size:1em;font-family:inherit;color:var(--text-color);background-color:rgba(var(--box-color),1);transition:border-color .3s ease}.input-style:focus,.input-container select:focus,.input-container textarea:focus,.input-container input[type=password]:focus,.input-container input[type=email]:focus,.input-container input[type=text]:focus,.input-style:focus-visible,.input-container select:focus-visible,.input-container textarea:focus-visible,.input-container input[type=password]:focus-visible,.input-container input[type=email]:focus-visible,.input-container input[type=text]:focus-visible{border-color:var(--border-hover-color);outline:none}.share-feedback{position:absolute;top:20px;left:0;background-color:var(--box-color);color:var(--text-color);padding:.3em;border:1px solid var(--border-hover-color);border-radius:8px;box-shadow:0 4px 6px #0000001a;z-index:1000;font-size:smaller;animation:fadeInOut 3s forwards}.public-note-container{padding-bottom:3em}.tooltip-container{position:relative}.tooltip-container .tooltip{position:absolute;top:0;left:50%;color:#646cff;transform:translateY(-50%);font-size:smaller}.tooltip-container .tooltip-content{width:max-content;max-width:200px;background-color:var(--box-color);color:var(--text-color);text-align:center;border-radius:4px;padding:.5em;position:absolute;z-index:1;bottom:125%;left:50%;transform:translate(-50%);transition:opacity .3s}.tooltip-container .tooltip-content:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--box-color) transparent transparent transparent}.input-container{margin-bottom:1rem}.input-container textarea{min-height:150px}.input-container label{display:block;margin-bottom:.5em}.input-container label.input-password{display:flex;align-items:center;justify-content:space-between}.input-container.inline-container{display:flex;align-items:center;gap:10px}.input-container.inline-container label{display:inline-block;margin-bottom:0}.input-container.inline-container select{width:auto;display:inline-block}.checkbox-container{margin-bottom:1rem}.checkbox-container.inline-container{align-items:center;display:flex;gap:10px}.checkbox-container.inline-container label{display:inline-block;margin:0}.checkbox-container.inline-container input{width:auto;display:inline-block}.message-container{margin-block:1em}.message-container p{display:flex;align-items:center;margin-block:1em}.error{color:#ff4d4d}.success{color:#374ed3}p.error,p.success{display:flex;align-items:center;gap:5px;font-size:small}.wrapper-buttons{display:flex;gap:10px;align-items:center}.add-collaborator h2{margin-block:.5em}.gradient-background{background:linear-gradient(to bottom,var(--border-color) 0%,var(--border-color) 10%,color-mix(in srgb,var(--border-color) 50%,var(--button-bg) 70%) 40%,color-mix(in srgb,var(--border-color) 40%,var(--button-bg) 60%) 85%,var(--button-bg) 100%)}.nav-link{border-radius:8px 8px 0 0;border:1px outset var(--border-color);border-bottom:0;color:var(--text-color);padding:.5em .5em .8em;float:right}.view-site{position:fixed;bottom:20px;right:20px;background-color:var(--button-bg);padding:.5em}.view-site a{font-weight:700;font-size:1.2em}.wrapper-content{width:100%;max-width:1980px;margin-inline:auto}.main-content{width:100%;min-height:calc(100vh - 120px);padding:10px}@media (min-width: 1024px){.main-content{padding:20px}}.modal-container{width:100%;height:100%;position:fixed;top:0;left:0;z-index:1000;display:flex;justify-content:center;align-items:center;opacity:0;transition:opacity .3s ease-in-out}.modal-container.show{opacity:1}.modal-container.show .modal-content{transform:scale(1) translateY(0);opacity:1}.modal-background{position:absolute;display:flex;justify-content:center;align-items:center;inset:0;background:#000c;z-index:998}.modal-close{position:absolute;top:10px;right:10px;background:transparent;border:none;font-size:1.5em;cursor:pointer;z-index:1000}.modal-content{background:#fff;color:#333;padding:20px;border-radius:5px;box-shadow:0 2px 10px #0000001a;position:relative;z-index:999;transform:scale(.7) translateY(-20px);opacity:0;transition:all .3s cubic-bezier(.34,1.56,.64,1)}.modal-content .modal-close{color:#333}.modal-content input[type=text],.modal-content input[type=email],.modal-content input[type=password],.modal-content textarea,.modal-content select{color:#000}.login{display:flex;flex-direction:column;justify-content:center;height:100%;max-width:500px;padding:1em;margin:2em 0;border:2px solid var(--border-color)}.login input{padding:.5rem;border:1px solid #ccc;border-radius:4px;font-size:1rem;width:100%}.form-user{max-width:500px;border:2px solid var(--border-color);padding:1rem;margin:1em}.forgot-password{text-align:right;font-size:smaller;cursor:pointer;color:#646cff}.notes-content .notes-list{display:flex;flex-wrap:wrap;gap:1rem}@media (min-width: 768px){.notes-content .notes-list{padding:20px}}.note{border-radius:5px;border:2px solid var(--border-color);padding:10px;overflow:auto;line-height:1.4;color:#333;position:relative;width:98vw;max-width:98vw;margin-inline:auto}@media (min-width: 768px){.note{width:auto;min-width:250px;max-width:50%;max-height:500px;margin-inline:0}}.note.public-note{padding-top:20px}.note .no-button{color:#000;transition:color .2s;opacity:.4}.note .no-button.active{color:#000;opacity:1}.note .no-button.active svg{fill:#f98000}.note .no-button:hover{color:#ff9800;opacity:1}.note h3{margin-bottom:1em}.note h3 .input-title{border:none;color:#000;font-size:1em;background:transparent;font-weight:700;width:100%}.note .note-content{margin-bottom:1em;white-space:pre-wrap;word-wrap:break-word}.note .note-content-textarea{width:100%;min-height:120px;padding:8px;border:1px solid rgba(0,0,0,.2);border-radius:4px;font-family:inherit;font-size:1em;resize:vertical;background:#ffffff80;color:#000;margin-bottom:1em}.note .note-content-textarea:focus{outline:none;border-color:#0006;background:#fffc}.note input[type=text],.note select{border-color:#0006;color:#000;background:#ffffff80;font-size:1em;background:transparent}.note .note-actions{display:flex;gap:.5rem;margin-top:.5rem}.note .note-actions .edit-button,.note .note-actions .delete-button{background:none;border:none;font-size:1.2rem;cursor:pointer;padding:.2rem;border-radius:3px;transition:background-color .2s}.note .note-actions .edit-button:hover,.note .note-actions .delete-button:hover{background-color:#0000001a}.note .note-actions .delete-button:hover{background-color:#f443361a}.search-result{margin-bottom:1em;font-size:1em}.note-skeleton{padding:10px;width:200px}.form-container{border:2px solid #ddd;border-radius:8px;padding:20px;margin-bottom:20px}.form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.create-note-button{background:#4caf50;color:var(--text-color)}.create-note-button:hover{color:var(--text-color)}.notes-search{width:400px;max-width:100%;position:relative}.notes-search .clear-button{position:absolute;right:0;top:0;transform:translate(-2px,2px);cursor:pointer}.notes-form{border:2px solid var(--border-color);border-radius:8px;padding:35px;margin-bottom:20px;width:400px;max-width:100%;position:relative}.notes-form .note-title{font-weight:700}.notes-form label{font-size:.8em;color:#000}.notes-form input[type=text],.notes-form textarea,.notes-form select{border:0;color:#000}.notes-form textarea{font-family:monospace}.notes-form .cancel-button{position:absolute;top:0;right:0}.cancel-button{background:#f44336;color:#fff;border:none;padding:5px 10px;border-radius:3px;cursor:pointer}.notes-collaborators{margin-top:10px;width:100%;font-size:small;background-color:#0000001a;padding:5px}.notes-collaborators li{display:flex;align-items:center;gap:5px}.notes-collaborators li:not(:last-child){margin-bottom:5px}.notes-collaborators li button{font-size:1.4em}.public-label{position:absolute;top:5px;right:5px;background-color:#ffc107e6;color:#000;padding:2px 6px;border-radius:3px;font-size:.8em;display:flex;align-items:center;gap:4px}.notes-navigator .wrapper-buttons{margin-block:1em}@media (min-width: 768px){.notes-navigator .wrapper-buttons{float:right}}.tags{margin:.5em 0;display:flex;flex-wrap:wrap;gap:.5em}.tags .tag{background-color:#333;color:#fff;border-radius:3px;padding:.2em .5em;font-size:.9em}.date{font-size:.8em;color:#666;margin-block:.5em}.note-view-public{max-width:95vw;padding-top:25px}@media (min-width: 768px){.note-view-public{max-width:600px}}.note-view-public .note-title{font-weight:700;margin-bottom:1em;color:#000}.page-header{display:flex;justify-content:space-between;align-items:center;width:100%;height:80px;background-color:var(--box-color);padding:1em}.page-header h1{font-size:2.5em}.register-form{display:flex;flex-direction:column;gap:1em;width:600px;max-width:100%;margin:2em auto}.register-form label{font-weight:700;margin-bottom:.5em;color:var(--text-color);display:block}.register-form input,.register-form button{padding:.5em;font-size:1em;border:1px solid #ccc;border-radius:4px}.register-form button{background-color:#4caf50;color:#fff;border:none;cursor:pointer;transition:background-color .3s}.register-form button:hover{background-color:#45a049}.register-form .toggle-password{float:right;cursor:pointer;color:var(--text-color)}.error-boundary-container{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:2rem;background:linear-gradient(135deg,#667eea,#764ba2)}.error-boundary-content{background:var(--bg-primary);border-radius:12px;padding:3rem;max-width:600px;width:100%;box-shadow:0 10px 40px #0003;text-align:center}.error-boundary-content .error-icon{font-size:4rem;color:#f56565;margin-bottom:1.5rem;animation:pulse 2s ease-in-out infinite}.error-boundary-content h1{font-size:2rem;margin-bottom:1rem;color:var(--text-primary)}.error-boundary-content .error-message{font-size:1.1rem;color:var(--text-secondary);margin-bottom:2rem;line-height:1.6}.error-boundary-content .error-details{text-align:left;margin:2rem 0;background:var(--bg-secondary);border-radius:8px;padding:1rem}.error-boundary-content .error-details summary{cursor:pointer;font-weight:600;color:var(--text-primary);padding:.5rem;-webkit-user-select:none;user-select:none}.error-boundary-content .error-details summary:hover{color:var(--color-primary)}.error-boundary-content .error-details .error-stack{margin-top:1rem;padding:1rem;background:#1a1a1a;border-radius:6px;overflow-x:auto;font-size:.85rem;line-height:1.5}.error-boundary-content .error-details .error-stack code{color:#ff6b6b;font-family:Courier New,monospace}.error-boundary-content .error-details .error-stack hr{border:none;border-top:1px solid #333;margin:1rem 0}.error-boundary-content .error-actions{display:flex;gap:1rem;justify-content:center;margin-bottom:1.5rem}.error-boundary-content .error-actions button{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease}.error-boundary-content .error-actions button svg{font-size:1.2rem}.error-boundary-content .error-actions button.btn-primary{background:var(--color-primary);color:#fff}.error-boundary-content .error-actions button.btn-primary:hover{background:var(--color-primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.error-boundary-content .error-actions button.btn-secondary{background:var(--bg-secondary);color:var(--text-primary)}.error-boundary-content .error-actions button.btn-secondary:hover{background:var(--bg-tertiary);transform:translateY(-2px)}.error-boundary-content .error-help-text{font-size:.9rem;color:var(--text-tertiary);font-style:italic}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(1.05)}}@media (max-width: 768px){.error-boundary-content{padding:2rem 1.5rem}.error-boundary-content h1{font-size:1.5rem}.error-boundary-content .error-icon{font-size:3rem}.error-boundary-content .error-actions{flex-direction:column}.error-boundary-content .error-actions button{width:100%}}
