/* Final stable polish built on step25 */
#menuSheet .sheetTop .topBtn,
#toolSheet .sheetTop .topBtn{
  margin-left: 6px;
}

#toolSheet .toolAccessRow{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
#toolSheet .toolAccessCopy{min-width:0;}
#toolSheet .toolAccessEyebrow{margin-bottom:7px;}
#toolSheet .accessState{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.82);
}
#toolSheet .accessState.is-active{
  color:#def7e6;
  border-color:rgba(98,204,133,.26);
  background:linear-gradient(180deg, rgba(67,168,101,.18), rgba(67,168,101,.08));
}
#toolSheet .toolAccessTitle{font-size:15px;font-weight:750;}
#toolSheet .toolAccessSub{font-size:12px;line-height:1.45;color:rgba(255,255,255,.72);max-width:42ch;}
#toolSheet .toolAccessActions{display:flex;flex-direction:column;align-items:flex-end;gap:6px;}
#toolAccessBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:0 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
}
#toolAccessBtn .btnIcon{
  width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 16px;
}
#toolAccessBtn .btnIcon svg{width:16px;height:16px;display:block;}
#toolAccessBtn.isUnlocked{
  color:#e8f9ee;
  border-color:rgba(98,204,133,.26);
  background:linear-gradient(180deg, rgba(67,168,101,.20), rgba(67,168,101,.10));
}
#toolSheet .toolAccessHint{font-size:11px;line-height:1.35;color:rgba(255,255,255,.56);text-align:right;max-width:24ch;}
#toolSheet .itemMeta.paidMeta,
#menuSheet .menuBadge.paidMeta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:50px;
  min-height:26px;
  padding:0 10px;
  border-radius:999px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  opacity:1;
}
#toolSheet .itemMeta.paidMeta::before,
#menuSheet .menuBadge.paidMeta::before{display:none !important;}
#toolSheet .itemMeta.paidMeta.active,
#menuSheet .menuBadge.paidMeta.active{
  color:#dff7e6;
  background:rgba(66,168,99,.16);
  border-color:rgba(66,168,99,.28);
}
@media (max-width:640px){
  #toolSheet .toolAccessRow{grid-template-columns:1fr;align-items:flex-start;}
  #toolSheet .toolAccessActions{align-items:stretch;width:100%;}
  #toolAccessBtn{width:100%;}
  #toolSheet .toolAccessHint{text-align:left;max-width:none;}
}

.savedChatsIntro{
  margin-bottom:10px;
  padding:2px 2px 10px;
}
.savedChatsIntroTitle{font-size:13px;font-weight:700;color:#f4efe6;margin-bottom:4px;}
.savedChatsIntroText{font-size:12px;line-height:1.45;color:rgba(255,255,255,.68);}
.savedChatsList{display:grid;gap:10px;}
.savedChatItem{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:14px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.025));
}
.savedChatItem.isRecent{
  border-color:rgba(198,166,106,.26);
  background:linear-gradient(180deg, rgba(198,166,106,.10), rgba(255,255,255,.03));
}
.savedChatMeta{display:flex;flex-direction:column;gap:5px;min-width:0;}
.savedChatTopline{display:flex;align-items:center;gap:8px;min-width:0;}
.savedChatTitle{font-weight:760;font-size:14px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.savedChatTag{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:22px;padding:0 8px;border-radius:999px;
  font-size:10px;font-weight:800;letter-spacing:.08em;
  color:#d9bd84;background:rgba(198,166,106,.10);border:1px solid rgba(198,166,106,.20);
}
.savedChatDate{opacity:.68;font-size:12px;}
.savedChatSnippet{font-size:12px;line-height:1.45;color:rgba(255,255,255,.72);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.savedChatActions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.savedChatActions .btn{min-width:96px;}
.savedChatsEmpty{padding:18px 6px 8px;text-align:center;}
.savedChatsEmptyTitle{font-size:15px;font-weight:720;margin-bottom:6px;}
.savedChatsEmptyText{font-size:13px;line-height:1.5;color:rgba(255,255,255,.68);max-width:32ch;margin:0 auto 14px;}

.homeResumeCard{
  margin:16px auto 0;
  width:min(100%, 560px);
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.028));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  text-align:left;
}
.homeResumeKicker{font-size:11px;font-weight:800;letter-spacing:.08em;color:rgba(255,255,255,.55);text-transform:uppercase;margin-bottom:6px;}
.homeResumeTitle{font-size:15px;font-weight:720;color:#f5efe7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.homeResumeMeta{font-size:12px;color:rgba(255,255,255,.6);margin-top:3px;}
.homeResumeSnippet{font-size:13px;line-height:1.45;color:rgba(255,255,255,.74);margin-top:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.homeResumeActions{display:flex;gap:8px;justify-content:flex-start;flex-wrap:wrap;margin-top:12px;}
.homeResumeActions .btn{min-width:148px;}

.premiumPreviewModal .premiumPreviewOffer__meta,
#codeModal .premiumCodeOffer__meta{max-width:34ch;margin-inline:auto;}
.premiumPreviewNote{opacity:.78;}

#toolAccessBtn::before{display:none!important;content:none!important;}
#toolAccessBtn{gap:8px;}
#toolAccessBtn > span:first-child{display:inline-flex;align-items:center;justify-content:center;width:16px;min-width:16px;}
