.msheet[hidden],.msheet-backdrop[hidden],.msheet-row[hidden],.msheet-row-body[hidden],.msheet-action[hidden],.msheet-action-note[hidden]{display:none;}@media (max-width:768px){.msheet-backdrop{position:fixed;inset:0;z-index:2000;background:rgb(0 0 0 / 0.5);touch-action:none;}.msheet{position:fixed;left:0;right:0;bottom:var(--msheet-kb, 0px);z-index:2001;display:flex;flex-direction:column;width:100%;max-width:560px;margin:0 auto;max-height:calc(var(--msheet-vh, var(--app-height, 100vh)) - max(env(safe-area-inset-top, 0px), 24px));padding-bottom:env(safe-area-inset-bottom, 0px);background:var(--bg);border:1px solid var(--border);border-bottom:0;color:var(--text);border-top-left-radius:var(--radius-xl);border-top-right-radius:var(--radius-xl);box-shadow:var(--shadow-lg);outline:none;overflow:hidden;}.msheet-grabber{flex:0 0 auto;position:relative;width:44px;height:20px;margin:2px auto 0;padding:0;background:none;touch-action:none;cursor:grab;}.msheet-grabber::before{content:'';position:absolute;left:50%;top:8px;width:32px;height:4px;margin-left:-16px;border-radius:999px;background:var(--text-tertiary, var(--border));opacity:.45;}.msheet-grabber:active::before{opacity:.7;}.msheet-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:56px;padding:0 6px 0 16px;touch-action:none;}.msheet-title{min-width:0;margin:0;font-size:1rem;font-weight:600;line-height:1.3;overflow-wrap:anywhere;}.msheet-close{flex:0 0 44px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--radius-full);color:var(--text-secondary);}.msheet-close:hover{background:var(--surface-hover);color:var(--text);}.msheet-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:8px;}.msheet-section + .msheet-section{border-top:1px solid var(--border-light);}.msheet-close:focus-visible,.msheet-row-head:focus-visible,.msheet-action:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;}.msheet button,.msheet .model-option,.msheet .effort-tick{-webkit-tap-highlight-color:transparent;}.msheet-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;}.msheet-rows{display:flex;flex-direction:column;}.msheet-row{border-bottom:1px solid var(--border-light);}.msheet-row:last-child{border-bottom:0;}.msheet-row-head{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:12px 12px 12px 16px;text-align:start;color:var(--text);font-size:.9375rem;line-height:1.35;}.msheet-row-label{flex:0 0 auto;max-width:50%;font-weight:500;}.msheet-row-value{flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:6px;color:var(--text-secondary);font-size:.875rem;text-align:end;white-space:normal;overflow-wrap:anywhere;}.msheet-row-text{flex:0 1 auto;min-width:0;}.msheet-row-icon,.msheet-row-lock{flex:0 0 auto;display:inline-flex;align-items:center;align-self:flex-start;height:1.35em;}.msheet-row-icon svg{width:16px;height:16px;}.msheet-chev{flex:0 0 auto;display:flex;color:var(--text-secondary);}.msheet-row-head[aria-expanded="true"] .msheet-chev{transform:rotate(90deg);}.msheet-row-head[aria-disabled="true"]{opacity:.5;cursor:default;}.msheet-row-body{margin:0 16px 10px 20px;padding-inline-start:10px;border-inline-start:2px solid var(--border-light);}.msheet-actions{display:flex;flex-direction:column;padding:4px 0;}.msheet-action{display:flex;align-items:center;gap:14px;width:100%;min-height:48px;padding:12px 16px;text-align:start;color:var(--text);font-size:.9375rem;line-height:1.35;}.msheet-action-icon{flex:0 0 22px;display:flex;align-items:center;justify-content:center;width:22px;height:22px;color:var(--text-secondary);}.msheet-action-icon svg{width:20px;height:20px;}.msheet-action-text{display:flex;flex-direction:column;gap:2px;min-width:0;}.msheet-action-note{color:var(--text-secondary);font-size:.8125rem;overflow-wrap:anywhere;}.msheet-action:hover,.msheet-row-head:hover{background:var(--surface-hover);}.msheet-action[aria-disabled="true"]{cursor:not-allowed;}.msheet-action[aria-disabled="true"]:hover{background:transparent;}.msheet-action[aria-disabled="true"] .msheet-action-icon,.msheet-action[aria-disabled="true"] .msheet-action-label{opacity:.55;}.msheet .msheet-body .model-dropdown,.msheet .msheet-row-body .model-dropdown{position:static;display:flex;flex-direction:column;width:100%;min-width:0;max-width:none;max-height:none;overflow:visible;border:0;border-radius:0;box-shadow:none;background:transparent;backdrop-filter:none;padding:0;top:auto;bottom:auto;left:auto;right:auto;}.msheet .model-options-scroll{max-height:none;overflow:visible;}.msheet .model-option{min-height:48px;padding:12px 16px;font-size:.9375rem;gap:12px;}.msheet .model-option-left span{white-space:normal;overflow-wrap:anywhere;}.msheet .model-premium-upsell{min-height:48px;padding:12px 16px;}.msheet .msheet-row-body .model-option{padding-left:8px;padding-right:8px;}.msheet .model-option>.effort-toggle,.msheet .msheet-row-body .effort-current{display:none;}.msheet .msheet-body .effort-current{min-height:48px;padding:12px 16px;gap:10px;font-size:.875rem;}.msheet-placeholder{visibility:hidden;}.search-bar{padding:10px 12px;}.chat-input-area{padding-left:12px;padding-right:12px;}.chat-input-container{padding:10px 12px;}.search-bar .action-btn,.chat-input-container .action-btn,.search-bar .search-submit,.chat-input-container .chat-submit{width:44px;height:44px;flex:0 0 44px;}.search-bar .model-selector-btn,.chat-input-container .model-selector-btn{height:44px;padding:0 clamp(8px,calc(100vw - 350px),10px) 0 clamp(8px,calc(100vw - 348px),12px);gap:clamp(4px,calc(100vw - 354px),6px);font-size:.8125rem;max-width:100%;min-width:44px;}.search-bar .model-selector-btn>span,.chat-input-container .model-selector-btn>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.search-suggestions .suggestion-chip{max-width:100%;white-space:normal;text-align:start;}.search-bar .action-btn,.chat-input-container .action-btn,.search-bar .model-selector-btn,.chat-input-container .model-selector-btn{-webkit-tap-highlight-color:transparent;}.toast-container .toast{pointer-events:none;}body:has(>#msheet:not([hidden])) .toast-container{top:calc(env(safe-area-inset-top, 0px) + 12px);bottom:auto;}@media (prefers-reduced-motion:no-preference){.msheet{transform:translateY(100%);transition:transform .22s cubic-bezier(.2,.8,.2,1);}.msheet.is-open{transform:none;}.msheet.is-dragging{transition:none;}.msheet-backdrop{opacity:0;transition:opacity .22s ease;}.msheet-backdrop.is-open{opacity:1;}.msheet-chev{transition:transform .15s ease;}}}