.login-wrapper{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:2rem;background:radial-gradient(circle at top,#111a38,#05070f 70%)}.login-card{display:flex;flex-direction:column;gap:.9rem;width:min(340px,100%);padding:2.2rem 1.8rem;border-radius:14px;background:#0f1732;box-shadow:0 12px 30px #080c1e8c;color:#f5f7ff}.login-title{text-align:center;font-size:1.6rem;margin:0 0 .45rem;color:#fff}.login-label{font-size:.9rem;font-weight:600;color:#c3ccff}.login-input{padding:.8rem .95rem;border:1px solid #2a3356;border-radius:10px;font-size:.95rem;background:#121a33;color:#f5f7ff}.login-input:focus{outline:2px solid #4e5dff;border-color:transparent}.login-button{padding:.8rem .95rem;border:none;border-radius:10px;background:#4e5dff;color:#fff;font-weight:600;font-size:.95rem;cursor:pointer;transition:background .15s ease-in-out}.login-button:disabled{background:#363f7f;cursor:not-allowed}.login-button:not(:disabled):hover{background:#6a79ff}.login-error{color:#ffb3c1;font-size:.85rem;margin:0;text-align:center}.markdown-preview{width:100%;flex:1;border:none;border-radius:0;background:transparent;padding:1rem 1.3rem;overflow-y:auto;font-size:.95rem;line-height:1.65;font-family:Inter,Spoqa Han Sans Neo,Noto Sans KR,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.markdown-preview__placeholder{margin:0}.markdown-preview__heading-block{display:flex;align-items:baseline;gap:.45rem;margin-bottom:.6rem}.markdown-preview__heading-text{font-size:1.12rem;font-weight:600;margin:0}.markdown-preview__paragraph{margin:0 0 .6rem;white-space:pre;overflow-x:auto}.markdown-preview__divider{width:100%;border:none;margin:.75rem 0;height:0}.markdown-preview__image{padding:.5rem 0}.markdown-preview__image img{max-width:100%;max-height:500px;object-fit:contain;border-radius:4px}.markdown-preview__code-block{margin:0 0 .85rem;border-radius:0;border:1px solid #2a3356}.markdown-preview__code-header{padding:.35rem .8rem;border-bottom:1px solid rgba(255,255,255,.08);background:#ffffff05}.markdown-preview__code-language{font-size:.85rem;font-weight:600}.markdown-preview__code-body{padding:.5rem .8rem;display:flex;flex-direction:column;gap:.08rem;overflow-x:auto}.markdown-preview__code-line{font-family:var(--editor-font-family);font-size:.9rem;white-space:pre;border-radius:0;padding:0 .65rem;line-height:1.4;min-height:1.4em;width:100%}.markdown-theme{--markdown-marker-color: #ff5b5b;--markdown-divider-color: #ffffff;--markdown-body-color: #f5f7ff;--markdown-muted-color: #8c94c9;--markdown-heading-weight: 600;--markdown-code-surface: #151b2d;--markdown-code-line-background: #1e263b;--markdown-code-text: #e6eaff;--markdown-code-language-color: #a7b0da;color:var(--markdown-body-color)}.markdown-theme .markdown-preview__heading-marker{font-weight:var(--markdown-heading-weight)}.markdown-theme .markdown-preview__heading-marker--level-1,.markdown-theme .markdown-preview__heading-text--level-1{color:#fcd34d;font-weight:700}.markdown-theme .markdown-preview__heading-marker--level-2,.markdown-theme .markdown-preview__heading-text--level-2{color:#fb7185}.markdown-theme .markdown-preview__heading-marker--level-3,.markdown-theme .markdown-preview__heading-text--level-3{color:#34d399}.markdown-theme .markdown-preview__heading-marker--level-4,.markdown-theme .markdown-preview__heading-text--level-4{color:#60a5fa}.markdown-theme .markdown-preview__heading-marker--level-5,.markdown-theme .markdown-preview__heading-text--level-5{color:#a78bfa}.markdown-theme .markdown-preview__heading-marker--level-6,.markdown-theme .markdown-preview__heading-text--level-6{color:#6b7280}.markdown-theme .markdown-preview__divider{border:none;margin:.75rem 0;height:0}.markdown-theme .markdown-preview__divider--solid{border:none;border-bottom:1px solid var(--markdown-divider-color)}.markdown-theme .markdown-preview__divider--dotted{border:none;height:1px;background-image:radial-gradient(circle,var(--markdown-divider-color) 45%,transparent 55%);background-size:6px 1px;background-repeat:repeat-x;background-position:0 50%}.markdown-theme .markdown-preview__paragraph{color:var(--markdown-body-color)}.markdown-theme .markdown-preview__placeholder{color:var(--markdown-muted-color)}.markdown-theme .markdown-preview__code-block{background:#1b2135;border-color:#ffffff1f}.markdown-theme .markdown-preview__code-header{background:#ffffff0d;border-color:#ffffff1f}.markdown-theme .markdown-preview__code-language{color:var(--markdown-code-language-color)}.markdown-theme .markdown-preview__code-language[data-language="c++"]{color:#4aa2ff}.markdown-theme .markdown-preview__code-body{background:#1f2741}.markdown-theme .markdown-preview__code-line{background:#263257;color:var(--markdown-code-text)}.heading-navigation{position:relative;display:flex;flex-direction:column;min-width:120px;max-width:40%;border-left:1px solid #232a45;background:linear-gradient(180deg,#0f1730,#0b1123);overflow:hidden;font-family:var(--editor-font-family);font-size:var(--editor-font-size)}.heading-navigation__splitter{position:absolute;top:0;left:0;width:6px;height:100%;cursor:col-resize;background:transparent;z-index:1;transition:background .15s ease}.heading-navigation__splitter:hover{background:#4e5dff59}.heading-navigation button{font-family:inherit}.heading-navigation__header{padding:.55rem .75rem;font-size:.52rem;font-weight:400;text-transform:uppercase;letter-spacing:.05em;color:#9ca7ff;border-bottom:1px solid #1e2340}.heading-navigation__list{list-style:none;margin:0;padding:.5rem .55rem;overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#3a467a #050813}.heading-navigation__list::-webkit-scrollbar{width:7px}.heading-navigation__list::-webkit-scrollbar-track{background:#050813;border-radius:999px}.heading-navigation__list::-webkit-scrollbar-thumb{background:#3a467a;border-radius:999px}.heading-navigation__item{display:block;width:100%;padding:.22rem .35rem;border:none;border-radius:6px;background:transparent;color:#d3d9ff;font-size:var(--editor-font-size);line-height:1.4;text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:background-color .15s ease,color .15s ease}.heading-navigation__item:hover{background-color:#4e5dff14}.heading-navigation__item--active{background-color:#4e5dff38}.heading-navigation__item--active:hover{background-color:#4e5dff47}.heading-navigation__item--level-1{padding-left:.35rem;font-weight:600;color:#fcd34d}.heading-navigation__item--level-2{padding-left:1.2rem;font-weight:500;color:#fb7185}.heading-navigation__item--level-3{padding-left:2.05rem;color:#34d399}.heading-navigation__item--level-4{padding-left:2.9rem;font-size:calc(var(--editor-font-size) * .9);color:#60a5fa}.heading-navigation__item--level-5{padding-left:3.75rem;font-size:calc(var(--editor-font-size) * .9);color:#a78bfa}.heading-navigation__item--level-6{padding-left:4.6rem;font-size:calc(var(--editor-font-size) * .9);color:#6b7280}.note-editor{display:flex;flex-direction:column;flex:1;min-width:0;padding:.2rem .4rem;gap:.9rem;background:#090f1e;color:#f5f7ff}.note-editor__content-wrapper{position:relative;width:100%;flex:1;display:flex;min-height:0;background:transparent;border:none;border-radius:0;overflow:hidden}.note-editor__content-wrapper .cm-editor{width:100%;height:100%}.note-editor__placeholder{color:#8f96c9;font-size:.95rem}.note-editor__workspace{flex:1;display:flex;min-height:0;min-width:0;overflow:hidden}.note-editor__workspace--split{gap:.9rem}.note-editor__content-wrapper--split,.note-editor__preview-wrapper--split{width:50%}.note-editor__preview-wrapper--split{border-left:1px solid rgba(255,255,255,.08);padding-left:.75rem}.note-editor__preview-wrapper{display:flex;flex:1;min-height:0}.note-editor__preview-wrapper .markdown-preview{flex:1}.note-editor__workspace--with-heading-nav{gap:0}.note-editor__workspace--with-heading-nav .note-editor__content-wrapper{flex:1;min-width:0}.note-editor__workspace--with-heading-nav.note-editor__workspace--split .note-editor__content-wrapper--split,.note-editor__workspace--with-heading-nav.note-editor__workspace--split .note-editor__preview-wrapper--split{width:auto;flex:1}.note-editor__workspace--with-heading-nav .note-editor__preview-wrapper{flex:1;min-width:0}.cm-code-line{background:#263257}.cm-image-widget-container{display:block;padding:.25rem 0;max-width:100%;pointer-events:none}.cm-image-widget{max-width:100%;max-height:400px;object-fit:contain;border-radius:4px;pointer-events:auto}.cm-image-widget--border{border:1px solid rgba(255,255,255,.25)}.cm-image-widget-error{color:#fb7185;font-size:.8em;padding:.25rem .5rem;opacity:.7}.cm-divider-line{position:relative}.cm-divider-line>span{color:transparent!important}.cm-divider-line--solid:after{content:"";position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);height:0;border-bottom:1px solid #ffffff;pointer-events:none}.cm-divider-line--dotted:after{content:"";position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);height:1px;background-image:radial-gradient(circle,#ffffff 45%,transparent 55%);background-size:6px 1px;background-repeat:repeat-x;background-position:0 50%;pointer-events:none}.folder-dialog__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#05070fbf;display:flex;align-items:center;justify-content:center;z-index:40}.folder-dialog{width:min(360px,90%);background:#111733;border:1px solid #2a3356;border-radius:12px;padding:1rem;display:flex;flex-direction:column;gap:.75rem;box-shadow:0 15px 45px #0006}.folder-dialog__header{margin-bottom:.25rem}.folder-dialog__title{margin:0;font-size:1rem;color:#f5f7ff}.folder-dialog__field{display:flex;flex-direction:column;gap:.35rem;font-size:.85rem;color:#c3c9ff}.folder-dialog__field input{border-radius:8px;border:1px solid #2a3356;background:#050b1f;color:#fff;font-size:.9rem;padding:.4rem .55rem}.folder-dialog__field input:focus{outline:none;border-color:#4e5dff;box-shadow:0 0 0 2px #4e5dff40}.folder-dialog__hint{margin:0;font-size:.75rem;color:#8f96c9}.folder-dialog__hint code{color:#f5f7ff;font-weight:600}.folder-dialog__error{margin:0;color:#ffb3b3;font-size:.8rem}.folder-dialog__actions{display:flex;justify-content:flex-end;gap:.5rem}.folder-dialog__button{padding:.4rem .8rem;border-radius:8px;border:1px solid #4e5dff;background:#4e5dff;color:#fff;font-weight:600;cursor:pointer}.folder-dialog__button--ghost{background:transparent;color:#c3c9ff}.folder-dialog__button:disabled{opacity:.6;cursor:not-allowed}.folder-dialog__field--checkbox{flex-direction:row;align-items:center;gap:.5rem}.folder-dialog__field--checkbox input[type=checkbox]{width:1rem;height:1rem;accent-color:#e8b84a;cursor:pointer}.folder-dialog__encrypt-label{display:inline-flex;align-items:center;gap:.3rem;color:#e8b84a}.folder-dialog__encrypt-label svg{width:.85rem;height:.85rem}.note-list{position:relative;display:flex;flex-direction:column;min-width:220px;max-width:600px;height:100%;min-height:0;border-right:1px solid #232a45;background:#0d1429;padding:.9rem .7rem;gap:.6rem;overflow:hidden;font-family:var(--editor-font-family);font-size:var(--editor-font-size)}.note-list button{font-family:inherit}.note-list__header{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.note-list__favorites{margin-bottom:.5rem;border:1px solid #1e2340;border-radius:12px;padding:.45rem .6rem .55rem;background:linear-gradient(180deg,#0f1730,#090f1e);display:flex;flex-direction:column;gap:.35rem}.note-list__favorites-heading{display:inline-flex;align-items:center;gap:.25rem;font-size:.58rem;letter-spacing:.12em;text-transform:uppercase;color:#cdd7ff}.note-list__favorites-heading svg{width:.8rem;height:.8rem;color:#ffd65b}.note-list__favorites-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.18rem}.note-list__favorite-button{width:100%;display:inline-flex;align-items:center;gap:.3rem;border-radius:8px;border:1px solid transparent;background:#ffffff05;color:#f5f7ff;padding:.22rem .35rem;font-size:var(--editor-font-size);cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease}.note-list__favorite-button:hover{border-color:#ffd65b66;background:#ffd65b14}.note-list__favorite-button--active{border-color:#4e5dff99;background:#4e5dff1f}.note-list__favorite-title{font-size:var(--editor-font-size);font-weight:600;margin:0;max-width:60%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.note-list__favorite-divider{font-size:var(--editor-font-size);color:#ffffff73}.note-list__favorite-folder{font-size:calc(var(--editor-font-size) * .9);color:#97a1d9;max-width:38%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.note-list__favorite-item{position:relative;display:flex;align-items:center}.note-list__favorite-reorder{position:absolute;right:.25rem;top:50%;transform:translateY(-50%);display:flex;gap:.15rem}.note-list__favorite-reorder-btn{width:20px;height:20px;border-radius:4px;border:1px solid #2a3356;background:#141c3b;color:#c6cdff;font-size:.65rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0;transition:border-color .15s ease,background .15s ease,color .15s ease}.note-list__favorite-reorder-btn:hover:not(:disabled){border-color:#4e5dff;background:#1a2345;color:#fff}.note-list__favorite-reorder-btn:disabled{opacity:.3;cursor:not-allowed}.note-list__button-area{display:flex;align-items:center;gap:.35rem}.icon-button{width:34px;height:34px;border-radius:10px;border:1px solid #2a3356;background:#141c3b;color:#c6cdff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:border .15s ease,background .15s ease,color .15s ease}.icon-button svg{width:18px;height:18px}.icon-button:hover{border-color:#4e5dff;color:#fff}.icon-button:disabled{opacity:.5;cursor:not-allowed}.icon-button--danger{border-color:#ff6b6b;color:#ffb3b3}.note-list__preview-toggle[aria-pressed=true],.note-list__preview-toggle--active{background:#4e5dff;border-color:#4e5dff;color:#fff}.note-list__header-actions{display:flex;align-items:center}.note-list__collapse{width:34px;height:34px;border-radius:50%;border:1px solid #2a3356;background:#111733;color:#c6cdff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .15s ease,color .15s ease,border .15s ease;padding:0}.note-list__collapse:hover{background:#1a2345;border-color:#4e5dff;color:#fff}.note-list__collapse svg{width:14px;height:14px}.note-list__spinner{font-size:.47rem;color:#7dfdb1}.note-list__error{margin:0;font-size:.5rem;color:#ffb3b3}.file-tree__container{flex:1;display:flex;flex-direction:column;min-height:0;border:1px solid #1e2340;border-radius:12px;padding:.55rem;background:linear-gradient(180deg,#0f1730,#0b1123);box-shadow:inset 0 0 0 1px #ffffff05}.file-tree__summary{display:flex;align-items:center;justify-content:space-between;text-transform:uppercase;font-size:.52rem;color:#9ca7ff;letter-spacing:.05em;margin-bottom:.35rem}.file-tree__scroll{position:relative;flex:1;min-height:0;overflow-y:auto;padding-right:.35rem;scrollbar-gutter:stable}.file-tree__scroll::-webkit-scrollbar{width:7px}.file-tree__scroll::-webkit-scrollbar-track{background:#050813;border-radius:999px}.file-tree__scroll::-webkit-scrollbar-thumb{background:#3a467a;border-radius:999px}.file-tree__scroll{scrollbar-width:thin;scrollbar-color:#3a467a #050813}.file-tree__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.2rem}.file-tree__folder{display:flex;flex-direction:column;gap:.2rem;padding:.15rem .2rem;border-radius:8px;transition:background .15s ease}.file-tree__folder[data-depth="0"]{padding-left:0}.file-tree__folder-row{display:flex;align-items:center;gap:.2rem;position:relative;padding-left:var(--folder-padding-left, .45rem)}.file-tree__folder-row:before{content:"";position:absolute;left:var(--folder-bar-left, .2rem);top:.22rem;bottom:.22rem;width:.14rem;border-radius:999px;background:var(--folder-accent, linear-gradient(180deg, rgba(78, 93, 255, .85), rgba(61, 173, 255, .65)));opacity:var(--folder-bar-opacity, 1);pointer-events:none}.file-tree__toggle{width:18px;height:18px;border-radius:4px;border:1px solid transparent;background:transparent;color:#d5dcff;font-size:.5rem;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.file-tree__toggle:hover{border-color:#4e5dff;background:#4e5dff14}.file-tree__toggle--disabled{opacity:.35;border-color:transparent;cursor:default}.file-tree__folder-label{flex:1;display:flex;align-items:center;justify-content:flex-start;border:none;background:transparent;color:#f5f7ff;font-size:calc(var(--editor-font-size) * 1.15);cursor:pointer;padding:.24rem .38rem;border-radius:6px;transition:background .15s ease;text-align:left;gap:.38rem}.file-tree__folder-label:hover{background:#4e5dff14}.file-tree__folder-label--active{background:#4e5dff2e;box-shadow:inset 0 0 0 1px #4e5dff66}.file-tree__folder-label--delete-selected{box-shadow:inset 0 0 0 1px #ffffff80}.file-tree__folder-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-tree__folder-icon{width:.95rem;height:.95rem;display:inline-flex;align-items:center;justify-content:center;color:#a4add6;flex-shrink:0}.file-tree__folder-icon svg{width:100%;height:100%}.file-tree__folder-body{display:flex;flex-direction:column;gap:.18rem;padding-left:1rem}.file-tree__folder--root{padding:0;gap:.35rem}.file-tree__folder-body--root{padding-left:0}.file-tree__files{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.18rem}.file-tree__file{display:flex;flex-direction:column;gap:.1rem}.file-tree__file-button{width:100%;padding:.22rem .35rem;padding-left:var(--file-padding-left, .85rem);border-radius:6px;border:none;background:transparent;color:#e3e6ff;font-size:var(--editor-font-size);text-align:left;cursor:pointer;transition:background .15s ease,color .15s ease;display:flex;align-items:center;gap:.3rem;position:relative}.file-tree__file-button:hover{background:#4e5dff14}.file-tree__file-button--active{background:#4e5dff38;color:#fff}.file-tree__file-button--delete-selected{outline:1px solid rgba(255,255,255,.55);outline-offset:1px}.file-tree__file-button:before{content:"";position:absolute;left:var(--file-bar-left, .3rem);top:.2rem;bottom:.2rem;width:.12rem;border-radius:999px;background:var(--file-accent, linear-gradient(180deg, rgba(50, 241, 208, .85), rgba(77, 186, 255, .65)));opacity:var(--file-bar-opacity, 1);pointer-events:none}.file-tree__file-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-tree__subfolders{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.2rem}.file-tree__empty{margin:0;font-size:.48rem;color:#8087b0;padding-left:.2rem}.file-tree__empty--global{margin-top:.6rem;text-align:center}.file-tree__encrypt-btn{width:20px;height:20px;border-radius:4px;border:1px solid transparent;background:transparent;color:#a4add6;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0;opacity:.45;transition:opacity .15s ease,color .15s ease,border-color .15s ease;flex-shrink:0}.file-tree__encrypt-btn svg{width:14px;height:14px}.file-tree__encrypt-btn--active{opacity:.85;color:#e8b84a}.file-tree__encrypt-btn:hover{opacity:1;color:#e8b84a;border-color:#e8b84a66}.note-list__sort-toggle--active{background:#4e5dff;border-color:#4e5dff;color:#fff}.note-list__sort-bar{display:flex;align-items:center;gap:.35rem;padding:.35rem .5rem;border:1px solid #1e2340;border-radius:10px;background:linear-gradient(180deg,#0f1730,#090f1e)}.note-list__sort-select{flex:1;min-width:0;height:28px;border:1px solid #2a3356;border-radius:6px;background:#141c3b;color:#c6cdff;font-size:var(--editor-font-size);font-family:inherit;padding:0 .35rem;cursor:pointer;outline:none}.note-list__sort-select:focus{border-color:#4e5dff}.note-list__sort-dir-btn{width:28px;height:28px;border-radius:6px;border:1px solid #2a3356;background:#141c3b;color:#c6cdff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0;flex-shrink:0;transition:border-color .15s ease,background .15s ease,color .15s ease}.note-list__sort-dir-btn svg{width:16px;height:16px}.note-list__sort-dir-btn:hover{border-color:#4e5dff;color:#fff}.note-list__splitter{background:#0a1124;border:1px solid #1c2545;border-radius:4px;transition:background .15s ease,border-color .15s ease}.note-list__splitter--vertical{position:absolute;top:0;right:-4px;width:8px;height:100%;cursor:col-resize}.note-list__splitter:hover{background:#111a38;border-color:#4e5dff}.search-modal__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:flex-start;justify-content:center;padding-top:10vh;background:#050814d9;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:searchModalFadeIn .15s ease}@keyframes searchModalFadeIn{0%{opacity:0}to{opacity:1}}.search-modal{width:100%;max-width:1600px;max-height:80vh;display:flex;flex-direction:column;border:1px solid #2a3356;border-radius:16px;background:linear-gradient(180deg,#111833,#0a1020);box-shadow:0 24px 48px #00000080,0 0 0 1px #4e5dff26,inset 0 1px #ffffff0d;overflow:hidden;animation:searchModalSlideIn .2s ease}@keyframes searchModalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.search-modal__header{padding:1rem 1.25rem;border-bottom:1px solid #1e2340;background:#ffffff05}.search-modal__input-wrapper{display:flex;align-items:center;gap:.75rem}.search-modal__icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;color:#6b7ab8;flex-shrink:0}.search-modal__icon svg{width:20px;height:20px}.search-modal__input{flex:1;border:none;background:transparent;color:#f5f7ff;font-size:1.1rem;font-family:inherit;outline:none}.search-modal__input::placeholder{color:#5a6594}.search-modal__shortcuts{display:flex;align-items:center;gap:.5rem;font-size:.65rem;color:#5a6594;flex-shrink:0}.search-modal__shortcuts kbd{display:inline-flex;align-items:center;justify-content:center;min-width:1.4rem;height:1.2rem;padding:0 .3rem;border:1px solid #3a4570;border-radius:4px;background:#1a2240;color:#8b99cc;font-family:inherit;font-size:.6rem}.search-modal__body{flex:1;min-height:0;overflow-y:auto}.search-modal__body::-webkit-scrollbar{width:8px}.search-modal__body::-webkit-scrollbar-track{background:#0a1020}.search-modal__body::-webkit-scrollbar-thumb{background:#3a467a;border-radius:999px}.search-modal__body{scrollbar-width:thin;scrollbar-color:#3a467a #0a1020}.search-modal__status{padding:2rem;text-align:center;font-size:.85rem;color:#7a84b8}.search-modal__status--error{color:#ff8080}.search-modal__status--hint{color:#5a6594}.search-modal__spinner{color:#7dfdb1}.search-modal__results{display:flex;flex-direction:column}.search-modal__results-header{padding:.6rem 1.25rem;font-size:.7rem;color:#7a84b8;letter-spacing:.03em;border-bottom:1px solid #1a2040}.search-modal__results-list{list-style:none;margin:0;padding:.5rem;display:flex;flex-direction:column;gap:.25rem}.search-modal__result-item{border-radius:8px;transition:background .1s ease}.search-modal__result-item--selected{background:#4e5dff1f}.search-modal__result-button{width:100%;display:flex;flex-direction:column;gap:.3rem;padding:.5rem .8rem;border:none;border-radius:8px;background:transparent;color:#f5f7ff;font-family:inherit;font-size:var(--editor-font-size, .875rem);text-align:left;cursor:pointer;transition:background .1s ease}.search-modal__result-button:hover{background:#4e5dff14}.search-modal__result-item--selected .search-modal__result-button{background:transparent}.search-modal__result-item--selected .search-modal__result-button:hover{background:#4e5dff0d}.search-modal__result-header{display:flex;align-items:center;gap:.35rem}.search-modal__result-icon{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;color:#6b7ab8;flex-shrink:0}.search-modal__result-icon svg{width:12px;height:12px}.search-modal__result-title{font-size:.7rem;font-weight:600;color:#b8bdd9;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-modal__result-path{font-size:.58rem;color:#6b7ab8;flex-shrink:0;padding:.08rem .35rem;border-radius:3px;background:#6b7ab81f}.search-modal__result-snippet{font-size:.8rem;color:#e0e4f0;line-height:1.4;padding-left:1rem;margin-top:.15rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-modal__highlight{background:#ffd65b40;color:#ffd65b;border-radius:2px;padding:.05rem .15rem}.settings-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:#05070fbf;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.settings-modal{display:flex;flex-direction:column;width:min(560px,92vw);max-height:85vh;border-radius:14px;background:#0f1732;box-shadow:0 12px 30px #080c1e8c;color:#f5f7ff;overflow:hidden}.settings-header{display:flex;align-items:center;justify-content:space-between;padding:1.2rem 1.5rem;border-bottom:1px solid #2a3356}.settings-title{margin:0;font-size:1.2rem;color:#fff}.settings-close{background:none;border:none;color:#8892b0;font-size:1.1rem;cursor:pointer;padding:.3rem;line-height:1;transition:color .15s}.settings-close:hover{color:#fff}.settings-body{padding:1.2rem 1.5rem;overflow-y:auto;display:flex;flex-direction:column;gap:1.5rem}.settings-section__title{margin:0 0 .7rem;font-size:1rem;font-weight:600;color:#c3ccff}.settings-section__desc{margin:0 0 .7rem;font-size:.85rem;color:#8892b0}.settings-error{color:#ffb3c1;font-size:.85rem;margin:0 0 .5rem}.settings-loading,.settings-empty{color:#8892b0;font-size:.85rem;margin:.5rem 0}.apikey-create{display:flex;gap:.5rem;margin-bottom:.8rem}.apikey-create__input{flex:1;padding:.6rem .8rem;border:1px solid #2a3356;border-radius:8px;font-size:.85rem;background:#121a33;color:#f5f7ff}.apikey-create__input:focus{outline:2px solid #4e5dff;border-color:transparent}.apikey-create__button{padding:.6rem 1rem;border:none;border-radius:8px;background:#4e5dff;color:#fff;font-weight:600;font-size:.85rem;cursor:pointer;white-space:nowrap;transition:background .15s}.apikey-create__button:disabled{background:#363f7f;cursor:not-allowed}.apikey-create__button:not(:disabled):hover{background:#6a79ff}.apikey-created{margin-bottom:.8rem;padding:.8rem;border-radius:8px;background:#1a2340;border:1px solid #3d4f8a}.apikey-created__warning{margin:0 0 .5rem;font-size:.8rem;color:#ffcf71;font-weight:600}.apikey-created__value{display:flex;align-items:center;gap:.5rem}.apikey-created__value code{flex:1;padding:.4rem .6rem;background:#0a0f22;border-radius:6px;font-size:.75rem;color:#a8b4ff;word-break:break-all}.apikey-table{width:100%;border-collapse:collapse;font-size:.85rem}.apikey-table th{text-align:left;padding:.5rem .6rem;border-bottom:1px solid #2a3356;color:#8892b0;font-weight:500;font-size:.8rem}.apikey-table td{padding:.5rem .6rem;border-bottom:1px solid #1a2340;color:#c3ccff}.apikey-masked{font-size:.8rem;color:#8892b0}.apikey-copy-btn{padding:.3rem .65rem;border:1px solid #2a3356;border-radius:6px;background:transparent;color:#a8b4ff;font-size:.75rem;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s}.apikey-copy-btn:hover{background:#1a2340;border-color:#4e5dff}.apikey-delete-btn{padding:.25rem .5rem;border:1px solid #3d2020;border-radius:6px;background:transparent;color:#ffb3c1;font-size:.75rem;cursor:pointer;transition:background .15s}.apikey-delete-btn:hover{background:#2a1515}.mcp-config{border-radius:8px;background:#0a0f22;border:1px solid #2a3356;overflow:hidden}.mcp-config__header{display:flex;align-items:center;justify-content:space-between;padding:.5rem .8rem;background:#121a33;border-bottom:1px solid #2a3356}.mcp-config__label{font-size:.75rem;color:#8892b0;font-family:monospace}.mcp-config__code{margin:0;padding:.8rem;font-size:.78rem;color:#a8b4ff;overflow-x:auto;line-height:1.5}.status-bar{padding:.55rem 1.1rem;background:#0e152b;color:#d5dbff;border-top:1px solid #232a45;font-size:.85rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}.status-bar--error{background:#2a1218;color:#ffb3c1;border-top-color:#5e1f2b}.status-bar__left{display:flex;align-items:center;gap:.5rem;min-width:0}.status-bar__right{display:flex;align-items:center;gap:.8rem;min-width:0}.status-bar__indicator{width:10px;height:10px;border-radius:50%;background:#6a79ff;box-shadow:0 0 0 2px #6a79ff59;flex:0 0 auto}.status-bar__indicator--dirty{background:#f08c38;box-shadow:0 0 0 2px #f08c3840}.status-bar__indicator--clean{background:#50b759;box-shadow:0 0 0 2px #50b75940}.status-bar__text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.status-bar__autosave{font-size:.8rem;color:#9aa2d0;white-space:nowrap}.status-bar__message{font-weight:600;white-space:nowrap;color:#f5f7ff}.app-shell{min-height:100vh;height:100%;display:flex;flex-direction:column}.app-header{display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-start;justify-content:space-between;padding:1rem 1.8rem;border-bottom:1px solid #232a45;background:#090f1e}.app-header__brand{display:flex;flex-direction:column;gap:.45rem;align-items:flex-start;min-width:0;flex:1 1 240px}.app-header__brand-row{display:flex;align-items:center;gap:1.2rem;width:100%;min-width:0;flex-wrap:nowrap}.app-header__branding-primary{display:flex;align-items:center;gap:.5rem;flex:0 0 auto}.app-header__title{margin:0;font-size:.8rem;font-weight:700;white-space:nowrap}.app-header__toggles{display:inline-flex;align-items:center;gap:.25rem;margin-left:.5rem}.app-header__toggle-btn{border:1px solid #2a3356;background:#111733;color:#8f96c9;border-radius:6px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease;padding:0}.app-header__toggle-btn svg{width:14px;height:14px}.app-header__toggle-btn:hover{background:#1a2345;color:#d5dbff;border-color:#4e5dff}.app-header__toggle-btn:focus{outline:2px solid #4e5dff;outline-offset:2px}.app-header__toggle-btn--active{background:#2a3356;border-color:#4e5dff;color:#d5dbff}.app-header__toggle-btn--active:hover{background:#3a4570;border-color:#6a79ff;color:#fff}.app-header-toggle__button svg{width:14px;height:14px}.app-header__notice{margin:0;font-size:.8rem;color:#7dfdb1;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-header__note-title{display:flex;align-items:center;gap:.45rem;width:min(520px,100%);flex:1 1 320px;min-width:0}.app-header__note-title-label{font-size:.7rem;font-weight:600;color:#9ca7ff;white-space:nowrap}.app-header__note-title-control{display:flex;align-items:center;gap:.45rem;width:100%;min-width:0}.app-header__favorite-toggle{border:none;background:transparent;color:#8f96c9;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:.15rem;line-height:0;transition:color .15s ease,transform .15s ease}.app-header__favorite-toggle svg{width:18px;height:18px}.app-header__favorite-toggle:hover:not(:disabled){color:#ffd65b;transform:scale(1.05)}.app-header__favorite-toggle--active{color:#ffd65b}.app-header__favorite-toggle:disabled{opacity:.4;cursor:not-allowed}.app-header__note-title-input{border-radius:8px;border:1px solid #2a3356;background:#050b1f;color:#fff;font-size:.9rem;padding:.35rem .6rem;font-weight:600;transition:border-color .15s ease,box-shadow .15s ease;flex:1 1 auto;min-width:0}.app-header__folder-select{display:inline-flex;align-items:center;gap:.35rem;white-space:nowrap;flex:0 0 auto}.app-header__folder-select-prefix{font-size:.82rem;font-weight:600;color:#9ca7ff}.app-header__folder-select-input{border-radius:8px;border:1px solid #2a3356;background:#050b1f;color:#fff;font-size:.78rem;padding:.3rem .4rem;min-width:150px;max-width:260px}.app-header__folder-select-input:focus{border-color:#4e5dff;outline:none;box-shadow:0 0 0 2px #4e5dff40}.app-header__note-title-input:focus{border-color:#4e5dff;box-shadow:0 0 0 2px #4e5dff40;outline:none}.app-header__note-title-input::placeholder{color:#7179a8;font-weight:400}.app-header__note-title-input:disabled{opacity:.45;cursor:not-allowed}@media (max-width: 640px){.app-header__brand-row{flex-direction:column;align-items:flex-start;gap:.5rem}.app-header__note-title{flex-direction:column;align-items:flex-start;width:100%}}.app-header__actions{display:flex;align-items:center;gap:.8rem;justify-content:flex-end;flex-wrap:wrap;flex:0 0 auto}.app-header__user{font-weight:600;font-size:.9rem;color:#d5dbff}.app-header__button{padding:.3rem .54rem;border-radius:8px;border:1px solid #4e5dff;background:#4e5dff;color:#fff;font-weight:600;font-size:.57rem;cursor:pointer;transition:background .15s ease,color .15s ease}.app-header__button--ghost{background:transparent;color:#9ca7ff}.app-header__button:hover{background:#6a79ff}.app-header__button--ghost:hover{background:#1a2345;color:#bdc4ff;border-color:#6a79ff}.app-header__button--active{background:#39ff14;border-color:#39ff14;color:#090f1e}.app-header__button--active:hover{background:#4dff2e;border-color:#4dff2e}.app-header-toggle{display:flex;justify-content:center;align-items:center;padding:.15rem 1rem;border-bottom:1px solid #232a45;background:#090f1e;cursor:pointer;transition:background .15s ease;color:#9ca7ff}.app-header-toggle:hover{background:#111733;color:#fff}.app-header-toggle:focus{outline:2px solid #4e5dff;outline-offset:-2px}.app-header-toggle svg{width:12px;height:12px}.app-header-toggle__button{border-radius:4px;border:1px solid #2a3356;background:#111733;color:#9ca7ff;width:auto;height:20px;padding:0 .5rem;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease,border .15s ease,color .15s ease}.app-header-toggle__button svg{width:12px;height:12px}.app-header-toggle__button:hover{background:#1a2345;color:#fff;border-color:#4e5dff}.app-workspace{flex:1;display:flex;min-height:0;background:#05070f;overflow:hidden}.note-list-toggle{display:flex;align-items:center;justify-content:center;width:56px;min-width:56px;padding:0 .4rem;border-right:1px solid #232a45;background:#0d1429}.note-list-toggle__button{width:40px;height:40px;border-radius:50%;border:1px solid #4e5dff;background:#111733;color:#9ca7ff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease,color .15s ease,border .15s ease;padding:0}.note-list-toggle__button:hover{background:#1a2345;color:#fff}.note-list-toggle__button svg{width:18px;height:18px}.mobile-header{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:#090f1e;border-bottom:1px solid #1a2040;min-height:48px;flex-shrink:0;gap:8px}.mobile-header__left{display:flex;align-items:center;gap:8px;min-width:0}.mobile-header__title{font-size:16px;font-weight:700;margin:0;color:#f5f7ff;white-space:nowrap}.mobile-header__right{display:flex;align-items:center;gap:6px;flex-shrink:0}.mobile-header__user{font-size:12px;color:#8f96c9;white-space:nowrap;max-width:120px;overflow:hidden;text-overflow:ellipsis}.mobile-header__btn{background:none;border:1px solid #2a3060;color:#c0c6f0;padding:6px 10px;border-radius:6px;font-size:12px;cursor:pointer;min-width:44px;min-height:36px;display:flex;align-items:center;justify-content:center}.mobile-header__btn svg{width:18px;height:18px}.mobile-header__btn:active{background:#1a2040}.mobile-header--editor{gap:6px}.mobile-header__back{background:none;border:none;color:#8fa4ff;padding:4px;cursor:pointer;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.mobile-header__back svg{width:22px;height:22px}.mobile-header__center{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.mobile-header__note-title-input{background:none;border:none;color:#f5f7ff;font-size:15px;font-weight:600;padding:2px 0;width:100%;outline:none;font-family:inherit}.mobile-header__note-title-input::placeholder{color:#5a6090}.mobile-header__note-title-text{font-size:15px;font-weight:600;color:#f5f7ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-header__folder-label{font-size:11px;color:#6a72a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-header__fav-btn{border:none;background:none;color:#5a6090;padding:4px}.mobile-header__fav-btn--active{color:gold}.mobile-header__fav-btn svg{width:20px;height:20px}.m-note-list{display:flex;flex-direction:column;height:100%}.m-note-list__toolbar{display:flex;gap:6px;padding:8px 12px;border-bottom:1px solid #1a2040;flex-shrink:0}.m-note-list__toolbar .icon-button{min-width:44px;min-height:44px}.m-note-list__favorites{padding:8px 12px;border-bottom:1px solid #1a2040}.m-note-list__section-heading{display:flex;align-items:center;gap:6px;color:gold;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px}.m-note-list__section-heading svg{width:14px;height:14px}.m-note-list__fav-list{list-style:none;margin:0;padding:0}.m-note-list__fav-item{margin:0}.m-note-list__fav-btn{display:flex;align-items:center;gap:8px;width:100%;background:none;border:none;color:#c0c6f0;padding:10px 8px;font-size:14px;text-align:left;cursor:pointer;border-radius:6px;min-height:44px}.m-note-list__fav-btn:active{background:#1a2040}.m-note-list__fav-btn--active{background:#1a2555;color:#f5f7ff}.m-note-list__fav-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m-note-list__fav-folder{font-size:11px;color:#5a6090;flex-shrink:0}.m-note-list__tree{flex:1;overflow-y:auto;padding:4px 0;-webkit-overflow-scrolling:touch}.m-note-list__loading{padding:16px;text-align:center;color:#5a6090;font-size:13px}.m-note-list__error{padding:8px 12px;color:#ff6b6b;font-size:13px;margin:0}.m-note-list__empty{padding:24px 16px;text-align:center;color:#5a6090;font-size:13px;margin:0}.m-tree__list{list-style:none;margin:0;padding:0}.m-tree__folder{list-style:none}.m-tree__subfolders{list-style:none;margin:0;padding:0}.m-tree__folder-row{display:flex;align-items:center;gap:2px;padding:2px 8px;position:relative}.m-tree__folder-row:before{content:"";position:absolute;left:var(--folder-bar-left, .2rem);top:4px;bottom:4px;width:3px;border-radius:1.5px;background:var(--folder-accent, #4e5dff);opacity:.6}.m-tree__folder-row--active{background:#0d1429}.m-tree__toggle{background:none;border:none;color:#5a6090;font-size:14px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;padding:0}.m-tree__toggle--disabled{opacity:.3;cursor:default}.m-tree__folder-label{display:flex;align-items:center;gap:6px;background:none;border:none;color:#c0c6f0;padding:8px 4px;font-size:14px;cursor:pointer;flex:1;min-width:0;text-align:left;min-height:44px}.m-tree__folder-label--active{color:#f5f7ff;font-weight:600}.m-tree__folder-icon{flex-shrink:0;display:flex}.m-tree__folder-icon svg{width:16px;height:16px}.m-tree__folder-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m-tree__files{list-style:none;margin:0;padding:0}.m-tree__file{margin:0}.m-tree__file-btn{display:flex;align-items:center;gap:6px;width:100%;background:none;border:none;color:#a0a6d0;padding:10px 12px;font-size:14px;text-align:left;cursor:pointer;min-height:44px}.m-tree__file-btn:active{background:#1a2040}.m-tree__file-btn--active{background:#1a2555;color:#f5f7ff}.m-tree__file-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m-tree__file-star{color:gold;flex-shrink:0;display:flex}.m-tree__file-star svg{width:14px;height:14px}.m-tree__encrypt-btn{width:28px;height:28px;border-radius:4px;border:1px solid transparent;background:transparent;color:#a4add6;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0;opacity:.5;flex-shrink:0}.m-tree__encrypt-btn svg{width:16px;height:16px}.m-tree__encrypt-btn--active{color:#e8b84a;opacity:.85}.m-tree__encrypt-btn:active{color:#e8b84a;opacity:1}.m-note-list__sort-toggle--active{background:#4e5dff!important;border-color:#4e5dff!important;color:#fff!important}.m-note-list__sort-bar{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid #1a2040}.m-note-list__sort-select{flex:1;min-width:0;height:36px;border:1px solid #2a3356;border-radius:6px;background:#141c3b;color:#c6cdff;font-size:14px;font-family:inherit;padding:0 8px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.m-note-list__sort-select:focus{border-color:#4e5dff;outline:none}.m-note-list__sort-dir-btn{width:36px;height:36px;min-width:36px;border-radius:6px;border:1px solid #2a3356;background:#141c3b;color:#c6cdff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0;flex-shrink:0}.m-note-list__sort-dir-btn svg{width:18px;height:18px}.m-note-list__sort-dir-btn:active{background:#1a2345;border-color:#4e5dff;color:#fff}.m-tree__empty{color:#5a6090;font-size:12px;margin:4px 0}.m-editor{display:flex;flex-direction:column;height:100%;min-height:0}.m-editor--loading,.m-editor--empty{display:flex;align-items:center;justify-content:center;color:#5a6090;font-size:14px;height:100%}.m-editor__textarea{flex:1;width:100%;min-height:0;background:#05070f;color:#f5f7ff;border:none;outline:none;resize:none;padding:12px 14px;font-family:var(--editor-font-family);font-size:var(--editor-font-size, 14px);line-height:var(--editor-line-height, 1.6);letter-spacing:var(--editor-letter-spacing, 0);-webkit-overflow-scrolling:touch}.m-editor__textarea::placeholder{color:#3a4070}.m-editor--preview{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:12px 14px}.m-editor--preview .markdown-preview{font-size:12px}.m-bottom-bar{display:flex;align-items:stretch;background:#090f1e;border-top:1px solid #1a2040;height:56px;flex-shrink:0;padding-bottom:env(safe-area-inset-bottom,0px)}.m-bottom-bar__tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:none;border:none;color:#5a6090;cursor:pointer;padding:4px 0;min-height:44px;-webkit-tap-highlight-color:transparent}.m-bottom-bar__tab:active:not(:disabled){background:#1a2040}.m-bottom-bar__tab:disabled{opacity:.35;cursor:default}.m-bottom-bar__tab--active{color:#8fa4ff}.m-bottom-bar__tab--dirty{color:#39ff14}.m-bottom-bar__tab--dirty .m-bottom-bar__label{font-weight:600}.m-bottom-bar__icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px}.m-bottom-bar__icon svg{width:20px;height:20px}.m-bottom-bar__label{font-size:10px;line-height:1}.m-bottom-bar__spinner{display:inline-block;width:16px;height:16px;border:2px solid #3a4070;border-top-color:#8fa4ff;border-radius:50%;animation:m-spin .6s linear infinite}@keyframes m-spin{to{transform:rotate(360deg)}}.m-bottom-bar__tab--desktop{flex:0 0 auto;padding:4px 8px;color:#5a6090;border-left:1px solid #1a2040}.mobile-shell{display:flex;flex-direction:column;height:100dvh;overflow:hidden;background:#05070f;--editor-font-size: 14px}.mobile-content{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}.daily-header{flex-shrink:0;background:#090f1e;padding:12px 16px;border-bottom:1px solid #1a2040}.daily-header__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.daily-header__title{font-size:16px;font-weight:600;color:#c0c8e8;margin:0}.daily-header__top-actions{display:flex;align-items:center;gap:6px}.daily-header__icon-btn{background:none;border:1px solid #2a3060;color:#8890b0;padding:4px 6px;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center}.daily-header__icon-btn:hover:not(:disabled){background:#1a2040;color:#e0e4f0}.daily-header__icon-btn:disabled{opacity:.3;cursor:default}.daily-header__icon-btn svg{width:16px;height:16px}.daily-header__logout{background:none;border:1px solid #2a3060;color:#8890b0;font-size:12px;padding:4px 10px;border-radius:4px;cursor:pointer}.daily-header__logout:hover{background:#1a2040;color:#e0e4f0}.daily-header__nav{display:flex;align-items:center;justify-content:center;gap:16px}.daily-header__nav-btn{background:none;border:none;color:#8890b0;font-size:20px;cursor:pointer;padding:4px 8px;border-radius:4px}.daily-header__nav-btn:hover{background:#1a2040}.daily-header__nav-btn svg{width:20px;height:20px}.daily-header__date{font-size:15px;font-weight:500;color:#e0e4f0}.daily-header__day{color:#7880a0;margin-left:4px}.daily-header__today{background:#2563eb;color:#fff;font-size:11px;padding:2px 6px;border-radius:8px;margin-left:8px}.logout-confirm__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#05070fbf;z-index:40;display:flex;align-items:center;justify-content:center}.logout-confirm__box{background:#0d1225;border:1px solid #1a2040;border-radius:10px;padding:24px;min-width:220px}.logout-confirm__msg{color:#e0e4f0;font-size:15px;margin:0 0 20px;text-align:center}.logout-confirm__actions{display:flex;gap:10px;justify-content:center}.logout-confirm__cancel{background:none;border:1px solid #2a3050;color:#8890b0;font-size:13px;padding:6px 16px;border-radius:6px;cursor:pointer}.logout-confirm__cancel:hover{background:#1a2040;color:#e0e4f0}.logout-confirm__ok{background:#3a1a1a;border:none;color:#f87171;font-size:13px;padding:6px 16px;border-radius:6px;cursor:pointer}.logout-confirm__ok:hover{background:#4a2020}.info-section{margin-bottom:4px}.info-cards{display:flex;gap:8px;margin-bottom:4px}.info-card{flex:1;background:#0d1225;border:1px solid #1a2040;border-radius:8px;padding:4px 8px;display:flex;flex-direction:column;align-items:center;gap:0}.info-card--wide{flex:1}.info-card__label{font-size:10px;color:#8890b0;line-height:1.2}.info-card__input{background:transparent;border:none;color:#f5f7ff;font-size:15px;font-weight:600;text-align:center;outline:none;width:100%;padding:0;line-height:1.3}.info-card__input::placeholder{color:#2a3050;font-weight:400}.info-card__input:focus{color:#6db3f2}.info-card__input[type=number]::-webkit-inner-spin-button,.info-card__input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.info-card__input[type=number]{-moz-appearance:textfield}.info-card__unit-row{display:flex;align-items:baseline;justify-content:center;gap:2px}.info-card__unit-row .info-card__input{width:50px}.info-card__unit{font-size:10px;color:#8890b0}.info-card__readonly{font-size:15px;font-weight:600;color:#f5f7ff;line-height:1.3}.info-card__kcal{font-size:15px;font-weight:600;color:#8890b0;line-height:1.3}.info-clear{display:block;margin:6px 0 0 auto;background:none;border:none;color:#5a3040;font-size:11px;cursor:pointer;padding:2px 4px}.info-clear:hover{color:#e05050}.memo-section{margin-bottom:12px}.memo-section__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.memo-section__title{font-size:14px;font-weight:600;color:#8890b0}.memo-section__add-btn{background:none;border:1px solid #2a3050;color:#8890b0;font-size:18px;line-height:1;width:28px;height:28px;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s,color .15s}.memo-section__add-btn:hover{background:#1a2040;color:#b0b8d8}.memo-add{margin-bottom:10px;display:flex;flex-direction:column;gap:6px}.memo-add__top{display:flex;gap:6px}.memo-add__title-input{flex:1;background:#0d1225;border:1px solid #1a2040;color:#f5f7ff;font-size:14px;padding:10px 12px;border-radius:6px;outline:none}.memo-add__title-input:focus{border-color:#3b5bdb}.memo-add__title-input::placeholder{color:#4a5070}.memo-add__confirm{background:#1a2a50;border:none;color:#8890b0;font-size:13px;padding:0 14px;border-radius:6px;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s}.memo-add__confirm:hover:not(:disabled){background:#223a70;color:#b0b8d8}.memo-add__confirm:disabled{opacity:.4;cursor:not-allowed}.memo-add__content-input{background:#0d1225;border:1px solid #1a2040;color:#f5f7ff;font-size:13px;padding:10px 12px;border-radius:6px;outline:none;resize:vertical;min-height:80px;font-family:inherit;line-height:1.5}.memo-add__content-input:focus{border-color:#3b5bdb}.memo-add__content-input::placeholder{color:#4a5070}.memo-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.memo-item{background:#0d1225;border:1px solid #1a2040;border-radius:6px;overflow:hidden}.memo-item__header{display:flex;align-items:center;padding:10px 12px;cursor:pointer;-webkit-user-select:none;user-select:none;gap:8px}.memo-item__header:hover{background:#111830}.memo-item__title{flex:1;font-size:14px;color:#fbbf24;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.memo-item__remove{background:none;border:none;color:#5a3040;font-size:14px;cursor:pointer;padding:2px 4px;border-radius:4px;flex-shrink:0;line-height:1}.memo-item__remove:hover{color:#e05050;background:#2a1520}.memo-item__chevron{font-size:10px;color:#4a5070;flex-shrink:0}.memo-item__content{width:100%;box-sizing:border-box;background:#0a0f1e;border:none;border-top:1px solid #1a2040;color:#c8ccdc;font-size:13px;padding:10px 12px;outline:none;resize:vertical;min-height:80px;font-family:inherit;line-height:1.6;display:block}.memo-item__content::placeholder{color:#4a5070}.exercise-section{margin-bottom:12px}.exercise-section__title{font-size:14px;font-weight:600;color:#8890b0;margin-bottom:8px;display:flex;align-items:center;gap:6px}.exercise-add{display:flex;gap:6px;margin-bottom:12px}.exercise-add__name{flex:1;background:#0d1225;border:1px solid #1a2040;color:#f5f7ff;font-size:14px;padding:10px 12px;border-radius:6px;outline:none}.exercise-add__name:focus{border-color:#3b5bdb}.exercise-add__name::placeholder{color:#4a5070}.exercise-add__value{width:76px;background:#0d1225;border:1px solid #1a2040;color:#f5f7ff;font-size:14px;padding:10px 8px;border-radius:6px;text-align:right;outline:none}.exercise-add__value:focus{border-color:#3b5bdb}.exercise-add__value::placeholder{color:#4a5070}.exercise-add__unit{width:58px;background:#0d1225;border:1px solid #1a2040;color:#f5f7ff;font-size:13px;padding:8px 4px;border-radius:6px;outline:none;-moz-appearance:none;appearance:none;-webkit-appearance:none;text-align:center;cursor:pointer}.exercise-add__unit:focus{border-color:#3b5bdb}.exercise-add__btn{background:#1a3a2a;border:none;color:#4ade80;font-size:20px;width:42px;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0}.exercise-add__btn:hover{background:#224a35}.exercise-add__btn:disabled{opacity:.4;cursor:not-allowed}.exercise-add__btn svg{width:20px;height:20px}.exercise-list{list-style:none;margin:0 0 8px;padding:0}.exercise-item{display:flex;align-items:center;padding:10px 12px;background:#0d1225;border:1px solid #1a2040;border-radius:6px;margin-bottom:6px}.exercise-item__name{flex:1;font-size:14px;color:#e0e4f0}.exercise-item__time{font-size:10px;color:#4a5070;margin-right:8px;white-space:nowrap}.exercise-item__value{font-size:13px;color:#4ade80;margin-right:10px;white-space:nowrap}.exercise-item__remove{background:none;border:none;color:#5a3040;font-size:16px;cursor:pointer;padding:2px 4px;border-radius:4px}.exercise-item__remove:hover{color:#e05050;background:#2a1520}.exercise-total{display:flex;justify-content:flex-end;align-items:baseline;padding:4px 12px;font-size:14px;color:#8890b0}.exercise-total__value{font-size:18px;font-weight:700;color:#4ade80;margin:0 4px}.food-search{position:relative;margin-bottom:12px}.food-search__row{display:flex;gap:6px}.food-search__input{flex:1;background:#0d1225;border:1px solid #1a2040;color:#f5f7ff;font-size:14px;padding:10px 12px;border-radius:6px;outline:none}.food-search__input:focus{border-color:#3b5bdb}.food-search__input::placeholder{color:#4a5070}.food-search__kcal{width:76px;background:#0d1225;border:1px solid #1a2040;color:#f5f7ff;font-size:14px;padding:10px 8px;border-radius:6px;text-align:right;outline:none}.food-search__kcal:focus{border-color:#3b5bdb}.food-search__kcal::placeholder{color:#4a5070}.food-search__add-btn{background:#1e3a5f;border:none;color:#6db3f2;font-size:20px;width:42px;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0}.food-search__add-btn:hover{background:#264a70}.food-search__add-btn:disabled{opacity:.4;cursor:not-allowed}.food-search__add-btn svg{width:20px;height:20px}.food-search__dropdown{position:absolute;top:100%;left:0;right:0;background:#0d1225;border:1px solid #1a2040;border-radius:6px;margin-top:4px;z-index:10;max-height:200px;overflow-y:auto;box-shadow:0 8px 24px #0006}.food-search__option{padding:10px 12px;display:flex;justify-content:space-between;cursor:pointer;border-bottom:1px solid #111830;font-size:14px}.food-search__option:hover{background:#151d35}.food-search__option:last-child{border-bottom:none}.food-search__option-name{color:#e0e4f0}.food-search__option-kcal{color:#6db3f2;font-size:13px}.food-section{margin-bottom:12px}.food-section__title{font-size:14px;font-weight:600;color:#8890b0;margin-bottom:8px;display:flex;align-items:center;gap:6px}.food-list{list-style:none;margin:0 0 8px;padding:0}.food-item{display:flex;align-items:center;padding:10px 12px;background:#0d1225;border:1px solid #1a2040;border-radius:6px;margin-bottom:6px}.food-item__name{flex:1;font-size:14px;color:#e0e4f0}.food-item__time{font-size:10px;color:#4a5070;margin-right:8px;white-space:nowrap}.food-item__kcal{font-size:13px;color:#6db3f2;margin-right:10px;white-space:nowrap}.food-item__remove{background:none;border:none;color:#5a3040;font-size:16px;cursor:pointer;padding:2px 4px;border-radius:4px}.food-item__remove:hover{color:#e05050;background:#2a1520}.food-total{display:flex;justify-content:flex-end;align-items:baseline;padding:4px 12px;font-size:14px;color:#8890b0}.food-total__value{font-size:18px;font-weight:700;color:#6db3f2;margin:0 4px}.daily-save-bar{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:#090f1e;border-top:1px solid #1a2040}.daily-save-bar__status{font-size:12px;color:#8890b0}.daily-save-bar__status--dirty{color:#f59e0b}.daily-save-bar__status--saving{color:#6db3f2}.daily-save-bar__status--error{color:#ef4444}.daily-save-bar__btn{background:#2563eb;border:none;color:#fff;font-size:14px;padding:8px 20px;border-radius:6px;cursor:pointer;font-weight:500}.daily-save-bar__btn:hover{background:#1d4ed8}.daily-save-bar__btn:disabled{background:#363f7f;cursor:not-allowed}.daily-shell{display:flex;flex-direction:column;height:100dvh;background:#05070f;color:#f5f7ff;width:100%;max-width:600px;margin:0 auto;overflow:hidden;font-family:Inter,system-ui,-apple-system,sans-serif}.daily-content{flex:1;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:16px}.daily-loading{display:flex;align-items:center;justify-content:center;height:200px;color:#8890b0;font-size:14px}.daily-divider{border:none;border-top:1px solid #1a2040;margin:12px 0 16px}@font-face{font-family:D2Coding Ligature;src:url(/assets/D2Coding-Ver1.3.2-20180524-ligature-Dd91uvqM.woff2) format("woff2"),url(/assets/D2Coding-Ver1.3.2-20180524-ligature-D9O2PQH8.woff) format("woff");font-weight:400;font-style:normal;font-display:swap;ascent-override:85%;descent-override:23%;line-gap-override:8%}@font-face{font-family:D2Coding Ligature;src:url(/assets/D2CodingBold-Ver1.3.2-20180524-ligature-D64g4A69.woff2) format("woff2"),url(/assets/D2CodingBold-Ver1.3.2-20180524-ligature-DJ2uWRJh.woff) format("woff");font-weight:700;font-style:normal;font-display:swap;ascent-override:85%;descent-override:23%;line-gap-override:8%}:root{color:#f5f7ff;background-color:#05070f;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px;line-height:1.4;color-scheme:dark;--editor-font-family: "D2Coding Ligature", "D2Coding", "ui-monospace", "SFMono-Regular", "JetBrains Mono", "Fira Code", "Source Code Pro", monospace;--editor-font-size: 12px;--editor-line-height: 1.6;--editor-letter-spacing: 0}body,html{margin:0;padding:0;height:100%}body{min-height:100vh;height:100vh;background:#05070f}#root{height:100%}*{box-sizing:border-box}a{color:inherit}
