.media-viewer-surface{--media-viewer-foreground: #f5f6f7;--media-viewer-secondary-foreground: #c7cbd1;--media-viewer-muted-foreground: #a0a6ad;overflow:hidden;color:var(--media-viewer-foreground);background:#0b0d10;box-shadow:none}.media-viewer-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:100%;height:100%;min-width:0;min-height:0;padding:var(--happy-safe-area-top) var(--happy-safe-area-right) var(--happy-safe-area-bottom) var(--happy-safe-area-left);background:#0b0d10}.media-viewer-header{display:flex;min-width:0;min-height:62px;align-items:center;gap:14px;padding:9px 14px;border-bottom:1px solid #353b43;background:#15191ef0;-webkit-backdrop-filter:blur(18px) saturate(130%);backdrop-filter:blur(18px) saturate(130%)}.media-viewer-title{display:grid;min-width:0;flex:1;gap:2px}.media-viewer-title strong{min-width:0;overflow:hidden;color:var(--media-viewer-foreground);font-size:.9rem;line-height:1.25rem;text-overflow:ellipsis;white-space:nowrap}.media-viewer-title span{color:var(--media-viewer-secondary-foreground);font-size:.75rem;line-height:1rem}.media-viewer-actions{display:flex;flex:none;align-items:center;gap:5px}.media-viewer-actions .fui-Button{width:42px;min-width:42px;height:42px;color:var(--media-viewer-foreground);border:1px solid #626a74;border-radius:8px;background:#272c32}.media-viewer-actions .fui-Button:hover{color:#fff;border-color:#7a838e;background:#333941}.media-viewer-actions .fui-Button:active{color:#fff;border-color:#89929c;background:#3b424a}.media-viewer-actions .fui-Button:disabled{color:var(--media-viewer-muted-foreground);border-color:#5f6872;background:#1d2227;opacity:1}.media-viewer-actions .media-viewer-close{margin-left:5px;border-color:#737c87;background:#30363d}.media-viewer-viewport{position:relative;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;background:radial-gradient(ellipse 64% 58% at 50% 46%,rgb(255 255 255 / 5.5%),rgb(255 255 255 / 1.5%) 46%,transparent 76%),linear-gradient(180deg,#11151a,#0c0f13)}.media-viewer-stage{display:grid;width:100%;min-width:100%;height:100%;min-height:100%;place-items:center;padding:18px}.media-viewer-stage>img{display:block;width:auto;max-width:100%;height:auto;max-height:100%;border-radius:4px;object-fit:contain;transform-origin:center;transition:transform .16s ease;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;box-shadow:0 24px 70px #00000057}.media-viewer-loading,.media-viewer-error{position:absolute;z-index:1;inset:0;display:grid;place-content:center;justify-items:center;gap:11px;padding:24px;color:#fff;text-align:center;background:#080a0c}.media-viewer-error>svg{width:38px;height:38px;color:#ffffff94}.media-viewer-error>span{max-width:360px;color:#ffffffa3;font-size:.82rem;line-height:1.45}.media-viewer-error button{min-height:44px;color:#fff;border-color:#ffffff38;background:#ffffff1a}.media-viewer-footer{display:flex;min-height:36px;align-items:center;justify-content:center;padding:8px 16px;color:var(--media-viewer-secondary-foreground);border-top:1px solid #353b43;font-size:.75rem;line-height:1rem;text-align:center;background:#12161a}@media(max-width:600px){.media-viewer-header{min-height:58px;gap:8px;padding-inline:8px}.media-viewer-actions{gap:3px}.media-viewer-actions .fui-Button{width:44px;min-width:44px;height:44px;border-radius:8px}.media-viewer-title span,.media-viewer-footer{font-size:.7rem}.media-viewer-footer{min-height:30px;padding-block:6px}}@media(prefers-reduced-motion:reduce){.media-viewer-stage>img{transition:none}}.hm-conversations-page,.hm-session{width:100%;height:100%;min-width:0;min-height:0;color:var(--hm-text);background:var(--hm-bg)}.hm-conversations-layout,.hm-session{display:grid;grid-template-columns:clamp(300px,22vw,340px) minmax(0,1fr);overflow:hidden}.hm-conversations-layout{width:100%;height:100%;min-height:0}.hm-conversations-context,.hm-session-context{display:flex;width:auto;min-width:0;min-height:0;flex-direction:column;border-right:1px solid var(--hm-line);background:color-mix(in srgb,var(--hm-surface) 96%,transparent)}.hm-conversations-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 18px 14px}.hm-conversations-heading>span{display:grid;min-width:0;gap:3px}.hm-conversations-heading h1{margin:0;color:var(--hm-text);letter-spacing:-.035em}.hm-conversations-heading span span{color:var(--hm-muted)}.hm-conversations-heading>button{min-width:88px;min-height:44px;border-radius:var(--hm-radius-md)}.hm-conversations-toolbar,.hm-session .context-toolbar{display:grid;gap:10px;padding:0 18px 14px}.hm-conversations-toolbar>span,.hm-session .context-search-row>span{width:100%;min-height:42px;border-radius:var(--hm-radius-md);background:var(--hm-surface-raised)}.hm-session .context-toolbar>button{min-height:44px;border-radius:var(--hm-radius-md)}.hm-session .context-search-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px}.hm-session .context-search-row>button{width:44px;min-width:44px;height:44px;border-radius:var(--hm-radius-md)}.context-feedback{padding:0 18px 12px}.hm-conversations-list,.hm-session .context-list{min-height:0;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;padding:0 10px 18px;overscroll-behavior-y:contain;scrollbar-width:thin}.context-state,.context-empty{display:grid;min-height:260px;align-content:center;justify-items:center;gap:10px;padding:28px 20px;color:var(--hm-muted);text-align:center}.context-state>svg,.context-empty>svg{width:28px;height:28px;color:var(--hm-brand)}.hm-conversations-empty>button{display:none;min-height:44px;margin-top:4px;border-radius:var(--hm-radius-md)}.hm-conversation-group+.hm-conversation-group,.hm-session .context-group+.context-group{margin-top:14px}.hm-conversation-group .context-group-heading,.hm-session .context-group-heading{position:sticky;z-index:2;top:0;display:flex;min-height:34px;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px;color:var(--hm-muted);background:color-mix(in srgb,var(--hm-surface) 96%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.context-group-title,.context-group-status{display:inline-flex;min-width:0;align-items:center;gap:6px}.context-group-title strong{overflow:hidden;color:var(--hm-text);text-overflow:ellipsis;white-space:nowrap}.context-group-title small,.context-group-status{color:var(--hm-muted)}.context-group-items{display:grid;gap:4px}.hm-conversation-list-item,.hm-session .context-item{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr);min-width:0;min-height:76px;align-items:center;gap:10px;padding:10px;border:1px solid transparent;border-radius:var(--hm-radius-md);transition:background .14s ease,border-color .14s ease}.hm-conversation-list-item:hover,.hm-session .context-item:hover{border-color:color-mix(in srgb,var(--hm-brand) 18%,var(--hm-line));background:var(--hm-surface-raised)}.hm-session .context-item.active{border-color:color-mix(in srgb,var(--hm-brand) 30%,var(--hm-line));background:var(--hm-brand-soft)}.hm-session .context-item.active:before{position:absolute;inset:12px auto 12px 0;width:3px;content:"";border-radius:999px;background:var(--hm-brand)}.context-avatar{display:inline-grid;width:38px;height:38px;place-items:center;border:1px solid color-mix(in srgb,var(--hm-brand) 22%,var(--hm-line));border-radius:var(--hm-radius-md);color:var(--hm-brand);background:var(--hm-brand-soft)}.context-item-copy{display:grid;min-width:0;gap:3px}.context-item-title{display:flex;min-width:0;align-items:baseline;gap:8px}.context-item-title strong{min-width:0;overflow:hidden;color:var(--hm-text);text-overflow:ellipsis;white-space:nowrap}.context-item-title time{flex:none;margin-left:auto;color:var(--hm-faint);font-size:.72rem;white-space:nowrap}.context-project-meta,.context-item-copy>span:not(.context-item-title){display:flex;min-width:0;align-items:center;gap:4px;overflow:hidden;color:var(--hm-muted);text-overflow:ellipsis;white-space:nowrap}.hm-conversation-row-meta{justify-content:space-between}.hm-conversation-row-meta small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hm-conversation-row-meta>span{flex:none}.hm-conversations-landing{display:grid;min-width:0;min-height:0;grid-template-rows:minmax(0,1fr);overflow:hidden;background:var(--hm-bg)}.hm-conversations-landing .conversation-landing{display:grid;min-height:0;place-items:center;overflow:auto;padding:48px}.hm-landing-content{display:grid;width:min(100%,560px);justify-items:start;gap:14px;padding:clamp(28px,4vw,40px);border:1px solid var(--hm-line);border-radius:var(--hm-radius-lg);background:var(--hm-surface-raised);box-shadow:var(--hm-shadow-sm)}.conversation-landing-icon{display:inline-grid;width:48px;height:48px;place-items:center;border:1px solid color-mix(in srgb,var(--hm-brand) 22%,var(--hm-line));border-radius:var(--hm-radius-md);color:var(--hm-brand);background:var(--hm-brand-soft)}.conversation-landing-icon svg{width:27px;height:27px}.hm-landing-kicker{color:var(--hm-brand);font-size:.72rem;font-weight:750;letter-spacing:.12em}.hm-landing-content h2{max-width:520px;margin:0;font-size:clamp(1.5rem,2.4vw,2rem);line-height:1.18;letter-spacing:-.025em}.hm-landing-content>p,.hm-landing-content>span{max-width:540px;color:var(--hm-muted);font-size:1rem;line-height:1.65}.hm-landing-content>button{min-height:46px;padding-inline:22px;border-radius:var(--hm-radius-md)}.hm-landing-stats{display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.hm-landing-stats>span{display:grid;gap:3px;padding:13px 14px;border:1px solid var(--hm-line);border-radius:var(--hm-radius-md);background:var(--hm-surface-muted)}.hm-landing-stats strong{color:var(--hm-text);font-size:1.25rem}.hm-landing-stats small{color:var(--hm-muted)}.hm-session-main{position:relative;display:grid;min-width:0;min-height:0;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;background:var(--hm-bg)}.hm-session-header{position:relative;z-index:8;display:flex;min-width:0;min-height:66px;align-items:center;gap:10px;padding:8px 16px;border-bottom:1px solid var(--hm-line);background:color-mix(in srgb,var(--hm-surface) 94%,transparent);-webkit-backdrop-filter:blur(18px) saturate(130%);backdrop-filter:blur(18px) saturate(130%)}.hm-session-header .chat-back,.hm-session-account{width:44px;min-width:44px;height:44px;flex:none;border-radius:var(--hm-radius-md)}.hm-session-header .chat-title-block{display:grid;min-width:0;flex:1 1 auto;gap:2px}.hm-session-header .chat-title-block>span,.hm-session-header .chat-title-block>h1,.hm-session-header .chat-title-block>h2{min-width:0}.hm-session-header .chat-title-desktop{display:block;overflow:hidden;color:var(--hm-text);font-size:1rem;font-weight:720;text-overflow:ellipsis;white-space:nowrap}.hm-session-header .chat-title-desktop-meta{display:flex;min-width:0;align-items:center;gap:12px;color:var(--hm-muted)}.hm-session-header .chat-title-desktop-meta>span{display:inline-flex;min-width:0;align-items:center;gap:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-title-mobile,.chat-title-mobile-meta{display:none}.chat-presence{display:inline-flex;flex:none;align-items:center;gap:5px;color:var(--hm-muted);white-space:nowrap}.hm-session-scroll{min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-x:auto;overscroll-behavior-y:contain;scrollbar-width:thin}.hm-message-stream,.hm-chat-dock>*{width:min(calc(100% - 48px),1040px);margin-inline:auto}.hm-message-stream{display:flex;min-height:100%;flex-direction:column;gap:22px;padding:28px 0 34px}.conversation-empty,.conversation-load-state{display:grid;min-height:min(520px,64vh);align-content:center;justify-items:center;gap:10px;padding:32px;color:var(--hm-muted);text-align:center}.conversation-empty-device{display:inline-grid;width:64px;height:64px;place-items:center;margin-bottom:4px;border:1px solid var(--hm-line);border-radius:var(--hm-radius-lg);color:var(--hm-brand);background:var(--hm-surface-raised);box-shadow:var(--hm-shadow-sm)}.chat-new-message{position:relative;z-index:12;grid-row:2;grid-column:1;align-self:end;justify-self:center;min-height:44px;margin-bottom:12px;border-radius:999px;box-shadow:var(--hm-shadow-sm)}.hm-message{display:grid;min-width:0;border:0;background:transparent;box-shadow:none}.hm-message.assistant{grid-template-columns:38px minmax(0,1fr);align-items:flex-start;gap:12px}.message-assistant-avatar{display:inline-grid;width:38px;height:38px;place-items:center;border:1px solid color-mix(in srgb,var(--hm-brand) 28%,var(--hm-line));border-radius:var(--hm-radius-md);color:var(--hm-brand);background:var(--hm-brand-soft)}.message-body{min-width:0}.hm-message.assistant .message-body{width:fit-content;max-width:min(100%,880px);padding:15px 17px;border:1px solid var(--hm-line);border-radius:var(--hm-radius-lg);background:var(--hm-surface-raised);box-shadow:var(--hm-shadow-sm)}.hm-message.user{width:fit-content;max-width:min(74%,760px);align-self:flex-end;padding:12px 14px 9px;border:1px solid color-mix(in srgb,var(--hm-brand) 34%,var(--hm-line));border-radius:var(--hm-radius-md);background:var(--hm-brand-soft)}.message-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:7px}.message-heading strong{color:var(--hm-text)}.message-heading span,.message-time{color:var(--hm-faint)}.message-time{display:block;margin-top:6px;text-align:right}.message-content{min-width:0;color:var(--hm-text);font-size:.96rem;line-height:1.64;overflow-wrap:anywhere}.agent-markdown>:first-child{margin-top:0}.agent-markdown>:last-child{margin-bottom:0}.agent-markdown p,.agent-markdown ul,.agent-markdown ol,.agent-markdown blockquote,.agent-markdown pre,.agent-markdown table{margin-block:.72em}.agent-markdown pre,.agent-markdown table{max-width:100%;overflow:auto}.agent-markdown pre{padding:13px 14px;border:1px solid var(--hm-line);border-radius:var(--hm-radius-md);background:var(--hm-surface-muted)}.agent-markdown code:not(pre code){padding:.14em .36em;border-radius:5px;background:var(--hm-surface-muted)}.agent-markdown table{width:100%;border-collapse:collapse}.agent-markdown th,.agent-markdown td{padding:8px 10px;border:1px solid var(--hm-line);text-align:left}.activity-group{min-width:0;overflow:hidden;border:1px solid var(--hm-line);border-radius:var(--hm-radius-lg);background:var(--hm-surface);box-shadow:none}.activity-summary{width:100%;min-height:70px;padding:10px 12px;border-radius:inherit;text-align:left}.activity-summary-content{display:grid;width:100%;min-width:0;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px}.activity-summary-icon,.activity-row-icon,.event-icon{display:inline-grid;width:36px;height:36px;place-items:center;border-radius:var(--hm-radius-md);color:var(--hm-brand);background:var(--hm-brand-soft)}.activity-title{display:grid;min-width:0;gap:2px}.activity-title strong,.activity-title code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-title code{color:var(--hm-muted);font-size:.76rem}.activity-meta{display:grid;justify-items:end;gap:3px}.activity-details{display:grid;max-height:min(56vh,600px);gap:12px;padding:14px 16px 18px;overflow:auto;border-top:1px solid var(--hm-line);background:var(--hm-surface-muted)}.activity-details-heading,.activity-phase>header,.activity-row-copy>span{display:flex;align-items:center;justify-content:space-between;gap:10px}.activity-details-heading,.activity-phase>header{color:var(--hm-muted);font-size:.77rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.activity-phase{display:grid;gap:5px}.activity-phase-steps{display:grid}.activity-row{display:grid;grid-template-columns:24px 30px minmax(0,1fr) auto;align-items:start;gap:9px;padding:10px 0;border-top:1px solid color-mix(in srgb,var(--hm-line) 76%,transparent)}.activity-row-track{position:relative;width:24px;height:100%}.activity-row-track:before,.activity-row-track i{position:absolute;left:11px;content:""}.activity-row-track:before{inset-block:-10px;width:1px;background:var(--hm-line-strong)}.activity-row-track i{top:12px;width:7px;height:7px;margin-left:-3px;border-radius:50%;background:var(--hm-success)}.activity-row.running .activity-row-track i{background:var(--hm-warning)}.activity-row.failed .activity-row-track i{background:var(--hm-danger)}.activity-row-icon{width:30px;height:30px;border-radius:9px}.activity-row-copy{display:grid;min-width:0;gap:3px}.activity-row-copy code,.activity-row-copy small{min-width:0;overflow:hidden;color:var(--hm-muted);text-overflow:ellipsis;white-space:nowrap}.activity-row-state{align-self:center}.media-message{width:min(100%,680px);margin:0}.media-preview{position:relative;display:grid;aspect-ratio:16 / 10;max-height:430px;place-items:center;overflow:hidden;border:1px solid var(--hm-line);border-radius:var(--hm-radius-lg);background:var(--hm-surface-muted);box-shadow:var(--hm-shadow-sm)}.media-preview img{display:block;width:100%;height:100%;max-height:430px;object-fit:contain}.media-message-unavailable .media-preview-error{display:flex;min-height:132px;align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:20px;color:var(--hm-muted);text-align:center}.media-message-unavailable .media-preview-error svg{width:28px;height:28px}.media-message-unavailable .media-preview-error strong{color:var(--hm-text)}.media-message-unavailable .media-preview-error span{max-width:28rem}.media-open{position:absolute;top:10px;right:10px;display:inline-grid;width:44px;height:44px;place-items:center;border:1px solid rgb(255 255 255 / 28%);border-radius:var(--hm-radius-md);color:#fff;background:#111418c7;box-shadow:var(--hm-shadow-sm)}.media-message figcaption{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 3px 0;color:var(--hm-muted)}.hm-chat-dock{position:relative;z-index:10;display:grid;gap:6px;padding:6px 0 max(12px,var(--happy-safe-area-bottom));border-top:1px solid color-mix(in srgb,var(--hm-line) 72%,transparent);background:var(--hm-bg)}.hm-goal-dock.hm-goal-dock{display:grid;grid-template-columns:28px minmax(0,1fr) auto;min-height:54px;align-items:center;gap:6px;min-width:0;padding:4px 7px;border:1px solid var(--hm-line);border-radius:var(--hm-radius-md);background:var(--hm-surface-raised);box-shadow:none}.composer-goal-icon{display:inline-grid;width:28px;height:28px;place-items:center;border-radius:var(--hm-radius-md);color:var(--hm-brand);background:var(--hm-surface-raised)}.composer-goal-copy{width:100%;min-width:0;min-height:44px;justify-content:flex-start;padding:2px 4px;text-align:left}.composer-goal-copy>span,.composer-goal-summary,.composer-goal-summary>span{min-width:0}.composer-goal-summary{display:grid;width:100%;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px}.composer-goal-summary>span:first-child{color:var(--hm-muted);white-space:nowrap}.composer-goal-text{min-width:0;margin:0;overflow:hidden;color:var(--hm-text);text-overflow:ellipsis;white-space:nowrap}.hm-goal-dock.expanded .composer-goal-summary{align-items:start}.hm-goal-dock.expanded .composer-goal-text{overflow:visible;text-overflow:clip;white-space:normal}.composer-goal-actions,.composer-goal-expanded-actions,.goal-clear-confirm,.composer-goal-editor>span{display:flex;align-items:center;gap:6px}.composer-goal-actions{flex:none}.composer-goal-actions>button{width:44px;min-width:44px;height:44px;padding:0}.composer-goal-expanded-actions{grid-column:2 / -1;justify-content:flex-end;min-height:44px;padding-top:4px;border-top:1px solid color-mix(in srgb,var(--hm-brand) 18%,var(--hm-line))}.composer-goal-editor{display:grid;grid-column:2 / -1;min-width:0;gap:6px}.composer-goal-editor textarea{min-height:58px}.goal-clear{color:var(--hm-danger)}.hm-composer-feedbacks{display:grid;gap:6px}.composer-feedback{border-radius:var(--hm-radius-md);box-shadow:var(--hm-shadow-sm)}.hm-composer-surface.hm-composer-surface{display:grid;min-width:0;overflow:visible;gap:0;padding:0;border:1px solid var(--hm-line-strong);border-radius:var(--hm-radius-lg);background:var(--hm-surface-raised);box-shadow:var(--hm-shadow-sm)}.hm-composer-surface.running{border-color:var(--hm-line-strong)}.hm-composer-statusbar{display:none;min-width:0;min-height:40px;align-items:center;justify-content:flex-start;gap:10px;padding:6px 10px;border-bottom:1px solid var(--hm-line)}.hm-status-pill{display:inline-flex;min-width:0;min-height:28px;align-items:center;gap:7px;padding:4px 9px;border-radius:999px;color:var(--hm-muted);background:var(--hm-surface-muted);font-size:.78rem;font-weight:700;white-space:nowrap}.hm-status-pill i{width:8px;height:8px;flex:none;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px color-mix(in srgb,currentColor 12%,transparent)}.hm-status-pill.success{color:var(--hm-success);background:var(--hm-success-soft)}.hm-status-pill.warning{color:var(--hm-warning);background:var(--hm-warning-soft)}.hm-status-pill.info{color:var(--hm-brand);background:var(--hm-brand-soft)}.hm-status-pill.danger{color:var(--hm-danger);background:var(--hm-danger-soft)}.hm-mobile-runtime-tools{display:none}.hm-desktop-run-status{flex:0 1 auto;max-width:190px;overflow:hidden;text-overflow:ellipsis}.hm-attachment-tray{display:flex;gap:9px;padding:10px 12px 2px;overflow-x:auto}.hm-attachment{position:relative;width:72px;height:64px;flex:0 0 72px;overflow:hidden;border:1px solid var(--hm-line);border-radius:var(--hm-radius-md);background:var(--hm-surface-muted)}.hm-attachment img{display:block;width:100%;height:100%;object-fit:cover}.hm-attachment>button{position:absolute;top:4px;right:4px;width:32px;min-width:32px;height:32px;color:#fff;background:#111418c7}.hm-composer{position:relative;display:grid;min-width:0;gap:0}.composer-image-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.hm-composer-input{width:100%;min-width:0;border:0;background:transparent;box-shadow:none}.hm-composer-input textarea{width:100%;min-height:50px;max-height:160px;padding:10px 12px 6px;color:var(--hm-text);background:transparent;font-size:1rem;line-height:1.5}.hm-composer-input textarea::placeholder{color:var(--hm-faint)}.hm-composer>hr{margin:0 12px;border-color:var(--hm-line)}.hm-composer-actions{display:flex;min-width:0;min-height:52px;align-items:center;gap:6px;padding:3px 6px 4px}.composer-action-rail-start,.composer-primary-actions,.hm-composer-tools,.hm-desktop-runtime-tools{display:flex;min-width:0;align-items:center;gap:5px}.composer-action-rail-start,.hm-desktop-runtime-tools{flex:1 1 auto;overflow:hidden}.hm-desktop-runtime-tools>button{min-width:0;max-width:176px;min-height:44px;flex:1 1 88px;border-radius:var(--hm-radius-sm);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hm-composer-tools{flex:none;margin-left:auto}.composer-primary-actions{flex:none}.hm-composer-actions .hm-icon-button{display:inline-grid;width:44px;min-width:44px;max-width:44px;height:44px;flex:0 0 44px;place-items:center;gap:0;padding:0;border-radius:var(--hm-radius-md);line-height:0}.hm-composer-actions .hm-icon-button svg{display:block;width:22px;height:22px;margin:auto;transform:translateY(.5px)}.hm-image-button{color:var(--hm-muted);border:1px solid var(--hm-line);background:var(--hm-surface)}.hm-stop-button{color:#fff;border-color:#2b2d31;background:#2b2d31}.hm-responsive-stop{width:auto;min-width:96px;min-height:44px;margin-left:auto;padding-inline:12px;border-radius:var(--hm-radius-sm)}.hm-send-button{color:#fff;border-color:var(--hm-brand);background:var(--hm-brand);box-shadow:0 7px 18px color-mix(in srgb,var(--hm-brand) 24%,transparent)}.hm-send-button.hm-send-button{transition:none}.hm-send-button:hover{border-color:var(--hm-brand-hover);background:var(--hm-brand-hover)}.hm-send-button:disabled{color:var(--hm-faint);border-color:var(--hm-line);background:var(--hm-surface-muted);box-shadow:none}.slash-command-menu{position:absolute;z-index:30;right:8px;bottom:calc(100% + 10px);left:8px;display:grid;max-height:min(48vh,420px);gap:3px;padding:6px;overflow-y:auto;border:1px solid var(--hm-line-strong);border-radius:var(--hm-radius-lg);background:var(--hm-surface-raised);box-shadow:var(--hm-shadow-md)}.slash-command-option{display:grid;grid-template-columns:minmax(130px,auto) minmax(0,1fr) auto;min-height:44px;align-items:center;gap:10px;padding:8px 10px;border:0;border-radius:var(--hm-radius-sm);color:var(--hm-text);background:transparent;text-align:left}.slash-command-option:hover,.slash-command-option.active{background:var(--hm-brand-soft)}.slash-command-option code{overflow:hidden;color:var(--hm-brand);font-weight:750;text-overflow:ellipsis;white-space:nowrap}.slash-command-option>span{overflow:hidden;color:var(--hm-muted);text-overflow:ellipsis;white-space:nowrap}.hm-new-conversation-dialog.hm-new-conversation-dialog{width:min(760px,calc(100vw - 40px));max-width:760px;max-height:min(820px,calc(100dvh - 40px));padding:0;overflow:hidden;border:1px solid var(--hm-line);border-radius:var(--hm-radius-xl);background:var(--hm-surface-raised);box-shadow:var(--hm-shadow-md)}.hm-new-conversation-shell{display:grid;min-height:0;max-height:min(820px,calc(100dvh - 40px));grid-template-rows:auto minmax(0,1fr) auto}.hm-new-conversation-header{display:flex;min-height:68px;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid var(--hm-line)}.hm-new-conversation-header>button{width:44px;min-width:44px;height:44px;border-radius:var(--hm-radius-md)}.hm-new-conversation-header>span{display:grid;gap:2px}.hm-new-conversation-header h2{margin:0}.hm-new-conversation-header span span{color:var(--hm-muted)}.hm-new-conversation-content{min-height:0;overflow-y:auto;padding:20px;background:var(--hm-bg)}.hm-new-conversation-card{display:grid;gap:15px;padding:20px;border:1px solid var(--hm-line);border-radius:var(--hm-radius-lg);background:var(--hm-surface-raised);box-shadow:var(--hm-shadow-sm)}.hm-new-conversation-card .new-conversation-field{display:grid;grid-template-columns:minmax(110px,.35fr) minmax(0,1fr);align-items:center;gap:14px;min-width:0}.hm-new-conversation-card .new-conversation-field>label{color:var(--hm-text);font-weight:700}.hm-new-conversation-card .new-conversation-field>span,.hm-new-conversation-card .new-conversation-field>div{width:100%;min-width:0;max-width:100%;min-height:42px;box-sizing:border-box;border-radius:var(--hm-radius-sm)}.new-conversation-runtime-row{display:grid;grid-template-columns:minmax(110px,.35fr) minmax(0,1fr);align-items:center;gap:14px;min-width:0}.new-conversation-runtime-row>span{font-weight:700}.new-conversation-runtime-row>div{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(88px,.55fr);align-items:center;gap:8px;min-width:0}.new-conversation-runtime-row>div>span,.new-conversation-runtime-row>div>span>button,.new-conversation-runtime-row>div>[role=combobox]{width:100%;min-width:0;max-width:100%}.hm-new-conversation-card .new-conversation-runtime-row>div>*{width:100%;min-width:0;max-width:100%;box-sizing:border-box}.new-conversation-runtime-row>div>span{min-height:42px;border-radius:var(--hm-radius-sm)}.new-conversation-runtime-row>div>span>button,.new-conversation-runtime-row>div>[role=combobox]{min-height:42px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.new-conversation-runtime-row [role=combobox]>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.new-conversation-more{min-height:40px;justify-self:start;color:var(--hm-brand)}.hm-new-conversation-composer{padding:12px 20px max(18px,var(--happy-safe-area-bottom));border-top:1px solid var(--hm-line);background:var(--hm-surface-raised)}.hm-new-conversation-composer>div:first-child:not(.hm-new-conversation-prompt){margin-bottom:8px}.hm-new-conversation-prompt{display:grid;grid-template-columns:minmax(0,1fr) 46px;align-items:end;gap:8px;padding:7px;border:1px solid var(--hm-line-strong);border-radius:var(--hm-radius-lg);background:var(--hm-surface);box-shadow:var(--hm-shadow-sm)}.hm-new-conversation-prompt>span{min-width:0;border:0;background:transparent;box-shadow:none}.hm-new-conversation-prompt textarea{min-height:64px;max-height:180px;padding:11px 12px;font-size:1rem}.hm-new-conversation-prompt>button{width:44px;min-width:44px;height:44px;margin-bottom:2px}@media(max-width:1180px)and (min-width:861px){.hm-conversations-layout,.hm-session{grid-template-columns:300px minmax(0,1fr)}.hm-message-stream,.hm-chat-dock>*{width:min(calc(100% - 34px),960px)}.chat-presence{display:none}.hm-desktop-runtime-tools>button{max-width:150px}}@media(max-width:860px){.hm-conversations-page{min-height:calc(100dvh - var(--hm-mobile-topbar-height) - var(--hm-mobile-nav-height) - var(--happy-safe-area-bottom));height:auto}.hm-conversations-layout{display:block;height:auto;min-height:inherit;overflow:visible}.hm-conversations-context{width:100%;min-height:inherit;border-right:0;background:transparent}.hm-conversations-heading{display:none}.hm-conversations-toolbar{padding:14px 14px 10px}.hm-conversations-list{overflow:visible;padding:0 8px 20px}.hm-conversations-empty>button{display:inline-flex}.hm-conversation-group .context-group-heading{top:var(--hm-mobile-topbar-height);padding-inline:10px;background:color-mix(in srgb,var(--hm-bg) 94%,transparent)}.hm-conversation-list-item{min-height:82px;border-color:var(--hm-line);background:var(--hm-surface);box-shadow:0 1px #17191d08}.hm-conversations-landing{display:none}.hm-session{position:fixed;top:var(--happy-viewport-offset-top, 0px);right:0;bottom:auto;left:0;display:block;height:min(var(--happy-viewport-height, 100dvh),100dvh);overflow:hidden}.hm-session-context{display:none}.hm-session-main{width:100%;height:100%;grid-template-rows:auto minmax(0,1fr) auto}.hm-session-header{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;min-height:calc(58px + var(--happy-safe-area-top));gap:4px;padding:var(--happy-safe-area-top) 8px 0}.hm-session-header .chat-back.left{grid-column:1;grid-row:1}.hm-session-header .chat-back.right{grid-column:3;grid-row:1}.hm-session-header .chat-title-block{grid-column:2;grid-row:1;align-content:center;justify-items:start;padding-inline:4px}.hm-session-account{grid-column:3;grid-row:1;justify-self:end}.hm-session-account.back-right{grid-column:1;justify-self:start}.hm-session-header .chat-title-desktop,.hm-session-header .chat-title-desktop-meta,.hm-session-header .chat-presence{display:none}.hm-session-header .chat-title-mobile,.hm-session-header .chat-title-mobile-meta{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hm-session-header .chat-title-mobile{color:var(--hm-text);font-size:.96rem;font-weight:740}.hm-session-header .chat-title-mobile-meta{color:var(--hm-muted);font-size:.72rem}.hm-message-stream,.hm-chat-dock>*{width:100%;margin:0}.hm-message-stream{gap:17px;padding:18px 12px 24px}.hm-message.assistant{grid-template-columns:34px minmax(0,1fr);gap:10px}.message-assistant-avatar{width:34px;height:34px;border-radius:var(--hm-radius-md)}.hm-message.assistant .message-body{padding:13px 14px;border-radius:var(--hm-radius-lg)}.hm-message.user{max-width:84%;padding:10px 12px 8px;border-radius:var(--hm-radius-md)}.message-content{font-size:.94rem;line-height:1.58}.activity-summary-content{grid-template-columns:34px minmax(0,1fr) auto;gap:9px}.activity-summary-icon{width:34px;height:34px}.activity-title>span{display:none}.activity-title code{max-width:100%;font-size:.69rem}.activity-meta>span:last-child{display:none}.activity-details{max-height:min(42vh,360px);padding:12px}.activity-row{grid-template-columns:20px 28px minmax(0,1fr);gap:7px}.activity-row-state{display:none}.media-message{width:min(92%,420px)}.media-preview,.media-preview img{max-height:280px}.hm-chat-dock{gap:2px;padding:0 max(8px,var(--happy-safe-area-right)) max(2px,var(--happy-safe-area-bottom)) max(8px,var(--happy-safe-area-left));border-top:0;background:var(--hm-bg)}html[data-happy-keyboard=visible] .hm-chat-dock{padding-bottom:8px}html[data-happy-keyboard=visible] .hm-composer-statusbar{display:none}html[data-happy-keyboard=visible] .hm-composer-input,html[data-happy-keyboard=visible] .hm-composer-input textarea{height:44px;min-height:44px;max-height:44px}.hm-goal-dock.hm-goal-dock{grid-template-columns:26px minmax(0,1fr) auto;height:46px;min-height:46px;max-height:46px;gap:4px;padding:0 4px;box-sizing:border-box;border-radius:var(--hm-radius-md)}.composer-goal-icon{width:26px;height:26px}.composer-goal-summary>span:first-child,.composer-goal-actions>span:first-child{display:none}.composer-goal-summary{display:block}.hm-goal-dock.collapsed .composer-goal-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hm-goal-dock.collapsed .composer-goal-actions>.fui-Badge,.hm-goal-dock.collapsed .composer-goal-actions>.goal-edit{display:none}.hm-goal-dock.expanded.hm-goal-dock{height:90px;min-height:90px;max-height:90px;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:44px 44px;align-items:center;gap:0 4px;overflow:hidden;padding:1px 4px;box-sizing:border-box}.hm-goal-dock.expanded .composer-goal-icon{display:none}.hm-goal-dock.expanded .composer-goal-copy{grid-column:1;grid-row:1;height:44px;min-height:44px;overflow:hidden}.hm-goal-dock.expanded .composer-goal-summary{display:block;overflow:hidden}.hm-goal-dock.expanded .composer-goal-text{display:-webkit-box;max-height:42px;overflow:hidden;line-height:1.3;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.hm-goal-dock.expanded .composer-goal-actions{grid-column:2;grid-row:1}.hm-goal-dock.expanded .composer-goal-expanded-actions{grid-column:1 / -1;grid-row:2;min-height:44px;max-height:44px;justify-content:flex-start;padding-top:0;overflow-x:auto;overflow-y:hidden}.composer-goal-expanded-actions{grid-column:1 / -1;overflow-x:auto}.composer-goal-actions>button,.composer-goal-expanded-actions button,.goal-clear-confirm button,.composer-goal-editor>span button{min-width:44px;min-height:44px}.hm-composer-surface{border-radius:var(--hm-radius-lg)}.hm-composer-statusbar{display:none}.hm-status-pill{min-height:28px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.hm-mobile-runtime-tools{display:grid;width:100%;max-width:100%;grid-template-columns:minmax(0,1.17fr) minmax(0,1.05fr) minmax(0,1.38fr);gap:2px;padding:0 3px;overflow:hidden;box-sizing:border-box;border-bottom:1px solid var(--hm-line);background:var(--hm-surface-muted)}.hm-mobile-runtime-tools>button{width:100%;min-width:0;max-width:100%;height:44px;min-height:44px;justify-content:center;gap:3px;padding-inline:4px;overflow:hidden;box-sizing:border-box;border-radius:var(--hm-radius-sm);font-size:.75rem;line-height:1;text-overflow:ellipsis;white-space:nowrap}.hm-mobile-runtime-tools .hm-setting-menu-label{display:block;min-width:0;max-width:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hm-mobile-runtime-tools .fui-MenuButton__icon,.hm-mobile-runtime-tools .fui-MenuButton__menuIcon{flex:0 0 auto;margin-inline:0}.hm-mobile-runtime-tools .fui-MenuButton__icon,.hm-mobile-runtime-tools .fui-MenuButton__icon svg{width:18px;height:18px}.hm-composer-input.hm-composer-input,.hm-composer-input textarea{height:44px;min-height:44px;max-height:44px}.hm-composer-input textarea{padding:4px 10px 0;line-height:1.35}.hm-composer-actions{height:44px;min-height:44px;gap:4px;padding:0 7px;box-sizing:border-box}.hm-desktop-runtime-tools{display:none}.hm-desktop-run-status{display:inline-flex;min-height:28px;max-width:112px;flex:1 1 84px;padding-inline:7px;overflow:hidden;font-size:.7rem;text-overflow:ellipsis}.hm-composer-tools{margin-left:0}.hm-composer-actions .hm-icon-button{width:44px;min-width:44px;max-width:44px;height:44px}.hm-responsive-stop.hm-responsive-stop{width:44px;min-width:44px;max-width:44px;height:44px;flex:0 0 44px;padding:0;overflow:hidden;font-size:0;line-height:0;white-space:nowrap}.hm-responsive-stop .fui-Button__icon{margin:0}.hm-attachment>button{top:0;right:0;width:44px;min-width:44px;height:44px;align-items:flex-start;justify-content:flex-end;padding:8px}.hm-attachment>button svg{width:16px;height:16px}.slash-command-menu{right:0;left:0;max-height:min(40vh,320px)}.slash-command-option{grid-template-columns:minmax(106px,auto) minmax(0,1fr) auto;min-height:46px;gap:7px}.hm-new-conversation-dialog.hm-new-conversation-dialog{position:fixed;inset:0;width:auto;max-width:none;height:min(var(--happy-viewport-height, 100dvh),100dvh);max-height:none;margin:0;border:0;border-radius:0}.hm-new-conversation-shell{width:100%;height:100%;max-height:none}.hm-new-conversation-header{min-height:calc(62px + var(--happy-safe-area-top));padding:var(--happy-safe-area-top) 10px 0}.hm-new-conversation-header>span>span{display:none}.hm-new-conversation-content{display:flex;flex-direction:column;padding:10px 10px 14px}.hm-new-conversation-card{width:100%;gap:0;margin-block:auto;padding:2px 14px;box-sizing:border-box;border-radius:var(--hm-radius-md)}.hm-new-conversation-card .new-conversation-field,.new-conversation-runtime-row{grid-template-columns:minmax(86px,.55fr) minmax(0,1.45fr);min-height:52px;gap:9px;padding:4px 0;border-bottom:1px solid var(--hm-line)}.hm-new-conversation-card .new-conversation-field>span,.new-conversation-runtime-row>div>span,.new-conversation-runtime-row>div>[role=combobox]{min-height:44px}.new-conversation-runtime-row>div{width:100%;max-width:100%;grid-template-columns:minmax(0,1.35fr) minmax(84px,.65fr);gap:6px;overflow:visible;box-sizing:border-box}.new-conversation-runtime-row>div>span{display:block;overflow:hidden}.new-conversation-runtime-row>div>span>button,.new-conversation-runtime-row>div>[role=combobox]{inline-size:100%;max-inline-size:100%;box-sizing:border-box}.hm-new-conversation-listbox.hm-new-conversation-listbox{min-width:var(--fui-match-target-size, 100%);max-width:var(--fui-match-target-size, 100%)}.hm-new-conversation-listbox .fui-Option{min-height:44px;padding-inline:8px}.new-conversation-more{min-height:44px;justify-self:stretch;justify-content:flex-start}.hm-new-conversation-composer{padding:6px max(10px,var(--happy-safe-area-right)) max(8px,var(--happy-safe-area-bottom)) max(10px,var(--happy-safe-area-left))}.hm-new-conversation-prompt{gap:5px;padding:4px;border-radius:var(--hm-radius-md)}.hm-new-conversation-prompt textarea{min-height:44px;max-height:108px;padding:6px 8px}}@media(max-width:380px){.hm-conversations-heading{padding-inline:12px}.hm-conversation-list-item{grid-template-columns:34px minmax(0,1fr);padding-inline:8px}.context-avatar{width:34px;height:34px}.hm-message-stream{padding-inline:8px}.hm-message.user{max-width:88%}.hm-status-pill{max-width:100%;padding-inline:7px}.hm-mobile-runtime-tools{gap:0}.hm-mobile-runtime-tools>button{padding-inline:3px;font-size:.7rem}.hm-composer-actions{gap:4px;padding-inline:5px}.hm-composer-actions .hm-icon-button{width:44px;min-width:44px;max-width:44px}.hm-new-conversation-card{padding-inline:13px}.hm-new-conversation-card .new-conversation-field,.new-conversation-runtime-row{grid-template-columns:80px minmax(0,1fr)}}.hm-devices-page.devices-page{width:min(100%,1120px);min-height:100%;padding:32px clamp(24px,3vw,40px) 48px;color:var(--hm-text);background:var(--hm-bg)}.hm-devices-page .hm-devices-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}.hm-devices-page .hm-devices-heading,.hm-devices-page .hm-directory-heading>div{min-width:0;display:grid;gap:4px}.hm-devices-page .hm-devices-heading h1,.hm-devices-page .hm-directory-heading h2,.hm-device-detail .device-browser-heading h2,.hm-device-detail .device-detail-heading h2,.hm-device-detail .detail-card-heading h3,.hm-device-detail .hm-mobile-card-heading h3,.hm-device-detail .device-mobile-section-heading h3,.hm-device-detail .device-danger-card h3,.hm-device-detail .device-session-launch h3,.device-load-state h2{margin:0;color:var(--hm-text);letter-spacing:-.018em}.hm-devices-page .hm-devices-heading>span,.hm-devices-page .hm-directory-heading span,.hm-device-detail .device-browser-heading>div>span,.hm-device-detail .device-heading-meta{color:var(--hm-muted)}.hm-devices-page .hm-devices-header>button,.hm-device-detail .device-browser-heading>button,.hm-device-detail .device-session-launch>a,.hm-device-detail .detail-card-actions>button,.device-load-state button{min-height:40px;border-radius:var(--hm-radius-sm)}.hm-devices-page>[role=alert],.hm-device-detail .device-detail-main>[role=alert]{margin-bottom:12px}.hm-devices-page .hm-device-directory{min-width:0;overflow:hidden;border:1px solid var(--hm-line);border-radius:var(--hm-radius-xl);background:var(--hm-surface);box-shadow:var(--hm-shadow-sm)}.hm-devices-page .hm-directory-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;min-height:72px;padding:15px 18px;border-bottom:1px solid var(--hm-line)}.hm-devices-page .device-list{display:grid}.hm-devices-page.devices-page .hm-device-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 52px;padding:0;overflow:hidden;border:0;border-radius:0;background:transparent;box-shadow:none}.hm-devices-page.devices-page .hm-device-row+.hm-device-row{border-top:1px solid var(--hm-line)}.hm-devices-page .hm-device-row-open{width:100%;min-width:0;min-height:96px;display:grid;grid-template-columns:40px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:10px 12px 10px 16px;color:var(--hm-text);border:0;background:transparent;text-align:left;cursor:pointer;transition:background-color .12s ease}.hm-devices-page .hm-device-row-open:hover{background:var(--hm-surface-muted)}.hm-devices-page .hm-device-row-open:focus-visible,.hm-device-detail .device-browser-item:focus-visible,.hm-device-detail .device-recent-list>a:focus-visible,.hm-device-detail .device-mobile-session-link:focus-visible{outline:2px solid var(--hm-brand);outline-offset:-2px}.hm-devices-page .device-icon,.hm-device-detail .device-icon,.hm-device-detail .device-browser-icon,.hm-device-detail .device-recent-icon,.hm-device-detail .device-mobile-recent-icon,.hm-device-detail .device-session-launch-icon,.hm-device-detail .device-mobile-session-icon{display:grid;place-items:center;color:var(--hm-brand);border:1px solid color-mix(in srgb,var(--hm-brand) 18%,var(--hm-line));border-radius:var(--hm-radius-sm);background:color-mix(in srgb,var(--hm-brand-soft) 72%,var(--hm-surface-raised))}.hm-devices-page .device-icon{width:40px;height:40px}.hm-devices-page .hm-device-row-identity{min-width:0;display:grid;gap:3px}.hm-devices-page .hm-device-row-meta{overflow:hidden;color:var(--hm-muted);text-overflow:ellipsis;white-space:nowrap}.hm-devices-page .row-title-line{min-width:0;display:flex;align-items:center;gap:8px}.hm-devices-page .row-title-line>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hm-devices-page .presence-label,.hm-device-detail .hm-online-state{display:inline-flex;align-items:center;gap:5px;color:var(--hm-muted);font-size:12px;font-weight:600;white-space:nowrap}.hm-devices-page .presence-label.online,.hm-device-detail .hm-online-state.online{color:var(--hm-success)}.hm-devices-page .hm-device-capabilities{min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:3px 10px;margin-top:2px}.hm-devices-page .hm-device-fact,.hm-device-detail .hm-soft-fact{display:inline-flex;align-items:center;gap:5px;color:var(--hm-muted);font-size:11.5px;font-weight:600;white-space:nowrap}.hm-devices-page .hm-device-fact+.hm-device-fact:before,.hm-device-detail .hm-soft-fact+.hm-soft-fact:before{width:3px;height:3px;margin-right:4px;content:"";border-radius:50%;background:var(--hm-faint)}.hm-devices-page .hm-device-fact.success,.hm-device-detail .hm-soft-fact.success,.hm-device-detail .hm-value-success{color:var(--hm-success)}.hm-devices-page .hm-device-fact.warning,.hm-device-detail .hm-soft-fact.warning,.hm-device-detail .hm-value-warning{color:var(--hm-warning)}.hm-devices-page .device-actions{min-width:0;display:grid;place-items:center;padding:8px 4px;border-left:1px solid color-mix(in srgb,var(--hm-line) 72%,transparent)}.hm-devices-page .device-actions>button{width:44px;min-width:44px;height:44px;min-height:44px;padding-inline:0;border-radius:var(--hm-radius-sm)}.hm-devices-page .hm-device-row-path{min-width:0;display:grid;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:7px;margin-top:2px;color:var(--hm-faint)}.hm-devices-page .hm-device-row-path code{min-width:0;overflow:hidden;color:var(--hm-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.hm-devices-page .device-notice{grid-column:1 / -1;min-height:36px;display:flex;align-items:center;gap:7px;padding:8px 16px 8px 68px;border-top:1px solid var(--hm-line);font-size:12px}.hm-devices-page .device-notice.success{color:var(--hm-success);background:var(--hm-success-soft)}.hm-devices-page .device-notice.error{color:var(--hm-danger);background:var(--hm-danger-soft)}.hm-devices-page.devices-page .pending-pairing-card{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;padding:11px 14px;border:1px solid color-mix(in srgb,var(--hm-warning) 22%,var(--hm-line));border-radius:var(--hm-radius-md);background:var(--hm-warning-soft);box-shadow:none}.hm-devices-page .pending-pairing-copy,.hm-devices-page .pending-pairing-actions{display:flex;align-items:center;gap:10px}.hm-devices-page .pending-pairing-copy>span:last-child{min-width:0;display:grid;gap:2px}.hm-devices-page .pending-pairing-icon,.device-load-state-icon{width:36px;height:36px;display:grid;flex:0 0 auto;place-items:center;color:var(--hm-warning);border-radius:var(--hm-radius-sm);background:color-mix(in srgb,var(--hm-warning-soft) 72%,var(--hm-surface-raised))}.device-load-state{min-height:360px;display:grid;align-content:center;justify-items:center;gap:10px;padding:32px 20px;color:var(--hm-muted);text-align:center}.device-load-state>p{max-width:520px;margin:0}.device-load-state-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:6px}.hm-device-detail.device-detail-unavailable{min-height:100%;background:var(--hm-bg)}.hm-device-detail.device-detail-unavailable .device-load-state-icon{color:var(--hm-brand);background:var(--hm-brand-soft)}.hm-device-detail.device-detail-page,.hm-device-detail .device-detail-layout{width:100%;height:100%;min-width:0;min-height:0;color:var(--hm-text)}.hm-device-detail .device-detail-layout{display:grid;grid-template-columns:324px minmax(0,1fr);overflow:hidden;background:var(--hm-bg)}.hm-device-detail .device-browser{min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--hm-line);background:var(--hm-surface)}.hm-device-detail .device-browser-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 16px 12px}.hm-device-detail .device-browser-heading>div{min-width:0;display:grid;gap:3px}.hm-device-detail .device-browser-controls{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:7px;padding:0 16px 12px}.hm-device-detail .device-browser-controls>span,.hm-device-detail .device-browser-controls>button{min-width:0;min-height:40px;border-radius:var(--hm-radius-sm)}.hm-device-detail .device-browser-list{min-height:0;flex:1;overflow:auto;padding:0 10px 14px}.hm-device-detail .device-browser-group+.device-browser-group{margin-top:10px;padding-top:8px;border-top:1px solid var(--hm-line)}.hm-device-detail .device-browser-group-label{min-height:32px;display:flex;align-items:center;gap:7px;padding:0 10px;color:var(--hm-muted);font-size:12px;font-weight:600}.hm-device-detail .device-browser-group-label>span:last-child{margin-left:auto}.hm-device-detail .device-browser-item{position:relative;min-width:0;min-height:64px;display:grid;grid-template-columns:36px minmax(0,1fr) 18px;align-items:center;gap:10px;margin:2px 0;padding:9px 10px;color:var(--hm-text);border:1px solid transparent;border-radius:var(--hm-radius-sm);text-decoration:none;transition:background-color .12s ease,border-color .12s ease}.hm-device-detail .device-browser-item:before{position:absolute;inset:8px auto 8px 0;width:2px;content:"";border-radius:2px;background:transparent}.hm-device-detail .device-browser-item:hover{background:var(--hm-surface-muted)}.hm-device-detail .device-browser-item.active{border-color:color-mix(in srgb,var(--hm-brand) 10%,var(--hm-line));background:var(--hm-brand-soft)}.hm-device-detail .device-browser-item.active:before{background:var(--hm-brand)}.hm-device-detail .device-browser-icon{width:36px;height:36px}.hm-device-detail .device-browser-item>span:nth-child(2){min-width:0;display:grid;gap:2px}.hm-device-detail .device-browser-item strong,.hm-device-detail .device-browser-item span:nth-child(2)>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hm-device-detail .device-browser-item small{display:inline-flex;align-items:center;gap:5px;color:var(--hm-muted)}.hm-device-detail .device-browser-group-empty,.hm-device-detail .device-browser-count{color:var(--hm-muted)}.hm-device-detail .device-browser-group-empty{display:block;padding:9px 10px}.hm-device-detail .device-browser-count{padding:11px 16px;border-top:1px solid var(--hm-line)}.hm-device-detail .device-detail-main{min-width:0;min-height:0;overflow:auto;padding:clamp(22px,2.4vw,34px);background:var(--hm-bg)}.hm-device-detail .device-detail-header{min-width:0;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:start;gap:14px;margin-bottom:18px}.hm-device-detail .device-back-desktop{width:40px;min-width:40px;height:40px;border-radius:var(--hm-radius-sm)}.hm-device-detail .device-detail-heading{min-width:0;display:flex;align-items:flex-start;gap:14px}.hm-device-detail .device-detail-heading>.device-icon.large{display:none}.hm-device-detail .hm-device-identity{min-width:0;display:grid;gap:5px}.hm-device-detail .hm-device-title-line{min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:10px}.hm-device-detail .device-heading-facts{min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px}.hm-device-detail .device-heading-id{min-width:0;display:flex;align-items:center;gap:3px;color:var(--hm-muted)}.hm-device-detail .device-heading-id>span{min-width:0;max-width:min(54vw,600px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hm-device-detail .device-heading-id>button,.hm-device-detail .hm-copy-value>button{min-width:40px;height:40px;border-radius:var(--hm-radius-sm)}.hm-device-detail .device-mobile-breadcrumb,.hm-device-detail .device-mobile-stack{display:none}.hm-device-detail.device-detail-page .device-session-launch,.hm-device-detail.device-detail-page .device-detail-card,.hm-device-detail.device-detail-page .device-danger-card,.hm-device-detail.device-detail-page .device-mobile-cli-card,.hm-device-detail.device-detail-page .device-mobile-info-card,.hm-device-detail.device-detail-page .device-mobile-recent-card,.hm-device-detail .device-mobile-session-link{min-width:0;border:1px solid var(--hm-line);border-radius:var(--hm-radius-md);background:var(--hm-surface-raised);box-shadow:var(--hm-shadow-sm)}.hm-device-detail.device-detail-page .device-session-launch{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:14px;margin-bottom:12px;padding:14px 16px}.hm-device-detail .device-session-launch-icon{width:40px;height:40px}.hm-device-detail .device-session-launch-copy{min-width:0;display:grid;gap:2px}.hm-device-detail .device-session-launch-copy>span:first-child,.hm-device-detail .device-session-launch-copy>p{color:var(--hm-muted)}.hm-device-detail .device-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hm-device-detail.device-detail-page .device-detail-card{display:grid;align-content:start;gap:14px;padding:15px 16px}.hm-device-detail .detail-card-heading,.hm-device-detail .hm-mobile-card-heading,.hm-device-detail .device-mobile-section-heading{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px}.hm-device-detail .detail-card-heading{padding-bottom:11px;color:var(--hm-faint);border-bottom:1px solid var(--hm-line)}.hm-device-detail .detail-card-heading>div{min-width:0;display:grid;gap:1px}.hm-device-detail .detail-card-heading>div>span:last-child,.hm-device-detail .device-session-launch-copy>span:nth-child(2){color:var(--hm-text);font-weight:650}.hm-device-detail .detail-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.hm-device-detail .detail-facts>span{min-width:0;display:grid;gap:4px;padding:8px 10px;border-right:1px solid var(--hm-line)}.hm-device-detail .detail-facts>span:first-child{padding-left:0}.hm-device-detail .detail-facts>span:last-child{padding-right:0;border-right:0}.hm-device-detail .detail-facts strong,.hm-device-detail .detail-facts em{overflow:hidden;color:var(--hm-text);font-style:normal;text-overflow:ellipsis;white-space:nowrap}.hm-device-detail .detail-list,.hm-device-detail .device-mobile-info-list{display:grid}.hm-device-detail .detail-list>div{min-width:0;min-height:44px;display:grid;grid-template-columns:minmax(104px,.72fr) minmax(0,1.28fr);align-items:center;gap:14px;padding:7px 0;border-bottom:1px solid var(--hm-line)}.hm-device-detail .detail-list>div:last-child{border-bottom:0}.hm-device-detail .detail-list>div>strong{min-width:0;overflow:hidden;color:var(--hm-text);text-align:right;text-overflow:ellipsis;white-space:nowrap}.hm-device-detail .hm-cli-state{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;min-height:24px;color:var(--hm-muted);font-size:12px;font-style:normal;font-weight:600;white-space:nowrap}.hm-device-detail .hm-cli-state:before{width:7px;height:7px;content:"";border-radius:50%;background:var(--hm-faint)}.hm-device-detail .hm-cli-state.success{color:var(--hm-success)}.hm-device-detail .hm-cli-state.success:before{background:var(--hm-success)}.hm-device-detail .hm-cli-state.warning{color:var(--hm-warning)}.hm-device-detail .hm-cli-state.warning:before{background:var(--hm-warning)}.hm-device-detail .detail-card-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;padding-top:10px;border-top:1px solid var(--hm-line)}.hm-device-detail .cli-last-checked{margin-right:auto;color:var(--hm-muted)}.hm-device-detail .hm-copy-value{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:3px}.hm-device-detail .hm-copy-value code{min-width:0;overflow:hidden;color:var(--hm-text);text-overflow:ellipsis;white-space:nowrap}.hm-device-detail .detail-view-all,.hm-device-detail .device-mobile-section-heading a{color:var(--hm-brand);font-weight:600;text-decoration:none}.hm-device-detail .device-recent-list{display:grid}.hm-device-detail .device-recent-list>a{min-width:0;min-height:52px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 2px;color:var(--hm-text);border-bottom:1px solid var(--hm-line);text-decoration:none}.hm-device-detail .device-recent-list>a:last-child{border-bottom:0}.hm-device-detail .device-recent-list>a:hover{background:var(--hm-surface-muted)}.hm-device-detail .device-recent-icon,.hm-device-detail .device-mobile-recent-icon{width:34px;height:34px}.hm-device-detail .device-recent-list>a>span:nth-child(2){min-width:0;display:grid;gap:2px}.hm-device-detail .device-recent-list>a>span:nth-child(2)>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hm-device-detail .device-recent-tail{display:inline-flex;align-items:center;gap:6px;color:var(--hm-muted)}.hm-device-detail .device-recent-status{color:var(--hm-muted);font-size:12px;font-weight:600;white-space:nowrap}.hm-device-detail .device-recent-status.running{color:var(--hm-success)}.hm-device-detail.device-detail-page .device-danger-card{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:12px;padding:13px 15px;box-shadow:none}.hm-device-detail .device-danger-icon{width:36px;height:36px;display:grid;place-items:center;color:var(--hm-danger);border-radius:var(--hm-radius-sm);background:var(--hm-danger-soft)}.hm-device-detail .device-danger-card>div{min-width:0;display:grid;gap:1px}.hm-device-detail .device-danger-card>div>span,.hm-device-detail .device-danger-card>div>p{color:var(--hm-muted)}.hm-device-detail .device-remove-button{min-height:40px;color:var(--hm-danger);border-color:color-mix(in srgb,var(--hm-danger) 45%,var(--hm-line));border-radius:var(--hm-radius-sm)}.device-remove-dialog{border-radius:var(--hm-radius-md)}.device-remove-dialog button{min-height:44px}.device-remove-confirm{color:#fff!important;background:var(--hm-danger)!important}.device-remove-confirm:hover{background:color-mix(in srgb,var(--hm-danger) 88%,black)!important}@media(max-width:1180px){.hm-device-detail .device-detail-layout{grid-template-columns:286px minmax(0,1fr)}.hm-device-detail .device-detail-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:860px){.hm-devices-page.devices-page{width:100%;max-width:none;padding:14px 14px 24px}.hm-devices-page>.hm-devices-header{display:none}.hm-devices-page .hm-device-directory{overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}.hm-devices-page .hm-directory-heading{min-height:52px;padding:4px 2px 12px;border-bottom:0}.hm-devices-page .device-list{gap:8px}.hm-devices-page.devices-page .hm-device-row,.hm-devices-page.devices-page .hm-device-row+.hm-device-row{border:1px solid var(--hm-line);border-radius:var(--hm-radius-md);background:var(--hm-surface-raised);box-shadow:var(--hm-shadow-sm)}.hm-devices-page .hm-device-row-open{min-height:104px;padding-left:14px}.hm-devices-page .device-actions{width:auto;padding-inline:4px}.hm-devices-page .device-notice{padding-left:14px}.hm-devices-page .hm-device-row-path{display:none}.hm-devices-page.devices-page .pending-pairing-card{align-items:stretch;flex-direction:column}.hm-devices-page .pending-pairing-actions>button{min-height:44px;flex:1}.device-load-state{min-height:320px}.device-load-state-actions{width:min(100%,360px);display:grid;grid-template-columns:minmax(0,1fr)}.device-load-state-actions>button,.device-load-state>button{min-height:44px}.hm-device-detail.device-detail-page,.hm-device-detail .device-detail-layout{height:auto;min-height:100%}.hm-device-detail .device-detail-layout{display:block;overflow:visible}.hm-device-detail .device-browser{display:none}.hm-device-detail .device-detail-main{overflow:visible;padding:6px 14px 24px;background:var(--hm-bg)}.hm-device-detail .device-mobile-breadcrumb{min-height:44px;display:inline-flex;margin-bottom:4px;border-radius:var(--hm-radius-sm);color:var(--hm-text-secondary);font-size:14px;font-weight:600}.hm-device-detail .device-detail-header{display:block;margin-bottom:14px;padding:4px 0 14px;border-bottom:1px solid var(--hm-line)}.hm-device-detail .device-back-desktop{display:none}.hm-device-detail .device-detail-heading{align-items:center;gap:14px}.hm-device-detail .device-detail-heading>.device-icon.large{width:62px;height:62px;display:grid;flex:0 0 auto;border-radius:var(--hm-radius-md);box-shadow:none}.hm-device-detail .hm-device-identity{gap:4px}.hm-device-detail .hm-device-title-line{align-items:flex-start;flex-direction:column;gap:2px}.hm-device-detail .device-heading-facts{display:none}.hm-device-detail .hm-online-state{font-size:13px}.hm-device-detail .device-detail-main>[role=alert]{margin-bottom:10px}.hm-device-detail.device-detail-page .device-session-launch,.hm-device-detail .device-detail-grid{display:none}.hm-device-detail .device-mobile-stack{display:grid;gap:12px}.hm-device-detail.device-detail-page .device-mobile-cli-card,.hm-device-detail.device-detail-page .device-mobile-info-card,.hm-device-detail.device-detail-page .device-mobile-recent-card{display:grid;gap:0;padding:0 14px;box-shadow:none}.hm-device-detail .hm-mobile-card-heading,.hm-device-detail .device-mobile-section-heading{min-height:48px;padding:10px 0;border-bottom:1px solid var(--hm-line)}.hm-device-detail .device-mobile-section-heading a{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:flex-end}.hm-device-detail .device-mobile-info-list>div{min-width:0;min-height:52px;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--hm-line)}.hm-device-detail .device-mobile-info-list>div:last-child{border-bottom:0}.hm-device-detail .device-mobile-info-list em{min-width:0;overflow:hidden;color:var(--hm-muted);font-style:normal;text-align:right;text-overflow:ellipsis;white-space:nowrap}.hm-device-detail .device-mobile-info-list .success{color:var(--hm-success)}.hm-device-detail .hm-copy-value{min-width:0}.hm-device-detail .hm-copy-value code{text-align:right}.hm-device-detail .hm-copy-value>button{min-width:44px;height:44px}.hm-device-detail .hm-cli-version-flow{display:grid}.hm-device-detail .hm-cli-version-flow>span{min-width:0;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--hm-line)}.hm-device-detail .hm-cli-version-flow small{color:var(--hm-text);font-size:14px}.hm-device-detail .hm-cli-version-flow strong{min-width:0;overflow:hidden;color:var(--hm-muted);font-weight:400;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.hm-device-detail .device-mobile-cli-action,.hm-device-detail .device-mobile-summary-check{width:calc(100% + 8px);min-height:52px;margin:0 -4px;justify-content:flex-start;border-radius:var(--hm-radius-sm)}.hm-device-detail .device-mobile-cli-label{flex:1 1 auto;min-width:0;text-align:left}.hm-device-detail .device-mobile-cli-action>svg:last-child{flex:0 0 auto;margin-left:auto}.hm-device-detail .device-mobile-session-link{min-height:56px;display:grid;grid-template-columns:34px minmax(0,1fr) 20px;align-items:center;gap:10px;padding:10px 14px;color:var(--hm-brand);box-shadow:none}.hm-device-detail .device-mobile-session-icon{width:34px;height:34px;color:#fff;border:0;border-radius:50%;background:var(--hm-brand)}.hm-device-detail .device-recent-list>a{min-height:58px;padding:8px 0}.hm-device-detail .device-recent-list>a>span:nth-child(2)>span:last-child{color:var(--hm-muted)}.hm-device-detail.device-detail-page .device-danger-card{display:block;margin-top:12px;padding:0;border-color:color-mix(in srgb,var(--hm-danger) 26%,var(--hm-line));background:var(--hm-surface-raised)}.hm-device-detail .device-danger-icon,.hm-device-detail .device-danger-card>div{display:none}.hm-device-detail .device-remove-button{width:100%;min-height:54px;justify-content:flex-start;color:var(--hm-danger);border:0}}@media(max-width:420px){.hm-device-detail .device-mobile-info-list>div{grid-template-columns:minmax(0,.78fr) minmax(0,1.5fr)}}:root{--hm-bg: #f3f3f3;--hm-bg-subtle: #ededed;--hm-surface: #fbfbfb;--hm-surface-raised: #ffffff;--hm-surface-muted: #f7f7f7;--hm-text: #1a1a1a;--hm-muted: #616161;--hm-faint: #8a8a8a;--hm-line: #e1e1e1;--hm-line-strong: #d0d0d0;--hm-brand: #0f6cbd;--hm-brand-hover: #115ea3;--hm-brand-soft: #e5f1fb;--hm-success: #16794a;--hm-success-soft: #e7f5ec;--hm-warning: #a55d00;--hm-warning-soft: #fff3df;--hm-danger: #bd2c2c;--hm-danger-soft: #fff0ee;--hm-shadow-sm: 0 1px 2px rgb(0 0 0 / 7%);--hm-shadow-md: 0 2px 8px rgb(0 0 0 / 10%);--hm-radius-sm: 6px;--hm-radius-md: 8px;--hm-radius-lg: 10px;--hm-radius-xl: 12px;--hm-nav-width: 224px;--hm-mobile-topbar-height: 64px;--hm-mobile-nav-height: 64px;--happy-safe-area-top: env(safe-area-inset-top, 0px);--happy-safe-area-right: env(safe-area-inset-right, 0px);--happy-safe-area-bottom: env(safe-area-inset-bottom, 0px);--happy-safe-area-left: env(safe-area-inset-left, 0px);font-family:Segoe UI Variable,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:var(--hm-text);background:var(--hm-bg);font-synthesis:none;text-rendering:optimizeLegibility}:root[data-theme=dark]{--hm-bg: #1c1c1c;--hm-bg-subtle: #242424;--hm-surface: #202020;--hm-surface-raised: #252525;--hm-surface-muted: #2b2b2b;--hm-text: #f5f5f5;--hm-muted: #c7c7c7;--hm-faint: #999999;--hm-line: #363636;--hm-line-strong: #494949;--hm-brand: #69a5f7;--hm-brand-hover: #86b8fa;--hm-brand-soft: #132d4f;--hm-success: #69c58f;--hm-success-soft: #173a29;--hm-warning: #f0b55c;--hm-warning-soft: #3d2a13;--hm-danger: #f08a85;--hm-danger-soft: #452220;--hm-shadow-sm: 0 1px 2px rgb(0 0 0 / 30%);--hm-shadow-md: 0 2px 10px rgb(0 0 0 / 34%)}*{box-sizing:border-box}html,body,#root,.app-theme-root{min-width:0;min-height:100%;margin:0}html{min-height:100%;background:var(--hm-bg)}body{min-height:100dvh;overflow:hidden;background:var(--hm-bg);color:var(--hm-text);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a,[role=button]{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}code,pre{font-family:SFMono-Regular,Cascadia Code,Roboto Mono,monospace}::selection{background:color-mix(in srgb,var(--hm-brand) 22%,transparent)}:focus-visible{outline:2px solid var(--hm-brand);outline-offset:2px}.app-theme-root{min-height:100dvh;color:var(--hm-text);background:transparent}.page{width:min(100%,1280px);min-height:100%;margin:0 auto;padding:32px clamp(24px,3.2vw,48px) 48px}.page-loading{display:grid;min-height:320px;place-items:center;color:var(--hm-muted)}.empty-state{display:grid;min-height:420px;align-content:center;justify-items:center;gap:12px;padding:40px 24px;color:var(--hm-muted);text-align:center}.empty-state h1,.empty-state h2,.empty-state h3{margin:0;color:var(--hm-text)}.empty-icon,.device-icon,.conversation-icon{display:inline-grid;flex:none;place-items:center;width:40px;height:40px;border:1px solid color-mix(in srgb,var(--hm-brand) 22%,var(--hm-line));border-radius:var(--hm-radius-md);color:var(--hm-brand);background:var(--hm-brand-soft)}.device-icon.large{width:72px;height:72px;border-radius:var(--hm-radius-lg);box-shadow:inset 0 1px #ffffff8c}.presence-label{display:inline-flex;align-items:center;gap:6px;color:var(--hm-muted);white-space:nowrap}.mobile-duplicate-action{display:none}.surface-card{border:1px solid var(--hm-line);border-radius:var(--hm-radius-lg);background:var(--hm-surface);box-shadow:var(--hm-shadow-sm)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:860px){body{overflow:auto;overscroll-behavior-y:none;background:var(--hm-bg)}.page{width:100%;min-height:calc(100dvh - var(--hm-mobile-topbar-height) - var(--hm-mobile-nav-height));padding:18px 16px calc(24px + var(--happy-safe-area-bottom))}.mobile-duplicate-action{display:inline-flex}button,[role=button],a[role=button]{touch-action:manipulation}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto;animation-duration:.01ms;animation-iteration-count:1;transition-duration:.01ms}}.app-shell{display:grid;grid-template-columns:var(--hm-nav-width) minmax(0,1fr);width:100%;height:100dvh;overflow:hidden;background:var(--hm-bg)}.desktop-nav-wrap{position:relative;z-index:20;width:var(--hm-nav-width);height:100dvh;border-right:1px solid var(--hm-line);background:var(--hm-surface-muted)}.desktop-nav{--fui-Drawer--size: var(--hm-nav-width);width:var(--hm-nav-width);min-width:var(--hm-nav-width);max-width:var(--hm-nav-width);height:100dvh;background:var(--hm-surface-muted)}.desktop-nav :where(.fui-NavDrawerHeader,.fui-NavDrawerBody,.fui-NavDrawerFooter){width:100%;min-width:0}.brand{display:flex;align-items:center;min-width:0;gap:11px;color:var(--hm-text)}.brand.compact{gap:8px}.brand-mark{display:inline-grid;flex:none;width:34px;height:34px;place-items:center;border-radius:var(--hm-radius-sm);color:#fff;background:var(--hm-brand)}.workspace{position:relative;min-width:0;min-height:0;overflow:auto;background:var(--hm-bg)}.mobile-topbar,.mobile-bottom-nav{display:none}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:26px}.page-heading{display:grid;gap:5px}.page-heading h1,.page-heading h2{margin:0;letter-spacing:-.025em}.page-meta{color:var(--hm-muted)}.page-actions{display:flex;align-items:center;gap:10px}.user-trigger{width:100%;min-height:54px;justify-content:flex-start;gap:10px;overflow:hidden}.user-trigger>span:last-child{display:grid;min-width:0;justify-items:start;overflow:hidden}.user-trigger>span:last-child strong,.user-trigger>span:last-child span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-trigger.compact{width:44px;min-width:44px;min-height:44px;padding:0;justify-content:center}.realtime-recovery-banner{position:fixed;z-index:80;top:14px;right:18px;display:flex;align-items:center;gap:10px;min-height:44px;max-width:min(460px,calc(100vw - var(--hm-nav-width) - 36px));padding:6px 7px 6px 12px;border:1px solid color-mix(in srgb,var(--hm-warning) 34%,var(--hm-line));border-radius:var(--hm-radius-sm);color:var(--hm-text);background:var(--hm-warning-soft);box-shadow:0 2px 8px #17191d14}.realtime-recovery-banner>span:nth-child(2){display:flex;min-width:0;align-items:baseline;gap:7px}.realtime-recovery-banner>button{flex:none;white-space:nowrap}.realtime-recovery-banner strong,.realtime-recovery-banner span{white-space:nowrap}.realtime-recovery-dot{width:8px;height:8px;border-radius:50%;background:var(--hm-warning);box-shadow:0 0 0 5px color-mix(in srgb,var(--hm-warning) 14%,transparent);animation:hm-pulse 1.6s ease-in-out infinite}@keyframes hm-pulse{50%{transform:scale(.74);opacity:.65}}.login-page,.boot-screen{display:grid;min-height:100dvh;place-items:center;padding:24px}.login-page{position:relative;overflow:hidden;background:var(--hm-bg-subtle)}.login-panel{position:relative;z-index:1;display:grid;width:min(100%,440px);gap:24px;padding:clamp(28px,4vw,40px);border:1px solid var(--hm-line);border-radius:var(--hm-radius-md);background:var(--hm-surface-raised);box-shadow:0 2px 10px #17191d12}.login-copy{display:grid;gap:12px}.login-copy h1{margin:0;font-size:clamp(1.8rem,4vw,2.4rem);line-height:1.14;letter-spacing:-.025em}.login-copy p,.login-copy span{color:var(--hm-muted);font-size:1rem;line-height:1.65}.login-panel>button{min-height:46px;border-radius:var(--hm-radius-sm);box-shadow:none}.login-security-line{display:flex;align-items:center;gap:8px;color:var(--hm-muted)}.boot-screen{color:var(--hm-muted);background:var(--hm-bg)}@media(max-width:860px){.app-shell{display:block;min-height:100dvh;height:auto;overflow:visible}.desktop-nav-wrap{display:none}.workspace{min-height:calc(100dvh - var(--hm-mobile-topbar-height) - var(--hm-mobile-nav-height) - var(--happy-safe-area-top, 0px) - var(--happy-safe-area-bottom, 0px));overflow:visible;padding-top:calc(var(--hm-mobile-topbar-height) + var(--happy-safe-area-top, 0px));padding-bottom:calc(var(--hm-mobile-nav-height) + var(--happy-safe-area-bottom, 0px));background:var(--hm-bg)}.mobile-topbar{position:fixed;z-index:60;inset:0 0 auto;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;height:calc(var(--hm-mobile-topbar-height) + var(--happy-safe-area-top, 0px));padding:var(--happy-safe-area-top, 0px) max(10px,var(--happy-safe-area-right, 0px)) 0 max(10px,var(--happy-safe-area-left, 0px));border-bottom:1px solid var(--hm-line);background:var(--hm-surface)}.mobile-context-account,.mobile-context-action,.mobile-context-spacer{width:44px;min-width:44px;height:44px}.mobile-context-copy{display:grid;min-width:0;justify-items:center;line-height:1.2}.mobile-context-copy strong,.mobile-context-copy span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-context-copy span{color:var(--hm-muted)}.mobile-bottom-nav{position:fixed;z-index:65;inset:auto 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-height:calc(var(--hm-mobile-nav-height) + var(--happy-safe-area-bottom, 0px));padding:6px max(10px,var(--happy-safe-area-right, 0px)) calc(6px + var(--happy-safe-area-bottom, 0px)) max(10px,var(--happy-safe-area-left, 0px));border-top:1px solid var(--hm-line);background:var(--hm-surface)}.mobile-bottom-nav-item{display:flex;flex-direction:column;gap:2px;min-height:50px;border-radius:var(--hm-radius-md);color:var(--hm-muted)}.mobile-bottom-nav-item.active{color:var(--hm-brand);background:var(--hm-brand-soft)}.chat-detail .mobile-topbar{display:none}.chat-detail .workspace{min-height:100dvh;padding:0}.device-detail-shell .mobile-topbar{display:none}.device-detail-shell .workspace{min-height:calc(100dvh - var(--hm-mobile-nav-height) - var(--happy-safe-area-bottom, 0px));padding-top:0}.device-detail-shell .realtime-recovery-banner{top:calc(var(--happy-safe-area-top, 0px) + 12px)}.realtime-recovery-banner{top:calc(var(--happy-safe-area-top, 0px) + 70px);right:12px;left:12px;max-width:none;justify-content:center}.chat-detail.has-realtime-banner .workspace{position:fixed;top:var(--happy-viewport-offset-top, 0px);right:0;bottom:auto;left:0;display:grid;grid-template-rows:auto minmax(0,1fr);width:100%;height:min(var(--happy-viewport-height, 100dvh),100dvh);min-height:0;overflow:hidden}.chat-detail.has-realtime-banner .realtime-recovery-banner{position:relative;z-index:10;top:auto;right:auto;left:auto;width:100%;min-height:calc(48px + var(--happy-safe-area-top, 0px));padding:calc(6px + var(--happy-safe-area-top, 0px)) max(12px,var(--happy-safe-area-right, 0px)) 6px max(12px,var(--happy-safe-area-left, 0px));border-width:0 0 1px;border-radius:0;box-shadow:none;justify-content:flex-start}.chat-detail.has-realtime-banner .hm-session{position:relative;inset:auto;width:100%;height:100%;min-height:0}.chat-detail.has-realtime-banner .hm-session-header{min-height:58px;padding-top:0}.realtime-recovery-banner>span:nth-child(2){flex:1;overflow:hidden}.realtime-recovery-banner>span:nth-child(2) span{display:none}.page-header{display:none}.login-page{align-items:center;padding:calc(18px + var(--happy-safe-area-top, 0px)) calc(16px + var(--happy-safe-area-right, 0px)) calc(18px + var(--happy-safe-area-bottom, 0px)) calc(16px + var(--happy-safe-area-left, 0px))}.login-panel{width:100%;gap:24px;padding:28px 24px;border-radius:var(--hm-radius-md)}.login-copy h1{font-size:clamp(1.8rem,8vw,2.3rem)}}@media(max-width:380px){.realtime-recovery-banner button{width:44px;min-width:44px;overflow:hidden;padding-inline:0}.realtime-recovery-banner button span:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}.account-menu-popover{width:min(300px,calc(100vw - 24px));min-width:min(300px,calc(100vw - 24px))!important;max-height:min(720px,calc(100dvh - 24px));overflow:auto;border:1px solid var(--hm-line);border-radius:var(--hm-radius-lg);background:var(--hm-surface-raised);box-shadow:var(--hm-shadow-md)}.account-menu-profile{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid var(--hm-line)}.account-menu-profile>div{display:grid;min-width:0;gap:3px}.account-menu-name{display:flex;min-width:0;align-items:center;gap:8px}.account-menu-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-menu-list{padding:6px}.account-menu-list .fui-MenuItem,.account-menu-list .fui-MenuItemRadio{min-height:44px}.account-menu-logout{color:var(--hm-danger)}.notification-menu-copy{display:grid;min-width:0;gap:2px}.notification-menu-copy span{color:var(--hm-muted);white-space:normal}.notification-menu-actions{display:inline-flex;align-items:center;gap:2px}.connect-dialog{width:min(680px,calc(100vw - 32px));max-width:680px;max-height:min(780px,calc(100dvh - 32px));overflow:hidden;border:1px solid var(--hm-line);border-radius:var(--hm-radius-xl);background:var(--hm-surface-raised);box-shadow:var(--hm-shadow-md)}.connect-dialog form,.connect-dialog>div{min-height:0}.pairing-stage{display:grid;gap:8px;margin-bottom:20px}.pairing-stage>span{color:var(--hm-muted)}.pairing-panel{display:grid;gap:16px}.pairing-instruction,.waiting-line,.pairing-security{display:flex;align-items:flex-start;gap:10px}.pairing-instruction-icon{display:inline-grid;flex:none;width:36px;height:36px;place-items:center;border-radius:10px;color:var(--hm-brand);background:var(--hm-brand-soft)}.command-block{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;padding:14px;border:1px solid #31353b;border-radius:var(--hm-radius-md);color:#f6f5f1;background:#1d2024}.command-block code{min-width:0;overflow-wrap:anywhere;font-size:.83rem;line-height:1.55}.waiting-line{align-items:center;padding:14px;border-radius:var(--hm-radius-md);background:var(--hm-surface-muted)}.waiting-line>span{display:grid;gap:3px}.pairing-security{align-items:center;color:var(--hm-muted)}.approval-device{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--hm-line);border-radius:var(--hm-radius-lg);background:var(--hm-surface-muted)}.approval-copy{display:grid;gap:3px}.approval-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid var(--hm-line);border-radius:var(--hm-radius-md);background:var(--hm-line)}.approval-fact{min-width:0;padding:10px 12px;overflow:hidden;color:var(--hm-muted);background:var(--hm-surface);text-overflow:ellipsis;white-space:nowrap}.approval-fact.success{color:var(--hm-success);background:var(--hm-success-soft)}.approval-fact.warning{color:var(--hm-warning);background:var(--hm-warning-soft)}.approval-path{display:flex;align-items:center;gap:8px;min-width:0;padding:11px 12px;border:1px solid var(--hm-line);border-radius:var(--hm-radius-sm);background:var(--hm-surface)}.approval-path code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pairing-result{display:grid;min-height:230px;align-content:center;justify-items:center;gap:10px;color:var(--hm-muted);text-align:center}.pairing-result.success{color:var(--hm-success)}@media(max-width:860px){.account-menu-popover{max-height:calc(100dvh - 24px - var(--happy-safe-area-top) - var(--happy-safe-area-bottom))}.connect-dialog{position:fixed;inset:auto 0 0;width:100%;max-width:none;max-height:min(88dvh,calc(100dvh - var(--happy-safe-area-top) - 12px));margin:0;border-width:1px 0 0;border-radius:var(--hm-radius-xl) var(--hm-radius-xl) 0 0;padding-bottom:var(--happy-safe-area-bottom)}.connect-dialog .fui-DialogBody{width:100%}.command-block{grid-template-columns:minmax(0,1fr) 44px}.approval-facts{grid-template-columns:1fr}.command-block button,.connect-dialog button{min-height:44px}.command-block button{width:44px;min-width:44px;padding-inline:0;overflow:hidden}.command-block button span:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}
