/* Mandali shell · status strip (Phase 2 Drop A). Operate mode: calm, no decorative motion. */
.msh { display: flex; align-items: center; gap: 6px; min-width: 0; flex: none; }
.msh :where(button) { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.msh-p { display: none; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line) !important;
  font-size: 12.5px; white-space: nowrap; color: var(--text); transition: background-color 160ms ease, transform 120ms cubic-bezier(.23,1,.32,1); }
.msh-p b { font-weight: 600; }
.msh-p span { color: var(--muted); font-family: var(--mono, "JetBrains Mono", monospace); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.msh-p:active, .msh-dot:active { transform: scale(.97); }
.msh i, .msh-row i { display: block; width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--muted); }
.msh-ok i { background: var(--ok, #2BB673); }
.msh-warn i { background: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); }
.msh-warn.msh-p { border-color: color-mix(in srgb, var(--gold) 45%, var(--line)) !important; }
.msh-off i { background: var(--muted); }
/* phone: the dot sits on the logo's corner, so the crowded header loses no width; 36px tap area */
.msh-dot { position: absolute; left: 24px; top: 50%; margin-top: -2px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; z-index: 1; }
.msh-dot i { width: 10px; height: 10px; box-shadow: 0 0 0 2px var(--ink) !important; }
@media (max-width: 1099.98px) { .msh { flex: 0 0 0; width: 0; gap: 0; overflow: visible; } }
@media (hover: hover) and (pointer: fine) { .msh-p:hover { background: color-mix(in srgb, var(--raise, #152038) 70%, transparent); } }

/* monitor: pills in the header; phone and iPad keep the single dot (the iPad header has no room for pills) */
@media (min-width: 1100px) {
  .msh { margin-right: 8px; }
  .msh-p { display: inline-flex; }
  .msh-dot { display: none; }
}
@media (min-width: 1100px) and (max-width: 1299.98px) { .msh-p span { display: none; } }

/* details sheet */
.msh-row { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); }
.msh-row i { margin-top: 7px; }
.msh-row b { display: block; font-weight: 600; color: var(--text); }
.msh-row span { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; }
.msh-h { margin: 18px 0 2px; font: 600 11.5px/1.2 var(--mono, "JetBrains Mono", monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.msh-go { margin-top: 14px; }
.msh-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }

/* palette: dictionary rows and recent chips */
.aj-term { display: block; width: 100%; text-align: left; padding: 10px 12px; margin: 2px 0; border-radius: 10px; border: 0; background: none; color: var(--text); font: inherit; }
.aj-term b { display: block; font-weight: 600; }
.aj-term span { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; line-height: 1.45; }
button.aj-term { cursor: pointer; touch-action: manipulation; }
@media (hover: hover) and (pointer: fine) { button.aj-term:hover { background: color-mix(in srgb, var(--raise, #152038) 70%, transparent); } }
.aj-rec { margin: 4px 0 8px; }
[data-gita] { cursor: pointer; }
