
.access-state p{
  font-size:clamp(15px,1.55vw,18px) !important;
  line-height:1.58 !important;
  max-width:680px !important;
  padding-top:18px !important;
}
.access-note{
  font-size:15px;
  max-width:720px;
}
.access-state .btn{
  font-weight:620;
}
@media(max-width:760px){
  .access-visual{
    height:108px !important;
  }
  .access-orb{
    width:64px !important;
    height:64px !important;
    border-radius:22px !important;
  }
  .access-state h2{
    font-size:clamp(28px,9vw,38px) !important;
    letter-spacing:-.04em !important;
  }
  .access-state p{
    font-size:15.5px !important;
  }
}


.feature-svg-detector path{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:900px){.relapse-form{grid-template-columns:58px 1fr}.relapse-form input:nth-child(3),.relapse-form input:nth-child(4),.relapse-form button{grid-column:1 / -1}.relapse-panel-head{display:grid}.relapse-score{width:100%;min-height:76px;display:flex;align-items:center;justify-content:center;gap:8px}.relapse-score span{margin-top:0}.relapse-check-form{grid-template-columns:1fr}.relapse-check-form button{width:100%}.relapse-item-head{grid-template-columns:46px 1fr}.relapse-time{grid-column:1 / -1;text-align:left;display:flex;gap:6px;align-items:baseline;padding-left:58px}}
@media(max-width:430px){.relapse-panel{padding:18px}.relapse-time{padding-left:0}.relapse-actions{display:grid}.relapse-actions button{width:100%}}

.relapse-panel:not(.hidden){
  display:block!important;
}

/* Fix topbar title wrapping: keep "Клуб Профессора" on one line */
.topbar h1{
  white-space: nowrap !important;
}

@media (max-width: 760px){
  .topbar{
    display: block !important;
    padding: 18px !important;
    min-height: auto !important;
  }
  .topbar h1{
    font-size: clamp(24px, 7.2vw, 34px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.055em !important;
    white-space: nowrap !important;
  }
  .topbar p{
    margin-top: 8px !important;
  }
  .topbar .badge,
  .badge{
    display: inline-flex !important;
    margin-top: 14px !important;
  }
}

@media (max-width: 360px){
  .topbar h1{
    font-size: 23px !important;
    letter-spacing: -0.06em !important;
  }
}


/* Relapse detector restored layout v10: full panel/card/form styles */
.relapse-panel{
  display:block;
  padding:22px;
  margin-bottom:16px;
  overflow:hidden;
  position:relative;
}
.relapse-panel.hidden{display:none!important;}
.relapse-panel:not(.hidden){display:block!important;}
.relapse-panel:before{
  content:"";
  position:absolute;
  right:-100px;
  top:-120px;
  width:300px;
  height:300px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(255,100,92,.17),rgba(247,198,106,.08) 44%,transparent 72%);
  filter:blur(16px);
  pointer-events:none;
}
.relapse-panel>*{position:relative;z-index:1;}
.relapse-detail-toolbar{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  margin-bottom:14px;
}
.relapse-back{
  min-height:40px;
  padding:0 15px;
}
.relapse-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.relapse-panel-head h3{
  font-size:clamp(24px,4vw,34px);
  letter-spacing:-.055em;
  margin:8px 0;
}
.relapse-panel-head p{
  margin:0;
  color:var(--muted);
  line-height:1.5;
  max-width:620px;
}
.relapse-score{
  flex:0 0 auto;
  min-width:118px;
  min-height:92px;
  border-radius:28px;
  display:grid;
  place-items:center;
  text-align:center;
  background:linear-gradient(145deg,rgba(255,100,92,.15),rgba(255,255,255,.045));
  border:1px solid rgba(255,100,92,.2);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}
