:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#f4f6f9;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:linear-gradient(180deg,#f7f8fb,#eef2f6);min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:64px;max-width:1180px;margin:auto;padding:48px}.login-brand h1{font-size:56px;letter-spacing:-2px;margin:20px 0 8px}.login-brand>p{font-size:20px;line-height:1.6;color:#5d6675;max-width:560px}.logo-mark{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:#111827;color:#fff;box-shadow:0 10px 30px #11182722}.logo-mark.small{width:38px;height:38px;border-radius:11px}.brand-points{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.brand-points span{display:flex;align-items:center;gap:8px;background:#fff;padding:10px 14px;border-radius:999px;box-shadow:0 6px 20px #1118270c;color:#4b5563}.login-card{background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:28px;box-shadow:0 24px 70px #11182712}.login-card.single{max-width:500px;margin:auto}.login-card h2{margin:22px 0 18px;font-size:26px}.segmented{display:grid;grid-template-columns:1fr 1fr;background:#f3f4f6;padding:4px;border-radius:12px}.segmented button{border:0;background:transparent;padding:10px;border-radius:9px;color:#6b7280}.segmented .active{background:#fff;color:#111827;box-shadow:0 2px 10px #1118270c}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:650;color:#4b5563;margin:14px 0}input,select,textarea{border:1px solid #d9dee7;border-radius:11px;padding:12px 13px;background:#fff;color:#172033;outline:none}input:focus,select:focus,textarea:focus{border-color:#7c8aa4;box-shadow:0 0 0 3px #94a3b822}textarea{min-height:90px;resize:vertical}.primary,.secondary,.ghost,.approve,.redo,.status-btn{border:0;border-radius:11px;padding:11px 15px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary{background:#111827;color:#fff;width:100%}.primary.inline{width:auto}.secondary{background:#fff;color:#111827;border:1px solid #dfe3ea}.ghost{background:transparent;color:#4b5563}.approve{background:#eaf8ef;color:#137333}.redo{background:#fff1ec;color:#a23e12}.status-btn{width:100%;background:#eef2f7;color:#5b6472}.form-message{font-size:13px;color:#7c2d12;background:#fff7ed;padding:10px 12px;border-radius:9px}.center-card{min-height:100vh;display:grid;place-items:center;align-content:center;gap:8px;color:#5d6675}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{max-width:1280px;margin:auto;padding:0 28px 60px}header{height:76px;display:flex;align-items:center;justify-content:space-between}.brand-row{display:flex;align-items:center;gap:12px}.brand-row>div:last-child{display:flex;flex-direction:column}.brand-row span{font-size:12px;color:#7c8797}.header-actions{display:flex;gap:6px}.mode-tabs{display:flex;gap:8px;border-bottom:1px solid #dfe4eb;margin-bottom:24px}.mode-tabs button{border:0;background:transparent;padding:12px 14px;border-bottom:2px solid transparent;color:#657083;display:flex;gap:8px;align-items:center;font-weight:700}.mode-tabs .active{color:#111827;border-color:#111827}.notice{display:flex;justify-content:space-between;align-items:center;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;padding:12px 14px;border-radius:12px;margin-bottom:18px}.notice button{border:0;background:transparent;font-size:20px}.hero,.kid-hero{background:#111827;color:#fff;border-radius:24px;padding:30px;margin-bottom:20px;display:flex;justify-content:space-between;gap:24px;align-items:center}.hero h1,.kid-summary h1{margin:5px 0 6px;font-size:34px}.hero p{margin:0;color:#bac2ce}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:800;color:#7a8493}.hero .eyebrow,.kid-hero .eyebrow{color:#aab3c2}.hero-actions{display:flex;gap:10px}.hero .secondary{background:#202938;color:#fff;border-color:#303a4b}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.stat-card{background:#fff;border:1px solid #e0e5ec;border-radius:18px;padding:18px;display:flex;gap:14px;align-items:center}.stat-icon{width:42px;height:42px;border-radius:13px;background:#f0f3f7;display:grid;place-items:center;color:#404a5a}.stat-card span,.stat-card small{display:block;color:#7a8493;font-size:12px}.stat-card strong{display:block;font-size:27px;margin:2px 0}.two-col{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;margin-bottom:18px}.panel{background:#fff;border:1px solid #e0e5ec;border-radius:20px;padding:20px;margin-bottom:18px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.panel h2{margin:4px 0 0;font-size:20px}.empty{min-height:130px;display:grid;place-items:center;align-content:center;gap:8px;color:#8a94a4;text-align:center}.empty p{margin:0}.list{display:grid;gap:10px}.approval-card{border:1px solid #e4e8ee;border-radius:14px;padding:13px;display:flex;justify-content:space-between;gap:12px;align-items:center}.approval-card strong,.approval-card span{display:block}.approval-card span{font-size:12px;color:#7b8492;margin-top:4px}.row-actions{display:flex;gap:8px}.kid-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.kid-card{display:flex;align-items:center;gap:12px;border:1px solid #e5e9ef;padding:13px;border-radius:14px}.avatar{width:42px;height:42px;background:#f2f4f7;border-radius:50%;display:grid;place-items:center;font-size:22px}.avatar.big{width:68px;height:68px;font-size:34px}.kid-card strong,.kid-card span{display:block}.kid-card span{color:#778191;font-size:12px;margin-top:2px}.tableish{display:grid}.table-row{display:grid;grid-template-columns:2fr 1fr .7fr .4fr;gap:16px;align-items:center;padding:14px 4px;border-top:1px solid #eef1f5}.table-row:first-child{border-top:0}.table-row strong,.table-row span{display:block}.table-row>div:first-child span{font-size:12px;color:#7d8796;margin-top:3px}.pill{display:inline-block!important;width:max-content;padding:5px 9px;border-radius:999px;background:#f0f3f7;font-size:11px;text-transform:capitalize}.points{font-weight:800}.kid-hero{display:block}.kid-select{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.kid-select label{margin:0;color:#b8c0cb}.kid-select select{min-width:180px;background:#202938;color:#fff;border-color:#374151}.kid-summary{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px}.kid-summary span{color:#aab3c2}.balance-badge{display:grid;grid-template-columns:auto auto;column-gap:8px;align-items:center;background:#202938;padding:14px 18px;border-radius:16px}.balance-badge strong{font-size:26px}.balance-badge span{grid-column:2;font-size:11px}.quest-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.quest{border:1px solid #e3e8ee;border-radius:18px;padding:18px;background:#fff}.quest.pending{background:#fffbeb}.quest.approved{background:#f0fdf4}.quest.redo{background:#fff7ed}.quest-top{display:flex;justify-content:space-between;align-items:center}.quest-top>span{font-weight:800}.quest-icon{width:42px;height:42px;background:#f0f3f7;border-radius:13px;display:grid;place-items:center}.quest h3{margin:18px 0 6px}.quest p{color:#778190;font-size:13px;min-height:40px}.quest .primary{margin-top:8px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#11182780;display:grid;place-items:center;padding:20px;z-index:20}.modal{background:#fff;border-radius:20px;width:min(540px,100%);padding:20px;box-shadow:0 30px 90px #0004}.modal-head{display:flex;justify-content:space-between;align-items:center}.modal-head h3{margin:0}.modal-head button{border:0;background:transparent;font-size:28px;color:#657083}.form-stack{display:grid}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.checkline{flex-direction:row;align-items:center}.checkline input{width:auto}.form-stack .primary{margin-top:10px}@media(max-width:900px){.login-shell{grid-template-columns:1fr;padding:26px}.login-brand{display:none}.stats{grid-template-columns:1fr 1fr}.two-col{grid-template-columns:1fr}.quest-grid{grid-template-columns:1fr 1fr}.table-row{grid-template-columns:1.5fr 1fr .6fr}}@media(max-width:620px){.app-shell{padding:0 14px 40px}header{height:auto;padding:16px 0}.header-actions .ghost{font-size:0;padding:10px}.hero{display:block;padding:22px}.hero-actions{margin-top:20px}.stats,.kid-grid,.quest-grid{grid-template-columns:1fr}.table-row{grid-template-columns:1fr auto}.table-row>div:nth-child(3){display:none}.kid-summary{grid-template-columns:auto 1fr}.balance-badge{grid-column:1/-1}.form-row{grid-template-columns:1fr}}.grow{flex:1}.icon-button{border:1px solid #e0e5ec;background:#fff;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:#566171}.pin-lock{max-width:520px;margin:40px auto;text-align:center;padding:34px}.pin-lock>svg{margin:auto;color:#455268}.pin-lock h2{margin-bottom:6px}.pin-lock>p,.muted{color:#7b8493}.pin-lock form{display:grid;grid-template-columns:1fr auto;gap:10px;max-width:320px;margin:20px auto}.pin-lock input{font-size:24px;text-align:center;letter-spacing:.35em}.pin-lock .primary{width:auto}.reward-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.reward-card{border:1px solid #e3e8ee;border-radius:18px;padding:18px;display:flex;flex-direction:column;align-items:flex-start}.reward-card h3{margin:14px 0 5px}.reward-card p{color:#778190;font-size:13px;min-height:36px}.reward-card strong{margin:8px 0 14px}.reward-card button{width:100%;margin-top:auto}.status-chip{padding:6px 10px;border-radius:999px;font-size:11px;text-transform:capitalize;font-weight:800}.status-chip.pending{background:#fffbeb;color:#92400e}.status-chip.approved{background:#ecfdf5;color:#166534}.status-chip.declined{background:#fff1f2;color:#9f1239}@media(max-width:900px){.reward-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.reward-grid,.pin-lock form{grid-template-columns:1fr}.pin-lock .primary{width:100%}}.text-button{border:0;background:transparent;color:#4b5563;font-weight:700;padding:12px 4px 2px;text-align:center;width:100%}.text-button:hover{text-decoration:underline}.chore-admin-row{grid-template-columns:2fr 1fr .7fr .4fr auto}.admin-actions,.reward-admin{display:flex;align-items:center;gap:8px}.reward-admin{justify-content:flex-end;flex-wrap:wrap}.mini-button{border:1px solid #dfe4eb;background:#fff;color:#4b5563;border-radius:9px;padding:7px 10px;font-size:12px;font-weight:750}.mini-button:hover{background:#f7f8fa}.mini-button.danger{color:#a23e12;border-color:#fed7c3}.mini-button.danger:hover{background:#fff7ed}@media(max-width:900px){.chore-admin-row{grid-template-columns:1.5fr 1fr .6fr auto}.chore-admin-row>.points{display:none}.admin-actions{justify-content:flex-end}}@media(max-width:620px){.chore-admin-row{grid-template-columns:1fr auto}.chore-admin-row>div:nth-child(2),.chore-admin-row>div:nth-child(3),.chore-admin-row>.points{display:none}.admin-actions{flex-direction:column;align-items:stretch}.reward-admin{align-items:flex-end;flex-direction:column}}.family-switcher{border:0;background:transparent;padding:0;color:#7c8797;font-size:12px;max-width:220px}.role-chip{padding:6px 10px;border-radius:999px;font-size:11px;font-weight:800;text-transform:capitalize;background:#eef2f7;color:#4b5563}.role-chip.owner{background:#eef2ff;color:#3730a3}.role-chip.parent{background:#ecfdf5;color:#166534}.role-chip.guardian{background:#fff7ed;color:#9a3412}.role-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.role-card{border:1px solid #e3e8ee;border-radius:16px;padding:18px}.role-card svg{color:#5d6776}.role-card strong{display:block;margin:12px 0 5px}.role-card p{margin:0;color:#778190;font-size:13px;line-height:1.5}.invite-result{text-align:center}.invite-result>svg{color:#15803d}.invite-result h3{margin-bottom:4px}.invite-result p{color:#778190;font-size:13px}.invite-link-box{display:grid;grid-template-columns:1fr auto;gap:8px;margin:18px 0}.invite-link-box input{min-width:0;font-size:12px}@media(max-width:900px){.role-grid,.invite-link-box{grid-template-columns:1fr}}.schedule-stats{grid-template-columns:repeat(6,1fr)}.schedule-builder{border:1px solid #e5e9ef;background:#fafbfc;border-radius:14px;padding:14px}.schedule-builder .form-row{margin-bottom:10px}.schedule-help{font-size:12px;color:#7b8492;margin:4px 0 0;line-height:1.45}.optional{font-weight:500;color:#929aa6}.weekday-fieldset{border:0;padding:0;margin:4px 0 14px}.weekday-fieldset legend{font-size:12px;font-weight:800;margin-bottom:8px}.weekday-picker{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.weekday-option{position:relative;cursor:pointer}.weekday-option input{position:absolute;opacity:0;pointer-events:none}.weekday-option span{display:block;text-align:center;border:1px solid #dfe4eb;border-radius:9px;padding:8px 4px;font-size:11px;font-weight:800;background:#fff;color:#606a78}.weekday-option input:checked+span{background:#111827;color:#fff;border-color:#111827}.schedule-row{grid-template-columns:1.6fr .7fr 1.25fr .35fr auto}.schedule-cell{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.schedule-text{font-size:12px;color:#687384;line-height:1.35}.due-chip{display:inline-flex;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800}.due-chip.due{background:#eff6ff;color:#1d4ed8}.due-chip.pending{background:#fff7ed;color:#9a3412}.due-chip.completed{background:#ecfdf5;color:#166534}.due-chip.redo{background:#fff7ed;color:#9a3412}.due-chip.overdue{background:#fef2f2;color:#b91c1c}.quest-schedule{min-height:22px;margin-top:4px}.quest-schedule span{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#6b7280;font-weight:700}.quest-schedule .overdue-text{color:#b91c1c}.quest.overdue{border-color:#fecaca;background:snow}.scheduled-empty{min-height:180px}@media(max-width:1200px){.schedule-stats{grid-template-columns:repeat(3,1fr)}.schedule-row{grid-template-columns:1.5fr .7fr 1.1fr auto}.schedule-row>.points{display:none}}@media(max-width:760px){.schedule-stats{grid-template-columns:repeat(2,1fr)}.weekday-picker{grid-template-columns:repeat(4,1fr)}.schedule-row{grid-template-columns:1fr auto}.schedule-row>div:nth-child(2),.schedule-row>.schedule-cell,.schedule-row>.points{display:none}}.proof-chip,.kid-proof-badge{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:800;width:max-content}.proof-chip.none{background:#f3f4f6;color:#6b7280}.proof-chip.optional,.kid-proof-badge.optional{background:#eff6ff;color:#1d4ed8}.proof-chip.required,.kid-proof-badge.required{background:#fff7ed;color:#9a3412}.quest-meta-row{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;min-height:28px}.kid-proof-badge{margin-top:3px;white-space:nowrap}.redo-submit{background:#9a3412}.proof-link{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:#1d4ed8;font-size:12px;font-weight:800;padding:7px 0 0;cursor:pointer}.proof-link:hover{text-decoration:underline}.proof-submit{display:flex;flex-direction:column;gap:14px}.proof-chore-head{display:flex;gap:12px;align-items:center;padding:12px;background:#f8fafc;border-radius:12px}.proof-chore-head div{display:flex;flex-direction:column;gap:2px}.proof-chore-head span{font-size:12px;color:#737d8c}.photo-drop{display:block;border:2px dashed #d9e0e8;border-radius:16px;min-height:230px;cursor:pointer;overflow:hidden;background:#fafbfc}.photo-drop input{position:absolute;opacity:0;pointer-events:none}.photo-drop>div{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#657080}.photo-drop img{display:block;width:100%;max-height:430px;object-fit:contain;background:#111827}.photo-drop span{font-size:12px}.proof-viewer img{display:block;width:100%;max-height:65vh;object-fit:contain;background:#111827;border-radius:12px}.proof-viewer p{font-size:12px;color:#737d8c;margin:10px 2px 0}@media(max-width:620px){.quest-meta-row{flex-direction:column}.kid-proof-badge{margin-top:0}.proof-approval-card{align-items:flex-start}.photo-drop,.photo-drop>div{min-height:190px}}.quest.redo{display:block;align-items:initial;justify-content:initial;gap:initial;padding:18px;font-weight:initial;border:1px solid #fed7aa;border-radius:18px;background:#fff7ed}.quest.redo .quest-top{display:flex;justify-content:space-between;align-items:center}.quest.redo .primary{display:inline-flex;width:100%}.history-stats{grid-template-columns:repeat(4,1fr)}.history-head{align-items:flex-end}.history-count{font-size:12px;color:#7c8797;font-weight:750}.history-filters{display:grid;grid-template-columns:1fr 1fr 1fr 1.6fr;gap:12px;padding:2px 0 20px;border-bottom:1px solid #eef1f4}.history-filters label,.point-child-select{font-size:11px;font-weight:800;color:#667085;display:flex;flex-direction:column;gap:6px}.history-filters select,.history-filters input,.point-child-select select{background:#fff;border:1px solid #dfe4eb;border-radius:9px;padding:9px 10px;color:#111827;font:inherit;font-size:12px;outline:none}.history-search>div{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid #dfe4eb;border-radius:9px;padding-left:10px}.history-search>div:focus-within{border-color:#aab4c2;box-shadow:0 0 0 3px #eef2f6}.history-search input{border:0!important;padding-left:0!important;width:100%;box-shadow:none!important}.timeline{display:flex;flex-direction:column}.timeline-row{display:grid;grid-template-columns:42px 1fr auto;gap:13px;padding:16px 0;border-bottom:1px solid #eef1f4;align-items:start}.timeline-row:last-child{border-bottom:0}.timeline-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#f1f4f8;color:#596577}.timeline-row.points .timeline-icon{background:#f0fdf4;color:#15803d}.timeline-row.rewards .timeline-icon{background:#faf5ff;color:#7e22ce}.timeline-icon.debit{background:#fff1f2;color:#be123c}.timeline-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.timeline-title strong{font-size:14px}.timeline-body p{margin:4px 0;color:#667085;font-size:12px;line-height:1.45}.timeline-meta{font-size:11px;color:#98a2b3}.timeline-points{font-weight:850;font-size:12px}.positive{color:#15803d!important}.negative{color:#be123c!important}.history-status{text-transform:capitalize;white-space:nowrap}.history-empty{min-height:220px}.point-history-panel .panel-head{align-items:flex-end}.point-child-select{min-width:170px}.point-table{overflow-x:auto}.point-table-head,.point-table-row{display:grid;grid-template-columns:1.05fr .8fr 2fr .55fr .55fr;gap:12px;align-items:center;min-width:720px;padding:11px 8px}.point-table-head{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#98a2b3;font-weight:850;border-bottom:1px solid #e8ecf1}.point-table-row{font-size:12px;border-bottom:1px solid #eef1f4}.point-table-row:last-child{border-bottom:0}.point-table-row>span:first-child{color:#778190}.point-table-row strong{font-size:12px}.point-table-row b{text-align:right}.point-table-row>span:nth-child(4){text-align:right;font-weight:850}@media(max-width:1000px){.history-stats,.history-filters{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.history-filters{grid-template-columns:1fr}.timeline-row{grid-template-columns:38px 1fr}.timeline-row>.history-status{grid-column:2;justify-self:start}.point-history-panel .panel-head{align-items:stretch;flex-direction:column}.point-child-select{min-width:0}}.goal-stats{grid-template-columns:repeat(4,1fr)}.goal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.goal-card{border:1px solid #e3e8ee;border-radius:18px;padding:18px;background:#fff}.goal-card.reached{background:#f7fff9;border-color:#bde7c7}.goal-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.goal-icon{width:38px;height:38px;border-radius:12px;background:#f2f5f8;display:grid;place-items:center}.goal-card.reached .goal-icon{background:#e9f9ed}.goal-scope{font-size:11px;font-weight:800;color:#667181}.goal-card h3{margin:15px 0 10px;font-size:17px}.goal-numbers{display:flex;align-items:baseline;gap:6px}.goal-numbers strong{font-size:28px}.goal-numbers span{font-size:12px;color:#778190}.goal-progress{height:8px;background:#edf1f5;border-radius:999px;overflow:hidden}.goal-progress>span{display:block;height:100%;background:#172033;border-radius:999px}.goal-card.reached .goal-progress>span{background:#15803d}.goal-progress.large{height:10px;margin:12px 0}.goal-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#758090}.goal-complete{border-color:#b7dfbf!important;color:#166534!important}.kid-progress-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.streak-panel .panel-head>svg,.kid-goals-panel .panel-head>svg{color:#6b7280}.perfect-streak{display:flex;align-items:center;gap:14px;border:1px solid #e6eaf0;border-radius:15px;padding:14px}.streak-number{display:flex;align-items:center;gap:6px;min-width:82px}.streak-number svg{width:23px;height:23px}.streak-number strong{font-size:30px}.perfect-streak b{display:block;font-size:14px}.perfect-streak span{display:block;color:#7a8493;font-size:12px;margin-top:3px;line-height:1.4}.mini-streak-list{margin-top:10px}.mini-streak-list>div{display:flex;justify-content:space-between;gap:10px;padding:8px 3px;border-bottom:1px solid #eef1f4;font-size:12px}.mini-streak-list>div:last-child{border-bottom:0}.kid-goal-list{display:grid;gap:12px}.kid-goal-row{border-bottom:1px solid #eef1f4;padding-bottom:12px}.kid-goal-row:last-child{border-bottom:0;padding-bottom:0}.goal-row-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px}.goal-row-head strong{font-size:13px}.goal-row-head span{font-size:11px;font-weight:800;color:#647083}.kid-goal-row small{display:block;margin-top:6px;color:#7a8493}.compact-empty{min-height:120px}.streak-family-list{display:grid;gap:10px}.streak-family-row{display:flex;align-items:center;gap:11px;border:1px solid #e5e9ef;border-radius:14px;padding:11px}.streak-family-row .grow span{display:block;color:#7b8491;font-size:11px;margin-top:2px}.streak-badge{margin-left:auto;display:grid;grid-template-columns:auto auto;column-gap:5px;align-items:center;text-align:right}.streak-badge b{font-size:18px}.streak-badge span{grid-column:1/3;font-size:10px;color:#7b8491;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timeline-row.goals .timeline-icon{background:#f5f3ff;color:#6d28d9}.history-status.completed{background:#ecfdf5;color:#166534}.history-status.archived{background:#f3f4f6;color:#4b5563}@media(max-width:1050px){.goal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kid-progress-grid{grid-template-columns:1fr}}@media(max-width:720px){.goal-stats{grid-template-columns:repeat(2,1fr)}.goal-grid{grid-template-columns:1fr}.goal-footer{align-items:flex-start;flex-direction:column}}.notification-button{position:relative}.notification-count{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#111827;color:#fff;font-size:10px;font-weight:900;margin-left:2px}.notification-summary{width:100%;border:1px solid #dfe5ec;background:#fff;border-radius:15px;padding:12px 15px;margin-bottom:16px;display:flex;align-items:center;gap:11px;text-align:left;color:#162033;cursor:pointer}.notification-summary>span:nth-child(2){display:flex;flex-direction:column;flex:1}.notification-summary b{font-size:13px}.notification-summary small{color:#788291;margin-top:2px}.notification-summary>span:last-child{font-size:12px;font-weight:800}.notification-modal{display:grid;gap:18px}.notification-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px}.notification-toolbar>div:first-child{display:flex;flex-direction:column}.notification-toolbar span{font-size:11px;color:#7b8491;margin-top:2px}.notification-toolbar .row-actions{flex-wrap:wrap}.notification-list{display:grid;gap:7px;max-height:370px;overflow:auto;padding-right:3px}.notification-item{width:100%;display:flex;align-items:flex-start;gap:11px;border:1px solid #e4e8ee;border-radius:13px;background:#fff;padding:11px;text-align:left;cursor:pointer;color:#172033}.notification-item.unread{background:#f8fbff;border-color:#cad8ea}.notification-item:hover{border-color:#b9c5d4}.notification-item-icon{width:36px;height:36px;border-radius:11px;background:#f1f4f8;display:grid;place-items:center;flex:0 0 auto}.notification-item.chore_overdue .notification-item-icon{background:#fff1f1;color:#b91c1c}.notification-item.goal_reached .notification-item-icon{background:#f5f3ff;color:#6d28d9}.notification-item.reward_requested .notification-item-icon{background:#faf5ff;color:#7e22ce}.notification-item .grow{display:flex;flex-direction:column;min-width:0}.notification-item strong{font-size:13px}.notification-item span{font-size:11px;color:#667181;margin-top:3px;line-height:1.35}.notification-item small{font-size:10px;color:#929aa6;margin-top:5px}.notification-item>i{width:8px;height:8px;border-radius:999px;background:#2563eb;margin:5px 2px 0 auto;flex:0 0 auto}.notification-settings{border-top:1px solid #e7ebf0;padding-top:17px}.notification-settings h3{margin:2px 0 0}.notification-pref-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.preference-card{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:9px;border:1px solid #e4e8ee;border-radius:12px;padding:10px;background:#fafbfc;cursor:pointer}.preference-card input{width:auto;margin-top:2px}.preference-card span{display:flex;flex-direction:column}.preference-card b{font-size:12px}.preference-card small{font-size:10px;color:#7b8491;margin-top:2px;line-height:1.35}@media(max-width:720px){.notification-pref-grid{grid-template-columns:1fr}.notification-toolbar{align-items:flex-start;flex-direction:column}.notification-summary>span:last-child{display:none}}.delivery-settings-block{border-top:1px solid #e7ebf0;padding-top:16px;margin-top:4px}.delivery-settings-block h3{margin:2px 0 0}.delivery-channel-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.delivery-channel-card{display:grid!important;grid-template-columns:auto auto 1fr;align-items:start;gap:9px;border:1px solid #e3e8ee;border-radius:13px;padding:12px;background:#fafbfc;cursor:pointer}.delivery-channel-card>input{width:auto;margin-top:3px}.delivery-channel-card>svg{margin-top:1px}.delivery-channel-card span{display:flex;flex-direction:column}.delivery-channel-card b{font-size:12px}.delivery-channel-card small{font-size:10px;color:#7b8491;margin-top:2px;line-height:1.35;word-break:break-all}.push-actions{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 2px}.quiet-check{display:flex!important;align-items:center!important;flex-direction:row!important;gap:7px}.quiet-check input{width:auto}.delivery-history{border-top:1px solid #e7ebf0;padding-top:16px;margin-top:6px}.delivery-history h3{margin:2px 0 0}.delivery-history-list{display:grid}.delivery-history-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:8px 2px;border-bottom:1px solid #eef1f4;font-size:11px}.delivery-history-row:last-child{border-bottom:0}.delivery-channel{display:inline-flex;align-items:center;gap:5px;text-transform:capitalize;font-weight:800}.delivery-state{font-size:10px;text-transform:uppercase;letter-spacing:.04em}.delivery-state.sent{color:#15803d}.delivery-state.failed{color:#b91c1c}.delivery-state.skipped{color:#7c3aed}.delivery-state.pending{color:#9a6700}.delivery-history-row small{color:#8b95a3;text-align:right}@media(max-width:720px){.delivery-channel-grid{grid-template-columns:1fr}.delivery-history-row{grid-template-columns:1fr auto}.delivery-history-row small{grid-column:1/3;text-align:left}}
