body[data-icoa-view="ai"]{background:#fffefb;color:#263746}
body[data-icoa-view="ai"] .workspace{max-width:1660px!important;padding:0 24px 24px!important}
body[data-icoa-view="ai"] .topbar{display:none}
body[data-icoa-view="ai"] .icoa-back-home{margin:12px 24px 10px;min-height:30px;padding:6px 12px;font-size:11px;background:#fffefb;border-color:#ddd9cf;box-shadow:none}
.assistant-shell{--collection-accent:#566052;display:grid;grid-template-columns:172px minmax(0,1fr);min-height:calc(100svh - 78px);background:#fffefb;border:1px solid #e5e1d7;border-radius:10px;overflow:clip}
.assistant-sidebar.collection-sidebar{padding:31px 18px 22px;background:#f6f4ed;border-right:1px solid #ebe7dd;position:sticky;top:0;align-self:start;min-height:calc(100svh - 80px);max-height:100svh;overflow:auto}
.assistant-sidebar .collection-wordmark{font-size:19px;margin:6px 11px 25px;letter-spacing:6px}
.assistant-sidebar .collection-gold-rule{margin-bottom:27px}
.assistant-sidebar nav button{font-size:14px;padding:13px 10px;gap:12px;min-height:48px;border-radius:5px;font-family:Georgia,serif}
.assistant-sidebar nav svg{width:20px;height:20px}
.assistant-sidebar-note{margin: auto 12px 0;padding-top:35px;color:#9b9a8e;font:italic 11px Georgia,serif}
.assistant-workspace{min-width:0;display:flex;flex-direction:column}
.assistant-topbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 30px;padding:19px 0;border-bottom:1px solid #e9e5dc}
.assistant-breadcrumb{display:flex;align-items:center;gap:12px;min-width:0;color:#8a8f84;font-size:11px;line-height:1.5}
.assistant-breadcrumb button{display:flex;align-items:center;gap:10px;border:0;background:none;padding:2px 0;font-size:11px;line-height:1.5;color:#6e776b;text-align:left}
.assistant-breadcrumb button:hover{color:#263746}
.assistant-breadcrumb svg{width:18px;height:18px}
.assistant-book-return{max-width:380px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block!important}
.assistant-topbar-right{display:flex;gap:16px;align-items:center;font-size:10px;color:#8d9286;flex-shrink:0}
.assistant-topbar-right .avatar{width:29px;height:29px;font-size:14px;background:#f0efe8;border:0;color:#65705e}
.assistant-conversation{width:min(100% - 76px,820px);margin:0 auto;display:flex;flex-direction:column;flex:1;min-height:calc(100svh - 146px)}
.assistant-context{text-align:center;padding:27px 0 16px}
.assistant-context-chip{display:inline-flex;align-items:center;gap:8px;max-width:100%;background:#f3f4ec;border:1px solid #edf0e5;color:#747e6e;border-radius:25px;font-size:10px;padding:6px 12px;line-height:1.5}
.assistant-context-chip svg{width:14px;height:14px;stroke-width:1.2;flex-shrink:0}
.assistant-context-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.assistant-conversation.is-empty .assistant-context{padding-top:clamp(55px,15vh,150px)}
.assistant-welcome{text-align:center;margin-top:18px;padding-bottom:50px}
.assistant-welcome h1{font:39px/1.2 Georgia,serif;letter-spacing:-1px;color:#263746;margin:0 0 14px}
.assistant-welcome p{font:17px/1.6 Georgia,serif;color:#7b8377;margin:0}
.assistant-compose-area{position:sticky;bottom:0;z-index:2;margin-top:auto;padding:28px 0 19px;background:linear-gradient(#fffefb00,#fffefb 19px)}
.assistant-conversation.is-empty .assistant-compose-area{padding-top:55px}
.assistant-compose{display:flex;align-items:flex-end;gap:12px;padding:13px 14px 13px 20px;background:#fff;border:1px solid #dddeda;border-radius:15px;box-shadow:0 2px 5px #373c2c03}
.assistant-compose:focus-within{border-color:#9eaa91;box-shadow:0 0 0 3px #899a7020}
.assistant-compose textarea{display:block;flex:1;width:100%;min-width:0;resize:none;border:0;outline:none;background:transparent;color:#263746;font:14px/1.75 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;min-height:25px;max-height:156px;padding:3px 0;overflow:auto;scrollbar-width:thin}
.assistant-compose textarea::placeholder{color:#9a9f98}
.assistant-send{width:35px;height:35px;flex-shrink:0;border:0;border-radius:50%;background:#566052;color:#fffdf7;display:grid;place-items:center;transition:background .15s}
.assistant-send:hover{background:#3e493a}.assistant-send:disabled{opacity:.4;cursor:wait}
.assistant-send svg{width:18px;height:18px;transform:rotate(-20deg);stroke-width:1.8}
.assistant-service-note{font:10px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#92998c;margin:10px auto 0;text-align:center;max-width:640px;min-height:16px}
.assistant-messages{padding:7px 0 0}
.assistant-message{display:grid;grid-template-columns:28px minmax(0,1fr);gap:15px;margin:18px 0 34px}
.assistant-message-icon{display:grid;place-items:center;align-self:start;margin-top:4px;width:27px;height:27px;border-radius:50%;color:#6d7a62;background:#f2f4ec}
.assistant-message-icon svg{width:15px;height:15px;stroke-width:1.3}
.assistant-author{display:block;font:10px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:.2px;color:#8d9586;margin-bottom:10px}
.assistant-message-text{font:17px/1.9 Georgia,serif;color:#314452;overflow-wrap:anywhere}
.assistant-message-text p{margin:0 0 20px;line-height:inherit}
.assistant-message-text p:last-child{margin-bottom:0}
.assistant-message-text ul,.assistant-message-text ol{margin:0 0 20px;padding-left:24px}
.assistant-message-text li{padding-left:3px;margin-bottom:9px;line-height:1.8}
.assistant-message-text h3{font:22px/1.4 Georgia,serif;margin:25px 0 14px}
.assistant-message-text code{font:12px/1.7 ui-monospace,SFMono-Regular,Menlo,monospace;background:#f0f2eb;padding:2px 4px;border-radius:3px}
.assistant-message-text pre{padding:16px;background:#f5f5ef;border:1px solid #e5e7dd;border-radius:7px;overflow:auto}
.assistant-message-text pre code{padding:0;background:none;font-size:12px}
.assistant-message.from-user{display:flex;justify-content:flex-end;margin:20px 0 36px 65px;gap:0}
.from-user .assistant-message-icon{display:none}
.from-user .assistant-message-content{max-width:90%;min-width:0}
.from-user .assistant-author{text-align:right;color:#929a89;font-size:9px;margin-bottom:7px}
.from-user .assistant-message-text{background:#f1f3eb;color:#35442e;border-radius:12px 12px 3px 12px;padding:13px 18px;font-size:16px;line-height:1.75;white-space:pre-wrap}
.assistant-message[aria-busy="true"] .assistant-message-text{font:14px/1.8 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#8c9586}
.assistant-sources{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}
.assistant-sources .button.source{display:inline-flex;align-items:center;gap:7px;font:10px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;min-height:30px;padding:6px 10px;background:#fcfcf8;border-color:#e2e5d9;color:#6e7c62;border-radius:5px;margin:0;max-width:100%;text-align:left}
.assistant-sources .button.source:hover{background:#f0f3e9}
.assistant-sources svg{width:13px;height:13px}
.assistant-external{display:flex;gap:7px 16px;flex-wrap:wrap;border-top:1px solid #ece4d5;margin-top:19px;padding-top:12px;font-size:10px;color:#91765b}
.assistant-external span{width:100%;text-transform:uppercase;letter-spacing:1.2px;font-size:8px}
.assistant-external a{color:#836b52;text-decoration-color:#bba589;text-underline-offset:3px;overflow-wrap:anywhere}
.assistant-usage{font:9px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#a0a494;margin:12px 0 0}
.assistant-table{max-width:100%;overflow-x:auto;margin-bottom:20px;font:13px/1.7 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.assistant-table table{width:100%;border-collapse:collapse;min-width:300px}
.assistant-table th,.assistant-table td{text-align:left;padding:10px 13px;border-bottom:1px solid #e2e5da}
.assistant-table th{font-weight:500;background:#f3f5ed}
.assistant-history{margin:30px 0 0;padding:21px 0 0;border-top:1px solid #deddd14d;min-height:0}
.assistant-new-chat{border:0;background:none;padding:5px 9px;display:flex;align-items:center;gap:8px;font:10px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#6c7961;text-align:left}
.assistant-new-chat svg{width:14px;height:14px;flex-shrink:0}
.assistant-history>p{font:8px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:1.3px;color:#9a9d90;margin:22px 9px 10px}
.assistant-history-list{display:grid;gap:4px;max-height:250px;overflow:auto;scrollbar-width:thin}
.assistant-history-list button{min-width:0;border:0;background:none;text-align:left;padding:9px;font:11px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#7b8571;border-radius:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.assistant-history-list button.selected{background:#e9eddf;color:#45553b}
.assistant-history-list button:hover{background:#ecede4}
.assistant-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.assistant-shell>*{min-width:0}
@media(min-width:1600px){.assistant-shell{grid-template-columns:190px minmax(0,1fr)}.assistant-conversation{width:min(100% - 110px,850px)}.assistant-message-text{font-size:18px}.assistant-sidebar.collection-sidebar{padding:35px 22px}}
@media(max-width:1000px){.assistant-shell{grid-template-columns:150px minmax(0,1fr)}.assistant-sidebar.collection-sidebar{padding:26px 12px}.assistant-sidebar nav button{font-size:12px;gap:10px}.assistant-sidebar .collection-wordmark{font-size:17px;letter-spacing:5px}.assistant-conversation{width:calc(100% - 50px)}.assistant-topbar{margin:0 23px}.assistant-welcome h1{font-size:34px}.assistant-message-text{font-size:16px}.assistant-breadcrumb{font-size:10px;gap:8px}.assistant-book-return{max-width:210px}.assistant-topbar-right{gap:10px}}
@media(max-width:700px){body[data-icoa-view="ai"] .workspace{padding:0 12px 12px!important}body[data-icoa-view="ai"] .icoa-back-home{margin:10px 13px;font-size:10px}.assistant-shell{grid-template-columns:1fr;min-height:calc(100svh - 70px)}.assistant-sidebar.collection-sidebar{position:static;min-height:0;max-height:none;display:block;padding:17px 13px 13px;border-right:0;border-bottom:1px solid #e7e5da;overflow:visible}.assistant-sidebar .collection-wordmark{text-align:center;margin:0 0 16px;font-size:15px}.assistant-sidebar .collection-gold-rule,.assistant-sidebar-note{display:none}.assistant-sidebar nav{flex-direction:row;justify-content:center;gap:3px}.assistant-sidebar nav button{font:10px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;min-height:34px;gap:7px;padding:8px 9px}.assistant-sidebar nav svg{width:16px;height:16px}.assistant-history{border:0;margin:10px 0 0;padding:0;display:flex;align-items:center;gap:10px}.assistant-history>p{display:none}.assistant-history-list{display:flex;overflow:auto;max-height:none;flex:1;gap:5px}.assistant-history-list button{max-width:180px;flex-shrink:0;font-size:9px;padding:7px}.assistant-new-chat{font-size:9px;flex-shrink:0;padding:7px}.assistant-new-chat svg{width:12px;height:12px}.assistant-topbar{padding:13px 0;margin:0 16px;gap:10px}.assistant-topbar-right>span{display:none}.assistant-topbar-right .avatar{width:25px;height:25px;font-size:12px}.assistant-breadcrumb{font-size:10px;gap:8px}.assistant-breadcrumb button{font-size:10px;gap:7px}.assistant-book-return{max-width:190px}.assistant-conversation{width:calc(100% - 36px);min-height:calc(100svh - 260px)}.assistant-conversation.is-empty .assistant-context{padding-top:65px}.assistant-welcome h1{font-size:31px;letter-spacing:-.8px}.assistant-welcome p{font-size:15px}.assistant-context{padding-top:22px}.assistant-context-chip{font-size:9px;padding:5px 10px}.assistant-welcome{padding-bottom:35px}.assistant-message{grid-template-columns:22px minmax(0,1fr);gap:11px;margin:16px 0 29px}.assistant-message-icon{width:22px;height:22px}.assistant-message-text{font-size:16px;line-height:1.85}.assistant-message.from-user{margin-left:30px}.from-user .assistant-message-content{max-width:95%}.from-user .assistant-message-text{font-size:15px;padding:12px 15px}.assistant-compose-area{padding:23px 0 12px}.assistant-conversation.is-empty .assistant-compose-area{padding-top:40px}.assistant-compose{padding:10px 10px 10px 14px;gap:9px;border-radius:13px}.assistant-compose textarea{font-size:16px}.assistant-send{width:32px;height:32px}.assistant-service-note{font-size:9px;line-height:1.6}.assistant-sources .button.source{font-size:9px}.assistant-author{font-size:9px}}
@media(max-width:700px){.assistant-shell{grid-template-columns:minmax(0,1fr)}.assistant-sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.assistant-sidebar nav button{min-width:0;flex-direction:column;justify-content:center;gap:5px;font-size:9px;padding:7px 3px}.assistant-book-return{min-width:0}.assistant-breadcrumb button:first-child{flex-shrink:0}.assistant-history-list{min-width:0}.assistant-new-chat{max-width:115px}}