.relapse-score strong{
  display:block;
  font-size:24px;
  letter-spacing:-.055em;
  color:#ffe2d9;
  line-height:1.05;
}
.relapse-score span{
  display:block;
  margin-top:-12px;
  color:var(--muted);
  font-size:12px;
  font-weight:650;
}
.relapse-insight{
  margin:18px 0;
  padding:15px 16px;
  border-radius:20px;
  background:rgba(255,100,92,.075);
  border:1px solid rgba(255,100,92,.15);
  color:#f4e2dc;
  line-height:1.48;
}
.relapse-form{
  display:grid;
  grid-template-columns:64px minmax(0,1fr) minmax(0,1.2fr) 190px auto;
  gap:10px;
  margin-bottom:12px;
  align-items:center;
}
.relapse-form input,
.relapse-check-form select,
.relapse-check-form input{
  width:100%;
  min-width:0;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.052);
  color:var(--text);
  font:inherit;
  outline:none;
  color-scheme:dark;
}
.relapse-form input{
  min-height:46px;
  border-radius:16px;
  padding:0 13px;
}
.relapse-form input:focus,
.relapse-check-form select:focus,
.relapse-check-form input:focus{
  border-color:rgba(255,100,92,.34);
  box-shadow:0 0 0 4px rgba(255,100,92,.08);
}
.relapse-form button{
  white-space:nowrap;
}
.relapse-quick-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:16px;
}
.relapse-quick-row button{
  border:1px solid rgba(255,255,255,.11);
  border-radius:999px;
  background:rgba(255,255,255,.045);
  color:var(--soft);
  padding:9px 12px;
  font:inherit;
  font-size:13px;
  font-weight:650;
  cursor:pointer;
}
.relapse-quick-row button:hover{
  border-color:rgba(247,198,106,.28);
  color:#ffe8a8;
}
.relapse-list{
  display:grid;
  gap:12px;
}
.relapse-empty{
  display:grid;
  gap:7px;
  border:1px dashed rgba(255,255,255,.16);
  border-radius:22px;
  padding:18px;
  color:var(--soft);
  background:rgba(255,255,255,.035);
}
.relapse-empty span{
  color:var(--muted);
  line-height:1.45;
}
.relapse-item{
  border:1px solid var(--stroke);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.058),rgba(255,255,255,.026));
  padding:14px;
  overflow:hidden;
}
.relapse-status-danger{
  border-color:rgba(255,100,92,.34);
  background:linear-gradient(145deg,rgba(255,100,92,.09),rgba(255,255,255,.026));
}
.relapse-status-watch{border-color:rgba(255,172,64,.28);}
.relapse-status-strong{border-color:rgba(132,226,166,.22);}
.relapse-item-head{
  display:grid;
  grid-template-columns:50px minmax(0,1fr) minmax(116px,auto);
  gap:12px;
  align-items:center;
}
.relapse-icon{
  width:50px;
  height:50px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.06);
  border:1px solid var(--stroke);
  font-size:23px;
}
.relapse-title-row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.relapse-copy strong{
  display:block;
  font-size:17px;
  letter-spacing:-.025em;
}
.relapse-copy span:not(.relapse-status-pill){
  display:block;
  margin-top:5px;
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}
.relapse-status-pill{
  font-size:11px;
  line-height:1;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid var(--stroke);
  color:var(--soft);
  font-weight:650;
}
.relapse-status-danger .relapse-status-pill{
  color:#ffd5cc;
  border-color:rgba(255,100,92,.24);
  background:rgba(255,100,92,.10);
}
.relapse-status-watch .relapse-status-pill{
  color:#ffd9a1;
  border-color:rgba(255,172,64,.22);
  background:rgba(255,172,64,.08);
}
.relapse-status-strong .relapse-status-pill{
  color:#d8ffe1;
  border-color:rgba(132,226,166,.18);
  background:rgba(132,226,166,.08);
}
.relapse-time{
  text-align:right;
  min-width:0;
}
.relapse-time b{
  display:block;
  color:#ffe2d9;
  font-size:20px;
  letter-spacing:-.04em;
  line-height:1.1;
}
.relapse-time span{
  display:block;
  color:var(--muted);
  font-size:12px;
}
.relapse-plan{
  margin:14px 0;
  padding:13px 14px;
  border-radius:18px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.08);
  color:#ece8df;
  line-height:1.45;
  font-size:14px;
}
.relapse-check-form{
  display:grid;
  grid-template-columns:150px 160px minmax(0,1fr) auto;
  gap:9px;
  margin:12px 0;
  align-items:center;
}
.relapse-check-form select,
.relapse-check-form input{
  min-height:42px;
  border-radius:15px;
  padding:0 12px;
}
.relapse-check-form button{
  min-height:42px;
  white-space:nowrap;
}
.relapse-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
}
.relapse-actions button{
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:rgba(255,255,255,.045);
  color:var(--soft);
  padding:10px 12px;
  font:inherit;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.relapse-sos{
  color:#ffd9a1!important;
  border-color:rgba(255,172,64,.22)!important;
  background:rgba(255,172,64,.08)!important;
}
.relapse-reset{
  color:#ffd5cc!important;
  border-color:rgba(255,100,92,.22)!important;
  background:rgba(255,100,92,.08)!important;
}
.relapse-delete{
  color:rgba(255,128,124,.78)!important;
  background:transparent!important;
}
.relapse-history{
  display:grid;
  gap:5px;
  margin-top:12px;
  color:var(--muted);
  font-size:12px;
}
.relapse-history em{
  font-style:normal;
  color:rgba(232,229,220,.72);
}

@media(max-width:900px){
  .relapse-panel{padding:20px;}
  .relapse-panel-head{display:grid;gap:14px;}
  .relapse-score{
    width:100%;
    min-height:76px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border-radius:22px;
  }
  .relapse-score span{margin-top:0;}
  .relapse-form{grid-template-columns:58px minmax(0,1fr);}
  .relapse-form input:nth-child(3),
  .relapse-form input:nth-child(4),
  .relapse-form button{grid-column:1 / -1;}
  .relapse-check-form{grid-template-columns:1fr;}
  .relapse-check-form button{width:100%;}
  .relapse-item-head{grid-template-columns:46px minmax(0,1fr);}
  .relapse-icon{width:46px;height:46px;border-radius:16px;}
  .relapse-time{
    grid-column:1 / -1;
    text-align:left;
    display:flex;
    gap:6px;
    align-items:baseline;
    padding-left:58px;
  }
}
@media(max-width:430px){
  .relapse-panel{padding:16px;border-radius:24px;}
  .relapse-detail-toolbar{margin-bottom:12px;}
  .relapse-back{width:100%;min-height:38px;}
  .relapse-panel-head h3{font-size:25px;}
  .relapse-panel-head p{font-size:14px;line-height:1.45;}
  .relapse-insight{font-size:14px;padding:13px 14px;}
  .relapse-form{grid-template-columns:52px minmax(0,1fr);gap:8px;}
  .relapse-form input{min-height:44px;border-radius:15px;}
  .relapse-quick-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
  .relapse-quick-row button{width:100%;padding:10px 8px;font-size:12.5px;}
  .relapse-item{padding:12px;border-radius:22px;}
  .relapse-time{padding-left:0;}
  .relapse-actions{display:grid;grid-template-columns:1fr;}
  .relapse-actions button{width:100%;}
}


/* Back buttons unified v11: all function detail screens use the same compact button */
.habit-detail-toolbar,
.relapse-detail-toolbar,
#assistantPanel .assistant-detail-toolbar{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  min-height:38px!important;
  margin-bottom:14px!important;
}
.habit-back.btn,
#relapsePanel .relapse-back.btn,
#assistantPanel .assistant-back.btn{
  width:auto!important;
  min-width:0!important;
  flex:0 0 auto!important;
  min-height:38px!important;
  height:38px!important;
  padding:0 14px!important;
  border-radius:14px!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:560!important;
  background:rgba(255,255,255,.055)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  color:rgba(246,241,232,.82)!important;
  box-shadow:none!important;
}
.habit-back.btn:hover,
#relapsePanel .relapse-back.btn:hover,
#assistantPanel .assistant-back.btn:hover{
  border-color:rgba(247,198,106,.22)!important;
  color:var(--text)!important;
}
@media(max-width:430px){
  .habit-detail-toolbar,
  .relapse-detail-toolbar,
  #assistantPanel .assistant-detail-toolbar{
    min-height:38px!important;
    margin-bottom:12px!important;
  }
  .habit-back.btn,
  #relapsePanel .relapse-back.btn,
  #assistantPanel .assistant-back.btn{
    width:auto!important;
    min-height:38px!important;
    height:38px!important;
    padding:0 13px!important;
    border-radius:14px!important;
    font-size:13px!important;
  }
}

