/* The Osynk window under the hero (hero-app.js). Drawn at the app's own sizes (window 1180 x 738, sidebar 232, header 44,
   tabs 30, Session panel 320) and scaled to the page; phones get the same window rearranged, never a second one.
   Colours are the design system's tokens only; the window carries its own theme (theme-preview) so it can switch. */
.ha{margin-top:4px}
.ha-tabs{display:flex;gap:26px;margin:0 0 16px}
.ha-tab{position:relative;margin:0;padding:6px 0 8px;border:0;background:none;color:var(--at-text-muted);font:500 14px/1.3 var(--at-font-ui);cursor:pointer}
.ha-tab[aria-pressed=true]{color:var(--at-text)}
.ha-tab[aria-pressed=true]::after{content:"";position:absolute;left:0;bottom:0;width:22px;height:2px;border-radius:2px;background:var(--at-accent)}
.ha-tab:hover{color:var(--at-text)}
.ha-frame{position:relative;width:100%;aspect-ratio:1180/738}

.ha-window{position:absolute;left:0;top:0;width:1180px;height:738px;transform-origin:0 0;transform:scale(var(--ha-k,1));display:grid;grid-template-columns:232px minmax(0,1fr);grid-template-rows:44px minmax(0,1fr);overflow:hidden;border:1px solid var(--at-line-strong);border-radius:12px;background:var(--at-bg);color:var(--at-text);font:400 14px/1.4 var(--at-font-ui);box-shadow:0 30px 60px -30px color-mix(in srgb,var(--at-graphite) 45%,transparent),0 2px 8px -2px color-mix(in srgb,var(--at-graphite) 18%,transparent);user-select:none;transition:background-color .35s,color .35s}
.ha-window *{box-sizing:border-box}
.ha-window :is(.ha-side,.ha-head,.ha-main,.ha-panel,.ha-term,.ha-w,.ha-set){transition:background-color .35s,color .35s,border-color .35s}
.ha-main,.ha-nav,.ha-crumb{transition:opacity .16s}
.ha-window.is-swapping :is(.ha-main,.ha-nav,.ha-crumb){opacity:0}

