
/* LoveFrame 6.2.1 — Premium UI Foundation
   Visual DNA: compact, subtle, editorial, professional and mobile-first. */

:root{
  --lf-ui-space-1:4px;
  --lf-ui-space-2:6px;
  --lf-ui-space-3:8px;
  --lf-ui-space-4:10px;
  --lf-ui-space-5:12px;
  --lf-ui-space-6:14px;
  --lf-ui-space-7:16px;

  --lf-ui-radius-xs:8px;
  --lf-ui-radius-sm:10px;
  --lf-ui-radius-md:13px;
  --lf-ui-radius-lg:17px;
  --lf-ui-radius-xl:21px;

  --lf-ui-icon-xs:14px;
  --lf-ui-icon-sm:16px;
  --lf-ui-icon-md:18px;
  --lf-ui-icon-lg:22px;

  --lf-ui-text-xs:.60rem;
  --lf-ui-text-sm:.68rem;
  --lf-ui-text-md:.76rem;
  --lf-ui-text-lg:.88rem;
  --lf-ui-title-sm:.96rem;
  --lf-ui-title-md:1.08rem;
  --lf-ui-title-lg:1.28rem;

  --lf-ui-surface:#101621;
  --lf-ui-surface-raised:#151c29;
  --lf-ui-surface-soft:#121925;
  --lf-ui-line:rgba(159,176,205,.12);
  --lf-ui-line-strong:rgba(159,176,205,.18);
  --lf-ui-shadow:0 10px 30px rgba(0,0,0,.20);
  --lf-ui-shadow-soft:0 5px 18px rgba(0,0,0,.15);
}

/* Global density */
.lf-panel{
  border-radius:var(--lf-ui-radius-lg)!important;
  border-color:var(--lf-ui-line)!important;
  box-shadow:var(--lf-ui-shadow-soft)!important;
}
.lf-panel--elevated{
  box-shadow:var(--lf-ui-shadow)!important;
}
.lf-kicker{
  font-size:var(--lf-ui-text-xs)!important;
  letter-spacing:.105em!important;
}
.lf-badge,
.lf-status-pill{
  min-height:22px!important;
  padding:0 8px!important;
  font-size:var(--lf-ui-text-xs)!important;
  border-radius:999px!important;
}
.lf-btn{
  min-height:38px!important;
  border-radius:var(--lf-ui-radius-sm)!important;
  padding:0 12px!important;
  gap:7px!important;
  font-size:var(--lf-ui-text-md)!important;
  font-weight:760!important;
  box-shadow:none!important;
}
.lf-btn-primary{
  box-shadow:0 6px 16px rgba(109,40,217,.19)!important;
}
.lf-progress{
  height:6px!important;
}
.lf-icon,
.lf-icon-button{
  width:34px!important;
  height:34px!important;
  border-radius:11px!important;
}
.lf-icon svg,
.lf-icon-button svg{
  width:var(--lf-ui-icon-sm)!important;
  height:var(--lf-ui-icon-sm)!important;
}

