@charset "UTF-8";
:root{color-scheme:light;--paper:#fff;--white:#fff;--ink:#102144;--muted:#5d6b82;--line:#dce6f5;--accent:#245bff;--soft:#f2f7ff;--tint:#dce8ff;--amber:#875510;--blue:#245bff;--danger:#a34832;--shadow:0 20px 80px #10214418}
*{box-sizing:border-box}body{margin:0;min-width:320px;background:var(--paper);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.65;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit;text-decoration:none}button{border:0}svg{display:block;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:38px;letter-spacing:-1.25px;line-height:1.2;font-weight:560}h2{font-size:20px;letter-spacing:-.55px;line-height:1.4;font-weight:580}h3{font-size:15px;font-weight:600;letter-spacing:-.15px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #245bff;outline-offset:3px}input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent);cursor:pointer;flex-shrink:0;margin:0}input,textarea,select{max-width:100%}textarea{resize:vertical}label{cursor:pointer}button:disabled:hover{transform:none}::selection{background:var(--tint)}[hidden]{display:none!important}.skip{position:fixed;left:12px;top:12px;z-index:200;transform:translateY(-180%);padding:10px 16px;background:var(--accent);color:white;border-radius:6px}.skip:focus{transform:none}.loading{padding:100px;text-align:center;color:var(--muted)}.row{display:flex;align-items:center}.between{justify-content:space-between}.gap6{gap:6px}.gap8{gap:8px}.gap12{gap:12px}.gap16{gap:16px}.grow{flex:1;min-width:0}.muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:11px}.eyebrow{font-size:11px;letter-spacing:1.4px;text-transform:uppercase;font-weight:600;color:#5d6b82}.pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;padding:4px 9px;border-radius:5px;background:var(--soft);color:#5d6b82;white-space:nowrap;line-height:1.5}.pill.amber{background:#fbf0e3;color:#94642f}.pill.blue{background:#f2f7ff;color:#5d6b82}.pill.red{background:#f8eae5;color:#a65f4f}.pill.gray{background:#f2f7ff;color:#5d6b82}.dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);background:#fff;border-radius:7px;min-height:42px;padding:10px 16px;font-size:13px;font-weight:550;line-height:1.4;transition:background .15s,border-color .15s;white-space:nowrap}.btn:hover{background:#f2f7ff;border-color:#dce6f5}.btn.primary{color:#fff;background:var(--accent);border-color:var(--accent)}.btn.primary:hover{background:#245bff}.btn.soft{background:var(--soft);border-color:#dce6f5;color:#5d6b82}.btn.small{font-size:12px;min-height:35px;padding:8px 12px}.btn.ghost{border-color:transparent;background:none;color:#5d6b82}.btn.ghost:hover{background:#f2f7ff}.btn.wide{width:100%}.btn.danger{color:#9f5544;background:#fcf1ed;border-color:#e9d9d0}.text-btn{display:inline-flex;align-items:center;gap:6px;border:0;padding:0;background:transparent;font-size:12px;color:#5d6b82;font-weight:550;line-height:1.6}.text-btn:hover{color:#5d6b82;text-decoration:underline;text-underline-offset:3px}.icon-btn{display:grid;place-items:center;background:transparent;border:1px solid var(--line);border-radius:7px;width:34px;height:34px;color:#5d6b82;flex-shrink:0}.icon-btn:hover{background:#f2f7ff}.topbar{border-bottom:1px solid var(--line);background:#f2f7ff}.topbar-inner{max-width:1200px;margin:0 auto;min-height:79px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 34px}.brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:650;letter-spacing:-.6px}.brand img{width:32px;height:32px}.brand span.ai{font-size:11px;letter-spacing:.2px;font-weight:550;color:#5d6b82;margin-left:3px}.header-left{display:flex;align-items:center;gap:24px}.back-to-studio{font-size:12px;color:#5d6b82;display:flex;align-items:center;gap:6px}.brand-divider{height:22px;width:1px;background:#f2f7ff}.header-right{display:flex;align-items:center;gap:16px}.header-right .text-btn{font-size:11px;font-weight:450;color:#5d6b82}.stepper{width:min(750px,100%);margin:0 auto 55px;display:flex;justify-content:space-between;gap:14px;position:relative}.stepper:before{content:"";position:absolute;height:1px;background:#f2f7ff;left:60px;right:60px;top:16px}.step{position:relative;display:flex;align-items:center;gap:10px;background:var(--paper);padding:0 10px;color:#5d6b82;font-size:13px;font-weight:450}.step:disabled{opacity:1;color:#5d6b82}.step-number{width:32px;height:32px;border:1px solid #dce6f5;border-radius:50%;display:grid;place-items:center;background:var(--paper);font-size:12px;flex-shrink:0}.step.active{color:#5d6b82;font-weight:600}.step.active .step-number{background:var(--accent);border-color:var(--accent);color:#5d6b82;box-shadow:0 0 0 5px var(--paper)}.step.done{color:#5d6b82}.step.done .step-number{background:#f2f7ff;color:#5d6b82;border-color:#dce6f5}.main{max-width:1000px;margin:0 auto;padding:46px 34px 28px}.intro{margin-bottom:32px}.intro h1{max-width:720px}.intro p{color:#5d6b82;margin-top:14px;font-size:14px;line-height:1.8;max-width:640px}.intro .eyebrow{margin-bottom:12px}.setup-meta{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.business-label{display:flex;align-items:center;gap:10px;font-size:12px;color:#5d6b82}.business-label input{border:0;border-bottom:1px solid transparent;background:none;font-weight:600;color:#5d6b82;padding:5px 2px;max-width:240px;min-width:150px;font-size:14px}.business-label input:hover,.business-label input:focus{border-bottom-color:#dce6f5;outline-offset:5px}.sample-btn{color:#5d6b82}.source-list{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.source-group{border-bottom:1px solid var(--line)}.source-group:last-child{border:0}.source-row{display:flex;align-items:center;gap:18px;padding:23px 25px}.source-icon{width:43px;height:43px;background:#f2f7ff;display:grid;place-items:center;border:1px solid #dce6f5;border-radius:10px;color:#5d6b82;flex-shrink:0}.source-icon.blue{background:#f2f7ff;border-color:#dce6f5;color:#5d6b82}.source-icon.orange{background:#fbf4e9;border-color:#f2e8d8;color:#b89b6b}.source-icon.purple{background:#f3f1f8;border-color:#eae6f2;color:#9988b2}.source-description{font-size:12px;color:#5d6b82;margin-top:3px}.source-status{font-size:11px;color:#5d6b82;display:flex;align-items:center;gap:6px;margin-top:5px}.source-files{margin:0 25px 20px 86px;border-top:1px solid #dce6f5}.source-file{display:flex;align-items:center;gap:12px;padding-top:12px;color:#5d6b82;font-size:12px}.source-file .text-btn{font-weight:450;font-size:12px;max-width:600px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-file .remove{border:0;background:transparent;color:#5d6b82;padding:5px;display:grid;place-items:center}.source-file .remove:hover{color:#5d6b82}.source-file .source-quantity{color:#5d6b82;font-size:11px;white-space:nowrap}.source-footer{display:flex;align-items:center;gap:7px;font-size:11px;color:#5d6b82;margin:15px 0 0}.step-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:24px;margin-top:30px}.step-actions .btn.primary{min-width:205px}.action-summary{font-size:12px;color:#5d6b82}.action-summary strong{font-weight:600;color:#5d6b82}.site-foot{margin-top:48px;border-top:1px solid #dce6f5;padding:18px 0 0;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#5d6b82;gap:15px}.site-foot a{color:#5d6b82}.scope-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:25px;margin-bottom:23px}.scope-intro .intro{margin-bottom:0}.scope-intro h1{max-width:660px}.scope-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.scope-tools .muted{font-size:12px}.scope-list{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.category+.category{border-top:1px solid var(--line)}.category-header{display:flex;align-items:center;gap:12px;padding:19px 24px;background:#f2f7ff}.category-header h2{font-size:15px;font-weight:600;letter-spacing:-.2px}.category-header .category-count{color:#5d6b82;font-size:11px;margin-left:auto}.category-body{padding:0 24px 4px}.knowledge-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-top:1px solid #dce6f5}.knowledge-label{flex:1;display:flex;align-items:center;gap:13px;min-width:0}.knowledge-title{font-size:13px;color:#5d6b82;display:block;line-height:1.6}.knowledge-sub{font-size:11px;color:#5d6b82;margin-top:2px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.knowledge-row .knowledge-preview{font-size:11px;color:#5d6b82;font-weight:450;white-space:nowrap}.scope-boundary{display:flex;gap:12px;align-items:flex-start;background:#f2f7ff;border:1px solid #dce6f5;border-radius:8px;padding:16px 18px;margin-top:18px;color:#5d6b82;font-size:12px}.scope-boundary strong{font-weight:550;color:#5d6b82}.scope-empty{text-align:center;padding:40px}.product-choices{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:26px}.product-choice{display:flex;align-items:flex-start;gap:15px;background:white;border:1px solid var(--line);border-radius:10px;padding:24px;text-align:left;position:relative}.product-choice .choice-icon{width:40px;height:40px;border-radius:9px;display:grid;place-items:center;color:#5d6b82;background:#f2f7ff;flex-shrink:0}.product-choice h2{font-size:17px;letter-spacing:-.3px}.product-choice p{font-size:12px;color:#5d6b82;margin-top:5px;max-width:240px}.product-choice.active{border-color:#dce6f5;box-shadow:0 0 0 1px #10214412;background:#f2f7ff}.product-choice.active .choice-icon{background:#f2f7ff;color:#5d6b82}.choice-dot{position:absolute;right:14px;top:15px;width:15px;height:15px;border:1px solid #dce6f5;border-radius:50%}.product-choice.active .choice-dot{border:4px solid #dce6f5;background:white}.product-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);gap:22px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:11px;padding:24px}.panel h2{font-size:17px}.panel .panel-description{font-size:12px;color:#5d6b82;line-height:1.8;margin-top:8px}.panel+.panel{margin-top:18px}.panel-title{display:flex;align-items:center;gap:8px;margin-bottom:15px;color:#5d6b82}.panel-title h2{font-size:15px;margin:0}.chat-window{border:1px solid #dce6f5;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 8px 30px #10214406}.chat-head{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:18px 22px;background:#f2f7ff}.chat-mark{width:35px;height:35px;display:grid;place-items:center;background:var(--accent);border-radius:9px;color:#5d6b82}.chat-name{font-size:13px;font-weight:600}.chat-sub{font-size:11px;color:#5d6b82}.chat-head .pill{margin-left:auto;font-size:10px}.identity-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 18px;border-bottom:1px solid #dce6f5;background:#f2f7ff;font-size:10px;color:#5d6b82}.identity-bar select{border:1px solid #dce6f5;border-radius:5px;background:#fff;font-size:10px;padding:5px 7px;max-width:220px}.chat-messages{min-height:330px;max-height:480px;overflow-y:auto;padding:25px 22px;display:flex;flex-direction:column;gap:20px}.chat-message{font-size:13px;max-width:93%;line-height:1.85}.chat-message.bot{align-self:flex-start}.chat-message.user{align-self:flex-end;background:#f2f7ff;padding:12px 16px;border-radius:12px 12px 3px 12px;color:#5d6b82}.message-label{font-size:10px;color:#5d6b82;margin-bottom:5px;display:flex;align-items:center;gap:5px}.chat-copy{white-space:pre-wrap}.chat-result-tag{font-size:10px;color:#5d6b82;margin-top:7px}.chat-result-tag.review{color:#a07c43}.chat-result-tag.escalate{color:#a96952}.evidence-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}.evidence-links button{font-size:10px;color:#5d6b82;background:#f2f7ff;border:1px solid #dce6f5;border-radius:5px;padding:4px 7px;display:flex;align-items:center;gap:4px}.evidence-links button:hover{background:#f2f7ff}.question-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.question-chip{padding:7px 10px;border:1px solid #dce6f5;border-radius:6px;background:#fff;color:#5d6b82;font-size:11px}.question-chip:hover{background:#f2f7ff;border-color:#dce6f5}.chat-compose{display:flex;align-items:center;gap:12px;padding:14px 16px;border-top:1px solid var(--line);background:#fff}.chat-compose input{min-width:0;flex:1;border:0;outline:0;padding:8px 3px;font-size:12px;background:#fff}.chat-compose button{width:34px;height:34px;display:grid;place-items:center;border-radius:7px;background:#245bff;color:#fff;border:0}.chat-compose button:hover{background:#245bff}.chat-caption{font-size:10px;color:#5d6b82;text-align:center;padding:0 12px 11px;background:#fff}.scope-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;margin-top:15px;border-top:1px solid var(--line);font-size:12px;color:#5d6b82}.scope-summary strong{font-size:18px;font-weight:600;color:#5d6b82;margin-right:5px}.install-step{display:flex;align-items:flex-start;gap:10px;margin-top:18px;font-size:12px;color:#5d6b82}.install-step>span{display:grid;place-items:center;width:20px;height:20px;flex-shrink:0;background:#f2f7ff;border-radius:50%;font-size:10px;color:#5d6b82}.code-block{background:#f2f7ff;border:1px solid #dce6f5;border-radius:7px;padding:12px 14px;font:10px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#5d6b82;margin:16px 0}.code-details{margin-top:12px;font-size:11px;color:#5d6b82}.code-details summary{cursor:pointer}.code-details textarea{display:block;width:100%;height:100px;margin-top:10px;border:1px solid var(--line);border-radius:6px;background:#f2f7ff;padding:12px;font:10px/1.7 monospace;word-break:break-all;color:#5d6b82}.install-note{font-size:11px;color:#5d6b82;margin-top:16px;line-height:1.9}.email-panel{padding:24px}.form-label{display:block;font-size:12px;font-weight:550;color:#5d6b82;margin-bottom:7px}.input{border:1px solid #dce6f5;border-radius:7px;background:#fff;padding:11px 12px;font-size:13px;width:100%;color:#5d6b82;outline-offset:2px}.input::placeholder{color:#5d6b82}.select{padding:10px 12px;border:1px solid #dce6f5;border-radius:7px;background:#fff;font-size:12px;color:#5d6b82;width:100%}.field{margin-top:18px}.field.first{margin-top:0}.field-note{font-size:11px;line-height:1.8;color:#5d6b82;margin-top:6px}.email-panel textarea{min-height:122px;line-height:1.8;font-size:12px;resize:vertical}.email-from{display:flex;align-items:center;gap:10px;margin:20px 0 15px;font-size:12px}.email-from .avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#f2f7ff;color:#5d6b82;font-size:11px}.email-from input{flex:1;min-width:0;border:0;border-bottom:1px solid #dce6f5;padding:5px;font-size:12px;outline-offset:3px;background:transparent}.email-run{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:16px}.result-panel{margin-top:22px;border-top:1px solid var(--line);padding-top:22px}.result-heading{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600;color:#5d6b82}.result-heading.review{color:#9d7a3d}.result-heading.escalate{color:#a15b46}.result-reason{font-size:11px;color:#5d6b82;line-height:1.8;margin-top:8px}.email-reply{font-size:12px;color:#5d6b82;line-height:1.95;white-space:pre-wrap;background:#f2f7ff;border:1px solid #dce6f5;border-radius:8px;padding:18px;margin-top:15px}.review-draft{font-size:12px!important;line-height:1.9!important;min-height:200px!important;background:#f8faff;margin-top:12px}.review-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.review-queue{margin-top:18px;border-top:1px solid var(--line);padding-top:16px}.review-queue summary{font-size:12px;color:#5d6b82;cursor:pointer;display:flex;align-items:center;gap:7px}.queue-item{width:100%;border:1px solid #dce6f5;border-radius:7px;background:#f2f7ff;text-align:left;margin-top:10px;padding:12px;display:flex;gap:10px;align-items:center}.queue-item strong{font-size:12px;font-weight:550;color:#5d6b82}.queue-item p{font-size:10px;color:#5d6b82;margin-top:3px}.alert-check{display:flex;align-items:flex-start;gap:10px;margin-top:17px;font-size:12px;color:#5d6b82}.alert-check input{width:16px;height:16px;margin-top:2px}.alert-check span{display:block;font-size:11px;color:#5d6b82;margin-top:3px}.whatsapp-preview{margin-top:20px;background:#f2f7ff;border:1px solid #dce6f5;padding:16px;border-radius:9px}.whatsapp-preview .wa-heading{display:flex;align-items:center;gap:6px;color:#5d6b82;font-size:10px;margin-bottom:12px}.whatsapp-bubble{background:#fff;padding:14px;border-radius:1px 8px 8px 8px;box-shadow:0 2px 5px #10214406;font-size:12px;color:#5d6b82;line-height:1.8}.whatsapp-bubble strong{font-weight:600;display:block;margin-bottom:4px}.alert-status{font-size:11px;color:#5d6b82;margin-top:15px;line-height:1.8}.source-mini{padding:12px 0;border-top:1px solid var(--line);margin-top:18px;font-size:11px;color:#5d6b82;line-height:1.9}.prototype-note{margin-top:25px;padding-top:20px;border-top:1px solid #dce6f5;font-size:11px;color:#5d6b82;line-height:1.9}.empty-chat{color:#5d6b82}.empty-chat h3{font-size:14px;margin-bottom:8px;color:#5d6b82}.modal-backdrop{position:fixed;inset:0;background:#245bff;backdrop-filter:blur(4px);z-index:80;display:flex;justify-content:center;align-items:center;padding:26px}.modal{max-width:600px;width:100%;max-height:calc(100dvh - 52px);overflow-y:auto;border-radius:14px;box-shadow:var(--shadow);background:#fff;padding:28px}.modal.wide{max-width:710px}.modal-top{display:flex;align-items:flex-start;gap:20px;justify-content:space-between}.modal h2{font-size:23px;margin-bottom:10px;letter-spacing:-.6px}.modal-description{font-size:13px;color:#5d6b82;line-height:1.8;max-width:510px}.modal .modal-icon{width:42px;height:42px;display:grid;place-items:center;color:#5d6b82;border:1px solid #dce6f5;background:#f2f7ff;border-radius:10px;margin-bottom:16px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.modal .field{margin-top:20px}.source-text{border:1px solid #dce6f5;border-radius:8px;background:#f2f7ff;padding:18px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.9;max-height:360px;overflow:auto;color:#5d6b82;margin-top:20px}.source-origin{font-size:11px;color:#5d6b82;word-break:break-all;margin-top:10px}.upload-zone{position:relative;border:1px dashed #dce6f5;background:#f2f7ff;border-radius:8px;padding:32px 20px;margin-top:23px;text-align:center;color:#5d6b82}.upload-zone input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.upload-zone:focus-within{outline:3px solid #245bff;outline-offset:3px}.upload-zone p{font-size:13px;margin-top:10px}.upload-zone small{font-size:11px;color:#5d6b82;display:block;margin-top:5px}.upload-zone.dragging{background:#f2f7ff;border-color:#dce6f5}.divider-label{display:flex;align-items:center;gap:12px;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#5d6b82;margin:22px 0}.divider-label:before,.divider-label:after{content:"";height:1px;background:#f2f7ff;flex:1}.import-option{padding:16px;border:1px solid #dce6f5;background:#f2f7ff;border-radius:8px;display:flex;align-items:center;gap:13px;margin-top:12px;width:100%;text-align:left;color:#5d6b82}.import-option h3{font-size:13px;margin-bottom:4px;color:#5d6b82}.import-option p{font-size:11px;color:#5d6b82;line-height:1.8}.import-option:hover{background:#f2f7ff}.connect-guide{border-top:1px solid var(--line);padding-top:18px;margin-top:22px;font-size:12px;color:#5d6b82}.connect-guide summary{cursor:pointer;font-weight:550}.connect-guide ol{padding-left:20px;font-size:12px;line-height:1.9;color:#5d6b82}.connect-guide li{padding-bottom:10px}.connect-guide a{color:#5d6b82;text-decoration:underline;text-underline-offset:3px}.notice{background:#f2f7ff;border:1px solid #dce6f5;border-radius:7px;padding:13px 15px;font-size:11px;line-height:1.85;color:#5d6b82;margin-top:18px}.error{background:#fff4ef;border:1px solid #ecd4c6;border-radius:7px;padding:12px 14px;color:#a16342;font-size:12px;margin-top:16px;line-height:1.8}.paste-text{margin-top:20px;font-size:12px;color:#5d6b82}.paste-text summary{cursor:pointer}.paste-text textarea{height:160px;margin-top:13px;font-size:12px;line-height:1.8}.paste-text .btn{margin-top:12px}.source-tags{display:flex;align-items:center;gap:10px;margin-top:15px;flex-wrap:wrap}.article-edit{min-height:145px;line-height:1.9;font-size:12px}.article-checkbox{display:flex;align-items:flex-start;gap:10px;font-size:12px;color:#5d6b82;margin-top:18px;line-height:1.8}.article-checkbox input{margin-top:3px}.article-source{border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.article-source p{font-size:11px;color:#5d6b82;margin-top:6px}.review-modal-question{font-size:12px;color:#5d6b82;padding:14px;background:#f2f7ff;border-radius:7px;margin:18px 0}.toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);z-index:150;box-shadow:0 10px 35px #10214422;border-radius:8px;display:flex;align-items:center;gap:9px;background:#245bff;color:#5d6b82;padding:13px 20px;font-size:12px;max-width:calc(100% - 32px);width:max-content}.toast svg{flex-shrink:0}.no-scroll{overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.spinner{width:15px;height:15px;border:1.5px solid #dce6f5;border-top-color:#dce6f5;border-radius:50%;animation:spin 1s linear infinite}.status-line{display:flex;align-items:center;gap:7px;font-size:12px;color:#5d6b82;margin-top:15px}.scope-note{font-size:11px;color:#5d6b82;line-height:1.8;max-width:630px}.demo-flag{font-size:10px;color:#5d6b82}.brand-name-input{max-width:240px}.link-with-icon{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#5d6b82}.reset-hint{font-size:11px;color:#5d6b82;line-height:1.8;margin-top:14px}.file-loading{display:flex;align-items:center;gap:10px;padding:20px;color:#5d6b82}.modal .select{font-size:12px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.full-span{grid-column:1/-1}.email-run .demo-flag{max-width:150px;line-height:1.7}.result-panel .evidence-links{margin-top:14px}.approved-note{font-size:11px;color:#5d6b82;margin-top:10px}.simulation-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#5d6b82;margin-bottom:12px}.workflow-link{font-size:11px;color:#5d6b82}.source-group .btn{min-width:70px}.category-toggle{border:0;background:transparent;display:flex;align-items:center;gap:7px;color:#5d6b82;padding:5px}.step-label{white-space:nowrap}.source-files .icon-btn{border:0}.hint-body{font-size:12px;color:#5d6b82;line-height:1.9}.button-stack{display:flex;flex-direction:column;gap:10px;margin-top:19px}.modal .source-text a{color:inherit}.sample-mark{background:#f2f7ff;border:1px solid #dce6f5;border-radius:5px;color:#5d6b82;padding:3px 7px;font-size:10px;white-space:nowrap}.step-actions .btn.ghost{padding-left:0}.website-preview-link{display:block;margin-top:13px;font-size:12px;text-align:center;color:#5d6b82}.website-preview-link:hover{text-decoration:underline}.answer-waiting{padding:25px 0 0;margin-top:21px;border-top:1px solid var(--line);font-size:12px;color:#5d6b82;line-height:1.9}.example-info{padding:12px 15px;border:1px solid #dce6f5;border-radius:6px;margin-top:15px;background:#f2f7ff;font-size:11px;color:#5d6b82}.file-table{width:100%;border-collapse:collapse;font-size:11px;text-align:left;margin-top:14px}.file-table th,.file-table td{padding:8px;border-bottom:1px solid var(--line);max-width:200px;overflow-wrap:anywhere}.file-table th{font-weight:550;color:#5d6b82}.file-table td{color:#5d6b82}.scope-version{font-size:10px;color:#5d6b82}.input-group{display:flex;gap:10px;align-items:center}.input-group .input{flex:1;min-width:0}.modal-form h3{margin-top:22px;font-size:13px}.source-view-buttons{display:flex;gap:12px;align-items:center;margin-top:17px}.approved-bubble{border:1px solid #dce6f5;border-radius:5px;padding:4px 7px;font-size:10px;color:#5d6b82;background:#f2f7ff}.description-text{font-size:12px;line-height:1.8;color:#5d6b82}.source-row .icon-btn{width:30px;height:30px}.inline-spinner{display:inline-block}.category-header label{display:flex;align-items:center;gap:12px}.category-check{width:17px!important;height:17px!important}.source-public-warning{font-size:11px;color:#916f38;background:#fbf5e9;border-radius:5px;padding:10px 12px;margin-top:12px}.debug-boundary{display:flex;align-items:flex-start;gap:8px;margin-top:18px;font-size:11px;color:#5d6b82}.role-picker label{font-size:11px}.email-panel select{margin-top:0}.minilink{font-size:11px;color:#5d6b82;text-decoration:underline;text-underline-offset:3px}.settings-divider{border:0;border-top:1px solid var(--line);margin:18px 0}.modal .eyebrow{margin-bottom:8px}.no-wrap{white-space:nowrap}.empty-source-summary{font-size:11px;color:#5d6b82}.scope-edit-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:22px}.scope-edit-actions .btn{flex-shrink:0}.scope-source-excerpt{font-size:11px;color:#5d6b82;line-height:1.8;white-space:pre-wrap;margin-top:12px;max-height:160px;overflow:auto}.default-result-note{font-size:12px;color:#5d6b82;line-height:1.85}.small-loader{padding:40px;display:flex;gap:12px;align-items:center;justify-content:center;color:#5d6b82}.code-note{font-size:10px;color:#5d6b82;line-height:1.8;margin-top:12px}.time-fixed{font-size:10px;color:#5d6b82;margin-top:6px}.product-mode-label{font-size:11px;letter-spacing:.8px;text-transform:uppercase;color:#5d6b82;margin-bottom:8px}.file-help-links{display:flex;gap:15px;flex-wrap:wrap;margin-top:15px}.review-context{margin-top:10px;font-size:11px;color:#5d6b82;line-height:1.8}.alert-history{margin-top:14px}.alert-history summary{font-size:11px;cursor:pointer;color:#5d6b82}.alert-history p{padding-top:10px;font-size:11px;color:#5d6b82;line-height:1.8}.chat-reset{color:#5d6b82;background:none;font-size:10px;padding:4px}.sample-progress{font-size:11px;color:#5d6b82}.active-scope-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 20px}.active-scope-header .text-btn{font-size:11px}.source-row-actions{display:flex;align-items:center;gap:8px}.button-row{display:flex;gap:10px;flex-wrap:wrap}
@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1500px){.main{padding-top:54px}.stepper{margin-bottom:62px}.intro{margin-bottom:37px}.source-row{padding:26px 28px}.source-files{margin-left:89px}.source-description{font-size:13px}.source-row h3{font-size:16px}.step-actions{margin-top:34px}}
@media(max-width:850px){.back-to-studio{font-size:11px}.header-left{gap:15px}.topbar-inner{padding:0 25px}.product-layout{grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr);gap:16px}.main{padding-left:25px;padding-right:25px}.panel{padding:20px}.chat-head{padding:17px}.chat-messages{padding:20px 17px}.product-choice{padding:21px 18px;gap:12px}.product-choice p{font-size:11px}.source-description{font-size:12px}.source-files{margin-left:86px}.step{font-size:12px;padding:0 6px}}
@media(max-width:680px){.topbar-inner{min-height:70px;padding:0 20px}.header-left{gap:0}.back-to-studio,.brand-divider{display:none}.brand{font-size:17px}.brand img{width:30px;height:30px}.header-right{gap:13px}.header-right .text-btn{font-size:10px}.header-right .pill{font-size:10px;padding:3px 6px}.main{padding:29px 20px 25px}.stepper{margin-bottom:34px;gap:7px;width:100%}.stepper:before{left:24px;right:24px;top:14px}.step{flex-direction:column;gap:8px;font-size:10px;background:transparent;padding:0;min-width:85px;align-items:center}.step-label{background:var(--paper);padding:0 5px;white-space:normal;text-align:center;line-height:1.6;max-width:110px}.step-number{width:29px;height:29px;font-size:11px;box-shadow:0 0 0 6px var(--paper)}.step.active .step-number{box-shadow:0 0 0 6px var(--paper)}h1{font-size:30px;letter-spacing:-.9px;line-height:1.2}.intro p{font-size:13px;line-height:1.8;margin-top:12px}.intro .eyebrow{font-size:10px;letter-spacing:1.2px}.intro{margin-bottom:25px}.setup-meta{align-items:flex-start;gap:13px;flex-direction:column;margin-bottom:17px}.business-label{font-size:11px}.business-label input{font-size:13px;width:190px}.sample-btn{font-size:11px;min-height:36px;padding:8px 12px;align-self:flex-start}.source-row{padding:20px 17px;gap:12px}.source-icon{width:37px;height:37px;border-radius:8px}.source-row h3{font-size:14px}.source-description{font-size:11px;line-height:1.75;max-width:195px}.source-row .btn{min-width:52px;padding:7px 10px;min-height:34px;font-size:11px}.source-row .btn svg{width:12px}.source-row .btn .add-label{display:none}.source-files{margin:0 17px 18px 66px}.source-file{gap:8px}.source-file .source-quantity{display:none}.source-file .text-btn{max-width:210px;font-size:11px;white-space:normal;text-align:left}.source-status{font-size:10px}.source-footer{font-size:10px;align-items:flex-start;line-height:1.8}.source-footer svg{margin-top:4px}.step-actions{gap:15px;padding-top:22px;margin-top:25px}.step-actions .btn.primary{min-width:0;font-size:12px;padding:11px 15px}.action-summary{font-size:11px;max-width:165px}.site-foot{margin-top:34px;font-size:10px;align-items:flex-start;line-height:1.9}.site-foot>span{max-width:220px}.scope-tools{align-items:flex-start}.scope-tools .muted{font-size:11px}.scope-tools .text-btn{font-size:11px}.category-header{padding:17px 17px}.category-header h2{font-size:14px}.category-header .category-count{font-size:10px}.category-body{padding-left:17px;padding-right:17px}.knowledge-row{gap:8px;padding:15px 0}.knowledge-title{font-size:12px}.knowledge-sub{font-size:10px;gap:5px}.knowledge-row .knowledge-preview{font-size:10px}.knowledge-label{gap:11px}.scope-boundary{font-size:11px;gap:10px;padding:14px}.scope-boundary svg{margin-top:2px}.scope-note{font-size:10px}.product-choices{gap:12px;margin-bottom:22px}.product-choice{display:block;padding:19px 15px 17px}.product-choice .choice-icon{width:32px;height:32px;border-radius:8px;margin-bottom:13px}.product-choice .choice-icon svg{width:18px}.product-choice h2{font-size:15px;line-height:1.5;letter-spacing:-.2px}.product-choice p{font-size:11px;line-height:1.8;max-width:none;margin-top:5px}.choice-dot{right:13px;top:13px;width:13px;height:13px}.product-layout{grid-template-columns:minmax(0,1fr);gap:20px}.panel{padding:22px 20px}.chat-messages{min-height:315px;max-height:430px;padding:23px 20px}.chat-head{padding:17px 20px}.chat-message{font-size:13px}.identity-bar{padding:10px 16px;font-size:9px}.identity-bar select{font-size:9px;max-width:195px;padding:6px}.chat-compose{padding:12px 15px}.chat-compose input{font-size:12px}.chat-caption{font-size:9px}.question-chip{font-size:10px}.install-note{font-size:11px}.email-panel{padding:21px 18px}.form-label{font-size:12px}.email-from input{font-size:11px}.email-run .demo-flag{font-size:9px;max-width:130px}.email-run .btn{font-size:11px;padding:9px 12px}.result-heading{font-size:12px}.email-reply{font-size:12px;padding:15px}.modal-backdrop{padding:15px}.modal{padding:23px;max-height:calc(100dvh - 30px);border-radius:11px}.modal h2{font-size:22px}.modal-description{font-size:12px}.input-group{flex-direction:column;align-items:stretch}.input-group .btn{align-self:flex-end}.field-row{grid-template-columns:1fr}.modal .input{font-size:12px}.modal-actions{flex-wrap:wrap;gap:8px}.modal-actions .btn{font-size:12px}.modal-top{gap:12px}.source-text{font-size:11px;padding:15px}.upload-zone{padding:25px 18px}.upload-zone p{font-size:12px}.upload-zone small{font-size:10px}.file-table{font-size:10px}.file-table th,.file-table td{padding:7px 5px}.scope-edit-actions{align-items:flex-end;flex-direction:column}.scope-edit-actions .article-checkbox{align-self:flex-start}.toast{font-size:11px;bottom:18px;padding:12px 15px}.product-mode-label{font-size:10px}.source-group .btn svg{height:12px}.active-scope-header{font-size:10px}.active-scope-header .text-btn{font-size:10px}.scope-intro{gap:15px}.scope-version{font-size:9px}.brand span.ai{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.product-layout>*{min-width:0}.chat-copy,.email-reply,.whatsapp-bubble{overflow-wrap:anywhere}
.live-workspace-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 18px;background:#f2f7ff;border:1px solid #dce6f5;border-radius:8px;margin:-20px 0 28px;font-size:12px;color:#5d6b82}.live-workspace-bar strong{display:block;font-weight:600}.live-workspace-bar span{display:block;color:#5d6b82;font-size:11px;margin-top:3px}.live-workspace-bar a{white-space:nowrap;text-decoration:underline;text-underline-offset:3px}@media(max-width:680px){.topbar-inner{gap:10px}.header-right{gap:8px}.header-right .btn{font-size:10px;padding:6px 8px;min-height:32px}.header-right .pill{display:none}.live-workspace-bar{margin:0 0 25px;gap:12px;align-items:flex-start;flex-wrap:wrap}.live-workspace-bar .btn{margin-left:auto}}

.import-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-top:1px solid var(--line,#dce6f5);font-size:13px}.import-pages{max-height:42vh;overflow:auto;margin:12px 0}.import-page{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--line,#dce6f5)}.import-page strong{font-size:14px;font-weight:500}.import-page p{font-size:12px;line-height:1.5;margin:5px 0;color:var(--muted,#5d6b82)}.import-url{overflow-wrap:anywhere}.import-status{color:#5d6b82;padding-top:3px}.import-status.partial{color:#a36828}@media(max-width:560px){.import-summary{align-items:flex-start;flex-direction:column}}

.connection-steps{padding-left:21px;line-height:1.7}.connection-steps li{margin-bottom:15px}.connection-status{padding:16px 0;border-bottom:1px solid var(--line,#dce6f5);margin-bottom:20px}.connection-status p{margin:10px 0 0}.modal .modal-actions{flex-wrap:wrap}.connect-guide code{overflow-wrap:anywhere}

/* Blue-and-white workspace: clear hierarchy, readable supporting text, visible focus. */
h1,h2,h3,.brand,.business-label input,.knowledge-title,.queue-item strong,.empty-chat h3,.import-option h3{color:var(--ink)}
h1{font-weight:650}h2{font-weight:620}.intro p{color:var(--muted)}
.topbar{background:#fff}.topbar-inner{min-height:80px}.brand span.ai{color:var(--accent)}
.btn,.input,.select,.icon-btn{border-radius:12px}.btn{font-weight:600}.btn:hover{background:var(--soft);border-color:#a9c2ff}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 3px 9px #245bff18}.btn.primary:hover{background:#1947d1;border-color:#1947d1}.btn.soft{background:var(--soft);color:#1947d1}.btn.ghost:hover{background:var(--soft)}
.text-btn,.sample-btn,.website-preview-link,.workflow-link,.connect-guide a,.link-with-icon,.site-foot a,.minilink{color:#1947d1}.text-btn:hover{color:var(--accent)}
.pill{background:var(--soft);color:#1947d1;border-radius:7px}.pill.blue{background:#eaf1ff;color:#1947d1}.pill.gray{background:#f1f4f9;color:var(--muted)}
.stepper{width:100%;max-width:820px;padding:18px 20px;border:1px solid var(--line);border-radius:16px;background:var(--soft);margin-bottom:42px}.stepper:before{top:34px;left:65px;right:65px;background:#c7d8f5}.step{background:var(--soft);color:var(--muted)}.step:disabled{color:#7a879c}.step-number{background:#fff;border-color:#b5c7e3;color:var(--muted)}.step.active{color:#1947d1}.step.active .step-number{color:#fff;box-shadow:0 0 0 5px var(--soft)}.step.done{color:#1947d1}.step.done .step-number{background:#dce8ff;border-color:#dce8ff;color:#1947d1}
.source-list,.scope-list,.panel,.product-choice{border-radius:14px}.source-list,.scope-list{box-shadow:0 8px 28px #10214405}.source-row{transition:background .15s}.source-row:hover{background:#f8faff}.source-icon,.source-icon.blue{background:#eaf1ff;border-color:#dce6f5;color:var(--accent)}.source-status,.status-line,.approved-note,.import-status{color:#245bff}.category-header{background:#f8faff}.category-header h2{color:var(--ink)}.scope-boundary{background:var(--soft);border-radius:12px;color:var(--muted)}.scope-boundary strong{color:var(--ink)}.action-summary strong{color:var(--ink)}
.product-choice .choice-icon{color:var(--accent);background:var(--soft)}.product-choice.active{background:var(--soft);border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.product-choice.active .choice-icon{background:#dce8ff;color:#1947d1}.product-choice.active .choice-dot{border-color:var(--accent)}.product-choice:hover{border-color:#a9c2ff}.panel-title{color:var(--accent)}.panel-title h2{color:var(--ink)}
.chat-window{border-radius:16px;box-shadow:0 10px 32px #10214408}.chat-head{background:#f8faff}.chat-mark{color:#fff;background:var(--accent);border-radius:11px}.chat-name{color:var(--ink)}.chat-message.user{background:var(--accent);color:#fff}.chat-compose button{background:var(--accent);border-radius:10px}.chat-compose button:hover{background:#1947d1}.chat-compose:focus-within{box-shadow:inset 0 -2px 0 var(--accent)}.chat-compose input:focus-visible{outline:0}.evidence-links button,.question-chip{color:#1947d1}.question-chip:hover,.evidence-links button:hover{background:#eaf1ff;border-color:#a9c2ff}.scope-summary strong{color:var(--ink)}
.input,.select,.email-reply,.source-text,.code-block,.code-details textarea{color:var(--ink)}.input::placeholder{color:#6d7c93}.input:focus,.select:focus{border-color:var(--accent)}.upload-zone{border-color:#a9c2ff;border-radius:12px}.upload-zone.dragging{background:#eaf1ff;border-color:var(--accent)}.modal-backdrop{background:#10214466}.modal{border-radius:16px}.modal .modal-icon{color:var(--accent);background:var(--soft)}.import-option{border-radius:12px}.toast{background:var(--ink);color:#fff;border-radius:12px}.spinner{border-color:#c7d8ff;border-top-color:var(--accent)}
.live-workspace-bar{border-radius:12px;background:var(--soft);color:var(--ink)}.live-workspace-bar a{color:#1947d1}.approved-bubble{background:var(--soft);border-color:#a9c2ff;color:#1947d1}
@media(max-width:680px){.stepper{padding:15px 8px;margin-bottom:30px;gap:4px}.stepper:before{top:29px;left:45px;right:45px}.step{min-width:0;flex:1;background:transparent}.step-label{background:var(--soft);max-width:100px}.step-number,.step.active .step-number{box-shadow:0 0 0 5px var(--soft)}.topbar-inner{min-height:72px}.modal{border-radius:16px}}

.btn.danger:hover{color:#8b3d29;background:#f8eae5;border-color:#dfb7a9}.chat-result-tag.review,.result-heading.review{color:#875510}.chat-result-tag.escalate,.result-heading.escalate{color:#a34832}
@media(max-width:680px){.step-actions{flex-wrap:wrap}.step-actions .btn.primary{margin-left:auto}.step-actions .action-summary{max-width:155px}}
