/* Tasks: the World line and Sort (2 Dec 2026, vx-tasks-sort.js). Colours come from the
   look (Light, Rich, Dark): the accent with its own ink, the surface and the text. */
.vxts-line{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:4px 0 14px;min-width:0}
.vxts-world{display:flex;align-items:center;gap:10px;flex:1 1 14rem;min-width:0}
.vxts-badge{flex:0 0 auto;display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;
  background:var(--v-accent,var(--accent,#0E67B3));color:var(--v-accent-ink,#fff)}
.vxts-badge svg{width:18px;height:18px}
#mainContent .vxts-name{margin:0;padding:0;font-size:1.15rem;line-height:1.3;font-weight:700;letter-spacing:0;
  color:var(--text,#243b4e);min-width:0;overflow-wrap:anywhere;word-break:normal;white-space:normal;
  text-overflow:clip;overflow:visible;-webkit-line-clamp:unset;display:block;border:0;background:none}
#mainContent .vxts-name::after,#mainContent .vxts-name::before{content:none}
.vxts-sort{position:relative;flex:0 1 auto;margin-left:auto;min-width:0;max-width:100%}
.vxts-btn{display:inline-flex;align-items:center;gap:7px;min-height:40px;max-width:100%;padding:7px 14px;border-radius:999px;
  border:1px solid var(--line,#dce5eb);background:var(--surface,#fff);color:var(--text,#243b4e);
  font:inherit;font-size:.92rem;font-weight:650;line-height:1.25;cursor:pointer;text-align:left;
  transition:background-color .45s cubic-bezier(.16,1,.3,1),color .45s cubic-bezier(.16,1,.3,1),border-color .45s cubic-bezier(.16,1,.3,1)}
.vxts-btn svg{flex:0 0 auto;width:16px;height:16px}
.vxts-btn svg:last-child{width:12px;height:12px;opacity:.8}
.vxts-word{white-space:normal;overflow-wrap:anywhere}
.vxts-btn:hover{border-color:var(--v-accent,var(--accent,#0E67B3))}
.vxts-btn:focus-visible,.vxts-item:focus-visible{outline:3px solid var(--v-accent,var(--accent,#0E67B3));outline-offset:2px}
.vxts-btn.on{background:var(--v-accent,var(--accent,#0E67B3));border-color:var(--v-accent,var(--accent,#0E67B3));color:var(--v-accent-ink,#fff)}
.vxts-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:60;min-width:220px;max-width:min(320px,calc(100vw - 32px));
  padding:6px;border-radius:14px;border:1px solid var(--line,#dce5eb);background:var(--surface,#fff);color:var(--text,#243b4e);
  box-shadow:0 14px 36px rgba(16,32,47,.18);opacity:0;transform:translateY(-4px);
  transition:opacity .5s cubic-bezier(.16,1,.3,1),transform .5s cubic-bezier(.16,1,.3,1)}
.vxts-menu.in{opacity:1;transform:none}
.vxts-menu[hidden]{display:none}
.vxts-item{display:flex;align-items:center;gap:10px;width:100%;min-height:42px;padding:9px 12px;border:0;border-radius:10px;
  background:none;color:inherit;font:inherit;font-size:.95rem;font-weight:550;text-align:left;cursor:pointer;line-height:1.3}
.vxts-item span{white-space:normal;overflow-wrap:anywhere}
.vxts-item svg{flex:0 0 auto;width:16px;height:16px;visibility:hidden;color:var(--v-accent,var(--accent,#0E67B3))}
.vxts-item[aria-checked="true"]{font-weight:700}
.vxts-item[aria-checked="true"] svg{visibility:visible}
.vxts-item:hover,.vxts-item:focus{background:var(--v-wash,var(--accent-soft,rgba(14,103,179,.1)))}
html[data-tone="dark"] .vxts-menu{box-shadow:0 14px 36px rgba(0,0,0,.45)}
html[data-tone="dark"] .vxts-item[aria-checked="true"] svg{color:var(--text,#e9eff5)}
.vxts-menu.from-left{left:0;right:auto}
@media (max-width:640px){
  .vxts-line{gap:10px}
  .vxts-world{flex-basis:8rem}
  #mainContent .vxts-name{font-size:1.08rem}
}
@media (prefers-reduced-motion:reduce){.vxts-btn,.vxts-menu{transition:none}}
/* the count line names the World ("Work · 21 of 34 tasks"): in the text colour, as the apps' list header */
#mainContent #taskResults{color:var(--text,#243b4e);font-weight:600;overflow-wrap:anywhere}
