:root{--ink:#18312c;--muted:#6b7d77;--brand:#173d35;--brand-2:#28594c;--lime:#c9e875;--lime-soft:#edf6d5;--surface:#fff;--background:#f4f6f1;--border:#dde5df;--error:#a83232;--shadow:0 14px 40px #1d3a3214}*{box-sizing:border-box}html{background:var(--background);scroll-behavior:smooth}body{color:var(--ink);background:radial-gradient(circle at 50% -10%, #fff 0, var(--background) 36rem);-webkit-font-smoothing:antialiased;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #80a83a}h1,h2,p{margin-top:0}h1{letter-spacing:-.035em;margin-bottom:.2rem;font-size:clamp(1.8rem,7vw,2.25rem);line-height:1.08}h2{letter-spacing:-.015em;margin-bottom:0;font-size:1.08rem}.muted{color:var(--muted)}.eyebrow{color:#657970;letter-spacing:.12em;text-transform:uppercase;margin:0 0 .28rem;font-size:.74rem;font-weight:800;line-height:1}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-shell{min-height:100dvh;padding-bottom:calc(88px + env(safe-area-inset-bottom))}.dashboard,.profile-page{width:min(100%,720px);margin-inline:auto;padding:1.35rem 1rem 2.5rem}.dashboard-header,.page-header{justify-content:space-between;align-items:center;padding:.25rem .2rem .3rem;display:flex}.avatar,.large-avatar{color:#fff;background:linear-gradient(145deg, var(--brand-2), var(--brand));flex:none;place-items:center;font-weight:800;display:grid;box-shadow:0 5px 16px #173d3533}.avatar{border-radius:16px;width:46px;height:46px}.large-avatar{border-radius:20px;width:62px;height:62px;font-size:1.35rem}.today-label{color:var(--muted);text-transform:capitalize;margin:.15rem .2rem 1.2rem;font-size:.92rem}.date-card,.form-card,.profile-card{box-shadow:var(--shadow);background:#fffffff0;border:1px solid #dae3dceb;border-radius:22px}.date-card{margin-bottom:.85rem;padding:1rem .8rem .85rem;overflow:hidden}.section-heading{justify-content:space-between;align-items:center;padding:0 .2rem .85rem;display:flex}.date-picker-button{width:44px;height:44px;color:var(--brand);background:var(--lime-soft);cursor:pointer;border-radius:14px;place-items:center;display:grid;position:relative;overflow:hidden}.date-picker-button input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.date-strip{grid-template-columns:repeat(7,minmax(42px,1fr));gap:.3rem;min-width:0;display:grid}.date-strip button{min-width:0;min-height:68px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:16px;padding:.52rem .12rem .42rem;position:relative}.date-strip button span{text-transform:uppercase;margin-bottom:.18rem;font-size:.68rem;display:block}.date-strip button strong{color:var(--ink);font-size:1rem;display:block}.date-strip button.selected{color:#fff;background:var(--brand);box-shadow:0 7px 16px #173d3533}.date-strip button.selected strong{color:#fff}.date-strip button:disabled{cursor:not-allowed;opacity:.42}.status-dot{background:#c4ccc7;border-radius:50%;width:5px;height:5px;margin:.35rem auto 0;display:block}.status-dot.complete{background:#88b533}.date-strip button.selected .status-dot.complete{background:var(--lime)}.status-dot.future{background:0 0;border:1px solid}.wellness-form{gap:.85rem;transition:opacity .2s;display:grid}.wellness-form.loading{opacity:.58}.form-card{border:1px solid var(--border);min-width:0;margin:0;padding:1.05rem}fieldset.form-card{border:1px solid var(--border)}.form-card legend,.label-title{width:100%;color:var(--ink);align-items:center;padding:0;font-size:.98rem;font-weight:800;display:flex}.step-number{width:27px;height:27px;color:var(--brand);background:var(--lime-soft);border-radius:9px;place-items:center;margin-right:.55rem;font-size:.76rem;display:inline-grid}.select-wrap{margin-top:.95rem;position:relative}.select-wrap select,.settings-fields input,.settings-fields select,.login-form input{width:100%;height:50px;color:var(--ink);appearance:none;background:#fbfcfa;border:1px solid #ccd7d0;border-radius:14px;padding:0 2.8rem 0 .9rem;font-weight:650}.select-wrap svg{pointer-events:none;position:absolute;top:50%;right:.9rem;transform:translateY(-50%)rotate(90deg)}.alertness-options{grid-template-columns:repeat(5,1fr);gap:.35rem;margin-top:.9rem;display:grid}.alertness-options label{border:1px solid var(--border);cursor:pointer;background:#fafbf9;border-radius:16px;align-content:center;place-items:center;gap:.2rem;min-height:74px;display:grid;position:relative}.alertness-options label.selected{border:2px solid var(--brand-2);background:var(--lime-soft)}.alertness-options input,.activity-grid input{opacity:0;pointer-events:none;position:absolute}.emoji{filter:saturate(.8);font-size:clamp(1.28rem,6vw,1.65rem)}.score{color:var(--muted);font-size:.7rem;font-weight:800}.selection-help{min-height:1.1rem;color:var(--muted);text-align:center;margin:.65rem 0 0;font-size:.78rem}.activity-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin-top:.9rem;display:grid}.activity-grid label{border:1px solid var(--border);color:#486058;cursor:pointer;background:#fbfcfa;border-radius:13px;justify-content:space-between;align-items:center;gap:.3rem;min-height:46px;padding:.55rem .65rem;font-size:.8rem;font-weight:650;display:flex;position:relative}.activity-grid label.selected{color:var(--brand);background:var(--lime-soft);border-color:#95b953}.note-card{display:block}.note-card textarea{resize:vertical;width:100%;min-height:94px;color:var(--ink);background:#fbfcfa;border:1px solid #ccd7d0;border-radius:14px;margin-top:.9rem;padding:.8rem}.character-count{color:var(--muted);text-align:right;margin-top:.3rem;font-size:.68rem;display:block}.primary-button{color:#fff;background:var(--brand);cursor:pointer;border:0;border-radius:16px;width:100%;min-height:54px;padding:.85rem 1rem;font-weight:800;box-shadow:0 10px 22px #173d3533}.primary-button:hover{background:#205046}.primary-button:disabled{opacity:.55;cursor:not-allowed}.save-button{bottom:calc(84px + env(safe-area-inset-bottom));z-index:3;position:sticky}.feedback{border-radius:13px;justify-content:center;align-items:center;gap:.35rem;min-height:44px;margin:0;padding:.7rem .8rem;font-size:.84rem;font-weight:700;display:flex}.feedback.success{color:#28542a;background:#eaf5dc}.feedback.error{color:var(--error);background:#fbe9e7}.bottom-nav{z-index:10;width:min(100%,720px);min-height:72px;padding:.45rem .4rem calc(.4rem + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff0;border-top:1px solid #d5e0d8e6;border-radius:22px 22px 0 0;grid-template-columns:repeat(4,1fr);margin-inline:auto;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -10px 30px #173d3514}.bottom-nav a,.bottom-nav button{color:#75857f;cursor:pointer;background:0 0;border:0;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:.18rem;min-width:0;min-height:52px;padding:.25rem;font-size:.66rem;font-weight:700;text-decoration:none;display:flex}.bottom-nav .active{color:var(--brand);background:var(--lime-soft)}.bottom-nav button:disabled{opacity:.4;cursor:not-allowed}.profile-page{gap:1rem;display:grid}.profile-page .page-header{margin-bottom:.2rem}.profile-card{padding:1rem}.identity-card{align-items:center;gap:.9rem;display:flex}.identity-card h2{margin-bottom:.25rem;font-size:1.15rem}.identity-card p{color:var(--muted);margin:0;font-size:.85rem}.settings-form{gap:1rem;display:grid}.settings-title{align-items:flex-start;gap:.7rem;display:flex}.settings-title h2{margin:.1rem 0 .25rem}.settings-title p{color:var(--muted);margin:0;font-size:.78rem;line-height:1.45}.settings-icon{width:42px;height:42px;color:var(--brand);background:var(--lime-soft);border-radius:13px;flex:none;place-items:center;display:grid}.switch-row{border-top:1px solid var(--border);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:.8rem;min-height:64px;padding:.75rem 0;display:flex}.switch-row strong,.switch-row small{display:block}.switch-row strong{font-size:.88rem}.switch-row small{color:var(--muted);margin-top:.22rem;font-size:.7rem;line-height:1.35}.switch{flex:none;position:relative}.switch input{opacity:0;position:absolute}.switch i{cursor:pointer;background:#c7d0cb;border-radius:20px;width:48px;height:28px;transition:all .2s;display:block}.switch i:after{content:"";background:#fff;border-radius:50%;width:22px;height:22px;margin:3px;transition:all .2s;display:block;box-shadow:0 2px 5px #0003}.switch input:checked+i{background:var(--brand-2)}.switch input:checked+i:after{transform:translate(20px)}.switch input:focus-visible+i{outline-offset:2px;outline:3px solid #80a83a}.settings-fields{gap:.75rem;display:grid}.settings-fields label,.login-form label{color:#4d625b;gap:.35rem;font-size:.76rem;font-weight:750;display:grid}.settings-fields input:disabled,.settings-fields select:disabled{opacity:.55}.checkbox-row{align-items:center;gap:.6rem;min-height:42px;font-size:.8rem;font-weight:650;display:flex}.checkbox-row input{width:20px;height:20px;accent-color:var(--brand)}.provider-note{color:#53675f;background:#f1f4f0;border-radius:12px;margin:0;padding:.7rem;font-size:.72rem;line-height:1.45}.logout-button{color:#873b3b;cursor:pointer;background:snow;border:1px solid #d9baba;border-radius:15px;justify-content:center;align-items:center;gap:.5rem;min-height:50px;font-weight:750;display:flex}.team-links{gap:.8rem;display:grid}.team-link-row{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:.8rem;min-height:52px;padding-top:.8rem;font-size:.82rem;display:flex}.team-link-row a{color:#fff;background:#1c8e4e;border-radius:10px;padding:.55rem .7rem;font-weight:750;text-decoration:none}.team-link-row span{color:var(--muted);font-size:.72rem}.admin-page{background:#f4f6f1;min-height:100dvh;padding:1.5rem}.admin-header{justify-content:space-between;align-items:center;width:min(1180px,100%);margin:0 auto 1.25rem;display:flex}.admin-header p:last-child{color:var(--muted);margin:.4rem 0 0;font-size:.8rem}.icon-button{border:1px solid var(--border);width:46px;height:46px;color:var(--brand);cursor:pointer;background:#fff;border-radius:14px;place-items:center;display:grid}.admin-page>.feedback{width:min(1180px,100%);margin:0 auto 1rem}.admin-grid{grid-template-columns:260px minmax(0,1fr);align-items:start;gap:1rem;width:min(1180px,100%);margin:auto;display:grid}.admin-sidebar{gap:.75rem;display:grid;position:sticky;top:1rem}.admin-sidebar h2{margin-bottom:.8rem}.inline-form{gap:.5rem;display:flex}.inline-form input,.invite-form input{width:100%;min-width:0;height:44px;color:var(--ink);background:#fbfcfa;border:1px solid #ccd7d0;border-radius:11px;padding:0 .75rem}.inline-form button{color:#fff;background:var(--brand);cursor:pointer;border:0;border-radius:11px;flex:none;padding:0 .85rem;font-weight:750}.team-list{gap:.45rem;display:grid}.team-list>p{color:var(--muted)}.team-list button{border:1px solid var(--border);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border-radius:14px;align-items:center;gap:.65rem;padding:.75rem;display:flex}.team-list button.selected{background:var(--lime-soft);border-color:#8dac4b}.team-list button span{min-width:0;display:grid}.team-list button strong{text-overflow:ellipsis;overflow:hidden}.team-list button small{color:var(--muted);margin-top:.15rem}.admin-content{gap:1rem;min-width:0;display:grid}.admin-title{justify-content:space-between;align-items:center;min-height:68px;padding:.5rem .25rem;display:flex}.admin-title h2{font-size:1.5rem}.count-pill{color:var(--brand);background:var(--lime-soft);border-radius:999px;padding:.45rem .7rem;font-size:.75rem;font-weight:800}.admin-content h3{margin:0 0 .3rem}.section-copy{color:var(--muted);margin-bottom:1rem;font-size:.78rem;line-height:1.45}.invite-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.invite-form label{color:#4d625b;gap:.35rem;font-size:.74rem;font-weight:750;display:grid}.invite-form .primary-button{grid-column:1/-1}.invite-preview{overflow-wrap:anywhere;background:#eef5dd;border-radius:13px;gap:.3rem;margin-top:1rem;padding:.8rem;font-size:.75rem;display:grid}.invite-preview a{color:var(--brand);font-weight:700}.invite-preview small{color:var(--muted)}.whatsapp-form input{flex:1}.member-list{display:grid}.member-list>div{border-top:1px solid var(--border);grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:.65rem;padding:.75rem 0;display:grid}.member-list>div:first-child{border-top:0}.member-list>div>span:nth-child(2){min-width:0;display:grid}.member-list small{color:var(--muted);text-overflow:ellipsis;margin-top:.15rem;overflow:hidden}.mini-avatar{color:#fff;background:var(--brand);border-radius:13px;place-items:center;width:40px;height:40px;font-size:.72rem;font-weight:800;display:grid}.mini-avatar.pending{color:var(--brand);background:var(--lime-soft)}.member-status{color:#7a6742;background:#f6efd9;border-radius:999px;padding:.35rem .55rem;font-size:.66rem;font-style:normal;font-weight:750}.member-status.active{color:#2b6337;background:#e4f2df}.empty-state{min-height:360px;color:var(--muted);text-align:center;background:#fff9;border:1px dashed #bdc9c1;border-radius:22px;align-content:center;place-items:center;padding:2rem;display:grid}.empty-state h2{color:var(--ink);margin:1rem 0 .3rem}@media (max-width:760px){.admin-page{padding:1rem}.admin-grid{grid-template-columns:1fr}.admin-sidebar{position:static}.team-list{display:flex;overflow-x:auto}.team-list button{min-width:190px}.invite-form{grid-template-columns:1fr}.member-list>div{grid-template-columns:42px minmax(0,1fr)}.member-status{grid-column:2;justify-self:start}}.login-page{background:linear-gradient(150deg,#ecf3e4 0%,#f9faf7 55%,#eaf1ed 100%);place-items:center;min-height:100dvh;padding:1.2rem;display:grid}.login-panel{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffdb;border:1px solid #fffc;border-radius:28px;width:min(100%,410px);padding:clamp(1.5rem,6vw,2.4rem);box-shadow:0 24px 70px #173d3521}.brand-mark{width:58px;height:58px;color:var(--lime);background:var(--brand);border-radius:19px;place-items:center;margin-bottom:1.5rem;display:grid;box-shadow:0 10px 24px #173d3533}.login-lead{margin-bottom:1.5rem;line-height:1.5}.login-form{gap:1rem;display:grid}.login-form input{padding-right:.9rem}.privacy-note{color:var(--muted);text-align:center;margin:1.2rem 0 0;font-size:.72rem}@media (min-width:560px){.dashboard,.profile-page{padding-top:2rem}.date-card,.form-card,.profile-card{padding:1.25rem}.settings-fields{grid-template-columns:1.3fr .8fr 1fr}}@media (max-width:370px){.dashboard,.profile-page{padding-inline:.7rem}.date-card{padding-inline:.45rem}.date-strip{gap:.1rem}.date-strip button{border-radius:13px;min-height:66px}.form-card{padding:.9rem}.activity-grid{gap:.4rem}.activity-grid label{padding-inline:.5rem;font-size:.74rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}
