:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#263a35;background:#f4f3ed;font-synthesis:none;--ink:#263a35;--muted:#7b847d;--line:#e1e4db;--green:#2f5548;--light:#e9eee5;--white:#fffef9;--gold:#a29165;--danger:#984d3b}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #99bda8;outline-offset:3px}input,textarea,select{border:1px solid #dbe0d7;background:#fffefa;border-radius:7px;padding:12px 14px;color:var(--ink);width:100%;outline:none}input:focus,textarea:focus,select:focus{border-color:#799784;box-shadow:0 0 0 3px #e6ece2}textarea{resize:vertical;line-height:1.65}label{display:block;font-size:12px;font-weight:600;margin:18px 0 8px}h1,h2,h3,p{margin:0}h1{font-family:Georgia,"Times New Roman",serif;font-size:39px;line-height:1.2;letter-spacing:-1.4px;font-weight:400}h2{font-size:16px;letter-spacing:-.3px;font-weight:600}h3{font-size:23px;font-weight:400;font-family:Georgia,serif}.muted{font-size:13px;color:var(--muted);line-height:1.7;margin-top:10px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:650;color:#7c8c78;margin-bottom:10px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:24px;border-radius:6px;padding:12px 18px;font-size:12px;font-weight:500;min-height:42px;transition:background .2s}.primary{background:var(--green);color:white;border:1px solid var(--green)}.primary:hover{background:#244638}.secondary{border:1px solid #d3dccc;background:var(--white);color:var(--green)}.secondary:hover{background:#edf0e8}.primary span{font-size:18px}.full{width:100%}.compact{padding:8px 12px;min-height:34px}.text-button{border:0;background:none;font-size:11px;color:#6e7e71;padding:8px}.icon-button{border:1px solid var(--line);border-radius:5px;width:29px;height:29px;background:var(--white);color:var(--green);font-size:19px}.badge{display:inline-flex;align-items:center;gap:7px;background:#e7ede2;border:1px solid #dce5d6;color:#4d6d53;border-radius:20px;padding:7px 12px;font-size:10px;white-space:nowrap}.badge:before{content:"";width:5px;height:5px;background:#7b9470;border-radius:50%}.badge.live{background:#dcecdf;color:#286240}.badge.neutral{background:#f3f4ef;border-color:#e8eae1;color:#7c8879}.badge.neutral:before{display:none}.error{color:var(--danger);font-size:12px;line-height:1.6;min-height:18px;margin-top:15px}[hidden]{display:none!important}.login-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;padding:35px;gap:35px}.login-card{width:340px;align-self:center;justify-self:center}.brand-mark{font-family:Georgia,serif;font-size:50px;margin-bottom:35px;color:var(--green)}.brand-mark span{font-size:23px;vertical-align:super;margin-left:2px;color:#9aab87}.login-card h1{font-size:38px}.login-card .muted{margin:20px 0 25px}.login-card .primary{margin-top:16px}.login-note{margin-top:48px;border-top:1px solid var(--line);padding-top:20px;font-size:10px;color:#8c9489;letter-spacing:.2px}.login-art{position:relative;overflow:hidden;background:#dce2d2;border-radius:8px;display:flex;flex-direction:column;justify-content:flex-end;padding:65px;color:#405b48;min-height:600px}.login-art span{position:relative;font-size:48px;line-height:1.15;font-family:Georgia,serif;letter-spacing:-1.8px}.login-art p{position:relative;margin-top:32px;font-size:8px;letter-spacing:2px}.art-circle{position:absolute;border:1px solid #bcc6ac;border-radius:50%;width:700px;height:700px;left:10%;top:-40%}.art-circle:before,.art-circle:after{content:"";position:absolute;border:1px solid #bcc6ac;border-radius:50%;inset:35px}.art-circle:after{inset:70px}.topbar{height:87px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 45px;background:#f9f9f3}.brand{display:flex;align-items:center;text-decoration:none;color:var(--ink);gap:17px;font-family:Georgia,serif;font-size:25px;letter-spacing:-1px}.small-mark{font-size:31px;border-right:1px solid var(--line);padding-right:19px;line-height:37px}.small-mark span{font-size:16px;vertical-align:super;color:#8d9f77}.brand-caption{display:block;font:7px Inter,-apple-system,sans-serif;letter-spacing:1.9px;margin-top:5px;color:#8c947f}.header-right{display:flex;align-items:center;gap:25px}.workspace{max-width:1540px;margin:auto;padding:34px 45px 18px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.page-heading h1{font-size:34px}.page-heading .muted{margin-top:9px}.connection{display:flex;gap:7px;align-items:center;color:#8c9687;font-size:10px}.pulse,.tiny-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#8da281}.status-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:27px}.status-card{background:var(--white);padding:20px 17px;display:flex;gap:14px;border:1px solid var(--line);border-radius:7px;min-width:0}.status-icon{height:33px;width:33px;flex:0 0 33px;display:flex;align-items:center;justify-content:center;border:1px solid #e2e7dc;background:#f5f6ef;font-size:19px;border-radius:6px;color:#71876b}.attention-icon{background:#f6efe5;color:#a48655;border-color:#ebe0cf;font-family:Georgia,serif}.status-card p{font-size:8px;letter-spacing:1.3px;color:#97a08e;margin-bottom:7px}.status-card strong{font-size:12px;font-weight:550;display:block}.status-card small{font-size:9px;display:block;margin-top:6px;color:#929b8b;line-height:1.5;overflow-wrap:anywhere}.tabs{display:flex;gap:24px;border-bottom:1px solid #dbe1d4;margin-bottom:22px}.tab{background:none;border:0;color:#8a9486;font-size:12px;padding:12px 0 16px;position:relative;display:flex;align-items:center;gap:7px}.tab.active{color:#2c5140}.tab.active:after{content:"";position:absolute;bottom:-1px;height:2px;left:0;right:0;background:#41614b}.counter{font-size:8px;padding:2px 5px;background:#e6eade;border-radius:4px}.notice{padding:13px 16px;border:1px solid;border-radius:6px;font-size:12px;line-height:1.7;margin-bottom:18px}.error-notice{color:#984d3b;background:#fcf0e9;border-color:#e9cec0}.success-notice{color:#4a6b43;background:#eaf1e2;border-color:#d2dfc5}.alert-notice{color:#8c744c;background:#f7f1e4;border-color:#e8ddc4}.chat-grid{display:grid;grid-template-columns:265px 1fr;gap:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--white);min-height:555px}.conversation-sidebar{display:flex;flex-direction:column;background:#f8f9f3;border-right:1px solid var(--line);min-width:0}.section-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.conversation-sidebar .section-top{padding:20px 19px 0}.conversation-sidebar h2{font-size:13px}.sidebar-hint{font-size:9px;color:#9aa18e;padding:8px 19px 17px;border-bottom:1px solid var(--line)}.conversation-list{padding:8px;max-height:570px;overflow:auto;flex:1}.conversation-item{display:block;text-align:left;width:100%;padding:13px 10px;border:1px solid transparent;border-radius:6px;background:none;margin-bottom:3px;min-height:72px}.conversation-item:hover{background:#edf1e7}.conversation-item.selected{background:#e8eee0;border-color:#dce5d0}.conversation-row{display:flex;gap:8px;align-items:center;justify-content:space-between}.conversation-item strong{font-size:11px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:155px;display:block}.conversation-item small{display:block;font-size:9px;color:#97a087;margin-top:7px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-tag{font-size:7px;color:#8a7353;background:#f0e7d7;border-radius:4px;padding:3px 5px;white-space:nowrap}.conversation-time{font-size:8px;color:#9da48f;white-space:nowrap}.sidebar-footer{font-size:8px;color:#9ca58f;padding:16px 18px;border-top:1px solid var(--line);display:flex;align-items:center;gap:7px}.chat-panel{display:flex;flex-direction:column;min-width:0}.chat-top{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line);gap:10px}.chat-title{display:flex;align-items:center;gap:12px}.avatar{background:#edf0e5;color:#6b825d;border:1px solid #e3e8d8;display:flex;justify-content:center;align-items:center;border-radius:50%;height:34px;width:34px;font-size:13px;flex-shrink:0}.chat-top h2{font-size:13px;word-break:break-word}.chat-top p{font-size:9px;color:#9ba48e;margin-top:5px}.session-meta{font-size:8px;background:#f6f7f0;padding:8px 24px;color:#829075;overflow-wrap:anywhere;border-bottom:1px solid var(--line)}.chat-messages{height:365px;overflow:auto;display:flex;flex-direction:column;gap:14px;padding:24px}.chat-empty{margin:auto;text-align:center;padding:15px 10px}.empty-symbol{font-size:32px;display:flex;justify-content:center;align-items:center;margin:0 auto 20px;height:58px;width:58px;border:1px solid #e4e9db;border-radius:50%;color:#90a17c}.chat-empty .eyebrow{font-size:7px;margin-bottom:10px}.chat-empty h3{color:#526b50;font-size:24px}.chat-empty p:not(.eyebrow){font-size:11px;line-height:1.8;color:#a1a792;margin-top:12px}.suggestions{display:flex;gap:7px;justify-content:center;flex-wrap:wrap;margin-top:23px}.suggestions button{border:1px solid #e0e6d6;border-radius:5px;font-size:9px;background:#f8faf2;color:#7e8f70;padding:9px 11px}.message{max-width:78%;display:flex;flex-direction:column;align-self:flex-start;gap:6px;flex-shrink:0}.message.user{align-self:flex-end}.message-bubble{padding:12px 15px;font-size:12px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:0 9px 9px 9px;background:#f1f4e9;border:1px solid #e5eadc}.message.user .message-bubble{background:#315546;color:#f4f7ee;border-color:#315546;border-radius:9px 0 9px 9px}.message.system .message-bubble{background:#f8f0e3;border-color:#eadecb;color:#937747;font-size:10px}.message-caption{font-size:8px;color:#9ba48f}.message.user .message-caption{text-align:right}.chat-compose{margin:0 22px 20px;border:1px solid #dce3d4;border-radius:6px;overflow:hidden;margin-top:auto;background:#fffefa}.chat-compose textarea{border:0;box-shadow:none;border-radius:0;min-height:66px;padding:14px 16px;font-size:12px;resize:none;background:transparent}.chat-compose textarea:focus{box-shadow:none}.chat-compose textarea::placeholder{color:#a4ab98}.compose-bottom{display:flex;justify-content:space-between;align-items:center;padding:0 10px 10px 16px;gap:10px}.compose-bottom>span{font-size:8px;color:#a6ad9a}.compose-bottom .primary{padding:7px 15px;font-size:10px;min-height:31px;gap:20px}.page-footer{display:flex;justify-content:space-between;gap:15px;font-size:8px;color:#a1a891;margin-top:25px;padding-top:5px}.surface{background:var(--white);border:1px solid var(--line);border-radius:7px;padding:24px}.settings-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:20px}.settings-stack{display:flex;flex-direction:column;gap:17px}.settings-stack label{font-size:10px}.settings-stack input,.settings-stack select{font-size:11px;padding:10px 12px}.settings-stack h2{margin-bottom:17px}.prompt-surface .muted{margin-bottom:19px}.prompt-editor{min-height:580px;font:11px/1.85 ui-monospace,SFMono-Regular,Consolas,monospace;background:#fafbf5;border-color:#e4e8dc}.form-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:17px}.form-footer span{font-size:9px;color:#99a18d}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:18px;border-top:1px solid var(--line);margin-top:23px}.toggle-row strong{display:block;font-size:11px;font-weight:500}.toggle-row small{display:block;color:#9ba48f;font-size:9px;line-height:1.5;margin-top:6px}.toggle-row input{width:33px;height:18px;accent-color:var(--green);flex-shrink:0}.field-note{font-size:10px;line-height:1.8;color:#929d86;margin:10px 0;overflow-wrap:anywhere}.field-note code{font-size:9px;color:#5e7a53}.panel-heading{margin:5px 0 24px}.panel-heading h2{font:27px Georgia,serif;letter-spacing:-.4px}.alerts-list{display:flex;flex-direction:column;gap:10px}.alert-item{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--line);background:var(--white);border-radius:7px;padding:20px 23px}.alert-item.acknowledged{opacity:.65}.alert-info h3{font:13px Inter,-apple-system,sans-serif;font-weight:600;color:#7c6144}.alert-info p{font-size:11px;color:#86907b;margin-top:7px;line-height:1.6}.alert-info small{font-size:9px;color:#a2a88f;display:block;margin-top:7px}.alert-actions{display:flex;gap:7px;flex-shrink:0}.empty-state{padding:45px 25px;text-align:center;color:#8f9d81;font-size:12px;line-height:1.8;border:1px dashed #d6dfca;border-radius:7px;background:#f8faf3}.knowledge-content{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.85 ui-monospace,SFMono-Regular,Consolas,monospace;padding:22px;background:#f7f9f0;color:#617653;max-height:700px;overflow:auto;border:1px solid #e3e8d8;border-radius:5px;margin-top:20px}.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:1500px){.chat-messages{height:430px}.chat-grid{min-height:620px}}@media(max-width:1100px){.workspace{padding:25px}.topbar{padding:0 25px}.status-card{padding:17px 12px;gap:9px}.status-icon{width:26px;height:26px;flex-basis:26px;font-size:16px}.status-card small{font-size:8px}.chat-grid{grid-template-columns:220px 1fr}.settings-grid{grid-template-columns:minmax(0,1fr) 290px}.connection{display:none}.login-art{padding:40px}.login-art span{font-size:39px}}@media(max-width:780px){.workspace{padding:25px 17px 15px}.topbar{padding:0 18px;height:75px}.brand{font-size:22px;gap:12px}.small-mark{padding-right:12px;font-size:26px}.brand-caption{font-size:6px}.header-right{gap:5px}.header-right .text-button{font-size:9px}.header-right .badge{font-size:8px;padding:6px 8px}.page-heading h1{font-size:28px}.page-heading .muted{font-size:11px}.status-grid{grid-template-columns:1fr 1fr;gap:8px}.status-card{min-height:95px;padding:15px 12px}.tabs{gap:17px;overflow-x:auto;white-space:nowrap;margin-bottom:17px}.tab{font-size:10px;padding:8px 0 13px}.chat-grid{grid-template-columns:1fr}.conversation-sidebar{border-right:0;border-bottom:1px solid var(--line)}.conversation-sidebar .section-top{padding:14px 15px 0}.conversation-list{display:flex;gap:5px;max-height:106px;padding:6px 9px;min-height:10px}.conversation-item{min-width:175px;width:175px;margin:0;padding:10px}.conversation-sidebar .sidebar-hint{border:0;padding:5px 15px 8px}.sidebar-footer{display:none}.chat-top{padding:16px}.chat-top p{font-size:8px}.chat-messages{padding:18px 15px;height:365px}.message{max-width:90%}.chat-compose{margin:0 13px 15px}.page-footer{font-size:7px;line-height:1.8}.settings-grid{grid-template-columns:1fr}.prompt-editor{min-height:430px}.surface{padding:18px}.form-footer{align-items:flex-start;flex-direction:column;gap:12px}.form-footer button{width:100%}.alert-item{align-items:flex-start;flex-direction:column;gap:15px;padding:17px}.alert-actions{width:100%}.alert-actions button{flex:1;font-size:10px}.section-top{flex-wrap:wrap}.knowledge-content{padding:13px;font-size:10px}.login-shell{display:flex;padding:28px;min-height:100svh}.login-card{margin:auto;width:100%;max-width:345px}.login-art{display:none}.login-card h1{font-size:36px}.chat-empty h3{font-size:22px}.compose-bottom>span{font-size:7px}.session-meta{padding:8px 16px}.chat-top>.secondary{max-width:110px;font-size:8px}.settings-stack{gap:15px}}

