/* Learning plans (apa-plan.js): the plan window, the lesson's day bar, the plan in the account and on the payment page. */
.apl-lock { overflow: hidden; }
.apl-i { flex: 0 0 auto; vertical-align: -3px; }
@keyframes aplFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes aplUp { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes aplIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes aplSea { to { background-position: 28px 0; } }
@keyframes aplBob { 0%, 100% { transform: translateX(-50%) translateY(0) rotate(-3deg); } 50% { transform: translateX(-50%) translateY(-3px) rotate(3deg); } }
@keyframes aplRock { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-3px); } }
@keyframes aplSail { 0% { left: 4%; opacity: 0; } 6% { opacity: 1; } 92% { opacity: 1; } 100% { left: 96%; opacity: 0; } }
@keyframes aplMap { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) translateY(-2px); } }
@keyframes aplWave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-28deg); } }
@keyframes aplPulse { 50% { background: #20c7b7; } }
@keyframes aplDock { from { left: -10%; } to { left: 58%; } }
@keyframes aplConf { to { transform: translateY(130px) rotate(540deg); opacity: 0; } }

/* ---- buttons and links ---- */
.apl-link { background: none; border: 0; padding: 0; color: #98a7b6; font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.apa-ccard2 .apl-link, .apa-course-hero .apl-link[data-apl-course-btn] { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin: 12px auto 2px; color: #eafff9; font-size: 15px; font-weight: 700; text-underline-offset: 4px; }
.apl-btn { display: block; width: 100%; box-sizing: border-box; text-align: center; background: linear-gradient(180deg, #2ad4c3, #1bb3a4); color: #032421 !important; border: 0; border-radius: 12px; padding: 12px 18px; font: 700 15.5px/1.2 inherit; cursor: pointer; box-shadow: 0 8px 24px rgba(32, 199, 183, .25); text-decoration: none !important; transition: transform .15s; }
.apl-btn:hover { transform: translateY(-1px); }
.apl-btn:disabled { opacity: .5; cursor: default; transform: none; }
.apl-btn--ghost { background: none; border: 1px solid rgba(114, 234, 223, .45); color: #e6edf3 !important; box-shadow: none; }
.apl-btn--auto { display: inline-flex; align-items: center; gap: 6px; width: auto; padding: 10px 16px; font-size: 14px; }
.apl-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 14px; border-radius: 12px; background: #20c7b7; color: #04221f; border: 0; font: 700 13.5px/1.2 inherit; cursor: pointer; }
.apl-del { background: none; border: 0; color: #f87171; font: 700 13px/1 inherit; cursor: pointer; padding: 6px 0; }

/* ---- overlays ---- */
.apl-ov { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 12px; background: rgba(3, 7, 12, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; }
.apl-ov.is-on { opacity: 1; }
.apl-m { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 24px); overflow-y: auto; overflow-x: hidden; scrollbar-width: none; overscroll-behavior: contain; box-sizing: border-box; padding: 18px 22px 14px; border-radius: 22px; border: 1px solid rgba(114, 234, 223, .18); background: linear-gradient(180deg, #152131, #0f1724); color: #e6edf3; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); animation: aplUp .25s ease; font-size: 14px; line-height: 1.45; }
.apl-m::-webkit-scrollbar { display: none; }
.apl-m--sm { max-width: 440px; }
.apl-m h3 { margin: 0; color: #fff; font-size: 19px; line-height: 1.25; }
.apl-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .07); color: #98a7b6; font-size: 18px; line-height: 30px; cursor: pointer; }
.apl-x:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.apl-sub { margin: 6px 0 0; color: #b8c4d0; font-size: 14px; }
.apl-sub b { color: #72eadf; }

/* ---- the plan window ---- */
.apl-head { display: flex; gap: 10px; align-items: flex-end; margin-bottom: 14px; padding-right: 32px; }
.apl-head p { margin: 2px 0 0; color: #98a7b6; font-size: 13px; }
.apl-guy { position: relative; flex: 0 0 58px; width: 58px; height: 48px; }
.apl-guy .m { position: absolute; left: 4px; bottom: 0; transform: scale(.95); transform-origin: bottom; }
.apl-guy .m svg { overflow: visible; }
.apl-guy .p { position: absolute; left: 24px; bottom: 6px; line-height: 0; animation: aplMap 2.4s ease-in-out infinite; transform-origin: left bottom; }
.apl-wave { animation: aplWave 1.2s ease-in-out infinite; transform-origin: 8.7px -27px; transform-box: view-box; }
.apl-q { margin-bottom: 12px; }
.apl-q > b { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; color: #fff; font-size: 13.5px; }
.apl-q > b i { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(32, 199, 183, .18); color: #72eadf; font-size: 12px; font-style: normal; }
.apl-rng { padding: 10px 14px 8px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1.5px solid rgba(255, 255, 255, .08); }
.apl-rv { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.apl-rv b { color: #fff; font-size: 19px; }
.apl-rv b small { color: #98a7b6; font-size: 14px; font-weight: 400; }
.apl-rv span { padding: 4px 10px; border-radius: 20px; background: rgba(32, 199, 183, .14); color: #72eadf; font-size: 12px; font-weight: 700; }
.apl-r { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin: 0; border-radius: 8px; outline: 0; cursor: pointer; background: linear-gradient(90deg, #20c7b7 var(--p, 20%), rgba(255, 255, 255, .1) var(--p, 20%)); }
.apl-r::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 5px solid #20c7b7; box-shadow: 0 2px 10px rgba(32, 199, 183, .5); cursor: grab; }
.apl-r::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid #20c7b7; cursor: grab; }
.apl-rs { display: flex; justify-content: space-between; margin-top: 4px; color: #6f7f8f; font-size: 10.5px; }
.apl-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.apl-d { height: 36px; border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .04); color: #98a7b6; font: 700 13px/1 inherit; cursor: pointer; transition: .15s; }
.apl-d.is-on { background: #20c7b7; border-color: #20c7b7; color: #04221f; }
.apl-hint { margin-top: 5px; color: #98a7b6; font-size: 11.5px; }
.apl-res { position: relative; padding: 12px 16px 10px; margin: 4px 0 12px; border-radius: 16px; border: 1px solid rgba(114, 234, 223, .25); background: radial-gradient(circle at 100% 0%, rgba(32, 199, 183, .18), transparent 55%), rgba(255, 255, 255, .03); }
.apl-res small { color: #98a7b6; font-size: 12.5px; }
.apl-res small b { color: #72eadf; }
.apl-date { margin: 0; color: #fff; font-size: 23px; font-weight: 700; letter-spacing: -.3px; }
.apl-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.apl-stats div { display: flex; align-items: baseline; gap: 5px; padding: 5px 10px; border-radius: 20px; background: rgba(0, 0, 0, .25); }
.apl-stats b { color: #fff; font-size: 13.5px; }
.apl-stats span { color: #98a7b6; font-size: 11.5px; }
.apl-tl { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; color: #98a7b6; font-size: 11px; }
.apl-tl b { display: block; color: #e6edf3; font-size: 12px; }
.apl-tl i { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 50%; }
.apl-tl div:last-child { text-align: right; }
.apl-tl div:nth-child(2):not(:last-child) { text-align: center; }
.apl-sec { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 8px auto 0; background: none; border: 0; color: #cfe9df; font: 13px/1.3 inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.apl-acc { margin-top: 8px; }
.apl-acc p, .apl-note { margin: 0 0 8px; color: #98a7b6; font-size: 12px; line-height: 1.45; }
.apl-note { margin-top: 4px; }
.apl-mail { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: #cfe9df; font-size: 13px; cursor: pointer; }
.apl-mail input { width: 17px; height: 17px; accent-color: #20c7b7; }
.apl-mail span { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.apl-mail select { padding: 3px 6px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .15); background: #0f1724; color: #fff; font: inherit; }
.apl-m .apl-del { display: block; margin: 6px auto 0; font-size: 12.5px; }

/* the sea strip: waves filled down to the water, markers bobbing, the boat sailing (or still, in the account) */
.apl-sea { position: relative; height: 86px; margin-top: 8px; border-radius: 12px; overflow: hidden; }
.apl-sea .wb { position: absolute; left: 0; right: 0; top: 57px; bottom: 0; background: #1d3a40; }
.apl-sea .w { position: absolute; left: 0; right: 0; top: 44px; z-index: 1; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M0 7q7-6 14 0t14 0V14H0Z' fill='%231d3a40'/%3E%3Cpath d='M0 7q7-6 14 0t14 0' fill='none' stroke='%2372eadf' stroke-opacity='.6' stroke-width='2'/%3E%3C/svg%3E") repeat-x; animation: aplSea 3s linear infinite; }
.apl-sea .w2 { top: 48px; z-index: 0; opacity: .5; animation-duration: 4.6s; animation-direction: reverse; }
.apl-speed { position: absolute; right: 10px; top: 4px; color: #98a7b6; font-size: 10.5px; }
.apl-mk { position: absolute; bottom: 18px; z-index: 1; line-height: 0; transform: translateX(-50%); animation: aplBob 2.6s ease-in-out infinite; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.apl-mk svg { transform: scale(.85); transform-origin: bottom center; }
.apl-mk.is-2 { animation-delay: -.9s; }
.apl-mk.is-3 { bottom: 16px; animation: none; }
.apl-mk.is-dim { opacity: .55; }
.apl-mk.is-lock::after { content: ""; position: absolute; left: 50%; top: -14px; width: 14px; height: 14px; transform: translateX(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat; }
.apl-boat { position: absolute; bottom: 4px; left: 0; z-index: 2; line-height: 0; transform: translateX(-50%) scale(.78); transform-origin: bottom center; animation: aplSail var(--d, 8s) linear infinite; }
.apl-boat.is-still { animation: none; }
.apl-boat .rk, .apl-day__boat .rk, .apl-sc .bt .rk { position: relative; animation: aplRock 1.6s ease-in-out infinite; transform-origin: 50% 90%; }
.apl-boat .mn, .apl-day__boat .mn, .apl-sc .bt .mn { position: absolute; left: 24px; bottom: 28px; }

@media (min-width: 820px) {
    .apl-plan .apl-m { max-width: 880px; padding: 22px 26px 18px; }
    .apl-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
    .apl-cl { display: flex; flex-direction: column; }
    .apl-cl .apl-btn { margin-top: auto; }
    .apl-cl .apl-q:last-of-type { margin-bottom: 16px; }
    .apl-cr { padding-top: 34px; }
    .apl-res { margin: 0; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }
    .apl-plan .apl-sea { height: 104px; margin-top: 14px; }
    .apl-plan .apl-sea .w { top: 62px; } .apl-plan .apl-sea .w2 { top: 66px; } .apl-plan .apl-sea .wb { top: 75px; }
    .apl-plan .apl-boat { transform: translateX(-50%) scale(.88); }
    .apl-date { font-size: 26px; }
}
@media (max-width: 819px) {
    .apl-grid { display: flex; flex-direction: column; }
    .apl-cl, .apl-cr { display: contents; }
    .apl-head { order: 0; } .apl-q { order: 1; } .apl-res { order: 2; } .apl-cl .apl-btn { order: 3; } .apl-sec, .apl-mail { order: 4; } .apl-acc, .apl-note { order: 5; } .apl-m .apl-del { order: 6; }
    .apl-m { padding: 16px 16px 12px; }
    .apl-head h3 { font-size: 17px; } .apl-head p { font-size: 12.5px; }
    .apl-guy { transform: scale(.82); transform-origin: left bottom; width: 48px; flex-basis: 48px; height: 42px; }
    .apl-d { height: 34px; font-size: 12.5px; } .apl-days { gap: 5px; }
    .apl-res { padding: 10px 12px 8px; } .apl-date { font-size: 21px; }
    .apl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
    .apl-stats div { flex-direction: column; align-items: center; gap: 0; padding: 5px 4px; border-radius: 10px; text-align: center; }
    .apl-stats span { font-size: 10.5px; }
    .apl-sea { height: 80px; } .apl-sea .w { top: 40px; } .apl-sea .w2 { top: 44px; } .apl-sea .wb { top: 53px; }
    .apl-boat { transform: translateX(-50%) scale(.72); }
    .apl-tl { font-size: 10.5px; } .apl-tl b { font-size: 11.5px; }
}

/* ---- lesson: the day bar and the invitation ---- */
.apl-lesson:empty { display: none; }
.apl-day { position: relative; margin: 4px 0 18px; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(114, 234, 223, .28); background: radial-gradient(circle at 100% 0, rgba(32, 199, 183, .16), transparent 60%), rgba(255, 255, 255, .035); color: #e6edf3; animation: aplIn .5s ease; font-size: 13px; }
.apl-day.is-behind { border-color: rgba(251, 191, 36, .45); }
.apl-day__top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; color: #72eadf; }
.apl-day__top b { color: #fff; font-size: 13.5px; }
.apl-day__top .end { margin-left: auto; color: #98a7b6; font-size: 12px; white-space: nowrap; }
.apl-day__top .end strong { color: #72eadf; }
.apl-day__top .apl-link { margin-left: 6px; }
.apl-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 20px; background: rgba(73, 209, 125, .14); color: #86efac; font-size: 11px; font-weight: 700; }
.apl-day__row { position: relative; display: flex; gap: 5px; margin: 50px 0 8px; }
.apl-day__row i { flex: 1; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); transition: background .4s; }
.apl-day__row i.is-done { background: #49d17d; }
.apl-day__row i.is-cur { background: rgba(32, 199, 183, .45); animation: aplPulse 1.4s ease-in-out infinite; }
.apl-day__boat { position: absolute; bottom: -4px; left: 0; line-height: 0; transform: translateX(-50%) scale(.56); transform-origin: bottom center; transition: left .9s cubic-bezier(.5, 0, .3, 1); }
.apl-day__txt { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; color: #98a7b6; font-size: 12px; }
.apl-day__row + .apl-day__txt { margin-top: 0; }
.apl-day__txt b { color: #fff; }
.apl-day .apl-pill { margin-top: 0; }
.apl-inv { display: flex; align-items: center; gap: 12px; margin: 4px 0 18px; padding: 10px 12px 10px 8px; border-radius: 14px; border: 1px dashed rgba(114, 234, 223, .35); background: rgba(255, 255, 255, .03); color: #e6edf3; cursor: pointer; transition: .2s; animation: aplIn .5s ease; }
.apl-inv:hover, .apl-inv:focus-visible { border-style: solid; background: rgba(32, 199, 183, .07); outline: 0; }
.apl-inv .bt { position: relative; flex: 0 0 46px; width: 46px; height: 40px; line-height: 0; }
.apl-inv .bt .m { position: absolute; left: 10px; bottom: 0; transform: scale(.8); transform-origin: bottom; }
.apl-inv .bt .m svg { overflow: visible; }
.apl-inv .bt .p { position: absolute; left: 22px; bottom: 4px; animation: aplMap 2.4s ease-in-out infinite; transform-origin: left bottom; }
.apl-inv { flex-wrap: wrap; } /* a narrow lesson column (notebook open, text resized): the button goes under the text */
.apl-inv > div:not(.bt) { flex: 1 1 150px; min-width: 0; }
.apl-inv b { display: block; color: #fff; font-size: 13.5px; }
.apl-inv span { color: #98a7b6; font-size: 12px; }
.apl-inv .go { margin-left: auto; padding: 7px 10px; border-radius: 10px; background: #20c7b7; color: #04221f; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.apl-inv .x { padding: 0 2px; border: 0; background: none; color: #6f7f8f; font-size: 16px; cursor: pointer; }
@media (max-width: 560px) { .apl-inv span:not(.go) { display: none; } .apl-day__top .end { margin-left: 0; } }

/* ---- the end of today's plan, the account prompts ---- */
.apl-end .apl-m { padding: 0 22px 16px; }
.apl-sc { position: relative; height: 108px; margin: 0 -22px; overflow: hidden; border-radius: 22px 22px 0 0; background: radial-gradient(circle at 80% 10%, rgba(253, 230, 138, .25), transparent 40%), linear-gradient(180deg, #1c3550, #16283c); }
.apl-sc .w { position: absolute; left: 0; right: 0; bottom: 22px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M0 7q7-6 14 0t14 0V14H0Z' fill='%231d3a40'/%3E%3Cpath d='M0 7q7-6 14 0t14 0' fill='none' stroke='%2372eadf' stroke-opacity='.6' stroke-width='2'/%3E%3C/svg%3E") repeat-x; animation: aplSea 3s linear infinite; }
.apl-sc .wb { position: absolute; left: 0; right: 0; bottom: 0; height: 23px; background: #1d3a40; }
.apl-sc .isl { position: absolute; right: 16%; bottom: 14px; line-height: 0; }
.apl-sc .bt { position: absolute; bottom: 6px; left: 58%; line-height: 0; transform: translateX(-50%) scale(.8); transform-origin: bottom center; animation: aplDock 2.2s cubic-bezier(.2, .7, .3, 1) both; }
.apl-sc .cf { position: absolute; top: -12px; width: 6px; height: 10px; border-radius: 2px; animation: aplConf 2.4s linear forwards; }
.apl-end h3 { margin-top: 16px; font-size: 22px; }
.apl-nx { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .25); color: #b8c4d0; font-size: 13px; }
.apl-nx b { color: #fff; }
.apl-acc2 { margin-top: 14px; padding: 14px; border-radius: 16px; border: 1px solid rgba(114, 234, 223, .3); background: radial-gradient(circle at 100% 0, rgba(32, 199, 183, .14), transparent 60%), rgba(255, 255, 255, .03); }
.apl-acc2 > b { display: block; margin-bottom: 4px; color: #fff; font-size: 15px; }
.apl-acc2 p { margin: 0 0 8px; color: #98a7b6; font-size: 12.5px; }
.apl-acc2 ul { margin: 0 0 12px; padding: 0; list-style: none; font-size: 13px; line-height: 1.75; }
.apl-acc2 li::before { content: "✓"; margin-right: 8px; color: #49d17d; font-weight: 700; }
.apl-acc2 .apa-google { margin-bottom: 8px; }
.apl-ft { display: flex; justify-content: space-between; margin-top: 12px; }
.apl-ft button { padding: 0; border: 0; background: none; color: #98a7b6; font: 12.5px/1.3 inherit; text-decoration: underline; cursor: pointer; }

/* ---- toast ---- */
.apl-toast { position: fixed; left: 50%; bottom: 92px; z-index: 100001; max-width: min(520px, calc(100vw - 32px)); box-sizing: border-box; padding: 12px 16px; border-radius: 14px; border: 1px solid #49d17d; background: #131c29; color: #e6edf3; font-size: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); opacity: 0; transform: translateX(-50%) translateY(20px); transition: .35s; pointer-events: none; }
.apl-toast.is-on { opacity: 1; transform: translateX(-50%); }
.apl-toast b, .apl-toast .apl-i { color: #49d17d; }

/* ---- catching up ---- */
.apl-ro h3 { padding-right: 32px; }
.apl-opt { display: flex; gap: 12px; align-items: flex-start; margin-top: 10px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); cursor: pointer; }
.apl-opt.is-on { border-color: #20c7b7; background: rgba(32, 199, 183, .1); }
.apl-opt input { position: absolute; opacity: 0; pointer-events: none; }
.apl-opt .ic { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(32, 199, 183, .14); color: #72eadf; }
.apl-opt .tx b { display: block; color: #fff; font-size: 14.5px; }
.apl-opt .tx b em { margin-left: 6px; padding: 2px 7px; border-radius: 8px; background: rgba(32, 199, 183, .18); color: #72eadf; font-size: 11px; font-style: normal; }
.apl-opt .tx small { display: block; margin-top: 2px; color: #98a7b6; font-size: 12.5px; }
.apl-opt .tx small b { display: inline; font-size: inherit; }
.apl-ro .apl-btn { margin-top: 14px; }
.apl-ok { display: grid; place-items: center; width: 48px; height: 48px; margin: 6px 0 10px; border-radius: 50%; background: rgba(73, 209, 125, .16); color: #49d17d; }
.apl-ok .apl-i { width: 22px; height: 22px; }

/* ---- account: the plan in the streak bar ---- */
.apa-mom__plan { min-width: 0; }
.apl-k { margin-bottom: 8px; color: #98a7b6; font: 700 11px/1.3 ui-monospace, Menlo, monospace; letter-spacing: .6px; text-transform: uppercase; }
.apl-k b { color: #72eadf; }
.apl-k b.is-warn { color: #fbbf24; }
.apl-seg { display: flex; gap: 6px; margin: 4px 0 10px; }
.apl-seg i { flex: 1; height: 8px; border-radius: 5px; background: rgba(255, 255, 255, .1); }
.apl-seg i.is-done { background: #49d17d; }
.apl-seg i.is-cur { background: rgba(32, 199, 183, .5); animation: aplPulse 1.4s ease-in-out infinite; }
.apl-seg i.is-miss { background: repeating-linear-gradient(135deg, rgba(251, 191, 36, .55) 0 4px, rgba(251, 191, 36, .15) 4px 8px); }
.apl-t { color: #98a7b6; font-size: 14px; line-height: 1.5; }
.apl-t b { color: #fff; }
.apl-t em { color: #72eadf; font-style: normal; font-weight: 700; }
.apl-t .apl-ok, .apl-hero .apl-ok { display: inline-flex; width: auto; height: auto; margin: 0 0 0 6px; padding: 2px 8px; border-radius: 12px; background: rgba(73, 209, 125, .14); color: #86efac; font-size: 11.5px; font-weight: 700; place-items: initial; align-items: center; gap: 3px; }
.apl-hero .apl-ok.is-warn { background: rgba(251, 191, 36, .14); color: #fcd34d; }
.apl-hero .apl-ok.is-mute { background: rgba(148, 163, 184, .14); color: #cbd5e1; }
.apl-a a { display: inline-block; margin-top: 8px; color: #72eadf !important; font-size: 13.5px; font-weight: 700; text-decoration: underline; }

/* ---- account: "Planul meu" ---- */
.apl-pm { color: #e6edf3; }
.apl-pm__hd { display: flex; align-items: flex-end; gap: 14px; margin: 0 0 18px; }
.apl-pm__hd .apl-guy { flex-basis: 62px; width: 62px; height: 54px; }
.apl-pm__hd .apa-title { margin: 0; }
.apl-pm__hd .apa-muted { margin: 4px 0 0; }
.apl-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.apl-tab { padding: 7px 12px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .12); background: none; color: #98a7b6 !important; font: 700 13px/1.2 inherit; text-decoration: none !important; cursor: pointer; }
.apl-tab.is-on { border-color: #20c7b7; background: rgba(32, 199, 183, .15); color: #72eadf !important; }
.apl-hero { margin-bottom: 18px; overflow: hidden; border-radius: 22px; border: 1px solid rgba(114, 234, 223, .25); background: radial-gradient(circle at 90% 0, rgba(32, 199, 183, .18), transparent 50%), linear-gradient(180deg, #152131, #101a27); }
.apl-hero__in { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 22px 24px 6px; }
.apl-hero__k { color: #98a7b6; font-size: 13px; }
.apl-hero__date { margin: 2px 0 6px; color: #fff; font-size: 34px; font-weight: 800; letter-spacing: -.5px; }
.apl-hero__sub { color: #98a7b6; font-size: 14px; }
.apl-hero__sub b { color: #72eadf; }
.apl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.apl-chips span { padding: 6px 11px; border-radius: 20px; background: rgba(0, 0, 0, .25); color: #cbd5e1; font-size: 12.5px; }
.apl-chips b { color: #fff; }
.apl-ring { position: relative; width: 120px; height: 120px; }
.apl-ring svg { transform: rotate(-90deg); }
.apl-ring div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.apl-ring b { color: #fff; font-size: 24px; line-height: 1; }
.apl-ring span { margin-top: 3px; color: #98a7b6; font-size: 11.5px; }
.apl-sea.is-wide { height: 96px; margin: 6px 0 0; border-radius: 0; }
.apl-sea.is-wide .wb { top: 67px; } .apl-sea.is-wide .w { top: 54px; } .apl-sea.is-wide .w2 { top: 58px; }
.apl-sea.is-wide .apl-mk { bottom: 16px; }
.apl-sea.is-wide .apl-boat { bottom: 2px; transform: translateX(-50%) scale(.8); }
.apl-you { position: absolute; top: 0; z-index: 3; padding: 2px 8px; border-radius: 10px; background: #72eadf; color: #04221f; font-size: 11px; font-weight: 700; transform: translateX(-50%); white-space: nowrap; }
.apl-tl2 { display: flex; justify-content: space-between; gap: 10px; padding: 10px 24px 16px; background: #1d3a40; color: #a8c3c9; font-size: 12px; }
.apl-tl2 b { display: block; color: #fff; font-size: 13px; }
.apl-tl2 div:last-child { text-align: right; }
.apl-card { margin-bottom: 18px; padding: 18px 20px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .025); }
.apl-card h3 { margin: 0; color: #fff; font-size: 16px; }
.apl-card p { color: #98a7b6; }
.apl-warn { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .06); color: #e6edf3; }
.apl-warn b { color: #fcd34d; }
.apl-ct { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.apl-ct span { color: #98a7b6; font-size: 12.5px; }
.apl-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.apl-wd { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 104px; padding: 12px 4px 10px; border-radius: 16px; text-align: center; }
.apl-wd .dn { color: #6f7f8f; font-size: 11px; font-weight: 700; letter-spacing: .8px; }
.apl-wd .dd { margin: 2px 0 8px; color: #e6edf3; font-size: 20px; font-weight: 800; }
.apl-wd.is-off .dd, .apl-wd .z { color: #4b5a69; }
.apl-wd .z { margin-top: auto; font-size: 11.5px; }
.apl-wd.is-st { border: 1px solid rgba(32, 199, 183, .3); background: linear-gradient(180deg, rgba(32, 199, 183, .16), rgba(32, 199, 183, .04)); }
.apl-wd .l { color: #72eadf; font-size: 12.5px; font-weight: 700; }
.apl-wd .l.is-done { display: inline-flex; align-items: center; gap: 3px; color: #86efac; }
.apl-wd .mi { margin-top: 2px; color: #98a7b6; font-size: 11px; }
.apl-wd.is-td { border: 2px solid #20c7b7; box-shadow: 0 0 24px rgba(32, 199, 183, .25); }
.apl-wd .az { position: absolute; top: -9px; left: 50%; padding: 2px 8px; border-radius: 10px; background: #20c7b7; color: #04221f; font-size: 10px; font-weight: 800; letter-spacing: .5px; transform: translateX(-50%); }
.apl-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.apl-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.apl-ct + .apl-row { border-top: 0; padding-top: 0; }
.apl-row .ic { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 12px; background: rgba(32, 199, 183, .12); color: #72eadf; }
.apl-row .ic.is-red { background: rgba(248, 113, 113, .12); color: #f87171; }
.apl-row .tx { flex: 1; min-width: 0; }
.apl-row .tx b { display: block; color: #fff; font-size: 14.5px; }
.apl-row .tx span { color: #98a7b6; font-size: 12.5px; }
.apl-segc { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, .25); }
.apl-segc button { padding: 6px 10px; border: 0; border-radius: 9px; background: none; color: #98a7b6; font: 700 12.5px/1 inherit; cursor: pointer; }
.apl-segc button.is-on { background: #20c7b7; color: #04221f; }
.apl-sw { position: relative; flex: 0 0 44px; width: 44px; height: 24px; padding: 0; border: 0; border-radius: 14px; background: #20c7b7; cursor: pointer; transition: .2s; }
.apl-sw::after { content: ""; position: absolute; top: 3px; left: 23px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s; }
.apl-sw.is-off { background: rgba(255, 255, 255, .15); }
.apl-sw.is-off::after { left: 3px; }
.apl-empty p { margin: 6px 0 14px; }
@media (max-width: 760px) {
    .apl-hero__in { grid-template-columns: 1fr; padding: 18px 16px 6px; }
    .apl-ring { display: none; }
    .apl-hero__date { font-size: 26px; }
    .apl-tl2 { padding: 10px 16px 14px; }
    .apl-week { gap: 4px; }
    .apl-wd { min-height: 92px; padding: 10px 2px; border-radius: 12px; }
    .apl-wd .dd { font-size: 16px; }
    .apl-wd .l { font-size: 10.5px; }
    .apl-wd .mi { display: none; }
    .apl-row { flex-wrap: wrap; }
    .apl-card { padding: 16px 14px; }
}

/* ---- payment page ---- */
.apl-pw { margin: 0 0 18px; padding: 18px 20px 16px; border-radius: 18px; border: 1px solid rgba(45, 212, 191, .28); background: linear-gradient(160deg, #0f2a2b, #0b1b24); color: #e2e8f0; }
.apl-pw .apl-k span { color: #94a3b8; font-weight: 600; letter-spacing: .3px; text-transform: none; }
.apl-pw h3 { margin: 6px 0 2px; color: #fff; font-size: 20px; line-height: 1.25; }
.apl-pw p { margin: 0; color: #b6c3cf; font-size: 14px; }
.apl-sea.is-pw { height: 96px; margin: 12px 0 4px; }
.apl-sea.is-pw .wb { top: 67px; } .apl-sea.is-pw .w { top: 54px; } .apl-sea.is-pw .w2 { top: 58px; }
.apl-sea.is-pw .apl-mk { bottom: 16px; }
.apl-sea.is-pw .apl-boat { bottom: 0; }
.apl-ax { position: relative; height: 16px; color: #8aa0b2; font-size: 11px; }
.apl-ax b { position: absolute; display: inline-flex; align-items: center; gap: 2px; font-weight: 600; white-space: nowrap; transform: translateX(-50%); }
.apl-ax b.on { color: #5eead4; }
.apl-next { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 12px; border-radius: 12px; border: 1px dashed rgba(148, 163, 184, .35); background: rgba(255, 255, 255, .05); }
.apl-next .ic { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 10px; background: rgba(244, 114, 182, .14); color: #f9a8d4; }
.apl-next strong { display: block; color: #fff; font-size: 14px; }
.apl-next small { color: #94a3b8; font-size: 12.5px; }
.apl-end-d { display: flex !important; align-items: center; gap: 5px; margin-top: 5px; color: #2dd4bf; font-size: 12.5px; font-weight: 600; }
.apa-choice__opt.is-selected .apl-end-d { color: #5eead4; }
.apl-cta { margin: 8px 0 0; color: #94a3b8; font-size: 12.5px; text-align: center; }
.apl-d2 { color: #5eead4; font-weight: 600; }
.apl-pause { margin: 12px 0 0; color: #94a3b8; font-size: 13px; text-align: center; }
.apl-pause > button { padding: 0; border: 0; background: none; color: #cbd5e1; font: inherit; text-decoration: underline; cursor: pointer; }
.apl-pbox { margin-top: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(148, 163, 184, .3); background: rgba(255, 255, 255, .04); color: #cbd5e1; text-align: left; }
.apl-pbox b { color: #fff; }
.apl-pbox ul { margin: 6px 0 10px; padding-left: 18px; }
.apl-pbox li { margin: 2px 0; }
.apl-pbox .r { display: flex; flex-wrap: wrap; gap: 8px; }
.apl-pbox .r button { padding: 7px 14px; border-radius: 999px; border: 1px solid #475569; background: transparent; color: #e2e8f0; font: 600 13px/1 inherit; cursor: pointer; }
.apl-pbox .r button.is-p { background: #e2e8f0; border-color: #e2e8f0; color: #0f172a; }
.apl-okt { color: #5eead4; font-weight: 600; }
@media (max-width: 640px) {
    .apl-pw { padding: 14px 14px 12px; }
    .apl-pw h3 { font-size: 17px; }
    .apl-ax b.m { display: none; }
}

/* ---- sign-up / login: the plan moves into the account ---- */
.apl-prc { display: flex; gap: 12px; align-items: center; margin: 0 0 20px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(114, 234, 223, .35); background: radial-gradient(circle at 100% 0, rgba(32, 199, 183, .16), transparent 60%), rgba(255, 255, 255, .03); color: #e6edf3; animation: aplIn .5s ease; }
.apl-prc .ic { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 12px; background: rgba(32, 199, 183, .15); color: #72eadf; }
.apl-prc b { display: block; margin-bottom: 3px; color: #fff; font-size: 14px; }
.apl-prc span { color: #a9b6c3; font-size: 12.5px; line-height: 1.45; }
