*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font-family:Inter,system-ui,sans-serif;color:#0f172a;background:#f8fafc;-webkit-font-smoothing:antialiased}a{color:#1e3a8a;text-decoration:none}a:hover{color:#122457}input,button,select,textarea{font-family:inherit}input:focus-visible{outline:none;border-color:#1e3a8a;box-shadow:0 0 0 3px #1e3a8a4d}button{font-family:inherit}.bare-input:focus-visible{outline:none;box-shadow:none;border-color:transparent}.note-card{transition:border-color .15s,box-shadow .15s}.note-card:hover{border-color:#cbd5e1}.note-card.expanded{box-shadow:0 4px 12px -4px #0f172a1a}.note-card .note-actions{opacity:.4;transition:opacity .15s}.note-card:hover .note-actions,.note-card:focus-within .note-actions,.note-card.expanded .note-actions{opacity:1}.note-check{width:20px;height:20px;padding:0;border-radius:9999px;border:2px solid #cbd5e1;background:#fff;display:grid;place-items:center;cursor:pointer;color:transparent;transition:border-color .15s,background .15s,color .15s}.note-check:hover{border-color:#1e3a8a;color:#1e3a8a}.note-check.done{background:#16a34a;border-color:#16a34a;color:#fff}.note-check.done:hover{background:#15803d;border-color:#15803d}.note-icon-btn{width:28px;height:28px;padding:0;border:0;border-radius:5px;background:transparent;color:#64748b;display:grid;place-items:center;cursor:pointer;transition:background .15s,color .15s}.note-icon-btn:hover{background:#eef2fb;color:#1e3a8a}.note-icon-btn.on{color:#1e3a8a}.note-icon-btn.danger:hover{background:#fee2e2;color:#991b1b}.note-chip{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border:1px solid #e2e8f0;border-radius:9999px;background:#fff;color:#475569;font-size:12px;font-weight:600;line-height:1.4;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s}.note-chip:hover{background:#f8fafc;border-color:#cbd5e1}.note-chip.today{background:#dbeafe;border-color:#bfdbfe;color:#1e3a8a}.note-chip.overdue{background:#fee2e2;border-color:#fecaca;color:#991b1b}.note-chip.muted{color:#94a3b8;border-style:dashed}.note-menu-item{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:8px 10px;border:0;border-radius:5px;background:transparent;cursor:pointer;font-size:13px;color:#0f172a}.note-menu-item:hover{background:#f1f5f9}.note-menu-item.on{background:#eef2fb}.note-body{width:100%;resize:none;border:0;padding:0;margin:0;background:transparent;font-size:14px;line-height:1.55;color:#334155}.note-body:focus-visible{outline:none}.note-chip.static{cursor:default}.note-chip.static:hover{background:#fff;border-color:#e2e8f0}.note-chip.static.complete,.note-chip.static.complete:hover{background:#dcfce7;border-color:#bbf7d0;color:#166534}.note-checkline{display:flex;align-items:flex-start;gap:8px;padding:1px 0}.note-checkline-box{flex:0 0 15px;width:15px;height:15px;margin-top:3px;padding:0;border-radius:4px;border:1.5px solid #94a3b8;background:#fff;display:grid;place-items:center;color:transparent;cursor:pointer;transition:background .12s,border-color .12s,color .12s}.note-checkline-box:hover{border-color:#1e3a8a}.note-checkline.checked .note-checkline-box{background:#1e3a8a;border-color:#1e3a8a;color:#fff}.note-day{height:28px;padding:0;border:0;border-radius:5px;cursor:pointer;font-size:12.5px;font-family:inherit}.note-day:hover{background:#eef2fb!important;color:#1e3a8a!important}.note-checkline-label{white-space:pre-wrap;overflow-wrap:anywhere}.note-checkline.checked .note-checkline-label{color:#94a3b8;text-decoration:line-through}.note-preview{margin-top:4px;font-size:13.5px;line-height:1.5;color:#475569;overflow-wrap:anywhere;cursor:text}.note-preview.muted{color:#94a3b8}.note-preview-p{white-space:pre-wrap}.note-preview-h1,.note-preview-h2{font-weight:700;color:#1e293b;font-size:14.5px}.note-preview-h3{font-weight:700;color:#334155}.note-preview.muted .note-preview-h1,.note-preview.muted .note-preview-h2,.note-preview.muted .note-preview-h3{color:#94a3b8}.note-preview-li{display:flex;gap:6px}.note-preview-marker{flex:0 0 auto;min-width:10px;color:#94a3b8}.note-preview-quote{border-left:3px solid #cbd5e1;padding-left:10px;color:#64748b}.note-preview-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;white-space:pre-wrap;background:#f1f5f9;padding:0 8px}.note-preview-hr{border:0;border-top:1px solid #e2e8f0;margin:6px 0}.note-inline-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em;background:#f1f5f9;border-radius:4px;padding:1px 4px;color:#0f172a}.note-link{color:#1d4ed8;text-decoration:underline;text-decoration-color:#1d4ed859;text-underline-offset:2px}.note-link:hover{color:#1e3a8a;text-decoration-color:currentColor}.note-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:110;background:#0f172a73;display:flex;justify-content:center;align-items:flex-start}.note-modal{display:flex;flex-direction:column;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 25px 50px -12px #00000040}.note-modal-footer{display:flex;justify-content:space-between;gap:12px;padding:8px 22px;border-top:1px solid #f1f5f9;font-size:11.5px;color:#94a3b8}.note-toolbar{display:flex;align-items:center;gap:2px;padding:6px 14px;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;background:#f8fafc;overflow-x:auto;scrollbar-width:none;flex:0 0 auto}.note-toolbar::-webkit-scrollbar{display:none}.note-tool{flex:0 0 32px;width:32px;height:30px;padding:0;border:0;border-radius:5px;background:transparent;color:#475569;display:grid;place-items:center;cursor:pointer;transition:background .12s,color .12s}.note-tool:hover:not(:disabled){background:#e2e8f0;color:#0f172a}.note-tool.on{background:#dbe4f7;color:#1e3a8a}.note-tool:disabled{opacity:.35;cursor:default}.note-tool-sep{flex:0 0 1px;width:1px;height:18px;margin:0 6px;background:#e2e8f0}.note-link-row{display:flex;align-items:center;gap:8px;padding:4px 14px 4px 18px;border-bottom:1px solid #e2e8f0;background:#fff;flex:0 0 auto}.note-link-apply{padding:6px 12px;border:0;border-radius:5px;background:#1e3a8a;color:#fff;font-size:12px;font-weight:700;cursor:pointer}.note-link-bubble{z-index:100;display:flex;align-items:center;gap:2px;max-width:360px;padding:4px 4px 4px 10px;background:#fff;border:1px solid #e2e8f0;border-radius:6px;box-shadow:0 10px 25px -8px #0f172a40}.note-link-bubble-url{display:inline-flex;align-items:center;gap:6px;min-width:0;margin-right:4px;font-size:12.5px;color:#1d4ed8}.note-link-bubble-url span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.note-editor-scroll{flex:1;min-height:0;overflow-y:auto;padding:16px 22px 28px;cursor:text}.note-editor-content{outline:none;min-height:100%;font-size:14.5px;line-height:1.6;color:#1e293b;overflow-wrap:anywhere;cursor:text}.note-editor-content>*+*{margin-top:.55em}.note-editor-content p{margin:0}.note-editor-content h1{font-size:21px;line-height:1.3;margin:.9em 0 .2em;color:#0f172a}.note-editor-content h2{font-size:17.5px;line-height:1.35;margin:.9em 0 .2em;color:#0f172a}.note-editor-content h3{font-size:15px;line-height:1.4;margin:.8em 0 .1em;color:#0f172a}.note-editor-content>:first-child{margin-top:0}.note-editor-content ul,.note-editor-content ol{margin:.3em 0;padding-left:1.4em}.note-editor-content li>p{margin:0}.note-editor-content li+li{margin-top:.15em}.note-editor-content a{color:#1d4ed8;text-decoration:underline;text-decoration-color:#1d4ed859;text-underline-offset:2px;cursor:text}.note-editor-content code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em;background:#f1f5f9;border-radius:4px;padding:1px 4px}.note-editor-content pre{background:#0f172a;color:#e2e8f0;border-radius:6px;padding:10px 14px;overflow-x:auto}.note-editor-content pre code{background:none;padding:0;color:inherit;font-size:13px}.note-editor-content blockquote{margin:.5em 0;padding-left:12px;border-left:3px solid #cbd5e1;color:#475569}.note-editor-content hr{border:0;border-top:1px solid #e2e8f0;margin:1em 0}.note-editor-content p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:#94a3b8;float:left;height:0;pointer-events:none}.note-editor-content ul[data-type=taskList]{list-style:none;padding-left:2px}.note-editor-content ul[data-type=taskList] ul[data-type=taskList]{padding-left:1.4em}.note-editor-content ul[data-type=taskList]>li{display:flex;align-items:flex-start;gap:8px}.note-editor-content ul[data-type=taskList]>li>label{flex:0 0 auto;margin-top:4px;-webkit-user-select:none;user-select:none}.note-editor-content ul[data-type=taskList]>li>label input{width:15px;height:15px;margin:0;accent-color:#1e3a8a;cursor:pointer}.note-editor-content ul[data-type=taskList]>li>div{flex:1;min-width:0}.note-editor-content ul[data-type=taskList]>li[data-checked=true]>div{color:#94a3b8;text-decoration:line-through}.idea-card-title{flex:1;min-width:0;font-size:14.5px;font-weight:600;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.idea-card-extract{margin-top:4px;font-size:13px;line-height:1.5;color:#64748b;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.idea-card-extract.muted{color:#94a3b8}.rail-add{display:flex;align-items:center;gap:10px;width:100%;padding:8px 12px;border:0;border-radius:4px;background:transparent;color:#64748b;font-size:12.5px;font-weight:600;cursor:pointer;text-decoration:none;text-align:left;font-family:inherit}.rail-add:hover{background:#f1f5f9;color:#1e3a8a}.rail-input{flex:1;min-width:0;padding:6px 8px;border:1px solid #cbd5e1;border-radius:4px;font-size:13px;color:#0f172a;background:#fff}.rail-input:focus-visible{outline:none;border-color:#1e3a8a;box-shadow:0 0 0 3px #1e3a8a2e}.note-icon-btn.ai{color:#7c3aed}.note-icon-btn.ai:hover{background:#f3e8ff;color:#6d28d9}.ideas-clear-filters{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border:0;border-radius:5px;background:transparent;color:#64748b;cursor:pointer;font-size:12px;font-weight:600}.category-name-input:hover{border-color:#e2e8f0!important}.category-name-input:focus-visible{outline:none;border-color:#1e3a8a!important;background:#fff!important}.ai-generate-btn{display:inline-flex;align-items:center;gap:7px;padding:10px 14px;border:1px solid #ddd6fe;border-radius:5px;background:#f5f3ff;color:#6d28d9;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s}.ai-generate-btn:hover:not(:disabled){background:#ede9fe;border-color:#c4b5fd}.ai-generate-btn:disabled{opacity:.45;cursor:not-allowed}@media (max-width: 767px){.ai-generate-label{display:none}}.ai-field{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.ai-field.stack{flex-direction:column;align-items:stretch;gap:6px}.ai-field.stack .ai-label{flex:none}.ai-label{flex:0 0 120px;font-size:12px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.03em}.ai-count{min-width:34px;height:30px;padding:0 8px;border:1px solid #e2e8f0;border-radius:5px;background:#fff;color:#475569;font-size:13px;font-weight:700;cursor:pointer}.ai-count:hover{border-color:#cbd5e1;background:#f8fafc}.ai-count.on{background:#1e3a8a;border-color:#1e3a8a;color:#fff}.ai-textarea{width:100%;resize:vertical;min-height:64px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:13.5px;line-height:1.5;color:#0f172a;background:#fff;font-family:inherit}.ai-textarea:focus-visible{outline:none;border-color:#1e3a8a;box-shadow:0 0 0 3px #1e3a8a2e}.ai-textarea:disabled{background:#f8fafc;color:#94a3b8}.ai-loading{display:flex;align-items:center;gap:10px;padding:14px;border-radius:6px;background:#f5f3ff;color:#6d28d9;font-size:13.5px;font-weight:600}@keyframes ai-spin{to{transform:rotate(360deg)}}.ai-spin{animation:ai-spin 1s linear infinite}.ai-error{padding:10px 12px;border-radius:6px;background:#fee2e2;color:#991b1b;font-size:13px}.ai-footer{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 22px 16px;border-top:1px solid #e2e8f0}.ai-btn{display:inline-flex;align-items:center;gap:7px;padding:9px 14px;border-radius:5px;font-size:13px;font-weight:700;cursor:pointer;border:1px solid transparent}.ai-btn:disabled{opacity:.5;cursor:not-allowed}.ai-btn.primary{background:#1e3a8a;color:#fff}.ai-btn.primary:hover:not(:disabled){background:#172e6e}.ai-btn.ghost{background:#fff;border-color:#e2e8f0;color:#334155}.ai-btn.ghost:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1}.ai-proposal{display:flex;align-items:flex-start;gap:12px;width:100%;text-align:left;padding:12px 14px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;cursor:pointer;font:inherit;transition:border-color .15s,background .15s}.ai-proposal:hover{border-color:#cbd5e1}.ai-proposal.on{border-color:#c7d2fe;background:#f8faff}.ai-proposal-box{flex:0 0 18px;width:18px;height:18px;margin-top:2px;border-radius:4px;border:1.5px solid #94a3b8;display:grid;place-items:center;color:transparent;background:#fff}.ai-proposal.on .ai-proposal-box{background:#1e3a8a;border-color:#1e3a8a;color:#fff}.ai-current{padding:12px 14px;border:1px dashed #cbd5e1;border-radius:6px;background:#f8fafc}.ai-draft-badge{display:inline-flex;padding:3px 10px;border-radius:9999px;background:#fef3c7;color:#92400e;font-size:11.5px;font-weight:700;letter-spacing:.02em}.ai-summary{display:flex;gap:8px;padding:10px 12px;border-radius:6px;background:#f5f3ff;color:#4c1d95;font-size:13.5px;line-height:1.5}.ai-diff-block{display:flex;flex-direction:column;gap:6px}.ai-diff-label{font-size:11.5px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.03em}.ai-unchanged{text-transform:none;letter-spacing:0;font-weight:500;color:#94a3b8}.ai-diff-body{border:1px solid #e2e8f0;border-radius:6px;padding:6px 0;background:#fff}.ai-diff-line{padding:1px 12px;font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;color:#334155;border-left:3px solid transparent}.ai-diff-line.add{background:#ecfdf5;color:#065f46;border-left-color:#10b981}.ai-diff-line.del{background:#fef2f2;color:#991b1b;border-left-color:#f87171;text-decoration:line-through;text-decoration-color:#991b1b73}.ai-tag-add{background:#ecfdf5!important;border-color:#a7f3d0!important;color:#065f46!important}.ai-tag-del{background:#fef2f2!important;border-color:#fecaca!important;color:#991b1b!important;text-decoration:line-through}.ai-history{display:flex;gap:8px;align-self:flex-end;max-width:85%;padding:8px 12px;border-radius:10px 10px 2px;background:#eef2fb;color:#1e3a8a;font-size:13px;line-height:1.45;white-space:pre-wrap}.idea-card-actions .note-icon-btn{width:24px;height:24px}.review-chip{gap:5px}.review-chip.approve{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}.review-chip.changes{background:#fffbeb;border-color:#fde68a;color:#92400e}.review-chip.rethink{background:#fef2f2;border-color:#fecaca;color:#991b1b}.review-chip:hover{filter:brightness(.97)}.review-chip.stale{opacity:.6;border-style:dashed}.review-chip.current{box-shadow:0 0 0 2px #1e3a8a}.review-stale{display:flex;gap:8px;padding:9px 12px;border-radius:6px;background:#f8fafc;border:1px dashed #cbd5e1;color:#475569;font-size:13px}.review-verdict{display:flex;flex-direction:column;gap:8px;padding:14px 16px;border-radius:8px;border:1px solid #e2e8f0;border-left-width:4px}.review-verdict.approve{background:#f0fdf4;border-color:#bbf7d0;border-left-color:#16a34a}.review-verdict.changes{background:#fffbeb;border-color:#fde68a;border-left-color:#d97706}.review-verdict.rethink{background:#fef2f2;border-color:#fecaca;border-left-color:#dc2626}.review-verdict-label{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.review-verdict.approve .review-verdict-label{color:#15803d}.review-verdict.changes .review-verdict-label{color:#b45309}.review-verdict.rethink .review-verdict-label{color:#b91c1c}.review-score{font-size:22px;font-weight:800;color:#0f172a;line-height:1}.review-score span{font-size:13px;font-weight:600;color:#64748b}.review-summary{font-size:14px;line-height:1.55;color:#1e293b}.review-proscons{display:grid;gap:12px}.review-list{padding:12px 14px;border-radius:6px;border:1px solid #e2e8f0;background:#fff}.review-list .ai-diff-label{display:flex;align-items:center;gap:6px}.review-list.pros .ai-diff-label{color:#15803d}.review-list.cons .ai-diff-label{color:#b91c1c}.review-list ul{margin:8px 0 0;padding-left:18px;display:flex;flex-direction:column;gap:5px;font-size:13.5px;line-height:1.5;color:#334155}.review-comment{display:flex;gap:10px;padding:12px 14px 12px 12px;border:1px solid #e2e8f0;border-left:3px solid #cbd5e1;border-radius:6px;background:#fff;cursor:pointer;transition:background .15s,border-color .15s}.review-comment.blocker{border-left-color:#dc2626}.review-comment.major{border-left-color:#d97706}.review-comment.minor{border-left-color:#2563eb}.review-comment.nit{border-left-color:#94a3b8}.review-comment.on{background:#f8faff;border-top-color:#c7d2fe;border-right-color:#c7d2fe;border-bottom-color:#c7d2fe}.review-check{flex:0 0 16px;width:16px;height:16px;margin:2px 0 0;accent-color:#1e3a8a;cursor:pointer}.review-sev{display:inline-flex;padding:1px 8px;border-radius:9999px;font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.review-sev.blocker{background:#fee2e2;color:#991b1b}.review-sev.major{background:#fef3c7;color:#92400e}.review-sev.minor{background:#dbeafe;color:#1e40af}.review-sev.nit{background:#f1f5f9;color:#475569}.review-quote{margin:0;padding:6px 10px;border-left:3px solid #e2e8f0;background:#f8fafc;border-radius:0 4px 4px 0;font-size:12.5px;line-height:1.5;color:#475569;font-style:italic;white-space:pre-wrap;overflow-wrap:anywhere}.review-suggestion{display:flex;gap:7px;padding:8px 10px;border-radius:5px;background:#f5f3ff;color:#4c1d95;font-size:13px;line-height:1.5}.review-question{display:flex;align-items:flex-start;gap:8px;padding:8px 12px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;font-size:13.5px;line-height:1.5;color:#334155;cursor:pointer}.review-question.on{background:#f8faff;border-color:#c7d2fe}.tracker-notes-btn{position:relative;display:grid;place-items:center;width:36px;height:36px;margin-right:6px;border:1px solid #e2e8f0;border-radius:5px;background:#fff;color:#475569;cursor:pointer;flex:0 0 36px;transition:background .15s,color .15s}.tracker-notes-btn:hover{background:#eef2fb;color:#1e3a8a}.tracker-notes-badge{position:absolute;top:-7px;right:-7px;min-width:18px;height:18px;padding:0 5px;border-radius:9999px;background:#1e3a8a;color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center}.om-scroll::-webkit-scrollbar{width:10px}.om-scroll::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:9999px;border:3px solid #fff}@media print{aside,header,.app-sidebar,.app-header,.invoice-rail,.no-print{display:none!important}.app-shell,.app-main,.app-main-canvas,main{padding:0!important;max-width:none!important;background:#fff!important}.invoice-canvas{box-shadow:none!important;border:none!important}@page{size:A4;margin:14mm}}
