@import "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap";*{box-sizing:border-box;margin:0;padding:0}:root{--bg:#f6f7f9;--border:#e5e7eb;--text:#1f2937;--muted:#7a8493;--muted-soft:#a5adba;--card:#fff;--shadow:0 16px 40px #1f29371a;font-family:Plus Jakarta Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{background:var(--bg);color:var(--text);min-width:320px;overflow:hidden}body.is-dragging-card{cursor:grabbing;-webkit-user-select:none;user-select:none}button,input,textarea{font:inherit}button{color:inherit}.app{flex-direction:column;height:100vh;animation:.7s both app-settle;display:flex}.context-bar{z-index:20;border-bottom:1px solid var(--border);background:#fff;flex:0 0 52px;justify-content:space-between;align-items:center;height:52px;padding:0 16px;animation:.55s both context-settle;display:flex;position:relative}.logo{letter-spacing:-.02em;font-size:1.35rem;font-weight:700}.context{flex:1;align-items:center;gap:14px;min-width:0;margin-left:24px;display:flex}.up-button{color:var(--muted);cursor:pointer;background:0 0;border:none;font-size:18px}.up-button:disabled{opacity:.35;cursor:default}.breadcrumbs{align-items:center;gap:10px;min-width:0;font-size:.95rem;display:flex}.crumb{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}button.crumb{cursor:pointer;background:0 0;border:none;padding:0;transition:color .18s}button.crumb:hover{color:var(--text)}.crumb-separator{color:var(--muted-soft)}.current{color:var(--text);font-weight:600}.actions{gap:10px;display:flex}.actions>button,.menu-anchor>button{cursor:pointer;background:0 0;border:none;border-radius:10px;width:38px;height:38px;transition:background .18s,transform .18s}.actions>button:hover,.menu-anchor>button:hover:not(:disabled){background:#eef2f7;transform:translateY(-1px)}.menu-anchor{position:relative}.menu{border:1px solid var(--border);background:#fff;border-radius:14px;min-width:168px;padding:6px;animation:.18s both dialog-arrive;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 44px #1f293724}.menu button{text-align:left;cursor:pointer;background:0 0;border:none;border-radius:9px;width:100%;padding:9px 12px;display:block}.menu button:hover{background:#f0f3f6}.menu-divider{background:var(--border);height:1px;margin:5px 6px}.workspace{flex:1;min-height:0;padding:6px}.canvas{text-align:center;justify-content:center;align-items:center;height:100%;min-height:420px;display:flex;position:relative}.canvas--active{background:radial-gradient(circle at 1px 1px,#7a84932e 1px,#0000 0) 0 0/24px 24px,#ffffff9e;border:1px solid #e5e7ebd1;border-radius:12px;flex:1;display:block;overflow:hidden;box-shadow:inset 0 1px #ffffffbf}.empty-state{max-width:520px;margin:0 auto;animation:.7s .18s both empty-state-settle;transform:translateY(24px)}.eyebrow{color:var(--muted);margin-bottom:14px;font-size:1rem;font-weight:600}.canvas-empty{text-align:center;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.create-label{color:var(--muted);margin-top:4px;font-weight:600}.load-state{color:var(--muted);flex-direction:column;gap:18px}.empty-state h1{letter-spacing:-.04em;margin-bottom:18px;font-size:2.35rem}.create-button,.action-create-button{color:var(--text);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}.create-button{width:96px;height:96px;margin-top:-2px}.create-button:after{content:"";opacity:0;pointer-events:none;border:2px solid #1f293747;border-radius:999px;position:absolute;inset:22px;transform:scale(.82)}.create-button.is-breathing--strong:after{animation:1.45s cubic-bezier(.42,0,.25,1) both create-breath-strong}.create-button.is-breathing--soft:after{animation:1.45s cubic-bezier(.42,0,.25,1) both create-breath-soft}.plus-symbol{color:currentColor;flex:none;display:inline-block;position:relative}.plus-symbol--hero{width:64px;height:64px}.plus-symbol--small{width:18px;height:18px}.plus-stroke{background:currentColor;border-radius:999px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.plus-symbol--hero .plus-stroke--vertical{width:2.5px;height:58px}.plus-symbol--hero .plus-stroke--horizontal{width:58px;height:2.5px}.plus-symbol--small .plus-stroke--vertical{width:2px;height:16px}.plus-symbol--small .plus-stroke--horizontal{width:16px;height:2px}.pulse-card{background:var(--card);box-shadow:var(--shadow);text-align:left;touch-action:none;cursor:grab;border:1px solid #e5e7ebeb;border-radius:12px;flex-direction:column;padding:8px;transition:opacity .2s,box-shadow .2s,transform .2s;animation:.28s both card-arrive;display:flex;position:absolute}.pulse-card:hover{box-shadow:0 20px 46px #1f293724}.pulse-card.is-complete{opacity:.58}.pulse-card.is-complete:after{content:"";pointer-events:none;background:#d75151;border-radius:999px;height:2px;position:absolute;top:50%;left:8px;right:8px;transform:rotate(-12deg)}.card-grip{color:var(--muted-soft);letter-spacing:2px;font-size:13px;position:absolute;top:0;right:8px}.card-body{flex:1;min-height:0;overflow:hidden}.card-content{text-align:left;cursor:text;background:0 0;border:none;flex-direction:column;align-items:flex-start;gap:4px;width:100%;height:100%;padding:2px 20px 0 2px;display:flex}.card-content strong{font-size:1rem;line-height:1.35}.card-content span{color:var(--muted);white-space:pre-wrap;font-size:.9rem;line-height:1.5}.card-content--workspace{cursor:pointer}.card-kind{letter-spacing:.08em;text-transform:uppercase;font-weight:700;font-size:.72rem!important}.card-open{margin-top:auto;font-size:.85rem!important}.pulse-card--workspace{box-shadow:var(--shadow), 6px 6px 0 -1px var(--card), 6px 6px 0 0 #e5e7ebeb}.card-attachment{flex-direction:column;gap:4px;height:100%;display:flex}.card-attachment img,.card-attachment video{object-fit:cover;background:#f0f3f6;border-radius:6px;flex:1;width:100%;min-height:0}.card-attachment img{pointer-events:none}.card-attachment video{object-fit:contain;background:#111827}.attachment-empty{border:1px dashed var(--border);color:var(--muted);text-align:center;border-radius:6px;flex:1;place-items:center;font-size:.85rem;display:grid}.file-picker{cursor:pointer}.file-picker input{display:none}.card-actions .file-picker{width:26px;height:26px;color:var(--muted);border-radius:7px;place-items:center;display:grid}.card-actions .file-picker:hover{color:var(--text);background:#f0f3f6}.file-link{min-height:0;color:inherit;background:#f6f7f9;border-radius:6px;flex:1;align-items:center;gap:10px;padding:6px;text-decoration:none;display:flex;overflow:hidden}.file-link:hover{background:#eef2f7}.file-badge{color:#fff;letter-spacing:.04em;text-align:center;background:#1f2937;border-radius:6px;flex:none;min-width:40px;padding:8px 4px;font-size:.72rem;font-weight:700}.file-meta{flex-direction:column;gap:2px;min-width:0;display:flex}.file-meta strong{white-space:nowrap;text-overflow:ellipsis;font-size:.9rem;overflow:hidden}.file-meta span{color:var(--muted);font-size:.8rem}.caption{text-align:left;cursor:text;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:none;padding:0 2px;font-size:.85rem;font-weight:600;overflow:hidden}.caption span{color:var(--muted-soft);font-weight:500}.card-resize{cursor:nwse-resize;border-bottom:2px solid #0000;border-right:2px solid #0000;border-radius:0 0 6px;width:14px;height:14px;transition:border-color .18s;position:absolute;bottom:4px;right:4px}.pulse-card:hover .card-resize{border-color:var(--muted-soft)}.card-editor{flex-direction:column;gap:6px;padding-right:16px;display:flex}.card-editor input,.card-editor textarea{width:100%;color:var(--text);resize:none;background:0 0;border:none;outline:none}.card-editor input{font-weight:700}.card-editor textarea{color:var(--muted);font-size:.9rem;line-height:1.5}.card-actions{justify-content:flex-end;gap:2px;margin-top:2px;display:flex}.card-actions button{width:26px;height:26px;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:7px;transition:background .16s,color .16s}.card-actions button:hover{color:var(--text);background:#f0f3f6}.dialog-backdrop{z-index:100;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1f293738;place-items:center;padding:24px;animation:.2s both backdrop-arrive;display:grid;position:fixed;inset:0}.dialog{background:#fffffff5;border:1px solid #ffffffb3;border-radius:22px;width:min(440px,100%);padding:30px;animation:.25s both dialog-arrive;box-shadow:0 28px 80px #1f293738}.dialog-eyebrow{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:10px;font-size:.82rem;font-weight:700}.dialog h2{letter-spacing:-.03em;margin-bottom:24px;font-size:1.55rem}.dialog input{border:1px solid var(--border);background:#fff;border-radius:13px;outline:none;width:100%;height:52px;padding:0 15px;transition:border-color .18s,box-shadow .18s}.dialog input:focus{border-color:#aab3bf;box-shadow:0 0 0 4px #7a84931c}.dialog-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.text-button,.primary-button{cursor:pointer;border-radius:11px;height:40px;padding:0 16px}.text-button{color:var(--muted);background:0 0;border:none}.primary-button{color:#fff;background:#1f2937;border:1px solid #1f2937}.primary-button:disabled{opacity:.35;cursor:default}.danger-button{color:#fff;cursor:pointer;background:#b42318;border:1px solid #b42318;border-radius:11px;height:40px;padding:0 16px}.dialog-text,.muted{color:var(--muted);line-height:1.5}.form-error{color:#b42318;margin-top:12px;font-size:.9rem}.login{place-items:center;height:100vh;padding:24px;display:grid}.trash{width:min(560px,100%)}.trash-list{max-height:50vh;list-style:none;overflow-y:auto}.trash-item{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.trash-item div:first-child{flex-direction:column;gap:3px;min-width:0;display:flex}.trash-item span{color:var(--muted);font-size:.85rem}.trash-actions{flex-shrink:0;gap:4px;display:flex}.toast{z-index:200;color:#fff;background:#1f2937;border-radius:14px;align-items:center;gap:14px;max-width:calc(100vw - 32px);padding:12px 12px 12px 18px;animation:.22s both toast-arrive;display:flex;position:fixed;bottom:28px;left:50%;transform:translate(-50%);box-shadow:0 18px 44px #1f29373d}.toast--error{background:#7a271a}.toast button{color:#fff;cursor:pointer;background:0 0;border:none}.toast-action{font-weight:700}.toast-close{opacity:.6;font-size:1.1rem}.card-content--gallery{cursor:pointer}.gallery-thumbs{background:#f0f3f6;border-radius:6px;flex:1;grid-template-columns:repeat(2,1fr);grid-auto-rows:1fr;gap:2px;width:100%;min-height:0;display:grid;overflow:hidden}.gallery-thumbs img{object-fit:cover;width:100%;height:100%;min-height:0}.gallery-empty{color:var(--muted-soft);grid-column:1/-1;place-self:center;font-size:.8rem!important}.pulse-card--gallery{box-shadow:var(--shadow), 5px 5px 0 -1px var(--card), 5px 5px 0 0 #e5e7ebeb}.camera{z-index:300;color:#fff;background:#000;flex-direction:column;display:flex;position:fixed;inset:0}.camera-view{object-fit:cover;flex:1;width:100%;min-height:0}.camera-flash{opacity:.7;pointer-events:none;background:#fff;position:absolute;inset:0}.camera-message{width:min(420px,100% - 32px);color:var(--text);background:#fff;border-radius:16px;padding:22px;line-height:1.5;position:absolute;top:40%;left:50%;transform:translate(-50%,-50%)}.camera-bar{padding:10px 16px calc(14px + env(safe-area-inset-bottom));background:#000000d9}.camera-strip{gap:6px;min-height:48px;display:flex;overflow:hidden}.camera-shot{background:#1f2937;border-radius:6px;flex:0 0 48px;height:48px;position:relative;overflow:hidden}.camera-shot img{object-fit:cover;width:100%;height:100%}.camera-shot:after{content:"";background:#22c55e;border-radius:999px;width:8px;height:8px;position:absolute;bottom:3px;right:3px}.camera-shot--waiting:after,.camera-shot--uploading:after{background:#f59e0b}.camera-shot--failed:after{background:#ef4444}.camera-controls{grid-template-columns:1fr auto 1fr;align-items:center;margin-top:10px;display:grid}.shutter{cursor:pointer;background:#fff padding-box padding-box;border:4px solid #ffffff8c;border-radius:999px;width:72px;height:72px;transition:transform 80ms}.shutter:active{transform:scale(.92)}.shutter:disabled{opacity:.4}.camera-side-button{color:#fff;cursor:pointer;background:#ffffff1f;border:none;border-radius:10px;justify-self:start;min-width:64px;padding:10px 12px}span.camera-side-button{visibility:hidden}.camera-side-button[aria-pressed=true]{color:#000;background:#f59e0b}.camera-done{justify-self:end;font-weight:700}.camera-count{text-align:center;color:#ffffffb3;margin-top:8px;font-size:.85rem}.upload-banner{left:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:150;border:1px solid var(--border);color:var(--muted);background:#fff;border-radius:12px;align-items:center;gap:10px;padding:9px 12px;font-size:.85rem;display:flex;position:fixed;box-shadow:0 10px 30px #1f29371f}.upload-banner--failed{border-color:#f3c3bd}.upload-banner button{color:var(--text);cursor:pointer;background:0 0;border:none;font-weight:700}.actions>button:disabled,.menu-anchor>button:disabled{opacity:.35;cursor:default}.search-backdrop{place-items:start center;padding-top:8vh}.search{background:#fff;border-radius:16px;flex-direction:column;width:min(620px,100%);max-height:80vh;animation:.2s both dialog-arrive;display:flex;overflow:hidden;box-shadow:0 28px 80px #1f293738}.search input{border:none;border-bottom:1px solid var(--border);outline:none;width:100%;padding:16px 18px;font-size:1.05rem}.search-scope{color:var(--muted);padding:8px 18px 4px;font-size:.8rem}.search-results{padding:4px 8px 12px;overflow-y:auto}.search-results h3{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;padding:10px 10px 4px;font-size:.72rem;font-weight:700}.search-results ul{list-style:none}.search-results .muted{padding:10px}.search-result{text-align:left;cursor:pointer;background:0 0;border:none;border-radius:10px;grid-template-columns:76px 1fr;gap:2px 10px;width:100%;padding:8px 10px;display:grid}.search-result:hover,.search-result:focus{background:#f0f3f6;outline:none}.search-kind{color:var(--muted);background:#eef2f7;border-radius:6px;grid-row:span 3;place-self:start;margin-top:2px;padding:2px 6px;font-size:.7rem;font-weight:700}.search-result strong{font-size:.95rem}.search-detail{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:.85rem;overflow:hidden}.search-path{color:var(--muted-soft);font-size:.75rem}.search mark{color:inherit;background:#fde68a;border-radius:3px}.pulse-card.is-highlighted{animation:2.4s both card-highlight}@keyframes card-highlight{0%,60%{box-shadow:0 0 0 3px #f59e0b, var(--shadow)}to{box-shadow:var(--shadow)}}@keyframes app-settle{0%{opacity:0}to{opacity:1}}@keyframes context-settle{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@keyframes empty-state-settle{0%{opacity:0;transform:translateY(34px)}to{opacity:1;transform:translateY(24px)}}@keyframes card-arrive{0%{opacity:0;transform:scale(.96)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}@keyframes backdrop-arrive{0%{opacity:0}to{opacity:1}}@keyframes dialog-arrive{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes toast-arrive{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}@keyframes create-breath-strong{0%{opacity:0;transform:scale(.82)}42%,58%{opacity:.62;transform:scale(1.27)}to{opacity:0;transform:scale(.92)}}@keyframes create-breath-soft{0%{opacity:0;transform:scale(.82)}42%,58%{opacity:.46;transform:scale(1.24)}to{opacity:0;transform:scale(.92)}}@media (width<=720px){.context-bar{padding:0 10px}.context{margin-left:12px}.actions{gap:2px}.workspace{padding:4px}}@media (prefers-reduced-motion:reduce){.pulse-card.is-highlighted{box-shadow:0 0 0 3px #f59e0b, var(--shadow);animation:none!important}*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}
