.qa-alerts{position:fixed;right:1rem;bottom:1rem;z-index:60;display:grid;gap:.6rem;width:min(24rem,calc(100vw - 2rem));pointer-events:none}.qa-alerts:empty{display:none}.qa-alert{--qa-alert-tone:var(--danger);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.65rem;align-items:start;padding:.75rem .8rem;border:1px solid var(--border-tile);border-left:3px solid var(--qa-alert-tone);border-radius:.6rem;background:var(--layer-1);box-shadow:var(--shadow-hard);pointer-events:auto;animation:qa-alert-in .18s ease-out}.qa-alert[data-event="qa.item.blocked"]{--qa-alert-tone:var(--accent-rose)}.qa-alert[data-event="qa.item.returned_to_dev"]{--qa-alert-tone:var(--warning)}.qa-alert__icon{margin-top:.1rem;color:var(--qa-alert-tone)}.qa-alert__body{display:grid;gap:.25rem;min-width:0}.qa-alert__title{margin:0;color:var(--text-primary);font-size:.84rem;font-weight:650;line-height:1.35}.qa-alert__text{display:-webkit-box;overflow:hidden;margin:0;color:var(--text-secondary);font-size:.78rem;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:3}.qa-alert__open{justify-self:start;margin-top:.15rem;color:var(--brand);font-size:.78rem;font-weight:600;text-decoration:none}.qa-alert__open:hover{text-decoration:underline}.qa-alert__dismiss{display:inline-grid;width:1.6rem;height:1.6rem;padding:0;border:0;border-radius:.4rem;background:none;color:var(--text-muted);cursor:pointer;place-items:center}.qa-alert__dismiss:hover{background:var(--layer-2-hover);color:var(--text-primary)}:is(.qa-alert__open,.qa-alert__dismiss):focus-visible{outline:2px solid var(--brand);outline-offset:2px}@keyframes qa-alert-in{0%{opacity:0;transform:translateY(.5rem)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.qa-alert{animation:none}}.hier-header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.5rem}.hier-header-titles{display:flex;flex-direction:column;gap:.4rem;min-width:0}.hier-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin:0;font-size:.78rem;color:var(--text-muted)}.hier-breadcrumb a{color:var(--text-secondary);text-decoration:none;transition:color .18s ease}.hier-breadcrumb a:hover{color:var(--text-primary)}.hier-breadcrumb-sep{opacity:.5}.hier-title{margin:0;font-family:var(--font-dash-display),Outfit,sans-serif;font-size:clamp(1.35rem,2.3vw,1.9rem);font-weight:700;color:var(--text-primary);line-height:1.15}.hier-subtitle{margin:0;font-size:clamp(.82rem,1.1vw,.92rem);color:var(--text-secondary);max-width:60ch}.hier-header-actions{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}.hier-subnav{display:flex;flex-wrap:wrap;gap:.25rem;padding:.25rem;background:var(--bg-frost);border:1px solid var(--border-soft);border-radius:.6rem;width:fit-content;max-width:100%;margin-bottom:.5rem}.hier-subnav-link{position:relative;display:inline-flex;align-items:center;gap:.4rem;padding:.42rem .95rem;border-radius:.42rem;font-size:.82rem;font-weight:600;color:var(--text-secondary);text-decoration:none;transition:color .18s ease,background .18s ease;white-space:nowrap}button.hier-subnav-link{background:none;border:none;font:inherit;cursor:pointer}.hier-subnav-link:hover{color:var(--text-primary)}.hier-subnav-link[aria-current=page]{color:var(--text-primary);background:var(--accent-indigo-light);border:1px solid var(--accent-indigo-glow)}.hier-section-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.9rem}.hier-section-head-left{display:flex;align-items:center;gap:.6rem;min-width:0}.hier-section-title{margin:0;font-size:clamp(.95rem,1.4vw,1.1rem);font-weight:700;color:var(--text-primary)}.hier-count-chip{display:inline-flex;align-items:center;padding:.1rem .5rem;border-radius:var(--radius-pill);font-size:.7rem;font-weight:700;color:var(--text-secondary);background:var(--bg-frost);border:1px solid var(--border-soft)}.hier-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.hier-card{display:flex;flex-direction:column;gap:.7rem;height:100%;padding:1.15rem 1.25rem;border-radius:.9rem;background:var(--bg-surface);border:1px solid var(--border-layer);box-shadow:var(--shadow-soft);text-decoration:none;color:inherit;transition:border-color .18s ease,transform .18s ease}a.hier-card:hover{border-color:var(--accent-indigo-glow);transform:translateY(-2px)}.hier-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:.6rem}.hier-card-name{margin:0;font-size:1rem;font-weight:700;color:var(--text-primary);overflow-wrap:anywhere}.hier-card-desc{margin:0;font-size:.82rem;color:var(--text-secondary);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hier-card-meta{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin-top:auto;padding-top:.55rem;border-top:1px solid var(--border-subtle);font-size:.74rem;color:var(--text-muted)}.hier-card-meta strong{color:var(--text-secondary);font-weight:700}.hier-panel{background:var(--bg-surface);border:1px solid var(--border-layer);border-radius:.9rem;box-shadow:var(--shadow-soft);overflow:hidden}.hier-row{display:flex;align-items:center;gap:.85rem;padding:.85rem 1.1rem;border-bottom:1px solid var(--border-subtle)}.hier-row:last-child{border-bottom:none}.hier-row-identity{display:flex;align-items:center;gap:.7rem;min-width:0;flex:1 1 auto}.hier-avatar{width:34px;height:34px;border-radius:50%;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;background:var(--accent-indigo-light);border:1px solid var(--accent-indigo-glow);color:var(--accent-indigo);font-weight:700;font-size:.85rem;overflow:hidden}.hier-avatar img{width:100%;height:100%;object-fit:cover}.hier-row-name{display:flex;flex-direction:column;gap:.1rem;min-width:0}.hier-row-name strong{font-size:.9rem;font-weight:700;color:var(--text-primary)}.hier-row-name span,.hier-row-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hier-row-name span{font-size:.76rem;color:var(--text-muted)}.hier-row-actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end}.hier-badge{display:inline-flex;align-items:center;gap:.3rem;font-size:.66rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:.14rem .5rem;border-radius:var(--radius-pill);border:1px solid transparent;white-space:nowrap}.hier-badge-dot{width:6px;height:6px;border-radius:50%;background:currentcolor;flex-shrink:0}.hier-badge--success{color:var(--success);background:var(--accent-emerald-light);border-color:rgba(16,185,129,.25)}.hier-badge--warning{color:var(--accent-amber);background:var(--accent-amber-light);border-color:var(--border-amber)}.hier-badge--danger{color:var(--danger);background:var(--accent-rose-light);border-color:rgba(244,63,94,.3)}.hier-badge--muted{color:var(--text-muted);background:var(--bg-frost);border-color:var(--border-soft)}.hier-badge--brand{color:var(--accent-indigo);background:var(--accent-indigo-light);border-color:var(--accent-indigo-glow)}.hier-alert{display:flex;align-items:flex-start;gap:.75rem;padding:.9rem 1.1rem;border-radius:.8rem;background:var(--accent-rose-light);border:1px solid rgba(244,63,94,.35);color:var(--text-primary)}.hier-alert-icon{flex-shrink:0;color:var(--danger);margin-top:.1rem}.hier-alert-body{display:flex;flex-direction:column;gap:.2rem;min-width:0}.hier-alert-title{margin:0;font-size:.88rem;font-weight:700;color:var(--danger)}.hier-alert-text{margin:0;font-size:.8rem;color:var(--text-secondary);line-height:1.5}.hier-tree-node{border:1px solid var(--border-layer);border-radius:.85rem;background:var(--bg-surface);overflow:hidden}.hier-tree-node+.hier-tree-node{margin-top:.85rem}.hier-tree-head{display:flex;align-items:center;gap:.7rem;padding:.9rem 1.1rem;background:var(--bg-frost);border-bottom:1px solid var(--border-subtle)}.hier-tree-head-main{display:flex;flex-direction:column;gap:.15rem;min-width:0;flex:1 1 auto}.hier-tree-children{display:flex;flex-direction:column}.hier-tree-leaf{display:flex;align-items:center;gap:.7rem;padding:.7rem 1.1rem .7rem 1.6rem;border-bottom:1px solid var(--border-subtle);text-decoration:none;color:inherit;transition:background .16s ease}.hier-tree-leaf:last-child{border-bottom:none}.hier-tree-leaf:hover{background:var(--bg-frost)}.hier-tree-leaf-name{font-size:.86rem;font-weight:600;color:var(--text-primary);flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hier-tree-empty{padding:.9rem 1.1rem .9rem 1.6rem;font-size:.8rem;color:var(--text-muted)}.hier-state{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.75rem;padding:clamp(2.5rem,6vw,4rem) 1.5rem;background:var(--bg-surface);border:1px dashed var(--border-strong);border-radius:.9rem}.hier-state-icon{width:46px;height:46px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:var(--bg-frost);border:1px solid var(--border-soft);color:var(--text-secondary)}.hier-state-icon--danger{color:var(--danger);background:var(--accent-rose-light);border-color:rgba(244,63,94,.3)}.hier-state-title{margin:0;font-size:1rem;font-weight:700;color:var(--text-primary)}.hier-state-text{margin:0;font-size:.85rem;color:var(--text-secondary);max-width:44ch}.hier-skeleton{border-radius:.9rem;background:var(--bg-elevated);animation:state-pulse 1.5s infinite}.hier-dialog-backdrop{position:fixed;inset:0;z-index:400;display:flex;align-items:center;justify-content:center;padding:1.25rem;background:rgba(6,6,10,.72)}.hier-dialog{will-change:transform,opacity;width:100%;max-width:440px;max-height:calc(100dvh - 3rem);overflow-y:auto;background:var(--bg-elevated);border:1px solid var(--border-layer);border-radius:1rem;box-shadow:var(--shadow-hard);padding:1.4rem 1.5rem}.hier-dialog-title{margin:0 0 .35rem;font-size:1.1rem;font-weight:700;color:var(--text-primary)}.hier-dialog-desc{margin:0 0 1.1rem;font-size:.83rem;color:var(--text-secondary);line-height:1.5}.hier-field{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.95rem}.hier-field-label{font-size:.78rem;font-weight:600;color:var(--text-secondary)}.hier-field-hint{font-size:.72rem;color:var(--text-muted)}.hier-input,.hier-select,.hier-textarea{width:100%;font:inherit;font-size:.88rem;color:var(--text-primary);background:var(--bg-soft);border:1px solid var(--border-strong);border-radius:.55rem;padding:.55rem .7rem;transition:border-color .16s ease,box-shadow .16s ease}.hier-textarea{min-height:4.5rem;resize:vertical}.hier-input:focus-visible,.hier-select:focus-visible,.hier-textarea:focus-visible{outline:none;border-color:var(--accent-indigo);box-shadow:0 0 0 3px var(--accent-indigo-light)}.hier-dialog-actions{display:flex;justify-content:flex-end;gap:.7rem;margin-top:1.3rem}.hier-dialog--wide{display:flex;flex-direction:column;max-width:min(1100px,94vw);max-height:calc(100dvh - 2.5rem);overflow:hidden;padding:0}.hier-dialog--wide>.hier-dialog-title{flex:none;margin:0;padding:1.1rem 1.5rem .95rem;border-bottom:1px solid var(--border-layer)}.hier-dialog-form{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}.hier-dialog-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:1rem 1.5rem 1.25rem}.hier-dialog-footer{flex:none;padding:.8rem 1.5rem .95rem;border-top:1px solid var(--border-layer);background:var(--bg-elevated)}.hier-dialog-footer>.hier-dialog-actions{margin-top:.6rem}.hier-dialog--wide .ghost-button,.hier-dialog--wide .primary-button{min-height:2.25rem;padding:.45rem 1rem;border-radius:.55rem;font-size:.82rem;font-weight:600;letter-spacing:0}.hier-dialog--wide .ghost-button{border-color:var(--border-control)}.hier-dialog-footer>.hier-dialog-actions:first-child{margin-top:0}@media (max-height:560px){.hier-dialog-backdrop--wide{padding:.5rem}.hier-dialog--wide{max-height:calc(100dvh - 1rem)}.hier-dialog--wide>.hier-dialog-title{padding-block:.7rem .6rem}.hier-dialog-footer{padding-block:.55rem .65rem}}@media (max-width:560px){.hier-dialog-backdrop--wide{align-items:stretch;padding:0}.hier-dialog--wide{max-width:none;height:100dvh;max-height:100dvh;border:0;border-radius:0}.hier-dialog--wide>.hier-dialog-title,.hier-dialog-body,.hier-dialog-footer{padding-inline:1rem}.hier-dialog-footer{padding-bottom:max(.95rem,env(safe-area-inset-bottom))}}.invite-results{margin-top:.4rem;display:flex;flex-direction:column;max-height:15rem;overflow-y:auto;overscroll-behavior:contain;background:var(--bg-surface);border:1px solid var(--border-layer);border-radius:.7rem;box-shadow:var(--shadow-soft);scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}.invite-results::-webkit-scrollbar{width:.4rem}.invite-results::-webkit-scrollbar-thumb{border-radius:999px;background:var(--border-strong)}.invite-result{display:flex;align-items:center;gap:.7rem;width:100%;padding:.6rem .75rem;border:none;border-bottom:1px solid var(--border-subtle);background:transparent;text-align:left;cursor:pointer;transition:background .14s ease}.invite-result:last-child{border-bottom:none}.invite-result:focus-visible,.invite-result:hover:not(:disabled){background:var(--accent-indigo-light);outline:none}.invite-result:disabled{cursor:not-allowed;opacity:.55}.invite-result__meta,.invite-selected__meta{display:flex;flex-direction:column;gap:.1rem;min-width:0;flex:1 1 auto}.invite-result__meta strong,.invite-selected__meta strong{font-size:.88rem;font-weight:700;color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.invite-result__meta span,.invite-selected__meta span{font-size:.75rem;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.invite-result__flag{flex-shrink:0;font-size:.64rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:.12rem .45rem;border-radius:var(--radius-pill);color:var(--text-muted);background:var(--bg-soft);border:1px solid var(--border-strong)}.invite-selected{display:flex;align-items:center;gap:.7rem;padding:.6rem .7rem;border:1px solid var(--accent-indigo-glow);border-radius:.7rem;background:var(--accent-indigo-light)}.invite-selected__clear{flex-shrink:0;font:inherit;font-size:.76rem;font-weight:600;color:var(--accent-indigo);background:transparent;border:1px solid var(--accent-indigo-glow);border-radius:.5rem;padding:.32rem .7rem;cursor:pointer;transition:background .14s ease}.invite-selected__clear:focus-visible,.invite-selected__clear:hover{background:var(--bg-surface);outline:none}.hier-inline-form{display:flex;flex-wrap:wrap;gap:.6rem;align-items:flex-end}.hier-inline-form .hier-field{margin-bottom:0;flex:1 1 160px}.hier-btn-danger{display:inline-flex;align-items:center;gap:.4rem;font:inherit;font-size:.8rem;font-weight:600;padding:.4rem .85rem;min-height:2.1rem;border-radius:.55rem;cursor:pointer;color:var(--danger);background:var(--accent-rose-light);border:1px solid rgba(244,63,94,.3);transition:background .16s ease,border-color .16s ease}.hier-btn-danger:hover:not(:disabled){background:rgba(244,63,94,.16)}.hier-btn-danger:disabled{opacity:.5;cursor:not-allowed}.hier-btn-sm{display:inline-flex;align-items:center;gap:.4rem;font:inherit;font-size:.8rem;font-weight:600;padding:.4rem .85rem;min-height:2.1rem;border-radius:.55rem;cursor:pointer;color:var(--text-secondary);background:var(--bg-frost);border:1px solid var(--border-soft);transition:color .16s ease,border-color .16s ease}.hier-btn-sm:hover:not(:disabled){color:var(--text-primary);border-color:var(--border-strong)}.hier-btn-sm:disabled{opacity:.5;cursor:not-allowed}.hier-btn-danger:focus-visible,.hier-btn-sm:focus-visible,.hier-subnav-link:focus-visible{outline:2px solid var(--accent-indigo);outline-offset:2px}.hier-activity-filters{display:flex;flex-wrap:wrap;gap:.6rem;align-items:flex-end;padding:1rem 1.1rem;background:var(--bg-surface);border:1px solid var(--border-layer);border-radius:.9rem;margin-bottom:1rem}.hier-activity-filters .hier-field{margin-bottom:0;min-width:140px}.hier-activity-item{display:flex;gap:.85rem;padding:.85rem 1.1rem;border-bottom:1px solid var(--border-subtle)}.hier-activity-item:last-child{border-bottom:none}.hier-activity-rail{display:flex;flex-direction:column;align-items:center;flex-shrink:0;padding-top:.2rem}.hier-activity-dot{width:9px;height:9px;border-radius:50%;background:var(--accent-indigo);flex-shrink:0}.hier-activity-body{display:flex;flex-direction:column;gap:.25rem;min-width:0;flex:1 1 auto}.hier-activity-msg{margin:0;font-size:.86rem;color:var(--text-primary);line-height:1.45}.hier-activity-meta{display:flex;flex-wrap:wrap;gap:.35rem .7rem;font-size:.73rem;color:var(--text-muted)}.hier-comingsoon{display:flex;align-items:center;gap:.6rem;padding:.7rem 1rem;border-radius:.7rem;background:var(--bg-frost);border:1px dashed var(--border-strong);font-size:.82rem;color:var(--text-muted)}.hier-stat-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1px;background:var(--border-subtle);border:1px solid var(--border-layer);border-radius:.9rem;overflow:hidden}.hier-stat{display:flex;flex-direction:column;gap:.15rem;padding:.7rem .9rem;background:var(--bg-surface)}.hier-stat-num{font-family:var(--font-dash-display),Outfit,sans-serif;font-size:1.2rem;font-weight:700;color:var(--text-primary);line-height:1}.hier-stat-label{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}@media (max-width:640px){.hier-row{flex-wrap:wrap}.hier-row-actions{width:100%;justify-content:flex-start}}.team-switcher--picker{position:relative}.team-switcher-trigger{display:inline-flex;align-items:center;gap:.5rem;min-width:11rem;max-width:16rem;padding:.4rem .6rem .4rem .7rem;border:1px solid var(--border);border-radius:.55rem;background:var(--bg-elevated);color:var(--text-primary);font:inherit;font-size:.86rem;font-weight:700;letter-spacing:-.01em;line-height:1.35;cursor:pointer;transition:border-color .14s ease,background-color .14s ease}.team-switcher-trigger:hover,.team-switcher-trigger[aria-expanded=true]{border-color:var(--border-brand)}.team-switcher-trigger:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.team-switcher-create{min-width:0;border-style:dashed;border-color:var(--border-brand);background:transparent;color:var(--brand)}.team-switcher-create:hover{background:var(--bg-elevated)}.team-switcher-trigger-label{flex:1;min-width:0;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.team-switcher-chevron{flex-shrink:0;color:var(--text-muted);transition:transform .18s cubic-bezier(.16,1,.3,1)}.team-switcher-trigger[aria-expanded=true] .team-switcher-chevron{color:var(--text-primary);transform:rotate(180deg)}.team-switcher-panel{position:absolute;top:calc(100% + .4rem);left:0;z-index:120;width:max-content;min-width:100%;max-width:min(20rem,calc(100vw - 1rem));padding:.35rem;border:1px solid var(--border-layer);border-radius:10px;background:var(--layer-1);box-shadow:var(--shadow-card);translate:var(--team-switcher-shift,0) 0;transform-origin:top left;animation:team-switcher-in .16s cubic-bezier(.16,1,.3,1)}@keyframes team-switcher-in{0%{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}.team-switcher-listbox{display:grid;grid-template-columns:minmax(0,1fr);gap:.1rem;max-height:18.5rem;overflow:hidden auto;overscroll-behavior:contain}.team-switcher-heading-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding-right:.15rem}.team-switcher-group-label{padding:.4rem .6rem .2rem;color:var(--text-secondary);font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;user-select:none}.team-switcher-add{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:1.6rem;height:1.6rem;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--text-secondary);cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.team-switcher-add:hover{border-color:var(--border-tile);background:var(--layer-2);color:var(--brand)}.team-switcher-add:focus-visible{outline:2px solid var(--brand);outline-offset:1px}.team-switcher-option{display:flex;align-items:center;gap:.6rem;width:100%;min-height:2.1rem;padding:.45rem .6rem;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--text-secondary);font:inherit;font-size:.86rem;font-weight:600;text-align:left;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.team-switcher-option.is-active,.team-switcher-option:hover{border-color:var(--border-tile);background:var(--layer-2);color:var(--text-primary)}.team-switcher-option:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}.team-switcher-option.is-selected{color:var(--text-primary);font-weight:700}.team-switcher-option-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-switcher-option-check{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:1rem;color:var(--brand)}@media (prefers-reduced-motion:reduce){.team-switcher-panel{animation:none}.team-switcher-add,.team-switcher-chevron,.team-switcher-option,.team-switcher-trigger{transition:none}}