.ask-shell{display:grid;grid-template-columns:250px minmax(0,1fr);gap:16px;min-height:650px}.ask-sidebar,.ask-main{border:1px solid #dce4ef;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(25,45,75,.05)}.ask-sidebar{padding:14px;display:flex;flex-direction:column;gap:12px}.ask-new{width:100%;display:flex;align-items:center;justify-content:center;gap:8px}.ask-thread-list{display:flex;flex-direction:column;gap:6px;overflow:auto;max-height:610px}.ask-thread{border:0;background:transparent;color:#243247;text-align:left;padding:10px 11px;border-radius:11px;cursor:pointer;display:grid;gap:3px}.ask-thread:hover{background:#f3f6fb}.ask-thread.active{background:#edf3ff;color:#214f9c}.ask-thread strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ask-thread small{font-size:11px;color:#7b889b}.ask-sidebar-foot{margin-top:auto;border-top:1px solid #edf0f5;padding-top:10px;color:#7b889b;font-size:11px;line-height:1.45}.ask-main{display:flex;flex-direction:column;min-width:0;overflow:hidden}.ask-head{padding:18px 20px;border-bottom:1px solid #e8edf4;display:flex;align-items:center;justify-content:space-between;gap:16px}.ask-head h1{margin:0;font-size:24px}.ask-head p{margin:4px 0 0;color:#748196;font-size:13px}.ask-ai-badge{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:#edf4ff;color:#2459a8;font-size:11px;font-weight:800;letter-spacing:.04em}.ask-ai-dot{width:8px;height:8px;border-radius:50%;background:#2d6cdf;box-shadow:0 0 0 4px rgba(45,108,223,.12)}.ask-messages{flex:1;overflow:auto;padding:22px;display:flex;flex-direction:column;gap:16px;background:linear-gradient(180deg,#fbfcfe 0,#fff 150px)}.ask-empty{margin:auto;max-width:720px;width:100%;text-align:center;padding:28px 12px}.ask-empty-icon{width:58px;height:58px;border-radius:18px;margin:0 auto 14px;display:grid;place-items:center;background:linear-gradient(145deg,#2d6cdf,#214e9c);color:white;font-size:26px;box-shadow:0 12px 30px rgba(45,108,223,.22)}.ask-empty h2{margin:0 0 8px;font-size:25px}.ask-empty p{color:#738096;margin:0 auto 22px;max-width:560px}.ask-starters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ask-starter{border:1px solid #dfe7f2;background:#fff;border-radius:13px;text-align:left;padding:13px 14px;color:#243247;font-weight:650;cursor:pointer;box-shadow:0 4px 14px rgba(25,45,75,.04)}.ask-starter:hover{border-color:#9db9e8;background:#f8fbff}.ask-message{max-width:820px;width:min(100%,820px)}.ask-message.user{align-self:flex-end;width:auto;max-width:min(78%,720px);background:#2d63bd;color:white;padding:11px 14px;border-radius:16px 16px 4px 16px;box-shadow:0 6px 18px rgba(45,99,189,.16)}.ask-message.assistant{align-self:flex-start}.ask-answer-card{border:1px solid #e0e7f0;border-radius:16px;background:#fff;padding:16px 17px;box-shadow:0 7px 22px rgba(25,45,75,.055)}.ask-answer-text{white-space:pre-wrap;color:#26364d;line-height:1.55;font-size:14px}.ask-answer-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px;margin-top:12px;padding-top:10px;border-top:1px solid #edf1f6;color:#7a8799;font-size:11px}.ask-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.ask-action{border:1px solid #d8e2ef;background:#f8fafc;color:#31547e;border-radius:9px;padding:7px 9px;font-size:11px;font-weight:750;cursor:pointer}.ask-action:hover{background:#eef5ff;border-color:#b7cae8}.ask-action:disabled{opacity:.5;cursor:default}.ask-report{margin-top:11px;border:1px solid #e6ebf2;border-radius:12px;background:#fbfcfe;overflow:hidden}.ask-report-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-bottom:1px solid #e7ecf3}.ask-stat{padding:11px 12px;border-right:1px solid #e7ecf3}.ask-stat:last-child{border-right:0}.ask-stat small{display:block;color:#7a8798;font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:800}.ask-stat strong{display:block;margin-top:3px;color:#1e3047;font-size:17px}.ask-breakdown{width:100%;border-collapse:collapse;font-size:11px}.ask-breakdown th,.ask-breakdown td{padding:8px 10px;border-bottom:1px solid #edf1f5;text-align:right}.ask-breakdown th:first-child,.ask-breakdown td:first-child{text-align:left}.ask-breakdown tr:last-child td{border-bottom:0}.ask-compare{padding:10px 12px;color:#516177;font-size:11px}.ask-compare strong{color:#20334d}.ask-composer{padding:14px 16px;border-top:1px solid #e8edf4;background:#fff}.ask-compose-box{display:flex;align-items:flex-end;gap:9px;border:1px solid #cfd9e6;border-radius:14px;padding:9px;background:#fff;box-shadow:0 4px 16px rgba(30,50,80,.05)}.ask-compose-box:focus-within{border-color:#79a2df;box-shadow:0 0 0 3px rgba(45,108,223,.10)}.ask-input{resize:none;min-height:24px;max-height:140px;flex:1;border:0!important;outline:0!important;box-shadow:none!important;padding:5px 6px!important;font:inherit;line-height:1.4;background:transparent}.ask-send{width:40px;height:40px;border-radius:11px;padding:0;display:grid;place-items:center;font-size:17px}.ask-note{font-size:10px;color:#8793a4;margin:7px 4px 0}.ask-typing{display:flex;gap:5px;padding:12px 14px;border:1px solid #e1e7ef;background:#fff;border-radius:14px;width:max-content}.ask-typing i{display:block;width:6px;height:6px;border-radius:50%;background:#708198;animation:askBounce 1.1s infinite ease-in-out}.ask-typing i:nth-child(2){animation-delay:.12s}.ask-typing i:nth-child(3){animation-delay:.24s}@keyframes askBounce{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-4px);opacity:1}}.ask-error{border-color:#efcaca;background:#fff8f8}.ask-error .ask-answer-text{color:#8d3232}.ask-source-dialog{width:min(1050px,94vw);max-height:88vh;border:0;border-radius:18px;padding:0;box-shadow:0 24px 80px rgba(20,35,55,.28)}.ask-source-dialog::backdrop{background:rgba(18,29,44,.45)}.ask-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #e5eaf1}.ask-dialog-head h2{margin:0;font-size:18px}.ask-source-body{padding:0 18px 18px;overflow:auto;max-height:72vh}.ask-source-note{font-size:11px;color:#778599;margin:12px 0}.ask-source-table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}.ask-source-table th,.ask-source-table td{padding:8px 9px;border-bottom:1px solid #edf1f5;text-align:left}.ask-source-table th{position:sticky;top:0;background:#f8fafc;color:#5e6e83;z-index:1}.ask-thread-actions{display:flex;gap:7px}.ask-status{color:#6f7e92;font-size:11px;margin:0}.ask-delete-chat{border:0;background:transparent;color:#8d98a8;font-size:11px;cursor:pointer;padding:5px}.ask-delete-chat:hover{color:#9d3535}.ask-config-banner{margin:0 20px 12px;border:1px solid #ead9a8;background:#fffaf0;color:#725a22;border-radius:11px;padding:10px 12px;font-size:12px}
@media(max-width:820px){.ask-shell{grid-template-columns:1fr;min-height:620px}.ask-sidebar{display:none}.ask-main{min-height:620px}.ask-head{padding:15px 16px}.ask-messages{padding:16px}.ask-starters{grid-template-columns:1fr}.ask-message.user{max-width:88%}.ask-report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ask-stat:nth-child(2){border-right:0}.ask-stat:nth-child(-n+2){border-bottom:1px solid #e7ecf3}}

/* V7.26.1: simplify Ask LoadSheets UI */
.ask-head{min-height:64px}
.ask-head h1{font-size:24px}
.ask-empty{padding:20px 12px}
.ask-empty h2{margin:0 0 18px;font-size:22px}
.ask-error{border:0;background:transparent;box-shadow:none;padding:4px 0}
.ask-error .ask-answer-text{color:#a24343;font-size:13px}
@media(max-width:820px){.ask-head{min-height:58px}.ask-head h1{font-size:23px}.ask-delete-chat{padding:4px 2px}.ask-empty{padding:14px 4px}}


/* V7.26.1: cleaner Ask LoadSheets empty state and composer */
.ask-head{min-height:0;padding:16px 18px}
.ask-head h1{font-size:24px;letter-spacing:-.5px}
.ask-delete-chat{width:auto!important;margin:0!important;padding:7px 2px!important;background:transparent!important;color:#738096!important;border:0!important;border-radius:8px;font-size:12px;font-weight:650;justify-content:center}
.ask-delete-chat:hover{background:transparent!important;color:#315681!important}
.ask-messages{padding:18px}
.ask-empty{margin:auto;max-width:520px;padding:18px 8px}
.ask-empty-icon{width:50px;height:50px;border-radius:16px;margin:0 auto 14px;font-size:23px;box-shadow:0 10px 24px rgba(45,108,223,.18)}
.ask-empty h2{margin:0;font-size:22px;letter-spacing:-.45px}
.ask-composer{padding:10px 12px;border-top:1px solid #e8edf4}
.ask-compose-box{min-height:58px;display:flex;align-items:center;gap:8px;border-radius:16px;padding:6px 6px 6px 14px}
.ask-input{display:block;min-height:22px;height:22px;max-height:132px;margin:0!important;padding:0!important;line-height:22px!important;overflow-y:auto}
.ask-send{width:44px;height:44px;min-width:44px;flex:0 0 44px;margin:0!important;padding:0!important;border-radius:12px;display:grid;place-items:center;justify-content:center;align-items:center}
.ask-send svg{display:block;width:20px;height:20px;overflow:visible}
.ask-send path{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:820px){.ask-head{min-height:0;padding:14px 16px}.ask-messages{padding:14px}.ask-empty{padding:10px 4px}.ask-empty-icon{width:48px;height:48px}.ask-empty h2{font-size:21px}.ask-composer{padding:9px 10px 10px}.ask-compose-box{min-height:56px;padding:6px 6px 6px 13px}.ask-send{width:42px;height:42px;min-width:42px;flex-basis:42px}}


/* V7.23: Ask LoadSheets can display the existing Office Summary renderer directly. */
.ask-office-summary{margin-top:12px;padding:14px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;overflow-x:auto}
.ask-office-summary .ls-original-summary{min-width:0;font-size:10px}
.ask-office-summary .ls-summary-heading-right{display:none}
.ask-office-summary .ls-summary-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.ask-office-summary .ls-summary-kpi{min-height:50px;padding:8px 9px}
.ask-office-summary .ls-summary-kpi strong{font-size:18px}
.ask-office-summary .ls-summary-table{font-size:10px}
.ask-summary-loading{padding:10px 2px;color:#748196;font-size:12px}
@media(max-width:820px){
 .ask-office-summary{padding:11px;margin-left:-2px;margin-right:-2px}
 .ask-office-summary .ls-summary-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ask-office-summary .ls-summary-table{min-width:620px}
 .ask-office-summary .ls-summary-header{min-width:0}
}

/* Direct load-sheet retrieval inside Ask LoadSheets. */
.ask-sheet-list{margin-top:14px;border-top:1px solid #e6ebf2}.ask-sheet-list-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding:13px 0 8px}.ask-sheet-list-head strong{font-size:15px;color:#1f354f}.ask-sheet-list-head span{font-size:11px;color:#718096}.ask-sheet-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid #edf1f5}.ask-sheet-info{display:grid;gap:2px;min-width:0}.ask-sheet-info strong{font-size:13px;color:#21344c}.ask-sheet-info span{font-size:12px;color:#34485f}.ask-sheet-info small{font-size:10px;color:#748196;white-space:normal}.ask-sheet-row-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.ask-sheet-row-actions .ask-action{white-space:nowrap}
@media(max-width:560px){.ask-sheet-list-head{display:grid;gap:2px}.ask-sheet-row{grid-template-columns:1fr}.ask-sheet-row-actions{justify-content:flex-start}.ask-sheet-row-actions .ask-action{flex:1}}
