:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif;color:#172b45;background:#f4f6f9;font-synthesis:none;-webkit-font-smoothing:antialiased;--navy:#172b45;--ink:#172b45;--muted:#738398;--teal:#247e85;--line:#e7ecf2;--surface:#fff;--bg:#f4f6f9;--danger:#c14d55}*{box-sizing:border-box}body{margin:0;min-height:100dvh}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.ic{height:20px;width:20px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none;flex:none}button,input,select,textarea{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #91c6cc;outline-offset:2px}.app{max-width:760px;margin:0 auto;min-height:100dvh}.topbar{height:94px;display:flex;align-items:center;justify-content:space-between;padding:23px 24px 16px}.brand{display:flex;gap:11px;align-items:center}.brand-logo{width:44px;height:44px;border-radius:14px;background:var(--navy);color:white;display:grid;place-items:center;box-shadow:0 7px 14px #172b4522}.brand-logo .ic{width:23px;height:23px}.brand-text strong{font-size:19px;letter-spacing:-.5px;display:block}.brand-text strong span{color:#287d86}.brand-text small{display:block;font-size:11px;color:#8996a6;margin-top:3px}.icon-btn{display:inline-grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid var(--line);border-radius:13px;background:#fff;color:#5b6b7e}.settings-btn{width:42px;height:42px;border-color:transparent;box-shadow:0 3px 14px #101e2a08}main{padding:7px 20px 130px;min-height:calc(100dvh - 180px)}.eyebrow{font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:#7b899a}.page-title{font-size:29px;line-height:1.14;letter-spacing:-1px;margin:6px 0 8px}.page-desc{color:var(--muted);font-size:14px;line-height:1.55;margin:0 0 22px}.header-line{display:flex;justify-content:space-between;gap:10px;align-items:center}.date-chip{white-space:nowrap;border:1px solid #e3eaf0;border-radius:100px;background:white;font-size:12px;font-weight:700;padding:8px 11px;color:#6d7e91}.hero{border-radius:23px;background:linear-gradient(123deg,#172b45,#244760);color:white;padding:22px 21px;display:flex;justify-content:space-between;gap:10px;align-items:center;box-shadow:0 12px 26px #233a5533;overflow:hidden;position:relative}.hero:before{content:"";width:160px;height:160px;border:1px solid #ffffff19;border-radius:50%;position:absolute;right:-55px;top:-70px}.hero-label{font-size:12px;color:#aec4d4;font-weight:600;display:block;margin-bottom:9px}.hero h2{font-size:22px;line-height:1.17;letter-spacing:-.55px;font-weight:750;margin:0 0 7px}.hero p{font-size:12px;margin:0;color:#d1dde7;line-height:1.5;max-width:190px}.ring{--p:0;position:relative;flex:none;width:96px;height:96px;border-radius:50%;background:conic-gradient(#75c8c4 calc(var(--p)*1%),#ffffff24 0);display:grid;place-items:center}.ring:before{content:"";position:absolute;inset:9px;background:#234159;border-radius:50%}.ring-content{position:relative;display:grid;place-items:center}.ring strong{font-size:24px;letter-spacing:-1px}.ring span{font-size:10px;color:#c1d7e2}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 26px}.stat{background:white;border:1px solid #eaf0f4;border-radius:16px;padding:15px 13px;min-width:0}.stat .dot{height:8px;width:8px;border-radius:50%;display:inline-block;margin-right:6px;background:#318e95}.stat .dot.blue{background:#426daa}.stat .dot.gold{background:#db9f49}.stat small{color:var(--muted);font-size:11px;white-space:nowrap}.stat strong{font-size:23px;font-weight:750;display:block;margin-top:7px;letter-spacing:-.6px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:26px 2px 12px;gap:15px}.section-head h2{font-size:16px;letter-spacing:-.35px;margin:0;font-weight:750}.text-link{border:0;background:none;color:var(--teal);font-size:12px;font-weight:750;padding:7px 0}.text-link .ic{height:13px;width:13px;vertical-align:middle}.card{background:var(--surface);border:1px solid #e9eef3;border-radius:17px;box-shadow:0 4px 18px #14233b05}.items{display:flex;flex-direction:column;gap:9px}.item{display:flex;align-items:center;gap:11px;padding:14px}.item .main-item{min-width:0;flex:1}.item-title{font-weight:700;font-size:13.5px;margin:0;overflow-wrap:anywhere}.item.is-done .item-title{text-decoration:line-through;color:#9ca8b6}.item-sub{font-size:11px;color:#8996a5;margin:5px 0 0;display:flex;gap:7px;align-items:center;flex-wrap:wrap}.item-sub .ic{width:12px;height:12px}.check{appearance:none;border:2px solid #cbd6e0;width:23px;height:23px;border-radius:8px;background:white;display:inline-grid;place-items:center;flex:none;cursor:pointer}.check:checked{background:#27838a;border-color:#27838a}.check:checked:after{content:"";width:10px;height:5px;border:solid white;border-width:0 0 2px 2px;transform:rotate(-45deg) translateY(-1px)}.item-actions{display:flex;align-items:center;gap:3px}.mini-btn{height:31px;width:31px;background:transparent;border:0;border-radius:9px;display:grid;place-items:center;color:#9aabba}.mini-btn .ic{height:16px;width:16px}.mini-btn:hover{background:#f3f7fa;color:#455e77}.assignee{color:#416c8f;background:#edf4f8;border-radius:6px;padding:4px 6px;font-size:10px;font-weight:700;white-space:nowrap}.assignee.both{color:#377970;background:#ebf7f4}.assignee.partner{color:#805c9a;background:#f5eff8}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.quick{border:1px solid #e7edf2;background:white;border-radius:15px;min-height:105px;padding:14px 10px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:8px;box-shadow:0 4px 18px #14233b05}.quick-icon{border-radius:11px;width:37px;height:37px;display:grid;place-items:center;background:#eaf3f5;color:#286c7c}.quick-icon.purple{background:#f1f0f9;color:#716e9c}.quick-icon.gold{background:#fff5e8;color:#bc8646}.quick strong{font-size:12px}.empty{padding:22px 18px;text-align:center;border:1px dashed #d6e1e9;background:#ffffffaa;border-radius:16px}.empty .empty-icon{width:43px;height:43px;border-radius:13px;background:#edf3f5;color:#648797;display:grid;place-items:center;margin:0 auto 10px}.empty strong{font-size:14px}.empty p{color:var(--muted);font-size:12px;line-height:1.5;margin:8px 0 0}.list-toolbar{display:flex;gap:8px;justify-content:space-between;align-items:center;margin:0 0 15px}.filters{display:flex;gap:7px}.filter{background:white;border:1px solid #e5ebf0;border-radius:100px;padding:8px 12px;font-size:12px;color:#6d7e8f;font-weight:700}.filter.active{background:var(--navy);border-color:var(--navy);color:white}.primary-btn{border:0;border-radius:13px;background:#1c5268;color:white;padding:13px 17px;font-size:13px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:7px;box-shadow:0 4px 10px #1c526821}.primary-btn .ic{width:17px;height:17px}.primary-btn.full{width:100%;margin-top:8px}.secondary-btn{border:1px solid #dfe8ee;border-radius:12px;padding:10px 13px;background:white;color:#52677b;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px}.secondary-btn.danger{color:#b74750;border-color:#f0d5d9}.secondary-btn .ic{width:16px;height:16px}.shop-add{display:flex;align-items:center;gap:8px;background:white;padding:8px;border:1px solid #e3eaf0;border-radius:15px;margin-bottom:16px}.shop-add input{width:100%;min-width:0;border:0;outline:none;padding:7px 9px;font-size:14px;color:var(--ink);background:transparent}.shop-add input:focus-visible{outline:none}.shop-add button{flex:none;background:#1c5268;color:white;border:0;width:38px;height:38px;border-radius:11px;display:grid;place-items:center}.shop-add button .ic{height:19px}.shopping-summary{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:14px}.shopping-summary span{font-size:12px;color:#7d8c9d}.shopping-summary strong{color:#1e5267}.calendar-shell{background:white;padding:17px 15px;border:1px solid #e8eef3;border-radius:19px}.calendar-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.calendar-head strong{text-transform:capitalize;font-size:16px}.calendar-nav{display:flex;gap:7px}.calendar-nav button{height:33px;width:33px;border:1px solid #e8eef3;background:#fff;border-radius:10px;color:#597086;display:grid;place-items:center}.calendar-nav .ic{height:18px;width:18px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.dayname{text-align:center;font-size:11px;color:#97a4b2;font-weight:800;padding:7px 0 10px}.day{min-height:43px;border:0;background:transparent;border-radius:11px;color:#43576a;position:relative;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:650}.day.outside{opacity:.28}.day.today{box-shadow:inset 0 0 0 1px #93c2c6}.day.selected{background:#1e5369;color:#fff}.day .day-dot{height:4px;width:4px;background:#2b8c90;border-radius:50%;position:absolute;bottom:5px}.day.selected .day-dot{background:#fff}.event{padding:13px 14px;border-left:3px solid #6ca9ad}.event-time{color:#24878a;font-size:11px;font-weight:800;margin-bottom:5px}.event-title{font-size:14px;font-weight:700}.event-note{font-size:11px;color:#8190a0;line-height:1.4;margin-top:4px}.event .item-actions{margin-left:auto}.demo-banner{margin:0 0 16px;border-radius:13px;background:#edf3f7;color:#50677c;border:1px solid #e0eaf0;padding:12px 13px;display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.55}.demo-banner .ic{width:18px;height:18px;color:#5f879a}.demo-banner button{font-size:11px;color:#1f6877;font-weight:800;text-decoration:underline;border:0;background:transparent;padding:2px 0}.demo-banner .banner-copy{flex:1}.settings-card{padding:18px;margin:12px 0}.settings-card h2{font-size:15px;margin:0 0 10px}.settings-card p{font-size:12px;color:#748597;line-height:1.55;margin:6px 0 14px}.settings-actions{display:flex;gap:9px;flex-wrap:wrap}.setting-label{font-size:12px;color:#728195;font-weight:750}.setting-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 15px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#51677b;font-weight:750;margin-bottom:15px}.field input,.field select,.field textarea,.setting-grid input{border-radius:11px;width:100%;border:1px solid #dae4ec;background:#fff;padding:12px;font-size:14px;color:var(--ink);font-weight:500;min-height:44px}.field textarea{resize:vertical;min-height:80px}.setting-grid label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#5a7083;font-weight:700}.muted-note{font-size:11px;color:#91a0ae;line-height:1.5}.tabbar{position:fixed;z-index:10;bottom:0;left:0;right:0;max-width:760px;margin:0 auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:10px max(10px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));border-top:1px solid #e5ebf1;background:#fffffff2;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 -10px 30px #15283c06}.tab{background:none;border:0;color:#91a0af;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:10px;font-weight:700;min-height:47px}.tab .ic{width:21px;height:21px}.tab.is-active{color:#1b6b78}.tab.is-active .ic{stroke-width:2.3}.sheet{border:0;border-radius:23px 23px 0 0;padding:0;background:white;color:var(--ink);width:min(100%,760px);max-width:760px;max-height:min(92dvh,850px);margin:auto auto 0;box-shadow:0 -12px 50px #14233340;overscroll-behavior:contain}.sheet::backdrop{background:#0b203a79}.sheet form{padding:0 22px calc(24px + env(safe-area-inset-bottom));overflow-y:auto;max-height:92dvh}.sheet-handle{height:5px;width:38px;border-radius:10px;background:#dce4eb;margin:10px auto 17px}.sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.sheet-head h2{margin:0;font-size:21px;letter-spacing:-.5px}.form-error{background:#fff0f0;color:#9e3744;border-radius:9px;padding:9px;font-size:12px;margin:0 0 10px}.toast{position:fixed;z-index:100;left:50%;bottom:calc(90px + env(safe-area-inset-bottom));transform:translateX(-50%) translateY(14px);background:#192c42;color:white;padding:12px 16px;border-radius:12px;box-shadow:0 8px 30px #1c2c4444;font-size:12px;font-weight:650;opacity:0;pointer-events:none;transition:.2s;white-space:nowrap;max-width:calc(100vw - 36px);overflow:hidden;text-overflow:ellipsis}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.spacer{height:5px}.mini-caption{margin-top:22px;color:#9ba8b4;text-align:center;font-size:11px}@media(min-width:700px){.topbar{padding-left:35px;padding-right:35px}main{padding-left:35px;padding-right:35px}.tabbar{border-radius:22px 22px 0 0}.page-title{font-size:34px}.hero{padding:28px}.hero h2{font-size:26px}}@media(max-width:370px){.topbar{padding-inline:17px}main{padding-inline:15px}.stat{padding:13px 10px}.stat small{font-size:10px}.quick strong{font-size:11px}.assignee{font-size:9px}.date-chip{font-size:10px}}

/* Acción rápida permanente en el menú inferior */
.tabbar .tab-add-task{color:#1b5969;gap:5px;white-space:nowrap;font-size:clamp(8.5px,2.3vw,10px)}
.tabbar .tab-add-icon{width:38px;height:32px;border-radius:11px;background:#1c5268;color:#fff;display:grid;place-items:center;box-shadow:0 3px 9px #1c52682b;transition:background .15s,transform .15s}
.tabbar .tab-add-icon .ic{width:21px;height:21px;stroke-width:2.4}
.tabbar .tab-add-task:active .tab-add-icon{transform:scale(.95);background:#247e85}
.tabbar .tab-add-task:focus-visible{outline:3px solid #91c6cc;outline-offset:-3px;border-radius:10px}
