:root{--accent:#e5141b;--accent-press:#c10f15;--accent-soft:#fdecec;--text:#15171a;--muted:#6b7280;--bg:#f3f4f6;--surface:#fff;--border:#e3e5e8;--success:#15803d;--success-soft:#e7f6ec;--warning:#92400e;--warning-soft:#fff4dc;--danger:#b91c1c;--danger-soft:#fdecec;--info:#1e40af;--info-soft:#e8eefc;--whatsapp:#1fa855;--radius:16px;--radius-sm:12px;--tap:52px;--column:480px;--tabbar-h:64px;--safe-bottom:env(safe-area-inset-bottom,0px);--shadow:0 1px 2px #1018280f, 0 1px 3px #10182814;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,Arial,sans-serif;font-size:16px;line-height:1.45}*,:before,:after{box-sizing:border-box}body{min-height:100vh;min-height:100dvh;margin:0}h1,h2,h3,p,ul,ol,dl,dd{margin:0}h1{font-size:1.6rem;line-height:1.2}h2{font-size:1.2rem;line-height:1.3}h3{font-size:1.05rem}a{color:var(--accent)}img{max-width:100%}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}.icon{flex:none}.app{max-width:var(--column);min-height:100vh;background:var(--bg);min-height:100dvh;margin:0 auto}.page{padding:16px 16px calc(var(--tabbar-h) + var(--safe-bottom) + 24px);padding-top:max(16px, env(safe-area-inset-top))}.page--bare{padding-bottom:calc(var(--safe-bottom) + 24px);padding-top:max(32px, env(safe-area-inset-top))}.page--center{min-height:100vh;flex-direction:column;justify-content:center;min-height:100dvh;display:flex}.stack{flex-direction:column;gap:16px;display:flex}.stack--tight{flex-direction:column;gap:6px;display:flex}.actions{flex-direction:column;gap:8px;display:flex}.muted{color:var(--muted)}.small{font-size:.875rem}.pre-wrap{white-space:pre-wrap}.with-icon{align-items:center;gap:10px;display:flex}.section-title{margin:28px 0 12px}.eyebrow{color:var(--muted);margin-bottom:2px;font-size:.85rem}.app-logo{box-shadow:var(--shadow);border-radius:18px}.page-header{align-items:center;gap:8px;margin-bottom:16px;display:flex}.page-header__text{flex:1;min-width:0}.stack>.page-header{margin-bottom:0}.back-link{width:44px;height:44px;color:var(--text);border-radius:50%;flex:none;justify-content:center;align-items:center;margin-left:-10px;display:inline-flex}.back-link:active{background:var(--border)}.tabbar{width:100%;max-width:var(--column);background:var(--surface);border-top:1px solid var(--border);padding-bottom:var(--safe-bottom);z-index:10;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.tabbar__item{min-height:var(--tabbar-h);color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:.75rem;font-weight:600;text-decoration:none;display:flex}.tabbar__item.active{color:var(--accent)}.tabbar__plus{background:var(--accent);color:#fff;border-radius:50%;place-items:center;width:52px;height:52px;display:grid;box-shadow:0 4px 12px #e5141b59}.tabbar__item--primary.active .tabbar__plus{background:var(--accent-press);box-shadow:0 0 0 4px var(--accent-soft), 0 4px 12px #e5141b59}.tabbar__item--primary:active .tabbar__plus{transform:scale(.94)}.tabbar__plus-label{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);color:inherit;padding:16px;text-decoration:none}.btn{width:100%;min-height:var(--tap);border-radius:var(--radius-sm);text-align:center;border:0;justify-content:center;align-items:center;gap:8px;padding:12px 20px;font-size:1rem;font-weight:650;text-decoration:none;transition:background-color .15s,opacity .15s;display:inline-flex}.btn:disabled{opacity:.55;cursor:default}.btn--primary{background:var(--accent);color:#fff}.btn--primary:active:not(:disabled){background:var(--accent-press)}.btn--secondary{background:var(--surface);color:var(--text);border:1.5px solid var(--border)}.btn--secondary:active:not(:disabled){background:var(--bg)}.btn--ghost{color:var(--accent);background:0 0}.btn--danger-ghost{color:var(--danger);background:0 0}.btn--whatsapp{background:var(--whatsapp);color:#fff}.btn--big{min-height:60px;font-size:1.1rem}.btn--small{width:auto;min-height:44px;padding:8px 16px;font-size:.95rem}.btn--spaced{margin-top:16px}.field{flex-direction:column;gap:6px;display:flex}.field__label{font-weight:600}.field-error{color:var(--danger);font-size:.875rem}.input{width:100%;min-height:var(--tap);border:1.5px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);padding:12px 14px;font-size:1.0625rem}textarea.input{resize:vertical}.input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.input--short{max-width:140px}.choices{flex-direction:column;gap:10px;display:flex}.choice{min-height:var(--tap);text-align:left;background:var(--surface);border:2px solid var(--border);border-radius:var(--radius-sm);flex-direction:column;align-items:flex-start;gap:2px;padding:14px 16px;display:flex}.choice--on{border-color:var(--accent);background:var(--accent-soft)}.choice__label{font-weight:650}.choice__label .chip__tag{margin-left:8px}.choice__hint{color:var(--muted);font-size:.875rem}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{background:var(--surface);border:1.5px solid var(--border);border-radius:999px;align-items:center;gap:6px;min-height:44px;padding:8px 14px;font-weight:550;display:inline-flex}.chip--on{border-color:var(--accent);background:var(--accent-soft)}.chip__tag{text-transform:uppercase;color:var(--accent);font-size:.7rem;font-weight:700}.segmented{background:var(--bg);border-radius:var(--radius-sm);grid-auto-columns:1fr;grid-auto-flow:column;gap:4px;padding:4px;display:grid}.segmented__item{background:0 0;border:0;border-radius:9px;min-height:44px;padding:6px 8px;font-size:.95rem;font-weight:600}.segmented__item--on{background:var(--surface);color:var(--accent);box-shadow:var(--shadow)}.question{flex-direction:column;gap:12px;display:flex}.steps-progress{flex-direction:column;gap:6px;display:flex}.alert{border-radius:var(--radius-sm);flex-direction:column;gap:6px;padding:12px 14px;font-size:.95rem;display:flex}.alert ul{padding-left:20px}.alert--error{background:var(--danger-soft);color:var(--danger)}.alert--warning{background:var(--warning-soft);color:var(--warning)}.alert--success{background:var(--success-soft);color:var(--success)}.alert--info{background:var(--info-soft);color:var(--info)}.badge{background:var(--bg);color:var(--muted);white-space:nowrap;vertical-align:middle;border-radius:999px;align-items:center;gap:4px;padding:2px 8px;font-size:.75rem;font-weight:700;display:inline-flex}.badge--new{background:var(--accent);color:#fff}.badge--done{background:var(--success-soft);color:var(--success);align-self:flex-start}.pill{background:var(--surface);box-shadow:var(--shadow);border-radius:999px;flex:none;padding:6px 12px;font-size:.85rem;font-weight:700}.status{font-weight:650}.status--active{color:var(--success)}.status--grace{color:var(--warning)}.status--expired,.status--blocked{color:var(--danger)}.loader{color:var(--muted);justify-content:center;align-items:center;gap:10px;padding:40px 0;display:flex}.spinner{border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:22px;height:22px;animation:.8s linear infinite spin}.spinner--big{border-width:4px;width:44px;height:44px}@keyframes spin{to{transform:rotate(360deg)}}.progress{background:var(--border);border-radius:999px;height:8px;display:block;overflow:hidden}.progress>span{border-radius:inherit;background:var(--accent);height:100%;transition:width .3s;display:block}.progress--timed>span{width:95%;animation:60s cubic-bezier(.1,.6,.3,1) both fill}@keyframes fill{0%{width:3%}}.sheet-backdrop{z-index:20;background:#0006;justify-content:center;align-items:flex-end;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.sheet{width:100%;max-width:var(--column);padding:24px 16px calc(var(--safe-bottom) + 20px);background:var(--surface);border-radius:20px 20px 0 0;animation:.2s ease-out rise}@keyframes rise{0%{opacity:0;transform:translateY(40px)}}.ios-steps{counter-reset:step;flex-direction:column;gap:12px;padding:0;list-style:none;display:flex}.ios-step{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);align-items:center;gap:14px;padding:12px;display:flex}.ios-step__art{flex:none;display:block;position:relative}.ios-step__art:after{counter-increment:step;content:counter(step);background:var(--accent);color:#fff;border-radius:50%;place-items:center;width:22px;height:22px;font-size:.75rem;font-weight:700;display:grid;position:absolute;top:-6px;left:-6px}.ios-art{border-radius:14px;place-items:center;width:56px;height:56px;display:grid}.ios-art--share,.ios-art--menu{color:#0a7aff;background:#eef4ff}.ios-art--add{color:#fff;background:#0a7aff}.ios-art--app{object-fit:cover}.banner{border-radius:var(--radius);background:var(--accent-soft);color:var(--accent-press);align-items:center;gap:12px;padding:14px 16px;display:flex}.banner>div{flex:1}.continue{border:2px solid var(--accent);align-items:center;gap:14px;display:flex}.continue__play{background:var(--accent);color:#fff;border-radius:50%;flex:none;place-items:center;width:56px;height:56px;display:grid}.continue__body{flex-direction:column;gap:2px;min-width:0;display:flex}.continue__title{font-size:1.05rem;font-weight:700}.continue__cta{color:var(--accent);font-weight:700}.dream{flex-direction:column;padding:0;display:flex;overflow:hidden}.dream__photo{aspect-ratio:16/9;object-fit:cover;width:100%;display:block}.dream__body{flex-direction:column;gap:2px;padding:14px 16px;display:flex}.dream__amount{font-size:1.5rem;font-weight:800}.dream__deadline strong{color:var(--accent)}.dream--empty{color:var(--accent);flex-direction:row;align-items:center;gap:12px;padding:16px}.dream--empty>.stack--tight{color:var(--text);flex:1}.stats{grid-template-columns:1fr 1fr;gap:12px;display:grid}.stat{flex-direction:column;display:flex}.stat__value{font-size:1.5rem;font-weight:800}.module{padding:0;overflow:hidden}.module--ruh{border-left:4px solid #8b5cf6}.module__head{text-align:left;background:0 0;border:0;align-items:center;gap:12px;width:100%;padding:16px;display:flex}.module__info{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.module__title{align-items:center;gap:6px;font-size:1.1rem;font-weight:700;display:flex}.chevron{color:var(--muted);transition:transform .2s}.chevron--open{transform:rotate(180deg)}.tool{border-top:1px solid var(--border);padding:12px 8px 8px}.tool__title{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);padding:0 8px 6px;font-size:.8rem}.lesson-list{padding:0;list-style:none}.lesson-row{width:100%;min-height:var(--tap);border-radius:var(--radius-sm);color:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:12px;padding:10px 8px;text-decoration:none;display:flex}.lesson-row:active{background:var(--bg)}.lesson-row--locked .lesson-row__title{color:var(--muted)}.lesson-row__status{border-radius:50%;flex:none;place-items:center;width:32px;height:32px;display:grid}.lesson-row__status--done{background:var(--success);color:#fff}.lesson-row__status--open{background:var(--accent-soft);color:var(--accent)}.lesson-row__status--locked{background:var(--bg);color:var(--muted)}.lesson-row__body{flex-direction:column;flex:1;min-width:0;display:flex}.lesson-row__title{font-weight:600}.player{aspect-ratio:16/9;--plyr-color-main:var(--accent);--plyr-video-background:#000;--plyr-font-family:inherit;--plyr-control-radius:8px;background:#000;margin:0 -16px;position:relative}.player__plyr,.player__plyr .plyr{width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.player__fallback{z-index:2;color:#fff;background:#000000d9;flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.md{overflow-wrap:anywhere;font-size:1.0625rem;line-height:1.6}.md>*+*{margin-top:.8em}.md h2,.md h3,.md h4{margin-top:1.3em}.md ul,.md ol{padding-left:1.4em}.md li+li{margin-top:.3em}.done-card{text-align:center;align-items:center}.done-card__check{background:var(--success);color:#fff;border-radius:50%;place-items:center;width:64px;height:64px;display:grid}.points{color:var(--accent);font-size:1.6rem;font-weight:800}.rating{grid-template-columns:1fr 1fr;gap:10px;display:grid}.rating__btn{min-height:var(--tap);border:1.5px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);justify-content:center;align-items:center;gap:8px;font-weight:600;display:inline-flex}.rating__btn--on{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.lesson-nav{grid-template-columns:1fr 1fr;gap:10px;display:grid}.generating{text-align:center;align-items:center;padding:28px 16px}.generating .progress{width:100%}.script-meta{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.script-part h3{color:var(--accent);margin-bottom:8px}.hook dt{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;font-size:.8rem;font-weight:700}.hook dd+dt{margin-top:10px}.history{flex-direction:column;gap:8px;padding:0;list-style:none;display:flex}.history__item{border-radius:var(--radius-sm);background:var(--surface);width:100%;box-shadow:var(--shadow);text-align:left;border:0;flex-direction:column;gap:2px;padding:12px 16px;display:flex}.history__topic{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-weight:600;display:-webkit-box;overflow:hidden}.facts{grid-template-columns:auto 1fr;gap:6px 16px;display:grid}.facts dt{color:var(--muted)}.menu{padding:4px 0}.menu__item{min-height:var(--tap);color:inherit;align-items:center;gap:14px;padding:8px 16px;text-decoration:none;display:flex}.menu__item+.menu__item{border-top:1px solid var(--border)}.menu__item>span{flex:1;font-weight:600}.menu__item>.icon:last-child{color:var(--muted)}.session-list{flex-direction:column;gap:10px;padding:0;list-style:none;display:flex}.session{flex-direction:column;gap:12px;display:flex}.session__info{align-items:flex-start;gap:12px;display:flex}.session__name{flex-wrap:wrap;align-items:center;gap:8px;font-weight:650;display:flex}.photo-pick{cursor:pointer;flex-direction:column;align-items:center;gap:12px;display:flex}.photo-pick img,.photo-pick__empty{aspect-ratio:16/9;border-radius:var(--radius);object-fit:cover;width:100%}.photo-pick__empty{border:2px dashed var(--border);background:var(--surface);color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.pay{text-align:center;align-items:center}.pay__qr{object-fit:contain;background:#fff;width:220px;height:220px}.channel-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.channel-sync{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.video-list{gap:12px;padding:0;list-style:none;display:grid}.video-row{color:inherit;gap:12px;padding:10px;text-decoration:none;display:flex}.video-row__thumb{aspect-ratio:16/9;border-radius:var(--radius-sm);background:var(--border);flex:none;width:132px;position:relative;overflow:hidden}.video-row__thumb img{object-fit:cover;width:100%;height:100%;display:block}.video-row__duration{color:#fff;background:#000000bf;border-radius:4px;padding:1px 5px;font-size:.72rem;font-weight:600;position:absolute;bottom:4px;right:4px}.video-row__body{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.video-row__title{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-weight:600;line-height:1.3;display:-webkit-box;overflow:hidden}.video-row__stats{color:var(--muted);flex-wrap:wrap;gap:4px 12px;display:flex}.lb-dot{background:var(--accent);vertical-align:middle;border-radius:50%;width:6px;height:6px;margin-left:6px;display:inline-block}.lb-week{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.segmented--inline{flex:none}.lb-list{margin:0;padding:4px 0;list-style:none}.lb-row{align-items:center;gap:12px;padding:10px 16px;display:flex}.lb-row+.lb-row{border-top:1px solid var(--border)}.lb-row--me{background:var(--accent-soft)}.lb-rank{text-align:center;width:32px;color:var(--muted);flex:none;font-weight:700}.lb-rank--top{font-size:1.35rem}.lb-name{flex-wrap:wrap;flex:1;align-items:center;gap:2px 8px;min-width:0;display:flex}.lb-name strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.lb-name .small{flex-basis:100%}.lb-points{flex:none;font-size:1.1rem;font-weight:800}.lb-empty{padding:16px}.lb-me{bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 8px);padding:10px 0 0;position:sticky;box-shadow:0 -2px 16px #1018281f}.lb-me>.small{padding:0 16px}.lb-me>p.small{padding:0 16px 12px}.task-card{border:2px solid var(--accent-soft)}.task-card__phrase{border-radius:var(--radius-sm);background:var(--accent-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-weight:700;display:flex}.task-card__found{color:var(--success);font-weight:600;text-decoration:none}.tabbar__brand{display:none}.history__item--on{box-shadow:0 0 0 2px var(--accent)}@media (min-width:520px){.app{box-shadow:0 0 0 1px var(--border)}.player{border-radius:var(--radius);margin:0;overflow:hidden}}@media (min-width:768px){:root{--column:720px}h1{font-size:1.85rem}.page{padding-left:24px;padding-right:24px}.app:not(.app--tabs){max-width:none;box-shadow:none;padding:48px 24px}.page--bare{background:var(--surface);max-width:480px;box-shadow:var(--shadow);border-radius:24px;margin:0 auto;padding:32px}.home,.profile{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.home>h1,.home>.banner,.home>.continue,.home>.btn,.profile>:first-child,.profile>.alert,.profile>.btn{grid-column:1/-1}.channel-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.video-row__thumb{width:176px}.home>.dream:has(.dream__photo){grid-row:span 2}.sheet-backdrop{align-items:center;padding:24px}.sheet{border-radius:20px;max-width:480px;padding-bottom:24px}}@media (min-width:1024px){:root{--sidebar:248px}.app--tabs{grid-template-columns:var(--sidebar) minmax(0, 1fr);max-width:none;box-shadow:none;display:grid}.app--tabs>.page{grid-area:1/2;padding:32px 40px 48px}.page__inner{max-width:960px;margin:0 auto}.tabbar{height:100vh;border-top:0;border-right:1px solid var(--border);flex-direction:column;grid-area:1/1;align-self:start;gap:4px;max-width:none;height:100dvh;padding:24px 16px;display:flex;position:sticky;top:0;left:auto;transform:none}.tabbar__brand{order:-2;align-items:center;gap:10px;padding:0 12px 24px;font-size:1.05rem;font-weight:800;display:flex}.tabbar__brand img{border-radius:8px}.tabbar__item{border-radius:var(--radius-sm);flex-direction:row;justify-content:flex-start;gap:12px;min-height:48px;padding:0 14px;font-size:.95rem}.tabbar__item.active{background:var(--accent-soft)}.tabbar__item--primary{background:var(--accent);color:#fff;order:-1;margin-bottom:12px}.tabbar__item--primary.active{background:var(--accent-press);color:#fff}.tabbar__plus{width:auto;height:auto;box-shadow:none;background:0 0}.tabbar__item--primary.active .tabbar__plus{box-shadow:none;background:0 0}.tabbar__plus .icon{width:22px;height:22px}.tabbar__plus-label{clip:auto;width:auto;height:auto;position:static;overflow:visible}.video-list{grid-template-columns:repeat(2,minmax(0,1fr))}.scripts{grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start;gap:16px 24px;display:grid}.lb-me{bottom:16px}.scripts>:first-child{grid-column:1/-1}.scripts__side{max-height:calc(100dvh - 64px);position:sticky;top:32px;overflow-y:auto}.scripts__side>.section-title{margin-top:0}}@media (hover:hover){.tabbar__item:hover:not(.active),.lesson-row:hover,.menu__item:hover,.history__item:hover{background:var(--bg)}a.card:hover{box-shadow:0 4px 14px #1018281a}.btn--primary:hover:not(:disabled){background:var(--accent-press)}}.video-row__stats .with-icon{gap:4px}.player__plyr .plyr__video-embed{overflow:hidden}.player__plyr .plyr__video-embed iframe{height:200%;top:-50%}
