/* GRADUS panels v2 (2026-10): the modern look of the app — bigger radii, lanes, chips, program builder, meal matrix.
   Loaded after panels.css; overrides its tokens. */
:root {
  --void: #0b0d10; --carbon: #11151a; --surface: #15181d; --surface2: #1b2027; --surface3: #20262e;
  --line: #242b34; --line2: #2c3440; --snow: #f7f9fc; --mist: #9aa4b2; --dim: #6d7683;
  --volt: #b8ff3d; --ember: #ff9f1c; --purple: #8b5cf6; --blue: #48cfea; --success: #3ddc97; --danger: #ff5c5c; --warning: #f5b700;
  --r: 20px;
}
.card, .kpi { border-radius: var(--r); }
.side a.nav.on { box-shadow: none; background: var(--surface2); }
.side a.nav.on svg { color: var(--role); }
.top { background: rgba(11, 13, 16, 0.88); }
.content { gap: 22px; }
.hello { display: flex; flex-direction: column; gap: 4px; }
.hello .when { font-size: 13px; color: var(--mist); font-weight: 600; }
.hello h1 { font-size: 30px; letter-spacing: -0.03em; font-weight: 800; }
.hello h1 span { color: var(--mist); font-weight: 700; }

/* lanes */
.lanes { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.lane { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lane-h { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; }
.lane-h .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.lane-h .n { margin-left: auto; color: var(--c); }
.lane-item { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 16px; background: var(--surface2); }
.lane-item .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lane-item .who b { font-size: 13.5px; display: block; }
.lane-item .who small { font-size: 12.5px; color: var(--mist); display: block; }
.lane-item .acts { display: flex; gap: 6px; }
.lane-item .acts .btn { flex: 1; }
.lane-empty { font-size: 12.5px; color: var(--dim); padding: 6px 2px; }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 26px; }
.spark i { flex: 1; border-radius: 3px; background: var(--line2); }
.spark i.on { background: var(--c, var(--volt)); }

/* chips & pills */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line2); background: transparent; color: var(--mist); font-weight: 700; font-size: 12.5px; cursor: pointer; white-space: nowrap; }
.chip.on { border-color: var(--volt); color: var(--volt); background: rgba(184, 255, 61, 0.08); }
.chip svg { width: 13px; height: 13px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; padding: 5px 10px; border-radius: 99px; white-space: nowrap; }
.k-gym { background: rgba(184, 255, 61, 0.13); color: var(--volt); }
.k-run { background: rgba(90, 180, 255, 0.14); color: var(--blue); }
.k-fight { background: rgba(255, 138, 76, 0.14); color: var(--ember); }
.k-other { background: rgba(183, 156, 255, 0.14); color: var(--purple); }
.k-rest { background: var(--surface3); color: var(--mist); }
.seg2 { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface2); flex-wrap: wrap; }
.seg2 button { min-height: 36px; padding: 0 14px; border-radius: 10px; border: 0; background: transparent; color: var(--mist); font-weight: 800; font-size: 13px; cursor: pointer; }
.seg2 button.on { background: var(--volt); color: var(--void); }

/* today */
.trow { display: grid; grid-template-columns: 38px minmax(0, 1.4fr) minmax(0, 1.3fr) 110px; gap: 14px; align-items: center; padding: 10px 4px; border-top: 1px solid var(--line); }
.trow:first-of-type { border-top: 0; }
.trow b { font-size: 14px; display: block; }
.trow small { color: var(--mist); font-size: 12px; display: block; }
.trow .st { text-align: right; font-weight: 800; font-size: 12px; }
.feed { display: flex; flex-direction: column; gap: 14px; }
.feed > div { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; }
.feed .ic { width: 32px; height: 32px; border-radius: 10px; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 900; }
.feed small { display: block; color: var(--dim); font-size: 12px; margin-top: 2px; }

