:root{--bg:#edf5fb;--panel:#ffffffcc;--line:#cfdae5;--text:#142033;--muted:#5a6d82;--accent:#08aeea;--dark:#263547}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 15% 5%,#d9f1ff,transparent 30%),var(--bg);font-family:Segoe UI,Arial,sans-serif;color:var(--text)}
header{height:58px;background:#ffffffd6;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 16px;backdrop-filter:blur(12px);position:sticky;top:0;z-index:9}
.brand{display:flex;gap:10px;align-items:center}.brand b{font-size:24px}.brand span{color:var(--muted);font-size:13px}.orb{width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,#0778ff,#20d3c2);box-shadow:0 0 20px #0aa9ee66}
nav{display:flex;gap:10px;align-items:center}a,.pill,button{border:1px solid var(--line);background:white;border-radius:12px;padding:9px 14px;text-decoration:none;color:var(--text);font-weight:700}button{background:linear-gradient(135deg,#0988f5,#17c8d5);border:0;cursor:pointer}
.shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:calc(100vh - 58px)}.shell.activity-open{grid-template-columns:260px minmax(0,1fr) 360px}.shell>aside:first-child{border-right:1px solid var(--line);padding:18px;background:#f7fbffcc}.chat{display:flex;flex-direction:column;height:calc(100vh - 58px);min-width:0}
.notice{padding:18px;border-bottom:1px solid var(--line);color:var(--muted)}#messages{flex:1;overflow:auto;padding:24px}.msg{max-width:1050px;margin:12px auto;padding:16px 18px;border:1px solid var(--line);border-radius:18px;background:white;white-space:pre-wrap;line-height:1.5}.you{background:#e1f0ff}.lisa{background:#ffffff}
#form{display:flex;align-items:stretch;gap:10px;padding:0;background:transparent}textarea{flex:1;border:1px solid var(--line);border-radius:14px;padding:14px;font-size:15px;resize:none;min-height:58px;box-shadow:inset 0 1px 2px #24445f0d}
.spinner{margin:0 auto 12px auto;padding:10px 16px;border-radius:999px;background:#fff;border:1px solid var(--line);color:var(--muted)}.hidden{display:none}.hint,.small{color:var(--muted);font-size:13px}.error{color:#d62b45;margin:10px 0}
.login{display:grid;place-items:center;height:100vh}.login-card{width:380px;background:white;border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:0 20px 60px #2b5b8c22}.login-card input,.card input{width:100%;margin:8px 0;padding:12px;border:1px solid var(--line);border-radius:12px}.login-card button{width:100%;margin-top:8px}
.admin-grid{padding:26px;display:grid;grid-template-columns:1fr 1fr;gap:18px}.card{background:#ffffffd6;border:1px solid var(--line);border-radius:20px;padding:20px}.wide{grid-column:1/-1}pre{white-space:pre-wrap;max-height:420px;overflow:auto;background:#f5f9fc;border-radius:12px;padding:12px}

.ok{color:#159947}.warn{color:#c77a00}.result{white-space:pre-wrap;background:#f6fbff;border:1px solid #cfe1ef;border-radius:10px;padding:10px;min-height:20px} table{width:100%;border-collapse:collapse;font-size:13px;margin-top:8px}td,th{border-bottom:1px solid #d9e7f2;text-align:left;padding:6px}.check{display:block;margin:8px 0}.muted{color:#53677b}

select{width:100%;margin:8px 0;padding:12px;border:1px solid var(--line);border-radius:12px;background:white}.single{grid-template-columns:minmax(420px,760px);justify-content:center}.card label{font-weight:700;font-size:13px;color:var(--muted)}

.side-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.side-head h3{margin:0}.side-head button{white-space:nowrap;padding:8px 10px}.chat-list{display:flex;flex-direction:column;gap:8px;margin-top:14px}.chat-row{display:flex;align-items:stretch;gap:6px}.chat-title{flex:1;text-align:left;background:#fff;border:1px solid var(--line);border-radius:12px;color:var(--text);padding:10px;display:flex;flex-direction:column;gap:4px;font-weight:500}.chat-title b{font-size:13px}.chat-title small{font-size:11px;color:var(--muted);font-weight:400}.chat-row.active .chat-title{background:#dff1ff;border-color:#9dcced}.chat-del{width:34px;padding:0;border-radius:10px;background:#fff;color:#9b1c31;border:1px solid var(--line);font-size:18px}.empty{color:var(--muted);font-size:13px;padding:10px}.wheel{display:inline-block;width:13px;height:13px;border:2px solid #cfe1ef;border-top-color:#0988f5;border-radius:50%;animation:spin .8s linear infinite;vertical-align:-2px;margin-right:6px}@keyframes spin{to{transform:rotate(360deg)}}

/* V4.38.18 project folders and navigation-safe chat work */
.chat-sidebar{height:calc(100vh - 58px);overflow:auto}.project-head{margin-bottom:10px}.project-head button{background:#fff;color:#075985;border:1px solid #9dcced;box-shadow:none}.project-list{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.project-section{border:1px solid #d4e2eb;border-radius:13px;background:#f9fcfe;transition:border-color .12s ease,background .12s ease}.project-section.project-drop-active,.chat-list.project-drop-active{border-color:#0ea5e9;background:#e8f6ff;box-shadow:0 0 0 3px #0ea5e922}.project-row{display:flex;align-items:center;gap:4px;padding:5px}.project-title{min-width:0;flex:1;display:flex;align-items:center;gap:6px;padding:7px 6px;background:transparent;color:#263547;border:0;box-shadow:none;text-align:left}.project-title b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.project-title span{color:#0788b7;font-size:15px}.project-actions{display:flex;gap:2px}.project-actions button{width:27px;height:27px;padding:0;background:transparent;color:#64748b;border:0;box-shadow:none;font-size:13px}.project-actions button:hover{background:#e7f1f7}.project-chats{display:flex;flex-direction:column;gap:6px;padding:0 6px 7px}.project-section.collapsed .project-chats{display:none}.project-empty{padding:7px 9px;border:1px dashed #bed6e4;border-radius:9px;color:#7890a2;font-size:10px;text-align:center}.project-chats .chat-title{padding:8px}.project-chats .chat-del{width:30px}.chats-head{padding-top:13px;border-top:1px solid #d7e4ec}.chat-list{min-height:48px;padding:3px;border:1px dashed transparent;border-radius:12px}.chat-row.dragging{opacity:.45}.chat-row[draggable="true"]{cursor:grab}.chat-row[draggable="true"]:active{cursor:grabbing}


/* V4.8 report link polish */
.msg a{border:0;background:transparent;border-radius:0;padding:0;font-weight:700;color:#0867b5;text-decoration:underline;word-break:break-word}
.report-line{display:flex;align-items:center;gap:12px;margin:8px 0;flex-wrap:wrap;white-space:normal}
.report-label{min-width:90px;color:var(--muted);font-weight:700}
.report-link{display:inline-flex!important;align-items:center;justify-content:center;border:1px solid var(--line)!important;border-radius:12px!important;padding:8px 12px!important;background:linear-gradient(135deg,#0988f5,#17c8d5)!important;color:white!important;text-decoration:none!important;font-weight:800!important;box-shadow:0 8px 20px #0b82d522;max-width:220px}
.report-link.csv{background:linear-gradient(135deg,#16a34a,#20c997)!important}
.inline-report-link{font-family:Consolas,monospace;font-size:13px}
.msg a.inline-web-link{overflow-wrap:anywhere;word-break:break-word;color:#075ea8;text-decoration:underline;text-underline-offset:2px}
/* V4.9 admin/report library polish */
button.danger{background:#dc3545!important;color:white!important}
.compact-form label{display:block;margin-top:8px}.compact-form input{max-width:220px}
.admin-grid .wide table form{margin:0}.admin-grid .wide table button{padding:6px 10px;border-radius:9px}

/* V4.14 privacy/session-cache and thinking indicator polish */
.privacy-card{border-color:#9bd3f0;background:linear-gradient(180deg,#ffffffdd,#f3fbffdd)}
.purge-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.purge-row form{margin:0}.purge-row button{padding:8px 10px;border-radius:10px}
.spinner{display:flex;align-items:center;gap:8px;max-width:420px;justify-content:center;box-shadow:0 10px 30px #1b609033;font-weight:700}.spinner.hidden{display:none}
.activity-toggle{padding:9px 12px;background:#fff;color:#075985;border:1px solid #9dcced;box-shadow:none}.activity-toggle[aria-pressed="true"]{background:#e0f2fe;border-color:#38bdf8}.activity-panel{display:none;border-left:1px solid #343434;padding:18px 20px;background:#212121;color:#ececec;min-width:0;height:calc(100vh - 58px);overflow:auto}.shell.activity-open .activity-panel{display:block}.activity-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:14px}.activity-head>div{display:flex;align-items:baseline;gap:10px}.activity-head h3{margin:0;font-size:15px;font-weight:600}.activity-head small{color:#a7a7a7;font-size:11px}.activity-head button{padding:0 5px;background:transparent;color:#b4b4b4;border:0;font-size:22px}.activity-section{padding:14px 0;border-bottom:1px solid #444}.activity-section h4{margin:0 0 14px;font-size:13px;font-weight:500;color:#ddd}.activity-plan{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:14px}.activity-plan li{display:grid;grid-template-columns:16px minmax(0,1fr);gap:9px;align-items:start;color:#a8a8a8;font-size:13px;line-height:1.55}.activity-plan li.active{color:#f4f4f4;font-weight:600}.activity-plan li.complete{color:#c9c9c9}.activity-plan li.failed{color:#ff9b9b}.step-icon{width:12px;height:12px;margin-top:4px;border:1.5px solid #aaa;border-radius:50%;box-sizing:border-box}.activity-plan li.active .step-icon{border-color:transparent;border-top-color:#eee;border-right-color:#eee;animation:activitySpin .8s linear infinite}.activity-plan li.complete .step-icon{border-color:#aaa;background:#aaa;position:relative}.activity-plan li.complete .step-icon::after{content:'✓';position:absolute;left:1px;top:-5px;color:#212121;font-size:10px;font-weight:800}.activity-plan li.failed .step-icon{border-color:#ef7777;position:relative}.activity-plan li.failed .step-icon::after{content:'!';position:absolute;left:3px;top:-5px;color:#ef7777;font-size:9px;font-weight:700}@keyframes activitySpin{to{transform:rotate(360deg)}}.activity-links{display:flex;flex-direction:column;gap:5px}.activity-links a,.activity-empty{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:center;min-height:28px;color:#b8b8b8;font-size:12px;text-decoration:none}.activity-links a:hover{color:#fff}.activity-links b,.activity-empty b{font-size:18px;font-weight:300;color:#aaa}.activity-privacy{font-size:10px;line-height:1.45;color:#858585;padding-top:14px;margin:0}
@media (max-width:1100px){.shell.activity-open{grid-template-columns:260px minmax(0,1fr)}.activity-panel{position:fixed;right:0;top:58px;width:min(360px,92vw);z-index:8;box-shadow:-18px 0 45px #163a562b}.shell.activity-open .activity-panel{display:block}}
.chat-table-wrap{max-width:100%;overflow:auto;margin:12px 0;border:1px solid #c9d9e5;border-radius:10px;background:#fff}.chat-table{width:100%;border-collapse:collapse;font-size:13px}.chat-table th,.chat-table td{padding:8px 10px;border-bottom:1px solid #dbe7ef;text-align:left;vertical-align:top;white-space:nowrap}.chat-table th{background:#eef7fd;color:#17324a;font-weight:700;position:sticky;top:0}.chat-table td:last-child,.chat-table th:last-child{text-align:right}.chat-table tbody tr:last-child td{border-bottom:0}.chat-table tbody tr:nth-child(even){background:#f8fbfd}
#form button:disabled, textarea:disabled{opacity:.65;cursor:not-allowed}
textarea:disabled{background:#f4f8fb;color:#6b7d8d}.notice b{color:#0b6ea8}
.widebtn{display:block;text-align:center;text-decoration:none;margin:10px 0;padding:12px 14px;border-radius:14px;background:linear-gradient(135deg,#0ea5e9,#22d3ee);color:#001018;font-weight:800}.security-note{border:1px solid #bae6fd;background:#f0f9ff;border-radius:14px;padding:12px;margin:12px 0}.security-note b{color:#075985}

/* V4.18 admin console left navigation */
.admin-shell{display:grid;grid-template-columns:285px minmax(0,1fr);gap:0;min-height:calc(100vh - 58px)}
.admin-sidebar-nav{position:sticky;top:58px;height:calc(100vh - 58px);overflow:auto;border-right:1px solid var(--line);background:#f7fbffdd;padding:18px;backdrop-filter:blur(10px)}
.admin-nav-title{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:900;margin:4px 0 12px}
.admin-sidebar-nav a{display:block;margin:7px 0;padding:11px 12px;border:1px solid transparent;border-radius:13px;background:transparent;color:var(--text);font-weight:800;text-decoration:none}
.admin-sidebar-nav a:hover{background:#fff;border-color:var(--line)}
.admin-sidebar-nav a.active{background:linear-gradient(135deg,#0988f5,#17c8d5);color:#001018;border-color:transparent;box-shadow:0 10px 24px #0b82d522}
.admin-content{padding:26px;min-width:0}.admin-section{display:none;max-width:1320px;margin:0 auto}.admin-section.active{display:block}.admin-section h1{margin-top:0}.admin-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:18px 0}.summary-tile{background:#f6fbff;border:1px solid var(--line);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:8px}.summary-tile b{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.summary-tile span{font-size:20px;font-weight:900}.button-row,.actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.admin-content textarea{width:100%;margin:8px 0;padding:12px;border:1px solid var(--line);border-radius:12px;min-height:auto}.admin-content input,.admin-content select{max-width:820px}.admin-content .compact-form input,.admin-content .compact-form select,.admin-content .compact-form textarea{max-width:900px}.admin-content table{display:table;overflow:visible}.admin-content td small{word-break:break-all}
@media (max-width:900px){.admin-shell{grid-template-columns:1fr}.admin-sidebar-nav{position:static;height:auto;display:flex;overflow:auto;gap:8px}.admin-sidebar-nav a{white-space:nowrap}.admin-nav-title{display:none}.admin-content{padding:16px}}

.copy-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:8px 0}
.copy-row code{background:#f2f7fb;border:1px solid #cfe3f1;border-radius:8px;padding:8px;display:inline-block}

/* V4.32.1 temporary spreadsheet uploads */
.attach-btn{width:48px;min-width:48px;align-self:stretch;background:#fff;color:#0867b5;border:1px solid #9dcced;white-space:nowrap;font-size:24px;padding:0}
.file-chip{margin:0 0 8px;padding:8px 10px;border:1px solid #9dcced;border-radius:12px;background:#e8f6ff;display:flex;align-items:center;gap:10px;color:#075985;font-weight:700}
.file-chip.hidden{display:none}.file-chip button{padding:2px 8px;background:transparent;color:#9b1c31;border:0;font-size:20px}
.file-chip .hidden{display:none}.file-chip.image-preview{position:relative;width:max-content;max-width:100%;padding:5px;background:#fff;border-color:#9dcced;box-shadow:0 3px 12px #294e6a18}.file-preview{display:block;width:112px;height:76px;object-fit:cover;border-radius:8px;border:1px solid #c9dfed;background:#eef6fa}.file-chip.image-preview button{position:absolute;right:-9px;top:-9px;width:25px;height:25px;padding:0;border-radius:50%;background:#a71930;color:#fff;border:2px solid #fff;box-shadow:0 2px 7px #17203333;font-size:16px;line-height:20px}.file-chip.image-preview button:hover{background:#7f1024}
.chat.drag-active{outline:3px dashed #0988f5;outline-offset:-8px;background:#e8f6ff88}
.report-link.xlsx{background:linear-gradient(135deg,#107c41,#21a366)!important}
@media (max-width:720px){#form textarea{min-width:0}.attach-btn{width:44px;min-width:44px}#sendBtn{padding:9px 11px}}

/* V4.34.1 voice playback reliability and compact composer */
.composer-shell{border-top:1px solid var(--line);background:#ffffffdc;padding:11px 14px 8px;box-shadow:0 -8px 28px #294e6a0c}
.composer-toolbar{max-width:1050px;margin:0 auto 8px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.voice-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.voice-button{padding:7px 11px;border-radius:10px;background:#fff;color:#075985;border:1px solid #b9d5e7;box-shadow:none;font-size:13px}
.voice-button.conversation{background:linear-gradient(135deg,#075985,#0891b2);color:#fff;border-color:transparent}
.voice-button.stop{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}
.voice-button.replay{background:#f0f9ff;color:#075985;border:1px solid #bae6fd}
.voice-button.active{background:linear-gradient(135deg,#e11d48,#f43f5e);color:#fff;border-color:transparent;animation:voicePulse 1.4s ease-in-out infinite}
.voice-button.conversation.active{background:linear-gradient(135deg,#6d28d9,#0891b2)}
.voice-button:disabled{opacity:.55;cursor:not-allowed;animation:none}
.voice-state{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);font-weight:700;padding:6px 9px;border-radius:999px;background:#f5f9fc;border:1px solid var(--line);white-space:nowrap}
.voice-dot{width:8px;height:8px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 3px #94a3b822}
.voice-state.listening .voice-dot{background:#e11d48;box-shadow:0 0 0 4px #e11d4822;animation:voicePulse 1.4s ease-in-out infinite}
.voice-state.speaking .voice-dot{background:#7c3aed;box-shadow:0 0 0 4px #7c3aed22;animation:voicePulse 1.1s ease-in-out infinite}
.voice-state.thinking .voice-dot{background:#0284c7;box-shadow:0 0 0 4px #0284c722}
.voice-state.error .voice-dot{background:#dc2626;box-shadow:0 0 0 4px #dc262622}
.voice-state.listening{color:#9f1239;background:#fff1f2;border-color:#fecdd3}.voice-state.speaking{color:#5b21b6;background:#f5f3ff;border-color:#ddd6fe}.voice-state.thinking{color:#075985;background:#f0f9ff;border-color:#bae6fd}
.voice-state.error{color:#991b1b;background:#fff1f2;border-color:#fecaca}
.voice-privacy{padding-top:6px;text-align:center;color:var(--muted);font-size:10px}
.composer-shell #form{max-width:1050px;margin:0 auto}
@keyframes voicePulse{0%,100%{box-shadow:0 0 0 0 #f43f5e33}50%{box-shadow:0 0 0 7px #f43f5e11}}
@media (max-width:720px){.composer-shell{padding:9px 10px 6px}.composer-toolbar{align-items:flex-start;flex-direction:column}.voice-actions{width:100%}.voice-button{flex:1;white-space:nowrap}.voice-state{align-self:stretch;justify-content:center}.voice-privacy{display:none}}

.button-link{display:inline-block;background:#07aeea;color:#001b2e;text-decoration:none;border-radius:10px;border:1px solid #0789b8;padding:9px 14px;font-weight:700;margin:4px 8px 4px 0;}
.admin-content input[type="range"]{width:min(520px,100%);accent-color:#0789b8;padding:0;border:0;background:transparent}
.result-card{background:#f8fcff;border:1px solid #c6e7fa;border-radius:10px;padding:12px;margin:10px 0;}
.result-card pre{white-space:pre-wrap;overflow:auto;}

/* V4.37.2 technician IT operations feed */
.operations-feed{flex:0 0 auto;background:#f8fcff;border-bottom:1px solid var(--line);padding:10px 16px 9px;box-shadow:0 7px 20px #183f5a0c;max-height:260px;overflow:hidden;transition:max-height .2s ease,padding .2s ease}
.operations-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.operations-head>div:first-child{display:flex;align-items:baseline;gap:10px;min-width:0}.operations-head b{font-size:15px;color:#073b5c}.operations-head span{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.operations-actions{display:flex;gap:6px}.operations-actions button{padding:5px 9px;font-size:11px;background:#fff;color:#075985;border:1px solid #b9d5e7;box-shadow:none;white-space:nowrap}
.operations-m365{font-size:11px;border-radius:9px;padding:6px 9px;margin-bottom:7px;background:#f1f5f9;color:#475569;border:1px solid #dbe5ec}.operations-m365.ok{background:#ecfdf5;color:#166534;border-color:#bbf7d0}.operations-m365.has-issues{background:#fff7ed;color:#9a3412;border-color:#fed7aa}.operations-m365.permission{background:#fffbeb;color:#92400e;border-color:#fde68a}
.operations-items{display:flex;gap:9px;overflow-x:auto;overflow-y:hidden;padding:1px 1px 7px;scrollbar-width:thin}.operations-card{flex:0 0 285px;display:flex;flex-direction:column;gap:4px;min-height:105px;background:#fff;border:1px solid #d7e4ed;border-left:4px solid #3b82f6;border-radius:12px;padding:9px 10px;color:var(--text);text-decoration:none;font-weight:400;box-shadow:0 5px 14px #173f5b0a}.operations-card:hover{border-color:#7cc5ec;transform:translateY(-1px)}.operations-card.warning{border-left-color:#f59e0b}.operations-card.critical{border-left-color:#dc2626;background:#fffafa}.operations-card.link{border-left-color:#0ea5e9;background:#f0f9ff}.operations-card.resolved{border-left-color:#16a34a}.operations-card-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.operations-source{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.035em;color:#075985;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.operations-status{font-size:9px;background:#edf4f8;border-radius:999px;padding:2px 6px;color:#526577;white-space:nowrap}.operations-card strong{font-size:12px;line-height:1.25}.operations-card p{font-size:10px;line-height:1.3;color:#526577;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.operations-card time{font-size:9px;color:#718394;margin-top:auto}.operations-loading{min-height:90px;display:flex;align-items:center;color:var(--muted);font-size:12px;padding:10px}.operations-foot{font-size:9px;color:#718394;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.operations-feed.collapsed{max-height:48px;padding-bottom:7px}.operations-feed.collapsed .operations-m365,.operations-feed.collapsed .operations-items,.operations-feed.collapsed .operations-foot{display:none}.operations-feed.collapsed .operations-head{margin-bottom:0}
@media (max-width:720px){.operations-feed{padding:9px 10px}.operations-head>div:first-child{display:block}.operations-head span{display:block;margin-top:2px}.operations-card{flex-basis:250px}.operations-actions button{padding:5px 7px}.operations-feed{max-height:250px}}

/* V4.37.3 dedicated technician news landing page */
nav a.nav-active{background:#e0f2fe;border-color:#7dd3fc;color:#075985}
.operations-dashboard{max-width:1500px;margin:0 auto;padding:28px}.operations-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:20px;padding:24px 26px;border:1px solid #b9dceb;border-radius:22px;background:linear-gradient(135deg,#ffffffed,#e8f7ffed);box-shadow:0 16px 40px #1e5b7e12}.operations-hero h1{margin:5px 0 8px;font-size:30px}.operations-hero p{margin:0;max-width:900px;color:var(--muted);line-height:1.5}.eyebrow{font-size:11px;letter-spacing:.12em;font-weight:900;color:#0284c7}.operations-chat-cta{background:linear-gradient(135deg,#0788ef,#19c5d6);color:white;border:0;padding:13px 18px;white-space:nowrap;box-shadow:0 10px 24px #0b82d522}
.operations-dashboard .operations-feed{max-height:none;overflow:visible;border:1px solid var(--line);border-radius:20px;padding:18px;background:#ffffffd9;box-shadow:0 14px 36px #183f5a10}.operations-dashboard .operations-head{margin-bottom:12px}.operations-dashboard .operations-head b{font-size:20px}.operations-dashboard .operations-m365{padding:10px 12px;font-size:13px;margin-bottom:14px}.operations-dashboard .operations-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px;overflow:visible;padding:0}.operations-dashboard .operations-card{min-width:0;min-height:145px;flex:none;padding:13px 14px}.operations-dashboard .operations-card strong{font-size:14px}.operations-dashboard .operations-card p{font-size:12px;-webkit-line-clamp:3}.operations-dashboard .operations-foot{margin-top:13px;font-size:11px;white-space:normal}.operations-source-note{display:flex;gap:18px;align-items:flex-start;margin-top:16px;padding:16px 18px;border-radius:16px;border:1px solid #cfe4ef;background:#f8fcff}.operations-source-note b{white-space:nowrap;color:#075985}.operations-source-note span{color:var(--muted);line-height:1.45}.service-health-setup ol{margin:8px 0 10px;padding-left:24px}.service-health-setup li{margin:4px 0}
@media (max-width:850px){header{height:auto;min-height:58px;align-items:flex-start;gap:10px;padding:10px 12px}header nav{justify-content:flex-end;flex-wrap:wrap}.operations-dashboard{padding:14px}.operations-hero{align-items:flex-start;flex-direction:column;padding:19px}.operations-hero h1{font-size:24px}.operations-dashboard .operations-items{grid-template-columns:1fr}.operations-source-note{flex-direction:column;gap:5px}}

/* V4.37.4 direct incident detail cards and collection diagnostics */
.operations-dashboard .operations-card p{display:block;-webkit-line-clamp:unset;overflow:visible}.operations-affected{font-size:11px;font-weight:800;color:#075985;margin-top:5px}.operations-detail{display:flex;flex-direction:column;gap:3px;margin-top:5px;padding:8px;border-radius:9px;background:#f5f9fc;border:1px solid #dce8ef;font-size:11px;line-height:1.4}.operations-detail b{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#526577}.operations-source-link{align-self:flex-start!important;margin-top:4px!important;padding:0!important;border:0!important;background:transparent!important;color:#0867b5!important;text-decoration:underline!important;font-size:10px!important;box-shadow:none!important}.operations-source-title{font-size:13px;color:#075985;margin:16px 0 8px}.operations-sources{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:7px}.operations-source-state{display:flex;flex-direction:column;gap:3px;padding:8px 10px;border-radius:10px;border:1px solid #dbe5ec;background:#f8fafc}.operations-source-state b{font-size:10px;text-transform:uppercase;letter-spacing:.04em}.operations-source-state span{font-size:10px;color:#526577}.operations-source-state.ok{border-color:#bbf7d0;background:#f0fdf4}.operations-source-state.limited{border-color:#fde68a;background:#fffbeb}.operations-source-state.failed{border-color:#fecaca;background:#fff1f2}

/* V4.37.6 clickable official-source status tiles */
a.operations-source-state{position:relative;color:inherit;text-decoration:none;cursor:pointer;padding-right:28px;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease}a.operations-source-state::after{content:'↗';position:absolute;right:10px;top:8px;color:#0875b9;font-size:13px;font-weight:800}a.operations-source-state:hover{transform:translateY(-1px);border-color:#60a5fa;box-shadow:0 5px 14px #07598518}a.operations-source-state:focus-visible{outline:3px solid #38bdf8;outline-offset:2px}

/* V4.38.14 unified Admin control centre */
.admin-shell{grid-template-columns:272px minmax(0,1fr);background:linear-gradient(135deg,#eef7fc 0%,#f7fbfe 48%,#edf5fb 100%)}
.admin-sidebar-nav{top:58px;height:calc(100vh - 58px);padding:18px 14px 22px;background:#f8fbfd;border-right:1px solid #d7e3ec;box-shadow:8px 0 28px #183f5a08;backdrop-filter:none}
.admin-nav-brand{display:flex;flex-direction:column;gap:3px;padding:2px 8px 14px}.admin-nav-brand span{font-size:10px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;color:#0284c7}.admin-nav-brand b{font-size:19px;color:#172033}
.admin-nav-search{height:38px;display:flex!important;align-items:center;gap:7px;margin:0 5px 15px!important;padding:0 10px;border:1px solid #cfdee8;border-radius:10px;background:#fff;color:#64748b;box-shadow:0 2px 8px #173f5b08}.admin-nav-search:focus-within{border-color:#38bdf8;box-shadow:0 0 0 3px #38bdf81d}.admin-nav-search input{width:100%;min-width:0;margin:0!important;padding:0!important;border:0!important;outline:0;background:transparent;font-size:12px;color:#172033;box-shadow:none!important}.admin-nav-search span{font-size:18px;line-height:1}
.admin-nav-groups{display:block!important}.admin-nav-group{margin:0 0 13px}.admin-nav-title{margin:0 8px 4px;font-size:9px;letter-spacing:.12em;color:#8192a3}.admin-sidebar-nav a{display:flex;align-items:center;gap:9px;margin:2px 0;padding:7px 9px;border-radius:10px;font-size:12px;font-weight:700;color:#334155;transition:background .14s ease,border-color .14s ease,transform .14s ease}.admin-sidebar-nav a:hover{background:#fff;border-color:#cfe2ee;transform:translateX(2px)}.admin-sidebar-nav a.active{background:linear-gradient(135deg,#e0f4ff,#ddf9f7);color:#075985;border:1px solid #8ed8ed;box-shadow:0 4px 14px #0b82d512}.admin-nav-icon{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:7px;background:#e9f2f7;color:#526577;font-size:11px;font-weight:900}.admin-sidebar-nav a.active .admin-nav-icon{background:linear-gradient(135deg,#0b8ff3,#19c5d6);color:#fff}.admin-nav-empty{margin:12px 5px;padding:10px;border:1px dashed #cadbe6;border-radius:10px;color:#718394;font-size:11px;text-align:center}
.admin-content{padding:22px 28px 48px}.admin-content-bar{max-width:1460px;margin:0 auto 12px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 4px}.admin-content-bar>div{display:flex;flex-direction:column;gap:2px}.admin-content-bar b{font-size:14px;color:#334155}.admin-shortcut{font-size:10px;color:#718394}.admin-shortcut kbd{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #cfdde6;border-bottom-width:2px;border-radius:5px;background:#fff;color:#526577;font:10px Consolas,monospace}
.admin-section{max-width:1460px;margin:0 auto;padding:28px 30px 34px;border-radius:16px;border-color:#d6e4ed;background:#fff;box-shadow:0 12px 34px #173f5b0b}.admin-section.active{animation:adminSectionIn .16s ease-out}@keyframes adminSectionIn{from{opacity:.35;transform:translateY(3px)}to{opacity:1;transform:none}}.admin-section>h1,.admin-section>h2{margin:0 0 7px;color:#172033;font-size:25px;letter-spacing:-.025em}.admin-section>h1+p,.admin-section>h2+p{margin-top:0;max-width:1050px;line-height:1.5}.admin-section h3{margin:28px 0 12px;padding-top:20px;border-top:1px solid #e3ebf1;color:#263547;font-size:16px}.admin-section hr{margin:26px 0 4px;border:0;border-top:1px solid #e3ebf1}
.admin-summary-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:22px 0}.summary-tile{min-height:92px;padding:15px;border-radius:12px;background:linear-gradient(145deg,#f8fcff,#f2f8fc);border-color:#d8e7f0}.summary-tile b{font-size:10px}.summary-tile span{font-size:18px;overflow-wrap:anywhere}.admin-section .muted{font-size:12px;line-height:1.5;color:#607386}.admin-section code{overflow-wrap:anywhere}.admin-section .security-note{padding:14px 16px;margin:14px 0;border-radius:12px;background:#f4fbff;border-color:#c8e7f5;line-height:1.5}.admin-section .security-note p:last-child{margin-bottom:0}
.admin-form{display:grid;grid-template-columns:minmax(210px,280px) minmax(0,1fr);align-items:center;column-gap:22px;row-gap:5px;margin:18px 0;padding:20px 22px;border:1px solid #dce7ee;border-radius:14px;background:#fbfdff}.admin-form>label:not(.check){grid-column:1;margin:0!important;color:#405368;font-size:12px;line-height:1.35}.admin-form>input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),.admin-form>select,.admin-form>textarea{grid-column:2;width:100%;max-width:none!important;margin:3px 0!important}.admin-form>input[type="range"]{grid-column:2;max-width:560px}.admin-form>.check{grid-column:1/-1;display:flex!important;align-items:flex-start;gap:10px;margin:6px 0!important;padding:9px 11px;border:1px solid #e1eaf0;border-radius:10px;background:#fff;color:#334155!important;font-weight:600!important}.admin-form>.check input[type="checkbox"],.admin-form>.check input[type="radio"]{flex:0 0 auto;width:16px!important;height:16px;margin:1px 0 0!important;padding:0!important;accent-color:#0891b2;box-shadow:none}.admin-form>h3,.admin-form>h4,.admin-form>p,.admin-form>.muted,.admin-form>.security-note,.admin-form>.button-row,.admin-form>pre{grid-column:1/-1}.admin-form>h3{margin:20px 0 7px}.admin-form>button[type="submit"],.admin-form>button:not([type]){grid-column:2;justify-self:start;margin-top:10px}.admin-form .button-row{margin-bottom:0}
.admin-section input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),.admin-section select,.admin-section textarea{min-height:40px;border-radius:9px;border-color:#cfdee8;background:#fff;box-shadow:inset 0 1px 2px #17203308}.admin-section input:focus,.admin-section select:focus,.admin-section textarea:focus{outline:0;border-color:#38bdf8;box-shadow:0 0 0 3px #38bdf81a}.admin-section textarea{line-height:1.45}.admin-section button{border-radius:9px;padding:9px 13px;font-size:12px;color:#fff;box-shadow:0 5px 14px #0b82d518}.admin-section button.danger{box-shadow:0 5px 14px #dc354522}.admin-section button:disabled{opacity:.55;cursor:not-allowed}
.admin-inline-form{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:14px 0;padding:14px;border:1px solid #dce7ee;border-radius:12px;background:#fbfdff}.admin-inline-form input,.admin-inline-form select{width:auto;min-width:180px;max-width:360px!important;margin:0!important}.admin-inline-form .check{display:flex;align-items:center;gap:8px;margin:0}.admin-inline-form .check input{width:16px!important;margin:0!important}.admin-inline-form button{white-space:nowrap}.admin-section .button-row,.admin-section .actions{padding:12px 0;margin:8px 0}.admin-section .copy-row button{box-shadow:none}.admin-section .purge-row{margin-top:20px;padding:16px;border:1px solid #fecdd3;border-radius:12px;background:#fff7f8}.admin-section .purge-row::before{content:'Danger zone';width:100%;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#be123c}
.admin-table-scroll{width:100%;overflow:auto;margin:14px 0 5px;border:1px solid #dce7ee;border-radius:12px;background:#fff}.admin-content .admin-table-scroll table{display:table;width:100%;min-width:680px;margin:0}.admin-content th{padding:10px 12px;background:#f4f8fb;color:#526577;font-size:10px;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.admin-content td{padding:9px 12px;vertical-align:top}.admin-content tbody tr:hover td{background:#f9fcfe}.admin-content td form{margin:0;padding:0;background:transparent;border:0}.admin-content td button{padding:6px 9px;box-shadow:none}.admin-section pre{border:1px solid #dae6ee;background:#f6f9fb;border-radius:10px;font:11px/1.45 Consolas,monospace;color:#334155}.admin-section .result:empty{display:none}.admin-section .result{margin:12px 0;min-height:0}.admin-advanced{margin-top:20px;border:1px solid #dce7ee;border-radius:12px;background:#f9fcfe}.admin-advanced summary{cursor:pointer;padding:12px 14px;font-weight:800;font-size:12px;color:#405368}.admin-advanced pre{margin:0;border:0;border-top:1px solid #dce7ee;border-radius:0}
@media (max-width:1100px){.admin-shell{grid-template-columns:238px minmax(0,1fr)}.admin-sidebar-nav{padding-left:10px;padding-right:10px}.admin-content{padding:18px}.admin-section{padding:23px}.admin-form{grid-template-columns:1fr}.admin-form>label:not(.check),.admin-form>input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),.admin-form>select,.admin-form>textarea,.admin-form>input[type="range"],.admin-form>button[type="submit"],.admin-form>button:not([type]){grid-column:1}.admin-form>button[type="submit"],.admin-form>button:not([type]){justify-self:start}}
@media (max-width:760px){header{height:auto;min-height:58px;align-items:flex-start;padding:10px 12px}.brand b{font-size:18px}.brand span{display:none}header nav{gap:5px;flex-wrap:wrap;justify-content:flex-end}header nav a,header nav .pill{padding:6px 8px;font-size:10px}.admin-shell{display:block}.admin-sidebar-nav{position:static;height:auto;padding:12px;border-right:0;border-bottom:1px solid #d7e3ec}.admin-nav-brand{display:none}.admin-nav-search{margin-bottom:9px!important}.admin-nav-groups{display:flex!important;overflow-x:auto;gap:6px;padding-bottom:4px}.admin-nav-group{display:flex;gap:4px;margin:0}.admin-nav-title{display:none}.admin-sidebar-nav a{white-space:nowrap;margin:0}.admin-nav-icon{display:none}.admin-content{padding:12px}.admin-content-bar{margin-bottom:8px}.admin-shortcut{display:none}.admin-section{padding:18px 14px;border-radius:13px}.admin-section>h1,.admin-section>h2{font-size:21px}.admin-form{padding:14px}.admin-inline-form{align-items:stretch;flex-direction:column}.admin-inline-form input,.admin-inline-form select,.admin-inline-form button{width:100%;max-width:none!important}.admin-summary-grid{grid-template-columns:1fr 1fr}}

/* V4.38.15 custom authoritative-source management */
.admin-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:28px 0 12px}.admin-section-heading h3{margin:0 0 5px;padding:0;border:0}.admin-section-heading p{margin:0}.custom-source-editor{margin:14px 0 18px;padding:20px;border:1px solid #b9dcec;border-radius:14px;background:linear-gradient(145deg,#f8fcff,#f4fbfb);box-shadow:0 10px 28px #17324d0b}.custom-source-editor .admin-section-heading{margin:0 0 18px}.custom-source-editor .admin-form small{grid-column:2;color:#61758a;margin-top:-8px}.form-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}.admin-section button.secondary{background:#eef5f8;color:#17324d;border-color:#c5d7e2;box-shadow:none}.status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;background:#edf3f6;color:#587085}.status-pill.ok{background:#e1f8ec;color:#087647}.table-actions{min-width:250px}.table-actions button{margin:0 4px 4px 0;padding:6px 9px;font-size:11px;box-shadow:none}
@media(max-width:760px){.admin-section-heading{align-items:stretch;flex-direction:column}.admin-section-heading>button{align-self:flex-start}.custom-source-editor .admin-form small{grid-column:1}.table-actions{min-width:210px}}

/* V4.39.2 reviewable code panels and persistent appearance */
.code-panel{margin:14px 0;border:1px solid #3b3b3b;border-radius:16px;background:#202020;color:#e8e8e8;overflow:hidden;white-space:normal;box-shadow:0 10px 26px #0f172a20}.code-panel-head{height:45px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 14px 0 17px;background:#292929;border-bottom:1px solid #3a3a3a;color:#f4f4f4;font-size:12px;font-weight:700}.code-panel-head>span{display:flex;align-items:center;gap:8px}.code-panel-head>span>b{font:11px Consolas,monospace;color:#b9c1ca}.copy-code{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border:0;border-radius:8px;background:transparent;color:#e5e7eb;font-size:12px;font-weight:600;box-shadow:none}.copy-code:hover{background:#3a3a3a}.copy-code:focus-visible{outline:2px solid #38bdf8;outline-offset:1px}.copy-code.copied{color:#86efac}.code-panel pre{margin:0;padding:16px 18px;max-height:620px;overflow:auto;border-radius:0;background:#202020;color:#e8e8e8;white-space:pre;tab-size:4;font:13px/1.65 Consolas,"Cascadia Code","SFMono-Regular",monospace}.code-panel code{font:inherit;color:inherit}.code-comment{color:#8b949e;font-style:italic}.code-string{color:#7ee787}.code-keyword{color:#d2a8ff}.code-variable{color:#79c0ff}.code-parameter{color:#ff7b72}.code-function{color:#ffa657}.code-number{color:#a5d6ff}.code-name{color:#e6edf3}
.theme-control{display:inline-flex;align-items:center;gap:4px;padding:2px 5px 2px 9px;border:1px solid var(--line);border-radius:12px;background:var(--control-bg,#fff);color:var(--text);font-weight:700}.theme-control span{font-size:13px;color:var(--muted)}.theme-select{width:auto;min-width:70px;margin:0;padding:6px 22px 6px 3px;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:11px;font-weight:700;box-shadow:none;cursor:pointer}.theme-select:focus{outline:2px solid #38bdf8}.theme-control-floating{position:fixed;right:14px;top:14px;z-index:20;box-shadow:0 7px 24px #0f172a24}
html[data-theme="dark"]{--bg:#111418;--panel:#1a2028e8;--line:#36414d;--text:#e7edf4;--muted:#a5b2c0;--accent:#38bdf8;--dark:#d5dee8;--control-bg:#1d252e;color-scheme:dark}
html[data-theme="dark"] body{background:radial-gradient(circle at 15% 5%,#12324a,transparent 32%),#111418;color:var(--text)}
html[data-theme="dark"] header,html[data-theme="dark"] .composer-shell{background:#171d24e8;border-color:var(--line)}
html[data-theme="dark"] .shell>aside:first-child,html[data-theme="dark"] .admin-sidebar-nav{background:#151b22e8;border-color:var(--line)}
html[data-theme="dark"] .msg.lisa,html[data-theme="dark"] .card,html[data-theme="dark"] .login-card,html[data-theme="dark"] .chat-table-wrap,html[data-theme="dark"] .operations-dashboard .operations-feed,html[data-theme="dark"] .admin-section{background:#1b222b;color:var(--text);border-color:var(--line)}
html[data-theme="dark"] .msg.you,html[data-theme="dark"] .chat-row.active .chat-title{background:#173047;border-color:#35617d}
html[data-theme="dark"] .chat-title,html[data-theme="dark"] .chat-del,html[data-theme="dark"] .project-section,html[data-theme="dark"] .project-head button,html[data-theme="dark"] .activity-toggle,html[data-theme="dark"] .voice-button,html[data-theme="dark"] .attach-btn,html[data-theme="dark"] .spinner{background:#1b232c;color:var(--text);border-color:var(--line)}
html[data-theme="dark"] textarea,html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] .admin-section input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),html[data-theme="dark"] .admin-section select,html[data-theme="dark"] .admin-section textarea{background:#141a21;color:var(--text);border-color:var(--line)}
html[data-theme="dark"] .chat-table th,html[data-theme="dark"] .admin-content th{background:#222c36;color:#dce8f3;border-color:var(--line)}html[data-theme="dark"] .chat-table td,html[data-theme="dark"] td,html[data-theme="dark"] th{border-color:var(--line)}html[data-theme="dark"] .chat-table tbody tr:nth-child(even){background:#171e26}
html[data-theme="dark"] .notice,html[data-theme="dark"] .composer-shell,html[data-theme="dark"] .chats-head{border-color:var(--line)}
html[data-theme="dark"] .operations-hero,html[data-theme="dark"] .operations-card,html[data-theme="dark"] .operations-source-note,html[data-theme="dark"] .operations-detail,html[data-theme="dark"] .operations-source-state,html[data-theme="dark"] .admin-form,html[data-theme="dark"] .admin-inline-form,html[data-theme="dark"] .summary-tile,html[data-theme="dark"] .security-note,html[data-theme="dark"] .result-card,html[data-theme="dark"] .result{background:#1a222b;color:var(--text);border-color:var(--line)}
html[data-theme="dark"] .admin-shell{background:linear-gradient(135deg,#111820,#161d25 48%,#111820)}html[data-theme="dark"] .admin-section h3,html[data-theme="dark"] .admin-section>h1,html[data-theme="dark"] .admin-section>h2,html[data-theme="dark"] .admin-content-bar b{color:var(--text);border-color:var(--line)}
html[data-theme="dark"] .admin-form>.check{background:#171f27;color:var(--text)!important;border-color:var(--line)}html[data-theme="dark"] .admin-table-scroll{background:#171e26;border-color:var(--line)}html[data-theme="dark"] .admin-content tbody tr:hover td{background:#232d37}
html[data-theme="dark"] a,html[data-theme="dark"] .pill{background:#1b232c;color:var(--text);border-color:var(--line)}html[data-theme="dark"] .msg a.inline-web-link{color:#7dd3fc}html[data-theme="dark"] nav a.nav-active{background:#15364b;color:#7dd3fc;border-color:#357a9f}
@media(prefers-color-scheme:dark){
  html[data-theme="system"]{--bg:#111418;--panel:#1a2028e8;--line:#36414d;--text:#e7edf4;--muted:#a5b2c0;--accent:#38bdf8;--dark:#d5dee8;--control-bg:#1d252e;color-scheme:dark}
  html[data-theme="system"] body{background:radial-gradient(circle at 15% 5%,#12324a,transparent 32%),#111418;color:var(--text)}
  html[data-theme="system"] header,html[data-theme="system"] .composer-shell{background:#171d24e8;border-color:var(--line)}
  html[data-theme="system"] .shell>aside:first-child,html[data-theme="system"] .admin-sidebar-nav{background:#151b22e8;border-color:var(--line)}
  html[data-theme="system"] .msg.lisa,html[data-theme="system"] .card,html[data-theme="system"] .login-card,html[data-theme="system"] .chat-table-wrap,html[data-theme="system"] .operations-dashboard .operations-feed,html[data-theme="system"] .admin-section{background:#1b222b;color:var(--text);border-color:var(--line)}
  html[data-theme="system"] .msg.you,html[data-theme="system"] .chat-row.active .chat-title{background:#173047;border-color:#35617d}
  html[data-theme="system"] .chat-title,html[data-theme="system"] .chat-del,html[data-theme="system"] .project-section,html[data-theme="system"] .project-head button,html[data-theme="system"] .activity-toggle,html[data-theme="system"] .voice-button,html[data-theme="system"] .attach-btn,html[data-theme="system"] .spinner,html[data-theme="system"] a,html[data-theme="system"] .pill{background:#1b232c;color:var(--text);border-color:var(--line)}
  html[data-theme="system"] textarea,html[data-theme="system"] input,html[data-theme="system"] select,html[data-theme="system"] .admin-section input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),html[data-theme="system"] .admin-section select,html[data-theme="system"] .admin-section textarea{background:#141a21;color:var(--text);border-color:var(--line)}
  html[data-theme="system"] .admin-shell{background:linear-gradient(135deg,#111820,#161d25 48%,#111820)}
}
@media(max-width:760px){.theme-control{padding-left:6px}.theme-control span{display:none}.theme-select{min-width:62px;padding-right:17px}.code-panel{margin-left:-5px;margin-right:-5px;border-radius:12px}.code-panel pre{padding:13px;font-size:12px}}

/* V4.40 semantic dark surfaces. System mode resolves to data-theme=dark in theme.js,
   so every page uses this single contrast-safe palette instead of partial page rules. */
html[data-theme="dark"]{--surface:#1b222b;--surface-raised:#202a35;--surface-soft:#17212b;--surface-input:#111820;--heading:#f2f7fb;--body-copy:#d5e0ea;--secondary-copy:#aebdcb;--link:#7dd3fc}
html[data-theme="dark"] .operations-hero{background:linear-gradient(135deg,#192631,#17212b);border-color:#3a5264;box-shadow:0 16px 40px #0006}
html[data-theme="dark"] .operations-hero h1,html[data-theme="dark"] .operations-head b,html[data-theme="dark"] .operations-card strong,html[data-theme="dark"] .operations-source-title{color:var(--heading)}
html[data-theme="dark"] .operations-hero p,html[data-theme="dark"] .operations-card p,html[data-theme="dark"] .operations-card time,html[data-theme="dark"] .operations-foot,html[data-theme="dark"] .operations-source-note span,html[data-theme="dark"] .operations-source-state span{color:var(--secondary-copy)}
html[data-theme="dark"] .operations-dashboard .operations-feed,html[data-theme="dark"] .operations-card,html[data-theme="dark"] .operations-card.critical,html[data-theme="dark"] .operations-card.warning,html[data-theme="dark"] .operations-card.link,html[data-theme="dark"] .operations-card.resolved{background:var(--surface-raised);color:var(--body-copy);border-color:#3b4a58}
html[data-theme="dark"] .operations-detail,html[data-theme="dark"] .operations-source-note,html[data-theme="dark"] .operations-source-state{background:var(--surface-soft);color:var(--body-copy);border-color:#394958}
html[data-theme="dark"] .operations-source,html[data-theme="dark"] .operations-affected,html[data-theme="dark"] .operations-source-note b,html[data-theme="dark"] .operations-source-link,html[data-theme="dark"] a.operations-source-state::after{color:var(--link)!important}
html[data-theme="dark"] .operations-detail b,html[data-theme="dark"] .operations-status{color:#c4d2df;background:#263340}
html[data-theme="dark"] .operations-card.critical{border-left-color:#fb7185}html[data-theme="dark"] .operations-card.warning{border-left-color:#fbbf24}html[data-theme="dark"] .operations-card.link{border-left-color:#38bdf8}html[data-theme="dark"] .operations-card.resolved{border-left-color:#4ade80}
html[data-theme="dark"] .operations-source-state.ok{background:#14291f;border-color:#276749}html[data-theme="dark"] .operations-source-state.limited{background:#2d2616;border-color:#7c6325}html[data-theme="dark"] .operations-source-state.failed{background:#301c22;border-color:#7f3949}
html[data-theme="dark"] .admin-section>h1,html[data-theme="dark"] .admin-section>h2,html[data-theme="dark"] .admin-section h3,html[data-theme="dark"] .admin-content-bar b,html[data-theme="dark"] .summary-tile span{color:var(--heading)}
html[data-theme="dark"] .admin-section .muted,html[data-theme="dark"] .summary-tile b,html[data-theme="dark"] .admin-shortcut,html[data-theme="dark"] .admin-form label,html[data-theme="dark"] .admin-form small{color:var(--secondary-copy)}
html[data-theme="dark"] .summary-tile,html[data-theme="dark"] .admin-form,html[data-theme="dark"] .admin-inline-form,html[data-theme="dark"] .admin-advanced,html[data-theme="dark"] .custom-source-editor,html[data-theme="dark"] .security-note,html[data-theme="dark"] .result-card,html[data-theme="dark"] .result{background:var(--surface-raised);color:var(--body-copy);border-color:#3b4a58}
html[data-theme="dark"] .admin-sidebar-nav a{background:transparent;color:var(--body-copy);border-color:transparent}html[data-theme="dark"] .admin-sidebar-nav a:hover{background:#202c37;border-color:#3b4a58}html[data-theme="dark"] .admin-sidebar-nav a.active{background:#14394e;color:#dff6ff;border-color:#38bdf8;box-shadow:none}
html[data-theme="dark"] .admin-nav-icon{background:#263440;color:#d9e7f2}html[data-theme="dark"] .admin-sidebar-nav a.active .admin-nav-icon{background:#0ea5e9;color:#fff}
html[data-theme="dark"] .admin-nav-search,html[data-theme="dark"] .admin-shortcut kbd,html[data-theme="dark"] .admin-section button.secondary,html[data-theme="dark"] .status-pill{background:var(--surface-soft);color:var(--body-copy);border-color:#425260}
html[data-theme="dark"] .admin-nav-search input{background:transparent;color:var(--heading)}html[data-theme="dark"] .admin-advanced summary{color:var(--body-copy)}html[data-theme="dark"] .admin-section pre{background:var(--surface-input);color:#dce8f3;border-color:#3b4a58}
html[data-theme="dark"] .admin-table-scroll{background:var(--surface);color:var(--body-copy)}html[data-theme="dark"] .admin-content tbody tr:hover td{background:#25313c}

/* V4.43.2 account workspace */
.account-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:calc(100vh - 58px);background:linear-gradient(135deg,#eaf6fd,#f7fbfe 50%,#e9f5fc)}
.account-nav{padding:28px 18px;border-right:1px solid var(--line);background:#f8fcffcc}.account-person{padding:0 10px 22px;display:flex;flex-direction:column;gap:4px;border-bottom:1px solid var(--line)}.account-person span,.account-person small{font-size:11px;color:var(--muted)}.account-person b{font-size:16px}.account-nav nav{display:flex;flex-direction:column;align-items:stretch;gap:5px;padding-top:18px}.account-nav nav a{background:transparent;border-color:transparent;padding:11px 12px}.account-nav nav a:hover{background:#fff;border-color:var(--line)}.account-nav nav a.active{background:#dff3ff;border-color:#83c9ec;color:#075985}
.account-content{padding:34px;min-width:0}.account-section{display:none;max-width:1120px;margin:0 auto;padding:30px;border-radius:18px}.account-section.active{display:block}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.section-heading h1{margin:4px 0 6px;font-size:27px}.section-heading p{margin:0;color:var(--muted);max-width:700px;line-height:1.5}.eyebrow{font-size:10px;font-weight:900;letter-spacing:.11em;color:#0788b7}.primary-action,.secondary-action{display:inline-flex;align-items:center;justify-content:center}.primary-action{background:linear-gradient(135deg,#0988f5,#17c8d5);color:#fff;border:0}.secondary-action{background:#fff;color:#075985;border-color:#9dcced}
.account-form{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px;padding:22px;border:1px solid var(--line);border-radius:14px;background:#f9fcfe}.account-form .field{min-width:0}.account-form .field.full,.account-form .form-actions.full{grid-column:1/-1}.account-form label{display:block;margin:0 0 7px;color:var(--text);font-size:12px;font-weight:800}.account-form input,.account-form select,.account-form textarea{width:100%;max-width:none!important;margin:0;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--text);font:14px Segoe UI,Arial,sans-serif}.account-form textarea{min-height:118px;resize:vertical;line-height:1.45}.account-form small{display:block;margin-top:6px;color:var(--muted);font-size:11px}.form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.warning-text{color:#b26c00;font-size:12px;font-weight:700}
.section-subhead{display:flex;align-items:center;justify-content:space-between;margin:30px 0 10px}.section-subhead h2{margin:0;font-size:18px}.section-subhead span{font-size:11px;color:var(--muted)}.responsive-table{overflow:auto;border:1px solid var(--line);border-radius:12px}.responsive-table table{margin:0;min-width:700px}.responsive-table th{padding:10px 12px;background:#f2f7fb;font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.responsive-table td{padding:11px 12px}.compact{padding:6px 9px;font-size:11px}.status-pill{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eef2f6;border:1px solid var(--line);font-size:10px;font-weight:800}.status-pill.online{background:#e9fbf0;color:#15733b;border-color:#b8ebca}.mini-link{display:inline-flex;padding:5px 8px;margin:2px;background:#e8f5fd;color:#07699d;border-color:#a9d8ef;font-size:10px}.empty-state{padding:22px;text-align:center;color:var(--muted);font-size:13px}.token-card{margin:0 0 20px;padding:18px;border:1px solid #7dd3fc;border-radius:14px;background:#effaff}.token-card b{display:block}.token-card code{display:block;margin:10px 0;padding:12px;border-radius:9px;background:#102131;color:#bceaff;font:14px Consolas,monospace;overflow-wrap:anywhere}.token-card p{margin:7px 0 0;color:var(--muted);font-size:12px}.token-card.token-error{border-color:#fda4af;background:#fff1f2}.token-card.token-error code{display:none}
html[data-theme="dark"] .account-shell{background:linear-gradient(135deg,#111820,#161d25 48%,#111820)}html[data-theme="dark"] .account-nav{background:#151b22;border-color:var(--line)}html[data-theme="dark"] .account-nav nav a.active{background:#14394e;color:#dff6ff;border-color:#38bdf8}html[data-theme="dark"] .account-form,html[data-theme="dark"] .responsive-table,html[data-theme="dark"] .token-card{background:#1d2630;border-color:#3b4a58}html[data-theme="dark"] .responsive-table th{background:#17212b;color:#aebdcb}html[data-theme="dark"] .account-form input,html[data-theme="dark"] .account-form select,html[data-theme="dark"] .account-form textarea{background:#111820;color:#e7edf4;border-color:#3b4a58}html[data-theme="dark"] .token-card code{background:#0d151d}
@media(max-width:820px){.account-shell{grid-template-columns:1fr}.account-nav{padding:12px;border-right:0;border-bottom:1px solid var(--line)}.account-person{display:none}.account-nav nav{padding:0;flex-direction:row;overflow:auto}.account-nav nav a{white-space:nowrap}.account-content{padding:16px}.account-section{padding:20px}.account-form{grid-template-columns:1fr}.account-form .field,.account-form .field.full,.account-form .form-actions.full{grid-column:1}.section-heading{flex-direction:column}}

/* V4.47.15 structured technician response presentation */
.msg.lisa{padding:0;overflow:hidden;white-space:normal}.message-role{font-weight:800;margin-bottom:5px}.answer-body{padding:18px 20px;white-space:normal;line-height:1.62}.answer-body>.answer-section-chip:first-child{margin-top:0}.answer-section-chip{display:inline-flex;align-items:center;gap:7px;margin:10px 8px 5px 0;padding:5px 10px 5px 6px;border:1px solid #bed8e7;border-radius:999px;background:#edf7fc;color:#174861;font-size:12px;font-weight:800;letter-spacing:.01em;vertical-align:middle}.answer-section-icon{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#d5edf8;color:#0b658f;font-size:11px;font-weight:900}.answer-section-chip.issue{background:#fff4ed;border-color:#f2cfba;color:#7f351d}.answer-section-chip.issue .answer-section-icon{background:#fee2d2;color:#a63b19}.answer-section-chip.evidence{background:#eef7ff;border-color:#bfdbf4;color:#204e76}.answer-section-chip.evidence .answer-section-icon{background:#d7eafb;color:#216491}.answer-section-chip.recommended-fix{background:#effaf3;border-color:#bfe3ca;color:#215b35}.answer-section-chip.recommended-fix .answer-section-icon{background:#d6f0df;color:#257443}.answer-section-chip.verification{background:#f5f1ff;border-color:#d5c7f2;color:#513b78}.answer-section-chip.verification .answer-section-icon{background:#e8defb;color:#65499b}.answer-section-chip.likely-cause,.answer-section-chip.assessment{background:#fff8e8;border-color:#ead6a5;color:#6e5318}.answer-section-chip.attachments{background:#f2f5f8;border-color:#d1d9e1;color:#425466}.answer-references{padding:13px 20px 15px;border-top:1px solid #d8e2ea;background:#f4f7f9;color:#536575;font-size:12px;line-height:1.55}.answer-reference-title{display:flex;align-items:center;gap:7px;margin-bottom:7px;color:#3e5263;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.answer-reference{margin:4px 0;overflow-wrap:anywhere}.answer-reference a{font-weight:700}.answer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:43px;padding:8px 14px;border-top:1px solid #d8e2ea;background:#eef3f6}.answer-source-strip,.answer-footer-state{display:flex;align-items:center;gap:7px}.answer-source-icon{display:grid!important;place-items:center;width:28px;height:28px;padding:0!important;border:1px solid #c9d5de!important;border-radius:8px!important;background:#fff!important;color:#496273!important;text-decoration:none!important;transition:transform .12s ease,border-color .12s ease,background .12s ease}.answer-source-icon:hover{transform:translateY(-1px);border-color:#75b9d7!important;background:#f4fbff!important}.answer-source-icon svg{width:15px;height:15px;fill:currentColor}.answer-source-icon.internal{cursor:default}.answer-mode-pill,.answer-access{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border:1px solid #c9d5de;border-radius:999px;background:#fff;color:#526878;font-size:10px;font-weight:800}.answer-mode-pill span{font-size:8px;color:#39a96b}.answer-access{color:#536d85}.answer-body strong{font-weight:800}
html[data-theme="dark"] .answer-body{color:var(--body-copy,#d5e0ea)}html[data-theme="dark"] .answer-references{background:#171e25;border-color:#34414d;color:#9fafbc}html[data-theme="dark"] .answer-reference-title{color:#bdcbd7}html[data-theme="dark"] .answer-footer{background:#151c23;border-color:#34414d}html[data-theme="dark"] .answer-source-icon,html[data-theme="dark"] .answer-mode-pill,html[data-theme="dark"] .answer-access{background:#202a34!important;border-color:#3a4b59!important;color:#bdcbd7}html[data-theme="dark"] .answer-source-icon:hover{background:#253441!important;border-color:#4e88a5!important}html[data-theme="dark"] .answer-section-chip{background:#20303a;border-color:#385365;color:#c9e5f3}html[data-theme="dark"] .answer-section-icon{background:#294656;color:#8ed8fa}html[data-theme="dark"] .answer-section-chip.issue{background:#35251f;border-color:#6a4636;color:#f0b79f}html[data-theme="dark"] .answer-section-chip.issue .answer-section-icon{background:#4c2d23;color:#ffb08f}html[data-theme="dark"] .answer-section-chip.evidence{background:#1d2d3b;border-color:#33526b;color:#b8d9f3}html[data-theme="dark"] .answer-section-chip.recommended-fix{background:#1e3026;border-color:#345c42;color:#b8e2c4}html[data-theme="dark"] .answer-section-chip.verification{background:#2b2438;border-color:#51436c;color:#d4c3f1}

/* V4.47.18 universal structured-answer chips + inline Autotask image previews */
.answer-section-chip.summary,.answer-section-chip.results,.answer-section-chip.details,.answer-section-chip.status,.answer-section-chip.notes,.answer-section-chip.solution,.answer-section-chip.next-steps,.answer-section-chip.findings{background:#f2f7fb;border-color:#cbdbe6;color:#345569}.answer-section-chip.summary .answer-section-icon,.answer-section-chip.results .answer-section-icon,.answer-section-chip.details .answer-section-icon,.answer-section-chip.status .answer-section-icon,.answer-section-chip.notes .answer-section-icon,.answer-section-chip.solution .answer-section-icon,.answer-section-chip.next-steps .answer-section-icon,.answer-section-chip.findings .answer-section-icon{background:#dcebf4;color:#315f78}
.ticket-image-preview{margin:10px 0 14px;padding:10px;border:1px solid #d2dee7;border-radius:12px;background:#f6f9fb;max-width:min(760px,100%)}.ticket-image-preview a{display:block;text-decoration:none}.ticket-image-preview img{display:block;max-width:100%;max-height:520px;width:auto;height:auto;margin:0 auto;border-radius:8px;background:#fff;object-fit:contain;box-shadow:0 1px 3px rgba(0,0,0,.12)}.ticket-image-preview figcaption{margin-top:8px;color:#647686;font-size:11px;font-weight:700;text-align:center}
html[data-theme="dark"] .answer-section-chip.summary,html[data-theme="dark"] .answer-section-chip.results,html[data-theme="dark"] .answer-section-chip.details,html[data-theme="dark"] .answer-section-chip.status,html[data-theme="dark"] .answer-section-chip.notes,html[data-theme="dark"] .answer-section-chip.solution,html[data-theme="dark"] .answer-section-chip.next-steps,html[data-theme="dark"] .answer-section-chip.findings{background:#202d37;border-color:#394c5a;color:#c7dbe8}html[data-theme="dark"] .ticket-image-preview{background:#151d24;border-color:#344450}html[data-theme="dark"] .ticket-image-preview img{background:#0f151a}html[data-theme="dark"] .ticket-image-preview figcaption{color:#9aabb8}

.answer-section-chip.generic{background:#f3f6f8;border-color:#d1d9e1;color:#455b69}.answer-section-chip.generic .answer-section-icon{background:#dfe8ee;color:#496273}
html[data-theme="dark"] .answer-section-chip.generic{background:#222c34;border-color:#3a4a57;color:#c1d0da}html[data-theme="dark"] .answer-section-chip.generic .answer-section-icon{background:#30404c;color:#b8ccd8}

.stop-task-btn{background:#7f2633;color:#fff;border:1px solid #b74758;border-radius:12px;padding:0 18px;font-weight:700;min-width:88px}.stop-task-btn:hover{background:#973143}.stop-task-btn:disabled{opacity:.65}

.assistant-job-form textarea{min-height:300px;resize:vertical;font-family:inherit;line-height:1.45}
.assistant-job-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.assistant-job-actions form{margin:0}
button.run-now{background:#0b8ec7;border-color:#16b9dc;color:white}
button.run-now:hover:not(:disabled){background:#0aa1d8}
button.run-now:disabled{opacity:.45;cursor:not-allowed}
.assistant-jobs-table pre{max-width:600px;max-height:240px;overflow:auto;white-space:pre-wrap}
.hidden{display:none!important}
.assistant-edit{position:relative}.assistant-edit summary{cursor:pointer;list-style:none}.assistant-edit-backdrop{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:24px;background:rgba(4,10,17,.72);backdrop-filter:blur(3px)}.assistant-edit-form{position:relative;width:min(760px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto;background:#17222d;border:1px solid #385064;border-radius:16px;padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:11px 14px;box-shadow:0 24px 80px #000b}.assistant-edit-head{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;position:sticky;top:-20px;z-index:2;margin:-20px -20px 4px;padding:16px 20px 13px;background:#17222d;border-bottom:1px solid #385064}.assistant-edit-head b{font-size:17px}.assistant-edit-close{width:34px;height:34px;padding:0;border:1px solid #4a6072;background:#22313f;color:#e5edf4;border-radius:9px;font-size:22px;line-height:1}.assistant-edit-form textarea,.assistant-edit-form>label{grid-column:1/-1}.assistant-edit-form textarea{min-height:220px;max-height:38vh;resize:vertical}.assistant-edit-form input,.assistant-edit-form select,.assistant-edit-form textarea{width:100%}.assistant-edit-submit{grid-column:1/-1;display:flex;justify-content:flex-end;padding-top:5px}.assistant-edit-submit button{min-width:130px}@media(max-width:650px){.assistant-edit-backdrop{padding:8px}.assistant-edit-form{width:calc(100vw - 16px);max-height:calc(100vh - 16px);grid-template-columns:1fr;padding:16px}.assistant-edit-head{top:-16px;margin:-16px -16px 4px;padding:13px 16px}.assistant-edit-form textarea,.assistant-edit-form>label,.assistant-edit-head,.assistant-edit-submit{grid-column:1}}


/* V4.48.26 per-answer Read aloud control */
.answer-read-aloud{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border:1px solid #c9d5de;border-radius:8px;background:#fff;color:#496273;font-size:10px;font-weight:800;cursor:pointer;transition:transform .12s ease,border-color .12s ease,background .12s ease,color .12s ease}
.answer-read-aloud:hover{transform:translateY(-1px);border-color:#75b9d7;background:#f4fbff;color:#285b73}
.answer-read-aloud.speaking{border-color:#2caad4;background:#e9f8fd;color:#176986}
.answer-read-aloud span[aria-hidden="true"]{font-size:12px;line-height:1}
.answer-feedback{display:flex;align-items:center;gap:5px;margin-left:5px;color:#526878;font-size:10px;font-weight:700}.answer-feedback button{min-width:0;height:27px;padding:0 8px;border:1px solid #c9d5de;border-radius:7px;background:#fff;color:#496273;font-size:10px}.answer-feedback button:hover{border-color:#75b9d7;background:#f4fbff}.learning-review-form{min-width:340px}.learning-review-form input,.learning-review-form textarea,.learning-review-form select{width:100%;margin:4px 0}.learning-review-form .button-row{display:flex;gap:6px;flex-wrap:wrap;padding:4px 0;margin:0}.learning-review-form button{width:auto}
html[data-theme="dark"] .answer-feedback{color:#bdcbd7}html[data-theme="dark"] .answer-feedback button{background:#202a34;border-color:#3a4b59;color:#bdcbd7}
html[data-theme="dark"] .answer-read-aloud{background:#202a34;border-color:#3a4b59;color:#bdcbd7}
html[data-theme="dark"] .answer-read-aloud:hover{background:#253441;border-color:#4e88a5;color:#d7eef8}
html[data-theme="dark"] .answer-read-aloud.speaking{background:#153544;border-color:#2caad4;color:#bcecff}
@media(max-width:700px){.answer-read-aloud{padding:0 8px}.answer-read-label{display:none}}


/* V4.48.27 guided word highlighting during Read aloud */
.lisa-read-word{border-radius:4px;transition:background-color .08s ease,color .08s ease,box-shadow .08s ease}
.lisa-read-word-active{background:#fff0a6;color:#152331;box-shadow:0 0 0 2px rgba(245,196,66,.34)}
html[data-theme="dark"] .lisa-read-word-active{background:#d9ad32;color:#10171d;box-shadow:0 0 0 2px rgba(255,215,94,.34)}
@media(prefers-reduced-motion:reduce){.lisa-read-word{transition:none}}

.memory-updated{margin:8px 14px 10px;display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #3a4b5d;border-radius:9px;font-size:12px;font-weight:700;opacity:.92}
.memory-list{display:grid;gap:10px;margin:12px 0 18px}.memory-row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:12px;border:1px solid #334454;border-radius:10px}.memory-row small{display:block;margin-top:5px;opacity:.7}
.recycle-head{margin-top:18px}.recycle-list .chat-row.recycled{opacity:.82}.recycle-list .chat-title small{display:block}

.recycle-dock{position:absolute;left:12px;bottom:12px;z-index:35}
.recycle-icon-btn{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;position:relative;font-size:18px;padding:0}
.recycle-count{position:absolute;right:-5px;top:-5px;min-width:18px;height:18px;border-radius:9px;padding:0 4px;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:800;background:#1ca7db;color:#fff;border:2px solid #111a22}
.recycle-popover{position:absolute;left:0;bottom:50px;width:285px;max-height:420px;overflow:auto;padding:12px;border:1px solid #34495c;border-radius:12px;background:#141e27;box-shadow:0 12px 32px rgba(0,0,0,.35)}
.recycle-popover[hidden]{display:none!important}.recycle-popover-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.recycle-popover .recycle-list{margin:0 0 8px}.recycle-popover small{opacity:.7}.sidebar{position:relative}

.consent-action-row,.consent-redirect-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin:12px 0;
}
.consent-action-status{min-height:1em}
.consent-redirect-row code{
  max-width:100%;
  overflow-wrap:anywhere;
}

/* V4.50.36 compact operational result tables */
.assistant-message table,.chat-message.assistant table{
  width:100%;border-collapse:collapse;margin:12px 0;font-size:.94rem;
}
.assistant-message th,.assistant-message td,
.chat-message.assistant th,.chat-message.assistant td{
  padding:8px 10px;border:1px solid var(--border,#334155);
  vertical-align:top;text-align:left;
}
.assistant-message th,.chat-message.assistant th{font-weight:700;white-space:nowrap}
.assistant-message tbody tr:nth-child(even),
.chat-message.assistant tbody tr:nth-child(even){background:rgba(255,255,255,.025)}

/* V4.50.40 native safe result tables */
.chat-table-wrap{width:100%;overflow-x:auto;margin:12px 0;border:1px solid var(--border,#334155);border-radius:10px}
.chat-table{width:100%;min-width:760px;border-collapse:separate;border-spacing:0;table-layout:auto}
.chat-table th,.chat-table td{padding:9px 12px;border-right:1px solid var(--border,#334155);border-bottom:1px solid var(--border,#334155);text-align:left;vertical-align:top;white-space:normal;word-break:break-word}
.chat-table th{font-weight:700;white-space:nowrap;background:rgba(255,255,255,.045)}
.chat-table th:last-child,.chat-table td:last-child{border-right:0}
.chat-table tbody tr:last-child td{border-bottom:0}
.chat-table tbody tr:nth-child(even){background:rgba(255,255,255,.02)}

/* V4.50.42 universal answer presentation */
.answer-body{line-height:1.55}
.answer-paragraph,.answer-notice,.answer-kv,.answer-list,.chat-table-wrap,.code-panel,.report-line{margin-top:10px;margin-bottom:10px}
.answer-paragraph{max-width:100%;overflow-wrap:anywhere}
.answer-paragraph:first-child,.answer-notice:first-child,.answer-kv:first-child,.answer-list:first-child,.chat-table-wrap:first-child{margin-top:0}
.answer-paragraph:last-child,.answer-notice:last-child,.answer-kv:last-child,.answer-list:last-child,.chat-table-wrap:last-child{margin-bottom:0}
.answer-list{padding-left:24px}.answer-list li{margin:5px 0;padding-left:3px}.answer-list.ordered{padding-left:26px}
.answer-kv{display:grid;gap:1px;padding:1px;border:1px solid var(--border,#334155);border-radius:9px;overflow:hidden}
.answer-kv-row{display:grid;grid-template-columns:minmax(130px,220px) 1fr;background:rgba(255,255,255,.018)}
.answer-kv-row dt,.answer-kv-row dd{margin:0;padding:8px 10px}
.answer-kv-row dt{font-weight:700;background:rgba(255,255,255,.035);border-right:1px solid var(--border,#334155)}
.answer-kv-row dd{overflow-wrap:anywhere}
.answer-notice{padding:10px 12px;border:1px solid var(--border,#334155);border-left-width:4px;border-radius:8px;background:rgba(255,255,255,.025);overflow-wrap:anywhere}
.answer-notice.error{border-left-color:#d35f68;background:rgba(211,95,104,.07)}
.answer-notice.warning{border-left-color:#d9a441;background:rgba(217,164,65,.07)}
.answer-notice.success{border-left-color:#4caf72;background:rgba(76,175,114,.07)}
.answer-body .inline-code{padding:1px 5px;border:1px solid var(--border,#334155);border-radius:5px;background:rgba(255,255,255,.045);font-family:Consolas,"Cascadia Code",monospace;font-size:.92em}
.chat-table-wrap{width:100%;overflow-x:auto;border:1px solid var(--border,#334155);border-radius:9px}
.chat-table{width:100%;min-width:max-content;border-collapse:separate;border-spacing:0;margin:0;table-layout:auto}
.chat-table th,.chat-table td{min-width:90px;padding:8px 11px;border-right:1px solid var(--border,#334155);border-bottom:1px solid var(--border,#334155);text-align:left;vertical-align:top}
.chat-table th{font-weight:800;white-space:nowrap;background:rgba(255,255,255,.05)}
.chat-table td{white-space:normal;overflow-wrap:anywhere}
.chat-table th:last-child,.chat-table td:last-child{border-right:0}.chat-table tbody tr:last-child td{border-bottom:0}.chat-table tbody tr:nth-child(even){background:rgba(255,255,255,.018)}
@media(max-width:700px){.answer-kv-row{grid-template-columns:1fr}.answer-kv-row dt{border-right:0;border-bottom:1px solid var(--border,#334155)}.chat-table{min-width:680px}}

/* V4.51.18 continuous dictation, editable prompts, and calmer ChatGPT-style chat */
#messages{padding:28px clamp(18px,4vw,56px)}
.msg.lisa{max-width:980px;border:0;border-radius:0;background:transparent;box-shadow:none}
.msg.lisa .answer-body{padding:12px 4px 18px;font-size:15px;line-height:1.68}
.msg.you{width:fit-content;max-width:min(760px,82%);margin:18px max(0px,calc((100% - 980px)/2)) 18px auto;padding:13px 15px;border-radius:18px;background:#e8f4fb;border-color:#c6dfed;white-space:normal}
.user-message-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:5px}.user-message-head .message-role{margin:0;font-size:12px}.user-message-text{white-space:pre-wrap;overflow-wrap:anywhere}
.edit-user-message{opacity:0;padding:3px 7px;border:0;border-radius:7px;background:transparent;color:#526878;font-size:11px;box-shadow:none;transition:opacity .12s ease,background .12s ease}.msg.you:hover .edit-user-message,.edit-user-message:focus-visible{opacity:1}.edit-user-message:hover{background:#d5e9f4}
.user-message-editor{width:min(680px,72vw)}.user-edit-text{display:block;width:100%;min-height:110px;resize:vertical;background:#fff;color:var(--text)}.user-edit-note{margin:7px 2px;color:var(--muted);font-size:11px}.user-edit-actions{display:flex;justify-content:flex-end;gap:8px}.user-edit-actions button{padding:7px 11px;border-radius:9px;font-size:12px}.user-edit-actions button.secondary{background:#fff;color:var(--text);border:1px solid var(--line)}
.answer-section-chip,.answer-section-chip.summary,.answer-section-chip.results,.answer-section-chip.details,.answer-section-chip.status,.answer-section-chip.notes,.answer-section-chip.solution,.answer-section-chip.next-steps,.answer-section-chip.findings,.answer-section-chip.generic,.answer-section-chip.issue,.answer-section-chip.evidence,.answer-section-chip.recommended-fix,.answer-section-chip.verification,.answer-section-chip.likely-cause,.answer-section-chip.assessment,.answer-section-chip.attachments{display:flex;width:100%;margin:22px 0 8px;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font-size:16px;font-weight:750;line-height:1.3}
.answer-section-icon{display:none!important}.answer-references{margin-top:6px;padding:12px 4px;border-top:1px solid var(--line);background:transparent}.answer-footer{padding:8px 4px;background:transparent}
html[data-theme="dark"] .msg.you{background:#173047;border-color:#35617d}html[data-theme="dark"] .msg.lisa{background:transparent}html[data-theme="dark"] .edit-user-message{color:#b9cad6}html[data-theme="dark"] .edit-user-message:hover{background:#29475c}html[data-theme="dark"] .user-edit-text{background:#111a22;color:#e4edf5;border-color:#405363}html[data-theme="dark"] .answer-references,html[data-theme="dark"] .answer-footer{background:transparent}
@media(max-width:700px){#messages{padding:16px 12px}.msg.you{max-width:92%;margin-right:0}.user-message-head .edit-user-message{opacity:1}.user-message-editor{width:78vw}.answer-footer{align-items:flex-start;flex-direction:column}.answer-footer-state{flex-wrap:wrap}}
.alias-confirmation{margin:0 4px 18px;padding:18px;border:1px solid #cbdce7;border-radius:16px;background:#f7fafc}.alias-confirmation-heading{font-size:16px;font-weight:850;color:#183f57}.alias-confirmation-note{margin:4px 0 15px;color:#5b6f7e;font-size:12px}.alias-match-group{min-width:0;margin:11px 0;padding:12px;border:1px solid #d6e2ea;border-radius:12px;background:#fff}.alias-match-group legend{padding:0 7px;font-weight:850;color:#183f57}.alias-match-option{display:flex;align-items:flex-start;gap:10px;margin:4px 0;padding:9px 10px;border:1px solid transparent;border-radius:10px;cursor:pointer}.alias-match-option:hover{border-color:#b6d8e9;background:#f1f9fd}.alias-match-option input[type=radio]{width:17px;height:17px;margin:2px 0 0;accent-color:#069dd5;flex:0 0 auto}.alias-match-option>span{display:flex;min-width:0;flex-direction:column}.alias-match-option b{font-size:13px}.alias-match-option small{color:#687b89;font-size:11px}.alias-manual-name{width:min(440px,65vw);margin-top:8px;padding:8px 10px;border:1px solid #bdcfda;border-radius:8px;background:#fff;color:#162630}.alias-manual-name:disabled{display:none}.alias-confirmation-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.alias-confirmation-actions button{padding:9px 14px;border-radius:10px}.alias-confirmation-status{color:#a33b26;font-size:12px}.alias-confirmation input:disabled,.alias-confirmation button:disabled{cursor:not-allowed;opacity:.62}html[data-theme=dark] .alias-confirmation{background:#151e26;border-color:#344958}html[data-theme=dark] .alias-confirmation-heading,html[data-theme=dark] .alias-match-group legend{color:#d8edf7}html[data-theme=dark] .alias-confirmation-note,html[data-theme=dark] .alias-match-option small{color:#9eb1bf}html[data-theme=dark] .alias-match-group{background:#1c2730;border-color:#354856}html[data-theme=dark] .alias-match-option:hover{background:#213541;border-color:#3e6b80}html[data-theme=dark] .alias-manual-name{background:#111a22;color:#e4edf5;border-color:#405363}@media(max-width:700px){.alias-confirmation{padding:13px}.alias-match-option{padding:8px 5px}.alias-confirmation-actions{align-items:stretch;flex-direction:column}.alias-confirmation-actions button{width:100%}.alias-manual-name{width:65vw}}
.email-confirmation{margin:16px 0 8px;padding:16px;border:1px solid #2b6682;border-radius:14px;background:rgba(20,52,69,.55);display:grid;gap:12px}
.email-confirmation-heading{font-weight:750;font-size:1.05rem;color:#f1f8fb}
.email-safety-note{padding:10px 12px;border-left:3px solid #2bb9e8;background:rgba(10,24,34,.65);color:#bcd5e1;font-size:.9rem}
.email-field{display:grid;gap:6px}.email-field>span{font-weight:650;color:#b9cad3;font-size:.88rem}
.email-field input,.email-field select,.email-field textarea{width:100%;box-sizing:border-box;background:#0f1a22;color:#f1f7fa;border:1px solid #3a5260;border-radius:9px;padding:10px 12px;font:inherit}
.email-field textarea{resize:vertical;min-height:150px;line-height:1.45}
.email-attachments{display:grid;gap:6px;padding:11px 12px;border:1px solid #3a5260;border-radius:9px;background:#0f1a22;color:#dcebf2;font-size:.88rem}.email-attachments b{color:#f1f8fb}.email-attachments div{overflow-wrap:anywhere}
.email-confirmation-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}.email-confirmation-status{color:#f4bc54;font-size:.88rem}

/* V4.51.57 connected-computer controls */
.endpoint-computer-list{display:grid;gap:12px}
.endpoint-computer{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:rgba(255,255,255,.018)}
.endpoint-computer-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 16px}
.endpoint-computer-head h3{margin:0 0 3px;font-size:16px}.endpoint-computer-head span{font-size:12px;color:var(--muted)}
.endpoint-runtime{display:grid;grid-template-columns:minmax(120px,180px) 1fr auto;gap:12px;padding:10px 16px;border-top:1px solid var(--line);font-size:12px}
.endpoint-runtime span,.endpoint-runtime small{color:var(--muted)}
.endpoint-settings{border-top:1px solid var(--line)}.endpoint-settings>summary{padding:11px 16px;cursor:pointer;font-weight:700}
.endpoint-settings[open]>summary{border-bottom:1px solid var(--line)}.endpoint-settings-form{padding:14px 16px 4px}
.endpoint-settings>form:last-child{padding:0 16px 16px}.endpoint-settings textarea{font-family:Consolas,"Cascadia Code",monospace}
@media(max-width:760px){.endpoint-runtime{grid-template-columns:1fr}.endpoint-computer-head{align-items:flex-start;flex-direction:column}}
.itglue-password-reveal,.itglue-secret-control button{padding:5px 9px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--text);font-size:12px;font-weight:700;cursor:pointer}
.itglue-password-reveal:hover,.itglue-secret-control button:hover{border-color:var(--accent)}
.itglue-secret-control{display:inline-flex;align-items:center;gap:5px;max-width:100%;vertical-align:middle}
.itglue-secret-control input{width:180px;max-width:42vw;padding:5px 7px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--text);font-family:Consolas,monospace}
