:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#eceef0;background:#111316;font-synthesis:none;line-height:1.5;color-scheme:dark;font-size:14px;--muted:#8e949d;--line:#2b2e34;--accent:#f47b48;--panel:#191c20}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{cursor:not-allowed;opacity:.45}a{color:var(--accent)}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}input,textarea,select{width:100%;background:#111316;border:1px solid #353940;border-radius:9px;color:#eee;padding:12px 14px;resize:vertical}input::placeholder,textarea::placeholder{color:#737a84}label{display:flex;flex-direction:column;gap:9px;color:#c4c8cf;font-size:13px}svg{width:21px;height:21px;flex:none}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{line-height:1.25}p{color:var(--muted)}h3{font-size:17px;font-weight:600}h4{font-size:14px;font-weight:600}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:600;color:#8c929b}.small{font-size:12px}.muted{color:var(--muted)}.amber-text{color:#e5aa67!important}.primary{background:var(--accent);color:#23140c;border:1px solid var(--accent);font-weight:650;border-radius:8px;padding:12px 20px}.primary:hover:not(:disabled){background:#ff9161}.secondary{border:1px solid #3b3f46;border-radius:8px;padding:9px 16px;font-weight:500}.wide{width:100%}.status-dot{width:7px;height:7px;border-radius:50%;background:#91b99c;display:inline-block;flex:none}.status-dot.amber{background:#d6a05a}.badge{display:inline-flex;align-items:center;gap:8px;font-size:11px;color:#b4bcb9;border:1px solid #343a38;border-radius:99px;padding:6px 10px;white-space:nowrap}.badge.warning{color:#e6b578;border-color:#5b4932;background:#231e16}.badge.warning .status-dot{background:#e6b578}.notice{padding:15px 17px;border:1px solid #393d43;border-radius:9px;color:#aeb4bd;background:#1b1e23;font-size:13px;line-height:1.6}.notice.warning{margin:0 24px;border-color:#67482e;color:#e8b887}.error{padding:12px 15px;color:#f6b1a4;border:1px solid #68413b;border-radius:8px;background:#2b1e1c;font-size:13px;line-height:1.5}.brand{display:flex;align-items:center;gap:12px}.brand img{width:43px;height:43px}.brand strong{font-size:23px;letter-spacing:-.04em;font-weight:650}.brand span{display:block;font-size:8px;letter-spacing:.14em;color:#858c96;margin-top:1px}.auth-page{min-height:100dvh;display:grid;grid-template-columns:1.1fr 1fr;max-width:1400px;margin:auto;padding:70px 7vw;gap:9vw;align-items:center}.auth-story{height:min(650px,80vh);display:flex;flex-direction:column;justify-content:space-between}.auth-story h1{font-size:clamp(38px,4.5vw,64px);font-weight:500;letter-spacing:-.05em;line-height:1.12;margin:22px 0}.auth-story p{font-size:16px;line-height:1.7}.local-note{display:flex;gap:12px;align-items:center;color:#8f969e;font-size:12px}.local-note svg{color:var(--accent);width:23px;height:23px}.auth-card{background:#191c20;border:1px solid var(--line);padding:36px;border-radius:16px;max-width:460px;width:100%;box-shadow:0 25px 80px #0002}.auth-card h2{font-size:26px;letter-spacing:-.03em;margin:16px 0 12px;font-weight:550}.auth-card>p{font-size:13px;line-height:1.7}.auth-card form{display:flex;flex-direction:column;gap:20px;margin:28px 0 21px}.auth-card .fineprint{font-size:11px;color:#777f8b;line-height:1.6}.loading{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:24px;padding:24px;text-align:center}.shell{display:flex;min-height:100dvh}.sidebar{width:238px;flex:none;background:#16181c;border-right:1px solid var(--line);height:100dvh;position:sticky;top:0;display:flex;flex-direction:column;padding:27px 18px 14px}.sidebar .brand{padding:0 10px;margin-bottom:30px}.new-chat{border:1px solid #4b3b31;border-radius:8px;background:#271e19;color:#f2b79c;display:flex;align-items:center;justify-content:center;gap:11px;padding:11px;margin-bottom:23px;font-weight:500}.new-chat:hover{background:#34251d}.new-chat svg{width:18px}nav{display:flex;flex-direction:column;gap:4px}nav button{display:flex;align-items:center;gap:12px;text-align:left;padding:12px 13px;border-radius:7px;color:#8d949e;font-size:13px}nav button:hover{background:#202329}nav button.active{background:#282b31;color:#f2f3f4}nav button.active svg{color:var(--accent)}.nav-count{margin-left:auto;color:#b7bdc6;font-size:11px}.history-label{margin:32px 13px 13px;font-size:9px;letter-spacing:.13em;color:#727a85}.history{overflow:auto;flex:1;padding:0 5px;min-height:80px}.history>p{padding:6px 8px;line-height:1.7}.history button{width:100%;text-align:left;padding:10px;border-radius:6px;margin-bottom:4px}.history button:hover,.history button.selected{background:#202329}.history button span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#bac0ca}.history button small{font-size:10px;color:#646d79;display:block;margin-top:4px}.sidebar-bottom{border-top:1px solid var(--line);margin-top:15px;padding:16px 8px 0;display:flex;gap:8px;align-items:center;color:#9ba39f;font-size:11px}.sidebar-bottom button{margin-left:auto;display:grid;place-items:center;color:#8e949e}.sidebar-bottom svg{width:18px}.main{flex:1;min-width:0}.topbar{height:100px;border-bottom:1px solid var(--line);padding:23px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar h1{font-size:22px;font-weight:550;margin-top:5px;letter-spacing:-.03em}.topbar .eyebrow{font-size:8px}.topbar>.badge{font-size:10px}.global-error{margin:16px 28px;display:flex;justify-content:space-between;align-items:center;gap:15px}.global-error button{font-size:22px;padding:0 5px}.chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;min-height:calc(100dvh - 100px)}.conversation{height:calc(100dvh - 100px);display:flex;flex-direction:column;min-width:0;padding:0 32px}.model-bar{display:flex;align-items:center;gap:8px;padding:19px 0;border-bottom:1px solid #23262c;font-size:11px;color:#a9afb9}.model-bar strong{font-weight:500}.model-bar button{margin-left:auto;font-size:11px;color:#b2b7c1;white-space:nowrap}.messages{flex:1;overflow-y:auto;min-height:120px;padding:18px 0 8px}.welcome{min-height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:20px 0 35px}.welcome-mark{font-size:26px;font-weight:650;letter-spacing:-.08em;color:var(--accent);height:57px;width:57px;display:grid;place-items:center;border:1px solid #533b2e;border-radius:15px;background:#221c18;transform:rotate(-4deg);margin-bottom:25px}.welcome .eyebrow{font-size:8px}.welcome h2{font-size:34px;font-weight:500;letter-spacing:-.04em;margin:12px 0}.welcome p{font-size:13px;line-height:1.8}.welcome .welcome-note{font-size:11px;color:#bd987c;background:#211c17;border:1px solid #3e3023;border-radius:8px;margin:21px 0 4px;padding:12px 20px}.suggestions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;width:100%;margin-top:27px;max-width:590px}.suggestions button{font-size:11px;border:1px solid #30343b;border-radius:8px;padding:13px 12px;display:flex;gap:8px;align-items:center;justify-content:space-between;text-align:left;color:#bcc2cc}.suggestions button:hover{background:#1c2026}.suggestions span{color:#7f8793}.composer{border:1px solid #3b4048;background:#1b1e23;border-radius:13px;padding:14px 16px 10px}.composer textarea{border:0;background:transparent;resize:none;padding:0;outline:none!important;font-size:13px;min-height:50px;max-height:150px}.composer-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:7px}.composer-bottom>span{font-size:9px;color:#808995}.send{background:var(--accent);border-radius:7px;width:34px;height:34px;display:grid;place-items:center;color:#23160e}.send svg{width:19px}.composer-hint{font-size:9px;color:#626c78;text-align:center;margin:10px 0 15px}.message{padding:18px 0;max-width:100%;border-bottom:1px solid #23272d}.message-meta{display:flex;align-items:center;gap:12px;margin-bottom:8px;font-size:11px}.message-meta>span{color:var(--accent);font-weight:600}.message.user .message-meta>span{color:#e5e8ed}.message-meta time{font-size:9px;color:#6d7581}.message-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:13px;color:#d5d9e0}.message-error{background:#251e18;border:1px solid #513c29;border-radius:8px;padding:13px 15px;font-size:12px;color:#d4b393;line-height:1.6}.waiting{display:flex;gap:10px;align-items:center;font-size:12px;color:#9da5b1;padding:20px 0}.pulse{width:6px;height:6px;border-radius:50%;background:var(--accent);animation:pulse 1.5s infinite}@keyframes pulse{50%{opacity:.25}}.context-panel{padding:28px 22px;border-left:1px solid var(--line);background:#141619}.context-panel>.eyebrow{font-size:8px}.context-panel>h3{font-size:15px;margin:11px 0 24px;font-weight:550}.mini-stat{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid #2a2e34;font-size:11px}.mini-stat>span{color:#8e96a2}.mini-stat strong{font-weight:500;color:#c7d2cb;white-space:nowrap}.context-note{margin-top:30px}.context-note svg{color:#829c89;margin-bottom:12px}.context-note h4{font-size:12px;font-weight:500;margin-bottom:8px}.context-note p,.backup-note p{font-size:11px;line-height:1.75}.backup-note{margin-top:30px;padding:18px 15px;background:#1d1b18;border:1px solid #3c3329;border-radius:9px}.tiny-label{font-size:7px;letter-spacing:.13em;color:#b39270}.backup-note h4{font-size:12px;font-weight:500;line-height:1.6;margin:8px 0;color:#d8bca2}.backup-note button{font-size:10px;color:#d6a781;padding:0;margin-top:16px}.page-content{max-width:1200px;padding:32px;margin:auto}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.section-heading h2{font-size:27px;font-weight:500;letter-spacing:-.04em;margin-top:8px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:11px;padding:23px}.panel>p{font-size:12px;line-height:1.8;margin-top:12px}.task-form{display:grid;gap:18px;margin:24px 0}.task-form .primary{justify-self:start}.task-list{display:grid;gap:14px}.task-card-top{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.task-card h3{font-size:16px;overflow-wrap:anywhere}.task-card p{white-space:pre-wrap;overflow-wrap:anywhere}.task-footer{display:flex;align-items:center;justify-content:space-between;margin-top:22px;color:#858e9c;font-size:11px}.task-footer button{color:#c4a38d;font-size:11px}.empty{padding:40px 20px;text-align:center;font-size:13px;color:#818c9b}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.metrics .panel>span{font-size:11px;color:#939da9}.metrics strong{display:block;font-size:27px;font-weight:500;margin-top:16px;letter-spacing:-.03em}.metrics small{font-size:12px;letter-spacing:0;font-weight:400;color:#8b95a2}.metrics p{font-size:10px;color:#7d8897;margin-top:9px}.system-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:20px;margin-bottom:20px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-title .badge{font-size:9px}.system-grid label{margin:20px 0}.system-grid .notice{font-size:11px;padding:11px}.paths{margin-bottom:20px}.paths dl{margin:19px 0}.paths dl>div{display:grid;grid-template-columns:160px 1fr;border-bottom:1px solid #292e34;padding:11px 0;gap:15px;font-size:11px}.paths dt{color:#828e9d;font-size:10px;font-family:Consolas,monospace}.paths dd{margin:0;overflow-wrap:anywhere;color:#c3cbd5;font-family:Consolas,monospace}.audit{margin-top:16px}.audit>div{display:flex;gap:30px;align-items:center;justify-content:space-between;padding:11px 0;font-size:11px;border-bottom:1px solid #292e34}.audit time{color:#8a94a1}.audit code{color:#bcc5cf}summary{cursor:pointer;font-weight:500}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1600px){.conversation{padding-left:max(40px,calc((100vw - 1450px)/2));padding-right:max(40px,calc((100vw - 1450px)/2))}.context-panel{padding:32px}.chat-layout{grid-template-columns:minmax(0,1fr) 290px}}@media(max-width:1150px){.context-panel{display:none}.chat-layout{display:flex}.conversation{width:100%}.sidebar{width:216px}.auth-page{padding:45px 5vw;gap:6vw}}@media(max-width:760px){.auth-page{display:flex;flex-direction:column;padding:28px 20px;gap:30px;justify-content:center;min-height:100dvh}.auth-story{height:auto;width:100%;max-width:460px;gap:0}.auth-story>div:not(.brand){display:none}.auth-card{padding:26px}.auth-card h2{font-size:24px}.shell{display:block}.sidebar{width:100%;height:auto;position:sticky;z-index:10;top:0;padding:12px 16px 0;border-right:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:12px}.sidebar .brand{margin:0;padding:0}.sidebar .brand img{width:31px;height:31px}.sidebar .brand strong{font-size:19px}.sidebar .brand span{display:none}.new-chat{margin:0;padding:8px 11px;font-size:11px}.new-chat svg{width:14px;height:14px}nav{grid-column:1/-1;flex-direction:row;gap:6px}nav button{flex:1;justify-content:center;padding:10px 8px;font-size:11px;border-radius:6px 6px 0 0;gap:7px}nav button svg{width:17px;height:17px}.nav-count{margin:0}.history,.history-label,.sidebar-bottom{display:none}.topbar{height:77px;padding:16px 20px}.topbar h1{font-size:19px}.topbar>.badge{font-size:8px;padding:5px 8px}.topbar .eyebrow{font-size:7px}.conversation{height:calc(100dvh - 185px);min-height:430px;padding:0 19px}.model-bar{font-size:9px;padding:14px 0}.model-bar button{font-size:10px}.welcome{padding:20px 0}.welcome-mark{margin-bottom:16px;width:44px;height:44px;font-size:23px}.welcome h2{font-size:28px}.welcome p{font-size:12px}.welcome .welcome-note{font-size:10px;padding:10px 15px}.suggestions{grid-template-columns:1fr;gap:7px;margin-top:20px}.suggestions button{padding:9px 12px;font-size:10px}.composer{padding:12px 12px 8px}.composer-bottom>span{font-size:8px}.composer-hint{font-size:8px}.page-content{padding:23px 19px}.section-heading h2{font-size:24px}.section-heading .eyebrow{font-size:8px}.metrics{grid-template-columns:1fr;gap:10px}.metrics .panel{padding:16px}.metrics strong{font-size:24px;margin-top:6px}.metrics p{margin-top:5px}.system-grid{grid-template-columns:1fr;gap:14px}.panel{padding:18px}.paths dl>div{grid-template-columns:1fr;gap:5px}.task-card-top{flex-direction:column;gap:10px}.audit>div{gap:14px;font-size:10px}.global-error{margin:14px 19px}.model-bar strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}}.topbar-actions{display:flex;align-items:center;gap:14px}.mobile-logout,.mobile-history{display:none}@media(max-width:760px){.mobile-logout{display:grid;place-items:center;color:#929ba7}.mobile-logout svg{width:17px;height:17px}.mobile-history{display:block;font-size:11px;padding:7px 10px;margin:10px 0 0;background:#191c20}.topbar-actions .badge{font-size:8px}.sidebar-bottom{display:none}}.task-result{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px;line-height:1.65;max-height:480px;overflow-y:auto;background:#111316;color:#eceef0;border:1px solid var(--line);padding:16px;border-radius:10px}.task-actions,.date-range{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.date-range label{flex:1;min-width:160px}.task-footer{flex-wrap:wrap;gap:12px}.crm-panel{margin:20px 0}.crm-panel form{display:grid;gap:14px;max-width:480px}.crm-address{overflow-wrap:anywhere}.composer-bottom{flex-wrap:wrap;gap:8px}.chat-source{display:flex;align-items:start;flex-wrap:wrap;gap:14px;padding-bottom:12px}.chat-source>label{flex:1;min-width:190px}.chat-source details{flex:1;min-width:180px;padding-top:5px}.chat-source summary{cursor:pointer;color:#c4c8cf;padding:8px 0}.crm-evidence{margin-top:14px;border-top:1px solid var(--line);padding-top:12px;font-size:12px;color:#aeb7c1;overflow-wrap:anywhere}.crm-evidence summary{cursor:pointer;color:#b8d2bd}.crm-evidence p{margin-top:8px}.coding-page{max-width:1120px}.coding-page>.panel{margin-bottom:18px}.coding-page p{margin:12px 0}.coding-form,.coding-register form{display:grid;gap:14px;margin-top:16px}.coding-jobs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.coding-jobs .selected{border-color:var(--accent)}.coding-diff{white-space:pre;overflow:auto;max-height:520px;background:#101713;border:1px solid var(--line);padding:16px;font-size:12px;line-height:1.6;border-radius:8px}.check-label{display:flex;align-items:flex-start;gap:12px;margin:16px 0;line-height:1.6}.check-label input{width:18px;min-width:18px;height:18px;margin-top:4px}.coding-job li{overflow-wrap:anywhere}.coding-job .task-actions{margin:16px 0;flex-wrap:wrap}.coding-page summary{cursor:pointer}.coding-page ul{padding-left:22px}.coding-job{min-width:0}.stop-all{border:1px solid #855047;border-radius:8px;padding:9px 12px;background:#35221f;color:#ffc2ae;font-size:12px;white-space:nowrap}.attention-page{max-width:1100px}.operation-panel p,.attention-card p{margin:12px 0}.operation-panel>button{margin:8px 12px 0 0}.attention-list{display:grid;gap:14px;margin-top:20px}.service-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.service-list>div{padding:12px;border:1px solid var(--line);border-radius:9px;display:flex;flex-direction:column;gap:7px}.service-list small{color:var(--muted)}.focused-task{outline:2px solid var(--accent)}@media(max-width:760px){.sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar nav button{min-width:0;font-size:11px;white-space:normal}.topbar{height:auto;min-height:90px;flex-wrap:wrap;gap:10px}.topbar-actions{gap:8px;flex-wrap:wrap}.stop-all{font-size:11px;padding:8px}.service-list{grid-template-columns:1fr}.attention-page .section-heading{flex-wrap:wrap;gap:12px}.attention-card h3{overflow-wrap:anywhere}}.voice-input{margin:12px 0;display:flex;flex-direction:column;gap:8px}.voice-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.voice-recording{background:#922e27;color:#fff;border:1px solid #eb756b;padding:12px 16px;border-radius:8px}.phone-panel{margin-bottom:18px}.phone-panel ol{padding-left:22px;line-height:1.8}.phone-panel a{color:var(--accent,#f77a3e)}.phone-address{overflow-wrap:anywhere}.voice-input button{min-height:44px}.voice-input .small{line-height:1.5}