/* Centro de Comando — compact premium layout */
.lf-command-center{
  gap:10px!important;
}
.lf-command-center > *{
  min-width:0;
}
.lf-command-hero{
  grid-template-columns:68px minmax(0,1fr)!important;
  gap:12px!important;
  padding:12px!important;
  border-radius:var(--lf-ui-radius-xl)!important;
}
.lf-command-hero .lf-smart-cover--command{
  width:68px!important;
  min-width:68px!important;
  height:92px!important;
  border-radius:12px!important;
}
.lf-command-hero__copy{
  min-width:0;
}
.lf-command-hero__copy h1{
  margin:3px 0 3px!important;
  font-size:var(--lf-ui-title-md)!important;
  line-height:1.10!important;
}
.lf-command-hero__copy p{
  margin:0!important;
  font-size:var(--lf-ui-text-sm)!important;
  line-height:1.35!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.lf-command-hero__meta{
  margin:7px 0 5px!important;
  gap:7px!important;
  font-size:var(--lf-ui-text-xs)!important;
}
.lf-command-hero__meta strong{
  font-size:var(--lf-ui-text-sm)!important;
}

/* Widgets */
.lf-command-widget{
  gap:8px!important;
}
.lf-command-widget.lf-panel{
  padding:12px!important;
}
.lf-command-widget__head{
  gap:8px!important;
}
.lf-command-widget__head h2,
.lf-command-widget__copy h2{
  margin:2px 0 2px!important;
  font-size:var(--lf-ui-title-sm)!important;
  line-height:1.16!important;
}
.lf-command-widget>p,
.lf-command-widget__copy p{
  font-size:var(--lf-ui-text-sm)!important;
  line-height:1.36!important;
}

/* Próxima ação */
.lf-command-widget--mission{
  grid-template-columns:30px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
}
.lf-command-widget--mission .lf-btn{
  grid-column:auto!important;
  width:auto!important;
  min-width:78px!important;
  min-height:34px!important;
  padding:0 10px!important;
  font-size:var(--lf-ui-text-sm)!important;
}
.lf-command-widget__icon{
  width:30px!important;
  height:30px!important;
  border-radius:10px!important;
  font-size:var(--lf-ui-icon-sm)!important;
}

/* Hoje */
.lf-today-panel .lf-btn{
  width:auto!important;
  justify-self:start!important;
  min-height:34px!important;
}

/* Cabeçalhos de seção */
.lf-home-section-head{
  margin:0!important;
  gap:8px!important;
}
.lf-home-section-head h2{
  margin:2px 0 0!important;
  font-size:var(--lf-ui-title-sm)!important;
}

/* Jornada Editorial — assinatura visual compacta */
.lf-command-center .lf-journey-progress:not(.lf-journey-progress--compact){
  padding:7px 4px 8px!important;
  border-radius:var(--lf-ui-radius-md)!important;
}
.lf-command-center .lf-journey-progress:not(.lf-journey-progress--compact)>span{
  grid-template-rows:24px auto 9px!important;
  gap:1px!important;
}
.lf-command-center .lf-journey-progress__icon{
  width:22px!important;
  height:22px!important;
  border-radius:7px!important;
}
.lf-command-center .lf-journey-progress__icon svg{
  width:13px!important;
  height:13px!important;
  stroke-width:1.6!important;
}
.lf-command-center .lf-journey-progress small{
  font-size:.42rem!important;
  line-height:1!important;
}
.lf-command-center .lf-journey-progress i{
  width:7px!important;
  height:7px!important;
}
.lf-command-center .lf-journey-progress [data-current="true"] i{
  width:10px!important;
  height:10px!important;
}

/* Métricas — linha compacta profissional */
.lf-command-stats{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:5px!important;
}
.lf-command-stats article,
.lf-command-stats article:last-child:nth-child(odd){
  grid-column:auto!important;
  padding:8px 5px!important;
  border-radius:var(--lf-ui-radius-sm)!important;
  text-align:center!important;
  justify-items:center!important;
  background:rgba(16,22,33,.82)!important;
  box-shadow:none!important;
}
.lf-command-stats strong{
  font-size:1rem!important;
  line-height:1!important;
}
.lf-command-stats span{
  font-size:.48rem!important;
  line-height:1.05!important;
}
.lf-command-stats small{
  display:none!important;
}

/* Checklist Editorial — compacto, sutil e com ícones menores */
.lf-command-center .lf-journey-grid{
  gap:6px!important;
}
.lf-command-center .lf-journey-card{
  min-height:42px!important;
  grid-template-columns:24px minmax(0,1fr) 16px!important;
  gap:7px!important;
  padding:7px 9px!important;
  border-radius:var(--lf-ui-radius-md)!important;
  border-color:var(--lf-ui-line)!important;
  box-shadow:none!important;
}
.lf-command-center .lf-journey-card__status{
  width:22px!important;
  height:22px!important;
  border-radius:8px!important;
  font-size:.67rem!important;
}
.lf-command-center .lf-journey-card__copy small{
  font-size:.49rem!important;
}
.lf-command-center .lf-journey-card__copy strong{
  font-size:var(--lf-ui-text-md)!important;
  line-height:1.12!important;
}
.lf-command-center .lf-journey-card__arrow{
  font-size:.85rem!important;
}
.lf-command-center .lf-journey-card[data-current="true"]{
  border-color:rgba(139,92,246,.32)!important;
  background:linear-gradient(90deg,rgba(139,92,246,.09),rgba(16,22,33,.70))!important;
}

/* Atalhos compactos */
.lf-command-shortcuts{
  gap:6px!important;
}
.lf-command-shortcuts .lf-btn{
  min-height:34px!important;
  padding:5px 8px!important;
  font-size:var(--lf-ui-text-sm)!important;
}

/* Brain preview */
.lf-brain-preview{
  padding:12px!important;
  gap:8px!important;
}
.lf-brain-preview h2{
  font-size:var(--lf-ui-title-sm)!important;
  margin:2px 0!important;
}
.lf-brain-preview p{
  font-size:var(--lf-ui-text-sm)!important;
  line-height:1.35!important;
}
.lf-brain-preview .lf-btn{
  min-height:34px!important;
}

/* Motion */
.lf-panel,
.lf-btn,
.lf-journey-card{
  transition:transform .18s ease,border-color .18s ease,background-color .18s ease,box-shadow .18s ease!important;
}
@media (hover:hover){
  .lf-command-center .lf-journey-card:not(:disabled):hover{
    transform:translateY(-1px);
    border-color:var(--lf-ui-line-strong)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .lf-panel,.lf-btn,.lf-journey-card{transition:none!important}
}

@media(max-width:380px){
  .lf-command-hero{
    grid-template-columns:62px minmax(0,1fr)!important;
    gap:10px!important;
  }
  .lf-command-hero .lf-smart-cover--command{
    width:62px!important;
    min-width:62px!important;
    height:86px!important;
  }
  .lf-command-widget--mission{
    grid-template-columns:28px minmax(0,1fr)!important;
  }
  .lf-command-widget--mission .lf-btn{
    grid-column:1/-1!important;
    width:100%!important;
  }
  .lf-command-stats{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}


/* LoveFrame 6.2.2 — Premium Polish */
.lf-command-center{gap:8px!important}
.lf-command-widget{gap:6px!important}
.lf-command-widget.lf-panel{padding:10px!important}
.lf-panel{border-color:rgba(159,176,205,.09)!important;box-shadow:0 4px 14px rgba(0,0,0,.13)!important}
.lf-panel--elevated{box-shadow:0 7px 20px rgba(0,0,0,.16)!important}

.lf-command-hero{grid-template-columns:62px minmax(0,1fr)!important;gap:10px!important;padding:10px!important}
.lf-command-hero .lf-smart-cover--command{width:62px!important;min-width:62px!important;height:84px!important}
.lf-command-hero__copy h1{font-size:1.02rem!important}
.lf-command-hero__copy p{font-size:.64rem!important;line-height:1.28!important}
.lf-command-hero__meta{margin:5px 0 4px!important}

.lf-btn{min-height:34px!important;padding:0 10px!important;border-radius:9px!important;font-size:.68rem!important}
.lf-command-widget__head h2,.lf-command-widget__copy h2{font-size:.90rem!important}
.lf-command-widget>p,.lf-command-widget__copy p{font-size:.64rem!important}
.lf-kicker{font-size:.54rem!important}
.lf-status-pill,.lf-badge{min-height:20px!important;font-size:.54rem!important}

.lf-command-widget--mission{grid-template-columns:26px minmax(0,1fr) auto!important;gap:7px!important}
.lf-command-widget__icon{width:26px!important;height:26px!important;border-radius:8px!important;font-size:13px!important}
.lf-command-widget--mission .lf-btn{min-height:32px!important;min-width:72px!important}
.lf-today-panel{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important}
.lf-today-panel>p{grid-column:1/-1!important;margin-top:-2px!important}
.lf-today-panel .lf-btn{min-height:32px!important;width:auto!important;padding:0 9px!important}

.lf-command-center .lf-journey-progress:not(.lf-journey-progress--compact){padding:5px 3px 6px!important}
.lf-command-center .lf-journey-progress:not(.lf-journey-progress--compact)>span{grid-template-rows:20px auto 8px!important}
.lf-command-center .lf-journey-progress__icon{width:19px!important;height:19px!important;border-radius:6px!important}
.lf-command-center .lf-journey-progress__icon svg{width:11px!important;height:11px!important}
.lf-command-center .lf-journey-progress small{font-size:.38rem!important}
.lf-command-center .lf-journey-progress i{width:6px!important;height:6px!important}
.lf-command-center .lf-journey-progress [data-current="true"] i{width:9px!important;height:9px!important}

.lf-command-stats{gap:4px!important}
.lf-command-stats article{padding:7px 4px!important;border:none!important;background:rgba(255,255,255,.018)!important}
.lf-command-stats strong{font-size:1.02rem!important;letter-spacing:-.02em!important}
.lf-command-stats span{font-size:.43rem!important;font-weight:700!important;opacity:.82!important}

.lf-command-center .lf-journey-grid{gap:4px!important}
.lf-command-center .lf-journey-card{min-height:36px!important;grid-template-columns:20px minmax(0,1fr) 14px!important;gap:6px!important;padding:5px 8px!important;border-radius:11px!important}
.lf-command-center .lf-journey-card__status{width:18px!important;height:18px!important;border-radius:6px!important;font-size:.58rem!important}
.lf-command-center .lf-journey-card__copy small{font-size:.44rem!important}
.lf-command-center .lf-journey-card__copy strong{font-size:.68rem!important}
.lf-command-center .lf-journey-card__arrow{font-size:.75rem!important}
.lf-command-center .lf-journey-card[data-current="true"]{border-color:rgba(139,92,246,.25)!important;background:linear-gradient(90deg,rgba(139,92,246,.07),rgba(16,22,33,.55))!important}

.lf-command-shortcuts{gap:5px!important}
.lf-command-shortcuts .lf-btn{min-height:31px!important;font-size:.62rem!important}

.lf-brain-preview{grid-template-columns:minmax(0,1fr)!important;padding:10px!important;gap:7px!important}
.lf-brain-preview__metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.lf-brain-preview__metrics article{display:grid;justify-items:center;gap:2px;padding:7px 3px;border-radius:9px;background:rgba(255,255,255,.018);border:1px solid rgba(159,176,205,.07)}
.lf-brain-preview__metrics strong{font-size:.88rem;line-height:1}
.lf-brain-preview__metrics span{font-size:.42rem;color:var(--lf-muted);text-align:center;line-height:1.1}
.lf-brain-preview .lf-btn{min-height:31px!important}

@media(max-width:380px){
 .lf-command-center{gap:7px!important}
 .lf-command-widget.lf-panel{padding:9px!important}
 .lf-command-hero{grid-template-columns:58px minmax(0,1fr)!important}
 .lf-command-hero .lf-smart-cover--command{width:58px!important;min-width:58px!important;height:80px!important}
 .lf-command-widget--mission{grid-template-columns:24px minmax(0,1fr)!important}
 .lf-command-widget--mission .lf-btn{grid-column:1/-1!important;width:100%!important}
}


/* LoveFrame 6.2.3 — Dashboard Alignment Fix */

/* Próxima ação e Hoje lado a lado */
.lf-command-duo{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  align-items:stretch;
}
.lf-command-duo > .lf-panel{
  height:100%;
  box-sizing:border-box;
}
.lf-command-duo .lf-command-widget--mission{
  grid-template-columns:26px minmax(0,1fr)!important;
  align-content:start!important;
}
.lf-command-duo .lf-command-widget--mission .lf-btn{
  grid-column:1/-1!important;
  width:100%!important;
  align-self:end!important;
}
.lf-command-duo .lf-today-panel{
  display:grid!important;
  grid-template-columns:1fr!important;
  align-content:start!important;
}
.lf-command-duo .lf-today-panel .lf-command-widget__head{
  display:block!important;
}
.lf-command-duo .lf-today-panel .lf-status-pill{
  margin-top:5px!important;
}
.lf-command-duo .lf-today-panel .lf-btn{
  width:100%!important;
  justify-self:stretch!important;
  align-self:end!important;
}

/* Jornada: ícone, bolinha/linha e rótulo em três faixas separadas */
.lf-command-center .lf-journey-progress:not(.lf-journey-progress--compact){
  padding:7px 5px 8px!important;
  overflow:hidden!important;
}
.lf-command-center .lf-journey-progress:not(.lf-journey-progress--compact)::after,
.lf-command-center .lf-journey-progress:not(.lf-journey-progress--compact)::before{
  bottom:auto!important;
  top:34px!important;
  height:1.5px!important;
  z-index:0!important;
}
.lf-command-center .lf-journey-progress:not(.lf-journey-progress--compact)>span{
  grid-template-rows:20px 12px auto!important;
  row-gap:3px!important;
  z-index:2!important;
}
.lf-command-center .lf-journey-progress:not(.lf-journey-progress--compact) .lf-journey-progress__icon{
  grid-row:1!important;
}
.lf-command-center .lf-journey-progress:not(.lf-journey-progress--compact) i{
  grid-row:2!important;
  position:relative!important;
  z-index:3!important;
  align-self:center!important;
}
.lf-command-center .lf-journey-progress:not(.lf-journey-progress--compact) small{
  grid-row:3!important;
  position:relative!important;
  z-index:3!important;
  margin-top:0!important;
  color:#aab2c2!important;
  overflow:visible!important;
  text-overflow:clip!important;
}

/* Checklist editorial horizontal igual à referência */
.lf-editorial-checklist{
  padding:10px 11px 9px!important;
  gap:8px!important;
}
.lf-editorial-checklist__title{
  font-size:.78rem;
  font-weight:760;
  color:#edf0f7;
}
.lf-editorial-checklist__track{
  display:flex;
  align-items:flex-start;
  gap:12px;
  overflow-x:auto;
  padding:1px 1px 5px;
  scrollbar-width:none;
}
.lf-editorial-checklist__track::-webkit-scrollbar{display:none}
.lf-editorial-checklist__item{
  position:relative;
  flex:0 0 auto;
  min-height:27px;
  padding:0 0 7px;
  border:0;
  background:transparent;
  color:#aeb5c4;
  display:flex;
  align-items:center;
  gap:6px;
  font:inherit;
  font-size:.59rem;
  white-space:nowrap;
}
.lf-editorial-checklist__item:disabled{opacity:.72}
.lf-editorial-checklist__dot{
  width:13px;
  height:13px;
  box-sizing:border-box;
  border-radius:50%;
  border:1.5px solid #687084;
  display:grid;
  place-items:center;
  font-size:.47rem;
  font-weight:900;
  color:#101621;
}
.lf-editorial-checklist__item[data-status="canonical"]{
  color:#d8dde7;
}
.lf-editorial-checklist__item[data-status="canonical"] .lf-editorial-checklist__dot{
  background:#83bd67;
  border-color:#83bd67;
}
.lf-editorial-checklist__item[data-current="true"]{
  color:#eef1f7;
}
.lf-editorial-checklist__item[data-current="true"] .lf-editorial-checklist__dot{
  border-color:#a7cf68;
  box-shadow:0 0 0 2px rgba(167,207,104,.08);
}
.lf-editorial-checklist__item i{
  position:absolute;
  left:50%;
  bottom:0;
  width:0;
  height:0;
  transform:translateX(-50%);
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  border-bottom:5px solid #9fc866;
}

@media(max-width:340px){
  .lf-command-duo{grid-template-columns:1fr}
}


/* LoveFrame 6.2.5 — Dashboard Stabilization */
.lf-dashboard-card-title{display:flex;align-items:center;gap:7px;min-width:0}
.lf-dashboard-card-title h2{margin:0!important;font-size:.76rem!important;line-height:1.1!important}
.lf-dashboard-card-icon{color:#8c78ff;font-size:.86rem;line-height:1}
.lf-today-panel{display:grid!important;grid-template-columns:1fr!important;align-content:start!important;gap:9px!important}
.lf-today-list{display:grid;gap:8px;padding-top:7px;border-top:1px solid rgba(159,176,205,.09)}
.lf-today-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.lf-today-list span,.lf-today-list strong{font-size:.57rem;line-height:1.25}
.lf-today-list span{color:#aeb5c4}
.lf-today-list strong{color:#edf0f7;text-align:right;font-weight:650}
.lf-today-list__success{color:#9bcc68!important}
.lf-editorial-progress{padding:10px!important;gap:9px!important}
.lf-editorial-progress__head,.lf-quick-access__head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.lf-editorial-progress__details,.lf-quick-access__customize{border:0;background:transparent;color:#b7bdc9;display:inline-flex;align-items:center;gap:5px;padding:0;font:inherit;font-size:.55rem;white-space:nowrap}
.lf-editorial-progress__track{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}
.lf-editorial-progress__stage{min-width:0;border:0;background:transparent;color:#c5cad4;padding:0 1px;display:grid;justify-items:center;grid-template-rows:30px 15px 4px 12px;gap:3px}
.lf-editorial-progress__icon{width:28px;height:28px;display:grid;place-items:center;border:1px solid rgba(159,176,205,.14);border-radius:50%;background:rgba(255,255,255,.025)}
.lf-editorial-progress__icon svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.lf-editorial-progress__label{max-width:100%;font-size:.40rem;line-height:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lf-editorial-progress__bar{width:82%;height:3px;overflow:hidden;border-radius:999px;background:#293140}
.lf-editorial-progress__bar i{display:block;height:100%;border-radius:inherit;background:#727b8b}
.lf-editorial-progress__stage strong{font-size:.45rem;font-weight:650;color:#b8bec9}
.lf-editorial-progress__stage[data-tone="complete"]{color:#91c76e}
.lf-editorial-progress__stage[data-tone="complete"] .lf-editorial-progress__bar i{background:#82bf61}
.lf-editorial-progress__stage[data-tone="active"]{color:#e5b14a}
.lf-editorial-progress__stage[data-tone="active"] .lf-editorial-progress__bar i{background:#eea92f}
.lf-editorial-progress__stage[data-tone="started"]{color:#ef8651}
.lf-editorial-progress__stage[data-tone="started"] .lf-editorial-progress__bar i{background:#ed7546}
.lf-editorial-progress__stage[data-tone="future"]{color:#8c94a4}
.lf-editorial-checklist{overflow:hidden!important}
.lf-editorial-checklist__track{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:1px!important;overflow:visible!important;padding:1px 0 5px!important}
.lf-editorial-checklist__item{min-width:0!important;justify-content:center!important;gap:3px!important;font-size:clamp(.34rem,1.45vw,.52rem)!important}
.lf-editorial-checklist__dot{width:11px!important;height:11px!important;min-width:11px!important;font-size:.40rem!important}
.lf-editorial-checklist__label-short{display:inline}
.lf-editorial-checklist__label-full{display:none}
.lf-editorial-checklist__item i{border-left-width:3px!important;border-right-width:3px!important;border-bottom-width:4px!important}
.lf-quick-access{padding:10px!important;gap:9px!important}
.lf-quick-access__track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.lf-quick-access__item{min-width:0;min-height:33px;padding:5px 7px;border:1px solid rgba(159,176,205,.13);border-radius:9px;background:rgba(255,255,255,.018);color:#e5e8ef;display:flex;align-items:center;justify-content:center;gap:6px}
.lf-quick-access__item>span{width:15px;height:15px;color:#8b73fa}
.lf-quick-access__item svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.lf-quick-access__item strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.54rem;font-weight:650}
@media(min-width:520px){.lf-editorial-checklist__label-short{display:none}.lf-editorial-checklist__label-full{display:inline}}
@media(max-width:340px){.lf-editorial-progress__track{gap:2px}.lf-editorial-progress__icon{width:25px;height:25px}.lf-editorial-progress__label{font-size:.36rem}.lf-quick-access__track{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* LoveFrame 6.2.6 — Dashboard Polish */
.lf-command-center{gap:11px!important}
.lf-command-hero{padding:12px!important;gap:12px!important}
.lf-command-hero__copy{display:grid!important;align-content:start!important;row-gap:7px!important}
.lf-command-hero__copy .lf-kicker,
.lf-command-hero__copy h1,
.lf-command-hero__copy p,
.lf-command-hero__copy .lf-command-hero__meta,
.lf-command-hero__copy .lf-progress{margin:0!important}
.lf-command-hero__copy p{line-height:1.42!important}
.lf-command-hero__meta{margin-top:1px!important}
.lf-command-hero__meta span{display:none!important}

.lf-editorial-progress__track{grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:6px!important}
.lf-editorial-progress__stage{grid-template-rows:30px 15px 4px 12px!important;row-gap:4px!important}
.lf-editorial-progress__label{font-size:.42rem!important}

.lf-editorial-checklist__track{
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
  align-items:start!important;
  gap:2px!important;
}
.lf-editorial-checklist__item{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:14px auto!important;
  justify-items:center!important;
  align-items:start!important;
  gap:4px!important;
  min-height:34px!important;
  padding:0 1px 6px!important;
  text-align:center!important;
  white-space:normal!important;
}
.lf-editorial-checklist__dot{
  grid-row:1!important;
  width:12px!important;
  height:12px!important;
  min-width:12px!important;
  margin:0!important;
}
.lf-editorial-checklist__label-full,
.lf-editorial-checklist__label-short{
  grid-row:2!important;
  width:100%!important;
  line-height:1.05!important;
  text-align:center!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
}
.lf-editorial-checklist__item i{bottom:-1px!important}

@media(max-width:380px){
  .lf-command-center{gap:10px!important}
  .lf-command-hero__copy{row-gap:6px!important}
  .lf-editorial-progress__track{gap:3px!important}
  .lf-editorial-checklist__item{gap:3px!important}
}


/* LoveFrame 6.2.7 — Mission Card Alignment */
.lf-command-duo .lf-command-widget--mission{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:auto auto auto!important;
  align-content:start!important;
  gap:11px!important;
  padding:11px!important;
}
.lf-mission-card__head{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.lf-mission-card__icon{
  width:26px;
  height:26px;
  flex:0 0 26px;
  display:grid;
  place-items:center;
  border:1px solid rgba(139,92,246,.28);
  border-radius:9px;
  background:rgba(92,49,145,.28);
  color:#b99cff;
}
.lf-mission-card__icon svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.lf-mission-card__label{
  color:#b99cff;
  font-size:.58rem;
  font-weight:850;
  letter-spacing:.11em;
  text-transform:uppercase;
  line-height:1;
}
.lf-mission-card__body{
  display:grid;
  gap:6px;
  min-width:0;
}
.lf-mission-card__body h2{
  margin:0!important;
  font-size:.91rem!important;
  line-height:1.12!important;
  letter-spacing:-.015em;
}
.lf-mission-card__body p{
  margin:0!important;
  color:#aeb5c4!important;
  font-size:.64rem!important;
  line-height:1.38!important;
}
.lf-command-duo .lf-mission-card__button{
  grid-column:1!important;
  width:100%!important;
  min-height:34px!important;
  margin-top:1px;
  align-self:end!important;
}

@media(max-width:380px){
  .lf-command-duo .lf-command-widget--mission{
    gap:9px!important;
    padding:10px!important;
  }
}


/* LoveFrame 6.2.8 — Quick Access Fit */
.lf-quick-access{
  padding:9px!important;
}
.lf-quick-access__track{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:5px!important;
}
.lf-quick-access__item{
  min-width:0!important;
  min-height:30px!important;
  padding:4px 5px!important;
  gap:4px!important;
  border-radius:8px!important;
}
.lf-quick-access__item>span{
  width:13px!important;
  height:13px!important;
  flex:0 0 13px!important;
}
.lf-quick-access__item svg{
  width:13px!important;
  height:13px!important;
}
.lf-quick-access__item strong{
  min-width:0!important;
  width:auto!important;
  font-size:.48rem!important;
  line-height:1!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
}
.lf-quick-access__customize{
  font-size:.50rem!important;
}
@media(max-width:380px){
  .lf-quick-access__track{
    gap:4px!important;
  }
  .lf-quick-access__item{
    min-height:29px!important;
    padding:4px!important;
    gap:3px!important;
  }
  .lf-quick-access__item>span,
  .lf-quick-access__item svg{
    width:12px!important;
    height:12px!important;
  }
  .lf-quick-access__item strong{
    font-size:.44rem!important;
  }
}


/* LoveFrame 6.2.9 — Checklist Fit */
.lf-editorial-checklist__track{
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
  gap:3px!important;
}
.lf-editorial-checklist__item{
  min-width:0!important;
}
.lf-editorial-checklist__label-short,
.lf-editorial-checklist__label-full{
  max-width:100%!important;
}


/* LoveFrame 6.3.0 — Today Card Alignment */
.lf-command-duo .lf-today-panel{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:auto 1fr!important;
  align-content:start!important;
  gap:11px!important;
  padding:11px!important;
}
.lf-today-card__head{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  padding-bottom:8px;
  border-bottom:1px solid rgba(159,176,205,.09);
}
.lf-today-card__icon{
  width:26px;
  height:26px;
  flex:0 0 26px;
  display:grid;
  place-items:center;
  border:1px solid rgba(139,92,246,.28);
  border-radius:9px;
  background:rgba(92,49,145,.28);
  color:#b99cff;
}
.lf-today-card__icon svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.lf-today-card__label{
  color:#b99cff;
  font-size:.58rem;
  font-weight:850;
  letter-spacing:.11em;
  text-transform:uppercase;
  line-height:1;
}
.lf-command-duo .lf-today-list{
  padding-top:0!important;
  border-top:0!important;
  gap:9px!important;
}
.lf-command-duo .lf-today-list>div{
  min-height:18px;
}
.lf-command-duo .lf-today-list span,
.lf-command-duo .lf-today-list strong{
  font-size:.57rem!important;
  line-height:1.25!important;
}
@media(max-width:380px){
  .lf-command-duo .lf-today-panel{
    gap:9px!important;
    padding:10px!important;
  }
}


/* LoveFrame 6.3.1 — Home Professional Refresh */
.lf-home-premium{
  gap:11px!important;
}
.lf-home-welcome{
  padding:11px 2px 8px!important;
  align-items:center!important;
}
.lf-home-welcome h1{
  margin:3px 0 3px!important;
  font-size:1.24rem!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
}
.lf-home-welcome p{
  margin:0!important;
  font-size:.68rem!important;
  line-height:1.35!important;
}
.lf-home-welcome__mark{
  width:42px!important;
  height:42px!important;
  border-radius:13px!important;
  font-size:1.1rem!important;
}

.lf-home-featured{
  grid-template-columns:88px minmax(0,1fr)!important;
  gap:12px!important;
  padding:12px!important;
  border-radius:20px!important;
}
.lf-home-featured .lf-smart-cover--hero{
  width:88px!important;
  min-width:88px!important;
  height:118px!important;
  border-radius:14px!important;
}
.lf-home-featured__copy{
  display:grid!important;
  align-content:start!important;
  gap:6px!important;
  min-width:0!important;
}
.lf-home-featured__copy h2{
  margin:0!important;
  font-size:1.02rem!important;
  line-height:1.08!important;
}
.lf-home-featured__copy>p{
  margin:0!important;
  font-size:.64rem!important;
  line-height:1.32!important;
}
.lf-home-featured__meta{
  margin:0!important;
  font-size:.58rem!important;
}
.lf-home-featured__copy .lf-btn{
  min-height:34px!important;
  margin-top:1px!important;
}

/* Mesmo conceito de Progresso Editorial usado na página da obra */
.lf-home-editorial-progress{
  display:grid;
  gap:9px;
  padding:10px!important;
}
.lf-home-editorial-progress__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.lf-home-editorial-progress__track{
  display:grid;
  grid-template-columns:repeat(8,minmax(0,1fr));
  gap:6px;
}
.lf-home-editorial-progress__stage{
  min-width:0;
  display:grid;
  justify-items:center;
  grid-template-rows:30px 15px 4px 12px;
  gap:4px;
  color:#c5cad4;
}
.lf-home-editorial-progress__icon{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border:1px solid rgba(159,176,205,.14);
  border-radius:50%;
  background:rgba(255,255,255,.025);
}
.lf-home-editorial-progress__icon svg{
  width:14px;
  height:14px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.lf-home-editorial-progress__label{
  max-width:100%;
  font-size:.40rem;
  line-height:1;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.lf-home-editorial-progress__bar{
  width:82%;
  height:3px;
  overflow:hidden;
  border-radius:999px;
  background:#293140;
}
.lf-home-editorial-progress__bar i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:#727b8b;
}
.lf-home-editorial-progress__stage strong{
  font-size:.45rem;
  font-weight:650;
  color:#b8bec9;
}
.lf-home-editorial-progress__stage[data-tone="complete"]{color:#91c76e}
.lf-home-editorial-progress__stage[data-tone="complete"] .lf-home-editorial-progress__bar i{background:#82bf61}
.lf-home-editorial-progress__stage[data-tone="active"]{color:#e5b14a}
.lf-home-editorial-progress__stage[data-tone="active"] .lf-home-editorial-progress__bar i{background:#eea92f}
.lf-home-editorial-progress__stage[data-tone="started"]{color:#ef8651}
.lf-home-editorial-progress__stage[data-tone="started"] .lf-home-editorial-progress__bar i{background:#ed7546}
.lf-home-editorial-progress__stage[data-tone="future"]{color:#8c94a4}

/* Biblioteca da Home mais compacta e coerente */
.lf-home-section-head{
  padding:4px 0 0!important;
}
.lf-home-section-head h2{
  font-size:1rem!important;
}
.lf-library-premium-grid{
  gap:8px!important;
}
.lf-library-row-card{
  min-height:104px!important;
  border-radius:17px!important;
}
.lf-library-row-card .lf-smart-cover--thumb{
  width:76px!important;
  min-width:76px!important;
}
.lf-library-row-card__body{
  padding:10px!important;
  gap:6px!important;
}
.lf-library-row-card__head h2{
  font-size:.88rem!important;
  line-height:1.1!important;
}
.lf-library-row-card__head p{
  font-size:.61rem!important;
}
.lf-library-row-card__footer{
  gap:7px!important;
}
.lf-library-row-card__continue{
  min-height:31px!important;
  padding:0 9px!important;
  font-size:.60rem!important;
}

@media(max-width:380px){
  .lf-home-featured{
    grid-template-columns:80px minmax(0,1fr)!important;
    gap:10px!important;
    padding:10px!important;
  }
  .lf-home-featured .lf-smart-cover--hero{
    width:80px!important;
    min-width:80px!important;
    height:110px!important;
  }
  .lf-home-editorial-progress__track{gap:3px}
  .lf-home-editorial-progress__icon{width:25px;height:25px}
  .lf-home-editorial-progress__label{font-size:.36rem}
}


/* LoveFrame 6.3.27 — Página da obra: capa alinhada ao bloco textual principal */

/* Card principal: capa e conteúdo usam o mesmo eixo vertical */
.lf-command-hero{
  grid-template-columns:78px minmax(0,1fr)!important;
  gap:14px!important;
  align-items:center!important;
  padding:12px!important;
}

/* Capa ligeiramente maior, mantendo proporção editorial */
.lf-command-hero .lf-smart-cover--command{
  width:78px!important;
  min-width:78px!important;
  height:112px!important;
  min-height:112px!important;
  align-self:center!important;
  border-radius:13px!important;
}

/* Bloco textual acompanha a altura útil da capa */
.lf-command-hero__copy{
  min-width:0!important;
  min-height:112px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  padding:2px 0!important;
}

/* Ritmo interno compacto e equilibrado */
.lf-command-hero__copy .lf-kicker{
  margin:0 0 5px!important;
  line-height:1.05!important;
}

.lf-command-hero__copy h1{
  margin:0 0 6px!important;
  line-height:1.10!important;
}

.lf-command-hero__copy > p{
  margin:0 0 7px!important;
  line-height:1.35!important;
}

.lf-command-hero__meta{
  margin:0 0 5px!important;
}

/* Barra encosta no mesmo bloco visual, sem sobras */
.lf-command-hero__copy .lf-progress{
  margin:0!important;
  width:100%!important;
}

/* Mobile muito estreito: mantém a proporção e o alinhamento */
@media(max-width:380px){
  .lf-command-hero{
    grid-template-columns:72px minmax(0,1fr)!important;
    gap:12px!important;
  }

  .lf-command-hero .lf-smart-cover--command{
    width:72px!important;
    min-width:72px!important;
    height:104px!important;
    min-height:104px!important;
  }

  .lf-command-hero__copy{
    min-height:104px!important;
  }
}


/* LoveFrame 6.3.28 — Card principal: densidade e alinhamento */
.lf-command-hero{
  align-items:center!important;
  padding-top:10px!important;
  padding-bottom:10px!important;
}
.lf-command-hero .lf-smart-cover--command{align-self:center!important;}
.lf-command-hero__copy{
  justify-content:center!important;
  padding:0!important;
}
.lf-command-hero__copy .lf-kicker{
  margin-bottom:3px!important;
  line-height:1!important;
}
.lf-command-hero__copy h1{
  margin-bottom:4px!important;
  line-height:1.06!important;
}
.lf-command-hero__copy > p{
  margin-bottom:5px!important;
  line-height:1.27!important;
}
.lf-command-hero__meta{
  margin-bottom:3px!important;
  line-height:1.1!important;
}
.lf-command-hero__copy .lf-progress{margin-top:0!important;}

@media(max-width:520px){
  .lf-command-hero{
    grid-template-columns:78px minmax(0,1fr)!important;
    gap:12px!important;
  }
  .lf-command-hero .lf-smart-cover--command{
    width:78px!important; min-width:78px!important;
    height:108px!important; min-height:108px!important;
  }
  .lf-command-hero__copy{min-height:108px!important;}
}
@media(max-width:380px){
  .lf-command-hero{
    grid-template-columns:72px minmax(0,1fr)!important;
    gap:11px!important;
  }
  .lf-command-hero .lf-smart-cover--command{
    width:72px!important; min-width:72px!important;
    height:100px!important; min-height:100px!important;
  }
  .lf-command-hero__copy{min-height:100px!important;}
}


/* LoveFrame 6.3.29 — refinamentos editoriais */

/* Percentual em roxo/negrito; "concluído" branco */
.lf-command-progress__value{
  color:#9b5cff!important;
  font-weight:850!important;
}
.lf-command-progress__label{
  color:#f8fafc!important;
  font-weight:700!important;
}

/* Lápis no botão Continuar */
.lf-inline-pencil{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin-right:6px!important;
  font-size:.95em!important;
  line-height:1!important;
  transform:translateY(-1px)!important;
}

/* Progresso editorial: espaçamento uniforme
   ícone → legenda = legenda → barra = barra → porcentagem */
.lf-editorial-progress__stage{
  display:grid!important;
  grid-template-rows:auto auto auto auto!important;
  justify-items:center!important;
  align-items:start!important;
  row-gap:0!important;
}
.lf-editorial-progress__icon{
  margin:0 0 6px!important;
}
.lf-editorial-progress__label{
  margin:0 0 6px!important;
  padding:0!important;
  line-height:1.05!important;
}
.lf-editorial-progress__bar{
  margin:0 0 6px!important;
}
.lf-editorial-progress__stage > strong{
  margin:0!important;
  padding:0!important;
  line-height:1!important;
}

/* Cabeçalhos de módulos com ícones coerentes */
.lf-dashboard-card-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:22px!important;
  min-width:22px!important;
  height:22px!important;
  font-size:1rem!important;
  line-height:1!important;
  color:#9b5cff!important;
}
.lf-module-heading{
  display:flex!important;
  align-items:flex-start!important;
  gap:8px!important;
}
.lf-module-heading .lf-dashboard-card-icon{
  margin-top:1px!important;
}
.lf-editorial-checklist__title{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}


/* LoveFrame 6.3.30 — Tipografia padronizada PELO CARD PRINCIPAL
   Referência real da interface existente, sem criar nova escala. */
:root{
  --lf-type-ref-title:1.08rem;
  --lf-type-ref-subtitle:.68rem;
  --lf-type-ref-meta:.60rem;
  --lf-type-ref-kicker:.54rem;
}

/* Títulos de módulos passam a usar a mesma escala visual do título do card principal */
.lf-dashboard-card-title h2,
.lf-command-widget__head h2,
.lf-command-widget__copy h2,
.lf-brain-preview h2,
.lf-quick-access__head h2,
.lf-editorial-progress__head h2{
  font-size:var(--lf-type-ref-title)!important;
  line-height:1.10!important;
  font-weight:800!important;
  letter-spacing:-.015em!important;
}

/* Subtítulos e descrições seguem o mesmo tamanho do texto do card principal */
.lf-command-widget p,
.lf-command-widget__copy p,
.lf-mission-card__body p,
.lf-brain-preview p,
.lf-today-list span,
.lf-command-stats span{
  font-size:var(--lf-type-ref-subtitle)!important;
  line-height:1.35!important;
}

/* Labels secundárias e percentuais seguem a escala meta do card principal */
.lf-editorial-progress__label,
.lf-editorial-progress__stage > strong,
.lf-editorial-checklist__label-full,
.lf-editorial-checklist__label-short,
.lf-quick-access__item strong,
.lf-command-stats small{
  font-size:var(--lf-type-ref-meta)!important;
  line-height:1.1!important;
}

/* Kicker/eyebrow padronizado conforme card principal */
.lf-kicker,
.lf-mission-card__label,
.lf-today-card__label{
  font-size:var(--lf-type-ref-kicker)!important;
  line-height:1.1!important;
  font-weight:800!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
}

/* Mantém o card principal como fonte de verdade */
.lf-command-hero__copy h1{
  font-size:1.08rem!important;
}
.lf-command-hero__copy > p{
  font-size:.68rem!important;
}
.lf-command-hero__meta{
  font-size:.60rem!important;
}


/* LoveFrame 6.3.31 — Refinamento da hierarquia dos títulos
   O título do card principal permanece em destaque.
   Títulos brancos internos ficam um nível abaixo para melhor equilíbrio mobile. */
:root{
  --lf-type-module-title:.90rem;
}

.lf-dashboard-card-title h2,
.lf-command-widget__head h2,
.lf-command-widget__copy h2,
.lf-brain-preview h2,
.lf-quick-access__head h2,
.lf-editorial-progress__head h2{
  font-size:var(--lf-type-module-title)!important;
  line-height:1.14!important;
  font-weight:800!important;
  letter-spacing:-.012em!important;
}

/* Seções como "Visão rápida da obra" também seguem a hierarquia secundária. */
.lf-command-center h3{
  font-size:var(--lf-type-module-title)!important;
  line-height:1.14!important;
  font-weight:800!important;
  letter-spacing:-.012em!important;
}

/* Card protagonista continua maior. */
.lf-command-hero__copy h1{
  font-size:var(--lf-ui-title-md)!important;
  line-height:1.10!important;
}


/* LoveFrame 6.3.32 — Dashboard cleanup + editorial labels */
.lf-editorial-progress__label{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  line-height:1.05!important;
  min-height:1.35rem!important;
  font-size:clamp(.46rem,2.15vw,.58rem)!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
.lf-editorial-progress__stage{
  min-width:0!important;
}
.lf-editorial-progress__track{
  align-items:start!important;
}
@media(max-width:390px){
  .lf-editorial-progress__track{gap:4px!important;}
  .lf-editorial-progress__label{font-size:.45rem!important;}
}


/* LoveFrame 6.3.33 — Cabeçalhos de seção padronizados com Próxima ação / Hoje */
.lf-section-card__head{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
}

.lf-section-card__icon{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:10px!important;
  color:#a98bff!important;
  background:linear-gradient(180deg,rgba(124,58,237,.24),rgba(124,58,237,.14))!important;
  border:1px solid rgba(168,85,247,.34)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
}

.lf-section-card__icon svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

.lf-section-card__label{
  min-width:0!important;
  color:#b59cff!important;
  font-size:.72rem!important;
  line-height:1.1!important;
  font-weight:800!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
}

/* Alinha os headers nos cards que possuem ação à direita */
.lf-editorial-progress__head,
.lf-quick-access__head{
  align-items:center!important;
}

/* Visão rápida e Brain usam o mesmo respiro abaixo do cabeçalho */
.lf-command-widget__head:has(.lf-section-card__head),
.lf-brain-preview > .lf-section-card__head{
  margin-bottom:10px!important;
}

/* Evita regras antigas de título branco interferindo nesses novos headers */
.lf-section-card__head h2{
  display:none!important;
}

@media(max-width:380px){
  .lf-section-card__head{
    gap:8px!important;
  }
  .lf-section-card__icon{
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    border-radius:9px!important;
  }
  .lf-section-card__icon svg{
    width:17px!important;
    height:17px!important;
  }
  .lf-section-card__label{
    font-size:.68rem!important;
  }
}

/* LoveFrame 6.3.34 — equivalência EXATA com os headers Próxima ação / Hoje */
.lf-section-card__head{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
.lf-section-card__icon{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  flex:0 0 34px!important;
  border-radius:10px!important;
  font-size:18px!important;
}
.lf-section-card__icon svg{
  width:18px!important;
  height:18px!important;
}
.lf-section-card__label{
  font-size:.72rem!important;
  line-height:1.1!important;
  font-weight:800!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
}

/* Neutraliza reduções anteriores em telas estreitas: devem continuar iguais a Hoje/Próxima ação */
@media(max-width:380px){
  .lf-section-card__head{gap:10px!important}
  .lf-section-card__icon{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    flex-basis:34px!important;
    border-radius:10px!important;
  }
  .lf-section-card__icon svg{width:18px!important;height:18px!important}
  .lf-section-card__label{font-size:.72rem!important}
}

/* LoveFrame 6.3.35 — correção real:
   headers de seção usam EXATAMENTE a escala de Próxima ação / Hoje */
.lf-section-card__head{
  gap:8px!important;
}
.lf-section-card__icon{
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  flex:0 0 26px!important;
  border-radius:9px!important;
}
.lf-section-card__icon svg{
  width:15px!important;
  height:15px!important;
  stroke-width:1.7!important;
}
.lf-section-card__label{
  font-size:var(--lf-type-ref-kicker)!important;
  line-height:1.1!important;
  font-weight:800!important;
  letter-spacing:.10em!important;
}

/* Não aumentar novamente no mobile */
@media(max-width:380px){
  .lf-section-card__head{gap:8px!important}
  .lf-section-card__icon{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    flex-basis:26px!important;
    border-radius:9px!important;
  }
  .lf-section-card__icon svg{width:15px!important;height:15px!important}
  .lf-section-card__label{font-size:var(--lf-type-ref-kicker)!important}
}


/* LoveFrame 6.3.36 — Atalhos horizontais + detalhe com olho */

/* Progresso editorial: CTA secundário com ícone de olho */
.lf-editorial-progress__details{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  color:rgba(226,232,240,.72)!important;
  font-size:.62rem!important;
  line-height:1!important;
  white-space:nowrap!important;
  padding:4px 0!important;
}
.lf-detail-eye{
  width:15px!important;
  height:15px!important;
  min-width:15px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.lf-detail-eye svg{
  width:15px!important;
  height:15px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* Atalhos rápidos: header sem ação à direita */
.lf-quick-access__head{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
}

/* Faixa horizontal com todos os atalhos */
.lf-quick-access__track{
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:8px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-inline:contain!important;
  scroll-snap-type:x proximity!important;
  scrollbar-width:none!important;
  padding:2px 2px 6px!important;
  margin-inline:-2px!important;
}
.lf-quick-access__track::-webkit-scrollbar{
  display:none!important;
}

/* Cada atalho mantém largura estável e deixa evidente que há mais conteúdo */
.lf-quick-access__item{
  flex:0 0 112px!important;
  min-width:112px!important;
  max-width:112px!important;
  scroll-snap-align:start!important;
}

/* Ícones de todos os atalhos com mesma área */
.lf-quick-access__item > span{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

/* leve respiro no fim para o último item não colar na borda */
.lf-quick-access__track::after{
  content:""!important;
  flex:0 0 2px!important;
}

@media(max-width:380px){
  .lf-editorial-progress__details{
    font-size:.58rem!important;
    gap:4px!important;
  }
  .lf-detail-eye,
  .lf-detail-eye svg{
    width:14px!important;
    height:14px!important;
    min-width:14px!important;
  }
  .lf-quick-access__item{
    flex-basis:104px!important;
    min-width:104px!important;
    max-width:104px!important;
  }
}


/* LoveFrame 6.3.37 — Ideia e Proposta integrados ao card principal */

/* Ritmo interno mais compacto */
.lf-command-hero__copy{
  justify-content:center!important;
  gap:0!important;
}
.lf-command-hero__copy .lf-kicker{
  margin:0 0 2px!important;
  line-height:1!important;
}
.lf-command-hero__copy h1{
  margin:0 0 5px!important;
  line-height:1.05!important;
}

/* A linha de atalhos usa exatamente 100% da largura do mesmo bloco da barra */
.lf-command-hero__quick-row{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;
  margin:0 0 5px!important;
  box-sizing:border-box!important;
}

/* Dois itens iguais, lado a lado */
.lf-command-hero__quick{
  width:100%!important;
  min-width:0!important;
  height:30px!important;
  min-height:30px!important;
  padding:0 8px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  border-radius:8px!important;
  border:1px solid rgba(139,92,246,.24)!important;
  background:rgba(124,58,237,.09)!important;
  color:#ddd4ff!important;
  font-size:.61rem!important;
  line-height:1!important;
  font-weight:750!important;
  white-space:nowrap!important;
}

/* Ícones de Ideia e Proposta com a mesma dimensão */
.lf-command-hero__quick-icon{
  width:15px!important;
  height:15px!important;
  min-width:15px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#a98bff!important;
}
.lf-command-hero__quick-icon svg{
  width:15px!important;
  height:15px!important;
}

/* Sinopse e progresso mais próximos */
.lf-command-hero__copy > p{
  margin:0 0 4px!important;
  line-height:1.24!important;
}
.lf-command-hero__meta{
  margin:0 0 3px!important;
  line-height:1.05!important;
}

/* Barra e atalhos compartilham exatamente a largura útil do copy */
.lf-command-hero__quick-row,
.lf-command-hero__copy .lf-progress{
  width:100%!important;
  max-width:none!important;
}

/* Compensa a nova linha sem esticar demais a capa */
.lf-command-hero__copy{
  min-height:116px!important;
}
.lf-command-hero .lf-smart-cover--command{
  height:116px!important;
  min-height:116px!important;
}

@media(max-width:380px){
  .lf-command-hero__quick-row{
    gap:5px!important;
    margin-bottom:4px!important;
  }
  .lf-command-hero__quick{
    height:28px!important;
    min-height:28px!important;
    padding:0 6px!important;
    font-size:.57rem!important;
    gap:4px!important;
  }
  .lf-command-hero__quick-icon,
  .lf-command-hero__quick-icon svg{
    width:14px!important;
    height:14px!important;
    min-width:14px!important;
  }
  .lf-command-hero__copy{
    min-height:108px!important;
  }
  .lf-command-hero .lf-smart-cover--command{
    height:108px!important;
    min-height:108px!important;
  }
}


/* LoveFrame 6.3.38 — atalhos do hero abaixo da sinopse */
.lf-command-hero__copy h1{margin-bottom:4px!important;}
.lf-command-hero__copy > p{
  margin:0 0 5px!important;
  line-height:1.22!important;
}
.lf-command-hero__quick-row{
  margin:0 0 4px!important;
  gap:6px!important;
}
.lf-command-hero__quick{
  height:25px!important;
  min-height:25px!important;
  padding:0 7px!important;
  gap:4px!important;
  border-radius:7px!important;
  font-size:.58rem!important;
}
.lf-command-hero__quick-icon{
  width:13px!important;
  height:13px!important;
  min-width:13px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:0!important;
}
.lf-command-hero__quick-icon svg{
  display:block!important;
  width:13px!important;
  height:13px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.lf-command-hero__meta{margin:0 0 3px!important;}
@media(max-width:380px){
 .lf-command-hero__quick{height:24px!important;min-height:24px!important;font-size:.56rem!important}
 .lf-command-hero__quick-icon,.lf-command-hero__quick-icon svg{width:12px!important;height:12px!important;min-width:12px!important}
}


/* LoveFrame 6.3.39 — ritmo vertical do card principal */
.lf-command-hero__copy{
  justify-content:space-between!important;
}
.lf-command-hero__eyebrow{margin-bottom:7px!important;}
.lf-command-hero__copy h1{margin:0 0 8px!important;}
.lf-command-hero__copy > p{
  margin:0 0 9px!important;
  line-height:1.30!important;
}
.lf-command-hero__quick-row{
  margin:0 0 8px!important;
}
.lf-command-hero__meta{
  margin:0 0 7px!important;
}
.lf-command-hero__progress{
  margin-top:0!important;
}
/* remove a barra/seção autônoma de atalhos rápidos */
.lf-quick-shortcuts,
.lf-dashboard-quick-shortcuts,
.lf-project-quick-shortcuts,
[data-section="quick-shortcuts"]{
  display:none!important;
}


/* LoveFrame 6.3.40 — CTA Continue de onde parou no padrão Próxima ação */
.lf-continue-cta,
.lf-command-hero__continue,
.lf-home-continue-button{
  min-height:52px!important;
  height:52px!important;
  border-radius:14px!important;
  font-weight:700!important;
  gap:10px!important;
}
.lf-continue-cta svg,
.lf-command-hero__continue svg,
.lf-home-continue-button svg{
  width:17px!important;
  height:17px!important;
  flex:0 0 17px!important;
}


/* LoveFrame 6.3.41 — Progresso editorial da Home igual ao modelo aprovado */
.lf-home-editorial-progress{
  padding:14px 12px 13px!important;
  gap:12px!important;
}
.lf-home-editorial-progress__head{
  min-height:30px!important;
  align-items:center!important;
}
.lf-home-editorial-progress__track{
  align-items:start!important;
  gap:7px!important;
}
.lf-home-editorial-progress__stage{
  grid-template-rows:38px 16px 4px 14px!important;
  gap:6px!important;
}
.lf-home-editorial-progress__icon{
  width:38px!important;
  height:38px!important;
  border-radius:50%!important;
}
.lf-home-editorial-progress__icon svg{
  width:20px!important;
  height:20px!important;
  stroke-width:1.7!important;
}
.lf-home-editorial-progress__label{
  font-size:.48rem!important;
  line-height:1!important;
}
.lf-home-editorial-progress__bar{
  width:88%!important;
  height:4px!important;
}
.lf-home-editorial-progress__stage strong{
  font-size:.52rem!important;
  line-height:1!important;
  font-weight:700!important;
}
@media(max-width:380px){
  .lf-home-editorial-progress{padding:13px 10px 12px!important}
  .lf-home-editorial-progress__track{gap:4px!important}
  .lf-home-editorial-progress__stage{
    grid-template-rows:36px 15px 4px 13px!important;
    gap:5px!important;
  }
  .lf-home-editorial-progress__icon{width:36px!important;height:36px!important}
  .lf-home-editorial-progress__icon svg{width:19px!important;height:19px!important}
  .lf-home-editorial-progress__label{font-size:.44rem!important}
  .lf-home-editorial-progress__stage strong{font-size:.50rem!important}
  .lf-editorial-progress__details{font-size:.56rem!important}
}

/* LoveFrame 6.3.42 — percentual do card principal */
.lf-home-featured__meta strong{
  color:#f8fafc!important;
}
.lf-home-featured__percent{
  color:#9b5cff!important;
  font-weight:850!important;
}
.lf-home-featured__completed{
  color:#f8fafc!important;
  font-weight:700!important;
}

/* LoveFrame 6.3.43 — legenda de detalhes sem direcionamento */
.lf-editorial-progress__details--static{
  cursor:default!important;
  pointer-events:none!important;
  user-select:none;
}


/* LoveFrame 6.3.44 — etapas do Progresso editorial da Home navegáveis */
.lf-home-editorial-progress__stage{
  appearance:none!important;
  -webkit-appearance:none!important;
  border:0!important;
  background:transparent!important;
  padding:0!important;
  margin:0!important;
  color:inherit!important;
  font:inherit!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
}
.lf-home-editorial-progress__stage:active .lf-home-editorial-progress__icon{
  transform:scale(.96)!important;
}
.lf-home-editorial-progress__stage:focus-visible .lf-home-editorial-progress__icon{
  outline:2px solid rgba(169,139,255,.75)!important;
  outline-offset:2px!important;
}


/* LoveFrame 6.3.46 — Criação Inteligente mais compacto e harmonioso */
.lf-smart-badge{
  min-height:28px!important;
  height:28px!important;
  padding:0 10px!important;
  gap:5px!important;
  border-radius:10px!important;
  font-size:.66rem!important;
  line-height:1!important;
  font-weight:700!important;
  letter-spacing:0!important;
}
.lf-smart-badge b{
  font-size:.76rem!important;
  line-height:1!important;
}
@media(max-width:380px){
  .lf-smart-badge{
    min-height:26px!important;
    height:26px!important;
    padding:0 9px!important;
    gap:4px!important;
    border-radius:9px!important;
    font-size:.62rem!important;
  }
  .lf-smart-badge b{font-size:.72rem!important;}
}


/* LoveFrame 6.3.47 — Bíblia no padrão visual da Home / Página da obra */
.lf-bible-page{
  padding-bottom:92px!important;
}
.lf-bible-page-head{
  display:grid!important;
  grid-template-columns:42px 38px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
.lf-bible-page-head .lf-back{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  border-radius:12px!important;
}
.lf-bible-page-head__icon{
  width:38px!important;
  height:38px!important;
  border-radius:11px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#d9ccff!important;
  background:linear-gradient(180deg,rgba(124,58,237,.36),rgba(88,28,135,.32))!important;
  border:1px solid rgba(168,85,247,.28)!important;
}
.lf-bible-page-head__icon svg{
  width:20px!important;
  height:20px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.lf-bible-page-head h1{
  margin:0!important;
  font-size:1.08rem!important;
  line-height:1.08!important;
}
.lf-bible-page-head p{
  margin:4px 0 0!important;
  font-size:.68rem!important;
  line-height:1.3!important;
}

/* Card resumo */
.lf-bible-overview{
  padding:14px!important;
  margin-bottom:12px!important;
  background:linear-gradient(145deg,rgba(15,23,42,.96),rgba(11,18,32,.98))!important;
}
.lf-bible-overview .lf-kicker{
  color:#b59cff!important;
  font-size:.56rem!important;
  letter-spacing:.11em!important;
  margin-bottom:8px!important;
}
.lf-bible-overview .lf-canonical-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
}
.lf-bible-overview .lf-canonical-head h2{
  margin:0!important;
  min-width:0!important;
  font-size:1.18rem!important;
  line-height:1.08!important;
  letter-spacing:-.02em!important;
}
.lf-bible-overview .lf-badge{
  flex:0 0 auto!important;
  font-size:.55rem!important;
  padding:5px 8px!important;
  border-radius:999px!important;
}
.lf-bible-overview__progress{
  margin-top:10px!important;
}
.lf-bible-overview__actions{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:8px!important;
  margin-top:12px!important;
}
.lf-bible-overview__actions .lf-btn{
  min-height:38px!important;
  height:38px!important;
  padding:0 10px!important;
  border-radius:10px!important;
  font-size:.66rem!important;
  white-space:nowrap!important;
}
.lf-bible-overview__actions .lf-btn:only-child{
  grid-column:1/-1!important;
}

/* Label de seção */
.lf-bible-sections-label{
  margin:0 2px 8px!important;
  color:#b59cff!important;
  font-size:.58rem!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
}

/* Lista editorial compacta */
.lf-bible-sections{
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
}
.lf-bible-section{
  margin:0!important;
  border:1px solid rgba(148,163,184,.12)!important;
  border-radius:13px!important;
  background:linear-gradient(145deg,rgba(15,23,42,.92),rgba(11,18,32,.95))!important;
  overflow:hidden!important;
}
.lf-bible-section > summary{
  min-height:70px!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) 24px 12px!important;
  align-items:center!important;
  gap:9px!important;
  padding:9px 10px!important;
  list-style:none!important;
  cursor:pointer!important;
}
.lf-bible-section > summary::-webkit-details-marker{
  display:none!important;
}
.lf-bible-section__icon{
  width:42px!important;
  height:42px!important;
  border-radius:11px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#d9ccff!important;
  background:linear-gradient(180deg,rgba(124,58,237,.34),rgba(88,28,135,.30))!important;
  border:1px solid rgba(168,85,247,.18)!important;
}
.lf-bible-section__icon svg{
  width:22px!important;
  height:22px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.lf-bible-section__copy{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
}
.lf-bible-section__copy strong{
  color:#f8fafc!important;
  font-size:.78rem!important;
  line-height:1.08!important;
  font-weight:800!important;
}
.lf-bible-section__copy small{
  color:rgba(203,213,225,.72)!important;
  font-size:.61rem!important;
  line-height:1.28!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.lf-bible-section__status{
  width:24px!important;
  height:24px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#55e69b!important;
}
.lf-bible-section__status svg{
  width:22px!important;
  height:22px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.lf-bible-section__chevron{
  color:rgba(203,213,225,.72)!important;
  font-size:1.2rem!important;
  line-height:1!important;
  transition:transform .18s ease!important;
}
.lf-bible-section[open] .lf-bible-section__chevron{
  transform:rotate(90deg)!important;
}
.lf-bible-section__body{
  padding:0 10px 12px 61px!important;
  border-top:1px solid rgba(148,163,184,.08)!important;
}

/* Remove resíduos do badge repetitivo antigo */
.lf-bible-section > summary > .lf-badge{
  display:none!important;
}

@media(max-width:380px){
  .lf-bible-page-head{
    grid-template-columns:40px 36px minmax(0,1fr)!important;
    gap:8px!important;
  }
  .lf-bible-page-head .lf-back{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
  }
  .lf-bible-page-head__icon{
    width:36px!important;
    height:36px!important;
  }
  .lf-bible-overview{
    padding:12px!important;
  }
  .lf-bible-overview .lf-canonical-head h2{
    font-size:1.05rem!important;
  }
  .lf-bible-overview__actions{
    gap:6px!important;
  }
  .lf-bible-overview__actions .lf-btn{
    min-height:36px!important;
    height:36px!important;
    font-size:.61rem!important;
    padding:0 7px!important;
  }
  .lf-bible-section > summary{
    min-height:66px!important;
    grid-template-columns:40px minmax(0,1fr) 22px 10px!important;
    gap:8px!important;
    padding:8px 9px!important;
  }
  .lf-bible-section__icon{
    width:40px!important;
    height:40px!important;
  }
  .lf-bible-section__icon svg{
    width:21px!important;
    height:21px!important;
  }
  .lf-bible-section__copy strong{
    font-size:.75rem!important;
  }
  .lf-bible-section__copy small{
    font-size:.58rem!important;
  }
  .lf-bible-section__body{
    padding-left:57px!important;
  }
}


/* LoveFrame 6.3.48 — Personagens no padrão visual consolidado */
.lf-characters-page{padding-bottom:92px!important}
.lf-characters-page-head{
  display:grid!important;
  grid-template-columns:42px 38px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:center!important;
  margin-bottom:14px!important;
}
.lf-characters-page-head .lf-back{
  width:42px!important;height:42px!important;min-width:42px!important;border-radius:12px!important;
}
.lf-characters-page-head__icon{
  width:38px!important;height:38px!important;border-radius:11px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  color:#d9ccff!important;
  background:linear-gradient(180deg,rgba(124,58,237,.36),rgba(88,28,135,.32))!important;
  border:1px solid rgba(168,85,247,.28)!important;
}
.lf-characters-page-head__icon svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.lf-characters-page-head h1{margin:0!important;font-size:1.08rem!important;line-height:1.08!important}
.lf-characters-page-head p{margin:4px 0 0!important;font-size:.68rem!important;line-height:1.3!important}

/* resumo */
.lf-characters-overview{
  padding:14px!important;
  margin-bottom:12px!important;
  background:linear-gradient(145deg,rgba(15,23,42,.96),rgba(11,18,32,.98))!important;
}
.lf-characters-overview .lf-kicker{font-size:.56rem!important;color:#b59cff!important;letter-spacing:.11em!important;margin-bottom:8px!important}
.lf-characters-overview__head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.lf-characters-overview__head h2{margin:0!important;font-size:1.22rem!important;line-height:1.05!important;letter-spacing:-.02em!important}
.lf-characters-overview__head .lf-badge{font-size:.55rem!important;padding:5px 8px!important;border-radius:999px!important}
.lf-characters-overview__progress{margin-top:10px!important}
.lf-characters-overview__meta{margin-top:6px!important;color:rgba(226,232,240,.78)!important;font-size:.60rem!important;font-weight:650!important}
.lf-characters-overview__continue{width:100%!important;min-height:38px!important;height:38px!important;margin-top:10px!important;border-radius:10px!important;font-size:.68rem!important}

/* ferramentas */
.lf-characters-tools-label{
  margin:2px 2px 8px!important;color:#b59cff!important;font-size:.58rem!important;line-height:1!important;
  font-weight:800!important;letter-spacing:.13em!important;text-transform:uppercase!important;
}
.lf-characters-tools{margin-bottom:10px!important}
.lf-characters-tools .lf-action-toolbar{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;
}
.lf-characters-tools .lf-action-toolbar button{
  min-height:60px!important;height:60px!important;padding:8px 5px!important;border-radius:12px!important;
}
.lf-characters-tools .lf-action-toolbar button > span:first-child,
.lf-characters-tools .lf-action-toolbar svg{
  width:19px!important;height:19px!important;
}
.lf-characters-tools .lf-action-toolbar strong,
.lf-characters-tools .lf-action-toolbar span:last-child{
  font-size:.61rem!important;
}

/* busca */
.lf-characters-search{min-height:42px!important;height:42px!important;margin-bottom:10px!important;border-radius:12px!important}
.lf-characters-search > span{width:18px!important;height:18px!important;display:inline-flex!important}
.lf-characters-search svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important}
.lf-characters-search input{font-size:.68rem!important}

/* grupos */
.lf-character-group{
  border:1px solid rgba(148,163,184,.12)!important;border-radius:14px!important;
  background:linear-gradient(145deg,rgba(15,23,42,.94),rgba(11,18,32,.96))!important;
  overflow:hidden!important;margin:0 0 10px!important;
}
.lf-character-group > summary{
  min-height:42px!important;padding:8px 10px!important;display:grid!important;
  grid-template-columns:20px minmax(0,1fr) 24px 14px!important;gap:7px!important;align-items:center!important;list-style:none!important;
}
.lf-character-group > summary::-webkit-details-marker{display:none!important}
.lf-character-group__icon{width:20px!important;height:20px!important;color:#b59cff!important;display:inline-flex!important}
.lf-character-group__icon svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.lf-character-group > summary strong{font-size:.72rem!important;line-height:1!important}
.lf-character-group__count{
  width:22px!important;height:22px!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  color:#c4b5fd!important;background:rgba(124,58,237,.12)!important;border:1px solid rgba(139,92,246,.22)!important;font-size:.55rem!important;font-weight:750!important;
}
.lf-character-group__chevron{font-size:.72rem!important;color:#d8dee9!important;transition:transform .18s ease!important}
.lf-character-group:not([open]) .lf-character-group__chevron{transform:rotate(180deg)!important}
.lf-character-group__body{padding:0 8px 8px!important;display:flex!important;flex-direction:column!important;gap:7px!important}

/* character cards compactos */
.lf-character-card--premium{
  margin:0!important;padding:0!important;border-radius:12px!important;border:1px solid rgba(148,163,184,.11)!important;
  background:rgba(15,23,42,.68)!important;overflow:hidden!important;
}
.lf-character-card__head{
  min-height:76px!important;padding:9px!important;display:grid!important;
  grid-template-columns:42px minmax(0,1fr) 12px!important;gap:9px!important;align-items:center!important;
}
.lf-avatar--premium{
  width:42px!important;height:42px!important;min-width:42px!important;border-radius:11px!important;font-size:1rem!important;
}
.lf-character-card__text{min-width:0!important;gap:2px!important}
.lf-character-role{font-size:.50rem!important;line-height:1!important;letter-spacing:.10em!important}
.lf-character-card__text strong{font-size:.75rem!important;line-height:1.05!important}
.lf-character-card__text small{
  margin-top:3px!important;font-size:.59rem!important;line-height:1.25!important;
  display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
}
.lf-character-open{font-size:1.1rem!important;color:rgba(203,213,225,.72)!important}
.lf-character-card__footer{
  display:grid!important;grid-template-columns:minmax(0,1fr) 24px!important;gap:9px!important;
  align-items:end!important;padding:0 9px 9px!important;
}
.lf-character-card__progress .lf-progress{height:4px!important}
.lf-character-card__progress small{display:block!important;margin-top:5px!important;font-size:.55rem!important;color:rgba(203,213,225,.76)!important}
.lf-character-card__status{
  width:24px!important;height:24px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;color:#64748b!important;
}
.lf-character-card__status.is-approved{color:#55e69b!important}
.lf-character-card__status svg{width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}

/* remove badge oficial legado se alguma regra antiga ainda o injeta */
.lf-character-card--premium .lf-badge{display:none!important}

@media(max-width:380px){
  .lf-characters-page-head{grid-template-columns:40px 36px minmax(0,1fr)!important;gap:8px!important}
  .lf-characters-page-head .lf-back{width:40px!important;height:40px!important;min-width:40px!important}
  .lf-characters-page-head__icon{width:36px!important;height:36px!important}
  .lf-characters-overview{padding:12px!important}
  .lf-characters-overview__head h2{font-size:1.10rem!important}
  .lf-characters-tools .lf-action-toolbar button{min-height:56px!important;height:56px!important}
  .lf-character-card__head{min-height:72px!important;grid-template-columns:40px minmax(0,1fr) 10px!important;gap:8px!important;padding:8px!important}
  .lf-avatar--premium{width:40px!important;height:40px!important;min-width:40px!important}
  .lf-character-card__footer{padding:0 8px 8px!important}
}


/* LoveFrame 6.3.49 — páginas internas de personagem */
.lf-character-detail-page{padding-bottom:94px!important}
.lf-character-detail-head{
  display:grid!important;
  grid-template-columns:42px 38px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  margin-bottom:14px!important;
}
.lf-character-detail-head .lf-back{
  width:42px!important;height:42px!important;min-width:42px!important;border-radius:12px!important;
}
.lf-character-detail-head__avatar{
  width:38px!important;height:38px!important;border-radius:11px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  color:#fff!important;font-size:.92rem!important;font-weight:850!important;
  background:linear-gradient(145deg,#6d28d9,#8b5cf6)!important;
  border:1px solid rgba(168,85,247,.28)!important;
}
.lf-character-detail-head h1{margin:0!important;font-size:1.08rem!important;line-height:1.05!important}
.lf-character-detail-head p{
  margin:4px 0 0!important;color:#e4bd68!important;
  font-size:.66rem!important;line-height:1!important;font-weight:700!important;
}

/* overview */
.lf-character-detail-overview{
  padding:14px!important;margin-bottom:12px!important;
  background:linear-gradient(145deg,rgba(15,23,42,.96),rgba(11,18,32,.98))!important;
}
.lf-character-detail-overview .lf-kicker{
  margin-bottom:7px!important;color:#b59cff!important;font-size:.56rem!important;letter-spacing:.11em!important;
}
.lf-character-detail-overview__head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.lf-character-detail-overview__head h2{
  margin:0!important;font-size:1.18rem!important;line-height:1!important;letter-spacing:-.02em!important;
  color:#f8fafc!important;
}
.lf-character-detail-overview__percent{color:#9b5cff!important;font-weight:900!important}
.lf-character-detail-overview__head .lf-badge{font-size:.54rem!important;padding:5px 8px!important;border-radius:999px!important}
.lf-character-detail-overview__progress{margin-top:10px!important}
.lf-character-detail-reopen{
  width:100%!important;height:36px!important;min-height:36px!important;margin-top:10px!important;
  border-radius:9px!important;font-size:.64rem!important;
}

/* details label */
.lf-character-detail-label{
  margin:2px 2px 8px!important;color:#b59cff!important;
  font-size:.58rem!important;line-height:1!important;font-weight:800!important;
  letter-spacing:.13em!important;text-transform:uppercase!important;
}

/* accordion cards, closed by default */
.lf-character-detail-section{
  margin:0 0 7px!important;border:1px solid rgba(148,163,184,.12)!important;
  border-radius:12px!important;background:linear-gradient(145deg,rgba(15,23,42,.92),rgba(11,18,32,.95))!important;
  overflow:hidden!important;
}
.lf-character-detail-section > summary{
  min-height:48px!important;padding:7px 9px!important;
  display:grid!important;grid-template-columns:30px minmax(0,1fr) auto 14px!important;
  gap:8px!important;align-items:center!important;list-style:none!important;cursor:pointer!important;
}
.lf-character-detail-section > summary::-webkit-details-marker{display:none!important}
.lf-character-detail-section__icon{
  width:30px!important;height:30px!important;border-radius:8px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  color:#b59cff!important;background:rgba(124,58,237,.14)!important;border:1px solid rgba(139,92,246,.16)!important;
}
.lf-character-detail-section__icon svg{
  width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;
  stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
.lf-character-detail-section > summary strong{
  min-width:0!important;color:#f8fafc!important;font-size:.72rem!important;line-height:1.05!important;
}
.lf-character-detail-section__badge{
  min-width:29px!important;height:20px!important;padding:0 6px!important;border-radius:999px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  color:rgba(226,232,240,.72)!important;background:rgba(124,58,237,.06)!important;
  border:1px solid rgba(139,92,246,.16)!important;font-size:.48rem!important;font-weight:750!important;
}
.lf-character-detail-section__badge.is-ok{
  min-width:20px!important;width:20px!important;height:20px!important;padding:0!important;
  color:#86efac!important;background:rgba(22,101,52,.30)!important;
  border:1px solid rgba(74,222,128,.42)!important;font-size:.72rem!important;font-weight:900!important;
}
.lf-character-detail-section__chevron{
  color:#e2e8f0!important;font-size:.78rem!important;transition:transform .18s ease!important;
}
.lf-character-detail-section[open] .lf-character-detail-section__chevron{transform:rotate(180deg)!important}
.lf-character-detail-section[open]{border-color:rgba(168,85,247,.38)!important}
.lf-character-detail-section__body{
  padding:10px 11px 11px!important;border-top:1px solid rgba(148,163,184,.08)!important;
}
.lf-character-detail-section__body > p{
  margin:0!important;color:rgba(226,232,240,.86)!important;font-size:.65rem!important;line-height:1.48!important;
}
.lf-character-detail-section__actions{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;margin-top:10px!important;
}
.lf-character-detail-section__actions .lf-btn{
  min-height:34px!important;height:34px!important;padding:0 8px!important;border-radius:8px!important;font-size:.59rem!important;
}

/* profile data */
.lf-character-profile-grid{
  display:grid!important;grid-template-columns:34% minmax(0,1fr)!important;
  gap:8px 12px!important;align-items:start!important;
}
.lf-character-profile-grid span{
  color:rgba(203,213,225,.70)!important;font-size:.60rem!important;line-height:1.35!important;
}
.lf-character-profile-grid strong{
  color:#f8fafc!important;font-size:.65rem!important;line-height:1.42!important;font-weight:500!important;
}

/* danger zone only at end */
.lf-character-danger{
  margin-top:11px!important;padding:10px!important;border:1px solid rgba(239,68,68,.12)!important;
  border-radius:12px!important;background:rgba(15,23,42,.65)!important;
}
.lf-character-danger > span{
  display:block!important;margin-bottom:6px!important;color:rgba(203,213,225,.68)!important;font-size:.53rem!important;
}
.lf-character-danger button{
  width:100%!important;min-height:34px!important;padding:0!important;border:0!important;background:transparent!important;
  color:#ff6262!important;display:grid!important;grid-template-columns:18px minmax(0,1fr) 10px!important;
  gap:8px!important;align-items:center!important;text-align:left!important;
}
.lf-character-danger button svg{
  width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}
.lf-character-danger button strong{font-size:.62rem!important}
.lf-character-danger button b{text-align:right!important;font-size:.9rem!important}

@media(max-width:380px){
  .lf-character-detail-head{grid-template-columns:40px 36px minmax(0,1fr)!important;gap:8px!important}
  .lf-character-detail-head .lf-back{width:40px!important;height:40px!important;min-width:40px!important}
  .lf-character-detail-head__avatar{width:36px!important;height:36px!important}
  .lf-character-detail-overview{padding:12px!important}
  .lf-character-detail-overview__head h2{font-size:1.08rem!important}
  .lf-character-detail-section > summary{
    min-height:46px!important;grid-template-columns:28px minmax(0,1fr) auto 12px!important;gap:7px!important;
  }
  .lf-character-detail-section__icon{width:28px!important;height:28px!important;border-radius:7px!important}
  .lf-character-detail-section__icon svg{width:16px!important;height:16px!important}
  .lf-character-detail-section > summary strong{font-size:.69rem!important}
}


/* LoveFrame 6.3.50 — Personagens: toolbar sem título, ícones restaurados, voltar à direita */

/* Cabeçalho da lista: conteúdo à esquerda e voltar no canto direito */
.lf-characters-page-head{
  grid-template-columns:38px minmax(0,1fr) 42px!important;
}
.lf-characters-page-head .lf-back{
  grid-column:3!important;
  justify-self:end!important;
}

/* Cabeçalho do detalhe: avatar + texto + voltar à direita */
.lf-character-detail-head{
  grid-template-columns:38px minmax(0,1fr) 42px!important;
}
.lf-character-detail-head .lf-back{
  grid-column:3!important;
  justify-self:end!important;
}

/* Remove qualquer título legado do actionToolbar */
.lf-characters-tools-label,
.lf-characters-tools .lf-action-toolbar__title,
.lf-characters-tools .lf-action-toolbar-title,
.lf-characters-tools [class*="toolbar-title"]{
  display:none!important;
}

/* Ferramentas: ícone visível acima do rótulo */
.lf-characters-tools .lf-action-toolbar button{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
}
.lf-characters-tools .lf-action-toolbar button > span:first-child{
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#d9ccff!important;
  line-height:0!important;
}
.lf-characters-tools .lf-action-toolbar button > span:first-child svg{
  display:block!important;
  width:20px!important;
  height:20px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.lf-characters-tools .lf-action-toolbar button > span:last-child,
.lf-characters-tools .lf-action-toolbar button strong{
  display:block!important;
  line-height:1!important;
}

/* Se o helper renderizar SVG diretamente no botão */
.lf-characters-tools .lf-action-toolbar button > svg{
  display:block!important;
  width:20px!important;
  height:20px!important;
  margin:0 auto!important;
  fill:none!important;
  stroke:#d9ccff!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

@media(max-width:380px){
  .lf-characters-page-head{
    grid-template-columns:36px minmax(0,1fr) 40px!important;
  }
  .lf-character-detail-head{
    grid-template-columns:36px minmax(0,1fr) 40px!important;
  }
  .lf-characters-tools .lf-action-toolbar button > span:first-child,
  .lf-characters-tools .lf-action-toolbar button > span:first-child svg,
  .lf-characters-tools .lf-action-toolbar button > svg{
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
  }
}


/* 6.3.51 — correção visual Personagens */

/* Cabeçalho: ícone de Personagens alinhado ao topo do nome */
.lf-characters-page-head{
  align-items:start!important;
}
.lf-characters-page-head__icon{
  align-self:start!important;
  margin-top:0!important;
}
.lf-characters-page-head > div:not(.lf-characters-page-head__icon){
  align-self:start!important;
}

/* Sem legenda/título "Ferramentas do módulo" */
.lf-characters-tools-label{
  display:none!important;
}

/* Ícones das ferramentas — cobre a estrutura real e variantes do helper */
.lf-characters-tools button .lf-action-icon,
.lf-characters-tools button .action-icon,
.lf-characters-tools button [class*="icon"],
.lf-characters-tools .lf-action-toolbar__icon,
.lf-characters-tools .action-toolbar__icon{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  min-height:22px!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0 auto 7px!important;
  color:#d9ccff!important;
}
.lf-characters-tools button svg,
.lf-characters-tools .lf-action-toolbar svg{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  min-height:22px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* O helper usa .ico para o primeiro span */
.lf-characters-tools .ico{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  width:22px!important;
  height:22px!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0 auto 7px!important;
  color:#d9ccff!important;
  font-size:22px!important;
  line-height:1!important;
}
.lf-characters-tools .ico svg{
  width:22px!important;
  height:22px!important;
}

/* Status concluído dos detalhes: check discreto padrão Bíblia */
.lf-character-section-status,
.lf-character-detail-section .status-ok{
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  min-height:22px!important;
  font-size:13px!important;
}


/* LoveFrame 6.3.52 — Personagens: correção definitiva dos ícones + alinhamento do cabeçalho */

/* Cabeçalho: ícone alinhado ao topo do bloco textual; voltar sempre à direita */
.lf-characters-page-head{
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr) 52px!important;
  align-items:start!important;
  column-gap:12px!important;
}
.lf-characters-page-head__icon{
  grid-column:1!important;
  align-self:start!important;
  margin-top:2px!important;
}
.lf-characters-page-head > div{
  grid-column:2!important;
  min-width:0!important;
  align-self:start!important;
}
.lf-characters-page-head .lf-back{
  grid-column:3!important;
  grid-row:1!important;
  justify-self:end!important;
  align-self:start!important;
}

/* Não exibir título/separador de Ferramentas do módulo */
.lf-characters-tools-label,
.lf-characters-tools-title,
.lf-characters-tools .lf-action-toolbar__title,
.lf-characters-tools .lf-action-toolbar-title,
.lf-characters-tools [class*="toolbar-title"],
.lf-characters-tools [class*="toolbar__title"]{
  display:none!important;
}

/* O helper actionToolbar pode usar estruturas diferentes.
   Estas regras cobrem SVG direto, span com SVG e classes de ícone. */
.lf-characters-tools .lf-action-toolbar button,
.lf-characters-tools .lf-action-toolbar a{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:92px!important;
}

.lf-characters-tools .lf-action-toolbar svg,
.lf-characters-tools .lf-action-toolbar .icon,
.lf-characters-tools .lf-action-toolbar [class*="icon"],
.lf-characters-tools .lf-action-toolbar button > span:first-child,
.lf-characters-tools .lf-action-toolbar a > span:first-child{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  min-height:22px!important;
  flex:0 0 22px!important;
  align-items:center!important;
  justify-content:center!important;
  color:#b98cff!important;
}

.lf-characters-tools .lf-action-toolbar svg{
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:1.8!important;
  overflow:visible!important;
}

/* Caso o primeiro span seja o rótulo e o SVG esteja dentro dele, não esconder o conteúdo */
.lf-characters-tools .lf-action-toolbar button > span:first-child svg,
.lf-characters-tools .lf-action-toolbar a > span:first-child svg{
  width:22px!important;
  height:22px!important;
}

/* rótulos das ações */
.lf-characters-tools .lf-action-toolbar button > span:last-child,
.lf-characters-tools .lf-action-toolbar a > span:last-child,
.lf-characters-tools .lf-action-toolbar strong{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}

/* Check de conclusão dos detalhes: padrão compacto da Bíblia */
.lf-character-detail .lf-character-section-status,
.lf-character-detail [class*="section-status"],
.lf-character-detail [class*="status-ok"]{
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  min-height:22px!important;
  font-size:13px!important;
  line-height:22px!important;
}

@media(max-width:380px){
 .lf-characters-page-head{
   grid-template-columns:48px minmax(0,1fr) 48px!important;
   column-gap:10px!important;
 }
 .lf-characters-tools .lf-action-toolbar svg,
 .lf-characters-tools .lf-action-toolbar .icon,
 .lf-characters-tools .lf-action-toolbar [class*="icon"],
 .lf-characters-tools .lf-action-toolbar button > span:first-child,
 .lf-characters-tools .lf-action-toolbar a > span:first-child{
   width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;flex-basis:20px!important;
 }
}

/* LoveFrame 6.3.53 — check verde padronizado nos detalhes de Personagens */


/* LoveFrame 6.3.54 — alinhamento dos cards de personagens */

/* Avatar alinhado ao topo do nome/papel */
.lf-character-card__head{
  align-items:start!important;
}
.lf-character-card__head .lf-avatar,
.lf-character-card__head .lf-avatar--premium{
  align-self:start!important;
  margin-top:0!important;
}
.lf-character-card__text{
  align-self:start!important;
}

/* Barra + % + check no mesmo eixo visual */
.lf-character-card__footer{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto!important;
  align-items:center!important;
  column-gap:10px!important;
  padding-top:0!important;
}

.lf-character-card__progress{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
}

.lf-character-card__progress .lf-progress{
  grid-column:1!important;
  margin:0!important;
  align-self:center!important;
}

.lf-character-card__progress small{
  grid-column:2!important;
  margin:0!important;
  align-self:center!important;
  white-space:nowrap!important;
  line-height:1!important;
  font-size:.55rem!important;
}

/* check centralizado no mesmo eixo da barra e porcentagem */
.lf-character-card__status{
  align-self:center!important;
  justify-self:end!important;
  margin:0!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  min-height:22px!important;
}
.lf-character-card__status svg{
  width:20px!important;
  height:20px!important;
  display:block!important;
}

/* reduz qualquer deslocamento legado */
.lf-character-card--premium .lf-character-card__footer > *{
  min-width:0!important;
}

@media(max-width:380px){
  .lf-character-card__footer{
    column-gap:8px!important;
  }
  .lf-character-card__progress{
    gap:6px!important;
  }
  .lf-character-card__status{
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    min-height:20px!important;
  }
  .lf-character-card__status svg{
    width:18px!important;
    height:18px!important;
  }
}


/* LoveFrame 6.3.55 — cabeçalho Personagens mais compacto */
.lf-characters-page .lf-module-header,
.lf-characters-header{
  column-gap:12px!important;
}
.lf-characters-page .lf-module-header__icon,
.lf-characters-header__icon{
  margin-right:0!important;
}
.lf-characters-page .lf-module-header__copy,
.lf-characters-header__copy{
  margin-left:0!important;
}

/* fallback para a estrutura atual do cabeçalho */
body[data-page="characters"] .lf-page-hero{
  gap:12px!important;
}
body[data-page="characters"] .lf-page-hero > :first-child{
  margin-right:0!important;
}


/* LoveFrame 6.3.56 — botão voltar da Bíblia no canto direito */
body[data-page="bible"] .lf-page-hero,
.lf-bible-page .lf-module-header,
.lf-bible-header{
  position:relative!important;
}

/* empurra o botão de retorno para a extremidade direita sem alterar título/ícone */
body[data-page="bible"] .lf-page-hero .lf-back-button,
.lf-bible-page .lf-module-header .lf-back-button,
.lf-bible-header .lf-back-button,
body[data-page="bible"] .lf-page-hero > button:first-child,
.lf-bible-page .lf-module-header > button:first-child{
  order:99!important;
  margin-left:auto!important;
  margin-right:0!important;
}

/* mantém ícone da Bíblia e bloco textual juntos à esquerda */
body[data-page="bible"] .lf-page-hero__icon,
.lf-bible-header__icon{
  order:1!important;
}
body[data-page="bible"] .lf-page-hero__copy,
.lf-bible-header__copy{
  order:2!important;
}

/* LoveFrame 6.3.57 — retorno da Bíblia definitivamente à direita */
.lf-bible-page-head{display:flex!important;align-items:flex-start!important;}
.lf-bible-page-head .lf-back{margin-left:auto!important;margin-right:0!important;flex:0 0 auto!important;order:99!important;}


/* LoveFrame 6.3.58 — aproxima título Personagens do ícone */
.lf-characters-page-head{
  column-gap:7px!important;
}
.lf-characters-page-head__icon{
  margin-right:0!important;
}
.lf-characters-page-head > div{
  margin-left:0!important;
}

/* telas estreitas */
@media(max-width:380px){
  .lf-characters-page-head{
    column-gap:6px!important;
  }
}

/* LoveFrame 6.3.61 — aproxima mais o título Personagens do bloco de ícone */
.lf-characters-page-head{
  column-gap:10px!important;
}
.lf-characters-page-head__icon{
  margin-right:0!important;
}
.lf-characters-page-head > div{
  margin-left:0!important;
}


/* LoveFrame 6.3.62 — refinamento final de Personagens */

/* Remove definitivamente o título/separador "Ferramentas do módulo" */
.lf-characters-tools .lf-tool-panel__label,
.lf-characters-tools-label,
.lf-characters-tools-title,
.lf-characters-tools [class*="tool-panel__label"],
.lf-characters-tools [class*="toolbar-title"]{
  display:none!important;
}

/* Sem o título, aproxima as ferramentas do card principal */
.lf-characters-tools,
.lf-characters-tools .lf-tool-panel{
  margin-top:0!important;
  padding-top:0!important;
}

/* Cards de personagens: reduz o vazio entre descrição e progresso */
.lf-character-card__head{
  min-height:auto!important;
  padding-bottom:5px!important;
}
.lf-character-card__text small{
  margin-bottom:0!important;
}
.lf-character-card__footer{
  padding-top:0!important;
  margin-top:-1px!important;
}

/* Mantém conforto de toque sem aumentar o vazio visual */
.lf-character-card--premium{
  padding-bottom:0!important;
}

@media(max-width:380px){
  .lf-character-card__head{
    padding-bottom:4px!important;
  }
  .lf-character-card__footer{
    margin-top:-2px!important;
  }
}


/* LoveFrame 6.3.63 — Direções Narrativas no padrão consolidado */
.lf-directions-page{padding-bottom:94px!important}
.lf-directions-page-head{
  display:grid!important;
  grid-template-columns:68px minmax(0,1fr) 78px!important;
  column-gap:10px!important;
  align-items:start!important;
  margin-bottom:14px!important;
}
.lf-directions-page-head__icon{
  width:68px!important;height:68px!important;min-width:68px!important;min-height:68px!important;
  border-radius:14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  color:#d9ccff!important;background:linear-gradient(180deg,rgba(124,58,237,.36),rgba(88,28,135,.32))!important;
  border:1px solid rgba(168,85,247,.28)!important;
}
.lf-directions-page-head__icon svg{
  width:27px!important;height:27px!important;fill:none!important;stroke:currentColor!important;
  stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
.lf-directions-page-head > div{padding-top:2px!important;min-width:0!important}
.lf-directions-page-head h1{margin:0!important;font-size:1.08rem!important;line-height:1.08!important}
.lf-directions-page-head p{margin:5px 0 0!important;font-size:.68rem!important;line-height:1.3!important}
.lf-directions-page-head .lf-back{
  grid-column:3!important;justify-self:end!important;align-self:start!important;
  width:52px!important;height:52px!important;min-width:52px!important;border-radius:13px!important;
}

/* overview */
.lf-directions-overview{
  padding:14px!important;margin-bottom:12px!important;
  background:linear-gradient(145deg,rgba(15,23,42,.96),rgba(11,18,32,.98))!important;
}
.lf-directions-overview .lf-kicker{
  color:#b59cff!important;font-size:.56rem!important;letter-spacing:.11em!important;margin-bottom:8px!important;
}
.lf-directions-overview__head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.lf-directions-overview__head h2{margin:0!important;font-size:1.18rem!important;line-height:1.08!important;letter-spacing:-.02em!important}
.lf-directions-overview__head .lf-badge{flex:0 0 auto!important;font-size:.55rem!important;padding:5px 8px!important;border-radius:999px!important}
.lf-directions-overview__progress{margin-top:10px!important}
.lf-directions-overview__actions{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:12px!important;
}
.lf-directions-overview__actions .lf-btn{
  min-height:38px!important;height:38px!important;padding:0 9px!important;border-radius:10px!important;font-size:.63rem!important;
}
.lf-directions-overview__actions .lf-btn:only-child{grid-column:1/-1!important}

/* label */
.lf-direction-sections-label{
  margin:0 2px 8px!important;color:#b59cff!important;font-size:.58rem!important;line-height:1!important;
  font-weight:800!important;letter-spacing:.13em!important;text-transform:uppercase!important;
}

/* sections */
.lf-direction-sections{display:flex!important;flex-direction:column!important;gap:6px!important}
.lf-direction-section{
  margin:0!important;border:1px solid rgba(148,163,184,.12)!important;border-radius:13px!important;
  background:linear-gradient(145deg,rgba(15,23,42,.92),rgba(11,18,32,.95))!important;overflow:hidden!important;
}
.lf-direction-section > summary{
  min-height:70px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) 24px 12px!important;
  gap:9px!important;align-items:center!important;padding:9px 10px!important;list-style:none!important;cursor:pointer!important;
}
.lf-direction-section > summary::-webkit-details-marker{display:none!important}
.lf-direction-section__icon{
  width:42px!important;height:42px!important;border-radius:11px!important;display:inline-flex!important;
  align-items:center!important;justify-content:center!important;color:#d9ccff!important;
  background:linear-gradient(180deg,rgba(124,58,237,.34),rgba(88,28,135,.30))!important;
  border:1px solid rgba(168,85,247,.18)!important;
}
.lf-direction-section__icon svg{
  width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;
  stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
.lf-direction-section__copy{min-width:0!important;display:flex!important;flex-direction:column!important;gap:3px!important}
.lf-direction-section__copy strong{color:#f8fafc!important;font-size:.78rem!important;line-height:1.08!important;font-weight:800!important}
.lf-direction-section__copy small{
  color:rgba(203,213,225,.72)!important;font-size:.61rem!important;line-height:1.28!important;
  display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
}
.lf-direction-section__status{
  width:24px!important;height:24px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;color:#55e69b!important;
}
.lf-direction-section__status svg{
  width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;
  stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
.lf-direction-section__chevron{color:rgba(203,213,225,.72)!important;font-size:1.2rem!important;line-height:1!important;transition:transform .18s ease!important}
.lf-direction-section[open] .lf-direction-section__chevron{transform:rotate(90deg)!important}
.lf-direction-section__body{padding:10px 11px 12px 61px!important;border-top:1px solid rgba(148,163,184,.08)!important}
.lf-direction-section__body .lf-editorial-value{margin:0!important;font-size:.65rem!important;line-height:1.45!important;color:rgba(226,232,240,.86)!important}
.lf-direction-section__actions{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-top:10px!important;
}
.lf-direction-section__actions .lf-btn{min-height:34px!important;height:34px!important;border-radius:8px!important;font-size:.59rem!important}

/* legacy emoji/badge no longer visible */
.lf-direction-section > summary > .lf-badge{display:none!important}

@media(max-width:380px){
  .lf-directions-page-head{grid-template-columns:64px minmax(0,1fr) 48px!important;column-gap:8px!important}
  .lf-directions-page-head__icon{width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;border-radius:13px!important}
  .lf-directions-page-head__icon svg{width:25px!important;height:25px!important}
  .lf-directions-page-head .lf-back{width:48px!important;height:48px!important;min-width:48px!important}
  .lf-directions-overview{padding:12px!important}
  .lf-directions-overview__head h2{font-size:1.05rem!important}
  .lf-directions-overview__actions{gap:6px!important}
  .lf-directions-overview__actions .lf-btn{min-height:36px!important;height:36px!important;font-size:.59rem!important;padding:0 7px!important}
  .lf-direction-section > summary{min-height:66px!important;grid-template-columns:40px minmax(0,1fr) 22px 10px!important;gap:8px!important;padding:8px 9px!important}
  .lf-direction-section__icon{width:40px!important;height:40px!important}
  .lf-direction-section__icon svg{width:21px!important;height:21px!important}
  .lf-direction-section__body{padding-left:57px!important}
}


/* LoveFrame 6.3.64 — Cabeçalho de Direções = escala exata da Bíblia */
.lf-directions-page-head{
  grid-template-columns:38px minmax(0,1fr) 42px!important;
  column-gap:10px!important;
  align-items:center!important;
}
.lf-directions-page-head__icon{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  border-radius:11px!important;
}
.lf-directions-page-head__icon svg{
  width:20px!important;
  height:20px!important;
}
.lf-directions-page-head > div{
  padding-top:0!important;
}
.lf-directions-page-head p{
  margin-top:4px!important;
}
.lf-directions-page-head .lf-back{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  border-radius:12px!important;
}
@media(max-width:380px){
  .lf-directions-page-head{
    grid-template-columns:36px minmax(0,1fr) 40px!important;
    column-gap:8px!important;
  }
  .lf-directions-page-head__icon{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    min-height:36px!important;
  }
  .lf-directions-page-head__icon svg{
    width:20px!important;
    height:20px!important;
  }
  .lf-directions-page-head .lf-back{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
  }
}


/* LoveFrame 6.3.65 — Missões: jornada editorial premium */
.lf-missions-detail-page{padding-bottom:94px!important}
.lf-missions-page-head{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) 42px!important;
  gap:10px!important;
  align-items:center!important;
  margin-bottom:14px!important;
}
.lf-missions-page-head__icon{
  width:38px!important;height:38px!important;border-radius:11px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  color:#d9ccff!important;background:linear-gradient(180deg,rgba(124,58,237,.36),rgba(88,28,135,.32))!important;
  border:1px solid rgba(168,85,247,.28)!important;
}
.lf-missions-page-head__icon svg{
  width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;
  stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
.lf-missions-page-head .lf-kicker{margin-bottom:4px!important}
.lf-missions-page-head h1{margin:0!important;font-size:1.08rem!important;line-height:1.08!important}
.lf-missions-page-head p{margin:4px 0 0!important;font-size:.68rem!important;line-height:1.3!important}
.lf-missions-page-head .lf-back{
  grid-column:3!important;justify-self:end!important;width:42px!important;height:42px!important;min-width:42px!important;border-radius:12px!important;
}

/* Progress card */
.lf-missions-overview{
  padding:14px!important;margin-bottom:12px!important;
  background:linear-gradient(145deg,rgba(15,23,42,.96),rgba(11,18,32,.98))!important;
}
.lf-missions-overview__top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.lf-missions-overview__top .lf-kicker{color:#b59cff!important;font-size:.55rem!important;letter-spacing:.11em!important}
.lf-missions-overview__top h2{margin:5px 0 0!important;font-size:1.04rem!important;font-weight:600!important;color:#f8fafc!important}
.lf-missions-overview__top h2 strong{color:#9b5cff!important;font-size:1.28rem!important;font-weight:900!important}
.lf-missions-overview__count{
  min-width:42px!important;height:26px!important;padding:0 8px!important;border-radius:999px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  color:#c4b5fd!important;background:rgba(124,58,237,.11)!important;border:1px solid rgba(139,92,246,.22)!important;
  font-size:.57rem!important;font-weight:800!important;
}
.lf-missions-overview__progress{margin-top:10px!important}
.lf-missions-current{
  margin-top:11px!important;padding:9px 10px!important;border-radius:11px!important;
  display:grid!important;grid-template-columns:32px minmax(0,1fr) auto!important;gap:9px!important;align-items:center!important;
  background:linear-gradient(135deg,rgba(124,58,237,.14),rgba(88,28,135,.08))!important;
  border:1px solid rgba(139,92,246,.24)!important;
}
.lf-missions-current__icon{
  width:32px!important;height:32px!important;border-radius:9px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  color:#c4b5fd!important;background:rgba(124,58,237,.14)!important;
}
.lf-missions-current__icon svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.lf-missions-current div{min-width:0!important;display:flex!important;flex-direction:column!important;gap:2px!important}
.lf-missions-current small{font-size:.49rem!important;color:#b59cff!important;text-transform:uppercase!important;letter-spacing:.09em!important;font-weight:800!important}
.lf-missions-current strong{font-size:.69rem!important;color:#f8fafc!important}
.lf-missions-current > span:last-child{font-size:.58rem!important;color:#c4b5fd!important;font-weight:750!important}

/* Journey */
.lf-missions-section-label{
  margin:0 2px 8px!important;color:#b59cff!important;font-size:.58rem!important;line-height:1!important;
  font-weight:800!important;letter-spacing:.13em!important;text-transform:uppercase!important;
}
.lf-mission-map{display:flex!important;flex-direction:column!important;gap:7px!important}
.lf-mission-stage{
  width:100%!important;min-height:64px!important;padding:9px 10px!important;border-radius:13px!important;
  border:1px solid rgba(148,163,184,.12)!important;
  background:linear-gradient(145deg,rgba(15,23,42,.92),rgba(11,18,32,.95))!important;
  display:grid!important;grid-template-columns:38px minmax(0,1fr) 24px auto!important;gap:9px!important;align-items:center!important;
  text-align:left!important;color:inherit!important;
}
.lf-mission-stage__module{
  width:38px!important;height:38px!important;border-radius:10px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  color:#a78bfa!important;background:rgba(124,58,237,.10)!important;border:1px solid rgba(139,92,246,.14)!important;
}
.lf-mission-stage__module svg,.lf-mission-stage__status svg{
  width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
.lf-mission-stage__copy{min-width:0!important;display:flex!important;flex-direction:column!important;gap:3px!important}
.lf-mission-stage__copy strong{font-size:.73rem!important;line-height:1.05!important;color:#f8fafc!important}
.lf-mission-stage__copy small{font-size:.56rem!important;line-height:1.1!important;color:rgba(203,213,225,.66)!important}
.lf-mission-stage__status{width:24px!important;height:24px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#55e69b!important}
.lf-mission-stage__action{white-space:nowrap!important;font-size:.57rem!important;color:#b9a7dc!important;font-weight:750!important}
.lf-mission-stage[data-status="canonical"]{
  border-color:rgba(85,230,155,.13)!important;
  background:linear-gradient(145deg,rgba(15,29,31,.88),rgba(11,22,30,.94))!important;
}
.lf-mission-stage[data-status="canonical"] .lf-mission-stage__module{color:#78d49c!important;background:rgba(85,230,155,.06)!important;border-color:rgba(85,230,155,.12)!important}
.lf-mission-stage.is-current{
  border-color:rgba(168,85,247,.52)!important;
  background:linear-gradient(135deg,rgba(76,29,149,.30),rgba(31,20,60,.88))!important;
  box-shadow:0 8px 24px rgba(76,29,149,.10)!important;
}
.lf-mission-stage.is-current .lf-mission-stage__module{color:#d8b4fe!important;background:rgba(124,58,237,.18)!important}
.lf-mission-stage.is-current .lf-mission-stage__copy small{color:#c4b5fd!important;font-weight:700!important}
.lf-mission-stage.is-current .lf-mission-stage__action{color:#d8b4fe!important}
.lf-mission-stage[data-status="locked"]{opacity:.52!important}
.lf-mission-stage[data-status="locked"] .lf-mission-stage__status{color:#64748b!important}
.lf-mission-stage[data-status="outdated"] .lf-mission-stage__status{color:#f4b942!important}

/* Remove old status emoji behavior if legacy styles remain */
.lf-mission-stage__icon{display:none!important}

@media(max-width:380px){
  .lf-missions-page-head{grid-template-columns:36px minmax(0,1fr) 40px!important;gap:8px!important}
  .lf-missions-page-head__icon{width:36px!important;height:36px!important}
  .lf-missions-page-head .lf-back{width:40px!important;height:40px!important;min-width:40px!important}
  .lf-missions-overview{padding:12px!important}
  .lf-mission-stage{min-height:60px!important;grid-template-columns:36px minmax(0,1fr) 22px auto!important;gap:8px!important;padding:8px 9px!important}
  .lf-mission-stage__module{width:36px!important;height:36px!important}
  .lf-mission-stage__module svg,.lf-mission-stage__status svg{width:19px!important;height:19px!important}
  .lf-mission-stage__action{font-size:.54rem!important}
}


/* LoveFrame 6.3.66 — Página Ideia no padrão visual consolidado */
.lf-idea-page{padding-bottom:94px!important}
.lf-idea-page-head{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) 42px!important;
  gap:10px!important;
  align-items:center!important;
  margin-bottom:14px!important;
}
.lf-idea-page-head__icon{
  width:38px!important;height:38px!important;border-radius:11px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  color:#d9ccff!important;background:linear-gradient(180deg,rgba(124,58,237,.36),rgba(88,28,135,.32))!important;
  border:1px solid rgba(168,85,247,.28)!important;
}
.lf-idea-page-head__icon svg{
  width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;
  stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
.lf-idea-page-head .lf-kicker{margin-bottom:4px!important}
.lf-idea-page-head h1{margin:0!important;font-size:1.08rem!important;line-height:1.08!important}
.lf-idea-page-head p{margin:4px 0 0!important;font-size:.68rem!important;line-height:1.3!important}
.lf-idea-page-head .lf-back{
  grid-column:3!important;justify-self:end!important;width:42px!important;height:42px!important;min-width:42px!important;border-radius:12px!important;
}

.lf-idea-card{
  padding:14px!important;
  background:linear-gradient(145deg,rgba(15,23,42,.96),rgba(11,18,32,.98))!important;
}
.lf-idea-field{gap:7px!important}
.lf-idea-field > span{
  color:#f8fafc!important;font-size:.72rem!important;font-weight:800!important;
}
.lf-idea-field textarea{
  min-height:170px!important;
  height:170px!important;
  resize:vertical!important;
  border-radius:12px!important;
  padding:13px!important;
  font-size:.76rem!important;
  line-height:1.45!important;
  background:rgba(15,23,42,.72)!important;
}
.lf-idea-warning{
  margin-top:10px!important;padding:9px 10px!important;border-radius:10px!important;
  display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;gap:8px!important;align-items:start!important;
  color:rgba(203,213,225,.72)!important;background:rgba(124,58,237,.05)!important;border:1px solid rgba(139,92,246,.10)!important;
}
.lf-idea-warning > span{width:18px!important;height:18px!important;display:inline-flex!important;color:#a78bfa!important}
.lf-idea-warning svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.lf-idea-warning p{margin:0!important;font-size:.58rem!important;line-height:1.38!important}
.lf-idea-save{
  margin-top:11px!important;min-height:38px!important;height:38px!important;border-radius:10px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;font-size:.66rem!important;
}
.lf-idea-save > span{width:17px!important;height:17px!important;display:inline-flex!important}
.lf-idea-save svg{width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}

@media(max-width:380px){
  .lf-idea-page-head{grid-template-columns:36px minmax(0,1fr) 40px!important;gap:8px!important}
  .lf-idea-page-head__icon{width:36px!important;height:36px!important}
  .lf-idea-page-head .lf-back{width:40px!important;height:40px!important;min-width:40px!important}
  .lf-idea-card{padding:12px!important}
  .lf-idea-field textarea{min-height:155px!important;height:155px!important}
}


/* LoveFrame 6.3.67 — padrão global de cabeçalhos
   Ícone alinhado ao topo do título principal; voltar à direita. */

.lf-page-head{
  align-items:start!important;
}

/* Cabeçalhos de módulos já padronizados */
.lf-bible-page-head,
.lf-characters-page-head,
.lf-directions-page-head,
.lf-missions-page-head,
.lf-idea-page-head,
.lf-character-detail-head{
  align-items:start!important;
}

/* Ícone sempre começa no mesmo eixo vertical do título */
.lf-bible-page-head__icon,
.lf-characters-page-head__icon,
.lf-directions-page-head__icon,
.lf-missions-page-head__icon,
.lf-idea-page-head__icon,
.lf-character-detail-head__avatar{
  align-self:start!important;
  margin-top:0!important;
}

/* Bloco textual sem deslocamento vertical adicional */
.lf-bible-page-head > div,
.lf-characters-page-head > div,
.lf-directions-page-head > div,
.lf-missions-page-head > div,
.lf-idea-page-head > div,
.lf-character-detail-head > div{
  align-self:start!important;
  padding-top:0!important;
  margin-top:0!important;
}

/* Título define o eixo visual superior */
.lf-page-head h1{
  margin-top:0!important;
}

/* Botão Voltar permanece no canto direito e alinhado ao topo */
.lf-bible-page-head .lf-back,
.lf-characters-page-head .lf-back,
.lf-directions-page-head .lf-back,
.lf-missions-page-head .lf-back,
.lf-idea-page-head .lf-back,
.lf-character-detail-head .lf-back{
  align-self:start!important;
  justify-self:end!important;
  margin-top:0!important;
}


/* LoveFrame 6.3.68 — Proposta */
.lf-proposal-page{padding-bottom:104px!important}
.lf-proposal-page-head{
 display:grid!important;grid-template-columns:38px minmax(0,1fr) 42px!important;
 gap:10px!important;align-items:start!important;margin-bottom:14px!important
}
.lf-proposal-page-head__icon{
 width:38px!important;height:38px!important;border-radius:11px!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 align-self:start!important;margin-top:0!important;color:#d9ccff!important;
 background:linear-gradient(180deg,rgba(124,58,237,.36),rgba(88,28,135,.32))!important;
 border:1px solid rgba(168,85,247,.28)!important
}
.lf-proposal-page-head__icon svg{
 width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;
 stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important
}
.lf-proposal-page-head>div{padding:0!important;margin:0!important;align-self:start!important}
.lf-proposal-page-head .lf-kicker{margin:0 0 3px!important}
.lf-proposal-page-head h1{margin:0!important;line-height:1.08!important}
.lf-proposal-page-head p{margin:4px 0 0!important;line-height:1.3!important}
.lf-proposal-page-head .lf-back{
 grid-column:3!important;justify-self:end!important;align-self:start!important;
 width:42px!important;height:42px!important;min-width:42px!important;border-radius:12px!important;margin:0!important
}

/* formulário editorial mais compacto */
.lf-proposal-page .lf-card{padding:14px!important}
.lf-proposal-page .lf-field{gap:7px!important;margin-bottom:13px!important}
.lf-proposal-page .lf-field>span{font-size:.72rem!important;font-weight:800!important}
.lf-proposal-page input,
.lf-proposal-page select{
 min-height:48px!important;height:48px!important;border-radius:12px!important;
 padding:0 13px!important;font-size:.78rem!important
}
.lf-proposal-page textarea{
 min-height:160px!important;height:160px!important;border-radius:12px!important;
 padding:13px!important;font-size:.76rem!important;line-height:1.45!important;resize:vertical!important
}
.lf-proposal-page .lf-subtitle{font-size:.62rem!important;line-height:1.4!important}
.lf-proposal-page .lf-btn{min-height:40px!important;border-radius:10px!important}

@media(max-width:380px){
 .lf-proposal-page-head{grid-template-columns:36px minmax(0,1fr) 40px!important;gap:8px!important}
 .lf-proposal-page-head__icon{width:36px!important;height:36px!important}
 .lf-proposal-page-head .lf-back{width:40px!important;height:40px!important;min-width:40px!important}
 .lf-proposal-page .lf-card{padding:12px!important}
 .lf-proposal-page textarea{min-height:145px!important;height:145px!important}
}


/* LoveFrame 6.3.69 — Thumbs das obras na página Missões */
.lf-mission-work-card{padding:14px!important}
.lf-mission-work-card__top{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;gap:11px!important;align-items:start!important}
.lf-mission-work-card__cover{width:72px!important;height:96px!important;min-height:96px!important;border-radius:12px!important;align-self:start!important}
.lf-mission-work-card__cover .lf-smart-cover__title{left:9%!important;right:7%!important;top:20%!important}
.lf-mission-work-card__cover>small{left:9%!important;right:7%!important;bottom:8%!important;font-size:.36rem!important}
.lf-mission-work-card__copy{min-width:0!important;padding-top:1px!important}
.lf-mission-work-card__copy .lf-kicker{margin:0 0 6px!important}
.lf-mission-work-card__title-row{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:8px!important}
.lf-mission-work-card__title-row h2{min-width:0!important;margin:0!important;font-size:1.25rem!important;line-height:1.08!important}
.lf-mission-work-card__title-row .lf-badge{flex:0 0 auto!important;margin-top:0!important}
.lf-mission-work-card__copy .lf-subtitle{margin:6px 0 0!important;font-size:.78rem!important;line-height:1.25!important}
.lf-mission-work-card__progress{margin-top:12px!important}
.lf-mission-work-card>.lf-btn{margin-top:12px!important}
@media(max-width:360px){.lf-mission-work-card__top{grid-template-columns:66px minmax(0,1fr)!important;gap:9px!important}.lf-mission-work-card__cover{width:66px!important;height:90px!important;min-height:90px!important}.lf-mission-work-card__title-row h2{font-size:1.12rem!important}}


/* LoveFrame 6.3.70 — Cards editoriais de obras em Missões */
.lf-missions-home-page{padding-bottom:104px!important}
.lf-missions-home-head{
 display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:10px!important;
 align-items:start!important;margin-bottom:14px!important
}
.lf-missions-home-head__icon{
 width:38px!important;height:38px!important;border-radius:11px!important;display:flex!important;
 align-items:center!important;justify-content:center!important;align-self:start!important;color:#d9ccff!important;
 background:linear-gradient(180deg,rgba(124,58,237,.36),rgba(88,28,135,.32))!important;
 border:1px solid rgba(168,85,247,.28)!important
}
.lf-missions-home-head__icon svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important}
.lf-missions-home-head h1{margin:0!important;font-size:1.08rem!important;line-height:1.08!important}
.lf-missions-home-head p{margin:4px 0 0!important;font-size:.68rem!important;line-height:1.32!important;color:rgba(203,213,225,.72)!important}

.lf-mission-work-list{display:flex!important;flex-direction:column!important;gap:10px!important}
.lf-mission-editorial-card{
 position:relative!important;overflow:hidden!important;border-radius:17px!important;
 border:1px solid rgba(148,163,184,.16)!important;
 background:linear-gradient(145deg,rgba(15,23,42,.98),rgba(9,14,27,.99))!important;
 padding:12px!important;isolation:isolate!important;
 box-shadow:0 8px 22px rgba(0,0,0,.15)!important
}
.lf-mission-editorial-card__wash{
 position:absolute!important;inset:0!important;z-index:-1!important;opacity:.28!important;pointer-events:none!important
}
.lf-mission-editorial-card[data-atmosphere="romance"] .lf-mission-editorial-card__wash{
 background:radial-gradient(circle at 78% 20%,rgba(154,67,111,.48),transparent 42%),linear-gradient(120deg,transparent 35%,rgba(99,45,91,.22))
}
.lf-mission-editorial-card[data-atmosphere="noir"] .lf-mission-editorial-card__wash{
 background:radial-gradient(circle at 78% 20%,rgba(71,85,105,.42),transparent 42%),linear-gradient(120deg,transparent 35%,rgba(30,41,59,.28))
}
.lf-mission-editorial-card[data-atmosphere="fantasy"] .lf-mission-editorial-card__wash{
 background:radial-gradient(circle at 78% 20%,rgba(70,110,82,.36),transparent 42%),linear-gradient(120deg,transparent 35%,rgba(32,76,55,.22))
}
.lf-mission-editorial-card[data-atmosphere="scifi"] .lf-mission-editorial-card__wash{
 background:radial-gradient(circle at 78% 20%,rgba(71,75,180,.35),transparent 42%),linear-gradient(120deg,transparent 35%,rgba(50,46,129,.22))
}
.lf-mission-editorial-card[data-atmosphere="editorial"] .lf-mission-editorial-card__wash{
 background:radial-gradient(circle at 78% 20%,rgba(89,73,130,.34),transparent 42%)
}
.lf-mission-editorial-card.is-current{border-color:rgba(168,85,247,.58)!important;box-shadow:0 10px 26px rgba(76,29,149,.14)!important}
.lf-mission-editorial-card.is-complete{border-color:rgba(85,230,155,.25)!important}
.lf-mission-editorial-card.is-complete .lf-mission-editorial-card__wash{background:radial-gradient(circle at 80% 20%,rgba(40,120,78,.25),transparent 42%)!important}

.lf-mission-editorial-card__main{
 display:grid!important;grid-template-columns:92px minmax(0,1fr) auto!important;gap:12px!important;align-items:start!important
}
.lf-mission-editorial-card .lf-mission-work-card__cover{
 width:92px!important;min-width:92px!important;height:126px!important;border-radius:12px!important;align-self:start!important;margin:0!important
}
.lf-mission-editorial-card__copy{min-width:0!important;padding-top:1px!important}
.lf-mission-editorial-card__eyebrow{font-size:.52rem!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:#b59cff!important;font-weight:800!important}
.lf-mission-editorial-card__copy h2{margin:5px 0 7px!important;font-size:1rem!important;line-height:1.06!important;color:#fff!important}
.lf-mission-editorial-card__copy p{margin:0!important;font-size:.65rem!important;line-height:1.3!important;color:rgba(203,213,225,.76)!important}
.lf-mission-editorial-card__copy p strong{color:#a78bfa!important}
.lf-mission-editorial-card__progress{margin-top:11px!important}
.lf-mission-editorial-card__copy small{display:block!important;margin-top:5px!important;font-size:.54rem!important;color:rgba(226,232,240,.72)!important}
.lf-mission-editorial-card__percent{
 align-self:start!important;padding:5px 8px!important;border-radius:999px!important;white-space:nowrap!important;
 font-size:.61rem!important;font-weight:800!important;color:#f8fafc!important;background:rgba(15,23,42,.7)!important;border:1px solid rgba(167,139,250,.24)!important
}
.lf-mission-editorial-card.is-complete .lf-mission-editorial-card__percent{border-color:rgba(85,230,155,.45)!important}

.lf-mission-editorial-card__footer{
 margin-top:10px!important;padding-top:9px!important;border-top:1px solid rgba(148,163,184,.13)!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important
}
.lf-mission-editorial-card__status{
 min-height:26px!important;display:inline-flex!important;align-items:center!important;gap:6px!important;
 color:#b77cff!important;font-size:.55rem!important;text-transform:uppercase!important;letter-spacing:.07em!important;font-weight:800!important
}
.lf-mission-editorial-card__status i{width:7px!important;height:7px!important;border-radius:50%!important;background:#9b5cff!important;box-shadow:0 0 10px rgba(155,92,255,.5)!important}
.lf-mission-editorial-card__status svg{width:18px!important;height:18px!important;fill:none!important;stroke:#55e69b!important;stroke-width:1.8!important}
.lf-mission-editorial-card.is-complete .lf-mission-editorial-card__status{color:#55e69b!important}
.lf-mission-editorial-card__footer button{
 appearance:none!important;border:0!important;background:transparent!important;padding:5px 0!important;
 color:#c084fc!important;font-size:.62rem!important;font-weight:800!important
}
.lf-mission-editorial-card__footer button span{font-size:.9rem!important;margin-left:4px!important}

@media(max-width:380px){
 .lf-missions-home-head{grid-template-columns:36px minmax(0,1fr)!important;gap:8px!important}
 .lf-missions-home-head__icon{width:36px!important;height:36px!important}
 .lf-mission-editorial-card{padding:10px!important}
 .lf-mission-editorial-card__main{grid-template-columns:78px minmax(0,1fr) auto!important;gap:9px!important}
 .lf-mission-editorial-card .lf-mission-work-card__cover{width:78px!important;min-width:78px!important;height:108px!important}
 .lf-mission-editorial-card__copy h2{font-size:.9rem!important}
 .lf-mission-editorial-card__copy p{font-size:.59rem!important}
 .lf-mission-editorial-card__percent{padding:4px 7px!important;font-size:.56rem!important}
}


/* LoveFrame 6.3.71 — Refinos da página Missões */
.lf-missions-home-head{
 grid-template-columns:38px minmax(0,1fr) 40px!important;
 gap:9px!important;
}
.lf-missions-home-head .lf-back{
 grid-column:3!important;
 grid-row:1!important;
 justify-self:end!important;
 align-self:start!important;
 width:40px!important;
 min-width:40px!important;
 height:40px!important;
 min-height:40px!important;
 padding:0!important;
 border-radius:12px!important;
 font-size:1.15rem!important;
}
.lf-mission-work-list{gap:8px!important}
.lf-mission-editorial-card .lf-mission-work-card__cover{
 width:84px!important;
 min-width:84px!important;
 height:116px!important;
}
.lf-mission-editorial-card__main{
 grid-template-columns:84px minmax(0,1fr) auto!important;
 gap:11px!important;
}
.lf-mission-editorial-card__footer button{
 min-height:38px!important;
 min-width:112px!important;
 display:inline-flex!important;
 align-items:center!important;
 justify-content:flex-end!important;
 gap:2px!important;
}
@media(max-width:380px){
 .lf-missions-home-head{grid-template-columns:36px minmax(0,1fr) 38px!important;gap:8px!important}
 .lf-missions-home-head .lf-back{width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important}
 .lf-mission-editorial-card__main{grid-template-columns:72px minmax(0,1fr) auto!important;gap:8px!important}
 .lf-mission-editorial-card .lf-mission-work-card__cover{width:72px!important;min-width:72px!important;height:100px!important}
}


/* LoveFrame 6.3.72 — Missões: cards mais compactos */
.lf-mission-work-list{
  gap:7px!important;
}

.lf-mission-editorial-card{
  padding:9px 10px!important;
  border-radius:15px!important;
}

/* reduz a capa e faz o conteúdo ocupar melhor o card */
.lf-mission-editorial-card__main{
  grid-template-columns:70px minmax(0,1fr) auto!important;
  gap:9px!important;
  align-items:start!important;
}

.lf-mission-editorial-card .lf-mission-work-card__cover{
  width:70px!important;
  min-width:70px!important;
  height:96px!important;
  border-radius:10px!important;
}

/* texto mais denso */
.lf-mission-editorial-card__copy{
  padding-top:0!important;
}

.lf-mission-editorial-card__eyebrow{
  font-size:.49rem!important;
}

.lf-mission-editorial-card__copy h2{
  margin:3px 0 5px!important;
  font-size:.92rem!important;
  line-height:1.04!important;
}

.lf-mission-editorial-card__copy p{
  font-size:.60rem!important;
  line-height:1.22!important;
}

.lf-mission-editorial-card__progress{
  margin-top:8px!important;
}

/* percentual compacto */
.lf-mission-editorial-card__percent{
  padding:4px 7px!important;
  font-size:.56rem!important;
}

/* elimina o grande vazio inferior */
.lf-mission-editorial-card__footer{
  margin-top:7px!important;
  padding-top:6px!important;
  min-height:32px!important;
}

.lf-mission-editorial-card__status{
  min-height:24px!important;
  font-size:.52rem!important;
}

.lf-mission-editorial-card__footer button{
  min-height:32px!important;
  min-width:96px!important;
  padding:2px 0!important;
  font-size:.58rem!important;
}

/* quando não houver status à esquerda, a ação continua no canto direito
   sem reservar uma faixa visual vazia */
.lf-mission-editorial-card__status:empty{
  display:none!important;
}

.lf-mission-editorial-card__footer:has(.lf-mission-editorial-card__status:empty){
  justify-content:flex-end!important;
}

/* mobile estreito */
@media(max-width:380px){
  .lf-mission-editorial-card{
    padding:8px 9px!important;
  }

  .lf-mission-editorial-card__main{
    grid-template-columns:64px minmax(0,1fr) auto!important;
    gap:8px!important;
  }

  .lf-mission-editorial-card .lf-mission-work-card__cover{
    width:64px!important;
    min-width:64px!important;
    height:88px!important;
  }

  .lf-mission-editorial-card__copy h2{
    font-size:.86rem!important;
  }

  .lf-mission-editorial-card__copy p{
    font-size:.56rem!important;
  }

  .lf-mission-editorial-card__footer{
    margin-top:6px!important;
    padding-top:5px!important;
  }
}


/* LoveFrame 6.3.73 — Missões: rodapé enxuto, sem linha divisória */
.lf-mission-editorial-card{
  padding-bottom:8px!important;
}

.lf-mission-editorial-card__progress{
  margin-top:7px!important;
}

/* status + ação imediatamente abaixo da barra */
.lf-mission-editorial-card__footer{
  margin-top:5px!important;
  padding-top:0!important;
  border-top:0!important;
  min-height:28px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
}

.lf-mission-editorial-card__status{
  min-height:22px!important;
  line-height:1!important;
  gap:5px!important;
}

.lf-mission-editorial-card__status i{
  width:6px!important;
  height:6px!important;
}

.lf-mission-editorial-card__status svg{
  width:16px!important;
  height:16px!important;
}

.lf-mission-editorial-card__footer button{
  min-height:28px!important;
  min-width:auto!important;
  padding:0!important;
  line-height:1!important;
}

/* elimina sobra inferior */
.lf-mission-editorial-card__footer + *{
  margin-top:0!important;
}

@media(max-width:380px){
  .lf-mission-editorial-card{
    padding-bottom:7px!important;
  }
  .lf-mission-editorial-card__footer{
    margin-top:4px!important;
    min-height:26px!important;
  }
  .lf-mission-editorial-card__footer button{
    min-height:26px!important;
  }
}


/* LoveFrame 6.3.74 — status/ação abaixo da barra, dentro do conteúdo */
.lf-mission-editorial-card__footer{
  display:none!important;
}

.lf-mission-editorial-card__inline-actions{
  margin-top:7px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  min-height:26px!important;
}

.lf-mission-editorial-card__inline-actions .lf-mission-editorial-card__status{
  min-height:22px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  font-size:.52rem!important;
  line-height:1!important;
  color:#b77cff!important;
  text-transform:uppercase!important;
  letter-spacing:.07em!important;
  font-weight:800!important;
}

.lf-mission-editorial-card__inline-actions .lf-mission-editorial-card__status:empty{
  visibility:hidden!important;
}

.lf-mission-editorial-card__inline-actions .lf-mission-editorial-card__status i{
  width:6px!important;
  height:6px!important;
  border-radius:50%!important;
  background:#9b5cff!important;
  box-shadow:0 0 10px rgba(155,92,255,.5)!important;
}

.lf-mission-editorial-card__inline-actions .lf-mission-editorial-card__status svg{
  width:16px!important;
  height:16px!important;
  fill:none!important;
  stroke:#55e69b!important;
  stroke-width:1.8!important;
}

.lf-mission-editorial-card.is-complete .lf-mission-editorial-card__inline-actions .lf-mission-editorial-card__status{
  color:#55e69b!important;
}

.lf-mission-editorial-card__inline-actions button{
  appearance:none!important;
  border:0!important;
  background:transparent!important;
  padding:0!important;
  min-height:26px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:3px!important;
  color:#c084fc!important;
  font-size:.58rem!important;
  line-height:1!important;
  font-weight:800!important;
  white-space:nowrap!important;
}

.lf-mission-editorial-card__inline-actions button span{
  font-size:.84rem!important;
}

/* Enxuga ainda mais o card após mover o rodapé para dentro do conteúdo */
.lf-mission-editorial-card{
  padding-bottom:8px!important;
}
.lf-mission-editorial-card__main{
  align-items:start!important;
}
.lf-mission-editorial-card__copy{
  display:flex!important;
  flex-direction:column!important;
}

@media(max-width:380px){
  .lf-mission-editorial-card__inline-actions{
    margin-top:6px!important;
    min-height:24px!important;
  }
  .lf-mission-editorial-card__inline-actions button{
    min-height:24px!important;
    font-size:.55rem!important;
  }
}


/* LoveFrame 6.3.75 — status dos cards de Missões */
.lf-mission-editorial-card__status.is-active{
  color:#55e69b!important;
}
.lf-mission-editorial-card__status.is-active i{
  background:#55e69b!important;
  box-shadow:0 0 10px rgba(85,230,155,.45)!important;
}

.lf-mission-editorial-card__status.is-waiting{
  color:#f4a640!important;
}
.lf-mission-editorial-card__status.is-waiting i{
  background:#f4a640!important;
  box-shadow:0 0 9px rgba(244,166,64,.38)!important;
}

.lf-mission-editorial-card__status.is-complete{
  color:#55e69b!important;
}
.lf-mission-editorial-card__status.is-complete svg{
  stroke:#55e69b!important;
}


/* LoveFrame 6.3.77 — Novo fluxo “Nova história” no padrão global */
.lf-new-story{
  padding-bottom:104px!important;
}

.lf-new-story-head{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) 42px!important;
  gap:10px!important;
  align-items:start!important;
  margin-bottom:14px!important;
}

.lf-new-story-head__icon{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  border-radius:11px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:start!important;
  color:#d9ccff!important;
  background:linear-gradient(180deg,rgba(124,58,237,.36),rgba(88,28,135,.32))!important;
  border:1px solid rgba(168,85,247,.28)!important;
}

.lf-new-story-head__icon svg{
  width:20px!important;
  height:20px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

.lf-new-story-head>div{
  align-self:start!important;
  padding:0!important;
  margin:0!important;
}

.lf-new-story-head .lf-kicker{
  margin:0 0 3px!important;
}

.lf-new-story-head h1{
  margin:0!important;
  font-size:1.08rem!important;
  line-height:1.08!important;
}

.lf-new-story-head p{
  margin:4px 0 0!important;
  font-size:.68rem!important;
  line-height:1.32!important;
}

.lf-new-story-head .lf-back{
  grid-column:3!important;
  justify-self:end!important;
  align-self:start!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  border-radius:12px!important;
  margin:0!important;
}

/* Card inicial mais editorial e menos alto */
.lf-new-story--idea .lf-card{
  padding:14px!important;
}

.lf-new-story__question{
  margin:6px 0 7px!important;
  font-size:1rem!important;
  line-height:1.16!important;
}

.lf-new-story--idea .lf-subtitle{
  margin:0!important;
  font-size:.66rem!important;
  line-height:1.38!important;
}

.lf-new-story__field{
  margin-top:13px!important;
  gap:7px!important;
}

.lf-new-story__field>span{
  font-size:.69rem!important;
  font-weight:800!important;
}

.lf-new-story__field textarea{
  min-height:155px!important;
  height:155px!important;
  padding:13px!important;
  border-radius:12px!important;
  font-size:.74rem!important;
  line-height:1.45!important;
  resize:vertical!important;
}

.lf-new-story__generate{
  margin-top:11px!important;
  min-height:40px!important;
  height:40px!important;
  border-radius:10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  font-size:.66rem!important;
}

.lf-new-story__generate span{
  width:17px!important;
  height:17px!important;
  display:inline-flex!important;
}

.lf-new-story__generate svg{
  width:17px!important;
  height:17px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* Loading padronizado sem emoji */
.lf-new-story--loading .lf-thinking__mark{
  width:42px!important;
  height:42px!important;
  border-radius:12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#c4b5fd!important;
  background:rgba(124,58,237,.13)!important;
  border:1px solid rgba(139,92,246,.18)!important;
}

.lf-new-story--loading .lf-thinking__mark svg{
  width:22px!important;
  height:22px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

@media(max-width:380px){
  .lf-new-story-head{
    grid-template-columns:36px minmax(0,1fr) 40px!important;
    gap:8px!important;
  }
  .lf-new-story-head__icon{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
  }
  .lf-new-story-head .lf-back{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
  }
  .lf-new-story--idea .lf-card{
    padding:12px!important;
  }
  .lf-new-story__field textarea{
    min-height:140px!important;
    height:140px!important;
  }
}


/* LoveFrame 6.3.78 — navegação inferior: ícone/legenda unidos e conjunto centralizado */
.lf-bottom__inner--premium .lf-nav-premium{
  min-height:58px!important;
  height:58px!important;
  padding:2px 2px!important;
  grid-template-rows:34px 12px!important;
  align-content:center!important;
  align-items:center!important;
  justify-items:center!important;
  gap:0!important;
}

.lf-bottom__inner--premium .lf-nav-premium__icon{
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  align-self:center!important;
  margin:0!important;
}

.lf-bottom__inner--premium .lf-nav-premium strong{
  margin:0!important;
  padding:0!important;
  line-height:12px!important;
  align-self:start!important;
}

.lf-bottom__inner--premium .lf-nav-create{
  align-self:center!important;
  justify-self:center!important;
  margin:0!important;
}

@media(max-width:380px){
  .lf-bottom__inner--premium .lf-nav-premium{
    min-height:56px!important;
    height:56px!important;
    grid-template-rows:33px 12px!important;
  }
  .lf-bottom__inner--premium .lf-nav-premium__icon{
    width:33px!important;
    height:33px!important;
  }
}


/* LoveFrame 6.3.79 — LoveFrame Brain padronizado */
.lf-brain-page{padding-bottom:104px!important}
.lf-brain-page-head{
 display:grid!important;
 grid-template-columns:38px minmax(0,1fr) 42px!important;
 gap:10px!important;
 align-items:start!important;
 margin-bottom:14px!important;
}
.lf-brain-page-head__icon{
 width:38px!important;height:38px!important;min-width:38px!important;border-radius:11px!important;
 display:flex!important;align-items:center!important;justify-content:center!important;align-self:start!important;
 color:#d9ccff!important;background:linear-gradient(180deg,rgba(124,58,237,.36),rgba(88,28,135,.32))!important;
 border:1px solid rgba(168,85,247,.28)!important
}
.lf-brain-page-head__icon svg{
 width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;
 stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important
}
.lf-brain-page-head>div{align-self:start!important;padding:0!important;margin:0!important}
.lf-brain-page-head h1{margin:0!important;font-size:1.08rem!important;line-height:1.08!important}
.lf-brain-page-head p{margin:4px 0 0!important;font-size:.68rem!important;line-height:1.32!important}
.lf-brain-page-head .lf-back{
 grid-column:3!important;justify-self:end!important;align-self:start!important;
 width:42px!important;height:42px!important;min-width:42px!important;border-radius:12px!important;margin:0!important
}

/* Resumo */
.lf-brain-page .lf-card{padding:14px!important}
.lf-brain-summary-head,.lf-brain-diagnostic-head{
 display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important
}
.lf-brain-summary-head h2,.lf-brain-diagnostic-head h2{
 margin:5px 0 0!important;font-size:.94rem!important;line-height:1.1!important
}
.lf-brain-summary-progress{margin-top:10px!important}
.lf-brain-grid--premium{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:11px!important
}
.lf-brain-stat--premium{
 min-height:62px!important;padding:10px!important;border-radius:12px!important;
 display:flex!important;align-items:center!important;gap:9px!important;
 background:rgba(124,58,237,.055)!important;border:1px solid rgba(167,139,250,.13)!important
}
.lf-brain-stat__icon{
 width:30px!important;height:30px!important;min-width:30px!important;border-radius:9px!important;
 display:grid!important;place-items:center!important;color:#b9a0ff!important;background:rgba(124,58,237,.12)!important
}
.lf-brain-stat__icon svg{
 width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;
 stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important
}
.lf-brain-stat--premium strong{display:block!important;font-size:.88rem!important;line-height:1!important}
.lf-brain-stat--premium small{display:block!important;margin-top:4px!important;font-size:.58rem!important;line-height:1!important;color:rgba(203,213,225,.7)!important}

/* Busca */
.lf-brain-search{
 min-height:44px!important;height:44px!important;border-radius:12px!important;padding:0 11px!important
}
.lf-brain-search>span{width:19px!important;height:19px!important;display:grid!important;place-items:center!important}
.lf-brain-search svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important}
.lf-brain-search input{font-size:.68rem!important}
.lf-brain-results{margin-top:9px!important;min-height:58px!important}
.lf-brain-results .lf-empty{padding:12px 6px!important;font-size:.62rem!important}

/* Diagnóstico */
.lf-brain-issues{margin-top:10px!important}
.lf-brain-issue{
 display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;gap:8px!important;
 align-items:start!important;padding:9px 10px!important;border-radius:10px!important
}
.lf-brain-issue>span{width:20px!important;height:20px!important;display:grid!important;place-items:center!important}
.lf-brain-issue svg{width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important}
.lf-brain-issue p{margin:0!important;font-size:.61rem!important;line-height:1.35!important}
.lf-brain-sync{
 margin-top:10px!important;min-height:38px!important;height:38px!important;border-radius:10px!important;
 display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;font-size:.64rem!important
}
.lf-brain-sync>span{width:17px!important;height:17px!important;display:inline-flex!important}
.lf-brain-sync svg{width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}

/* Resultados */
.lf-brain-result{grid-template-columns:32px minmax(0,1fr) auto!important;gap:9px!important}
.lf-brain-result__icon{
 width:32px!important;height:32px!important;border-radius:9px!important;display:grid!important;place-items:center!important;
 color:#b9a0ff!important;background:rgba(124,58,237,.11)!important
}
.lf-brain-result__icon svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important}

@media(max-width:380px){
 .lf-brain-page-head{grid-template-columns:36px minmax(0,1fr) 40px!important;gap:8px!important}
 .lf-brain-page-head__icon{width:36px!important;height:36px!important;min-width:36px!important}
 .lf-brain-page-head .lf-back{width:40px!important;height:40px!important;min-width:40px!important}
 .lf-brain-page .lf-card{padding:12px!important}
 .lf-brain-grid--premium{gap:7px!important}
 .lf-brain-stat--premium{min-height:58px!important;padding:9px!important}
}


/* LoveFrame 6.3.80 — Mais/Ajustes padronizado */
.lf-main:has([data-action="brain-open"]),
.lf-main:has([data-action="brain"]){
  padding-bottom:104px!important;
}

/* Cabeçalho da tela Mais no padrão oficial */
.lf-main:has([data-action="brain-open"]) .lf-page-head,
.lf-main:has([data-action="brain"]) .lf-page-head{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) 42px!important;
  gap:10px!important;
  align-items:start!important;
  margin-bottom:14px!important;
}
.lf-main:has([data-action="brain-open"]) .lf-page-head>div,
.lf-main:has([data-action="brain"]) .lf-page-head>div{
  grid-column:2!important;
  align-self:start!important;
  min-width:0!important;
}
.lf-main:has([data-action="brain-open"]) .lf-page-head h1,
.lf-main:has([data-action="brain"]) .lf-page-head h1{
  margin:0!important;
  font-size:1.08rem!important;
  line-height:1.08!important;
}
.lf-main:has([data-action="brain-open"]) .lf-page-head p,
.lf-main:has([data-action="brain"]) .lf-page-head p{
  margin:4px 0 0!important;
  font-size:.68rem!important;
  line-height:1.32!important;
}
.lf-main:has([data-action="brain-open"]) .lf-page-head .lf-back,
.lf-main:has([data-action="brain"]) .lf-page-head .lf-back{
  grid-column:3!important;
  grid-row:1!important;
  justify-self:end!important;
  align-self:start!important;
  width:42px!important;height:42px!important;min-width:42px!important;
  border-radius:12px!important;margin:0!important;
}

/* Ícone vetorial visual da seção, sem emoji */
.lf-main:has([data-action="brain-open"]) .lf-page-head::before,
.lf-main:has([data-action="brain"]) .lf-page-head::before{
  content:"";
  grid-column:1!important;grid-row:1!important;
  width:38px!important;height:38px!important;border-radius:11px!important;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9ccff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .34 1.88l.06.06-2.83 2.83-.06-.06A1.7 1.7 0 0 0 15 19.4a1.7 1.7 0 0 0-1 .6 1.7 1.7 0 0 0-.4 1.1V21h-4v-.1A1.7 1.7 0 0 0 8.6 19.4a1.7 1.7 0 0 0-1.88.34l-.06.06-2.83-2.83.06-.06A1.7 1.7 0 0 0 4.6 15a1.7 1.7 0 0 0-.6-1 1.7 1.7 0 0 0-1.1-.4H3v-4h.1A1.7 1.7 0 0 0 4.6 8.6a1.7 1.7 0 0 0-.34-1.88l-.06-.06 2.83-2.83.06.06A1.7 1.7 0 0 0 9 4.6a1.7 1.7 0 0 0 1-.6 1.7 1.7 0 0 0 .4-1.1V3h4v.1A1.7 1.7 0 0 0 15.4 4.6a1.7 1.7 0 0 0 1.88-.34l.06-.06 2.83 2.83-.06.06A1.7 1.7 0 0 0 19.4 9c.1.36.31.7.6 1 .3.28.67.42 1.1.4h.1v4h-.1a1.7 1.7 0 0 0-1.7.6Z'/%3E%3C/svg%3E") center/20px 20px no-repeat,
    linear-gradient(180deg,rgba(124,58,237,.36),rgba(88,28,135,.32))!important;
  border:1px solid rgba(168,85,247,.28)!important;
}

/* Card de ações mais enxuto e hierárquico */
.lf-main:has([data-action="brain-open"]) .lf-card,
.lf-main:has([data-action="brain"]) .lf-card{
  padding:14px!important;
}
.lf-main:has([data-action="brain-open"]) .lf-card>.lf-btn,
.lf-main:has([data-action="brain"]) .lf-card>.lf-btn{
  min-height:42px!important;
  height:auto!important;
  margin-top:8px!important;
  border-radius:11px!important;
  font-size:.66rem!important;
  line-height:1.15!important;
  padding:10px 12px!important;
}
.lf-main:has([data-action="brain-open"]) .lf-card>.lf-btn:first-child,
.lf-main:has([data-action="brain"]) .lf-card>.lf-btn:first-child{
  margin-top:0!important;
}
.lf-main:has([data-action="brain-open"]) .lf-btn-primary,
.lf-main:has([data-action="brain"]) .lf-btn-primary{
  box-shadow:0 8px 22px rgba(124,58,237,.16)!important;
}

/* Ações destrutivas: compactas, mas claramente separadas */
.lf-main:has([data-action="brain-open"]) .lf-btn-danger,
.lf-main:has([data-action="brain"]) .lf-btn-danger{
  margin-top:10px!important;
}

@media(max-width:380px){
 .lf-main:has([data-action="brain-open"]) .lf-page-head,
 .lf-main:has([data-action="brain"]) .lf-page-head{
   grid-template-columns:36px minmax(0,1fr) 40px!important;gap:8px!important
 }
 .lf-main:has([data-action="brain-open"]) .lf-page-head::before,
 .lf-main:has([data-action="brain"]) .lf-page-head::before{
   width:36px!important;height:36px!important
 }
 .lf-main:has([data-action="brain-open"]) .lf-page-head .lf-back,
 .lf-main:has([data-action="brain"]) .lf-page-head .lf-back{
   width:40px!important;height:40px!important;min-width:40px!important
 }
 .lf-main:has([data-action="brain-open"]) .lf-card,
 .lf-main:has([data-action="brain"]) .lf-card{padding:12px!important}
}

/* LoveFrame 6.3.81 — Mais/Ajustes: cabeçalho estrutural no padrão oficial */
.lf-settings-page{padding-bottom:104px!important}
.lf-settings-page-head{
 display:grid!important;
 grid-template-columns:38px minmax(0,1fr) 42px!important;
 gap:10px!important;
 align-items:start!important;
 margin-bottom:14px!important;
}
.lf-settings-page-head__icon{
 grid-column:1!important;grid-row:1!important;
 width:38px!important;height:38px!important;min-width:38px!important;
 border-radius:11px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
 color:#d9ccff!important;background:linear-gradient(180deg,rgba(124,58,237,.36),rgba(88,28,135,.32))!important;
 border:1px solid rgba(168,85,247,.28)!important;
}
.lf-settings-page-head__icon svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.lf-settings-page-head>div{grid-column:2!important;grid-row:1!important;align-self:start!important;min-width:0!important;padding:0!important;margin:0!important}
.lf-settings-page-head h1{margin:0!important;font-size:1.08rem!important;line-height:1.08!important}
.lf-settings-page-head p{margin:4px 0 0!important;font-size:.68rem!important;line-height:1.3!important}
.lf-settings-page-head .lf-back{grid-column:3!important;grid-row:1!important;justify-self:end!important;align-self:start!important;width:42px!important;height:42px!important;min-width:42px!important;border-radius:12px!important;margin:0!important}
.lf-settings-page>.lf-card{padding:14px!important}
.lf-settings-page>.lf-card .lf-stack{gap:10px!important}
.lf-settings-page>.lf-card .lf-btn{min-height:42px!important;height:auto!important;border-radius:11px!important;padding:10px 12px!important;margin:0!important}
@media(max-width:380px){
 .lf-settings-page-head{grid-template-columns:36px minmax(0,1fr) 40px!important;gap:8px!important}
 .lf-settings-page-head__icon{width:36px!important;height:36px!important;min-width:36px!important}
 .lf-settings-page-head .lf-back{width:40px!important;height:40px!important;min-width:40px!important}
 .lf-settings-page>.lf-card{padding:12px!important}
}

/* LoveFrame 6.3.82 — menu inferior global refinado */
.lf-bottom__inner--premium{
  min-height:72px!important;
  height:72px!important;
  padding:5px 7px!important;
  align-items:center!important;
}
.lf-bottom__inner--premium .lf-nav-premium{
  min-height:58px!important;
  height:58px!important;
  padding:2px!important;
  background:transparent!important;
  border-radius:14px!important;
}
.lf-bottom__inner--premium .lf-nav-premium[data-active="true"]{
  background:transparent!important;
}
.lf-bottom__inner--premium .lf-nav-premium__icon{
  width:34px!important;
  height:34px!important;
  border-radius:11px!important;
}
.lf-bottom__inner--premium .lf-nav-premium svg{
  width:22px!important;
  height:22px!important;
  stroke-width:1.7!important;
}
.lf-bottom__inner--premium .lf-nav-premium[data-active="true"] .lf-nav-premium__icon{
  background:rgba(111,63,202,.22)!important;
  box-shadow:inset 0 0 0 1px rgba(143,99,233,.26),0 4px 12px rgba(83,47,151,.12)!important;
}
.lf-bottom__inner--premium .lf-nav-premium__icon small{
  top:-3px!important;
  right:-3px!important;
  min-width:15px!important;
  height:15px!important;
  padding:0 4px!important;
  font-size:.50rem!important;
}
.lf-bottom__inner--premium .lf-nav-create{
  width:56px!important;
  height:56px!important;
  min-width:56px!important;
  min-height:56px!important;
  margin:0!important;
  align-self:center!important;
  box-shadow:0 7px 18px rgba(95,54,174,.24),0 0 0 1px rgba(184,156,255,.18)!important;
}
@media(max-width:380px){
  .lf-bottom__inner--premium{min-height:68px!important;height:68px!important;padding:4px 5px!important}
  .lf-bottom__inner--premium .lf-nav-premium{min-height:56px!important;height:56px!important}
  .lf-bottom__inner--premium .lf-nav-create{width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important}
}


/* LoveFrame 6.3.83 — Mais/Ajustes em blocos de ícones */
.lf-settings-page .lf-card{
  padding:12px!important;
  overflow:hidden!important;
}

.lf-settings-group{
  padding:0 0 11px!important;
  margin:0 0 11px!important;
  border-bottom:1px solid rgba(148,163,184,.10)!important;
}
.lf-settings-group:last-child{
  padding-bottom:0!important;
  margin-bottom:0!important;
  border-bottom:0!important;
}

.lf-settings-group__title{
  margin:0 0 8px!important;
  font-size:.58rem!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  color:#a78bfa!important;
}
.lf-settings-group--danger .lf-settings-group__title{
  color:#e66b84!important;
}

.lf-settings-grid{
  display:grid!important;
  gap:7px!important;
}
.lf-settings-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.lf-settings-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))!important}

.lf-settings-tile{
  appearance:none!important;
  min-width:0!important;
  min-height:86px!important;
  padding:10px!important;
  border-radius:12px!important;
  border:1px solid rgba(148,163,184,.16)!important;
  background:linear-gradient(145deg,rgba(20,28,45,.96),rgba(13,20,35,.98))!important;
  color:#f8fafc!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:8px!important;
  text-align:left!important;
  cursor:pointer!important;
  font:inherit!important;
  box-sizing:border-box!important;
  transition:transform .16s ease,border-color .16s ease,background .16s ease!important;
}
.lf-settings-tile:active{
  transform:scale(.98)!important;
}
.lf-settings-tile--primary{
  border-color:rgba(168,85,247,.52)!important;
  background:linear-gradient(145deg,rgba(81,47,132,.55),rgba(34,28,67,.88))!important;
  box-shadow:0 8px 22px rgba(124,58,237,.10)!important;
}
.lf-settings-tile__icon{
  width:31px!important;
  height:31px!important;
  min-width:31px!important;
  border-radius:9px!important;
  display:grid!important;
  place-items:center!important;
  color:#b79cff!important;
  background:rgba(124,58,237,.12)!important;
  border:1px solid rgba(167,139,250,.10)!important;
}
.lf-settings-tile__icon svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.lf-settings-tile strong{
  display:block!important;
  width:100%!important;
  font-size:.60rem!important;
  line-height:1.22!important;
  font-weight:750!important;
  color:#f8fafc!important;
  overflow-wrap:anywhere!important;
}
.lf-settings-tile--danger{
  min-height:72px!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:9px!important;
  border-color:rgba(244,63,94,.42)!important;
  background:linear-gradient(145deg,rgba(86,28,42,.52),rgba(51,23,34,.82))!important;
}
.lf-settings-tile--danger .lf-settings-tile__icon{
  color:#fb7185!important;
  background:rgba(190,24,93,.11)!important;
  border-color:rgba(251,113,133,.12)!important;
}
.lf-settings-tile--danger strong{
  color:#ffe4e6!important;
}

/* labels de upload se comportam como botões */
label.lf-settings-tile{
  margin:0!important;
}

/* resultado técnico fora do grid */
#settings-result:not(:empty){
  margin-top:10px!important;
}

@media(max-width:380px){
  .lf-settings-page .lf-card{padding:10px!important}
  .lf-settings-grid{gap:6px!important}
  .lf-settings-tile{
    min-height:80px!important;
    padding:9px!important;
    gap:7px!important;
  }
  .lf-settings-tile__icon{
    width:29px!important;height:29px!important;min-width:29px!important
  }
  .lf-settings-tile__icon svg{
    width:17px!important;height:17px!important
  }
  .lf-settings-tile strong{
    font-size:.56rem!important;
  }
  .lf-settings-tile--danger{
    min-height:66px!important;
  }
}


/* LoveFrame 6.3.84 — Proposta: botão Voltar padronizado */
.lf-proposal-editor .lf-page-head .lf-back,
.lf-proposal-page .lf-page-head .lf-back{
  grid-column:3!important;
  grid-row:1!important;
  justify-self:end!important;
  align-self:start!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  border-radius:12px!important;
  padding:0!important;
  margin:0!important;
  display:grid!important;
  place-items:center!important;
  font-size:1.15rem!important;
  line-height:1!important;
}
@media(max-width:380px){
  .lf-proposal-editor .lf-page-head .lf-back,
  .lf-proposal-page .lf-page-head .lf-back{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
  }
}


/* LoveFrame 6.3.85 — Personagens: texto mais próximo do ícone */
.lf-characters-page .lf-page-head {
  column-gap: 8px !important;
}
.lf-characters-page .lf-page-head > .lf-page-head-copy,
.lf-characters-page .lf-page-head > .lf-page-title-wrap,
.lf-characters-page .lf-page-head > .lf-head-copy {
  margin-left: 0 !important;
}

.lf-characters-page .lf-page-head > :nth-child(2) {
  margin-left: -4px !important;
}


/* LoveFrame 6.3.87 — Personagens: alinhamento editorial dos cards */

/* preserva/evolui o refinamento do cabeçalho feito na 6.3.86 */
.lf-characters-page-head{
  column-gap:4px!important;
}
.lf-characters-page-head > div{
  margin-left:0!important;
}
@media(max-width:380px){
  .lf-characters-page-head{
    column-gap:3px!important;
  }
}

/* avatar/letra alinhado ao topo do nome e papel */
.lf-character-card__head{
  align-items:start!important;
}
.lf-character-card__head .lf-avatar,
.lf-character-card__head .lf-avatar--premium{
  align-self:start!important;
  margin-top:0!important;
}
.lf-character-card__text{
  align-self:start!important;
  padding-top:0!important;
}

/* aproxima o rodapé do conteúdo sem perder legibilidade */
.lf-character-card__head{
  padding-bottom:5px!important;
}
.lf-character-card__footer{
  margin-top:0!important;
  padding:0 8px 8px!important;
}

/* barra, porcentagem e check em um único eixo */
.lf-character-card__footer{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
}

.lf-character-card__progress{
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
  padding:0!important;
  margin:0!important;
}

.lf-character-card__progress .lf-progress{
  width:100%!important;
  min-width:0!important;
  height:4px!important;
  margin:0!important;
  align-self:center!important;
}

.lf-character-card__progress small{
  margin:0!important;
  padding:0!important;
  white-space:nowrap!important;
  align-self:center!important;
  line-height:1!important;
  font-size:.55rem!important;
  font-weight:800!important;
  color:rgba(203,213,225,.82)!important;
}

/* check exatamente no eixo da barra e do percentual */
.lf-character-card__status{
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  min-height:22px!important;
  margin:0!important;
  padding:0!important;
  align-self:center!important;
  justify-self:end!important;
  display:grid!important;
  place-items:center!important;
}
.lf-character-card__status svg{
  width:20px!important;
  height:20px!important;
  display:block!important;
}

/* a barra começa na mesma margem esquerda do avatar */
.lf-character-card--premium{
  padding:0!important;
}
.lf-character-card--premium .lf-character-card__footer{
  padding-left:8px!important;
  padding-right:8px!important;
}

/* composição mais limpa em telas estreitas */
@media(max-width:380px){
  .lf-character-card__head{
    padding-bottom:4px!important;
  }
  .lf-character-card__footer{
    padding:0 7px 7px!important;
    gap:8px!important;
  }
  .lf-character-card__progress{
    gap:6px!important;
  }
  .lf-character-card__progress small{
    font-size:.52rem!important;
  }
  .lf-character-card__status{
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    min-height:20px!important;
  }
  .lf-character-card__status svg{
    width:18px!important;
    height:18px!important;
  }
}


/* LoveFrame 6.3.88 — Personagens: título/subtítulo ainda mais próximos do ícone */
.lf-characters-page-head{
  column-gap:0!important;
}
.lf-characters-page-head > div{
  margin-left:-4px!important;
}
@media(max-width:380px){
  .lf-characters-page-head{
    column-gap:0!important;
  }
  .lf-characters-page-head > div{
    margin-left:-5px!important;
  }
}


/* LoveFrame 6.3.89 — Personagens: iguala espaçamento do cabeçalho à Bíblia */
.lf-characters-page-head{
  column-gap:0!important;
}
.lf-characters-page-head > div{
  margin-left:-20px!important; /* ~16px mais próximo que 6.3.88 */
}
@media(max-width:380px){
  .lf-characters-page-head > div{
    margin-left:-21px!important;
  }
}


/* LoveFrame 6.3.90 — Personagens: eixo do título igual ao LoveFrame */
.lf-characters-page-head{
  position:relative!important;
  display:grid!important;
  grid-template-columns:68px minmax(0,1fr) 52px!important;
  column-gap:18px!important;
  align-items:start!important;
}

/* ícone fica à esquerda sem deslocar o eixo do título */
.lf-characters-page-head__icon{
  grid-column:1!important;
  justify-self:start!important;
  margin:0!important;
}

/* título/subtítulo começam no mesmo eixo horizontal de “LoveFrame” */
.lf-characters-page-head > div{
  grid-column:2!important;
  margin-left:0!important;
  padding-left:0!important;
  transform:translateX(-2px)!important;
}

/* voltar permanece à direita */
.lf-characters-page-head .lf-back{
  grid-column:3!important;
  justify-self:end!important;
  align-self:start!important;
  margin:0!important;
}

@media(max-width:380px){
  .lf-characters-page-head{
    grid-template-columns:64px minmax(0,1fr) 48px!important;
    column-gap:16px!important;
  }
  .lf-characters-page-head > div{
    transform:translateX(-2px)!important;
  }
}


/* LoveFrame 6.3.91 — Personagens: eixo absoluto igual ao título LoveFrame */
.lf-characters-page-head{
  position:relative!important;
  display:grid!important;
  grid-template-columns:68px minmax(0,1fr) 52px!important;
  column-gap:0!important;
  align-items:start!important;
}

/*
  O bloco textual deixa de depender do gap do ícone.
  Ele é deslocado para o mesmo eixo visual usado pelo título LoveFrame.
*/
.lf-characters-page-head > div{
  grid-column:2!important;
  margin-left:-22px!important;
  padding-left:0!important;
  transform:none!important;
}

/* ícone continua à esquerda */
.lf-characters-page-head__icon{
  grid-column:1!important;
  justify-self:start!important;
  margin:0!important;
}

/* Voltar permanece no canto direito */
.lf-characters-page-head .lf-back{
  grid-column:3!important;
  justify-self:end!important;
  align-self:start!important;
  margin:0!important;
}

@media(max-width:380px){
  .lf-characters-page-head{
    grid-template-columns:64px minmax(0,1fr) 48px!important;
    column-gap:0!important;
  }
  .lf-characters-page-head > div{
    margin-left:-20px!important;
    transform:none!important;
  }
}


/* LoveFrame 6.3.92 — Personagens replica exatamente o cabeçalho da Bíblia */
.lf-characters-page-head{
  display:flex!important;
  grid-template-columns:none!important;
  align-items:flex-start!important;
  gap:10px!important;
  column-gap:10px!important;
  margin-bottom:14px!important;
  position:relative!important;
}

/* mesmo bloco de ícone da Bíblia */
.lf-characters-page-head__icon{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  flex:0 0 38px!important;
  border-radius:11px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:flex-start!important;
  margin:0!important;
}

/* texto imediatamente após o ícone, como na Bíblia */
.lf-characters-page-head > div{
  flex:0 1 auto!important;
  min-width:0!important;
  margin:0!important;
  margin-left:0!important;
  padding:0!important;
  padding-left:0!important;
  transform:none!important;
  align-self:flex-start!important;
}

.lf-characters-page-head h1{
  margin:0!important;
  font-size:1.08rem!important;
  line-height:1.08!important;
}
.lf-characters-page-head p{
  margin:4px 0 0!important;
  font-size:.68rem!important;
  line-height:1.3!important;
}

/* mesmo comportamento do Voltar da Bíblia */
.lf-characters-page-head .lf-back{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  flex:0 0 42px!important;
  border-radius:12px!important;
  margin-left:auto!important;
  margin-right:0!important;
  align-self:flex-start!important;
  order:99!important;
}

@media(max-width:380px){
  .lf-characters-page-head{
    gap:8px!important;
    column-gap:8px!important;
  }
  .lf-characters-page-head__icon{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    min-height:36px!important;
    flex-basis:36px!important;
  }
  .lf-characters-page-head .lf-back{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    flex-basis:40px!important;
  }
}


/* LoveFrame 6.3.93 — Personagens: eixo do P igual ao L de LoveFrame */
.lf-characters-page-head{
  gap:10px!important;
}

/*
  Mantém o ícone onde está, mas posiciona o bloco textual no mesmo
  eixo horizontal do título LoveFrame do cabeçalho principal.
  O pequeno aumento do espaço ícone/texto atende ao refinamento visual.
*/
.lf-characters-page-head > div{
  margin-left:8px!important;
  transform:none!important;
}

@media(max-width:380px){
  .lf-characters-page-head{
    gap:8px!important;
  }
  .lf-characters-page-head > div{
    margin-left:8px!important;
  }
}


/* LoveFrame 6.3.94 — refinamento do cabeçalho Personagens */
.lf-characters-page-head > div{
  margin-left:12px!important; /* +4px em relação à 6.3.93 */
}
@media(max-width:380px){
  .lf-characters-page-head > div{
    margin-left:12px!important;
  }
}

/* LoveFrame 6.3.95 — Estrutura editorial */
.lf-structure-head{display:flex;align-items:flex-start;gap:10px;margin-bottom:22px}
.lf-structure-head__icon{width:38px;height:38px;flex:0 0 38px;border-radius:11px;display:flex;align-items:center;justify-content:center;color:#d9ccff;background:linear-gradient(180deg,rgba(124,58,237,.36),rgba(88,28,135,.32));border:1px solid rgba(168,85,247,.28)}
.lf-structure-head__icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.lf-structure-head__copy{min-width:0}.lf-structure-head__copy h1{margin:0;font-size:1.08rem;line-height:1.08}.lf-structure-head__copy p{margin:4px 0 0;color:var(--muted);font-size:.68rem;line-height:1.3}
.lf-structure-head .lf-back{margin-left:auto;order:99;width:42px;height:42px;min-width:42px;border-radius:12px}
.lf-structure-summary{padding:16px;margin-bottom:20px}.lf-structure-summary h2{margin:6px 0 2px;font-size:1.18rem}.lf-structure-summary p{margin:0;color:var(--muted);font-size:.72rem}.lf-structure-progress{margin-top:12px}
.lf-structure-section-title{margin:0 2px 10px;color:#b99af8;font-size:.65rem;font-weight:800;letter-spacing:.11em}
.lf-structure-list{display:grid;gap:10px}
.lf-structure-item{width:100%;display:grid;grid-template-columns:36px minmax(0,1fr) 28px;gap:10px;align-items:start;text-align:left;padding:14px 12px;border:1px solid rgba(148,163,184,.16);border-radius:16px;background:linear-gradient(145deg,rgba(15,23,42,.94),rgba(16,18,34,.96));color:inherit}
.lf-structure-item__num{width:32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:rgba(124,58,237,.18);border:1px solid rgba(168,85,247,.24);color:#c4a7ff;font-size:.66rem;font-weight:800}
.lf-structure-item__copy strong{display:block;font-size:.86rem;line-height:1.18}.lf-structure-item__copy small{display:block;margin-top:4px;color:var(--muted);font-size:.68rem;line-height:1.32}
.lf-structure-item__state{align-self:center;justify-self:end;color:#a78bfa;font-size:1.05rem}.lf-structure-item__state[data-done="true"]{color:#4ade80}
.lf-structure-next{margin-top:16px}
@media(max-width:380px){.lf-structure-head{gap:8px}.lf-structure-head__icon{width:36px;height:36px;flex-basis:36px}.lf-structure-head .lf-back{width:40px;height:40px;min-width:40px}.lf-structure-item{grid-template-columns:34px minmax(0,1fr) 24px;gap:8px;padding:12px 10px}}

/* 6.3.97 — fluxo canônico da Estrutura */
.lf-structure-summary__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.lf-structure-summary__actions>:only-child{grid-column:1/-1}
.lf-structure-message{margin:10px 0 0}
details.lf-structure-item{display:block;padding:0;overflow:hidden}
.lf-structure-item summary{list-style:none;display:grid;grid-template-columns:36px minmax(0,1fr) 28px;gap:10px;align-items:start;padding:14px 12px;cursor:pointer}
.lf-structure-item summary::-webkit-details-marker{display:none}
.lf-structure-item__body{padding:0 12px 14px 58px}
.lf-structure-item__body p{margin:0 0 12px;color:#d7d9e2;font-size:.75rem;line-height:1.48}
.lf-structure-item__body textarea{width:100%;box-sizing:border-box;resize:vertical;border:1px solid rgba(148,163,184,.2);border-radius:13px;background:#101624;color:#f6f4fb;padding:12px;font:inherit;line-height:1.45;margin-bottom:10px}
.lf-structure-item[data-status="approved"] .lf-structure-item__state{color:#4ade80}
.lf-structure-item[data-status="review"] .lf-structure-item__state{color:#fbbf24}
@media(max-width:420px){.lf-structure-summary__actions{grid-template-columns:1fr}.lf-structure-item__body{padding-left:56px}}
/* 6.3.98 — mensagem da Estrutura */
.lf-structure-message{
  margin:16px 0 0;
  text-align:center;
  width:100%;
}

/* LoveFrame 6.3.99 — planejamento de capítulos na Estrutura */
.lf-chapter-plan{
  margin-top:14px;
  padding:14px;
  border:1px solid rgba(168,85,247,.2);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(34,24,58,.42),rgba(15,23,42,.72));
}
.lf-chapter-plan__head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.lf-chapter-plan__head h3{margin:5px 0 0;font-size:.9rem}
.lf-chapter-plan__count{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:10px;margin:14px 0 8px}
.lf-chapter-plan__count button{height:42px;border-radius:12px;border:1px solid rgba(168,85,247,.25);background:rgba(124,58,237,.13);color:#fff;font-size:1.2rem;font-weight:700}
.lf-chapter-plan__count strong{text-align:center;font-size:1.55rem}
.lf-chapter-plan__hint{text-align:center;margin:0 0 12px;color:var(--muted);font-size:.66rem;line-height:1.35}
@media(max-width:380px){.lf-chapter-plan{padding:12px}.lf-chapter-plan__count{grid-template-columns:40px 1fr 40px}.lf-chapter-plan__count button{height:40px}}


/* LoveFrame 6.3.100 — Planejamento: cabeçalho sem selo redundante */
.lf-chapter-plan__head{
  display:block!important;
}

/* LoveFrame 6.3.101 — módulo Capítulos */
.lf-chapters-head{display:flex;align-items:flex-start;gap:10px;margin-bottom:22px}
.lf-chapters-head__icon{width:38px;height:38px;flex:0 0 38px;border-radius:11px;display:flex;align-items:center;justify-content:center;color:#d9ccff;background:linear-gradient(180deg,rgba(124,58,237,.36),rgba(88,28,135,.32));border:1px solid rgba(168,85,247,.28)}
.lf-chapters-head__icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.lf-chapters-head>div{min-width:0}.lf-chapters-head h1{margin:0;font-size:1.08rem;line-height:1.08}.lf-chapters-head p{margin:4px 0 0;color:var(--muted);font-size:.68rem;line-height:1.3}
.lf-chapters-head .lf-back{margin-left:auto;width:42px;height:42px;min-width:42px;border-radius:12px}
.lf-chapters-summary{padding:16px;margin-bottom:20px}.lf-chapters-summary h2{margin:6px 0 2px;font-size:1.18rem}.lf-chapters-summary p{margin:0;color:var(--muted);font-size:.72rem}
.lf-chapters-progress{margin-top:12px}
.lf-chapters-summary__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.lf-chapters-summary__actions>:only-child{grid-column:1/-1}
.lf-chapter-message{text-align:center;margin:12px 0 0}
.lf-chapters-section-title{margin:0 2px 10px;color:#b99af8;font-size:.65rem;font-weight:800;letter-spacing:.11em}
.lf-chapter-list{display:grid;gap:10px}
.lf-chapter-card{border:1px solid rgba(148,163,184,.16);border-radius:16px;background:linear-gradient(145deg,rgba(15,23,42,.94),rgba(16,18,34,.96));overflow:hidden}
.lf-chapter-card summary{list-style:none;display:grid;grid-template-columns:38px minmax(0,1fr) 26px;gap:10px;align-items:start;padding:13px 12px;cursor:pointer}
.lf-chapter-card summary::-webkit-details-marker{display:none}
.lf-chapter-card__num{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:rgba(124,58,237,.18);border:1px solid rgba(168,85,247,.24);color:#c4a7ff;font-size:.66rem;font-weight:800}
.lf-chapter-card__copy{min-width:0}.lf-chapter-card__copy small{display:block;color:#c4a7ff;font-size:.55rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;margin-bottom:3px}
.lf-chapter-card__copy strong{display:block;font-size:.84rem;line-height:1.18}.lf-chapter-card__copy p{margin:4px 0 0;color:var(--muted);font-size:.66rem;line-height:1.34;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lf-chapter-card__state{align-self:center;justify-self:end;color:#a78bfa;font-size:1rem}.lf-chapter-card[data-status="approved"] .lf-chapter-card__state{color:#4ade80}.lf-chapter-card[data-status="review"] .lf-chapter-card__state{color:#fbbf24}
.lf-chapter-card__body{padding:0 12px 14px 60px}
.lf-chapter-details{display:grid;gap:10px}.lf-chapter-details>div{padding-top:9px;border-top:1px solid rgba(148,163,184,.10)}
.lf-chapter-details span{display:block;color:#b99af8;font-size:.56rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em;margin-bottom:4px}
.lf-chapter-details p,.lf-chapter-details li{color:#d7d9e2;font-size:.7rem;line-height:1.42}.lf-chapter-details p{margin:0}.lf-chapter-details ul{margin:0;padding-left:18px}
.lf-chapter-card__body .lf-actions{margin-top:12px}
@media(max-width:420px){.lf-chapters-summary__actions{grid-template-columns:1fr}.lf-chapter-card__body{padding-left:58px}.lf-chapters-head{gap:8px}.lf-chapters-head__icon{width:36px;height:36px;flex-basis:36px}.lf-chapters-head .lf-back{width:40px;height:40px;min-width:40px}}


/* LoveFrame 6.4.0 — Capítulos: mapa editorial mobile-first */
.lf-chapter-card:not([open]) .lf-chapter-card__copy p{-webkit-line-clamp:2}
.lf-chapter-card[open] .lf-chapter-card__copy p{-webkit-line-clamp:3}
.lf-chapter-card[open] .lf-chapter-card__state{transform:rotate(90deg)}
.lf-chapter-card__state{transition:transform .18s ease}
.lf-chapter-card__copy small:empty{display:none}
@media(max-width:420px){
 .lf-chapter-card summary{grid-template-columns:36px minmax(0,1fr) 22px;gap:9px;padding:12px 10px}
 .lf-chapter-card__body{padding:0 10px 13px 55px}
}


/* LoveFrame 6.4.5 — planejamento + manuscrito + impacto editorial */
.lf-chapter-layers{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:9px;color:var(--muted);font-size:.61rem}.lf-chapter-layers strong{color:#d8c8ff}
.lf-chapter-card__badges{display:block;margin-top:5px;color:#9da5b8;font-size:.54rem;font-weight:800}
.lf-chapter-card[data-status="approved"]{border-color:rgba(74,222,128,.24)}.lf-chapter-card[data-status="planned"]{border-color:rgba(168,85,247,.20)}
.lf-chapter-manuscript{margin-top:14px;padding-top:13px;border-top:1px solid rgba(148,163,184,.12)}
.lf-chapter-manuscript__head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.lf-chapter-manuscript__head strong{font-size:.78rem}.lf-chapter-manuscript__head span{font-size:.55rem;color:#b99af8;font-weight:800}
.lf-chapter-text{border:1px solid rgba(148,163,184,.12);border-radius:12px;background:rgba(7,12,24,.45);margin-bottom:10px;overflow:hidden}.lf-chapter-text>summary{display:block;padding:10px 12px;color:#c7b1ff;font-size:.65rem;font-weight:800;cursor:pointer}.lf-chapter-text__content{padding:4px 13px 14px}.lf-chapter-text__content p{margin:0 0 12px;color:#e3e5ec;font-size:.74rem;line-height:1.62;text-align:left}.lf-chapter-text__content p:last-child{margin-bottom:0}
@media(max-width:420px){.lf-chapter-layers{gap:12px}.lf-chapter-manuscript .lf-actions{grid-template-columns:1fr}.lf-chapter-text__content p{font-size:.72rem;line-height:1.58}}

/* LoveFrame 6.4.6 — transição Planejamento → Capítulos oficiais */
#chapters-generate-official{min-height:48px;font-weight:800;box-shadow:0 10px 30px rgba(124,58,237,.15)}


/* LoveFrame 6.4.7 — ações pós-aprovação do planejamento */
#chapters-regenerate-plan{
  min-height:44px;
}


/* LoveFrame 6.4.8 — leitor editorial do texto corrido */
.lf-chapter-manuscript--compact{margin-top:16px;padding-top:16px;border-top:1px solid rgba(148,163,184,.12)}
.lf-chapter-manuscript__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.lf-chapter-manuscript__head>div{min-width:0}
.lf-chapter-manuscript__head strong{display:block;font-size:.84rem}
.lf-chapter-manuscript__head small{display:block;margin-top:3px;color:var(--muted);font-size:.6rem}
.lf-chapter-manuscript__head>span{flex:0 0 auto;padding:5px 8px;border-radius:999px;font-size:.56rem;font-weight:800;background:rgba(168,85,247,.12);color:#c4a7ff;border:1px solid rgba(168,85,247,.2)}
.lf-chapter-manuscript__head>span[data-status="approved"]{background:rgba(34,197,94,.12);color:#86efac;border-color:rgba(34,197,94,.25)}
.lf-chapter-manuscript__hint{text-align:center;margin:4px 0 12px}
.lf-chapter-open-text{min-height:48px;font-size:.78rem}
.lf-chapter-manuscript__actions{margin-top:10px}

.lf-chapter-reader{position:fixed;inset:0;z-index:4000;background:linear-gradient(180deg,#090d16 0%,#0c1020 100%);overflow-y:auto;padding:env(safe-area-inset-top) 16px calc(96px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}
.lf-chapter-reader__top{position:sticky;top:0;z-index:2;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center;margin:0 -16px;padding:14px 16px 12px;background:rgba(9,13,22,.96);backdrop-filter:blur(18px);border-bottom:1px solid rgba(148,163,184,.12)}
.lf-chapter-reader__back{width:42px;height:42px;border-radius:13px;border:1px solid rgba(168,85,247,.22);background:rgba(88,28,135,.22);color:#fff;font-size:1.5rem}
.lf-chapter-reader__title{min-width:0}.lf-chapter-reader__title small{display:block;color:#b99af8;font-size:.55rem;font-weight:900;letter-spacing:.1em}
.lf-chapter-reader__title strong{display:block;margin-top:3px;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lf-chapter-reader__status{padding:5px 7px;border-radius:999px;font-size:.52rem;font-weight:800;color:#c4a7ff;background:rgba(168,85,247,.12);border:1px solid rgba(168,85,247,.18)}
.lf-chapter-reader__status[data-status="approved"]{color:#86efac;background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.22)}
.lf-chapter-reader__meta{display:flex;flex-wrap:wrap;gap:8px;margin:18px 2px 14px}
.lf-chapter-reader__meta span{padding:6px 9px;border-radius:999px;background:rgba(148,163,184,.08);border:1px solid rgba(148,163,184,.12);color:var(--muted);font-size:.56rem}
.lf-chapter-reader__paper{max-width:680px;margin:0 auto;padding:22px 18px 28px;border-radius:18px;background:linear-gradient(180deg,rgba(17,24,39,.96),rgba(12,18,31,.98));border:1px solid rgba(148,163,184,.14);box-shadow:0 18px 50px rgba(0,0,0,.24)}
.lf-chapter-reader__paper p{margin:0 0 1.15em;color:#f2f0f6;font-size:.94rem;line-height:1.78;letter-spacing:.006em}
.lf-chapter-reader__paper p:last-child{margin-bottom:0}
.lf-chapter-reader__actions{position:sticky;bottom:0;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px -16px -96px;padding:12px 16px calc(14px + env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(9,13,22,.1),rgba(9,13,22,.98) 22%);backdrop-filter:blur(18px)}
.lf-chapter-reader__actions .lf-btn:last-child:nth-child(3){grid-column:1/-1}
@media(min-width:600px){.lf-chapter-reader{padding-left:24px;padding-right:24px}.lf-chapter-reader__paper{padding:34px 38px}.lf-chapter-reader__paper p{font-size:1rem;line-height:1.82}}


/* LoveFrame 6.4.9 — acessos diretos Planejamento / Texto */
.lf-chapter-card--buttons summary{
  cursor:default;
  grid-template-columns:38px minmax(0,1fr) 28px;
}
.lf-chapter-card--buttons .lf-chapter-card__state{
  font-size:1.3rem;font-weight:900;
}
.lf-chapter-card__quick-actions{
  grid-column:2/-1;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:10px;
}
.lf-chapter-quick-btn{
  min-width:0;
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border-radius:11px;
  border:1px solid rgba(168,85,247,.23);
  background:rgba(20,25,42,.54);
  color:#d8d2e7;
  font:inherit;
  font-size:.66rem;
  font-weight:750;
  padding:8px 10px;
  -webkit-tap-highlight-color:transparent;
}
.lf-chapter-quick-btn svg{
  width:16px;height:16px;flex:0 0 16px;
  fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
  color:#d8ccff;
}
.lf-chapter-quick-btn i{
  font-style:normal;color:#4ade80;font-size:.65rem;margin-left:1px
}
.lf-chapter-quick-btn i.is-review{color:#fbbf24}
.lf-chapter-quick-btn:active{transform:scale(.985);background:rgba(124,58,237,.16)}
.lf-chapter-quick-btn:disabled{opacity:.42}
.lf-chapter-card--buttons[open] .lf-chapter-quick-btn[data-chapter-plan-toggle]{
  border-color:rgba(168,85,247,.45);
  background:rgba(124,58,237,.12);
}
@media(max-width:380px){
  .lf-chapter-card__quick-actions{grid-column:1/-1;margin-left:46px}
  .lf-chapter-quick-btn{font-size:.62rem;padding:8px 7px;gap:5px}
}


/* LoveFrame 6.4.10 — botões pertencem ao card e check circular */
.lf-chapter-card--buttons{
  position:relative;
}
.lf-chapter-card--buttons summary{
  position:static!important;
  top:auto!important;
  bottom:auto!important;
  z-index:auto!important;
  padding-bottom:8px;
}
.lf-chapter-card--buttons .lf-chapter-card__quick-actions{
  position:static!important;
  inset:auto!important;
  z-index:auto!important;
  grid-column:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin:0 12px 13px 60px;
  padding:0;
  transform:none!important;
}
.lf-chapter-card--buttons[open] .lf-chapter-card__quick-actions{
  position:static!important;
}
.lf-chapter-complete-check{
  width:24px;
  height:24px;
  border-radius:50%;
  display:grid;
  place-items:center;
  border:2px solid #4ade80;
  color:#4ade80;
  background:rgba(34,197,94,.08);
  font-size:.72rem;
  font-weight:900;
  line-height:1;
}
.lf-chapter-review-dot{
  width:24px;
  height:24px;
  border-radius:50%;
  display:grid;
  place-items:center;
  border:2px solid #fbbf24;
  color:#fbbf24;
  background:rgba(251,191,36,.08);
  font-size:.68rem;
  font-weight:900;
}
.lf-chapter-card--buttons .lf-chapter-card__state{
  align-self:center;
  display:grid;
  place-items:center;
  font-size:inherit;
}
@media(max-width:380px){
  .lf-chapter-card--buttons .lf-chapter-card__quick-actions{
    margin-left:56px;
    margin-right:10px;
  }
}


/* LoveFrame 6.4.11 — restaura Planejamento/Texto sempre visíveis no card */
.lf-chapter-card--buttons summary{
  position:static!important;
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) 28px!important;
  gap:10px!important;
  padding:13px 12px 12px!important;
}
.lf-chapter-card--buttons summary .lf-chapter-card__quick-actions{
  grid-column:2/-1!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  margin:10px 0 0!important;
  padding:0!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  z-index:auto!important;
}
.lf-chapter-card--buttons[open] summary .lf-chapter-card__quick-actions{
  position:static!important;
}
@media(max-width:380px){
  .lf-chapter-card--buttons summary .lf-chapter-card__quick-actions{
    grid-column:1/-1!important;
    margin-left:46px!important;
  }
}


/* LoveFrame 6.4.12 — ações do leitor acompanham o texto */
.lf-chapter-reader__actions{
  position:static!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  top:auto!important;
  z-index:auto!important;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  max-width:680px;
  margin:14px auto 0!important;
  padding:0 0 calc(18px + env(safe-area-inset-bottom))!important;
  background:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  box-shadow:none!important;
  transform:none!important;
}
.lf-chapter-reader__actions .lf-btn{
  position:static!important;
}
.lf-chapter-reader__actions .lf-btn:last-child:nth-child(3){
  grid-column:1/-1;
}
@media(max-width:420px){
  .lf-chapter-reader__actions{
    grid-template-columns:1fr 1fr;
    margin-top:12px!important;
  }
}

/* LoveFrame 6.5.0 — Cenas */
.lf-scenes-head{display:grid;grid-template-columns:58px minmax(0,1fr) 58px;gap:14px;align-items:start;margin:20px 0 34px}
.lf-scenes-head__icon{width:58px;height:58px;border:1px solid #6630a7;border-radius:17px;background:linear-gradient(145deg,#35204d,#21152f);display:grid;place-items:center}
.lf-scenes-head__icon svg{width:29px;fill:none;stroke:#d9c9ff;stroke-width:1.8}
.lf-scenes-head h1{margin:2px 0 4px;font-size:1.55rem}.lf-scenes-head p{margin:0;color:var(--lf-muted)}
.lf-scenes-summary__actions{display:grid;gap:10px;margin-top:16px}.lf-scenes-hint,.lf-scene-message{text-align:center;margin:13px 8px 0}
.lf-scenes-section-title{margin:42px 3px 20px;color:#b89aff;font-size:.78rem;font-weight:900;letter-spacing:.16em}
.lf-scene-chapters{display:grid;gap:22px}.lf-scene-chapter{display:grid;gap:12px}
.lf-scene-chapter__head{display:grid;grid-template-columns:46px 1fr;gap:12px;align-items:center;padding:0 4px}
.lf-scene-chapter__head>span{width:44px;height:44px;border-radius:13px;background:#2a1747;border:1px solid #55308c;display:grid;place-items:center;font-weight:900;color:#cbb5ff}
.lf-scene-chapter__head small,.lf-scene-card__copy small,.lf-scene-detail-grid small{color:#b99aff;font-weight:900;letter-spacing:.07em}
.lf-scene-chapter__head h3{margin:2px 0;font-size:1.08rem}.lf-scene-chapter__head p{margin:0;color:var(--lf-muted);font-size:.82rem}
.lf-scene-list{display:grid;gap:11px}.lf-scene-card{border:1px solid #29324a;border-radius:20px;background:linear-gradient(145deg,#10182a,#101426);overflow:hidden}
.lf-scene-card[data-status="approved"]{border-color:#245443}.lf-scene-card summary{list-style:none;display:grid;grid-template-columns:48px minmax(0,1fr) 38px;gap:12px;align-items:center;padding:17px}
.lf-scene-card summary::-webkit-details-marker{display:none}.lf-scene-card__num{width:46px;height:46px;border-radius:14px;background:#29164b;border:1px solid #50308a;display:grid;place-items:center;font-weight:900;color:#cbb5ff}
.lf-scene-card__copy{min-width:0}.lf-scene-card__copy small{display:block;font-size:.68rem}.lf-scene-card__copy strong{display:block;margin:3px 0;font-size:1.02rem}.lf-scene-card__copy p{margin:0;color:var(--lf-muted);font-size:.82rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lf-scene-card__state{display:grid;place-items:center;color:#a875ff;font-size:1.4rem}.lf-scene-check{width:34px;height:34px;border:3px solid #51d98a;border-radius:50%;display:grid;place-items:center;color:#51d98a;font-weight:900}
.lf-scene-card__body{padding:0 17px 18px}.lf-scene-detail-grid{display:grid;gap:0;border-top:1px solid #222a3e}
.lf-scene-detail-grid section{padding:14px 0;border-bottom:1px solid #222a3e}.lf-scene-detail-grid p{margin:5px 0 0;line-height:1.48}.lf-scene-detail-grid ul{margin:7px 0 0;padding-left:20px;line-height:1.5}
.lf-scene-visual{background:linear-gradient(145deg,rgba(128,71,222,.08),transparent);padding-left:10px!important;padding-right:10px!important;border-radius:12px}
@media(max-width:420px){.lf-scenes-head{grid-template-columns:56px minmax(0,1fr) 56px;gap:10px}.lf-scenes-head h1{font-size:1.4rem}.lf-scene-card summary{padding:15px 13px;grid-template-columns:44px minmax(0,1fr) 34px;gap:9px}}


/* LoveFrame 6.5.1 — Cenas alinhado ao sistema visual dos módulos anteriores */
.lf-scenes-page{
  padding-bottom:118px;
}

/* Cabeçalho: mesmas proporções de Capítulos */
.lf-scenes-head{
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  margin:0 0 22px!important;
}
.lf-scenes-head__icon{
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
  border-radius:11px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#d9ccff!important;
  background:linear-gradient(180deg,rgba(124,58,237,.36),rgba(88,28,135,.32))!important;
  border:1px solid rgba(168,85,247,.28)!important;
}
.lf-scenes-head__icon svg{
  width:20px!important;
  height:20px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.lf-scenes-head>div{min-width:0!important}
.lf-scenes-head h1{
  margin:0!important;
  font-size:1.08rem!important;
  line-height:1.08!important;
}
.lf-scenes-head p{
  margin:4px 0 0!important;
  color:var(--muted)!important;
  font-size:.68rem!important;
  line-height:1.3!important;
}
.lf-scenes-head .lf-back{
  margin-left:auto!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  border-radius:12px!important;
}

/* Card principal: mesma densidade de Capítulos */
.lf-scenes-summary{
  padding:16px!important;
  margin-bottom:20px!important;
}
.lf-scenes-summary h2{
  margin:6px 0 2px!important;
  font-size:1.18rem!important;
}
.lf-scenes-summary p{
  margin:0!important;
  color:var(--muted)!important;
  font-size:.72rem!important;
}
.lf-scenes-progress{margin-top:12px!important}
.lf-scenes-summary__actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  margin-top:14px!important;
}
.lf-scenes-summary__actions>:only-child{grid-column:1/-1!important}
.lf-scenes-hint,.lf-scene-message{
  text-align:center!important;
  margin:12px 6px 0!important;
  font-size:.66rem!important;
  line-height:1.4!important;
}

/* Título de seção igual ao módulo Capítulos */
.lf-scenes-section-title{
  margin:0 2px 10px!important;
  color:#b99af8!important;
  font-size:.65rem!important;
  font-weight:800!important;
  letter-spacing:.11em!important;
}

/* Grupos por capítulo compactos */
.lf-scene-chapters{
  display:grid!important;
  gap:14px!important;
}
.lf-scene-chapter{
  display:grid!important;
  gap:9px!important;
}
.lf-scene-chapter__head{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:start!important;
  padding:0 4px!important;
}
.lf-scene-chapter__head>span{
  width:34px!important;
  height:34px!important;
  border-radius:10px!important;
  background:rgba(124,58,237,.18)!important;
  border:1px solid rgba(168,85,247,.24)!important;
  display:grid!important;
  place-items:center!important;
  font-weight:800!important;
  color:#c4a7ff!important;
  font-size:.66rem!important;
}
.lf-scene-chapter__head small{
  display:block!important;
  color:#c4a7ff!important;
  font-size:.55rem!important;
  font-weight:800!important;
  letter-spacing:.06em!important;
}
.lf-scene-chapter__head h3{
  margin:3px 0 1px!important;
  font-size:.84rem!important;
  line-height:1.18!important;
}
.lf-scene-chapter__head p{
  margin:0!important;
  color:var(--muted)!important;
  font-size:.62rem!important;
}

/* Cards de cena no mesmo idioma visual dos cards de capítulos */
.lf-scene-list{
  display:grid!important;
  gap:10px!important;
}
.lf-scene-card{
  border:1px solid rgba(148,163,184,.16)!important;
  border-radius:16px!important;
  background:linear-gradient(145deg,rgba(15,23,42,.94),rgba(16,18,34,.96))!important;
  overflow:hidden!important;
}
.lf-scene-card[data-status="approved"]{
  border-color:rgba(74,222,128,.28)!important;
}
.lf-scene-card summary{
  list-style:none!important;
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) 26px!important;
  gap:10px!important;
  align-items:start!important;
  padding:13px 12px!important;
  cursor:pointer!important;
}
.lf-scene-card__num{
  width:34px!important;
  height:34px!important;
  border-radius:10px!important;
  display:grid!important;
  place-items:center!important;
  background:rgba(124,58,237,.18)!important;
  border:1px solid rgba(168,85,247,.24)!important;
  color:#c4a7ff!important;
  font-size:.66rem!important;
  font-weight:800!important;
}
.lf-scene-card__copy small{
  display:block!important;
  color:#c4a7ff!important;
  font-size:.55rem!important;
  font-weight:800!important;
  letter-spacing:.06em!important;
}
.lf-scene-card__copy strong{
  display:block!important;
  margin:3px 0!important;
  font-size:.84rem!important;
  line-height:1.18!important;
}
.lf-scene-card__copy p{
  margin:4px 0 0!important;
  color:var(--muted)!important;
  font-size:.66rem!important;
  line-height:1.34!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.lf-scene-card__state{
  align-self:center!important;
  justify-self:end!important;
  display:grid!important;
  place-items:center!important;
  color:#a78bfa!important;
  font-size:1rem!important;
}
.lf-scene-check{
  width:24px!important;
  height:24px!important;
  border:2px solid #4ade80!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  color:#4ade80!important;
  background:rgba(34,197,94,.08)!important;
  font-size:.72rem!important;
  font-weight:900!important;
}

/* Conteúdo expandido compacto */
.lf-scene-card__body{
  padding:0 12px 14px 60px!important;
}
.lf-scene-detail-grid{
  display:grid!important;
  gap:0!important;
  border-top:1px solid rgba(148,163,184,.10)!important;
}
.lf-scene-detail-grid section{
  padding:9px 0!important;
  border-bottom:1px solid rgba(148,163,184,.10)!important;
}
.lf-scene-detail-grid small{
  display:block!important;
  color:#b99af8!important;
  font-size:.56rem!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  letter-spacing:.07em!important;
  margin-bottom:4px!important;
}
.lf-scene-detail-grid p,.lf-scene-detail-grid li{
  color:#d7d9e2!important;
  font-size:.7rem!important;
  line-height:1.42!important;
}
.lf-scene-detail-grid p{margin:0!important}
.lf-scene-detail-grid ul{margin:0!important;padding-left:18px!important}
.lf-scene-visual{
  background:transparent!important;
  padding-left:0!important;
  padding-right:0!important;
  border-radius:0!important;
}

/* espaço real para barra inferior */
.lf-scene-chapters{
  padding-bottom:28px!important;
}

@media(max-width:420px){
  .lf-scenes-summary__actions{grid-template-columns:1fr!important}
  .lf-scenes-head{gap:8px!important}
  .lf-scenes-head__icon{width:36px!important;height:36px!important;flex-basis:36px!important}
  .lf-scenes-head .lf-back{width:40px!important;height:40px!important;min-width:40px!important}
  .lf-scene-card__body{padding-left:58px!important}
}

/* LoveFrame 6.5.3 — capítulos recolhíveis em Cenas */
.lf-scene-chapter{border:1px solid rgba(148,163,184,.14);border-radius:16px;background:linear-gradient(145deg,rgba(13,19,34,.86),rgba(14,17,31,.9));overflow:hidden}
.lf-scene-chapter>summary{list-style:none}
.lf-scene-chapter>summary::-webkit-details-marker{display:none}
.lf-scene-chapter .lf-scene-chapter__head{display:grid!important;grid-template-columns:38px minmax(0,1fr) 28px!important;gap:10px!important;align-items:start!important;padding:13px 12px!important;cursor:pointer!important}
.lf-scene-chapter__toggle{width:28px;height:34px;display:grid;place-items:center;color:#b99af8;font-size:1rem;transition:transform .18s ease}
.lf-scene-chapter[open] .lf-scene-chapter__toggle{transform:rotate(180deg)}
.lf-scene-chapter>.lf-scene-list,.lf-scene-chapter>.lf-empty{margin:0 10px 10px!important}
.lf-scene-chapter>.lf-empty{padding:12px!important;font-size:.68rem!important;line-height:1.4!important;text-align:center!important}


/* LoveFrame 6.5.4 — status de aprovação visível nas Cenas */
.lf-scene-chapter .lf-scene-chapter__head{
  grid-template-columns:38px minmax(0,1fr) auto!important;
}
.lf-scene-chapter__status{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:34px!important;
}
.lf-scene-chapter__check{
  width:24px!important;
  height:24px!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  border:2px solid #4ade80!important;
  color:#4ade80!important;
  background:rgba(34,197,94,.08)!important;
  font-size:.72rem!important;
  font-weight:900!important;
}
.lf-scene-chapter__partial{
  min-width:34px!important;
  height:24px!important;
  padding:0 7px!important;
  border-radius:999px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(74,222,128,.34)!important;
  color:#86efac!important;
  background:rgba(34,197,94,.10)!important;
  font-size:.56rem!important;
  font-weight:850!important;
}
.lf-scene-approved-wrap{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
}
.lf-scene-approved-wrap>small{
  color:#86efac!important;
  font-size:.54rem!important;
  font-weight:800!important;
}
.lf-scene-card[data-status="approved"]{
  border-color:rgba(74,222,128,.34)!important;
  box-shadow:inset 0 0 0 1px rgba(74,222,128,.04)!important;
}

/* LoveFrame 6.5.5 — foco exclusivo do capítulo em Cenas */
.lf-scene-chapter--focus-hidden{display:none!important}
.lf-scene-chapter--focused{animation:lfSceneChapterFocusIn .18s ease-out}
@keyframes lfSceneChapterFocusIn{from{opacity:.78;transform:translateY(3px)}to{opacity:1;transform:none}}


/* LoveFrame 6.5.6 — check limpo e sem seta nos capítulos de Cenas */
.lf-scene-chapter__status{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  min-width:auto!important;
}
.lf-scene-chapter__check{
  background:transparent!important;
  box-shadow:none!important;
}
.lf-scene-chapter__toggle{
  display:none!important;
}
.lf-scene-chapter[open] .lf-scene-chapter__toggle{
  transform:none!important;
}


/* LoveFrame 6.5.7 — remove totalmente o fundo roxo do check dos capítulos */
.lf-scene-chapter .lf-scene-chapter__head > .lf-scene-chapter__status{
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  outline:0!important;
}
.lf-scene-chapter .lf-scene-chapter__head > .lf-scene-chapter__status::before,
.lf-scene-chapter .lf-scene-chapter__head > .lf-scene-chapter__status::after{
  content:none!important;
  display:none!important;
}
.lf-scene-chapter .lf-scene-chapter__check{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  padding:0!important;
  margin:0!important;
  border:2px solid #4ade80!important;
  border-radius:50%!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  outline:0!important;
  color:#4ade80!important;
  display:grid!important;
  place-items:center!important;
}


/* LoveFrame 6.6.0 — Direção Visual */
.lf-scenes-next{grid-column:1/-1!important}
.lf-vd-page{padding-bottom:118px}
.lf-vd-summary{margin-bottom:24px!important}
.lf-vd-groups{display:grid;gap:12px}
.lf-vd-chapter{border:1px solid rgba(148,163,184,.14);border-radius:16px;background:linear-gradient(145deg,rgba(13,19,34,.88),rgba(14,17,31,.92));overflow:hidden}
.lf-vd-chapter>summary{list-style:none;display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:start;padding:13px 12px;cursor:pointer}
.lf-vd-chapter>summary::-webkit-details-marker{display:none}
.lf-vd-chapter__num{width:34px;height:34px;border-radius:10px;background:rgba(124,58,237,.18);border:1px solid rgba(168,85,247,.24);display:grid;place-items:center;color:#c4a7ff;font-size:.66rem;font-weight:800}
.lf-vd-chapter summary small,.lf-vd-scene__top small,.lf-vd-grid small{display:block;color:#b99af8;font-size:.55rem;font-weight:850;letter-spacing:.07em}
.lf-vd-chapter summary strong{display:block;margin:3px 0;font-size:.84rem}
.lf-vd-chapter summary p{margin:0;color:var(--muted);font-size:.62rem}
.lf-vd-scene-list{display:grid;gap:10px;padding:0 10px 10px}
.lf-vd-scene{border:1px solid rgba(148,163,184,.14);border-radius:14px;background:rgba(15,23,42,.66);padding:12px}
.lf-vd-scene.is-approved{border-color:rgba(74,222,128,.28)}
.lf-vd-scene__top{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:start}
.lf-vd-scene__top>span:first-child{width:32px;height:32px;border-radius:9px;background:rgba(124,58,237,.16);display:grid;place-items:center;color:#c4a7ff;font-size:.62rem;font-weight:800}
.lf-vd-scene__top strong{display:block;margin-top:3px;font-size:.8rem}
.lf-vd-grid{display:grid;gap:0;margin-top:11px;border-top:1px solid rgba(148,163,184,.10)}
.lf-vd-grid section{padding:9px 0;border-bottom:1px solid rgba(148,163,184,.10)}
.lf-vd-grid p{margin:4px 0 0;color:#d7d9e2;font-size:.69rem;line-height:1.42}
.lf-vd-highlight{background:rgba(124,58,237,.07);margin:0 -5px;padding:9px 5px!important;border-radius:9px}
.lf-vd-highlight b{display:inline-block;margin-top:6px;padding:4px 7px;border-radius:999px;background:rgba(168,85,247,.12);color:#c4a7ff;font-size:.55rem;text-transform:uppercase}

/* LoveFrame 6.6.2 — Direção Visual integrada às Cenas */
.lf-scene-card--dual>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px 12px;align-items:start}
.lf-scene-card--dual .lf-scene-card__quick-actions{grid-column:2/4;display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;margin-top:4px}
.lf-scene-card--dual .lf-chapter-quick-btn{min-height:44px;padding:9px 10px;font-size:13px;border-radius:14px}
.lf-scene-card--dual .lf-scene-card__state{grid-column:3;grid-row:1}
.lf-scene-vd-grid{margin-top:2px}
@media(max-width:420px){.lf-scene-card--dual>summary{grid-template-columns:auto minmax(0,1fr) auto}.lf-scene-card--dual .lf-scene-card__quick-actions{grid-column:1/4}.lf-scene-card--dual .lf-chapter-quick-btn{font-size:12px}}

/* LoveFrame 6.7.2 — aprovação de prompts no módulo Imagens */
.lf-images-summary__actions{margin-top:14px}
.lf-images-summary__actions .lf-btn{width:100%}


/* LoveFrame 6.7.3 — obra ativa destacada na Biblioteca */
.lf-library-row-card--active{
  border-color:rgba(168,85,247,.62)!important;
  box-shadow:0 0 0 1px rgba(168,85,247,.18),0 12px 28px rgba(76,29,149,.16)!important;
  background:
    linear-gradient(145deg,rgba(35,24,64,.32),rgba(14,22,38,.92))!important;
}
.lf-library-row-card--active .lf-library-row-card__head h2{
  color:#fff!important;
}
.lf-active-project-badge{
  display:inline-flex!important;
  align-items:center!important;
  margin-top:6px!important;
  padding:3px 8px!important;
  border-radius:999px!important;
  border:1px solid rgba(168,85,247,.34)!important;
  background:rgba(124,58,237,.14)!important;
  color:#c4a7ff!important;
  font-size:.54rem!important;
  font-weight:850!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}


/* LoveFrame 6.7.5 — Imagens em duas etapas: Prompts → Produção */
.lf-images-phase-kicker{
  margin:10px 0 5px;
  color:#b99af8;
  font-size:.58rem;
  font-weight:850;
  letter-spacing:.09em;
}
.lf-images-phase-track{
  display:grid;
  grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr);
  align-items:center;
  gap:6px;
  margin:15px 0 5px;
}
.lf-images-phase{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  opacity:.48;
}
.lf-images-phase>span{
  flex:0 0 28px;
  width:28px;
  height:28px;
  border-radius:50%;
  display:grid;
  place-items:center;
  border:1px solid rgba(168,85,247,.28);
  background:rgba(124,58,237,.08);
  color:#b99af8;
  font-size:.6rem;
  font-weight:900;
}
.lf-images-phase div{min-width:0}
.lf-images-phase strong{
  display:block;
  font-size:.62rem;
  line-height:1.2;
}
.lf-images-phase small{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:.52rem;
}
.lf-images-phase.is-active,.lf-images-phase.is-complete{opacity:1}
.lf-images-phase.is-complete>span{
  border-color:#4ade80;
  color:#4ade80;
  background:rgba(34,197,94,.08);
}
.lf-images-phase-line{
  height:2px;
  border-radius:999px;
  background:rgba(148,163,184,.16);
}
.lf-images-phase-line.is-complete{background:rgba(74,222,128,.65)}
.lf-image-prompt.is-approved{
  border-color:rgba(74,222,128,.22)!important;
}
.lf-image-stage-complete,
.lf-image-stage-locked{
  width:100%;
  min-height:44px;
  display:grid;
  place-items:center;
  border-radius:12px;
  font-size:.64rem;
  font-weight:800;
}
.lf-image-stage-complete{
  color:#86efac;
  border:1px solid rgba(74,222,128,.20);
  background:rgba(34,197,94,.06);
}
.lf-image-stage-locked{
  color:var(--muted);
  border:1px solid rgba(148,163,184,.12);
  background:rgba(15,23,42,.38);
}


/* LoveFrame 6.7.7 — aprovação de prompts por capítulo */
.lf-image-chapter-bulk{
  padding:4px 0 2px;
}
.lf-image-chapter-bulk .lf-btn{
  width:100%;
}

/* 6.7.8 */
.lf-image-chapter-bulk + .lf-image-chapter-bulk{margin-top:8px}


/* LoveFrame 6.7.10 — prévia textual liberada após Capítulos */
.lf-preview-mode-note{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin:0 0 14px;
  padding:12px 14px;
  border:1px solid rgba(168,85,247,.16);
  border-radius:14px;
  background:rgba(124,58,237,.06);
}
.lf-preview-mode-note strong{color:#c4a7ff;font-size:.68rem}
.lf-preview-mode-note span{color:var(--muted);font-size:.62rem;line-height:1.4}


/* LoveFrame 6.7.11 — Prévia paginada do livro */
.lf-preview-reader{
  padding-bottom:118px!important;
}
.lf-preview-reader__head{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) 38px;
  gap:10px;
  align-items:start;
  margin-bottom:12px;
}
.lf-preview-reader__head h1{
  margin:2px 0 3px;
  font-size:1rem;
}
.lf-preview-reader__head p{
  margin:0;
  color:var(--muted);
  font-size:.62rem;
}
.lf-preview-reader__index-btn{
  width:34px;
  height:34px;
  border-radius:50%;
  border:1px solid rgba(148,163,184,.16);
  background:rgba(15,23,42,.7);
  color:#d7d9e2;
}
.lf-preview-reader__status{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  margin-bottom:12px;
}
.lf-preview-reader__status>div{
  height:4px;
  border-radius:999px;
  background:rgba(148,163,184,.14);
  overflow:hidden;
}
.lf-preview-reader__status>div>span{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#7c3aed,#a855f7);
}
.lf-preview-reader__status small{
  color:var(--muted);
  font-size:.56rem;
}
.lf-book-viewport{
  display:flex;
  justify-content:center;
  width:100%;
  overflow:hidden;
}
.lf-book-page-wrap{
  width:100%;
  max-width:430px;
}
.lf-book-page{
  position:relative;
  width:100%;
  aspect-ratio:0.705/1;
  min-height:590px;
  border-radius:10px;
  background:#f6f1e7;
  color:#1f2937;
  box-shadow:0 20px 50px rgba(0,0,0,.32);
  overflow:hidden;
}
.lf-book-page--cover{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:42px 34px;
  text-align:center;
  background:
    radial-gradient(circle at 50% 20%,rgba(124,58,237,.22),transparent 38%),
    linear-gradient(160deg,#1b132e,#111827 58%,#090d18);
  color:#fff;
}
.lf-book-cover__mark{
  font-size:1.4rem;
  color:#c4a7ff;
  margin-bottom:30px;
}
.lf-book-cover__title{
  font-family:Georgia,"Times New Roman",serif;
  font-size:2rem;
  line-height:1.05;
  font-weight:700;
}
.lf-book-cover__subtitle{
  margin-top:14px;
  max-width:80%;
  color:#d6c8f7;
  font-size:.72rem;
  line-height:1.45;
}
.lf-book-cover__author{
  position:absolute;
  bottom:38px;
  font-size:.68rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.lf-book-page--title{
  display:grid;
  place-items:center;
  padding:54px 38px;
  text-align:center;
}
.lf-book-title-page__inner small{
  display:block;
  margin-bottom:24px;
  color:#7c3aed;
  font-size:.58rem;
  letter-spacing:.12em;
}
.lf-book-title-page__inner h1{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.65rem;
  line-height:1.15;
}
.lf-book-title-page__inner p{
  margin:22px auto 0;
  max-width:92%;
  font-family:Georgia,"Times New Roman",serif;
  font-size:.78rem;
  line-height:1.65;
  color:#4b5563;
}
.lf-book-page--chapter-opener{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:58px 38px;
  text-align:left;
}
.lf-book-chapter-opener__inner small{
  color:#7c3aed;
  font-size:.58rem;
  letter-spacing:.13em;
  font-weight:800;
}
.lf-book-chapter-opener__inner h1{
  margin:14px 0 0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.62rem;
  line-height:1.15;
}
.lf-book-chapter-opener__inner p{
  margin:14px 0 0;
  color:#6b7280;
  font-size:.68rem;
}
.lf-book-page--text{
  display:flex;
  flex-direction:column;
  padding:30px 28px 24px;
}
.lf-book-page--text header{
  display:flex;
  justify-content:space-between;
  gap:8px;
  padding-bottom:9px;
  border-bottom:1px solid rgba(31,41,55,.12);
  color:#6b7280;
}
.lf-book-page--text header small{
  font-size:.48rem;
  letter-spacing:.08em;
}
.lf-book-page--text header span{
  max-width:68%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-family:Georgia,"Times New Roman",serif;
  font-size:.52rem;
}
.lf-book-page__text{
  flex:1;
  padding-top:20px;
  overflow:hidden;
}
.lf-book-page__text p{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:.71rem;
  line-height:1.68;
  text-align:justify;
  text-indent:1.4em;
}
.lf-book-page__text p+p{
  margin-top:.8em;
}
.lf-book-page footer{
  margin-top:auto;
  padding-top:12px;
  text-align:center;
  color:#9ca3af;
  font-size:.48rem;
}
.lf-preview-reader__nav{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:14px;
}
.lf-preview-reader__nav .lf-btn{
  min-width:0;
  padding-left:10px;
  padding-right:10px;
}
.lf-preview-reader__hint{
  margin:12px 4px 0;
  text-align:center;
  color:var(--muted);
  font-size:.56rem;
  line-height:1.45;
}
@media (max-width:380px){
  .lf-book-page{
    min-height:540px;
  }
  .lf-book-page--text{
    padding:26px 23px 20px;
  }
  .lf-book-page__text p{
    font-size:.67rem;
  }
}


/* LoveFrame 6.7.12 — Prévia no card principal da Home */
.lf-home-featured__actions{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:8px;
  width:100%;
  margin-top:2px;
}
.lf-home-featured__actions .lf-btn{
  min-width:0;
  width:100%;
  min-height:48px;
  padding:10px 9px;
  font-size:.62rem;
  line-height:1.15;
}
.lf-home-featured__preview{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}
.lf-home-featured__preview span:first-child{
  font-size:.8rem;
}
@media (max-width:370px){
  .lf-home-featured__actions{
    gap:6px;
  }
  .lf-home-featured__actions .lf-btn{
    padding:9px 6px;
    font-size:.57rem;
  }
}


/* LoveFrame 6.7.13 — Home: progresso e ações em linhas independentes */
.lf-home-featured__copy{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto auto auto auto!important;
  column-gap:0!important;
  row-gap:0!important;
  height:auto!important;
  min-height:134px!important;
  align-content:start!important;
}
.lf-home-featured__copy .lf-kicker{grid-column:1!important;grid-row:1!important;}
.lf-home-featured__copy h2{grid-column:1!important;grid-row:2!important;}
.lf-home-featured__synopsis{grid-column:1!important;grid-row:3!important;}
.lf-home-featured__progress-block{
  grid-column:1!important;
  grid-row:4!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  row-gap:5px!important;
}
.lf-home-featured__progress-block .lf-progress{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.lf-home-featured__actions{
  grid-column:1!important;
  grid-row:5!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  margin:10px 0 0!important;
}
.lf-home-featured__actions .lf-btn{
  grid-column:auto!important;
  grid-row:auto!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
  padding:0 8px!important;
  align-self:stretch!important;
  justify-self:stretch!important;
  white-space:normal!important;
  line-height:1.1!important;
}
.lf-home-featured__actions .lf-btn::before{content:none!important;display:none!important;}
.lf-home-featured__preview{gap:5px!important;}
@media(max-width:380px){
  .lf-home-featured__copy{height:auto!important;min-height:122px!important;}
  .lf-home-featured__actions{gap:6px!important;margin-top:8px!important;}
  .lf-home-featured__actions .lf-btn{
    height:38px!important;
    min-height:38px!important;
    padding:0 6px!important;
    font-size:.60rem!important;
  }
}


/* LoveFrame 6.7.14 — Home: ações compactas no padrão Ideia/Proposta */
.lf-home-featured__actions{
  gap:6px!important;
  margin-top:7px!important;
}
.lf-home-featured__actions .lf-btn,
.lf-home-featured__actions .lf-btn-primary,
.lf-home-featured__actions .lf-btn-secondary{
  height:30px!important;
  min-height:30px!important;
  padding:0 8px!important;
  border-radius:8px!important;
  border:1px solid rgba(139,92,246,.58)!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#ddd4ff!important;
  font-size:.61rem!important;
  line-height:1!important;
  font-weight:750!important;
  white-space:nowrap!important;
}
.lf-home-featured__actions .lf-btn:hover,
.lf-home-featured__actions .lf-btn:focus-visible{
  background:rgba(124,58,237,.08)!important;
}
.lf-home-featured__continue-icon,
.lf-home-featured__continue-icon svg{
  width:15px!important;
  height:15px!important;
  min-width:15px!important;
}
.lf-home-featured__preview span:first-child{font-size:.72rem!important;}
@media(max-width:380px){
  .lf-home-featured__actions .lf-btn,
  .lf-home-featured__actions .lf-btn-primary,
  .lf-home-featured__actions .lf-btn-secondary{
    height:30px!important;
    min-height:30px!important;
    padding:0 6px!important;
    font-size:.59rem!important;
  }
}


/* LoveFrame 6.7.19 — correção do Processo Editorial compacto */
.lf-editorial-phase-nav{
 display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:3px!important;width:100%!important;
 padding:12px 6px 10px!important;margin:0 0 18px!important;overflow:hidden!important;
 border:1px solid rgba(142,102,255,.22)!important;border-radius:18px!important;background:rgba(10,16,31,.74)!important;
}
.lf-editorial-phase-nav__item{
 appearance:none!important;-webkit-appearance:none!important;position:relative!important;min-width:0!important;width:100%!important;
 border:0!important;background:transparent!important;box-shadow:none!important;color:var(--lf-text-muted,#9298ab)!important;
 padding:2px 0 8px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;cursor:pointer!important;
}
.lf-editorial-phase-nav__icon{
 position:relative!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;
 border:1px solid rgba(137,145,169,.5)!important;border-radius:50%!important;display:grid!important;place-items:center!important;
 background:rgba(14,20,36,.7)!important;transition:.18s ease!important;overflow:visible!important;
}
.lf-editorial-phase-nav__icon svg{width:19px!important;height:19px!important;max-width:19px!important;max-height:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.75!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.lf-editorial-phase-nav__label{
 width:100%!important;font-size:clamp(6.7px,1.85vw,9px)!important;line-height:1.05!important;font-weight:700!important;text-align:center!important;
 white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;color:inherit!important;
}
.lf-editorial-phase-nav__check{
 position:absolute!important;right:-4px!important;top:-5px!important;width:16px!important;height:16px!important;border-radius:50%!important;display:grid!important;place-items:center!important;
 font-size:10px!important;line-height:1!important;font-style:normal!important;font-weight:900!important;color:#06130e!important;background:#66e8a6!important;border:2px solid #0c1627!important;
}
.lf-editorial-phase-nav__item[data-status="canonical"]{color:#62dda0!important}
.lf-editorial-phase-nav__item[data-current="true"]{color:#b78cff!important}
.lf-editorial-phase-nav__item[data-current="true"] .lf-editorial-phase-nav__icon{
 color:#fff!important;border-color:#9f63ff!important;background:linear-gradient(145deg,#5f29ad,#8b4ef0)!important;box-shadow:0 0 0 3px rgba(155,92,255,.18),0 7px 18px rgba(82,40,155,.28)!important;
}
.lf-editorial-phase-nav__active{position:absolute!important;left:18%!important;right:18%!important;bottom:0!important;height:3px!important;border-radius:999px!important;background:transparent!important}
.lf-editorial-phase-nav__item[data-current="true"] .lf-editorial-phase-nav__active{background:#a45cff!important}
.lf-editorial-phase-nav__item[data-status="locked"]{opacity:.55!important}
@media (max-width:420px){
 .lf-editorial-phase-nav{gap:2px!important;padding-left:4px!important;padding-right:4px!important;border-radius:16px!important}
 .lf-editorial-phase-nav__icon{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important}
 .lf-editorial-phase-nav__icon svg{width:17px!important;height:17px!important;max-width:17px!important;max-height:17px!important}
 .lf-editorial-phase-nav__label{font-size:7.2px!important;letter-spacing:-.025em!important}
}
@media (max-width:360px){
 .lf-editorial-phase-nav__icon{width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important}
 .lf-editorial-phase-nav__label{font-size:6.5px!important}
}


/* LoveFrame 6.7.21 — refinamento dos CTAs premium */
.lf-btn-primary{
  background:linear-gradient(180deg,rgba(22,18,35,.96),rgba(13,18,31,.98))!important;
  border:1px solid rgba(164,92,255,.72)!important;
  color:#f7f3ff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 20px rgba(0,0,0,.18)!important;
  border-radius:14px!important;
  min-height:48px!important;
  transition:border-color .18s ease,box-shadow .18s ease,transform .16s ease,background .18s ease!important;
}
.lf-btn-primary:hover,.lf-btn-primary:focus-visible{
  border-color:#a96cff!important;
  box-shadow:0 0 0 2px rgba(157,92,255,.12),0 0 22px rgba(139,76,232,.16),inset 0 1px 0 rgba(255,255,255,.05)!important;
}
.lf-btn-primary:active{transform:translateY(1px) scale(.99)!important;background:rgba(40,25,62,.98)!important}
.lf-btn-secondary{
  background:rgba(13,18,31,.82)!important;border:1px solid rgba(167,177,202,.24)!important;color:#f3f4f8!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;border-radius:14px!important;
}
.lf-btn-ghost{background:transparent!important;border:1px solid rgba(150,160,187,.18)!important;color:#eef0f7!important;border-radius:14px!important}
.lf-next-stage-cta{
  position:relative!important;justify-content:flex-start!important;min-height:56px!important;padding:9px 64px 9px 58px!important;
  text-align:left!important;line-height:1.1!important;white-space:nowrap!important;font-size:15px!important;
}
.lf-next-stage-cta::after{
  content:"›";position:absolute;right:15px;top:50%;transform:translateY(-50%);font-size:24px;line-height:1;font-weight:300;color:#f3eefc;
}
.lf-next-stage-cta .lf-continue-pencil-icon{
  position:absolute!important;left:10px!important;top:50%!important;transform:translateY(-50%)!important;
  width:38px!important;height:38px!important;min-width:38px!important;display:grid!important;place-items:center!important;border-radius:11px!important;
  background:linear-gradient(145deg,rgba(92,43,154,.78),rgba(46,26,80,.92))!important;border:1px solid rgba(164,92,255,.28)!important;color:#f1e7ff!important;
}
.lf-next-stage-cta .lf-continue-pencil-icon svg{width:18px!important;height:18px!important}
.lf-next-stage-complete-check{
  position:absolute!important;right:38px!important;top:50%!important;transform:translateY(-50%)!important;
  width:17px!important;height:17px!important;display:grid!important;place-items:center!important;border-radius:50%!important;
  border:1px solid rgba(94,225,157,.5)!important;background:rgba(15,55,39,.46)!important;color:#70e5a8!important;
  font-size:10px!important;line-height:1!important;font-weight:900!important;box-shadow:0 0 10px rgba(70,205,137,.08)!important;
}
/* confirmation actions use semantic green instead of purple fill */
#scenes-approve-all,#vd-approve-all,#image-prompts-approve-all,
[data-scene-approve],[data-vd-approve],[data-image-prompt-approve],[data-image-approve],
[data-char-action="approve"],[data-char-action="approve-all"]{
  border-color:rgba(72,201,138,.48)!important;background:rgba(14,42,31,.72)!important;color:#8de5b8!important;box-shadow:none!important;
}
@media (max-width:420px){
  .lf-next-stage-cta{min-height:54px!important;padding-left:54px!important;padding-right:58px!important;font-size:13px!important}
  .lf-next-stage-cta .lf-continue-pencil-icon{left:9px!important;width:36px!important;height:36px!important}
  .lf-next-stage-complete-check{right:33px!important;width:16px!important;height:16px!important;font-size:9px!important}
  .lf-next-stage-cta::after{right:11px!important;font-size:22px!important}
}


/* LoveFrame 6.7.22 — CTAs editoriais: Repetir compacto + avanço prioritário */
.lf-next-stage-cta{
  min-width:0!important;
  padding-left:58px!important;
  padding-right:62px!important;
}
.lf-next-stage-cta .lf-next-stage-complete-check{right:37px!important;}
/* quando Repetir e Ir para... dividem a linha, prioriza o CTA editorial */
.lf-bible-actions,.lf-directions-actions,.lf-structure-actions{grid-template-columns:minmax(104px,.7fr) minmax(0,1.3fr)!important;}
@media(max-width:420px){
  .lf-next-stage-cta{padding-left:52px!important;padding-right:55px!important;font-size:12.5px!important;}
  .lf-next-stage-cta .lf-next-stage-complete-check{right:31px!important;}
}
/* LoveFrame 6.7.22 — proporção dos pares Repetir / Ir para... */
.lf-bible-overview__actions,
.lf-directions-overview__actions{
  grid-template-columns:minmax(96px,35fr) minmax(0,65fr)!important;
}
.lf-bible-overview__actions #bible-generate,
.lf-directions-overview__actions #directions-generate{
  padding-inline:10px!important;white-space:nowrap!important;
}
@media(max-width:420px){
  .lf-bible-overview__actions,
  .lf-directions-overview__actions{grid-template-columns:minmax(92px,34fr) minmax(0,66fr)!important;gap:8px!important;}
  .lf-bible-overview__actions .lf-next-stage-cta,
  .lf-directions-overview__actions .lf-next-stage-cta{font-size:12px!important;}
}


/* LoveFrame 6.7.23 — Repetir no mesmo sistema visual premium */
.lf-repeat-cta{
  position:relative!important;min-height:54px!important;padding:8px 12px 8px 48px!important;
  justify-content:center!important;text-align:center!important;white-space:nowrap!important;
  background:rgba(13,18,31,.82)!important;border:1px solid rgba(145,82,220,.52)!important;
  color:#f3eefc!important;border-radius:14px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.lf-repeat-cta::before{
  content:"↻";position:absolute;left:8px;top:50%;transform:translateY(-50%);
  width:34px;height:34px;display:grid;place-items:center;border-radius:10px;
  background:linear-gradient(145deg,rgba(92,43,154,.68),rgba(46,26,80,.88));
  border:1px solid rgba(164,92,255,.25);color:#f1e7ff;font-size:17px;font-weight:700;
}
.lf-repeat-cta:hover,.lf-repeat-cta:focus-visible{border-color:#a96cff!important;box-shadow:0 0 0 2px rgba(157,92,255,.08),inset 0 1px 0 rgba(255,255,255,.04)!important;}
@media(max-width:420px){.lf-repeat-cta{min-height:54px!important;padding-left:46px!important;padding-right:8px!important;font-size:13px!important}.lf-repeat-cta::before{left:7px;width:32px;height:32px}}

/* LoveFrame 6.7.24 — normaliza altura dos CTAs "Ir para..." em Bíblia e Direções */
.lf-bible-overview__actions .lf-next-stage-cta,
.lf-directions-overview__actions .lf-next-stage-cta{
  height:auto!important;
  min-height:56px!important;
  border-radius:14px!important;
  padding-top:8px!important;
  padding-bottom:8px!important;
}
@media(max-width:420px){
  .lf-bible-overview__actions .lf-next-stage-cta,
  .lf-directions-overview__actions .lf-next-stage-cta{
    height:auto!important;
    min-height:54px!important;
  }
}

/* LoveFrame 6.7.25 — CTAs Ir para... compactos e alinhados ao Repetir */
.lf-next-stage-cta{
  height:54px!important;
  min-height:54px!important;
  padding-top:7px!important;
  padding-bottom:7px!important;
  padding-left:52px!important;
  padding-right:58px!important;
}
.lf-next-stage-cta .lf-continue-pencil-icon{
  left:8px!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  border-radius:10px!important;
}
.lf-next-stage-cta .lf-continue-pencil-icon svg{
  width:16px!important;
  height:16px!important;
}
.lf-bible-overview__actions .lf-next-stage-cta,
.lf-directions-overview__actions .lf-next-stage-cta{
  height:54px!important;
  min-height:54px!important;
  padding-top:7px!important;
  padding-bottom:7px!important;
}
@media(max-width:420px){
  .lf-next-stage-cta,
  .lf-bible-overview__actions .lf-next-stage-cta,
  .lf-directions-overview__actions .lf-next-stage-cta{
    height:54px!important;
    min-height:54px!important;
    padding-left:49px!important;
    padding-right:54px!important;
  }
  .lf-next-stage-cta .lf-continue-pencil-icon{
    left:7px!important;
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    min-height:32px!important;
  }
  .lf-next-stage-cta .lf-continue-pencil-icon svg{width:15px!important;height:15px!important;}
}

/* LoveFrame 6.7.26 — Bíblia e Direções: CTA Ir para... na mesma altura do Repetir */
.lf-bible-overview__actions .lf-next-stage-cta,
.lf-directions-overview__actions .lf-next-stage-cta{
  height:38px!important;
  min-height:38px!important;
  padding:0 46px 0 39px!important;
  border-radius:10px!important;
  font-size:.66rem!important;
  line-height:1!important;
}
.lf-bible-overview__actions .lf-next-stage-cta .lf-continue-pencil-icon,
.lf-directions-overview__actions .lf-next-stage-cta .lf-continue-pencil-icon{
  left:5px!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  border-radius:8px!important;
}
.lf-bible-overview__actions .lf-next-stage-cta .lf-continue-pencil-icon svg,
.lf-directions-overview__actions .lf-next-stage-cta .lf-continue-pencil-icon svg{
  width:14px!important;
  height:14px!important;
}
.lf-bible-overview__actions .lf-next-stage-cta .lf-next-stage-complete-check,
.lf-directions-overview__actions .lf-next-stage-cta .lf-next-stage-complete-check{
  right:26px!important;
  width:15px!important;
  height:15px!important;
  font-size:9px!important;
}
.lf-bible-overview__actions .lf-next-stage-cta::after,
.lf-directions-overview__actions .lf-next-stage-cta::after{
  right:8px!important;
  font-size:20px!important;
}
@media(max-width:420px){
  .lf-bible-overview__actions .lf-next-stage-cta,
  .lf-directions-overview__actions .lf-next-stage-cta{
    height:36px!important;
    min-height:36px!important;
    padding:0 42px 0 37px!important;
    font-size:.61rem!important;
  }
  .lf-bible-overview__actions .lf-next-stage-cta .lf-continue-pencil-icon,
  .lf-directions-overview__actions .lf-next-stage-cta .lf-continue-pencil-icon{
    left:4px!important;
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    min-height:26px!important;
  }
  .lf-bible-overview__actions .lf-next-stage-cta .lf-continue-pencil-icon svg,
  .lf-directions-overview__actions .lf-next-stage-cta .lf-continue-pencil-icon svg{width:13px!important;height:13px!important;}
  .lf-bible-overview__actions .lf-next-stage-cta .lf-next-stage-complete-check,
  .lf-directions-overview__actions .lf-next-stage-cta .lf-next-stage-complete-check{right:24px!important;width:14px!important;height:14px!important;font-size:8px!important;}
  .lf-bible-overview__actions .lf-next-stage-cta::after,
  .lf-directions-overview__actions .lf-next-stage-cta::after{right:7px!important;font-size:19px!important;}
}

/* LoveFrame 6.7.27 — replica o CTA compacto de Bíblia/Direções nas demais etapas */
.lf-next-stage-cta{
  height:38px!important;
  min-height:38px!important;
  padding:0 46px 0 39px!important;
  border-radius:10px!important;
  font-size:.66rem!important;
  line-height:1!important;
}
.lf-next-stage-cta .lf-continue-pencil-icon{
  left:5px!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  border-radius:8px!important;
}
.lf-next-stage-cta .lf-continue-pencil-icon svg{
  width:14px!important;
  height:14px!important;
}
.lf-next-stage-cta .lf-next-stage-complete-check{
  right:26px!important;
  width:15px!important;
  height:15px!important;
  font-size:9px!important;
}
.lf-next-stage-cta::after{
  right:8px!important;
  font-size:20px!important;
}
@media(max-width:420px){
  .lf-next-stage-cta{
    height:36px!important;
    min-height:36px!important;
    padding:0 42px 0 37px!important;
    font-size:.61rem!important;
  }
  .lf-next-stage-cta .lf-continue-pencil-icon{
    left:4px!important;
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    min-height:26px!important;
  }
  .lf-next-stage-cta .lf-continue-pencil-icon svg{
    width:13px!important;
    height:13px!important;
  }
  .lf-next-stage-cta .lf-next-stage-complete-check{
    right:24px!important;
    width:14px!important;
    height:14px!important;
    font-size:8px!important;
  }
  .lf-next-stage-cta::after{
    right:7px!important;
    font-size:19px!important;
  }
}

/* LoveFrame 6.7.45 — Capítulos: ações compactas com altura editorial padronizada */
.lf-chapters-summary__actions #chapters-generate,
.lf-chapters-summary__actions #chapters-approve-all{
  width:100%!important;
  height:54px!important;
  min-height:54px!important;
  max-height:54px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  border-radius:14px!important;
  line-height:1.1!important;
  align-items:center!important;
  justify-content:center!important;
}
.lf-chapters-summary__actions #chapters-generate{
  padding-left:48px!important;
  padding-right:12px!important;
}
.lf-chapters-summary__actions #chapters-generate::before{
  width:34px!important;
  height:34px!important;
  left:8px!important;
  border-radius:10px!important;
}
@media(max-width:420px){
  .lf-chapters-summary__actions{gap:10px!important;}
  .lf-chapters-summary__actions #chapters-generate,
  .lf-chapters-summary__actions #chapters-approve-all{
    height:50px!important;
    min-height:50px!important;
    max-height:50px!important;
    font-size:.78rem!important;
    border-radius:13px!important;
  }
  .lf-chapters-summary__actions #chapters-generate{padding-left:44px!important;padding-right:10px!important;}
  .lf-chapters-summary__actions #chapters-generate::before{width:32px!important;height:32px!important;left:7px!important;}
}


/* LoveFrame 6.7.48 — sistema editorial de botões (teste em Capítulos)
   N1 primário 42px | N2 secundário 38px | N3 terciário 34px.
   Roxo somente como assinatura; fundos escuros e ícones lineares. */
.lf-chapters-summary__actions{
  gap:8px!important;
}
.lf-chapters-summary__actions .lf-btn{
  border-radius:12px!important;
  box-shadow:none!important;
  font-weight:700!important;
  letter-spacing:0!important;
}
/* Nível 2 — repetir / ação auxiliar */
.lf-chapters-summary__actions #chapters-generate{
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  padding:0 14px 0 34px!important;
  background:rgba(12,16,27,.46)!important;
  border:1px solid rgba(164,174,199,.18)!important;
  color:rgba(239,241,248,.88)!important;
  font-size:.75rem!important;
  justify-content:center!important;
}
.lf-chapters-summary__actions #chapters-generate::before{
  width:18px!important;
  height:18px!important;
  left:12px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#b995f2!important;
  font-size:17px!important;
  font-weight:500!important;
  box-shadow:none!important;
}
/* Nível 1 — confirmar / avançar */
.lf-chapters-summary__actions #chapters-approve-all{
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  padding:0 16px!important;
  gap:8px!important;
  background:linear-gradient(180deg,rgba(17,19,31,.92),rgba(11,15,25,.96))!important;
  border:1px solid rgba(161,96,244,.58)!important;
  color:#f6f3fb!important;
  font-size:.77rem!important;
  justify-content:center!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.lf-chapters-summary__actions #chapters-approve-all:hover,
.lf-chapters-summary__actions #chapters-approve-all:focus-visible{
  border-color:rgba(176,116,255,.8)!important;
  box-shadow:0 0 0 2px rgba(157,92,255,.08)!important;
}
.lf-btn-clean-icon{
  width:17px!important;
  height:17px!important;
  display:inline-grid!important;
  place-items:center!important;
  flex:0 0 17px!important;
  color:#b995f2!important;
}
.lf-btn-clean-icon svg{
  width:17px!important;
  height:17px!important;
  display:block!important;
}
/* Nível 3 — utilitário, pronto para propagação posterior */
.lf-btn-tertiary{
  height:34px!important;
  min-height:34px!important;
  padding:0 10px!important;
  border:0!important;
  background:transparent!important;
  color:rgba(213,218,232,.78)!important;
  font-size:.72rem!important;
  font-weight:650!important;
  box-shadow:none!important;
}
@media(max-width:420px){
  .lf-chapters-summary__actions{gap:7px!important;}
  .lf-chapters-summary__actions #chapters-generate{
    height:38px!important;min-height:38px!important;max-height:38px!important;
    font-size:.72rem!important;padding-left:32px!important;padding-right:12px!important;
  }
  .lf-chapters-summary__actions #chapters-generate::before{left:11px!important;width:17px!important;height:17px!important;font-size:16px!important;}
  .lf-chapters-summary__actions #chapters-approve-all{
    height:42px!important;min-height:42px!important;max-height:42px!important;
    font-size:.74rem!important;
  }
}

/* LoveFrame 6.7.49 — sistema global de botões limpo + status centralizados */
:root{
  --lf-btn-primary-h:42px;
  --lf-btn-secondary-h:38px;
  --lf-btn-tertiary-h:34px;
  --lf-btn-radius:12px;
}
.lf-btn{
  box-shadow:none!important;
  font-weight:700!important;
  letter-spacing:0!important;
  transition:border-color .16s ease,background .16s ease,color .16s ease,transform .14s ease!important;
}
.lf-btn-primary,
.lf-btn-primary--editorial{
  min-height:var(--lf-btn-primary-h)!important;
  height:var(--lf-btn-primary-h)!important;
  padding:0 15px!important;
  border-radius:var(--lf-btn-radius)!important;
  background:linear-gradient(180deg,rgba(16,20,31,.90),rgba(10,14,24,.96))!important;
  border:1px solid rgba(158,96,235,.58)!important;
  color:#f4f1f8!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;
}
.lf-btn-primary:hover,.lf-btn-primary:focus-visible,
.lf-btn-primary--editorial:hover,.lf-btn-primary--editorial:focus-visible{
  background:rgba(27,22,40,.92)!important;
  border-color:rgba(174,116,249,.82)!important;
  box-shadow:0 0 0 2px rgba(157,92,255,.07)!important;
}
.lf-btn-secondary,.lf-btn-ghost,.lf-repeat-cta{
  min-height:var(--lf-btn-secondary-h)!important;
  height:var(--lf-btn-secondary-h)!important;
  padding:0 13px!important;
  border-radius:var(--lf-btn-radius)!important;
  background:rgba(11,15,25,.42)!important;
  border:1px solid rgba(158,168,192,.20)!important;
  color:rgba(237,239,245,.88)!important;
  box-shadow:none!important;
}
.lf-btn-secondary:hover,.lf-btn-secondary:focus-visible,
.lf-btn-ghost:hover,.lf-btn-ghost:focus-visible,.lf-repeat-cta:hover,.lf-repeat-cta:focus-visible{
  background:rgba(20,24,36,.68)!important;
  border-color:rgba(177,187,210,.34)!important;
  box-shadow:none!important;
}
.lf-btn-tertiary{
  min-height:var(--lf-btn-tertiary-h)!important;
  height:var(--lf-btn-tertiary-h)!important;
  padding:0 9px!important;
  border:0!important;
  background:transparent!important;
  color:rgba(207,213,228,.76)!important;
  box-shadow:none!important;
}
/* ícones lineares, sem caixas pesadas */
.lf-btn-clean-icon,
.lf-home-featured__continue-icon,
.lf-continue-pencil-icon{
  width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;
  flex:0 0 16px!important;
  display:inline-grid!important;place-items:center!important;
  position:static!important;transform:none!important;
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  color:#b995f2!important;
}
.lf-btn-clean-icon svg,.lf-home-featured__continue-icon svg,.lf-continue-pencil-icon svg{
  width:16px!important;height:16px!important;display:block!important;
}
/* botão principal da Home: sem massa roxa */
.lf-home-featured__continue{
  min-height:40px!important;height:40px!important;
  background:linear-gradient(180deg,rgba(16,20,31,.90),rgba(10,14,24,.96))!important;
  border:1px solid rgba(158,96,235,.58)!important;
  color:#f4f1f8!important;
  border-radius:12px!important;
  box-shadow:none!important;
  gap:8px!important;
}
.lf-home-featured__continue:hover,.lf-home-featured__continue:focus-visible{
  background:rgba(27,22,40,.92)!important;border-color:rgba(174,116,249,.82)!important;
}
/* CTAs de próxima etapa: recupera visual premium sem microlegenda e sem bloco de ícone */
.lf-next-stage-cta{
  min-height:42px!important;height:42px!important;
  padding:0 34px 0 14px!important;
  justify-content:center!important;text-align:center!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,rgba(16,20,31,.90),rgba(10,14,24,.96))!important;
  border:1px solid rgba(158,96,235,.58)!important;
  box-shadow:none!important;
  font-size:.74rem!important;
  gap:8px!important;
}
.lf-next-stage-cta .lf-continue-pencil-icon{position:static!important;left:auto!important;top:auto!important;}
.lf-next-stage-cta::after{right:10px!important;font-size:18px!important;color:rgba(245,241,252,.88)!important;}
.lf-next-stage-cta .lf-next-stage-complete-check{right:28px!important;width:14px!important;height:14px!important;font-size:8px!important;}
/* Repetir: remove o bloco quadrado do ícone */
.lf-repeat-cta{position:relative!important;padding-left:34px!important;justify-content:center!important;}
.lf-repeat-cta::before{
  left:12px!important;width:16px!important;height:16px!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  color:#b995f2!important;font-size:16px!important;font-weight:500!important;
}
/* Capítulos usa exatamente os três níveis globais */
.lf-chapters-summary__actions{gap:8px!important;}
.lf-chapters-summary__actions #chapters-generate{
  min-height:38px!important;height:38px!important;max-height:38px!important;
  padding:0 13px 0 34px!important;border-radius:12px!important;
  background:rgba(11,15,25,.42)!important;border:1px solid rgba(158,168,192,.20)!important;
}
.lf-chapters-summary__actions #chapters-generate::before{left:12px!important;width:16px!important;height:16px!important;background:transparent!important;border:0!important;}
.lf-chapters-summary__actions #chapters-approve-all{
  min-height:42px!important;height:42px!important;max-height:42px!important;
  background:linear-gradient(180deg,rgba(16,20,31,.90),rgba(10,14,24,.96))!important;
  border:1px solid rgba(158,96,235,.58)!important;border-radius:12px!important;box-shadow:none!important;
}
/* Status: conteúdo sempre centrado no próprio container */
.lf-badge,.lf-badge-ok,.lf-library-row-card__editing,
.lf-status,.lf-status-pill,[class*="__status"]{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;
}
@media(max-width:420px){
  .lf-home-featured__continue{height:38px!important;min-height:38px!important;}
  .lf-next-stage-cta{height:40px!important;min-height:40px!important;font-size:.70rem!important;}
  .lf-chapters-summary__actions #chapters-generate{height:38px!important;min-height:38px!important;max-height:38px!important;}
  .lf-chapters-summary__actions #chapters-approve-all{height:42px!important;min-height:42px!important;max-height:42px!important;}
}

/* LoveFrame 6.7.50 — alinhamento fino dos ícones dos botões editoriais */
.lf-next-stage-cta{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  line-height:1!important;
}
.lf-next-stage-cta > .lf-continue-pencil-icon,
.lf-bible-overview__actions .lf-next-stage-cta > .lf-continue-pencil-icon,
.lf-directions-overview__actions .lf-next-stage-cta > .lf-continue-pencil-icon{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  width:15px!important;
  height:15px!important;
  min-width:15px!important;
  min-height:15px!important;
  flex:0 0 15px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:#b995f2!important;
}
.lf-next-stage-cta > .lf-continue-pencil-icon svg,
.lf-bible-overview__actions .lf-next-stage-cta > .lf-continue-pencil-icon svg,
.lf-directions-overview__actions .lf-next-stage-cta > .lf-continue-pencil-icon svg{
  width:15px!important;
  height:15px!important;
  display:block!important;
  margin:0!important;
}
.lf-repeat-cta{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  padding-left:32px!important;
}
.lf-repeat-cta::before,
.lf-bible-overview__actions .lf-repeat-cta::before,
.lf-directions-overview__actions .lf-repeat-cta::before{
  position:absolute!important;
  left:12px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:15px!important;
  height:15px!important;
  display:grid!important;
  place-items:center!important;
  line-height:15px!important;
  font-size:15px!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:#b995f2!important;
}
.lf-next-stage-cta .lf-next-stage-complete-check{
  top:50%!important;
  transform:translateY(-50%)!important;
  margin:0!important;
}
.lf-next-stage-cta::after{
  top:50%!important;
  transform:translateY(-50%)!important;
  line-height:1!important;
  margin:0!important;
}
@media(max-width:420px){
  .lf-next-stage-cta > .lf-continue-pencil-icon,
  .lf-bible-overview__actions .lf-next-stage-cta > .lf-continue-pencil-icon,
  .lf-directions-overview__actions .lf-next-stage-cta > .lf-continue-pencil-icon{
    width:14px!important;height:14px!important;min-width:14px!important;min-height:14px!important;flex-basis:14px!important;
  }
  .lf-next-stage-cta > .lf-continue-pencil-icon svg,
  .lf-bible-overview__actions .lf-next-stage-cta > .lf-continue-pencil-icon svg,
  .lf-directions-overview__actions .lf-next-stage-cta > .lf-continue-pencil-icon svg{width:14px!important;height:14px!important;}
  .lf-repeat-cta::before{width:14px!important;height:14px!important;line-height:14px!important;font-size:14px!important;}
}

/* LoveFrame 6.8.26 — ação de geração de prompts em destaque suave */
.lf-image-chapter-bulk .lf-btn-generate-prompts{
  background:linear-gradient(180deg,rgba(167,139,250,.16),rgba(139,92,246,.10));
  border-color:rgba(196,181,253,.34);
  box-shadow:inset 0 0 0 1px rgba(196,181,253,.04);
}
.lf-image-chapter-bulk .lf-btn-generate-prompts:active{background:rgba(167,139,250,.22);}


/* LoveFrame 6.8.27 — CTA de geração em lote claramente distinguível */
.lf-image-chapter-bulk .lf-btn-generate-prompts{
  background:rgba(139,92,246,.18)!important;
  border:1px solid rgba(196,181,253,.42)!important;
  color:#e9ddff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
}
.lf-image-chapter-bulk .lf-btn-generate-prompts:active{
  background:rgba(139,92,246,.27)!important;
  transform:translateY(1px);
}


/* LoveFrame 6.8.28 — CTA em lote: roxo claro visível no mobile */
.lf-image-chapter-bulk .lf-btn-generate-prompts{
 background:linear-gradient(180deg,rgba(167,139,250,.24),rgba(139,92,246,.16))!important;
 border-color:rgba(196,181,253,.52)!important;
 color:#f0e8ff!important;
}

/* LoveFrame 6.8.29 — lote de prompts do capítulo para ChatGPT */
.lf-image-chapter-bulk .lf-btn-copy-chapter{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:50px;
  background:linear-gradient(180deg,rgba(139,92,246,.20),rgba(109,40,217,.12));
  border:1px solid rgba(196,181,253,.38);
  color:#efe8ff;
  font-weight:800;
}
.lf-image-chapter-bulk .lf-btn-copy-chapter:active{
  background:rgba(139,92,246,.27);
  transform:translateY(1px);
}
.lf-image-chapter-bulk__hint{
  display:block;
  margin:7px 10px 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
  text-align:center;
}

/* LoveFrame 6.8.32 — importação múltipla por capítulo */
.lf-image-chapter-bulk .lf-btn-import-chapter{
 display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;
 background:rgba(167,139,250,.10);border:1px solid rgba(196,181,253,.30);color:#eee8ff;font-weight:800;
}
.lf-image-chapter-bulk .lf-btn-import-chapter:active{background:rgba(167,139,250,.18);transform:translateY(1px)}
.lf-image-batch-map{margin:14px 0 4px;padding:14px;border-radius:20px;border:1px solid rgba(196,181,253,.28);background:rgba(111,76,180,.08)}
.lf-image-batch-map__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}
.lf-image-batch-map__head div{display:grid;gap:2px}.lf-image-batch-map__head small{font-size:11px;letter-spacing:.12em;color:#b99af7;font-weight:800}.lf-image-batch-map__head strong{font-size:18px}.lf-image-batch-map__head>span{padding:5px 9px;border-radius:999px;background:rgba(139,92,246,.14);color:#d6c4ff;font-size:12px;font-weight:800}
.lf-image-batch-map>p{margin:0 0 12px;color:var(--muted);font-size:13px;line-height:1.45}
.lf-image-batch-map__list{display:grid;gap:10px}.lf-image-batch-map__item{display:grid;grid-template-columns:64px minmax(0,1fr);gap:11px;align-items:center;padding:9px;border-radius:16px;background:rgba(9,12,25,.38);border:1px solid rgba(255,255,255,.07)}
.lf-image-batch-map__item img{width:64px;height:76px;object-fit:cover;border-radius:12px;background:#111528}.lf-image-batch-map__item>div{min-width:0;display:grid;gap:4px}.lf-image-batch-map__item small{font-size:10px;letter-spacing:.1em;color:#9a89c8}.lf-image-batch-map__item strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lf-image-batch-map__item select{width:100%;min-height:38px;border-radius:11px;border:1px solid rgba(196,181,253,.25);background:#121528;color:#f4f1ff;padding:0 9px;font:inherit;font-size:12px}
.lf-image-batch-map__actions{display:grid;grid-template-columns:.8fr 1.2fr;gap:9px;margin-top:12px}.lf-image-batch-map__actions .lf-btn{min-height:46px;padding-inline:10px;font-size:13px}
@media(max-width:390px){.lf-image-batch-map__item{grid-template-columns:56px minmax(0,1fr)}.lf-image-batch-map__item img{width:56px;height:68px}.lf-image-batch-map__actions{grid-template-columns:1fr}.lf-image-batch-map__actions .lf-btn-primary{order:-1}}


/* LoveFrame 6.8.34 — aprovação em lote das imagens do capítulo */
.lf-image-chapter-bulk .lf-btn-approve-images-chapter{
 display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;
 background:rgba(34,197,94,.10);border:1px solid rgba(74,222,128,.34);color:#b9f6cf;font-weight:800;
}
.lf-image-chapter-bulk .lf-btn-approve-images-chapter:active{background:rgba(34,197,94,.18);transform:translateY(1px)}


/* LoveFrame 6.8.40 — Missões: obra ativa primeiro + CTA preenchido */
.lf-mission-editorial-card__inline-actions button[data-mission-map]{
  appearance:none!important;
  border:1px solid rgba(167,139,250,.26)!important;
  background:linear-gradient(180deg,rgba(124,92,190,.20),rgba(86,56,145,.16))!important;
  color:#d8c7ff!important;
  min-height:32px!important;
  padding:6px 10px!important;
  border-radius:10px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.lf-mission-editorial-card__inline-actions button[data-mission-map]:active{
  background:linear-gradient(180deg,rgba(139,92,246,.27),rgba(91,57,154,.22))!important;
  transform:translateY(1px)!important;
}
@media(max-width:380px){
  .lf-mission-editorial-card__inline-actions button[data-mission-map]{
    min-height:30px!important;
    padding:5px 8px!important;
    border-radius:9px!important;
  }
}

/* LoveFrame 6.8.41 — CTA da missão clicável + capa oficial canônica */
button.lf-missions-current{
  width:100%!important;
  appearance:none!important;
  color:inherit!important;
  text-align:left!important;
  cursor:pointer!important;
  font:inherit!important;
}
button.lf-missions-current:active{
  background:linear-gradient(135deg,rgba(139,92,246,.22),rgba(88,28,135,.13))!important;
  transform:translateY(1px)!important;
}
.lf-command-hero .lf-smart-cover--official img,
.lf-mission-work-card__cover.lf-smart-cover--official img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}


/* LoveFrame 6.8.42 — botões editoriais com preenchimento violeta suave */
.lf-btn-primary:not(.lf-btn-danger):not(.lf-btn-approve-images-chapter),
.lf-btn-primary--editorial:not(.lf-btn-danger):not(.lf-btn-approve-images-chapter),
.lf-btn-secondary:not(.lf-btn-danger),
.lf-btn-ghost:not(.lf-btn-danger),
.lf-repeat-cta:not(.lf-btn-danger){
  background:linear-gradient(180deg,rgba(124,92,190,.17),rgba(68,48,108,.13))!important;
  border-color:rgba(167,139,250,.34)!important;
  color:#f2edf9!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.lf-btn-primary:not(.lf-btn-danger):not(.lf-btn-approve-images-chapter):hover,
.lf-btn-primary:not(.lf-btn-danger):not(.lf-btn-approve-images-chapter):focus-visible,
.lf-btn-primary--editorial:not(.lf-btn-danger):not(.lf-btn-approve-images-chapter):hover,
.lf-btn-primary--editorial:not(.lf-btn-danger):not(.lf-btn-approve-images-chapter):focus-visible,
.lf-btn-secondary:not(.lf-btn-danger):hover,
.lf-btn-secondary:not(.lf-btn-danger):focus-visible,
.lf-btn-ghost:not(.lf-btn-danger):hover,
.lf-btn-ghost:not(.lf-btn-danger):focus-visible,
.lf-repeat-cta:not(.lf-btn-danger):hover,
.lf-repeat-cta:not(.lf-btn-danger):focus-visible{
  background:linear-gradient(180deg,rgba(139,92,246,.24),rgba(83,56,137,.19))!important;
  border-color:rgba(183,148,255,.52)!important;
}
.lf-btn-primary:not(.lf-btn-danger) svg,
.lf-btn-primary--editorial:not(.lf-btn-danger) svg,
.lf-btn-secondary:not(.lf-btn-danger) svg,
.lf-btn-ghost:not(.lf-btn-danger) svg,
.lf-repeat-cta:not(.lf-btn-danger) svg,
.lf-btn-primary:not(.lf-btn-danger) .lf-btn-clean-icon,
.lf-btn-primary--editorial:not(.lf-btn-danger) .lf-btn-clean-icon,
.lf-btn-secondary:not(.lf-btn-danger) .lf-btn-clean-icon,
.lf-btn-ghost:not(.lf-btn-danger) .lf-btn-clean-icon,
.lf-repeat-cta:not(.lf-btn-danger) .lf-btn-clean-icon,
.lf-btn-primary:not(.lf-btn-danger) .lf-home-featured__continue-icon,
.lf-btn-secondary:not(.lf-btn-danger) .lf-home-featured__continue-icon{
  color:#b992ff!important;
  stroke:currentColor!important;
}
.lf-btn-primary:not(.lf-btn-danger):active,
.lf-btn-primary--editorial:not(.lf-btn-danger):active,
.lf-btn-secondary:not(.lf-btn-danger):active,
.lf-btn-ghost:not(.lf-btn-danger):active,
.lf-repeat-cta:not(.lf-btn-danger):active{
  background:linear-gradient(180deg,rgba(139,92,246,.29),rgba(92,61,149,.22))!important;
}

/* LoveFrame 6.8.43 — Biblioteca: CTA Continuar no padrão violeta editorial */
.lf-library-row-card__continue{
  background:linear-gradient(180deg,rgba(124,92,190,.17),rgba(68,48,108,.13))!important;
  border-color:rgba(167,139,250,.40)!important;
  color:#f2edf9!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.lf-library-row-card__continue-icon,
.lf-library-row-card__continue-icon svg,
.lf-library-row-card__continue-arrow{
  color:#b992ff!important;
}
.lf-library-row-card__continue-icon svg{stroke:currentColor!important}
.lf-library-row-card__continue:hover,
.lf-library-row-card__continue:focus-visible{
  background:linear-gradient(180deg,rgba(139,92,246,.24),rgba(83,56,137,.19))!important;
  border-color:rgba(183,148,255,.52)!important;
}
.lf-library-row-card__continue:active{
  background:linear-gradient(180deg,rgba(139,92,246,.29),rgba(92,61,149,.22))!important;
}

/* LoveFrame 6.8.44 — Produção da capa: 5 etapas em uma única linha no mobile */
.lf-cover-stepper{
  display:grid!important;
  grid-template-columns:minmax(38px,1fr) minmax(8px,.42fr) minmax(38px,1fr) minmax(8px,.42fr) minmax(38px,1fr) minmax(8px,.42fr) minmax(38px,1fr) minmax(8px,.42fr) minmax(38px,1fr)!important;
  align-items:center!important;
  gap:5px!important;
  width:100%!important;
}
.lf-cover-stepper>span{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  height:48px!important;
  padding:5px 2px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
}
.lf-cover-stepper>span b{
  margin-top:5px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.lf-cover-stepper>i{width:100%!important;min-width:0!important}
@media(max-width:390px){
  .lf-cover-stepper{gap:3px!important;grid-template-columns:minmax(34px,1fr) minmax(5px,.28fr) minmax(34px,1fr) minmax(5px,.28fr) minmax(34px,1fr) minmax(5px,.28fr) minmax(34px,1fr) minmax(5px,.28fr) minmax(34px,1fr)!important}
  .lf-cover-stepper>span{height:44px!important;padding:4px 1px!important;font-size:9px!important}
  .lf-cover-stepper>span b{font-size:7px!important;margin-top:4px!important}
}

/* 7.0.60 — consulta compacta do trecho da página */
.lf-vp-page-text{margin:12px 0;border:1px solid var(--line,rgba(255,255,255,.1));border-radius:14px;overflow:hidden}
.lf-vp-page-text>summary{padding:13px 14px;cursor:pointer;font-weight:700}
.lf-vp-page-text>div{padding:0 14px 14px}.lf-vp-page-text p{margin:0;line-height:1.55;color:var(--text-muted,#aaa);white-space:pre-wrap}
