/* Check-in Diário: compact dashboard action, gentle accessible overlay, original flame. */
#tab-painel .amlealt-checkin-banner {
  width:100%;min-height:48px;margin-top:16px;padding:12px 17px;
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 14px;
  border:1px solid var(--border-subtle,#e2e8f0);border-radius:15px;
  background:var(--surface-secondary,#f7f9fd);color:var(--text-primary,#17243a);
  font:inherit;font-size:12px;text-align:left;cursor:pointer;box-shadow:none;
  transition:border-color .2s ease,background .2s ease,transform .2s ease;
}
#tab-painel .amlealt-checkin-banner:hover:not(:disabled) {border-color:var(--secondary,#3348f7);transform:translateY(-1px)}
#tab-painel .amlealt-checkin-banner:disabled {cursor:wait;opacity:.65}
#tab-painel .amlealt-checkin-banner span {font-size:13px;font-weight:650}
#tab-painel .amlealt-checkin-banner strong {color:var(--secondary,#3348f7);font-size:12px;font-weight:650}
#tab-painel .amlealt-checkin-banner.is-done {border-color:color-mix(in srgb,var(--secondary,#3348f7),transparent 76%)}
.amlealt-checkin-overlay,.amlealt-checkin-celebration {
  position:fixed;inset:0;z-index:100050;display:flex;justify-content:center;align-items:center;
  padding:20px;padding-bottom:max(20px,env(safe-area-inset-bottom));
  background:rgba(8,18,37,.56);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);
}
.amlealt-checkin-modal,.amlealt-checkin-celebration-card {
  position:relative;box-sizing:border-box;width:min(100%,420px);max-height:calc(100dvh - 40px);
  overflow-y:auto;border-radius:26px;padding:33px 26px 24px;
  background:var(--surface-primary,#fff);color:var(--text-primary,#111a30);
  border:1px solid var(--border-subtle,rgba(255,255,255,.1));
  box-shadow:0 28px 75px rgba(0,0,0,.22);animation:amlealtCheckinIn .38s cubic-bezier(.2,1,.3,1) both;
}
.amlealt-checkin-close {
  position:absolute;top:14px;right:15px;display:grid;place-items:center;
  width:35px;height:35px;border:0;border-radius:50%;font-size:25px;cursor:pointer;
  background:var(--surface-secondary,#f0f2f7);color:var(--text-primary,#111a30);
}
.amlealt-checkin-modal h2 {font:inherit;font-size:clamp(20px,5vw,25px);font-weight:750;line-height:1.25;letter-spacing:-.02em;margin:12px 20px 9px 0}
.amlealt-checkin-modal p {font:inherit;font-size:13px;line-height:1.5;margin:0 0 23px;color:var(--text-secondary,#69758b)}
.amlealt-checkin-options {display:grid;gap:10px}
.amlealt-checkin-options button {
  min-height:50px;text-align:left;cursor:pointer;font:inherit;font-weight:650;font-size:14px;
  padding:13px 16px;border-radius:14px;border:1px solid var(--border-subtle,#dde4ed);
  background:var(--surface-secondary,#f7f9fc);color:var(--text-primary,#111a30);
  transition:border-color .2s ease,transform .2s ease;
}
.amlealt-checkin-options button:hover:not(:disabled) {border-color:var(--secondary,#3348f7);transform:translateY(-1px)}
.amlealt-checkin-options button:disabled {opacity:.6}
.amlealt-checkin-skip {display:block;margin:20px auto 0;background:transparent;border:0;color:var(--text-secondary,#758092);font:inherit;font-size:12px;cursor:pointer;padding:8px}
.amlealt-checkin-celebration {z-index:100060;text-align:center;background:rgba(8,18,37,.7)}
.amlealt-checkin-celebration-card {padding:34px 24px 27px}
.amlealt-checkin-flame {height:139px;width:115px;margin:0 auto 6px;transform-origin:50% 80%;animation:amlealtFireLight .75s cubic-bezier(.2,1.2,.4,1) both}
.amlealt-checkin-flame svg {width:100%;height:100%;filter:drop-shadow(0 10px 20px rgba(255,128,23,.3));animation:amlealtFirePulse 1s ease-in-out 2 alternate}
.amlealt-checkin-celebration-count {display:block;font-size:clamp(26px,8vw,38px);font-weight:850;letter-spacing:-.03em;color:var(--text-primary,#111a30);animation:amlealtCountRise .55s .35s both}
.amlealt-checkin-celebration-card h2 {font-size:20px;line-height:1.2;margin:9px 0 8px;font-weight:750}
.amlealt-checkin-celebration-card p {font-size:13px;color:var(--text-secondary,#64748b);margin:0 0 21px}
.amlealt-checkin-celebration-card button {border:0;border-radius:12px;padding:10px 24px;color:#fff;background:var(--secondary,#3348f7);font:inherit;font-weight:650;cursor:pointer}
.amlealt-checkin-sequence-status p {color:var(--text-secondary,#64748b);font-size:13px;line-height:1.6;margin:0 0 14px}
.amlealt-checkin-sequence-status h3 {margin-bottom:9px}
@keyframes amlealtCheckinIn {from {opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes amlealtFireLight {0% {opacity:.2;transform:scale(.4) rotate(-12deg);filter:grayscale(1)}55%{opacity:1;transform:scale(1.17) rotate(5deg);filter:grayscale(0)}100%{transform:scale(1) rotate(0)}}
@keyframes amlealtFirePulse {from{transform:scale(.95)}to{transform:scale(1.05)}}
@keyframes amlealtCountRise {from{opacity:0;transform:translateY(11px) scale(.85)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:620px) {#tab-painel .amlealt-checkin-banner {padding:12px 14px;border-radius:13px} .amlealt-checkin-modal {padding:29px 20px 22px}.amlealt-checkin-celebration-card{padding:27px 20px}}
@media(prefers-reduced-motion:reduce) {
  .amlealt-checkin-modal,.amlealt-checkin-celebration-card,.amlealt-checkin-flame,.amlealt-checkin-flame svg,.amlealt-checkin-celebration-count {animation:none!important;transition:none!important}
  .amlealt-checkin-options button:hover,#tab-painel .amlealt-checkin-banner:hover {transform:none}
}
.amlealt-checkin-celebration-card.is-evolution{background:radial-gradient(ellipse at 50% 0%,rgba(174,120,244,.2),transparent 68%),var(--surface-page,#fff);border-color:rgba(157,111,226,.42);box-shadow:0 24px 82px rgba(98,76,160,.2)}
.amlealt-checkin-celebration-card.is-eternal{background:radial-gradient(ellipse at 50% 0%,rgba(96,211,207,.2),transparent 55%),radial-gradient(ellipse at 85% 100%,rgba(185,135,255,.16),transparent 58%),var(--surface-page,#fff);border:1px solid rgba(206,171,103,.62);box-shadow:0 24px 90px rgba(70,110,130,.2),0 0 50px rgba(182,138,246,.16)}
