@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");
/* Legal documents */
.legal-footer{display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap;padding:1rem 1.2rem calc(1rem + env(safe-area-inset-bottom));background:#090b0c;border-top:1px solid rgba(255,255,255,.08);color:#8f9893;font-size:.8rem}
.legal-footer button,.inline-legal-link{border:0;background:none;color:#cfff39;text-decoration:underline;text-underline-offset:3px;padding:0;cursor:pointer;font:inherit}
.legal-consent span{line-height:1.45}.legal-document{display:grid;gap:.85rem;max-height:min(68vh,760px);overflow:auto;padding:.2rem .35rem 1rem 0;line-height:1.55}.legal-document h3{font-size:1rem;margin:.6rem 0 0}.legal-document p{margin:0;color:var(--muted)}.legal-document b{color:var(--text)}.legal-warning{border:1px solid rgba(255,190,70,.35);background:rgba(255,190,70,.08);padding:.9rem;border-radius:14px}.legal-date{font-size:.8rem;border-top:1px solid var(--line);padding-top:.8rem}
.vip-subscription-offer{width:min(100%,460px);margin:1.1rem auto;display:grid;gap:.85rem;padding:1rem;border:1px solid rgba(255,207,89,.3);border-radius:18px;background:linear-gradient(145deg,rgba(255,207,89,.11),rgba(255,255,255,.025));text-align:left}.vip-subscription-offer>div{display:flex;align-items:baseline;gap:.35rem}.vip-subscription-offer strong{font-size:2rem;color:#ffd46a}.vip-subscription-offer span,.vip-subscription-offer small{color:var(--muted)}.vip-subscription-offer p{margin:0;line-height:1.5}.vip-subscription-offer small{text-align:center;line-height:1.4}.vip-code-divider{display:flex;align-items:center;gap:.75rem;width:min(100%,460px);margin:1.1rem auto .6rem;color:var(--muted);font-size:.8rem}.vip-code-divider:before,.vip-code-divider:after{content:"";height:1px;flex:1;background:var(--line)}
.diet-pdf-actions{display:flex;gap:.65rem;flex-wrap:wrap}.diet-pdf-actions.hidden{display:none}@media(max-width:620px){.diet-pdf-actions{width:100%}.diet-pdf-actions .pill{flex:1;min-width:145px}}
@media(max-width:760px){.legal-footer{padding-bottom:calc(5.5rem + env(safe-area-inset-bottom));gap:.7rem 1rem}.auth-gate:not(.hidden)~.legal-footer{padding-bottom:1rem}.legal-document{max-height:70vh}}
:root {
  --bg: #090b0c;
  --panel: #121516;
  --panel2: #181c1e;
  --line: #282d2f;
  --text: #f5f7f2;
  --muted: #909897;
  --lime: #d8ff3e;
  --lime2: #b8dc26;
  --shadow: 0 18px 50px #0005;
  color-scheme: dark;
}

/* FormaVibe Community — premium forum-first experience */
:root {
  --bg: #070b0d;
  --panel: #10171a;
  --panel2: #182226;
  --line: rgba(255,255,255,.085);
  --text: #f5f8f7;
  --muted: #96a3a7;
  --lime: #bdfb42;
  --lime2: #8fd21f;
  --gold: #f5c85b;
  --shadow: 0 24px 70px rgba(0,0,0,.42);
}
body {
  background:
    radial-gradient(circle at 75% -10%, rgba(105,160,45,.12), transparent 30rem),
    linear-gradient(180deg,#080d0f 0%,#070a0c 100%);
}
.side {
  background: rgba(8,13,15,.88);
  border-right-color: rgba(255,255,255,.07);
  backdrop-filter: blur(22px);
}
.brand span { border-radius: 11px 5px 11px 5px; box-shadow: 0 0 28px rgba(189,251,66,.2); }
.side nav { gap: 7px; }
.side nav button { min-height: 49px; border: 1px solid transparent; }
.side nav button.active {
  border-color: rgba(189,251,66,.16);
  background: linear-gradient(90deg,rgba(189,251,66,.14),rgba(189,251,66,.035));
  box-shadow: inset 3px 0 0 var(--lime);
}
main { max-width: 1380px; }
header { margin-bottom: 28px; }
.card { border-color: var(--line); box-shadow: 0 18px 55px rgba(0,0,0,.22); }
.welcome {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: clamp(27px,4vw,52px);
  border: 1px solid rgba(189,251,66,.18);
  background:
    radial-gradient(circle at 92% 18%,rgba(189,251,66,.2),transparent 19rem),
    linear-gradient(135deg,#14201d,#0e1517 64%);
}
.welcome:after {
  content:""; position:absolute; right:-70px; bottom:-120px; width:330px; height:330px;
  border:1px solid rgba(189,251,66,.12); border-radius:50%; box-shadow:0 0 0 42px rgba(189,251,66,.025),0 0 0 84px rgba(189,251,66,.018);
}
.welcome h2 { font-size: clamp(28px,4vw,46px); max-width: 650px; }
.welcome p:not(.eyebrow) { max-width: 640px; color: #b5c1bd; font-size: 1rem; line-height: 1.65; }
.welcome-mark { z-index: 1; border: 1px solid rgba(189,251,66,.2); background: rgba(189,251,66,.08); color: var(--lime); box-shadow: inset 0 0 30px rgba(189,251,66,.08); }
.section-title { margin-top: 30px; }
.section-title p { color: var(--muted); margin: 4px 0 0; }
.account-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.mini.home-action {
  position: relative; min-height: 190px; padding: 24px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08); border-radius: 22px;
  background: linear-gradient(155deg,rgba(25,35,39,.96),rgba(13,20,22,.96));
  transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.mini.home-action:after { content:"›"; position:absolute; right:21px; top:22px; color:#667276; font-size:26px; }
.mini.home-action:hover { transform: translateY(-3px); border-color: rgba(189,251,66,.28); box-shadow: 0 24px 60px rgba(0,0,0,.32); }
.mini.home-action .mini-icon { width: 52px; height: 52px; border-radius: 17px; background: rgba(189,251,66,.11); color: var(--lime); font-size: 23px; }
.mini.home-action p { margin-top: 20px; }
.mini.home-action h3 { font-size: 20px; margin-bottom: 8px; }
.mini.home-action small { color: var(--muted); line-height: 1.5; }
.mini.vip-home { border-color: rgba(245,200,91,.22); background: radial-gradient(circle at 80% 0,rgba(245,200,91,.14),transparent 14rem),linear-gradient(155deg,#211c13,#111718); }
.mini.vip-home .mini-icon { color:var(--gold); background:rgba(245,200,91,.11); }
.admin-contact-home .mini-icon { color:#83d6ff!important; background:rgba(67,176,227,.1)!important; }

.forum-chat {
  max-width: 1000px; border-radius: 24px; border: 1px solid rgba(255,255,255,.085);
  background: #0a1114; box-shadow: 0 30px 85px rgba(0,0,0,.42);
}
.forum-chat-head {
  min-height: 76px; padding: 11px 18px; position:relative;
  background: rgba(22,33,38,.95); backdrop-filter: blur(18px);
}
.forum-chat-head:after { content:""; position:absolute; inset:auto 0 0; height:1px; background:linear-gradient(90deg,transparent,rgba(189,251,66,.25),transparent); }
.forum-group-icon { width: 49px; height: 49px; flex-basis:49px; box-shadow: 0 8px 25px rgba(137,194,34,.2); }
.forum-chat-head h2 { font-size: 19px; letter-spacing:-.02em; }
.forum-chat-head p { font-size: 13px; }
.chat-menu,.chat-back { border-radius:50%; transition:background .15s ease; }
.chat-menu:hover,.chat-back:hover { background:rgba(255,255,255,.08); }
.forum-resource-tabs { padding: 9px 12px; gap: 8px; background:#10191d; scrollbar-width:none; }
.forum-resource-tabs button { min-height:37px; padding:8px 13px; border-radius:12px; background:#182329; }
.forum-resource-tabs button.active { border-color:rgba(189,251,66,.3); background:rgba(189,251,66,.12); box-shadow: inset 0 0 0 1px rgba(189,251,66,.06); }
.forum-resource-content { background:#0e171a; }
.forum-resource-card { border-radius:16px; background:linear-gradient(145deg,#192327,#121a1d); }
.forum-chat .feed {
  min-height: 480px; padding: 20px 15px 24px; gap:9px;
  background-color:#0b1317;
  background-image: radial-gradient(circle at 20% 25%,rgba(255,255,255,.028) 0 1px,transparent 2px),radial-gradient(circle at 80% 72%,rgba(189,251,66,.022) 0 1px,transparent 2px);
  background-size: 38px 38px,46px 46px;
}
.forum-message { max-width:76%; gap:9px; }
.forum-message-avatar .avatar { width:35px; height:35px; box-shadow:0 5px 14px rgba(0,0,0,.26); }
.forum-bubble { padding:9px 11px 7px; border-radius:5px 15px 15px 15px; background:#1c292f; box-shadow:0 4px 14px rgba(0,0,0,.22); }
.forum-message.mine .forum-bubble { border-radius:15px 5px 15px 15px; background:linear-gradient(145deg,#176048,#0e4b3b); }
.forum-bubble p { font-size:15px; line-height:1.5; }
.forum-bubble small { margin-top:5px; font-size:11px; color:#9bacaa; }
.forum-author { font-size:12px; color:#91dfaa; }
.vip-bubble { border-color:rgba(245,200,91,.22); background-image:linear-gradient(145deg,rgba(245,200,91,.035),transparent); }
.forum-inline-composer { padding: 10px 12px 12px; gap:8px; background:#10191d; border-top:1px solid rgba(255,255,255,.07); }
.forum-inline-composer textarea { min-height:48px; padding:13px 17px; border:1px solid rgba(255,255,255,.065); background:#1a252a; }
.forum-inline-composer textarea:focus { border-color:rgba(189,251,66,.28); box-shadow:0 0 0 3px rgba(189,251,66,.06); }
.composer-icon,.composer-send { width:44px; height:44px; flex:0 0 44px; }
.composer-send { box-shadow:0 8px 22px rgba(146,207,34,.22); }
.emoji-picker { border-radius:18px; border-color:rgba(255,255,255,.1); box-shadow:0 25px 65px rgba(0,0,0,.5); }
.vip-gate { max-width:620px; border-radius:28px; box-shadow:0 34px 100px rgba(0,0,0,.48); }
.vip-lock { box-shadow:0 12px 34px rgba(245,200,91,.18); }
.vip-subscription-offer { border-radius:20px; }
.mobile-nav { background:rgba(10,15,17,.94); backdrop-filter:blur(22px); border-top-color:rgba(255,255,255,.08); }
.mobile-nav button.active { color:var(--lime); }

@media (max-width: 900px) {
  .account-grid { grid-template-columns:1fr; }
  .mini.home-action { min-height:146px; }
}
@media (max-width: 760px) {
  main { padding:8px 12px calc(94px + env(safe-area-inset-bottom)); }
  main > header { display:none; }
  #home.view.active { padding-top:10px; }
  .welcome { min-height:210px; padding:27px 23px; border-radius:22px; }
  .welcome h2 { font-size:31px; }
  .welcome-mark { display:none; }
  .welcome .pill { width:100%; justify-content:center; }
  .section-title { margin:25px 2px 14px; }
  .mini.home-action { min-height:132px; padding:19px; border-radius:19px; }
  .mini.home-action .mini-icon { width:44px; height:44px; border-radius:14px; }
  .mini.home-action p { margin-top:14px; }
  .forum-chat { height:calc(100dvh - 78px); margin:-8px -12px 0; border-radius:0; }
  .forum-chat-head { min-height:68px; padding:9px 10px; }
  .forum-group-icon { width:45px; height:45px; flex-basis:45px; }
  .forum-chat .feed { padding:13px 9px 17px; }
  .forum-message { max-width:92%; }
  .forum-message-avatar .avatar { width:31px;height:31px; }
  .forum-bubble { max-width:calc(100vw - 76px); }
  .forum-inline-composer { padding-bottom:calc(10px + env(safe-area-inset-bottom)); }
  .composer-icon,.composer-send { width:42px;height:42px;flex-basis:42px; }
  .forum-inline-composer textarea { min-height:44px; padding:11px 14px; }
}
.admin-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 18px; align-items: start; }
.quote-form, .legal-card, .quote-admin-card { padding: 24px; }
.quote-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.activity-choice { border: 0; padding: 0; margin: 18px 0; }
.activity-choice legend { font-weight: 800; margin-bottom: 10px; }
.activity-choice label { display: flex; align-items: center; gap: 12px; padding: 12px; margin-top: 8px; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }
.activity-choice input { width: 18px; height: 18px; accent-color: var(--lime); }
.activity-choice span { display: flex; flex-direction: column; gap: 3px; }
.activity-choice small, .legal-card p { color: var(--muted); line-height: 1.5; }
.legal-check { display: grid !important; grid-template-columns: auto 1fr; gap: 11px; align-items: start; margin: 18px 0; padding: 14px; border: 1px solid rgba(216, 255, 73, .25); border-radius: 13px; background: rgba(216, 255, 73, .06); line-height: 1.5; }
.legal-check input { width: 19px !important; height: 19px; accent-color: var(--lime); }
.quote-result { padding: 16px; margin-top: 10px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.quote-result div { display: flex; flex-direction: column; gap: 4px; }
.quote-result small { color: var(--muted); }
.quote-result strong { color: var(--lime); font-size: 1.35rem; }
.quote-result p { grid-column: 1 / -1; margin: 0; color: var(--muted); }
.quote-admin-list { display: grid; gap: 14px; }
.quote-data { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0; }
.quote-data span { display: flex; flex-direction: column; gap: 3px; padding: 10px; background: rgba(255, 255, 255, .04); border-radius: 10px; color: var(--muted); }
.quote-data b { color: var(--text); }
.quote-admin-form { display: grid; grid-template-columns: 150px 1fr 150px auto; gap: 10px; align-items: end; margin-top: 14px; }
.handled-by { padding: 10px 12px; border-radius: 10px; background: rgba(216, 255, 73, .08); border: 1px solid rgba(216, 255, 73, .2); }
.quote-admin-form textarea { min-height: 76px; }
@media (max-width: 850px) {
  .quote-layout { grid-template-columns: 1fr; }
  .quote-admin-form { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .quote-fields, .quote-data { grid-template-columns: 1fr; }
}
.message-panel { padding:0;max-width:920px;overflow:hidden; }
.message-thread { display: flex; flex-direction: column; gap: 7px; height:min(58vh,560px); overflow-y: auto; padding:18px 12px 24px; background-color:#0d1412;background-image:radial-gradient(circle at 20% 25%,rgba(255,255,255,.025) 0 2px,transparent 3px),radial-gradient(circle at 75% 70%,rgba(216,255,62,.025) 0 2px,transparent 3px);background-size:48px 48px;scroll-behavior:smooth; }
.message-bubble { position:relative;max-width:78%; padding:8px 10px 6px;border-radius:10px; background:#202827;box-shadow:0 1px 1px #0005; }
.message-bubble.from-admin { align-self: flex-end; background:#174d3a; }
.message-bubble.from-client { align-self: flex-start; }
.message-bubble p { white-space: pre-wrap; margin:0;padding-right:44px;line-height:1.42;word-break:break-word; }
.message-author{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#89d7ff;font-size:.75rem;font-weight:800;margin-bottom:3px}.from-admin .message-author{color:#bff0d2}.message-menu-button{border:0;background:none;color:#a8b3b0;font-size:1.1rem;padding:0 2px;line-height:1}.message-meta{text-align:right;color:#a8b3b0;font-size:.68rem;margin-top:-2px;white-space:nowrap}.message-receipt{color:#b4bfbc}.message-receipt.read{color:#63c8ff}.chat-day{align-self:center;margin:8px 0}.chat-day span{display:block;padding:6px 10px;border-radius:8px;background:#18211f;color:#b8c1bf;font-size:.72rem;box-shadow:0 1px 2px #0005}.chat-empty{margin:auto;text-align:center;color:var(--muted);display:grid;justify-items:center;gap:5px}.chat-empty>span{font-size:2rem}.chat-empty p{margin:0;font-size:.85rem}
.message-form { position:relative;display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:end;padding:9px;background:#111817;border-top:1px solid #26302e; }
.message-form textarea { min-height:44px;max-height:130px;resize:vertical;border-radius:22px;padding:11px 15px;background:#202827; }
.private-emoji-wrap{position:relative}.private-emoji-panel{position:absolute;bottom:52px;left:0;z-index:6;width:250px;display:grid;grid-template-columns:repeat(6,1fr);gap:3px;padding:8px;border:1px solid var(--line);border-radius:14px;background:var(--panel);box-shadow:var(--shadow)}.private-emoji-panel.hidden{display:none}.private-emoji-panel button{border:0;background:transparent;font-size:1.25rem;padding:6px;border-radius:8px}.private-emoji-panel button:hover{background:var(--panel2)}
.private-chat-head{display:flex;align-items:center;gap:12px;padding:12px 15px;background:#111817;border-bottom:1px solid #26302e}.private-chat-head>span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--lime);color:#111;font-weight:900}.private-chat-head>div{display:grid;gap:2px;min-width:0}.private-chat-head b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.private-chat-head small{color:var(--muted)}.private-chat-head small i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#39d176;margin-right:4px}.chat-delete-button{margin-left:auto;border:0;background:transparent;color:var(--text);font-size:1.6rem;padding:4px 9px}.professional-chat{overflow:hidden;border:1px solid var(--line);border-radius:16px;margin-top:18px}.professional-chat #adminMessageThread{display:block}.message-action-list{display:grid;gap:9px}
.manager-tabs > h3 { margin-top: 28px; }
.diet-editor fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 12px 0; }
.diet-editor legend { color: var(--lime); font-weight: 800; padding: 0 7px; }
.editor-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.meal-editor { display: grid; grid-template-columns: minmax(180px, 1fr) repeat(4, 76px); gap: 7px; margin-top: 9px; }
@media (max-width: 700px) {
  .message-bubble { max-width: 92%; }
  .message-form { grid-template-columns:auto 1fr auto; }
  .editor-row, .meal-editor { grid-template-columns: 1fr 1fr; }
  .meal-editor input:first-child { grid-column: 1 / -1; }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 16px;
}
button,
input {
  font: inherit;
}
.shell {
  display: grid;
  grid-template-columns: 245px 1fr;
  min-height: 100vh;
}
.side {
  border-right: 1px solid var(--line);
  padding: 28px 18px;
  position: fixed;
  inset: 0 auto 0 0;
  width: 245px;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  z-index: 5;
}
.brand {
  border: 0;
  background: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  padding: 4px 10px 35px;
  cursor: pointer;
}
.brand span {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  background: var(--lime);
  color: #0b0d0d;
  border-radius: 10px;
  font-weight: 900;
}
.side nav {
  display: grid;
  gap: 5px;
}
.side nav button,
.user {
  border: 0;
  background: none;
  color: var(--muted);
  display: flex;
  align-items: center;
  text-align: left;
  gap: 13px;
  border-radius: 12px;
  padding: 13px 14px;
  cursor: pointer;
  font-weight: 600;
}
.side nav button i {
  font-style: normal;
  font-size: 20px;
  width: 22px;
}
.side nav button.active,
.side nav button:hover {
  background: var(--panel2);
  color: var(--text);
}
.side nav button.active i {
  color: var(--lime);
}
.side-foot {
  margin-top: auto;
}
.user {
  width: 100%;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 20px 8px 2px;
}
.user > span:first-child,
.avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #b9de2a, #ddff5c);
  color: #141710;
  font-weight: 800;
  font-size: 13px;
  flex: 0 0 auto;
}
.user > span:nth-child(2) {
  display: grid;
  gap: 2px;
}
.user small {
  color: var(--muted);
  font-weight: 500;
}
.user i {
  margin-left: auto;
  font-style: normal;
  font-size: 24px;
}
main {
  grid-column: 2;
  padding: 34px 4vw 60px;
  max-width: 1600px;
  width: 100%;
  margin: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 35px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 800;
  margin: 0 0 9px;
}
.lime {
  color: var(--lime);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 29px;
  margin: 0;
  letter-spacing: -0.04em;
}
h2 {
  font-size: 24px;
  letter-spacing: -0.035em;
  margin-bottom: 8px;
}
h3 {
  letter-spacing: -0.02em;
}
.head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 20px;
  position: relative;
  cursor: pointer;
}
.icon em {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
  right: 6px;
  top: 4px;
}
.view {
  display: none;
  animation: enter 0.25s ease;
}
.view.active {
  display: block;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.card {
  background: linear-gradient(145deg, var(--panel), #101314);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}
.goal {
  padding: 28px;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.streak,
.positive {
  background: #d8ff3e17;
  color: var(--lime);
  border: 1px solid #d8ff3e33;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 700;
}
.goal-body {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-top: 20px;
}
.ring {
  --p: 60;
  width: 166px;
  height: 166px;
  border-radius: 50%;
  background: conic-gradient(var(--lime) calc(var(--p) * 1%), #292e2e 0);
  display: grid;
  place-items: center;
  position: relative;
  flex: 0 0 auto;
}
.ring:before {
  content: "";
  position: absolute;
  inset: 13px;
  background: var(--panel);
  border-radius: 50%;
}
.ring div {
  position: relative;
  text-align: center;
  display: grid;
}
.ring strong {
  font-size: 29px;
}
.ring small {
  color: var(--muted);
  margin-top: 2px;
}
.macros {
  flex: 1;
  display: grid;
  gap: 21px;
}
.macros span {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
}
.macros small {
  color: var(--muted);
}
.macros > div > div {
  height: 6px;
  background: #292e2e;
  border-radius: 8px;
  overflow: hidden;
}
.macros i {
  display: block;
  height: 100%;
  background: var(--lime);
  border-radius: 8px;
}
.meal-card {
  overflow: hidden;
  position: relative;
  min-height: 285px;
}
.meal-card:after {
  content: "";
  position: absolute;
  inset: 20% 0 0;
  background: linear-gradient(transparent, #050706e8);
}
.meal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}
.meal-overlay {
  position: absolute;
  inset: auto 24px 22px;
  z-index: 1;
}
.meal-overlay span,
.meal-overlay p {
  font-size: 13px;
  color: #d2d7d2;
}
.meal-overlay h3 {
  font-size: 21px;
  margin: 6px 0;
}
.pill {
  border: 0;
  border-radius: 999px;
  padding: 11px 17px;
  font-weight: 800;
  cursor: pointer;
}
.pill.light {
  background: #fff;
  color: #111;
}
.pill.primary {
  background: var(--lime);
  color: #111;
}
.pill.full {
  width: 100%;
  margin-top: 20px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 34px 2px 13px;
}
.section-title h2 {
  margin: 0;
}
.section-title button,
.card-head button,
.split-title button {
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
.today-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.mini {
  padding: 20px;
}
.mini-icon {
  width: 31px;
  height: 31px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--lime);
  margin-bottom: 24px;
}
.mini p {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.mini h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.mini small {
  color: var(--muted);
}
.mini.current {
  border-color: #d8ff3e55;
}
.ai-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  cursor: pointer;
  background: linear-gradient(135deg, #1d2418, #121615);
}
.spark {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--lime);
  color: #141710;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  flex: 0 0 auto;
}
.ai-card p {
  font-size: 11px;
  color: var(--lime);
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 7px;
}
.ai-card h3 {
  font-size: 16px;
  margin-bottom: 7px;
}
.ai-card small {
  color: var(--muted);
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.progress-preview,
.community-preview {
  padding: 25px;
}
.progress-preview h2 small {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.progress-preview svg {
  width: 100%;
  height: 110px;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}
.post {
  display: flex;
  gap: 13px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.post p {
  font-size: 14px;
  margin: 4px 0 8px;
}
.post small {
  color: var(--muted);
}
.avatar.coral {
  background: #ff826f;
}
.avatar.blue {
  background: #72a8ff;
}
.split-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
}
.split-title h2 {
  font-size: 32px;
}
.day-tabs,
.seg {
  display: flex;
  gap: 4px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 13px;
}
.day-tabs button,
.seg button {
  padding: 8px 14px;
  border-radius: 9px !important;
  color: var(--muted);
}
.day-tabs button.active,
.seg button.active {
  background: var(--lime);
  color: #10130c;
}
.diet-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
}
.meal-list {
  display: grid;
  gap: 12px;
}
.diet-meal {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 13px;
}
.diet-meal img {
  width: 90px;
  height: 76px;
  object-fit: cover;
  border-radius: 13px;
}
.diet-meal p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
}
.diet-meal h3 {
  margin-bottom: 6px;
}
.diet-meal small {
  color: var(--muted);
}
.diet-meal button {
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  border-radius: 11px;
  padding: 9px 12px;
  cursor: pointer;
}
.shopping {
  padding: 24px;
  height: max-content;
  position: sticky;
  top: 20px;
}
.sum {
  display: grid;
  gap: 0;
}
.sum span {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.sum b {
  color: var(--text);
}
.note,
.disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 15px 0 0;
}
.chat-wrap {
  max-width: 850px;
  height: calc(100vh - 150px);
  min-height: 570px;
  margin: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-top {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 19px 23px;
  border-bottom: 1px solid var(--line);
}
.chat-top .spark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}
.chat-top h2 {
  font-size: 18px;
  margin: 0;
}
.chat-top p {
  font-size: 12px;
  color: var(--muted);
  margin: 2px 0;
}
.chat-top > span {
  margin-left: auto;
  color: var(--lime);
  font-size: 11px;
  font-weight: 800;
}
.messages {
  flex: 1;
  padding: 26px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.bot-msg,
.user-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 78%;
}
.bot-msg p,
.user-msg p {
  background: var(--panel2);
  border-radius: 4px 16px 16px 16px;
  padding: 15px;
  line-height: 1.6;
  margin: 0;
}
.user-msg {
  align-self: flex-end;
}
.user-msg p {
  background: var(--lime);
  color: #111;
  border-radius: 16px 4px 16px 16px;
}
.spark.small {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 14px;
}
.suggestions {
  display: flex;
  gap: 7px;
  padding: 0 24px 12px;
  overflow: auto;
}
.suggestions button {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 11px;
  cursor: pointer;
  font-size: 12px;
}
.chat-wrap form {
  margin: 0 23px;
  display: flex;
  border: 1px solid var(--line);
  background: var(--panel2);
  border-radius: 15px;
  padding: 6px;
}
.chat-wrap input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 10px;
  outline: none;
}
.chat-wrap form button {
  width: 40px;
  height: 40px;
  border: 0;
  background: var(--lime);
  color: #111;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
}
.disclaimer {
  text-align: center;
  margin: 7px 0 12px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.stat {
  padding: 24px;
  display: grid;
  gap: 9px;
}
.stat small,
.stat span {
  color: var(--muted);
}
.stat strong {
  font-size: 31px;
}
.stat strong i {
  font-style: normal;
  font-size: 15px;
  color: var(--muted);
}
.big-chart {
  padding: 26px;
  margin-top: 16px;
}
.big-chart svg {
  width: 100%;
  height: auto;
  margin-top: 20px;
}
.filter-row {
  display: flex;
  gap: 8px;
  overflow: auto;
  margin-bottom: 18px;
}
.filter-row button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 15px;
  white-space: nowrap;
}
.filter-row button.active {
  background: var(--text);
  color: var(--bg);
}
.feed {
  display: grid;
  gap: 12px;
  max-width: 900px;
}
.feed-card {
  padding: 22px;
}
.feed-user {
  display: flex;
  align-items: center;
  gap: 11px;
}
.feed-user div {
  display: grid;
}
.feed-user small {
  color: var(--muted);
}
.feed-card h3 {
  margin: 18px 0 8px;
}
.feed-card p {
  color: #c4cac7;
  line-height: 1.6;
}
.feed-actions {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  color: var(--muted);
  font-size: 13px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.plan {
  padding: 25px;
  position: relative;
  overflow: hidden;
}
.plan.featured {
  border-color: var(--lime);
}
.plan .tag {
  position: absolute;
  right: 16px;
  top: 16px;
  background: var(--lime);
  color: #111;
  font-size: 10px;
  font-weight: 800;
  padding: 6px 8px;
  border-radius: 999px;
}
.plan > span {
  color: var(--lime);
  font-weight: 800;
}
.plan h3 {
  font-size: 22px;
  margin: 18px 0 6px;
}
.plan p {
  color: var(--muted);
  min-height: 46px;
}
.price {
  font-size: 30px;
  font-weight: 800;
  margin: 22px 0;
}
.plan ul {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
  color: #c3c9c5;
}
.plan li:before {
  content: "✓";
  color: var(--lime);
  margin-right: 9px;
}
.profile-card {
  max-width: 700px;
  margin: auto;
  overflow: hidden;
}
.profile-hero {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 28px;
  background: linear-gradient(120deg, #242d18, #151a15);
}
.avatar.big {
  width: 65px;
  height: 65px;
  font-size: 19px;
}
.profile-hero h2 {
  margin: 0;
}
.profile-hero p {
  color: var(--muted);
  margin: 4px 0;
}
.premium {
  margin-left: auto;
  color: #111;
  background: var(--lime);
  font-size: 11px;
  font-weight: 900;
  padding: 7px 10px;
  border-radius: 999px;
}
.profile-grid {
  padding: 12px;
}
.profile-grid button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--text);
  text-align: left;
}
.profile-grid button > span {
  font-size: 20px;
  width: 35px;
}
.profile-grid button div {
  display: grid;
  gap: 3px;
}
.profile-grid small {
  color: var(--muted);
}
.profile-grid i {
  margin-left: auto;
  font-size: 25px;
  font-style: normal;
  color: var(--muted);
}
.mobile-nav {
  display: none;
}
dialog {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 20px;
  padding: 28px;
  width: min(500px, calc(100% - 28px));
  box-shadow: 0 30px 100px #000a;
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(5px);
}
dialog .close {
  position: absolute;
  right: 15px;
  top: 12px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 28px;
}
.modal-form {
  display: grid;
  gap: 12px;
}
.modal-form input,
.modal-form textarea {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  border-radius: 12px;
  padding: 13px;
  width: 100%;
}
.modal-form textarea {
  min-height: 120px;
  resize: vertical;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 25px);
  background: #eefbd1;
  color: #17200b;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 20;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
body.light {
  --bg: #f2f4ef;
  --panel: #fff;
  --panel2: #edf0e9;
  --line: #dfe3dc;
  --text: #171a18;
  --muted: #6d746f;
  --shadow: 0 14px 40px #23301e12;
  color-scheme: light;
}
body.light .meal-card {
  color: #fff;
}
body.light .ring:before {
  background: #fff;
}
@media (max-width: 1050px) {
  .shell {
    grid-template-columns: 86px 1fr;
  }
  .side {
    width: 86px;
    padding-inline: 12px;
  }
  .brand b,
  .side nav button:not(.active) {
    font-size: 0;
  }
  .side nav button {
    justify-content: center;
  }
  .side nav button i {
    font-size: 22px;
  }
  .user > span:nth-child(2),
  .user i {
    display: none;
  }
  .side {
    align-items: center;
  }
  .brand {
    padding-inline: 0;
  }
  .today-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .meal-card {
    min-height: 320px;
  }
  .diet-layout {
    grid-template-columns: 1fr;
  }
  .shopping {
    position: static;
  }
  .plans {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  body {
    font-size: 15px;
  }
  .shell {
    display: block;
  }
  .side {
    display: none;
  }
  main {
    padding: 22px 16px 105px;
  }
  header {
    margin-bottom: 24px;
  }
  h1 {
    font-size: 24px;
  }
  .head-actions .avatar {
    display: none;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
  }
  .goal {
    padding: 21px;
  }
  .goal-body {
    gap: 22px;
  }
  .ring {
    width: 130px;
    height: 130px;
  }
  .ring strong {
    font-size: 24px;
  }
  .macros {
    gap: 15px;
  }
  .macros span {
    font-size: 12px;
  }
  .meal-card {
    min-height: 300px;
  }
  .today-grid {
    display: flex;
    overflow: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }
  .today-grid > .card {
    min-width: 225px;
    scroll-snap-align: start;
  }
  .bottom-grid,
  .stats-grid,
  .plans {
    grid-template-columns: 1fr;
  }
  .community-preview {
    display: none;
  }
  .progress-preview {
    padding: 20px;
  }
  .mobile-nav {
    position: fixed;
    z-index: 10;
    display: flex;
    inset: auto 0 0;
    background: #0d1010ee;
    backdrop-filter: blur(14px);
    border-top: 1px solid #292e2f;
    justify-content: space-around;
    padding: 8px 7px calc(8px + env(safe-area-inset-bottom));
  }
  .mobile-nav button {
    border: 0;
    background: none;
    color: #7f8885;
    display: grid;
    place-items: center;
    gap: 2px;
    font-size: 11px;
    min-width: 55px;
  }
  .mobile-nav button i {
    font-style: normal;
    font-size: 21px;
  }
  .mobile-nav button.active {
    color: var(--lime);
  }
  .mobile-nav .ai-nav i {
    background: var(--lime);
    color: #111;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    margin-top: -20px;
    box-shadow: 0 6px 20px #d8ff3e44;
  }
  .split-title {
    align-items: flex-start;
    gap: 15px;
    flex-direction: column;
  }
  .split-title h2 {
    font-size: 28px;
  }
  .day-tabs {
    width: 100%;
    justify-content: space-between;
  }
  .diet-meal {
    grid-template-columns: 75px 1fr;
  }
  .diet-meal img {
    width: 75px;
    height: 70px;
  }
  .diet-meal button {
    grid-column: 1/-1;
  }
  .chat-wrap {
    height: calc(100vh - 155px);
    min-height: 500px;
  }
  .suggestions {
    padding-left: 14px;
  }
  .messages {
    padding: 18px 14px;
  }
  .bot-msg,
  .user-msg {
    max-width: 92%;
  }
  .chat-wrap form {
    margin: 0 13px;
  }
  .filter-row {
    margin-right: -16px;
  }
  .profile-hero {
    align-items: flex-start;
  }
  .premium {
    font-size: 9px;
  }
  .goal .card-head h2 {
    font-size: 20px;
  }
}

.hidden {
  display: none !important;
}
.auth-gate {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 480px);
  gap: 7vw;
  align-items: center;
  padding: 8vh 9vw;
  position: relative;
  overflow: hidden;
}
.auth-gate:before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, #d8ff3e20, transparent 68%);
  left: -180px;
  bottom: -250px;
}
.auth-brand {
  position: absolute;
  left: 9vw;
  top: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 21px;
}
.auth-brand span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--lime);
  color: #10130c;
  font-weight: 900;
}
.auth-copy {
  max-width: 650px;
  position: relative;
}
.auth-copy h1 {
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
  margin: 14px 0 24px;
}
.auth-copy > p:not(.eyebrow) {
  font-size: 19px;
  line-height: 1.7;
  color: #b7bfbb;
  max-width: 560px;
}
.auth-points {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  color: #dce2df;
}
.auth-points span::first-letter {
  color: var(--lime);
}
.auth-card {
  padding: 26px;
  position: relative;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--panel2);
  border-radius: 13px;
  padding: 4px;
  margin-bottom: 22px;
}
.auth-tabs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 11px;
  border-radius: 10px;
  font-weight: 700;
}
.auth-tabs button.active {
  background: var(--lime);
  color: #111;
}
.auth-form,
.consult-form {
  display: grid;
  gap: 15px;
}
.auth-form label,
.consult-form label,
.modal-form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
}
.auth-form input,
.consult-form input,
.consult-form textarea,
.modal-form input,
.modal-form textarea,
.admin-content select {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  border-radius: 12px;
  padding: 13px;
  width: 100%;
  outline: none;
}
.auth-form input:focus,
.consult-form input:focus,
.consult-form textarea:focus {
  border-color: var(--lime);
}
.auth-form .full,
.consult-form .full {
  margin-top: 3px;
}
.check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  font-weight: 500 !important;
  color: var(--muted);
  line-height: 1.5;
}
.check input {
  width: 18px !important;
  height: 18px;
}
.text-btn {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 7px;
}
.form-state {
  min-height: 22px;
  color: var(--lime);
  font-size: 13px;
  margin: 10px 0 0;
}
.form-state.error,
#toast.error {
  color: #ff9183;
}
.welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 38px;
  background: linear-gradient(125deg, #171d13, #101314);
  overflow: hidden;
}
.welcome > div:first-child {
  max-width: 680px;
}
.welcome h2 {
  font-size: 34px;
}
.welcome p:not(.eyebrow) {
  color: #bdc4c0;
  line-height: 1.7;
  margin: 0 0 22px;
}
.welcome-mark {
  font-size: 170px;
  line-height: 0.8;
  font-weight: 900;
  color: #d8ff3e12;
  transform: rotate(-8deg);
}
.account-grid {
  grid-template-columns: repeat(3, 1fr);
}
.no-sub {
  border: 1px solid #d8ff3e55;
  color: var(--lime);
  background: #d8ff3e12;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 800;
}
.empty,
.loading {
  padding: 34px;
  color: var(--muted);
}
.empty h3 {
  color: var(--text);
}
.consult-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1.25fr);
  gap: 18px;
}
.consult-info,
.consult-form {
  padding: 28px;
}
.consult-info .price {
  display: block;
  color: var(--lime);
  font-size: 36px;
  margin: 0 0 18px;
}
.consult-info ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
  color: #c8ceca;
}
.consult-info li:before {
  content: "✓";
  color: var(--lime);
  margin-right: 10px;
}
.consult-form textarea {
  min-height: 210px;
  resize: vertical;
}
.table-wrap {
  overflow: auto;
  margin-top: 16px;
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}
.table-wrap th,
.table-wrap td {
  text-align: left;
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.table-wrap th {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status {
  display: inline-block;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--panel2);
  white-space: nowrap;
}
.status.paid,
.status.answered {
  color: var(--lime);
}
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.admin-head h2 {
  font-size: 32px;
}
.admin-tabs {
  display: flex;
  gap: 7px;
  overflow: auto;
  margin-bottom: 18px;
  padding-bottom: 3px;
}
.admin-tabs button {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
}
.admin-tabs button.active {
  background: var(--lime);
  color: #111;
  border-color: var(--lime);
}
.assistant-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px;border-color:rgba(216,255,62,.24);background:linear-gradient(135deg,rgba(216,255,62,.08),var(--panel) 55%)}
.assistant-hero h3{font-size:1.45rem;margin:.25rem 0 .45rem}.assistant-hero p:not(.eyebrow){margin:0;color:var(--muted);line-height:1.5;max-width:720px}
.assistant-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:14px}.assistant-kpis article{display:flex;align-items:center;gap:14px;padding:18px}.assistant-kpis div{display:grid;gap:3px}.assistant-kpis small{color:var(--muted)}.assistant-kpis strong{font-size:1.7rem}.assistant-icon,.task-kind{display:grid;place-items:center;flex:0 0 auto;border-radius:14px;background:var(--panel2);color:var(--lime);font-weight:800}.assistant-icon{width:46px;height:46px;font-size:1.25rem}.assistant-icon.quote,.task-kind.quote{color:#ffd46a}.assistant-icon.intake,.task-kind.intake{color:#75c7ff}
.assistant-title{align-items:end;margin-top:24px}.assistant-title small{color:var(--muted)}.assistant-task-list{display:grid;gap:10px}.assistant-task{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:15px 17px}.task-kind{width:40px;height:40px}.assistant-task>div{display:grid;gap:3px}.assistant-task span,.assistant-task small{color:var(--muted)}
@media(max-width:700px){.assistant-hero{align-items:flex-start;flex-direction:column}.assistant-kpis{grid-template-columns:1fr}.assistant-task{grid-template-columns:auto 1fr}.assistant-task button{grid-column:1/-1;width:100%}.assistant-title{align-items:flex-start;flex-direction:column}}
.admin-add {
  margin-bottom: 2px;
}
.small-btn {
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  border-radius: 9px;
  padding: 7px 10px;
}
.small-btn.danger {
  color: #ff9183;
}
.locked {
  color: var(--lime);
  font-size: 11px;
  font-weight: 800;
}
.profile-hero p {
  margin: 3px 0;
}
.feed {
  max-width: none;
}
.feed-card {
  max-width: 900px;
}
@media (max-width: 850px) {
  .auth-gate {
    grid-template-columns: 1fr;
    padding: 120px 20px 45px;
  }
  .auth-copy h1 {
    font-size: 44px;
  }
  .auth-brand {
    left: 20px;
    top: 30px;
  }
  .auth-copy > p:not(.eyebrow) {
    font-size: 16px;
  }
  .consult-grid {
    grid-template-columns: 1fr;
  }
  .account-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  .welcome {
    padding: 28px;
  }
  .welcome-mark {
    display: none;
  }
  .admin-head {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }
}
.membership-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}
.membership-box h3 {
  margin: 0 0 6px;
}
.membership-box p:not(.eyebrow) {
  color: var(--muted);
  margin: 0;
}
.membership-box .pill {
  white-space: nowrap;
}
.diet-labels {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  padding-right: 72px;
}
.diet-labels span {
  color: var(--lime);
  background: #d8ff3e12;
  border: 1px solid #d8ff3e33;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 800;
}
.admin-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.admin-kpis article {
  padding: 22px;
  display: grid;
  gap: 8px;
}
.admin-kpis small {
  color: var(--muted);
}
.admin-kpis strong {
  font-size: 30px;
}
.admin-chart {
  padding: 26px;
  margin-top: 16px;
}
.chart-row {
  display: grid;
  grid-template-columns: 130px 1fr 45px;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.chart-row > div {
  height: 12px;
  background: var(--panel2);
  border-radius: 999px;
  overflow: hidden;
}
.chart-row i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--lime2), var(--lime));
  border-radius: 999px;
}
.chart-row b {
  text-align: right;
}
@media (max-width: 850px) {
  .admin-kpis {
    grid-template-columns: 1fr 1fr;
  }
  .membership-box {
    align-items: flex-start;
    flex-direction: column;
  }
  .chart-row {
    grid-template-columns: 100px 1fr 32px;
  }
}
@media (max-width: 520px) {
  .admin-kpis {
    grid-template-columns: 1fr;
  }
}
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product > img,
.product-placeholder {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(145deg, #20261b, #101314);
  display: grid;
  place-items: center;
  color: #d8ff3e;
  font-size: 64px;
  font-weight: 900;
}
.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-category {
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 9px;
}
.product-body h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.product-body > p {
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.product-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 14px 0 18px;
}
.product-meta strong {
  font-size: 24px;
}
.product-meta small {
  color: var(--muted);
}
.product button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (max-width: 1050px) {
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .store-grid {
    grid-template-columns: 1fr;
  }
  .product > img,
  .product-placeholder {
    height: 200px;
  }
}
.forum-rules {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) 1.3fr;
  gap: 24px;
  padding: 24px;
  margin-bottom: 22px;
}
.forum-rules h3 {
  margin: 0;
}
.forum-rules ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 9px;
  color: var(--muted);
  line-height: 1.45;
}
.forum-rules li::marker {
  color: var(--lime);
}
@media (max-width: 700px) {
  .forum-rules {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }
}
.feed-photo {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 14px;
  margin-top: 14px;
  background: var(--panel2);
}
.file-field input {
  padding: 10px;
}
.photo-preview {
  display: none;
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 8px;
}
.photo-preview.visible {
  display: block;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* FormaVibe visual refresh */
:root {
  --bg: #070a09;
  --panel: #111714;
  --panel2: #18211c;
  --line: #2a362f;
  --text: #f6f9f4;
  --muted: #9ba8a0;
  --lime: #d9ff49;
  --lime2: #9fe328;
  --shadow: 0 22px 60px #0008;
}
body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 6%, #23432966 0, transparent 28%),
    radial-gradient(circle at 16% 88%, #17342955 0, transparent 32%), var(--bg);
  background-attachment: fixed;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(#ffffff05 1px, transparent 1px),
    linear-gradient(90deg, #ffffff05 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
.side {
  background: linear-gradient(180deg, #0b100ed9, #080b0aef);
  backdrop-filter: blur(20px);
  border-right-color: #ffffff12;
  box-shadow: 18px 0 55px #0003;
}
.brand span,
.auth-brand span {
  background: linear-gradient(145deg, var(--lime), #8fe12d);
  box-shadow: 0 8px 28px #b8ff3440;
  transform: rotate(-3deg);
}
.side nav button {
  position: relative;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.side nav button:hover {
  transform: translateX(3px);
}
.side nav button.active {
  background: linear-gradient(90deg, #d9ff4918, #8fe12d09);
  box-shadow: inset 0 0 0 1px #d9ff4920;
}
.side nav button.active:before {
  content: "";
  position: absolute;
  left: -6px;
  width: 3px;
  height: 24px;
  border-radius: 5px;
  background: var(--lime);
  box-shadow: 0 0 16px #d9ff49;
}
main {
  position: relative;
}
header {
  padding: 8px 4px 0;
}
header h1 {
  font-weight: 800;
}
.icon {
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 22px #0004;
}
.card {
  background: linear-gradient(145deg, #162019e8, #0e1411f2);
  border-color: #ffffff14;
  box-shadow:
    0 22px 55px #0006,
    inset 0 1px #ffffff08;
  backdrop-filter: blur(12px);
}
.welcome {
  position: relative;
  overflow: hidden;
  padding: 42px;
  background:
    radial-gradient(circle at 88% 18%, #d9ff492a, transparent 26%),
    linear-gradient(120deg, #17251c, #0e1512 70%);
  border-color: #d9ff493b;
}
.welcome:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(110deg, #d9ff4970, transparent 40%, #ffffff12);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.welcome h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  max-width: 760px;
  margin-bottom: 14px;
}
.welcome > div:first-child > p:not(.eyebrow) {
  max-width: 650px;
  color: #c3cec6;
  line-height: 1.65;
}
.welcome-mark {
  filter: drop-shadow(0 0 30px #d9ff494c);
  opacity: 0.9;
}
.pill {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}
.pill:hover {
  transform: translateY(-2px);
}
.pill.primary {
  background: linear-gradient(135deg, var(--lime), #9ee82d);
  box-shadow: 0 9px 28px #b9ff3330;
}
.pill.primary:hover {
  box-shadow: 0 12px 34px #b9ff3345;
  filter: saturate(1.08);
}
.mini,
.product,
.stat,
.feed-card,
.profile-grid button {
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.mini:hover,
.product:hover,
.feed-card:hover {
  transform: translateY(-4px);
  border-color: #d9ff4938;
  box-shadow: 0 28px 65px #0008;
}
.mini-icon {
  background: #d9ff490b;
  box-shadow: inset 0 0 18px #d9ff490b;
}
.mini h3 {
  font-size: 18px;
}
.split-title h2,
.admin-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
}
.no-sub {
  background: #d9ff4912;
  border: 1px solid #d9ff4933;
  color: var(--lime);
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 800;
}
.product > img,
.product-placeholder {
  border-bottom: 1px solid #ffffff12;
}
.product-body {
  background: linear-gradient(180deg, transparent, #0002);
}
.forum-rules {
  background: linear-gradient(135deg, #18271c, #101712);
}
.feed-card {
  border-color: #ffffff12;
}
.feed-photo {
  box-shadow: 0 14px 34px #0006;
}
.profile-grid button {
  background: linear-gradient(145deg, #172019, #111713);
  border-color: #ffffff12;
}
.profile-grid button:hover {
  transform: translateY(-2px);
  border-color: #d9ff4935;
}
.auth-gate {
  background:
    radial-gradient(circle at 12% 24%, #325d3660, transparent 33%),
    radial-gradient(circle at 88% 75%, #203e2d80, transparent 30%), #080b09;
}
.auth-card {
  border-color: #d9ff4929;
  box-shadow: 0 30px 90px #000a;
}
.auth-copy h1 {
  background: linear-gradient(110deg, #fff 30%, #c9ff68);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
dialog {
  background: linear-gradient(145deg, #151d18, #0d120f);
  border-color: #ffffff18;
  box-shadow: 0 35px 110px #000c;
}
body.light {
  background:
    radial-gradient(circle at 82% 6%, #dff3c7 0, transparent 30%),
    radial-gradient(circle at 14% 90%, #dceee2 0, transparent 34%), var(--bg);
}
body.light .side {
  background: #f7faf5eb;
  border-right-color: #26352b14;
}
body.light .card {
  background: linear-gradient(145deg, #fff, #f5f8f3);
  border-color: #26352b16;
  box-shadow:
    0 20px 48px #23301e18,
    inset 0 1px #fff;
}
body.light .welcome {
  background:
    radial-gradient(circle at 88% 18%, #b6ea5760, transparent 27%),
    linear-gradient(120deg, #f6fff0, #edf7e9 70%);
}
body.light .welcome > div:first-child > p:not(.eyebrow) {
  color: #536159;
}
body.light .profile-grid button {
  background: linear-gradient(145deg, #fff, #f1f6ee);
  border-color: #26352b16;
}
body.light dialog {
  background: #fff;
  border-color: #26352b22;
}
body.light .mobile-nav {
  background: #f8fbf7ee !important;
  border-top-color: #26352b18 !important;
}
@media (max-width: 850px) {
  main {
    padding-top: 24px;
  }
  .welcome {
    padding: 30px 24px;
  }
  .welcome h2 {
    font-size: 34px;
  }
  .mobile-nav {
    background: #0b100eea !important;
    backdrop-filter: blur(18px);
    border-top: 1px solid #ffffff16 !important;
    box-shadow: 0 -14px 40px #0008;
  }
  .mobile-nav button.active {
    color: var(--lime) !important;
  }
  .mobile-nav button.active i {
    background: #d9ff4916;
    border-radius: 12px;
    box-shadow: 0 0 20px #d9ff4918;
  }
  .card {
    border-radius: 18px;
  }
}
@media (max-width: 520px) {
  body:before {
    display: none;
  }
  header {
    margin-bottom: 24px;
  }
  .welcome {
    padding: 26px 20px;
  }
  .welcome h2 {
    font-size: 30px;
  }
  .split-title {
    align-items: flex-start;
    gap: 14px;
  }
  .no-sub {
    font-size: 12px;
  }
  .mini:hover,
  .product:hover,
  .feed-card:hover {
    transform: none;
  }
}

.vip-gold {
  color: #ffd66b;
}
.vip-gate {
  max-width: 620px;
  margin: 8vh auto 0;
  padding: 42px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, #7d5d1f3d, transparent 44%),
    linear-gradient(145deg, #1e1b12, #10130f);
  border-color: #d9ab3c55;
}
.vip-lock {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffe390, #be801b);
  color: #241906;
  font-size: 34px;
  box-shadow: 0 15px 45px #d8a52e38;
}
.vip-gate h2 {
  font-size: clamp(28px, 4vw, 42px);
}
.vip-gate > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}
.vip-code-form {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}
.vip-code-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d9ab3c66;
  background: #0b0d0c;
  color: var(--text);
  border-radius: 999px;
  padding: 13px 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.vip-button {
  background: linear-gradient(135deg, #ffe38a, #c58b22);
  color: #241806;
  box-shadow: 0 9px 28px #c9932930;
}
.vip-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px;
  margin-bottom: 28px;
  background:
    radial-gradient(circle at 90% 30%, #e2b44532, transparent 28%),
    linear-gradient(125deg, #211e13, #101410);
  border-color: #d9ab3c55;
}
.vip-banner p:not(.eyebrow) {
  color: #bfc6c0;
  max-width: 720px;
  margin: 8px 0 0;
  line-height: 1.6;
}
.vip-banner > span {
  font-size: 94px;
  color: #e4b84f30;
}
.vip-code-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #ffd66b;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.vip-used {
  color: var(--muted);
}
body.light .vip-gate,
body.light .vip-banner {
  background:
    radial-gradient(circle at 85% 10%, #ffe8a680, transparent 35%),
    linear-gradient(145deg, #fffdf5, #f7f1df);
  border-color: #b7832f55;
}
body.light .vip-code-form input {
  background: #fff;
  color: #171a18;
}
@media (max-width: 700px) {
  .mobile-nav button {
    min-width: 46px;
    font-size: 10px;
  }
  .vip-gate {
    margin: 4vh auto 0;
    padding: 30px 20px;
  }
  .vip-code-form {
    flex-direction: column;
  }
  .vip-banner {
    padding: 25px 20px;
  }
  .vip-banner > span {
    display: none;
  }
}

/* Visible entry points for the peptide VIP forum. */
.account-grid {
  grid-template-columns: repeat(4, 1fr);
}
.home-action {
  color: var(--text);
  text-align: left;
  cursor: pointer;
  width: 100%;
  font: inherit;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.home-action:hover {
  border-color: #d8ff3e55;
  transform: translateY(-2px);
}
.vip-home {
  background:
    radial-gradient(circle at 100% 0, #d6a93630, transparent 45%),
    linear-gradient(145deg, #211d12, #111411);
  border-color: #d9ab3c55;
}
.vip-home .mini-icon,
.vip-home p {
  color: #ffd66b;
}
.vip-nav {
  color: #e8bb52 !important;
}
.vip-nav.active {
  color: #ffe08a !important;
}
.vip-entry {
  position: relative;
}
.vip-entry .vip-chip {
  margin-left: auto;
}
.vip-gem {
  color: #ffe07a;
  text-shadow: 0 0 12px #e9b93e99;
}
.vip-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 3px 7px;
  border: 1px solid #ffd86a77;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe38a, #b97911);
  color: #241806;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .08em;
  box-shadow: 0 5px 16px #c9932940;
}
.vip-home p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mobile-nav .vip-nav {
  position: relative;
}
.mobile-nav .vip-nav:after {
  content: "VIP";
  position: absolute;
  top: 2px;
  right: 2px;
  padding: 1px 4px;
  border-radius: 999px;
  background: #e3ad35;
  color: #241806;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .05em;
}
@media (max-width: 850px) {
  .account-grid {
    grid-template-columns: 1fr;
  }
}

.forum-chat { max-width: 920px; margin: 0 auto; padding: 0; overflow: hidden; background: #0b141a; }
.forum-chat-head { display: flex; align-items: center; gap: 11px; min-height: 66px; padding: 9px 12px; border-bottom: 1px solid #ffffff10; background: #202c33; }
.forum-chat-head h2 { margin: 0; font-size: 18px; }
.forum-chat-head p { margin: 2px 0 0; color: #aebac1; font-size: 12px; }
.forum-head-copy { flex: 1; min-width: 0; }
.forum-group-icon { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, var(--lime), #78a918); color: #10150e; font-weight: 900; }
.chat-back, .chat-menu { width: 34px; height: 40px; flex: 0 0 34px; padding: 0; border: 0; background: transparent; color: #e9edef; font-size: 34px; line-height: 1; cursor: pointer; }
.chat-menu { font-size: 28px; }
.vip-group-icon { background: linear-gradient(145deg, #ffe38a, #b97911); }
.forum-online { margin-left: auto; color: #74d99f; font-size: 12px; font-weight: 700; }
.forum-chat .forum-rules { margin: 0; padding: 14px 18px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #111815; }
.forum-chat .forum-rules ul { margin-bottom: 0; }
.forum-safety { padding: 11px 18px; color: #e9c96e; background: #2a2415; font-size: 12px; }
.forum-chat .feed { min-height: 390px; max-height: calc(100vh - 270px); overflow-y: auto; display: flex; flex-direction: column-reverse; gap: 7px; padding: 12px 10px; background-color: #0b141a; background-image: radial-gradient(#ffffff0d 1px, transparent 1px), linear-gradient(135deg, #101c23 25%, transparent 25%); background-size: 18px 18px, 36px 36px; }
.forum-message { display: flex; align-items: flex-end; gap: 8px; max-width: 78%; }
.forum-message.mine { align-self: flex-end; flex-direction: row-reverse; }
.forum-message-avatar .avatar { width: 32px; height: 32px; font-size: 12px; }
.forum-bubble { min-width: 130px; padding: 7px 9px 5px; border-radius: 3px 9px 9px 9px; background: #202c33; box-shadow: 0 1px 2px #00000055; }
.forum-message.mine .forum-bubble { border-radius: 9px 3px 9px 9px; background: #005c4b; }
.forum-author { margin-bottom: 3px; color: #8fe5ad; font-size: 12px; font-weight: 800; }
.forum-topic { display: block; margin-bottom: 3px; font-size: 14px; }
.forum-bubble p { margin: 0; line-height: 1.45; white-space: pre-wrap; }
.forum-bubble small { display: block; margin-top: 4px; color: #aab8b0; font-size: 10px; text-align: right; }
.forum-bubble .feed-photo { max-height: 320px; margin-top: 7px; border-radius: 9px; }
.vip-bubble { border: 1px solid #d9ab3c33; }
.forum-composer { width: calc(100% - 24px); min-height: 50px; margin: 12px; padding: 7px 9px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 999px; background: #1b2521; color: var(--text); cursor: pointer; text-align: left; }
.forum-composer span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #2a3731; font-size: 21px; }
.forum-composer b { flex: 1; color: var(--muted); font-weight: 500; }
.forum-composer i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: #111; font-style: normal; }
.vip-composer i { background: linear-gradient(145deg, #ffe38a, #b97911); }
.forum-inline-composer { display: flex; align-items: flex-end; gap: 7px; padding: 7px 8px 9px; border-top: 0; background: #0b141a; }
.forum-inline-composer textarea { flex: 1; min-width: 0; min-height: 44px; max-height: 112px; resize: none; overflow-y: auto; padding: 11px 14px; border: 0; border-radius: 24px; background: #202c33; color: #e9edef; font: inherit; line-height: 1.35; outline: none; }
.forum-inline-composer textarea:focus { box-shadow: inset 0 0 0 1px rgba(216,255,73,.35); }
.composer-icon, .composer-send { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #202c33; color: #aebac1; font-size: 24px; cursor: pointer; }
.composer-send { background: #00a884; color: #fff; font-size: 18px; }
.vip-inline-composer .composer-send { background: linear-gradient(145deg, #ffe38a, #b97911); }
.attach-button { position: relative; }
.attach-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.composer-extras { flex-basis: 100%; order: 5; }
.forum-inline-composer { flex-wrap: wrap; }
.composer-extras:has(.emoji-picker.hidden) .emoji-picker + .photo-preview:not(.visible) { display: none; }
.composer-extras .emoji-picker { margin-top: 8px; }
.composer-extras .photo-preview { max-width: 110px; max-height: 90px; margin: 7px 0 2px 91px; border-radius: 10px; }
.folder-empty { grid-column: 1/-1; display: flex; flex-direction: column; gap: 4px; padding: 15px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); }
.folder-empty b { color: var(--text); }
.forum-resource-tabs { display: flex; gap: 7px; padding: 7px 9px; overflow-x: auto; border-bottom: 1px solid #ffffff10; background: #111b21; }
.forum-resource-tabs:empty, .forum-resource-content:empty { display: none; }
.forum-resource-tabs button { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid #ffffff14; border-radius: 999px; background: #202c33; color: #aebac1; white-space: nowrap; cursor: pointer; }
.forum-resource-tabs button.active { border-color: #00a88488; color: #e9edef; background: #005c4b; }
.forum-resource-tabs i { font-style: normal; }
.forum-resource-tabs b { color: var(--lime); font-size: 11px; }
.forum-resource-content { padding: 12px; border-bottom: 1px solid var(--line); background: #111815; }
.forum-resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.forum-resource-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #1a231f; }
.forum-resource-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.forum-resource-card > div { padding: 12px; }
.forum-resource-card span { color: var(--lime); font-size: 11px; font-weight: 800; }
.forum-resource-card h3 { margin: 5px 0; font-size: 16px; }
.forum-resource-card p { margin: 0 0 8px; color: var(--muted); white-space: pre-wrap; }
.forum-resource-card small { color: var(--muted); }
.private-chat-head { display: flex; align-items: center; gap: 11px; padding: 12px 4px 15px; border-bottom: 1px solid var(--line); }
.private-chat-head > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: #111; font-weight: 900; }
.private-chat-head div { display: flex; flex-direction: column; gap: 2px; }
.private-chat-head small { color: var(--muted); }
.whatsapp-thread { padding: 18px 8px; background-image: radial-gradient(#d8ff490d 1px, transparent 1px); background-size: 18px 18px; }
.whatsapp-thread .message-bubble { border-radius: 6px 15px 15px 15px; }
.whatsapp-thread .from-admin { border-radius: 15px 6px 15px 15px; background: #244b37; }
.whatsapp-thread .message-bubble small { text-align: right; display: block; }
.forum-message[data-forum-message] .forum-bubble { cursor: pointer; transition: filter .15s ease, transform .15s ease; }
.forum-message[data-forum-message] .forum-bubble:active { filter: brightness(1.18); transform: scale(.99); }
.emoji-picker { width: min(100%, 420px); max-height: 285px; overflow: hidden; border: 1px solid #ffffff1c; border-radius: 16px; background: #202c33; box-shadow: 0 14px 34px #0008; }
.emoji-categories { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid #ffffff18; background: #111b21; }
.vip-emoji-picker .emoji-categories { grid-template-columns: repeat(5, 1fr); }
.emoji-categories button { height: 43px; border: 0; border-bottom: 3px solid transparent; background: transparent; font-size: 20px; cursor: pointer; opacity: .7; }
.emoji-categories button.active { border-bottom-color: #00a884; opacity: 1; background: #ffffff08; }
.vip-emoji-picker .emoji-categories button.active { border-bottom-color: #e9bd58; }
.emoji-grid { display: grid; grid-template-columns: repeat(8, minmax(36px, 1fr)); gap: 3px; max-height: 224px; overflow-y: auto; padding: 10px; }
.emoji-grid button { width: 100%; min-width: 36px; height: 39px; border: 0; border-radius: 9px; background: transparent; font-size: 23px; cursor: pointer; }
.emoji-grid button:hover, .emoji-grid button:focus-visible { background: #ffffff12; }
@media (max-width: 520px) { .emoji-picker { width: 100%; max-height: 270px; } .emoji-grid { grid-template-columns: repeat(7, minmax(34px, 1fr)); max-height: 210px; padding: 8px; } }
.message-action-list { display: grid; gap: 10px; margin-top: 18px; }
.pill.danger { background: rgba(255, 79, 79, .12); color: #ff7d7d; border-color: rgba(255, 79, 79, .3); }
.whatsapp-composer { align-items: center; border-radius: 999px; padding: 6px; background: var(--panel2); }
.whatsapp-composer textarea { min-height: 42px; max-height: 120px; border: 0; background: transparent; padding: 10px 13px; }
.whatsapp-composer button { width: 42px; height: 42px; min-width: 42px; padding: 0; border-radius: 50%; }
.conversation-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.client-chat-section { margin: 16px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--panel2); }
.client-chat-section .conversation-title { padding: 12px 14px 0; }
.client-chat-section .whatsapp-thread { min-height: 220px; max-height: 46vh; overflow-y: auto; }
.client-chat-section .whatsapp-composer { margin: 0 10px 10px; }
.client-diet-section { margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel2); }
.client-diet-section h3, .client-diet-section p { margin: 0; }
.diet-edit-details { margin-top: 14px; }
.diet-edit-details summary { padding: 11px 13px; border-radius: 10px; background: var(--panel); color: var(--lime); font-weight: 800; cursor: pointer; }
.diet-edit-details .diet-editor { margin-top: 12px; }
body.light .forum-chat { background: #f0f2f0; }
body.light .forum-chat-head { background: #e9f1ed; }
body.light .forum-chat .feed { background-color: #e8eee9; }
body.light .forum-bubble { background: #fff; }
body.light .forum-message.mine .forum-bubble { background: #d8f8df; }
body.light .forum-composer { background: #fff; }
body.light .forum-inline-composer { background: #e9f1ed; }
body.light .forum-inline-composer textarea,
body.light .composer-icon { background: #fff; }
@media (max-width: 700px) {
  #community.view.active, #vip.view.active { padding: 0; }
  .forum-chat { display: flex; flex-direction: column; height: calc(100dvh - 74px); margin: -8px -12px 0; border: 0; border-radius: 0; }
  .forum-chat .feed { flex: 1; min-height: 0; max-height: none; padding: 10px 8px; }
  .forum-chat-head { flex: 0 0 auto; }
  .forum-resource-tabs { flex: 0 0 auto; }
  .forum-inline-composer { flex: 0 0 auto; }
  .forum-message { max-width: 91%; }
  .forum-chat .forum-rules { padding: 11px 14px; }
  .forum-chat .forum-rules ul { display: none; }
  .forum-chat .forum-rules h3 { font-size: 14px; margin: 0; }
  .forum-online { display: none; }
}

.diet-dashboard {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
}
.diet-summary {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
}
.calorie-ring {
  --value: 0;
  position: relative;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: conic-gradient(
    var(--lime) calc(var(--value) * 1%),
    rgba(255, 255, 255, 0.08) 0
  );
}
.calorie-ring:before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--card);
}
.calorie-ring strong,
.calorie-ring span {
  position: relative;
}
.calorie-ring strong {
  font-size: 1.7rem;
}
.calorie-ring span {
  font-size: 0.72rem;
  color: var(--muted);
}
.meal-checklist {
  padding: 22px;
}
.meal-check {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.meal-check:last-child {
  border-bottom: 0;
}
.meal-check input {
  width: 21px;
  height: 21px;
  accent-color: var(--lime);
}
.meal-check span {
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: 16px;
}
.meal-check small {
  color: var(--muted);
}
.meal-check.done b {
  text-decoration: line-through;
  opacity: 0.65;
}
.extra-box,
.weekly-box {
  padding: 22px;
}
.inline-form {
  display: grid;
  grid-template-columns: 1fr 110px auto;
  gap: 10px;
  margin: 16px 0;
}
.inline-form input {
  min-width: 0;
}
.extra-list,
.weight-history {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.extra-list span,
.weight-history span {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}
.weight-history {
  margin-top: 14px;
}
.weight-history span small {
  color: var(--muted);
}
@media (max-width: 760px) {
  .diet-dashboard {
    grid-template-columns: 1fr;
  }
  .diet-summary {
    align-items: flex-start;
  }
  .calorie-ring {
    width: 105px;
    height: 105px;
    flex: 0 0 auto;
  }
  .inline-form {
    grid-template-columns: 1fr 90px;
  }
  .inline-form button {
    grid-column: 1/-1;
  }
  .meal-check span {
    flex-direction: column;
    gap: 2px;
  }
}
.template-download {
  display: flex;
  margin: 16px 0;
  text-decoration: none;
  justify-content: center;
}
.day-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  margin-bottom: 4px;
}
.day-tabs button {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 15px;
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
}
.day-tabs button.active {
  background: var(--lime);
  color: #142014;
  border-color: var(--lime);
  font-weight: 800;
}
.macro-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}
.macro-strip span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(216, 255, 62, 0.1);
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 700;
}
.swap-day-box {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
}
.swap-day-box h3 {
  margin: 2px 0;
}
.swap-day-box select {
  max-width: 280px;
}
.meal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
.meal-row:last-child {
  border-bottom: 0;
}
.meal-row .meal-check {
  border-bottom: 0;
  flex: 1;
}
.meal-row.done b {
  text-decoration: line-through;
  opacity: 0.65;
}
.macro-form {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) repeat(4, 82px) auto;
  gap: 8px;
  margin: 16px 0;
}
.macro-form input {
  min-width: 0;
}
.weekly-summary {
  padding: 22px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(216, 255, 62, 0.16),
      transparent 42%
    ),
    var(--card);
}
.week-total {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0;
}
.week-total strong {
  font-size: 2.4rem;
}
.week-total span {
  color: var(--muted);
}
.macro-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.macro-cards span {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}
.macro-cards small {
  color: var(--muted);
  margin-bottom: 4px;
}
@media (max-width: 760px) {
  .swap-day-box {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .swap-day-box select {
    max-width: none;
    width: 100%;
  }
  .meal-row {
    align-items: flex-start;
    padding: 4px 0;
  }
  .meal-row .small-btn {
    margin-top: 12px;
  }
  .macro-form {
    grid-template-columns: repeat(2, 1fr);
  }
  .macro-form input:first-child {
    grid-column: 1/-1;
  }
  .macro-form button {
    grid-column: 1/-1;
  }
  .macro-cards {
    grid-template-columns: 1fr;
  }
  .day-tabs {
    margin-left: -3px;
    margin-right: -3px;
  }
}

/* Final visual overrides — forum first */
:root{--bg:#070b0d;--panel:#10171a;--panel2:#182226;--line:rgba(255,255,255,.085);--text:#f5f8f7;--muted:#96a3a7;--lime:#bdfb42;--lime2:#8fd21f;--shadow:0 24px 70px rgba(0,0,0,.42)}
body{background:radial-gradient(circle at 75% -10%,rgba(105,160,45,.12),transparent 30rem),linear-gradient(180deg,#080d0f,#070a0c)}
.side{background:rgba(8,13,15,.9);border-right-color:rgba(255,255,255,.07);backdrop-filter:blur(22px)}
.side nav button.active{border-color:rgba(189,251,66,.16);background:linear-gradient(90deg,rgba(189,251,66,.14),rgba(189,251,66,.035));box-shadow:inset 3px 0 0 var(--lime)}
main{max-width:1380px}.card{border-color:var(--line);box-shadow:0 18px 55px rgba(0,0,0,.22)}
.welcome{position:relative;overflow:hidden;min-height:240px;padding:clamp(27px,4vw,52px);border:1px solid rgba(189,251,66,.18);background:radial-gradient(circle at 92% 18%,rgba(189,251,66,.2),transparent 19rem),linear-gradient(135deg,#14201d,#0e1517 64%)}
.welcome h2{font-size:clamp(28px,4vw,46px)}.welcome p:not(.eyebrow){max-width:640px;color:#b5c1bd;line-height:1.65}.welcome-mark{z-index:1;border:1px solid rgba(189,251,66,.2);background:rgba(189,251,66,.08);color:var(--lime)}
.section-title{margin-top:30px}.section-title p{color:var(--muted);margin:4px 0 0}.account-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.mini.home-action{position:relative;min-height:190px;padding:24px;overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:22px;background:linear-gradient(155deg,rgba(25,35,39,.96),rgba(13,20,22,.96));transition:.2s ease}
.mini.home-action:after{content:"›";position:absolute;right:21px;top:22px;color:#667276;font-size:26px}.mini.home-action:hover{transform:translateY(-3px);border-color:rgba(189,251,66,.28);box-shadow:0 24px 60px rgba(0,0,0,.32)}
.mini.home-action .mini-icon{width:52px;height:52px;border-radius:17px;background:rgba(189,251,66,.11);color:var(--lime);font-size:23px}.mini.home-action p{margin-top:20px}.mini.home-action h3{font-size:20px;margin-bottom:8px}.mini.home-action small{color:var(--muted);line-height:1.5}
.mini.vip-home{border-color:rgba(245,200,91,.22);background:radial-gradient(circle at 80% 0,rgba(245,200,91,.14),transparent 14rem),linear-gradient(155deg,#211c13,#111718)}.mini.vip-home .mini-icon{color:#f5c85b;background:rgba(245,200,91,.11)}.admin-contact-home .mini-icon{color:#83d6ff!important;background:rgba(67,176,227,.1)!important}
.forum-chat{max-width:1000px;border-radius:24px;border:1px solid rgba(255,255,255,.085);background:#0a1114;box-shadow:0 30px 85px rgba(0,0,0,.42)}
.forum-chat-head{min-height:76px;padding:11px 18px;background:rgba(22,33,38,.95);backdrop-filter:blur(18px)}.forum-group-icon{width:49px;height:49px;flex-basis:49px}.forum-chat-head h2{font-size:19px}
.forum-resource-tabs{padding:9px 12px;gap:8px;background:#10191d}.forum-resource-tabs button{min-height:37px;padding:8px 13px;border-radius:12px;background:#182329}.forum-resource-tabs button.active{border-color:rgba(189,251,66,.3);background:rgba(189,251,66,.12)}
.forum-resource-content{background:#0e171a}.forum-resource-card{border-radius:16px;background:linear-gradient(145deg,#192327,#121a1d)}
.forum-chat .feed{min-height:480px;padding:20px 15px 24px;gap:9px;background-color:#0b1317;background-image:radial-gradient(circle at 20% 25%,rgba(255,255,255,.028) 0 1px,transparent 2px),radial-gradient(circle at 80% 72%,rgba(189,251,66,.022) 0 1px,transparent 2px);background-size:38px 38px,46px 46px}
.forum-message{max-width:76%;gap:9px}.forum-message-avatar .avatar{width:35px;height:35px}.forum-bubble{padding:9px 11px 7px;border-radius:5px 15px 15px 15px;background:#1c292f;box-shadow:0 4px 14px rgba(0,0,0,.22)}.forum-message.mine .forum-bubble{border-radius:15px 5px 15px 15px;background:linear-gradient(145deg,#176048,#0e4b3b)}.forum-bubble p{font-size:15px;line-height:1.5}.forum-bubble small{font-size:11px}
.forum-inline-composer{padding:10px 12px 12px;gap:8px;background:#10191d;border-top:1px solid rgba(255,255,255,.07)}.forum-inline-composer textarea{min-height:48px;padding:13px 17px;border:1px solid rgba(255,255,255,.065);background:#1a252a}.forum-inline-composer textarea:focus{border-color:rgba(189,251,66,.28);box-shadow:0 0 0 3px rgba(189,251,66,.06)}.composer-icon,.composer-send{width:44px;height:44px;flex:0 0 44px}
.emoji-picker{border-radius:18px;border-color:rgba(255,255,255,.1);box-shadow:0 25px 65px rgba(0,0,0,.5)}.vip-gate{max-width:620px;border-radius:28px;box-shadow:0 34px 100px rgba(0,0,0,.48)}
.mobile-nav{background:rgba(10,15,17,.94);backdrop-filter:blur(22px);border-top-color:rgba(255,255,255,.08)}
@media(max-width:900px){.account-grid{grid-template-columns:1fr}.mini.home-action{min-height:146px}}
@media(max-width:760px){main{padding:8px 12px calc(94px + env(safe-area-inset-bottom))}main>header{display:none}#home.view.active{padding-top:10px}.welcome{min-height:210px;padding:27px 23px;border-radius:22px}.welcome h2{font-size:31px}.welcome-mark{display:none}.welcome .pill{width:100%;justify-content:center}.section-title{margin:25px 2px 14px}.mini.home-action{min-height:132px;padding:19px;border-radius:19px}.mini.home-action .mini-icon{width:44px;height:44px;border-radius:14px}.mini.home-action p{margin-top:14px}.forum-chat{height:calc(100dvh - 78px);margin:-8px -12px 0;border-radius:0}.forum-chat-head{min-height:68px;padding:9px 10px}.forum-group-icon{width:45px;height:45px;flex-basis:45px}.forum-chat .feed{padding:13px 9px 17px}.forum-message{max-width:92%}.forum-message-avatar .avatar{width:31px;height:31px}.forum-bubble{max-width:calc(100vw - 76px)}.forum-inline-composer{padding-bottom:calc(10px + env(safe-area-inset-bottom))}.composer-icon,.composer-send{width:42px;height:42px;flex-basis:42px}.forum-inline-composer textarea{min-height:44px;padding:11px 14px}}

/* FV monogram */
.brand span,.auth-brand span{width:39px;height:39px;border-radius:13px 6px 13px 6px;font-size:13px;font-weight:900;letter-spacing:-.08em;background:linear-gradient(145deg,#d8ff60,#91d723);box-shadow:0 9px 26px rgba(163,224,47,.22)}
.welcome-mark{font-size:45px;letter-spacing:-.11em;font-weight:900;background:linear-gradient(145deg,rgba(216,255,96,.13),rgba(145,215,35,.05));text-shadow:0 0 32px rgba(189,251,66,.22)}
.remember-login{display:flex!important;align-items:center;gap:10px;color:var(--muted);font-size:14px;font-weight:600;cursor:pointer}.remember-login input{width:18px!important;height:18px;accent-color:var(--lime);flex:0 0 auto}