/* Marks and icons, as the app draws them. */
.ha-mark{flex:none;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;color:var(--at-text-muted)}
.ha-mark .solid{fill:currentColor;stroke:none}
.ha-mark[data-shape=needs]{color:var(--at-danger)}
.ha-mark[data-shape=finished]{color:var(--at-success)}
.ha-mark[data-shape=working]{color:var(--at-text);stroke-width:1.3}
.ha-arm{transform-origin:9px 13.4px;animation:ha-tick .6s ease-in-out infinite alternate}
@keyframes ha-tick{from{transform:rotate(-24deg)}to{transform:rotate(24deg)}}
.ha-ico{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.ha-ico .solid,.ha-ico .ha-knob{fill:var(--at-surface)}
.ha-ico .solid{fill:currentColor;stroke:none}
.ha-fermata{width:17px;height:17px;stroke-width:2.2}
.ha-chev{flex:none;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ha-pill{display:inline-block;min-width:16px;padding:0 5px;border-radius:999px;background:var(--at-selected);color:var(--at-text-muted);font:600 10.5px/16px var(--at-font-ui);font-style:normal;text-align:center}

/* The sidebar: traffic lights, Maestro and the places, the Projects and their Sessions, your menu. */
.ha-side{grid-row:1/3;grid-column:1;display:flex;flex-direction:column;min-height:0;background:var(--at-surface);border-right:1px solid var(--at-line);color:var(--at-text)}
.ha-painted[data-theme=light]{--at-surface:var(--at-mineral)}
.ha-painted[data-theme=dark]{--at-surface:var(--at-graphite)}
.ha-top{flex:none;height:44px;display:flex;align-items:center;justify-content:space-between;padding:0 10px 0 16px}
.ha-lights{display:flex;gap:8px}
.ha-lights i{width:12px;height:12px;border-radius:50%;background:color-mix(in srgb,var(--at-text) 16%,transparent)}
.ha-lights-m{display:none}
.ha-topicons{display:flex;gap:10px;color:var(--at-text-muted)}
.ha-nav{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.ha-pinned{padding:4px 8px 8px}
.ha-pin{display:flex;align-items:center;gap:10px;min-height:36px;padding:6px 8px;border-radius:6px;font-size:13px;font-weight:500}
.ha-pin .ha-ico{color:var(--at-text-muted)}
.ha-pin em{margin-left:auto;font:600 11px/1 var(--at-font-ui);font-style:normal;color:var(--at-danger-strong)}
.ha-list{padding:0 8px}
.ha-ghead{display:flex;align-items:center;gap:6px;min-height:32px;padding:0 6px;font-size:12px;font-weight:600;color:var(--at-text-muted)}
.ha-row{display:flex;align-items:center;gap:6px;min-height:30px;padding:4px 8px 4px 6px;margin-left:12px;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer}
.ha-row:hover{background:var(--at-hover)}
.ha-row.is-on{background:var(--at-selected);color:var(--at-accent)}
.ha-row span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ha-add{display:flex;align-items:center;gap:8px;min-height:32px;padding:0 6px;margin-top:6px;font-size:12px;font-weight:600;color:var(--at-text-muted)}
.ha-plus{width:14px;height:14px}
.ha-foot{flex:none;display:flex;align-items:center;gap:8px;min-height:48px;padding:0 12px;border-top:1px solid var(--at-line);font-size:13px;font-weight:600}
.ha-initial{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--at-selected);font:600 11px/1 var(--at-font-ui);font-style:normal}
.ha-foot .ha-chev{transform:rotate(180deg);color:var(--at-text-muted)}
.ha-guide{display:flex;align-items:center;gap:6px;margin-left:auto;color:var(--at-text-muted)}
.ha-guide .ha-ico{width:26px;height:26px;padding:5px;border:1.5px solid var(--at-line);border-top-color:var(--at-accent);border-radius:50%}
.ha-guide em{font:600 11px/1 var(--at-font-ui);font-style:normal;color:var(--at-accent)}

/* The header: the address, the load strip, the usage of each agent, the panel toggle. */
.ha-head{grid-row:1;grid-column:2;display:flex;align-items:center;gap:10px;min-width:0;padding:0 10px 0 16px;border-bottom:1px solid var(--at-line)}
.ha-crumb{display:flex;align-items:center;gap:8px;min-width:0;font-size:13px;white-space:nowrap}
.ha-space{font-size:12px;font-weight:600}
.ha-sep{color:var(--at-text-muted)}
.ha-crumb .ha-mark{width:13px;height:13px}
.ha-crumb b{font-weight:600;overflow:hidden;text-overflow:ellipsis}
.ha-place{font-weight:600}
.ha-widgets{display:flex;align-items:center;gap:8px;margin-left:auto}
.ha-usage{display:flex;flex-direction:column;justify-content:center;gap:1px;padding:2px 8px;border-radius:6px;font:500 9px/9.5px var(--at-font-ui);color:var(--at-text-muted)}
.ha-usage span{display:flex;align-items:center;gap:5px}
.ha-usage i{width:14px;font-style:normal}
.ha-usage s{position:relative;width:40px;height:3px;border-radius:2px;background:var(--at-line);text-decoration:none;overflow:hidden}
.ha-usage u{position:absolute;left:0;top:0;bottom:0;border-radius:2px;background:var(--at-text-muted);text-decoration:none}
.ha-usage em{font-style:normal;color:var(--at-text)}
.ha-usage b{font:600 10.5px/12px var(--at-font-ui);color:var(--at-text)}
.ha-w30{width:30%}.ha-w62{width:62%}
.ha-hbtn{display:grid;place-items:center;width:28px;height:28px;color:var(--at-text-muted)}

/* The Session: the terminal and its tabs, the resize lane, the Session panel. */
.ha-main{grid-row:2;grid-column:2;min-width:0;min-height:0;position:relative}
.ha-desk{display:grid;grid-template-columns:minmax(0,1fr) 7px 320px;height:100%;background:var(--at-surface)}
.ha-tcol{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--at-sunken)}
.ha-tstrip{flex:none;display:flex;align-items:stretch;height:30px;border-bottom:1px solid var(--at-line);overflow:hidden}
.ha-ttab{display:flex;align-items:center;gap:6px;max-width:260px;padding:0 12px;border-bottom:2px solid transparent;margin-bottom:-1px;font-size:12px;color:var(--at-text-muted);white-space:nowrap}
.ha-ttab span{overflow:hidden;text-overflow:ellipsis}
.ha-ttab.is-on{background:var(--at-selected);color:var(--at-text);border-bottom-color:var(--at-accent)}
.ha-ttab .ha-mark{width:12px;height:12px}
.ha-tray{width:14px;height:14px}
.ha-tplus{display:flex;align-items:center;padding:0 10px;color:var(--at-text-muted);opacity:.7}
.ha-term{flex:1;min-height:0;display:flex;flex-direction:column;padding:14px 18px 12px;font:var(--at-terminal-font-weight,500) 13.5px/1.45 var(--at-font-mono);color:var(--at-text)}
.ha-lines{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end}
.ha-ln{white-space:pre-wrap;overflow-wrap:anywhere}
.ha-ln.is-new{animation:ha-in .3s ease-out both}
@keyframes ha-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.ha-ln.you{margin:10px -18px 8px;padding:5px 18px;background:var(--at-terminal-user-background);color:var(--at-terminal-user-foreground)}
.ha-ln.you:first-child{margin-top:0}
.ha-ln.do,.ha-ln.tool,.ha-ln.cx,.ha-ln.ask{margin-top:8px}
.ha-ln b{font-weight:700}
.ha-dot{color:var(--at-text)}
.ha-ln.tool .ha-dot{color:var(--at-ansi-2)}
.ha-ln.cx .ha-dot{color:var(--at-ansi-4)}
.ha-ln.ask .ha-dot{color:var(--at-ansi-4)}
.ha-ln.out{color:var(--at-text-muted)}
.ha-ln.work{margin-top:10px;color:var(--at-accent)}
.ha-ln.opt{padding-left:2ch;color:var(--at-text-muted)}
.ha-ln.opt:first-of-type{margin-top:6px}
.ha-ln.opt.is-on{color:var(--at-ansi-4);font-weight:700}
.ha-dim{color:var(--at-text-muted)}
.ha-p{color:var(--at-text-muted)}
.ha-input{flex:none;display:flex;align-items:center;gap:1ch;margin-top:12px;padding:6px 10px;border:1px solid var(--at-line-strong);border-radius:6px}
.ha-hint{flex:none;padding:5px 2px 0;font-size:12px;color:var(--at-text-muted)}
.ha-cursor{display:inline-block;width:.6em;height:1.15em;vertical-align:-.22em;background:var(--at-terminal-cursor);animation:ha-blink 1.1s steps(1) infinite}
@keyframes ha-blink{50%{opacity:0}}
.ha-grip{position:relative;background:var(--at-surface)}
.ha-grip::before{content:"";position:absolute;left:3px;top:0;bottom:0;width:1px;background:var(--at-line)}
.ha-grip i{position:absolute;left:2px;top:50%;width:3px;height:28px;margin-top:-14px;border-radius:2px;background:var(--at-line-strong)}
.ha-panel{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--at-surface)}
.ha-ptabs{flex:none;display:flex;align-items:stretch;height:30px;padding:0 6px;border-bottom:1px solid var(--at-line)}
.ha-ptab{display:flex;align-items:center;gap:5px;padding:0 9px;border-bottom:2px solid transparent;margin-bottom:-1px;font-size:12px;color:var(--at-text-muted);white-space:nowrap}
.ha-ptab.is-on{color:var(--at-text);font-weight:650;border-bottom-color:var(--at-accent)}
.ha-pbody{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:10px;padding:12px;animation:ha-in .25s ease-out both}

