/* DEC468: words and help. Loads after orb-shell.css; every rule is scoped to body.orb-shell so the legacy layout is
 * untouched when the shell does not mount. Styles the ? marks orb-help.js places, hides text it moved behind them,
 * and keeps the two status lines to one line each. */
/* The ? mark: a 36 px hit area (44 on phones) around a 28 px disc drawn by ::before. The glyph is ::after — never a text
 * node — because orb-shell.js and orb-object-pill.js find <details> by summary.textContent. orb-shell-polish.css draws the
 * same disc on ::before with !important force; either stylesheet alone renders the mark the same way. */
body.orb-shell .orb-help-mark{position:relative;isolation:isolate;flex:none;width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--orb-ink-2);font:inherit;font-size:13px;font-weight:700;line-height:1;cursor:pointer;display:inline-grid;place-items:center;vertical-align:middle;box-shadow:none}
body.orb-shell .orb-help-mark::before{content:"";position:absolute;z-index:-1;left:50%;top:50%;width:28px;height:28px;margin:-14px 0 0 -14px;border-radius:50%;background:var(--orb-chip)}
body.orb-shell .orb-help-mark::after{content:"?"}
body.orb-shell .orb-help-mark:hover{color:var(--orb-ink)}
body.orb-shell .orb-help-mark[aria-expanded="true"]{color:var(--orb-accent-ink)}
body.orb-shell .orb-help-mark[aria-expanded="true"]::before{background:var(--orb-accent)}
body.orb-shell .orb-help-mark:focus-visible{outline:2px solid var(--orb-accent);outline-offset:2px}
@media(max-width:800px),(max-height:500px) and (max-width:1000px){body.orb-shell .orb-help-mark{width:var(--orb-tap);height:var(--orb-tap);min-width:var(--orb-tap);min-height:var(--orb-tap)}}
/* Toolbar and panel buttons carry their own !important looks (canvas-workspace.css, orb-shell-polish.css); the mark keeps its own with matching force. */
body.orb-shell #canvasConversation .orb-page-toolbar button.orb-help-mark,body.orb-shell .orb-page-toolbar button.orb-help-mark{margin-left:auto;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:var(--orb-ink-2)!important;font-size:13px!important;line-height:1!important;box-shadow:none!important}
body.orb-shell #canvasConversation .orb-page-toolbar button.orb-help-mark[aria-expanded="true"],body.orb-shell .orb-page-toolbar button.orb-help-mark[aria-expanded="true"]{color:var(--orb-accent-ink)!important}
body.orb-shell #canvasConversation .orb-page-toolbar button.orb-help-mark:hover,body.orb-shell .orb-page-toolbar button.orb-help-mark:hover{color:var(--orb-ink)!important;filter:none}
body.orb-shell #canvasConversation #assemblyPanel button.orb-help-mark,body.orb-shell #canvasConversation #engineeringPanel button.orb-help-mark,body.orb-shell #assemblyPanel button.orb-help-mark,body.orb-shell #engineeringPanel button.orb-help-mark{padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:var(--orb-ink-2)!important;font-size:13px!important;line-height:1!important;box-shadow:none!important;filter:none}
body.orb-shell #canvasConversation #assemblyPanel button.orb-help-mark[aria-expanded="true"],body.orb-shell #canvasConversation #engineeringPanel button.orb-help-mark[aria-expanded="true"],body.orb-shell #assemblyPanel button.orb-help-mark[aria-expanded="true"],body.orb-shell #engineeringPanel button.orb-help-mark[aria-expanded="true"]{color:var(--orb-accent-ink)!important}
body.orb-shell #canvasConversation #assemblyPanel button.orb-help-mark:hover,body.orb-shell #canvasConversation #engineeringPanel button.orb-help-mark:hover,body.orb-shell #assemblyPanel button.orb-help-mark:hover,body.orb-shell #engineeringPanel button.orb-help-mark:hover{color:var(--orb-ink)!important;filter:none}
/* Inside a summary the mark sits before the chevron. */
body.orb-shell #assemblyPanel details>summary .orb-help-mark,body.orb-shell #engineeringPanel details>summary .orb-help-mark,body.orb-shell #composerAttachments summary .orb-help-mark{margin-left:auto}
body.orb-shell #assemblyPanel details>summary:has(.orb-help-mark)::after,body.orb-shell #engineeringPanel details>summary:has(.orb-help-mark)::after{margin-left:8px}
/* Inline after a one-line paragraph. */
body.orb-shell .orb-help-inline{margin:-8px 0 -8px 2px}
/* Text moved behind a mark. */
body.orb-shell [data-orb-help][hidden]{display:none!important}
body.orb-shell #canvasWelcome .ow-eyebrow{display:none!important}
body.orb-shell #canvasWelcome>p{margin:4px 0 12px}
body.orb-shell #canvasWelcome .review-starters button span{display:block;font-size:12px;color:var(--orb-ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* The update banner is a toast now. */
body.orb-shell #orbBuildNotice{display:none!important}
/* Status lines: one line each, the full text on hover. */
body.orb-shell #owAtlasStatus[data-orb-full]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:100%}
body.orb-shell #worldTerrainStatus{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
body.orb-shell #worldTerrainStatus.orb-status-error{border-color:var(--orb-danger)}
/* Attachments: a flex summary so the mark can sit at the right; the details itself hides until something is attached. */
body.orb-shell #composerAttachments summary{display:flex;align-items:center;gap:8px;min-height:32px}
body.orb-shell #composerAttachments details[hidden]{display:none!important}
body.orb-shell #composerAttachments summary::after{content:'›';margin-left:6px;color:var(--orb-ink-3);display:inline-block;transition:transform .2s ease}
body.orb-shell #composerAttachments details[open] summary::after{transform:rotate(90deg)}
