/* V363: current approved Geist/mono shell only. No v1.2 theme or card redesign. */
html[data-live-shell-order="v363"] .live-shell-pilot,
html[data-live-shell-order="v363"] .lw-page > .live-shell-pilot {
  box-sizing:border-box;width:100%;max-width:none;margin:0 0 12px;padding:0;
  border:0;border-radius:0;background:transparent;color:var(--live-muted,#bfb5b6);
  font:400 11px/1.5 var(--live-font,"Geist Mono TRS",ui-monospace,monospace);
}
html[data-live-shell-order="v363"] .live-shell-pilot > summary {
  display:flex;align-items:center;gap:7px;min-height:44px;padding:0 4px;
  cursor:pointer;list-style:none;
}
html[data-live-shell-order="v363"] .live-shell-pilot > summary::-webkit-details-marker {display:none}
html[data-live-shell-order="v363"] .live-shell-pilot > summary::marker {content:""}
html[data-live-shell-order="v363"] .live-shell-pilot > summary strong {
  display:inline;font:inherit;color:inherit;
}
html[data-live-shell-order="v363"] .live-shell-pilot > summary svg {
  width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.4;
  stroke-linecap:round;stroke-linejoin:round;
}
html[data-live-shell-order="v363"] .live-shell-pilot[open] > summary svg {transform:rotate(90deg)}
html[data-live-shell-order="v363"] .live-shell-pilot > summary:focus-visible {
  outline:2px solid currentColor;outline-offset:2px;border-radius:8px;
}
html[data-live-shell-order="v363"] .live-shell-pilot > p {
  max-width:84ch;margin:0 0 12px;padding:0 4px 0 25px;font:inherit;line-height:1.6;
}
/* This exact anchor is emitted by the installed workout comparison entry. */
html[data-live-shell-order="v363"] .lw-page > .lw-compare-entry > a.lv5-button {
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:44px;max-width:100%;padding:10px 14px;border-radius:10px;
  border:1px solid color-mix(in srgb,currentColor 24%,transparent);
  color:var(--live-ink,#f5f1f1);background:var(--live-soft,rgba(255,255,255,.055));
  font:500 12px/1.5 var(--live-font,"Geist Mono TRS",ui-monospace,monospace);
  text-decoration:none;white-space:normal;overflow-wrap:anywhere;
}
html[data-live-shell-order="v363"] .lw-page > .lw-compare-entry > a.lv5-button:visited {color:var(--live-ink,#f5f1f1)}
html[data-live-shell-order="v363"] .lw-page > .lw-compare-entry > a.lv5-button:hover {
  border-color:currentColor;
}
html[data-live-shell-order="v363"] .lw-page > .lw-compare-entry > a.lv5-button:focus-visible {
  outline:2px solid currentColor;outline-offset:3px;
}
html[data-live-shell-order="v363"] .lw-page > .lw-compare-entry > a.lv5-button::before {
  content:"";width:18px;height:18px;flex:none;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h16m-4-4 4 4-4 4M20 16H4m4-4-4 4 4 4'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h16m-4-4 4 4-4 4M20 16H4m4-4-4 4 4 4'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* V367: the account's implicit auto grid track must not inherit the header's
   minimum content width. Controls stay visible; small screens may wrap actions. */
html[data-live-shell-order="v363"] #app.me {
  box-sizing:border-box;width:100%;min-width:0;grid-template-columns:minmax(0,1fr);
}
html[data-live-shell-order="v363"] #app.me > :is(header.top,nav.tabs,.live-shell-pilot) {
  box-sizing:border-box;min-width:0;max-width:100%;
}
html[data-live-shell-order="v363"] #app.me > nav.tabs {
  width:100%;
}
@media(max-width:600px) {
  html[data-live-shell-order="v363"] #app.me > header.top {
    flex-wrap:wrap;gap:6px;
  }
  html[data-live-shell-order="v363"] #app.me > header.top > .brand {
    flex:0 0 auto;
  }
  html[data-live-shell-order="v363"] #app.me > header.top > .acts {
    box-sizing:border-box;flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end;
    min-width:0;max-width:100%;gap:3px;margin-left:auto;
  }
  html[data-live-shell-order="v363"] #app.me > header.top > .acts > :is(a,button),
  html[data-live-shell-order="v363"] #app.me > header.top .live-inbox-trigger {
    box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
    flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;
    padding:0;border-radius:10px;
  }
  html[data-live-shell-order="v363"] #app.me > header.top > .acts > .live-inbox-slot {
    flex:0 0 44px;min-width:0;
  }
  html[data-live-shell-order="v363"] #app.me > header.top > .acts :is(.ic,.live-inbox-trigger svg) {
    width:18px;height:18px;flex:none;stroke-width:1.4;
  }
  html[data-live-shell-order="v363"] #app.me > header.top > .acts > [data-live-theme-group] {
    height:auto;min-height:44px;gap:0!important;padding:0!important;
  }
  /* Icon remains visible and its exact existing aria-label is preserved. */
  html[data-live-shell-order="v363"] #app.me > header.top > .acts > button[data-act="logout"] > .t {
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;border:0;
    clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;
  }
}