/* The Session tab's widgets: Agents (the agent's own report), Resources, Session. */
.ha-w{padding:11px 12px 12px;border:1px solid var(--at-line);border-radius:8px;background:var(--at-bg)}
.ha-wh{display:flex;align-items:center;gap:6px;margin-bottom:10px;font:700 10px/1 var(--at-font-ui);letter-spacing:.06em;text-transform:uppercase;color:var(--at-text-muted)}
.ha-i{display:grid;place-items:center;width:13px;height:13px;border:1px solid var(--at-line-strong);border-radius:50%;font:600 8px/1 var(--at-font-ui);font-style:normal;text-transform:none}
.ha-meta{margin-left:auto;font:500 11px/1.2 var(--at-font-ui);letter-spacing:0;text-transform:none;color:var(--at-text-muted)}
.ha-wh b{font-size:13px;font-weight:500}
.ha-goal,.ha-done,.ha-kv{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;margin:0;font-size:12.5px;line-height:1.4}
.ha-goal dt,.ha-done dt,.ha-kv dt{color:var(--at-text-muted);font-weight:500}
.ha-goal dd,.ha-done dd,.ha-kv dd{margin:0}
.ha-ahead{display:flex;align-items:center;gap:6px;margin-top:12px;padding-top:10px;border-top:1px solid var(--at-line);font-size:12.5px}
.ha-ahead .ha-mark{width:13px;height:13px}
.ha-ahead span{font-size:11.5px;color:var(--at-text-muted)}
.ha-ahead time{margin-left:auto;font-size:11px;color:var(--at-text-muted)}
.ha-now{margin:6px 0 0;font-size:13.5px;font-weight:600;line-height:1.4}
.ha-askbox{margin-top:8px;padding:8px 10px;border-radius:6px;background:var(--at-danger-soft);font-size:12.5px;line-height:1.4}
.ha-askbox p{margin:0;font-weight:600}
.ha-askbox span{display:block;margin-top:4px;color:var(--at-text-muted);font-size:11.5px}
.ha-done{margin-top:10px}
.ha-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ha-tile{display:grid;grid-template-columns:1fr auto;gap:2px 6px;padding:7px 8px;border-radius:6px;background:var(--at-surface);font-size:11px;color:var(--at-text-muted)}
.ha-tile b{color:var(--at-text);font-weight:600}
.ha-tile svg{grid-column:1/-1;width:100%;height:22px;fill:none;stroke:var(--at-accent);stroke-width:1.4;vector-effect:non-scaling-stroke}

