:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#16201c;background:#f5f4ef;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(180deg,#edf4ef,#f8f3e8 48%,#f7f2eb)}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.7}.app-shell{width:min(100%,760px);min-height:100vh;margin:0 auto;padding:18px 16px 92px;position:relative}.app-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.04;color:#10231d}h2{font-size:23px;line-height:1.1;color:#10231d}h3{font-size:17px}.eyebrow{color:#66766c;font-size:12px;font-weight:800;letter-spacing:0;text-transform:uppercase;margin-bottom:5px}.screen-stack{display:grid;gap:16px}.panel,.friend-card{background:#ffffffdb;border:1px solid rgba(19,49,40,.12);border-radius:8px;box-shadow:0 16px 34px #20332a14}.panel{padding:18px}.checklist-block{display:grid;gap:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.panel-heading.compact{justify-content:center}.panel-heading.compact-pulse{margin-bottom:14px}.center-title{text-align:center;min-width:160px}.icon-button{width:44px;height:44px;border:1px solid rgba(16,35,29,.13);border-radius:8px;display:inline-grid;place-items:center;background:#fff;color:#18372e}.progress-ring{min-width:74px;height:74px;border-radius:50%;display:grid;place-items:center;align-content:center;border:7px solid #2f7d62;background:#f8fbf8}.progress-ring strong{font-size:17px}.progress-ring span{font-size:12px;color:#66766c}.checklist{display:grid;gap:10px}.day-complete-button{width:100%;min-height:48px;margin:-4px 0 12px;border:0;border-radius:8px;background:#10231d;color:#fff;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:900}.day-complete-button:disabled{background:#dfe8e2;color:#526257;cursor:default}.check-row{min-height:58px;width:100%;display:flex;align-items:center;gap:12px;padding:12px;border:1px solid rgba(22,32,28,.13);border-radius:8px;background:#fff;color:#16201c;text-align:left;font-weight:700}.check-row.done{background:#e6f3ec;border-color:#8fc5aa;color:#163f31}.checkbox-mark{width:30px;height:30px;flex:0 0 30px;border-radius:8px;border:2px solid #9aac9f;display:grid;place-items:center;background:#fff}.check-row.done .checkbox-mark{background:#2f7d62;border-color:#2f7d62;color:#fff}.identity-screen{min-height:calc(100vh - 120px);display:grid;align-content:center;gap:16px}.brand-mark{width:64px;height:64px;display:grid;place-items:center;border-radius:8px;background:#10231d;color:#e9f4ee}.friend-pick-list{display:grid;gap:10px;margin-top:8px}.friend-pick{width:100%;min-height:64px;border:1px solid rgba(16,35,29,.12);border-radius:8px;background:#ffffffeb;display:flex;align-items:center;gap:12px;padding:12px;font-weight:800;color:#16201c}.avatar{width:42px;height:42px;border-radius:50%;color:#fff;display:inline-grid;place-items:center;font-size:13px;font-weight:900;flex:0 0 42px}.tabbar{position:fixed;bottom:14px;left:50%;transform:translate(-50%);width:min(calc(100% - 24px),720px);display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:8px;border-radius:8px;background:#10231df0;box-shadow:0 18px 42px #00000040}.tabbar button{min-height:54px;border:0;border-radius:8px;display:grid;place-items:center;align-content:center;gap:3px;background:transparent;color:#dbe9e2;font-size:11px;font-weight:800}.tabbar button.active{background:#e7f5ed;color:#10231d}.friends-view{display:grid;gap:12px}.section-title{padding:4px 2px}.friend-card{padding:14px;display:grid;gap:12px}.friend-card-top{display:flex;align-items:center;gap:12px}.friend-card p{color:#66766c;font-size:13px;margin-top:3px}.group-pulse{display:grid;gap:12px}.pulse-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pulse-stats div{padding:10px;border-radius:8px;background:#f6f5ef;display:grid;gap:3px}.pulse-stats strong{font-size:19px}.pulse-stats span{color:#66766c;font-size:12px;font-weight:700}.done-friends-block{display:grid;gap:8px}.done-friends-label{color:#66766c;font-size:12px;font-weight:900;text-transform:uppercase}.done-friends{min-height:34px;display:flex;align-items:center;flex-wrap:wrap;gap:7px}.done-friend-chip{min-height:36px;display:inline-flex;align-items:center;gap:7px;padding:3px 10px 3px 3px;border-radius:999px;background:#eef3ee;color:#18372e;font-size:13px;font-weight:900}.mini-avatar{width:32px;height:32px;border-radius:50%;color:#fff;display:inline-grid;place-items:center;font-size:11px;font-weight:900}.pulse-note{color:#66766c;font-size:13px;font-weight:700}.today-status{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#66766c;font-size:13px;font-weight:800}.status-pill{padding:6px 9px;border-radius:999px;background:#eef3ee;color:#41564d;white-space:nowrap}.status-pill.done{background:#e6f3ec;color:#1d5d45}.status-pill.almost{background:#fff6d8;color:#6b4a00}.status-pill.in-progress{background:#edf3ef;color:#41564d}.status-pill.no-challenges{background:#f1efea;color:#66766c}.meter{height:9px;border-radius:999px;background:#e4e2d9;overflow:hidden}.meter span{height:100%;display:block;background:#2f7d62;border-radius:inherit}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.stat-grid div{padding:10px;border-radius:8px;background:#f6f5ef;display:grid;gap:3px}.stat-grid strong{font-size:19px}.stat-grid span{color:#66766c;font-size:12px;font-weight:700}.heatmap-block{display:grid;gap:8px}.heatmap-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#66766c;font-size:12px;font-weight:800}.heatmap-top strong{color:#18372e;font-size:13px}.heatmap-grid{display:grid;grid-template-columns:repeat(15,minmax(0,1fr));gap:3px}.heatmap-cell{aspect-ratio:1;border-radius:3px;background:#e4e2d9;border:1px solid rgba(16,35,29,.05)}.heatmap-cell.complete{background:#2f7d62}.heatmap-cell.partial{background:#9cd1b6}.heatmap-cell.missed{background:#f0ece2}.heatmap-cell.future,.heatmap-cell.empty{background:#f8f7f2}.mini-challenges{display:flex;flex-wrap:wrap;gap:7px}.mini-challenges span{padding:6px 9px;border-radius:999px;background:#eef3ee;color:#41564d;font-size:12px;font-weight:800}.day-slider{width:100%;accent-color:#2f7d62;margin:4px 0 16px}.locked-area{opacity:.58;pointer-events:none}.notice{margin-bottom:14px;padding:12px;border-radius:8px;background:#fff6d8;color:#6b4a00;border:1px solid #efd27a;font-weight:700;font-size:13px}.notice.error{background:#fff0ec;color:#8f2b17;border-color:#efb5a8}.notice.success{background:#e7f5ed;color:#1d5d45;border-color:#9cd1b6}.notice.inline{margin:0 0 14px}.catch-up-box{display:grid;gap:10px;margin:0 0 16px;padding:12px;border-radius:8px;background:#f6f5ef;border:1px solid rgba(16,35,29,.1)}.catch-up-box strong{color:#18372e}.catch-up-box p{color:#66766c;font-size:13px;font-weight:700;margin-top:3px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:18px;background:#10231d6b}.confirm-dialog{width:min(100%,420px);display:grid;gap:12px;padding:18px;border-radius:8px;background:#fff;border:1px solid rgba(19,49,40,.14);box-shadow:0 24px 70px #00000047}.confirm-dialog p:not(.eyebrow){color:#526257;font-size:14px;font-weight:700;line-height:1.4}.confirm-detail{padding:10px;border-radius:8px;background:#f6f5ef;color:#18372e;font-size:13px;font-weight:900}.confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.celebration-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:35;display:grid;place-items:center;padding:18px;overflow:hidden;background:radial-gradient(circle at 50% 35%,rgba(244,182,63,.28),transparent 28%),radial-gradient(circle at 20% 15%,rgba(49,95,157,.26),transparent 30%),#0a1f19bd;animation:celebration-backdrop-in .52s ease both}.celebration-confetti{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden}.confetti-piece{position:absolute;left:50%;top:45%;width:10px;height:10px;border-radius:2px;opacity:0;box-shadow:0 8px 18px #0000001f;animation:confetti-flight var(--duration) cubic-bezier(.16,.85,.3,1) var(--delay) forwards}.confetti-piece.shape-pill{width:15px;height:7px;border-radius:999px}.confetti-piece.shape-dot{width:8px;height:8px;border-radius:50%}.celebration-card{position:relative;width:min(100%,430px);display:grid;justify-items:center;gap:13px;padding:28px 18px 18px;overflow:hidden;border-radius:8px;background:linear-gradient(180deg,#fff,#f7fbf8 52%,#f6f1e5);border:1px solid rgba(246,230,173,.88);box-shadow:0 34px 90px #00000057,inset 0 1px #fffc;text-align:center;animation:celebration-card-pop .76s cubic-bezier(.18,1.22,.24,1) both}.celebration-card:after{content:"";position:absolute;inset:-35% -18% auto;height:180px;background:linear-gradient(120deg,transparent 18%,rgba(255,255,255,.72) 44%,transparent 66%);transform:rotate(-8deg) translate(-110%);animation:celebration-shine 1.5s ease-out .42s forwards;pointer-events:none}.celebration-rays{position:absolute;inset:-64px 0 auto;height:230px;opacity:.72;pointer-events:none}.celebration-rays span{position:absolute;left:50%;top:50%;width:310px;height:310px;border-radius:50%;transform:translate(-50%,-50%);border:1px solid rgba(244,182,63,.24);animation:celebration-ray 2.6s ease-out infinite}.celebration-rays span:nth-child(2){width:230px;height:230px;border-color:#2f7d6233;animation-delay:.22s}.celebration-rays span:nth-child(3){width:145px;height:145px;border-color:#315f9d33;animation-delay:.44s}.celebration-icon-wrap{position:relative;width:130px;height:130px;display:grid;place-items:center;margin-bottom:2px}.celebration-icon{width:96px;height:96px;display:grid;place-items:center;border-radius:50%;color:#10231d;background:radial-gradient(circle at 38% 28%,#fff8d7 0,#fff8d7 21%,#f2b33d 22%,#f2b33d 58%,#df8f2b);border:7px solid #fff;box-shadow:0 16px 34px #2f7d623d,0 0 0 11px #2f7d621a;animation:celebration-trophy-pop .98s cubic-bezier(.2,1.28,.2,1) both}.celebration-orbit{position:absolute;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:#fff;border:3px solid #fff;box-shadow:0 12px 26px #10231d2e;animation:celebration-orbit 2.2s ease-in-out infinite}.celebration-orbit.orbit-one{top:7px;right:2px;background:#315f9d}.celebration-orbit.orbit-two{left:1px;bottom:12px;background:#e06448;animation-delay:.18s}.celebration-card .eyebrow{position:relative;z-index:1;color:#2f7d62;margin-bottom:-5px}.celebration-card h2{position:relative;z-index:1;font-size:31px;line-height:1.02}.celebration-copy{position:relative;z-index:1;max-width:330px;color:#526257;font-size:15px;font-weight:800;line-height:1.42}.celebration-stat-grid{position:relative;z-index:1;width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:3px}.celebration-stat-grid div{min-height:76px;padding:10px 6px;border-radius:8px;background:#ffffffb8;border:1px solid rgba(16,35,29,.1);display:grid;align-content:center;gap:4px}.celebration-stat-grid strong{color:#10231d;font-size:22px;line-height:1}.celebration-stat-grid span{color:#66766c;font-size:11px;font-weight:900}.celebration-button{position:relative;z-index:1;width:100%;min-height:50px;margin-top:3px;border:0;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#10231d;color:#fff;font-weight:950;box-shadow:0 14px 28px #10231d3d}.sync-button{position:fixed;top:14px;right:14px;border:1px solid rgba(16,35,29,.14);background:#ffffffe6;color:#18372e;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:900}.edit-list{display:grid;gap:10px}.edit-list.spaced{margin-top:14px}.edit-row,.add-row,.form-grid{display:grid;gap:10px}.edit-row{grid-template-columns:1fr auto;align-items:center}.admin-screen .edit-row{grid-template-columns:auto 1fr auto auto}input,select{min-height:44px;width:100%;border:1px solid rgba(16,35,29,.16);border-radius:8px;background:#fff;padding:10px 12px;color:#16201c}.start-date-field{display:grid;gap:6px;margin-bottom:16px;color:#526257;font-size:13px;font-weight:800}.install-card,.reminder-card{display:grid;gap:9px;margin-bottom:16px;padding:12px;border-radius:8px;background:#f6f5ef;border:1px solid rgba(16,35,29,.1)}.install-card{grid-template-columns:1fr auto;align-items:center;gap:12px}.install-card strong,.reminder-card strong{color:#18372e}.install-card p,.reminder-card p{color:#66766c;font-size:13px;font-weight:700;line-height:1.4}.install-copy{display:grid;gap:3px;min-width:0}.install-visual{min-height:42px;display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border-radius:8px;background:#fff;color:#18372e;border:1px solid rgba(16,35,29,.11);font-size:12px;font-weight:900;white-space:nowrap}.install-icon{width:28px;height:28px;border-radius:8px;display:inline-grid;place-items:center;background:#e7f5ed;color:#1d5d45}.install-arrow{color:#8b9a91;font-weight:900}.reminder-card label{display:grid;gap:6px;color:#526257;font-size:13px;font-weight:800}.color-input{width:48px;padding:4px}.add-row{grid-template-columns:1fr auto;margin-top:14px}.add-row button,.form-grid button,.small-button,.danger-button{min-height:44px;border:0;border-radius:8px;padding:0 14px;background:#10231d;color:#fff;font-weight:900;text-decoration:none;display:inline-grid;place-items:center}.small-button{background:#edf3ef;color:#18372e;border:1px solid rgba(16,35,29,.12)}.danger-button{background:#10231d;color:#fff}.mine-footer{display:grid;margin-top:18px;padding-top:14px;border-top:1px solid rgba(16,35,29,.1)}.logout-link{min-height:44px;display:inline-grid;place-items:center;border-radius:8px;color:#8f2b17;background:#fff0ec;border:1px solid #efb5a8;font-weight:900;text-decoration:none}.form-grid label{display:grid;gap:6px;color:#526257;font-size:13px;font-weight:800}.empty-state{padding:18px;color:#66766c;background:#f7f7f2;border-radius:8px;text-align:center;font-weight:700}.admin-screen{display:grid;gap:16px}@media (min-width: 700px){.app-shell{padding-top:28px}h1{font-size:38px}.friends-view{grid-template-columns:repeat(2,minmax(0,1fr))}.section-title{grid-column:1 / -1}.form-grid{grid-template-columns:1fr 1fr auto;align-items:end}}@media (max-width: 430px){.app-shell{padding-inline:12px}h1{font-size:27px}.panel{padding:14px}.celebration-backdrop{padding:12px}.celebration-card{padding:24px 14px 14px}.celebration-card h2{font-size:28px}.celebration-icon-wrap{width:116px;height:116px}.celebration-icon{width:88px;height:88px}.celebration-stat-grid{gap:6px}.celebration-stat-grid div{min-height:72px;padding-inline:4px}.celebration-stat-grid strong{font-size:20px}.celebration-stat-grid span{font-size:10px}.install-card{grid-template-columns:1fr}.install-visual{justify-content:center;width:100%}.admin-screen .edit-row{grid-template-columns:1fr auto}.admin-screen .edit-row svg{display:none}}@keyframes celebration-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes celebration-card-pop{0%{opacity:0;transform:translateY(28px) scale(.88)}62%{opacity:1;transform:translateY(-4px) scale(1.02)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes celebration-trophy-pop{0%{opacity:0;transform:scale(.28) rotate(-18deg)}46%{opacity:1;transform:scale(1.12) rotate(7deg)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes celebration-orbit{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-8px) scale(1.08)}}@keyframes celebration-ray{0%{opacity:0;transform:translate(-50%,-50%) scale(.54)}28%{opacity:1}to{opacity:0;transform:translate(-50%,-50%) scale(1.2)}}@keyframes celebration-shine{0%{transform:rotate(-8deg) translate(-110%)}to{transform:rotate(-8deg) translate(118%)}}@keyframes confetti-flight{0%{opacity:0;transform:translate(-50%,-20px) scale(.35) rotate(0)}12%{opacity:1}48%{opacity:1;transform:translate(calc(-50% + var(--x)),var(--y)) scale(1) rotate(var(--rotate))}to{opacity:0;transform:translate(calc(-50% + var(--x-end)),58vh) scale(.86) rotate(calc(var(--rotate) + 300deg))}}@media (prefers-reduced-motion: reduce){.celebration-backdrop,.celebration-card,.celebration-card:after,.celebration-icon,.celebration-orbit,.celebration-rays span,.confetti-piece{animation:none!important}.celebration-confetti,.celebration-rays{display:none}}
