:root{font-family:Manrope,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#17211d;background:#eef2ec;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,textarea,select{font:inherit}button{border:0;border-radius:8px;background:#173f35;color:#fff;cursor:pointer;font-weight:700;min-height:40px;padding:0 14px}button:disabled{cursor:not-allowed;opacity:.55}input,textarea,select{border:1px solid #cbd6ce;border-radius:8px;background:#fbfcf8;color:#17211d;outline:none}input,select{height:40px;padding:0 12px}textarea{min-height:150px;padding:16px;resize:vertical}.shell{display:grid;grid-template-columns:290px 1fr;min-height:100vh}.sidebar{border-right:1px solid #dce3dc;background:#f8faf5;padding:22px 18px}.brand{align-items:center;display:flex;gap:12px;margin-bottom:28px}.mark{align-items:center;background:#173f35;border-radius:8px;color:#fff;display:flex;font-size:22px;font-weight:900;height:42px;justify-content:center;width:42px}.brand strong,.brand span,.field span,.section-title{display:block}.brand span,.field span,.section-title,.memory-row span,.hit-row span,.session-pill small,.eyebrow{color:#66736c;font-size:13px}.field{display:grid;gap:8px}.auth-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,430px);min-height:100vh}.auth-hero{align-content:center;background:#173f35;color:#f7faf4;display:grid;gap:28px;padding:48px}.auth-brand{align-items:center;display:flex;gap:12px}.auth-brand .mark{background:#f7faf4;color:#173f35}.auth-brand strong{font-size:20px}.auth-hero h1{font-size:48px;line-height:1.02;margin:8px 0 0;max-width:720px}.auth-hero p{color:#dbe7dc;font-size:17px;line-height:1.55;margin:18px 0 0;max-width:620px}.auth-panel{align-content:center;background:#f8faf5;border-left:1px solid #dce3dc;display:grid;gap:12px;padding:28px}.auth-panel .core-auth-card{background:#fbfcf8;margin:0}.auth-panel small{color:#66736c;line-height:1.4}.auth-card,.core-auth-card{background:#eef2ec;border:1px solid #dce3dc;border-radius:8px;display:grid;gap:10px;margin-bottom:12px;padding:12px}.auth-card small,.core-profile span{color:#66736c}.core-auth-head{display:grid;gap:8px}.mode-switch{background:#dfe7dd;border-radius:8px;display:grid;grid-template-columns:1fr 1fr;padding:3px}.mode-switch button{background:transparent;color:#33423b;min-height:34px;padding:0 8px}.mode-switch button.active{background:#fbfcf8;color:#173f35}.core-profile{border-top:1px solid #dce3dc;display:grid;gap:6px;padding-top:10px}.core-profile strong,.core-profile span{display:block}.health-card{border-radius:8px;display:grid;gap:4px;margin:0 0 24px;padding:12px}.health-card.healthy{background:#e8f4ea;border:1px solid #b8d8bf}.health-card.danger{background:#fff0ed;border:1px solid #efc1b8}.health-card small{color:#66736c}.identity-actions,.new-project,.composer-actions,.search-line{display:flex;gap:8px}.identity-actions{margin:10px 0 28px}.identity-actions button,.new-project button,.search-line button{flex:0 0 auto}.nav-section{display:grid;gap:6px;margin-bottom:24px}.section-title{font-weight:800;margin:0 0 6px;text-transform:uppercase}.nav{background:transparent;color:#33423b;justify-content:flex-start;text-align:left;width:100%}.nav.active{background:#dfe9dd;color:#173f35}.new-project input{min-width:0;width:100%}.project-editor{border-top:1px solid #dce3dc;display:grid;gap:8px;margin-top:20px;padding-top:18px}.project-editor textarea{min-height:88px}.workspace{padding:28px 34px 40px}.dev-banner{align-items:center;background:#fff7e7;border:1px solid #edd8a8;border-radius:8px;color:#503f12;display:flex;gap:12px;justify-content:space-between;margin-bottom:18px;padding:10px 14px}.dev-banner strong{white-space:nowrap}.dev-banner span{color:#6d5d3f;font-size:13px;line-height:1.35;text-align:right}.topbar{align-items:flex-start;display:flex;gap:18px;justify-content:space-between;margin-bottom:26px}.topbar h1{font-size:38px;line-height:1.05;margin:4px 0 0}.session-pill{background:#fbfcf8;border:1px solid #dce3dc;border-radius:8px;display:grid;gap:2px;min-width:220px;padding:12px 14px}.session-pill span{font-weight:800}.composer{background:#fbfcf8;border:1px solid #dce3dc;border-radius:8px;display:grid;gap:12px;margin-bottom:18px;padding:14px}.composer-actions{justify-content:flex-end}.composer-actions select{min-width:180px}.file-line{align-items:center;border-top:1px solid #e1e7e0;display:grid;gap:10px;grid-template-columns:minmax(180px,.6fr) minmax(0,1fr) auto;padding-top:12px}.file-line input{background:transparent;border:0;height:auto;padding:0}.file-line span{color:#66736c;font-size:13px}.answer{background:#173f35;border-radius:8px;color:#eaf2eb;line-height:1.5;margin:0 0 18px;overflow:auto;padding:16px;white-space:pre-wrap}.decision-card{align-items:center;background:#fff7e7;border:1px solid #edd8a8;border-radius:8px;display:flex;gap:16px;justify-content:space-between;margin:0 0 18px;padding:14px 16px}.decision-card strong{display:block;font-size:18px;margin-top:2px}.decision-card p{color:#6d5d3f;margin:4px 0 0}.decision-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.content-grid{display:grid;gap:18px;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr)}.panel{background:#fbfcf8;border:1px solid #dce3dc;border-radius:8px;min-width:0}.panel-head{align-items:center;border-bottom:1px solid #e1e7e0;display:flex;justify-content:space-between;padding:14px 16px}.panel-head h2{font-size:18px;margin:0}.panel-head span{color:#66736c;font-weight:800}.memory-list,.hit-list{display:grid;gap:0;max-height:520px;overflow:auto}.memory-row,.hit-row{border-bottom:1px solid #e7ece5;display:grid;gap:6px;padding:14px 16px}.memory-row{background:transparent;border-radius:0;color:inherit;cursor:pointer;font-weight:400;min-height:0;text-align:left}.memory-row:hover,.memory-row.selected{background:#edf4ea}.load-more{background:#eef2ec;border-radius:0;color:#173f35;width:100%}.memory-row:last-child,.hit-row:last-child{border-bottom:0}.memory-row strong,.hit-row strong{color:#17211d}.memory-row p,.hit-row p{color:#4d5b54;line-height:1.45;margin:0}.card-editor{margin-top:18px}.card-form{display:grid;gap:14px;padding:16px}.card-form textarea{min-height:110px}.card-form label:nth-child(3) textarea{min-height:180px}.card-two{display:grid;gap:12px;grid-template-columns:minmax(180px,.45fr) minmax(0,1fr)}.card-meta{color:#66736c;display:flex;flex-wrap:wrap;gap:10px 18px;font-size:13px}.card-actions{display:flex;flex-wrap:wrap;gap:10px}.history-grid{display:grid;gap:18px;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);margin-top:18px}.conversation-list,.message-list{display:grid;max-height:520px;overflow:auto}.conversation-row{background:transparent;border-bottom:1px solid #e7ece5;border-radius:0;color:inherit;display:grid;font-weight:400;gap:6px;min-height:0;padding:14px 16px;text-align:left}.conversation-row:hover,.conversation-row.selected{background:#edf4ea}.conversation-row p,.message-row p{color:#4d5b54;line-height:1.45;margin:0;white-space:pre-wrap}.conversation-row span,.message-row span{color:#66736c;font-size:13px}.message-row{border-bottom:1px solid #e7ece5;display:grid;gap:8px;padding:14px 16px}.message-row.assistant{background:#f7faf4}.message-citations{display:flex;flex-wrap:wrap;gap:8px}.message-citations button{background:#eef2ec;color:#173f35;min-height:32px}.sources-panel{margin-top:18px}.source-list{display:grid}.source-row{border-bottom:1px solid #e7ece5;display:grid;gap:6px;padding:14px 16px}.source-row:last-child{border-bottom:0}.source-row p{color:#4d5b54;margin:0}.source-row span{color:#66736c;font-size:13px}.ghost{background:#eef2ec;color:#173f35}.danger{color:#9f2f25}.search-line{border-bottom:1px solid #e1e7e0;padding:12px}.search-line input{min-width:0;width:100%}.empty{color:#66736c;padding:18px 16px}@media(max-width:980px){.auth-shell{grid-template-columns:1fr}.auth-hero{align-content:start;padding:32px 22px}.auth-hero h1{font-size:36px}.auth-panel{border-left:0;border-top:1px solid #dce3dc;padding:22px}.shell{grid-template-columns:1fr}.sidebar{border-bottom:1px solid #dce3dc;border-right:0}.content-grid,.history-grid,.card-two{grid-template-columns:1fr}}@media(max-width:640px){.workspace{padding:22px 16px 32px}.topbar,.composer-actions,.file-line,.identity-actions,.new-project,.dev-banner,.decision-card{flex-direction:column}.dev-banner{align-items:flex-start}.dev-banner span{text-align:left}.file-line{align-items:stretch;grid-template-columns:1fr}.topbar h1{font-size:30px}.session-pill,.composer-actions select,.composer-actions button,.file-line button,.identity-actions button,.new-project button,.decision-actions,.decision-actions button{width:100%}}