/* Artefacts: the page an agent showed, in its preview. */
.ha-art{display:flex;flex-direction:column;gap:8px;height:100%}
.ha-arthead{display:flex;align-items:center;font-size:12.5px}
.ha-pick{font-weight:600}
.ha-arttools{display:flex;gap:12px;padding-bottom:8px;border-bottom:1px solid var(--at-line);font-size:11.5px;color:var(--at-text-muted)}
.ha-receipt{display:flex;flex-direction:column;gap:7px;margin:8px 10px;padding:22px 20px;border:1px solid var(--at-line);border-radius:8px;background:var(--at-bg);font-size:12.5px}
.ha-receipt b{font:500 20px/1.2 var(--at-font-editorial)}
.ha-rmeta{margin-bottom:8px;font-size:11px;color:var(--at-text-muted)}
.ha-receipt p{display:flex;justify-content:space-between;margin:0}
.ha-receipt .ha-total{margin-top:6px;padding-top:8px;border-top:1px solid var(--at-line);font-weight:700}
.ha-receipt em{margin-top:10px;font:italic 400 13px/1.4 var(--at-font-editorial);color:var(--at-text-muted)}

/* Work: what one agent handed to another, round by round. */
.ha-work{display:flex;flex-direction:column;gap:12px}
.ha-wgroup h4{display:flex;align-items:center;gap:6px;margin:0 0 6px;font:600 11.5px/1.2 var(--at-font-ui);color:var(--at-text-muted)}
.ha-wrow{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:8px;padding:9px 10px;border:1px solid var(--at-line);border-radius:8px;background:var(--at-bg);animation:ha-in .3s ease-out both}
.ha-face{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font:600 10px/1 var(--at-font-ui);font-style:normal}
.ha-cx{background:var(--at-info-soft);color:var(--at-info)}
.ha-wrow div{display:flex;flex-direction:column;gap:3px;min-width:0;font-size:12.5px}
.ha-wrow span{font-size:12px;color:var(--at-text-muted)}
.ha-wrow .ha-whist{font-size:11.5px}
.ha-wbtns{display:flex;gap:10px;margin-top:4px}
.ha-wbtns u{text-decoration:none;padding:2px 8px;border:1px solid var(--at-line-strong);border-radius:4px;font-size:11px;color:var(--at-text)}
.ha-wrow time{font-size:11px;color:var(--at-text-muted)}