/* program builder */
.weeks { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; }
.wk { min-height: 58px; border-radius: 14px; border: 1px solid transparent; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 8px 10px; font-weight: 800; font-size: 15px; cursor: pointer; background: var(--surface2); color: var(--mist); }
.wk small { font-size: 9.5px; letter-spacing: 0.05em; opacity: 0.85; }
.phase-note { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface2); font-size: 13.5px; }
.phases { display: flex; flex-direction: column; gap: 8px; overflow-x: auto; }
.phase-row { display: grid; grid-template-columns: minmax(120px, 1.2fr) 64px 64px 90px 76px 76px 84px minmax(160px, 2fr) 36px; gap: 8px; align-items: center; min-width: 900px; }
.phase-row.head { font-size: 10.5px; font-weight: 800; letter-spacing: 0.05em; color: var(--dim); }
.weekgrid { display: grid; grid-template-columns: repeat(7, minmax(118px, 1fr)); gap: 8px; overflow-x: auto; }
.day { border-radius: 16px; background: var(--surface2); border: 1px dashed var(--line2); padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 130px; }
.day.today { border-color: var(--volt); border-style: solid; }
.day > b { font-size: 12px; color: var(--mist); font-weight: 800; letter-spacing: 0.04em; }
.day .slot { border-radius: 10px; padding: 8px; font-size: 12px; font-weight: 800; line-height: 1.25; }
.day .slot span { display: block; font-weight: 600; opacity: 0.85; }
.day .select, .day .input { min-height: 34px; font-size: 12.5px; padding: 0 6px; border-radius: 10px; }
.wtabs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wtab { min-height: 44px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line2); background: transparent; color: var(--mist); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.wtab i { font-style: normal; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--surface3); color: var(--mist); font-size: 13px; }
.wtab.on { border-color: var(--volt); background: var(--surface2); color: var(--snow); }
.wtab.on i { background: var(--volt); color: var(--void); }
.exc { border-radius: 18px; background: var(--surface2); border: 1px solid var(--surface3); padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.exc-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.exc-top .n { width: 30px; height: 30px; border-radius: 10px; background: var(--surface3); color: var(--mist); font-size: 13px; font-weight: 800; display: grid; place-items: center; flex: none; }
.exc-top .nm { flex: 1 1 200px; min-width: 0; }
.exc-top .nm b { font-size: 15px; display: block; }
.exc-top .nm small { font-size: 12px; color: var(--mist); }
.nums { display: flex; flex-wrap: wrap; gap: 8px; }
.num-box { display: flex; flex-direction: column; gap: 3px; padding: 6px 8px; border-radius: 12px; background: var(--carbon); border: 1px solid var(--line); }
.num-box span { font-size: 10px; font-weight: 800; letter-spacing: 0.05em; color: var(--dim); }
.num-box input { width: 58px; background: transparent; border: 0; color: var(--snow); font-weight: 800; font-size: 14px; padding: 0; }
.num-box input:focus { outline: none; }
.num-box:focus-within { border-color: var(--volt); }
.exc-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-left: 42px; }
.prog { font-size: 12px; font-weight: 800; color: var(--volt); background: rgba(184, 255, 61, 0.08); border: 1px solid transparent; border-radius: 10px; padding: 7px 10px; min-width: 240px; flex: 1 1 240px; }
.prog::placeholder { color: rgba(184, 255, 61, 0.55); }
.prog:focus { outline: none; border-color: var(--volt); }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--mist); cursor: pointer; }
.toggle input { width: 16px; height: 16px; accent-color: var(--volt); }
.var-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 5px 4px 5px 10px; border-radius: 99px; border: 1px solid var(--line2); color: var(--snow); }
.var-chip button, .swap button { background: none; border: 0; color: var(--dim); cursor: pointer; padding: 0 4px; font-size: 14px; line-height: 1; }
.lib { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 90px; max-height: calc(100vh - 110px); }
.lib-list { overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-right: 2px; }
.lib-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: var(--surface2); }
.lib-item b { font-size: 13.5px; display: block; }
.lib-item small { font-size: 11.5px; color: var(--mist); display: block; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.mode-banner { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(184, 255, 61, 0.06); border: 1px solid rgba(184, 255, 61, 0.2); font-size: 13px; }

/* nutri matrix */
.matrix { display: grid; gap: 8px; }
.matrix-wrap { overflow-x: auto; }
.mx-day { min-height: 52px; border-radius: 14px; border: 1px solid var(--surface3); background: var(--surface2); color: var(--snow); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-weight: 800; font-size: 13px; cursor: pointer; }
.mx-day small { font-size: 10.5px; font-weight: 700; }
.mx-day.on { border-color: var(--volt); background: var(--surface3); }
.mx-meal { display: flex; flex-direction: column; justify-content: center; }
.mx-meal b { font-size: 13.5px; }
.mx-meal small { font-size: 11.5px; color: var(--dim); }
.mx-cell { min-height: 74px; border-radius: 14px; border: 1px solid var(--surface3); background: var(--surface2); text-align: left; padding: 8px 9px; display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; line-height: 1.25; color: var(--snow); cursor: pointer; font-weight: 600; }
.mx-cell.sel { background: rgba(184, 255, 61, 0.05); border-color: var(--line2); }
.mx-cell.empty { color: var(--dim); cursor: default; }
.badge-l { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 11.5px; font-weight: 900; color: var(--void); flex: none; }
.o0 { background: var(--volt); } .o1 { background: var(--blue); } .o2 { background: var(--purple); } .o3 { background: var(--ember); } .o4 { background: var(--warning); } .o5 { background: var(--success); }
.mx-total { border-radius: 12px; background: var(--carbon); padding: 8px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.mx-total b { font-size: 13px; }
.mx-total small { font-size: 10.5px; color: var(--dim); }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.opt { border-radius: 18px; background: var(--surface2); border: 1px solid var(--surface3); padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.opt-h { display: flex; align-items: center; gap: 10px; }
.opt-h input { flex: 1; min-width: 0; background: transparent; border: 0; border-bottom: 1px dashed transparent; color: var(--snow); font-weight: 800; font-size: 14px; padding: 2px 0; }
.opt-h input:focus { outline: none; border-bottom-color: var(--volt); }
.opt-h small { color: var(--mist); font-size: 12px; white-space: nowrap; }
.opt-days { font-size: 12px; color: var(--mist); }
.opt-item { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; border-top: 1px solid var(--surface3); }
.opt-item .r { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.opt-item .r .grow { min-width: 0; }
.opt-item .r input { width: 64px; }
.swap { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; padding: 4px 4px 4px 9px; border-radius: 99px; border: 1px solid var(--line2); color: var(--snow); }
.daycard { border-radius: 16px; background: var(--surface2); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.daycard .h { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.05em; color: var(--dim); }
.daycard .h span:last-child { margin-left: auto; font-weight: 600; letter-spacing: 0; color: var(--mist); font-size: 12px; }
.daycard b { font-size: 13.5px; }
.daycard small { font-size: 12px; color: var(--mist); line-height: 1.45; }
.targets-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.tcard { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; text-align: left; color: var(--snow); }
.tcard:hover { border-color: var(--line2); }
.tcard .lbl { font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; }
.tcard b { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.tcard small { font-size: 12.5px; color: var(--mist); }

@media (max-width: 1100px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .lib { position: static; max-height: none; }
  .lib-list { max-height: 420px; }
}
@media (max-width: 720px) {
  .trow { grid-template-columns: 38px minmax(0, 1fr) 90px; }
  .trow > :nth-child(3) { display: none; }
  .exc-bottom { padding-left: 0; }
}

/* ───────── v3 (2026-10): accessibility, performance, palette, print ───────── */
:root { --dim: #7d8795; }
.card, .lane, .kpi, .li, .attn { content-visibility: auto; contain-intrinsic-size: auto 120px; }
.kpi { position: relative; overflow: hidden; }
.kpi::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--role), transparent 70%); opacity: 0.7; }
a.trow, .lane-item, tbody tr, .pick button, .chat-list a { transition: background 0.12s, transform 0.12s; }
a.trow:hover, .lane-item:hover { background: var(--surface3); }
.side a.nav { min-height: 42px; }
.side a.nav:focus-visible, .btn:focus-visible, tbody tr:focus-visible, a.trow:focus-visible, .pick button:focus-visible, .seg button:focus-visible, .tabs a:focus-visible, .chat-list a:focus-visible, .pal-item:focus-visible { outline: 2px solid var(--volt); outline-offset: 2px; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 2px solid var(--volt); outline-offset: 1px; border-color: var(--volt); }
.menu-btn[aria-expanded="true"] { background: var(--surface3); }
.side-backdrop { position: fixed; inset: 0; z-index: 39; background: rgba(0, 0, 0, 0.5); animation: fade 0.18s ease; }
.modal-open { overflow: hidden; }
.pal-btn { display: none; }
@media (hover: hover) and (min-width: 861px) { .pal-btn { display: inline-flex; } }
@media (pointer: coarse) { .btn-sm { min-height: 40px; } .btn-icon { width: 42px; min-height: 42px; } .li, .trow { min-height: 48px; } }
@media (prefers-contrast: more) { :root { --line: #3a4350; --line2: #4a5564; --mist: #c3cad4; --dim: #aab2bd; } .card, .kpi, .lane { border-width: 1.5px; } }
@media (forced-colors: active) { .btn, .card, .kpi, .lane, .input, .select { border: 1px solid CanvasText; } .bar i, .heat i { forced-color-adjust: none; } }

/* command palette */
.modal-palette { padding: 16px; gap: 10px; }
.modal-palette > .row { display: none; }
.palette { display: flex; flex-direction: column; gap: 10px; }
.palette .input { min-height: 48px; font-size: 16px; }
.pal-list { max-height: min(52vh, 440px); overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.pal-item { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; color: var(--snow); cursor: pointer; }
.pal-item svg { width: 17px; height: 17px; color: var(--dim); flex: none; }
.pal-item b { display: block; font-weight: 600; font-size: 14px; }
.pal-item small { display: block; color: var(--mist); font-size: 12px; }
.pal-item.on, .pal-item:hover { background: var(--surface2); }
.pal-item.on svg { color: var(--role); }
.pal-tip { font-size: 12px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--surface3); border: 1px solid var(--line2); color: var(--mist); font: 600 11px/1 Inter, system-ui, sans-serif; }
.shortcuts { display: grid; gap: 10px; }
.shortcuts div { display: flex; align-items: center; gap: 14px; }
.shortcuts kbd { min-width: 110px; height: 28px; font-size: 12px; justify-content: flex-start; }

/* loading skeleton (real mode) */
.skeleton .side { gap: 10px; }
.sk { border-radius: 12px; background: linear-gradient(90deg, var(--surface) 0%, var(--surface3) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.sk-brand { height: 28px; width: 70%; margin-bottom: 16px; }
.sk-nav { height: 40px; }
.sk-title { height: 26px; width: 180px; }
.sk-kpi { height: 120px; border-radius: var(--r); }
.sk-card { height: 320px; border-radius: var(--r); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; background: var(--surface2); } }

/* print: the page content only, readable on paper */
@media print {
  :root { color-scheme: light; }
  body { background: #fff !important; color: #111 !important; font-size: 12px; }
  .app { display: block !important; }
  .side, .side-backdrop, .top-actions, .demo-bar, .menu-btn, .toasts, .skip, .overlay, .pal-btn, .btn, .chat-form, .checklist { display: none !important; }
  .top { position: static !important; background: none !important; border-bottom: 2px solid #111; padding: 0 0 10px !important; backdrop-filter: none !important; }
  .top h1 { color: #111; font-size: 20px; }
  .top .sub, .muted, .dim, .kpi .lbl, .li small, .cell-person small { color: #555 !important; }
  .content { padding: 14px 0 !important; gap: 14px !important; }
  .card, .kpi, .lane, .attn, .lock, .table-wrap, .meal { background: #fff !important; border: 1px solid #bbb !important; color: #111 !important; break-inside: avoid; box-shadow: none !important; content-visibility: visible !important; }
  .kpi::before { display: none; }
  .kpi .val, .card-h h2, .card-h h3, h1, h2, h3, b { color: #111 !important; }
  th { background: #f1f1f1 !important; color: #333 !important; }
  td, th { border-color: #ddd !important; }
  table { min-width: 0 !important; }
  .bar { background: #e5e5e5 !important; }
  .chart text { fill: #555 !important; }
  .grid { break-inside: avoid; }
  body::before { content: attr(data-print-title); display: block; font: 700 11px/1.4 Inter, system-ui, sans-serif; color: #555; margin-bottom: 8px; letter-spacing: 0.06em; text-transform: uppercase; }
  @page { margin: 14mm; }
}
@media (max-width: 560px) {
  .hello h1 { font-size: 22px; }
  .hello + .btn, .row.wrap > .btn-p { width: 100%; }
  .demo-bar { padding: 8px 14px; font-size: 12px; gap: 8px; }
  .demo-bar .btn-s { margin-left: 0; }
  .top { padding-top: 12px; padding-bottom: 12px; }
  .top h1 { font-size: 19px; }
}

/* ───────── v2 "Hoje" (approved mockups 2026-10-14): one list, 3 numbers ───────── */
.needs .card-h h2, .card-h h2 { display: inline-flex; align-items: center; gap: 10px; }
.card-h h2 svg { width: 20px; height: 20px; color: var(--role); }
.needs-list { display: flex; flex-direction: column; }
.need { display: grid; grid-template-columns: 10px 30px minmax(120px, 0.8fr) minmax(0, 1.4fr) auto; align-items: center; gap: 14px; padding: 12px 4px; border-top: 1px solid var(--line); }
.need:first-child { border-top: 0; }
.need-dot { width: 8px; height: 8px; border-radius: 50%; }
.need-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.need-why { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.need-more { font-size: 12.5px; padding-top: 6px; }
.kpis3 .kpi { padding: 24px; }
.kpis3 .kpi .val { font-size: 46px; }
.kpis3 .kpi .bar { margin-top: 6px; height: 8px; }
.kpi-of { font-size: 24px; font-weight: 700; }
@media (max-width: 860px) {
  .need { grid-template-columns: 10px 30px minmax(0, 1fr) auto; }
  .need-why { grid-column: 3 / 5; grid-row: 2; white-space: normal; }
  .kpis3 { grid-template-columns: minmax(0, 1fr); }
}

/* ───────── Nova matrícula (wizard) ───────── */
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.stepper li { display: flex; align-items: center; gap: 10px; color: var(--mist); font-weight: 600; font-size: 14px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.stepper .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line2); font-weight: 800; flex: none; }
.stepper .n svg { width: 15px; height: 15px; }
.stepper li.on { color: var(--snow); border-color: color-mix(in srgb, var(--role) 40%, var(--line)); }
.stepper li.on .n { background: var(--role); color: var(--void); border-color: var(--role); }
.stepper li.done .n { background: color-mix(in srgb, var(--role) 18%, transparent); color: var(--role); border-color: transparent; }
.enroll { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.invite-side { position: sticky; top: 96px; gap: 14px; }
.invite-side .qr { display: grid; place-items: center; padding: 14px; border-radius: 16px; background: var(--carbon); border: 1px solid var(--line); }
.goal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.goal-opt { padding: 18px 14px; border-radius: 16px; border: 1px solid var(--line2); background: var(--surface2); color: var(--snow); font: 700 15px var(--font, inherit); cursor: pointer; text-align: left; }
.goal-opt.on { border-color: var(--role); background: color-mix(in srgb, var(--role) 12%, var(--surface2)); }
.prog-opt { padding: 12px; border-radius: 14px; background: var(--surface2); }
.enroll-done { gap: 14px; }
@media (max-width: 980px) { .enroll { grid-template-columns: minmax(0, 1fr); } .invite-side { position: static; } .stepper { grid-template-columns: repeat(2, minmax(0, 1fr)); } .goal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ───────── mapa muscular no painel ───────── */
.mm { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.mm-figs { display: flex; gap: 8px; }
.mm-fig { position: relative; width: 104px; aspect-ratio: 512 / 768; }
.mm-fig img, .mm-fig i { position: absolute; inset: 0; width: 100%; height: 100%; }
.mm-fig i { -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.mm-list { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mm-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 36px; gap: 10px; align-items: center; font-size: 13px; }
.mm-row b { text-align: right; }
@media (max-width: 700px) { .mm { grid-template-columns: minmax(0, 1fr); justify-items: center; } .mm-list { width: 100%; } }

.phasebar { display: flex; gap: 3px; height: 8px; }
.phasebar span { border-radius: 4px; opacity: .85; }
