.conversation-menu-toggle,.settings-modal-back{display:none}@media (max-width:900px){.app-shell{position:fixed;top:0;left:0;right:0;height:var(--app-height,100dvh);transform:translateY(var(--viewport-offset-top,0))}.main-workspace{grid-template-rows:auto minmax(0,1fr) auto}.top-bar{min-height:calc(62px + env(safe-area-inset-top, 0px));position:-webkit-sticky;position:sticky;top:0;z-index:5;align-items:center;flex-direction:row;padding:calc(10px + env(safe-area-inset-top, 0px)) max(14px,env(safe-area-inset-right,0px)) 10px max(14px,env(safe-area-inset-left,0px))}.message-list{padding:16px max(14px,env(safe-area-inset-right,0px)) 16px max(14px,env(safe-area-inset-left,0px))}.composer-area{padding:0 max(14px,env(safe-area-inset-right,0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(14px,env(safe-area-inset-left,0px))}.conversation-list .conversation-item{min-height:56px}.header-model-menu{position:fixed;top:calc(64px + env(safe-area-inset-top, 0px));right:max(12px,env(safe-area-inset-right,0px));left:max(12px,env(safe-area-inset-left,0px));width:auto;max-height:calc(var(--app-height, 100dvh) - 76px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));z-index:35}.header-model-menu-list{max-height:calc(var(--app-height, 100dvh) - 176px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))}.header-model-area{flex:0 0 auto}.header-model-loading-hint{max-width:96px;overflow:hidden;text-overflow:ellipsis}.settings-modal-card-rich{width:min(100%,96vw);height:calc(var(--app-height, 100dvh) - 20px);max-height:calc(var(--app-height, 100dvh) - 20px);border-radius:24px}.empty-chat-state .suggestion-grid,.starter-panel .suggestion-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.left-sidebar,.modal-card,.modal-content,.right-inspector.settings-panel.chat-sidebar{overscroll-behavior:contain}.composer textarea{max-height:min(calc(var(--touch-target) * 5),calc(var(--app-height, 100dvh) * .3))}body[data-app-lock=true]{overflow:hidden;height:var(--app-height,100dvh)}.app-status-toast{z-index:95}.web-notice-banner{top:calc(64px + env(safe-area-inset-top, 0px))}.chat-sidebar-header .drawer-close-button{top:10px;right:10px;width:var(--touch-target);min-width:var(--touch-target);height:var(--touch-target);min-height:var(--touch-target);padding:0;border:0;background:transparent;color:var(--text-soft);font-size:0;line-height:1}.chat-sidebar-header .drawer-close-button:before{content:"×";font-size:1.65rem;font-weight:520;line-height:1}.chat-sidebar-header .drawer-close-button:focus-visible{outline:2px solid color-mix(in srgb,var(--accent) 55%,transparent);outline-offset:2px}}@media (max-width:760px){.empty-chat-state .suggestion-grid,.starter-panel .suggestion-grid{grid-template-columns:1fr}.composer input,.composer textarea,.conversation-search input,.custom-instructions-editor,.custom-instructions-generator-row input,.settings-pane-text-input{font-size:16px}.top-bar-copy h1{font-size:1rem}.modal-overlay,.settings-modal{padding-bottom:max(10px,env(safe-area-inset-bottom,0px))}.modal-card,.modal-card.chat-share-dialog,.modal-card.custom-instructions-dialog,.modal-content,.settings-modal-card{max-height:calc(var(--app-height, 100dvh) - 20px)}.settings-modal-card-rich[data-mobile-detail=false] .settings-modal-body{grid-template-rows:minmax(0,1fr)}.settings-modal-card-rich[data-mobile-detail=false] .settings-modal-content{display:none}.settings-modal-card-rich[data-mobile-detail=false] .settings-modal-nav{flex-direction:column;overflow-x:hidden;overflow-y:auto;gap:2px}.settings-modal-card-rich[data-mobile-detail=false] .settings-modal-nav-item{white-space:normal;justify-content:flex-start;width:100%;min-height:var(--touch-target)}.settings-modal-card-rich[data-mobile-detail=false] .settings-modal-nav-divider{display:block}.settings-modal-card-rich[data-mobile-detail=true] .settings-modal-nav{display:none}.settings-modal-card-rich[data-mobile-detail=true] .settings-modal-back{display:inline-flex;align-items:center;gap:6px;min-height:var(--touch-target);padding:4px 6px;margin-bottom:4px;border:0;background:transparent;color:var(--text-soft);font-weight:650}}@media (max-width:540px){.header-model-loading-hint{display:none}}@media (hover:none),(pointer:coarse){.message-hover-action{width:var(--touch-target);height:var(--touch-target);min-height:var(--touch-target)}.custom-instructions-close,.message-hover-action,.modal-close-x{min-width:var(--touch-target)}.auth-modal-tabs button,.chat-share-existing-actions button,.chat-share-lifetime-row button,.chat-share-manage-row-actions button,.chat-share-tabs button,.chat-share-ttl button,.chat-share-url-row button,.conversation-archive-pill,.conversation-load-more,.custom-instructions-close,.custom-instructions-close-button,.custom-instructions-generate-button,.custom-instructions-generator-row input,.custom-instructions-history-action,.custom-instructions-save-button,.group-memory-chip,.group-selected-head .settings-pane-secondary,.group-thinking-button,.group-thinking-effort button,.modal-close-x,.sidebar-footer .auth-sign-in-button,.sidebar-footer .button{min-height:var(--touch-target)}.composer .attach-locked:active small,.composer .attach-locked:focus-within small,.composer-shell .attach-locked:active small,.composer-shell .attach-locked:focus-within small{opacity:1}}@media (hover:none),(max-width:900px),(pointer:coarse){.conversation-list{padding-bottom:calc(var(--touch-target) + 16px);scroll-padding-bottom:calc(var(--touch-target) + 16px)}.conversation-list .conversation-item{display:grid;grid-template-columns:minmax(0,1fr) auto}.conversation-list .conversation-item[data-menu-open=true]{z-index:30}.conversation-menu-toggle{display:inline-grid;place-items:center;width:var(--touch-target);height:var(--touch-target);min-width:var(--touch-target);min-height:var(--touch-target);align-self:center;margin-right:6px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--text-soft)}.conversation-actions{display:none}.conversation-actions[data-open=true]{position:absolute;top:calc(100% - 6px);right:6px;z-index:12;display:flex;width:max-content;margin:0;opacity:1;pointer-events:auto;transform:none}.conversation-open{padding-right:10px}.conversation-list .conversation-item:focus-within .conversation-open,.conversation-list .conversation-item:hover .conversation-open{padding-right:10px}}.comfy-top{padding-top:calc(22px + env(safe-area-inset-top, 0px))}.comfy-wrap,.comfy-wrap-wide{padding-left:max(24px,env(safe-area-inset-left,0px));padding-right:max(24px,env(safe-area-inset-right,0px))}.comfy-landing[dir=rtl] .comfy-start-card{text-align:start}@media (min-width:521px) and (max-width:880px){.comfy-card-prompt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}}@media (max-width:720px){.comfy-landing h1,.comfy-landing h2{overflow-wrap:break-word}}@media (max-width:520px){.comfy-wrap,.comfy-wrap-wide{padding-left:max(18px,env(safe-area-inset-left,0px));padding-right:max(18px,env(safe-area-inset-right,0px))}.comfy-brand{font-size:17px}}@media (pointer:coarse){.comfy-question summary{min-height:44px}}