:root{--ink:#14213d;--muted:#657086;--line:#e5e9f0;--bg:#f4f6fa;--surface:#fff;--nav:#111827;--blue:#356df3;--blue2:#6895ff;--work:#3267e3;--uni:#8b5cf6;--personal:#e98b36;--green:#1f9d68;--red:#d84b4b;--shadow:0 12px 35px #12213d14}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;font-size:16px}.app-shell{grid-template-columns:245px 1fr;min-height:100vh;display:grid}.sidebar{background:var(--nav);color:#fff;flex-direction:column;height:100vh;padding:24px 16px;display:flex;position:sticky;top:0}.brand{letter-spacing:-.02em;align-items:center;gap:11px;margin:2px 8px 34px;font-weight:750;display:flex}.brand-mark{background:linear-gradient(145deg,#5a86ff,#2f58d8);border-radius:10px;place-items:center;width:34px;height:34px;display:grid;box-shadow:0 7px 18px #07112c}.sidebar nav{gap:6px;display:grid}.nav-item{color:#aeb8ca;text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;padding:11px 12px;display:flex}.nav-item span{text-align:center;width:18px}.nav-item:hover,.nav-item.active{color:#fff;background:#202c42}.sidebar-bottom{gap:13px;margin-top:auto;display:grid}.primary,.quick-add{background:var(--blue);color:#fff;font:inherit;cursor:pointer;border:0;border-radius:10px;padding:11px 16px;font-weight:700}.full{width:100%}main{min-width:0;padding:0 40px 50px}.topbar{justify-content:space-between;align-items:center;height:112px;display:flex}.topbar h1{letter-spacing:-.035em;margin:4px 0 0;font-size:1.65rem}.eyebrow{color:#8490a3;letter-spacing:.1em;margin:0;font-size:.76rem;font-weight:800}.quick-add{display:none}.view{animation:.18s fade;display:none}@keyframes fade{0%{opacity:.4;transform:translateY(4px)}}.hero-grid{grid-template-columns:1.15fr .85fr;gap:20px;display:grid}.focus-card,.week-card,.panel,.table-card{background:var(--surface);box-shadow:var(--shadow);border-radius:18px}.focus-card{color:#fff;background:linear-gradient(140deg,#14213d 5%,#253d70 100%);padding:28px}.week-card,.panel{padding:26px}.card-head,.panel-title{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.card-head h2,.panel-title h2,.section-heading h2{letter-spacing:-.035em;margin:6px 0 0}.live-dot{color:#b9f4d9;background:#1d4b42;border-radius:999px;padding:6px 9px;font-size:.78rem}.focus-list{gap:9px;margin:23px 0 12px;display:grid}.focus-item{border-bottom:1px solid #ffffff1f;align-items:center;gap:13px;padding:10px 0;display:flex}.focus-number{background:#ffffff1a;border-radius:8px;place-items:center;width:30px;height:30px;font-weight:800;display:grid}.text-button{color:var(--blue);font:inherit;cursor:pointer;background:0 0;border:0;padding:5px 0;font-weight:700}.focus-card .text-button{color:#bcd0ff}.score{color:var(--green);font-size:1.8rem;font-weight:800}.week-bars{gap:19px;margin-top:28px;display:grid}.bar-meta{justify-content:space-between;margin-bottom:7px;font-size:.9rem;display:flex}.bar-track{background:#edf0f5;border-radius:10px;height:8px;overflow:hidden}.bar-fill{border-radius:10px;height:100%}.kpis{grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0;display:grid}.kpi{border:1px solid var(--line);background:#fff;border-radius:15px;padding:19px 21px}.kpi-value{font-size:1.7rem;font-weight:800}.dashboard-grid{grid-template-columns:1.4fr .6fr;gap:20px;display:grid}.upcoming-item,.task-line{border-bottom:1px solid var(--line);grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:14px 0;display:grid}.status-dot{border-radius:50%;width:9px;height:9px}.upcoming-title{font-weight:700}.meta{color:var(--muted);margin-top:4px;font-size:.82rem}.date-chip{background:#f0f3f8;border-radius:8px;padding:6px 9px;font-size:.8rem}.donut-wrap{place-items:center;min-height:210px;display:grid}.donut{border-radius:50%;place-items:center;width:146px;height:146px;display:grid;position:relative}.donut:after{content:"";background:#fff;border-radius:50%;width:92px;height:92px;position:absolute}.donut-center{z-index:1;text-align:center;font-weight:800;position:relative}.donut-center small{color:var(--muted);font-weight:500;display:block}.legend{gap:8px;width:100%;margin-top:10px;display:grid}.legend-row{justify-content:space-between;font-size:.84rem;display:flex}.section-heading.row{justify-content:space-between;align-items:end;display:flex}.day-layout{grid-template-columns:1fr 1fr;gap:20px;display:grid}.filters{gap:10px;margin-bottom:15px;display:flex}.filters input,.filters select,label input,label select,label textarea{font:inherit;color:var(--ink);background:#fff;border:1px solid #dbe0e8;border-radius:10px;padding:11px 12px}.filters input{flex:1;min-width:280px}.table-card table{border-collapse:collapse;width:100%;min-width:850px}.table-card th{text-transform:uppercase;letter-spacing:.07em;color:#8390a2;text-align:left;background:#f9fafc;padding:15px 18px;font-size:.76rem}.table-card td{border-top:1px solid var(--line);vertical-align:middle;padding:15px 18px}.activity-name{font-weight:700}.badge,.tag{border-radius:7px;padding:5px 8px;font-size:.75rem;font-weight:750;display:inline-flex}.priority.Alta{color:var(--red);font-weight:800}.row-actions{gap:8px;display:flex}.icon-button{cursor:pointer;color:var(--muted);background:0 0;border:0;font-size:1.35rem}.complete-button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;padding:6px 9px}.empty{text-align:center;color:var(--muted);padding:45px}.planner{grid-template-columns:repeat(5,1fr);gap:13px;display:grid}.day-column{min-height:260px;box-shadow:var(--shadow);background:#fff;border-radius:15px;padding:18px}.day-column h3{margin:0 0 15px}.mini-task{border-left:3px solid var(--blue);background:#f6f8fc;border-radius:4px 8px 8px 4px;margin-bottom:9px;padding:10px;font-size:.85rem}.projects-grid,.settings-grid,.analytics-grid{grid-template-columns:repeat(3,1fr);gap:18px;display:grid}.project-card h3{margin:4px 0}.progress{background:#edf0f5;border-radius:10px;height:7px;margin:17px 0;overflow:hidden}.progress div{background:var(--blue);border-radius:10px;height:100%}.muted{color:var(--muted);line-height:1.6}.analytics-card .big{margin:13px 0 0;font-size:2.3rem;font-weight:800}.automation-row{border-bottom:1px solid var(--line);grid-template-columns:1fr 100px 100px;align-items:center;gap:20px;padding:16px 0;display:grid}.auto-score{color:var(--green);font-size:1.25rem;font-weight:800}dialog{border:0;border-radius:20px;width:min(600px,100% - 30px);padding:0;box-shadow:0 24px 80px #0912244d}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#080f1e94}dialog form{padding:26px}.dialog-head{justify-content:space-between;display:flex}.dialog-head h2{margin:5px 0 22px}label{gap:7px;margin-bottom:15px;font-size:.86rem;font-weight:700;display:grid}.form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.more{margin-top:16px}details{border-top:1px solid var(--line);padding-top:13px}summary{cursor:pointer;color:var(--blue);margin-bottom:15px;font-weight:700}.dialog-actions{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.secondary{font:inherit;cursor:pointer;background:#eef1f6;border:0;border-radius:10px;padding:11px 16px;font-weight:700}#toast{color:#fff;opacity:0;pointer-events:none;z-index:10;background:#14213d;border-radius:10px;padding:13px 18px;transition:all .2s;position:fixed;bottom:24px;right:24px;transform:translateY(10px)}#toast.show{opacity:1;transform:none}.mobile-menu{background:0 0;border:0;font-size:1.4rem;display:none}@media (width<=900px){.app-shell{grid-template-columns:1fr}.sidebar{z-index:20;width:245px;transition:all .2s;position:fixed;transform:translate(-105%)}.sidebar.open{transform:none}main{padding:0 20px 36px}.mobile-menu{display:block}.topbar{justify-content:flex-start;gap:15px;height:92px}.topbar .quick-add{margin-left:auto;display:block}.quick-add span{display:none}.hero-grid,.dashboard-grid,.day-layout{grid-template-columns:1fr}.kpis{grid-template-columns:repeat(2,1fr)}.planner{grid-template-columns:1fr 1fr}.projects-grid,.settings-grid,.analytics-grid{grid-template-columns:1fr}.filters{flex-wrap:wrap}.filters input{min-width:100%}}@media (width<=560px){main{padding:0 14px 30px}.topbar h1{font-size:1.25rem}.kpis{gap:9px}.kpi{padding:15px}.planner,.form-grid{grid-template-columns:1fr}.section-heading.row{align-items:flex-start}.section-heading.row .primary{width:42px;height:42px;padding:0;font-size:0}.section-heading.row .primary:first-letter{font-size:18px}.focus-card,.week-card,.panel{padding:21px}.automation-row{grid-template-columns:1fr auto}.automation-row .muted{display:none}}:root{--ink:#121212;--muted:#6e685f;--line:#181818;--soft-line:#d9d0c2;--bg:#f6efe3;--surface:#fbf6ed;--nav:#101010;--work:#7b243b;--uni:#d9b43f;--personal:#75834a;--blue:#7b243b;--green:#536332;--red:#a92f3c;--shadow:none}*{scrollbar-color:#bdb3a5 transparent}body{background:var(--bg);color:var(--ink);font-family:Aptos,Segoe UI,Inter,Arial,sans-serif}.focus-item .meta{color:#ffffffb3}button,input,select,textarea{font-family:inherit}.app-shell{grid-template-columns:220px minmax(0,1fr);gap:0;min-height:100vh;padding:10px}.sidebar{background:var(--nav);border:1px solid var(--line);color:#fff;border-radius:17px;height:calc(100vh - 20px);padding:28px 15px 18px;top:10px}.brand{letter-spacing:-.04em;gap:9px;margin:0 11px 34px;font-size:1.22rem;font-weight:750}.brand-mark{background:var(--uni);width:29px;height:29px;color:var(--nav);box-shadow:none;border-radius:8px;font:800 1rem/1 Aptos,Segoe UI,sans-serif}.sidebar nav{gap:3px}.nav-group{color:#716f6a;margin:21px 12px 7px;font-size:.72rem}.nav-item{color:#c5c3be;border-radius:8px;gap:11px;padding:10px 12px;font-size:.88rem;transition:background .14s,color .14s}.nav-item svg,.global-search svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;flex:0 0 17px;width:17px;height:17px}.nav-item:hover{color:#fff;background:#1e1e1e;transform:none}.nav-item.active{background:var(--uni);color:var(--ink);font-weight:700}.sidebar-bottom{gap:10px}.primary,.quick-add{background:var(--nav);color:#fff;border:1px solid var(--nav);box-shadow:none;border-radius:999px;justify-content:center;align-items:center;gap:9px;padding:10px 17px;font-size:.88rem;font-weight:700;display:inline-flex}.sidebar .primary{color:#111;background:#fff;border-color:#fff;border-radius:10px}.primary:hover,.quick-add:hover{background:#292929}.sidebar .primary:hover{background:var(--uni);border-color:var(--uni)}.plus-icon{flex:0 0 12px;width:12px;height:12px;display:inline-block;position:relative}.plus-icon:before,.plus-icon:after{content:"";background:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.plus-icon:before{width:12px;height:1.5px}.plus-icon:after{width:1.5px;height:12px}main{background:var(--bg);min-width:0;padding:0 26px 36px}.topbar{border:0;gap:20px;height:104px;margin:0}.topbar h1{letter-spacing:-.045em;margin:4px 0 0;font-family:inherit;font-size:2rem;font-weight:720;line-height:1.05}.eyebrow{color:var(--muted);letter-spacing:0;text-transform:none;font-size:.78rem;font-weight:600}.eyebrow.light{color:#ffffffb3}.topbar-actions{align-items:center;gap:10px;margin-left:auto;display:flex}.global-search{border:1px solid var(--line);background:0 0;border-radius:999px;align-items:center;gap:10px;width:min(390px,34vw);height:42px;padding:0 15px;display:flex}.global-search input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:.88rem}.quick-add{background:var(--nav);display:inline-flex}.view{animation:none}.view.active{display:block}#inicio.active{grid-template-columns:minmax(0,1fr) 292px;align-items:start;gap:12px;display:grid}.hero-grid{grid-column:1;grid-template-columns:1.15fr .85fr;gap:12px;display:grid}.kpis{border:1px solid var(--line);background:var(--surface);border-radius:16px;grid-area:1/2;grid-template-columns:1fr 1fr;gap:0;margin:0;display:grid;overflow:hidden}.dashboard-grid{display:contents}.dashboard-grid>.panel:first-child{grid-area:2/1}.distribution-panel{grid-area:2/2}.focus-card,.week-card,.panel,.table-card{border:1px solid var(--line);background:var(--surface);box-shadow:none;border-radius:16px}.focus-card{background:var(--work);color:#fff;min-height:292px;padding:24px}.focus-card:after{display:none}.week-card{background:var(--uni);min-height:292px;padding:24px}.panel{padding:23px}.card-head h2,.panel-title h2,.section-heading h2{letter-spacing:-.035em;margin:5px 0 0;font-size:1.25rem;line-height:1.12}.score{color:var(--ink);font-size:2.1rem;font-weight:750;line-height:1}.focus-list{gap:0;margin:20px 0 11px}.focus-item{border-bottom:1px solid #ffffff3d;padding:12px 0}.focus-number{background:0 0;border:1px solid #ffffffa6;border-radius:50%;width:25px;height:25px;font-size:.78rem}.focus-card .text-button{color:#fff;text-underline-offset:4px;text-decoration:underline}.week-bars{gap:22px;margin-top:30px}.bar-track{background:#ffffff85;border:1px solid #00000014;height:9px}.kpi{background:0 0;border:0;border-radius:0;min-height:108px;padding:21px 17px}.kpi:before{display:none}.kpi:nth-child(odd){border-right:1px solid var(--line)}.kpi:nth-child(-n+2){border-bottom:1px solid var(--line)}.kpi-value{letter-spacing:-.05em;font-size:2rem;font-weight:760;line-height:1}.kpi-label{color:var(--muted);margin-top:8px;font-size:.78rem}.distribution-panel{background:var(--personal);color:#fff}.donut-wrap{min-height:220px}.donut{border:1px solid #ffffff73;width:136px;height:136px}.donut:after{background:var(--personal);width:84px;height:84px}.donut-center small{color:#ffffffbf}.upcoming-item,.task-line{border-color:var(--soft-line);padding:13px 0}.status-dot{width:8px;height:8px}.upcoming-title{font-size:.92rem}.meta{color:var(--muted);font-size:.78rem}.date-chip{border:1px solid var(--soft-line);color:var(--ink);background:0 0;border-radius:999px;padding:5px 9px}.section-heading{margin:15px 0 20px}.section-heading h2{font-size:1.75rem}.day-layout,.projects-grid,.settings-grid,.analytics-grid{gap:12px}.filters{gap:8px}.filters input,.filters select,label input,label select,label textarea{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:10px 12px}.table-card{overflow:auto}.table-card th{color:#575149;letter-spacing:.04em;background:#e9e1d5;font-size:.7rem}.table-card td{border-color:var(--soft-line);padding:13px 16px}.badge,.tag{border-radius:4px;padding:4px 7px;font-size:.7rem}.badge.Inbox{background:#e6e0d7}.badge.Pendiente{color:#5f4802;background:#f2dda0}.badge.En-curso{color:#681d32;background:#e5c3cc}.badge.Esperando{color:#425025;background:#dce2c7}.badge.Completado{color:#344723;background:#d8e3ca}.tag.work{color:#681d32;background:#e9cbd3}.tag.university{color:#5f4802;background:#f2dda0}.tag.personal{color:#425025;background:#dce2c7}.planner{gap:8px}.day-column{background:var(--surface);border:1px solid var(--line);border-top:5px solid var(--uni);box-shadow:none;border-radius:12px}.mini-task{background:#eee7db;border-radius:3px 7px 7px 3px}.progress{background:#e0d8cc}.progress div{background:var(--work)}.area-panel{box-shadow:none}.area-panel:before{width:5px}.text-button{color:var(--ink);text-underline-offset:4px;text-decoration:underline}.complete-button{border-color:var(--soft-line);background:0 0}.secondary{background:#e9e1d5}dialog{background:var(--surface);border:1px solid var(--line);box-shadow:none;border-radius:14px}dialog::backdrop{background:#0000008c}#toast{background:var(--nav);border-radius:7px}.mobile-menu{border:1px solid var(--line);background:0 0;border-radius:8px;width:38px;height:38px;padding:9px}.mobile-menu span{background:currentColor;height:1.5px;margin:4px 0;display:block}@media (width<=1100px){#inicio.active{grid-template-columns:1fr}.hero-grid,.kpis,.dashboard-grid>.panel:first-child,.distribution-panel{grid-area:auto/1}.kpis{grid-template-columns:repeat(4,1fr)}.kpi:nth-child(n){border:0;border-right:1px solid var(--line)}.kpi:last-child{border-right:0}.dashboard-grid{grid-column:1;grid-template-columns:1.3fr .7fr;gap:12px;display:grid}.dashboard-grid>.panel:first-child,.distribution-panel{grid-column:auto}.global-search{width:280px}}@media (width<=900px){.app-shell{padding:0;display:block}.sidebar{z-index:20;border-radius:0;width:230px;height:100vh;position:fixed;top:0;transform:translate(-105%)}.sidebar.open{transform:none}main{padding:0 18px 30px}.topbar{height:88px}.global-search{display:none}.hero-grid,.dashboard-grid{grid-template-columns:1fr}.kpis{grid-template-columns:1fr 1fr}.kpi:nth-child(n){border:0}.kpi:nth-child(odd){border-right:1px solid var(--line)}.kpi:nth-child(-n+2){border-bottom:1px solid var(--line)}}@media (width<=560px){main{padding:0 12px 24px}.topbar{gap:10px}.topbar h1{font-size:1.35rem}.topbar .quick-add{width:40px;height:40px;padding:0}.topbar .quick-add span:last-child{display:none}.focus-card,.week-card,.panel{padding:19px}.hero-grid{gap:9px}.focus-card,.week-card{min-height:auto}.kpis{margin-top:0}.section-heading.row .primary{width:auto;height:auto;padding:9px 12px;font-size:.78rem}.section-heading.row .primary:first-letter{font-size:inherit}}.utility-row{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:12px;display:grid}.utility-card{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.utility-card h2{margin:5px 0 0;font-size:1.25rem}.utility-content{justify-content:flex-end;align-items:center;gap:12px;max-width:520px;display:flex}.utility-content p{margin:0}.weather-reading{align-items:center;gap:14px;display:flex}.weather-temperature{letter-spacing:-.05em;font-size:2rem;font-weight:760}.weather-meta{color:var(--muted);gap:2px;font-size:.82rem;display:grid}.mail-shortcuts{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.shortcut-link{border:1px solid var(--line);min-width:190px;color:var(--ink);border-radius:9px;justify-content:space-between;align-items:center;gap:22px;padding:12px 14px;font-size:.86rem;font-weight:650;text-decoration:none;display:flex}.shortcut-link:hover{background:#e5ddd1}.shortcut-link span{color:var(--muted);font-size:.76rem}.week-nav{gap:6px;display:flex}.week-nav .secondary{border:1px solid var(--line);padding:9px 13px}.calendar-legend{color:var(--muted);align-items:center;gap:17px;margin:-8px 0 12px;font-size:.78rem;display:flex}.calendar-legend span{align-items:center;gap:7px;display:flex}.calendar-legend i{border-radius:50%;width:9px;height:9px}.unscheduled-strip{border:1px solid var(--line);background:#d8d0c4;border-radius:10px;margin-bottom:10px;padding:12px;display:none}.unscheduled-strip.visible{display:block}.unscheduled-strip>strong{margin-bottom:8px;font-size:.82rem;display:block}.unscheduled-list{flex-wrap:wrap;gap:8px;display:flex}.unscheduled-item{border:1px solid var(--soft-line);border-left:4px solid var(--work);background:var(--surface);border-radius:6px;padding:8px 10px;font-size:.79rem}.calendar-shell{--hour-height:58px;border:1px solid var(--line);background:var(--surface);border-radius:12px;min-height:540px;max-height:calc(100vh - 255px);overflow:auto}.calendar-board{min-width:1060px}.calendar-head{z-index:5;border-bottom:1px solid var(--line);background:var(--surface);grid-template-columns:64px repeat(7,minmax(130px,1fr));display:grid;position:sticky;top:0}.calendar-head-spacer{border-right:1px solid var(--soft-line)}.calendar-day-head{text-align:center;border-right:1px solid var(--soft-line);padding:12px 8px}.calendar-day-head:last-child{border-right:0}.calendar-day-head strong{font-size:.87rem;display:block}.calendar-day-head span{color:var(--muted);margin-top:3px;font-size:.75rem;display:block}.calendar-day-head.today{background:#ddd3c5}.calendar-day-head.today strong{color:var(--work)}.calendar-body{grid-template-columns:64px 1fr;display:grid;position:relative}.time-rail{height:calc(16 * var(--hour-height));border-right:1px solid var(--soft-line);background:#e9e1d5;position:relative}.time-label{color:var(--muted);font-size:.69rem;position:absolute;right:9px;transform:translateY(-50%)}.day-grid{height:calc(16 * var(--hour-height));background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--hour-height) - 1px),var(--soft-line) calc(var(--hour-height) - 1px),var(--soft-line) var(--hour-height));grid-template-columns:repeat(7,minmax(130px,1fr));display:grid;position:relative}.calendar-lane{border-right:1px solid var(--soft-line);min-width:0;position:relative}.calendar-lane:last-child{border-right:0}.calendar-lane.today{background:#7b243b09}.calendar-event{z-index:2;border-left:4px solid var(--work);background:#e6ded2;border-radius:5px;padding:7px 8px;font-size:.74rem;line-height:1.25;position:absolute;left:5px;right:5px;overflow:hidden}.calendar-event.work{border-color:var(--work);background:#e5ccd3}.calendar-event.university{border-color:var(--uni);background:#eadcb6}.calendar-event.personal{border-color:var(--personal);background:#d9dfca}.calendar-event b{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.calendar-event span{color:#5f5a52;white-space:nowrap;text-overflow:ellipsis;margin-top:3px;display:block;overflow:hidden}.event-location{color:inherit;text-underline-offset:2px;text-decoration:underline}.automation-summary{grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px;display:grid}.automation-kpi{border:1px solid var(--line);background:var(--surface);border-radius:11px;padding:17px}.automation-kpi strong{font-size:1.45rem;display:block}.automation-kpi span{color:var(--muted);margin-top:4px;font-size:.78rem;display:block}.cron-row{border-bottom:1px solid var(--soft-line);grid-template-columns:minmax(210px,1fr) 170px 145px 110px auto;align-items:center;gap:14px;padding:15px 0;display:grid}.cron-row:last-child{border-bottom:0}.cron-name{font-weight:720}.cron-expression{background:#ded6ca;border-radius:5px;padding:6px 8px;font-family:Cascadia Code,Consolas,monospace;font-size:.78rem}.cron-state{align-items:center;gap:7px;font-size:.78rem;display:inline-flex}.cron-state:before{content:"";background:#8d877d;border-radius:50%;width:8px;height:8px}.cron-state.active:before{background:var(--personal)}.cron-actions{justify-content:flex-end;gap:6px;display:flex}.cron-help{background:#e6ded2;border-radius:8px;gap:7px;margin-top:14px;padding:12px;font-size:.78rem;display:grid}.cron-help span{gap:10px;display:flex}.cron-help code{min-width:112px}.config-stack{gap:12px;display:grid}.calendar-mapping{grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0 4px;display:grid}.calendar-actions{flex-wrap:wrap;gap:8px;display:flex}.calendar-status{background:#e3dbcf;border-radius:8px;padding:10px 12px}.calendar-status.error{color:#711d33;background:#ead0d7}.calendar-status.success{color:#33451e;background:#dce3cc}.shortcut-form{grid-template-columns:1fr 1fr;gap:12px;display:grid}.shortcut-form .dialog-actions{grid-column:1/-1}.check-row{align-items:center;gap:9px;display:flex}.check-row input{width:17px;height:17px;margin:0}.form-grid .check-row{align-self:center;margin-top:10px}@media (width<=1100px){.utility-row{grid-template-columns:1fr}.calendar-shell{max-height:650px}.cron-row{grid-template-columns:1fr 155px 125px auto}.cron-row .cron-timezone{display:none}}@media (width<=760px){.utility-card{display:grid}.utility-content,.mail-shortcuts{justify-content:flex-start}.calendar-shell{max-height:620px}.automation-summary{grid-template-columns:1fr 1fr}.cron-row{grid-template-columns:1fr auto}.cron-row .cron-expression,.cron-row .cron-action{grid-column:1}.calendar-mapping,.shortcut-form{grid-template-columns:1fr}.shortcut-form .dialog-actions{grid-column:1}.section-heading.row{gap:12px}.week-nav{flex:none}}.mobile-tabbar,.sidebar-backdrop{display:none}.mobile-agenda{gap:10px;display:grid}.mobile-day-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;overflow:hidden}.mobile-day-head{border-bottom:1px solid var(--soft-line);background:#e3dbcf;justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.mobile-day-head.today{background:var(--work);color:#fff}.mobile-day-head strong{font-size:.95rem}.mobile-day-head span{font-size:.78rem}.mobile-day-events{display:grid}.mobile-agenda-event{border:0;border-bottom:1px solid var(--soft-line);min-height:68px;color:var(--ink);text-align:left;background:0 0;grid-template-columns:48px 4px 1fr auto;align-items:center;gap:10px;padding:10px 12px;display:grid}.mobile-agenda-event:last-child{border-bottom:0}.mobile-agenda-event .event-time{font-size:.82rem;font-weight:750}.mobile-agenda-event .event-accent{background:var(--work);border-radius:99px;align-self:stretch}.mobile-agenda-event.university .event-accent{background:var(--uni)}.mobile-agenda-event.personal .event-accent{background:var(--personal)}.mobile-agenda-event b{font-size:.9rem;display:block}.mobile-agenda-event .meta{margin-top:3px}.mobile-empty-day{color:var(--muted);padding:16px 14px;font-size:.85rem}@media (width<=760px){body{padding-bottom:calc(76px + env(safe-area-inset-bottom));overflow-x:hidden}main{padding:0 12px 24px}.topbar{z-index:9;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--soft-line);background:#ded6c9f5;height:72px;margin:0 -12px;padding:0 12px;position:sticky;top:0}.mobile-menu{display:none}.topbar h1{font-size:1.22rem}.topbar .eyebrow{font-size:.69rem}.topbar-actions{margin-left:auto}.topbar .quick-add,.session-row{display:none}.scope-bar{background:0 0;border:0;min-height:0;margin:8px 0 12px;padding:0}.scope-current{display:none}.scope-controls{scrollbar-width:none;gap:7px;width:100%;padding:1px 1px 7px;overflow-x:auto}.scope-controls::-webkit-scrollbar{display:none}.scope-button{background:var(--surface);border-color:var(--soft-line);min-height:42px;padding:9px 14px}#inicio.active{display:block}.hero-grid{grid-template-columns:1fr;gap:10px;display:grid}.focus-card,.week-card{min-height:0}.focus-card,.week-card,.panel{border-radius:14px;padding:18px}.focus-card{order:0}.week-card{order:1}.card-head h2,.panel-title h2{font-size:1.14rem}.week-bars{gap:16px;margin-top:20px}.kpis{border-radius:14px;grid-template-columns:1fr 1fr;margin:10px 0;display:grid}.kpi{min-height:92px;padding:15px}.kpi-value{font-size:1.65rem}.kpi-label{font-size:.76rem}.dashboard-grid{grid-template-columns:1fr;gap:10px;display:grid}.distribution-panel{display:none}.utility-row{grid-template-columns:1fr;gap:10px;margin-top:10px}.utility-card{gap:14px}.utility-content{justify-items:start;display:grid}.mail-shortcuts{width:100%;display:grid}.shortcut-link{width:100%;min-width:0;min-height:48px}.section-heading{margin:14px 0}.section-heading.row{align-items:center;gap:10px}.section-heading h2{font-size:1.45rem}.section-heading.row>div{min-width:0}.section-heading.row .primary{white-space:nowrap;flex:none}.day-layout{grid-template-columns:1fr;gap:10px}.upcoming-item,.task-line{grid-template-columns:auto minmax(0,1fr) auto}.date-chip{white-space:nowrap;font-size:.72rem}.filters{grid-template-columns:1fr 1fr;gap:8px;display:grid}.filters input{grid-column:1/-1;min-width:0}.filters input,.filters select{width:100%;min-height:46px;font-size:16px}.table-card{background:0 0;border:0;overflow:visible}.table-card table{min-width:0}.table-card thead{display:none}.table-card tbody,.table-card tr{display:grid}.table-card tbody{gap:10px}.table-card tr{border:1px solid var(--line);background:var(--surface);border-radius:13px;padding:14px;position:relative}.table-card td{border:0;justify-content:space-between;align-items:center;gap:12px;padding:5px 0;font-size:.86rem;display:flex}.table-card td:first-child{padding:0;position:absolute;top:13px;right:13px}.table-card td:nth-child(2){border-bottom:1px solid var(--soft-line);padding:0 82px 12px 0;display:block}.table-card td:nth-child(2) .activity-name{font-size:1rem}.table-card td:nth-child(3):before{content:"Tipo"}.table-card td:nth-child(4):before{content:"Área"}.table-card td:nth-child(5):before{content:"Proyecto"}.table-card td:nth-child(6):before{content:"Prioridad"}.table-card td:nth-child(7){padding-top:8px;display:block}.table-card td:nth-child(7):before{content:"Programación";color:var(--muted);margin-bottom:4px;font-size:.75rem;font-weight:650;display:block}.table-card td:nth-child(3):before,.table-card td:nth-child(4):before,.table-card td:nth-child(5):before,.table-card td:nth-child(6):before{color:var(--muted);font-size:.75rem;font-weight:650}.table-card td:nth-child(8){border-top:1px solid var(--soft-line);padding-top:10px}.row-actions{justify-content:flex-end;width:100%}.row-actions button{min-height:42px}.row-actions .secondary{padding:9px 15px}.calendar-legend{white-space:nowrap;padding-bottom:3px;overflow-x:auto}.calendar-shell{background:0 0;border:0;min-height:0;max-height:none;overflow:visible}.calendar-board{min-width:0}.week-nav .secondary{min-width:44px;min-height:44px}.unscheduled-strip{border-radius:12px}.automation-summary{grid-template-columns:1fr 1fr}.automation-kpi{padding:14px}.cron-row{grid-template-columns:1fr;gap:8px}.cron-row .cron-expression,.cron-row .cron-action{grid-column:auto}.cron-actions{justify-content:flex-start}.calendar-mapping,.shortcut-form{grid-template-columns:1fr}.config-stack .panel-title{display:grid}.config-stack .panel-title button{min-height:46px;margin-top:12px}.calendar-mapping label{margin-bottom:2px}dialog{border-bottom:0;border-left:0;border-right:0;border-radius:18px 18px 0 0;width:100%;max-width:none;max-height:94dvh;margin:auto 0 0}dialog form{max-height:94dvh;padding:20px 16px calc(20px + env(safe-area-inset-bottom));overflow-y:auto}.dialog-head{z-index:3;background:var(--surface);border-bottom:1px solid var(--soft-line);margin:-20px -16px 14px;padding:18px 16px 0;position:sticky;top:-20px}.dialog-head h2{margin:4px 0 14px}.dialog-head .icon-button{width:44px;height:44px}.form-grid{grid-template-columns:1fr;gap:0}label{font-size:.88rem}label input,label select,label textarea{min-height:48px;font-size:16px}.check-row{min-height:48px}.dialog-actions{bottom:calc(-20px - env(safe-area-inset-bottom));z-index:3;margin:14px -16px calc(-20px - env(safe-area-inset-bottom));padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--soft-line);position:sticky}.dialog-actions button{flex:1;min-height:48px}#toast{left:12px;right:12px;bottom:calc(86px + env(safe-area-inset-bottom));text-align:center;padding:13px 14px}.mobile-tabbar{z-index:30;height:calc(68px + env(safe-area-inset-bottom));padding:6px 8px env(safe-area-inset-bottom);background:#111;border-top:1px solid #333;grid-template-columns:1fr 1fr 64px 1fr 1fr;align-items:start;display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-tab,.mobile-create{color:#aaa;min-height:54px;font:inherit;background:0 0;border:0}.mobile-tab{align-content:center;place-items:center;gap:2px;font-size:.68rem;display:grid}.mobile-tab span{font-size:1.18rem;line-height:1}.mobile-tab.active{color:#fff}.mobile-create{background:var(--uni);color:#fff;border:5px solid var(--bg);border-radius:50%;place-items:center;width:54px;height:54px;min-height:54px;margin:-18px auto 0;display:grid}.mobile-create .plus-icon{width:17px;height:17px}.mobile-create .plus-icon:before{width:17px}.mobile-create .plus-icon:after{height:17px}.sidebar{width:min(86vw,320px);height:100dvh;padding-bottom:calc(18px + env(safe-area-inset-bottom));z-index:42;border:0;border-radius:0;transition:transform .2s;display:flex;top:0;bottom:0;left:0}.sidebar.open+.nothing{display:none}.sidebar-backdrop{z-index:41;background:#0000008c;border:0;position:fixed;inset:0}.app-shell.menu-open .sidebar-backdrop{display:block}.sidebar nav{overflow-y:auto}.sidebar .brand{margin-bottom:20px}}#inicio.active{align-items:stretch}.hero-grid,.kpis,.dashboard-grid>.panel:first-child,.distribution-panel{align-self:stretch}.kpis{height:100%}.kpi{flex-direction:column;justify-content:center;display:flex}.distribution-panel{background:var(--surface);height:100%;color:var(--ink);flex-direction:column;display:flex}.distribution-panel .eyebrow,.distribution-panel .muted{color:var(--muted)}.distribution-panel .donut-wrap{flex:1;grid-template-rows:minmax(166px,1fr) auto;place-items:center;min-height:270px;padding-top:12px;display:grid}.distribution-panel .donut{border:0;align-self:center;width:158px;height:158px}.distribution-panel .donut:after{background:var(--surface);width:96px;height:96px}.distribution-panel .donut-center{color:var(--ink);line-height:1.2}.distribution-panel .donut-center small{color:var(--muted);margin-top:2px}.distribution-panel .legend{gap:10px;width:100%;margin:8px 0 0}.distribution-panel .legend-row{align-items:center;font-size:.82rem}.distribution-panel .legend-row span{align-items:center;min-width:0;display:flex}@media (width<=1100px){.kpis{height:auto}.distribution-panel .donut-wrap{min-height:245px}}@media (width<=900px){.distribution-panel .donut-wrap{min-height:270px}}:root{--bg:#ded6c9;--surface:#eee8de;--soft-line:#c9c0b3;--work:#681d34;--uni:#8d6920;--personal:#50613a}body,main{background:var(--bg)}.brand-mark{background:var(--uni);color:#fff}.nav-item.active{color:#111;background:#e8e0d4}.focus-card{background:#242522}.focus-card .muted{color:#ffffffad}.week-card{color:#fff;background:#242522}.week-card .eyebrow{color:#ffffffa8}.week-card .score{color:#fff}.week-card .bar-track{background:#fff3;border-color:#ffffff14}.kpis,.panel,.table-card,.day-column,.distribution-panel,.distribution-panel .donut:after{background:var(--surface)}.chart-empty{text-align:center;color:var(--muted);align-self:center;gap:7px;max-width:190px;display:grid}.chart-empty b{color:var(--ink);font-size:1rem}.chart-empty span,.empty-copy{font-size:.82rem;line-height:1.45}.empty{gap:7px;display:grid}.empty b{color:var(--ink)}.scope-bar{border:1px solid var(--line);background:#cbc2b5;border-radius:14px;justify-content:space-between;align-items:center;gap:18px;min-height:60px;margin:0 0 12px;padding:8px 10px 8px 16px;display:flex}.scope-current{white-space:nowrap;align-items:baseline;gap:9px;display:flex}.scope-current span{color:#625c54;font-size:.73rem}.scope-current strong{font-size:.92rem}.scope-controls{align-items:center;gap:6px;display:flex}.scope-button{color:#292825;cursor:pointer;background:0 0;border:1px solid #80786d;border-radius:8px;align-items:center;gap:7px;min-height:38px;padding:8px 13px;font-size:.81rem;font-weight:650;display:inline-flex}.scope-button i{background:currentColor;border-radius:50%;width:8px;height:8px}.scope-button.work i{color:var(--work)}.scope-button.university i{color:var(--uni)}.scope-button.personal i{color:var(--personal)}.scope-button:hover{background:#ffffff59}.scope-button.active{color:#fff;background:#171816;border-color:#171816}.scope-button.work.active{background:var(--work);border-color:var(--work)}.scope-button.university.active{background:var(--uni);border-color:var(--uni)}.scope-button.personal.active{background:var(--personal);border-color:var(--personal)}.scope-button.active i{color:#fff}main[data-scope=work] .focus-card{background:var(--work)}main[data-scope=university] .focus-card{background:var(--uni)}main[data-scope=personal] .focus-card{background:var(--personal)}@media (width<=900px){.scope-bar{flex-direction:column;align-items:flex-start;margin-bottom:10px;padding:12px}.scope-controls{width:100%;padding-bottom:2px;overflow-x:auto}.scope-button{flex:none}}@media (width<=560px){.scope-current{justify-content:space-between;width:100%}.scope-button{padding:8px 11px}}.auth-screen{color:#f4eddf;background:#111;place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{background:#171717;border:1px solid #6d6255;border-radius:24px;width:min(440px,100%);padding:40px;box-shadow:0 24px 70px #00000059}.auth-brand{align-items:center;gap:12px;font-size:20px;font-weight:800;display:flex}.auth-card h1{margin:42px 0 12px;font-size:clamp(34px,8vw,52px);line-height:.98}.auth-card p{color:#bcb3a7;line-height:1.6}.auth-card .primary{color:#111;background:#f4eddf;width:100%;min-height:50px;margin-top:28px}.auth-note{margin-top:20px;font-size:13px}.auth-error{color:#fff;background:#4b1724;border-radius:10px;margin-top:18px;padding:12px}.session-row{align-items:center;gap:10px;display:flex}.session-email{text-overflow:ellipsis;white-space:nowrap;color:#6d6255;max-width:210px;font-size:12px;overflow:hidden}.signout-button{cursor:pointer;background:0 0;border:1px solid #c9beae;border-radius:999px;padding:9px 13px}.loading-overlay{color:#111;background:#f4eddf;place-items:center;min-height:100vh;font-weight:700;display:grid}.hidden{display:none!important}@media (width<=760px){body{padding-bottom:calc(76px + env(safe-area-inset-bottom));overflow-x:hidden}main{padding:0 12px 24px}.topbar{z-index:9;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--soft-line);background:#ded6c9f5;gap:10px;height:72px;margin:0 -12px;padding:0 12px;position:sticky;top:0}.topbar h1{font-size:1.22rem}.topbar .eyebrow{font-size:.69rem}.mobile-menu,.topbar .quick-add,.session-row{display:none!important}.scope-bar{background:0 0;border:0;min-height:0;margin:8px 0 12px;padding:0;display:block}.scope-current{display:none}.scope-controls{scrollbar-width:none;gap:7px;width:100%;padding:1px 1px 7px;display:flex;overflow-x:auto}.scope-controls::-webkit-scrollbar{display:none}.scope-button{background:var(--surface);border-color:var(--soft-line);flex:none;min-height:42px;padding:9px 14px}#inicio.active{display:block}.hero-grid,.dashboard-grid,.day-layout,.utility-row{grid-template-columns:1fr;gap:10px;display:grid}.focus-card,.week-card{min-height:0}.focus-card,.week-card,.panel{border-radius:14px;padding:18px}.week-bars{gap:16px;margin-top:20px}.card-head h2,.panel-title h2{font-size:1.14rem}.kpis{border-radius:14px;grid-template-columns:1fr 1fr;height:auto;margin:10px 0}.kpi{min-height:92px;padding:15px}.kpi-value{font-size:1.65rem}.kpi-label{font-size:.76rem}.distribution-panel{display:none!important}.utility-row{margin-top:10px}.utility-card{gap:14px;display:grid}.utility-content{justify-items:start;display:grid}.mail-shortcuts{justify-content:stretch;width:100%;display:grid}.shortcut-link{width:100%;min-width:0;min-height:48px}.section-heading{margin:14px 0}.section-heading.row{align-items:center;gap:10px}.section-heading h2{font-size:1.45rem}.section-heading.row>div{min-width:0}.section-heading.row .primary{white-space:nowrap;flex:none;width:auto;height:auto;padding:9px 12px;font-size:.78rem}.section-heading.row .primary:first-letter{font-size:inherit}.upcoming-item,.task-line{grid-template-columns:auto minmax(0,1fr) auto}.date-chip{white-space:nowrap;font-size:.72rem}.filters{grid-template-columns:1fr 1fr;gap:8px;display:grid}.filters input{grid-column:1/-1;min-width:0}.filters input,.filters select{width:100%;min-height:46px;font-size:16px}.table-card{background:0 0;border:0;overflow:visible}.table-card table{min-width:0}.table-card thead{display:none}.table-card tbody,.table-card tr{display:grid}.table-card tbody{gap:10px}.table-card tr{border:1px solid var(--line);background:var(--surface);border-radius:13px;padding:14px;position:relative}.table-card td{border:0;justify-content:space-between;align-items:center;gap:12px;padding:5px 0;font-size:.86rem;display:flex}.table-card td:first-child{padding:0;position:absolute;top:13px;right:13px}.table-card td:nth-child(2){border-bottom:1px solid var(--soft-line);padding:0 82px 12px 0;display:block}.table-card td:nth-child(2) .activity-name{font-size:1rem}.table-card td:nth-child(3):before{content:"Tipo"}.table-card td:nth-child(4):before{content:"Área"}.table-card td:nth-child(5):before{content:"Proyecto"}.table-card td:nth-child(6):before{content:"Prioridad"}.table-card td:nth-child(3):before,.table-card td:nth-child(4):before,.table-card td:nth-child(5):before,.table-card td:nth-child(6):before{color:var(--muted);font-size:.75rem;font-weight:650}.table-card td:nth-child(7){padding-top:8px;display:block}.table-card td:nth-child(7):before{content:"Programación";color:var(--muted);margin-bottom:4px;font-size:.75rem;font-weight:650;display:block}.table-card td:nth-child(8){border-top:1px solid var(--soft-line);padding-top:10px}.row-actions{justify-content:flex-end;width:100%}.row-actions button{min-height:42px}.calendar-legend{white-space:nowrap;padding-bottom:3px;overflow-x:auto}.calendar-shell{background:0 0;border:0;min-height:0;max-height:none;overflow:visible}.calendar-board{min-width:0}.week-nav .secondary{min-width:44px;min-height:44px}.unscheduled-strip{border-radius:12px}.automation-summary{grid-template-columns:1fr 1fr}.cron-row{grid-template-columns:1fr;gap:8px}.cron-row .cron-expression,.cron-row .cron-action{grid-column:auto}.cron-actions{justify-content:flex-start}.calendar-mapping,.shortcut-form{grid-template-columns:1fr}.config-stack .panel-title{display:grid}.config-stack .panel-title button{min-height:46px;margin-top:12px}.calendar-actions{grid-template-columns:1fr;display:grid}.calendar-actions button{min-height:46px}dialog{border-bottom:0;border-left:0;border-right:0;border-radius:18px 18px 0 0;width:100%;max-width:none;max-height:94dvh;margin:auto 0 0}dialog form{max-height:94dvh;padding:20px 16px calc(20px + env(safe-area-inset-bottom));overflow-y:auto}.dialog-head{z-index:3;background:var(--surface);border-bottom:1px solid var(--soft-line);margin:-20px -16px 14px;padding:18px 16px 0;position:sticky;top:-20px}.dialog-head h2{margin:4px 0 14px}.dialog-head .icon-button{width:44px;height:44px}.form-grid{grid-template-columns:1fr;gap:0}label{font-size:.88rem}label input,label select,label textarea{min-height:48px;font-size:16px}.check-row{min-height:48px}.dialog-actions{bottom:calc(-20px - env(safe-area-inset-bottom));z-index:3;margin:14px -16px calc(-20px - env(safe-area-inset-bottom));padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--soft-line);position:sticky}.dialog-actions button{flex:1;min-height:48px}#toast{left:12px;right:12px;bottom:calc(86px + env(safe-area-inset-bottom));text-align:center;padding:13px 14px}.mobile-tabbar{z-index:30;height:calc(68px + env(safe-area-inset-bottom));padding:6px 8px env(safe-area-inset-bottom);background:#111;border-top:1px solid #333;grid-template-columns:1fr 1fr 64px 1fr 1fr;align-items:start;display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-tab,.mobile-create{color:#aaa;min-height:54px;font:inherit;background:0 0;border:0}.mobile-tab{align-content:center;place-items:center;gap:2px;font-size:.68rem;display:grid}.mobile-tab span{font-size:1.18rem;line-height:1}.mobile-tab.active{color:#fff}.mobile-create{background:var(--uni);color:#fff;border:5px solid var(--bg);border-radius:50%;place-items:center;width:54px;height:54px;min-height:54px;margin:-18px auto 0;display:grid}.sidebar{width:min(86vw,320px);height:100dvh;padding-bottom:calc(18px + env(safe-area-inset-bottom));z-index:42;border:0;border-radius:0;transition:transform .2s;display:flex;top:0;bottom:0;left:0}.sidebar-backdrop{z-index:41;background:#0000008c;border:0;position:fixed;inset:0}.app-shell.menu-open .sidebar-backdrop{display:block}.sidebar nav{overflow-y:auto}.sidebar .brand{margin-bottom:20px}}
