:root{--ink:#173329;--muted:#65756d;--line:#dfe5de;--paper:#f7f9f5;--green:#275d45;--accent:#dae7b6;--red:#a33434;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,a{outline-offset:4px}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.5;cursor:wait}[hidden]{display:none!important}.workspace{display:grid;grid-template-columns:245px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;padding:32px 24px;background:#eef2ea;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{font-size:22px;font-weight:650;display:flex;gap:10px;align-items:center;letter-spacing:-.7px}.nav-label,.small-label,.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.6px}.nav-label{margin:58px 10px 17px;color:var(--muted)}nav{display:grid;gap:6px}nav a{padding:13px 12px;border-radius:7px;font-size:13px;display:flex;justify-content:space-between;align-items:center}nav a:hover,nav a.active{background:#e0e8d7}.titan-badge{font-size:8px;letter-spacing:1px;background:#d3dcb7;padding:4px 5px;border-radius:4px}.sidebar-bottom{margin-top:auto}.small-label{color:var(--muted)}.health{display:flex;align-items:center;gap:8px;font-size:12px}.health i{background:#64975a;width:7px;height:7px;border-radius:50%}#account{border-top:1px solid #cfd9ca;margin-top:25px;padding-top:24px;display:grid;gap:8px;overflow-wrap:anywhere}#account strong{font-size:13px}#account span{font-size:11px;color:var(--muted)}.text-button{border:0;background:transparent;padding:0;color:var(--green);text-align:left;font-size:12px}.topbar{height:76px;border-bottom:1px solid var(--line);padding:0 44px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted)}.pill{font-size:9px;letter-spacing:1.3px;border:1px solid var(--line);padding:7px 10px;border-radius:30px}.page{max-width:1200px;margin:auto;padding:44px}.page-title{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:30px}h1{font-weight:500;font-size:34px;line-height:1.15;letter-spacing:-1.2px;margin:10px 0 14px}h2{font-size:19px;letter-spacing:-.4px;font-weight:550;margin:0 0 12px}p{line-height:1.65;font-size:13px;margin:8px 0 14px}.lead{font-size:16px;color:var(--muted);max-width:480px}.muted{font-size:12px;color:var(--muted)}.eyebrow{color:var(--green);margin:0 0 15px}.card{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:22px;padding:27px}.card-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.card-head h2{margin:0}.endpoint{background:#edf2e4;padding:20px 24px;border-radius:10px;display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:27px}.endpoint small{display:block;font-size:9px;letter-spacing:1.3px;color:var(--muted);margin-bottom:8px}code,pre{font:12px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace}pre{overflow-wrap:anywhere;white-space:pre-wrap;background:#f2f5ee;padding:18px;border-radius:7px;margin:15px 0}.primary,.secondary,.danger,.google-button{border-radius:7px;padding:11px 17px;font-size:12px;font-weight:600;border:1px solid transparent}.primary{background:var(--green);color:#fff}.primary:hover{background:#1e4936}.secondary{border-color:#d4ddd1;background:#fff;color:var(--ink)}.danger{color:var(--red);background:#fff4f2;border-color:#efd4d0}.button-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.form-row{display:flex;gap:14px;align-items:end;flex-wrap:wrap}.field{display:grid;gap:8px;flex:1;min-width:150px;font-size:11px;font-weight:600}.field.small{flex:0 1 140px}input,select{border:1px solid #d6ded2;background:#fff;border-radius:6px;padding:11px 12px;color:var(--ink);min-width:0;outline-color:#477957}input::placeholder{color:#98a298}.status{border-radius:20px;padding:5px 9px;font-size:10px;background:#edf2e4;display:inline-block}.status.revoked,.status.disabled,.status.expired{background:#f5e7e3;color:#96453d}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}th{text-align:left;font-size:9px;letter-spacing:1px;color:var(--muted);padding:13px 12px;border-bottom:1px solid var(--line);font-weight:550}td{padding:17px 12px;border-bottom:1px solid #edf0e9}td .muted{display:block;margin:4px 0 0;font-size:10px}tr:last-child td{border-bottom:0}.empty{padding:26px;text-align:center;color:var(--muted);font-size:13px}.pagination{display:flex;justify-content:space-between;align-items:center;margin-top:18px;font-size:12px;color:var(--muted)}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.note{background:#eef2e5;padding:16px;border-radius:8px;font-size:12px}.login-card{max-width:650px;margin:55px auto 70px}.login-card h1{font-size:58px;letter-spacing:-2.4px;margin:18px 0 25px;line-height:1.06}.google-button{background:#fff;border-color:#cbd5c7;display:flex;justify-content:space-between;max-width:310px;margin:30px 0 18px;font-size:14px;padding:16px 18px}.google-button:hover{background:#edf3e7}.login-notes{display:flex;gap:22px;margin-top:48px;padding-top:25px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);flex-wrap:wrap}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:22px;margin-top:45px;font-size:10px;color:var(--muted)}#notice{padding:13px 16px;border:1px solid #c9dbb7;border-radius:7px;background:#edf3e5;font-size:13px;margin-bottom:22px}#notice.error{border-color:#ebc9c1;background:#fff0ec;color:#953c32}dialog{border:1px solid var(--line);border-radius:15px;max-width:530px;width:calc(100% - 30px);padding:35px;box-shadow:0 15px 80px #17332922}dialog::backdrop{background:#102b2366;backdrop-filter:blur(3px)}.dialog-close{position:absolute;right:15px;top:12px;border:0;background:none;font-size:23px;color:var(--muted)}dialog p{color:var(--muted)}details{border-top:1px solid var(--line);padding-top:20px;margin-top:22px}summary{cursor:pointer;font-size:13px;margin-bottom:20px}.target-banner{background:#e9efdf;border-left:3px solid #739c46;padding:15px 20px;border-radius:6px;margin-bottom:25px;font-size:13px;display:flex;justify-content:space-between;gap:15px}@media(max-width:950px){.workspace{grid-template-columns:190px 1fr}.sidebar{padding:25px 16px}.page{padding:30px 22px}.topbar{padding:0 22px}.two-col{grid-template-columns:1fr}.form-row .field{min-width:140px}}@media(max-width:640px){.workspace{display:block}.sidebar{position:static;width:100%;height:auto;padding:18px;border-bottom:1px solid var(--line);border-right:0}.brand{font-size:20px}.nav-label,.sidebar-bottom{display:none}nav{display:flex;margin-top:18px;flex-wrap:wrap}nav a{padding:10px;font-size:12px;gap:8px}.topbar{height:54px}.page{padding:28px 18px}.page-title{align-items:flex-start;flex-direction:column}.login-card{margin:20px 0 50px}.login-card h1{font-size:46px}.card{padding:20px}.endpoint{display:block;overflow-wrap:anywhere}.endpoint button{margin-top:10px}.form-row{align-items:stretch}.field{flex-basis:100%}.form-row button{align-self:end}.target-banner{flex-direction:column}footer span{max-width:170px;text-align:right}}

@media(max-width:640px){.sidebar-bottom{display:block;margin-top:0}.sidebar-bottom>.small-label,.sidebar-bottom>.health{display:none}#account{margin-top:16px;padding-top:12px;grid-template-columns:1fr auto;gap:4px}#account span{grid-column:1;grid-row:2}#account button{grid-column:2;grid-row:1 / 3;align-self:center}}
main{min-width:0}.explorer-tabs{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:25px}.explorer-tabs>a{font-size:13px;padding:10px 0;border-bottom:2px solid transparent}.explorer-tabs>a.active{border-color:var(--green);font-weight:600}.explorer-tabs button{margin-left:auto}.evidence-link{color:var(--green);text-decoration:underline;text-underline-offset:3px}.source-id{max-width:280px;overflow:hidden;text-overflow:ellipsis}.message{margin-top:18px;border:1px solid var(--line);padding:20px;border-radius:9px;overflow-wrap:anywhere}.message-meta{display:flex;gap:14px;align-items:center;font-size:12px;color:var(--muted)}.message-text{background:transparent;padding:0;font-family:inherit;font-size:14px;line-height:1.7}.message details pre{max-height:500px;overflow:auto}.message h3{font-size:13px}.card>.form-row{margin-bottom:20px}#mcp-consent{border:2px solid var(--green)}

.card h2{overflow-wrap:anywhere}

.setup-account{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:24px;font-size:12px}.setup-progress{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 25px}.setup-progress button{font-size:11px}.setup-client-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.setup-client{border:1px solid var(--line);border-radius:9px;padding:18px;text-align:left;background:#fff;color:var(--ink);display:grid;gap:10px}.setup-client strong{font-size:13px}.setup-client span{font-size:12px;line-height:1.6;color:var(--muted)}.setup-client.selected{background:#edf2e4;border:2px solid var(--green);padding:17px}.setup-actions{display:flex;justify-content:space-between;gap:12px;margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}.setup-code{margin:20px 0}.setup-code>p{font-size:11px;font-weight:600}.setup-code pre{margin:8px 0}.setup-instructions{padding-left:22px;font-size:13px;line-height:1.7}.setup-instructions li{margin:12px 0}.setup-check{display:flex;gap:16px;align-items:flex-start;padding:20px 0;border-bottom:1px solid var(--line)}.setup-check .status{min-width:65px;text-align:center}.setup-check strong{font-size:13px}.setup-check p{margin:5px 0}.card>.field{margin-bottom:18px}.card h3{font-size:14px;margin:25px 0 12px}.setup-check .evidence-link{font-size:12px}.status.verified{background:#dcebd5}.status.pending{background:#fff1d5;color:#785b21}.card>.evidence-link{display:inline-block;margin:12px}.endpoint code{overflow-wrap:anywhere}@media(max-width:800px){.setup-client-options{grid-template-columns:1fr}.setup-client{gap:6px}.setup-actions{flex-wrap:wrap}}

/* Keep the shared dashboard footer visible without covering the last controls. */
:root{--sidebar-width:245px;--page-gutter:44px;--footer-height:64px}
.page{padding-bottom:calc(var(--footer-height) + env(safe-area-inset-bottom,0px) + var(--page-gutter))}
footer{position:fixed;inset:auto 0 0 var(--sidebar-width);z-index:10;height:calc(var(--footer-height) + env(safe-area-inset-bottom,0px));margin:0;padding:0 max(var(--page-gutter),calc((100vw - var(--sidebar-width) - 1200px)/2 + var(--page-gutter))) env(safe-area-inset-bottom,0px);align-items:center;gap:16px;background:var(--paper)}
@media(max-width:950px){:root{--sidebar-width:190px;--page-gutter:22px}}
@media(max-width:640px){:root{--sidebar-width:0px;--page-gutter:18px}}

/* Shared controls inherit their context; Phosphor icons stay optically aligned. */
a{font-size:inherit;line-height:inherit}.icon{width:18px;height:18px;display:inline-block;flex-shrink:0;vertical-align:middle}.primary,.secondary,.danger,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.4}.text-button{justify-content:flex-start}nav a{gap:10px}nav .nav-text{flex:1}.evidence-link{font-size:inherit;text-decoration-thickness:1px}.evidence-link:hover{color:#143f2c;text-decoration-thickness:2px}.setup-check .evidence-link{font-size:inherit}.credential-fields{margin-top:26px}.destructive{color:var(--red);background:#fff3f1;border:1px solid #edc6c0}.destructive:hover,.danger:hover{background:#fbe4e0;border-color:#cf8981}.text-button.destructive{padding:7px 10px;border-radius:6px}.copy-container{position:relative;min-width:0}.copy-container pre{padding-right:56px}.icon-button,.toast-close{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:7px;border:1px solid #cdd9c5;border-radius:6px;background:#f7faf2;color:var(--green);flex-shrink:0}.icon-button:hover,.toast-close:hover{background:#e1ead7}.copy-container>.icon-button{position:absolute;right:10px;top:10px}.endpoint{position:relative;padding-right:65px}.endpoint>.icon-button{position:absolute;right:18px;top:18px;margin:0}.setup-client>.icon{width:25px;height:25px;color:var(--green)}.dialog-close{display:flex;padding:6px}.dialog-close .icon{width:20px;height:20px}
#notice{position:fixed;z-index:1000;bottom:calc(var(--footer-height) + env(safe-area-inset-bottom,0px) + 16px);right:24px;width:max-content;max-width:min(460px,calc(100vw - 32px));margin:0;padding:14px 12px 14px 16px;display:flex;align-items:center;gap:12px;border:1px solid #bdd1ab;border-radius:10px;background:#edf4e5;color:#204d37;box-shadow:0 8px 32px #17332924;font-size:13px;line-height:1.5}.toast-message{flex:1;overflow-wrap:anywhere}.toast-close{width:28px;height:28px;padding:5px;border:0;background:transparent;color:inherit}#notice.error{border-color:#e6bbb2;background:#fff0ec;color:#953c32}
/* Captured chat entries keep original text, with bounded previews and optional evidence. */
.chat-stream,.chat-turn{display:flex;flex-direction:column;gap:22px;padding-top:10px}.chat-turn+.chat-turn{border-top:1px solid var(--line);margin-top:28px;padding-top:24px}.chat-message{display:flex;gap:10px;align-items:flex-start;max-width:90%;min-width:0}.message-avatar{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--line);border-radius:10px;background:#f1f4ec;flex-shrink:0}.message-bubble{min-width:0;padding:17px 20px;border:1px solid var(--line);border-radius:2px 13px 13px;background:#fff;flex:1}.role-user{align-self:flex-end;flex-direction:row-reverse}.role-user .message-bubble{background:#edf4e5;border-color:#d4e2c8;border-radius:13px 2px 13px 13px}.role-user .message-avatar{background:#e1ead3}.role-tool .message-bubble{background:#f6f3fb;border-color:#e4dbef}.role-tool .message-avatar{color:#70578d;background:#eee7f6}.role-system .message-bubble,.role-developer .message-bubble,.role-reasoning .message-bubble{background:#f5f5ef}.message-meta{gap:8px;flex-wrap:wrap;line-height:1.4}.message-meta strong{font-size:13px;color:var(--ink)}.message-direction{font-size:10px;margin-left:auto}.timestamp{display:block;font-size:11px;color:var(--muted);line-height:1.6;font-variant-numeric:tabular-nums;white-space:normal;margin-top:6px}.message-text{margin:12px 0 8px;font-size:13px;line-height:1.75;max-height:480px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.expand-message{font-size:12px;margin:4px 0 12px;padding:4px 0}.message-evidence{font-size:11px;display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:12px}.call-id{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.json-inspector{margin-top:14px;padding-top:12px}.json-inspector summary{font-size:11px;margin-bottom:0;color:var(--muted);line-height:1.6}.json-inspector summary .icon{width:15px;height:15px;margin-right:6px}.json-inspector pre{max-height:400px;overflow:auto;font-size:11px}.turn-label{font:11px/1.6 ui-monospace,monospace;overflow-wrap:anywhere;color:var(--muted);margin:0}td .timestamp{min-width:185px;max-width:240px;margin:0}.message>.timestamp{margin-top:8px}
@media(max-width:640px){.chat-message{max-width:100%;gap:6px}.message-avatar{width:26px;height:26px;border-radius:7px}.message-avatar .icon{width:15px;height:15px}.message-bubble{padding:14px 12px}.chat-stream,.chat-turn{gap:18px}#notice{right:16px}.pagination{gap:12px;flex-wrap:wrap}.setup-progress button{padding:9px}.setup-progress .icon{width:15px;height:15px}}

.inline-feedback{font-size:12px;line-height:1.65;padding:12px 14px;border-radius:8px;border:1px solid #cfdbc5;background:#edf3e5;color:#275d45;overflow-wrap:anywhere;flex-basis:100%}.inline-feedback.error{border-color:#e6bbb2;background:#fff0ec;color:#953c32}

.session-label{min-width:190px;max-width:360px;white-space:normal;overflow-wrap:anywhere}.session-label>a{line-height:1.6}

.user-actions{display:flex;justify-content:flex-end}.user-action-menu{position:fixed;inset:auto;margin:0;padding:6px;width:260px;max-width:calc(100vw - 16px);border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 10px 36px #17332926;color:var(--ink)}.user-action-menu .text-button{display:flex;width:100%;padding:12px 10px;border-radius:6px;font-size:12px;white-space:normal;text-align:left;justify-content:flex-start}.user-action-menu .text-button:hover,.user-action-menu .text-button:focus-visible{background:#edf2e4;outline:2px solid var(--green);outline-offset:-2px}.extraction-counts{display:grid;grid-template-columns:1fr auto;gap:12px;font-size:13px;margin:24px 0}.extraction-counts dd{margin:0;font-weight:650}.user-extraction-dialog .button-row{margin-top:24px}.user-extraction-dialog p{overflow-wrap:anywhere}

.explorer-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-left:auto}.explorer-tabs .explorer-actions>button{margin-left:0}@media(max-width:640px){.explorer-actions{width:100%;margin-left:0}}

.settings-form {display:grid;gap:20px}
.settings-form>.field {max-width:460px}
.setting-row {display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,260px);gap:28px;padding:20px 0;border-top:1px solid var(--line,#e4e4e0)}
.setting-row[hidden],.settings-form>[hidden] {display:none}
.setting-copy>label {font-weight:600;font-size:15px}
.setting-copy p {margin:6px 0;font-size:13px;line-height:1.5}
.setting-meta {color:var(--muted,#6b706b)}
.setting-current {font-size:12px!important}
.setting-entry {display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.setting-entry>input {width:100%;box-sizing:border-box}
.setting-entry .choice-field {width:100%}
.setting-entry .text-button {font-size:12px}
.settings-save-bar {position:sticky;bottom:60px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;background:var(--paper,#fff);border:1px solid var(--line,#e4e4e0);border-radius:12px;box-shadow:0 6px 24px #0000000a}
@media(max-width:650px){.setting-row{grid-template-columns:1fr;gap:12px}.setting-entry{max-width:100%}}
.setting-entry .choice-select>span:first-child {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

.user-role-dialog .button-row{margin-top:24px;justify-content:flex-end}.user-role-dialog .note{margin-top:18px}.user-role-dialog p{overflow-wrap:anywhere}
