:root{
  --blue:#075fe4;--blue2:#0b4fb9;--navy:#102b55;--ink:#14213d;--muted:#667085;--bg:#f6f8fb;--card:#fff;--line:#e8edf4;
  --green:#13a15a;--green-soft:#eaf8f0;--orange:#ff7a1a;--orange-soft:#fff0e5;--yellow:#ffcc42;--purple:#7a57e8;--red:#e94c4c;
  --shadow:0 12px 32px rgba(22,45,86,.08);--shadow-lg:0 24px 56px rgba(22,45,86,.14);--radius:22px;--font:'Noto Sans Gujarati',system-ui,-apple-system,'Segoe UI',sans-serif;
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#edf2f8;color:var(--ink);font-family:var(--font)}button,input,select,textarea{font:inherit}button{cursor:pointer}body{overscroll-behavior-y:none}
.app-shell{min-height:100dvh;display:flex;justify-content:center;background:radial-gradient(circle at 15% 0,#fff 0,#f2f6fb 38%,#eaf0f7 100%)}
.app-surface{width:100%;min-height:100dvh;background:var(--bg);position:relative;overflow:hidden;padding-bottom:92px}
@media(min-width:720px){.app-surface{max-width:430px;min-height:920px;margin:24px 0;border-radius:38px;box-shadow:var(--shadow-lg);border:1px solid rgba(255,255,255,.9)}}
.app-header{height:88px;padding:18px 18px 10px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.86));backdrop-filter:blur(18px);position:sticky;top:0;z-index:30;border-bottom:1px solid rgba(232,237,244,.7)}
.identity-row{display:flex;align-items:center;gap:11px}.avatar-btn{width:44px;height:44px;border-radius:50%;border:2px solid #dfe9f8;background:linear-gradient(145deg,#1d74ee,#0b4fb9);color:#fff;font-weight:800;box-shadow:0 6px 14px rgba(7,95,228,.2)}.identity-copy{display:flex;flex-direction:column;line-height:1.2}.identity-copy .hello{font-size:11px;color:#8892a6}.identity-copy strong{font-size:15px;color:var(--navy)}.identity-copy small{font-size:10px;color:#8490a5;margin-top:3px}.pin-mini{color:var(--green)}.wave{font-size:14px}.icon-btn{width:42px;height:42px;border:0;border-radius:14px;background:#fff;box-shadow:0 8px 18px rgba(31,54,94,.08);display:grid;place-items:center;color:var(--navy)}.notification-btn{position:relative}.notification-dot{width:8px;height:8px;border-radius:50%;background:#ff6b00;border:2px solid #fff;position:absolute;right:8px;top:8px}.view-host{padding:4px 16px 26px}.view{display:none;animation:fade .22s ease}.view.active{display:block}@keyframes fade{from{opacity:.55;transform:translateY(4px)}to{opacity:1;transform:none}}
.motivation-card{background:linear-gradient(135deg,#fff9e9 0,#fff 62%,#edf7ff 100%);border:1px solid #f2ead8;border-radius:22px;padding:16px 16px;display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow);margin:12px 0 18px}.motivation-card p{margin:4px 0 3px;font-size:14px;font-weight:800;color:var(--navy)}.motivation-card small{color:var(--muted);font-size:10px}.motivation-art{width:54px;height:54px;border-radius:18px;background:#fff;display:grid;place-items:center;font-size:26px;box-shadow:0 10px 22px rgba(255,171,43,.15)}.mini-label,.section-kicker{font-size:9px;font-weight:800;letter-spacing:.13em;color:#7b8ba4;text-transform:uppercase}.section-row{display:flex;justify-content:space-between;align-items:end;margin:18px 1px 10px}.section-row.compact{margin-top:22px}.section-row h2,.screen-title-row h1,.impact-hero h1{margin:2px 0 0;font-size:19px;color:var(--navy);letter-spacing:-.02em}.section-row h2{font-size:17px}.link-btn{border:0;background:none;color:var(--blue);font-size:11px;font-weight:800;padding:6px}.nitya-card{background:#fff;border-radius:24px;border:1px solid var(--line);padding:14px;box-shadow:var(--shadow)}.nitya-progress-head{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-bottom:8px}.nitya-progress-head strong{color:var(--blue)}.progress-track{height:7px;background:#edf1f6;border-radius:99px;overflow:hidden}.progress-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#20b86a,#0aa04d);border-radius:inherit;transition:width .25s}.progress-track.blue span{background:linear-gradient(90deg,#0d6df5,#42a2ff)}.nitya-list{margin-top:9px}.nitya-item{display:flex;align-items:center;gap:10px;padding:10px 2px;border-bottom:1px solid #f0f3f7}.nitya-item:last-child{border-bottom:0}.task-emoji{width:33px;height:33px;border-radius:11px;background:#f4f7fb;display:grid;place-items:center;font-size:18px;flex:0 0 auto}.nitya-copy{flex:1;min-width:0}.nitya-copy strong{display:block;font-size:12px;color:#263650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nitya-copy small{display:block;font-size:9px;color:#98a1b2;margin-top:2px}.circle-check{width:27px;height:27px;border-radius:50%;border:2px solid #cbd5e1;background:#fff;color:#fff;display:grid;place-items:center;font-weight:900}.circle-check.done{background:var(--green);border-color:var(--green)}.soft-btn{width:100%;border:0;border-radius:14px;background:#eef6ff;color:var(--blue);font-weight:800;font-size:10px;padding:10px;margin-top:8px}.soft-btn span{margin-left:5px}.mission-head{margin-top:20px}.day-pill{background:#fff3df;color:#e57b08;font-size:10px;font-weight:800;border-radius:99px;padding:6px 10px}.mission-card{background:linear-gradient(145deg,#fff8e7 0,#fff 72%);border:1px solid #f3e6c7;border-radius:24px;padding:14px;position:relative;box-shadow:var(--shadow)}.mission-art{height:88px;border-radius:18px;background:linear-gradient(145deg,#e9f8ef,#f7fbff);display:flex;align-items:flex-end;justify-content:center;gap:14px;font-size:38px;margin-bottom:12px;overflow:hidden}.mission-art .bin{transform:translateY(-7px)}.mission-copy h3{font-size:15px;line-height:1.45;margin:6px 0;color:var(--navy)}.mission-copy p{font-size:10px;line-height:1.55;color:var(--muted);margin:0 0 9px}.mission-cat{font-size:9px;font-weight:800;color:#c06b00}.mission-meta{display:flex;gap:14px;font-size:9px;color:#7b879a;font-weight:700;margin-bottom:12px}.primary-btn{border:0;background:linear-gradient(135deg,var(--blue),#0a72f8);color:#fff;border-radius:14px;padding:12px 16px;font-weight:800;box-shadow:0 10px 18px rgba(7,95,228,.18)}.primary-btn.full{width:100%;display:flex;justify-content:center;gap:8px}.primary-btn:active{transform:translateY(1px)}.stats-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.stats-strip>div{background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px 6px;text-align:center;box-shadow:0 7px 20px rgba(22,45,86,.05)}.stat-icon{display:block;font-size:17px}.stats-strip strong{display:block;font-size:13px;margin-top:4px;color:var(--navy)}.stats-strip small{font-size:8px;color:#8f99aa}.top-summary-strip{gap:0;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 10px 28px rgba(22,45,86,.07);margin:10px 0 12px}.top-summary-strip>div{background:transparent;border:0;border-radius:0;box-shadow:none;padding:14px 8px;position:relative}.top-summary-strip>div:not(:last-child)::after{content:"";position:absolute;right:0;top:16%;bottom:16%;width:1px;background:#e9edf4}.top-summary-strip .stat-icon{font-size:18px}.top-summary-strip strong{font-size:16px;font-weight:900}.top-summary-strip small{font-size:9px;font-weight:700}.city-snapshot{margin:14px 0 0;border-radius:22px;background:linear-gradient(135deg,#0c56c7,#0b75ec);color:#fff;padding:16px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 16px 34px rgba(5,88,210,.22)}.city-snapshot .section-kicker{color:#a8d4ff}.city-snapshot h2{font-size:18px;margin:3px 0}.city-snapshot p{font-size:10px;margin:2px 0;color:#e5f0ff}.round-arrow{width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:var(--blue);font-size:20px;font-weight:800}
.screen-title-row{padding:12px 2px 4px}.screen-title-row h1{font-size:23px}.screen-title-row p{margin:4px 0 12px;color:var(--muted);font-size:10px}.search-box{height:48px;background:#fff;border:1px solid #dfe7f2;border-radius:16px;display:flex;align-items:center;gap:8px;padding:0 13px;box-shadow:0 8px 22px rgba(25,53,95,.04)}.search-box span{font-size:22px;color:#8290a5;transform:rotate(-20deg)}.search-box input{border:0;outline:0;flex:1;color:var(--ink);background:transparent;font-size:11px}.category-chips{display:flex;gap:7px;overflow:auto;padding:12px 1px 3px;scrollbar-width:none}.category-chips::-webkit-scrollbar{display:none}.category-chip{border:1px solid #dfe6ef;background:#fff;color:#5e6a7c;border-radius:99px;padding:8px 12px;font-size:10px;font-weight:700;white-space:nowrap}.category-chip.active{background:var(--blue);color:#fff;border-color:var(--blue)}.task-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.task-card{background:#fff;border:1px solid var(--line);border-radius:19px;padding:13px;min-height:136px;position:relative;box-shadow:0 8px 22px rgba(22,45,86,.05);display:flex;flex-direction:column}.task-card .task-top{display:flex;justify-content:space-between;align-items:start}.task-card .task-emoji{width:43px;height:43px;font-size:24px}.points-pill{color:#d58400;font-size:9px;font-weight:900}.task-card h3{font-size:12px;line-height:1.4;margin:10px 0 7px;color:#213352}.task-card .cat-tag{margin-top:auto;align-self:flex-start;border-radius:8px;padding:4px 7px;background:#eff6ff;color:#3975bc;font-size:8px;font-weight:800}.task-card:nth-child(2n) .cat-tag{background:#ecf9f0;color:#289b5c}.task-card .do-task-btn{position:absolute;inset:0;border:0;background:transparent;border-radius:inherit}.custom-task-banner{width:100%;margin-top:13px;border:1px solid #d6e9ff;background:#eaf5ff;border-radius:18px;padding:12px;display:flex;align-items:center;text-align:left;color:var(--navy)}.custom-plus{width:35px;height:35px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:20px;margin-right:10px}.custom-task-banner span:nth-child(2){display:flex;flex-direction:column;flex:1}.custom-task-banner strong{font-size:11px}.custom-task-banner small{font-size:8px;color:#71829a;margin-top:3px}.chev{font-size:22px;color:#7693b7}.recent-list{display:flex;flex-direction:column;gap:8px}.recent-item{background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px;display:flex;align-items:center;gap:9px}.recent-item .task-emoji{width:34px;height:34px}.recent-item strong{font-size:11px;display:block}.recent-item small{font-size:8px;color:#8b95a6}.recent-item .recent-pts{margin-left:auto;font-size:9px;font-weight:800;color:#e38c00}
.leader-type-tabs{background:#eef2f7;border-radius:14px;padding:4px;display:grid;grid-template-columns:repeat(4,1fr);gap:3px;margin:10px 0}.leader-type-tabs button,.period-tabs button,.impact-tabs button{border:0;background:transparent;color:#78869b;font-size:9px;font-weight:800;border-radius:11px;padding:9px 6px}.leader-type-tabs button.active,.period-tabs button.active,.impact-tabs button.active{background:#fff;color:var(--blue);box-shadow:0 5px 14px rgba(36,64,105,.08)}.period-row{display:flex;justify-content:center}.period-tabs{display:flex;background:#f1f4f8;padding:3px;border-radius:12px}.leader-summary-card{border-radius:22px;background:linear-gradient(145deg,#fff5d9,#fff);border:1px solid #f3e4b8;padding:14px;margin:12px 0;display:flex;align-items:center;gap:11px}.leader-summary-card .trophy{width:48px;height:48px;border-radius:16px;background:#fff6cf;display:grid;place-items:center;font-size:27px}.leader-summary-card h2{margin:0;font-size:15px;color:var(--navy)}.leader-summary-card p{margin:3px 0 0;font-size:9px;color:#7b8495}.ranking-toggle{display:flex;gap:7px;margin:0 0 10px}.ranking-toggle button{border:1px solid #dfe7f1;background:#fff;border-radius:12px;padding:7px 11px;font-size:9px;font-weight:800;color:#6e7c91}.ranking-toggle button.active{background:var(--blue);color:#fff;border-color:var(--blue)}.rank-list{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden}.rank-row{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;padding:11px 12px;border-bottom:1px solid #eef2f6}.rank-row:last-child{border-bottom:0}.rank-row.highlight{background:#fff6cf}.rank-badge{width:28px;height:28px;border-radius:50%;background:#f2f5f8;display:grid;place-items:center;font-size:11px;font-weight:900;color:#61718b}.rank-row:nth-child(1) .rank-badge{background:#fff0bd;color:#cf8400}.rank-row:nth-child(2) .rank-badge{background:#eef1f5;color:#7b8492}.rank-row:nth-child(3) .rank-badge{background:#ffe5d3;color:#b96222}.rank-main strong{font-size:11px;color:#243653}.rank-main small{display:block;font-size:8px;color:#8a96a8;margin-top:2px}.rank-value{font-size:10px;font-weight:900;color:#2e405e}.podium{display:grid;grid-template-columns:1fr 1.18fr 1fr;align-items:end;gap:6px;margin:18px 4px 12px}.podium-person{text-align:center}.podium-avatar{margin:0 auto 5px;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#e6edf8;border:3px solid #cbd7e9;font-weight:900;color:#345276}.podium-person.first .podium-avatar{width:66px;height:66px;border-color:#f6bd2c;background:#fff4cd}.podium-person.third .podium-avatar{border-color:#ee9b68;background:#fff0e8}.podium-crown{height:23px;font-size:21px}.podium-person strong{display:block;font-size:10px}.podium-person small{display:block;font-size:8px;color:#b27900;font-weight:900}.you-rank{margin-top:10px;background:#e8f3ff;border:1px solid #cfe6ff;border-radius:16px;padding:11px;display:flex;justify-content:space-between;align-items:center;color:#1f64b6}.you-rank strong{font-size:11px}.you-rank span{font-size:10px;font-weight:900}
.impact-hero{padding:12px 2px 6px}.impact-hero-top{display:flex;justify-content:space-between;align-items:flex-start}.impact-hero p{margin:4px 0 8px;font-size:10px;color:var(--muted)}.city-pin{width:42px;height:42px;background:#fff;border-radius:14px;display:grid;place-items:center;box-shadow:var(--shadow)}.impact-tabs{display:inline-flex;background:#eef2f7;border-radius:12px;padding:3px}.impact-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}.impact-metrics article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:13px;position:relative;box-shadow:0 8px 22px rgba(22,45,86,.05)}.metric-ico{width:32px;height:32px;border-radius:12px;display:grid;place-items:center;font-size:15px;margin-bottom:8px}.metric-ico.green{background:#e8f7ef}.metric-ico.blue{background:#eaf3ff}.metric-ico.lime{background:#eef9e6}.metric-ico.aqua{background:#e8f8fc}.impact-metrics strong{display:block;font-size:15px;color:#223858}.impact-metrics small{display:block;font-size:8px;color:#8a96a8;margin-top:2px}.impact-metrics em{position:absolute;right:9px;top:10px;font-size:8px;color:#16874d;background:#e8f7ef;border-radius:99px;padding:3px 5px;font-style:normal;font-weight:800}.category-impact-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:14px}.impact-row{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:9px;margin:11px 0}.impact-row .imp-ico{font-size:17px}.impact-row strong{font-size:10px;display:block}.impact-row .bar{height:7px;border-radius:99px;background:#edf1f5;margin-top:4px;overflow:hidden}.impact-row .bar span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#0b6ee9,#52a0f7)}.impact-row:nth-child(2) .bar span{background:linear-gradient(90deg,#18a965,#55d391)}.impact-row:nth-child(3) .bar span{background:linear-gradient(90deg,#7bbb18,#b3de42)}.impact-row:nth-child(4) .bar span{background:linear-gradient(90deg,#ff7a1a,#ffad55)}.impact-row:nth-child(5) .bar span{background:linear-gradient(90deg,#7a57e8,#a98eec)}.impact-row>span:last-child{font-size:9px;font-weight:900;color:#42516b}.city-contribution-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden}.city-contrib-row{padding:12px 13px;border-bottom:1px solid #eef2f6;display:flex;justify-content:space-between;align-items:center}.city-contrib-row:last-child{border-bottom:0}.city-contrib-row strong{font-size:10px}.city-contrib-row small{font-size:8px;color:#8d98aa;margin-left:5px}.city-contrib-row span{font-size:10px;font-weight:900;color:var(--blue)}
.profile-topbar{display:flex;justify-content:space-between;align-items:center;padding:8px 0}.profile-topbar h1{font-size:20px;margin:0;color:var(--navy)}.profile-hero-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:15px;box-shadow:var(--shadow)}.profile-avatar-large{width:72px;height:72px;border-radius:50%;background:linear-gradient(145deg,#1774ef,#0a4fb8);color:#fff;display:grid;place-items:center;font-size:22px;font-weight:900;border:4px solid #e6f0ff;float:left;margin-right:12px}.profile-name-row{min-height:78px;display:flex;justify-content:space-between;align-items:flex-start}.profile-name-row h2{font-size:17px;margin:4px 0 3px;color:var(--navy)}.verified-pill{display:inline-block;font-size:8px;font-weight:800;color:#558c13;background:#f1f8dc;border-radius:99px;padding:4px 7px}.profile-name-row p{font-size:9px;color:#7b8798;margin:5px 0}.edit-profile-btn{border:0;background:#eef6ff;color:var(--blue);width:30px;height:30px;border-radius:10px}.profile-metrics{clear:both;display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}.profile-metrics>div{text-align:center;border-right:1px solid #edf0f4}.profile-metrics>div:last-child{border-right:0}.profile-metrics span{display:block;font-size:16px}.profile-metrics strong{display:block;font-size:14px;color:var(--navy)}.profile-metrics small{font-size:8px;color:#8d98aa}.level-card{margin-top:14px;background:#f8fafc;border:1px solid #e7edf4;border-radius:18px;padding:11px;display:flex;gap:10px;align-items:center}.level-badge{width:48px;height:48px;border-radius:16px;background:#fff1d9;display:grid;place-items:center;font-size:25px}.level-copy{flex:1}.level-copy>div:first-child{display:flex;justify-content:space-between;font-size:10px;margin-bottom:6px}.level-copy span{font-size:8px;color:#63718a}.level-copy small{font-size:8px;color:#8b96a8}.profile-menu{margin-top:12px;background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden}.profile-menu button{width:100%;border:0;background:#fff;padding:12px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;text-align:left;border-bottom:1px solid #eef2f5}.profile-menu button:last-child{border-bottom:0}.menu-ico{width:35px;height:35px;border-radius:12px;display:grid;place-items:center}.menu-ico.green{background:#ecf8ef}.menu-ico.blue{background:#eaf3ff}.menu-ico.orange{background:#fff1e7}.menu-ico.gray{background:#f1f3f6}.menu-ico.purple{background:#f1edff}.profile-menu strong{font-size:11px;display:block;color:#293a56}.profile-menu small{font-size:8px;color:#909aaa}.profile-menu b{font-size:20px;color:#a1adbc;font-weight:500}
.quick-add-fab{position:fixed;left:50%;bottom:46px;transform:translateX(-50%);z-index:55;width:58px;height:58px;border-radius:50%;border:5px solid var(--bg);background:linear-gradient(145deg,#0a6df5,#0754c9);color:#fff;font-size:30px;line-height:1;box-shadow:0 10px 24px rgba(7,95,228,.35)}@media(min-width:720px){.quick-add-fab{bottom:70px}}
.bottom-nav{position:fixed;z-index:50;bottom:0;left:0;right:0;height:72px;background:rgba(255,255,255,.96);backdrop-filter:blur(18px);border-top:1px solid #e7ecf3;display:grid;grid-template-columns:repeat(5,1fr);padding:6px max(7px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left))}@media(min-width:720px){.bottom-nav{left:50%;right:auto;width:430px;transform:translateX(-50%);bottom:24px;border-radius:0 0 38px 38px}}.bottom-nav button{border:0;background:transparent;color:#6f7d91;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.bottom-nav button.active{color:var(--blue)}.nav-ico{font-size:19px;font-weight:900}.bottom-nav small{font-size:8px;font-weight:800}.nav-placeholder{pointer-events:none}
.sheet{position:fixed;inset:0;z-index:100}.sheet.hidden{display:none}.sheet-backdrop{position:absolute;inset:0;background:rgba(15,32,54,.42);backdrop-filter:blur(2px)}.sheet-panel{position:absolute;left:0;right:0;bottom:0;background:#fff;border-radius:28px 28px 0 0;max-height:82dvh;overflow:auto;padding:11px 18px 24px;box-shadow:0 -20px 50px rgba(12,30,56,.18);animation:slideup .22s ease}@media(min-width:720px){.sheet-panel{width:430px;left:50%;right:auto;transform:translateX(-50%);bottom:24px;border-radius:28px}}@keyframes slideup{from{transform:translateY(35px);opacity:.65}to{transform:translateY(0);opacity:1}}@media(min-width:720px){@keyframes slideup{from{transform:translate(-50%,35px);opacity:.65}to{transform:translate(-50%,0);opacity:1}}}.sheet-handle{width:46px;height:5px;background:#d9e0e9;border-radius:99px;margin:0 auto 8px}.sheet-close{position:absolute;right:14px;top:12px;width:31px;height:31px;border:0;border-radius:10px;background:#f3f6f9;color:#58667a}.sheet-title{font-size:18px;margin:8px 36px 4px 0;color:var(--navy)}.sheet-subtitle{font-size:10px;color:var(--muted);margin:0 30px 14px 0;line-height:1.5}.sheet-task{display:flex;align-items:center;gap:10px;border:1px solid #e7edf5;border-radius:16px;padding:11px;margin:8px 0;background:#fff}.sheet-task .task-emoji{width:38px;height:38px}.sheet-task>div:nth-child(2){flex:1}.sheet-task strong{font-size:11px;display:block}.sheet-task small{font-size:8px;color:#8a96a8}.sheet-task button{width:34px;height:34px;border:0;border-radius:11px;background:#eef6ff;color:var(--blue);font-size:20px}.form-label{font-size:9px;font-weight:800;color:#6c788a;display:block;margin:11px 0 5px}.form-input,.form-select,.form-textarea{width:100%;border:1px solid #dfe7f1;border-radius:14px;background:#f9fbfd;padding:12px;outline:0;color:var(--ink);font-size:11px}.form-textarea{min-height:86px;resize:vertical}.city-option-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.city-option{border:1px solid #e0e6ef;background:#fff;border-radius:14px;padding:10px;text-align:left}.city-option strong{font-size:10px;display:block}.city-option small{font-size:8px;color:#8d98a9}.city-option.active{border-color:#5aa2ff;background:#eef6ff}.sheet-actions{display:flex;gap:8px;margin-top:14px}.secondary-btn{flex:1;border:1px solid #dfe6ef;background:#fff;color:#526278;border-radius:14px;padding:12px;font-weight:800}.sheet-actions .primary-btn{flex:2}.toast{position:fixed;left:50%;bottom:92px;transform:translate(-50%,16px);background:#132a4d;color:#fff;padding:11px 14px;border-radius:14px;font-size:10px;font-weight:700;opacity:0;pointer-events:none;transition:.22s;z-index:150;box-shadow:0 14px 34px rgba(16,41,75,.25)}.toast.show{opacity:1;transform:translate(-50%,0)}
body.sheet-open{overflow:hidden}.hidden{display:none!important}

/* v0.5 Nitya selection + undo fixes */
.nitya-picker-status{display:flex;justify-content:space-between;align-items:center;background:#eef6ff;border:1px solid #d7e9ff;border-radius:14px;padding:10px 12px;margin:6px 0 10px;font-size:10px;color:#53657d}.nitya-picker-status strong{color:var(--blue);font-size:12px}.nitya-undo-note{background:#f0faf4;border:1px solid #d9f0e1;color:#47705a;border-radius:14px;padding:10px 12px;font-size:9px;line-height:1.5;margin:10px 0 4px}.primary-btn.undo-mode{background:#eef6ff;color:#0a64d8;box-shadow:none;border:1px solid #cfe4ff}.circle-check.done{cursor:pointer}.circle-check.done:active{transform:scale(.94)}

/* Friends / Civic connections */
.friend-search{height:46px;border:1px solid #dfe7f1;border-radius:15px;background:#f8fbff;display:flex;align-items:center;gap:8px;padding:0 12px;margin:8px 0 14px}.friend-search span{font-size:18px;color:#7d8ba0}.friend-search input{border:0;background:transparent;outline:0;width:100%;font-size:11px;color:#243650}.friend-section-title{display:flex;align-items:center;justify-content:space-between;margin:16px 2px 8px;color:#273c5d;font-size:11px;font-weight:900}.friend-section-title b{min-width:24px;height:24px;border-radius:99px;background:#eef6ff;color:#0865df;display:grid;place-items:center;font-size:9px}.friend-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 3px;border-bottom:1px solid #eef2f6}.friend-row:last-child{border-bottom:0}.friend-avatar{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#e9f3ff,#d9eaff);color:#0b5fd3;display:grid;place-items:center;font-size:11px;font-weight:900}.friend-avatar.friend{background:#e9f8ef;color:#17894f}.friend-avatar.incoming{background:#fff2df;color:#d87500}.friend-copy{min-width:0}.friend-copy strong{display:block;font-size:11px;color:#233855;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.friend-copy small{display:block;margin-top:3px;font-size:8px;color:#8b97aa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.friend-action{border:0;border-radius:11px;padding:8px 10px;font-size:9px;font-weight:900;white-space:nowrap}.friend-action.add{background:#086af0;color:#fff}.friend-action.pending{background:#eef2f6;color:#65738a}.friend-action.friend-ok{background:#eaf8ef;color:#13864a}.friend-action.accept{background:#0da85a;color:#fff}.friend-action.decline{background:#f3f5f8;color:#66758b;width:31px;padding:8px 0}.friend-inline-actions{display:flex;gap:5px}.friend-empty{padding:14px;border:1px dashed #dce5ef;border-radius:14px;color:#8a96a8;text-align:center;font-size:9px;background:#fbfcfe}

/* India multilingual first-launch language selector */
body{font-family:"Noto Sans","Noto Sans Gujarati","Noto Sans Devanagari","Noto Sans Bengali","Noto Sans Gurmukhi","Noto Sans Tamil","Noto Sans Telugu","Noto Sans Kannada","Noto Sans Malayalam","Noto Sans Oriya",system-ui,-apple-system,sans-serif}
.language-gate{position:fixed;inset:0;z-index:1000;background:linear-gradient(180deg,#f5f9ff 0%,#ffffff 42%,#fff9ef 100%);overflow:auto;padding:max(22px,env(safe-area-inset-top)) 16px max(24px,env(safe-area-inset-bottom));}
.language-gate.hidden{display:none}.language-gate-card{width:min(520px,100%);margin:0 auto}.language-brand-mark{width:58px;height:58px;border-radius:20px;background:#fff;display:grid;place-items:center;font-size:30px;box-shadow:0 12px 30px rgba(24,60,110,.12);margin:8px auto 10px}.language-brand{text-align:center;margin-bottom:22px}.language-brand span{font-size:9px;letter-spacing:.18em;font-weight:900;color:#075fe4}.language-brand h1{margin:3px 0 0;color:#16355f;font-size:24px}.language-gate h2{margin:0;text-align:center;color:#17365e;font-size:22px}.language-gate p{text-align:center;color:#778399;font-size:11px;line-height:1.6;margin:7px auto 16px;max-width:380px}.language-search{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #dfe7f2;border-radius:16px;padding:0 13px;box-shadow:0 7px 22px rgba(18,46,88,.05)}.language-search input{width:100%;border:0;outline:0;padding:13px 0;font:inherit;font-size:12px;background:transparent}.language-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:13px 0 18px}.language-option{min-height:62px;border:1px solid #e0e7f1;background:#fff;border-radius:16px;padding:10px 11px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;text-align:left;align-items:center;box-shadow:0 5px 16px rgba(22,45,86,.035)}.language-option strong{font-size:13px;color:#263a59}.language-option small{font-size:8px;color:#8b96a7;margin-top:2px}.language-option>span{grid-column:2;grid-row:1/3;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#eef3f8;color:transparent;font-size:11px}.language-option.active{border-color:#3d8cf3;background:#eef6ff}.language-option.active>span{background:#0b68e9;color:#fff}.language-continue{position:sticky;bottom:8px;width:100%;border:0;border-radius:16px;padding:14px;background:linear-gradient(135deg,#075fe4,#0b79f4);color:#fff;font-weight:900;box-shadow:0 12px 28px rgba(7,95,228,.25)}.language-continue:disabled{opacity:.45;box-shadow:none}.language-note{display:block;text-align:center;color:#98a2b2;font-size:8px;margin:10px}.language-select-open{overflow:hidden}.language-settings-row{cursor:pointer}.rtl-ui .identity-copy,.rtl-ui .screen-title-row,.rtl-ui .mission-copy,.rtl-ui .snapshot-copy,.rtl-ui .profile-name-row,.rtl-ui .sheet-task{text-align:right}.rtl-ui .language-option{text-align:right}.rtl-ui .bottom-nav{direction:rtl}@media(max-width:360px){.language-grid{grid-template-columns:1fr}}

/* =========================================================
   v0.5.7 — Mobile UI Standardization & Readability Pass
   A consistent, accessible type/spacing system for all Indian
   scripts, while preserving the existing visual identity.
   ========================================================= */
:root{
  --fs-xs:12px;
  --fs-sm:13px;
  --fs-body:14px;
  --fs-md:16px;
  --fs-lg:20px;
  --fs-xl:28px;
  --tap:44px;
  --card-radius:24px;
  --control-radius:16px;
}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-size:var(--fs-body);line-height:1.45;font-synthesis:none}
button,input,select,textarea{line-height:1.35}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(7,95,228,.22);outline-offset:2px}

/* Overall mobile spacing */
.app-surface{padding-bottom:calc(104px + env(safe-area-inset-bottom))}
.app-header{height:auto;min-height:96px;padding:20px 20px 12px;padding-top:max(20px,env(safe-area-inset-top));}
.view-host{padding:8px 18px 34px}
.identity-row{gap:12px}.avatar-btn{width:48px;height:48px;font-size:16px}
.identity-copy{line-height:1.32}.identity-copy .hello{font-size:12px}.identity-copy strong{font-size:17px}.identity-copy small{font-size:12px;margin-top:4px}.wave{font-size:16px}
.icon-btn{width:46px;height:46px;border-radius:15px;font-size:18px}

/* Standard headings & helper text */
.mini-label,.section-kicker{font-size:11px;line-height:1.35;letter-spacing:.08em}
.section-row{margin:24px 2px 12px}.section-row.compact{margin-top:26px}
.section-row h2{font-size:21px;line-height:1.35}.screen-title-row{padding:18px 2px 8px}.screen-title-row h1,.impact-hero h1{font-size:29px;line-height:1.25}.screen-title-row p,.impact-hero p{font-size:13px;line-height:1.55;margin-top:7px}
.link-btn{font-size:13px;min-height:var(--tap);padding:8px 4px}

/* Home summary and motivation */
.top-summary-strip{border-radius:var(--card-radius);margin:12px 0 16px}
.top-summary-strip>div{padding:18px 8px}.top-summary-strip .stat-icon{font-size:23px}.top-summary-strip strong{font-size:21px;line-height:1.25;margin-top:5px}.top-summary-strip small{font-size:12px;line-height:1.35;margin-top:4px;display:block}
.motivation-card{border-radius:var(--card-radius);padding:18px;margin:14px 0 22px;gap:14px}.motivation-card p{font-size:17px;line-height:1.45;margin:6px 0 5px}.motivation-card small{font-size:13px;line-height:1.45}.motivation-art{width:58px;height:58px;font-size:28px;border-radius:18px;flex:0 0 auto}

/* Daily duties */
.nitya-card{border-radius:var(--card-radius);padding:16px}.nitya-progress-head{font-size:13px;margin-bottom:10px}.progress-track{height:8px}.nitya-list{margin-top:10px}
.nitya-item{gap:12px;padding:14px 3px;min-height:64px;border-radius:14px;transition:background .18s ease}
.nitya-item:has(.circle-check.done){background:linear-gradient(90deg,rgba(19,161,90,.055),transparent 74%)}
.nitya-item .task-emoji{width:42px;height:42px;border-radius:13px;font-size:21px}.nitya-copy strong{font-size:15px;line-height:1.45;white-space:normal}.nitya-copy small{font-size:12px;line-height:1.35;margin-top:3px}.circle-check{width:34px;height:34px;font-size:18px;flex:0 0 auto}.soft-btn{min-height:46px;font-size:13px;padding:12px 14px;border-radius:15px;margin-top:10px}

/* Today's mission */
.mission-head{margin-top:24px}.day-pill{font-size:12px;padding:8px 11px}.mission-card{border-radius:var(--card-radius);padding:16px}.mission-art{height:104px;border-radius:19px;font-size:42px;margin-bottom:14px}.mission-cat{font-size:12px}.mission-copy h3{font-size:18px;line-height:1.5;margin:7px 0}.mission-copy p{font-size:14px;line-height:1.6;margin-bottom:11px}.mission-meta{gap:16px;font-size:12px;line-height:1.4;margin-bottom:14px}.primary-btn,.secondary-btn{min-height:48px;font-size:14px;border-radius:15px;padding:13px 16px}
.city-snapshot{border-radius:var(--card-radius);padding:18px;margin-top:18px}.city-snapshot h2{font-size:21px;line-height:1.35}.city-snapshot p{font-size:13px;line-height:1.45;margin-top:4px}.round-arrow{width:44px;height:44px}

/* Duty discovery */
.search-box{height:56px;border-radius:17px;padding:0 15px}.search-box input{font-size:14px}.category-chips{gap:8px;padding-top:14px}.category-chip{min-height:42px;padding:10px 14px;font-size:13px}
.task-grid{gap:12px}.task-card{border-radius:21px;padding:15px;min-height:164px}.task-card .task-emoji{width:48px;height:48px;font-size:26px}.points-pill{font-size:12px}.task-card h3{font-size:14px;line-height:1.5;margin:11px 0 9px}.task-card .cat-tag{font-size:11px;padding:5px 8px;border-radius:9px}
.custom-task-banner{min-height:72px;border-radius:20px;padding:14px}.custom-plus{width:44px;height:44px;font-size:24px;margin-right:12px}.custom-task-banner strong{font-size:14px;line-height:1.4}.custom-task-banner small{font-size:12px;line-height:1.4;margin-top:3px}.recent-item{min-height:62px;padding-top:12px;padding-bottom:12px}.recent-item strong{font-size:14px;line-height:1.4}.recent-item small{font-size:12px}.recent-item .recent-pts{font-size:12px}

/* Leaderboard */
.leader-type-tabs,.period-tabs,.impact-tabs{padding:4px;border-radius:15px}.leader-type-tabs button,.period-tabs button,.impact-tabs button{min-height:42px;font-size:12px;padding:9px 8px;border-radius:12px}
.leader-summary-card{border-radius:var(--card-radius);padding:16px}.leader-summary-card .trophy{width:54px;height:54px;font-size:29px}.leader-summary-card h2{font-size:18px;line-height:1.4}.leader-summary-card p{font-size:12px;line-height:1.5}
.ranking-toggle{gap:8px}.ranking-toggle button{min-height:42px;font-size:12px;padding:9px 12px}
.rank-row{min-height:64px;padding-top:12px;padding-bottom:12px}.rank-badge{width:34px;height:34px;font-size:13px}.rank-main strong{font-size:14px;line-height:1.4}.rank-main small{font-size:11px;line-height:1.4;margin-top:3px}.rank-value{font-size:14px}.podium{padding-top:12px;padding-bottom:12px}.podium-crown{height:26px;font-size:24px}.podium-person strong{font-size:13px;line-height:1.35}.podium-person small{font-size:11px;margin-top:2px}.you-rank{padding:13px}.you-rank strong,.you-rank span{font-size:13px}

/* Impact */
.impact-hero{padding-top:18px}.city-pin{width:46px;height:46px}.impact-metrics{gap:12px;margin:14px 0}.impact-metrics article{border-radius:20px;padding:15px;min-height:126px}.metric-ico{width:38px;height:38px;font-size:18px}.impact-metrics strong{font-size:18px}.impact-metrics small{font-size:11px;line-height:1.4;margin-top:4px}.impact-metrics em{font-size:10px;padding:4px 6px}.category-impact-card,.city-contribution-card{border-radius:var(--card-radius);padding:2px 14px}.impact-row{grid-template-columns:34px 1fr auto;gap:10px;margin:15px 0}.impact-row .imp-ico{font-size:20px}.impact-row strong{font-size:13px;line-height:1.4}.impact-row>span:last-child{font-size:12px}.city-contrib-row{padding:14px 2px}.city-contrib-row strong{font-size:13px}.city-contrib-row small{font-size:11px}.city-contrib-row span{font-size:13px}

/* Profile */
.profile-topbar{padding:14px 0 10px}.profile-topbar h1{font-size:27px}.profile-hero-card{border-radius:26px;padding:18px}.profile-avatar-large{width:78px;height:78px;font-size:24px;margin-right:14px}.profile-name-row{min-height:84px}.profile-name-row h2{font-size:20px;line-height:1.35}.verified-pill{font-size:11px;padding:5px 8px}.profile-name-row p{font-size:12px;margin-top:6px}.edit-profile-btn{width:42px;height:42px;border-radius:13px;font-size:17px}
.profile-metrics{gap:8px;margin-top:16px;padding-top:4px}.profile-metrics span{font-size:21px}.profile-metrics strong{font-size:20px;line-height:1.3}.profile-metrics small{font-size:11px;line-height:1.35;margin-top:3px;display:block}
.level-card{border-radius:20px;padding:13px;margin-top:17px;gap:12px}.level-badge{width:54px;height:54px;font-size:28px}.level-copy>div:first-child{font-size:13px;margin-bottom:7px}.level-copy span{font-size:11px}.level-copy small{font-size:11px;line-height:1.45;display:block;margin-top:5px}
.profile-menu{border-radius:24px;margin-top:14px}.profile-menu button{min-height:76px;padding:14px;grid-template-columns:46px 1fr auto;gap:12px}.menu-ico{width:44px;height:44px;border-radius:14px;font-size:20px}.profile-menu strong{font-size:15px;line-height:1.4}.profile-menu small{font-size:12px;line-height:1.45;margin-top:2px;display:block}.profile-menu b{font-size:24px}

/* Bottom nav and FAB — thumb-friendly */
.bottom-nav{height:82px;padding-top:7px;padding-bottom:max(9px,env(safe-area-inset-bottom))}.bottom-nav button{min-height:50px;gap:4px}.nav-ico{font-size:22px}.bottom-nav small{font-size:11px;line-height:1.25}.quick-add-fab{width:64px;height:64px;bottom:50px;font-size:34px;border-width:5px}
.toast{bottom:106px;font-size:13px;padding:12px 15px;border-radius:15px;max-width:calc(100vw - 32px);text-align:center}

/* Bottom sheets, forms, Friends */
.sheet-panel{max-height:86dvh;padding:13px 20px calc(26px + env(safe-area-inset-bottom));border-radius:30px 30px 0 0}.sheet-close{width:40px;height:40px;border-radius:12px;font-size:16px}.sheet-title{font-size:22px;line-height:1.35;margin-top:12px}.sheet-subtitle{font-size:13px;line-height:1.6}.sheet-task{min-height:64px;border-radius:18px;padding:12px}.sheet-task .task-emoji{width:44px;height:44px}.sheet-task strong{font-size:14px;line-height:1.4}.sheet-task small{font-size:11px;line-height:1.4;margin-top:2px}.sheet-task button{width:42px;height:42px}.form-label{font-size:12px;margin:14px 0 7px}.form-input,.form-select,.form-textarea{font-size:14px;min-height:48px;padding:13px;border-radius:15px}.city-option{min-height:62px;padding:12px}.city-option strong{font-size:13px}.city-option small{font-size:11px;margin-top:3px}.nitya-picker-status{font-size:12px;padding:11px 13px}.nitya-picker-status strong{font-size:14px}.nitya-undo-note{font-size:12px;line-height:1.55;padding:11px 13px}
.friend-search{height:54px}.friend-search input{font-size:14px}.friend-section-title{font-size:14px;margin-top:20px}.friend-section-title b{font-size:11px;min-width:28px;height:28px}.friend-row{grid-template-columns:48px minmax(0,1fr) auto;min-height:68px;padding:11px 3px}.friend-avatar{width:48px;height:48px;font-size:13px}.friend-copy strong{font-size:14px}.friend-copy small{font-size:11px}.friend-action{min-height:40px;font-size:12px;padding:9px 11px}.friend-empty{font-size:12px;line-height:1.5;padding:16px}

/* Language picker readability */
.language-brand span{font-size:11px}.language-brand h1{font-size:27px}.language-gate h2{font-size:25px}.language-gate p{font-size:13px}.language-search input{font-size:14px}.language-option{min-height:70px;padding:12px}.language-option strong{font-size:15px}.language-option small{font-size:11px;margin-top:3px}.language-option>span{width:28px;height:28px;font-size:13px}.language-continue{min-height:50px;font-size:15px}.language-note{font-size:11px}

/* Very narrow phones: preserve readability before density */
@media(max-width:360px){
  .view-host{padding-left:14px;padding-right:14px}
  .screen-title-row h1,.impact-hero h1{font-size:27px}
  .task-grid{grid-template-columns:1fr}
  .task-card{min-height:132px}
  .top-summary-strip strong{font-size:19px}
  .top-summary-strip small{font-size:11px}
}

/* Desktop browser: keep app-like focus but remove tiny phone-frame feel */
@media(min-width:720px){
  .app-surface{max-width:500px;min-height:920px}
  .bottom-nav{width:500px}
  .sheet-panel{width:500px}
  .quick-add-fab{bottom:74px}
}

/* v0.6.1 — Firebase Google Authentication */
.auth-gate{position:fixed;inset:0;z-index:190;background:linear-gradient(155deg,#eef6ff 0,#fff 55%,#fff7e9 100%);display:grid;place-items:center;padding:24px;overflow:auto}.auth-gate.hidden{display:none}.auth-card{width:min(430px,100%);background:#fff;border:1px solid #e3eaf3;border-radius:30px;padding:30px 24px;text-align:center;box-shadow:0 22px 70px rgba(24,54,96,.14)}.auth-logo{width:68px;height:68px;border-radius:22px;background:linear-gradient(145deg,#0b6df3,#0b4fb8);color:#fff;display:grid;place-items:center;margin:0 auto 12px;font-size:30px;font-weight:900;box-shadow:0 12px 28px rgba(11,99,229,.25)}.auth-brand{font-size:11px;letter-spacing:.17em;color:#0b63e5;font-weight:900}.auth-card h1{font-size:26px;line-height:1.3;color:#16355f;margin:10px 0 8px}.auth-card p{font-size:14px;line-height:1.6;color:#738096;margin:0 auto 20px;max-width:350px}.google-signin{width:100%;min-height:54px;border:1px solid #dfe6ef;border-radius:16px;background:#fff;color:#203451;display:flex;align-items:center;justify-content:center;gap:12px;font-size:15px;cursor:pointer;box-shadow:0 8px 22px rgba(19,45,82,.07)}.google-signin:disabled{opacity:.65}.google-g{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #e2e7ed;color:#4285f4;font-weight:900;font-family:Arial,sans-serif}.auth-status{display:block;min-height:20px;margin:12px 0 0;color:#d14343;font-size:12px;line-height:1.5}.auth-privacy{display:block;color:#9aa4b3;font-size:11px;line-height:1.5;margin-top:6px}.auth-open{overflow:hidden}.language-gate{z-index:200}

/* Google account profile photo */
.avatar-btn.has-google-photo,
.profile-avatar-large.has-google-photo{
  background-size:cover !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
  color:transparent !important;
}
.avatar-btn.has-google-photo{
  border-color:#dfe9f8;
}
.profile-avatar-large.has-google-photo{
  border-color:#e6f0ff;
  box-shadow:0 6px 18px rgba(20,55,100,.12);
}