/* The Workflow run: its Stages in order, the one running, the one that waits for you, the History. */
.ha-runhead{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:13px}
.ha-stages{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.ha-stages li{position:relative;display:grid;grid-template-columns:14px minmax(0,1fr) auto;align-items:center;gap:9px;padding:6px 8px;border-radius:6px}
.ha-stages li::before{content:"";position:absolute;left:14.5px;top:-6px;height:12px;width:1px;background:var(--at-line)}
.ha-stages li:first-child::before{display:none}
.ha-stages li.is-live{background:var(--at-selected)}
.ha-stages div{display:flex;flex-direction:column;min-width:0}
.ha-stages b{font-size:12.5px;font-weight:600}
.ha-stages span{font-size:11px;color:var(--at-text-muted)}
.ha-stages em{font-size:11px;font-style:normal;color:var(--at-text-muted);white-space:nowrap}
.ha-stages em.ha-red{color:var(--at-danger);font-weight:600}
.ha-hist{margin-top:12px;padding-top:10px;border-top:1px solid var(--at-line);font-size:12px;line-height:1.45}
.ha-hist h4{margin:0 0 6px;font:600 11.5px/1.2 var(--at-font-ui);color:var(--at-text-muted)}
.ha-hist p{margin:0 0 4px}

/* Files: a file opened for the person, with the editor and Save. */
.ha-file{display:flex;flex-direction:column;gap:10px}
.ha-fhead{display:flex;align-items:center;gap:8px;font-size:13px}
.ha-fback{color:var(--at-text-muted)}
.ha-fhead .ha-meta{margin-left:4px}
.ha-fexp{margin-left:auto;font-size:11.5px;color:var(--at-text-muted)}
.ha-two{display:flex;width:max-content;padding:2px;border:1px solid var(--at-line-strong);border-radius:6px;font-size:11.5px}
.ha-two span{padding:3px 12px;border-radius:4px;color:var(--at-text-muted)}
.ha-two .is-on{background:var(--at-selected);color:var(--at-text);font-weight:600}
.ha-editor{display:grid;grid-template-columns:auto minmax(0,1fr);border:1px solid var(--at-line);border-radius:6px;background:var(--at-bg);font:12.5px/1.8 var(--at-font-mono)}
.ha-gut{display:flex;flex-direction:column;padding:6px 8px;border-right:1px solid var(--at-line);color:var(--at-text-muted);text-align:right}
.ha-code{padding:6px 10px;overflow:hidden;white-space:nowrap}
.ha-code div{min-height:1.8em}
.ha-ek{color:var(--at-ansi-4)}
.ha-key{display:inline-block;min-width:8px}
.ha-savehint{margin:0;font-size:11.5px;color:var(--at-text-muted)}

/* Settings: the section list in the sidebar, Appearance and Keyboard shortcuts in the page. */
.ha-secs{display:flex;flex-direction:column;gap:1px;padding:6px 8px}
.ha-secs p{margin:4px 8px 8px;font:600 12px/1.2 var(--at-font-ui);color:var(--at-text-muted)}
.ha-sec{padding:7px 8px;border-radius:4px;font-size:12px;font-weight:650}
.ha-sec.is-on{background:var(--at-selected);color:var(--at-accent)}
.ha-set{display:flex;flex-direction:column;height:100%;background:var(--at-surface)}
.ha-setstrip{flex:none;display:flex;align-items:center;justify-content:flex-end;height:44px;padding:0 24px;border-bottom:1px solid var(--at-line)}
.ha-back{display:flex;align-items:center;gap:6px;padding:5px 9px;font-size:12px}
.ha-window kbd{padding:1px 5px;border:1px solid var(--at-line-strong);border-radius:4px;font:500 11px/1.3 var(--at-font-ui);color:var(--at-text-muted)}
.ha-setscroll{flex:1;min-height:0;overflow:hidden}
.ha-set-content{max-width:800px;margin:0 auto;padding:30px 48px 40px;animation:ha-in .25s ease-out both}
.ha-window .ha-set h1{margin:0 0 8px;font:450 28px/1.15 var(--at-font-editorial);letter-spacing:var(--at-track-tight);color:var(--at-text)}
.ha-intro{margin:0;max-width:64ch;font-size:14px;line-height:1.55;color:var(--at-text-muted)}
.ha-window .ha-set h2{margin:26px 0 4px;padding-top:16px;border-top:1px solid var(--at-line-strong);font:450 22px/1.15 var(--at-font-editorial);letter-spacing:var(--at-track-tight);color:var(--at-text)}
.ha-srow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;padding:12px 0}
.ha-srow+.ha-help+.ha-srow{border-top:1px solid var(--at-line)}
.ha-window .ha-srow h3{margin:0;font:600 14px/1.4 var(--at-font-ui);letter-spacing:0;color:var(--at-text)}
.ha-srow p,.ha-help,.ha-gintro{margin:2px 0 0;max-width:64ch;font-size:13px;line-height:1.5;color:var(--at-text-muted)}
.ha-help{margin:0 0 4px;font-size:12.5px}
.ha-seg{display:flex;gap:2px;width:230px;padding:2px;border:1px solid var(--at-line-strong);border-radius:6px;background:var(--at-bg)}
.ha-seg4{width:300px}
.ha-seg span{flex:1;padding:5px 0;border-radius:4px;font-size:12.5px;text-align:center;white-space:nowrap;color:var(--at-text-muted)}
.ha-seg .is-on{background:var(--at-surface);color:var(--at-text);font-weight:600;box-shadow:0 0 0 1px var(--at-line)}
.ha-colours,.ha-ansi{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 20px;margin-top:14px}
.ha-ansi{grid-template-columns:repeat(4,minmax(0,1fr))}
.ha-colour{display:flex;align-items:center;gap:10px;font-size:13px}
.ha-colour em{font-size:11px;font-style:normal;color:var(--at-text-muted)}
.ha-sw{flex:none;width:34px;height:26px;border:1px solid var(--at-line);border-radius:4px;transition:background-color .35s}
.ha-sw-surface{background:var(--at-surface)}.ha-sw-bg{background:var(--at-bg)}.ha-sw-mineral{background:var(--at-mineral)}.ha-sw-graphite{background:var(--at-graphite)}
.ha-a0{background:var(--at-ansi-0)}.ha-a1{background:var(--at-ansi-1)}.ha-a2{background:var(--at-ansi-2)}.ha-a3{background:var(--at-ansi-3)}
.ha-a4{background:var(--at-ansi-4)}.ha-a5{background:var(--at-ansi-5)}.ha-a6{background:var(--at-ansi-6)}.ha-a7{background:var(--at-ansi-7)}
.ha-a8{background:var(--at-ansi-8)}.ha-a9{background:var(--at-ansi-9)}.ha-a10{background:var(--at-ansi-10)}.ha-a11{background:var(--at-ansi-11)}
.ha-a12{background:var(--at-ansi-12)}.ha-a13{background:var(--at-ansi-13)}.ha-a14{background:var(--at-ansi-14)}.ha-a15{background:var(--at-ansi-15)}
.ha-cactions{display:flex;align-items:center;gap:14px;margin-top:16px}
.ha-cactions .ha-meta{margin-left:0;font-size:12px}
.ha-btn{display:inline-flex;align-items:center;padding:6px 12px;border:1px solid var(--at-line-strong);border-radius:4px;background:var(--at-surface);font-size:12.5px;color:var(--at-text);white-space:nowrap}
.ha-primary{border-color:var(--at-accent);background:var(--at-accent);color:var(--at-text-on-accent);font-weight:600}
.ha-ktool{display:flex;align-items:flex-end;gap:16px;margin:20px 0 10px}
.ha-klabel{flex:1;display:flex;flex-direction:column;gap:8px;font-size:12px}
.ha-search{display:flex;align-items:center;gap:2px;min-height:38px;padding:8px 12px;border:1px solid var(--at-line-strong);border-radius:4px;background:var(--at-bg);font-size:13px}
.ha-search>i:not(.ha-cursor){font-style:normal;color:var(--at-text-muted)}
.ha-search .ha-cursor{width:1.5px;height:1.2em;vertical-align:middle}
.ha-ktool .ha-btn{padding:10px 14px}
.ha-savebar{display:flex;gap:10px;padding:4px 0 10px;animation:ha-in .25s ease-out both}
.ha-kmsg{min-height:20px;margin:0 0 4px;font-size:12px;color:var(--at-text-muted)}
.ha-ktable{width:100%;border-collapse:collapse;font-size:12.5px}
.ha-ktable th,.ha-ktable td{padding:8px 0;border-bottom:1px solid var(--at-line);text-align:left}
.ha-ktable thead th{font-weight:500;color:var(--at-text-muted)}
.ha-ktable tbody th{padding-right:16px;font-weight:500}
.ha-bind{display:inline-flex;justify-content:center;min-width:110px;padding:6px 10px;border:1px solid var(--at-line-strong);border-radius:4px}
.ha-bind kbd{padding:0;border:0;font-size:12.5px;color:var(--at-text)}
.ha-bind.is-rec{border-color:var(--at-accent);box-shadow:0 0 0 1px var(--at-accent)}
.ha-bind.is-rec kbd{color:var(--at-accent)}
.ha-kact{text-align:right}
.ha-kact span{margin-left:12px;font-size:12px;color:var(--at-text-muted)}

