/* TimesAI reference chat, October 2026. Scoped to chat; blue site branding stays intact. */
body.chat-route{background:#edf3fc!important;color:#26344d}
body.chat-route #main{height:var(--chat-viewport-height,100dvh);padding:20px!important;box-sizing:border-box;overflow:hidden}
body.chat-route .chat-page{width:100%;max-width:none!important;height:100%;padding:0!important;margin:0!important}
body.chat-route .chat-reference-layout{display:grid!important;grid-template-columns:330px minmax(0,1fr)!important;direction:ltr;height:100%!important;min-height:0!important;border:1px solid #dbe4f1!important;border-radius:21px!important;overflow:hidden;background:white;box-shadow:0 8px 32px #3053830c}
body.chat-route .chat-reference-layout.chat-sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)!important}
body.chat-route .chat-reference-layout .chat-history{width:auto!important;background:#f8faff!important;color:#34415a!important;direction:rtl;padding:24px 20px 14px!important;border:0;border-right:1px solid #e1e7f1;display:flex;gap:0;box-shadow:none;min-height:0}
.chat-reference-layout #close-chat-history{display:none}
.chat-reference-layout .chat-new-button{height:62px;min-height:62px;border-radius:12px!important;background:#1764f6!important;box-shadow:0 4px 10px #1764f620;display:flex;direction:ltr;justify-content:flex-start;gap:24px;padding:0 24px!important;font-size:19px;margin:0 0 16px!important;color:#fff!important;border:0!important}
.chat-reference-layout .chat-primary-nav{display:flex;flex-direction:column;gap:6px;flex:none;padding:0 8px 22px;border-bottom:1px solid #e2e8f2;margin-bottom:14px}
.chat-reference-layout .chat-primary-nav>button,.chat-reference-layout #chat-project-toggle{display:flex;align-items:center;gap:21px;direction:ltr;width:100%;height:49px;padding:10px 14px;border:0;border-radius:10px;background:transparent!important;color:#354259!important;font-family:inherit;font-size:17px;font-weight:550;cursor:pointer;text-align:left}
.chat-reference-layout .chat-primary-nav button span{direction:rtl}
.chat-reference-layout .chat-primary-nav>button.selected,.chat-reference-layout .chat-primary-nav button:hover{background:#e9f0ff!important;color:#2456b6!important}
.chat-reference-layout .chat-primary-nav .ui-icon{width:23px;height:23px;flex:none;color:#77869e}
.chat-reference-layout #chat-project-toggle>.ui-icon:last-child{display:none}
.chat-reference-layout .chat-project-wrap{width:100%;color:#34415a}
.chat-reference-layout .chat-project-menu{direction:rtl;background:white!important;color:#34415a!important;border:1px solid #dde5f0;box-shadow:0 8px 30px #22355216;z-index:30;left:0;right:0;top:100%}
.chat-reference-layout .chat-project-menu button{color:#34415a!important;background:white!important}
.chat-reference-layout .chat-history-heading{display:flex;direction:ltr;align-items:center;gap:12px;padding:3px 16px 12px;margin:0;color:#8490a4!important;font-size:14px}
.chat-reference-layout .chat-history-heading button{background:none;border:0;color:#8794aa;cursor:pointer;width:24px;height:24px;display:grid;place-items:center;transform:rotate(90deg)}
.chat-reference-layout .chat-history-heading b{font-weight:500;direction:rtl}.chat-reference-layout .chat-history-heading>span{margin-left:auto;background:none;color:#8490a4}
.chat-reference-layout .history-list{padding:0 0 12px;flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#d4deec transparent}
.chat-reference-layout .history-row{border:0!important;background:transparent!important;border-radius:12px;margin:0 0 8px;display:flex;direction:ltr;position:relative;min-height:65px}
.chat-reference-layout .history-row.selected{background:#e9f0fc!important}
.chat-reference-layout .history-item{direction:ltr;padding:13px 12px!important;gap:16px;width:calc(100% - 34px);background:none!important;color:#45516a!important;border:0!important;display:flex;align-items:center;text-align:left;min-width:0}
.chat-reference-layout .history-item>.ui-icon{width:23px;height:23px;color:#8594ac;flex:none}
.chat-reference-layout .history-item span{min-width:0;flex:1;direction:rtl;text-align:right}
.chat-reference-layout .history-item b{font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;color:#4a566b!important}
.chat-reference-layout .history-item small{color:#9aa5b7!important;font-size:11px;display:block;margin-top:4px}
.chat-reference-layout .history-more-button{width:34px;color:#8797b0!important;background:none!important;margin:0!important;border:0;flex:none}
.chat-reference-layout .history-actions{background:#fff!important;border:1px solid #dce4ef;box-shadow:0 8px 24px #20365a15;z-index:8;padding:6px;border-radius:10px;color:#43546d!important;direction:ltr}
.chat-reference-layout .history-actions button{color:#43546d!important;background:white!important}
.chat-reference-layout .chat-history-empty,.chat-reference-layout #chat-history-no-results{color:#8591a5!important;line-height:2;padding:15px;font-size:13px}
.chat-reference-layout .chat-sidebar-bottom{padding:10px 0 0;margin-top:auto;background:none!important;border:0}
.chat-reference-layout .chat-account-card{direction:ltr;display:flex;align-items:center;width:100%;min-height:82px;border:1px solid #e1e7f0!important;background:#f5f8fd!important;border-radius:13px;gap:14px;padding:14px;color:#35415a!important}
.chat-reference-layout .chat-account-card>span:nth-child(2){text-align:left;flex:1;min-width:0;direction:rtl}
.chat-reference-layout .chat-account-card b{color:#35415a!important;font-size:14px}.chat-reference-layout .chat-account-card small{color:#9aa6b8!important;font-size:11px}
.chat-reference-layout .chat-account-avatar,.chat-reference-layout .chat-profile-avatar{width:42px;height:42px;flex:none;display:grid;place-items:center;border:1px solid #d4deef;border-radius:50%;color:#4d658e!important;background:linear-gradient(135deg,#edf2fb,#d9e4f5)!important;font-size:19px;font-weight:700;text-decoration:none}
.chat-reference-layout .chat-account-menu{background:white!important;color:#35415a!important;border:1px solid #dce5f2;box-shadow:0 10px 30px #22355218;z-index:40}
.chat-reference-layout .chat-account-menu a,.chat-reference-layout .chat-account-menu button{color:#35415a!important;background:white!important}
.chat-reference-layout .chat-history-search{background:white!important;border-color:#dce5f0;color:#65748b!important;margin:0 0 8px;flex:none}.chat-reference-layout .chat-history-search input{color:#34415a!important}
body.chat-route .chat-reference-layout .chat-workspace{height:100%;min-width:0;direction:rtl;display:flex;flex-direction:column;background:#fff;position:relative}
body.chat-route .chat-reference-layout .chat-workspace-header{direction:ltr;display:flex;justify-content:space-between;gap:12px;align-items:center;flex:none;min-height:88px;padding:16px 32px!important;background:#fff!important;border-bottom:1px solid #e8edf5}
.chat-reference-layout .chat-header-title{direction:ltr;display:flex;align-items:center;gap:9px;min-width:0}
.chat-reference-layout .chat-header-title h2{direction:rtl;font-size:19px;line-height:1.6;font-weight:700;color:#2d3a52;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:410px}
.chat-reference-layout .chat-title-edit{width:30px!important;height:32px!important;color:#8b99ae}.chat-reference-layout .chat-title-edit .ui-icon{width:17px}
.chat-reference-layout #chat-history-toggle{width:30px!important;height:34px!important;color:#8a99af;flex:none}
.chat-reference-layout .chat-header-actions{display:flex;align-items:center;gap:18px;flex:none;direction:ltr}
.chat-reference-layout .chat-icon-button{background:transparent!important;border:0!important;color:#73839e!important;box-shadow:none!important;border-radius:9px}.chat-reference-layout .chat-icon-button:hover{background:#edf3fd!important;color:#1764f6!important}
.chat-reference-layout .chat-upgrade{display:flex;align-items:center;justify-content:center;gap:9px;direction:rtl;color:#507bc7;background:#eef4ff;border:1px solid #e1ebfa;border-radius:10px;padding:10px 16px;font-size:14px;white-space:nowrap;text-decoration:none}
.chat-reference-layout .chat-upgrade .ui-icon{width:20px}.chat-reference-layout .chat-header-divider{height:32px;width:1px;background:#e4eaf3}
.chat-reference-layout .chat-more-wrap{display:none}
body.chat-route .chat-reference-layout #messages{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:16px 40px 30px!important;scrollbar-width:thin;scrollbar-color:#d9e3f1 transparent;background:white!important}
.chat-reference-layout .message{display:flex!important;gap:28px!important;margin:0 0 28px!important;width:100%;max-width:100%!important;background:none!important;padding:0!important;align-items:flex-start;border:0!important;box-shadow:none!important;direction:ltr}
.chat-reference-layout .message.user{direction:rtl;justify-content:flex-start;padding-top:0!important;gap:20px!important}
.chat-reference-layout .message-avatar{flex:none;width:62px!important;height:62px!important;border-radius:13px!important;border:1px solid #e1e6ec!important;background:#fff!important;box-shadow:0 3px 7px #25405e07;display:grid;place-items:center;padding:9px!important}
.chat-reference-layout .message-avatar img{width:44px!important;height:44px!important;animation:none!important;object-fit:contain}
.chat-reference-layout .user .message-avatar{width:43px!important;height:43px!important;min-width:43px;background:linear-gradient(135deg,#edf3fe,#d6e1f2)!important;border-radius:50%!important;color:#587098;margin-top:10px}
.chat-reference-layout .message-content{direction:rtl;min-width:0;flex:1;width:auto!important;max-width:none!important;display:block}
.chat-reference-layout .user .message-content{flex:0 1 640px}
.chat-reference-layout .message-heading{display:none!important}
.chat-reference-layout .message-body{font-size:17px!important;line-height:2.05!important;color:#303c52;overflow-wrap:anywhere;direction:rtl;text-align:right;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.chat-reference-layout .user .message-body{background:#eaf1fc!important;border:1px solid #dce7f8!important;border-radius:15px!important;padding:18px 24px!important;color:#34425a}
.chat-reference-layout .message-body>p{margin:0 0 18px}.chat-reference-layout .message-body p:last-child{margin-bottom:0}
.chat-reference-layout .chat-message-time{font-size:11px;color:#a0adbf;display:block;padding:5px 5px 0;direction:rtl}.chat-reference-layout .assistant .chat-message-time{display:none}
.chat-reference-layout .chat-answer-section{border:1px solid #dce4ee;border-radius:15px;padding:14px 24px;margin:20px 0;background:#fff}
.chat-reference-layout .chat-answer-section h1,.chat-reference-layout .chat-answer-section h2,.chat-reference-layout .chat-answer-section h3,.chat-reference-layout .chat-answer-section h4{font-size:19px!important;color:#2a3952;margin:0 0 10px!important;font-weight:750;line-height:1.8}
.chat-reference-layout .chat-answer-section ul,.chat-reference-layout .chat-answer-section ol{padding:15px 42px 15px 20px!important;background:#f3f7fd;border:1px solid #e0e9f6;border-radius:10px;margin:12px 0!important}
.chat-reference-layout .chat-answer-section li{padding:2px 0}.chat-reference-layout .chat-answer-section ol{list-style:none;counter-reset:reference-step;padding-right:20px!important}.chat-reference-layout .chat-answer-section ol>li{counter-increment:reference-step;position:relative;padding-right:38px;min-height:37px}.chat-reference-layout .chat-answer-section ol>li:before{content:counter(reference-step,persian);position:absolute;right:0;top:6px;width:27px;height:27px;border-radius:50%;background:#1764f6;color:white;font-size:14px;line-height:27px;text-align:center}
.chat-reference-layout .message-actions{margin-top:9px;gap:10px;opacity:.75}.chat-reference-layout .user .message-actions{justify-content:flex-start;margin-top:0}.chat-reference-layout .message-actions button{font-size:11px;padding:5px 6px;color:#8996ac}.chat-reference-layout .message-actions .ui-icon{width:15px;height:15px}
body.chat-route .chat-reference-layout .chat-composer-area{flex:none;padding:10px 18px 12px!important;background:linear-gradient(180deg,#ffffff00,#fff 14%);max-height:50%;overflow:visible;border:0;box-shadow:none}
body.chat-route .chat-reference-layout form.chat-composer{display:flex!important;flex-direction:column;gap:0;background:#fff!important;border:1px solid #dbe3ef!important;border-radius:16px!important;box-shadow:0 4px 15px #2748780c!important;padding:12px!important;position:relative;margin:0!important}
.chat-reference-layout .chat-compose-row{display:flex;direction:ltr;align-items:flex-start;gap:10px;min-width:0}
body.chat-route .chat-reference-layout .chat-composer textarea{min-width:0;flex:1;width:0!important;min-height:48px!important;max-height:160px;padding:11px 10px!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:16px;line-height:1.65;direction:rtl;resize:none;margin:0!important;align-self:stretch}
.chat-reference-layout .chat-plus-wrap{flex:none;position:relative}.chat-reference-layout .chat-plus-button{width:46px!important;height:46px!important;border:1px solid #dce5f3!important;border-radius:10px!important;background:#f7faff!important;color:#7185a5!important;margin:0;display:grid;place-items:center}
.chat-reference-layout .chat-tools-trigger{display:flex;align-items:center;gap:8px;flex:none;height:46px;border:1px solid #dde6f2;border-radius:10px;background:#f7faff;color:#586d90;padding:0 13px;font-family:inherit;font-size:14px;cursor:pointer}.chat-reference-layout .chat-tools-trigger .ui-icon{width:19px}.chat-reference-layout .chat-tools-trigger .ui-icon:last-child{width:12px}
.chat-reference-layout .chat-send-button{width:56px!important;height:50px!important;flex:none;border-radius:10px!important;background:#1764f6!important;margin:0;box-shadow:0 3px 6px #1764f625;display:grid;place-items:center;color:white!important}.chat-reference-layout .chat-send-button .ui-icon{width:25px;height:25px}
.chat-reference-layout .chat-shortcut-row{display:flex;direction:ltr;gap:8px;margin-top:12px;overflow-x:auto;scrollbar-width:none;max-width:100%;padding:0 0 1px}
.chat-reference-layout .chat-shortcut-row button{display:flex;direction:rtl;align-items:center;justify-content:center;gap:7px;white-space:nowrap;border:1px solid #e1e8f3;border-radius:18px;background:#f5f8fd;color:#798ba8;padding:6px 13px;font-family:inherit;font-size:12px;cursor:pointer;flex:none;min-height:32px}
.chat-reference-layout .chat-shortcut-row button[aria-pressed=true]{background:#e6efff;color:#1764f6;border-color:#b9d0fa}.chat-reference-layout .chat-shortcut-row button:hover{border-color:#b9d0fa}.chat-reference-layout .chat-shortcut-row .ui-icon{width:17px;height:17px}
.chat-reference-layout .chat-active-tools:empty{display:none}.chat-reference-layout .chat-active-tools{margin-top:7px;flex-wrap:wrap;max-height:44px;overflow:auto;direction:rtl}
.chat-reference-layout .chat-plus-menu{left:0;right:auto;bottom:calc(100% + 12px);max-width:min(330px,calc(100vw - 35px));max-height:min(430px,60dvh);overflow:auto;z-index:50;background:#fff!important;color:#35425a!important}
.chat-reference-layout .chat-information{font-size:10px;color:#a0adbf;margin:4px 4px -7px;text-align:center;padding:0;background:transparent;border:0;max-height:70px;overflow:auto}.chat-reference-layout .chat-information summary{justify-content:center;display:flex;align-items:center;gap:5px;cursor:pointer;list-style:none;font-size:10px}.chat-reference-layout .chat-information .ui-icon{width:11px;height:11px}.chat-reference-layout .chat-information p{font-size:12px}.chat-reference-layout .chat-information[open]{text-align:right}
.chat-reference-layout .chat-latest{z-index:5;right:50%;transform:translateX(50%);bottom:160px;background:white;color:#4473be;border:1px solid #dce5f2;border-radius:25px;box-shadow:0 4px 14px #34578315;padding:8px 15px}
.chat-reference-layout .chat-welcome{margin:auto;max-width:720px;padding:25px 10px}.chat-reference-layout .chat-welcome-mark{background:#fff;border:1px solid #e2e7ee;box-shadow:0 7px 30px #47586c0b;animation:none}.chat-reference-layout .chat-welcome-mark img{animation:none}.chat-reference-layout .chat-welcome h1{font-size:29px}.chat-reference-layout .chat-prompt{background:#f9fbff;border:1px solid #e3eaf4}.chat-reference-layout button:focus-visible,.chat-reference-layout a:focus-visible{outline:3px solid #8bb8ff;outline-offset:2px}.chat-reference-layout button:disabled{opacity:.45;cursor:not-allowed}
.reference-panel-list{display:grid;gap:10px;margin:20px 0;max-height:50dvh;overflow:auto}.reference-panel-list>button,.reference-panel-list>div{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:12px;border:1px solid #e1e8f3;border-radius:12px;background:#f8faff;color:#34415b;min-width:0}.reference-panel-list span{display:flex;gap:8px;min-width:0;align-items:center}.reference-panel-list b{overflow-wrap:anywhere}.reference-panel-list button{font-family:inherit;cursor:pointer}.reference-panel-list>div button{border:1px solid #dce5f1;border-radius:7px;padding:6px;background:white;color:#496891}.reference-code-input{width:100%;font-family:monospace;resize:vertical;min-height:160px}#reference-code-output{background:#f1f5fc;border:1px solid #dce5f1;border-radius:10px;padding:15px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto}#knowledge-form{display:grid;gap:8px}#knowledge-form textarea{width:100%;resize:vertical}
@media(min-width:901px) and (max-width:1200px){body.chat-route .chat-reference-layout{grid-template-columns:270px minmax(0,1fr)!important}.chat-reference-layout .chat-header-actions{gap:7px}.chat-reference-layout .chat-upgrade{padding:9px;font-size:12px}body.chat-route .chat-reference-layout .chat-workspace-header{padding:14px 18px!important}.chat-reference-layout .chat-header-title h2{max-width:250px;font-size:16px}body.chat-route .chat-reference-layout #messages{padding-inline:24px!important}.chat-reference-layout .message{gap:18px!important}.chat-reference-layout .message-avatar{width:48px!important;height:48px!important}.chat-reference-layout .message-avatar img{width:33px!important;height:33px!important}}
@media(max-width:900px){body.chat-route #main{padding:0!important}body.chat-route .chat-reference-layout,body.chat-route .chat-reference-layout.chat-sidebar-collapsed{display:flex!important;grid-template-columns:none!important;border:0!important;border-radius:0!important}.chat-reference-layout .chat-workspace{width:100%}body.chat-route .chat-reference-layout .chat-history{position:absolute!important;top:0;left:0;bottom:0;width:min(330px,88vw)!important;padding:52px 18px 14px!important;z-index:70;transform:translateX(-105%);visibility:hidden;pointer-events:none;transition:transform .2s ease;background:#f8faff!important}.chat-reference-layout.chat-sidebar-open .chat-history{transform:translateX(0)!important;visibility:visible!important;pointer-events:auto!important}.chat-reference-layout #close-chat-history{display:grid!important;position:absolute;right:14px;top:9px;width:32px;height:32px}.chat-reference-layout .chat-sidebar-backdrop{z-index:60;background:#20365255}.chat-reference-layout .chat-new-button{height:52px;min-height:52px;font-size:17px}.chat-reference-layout .chat-primary-nav{padding-bottom:12px}.chat-reference-layout .chat-primary-nav>button,.chat-reference-layout #chat-project-toggle{height:42px;font-size:15px}.chat-reference-layout .chat-account-card{min-height:66px}
body.chat-route .chat-reference-layout .chat-workspace-header{min-height:66px;padding:9px 12px!important;gap:6px}.chat-reference-layout .chat-header-title{gap:4px;flex:1}.chat-reference-layout .chat-header-title h2{font-size:14px;max-width:none;flex:1}.chat-reference-layout .chat-title-edit{width:25px!important;flex:none}.chat-reference-layout .chat-header-actions{gap:6px}.chat-reference-layout .chat-header-actions>.chat-icon-button,.chat-reference-layout .chat-upgrade,.chat-reference-layout .chat-header-divider{display:none}.chat-reference-layout .chat-profile-avatar{width:32px;height:32px;font-size:14px}.chat-reference-layout .chat-more-wrap{display:block}.chat-reference-layout #chat-more-toggle{display:grid;width:29px;height:32px}
body.chat-route .chat-reference-layout #messages{padding:20px 15px!important}.chat-reference-layout .message{gap:10px!important;margin-bottom:24px!important}.chat-reference-layout .message-avatar{width:34px!important;height:34px!important;padding:5px!important;border-radius:9px!important}.chat-reference-layout .message-avatar img{width:25px!important;height:25px!important}.chat-reference-layout .user .message-avatar{width:29px!important;min-width:29px;height:29px!important;font-size:13px;margin-top:5px}.chat-reference-layout .message.user{gap:8px!important}.chat-reference-layout .message-body{font-size:15px!important;line-height:1.95!important}.chat-reference-layout .user .message-body{padding:12px 15px!important;border-radius:12px!important}.chat-reference-layout .chat-answer-section{padding:12px;margin:14px 0;border-radius:12px}.chat-reference-layout .chat-answer-section h1,.chat-reference-layout .chat-answer-section h2,.chat-reference-layout .chat-answer-section h3{font-size:16px!important}.chat-reference-layout .chat-answer-section ul{padding:10px 27px 10px 10px!important}.chat-reference-layout .chat-answer-section ol{padding:10px!important}.chat-reference-layout .message-actions{flex-wrap:wrap;gap:4px}.chat-reference-layout .message-actions button{font-size:10px}
body.chat-route .chat-reference-layout .chat-composer-area{padding:6px 8px max(8px,env(safe-area-inset-bottom))!important;max-height:55%}body.chat-route .chat-reference-layout form.chat-composer{padding:8px!important;border-radius:14px!important}.chat-reference-layout .chat-compose-row{gap:5px}.chat-reference-layout .chat-plus-button{width:36px!important;height:40px!important}.chat-reference-layout .chat-tools-trigger{width:35px;height:40px;padding:0;justify-content:center;border:0;background:none}.chat-reference-layout .chat-tools-trigger span,.chat-reference-layout .chat-tools-trigger .ui-icon:last-child{display:none}.chat-reference-layout .chat-send-button{width:42px!important;height:40px!important}.chat-reference-layout .chat-send-button .ui-icon{width:22px}.chat-reference-layout .chat-composer textarea{min-height:40px!important;max-height:105px;padding:7px 5px!important;font-size:16px!important}.chat-reference-layout .chat-shortcut-row{gap:6px;margin-top:8px}.chat-reference-layout .chat-shortcut-row button{padding:5px 9px;font-size:10px;min-height:30px}.chat-reference-layout .chat-shortcut-row .ui-icon{width:14px}.chat-reference-layout .chat-information{font-size:9px;margin-bottom:-4px}.chat-reference-layout .chat-latest{bottom:145px}.chat-reference-layout .chat-welcome h1{font-size:23px}.chat-reference-layout .chat-welcome{padding:18px 0}.chat-reference-layout .chat-prompt-grid{gap:8px}.chat-reference-layout .chat-prompt{padding:12px}.chat-reference-layout .chat-prompt b{font-size:13px}
}
@media(max-width:900px) and (max-height:520px){body.chat-route .chat-reference-layout .chat-workspace-header{min-height:46px;padding-block:4px!important}.chat-reference-layout .chat-shortcut-row,.chat-reference-layout .chat-information{display:none}.chat-reference-layout .chat-active-tools{max-height:30px}.chat-reference-layout .chat-composer textarea{max-height:65px!important}.chat-reference-layout .file-preview{max-height:45px;overflow:auto}.chat-reference-layout .chat-reference-bar{max-height:32px;overflow:auto}.chat-reference-layout .chat-primary-nav{gap:1px}.chat-reference-layout .chat-primary-nav>button,.chat-reference-layout #chat-project-toggle{height:32px}.chat-reference-layout .chat-history-heading{padding-bottom:4px}.chat-reference-layout .chat-new-button{margin-bottom:8px!important}.chat-reference-layout .chat-account-card{min-height:48px;padding:6px}.chat-reference-layout .chat-account-avatar{width:30px;height:30px}.chat-reference-layout .chat-welcome-mark,.chat-reference-layout .chat-prompt-grid{display:none}}
@media(prefers-reduced-motion:reduce){.chat-reference-layout *{animation:none!important;transition:none!important}}
body.chat-route .chat-reference-layout .chat-composer-area>form,body.chat-route .chat-reference-layout .chat-composer-area>.file-preview,body.chat-route .chat-reference-layout .chat-composer-area>.chat-information{max-width:none!important;width:100%;margin-inline:0!important}
body.chat-route .chat-reference-layout form.chat-composer{align-items:stretch!important}
.chat-reference-layout .chat-compose-row{width:100%;flex:none!important;align-self:stretch}
body.chat-route .chat-reference-layout .chat-composer textarea{flex:1 1 0%!important;min-width:0!important;max-width:none!important;display:block;white-space:pre-wrap;overflow-wrap:normal}
.chat-reference-layout .chat-shortcut-row{align-self:stretch;width:100%}
@media(min-width:901px){body.chat-route #main{padding:20px 20px 12px!important}.chat-reference-layout .user .message-content{flex-basis:618px}.chat-reference-layout .user .message-body{min-height:120px}.chat-reference-layout .message.user{margin-bottom:12px!important}.chat-reference-layout .chat-message-time{line-height:18px;padding-top:3px}.chat-reference-layout .message-body{font-size:18px!important;line-height:1.95!important}.chat-reference-layout .chat-shortcut-row button{font-size:15px;padding:6px 18px;min-height:38px}.chat-reference-layout .chat-shortcut-row{gap:16px;margin-top:9px}.chat-reference-layout .chat-compose-row{min-height:54px}.chat-reference-layout .chat-composer textarea{height:54px}.chat-reference-layout .chat-composer-area{padding-bottom:6px!important}.chat-reference-layout .history-item b{font-size:16px}.chat-reference-layout .history-item small{font-size:12px}.chat-reference-layout .chat-new-button{margin-inline:8px!important;width:calc(100% - 8px)!important}.chat-reference-layout .chat-upgrade{font-size:16px}.chat-reference-layout .chat-primary-nav .ui-icon{color:#43557a}}
.chat-reference-layout .chat-answer-section h1,.chat-reference-layout .chat-answer-section h2,.chat-reference-layout .chat-answer-section h3,.chat-reference-layout .chat-answer-section h4{text-align:left!important}
.chat-reference-layout .chat-answer-section ul li::marker{color:#1764f6}
.chat-reference-layout .chat-answer-section ul{background:#edf4ff}
.chat-reference-layout .chat-answer-section ol{background:white}
.chat-reference-layout .user .message-content{position:relative}.chat-reference-layout .user .message-actions{position:absolute;left:0;bottom:-20px;opacity:0;pointer-events:none;background:white;border-radius:8px;z-index:2}.chat-reference-layout .user:hover .message-actions,.chat-reference-layout .user:focus-within .message-actions{opacity:1;pointer-events:auto}
.chat-reference-layout .chat-latest{width:max-content!important;max-width:calc(100% - 60px)!important;min-height:0!important;height:auto!important}
.chat-reference-layout .chat-information{display:none!important}
@media(max-width:900px){.chat-reference-layout .message.user{margin-bottom:20px!important}.chat-reference-layout .chat-message-time{line-height:18px;padding-top:4px}.chat-reference-layout .user .message-actions{position:static;opacity:.65;pointer-events:auto}.chat-reference-layout .chat-primary-nav button{color:#354259!important}}
