:root{color-scheme:dark;--bg:#0d1714;--surface:#15231e;--surface-2:#1b2e26;--border:#2c3d35;--text:#f6f8f0;--muted:#a0b3a9;--lime:#d3f08a;--dark:#0e1b14;--mint:#9fb9a4;--radius:21px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-synthesis:none;font-optical-sizing:auto}
*{box-sizing:border-box}html{height:100%;-webkit-tap-highlight-color:transparent}body{margin:0;min-width:320px;min-height:100%;background:var(--bg);color:var(--text)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.38;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--lime);outline-offset:3px}a{color:var(--lime)}.icon{height:20px;width:20px;display:inline-block;flex-shrink:0;vertical-align:middle}.app-shell{display:flex;min-height:100vh;max-width:1500px;margin:auto}.sidebar{width:257px;padding:38px 18px;border-right:1px solid var(--border);display:flex;flex-direction:column;gap:25px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;padding:0 12px}.brandmark{display:grid;place-items:center;background:var(--lime);color:#17231b;border-radius:14px;width:45px;height:45px}.brandmark .icon{width:27px;height:27px}.brandname{font-weight:850;font-size:18px;letter-spacing:.11em}.brandsub{font-size:10px;color:var(--muted);margin-top:2px;letter-spacing:.06em}.side-links{display:grid;gap:8px}.nav-item{display:flex;align-items:center;gap:13px;width:100%;border:none;border-radius:14px;background:transparent;color:var(--muted);padding:14px;text-align:left;font-weight:620}.nav-item.active{background:#293e30;color:var(--lime)}.nav-item:hover:not(.active){background:var(--surface)}.sidefoot{margin-top:auto;color:var(--muted);font-size:12px;padding:16px;line-height:1.6}.main-area{flex:1;min-width:0;max-width:1200px}.topbar{min-height:110px;padding:34px 50px 20px;display:flex;justify-content:space-between;align-items:center;gap:15px}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-weight:750;color:var(--muted);font-size:10px}.topbar h1{font-size:21px;margin:8px 0 0;letter-spacing:-.03em}.head-actions{display:flex;gap:10px}.icon-btn{background:var(--surface);border:1px solid var(--border);color:var(--text);border-radius:14px;display:grid;place-items:center;height:43px;width:43px}.content-area{padding:16px 50px 85px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.page-head h2,.hero h2{letter-spacing:-.05em;margin:0;font-size:clamp(27px,4vw,38px);line-height:1.1}.page-head p{color:var(--muted);font-size:14px;margin:8px 0 0}.action{background:var(--lime);color:#122018;border:0;border-radius:13px;padding:13px 17px;font-weight:800;display:inline-flex;gap:9px;align-items:center;justify-content:center;white-space:nowrap}.action:hover{background:#e3f7af}.action.secondary{background:var(--surface-2);color:var(--text);border:1px solid var(--border)}.action.ghost{background:transparent;border:1px solid var(--border);color:var(--muted)}.action.small{padding:10px 12px;font-size:12px}.action.full{width:100%}.action.danger{background:#432a29;color:#ffceca}.cards-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:17px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:22px;min-width:0}.panel-title{font-weight:800;font-size:16px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}.panel-title small{font-weight:500;color:var(--muted);font-size:12px}.hero{padding:33px;min-height:255px;background:linear-gradient(120deg,#2d4632,#183128 72%);position:relative;overflow:hidden;border:1px solid #426443;border-radius:26px;display:flex;flex-direction:column;justify-content:center;margin-bottom:17px}.hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,#7fa56b55,transparent 67%);right:-67px;top:-45px;pointer-events:none}.hero .eyebrow{color:#c1ddaa}.hero h2{max-width:530px;font-size:clamp(29px,4vw,43px);margin:12px 0 10px}.hero p{font-size:15px;color:#cfdecf;margin:0 0 22px;max-width:475px;line-height:1.55}.hero button{align-self:start;position:relative;z-index:1}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:17px}.metric{border-radius:17px;padding:18px;background:var(--surface);border:1px solid var(--border);min-width:0}.metric .metric-icon{background:var(--surface-2);width:37px;height:37px;border-radius:12px;display:grid;place-items:center;color:var(--lime);margin-bottom:16px}.metric strong{display:block;font-size:28px;letter-spacing:-.04em}.metric span{color:var(--muted);font-size:12px;display:block;margin-top:5px}.task-list{display:grid;gap:10px}.task{display:flex;gap:12px;align-items:center;padding:13px;border-radius:15px;background:#1d3028;border:1px solid #32463a}.task.done{opacity:.62}.tick-box{width:25px;height:25px;border:1.5px solid #6e8775;background:transparent;color:#101b16;border-radius:8px;display:grid;place-items:center;flex-shrink:0}.tick-box.checked{background:var(--lime);border-color:var(--lime)}.task-main{flex:1;min-width:0;cursor:pointer}.task-title{font-size:14px;font-weight:700;line-height:1.35}.task-title.done{text-decoration:line-through}.task-meta{color:var(--muted);font-size:11px;margin-top:6px;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.task-meta .dot{height:6px;width:6px;border-radius:50%;display:inline-block}.more-btn{border:0;background:transparent;color:var(--muted);padding:7px;display:grid;place-items:center}.task-actions{display:flex;gap:3px}.mini-pill{display:inline-block;background:#354b3c;color:var(--lime);padding:4px 8px;border-radius:7px;font-size:10px;font-weight:750}.empty{text-align:center;padding:25px 12px;color:var(--muted);font-size:13px;line-height:1.65}.empty .icon{height:28px;width:28px;color:var(--lime);margin-bottom:12px}.empty strong{display:block;color:var(--text);font-size:15px;margin-bottom:4px}.focus-prompt{background:var(--surface-2);padding:17px;border-radius:16px}.focus-prompt p{margin:8px 0 16px;color:var(--muted);font-size:13px;line-height:1.5}.focus-prompt strong{display:block;font-size:15px}.week-bars{display:grid;grid-template-columns:repeat(7,1fr);align-items:end;height:130px;gap:9px;margin:0 4px}.bar-col{display:flex;flex-direction:column;justify-content:end;align-items:center;height:100%;gap:8px}.bar{border-radius:8px 8px 4px 4px;width:100%;min-height:5px;max-width:39px;background:#365442;transition:height .25s}.bar.has{background:var(--lime)}.bar-label{color:var(--muted);font-size:10px}.bar-num{font-size:10px;color:var(--muted)}.habit-list{display:grid;gap:11px}.habit{display:flex;align-items:center;gap:12px;background:#1b3027;border:1px solid var(--border);border-radius:15px;padding:14px}.habit-check{height:35px;width:35px;border-radius:11px;display:grid;place-items:center;border:1px solid #526a54;background:#253d2d;color:var(--lime);flex-shrink:0}.habit-check.yes{background:var(--lime);color:#17251b;border-color:var(--lime)}.habit .label{flex:1;font-weight:670;font-size:13px}.habit small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.project{padding:22px;border-radius:19px;background:var(--surface);border:1px solid var(--border);min-height:154px;display:flex;flex-direction:column;justify-content:space-between;gap:20px}.project-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#2c4535}.project h3{font-size:17px;margin:0 0 5px}.project p{font-size:12px;color:var(--muted);margin:0}.project .bottom{display:flex;align-items:end;justify-content:space-between}.tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px}.tab{background:var(--surface);border:1px solid var(--border);padding:9px 13px;border-radius:99px;font-size:12px;color:var(--muted)}.tab.active{background:var(--lime);color:var(--dark);font-weight:800;border-color:var(--lime)}.focus-card{border-radius:25px;background:var(--surface);border:1px solid var(--border);padding:30px;max-width:770px;margin:auto;text-align:center}.focus-card h2{font-size:24px;margin:10px 0 5px;letter-spacing:-.04em}.focus-card p{font-size:13px;color:var(--muted);margin:0}.ring{height:270px;width:270px;margin:28px auto 18px;padding:10px;border-radius:50%;background:conic-gradient(var(--lime) var(--progress,0%),#32463a var(--progress,0%));display:grid;place-items:center}.ring-inner{width:100%;height:100%;background:var(--surface);border-radius:50%;display:flex;justify-content:center;align-items:center;flex-direction:column}.ring-time{font-size:63px;font-weight:750;letter-spacing:-.08em;font-variant-numeric:tabular-nums}.ring-inner small{color:var(--muted);font-size:12px;letter-spacing:.08em;text-transform:uppercase;margin-top:4px}.focus-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.first-step{margin:22px auto 0;max-width:490px;padding:15px;background:var(--surface-2);border-radius:13px;text-align:left;color:var(--muted);font-size:13px;line-height:1.5}.first-step strong{color:var(--text);display:block;margin-bottom:5px}.history-item{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:12px 0;border-bottom:1px solid var(--border);font-size:13px}.history-item:last-child{border:0}.history-item small{color:var(--muted)}.notice{font-size:12px;color:var(--muted);border-left:2px solid var(--lime);padding-left:12px;line-height:1.65}.sheet{width:min(495px,calc(100% - 22px));border:1px solid var(--border);border-radius:23px;background:#18271f;color:var(--text);padding:0;max-height:min(86dvh,850px);overflow:auto;box-shadow:0 20px 100px #000a}.sheet::backdrop{background:#030705ca;backdrop-filter:blur(4px)}.sheet-content{padding:25px}.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.sheet-head h2{margin:0;font-size:22px;letter-spacing:-.04em}.form{display:grid;gap:15px}.field{display:grid;gap:7px}.field label{font-size:12px;font-weight:750;color:#d1ddd1}.field input,.field select,.field textarea{background:#101d17;border:1px solid #3d5144;color:var(--text);width:100%;border-radius:12px;padding:13px;min-height:46px;outline:0}.field textarea{min-height:78px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--lime)}.field-hint{color:var(--muted);font-size:11px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.color-choice{display:flex;gap:9px}.color-radio{appearance:none;width:35px;height:35px;border:3px solid #19271f;border-radius:50%;cursor:pointer}.color-radio:checked{outline:2px solid white;outline-offset:2px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-bottom:1px solid var(--border)}.setting-row strong{font-size:13px;display:block}.setting-row small{color:var(--muted);font-size:11px;margin-top:4px;display:block;line-height:1.5}.setting-buttons{display:flex;gap:6px;flex-wrap:wrap}.toast{position:fixed;z-index:99;left:50%;bottom:103px;transform:translateX(-50%) translateY(25px);background:var(--lime);color:#152519;border-radius:11px;padding:12px 17px;font-size:13px;font-weight:800;box-shadow:0 14px 35px #0007;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;max-width:calc(100% - 35px);text-align:center}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.mobile-nav{display:none}.add-floating{display:none}.today-highlight{color:var(--lime)}.stat-highlight{color:var(--lime);font-size:36px;letter-spacing:-.07em;font-weight:850}.stat-label{font-size:12px;color:var(--muted)}.stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:17px}.stat-tile{padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:17px}.inline-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pause-line{color:var(--lime);font-size:12px;font-weight:780;margin-top:12px}.footer-note{font-size:11px;text-align:center;color:var(--muted);line-height:1.6;margin:32px 0}.spacer{height:10px}.mobile-only{display:none}
@media(max-width:940px){.sidebar{width:205px}.topbar{padding:27px 23px 16px}.content-area{padding:15px 23px 70px}.cards-grid{grid-template-columns:1fr}.hero{min-height:230px}}
@media(max-width:690px){.app-shell{display:block}.sidebar{display:none}.main-area{max-width:none}.topbar{min-height:92px;padding:20px 20px 15px}.topbar h1{font-size:19px}.content-area{padding:10px 16px calc(110px + env(safe-area-inset-bottom,0px))}.head-actions .icon-btn{height:38px;width:38px}.page-head h2{font-size:29px}.page-head p{font-size:13px}.hero{min-height:265px;padding:26px;border-radius:23px;margin-bottom:13px}.hero h2{font-size:36px}.hero p{font-size:13px}.metric-grid{gap:8px;margin-bottom:12px}.metric{padding:13px;border-radius:14px}.metric .metric-icon{width:31px;height:31px;margin-bottom:12px}.metric .icon{width:17px;height:17px}.metric strong{font-size:24px}.metric span{font-size:10px;line-height:1.35}.panel{padding:17px;border-radius:17px}.cards-grid{gap:12px}.mobile-nav{position:fixed;z-index:20;bottom:0;left:0;right:0;display:flex;justify-content:space-around;align-items:center;background:#111d18ed;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-top:1px solid #33483a;padding:11px 5px calc(12px + env(safe-area-inset-bottom,0px));}.mobile-link{display:grid;justify-items:center;gap:5px;min-width:0;flex:1;background:transparent;border:0;color:#879b8f;font-size:9px;font-weight:650;padding:4px 0}.mobile-link .icon{width:21px;height:21px}.mobile-link.active{color:var(--lime)}.project-grid{gap:10px}.project{min-height:146px;padding:16px}.project h3{font-size:15px}.project p{font-size:11px}.focus-card{padding:22px 12px}.ring{width:248px;height:248px}.ring-time{font-size:57px}.form-row{grid-template-columns:1fr 1fr}.mobile-only{display:initial}.page-head .action{padding:11px 13px;font-size:12px}.stat-grid{gap:10px}.stat-tile{padding:16px}}
@media(max-width:350px){.hero h2{font-size:31px}.ring{width:225px;height:225px}.ring-time{font-size:50px}.project-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

@media(max-width:690px){.hide-on-mobile{display:none}}

.goal-strip{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:13px 17px;margin:-3px 0 16px;background:#193026;border:1px solid #314938;border-radius:15px}.goal-strip strong{display:block;font-size:12px}.goal-strip small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.goal-track{width:clamp(80px,28%,230px);height:8px;background:#355042;border-radius:99px;overflow:hidden}.goal-track div{height:100%;background:var(--lime);border-radius:99px;transition:width .3s}

/* MOMENTUM v2 — agenda flexible e interfaz sensible a la carga */
.day-widget{margin-bottom:17px}.day-widget-actions{margin-top:12px}.now-block{display:grid;gap:8px;padding:17px;border-radius:15px;background:#213d30;margin-bottom:14px}.now-block strong{font-size:17px}.now-block small{font-size:12px;color:var(--muted)}
.date-strip{display:flex;align-items:center;gap:12px;border:1px solid var(--border);background:var(--surface);padding:13px;border-radius:17px;margin-bottom:15px}.date-strip>div{flex:1;text-align:center}.date-strip strong{display:block;font-size:15px;text-transform:capitalize}.date-strip small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.small-round{height:35px;width:35px;flex-shrink:0;display:grid;place-items:center;border:1px solid #435c48;border-radius:11px;background:#263a2e;color:var(--text)}.small-round .icon{height:17px;width:17px}.small-round.is-done{background:var(--lime);color:#112318}
.day-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:12px}.day-stats>div{background:var(--surface);border:1px solid var(--border);padding:14px;border-radius:16px}.day-stats b{display:block;font-size:26px;line-height:1}.day-stats b span{font-size:14px;color:var(--muted)}.day-stats small{display:block;font-size:10px;color:var(--muted);margin-top:7px}.day-progress{height:7px;background:#2d4535;border-radius:9px;overflow:hidden;margin-bottom:17px}.day-progress>div{height:100%;background:var(--lime);border-radius:8px;transition:width .2s}
.day-list{display:grid;gap:9px}.routine-card{display:flex;align-items:center;gap:13px;background:var(--surface);border:1px solid var(--border);padding:13px;border-radius:17px}.routine-card.active-now{border-color:#8fb26d;background:#213b2b}.routine-card.done{opacity:.68}.routine-card.skip{opacity:.58}.routine-hour{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:48px}.routine-hour strong{color:var(--lime);font-size:14px}.routine-hour small{color:var(--muted);font-size:11px}.routine-body{flex:1;min-width:0}.routine-name{font-size:13px;font-weight:800;line-height:1.35}.routine-kind{display:flex;gap:6px;align-items:start;color:var(--muted);font-size:11px;line-height:1.45;margin-top:6px}.cat-dot{width:7px;height:7px;border-radius:99px;flex-shrink:0;margin-top:4px}.routine-status{font-size:11px;color:var(--lime);margin-top:5px}.routine-buttons{display:flex;gap:5px;align-items:center}.routine-buttons .small-round{width:29px;height:31px}.now-pill{display:inline-flex;margin-left:5px;vertical-align:middle;font-size:9px;color:#142a19;background:var(--lime);border-radius:5px;padding:4px 5px}.day-widget-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.start-guide h3{font-size:21px;margin:10px 0}.start-guide p{font-size:14px;color:var(--muted);line-height:1.6}.start-guide .notice{font-size:11px}.checkin-panel{margin-top:22px}.day-picker{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.day-option{cursor:pointer}.day-option input{position:absolute;opacity:0;width:1px;height:1px}.day-option span{display:grid;place-items:center;min-height:38px;background:var(--surface-2);border-radius:10px;color:var(--muted);font-size:13px;font-weight:800;border:1px solid var(--border)}.day-option input:checked+span{background:var(--lime);color:#112318;border-color:var(--lime)}.day-option input:focus-visible+span{outline:2px solid var(--lime);outline-offset:2px}.more-links{display:grid;gap:10px}.more-links .action{justify-content:flex-start}
@media(max-width:690px){.day-widget{margin-bottom:13px}.routine-card{gap:8px;padding:11px}.routine-hour{min-width:45px}.routine-name{font-size:12px}.routine-kind{font-size:10px}.routine-buttons{gap:4px}.routine-buttons .small-round{width:28px;height:30px}.date-strip{gap:6px;padding:10px}.date-strip strong{font-size:12px}.date-strip .action{font-size:11px}.day-stats>div{padding:11px}.day-stats b{font-size:22px}.day-stats small{font-size:9px}.mobile-link .icon{width:21px;height:21px}}