/* The person's hands: the pointer that moves and clicks, and the keys pressed. */
.ha-pointer{position:absolute;left:0;top:0;z-index:5;width:20px;height:24px;transform:translate(640px,420px);transition:transform .7s cubic-bezier(.45,0,.2,1);pointer-events:none}
.ha-arrow{display:block;width:20px;height:24px;fill:var(--at-text);stroke:var(--at-surface);stroke-width:1.4;stroke-linejoin:round;filter:drop-shadow(0 2px 3px color-mix(in srgb,var(--at-graphite) 30%,transparent))}
.ha-ripple{position:absolute;left:-12px;top:-12px;width:28px;height:28px;border:2px solid var(--at-accent);border-radius:50%;opacity:0}
.ha-pointer.is-click .ha-ripple{animation:ha-ripple .5s ease-out}
@keyframes ha-ripple{from{opacity:.8;transform:scale(.3)}to{opacity:0;transform:scale(1.2)}}
.ha-keys{position:absolute;left:50%;bottom:28px;z-index:4;display:flex;gap:6px;padding:8px 10px;border-radius:10px;background:color-mix(in srgb,var(--at-text) 88%,transparent);opacity:0;transform:translate(-50%,8px);transition:opacity .2s,transform .2s;pointer-events:none}
.ha-keys.is-on{opacity:1;transform:translate(-50%,0)}
.ha-keys kbd{min-width:30px;padding:5px 8px;border:1px solid color-mix(in srgb,var(--at-surface) 40%,transparent);border-radius:6px;font:600 16px/1 var(--at-font-ui);text-align:center;color:var(--at-surface)}

@media(prefers-reduced-motion:reduce){.ha-arm,.ha-cursor{animation:none}.ha-pointer{display:none}.ha-window,.ha-window *{transition:none!important}.ha-ln.is-new,.ha-pbody,.ha-wrow,.ha-set-content,.ha-savebar{animation:none}}

/* A phone shows the same window, smaller, from one edge of the screen to the other (Owner, 1 November 2026: "just make
   the same window smaller but use the left and right side 100%"). */
@media(max-width:680px){
 .ha-tabs{gap:22px;margin-bottom:12px}
 .ha-frame{width:100vw;margin-left:calc(50% - 50vw)}
 .ha-window{border-left:0;border-right:0;border-radius:0}
}
