/* TUSMO public interface — standalone stylesheet, November 2026.
   No legacy stylesheet, imports, or accumulated override layers are required. */

/* Foundation: Mosella homepage blue, dark text and readable secondary text. */
.tusmo-floating,.tusmo-app{--tusmo-ink:#111827;--tusmo-muted:#475569;--tusmo-blue:#1551c7;--tusmo-navy:#030912;--tusmo-line:#7a8ba8;--tusmo-paper:#f4f6fb;font:400 15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--tusmo-ink)}
.tusmo-floating *,.tusmo-floating *::before,.tusmo-floating *::after,.tusmo-app *,.tusmo-app *::before,.tusmo-app *::after{box-sizing:border-box}
.tusmo-app :is(h1,h2,h3,h4,p,figure){margin:0;font-family:inherit;color:inherit}
.tusmo-app :is(button,input,textarea,select){font:inherit;text-transform:none;letter-spacing:normal}
.tusmo-app button,.tusmo-floating>button,.tusmo-floating-panel>button{appearance:none;cursor:pointer;margin:0;box-shadow:none;text-decoration:none}
.tusmo-app button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid var(--tusmo-line);border-radius:10px;background:#fff;color:var(--tusmo-ink);line-height:1.35;font-weight:600}
.tusmo-app button:hover{border-color:#1551c7;background:#eef3ff}
.tusmo-app button:disabled{opacity:.45;cursor:wait}
.tusmo-app a{color:var(--tusmo-blue);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.tusmo-app img{display:block;max-width:100%;height:auto}
.tusmo-app .tusmo-icon{display:block;width:20px;height:20px;flex:0 0 20px;stroke:currentColor}
.tusmo-app [hidden],.tusmo-floating [hidden]{display:none!important}
.tusmo-app .tusmo-sr-only,.tusmo-step-chat .tusmo-main>.tusmo-question{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.tusmo-app :is(button,a,summary,input,textarea,select,[tabindex]):focus-visible,.tusmo-floating>button:focus-visible,.tusmo-floating-panel>button:focus-visible{outline:3px solid #e7b836;outline-offset:3px;box-shadow:0 0 0 5px var(--tusmo-navy)}
.tusmo-app .tusmo-small{font-size:12px;line-height:1.5;color:var(--tusmo-muted)}

/* Mascot launcher and dialog */
.tusmo-floating{position:fixed;right:24px;bottom:max(20px,env(safe-area-inset-bottom));z-index:100001;isolation:isolate}
.tusmo-floating .tusmo-launcher{display:block;position:relative;width:112px;height:156px;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:transparent;overflow:visible;color:inherit}
.tusmo-floating .tusmo-launcher>img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 6px #071e3930)}
.tusmo-floating .tusmo-launcher>span,.tusmo-floating .tusmo-launcher-minimize{display:none}
.tusmo-floating:has(.tusmo-floating-panel:not([hidden]))>.tusmo-launcher{visibility:hidden;pointer-events:none}
.tusmo-floating-panel{position:fixed;inset:auto 24px 24px auto;display:block;width:min(580px,calc(100vw - 48px));height:min(780px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);overflow:hidden;border:1px solid #cdd9e7;border-radius:24px;background:#fff;box-shadow:0 24px 80px #071d3838,0 4px 16px #071d3814}
.tusmo-floating-panel>.tusmo-close,.tusmo-floating-panel>.tusmo-minimize{position:absolute;top:16px;z-index:10;display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #ffffff40;border-radius:10px;background:#ffffff0d;color:#fff;font:400 26px/1 system-ui}
.tusmo-floating-panel>.tusmo-close{right:14px}.tusmo-floating-panel>.tusmo-minimize{right:60px}
.tusmo-floating-panel>.tusmo-close:hover,.tusmo-floating-panel>.tusmo-minimize:hover{background:#ffffff22}
.tusmo-app{display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;margin:0;padding:0;border:0;background:#fff}

/* Header and optional controls */
.tusmo-app .tusmo-mast{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;gap:12px;min-height:76px;padding:14px 112px 14px 20px;background:var(--mosella-button,linear-gradient(120deg,#1551c7,#0c2b62 55%,#030912));color:#fff}
.tusmo-app .tusmo-brand{display:flex;align-items:center;min-width:0}
.tusmo-app .tusmo-mascot,.tusmo-app .tusmo-mast-glow,.tusmo-app .tusmo-bottom{display:none}
.tusmo-app .tusmo-wordmark{font-size:21px;font-weight:800;letter-spacing:.1em;line-height:1.2;color:#fff}
.tusmo-app .tusmo-display-options{position:relative;flex:0 0 auto;margin:0;padding:0;border:0}
.tusmo-app .tusmo-display-options>summary{display:flex;align-items:center;justify-content:center;min-height:42px;padding:0 12px;list-style:none;cursor:pointer;color:#ecf4ff;border:1px solid #ffffff40;border-radius:10px;background:transparent;font-size:13px;font-weight:600}
.tusmo-app .tusmo-display-options>summary::-webkit-details-marker{display:none}
.tusmo-app .tusmo-display-options>summary::after{content:'⌄';margin-left:8px}
.tusmo-app .tusmo-options-list{position:absolute;right:0;top:calc(100% + 10px);z-index:30;display:grid;grid-template-columns:1fr;gap:8px;width:250px;max-width:calc(100vw - 48px);padding:12px;border:1px solid #cbd9e8;border-radius:15px;background:#fff;box-shadow:0 12px 32px #0b274c28}
.tusmo-app .tusmo-display-options:not([open]) .tusmo-options-list{display:none}
.tusmo-app .tusmo-options-list .tusmo-control{justify-content:flex-start;width:100%;min-height:44px;padding:10px 12px;border:1px solid #cedcea;background:#eef3ff;color:#111827;font-size:14px;font-weight:600;text-align:left}
.tusmo-app .tusmo-options-list .tusmo-control[aria-pressed=true]{background:#1551c7;border-color:#1551c7;color:#fff}
.tusmo-app .tusmo-stop-speaking{display:none}
.tusmo-app[data-tusmo-voice=speaking] .tusmo-stop-speaking{display:flex}
.tusmo-app .tusmo-voice-status{flex:0 0 auto;padding:8px 18px;background:#eef3ff;color:#111827;font-size:13px}
.tusmo-app .tusmo-voice-status:empty{display:none}

/* Conversation frame and welcome */
.tusmo-app .tusmo-main{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;min-width:0;padding:20px;overflow:auto;background:#fff}
.tusmo-step-chat .tusmo-main{padding:0;overflow:hidden}
.tusmo-app .tusmo-question{font-size:24px;line-height:1.2;font-weight:750;letter-spacing:-.025em;margin-bottom:12px}
.tusmo-app .tusmo-description{margin-bottom:18px;color:var(--tusmo-muted)}
.tusmo-app .tusmo-chat-workspace{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;min-width:0;overflow:hidden}
.tusmo-app .tusmo-chat-stage{display:flex;align-items:center;flex:0 0 auto;gap:14px;height:170px;min-height:170px;padding:20px 24px;border-bottom:1px solid #e1e9f2;background:linear-gradient(115deg,#eef3ff,#ffffff);overflow:hidden}
.tusmo-app .tusmo-chat-companion{position:relative;isolation:isolate;flex:0 0 92px;width:92px;height:132px;overflow:hidden;touch-action:pan-y}
.tusmo-app .tusmo-chat-companion>img{position:absolute;inset:0 0 20px;width:100%;height:calc(100% - 20px);object-fit:contain;object-position:center}
.tusmo-app .tusmo-activity{position:absolute;bottom:0;left:50%;transform:translateX(-50%);z-index:4;max-width:110px;padding:2px 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:10px;background:#e7edff;color:#334155;font-size:12px;line-height:1.5;font-weight:600}
.tusmo-app .tusmo-welcome-bubble{flex:1 1 auto;min-width:0;color:#111827}
.tusmo-app .tusmo-welcome-bubble>strong{display:block;margin-bottom:10px;font-size:24px;line-height:1.2;letter-spacing:-.04em;font-weight:750;color:#111827}
.tusmo-app .tusmo-welcome-bubble>p{color:#475569;font-size:14px;line-height:1.55}
.tusmo-has-history .tusmo-chat-stage{height:64px;min-height:64px;gap:10px;padding:6px 22px}
.tusmo-has-history .tusmo-chat-companion{flex-basis:42px;width:42px;height:54px}
.tusmo-has-history .tusmo-chat-companion>img{inset:0;height:100%}
.tusmo-has-history .tusmo-chat-companion .tusmo-activity,.tusmo-has-history .tusmo-welcome-bubble>strong{display:none}
.tusmo-has-history .tusmo-welcome-bubble>p{font-size:13px}
.tusmo-app .tusmo-chat-pane{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;min-width:0;padding:18px 22px 10px;overflow:hidden}

/* Task cards */
.tusmo-app .tusmo-quick-starts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:0 1 auto;gap:10px;min-height:0;margin:0 0 10px;overflow-y:auto}
.tusmo-app .tusmo-quick-start{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-width:0;min-height:76px;padding:14px;border:1px solid #7a8ba8;border-radius:14px;background:#fff;color:#111827;font-size:14px;text-align:left}
.tusmo-app .tusmo-quick-start:hover{background:#eef3ff;border-color:#1551c7}
.tusmo-app .tusmo-quick-start>.tusmo-icon{width:22px;height:22px;flex-basis:22px;color:#1551c7}
.tusmo-app .tusmo-start-copy{display:flex;flex-direction:column;flex:1;gap:4px;min-width:0}
.tusmo-app .tusmo-start-copy strong{font-size:14px;line-height:1.3;font-weight:650;color:#111827}
.tusmo-app .tusmo-start-copy small{font-size:12px;line-height:1.4;font-weight:400;color:#475569}
.tusmo-app .tusmo-quick-start>.tusmo-start-arrow{width:16px;height:16px;flex-basis:16px}
.tusmo-app .tusmo-quick-start:last-child{grid-column:1/-1;min-height:52px;padding:10px 14px;background:#f4f6fb}
.tusmo-app .tusmo-quick-start:last-child .tusmo-start-copy{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}
.tusmo-has-history .tusmo-quick-starts{display:none}

/* Message stream */
.tusmo-app .tusmo-conversation{display:flex;flex-direction:column;flex:1 1 auto;gap:16px;min-height:0;max-height:none;margin:0;padding:2px 3px 18px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;overflow-wrap:anywhere;scroll-padding:16px;scrollbar-width:thin;scrollbar-color:#bccddd transparent}
.tusmo-app:not(.tusmo-has-history) .tusmo-conversation:empty{padding:0}
.tusmo-app .tusmo-conversation .tusmo-assistant{align-self:flex-start;flex:0 0 auto;width:100%;max-width:100%;padding:16px;border:1px solid #e0e8f0;border-radius:4px 18px 18px 18px;background:#f4f6fb;color:#111827;font-size:15px;line-height:1.65}
.tusmo-app .tusmo-conversation .tusmo-assistant>strong{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:#475569}
.tusmo-app .tusmo-conversation .tusmo-assistant>p{margin:8px 0 12px;font-size:15px;line-height:1.65;white-space:pre-line}
.tusmo-app .tusmo-conversation .tusmo-user{align-self:flex-end;flex:0 0 auto;max-width:88%;padding:12px 16px;border-radius:18px 4px 18px 18px;background:#1551c7;color:#fff}
.tusmo-app .tusmo-user p{font-size:15px;line-height:1.5;white-space:pre-line}
/* Links remain readable on the blue question bubble. */
.tusmo-app .tusmo-conversation .tusmo-user a{color:#fff;text-decoration:underline}
.tusmo-app .tusmo-reply-actions{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.tusmo-app .tusmo-link{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:7px 10px;border:1px solid #7a8ba8;border-radius:8px;background:#fff;color:#1551c7;font-size:12px;font-weight:600;text-decoration:none}
.tusmo-app .tusmo-link:hover{text-decoration:underline}
.tusmo-app .tusmo-link .tusmo-icon{width:15px;height:15px;flex-basis:15px}
.tusmo-app .tusmo-name-choices,.tusmo-app .tusmo-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.tusmo-app .tusmo-suggestion{min-height:40px;padding:7px 10px;font-size:12px}
.tusmo-app .tusmo-answer-feedback{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:8px;padding:4px 0}
.tusmo-app .tusmo-vote-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;min-height:40px;padding:0;border:1px solid #7a8ba8;border-radius:50%;background:#fff;font-size:20px}
.tusmo-app .tusmo-vote-button[aria-pressed=true]{background:#e7edff;border-color:#1551c7}
.tusmo-app .tusmo-feedback-status{flex-basis:100%;font-size:12px;color:#475569}
.tusmo-app .tusmo-feedback-status:empty{display:none}
.tusmo-app .tusmo-answer-feedback details{flex-basis:100%;font-size:12px;color:var(--tusmo-muted)}
.tusmo-app .tusmo-answer-feedback summary{min-height:32px;cursor:pointer}
.tusmo-app .tusmo-answer-feedback label,.tusmo-app .tusmo-learn-optin{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.5}
.tusmo-app input[type=checkbox]{width:18px;height:18px;min-width:18px;accent-color:var(--tusmo-blue)}

/* Composer remains outside the scrolling transcript */
.tusmo-app .tusmo-chat-form{display:flex;align-items:flex-end;flex:0 0 auto;gap:6px;min-width:0;margin:0;padding:8px;border:1px solid #7a8ba8;border-radius:16px;background:#fff;box-shadow:0 3px 12px #163c6408}
.tusmo-app .tusmo-chat-form:focus-within{border-color:#1551c7;box-shadow:0 0 0 3px #1551c726}
.tusmo-app .tusmo-chat-form .tusmo-message-input{display:block;flex:1 1 0;width:0;min-width:0;min-height:48px;max-height:120px;margin:0;padding:10px;border:0;border-radius:8px;background:transparent;color:#111827;font:400 16px/1.5 system-ui;resize:none;overflow-y:auto;box-shadow:none}
.tusmo-app .tusmo-message-input::placeholder{color:#475569;opacity:1}
.tusmo-app .tusmo-chat-form .tusmo-message-input:focus-visible{outline:0;box-shadow:none}
.tusmo-app .tusmo-chat-form :is(.tusmo-inline-mic,.tusmo-stop-speech,button[type=submit]){display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:10px;border:1px solid #7a8ba8;border-radius:11px;background:#eef3ff;color:#1551c7}
.tusmo-app .tusmo-chat-form button[type=submit]{border-color:#1551c7;background:#1551c7;color:#fff}
.tusmo-app .tusmo-chat-form :is(.tusmo-inline-mic,button[type=submit])>span{display:none}
.tusmo-app .tusmo-inline-mic[aria-pressed=true],.tusmo-app[data-tusmo-voice=listening] .tusmo-inline-mic{border-color:#20795e;background:#e3f4ed;color:#165c48}
.tusmo-app .tusmo-learning-details{flex:0 0 auto;max-height:120px;margin-top:6px;padding:0;overflow-y:auto;color:#475569;font-size:12px}
.tusmo-app .tusmo-learning-details summary{min-height:32px;padding:6px 0;cursor:pointer}
.tusmo-app .tusmo-learning-details p{margin:5px 0;font-size:12px;line-height:1.5}
.tusmo-app .tusmo-chat-tools{position:relative;display:flex;justify-content:flex-end;flex:0 0 auto;margin:-32px 0 0 auto;pointer-events:none}
.tusmo-app .tusmo-chat-tools:empty{display:none}
.tusmo-app .tusmo-chat-tools button{min-height:32px;padding:6px 0 6px 12px;border:0;background:transparent;color:#475569;font-size:12px;pointer-events:auto}
.tusmo-app .tusmo-chat-tools .tusmo-icon{width:14px;height:14px;flex-basis:14px}

/* Rich answers and retained service views */
.tusmo-app .tusmo-sport-cards,.tusmo-app .tusmo-department-grid,.tusmo-app .tusmo-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
.tusmo-app .tusmo-sport-card,.tusmo-app .tusmo-department-card,.tusmo-app .tusmo-contact-card,.tusmo-app .tusmo-catalogue-card,.tusmo-app .tusmo-calendar-card,.tusmo-app .tusmo-result{min-width:0;overflow:hidden;border:1px solid #cddcea;border-radius:14px;background:#fff;color:var(--tusmo-ink)}
.tusmo-app .tusmo-sport-card img,.tusmo-app .tusmo-sport-placeholder{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.tusmo-app .tusmo-sport-placeholder{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#030912,#1551c7);color:#fff;font-weight:700}
.tusmo-app .tusmo-sport-card>strong,.tusmo-app .tusmo-sport-card>p,.tusmo-app .tusmo-sport-link{display:block;margin:10px 12px}
.tusmo-app .tusmo-sport-link{min-height:40px;font-weight:650;font-size:13px}
.tusmo-app .tusmo-answer-portrait{display:grid;justify-items:start;gap:5px;margin:10px 0}
.tusmo-app .tusmo-answer-portrait img{width:120px;aspect-ratio:1;object-fit:cover;border-radius:12px}
.tusmo-app .tusmo-answer-portrait figcaption{font-size:12px;color:var(--tusmo-muted)}
.tusmo-app .tusmo-answer-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:8px;margin:10px 0}
.tusmo-app .tusmo-answer-gallery img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:10px;background:#eef3ff}
.tusmo-app .tusmo-answer-gallery button{grid-column:1/-1;justify-self:start}
.tusmo-app .tusmo-contact-list,.tusmo-app .tusmo-catalogue-list,.tusmo-app .tusmo-calendar-list,.tusmo-app .tusmo-results{display:grid;gap:12px;margin:14px 0}
.tusmo-app :is(.tusmo-contact-card,.tusmo-catalogue-card,.tusmo-calendar-card,.tusmo-result){padding:16px}
.tusmo-app :is(.tusmo-catalogue-filters,.tusmo-department-actions,.tusmo-result-actions,.tusmo-actions,.tusmo-weekdays){display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.tusmo-app .tusmo-primary{border-color:#1551c7;background:#1551c7;color:#fff}
.tusmo-app .tusmo-primary:hover{background:#0c2b62}
.tusmo-app .tusmo-secondary,.tusmo-app .tusmo-service-button{background:#eef3ff;color:#1551c7}
.tusmo-app .tusmo-quiet{border:0;background:transparent}
.tusmo-app :is(input:not([type=checkbox]),select){min-height:44px;max-width:100%;padding:10px;border:1px solid #7a8ba8;border-radius:10px;background:#fff;color:var(--tusmo-ink)}
.tusmo-app .tusmo-field{display:grid;gap:8px;margin:14px 0}
.tusmo-app .tusmo-section-label,.tusmo-app .tusmo-catalogue-category{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--tusmo-muted)}
.tusmo-app :is(.tusmo-empty,.tusmo-service-message,.tusmo-timing-warning,.tusmo-wait,.tusmo-inquiry){padding:12px;border:1px solid #7a8ba8;border-radius:10px;background:#f4f6fb;font-size:13px}
.tusmo-app .tusmo-loading-state{display:flex;align-items:center;gap:10px;padding:16px;color:var(--tusmo-muted)}
.tusmo-app .tusmo-loader{display:inline-block;width:18px;height:18px;border:2px solid #cbdceb;border-top-color:#1551c7;border-radius:50%;animation:tusmo-loading 1s linear infinite}
@keyframes tusmo-loading{to{transform:rotate(360deg)}}
.tusmo-app .tusmo-progress{margin:10px 0 16px;font-size:12px;color:var(--tusmo-muted)}
.tusmo-app .tusmo-progress-track{height:5px;margin-top:6px;overflow:hidden;border-radius:5px;background:#e2ebf4}.tusmo-app .tusmo-progress-track span{display:block;height:100%;background:#1551c7}

/* Original character renderer and sport equipment share one coordinate system. */
.tusmo-character-canvas{display:none;position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
.tusmo-character-ready>.tusmo-character-canvas{display:block}
.tusmo-character-ready>img{visibility:hidden}
.tusmo-chat-companion>.tusmo-character-canvas{inset:0 0 20px;height:calc(100% - 20px)}
.tusmo-has-history .tusmo-chat-companion>.tusmo-character-canvas{inset:0;height:100%}
.tusmo-app .tusmo-sport-scene{position:absolute;inset:0 0 20px;width:100%;height:calc(100% - 20px);pointer-events:none;overflow:visible;z-index:0}
.tusmo-has-history .tusmo-sport-scene{inset:0;height:100%}
.tusmo-app .tusmo-action-layer{z-index:3;filter:drop-shadow(0 2px 1px #00132555)}
.tusmo-app .tusmo-prop{display:none}
.tusmo-app[data-tusmo-sport=football] .tusmo-prop-football,.tusmo-app[data-tusmo-sport=tennis] .tusmo-prop-tennis,.tusmo-app[data-tusmo-sport=tabletennis] .tusmo-prop-tabletennis,.tusmo-app[data-tusmo-sport=badminton] .tusmo-prop-badminton,.tusmo-app[data-tusmo-sport=basketball] .tusmo-prop-basketball,.tusmo-app[data-tusmo-sport=volleyball] .tusmo-prop-volleyball,.tusmo-app[data-tusmo-sport=darts] .tusmo-prop-darts,.tusmo-app[data-tusmo-sport=ballschool] .tusmo-prop-ballschool,.tusmo-app[data-tusmo-sport=health] .tusmo-prop-health,.tusmo-app[data-tusmo-sport=karate] .tusmo-prop-karate,.tusmo-app[data-tusmo-sport=athletics] .tusmo-prop-athletics,.tusmo-app[data-tusmo-sport=dance] .tusmo-prop-dance,.tusmo-app[data-tusmo-sport=gymnastics] .tusmo-prop-gymnastics,.tusmo-app[data-tusmo-sport=tablefootball] .tusmo-prop-tablefootball{display:inline}
.tusmo-app .tusmo-held-motion,.tusmo-app .tusmo-held-equipment,.tusmo-app .tusmo-football{transform-origin:0 0}
.tusmo-app:is([data-tusmo-voice=typing],[data-tusmo-voice=listening],[data-tusmo-voice=starting],[data-tusmo-voice=processing]) .tusmo-held-equipment{visibility:hidden}
.tusmo-app:is([data-tusmo-voice=typing],[data-tusmo-voice=listening],[data-tusmo-voice=starting]) .tusmo-sport-scene{opacity:.25}

/* Responsive and accessibility */
.tusmo-easy-language .tusmo-conversation .tusmo-assistant>p{font-size:18px;line-height:1.75}
@media(max-width:600px){
 .tusmo-floating{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}
 .tusmo-floating .tusmo-launcher{width:88px;height:124px}
 .tusmo-floating-panel{inset:auto 8px max(8px,env(safe-area-inset-bottom)) 8px;width:auto;height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:18px}
 .tusmo-app .tusmo-mast{gap:8px;min-height:68px;padding:10px 104px 10px 16px}
 .tusmo-app .tusmo-wordmark{font-size:17px}
 .tusmo-app .tusmo-display-options>summary{min-height:40px;padding:0 8px;font-size:12px}
 .tusmo-floating-panel>.tusmo-close,.tusmo-floating-panel>.tusmo-minimize{top:13px;width:36px;height:40px}
 .tusmo-floating-panel>.tusmo-close{right:10px}.tusmo-floating-panel>.tusmo-minimize{right:52px}
 .tusmo-app .tusmo-chat-stage{gap:12px;height:146px;min-height:146px;padding:14px 16px}
 .tusmo-app .tusmo-chat-companion{flex-basis:74px;width:74px;height:118px}
 .tusmo-app .tusmo-welcome-bubble>strong{font-size:21px}
 .tusmo-app .tusmo-welcome-bubble>p{font-size:13px;line-height:1.45}
 .tusmo-app .tusmo-chat-pane{padding:12px 12px 6px}
 .tusmo-app .tusmo-quick-start{gap:8px;min-height:78px;padding:11px}
 .tusmo-app .tusmo-quick-start>.tusmo-icon{width:18px;height:18px;flex-basis:18px}
 .tusmo-app .tusmo-quick-start>.tusmo-start-arrow{display:none}
 .tusmo-app .tusmo-start-copy strong{font-size:13px}.tusmo-app .tusmo-start-copy small{font-size:12px}
 .tusmo-app .tusmo-quick-start:last-child .tusmo-start-copy small{display:none}
 .tusmo-has-history .tusmo-chat-stage{height:56px;min-height:56px;padding:5px 14px}
 .tusmo-has-history .tusmo-chat-companion{flex-basis:42px;width:42px;height:46px}
 .tusmo-has-history .tusmo-welcome-bubble>p{font-size:13px}
 .tusmo-app .tusmo-conversation .tusmo-assistant{padding:13px}
 .tusmo-app .tusmo-sport-cards,.tusmo-app .tusmo-department-grid{grid-template-columns:1fr}
}
@media(max-height:620px){
 .tusmo-app .tusmo-chat-stage{height:112px;min-height:112px;padding:10px 18px}
 .tusmo-app .tusmo-chat-companion{flex-basis:60px;width:60px;height:92px}
 .tusmo-app .tusmo-activity{display:none}
 .tusmo-app .tusmo-welcome-bubble>strong{margin-bottom:6px;font-size:19px}
 .tusmo-app .tusmo-quick-start{min-height:56px;padding:9px}
 .tusmo-app .tusmo-start-copy small{display:none}
 .tusmo-app .tusmo-chat-pane{padding-top:10px}
 .tusmo-has-history .tusmo-chat-stage{display:none}
}
/* Keep the start tiles reachable when zooming or using a very short window. */
@media(max-height:420px){.tusmo-app .tusmo-chat-stage{display:none}}
.tusmo-motion-paused *,.tusmo-motion-paused *::before,.tusmo-motion-paused *::after{animation:none;transition:none;scroll-behavior:auto}
@media(prefers-reduced-motion:reduce){
 .tusmo-app *,.tusmo-app *::before,.tusmo-app *::after,.tusmo-floating *{animation:none;transition:none;scroll-behavior:auto}
 .tusmo-character-ready>.tusmo-character-canvas{display:none}.tusmo-character-ready>img{visibility:visible}
}
@media(forced-colors:active){
 .tusmo-app :is(button,summary,.tusmo-bubble,.tusmo-quick-start,.tusmo-chat-form){border:1px solid CanvasText}
 .tusmo-app :is(button,a,summary,input,textarea):focus-visible{outline:3px solid Highlight;box-shadow:none}
 .tusmo-app button[aria-pressed=true]{border:3px solid Highlight}
}

/* Direct answers to clarification questions. */
.tusmo-app .tusmo-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px}
.tusmo-app .tusmo-choice-button{width:100%;min-height:48px;justify-content:flex-start;text-align:left;padding:11px 14px;background:#fff;border-color:#7a8ba8;color:#1551c7;font-size:14px;overflow-wrap:anywhere;box-shadow:0 2px 5px #12345008;transition:background-color .15s,border-color .15s}
.tusmo-app .tusmo-choice-button:disabled{opacity:.55;cursor:default}
.tusmo-app .tusmo-pending{padding:12px 16px;color:var(--tusmo-muted);font-size:14px}

/* Keep long follow-up questions readable within two-column choices. */
.tusmo-app .tusmo-choice-button,.tusmo-app .tusmo-choice-button span{white-space:normal;min-width:0;overflow-wrap:anywhere;line-height:1.4}

/* No separate floating collapse arrow above the mascot. */
.tusmo-floating .tusmo-launcher-minimize{display:none!important}

/* Mobile composer follows the visible area above the soft keyboard. */
@media (max-width:767px), (pointer:coarse){
 .tusmo-app .tusmo-quick-start.tusmo-quick-fees{height:auto;min-height:64px;white-space:normal}
 .tusmo-app .tusmo-quick-fees .tusmo-start-copy small{display:block;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;-webkit-line-clamp:unset}
 .tusmo-floating-panel.tusmo-keyboard-open{top:calc(var(--tusmo-visible-top) + 4px);bottom:auto;height:calc(var(--tusmo-visible-height) - 8px);max-height:calc(var(--tusmo-visible-height) - 8px)}
 .tusmo-keyboard-open .tusmo-chat-stage,.tusmo-keyboard-open .tusmo-learning-details,.tusmo-keyboard-open .tusmo-chat-tools{display:none}
 .tusmo-keyboard-open .tusmo-chat-form{margin-bottom:0}
}

/* Tablet: a centred assistant with room for reading and touch, independent of the phone layout. */
@media (min-width:768px) and (max-width:1366px){
 html body .tusmo-floating:has(.tusmo-floating-panel:not([hidden]))::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:#03122e55}
 html body .tusmo-floating-panel{inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(720px,calc(100vw - 64px));height:min(960px,calc(100dvh - 64px));max-height:calc(100dvh - 64px);border-radius:28px;border-color:#aebfd5;box-shadow:0 28px 100px #03122e55,0 4px 18px #03122e1a}
 html body .tusmo-floating-panel>.tusmo-close,html body .tusmo-floating-panel>.tusmo-minimize{top:18px;width:44px;height:44px;border-radius:12px}
 html body .tusmo-floating-panel>.tusmo-close{right:18px}html body .tusmo-floating-panel>.tusmo-minimize{right:70px}
 html body .tusmo-floating-panel .tusmo-mast{min-height:82px;padding:18px 134px 18px 26px;gap:18px}
 html body .tusmo-floating-panel .tusmo-wordmark{font-size:23px;letter-spacing:.1em}
 html body .tusmo-floating-panel .tusmo-display-options>summary{min-height:44px;padding-inline:14px;font-size:14px}
 html body .tusmo-floating-panel .tusmo-options-list{width:280px;max-width:calc(100vw - 96px);padding:14px;gap:10px}
 html body .tusmo-floating-panel .tusmo-chat-stage{height:184px;min-height:184px;gap:24px;padding:20px 28px;background:linear-gradient(115deg,#eaf1ff,#fff)}
 html body .tusmo-floating-panel .tusmo-chat-companion{flex-basis:112px;width:112px;height:152px}
 html body .tusmo-floating-panel .tusmo-welcome-bubble>strong{font-size:27px;line-height:1.2;margin-bottom:12px}
 html body .tusmo-floating-panel .tusmo-welcome-bubble>p{font-size:16px;line-height:1.65;max-width:48ch}
 html body .tusmo-floating-panel .tusmo-chat-pane{padding:22px 26px 14px}
 html body .tusmo-floating-panel .tusmo-quick-starts{gap:12px;margin-bottom:14px}
 html body .tusmo-floating-panel .tusmo-quick-start{min-height:88px;padding:16px;gap:14px;border-radius:16px;border-color:#b6c8dd;background:linear-gradient(140deg,#fff,#f9fbff);box-shadow:0 2px 8px #143a6d08}
 html body .tusmo-floating-panel .tusmo-quick-start:hover{border-color:#1551c7;background:#edf3ff}
 html body .tusmo-floating-panel .tusmo-quick-start>.tusmo-icon{width:24px;height:24px;flex-basis:24px}
 html body .tusmo-floating-panel .tusmo-start-copy strong{font-size:16px;line-height:1.35}
 html body .tusmo-floating-panel .tusmo-start-copy small{font-size:13px;line-height:1.45}
 html body .tusmo-floating-panel .tusmo-quick-start:last-child{min-height:62px;padding:12px 16px;background:#edf3ff}
 html body .tusmo-floating-panel .tusmo-easy-language .tusmo-conversation .tusmo-assistant>p{font-size:18px;line-height:1.8}
 html body .tusmo-floating-panel .tusmo-conversation{gap:20px;padding-bottom:22px;scroll-padding:20px}
 html body .tusmo-floating-panel .tusmo-conversation .tusmo-assistant{padding:20px;font-size:16px;line-height:1.75;border-radius:6px 20px 20px 20px}
 html body .tusmo-floating-panel .tusmo-conversation .tusmo-assistant>p,html body .tusmo-floating-panel .tusmo-user p{font-size:16px;line-height:1.75}
 html body .tusmo-floating-panel .tusmo-link{min-height:44px;padding:10px 13px;font-size:13px}
 html body .tusmo-floating-panel .tusmo-choice-button{min-height:52px;padding:13px 16px;font-size:15px}
 html body .tusmo-floating-panel .tusmo-vote-button{width:44px;height:44px;min-height:44px;flex-basis:44px}
 html body .tusmo-floating-panel .tusmo-chat-form{padding:10px;gap:10px;border-radius:18px;box-shadow:0 4px 16px #153b6d0b}
 html body .tusmo-floating-panel .tusmo-chat-form .tusmo-message-input{min-height:50px;font-size:16px;line-height:1.5}
 html body .tusmo-floating-panel .tusmo-chat-form :is(.tusmo-inline-mic,.tusmo-stop-speech,button[type=submit]){width:48px;height:48px;min-width:48px;min-height:48px;flex-basis:48px;border-radius:12px}
 html body .tusmo-floating-panel .tusmo-has-history .tusmo-chat-stage{height:74px;min-height:74px;padding:8px 26px;gap:14px}
 html body .tusmo-floating-panel .tusmo-has-history .tusmo-chat-companion{flex-basis:48px;width:48px;height:60px}
 html body .tusmo-floating-panel .tusmo-has-history .tusmo-welcome-bubble>p{font-size:14px;line-height:1.5}
 html body .tusmo-floating-panel.tusmo-keyboard-open{top:calc(var(--tusmo-visible-top) + 8px);bottom:auto;transform:translateX(-50%);height:calc(var(--tusmo-visible-height) - 16px);max-height:calc(var(--tusmo-visible-height) - 16px)}
}
@media (min-width:768px) and (max-width:1366px) and (max-height:850px){
 html body .tusmo-floating-panel .tusmo-mast{min-height:72px;padding-block:13px}
 html body .tusmo-floating-panel>.tusmo-close,html body .tusmo-floating-panel>.tusmo-minimize{top:14px}
 html body .tusmo-floating-panel .tusmo-chat-stage{height:114px;min-height:114px;padding:10px 24px;gap:18px}
 html body .tusmo-floating-panel .tusmo-chat-companion{flex-basis:72px;width:72px;height:98px}
 html body .tusmo-floating-panel .tusmo-welcome-bubble>strong{font-size:22px;margin-bottom:7px}
 html body .tusmo-floating-panel .tusmo-welcome-bubble>p{font-size:14px;line-height:1.5}
 html body .tusmo-floating-panel .tusmo-chat-pane{padding:14px 22px 10px}
 html body .tusmo-floating-panel .tusmo-quick-starts{gap:8px;margin-bottom:10px}
 html body .tusmo-floating-panel .tusmo-quick-start{min-height:60px;padding:10px 14px}
 html body .tusmo-floating-panel .tusmo-quick-start:last-child{min-height:48px}
 html body .tusmo-floating-panel .tusmo-start-copy small{display:none}
 html body .tusmo-floating-panel .tusmo-start-copy strong{font-size:15px}
 html body .tusmo-floating-panel .tusmo-has-history .tusmo-chat-stage{height:62px;min-height:62px}
 html body .tusmo-floating-panel .tusmo-has-history .tusmo-chat-companion{height:50px;width:40px;flex-basis:40px}
}

/* Shared panel geometry reserves a separate row for the edge button. */
html body #tusmo-floating-panel{
  inset:50% auto auto 50%;transform:translate(-50%,-50%);
  width:min(720px,calc(100vw - 32px));height:min(880px,calc(100dvh - 80px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)));
  max-height:calc(100dvh - 80px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));border-radius:22px
}
html body #tusmo-floating-panel>.tusmo-app{height:100%;max-height:100%}
html body #tusmo-floating-panel .tusmo-mast{min-height:64px;padding:8px 16px;gap:12px}
html body #tusmo-floating-panel .tusmo-mast .tusmo-mascot{display:block;flex:0 0 52px;width:52px;height:64px;overflow:visible;padding:0;border-radius:0}
html body #tusmo-floating-panel .tusmo-mast .tusmo-mascot>img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;object-position:center;transform:none;clip-path:none;border-radius:0}
html body #tusmo-floating-panel .tusmo-display-options>summary{min-height:40px}
html body #tusmo-floating-panel.tusmo-keyboard-open{
  top:calc(var(--tusmo-visible-top) + 8px);bottom:auto;transform:translateX(-50%);
  height:calc(var(--tusmo-visible-height) - 56px - env(safe-area-inset-bottom,0px));max-height:calc(var(--tusmo-visible-height) - 56px - env(safe-area-inset-bottom,0px))
}
@media(max-width:1024px){
 html body #tusmo-floating-panel .tusmo-has-history .tusmo-chat-stage{display:none}
 html body #tusmo-floating-panel .tusmo-chat-pane{padding:14px 16px 10px}
 html body #tusmo-floating-panel .tusmo-conversation .tusmo-assistant{padding:16px;font-size:15px;line-height:1.6}
 html body #tusmo-floating-panel .tusmo-conversation .tusmo-assistant>p,html body #tusmo-floating-panel .tusmo-user p{font-size:15px;line-height:1.6}
}
@media(max-width:767px){
 html body #tusmo-floating-panel{
  inset:calc(8px + env(safe-area-inset-top,0px)) 8px calc(40px + env(safe-area-inset-bottom,0px)) 8px;
  transform:none;width:auto;height:auto;max-height:none;border-radius:18px
 }
 html body #tusmo-floating-panel.tusmo-keyboard-open{
  top:calc(var(--tusmo-visible-top) + 8px);right:8px;left:8px;bottom:auto;transform:none;width:auto;
  height:calc(var(--tusmo-visible-height) - 56px - env(safe-area-inset-bottom,0px));max-height:calc(var(--tusmo-visible-height) - 56px - env(safe-area-inset-bottom,0px))
 }
 html body #tusmo-floating-panel .tusmo-chat-stage{height:104px;min-height:104px;padding:10px 14px;gap:12px}
 html body #tusmo-floating-panel .tusmo-chat-companion{height:84px;width:60px;flex-basis:60px}
 html body #tusmo-floating-panel .tusmo-welcome-bubble>strong{font-size:20px;line-height:1.25;margin-bottom:6px}
 html body #tusmo-floating-panel .tusmo-welcome-bubble>p{font-size:14px;line-height:1.45}
 html body #tusmo-floating-panel .tusmo-chat-pane{padding:10px 12px 8px}
 html body #tusmo-floating-panel .tusmo-quick-starts{gap:8px;margin-bottom:10px}
 html body #tusmo-floating-panel .tusmo-quick-start{min-height:64px;padding:10px;gap:8px}
 html body #tusmo-floating-panel .tusmo-quick-start:last-child{grid-column:auto;min-height:64px;padding:10px}
 html body #tusmo-floating-panel .tusmo-quick-start:last-child .tusmo-start-copy{flex-direction:column;align-items:flex-start}
 html body #tusmo-floating-panel .tusmo-start-copy strong{font-size:14px;line-height:1.35}
 html body #tusmo-floating-panel .tusmo-chat-form{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;padding:8px;border-radius:14px;align-items:center}
 html body #tusmo-floating-panel .tusmo-chat-form .tusmo-message-input{grid-column:1/-1;grid-row:1;width:100%;min-width:0;min-height:52px;max-height:104px;padding:8px;font-size:16px;line-height:1.5}
 html body #tusmo-floating-panel .tusmo-chat-form .tusmo-inline-mic{grid-column:1;grid-row:2;justify-self:start;width:auto;min-width:44px;min-height:44px;height:44px;padding:9px 12px;gap:7px}
 html body #tusmo-floating-panel .tusmo-chat-form .tusmo-inline-mic>span{display:inline;font-size:14px;line-height:1.3}
 html body #tusmo-floating-panel .tusmo-chat-form .tusmo-stop-speech{grid-column:2;grid-row:2}
 html body #tusmo-floating-panel .tusmo-chat-form button[type=submit]{grid-column:3;grid-row:2;width:44px;height:44px;min-width:44px;min-height:44px}
 html body #tusmo-floating-panel .tusmo-choice-button{min-height:48px;padding:10px 12px;font-size:14px;line-height:1.4}
 html body #tusmo-floating-panel .tusmo-conversation{gap:14px;padding-bottom:12px}
}
@media(max-width:480px){
 html body #tusmo-floating-panel .tusmo-start-copy small{display:none}
 html body #tusmo-floating-panel .tusmo-quick-start>.tusmo-start-arrow{display:none}
}
@media(max-height:420px){
 html body #tusmo-floating-panel .tusmo-chat-stage{display:none}
 html body #tusmo-floating-panel .tusmo-mast{min-height:52px;padding-block:4px}
 html body #tusmo-floating-panel .tusmo-mast .tusmo-mascot{height:40px;width:38px;flex-basis:38px}
}

html body #tusmo-floating-panel .tusmo-quick-start:last-child{grid-column:auto}
html body #tusmo-floating-panel .tusmo-quick-start:last-child .tusmo-start-copy{flex-direction:column;align-items:flex-start}

.tusmo-app .tusmo-voice-choice{display:grid;gap:6px;font-size:13px;color:#1f2937}
.tusmo-app .tusmo-speech-consent{display:flex;align-items:flex-start;gap:8px;max-width:100%;font:400 12px/1.45 system-ui;color:#243349}
.tusmo-app .tusmo-speech-consent input{flex:0 0 18px;width:18px;min-width:18px;height:18px;margin:2px 0}
.tusmo-app .tusmo-voice-choice select{display:block;max-width:100%;width:100%;min-height:42px;border:1px solid #7a8ba8;border-radius:8px;padding:7px;background:#fff;color:#111827;font:400 14px/1.4 system-ui}

html body #tusmo-floating-panel .tusmo-options-list{max-height:min(420px,calc(100dvh - 140px));overflow-y:auto;overscroll-behavior:contain}
html body #tusmo-floating-panel.tusmo-keyboard-open .tusmo-options-list{max-height:min(420px,calc(var(--tusmo-visible-height) - 140px))}

html body #tusmo-floating-panel{overflow-y:auto;overscroll-behavior:contain}
html body #tusmo-floating-panel>.tusmo-app{min-height:300px}
