@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap";:root{font-family:DM Sans,sans-serif;color:#e9ecf6;background:#080b14;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--background: #080b14;--surface: #101522;--surface-raised: #151b2b;--border: rgba(173, 184, 218, .11);--text: #e9ecf6;--muted: #8791aa;--accent: #9d8bff;--accent-strong: #7865e8}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}input,textarea{color:var(--text)}input::placeholder,textarea::placeholder{color:#65708a}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2,.brand-name{font-family:Space Grotesk,sans-serif}h1{letter-spacing:-.055em}.brand{display:flex;align-items:center;gap:12px}.brand-icon{display:grid;place-items:center;width:43px;height:43px;border:1px solid rgba(167,148,255,.3);border-radius:13px;color:#c5b8ff;background:linear-gradient(145deg,#896bff3b,#3d5cb014);box-shadow:0 0 30px #6f4fff17}.brand-name{font-size:21px;font-weight:700;letter-spacing:-.065em}.brand-caption{margin-top:3px;color:#78829d;font-size:9px;font-weight:700;letter-spacing:.2em}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:10px 17px;border:1px solid transparent;border-radius:11px;font-weight:700;font-size:13px;transition:background .15s ease,border-color .15s ease,transform .15s ease}.button:not(:disabled):active{transform:scale(.98)}.button.primary{color:#fff;background:linear-gradient(135deg,#9179f6,#6657ce);box-shadow:0 5px 22px #6750d229}.button.primary:hover:not(:disabled){background:linear-gradient(135deg,#a08bff,#7564e0)}.button.secondary{color:#dcd7ff;background:#27223f;border-color:#443a6b}.button.ghost{color:var(--muted);background:transparent}.button.danger{color:#ff9ba5;background:#e34b6317;border-color:#e34b6333}.button.full{width:100%}.icon-button{display:grid;place-items:center;width:35px;height:35px;border:0;border-radius:9px;color:#99a3bc;background:transparent}.icon-button:hover{color:#fff;background:#ffffff0f}.eyebrow{margin-bottom:13px;color:#a99aff;font-size:10px;font-weight:700;letter-spacing:.2em}.muted{color:var(--muted);line-height:1.65}.alert{display:flex;align-items:center;gap:10px;padding:13px 15px;border:1px solid;border-radius:10px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.alert button{display:grid;place-items:center;margin-left:auto;padding:2px;border:0;color:inherit;background:transparent}.alert.error{color:#ffb7bf;border-color:#f05d6e40;background:#f05d6e14}.alert.success{color:#a5e8cb;border-color:#4fcb9333;background:#4fcb9312}.loading-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:35px;min-height:100vh}.spinner{width:25px;height:25px;border:2px solid #34334f;border-top-color:var(--accent);border-radius:50%;animation:spin .75s linear infinite}.spinning{animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.auth-page{position:relative;display:grid;place-items:center;min-height:100vh;padding:35px 20px;overflow:hidden}.auth-background{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:radial-gradient(ellipse 500px 420px at 50% 12%,rgba(98,67,186,.15),transparent 75%),radial-gradient(ellipse 650px 500px at 100% 100%,rgba(28,66,144,.09),transparent 75%)}.auth-shell{position:relative;width:min(100%,445px)}.auth-shell>.brand{justify-content:center;margin-bottom:40px}.auth-card{padding:36px;border:1px solid var(--border);border-radius:20px;background:#111624e0;box-shadow:0 30px 100px #0003}.auth-symbol{display:grid;place-items:center;width:56px;height:56px;margin-bottom:27px;border:1px solid rgba(164,142,255,.2);border-radius:17px;color:#b3a4ff;background:#8f72ff1a}.auth-card h1{margin-bottom:12px;font-size:31px;line-height:1.13}.auth-card>p{margin-bottom:28px;font-size:13px}.auth-card label:not(.checkbox-row){display:flex;flex-direction:column;gap:9px;margin-bottom:18px;color:#bac3d8;font-size:12px;font-weight:700}.auth-card input:not([type=checkbox]),.auth-card textarea{width:100%;min-height:44px;padding:12px 13px;border:1px solid #2b3247;border-radius:9px;color:var(--text);background:#0b101d}.auth-card textarea{resize:vertical}.auth-card .button.primary{margin-top:8px}.auth-switch{display:flex;justify-content:center;gap:7px;margin-top:25px;color:var(--muted);font-size:12px}.text-button{padding:0;border:0;color:#b4a7ff;background:transparent;font-weight:700}.auth-footer{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:26px;color:#77829d;font-size:11px}.recovery-display{padding:18px;border:1px solid #443a6b;border-radius:10px;color:#e1d9ff;background:#19162b;font-family:monospace;font-size:13px;line-height:1.8;overflow-wrap:anywhere;-webkit-user-select:all;user-select:all}.checkbox-row{display:flex;align-items:flex-start;gap:10px;margin:23px 0 15px;color:#b9c2d6;font-size:12px;line-height:1.5}.checkbox-row input{margin-top:3px;accent-color:var(--accent)}.app-shell{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;width:260px;min-width:260px;height:100vh;padding:29px 18px 17px;border-right:1px solid var(--border);background:#0d111c}.sidebar>.brand{margin:0 9px 53px}.sidebar-section-label{margin:0 14px 14px;color:#626d86;font-size:10px;font-weight:700;letter-spacing:.15em}.sidebar-link{display:flex;align-items:center;gap:12px;width:100%;padding:13px;border:1px solid transparent;border-radius:10px;color:#919cb6;background:transparent;text-align:left;font-size:13px;font-weight:600}.sidebar-link:hover{color:#fff;background:#ffffff0a}.sidebar-link.active{color:#c9bfff;border-color:#8f75ff21;background:#866dff1c}.sidebar-count{margin-left:auto;font-size:11px}.sidebar-bottom{margin-top:auto}.privacy-note{display:flex;gap:11px;margin-bottom:18px;padding:13px;border:1px solid rgba(108,195,155,.12);border-radius:11px;color:#84d5b0;background:#4aa37a0d}.privacy-note strong,.privacy-note span{display:block}.privacy-note strong{margin-bottom:4px;font-size:11px}.privacy-note span{color:#8c9b9b;font-size:10px;line-height:1.5}.account-card{display:flex;align-items:center;gap:10px;padding:14px 4px 0;border-top:1px solid var(--border)}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:#d8d0ff;background:#302b4b;font-size:13px;font-weight:700}.account-info{flex:1;min-width:0}.account-info strong,.account-info span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-info strong{font-size:11px}.account-info span{margin-top:3px;color:var(--muted);font-size:10px}.main-content{flex:1;min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;height:77px;padding:0 45px;border-bottom:1px solid var(--border)}.breadcrumb,.topbar-actions{display:flex;align-items:center;gap:13px}.breadcrumb{color:#79849f;font-size:12px}.breadcrumb strong{color:#dce1ef;font-weight:600}.connection-status{display:flex;align-items:center;gap:8px;color:#a0abc2;font-size:11px}.status-dot{width:6px;height:6px;border-radius:50%;background:#67cba0;box-shadow:0 0 10px #67cba080}.status-dot-pending{background:#e5b768;box-shadow:0 0 10px #e5b76866}.status-dot-error{background:#f18c9d;box-shadow:0 0 10px #f18c9d66}.page-content{max-width:1200px;margin:0 auto;padding:48px 45px 80px}.page-content>.alert{margin-bottom:25px}.page-heading,.editor-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.page-heading h1,.editor-header h1{margin-bottom:9px;font-size:clamp(31px,4vw,42px)}.page-heading p{margin:0;color:var(--muted);font-size:13px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:40px 0 23px}.search-field{display:flex;align-items:center;gap:11px;width:min(100%,390px);padding:0 14px;border:1px solid var(--border);border-radius:10px;color:#7d88a2;background:#101522}.search-field input{width:100%;height:44px;border:0;outline:0;color:var(--text);background:transparent;font-size:12px}.memory-count{color:var(--muted);font-size:11px}.memory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:17px}.memory-card{display:flex;flex-direction:column;min-height:225px;padding:23px;border:1px solid var(--border);border-radius:15px;color:inherit;background:#111624;text-align:left;transition:border-color .15s ease,transform .15s ease,background .15s ease}.memory-card:hover{transform:translateY(-3px);border-color:#a28dff59;background:#161b2b}.memory-card-top,.memory-card-bottom{display:flex;align-items:center;justify-content:space-between}.memory-card-top{color:#929db8;font-size:11px}.memory-card-top svg{color:#8c7bd4}.memory-card h2{margin:25px 0 9px;font-size:19px;letter-spacing:-.035em}.memory-card p{display:-webkit-box;margin-bottom:25px;overflow:hidden;color:#929cb3;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-line-clamp:3;-webkit-box-orient:vertical}.memory-card-bottom{margin-top:auto;color:#a99aff;font-size:11px;font-weight:700}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:390px;padding:35px;border:1px dashed rgba(169,180,218,.15);border-radius:16px;text-align:center}.empty-icon{display:grid;place-items:center;width:70px;height:70px;margin-bottom:24px;border:1px solid rgba(159,138,255,.18);border-radius:20px;color:#b7a8ff;background:#8e75ff17}.empty-state h2{margin-bottom:10px;font-size:23px}.empty-state p{max-width:330px;margin-bottom:25px;color:var(--muted);font-size:13px;line-height:1.6}.back-button{display:flex;align-items:center;gap:8px;margin-bottom:38px;padding:0;border:0;color:#a5afc5;background:transparent;font-size:12px}.editor{max-width:850px}.editor-header{margin-bottom:33px}.editor-card{padding:33px;border:1px solid var(--border);border-radius:17px;background:#111624}.editor-card label{display:flex;flex-direction:column;gap:13px;color:#8995af;font-size:10px;font-weight:700;letter-spacing:.12em}.editor-card input,.editor-card textarea{width:100%;padding:10px 0;border:0;outline:0;background:transparent;letter-spacing:normal}.editor-card .title-input{font-family:Space Grotesk,sans-serif;font-size:27px;font-weight:600}.editor-card input[type=date]{width:fit-content;color-scheme:dark;font-size:13px}.editor-card .body-input{min-height:310px;resize:vertical;font-size:14px;line-height:1.85}.editor-divider{height:1px;margin:24px 0;background:var(--border)}.editor-footnote{display:flex;align-items:center;gap:8px;margin:18px 0 28px;color:#7d8e9e;font-size:11px}@media(max-width:800px){.sidebar{width:75px;min-width:75px;padding:20px 10px}.sidebar>.brand{margin:0 5px 45px}.sidebar .brand-name,.sidebar .brand-caption,.sidebar-section-label,.sidebar-link:not(.active),.sidebar-link.active{font-size:0}.sidebar .brand>div:last-child,.sidebar-count,.privacy-note,.account-info,.account-card .icon-button{display:none}.sidebar-link{justify-content:center}.sidebar-link svg{flex-shrink:0}.account-card{justify-content:center}.topbar{padding:0 22px}.page-content{padding:32px 22px 60px}}@media(max-width:550px){.auth-card{padding:25px}.page-heading,.editor-header{align-items:flex-start;flex-direction:column}.toolbar{align-items:stretch;flex-direction:column}.search-field{width:100%}.memory-count{text-align:right}.editor-card{padding:23px}.connection-status{display:none}}.photo-panel{margin-top:22px;padding:25px;border:1px solid rgba(173,184,218,.13);border-radius:16px;background:#111624}.photo-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.photo-heading h2{margin:0 0 7px;font-size:20px;letter-spacing:-.035em}.photo-heading h2 span{margin-left:7px;color:#8791aa;font-family:DM Sans,sans-serif;font-size:12px;font-weight:500}.photo-heading p{display:flex;align-items:center;gap:7px;margin:0;color:#9ba6bd;font-size:11px}.photo-picker{position:relative;flex-shrink:0;cursor:pointer}.photo-picker input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.photo-picker:focus-within{outline:2px solid #9d8bff;outline-offset:3px}.photo-picker.disabled{cursor:not-allowed;opacity:.55}.photo-hint{margin:18px 0 0;color:#8490a9;font-size:11px;line-height:1.6}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:13px;margin-top:19px}.photo-tile{min-width:0;overflow:hidden;border:1px solid rgba(173,184,218,.14);border-radius:12px;background:#0b101c}.photo-tile>a,.photo-placeholder{display:grid;place-items:center;width:100%;aspect-ratio:4 / 3;overflow:hidden}.photo-tile img{width:100%;height:100%;object-fit:cover;transition:transform .15s ease}.photo-tile>a:hover img{transform:scale(1.04)}.photo-placeholder{padding:15px;color:#9a9fb2;font-size:11px;text-align:center;line-height:1.45}.photo-caption{display:flex;align-items:center;gap:8px;padding:10px;border-top:1px solid rgba(173,184,218,.12)}.photo-caption>span{flex:1;min-width:0;overflow:hidden;color:#c8d0e3;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.photo-caption a,.photo-caption button{display:grid;place-items:center;flex-shrink:0;width:22px;height:22px;padding:0;border:0;color:#ad9dff;background:transparent;text-decoration:none}.photo-caption button{color:#e18b99}.photo-caption a:hover,.photo-caption button:hover:not(:disabled){color:#fff}.memory-card-bottom span{display:inline-flex;align-items:center;gap:6px}@media(max-width:550px){.photo-panel{padding:18px}.photo-heading{align-items:flex-start;flex-direction:column}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
