[hidden] { display: none !important; }
/* Real-site additions on top of the approved mockup styles (style.css). */
a.nav { text-decoration: none; }
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-card { width: 100%; max-width: 380px; }
.lbl { display: block; font-size: 12px; font-weight: 700; color: var(--text2); margin: 12px 0 6px; }
.field { width: 100%; background: var(--panel); border: 1px solid var(--stroke); border-radius: 10px; padding: 11px 12px; color: var(--text); }
.field:focus, .cell:focus, textarea:focus { outline: none; border-color: var(--red); }
.err { color: var(--red2); font-size: 13px; font-weight: 600; min-height: 18px; margin: 10px 0 4px; }
.btn.wide { width: 100%; justify-content: center; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.danger { color: var(--red2); }
.modal-box { background: var(--card); border: 1px solid var(--stroke); border-radius: 16px; padding: 20px; width: min(460px, calc(100vw - 32px)); max-height: 94vh; overflow: auto; }
.modal-box.wide { width: auto; max-width: calc(100vw - 32px); }
.empty { text-align: center; padding: 40px 20px; color: var(--text2); }
.empty b { display: block; color: var(--text); font-size: 16px; margin-bottom: 4px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.spinner { width: 22px; height: 22px; border: 3px solid var(--raised); border-top-color: var(--red); border-radius: 50%; animation: spin .8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.list-item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--stroke); }
.list-item:last-child { border-bottom: 0; }
.sets { color: var(--text2); font-size: 13px; }
.chat-empty { margin: auto; color: var(--text3); }
.thread { text-decoration: none; color: inherit; }
.inbox { height: calc(100vh - 140px); }
.tpl { display: flex; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--stroke); border-radius: 10px; cursor: pointer; background: var(--panel); }
.tpl.on { border-color: var(--red); background: var(--redSoft); }
.tpl img { width: 56px; height: 34px; object-fit: cover; border-radius: 6px; }
.tpls { display: grid; gap: 8px; max-height: 260px; overflow: auto; margin-top: 8px; }
.saving { font-size: 12px; color: var(--text3); }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; }
  .side .coach, .side .brand { display: none; }
  main { padding: 16px; }
  .g4, .g3, .g2, .split, .pb, .inbox { grid-template-columns: 1fr; }
}
main.wide { max-width: none; }
  .tracker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 6px; }
  .step { position: relative; padding: 12px 12px 10px; border-radius: 12px; background: var(--panel); border: 1px solid var(--stroke); }
  .step .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--raised); color: var(--text2); }
  .step b { display: block; margin-top: 8px; font-size: 14px; }
  .step small { color: var(--text3); font-size: 12px; }
  .step.done .n { background: var(--green); color: #04130a; }
  .step.done { border-color: rgba(52, 199, 89, .35); }
  .step.now { border-color: var(--red); background: var(--redSoft); }
  .step.now .n { background: var(--red); color: #fff; }
  .panel { margin-top: 16px; border: 1px solid var(--stroke); border-radius: 14px; padding: 16px; background: var(--panel); }
  .panel h3 { margin: 0 0 4px; font-size: 16px; }
  .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
  .plan { border: 1px solid var(--stroke); border-radius: 12px; padding: 12px; background: var(--card); cursor: pointer; }
  .plan.on { border-color: var(--red); background: var(--redSoft); }
  .plan .price { font-size: 22px; font-weight: 800; margin-top: 4px; }
  .callbox { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--stroke); }
  .callbox .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--redSoft); font-size: 20px; flex: none; }
  .group-h { padding: 12px 14px 6px; font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--text3); }
  .answers { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
a.btn { color: var(--text); text-decoration: none; }