/* Guest preview for users without subscription — v15, same menu/style as main app */
.guest-preview{padding:24px;margin-bottom:16px;overflow:hidden}
.guest-preview:before{content:"";position:absolute;inset:auto -12% -28% auto;width:300px;height:300px;border-radius:999px;background:radial-gradient(circle,rgba(247,198,106,.22),rgba(255,138,31,.05) 42%,transparent 70%);filter:blur(8px);opacity:.95}
.guest-preview-shell{position:relative;z-index:1;display:grid;gap:18px}
.guest-preview-eyebrow{margin-bottom:0}
.guest-preview h2{max-width:760px;font-size:clamp(30px,5vw,46px);line-height:1.02;letter-spacing:-.045em}
.guest-preview-text{max-width:700px;color:#ddd7cb;font-size:clamp(15px,1.65vw,18px);line-height:1.58}
.guest-preview-actions{justify-content:flex-start;margin-top:2px}
.guest-benefits-card{padding:20px;border-radius:24px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.02))}
.guest-benefits-title{font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--soft);font-weight:800;margin-bottom:14px}
.guest-benefits-list{margin:0;padding-left:20px;display:grid;gap:12px;color:#ece8de}.guest-benefits-list li{line-height:1.5}
.guest-preview-extras{display:grid;gap:14px;margin:0 0 16px}
.guest-demo-button,.guest-review-button{position:relative;z-index:1;width:100%;min-height:54px;border:0;border-radius:16px;font-weight:820;font-size:16px;letter-spacing:-.01em;cursor:pointer;transition:transform .18s var(--ease),filter .18s var(--ease);font-family:inherit}
.guest-demo-button{background:linear-gradient(135deg,var(--gold-2),var(--gold) 54%,var(--orange));color:#141008;box-shadow:0 14px 30px rgba(247,198,106,.18)}
.guest-review-button{background:rgba(255,255,255,.055);border:1px solid var(--stroke);color:var(--text)}
.guest-demo-button:active,.guest-review-button:active{transform:scale(.985)}
.guest-activity-card{padding:22px;overflow:hidden}.guest-activity-card>*{position:relative;z-index:1}.guest-activity-card:before{content:"";position:absolute;inset:auto -20% -35% auto;width:290px;height:290px;border-radius:999px;background:radial-gradient(circle,rgba(100,255,173,.11),transparent 62%);filter:blur(10px)}
.guest-activity-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.guest-activity-head .eyebrow{margin-bottom:0;color:rgba(255,255,255,.58)}
.guest-live-pill{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid rgba(128,227,159,.28);background:rgba(128,227,159,.1);color:#b7ffd0;font-weight:900;letter-spacing:.05em}.guest-activity-number{display:block;font-size:clamp(40px,8vw,62px);line-height:.95;letter-spacing:-.06em;font-weight:930;color:#fff}.guest-activity-label{margin-top:10px;color:var(--gold-2);font-size:clamp(18px,3.7vw,26px);font-weight:880;line-height:1.15;letter-spacing:-.035em}.guest-activity-card p{margin-top:18px;color:#c9c3b9;font-size:16px;line-height:1.6}
.guest-locked-panel{padding:24px;margin-bottom:16px;overflow:hidden}.guest-locked-panel>*{position:relative;z-index:1}.guest-locked-panel:before{content:"";position:absolute;inset:auto -16% -32% auto;width:280px;height:280px;border-radius:999px;background:radial-gradient(circle,rgba(247,198,106,.18),transparent 66%);filter:blur(8px)}
.guest-locked-icon{width:62px;height:62px;border-radius:22px;display:grid;place-items:center;margin-bottom:16px;background:linear-gradient(145deg,rgba(247,198,106,.22),rgba(255,255,255,.055));border:1px solid rgba(247,198,106,.22);color:var(--gold-2);font-size:28px;font-weight:900}
.guest-locked-panel h2{max-width:720px;font-size:clamp(27px,4.5vw,42px);line-height:1.04;letter-spacing:-.045em}.guest-locked-panel p{margin-top:14px;max-width:640px;color:#d8d3c8;font-size:16px;line-height:1.6}.guest-locked-actions{justify-content:flex-start;margin-top:20px}
.preview-toast{position:fixed;left:50%;bottom:96px;transform:translate(-50%,12px);z-index:120;max-width:min(92vw,420px);padding:14px 18px;border-radius:18px;border:1px solid rgba(247,198,106,.22);background:rgba(12,14,18,.94);color:var(--text);box-shadow:0 20px 50px rgba(0,0,0,.42);backdrop-filter:blur(20px);font-weight:700;text-align:center;opacity:0;transition:opacity .18s var(--ease),transform .18s var(--ease)}.preview-toast.show{opacity:1;transform:translate(-50%,0)}
body.preview-only .menu-tabs{grid-template-columns:repeat(3,1fr)}
body.preview-only .menu-tab{cursor:pointer}
body.preview-only .menu-tab:not(.active):active{transform:scale(.98)}
@media(max-width:760px){
  body.preview-only .app-shell{width:min(100% - 22px,560px);padding-top:12px;padding-bottom:110px}
  body.preview-only .topbar{padding:21px;min-height:138px;margin-bottom:16px}
  body.preview-only .topbar h1{font-size:34px!important;white-space:nowrap;line-height:1;letter-spacing:-.052em}
  body.preview-only .topbar p{font-size:14px;margin-top:8px}
  body.preview-only .badge{display:inline-flex;margin-top:18px}
  .guest-preview{padding:22px;margin-bottom:16px;border-radius:24px}
  .guest-preview h2{font-size:clamp(27px,9.8vw,40px);line-height:1.01;letter-spacing:-.052em}
  .guest-preview-text{font-size:17px;line-height:1.55}
  .guest-preview-actions .btn,.guest-locked-actions .btn{width:100%}
  .guest-benefits-card{padding:18px}.guest-benefits-list{font-size:16px;gap:10px;color:#ddd7ce}
  .guest-demo-button,.guest-review-button{min-height:52px;font-size:16px;border-radius:16px}
  .guest-activity-card{padding:20px}.guest-activity-number{font-size:52px}.guest-activity-label{font-size:22px}.guest-activity-card p{font-size:16px}
  .guest-locked-panel{padding:22px;border-radius:24px}.guest-locked-icon{width:58px;height:58px;border-radius:20px}.guest-locked-panel h2{font-size:clamp(27px,9.2vw,38px)}
  .preview-toast{bottom:92px;width:calc(100vw - 28px)}
}


/* Guest locked screens cleanup v16 */
.guest-hidden-while-locked{display:none!important}
.guest-locked-icon{display:none!important}
.guest-locked-panel{padding:24px!important}
.guest-locked-panel .eyebrow{margin-bottom:10px}
.guest-locked-panel h2{max-width:620px!important;font-size:clamp(24px,3.8vw,32px)!important;line-height:1.1!important;letter-spacing:-.035em!important}
.guest-locked-panel p{font-size:16px!important;line-height:1.55!important;margin-top:12px!important}
.guest-preview-extras{gap:14px!important}
.guest-demo-button,.guest-review-button{display:none!important}
@media(max-width:760px){
  .guest-locked-panel{padding:22px!important;margin-bottom:16px}
  .guest-locked-panel h2{font-size:clamp(24px,7vw,30px)!important;line-height:1.12!important}
  .guest-locked-panel p{font-size:16px!important;line-height:1.55!important}
}


/* Guest closed screen polish v17 */
.guest-preview h2{
  max-width:680px!important;
  font-size:clamp(28px,4.2vw,40px)!important;
  line-height:1.05!important;
  letter-spacing:-.04em!important;
}
.guest-preview-text{
  max-width:660px!important;
  font-size:clamp(15px,1.55vw,17px)!important;
  line-height:1.58!important;
  color:rgba(236,232,222,.78)!important;
}
.guest-benefits-title{
  font-size:11px!important;
  letter-spacing:.22em!important;
  color:rgba(255,240,183,.72)!important;
}
.guest-access-copy{
  margin:0!important;
  color:rgba(236,232,222,.76)!important;
  font-size:15px!important;
  line-height:1.58!important;
}
.guest-live-pill{
  min-height:26px!important;
  padding:0 9px!important;
  font-size:11px!important;
  line-height:1!important;
  letter-spacing:.08em!important;
  font-weight:850!important;
}
.guest-activity-card{padding:22px!important}
.guest-activity-head{align-items:center!important;margin-bottom:16px!important}
.guest-activity-number{
  font-size:clamp(34px,6vw,50px)!important;
  letter-spacing:-.055em!important;
}
.guest-activity-label{
  margin-top:8px!important;
  max-width:560px!important;
  color:var(--gold-2)!important;
  font-size:clamp(16px,2.5vw,20px)!important;
  font-weight:780!important;
  line-height:1.25!important;
  letter-spacing:-.025em!important;
}
.guest-activity-card p{
  max-width:620px!important;
  margin-top:14px!important;
  color:rgba(236,232,222,.70)!important;
  font-size:15px!important;
  line-height:1.6!important;
}
.guest-locked-panel h2{
  font-size:clamp(23px,3.4vw,30px)!important;
  line-height:1.12!important;
}
.guest-locked-panel p{
  max-width:610px!important;
  font-size:15px!important;
  color:rgba(236,232,222,.74)!important;
}
@media(max-width:760px){
  .guest-preview h2{
    font-size:clamp(25px,7.8vw,32px)!important;
    line-height:1.08!important;
  }
  .guest-preview-text{
    font-size:15.5px!important;
    line-height:1.55!important;
  }
  .guest-access-copy{font-size:14.5px!important;line-height:1.55!important}
  .guest-live-pill{min-height:24px!important;padding:0 8px!important;font-size:10px!important}
  .guest-activity-card{padding:20px!important}
  .guest-activity-number{font-size:42px!important}
  .guest-activity-label{font-size:17px!important;line-height:1.28!important}
  .guest-activity-card p{font-size:14.5px!important;line-height:1.56!important}
  .guest-locked-panel h2{font-size:clamp(23px,6.5vw,28px)!important;line-height:1.14!important}
  .guest-locked-panel p{font-size:15px!important;line-height:1.55!important}
}


/* Guest activity metric polish v18 */
.guest-live-pill{
  min-height:22px!important;
  padding:0 8px!important;
  font-size:9.5px!important;
  letter-spacing:.08em!important;
  font-weight:820!important;
}
.guest-activity-number{
  font-size:clamp(28px,4.8vw,38px)!important;
  line-height:1.02!important;
  letter-spacing:-.045em!important;
  font-weight:820!important;
  color:rgba(255,255,255,.92)!important;
}
.guest-activity-label{
  margin-top:8px!important;
  font-size:clamp(15px,2.2vw,18px)!important;
  line-height:1.3!important;
  font-weight:720!important;
  color:rgba(255,240,183,.88)!important;
}
.guest-activity-card p{
  margin-top:13px!important;
  max-width:620px!important;
  font-size:14.5px!important;
  line-height:1.58!important;
  color:rgba(236,232,222,.68)!important;
}
@media(max-width:760px){
  .guest-live-pill{min-height:21px!important;padding:0 7px!important;font-size:9px!important}
  .guest-activity-number{font-size:34px!important;line-height:1.05!important}
  .guest-activity-label{font-size:15.5px!important;line-height:1.32!important}
  .guest-activity-card p{font-size:14px!important;line-height:1.56!important}
}


/* Guest preview topic teasers v19 */
.guest-topics-card{padding:22px;overflow:hidden;margin-top:14px}
.guest-topics-card>*{position:relative;z-index:1}
.guest-topics-card:before{content:"";position:absolute;inset:auto -22% -34% auto;width:280px;height:280px;border-radius:999px;background:radial-gradient(circle,rgba(247,198,106,.14),transparent 66%);filter:blur(8px)}
.guest-topics-card h3{font-size:clamp(22px,3.8vw,30px);line-height:1.08;letter-spacing:-.035em;margin-bottom:10px}
.guest-topics-intro{color:#cfc8bd;font-size:15px;line-height:1.55;margin-bottom:16px;max-width:640px}
.guest-topics-list{display:grid;gap:10px;margin-top:14px}
.guest-topic-card{appearance:none;width:100%;border:1px solid rgba(255,255,255,.105);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.025));color:var(--text);padding:14px;text-align:left;display:grid;grid-template-columns:auto 1fr;gap:12px;cursor:pointer;font-family:inherit;transition:transform .18s var(--ease),border-color .18s var(--ease),background .18s var(--ease)}
.guest-topic-card:active{transform:scale(.99)}
.guest-topic-card:hover{border-color:rgba(247,198,106,.25);background:rgba(247,198,106,.06)}
.guest-topic-index{width:34px;height:34px;border-radius:13px;display:grid;place-items:center;background:rgba(247,198,106,.10);border:1px solid rgba(247,198,106,.18);color:var(--gold-2);font-size:12px;font-weight:900;letter-spacing:.04em}
.guest-topic-body{display:grid;gap:5px;min-width:0}
.guest-topic-category{font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:rgba(255,224,155,.76);font-weight:820}
.guest-topic-card strong{font-size:17px;line-height:1.18;letter-spacing:-.02em;font-weight:850;color:#fff}
.guest-topic-card small{font-size:13.5px;line-height:1.42;color:#bdb6aa}
.guest-topic-empty{padding:14px;border:1px solid var(--stroke);border-radius:16px;color:var(--muted);background:rgba(255,255,255,.035)}
.guest-topics-list-locked{margin:18px 0 4px}
@media(max-width:760px){
  .guest-topics-card{padding:20px;border-radius:24px}
  .guest-topics-card h3{font-size:24px!important}
  .guest-topics-intro{font-size:14.5px!important;line-height:1.52!important}
  .guest-topic-card{padding:13px;border-radius:17px;gap:11px}
  .guest-topic-index{width:32px;height:32px;border-radius:12px;font-size:11px}
  .guest-topic-card strong{font-size:16px!important;line-height:1.2!important}
  .guest-topic-card small{font-size:13px!important;line-height:1.4!important}
}


/* Guest materials preview v20: use real Materials tab, not a separate topics block */
body.preview-only .screen[data-screen-panel="materials"] .section-hero{display:block!important}
body.preview-only .screen[data-screen-panel="materials"] .materials-list{display:grid!important}
body.preview-only .guest-material-card .favorite-btn{display:none!important}
body.preview-only .guest-material-card .material-status.status-locked,
body.preview-only .guest-material-card .material-status.status-new{
  color:#ffb1ad!important;
  background:rgba(255,128,124,.10)!important;
  border-color:rgba(255,128,124,.26)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;
}
body.preview-only .guest-material-card .open-material-btn{background:rgba(247,198,106,.10);border-color:rgba(247,198,106,.22);color:var(--gold-2)}


/* Guest functions teaser */
body.preview-only .guest-function-card{cursor:pointer}
body.preview-only .guest-function-card .feature-tag-locked{background:rgba(255,128,124,.12)!important;border:1px solid rgba(255,128,124,.28)!important;color:#ffc5c2!important}
body.preview-only .guest-function-card .feature-content p{color:#d8d3c8}
@media(max-width:760px){
  body.preview-only .guest-function-card h3{font-size:25px!important;line-height:1.08!important}
  body.preview-only .guest-function-card p{font-size:16px!important;line-height:1.45!important}
  body.preview-only .guest-function-card .feature-tag{font-size:11px!important;padding:7px 10px!important}
}


/* Guest teaser: blurred locked content */
body.preview-only .guest-blur-card{position:relative;overflow:hidden;cursor:pointer;isolation:isolate}
body.preview-only .guest-blur-card:before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(255,255,255,.035),transparent);transform:translateX(-100%);animation:guestBlurSweep 4.8s ease-in-out infinite}
@keyframes guestBlurSweep{0%,55%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
body.preview-only .blur-line{display:block;border-radius:999px;background:linear-gradient(90deg,rgba(255,255,255,.12),rgba(247,198,106,.13),rgba(255,255,255,.08));filter:blur(5px);opacity:.72;user-select:none}
body.preview-only .guest-blur-card h3{min-height:30px}
body.preview-only .blur-title{height:26px;width:78%;margin:2px 0 0}.blur-title-2{width:62%!important}
body.preview-only .blur-text{height:13px;margin-top:10px}.blur-text-long{width:92%}.blur-text-mid{width:68%}
body.preview-only .blur-meta{height:12px;width:88px;display:inline-block;vertical-align:middle}
body.preview-only .guest-blur-material{border-color:rgba(247,198,106,.13);background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.024))}
body.preview-only .guest-blur-material .open-material-btn{opacity:.86}
body.preview-only .guest-function-blur{border-color:rgba(247,198,106,.13);background:linear-gradient(145deg,rgba(255,255,255,.052),rgba(255,255,255,.022))}
body.preview-only .guest-blur-visual{background:radial-gradient(circle at center,rgba(247,198,106,.10),transparent 62%)}
body.preview-only .guest-blur-orb{filter:blur(4px);opacity:.62;background:linear-gradient(145deg,rgba(247,198,106,.18),rgba(255,255,255,.04))}
body.preview-only .blur-symbol{width:30px;height:30px;border-radius:12px;background:rgba(255,255,255,.2);display:block}
body.preview-only .blur-feature-title{height:24px;width:58%;margin:4px 0 0}.blur-feature-title-2{width:72%!important}
body.preview-only .blur-feature-text{height:13px;margin-top:10px}.blur-feature-text-long{width:84%}.blur-feature-text-mid{width:56%}
body.preview-only .guest-function-blur .feature-tag-locked{opacity:.92}
@media(max-width:760px){
  body.preview-only .guest-blur-card h3{min-height:28px}
  body.preview-only .blur-title{height:22px;width:74%}
  body.preview-only .blur-text{height:12px;margin-top:9px}
  body.preview-only .blur-feature-title{height:21px;width:62%}
  body.preview-only .blur-feature-text{height:12px;margin-top:9px}
  body.preview-only .guest-blur-orb{filter:blur(3.5px)}
}

/* Guest locked overlay on blurred teasers */
body.preview-only .guest-blur-card .guest-locked-overlay{position:absolute;inset:0;z-index:4;display:grid;place-items:center;text-align:center;padding:18px;color:var(--gold-2);font-size:clamp(18px,4.8vw,24px);font-weight:850;letter-spacing:-.02em;line-height:1.12;text-shadow:0 12px 34px rgba(0,0,0,.72);background:linear-gradient(180deg,rgba(5,6,8,.05),rgba(5,6,8,.38));pointer-events:none}
body.preview-only .guest-function-blur .guest-locked-overlay{font-size:clamp(17px,4.5vw,22px)}
body.preview-only .guest-blur-material .open-material-btn{visibility:hidden}
body.preview-only .guest-blur-material .material-meta{visibility:hidden}

/* v26: in guest Functions, blurred cards do not show central access text */
body.preview-only .guest-function-blur .guest-locked-overlay{display:none!important}


/* Guest materials more topics button */
body.preview-only .guest-more-topics-wrap{position:relative;z-index:1;margin:10px 0 20px;padding:0}
body.preview-only .guest-more-topics-btn{appearance:none;width:100%;min-height:58px;border:1px solid rgba(247,198,106,.18);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.064),rgba(255,255,255,.026));color:var(--gold-2);display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 15px 0 20px;font:inherit;font-size:15px;font-weight:780;letter-spacing:-.01em;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 14px 34px rgba(0,0,0,.18);transition:transform .18s var(--ease),border-color .18s var(--ease),background .18s var(--ease)}
body.preview-only .guest-more-topics-btn:hover{border-color:rgba(247,198,106,.28);background:linear-gradient(145deg,rgba(247,198,106,.095),rgba(255,255,255,.028))}
body.preview-only .guest-more-topics-btn:active{transform:scale(.985)}
body.preview-only .guest-more-topics-label{display:block;line-height:1.1}
body.preview-only .guest-more-topics-arrow{width:34px;height:34px;border-radius:14px;display:grid;place-items:center;flex:0 0 auto;background:rgba(247,198,106,.11);border:1px solid rgba(247,198,106,.19);color:var(--gold-2);font-size:18px;font-weight:900;line-height:1}
@media(max-width:760px){body.preview-only .guest-more-topics-wrap{margin-top:8px;margin-bottom:18px}body.preview-only .guest-more-topics-btn{min-height:56px;border-radius:20px;font-size:14px!important;padding-left:18px}body.preview-only .guest-more-topics-arrow{width:32px;height:32px;border-radius:13px}}


/* Human Lab: personal assessment, map and 14-day route */
.development-panel{display:grid;gap:16px;margin-top:16px}
.development-onboarding,.route-card,.map-card,.insight-card,.daily-checkin-card,.development-safety-card{position:relative;overflow:hidden}
.development-onboarding{padding:clamp(22px,4vw,38px);background:
  radial-gradient(circle at 82% 18%,rgba(247,198,106,.16),transparent 32%),
  linear-gradient(145deg,rgba(30,30,29,.98),rgba(12,14,18,.98))}
.development-onboarding:after,.route-card:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,transparent 20%,rgba(255,255,255,.025) 45%,transparent 68%)}
.development-intro-grid{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:28px;align-items:center;position:relative;z-index:1}
.development-intro-grid h2,.route-card h2{font-size:clamp(31px,5vw,52px);line-height:1;letter-spacing:-.055em;margin:10px 0 14px}
.development-benefits{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.development-benefits span{padding:8px 11px;border:1px solid rgba(247,198,106,.19);border-radius:999px;background:rgba(247,198,106,.07);color:#f5ddaa;font-size:12px;font-weight:750}
.development-orbit{width:184px;height:184px;border:1px solid rgba(247,198,106,.2);border-radius:50%;display:grid;place-items:center;position:relative;margin:auto;box-shadow:0 0 80px rgba(247,198,106,.07),inset 0 0 50px rgba(247,198,106,.035)}
.development-orbit:before{content:"";position:absolute;inset:24px;border:1px dashed rgba(247,198,106,.19);border-radius:50%}
.development-orbit-core{width:78px;height:78px;border-radius:28px;display:grid;place-items:center;background:linear-gradient(145deg,#f9d77f,#e59c25);color:#15120c;font-weight:920;font-size:19px;box-shadow:0 16px 44px rgba(229,156,37,.25)}
.orbit-dot{position:absolute;width:13px;height:13px;border-radius:50%;background:#f7c66a;box-shadow:0 0 18px rgba(247,198,106,.8)}
.orbit-dot-1{top:20px;left:31px}.orbit-dot-2{right:7px;top:83px}.orbit-dot-3{bottom:5px;left:76px}
.development-assessment-form{position:relative;z-index:1;margin:30px auto 0;padding-top:26px;border-top:1px solid rgba(255,255,255,.08);display:grid;gap:18px;width:min(680px,100%)}
.development-field{display:grid;gap:9px}.development-field>span,.assessment-progress-row{font-size:13px;font-weight:800;color:#ded7ca}
.development-field select{width:100%;min-height:54px;border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:0 16px;background:#13151a;color:#fff;font:inherit;font-weight:700;outline:none}
.development-field select:focus{border-color:rgba(247,198,106,.55);box-shadow:0 0 0 3px rgba(247,198,106,.08)}
.assessment-wizard-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.assessment-wizard-head>div{display:grid;gap:4px}.assessment-wizard-head span{color:#f4eee4;font-size:14px;font-weight:850}.assessment-wizard-head small{color:#817b72;font-size:11px;line-height:1.35}.assessment-wizard-head strong{color:var(--gold-2);font-size:12px;white-space:nowrap}
.assessment-wizard-track{height:6px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden}.assessment-wizard-track>div{width:6%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d99121,#f9d77f);box-shadow:0 0 16px rgba(247,198,106,.3);transition:width .3s ease}
.assessment-step{min-height:250px;padding:27px;border:1px solid rgba(255,255,255,.09);border-radius:23px;background:linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.018));display:grid;align-content:center;gap:13px}
.assessment-step-kicker,.assessment-area-label{color:#ddb85f;text-transform:uppercase;letter-spacing:.15em;font-size:10px;font-weight:900}.assessment-step h3{font-size:clamp(23px,4vw,31px);line-height:1.12;letter-spacing:-.035em;margin:0}.assessment-step>p{color:#aaa49b;font-size:13px;line-height:1.55;margin:0 0 7px}.assessment-goal-step .development-field{margin-top:5px}
.assessment-questions{display:block}
.assessment-question{min-height:250px;padding:27px;border:1px solid rgba(255,255,255,.09);border-radius:23px;background:linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.018));display:grid;align-content:center;gap:20px;transition:border-color .2s ease,background .2s ease}
.assessment-question.is-answered{border-color:rgba(247,198,106,.24);background:rgba(247,198,106,.05)}
.assessment-area-label{display:flex;align-items:center;gap:8px}.assessment-area-label span{width:27px;height:27px;border:1px solid rgba(247,198,106,.2);border-radius:10px;background:rgba(247,198,106,.07);display:grid;place-items:center;font-size:12px;letter-spacing:0}
.assessment-question h4{font-size:clamp(22px,4vw,29px);line-height:1.18;letter-spacing:-.03em;margin:0;color:#f7f4ee}
.assessment-scale{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}
.assessment-option{cursor:pointer}.assessment-option input{position:absolute;opacity:0;pointer-events:none}
.assessment-option span{height:49px;border:1px solid rgba(255,255,255,.1);border-radius:15px;display:grid;place-items:center;color:#aaa49a;background:rgba(255,255,255,.025);font-size:15px;font-weight:850;transition:.16s ease}
.assessment-option input:checked+span{color:#17130b;background:linear-gradient(145deg,#f9d77f,#eca52d);border-color:transparent;box-shadow:0 8px 20px rgba(236,165,45,.18)}
.assessment-captions{display:flex;justify-content:space-between;gap:10px;color:#8e887f;font-size:11px;line-height:1.25}
.development-consent{display:flex;gap:12px;align-items:flex-start;padding:15px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(0,0,0,.14);color:#aaa59c;font-size:12px;line-height:1.48;cursor:pointer}
.development-consent input{width:19px;height:19px;flex:0 0 auto;margin-top:1px;accent-color:#e9aa3d}
.assessment-inline-error{margin:0;padding:12px 14px;border:1px solid rgba(255,116,108,.2);border-radius:14px;background:rgba(255,116,108,.07);color:#ffb4ae;font-size:12px;line-height:1.4}
.assessment-navigation{display:flex;justify-content:flex-end;gap:10px}.assessment-navigation .btn{min-height:52px;justify-content:center}.assessment-back{margin-right:auto;min-width:112px}.assessment-next,.development-submit{min-width:190px;font-weight:850}

body.initial-assessment .app-shell{width:min(760px,calc(100vw - 24px));padding-top:12px}
body.initial-assessment .menu-tabs{display:none!important}
body.initial-assessment .screen[data-screen-panel="profile"]>.hero-panel{display:none!important}
body.initial-assessment .screen[data-screen-panel]:not([data-screen-panel="profile"]){display:none!important}
body.initial-assessment .development-panel{margin-top:0}
body.initial-assessment .development-onboarding{min-height:calc(100vh - 150px)}
body.initial-assessment .development-intro-grid{grid-template-columns:minmax(0,1fr) 170px}
body.initial-assessment .development-orbit{width:150px;height:150px}
body.initial-assessment .development-orbit-core{width:66px;height:66px;border-radius:24px}
.development-dashboard.is-newly-created{animation:development-reveal .55s ease both}
@keyframes development-reveal{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

.development-dashboard{display:grid;gap:16px}
.route-card{padding:clamp(22px,4vw,36px);background:
  radial-gradient(circle at 85% 15%,rgba(247,198,106,.16),transparent 34%),
  linear-gradient(145deg,rgba(33,32,29,.98),rgba(12,14,18,.98))}
.route-card-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center;position:relative;z-index:1}
.route-card-head p{max-width:650px;color:#c2bcb2;font-size:15px;line-height:1.55}
.route-progress-orb{width:112px;height:112px;border-radius:50%;display:grid;place-content:center;text-align:center;border:1px solid rgba(247,198,106,.24);background:radial-gradient(circle,rgba(247,198,106,.14),rgba(255,255,255,.02));box-shadow:0 20px 50px rgba(0,0,0,.22)}
.route-progress-orb strong{font-size:27px;line-height:1;color:#ffe3a0}.route-progress-orb span{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:#928a7e;margin-top:7px}
.route-progress-track{height:7px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden;margin-top:23px}
.route-progress-fill{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#d99121,#f9d77f);box-shadow:0 0 18px rgba(247,198,106,.35);transition:width .35s ease}
.route-day-line{display:flex;justify-content:space-between;gap:10px;margin-top:9px;color:#8e887f;font-size:11px;font-weight:700}
.today-task{position:relative;z-index:1;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;margin-top:22px;padding:18px;border:1px solid rgba(247,198,106,.17);border-radius:22px;background:rgba(247,198,106,.055)}
.today-task-icon{width:52px;height:52px;border-radius:18px;display:grid;place-items:center;background:rgba(247,198,106,.11);border:1px solid rgba(247,198,106,.21);color:#ffe4a3;font-size:23px;font-weight:900}
.today-task-kicker{text-transform:uppercase;letter-spacing:.18em;color:#d6ad5d;font-size:9px;font-weight:900;margin-bottom:4px}
.today-task h3{font-size:19px;line-height:1.15;margin:0 0 5px}.today-task p{font-size:13px;line-height:1.45;color:#bbb5ab;margin:0}
.today-task-button{min-width:118px;justify-content:center}.today-task-button:disabled{opacity:.72;cursor:default;background:rgba(255,255,255,.08)!important;color:#c7c1b8!important;border-color:rgba(255,255,255,.1)!important;box-shadow:none!important}
.development-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.85fr);gap:16px}
.map-card,.insight-card,.daily-checkin-card,.development-safety-card{padding:24px}
.section-title-row{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.section-title-row h3,.insight-card h3,.daily-checkin-card h3{font-size:25px;letter-spacing:-.035em;margin:7px 0 0}.map-date{font-size:11px;color:#8d877e}
.human-map{display:grid;gap:11px;margin-top:20px}
.human-map-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:11px;align-items:center}
.human-map-icon{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.04);color:#f4d58e;font-size:14px;font-weight:900}
.human-map-copy{display:grid;gap:6px}.human-map-line{display:flex;justify-content:space-between;gap:10px;align-items:center}.human-map-line strong{font-size:13px}.human-map-line span{font-size:10px;color:#8e887f}
.human-map-track{height:6px;border-radius:999px;background:rgba(255,255,255,.065);overflow:hidden}.human-map-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#a56818,#f3ca6d)}
.human-map-score{font-size:13px;font-weight:900;color:#e8dfd1;min-width:30px;text-align:right}
.human-map-row.zone-focus .human-map-icon{color:#ffb0a9;border-color:rgba(255,126,118,.22);background:rgba(255,126,118,.07)}
.human-map-row.zone-stable .human-map-icon{color:#a8e6bc;border-color:rgba(108,211,144,.2);background:rgba(108,211,144,.07)}
.insight-card{background:linear-gradient(155deg,rgba(247,198,106,.09),rgba(16,18,22,.98) 45%)}
.insight-card p{font-size:15px;line-height:1.6;color:#c9c3b9;margin:17px 0}
.strength-area-note{padding:14px;border:1px solid rgba(108,211,144,.14);border-radius:16px;background:rgba(108,211,144,.045);font-size:12px;line-height:1.45;color:#afd0b8;margin-bottom:9px}
.next-area-note{padding:14px;border:1px solid rgba(255,255,255,.09);border-radius:16px;background:rgba(0,0,0,.16);font-size:12px;line-height:1.45;color:#9f998f}
.daily-checkin-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.daily-checkin-head p{font-size:13px;line-height:1.5;color:#99938a;max-width:620px;margin-top:8px}
.checkin-status{padding:8px 11px;border:1px solid rgba(255,255,255,.1);border-radius:999px;color:#aaa49a;font-size:10px;font-weight:850;white-space:nowrap}.checkin-status.is-done{color:#a8e6bc;border-color:rgba(108,211,144,.22);background:rgba(108,211,144,.06)}
.development-checkin-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px;align-items:end}
.development-checkin-form label{display:grid;gap:9px;color:#d8d2c8;font-size:12px;font-weight:750}.development-checkin-form label span{display:flex;justify-content:space-between;gap:10px}.development-checkin-form input[type="range"]{width:100%;accent-color:#e7a635}
.development-checkin-form input[type="number"],.development-checkin-form input[type="text"]{min-height:46px;border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:0 13px;background:rgba(255,255,255,.035);color:#fff;font:inherit;outline:none}
.sleep-field{grid-column:span 1}.checkin-note-field{grid-column:span 2}.development-checkin-form button{min-height:46px;justify-content:center}
.weekly-snapshot{margin-top:18px;padding:14px 16px;border:1px solid rgba(247,198,106,.13);border-radius:16px;background:rgba(247,198,106,.045);color:#bdb7ad;font-size:12px;line-height:1.5}.weekly-snapshot strong{color:#f3ddac}
.nutrition-audit-card{position:relative;overflow:hidden;padding:24px;background:linear-gradient(155deg,rgba(110,155,105,.07),rgba(16,18,22,.98) 42%)}
.nutrition-audit-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.nutrition-audit-head h3{font-size:25px;letter-spacing:-.035em;margin:7px 0 0}.nutrition-audit-head p{font-size:13px;line-height:1.5;color:#99938a;max-width:650px;margin-top:8px}
.nutrition-day-badge{padding:8px 11px;border:1px solid rgba(168,230,188,.18);border-radius:999px;background:rgba(108,211,144,.055);color:#b9dfc4;font-size:10px;font-weight:850;white-space:nowrap}
.nutrition-audit-card.is-locked{background:linear-gradient(155deg,rgba(255,255,255,.035),rgba(16,18,22,.98) 42%)}
.nutrition-locked{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center;margin-top:20px;padding:18px;border:1px dashed rgba(247,198,106,.17);border-radius:18px;background:rgba(247,198,106,.035)}.nutrition-lock-icon{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;border:1px solid rgba(247,198,106,.18);background:rgba(247,198,106,.07);color:#e8c878;font-size:18px}.nutrition-locked strong{font-size:14px;color:#eadfcb}.nutrition-locked p{margin:5px 0 0;color:#918b82;font-size:12px;line-height:1.45}
.nutrition-audit-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px;align-items:end}
.nutrition-audit-form label{display:grid;gap:5px;padding:13px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.027);color:#ddd7ce;font-size:12px;font-weight:760}.nutrition-audit-form label small{min-height:28px;color:#858078;font-size:10px;line-height:1.35;font-weight:550}
.nutrition-audit-form input{width:100%;min-height:42px;border:1px solid rgba(255,255,255,.1);border-radius:13px;padding:0 12px;background:rgba(0,0,0,.15);color:#fff;font:inherit;outline:none}.nutrition-audit-form input:focus{border-color:rgba(247,198,106,.38)}
.nutrition-note-field{grid-column:span 2}.nutrition-audit-form button{min-height:46px;justify-content:center}
.nutrition-audit-result{display:grid;gap:10px;margin-top:18px;padding:16px;border:1px solid rgba(247,198,106,.12);border-radius:17px;background:rgba(247,198,106,.035);color:#bdb7ad;font-size:12px;line-height:1.5}
.nutrition-insight{padding:12px;border:1px solid rgba(255,255,255,.075);border-radius:14px;background:rgba(0,0,0,.12)}.nutrition-insight strong{display:block;color:#f0dcc0;font-size:13px;margin-bottom:4px}.nutrition-insight span{color:#a9a399}
.nutrition-disclaimer{margin:10px 2px 0;color:#77726a;font-size:10px;line-height:1.45}
.development-safety-card{display:flex;align-items:center;justify-content:space-between;gap:20px}.development-safety-card strong{font-size:13px;color:#e7c778}.development-safety-card p{font-size:11px;line-height:1.45;color:#858078;margin:5px 0 0;max-width:720px}.text-button{appearance:none;border:0;background:none;color:#d7b467;font:inherit;font-size:12px;font-weight:800;cursor:pointer;padding:8px;white-space:nowrap}
.development-data-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap}.text-button-danger{color:#d99b96}
.text-button:disabled{color:#6f6a63;cursor:not-allowed;opacity:.75}

@media(max-width:780px){
  .development-intro-grid{grid-template-columns:1fr}.development-orbit{display:none}
  .development-grid{grid-template-columns:1fr}
  .route-card-head{grid-template-columns:1fr auto}.route-progress-orb{width:84px;height:84px}.route-progress-orb strong{font-size:22px}
  .today-task{grid-template-columns:auto minmax(0,1fr)}.today-task-button{grid-column:1/-1;width:100%}
  .development-checkin-form{grid-template-columns:1fr 1fr}.checkin-note-field{grid-column:1/-1}.development-checkin-form button{grid-column:1/-1}
  .nutrition-audit-form{grid-template-columns:1fr 1fr}.nutrition-note-field{grid-column:1/-1}.nutrition-audit-form button{grid-column:1/-1}
}
@media(max-width:540px){
  .development-onboarding,.route-card,.map-card,.insight-card,.daily-checkin-card,.nutrition-audit-card,.development-safety-card{border-radius:23px;padding:19px}
  .development-intro-grid h2,.route-card h2{font-size:30px!important;line-height:1.02!important}
  .development-benefits span{font-size:10px;padding:7px 9px}
  body.initial-assessment .topbar{padding:17px;margin-bottom:11px}body.initial-assessment .topbar h1{font-size:25px!important}body.initial-assessment .topbar .eyebrow{font-size:9px}body.initial-assessment .topbar .muted{font-size:11px!important}
  .assessment-step,.assessment-question{min-height:235px;padding:18px;border-radius:18px}.assessment-question h4{font-size:22px!important}.assessment-option span{height:43px;border-radius:13px}.assessment-captions{font-size:9px}.assessment-navigation{display:grid;grid-template-columns:1fr 1fr}.assessment-back{min-width:0;margin:0}.assessment-next,.development-submit{min-width:0;grid-column:1/-1}.assessment-back:not(.hidden)+.assessment-next{grid-column:auto}.assessment-back:not(.hidden)~.development-submit{grid-column:auto}.assessment-wizard-head small{max-width:210px}
  .route-card-head{grid-template-columns:1fr}.route-progress-orb{position:absolute;right:18px;top:18px;width:76px;height:76px}.route-card-head>div:first-child{padding-right:72px}
  .route-card-head p{font-size:13.5px!important}.route-day-line{font-size:10px}
  .today-task{padding:15px;gap:12px}.today-task-icon{width:44px;height:44px;border-radius:15px}.today-task h3{font-size:17px!important}.today-task p{font-size:12.5px!important}
  .section-title-row h3,.insight-card h3,.daily-checkin-card h3{font-size:22px!important}
  .human-map-row{grid-template-columns:32px minmax(0,1fr) auto;gap:9px}.human-map-icon{width:32px;height:32px}.human-map-line span{display:none}
  .daily-checkin-head{display:grid}.checkin-status{justify-self:start}.development-checkin-form{grid-template-columns:1fr}.sleep-field,.checkin-note-field{grid-column:auto}
  .nutrition-audit-head{display:grid}.nutrition-day-badge{justify-self:start}.nutrition-audit-form{grid-template-columns:1fr}.nutrition-note-field{grid-column:auto}.nutrition-audit-form label small{min-height:0}
  .development-safety-card{align-items:flex-start}.development-safety-card{display:grid}.development-data-actions{justify-content:flex-start}.text-button{padding-left:0;justify-self:start}
}

/* Telegram Desktop compact window: keep the first assessment aligned and usable. */
@media(max-width:640px){
  body.initial-assessment .app-shell{
    width:100%!important;
    max-width:none!important;
    padding:8px 10px calc(116px + env(safe-area-inset-bottom,0px))!important;
  }
  body.initial-assessment .topbar{display:none!important}
  body.initial-assessment .development-panel{margin:0!important}
  body.initial-assessment .development-onboarding{
    min-height:0!important;
    padding:20px!important;
    border-radius:22px!important;
  }
  body.initial-assessment .development-intro-grid{gap:0!important}
  body.initial-assessment .development-intro-grid h2{
    max-width:330px;
    margin:8px 0 12px!important;
    font-size:29px!important;
    line-height:1.04!important;
  }
  body.initial-assessment .development-intro-grid .hero-text{
    margin-top:0!important;
    font-size:13.5px!important;
    line-height:1.55!important;
  }
  body.initial-assessment .development-benefits{gap:6px;margin-top:14px}
  body.initial-assessment .development-benefits span{padding:6px 8px;font-size:9.5px}
  body.initial-assessment .development-assessment-form{
    width:100%;
    margin-top:20px;
    padding-top:18px;
    gap:14px;
  }
  body.initial-assessment .assessment-wizard-head{gap:10px}
  body.initial-assessment .assessment-wizard-head small{font-size:10px;max-width:230px}
  body.initial-assessment .assessment-step,
  body.initial-assessment .assessment-question{
    min-height:0!important;
    padding:18px!important;
    border-radius:18px!important;
  }
  body.initial-assessment .assessment-step h3,
  body.initial-assessment .assessment-question h4{
    font-size:22px!important;
    line-height:1.14!important;
  }
  body.initial-assessment .development-field select{min-height:50px;border-radius:14px}
  body.initial-assessment .assessment-navigation{
    position:sticky;
    bottom:calc(10px + env(safe-area-inset-bottom,0px));
    z-index:12;
    padding-top:10px;
    background:linear-gradient(180deg,transparent,#0d0f13 34%);
  }
  body.initial-assessment .assessment-navigation .btn{min-height:50px}
}

/* Guided route: one visible next step instead of a dashboard of equal cards. */
.guide-finding{position:relative;z-index:1;margin-top:20px;padding:17px 18px;border:1px solid rgba(247,198,106,.18);border-radius:20px;background:linear-gradient(145deg,rgba(247,198,106,.105),rgba(247,198,106,.035))}.guide-finding>span,.guide-stage-number,.guide-next-preview>span{display:block;color:#d9b762;text-transform:uppercase;letter-spacing:.15em;font-size:9px;font-weight:900}.guide-finding>strong{display:block;margin-top:8px;color:#fff0c9;font-size:17px;line-height:1.35}.guide-finding>p{margin:7px 0 0;color:#aaa298;font-size:12px;line-height:1.5}
.guide-stepper{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:16px}.guide-stepper span{min-width:0;padding:10px 7px;border:1px solid rgba(255,255,255,.075);border-radius:14px;background:rgba(255,255,255,.025);color:#777169;font-size:10px;font-weight:800;text-align:center;white-space:nowrap}.guide-stepper b{display:inline-grid;width:18px;height:18px;margin-right:3px;place-items:center;border-radius:7px;background:rgba(255,255,255,.06);font-size:9px}.guide-stepper span.is-active{color:#ffe3a1;border-color:rgba(247,198,106,.3);background:rgba(247,198,106,.085)}.guide-stepper span.is-done{color:#b9e2c4;border-color:rgba(108,211,144,.18);background:rgba(108,211,144,.055)}.guide-stepper span.is-done b{color:#092013;background:#87dda2}
.guide-stage{position:relative;z-index:1;margin-top:16px;padding:20px;border:1px solid rgba(255,255,255,.095);border-radius:23px;background:linear-gradient(145deg,rgba(255,255,255,.052),rgba(255,255,255,.018));animation:guide-reveal .28s ease both}.guide-stage h3{margin:7px 0 8px;font-size:24px;line-height:1.12;letter-spacing:-.035em}.guide-stage>p,.guide-stage-head p{margin:0;color:#a9a299;font-size:13px;line-height:1.55}@keyframes guide-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.guide-stage-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.guide-stage-head>div:first-child{max-width:620px}.guide-checkin-stage .development-checkin-form{margin-top:18px}.guide-checkin-stage .development-checkin-form button{background:linear-gradient(135deg,#ffe58b,#f4c950 52%,#e99425);color:#1b1409;border:0}
.guide-lesson{margin-top:13px;padding:17px;border:1px solid rgba(108,174,255,.14);border-radius:19px;background:linear-gradient(145deg,rgba(94,159,255,.075),rgba(255,255,255,.018))}.guide-lesson h3{font-size:20px}.guide-lesson>p{margin:0;color:#c4c8d0;font-size:13px;line-height:1.62}.guide-lesson>div{margin-top:13px;padding-top:12px;border-top:1px solid rgba(255,255,255,.07);color:#aeb9cb;font-size:12px;line-height:1.45}.guide-lesson>div strong{color:#d7e5ff}.guide-action-stage .today-task{margin-top:14px}.today-task-copy>small{display:block;margin-top:8px;color:#8f887e;font-size:11px;line-height:1.45}
.development-reflection-form{display:grid;gap:11px;margin-top:17px}.reflection-scale{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.reflection-scale label{cursor:pointer}.reflection-scale input{position:absolute;opacity:0;pointer-events:none}.reflection-scale span{height:48px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.03);color:#aaa39a;font-weight:850}.reflection-scale input:checked+span{color:#17130b;border-color:transparent;background:linear-gradient(145deg,#f9d77f,#eca52d);box-shadow:0 8px 20px rgba(236,165,45,.18)}.reflection-captions{display:flex;justify-content:space-between;color:#777169;font-size:10px}.reflection-note{display:grid;gap:7px;margin-top:4px;color:#d9d2c8;font-size:12px;font-weight:760}.reflection-note small{color:#777169;font-weight:550}.reflection-note input{width:100%;min-height:48px;padding:0 13px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(0,0,0,.16);color:#fff;font:inherit;outline:none}.reflection-note input:focus{border-color:rgba(247,198,106,.4)}.development-reflection-form .btn{justify-content:center}
.guide-done-stage{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:start;border-color:rgba(108,211,144,.17);background:linear-gradient(145deg,rgba(108,211,144,.07),rgba(255,255,255,.018))}.guide-complete-mark{width:48px;height:48px;display:grid;place-items:center;border-radius:17px;background:linear-gradient(145deg,#baf0c9,#70cb8e);color:#092013;font-size:23px;font-weight:950}.guide-next-preview{margin-top:14px;padding:13px 14px;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:rgba(0,0,0,.13)}.guide-next-preview>strong{display:block;margin-top:5px;color:#ddd7ce;font-size:13px}.guide-done-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.guide-done-actions .btn{justify-content:center}
.development-details{border:1px solid rgba(255,255,255,.09);border-radius:23px;background:rgba(255,255,255,.025);overflow:hidden}.development-details>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;color:#e6dfd5;font-size:14px;font-weight:820;cursor:pointer}.development-details>summary::-webkit-details-marker{display:none}.development-details>summary:after{content:'↓';width:30px;height:30px;display:grid;place-items:center;border-radius:11px;background:rgba(255,255,255,.055);color:#d5b76c}.development-details[open]>summary:after{content:'↑'}.development-details>summary small{margin-left:auto;color:#777169;font-size:10px;font-weight:600}.development-details .development-grid{padding:0 12px 12px}.development-details .card{box-shadow:none!important}.development-dashboard{gap:14px}
@media(max-width:640px){.route-card{padding:18px!important}.route-card-head{grid-template-columns:1fr auto!important;gap:12px}.route-progress-orb{position:static!important;width:66px!important;height:66px!important}.route-card-head>div:first-child{padding-right:0!important}.route-card h2{padding-right:0!important;font-size:27px!important}.guide-finding{padding:15px}.guide-finding>strong{font-size:15px}.guide-stepper{gap:4px}.guide-stepper span{padding:8px 3px;font-size:8.5px}.guide-stepper b{display:block;margin:0 auto 4px}.guide-stage{padding:16px;border-radius:19px}.guide-stage h3{font-size:21px!important}.guide-stage-head{display:grid}.guide-stage-head .checkin-status{justify-self:start}.guide-action-stage .today-task{grid-template-columns:minmax(0,1fr)!important}.guide-action-stage .today-task-button{grid-column:1/-1}.guide-done-stage{grid-template-columns:1fr}.guide-complete-mark{width:42px;height:42px}.guide-done-actions{display:grid}.development-details>summary{display:grid;grid-template-columns:1fr auto;padding:16px}.development-details>summary small{grid-column:1;margin:0}.development-details>summary:after{grid-column:2;grid-row:1/3}.development-details .development-grid{padding:0 8px 8px}}