.integration-guide{background:#f5f7ee;border:1px solid #e4e8da;border-radius:5px;padding:12px;margin:17px 0}.integration-guide h3{font:600 10px Inter,-apple-system,sans-serif;margin-bottom:10px}.integration-guide p{font-size:9px;line-height:1.8;color:#8a987d;margin:9px 0;overflow-wrap:anywhere}.integration-guide code{color:#5a7651;font-size:9px}.integration-guide pre{white-space:pre-wrap;overflow-wrap:anywhere;font:9px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;color:#66805b;border-top:1px solid #e0e7d5;border-bottom:1px solid #e0e7d5;padding:10px 0}.integration-guide strong{font-size:9px}

.integration-guide a{color:#52734a;text-decoration-color:#b7c9a9;text-underline-offset:3px}.integration-guide a:hover{color:#284d36}

.image-picker-row{display:flex;align-items:center;gap:12px;padding:0 15px 12px;flex-wrap:wrap}.image-picker-button{display:inline-flex;align-items:center;gap:5px;flex-shrink:0;border:1px solid #dce4d3;border-radius:5px;background:#f4f7ed;color:#58754b;padding:6px 10px;font-size:10px;line-height:1.4}.image-picker-button:hover:not(:disabled){background:#eaf0e0}.image-picker-button span{font-size:15px}.image-selection-note{font-size:8px;line-height:1.6;color:#98a28d}.image-previews{display:flex;gap:9px;padding:0 15px 12px;overflow-x:auto}.image-preview{position:relative;flex:0 0 112px;width:112px;border:1px solid #dce4d1;border-radius:6px;overflow:hidden;background:#f4f7ed}.image-preview-photo{display:block;width:100%;height:80px;object-fit:cover;background:#e7ecdf}.image-preview-details{display:flex;flex-direction:column;gap:3px;padding:7px 8px}.image-preview-name{display:block;font-size:9px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#627955}.image-preview-size{font-size:8px;color:#96a18a}.image-remove{position:absolute;top:4px;right:4px;display:flex;align-items:center;justify-content:center;width:23px;height:23px;padding:0;border:1px solid #d8e0ce;border-radius:50%;background:#fffef9;color:#526e45;font-size:18px;line-height:1;box-shadow:0 1px 4px #263a351a}.image-remove:hover:not(:disabled){background:#f1f5e8}.image-remove:disabled{cursor:default;opacity:.65}@media(max-width:780px){.image-picker-row{padding:0 12px 10px;gap:7px}.image-previews{padding:0 12px 10px}.image-preview{flex-basis:98px;width:98px}.image-preview-photo{height:70px}.image-selection-note{font-size:8px}.image-picker-button{font-size:9px}}
