:root{--brand:#a08060;--accent:#8a6d3b;--accent-soft:#f4e8d8;--bg:#fff;--surface:#fafafa;--surface-alt:#f5f5f5;--line:#e2e8f0;--line-soft:#f0f0f0;--text:#1a1a1a;--text-soft:#555;--muted:#888;--muted-soft:#bbb;--ok:#28a745;--ok-bg:#eaf7ee;--warn:#b07a4a;--warn-bg:#fbf1de;--error:#ef4444;--error-bg:#fde8e5;--published:#28a745;--published-bg:#eaf7ee;--draft:#2563eb;--draft-bg:#eff6ff;--open:#7a8499;--open-bg:#f1f3f7;--locked:#9aa3b2;--focus:#2563eb}@media (prefers-color-scheme:dark){:root{--brand:#c4a882;--accent:#c4a882;--accent-soft:#3a3229;--bg:#1c1a17;--surface:#221f1b;--surface-alt:#2a2621;--line:#33302a;--line-soft:#2b2823;--text:#f0ece6;--text-soft:#cfc8bd;--muted:#9a9284;--muted-soft:#6f695f;--ok:#6fbf7f;--ok-bg:#21311f;--warn:#d0a06a;--warn-bg:#35291b;--error:#f28a80;--error-bg:#3a2320;--published:#6fbf7f;--published-bg:#21311f;--draft:#6f9dff;--draft-bg:#1e2740;--open:#98a1b5;--open-bg:#262a33;--locked:#7d8593;--focus:#6f9dff}}*{box-sizing:border-box}html,body{-webkit-text-size-adjust:100%;background:#faf8f5;height:100%;margin:0}html{height:100%}.full-height{height:100dvh}.safe-bottom{padding-bottom:env(safe-area-inset-bottom,0px)}.compact-card:hover .compact-remove,.split-drag-handle:hover .split-drag-pill{opacity:1!important}.grid-chart-cell{cursor:default}.grid-chart-cell:hover{cursor:grab}.grid-chart-cell .cell-resize-handles{opacity:0;pointer-events:none;transition:opacity .15s}.grid-chart-cell:hover .cell-resize-handles{opacity:1;pointer-events:auto}.grid-chart-cell .cell-chart-border{transition:border-color .15s;border-color:#0000!important}.grid-chart-cell:hover .cell-chart-border{border-color:#e2e8f0!important}.grid-chart-cell .cell-chart-actions{opacity:0;transition:opacity .15s}.grid-chart-cell:hover .cell-chart-actions{opacity:1}@keyframes thinking-pulse{0%,to{opacity:.3}50%{opacity:1}}.thinking-dot{color:#6c3483;animation:1.2s ease-in-out infinite thinking-pulse}.markdown-message{overflow-x:auto}.markdown-message p{margin:.4em 0}.markdown-message p:first-child{margin-top:0}.markdown-message p:last-child{margin-bottom:0}.markdown-message strong{font-weight:600}.markdown-message em{font-style:italic}.markdown-message ul,.markdown-message ol{margin:.4em 0;padding-left:1.5em}.markdown-message li{margin:.2em 0}.markdown-message h1,.markdown-message h2,.markdown-message h3,.markdown-message h4{margin:.6em 0 .3em;font-weight:600}.markdown-message h1{font-size:1.1em}.markdown-message h2{font-size:1.05em}.markdown-message h3{font-size:1em}.markdown-message code{background:#f0f0f0;border-radius:3px;padding:.15em .35em;font-family:monospace;font-size:.9em}.markdown-message pre{color:#e2e8f0;background:#1a202c;border-radius:6px;padding:.75rem;font-size:.85em;line-height:1.5;overflow-x:auto}.markdown-message pre code{color:inherit;background:0 0;padding:0}.markdown-message table{border-collapse:collapse;width:100%;margin:.5em 0;font-size:.9em}.markdown-message th,.markdown-message td{text-align:left;word-break:keep-all;overflow-wrap:normal;border:1px solid #ddd;padding:.4em .75em}.markdown-message th{background:#f5f5f5;font-weight:600}.markdown-message tr:nth-child(2n){background:#fafafa}.markdown-message blockquote{color:#666;border-left:3px solid #ddd;margin:.4em 0;padding-left:.75em}@media (max-width:767px){.markdown-message table{-webkit-overflow-scrolling:touch;min-width:100%;font-size:.75em;display:block;overflow-x:auto}.markdown-message th,.markdown-message td{white-space:nowrap;padding:.3em .5em}}
