/* Início · mundo isométrico dos agentes (visão "home" do ini.php). Fundo da página é o do sistema (--ltrx-page-bg). */
.hm{
  --hm-surface:var(--ltrx-surface,#fff);--hm-surface-glass:rgba(255,255,255,.82);
  --hm-text:#141c2b;--hm-muted:#5d6a7e;--hm-faint:#8b96a5;--hm-border:#e1e6ee;
  --hm-accent:#0056fe;--hm-accent-2:#5b8cff;--hm-accent-soft:#eaf1ff;--hm-accent-ink:#0040c4;
    --hm-shadow:0 1px 2px rgba(16,24,40,.04),0 8px 24px rgba(16,24,40,.06);
  display:grid;gap:clamp(18px,2.4vw,28px);width:100%;max-width:2200px;margin:0 auto;padding:clamp(14px,2.4vw,32px) clamp(4px,1.6vw,24px) 56px;
  color:var(--hm-text);font-family:"Quicksand",system-ui,sans-serif;line-height:1.5;box-sizing:border-box;
}
.hm *,.hm *::before,.hm *::after{box-sizing:border-box}
.hm a{color:inherit}
.hm :focus-visible{outline:2px solid var(--hm-accent);outline-offset:3px}
.hm [hidden]{display:none!important}

/* Abertura */
.hm-hero{animation:hm-rise .7s ease-out both}
/* Saudação à esquerda e seletor de empresa à direita, no topo. */
.hm-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.hm-hero>.hm-client{flex:0 0 auto;width:240px;margin-top:4px}
.hm-hero__copy{max-width:1100px}
/* Saudação e título fluidos pela largura e pela altura da tela (o Início cabe sem rolar): um pouco menores que antes. */
.hm-kicker{margin:0;color:var(--hm-accent-ink);font-weight:700;font-size:clamp(12px,min(.95vw,1.6vh),13.5px);letter-spacing:.02em}
.hm-hero h1{margin:4px 0 0;font-size:clamp(20px,min(2.2vw,3.6vh),30px);line-height:1.3;letter-spacing:-.03em;font-weight:700}
.hm-headline__intro,.hm-headline__work{display:inline}
.hm-headline__destination{display:inline-block;white-space:nowrap}
.hm-headline__destination .hm-hero__logo{display:inline-block;width:auto;height:1.12em;max-width:100%;margin-left:.12em;vertical-align:-.18em;object-fit:contain}
:root[data-theme="dark"] .hm-hero__logo{filter:brightness(0) invert(1) opacity(.92)}
.hm-grad{background:linear-gradient(100deg,var(--hm-accent) 10%,var(--hm-accent-2) 50%,#00b3ff 90%);-webkit-background-clip:text;background-clip:text;color:transparent;background-size:200% 100%;animation:hm-shine 6s ease-in-out infinite}
.hm-lead{margin:0;color:var(--hm-muted);font-size:clamp(15px,1.4vw,17px);max-width:620px}

/* Mundo */
/* A animação ocupa toda a altura entre a saudação e o dock: fica centrada na vertical da tela. */
.hm{min-height:100vh;min-height:100dvh;grid-template-rows:auto minmax(0,1fr)}
/* Computador: o Início cabe exatamente na tela, sem barra de rolagem vertical (a animação encolhe no espaço que sobra
   entre a saudação e o dock). No celular a página continua rolando. */
@media (min-width:641px){
  html:has(body[data-star-app-view="home"]),body[data-star-app-view="home"]{height:100%;overflow:hidden}
  body[data-star-app-view="home"] .hm{height:100vh;height:100dvh;min-height:0;overflow:hidden}
  body[data-star-app-view="home"] .hm-stage{min-height:0}
}
.hm-world{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:16px}
.hm-world>.hm-stage{height:100%}
/* A animação ocupa a largura toda e fica no centro (apps, Compromissos e busca foram para o dock). */
/* Exército simulado (?agentes=mock, só no local): selo para não confundir com os agentes de verdade. */
.hm-stage[data-mock]::after{content:attr(data-mock);position:absolute;top:6px;left:50%;z-index:7;transform:translateX(-50%);padding:2px 9px;border-radius:999px;background:#e0a526;color:#1d1f23;font-size:10px;font-weight:800;letter-spacing:.06em;pointer-events:none}
.hm-stage{position:relative;min-height:clamp(300px,44vh,500px);border:0;border-radius:0;overflow:visible;background:transparent;box-shadow:none;animation:hm-rise .8s .1s ease-out both}

/* Rótulos sobre as torres (HTML, para ter ícones e texto nítidos) */
.hm-label{position:absolute;transform:translate(-50%,-100%);display:flex;align-items:center;gap:8px;padding:6px 10px 6px 6px;border:0;border-radius:12px;background:color-mix(in srgb,var(--hm-surface) 38%,transparent);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);text-shadow:0 0 4px var(--hm-surface);white-space:nowrap;pointer-events:none;font-size:13px;font-weight:700;opacity:0;animation:hm-fade .5s ease-out forwards}
.hm-label i{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;color:#fff;font-size:12px}
.hm-label small{display:block;color:var(--hm-muted);font-size:11px;font-weight:600}
.hm-label.is-core{padding:6px 12px;color:var(--hm-accent-ink)}

/* Painel do agente */

@keyframes hm-rise{from{opacity:0;transform:translateY(14px)}}
@keyframes hm-fade{to{opacity:1}}
@keyframes hm-shine{50%{background-position:100% 0}}
@keyframes hm-flow{to{stroke-dashoffset:-24}}
@keyframes hm-ping{0%{transform:scale(.6);opacity:.9}100%{transform:scale(2.2);opacity:0}}
@keyframes hm-float{50%{transform:translateY(-6px)}}

@media (max-width:980px){.hm-stage{min-height:clamp(300px,62vw,460px)}}

@media (max-width:560px){.hm-stage{min-height:300px}}
@media (prefers-reduced-motion:reduce){.hm *,.hm *::before,.hm *::after{animation:none!important;transition:none!important}.hm-label{opacity:1}}
@media (max-width:640px){.hm-stage{min-height:320px}.hm-label{gap:6px;padding:4px 8px 4px 4px;font-size:11.5px;border-radius:10px}.hm-label small{display:none}.hm-label i{width:20px;height:20px;border-radius:6px;font-size:10px}}

.hm a
/* Cena 3D */
/* Sem moldura: o palco se funde ao fundo do Início. Um degradê suave atrás da cena, com bordas desfocadas. */
.hm-stage.is-3d{background:transparent}
.hm-stage.is-3d::before{content:"";position:absolute;inset:-4% -2%;z-index:0;pointer-events:none;
  background:radial-gradient(50% 58% at 50% 56%,rgba(255,255,255,.95) 0%,rgba(234,241,255,.75) 38%,rgba(226,236,255,.35) 62%,rgba(244,246,248,0) 80%),
             radial-gradient(34% 40% at 28% 40%,rgba(214,230,255,.55) 0%,rgba(214,230,255,0) 70%),
             radial-gradient(30% 36% at 74% 38%,rgba(232,224,255,.45) 0%,rgba(232,224,255,0) 70%);
  filter:blur(18px)}
.hm-stage.is-3d .hm-canvas{z-index:1;-webkit-mask-image:radial-gradient(50% 50% at 50% 50%,#000 58%,transparent 100%);mask-image:radial-gradient(50% 50% at 50% 50%,#000 58%,transparent 100%)}
.hm-stage.is-3d .hm-label{z-index:3}.hm-stage.is-3d .hm-label.is-sel{z-index:4}.hm-stage.is-3d .hm-pop{z-index:6}
.hm-canvas{position:absolute;inset:0;width:100%!important;height:100%!important;display:block;touch-action:manipulation}
.hm-label.is-ghost{padding:5px 10px;color:var(--hm-accent-ink);font-size:12px}
@keyframes hm-pulse{70%{box-shadow:0 0 0 7px rgba(23,128,61,0)}100%{box-shadow:0 0 0 0 rgba(23,128,61,0)}}
/* Sem WebGL: cartões */
.hm-stage.is-flat{display:grid;place-items:center;padding:24px}
.hm-flat{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;width:100%;max-width:820px}
.hm-flat__item{display:grid;justify-items:center;gap:8px;padding:22px 14px;border:1px solid var(--hm-border);border-radius:18px;background:var(--hm-surface);color:var(--hm-text);font:inherit;cursor:pointer}
.hm-flat__item i{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;color:#fff;font-size:20px}
/* Rosto do agente (app/assets/agent-faces) no lugar do ícone: preenche o quadro, que fica com a cor do agente. */
.hm .hm-face{overflow:hidden;padding:0}
.hm .hm-face img{display:block;width:100%;height:100%}
.hm-flat__item small{color:var(--hm-muted)}
.hm-flat__item[aria-pressed="true"]{border-color:var(--hm-accent);box-shadow:0 0 0 3px var(--hm-accent-soft)}
.hm-flat__item.is-new{border-style:dashed}.hm-flat__item.is-new i{background:var(--hm-accent-soft);color:var(--hm-accent)}
@media (max-width:640px){}
.hm-crowded .hm-label:not(.is-sel):not(.is-core) small{display:none}
.hm-crowded .hm-label:not(.is-core){padding:4px 8px 4px 4px;font-size:12px}
.hm-crowded .hm-label:not(.is-core) i{width:22px;height:22px;font-size:10px}
/* selecionado: sem contorno; fundo pleno, sombra azulada suave e um leve aumento */
.hm-label.is-sel{z-index:2;background:color-mix(in srgb,var(--hm-surface) 62%,transparent);box-shadow:0 6px 18px rgba(0,86,254,.12);transform:translate(-50%,-100%) scale(1.06)}

/* Cartão de ações ao lado do robô (hover; fixa com clique ou toque) */
.hm-pop{position:absolute;left:0;top:0;z-index:5;display:grid;gap:6px;width:230px;padding:12px;border:1px solid var(--hm-border);border-radius:16px;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);box-shadow:0 18px 44px rgba(20,40,90,.18);opacity:0;will-change:transform}
.hm-pop.is-in{animation:hm-pop-in .18s ease-out forwards}
@keyframes hm-pop-in{from{opacity:0;scale:.96}to{opacity:1;scale:1}}
.hm-pop__head{display:flex;align-items:center;gap:10px;padding:2px 2px 8px;border-bottom:1px solid var(--hm-border);margin-bottom:2px}
.hm-pop__head>i{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;color:#fff;font-size:14px}
.hm-pop__head strong{display:block;font-size:14px}
.hm-pop__head small{display:flex;align-items:center;gap:6px;color:var(--hm-muted);font-size:12px;font-weight:600}
.hm-pop__live{width:7px;height:7px;border-radius:50%;background:#17803d;box-shadow:0 0 0 0 rgba(23,128,61,.5);animation:hm-pulse 1.8s ease-out infinite}
@keyframes hm-pulse{70%{box-shadow:0 0 0 6px rgba(23,128,61,0)}100%{box-shadow:0 0 0 0 rgba(23,128,61,0)}}
.hm-pop__act{display:flex;align-items:center;gap:10px;height:40px;padding:0 12px;border:1px solid var(--hm-border);border-radius:11px;background:var(--hm-surface);color:var(--hm-text);text-decoration:none;font-size:13px;font-weight:700;transition:border-color .15s,background .15s}
.hm .hm-pop__act{color:var(--hm-text)}
.hm-pop__act>i:first-child{width:16px;text-align:center;color:var(--hm-accent)}
.hm-pop__act span{flex:1}
.hm-pop__go{font-size:11px;color:var(--hm-faint);transition:transform .15s}
.hm-pop__act:hover{border-color:var(--hm-accent)}.hm-pop__act:hover .hm-pop__go{transform:translateX(3px);color:var(--hm-accent)}
.hm .hm-pop__act.is-primary{background:var(--hm-accent);border-color:var(--hm-accent);color:#fff}
.hm-pop__act.is-primary>i,.hm-pop__act.is-primary .hm-pop__go{color:#fff}
.hm-flat__acts{display:flex;gap:6px;margin-top:4px}
.hm-flat__acts a{padding:6px 10px;border:1px solid var(--hm-border);border-radius:9px;font-size:12px;font-weight:700;text-decoration:none}

/* O conteúdo da página não fica escondido atrás do dock. */
.hm{padding-bottom:190px}

/* Seletor de empresa no Início: mesmo vidro da busca, sem rótulo (aparece com 2+ empresas). */
.hm-client[hidden]{display:none!important}
.hm-client{position:relative;display:flex;align-items:center;gap:8px;height:36px;padding:0 12px;border-radius:10px;color:var(--hm-faint);
  background:rgba(255,255,255,.5);-webkit-backdrop-filter:blur(14px) saturate(120%);backdrop-filter:blur(14px) saturate(120%);
  box-shadow:0 1px 2px rgba(16,24,40,.04),0 4px 14px rgba(16,24,40,.05);transition:background .2s,box-shadow .2s,color .2s}
.hm-client i{font-size:11.5px}
.hm-client::after{content:"";position:absolute;right:13px;top:50%;width:6px;height:6px;margin-top:-5px;pointer-events:none;
  border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .2s}
.hm .hm-client select{flex:1;min-width:0;height:100%;margin:0;padding:0 20px 0 0;border:0!important;outline:0!important;box-shadow:none!important;
  background:transparent;color:var(--hm-text);font:600 13px/1 "Quicksand",system-ui,sans-serif;cursor:pointer;
  text-overflow:ellipsis;-webkit-appearance:none;appearance:none}
.hm-client:hover{background:rgba(255,255,255,.65)}
.hm-client:focus-within{background:rgba(255,255,255,.9);color:var(--hm-accent);box-shadow:0 1px 2px rgba(16,24,40,.05),0 6px 20px rgba(0,86,254,.1)}
.hm-client:has(select:disabled){opacity:.6}
:root[data-theme="dark"] .hm-client{background:rgba(20,28,40,.35);box-shadow:0 4px 14px rgba(0,0,0,.2)}
:root[data-theme="dark"] .hm-client:hover{background:rgba(20,28,40,.5)}
:root[data-theme="dark"] .hm-client:focus-within{background:rgba(20,28,40,.7);box-shadow:0 6px 20px rgba(0,0,0,.3)}
:root[data-theme="dark"] .hm-client select option{background:#141c28;color:#e6ebf2}
@media (prefers-reduced-transparency:reduce){.hm-client{background:var(--hm-surface);-webkit-backdrop-filter:none;backdrop-filter:none}}

/* Celular: título menor, sem seletor de empresa; no cartão do agente só "Abrir demandas" (sem FLOW). */
@media (max-width:640px){
  .hm-hero h1{font-size:19px;line-height:1.35}
  .hm-kicker{font-size:12.5px}
  .hm-client{display:none!important}
  .hm .hm-flow-link{display:none!important}
}

/* world-humans.js: etiqueta das pessoas — foto ou iniciais, primeiro nome e o status */
/* Etiqueta do robô em fonte pixelada (Silkscreen, servida do projeto, licença OFL): lê como máquina, não como pessoa.
   Sem suavização, para o pixel ficar marcado. */
@font-face{font-family:"Silkscreen";font-style:normal;font-weight:700;font-display:swap;src:url("../assets/vendor/silkscreen/silkscreen-latin-700-normal.woff2") format("woff2")}
.hm-label:not(.hm-human):not(.hm-work):not(.is-core):not(.is-ghost){font-family:"Silkscreen",ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;-webkit-font-smoothing:none;font-smooth:never}
/* Da metade de trás da cena (world3d.js, placeLabels): sem etiqueta, com fade. Por filter: hm-fade prende a opacity. */
.hm-stage.is-3d .hm-label:not(.hm-work){transition:filter .25s ease,visibility 0s}
.hm-stage.is-3d .hm-label.is-behind{filter:opacity(0)!important;visibility:hidden;transition:filter .25s ease,visibility 0s .25s}
.hm-label.hm-human{z-index:0;gap:6px;padding:3px 9px 3px 3px;border-radius:999px;font-size:11px;opacity:.94}
.hm-label:not(.hm-human){z-index:2}
.hm-label.hm-human b{display:grid;place-items:center;width:20px;height:20px;overflow:hidden;border-radius:50%;background:#0056fe;color:#fff;font-size:9px;font-weight:800}
.hm-label.hm-human b img{width:100%;height:100%;object-fit:cover}
.hm-label.hm-human strong{display:block;font-size:11px;line-height:1.1}
.hm-label.hm-human i{flex:none;width:6px;height:6px;border-radius:50%}
.hm-label.hm-human small{display:flex;align-items:center;gap:4px;margin-top:1px;font-size:9.5px;line-height:1.1}
.hm-label.hm-human em{font-style:normal}
.hm-label.hm-human.is-you{box-shadow:0 0 0 2px #3d8bff}
/* cartão do trabalho ao passar o mouse na pessoa */
.hm-stage.is-3d .hm-label.hm-work{z-index:5}
.hm-label.hm-work{display:block;width:216px;padding:10px 12px;border-radius:12px;background:color-mix(in srgb,var(--hm-surface) 92%,transparent);box-shadow:0 10px 26px rgba(10,30,70,.16);font-size:12px;pointer-events:auto}
.hm-label.hm-work[hidden]{display:none}
.hm-work header{display:flex;align-items:center;gap:9px;margin-bottom:8px}
.hm-work header b{flex:none;display:grid;place-items:center;width:38px;height:38px;overflow:hidden;border-radius:50%;background:#0056fe;color:#fff;font-size:13px;font-weight:800}
.hm-work header b img{width:100%;height:100%;object-fit:cover}
.hm-work header span{min-width:0}
.hm-work header strong{display:block;overflow:hidden;font-size:13px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.hm-label.hm-work header small{margin-top:1px;overflow:hidden;font-size:11px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.hm-label.hm-work header small[hidden]{display:none}
.hm-work div{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:6px;padding:2px 0}
.hm-work__stars{color:#f5a623;font-size:12px;letter-spacing:1px}
.hm-work__stars u{color:color-mix(in srgb,var(--hm-muted) 35%,transparent);text-decoration:none}
.hm-work div b{text-align:right;font-variant-numeric:tabular-nums}
.hm-label.hm-work small{margin-top:5px;font-size:10.5px}
.hm-work button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:8px;padding:6px 10px;border:0;border-radius:8px;background:#0056fe;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.hm-work button:hover{background:#0047d4}
.hm-work button:disabled{opacity:.5;cursor:default}
.hm-work button i{display:inline;width:auto;height:auto;color:inherit;font-size:12px}
.hm-label.hm-human[hidden]{display:none}
/* Ajustar visão: só o dono do Eden (world3d.js) */
.hm-view-readout{position:absolute;left:50%;bottom:4px;transform:translateX(-50%);z-index:7;display:flex;align-items:center;gap:8px;color:var(--hm-muted);font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}
.hm-view-readout button{padding:2px 8px;border:0;border-radius:999px;background:color-mix(in srgb,var(--hm-surface) 70%,transparent);color:inherit;font:inherit;cursor:pointer}
.hm-view-readout button:hover{color:var(--hm-accent-ink)}
/* TESTE (?humanos=mock, world-flow.js): robô pedindo decisão */
.hm-stage.is-3d .hm-label.hm-help{z-index:6}
.hm-label.hm-help{display:flex;gap:7px;padding:5px 11px 5px 8px;border:0;border-radius:10px;background:#f5a623;color:#2b1c00;font:inherit;font-size:11px;box-shadow:0 6px 18px rgba(245,166,35,.4);text-align:left;cursor:pointer;pointer-events:auto}
.hm-label.hm-help[hidden]{display:none}
.hm-label.hm-help i{display:inline;width:auto;height:auto;color:inherit;font-size:13px}
.hm-label.hm-help strong{display:block;line-height:1.15}
.hm-label.hm-help small{color:inherit;font-size:10px;font-weight:600;opacity:.8}
.hm-work__settings{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:6px;color:var(--hm-muted);font-size:11px;font-weight:600;cursor:pointer}
.hm-work__settings:hover{color:var(--hm-accent-ink)}
.hm-work__settings[hidden]{display:none}
.hm-work__settings i{display:inline;width:auto;height:auto;color:inherit;font-size:11px}

/* Atalhos das laterais (shortcuts.js): coluna de blocos em cada canto e o tracejado "Criar atalho" no fim. Discretos
   (vidro, um pouco transparentes) para não brigar com o mundo 3D; ficam nítidos com o mouse. No celular, uma linha. */
.hm-sc{--hm-sc-w:184px;display:contents}
.hm-sc__col{position:fixed;top:clamp(118px,17vh,190px);z-index:30;display:flex;flex-direction:column;gap:8px;width:var(--hm-sc-w);
  max-height:calc(100dvh - clamp(118px,17vh,190px) - 150px);animation:hm-rise .7s .25s ease-out both}
.hm-sc__col--l{left:calc(var(--star-content-left-inset,58px) + 10px)}
.hm-sc__col--r{right:16px}
.hm-sc__item{position:relative;opacity:.8;transition:opacity .18s}
.hm-sc__col:hover .hm-sc__item,.hm-sc__item:focus-within{opacity:1}
.hm-sc__tile,.hm-sc__add{display:flex;align-items:center;gap:10px;width:100%;height:46px;padding:0 10px 0 7px;border:1px solid color-mix(in srgb,var(--hm-border) 80%,transparent);
  border-radius:14px;background:color-mix(in srgb,var(--hm-surface) 70%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  color:var(--hm-text);font:inherit;text-align:left;text-decoration:none;cursor:pointer;box-shadow:0 1px 2px rgba(16,24,40,.04);
  transition:border-color .15s,background .15s,box-shadow .15s,transform .15s}
.hm .hm-sc__tile{color:var(--hm-text)}
.hm-sc__tile:hover{border-color:color-mix(in srgb,var(--tone) 45%,var(--hm-border));background:var(--hm-surface);box-shadow:0 8px 20px -10px color-mix(in srgb,var(--tone) 55%,rgba(16,24,40,.3));transform:translateY(-1px)}
.hm-sc__icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;background:color-mix(in srgb,var(--tone,#0056fe) 13%,var(--hm-surface));color:var(--tone,#0056fe);font-size:14px}
.hm-sc__icon .star-ico,.hm-sc__icon svg{width:18px;height:18px}
.hm-sc__icon .star-ico{fill:currentColor}
.hm-sc__name{display:grid;min-width:0;line-height:1.2}
.hm-sc__name strong{overflow:hidden;font-size:13px;font-weight:700;white-space:nowrap;text-overflow:ellipsis}
.hm-sc__name small{overflow:hidden;color:var(--hm-faint);font-size:11px;font-weight:600;white-space:nowrap;text-overflow:ellipsis}
/* Levar para o outro lado e tirar: só com o botão direito sobre o bloco (classe is-menu). */
.hm-sc__tools{position:absolute;top:50%;right:6px;display:flex;gap:2px;transform:translateY(-50%);opacity:0;pointer-events:none;transition:opacity .15s}
.hm-sc__item.is-menu .hm-sc__tools{opacity:1;pointer-events:auto}
.hm-sc__item.is-menu .hm-sc__name{padding-right:52px}
.hm-sc__item.is-menu .hm-sc__tile{border-color:color-mix(in srgb,var(--tone) 45%,var(--hm-border));background:var(--hm-surface)}
.hm-sc__tool{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--hm-muted);cursor:pointer}
.hm-sc__tool svg{width:14px;height:14px}
.hm-sc__tool:hover:not(:disabled){background:color-mix(in srgb,var(--hm-text) 8%,transparent);color:var(--hm-text)}
.hm-sc__tool:disabled{opacity:.35;cursor:default}
/* "Criar atalho": área tracejada; mais apagada com a coluna vazia, para não chamar atenção sem uso. */
.hm-sc__add{--tone:var(--hm-accent);border:1.5px dashed color-mix(in srgb,var(--hm-accent) 35%,var(--hm-border));background:color-mix(in srgb,var(--hm-surface) 35%,transparent);color:var(--hm-muted);opacity:.7}
.hm-sc__add .hm-sc__icon{background:transparent;border:1.5px dashed color-mix(in srgb,var(--hm-accent) 40%,transparent)}
.hm-sc__col.is-empty .hm-sc__add{opacity:.45}
.hm-sc__add:hover,.hm-sc__add:focus-visible{opacity:1;border-color:var(--hm-accent);background:var(--hm-accent-soft);color:var(--hm-accent-ink)}
/* Telas médias: só o ícone, para o mundo continuar no meio. */
@media (min-width:641px) and (max-width:1180px){
  .hm-sc{--hm-sc-w:48px}
  .hm-sc__tile,.hm-sc__add{justify-content:center;padding:0}
  .hm-sc__name,.hm-sc__tools{display:none}
}
/* Celular: as colunas viram uma linha que rola na horizontal, no fim da página (acima do dock). */
@media (max-width:640px){
  .hm-sc{display:flex;gap:8px;margin:0 -4px;padding:2px 4px 6px;overflow-x:auto;scrollbar-width:none}
  .hm-sc::-webkit-scrollbar{display:none}
  .hm-sc__col{position:static;display:contents;animation:none}
  .hm-sc__item,.hm-sc__add{flex:0 0 auto;width:150px;opacity:1}
  .hm-sc__col--l .hm-sc__add{display:none}
  .hm-sc__tools{display:none}
}

/* Busca do "Criar atalho" (fica no body, fora do .hm: traz as próprias cores). */
.hm-sc-pick{--hm-surface:var(--ltrx-surface,#fff);--hm-text:#141c2b;--hm-muted:#5d6a7e;--hm-faint:#8b96a5;--hm-border:#e1e6ee;--hm-accent:#0056fe;--hm-accent-soft:#eaf1ff;--hm-accent-ink:#0040c4;
  position:fixed;z-index:1500;display:grid;gap:10px;max-height:min(460px,calc(100dvh - 24px));padding:12px;border:1px solid var(--hm-border);border-radius:16px;
  background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 18px 44px rgba(20,40,90,.18);
  color:var(--hm-text);font-family:"Quicksand",system-ui,sans-serif;line-height:1.4;animation:hm-pop-in .16s ease-out;box-sizing:border-box}
.hm-sc-pick *,.hm-sc-pick *::before,.hm-sc-pick *::after{box-sizing:border-box}
.hm-sc-pick[hidden],.hm-sc-pick [hidden]{display:none!important}
.hm-sc-pick__head{display:flex;align-items:center;justify-content:space-between;font-size:14px}
.hm-sc-pick__find{display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px;min-height:0}
.hm-sc-pick__search{display:flex;align-items:center;gap:8px;height:38px;padding:0 12px;border:1px solid var(--hm-border);border-radius:11px;background:var(--hm-surface);color:var(--hm-faint)}
.hm-sc-pick__search:focus-within{border-color:var(--hm-accent);box-shadow:0 0 0 3px var(--hm-accent-soft)}
.hm-sc-pick__search .star-ico{width:16px;height:16px;fill:currentColor}
.hm-sc-pick__search input{flex:1;min-width:0;height:100%;margin:0;padding:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent;color:var(--hm-text);font:inherit;font-size:13px}
.hm-sc-pick__list{display:grid;align-content:start;gap:2px;min-height:0;max-height:330px;overflow-y:auto;overscroll-behavior:contain}
.hm-sc-pick__title{margin:8px 4px 2px;color:var(--hm-faint);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.hm-sc-pick__empty{margin:10px 4px;color:var(--hm-muted);font-size:13px}
.hm-sc-pick__hit{display:flex;align-items:center;gap:10px;min-height:42px;padding:5px 8px;border-radius:10px;cursor:pointer}
.hm-sc-pick__hit .hm-sc__icon{flex-basis:28px;width:28px;height:28px;border-radius:8px}
.hm-sc-pick__hit .hm-sc__name{flex:1}
.hm-sc-pick__hit:hover,.hm-sc-pick__hit.is-active{background:var(--hm-accent-soft)}
.hm-sc-pick__hit[aria-disabled]{opacity:.55;cursor:default}
.hm-sc-pick__tag{flex:0 0 auto;color:var(--hm-faint);font-size:11px;font-style:normal;font-weight:700}
.hm-sc-pick__edit{display:grid;gap:12px}
.hm-sc-pick__preview{padding:12px;border-radius:12px;background:color-mix(in srgb,var(--hm-text) 4%,transparent)}
.hm-sc-pick__preview .hm-sc__item{opacity:1}
.hm-sc-pick__field{display:grid;gap:6px;font-size:12px;font-weight:700;color:var(--hm-muted)}
.hm-sc-pick__field input{height:38px;padding:0 12px;border:1px solid var(--hm-border);border-radius:11px;background:var(--hm-surface);color:var(--hm-text);font:inherit;font-size:13px;font-weight:600}
.hm-sc-pick__field input:focus{outline:0;border-color:var(--hm-accent);box-shadow:0 0 0 3px var(--hm-accent-soft)}
.hm-sc-pick__colors{display:flex;gap:8px}
.hm-sc-pick__color{width:24px;height:24px;padding:0;border:2px solid var(--hm-surface);border-radius:50%;background:var(--tone);box-shadow:0 0 0 1px var(--hm-border);cursor:pointer}
.hm-sc-pick__color[aria-checked="true"]{box-shadow:0 0 0 2px var(--tone)}
.hm-sc-pick__foot{display:flex;justify-content:flex-end;gap:8px}
.hm-sc-pick__btn{height:36px;padding:0 14px;border:1px solid var(--hm-border);border-radius:10px;background:var(--hm-surface);color:var(--hm-text);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.hm-sc-pick__btn.is-primary{border-color:var(--hm-accent);background:var(--hm-accent);color:#fff}
.hm-sc-pick__preview .hm-sc__tile{pointer-events:none}
/* Agente: rosto padrão do robô na cor dele (mesmo visor do mundo 3D). */
.hm-sc__icon--agent svg{width:22px!important;height:22px!important}
/* Telas médias (só ícone): o botão direito abre mover/tirar ao lado do bloco, para dentro da tela. */
@media (min-width:641px) and (max-width:1180px){
  .hm-sc__item.is-menu .hm-sc__tools{display:flex;right:auto;left:calc(100% + 6px);padding:3px;border:1px solid var(--hm-border);border-radius:10px;background:var(--hm-surface);box-shadow:0 8px 20px -8px rgba(16,24,40,.25)}
  .hm-sc__col--r .hm-sc__item.is-menu .hm-sc__tools{left:auto;right:calc(100% + 6px)}
  .hm-sc__item.is-menu .hm-sc__name{display:none}
}

/* Acabamento dos atalhos: sem bordas, só sombra. Bloco em vidro claro com sombra em camadas; o ícone é uma pastilha
   cheia na cor do atalho (degradê suave) com o símbolo em branco. O "Criar atalho" segue tracejado. */
.hm-sc__tile{border:0;background:color-mix(in srgb,var(--hm-surface) 82%,transparent);
  box-shadow:0 1px 2px rgba(16,24,40,.06),0 4px 12px -2px rgba(16,24,40,.08)}
.hm-sc__tile:hover,.hm-sc__item.is-menu .hm-sc__tile{border:0;background:var(--hm-surface);
  box-shadow:0 1px 2px rgba(16,24,40,.06),0 10px 24px -8px color-mix(in srgb,var(--tone) 38%,rgba(16,24,40,.22))}
.hm-sc__icon{background:linear-gradient(145deg,color-mix(in srgb,var(--tone,#0056fe) 82%,#fff) 0%,var(--tone,#0056fe) 100%);color:#fff;
  box-shadow:0 2px 6px -1px color-mix(in srgb,var(--tone,#0056fe) 45%,transparent),inset 0 1px 0 rgba(255,255,255,.22)}
.hm-sc__add .hm-sc__icon{background:transparent;color:var(--hm-accent);box-shadow:none}
.hm-sc__item.is-menu .hm-sc__tools{border:0}
@media (min-width:641px) and (max-width:1180px){
  .hm-sc__item.is-menu .hm-sc__tools{border:0;box-shadow:0 1px 2px rgba(16,24,40,.06),0 10px 24px -8px rgba(16,24,40,.25)}
}
