/* Touch-first chat; the text field always owns its row. */
html[data-theme] body.hodhod-v2 .composer-box{position:relative;min-width:0}
html[data-theme] body.hodhod-v2 .messages{touch-action:pan-y;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;overflow-anchor:none;scroll-behavior:auto!important}
html[data-theme] body.hodhod-v2 .messages .bubble,html[data-theme] body.hodhod-v2 .messages .message-content{min-width:0;max-width:100%;overflow-wrap:anywhere}
html[data-theme] body.hodhod-v2 .composer-box textarea{min-width:0;font-size:16px!important}
.scroll-latest{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);background:var(--b-paper,#fff);color:var(--b-ink,#213b57);border:1px solid var(--b-line,#dde5ef);border-radius:30px;padding:8px 15px;font:inherit;font-size:11px;box-shadow:0 4px 18px #152e4f15;cursor:pointer;z-index:5}.scroll-latest[hidden]{display:none!important}
.mobile-table-cards{display:none}.table-card{border:1px solid var(--b-line,#dce5f0);background:var(--b-paper,#fff);border-radius:14px;padding:14px;margin:10px 0}.table-card h4{font-size:13px!important;margin:0 0 12px!important;color:var(--b-ink,#243b55)}.table-card dl{display:grid;grid-template-columns:minmax(75px,.7fr) minmax(0,1.3fr);gap:9px 12px;margin:0}.table-card dt{color:var(--b-muted,#74869b);font-size:11px}.table-card dd{margin:0;font-size:12px;line-height:1.9;min-width:0;overflow-wrap:anywhere}.table-card dd p{margin:0}
@media(max-width:700px){html[data-theme] body.hodhod-v2 .composer{padding:7px 10px max(8px,env(safe-area-inset-bottom))!important}html[data-theme] body.hodhod-v2 .composer-box{display:grid!important;grid-template-columns:minmax(0,1fr) 38px;grid-template-rows:auto 38px;gap:3px 6px!important;padding:8px 9px!important;border-radius:20px!important;align-items:center!important}html[data-theme] body.hodhod-v2 .composer-box>textarea{grid-row:1;grid-column:1/-1;width:100%!important;min-height:44px!important;max-height:125px!important;padding:7px 5px!important;margin:0!important;resize:none!important}html[data-theme] body.hodhod-v2 .composer-box>.composer-icons{grid-row:2;grid-column:1;justify-content:flex-start;gap:3px!important;min-width:0;flex-wrap:nowrap;display:flex!important}html[data-theme] body.hodhod-v2 .composer-box>button[type=submit],html[data-theme] body.hodhod-v2 .composer-box>#stopResponse{grid-row:2;grid-column:2;width:36px!important;height:36px!important;min-height:36px!important;margin:0!important;border-radius:12px!important}html[data-theme] body.hodhod-v2 .composer-box>.advanced-composer-icon{display:none!important}html[data-theme] body.hodhod-v2 .composer-icons>:is(button,label,details)>summary,html[data-theme] body.hodhod-v2 .composer-icons>:is(button,label){width:34px!important;height:34px!important;min-height:34px!important;min-width:34px!important;padding:6px!important;margin:0!important;border-radius:10px!important}html[data-theme] body.hodhod-v2 .composer-icons .composer-assistants span{display:none!important}html[data-theme] body.hodhod-v2 .composer-meta{margin-top:3px!important}.composer-settings-panel{max-height:min(420px,60dvh);overflow:auto!important;width:min(320px,calc(100vw - 28px))!important}.composer-settings>summary{list-style:none}.composer-settings>summary::-webkit-details-marker{display:none}html[data-theme] body.hodhod-v2 .messages{padding-inline:12px!important}html[data-theme] body.hodhod-v2 .message{gap:7px!important;max-width:100%!important}html[data-theme] body.hodhod-v2 .message-avatar{width:26px!important;height:26px!important;flex:0 0 26px!important}html[data-theme] body.hodhod-v2 .message .bubble{max-width:calc(100% - 33px)!important;width:calc(100% - 33px)!important;padding-inline:5px!important}html[data-theme] body.hodhod-v2 .message.user .bubble{padding:12px!important;width:auto!important}.markdown-body .has-mobile-cards{display:none!important}.mobile-table-cards{display:block;max-width:100%}.markdown-body pre{max-width:100%;overflow:auto}.markdown-body .table-scroll:has(.has-mobile-cards),.markdown-body .table-wrap:has(.has-mobile-cards){overflow:visible!important;max-width:100%}.mobile-table-cards table{display:none!important}.inline-finance-card{margin-inline:0!important;padding:10px!important;width:100%;box-sizing:border-box}.chat-top{padding-inline:12px!important}.chat-top>a.btn{padding:6px 9px!important;font-size:10px!important}}
@media(max-width:360px){html[data-theme] body.hodhod-v2 .composer-icons{gap:0!important}html[data-theme] body.hodhod-v2 .composer-icons>:is(button,label){width:31px!important;min-width:31px!important;padding:5px!important}}
/* Reply navigation appears only after the reader intentionally leaves the end. */
.scroll-latest{width:36px;height:36px;padding:8px;border-radius:50%;display:grid;place-items:center;box-shadow:0 3px 12px #162d4c14;bottom:calc(100% + 9px)}.scroll-latest svg{width:19px;height:19px}.scroll-latest[hidden]{display:none!important}
.mobile-table-cards{counter-reset:reply-row}.table-card{position:relative;padding:0!important;border:1px solid var(--b-line,#dce5ef);border-radius:16px;overflow:hidden;background:var(--b-paper,#fff);box-shadow:0 3px 14px #142d4b05;margin:10px 0!important;contain:layout style}.table-card>header{display:flex;align-items:center;gap:10px;padding:13px 14px;background:linear-gradient(110deg,#4e79bf0b,#ba96580b);border-bottom:1px solid var(--b-line,#e4eaf3)}.table-card-index{display:grid;place-items:center;flex:0 0 28px;height:28px;border:1px solid #6c8bb929;border-radius:9px;background:var(--b-paper,#fff);color:var(--b-muted,#7086a0);font-size:10px;font-weight:600}.table-card h4{margin:0!important;font-size:12px!important;line-height:1.9!important;font-weight:700;overflow-wrap:anywhere}.table-card dl{display:block!important;padding:0 14px!important;margin:0!important}.table-card-field{display:grid;grid-template-columns:minmax(76px,.75fr) minmax(0,1.25fr);align-items:baseline;gap:8px;padding:10px 0;border-bottom:1px solid var(--b-line,#e7ecf3)}.table-card-field:last-child{border:0}.table-card dt{font-size:10px!important;color:var(--b-muted,#7a8da4)!important;line-height:1.9}.table-card dd{font-size:12px!important;line-height:1.9!important;color:var(--b-ink,#28425e);font-weight:500;margin:0!important;text-align:start;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.table-card dd strong{font-weight:750}.table-card dd a{color:var(--b-accent,#3e6db7);text-decoration:underline;text-underline-offset:3px}.table-card dd :is(ul,ol){padding-inline-start:15px!important;margin:0!important}.table-card dd :is(p,div){margin:0!important}.table-card dd pre{white-space:pre-wrap!important}
@media(max-width:360px){.table-card>header{padding:11px}.table-card dl{padding-inline:11px!important}.table-card-field{grid-template-columns:minmax(68px,.7fr) minmax(0,1.3fr);gap:7px}.table-card dd{font-size:11px!important}}
