*{box-sizing:border-box;margin:0;padding:0}html,body{color:#e8eaf0;-webkit-text-size-adjust:100%;background:#1c1f24;height:100%;font-family:system-ui,sans-serif;font-size:14px}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#353a44;border-radius:3px}select,input,textarea{-webkit-appearance:none;outline:none!important}select:focus,input:focus,textarea:focus{border-color:#6b7280!important}select option{color:#e8eaf0;background:#22262d}button{cursor:pointer;-webkit-tap-highlight-color:transparent}#app{flex-direction:column;height:100vh;display:flex}#header{padding:8px 16px;padding-top:calc(8px + env(safe-area-inset-top,0px));padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));z-index:250;background:#22262d;border-bottom:1px solid #1a1d22;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;display:flex;position:sticky;top:0}.logo{color:#e8eaf0;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;align-items:center;gap:10px;font-family:monospace;font-size:15px;font-weight:700;display:flex}.logo-mark{flex-shrink:0;width:auto;height:38px;display:block}.logo-sub{color:#6b7280;font-weight:400}.header-date{text-align:center;color:#6b7280;letter-spacing:.04em;text-transform:none;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-family:monospace;font-size:11px;overflow:hidden}.header-actions{align-items:center;gap:10px;display:flex}.header-new{color:#9ca3af;white-space:nowrap;background:#ffffff0d;border:1px solid #969ba533;border-radius:8px;flex-shrink:0;padding:8px 16px;font-family:monospace;font-size:12px;transition:color .15s,background .15s}.header-new:hover{color:#e8eaf0;background:#ffffff14}.header-new:focus-visible,.avatar-btn:focus-visible,.um-logout:focus-visible,.um-actions button:focus-visible,.layout-toggle button:focus-visible,.um-links a:focus-visible,.app-footer a:focus-visible{outline-offset:2px;outline:2px solid #9ca3af}#user-menu-wrap{position:relative}.avatar-btn{color:#e8eaf0;background:#353a44;border:1px solid #404650;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;padding:0;font-family:monospace;font-size:12px;font-weight:700;display:flex;overflow:hidden}.avatar-btn img{object-fit:cover;width:100%;height:100%;display:block}.avatar-btn:hover,.avatar-btn[aria-expanded=true]{border-color:#9ca3af}.user-menu{z-index:300;background:#282d35;border:1px solid #404650;border-radius:12px;width:300px;padding:14px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 8px 28px #00000080}.user-menu[hidden]{display:none}.um-id{border-bottom:1px solid #353a44;padding-bottom:12px}#user-name{letter-spacing:.01em;color:#e8eaf0;word-break:break-word;font-family:system-ui,-apple-system,Segoe UI,sans-serif;font-size:15px;font-weight:600}#user-email{color:#9ca3af;word-break:break-all;margin-top:2px;font-family:monospace;font-size:12px}.um-label{color:#9ca3af;text-transform:uppercase;letter-spacing:.12em;margin:12px 0 6px;font-family:monospace;font-size:11px}.um-actions{border-top:1px solid #353a44;margin-top:12px;padding-top:8px}.um-actions button{text-align:left;color:#9ca3af;cursor:pointer;background:0 0;border:none;width:100%;padding:8px 0;font-family:monospace;font-size:12px;display:block}.um-actions button:hover{color:#e8eaf0}.um-logout{color:#e8a0a0;background:#c850501a;border:1px solid #c8505033;border-radius:8px;width:100%;margin-top:14px;padding:10px 0;font-family:monospace;font-size:12px}.um-links{border-top:1px solid #353a44;margin-top:12px;padding-top:8px;display:none}.um-links a{color:#9ca3af;padding:8px 0;font-family:monospace;font-size:12px;text-decoration:none;display:block}.um-links a:hover{color:#e8eaf0}.um-credit{color:#8892a4;text-align:right;border-top:1px solid #353a44;margin-top:12px;padding-top:10px;font-family:Helvetica Neue,Arial,sans-serif;font-size:11px}.um-credit span{color:#9ca3af;letter-spacing:.15em;font-weight:700}.um-ver{display:none}.app-footer{color:#8892a4;background:#1a1d22;border-top:1px solid #353a44;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:6px 16px;padding:6px 16px;font-family:monospace;font-size:10px;display:flex}.app-footer a{color:#8892a4;text-decoration:none}.app-footer a:hover{color:#e8eaf0;text-decoration:underline}.app-footer-links{gap:16px;display:flex}.body-wrap{flex:1;min-height:0;display:flex;overflow:hidden}#main{-webkit-overflow-scrolling:touch;flex:1;padding:20px 22px;overflow-y:auto}.view{flex-direction:column;gap:14px;display:none}.view.active{display:flex}#sidebar{background:#1a1d22;border-right:1px solid #353a44;flex-direction:column;flex-shrink:0;width:178px;min-width:178px;padding-top:10px;display:flex;overflow-y:auto}.nav-sec{color:#6b7280;letter-spacing:.14em;text-transform:uppercase;padding:10px 14px 4px;font-family:monospace;font-size:10px}.nav-btn{color:#6b7280;text-align:left;background:0 0;border:none;border-right:2px solid #0000;width:100%;padding:8px 14px;font-size:12px;transition:color .15s}.nav-btn:hover{color:#e8eaf0;background:#ffffff08}.nav-btn.active{color:#9ca3af;background:#ffffff0f;border-right-color:#6b7280}.layout-toggle{background:#1c1f24;border:1px solid #404650;border-radius:8px;display:flex;overflow:hidden}.layout-toggle button{color:#8892a4;white-space:nowrap;background:0 0;border:none;flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:3px;min-width:0;padding:9px 2px;font-family:monospace;font-size:11px;display:flex}.layout-toggle button+button{box-shadow:inset 1px 0 #404650}.layout-toggle button.active{color:#e8eaf0;background:#404650}.lt-ico{font-size:16px;line-height:1}.card{background:#282d35;border:1px solid #404650;border-radius:10px;overflow:hidden}.stat-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.stat-card{background:#282d35;border:1px solid #404650;border-radius:10px;padding:12px 14px}.stat-label{color:#6b7280;text-transform:uppercase;letter-spacing:.1em;margin-bottom:4px;font-family:monospace;font-size:10px}.stat-value{font-family:monospace;font-size:24px;font-weight:700;line-height:1}.stat-sub{color:#9ca3af;margin-top:3px;font-size:11px}.sec-label{color:#6b7280;text-transform:uppercase;letter-spacing:.12em;margin-top:16px;margin-bottom:8px;font-family:monospace;font-size:10px}.badge{white-space:nowrap;border-radius:99px;align-items:center;padding:3px 8px;font-family:monospace;font-size:10px;font-weight:700;display:inline-flex}.tbl-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th{color:#6b7280;text-align:left;text-transform:uppercase;letter-spacing:.1em;white-space:nowrap;border-bottom:1px solid #404650;padding:9px 12px;font-family:monospace;font-size:10px}td{vertical-align:middle;border-bottom:1px solid #40465080;padding:9px 12px;font-size:13px}tr:last-child td{border-bottom:none}tr:hover td{background:#ffffff05}.task-id{color:#9ca3af;white-space:nowrap;font-family:monospace;font-size:11px}.task-desc{color:#e8eaf0;max-width:220px;font-weight:600}.task-accion{color:#9ca3af;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:11px;overflow:hidden}.prog-wrap{align-items:center;gap:6px;min-width:80px;display:flex}.prog-track{background:#353a44;border-radius:2px;flex:1;height:3px;overflow:hidden}.prog-fill{background:#9ca3af;border-radius:2px;height:100%}.prog-pct{color:#9ca3af;text-align:right;min-width:28px;font-family:monospace;font-size:10px}.row-actions{gap:4px;display:flex}.row-btn{color:#9ca3af;background:0 0;border:1px solid #404650;border-radius:4px;padding:3px 8px;font-family:monospace;font-size:10px}.row-btn:hover{color:#e8eaf0;border-color:#9ca3af}.row-btn-danger{color:#e8a0a0;border-color:#c850504d}.row-btn-danger:hover{color:#e8a0a0;border-color:#e8a0a0}.top3-item{cursor:pointer;background:#22262d;border:1px solid #353a44;border-radius:10px;align-items:center;gap:10px;margin-bottom:7px;padding:11px 13px;transition:border-color .15s;display:flex}.top3-item:hover{border-color:#6b7280}.top3-rank{min-width:20px;font-family:monospace;font-size:17px;font-weight:800}.top3-body{flex:1;min-width:0}.top3-desc{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.top3-meta{color:#9ca3af;flex-wrap:wrap;align-items:center;gap:4px;margin-top:2px;font-family:monospace;font-size:11px;display:flex}.upcoming-item{cursor:pointer;background:#22262d;border:1px solid #353a44;border-radius:8px;align-items:center;gap:10px;margin-bottom:5px;padding:9px 13px;display:flex}.upcoming-dot{border-radius:50%;flex-shrink:0;width:7px;height:7px}.upcoming-desc{text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:13px;overflow:hidden}.upcoming-when{white-space:nowrap;font-family:monospace;font-size:10px;font-weight:700}.task-card{cursor:pointer;background:#22262d;border-left:3px solid #404650;border-radius:12px;gap:11px;margin-bottom:8px;padding:13px 14px;display:flex;box-shadow:0 1px 4px #0000004d}.task-card-body{flex:1;min-width:0}.task-card-desc{color:#e8eaf0;margin-bottom:4px;font-size:13px;font-weight:600;line-height:1.35}.task-card-badges{flex-wrap:wrap;gap:4px;margin-bottom:4px;display:flex}.task-card-accion{color:#9ca3af;text-overflow:ellipsis;white-space:nowrap;margin-bottom:3px;font-size:11px;overflow:hidden}.task-card-footer{justify-content:space-between;align-items:center;margin-top:4px;display:flex}.task-card-actions{gap:6px;display:flex}.tc-btn{color:#9ca3af;background:#ffffff0f;border:none;border-radius:6px;min-height:32px;padding:5px 10px;font-family:monospace;font-size:11px}.tc-btn-danger{color:#e8a0a0;background:#c850501a;border:1px solid #c8505033}.hero-block{background:#1c1f24;border-radius:14px;margin-bottom:6px;padding:16px}.hero-title{margin-bottom:12px;font-size:20px;font-weight:700}.hero-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px;display:grid}.hero-stat{text-align:center;background:#ffffff0a;border-radius:10px;padding:10px 4px}.hero-stat-val{font-family:monospace;font-size:22px;font-weight:700;line-height:1}.hero-stat-lbl{color:#9ca3af;overflow-wrap:break-word;margin-top:3px;font-family:monospace;font-size:10px}.hero-pct-row{justify-content:space-between;margin-bottom:4px;font-size:11px;display:flex}.hero-pct-track{background:#ffffff14;border-radius:3px;height:4px}.hero-pct-fill{background:#6b7280;border-radius:3px;height:100%}#bottom-nav{z-index:200;padding-bottom:env(safe-area-inset-bottom,0);background:#22262d;border-top:1px solid #353a44;display:none;position:fixed;bottom:0;left:0;right:0}.bnav-btn{color:#6b7280;background:0 0;border:none;border-top:2px solid #0000;flex-direction:column;flex:1;align-items:center;gap:3px;padding:10px 4px 8px;font-family:monospace;font-size:10px;display:flex}.bnav-btn.active{color:#9ca3af;border-top-color:#6b7280}.bnav-icon{font-size:18px;line-height:1}#fab{bottom:calc(68px + env(safe-area-inset-bottom,0px));color:#e8eaf0;z-index:190;background:#404650;border:none;border-radius:50%;justify-content:center;align-items:center;width:54px;height:54px;font-size:28px;font-weight:300;line-height:1;display:none;position:fixed;right:16px;box-shadow:0 4px 16px #00000080}#sheet-overlay{z-index:500;flex-direction:column;justify-content:flex-end;display:none;position:fixed;inset:0}#sheet-overlay.open{display:flex}.sheet-backdrop{background:#000000b3;position:absolute;inset:0}.sheet{max-height:94vh;padding-bottom:env(safe-area-inset-bottom,0);background:#22262d;border:1px solid #353a44;border-bottom:none;border-radius:20px 20px 0 0;flex-direction:column;display:flex;position:relative}.sheet-handle{flex-shrink:0;justify-content:center;padding:12px 0 4px;display:flex}.sheet-handle-bar{background:#404650;border-radius:2px;width:36px;height:4px}.sheet-title-row{border-bottom:1px solid #353a44;flex-shrink:0;justify-content:space-between;align-items:center;padding:0 18px 12px;display:flex}.sheet-title{color:#9ca3af;text-transform:uppercase;letter-spacing:.1em;font-family:monospace;font-size:11px}.sheet-close{color:#9ca3af;background:0 0;border:none;justify-content:center;align-items:center;min-width:36px;min-height:36px;padding:0;font-size:24px;line-height:1;display:flex}.sheet-body{-webkit-overflow-scrolling:touch;flex:1;padding:14px 18px 28px;overflow-y:auto}#modal-overlay{z-index:400;background:#000000a6;justify-content:center;align-items:center;padding:20px;display:none;position:fixed;inset:0}#modal-overlay.open{display:flex}.modal-box{background:#282d35;border:1px solid #404650;border-radius:12px;width:520px;max-width:100%;max-height:90vh;padding:24px;overflow-y:auto}.modal-title-row{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.modal-title{color:#9ca3af;text-transform:uppercase;letter-spacing:.1em;font-family:monospace;font-size:11px}.modal-close{color:#9ca3af;background:0 0;border:none;font-size:24px;line-height:1}.form-label{color:#9ca3af;text-transform:uppercase;letter-spacing:.08em;margin-top:14px;margin-bottom:5px;font-family:monospace;font-size:11px;display:block}.form-input{color:#e8eaf0;background:#14171d;border:1px solid #404650;border-radius:8px;width:100%;min-height:42px;padding:10px 12px;font-family:system-ui;font-size:14px}textarea.form-input{min-height:unset}.form-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;display:grid}.weekly-grid{grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:14px;margin-bottom:14px;display:grid}.weekly-card{background:#282d35;border:1px solid #404650;border-radius:10px;padding:16px 18px}.weekly-card-title{text-transform:uppercase;letter-spacing:.1em;color:#9ca3af;margin-bottom:10px;font-family:monospace;font-size:10px}.weekly-list-item{border-bottom:1px solid #404650;gap:8px;padding:7px 0;font-size:13px;display:flex}.weekly-list-item:last-child{border-bottom:none}.detail-field{border-bottom:1px solid #353a44;padding:10px 0}.detail-field:last-child{border-bottom:none}.detail-key{color:#9ca3af;text-transform:uppercase;letter-spacing:.08em;margin-bottom:3px;font-family:monospace;font-size:10px}.detail-val{color:#e8eaf0;font-size:13px;line-height:1.5}.empty-state{text-align:center;color:#9ca3af;padding:40px 20px;font-family:monospace;font-size:13px}.cal-check{cursor:pointer;border:2px solid #6b7280;border-radius:3px;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;transition:all .15s;display:flex}.cal-check.on{background:#9ca3af;border-color:#9ca3af}#toast{color:#c9cdd6;z-index:600;background:#282d35;border:1px solid #6b7280;border-radius:8px;padding:10px 18px;font-family:monospace;font-size:12px;display:none;position:fixed;bottom:24px;right:24px;box-shadow:0 4px 20px #00000080}#loading{z-index:9999;background:#1c1f24;flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex;position:fixed;inset:0}.spinner{border:3px solid #353a44;border-top-color:#9ca3af;border-radius:50%;width:32px;height:32px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}
