:root{--ink:#202230;--muted:#7c8090;--soft:#f6f7fb;--line:#e8e9f0;--brand:#6877f4;--brand-dark:#5362e8;--shadow:0 18px 60px #2a2d4614}*{box-sizing:border-box}html{background:#fbfbfd}body{color:var(--ink);background:radial-gradient(circle at 48% -8%,#eef0ff 0,#f7f8ffa8 24%,#fbfbfd 52%);margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}button,input,textarea,select{font:inherit}button{color:inherit}button,select{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #6877f433}.app-shell{min-height:100vh}.topbar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:20;background:#ffffffbd;border-bottom:1px solid #e1e2ebbf;justify-content:space-between;align-items:center;height:76px;padding:0 4.5vw;display:flex;position:sticky;top:0}.brand{background:0 0;border:0;align-items:center;gap:11px;padding:4px;font-size:20px;font-weight:750;display:flex}.brand b{color:var(--brand)}.brand-mark{color:#fff;background:linear-gradient(145deg,#8190ff,#5968e8);border-radius:11px;place-items:center;width:35px;height:35px;display:grid;box-shadow:0 8px 20px #5d6beb4d}.brand-mark svg{width:20px}.topbar-right{align-items:center;gap:10px;display:flex}.mode-pill{color:#32805e;background:#ecf8f2;border:1px solid #d6eee3;border-radius:99px;padding:7px 10px;font-size:12px}.mode-pill.demo{color:#8b6825;background:#fff8e8;border-color:#f4e5b9}.avatar{color:#fff;background:#202332;border-radius:50%;place-items:center;width:36px;height:36px;margin-left:8px;font-weight:700;display:grid}.user-meta{flex-direction:column;min-width:62px;line-height:1.15;display:flex}.user-meta strong{font-size:13px}.user-meta span{color:var(--muted);margin-top:3px;font-size:11px}.home{max-width:1160px;margin:0 auto;padding:76px 28px 80px}.hero{text-align:center}.eyebrow{color:var(--brand);letter-spacing:.13em;text-transform:uppercase;font-size:12px;font-weight:750;line-height:1}.hero h1{letter-spacing:-.05em;margin:18px 0 14px;font-size:clamp(42px,5.2vw,68px);font-weight:760;line-height:1.11}.hero h1 span{color:#9ca0ae}.hero p{color:var(--muted);margin:0 0 38px;font-size:16px}.composer{background:#fff;border:1px solid #e1e3eb;border-radius:25px;align-items:center;gap:8px;width:min(920px,100%);min-height:72px;margin:0 auto;padding:9px 10px 9px 13px;transition:border-color .2s,box-shadow .2s;display:flex;box-shadow:0 18px 55px #2326411c,0 2px 6px #2326410a}.composer:focus-within{border-color:#b9bff7;box-shadow:0 20px 60px #4f59ad26,0 0 0 4px #6877f412}.composer textarea{resize:none;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;flex:1;max-height:120px;padding:13px 8px;font-size:16px;line-height:1.5}.composer textarea::placeholder{color:#a5a8b4}.icon-button,.send-button{background:0 0;border:0;border-radius:50%;flex:none;place-items:center;width:45px;height:45px;transition:all .2s;display:grid}.icon-button:hover{background:#f0f1f6}.icon-button svg{width:23px}.icon-button.mic.recording{color:#d85161;background:#fff0f2;animation:1.2s infinite pulse-ring}.send-button{color:#fff;background:#232634;box-shadow:0 7px 16px #1f223133}.send-button:hover:not(:disabled){background:#0d0e14;transform:translateY(-1px)}.send-button:disabled{color:#b8bbc7;box-shadow:none;cursor:not-allowed;background:#edeef2}.send-button svg{width:22px}@keyframes pulse-ring{50%{box-shadow:0 0 0 7px #d8516117}}.quick-prompts{color:#969aa8;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin-top:17px;font-size:12px;display:flex}.quick-prompts button{color:#727687;background:#fffc;border:1px solid #e6e7ee;border-radius:99px;padding:7px 11px}.quick-prompts button:hover{color:var(--brand);border-color:#cdd1ed}.section-head{justify-content:space-between;align-items:end;margin:74px 0 22px;display:flex}.section-head h2,.panel-title h2{letter-spacing:-.025em;margin:10px 0 0;font-size:24px;line-height:1.25}.last-updated{color:#9699a5;align-items:center;gap:6px;font-size:12px;display:flex}.last-updated svg{width:15px}.module-grid{grid-template-columns:repeat(3,1fr);gap:15px;display:grid}.module-card{text-align:left;background:#ffffffd4;border:1px solid #e7e8ef;border-radius:19px;grid-template-columns:48px 1fr 20px;align-items:start;gap:15px;min-height:148px;padding:23px 20px;transition:all .22s;display:grid;box-shadow:0 3px 14px #22253a06}.module-card:hover{box-shadow:var(--shadow);background:#fff;border-color:#d8daf0;transform:translateY(-4px)}.module-symbol{border-radius:14px;place-items:center;width:46px;height:46px;display:grid}.module-symbol svg{width:24px}.module-symbol.violet{color:#7459c9;background:#f0ebff}.module-symbol.blue{color:#4e70df;background:#eaf0ff}.module-symbol.amber{color:#d18828;background:#fff2d9}.module-symbol.green{color:#359270;background:#e5f6ef}.module-symbol.rose{color:#d15d7a;background:#ffebf0}.module-symbol.cyan{color:#228c9b;background:#e3f5f7}.module-copy{min-width:0}.module-title-line{align-items:center;gap:8px;display:flex}.module-card h3{margin:4px 0 8px;font-size:16px}.module-card p{color:var(--muted);margin:0;font-size:13px;line-height:1.55}.card-chevron{color:#b3b6c1;width:18px;margin-top:14px;transition:transform .2s}.module-card:hover .card-chevron{color:var(--brand);transform:translate(3px)}.count-badge{color:#6c53bb;background:#f0ebff;border-radius:99px;place-items:center;min-width:21px;height:21px;padding:0 5px;font-size:11px;font-weight:750;display:grid}.snapshot{color:#fff;background:#222532;border-radius:19px;grid-template-columns:repeat(4,1fr);margin-top:26px;padding:24px;display:grid;box-shadow:0 18px 48px #20233024}.snapshot>div{border-right:1px solid #ffffff1f;flex-direction:column;align-items:center;display:flex}.snapshot>div:last-child{border:0}.snapshot span{color:#aeb2c0;font-size:12px}.snapshot strong{margin-top:5px;font-size:26px}.demo-note{color:#725c29;background:#fffaed;border:1px solid #f0dfad;border-radius:14px;align-items:flex-start;gap:13px;margin-top:18px;padding:16px 18px;display:flex}.demo-note svg{flex:none;width:20px}.demo-note strong{font-size:13px}.demo-note p{color:#8c7540;margin:4px 0 0;font-size:12px;line-height:1.55}.workspace-wrap{max-width:1440px;margin:0 auto;padding:34px 40px 48px}.workspace-heading{grid-template-columns:auto 50px 1fr;align-items:center;gap:14px;margin-bottom:24px;display:grid}.workspace-heading .module-symbol{width:50px;height:50px}.workspace-heading h1{letter-spacing:-.03em;margin:4px 0 2px;font-size:25px}.workspace-heading p{color:var(--muted);margin:0;font-size:13px}.back-button{color:#777b89;border:0;border-right:1px solid var(--line);background:0 0;align-self:stretch;align-items:center;gap:6px;margin-right:12px;padding:0 25px 0 0;display:flex}.back-button:hover{color:var(--brand)}.back-button svg{width:18px}.workspace-grid{grid-template-columns:minmax(360px,.78fr) minmax(540px,1.22fr);gap:16px;height:calc(100vh - 186px);min-height:620px;display:grid}.chat-panel,.data-panel{background:#ffffffeb;border:1px solid #e4e5ec;border-radius:22px;min-height:0;overflow:hidden;box-shadow:0 12px 45px #24273f0f}.chat-panel{flex-direction:column;display:flex}.chat-heading{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:18px 20px;display:flex}.ai-dot{color:#5d6de8;background:#edf0ff;border-radius:11px;place-items:center;width:34px;height:34px;display:grid}.ai-dot svg{width:19px}.chat-heading>div{flex-direction:column;display:flex}.chat-heading strong{font-size:13px}.chat-heading span{color:var(--muted);margin-top:2px;font-size:11px}.messages{flex:1;padding:22px 20px;overflow:auto}.message{max-width:88%;margin-bottom:20px}.message.user{margin-left:auto}.message-label{color:#a0a3af;margin:0 5px 5px;font-size:10px}.message.user .message-label{text-align:right}.bubble{background:#f1f2f6;border-radius:6px 17px 17px;padding:13px 15px;font-size:13px;line-height:1.65}.message.user .bubble{color:#fff;background:#5e6cea;border-radius:17px 6px 17px 17px}.bubble p{white-space:pre-wrap;margin:0}.missing{border-top:1px solid #dedfe6;flex-wrap:wrap;gap:6px;margin-top:12px;padding-top:10px;display:flex}.missing strong{width:100%;font-size:11px}.missing span{color:#bb7730;background:#fff;border-radius:6px;padding:4px 7px;font-size:10px}.citations{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.citations span{color:#565d83;background:#fff;border:1px solid #dbdeec;border-radius:6px;align-items:center;gap:4px;padding:5px 7px;font-size:10px;display:flex}.citations svg{width:12px}.typing{background:#f1f2f6;border-radius:6px 16px 16px;gap:4px;width:fit-content;padding:12px 14px;display:flex}.typing i{background:#a4a7b4;border-radius:50%;width:5px;height:5px;animation:1s infinite alternate typing}.typing i:nth-child(2){animation-delay:.2s}.typing i:nth-child(3){animation-delay:.4s}@keyframes typing{to{opacity:.25;transform:translateY(-2px)}}.composer.compact{border-radius:18px;width:auto;min-height:56px;margin:14px;padding:6px 7px;box-shadow:0 8px 25px #23264114}.composer.compact textarea{padding:9px 5px;font-size:13px}.composer.compact .icon-button,.composer.compact .send-button{width:37px;height:37px}.composer.compact svg{width:19px}.data-panel{padding:28px;overflow-y:auto}.panel-title{justify-content:space-between;align-items:end;gap:14px;margin-bottom:24px;display:flex}.panel-title h2{font-size:25px}.stack{flex-direction:column;gap:11px;display:flex}.primary-button,.secondary-button,.ghost-button{border:0;border-radius:10px;padding:11px 15px;font-size:12px;font-weight:700;transition:all .18s}.primary-button{color:#fff;background:#252836;box-shadow:0 5px 13px #1c1f2d24}.primary-button:hover:not(:disabled){background:#101116;transform:translateY(-1px)}.primary-button:disabled{cursor:not-allowed;box-shadow:none;background:#c8cad2}.secondary-button{color:#5363da;background:#edf0ff}.ghost-button{color:#6d7180;background:#fff;border:1px solid #e0e1e8}.primary-button.small,.ghost-button.small{padding:8px 11px}.primary-button.wide{width:100%;padding:14px 18px}.rule-summary{grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:15px;display:grid}.rule-summary div{background:#f7f8fb;border-radius:13px;flex-direction:column;padding:15px;display:flex}.rule-summary strong{font-size:21px}.rule-summary span{color:var(--muted);margin-top:2px;font-size:10px}.rule-card,.decision-card,.project-card,.task-row,.learning-card{background:#fff;border:1px solid #e7e8ef;border-radius:15px;padding:18px}.rule-top,.decision-meta{justify-content:space-between;align-items:center;display:flex}.category,.urgency,.task-status,.priority,.report-status{border-radius:99px;width:fit-content;padding:5px 8px;font-size:9px;font-weight:700;display:inline-flex}.category.value{color:#8353c1;background:#f0e9fb}.category.decision_principle{color:#4d67c7;background:#eaf0ff}.category.permission_boundary{color:#c35e5e;background:#ffeded}.category.communication_style{color:#318169;background:#e6f5ef}.version{color:#9ca0ad;font-size:10px}.rule-card h3,.decision-card h3,.learning-card h3{margin:12px 0 8px;font-size:15px}.rule-card p,.decision-card p,.learning-card p{color:#6f7381;margin:0;font-size:12px;line-height:1.65}.rule-card footer,.decision-card footer,.learning-card footer{color:#9ca0ac;border-top:1px solid #eff0f4;justify-content:space-between;align-items:center;margin-top:13px;padding-top:12px;font-size:10px;display:flex}.urgency.urgent{color:#bf4f5a;background:#ffeaed}.urgency.high{color:#bb7729;background:#fff2dc}.urgency.normal{color:#6d7180;background:#eff0f4}.decision-meta>span:last-child{color:#8f93a0;font-size:10px}.project-head{justify-content:space-between;gap:15px;display:flex}.project-head h3{margin:0 0 6px;font-size:15px}.project-head p{color:var(--muted);margin:0;font-size:11px}.project-head>strong{color:var(--brand);font-size:21px}.progress{background:#eceef4;border-radius:99px;height:7px;margin:17px 0 12px;overflow:hidden}.progress i{border-radius:inherit;background:linear-gradient(90deg,#7785f6,#6070ec);height:100%;display:block}.progress.small{height:4px;margin:10px 0 0}.project-stats{color:#8b8f9c;flex-wrap:wrap;gap:12px 20px;font-size:10px;display:flex}.project-stats b{color:#5e6270}.project-stats .warning,.project-stats .warning b{color:#c27728}.freshness{color:#3d8d6f;align-items:center;gap:6px;font-size:10px;display:flex}.freshness i{background:#49ae84;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #e6f6ef}.mini-search{border:1px solid #e2e3e9;border-radius:9px;align-items:center;gap:6px;padding:7px 9px;display:flex}.mini-search svg{color:#999daa;width:14px}.mini-search input{border:0;outline:0;width:125px;font-size:11px}.task-row{grid-template-columns:8px 1fr auto;gap:13px;padding:16px;display:grid}.status-dot{background:#8590d4;border-radius:50%;width:7px;height:7px;margin-top:7px}.status-dot.blocked{background:#e39b41}.status-dot.completed{background:#43a97f}.status-dot.submitted{background:#9b6add}.task-main>div:first-child{align-items:center;gap:7px;display:flex}.task-main h3{margin:0;font-size:13px}.task-main p{color:var(--muted);margin:5px 0 0;font-size:10px}.priority{padding:3px 6px}.priority.urgent{color:#c54e5e;background:#ffebed}.priority.high{color:#be792b;background:#fff1dc}.priority.medium{color:#5367c1;background:#edf0ff}.priority.low{color:#688072;background:#eaf4ee}.task-actions{align-items:center;gap:5px;display:flex}.task-status{color:#6471bd;background:#edf0ff}.task-status.blocked{color:#ad6c22;background:#fff2dc}.task-status.submitted{color:#7a54ad;background:#f1eafa}.task-status.completed{color:#377e62;background:#e5f5ed}.blocker{color:#b36d25;align-items:center;gap:4px;margin-top:8px;font-size:10px;display:flex}.blocker svg{width:12px}.draft-card{background:#fff;border:1px solid #e2e4ee;border-radius:17px;padding:20px}.draft-notice{color:#5360a3;background:#f0f2ff;border-radius:11px;gap:11px;margin-bottom:18px;padding:13px;display:flex}.draft-notice svg{flex:none;width:20px}.draft-notice strong{font-size:12px}.draft-notice p{color:#777ca1;margin:3px 0 0;font-size:10px;line-height:1.5}.draft-card label{color:#5f6370;flex-direction:column;gap:6px;margin-bottom:13px;font-size:10px;font-weight:700;display:flex}.draft-card input,.draft-card select,.draft-card textarea{color:#30333e;resize:vertical;background:#fbfbfd;border:1px solid #e0e2e9;border-radius:9px;outline:0;width:100%;padding:10px 11px;font-size:12px;font-weight:400}.draft-card input:focus,.draft-card textarea:focus,.draft-card select:focus{background:#fff;border-color:#aeb6f3}.draft-card small{color:#9da1ad;font-weight:400}.form-grid{grid-template-columns:1fr 1fr;gap:0 12px;display:grid}.blocking-warning{color:#ae6d25;background:#fff6e7;border-radius:9px;align-items:center;gap:6px;margin-bottom:12px;padding:10px;font-size:11px;display:flex}.blocking-warning svg{width:15px}.week-date{color:#8a8e9b;margin-bottom:12px;font-size:10px}.weekly-card{border:1px solid #e4e6ed;border-radius:17px;padding:18px}.report-status.draft{color:#a66b2a;background:#fff2df}.report-status.confirmed{color:#357d61;background:#e6f5ed}.report-block{border-left:3px solid #7b87ec;margin:16px 0;padding:5px 0 5px 13px}.report-block.green{border-color:#56aa86}.report-block.amber{border-color:#e0a050}.report-block.violet{border-color:#9c70d6}.report-block h3{margin:0 0 7px;font-size:11px}.report-block ul{color:#6f7381;margin:0;padding-left:17px;font-size:11px;line-height:1.75}.report-block p{color:#a0a3af;font-size:11px}.learning-intro{color:#667184;background:#f4f6fa;border-radius:11px;align-items:center;gap:10px;margin-bottom:14px;padding:12px 14px;display:flex}.learning-intro svg{color:#4f8c99;width:23px}.learning-intro p{margin:0;font-size:10px;line-height:1.55}.learning-card{position:relative}.confidence{text-align:right;position:absolute;top:16px;right:17px}.confidence span{color:#a1a4af;font-size:8px;display:block}.confidence strong{color:#4e7f72;font-size:14px}.learning-card blockquote{color:#4d5270;background:#f4f5fa;border-radius:9px;margin:12px 0;padding:12px;font-size:11px;line-height:1.6}.empty{color:#a2a5b0;flex-direction:column;justify-content:center;align-items:center;min-height:260px;display:flex}.empty svg{width:40px;margin-bottom:10px}.empty p{font-size:12px}.mobile-tabs{display:none}.toast{z-index:100;color:#fff;background:#232634f5;border-radius:11px;width:max-content;max-width:calc(100vw - 32px);padding:11px 16px;font-size:12px;animation:.2s ease-out toast-in;position:fixed;top:88px;left:50%;transform:translate(-50%);box-shadow:0 15px 35px #12141e33}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,-8px)}}@media (max-width:920px){.home{padding-top:55px}.module-grid{grid-template-columns:repeat(2,1fr)}.workspace-wrap{padding:25px 22px 35px}.workspace-grid{grid-template-columns:minmax(310px,.8fr) minmax(420px,1.2fr)}}@media (max-width:700px){.topbar{height:66px;padding:0 18px}.mode-pill,.user-meta{display:none}.avatar{width:34px;height:34px}.home{padding:42px 16px 55px}.hero h1{font-size:38px}.hero p{margin-bottom:26px;font-size:13px}.composer{border-radius:20px;gap:3px;min-height:62px;padding:7px 8px}.composer textarea{padding:10px 5px;font-size:14px}.icon-button,.send-button{width:40px;height:40px}.icon-button svg{width:20px}.quick-prompts{flex-wrap:nowrap;justify-content:flex-start;padding:2px;overflow-x:auto}.quick-prompts span{display:none}.quick-prompts button{white-space:nowrap}.section-head{align-items:start;margin-top:51px}.section-head h2{font-size:21px}.last-updated{display:none}.module-grid{grid-template-columns:1fr;gap:10px}.module-card{grid-template-columns:43px 1fr 18px;min-height:105px;padding:18px}.module-symbol{width:43px;height:43px}.module-card h3{margin-top:2px}.snapshot{grid-template-columns:repeat(2,1fr);gap:20px 0}.snapshot>div:nth-child(2){border:0}.workspace-wrap{padding:19px 14px 30px}.workspace-heading{grid-template-columns:37px 1fr;gap:10px;margin-bottom:16px}.workspace-heading .back-button{border:1px solid var(--line);border-radius:11px;grid-area:1/1;place-items:center;width:37px;height:37px;padding:0;font-size:0;display:grid}.workspace-heading .module-symbol{display:none}.workspace-heading>div:last-child{grid-column:2}.workspace-heading h1{font-size:20px}.workspace-heading p{white-space:nowrap;text-overflow:ellipsis;max-width:75vw;overflow:hidden}.mobile-tabs{background:#eceef3;border-radius:11px;grid-template-columns:1fr 1fr;margin-bottom:10px;padding:4px;display:grid}.mobile-tabs button{color:#7c808d;background:0 0;border:0;border-radius:8px;padding:8px;font-size:11px;font-weight:700}.mobile-tabs button.active{color:#323643;background:#fff;box-shadow:0 2px 8px #1f223414}.workspace-grid{height:calc(100vh - 182px);min-height:560px;display:block}.chat-panel,.data-panel{border-radius:17px;height:100%}.mobile-hidden{display:none!important}.data-panel{padding:20px 15px}.panel-title h2{font-size:21px}.rule-summary{grid-template-columns:repeat(3,1fr)}.rule-summary div{padding:12px 9px}.task-row{grid-template-columns:7px 1fr}.task-actions{grid-column:2;justify-content:flex-start;margin-top:4px}.form-grid{grid-template-columns:1fr}.decision-card footer{gap:10px}.project-stats{gap:8px 13px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.login-page{place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{border:1px solid var(--line);width:min(430px,100%);box-shadow:var(--shadow);background:#ffffffeb;border-radius:24px;padding:42px}.login-logo{margin-bottom:45px;font-size:21px;font-weight:800}.login-logo b{color:var(--brand)}.login-card h1{letter-spacing:-.04em;margin:12px 0 10px;font-size:30px}.login-card>p{color:var(--muted);font-size:13px;line-height:1.6}.login-card>small{text-align:center;color:#a0a3af;margin-top:18px;font-size:10px;display:block}.login-form{margin-top:26px}.login-form label{color:#5f6370;flex-direction:column;gap:7px;margin-bottom:14px;font-size:11px;font-weight:700;display:flex}.login-form input{border:1px solid #dfe1e9;border-radius:11px;outline:0;padding:13px}.login-form input:focus{border-color:#aeb6f3}.login-message{color:#5961a1;background:#f0f2ff;border-radius:9px;margin-top:12px;padding:10px;font-size:11px}
