/* Aplicația: meniul complet. Doar în aplicație (html[data-app]), pe telefon; pe site totul rămâne cum era. */
.ma-sheet { display: none; }
.ma-jump { display: none; }
html[data-app] .ma-jump, .ma-jump.ma-web { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.ma-jump a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line, #d9dee5); background: var(--paper, #fff); color: var(--ink, #18202b);
  font-size: .9rem; font-weight: 600; text-decoration: none;
}
.ma-jump a:hover { border-color: var(--ink-2, #4a5563); }
.ma-jump a[data-ma-ask] { background: var(--ink, #18202b); color: var(--paper, #fff); border-color: var(--ink, #18202b); }
.ma-jump svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 759px) {
  html[data-app] .ma-sheet.is-open, html[data-app] .ma-sheet:target { display: block; position: fixed; inset: 0; z-index: 30; }
  html.ma-locked, html.ma-locked body { overflow: hidden; }
  .ma-backdrop { position: absolute; inset: 0; background: rgba(10, 14, 20, .45); }
  .ma-panel {
    position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; max-height: 86dvh; overflow-y: auto; overscroll-behavior: contain;
    background: var(--paper, #fff); color: var(--ink, #18202b); border-radius: 16px 16px 0 0; box-shadow: 0 -8px 30px rgba(0, 0, 0, .2);
    padding: 6px max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    animation: ma-up .18s ease-out;
  }
  @keyframes ma-up { from { transform: translateY(24px); } to { transform: none; } }
  @media (prefers-reduced-motion: reduce) { .ma-panel { animation: none; } }
  .ma-head { position: sticky; top: -6px; display: flex; align-items: center; justify-content: space-between; padding: 8px 0;
    background: var(--paper, #fff); z-index: 1; }
  .ma-title { margin: 0; font-size: 1.15rem; font-weight: 700; }
  .ma-close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2, #4a5563); }
  .ma-close:hover { background: var(--wash, #f1f3f6); }
  .ma-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .ma-group { margin: 6px 0 14px; }
  .ma-label { margin: 0 0 2px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3, #6b7685); }
  .ma-list { list-style: none; margin: 0; padding: 0; display: grid; }
  .ma-list li { margin: 0; }
  .ma-list a, .ma-info a, .ma-info button {
    display: flex; align-items: center; width: 100%; min-height: 48px; box-sizing: border-box; padding: 0 2px;
    border: 0; border-bottom: 1px solid var(--line, #d9dee5); background: none; color: var(--ink, #18202b);
    font: inherit; font-size: 1rem; text-align: left; text-decoration: none; cursor: pointer;
  }
  .ma-list a[aria-current="page"] { font-weight: 700; }
  .ma-list a::after, .ma-info a::after { content: "›"; margin-left: auto; padding-left: 12px; color: var(--ink-3, #6b7685); font-size: 1.3rem; }
  .ma-tabbar .ma-open[aria-expanded="true"] { color: var(--ink, #18202b); font-weight: 600; }
}
